From 9a70cb1ab8598093494ae7f91a0ca34f5a8bee4a Mon Sep 17 00:00:00 2001 From: Claus Hagen Date: Sat, 22 Jun 2024 09:50:16 +0200 Subject: [PATCH 1/2] update packages --- .../web_themes/colors/source/package.json | 61 ++++++++++--------- .../web_themes/colors/source/prettierrc.json | 7 --- .../web_themes/colors/source/shims-mqtt.d.ts | 4 ++ .../colors/source/src/assets/js/mqttClient.ts | 22 +++---- .../components/powerGraph/PGSourceGraph.vue | 2 +- .../powerGraph/processLiveGraphData.ts | 2 +- .../components/smartHome/SmartHomeList.vue | 10 +-- .../web_themes/colors/source/src/main.ts | 1 - .../colors/source/src/router/index.js | 20 ------ .../colors/source/tsconfig.app.json | 14 +++++ .../web_themes/colors/source/tsconfig.json | 26 +++----- .../colors/source/tsconfig.json.old | 23 +++++++ .../colors/source/tsconfig.node.json | 19 ++++++ .../web_themes/colors/source/vite.config.ts | 5 +- 14 files changed, 117 insertions(+), 99 deletions(-) delete mode 100755 packages/modules/web_themes/colors/source/prettierrc.json create mode 100644 packages/modules/web_themes/colors/source/shims-mqtt.d.ts delete mode 100755 packages/modules/web_themes/colors/source/src/router/index.js create mode 100644 packages/modules/web_themes/colors/source/tsconfig.app.json create mode 100755 packages/modules/web_themes/colors/source/tsconfig.json.old create mode 100644 packages/modules/web_themes/colors/source/tsconfig.node.json diff --git a/packages/modules/web_themes/colors/source/package.json b/packages/modules/web_themes/colors/source/package.json index db98b8f675..5579b33784 100755 --- a/packages/modules/web_themes/colors/source/package.json +++ b/packages/modules/web_themes/colors/source/package.json @@ -1,46 +1,51 @@ { "name": "wbcolortheme21", - "version": "0.0.0", + "version": "1.0.0", "license": "MIT", + "type": "module", "scripts": { "dev": "vite --host", - "build": "vue-tsc --noEmit && vite build --base=/openWB/web/themes/colors --outDir=../web --emptyOutDir", + "build-old": "vue-tsc --noEmit && vite build --base=/openWB/web/themes/colors --outDir=../web --emptyOutDir", + "build": "run-p type-check \"build-only {@}\" --", "preview": "vite preview --port 5050 --host", - "typecheck": "vue-tsc --noEmit", + "build-only": "vite build --base=/openWB/web/themes/colors --outDir=../web --emptyOutDir", + "type-check": "vue-tsc --build --force", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", - "prettier-format": "prettier 'src/' --write" + "format": "prettier 'src/' --write" }, "dependencies": { "@popperjs/core": "^2.11.8", - "bootstrap": "^5.3.0", - "d3": "^7.8.5", - "mqtt": "^5.1.0", + "bootstrap": "^5.3.3", + "d3": "^7.9.0", + "mqtt": "^5.7.2", "process": "^0.11.10", - "swiper": "^10.1.0", "vue": "^3.3.4" }, "devDependencies": { - "@babel/types": "^7.22.5", + "@babel/types": "^7.24.7", "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", - "@rushstack/eslint-patch": "^1.3.2", - "@types/bootstrap": "^5.2.6", - "@types/d3": "^7.1.0", - "@types/node": "^20.3.1", - "@typescript-eslint/eslint-plugin": "^6.7.4", - "@typescript-eslint/parser": "^6.7.4", - "@vitejs/plugin-vue": "^4.4.0", - "@vue/eslint-config-prettier": "^8.0.0", - "@vue/eslint-config-typescript": "^12.0.0", - "@vue/tsconfig": "^0.4.0", - "esbuild": "^0.19.4", - "eslint": "^8.43.0", - "eslint-plugin-vue": "^9.14.1", - "prettier": "^3.0.1", - "rollup": "3.x", - "rollup-plugin-polyfill-node": "^0.12.0", - "typescript": "^5.1.3", - "vite": "^4.4.11", - "vue-tsc": "^1.8.0" + "@rushstack/eslint-patch": "^1.10.3", + "@tsconfig/node20": "^20.1.4", + "@types/bootstrap": "^5.2.10", + "@types/d3": "^7.4.3", + "@types/node": "^20.14.7", + "@typescript-eslint/eslint-plugin": "^7.13.1", + "@typescript-eslint/parser": "^7.13.1", + "@vitejs/plugin-vue": "^5.0.5", + "@vue/eslint-config-prettier": "^9.0.0", + "@vue/eslint-config-typescript": "^13.0.0", + "@vue/tsconfig": "^0.5.1", + "esbuild": "^0.21.5", + "eslint": "^8.57.0", + "eslint-plugin-vue": "^9.26.0", + "npm-run-all2": "^6.2.0", + "prettier": "^3.3.2", + "rollup": "^4.18.0", + "rollup-plugin-polyfill-node": "^0.13.0", + "swiper": "^11.1.4", + "typescript": "^5.5.2", + "vite": "^5.3.1", + "vue-tsc": "^2.0.21" } } diff --git a/packages/modules/web_themes/colors/source/prettierrc.json b/packages/modules/web_themes/colors/source/prettierrc.json deleted file mode 100755 index 0207fbec52..0000000000 --- a/packages/modules/web_themes/colors/source/prettierrc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "trailingComma": "all", - "tabWidth": 2, - "semi": false, - "singleQuote": true, - "printWidth" : 80 -} \ No newline at end of file diff --git a/packages/modules/web_themes/colors/source/shims-mqtt.d.ts b/packages/modules/web_themes/colors/source/shims-mqtt.d.ts new file mode 100644 index 0000000000..1ac180d4ec --- /dev/null +++ b/packages/modules/web_themes/colors/source/shims-mqtt.d.ts @@ -0,0 +1,4 @@ +declare module 'mqtt/dist/mqtt.min' { + import MQTT from 'mqtt' + export = MQTT +} \ No newline at end of file diff --git a/packages/modules/web_themes/colors/source/src/assets/js/mqttClient.ts b/packages/modules/web_themes/colors/source/src/assets/js/mqttClient.ts index 699fd89eab..6b4dba9841 100644 --- a/packages/modules/web_themes/colors/source/src/assets/js/mqttClient.ts +++ b/packages/modules/web_themes/colors/source/src/assets/js/mqttClient.ts @@ -5,12 +5,8 @@ */ // functions to interact with MQTT -import { - MqttClient, - connect, - type OnMessageCallback, - type MqttProtocol, -} from 'mqtt' + +import mqtt from 'mqtt' import { type QoS } from 'mqtt-packet' const defaultQoS: QoS = 0 @@ -18,7 +14,7 @@ const mqttConnection = { host: location.hostname, port: location.protocol == 'https:' ? 443 : 80, endpoint: '/ws', - protocol: (location.protocol == 'https:' ? 'wss' : 'ws') as MqttProtocol, + protocol: (location.protocol == 'https:' ? 'wss' : 'ws') as mqtt.MqttProtocol, connectTimeout: 4000, reconnectPeriod: 4000, clean: false, @@ -31,16 +27,15 @@ const subscription = { topic: '', qos: defaultQoS, } -let client: MqttClient +let client: mqtt.MqttClient -// export function MqttConnect(callback: (t: string, m: string) => void, topiclist: string[]) { const { host, port, endpoint, ...options } = mqttConnection const connectUrl = `${options.protocol}://${host}:${port}${endpoint}` try { - client = connect(connectUrl, options) + console.debug("connectURL", connectUrl) + client = mqtt.connect(connectUrl, options) client.on('connect', () => { console.info('MQTT connection successful') - //console.info (`mqtt client: ${mqttConnection.clientId}`) }) client.on('disconnect', () => { console.info('MQTT disconnected') @@ -53,7 +48,7 @@ try { } //} -export function mqttRegister(callback: OnMessageCallback) { +export function mqttRegister(callback: mqtt.OnMessageCallback) { if (client) { client.on('message', callback) } else { @@ -68,7 +63,6 @@ export function mqttSubscribe(toTopic: string) { console.error('MQTT Subscription error: ' + error) return } - //console.info("MQTT Subscription successful: " + toTopic); }) } export function mqttUnsubscribe(fromTopic: string) { @@ -79,7 +73,6 @@ export function mqttUnsubscribe(fromTopic: string) { console.error('MQTT Unsubscribe from ' + fromTopic + ' failed: ' + error) return } - //console.info ('MQTT unsubscribe successful: ' + topic) }) } export async function mqttPublish(topic: string, message: string) { @@ -92,7 +85,6 @@ export async function mqttPublish(topic: string, message: string) { connected = client.connected retries += 1 } - // console.warn ('MQTT publish: Now connected') if (retries < 20) { try { client.publish(topic, message, { qos }, (error) => { diff --git a/packages/modules/web_themes/colors/source/src/components/powerGraph/PGSourceGraph.vue b/packages/modules/web_themes/colors/source/src/components/powerGraph/PGSourceGraph.vue index a2b0c18a1c..ae33868bf5 100755 --- a/packages/modules/web_themes/colors/source/src/components/powerGraph/PGSourceGraph.vue +++ b/packages/modules/web_themes/colors/source/src/components/powerGraph/PGSourceGraph.vue @@ -99,7 +99,7 @@ const yScale = computed(() => { ) }) const keysToUse = computed(() => { - if (graphData.graphMode != 'today' && graphData.graphMode != 'day') { + if (graphData.graphMode != 'today' && graphData.graphMode != 'day' && graphData.graphMode != 'live') { return ['evuIn', 'batOut', 'selfUsage', 'evuOut'] } else if (globalConfig.showInverters) { const k = ['batOut', 'evuIn'] diff --git a/packages/modules/web_themes/colors/source/src/components/powerGraph/processLiveGraphData.ts b/packages/modules/web_themes/colors/source/src/components/powerGraph/processLiveGraphData.ts index e1dbaf5d60..fd35be9731 100755 --- a/packages/modules/web_themes/colors/source/src/components/powerGraph/processLiveGraphData.ts +++ b/packages/modules/web_themes/colors/source/src/components/powerGraph/processLiveGraphData.ts @@ -125,7 +125,7 @@ function extractValues(data: RawGraphDataItem): GraphDataItem { // charge points - we only show a maximum of 10 chargepoints in the graph for (let i = 0; i < 10; i++) { const idx = 'cp' + i - values[idx] = +data[idx + '-power'] ?? 0 + values[idx] = +(data[idx + '-power'] ?? 0) } values.selfUsage = values.pv - values.evuOut if (values.selfUsage < 0) { diff --git a/packages/modules/web_themes/colors/source/src/components/smartHome/SmartHomeList.vue b/packages/modules/web_themes/colors/source/src/components/smartHome/SmartHomeList.vue index b6e3dde83a..d4dbe34d1e 100755 --- a/packages/modules/web_themes/colors/source/src/components/smartHome/SmartHomeList.vue +++ b/packages/modules/web_themes/colors/source/src/components/smartHome/SmartHomeList.vue @@ -20,7 +20,7 @@ @@ -63,7 +63,7 @@ diff --git a/packages/modules/web_themes/colors/source/src/components/batteryList/BatteryList.vue b/packages/modules/web_themes/colors/source/src/components/batteryList/BatteryList.vue index 277e1297d3..dc45b6578b 100755 --- a/packages/modules/web_themes/colors/source/src/components/batteryList/BatteryList.vue +++ b/packages/modules/web_themes/colors/source/src/components/batteryList/BatteryList.vue @@ -68,8 +68,8 @@ const statusstyle = computed(() => { sourceSummary.batOut.power > 0 ? 'var(--color-pv)' : usageSummary.batIn.power > 0 - ? 'var(--color-battery)' - : 'var(--color-menu)' + ? 'var(--color-battery)' + : 'var(--color-menu)' return { 'background-color': bgcolor } }) diff --git a/packages/modules/web_themes/colors/source/src/components/chargePointList/CPChargePoint.vue b/packages/modules/web_themes/colors/source/src/components/chargePointList/CPChargePoint.vue index 96093faeee..1fa933df82 100755 --- a/packages/modules/web_themes/colors/source/src/components/chargePointList/CPChargePoint.vue +++ b/packages/modules/web_themes/colors/source/src/components/chargePointList/CPChargePoint.vue @@ -212,7 +212,7 @@ props.chargepoint.etActive ? ( Math.round(props.chargepoint.etMaxPrice * 10) / 10 - ).toFixed(1) + ' ct' + ).toFixed(1) + ' ct' : '-' }} diff --git a/packages/modules/web_themes/colors/source/src/components/energyMeter/EnergyMeter.vue b/packages/modules/web_themes/colors/source/src/components/energyMeter/EnergyMeter.vue index c48f839a44..5186086f16 100755 --- a/packages/modules/web_themes/colors/source/src/components/energyMeter/EnergyMeter.vue +++ b/packages/modules/web_themes/colors/source/src/components/energyMeter/EnergyMeter.vue @@ -180,7 +180,7 @@ const usageDetails = computed( shcount > 1 ? [...shDevices.values()].filter( (row) => row.configured && row.showInGraph, - ) + ) : [], ) .concat([usageSummary.batIn, usageSummary.house]), diff --git a/packages/modules/web_themes/colors/source/src/components/powerGraph/PGSourceGraph.vue b/packages/modules/web_themes/colors/source/src/components/powerGraph/PGSourceGraph.vue index ae33868bf5..4163cd0a8e 100755 --- a/packages/modules/web_themes/colors/source/src/components/powerGraph/PGSourceGraph.vue +++ b/packages/modules/web_themes/colors/source/src/components/powerGraph/PGSourceGraph.vue @@ -99,7 +99,11 @@ const yScale = computed(() => { ) }) const keysToUse = computed(() => { - if (graphData.graphMode != 'today' && graphData.graphMode != 'day' && graphData.graphMode != 'live') { + if ( + graphData.graphMode != 'today' && + graphData.graphMode != 'day' && + graphData.graphMode != 'live' + ) { return ['evuIn', 'batOut', 'selfUsage', 'evuOut'] } else if (globalConfig.showInverters) { const k = ['batOut', 'evuIn'] diff --git a/packages/modules/web_themes/colors/source/src/components/powerMeter/PMLabel.vue b/packages/modules/web_themes/colors/source/src/components/powerMeter/PMLabel.vue index 469f94bc55..646130850d 100755 --- a/packages/modules/web_themes/colors/source/src/components/powerMeter/PMLabel.vue +++ b/packages/modules/web_themes/colors/source/src/components/powerMeter/PMLabel.vue @@ -41,17 +41,17 @@ const text = computed(() => { return props.labeltext ? props.labeltext : props.props - ? props.props.icon + ' ' - : props.labelicon - ? props.labelicon + ' ' - : '' + ? props.props.icon + ' ' + : props.labelicon + ? props.labelicon + ' ' + : '' }) const color = computed(() => { return props.labelcolor ? props.labelcolor : props.props - ? props.props.color - : '' + ? props.props.color + : '' }) const showMe = computed(() => { return !props.data || props.data.power > 0 diff --git a/packages/modules/web_themes/colors/source/src/components/shared/WBWidget.vue b/packages/modules/web_themes/colors/source/src/components/shared/WBWidget.vue index 54320dfcb1..1e9ac4d62f 100755 --- a/packages/modules/web_themes/colors/source/src/components/shared/WBWidget.vue +++ b/packages/modules/web_themes/colors/source/src/components/shared/WBWidget.vue @@ -48,8 +48,8 @@ const widgetWidth = computed(() => { return props.fullWidth ? 'col-12' : props.variableWidth && globalConfig.preferWideBoxes - ? 'col-lg-6' - : 'col-lg-4' + ? 'col-lg-6' + : 'col-lg-4' }) diff --git a/packages/modules/web_themes/colors/source/src/components/shared/WbWidgetFlex.vue b/packages/modules/web_themes/colors/source/src/components/shared/WbWidgetFlex.vue index 274ff17401..cc48e04358 100755 --- a/packages/modules/web_themes/colors/source/src/components/shared/WbWidgetFlex.vue +++ b/packages/modules/web_themes/colors/source/src/components/shared/WbWidgetFlex.vue @@ -30,8 +30,8 @@ const widgetWidth = computed(() => { return props.fullWidth ? 'col-12' : props.variableWidth && globalConfig.preferWideBoxes - ? 'col-lg-6' - : 'col-lg-4' + ? 'col-lg-6' + : 'col-lg-4' }) diff --git a/packages/modules/web_themes/colors/source/src/components/smartHome/SHListItem.vue b/packages/modules/web_themes/colors/source/src/components/smartHome/SHListItem.vue index 67f0107930..a6e925cc75 100755 --- a/packages/modules/web_themes/colors/source/src/components/smartHome/SHListItem.vue +++ b/packages/modules/web_themes/colors/source/src/components/smartHome/SHListItem.vue @@ -60,8 +60,8 @@ const switchIcon = computed(() => { return props.device.status == 'on' ? 'fa-toggle-on' : props.device.status == 'waiting' - ? 'fa-spinner fa-spin' - : 'fa-toggle-off' + ? 'fa-spinner fa-spin' + : 'fa-toggle-off' }) const switchStyle = computed(() => { let swColor = 'var(--color-switchRed)' diff --git a/packages/modules/web_themes/colors/source/src/components/smartHome/SmartHomeList.vue b/packages/modules/web_themes/colors/source/src/components/smartHome/SmartHomeList.vue index d4dbe34d1e..97e236f218 100755 --- a/packages/modules/web_themes/colors/source/src/components/smartHome/SmartHomeList.vue +++ b/packages/modules/web_themes/colors/source/src/components/smartHome/SmartHomeList.vue @@ -86,7 +86,7 @@ const devices = computed(() => return result }, [] as ShDevice[][], - ) + ) : [activeDevices.value], ) const activeDevices = computed(() => { diff --git a/packages/modules/web_themes/colors/source/tsconfig.json.old b/packages/modules/web_themes/colors/source/tsconfig.json.old deleted file mode 100755 index 3a78b03909..0000000000 --- a/packages/modules/web_themes/colors/source/tsconfig.json.old +++ /dev/null @@ -1,23 +0,0 @@ -{ - "extends": "@vue/tsconfig/tsconfig.json", - "include": [ - "env.d.ts", - "src/**/*", - "src/**/*.vue" - ], - "compilerOptions": { - "baseUrl": ".", - "paths": { - "@/*": [ - "./src/*" - ] - }, - "moduleResolution": "node", - "skipLibCheck": true - }, - "references": [ - { - "path": "./tsconfig.vite-config.json" - } - ], -} \ No newline at end of file diff --git a/packages/modules/web_themes/colors/web/assets/fa-solid-900-1782156b.ttf b/packages/modules/web_themes/colors/web/assets/fa-solid-900-CG7ny7S5.ttf similarity index 100% rename from packages/modules/web_themes/colors/web/assets/fa-solid-900-1782156b.ttf rename to packages/modules/web_themes/colors/web/assets/fa-solid-900-CG7ny7S5.ttf diff --git a/packages/modules/web_themes/colors/web/assets/fa-solid-900-1b099f88.woff2 b/packages/modules/web_themes/colors/web/assets/fa-solid-900-DByUvYfa.woff2 similarity index 100% rename from packages/modules/web_themes/colors/web/assets/fa-solid-900-1b099f88.woff2 rename to packages/modules/web_themes/colors/web/assets/fa-solid-900-DByUvYfa.woff2 diff --git a/packages/modules/web_themes/colors/web/assets/index-DpOl-eTK.js b/packages/modules/web_themes/colors/web/assets/index-DpOl-eTK.js new file mode 100644 index 0000000000..fa325a1272 --- /dev/null +++ b/packages/modules/web_themes/colors/web/assets/index-DpOl-eTK.js @@ -0,0 +1,6 @@ +var Qa=Object.defineProperty;var Za=(t,e,a)=>e in t?Qa(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var f=(t,e,a)=>Za(t,typeof e!="symbol"?e+"":e,a);import{m as Xa,r as re,a as Z,c as m,s as le,d as V,p as ga,b as ma,w as Ka,o as i,e as g,t as $,f as n,n as j,g as M,h as y,i as he,j as w,k as H,u as s,l as b,F as z,q as X,v as eo,x as Pe,y as Et,z as qe,A as jt,B as va,C as Ye,D as ut,E as Ke,G as nt,H as st,I as tt,J as to,K as vt,L as Q,M as ao,N as Be,O as ae,P as oe,Q as at,R as oo,S as no,T as so,U as ro,V as Rt,W as io,X as lo,Y as co,Z as uo,_ as ho,$ as po,a0 as go,a1 as mo,a2 as vo}from"./vendor-DXWWyQ_6.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const l of r)if(l.type==="childList")for(const h of l.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&o(h)}).observe(document,{childList:!0,subtree:!0});function a(r){const l={};return r.integrity&&(l.integrity=r.integrity),r.referrerPolicy&&(l.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?l.credentials="include":r.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function o(r){if(r.ep)return;r.ep=!0;const l=a(r);fetch(r.href,l)}})();const fo=0,fa={host:location.hostname,port:location.protocol=="https:"?443:80,endpoint:"/ws",protocol:location.protocol=="https:"?"wss":"ws",connectTimeout:4e3,reconnectPeriod:4e3,clean:!1,clientId:Math.random().toString(36).replace(/[^a-z]+/g,"").substring(0,6)},ft={topic:"",qos:fo};let Ce;const{host:_o,port:bo,endpoint:yo,..._a}=fa,oa=`${_a.protocol}://${_o}:${bo}${yo}`;try{console.debug("connectURL",oa),Ce=Xa.connect(oa,_a),Ce.on("connect",()=>{console.info("MQTT connection successful")}),Ce.on("disconnect",()=>{console.info("MQTT disconnected")}),Ce.on("error",t=>{console.error("MQTT connection failed: ",t)})}catch(t){console.error("MQTT connect error: ",t)}function wo(t){Ce?Ce.on("message",t):console.error("MqttRegister: MQTT client not available")}function Re(t){ft.topic=t;const{topic:e,qos:a}=ft;Ce.subscribe(e,{qos:a},o=>{if(o){console.error("MQTT Subscription error: "+o);return}})}function et(t){ft.topic=t;const{topic:e}=ft;Ce.unsubscribe(e,a=>{if(a){console.error("MQTT Unsubscribe from "+t+" failed: "+a);return}})}async function Ut(t,e){let o=Ce.connected,r=0;for(;!o&&r<20;)console.warn("MQTT publish: Not connected. Waiting 0.1 seconds"),await ko(100),o=Ce.connected,r+=1;if(r<20)try{Ce.publish(t,e,{qos:0},l=>{l&&console.warn("MQTT publish error: ",l),console.info("MQTT publish: Message sent: ["+t+"]("+e+")")})}catch(l){console.warn("MQTT publish: caught error: "+l)}else console.error("MQTT publish: Lost connection to MQTT server. Please reload the page")}function Jt(){return fa.clientId}function ko(t){return new Promise(e=>setTimeout(e,t))}class So{constructor(e){f(this,"id");f(this,"name","Ladepunkt");f(this,"icon","Ladepunkt");f(this,"type","");f(this,"ev",0);f(this,"template",0);f(this,"connectedPhases",0);f(this,"phase_1",0);f(this,"autoPhaseSwitchHw",!1);f(this,"controlPilotInterruptionHw",!1);f(this,"isEnabled",!0);f(this,"isPluggedIn",!1);f(this,"isCharging",!1);f(this,"_isLocked",!1);f(this,"_connectedVehicle",0);f(this,"chargeTemplate",0);f(this,"evTemplate",0);f(this,"_chargeMode","pv_charging");f(this,"_hasPriority",!1);f(this,"currentPlan","");f(this,"averageConsumption",0);f(this,"vehicleName","");f(this,"rangeCharged",0);f(this,"rangeUnit","");f(this,"counter",0);f(this,"dailyYield",0);f(this,"energyPv",0);f(this,"energyBat",0);f(this,"pvPercentage",0);f(this,"faultState",0);f(this,"faultStr","");f(this,"phasesInUse",0);f(this,"power",0);f(this,"chargedSincePlugged",0);f(this,"stateStr","");f(this,"current",0);f(this,"currents",[0,0,0]);f(this,"phasesToUse",0);f(this,"isSocConfigured",!0);f(this,"isSocManual",!1);f(this,"waitingForSoc",!1);f(this,"color","white");f(this,"_timedCharging",!1);f(this,"_instantChargeLimitMode","");f(this,"_instantTargetCurrent",0);f(this,"_instantTargetSoc",0);f(this,"_instantMaxEnergy",0);f(this,"_pvFeedInLimit",!1);f(this,"_pvMinCurrent",0);f(this,"_pvMaxSoc",0);f(this,"_pvMinSoc",0);f(this,"_pvMinSocCurrent",0);f(this,"_etActive",!1);f(this,"_etMaxPrice",20);this.id=e}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked=e,ee("cpLock",e,this.id)}updateIsLocked(e){this._isLocked=e}get connectedVehicle(){return this._connectedVehicle}set connectedVehicle(e){this._connectedVehicle=e,ee("cpVehicle",e,this.id)}updateConnectedVehicle(e){this._connectedVehicle=e}get soc(){return q[this.connectedVehicle]?q[this.connectedVehicle].soc:0}set soc(e){q[this.connectedVehicle]&&(q[this.connectedVehicle].soc=e)}get chargeMode(){return this._chargeMode}set chargeMode(e){this._chargeMode=e,ee("chargeMode",e,this.id)}updateChargeMode(e){this._chargeMode=e}get hasPriority(){return this._hasPriority}set hasPriority(e){this._hasPriority=e,ee("cpPriority",e,this.id)}updateCpPriority(e){this._hasPriority=e}get timedCharging(){return be[this.chargeTemplate]?be[this.chargeTemplate].time_charging.active:!1}set timedCharging(e){be[this.chargeTemplate].time_charging.active=e,ee("cpTimedCharging",e,this.chargeTemplate)}get instantTargetCurrent(){return this._instantTargetCurrent}set instantTargetCurrent(e){this._instantTargetCurrent=e,ee("cpInstantTargetCurrent",e,this.id)}updateInstantTargetCurrent(e){this._instantTargetCurrent=e}get instantChargeLimitMode(){return this._instantChargeLimitMode}set instantChargeLimitMode(e){this._instantChargeLimitMode=e,ee("cpInstantChargeLimitMode",e,this.id)}updateInstantChargeLimitMode(e){this._instantChargeLimitMode=e}get instantTargetSoc(){return this._instantTargetSoc}set instantTargetSoc(e){this._instantTargetSoc=e,ee("cpInstantTargetSoc",e,this.id)}updateInstantTargetSoc(e){this._instantTargetSoc=e}get instantMaxEnergy(){return this._instantMaxEnergy}set instantMaxEnergy(e){this._instantMaxEnergy=e,ee("cpInstantMaxEnergy",e,this.id)}updateInstantMaxEnergy(e){this._instantMaxEnergy=e}get pvFeedInLimit(){return this._pvFeedInLimit}set pvFeedInLimit(e){this._pvFeedInLimit=e,ee("cpPvFeedInLimit",e,this.id)}updatePvFeedInLimit(e){this._pvFeedInLimit=e}get pvMinCurrent(){return this._pvMinCurrent}set pvMinCurrent(e){this._pvMinCurrent=e,ee("cpPvMinCurrent",e,this.id)}updatePvMinCurrent(e){this._pvMinCurrent=e}get pvMaxSoc(){return this._pvMaxSoc}set pvMaxSoc(e){this._pvMaxSoc=e,ee("cpPvMaxSoc",e,this.id)}updatePvMaxSoc(e){this._pvMaxSoc=e}get pvMinSoc(){return this._pvMinSoc}set pvMinSoc(e){this._pvMinSoc=e,ee("cpPvMinSoc",e,this.id)}updatePvMinSoc(e){this._pvMinSoc=e}get pvMinSocCurrent(){return this._pvMinSocCurrent}set pvMinSocCurrent(e){this._pvMinSocCurrent=e,ee("cpPvMinSocCurrent",e,this.id)}updatePvMinSocCurrent(e){this._pvMinSocCurrent=e}get realCurrent(){switch(this.phasesInUse){case 0:return 0;case 1:return this.currents[0];case 2:return(this.currents[0]+this.currents[1])/2;case 3:return(this.currents[0]+this.currents[1]+this.currents[2])/3;default:return 0}}get etActive(){return q[this.connectedVehicle]?q[this.connectedVehicle].etActive:!1}set etActive(e){q[this.connectedVehicle]&&(q[this.connectedVehicle].etActive=e)}get etMaxPrice(){return q[this.connectedVehicle].etMaxPrice??0}set etMaxPrice(e){console.log("Setting et max price needs to be implemented"),ee("cpEtMaxPrice",Math.round(e*10)/1e6,this.id)}toPowerItem(){return{name:this.name,power:this.power,energy:this.dailyYield,energyPv:this.energyPv,energyBat:this.energyBat,pvPercentage:this.pvPercentage,color:this.color,icon:this.icon,showInGraph:!0}}}class xo{constructor(e){f(this,"id");f(this,"name","");f(this,"visible",!0);f(this,"_chargeTemplateId",0);f(this,"_evTemplateId",0);f(this,"tags",[]);f(this,"config",{});f(this,"soc",0);f(this,"range",0);f(this,"_etActive",!1);f(this,"_etMaxPrice",20);this.id=e}get chargeTemplateId(){return this._chargeTemplateId}set chargeTemplateId(e){this._chargeTemplateId=e,ee("vhChargeTemplateId",e,this.id)}updateChargeTemplateId(e){this._chargeTemplateId=e}get evTemplateId(){return this._evTemplateId}set evTemplateId(e){this._evTemplateId=e,ee("vhEvTemplateId",e,this.id)}updateEvTemplateId(e){this._evTemplateId=e}get etActive(){return be[this.chargeTemplateId]?be[this.chargeTemplateId].et.active:!1}set etActive(e){be[this.chargeTemplateId]&&ee("priceCharging",e,this.chargeTemplateId)}get etMaxPrice(){if(be[this.chargeTemplateId]&&be[this.chargeTemplateId].et.active)return be[this.chargeTemplateId].et.max_price*1e5}get chargepoint(){for(const e of Object.values(B))if(e.connectedVehicle==this.id)return e}}var fe=(t=>(t.instant_charging="instant_charging",t.pv_charging="pv_charging",t.scheduled_charging="scheduled_charging",t.standby="standby",t.stop="stop",t))(fe||{});const B=re({}),q=re({}),be=re({}),rt=re({}),it=re({}),Ft=re({});function $o(t){t in B||(B[t]=new So(t),B[t].color="var(--color-cp"+(Object.values(B).length-1)+")")}function Mo(){Object.keys(B).forEach(t=>{delete B[parseInt(t)]})}const Co={cpLock:"openWB/set/chargepoint/%/set/manual_lock",chargeMode:"openWB/set/vehicle/template/charge_template/%/chargemode/selected",cpPriority:"openWB/set/vehicle/template/charge_template/%/prio",cpTimedCharging:"openWB/set/vehicle/template/charge_template/%/time_charging/active",pvBatteryPriority:"openWB/set/general/chargemode_config/pv_charging/bat_mode",cpVehicle:"openWB/set/chargepoint/%/config/ev",cpInstantChargeLimitMode:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/limit/selected",cpInstantTargetCurrent:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/current",cpInstantTargetSoc:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/limit/soc",cpInstantMaxEnergy:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/limit/amount",cpPvFeedInLimit:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/feed_in_limit",cpPvMinCurrent:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/min_current",cpPvMaxSoc:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/max_soc",cpPvMinSoc:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/min_soc",cpPvMinSocCurrent:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/min_soc_current",cpEtMaxPrice:"openWB/set/vehicle/template/charge_template/%/et/max_price",vhChargeTemplateId:"openWB/set/vehicle/%/charge_template",vhEvTemplateId:"openWB/set/vehicle/%/ev_template",shSetManual:"openWB/set/LegacySmartHome/config/set/Devices/%/mode",shSwitchOn:"openWB/set/LegacySmartHome/config/set/Devices/%/device_manual_control",socUpdate:"openWB/set/vehicle/%/get/force_soc_update",setSoc:"openWB/set/vehicle/%/soc_module/calculated_soc_state/manual_soc",priceCharging:"openWB/set/vehicle/template/charge_template/%/et/active"};function ee(t,e,a=0){if(isNaN(a)){console.warn("Invalid index");return}let o=Co[t];if(!o){console.warn("No topic for update type "+t);return}switch(t){case"chargeMode":case"cpPriority":case"cpScheduledCharging":case"cpInstantTargetCurrent":case"cpInstantChargeLimitMode":case"cpInstantTargetSoc":case"cpInstantMaxEnergy":case"cpPvFeedInLimit":case"cpPvMinCurrent":case"cpPvMaxSoc":case"cpPvMinSoc":case"cpEtMaxPrice":case"cpPvMinSocCurrent":o=o.replace("%",B[a].chargeTemplate.toString());break;default:o=o.replace("%",String(a))}switch(typeof e){case"number":Ut(o,JSON.stringify(+e));break;default:Ut(o,JSON.stringify(e))}}function qt(t){Ut("openWB/set/command/"+Jt()+"/todo",JSON.stringify(t))}class Io{constructor(){f(this,"batterySoc",0);f(this,"isBatteryConfigured",!0);f(this,"chargeMode","0");f(this,"_pvBatteryPriority","ev_mode");f(this,"displayLiveGraph",!0);f(this,"isEtEnabled",!0);f(this,"etMaxPrice",0);f(this,"etCurrentPrice",0);f(this,"cpDailyExported",0);f(this,"evuId",0);f(this,"etProvider","")}get pvBatteryPriority(){return this._pvBatteryPriority}set pvBatteryPriority(e){this._pvBatteryPriority=e,ee("pvBatteryPriority",e)}updatePvBatteryPriority(e){this._pvBatteryPriority=e}}class ba{constructor(e){f(this,"id");f(this,"name","Wechselrichter");f(this,"color","var(--color-pv)");f(this,"power",0);f(this,"energy",0);f(this,"energy_month",0);f(this,"energy_year",0);f(this,"energy_total",0);this.id=e}}const de=re({evuIn:{name:"Netz",color:"var(--color-evu)",icon:""},pv:{name:"PV",color:"var(--color-pv",icon:""},batOut:{name:"Bat >",color:"var(--color-battery)",icon:""},evuOut:{name:"Export",color:"var(--color-export)",icon:""},charging:{name:"Laden",color:"var(--color-charging)",icon:""},devices:{name:"Geräte",color:"var(--color-devices)",icon:""},batIn:{name:"> Bat",color:"var(--color-battery)",icon:""},house:{name:"Haus",color:"var(--color-house)",icon:""},cp1:{name:"Ladepunkt",color:"var(--color-cp1)",icon:"Ladepunkt"},cp2:{name:"Ladepunkt",color:"var(--color-cp2)",icon:"Ladepunkt"},cp3:{name:"Ladepunkt",color:"var(--color-cp3)",icon:"Ladepunkt"},cp4:{name:"Ladepunkt",color:"var(--color-cp4)",icon:"Ladepunkt"},cp5:{name:"Ladepunkt",color:"var(--color-cp5)",icon:"Ladepunkt"},cp6:{name:"Ladepunkt",color:"var(--color-cp6)",icon:"Ladepunkt"},cp7:{name:"Ladepunkt",color:"var(--color-cp7)",icon:"Ladepunkt"},cp8:{name:"Ladepunkt",color:"var(--color-cp8)",icon:"Ladepunkt"},sh1:{name:"Gerät",color:"var(--color-sh1)",icon:"Gerät"},sh2:{name:"Gerät",color:"var(--color-sh2)",icon:"Gerät"},sh3:{name:"Gerät",color:"var(--color-sh3)",icon:"Gerät"},sh4:{name:"Gerät",color:"var(--color-sh4)",icon:"Gerät"},sh5:{name:"Gerät",color:"var(--color-sh5)",icon:"Gerät"},sh6:{name:"Gerät",color:"var(--color-sh6)",icon:"Gerät"},sh7:{name:"Gerät",color:"var(--color-sh7)",icon:"Gerät"},sh8:{name:"Gerät",color:"var(--color-sh8)",icon:"Gerät"},sh9:{name:"Gerät",color:"var(--color-sh9)",icon:"Gerät"},pv1:{name:"PV",color:"var(--color-pv1)",icon:"Wechselrichter"},pv2:{name:"PV",color:"var(--color-pv2)",icon:"Wechselrichter"},pv3:{name:"PV",color:"var(--color-pv3)",icon:"Wechselrichter"},pv4:{name:"PV",color:"var(--color-pv4)",icon:"Wechselrichter"},pv5:{name:"PV",color:"var(--color-pv5)",icon:"Wechselrichter"},pv6:{name:"PV",color:"var(--color-pv6)",icon:"Wechselrichter"},pv7:{name:"PV",color:"var(--color-pv7)",icon:"Wechselrichter"},pv8:{name:"PV",color:"var(--color-pv8)",icon:"Wechselrichter"},pv9:{name:"PV",color:"var(--color-pv9)",icon:"Wechselrichter"},bat1:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat2:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat3:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat4:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat5:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat6:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat7:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat8:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat9:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"}});class ya{constructor(){f(this,"_items",{});this.addItem("evuIn"),this.addItem("pv"),this.addItem("batOut"),this.addItem("evuOut"),this.addItem("charging"),this.addItem("devices"),this.addItem("batIn"),this.addItem("house")}get items(){return this._items}keys(){return Object.keys(this._items)}values(){return Object.values(this._items)}addItem(e){this._items[e]=ze(e)}setEnergy(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].energy=a}setEnergyPv(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].energyPv=a}setEnergyBat(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].energyBat=a}setPvPercentage(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].pvPercentage=a}calculateHouseEnergy(){this._items.house.energy=this._items.evuIn.energy+this._items.pv.energy+this._items.batOut.energy-this._items.evuOut.energy-this._items.batIn.energy-this._items.charging.energy-this._items.devices.energy}}let A=re(new ya);function Yt(){A=new ya}const R=re({evuIn:ze("evuIn"),pv:ze("pv"),batOut:ze("batOut")}),G=re({evuOut:ze("evuOut"),charging:ze("charging"),devices:ze("devices"),batIn:ze("batIn"),house:ze("house")}),me=re(new Io);Z("");const _t=Z(!1);function ze(t){return{name:de[t]?de[t].name:"item",power:0,energy:0,energyPv:0,energyBat:0,pvPercentage:0,color:de[t]?de[t].color:"var(--color-charging)",icon:de[t]?de[t].icon:"",showInGraph:!0}}const Nt=Z(new Date),ke=Z(new Map),Po=t=>{ke.value.set(t,new ba(t)),ke.value.get(t).color=de["pv"+ke.value.size].color};class Bo{constructor(){f(this,"_showRelativeArcs",!1);f(this,"showTodayGraph",!0);f(this,"_graphPreference","today");f(this,"_usageStackOrder",0);f(this,"_displayMode","dark");f(this,"_showGrid",!1);f(this,"_smartHomeColors","normal");f(this,"_decimalPlaces",1);f(this,"_showQuickAccess",!0);f(this,"_simpleCpList",!1);f(this,"_shortCpList","no");f(this,"_showAnimations",!0);f(this,"_preferWideBoxes",!1);f(this,"_maxPower",4e3);f(this,"_fluidDisplay",!1);f(this,"_showClock","no");f(this,"_showButtonBar",!0);f(this,"_showCounters",!1);f(this,"_showVehicles",!1);f(this,"_showStandardVehicle",!0);f(this,"_showPrices",!1);f(this,"_showInverters",!1);f(this,"_debug",!1);f(this,"isEtEnabled",!1);f(this,"etPrice",20.5);f(this,"showRightButton",!0);f(this,"showLeftButton",!0);f(this,"animationDuration",300);f(this,"animationDelay",100);f(this,"zoomGraph",!1)}get showRelativeArcs(){return this._showRelativeArcs}set showRelativeArcs(e){this._showRelativeArcs=e,se()}setShowRelativeArcs(e){this._showRelativeArcs=e}get graphPreference(){return this._graphPreference}set graphPreference(e){this._graphPreference=e,se()}setGraphPreference(e){this._graphPreference=e}get usageStackOrder(){return this._usageStackOrder}set usageStackOrder(e){this._usageStackOrder=e,se()}setUsageStackOrder(e){this._usageStackOrder=e}get displayMode(){return this._displayMode}set displayMode(e){this._displayMode=e,Ao(e)}setDisplayMode(e){this._displayMode=e}get showGrid(){return this._showGrid}set showGrid(e){this._showGrid=e,se()}setShowGrid(e){this._showGrid=e}get decimalPlaces(){return this._decimalPlaces}set decimalPlaces(e){this._decimalPlaces=e,se()}setDecimalPlaces(e){this._decimalPlaces=e}get smartHomeColors(){return this._smartHomeColors}set smartHomeColors(e){this._smartHomeColors=e,na(e),se()}setSmartHomeColors(e){this._smartHomeColors=e,na(e)}get showQuickAccess(){return this._showQuickAccess}set showQuickAccess(e){this._showQuickAccess=e,se()}setShowQuickAccess(e){this._showQuickAccess=e}get simpleCpList(){return this._simpleCpList}set simpleCpList(e){this._simpleCpList=e,se()}setSimpleCpList(e){this._simpleCpList=e}get shortCpList(){return this._shortCpList}set shortCpList(e){this._shortCpList=e,se()}setShortCpList(e){this._shortCpList=e}get showAnimations(){return this._showAnimations}set showAnimations(e){this._showAnimations=e,se()}setShowAnimations(e){this._showAnimations=e}get preferWideBoxes(){return this._preferWideBoxes}set preferWideBoxes(e){this._preferWideBoxes=e,se()}setPreferWideBoxes(e){this._preferWideBoxes=e}get maxPower(){return this._maxPower}set maxPower(e){this._maxPower=e,se()}setMaxPower(e){this._maxPower=e}get fluidDisplay(){return this._fluidDisplay}set fluidDisplay(e){this._fluidDisplay=e,se()}setFluidDisplay(e){this._fluidDisplay=e}get showClock(){return this._showClock}set showClock(e){this._showClock=e,se()}setShowClock(e){this._showClock=e}get debug(){return this._debug}set debug(e){this._debug=e,se()}setDebug(e){this._debug=e}get showButtonBar(){return this._showButtonBar}set showButtonBar(e){this._showButtonBar=e,se()}setShowButtonBar(e){this._showButtonBar=e}get showCounters(){return this._showCounters}set showCounters(e){this._showCounters=e,se()}setShowCounters(e){this._showCounters=e}get showVehicles(){return this._showVehicles}set showVehicles(e){this._showVehicles=e,se()}setShowVehicles(e){this._showVehicles=e}get showStandardVehicle(){return this._showStandardVehicle}set showStandardVehicle(e){this._showStandardVehicle=e,q[0].visible=e,se()}setShowStandardVehicle(e){this._showStandardVehicle=e}get showPrices(){return this._showPrices}set showPrices(e){this._showPrices=e,se()}setShowPrices(e){this._showPrices=e}get showInverters(){return this._showInverters}set showInverters(e){this._showInverters=e,se()}setShowInverters(e){this._showInverters=e}}const v=re(new Bo);function wa(){Do();const t=le("html");t.classed("theme-dark",v.displayMode=="dark"),t.classed("theme-light",v.displayMode=="light"),t.classed("theme-blue",v.displayMode=="blue"),t.classed("shcolors-standard",v.smartHomeColors=="standard"),t.classed("shcolors-advanced",v.smartHomeColors=="advanced"),t.classed("shcolors-normal",v.smartHomeColors=="normal")}const Vo=992,bt=re({x:document.documentElement.clientWidth,y:document.documentElement.clientHeight});function Lo(){bt.x=document.documentElement.clientWidth,bt.y=document.documentElement.clientHeight,wa()}const Ne=m(()=>bt.x>=Vo),pe={stop:{mode:fe.stop,name:"Stop",color:"var(--color-fg)",icon:"fa-power-off"},standby:{mode:fe.standby,name:"Standby",color:"var(--color-axis",icon:"fa-pause"},pv_charging:{mode:fe.pv_charging,name:"PV",color:"var(--color-pv",icon:"fa-solar-panel"},scheduled_charging:{mode:fe.scheduled_charging,name:"Zielladen",color:"var(--color-battery)",icon:"fa-bullseye"},instant_charging:{mode:fe.instant_charging,name:"Sofort",color:"var(--color-charging)",icon:"fa-bolt"}};function se(){To()}function Ao(t){const e=le("html");e.classed("theme-dark",t=="dark"),e.classed("theme-light",t=="light"),e.classed("theme-blue",t=="blue"),se()}function Oo(){v.maxPower=R.evuIn.power+R.pv.power+R.batOut.power,se()}function na(t){const e=le("html");e.classed("shcolors-normal",t=="normal"),e.classed("shcolors-standard",t=="standard"),e.classed("shcolors-advanced",t=="advanced")}const We={chargemode:"Der Lademodus für das Fahrzeug an diesem Ladepunkt",vehicle:"Das Fahrzeug, das an diesem Ladepounkt geladen wird",locked:"Für das Laden sperren",priority:"Fahrzeuge mit Priorität werden bevorzugt mit mehr Leistung geladen, falls verfügbar",timeplan:"Das Laden nach Zeitplan für dieses Fahrzeug aktivieren",minsoc:"Immer mindestens bis zum eingestellten Ladestand laden. Wenn notwendig mit Netzstrom.",minpv:"Durchgehend mit mindestens dem eingestellten Strom laden. Wenn notwendig mit Netzstrom.",pricebased:"Laden bei dynamischem Stromtarif, wenn eingestellter Maximalpreis unterboten wird."};function To(){const t={};t.hideSH=[...ne.values()].filter(e=>!e.showInGraph).map(e=>e.id),t.showLG=v.graphPreference=="live",t.displayM=v.displayMode,t.stackO=v.usageStackOrder,t.showGr=v.showGrid,t.decimalP=v.decimalPlaces,t.smartHomeC=v.smartHomeColors,t.relPM=v.showRelativeArcs,t.maxPow=v.maxPower,t.showQA=v.showQuickAccess,t.simpleCP=v.simpleCpList,t.shortCP=v.shortCpList,t.animation=v.showAnimations,t.wideB=v.preferWideBoxes,t.fluidD=v.fluidDisplay,t.clock=v.showClock,t.showButtonBar=v.showButtonBar,t.showCounters=v.showCounters,t.showVehicles=v.showVehicles,t.showStandardV=v.showStandardVehicle,t.showPrices=v.showPrices,t.showInv=v.showInverters,t.debug=v.debug,document.cookie="openWBColorTheme="+JSON.stringify(t)+";max-age=16000000;samesite=strict"}function Do(){const e=document.cookie.split(";").filter(a=>a.split("=")[0]==="openWBColorTheme");if(e.length>0){const a=JSON.parse(e[0].split("=")[1]);a.decimalP!==void 0&&v.setDecimalPlaces(+a.decimalP),a.smartHomeC!==void 0&&v.setSmartHomeColors(a.smartHomeC),a.hideSH!==void 0&&a.hideSH.forEach(o=>{ne.get(o)==null&&Qt(o),ne.get(o).setShowInGraph(!1)}),a.showLG!==void 0&&v.setGraphPreference(a.showLG?"live":"today"),a.maxPow!==void 0&&v.setMaxPower(+a.maxPow),a.relPM!==void 0&&v.setShowRelativeArcs(a.relPM),a.displayM!==void 0&&v.setDisplayMode(a.displayM),a.stackO!==void 0&&v.setUsageStackOrder(a.stackO),a.showGr!==void 0&&v.setShowGrid(a.showGr),a.showQA!==void 0&&v.setShowQuickAccess(a.showQA),a.simpleCP!==void 0&&v.setSimpleCpList(a.simpleCP),a.shortCP!==void 0&&v.setShortCpList(a.shortCP),a.animation!=null&&v.setShowAnimations(a.animation),a.wideB!=null&&v.setPreferWideBoxes(a.wideB),a.fluidD!=null&&v.setFluidDisplay(a.fluidD),a.clock!=null&&v.setShowClock(a.clock),a.showButtonBar!==void 0&&v.setShowButtonBar(a.showButtonBar),a.showCounters!==void 0&&v.setShowCounters(a.showCounters),a.showVehicles!==void 0&&v.setShowVehicles(a.showVehicles),a.showStandardV!==void 0&&v.setShowStandardVehicle(a.showStandardV),a.showPrices!==void 0&&v.setShowPrices(a.showPrices),a.showInv!==void 0&&v.setShowInverters(a.showInv),a.debug!==void 0&&v.setDebug(a.debug)}}class Wo{constructor(e){f(this,"id");f(this,"name","Gerät");f(this,"power",0);f(this,"status","off");f(this,"energy",0);f(this,"runningTime",0);f(this,"configured",!1);f(this,"_showInGraph",!0);f(this,"color","white");f(this,"canSwitch",!1);f(this,"countAsHouse",!1);f(this,"energyPv",0);f(this,"energyBat",0);f(this,"pvPercentage",0);f(this,"tempConfigured",0);f(this,"temp",[300,300,300]);f(this,"on",!1);f(this,"isAutomatic",!0);f(this,"icon","");this.id=e}get showInGraph(){return this._showInGraph}set showInGraph(e){this._showInGraph=e,A.items["sh"+this.id].showInGraph=e,se()}setShowInGraph(e){this._showInGraph=e}}const ne=re(new Map);function Qt(t){ne.has(t)?console.info("Duplicate sh device message: "+t):(ne.set(t,new Wo(t)),ne.get(t).color="var(--color-sh"+ne.size+")")}const Go=["origin"],zo=V({__name:"PMSourceArc",props:{radius:{},cornerRadius:{},circleGapSize:{},emptyPower:{}},setup(t){const e=t,a=m(()=>{let o={name:"",power:e.emptyPower,energy:0,energyPv:0,energyBat:0,pvPercentage:0,color:"var(--color-bg)",icon:"",showInGraph:!0},r=R;r["zz-empty"]=o;const l=Object.values(R).length-1,h=ga().value(u=>u.power).startAngle(-Math.PI/2+e.circleGapSize).endAngle(Math.PI/2-e.circleGapSize).sort(null),p=ma().innerRadius(e.radius/6*5).outerRadius(e.radius).cornerRadius(e.cornerRadius).padAngle(0),d=le("g#pmSourceArc");return d.selectAll("*").remove(),d.selectAll("sources").data(h(Object.values(r))).enter().append("path").attr("d",p).attr("fill",u=>u.data.color).attr("stroke",(u,c)=>c==l?u.data.power>0?"var(--color-scale)":"null":u.data.color),"pmSourceArc.vue"});return Ka(()=>{let o=R.pv.power+R.evuIn.power+R.batOut.power;o>v.maxPower&&(v.maxPower=o)}),(o,r)=>(i(),g("g",{id:"pmSourceArc",origin:a.value},null,8,Go))}}),Eo=["origin"],jo=V({__name:"PMUsageArc",props:{radius:{},cornerRadius:{},circleGapSize:{},emptyPower:{}},setup(t){const e=t,a=m(()=>{let o={name:"",power:e.emptyPower,energy:0,energyPv:0,energyBat:0,pvPercentage:0,color:"var(--color-bg)",icon:"",showInGraph:!0};const r=[G.evuOut,G.charging].concat([...ne.values()].filter(u=>u.configured&&!u.countAsHouse).sort((u,c)=>c.power-u.power)).concat([G.batIn,G.house]).concat(o),l=r.length-1,h=ga().value(u=>u.power).startAngle(Math.PI*1.5-e.circleGapSize).endAngle(Math.PI/2+e.circleGapSize).sort(null),p=ma().innerRadius(e.radius/6*5).outerRadius(e.radius).cornerRadius(e.cornerRadius),d=le("g#pmUsageArc");return d.selectAll("*").remove(),d.selectAll("consumers").data(h(r)).enter().append("path").attr("d",p).attr("fill",u=>u.data.color).attr("stroke",(u,c)=>c==l?u.data.power>0?"var(--color-scale)":"null":u.data.color),"pmUsageArc.vue"});return(o,r)=>(i(),g("g",{id:"pmUsageArc",origin:a.value},null,8,Eo))}});function Se(t,e=1){let a;if(t>=1e3&&e<4){switch(e){case 0:a=Math.round(t/1e3);break;case 1:a=Math.round(t/100)/10;break;case 2:a=Math.round(t/10)/100;break;case 3:a=Math.round(t)/1e3;break;default:a=Math.round(t/100)/10;break}return(a==null?void 0:a.toLocaleString(void 0,{minimumFractionDigits:e}))+" kW"}else return Math.round(t).toLocaleString(void 0)+" W"}function ct(t,e=1,a=!1){let o;if(t>1e6&&(a=!0,t=t/1e3),t>=1e3&&e<4){switch(e){case 0:o=Math.round(t/1e3);break;case 1:o=(Math.round(t/100)/10).toFixed(1);break;case 2:o=(Math.round(t/10)/100).toFixed(2);break;case 3:o=(Math.round(t)/1e3).toFixed(3);break;default:o=Math.round(t/100)/10;break}return o.toLocaleString(void 0,{minimumFractionDigits:e})+(a?" MWh":" kWh")}else return Math.round(t).toLocaleString(void 0)+(a?" kWh":" Wh")}function Uo(t){const e=Math.floor(t/3600),a=(t%3600/60).toFixed(0);return e>0?e+"h "+a+" min":a+" min"}function ka(t){return t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}function Fo(t,e){return["Jan","Feb","März","April","Mai","Juni","Juli","Aug","Sep","Okt","Nov","Dez"][t]+" "+e}function No(t){return t!=999?(Math.round(t*10)/10).toLocaleString(void 0,{minimumFractionDigits:1})+"°":"-"}const ht=V({__name:"FormatWatt",props:{watt:{}},setup(t){const e=t,a=m(()=>Se(e.watt,v.decimalPlaces));return(o,r)=>$(a.value)}}),Ho={key:0,id:"pmLabel"},Ro=["x","y","fill","text-anchor"],Jo=22,Ve=V({__name:"PMLabel",props:{x:{},y:{},data:{},props:{},anchor:{},labeltext:{},labelicon:{},labelcolor:{}},setup(t){const e=t,a=m(()=>e.labeltext?e.labeltext:e.props?e.props.icon+" ":e.labelicon?e.labelicon+" ":""),o=m(()=>e.labelcolor?e.labelcolor:e.props?e.props.color:""),r=m(()=>!e.data||e.data.power>0),l=m(()=>e.labeltext?"":"fas");return(h,p)=>r.value?(i(),g("g",Ho,[n("text",{x:h.x,y:h.y,fill:o.value,"text-anchor":h.anchor,"font-size":Jo,class:"pmLabel"},[n("tspan",{class:j(l.value)},$(a.value),3),n("tspan",null,[h.data!==void 0?(i(),M(ht,{key:0,watt:h.data.power},null,8,["watt"])):y("",!0)])],8,Ro)])):y("",!0)}}),qo={class:"wb-widget p-0 m-0 shadow"},Yo={class:"d-flex justify-content-between"},Qo={class:"m-4 me-0 mb-0"},Zo=n("div",{class:"p-0"},"(title goes here)",-1),Xo={class:"p-4 pb-0 ps-0 m-0",style:{"text-align":"right"}},Ko={class:"px-4 pt-4 pb-2 wb-subwidget"},en={class:"row"},tn={class:"col m-0 p-0"},an={class:"container-fluid m-0 p-0"},on={key:0},nn=n("hr",null,null,-1),sn={class:"px-4 py-2 wb-subwidget"},rn={class:"row"},ln={class:"col"},cn={class:"container-fluid m-0 p-0"},St=V({__name:"WBWidget",props:{variableWidth:{type:Boolean},fullWidth:{type:Boolean}},setup(t){const e=t,a=m(()=>e.fullWidth?"col-12":e.variableWidth&&v.preferWideBoxes?"col-lg-6":"col-lg-4");return(o,r)=>(i(),g("div",{class:j(["p-2 m-0 d-flex",a.value])},[n("div",qo,[n("div",Yo,[n("h3",Qo,[he(o.$slots,"title",{},()=>[Zo]),he(o.$slots,"subtitle")]),n("div",Xo,[he(o.$slots,"buttons")])]),n("div",Ko,[n("div",en,[n("div",tn,[n("div",an,[he(o.$slots,"default")])])])]),o.$slots.footer!=null?(i(),g("div",on,[nn,n("div",sn,[n("div",rn,[n("div",ln,[n("div",cn,[he(o.$slots,"footer")])])])])])):y("",!0)])],2))}});class dn{constructor(){f(this,"active",!1);f(this,"etPriceList",new Map);f(this,"etProvider","");f(this,"etMaxPrice",0)}get etCurrentPriceString(){const[e]=te.etPriceList.values();return(Math.round(e*10)/10).toFixed(1)+" ct"}}const te=re(new dn),un={id:"powermeter",class:"p-0 m-0"},hn=["viewBox"],pn=["transform"],gn=["x"],Te=500,De=20,sa=1,mn=V({__name:"PowerMeter",setup(t){const e=Te,a=Math.PI/40,o=[[4],[4,6],[1,4,6],[0,2,4,6],[0,2,3,5,6]],r=[{x:-85,y:e/2*1/5},{x:0,y:e/2*1/5},{x:85,y:e/2*1/5},{x:-85,y:e/2*2/5},{x:0,y:e/2*2/5},{x:85,y:e/2*2/5},{x:0,y:e/2*3/5}],l=m(()=>Te/2-De),h=m(()=>{let D="",O=Object.values(R).filter(F=>F.power>0);return O.length==1&&O[0].name=="PV"?D="Aktueller Verbrauch: ":D="Bezug/Verbrauch: ",D+Se(G.house.power+G.charging.power+G.devices.power+G.batIn.power,v.decimalPlaces)}),p=m(()=>{let D=R.pv.power+R.evuIn.power+R.batOut.power;return v.maxPower>D?Se(v.maxPower,v.decimalPlaces):Se(D,v.decimalPlaces)}),d=m(()=>Object.values(B)),u=m(()=>{let D=0;return v.showRelativeArcs&&(D=v.maxPower-(R.pv.power+R.evuIn.power+R.batOut.power)),D<0?0:D}),c=m(()=>[G.evuOut,G.charging,G.devices,G.batIn,G.house].filter(D=>D.power>0)),C=m(()=>o[c.value.length-1]);function J(D){return r[C.value[D]]}function P(D){return Math.round(d.value[D].soc)}function T(D){return D.length>12?D.slice(0,11)+".":D}const E=m(()=>{const[D]=te.etPriceList.values();return Math.round(D*10)/10});return(D,O)=>(i(),M(St,{"full-width":!0},{title:w(()=>[H(" Aktuelle Leistung ")]),default:w(()=>[n("figure",un,[(i(),g("svg",{viewBox:"0 0 "+Te+" "+s(e)},[n("g",{transform:"translate("+Te/2+","+s(e)/2+")"},[b(zo,{radius:l.value,"corner-radius":sa,"circle-gap-size":a,"empty-power":u.value},null,8,["radius","empty-power"]),b(jo,{"sh-device":s(ne),radius:l.value,"corner-radius":sa,"circle-gap-size":a,"empty-power":u.value},null,8,["sh-device","radius","empty-power"]),b(Ve,{x:0,y:-s(e)/10*2,data:s(R).pv,props:s(de).pv,anchor:"middle",config:s(v)},null,8,["y","data","props","config"]),b(Ve,{x:0,y:-s(e)/10*3,data:s(R).evuIn,props:s(de).evuIn,anchor:"middle",config:s(v)},null,8,["y","data","props","config"]),b(Ve,{x:0,y:-s(e)/10,data:s(R).batOut,props:s(de).batOut,anchor:"middle",config:s(v)},null,8,["y","data","props","config"]),s(te).active?(i(),M(Ve,{key:0,x:0,y:-s(e)/10,data:s(R).batOut,props:s(de).batOut,anchor:"middle",config:s(v)},null,8,["y","data","props","config"])):y("",!0),(i(!0),g(z,null,X(c.value,(F,I)=>(i(),M(Ve,{key:I,x:J(I).x,y:J(I).y,data:F,labelicon:F.icon,labelcolor:F.color,anchor:"middle",config:s(v)},null,8,["x","y","data","labelicon","labelcolor","config"]))),128)),d.value.length>0&&s(q)[d.value[0].connectedVehicle]?(i(),M(Ve,{key:1,x:-Te/2-De/4+10,y:-s(e)/2+De+5,labeltext:T(s(q)[d.value[0].connectedVehicle].name)+": "+P(0)+"%",labelcolor:d.value[0].color,anchor:"start",config:s(v)},null,8,["x","y","labeltext","labelcolor","config"])):y("",!0),d.value.length>1&&s(q)[d.value[1].connectedVehicle]?(i(),M(Ve,{key:2,x:Te/2+De/4-10,y:-s(e)/2+De+5,labeltext:T(s(q)[d.value[1].connectedVehicle].name)+": "+P(1)+"%",labelcolor:d.value[1].color,anchor:"end",config:s(v)},null,8,["x","y","labeltext","labelcolor","config"])):y("",!0),s(me).batterySoc>0?(i(),M(Ve,{key:3,x:-Te/2-De/4+10,y:s(e)/2-De+15,labeltext:"Speicher: "+s(me).batterySoc+"%",labelcolor:s(G).batIn.color,anchor:"start",config:s(v)},null,8,["x","y","labeltext","labelcolor","config"])):y("",!0),s(te).active?(i(),M(Ve,{key:4,x:Te/2+De/4-10,y:s(e)/2-De+15,value:E.value,labeltext:s(te).etCurrentPriceString,labelcolor:"var(--color-charging)",anchor:"end",config:s(v)},null,8,["x","y","value","labeltext","config"])):y("",!0),b(Ve,{x:0,y:0,labeltext:h.value,labelcolor:"var(--color-fg)",anchor:"middle",config:s(v)},null,8,["labeltext","config"]),s(v).showRelativeArcs?(i(),g("text",{key:5,x:Te/2-44,y:"2","text-anchor":"middle",fill:"var(--color-axis)","font-size":"12"}," Peak: "+$(p.value),9,gn)):y("",!0)],8,pn)],8,hn))])]),_:1}))}}),_e=500,$e=500,W={top:15,right:20,bottom:10,left:25},Zt=["charging","house","batIn","devices"];class vn{constructor(){f(this,"data",[]);f(this,"_graphMode","");f(this,"waitForData",!0)}get graphMode(){return this._graphMode}set graphMode(e){this._graphMode=e}}const _=re(new vn),Sa=Z(eo),He=m(()=>[0,_e-W.left-2*W.right].map(t=>Sa.value.applyX(t)));let yt=!0,dt=!0;function ra(){yt=!1}function ia(){dt=!1}function fn(t){dt=t}function pt(t){_.data=t,_.waitForData=!1}const ue=re({refreshTopicPrefix:"openWB/graph/alllivevaluesJson",updateTopic:"openWB/graph/lastlivevaluesJson",configTopic:"openWB/graph/config/#",initialized:!1,initCounter:0,graphRefreshCounter:0,rawDataPacks:[],duration:0,activate(t){this.unsubscribeUpdates(),this.subscribeRefresh(),t&&(_.data=[]),_.waitForData=!0,Re(this.configTopic),this.initialized=!1,this.initCounter=0,this.graphRefreshCounter=0,this.rawDataPacks=[],kn(),_t.value=!0},deactivate(){this.unsubscribeRefresh(),this.unsubscribeUpdates(),et(this.configTopic)},subscribeRefresh(){for(let t=1;t<17;t++)Re(this.refreshTopicPrefix+t)},unsubscribeRefresh(){for(let t=1;t<17;t++)et(this.refreshTopicPrefix+t)},subscribeUpdates(){Re(this.updateTopic)},unsubscribeUpdates(){et(this.updateTopic)}}),ie=re({topic:"openWB/log/daily/#",date:new Date,activate(t){if(_.graphMode=="day"||_.graphMode=="today"){_.graphMode=="today"&&(this.date=new Date);const e=this.date.getFullYear().toString()+(this.date.getMonth()+1).toString().padStart(2,"0")+this.date.getDate().toString().padStart(2,"0");this.topic="openWB/log/daily/"+e,Re(this.topic),t&&(_.data=[]),_.waitForData=!0,qt({command:"getDailyLog",data:{day:e}})}},deactivate(){et(this.topic)},back(){this.date=new Date(this.date.setTime(this.date.getTime()-864e5))},forward(){this.date=new Date(this.date.setTime(this.date.getTime()+864e5))},setDate(t){this.date=t},getDate(){return this.date}}),Le=re({topic:"openWB/log/monthly/#",month:new Date().getMonth()+1,year:new Date().getFullYear(),activate(t){const e=this.year.toString()+this.month.toString().padStart(2,"0");_.data=[],Re(this.topic),t&&(_.data=[]),_.waitForData=!0,qt({command:"getMonthlyLog",data:{month:e}})},deactivate(){et(this.topic)},back(){this.month-=1,this.month<1&&(this.month=12,this.year-=1),this.activate()},forward(){const t=new Date;t.getFullYear()==this.year?this.month-112&&(this.month=1,this.year+=1)),this.activate()},getDate(){return new Date(this.year,this.month)}}),Ue=re({topic:"openWB/log/yearly/#",month:new Date().getMonth()+1,year:new Date().getFullYear(),activate(t){const e=this.year.toString();Re(this.topic),t&&(_.data=[]),_.waitForData=!0,qt({command:"getYearlyLog",data:{year:e}})},deactivate(){et(this.topic)},back(){this.year-=1,this.activate()},forward(){this.year0&&(A.items[t].energyPv+=1e3/12*(e[t]*(e.pv-e.evuOut))/(e.pv-e.evuOut+e.evuIn+e.batOut),A.items[t].energyBat+=1e3/12*(e[t]*e.batOut)/(e.pv-e.evuOut+e.evuIn+e.batOut))}function yn(t,e){e[t]>0&&(A.items[t].energyPv+=1e3*(e[t]*(e.pv-e.evuOut))/(e.pv-e.evuOut+e.evuIn+e.batOut),A.items[t].energyBat+=1e3*(e[t]*e.batOut)/(e.pv-e.evuOut+e.evuIn+e.batOut))}const wn=["evuIn","pv","batOut","evuOut"],lt=Z(!1);function Xt(t,e){Object.entries(t).length>0?(lt.value=!1,Object.entries(t.counter).forEach(([a,o])=>{(e.length==0||e.includes(a))&&(A.items.evuIn.energy+=o.energy_imported,A.items.evuOut.energy+=o.energy_exported)}),A.items.pv.energy=t.pv.all.energy_exported,t.bat.all&&(A.items.batIn.energy=t.bat.all.energy_imported,A.items.batOut.energy=t.bat.all.energy_exported),Object.entries(t.cp).forEach(([a,o])=>{a=="all"?(A.setEnergy("charging",o.energy_imported),o.energy_imported_pv!=null&&(A.setEnergyPv("charging",o.energy_imported_pv),A.setEnergyBat("charging",o.energy_imported_bat))):A.setEnergy(a,o.energy_imported)}),A.setEnergy("devices",0),Object.entries(t.sh).forEach(([a,o])=>{A.setEnergy(a,o.energy_imported);const r=a.substring(2);ne.get(+r).countAsHouse||(A.items.devices.energy+=o.energy_imported)}),t.hc&&t.hc.all?(A.setEnergy("house",t.hc.all.energy_imported),t.hc.all.energy_imported_pv!=null&&(A.setEnergyPv("house",t.hc.all.energy_imported_pv),A.setEnergyBat("house",t.hc.all.energy_imported_bat))):A.calculateHouseEnergy(),A.keys().forEach(a=>{wn.includes(a)||(A.setPvPercentage(a,Math.round((A.items[a].energyPv+A.items[a].energyBat)/A.items[a].energy*100)),Zt.includes(a)&&(G[a].energy=A.items[a].energy,G[a].energyPv=A.items[a].energyPv,G[a].energyBat=A.items[a].energyBat,G[a].pvPercentage=A.items[a].pvPercentage))}),_.graphMode=="today"&&(Object.values(B).forEach(a=>{const o=A.items["cp"+a.id];o&&(a.energyPv=o.energyPv,a.energyBat=o.energyBat,a.pvPercentage=o.pvPercentage)}),ne.forEach(a=>{const o=A.items["sh"+a.id];o&&(a.energy=o.energy,a.energyPv=o.energyPv,a.energyBat=o.energyBat,a.pvPercentage=o.pvPercentage)}))):lt.value=!0,_t.value=!0}const Ie=m(()=>{const t=Pe(_.data,e=>new Date(e.date));return t[0]&&t[1]?Et().domain(t).range([0,_e-W.left-2*W.right]):qe().range([0,0])});function kn(){A.keys().forEach(t=>{Zt.includes(t)&&(G[t].energy=A.items[t].energy,G[t].energyPv=0,G[t].energyBat=0,G[t].pvPercentage=0)}),Object.values(B).forEach(t=>{t.energyPv=0,t.energyBat=0,t.pvPercentage=0}),ne.forEach(t=>{t.energyPv=0,t.energyBat=0,t.pvPercentage=0})}const Fe=m(()=>{const t=Pe(_.data,e=>e.date);return t[1]?jt().domain(Array.from({length:t[1]},(e,a)=>a+1)).paddingInner(.4).range([0,_e-W.left-2]):jt().range([0,0])});function Kt(){switch(_.graphMode){case"live":_.graphMode="today",v.showRightButton=!0,ge();break;case"today":_.graphMode="day",ie.deactivate(),ie.back(),ie.activate(),ge();break;case"day":ie.back(),ge();break;case"month":Le.back();break;case"year":Ue.back();break}}function xa(){const t=new Date;switch(_.graphMode){case"live":break;case"today":_.graphMode="live",v.showRightButton=!1,ge();break;case"day":ie.forward(),ie.date.getDate()==t.getDate()&&ie.date.getMonth()==t.getMonth()&&ie.date.getFullYear()==t.getFullYear()&&(_.graphMode="today"),ge();break;case"month":Le.forward();break;case"year":Ue.forward();break}}function $a(){switch(_.graphMode){case"live":Kt();break;case"day":case"today":_.graphMode="month",ge();break;case"month":_.graphMode="year",ge();break}}function Ma(){switch(_.graphMode){case"year":_.graphMode="month",ge();break;case"month":_.graphMode="today",ge();break;case"today":case"day":_.graphMode="live",ge();break}}function la(t){if(_.graphMode=="day"||_.graphMode=="today"){ie.setDate(t);const e=new Date;ie.date.getDate()==e.getDate()&&ie.date.getMonth()==e.getMonth()&&ie.date.getFullYear()==e.getFullYear()?_.graphMode="today":_.graphMode="day",ge()}}const Ge=Z(new Map),Sn=["origin","origin2","transform"],xn=V({__name:"PGSourceGraph",props:{width:{},height:{},margin:{}},setup(t){const e=t,a={house:"var(--color-house)",batIn:"var(--color-battery)",inverter:"var(--color-pv)",batOut:"var(--color-battery)",selfUsage:"var(--color-pv)",evuOut:"var(--color-export)",evuIn:"var(--color-evu)"};var o,r;const l=v.showAnimations?v.animationDuration:0,h=v.showAnimations?v.animationDelay:0,p=m(()=>{const k=le("g#pgSourceGraph");if(_.data.length>0){_.graphMode=="month"||_.graphMode=="year"?F(k,Fe.value):O(k,Ie.value),k.selectAll(".axis").remove();const S=k.append("g").attr("class","axis");S.call(T.value),S.selectAll(".tick").attr("font-size",12),S.selectAll(".tick line").attr("stroke",D.value).attr("stroke-width",E.value),S.select(".domain").attr("stroke","var(--color-bg)")}return"pgSourceGraph.vue"}),d=m(()=>va().value((k,S)=>k[S]??0).keys(C.value)),u=m(()=>d.value(_.data)),c=m(()=>Ye().range([e.height-10,0]).domain(_.graphMode=="year"?[0,Math.ceil(J.value[1]*10)/10]:[0,Math.ceil(J.value[1])])),C=m(()=>{if(_.graphMode!="today"&&_.graphMode!="day"&&_.graphMode!="live")return["evuIn","batOut","selfUsage","evuOut"];if(v.showInverters){const k=["batOut","evuIn"],S=/pv\d+/;let x=[];return _.data.length>0&&(x=Object.keys(_.data[0]).reduce((L,K)=>(K.match(S)&&L.push(K),L),[])),x.forEach((L,K)=>{a[L]="var(--color-pv"+(K+1)+")"}),[...x,...k]}else return["selfUsage","evuOut","batOut","evuIn"]}),J=m(()=>{let k=Pe(_.data,S=>Math.max(S.pv+S.evuIn+S.batOut,S.selfUsage+S.evuOut));return k[0]!=null&&k[1]!=null?(_.graphMode=="year"&&(k[0]=k[0]/1e3,k[1]=k[1]/1e3),k):[0,0]}),P=m(()=>_.graphMode=="month"||_.graphMode=="year"?-e.width-e.margin.right-22:-e.width),T=m(()=>ut(c.value).tickSizeInner(P.value).ticks(4).tickFormat(k=>(k==0?"":Math.round(k*10)/10).toLocaleString(void 0))),E=m(()=>v.showGrid?"0.5":"1"),D=m(()=>v.showGrid?"var(--color-grid)":"var(--color-bg)");function O(k,S){const x=Ke().x((K,we)=>S(_.data[we].date)).y(c.value(0)),L=Ke().x((K,we)=>S(_.data[we].date)).y0(K=>c.value(_.graphMode=="year"?K[0]/1e3:K[0])).y1(K=>c.value(_.graphMode=="year"?K[1]/1e3:K[1]));yt?(k.selectAll("*").remove(),o=k.selectAll(".sourceareas").data(u.value).enter().append("path").attr("fill",(K,we)=>a[C.value[we]]).attr("d",K=>x(K)),o.transition().duration(l).delay(h).ease(nt).attr("d",K=>L(K)),ra()):o.data(u.value).transition().duration(0).ease(nt).attr("d",K=>L(K))}function F(k,S){_.data.length>0&&(yt?(k.selectAll("*").remove(),r=k.selectAll(".sourcebar").data(u.value).enter().append("g").attr("fill",(x,L)=>a[C.value[L]]).selectAll("rect").data(x=>x).enter().append("rect").attr("x",(x,L)=>S(_.data[L].date)??0).attr("y",()=>c.value(0)).attr("height",0).attr("width",S.bandwidth()),r.transition().duration(l).delay(h).ease(nt).attr("height",x=>_.graphMode=="year"?c.value(x[0]/1e3)-c.value(x[1]/1e3):c.value(x[0])-c.value(x[1])).attr("y",x=>_.graphMode=="year"?c.value(x[1]/1e3):c.value(x[1])),ra()):(k.selectAll("*").remove(),r=k.selectAll(".sourcebar").data(u.value).enter().append("g").attr("fill",(x,L)=>a[C.value[L]]).selectAll("rect").data(x=>x).enter().append("rect").attr("x",(x,L)=>S(_.data[L].date)??0).attr("y",x=>_.graphMode=="year"?c.value(x[1]/1e3):c.value(x[1])).attr("width",S.bandwidth()).attr("height",x=>_.graphMode=="year"?c.value(x[0]/1e3)-c.value(x[1]/1e3):c.value(x[0])-c.value(x[1]))))}const I=m(()=>{const k=le("g#pgSourceGraph");if(_.graphMode!="month"&&_.graphMode!="year"&&_.data.length>0){Ie.value.range(He.value);const S=Ke().x((x,L)=>Ie.value(_.data[L].date)).y0(x=>c.value(x[0])).y1(x=>c.value(x[1]));k.selectAll("path").attr("d",x=>x?S(x):""),k.selectAll("g#sourceToolTips").select("rect").attr("x",x=>Ie.value(x.date)).attr("width",e.width/_.data.length)}return"zoomed"});return(k,S)=>(i(),g("g",{id:"pgSourceGraph",origin:p.value,origin2:I.value,transform:"translate("+k.margin.left+","+k.margin.top+")"},null,8,Sn))}}),$n=["origin","origin2","transform"],Mn=V({__name:"PGUsageGraph",props:{width:{},height:{},margin:{},stackOrder:{}},setup(t){const e=t,a=[["house","charging","devices","batIn"],["charging","devices","house","batIn"],["devices","charging","house","batIn"]],o={house:"var(--color-house)",charging:"var(--color-charging)",batIn:"var(--color-battery)",batOut:"var(--color-battery)",selfUsage:"var(--color-pv)",evuOut:"var(--color-export)",evuIn:"var(--color-evu)",cp0:"var(--color-cp0)",cp1:"var(--color-cp1)",cp2:"var(--color-cp2)",cp3:"var(--color-cp3)",sh1:"var(--color-sh1)",sh2:"var(--color-sh2)",sh3:"var(--color-sh3)",sh4:"var(--color-sh4)",devices:"var(--color-devices)"};var r,l;const h=v.showAnimations?v.animationDuration:0,p=v.showAnimations?v.animationDelay:0,d=m(()=>{const I=le("g#pgUsageGraph");_.graphMode=="month"||_.graphMode=="year"?O(I):D(I),I.selectAll(".axis").remove();const k=I.append("g").attr("class","axis");return k.call(E.value),k.selectAll(".tick").attr("font-size",12).attr("color","var(--color-axis)"),v.showGrid?k.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"):k.selectAll(".tick line").attr("stroke","var(--color-bg)"),k.select(".domain").attr("stroke","var(--color-bg)"),"pgUsageGraph.vue"}),u=m(()=>va().value((I,k)=>I[k]??0).keys(J.value)),c=m(()=>u.value(_.data)),C=m(()=>Ye().range([e.height+10,2*e.height]).domain(_.graphMode=="year"?[0,Math.ceil(P.value[1]*10)/10]:[0,Math.ceil(P.value[1])])),J=m(()=>{if(_.graphMode!="today"&&_.graphMode!="day")return a[e.stackOrder];{const I=a[e.stackOrder].slice(),k=I.indexOf("charging");I.splice(k,1);const S=/cp\d+/;let x=[];return _.data.length>0&&(x=Object.keys(_.data[0]).reduce((L,K)=>(K.match(S)&&L.push(K),L),[])),x.forEach((L,K)=>{I.splice(k+K,0,L),o[L]="var(--color-cp"+K+")"}),v.showInverters&&I.push("evuOut"),I}}),P=m(()=>{let I=Pe(_.data,k=>k.house+k.charging+k.batIn+k.devices+k.evuOut);return I[0]!=null&&I[1]!=null?(_.graphMode=="year"&&(I[0]=I[0]/1e3,I[1]=I[1]/1e3),I):[0,0]}),T=m(()=>_.graphMode=="month"||_.graphMode=="year"?-e.width-e.margin.right-22:-e.width),E=m(()=>ut(C.value).tickSizeInner(T.value).ticks(4).tickFormat(I=>(I==0?"":Math.round(I*10)/10).toLocaleString(void 0)));function D(I){const k=Ke().x((x,L)=>Ie.value(_.data[L].date)).y(C.value(0)),S=Ke().x((x,L)=>Ie.value(_.data[L].date)).y0(x=>C.value(x[0])).y1(x=>C.value(x[1]));v.showAnimations?dt?(I.selectAll("*").remove(),r=I.selectAll(".usageareas").data(c.value).enter().append("path").attr("d",x=>k(x)).attr("fill",(x,L)=>o[J.value[L]]),r.transition().duration(300).delay(100).ease(nt).attr("d",x=>S(x)),ia()):(I.selectAll("*").remove(),I.selectAll(".usageareas").data(c.value).enter().append("path").attr("d",x=>S(x)).attr("fill",(x,L)=>o[J.value[L]])):(I.selectAll("*").remove(),I.selectAll(".usageareas").data(c.value).enter().append("path").attr("d",x=>S(x)).attr("fill",(x,L)=>o[J.value[L]]))}function O(I){dt?(I.selectAll("*").remove(),l=I.selectAll(".usagebar").data(c.value).enter().append("g").attr("fill",(k,S)=>o[a[e.stackOrder][S]]).selectAll("rect").data(k=>k).enter().append("rect").attr("x",(k,S)=>Fe.value(_.data[S].date)??0).attr("y",()=>C.value(0)).attr("height",0).attr("width",Fe.value.bandwidth()),l.transition().duration(h).delay(p).ease(nt).attr("y",k=>_.graphMode=="year"?C.value(k[0]/1e3):C.value(k[0])).attr("height",k=>_.graphMode=="year"?C.value(k[1]/1e3)-C.value(k[0]/1e3):C.value(k[1])-C.value(k[0])),ia()):(I.selectAll("*").remove(),l=I.selectAll(".usagebar").data(c.value).enter().append("g").attr("fill",(k,S)=>o[a[e.stackOrder][S]]).selectAll("rect").data(k=>k).enter().append("rect").attr("x",(k,S)=>Fe.value(_.data[S].date)??0).attr("y",k=>_.graphMode=="year"?C.value(k[0]/1e3):C.value(k[0])).attr("height",k=>_.graphMode=="year"?C.value(k[1]/1e3)-C.value(k[0]/1e3):C.value(k[1])-C.value(k[0])).attr("width",Fe.value.bandwidth()))}const F=m(()=>{const I=le("g#pgUsageGraph");if(_.graphMode!="month"&&_.graphMode!="year"){Ie.value.range(He.value);const k=Ke().x((S,x)=>Ie.value(_.data[x].date)).y0(S=>C.value(S[0])).y1(S=>C.value(S[1]));I.selectAll("path").attr("d",S=>S?k(S):"")}return"zoomed"});return(I,k)=>(i(),g("g",{id:"pgUsageGraph",origin:d.value,origin2:F.value,transform:"translate("+I.margin.left+","+I.margin.top+")"},null,8,$n))}}),Cn=["transform"],In=["origin","origin2","transform"],Pn=["origin","transform"],Bn={key:0},Vn=["width","height"],Ln={key:1},An=["y","width","height"],Ct=12,On=V({__name:"PGXAxis",props:{width:{},height:{},margin:{}},setup(t){const e=t,a=m(()=>st(Ie.value).ticks(6).tickSizeInner(h.value).tickFormat(tt("%H:%M"))),o=m(()=>to(Ie.value).ticks(6).tickSizeInner(h.value+3).tickFormat(tt(""))),r=m(()=>st(Fe.value).ticks(4).tickSizeInner(h.value).tickFormat(c=>c.toString())),l=m(()=>st(Fe.value).ticks(4).tickSizeInner(h.value).tickFormat(()=>"")),h=m(()=>_.graphMode!=="month"&&_.graphMode!=="year"?v.showGrid?-(e.height/2-7):-10:0),p=m(()=>{let c=le("g#PGXAxis");return c.selectAll("*").remove(),_.graphMode=="month"||_.graphMode=="year"?c.call(r.value):c.call(a.value),c.selectAll(".tick > text").attr("fill",(C,J)=>J>=0||_.graphMode=="month"||_.graphMode=="year"?"var(--color-axis)":"var(--color-bg)").attr("font-size",Ct),v.showGrid?c.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"):c.selectAll(".tick line").attr("stroke","var(--color-bg)"),c.select(".domain").attr("stroke","var(--color-bg)"),c.append("text").attr("x",-e.margin.left).attr("y",12).attr("fill","var(--color-axis)").attr("font-size",Ct).text(_.graphMode=="year"?"MW":"kW").attr("text-anchor","start"),"PGXAxis.vue"}),d=m(()=>{let c=le("g#PGXAxis2");return c.selectAll("*").remove(),_.graphMode=="month"||_.graphMode=="year"?c.call(l.value):c.call(o.value),c.selectAll(".tick > text").attr("fill",(C,J)=>J>=0||_.graphMode=="month"||_.graphMode=="year"?"var(--color-axis)":"var(--color-bg)").attr("font-size",Ct),v.showGrid?(c.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"),c.select(".domain").attr("stroke","var(--color-bg)")):c.selectAll(".tick line").attr("stroke","var(--color-bg)"),c.select(".domain").attr("stroke","var(--color-bg)"),"PGXAxis2.vue"}),u=m(()=>{if(_.graphMode!="month"&&_.graphMode!="year"){const c=le("g#PGXAxis"),C=le("g#PGXAxis2");_.graphMode=="month"||_.graphMode=="year"?(Fe.value.range(He.value),c.call(r.value),C.call(l.value)):(Ie.value.range(He.value),c.call(a.value),C.call(o.value))}return"zoomed"});return(c,C)=>(i(),g("g",{transform:"translate("+c.margin.left+","+c.margin.top+")"},[n("g",{id:"PGXAxis",class:"axis",origin:p.value,origin2:u.value,transform:"translate(0,"+(c.height/2-6)+")"},null,8,In),n("g",{id:"PGXAxis2",class:"axis",origin:d.value,transform:"translate(0,"+(c.height/2+10)+")"},null,8,Pn),s(v).showGrid?(i(),g("g",Bn,[n("rect",{x:"0",y:"0",width:c.width,height:c.height/2-10,fill:"none",stroke:"var(--color-grid)","stroke-width":"0.5"},null,8,Vn)])):y("",!0),s(v).showGrid?(i(),g("g",Ln,[n("rect",{x:"0",y:c.height/2+10,width:c.width,height:c.height/2-10,fill:"none",stroke:"var(--color-grid)","stroke-width":"0.5"},null,8,An)])):y("",!0)],8,Cn))}}),Tn=["id",".origin","d"],Dn=["id","d","stroke"],Wn=["x","y","text-anchor"],It=V({__name:"PgSoc",props:{width:{},height:{},margin:{},order:{}},setup(t){const e=t,a=m(()=>{let P=Pe(_.data,T=>T.date);return P[0]&&P[1]?qe().domain(P).range([0,e.width]):qe().range([0,0])}),o=m(()=>Ye().range([e.height-10,0]).domain([0,100])),r=m(()=>{let T=vt().x(E=>a.value(E.date)).y(E=>o.value(e.order==2?E.batSoc:E["soc"+u.value.connectedVehicle])??o.value(0))(_.data);return T||""}),l=m(()=>e.order==2?"Speicher":u.value.connectedVehicle),h=m(()=>e.order==2?"Speicher":u.value.vehicleName),p=m(()=>{switch(e.order){case 0:return"var(--color-cp1)";case 1:return"var(--color-cp2)";case 2:return"var(--color-battery)";default:return"red"}}),d=m(()=>{switch(e.order){case 0:return e.width-3;case 1:return 3;case 2:return e.width/2;default:return 0}}),u=m(()=>{const P=e.order==2?0:e.order;return Object.values(B)[P]}),c=m(()=>{if(_.data.length>0){let P;switch(e.order){case 0:return P=_.data.length-1,o.value(_.data[P]["soc"+l.value]+2);case 1:return P=0,o.value(_.data[P]["soc"+l.value]+2);case 2:return P=Math.round(_.data.length/2),o.value(_.data[P].batSoc+2);default:return 0}}else return 0}),C=m(()=>{switch(e.order){case 0:return"end";case 1:return"start";case 2:return"middle";default:return"middle"}}),J=m(()=>{if(_.graphMode!="month"&&_.graphMode!="year"){const P=le("path#soc-"+l.value),T=le("path#socdashes-"+l.value);a.value.range(He.value);const E=vt().x(D=>a.value(D.date)).y(D=>o.value(e.order==2?D.batSoc:D["soc"+u.value.connectedVehicle])??o.value(0));P.attr("d",E(_.data)),T.attr("d",E(_.data))}return"zoomed"});return(P,T)=>(i(),g(z,null,[n("path",{id:"soc-"+l.value,".origin":J.value,class:"soc-baseline",d:r.value,stroke:"var(--color-bg)","stroke-width":"1",fill:"none"},null,40,Tn),n("path",{id:"socdashes-"+l.value,class:"soc-dashes",d:r.value,stroke:p.value,"stroke-width":"1",style:{strokeDasharray:"3,3"},fill:"none"},null,8,Dn),n("text",{class:"cpname",x:d.value,y:c.value,style:Q({fill:p.value,fontSize:10}),"text-anchor":C.value},$(h.value),13,Wn)],64))}}),Gn=["transform"],zn=V({__name:"PgSocAxis",props:{width:{},height:{},margin:{}},setup(t){const e=t,a=m(()=>Ye().range([e.height-10,0]).domain([0,100])),o=m(()=>ao(a.value).ticks(5).tickFormat(l=>l.toString()+"%"));function r(){let l=le("g#PGSocAxis");l.call(o.value),l.selectAll(".tick").attr("font-size",12),l.selectAll(".tick line").attr("stroke","var(--color-bg)"),l.select(".domain").attr("stroke","var(--color-bg)")}return Be(()=>{r()}),(l,h)=>(i(),g("g",{id:"PGSocAxis",class:"axis",transform:"translate("+(l.width-20)+",0)"},null,8,Gn))}}),En=t=>(ae("data-v-7b8949f3"),t=t(),oe(),t),jn={class:"d-flex align-self-top justify-content-center align-items-center"},Un={class:"input-group input-group-xs"},Fn={key:0,class:"btn dropdown-toggle",type:"button","data-bs-toggle":"dropdown"},Nn={class:"dropdown-menu"},Hn={class:"table optiontable"},Rn=["onClick"],Jn={key:1,class:"btn dropdown-toggle",type:"button","data-bs-toggle":"dropdown"},qn={class:"dropdown-menu"},Yn={class:"table optiontable"},Qn=["onClick"],Zn={key:2,class:"btn dropdown-toggle",type:"button","data-bs-toggle":"dropdown"},Xn={class:"dropdown-menu"},Kn={class:"table optiontable"},es=["onClick"],ts=En(()=>n("span",{class:"fa-solid fa-circle-check"},null,-1)),as=[ts],os=V({__name:"DateInput",props:{modelValue:{type:Date,required:!0},mode:{type:String,default:"day"}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=new Date().getFullYear();let r=Array.from({length:10},(P,T)=>o-T);const l=Z(!0),h=e,p=[[0,1,2,3],[4,5,6,7],[8,9,10,11]],d=Z(a.modelValue.getDate()),u=Z(a.modelValue.getMonth()),c=Z(a.modelValue.getFullYear()),C=m(()=>{const T=new Date(c.value,u.value,1).getDay();let E=0;switch(u.value){case 1:case 3:case 5:case 7:case 8:case 10:case 12:E=31;break;case 4:case 6:case 9:case 11:E=30;break;case 2:Math.trunc(c.value/4)*4==c.value&&(E=29)}let D=[],O=[0,0,0,0,0,0,0],F=T;for(let I=0;I(i(),g("span",jn,[n("div",Un,[a.mode=="day"||a.mode=="today"?(i(),g("button",Fn,$(d.value),1)):y("",!0),n("div",Nn,[n("table",Hn,[(i(!0),g(z,null,X(C.value,(E,D)=>(i(),g("tr",{key:D,class:""},[(i(!0),g(z,null,X(E,(O,F)=>(i(),g("td",{key:F},[O!=0?(i(),g("span",{key:0,type:"button",class:"btn optionbutton",onClick:I=>d.value=O},$(O),9,Rn)):y("",!0)]))),128))]))),128))])]),a.mode!="year"&&a.mode!="live"?(i(),g("button",Jn,$(u.value+1),1)):y("",!0),n("div",qn,[n("table",Yn,[(i(),g(z,null,X(p,(E,D)=>n("tr",{key:D,class:""},[(i(!0),g(z,null,X(E,(O,F)=>(i(),g("td",{key:F,class:"p-0 m-0"},[n("span",{type:"button",class:"btn btn-sm optionbutton",onClick:I=>u.value=O},$(O+1),9,Qn)]))),128))])),64))])]),a.mode!="live"?(i(),g("button",Zn,$(c.value),1)):y("",!0),n("div",Xn,[n("table",Kn,[(i(!0),g(z,null,X(s(r),(E,D)=>(i(),g("tr",{key:D,class:""},[n("td",null,[n("span",{type:"button",class:"btn optionbutton",onClick:O=>c.value=E},$(E),9,es)])]))),128))])]),a.mode!="live"?(i(),g("button",{key:3,class:"button-outline-secondary",type:"button",onClick:J},as)):y("",!0)])]))}}),U=(t,e)=>{const a=t.__vccOpts||t;for(const[o,r]of e)a[o]=r;return a},ns=U(os,[["__scopeId","data-v-7b8949f3"]]),ss={class:"btn-group m-0",role:"group","aria-label":"radiobar"},rs=["id","value"],is=V({__name:"RadioBarInput",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=e,r=m({get(){return a.modelValue},set(p){o("update:modelValue",p)}});function l(p){let d=a.options[p].color?a.options[p].color:"var(--color-fg)";return a.options[p].active?{color:"var(--color-bg)",background:d}:{color:d}}function h(p){let d=p.target;for(;d&&!d.value&&d.parentElement;)d=d.parentElement;d.value&&(r.value=d.value)}return(p,d)=>(i(),g("div",null,[n("div",ss,[(i(!0),g(z,null,X(p.options,(u,c)=>(i(),g("button",{id:"radio-"+u.value,key:c,class:j(["btn btn-outline-secondary btn-sm radiobutton mx-0 mb-0 px-2",u.value==r.value?"active":""]),value:u.value,style:Q(l(c)),onClick:h},[n("span",{style:Q(l(c))},[u.icon?(i(),g("i",{key:0,class:j(["fa-solid",u.icon])},null,2)):y("",!0),H(" "+$(u.text),1)],4)],14,rs))),128))])]))}}),Ca=U(is,[["__scopeId","data-v-82ab6829"]]),xt=t=>(ae("data-v-58aa87a0"),t=t(),oe(),t),ls=xt(()=>n("i",{class:"fa-solid fa-xl fa-chevron-circle-up"},null,-1)),cs=[ls],ds=xt(()=>n("span",{class:"fa-solid fa-xl fa-chevron-circle-left arrowButton"},null,-1)),us=[ds],hs=xt(()=>n("span",{class:"fa-solid fa-xl fa-gear"},null,-1)),ps=[hs],gs=xt(()=>n("span",{class:"fa-solid fa-xl fa-circle-check"},null,-1)),ms=[gs],vs=V({__name:"PgSelector",props:{widgetid:{},showLeftButton:{type:Boolean},showRightButton:{type:Boolean},ignoreLive:{type:Boolean}},emits:["shiftLeft","shiftRight","shiftUp","shiftDown"],setup(t){const e=t,a=Z(0),o=m(()=>{if(_.waitForData)return"Lädt...";switch(_.graphMode){case"live":return e.ignoreLive?"heute":`${ue.duration} min`;case"today":return"heute";case"day":return ie.date.getDate()+"."+(ie.date.getMonth()+1)+".";case"month":return Fo(Le.month-1,Le.year);case"year":return Ue.year.toString();default:return"???"}}),r=["live","today","day","month","year"],l=["Live","Heute","Tag","Monat","Jahr"],h=m({get(){return _.graphMode},set(F){switch(F){case"day":C();break;case"today":J();break;case"live":c();break;case"month":P();break;case"year":T()}}}),p=m(()=>{switch(_.graphMode){case"live":case"today":return ie.getDate();case"month":return Le.getDate();default:return ie.getDate()}});function d(F){la(F)}function u(){a.value+=1,a.value>2&&(a.value=0)}function c(){_.graphMode!="live"&&(_.graphMode="live",ge())}function C(){_.graphMode!="day"&&_.graphMode!="today"&&(_.graphMode="day",ge())}function J(){_.graphMode!="today"&&(_.graphMode="today",la(new Date),ge())}function P(){_.graphMode!="month"&&(_.graphMode="month",ge())}function T(){_.graphMode!="year"&&(_.graphMode="year",ge())}const E=m(()=>a.value>0?{border:"1px solid var(--color-frame)"}:""),D=m(()=>a.value==1?"justify-content-between":"justify-content-end"),O=m(()=>a.value==1?"justify-content-between":"justify-content-center");return(F,I)=>(i(),g("div",{class:"d-flex flex-column justify-content-center pgselector rounded",style:Q(E.value)},[a.value==2?(i(),M(Ca,{key:0,id:"pgm2",modelValue:h.value,"onUpdate:modelValue":I[0]||(I[0]=k=>h.value=k),class:"m-2",options:r.map((k,S)=>({text:l[S],value:k,color:"var(--color-menu)",active:k==s(_).graphMode}))},null,8,["modelValue","options"])):y("",!0),a.value==1?(i(),g("span",{key:1,type:"button",class:j(["arrowButton d-flex align-self-center mb-3 mt-3",{disabled:!e.showLeftButton}]),onClick:I[1]||(I[1]=k=>F.$emit("shiftUp"))},cs,2)):y("",!0),n("div",{class:j(["d-flex align-items-center",O.value])},[a.value==1?(i(),g("span",{key:0,type:"button",class:j(["p-1",{disabled:!e.showLeftButton}]),onClick:I[2]||(I[2]=k=>F.$emit("shiftLeft"))},us,2)):y("",!0),a.value<2?(i(),g("span",{key:1,type:"button",class:"btn-outline-secondary p-2 px-3 badge rounded-pill datebadge",onClick:u},$(o.value),1)):y("",!0),a.value==2?(i(),M(ns,{key:2,"model-value":p.value,mode:s(_).graphMode,"onUpdate:modelValue":d},null,8,["model-value","mode"])):y("",!0),a.value==1?(i(),g("span",{key:3,id:"graphRightButton",type:"button",class:j(["arrowButton fa-solid fa-xl fa-chevron-circle-right p-1",{disabled:!e.showRightButton}]),onClick:I[3]||(I[3]=k=>F.$emit("shiftRight"))},null,2)):y("",!0)],2),n("div",{class:j(["d-flex align-items-center",D.value])},[a.value==1?(i(),g("span",{key:0,type:"button",class:"p-1",onClick:u},ps)):y("",!0),a.value==1?(i(),g("span",{key:1,id:"graphLeftButton",type:"button",class:j(["arrowButton fa-solid fa-xl fa-chevron-circle-down p-1",{disabled:!e.showLeftButton}]),onClick:I[4]||(I[4]=k=>F.$emit("shiftDown"))},null,2)):y("",!0),a.value>0?(i(),g("span",{key:2,type:"button",class:"p-1",onClick:I[5]||(I[5]=k=>a.value=0)},ms)):y("",!0)],2)],4))}}),Ia=U(vs,[["__scopeId","data-v-58aa87a0"]]),fs=["x","fill"],_s=["x"],Me=V({__name:"PgToolTipLine",props:{cat:{},name:{},indent:{},power:{},width:{}},setup(t){const e=t;return(a,o)=>(i(),g(z,null,[a.power>0?(i(),g("tspan",{key:0,x:a.indent,dy:"1.3em",class:j(a.name?"":"fas"),fill:s(de)[a.cat].color},$(a.name?a.name:s(de)[a.cat].icon)+"   ",11,fs)):y("",!0),n("tspan",{"text-anchor":"end",x:a.width-a.indent},[e.power>0?(i(),M(ht,{key:0,watt:a.power*1e3},null,8,["watt"])):y("",!0)],8,_s)],64))}}),bs=["transform"],ys=["width","height"],ws={"text-anchor":"start",x:"5",y:"20","font-size":"16",fill:"var(--color-fg)"},ks=["x"],Ss=n("line",{y:"120",x1:"5",x2:"100",stroke:"var(--color-fg)","stroke-width":"1"},null,-1),xs=V({__name:"PgToolTipItem",props:{entry:{},boxwidth:{},xScale:{type:[Function,Object]}},setup(t){const e=t,a=m(()=>Object.values(e.entry).filter(d=>d>0).length),o=m(()=>a.value*16),r=m(()=>Object.entries(e.entry).filter(([d,u])=>d.startsWith("pv")&&d.length>2&&u>0).map(([d,u])=>({power:u,name:Ge.value.get(d)?p(Ge.value.get(d)):"Wechselr.",id:d}))),l=m(()=>Object.entries(e.entry).filter(([d,u])=>d.startsWith("cp")&&d.length>2&&u>0).map(([d,u])=>({power:u,name:Ge.value.get(d)?p(Ge.value.get(d)):"Ladep.",id:d}))),h=m(()=>Object.entries(e.entry).filter(([d,u])=>d.startsWith("sh")&&d.length>2&&u>0).map(([d,u])=>({power:u,name:Ge.value.get(d)?p(Ge.value.get(d)):"Gerät",id:d})));function p(d){return d.length>6?d.slice(0,6)+"...":d}return(d,u)=>(i(),g("g",{class:"ttmessage",transform:"translate("+d.xScale(d.entry.date)+",0)"},[n("rect",{rx:"5",width:d.boxwidth,height:o.value,fill:"var(--color-bg)",opacity:"80%",stroke:"var(--color-menu)"},null,8,ys),n("text",ws,[n("tspan",{"text-anchor":"middle",x:d.boxwidth/2,dy:"0em"},$(s(tt)("%H:%M")(new Date(d.entry.date))),9,ks),Ss,b(Me,{cat:"evuIn",indent:5,power:d.entry.evuIn,width:d.boxwidth},null,8,["power","width"]),b(Me,{cat:"batOut",indent:5,power:d.entry.batOut,width:d.boxwidth},null,8,["power","width"]),b(Me,{cat:"pv",indent:5,power:d.entry.pv,width:d.boxwidth},null,8,["power","width"]),(i(!0),g(z,null,X(r.value,c=>(i(),M(Me,{key:c.id,cat:"pv",name:c.name,power:c.power,indent:10,width:d.boxwidth},null,8,["name","power","width"]))),128)),b(Me,{cat:"house",indent:5,power:d.entry.house,width:d.boxwidth},null,8,["power","width"]),b(Me,{cat:"charging",indent:5,power:d.entry.charging,width:d.boxwidth},null,8,["power","width"]),(i(!0),g(z,null,X(l.value,c=>(i(),M(Me,{key:c.id,cat:"charging",name:c.name,power:c.power,indent:10,width:d.boxwidth},null,8,["name","power","width"]))),128)),b(Me,{cat:"devices",indent:5,power:d.entry.devices,width:d.boxwidth},null,8,["power","width"]),(i(!0),g(z,null,X(h.value,c=>(i(),M(Me,{key:c.id,cat:"devices",name:c.name,power:c.power,indent:10,width:d.boxwidth},null,8,["name","power","width"]))),128)),b(Me,{cat:"batIn",indent:5,power:d.entry.batIn,width:d.boxwidth},null,8,["power","width"]),b(Me,{cat:"evuOut",indent:5,power:d.entry.evuOut,width:d.boxwidth},null,8,["power","width"])])],8,bs))}}),$s=["origin","transform"],Ms=["x","height","width"],ca=140,Cs=V({__name:"PgToolTips",props:{width:{},height:{},margin:{},data:{}},setup(t){const e=t,a=m(()=>{const l=Pe(e.data,h=>new Date(h.date));return l[0]&&l[1]?Et().domain(l).range([0,e.width-e.margin.right]):qe().range([0,0])}),o=m(()=>{const l=Pe(e.data,h=>new Date(h.date));return l[0]&&l[1]?Et().domain(l).range([0,e.width-e.margin.right-ca]):qe().range([0,0])}),r=m(()=>((_.graphMode=="day"||_.graphMode=="today")&&(a.value.range(He.value),le("g#pgToolTips").selectAll("g.ttarea").select("rect").attr("x",(l,h)=>e.data.length>h?a.value(e.data[h].date):0).attr("width",e.data.length>0?(He.value[1]-He.value[0])/e.data.length:0)),"PgToolTips.vue:autozoom"));return(l,h)=>(i(),g("g",{id:"pgToolTips",origin:r.value,transform:"translate("+l.margin.left+","+l.margin.top+")"},[(i(!0),g(z,null,X(l.data,p=>(i(),g("g",{key:p.date,class:"ttarea"},[n("rect",{x:a.value(p.date),y:"0",height:l.height,class:"ttrect",width:s(_).data.length>0?l.width/s(_).data.length:0,opacity:"1%",fill:"var(--color-charging)"},null,8,Ms),b(xs,{entry:p,boxwidth:ca,"x-scale":o.value},null,8,["entry","x-scale"])]))),128))],8,$s))}}),Pa=t=>(ae("data-v-f601f500"),t=t(),oe(),t),Is={class:"d-flex justify-content-end"},Ps=Pa(()=>n("span",{class:"fa-solid fa-lg ps-1 fa-magnifying-glass"},null,-1)),Bs=[Ps],Vs={id:"powergraph",class:"p-0 m-0"},Ls=["viewBox"],As=["transform"],Os=["x","y"],Ts=Pa(()=>n("tspan",{fill:"var(--color-menu)",class:"fas fa-lg"},$(""),-1)),Ds=[Ts],Ws=2,Gs="Leistung / Ladestand ",zs=V({__name:"PowerGraph",setup(t){function e(){let h=v.usageStackOrder+1;h>Ws&&(h=0),v.usageStackOrder=h,fn(!0)}function a(h){const p=[[0,W.top],[_e,$e-W.top]];h.call(no().scaleExtent([1,8]).translateExtent([[0,0],[_e,$e]]).extent(p).filter(r).on("zoom",o))}function o(h){Sa.value=h.transform}function r(h){return h.preventDefault(),(!h.ctrlKey||h.type==="wheel")&&!h.button}function l(){v.zoomGraph=!v.zoomGraph}return Be(()=>{const h=le("svg#powergraph");a(h)}),(h,p)=>(i(),M(St,{"full-width":!0},{title:w(()=>[H($(Gs))]),buttons:w(()=>[n("div",Is,[b(Ia,{widgetid:"graphsettings","show-left-button":!0,"show-right-button":!0,"ignore-live":!1,onShiftLeft:s(Kt),onShiftRight:s(xa),onShiftUp:s($a),onShiftDown:s(Ma)},null,8,["onShiftLeft","onShiftRight","onShiftUp","onShiftDown"]),s(Ne)?(i(),g("span",{key:0,type:"button",class:"ms-1 p-0 pt-1",onClick:l},Bs)):y("",!0)])]),default:w(()=>[at(n("figure",Vs,[(i(),g("svg",{id:"powergraph",viewBox:"0 0 "+s(_e)+" "+s($e)},[b(xn,{width:s(_e)-s(W).left-2*s(W).right,height:(s($e)-s(W).top-s(W).bottom)/2,margin:s(W)},null,8,["width","height","margin"]),b(Mn,{width:s(_e)-s(W).left-2*s(W).right,height:(s($e)-s(W).top-s(W).bottom)/2,margin:s(W),"stack-order":s(v).usageStackOrder},null,8,["width","height","margin","stack-order"]),b(On,{width:s(_e)-s(W).left-2*s(W).right,height:s($e)-s(W).top-s(W).bottom,margin:s(W),"graph-data":s(_)},null,8,["width","height","margin","graph-data"]),n("g",{transform:"translate("+s(W).left+","+s(W).top+")"},[(s(_).graphMode=="day"||s(_).graphMode=="today"||s(_).graphMode=="live")&&Object.values(s(B)).length>0?(i(),M(It,{key:0,width:s(_e)-s(W).left-2*s(W).right,height:(s($e)-s(W).top-s(W).bottom)/2,margin:s(W),order:0},null,8,["width","height","margin"])):y("",!0),(s(_).graphMode=="day"||s(_).graphMode=="today"||s(_).graphMode=="live")&&Object.values(s(B)).length>1?(i(),M(It,{key:1,width:s(_e)-s(W).left-2*s(W).right,height:(s($e)-s(W).top-s(W).bottom)/2,margin:s(W),order:1},null,8,["width","height","margin"])):y("",!0),(s(_).graphMode=="day"||s(_).graphMode=="today")&&s(me).isBatteryConfigured?(i(),M(It,{key:2,width:s(_e)-s(W).left-2*s(W).right,height:(s($e)-s(W).top-s(W).bottom)/2,margin:s(W),order:2},null,8,["width","height","margin"])):y("",!0),s(_).graphMode=="day"||s(_).graphMode=="today"?(i(),M(zn,{key:3,width:s(_e)-s(W).left-s(W).right,height:(s($e)-s(W).top-s(W).bottom)/2,margin:s(W)},null,8,["width","height","margin"])):y("",!0)],8,As),s(_).graphMode=="day"||s(_).graphMode=="today"?(i(),M(Cs,{key:0,width:s(_e)-s(W).left-s(W).right,height:s($e)-s(W).top-s(W).bottom,margin:s(W),data:s(_).data},null,8,["width","height","margin","data"])):y("",!0),n("g",{id:"button",onClick:e},[n("text",{x:s(_e)-10,y:s($e)-10,color:"var(--color-menu)","text-anchor":"end"},Ds,8,Os)])],8,Ls))],512),[[oo,s(_).data.length>0]])]),_:1}))}}),Es=U(zs,[["__scopeId","data-v-f601f500"]]),js=["id"],Us=["x","width","height","fill"],Fs=["x","width","height"],Ns=["x","y","width","height"],Hs=V({__name:"EmBar",props:{item:{},xScale:{},yScale:{},margin:{},height:{},barcount:{},autarchy:{},autText:{}},setup(t){const e=t,a=m(()=>e.height-e.yScale(e.item.energy)-e.margin.top-e.margin.bottom),o=m(()=>e.item.energyPv>0?e.height-e.yScale(e.item.energyPv)-e.margin.top-e.margin.bottom:0),r=m(()=>e.item.energyPv>0?e.height-e.yScale(e.item.energyBat)-e.margin.top-e.margin.bottom:0);return(l,h)=>(i(),g("g",{id:"bar-"+e.item.name,transform:"scale(1,-1) translate (0,-445)"},[n("rect",{class:"bar",x:e.xScale(l.item.name),y:"0",width:e.xScale.bandwidth(),height:a.value,fill:l.item.color},null,8,Us),n("rect",{class:"bar",x:e.xScale(l.item.name)+e.xScale.bandwidth()/6,y:"0",width:e.xScale.bandwidth()*2/3,height:o.value,fill:"var(--color-pv)","fill-opacity":"66%"},null,8,Fs),n("rect",{class:"bar",x:e.xScale(l.item.name)+e.xScale.bandwidth()/6,y:o.value,width:e.xScale.bandwidth()*2/3,height:r.value,fill:"var(--color-battery)","fill-opacity":"66%"},null,8,Ns)],8,js))}}),Rs={id:"emBargraph"},Js=n("animateTransform",{"attribute-name":"transform",type:"scale",from:"1 0",to:"1 1",begin:"0s",dur:"2s"},null,-1),qs=V({__name:"EMBarGraph",props:{plotdata:{},xScale:{},yScale:{},margin:{},height:{}},setup(t){const e=t;function a(r){if(r.name=="PV"){const l=_.graphMode=="live"||_.graphMode=="day"?R:A.items,p=(_.graphMode=="live"||_.graphMode=="day"?G:A.items).evuOut.energy,d=l.pv.energy;return Math.round((d-p)/d*100)}else if(r.name=="Netz"){const l=_.graphMode=="live"||_.graphMode=="day"?R:A.items,h=_.graphMode=="live"||_.graphMode=="day"?G:A.items,p=h.evuOut.energy,d=l.evuIn.energy,u=l.pv.energy,c=l.batOut.energy,C=h.batIn.energy;return Math.round((u+c-p-C)/(u+c+d-p-C)*100)}else return r.pvPercentage}function o(r){return r.name=="PV"?"Eigen":"Aut"}return(r,l)=>(i(),g("g",Rs,[(i(!0),g(z,null,X(e.plotdata,(h,p)=>(i(),g("g",{key:p},[b(Hs,{item:h,"x-scale":e.xScale,"y-scale":e.yScale,margin:e.margin,height:e.height,barcount:e.plotdata.length,"aut-text":o(h),autarchy:a(h)},null,8,["item","x-scale","y-scale","margin","height","barcount","aut-text","autarchy"])]))),128)),Js]))}}),Ys=["origin"],Qs=V({__name:"EMYAxis",props:{yScale:{type:[Function,Object]},width:{},fontsize:{}},setup(t){const e=t,a=m(()=>ut(e.yScale).tickFormat(l=>r(l)).ticks(6).tickSizeInner(-e.width)),o=m(()=>{const l=le("g#emYAxis");return l.attr("class","axis").call(a.value),l.append("text").attr("y",6).attr("dy","0.71em").attr("text-anchor","end").text("energy"),l.selectAll(".tick").attr("font-size",e.fontsize),v.showGrid?l.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"):l.selectAll(".tick line").attr("stroke","var(--color-bg)"),l.select(".domain").attr("stroke","var(--color-bg)"),"emYAxis.vue"});function r(l){return l>0?_.graphMode=="year"?(l/1e6).toString():(l/1e3).toString():""}return(l,h)=>(i(),g("g",{id:"emYAxis",class:"axis",origin:o.value},null,8,Ys))}}),Zs=["id"],Xs=["x","y","font-size"],Ks=["x","y","font-size","fill"],er=["x","y","font-size","fill"],tr=V({__name:"EmLabel",props:{item:{},xScale:{},yScale:{},margin:{},height:{},barcount:{},autarchy:{},autText:{}},setup(t){const e=t,a=m(()=>e.autarchy?e.yScale(e.item.energy)-25:e.yScale(e.item.energy)-10),o=m(()=>{let d=16,u=e.barcount;return u<=5?d=16:u==6?d=14:u>6&&u<=8?d=13:u==9?d=11:u==10?d=10:d=9,d}),r=m(()=>{let d=12,u=e.barcount;return u<=5?d=12:u==6?d=11:u>6&&u<=8||u==9?d=8:u==10?d=7:d=6,d});function l(d,u){return u.length>r.value?u.substring(0,r.value)+".":u}function h(){return e.autarchy?e.autText+": "+e.autarchy.toLocaleString(void 0)+" %":""}function p(){return"var(--color-pv)"}return(d,u)=>(i(),g("g",{id:"barlabel-"+e.item.name},[n("text",{x:e.xScale(d.item.name)+e.xScale.bandwidth()/2,y:a.value,"font-size":o.value,"text-anchor":"middle",fill:"var(--color-menu)"},$(s(ct)(d.item.energy,s(v).decimalPlaces,!1)),9,Xs),n("text",{x:e.xScale(d.item.name)+e.xScale.bandwidth()/2,y:e.yScale(d.item.energy)-10,"font-size":o.value-2,"text-anchor":"middle",fill:p()},$(h()),9,Ks),n("text",{x:e.xScale(d.item.name)+e.xScale.bandwidth()/2,y:e.height-e.margin.bottom-5,"font-size":o.value,"text-anchor":"middle",fill:d.item.color,class:j(d.item.icon.length<=2?"fas":"")},$(l(d.item.name,d.item.icon)),11,er)],8,Zs))}}),ar={id:"emBarLabels"},or=V({__name:"EMLabels",props:{plotdata:{},xScale:{},yScale:{},height:{},margin:{}},setup(t){const e=t;function a(r){if(r.name=="PV"){const l=_.graphMode=="live"||_.graphMode=="today"?R:A.items,p=(_.graphMode=="live"||_.graphMode=="today"?G:A.items).evuOut.energy,d=l.pv.energy;return Math.round((d-p)/d*100)}else if(r.name=="Netz"){const l=_.graphMode=="live"||_.graphMode=="today"?R:A.items,h=_.graphMode=="live"||_.graphMode=="today"?G:A.items,p=h.evuOut.energy,d=l.evuIn.energy,u=l.pv.energy,c=l.batOut.energy,C=h.batIn.energy;return u+c-p-C>0?Math.round((u+c-p-C)/(u+c+d-p-C)*100):0}else return r.pvPercentage}function o(r){return r.name=="PV"?"Eigen":"Aut"}return(r,l)=>(i(),g("g",ar,[(i(!0),g(z,null,X(e.plotdata,(h,p)=>(i(),g("g",{key:p},[b(tr,{item:h,"x-scale":e.xScale,"y-scale":e.yScale,margin:e.margin,height:e.height,barcount:e.plotdata.length,"aut-text":o(h),autarchy:a(h)},null,8,["item","x-scale","y-scale","margin","height","barcount","aut-text","autarchy"])]))),128))]))}}),nr={id:"energymeter",class:"p-0 m-0"},sr={viewBox:"0 0 500 500"},rr=["transform"],ir=["x"],lr={key:0},da=500,Pt=500,ua=12,cr="Energie",dr=V({__name:"EnergyMeter",setup(t){const e={top:25,bottom:30,left:25,right:0},a=m(()=>{let p=Object.values(R),d=l.value;const u=A.items;let c=[];switch(v.debug&&h(),_t.value==!0&&(_t.value=!1),_.graphMode){default:case"live":case"today":c=p.concat(d);break;case"day":case"month":case"year":Object.values(u).length==0?lt.value=!0:(lt.value=!1,c=[u.evuIn,u.pv,u.evuOut,u.batOut,u.charging],Object.values(B).length>1&&Object.keys(B).forEach(C=>{u["cp"+C]&&c.push(u["cp"+C])}),c.push(u.devices),ne.forEach((C,J)=>{C.showInGraph&&u["sh"+J]&&c.push(u["sh"+J])}),c=c.concat([u.batIn,u.house]))}return c.filter(C=>C.energy&&C.energy>0)}),o=m(()=>jt().range([0,da-e.left-e.right]).domain(a.value.map(p=>p.name)).padding(.4)),r=m(()=>Ye().range([Pt-e.bottom-e.top,15]).domain([0,so(a.value,p=>p.energy)])),l=m(()=>{const p=Object.values(B).length,d=[...ne.values()].filter(c=>c.configured).length;let u=G;return[...[u.evuOut,u.charging].concat(p>1?Object.values(B).map(c=>c.toPowerItem()):[]),...[u.devices].concat(d>1?[...ne.values()].filter(c=>c.configured&&c.showInGraph):[]).concat([G.batIn,G.house])]});function h(){console.debug(["source summary:",R]),console.debug(["usage details:",l.value]),console.debug(["historic summary:",A])}return(p,d)=>(i(),M(St,{"full-width":!0},{title:w(()=>[H($(cr))]),buttons:w(()=>[b(Ia,{widgetid:"graphsettings","show-left-button":!0,"show-right-button":!0,"ignore-live":!0,onShiftLeft:s(Kt),onShiftRight:s(xa),onShiftUp:s($a),onShiftDown:s(Ma)},null,8,["onShiftLeft","onShiftRight","onShiftUp","onShiftDown"])]),default:w(()=>[n("figure",nr,[(i(),g("svg",sr,[n("g",{transform:"translate("+e.left+","+e.top+")"},[b(qs,{plotdata:a.value,"x-scale":o.value,"y-scale":r.value,height:Pt,margin:e},null,8,["plotdata","x-scale","y-scale"]),b(Qs,{"y-scale":r.value,width:da,fontsize:ua,config:s(v)},null,8,["y-scale","config"]),n("text",{x:-e.left,y:"-15",fill:"var(--color-axis)","font-size":ua},$(s(_).graphMode=="year"?"MWh":"kWh"),9,ir),b(or,{plotdata:a.value,"x-scale":o.value,"y-scale":r.value,height:Pt,margin:e,config:s(v)},null,8,["plotdata","x-scale","y-scale","config"])],8,rr)]))]),s(lt)?(i(),g("p",lr,"No data")):y("",!0)]),_:1}))}}),ur={class:"d-flex flex-column align-items-center justify-content-start infoitem"},hr=V({__name:"InfoItem",props:{heading:{},small:{type:Boolean}},setup(t){const e=t,a=m(()=>e.small?{"font-size":"var(--font-small)"}:{"font-size":"var(--font-small)"}),o=m(()=>e.small?{"font-size":"var(--font-small)"}:{"font-size":"var(--font-normal)"}),r=m(()=>e.small?"mt-0":"mt-1");return(l,h)=>(i(),g("span",ur,[n("span",{class:j(["d-flex heading",r.value]),style:Q(a.value)},$(e.heading),7),n("span",{class:"d-flex my-0 me-0 align-items-center content",style:Q(o.value)},[he(l.$slots,"default",{},void 0,!0)],4)]))}}),Y=U(hr,[["__scopeId","data-v-f6af00e8"]]),pr={class:"d-flex justify-content-between align-items-center titlerow"},gr={class:"buttonarea grid-col-12",style:{"text-align":"right"}},mr={class:"contentrow grid-col-12"},vr=V({__name:"WbSubwidget",props:{titlecolor:{},fullwidth:{type:Boolean},small:{type:Boolean}},setup(t){const e=t,a=m(()=>{let r={"font-weight":"bold",color:"var(--color-fg)","font-size":"var(--font-normal)"};return e.titlecolor&&(r.color=e.titlecolor),e.small&&(r["font-size"]="var(--font-verysmall)"),r}),o=m(()=>e.fullwidth?"grid-col-12":"grid-col-4");return(r,l)=>(i(),g("div",{class:j(["wb-subwidget px-3 pt-2 my-0",o.value])},[n("div",pr,[n("div",{class:"d-flex widgetname p-0 m-0",style:Q(a.value)},[he(r.$slots,"title",{},void 0,!0)],4),n("div",gr,[he(r.$slots,"buttons",{},void 0,!0)])]),n("div",mr,[he(r.$slots,"default",{},void 0,!0)])],2))}}),Qe=U(vr,[["__scopeId","data-v-971e553f"]]),fr=t=>(ae("data-v-b935eb33"),t=t(),oe(),t),_r={class:"grid-col-12 mt-2 mb-0 px-0 py-0 configitem"},br={class:"titlecolumn m-0 p-0 d-flex align-items-center"},yr=fr(()=>n("i",{class:"me-1 fa-solid fa-sm fa-circle-info"},null,-1)),wr={class:"ms-1 mb-2 p-0 pt-2 d-flex justify-content-stretch align-items-center"},kr={class:"justify-content-stretch d-flex"},Sr=V({__name:"ConfigItem",props:{title:{},infotext:{},icon:{},fullwidth:{type:Boolean}},setup(t){const e=t,a=Z(!1);function o(){a.value=!a.value}const r=m(()=>{let l={color:"var(--color-charging)"};return a.value&&(l.color="var(--color-battery)"),l});return(l,h)=>(i(),M(Qe,{fullwidth:!!l.fullwidth},{default:w(()=>[n("div",_r,[n("div",br,[n("span",{class:"d-flex align-items-baseline m-0 p-0",onClick:o},[e.icon?(i(),g("i",{key:0,class:j(["fa-solid fa-sm m-0 p-0 me-2 item-icon",e.icon])},null,2)):y("",!0),H(" "+$(l.title),1)]),n("span",null,[e.infotext?(i(),g("i",{key:0,class:"fa-solid fa-sm fa-circle-question ms-4 me-2",style:Q(r.value),onClick:o},null,4)):y("",!0)])]),a.value?(i(),g("p",{key:0,class:"infotext shadow m-0 ps-2 mb-1 p-1",onClick:o},[yr,H(" "+$(l.infotext),1)])):y("",!0),n("div",wr,[n("span",kr,[he(l.$slots,"default",{},void 0,!0)])])])]),_:3},8,["fullwidth"]))}}),N=U(Sr,[["__scopeId","data-v-b935eb33"]]),Ba=t=>(ae("data-v-17a828b1"),t=t(),oe(),t),xr={class:"d-flex flex-column"},$r={class:"d-flex flex-fill justify-content-between align-items-center"},Mr=Ba(()=>n("i",{class:"fa fa-xl fa-minus-square me-2"},null,-1)),Cr=[Mr],Ir=["id","min","max","step"],Pr=Ba(()=>n("i",{class:"fa fa-xl fa-plus-square ms-2"},null,-1)),Br=[Pr],Vr={class:"d-flex justify-content-between align-items-center"},Lr={class:"minlabel ps-4"},Ar={class:"valuelabel"},Or={class:"maxlabel pe-4"},Tr=V({__name:"RangeInput",props:{id:{},min:{},max:{},step:{},unit:{},decimals:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=a.decimals??0,r=e,l=m({get(){return Math.round(a.modelValue*Math.pow(10,o))/Math.pow(10,o)},set(d){r("update:modelValue",d)}});function h(){l.value>a.min&&(l.value=Math.round((l.value-a.step)*Math.pow(10,o))/Math.pow(10,o))}function p(){l.value(i(),g("span",xr,[n("span",$r,[n("span",{type:"button",class:"minusButton",onClick:h},Cr),at(n("input",{id:d.id,"onUpdate:modelValue":u[0]||(u[0]=c=>l.value=c),type:"range",class:"form-range flex-fill",min:d.min,max:d.max,step:d.step},null,8,Ir),[[ro,l.value,void 0,{number:!0}]]),n("span",{type:"button",class:"plusButton",onClick:p},Br)]),n("span",Vr,[n("span",Lr,$(d.min),1),n("span",Ar,$(l.value)+" "+$(d.unit),1),n("span",Or,$(d.max),1)])]))}}),Ae=U(Tr,[["__scopeId","data-v-17a828b1"]]),Dr=["id","value"],Wr=V({__name:"RadioInput",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=e,r=m({get(){return a.modelValue},set(p){o("update:modelValue",p)}});function l(p){return a.options[p][2]?{color:a.options[p][2]}:{color:"var(--color-fg)"}}function h(p){let d=p.target;for(;d&&!d.value&&d.parentElement;)d=d.parentElement;d.value&&(r.value=d.value)}return(p,d)=>(i(),g("div",null,[(i(!0),g(z,null,X(p.options,(u,c)=>(i(),g("button",{id:"radio-"+u[1],key:c,class:j(["btn btn-outline-secondary radiobutton me-2 mb-0 px-2",u[1]==r.value?"active":""]),value:u[1],style:Q(l(c)),onClick:h},[n("span",{style:Q(l(c))},[u[3]?(i(),g("i",{key:0,class:j(["fa-solid",u[3]])},null,2)):y("",!0),H(" "+$(u[0]),1)],4)],14,Dr))),128))]))}}),Ee=U(Wr,[["__scopeId","data-v-df222cbe"]]),Gr=t=>(ae("data-v-0303d179"),t=t(),oe(),t),zr={class:"mt-2"},Er=Gr(()=>n("p",{class:"heading ms-1"},"Sofortladen:",-1)),jr={key:0},Ur=V({__name:"CPConfigInstant",props:{chargepoint:{}},setup(t){const a=Z(t.chargepoint),o=[{name:"keine",id:"none"},{name:"EV-SoC",id:"soc"},{name:"Energiemenge",id:"amount"}],r=m({get(){return a.value.instantMaxEnergy/1e3},set(l){a.value.instantMaxEnergy=l*1e3}});return(l,h)=>(i(),g("div",zr,[Er,b(N,{title:"Stromstärke",icon:"fa-bolt",fullwidth:!0},{default:w(()=>[b(Ae,{id:"targetCurrent",modelValue:a.value.instantTargetCurrent,"onUpdate:modelValue":h[0]||(h[0]=p=>a.value.instantTargetCurrent=p),min:6,max:32,step:1,unit:"A"},null,8,["modelValue"])]),_:1}),a.value.instantChargeLimitMode!="none"?(i(),g("hr",jr)):y("",!0),b(N,{title:"Begrenzung",icon:"fa-hand",fullwidth:!0},{default:w(()=>[b(Ee,{modelValue:a.value.instantChargeLimitMode,"onUpdate:modelValue":h[1]||(h[1]=p=>a.value.instantChargeLimitMode=p),options:o.map(p=>[p.name,p.id])},null,8,["modelValue","options"])]),_:1}),a.value.instantChargeLimitMode=="soc"?(i(),M(N,{key:1,title:"Maximaler SoC",icon:"fa-sliders",fullwidth:!0},{default:w(()=>[b(Ae,{id:"maxSoc",modelValue:a.value.instantTargetSoc,"onUpdate:modelValue":h[2]||(h[2]=p=>a.value.instantTargetSoc=p),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])]),_:1})):y("",!0),a.value.instantChargeLimitMode=="amount"?(i(),M(N,{key:2,title:"Zu ladende Energie",icon:"fa-sliders",fullwidth:!0},{default:w(()=>[b(Ae,{id:"maxEnergy",modelValue:r.value,"onUpdate:modelValue":h[3]||(h[3]=p=>r.value=p),min:0,max:100,step:1,unit:"kWh"},null,8,["modelValue"])]),_:1})):y("",!0)]))}}),Fr=U(Ur,[["__scopeId","data-v-0303d179"]]),Nr={class:"form-check form-switch"},ce=V({__name:"SwitchInput",props:{modelValue:{type:Boolean},onColor:{},offColor:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=e,r=m({get(){return a.modelValue},set(h){o("update:modelValue",h)}}),l=m(()=>r.value?{"background-color":"green"}:{"background-color":"white"});return(h,p)=>(i(),g("div",Nr,[at(n("input",{"onUpdate:modelValue":p[0]||(p[0]=d=>r.value=d),class:"form-check-input",type:"checkbox",role:"switch",style:Q(l.value)},null,4),[[Rt,r.value]])]))}}),Va=t=>(ae("data-v-1a90f282"),t=t(),oe(),t),Hr={class:"pt-2"},Rr=Va(()=>n("p",{class:"heading ms-1"},"PV-Laden:",-1)),Jr={class:"form-check form-switch"},qr=Va(()=>n("hr",null,null,-1)),Yr={key:2},Qr=V({__name:"CPConfigPv",props:{chargepoint:{}},setup(t){const a=Z(t.chargepoint),o=m({get(){return a.value.pvMinCurrent>5},set(l){l?a.value.pvMinCurrent=6:a.value.pvMinCurrent=0}}),r=m({get(){return a.value.pvMinSoc>0},set(l){l?a.value.pvMinSoc=50:a.value.pvMinSoc=0}});return(l,h)=>(i(),g("div",Hr,[Rr,b(N,{title:"Maximaler Ladestand",icon:"fa-battery-three-quarters",fullwidth:!0},{default:w(()=>[b(Ae,{id:"maxSoc",modelValue:a.value.pvMaxSoc,"onUpdate:modelValue":h[0]||(h[0]=p=>a.value.pvMaxSoc=p),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])]),_:1}),b(N,{title:"Einspeisegrenze beachten",icon:"fa-hand",fullwidth:!0},{default:w(()=>[n("div",Jr,[at(n("input",{id:"feedInLimitSwitch","onUpdate:modelValue":h[1]||(h[1]=p=>a.value.pvFeedInLimit=p),class:"form-check-input",type:"checkbox",role:"switch"},null,512),[[Rt,a.value.pvFeedInLimit]])])]),_:1}),qr,b(N,{title:"Minimaler Ladestand",icon:"fa-battery-half",infotext:s(We).minsoc,fullwidth:!0},{default:w(()=>[b(ce,{modelValue:r.value,"onUpdate:modelValue":h[2]||(h[2]=p=>r.value=p)},null,8,["modelValue"])]),_:1},8,["infotext"]),r.value?(i(),M(N,{key:0,title:"...bis SoC",fullwidth:!0},{info:w(()=>[H($(s(We).minsoc),1)]),default:w(()=>[b(Ae,{id:"minSoc",modelValue:a.value.pvMinSoc,"onUpdate:modelValue":h[3]||(h[3]=p=>a.value.pvMinSoc=p),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])]),_:1})):y("",!0),r.value?(i(),M(N,{key:1,title:"...mit Ladestrom",fullwidth:!0},{default:w(()=>[b(Ae,{id:"minSocCurrent",modelValue:a.value.pvMinSocCurrent,"onUpdate:modelValue":h[4]||(h[4]=p=>a.value.pvMinSocCurrent=p),min:6,max:32,step:1,unit:"A"},null,8,["modelValue"])]),_:1})):y("",!0),o.value||r.value?(i(),g("hr",Yr)):y("",!0),b(N,{title:"Minimaler Ladestrom",icon:"fa-bolt",infotext:s(We).minpv,fullwidth:!0},{default:w(()=>[b(ce,{modelValue:o.value,"onUpdate:modelValue":h[5]||(h[5]=p=>o.value=p)},null,8,["modelValue"])]),_:1},8,["infotext"]),o.value?(i(),M(N,{key:3,title:"...bei Ladestrom (minimal)",fullwidth:!0},{default:w(()=>[b(Ae,{id:"minCurrent",modelValue:a.value.pvMinCurrent,"onUpdate:modelValue":h[6]||(h[6]=p=>a.value.pvMinCurrent=p),min:6,max:32,step:1,unit:"A"},null,8,["modelValue"])]),_:1})):y("",!0)]))}}),Zr=U(Qr,[["__scopeId","data-v-1a90f282"]]),La=t=>(ae("data-v-e8f5ad9d"),t=t(),oe(),t),Xr=La(()=>n("p",{class:"heading ms-1 pt-2"},"Zielladen:",-1)),Kr={class:"table table-borderless"},ei=La(()=>n("thead",null,[n("tr",null,[n("th",{class:"tableheader"},"Ziel"),n("th",{class:"tableheader"},"Limit"),n("th",{class:"tableheader"},"Zeit"),n("th",{class:"tableheader"},"Wiederholung"),n("th",{class:"tableheader"})])],-1)),ti={class:"tablecell"},ai={class:"tablecell"},oi={class:"tablecell"},ni={class:"tablecell"},si={class:"tablecell left"},ri=["href"],ii=V({__name:"CPConfigScheduled",props:{chargeTemplateId:{}},setup(t){const e={daily:"Täglich",once:"Einmal",weekly:"Wöchentlich"},a=t,o=m(()=>{let p=[];return rt[a.chargeTemplateId]&&(p=Object.values(rt[a.chargeTemplateId])),p});function r(p){return o.value[p].time}function l(p){return{color:o.value[p].active?"var(--color-switchGreen)":"var(--color-switchRed)"}}function h(p){return{"font-weight":o.value[p].active?"bold":"regular"}}return(p,d)=>(i(),g(z,null,[Xr,n("table",Kr,[ei,n("tbody",null,[(i(!0),g(z,null,X(o.value,(u,c)=>(i(),g("tr",{key:c,style:Q(h(c))},[n("td",ti,$(u.limit.soc_scheduled)+"%",1),n("td",ai,$(u.limit.soc_limit)+"%",1),n("td",oi,$(r(c)),1),n("td",ni,$(e[u.frequency.selected]),1),n("td",si,[n("a",{href:"../../settings/#/VehicleConfiguration/charge_template/"+a.chargeTemplateId},[n("span",{class:j([u.active?"fa-toggle-on":"fa-toggle-off","fa"]),style:Q(l(c)),type:"button"},null,6)],8,ri)])],4))),128))])])],64))}}),li=U(ii,[["__scopeId","data-v-e8f5ad9d"]]),Aa=t=>(ae("data-v-192e287b"),t=t(),oe(),t),ci=Aa(()=>n("p",{class:"heading ms-1 pt-2"},"Zeitpläne:",-1)),di={class:"table table-borderless"},ui=Aa(()=>n("thead",null,[n("tr",null,[n("th",{class:"tableheader"},"Von"),n("th",{class:"tableheader"},"Bis"),n("th",{class:"tableheader"},"Ladestrom"),n("th",{class:"tableheader"},"Wiederholung"),n("th",{class:"tableheader right"})])],-1)),hi={class:"tablecell"},pi={class:"tablecell"},gi={class:"tablecell"},mi={class:"tablecell"},vi={class:"tablecell left"},fi=["href"],_i=V({__name:"CPConfigTimed",props:{chargeTemplateId:{}},setup(t){const e={daily:"Täglich",once:"Einmal",weekly:"Wöchentlich"},a=t,o=m(()=>it[a.chargeTemplateId]?Object.values(it[a.chargeTemplateId])??[]:[]);function r(h){return{color:o.value[h].active?"var(--color-switchGreen)":"var(--color-switchRed)"}}function l(h){return{"font-weight":o.value[h].active?"bold":"regular"}}return(h,p)=>(i(),g(z,null,[ci,n("table",di,[ui,n("tbody",null,[(i(!0),g(z,null,X(o.value,(d,u)=>(i(),g("tr",{key:u,style:Q(l(u))},[n("td",hi,$(d.time[0]),1),n("td",pi,$(d.time[1]),1),n("td",gi,$(d.current)+" A",1),n("td",mi,$(e[d.frequency.selected]),1),n("td",vi,[n("a",{href:"../../settings/#/VehicleConfiguration/charge_template/"+a.chargeTemplateId},[n("span",{class:j([d.active?"fa-toggle-on":"fa-toggle-off","fa"]),style:Q(r(u)),type:"button"},null,6)],8,fi)])],4))),128))])])],64))}}),bi=U(_i,[["__scopeId","data-v-192e287b"]]),yi={class:"settingsheader mt-2 ms-1"},wi=V({__name:"CPConfigVehicle",props:{vehicleId:{}},setup(t){const e=t;return(a,o)=>(i(),g(z,null,[n("p",yi," Profile für "+$(s(q)[e.vehicleId].name)+": ",1),b(N,{title:"Ladeprofil",icon:"fa-sliders",fullwidth:!0},{default:w(()=>[b(Ee,{modelValue:s(q)[e.vehicleId].chargeTemplateId,"onUpdate:modelValue":o[0]||(o[0]=r=>s(q)[e.vehicleId].chargeTemplateId=r),modelModifiers:{number:!0},options:Object.keys(s(be)).map(r=>[s(be)[+r].name,r])},null,8,["modelValue","options"])]),_:1}),b(N,{title:"Fahrzeug-Vorlage",icon:"fa-sliders",fullwidth:!0},{default:w(()=>[b(Ee,{modelValue:s(q)[e.vehicleId].evTemplateId,"onUpdate:modelValue":o[1]||(o[1]=r=>s(q)[e.vehicleId].evTemplateId=r),modelModifiers:{number:!0},options:Object.keys(s(Ft)).map(r=>[s(Ft)[+r].name,r])},null,8,["modelValue","options"])]),_:1})],64))}}),ki=U(wi,[["__scopeId","data-v-fcb57a44"]]),Si={class:"settingsheader mt-2 ms-1"},xi=V({__name:"CPChargeConfig",props:{chargepoint:{}},emits:["closeConfig"],setup(t){const a=t.chargepoint;return(o,r)=>(i(),g(z,null,[n("p",Si," Ladeeinstellungen für "+$(s(a).vehicleName)+": ",1),b(N,{title:"Lademodus",icon:"fa-charging-station",infotext:s(We).chargemode,fullwidth:!0},{default:w(()=>[b(Ee,{modelValue:s(a).chargeMode,"onUpdate:modelValue":r[0]||(r[0]=l=>s(a).chargeMode=l),options:Object.keys(s(pe)).map(l=>[s(pe)[l].name,l,s(pe)[l].color,s(pe)[l].icon])},null,8,["modelValue","options"])]),_:1},8,["infotext"]),b(N,{title:"Fahrzeug wechseln",icon:"fa-car",infotext:s(We).vehicle,fullwidth:!0},{default:w(()=>[b(Ee,{modelValue:s(a).connectedVehicle,"onUpdate:modelValue":r[1]||(r[1]=l=>s(a).connectedVehicle=l),modelModifiers:{number:!0},options:Object.values(s(q)).map(l=>[l.name,l.id])},null,8,["modelValue","options"])]),_:1},8,["infotext"]),b(N,{title:"Sperren",icon:"fa-lock",infotext:s(We).locked,fullwidth:!0},{default:w(()=>[b(ce,{modelValue:s(a).isLocked,"onUpdate:modelValue":r[2]||(r[2]=l=>s(a).isLocked=l)},null,8,["modelValue"])]),_:1},8,["infotext"]),b(N,{title:"Priorität",icon:"fa-star",infotext:s(We).priority,fullwidth:!0},{default:w(()=>[b(ce,{modelValue:s(a).hasPriority,"onUpdate:modelValue":r[3]||(r[3]=l=>s(a).hasPriority=l)},null,8,["modelValue"])]),_:1},8,["infotext"]),b(N,{title:"Zeitplan",icon:"fa-clock",infotext:s(We).timeplan,fullwidth:!0},{default:w(()=>[b(ce,{modelValue:s(a).timedCharging,"onUpdate:modelValue":r[4]||(r[4]=l=>s(a).timedCharging=l)},null,8,["modelValue"])]),_:1},8,["infotext"]),s(te).active?(i(),M(N,{key:0,title:"Strompreisbasiert laden",icon:"fa-money-bill",infotext:s(We).pricebased,fullwidth:!0},{default:w(()=>[b(ce,{modelValue:s(a).etActive,"onUpdate:modelValue":r[5]||(r[5]=l=>s(a).etActive=l)},null,8,["modelValue"])]),_:1},8,["infotext"])):y("",!0)],64))}}),$i=U(xi,[["__scopeId","data-v-a64493d7"]]),Oa=t=>(ae("data-v-5286b19d"),t=t(),oe(),t),Mi=Oa(()=>n("p",{class:"settingsheader mt-2 ms-1"},"Preisbasiertes Laden:",-1)),Ci={class:"providername ms-1"},Ii=Oa(()=>n("hr",null,null,-1)),Pi={class:"container"},Bi={id:"pricechart",class:"p-0 m-0"},Vi={viewBox:"0 0 400 300"},Li=["id","origin","transform"],Ai={key:0,class:"p-3"},Oi={key:1,class:"d-flex justify-content-end"},Ti=["disabled"],ot=400,ha=250,pa=12,Di=V({__name:"PriceChart",props:{chargepoint:{},globalview:{type:Boolean}},setup(t){const e=t;let a=e.chargepoint?Z(e.chargepoint.etMaxPrice):Z(0);const o=Z(!1),r=Z(e.chargepoint),l=m({get(){return a.value},set(S){a.value=S,o.value=!0}});function h(){r.value&&(B[r.value.id].etMaxPrice=l.value),o.value=!1}const p=Z(!1),d={top:0,bottom:15,left:20,right:5},u=m(()=>{let S=[];return te.etPriceList.size>0&&te.etPriceList.forEach((x,L)=>{S.push([L,x])}),S}),c=m(()=>u.value.length>1?(ot-d.left-d.right)/u.value.length-1:0),C=m(()=>o.value?{background:"var(--color-charging)"}:{background:"var(--color-menu)"}),J=m(()=>{let S=Pe(u.value,x=>x[0]);return qe().range([d.left,ot-d.left-d.right]).domain(S)}),P=m(()=>{let S=Pe(u.value,x=>x[1]);return S[0]=Math.floor(S[0]-1),S[1]=Math.floor(S[1]+1),S}),T=m(()=>Ye().range([ha-d.bottom,0]).domain(P.value)),E=m(()=>{const S=vt(),x=[[d.left,T.value(l.value)],[ot-d.right,T.value(l.value)]];return S(x)}),D=m(()=>{const S=vt(),x=[[d.left,T.value(0)],[ot-d.right,T.value(0)]];return S(x)}),O=m(()=>st(J.value).ticks(6).tickSize(5).tickFormat(tt("%H:%M"))),F=m(()=>ut(T.value).ticks(6).tickSizeInner(-(ot-d.right-d.left)).tickFormat(S=>S.toString())),I=m(()=>{p.value==!0;const S=le("g#"+k.value);S.selectAll("*").remove(),S.selectAll("bar").data(u.value).enter().append("g").append("rect").attr("class","bar").attr("x",we=>J.value(we[0])).attr("y",we=>T.value(we[1])).attr("width",c.value).attr("height",we=>T.value(P.value[0])-T.value(we[1])).attr("fill",we=>we[1]<=l.value?"var(--color-charging)":"var(--color-axis)");const L=S.append("g").attr("class","axis").call(O.value);L.attr("transform","translate(0,"+(ha-d.bottom)+")"),L.selectAll(".tick").attr("font-size",pa).attr("color","var(--color-bg)"),L.selectAll(".tick line").attr("stroke","var(--color-fg)").attr("stroke-width","0.5"),L.select(".domain").attr("stroke","var(--color-bg");const K=S.append("g").attr("class","axis").call(F.value);return K.attr("transform","translate("+d.left+",0)"),K.selectAll(".tick").attr("font-size",pa).attr("color","var(--color-bg)"),K.selectAll(".tick line").attr("stroke","var(--color-bg)").attr("stroke-width","0.5"),K.select(".domain").attr("stroke","var(--color-bg)"),P.value[0]<0&&S.append("path").attr("d",D.value).attr("stroke","var(--color-fg)"),S.append("path").attr("d",E.value).attr("stroke","yellow"),"PriceChart.vue"}),k=m(()=>e.chargepoint?"priceChartCanvas"+e.chargepoint.id:"priceChartCanvasGlobal");return Be(()=>{p.value=!p.value}),(S,x)=>(i(),g(z,null,[Mi,n("p",Ci,"Anbieter: "+$(s(te).etProvider),1),Ii,n("div",Pi,[n("figure",Bi,[(i(),g("svg",Vi,[n("g",{id:k.value,origin:I.value,transform:"translate("+d.top+","+d.right+")"},null,8,Li)]))])]),S.chargepoint!=null?(i(),g("div",Ai,[S.chargepoint.etActive?(i(),M(Ae,{key:0,id:"foo",modelValue:l.value,"onUpdate:modelValue":x[0]||(x[0]=L=>l.value=L),min:-25,max:95,step:.1,decimals:1,unit:"ct"},null,8,["modelValue"])):y("",!0)])):y("",!0),S.chargepoint!=null?(i(),g("div",Oi,[n("span",{class:"me-3 pt-0",onClick:h},[n("button",{type:"button",class:"btn btn-secondary",style:Q(C.value),disabled:!o.value}," Bestätigen ",12,Ti)])])):y("",!0)],64))}}),Ta=U(Di,[["__scopeId","data-v-5286b19d"]]),Ze=t=>(ae("data-v-1164316d"),t=t(),oe(),t),Wi={class:"status-string"},Gi={style:{color:"red"}},zi={class:"m-0 mt-4 p-0 grid-col-12 tabarea"},Ei={class:"nav nav-tabs nav-justified mx-1 mt-1",role:"tablist"},ji=["data-bs-target"],Ui=Ze(()=>n("i",{class:"fa-solid fa-charging-station"},null,-1)),Fi=[Ui],Ni=["data-bs-target"],Hi=Ze(()=>n("i",{class:"fa-solid fa-lg fa-bolt"},null,-1)),Ri=[Hi],Ji=["data-bs-target"],qi=Ze(()=>n("i",{class:"fa-solid fa-solar-panel me-1"},null,-1)),Yi=[qi],Qi=["data-bs-target"],Zi=Ze(()=>n("i",{class:"fa-solid fa-bullseye me-1"},null,-1)),Xi=[Zi],Ki=["data-bs-target"],el=Ze(()=>n("i",{class:"fa-solid fa-clock"},null,-1)),tl=[el],al=["data-bs-target"],ol=Ze(()=>n("i",{class:"fa-solid fa-rectangle-list"},null,-1)),nl=[ol],sl=["data-bs-target"],rl=Ze(()=>n("i",{class:"fa-solid fa-chart-line"},null,-1)),il=[rl],ll={id:"settingsPanes",class:"tab-content mx-1 p-1 pb-3"},cl=["id"],dl=["id"],ul=["id"],hl=["id"],pl=["id"],gl=["id"],ml=["id"],vl=V({__name:"CPChargeConfigPanel",props:{chargepoint:{}},emits:["closeConfig"],setup(t){const a=t.chargepoint,o=m(()=>be[a.chargeTemplate]),r=m(()=>a.id);return Be(()=>{}),(l,h)=>(i(),g(z,null,[b(N,{title:"Status",icon:"fa-info-circle",fullwidth:!0,class:"item"},{default:w(()=>[n("span",Wi,$(s(a).stateStr),1)]),_:1}),s(a).faultState!=0?(i(),M(N,{key:0,title:"Fehler",class:"grid-col-12",icon:"fa-triangle-exclamation"},{default:w(()=>[n("span",Gi,$(s(a).faultStr),1)]),_:1})):y("",!0),n("div",zi,[n("nav",Ei,[n("a",{class:"nav-link active","data-bs-toggle":"tab","data-bs-target":"#chargeSettings"+r.value},Fi,8,ji),l.chargepoint.chargeMode=="instant_charging"?(i(),g("a",{key:0,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#instantSettings"+r.value},Ri,8,Ni)):y("",!0),l.chargepoint.chargeMode=="pv_charging"?(i(),g("a",{key:1,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#pvSettings"+r.value},Yi,8,Ji)):y("",!0),l.chargepoint.chargeMode=="scheduled_charging"?(i(),g("a",{key:2,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#scheduledSettings"+r.value},Xi,8,Qi)):y("",!0),l.chargepoint.timedCharging?(i(),g("a",{key:3,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#timeSettings"+r.value},tl,8,Ki)):y("",!0),n("a",{class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#carSettings"+r.value},nl,8,al),s(te).active&&s(a).etActive?(i(),g("a",{key:4,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#priceChart"+r.value},il,8,sl)):y("",!0)]),n("div",ll,[n("div",{id:"chargeSettings"+r.value,class:"tab-pane active",role:"tabpanel","aria-labelledby":"instant-tab"},[b($i,{chargepoint:l.chargepoint},null,8,["chargepoint"])],8,cl),n("div",{id:"instantSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"instant-tab"},[b(Fr,{chargepoint:s(a),vehicles:s(q),"charge-templates":s(be)},null,8,["chargepoint","vehicles","charge-templates"])],8,dl),n("div",{id:"pvSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"pv-tab"},[b(Zr,{chargepoint:s(a),vehicles:s(q),"charge-templates":s(be)},null,8,["chargepoint","vehicles","charge-templates"])],8,ul),n("div",{id:"scheduledSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"scheduled-tab"},[o.value!=null?(i(),M(li,{key:0,"charge-template-id":s(a).chargeTemplate},null,8,["charge-template-id"])):y("",!0)],8,hl),n("div",{id:"timeSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"time-tab"},[o.value!=null?(i(),M(bi,{key:0,"charge-template-id":s(a).chargeTemplate},null,8,["charge-template-id"])):y("",!0)],8,pl),n("div",{id:"carSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"car-tab"},[s(q)[s(a).connectedVehicle]!=null?(i(),M(ki,{key:0,"vehicle-id":s(a).connectedVehicle},null,8,["vehicle-id"])):y("",!0)],8,gl),n("div",{id:"priceChart"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"price-tab"},[s(q)[s(a).connectedVehicle]!=null?(i(),M(Ta,{key:0,chargepoint:s(a)},null,8,["chargepoint"])):y("",!0)],8,ml)])])],64))}}),Ht=U(vl,[["__scopeId","data-v-1164316d"]]),fl=V({__name:"BatterySymbol",props:{soc:{}},setup(t){const e=t,a=m(()=>e.soc<=10?"fa-battery-empty":e.soc<50?"fa-battery-quarter":e.soc<75?"fa-battery-half":e.soc<95?"fa-battery-three-quarters":"fa-battery-full");return(o,r)=>(i(),g("span",null,[n("i",{class:j(["fa batIcon",a.value])},null,2),H(" "+$(Math.round(o.soc)+"%"),1)]))}}),$t=U(fl,[["__scopeId","data-v-a0bd055c"]]),je=V({__name:"FormatWattH",props:{wattH:{}},setup(t){const e=t,a=m(()=>ct(e.wattH,v.decimalPlaces));return(o,r)=>(i(),g("span",null,$(a.value),1))}}),_l=t=>(ae("data-v-6f679011"),t=t(),oe(),t),bl={class:"wb-widget p-0 m-0 shadow widgetWidth"},yl={class:"py-4 px-3 d-flex justify-content-between align-items-center"},wl=_l(()=>n("div",{class:"p-0"},"(title goes here)",-1)),kl={class:"p-0",style:{"text-align":"right"}},Sl={class:"grid12 pb-3"},xl=V({__name:"WbWidgetFlex",props:{variableWidth:{type:Boolean},fullWidth:{type:Boolean}},setup(t){const e=t,a=m(()=>e.fullWidth?"col-12":e.variableWidth&&v.preferWideBoxes?"col-lg-6":"col-lg-4");return(o,r)=>(i(),g("div",{class:j(["p-2 m-0 d-flex",a.value])},[n("div",bl,[n("div",yl,[n("h3",null,[he(o.$slots,"title",{},()=>[wl],!0),he(o.$slots,"subtitle",{},void 0,!0)]),n("div",kl,[he(o.$slots,"buttons",{},void 0,!0)])]),n("div",Sl,[he(o.$slots,"default",{},void 0,!0)])])],2))}}),Oe=U(xl,[["__scopeId","data-v-6f679011"]]),Xe=t=>(ae("data-v-c0cedc0a"),t=t(),oe(),t),$l={class:"d-flex justify-content-center align-items-center"},Ml=Xe(()=>n("span",{class:"fa-solid fa-charging-station"}," ",-1)),Cl={key:0,class:"badge rounded-pill errorbadge ms-3"},Il=Xe(()=>n("span",{class:"fa-solid fa-lg ps-1 fa-ellipsis-vertical"},null,-1)),Pl=[Il],Bl={key:0},Vl={class:"targetCurrent"},Ll={key:1,class:"row m-0 mt-0 p-0"},Al={class:"col m-0 p-0"},Ol={key:0},Tl={class:"col"},Dl=Xe(()=>n("i",{class:"fa-solid fa-sm fa-car me-2"},null,-1)),Wl={key:0,class:"me-1 fa-solid fa-xs fa-star ps-1"},Gl={key:1,class:"me-0 fa-solid fa-xs fa-coins ps-0"},zl={class:"grid12"},El={key:0,class:"me-1 fa-solid fa-xs fa-clock ps-1"},jl={key:2,class:"socEditor rounded mt-2 d-flex flex-column align-items-center grid-col-12 grid-left"},Ul=Xe(()=>n("span",{class:"d-flex m-1 p-0 socEditTitle"},"Ladestand einstellen:",-1)),Fl={class:"d-flex justify-content-stretch align-items-center"},Nl={key:0,class:"fa-solid fa-sm fas fa-edit ms-2"},Hl=["id"],Rl=Xe(()=>n("span",{type:"button",class:"d-flex fa-solid fa-lg ps-1 fa-circle-check"},null,-1)),Jl=[Rl],ql=Xe(()=>n("span",{class:"fas fa-gear"}," ",-1)),Yl=Xe(()=>n("span",{class:"fa-solid fa-lg ps-1 fa-circle-check"},null,-1)),Ql=[Yl],Zl=V({__name:"CPChargePoint",props:{chargepoint:{},fullWidth:{type:Boolean}},setup(t){const e=t,a=Z(e.chargepoint),o=m({get(){return e.chargepoint.chargeMode},set(S){B[e.chargepoint.id].chargeMode=S}}),r=m(()=>(Math.round(e.chargepoint.current*10)/10).toLocaleString(void 0)+" A"),l=m(()=>(Math.round(e.chargepoint.realCurrent*10)/10).toLocaleString(void 0)+" A"),h=m(()=>{const S=e.chargepoint.rangeCharged,x=e.chargepoint.chargedSincePlugged,L=e.chargepoint.dailyYield;return x>0?Math.round(S/x*L).toString()+" "+e.chargepoint.rangeUnit:"0"}),p=m(()=>e.chargepoint.isLocked?"Gesperrt":e.chargepoint.isCharging?"Lädt":e.chargepoint.isPluggedIn?"Bereit":"Frei"),d=m(()=>e.chargepoint.isLocked?"var(--color-evu)":e.chargepoint.isCharging?"var(--color-charging)":e.chargepoint.isPluggedIn?"var(--color-battery)":"var(--color-axis)"),u=m(()=>{let S="";return e.chargepoint.isLocked?S="fa-lock":e.chargepoint.isCharging?S=" fa-bolt":e.chargepoint.isPluggedIn&&(S="fa-plug"),"fa "+S}),c=m(()=>{switch(e.chargepoint.chargeMode){case"stop":return{color:"var(--fg)"};default:return{color:pe[e.chargepoint.chargeMode].color}}}),C=m(()=>e.chargepoint.soc),J=m(()=>({color:e.chargepoint.color})),P=m(()=>e.chargepoint.etMaxPrice>=+I.value?{color:"var(--color-charging)"}:{color:"var(--color-menu)"}),T=Z(!1),E=Z(!1);function D(){ee("socUpdate",1,e.chargepoint.connectedVehicle),B[e.chargepoint.id].waitingForSoc=!0}function O(){ee("setSoc",F.value,e.chargepoint.connectedVehicle),E.value=!1}const F=m({get(){return e.chargepoint.soc},set(S){B[e.chargepoint.id].soc=S}}),I=m(()=>{const[S]=te.etPriceList.values();return(Math.round(S*10)/10).toFixed(1)}),k=Z(!1);return(S,x)=>(i(),g(z,null,[T.value?y("",!0):(i(),M(St,{key:0,"variable-width":!0,"full-width":e.fullWidth},{title:w(()=>[n("span",$l,[n("span",{style:Q(J.value),onClick:x[0]||(x[0]=L=>T.value=!T.value)},[Ml,H(" "+$(e.chargepoint.name),1)],4),a.value.faultState==2?(i(),g("span",Cl,"Fehler")):y("",!0)])]),buttons:w(()=>[n("span",{type:"button",class:"ms-2 ps-5 pt-1",style:Q(c.value),onClick:x[1]||(x[1]=L=>T.value=!T.value)},Pl,4)]),footer:w(()=>[T.value?y("",!0):(i(),g("div",Ol,[n("div",{class:"row",onClick:x[3]||(x[3]=L=>T.value=!T.value)},[n("div",Tl,[n("h3",null,[Dl,H(" "+$(S.chargepoint.vehicleName)+" ",1),S.chargepoint.hasPriority?(i(),g("span",Wl)):y("",!0),S.chargepoint.etActive?(i(),g("span",Gl)):y("",!0)])])]),n("div",zl,[b(Ca,{id:"chargemode-"+S.chargepoint.name,modelValue:o.value,"onUpdate:modelValue":x[4]||(x[4]=L=>o.value=L),class:"chargemodes mt-3 mb-3",options:Object.keys(s(pe)).map(L=>({text:s(pe)[L].name,value:L,color:s(pe)[L].color,icon:s(pe)[L].icon,active:s(pe)[L].mode==S.chargepoint.chargeMode}))},null,8,["id","modelValue","options"]),S.chargepoint.isSocConfigured?(i(),M(Y,{key:0,heading:"Ladestand:",class:"grid-col-4 grid-left"},{default:w(()=>[b($t,{soc:C.value,class:"me-2"},null,8,["soc"]),S.chargepoint.isSocConfigured&&S.chargepoint.isSocManual?(i(),g("i",{key:0,class:"fa-solid fa-sm fas fa-edit",style:{color:"var(--color-menu)"},onClick:x[5]||(x[5]=L=>E.value=!E.value)})):y("",!0),S.chargepoint.isSocConfigured&&!S.chargepoint.isSocManual?(i(),g("i",{key:1,type:"button",class:j(["fa-solid fa-sm",S.chargepoint.waitingForSoc?"fa-spinner fa-spin":"fa-sync"]),style:{color:"var(--color-menu)"},onClick:D},null,2)):y("",!0)]),_:1})):y("",!0),S.chargepoint.isSocConfigured?(i(),M(Y,{key:1,heading:"Reichweite:",class:"grid-col-4"},{default:w(()=>[H($(s(q)[e.chargepoint.connectedVehicle]?Math.round(s(q)[e.chargepoint.connectedVehicle].range):0)+" km ",1)]),_:1})):y("",!0),b(Y,{heading:"Zeitplan:",class:"grid-col-4 grid-right"},{default:w(()=>[S.chargepoint.timedCharging?(i(),g("span",El)):y("",!0),H(" "+$(e.chargepoint.timedCharging?"Ja":"Nein"),1)]),_:1}),E.value?(i(),g("div",jl,[Ul,n("span",Fl,[n("span",null,[b(Ae,{id:"manualSoc",modelValue:F.value,"onUpdate:modelValue":x[6]||(x[6]=L=>F.value=L),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])])]),n("span",{type:"button",class:"fa-solid d-flex fa-lg me-2 mb-3 align-self-end fa-circle-check",onClick:O})])):y("",!0),s(te).active?(i(),M(Y,{key:3,heading:"Preisladen:",class:"grid-col-4 grid-left"},{default:w(()=>[b(ce,{modelValue:a.value.etActive,"onUpdate:modelValue":x[7]||(x[7]=L=>a.value.etActive=L)},null,8,["modelValue"])]),_:1})):y("",!0),s(te).active?(i(),M(Y,{key:4,heading:"max. Preis:",class:"grid-col-4"},{default:w(()=>[n("span",{type:"button",onClick:x[8]||(x[8]=L=>k.value=!k.value)},[H($(e.chargepoint.etActive?(Math.round(e.chargepoint.etMaxPrice*10)/10).toFixed(1)+" ct":"-")+" ",1),e.chargepoint.etActive?(i(),g("i",Nl)):y("",!0)])]),_:1})):y("",!0),s(te).active?(i(),M(Y,{key:5,heading:"akt. Preis:",class:"grid-col-4 grid-right"},{default:w(()=>[n("span",{style:Q(P.value)},$(I.value)+" ct ",5)]),_:1})):y("",!0),k.value?(i(),g("div",{key:6,id:"priceChartInline"+e.chargepoint.id,class:"d-flex flex-column rounded priceEditor grid-col-12"},[s(q)[e.chargepoint.connectedVehicle]!=null?(i(),M(Ta,{key:0,chargepoint:e.chargepoint},null,8,["chargepoint"])):y("",!0),n("span",{class:"d-flex ms-2 my-4 pe-3 pt-1 d-flex align-self-end",style:Q(c.value),onClick:x[9]||(x[9]=L=>k.value=!1)},Jl,4)],8,Hl)):y("",!0)])]))]),default:w(()=>[T.value?y("",!0):(i(),g("div",Bl,[n("div",{class:"grid12",onClick:x[2]||(x[2]=L=>T.value=!T.value)},[b(Y,{heading:"Status:",class:"grid-col-4 grid-left"},{default:w(()=>[n("span",{style:Q({color:d.value})},[n("i",{class:j(u.value)},null,2),H(" "+$(p.value),1)],4)]),_:1}),b(Y,{heading:"Geladen:",class:"grid-col-4"},{default:w(()=>[b(je,{"watt-h":S.chargepoint.dailyYield},null,8,["watt-h"])]),_:1}),b(Y,{heading:"gel. Reichw.:",class:"grid-col-4 grid-right"},{default:w(()=>[H($(h.value),1)]),_:1}),e.chargepoint.power>0?(i(),M(Y,{key:0,heading:"Leistung:",class:"grid-col-3 grid-left"},{default:w(()=>[b(ht,{watt:e.chargepoint.power},null,8,["watt"])]),_:1})):y("",!0),e.chargepoint.power>0?(i(),M(Y,{key:1,heading:"Strom:",class:"grid-col-3"},{default:w(()=>[H($(l.value),1)]),_:1})):y("",!0),e.chargepoint.power>0?(i(),M(Y,{key:2,heading:"Phasen:",class:"grid-col-3"},{default:w(()=>[H($(e.chargepoint.phasesInUse),1)]),_:1})):y("",!0),e.chargepoint.power>0?(i(),M(Y,{key:3,heading:"Sollstrom:",class:"grid-col-3 grid-right"},{default:w(()=>[n("span",Vl,$(r.value),1)]),_:1})):y("",!0)])])),T.value?(i(),g("div",Ll,[n("div",Al,[S.chargepoint!=null?(i(),M(Ht,{key:0,chargepoint:S.chargepoint},null,8,["chargepoint"])):y("",!0)])])):y("",!0)]),_:1},8,["full-width"])),T.value?(i(),M(Oe,{key:1,"full-width":e.fullWidth},{title:w(()=>[n("span",{style:Q(J.value),onClick:x[10]||(x[10]=L=>T.value=!T.value)},[ql,H(" Einstellungen "+$(e.chargepoint.name),1)],4)]),buttons:w(()=>[n("span",{class:"ms-2 pt-1",style:Q(c.value),onClick:x[11]||(x[11]=L=>T.value=!T.value)},Ql,4)]),default:w(()=>[S.chargepoint!=null?(i(),M(Ht,{key:0,chargepoint:S.chargepoint},null,8,["chargepoint"])):y("",!0)]),_:1},8,["full-width"])):y("",!0)],64))}}),Xl=U(Zl,[["__scopeId","data-v-c0cedc0a"]]),Da=t=>(ae("data-v-eaefae30"),t=t(),oe(),t),Kl=["id"],ec={class:"modal-dialog modal-lg modal-fullscreen-lg-down"},tc={class:"modal-content"},ac={class:"modal-header"},oc={class:"modal-title"},nc=Da(()=>n("button",{type:"button",class:"btn-close buttonTextSize d-flex justify-content-center pt-3 pb-0","data-bs-dismiss":"modal"},[n("i",{class:"fa-solid fa-lg fa-rectangle-xmark m-0 p-0"})],-1)),sc={class:"modal-body",style:{"background-color":"var(--color-bg)"}},rc=Da(()=>n("button",{class:"btn btn-secondary float-end mt-3 ms-1","data-bs-dismiss":"modal"}," Schließen ",-1)),ic=V({__name:"ModalComponent",props:{modalId:{}},setup(t){const e=t;return Be(()=>{}),(a,o)=>(i(),g("div",{id:e.modalId,class:"modal fade"},[n("div",ec,[n("div",tc,[n("div",ac,[n("h3",oc,[he(a.$slots,"title",{},void 0,!0)]),nc]),n("div",sc,[he(a.$slots,"default",{},void 0,!0),rc])])])],8,Kl))}}),Wa=U(ic,[["__scopeId","data-v-eaefae30"]]),lc=t=>(ae("data-v-0496b1f6"),t=t(),oe(),t),cc={class:"d-flex align-items-center"},dc={class:"cpname"},uc={class:"d-flex float-right justify-content-end align-items-center"},hc=["data-bs-target"],pc=["data-bs-target"],gc={class:"subgrid"},mc={key:0,class:"d-flex justify-content-center align-items-center vehiclestatus"},vc={class:"d-flex flex-column align-items-center px-0"},fc={class:"d-flex justify-content-center flex-wrap"},_c={class:"d-flex align-items-center"},bc={class:"badge phasesInUse rounded-pill"},yc={class:"d-flex flex-wrap justify-content-center chargeinfo"},wc={class:"me-1"},kc={key:0,class:"subgrid socEditRow m-0 p-0"},Sc={class:"socEditor rounded mt-2 d-flex flex-column align-items-center grid-col-12"},xc=lc(()=>n("span",{class:"d-flex m-1 p-0 socEditTitle"},"Ladestand einstellen:",-1)),$c={class:"d-flex justify-content-stretch align-items-center"},Mc=V({__name:"CpsListItem2",props:{chargepoint:{}},setup(t){const e=t,a=Z(!1),o=m(()=>pe[e.chargepoint.chargeMode].icon),r=m(()=>{let O="";return e.chargepoint.isLocked?O="fa-lock":e.chargepoint.isCharging?O=" fa-bolt":e.chargepoint.isPluggedIn&&(O="fa-plug"),"fa "+O}),l=m(()=>{let O="var(--color-axis)";return e.chargepoint.isLocked?O="var(--color-evu)":e.chargepoint.isCharging?O="var(--color-charging)":e.chargepoint.isPluggedIn&&(O="var(--color-battery)"),{color:O,border:`0.5px solid ${O} `}}),h=m(()=>{switch(e.chargepoint.chargeMode){case"stop":return{"background-color":"var(--fg)"};default:return{"background-color":pe[e.chargepoint.chargeMode].color}}}),p=m(()=>Se(e.chargepoint.power,v.decimalPlaces)),d=m(()=>e.chargepoint.current+" A"),u=m(()=>e.chargepoint.phasesInUse),c=m(()=>e.chargepoint.dailyYield>0?ct(e.chargepoint.dailyYield,v.decimalPlaces):"0 Wh"),C=m(()=>"("+Math.round(e.chargepoint.rangeCharged).toString()+" "+e.chargepoint.rangeUnit+")"),J=m(()=>pe[e.chargepoint.chargeMode].name);function P(){ee("socUpdate",1,e.chargepoint.connectedVehicle),B[e.chargepoint.id].waitingForSoc=!0}function T(){ee("setSoc",E.value,e.chargepoint.connectedVehicle),a.value=!1}const E=m({get(){return e.chargepoint.soc},set(O){B[e.chargepoint.id].soc=O}}),D=m(()=>e.chargepoint.isLocked?"Gesperrt":e.chargepoint.isCharging?"Lädt":e.chargepoint.isPluggedIn?"Bereit":"Frei");return(O,F)=>(i(),g(z,null,[b(Qe,{titlecolor:O.chargepoint.color,fullwidth:!0,small:!0},{title:w(()=>[n("div",cc,[n("span",dc,$(O.chargepoint.name),1),n("span",{class:"badge rounded-pill statusbadge mx-2",style:Q(l.value)},[n("i",{class:j([r.value,"me-1"])},null,2),H(" "+$(D.value),1)],4)])]),buttons:w(()=>[n("div",uc,[n("span",{class:"badge rounded-pill modebadge mx-2",type:"button",style:Q(h.value),"data-bs-toggle":"modal","data-bs-target":"#cpsconfig-"+O.chargepoint.id},[n("i",{class:j(["fa me-1",o.value])},null,2),H(" "+$(J.value),1)],12,hc),n("span",{class:"fa-solid ms-2 fa-lg fa-edit ps-1",type:"button","data-bs-toggle":"modal","data-bs-target":"#cpsconfig-"+O.chargepoint.id},null,8,pc)])]),default:w(()=>[n("div",gc,[b(Y,{heading:O.chargepoint.vehicleName,small:!0,class:"grid-left grid-col-4"},{default:w(()=>[O.chargepoint.isSocConfigured?(i(),g("span",mc,[b($t,{class:"me-1",soc:O.chargepoint.soc},null,8,["soc"]),O.chargepoint.isSocConfigured&&O.chargepoint.isSocManual?(i(),g("i",{key:0,type:"button",class:"fa-solid fa-sm fas fa-edit",style:{color:"var(--color-menu)"},onClick:F[0]||(F[0]=I=>a.value=!a.value)})):y("",!0),O.chargepoint.isSocConfigured&&!O.chargepoint.isSocManual?(i(),g("i",{key:1,type:"button",class:j(["fa-solid fa-sm me-2",O.chargepoint.waitingForSoc?"fa-spinner fa-spin":"fa-sync"]),style:{color:"var(--color-menu)"},onClick:P},null,2)):y("",!0)])):y("",!0)]),_:1},8,["heading"]),b(Y,{heading:"Parameter:",small:!0,class:"grid-col-4"},{default:w(()=>[n("div",vc,[n("span",fc,[n("span",null,$(p.value),1),n("span",_c,[n("span",bc,$(u.value),1),n("span",null,$(d.value),1)])])])]),_:1}),b(Y,{heading:"Geladen:",small:!0,class:"grid-right grid-col-4"},{default:w(()=>[n("div",yc,[n("span",wc,$(c.value),1),n("span",null,$(C.value),1)])]),_:1})]),a.value?(i(),g("div",kc,[n("div",Sc,[xc,n("span",$c,[n("span",null,[b(Ae,{id:"manualSoc",modelValue:E.value,"onUpdate:modelValue":F[1]||(F[1]=I=>E.value=I),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])])]),n("span",{type:"button",class:"fa-solid d-flex fa-lg me-2 mb-3 align-self-end fa-circle-check",onClick:T})])])):y("",!0)]),_:1},8,["titlecolor"]),(i(),M(io,{to:"body"},[(i(),M(Wa,{key:O.chargepoint.id,"modal-id":"cpsconfig-"+O.chargepoint.id},{title:w(()=>[H(" Konfiguration: "+$(O.chargepoint.name),1)]),default:w(()=>[O.chargepoint!=null?(i(),M(Ht,{key:0,chargepoint:O.chargepoint},null,8,["chargepoint"])):y("",!0)]),_:1},8,["modal-id"]))]))],64))}}),Cc=U(Mc,[["__scopeId","data-v-0496b1f6"]]),Ic=t=>(ae("data-v-8c6313d6"),t=t(),oe(),t),Pc=Ic(()=>n("span",{class:"fa-solid fa-charging-station"}," ",-1)),Bc={class:"d-flex float-right justify-content-end align-items-center"},Vc={key:0,class:"badge rounded-pill pricebadge mb-1 ms-2"},Lc=V({__name:"CpSimpleList2",setup(t){const e=m(()=>Object.values(B));return(a,o)=>(i(),M(Oe,{"variable-width":!0},{title:w(()=>[Pc,H(" Ladepunkte ")]),buttons:w(()=>[n("div",Bc,[s(te).active?(i(),g("span",Vc,"Strompreis: "+$(s(te).etCurrentPriceString),1)):y("",!0)])]),default:w(()=>[(i(!0),g(z,null,X(e.value,(r,l)=>(i(),g("div",{key:l,class:"subgrid pb-2"},[b(Cc,{chargepoint:r},null,8,["chargepoint"])]))),128))]),_:1}))}}),Ac=U(Lc,[["__scopeId","data-v-8c6313d6"]]),Bt=V({__name:"ChargePointList",props:{shortlist:{type:Boolean}},setup(t){let e,a;const o=t,r=m(()=>{let p=Object.values(B);return h(),p}),l=m(()=>{switch(Object.values(B).length){case 0:return v.preferWideBoxes?"col-lg-6":"col-lg-4";case 1:return v.preferWideBoxes?"col-lg-6":"col-lg-4";case 2:return v.preferWideBoxes?"col-lg-12":"col-lg-8 ";default:return"col-lg-12"}});function h(){let p=document.querySelector(".swiper-chargepoints");if(p&&(a=p,e=a.swiper),e){let d="1";if(Ne.value)switch(Object.values(B).length){case 0:case 1:d="1";break;case 2:d="2";break;default:d="3"}a.setAttribute("slides-per-view",d),e.update()}}return Be(()=>{let p=document.querySelector(".swiper-chargepoints");p&&(a=p,e=a.swiper),window.addEventListener("resize",h),window.document.addEventListener("visibilitychange",h)}),(p,d)=>(i(),g(z,null,[o.shortlist?y("",!0):(i(),g("swiper-container",{key:0,"space-between":0,"slides-per-view":1,pagination:{clickable:!0},class:j(["cplist m-0 p-0 swiper-chargepoints d-flex align-items-stretch",l.value])},[(i(!0),g(z,null,X(r.value,u=>(i(),g("swiper-slide",{key:u.id},[n("div",{class:j([s(Ne)?"mb-0":"mb-5","d-flex align-items-stretch flex-fill"])},[b(Xl,{chargepoint:u,"full-width":!0},null,8,["chargepoint"])],2)]))),128))],2)),o.shortlist?(i(),M(Ac,{key:1})):y("",!0)],64))}}),Oc={class:"container-fluid p-0 m-0"},Tc={class:"row p-0 m-0"},Dc={class:"d-grid gap-2"},Wc=["onClick"],Gc={class:"col-md-4 p-1"},zc={class:"d-grid gap-2"},Ec={key:0},jc=n("hr",null,null,-1),Uc=n("div",{class:"row"},[n("div",{class:"col text-center"},"Vorrang im Lademodus PV-Laden:")],-1),Fc={class:"row justify-content-center m-1 p-0"},Nc={class:"col-lg-4 p-1 m-0"},Hc={class:"d-grid gap-2"},Rc=n("span",{class:"fas fa-car ms-2"}," ",-1),Jc={class:"col-lg-4 p-1 m-0"},qc={class:"d-grid gap-2"},Yc=n("span",{class:"fas fa-car-battery ms-2"}," ",-1),Qc={class:"col-lg-4 p-1 m-0"},Zc={class:"d-grid gap-2"},Xc=n("span",{class:"fas fa-battery-half"}," ",-1),Kc=V({__name:"BBSelect",props:{cpId:{}},setup(t){const e=t,a=[{mode:"instant_charging",name:"Sofort",color:"var(--color-charging)"},{mode:"pv_charging",name:"PV",color:"var(--color-pv)"},{mode:"scheduled_charging",name:"Zielladen",color:"var(--color-battery)"},{mode:"standby",name:"Standby",color:"var(--color-axis)"},{mode:"stop",name:"Stop",color:"var(--color-axis)"}],o=m(()=>B[e.cpId]);function r(u){return u==o.value.chargeMode?"btn btn-success buttonTextSize":"btn btn-secondary buttonTextSize"}function l(u){return me.pvBatteryPriority==u?"btn-success":"btn-secondary"}function h(u){o.value.chargeMode=u}function p(u){o.value.isLocked=u}function d(u){me.pvBatteryPriority=u}return(u,c)=>(i(),g("div",Oc,[n("div",Tc,[(i(),g(z,null,X(a,(C,J)=>n("div",{key:J,class:"col-md-4 p-1"},[n("div",Dc,[n("button",{type:"button",class:j(r(C.mode)),style:{},onClick:P=>h(C.mode)},$(C.name),11,Wc)])])),64)),n("div",Gc,[n("div",zc,[o.value.isLocked?(i(),g("button",{key:0,type:"button",class:"btn btn-outline-success buttonTextSize","data-bs-dismiss":"modal",onClick:c[0]||(c[0]=C=>p(!1))}," Entsperren ")):y("",!0),o.value.isLocked?y("",!0):(i(),g("button",{key:1,type:"button",class:"btn btn-outline-danger buttonTextSize","data-bs-dismiss":"modal",onClick:c[1]||(c[1]=C=>p(!0))}," Sperren "))])])]),s(me).isBatteryConfigured&&o.value.chargeMode=="pv_charging"?(i(),g("div",Ec,[jc,Uc,n("div",Fc,[n("div",Nc,[n("div",Hc,[n("button",{id:"evPriorityBtn",type:"button",class:j(["priorityModeBtn btn btn-secondary buttonTextSize",l("ev_mode")]),"data-dismiss":"modal",priority:"1",onClick:c[2]||(c[2]=C=>d("ev_mode"))},[H(" EV "),Rc],2)])]),n("div",Jc,[n("div",qc,[n("button",{id:"batteryPriorityBtn",type:"button",class:j(["priorityModeBtn btn btn-secondary buttonTextSize",l("bat_mode")]),"data-dismiss":"modal",priority:"0",onClick:c[3]||(c[3]=C=>d("bat_mode"))},[H(" Speicher "),Yc],2)])]),n("div",Qc,[n("div",Zc,[n("button",{id:"minsocPriorityBtn",type:"button",class:j(["priorityModeBtn btn btn-secondary buttonTextSize",l("min_soc_bat_mode")]),"data-dismiss":"modal",priority:"0",onClick:c[4]||(c[4]=C=>d("min_soc_bat_mode"))},[H(" MinSoc "),Xc],2)])])])])):y("",!0)]))}}),ed={class:"col-lg-4 p-0 m-0 mt-1"},td={class:"d-grid gap-2"},ad=["data-bs-target"],od={class:"m-0 p-0 d-flex justify-content-between align-items-center"},nd={class:"mx-1 badge rounded-pill smallTextSize plugIndicator"},sd={key:0,class:"ms-2"},rd={class:"m-0 p-0"},id={key:0,class:"ps-1"},ld=V({__name:"BbChargeButton",props:{chargepoint:{}},setup(t){const e=t,a="chargeSelectModal"+e.chargepoint.id,o=m(()=>pe[e.chargepoint.chargeMode].name),r=m(()=>{let c={background:"var(--color-menu)"};return e.chargepoint.isLocked?c.background="var(--color-evu)":e.chargepoint.isCharging?c.background="var(--color-charging)":e.chargepoint.isPluggedIn&&(c.background="var(--color-battery)"),c}),l=m(()=>{if(pe){let c={background:pe[e.chargepoint.chargeMode].color,color:"white"};switch(e.chargepoint.chargeMode){case fe.instant_charging:e.chargepoint.isCharging&&!e.chargepoint.isLocked&&(c=u(c));break;case fe.standby:case fe.stop:c.background="darkgrey",c.color="black";break;case fe.scheduled_charging:e.chargepoint.isPluggedIn&&!e.chargepoint.isCharging&&!e.chargepoint.isLocked&&(c=u(c));break}return c}else return{background:"var(--color-bg)",color:"var(--color-bg)"}}),h=m(()=>pe?pe[e.chargepoint.chargeMode].icon:""),p=m(()=>{switch(me.pvBatteryPriority){case"ev_mode":return"fa-car";case"bat_mode":return"fa-car-battery";case"min_soc_bat_mode":return"fa-battery-half";default:return console.log("default"),""}}),d=m(()=>{let c="fa-ellipsis";return e.chargepoint.isLocked?c="fa-lock":e.chargepoint.isCharging?c=" fa-bolt":e.chargepoint.isPluggedIn&&(c="fa-plug"),"fa "+c});function u(c){let C=c.color;return c.color=c.background,c.background=C,c}return(c,C)=>(i(),g("div",ed,[n("div",td,[n("button",{type:"button",class:"btn mx-1 mb-0 p-1 mediumTextSize chargeButton shadow",style:Q(r.value),"data-bs-toggle":"modal","data-bs-target":"#"+a},[n("div",od,[n("span",nd,[n("i",{class:j(d.value)},null,2),c.chargepoint.isCharging?(i(),g("span",sd,$(s(Se)(c.chargepoint.power)),1)):y("",!0)]),n("span",rd,$(c.chargepoint.name),1),n("span",{class:"mx-2 m-0 badge rounded-pill smallTextSize modeIndicator",style:Q(l.value)},[n("i",{class:j(["fa me-1",h.value])},null,2),H(" "+$(o.value)+" ",1),c.chargepoint.chargeMode==s(fe).pv_charging&&s(me).isBatteryConfigured?(i(),g("span",id,[H(" ( "),n("i",{class:j(["fa m-0",p.value])},null,2),H(") ")])):y("",!0)],4)])],12,ad)]),b(Wa,{"modal-id":a},{title:w(()=>[H(" Lademodus für "+$(c.chargepoint.vehicleName),1)]),default:w(()=>[b(Kc,{"cp-id":c.chargepoint.id},null,8,["cp-id"])]),_:1})]))}}),cd=U(ld,[["__scopeId","data-v-bde17905"]]),dd={class:"row p-0 mt-0 mb-1 m-0"},ud={class:"col p-0 m-0"},hd={class:"container-fluid p-0 m-0"},pd={class:"row p-0 m-0 d-flex justify-content-center align-items-center"},gd={key:0,class:"col time-display"},md=V({__name:"ButtonBar",setup(t){return(e,a)=>(i(),g("div",dd,[n("div",ud,[n("div",hd,[n("div",pd,[s(v).showClock=="buttonbar"?(i(),g("span",gd,$(s(ka)(s(Nt))),1)):y("",!0),(i(!0),g(z,null,X(s(B),(o,r)=>(i(),M(cd,{key:r,chargepoint:o,"charge-point-count":Object.values(s(B)).length},null,8,["chargepoint","charge-point-count"]))),128))])])])]))}}),vd=U(md,[["__scopeId","data-v-791e4be0"]]);class fd{constructor(e){f(this,"id");f(this,"name","Speicher");f(this,"color","var(--color-battery)");f(this,"dailyYieldExport",0);f(this,"dailyYieldImport",0);f(this,"monthlyYieldExport",0);f(this,"monthlyYieldImport",0);f(this,"yearlyYieldExport",0);f(this,"yearlyYieldImport",0);f(this,"exported",0);f(this,"faultState",0);f(this,"faultStr","");f(this,"imported",0);f(this,"power",0);f(this,"soc",0);this.id=e}}class _d{constructor(){f(this,"dailyExport",0);f(this,"dailyImport",0);f(this,"exported",0);f(this,"imported",0);f(this,"power",0);f(this,"soc",0)}}re(new _d);const ve=Z(new Map),Ga=t=>{ve.value.set(t,new fd(t)),ve.value.get(t).color=de["bat"+ve.value.size].color};function bd(){ve.value=new Map}const yd={class:"battery-title"},wd={class:"subgrid pt-1"},kd=V({__name:"BLBattery",props:{bat:{}},setup(t){const e=t,a=m(()=>e.bat.power<0?`Liefert (${Se(-e.bat.power)})`:e.bat.power>0?`Lädt (${Se(e.bat.power)})`:"Bereit"),o=m(()=>({"background-color":e.bat.power<0?"var(--color-pv)":e.bat.power>0?"var(--color-battery)":"var(--color-menu)"}));return(r,l)=>(i(),M(Qe,{titlecolor:"var(--color-title)",fullwidth:!0},{title:w(()=>[n("span",yd,$(r.bat.name),1)]),buttons:w(()=>[n("span",{class:"badge rounded-pill battery-mode me-2",style:Q(o.value)},$(a.value),5)]),default:w(()=>[n("div",wd,[b(Y,{heading:"Geliefert:",small:!0,class:"grid-left grid-col-4"},{default:w(()=>[b(je,{"watt-h":e.bat.dailyYieldExport},null,8,["watt-h"])]),_:1}),b(Y,{heading:"Geladen:",small:!0,class:"grid-col-4"},{default:w(()=>[b(je,{"watt-h":e.bat.dailyYieldImport},null,8,["watt-h"])]),_:1}),b(Y,{heading:"Ladestand:",small:!0,class:"grid-right grid-col-4"},{default:w(()=>[b($t,{soc:e.bat.soc},null,8,["soc"])]),_:1})])]),_:1}))}}),Sd=U(kd,[["__scopeId","data-v-c36267d5"]]),za=t=>(ae("data-v-1f918d89"),t=t(),oe(),t),xd=za(()=>n("span",{class:"fas fa-car-battery me-2",style:{color:"var(--color-battery)"}}," ",-1)),$d=za(()=>n("span",{class:"sh-title py-4"},"Speicher",-1)),Md={class:"badge socpill rounded-pill"},Cd={class:"px-3 subgrid grid-12"},Id=V({__name:"BatteryList",setup(t){const e=m(()=>R.batOut.power>0?`Liefert (${Se(R.batOut.power)})`:G.batIn.power>0?`Lädt (${Se(G.batIn.power)})`:"Bereit:"),a=m(()=>Se(R.batOut.power+G.batIn.power)),o=m(()=>({"background-color":R.batOut.power>0?"var(--color-pv)":G.batIn.power>0?"var(--color-battery)":"var(--color-menu)"}));return(r,l)=>s(me).isBatteryConfigured?(i(),M(Oe,{key:0,"variable-width":!0,"full-width":!1},{title:w(()=>[xd,$d]),buttons:w(()=>[n("span",{class:"badge rounded-pill battery-mode me-2",style:Q(o.value)},$(e.value),5),n("span",Md,[b($t,{soc:s(me).batterySoc},null,8,["soc"])])]),default:w(()=>[n("div",Cd,[b(Y,{heading:"Leistung:",class:"grid-left grid-col-4"},{default:w(()=>[n("span",null,$(a.value),1)]),_:1}),b(Y,{heading:"Geladen:",class:"grid-col-4"},{default:w(()=>[n("span",null,$(s(ct)(s(G).batIn.energy)),1)]),_:1}),b(Y,{heading:"Geliefert",class:"grid-right grid-col-4"},{default:w(()=>[n("span",null,$(s(ct)(s(R).batOut.energy)),1)]),_:1})]),(i(!0),g(z,null,X(s(ve),([h,p])=>(i(),M(Sd,{key:h,bat:p},null,8,["bat"]))),128))]),_:1})):y("",!0)}}),Vt=U(Id,[["__scopeId","data-v-1f918d89"]]),Pd={class:"d-flex float-right justify-content-end align-items-center"},Bd={key:0,class:"my-0 badge rounded-pill tempbadge mx-1"},Vd={class:"subgrid"},Ld=V({__name:"SHListItem",props:{device:{}},setup(t){const e=t,a=m(()=>e.device.status=="on"?"fa-toggle-on":e.device.status=="waiting"?"fa-spinner fa-spin":"fa-toggle-off"),o=m(()=>{let p="var(--color-switchRed)";switch(e.device.status){case"on":p="var(--color-switchGreen)";break;case"detection":p="var(--color-switchBlue)";break;case"timeout":p="var(--color-switchWhite)";break;case"waiting":p="var(--color-menu)";break;default:p="var(--color-switchRed)"}return{color:p}});function r(){e.device.isAutomatic||(e.device.status=="on"?ee("shSwitchOn",0,e.device.id):ee("shSwitchOn",1,e.device.id),ne.get(e.device.id).status="waiting")}function l(){e.device.isAutomatic?ee("shSetManual",1,e.device.id):ee("shSetManual",0,e.device.id)}const h=m(()=>e.device.isAutomatic?"Auto":"Man");return(p,d)=>(i(),M(Qe,{titlecolor:p.device.color,fullwidth:!0},{title:w(()=>[H($(p.device.name),1)]),buttons:w(()=>[n("div",Pd,[(i(!0),g(z,null,X(p.device.temp,(u,c)=>(i(),g("span",{key:c,class:"p-0 m-0 align-items-center d-flex"},[u<300?(i(),g("span",Bd,$(s(No)(u)),1)):y("",!0)]))),128)),e.device.canSwitch?(i(),g("span",{key:0,class:j([a.value,"fa statusbutton mr-2 ms-4"]),style:Q(o.value),onClick:r},null,6)):y("",!0),e.device.canSwitch?(i(),g("span",{key:1,class:"badge rounded-pill modebutton mx-2",onClick:l},$(h.value),1)):y("",!0)])]),default:w(()=>[n("div",Vd,[b(Y,{heading:"Leistung:",class:"grid-col-4 grid-left"},{default:w(()=>[b(ht,{watt:p.device.power},null,8,["watt"])]),_:1}),b(Y,{heading:"Energie:",class:"grid-col-4"},{default:w(()=>[b(je,{"watt-h":p.device.energy},null,8,["watt-h"])]),_:1}),b(Y,{heading:"Laufzeit:",class:"grid-col-4 grid-right"},{default:w(()=>[H($(s(Uo)(p.device.runningTime)),1)]),_:1})])]),_:1},8,["titlecolor"]))}}),Ad=U(Ld,[["__scopeId","data-v-6874b6fd"]]),gt=t=>(ae("data-v-8a6cbaf7"),t=t(),oe(),t),Od=gt(()=>n("span",{class:"fas fa-plug me-2",style:{color:"var(--color-devices)"}}," ",-1)),Td={class:"sh-title py-4"},Dd=gt(()=>n("span",{class:"fa-solid fa-lg ps-1 fa-ellipsis-vertical"},null,-1)),Wd=[Dd],Gd=gt(()=>n("span",{class:"fas fa-gear"}," ",-1)),zd=gt(()=>n("span",{class:"fa-solid fa-lg ps-1 fa-circle-check"},null,-1)),Ed=[zd],jd=["id","onUpdate:modelValue","value"],Ud=["for"],Fd=gt(()=>n("div",{class:"col-12 mb-3 pe-3 mt-0"},[n("button",{class:"btn btn-sm btn-secondary float-end"},"Schließen")],-1)),Nd=[Fd],Hd=3,Rd=V({__name:"SmartHomeList",setup(t){const e=m(()=>Ne.value?a.value.reduce((h,p)=>{const d=h;let u=h[h.length-1];return u.length>=Hd?h.push([p]):u.push(p),d},[]):[a.value]),a=m(()=>[...ne.values()].filter(h=>h.configured));function o(h){return"Geräte"+(Ne.value&&e.value.length>1?"("+(h+1)+")":"")}function r(){l.value=!l.value}const l=Z(!1);return(h,p)=>(i(),g(z,null,[(i(!0),g(z,null,X(e.value,(d,u)=>(i(),M(Oe,{key:u,"variable-width":!0},{title:w(()=>[n("span",{onClick:r},[Od,n("span",Td,$(o(u)),1)])]),buttons:w(()=>[n("span",{class:"ms-2 pt-1",onClick:r},Wd)]),default:w(()=>[(i(!0),g(z,null,X(d,c=>(i(),M(Ad,{key:c.id,device:c,class:"subgrid pb-2"},null,8,["device"]))),128))]),_:2},1024))),128)),l.value?(i(),M(Oe,{key:0},{title:w(()=>[n("span",{class:"smarthome",onClick:r},[Gd,H(" Einstellungen")])]),buttons:w(()=>[n("span",{class:"ms-2 pt-1",onClick:r},Ed)]),default:w(()=>[b(N,{title:"Im Energie-Graph anzeigen:",icon:"fa-chart-column",fullwidth:!0},{default:w(()=>[(i(!0),g(z,null,X(a.value,(d,u)=>(i(),g("div",{key:u},[at(n("input",{id:"check"+u,"onUpdate:modelValue":c=>d.showInGraph=c,class:"form-check-input",type:"checkbox",value:d},null,8,jd),[[Rt,d.showInGraph]]),n("label",{class:"form-check-label px-2",for:"check"+u},$(d.name),9,Ud)]))),128))]),_:1}),n("div",{class:"row p-0 m-0",onClick:r},Nd)]),_:1})):y("",!0)],64))}}),Lt=U(Rd,[["__scopeId","data-v-8a6cbaf7"]]),Jd={class:"countername"},qd={class:"d-flex float-right justify-content-end align-items-center"},Yd={class:"badge rounded-pill idbadge mx-2"},Qd={class:"subgrid pt-1"},Zd=V({__name:"ClCounter",props:{counter:{}},setup(t){const e=t,a=m(()=>e.counter.power>0?"Bezug":"Export"),o=m(()=>{let r="";return e.counter.power>0?r="var(--color-evu)":r="var(--color-pv)",{"background-color":r,"font-weight":"normal"}});return(r,l)=>(i(),M(Qe,{titlecolor:"var(--color-title)",fullwidth:!0},{title:w(()=>[n("span",Jd,$(r.counter.name),1)]),buttons:w(()=>[n("div",qd,[e.counter.power!=0?(i(),g("span",{key:0,class:"badge rounded-pill modebadge mx-2",style:Q(o.value)},$(a.value),5)):y("",!0),n("span",Yd,"ID: "+$(e.counter.id),1)])]),default:w(()=>[n("div",Qd,[b(Y,{heading:"Leistung:",small:!0,class:"grid-left grid-col-4"},{default:w(()=>[b(ht,{watt:Math.abs(e.counter.power)},null,8,["watt"])]),_:1}),b(Y,{heading:"Bezogen:",small:!0,class:"grid-col-4"},{default:w(()=>[b(je,{"watt-h":e.counter.energy_imported},null,8,["watt-h"])]),_:1}),b(Y,{heading:"Exportiert:",small:!0,class:"grid-right grid-col-4"},{default:w(()=>[b(je,{"watt-h":e.counter.energy_exported},null,8,["watt-h"])]),_:1})])]),_:1}))}}),Xd=U(Zd,[["__scopeId","data-v-b262baef"]]);class Kd{constructor(e){f(this,"id");f(this,"name","Zähler");f(this,"power",0);f(this,"energy_imported",0);f(this,"energy_exported",0);f(this,"grid",!1);f(this,"type","counter");f(this,"color","var(--color-evu)");f(this,"energyPv",0);f(this,"energyBat",0);f(this,"pvPercentage",0);f(this,"icon","");this.id=e}}const ye=re({});function eu(t,e){if(t in ye)console.info("Duplicate counter message: "+t);else switch(ye[t]=new Kd(t),ye[t].type=e,e){case"counter":ye[t].color="var(--color-evu)";break;case"inverter":ye[t].color="var(--color-pv)";break;case"cp":ye[t].color="var(--color-charging)";break;case"bat":ye[t].color="var(--color-bat)";break}}const Ea=t=>(ae("data-v-2aee2e34"),t=t(),oe(),t),tu=Ea(()=>n("span",{class:"fas fa-bolt me-2",style:{color:"var(--color-evu)"}}," ",-1)),au=Ea(()=>n("span",null,"Zähler",-1)),ou=V({__name:"CounterList",setup(t){return(e,a)=>(i(),M(Oe,{"variable-width":!0},{title:w(()=>[tu,au]),default:w(()=>[(i(!0),g(z,null,X(s(ye),(o,r)=>(i(),g("div",{key:r,class:"subgrid pb-2"},[b(Xd,{counter:o},null,8,["counter"])]))),128))]),_:1}))}}),At=U(ou,[["__scopeId","data-v-2aee2e34"]]),nu={class:"subgrid"},su=V({__name:"VlVehicle",props:{vehicle:{}},setup(t){const e=t,a=m(()=>{let r="Unterwegs",l=e.vehicle.chargepoint;return l!=null&&(l.isCharging?r="Lädt ("+l.name+")":l.isPluggedIn&&(r="Bereit ("+l.name+")")),r}),o=m(()=>{let r=e.vehicle.chargepoint;return r!=null?r.isLocked?"var(--color-evu)":r.isCharging?"var(--color-charging)":r.isPluggedIn?"var(--color-battery)":"var(--color-axis)":"var(--color-axis)"});return(r,l)=>(i(),M(Qe,{titlecolor:"var(--color-title)",fullwidth:!0},{title:w(()=>[H($(e.vehicle.name),1)]),default:w(()=>[n("div",nu,[b(Y,{heading:"Status:",small:!1,class:"grid-left grid-col-4"},{default:w(()=>[n("span",{style:Q({color:o.value}),class:"d-flex justify-content-center align-items-center status-string"},$(a.value),5)]),_:1}),b(Y,{heading:"Ladestand:",small:!1,class:"grid-col-4"},{default:w(()=>[H($(Math.round(e.vehicle.soc))+" % ",1)]),_:1}),b(Y,{heading:"Reichweite:",small:!1,class:"grid-right grid-col-4"},{default:w(()=>[H($(Math.round(e.vehicle.range))+" km ",1)]),_:1})])]),_:1}))}}),ru=U(su,[["__scopeId","data-v-c9cd068c"]]),ja=t=>(ae("data-v-98fe336a"),t=t(),oe(),t),iu=ja(()=>n("span",{class:"fas fa-car me-2",style:{color:"var(--color-charging)"}}," ",-1)),lu=ja(()=>n("span",null,"Fahrzeuge",-1)),cu=V({__name:"VehicleList",setup(t){return(e,a)=>(i(),M(Oe,{"variable-width":!0},{title:w(()=>[iu,lu]),default:w(()=>[(i(!0),g(z,null,X(Object.values(s(q)).filter(o=>o.visible),(o,r)=>(i(),g("div",{key:r,class:"subgrid"},[b(ru,{vehicle:o},null,8,["vehicle"])]))),128))]),_:1}))}}),Ot=U(cu,[["__scopeId","data-v-98fe336a"]]),Ua=t=>(ae("data-v-4678d1ab"),t=t(),oe(),t),du=Ua(()=>n("span",{class:"fas fa-coins me-2",style:{color:"var(--color-battery)"}}," ",-1)),uu=Ua(()=>n("span",null,"Strompreis",-1)),hu={class:"d-flex float-right justify-content-end align-items-center"},pu={key:0,class:"badge rounded-pill pricebadge mb-1 me-1"},gu={key:1,class:"badge rounded-pill providerbadge mb-1 m-0"},mu={class:"grapharea"},vu={id:"pricechart",class:"p-1 m-0 pricefigure"},fu={viewBox:"0 0 400 280"},_u=["id","origin","transform"],Tt=380,Dt=250,Wt=12,bu=V({__name:"GlobalPriceChart",props:{id:{}},setup(t){const e=t,a=Z(!1),o={top:0,bottom:15,left:20,right:0},r=m(()=>{let P=[];return te.etPriceList.size>0&&te.etPriceList.forEach((T,E)=>{P.push([E,T])}),P}),l=m(()=>r.value.length>1?(Tt-o.left-o.right)/r.value.length:0),h=m(()=>{let P=Pe(r.value,T=>T[0]);return P[1]&&(P[1]=new Date(P[1]),P[1].setTime(P[1].getTime()+36e5)),qe().range([o.left,Tt-o.right]).domain(P)}),p=m(()=>{let P=Pe(r.value,T=>T[1]);return P[0]=Math.floor(P[0])-1,P[1]=Math.floor(P[1])+1,P}),d=m(()=>Ye().range([Dt-o.bottom,0]).domain(p.value)),u=m(()=>st(h.value).ticks(r.value.length).tickSize(5).tickSizeInner(-Dt).tickFormat(P=>P.getHours()%6==0?tt("%H:%M")(P):"")),c=m(()=>ut(d.value).ticks(15).tickSize(0).tickSizeInner(-(Tt-o.right-o.left)).tickFormat(P=>P.toString())),C=m(()=>{a.value==!0;const P=le("g#"+J.value);P.selectAll("*").remove(),P.selectAll("bar").data(r.value).enter().append("g").append("rect").attr("class","bar").attr("x",k=>h.value(k[0])).attr("y",k=>d.value(k[1])).attr("width",l.value).attr("height",k=>d.value(p.value[0])-d.value(k[1])).attr("fill","var(--color-charging)");const E=P.append("g").attr("class","axis").call(u.value);E.attr("transform","translate(0,"+(Dt-o.bottom)+")"),E.selectAll(".tick").attr("font-size",Wt).attr("color","var(--color-bg)"),E.selectAll(".tick line").attr("stroke","var(--color-bg)").attr("stroke-width",k=>k.getHours()%6==0?"2":"0.5"),E.select(".domain").attr("stroke","var(--color-bg");const D=P.append("g").attr("class","axis").call(c.value);D.attr("transform","translate("+o.left+",0)"),D.selectAll(".tick").attr("font-size",Wt).attr("color","var(--color-bg)"),D.selectAll(".tick line").attr("stroke","var(--color-bg)").attr("stroke-width",k=>k%5==0?"2":"0.5"),D.select(".domain").attr("stroke","var(--color-bg)");const O=P.selectAll("ttip").data(r.value).enter().append("g").attr("class","ttarea");O.append("rect").attr("x",k=>h.value(k[0])).attr("y",k=>d.value(k[1])).attr("height",k=>d.value(p.value[0])-d.value(k[1])).attr("class","ttrect").attr("width",l.value).attr("opacity","1%").attr("fill","var(--color-charging)");const F=O.append("g").attr("class","ttmessage").attr("transform",k=>"translate("+(h.value(k[0])-30+l.value/2)+","+(d.value(k[1])-16)+")");F.append("rect").attr("rx",5).attr("width","60").attr("height","30").attr("fill","var(--color-menu)");const I=F.append("text").attr("text-anchor","middle").attr("x",30).attr("y",12).attr("font-size",Wt).attr("fill","var(--color-bg)");return I.append("tspan").attr("x",30).attr("dy","0em").text(k=>tt("%H:%M")(k[0])),I.append("tspan").attr("x",30).attr("dy","1.1em").text(k=>Math.round(k[1]*10)/10+" ct"),"PriceChart.vue"}),J=m(()=>"priceChartCanvas"+e.id);return Be(()=>{a.value=!a.value}),(P,T)=>(i(),M(Oe,{"variable-width":!0},{title:w(()=>[du,uu]),buttons:w(()=>[n("div",hu,[s(te).active?(i(),g("span",pu,$(s(te).etCurrentPriceString),1)):y("",!0),s(te).active?(i(),g("span",gu,$(s(te).etProvider),1)):y("",!0)])]),default:w(()=>[n("div",mu,[n("figure",vu,[(i(),g("svg",fu,[n("g",{id:J.value,origin:C.value,transform:"translate("+o.top+","+o.left+") "},null,8,_u)]))])])]),_:1}))}}),Gt=U(bu,[["__scopeId","data-v-4678d1ab"]]),yu={class:"d-flex float-right justify-content-end align-items-center"},wu={key:0,class:"my-0 badge rounded-pill modebadge mx-1"},ku={class:"subgrid pt-1"},Su=V({__name:"IlInverter",props:{inverter:{}},setup(t){const e=t,a=m(()=>({color:e.inverter.color}));return(o,r)=>(i(),M(Qe,{titlecolor:"var(--color-title)",fullwidth:!0},{title:w(()=>[n("span",{class:"invertername",style:Q(a.value)},$(o.inverter.name),5)]),buttons:w(()=>[n("div",yu,[e.inverter.power<0?(i(),g("span",wu,$(s(Se)(-e.inverter.power)),1)):y("",!0)])]),default:w(()=>[n("div",ku,[b(Y,{heading:"Heute:",small:!1,class:"grid-col-4"},{default:w(()=>[b(je,{"watt-h":e.inverter.energy},null,8,["watt-h"])]),_:1}),b(Y,{heading:"Monat:",small:!1,class:"grid-right grid-col-4"},{default:w(()=>[b(je,{"watt-h":e.inverter.energy_month},null,8,["watt-h"])]),_:1}),b(Y,{heading:"Jahr:",small:!1,class:"grid-right grid-col-4"},{default:w(()=>[b(je,{"watt-h":e.inverter.energy_year},null,8,["watt-h"])]),_:1})])]),_:1}))}}),xu=U(Su,[["__scopeId","data-v-486e35d8"]]),Fa=t=>(ae("data-v-c565fec8"),t=t(),oe(),t),$u=Fa(()=>n("span",{class:"fas fa-solar-panel me-2",style:{color:"var(--color-pv)"}}," ",-1)),Mu=Fa(()=>n("span",null,"Wechselrichter",-1)),Cu={key:0,class:"badge powerbadge rounded-pill"},Iu=V({__name:"InverterList",setup(t){return(e,a)=>(i(),M(Oe,{"variable-width":!0},{title:w(()=>[$u,Mu]),buttons:w(()=>[s(R).pv.power>0?(i(),g("span",Cu,$(s(Se)(s(R).pv.power)),1)):y("",!0)]),default:w(()=>[(i(!0),g(z,null,X(s(ke),([o,r])=>(i(),g("div",{key:o,class:"subgrid pb-2"},[b(xu,{inverter:r},null,8,["inverter"])]))),128))]),_:1}))}}),zt=U(Iu,[["__scopeId","data-v-c565fec8"]]),Pu={class:"row py-0 px-0 m-0"},Bu=["breakpoints"],Vu=V({__name:"CarouselFix",setup(t){let e,a;const o=Z(!1),r=m(()=>o.value?{992:{slidesPerView:1,spaceBetween:0}}:{992:{slidesPerView:3,spaceBetween:0}});return lo(()=>v.zoomGraph,l=>{if(e){let h=l?"1":"3";a.setAttribute("slides-per-view",h),e.activeIndex=1,e.update()}}),Be(()=>{let l=document.querySelector(".swiper-carousel");l&&(a=l,e=a.swiper)}),(l,h)=>(i(),g("div",Pu,[n("swiper-container",{"space-between":0,pagination:{clickable:!0},"slides-per-view":"1",class:"p-0 m-0 swiper-carousel",breakpoints:r.value},[n("swiper-slide",null,[n("div",{class:j([s(Ne)?"mb-0":"mb-5","flex-fill d-flex align-items-stretch"])},[he(l.$slots,"item1",{},void 0,!0)],2)]),n("swiper-slide",null,[n("div",{class:j([s(Ne)?"mb-0":"mb-5","flex-fill d-flex align-items-stretch"])},[he(l.$slots,"item2",{},void 0,!0)],2)]),n("swiper-slide",null,[n("div",{class:j([s(Ne)?"mb-0":"mb-5","flex-fill d-flex align-items-stretch"])},[he(l.$slots,"item3",{},void 0,!0)],2)])],8,Bu)]))}}),Lu=U(Vu,[["__scopeId","data-v-dc35b0f6"]]);function Au(t,e){t=="openWB/graph/boolDisplayLiveGraph"?me.displayLiveGraph=+e==1:t.match(/^openwb\/graph\/alllivevaluesJson[1-9][0-9]*$/i)?Ou(t,e):t=="openWB/graph/lastlivevaluesJson"?Tu(t,e):t=="openWB/graph/config/duration"&&(ue.duration=JSON.parse(e))}function Ou(t,e){if(!ue.initialized){let a=[];const o=e.toString().split(` +`);o.length>1?a=o.map(h=>JSON.parse(h)):a=[];const r=t.match(/(\d+)$/g),l=r?r[0]:"";l!=""&&typeof ue.rawDataPacks[+l-1]>"u"&&(ue.rawDataPacks[+l-1]=a,ue.initCounter++)}if(ue.initCounter==16){const a=[];ue.unsubscribeRefresh(),ue.initialized=!0,ue.rawDataPacks.forEach(o=>{o.forEach(r=>{const l=Na(r);a.push(l)})}),pt(a),ue.subscribeUpdates()}}function Tu(t,e){const a=JSON.parse(e),o=Na(a);ue.graphRefreshCounter++,pt(_.data.concat(o)),ue.graphRefreshCounter>60&&ue.activate()}function Na(t){const e=Object.values(B).length>0?"ev"+Object.values(B)[0].connectedVehicle+"-soc":"ev0-soc",a=Object.values(B).length>1?"ev"+Object.values(B)[1].connectedVehicle+"-soc":"ev1-soc",o={};o.date=+t.timestamp*1e3,+t.grid>0?(o.evuIn=+t.grid,o.evuOut=0):+t.grid<=0?(o.evuIn=0,o.evuOut=-t.grid):(o.evuIn=0,o.evuOut=0),+t["pv-all"]>=0?(o.pv=+t["pv-all"],o.inverter=0):(o.pv=0,o.inverter=-t["pv-all"]),o.house=+t["house-power"],+t["bat-all-power"]>0?(o.batOut=0,o.batIn=+t["bat-all-power"]):+t["bat-all-power"]<0?(o.batOut=-t["bat-all-power"],o.batIn=0):(o.batOut=0,o.batIn=0),t["bat-all-soc"]?o.batterySoc=+t["bat-all-soc"]:o.batterySoc=0,t[e]&&(o.soc0=+t["ev0-soc"]),t[a]&&(o.soc1=+t["ev1-soc"]),o.charging=+t["charging-all"];for(let r=0;r<10;r++){const l="cp"+r;o[l]=+(t[l+"-power"]??0)}return o.selfUsage=o.pv-o.evuOut,o.selfUsage<0&&(o.selfUsage=0),o.devices=0,o}const Du=["evuIn","pv","batOut","evuOut","charging","house"];let wt=[];function Wu(t,e){const{entries:a,names:o,totals:r}=JSON.parse(e);Ge.value=new Map(Object.entries(o)),Yt(),wt=[],Zt.forEach(h=>{A.setEnergyPv(h,0),A.setEnergyBat(h,0)});const l=Gu(a);pt(l),Xt(r,wt),v.debug&&Eu(a,r,l),_.graphMode=="today"&&setTimeout(()=>ie.activate(),3e5)}function Gu(t){const e=[];let a={};return t.forEach(o=>{a=zu(o);const r=a;e.push(r)}),e}function zu(t){const e={};return e.date=t.timestamp*1e3,e.evuOut=0,e.evuIn=0,Object.entries(t.counter).forEach(([o,r])=>{r.grid&&(e.evuOut+=r.power_exported,e.evuIn+=r.power_imported,wt.includes(o)||wt.push(o))}),e.evuOut==0&&e.evuIn==0&&Object.entries(t.counter).forEach(o=>{e.evuOut+=o[1].power_exported,e.evuIn+=o[1].power_imported}),Object.entries(t.pv).forEach(([o,r])=>{o!="all"?e[o]=r.power_exported:e.pv=r.power_exported}),Object.entries(t.bat).length>0?(e.batIn=t.bat.all.power_imported,e.batOut=t.bat.all.power_exported,e.batSoc=t.bat.all.soc??0):(e.batIn=0,e.batOut=0,e.batSoc=0),Object.entries(t.cp).forEach(([o,r])=>{o!="all"?(e[o]=r.power_imported,A.keys().includes(o)||A.addItem(o)):e.charging=r.power_imported}),Object.entries(t.ev).forEach(([o,r])=>{o!="all"&&(e["soc"+o.substring(2)]=r.soc)}),e.devices=0,Object.entries(t.sh).forEach(([o,r])=>{o!="all"&&(e[o]=r.power_imported??0,e.devices+=r.power_imported??0,A.keys().includes(o)||(A.addItem(o),A.items[o].showInGraph=ne.get(+o.slice(2)).showInGraph))}),e.selfUsage=Math.max(0,e.pv-e.evuOut),t.hc&&t.hc.all?e.house=t.hc.all.power_imported:e.house=e.evuIn+e.batOut+e.pv-e.evuOut-e.charging-e.devices-e.batOut,e.evuIn+e.batOut+e.pv>0?A.keys().filter(o=>!Du.includes(o)&&o!="charging").forEach(o=>{bn(o,e)}):Object.keys(e).forEach(o=>{e[o+"Pv"]=0,e[o+"Bat"]=0}),e}function Eu(t,e,a){console.debug("---------------------------------------- Graph Data -"),console.debug(["--- Incoming graph data:",t]),console.debug(["--- Incoming energy data:",e]),console.debug(["--- Data to be displayed:",a]),console.debug("-----------------------------------------------------")}let mt={};const ea=["charging","house","batIn","devices"],ju=["evuIn","pv","batOut","evuOut"];let Je=[];function Uu(t,e){const{entries:a,names:o,totals:r}=JSON.parse(e);Ge.value=new Map(Object.entries(o)),Yt(),Je=[],ea.forEach(l=>{A.items[l].energyPv=0,A.items[l].energyBat=0}),a.length>0&&pt(Ha(a)),Xt(r,Je)}function Fu(t,e){const{entries:a,names:o,totals:r}=JSON.parse(e);Ge.value=new Map(Object.entries(o)),Yt(),Je=[],ea.forEach(l=>{A.items[l].energyPv=0,A.items[l].energyBat=0}),a.length>0&&pt(Ha(a)),Xt(r,Je)}function Ha(t){const e=[];let a={};return mt={},t.forEach(o=>{a=Nu(o),e.push(a),Object.keys(a).forEach(r=>{r!="date"&&(a[r]<0&&(console.warn(`Negative energy value for ${r} in row ${a.date}. Ignoring the value.`),a[r]=0),mt[r]?mt[r]+=a[r]:mt[r]=a[r])})}),e}function Nu(t){const e={},a=co("%Y%m%d")(t.date);a&&(e.date=_.graphMode=="month"?a.getDate():a.getMonth()+1),e.evuOut=0,e.evuIn=0;let o=0,r=0;return Object.entries(t.counter).forEach(([h,p])=>{o+=p.energy_exported,r+=p.energy_imported,p.grid&&(e.evuOut+=p.energy_exported,e.evuIn+=p.energy_imported,Je.includes(h)||Je.push(h))}),Je.length==0&&(e.evuOut=o,e.evuIn=r),e.pv=t.pv.all.energy_exported,Object.entries(t.bat).length>0?(t.bat.all.energy_imported>=0?e.batIn=t.bat.all.energy_imported:(console.warn("ignoring negative value for batIn on day "+e.date),e.batIn=0),t.bat.all.energy_exported>=0?e.batOut=t.bat.all.energy_exported:(console.warn("ignoring negative value for batOut on day "+e.date),e.batOut=0)):(e.batIn=0,e.batOut=0),Object.entries(t.cp).forEach(([h,p])=>{h!="all"?(A.keys().includes(h)||A.addItem(h),e[h]=p.energy_imported):e.charging=p.energy_imported}),Object.entries(t.ev).forEach(([h,p])=>{h!="all"&&(e["soc-"+h]=p.soc)}),e.devices=Object.entries(t.sh).reduce((h,p)=>(A.keys().includes(p[0])||A.addItem(p[0]),p[1].energy_imported>=0?h+=p[1].energy_imported:console.warn(`Negative energy value for device ${p[0]} in row ${e.date}. Ignoring this value`),h),0),t.hc&&t.hc.all?e.house=t.hc.all.energy_imported:e.house=e.pv+e.evuIn+e.batOut-e.evuOut-e.batIn-e.charging,e.selfUsage=e.pv-e.evuOut,e.evuIn+e.batOut+e.pv>0?A.keys().filter(h=>!ju.includes(h)).forEach(h=>{yn(h,e)}):ea.map(h=>{e[h+"Pv"]=0,e[h+"Bat"]=0}),e}function Hu(t,e){const a=Ru(t);if(a&&!ve.value.has(a)){console.warn("Invalid battery index: ",a);return}t=="openWB/bat/config/configured"?me.isBatteryConfigured=e=="true":t=="openWB/bat/get/power"?+e>0?(G.batIn.power=+e,R.batOut.power=0):(G.batIn.power=0,R.batOut.power=-e):t=="openWB/bat/get/soc"?me.batterySoc=+e:t=="openWB/bat/get/daily_exported"?R.batOut.energy=+e:t=="openWB/bat/get/daily_imported"?G.batIn.energy=+e:a&&ve.value.has(a)&&(t.match(/^openwb\/bat\/[0-9]+\/get\/daily_exported$/i)?ve.value.get(a).dailyYieldExport=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/daily_imported$/i)?ve.value.get(a).dailyYieldImport=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/exported$/i)?ve.value.get(a).exported=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/fault_state$/i)?ve.value.get(a).faultState=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/fault_str$/i)?ve.value.get(a).faultStr=e:t.match(/^openwb\/bat\/[0-9]+\/get\/imported$/i)?ve.value.get(a).imported=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/power$/i)?ve.value.get(a).power=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/soc$/i)?ve.value.get(a).soc=+e:console.log(t,e))}function Ru(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}function Ju(t,e){if(t=="openWB/optional/et/provider")JSON.parse(e).type==null?te.active=!1:(te.active=!0,te.etProvider=JSON.parse(e).name);else if(t=="openWB/optional/et/get/prices"){const a=JSON.parse(e);te.etPriceList=new Map,Object.keys(a).forEach(o=>{te.etPriceList.set(new Date(+o*1e3),a[o]*1e5)})}}function qu(t,e){const a=Ra(t);if(a&&!(a in B)){console.warn("Invalid chargepoint id received: "+a);return}if(t=="openWB/chargepoint/get/power"?G.charging.power=+e:t=="openWB/chargepoint/get/daily_imported"&&(G.charging.energy=+e),t=="openWB/chargepoint/get/daily_exported")me.cpDailyExported=+e;else if(a){if(t.match(/^openwb\/chargepoint\/[0-9]+\/config$/i))if(B[a]){const o=JSON.parse(e);B[a].name=o.name,B[a].icon=o.name,de["cp"+a]?(de["cp"+a].name=o.name,de["cp"+a].icon=o.name):de["cp"+a]={name:o.name,icon:o.name,color:"var(--color-charging)"}}else console.warn("invalid chargepoint index: "+a);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/state_str$/i))B[a].stateStr=JSON.parse(e);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/fault_str$/i))B[a].faultStr=JSON.parse(e);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/fault_state$/i))B[a].faultState=+e;else if(t.match(/^openWB\/chargepoint\/[0-9]+\/get\/power$/i))B[a].power=+e;else if(t.match(/^openWB\/chargepoint\/[0-9]+\/get\/daily_imported$/i))B[a].dailyYield=+e;else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/plug_state$/i))B[a].isPluggedIn=e=="true";else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/charge_state$/i))B[a].isCharging=e=="true";else if(t.match(/^openwb\/chargepoint\/[0-9]+\/set\/manual_lock$/i))B[a].updateIsLocked(e=="true");else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/enabled$/i))B[a].isEnabled=e=="1";else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/phases_in_use/i))B[a].phasesInUse=+e;else if(t.match(/^openwb\/chargepoint\/[0-9]+\/set\/current/i))B[a].current=+e;else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/currents/i))B[a].currents=JSON.parse(e);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/set\/log/i)){const o=JSON.parse(e);B[a].chargedSincePlugged=o.imported_since_plugged}else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/connected_vehicle\/soc$/i)){const o=JSON.parse(e);B[a].soc=o.soc,B[a].waitingForSoc=!1,B[a].rangeCharged=o.range_charged,B[a].rangeUnit=o.range_unit}else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/connected_vehicle\/info$/i)){const o=JSON.parse(e);B[a].vehicleName=String(o.name),B[a].updateConnectedVehicle(+o.id)}else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/connected_vehicle\/config$/i)){const o=JSON.parse(e);switch(o.chargemode){case"instant_charging":B[a].updateChargeMode(fe.instant_charging);break;case"pv_charging":B[a].updateChargeMode(fe.pv_charging);break;case"scheduled_charging":B[a].updateChargeMode(fe.scheduled_charging);break;case"standby":B[a].updateChargeMode(fe.standby);break;case"stop":B[a].updateChargeMode(fe.stop);break}B[a].chargeTemplate=o.charge_template,B[a].averageConsumption=o.average_consumption}}}function Yu(t,e){const a=Ra(t);if(a!=null){if(!(a in q)){const o=new xo(a);a==0&&!v.showStandardVehicle&&(o.visible=!1),q[a]=o}if(t.match(/^openwb\/vehicle\/[0-9]+\/name$/i))Object.values(B).forEach(o=>{o.connectedVehicle==a&&(o.vehicleName=JSON.parse(e))}),q[a].name=JSON.parse(e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/get\/soc$/i))q[a].soc=JSON.parse(e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/get\/range$/i))isNaN(+e)?q[a].range=0:q[a].range=+e;else if(t.match(/^openwb\/vehicle\/[0-9]+\/charge_template$/i))q[a].updateChargeTemplateId(+e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/ev_template$/i))q[a].updateEvTemplateId(+e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/soc_module\/config$/i)){const o=JSON.parse(e);Object.values(B).forEach(r=>{r.connectedVehicle==a&&(r.isSocConfigured=o.type!==null,r.isSocManual=o.type=="manual")})}}}function Qu(t,e){if(t.match(/^openwb\/vehicle\/template\/charge_template\/[0-9]+$/i)){const a=t.match(/[0-9]+$/i);if(a){const o=+a[0],r=JSON.parse(e);be[o]=r,Zu(o,r)}}else if(t.match(/^openwb\/vehicle\/template\/charge_template\/[0-9]+\/time_charging\/plans\/[0-9]+$/i)){const a=t.match(/(?:\/)([0-9]+)(?:\/)/g),o=t.match(/[0-9]+$/i);if(a&&o){const r=+a[0].replace(/[^0-9]+/g,""),l=+o[0],h=JSON.parse(e);r in it||(it[r]=[]),it[r][l]=h}}else if(t.match(/^openwb\/vehicle\/template\/charge_template\/[0-9]+\/chargemode\/scheduled_charging\/plans\/[0-9]+$/i)){const a=t.match(/(?:\/)([0-9]+)(?:\/)/g),o=t.match(/[0-9]+$/i);if(a&&o){const r=+a[0].replace(/[^0-9]+/g,""),l=+o[0],h=JSON.parse(e);r in rt||(rt[r]=[]),rt[r][l]=h}}else if(t.match(/^openwb\/vehicle\/template\/ev_template\/[0-9]+$/i)){const a=t.match(/[0-9]+$/i);if(a){const o=+a[0],r=JSON.parse(e);Ft[o]=r}}}function Zu(t,e){Object.values(B).forEach(a=>{a.chargeTemplate==t&&(a.updateCpPriority(e.prio),a.updateInstantChargeLimitMode(e.chargemode.instant_charging.limit.selected),a.updateInstantTargetCurrent(e.chargemode.instant_charging.current),a.updateInstantTargetSoc(e.chargemode.instant_charging.limit.soc),a.updateInstantMaxEnergy(e.chargemode.instant_charging.limit.amount),a.updatePvFeedInLimit(e.chargemode.pv_charging.feed_in_limit),a.updatePvMinCurrent(e.chargemode.pv_charging.min_current),a.updatePvMaxSoc(e.chargemode.pv_charging.max_soc),a.updatePvMinSoc(e.chargemode.pv_charging.min_soc),a.updatePvMinSocCurrent(e.chargemode.pv_charging.min_soc_current))})}function Ra(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}function Xu(t,e){t.match(/^openWB\/LegacySmarthome\/config\//i)?Ku(t,e):t.match(/^openWB\/LegacySmarthome\/Devices\//i)&&eh(t,e)}function Ku(t,e){const a=Ja(t);if(a==null)return;ne.has(a)||Qt(a);const o=ne.get(a);t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_configured$/i)?o.configured=e!="0":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_name$/i)?(o.name=e.toString(),o.icon=e.toString(),de["sh"+a].name=e.toString(),de["sh"+a].icon=e.toString()):t.match(/^openWB\/LegacySmarthome\/config\/set\/Devices\/[0-9]+\/mode$/i)?o.isAutomatic=e=="0":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_canSwitch$/i)?o.canSwitch=e=="1":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_homeConsumtion$/i)?o.countAsHouse=e=="1":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_temperatur_configured$/i)&&(o.tempConfigured=+e)}function eh(t,e){const a=Ja(t);if(a==null){console.warn("Smarthome: Missing index in "+t);return}ne.has(a)||Qt(a);const o=ne.get(a);if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/Watt$/i))o.power=+e,th("power");else if(!t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/Wh$/i)){if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/RunningTimeToday$/i))o.runningTime=+e;else if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/TemperatureSensor0$/i))o.temp[0]=+e;else if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/TemperatureSensor1$/i))o.temp[1]=+e;else if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/TemperatureSensor2$/i))o.temp[2]=+e;else if(t.match(/^openWB\/LegacySmartHome\/Devices\/[0-9]+\/Status$/i))switch(+e){case 10:o.status="off";break;case 11:o.status="on";break;case 20:o.status="detection";break;case 30:o.status="timeout";break;default:o.status="off"}}}function th(t){switch(t){case"power":G.devices.power=[...ne.values()].filter(e=>e.configured&&!e.countAsHouse).reduce((e,a)=>e+a.power,0);break;case"energy":G.devices.energy=[...ne.values()].filter(e=>e.configured&&!e.countAsHouse).reduce((e,a)=>e+a.energy,0);break;default:console.error("Unknown category")}}function Ja(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}const kt=re([]);class ta{constructor(e,a,o,r){f(this,"name");f(this,"children");f(this,"count");f(this,"lastValue");this.name=e,this.children=a,this.count=o,this.lastValue=r}insert(e,a){if(e.length){const o=e.splice(1);if(e[0]==this.name)if(o.length){let r=!1;if(this.children.forEach(l=>{l.name==o[0]&&(l.insert(o,a),r=!0)}),!r){const l=new ta(o[0],[],0,"");l.insert(o,a),this.children.push(l)}}else this.count=this.count+1,this.lastValue=a}}}function ah(t,e){const a=t.split("/");if(a.length){let o=!1;if(kt.forEach(r=>{r.name==a[0]&&(r.insert(a,e),o=!0)}),!o){const r=new ta(a[0],[],0,"");kt.push(r),r.insert(a,e)}}}const oh=["openWB/counter/#","openWB/bat/#","openWB/pv/#","openWB/chargepoint/#","openWB/vehicle/#","openWB/general/chargemode_config/pv_charging/#","openWB/optional/et/#","openWB/system/#","openWB/LegacySmartHome/#","openWB/command/"+Jt()+"/#"];function nh(){wo(sh),oh.forEach(t=>{Re(t)}),ge()}function sh(t,e){ah(t,e.toString());const a=e.toString();t.match(/^openwb\/counter\/[0-9]+\//i)?rh(t,a):t.match(/^openwb\/counter\//i)?ih(t,a):t.match(/^openwb\/bat\//i)?Hu(t,a):t.match(/^openwb\/pv\//i)?lh(t,a):t.match(/^openwb\/chargepoint\//i)?qu(t,a):t.match(/^openwb\/vehicle\/template\//i)?Qu(t,a):t.match(/^openwb\/vehicle\//i)?Yu(t,a):t.match(/^openwb\/general\/chargemode_config\/pv_charging\//i)?ch(t,a):t.match(/^openwb\/graph\//i)?Au(t,a):t.match(/^openwb\/log\/daily\//i)?Wu(t,a):t.match(/^openwb\/log\/monthly\//i)?Uu(t,a):t.match(/^openwb\/log\/yearly\//i)?Fu(t,a):t.match(/^openwb\/optional\/et\//i)?Ju(t,a):t.match(/^openwb\/system\//i)?uh(t,a):t.match(/^openwb\/LegacySmartHome\//i)?Xu(t,a):t.match(/^openwb\/command\//i)&&hh(t,a)}function rh(t,e){const a=t.split("/"),o=+a[2];if(o==me.evuId?dh(t,e):a[3]=="config",a[3]=="get"&&o in ye)switch(a[4]){case"power":ye[o].power=+e;break;case"config":break;case"fault_str":break;case"fault_state":break;case"power_factors":break;case"imported":break;case"exported":break;case"frequency":break;case"daily_imported":ye[o].energy_imported=+e;break;case"daily_exported":ye[o].energy_exported=+e;break}}function ih(t,e){if(t.match(/^openwb\/counter\/get\/hierarchy$/i)){const a=JSON.parse(e);if(a.length){Mo(),bd();for(const o of a)o.type=="counter"&&(me.evuId=o.id);qa(a[0])}}else t.match(/^openwb\/counter\/set\/home_consumption$/i)?G.house.power=+e:t.match(/^openwb\/counter\/set\/daily_yield_home_consumption$/i)&&(G.house.energy=+e)}function qa(t){switch(t.type){case"counter":eu(t.id,t.type);break;case"cp":$o(t.id);break;case"bat":Ga(t.id);break}t.children.forEach(e=>qa(e))}function lh(t,e){const a=ph(t);a&&!ke.value.has(a)&&(console.warn("Creating PV system: "+a),Po(a)),t=="openWB/pv/get/power"?R.pv.power=-e:t=="openWB/pv/get/daily_exported"?R.pv.energy=+e:t.match(/^openWB\/pv\/[0-9]+\/get\/power$/i)?ke.value.get(a).power=+e:t.match(/^openWB\/pv\/[0-9]+\/get\/daily_exported$/i)?ke.value.get(a).energy=+e:t.match(/^openWB\/pv\/[0-9]+\/get\/monthly_exported$/i)?ke.value.get(a).energy_month=+e:t.match(/^openWB\/pv\/[0-9]+\/get\/yearly_exported$/i)?ke.value.get(a).energy_year=+e:t.match(/^openWB\/pv\/[0-9]+\/get\/exported$/i)&&(ke.value.get(a).energy_total=+e)}function ch(t,e){const a=t.split("/");if(a.length>0)switch(a[4]){case"bat_mode":me.updatePvBatteryPriority(JSON.parse(e));break}}function dh(t,e){switch(t.split("/")[4]){case"power":+e>0?(R.evuIn.power=+e,G.evuOut.power=0):(R.evuIn.power=0,G.evuOut.power=-e);break;case"daily_imported":R.evuIn.energy=+e;break;case"daily_exported":G.evuOut.energy=+e;break}}function uh(t,e){if(t.match(/^openWB\/system\/device\/[0-9]+\/component\/[0-9]+\/config$/i)){const a=JSON.parse(e);(a.type=="counter"||a.type=="consumption_counter")&&ye[a.id]?ye[a.id].name=a.name:a.type=="inverter"?(ke.value.has(a.id)||ke.value.set(a.id,new ba(a.id)),ke.value.get(a.id).name=a.name):a.type=="bat"&&(ve.value.has(a.id)||Ga(a.id),ve.value.get(a.id).name=a.name)}}function hh(t,e){const a=t.split("/");if(t.match(/^openWB\/command\/[a-z]+\/error$/i)&&a[2]==Jt()){const o=JSON.parse(e);console.error(`Error message from openWB: +Command: ${o.command} +Data: JSON.stringify(err.data) +Error: + ${o.error}`)}}function ph(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}const gh={key:0,class:"fas fa-caret-down"},mh={key:1,class:"fas fa-caret-right"},vh={key:0,class:"content p-2 m-2"},fh={key:1,class:"sublist col-md-9 m-0 p-0 ps-2"},_h=V({__name:"MqttNode",props:{node:{},level:{},hide:{type:Boolean},expandAll:{type:Boolean}},setup(t){const e=t;let a=Z(!e.hide),o=Z(!1);const r=m(()=>e.node.name),l=m(()=>[...e.node.children].sort((c,C)=>c.namee.node.count>0?"("+e.node.count+")":""),p=m(()=>e.node.children.length),d=m(()=>e.node.lastValue!=""?{"font-style":"italic","grid-column-start":e.level,"grid-column-end":-1}:{"grid-column-start":e.level,"grid-column-end":-1});function u(){p.value>0&&(a.value=!a.value),e.node.lastValue!=""&&(o.value=!o.value)}return(c,C)=>{const J=uo("MqttNode",!0);return i(),g(z,null,[n("div",{class:"name py-2 px-2 m-0",style:Q(d.value),onClick:u},[(s(a)||e.expandAll)&&p.value>0||s(o)?(i(),g("span",gh)):(i(),g("span",mh)),H(" "+$(r.value)+$(h.value),1)],4),s(o)?(i(),g("div",vh,[n("code",null,$(e.node.lastValue),1)])):y("",!0),(s(a)||e.expandAll)&&p.value>0?(i(),g("div",fh,[(i(!0),g(z,null,X(l.value,(P,T)=>(i(),M(J,{key:T,level:e.level+1,node:P,hide:!0,"expand-all":e.expandAll},null,8,["level","node","expand-all"]))),128))])):y("",!0)],64)}}}),bh=U(_h,[["__scopeId","data-v-df7e578a"]]),aa=t=>(ae("data-v-a349646d"),t=t(),oe(),t),yh={class:"mqviewer"},wh={class:"row pt-2"},kh={class:"col"},Sh=aa(()=>n("h3",{class:"mqtitle ps-2"},"MQTT Message Viewer",-1)),xh=aa(()=>n("hr",null,null,-1)),$h=aa(()=>n("hr",null,null,-1)),Mh={key:0,class:"topiclist"},Ch=V({__name:"MQTTViewer",setup(t){Be(()=>{});const e=Z(!1);function a(){e.value=!e.value}const o=m(()=>e.value?"active":"");return(r,l)=>(i(),g("div",yh,[n("div",wh,[n("div",kh,[Sh,xh,n("button",{class:j(["btn btn-small btn-outline-primary ms-2",o.value]),onClick:a}," Expand All ",2),$h])]),s(kt)[0]?(i(),g("div",Mh,[(i(!0),g(z,null,X(s(kt)[0].children.sort((h,p)=>h.name(i(),M(bh,{key:p,node:h,level:1,hide:!0,"expand-all":e.value},null,8,["node","expand-all"]))),128))])):y("",!0)]))}}),Ih=U(Ch,[["__scopeId","data-v-a349646d"]]),Ph=["value"],Bh=V({__name:"SelectInput",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=e,r=m({get(){return a.modelValue},set(l){o("update:modelValue",l)}});return(l,h)=>at((i(),g("select",{id:"selectme","onUpdate:modelValue":h[0]||(h[0]=p=>r.value=p),class:"form-select"},[(i(!0),g(z,null,X(l.options,(p,d)=>(i(),g("option",{key:d,value:p[1]},$(p[0]),9,Ph))),128))],512)),[[ho,r.value]])}}),Vh=U(Bh,[["__scopeId","data-v-5e33ce1f"]]),Ya=t=>(ae("data-v-b2860d58"),t=t(),oe(),t),Lh=Ya(()=>n("span",{type:"button",class:"float-end mt-0 ms-1","data-bs-toggle":"collapse","data-bs-target":"#themesettings"},[n("span",null,[n("i",{class:"fa-solid fa-circle-check"})])],-1)),Ah={class:"subgrid m-0 p-0"},Oh={class:"settingscolumn"},Th={class:"settingscolumn"},Dh={class:"settingscolumn"},Wh=Ya(()=>n("div",{class:"grid-col-12 mb-3 me-3"},[n("button",{class:"btn btn-sm btn-secondary float-end","data-bs-toggle":"collapse","data-bs-target":"#themesettings"}," Schließen ")],-1)),Gh=V({__name:"ThemeSettings",emits:["reset-arcs"],setup(t,{emit:e}){const a=e,o=[["Dunkel","dark"],["Hell","light"],["Blau","blue"]],r=[["3 kW","0"],["3,1 kW","1"],["3,14 kW","2"],["3,141 kW","3"],["3141 W","4"]],l=[["Orange","normal"],["Grün/Violett","standard"],["Bunt","advanced"]],h=[["Aus","off"],["Menü","navbar"],["Buttonleiste","buttonbar"]],p=[["Aus","no"],['"Alles"-Reiter',"infoview"],["Immer","always"]];return(d,u)=>(i(),M(Oe,{"full-width":!0},{title:w(()=>[H(" Look & Feel ")]),buttons:w(()=>[Lh]),default:w(()=>[n("div",Ah,[n("div",Oh,[b(N,{fullwidth:!0,title:"Farbschema",icon:"fa-adjust",infotext:"Hintergrundfarbe"},{default:w(()=>[b(Ee,{modelValue:s(v).displayMode,"onUpdate:modelValue":u[0]||(u[0]=c=>s(v).displayMode=c),options:o},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Farbschema Smart-Home-Geräte",icon:"fa-palette",infotext:"Für die Smart-Home-Geräte stehen mehrere Schemata zur Verfügung."},{default:w(()=>[b(Ee,{modelValue:s(v).smartHomeColors,"onUpdate:modelValue":u[1]||(u[1]=c=>s(v).smartHomeColors=c),options:l},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Grafik: Raster",icon:"fa-th",infotext:"Verwende ein Hintergrundraster in den Grafiken"},{default:w(()=>[b(ce,{modelValue:s(v).showGrid,"onUpdate:modelValue":u[2]||(u[2]=c=>s(v).showGrid=c)},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Variable Bogenlänge",icon:"fa-chart-area",infotext:"Im Graph 'Aktuelle Leistung' können die Bögen immer die volle Länge haben, oder entsprechend des aktuellen Gesamtleistung verkürzt dargestellt werden."},{default:w(()=>[b(ce,{modelValue:s(v).showRelativeArcs,"onUpdate:modelValue":u[3]||(u[3]=c=>s(v).showRelativeArcs=c)},null,8,["modelValue"])]),_:1}),s(v).showRelativeArcs?(i(),M(N,{key:0,fullwidth:!0,title:"Bögen zurücksetzen",icon:"fa-undo",infotext:"Durch Click auf den Button wird die Maximallänge der Bögen auf den aktuellen Wert gesetzt."},{default:w(()=>[s(v).showRelativeArcs?(i(),g("button",{key:0,class:"btn btn-secondary",onClick:u[4]||(u[4]=c=>a("reset-arcs"))}," Reset ")):y("",!0)]),_:1})):y("",!0),b(N,{fullwidth:!0,title:"Anzahl Dezimalstellen",icon:"fa-sliders-h",infotext:"Alle kW- und kWh-Werte werden mit der gewählten Anzahl an Stellen angezeigt."},{default:w(()=>[b(Vh,{modelValue:s(v).decimalPlaces,"onUpdate:modelValue":u[5]||(u[5]=c=>s(v).decimalPlaces=c),options:r},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Uhrzeit anzeigen",icon:"fa-clock",infotext:"Zeige die aktuelle Uhrzeit an. In der Menüleiste oder neben den Lade-Buttons."},{default:w(()=>[b(Ee,{modelValue:s(v).showClock,"onUpdate:modelValue":u[6]||(u[6]=c=>s(v).showClock=c),options:h},null,8,["modelValue"])]),_:1})]),n("div",Th,[b(N,{fullwidth:!0,title:"Kompakte Ladepunktliste",icon:"fa-list",infotext:"Zeige eine einzelne Ladepunktliste statt separater Element pro Ladepunkt."},{default:w(()=>[b(Ee,{modelValue:s(v).shortCpList,"onUpdate:modelValue":u[7]||(u[7]=c=>s(v).shortCpList=c),options:p},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Buttonleiste für Ladepunkte",icon:"fa-window-maximize",infotext:"Informationen zu Ladepunkten über den Diagrammen anzeigen."},{default:w(()=>[b(ce,{modelValue:s(v).showButtonBar,"onUpdate:modelValue":u[8]||(u[8]=c=>s(v).showButtonBar=c)},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Filter-Buttons",icon:"fa-filter",infotext:"Hauptseite mit Buttons zur Auswahl der Kategorie."},{default:w(()=>[b(ce,{modelValue:s(v).showQuickAccess,"onUpdate:modelValue":u[9]||(u[9]=c=>s(v).showQuickAccess=c)},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Breite Widgets",icon:"fa-desktop",infotext:"Widgets immer breit machen"},{default:w(()=>[b(ce,{modelValue:s(v).preferWideBoxes,"onUpdate:modelValue":u[10]||(u[10]=c=>s(v).preferWideBoxes=c)},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Stufenlose Displaybreite",icon:"fa-maximize",infotext:"Die Breite des Displays wird immer voll ausgenutzt. Dies kann in einigen Fällen zu inkorrekter Darstellung führen."},{default:w(()=>[b(ce,{modelValue:s(v).fluidDisplay,"onUpdate:modelValue":u[11]||(u[11]=c=>s(v).fluidDisplay=c)},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Animationen",icon:"fa-film",infotext:"Animationen anzeigen"},{default:w(()=>[b(ce,{modelValue:s(v).showAnimations,"onUpdate:modelValue":u[12]||(u[12]=c=>s(v).showAnimations=c)},null,8,["modelValue"])]),_:1})]),n("div",Dh,[b(N,{fullwidth:!0,title:"Zähler anzeigen",icon:"fa-chart-bar",infotext:"Zeige die Werte zusätzlich angelegter Zähler"},{default:w(()=>[b(ce,{modelValue:s(v).showCounters,"onUpdate:modelValue":u[13]||(u[13]=c=>s(v).showCounters=c)},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Fahrzeuge anzeigen",icon:"fa-car",infotext:"Zeige alle Fahrzeuge mit Ladestand und Reichweite"},{default:w(()=>[b(ce,{modelValue:s(v).showVehicles,"onUpdate:modelValue":u[14]||(u[14]=c=>s(v).showVehicles=c)},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Standardfahrzeug anzeigen",icon:"fa-car",infotext:"Zeige das Standard-Fahrzeug in der Fahzeugliste"},{default:w(()=>[b(ce,{modelValue:s(v).showStandardVehicle,"onUpdate:modelValue":u[15]||(u[15]=c=>s(v).showStandardVehicle=c)},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Preistabelle anzeigen",icon:"fa-car",infotext:"Zeige die Strompreistabelle in einer separaten Box an"},{default:w(()=>[b(ce,{modelValue:s(v).showPrices,"onUpdate:modelValue":u[16]||(u[16]=c=>s(v).showPrices=c)},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Wechselrichter-Details anzeigen",icon:"fa-solar-panel",infotext:"Zeige Details zu den einzelnen Wechselrichtern"},{default:w(()=>[b(ce,{modelValue:s(v).showInverters,"onUpdate:modelValue":u[17]||(u[17]=c=>s(v).showInverters=c)},null,8,["modelValue"])]),_:1}),b(N,{fullwidth:!0,title:"Debug-Modus",icon:"fa-bug-slash",infotext:"Kontrollausgaben in der Console sowie Anzeige von Bildschirmbreite und MQ-Viewer"},{default:w(()=>[b(ce,{modelValue:s(v).debug,"onUpdate:modelValue":u[18]||(u[18]=c=>s(v).debug=c)},null,8,["modelValue"])]),_:1})]),Wh])]),_:1}))}}),zh=U(Gh,[["__scopeId","data-v-b2860d58"]]),xe=t=>(ae("data-v-733ad1cd"),t=t(),oe(),t),Eh={class:"container-fluid px-2 m-0 theme-colors"},jh={id:"themesettings",class:"collapse"},Uh={key:2,class:"row py-0 px-0 m-0"},Fh={key:3,class:"row py-0 m-0 d-flex justify-content-center"},Nh={key:4,class:"nav nav-tabs nav-justified mx-1 mt-2",role:"tablist"},Hh=po('AllesLadepunkte',2),Rh={key:0,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#pricecharttabbed"},Jh=xe(()=>n("i",{class:"fa-solid fa-lg fa-coins"},null,-1)),qh=xe(()=>n("span",{class:"d-none d-md-inline ms-2"},"Strompreis",-1)),Yh=[Jh,qh],Qh={key:1,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#vehiclelist"},Zh=xe(()=>n("i",{class:"fa-solid fa-lg fa-car"},null,-1)),Xh=xe(()=>n("span",{class:"d-none d-md-inline ms-2"},"Fahrzeuge",-1)),Kh=[Zh,Xh],ep={key:2,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#batterylist"},tp=xe(()=>n("i",{class:"fa-solid fa-lg fa-car-battery"},null,-1)),ap=xe(()=>n("span",{class:"d-none d-md-inline ms-2"},"Speicher",-1)),op=[tp,ap],np={key:3,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#smarthomelist"},sp=xe(()=>n("i",{class:"fa-solid fa-lg fa-plug"},null,-1)),rp=xe(()=>n("span",{class:"d-none d-md-inline ms-2"},"Smart Home",-1)),ip=[sp,rp],lp={key:4,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#counterlist"},cp=xe(()=>n("i",{class:"fa-solid fa-lg fa-bolt"},null,-1)),dp=xe(()=>n("span",{class:"d-none d-md-inline ms-2"},"Zähler",-1)),up=[cp,dp],hp={key:5,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#inverterlist"},pp=xe(()=>n("i",{class:"fa-solid fa-lg fa-solar-panel"},null,-1)),gp=xe(()=>n("span",{class:"d-none d-md-inline ms-2"},"Wechselrichter",-1)),mp=[pp,gp],vp={key:5,id:"cpContent",class:"tab-content mx-0 pt-1"},fp={id:"showAll",class:"tab-pane active",role:"tabpanel","aria-labelledby":"showall-tab"},_p={class:"row py-0 m-0 d-flex justify-content-center"},bp={id:"chargepointlist",class:"tab-pane",role:"tabpanel","aria-labelledby":"chargepoint-tab"},yp={class:"row py-0 m-0 d-flex justify-content-center"},wp={id:"vehiclelist",class:"tab-pane",role:"tabpanel","aria-labelledby":"vehicle-tab"},kp={key:0,class:"row py-0 m-0 d-flex justify-content-center"},Sp={id:"batterylist",class:"tab-pane",role:"tabpanel","aria-labelledby":"battery-tab"},xp={class:"row py-0 m-0 d-flex justify-content-center"},$p={id:"smarthomelist",class:"tab-pane",role:"tabpanel","aria-labelledby":"smarthome-tab"},Mp={key:0,class:"row py-0 m-0 d-flex justify-content-center"},Cp={id:"counterlist",class:"tab-pane",role:"tabpanel","aria-labelledby":"counter-tab"},Ip={key:0,class:"row py-0 m-0 d-flex justify-content-center"},Pp={id:"inverterlist",class:"tab-pane",role:"tabpanel","aria-labelledby":"inverter-tab"},Bp={key:0,class:"row py-0 m-0 d-flex justify-content-center"},Vp={id:"pricecharttabbed",class:"tab-pane",role:"tabpanel","aria-labelledby":"price-tab"},Lp={key:0,class:"row py-0 m-0 d-flex justify-content-center"},Ap={key:0,class:"row p-2 mt-5"},Op={class:"col p-2"},Tp=xe(()=>n("hr",null,null,-1)),Dp={class:"d-flex justify-content-between"},Wp={class:"mx-4"},Gp={key:0},zp=V({__name:"ColorsTheme",setup(t){const e=Z(!1),a=m(()=>[...ne.values()].filter(h=>h.configured).length>0);function o(){wa()}function r(){e.value=!e.value}Be(()=>{o(),window.addEventListener("resize",Lo),window.addEventListener("focus",l),nh()});function l(){document.hasFocus()&&ge(!0)}return(h,p)=>(i(),g(z,null,[n("div",Eh,[n("div",jh,[b(zh,{onResetArcs:s(Oo)},null,8,["onResetArcs"])]),s(v).showButtonBar?(i(),M(vd,{key:0})):y("",!0),y("",!0),(i(),g("div",Uh,[b(Lu,null,{item1:w(()=>[b(mn)]),item2:w(()=>[b(Es)]),item3:w(()=>[b(dr)]),_:1})])),s(v).showQuickAccess?y("",!0):(i(),g("div",Fh,[b(Bt,{shortlist:s(v).shortCpList=="always"},null,8,["shortlist"]),s(v).showPrices?(i(),M(Gt,{key:0,id:"NoTabs"})):y("",!0),s(v).showVehicles?(i(),M(Ot,{key:1})):y("",!0),b(Vt),a.value?(i(),M(Lt,{key:2})):y("",!0),s(v).showCounters?(i(),M(At,{key:3})):y("",!0),s(v).showInverters?(i(),M(zt,{key:4})):y("",!0)])),s(v).showQuickAccess?(i(),g("nav",Nh,[Hh,s(v).showPrices?(i(),g("a",Rh,Yh)):y("",!0),s(v).showVehicles?(i(),g("a",Qh,Kh)):y("",!0),s(me).isBatteryConfigured?(i(),g("a",ep,op)):y("",!0),a.value?(i(),g("a",np,ip)):y("",!0),s(v).showCounters?(i(),g("a",lp,up)):y("",!0),s(v).showInverters?(i(),g("a",hp,mp)):y("",!0)])):y("",!0),s(v).showQuickAccess?(i(),g("div",vp,[n("div",fp,[n("div",_p,[b(Bt,{shortlist:s(v).shortCpList!="no"},null,8,["shortlist"]),s(v).showPrices?(i(),M(Gt,{key:0,id:"Overview"})):y("",!0),s(v).showVehicles?(i(),M(Ot,{key:1})):y("",!0),b(Vt),a.value?(i(),M(Lt,{key:2})):y("",!0),s(v).showCounters?(i(),M(At,{key:3})):y("",!0),s(v).showInverters?(i(),M(zt,{key:4})):y("",!0)])]),n("div",bp,[n("div",yp,[b(Bt,{shortlist:s(v).shortCpList=="always"},null,8,["shortlist"])])]),n("div",wp,[s(v).showVehicles?(i(),g("div",kp,[b(Ot)])):y("",!0)]),n("div",Sp,[n("div",xp,[b(Vt)])]),n("div",$p,[a.value?(i(),g("div",Mp,[b(Lt)])):y("",!0)]),n("div",Cp,[s(v).showCounters?(i(),g("div",Ip,[b(At)])):y("",!0)]),n("div",Pp,[s(v).showInverters?(i(),g("div",Bp,[b(zt)])):y("",!0)]),n("div",Vp,[s(v).showPrices?(i(),g("div",Lp,[b(Gt,{id:"Tabbed"})])):y("",!0)])])):y("",!0)]),s(v).debug?(i(),g("div",Ap,[n("div",Op,[Tp,n("div",Dp,[n("p",Wp,"Screen Width: "+$(s(bt).x),1),n("button",{class:"btn btn-sm btn-secondary mx-4",onClick:r}," MQ Viewer ")]),e.value?(i(),g("hr",Gp)):y("",!0),e.value?(i(),M(Ih,{key:1})):y("",!0)])])):y("",!0)],64))}}),Ep=U(zp,[["__scopeId","data-v-733ad1cd"]]),Mt=t=>(ae("data-v-ed619966"),t=t(),oe(),t),jp={class:"navbar navbar-expand-lg px-0 mb-0"},Up=Mt(()=>n("a",{href:"/",class:"navbar-brand"},[n("span",null,"openWB")],-1)),Fp={key:0,class:"position-absolute-50 navbar-text ms-4 navbar-time",style:{color:"var(--color-menu)"}},Np=Mt(()=>n("button",{class:"navbar-toggler togglebutton ps-5",type:"button","data-bs-toggle":"collapse","data-bs-target":"#mainNavbar","aria-controls":"mainNavbar","aria-expanded":"false","aria-label":"Toggle navigation"},[n("span",{class:"fa-solid fa-ellipsis-vertical"})],-1)),Hp=Mt(()=>n("div",{id:"mainNavbar",class:"collapse navbar-collapse justify-content-end"},[n("div",{class:"nav navbar-nav"},[n("a",{id:"navStatus",class:"nav-link",href:"../../settings/#/Status"},"Status"),n("div",{class:"nav-item dropdown"},[n("a",{id:"loggingDropdown",class:"nav-link",href:"#",role:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[H("Auswertungen "),n("i",{class:"fa-solid fa-caret-down"})]),n("div",{class:"dropdown-menu","aria-labelledby":"loggingDropdown"},[n("a",{href:"../../settings/#/Logging/ChargeLog",class:"dropdown-item"},"Ladeprotokoll"),n("a",{href:"../../settings/#/Logging/Chart",class:"dropdown-item"},"Diagramme")])]),n("div",{class:"nav-item dropdown"},[n("a",{id:"settingsDropdown",class:"nav-link",href:"#",role:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[H("Einstellungen "),n("span",{class:"fa-solid fa-caret-down"})]),n("div",{class:"dropdown-menu","aria-labelledby":"settingsDropdown"},[n("a",{id:"navSettings",class:"nav-link",href:"../../settings/index.html"},"openWB"),n("a",{class:"nav-link","data-bs-toggle":"collapse","data-bs-target":"#themesettings","aria-expanded":"false","aria-controls":"themeSettings"},[n("span",null,[H("Look&Feel"),n("span",{class:"fa-solid fa-caret-down"})])])])])])],-1)),Rp=Mt(()=>n("hr",{class:"m-0 p-0 mb-2"},null,-1)),Jp=[Rp],qp=V({__name:"NavigationBar",setup(t){let e;const a=m(()=>v.fluidDisplay?"container-fluid":"container-lg");return Be(()=>{e=setInterval(()=>{Nt.value=new Date},1e3)}),go(()=>{clearInterval(e)}),(o,r)=>(i(),g(z,null,[n("nav",jp,[n("div",{class:j(a.value)},[Up,s(v).showClock=="navbar"?(i(),g("span",Fp,$(s(ka)(s(Nt))),1)):y("",!0),Np,Hp],2)]),n("div",{class:j(a.value)},Jp,2)],64))}}),Yp=U(qp,[["__scopeId","data-v-ed619966"]]),Qp={id:"app",class:"m-0 p-0"},Zp={class:"row p-0 m-0"},Xp={class:"col-12 p-0 m-0"},Kp=V({__name:"App",setup(t){const e=m(()=>v.fluidDisplay?"container-fluid":"container-lg");return(a,o)=>(i(),g("div",Qp,[b(Yp),n("div",{class:j(["p-0",e.value])},[n("div",Zp,[n("div",Xp,[b(Ep)])])],2)]))}}),eg=mo(Kp);vo();eg.mount("#app"); diff --git a/packages/modules/web_themes/colors/web/assets/index-DrV3MjCa.css b/packages/modules/web_themes/colors/web/assets/index-DrV3MjCa.css new file mode 100644 index 0000000000..f337f9e8c2 --- /dev/null +++ b/packages/modules/web_themes/colors/web/assets/index-DrV3MjCa.css @@ -0,0 +1,9 @@ +@charset "UTF-8";.form-select[data-v-7b8949f3]{background-color:var(--color-input);border:1;border-color:var(--color-bg);color:var(--color-bg);text-align:start;font-size:var(--font-small)}.commitbutton[data-v-7b8949f3]{background-color:var(--color-bg);color:var(--color-input)}option[data-v-7b8949f3]{color:green}.form-select[data-v-7b8949f3]{font-size:var(--font-verysmall);background-color:var(--color-menu);color:var(--color-fg)}.optiontable[data-v-7b8949f3]{background-color:var(--color-menu)}.optionbutton[data-v-7b8949f3]{font-size:var(--font-small);color:#fff;background-color:var(--color-menu);font-size:var(--font-verysmall);text-align:center}.dropdown-menu[data-v-7b8949f3]{background-color:var(--color-menu)}.dropdown-toggle[data-v-7b8949f3]{background-color:var(--color-menu);color:#fff;border:1px solid var(--color-bg);font-size:var(--font-verysmall)}.radiobutton[data-v-82ab6829]{border:0px solid var(--color-menu);opacity:1}.btn-outline-secondary.active[data-v-82ab6829]{background-color:var(--color-bg);border:0px solid var(--color-fg);opacity:.8}.btn-group[data-v-82ab6829]{border:1px solid var(--color-menu)}.rounded-pill[data-v-58aa87a0]{background-color:var(--color-menu)}.arrowButton[data-v-58aa87a0]{border:0}.datebadge[data-v-58aa87a0]{background-color:var(--color-bg);color:var(--color-menu);border:1px solid var(--color-menu);font-size:var(--font-small);font-weight:400}.arrowButton[data-v-58aa87a0],.fa-magnifying-glass[data-v-f601f500]{color:var(--color-menu)}.datebadge[data-v-f601f500]{background-color:var(--color-menu);color:var(--color-bg);font-size:var(--font-medium);font-weight:400}.waitsign[data-v-f601f500]{text-align:center;font-size:var(--font-medium);color:var(--color-fg);border:1px solid var(--color-bg);padding:2em;margin:4em 2em 2em;background-color:var(--color-bg)}.heading[data-v-f6af00e8]{color:var(--color-menu);font-weight:400;text-align:center}.content[data-v-f6af00e8]{color:var(--color-fg);font-weight:700}@supports (grid-template-columns: subgrid){.wb-subwidget[data-v-971e553f]{border-top:.5px solid var(--color-scale);display:grid;grid-template-columns:subgrid;grid-column:1 / 13}}@supports not (grid-template-columns: subgrid){.wb-subwidget[data-v-971e553f]{border-top:.5px solid var(--color-scale);display:grid;grid-template-columns:repeat(12,auto);grid-column:1 / 13}}.titlerow[data-v-971e553f]{grid-column:1 / 13}@supports (grid-template-columns: subgrid){.contentrow[data-v-971e553f]{display:grid;grid-template-columns:subgrid;grid-column:1 / 13;align-items:top}}@supports not (grid-template-columns: subgrid){.contentrow[data-v-971e553f]{display:grid;align-items:top;grid-template-columns:repeat(12,auto)}}.widgetname[data-v-971e553f]{font-weight:700}.infotext[data-v-b935eb33]{font-size:var(--font-settings);color:var(--color-battery)}.item-icon[data-v-b935eb33]{color:var(--color-menu);font-size:var(--font-settings)}.titlecolumn[data-v-b935eb33]{color:var(--color-fg);font-size:var(--font-settings)}.selectors[data-v-b935eb33],.configitem[data-v-b935eb33]{font-size:var(--font-settings)}.minlabel[data-v-17a828b1],.maxlabel[data-v-17a828b1]{color:var(--color-menu)}.valuelabel[data-v-17a828b1]{color:var(--color-fg)}.minusButton[data-v-17a828b1],.plusButton[data-v-17a828b1]{color:var(--color-menu)}.radiobutton[data-v-df222cbe]{border:.5px solid var(--color-input);opacity:.5;font-size:var(--font-settings)}.btn-outline-secondary.active[data-v-df222cbe]{background-color:var(--color-bg);border:1px solid var(--color-fg);box-shadow:0 .5rem 1rem #00000026;opacity:1}.chargeConfigSelect[data-v-0303d179]{background:var(--color-bg);color:var(--color-fg)}.heading[data-v-0303d179]{color:var(--color-charging)}.chargeConfigSelect[data-v-1a90f282]{background:var(--color-bg);color:var(--color-fg)}.heading[data-v-1a90f282]{color:var(--color-pv)}.tablecell[data-v-e8f5ad9d]{color:var(--color-fg);background-color:var(--color-bg);text-align:center;font-size:var(--font-medium)}.tableheader[data-v-e8f5ad9d]{color:var(--color-menu);background-color:var(--color-bg);text-align:center;font-style:normal}.heading[data-v-e8f5ad9d]{color:var(--color-battery)}.left[data-v-e8f5ad9d]{text-align:left}.tablecell[data-v-192e287b]{color:var(--color-fg);background-color:var(--color-bg);text-align:center;font-size:var(--font-medium)}.tableheader[data-v-192e287b]{color:var(--color-menu);background-color:var(--color-bg);text-align:center;font-style:normal}.heading[data-v-192e287b]{color:var(--color-battery)}.left[data-v-192e287b]{text-align:left}.right[data-v-192e287b]{text-align:right}.status-string[data-v-fcb57a44]{font-size:var(--font-normal);font-style:italic;color:var(--color-battery)}.chargeConfigSelect[data-v-fcb57a44]{background:var(--color-bg);color:var(--color-fg)}.chargeModeOption[data-v-fcb57a44]{background:green;color:#00f}.nav-tabs .nav-link[data-v-fcb57a44]{color:var(--color-menu);opacity:.5}.nav-tabs .nav-link.disabled[data-v-fcb57a44]{color:var(--color-axis);border:.5px solid var(--color-axis)}.nav-tabs .nav-link.active[data-v-fcb57a44]{color:var(--color-fg);background-color:var(--color-bg);opacity:1;border:1px solid var(--color-menu);border-bottom:1px solid var(--color-menu)}.settingsheader[data-v-fcb57a44]{color:var(--color-charging)}.status-string[data-v-a64493d7]{font-size:var(--font-normal);font-style:italic;color:var(--color-battery)}.chargeConfigSelect[data-v-a64493d7]{background:var(--color-bg);color:var(--color-fg)}.chargeModeOption[data-v-a64493d7]{background:green;color:#00f}.nav-tabs .nav-link[data-v-a64493d7]{color:var(--color-menu);opacity:.5}.nav-tabs .nav-link.disabled[data-v-a64493d7]{color:var(--color-axis);border:.5px solid var(--color-axis)}.nav-tabs .nav-link.active[data-v-a64493d7]{color:var(--color-fg);background-color:var(--color-bg);opacity:1;border:1px solid var(--color-menu);border-bottom:1px solid var(--color-menu)}.settingsheader[data-v-a64493d7]{color:var(--color-charging);font-size:16px;font-weight:700}hr[data-v-a64493d7]{color:var(--color-menu)}.color-charging[data-v-5286b19d]{color:var(--color-charging)}.fa-circle-check[data-v-5286b19d]{color:var(--color-menu)}.settingsheader[data-v-5286b19d]{color:var(--color-charging);font-size:16px;font-weight:700}.providername[data-v-5286b19d]{color:var(--color-axis);font-size:16px}.status-string[data-v-1164316d]{font-size:var(--font-settings);font-style:italic;color:var(--color-battery)}.nav-tabs .nav-link[data-v-1164316d]{color:var(--color-menu);opacity:.5}.nav-tabs .nav-link.disabled[data-v-1164316d]{color:var(--color-axis);border:.5px solid var(--color-axis)}.nav-tabs .nav-link.active[data-v-1164316d]{color:var(--color-fg);background-color:var(--color-bg);opacity:1;border:1px solid var(--color-menu);border-bottom:0px solid var(--color-menu)}.heading[data-v-1164316d]{color:var(--color-menu)}.item[data-v-1164316d]{grid-column:span 12}.tabarea[data-v-1164316d]{justify-self:stretch}.batIcon[data-v-a0bd055c]{color:var(--color-menu)}.wb-widget[data-v-6f679011]{width:100%;border-radius:30px}.fa-star[data-v-c0cedc0a]{color:var(--color-evu)}.fa-clock[data-v-c0cedc0a]{color:var(--color-battery)}.fa-car[data-v-c0cedc0a],.fa-ellipsis-vertical[data-v-c0cedc0a],.fa-circle-check[data-v-c0cedc0a]{color:var(--color-menu)}.fa-coins[data-v-c0cedc0a]{color:var(--color-battery)}.fa-edit[data-v-c0cedc0a]{color:var(--color-menu)}.socEditor[data-v-c0cedc0a]{border:1px solid var(--color-menu);justify-self:stretch}.targetCurrent[data-v-c0cedc0a]{color:var(--color-menu)}.priceEditor[data-v-c0cedc0a]{border:1px solid var(--color-menu);justify-self:stretch}.chargemodes[data-v-c0cedc0a]{grid-column:1 / 13;justify-self:center}.chargeinfo[data-v-c0cedc0a]{display:grid;grid-template-columns:repeat(12,auto);justify-content:space-between}.errorbadge[data-v-c0cedc0a]{color:var(--color-bg);background-color:var(--color-evu);font-size:var(--font-small)}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0,-50%,0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, .25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.modal-footer[data-v-eaefae30],.modal-header[data-v-eaefae30],.modal-body[data-v-eaefae30]{background:var(--color-bg)}.btn-close[data-v-eaefae30]{color:var(--color-fg)}.modal-footer[data-v-eaefae30]{text-align:right}.modal-header .btn-close[data-v-eaefae30]{color:var(--color-fg);background:var(--color-bg);border:0px}.modal.fade .modal-dialog[data-v-eaefae30]{transition:transform 1s ease-out;transform:none;scale:.6}.modal.show .modal-dialog[data-v-eaefae30]{transition:transform .3s ease-in;transform:none;scale:1}.tablerow[data-v-0496b1f6]{margin:14px;border-top:.1px solid var(--color-scale)}.tablecell[data-v-0496b1f6]{color:var(--color-fg);background-color:var(--color-bg);text-align:center;padding-top:2px;padding-left:2px;padding-right:2px;vertical-align:baseline;line-height:1.4rem;font-size:var(--font-small)}.buttoncell[data-v-0496b1f6]{background-color:var(--color-bg);padding:0;margin:0}.left[data-v-0496b1f6]{text-align:left}.tablecell.right[data-v-0496b1f6]{text-align:right}.tablecolum1[data-v-0496b1f6]{color:var(--color-fg);text-align:left;margin:0;padding:0}.tableicon[data-v-0496b1f6]{color:var(--color-menu)}.fa-star[data-v-0496b1f6]{color:var(--color-evu)}.fa-clock[data-v-0496b1f6]{color:var(--color-battery)}.socEditor[data-v-0496b1f6]{border:1px solid var(--color-menu);background-color:var(--color-bg)}.socEditRow td[data-v-0496b1f6]{background-color:var(--color-bg)}.fa-circle-check[data-v-0496b1f6]{color:var(--color-menu)}.socEditTitle[data-v-0496b1f6]{color:var(--color-fg)}.statusbadge[data-v-0496b1f6]{background-color:var(--color-bg);font-weight:700;font-size:var(--font-verysmall)}.cpname[data-v-0496b1f6]{font-size:var(--font-small)}.fa-edit[data-v-0496b1f6]{color:var(--color-menu)}.infolist[data-v-0496b1f6]{justify-content:center}.tableheader[data-v-8c6313d6]{margin:0;padding-left:0;background-color:var(--color-bg);color:var(--color-menu)}.alignleft[data-v-8c6313d6]{text-align:left}.aligncenter[data-v-8c6313d6]{text-align:center}.alignright[data-v-8c6313d6]{text-align:right}.table[data-v-8c6313d6]{border-spacing:1rem;background-color:var(--color-bg)}.pricebadge[data-v-8c6313d6]{background-color:var(--color-menu);font-weight:400}.fa-charging-station[data-v-8c6313d6]{color:var(--color-charging)}.plugIndicator[data-v-bde17905]{color:#fff;border:1px solid white}.chargeButton[data-v-bde17905]{color:#fff}.left[data-v-bde17905]{float:left}.right[data-v-bde17905]{float:right}.center[data-v-bde17905]{margin:auto}.time-display[data-v-791e4be0]{font-weight:700;color:var(--color-menu);font-size:var(--font-normal)}.battery-title[data-v-c36267d5]{color:var(--color-battery);font-size:var(--font-medium)}.battery-color[data-v-1f918d89]{color:var(--color-battery)}.fg-color[data-v-1f918d89]{color:var(--color-fg)}.menu-color[data-v-1f918d89],.todaystring[data-v-1f918d89]{color:var(--color-menu)}.socpill[data-v-1f918d89]{background-color:var(--color-battery);color:"var(--color-fg)"}.statusbutton[data-v-6874b6fd]{font-size:var(--font-large)}.modebutton[data-v-6874b6fd]{background-color:var(--color-menu);font-size:var(--font-verysmall);font-weight:400}.tempbadge[data-v-6874b6fd]{background-color:var(--color-battery);color:var(--color-bg);font-size:var(--font-verysmall);font-weight:400}.infolist[data-v-6874b6fd]{justify-content:center}.sh-title[data-v-8a6cbaf7]{color:var(--color-title)}.tableheader[data-v-8a6cbaf7]{background-color:var(--color-bg);color:var(--color-menu)}.fa-ellipsis-vertical[data-v-8a6cbaf7],.fa-circle-check[data-v-8a6cbaf7]{color:var(--color-menu)}.smarthome[data-v-8a6cbaf7]{color:var(--color-devices)}.idbadge[data-v-b262baef]{background-color:var(--color-menu);font-weight:400}.countername[data-v-b262baef]{font-size:var(--font-medium)}.statusbutton[data-v-2aee2e34]{font-size:var(--font-large)}.modebutton[data-v-2aee2e34]{background-color:var(--color-menu);font-size:var(--font-verysmall);font-weight:400}.tempbadge[data-v-2aee2e34]{background-color:var(--color-battery);color:var(--color-bg);font-size:var(--font-verysmall);font-weight:400}.idbadge[data-v-c9cd068c]{background-color:var(--color-menu);font-weight:400}.status-string[data-v-c9cd068c]{text-align:center}.statusbutton[data-v-98fe336a]{font-size:var(--font-large)}.modebutton[data-v-98fe336a]{background-color:var(--color-menu);font-size:var(--font-verysmall);font-weight:400}.tempbadge[data-v-98fe336a]{background-color:var(--color-battery);color:var(--color-bg);font-size:var(--font-verysmall);font-weight:400}.pricebadge[data-v-4678d1ab]{background-color:var(--color-charging);font-weight:400}.providerbadge[data-v-4678d1ab]{background-color:var(--color-menu);font-weight:400}.grapharea[data-v-4678d1ab]{grid-column-start:1;grid-column-end:13;width:100%;object-fit:cover;max-height:100%;justify-items:stretch}.pricefigure[data-v-4678d1ab]{justify-self:stretch}.modebadge[data-v-486e35d8]{background-color:var(--color-pv);color:var(--color-bg);font-size:var(--font-verysmall);font-weight:400}.invertername[data-v-486e35d8]{font-size:var(--font-normal)}.powerbadge[data-v-c565fec8]{background-color:var(--color-pv);color:var(--color-bg);font-size:var(--font-verysmall);font-weight:400}.button[data-v-dc35b0f6]{color:var(--color-fg)}.name[data-v-df7e578a]{font-size:1rem;color:#000;border:1px solid white}.content[data-v-df7e578a]{grid-column:1 / -1;border:solid 1px black;border-radius:10px}.sublist[data-v-df7e578a]{grid-column:1 / -1;display:grid;grid-template-columns:subgrid}.mqviewer[data-v-a349646d]{background-color:#fff;color:#000}.topiclist[data-v-a349646d]{display:grid;grid-template-columns:repeat(40,1fr)}.topnode[data-v-a349646d]{grid-column-start:1;grid-column-end:-1}.mqtitle[data-v-a349646d]{color:#000}.form-select[data-v-5e33ce1f]{background-color:var(--color-input);color:#000;border:1px solid var(--color-bg);font-size:var(--font-settings)}.fa-circle-check[data-v-b2860d58]{font-size:var(--font-extralarge);background-color:var(--color-bg);color:var(--color-menu)}.closebutton[data-v-b2860d58]{justify-self:end}.nav-tabs[data-v-733ad1cd]{border-bottom:.5px solid var(--color-menu);background-color:var(--color-bg)}.nav-tabs .nav-link[data-v-733ad1cd]{color:var(--color-menu);opacity:.5}.nav-tabs .nav-link.disabled[data-v-733ad1cd]{color:var(--color-axis);border:.5px solid var(--color-axis)}.nav-tabs .nav-link.active[data-v-733ad1cd]{color:var(--color-fg);background-color:var(--color-bg);opacity:1;border:.5px solid var(--color-menu);border-bottom:0px solid var(--color-menu);box-shadow:0 .5rem 1rem #00000026}.fa-circle-info[data-v-733ad1cd]{color:var(--color-fg)}.fa-charging-station[data-v-733ad1cd]{color:var(--color-charging)}.fa-car-battery[data-v-733ad1cd]{color:var(--color-battery)}.fa-plug[data-v-733ad1cd]{color:var(--color-devices)}.fa-bolt[data-v-733ad1cd]{color:var(--color-evu)}.fa-car[data-v-733ad1cd]{color:var(--color-charging)}.fa-coins[data-v-733ad1cd]{color:var(--color-battery)}.fa-solar-panel[data-v-733ad1cd]{color:var(--color-pv)}.navbar[data-v-ed619966]{background-color:var(--color-bg);color:var(--color-fg);font-size:var(--font-normal)}.dropdown-menu[data-v-ed619966]{background-color:var(--color-bg);color:var(--color-fg)}.dropdown-item[data-v-ed619966]{background-color:var(--color-bg);color:var(--color-fg);font-size:var(--font-normal)}.btn[data-v-ed619966]{font-size:var(--font-medium);background-color:var(--color-bg);color:var(--color-fg)}.navbar-brand[data-v-ed619966]{font-weight:700;color:var(--color-fg);font-size:var(--font-normal)}.nav-link[data-v-ed619966]{color:var(--color-fg);border-color:red;font-size:var(--font-normal)}.navbar-toggler[data-v-ed619966]{color:var(--color-fg);border-color:var(--color-bg)}.navbar-time[data-v-ed619966]{font-weight:700;color:var(--color-menu);font-size:var(--font-normal)}.fa{font-family:var(--fa-style-family, "Font Awesome 6 Free");font-weight:var(--fa-style, 900)}.fa,.fa-brands,.fa-duotone,.fa-light,.fa-regular,.fa-solid,.fa-thin,.fab,.fad,.fal,.far,.fas,.fat{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:var(--fa-display, inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.08333em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.07143em;vertical-align:.05357em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.04167em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin, 2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width, 2em) * -1);position:absolute;text-align:center;width:var(--fa-li-width, 2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius, .1em);border:var(--fa-border-width, .08em) var(--fa-border-style, solid) var(--fa-border-color, #eee);padding:var(--fa-border-padding, .2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin, .3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin, .3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, ease-in-out);animation-timing-function:var(--fa-animation-timing, ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var( --fa-animation-timing, cubic-bezier(.28, .84, .42, 1) );animation-timing-function:var( --fa-animation-timing, cubic-bezier(.28, .84, .42, 1) )}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) );animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) )}.fa-beat-fade,.fa-fade{-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s)}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) );animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) )}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, ease-in-out);animation-timing-function:var(--fa-animation-timing, ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, linear);animation-timing-function:var(--fa-animation-timing, linear)}.fa-shake,.fa-spin{-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-duration:var(--fa-animation-duration, 2s);animation-duration:var(--fa-animation-duration, 2s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, linear);animation-timing-function:var(--fa-animation-timing, linear)}.fa-spin-reverse{--fa-animation-direction: reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, steps(8));animation-timing-function:var(--fa-animation-timing, steps(8))}@media (prefers-reduced-motion: reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;transition-delay:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale, 1.25));transform:scale(var(--fa-beat-scale, 1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale, 1.25));transform:scale(var(--fa-beat-scale, 1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em));transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em));transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em));transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em));transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity, .4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity, .4)}}@-webkit-keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity, .4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale, 1.125));transform:scale(var(--fa-beat-fade-scale, 1.125))}}@keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity, .4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale, 1.125));transform:scale(var(--fa-beat-fade-scale, 1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg));transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg));transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle, none));transform:rotate(var(--fa-rotate-angle, none))}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%;z-index:var(--fa-stack-z-index, auto)}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:var(--fa-inverse, #fff)}.fa-0:before{content:"0"}.fa-1:before{content:"1"}.fa-2:before{content:"2"}.fa-3:before{content:"3"}.fa-4:before{content:"4"}.fa-5:before{content:"5"}.fa-6:before{content:"6"}.fa-7:before{content:"7"}.fa-8:before{content:"8"}.fa-9:before{content:"9"}.fa-a:before{content:"A"}.fa-address-book:before,.fa-contact-book:before{content:""}.fa-address-card:before,.fa-contact-card:before,.fa-vcard:before{content:""}.fa-align-center:before{content:""}.fa-align-justify:before{content:""}.fa-align-left:before{content:""}.fa-align-right:before{content:""}.fa-anchor:before{content:""}.fa-angle-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-double-down:before,.fa-angles-down:before{content:""}.fa-angle-double-left:before,.fa-angles-left:before{content:""}.fa-angle-double-right:before,.fa-angles-right:before{content:""}.fa-angle-double-up:before,.fa-angles-up:before{content:""}.fa-ankh:before{content:""}.fa-apple-alt:before,.fa-apple-whole:before{content:""}.fa-archway:before{content:""}.fa-arrow-down:before{content:""}.fa-arrow-down-1-9:before,.fa-sort-numeric-asc:before,.fa-sort-numeric-down:before{content:""}.fa-arrow-down-9-1:before,.fa-sort-numeric-desc:before,.fa-sort-numeric-down-alt:before{content:""}.fa-arrow-down-a-z:before,.fa-sort-alpha-asc:before,.fa-sort-alpha-down:before{content:""}.fa-arrow-down-long:before,.fa-long-arrow-down:before{content:""}.fa-arrow-down-short-wide:before,.fa-sort-amount-desc:before,.fa-sort-amount-down-alt:before{content:""}.fa-arrow-down-wide-short:before,.fa-sort-amount-asc:before,.fa-sort-amount-down:before{content:""}.fa-arrow-down-z-a:before,.fa-sort-alpha-desc:before,.fa-sort-alpha-down-alt:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-left-long:before,.fa-long-arrow-left:before{content:""}.fa-arrow-pointer:before,.fa-mouse-pointer:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-right-arrow-left:before,.fa-exchange:before{content:""}.fa-arrow-right-from-bracket:before,.fa-sign-out:before{content:""}.fa-arrow-right-long:before,.fa-long-arrow-right:before{content:""}.fa-arrow-right-to-bracket:before,.fa-sign-in:before{content:""}.fa-arrow-left-rotate:before,.fa-arrow-rotate-back:before,.fa-arrow-rotate-backward:before,.fa-arrow-rotate-left:before,.fa-undo:before{content:""}.fa-arrow-right-rotate:before,.fa-arrow-rotate-forward:before,.fa-arrow-rotate-right:before,.fa-redo:before{content:""}.fa-arrow-trend-down:before{content:""}.fa-arrow-trend-up:before{content:""}.fa-arrow-turn-down:before,.fa-level-down:before{content:""}.fa-arrow-turn-up:before,.fa-level-up:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-up-1-9:before,.fa-sort-numeric-up:before{content:""}.fa-arrow-up-9-1:before,.fa-sort-numeric-up-alt:before{content:""}.fa-arrow-up-a-z:before,.fa-sort-alpha-up:before{content:""}.fa-arrow-up-from-bracket:before{content:""}.fa-arrow-up-long:before,.fa-long-arrow-up:before{content:""}.fa-arrow-up-right-from-square:before,.fa-external-link:before{content:""}.fa-arrow-up-short-wide:before,.fa-sort-amount-up-alt:before{content:""}.fa-arrow-up-wide-short:before,.fa-sort-amount-up:before{content:""}.fa-arrow-up-z-a:before,.fa-sort-alpha-up-alt:before{content:""}.fa-arrows-h:before,.fa-arrows-left-right:before{content:""}.fa-arrows-rotate:before,.fa-refresh:before,.fa-sync:before{content:""}.fa-arrows-up-down:before,.fa-arrows-v:before{content:""}.fa-arrows-up-down-left-right:before,.fa-arrows:before{content:""}.fa-asterisk:before{content:"*"}.fa-at:before{content:"@"}.fa-atom:before{content:""}.fa-audio-description:before{content:""}.fa-austral-sign:before{content:""}.fa-award:before{content:""}.fa-b:before{content:"B"}.fa-baby:before{content:""}.fa-baby-carriage:before,.fa-carriage-baby:before{content:""}.fa-backward:before{content:""}.fa-backward-fast:before,.fa-fast-backward:before{content:""}.fa-backward-step:before,.fa-step-backward:before{content:""}.fa-bacon:before{content:""}.fa-bacteria:before{content:""}.fa-bacterium:before{content:""}.fa-bag-shopping:before,.fa-shopping-bag:before{content:""}.fa-bahai:before{content:""}.fa-baht-sign:before{content:""}.fa-ban:before,.fa-cancel:before{content:""}.fa-ban-smoking:before,.fa-smoking-ban:before{content:""}.fa-band-aid:before,.fa-bandage:before{content:""}.fa-barcode:before{content:""}.fa-bars:before,.fa-navicon:before{content:""}.fa-bars-progress:before,.fa-tasks-alt:before{content:""}.fa-bars-staggered:before,.fa-reorder:before,.fa-stream:before{content:""}.fa-baseball-ball:before,.fa-baseball:before{content:""}.fa-baseball-bat-ball:before{content:""}.fa-basket-shopping:before,.fa-shopping-basket:before{content:""}.fa-basketball-ball:before,.fa-basketball:before{content:""}.fa-bath:before,.fa-bathtub:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-battery-5:before,.fa-battery-full:before,.fa-battery:before{content:""}.fa-battery-3:before,.fa-battery-half:before{content:""}.fa-battery-2:before,.fa-battery-quarter:before{content:""}.fa-battery-4:before,.fa-battery-three-quarters:before{content:""}.fa-bed:before{content:""}.fa-bed-pulse:before,.fa-procedures:before{content:""}.fa-beer-mug-empty:before,.fa-beer:before{content:""}.fa-bell:before{content:""}.fa-bell-concierge:before,.fa-concierge-bell:before{content:""}.fa-bell-slash:before{content:""}.fa-bezier-curve:before{content:""}.fa-bicycle:before{content:""}.fa-binoculars:before{content:""}.fa-biohazard:before{content:""}.fa-bitcoin-sign:before{content:""}.fa-blender:before{content:""}.fa-blender-phone:before{content:""}.fa-blog:before{content:""}.fa-bold:before{content:""}.fa-bolt:before,.fa-zap:before{content:""}.fa-bolt-lightning:before{content:""}.fa-bomb:before{content:""}.fa-bone:before{content:""}.fa-bong:before{content:""}.fa-book:before{content:""}.fa-atlas:before,.fa-book-atlas:before{content:""}.fa-bible:before,.fa-book-bible:before{content:""}.fa-book-journal-whills:before,.fa-journal-whills:before{content:""}.fa-book-medical:before{content:""}.fa-book-open:before{content:""}.fa-book-open-reader:before,.fa-book-reader:before{content:""}.fa-book-quran:before,.fa-quran:before{content:""}.fa-book-dead:before,.fa-book-skull:before{content:""}.fa-bookmark:before{content:""}.fa-border-all:before{content:""}.fa-border-none:before{content:""}.fa-border-style:before,.fa-border-top-left:before{content:""}.fa-bowling-ball:before{content:""}.fa-box:before{content:""}.fa-archive:before,.fa-box-archive:before{content:""}.fa-box-open:before{content:""}.fa-box-tissue:before{content:""}.fa-boxes-alt:before,.fa-boxes-stacked:before,.fa-boxes:before{content:""}.fa-braille:before{content:""}.fa-brain:before{content:""}.fa-brazilian-real-sign:before{content:""}.fa-bread-slice:before{content:""}.fa-briefcase:before{content:""}.fa-briefcase-medical:before{content:""}.fa-broom:before{content:""}.fa-broom-ball:before,.fa-quidditch-broom-ball:before,.fa-quidditch:before{content:""}.fa-brush:before{content:""}.fa-bug:before{content:""}.fa-bug-slash:before{content:""}.fa-building:before{content:""}.fa-bank:before,.fa-building-columns:before,.fa-institution:before,.fa-museum:before,.fa-university:before{content:""}.fa-bullhorn:before{content:""}.fa-bullseye:before{content:""}.fa-burger:before,.fa-hamburger:before{content:""}.fa-bus:before{content:""}.fa-bus-alt:before,.fa-bus-simple:before{content:""}.fa-briefcase-clock:before,.fa-business-time:before{content:""}.fa-c:before{content:"C"}.fa-birthday-cake:before,.fa-cake-candles:before,.fa-cake:before{content:""}.fa-calculator:before{content:""}.fa-calendar:before{content:""}.fa-calendar-check:before{content:""}.fa-calendar-day:before{content:""}.fa-calendar-alt:before,.fa-calendar-days:before{content:""}.fa-calendar-minus:before{content:""}.fa-calendar-plus:before{content:""}.fa-calendar-week:before{content:""}.fa-calendar-times:before,.fa-calendar-xmark:before{content:""}.fa-camera-alt:before,.fa-camera:before{content:""}.fa-camera-retro:before{content:""}.fa-camera-rotate:before{content:""}.fa-campground:before{content:""}.fa-candy-cane:before{content:""}.fa-cannabis:before{content:""}.fa-capsules:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-battery-car:before,.fa-car-battery:before{content:""}.fa-car-crash:before{content:""}.fa-car-alt:before,.fa-car-rear:before{content:""}.fa-car-side:before{content:""}.fa-caravan:before{content:""}.fa-caret-down:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-caret-up:before{content:""}.fa-carrot:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-cart-flatbed:before,.fa-dolly-flatbed:before{content:""}.fa-cart-flatbed-suitcase:before,.fa-luggage-cart:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-shopping:before,.fa-shopping-cart:before{content:""}.fa-cash-register:before{content:""}.fa-cat:before{content:""}.fa-cedi-sign:before{content:""}.fa-cent-sign:before{content:""}.fa-certificate:before{content:""}.fa-chair:before{content:""}.fa-blackboard:before,.fa-chalkboard:before{content:""}.fa-chalkboard-teacher:before,.fa-chalkboard-user:before{content:""}.fa-champagne-glasses:before,.fa-glass-cheers:before{content:""}.fa-charging-station:before{content:""}.fa-area-chart:before,.fa-chart-area:before{content:""}.fa-bar-chart:before,.fa-chart-bar:before{content:""}.fa-chart-column:before{content:""}.fa-chart-gantt:before{content:""}.fa-chart-line:before,.fa-line-chart:before{content:""}.fa-chart-pie:before,.fa-pie-chart:before{content:""}.fa-check:before{content:""}.fa-check-double:before{content:""}.fa-check-to-slot:before,.fa-vote-yea:before{content:""}.fa-cheese:before{content:""}.fa-chess:before{content:""}.fa-chess-bishop:before{content:""}.fa-chess-board:before{content:""}.fa-chess-king:before{content:""}.fa-chess-knight:before{content:""}.fa-chess-pawn:before{content:""}.fa-chess-queen:before{content:""}.fa-chess-rook:before{content:""}.fa-chevron-down:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-chevron-up:before{content:""}.fa-child:before{content:""}.fa-church:before{content:""}.fa-circle:before{content:""}.fa-arrow-circle-down:before,.fa-circle-arrow-down:before{content:""}.fa-arrow-circle-left:before,.fa-circle-arrow-left:before{content:""}.fa-arrow-circle-right:before,.fa-circle-arrow-right:before{content:""}.fa-arrow-circle-up:before,.fa-circle-arrow-up:before{content:""}.fa-check-circle:before,.fa-circle-check:before{content:""}.fa-chevron-circle-down:before,.fa-circle-chevron-down:before{content:""}.fa-chevron-circle-left:before,.fa-circle-chevron-left:before{content:""}.fa-chevron-circle-right:before,.fa-circle-chevron-right:before{content:""}.fa-chevron-circle-up:before,.fa-circle-chevron-up:before{content:""}.fa-circle-dollar-to-slot:before,.fa-donate:before{content:""}.fa-circle-dot:before,.fa-dot-circle:before{content:""}.fa-arrow-alt-circle-down:before,.fa-circle-down:before{content:""}.fa-circle-exclamation:before,.fa-exclamation-circle:before{content:""}.fa-circle-h:before,.fa-hospital-symbol:before{content:""}.fa-adjust:before,.fa-circle-half-stroke:before{content:""}.fa-circle-info:before,.fa-info-circle:before{content:""}.fa-arrow-alt-circle-left:before,.fa-circle-left:before{content:""}.fa-circle-minus:before,.fa-minus-circle:before{content:""}.fa-circle-notch:before{content:""}.fa-circle-pause:before,.fa-pause-circle:before{content:""}.fa-circle-play:before,.fa-play-circle:before{content:""}.fa-circle-plus:before,.fa-plus-circle:before{content:""}.fa-circle-question:before,.fa-question-circle:before{content:""}.fa-circle-radiation:before,.fa-radiation-alt:before{content:""}.fa-arrow-alt-circle-right:before,.fa-circle-right:before{content:""}.fa-circle-stop:before,.fa-stop-circle:before{content:""}.fa-arrow-alt-circle-up:before,.fa-circle-up:before{content:""}.fa-circle-user:before,.fa-user-circle:before{content:""}.fa-circle-xmark:before,.fa-times-circle:before,.fa-xmark-circle:before{content:""}.fa-city:before{content:""}.fa-clapperboard:before{content:""}.fa-clipboard:before{content:""}.fa-clipboard-check:before{content:""}.fa-clipboard-list:before{content:""}.fa-clock-four:before,.fa-clock:before{content:""}.fa-clock-rotate-left:before,.fa-history:before{content:""}.fa-clone:before{content:""}.fa-closed-captioning:before{content:""}.fa-cloud:before{content:""}.fa-cloud-arrow-down:before,.fa-cloud-download-alt:before,.fa-cloud-download:before{content:""}.fa-cloud-arrow-up:before,.fa-cloud-upload-alt:before,.fa-cloud-upload:before{content:""}.fa-cloud-meatball:before{content:""}.fa-cloud-moon:before{content:""}.fa-cloud-moon-rain:before{content:""}.fa-cloud-rain:before{content:""}.fa-cloud-showers-heavy:before{content:""}.fa-cloud-sun:before{content:""}.fa-cloud-sun-rain:before{content:""}.fa-clover:before{content:""}.fa-code:before{content:""}.fa-code-branch:before{content:""}.fa-code-commit:before{content:""}.fa-code-compare:before{content:""}.fa-code-fork:before{content:""}.fa-code-merge:before{content:""}.fa-code-pull-request:before{content:""}.fa-coins:before{content:""}.fa-colon-sign:before{content:""}.fa-comment:before{content:""}.fa-comment-dollar:before{content:""}.fa-comment-dots:before,.fa-commenting:before{content:""}.fa-comment-medical:before{content:""}.fa-comment-slash:before{content:""}.fa-comment-sms:before,.fa-sms:before{content:""}.fa-comments:before{content:""}.fa-comments-dollar:before{content:""}.fa-compact-disc:before{content:""}.fa-compass:before{content:""}.fa-compass-drafting:before,.fa-drafting-compass:before{content:""}.fa-compress:before{content:""}.fa-computer-mouse:before,.fa-mouse:before{content:""}.fa-cookie:before{content:""}.fa-cookie-bite:before{content:""}.fa-copy:before{content:""}.fa-copyright:before{content:""}.fa-couch:before{content:""}.fa-credit-card-alt:before,.fa-credit-card:before{content:""}.fa-crop:before{content:""}.fa-crop-alt:before,.fa-crop-simple:before{content:""}.fa-cross:before{content:""}.fa-crosshairs:before{content:""}.fa-crow:before{content:""}.fa-crown:before{content:""}.fa-crutch:before{content:""}.fa-cruzeiro-sign:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-d:before{content:"D"}.fa-database:before{content:""}.fa-backspace:before,.fa-delete-left:before{content:""}.fa-democrat:before{content:""}.fa-desktop-alt:before,.fa-desktop:before{content:""}.fa-dharmachakra:before{content:""}.fa-diagram-next:before{content:""}.fa-diagram-predecessor:before{content:""}.fa-diagram-project:before,.fa-project-diagram:before{content:""}.fa-diagram-successor:before{content:""}.fa-diamond:before{content:""}.fa-diamond-turn-right:before,.fa-directions:before{content:""}.fa-dice:before{content:""}.fa-dice-d20:before{content:""}.fa-dice-d6:before{content:""}.fa-dice-five:before{content:""}.fa-dice-four:before{content:""}.fa-dice-one:before{content:""}.fa-dice-six:before{content:""}.fa-dice-three:before{content:""}.fa-dice-two:before{content:""}.fa-disease:before{content:""}.fa-divide:before{content:""}.fa-dna:before{content:""}.fa-dog:before{content:""}.fa-dollar-sign:before,.fa-dollar:before,.fa-usd:before{content:"$"}.fa-dolly-box:before,.fa-dolly:before{content:""}.fa-dong-sign:before{content:""}.fa-door-closed:before{content:""}.fa-door-open:before{content:""}.fa-dove:before{content:""}.fa-compress-alt:before,.fa-down-left-and-up-right-to-center:before{content:""}.fa-down-long:before,.fa-long-arrow-alt-down:before{content:""}.fa-download:before{content:""}.fa-dragon:before{content:""}.fa-draw-polygon:before{content:""}.fa-droplet:before,.fa-tint:before{content:""}.fa-droplet-slash:before,.fa-tint-slash:before{content:""}.fa-drum:before{content:""}.fa-drum-steelpan:before{content:""}.fa-drumstick-bite:before{content:""}.fa-dumbbell:before{content:""}.fa-dumpster:before{content:""}.fa-dumpster-fire:before{content:""}.fa-dungeon:before{content:""}.fa-e:before{content:"E"}.fa-deaf:before,.fa-deafness:before,.fa-ear-deaf:before,.fa-hard-of-hearing:before{content:""}.fa-assistive-listening-systems:before,.fa-ear-listen:before{content:""}.fa-earth-africa:before,.fa-globe-africa:before{content:""}.fa-earth-america:before,.fa-earth-americas:before,.fa-earth:before,.fa-globe-americas:before{content:""}.fa-earth-asia:before,.fa-globe-asia:before{content:""}.fa-earth-europe:before,.fa-globe-europe:before{content:""}.fa-earth-oceania:before,.fa-globe-oceania:before{content:""}.fa-egg:before{content:""}.fa-eject:before{content:""}.fa-elevator:before{content:""}.fa-ellipsis-h:before,.fa-ellipsis:before{content:""}.fa-ellipsis-v:before,.fa-ellipsis-vertical:before{content:""}.fa-envelope:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-text:before{content:""}.fa-envelopes-bulk:before,.fa-mail-bulk:before{content:""}.fa-equals:before{content:"="}.fa-eraser:before{content:""}.fa-ethernet:before{content:""}.fa-eur:before,.fa-euro-sign:before,.fa-euro:before{content:""}.fa-exclamation:before{content:"!"}.fa-expand:before{content:""}.fa-eye:before{content:""}.fa-eye-dropper-empty:before,.fa-eye-dropper:before,.fa-eyedropper:before{content:""}.fa-eye-low-vision:before,.fa-low-vision:before{content:""}.fa-eye-slash:before{content:""}.fa-f:before{content:"F"}.fa-angry:before,.fa-face-angry:before{content:""}.fa-dizzy:before,.fa-face-dizzy:before{content:""}.fa-face-flushed:before,.fa-flushed:before{content:""}.fa-face-frown:before,.fa-frown:before{content:""}.fa-face-frown-open:before,.fa-frown-open:before{content:""}.fa-face-grimace:before,.fa-grimace:before{content:""}.fa-face-grin:before,.fa-grin:before{content:""}.fa-face-grin-beam:before,.fa-grin-beam:before{content:""}.fa-face-grin-beam-sweat:before,.fa-grin-beam-sweat:before{content:""}.fa-face-grin-hearts:before,.fa-grin-hearts:before{content:""}.fa-face-grin-squint:before,.fa-grin-squint:before{content:""}.fa-face-grin-squint-tears:before,.fa-grin-squint-tears:before{content:""}.fa-face-grin-stars:before,.fa-grin-stars:before{content:""}.fa-face-grin-tears:before,.fa-grin-tears:before{content:""}.fa-face-grin-tongue:before,.fa-grin-tongue:before{content:""}.fa-face-grin-tongue-squint:before,.fa-grin-tongue-squint:before{content:""}.fa-face-grin-tongue-wink:before,.fa-grin-tongue-wink:before{content:""}.fa-face-grin-wide:before,.fa-grin-alt:before{content:""}.fa-face-grin-wink:before,.fa-grin-wink:before{content:""}.fa-face-kiss:before,.fa-kiss:before{content:""}.fa-face-kiss-beam:before,.fa-kiss-beam:before{content:""}.fa-face-kiss-wink-heart:before,.fa-kiss-wink-heart:before{content:""}.fa-face-laugh:before,.fa-laugh:before{content:""}.fa-face-laugh-beam:before,.fa-laugh-beam:before{content:""}.fa-face-laugh-squint:before,.fa-laugh-squint:before{content:""}.fa-face-laugh-wink:before,.fa-laugh-wink:before{content:""}.fa-face-meh:before,.fa-meh:before{content:""}.fa-face-meh-blank:before,.fa-meh-blank:before{content:""}.fa-face-rolling-eyes:before,.fa-meh-rolling-eyes:before{content:""}.fa-face-sad-cry:before,.fa-sad-cry:before{content:""}.fa-face-sad-tear:before,.fa-sad-tear:before{content:""}.fa-face-smile:before,.fa-smile:before{content:""}.fa-face-smile-beam:before,.fa-smile-beam:before{content:""}.fa-face-smile-wink:before,.fa-smile-wink:before{content:""}.fa-face-surprise:before,.fa-surprise:before{content:""}.fa-face-tired:before,.fa-tired:before{content:""}.fa-fan:before{content:""}.fa-faucet:before{content:""}.fa-fax:before{content:""}.fa-feather:before{content:""}.fa-feather-alt:before,.fa-feather-pointed:before{content:""}.fa-file:before{content:""}.fa-file-arrow-down:before,.fa-file-download:before{content:""}.fa-file-arrow-up:before,.fa-file-upload:before{content:""}.fa-file-audio:before{content:""}.fa-file-code:before{content:""}.fa-file-contract:before{content:""}.fa-file-csv:before{content:""}.fa-file-excel:before{content:""}.fa-arrow-right-from-file:before,.fa-file-export:before{content:""}.fa-file-image:before{content:""}.fa-arrow-right-to-file:before,.fa-file-import:before{content:""}.fa-file-invoice:before{content:""}.fa-file-invoice-dollar:before{content:""}.fa-file-alt:before,.fa-file-lines:before,.fa-file-text:before{content:""}.fa-file-medical:before{content:""}.fa-file-pdf:before{content:""}.fa-file-powerpoint:before{content:""}.fa-file-prescription:before{content:""}.fa-file-signature:before{content:""}.fa-file-video:before{content:""}.fa-file-medical-alt:before,.fa-file-waveform:before{content:""}.fa-file-word:before{content:""}.fa-file-archive:before,.fa-file-zipper:before{content:""}.fa-fill:before{content:""}.fa-fill-drip:before{content:""}.fa-film:before{content:""}.fa-filter:before{content:""}.fa-filter-circle-dollar:before,.fa-funnel-dollar:before{content:""}.fa-filter-circle-xmark:before{content:""}.fa-fingerprint:before{content:""}.fa-fire:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-fire-alt:before,.fa-fire-flame-curved:before{content:""}.fa-burn:before,.fa-fire-flame-simple:before{content:""}.fa-fish:before{content:""}.fa-flag:before{content:""}.fa-flag-checkered:before{content:""}.fa-flag-usa:before{content:""}.fa-flask:before{content:""}.fa-floppy-disk:before,.fa-save:before{content:""}.fa-florin-sign:before{content:""}.fa-folder:before{content:""}.fa-folder-minus:before{content:""}.fa-folder-open:before{content:""}.fa-folder-plus:before{content:""}.fa-folder-tree:before{content:""}.fa-font:before{content:""}.fa-football-ball:before,.fa-football:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before,.fa-forward-fast:before{content:""}.fa-forward-step:before,.fa-step-forward:before{content:""}.fa-franc-sign:before{content:""}.fa-frog:before{content:""}.fa-futbol-ball:before,.fa-futbol:before,.fa-soccer-ball:before{content:""}.fa-g:before{content:"G"}.fa-gamepad:before{content:""}.fa-gas-pump:before{content:""}.fa-dashboard:before,.fa-gauge-med:before,.fa-gauge:before,.fa-tachometer-alt-average:before{content:""}.fa-gauge-high:before,.fa-tachometer-alt-fast:before,.fa-tachometer-alt:before{content:""}.fa-gauge-simple-med:before,.fa-gauge-simple:before,.fa-tachometer-average:before{content:""}.fa-gauge-simple-high:before,.fa-tachometer-fast:before,.fa-tachometer:before{content:""}.fa-gavel:before,.fa-legal:before{content:""}.fa-cog:before,.fa-gear:before{content:""}.fa-cogs:before,.fa-gears:before{content:""}.fa-gem:before{content:""}.fa-genderless:before{content:""}.fa-ghost:before{content:""}.fa-gift:before{content:""}.fa-gifts:before{content:""}.fa-glasses:before{content:""}.fa-globe:before{content:""}.fa-golf-ball-tee:before,.fa-golf-ball:before{content:""}.fa-gopuram:before{content:""}.fa-graduation-cap:before,.fa-mortar-board:before{content:""}.fa-greater-than:before{content:">"}.fa-greater-than-equal:before{content:""}.fa-grip-horizontal:before,.fa-grip:before{content:""}.fa-grip-lines:before{content:""}.fa-grip-lines-vertical:before{content:""}.fa-grip-vertical:before{content:""}.fa-guarani-sign:before{content:""}.fa-guitar:before{content:""}.fa-gun:before{content:""}.fa-h:before{content:"H"}.fa-hammer:before{content:""}.fa-hamsa:before{content:""}.fa-hand-paper:before,.fa-hand:before{content:""}.fa-hand-back-fist:before,.fa-hand-rock:before{content:""}.fa-allergies:before,.fa-hand-dots:before{content:""}.fa-fist-raised:before,.fa-hand-fist:before{content:""}.fa-hand-holding:before{content:""}.fa-hand-holding-dollar:before,.fa-hand-holding-usd:before{content:""}.fa-hand-holding-droplet:before,.fa-hand-holding-water:before{content:""}.fa-hand-holding-heart:before{content:""}.fa-hand-holding-medical:before{content:""}.fa-hand-lizard:before{content:""}.fa-hand-middle-finger:before{content:""}.fa-hand-peace:before{content:""}.fa-hand-point-down:before{content:""}.fa-hand-point-left:before{content:""}.fa-hand-point-right:before{content:""}.fa-hand-point-up:before{content:""}.fa-hand-pointer:before{content:""}.fa-hand-scissors:before{content:""}.fa-hand-sparkles:before{content:""}.fa-hand-spock:before{content:""}.fa-hands:before,.fa-sign-language:before,.fa-signing:before{content:""}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before,.fa-hands-american-sign-language-interpreting:before,.fa-hands-asl-interpreting:before{content:""}.fa-hands-bubbles:before,.fa-hands-wash:before{content:""}.fa-hands-clapping:before{content:""}.fa-hands-holding:before{content:""}.fa-hands-praying:before,.fa-praying-hands:before{content:""}.fa-handshake:before{content:""}.fa-hands-helping:before,.fa-handshake-angle:before{content:""}.fa-handshake-alt-slash:before,.fa-handshake-simple-slash:before{content:""}.fa-handshake-slash:before{content:""}.fa-hanukiah:before{content:""}.fa-hard-drive:before,.fa-hdd:before{content:""}.fa-hashtag:before{content:"#"}.fa-hat-cowboy:before{content:""}.fa-hat-cowboy-side:before{content:""}.fa-hat-wizard:before{content:""}.fa-head-side-cough:before{content:""}.fa-head-side-cough-slash:before{content:""}.fa-head-side-mask:before{content:""}.fa-head-side-virus:before{content:""}.fa-header:before,.fa-heading:before{content:""}.fa-headphones:before{content:""}.fa-headphones-alt:before,.fa-headphones-simple:before{content:""}.fa-headset:before{content:""}.fa-heart:before{content:""}.fa-heart-broken:before,.fa-heart-crack:before{content:""}.fa-heart-pulse:before,.fa-heartbeat:before{content:""}.fa-helicopter:before{content:""}.fa-hard-hat:before,.fa-hat-hard:before,.fa-helmet-safety:before{content:""}.fa-highlighter:before{content:""}.fa-hippo:before{content:""}.fa-hockey-puck:before{content:""}.fa-holly-berry:before{content:""}.fa-horse:before{content:""}.fa-horse-head:before{content:""}.fa-hospital-alt:before,.fa-hospital-wide:before,.fa-hospital:before{content:""}.fa-hospital-user:before{content:""}.fa-hot-tub-person:before,.fa-hot-tub:before{content:""}.fa-hotdog:before{content:""}.fa-hotel:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before,.fa-hourglass:before{content:""}.fa-hourglass-empty:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-home-alt:before,.fa-home-lg-alt:before,.fa-home:before,.fa-house:before{content:""}.fa-home-lg:before,.fa-house-chimney:before{content:""}.fa-house-chimney-crack:before,.fa-house-damage:before{content:""}.fa-clinic-medical:before,.fa-house-chimney-medical:before{content:""}.fa-house-chimney-user:before{content:""}.fa-house-chimney-window:before{content:""}.fa-house-crack:before{content:""}.fa-house-laptop:before,.fa-laptop-house:before{content:""}.fa-house-medical:before{content:""}.fa-home-user:before,.fa-house-user:before{content:""}.fa-hryvnia-sign:before,.fa-hryvnia:before{content:""}.fa-i:before{content:"I"}.fa-i-cursor:before{content:""}.fa-ice-cream:before{content:""}.fa-icicles:before{content:""}.fa-heart-music-camera-bolt:before,.fa-icons:before{content:""}.fa-id-badge:before{content:""}.fa-drivers-license:before,.fa-id-card:before{content:""}.fa-id-card-alt:before,.fa-id-card-clip:before{content:""}.fa-igloo:before{content:""}.fa-image:before{content:""}.fa-image-portrait:before,.fa-portrait:before{content:""}.fa-images:before{content:""}.fa-inbox:before{content:""}.fa-indent:before{content:""}.fa-indian-rupee-sign:before,.fa-indian-rupee:before,.fa-inr:before{content:""}.fa-industry:before{content:""}.fa-infinity:before{content:""}.fa-info:before{content:""}.fa-italic:before{content:""}.fa-j:before{content:"J"}.fa-jedi:before{content:""}.fa-fighter-jet:before,.fa-jet-fighter:before{content:""}.fa-joint:before{content:""}.fa-k:before{content:"K"}.fa-kaaba:before{content:""}.fa-key:before{content:""}.fa-keyboard:before{content:""}.fa-khanda:before{content:""}.fa-kip-sign:before{content:""}.fa-first-aid:before,.fa-kit-medical:before{content:""}.fa-kiwi-bird:before{content:""}.fa-l:before{content:"L"}.fa-landmark:before{content:""}.fa-language:before{content:""}.fa-laptop:before{content:""}.fa-laptop-code:before{content:""}.fa-laptop-medical:before{content:""}.fa-lari-sign:before{content:""}.fa-layer-group:before{content:""}.fa-leaf:before{content:""}.fa-left-long:before,.fa-long-arrow-alt-left:before{content:""}.fa-arrows-alt-h:before,.fa-left-right:before{content:""}.fa-lemon:before{content:""}.fa-less-than:before{content:"<"}.fa-less-than-equal:before{content:""}.fa-life-ring:before{content:""}.fa-lightbulb:before{content:""}.fa-chain:before,.fa-link:before{content:""}.fa-chain-broken:before,.fa-chain-slash:before,.fa-link-slash:before,.fa-unlink:before{content:""}.fa-lira-sign:before{content:""}.fa-list-squares:before,.fa-list:before{content:""}.fa-list-check:before,.fa-tasks:before{content:""}.fa-list-1-2:before,.fa-list-numeric:before,.fa-list-ol:before{content:""}.fa-list-dots:before,.fa-list-ul:before{content:""}.fa-litecoin-sign:before{content:""}.fa-location-arrow:before{content:""}.fa-location-crosshairs:before,.fa-location:before{content:""}.fa-location-dot:before,.fa-map-marker-alt:before{content:""}.fa-location-pin:before,.fa-map-marker:before{content:""}.fa-lock:before{content:""}.fa-lock-open:before{content:""}.fa-lungs:before{content:""}.fa-lungs-virus:before{content:""}.fa-m:before{content:"M"}.fa-magnet:before{content:""}.fa-magnifying-glass:before,.fa-search:before{content:""}.fa-magnifying-glass-dollar:before,.fa-search-dollar:before{content:""}.fa-magnifying-glass-location:before,.fa-search-location:before{content:""}.fa-magnifying-glass-minus:before,.fa-search-minus:before{content:""}.fa-magnifying-glass-plus:before,.fa-search-plus:before{content:""}.fa-manat-sign:before{content:""}.fa-map:before{content:""}.fa-map-location:before,.fa-map-marked:before{content:""}.fa-map-location-dot:before,.fa-map-marked-alt:before{content:""}.fa-map-pin:before{content:""}.fa-marker:before{content:""}.fa-mars:before{content:""}.fa-mars-and-venus:before{content:""}.fa-mars-double:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-h:before,.fa-mars-stroke-right:before{content:""}.fa-mars-stroke-up:before,.fa-mars-stroke-v:before{content:""}.fa-glass-martini-alt:before,.fa-martini-glass:before{content:""}.fa-cocktail:before,.fa-martini-glass-citrus:before{content:""}.fa-glass-martini:before,.fa-martini-glass-empty:before{content:""}.fa-mask:before{content:""}.fa-mask-face:before{content:""}.fa-masks-theater:before,.fa-theater-masks:before{content:""}.fa-expand-arrows-alt:before,.fa-maximize:before{content:""}.fa-medal:before{content:""}.fa-memory:before{content:""}.fa-menorah:before{content:""}.fa-mercury:before{content:""}.fa-comment-alt:before,.fa-message:before{content:""}.fa-meteor:before{content:""}.fa-microchip:before{content:""}.fa-microphone:before{content:""}.fa-microphone-alt:before,.fa-microphone-lines:before{content:""}.fa-microphone-alt-slash:before,.fa-microphone-lines-slash:before{content:""}.fa-microphone-slash:before{content:""}.fa-microscope:before{content:""}.fa-mill-sign:before{content:""}.fa-compress-arrows-alt:before,.fa-minimize:before{content:""}.fa-minus:before,.fa-subtract:before{content:""}.fa-mitten:before{content:""}.fa-mobile-android:before,.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-mobile-button:before{content:""}.fa-mobile-alt:before,.fa-mobile-screen-button:before{content:""}.fa-money-bill:before{content:""}.fa-money-bill-1:before,.fa-money-bill-alt:before{content:""}.fa-money-bill-1-wave:before,.fa-money-bill-wave-alt:before{content:""}.fa-money-bill-wave:before{content:""}.fa-money-check:before{content:""}.fa-money-check-alt:before,.fa-money-check-dollar:before{content:""}.fa-monument:before{content:""}.fa-moon:before{content:""}.fa-mortar-pestle:before{content:""}.fa-mosque:before{content:""}.fa-motorcycle:before{content:""}.fa-mountain:before{content:""}.fa-mug-hot:before{content:""}.fa-coffee:before,.fa-mug-saucer:before{content:""}.fa-music:before{content:""}.fa-n:before{content:"N"}.fa-naira-sign:before{content:""}.fa-network-wired:before{content:""}.fa-neuter:before{content:""}.fa-newspaper:before{content:""}.fa-not-equal:before{content:""}.fa-note-sticky:before,.fa-sticky-note:before{content:""}.fa-notes-medical:before{content:""}.fa-o:before{content:"O"}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-oil-can:before{content:""}.fa-om:before{content:""}.fa-otter:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-p:before{content:"P"}.fa-pager:before{content:""}.fa-paint-roller:before{content:""}.fa-paint-brush:before,.fa-paintbrush:before{content:""}.fa-palette:before{content:""}.fa-pallet:before{content:""}.fa-panorama:before{content:""}.fa-paper-plane:before{content:""}.fa-paperclip:before{content:""}.fa-parachute-box:before{content:""}.fa-paragraph:before{content:""}.fa-passport:before{content:""}.fa-file-clipboard:before,.fa-paste:before{content:""}.fa-pause:before{content:""}.fa-paw:before{content:""}.fa-peace:before{content:""}.fa-pen:before{content:""}.fa-pen-alt:before,.fa-pen-clip:before{content:""}.fa-pen-fancy:before{content:""}.fa-pen-nib:before{content:""}.fa-pen-ruler:before,.fa-pencil-ruler:before{content:""}.fa-edit:before,.fa-pen-to-square:before{content:""}.fa-pencil-alt:before,.fa-pencil:before{content:""}.fa-people-arrows-left-right:before,.fa-people-arrows:before{content:""}.fa-people-carry-box:before,.fa-people-carry:before{content:""}.fa-pepper-hot:before{content:""}.fa-percent:before,.fa-percentage:before{content:"%"}.fa-male:before,.fa-person:before{content:""}.fa-biking:before,.fa-person-biking:before{content:""}.fa-person-booth:before{content:""}.fa-diagnoses:before,.fa-person-dots-from-line:before{content:""}.fa-female:before,.fa-person-dress:before{content:""}.fa-hiking:before,.fa-person-hiking:before{content:""}.fa-person-praying:before,.fa-pray:before{content:""}.fa-person-running:before,.fa-running:before{content:""}.fa-person-skating:before,.fa-skating:before{content:""}.fa-person-skiing:before,.fa-skiing:before{content:""}.fa-person-skiing-nordic:before,.fa-skiing-nordic:before{content:""}.fa-person-snowboarding:before,.fa-snowboarding:before{content:""}.fa-person-swimming:before,.fa-swimmer:before{content:""}.fa-person-walking:before,.fa-walking:before{content:""}.fa-blind:before,.fa-person-walking-with-cane:before{content:""}.fa-peseta-sign:before{content:""}.fa-peso-sign:before{content:""}.fa-phone:before{content:""}.fa-phone-alt:before,.fa-phone-flip:before{content:""}.fa-phone-slash:before{content:""}.fa-phone-volume:before,.fa-volume-control-phone:before{content:""}.fa-photo-film:before,.fa-photo-video:before{content:""}.fa-piggy-bank:before{content:""}.fa-pills:before{content:""}.fa-pizza-slice:before{content:""}.fa-place-of-worship:before{content:""}.fa-plane:before{content:""}.fa-plane-arrival:before{content:""}.fa-plane-departure:before{content:""}.fa-plane-slash:before{content:""}.fa-play:before{content:""}.fa-plug:before{content:""}.fa-add:before,.fa-plus:before{content:"+"}.fa-plus-minus:before{content:""}.fa-podcast:before{content:""}.fa-poo:before{content:""}.fa-poo-bolt:before,.fa-poo-storm:before{content:""}.fa-poop:before{content:""}.fa-power-off:before{content:""}.fa-prescription:before{content:""}.fa-prescription-bottle:before{content:""}.fa-prescription-bottle-alt:before,.fa-prescription-bottle-medical:before{content:""}.fa-print:before{content:""}.fa-pump-medical:before{content:""}.fa-pump-soap:before{content:""}.fa-puzzle-piece:before{content:""}.fa-q:before{content:"Q"}.fa-qrcode:before{content:""}.fa-question:before{content:"?"}.fa-quote-left-alt:before,.fa-quote-left:before{content:""}.fa-quote-right-alt:before,.fa-quote-right:before{content:""}.fa-r:before{content:"R"}.fa-radiation:before{content:""}.fa-rainbow:before{content:""}.fa-receipt:before{content:""}.fa-record-vinyl:before{content:""}.fa-ad:before,.fa-rectangle-ad:before{content:""}.fa-list-alt:before,.fa-rectangle-list:before{content:""}.fa-rectangle-times:before,.fa-rectangle-xmark:before,.fa-times-rectangle:before,.fa-window-close:before{content:""}.fa-recycle:before{content:""}.fa-registered:before{content:""}.fa-repeat:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-republican:before{content:""}.fa-restroom:before{content:""}.fa-retweet:before{content:""}.fa-ribbon:before{content:""}.fa-right-from-bracket:before,.fa-sign-out-alt:before{content:""}.fa-exchange-alt:before,.fa-right-left:before{content:""}.fa-long-arrow-alt-right:before,.fa-right-long:before{content:""}.fa-right-to-bracket:before,.fa-sign-in-alt:before{content:""}.fa-ring:before{content:""}.fa-road:before{content:""}.fa-robot:before{content:""}.fa-rocket:before{content:""}.fa-rotate:before,.fa-sync-alt:before{content:""}.fa-rotate-back:before,.fa-rotate-backward:before,.fa-rotate-left:before,.fa-undo-alt:before{content:""}.fa-redo-alt:before,.fa-rotate-forward:before,.fa-rotate-right:before{content:""}.fa-route:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-rouble:before,.fa-rub:before,.fa-ruble-sign:before,.fa-ruble:before{content:""}.fa-ruler:before{content:""}.fa-ruler-combined:before{content:""}.fa-ruler-horizontal:before{content:""}.fa-ruler-vertical:before{content:""}.fa-rupee-sign:before,.fa-rupee:before{content:""}.fa-rupiah-sign:before{content:""}.fa-s:before{content:"S"}.fa-sailboat:before{content:""}.fa-satellite:before{content:""}.fa-satellite-dish:before{content:""}.fa-balance-scale:before,.fa-scale-balanced:before{content:""}.fa-balance-scale-left:before,.fa-scale-unbalanced:before{content:""}.fa-balance-scale-right:before,.fa-scale-unbalanced-flip:before{content:""}.fa-school:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-screwdriver:before{content:""}.fa-screwdriver-wrench:before,.fa-tools:before{content:""}.fa-scroll:before{content:""}.fa-scroll-torah:before,.fa-torah:before{content:""}.fa-sd-card:before{content:""}.fa-section:before{content:""}.fa-seedling:before,.fa-sprout:before{content:""}.fa-server:before{content:""}.fa-shapes:before,.fa-triangle-circle-square:before{content:""}.fa-arrow-turn-right:before,.fa-mail-forward:before,.fa-share:before{content:""}.fa-share-from-square:before,.fa-share-square:before{content:""}.fa-share-alt:before,.fa-share-nodes:before{content:""}.fa-ils:before,.fa-shekel-sign:before,.fa-shekel:before,.fa-sheqel-sign:before,.fa-sheqel:before{content:""}.fa-shield:before{content:""}.fa-shield-alt:before,.fa-shield-blank:before{content:""}.fa-shield-virus:before{content:""}.fa-ship:before{content:""}.fa-shirt:before,.fa-t-shirt:before,.fa-tshirt:before{content:""}.fa-shoe-prints:before{content:""}.fa-shop:before,.fa-store-alt:before{content:""}.fa-shop-slash:before,.fa-store-alt-slash:before{content:""}.fa-shower:before{content:""}.fa-shrimp:before{content:""}.fa-random:before,.fa-shuffle:before{content:""}.fa-shuttle-space:before,.fa-space-shuttle:before{content:""}.fa-sign-hanging:before,.fa-sign:before{content:""}.fa-signal-5:before,.fa-signal-perfect:before,.fa-signal:before{content:""}.fa-signature:before{content:""}.fa-map-signs:before,.fa-signs-post:before{content:""}.fa-sim-card:before{content:""}.fa-sink:before{content:""}.fa-sitemap:before{content:""}.fa-skull:before{content:""}.fa-skull-crossbones:before{content:""}.fa-slash:before{content:""}.fa-sleigh:before{content:""}.fa-sliders-h:before,.fa-sliders:before{content:""}.fa-smog:before{content:""}.fa-smoking:before{content:""}.fa-snowflake:before{content:""}.fa-snowman:before{content:""}.fa-snowplow:before{content:""}.fa-soap:before{content:""}.fa-socks:before{content:""}.fa-solar-panel:before{content:""}.fa-sort:before,.fa-unsorted:before{content:""}.fa-sort-desc:before,.fa-sort-down:before{content:""}.fa-sort-asc:before,.fa-sort-up:before{content:""}.fa-spa:before{content:""}.fa-pastafarianism:before,.fa-spaghetti-monster-flying:before{content:""}.fa-spell-check:before{content:""}.fa-spider:before{content:""}.fa-spinner:before{content:""}.fa-splotch:before{content:""}.fa-spoon:before,.fa-utensil-spoon:before{content:""}.fa-spray-can:before{content:""}.fa-air-freshener:before,.fa-spray-can-sparkles:before{content:""}.fa-square:before{content:""}.fa-external-link-square:before,.fa-square-arrow-up-right:before{content:""}.fa-caret-square-down:before,.fa-square-caret-down:before{content:""}.fa-caret-square-left:before,.fa-square-caret-left:before{content:""}.fa-caret-square-right:before,.fa-square-caret-right:before{content:""}.fa-caret-square-up:before,.fa-square-caret-up:before{content:""}.fa-check-square:before,.fa-square-check:before{content:""}.fa-envelope-square:before,.fa-square-envelope:before{content:""}.fa-square-full:before{content:""}.fa-h-square:before,.fa-square-h:before{content:""}.fa-minus-square:before,.fa-square-minus:before{content:""}.fa-parking:before,.fa-square-parking:before{content:""}.fa-pen-square:before,.fa-pencil-square:before,.fa-square-pen:before{content:""}.fa-phone-square:before,.fa-square-phone:before{content:""}.fa-phone-square-alt:before,.fa-square-phone-flip:before{content:""}.fa-plus-square:before,.fa-square-plus:before{content:""}.fa-poll-h:before,.fa-square-poll-horizontal:before{content:""}.fa-poll:before,.fa-square-poll-vertical:before{content:""}.fa-square-root-alt:before,.fa-square-root-variable:before{content:""}.fa-rss-square:before,.fa-square-rss:before{content:""}.fa-share-alt-square:before,.fa-square-share-nodes:before{content:""}.fa-external-link-square-alt:before,.fa-square-up-right:before{content:""}.fa-square-xmark:before,.fa-times-square:before,.fa-xmark-square:before{content:""}.fa-stairs:before{content:""}.fa-stamp:before{content:""}.fa-star:before{content:""}.fa-star-and-crescent:before{content:""}.fa-star-half:before{content:""}.fa-star-half-alt:before,.fa-star-half-stroke:before{content:""}.fa-star-of-david:before{content:""}.fa-star-of-life:before{content:""}.fa-gbp:before,.fa-pound-sign:before,.fa-sterling-sign:before{content:""}.fa-stethoscope:before{content:""}.fa-stop:before{content:""}.fa-stopwatch:before{content:""}.fa-stopwatch-20:before{content:""}.fa-store:before{content:""}.fa-store-slash:before{content:""}.fa-street-view:before{content:""}.fa-strikethrough:before{content:""}.fa-stroopwafel:before{content:""}.fa-subscript:before{content:""}.fa-suitcase:before{content:""}.fa-medkit:before,.fa-suitcase-medical:before{content:""}.fa-suitcase-rolling:before{content:""}.fa-sun:before{content:""}.fa-superscript:before{content:""}.fa-swatchbook:before{content:""}.fa-synagogue:before{content:""}.fa-syringe:before{content:""}.fa-t:before{content:"T"}.fa-table:before{content:""}.fa-table-cells:before,.fa-th:before{content:""}.fa-table-cells-large:before,.fa-th-large:before{content:""}.fa-columns:before,.fa-table-columns:before{content:""}.fa-table-list:before,.fa-th-list:before{content:""}.fa-ping-pong-paddle-ball:before,.fa-table-tennis-paddle-ball:before,.fa-table-tennis:before{content:""}.fa-tablet-android:before,.fa-tablet:before{content:""}.fa-tablet-button:before{content:""}.fa-tablet-alt:before,.fa-tablet-screen-button:before{content:""}.fa-tablets:before{content:""}.fa-digital-tachograph:before,.fa-tachograph-digital:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-tape:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-teeth:before{content:""}.fa-teeth-open:before{content:""}.fa-temperature-0:before,.fa-temperature-empty:before,.fa-thermometer-0:before,.fa-thermometer-empty:before{content:""}.fa-temperature-4:before,.fa-temperature-full:before,.fa-thermometer-4:before,.fa-thermometer-full:before{content:""}.fa-temperature-2:before,.fa-temperature-half:before,.fa-thermometer-2:before,.fa-thermometer-half:before{content:""}.fa-temperature-high:before{content:""}.fa-temperature-low:before{content:""}.fa-temperature-1:before,.fa-temperature-quarter:before,.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:""}.fa-temperature-3:before,.fa-temperature-three-quarters:before,.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:""}.fa-tenge-sign:before,.fa-tenge:before{content:""}.fa-terminal:before{content:""}.fa-text-height:before{content:""}.fa-remove-format:before,.fa-text-slash:before{content:""}.fa-text-width:before{content:""}.fa-thermometer:before{content:""}.fa-thumbs-down:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumb-tack:before,.fa-thumbtack:before{content:""}.fa-ticket:before{content:""}.fa-ticket-alt:before,.fa-ticket-simple:before{content:""}.fa-timeline:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-toilet:before{content:""}.fa-toilet-paper:before{content:""}.fa-toilet-paper-slash:before{content:""}.fa-toolbox:before{content:""}.fa-tooth:before{content:""}.fa-torii-gate:before{content:""}.fa-broadcast-tower:before,.fa-tower-broadcast:before{content:""}.fa-tractor:before{content:""}.fa-trademark:before{content:""}.fa-traffic-light:before{content:""}.fa-trailer:before{content:""}.fa-train:before{content:""}.fa-subway:before,.fa-train-subway:before{content:""}.fa-train-tram:before,.fa-tram:before{content:""}.fa-transgender-alt:before,.fa-transgender:before{content:""}.fa-trash:before{content:""}.fa-trash-arrow-up:before,.fa-trash-restore:before{content:""}.fa-trash-alt:before,.fa-trash-can:before{content:""}.fa-trash-can-arrow-up:before,.fa-trash-restore-alt:before{content:""}.fa-tree:before{content:""}.fa-exclamation-triangle:before,.fa-triangle-exclamation:before,.fa-warning:before{content:""}.fa-trophy:before{content:""}.fa-truck:before{content:""}.fa-shipping-fast:before,.fa-truck-fast:before{content:""}.fa-ambulance:before,.fa-truck-medical:before{content:""}.fa-truck-monster:before{content:""}.fa-truck-moving:before{content:""}.fa-truck-pickup:before{content:""}.fa-truck-loading:before,.fa-truck-ramp-box:before{content:""}.fa-teletype:before,.fa-tty:before{content:""}.fa-try:before,.fa-turkish-lira-sign:before,.fa-turkish-lira:before{content:""}.fa-level-down-alt:before,.fa-turn-down:before{content:""}.fa-level-up-alt:before,.fa-turn-up:before{content:""}.fa-television:before,.fa-tv-alt:before,.fa-tv:before{content:""}.fa-u:before{content:"U"}.fa-umbrella:before{content:""}.fa-umbrella-beach:before{content:""}.fa-underline:before{content:""}.fa-universal-access:before{content:""}.fa-unlock:before{content:""}.fa-unlock-alt:before,.fa-unlock-keyhole:before{content:""}.fa-arrows-alt-v:before,.fa-up-down:before{content:""}.fa-arrows-alt:before,.fa-up-down-left-right:before{content:""}.fa-long-arrow-alt-up:before,.fa-up-long:before{content:""}.fa-expand-alt:before,.fa-up-right-and-down-left-from-center:before{content:""}.fa-external-link-alt:before,.fa-up-right-from-square:before{content:""}.fa-upload:before{content:""}.fa-user:before{content:""}.fa-user-astronaut:before{content:""}.fa-user-check:before{content:""}.fa-user-clock:before{content:""}.fa-user-doctor:before,.fa-user-md:before{content:""}.fa-user-cog:before,.fa-user-gear:before{content:""}.fa-user-graduate:before{content:""}.fa-user-friends:before,.fa-user-group:before{content:""}.fa-user-injured:before{content:""}.fa-user-alt:before,.fa-user-large:before{content:""}.fa-user-alt-slash:before,.fa-user-large-slash:before{content:""}.fa-user-lock:before{content:""}.fa-user-minus:before{content:""}.fa-user-ninja:before{content:""}.fa-user-nurse:before{content:""}.fa-user-edit:before,.fa-user-pen:before{content:""}.fa-user-plus:before{content:""}.fa-user-secret:before{content:""}.fa-user-shield:before{content:""}.fa-user-slash:before{content:""}.fa-user-tag:before{content:""}.fa-user-tie:before{content:""}.fa-user-times:before,.fa-user-xmark:before{content:""}.fa-users:before{content:""}.fa-users-cog:before,.fa-users-gear:before{content:""}.fa-users-slash:before{content:""}.fa-cutlery:before,.fa-utensils:before{content:""}.fa-v:before{content:"V"}.fa-shuttle-van:before,.fa-van-shuttle:before{content:""}.fa-vault:before{content:""}.fa-vector-square:before{content:""}.fa-venus:before{content:""}.fa-venus-double:before{content:""}.fa-venus-mars:before{content:""}.fa-vest:before{content:""}.fa-vest-patches:before{content:""}.fa-vial:before{content:""}.fa-vials:before{content:""}.fa-video-camera:before,.fa-video:before{content:""}.fa-video-slash:before{content:""}.fa-vihara:before{content:""}.fa-virus:before{content:""}.fa-virus-covid:before{content:""}.fa-virus-covid-slash:before{content:""}.fa-virus-slash:before{content:""}.fa-viruses:before{content:""}.fa-voicemail:before{content:""}.fa-volleyball-ball:before,.fa-volleyball:before{content:""}.fa-volume-high:before,.fa-volume-up:before{content:""}.fa-volume-down:before,.fa-volume-low:before{content:""}.fa-volume-off:before{content:""}.fa-volume-mute:before,.fa-volume-times:before,.fa-volume-xmark:before{content:""}.fa-vr-cardboard:before{content:""}.fa-w:before{content:"W"}.fa-wallet:before{content:""}.fa-magic:before,.fa-wand-magic:before{content:""}.fa-magic-wand-sparkles:before,.fa-wand-magic-sparkles:before{content:""}.fa-wand-sparkles:before{content:""}.fa-warehouse:before{content:""}.fa-water:before{content:""}.fa-ladder-water:before,.fa-swimming-pool:before,.fa-water-ladder:before{content:""}.fa-wave-square:before{content:""}.fa-weight-hanging:before{content:""}.fa-weight-scale:before,.fa-weight:before{content:""}.fa-wheelchair:before{content:""}.fa-glass-whiskey:before,.fa-whiskey-glass:before{content:""}.fa-wifi-3:before,.fa-wifi-strong:before,.fa-wifi:before{content:""}.fa-wind:before{content:""}.fa-window-maximize:before{content:""}.fa-window-minimize:before{content:""}.fa-window-restore:before{content:""}.fa-wine-bottle:before{content:""}.fa-wine-glass:before{content:""}.fa-wine-glass-alt:before,.fa-wine-glass-empty:before{content:""}.fa-krw:before,.fa-won-sign:before,.fa-won:before{content:""}.fa-wrench:before{content:""}.fa-x:before{content:"X"}.fa-x-ray:before{content:""}.fa-close:before,.fa-multiply:before,.fa-remove:before,.fa-times:before,.fa-xmark:before{content:""}.fa-y:before{content:"Y"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen-sign:before,.fa-yen:before{content:""}.fa-yin-yang:before{content:""}.fa-z:before{content:"Z"}.fa-sr-only,.fa-sr-only-focusable:not(:focus),.sr-only,.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}/*! + * Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2022 Fonticons, Inc. + */:host,:root{--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(/openWB/web/themes/colors/assets/fa-solid-900-DByUvYfa.woff2) format("woff2"),url(/openWB/web/themes/colors/assets/fa-solid-900-CG7ny7S5.ttf) format("truetype")}.fa-solid,.fas{font-family:"Font Awesome 6 Free";font-weight:900}/*! + * Bootstrap v5.3.3 (https://getbootstrap.com/) + * Copyright 2011-2024 The Bootstrap Authors + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, .75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, .5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, .175);--bs-border-radius:.375rem;--bs-border-radius-sm:.25rem;--bs-border-radius-lg:.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm:0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width:.25rem;--bs-focus-ring-opacity:.25;--bs-focus-ring-color:rgba(13, 110, 253, .25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222,226,230;--bs-body-bg:#212529;--bs-body-bg-rgb:33,37,41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255,255,255;--bs-secondary-color:rgba(222, 226, 230, .75);--bs-secondary-color-rgb:222,226,230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52,58,64;--bs-tertiary-color:rgba(222, 226, 230, .5);--bs-tertiary-color-rgb:222,226,230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43,48,53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color-rgb:139,185,254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, .15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:.25rem}.g-1,.gy-1{--bs-gutter-y:.25rem}.g-2,.gx-2{--bs-gutter-x:.5rem}.g-2,.gy-2{--bs-gutter-y:.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-color-type:initial;--bs-table-bg-type:initial;--bs-table-color-state:initial;--bs-table-bg-state:initial;--bs-table-color:var(--bs-emphasis-color);--bs-table-bg:var(--bs-body-bg);--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-emphasis-color);--bs-table-striped-bg:rgba(var(--bs-emphasis-color-rgb), .05);--bs-table-active-color:var(--bs-emphasis-color);--bs-table-active-bg:rgba(var(--bs-emphasis-color-rgb), .1);--bs-table-hover-color:var(--bs-emphasis-color);--bs-table-hover-bg:rgba(var(--bs-emphasis-color-rgb), .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state,var(--bs-table-color-type,var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state,var(--bs-table-bg-type,var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-active{--bs-table-color-state:var(--bs-table-active-color);--bs-table-bg-state:var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state:var(--bs-table-hover-color);--bs-table-bg-state:var(--bs-table-hover-bg)}.table-primary{--bs-table-color:#000;--bs-table-bg:#cfe2ff;--bs-table-border-color:#a6b5cc;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color:#000;--bs-table-bg:#e2e3e5;--bs-table-border-color:#b5b6b7;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color:#000;--bs-table-bg:#d1e7dd;--bs-table-border-color:#a7b9b1;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color:#000;--bs-table-bg:#cff4fc;--bs-table-border-color:#a6c3ca;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color:#000;--bs-table-bg:#fff3cd;--bs-table-border-color:#ccc2a4;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color:#000;--bs-table-bg:#f8d7da;--bs-table-border-color:#c6acae;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color:#000;--bs-table-bg:#f8f9fa;--bs-table-border-color:#c6c7c8;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#4d5154;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg:var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::-moz-placeholder,.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown),.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control-plaintext~label:after,.form-floating>.form-control:focus~label:after,.form-floating>.form-control:not(:placeholder-shown)~label:after,.form-floating>.form-select~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>.form-control:disabled~label,.form-floating>:disabled~label{color:#6c757d}.form-floating>.form-control:disabled~label:after,.form-floating>:disabled~label:after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:var(--bs-form-valid-border-color)}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3.75rem + 1.5em)}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:var(--bs-form-valid-border-color)}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:var(--bs-form-valid-color)}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:var(--bs-form-invalid-border-color)}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3.75rem + 1.5em)}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:var(--bs-form-invalid-border-color)}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:var(--bs-form-invalid-color)}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--bs-btn-padding-x:.75rem;--bs-btn-padding-y:.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, .15),0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity:.65;--bs-btn-focus-box-shadow:0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49,132,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60,153,110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11,172,204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217,164,6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225,83,97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211,212,213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66,70,73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13,110,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108,117,125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25,135,84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13,202,240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255,193,7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220,53,69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248,249,250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33,37,41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:0 0 0 #000;--bs-btn-focus-shadow-rgb:49,132,253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--bs-btn-padding-y:.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:var(--bs-border-radius-lg)}.btn-group-sm>.btn,.btn-sm{--bs-btn-padding-y:.25rem;--bs-btn-padding-x:.5rem;--bs-btn-font-size:.875rem;--bs-btn-border-radius:var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex:1000;--bs-dropdown-min-width:10rem;--bs-dropdown-padding-x:0;--bs-dropdown-padding-y:.5rem;--bs-dropdown-spacer:.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color:var(--bs-body-color);--bs-dropdown-bg:var(--bs-body-bg);--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-border-radius:var(--bs-border-radius);--bs-dropdown-border-width:var(--bs-border-width);--bs-dropdown-inner-border-radius:calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y:.5rem;--bs-dropdown-box-shadow:var(--bs-box-shadow);--bs-dropdown-link-color:var(--bs-body-color);--bs-dropdown-link-hover-color:var(--bs-body-color);--bs-dropdown-link-hover-bg:var(--bs-tertiary-bg);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:var(--bs-tertiary-color);--bs-dropdown-item-padding-x:1rem;--bs-dropdown-item-padding-y:.25rem;--bs-dropdown-header-color:#6c757d;--bs-dropdown-header-padding-x:1rem;--bs-dropdown-header-padding-y:.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius,0)}.dropdown-item:focus,.dropdown-item:hover{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color:#dee2e6;--bs-dropdown-bg:#343a40;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color:#dee2e6;--bs-dropdown-link-hover-color:#fff;--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg:rgba(255, 255, 255, .15);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:0 0;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width:var(--bs-border-width);--bs-nav-tabs-border-color:var(--bs-border-color);--bs-nav-tabs-border-radius:var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color:var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color:var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg:var(--bs-body-bg);--bs-nav-tabs-link-active-border-color:var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius:var(--bs-border-radius);--bs-nav-pills-link-active-color:#fff;--bs-nav-pills-link-active-bg:#0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap:1rem;--bs-nav-underline-border-width:.125rem;--bs-nav-underline-link-active-color:var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:focus,.nav-underline .nav-link:hover{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:.5rem;--bs-navbar-color:rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color:rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color:rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y:.3125rem;--bs-navbar-brand-margin-end:1rem;--bs-navbar-brand-font-size:1.25rem;--bs-navbar-brand-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x:.5rem;--bs-navbar-toggler-padding-y:.25rem;--bs-navbar-toggler-padding-x:.75rem;--bs-navbar-toggler-font-size:1.25rem;--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color:rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius:var(--bs-border-radius);--bs-navbar-toggler-focus-width:.25rem;--bs-navbar-toggler-transition:box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x:0;--bs-nav-link-padding-y:.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-navbar-color);--bs-nav-link-hover-color:var(--bs-navbar-hover-color);--bs-nav-link-disabled-color:var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color:rgba(255, 255, 255, .55);--bs-navbar-hover-color:rgba(255, 255, 255, .75);--bs-navbar-disabled-color:rgba(255, 255, 255, .25);--bs-navbar-active-color:#fff;--bs-navbar-brand-color:#fff;--bs-navbar-brand-hover-color:#fff;--bs-navbar-toggler-border-color:rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-title-spacer-y:.5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width:var(--bs-border-width);--bs-card-border-color:var(--bs-border-color-translucent);--bs-card-border-radius:var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y:.5rem;--bs-card-cap-padding-x:1rem;--bs-card-cap-bg:rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg:var(--bs-body-bg);--bs-card-img-overlay-padding:1rem;--bs-card-group-margin:.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion{--bs-accordion-color:var(--bs-body-color);--bs-accordion-bg:var(--bs-body-bg);--bs-accordion-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;--bs-accordion-border-color:var(--bs-border-color);--bs-accordion-border-width:var(--bs-border-width);--bs-accordion-border-radius:var(--bs-border-radius);--bs-accordion-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem;--bs-accordion-btn-color:var(--bs-body-color);--bs-accordion-btn-bg:var(--bs-accordion-bg);--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width:1.25rem;--bs-accordion-btn-icon-transform:rotate(-180deg);--bs-accordion-btn-icon-transition:transform .2s ease-in-out;--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");--bs-accordion-btn-focus-box-shadow:0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x:1.25rem;--bs-accordion-body-padding-y:1rem;--bs-accordion-active-color:var(--bs-primary-text-emphasis);--bs-accordion-active-bg:var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}.accordion-flush>.accordion-item>.accordion-collapse{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:var(--bs-secondary-color);--bs-breadcrumb-item-padding-x:.5rem;--bs-breadcrumb-item-active-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x:.75rem;--bs-pagination-padding-y:.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:var(--bs-body-bg);--bs-pagination-border-width:var(--bs-border-width);--bs-pagination-border-color:var(--bs-border-color);--bs-pagination-border-radius:var(--bs-border-radius);--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:var(--bs-tertiary-bg);--bs-pagination-hover-border-color:var(--bs-border-color);--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:var(--bs-secondary-bg);--bs-pagination-focus-box-shadow:0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:var(--bs-secondary-color);--bs-pagination-disabled-bg:var(--bs-secondary-bg);--bs-pagination-disabled-border-color:var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x:1.5rem;--bs-pagination-padding-y:.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius:var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x:.5rem;--bs-pagination-padding-y:.25rem;--bs-pagination-font-size:.875rem;--bs-pagination-border-radius:var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x:.65em;--bs-badge-padding-y:.35em;--bs-badge-font-size:.75em;--bs-badge-font-weight:700;--bs-badge-color:#fff;--bs-badge-border-radius:var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius:var(--bs-border-radius);--bs-alert-link-color:inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color:var(--bs-primary-text-emphasis);--bs-alert-bg:var(--bs-primary-bg-subtle);--bs-alert-border-color:var(--bs-primary-border-subtle);--bs-alert-link-color:var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color:var(--bs-secondary-text-emphasis);--bs-alert-bg:var(--bs-secondary-bg-subtle);--bs-alert-border-color:var(--bs-secondary-border-subtle);--bs-alert-link-color:var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color:var(--bs-success-text-emphasis);--bs-alert-bg:var(--bs-success-bg-subtle);--bs-alert-border-color:var(--bs-success-border-subtle);--bs-alert-link-color:var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color:var(--bs-info-text-emphasis);--bs-alert-bg:var(--bs-info-bg-subtle);--bs-alert-border-color:var(--bs-info-border-subtle);--bs-alert-link-color:var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color:var(--bs-warning-text-emphasis);--bs-alert-bg:var(--bs-warning-bg-subtle);--bs-alert-border-color:var(--bs-warning-border-subtle);--bs-alert-link-color:var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color:var(--bs-danger-text-emphasis);--bs-alert-bg:var(--bs-danger-bg-subtle);--bs-alert-border-color:var(--bs-danger-border-subtle);--bs-alert-link-color:var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color:var(--bs-light-text-emphasis);--bs-alert-bg:var(--bs-light-bg-subtle);--bs-alert-border-color:var(--bs-light-border-subtle);--bs-alert-link-color:var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color:var(--bs-dark-text-emphasis);--bs-alert-bg:var(--bs-dark-bg-subtle);--bs-alert-border-color:var(--bs-dark-border-subtle);--bs-alert-link-color:var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height:1rem;--bs-progress-font-size:.75rem;--bs-progress-bg:var(--bs-secondary-bg);--bs-progress-border-radius:var(--bs-border-radius);--bs-progress-box-shadow:var(--bs-box-shadow-inset);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:#0d6efd;--bs-progress-bar-transition:width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color:#000;--bs-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity:.5;--bs-btn-close-hover-opacity:.75;--bs-btn-close-focus-shadow:0 0 0 .25rem rgba(13, 110, 253, .25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:.25;--bs-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white,[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:.75rem;--bs-toast-padding-y:.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:.875rem;--bs-toast-color: ;--bs-toast-bg:rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width:var(--bs-border-width);--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:var(--bs-border-radius);--bs-toast-box-shadow:var(--bs-box-shadow);--bs-toast-header-color:var(--bs-secondary-color);--bs-toast-header-bg:rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color:var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex:1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:.5rem;--bs-modal-color: ;--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:var(--bs-box-shadow-sm);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex:1050;--bs-backdrop-bg:#000;--bs-backdrop-opacity:.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex:1080;--bs-tooltip-max-width:200px;--bs-tooltip-padding-x:.5rem;--bs-tooltip-padding-y:.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:.875rem;--bs-tooltip-color:var(--bs-body-bg);--bs-tooltip-bg:var(--bs-emphasis-color);--bs-tooltip-border-radius:var(--bs-border-radius);--bs-tooltip-opacity:.9;--bs-tooltip-arrow-width:.8rem;--bs-tooltip-arrow-height:.4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before,.bs-tooltip-top .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before,.bs-tooltip-end .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before,.bs-tooltip-bottom .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before,.bs-tooltip-start .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex:1070;--bs-popover-max-width:276px;--bs-popover-font-size:.875rem;--bs-popover-bg:var(--bs-body-bg);--bs-popover-border-width:var(--bs-border-width);--bs-popover-border-color:var(--bs-border-color-translucent);--bs-popover-border-radius:var(--bs-border-radius-lg);--bs-popover-inner-border-radius:calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow:var(--bs-box-shadow);--bs-popover-header-padding-x:1rem;--bs-popover-header-padding-y:.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color:inherit;--bs-popover-header-bg:var(--bs-secondary-bg);--bs-popover-body-padding-x:1rem;--bs-popover-body-padding-y:1rem;--bs-popover-body-color:var(--bs-body-color);--bs-popover-arrow-width:1rem;--bs-popover-arrow-height:.5rem;--bs-popover-arrow-border:var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:after,.popover .popover-arrow:before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-top>.popover-arrow:before{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-top>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-end>.popover-arrow:before{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-end>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:before{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-start>.popover-arrow:before{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-start>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translate(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-.125em;--bs-spinner-border-width:.25em;--bs-spinner-animation-speed:.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-.125em;--bs-spinner-animation-speed:.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--bs-offcanvas-zindex:1045;--bs-offcanvas-width:400px;--bs-offcanvas-height:30vh;--bs-offcanvas-padding-x:1rem;--bs-offcanvas-padding-y:1rem;--bs-offcanvas-color:var(--bs-body-color);--bs-offcanvas-bg:var(--bs-body-bg);--bs-offcanvas-border-width:var(--bs-border-width);--bs-offcanvas-border-color:var(--bs-border-color-translucent);--bs-offcanvas-box-shadow:var(--bs-box-shadow-sm);--bs-offcanvas-transition:transform .3s ease-in-out;--bs-offcanvas-title-line-height:1.5}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{transform:none}.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{transform:none}.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{transform:none}.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{transform:none}.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{transform:none}.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin:calc(-.5 * var(--bs-offcanvas-padding-y)) calc(-.5 * var(--bs-offcanvas-padding-x)) calc(-.5 * var(--bs-offcanvas-padding-y)) auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,#000c,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity,1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity,1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity,1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important}.link-primary:focus,.link-primary:hover{color:RGBA(10,88,202,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important}.link-secondary:focus,.link-secondary:hover{color:RGBA(86,94,100,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important}.link-success:focus,.link-success:hover{color:RGBA(20,108,67,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important}.link-info:focus,.link-info:hover{color:RGBA(61,213,243,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important}.link-warning:focus,.link-warning:hover{color:RGBA(255,205,57,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important}.link-danger:focus,.link-danger:hover{color:RGBA(176,42,55,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important}.link-light:focus,.link-light:hover{color:RGBA(249,250,251,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important}.link-dark:focus,.link-dark:hover{color:RGBA(26,30,33,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-body-emphasis:focus,.link-body-emphasis:hover{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,.75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,.75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,.75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x,0) var(--bs-focus-ring-y,0) var(--bs-focus-ring-blur,0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,.5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,.5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:focus-visible>.bi,.icon-link-hover:hover>.bi{transform:var(--bs-icon-link-transform,translate3d(.25em,0,0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),.visually-hidden:not(caption){position:absolute!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color:rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color:rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color:rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color:rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color:rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color:rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color:rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color:rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity:1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity:1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity:1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity:1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity:1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity:1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity:1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity:1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity:1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity:1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity:.1}.border-opacity-25{--bs-border-opacity:.25}.border-opacity-50{--bs-border-opacity:.5}.border-opacity-75{--bs-border-opacity:.75}.border-opacity-100{--bs-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity:1;color:#00000080!important}.text-white-50{--bs-text-opacity:1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity:1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity:1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:.25}.text-opacity-50{--bs-text-opacity:.5}.text-opacity-75{--bs-text-opacity:.75}.text-opacity-100{--bs-text-opacity:1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity:.1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity:.25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity:.5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity:.75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity:1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity:0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity:.1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity:.25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity:.5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity:.75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity:1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity:.1}.bg-opacity-25{--bs-bg-opacity:.25}.bg-opacity-50{--bs-bg-opacity:.5}.bg-opacity-75{--bs-bg-opacity:.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}html{min-height:100%;min-width:100%}body{color:var(--color-fg);background:var(--color-bg)}body>.container{padding:55px 15px 0}html{font-size:12px}html .settingscolumn{grid-column:span 12}@media screen and (min-width: 240px){html{font-size:13px}}@media screen and (min-width: 330px){html{font-size:14px}}@media screen and (min-width: 400px){html{font-size:15px}}@media screen and (min-width: 435px){html{font-size:16px}}@media screen and (min-width: 470px){html{font-size:17px}}@media screen and (min-width: 505px){html{font-size:18px}}@media screen and (min-width: 540px){html{font-size:19px}}@media screen and (min-width: 576px){html{font-size:20px}}@media screen and (min-width: 672px){html{font-size:21px}}@media screen and (min-width: 768px){html{font-size:22px}}@media screen and (min-width: 992px){html{font-size:11px}html .settingscolumn{grid-column:span 4}}@media screen and (min-width: 1200px){html{font-size:13px}}@media screen and (min-width: 1400px){html{font-size:16px}}@media screen and (min-width: 2000px){html{font-size:16px}}.verySmallTextSize{font-size:var(--font-verysmall)}.smallTextSize{font-size:var(--font-small)}.mediumTextSize{font-size:var(--font-medium)}.regularTextSize{font-size:var(--font-normal)}.largeTextSize,.buttonTextSize{font-size:var(--font-large)}h3{font-size:var(--font-extralarge);color:var(--color-title);font-weight:700}h4{color:var(--color-axis)}body>.container-fluid{padding:55px 15px 0}.tablecell{font-size:var(--font-normal);line-height:1rem;vertical-align:middle;padding:0;background-color:var(--color-bg)}.maxPrice{text-align:center}:root{--fontCol: rgba(160, 160, 160, .82);--gridCol: rgba(160, 160, 160, .82);--xgridCol: rgba(160, 160, 160, .82);--tickCol: rgba(160, 160, 160, .82);--evuCol: rgba(178, 34, 34, 1);--color-switchRed: #d12020;--color-switchGreen: #4db662;--color-switchBlue: steelblue;--color-cp0: #6baed6;--color-cp1: #4292c6;--color-cp2: #2171b5;--color-cp3: #9ecae1;--color-cp4: #c6dbef;--color-cp5: #deebf7;--color-cp6: #08519c;--color-cp7: #6baed6;--color-evu: firebrick;--color-pv: #33a02c;--color-house: #7f7f7f;--color-charging: #1f78b4;--color-export: #b2df8a;--color-battery: goldenrod;--color-input: lightgrey;--color-pv1: #33a02c;--color-pv2: #4db662;--color-pv3: #a1d99b;--color-pv4: #74c476;--color-pv5: #41ab5d;--color-pv6: #238b45;--color-pv7: #006d2c;--color-pv8: #00441b;--color-pv9: #33a02c;--font-normal: 1.4rem;--font-large: 1.6rem;--font-medium: 1.2rem;--font-small: 1rem;--font-verysmall: .7rem;--font-extralarge: 1.6rem;--font-settings: 16px}.theme-light{--color-bg: white;--color-axis: gray;--color-grid: #bbbbbb;--color-menu: gray;--color-frame: white;--color-subframe: lightgrey;--color-fg: black;--color-scale: lightgrey;--color-title: rgba(0, 0, 0, .644);--padding-widget: 5px;--fontCol: rgba(255, 255, 255, .82);--gridCol: rgba(255, 255, 255, .82);--xgridCol: rgba(255, 255, 255, .1);--tickCol: rgba(255, 255, 255, .82);--evuCol: rgba(255, 0, 0, .7)}.theme-blue{--color-bg: midnightblue;--color-axis: steelblue;--color-grid: steelblue;--color-menu: lightskyblue;--color-frame: lightskyblue;--color-subframe: midnightblue;--color-fg: white;--color-scale: steelblue;--color-title: lightgrey;--padding-widget: 0px}.theme-dark{--color-bg: #333333;--color-export: #b2df8a;--color-axis: #666666;--color-grid: black;--color-menu: #999999;--color-frame: #666666;--color-subframe: #333333;--color-fg: white;--color-scale: #999999;--color-title: lightgrey;--padding-widget: 0px}.shcolors-normal{--color-devices: #f16913;--color-sh1: #fd8d3c;--color-sh2: #f16913;--color-sh3: #d94801;--color-sh4: #fdae6b;--color-sh5: #fdd0a2;--color-sh6: #fee6ce;--color-sh7: #a63603;--color-sh8: #fe4b83;--color-sh9: #e4419d}.shcolors-advanced{--color-devices: #ff4d4d;--color-sh1: #ffffff;--color-sh2: #ff4d4d;--color-sh3: #668cff;--color-sh4: #ff6600;--color-sh5: #00ff00;--color-sh6: #ffff00;--color-sh7: #ff00ff;--color-sh8: #993300;--color-sh9: #a366ff}.shcolors-standard{--color-devices: rgba(200, 50, 200, .7);--color-sh1: rgba(200, 150, 200, .7);--color-sh2: rgba(200, 100, 200, .7);--color-sh3: rgba(200, 50, 200, .7);--color-sh4: rgba(200, 0, 200, .7);--color-sh5: rgba(150, 200, 200, .7);--color-sh6: rgba(100, 200, 200, .7);--color-sh7: rgba(50, 200, 200, .7);--color-sh8: rgba(0, 200, 200, .7);--color-sh9: rgba(200, 200, 200, .7)}.openwb-devices{color:#cff;background-color:#009696}.colormenu{background-color:var(--color-frame)}.wb-widget{background-color:var(--color-bg);border:.1px dotted var(--color-frame);align-self:stretch;width:100%;border-radius:30px}.wb-subwidget{border:0px solid var(--color-subframe);padding:var(--padding-widget)}.grid12{display:grid;grid-template-columns:repeat(12,auto);gap:.2em;justify-items:center}.grid-col-3{grid-column:span 3}.grid-col-4{grid-column:span 4}.grid-col-6{grid-column:span 6}.grid-col-12{grid-column:span 12}@supports (grid-template-columns: subgrid){.subgrid{display:grid;grid-column:span 12;grid-template-columns:subgrid;justify-content:top}}@supports not (grid-template-columns: subgrid){.subgrid{display:grid;grid-column:span 12;grid-template-columns:auto auto auto auto auto auto auto auto auto auto auto auto;justify-content:top;width:100%}}.grid-left{justify-self:start}.grid-right{justify-self:end}th{color:var(--color-axis)}.table-borderless td{border:0}.popup-header{color:#191970}.axis text{color:var(--color-axis);stroke-width:0}.phasesInUse{font-family:monospace;color:#fff;background:var(--color-menu);font-size:var(--font-verysmall);padding:.2rem .4rem .1rem;margin:0rem .2rem}.swiper-slide-active,.swiper-slide{display:flex}swiper-slide{display:flex}option{color:#00f}.ttarea .ttmessage{visibility:hidden}.ttarea:hover .ttmessage{visibility:visible} diff --git a/packages/modules/web_themes/colors/web/assets/index-a2141c90.css b/packages/modules/web_themes/colors/web/assets/index-a2141c90.css deleted file mode 100644 index 41f3ac5fbe..0000000000 --- a/packages/modules/web_themes/colors/web/assets/index-a2141c90.css +++ /dev/null @@ -1,9 +0,0 @@ -@charset "UTF-8";.form-select[data-v-7b8949f3]{background-color:var(--color-input);border:1;border-color:var(--color-bg);color:var(--color-bg);text-align:start;font-size:var(--font-small)}.commitbutton[data-v-7b8949f3]{background-color:var(--color-bg);color:var(--color-input)}option[data-v-7b8949f3]{color:green}.form-select[data-v-7b8949f3]{font-size:var(--font-verysmall);background-color:var(--color-menu);color:var(--color-fg)}.optiontable[data-v-7b8949f3]{background-color:var(--color-menu)}.optionbutton[data-v-7b8949f3]{font-size:var(--font-small);color:#fff;background-color:var(--color-menu);font-size:var(--font-verysmall);text-align:center}.dropdown-menu[data-v-7b8949f3]{background-color:var(--color-menu)}.dropdown-toggle[data-v-7b8949f3]{background-color:var(--color-menu);color:#fff;border:1px solid var(--color-bg);font-size:var(--font-verysmall)}.radiobutton[data-v-82ab6829]{border:0px solid var(--color-menu);opacity:1}.btn-outline-secondary.active[data-v-82ab6829]{background-color:var(--color-bg);border:0px solid var(--color-fg);opacity:.8}.btn-group[data-v-82ab6829]{border:1px solid var(--color-menu)}.rounded-pill[data-v-58aa87a0]{background-color:var(--color-menu)}.arrowButton[data-v-58aa87a0]{border:0}.datebadge[data-v-58aa87a0]{background-color:var(--color-bg);color:var(--color-menu);border:1px solid var(--color-menu);font-size:var(--font-small);font-weight:400}.arrowButton[data-v-58aa87a0],.fa-magnifying-glass[data-v-f601f500]{color:var(--color-menu)}.datebadge[data-v-f601f500]{background-color:var(--color-menu);color:var(--color-bg);font-size:var(--font-medium);font-weight:400}.waitsign[data-v-f601f500]{text-align:center;font-size:var(--font-medium);color:var(--color-fg);border:1px solid var(--color-bg);padding:2em;margin:4em 2em 2em;background-color:var(--color-bg)}.heading[data-v-f6af00e8]{color:var(--color-menu);font-weight:400;text-align:center}.content[data-v-f6af00e8]{color:var(--color-fg);font-weight:700}@supports (grid-template-columns: subgrid){.wb-subwidget[data-v-971e553f]{border-top:.5px solid var(--color-scale);display:grid;grid-template-columns:subgrid;grid-column:1 / 13}}@supports not (grid-template-columns: subgrid){.wb-subwidget[data-v-971e553f]{border-top:.5px solid var(--color-scale);display:grid;grid-template-columns:repeat(12,auto);grid-column:1 / 13}}.titlerow[data-v-971e553f]{grid-column:1 / 13}@supports (grid-template-columns: subgrid){.contentrow[data-v-971e553f]{display:grid;grid-template-columns:subgrid;grid-column:1 / 13;align-items:top}}@supports not (grid-template-columns: subgrid){.contentrow[data-v-971e553f]{display:grid;align-items:top;grid-template-columns:repeat(12,auto)}}.widgetname[data-v-971e553f]{font-weight:700}.infotext[data-v-b935eb33]{font-size:var(--font-settings);color:var(--color-battery)}.item-icon[data-v-b935eb33]{color:var(--color-menu);font-size:var(--font-settings)}.titlecolumn[data-v-b935eb33]{color:var(--color-fg);font-size:var(--font-settings)}.selectors[data-v-b935eb33],.configitem[data-v-b935eb33]{font-size:var(--font-settings)}.minlabel[data-v-17a828b1],.maxlabel[data-v-17a828b1]{color:var(--color-menu)}.valuelabel[data-v-17a828b1]{color:var(--color-fg)}.minusButton[data-v-17a828b1],.plusButton[data-v-17a828b1]{color:var(--color-menu)}.radiobutton[data-v-df222cbe]{border:.5px solid var(--color-input);opacity:.5;font-size:var(--font-settings)}.btn-outline-secondary.active[data-v-df222cbe]{background-color:var(--color-bg);border:1px solid var(--color-fg);box-shadow:0 .5rem 1rem #00000026;opacity:1}.chargeConfigSelect[data-v-0303d179]{background:var(--color-bg);color:var(--color-fg)}.heading[data-v-0303d179]{color:var(--color-charging)}.chargeConfigSelect[data-v-1a90f282]{background:var(--color-bg);color:var(--color-fg)}.heading[data-v-1a90f282]{color:var(--color-pv)}.tablecell[data-v-e8f5ad9d]{color:var(--color-fg);background-color:var(--color-bg);text-align:center;font-size:var(--font-medium)}.tableheader[data-v-e8f5ad9d]{color:var(--color-menu);background-color:var(--color-bg);text-align:center;font-style:normal}.heading[data-v-e8f5ad9d]{color:var(--color-battery)}.left[data-v-e8f5ad9d]{text-align:left}.tablecell[data-v-192e287b]{color:var(--color-fg);background-color:var(--color-bg);text-align:center;font-size:var(--font-medium)}.tableheader[data-v-192e287b]{color:var(--color-menu);background-color:var(--color-bg);text-align:center;font-style:normal}.heading[data-v-192e287b]{color:var(--color-battery)}.left[data-v-192e287b]{text-align:left}.right[data-v-192e287b]{text-align:right}.status-string[data-v-fcb57a44]{font-size:var(--font-normal);font-style:italic;color:var(--color-battery)}.chargeConfigSelect[data-v-fcb57a44]{background:var(--color-bg);color:var(--color-fg)}.chargeModeOption[data-v-fcb57a44]{background:green;color:#00f}.nav-tabs .nav-link[data-v-fcb57a44]{color:var(--color-menu);opacity:.5}.nav-tabs .nav-link.disabled[data-v-fcb57a44]{color:var(--color-axis);border:.5px solid var(--color-axis)}.nav-tabs .nav-link.active[data-v-fcb57a44]{color:var(--color-fg);background-color:var(--color-bg);opacity:1;border:1px solid var(--color-menu);border-bottom:1px solid var(--color-menu)}.settingsheader[data-v-fcb57a44]{color:var(--color-charging)}.status-string[data-v-a64493d7]{font-size:var(--font-normal);font-style:italic;color:var(--color-battery)}.chargeConfigSelect[data-v-a64493d7]{background:var(--color-bg);color:var(--color-fg)}.chargeModeOption[data-v-a64493d7]{background:green;color:#00f}.nav-tabs .nav-link[data-v-a64493d7]{color:var(--color-menu);opacity:.5}.nav-tabs .nav-link.disabled[data-v-a64493d7]{color:var(--color-axis);border:.5px solid var(--color-axis)}.nav-tabs .nav-link.active[data-v-a64493d7]{color:var(--color-fg);background-color:var(--color-bg);opacity:1;border:1px solid var(--color-menu);border-bottom:1px solid var(--color-menu)}.settingsheader[data-v-a64493d7]{color:var(--color-charging);font-size:16px;font-weight:700}hr[data-v-a64493d7]{color:var(--color-menu)}.color-charging[data-v-5286b19d]{color:var(--color-charging)}.fa-circle-check[data-v-5286b19d]{color:var(--color-menu)}.settingsheader[data-v-5286b19d]{color:var(--color-charging);font-size:16px;font-weight:700}.providername[data-v-5286b19d]{color:var(--color-axis);font-size:16px}.status-string[data-v-1164316d]{font-size:var(--font-settings);font-style:italic;color:var(--color-battery)}.nav-tabs .nav-link[data-v-1164316d]{color:var(--color-menu);opacity:.5}.nav-tabs .nav-link.disabled[data-v-1164316d]{color:var(--color-axis);border:.5px solid var(--color-axis)}.nav-tabs .nav-link.active[data-v-1164316d]{color:var(--color-fg);background-color:var(--color-bg);opacity:1;border:1px solid var(--color-menu);border-bottom:0px solid var(--color-menu)}.heading[data-v-1164316d]{color:var(--color-menu)}.item[data-v-1164316d]{grid-column:span 12}.tabarea[data-v-1164316d]{justify-self:stretch}.batIcon[data-v-a0bd055c]{color:var(--color-menu)}.wb-widget[data-v-ebc57eaa]{width:100%;border-radius:30px}.fa-star[data-v-88981127]{color:var(--color-evu)}.fa-clock[data-v-88981127]{color:var(--color-battery)}.fa-car[data-v-88981127],.fa-ellipsis-vertical[data-v-88981127],.fa-circle-check[data-v-88981127]{color:var(--color-menu)}.fa-coins[data-v-88981127]{color:var(--color-battery)}.fa-edit[data-v-88981127]{color:var(--color-menu)}.socEditor[data-v-88981127]{border:1px solid var(--color-menu);justify-self:stretch}.targetCurrent[data-v-88981127]{color:var(--color-menu)}.priceEditor[data-v-88981127]{border:1px solid var(--color-menu);justify-self:stretch}.chargemodes[data-v-88981127]{grid-column:1 / 13;justify-self:center}.chargeinfo[data-v-88981127]{display:grid;grid-template-columns:repeat(12,auto);justify-content:space-between}.errorbadge[data-v-88981127]{color:var(--color-bg);background-color:var(--color-evu);font-size:var(--font-small)}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;overflow:clip;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0,-50%,0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, .25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.modal-footer[data-v-eaefae30],.modal-header[data-v-eaefae30],.modal-body[data-v-eaefae30]{background:var(--color-bg)}.btn-close[data-v-eaefae30]{color:var(--color-fg)}.modal-footer[data-v-eaefae30]{text-align:right}.modal-header .btn-close[data-v-eaefae30]{color:var(--color-fg);background:var(--color-bg);border:0px}.modal.fade .modal-dialog[data-v-eaefae30]{transition:transform 1s ease-out;transform:none;scale:.6}.modal.show .modal-dialog[data-v-eaefae30]{transition:transform .3s ease-in;transform:none;scale:1}.tablerow[data-v-0496b1f6]{margin:14px;border-top:.1px solid var(--color-scale)}.tablecell[data-v-0496b1f6]{color:var(--color-fg);background-color:var(--color-bg);text-align:center;padding-top:2px;padding-left:2px;padding-right:2px;vertical-align:baseline;line-height:1.4rem;font-size:var(--font-small)}.buttoncell[data-v-0496b1f6]{background-color:var(--color-bg);padding:0;margin:0}.left[data-v-0496b1f6]{text-align:left}.tablecell.right[data-v-0496b1f6]{text-align:right}.tablecolum1[data-v-0496b1f6]{color:var(--color-fg);text-align:left;margin:0;padding:0}.tableicon[data-v-0496b1f6]{color:var(--color-menu)}.fa-star[data-v-0496b1f6]{color:var(--color-evu)}.fa-clock[data-v-0496b1f6]{color:var(--color-battery)}.socEditor[data-v-0496b1f6]{border:1px solid var(--color-menu);background-color:var(--color-bg)}.socEditRow td[data-v-0496b1f6]{background-color:var(--color-bg)}.fa-circle-check[data-v-0496b1f6]{color:var(--color-menu)}.socEditTitle[data-v-0496b1f6]{color:var(--color-fg)}.statusbadge[data-v-0496b1f6]{background-color:var(--color-bg);font-weight:700;font-size:var(--font-verysmall)}.cpname[data-v-0496b1f6]{font-size:var(--font-small)}.fa-edit[data-v-0496b1f6]{color:var(--color-menu)}.infolist[data-v-0496b1f6]{justify-content:center}.tableheader[data-v-8c6313d6]{margin:0;padding-left:0;background-color:var(--color-bg);color:var(--color-menu)}.alignleft[data-v-8c6313d6]{text-align:left}.aligncenter[data-v-8c6313d6]{text-align:center}.alignright[data-v-8c6313d6]{text-align:right}.table[data-v-8c6313d6]{border-spacing:1rem;background-color:var(--color-bg)}.pricebadge[data-v-8c6313d6]{background-color:var(--color-menu);font-weight:400}.fa-charging-station[data-v-8c6313d6]{color:var(--color-charging)}.plugIndicator[data-v-bde17905]{color:#fff;border:1px solid white}.chargeButton[data-v-bde17905]{color:#fff}.left[data-v-bde17905]{float:left}.right[data-v-bde17905]{float:right}.center[data-v-bde17905]{margin:auto}.time-display[data-v-791e4be0]{font-weight:700;color:var(--color-menu);font-size:var(--font-normal)}.battery-title[data-v-5369c546]{color:var(--color-battery);font-size:var(--font-medium)}.battery-color[data-v-7a9fc7cd]{color:var(--color-battery)}.fg-color[data-v-7a9fc7cd]{color:var(--color-fg)}.menu-color[data-v-7a9fc7cd],.todaystring[data-v-7a9fc7cd]{color:var(--color-menu)}.socpill[data-v-7a9fc7cd]{background-color:var(--color-battery);color:"var(--color-fg)"}.statusbutton[data-v-5df672cc]{font-size:var(--font-large)}.modebutton[data-v-5df672cc]{background-color:var(--color-menu);font-size:var(--font-verysmall);font-weight:400}.tempbadge[data-v-5df672cc]{background-color:var(--color-battery);color:var(--color-bg);font-size:var(--font-verysmall);font-weight:400}.infolist[data-v-5df672cc]{justify-content:center}.sh-title[data-v-ba0ce660]{color:var(--color-title)}.tableheader[data-v-ba0ce660]{background-color:var(--color-bg);color:var(--color-menu)}.fa-ellipsis-vertical[data-v-ba0ce660],.fa-circle-check[data-v-ba0ce660]{color:var(--color-menu)}.smarthome[data-v-ba0ce660]{color:var(--color-devices)}.idbadge[data-v-b262baef]{background-color:var(--color-menu);font-weight:400}.countername[data-v-b262baef]{font-size:var(--font-medium)}.statusbutton[data-v-2aee2e34]{font-size:var(--font-large)}.modebutton[data-v-2aee2e34]{background-color:var(--color-menu);font-size:var(--font-verysmall);font-weight:400}.tempbadge[data-v-2aee2e34]{background-color:var(--color-battery);color:var(--color-bg);font-size:var(--font-verysmall);font-weight:400}.idbadge[data-v-c9cd068c]{background-color:var(--color-menu);font-weight:400}.status-string[data-v-c9cd068c]{text-align:center}.statusbutton[data-v-98fe336a]{font-size:var(--font-large)}.modebutton[data-v-98fe336a]{background-color:var(--color-menu);font-size:var(--font-verysmall);font-weight:400}.tempbadge[data-v-98fe336a]{background-color:var(--color-battery);color:var(--color-bg);font-size:var(--font-verysmall);font-weight:400}.pricebadge[data-v-4678d1ab]{background-color:var(--color-charging);font-weight:400}.providerbadge[data-v-4678d1ab]{background-color:var(--color-menu);font-weight:400}.grapharea[data-v-4678d1ab]{grid-column-start:1;grid-column-end:13;width:100%;object-fit:cover;max-height:100%;justify-items:stretch}.pricefigure[data-v-4678d1ab]{justify-self:stretch}.modebadge[data-v-486e35d8]{background-color:var(--color-pv);color:var(--color-bg);font-size:var(--font-verysmall);font-weight:400}.invertername[data-v-486e35d8]{font-size:var(--font-normal)}.powerbadge[data-v-c565fec8]{background-color:var(--color-pv);color:var(--color-bg);font-size:var(--font-verysmall);font-weight:400}.button[data-v-dc35b0f6]{color:var(--color-fg)}.name[data-v-df7e578a]{font-size:1rem;color:#000;border:1px solid white}.content[data-v-df7e578a]{grid-column:1 / -1;border:solid 1px black;border-radius:10px}.sublist[data-v-df7e578a]{grid-column:1 / -1;display:grid;grid-template-columns:subgrid}.mqviewer[data-v-a349646d]{background-color:#fff;color:#000}.topiclist[data-v-a349646d]{display:grid;grid-template-columns:repeat(40,1fr)}.topnode[data-v-a349646d]{grid-column-start:1;grid-column-end:-1}.mqtitle[data-v-a349646d]{color:#000}.form-select[data-v-5e33ce1f]{background-color:var(--color-input);color:#000;border:1px solid var(--color-bg);font-size:var(--font-settings)}.fa-circle-check[data-v-b2860d58]{font-size:var(--font-extralarge);background-color:var(--color-bg);color:var(--color-menu)}.closebutton[data-v-b2860d58]{justify-self:end}.nav-tabs[data-v-733ad1cd]{border-bottom:.5px solid var(--color-menu);background-color:var(--color-bg)}.nav-tabs .nav-link[data-v-733ad1cd]{color:var(--color-menu);opacity:.5}.nav-tabs .nav-link.disabled[data-v-733ad1cd]{color:var(--color-axis);border:.5px solid var(--color-axis)}.nav-tabs .nav-link.active[data-v-733ad1cd]{color:var(--color-fg);background-color:var(--color-bg);opacity:1;border:.5px solid var(--color-menu);border-bottom:0px solid var(--color-menu);box-shadow:0 .5rem 1rem #00000026}.fa-circle-info[data-v-733ad1cd]{color:var(--color-fg)}.fa-charging-station[data-v-733ad1cd]{color:var(--color-charging)}.fa-car-battery[data-v-733ad1cd]{color:var(--color-battery)}.fa-plug[data-v-733ad1cd]{color:var(--color-devices)}.fa-bolt[data-v-733ad1cd]{color:var(--color-evu)}.fa-car[data-v-733ad1cd]{color:var(--color-charging)}.fa-coins[data-v-733ad1cd]{color:var(--color-battery)}.fa-solar-panel[data-v-733ad1cd]{color:var(--color-pv)}.navbar[data-v-ed619966]{background-color:var(--color-bg);color:var(--color-fg);font-size:var(--font-normal)}.dropdown-menu[data-v-ed619966]{background-color:var(--color-bg);color:var(--color-fg)}.dropdown-item[data-v-ed619966]{background-color:var(--color-bg);color:var(--color-fg);font-size:var(--font-normal)}.btn[data-v-ed619966]{font-size:var(--font-medium);background-color:var(--color-bg);color:var(--color-fg)}.navbar-brand[data-v-ed619966]{font-weight:700;color:var(--color-fg);font-size:var(--font-normal)}.nav-link[data-v-ed619966]{color:var(--color-fg);border-color:red;font-size:var(--font-normal)}.navbar-toggler[data-v-ed619966]{color:var(--color-fg);border-color:var(--color-bg)}.navbar-time[data-v-ed619966]{font-weight:700;color:var(--color-menu);font-size:var(--font-normal)}.fa{font-family:var(--fa-style-family, "Font Awesome 6 Free");font-weight:var(--fa-style, 900)}.fa,.fa-brands,.fa-duotone,.fa-light,.fa-regular,.fa-solid,.fa-thin,.fab,.fad,.fal,.far,.fas,.fat{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:var(--fa-display, inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.08333em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.07143em;vertical-align:.05357em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.04167em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin, 2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width, 2em) * -1);position:absolute;text-align:center;width:var(--fa-li-width, 2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius, .1em);border:var(--fa-border-width, .08em) var(--fa-border-style, solid) var(--fa-border-color, #eee);padding:var(--fa-border-padding, .2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin, .3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin, .3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, ease-in-out);animation-timing-function:var(--fa-animation-timing, ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var( --fa-animation-timing, cubic-bezier(.28, .84, .42, 1) );animation-timing-function:var( --fa-animation-timing, cubic-bezier(.28, .84, .42, 1) )}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) );animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) )}.fa-beat-fade,.fa-fade{-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s)}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) );animation-timing-function:var( --fa-animation-timing, cubic-bezier(.4, 0, .6, 1) )}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, ease-in-out);animation-timing-function:var(--fa-animation-timing, ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, linear);animation-timing-function:var(--fa-animation-timing, linear)}.fa-shake,.fa-spin{-webkit-animation-delay:var(--fa-animation-delay, 0);animation-delay:var(--fa-animation-delay, 0);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-duration:var(--fa-animation-duration, 2s);animation-duration:var(--fa-animation-duration, 2s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, linear);animation-timing-function:var(--fa-animation-timing, linear)}.fa-spin-reverse{--fa-animation-direction: reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var( --fa-animation-iteration-count, infinite );animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, steps(8));animation-timing-function:var(--fa-animation-timing, steps(8))}@media (prefers-reduced-motion: reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;transition-delay:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale, 1.25));transform:scale(var(--fa-beat-scale, 1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale, 1.25));transform:scale(var(--fa-beat-scale, 1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em));transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em));transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x, 1.1),var(--fa-bounce-start-scale-y, .9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em));transform:scale(var(--fa-bounce-jump-scale-x, .9),var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x, 1.05),var(--fa-bounce-land-scale-y, .95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em));transform:scale(1) translateY(var(--fa-bounce-rebound, -.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity, .4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity, .4)}}@-webkit-keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity, .4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale, 1.125));transform:scale(var(--fa-beat-fade-scale, 1.125))}}@keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity, .4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale, 1.125));transform:scale(var(--fa-beat-fade-scale, 1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg));transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg));transform:rotate3d(var(--fa-flip-x, 0),var(--fa-flip-y, 1),var(--fa-flip-z, 0),var(--fa-flip-angle, -180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle, none));transform:rotate(var(--fa-rotate-angle, none))}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%;z-index:var(--fa-stack-z-index, auto)}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:var(--fa-inverse, #fff)}.fa-0:before{content:"0"}.fa-1:before{content:"1"}.fa-2:before{content:"2"}.fa-3:before{content:"3"}.fa-4:before{content:"4"}.fa-5:before{content:"5"}.fa-6:before{content:"6"}.fa-7:before{content:"7"}.fa-8:before{content:"8"}.fa-9:before{content:"9"}.fa-a:before{content:"A"}.fa-address-book:before,.fa-contact-book:before{content:""}.fa-address-card:before,.fa-contact-card:before,.fa-vcard:before{content:""}.fa-align-center:before{content:""}.fa-align-justify:before{content:""}.fa-align-left:before{content:""}.fa-align-right:before{content:""}.fa-anchor:before{content:""}.fa-angle-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-double-down:before,.fa-angles-down:before{content:""}.fa-angle-double-left:before,.fa-angles-left:before{content:""}.fa-angle-double-right:before,.fa-angles-right:before{content:""}.fa-angle-double-up:before,.fa-angles-up:before{content:""}.fa-ankh:before{content:""}.fa-apple-alt:before,.fa-apple-whole:before{content:""}.fa-archway:before{content:""}.fa-arrow-down:before{content:""}.fa-arrow-down-1-9:before,.fa-sort-numeric-asc:before,.fa-sort-numeric-down:before{content:""}.fa-arrow-down-9-1:before,.fa-sort-numeric-desc:before,.fa-sort-numeric-down-alt:before{content:""}.fa-arrow-down-a-z:before,.fa-sort-alpha-asc:before,.fa-sort-alpha-down:before{content:""}.fa-arrow-down-long:before,.fa-long-arrow-down:before{content:""}.fa-arrow-down-short-wide:before,.fa-sort-amount-desc:before,.fa-sort-amount-down-alt:before{content:""}.fa-arrow-down-wide-short:before,.fa-sort-amount-asc:before,.fa-sort-amount-down:before{content:""}.fa-arrow-down-z-a:before,.fa-sort-alpha-desc:before,.fa-sort-alpha-down-alt:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-left-long:before,.fa-long-arrow-left:before{content:""}.fa-arrow-pointer:before,.fa-mouse-pointer:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-right-arrow-left:before,.fa-exchange:before{content:""}.fa-arrow-right-from-bracket:before,.fa-sign-out:before{content:""}.fa-arrow-right-long:before,.fa-long-arrow-right:before{content:""}.fa-arrow-right-to-bracket:before,.fa-sign-in:before{content:""}.fa-arrow-left-rotate:before,.fa-arrow-rotate-back:before,.fa-arrow-rotate-backward:before,.fa-arrow-rotate-left:before,.fa-undo:before{content:""}.fa-arrow-right-rotate:before,.fa-arrow-rotate-forward:before,.fa-arrow-rotate-right:before,.fa-redo:before{content:""}.fa-arrow-trend-down:before{content:""}.fa-arrow-trend-up:before{content:""}.fa-arrow-turn-down:before,.fa-level-down:before{content:""}.fa-arrow-turn-up:before,.fa-level-up:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-up-1-9:before,.fa-sort-numeric-up:before{content:""}.fa-arrow-up-9-1:before,.fa-sort-numeric-up-alt:before{content:""}.fa-arrow-up-a-z:before,.fa-sort-alpha-up:before{content:""}.fa-arrow-up-from-bracket:before{content:""}.fa-arrow-up-long:before,.fa-long-arrow-up:before{content:""}.fa-arrow-up-right-from-square:before,.fa-external-link:before{content:""}.fa-arrow-up-short-wide:before,.fa-sort-amount-up-alt:before{content:""}.fa-arrow-up-wide-short:before,.fa-sort-amount-up:before{content:""}.fa-arrow-up-z-a:before,.fa-sort-alpha-up-alt:before{content:""}.fa-arrows-h:before,.fa-arrows-left-right:before{content:""}.fa-arrows-rotate:before,.fa-refresh:before,.fa-sync:before{content:""}.fa-arrows-up-down:before,.fa-arrows-v:before{content:""}.fa-arrows-up-down-left-right:before,.fa-arrows:before{content:""}.fa-asterisk:before{content:"*"}.fa-at:before{content:"@"}.fa-atom:before{content:""}.fa-audio-description:before{content:""}.fa-austral-sign:before{content:""}.fa-award:before{content:""}.fa-b:before{content:"B"}.fa-baby:before{content:""}.fa-baby-carriage:before,.fa-carriage-baby:before{content:""}.fa-backward:before{content:""}.fa-backward-fast:before,.fa-fast-backward:before{content:""}.fa-backward-step:before,.fa-step-backward:before{content:""}.fa-bacon:before{content:""}.fa-bacteria:before{content:""}.fa-bacterium:before{content:""}.fa-bag-shopping:before,.fa-shopping-bag:before{content:""}.fa-bahai:before{content:""}.fa-baht-sign:before{content:""}.fa-ban:before,.fa-cancel:before{content:""}.fa-ban-smoking:before,.fa-smoking-ban:before{content:""}.fa-band-aid:before,.fa-bandage:before{content:""}.fa-barcode:before{content:""}.fa-bars:before,.fa-navicon:before{content:""}.fa-bars-progress:before,.fa-tasks-alt:before{content:""}.fa-bars-staggered:before,.fa-reorder:before,.fa-stream:before{content:""}.fa-baseball-ball:before,.fa-baseball:before{content:""}.fa-baseball-bat-ball:before{content:""}.fa-basket-shopping:before,.fa-shopping-basket:before{content:""}.fa-basketball-ball:before,.fa-basketball:before{content:""}.fa-bath:before,.fa-bathtub:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-battery-5:before,.fa-battery-full:before,.fa-battery:before{content:""}.fa-battery-3:before,.fa-battery-half:before{content:""}.fa-battery-2:before,.fa-battery-quarter:before{content:""}.fa-battery-4:before,.fa-battery-three-quarters:before{content:""}.fa-bed:before{content:""}.fa-bed-pulse:before,.fa-procedures:before{content:""}.fa-beer-mug-empty:before,.fa-beer:before{content:""}.fa-bell:before{content:""}.fa-bell-concierge:before,.fa-concierge-bell:before{content:""}.fa-bell-slash:before{content:""}.fa-bezier-curve:before{content:""}.fa-bicycle:before{content:""}.fa-binoculars:before{content:""}.fa-biohazard:before{content:""}.fa-bitcoin-sign:before{content:""}.fa-blender:before{content:""}.fa-blender-phone:before{content:""}.fa-blog:before{content:""}.fa-bold:before{content:""}.fa-bolt:before,.fa-zap:before{content:""}.fa-bolt-lightning:before{content:""}.fa-bomb:before{content:""}.fa-bone:before{content:""}.fa-bong:before{content:""}.fa-book:before{content:""}.fa-atlas:before,.fa-book-atlas:before{content:""}.fa-bible:before,.fa-book-bible:before{content:""}.fa-book-journal-whills:before,.fa-journal-whills:before{content:""}.fa-book-medical:before{content:""}.fa-book-open:before{content:""}.fa-book-open-reader:before,.fa-book-reader:before{content:""}.fa-book-quran:before,.fa-quran:before{content:""}.fa-book-dead:before,.fa-book-skull:before{content:""}.fa-bookmark:before{content:""}.fa-border-all:before{content:""}.fa-border-none:before{content:""}.fa-border-style:before,.fa-border-top-left:before{content:""}.fa-bowling-ball:before{content:""}.fa-box:before{content:""}.fa-archive:before,.fa-box-archive:before{content:""}.fa-box-open:before{content:""}.fa-box-tissue:before{content:""}.fa-boxes-alt:before,.fa-boxes-stacked:before,.fa-boxes:before{content:""}.fa-braille:before{content:""}.fa-brain:before{content:""}.fa-brazilian-real-sign:before{content:""}.fa-bread-slice:before{content:""}.fa-briefcase:before{content:""}.fa-briefcase-medical:before{content:""}.fa-broom:before{content:""}.fa-broom-ball:before,.fa-quidditch-broom-ball:before,.fa-quidditch:before{content:""}.fa-brush:before{content:""}.fa-bug:before{content:""}.fa-bug-slash:before{content:""}.fa-building:before{content:""}.fa-bank:before,.fa-building-columns:before,.fa-institution:before,.fa-museum:before,.fa-university:before{content:""}.fa-bullhorn:before{content:""}.fa-bullseye:before{content:""}.fa-burger:before,.fa-hamburger:before{content:""}.fa-bus:before{content:""}.fa-bus-alt:before,.fa-bus-simple:before{content:""}.fa-briefcase-clock:before,.fa-business-time:before{content:""}.fa-c:before{content:"C"}.fa-birthday-cake:before,.fa-cake-candles:before,.fa-cake:before{content:""}.fa-calculator:before{content:""}.fa-calendar:before{content:""}.fa-calendar-check:before{content:""}.fa-calendar-day:before{content:""}.fa-calendar-alt:before,.fa-calendar-days:before{content:""}.fa-calendar-minus:before{content:""}.fa-calendar-plus:before{content:""}.fa-calendar-week:before{content:""}.fa-calendar-times:before,.fa-calendar-xmark:before{content:""}.fa-camera-alt:before,.fa-camera:before{content:""}.fa-camera-retro:before{content:""}.fa-camera-rotate:before{content:""}.fa-campground:before{content:""}.fa-candy-cane:before{content:""}.fa-cannabis:before{content:""}.fa-capsules:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-battery-car:before,.fa-car-battery:before{content:""}.fa-car-crash:before{content:""}.fa-car-alt:before,.fa-car-rear:before{content:""}.fa-car-side:before{content:""}.fa-caravan:before{content:""}.fa-caret-down:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-caret-up:before{content:""}.fa-carrot:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-cart-flatbed:before,.fa-dolly-flatbed:before{content:""}.fa-cart-flatbed-suitcase:before,.fa-luggage-cart:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-shopping:before,.fa-shopping-cart:before{content:""}.fa-cash-register:before{content:""}.fa-cat:before{content:""}.fa-cedi-sign:before{content:""}.fa-cent-sign:before{content:""}.fa-certificate:before{content:""}.fa-chair:before{content:""}.fa-blackboard:before,.fa-chalkboard:before{content:""}.fa-chalkboard-teacher:before,.fa-chalkboard-user:before{content:""}.fa-champagne-glasses:before,.fa-glass-cheers:before{content:""}.fa-charging-station:before{content:""}.fa-area-chart:before,.fa-chart-area:before{content:""}.fa-bar-chart:before,.fa-chart-bar:before{content:""}.fa-chart-column:before{content:""}.fa-chart-gantt:before{content:""}.fa-chart-line:before,.fa-line-chart:before{content:""}.fa-chart-pie:before,.fa-pie-chart:before{content:""}.fa-check:before{content:""}.fa-check-double:before{content:""}.fa-check-to-slot:before,.fa-vote-yea:before{content:""}.fa-cheese:before{content:""}.fa-chess:before{content:""}.fa-chess-bishop:before{content:""}.fa-chess-board:before{content:""}.fa-chess-king:before{content:""}.fa-chess-knight:before{content:""}.fa-chess-pawn:before{content:""}.fa-chess-queen:before{content:""}.fa-chess-rook:before{content:""}.fa-chevron-down:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-chevron-up:before{content:""}.fa-child:before{content:""}.fa-church:before{content:""}.fa-circle:before{content:""}.fa-arrow-circle-down:before,.fa-circle-arrow-down:before{content:""}.fa-arrow-circle-left:before,.fa-circle-arrow-left:before{content:""}.fa-arrow-circle-right:before,.fa-circle-arrow-right:before{content:""}.fa-arrow-circle-up:before,.fa-circle-arrow-up:before{content:""}.fa-check-circle:before,.fa-circle-check:before{content:""}.fa-chevron-circle-down:before,.fa-circle-chevron-down:before{content:""}.fa-chevron-circle-left:before,.fa-circle-chevron-left:before{content:""}.fa-chevron-circle-right:before,.fa-circle-chevron-right:before{content:""}.fa-chevron-circle-up:before,.fa-circle-chevron-up:before{content:""}.fa-circle-dollar-to-slot:before,.fa-donate:before{content:""}.fa-circle-dot:before,.fa-dot-circle:before{content:""}.fa-arrow-alt-circle-down:before,.fa-circle-down:before{content:""}.fa-circle-exclamation:before,.fa-exclamation-circle:before{content:""}.fa-circle-h:before,.fa-hospital-symbol:before{content:""}.fa-adjust:before,.fa-circle-half-stroke:before{content:""}.fa-circle-info:before,.fa-info-circle:before{content:""}.fa-arrow-alt-circle-left:before,.fa-circle-left:before{content:""}.fa-circle-minus:before,.fa-minus-circle:before{content:""}.fa-circle-notch:before{content:""}.fa-circle-pause:before,.fa-pause-circle:before{content:""}.fa-circle-play:before,.fa-play-circle:before{content:""}.fa-circle-plus:before,.fa-plus-circle:before{content:""}.fa-circle-question:before,.fa-question-circle:before{content:""}.fa-circle-radiation:before,.fa-radiation-alt:before{content:""}.fa-arrow-alt-circle-right:before,.fa-circle-right:before{content:""}.fa-circle-stop:before,.fa-stop-circle:before{content:""}.fa-arrow-alt-circle-up:before,.fa-circle-up:before{content:""}.fa-circle-user:before,.fa-user-circle:before{content:""}.fa-circle-xmark:before,.fa-times-circle:before,.fa-xmark-circle:before{content:""}.fa-city:before{content:""}.fa-clapperboard:before{content:""}.fa-clipboard:before{content:""}.fa-clipboard-check:before{content:""}.fa-clipboard-list:before{content:""}.fa-clock-four:before,.fa-clock:before{content:""}.fa-clock-rotate-left:before,.fa-history:before{content:""}.fa-clone:before{content:""}.fa-closed-captioning:before{content:""}.fa-cloud:before{content:""}.fa-cloud-arrow-down:before,.fa-cloud-download-alt:before,.fa-cloud-download:before{content:""}.fa-cloud-arrow-up:before,.fa-cloud-upload-alt:before,.fa-cloud-upload:before{content:""}.fa-cloud-meatball:before{content:""}.fa-cloud-moon:before{content:""}.fa-cloud-moon-rain:before{content:""}.fa-cloud-rain:before{content:""}.fa-cloud-showers-heavy:before{content:""}.fa-cloud-sun:before{content:""}.fa-cloud-sun-rain:before{content:""}.fa-clover:before{content:""}.fa-code:before{content:""}.fa-code-branch:before{content:""}.fa-code-commit:before{content:""}.fa-code-compare:before{content:""}.fa-code-fork:before{content:""}.fa-code-merge:before{content:""}.fa-code-pull-request:before{content:""}.fa-coins:before{content:""}.fa-colon-sign:before{content:""}.fa-comment:before{content:""}.fa-comment-dollar:before{content:""}.fa-comment-dots:before,.fa-commenting:before{content:""}.fa-comment-medical:before{content:""}.fa-comment-slash:before{content:""}.fa-comment-sms:before,.fa-sms:before{content:""}.fa-comments:before{content:""}.fa-comments-dollar:before{content:""}.fa-compact-disc:before{content:""}.fa-compass:before{content:""}.fa-compass-drafting:before,.fa-drafting-compass:before{content:""}.fa-compress:before{content:""}.fa-computer-mouse:before,.fa-mouse:before{content:""}.fa-cookie:before{content:""}.fa-cookie-bite:before{content:""}.fa-copy:before{content:""}.fa-copyright:before{content:""}.fa-couch:before{content:""}.fa-credit-card-alt:before,.fa-credit-card:before{content:""}.fa-crop:before{content:""}.fa-crop-alt:before,.fa-crop-simple:before{content:""}.fa-cross:before{content:""}.fa-crosshairs:before{content:""}.fa-crow:before{content:""}.fa-crown:before{content:""}.fa-crutch:before{content:""}.fa-cruzeiro-sign:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-d:before{content:"D"}.fa-database:before{content:""}.fa-backspace:before,.fa-delete-left:before{content:""}.fa-democrat:before{content:""}.fa-desktop-alt:before,.fa-desktop:before{content:""}.fa-dharmachakra:before{content:""}.fa-diagram-next:before{content:""}.fa-diagram-predecessor:before{content:""}.fa-diagram-project:before,.fa-project-diagram:before{content:""}.fa-diagram-successor:before{content:""}.fa-diamond:before{content:""}.fa-diamond-turn-right:before,.fa-directions:before{content:""}.fa-dice:before{content:""}.fa-dice-d20:before{content:""}.fa-dice-d6:before{content:""}.fa-dice-five:before{content:""}.fa-dice-four:before{content:""}.fa-dice-one:before{content:""}.fa-dice-six:before{content:""}.fa-dice-three:before{content:""}.fa-dice-two:before{content:""}.fa-disease:before{content:""}.fa-divide:before{content:""}.fa-dna:before{content:""}.fa-dog:before{content:""}.fa-dollar-sign:before,.fa-dollar:before,.fa-usd:before{content:"$"}.fa-dolly-box:before,.fa-dolly:before{content:""}.fa-dong-sign:before{content:""}.fa-door-closed:before{content:""}.fa-door-open:before{content:""}.fa-dove:before{content:""}.fa-compress-alt:before,.fa-down-left-and-up-right-to-center:before{content:""}.fa-down-long:before,.fa-long-arrow-alt-down:before{content:""}.fa-download:before{content:""}.fa-dragon:before{content:""}.fa-draw-polygon:before{content:""}.fa-droplet:before,.fa-tint:before{content:""}.fa-droplet-slash:before,.fa-tint-slash:before{content:""}.fa-drum:before{content:""}.fa-drum-steelpan:before{content:""}.fa-drumstick-bite:before{content:""}.fa-dumbbell:before{content:""}.fa-dumpster:before{content:""}.fa-dumpster-fire:before{content:""}.fa-dungeon:before{content:""}.fa-e:before{content:"E"}.fa-deaf:before,.fa-deafness:before,.fa-ear-deaf:before,.fa-hard-of-hearing:before{content:""}.fa-assistive-listening-systems:before,.fa-ear-listen:before{content:""}.fa-earth-africa:before,.fa-globe-africa:before{content:""}.fa-earth-america:before,.fa-earth-americas:before,.fa-earth:before,.fa-globe-americas:before{content:""}.fa-earth-asia:before,.fa-globe-asia:before{content:""}.fa-earth-europe:before,.fa-globe-europe:before{content:""}.fa-earth-oceania:before,.fa-globe-oceania:before{content:""}.fa-egg:before{content:""}.fa-eject:before{content:""}.fa-elevator:before{content:""}.fa-ellipsis-h:before,.fa-ellipsis:before{content:""}.fa-ellipsis-v:before,.fa-ellipsis-vertical:before{content:""}.fa-envelope:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-text:before{content:""}.fa-envelopes-bulk:before,.fa-mail-bulk:before{content:""}.fa-equals:before{content:"="}.fa-eraser:before{content:""}.fa-ethernet:before{content:""}.fa-eur:before,.fa-euro-sign:before,.fa-euro:before{content:""}.fa-exclamation:before{content:"!"}.fa-expand:before{content:""}.fa-eye:before{content:""}.fa-eye-dropper-empty:before,.fa-eye-dropper:before,.fa-eyedropper:before{content:""}.fa-eye-low-vision:before,.fa-low-vision:before{content:""}.fa-eye-slash:before{content:""}.fa-f:before{content:"F"}.fa-angry:before,.fa-face-angry:before{content:""}.fa-dizzy:before,.fa-face-dizzy:before{content:""}.fa-face-flushed:before,.fa-flushed:before{content:""}.fa-face-frown:before,.fa-frown:before{content:""}.fa-face-frown-open:before,.fa-frown-open:before{content:""}.fa-face-grimace:before,.fa-grimace:before{content:""}.fa-face-grin:before,.fa-grin:before{content:""}.fa-face-grin-beam:before,.fa-grin-beam:before{content:""}.fa-face-grin-beam-sweat:before,.fa-grin-beam-sweat:before{content:""}.fa-face-grin-hearts:before,.fa-grin-hearts:before{content:""}.fa-face-grin-squint:before,.fa-grin-squint:before{content:""}.fa-face-grin-squint-tears:before,.fa-grin-squint-tears:before{content:""}.fa-face-grin-stars:before,.fa-grin-stars:before{content:""}.fa-face-grin-tears:before,.fa-grin-tears:before{content:""}.fa-face-grin-tongue:before,.fa-grin-tongue:before{content:""}.fa-face-grin-tongue-squint:before,.fa-grin-tongue-squint:before{content:""}.fa-face-grin-tongue-wink:before,.fa-grin-tongue-wink:before{content:""}.fa-face-grin-wide:before,.fa-grin-alt:before{content:""}.fa-face-grin-wink:before,.fa-grin-wink:before{content:""}.fa-face-kiss:before,.fa-kiss:before{content:""}.fa-face-kiss-beam:before,.fa-kiss-beam:before{content:""}.fa-face-kiss-wink-heart:before,.fa-kiss-wink-heart:before{content:""}.fa-face-laugh:before,.fa-laugh:before{content:""}.fa-face-laugh-beam:before,.fa-laugh-beam:before{content:""}.fa-face-laugh-squint:before,.fa-laugh-squint:before{content:""}.fa-face-laugh-wink:before,.fa-laugh-wink:before{content:""}.fa-face-meh:before,.fa-meh:before{content:""}.fa-face-meh-blank:before,.fa-meh-blank:before{content:""}.fa-face-rolling-eyes:before,.fa-meh-rolling-eyes:before{content:""}.fa-face-sad-cry:before,.fa-sad-cry:before{content:""}.fa-face-sad-tear:before,.fa-sad-tear:before{content:""}.fa-face-smile:before,.fa-smile:before{content:""}.fa-face-smile-beam:before,.fa-smile-beam:before{content:""}.fa-face-smile-wink:before,.fa-smile-wink:before{content:""}.fa-face-surprise:before,.fa-surprise:before{content:""}.fa-face-tired:before,.fa-tired:before{content:""}.fa-fan:before{content:""}.fa-faucet:before{content:""}.fa-fax:before{content:""}.fa-feather:before{content:""}.fa-feather-alt:before,.fa-feather-pointed:before{content:""}.fa-file:before{content:""}.fa-file-arrow-down:before,.fa-file-download:before{content:""}.fa-file-arrow-up:before,.fa-file-upload:before{content:""}.fa-file-audio:before{content:""}.fa-file-code:before{content:""}.fa-file-contract:before{content:""}.fa-file-csv:before{content:""}.fa-file-excel:before{content:""}.fa-arrow-right-from-file:before,.fa-file-export:before{content:""}.fa-file-image:before{content:""}.fa-arrow-right-to-file:before,.fa-file-import:before{content:""}.fa-file-invoice:before{content:""}.fa-file-invoice-dollar:before{content:""}.fa-file-alt:before,.fa-file-lines:before,.fa-file-text:before{content:""}.fa-file-medical:before{content:""}.fa-file-pdf:before{content:""}.fa-file-powerpoint:before{content:""}.fa-file-prescription:before{content:""}.fa-file-signature:before{content:""}.fa-file-video:before{content:""}.fa-file-medical-alt:before,.fa-file-waveform:before{content:""}.fa-file-word:before{content:""}.fa-file-archive:before,.fa-file-zipper:before{content:""}.fa-fill:before{content:""}.fa-fill-drip:before{content:""}.fa-film:before{content:""}.fa-filter:before{content:""}.fa-filter-circle-dollar:before,.fa-funnel-dollar:before{content:""}.fa-filter-circle-xmark:before{content:""}.fa-fingerprint:before{content:""}.fa-fire:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-fire-alt:before,.fa-fire-flame-curved:before{content:""}.fa-burn:before,.fa-fire-flame-simple:before{content:""}.fa-fish:before{content:""}.fa-flag:before{content:""}.fa-flag-checkered:before{content:""}.fa-flag-usa:before{content:""}.fa-flask:before{content:""}.fa-floppy-disk:before,.fa-save:before{content:""}.fa-florin-sign:before{content:""}.fa-folder:before{content:""}.fa-folder-minus:before{content:""}.fa-folder-open:before{content:""}.fa-folder-plus:before{content:""}.fa-folder-tree:before{content:""}.fa-font:before{content:""}.fa-football-ball:before,.fa-football:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before,.fa-forward-fast:before{content:""}.fa-forward-step:before,.fa-step-forward:before{content:""}.fa-franc-sign:before{content:""}.fa-frog:before{content:""}.fa-futbol-ball:before,.fa-futbol:before,.fa-soccer-ball:before{content:""}.fa-g:before{content:"G"}.fa-gamepad:before{content:""}.fa-gas-pump:before{content:""}.fa-dashboard:before,.fa-gauge-med:before,.fa-gauge:before,.fa-tachometer-alt-average:before{content:""}.fa-gauge-high:before,.fa-tachometer-alt-fast:before,.fa-tachometer-alt:before{content:""}.fa-gauge-simple-med:before,.fa-gauge-simple:before,.fa-tachometer-average:before{content:""}.fa-gauge-simple-high:before,.fa-tachometer-fast:before,.fa-tachometer:before{content:""}.fa-gavel:before,.fa-legal:before{content:""}.fa-cog:before,.fa-gear:before{content:""}.fa-cogs:before,.fa-gears:before{content:""}.fa-gem:before{content:""}.fa-genderless:before{content:""}.fa-ghost:before{content:""}.fa-gift:before{content:""}.fa-gifts:before{content:""}.fa-glasses:before{content:""}.fa-globe:before{content:""}.fa-golf-ball-tee:before,.fa-golf-ball:before{content:""}.fa-gopuram:before{content:""}.fa-graduation-cap:before,.fa-mortar-board:before{content:""}.fa-greater-than:before{content:">"}.fa-greater-than-equal:before{content:""}.fa-grip-horizontal:before,.fa-grip:before{content:""}.fa-grip-lines:before{content:""}.fa-grip-lines-vertical:before{content:""}.fa-grip-vertical:before{content:""}.fa-guarani-sign:before{content:""}.fa-guitar:before{content:""}.fa-gun:before{content:""}.fa-h:before{content:"H"}.fa-hammer:before{content:""}.fa-hamsa:before{content:""}.fa-hand-paper:before,.fa-hand:before{content:""}.fa-hand-back-fist:before,.fa-hand-rock:before{content:""}.fa-allergies:before,.fa-hand-dots:before{content:""}.fa-fist-raised:before,.fa-hand-fist:before{content:""}.fa-hand-holding:before{content:""}.fa-hand-holding-dollar:before,.fa-hand-holding-usd:before{content:""}.fa-hand-holding-droplet:before,.fa-hand-holding-water:before{content:""}.fa-hand-holding-heart:before{content:""}.fa-hand-holding-medical:before{content:""}.fa-hand-lizard:before{content:""}.fa-hand-middle-finger:before{content:""}.fa-hand-peace:before{content:""}.fa-hand-point-down:before{content:""}.fa-hand-point-left:before{content:""}.fa-hand-point-right:before{content:""}.fa-hand-point-up:before{content:""}.fa-hand-pointer:before{content:""}.fa-hand-scissors:before{content:""}.fa-hand-sparkles:before{content:""}.fa-hand-spock:before{content:""}.fa-hands:before,.fa-sign-language:before,.fa-signing:before{content:""}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before,.fa-hands-american-sign-language-interpreting:before,.fa-hands-asl-interpreting:before{content:""}.fa-hands-bubbles:before,.fa-hands-wash:before{content:""}.fa-hands-clapping:before{content:""}.fa-hands-holding:before{content:""}.fa-hands-praying:before,.fa-praying-hands:before{content:""}.fa-handshake:before{content:""}.fa-hands-helping:before,.fa-handshake-angle:before{content:""}.fa-handshake-alt-slash:before,.fa-handshake-simple-slash:before{content:""}.fa-handshake-slash:before{content:""}.fa-hanukiah:before{content:""}.fa-hard-drive:before,.fa-hdd:before{content:""}.fa-hashtag:before{content:"#"}.fa-hat-cowboy:before{content:""}.fa-hat-cowboy-side:before{content:""}.fa-hat-wizard:before{content:""}.fa-head-side-cough:before{content:""}.fa-head-side-cough-slash:before{content:""}.fa-head-side-mask:before{content:""}.fa-head-side-virus:before{content:""}.fa-header:before,.fa-heading:before{content:""}.fa-headphones:before{content:""}.fa-headphones-alt:before,.fa-headphones-simple:before{content:""}.fa-headset:before{content:""}.fa-heart:before{content:""}.fa-heart-broken:before,.fa-heart-crack:before{content:""}.fa-heart-pulse:before,.fa-heartbeat:before{content:""}.fa-helicopter:before{content:""}.fa-hard-hat:before,.fa-hat-hard:before,.fa-helmet-safety:before{content:""}.fa-highlighter:before{content:""}.fa-hippo:before{content:""}.fa-hockey-puck:before{content:""}.fa-holly-berry:before{content:""}.fa-horse:before{content:""}.fa-horse-head:before{content:""}.fa-hospital-alt:before,.fa-hospital-wide:before,.fa-hospital:before{content:""}.fa-hospital-user:before{content:""}.fa-hot-tub-person:before,.fa-hot-tub:before{content:""}.fa-hotdog:before{content:""}.fa-hotel:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before,.fa-hourglass:before{content:""}.fa-hourglass-empty:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-home-alt:before,.fa-home-lg-alt:before,.fa-home:before,.fa-house:before{content:""}.fa-home-lg:before,.fa-house-chimney:before{content:""}.fa-house-chimney-crack:before,.fa-house-damage:before{content:""}.fa-clinic-medical:before,.fa-house-chimney-medical:before{content:""}.fa-house-chimney-user:before{content:""}.fa-house-chimney-window:before{content:""}.fa-house-crack:before{content:""}.fa-house-laptop:before,.fa-laptop-house:before{content:""}.fa-house-medical:before{content:""}.fa-home-user:before,.fa-house-user:before{content:""}.fa-hryvnia-sign:before,.fa-hryvnia:before{content:""}.fa-i:before{content:"I"}.fa-i-cursor:before{content:""}.fa-ice-cream:before{content:""}.fa-icicles:before{content:""}.fa-heart-music-camera-bolt:before,.fa-icons:before{content:""}.fa-id-badge:before{content:""}.fa-drivers-license:before,.fa-id-card:before{content:""}.fa-id-card-alt:before,.fa-id-card-clip:before{content:""}.fa-igloo:before{content:""}.fa-image:before{content:""}.fa-image-portrait:before,.fa-portrait:before{content:""}.fa-images:before{content:""}.fa-inbox:before{content:""}.fa-indent:before{content:""}.fa-indian-rupee-sign:before,.fa-indian-rupee:before,.fa-inr:before{content:""}.fa-industry:before{content:""}.fa-infinity:before{content:""}.fa-info:before{content:""}.fa-italic:before{content:""}.fa-j:before{content:"J"}.fa-jedi:before{content:""}.fa-fighter-jet:before,.fa-jet-fighter:before{content:""}.fa-joint:before{content:""}.fa-k:before{content:"K"}.fa-kaaba:before{content:""}.fa-key:before{content:""}.fa-keyboard:before{content:""}.fa-khanda:before{content:""}.fa-kip-sign:before{content:""}.fa-first-aid:before,.fa-kit-medical:before{content:""}.fa-kiwi-bird:before{content:""}.fa-l:before{content:"L"}.fa-landmark:before{content:""}.fa-language:before{content:""}.fa-laptop:before{content:""}.fa-laptop-code:before{content:""}.fa-laptop-medical:before{content:""}.fa-lari-sign:before{content:""}.fa-layer-group:before{content:""}.fa-leaf:before{content:""}.fa-left-long:before,.fa-long-arrow-alt-left:before{content:""}.fa-arrows-alt-h:before,.fa-left-right:before{content:""}.fa-lemon:before{content:""}.fa-less-than:before{content:"<"}.fa-less-than-equal:before{content:""}.fa-life-ring:before{content:""}.fa-lightbulb:before{content:""}.fa-chain:before,.fa-link:before{content:""}.fa-chain-broken:before,.fa-chain-slash:before,.fa-link-slash:before,.fa-unlink:before{content:""}.fa-lira-sign:before{content:""}.fa-list-squares:before,.fa-list:before{content:""}.fa-list-check:before,.fa-tasks:before{content:""}.fa-list-1-2:before,.fa-list-numeric:before,.fa-list-ol:before{content:""}.fa-list-dots:before,.fa-list-ul:before{content:""}.fa-litecoin-sign:before{content:""}.fa-location-arrow:before{content:""}.fa-location-crosshairs:before,.fa-location:before{content:""}.fa-location-dot:before,.fa-map-marker-alt:before{content:""}.fa-location-pin:before,.fa-map-marker:before{content:""}.fa-lock:before{content:""}.fa-lock-open:before{content:""}.fa-lungs:before{content:""}.fa-lungs-virus:before{content:""}.fa-m:before{content:"M"}.fa-magnet:before{content:""}.fa-magnifying-glass:before,.fa-search:before{content:""}.fa-magnifying-glass-dollar:before,.fa-search-dollar:before{content:""}.fa-magnifying-glass-location:before,.fa-search-location:before{content:""}.fa-magnifying-glass-minus:before,.fa-search-minus:before{content:""}.fa-magnifying-glass-plus:before,.fa-search-plus:before{content:""}.fa-manat-sign:before{content:""}.fa-map:before{content:""}.fa-map-location:before,.fa-map-marked:before{content:""}.fa-map-location-dot:before,.fa-map-marked-alt:before{content:""}.fa-map-pin:before{content:""}.fa-marker:before{content:""}.fa-mars:before{content:""}.fa-mars-and-venus:before{content:""}.fa-mars-double:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-h:before,.fa-mars-stroke-right:before{content:""}.fa-mars-stroke-up:before,.fa-mars-stroke-v:before{content:""}.fa-glass-martini-alt:before,.fa-martini-glass:before{content:""}.fa-cocktail:before,.fa-martini-glass-citrus:before{content:""}.fa-glass-martini:before,.fa-martini-glass-empty:before{content:""}.fa-mask:before{content:""}.fa-mask-face:before{content:""}.fa-masks-theater:before,.fa-theater-masks:before{content:""}.fa-expand-arrows-alt:before,.fa-maximize:before{content:""}.fa-medal:before{content:""}.fa-memory:before{content:""}.fa-menorah:before{content:""}.fa-mercury:before{content:""}.fa-comment-alt:before,.fa-message:before{content:""}.fa-meteor:before{content:""}.fa-microchip:before{content:""}.fa-microphone:before{content:""}.fa-microphone-alt:before,.fa-microphone-lines:before{content:""}.fa-microphone-alt-slash:before,.fa-microphone-lines-slash:before{content:""}.fa-microphone-slash:before{content:""}.fa-microscope:before{content:""}.fa-mill-sign:before{content:""}.fa-compress-arrows-alt:before,.fa-minimize:before{content:""}.fa-minus:before,.fa-subtract:before{content:""}.fa-mitten:before{content:""}.fa-mobile-android:before,.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-mobile-button:before{content:""}.fa-mobile-alt:before,.fa-mobile-screen-button:before{content:""}.fa-money-bill:before{content:""}.fa-money-bill-1:before,.fa-money-bill-alt:before{content:""}.fa-money-bill-1-wave:before,.fa-money-bill-wave-alt:before{content:""}.fa-money-bill-wave:before{content:""}.fa-money-check:before{content:""}.fa-money-check-alt:before,.fa-money-check-dollar:before{content:""}.fa-monument:before{content:""}.fa-moon:before{content:""}.fa-mortar-pestle:before{content:""}.fa-mosque:before{content:""}.fa-motorcycle:before{content:""}.fa-mountain:before{content:""}.fa-mug-hot:before{content:""}.fa-coffee:before,.fa-mug-saucer:before{content:""}.fa-music:before{content:""}.fa-n:before{content:"N"}.fa-naira-sign:before{content:""}.fa-network-wired:before{content:""}.fa-neuter:before{content:""}.fa-newspaper:before{content:""}.fa-not-equal:before{content:""}.fa-note-sticky:before,.fa-sticky-note:before{content:""}.fa-notes-medical:before{content:""}.fa-o:before{content:"O"}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-oil-can:before{content:""}.fa-om:before{content:""}.fa-otter:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-p:before{content:"P"}.fa-pager:before{content:""}.fa-paint-roller:before{content:""}.fa-paint-brush:before,.fa-paintbrush:before{content:""}.fa-palette:before{content:""}.fa-pallet:before{content:""}.fa-panorama:before{content:""}.fa-paper-plane:before{content:""}.fa-paperclip:before{content:""}.fa-parachute-box:before{content:""}.fa-paragraph:before{content:""}.fa-passport:before{content:""}.fa-file-clipboard:before,.fa-paste:before{content:""}.fa-pause:before{content:""}.fa-paw:before{content:""}.fa-peace:before{content:""}.fa-pen:before{content:""}.fa-pen-alt:before,.fa-pen-clip:before{content:""}.fa-pen-fancy:before{content:""}.fa-pen-nib:before{content:""}.fa-pen-ruler:before,.fa-pencil-ruler:before{content:""}.fa-edit:before,.fa-pen-to-square:before{content:""}.fa-pencil-alt:before,.fa-pencil:before{content:""}.fa-people-arrows-left-right:before,.fa-people-arrows:before{content:""}.fa-people-carry-box:before,.fa-people-carry:before{content:""}.fa-pepper-hot:before{content:""}.fa-percent:before,.fa-percentage:before{content:"%"}.fa-male:before,.fa-person:before{content:""}.fa-biking:before,.fa-person-biking:before{content:""}.fa-person-booth:before{content:""}.fa-diagnoses:before,.fa-person-dots-from-line:before{content:""}.fa-female:before,.fa-person-dress:before{content:""}.fa-hiking:before,.fa-person-hiking:before{content:""}.fa-person-praying:before,.fa-pray:before{content:""}.fa-person-running:before,.fa-running:before{content:""}.fa-person-skating:before,.fa-skating:before{content:""}.fa-person-skiing:before,.fa-skiing:before{content:""}.fa-person-skiing-nordic:before,.fa-skiing-nordic:before{content:""}.fa-person-snowboarding:before,.fa-snowboarding:before{content:""}.fa-person-swimming:before,.fa-swimmer:before{content:""}.fa-person-walking:before,.fa-walking:before{content:""}.fa-blind:before,.fa-person-walking-with-cane:before{content:""}.fa-peseta-sign:before{content:""}.fa-peso-sign:before{content:""}.fa-phone:before{content:""}.fa-phone-alt:before,.fa-phone-flip:before{content:""}.fa-phone-slash:before{content:""}.fa-phone-volume:before,.fa-volume-control-phone:before{content:""}.fa-photo-film:before,.fa-photo-video:before{content:""}.fa-piggy-bank:before{content:""}.fa-pills:before{content:""}.fa-pizza-slice:before{content:""}.fa-place-of-worship:before{content:""}.fa-plane:before{content:""}.fa-plane-arrival:before{content:""}.fa-plane-departure:before{content:""}.fa-plane-slash:before{content:""}.fa-play:before{content:""}.fa-plug:before{content:""}.fa-add:before,.fa-plus:before{content:"+"}.fa-plus-minus:before{content:""}.fa-podcast:before{content:""}.fa-poo:before{content:""}.fa-poo-bolt:before,.fa-poo-storm:before{content:""}.fa-poop:before{content:""}.fa-power-off:before{content:""}.fa-prescription:before{content:""}.fa-prescription-bottle:before{content:""}.fa-prescription-bottle-alt:before,.fa-prescription-bottle-medical:before{content:""}.fa-print:before{content:""}.fa-pump-medical:before{content:""}.fa-pump-soap:before{content:""}.fa-puzzle-piece:before{content:""}.fa-q:before{content:"Q"}.fa-qrcode:before{content:""}.fa-question:before{content:"?"}.fa-quote-left-alt:before,.fa-quote-left:before{content:""}.fa-quote-right-alt:before,.fa-quote-right:before{content:""}.fa-r:before{content:"R"}.fa-radiation:before{content:""}.fa-rainbow:before{content:""}.fa-receipt:before{content:""}.fa-record-vinyl:before{content:""}.fa-ad:before,.fa-rectangle-ad:before{content:""}.fa-list-alt:before,.fa-rectangle-list:before{content:""}.fa-rectangle-times:before,.fa-rectangle-xmark:before,.fa-times-rectangle:before,.fa-window-close:before{content:""}.fa-recycle:before{content:""}.fa-registered:before{content:""}.fa-repeat:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-republican:before{content:""}.fa-restroom:before{content:""}.fa-retweet:before{content:""}.fa-ribbon:before{content:""}.fa-right-from-bracket:before,.fa-sign-out-alt:before{content:""}.fa-exchange-alt:before,.fa-right-left:before{content:""}.fa-long-arrow-alt-right:before,.fa-right-long:before{content:""}.fa-right-to-bracket:before,.fa-sign-in-alt:before{content:""}.fa-ring:before{content:""}.fa-road:before{content:""}.fa-robot:before{content:""}.fa-rocket:before{content:""}.fa-rotate:before,.fa-sync-alt:before{content:""}.fa-rotate-back:before,.fa-rotate-backward:before,.fa-rotate-left:before,.fa-undo-alt:before{content:""}.fa-redo-alt:before,.fa-rotate-forward:before,.fa-rotate-right:before{content:""}.fa-route:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-rouble:before,.fa-rub:before,.fa-ruble-sign:before,.fa-ruble:before{content:""}.fa-ruler:before{content:""}.fa-ruler-combined:before{content:""}.fa-ruler-horizontal:before{content:""}.fa-ruler-vertical:before{content:""}.fa-rupee-sign:before,.fa-rupee:before{content:""}.fa-rupiah-sign:before{content:""}.fa-s:before{content:"S"}.fa-sailboat:before{content:""}.fa-satellite:before{content:""}.fa-satellite-dish:before{content:""}.fa-balance-scale:before,.fa-scale-balanced:before{content:""}.fa-balance-scale-left:before,.fa-scale-unbalanced:before{content:""}.fa-balance-scale-right:before,.fa-scale-unbalanced-flip:before{content:""}.fa-school:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-screwdriver:before{content:""}.fa-screwdriver-wrench:before,.fa-tools:before{content:""}.fa-scroll:before{content:""}.fa-scroll-torah:before,.fa-torah:before{content:""}.fa-sd-card:before{content:""}.fa-section:before{content:""}.fa-seedling:before,.fa-sprout:before{content:""}.fa-server:before{content:""}.fa-shapes:before,.fa-triangle-circle-square:before{content:""}.fa-arrow-turn-right:before,.fa-mail-forward:before,.fa-share:before{content:""}.fa-share-from-square:before,.fa-share-square:before{content:""}.fa-share-alt:before,.fa-share-nodes:before{content:""}.fa-ils:before,.fa-shekel-sign:before,.fa-shekel:before,.fa-sheqel-sign:before,.fa-sheqel:before{content:""}.fa-shield:before{content:""}.fa-shield-alt:before,.fa-shield-blank:before{content:""}.fa-shield-virus:before{content:""}.fa-ship:before{content:""}.fa-shirt:before,.fa-t-shirt:before,.fa-tshirt:before{content:""}.fa-shoe-prints:before{content:""}.fa-shop:before,.fa-store-alt:before{content:""}.fa-shop-slash:before,.fa-store-alt-slash:before{content:""}.fa-shower:before{content:""}.fa-shrimp:before{content:""}.fa-random:before,.fa-shuffle:before{content:""}.fa-shuttle-space:before,.fa-space-shuttle:before{content:""}.fa-sign-hanging:before,.fa-sign:before{content:""}.fa-signal-5:before,.fa-signal-perfect:before,.fa-signal:before{content:""}.fa-signature:before{content:""}.fa-map-signs:before,.fa-signs-post:before{content:""}.fa-sim-card:before{content:""}.fa-sink:before{content:""}.fa-sitemap:before{content:""}.fa-skull:before{content:""}.fa-skull-crossbones:before{content:""}.fa-slash:before{content:""}.fa-sleigh:before{content:""}.fa-sliders-h:before,.fa-sliders:before{content:""}.fa-smog:before{content:""}.fa-smoking:before{content:""}.fa-snowflake:before{content:""}.fa-snowman:before{content:""}.fa-snowplow:before{content:""}.fa-soap:before{content:""}.fa-socks:before{content:""}.fa-solar-panel:before{content:""}.fa-sort:before,.fa-unsorted:before{content:""}.fa-sort-desc:before,.fa-sort-down:before{content:""}.fa-sort-asc:before,.fa-sort-up:before{content:""}.fa-spa:before{content:""}.fa-pastafarianism:before,.fa-spaghetti-monster-flying:before{content:""}.fa-spell-check:before{content:""}.fa-spider:before{content:""}.fa-spinner:before{content:""}.fa-splotch:before{content:""}.fa-spoon:before,.fa-utensil-spoon:before{content:""}.fa-spray-can:before{content:""}.fa-air-freshener:before,.fa-spray-can-sparkles:before{content:""}.fa-square:before{content:""}.fa-external-link-square:before,.fa-square-arrow-up-right:before{content:""}.fa-caret-square-down:before,.fa-square-caret-down:before{content:""}.fa-caret-square-left:before,.fa-square-caret-left:before{content:""}.fa-caret-square-right:before,.fa-square-caret-right:before{content:""}.fa-caret-square-up:before,.fa-square-caret-up:before{content:""}.fa-check-square:before,.fa-square-check:before{content:""}.fa-envelope-square:before,.fa-square-envelope:before{content:""}.fa-square-full:before{content:""}.fa-h-square:before,.fa-square-h:before{content:""}.fa-minus-square:before,.fa-square-minus:before{content:""}.fa-parking:before,.fa-square-parking:before{content:""}.fa-pen-square:before,.fa-pencil-square:before,.fa-square-pen:before{content:""}.fa-phone-square:before,.fa-square-phone:before{content:""}.fa-phone-square-alt:before,.fa-square-phone-flip:before{content:""}.fa-plus-square:before,.fa-square-plus:before{content:""}.fa-poll-h:before,.fa-square-poll-horizontal:before{content:""}.fa-poll:before,.fa-square-poll-vertical:before{content:""}.fa-square-root-alt:before,.fa-square-root-variable:before{content:""}.fa-rss-square:before,.fa-square-rss:before{content:""}.fa-share-alt-square:before,.fa-square-share-nodes:before{content:""}.fa-external-link-square-alt:before,.fa-square-up-right:before{content:""}.fa-square-xmark:before,.fa-times-square:before,.fa-xmark-square:before{content:""}.fa-stairs:before{content:""}.fa-stamp:before{content:""}.fa-star:before{content:""}.fa-star-and-crescent:before{content:""}.fa-star-half:before{content:""}.fa-star-half-alt:before,.fa-star-half-stroke:before{content:""}.fa-star-of-david:before{content:""}.fa-star-of-life:before{content:""}.fa-gbp:before,.fa-pound-sign:before,.fa-sterling-sign:before{content:""}.fa-stethoscope:before{content:""}.fa-stop:before{content:""}.fa-stopwatch:before{content:""}.fa-stopwatch-20:before{content:""}.fa-store:before{content:""}.fa-store-slash:before{content:""}.fa-street-view:before{content:""}.fa-strikethrough:before{content:""}.fa-stroopwafel:before{content:""}.fa-subscript:before{content:""}.fa-suitcase:before{content:""}.fa-medkit:before,.fa-suitcase-medical:before{content:""}.fa-suitcase-rolling:before{content:""}.fa-sun:before{content:""}.fa-superscript:before{content:""}.fa-swatchbook:before{content:""}.fa-synagogue:before{content:""}.fa-syringe:before{content:""}.fa-t:before{content:"T"}.fa-table:before{content:""}.fa-table-cells:before,.fa-th:before{content:""}.fa-table-cells-large:before,.fa-th-large:before{content:""}.fa-columns:before,.fa-table-columns:before{content:""}.fa-table-list:before,.fa-th-list:before{content:""}.fa-ping-pong-paddle-ball:before,.fa-table-tennis-paddle-ball:before,.fa-table-tennis:before{content:""}.fa-tablet-android:before,.fa-tablet:before{content:""}.fa-tablet-button:before{content:""}.fa-tablet-alt:before,.fa-tablet-screen-button:before{content:""}.fa-tablets:before{content:""}.fa-digital-tachograph:before,.fa-tachograph-digital:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-tape:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-teeth:before{content:""}.fa-teeth-open:before{content:""}.fa-temperature-0:before,.fa-temperature-empty:before,.fa-thermometer-0:before,.fa-thermometer-empty:before{content:""}.fa-temperature-4:before,.fa-temperature-full:before,.fa-thermometer-4:before,.fa-thermometer-full:before{content:""}.fa-temperature-2:before,.fa-temperature-half:before,.fa-thermometer-2:before,.fa-thermometer-half:before{content:""}.fa-temperature-high:before{content:""}.fa-temperature-low:before{content:""}.fa-temperature-1:before,.fa-temperature-quarter:before,.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:""}.fa-temperature-3:before,.fa-temperature-three-quarters:before,.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:""}.fa-tenge-sign:before,.fa-tenge:before{content:""}.fa-terminal:before{content:""}.fa-text-height:before{content:""}.fa-remove-format:before,.fa-text-slash:before{content:""}.fa-text-width:before{content:""}.fa-thermometer:before{content:""}.fa-thumbs-down:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumb-tack:before,.fa-thumbtack:before{content:""}.fa-ticket:before{content:""}.fa-ticket-alt:before,.fa-ticket-simple:before{content:""}.fa-timeline:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-toilet:before{content:""}.fa-toilet-paper:before{content:""}.fa-toilet-paper-slash:before{content:""}.fa-toolbox:before{content:""}.fa-tooth:before{content:""}.fa-torii-gate:before{content:""}.fa-broadcast-tower:before,.fa-tower-broadcast:before{content:""}.fa-tractor:before{content:""}.fa-trademark:before{content:""}.fa-traffic-light:before{content:""}.fa-trailer:before{content:""}.fa-train:before{content:""}.fa-subway:before,.fa-train-subway:before{content:""}.fa-train-tram:before,.fa-tram:before{content:""}.fa-transgender-alt:before,.fa-transgender:before{content:""}.fa-trash:before{content:""}.fa-trash-arrow-up:before,.fa-trash-restore:before{content:""}.fa-trash-alt:before,.fa-trash-can:before{content:""}.fa-trash-can-arrow-up:before,.fa-trash-restore-alt:before{content:""}.fa-tree:before{content:""}.fa-exclamation-triangle:before,.fa-triangle-exclamation:before,.fa-warning:before{content:""}.fa-trophy:before{content:""}.fa-truck:before{content:""}.fa-shipping-fast:before,.fa-truck-fast:before{content:""}.fa-ambulance:before,.fa-truck-medical:before{content:""}.fa-truck-monster:before{content:""}.fa-truck-moving:before{content:""}.fa-truck-pickup:before{content:""}.fa-truck-loading:before,.fa-truck-ramp-box:before{content:""}.fa-teletype:before,.fa-tty:before{content:""}.fa-try:before,.fa-turkish-lira-sign:before,.fa-turkish-lira:before{content:""}.fa-level-down-alt:before,.fa-turn-down:before{content:""}.fa-level-up-alt:before,.fa-turn-up:before{content:""}.fa-television:before,.fa-tv-alt:before,.fa-tv:before{content:""}.fa-u:before{content:"U"}.fa-umbrella:before{content:""}.fa-umbrella-beach:before{content:""}.fa-underline:before{content:""}.fa-universal-access:before{content:""}.fa-unlock:before{content:""}.fa-unlock-alt:before,.fa-unlock-keyhole:before{content:""}.fa-arrows-alt-v:before,.fa-up-down:before{content:""}.fa-arrows-alt:before,.fa-up-down-left-right:before{content:""}.fa-long-arrow-alt-up:before,.fa-up-long:before{content:""}.fa-expand-alt:before,.fa-up-right-and-down-left-from-center:before{content:""}.fa-external-link-alt:before,.fa-up-right-from-square:before{content:""}.fa-upload:before{content:""}.fa-user:before{content:""}.fa-user-astronaut:before{content:""}.fa-user-check:before{content:""}.fa-user-clock:before{content:""}.fa-user-doctor:before,.fa-user-md:before{content:""}.fa-user-cog:before,.fa-user-gear:before{content:""}.fa-user-graduate:before{content:""}.fa-user-friends:before,.fa-user-group:before{content:""}.fa-user-injured:before{content:""}.fa-user-alt:before,.fa-user-large:before{content:""}.fa-user-alt-slash:before,.fa-user-large-slash:before{content:""}.fa-user-lock:before{content:""}.fa-user-minus:before{content:""}.fa-user-ninja:before{content:""}.fa-user-nurse:before{content:""}.fa-user-edit:before,.fa-user-pen:before{content:""}.fa-user-plus:before{content:""}.fa-user-secret:before{content:""}.fa-user-shield:before{content:""}.fa-user-slash:before{content:""}.fa-user-tag:before{content:""}.fa-user-tie:before{content:""}.fa-user-times:before,.fa-user-xmark:before{content:""}.fa-users:before{content:""}.fa-users-cog:before,.fa-users-gear:before{content:""}.fa-users-slash:before{content:""}.fa-cutlery:before,.fa-utensils:before{content:""}.fa-v:before{content:"V"}.fa-shuttle-van:before,.fa-van-shuttle:before{content:""}.fa-vault:before{content:""}.fa-vector-square:before{content:""}.fa-venus:before{content:""}.fa-venus-double:before{content:""}.fa-venus-mars:before{content:""}.fa-vest:before{content:""}.fa-vest-patches:before{content:""}.fa-vial:before{content:""}.fa-vials:before{content:""}.fa-video-camera:before,.fa-video:before{content:""}.fa-video-slash:before{content:""}.fa-vihara:before{content:""}.fa-virus:before{content:""}.fa-virus-covid:before{content:""}.fa-virus-covid-slash:before{content:""}.fa-virus-slash:before{content:""}.fa-viruses:before{content:""}.fa-voicemail:before{content:""}.fa-volleyball-ball:before,.fa-volleyball:before{content:""}.fa-volume-high:before,.fa-volume-up:before{content:""}.fa-volume-down:before,.fa-volume-low:before{content:""}.fa-volume-off:before{content:""}.fa-volume-mute:before,.fa-volume-times:before,.fa-volume-xmark:before{content:""}.fa-vr-cardboard:before{content:""}.fa-w:before{content:"W"}.fa-wallet:before{content:""}.fa-magic:before,.fa-wand-magic:before{content:""}.fa-magic-wand-sparkles:before,.fa-wand-magic-sparkles:before{content:""}.fa-wand-sparkles:before{content:""}.fa-warehouse:before{content:""}.fa-water:before{content:""}.fa-ladder-water:before,.fa-swimming-pool:before,.fa-water-ladder:before{content:""}.fa-wave-square:before{content:""}.fa-weight-hanging:before{content:""}.fa-weight-scale:before,.fa-weight:before{content:""}.fa-wheelchair:before{content:""}.fa-glass-whiskey:before,.fa-whiskey-glass:before{content:""}.fa-wifi-3:before,.fa-wifi-strong:before,.fa-wifi:before{content:""}.fa-wind:before{content:""}.fa-window-maximize:before{content:""}.fa-window-minimize:before{content:""}.fa-window-restore:before{content:""}.fa-wine-bottle:before{content:""}.fa-wine-glass:before{content:""}.fa-wine-glass-alt:before,.fa-wine-glass-empty:before{content:""}.fa-krw:before,.fa-won-sign:before,.fa-won:before{content:""}.fa-wrench:before{content:""}.fa-x:before{content:"X"}.fa-x-ray:before{content:""}.fa-close:before,.fa-multiply:before,.fa-remove:before,.fa-times:before,.fa-xmark:before{content:""}.fa-y:before{content:"Y"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen-sign:before,.fa-yen:before{content:""}.fa-yin-yang:before{content:""}.fa-z:before{content:"Z"}.fa-sr-only,.fa-sr-only-focusable:not(:focus),.sr-only,.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}/*! - * Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com - * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) - * Copyright 2022 Fonticons, Inc. - */:host,:root{--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(/openWB/web/themes/colors/assets/fa-solid-900-1b099f88.woff2) format("woff2"),url(/openWB/web/themes/colors/assets/fa-solid-900-1782156b.ttf) format("truetype")}.fa-solid,.fas{font-family:"Font Awesome 6 Free";font-weight:900}/*! - * Bootstrap v5.3.2 (https://getbootstrap.com/) - * Copyright 2011-2023 The Bootstrap Authors - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, .75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, .5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, .175);--bs-border-radius:.375rem;--bs-border-radius-sm:.25rem;--bs-border-radius-lg:.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm:0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width:.25rem;--bs-focus-ring-opacity:.25;--bs-focus-ring-color:rgba(13, 110, 253, .25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222,226,230;--bs-body-bg:#212529;--bs-body-bg-rgb:33,37,41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255,255,255;--bs-secondary-color:rgba(222, 226, 230, .75);--bs-secondary-color-rgb:222,226,230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52,58,64;--bs-tertiary-color:rgba(222, 226, 230, .5);--bs-tertiary-color-rgb:222,226,230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43,48,53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color-rgb:139,185,254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, .15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:.25rem}.g-1,.gy-1{--bs-gutter-y:.25rem}.g-2,.gx-2{--bs-gutter-x:.5rem}.g-2,.gy-2{--bs-gutter-y:.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-color-type:initial;--bs-table-bg-type:initial;--bs-table-color-state:initial;--bs-table-bg-state:initial;--bs-table-color:var(--bs-emphasis-color);--bs-table-bg:var(--bs-body-bg);--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-emphasis-color);--bs-table-striped-bg:rgba(var(--bs-emphasis-color-rgb), .05);--bs-table-active-color:var(--bs-emphasis-color);--bs-table-active-bg:rgba(var(--bs-emphasis-color-rgb), .1);--bs-table-hover-color:var(--bs-emphasis-color);--bs-table-hover-bg:rgba(var(--bs-emphasis-color-rgb), .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state,var(--bs-table-color-type,var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state,var(--bs-table-bg-type,var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type:var(--bs-table-striped-color);--bs-table-bg-type:var(--bs-table-striped-bg)}.table-active{--bs-table-color-state:var(--bs-table-active-color);--bs-table-bg-state:var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state:var(--bs-table-hover-color);--bs-table-bg-state:var(--bs-table-hover-bg)}.table-primary{--bs-table-color:#000;--bs-table-bg:#cfe2ff;--bs-table-border-color:#a6b5cc;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color:#000;--bs-table-bg:#e2e3e5;--bs-table-border-color:#b5b6b7;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color:#000;--bs-table-bg:#d1e7dd;--bs-table-border-color:#a7b9b1;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color:#000;--bs-table-bg:#cff4fc;--bs-table-border-color:#a6c3ca;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color:#000;--bs-table-bg:#fff3cd;--bs-table-border-color:#ccc2a4;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color:#000;--bs-table-bg:#f8d7da;--bs-table-border-color:#c6acae;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color:#000;--bs-table-bg:#f8f9fa;--bs-table-border-color:#c6c7c8;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#4d5154;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg:var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::-moz-placeholder,.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown),.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control-plaintext~label:after,.form-floating>.form-control:focus~label:after,.form-floating>.form-control:not(:placeholder-shown)~label:after,.form-floating>.form-select~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>.form-control:disabled~label,.form-floating>:disabled~label{color:#6c757d}.form-floating>.form-control:disabled~label:after,.form-floating>:disabled~label:after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:var(--bs-form-valid-border-color)}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3.75rem + 1.5em)}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:var(--bs-form-valid-border-color)}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:var(--bs-form-valid-color)}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:var(--bs-form-invalid-border-color)}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3.75rem + 1.5em)}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:var(--bs-form-invalid-border-color)}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:var(--bs-form-invalid-color)}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--bs-btn-padding-x:.75rem;--bs-btn-padding-y:.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, .15),0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity:.65;--bs-btn-focus-box-shadow:0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49,132,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60,153,110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11,172,204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217,164,6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225,83,97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211,212,213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66,70,73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13,110,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108,117,125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25,135,84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13,202,240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255,193,7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220,53,69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248,249,250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33,37,41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:0 0 0 #000;--bs-btn-focus-shadow-rgb:49,132,253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--bs-btn-padding-y:.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:var(--bs-border-radius-lg)}.btn-group-sm>.btn,.btn-sm{--bs-btn-padding-y:.25rem;--bs-btn-padding-x:.5rem;--bs-btn-font-size:.875rem;--bs-btn-border-radius:var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex:1000;--bs-dropdown-min-width:10rem;--bs-dropdown-padding-x:0;--bs-dropdown-padding-y:.5rem;--bs-dropdown-spacer:.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color:var(--bs-body-color);--bs-dropdown-bg:var(--bs-body-bg);--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-border-radius:var(--bs-border-radius);--bs-dropdown-border-width:var(--bs-border-width);--bs-dropdown-inner-border-radius:calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y:.5rem;--bs-dropdown-box-shadow:var(--bs-box-shadow);--bs-dropdown-link-color:var(--bs-body-color);--bs-dropdown-link-hover-color:var(--bs-body-color);--bs-dropdown-link-hover-bg:var(--bs-tertiary-bg);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:var(--bs-tertiary-color);--bs-dropdown-item-padding-x:1rem;--bs-dropdown-item-padding-y:.25rem;--bs-dropdown-header-color:#6c757d;--bs-dropdown-header-padding-x:1rem;--bs-dropdown-header-padding-y:.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius,0)}.dropdown-item:focus,.dropdown-item:hover{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color:#dee2e6;--bs-dropdown-bg:#343a40;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color:#dee2e6;--bs-dropdown-link-hover-color:#fff;--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg:rgba(255, 255, 255, .15);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:0 0;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width:var(--bs-border-width);--bs-nav-tabs-border-color:var(--bs-border-color);--bs-nav-tabs-border-radius:var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color:var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color:var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg:var(--bs-body-bg);--bs-nav-tabs-link-active-border-color:var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius:var(--bs-border-radius);--bs-nav-pills-link-active-color:#fff;--bs-nav-pills-link-active-bg:#0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap:1rem;--bs-nav-underline-border-width:.125rem;--bs-nav-underline-link-active-color:var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:focus,.nav-underline .nav-link:hover{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:.5rem;--bs-navbar-color:rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color:rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color:rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y:.3125rem;--bs-navbar-brand-margin-end:1rem;--bs-navbar-brand-font-size:1.25rem;--bs-navbar-brand-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x:.5rem;--bs-navbar-toggler-padding-y:.25rem;--bs-navbar-toggler-padding-x:.75rem;--bs-navbar-toggler-font-size:1.25rem;--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color:rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius:var(--bs-border-radius);--bs-navbar-toggler-focus-width:.25rem;--bs-navbar-toggler-transition:box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x:0;--bs-nav-link-padding-y:.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-navbar-color);--bs-nav-link-hover-color:var(--bs-navbar-hover-color);--bs-nav-link-disabled-color:var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color:rgba(255, 255, 255, .55);--bs-navbar-hover-color:rgba(255, 255, 255, .75);--bs-navbar-disabled-color:rgba(255, 255, 255, .25);--bs-navbar-active-color:#fff;--bs-navbar-brand-color:#fff;--bs-navbar-brand-hover-color:#fff;--bs-navbar-toggler-border-color:rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-title-spacer-y:.5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width:var(--bs-border-width);--bs-card-border-color:var(--bs-border-color-translucent);--bs-card-border-radius:var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y:.5rem;--bs-card-cap-padding-x:1rem;--bs-card-cap-bg:rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg:var(--bs-body-bg);--bs-card-img-overlay-padding:1rem;--bs-card-group-margin:.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion{--bs-accordion-color:var(--bs-body-color);--bs-accordion-bg:var(--bs-body-bg);--bs-accordion-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;--bs-accordion-border-color:var(--bs-border-color);--bs-accordion-border-width:var(--bs-border-width);--bs-accordion-border-radius:var(--bs-border-radius);--bs-accordion-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem;--bs-accordion-btn-color:var(--bs-body-color);--bs-accordion-btn-bg:var(--bs-accordion-bg);--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width:1.25rem;--bs-accordion-btn-icon-transform:rotate(-180deg);--bs-accordion-btn-icon-transition:transform .2s ease-in-out;--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052c65'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color:#86b7fe;--bs-accordion-btn-focus-box-shadow:0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x:1.25rem;--bs-accordion-body-padding-y:1rem;--bs-accordion-active-color:var(--bs-primary-text-emphasis);--bs-accordion-active-bg:var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:var(--bs-secondary-color);--bs-breadcrumb-item-padding-x:.5rem;--bs-breadcrumb-item-active-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x:.75rem;--bs-pagination-padding-y:.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:var(--bs-body-bg);--bs-pagination-border-width:var(--bs-border-width);--bs-pagination-border-color:var(--bs-border-color);--bs-pagination-border-radius:var(--bs-border-radius);--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:var(--bs-tertiary-bg);--bs-pagination-hover-border-color:var(--bs-border-color);--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:var(--bs-secondary-bg);--bs-pagination-focus-box-shadow:0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:var(--bs-secondary-color);--bs-pagination-disabled-bg:var(--bs-secondary-bg);--bs-pagination-disabled-border-color:var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x:1.5rem;--bs-pagination-padding-y:.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius:var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x:.5rem;--bs-pagination-padding-y:.25rem;--bs-pagination-font-size:.875rem;--bs-pagination-border-radius:var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x:.65em;--bs-badge-padding-y:.35em;--bs-badge-font-size:.75em;--bs-badge-font-weight:700;--bs-badge-color:#fff;--bs-badge-border-radius:var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius:var(--bs-border-radius);--bs-alert-link-color:inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color:var(--bs-primary-text-emphasis);--bs-alert-bg:var(--bs-primary-bg-subtle);--bs-alert-border-color:var(--bs-primary-border-subtle);--bs-alert-link-color:var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color:var(--bs-secondary-text-emphasis);--bs-alert-bg:var(--bs-secondary-bg-subtle);--bs-alert-border-color:var(--bs-secondary-border-subtle);--bs-alert-link-color:var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color:var(--bs-success-text-emphasis);--bs-alert-bg:var(--bs-success-bg-subtle);--bs-alert-border-color:var(--bs-success-border-subtle);--bs-alert-link-color:var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color:var(--bs-info-text-emphasis);--bs-alert-bg:var(--bs-info-bg-subtle);--bs-alert-border-color:var(--bs-info-border-subtle);--bs-alert-link-color:var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color:var(--bs-warning-text-emphasis);--bs-alert-bg:var(--bs-warning-bg-subtle);--bs-alert-border-color:var(--bs-warning-border-subtle);--bs-alert-link-color:var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color:var(--bs-danger-text-emphasis);--bs-alert-bg:var(--bs-danger-bg-subtle);--bs-alert-border-color:var(--bs-danger-border-subtle);--bs-alert-link-color:var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color:var(--bs-light-text-emphasis);--bs-alert-bg:var(--bs-light-bg-subtle);--bs-alert-border-color:var(--bs-light-border-subtle);--bs-alert-link-color:var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color:var(--bs-dark-text-emphasis);--bs-alert-bg:var(--bs-dark-bg-subtle);--bs-alert-border-color:var(--bs-dark-border-subtle);--bs-alert-link-color:var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height:1rem;--bs-progress-font-size:.75rem;--bs-progress-bg:var(--bs-secondary-bg);--bs-progress-border-radius:var(--bs-border-radius);--bs-progress-box-shadow:var(--bs-box-shadow-inset);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:#0d6efd;--bs-progress-bar-transition:width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color:#000;--bs-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity:.5;--bs-btn-close-hover-opacity:.75;--bs-btn-close-focus-shadow:0 0 0 .25rem rgba(13, 110, 253, .25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:.25;--bs-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white,[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:.75rem;--bs-toast-padding-y:.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:.875rem;--bs-toast-color: ;--bs-toast-bg:rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width:var(--bs-border-width);--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:var(--bs-border-radius);--bs-toast-box-shadow:var(--bs-box-shadow);--bs-toast-header-color:var(--bs-secondary-color);--bs-toast-header-bg:rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color:var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex:1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:.5rem;--bs-modal-color: ;--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:var(--bs-box-shadow-sm);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex:1050;--bs-backdrop-bg:#000;--bs-backdrop-opacity:.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex:1080;--bs-tooltip-max-width:200px;--bs-tooltip-padding-x:.5rem;--bs-tooltip-padding-y:.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:.875rem;--bs-tooltip-color:var(--bs-body-bg);--bs-tooltip-bg:var(--bs-emphasis-color);--bs-tooltip-border-radius:var(--bs-border-radius);--bs-tooltip-opacity:.9;--bs-tooltip-arrow-width:.8rem;--bs-tooltip-arrow-height:.4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before,.bs-tooltip-top .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before,.bs-tooltip-end .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before,.bs-tooltip-bottom .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before,.bs-tooltip-start .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex:1070;--bs-popover-max-width:276px;--bs-popover-font-size:.875rem;--bs-popover-bg:var(--bs-body-bg);--bs-popover-border-width:var(--bs-border-width);--bs-popover-border-color:var(--bs-border-color-translucent);--bs-popover-border-radius:var(--bs-border-radius-lg);--bs-popover-inner-border-radius:calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow:var(--bs-box-shadow);--bs-popover-header-padding-x:1rem;--bs-popover-header-padding-y:.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color:inherit;--bs-popover-header-bg:var(--bs-secondary-bg);--bs-popover-body-padding-x:1rem;--bs-popover-body-padding-y:1rem;--bs-popover-body-color:var(--bs-body-color);--bs-popover-arrow-width:1rem;--bs-popover-arrow-height:.5rem;--bs-popover-arrow-border:var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:after,.popover .popover-arrow:before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-top>.popover-arrow:before{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-top>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-end>.popover-arrow:before{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-end>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:before{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-start>.popover-arrow:before{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-start>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translate(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-.125em;--bs-spinner-border-width:.25em;--bs-spinner-animation-speed:.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-.125em;--bs-spinner-animation-speed:.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--bs-offcanvas-zindex:1045;--bs-offcanvas-width:400px;--bs-offcanvas-height:30vh;--bs-offcanvas-padding-x:1rem;--bs-offcanvas-padding-y:1rem;--bs-offcanvas-color:var(--bs-body-color);--bs-offcanvas-bg:var(--bs-body-bg);--bs-offcanvas-border-width:var(--bs-border-width);--bs-offcanvas-border-color:var(--bs-border-color-translucent);--bs-offcanvas-box-shadow:var(--bs-box-shadow-sm);--bs-offcanvas-transition:transform .3s ease-in-out;--bs-offcanvas-title-line-height:1.5}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{transform:none}.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{transform:none}.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{transform:none}.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{transform:none}.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{transform:none}.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity,1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity,1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity,1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))!important}.link-primary:focus,.link-primary:hover{color:RGBA(10,88,202,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))!important}.link-secondary:focus,.link-secondary:hover{color:RGBA(86,94,100,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))!important}.link-success:focus,.link-success:hover{color:RGBA(20,108,67,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))!important}.link-info:focus,.link-info:hover{color:RGBA(61,213,243,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))!important}.link-warning:focus,.link-warning:hover{color:RGBA(255,205,57,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))!important}.link-danger:focus,.link-danger:hover{color:RGBA(176,42,55,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))!important}.link-light:focus,.link-light:hover{color:RGBA(249,250,251,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))!important}.link-dark:focus,.link-dark:hover{color:RGBA(26,30,33,var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-body-emphasis:focus,.link-body-emphasis:hover{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,.75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,.75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,.75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x,0) var(--bs-focus-ring-y,0) var(--bs-focus-ring-blur,0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,.5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,.5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:focus-visible>.bi,.icon-link-hover:hover>.bi{transform:var(--bs-icon-link-transform,translate3d(.25em,0,0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),.visually-hidden:not(caption){position:absolute!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color:rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color:rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color:rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color:rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color:rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color:rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color:rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color:rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity:1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity:1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity:1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity:1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity:1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity:1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity:1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity:1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity:1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity:1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity:.1}.border-opacity-25{--bs-border-opacity:.25}.border-opacity-50{--bs-border-opacity:.5}.border-opacity-75{--bs-border-opacity:.75}.border-opacity-100{--bs-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity:1;color:#00000080!important}.text-white-50{--bs-text-opacity:1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity:1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity:1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:.25}.text-opacity-50{--bs-text-opacity:.5}.text-opacity-75{--bs-text-opacity:.75}.text-opacity-100{--bs-text-opacity:1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity:.1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity:.25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity:.5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity:.75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity:1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity:0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity:.1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity:.25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity:.5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity:.75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity:1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity:.1}.bg-opacity-25{--bs-bg-opacity:.25}.bg-opacity-50{--bs-bg-opacity:.5}.bg-opacity-75{--bs-bg-opacity:.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}html{min-height:100%;min-width:100%}body{color:var(--color-fg);background:var(--color-bg)}body>.container{padding:55px 15px 0}html{font-size:12px}html .settingscolumn{grid-column:span 12}@media screen and (min-width: 240px){html{font-size:13px}}@media screen and (min-width: 330px){html{font-size:14px}}@media screen and (min-width: 400px){html{font-size:15px}}@media screen and (min-width: 435px){html{font-size:16px}}@media screen and (min-width: 470px){html{font-size:17px}}@media screen and (min-width: 505px){html{font-size:18px}}@media screen and (min-width: 540px){html{font-size:19px}}@media screen and (min-width: 576px){html{font-size:20px}}@media screen and (min-width: 672px){html{font-size:21px}}@media screen and (min-width: 768px){html{font-size:22px}}@media screen and (min-width: 992px){html{font-size:11px}html .settingscolumn{grid-column:span 4}}@media screen and (min-width: 1200px){html{font-size:13px}}@media screen and (min-width: 1400px){html{font-size:16px}}@media screen and (min-width: 2000px){html{font-size:16px}}.verySmallTextSize{font-size:var(--font-verysmall)}.smallTextSize{font-size:var(--font-small)}.mediumTextSize{font-size:var(--font-medium)}.regularTextSize{font-size:var(--font-normal)}.largeTextSize,.buttonTextSize{font-size:var(--font-large)}h3{font-size:var(--font-extralarge);color:var(--color-title);font-weight:700}h4{color:var(--color-axis)}body>.container-fluid{padding:55px 15px 0}.tablecell{font-size:var(--font-normal);line-height:1rem;vertical-align:middle;padding:0;background-color:var(--color-bg)}.maxPrice{text-align:center}:root{--fontCol: rgba(160, 160, 160, .82);--gridCol: rgba(160, 160, 160, .82);--xgridCol: rgba(160, 160, 160, .82);--tickCol: rgba(160, 160, 160, .82);--evuCol: rgba(178, 34, 34, 1);--color-switchRed: #d12020;--color-switchGreen: #4db662;--color-switchBlue: steelblue;--color-cp0: #6baed6;--color-cp1: #4292c6;--color-cp2: #2171b5;--color-cp3: #9ecae1;--color-cp4: #c6dbef;--color-cp5: #deebf7;--color-cp6: #08519c;--color-cp7: #6baed6;--color-evu: firebrick;--color-pv: #33a02c;--color-house: #7f7f7f;--color-charging: #1f78b4;--color-export: #b2df8a;--color-battery: goldenrod;--color-input: lightgrey;--color-pv1: #33a02c;--color-pv2: #4db662;--color-pv3: #a1d99b;--color-pv4: #74c476;--color-pv5: #41ab5d;--color-pv6: #238b45;--color-pv7: #006d2c;--color-pv8: #00441b;--color-pv9: #33a02c;--font-normal: 1.4rem;--font-large: 1.6rem;--font-medium: 1.2rem;--font-small: 1rem;--font-verysmall: .7rem;--font-extralarge: 1.6rem;--font-settings: 16px}.theme-light{--color-bg: white;--color-axis: gray;--color-grid: #bbbbbb;--color-menu: gray;--color-frame: white;--color-subframe: lightgrey;--color-fg: black;--color-scale: lightgrey;--color-title: rgba(0, 0, 0, .644);--padding-widget: 5px;--fontCol: rgba(255, 255, 255, .82);--gridCol: rgba(255, 255, 255, .82);--xgridCol: rgba(255, 255, 255, .1);--tickCol: rgba(255, 255, 255, .82);--evuCol: rgba(255, 0, 0, .7)}.theme-blue{--color-bg: midnightblue;--color-axis: steelblue;--color-grid: steelblue;--color-menu: lightskyblue;--color-frame: lightskyblue;--color-subframe: midnightblue;--color-fg: white;--color-scale: steelblue;--color-title: lightgrey;--padding-widget: 0px}.theme-dark{--color-bg: #333333;--color-export: #b2df8a;--color-axis: #666666;--color-grid: black;--color-menu: #999999;--color-frame: #666666;--color-subframe: #333333;--color-fg: white;--color-scale: #999999;--color-title: lightgrey;--padding-widget: 0px}.shcolors-normal{--color-devices: #f16913;--color-sh1: #fd8d3c;--color-sh2: #f16913;--color-sh3: #d94801;--color-sh4: #fdae6b;--color-sh5: #fdd0a2;--color-sh6: #fee6ce;--color-sh7: #a63603;--color-sh8: #fe4b83;--color-sh9: #e4419d}.shcolors-advanced{--color-devices: #ff4d4d;--color-sh1: #ffffff;--color-sh2: #ff4d4d;--color-sh3: #668cff;--color-sh4: #ff6600;--color-sh5: #00ff00;--color-sh6: #ffff00;--color-sh7: #ff00ff;--color-sh8: #993300;--color-sh9: #a366ff}.shcolors-standard{--color-devices: rgba(200, 50, 200, .7);--color-sh1: rgba(200, 150, 200, .7);--color-sh2: rgba(200, 100, 200, .7);--color-sh3: rgba(200, 50, 200, .7);--color-sh4: rgba(200, 0, 200, .7);--color-sh5: rgba(150, 200, 200, .7);--color-sh6: rgba(100, 200, 200, .7);--color-sh7: rgba(50, 200, 200, .7);--color-sh8: rgba(0, 200, 200, .7);--color-sh9: rgba(200, 200, 200, .7)}.openwb-devices{color:#cff;background-color:#009696}.colormenu{background-color:var(--color-frame)}.wb-widget{background-color:var(--color-bg);border:.1px dotted var(--color-frame);align-self:stretch;width:100%;border-radius:30px}.wb-subwidget{border:0px solid var(--color-subframe);padding:var(--padding-widget)}.grid12{display:grid;grid-template-columns:repeat(12,auto);gap:.2em;justify-items:center}.grid-col-3{grid-column:span 3}.grid-col-4{grid-column:span 4}.grid-col-6{grid-column:span 6}.grid-col-12{grid-column:span 12}@supports (grid-template-columns: subgrid){.subgrid{display:grid;grid-column:span 12;grid-template-columns:subgrid;justify-content:top}}@supports not (grid-template-columns: subgrid){.subgrid{display:grid;grid-column:span 12;grid-template-columns:auto auto auto auto auto auto auto auto auto auto auto auto;justify-content:top;width:100%}}.grid-left{justify-self:start}.grid-right{justify-self:end}th{color:var(--color-axis)}.table-borderless td{border:0}.popup-header{color:#191970}.axis text{color:var(--color-axis);stroke-width:0}.phasesInUse{font-family:monospace;color:#fff;background:var(--color-menu);font-size:var(--font-verysmall);padding:.2rem .4rem .1rem;margin:0rem .2rem}.swiper-slide-active,.swiper-slide{display:flex}swiper-slide{display:flex}option{color:#00f}.ttarea .ttmessage{visibility:hidden}.ttarea:hover .ttmessage{visibility:visible} diff --git a/packages/modules/web_themes/colors/web/assets/index-cfda3130.js b/packages/modules/web_themes/colors/web/assets/index-cfda3130.js deleted file mode 100644 index 016992e02e..0000000000 --- a/packages/modules/web_themes/colors/web/assets/index-cfda3130.js +++ /dev/null @@ -1,6 +0,0 @@ -var Ya=Object.defineProperty;var Qa=(t,e,a)=>e in t?Ya(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var v=(t,e,a)=>(Qa(t,typeof e!="symbol"?e+"":e,a),a);import{m as Za,r as re,a as Z,c as g,s as le,d as V,p as pa,b as ga,w as Xa,o as i,e as p,t as $,f as n,n as j,g as M,h as b,i as he,j as w,k as N,u as s,l as y,F as z,q as X,v as Pe,x as Et,y as qe,z as jt,A as Ka,B as ma,C as Ye,D as ut,E as Ke,G as nt,H as st,I as tt,J as eo,K as vt,L as J,M as to,N as Be,O as ae,P as oe,Q as at,R as ao,S as oo,T as no,U as so,V as Rt,W as ro,X as io,Y as lo,Z as co,_ as uo,$ as ho,a0 as po,a1 as go,a2 as mo}from"./vendor-978a58bb.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const l of r)if(l.type==="childList")for(const d of l.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&o(d)}).observe(document,{childList:!0,subtree:!0});function a(r){const l={};return r.integrity&&(l.integrity=r.integrity),r.referrerPolicy&&(l.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?l.credentials="include":r.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function o(r){if(r.ep)return;r.ep=!0;const l=a(r);fetch(r.href,l)}})();const vo=0,va={host:location.hostname,port:location.protocol=="https:"?443:80,endpoint:"/ws",protocol:location.protocol=="https:"?"wss":"ws",connectTimeout:4e3,reconnectPeriod:4e3,clean:!1,clientId:Math.random().toString(36).replace(/[^a-z]+/g,"").substring(0,6)},ft={topic:"",qos:vo};let Ce;const{host:fo,port:_o,endpoint:yo,...fa}=va,bo=`${fa.protocol}://${fo}:${_o}${yo}`;try{Ce=Za.connect(bo,fa),Ce.on("connect",()=>{console.info("MQTT connection successful")}),Ce.on("disconnect",()=>{console.info("MQTT disconnected")}),Ce.on("error",t=>{console.error("MQTT connection failed: ",t)})}catch(t){console.error("MQTT connect error: ",t)}function wo(t){Ce?Ce.on("message",t):console.error("MqttRegister: MQTT client not available")}function Re(t){ft.topic=t;const{topic:e,qos:a}=ft;Ce.subscribe(e,{qos:a},o=>{if(o){console.error("MQTT Subscription error: "+o);return}})}function et(t){ft.topic=t;const{topic:e}=ft;Ce.unsubscribe(e,a=>{if(a){console.error("MQTT Unsubscribe from "+t+" failed: "+a);return}})}async function Ut(t,e){let o=Ce.connected,r=0;for(;!o&&r<20;)console.warn("MQTT publish: Not connected. Waiting 0.1 seconds"),await ko(100),o=Ce.connected,r+=1;if(r<20)try{Ce.publish(t,e,{qos:0},l=>{l&&console.warn("MQTT publish error: ",l),console.info("MQTT publish: Message sent: ["+t+"]("+e+")")})}catch(l){console.warn("MQTT publish: caught error: "+l)}else console.error("MQTT publish: Lost connection to MQTT server. Please reload the page")}function Jt(){return va.clientId}function ko(t){return new Promise(e=>setTimeout(e,t))}class xo{constructor(e){v(this,"id");v(this,"name","Ladepunkt");v(this,"icon","Ladepunkt");v(this,"type","");v(this,"ev",0);v(this,"template",0);v(this,"connectedPhases",0);v(this,"phase_1",0);v(this,"autoPhaseSwitchHw",!1);v(this,"controlPilotInterruptionHw",!1);v(this,"isEnabled",!0);v(this,"isPluggedIn",!1);v(this,"isCharging",!1);v(this,"_isLocked",!1);v(this,"_connectedVehicle",0);v(this,"chargeTemplate",0);v(this,"evTemplate",0);v(this,"_chargeMode","pv_charging");v(this,"_hasPriority",!1);v(this,"currentPlan","");v(this,"averageConsumption",0);v(this,"vehicleName","");v(this,"rangeCharged",0);v(this,"rangeUnit","");v(this,"counter",0);v(this,"dailyYield",0);v(this,"energyPv",0);v(this,"energyBat",0);v(this,"pvPercentage",0);v(this,"faultState",0);v(this,"faultStr","");v(this,"phasesInUse",0);v(this,"power",0);v(this,"chargedSincePlugged",0);v(this,"stateStr","");v(this,"current",0);v(this,"currents",[0,0,0]);v(this,"phasesToUse",0);v(this,"isSocConfigured",!0);v(this,"isSocManual",!1);v(this,"waitingForSoc",!1);v(this,"color","white");v(this,"_timedCharging",!1);v(this,"_instantChargeLimitMode","");v(this,"_instantTargetCurrent",0);v(this,"_instantTargetSoc",0);v(this,"_instantMaxEnergy",0);v(this,"_pvFeedInLimit",!1);v(this,"_pvMinCurrent",0);v(this,"_pvMaxSoc",0);v(this,"_pvMinSoc",0);v(this,"_pvMinSocCurrent",0);v(this,"_etActive",!1);v(this,"_etMaxPrice",20);this.id=e}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked=e,ee("cpLock",e,this.id)}updateIsLocked(e){this._isLocked=e}get connectedVehicle(){return this._connectedVehicle}set connectedVehicle(e){this._connectedVehicle=e,ee("cpVehicle",e,this.id)}updateConnectedVehicle(e){this._connectedVehicle=e}get soc(){return Y[this.connectedVehicle]?Y[this.connectedVehicle].soc:0}set soc(e){Y[this.connectedVehicle]&&(Y[this.connectedVehicle].soc=e)}get chargeMode(){return this._chargeMode}set chargeMode(e){this._chargeMode=e,ee("chargeMode",e,this.id)}updateChargeMode(e){this._chargeMode=e}get hasPriority(){return this._hasPriority}set hasPriority(e){this._hasPriority=e,ee("cpPriority",e,this.id)}updateCpPriority(e){this._hasPriority=e}get timedCharging(){return ye[this.chargeTemplate]?ye[this.chargeTemplate].time_charging.active:!1}set timedCharging(e){ye[this.chargeTemplate].time_charging.active=e,ee("cpTimedCharging",e,this.chargeTemplate)}get instantTargetCurrent(){return this._instantTargetCurrent}set instantTargetCurrent(e){this._instantTargetCurrent=e,ee("cpInstantTargetCurrent",e,this.id)}updateInstantTargetCurrent(e){this._instantTargetCurrent=e}get instantChargeLimitMode(){return this._instantChargeLimitMode}set instantChargeLimitMode(e){this._instantChargeLimitMode=e,ee("cpInstantChargeLimitMode",e,this.id)}updateInstantChargeLimitMode(e){this._instantChargeLimitMode=e}get instantTargetSoc(){return this._instantTargetSoc}set instantTargetSoc(e){this._instantTargetSoc=e,ee("cpInstantTargetSoc",e,this.id)}updateInstantTargetSoc(e){this._instantTargetSoc=e}get instantMaxEnergy(){return this._instantMaxEnergy}set instantMaxEnergy(e){this._instantMaxEnergy=e,ee("cpInstantMaxEnergy",e,this.id)}updateInstantMaxEnergy(e){this._instantMaxEnergy=e}get pvFeedInLimit(){return this._pvFeedInLimit}set pvFeedInLimit(e){this._pvFeedInLimit=e,ee("cpPvFeedInLimit",e,this.id)}updatePvFeedInLimit(e){this._pvFeedInLimit=e}get pvMinCurrent(){return this._pvMinCurrent}set pvMinCurrent(e){this._pvMinCurrent=e,ee("cpPvMinCurrent",e,this.id)}updatePvMinCurrent(e){this._pvMinCurrent=e}get pvMaxSoc(){return this._pvMaxSoc}set pvMaxSoc(e){this._pvMaxSoc=e,ee("cpPvMaxSoc",e,this.id)}updatePvMaxSoc(e){this._pvMaxSoc=e}get pvMinSoc(){return this._pvMinSoc}set pvMinSoc(e){this._pvMinSoc=e,ee("cpPvMinSoc",e,this.id)}updatePvMinSoc(e){this._pvMinSoc=e}get pvMinSocCurrent(){return this._pvMinSocCurrent}set pvMinSocCurrent(e){this._pvMinSocCurrent=e,ee("cpPvMinSocCurrent",e,this.id)}updatePvMinSocCurrent(e){this._pvMinSocCurrent=e}get realCurrent(){switch(this.phasesInUse){case 0:return 0;case 1:return this.currents[0];case 2:return(this.currents[0]+this.currents[1])/2;case 3:return(this.currents[0]+this.currents[1]+this.currents[2])/3;default:return 0}}get etActive(){return Y[this.connectedVehicle]?Y[this.connectedVehicle].etActive:!1}set etActive(e){Y[this.connectedVehicle]&&(Y[this.connectedVehicle].etActive=e)}get etMaxPrice(){return Y[this.connectedVehicle].etMaxPrice??0}set etMaxPrice(e){console.log("Setting et max price needs to be implemented"),ee("cpEtMaxPrice",Math.round(e*10)/1e6,this.id)}toPowerItem(){return{name:this.name,power:this.power,energy:this.dailyYield,energyPv:this.energyPv,energyBat:this.energyBat,pvPercentage:this.pvPercentage,color:this.color,icon:this.icon,showInGraph:!0}}}class So{constructor(e){v(this,"id");v(this,"name","");v(this,"visible",!0);v(this,"_chargeTemplateId",0);v(this,"_evTemplateId",0);v(this,"tags",[]);v(this,"config",{});v(this,"soc",0);v(this,"range",0);v(this,"_etActive",!1);v(this,"_etMaxPrice",20);this.id=e}get chargeTemplateId(){return this._chargeTemplateId}set chargeTemplateId(e){this._chargeTemplateId=e,ee("vhChargeTemplateId",e,this.id)}updateChargeTemplateId(e){this._chargeTemplateId=e}get evTemplateId(){return this._evTemplateId}set evTemplateId(e){this._evTemplateId=e,ee("vhEvTemplateId",e,this.id)}updateEvTemplateId(e){this._evTemplateId=e}get etActive(){return ye[this.chargeTemplateId]?ye[this.chargeTemplateId].et.active:!1}set etActive(e){ye[this.chargeTemplateId]&&ee("priceCharging",e,this.chargeTemplateId)}get etMaxPrice(){if(ye[this.chargeTemplateId]&&ye[this.chargeTemplateId].et.active)return ye[this.chargeTemplateId].et.max_price*1e5}get chargepoint(){for(const e of Object.values(B))if(e.connectedVehicle==this.id)return e}}var fe=(t=>(t.instant_charging="instant_charging",t.pv_charging="pv_charging",t.scheduled_charging="scheduled_charging",t.standby="standby",t.stop="stop",t))(fe||{});const B=re({}),Y=re({}),ye=re({}),rt=re({}),it=re({}),Ft=re({});function $o(t){t in B||(B[t]=new xo(t),B[t].color="var(--color-cp"+(Object.values(B).length-1)+")")}function Mo(){Object.keys(B).forEach(t=>{delete B[parseInt(t)]})}const Co={cpLock:"openWB/set/chargepoint/%/set/manual_lock",chargeMode:"openWB/set/vehicle/template/charge_template/%/chargemode/selected",cpPriority:"openWB/set/vehicle/template/charge_template/%/prio",cpTimedCharging:"openWB/set/vehicle/template/charge_template/%/time_charging/active",pvBatteryPriority:"openWB/set/general/chargemode_config/pv_charging/bat_mode",cpVehicle:"openWB/set/chargepoint/%/config/ev",cpInstantChargeLimitMode:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/limit/selected",cpInstantTargetCurrent:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/current",cpInstantTargetSoc:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/limit/soc",cpInstantMaxEnergy:"openWB/set/vehicle/template/charge_template/%/chargemode/instant_charging/limit/amount",cpPvFeedInLimit:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/feed_in_limit",cpPvMinCurrent:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/min_current",cpPvMaxSoc:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/max_soc",cpPvMinSoc:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/min_soc",cpPvMinSocCurrent:"openWB/set/vehicle/template/charge_template/%/chargemode/pv_charging/min_soc_current",cpEtMaxPrice:"openWB/set/vehicle/template/charge_template/%/et/max_price",vhChargeTemplateId:"openWB/set/vehicle/%/charge_template",vhEvTemplateId:"openWB/set/vehicle/%/ev_template",shSetManual:"openWB/set/LegacySmartHome/config/set/Devices/%/mode",shSwitchOn:"openWB/set/LegacySmartHome/config/set/Devices/%/device_manual_control",socUpdate:"openWB/set/vehicle/%/get/force_soc_update",setSoc:"openWB/set/vehicle/%/soc_module/calculated_soc_state/manual_soc",priceCharging:"openWB/set/vehicle/template/charge_template/%/et/active"};function ee(t,e,a=0){if(isNaN(a)){console.warn("Invalid index");return}let o=Co[t];if(!o){console.warn("No topic for update type "+t);return}switch(t){case"chargeMode":case"cpPriority":case"cpScheduledCharging":case"cpInstantTargetCurrent":case"cpInstantChargeLimitMode":case"cpInstantTargetSoc":case"cpInstantMaxEnergy":case"cpPvFeedInLimit":case"cpPvMinCurrent":case"cpPvMaxSoc":case"cpPvMinSoc":case"cpEtMaxPrice":case"cpPvMinSocCurrent":o=o.replace("%",B[a].chargeTemplate.toString());break;default:o=o.replace("%",String(a))}switch(typeof e){case"number":Ut(o,JSON.stringify(+e));break;default:Ut(o,JSON.stringify(e))}}function qt(t){Ut("openWB/set/command/"+Jt()+"/todo",JSON.stringify(t))}class Io{constructor(){v(this,"batterySoc",0);v(this,"isBatteryConfigured",!0);v(this,"chargeMode","0");v(this,"_pvBatteryPriority","ev_mode");v(this,"displayLiveGraph",!0);v(this,"isEtEnabled",!0);v(this,"etMaxPrice",0);v(this,"etCurrentPrice",0);v(this,"cpDailyExported",0);v(this,"evuId",0);v(this,"etProvider","")}get pvBatteryPriority(){return this._pvBatteryPriority}set pvBatteryPriority(e){this._pvBatteryPriority=e,ee("pvBatteryPriority",e)}updatePvBatteryPriority(e){this._pvBatteryPriority=e}}class _a{constructor(e){v(this,"id");v(this,"name","Wechselrichter");v(this,"color","var(--color-pv)");v(this,"power",0);v(this,"energy",0);v(this,"energy_month",0);v(this,"energy_year",0);v(this,"energy_total",0);this.id=e}}const de=re({evuIn:{name:"Netz",color:"var(--color-evu)",icon:""},pv:{name:"PV",color:"var(--color-pv",icon:""},batOut:{name:"Bat >",color:"var(--color-battery)",icon:""},evuOut:{name:"Export",color:"var(--color-export)",icon:""},charging:{name:"Laden",color:"var(--color-charging)",icon:""},devices:{name:"Geräte",color:"var(--color-devices)",icon:""},batIn:{name:"> Bat",color:"var(--color-battery)",icon:""},house:{name:"Haus",color:"var(--color-house)",icon:""},cp1:{name:"Ladepunkt",color:"var(--color-cp1)",icon:"Ladepunkt"},cp2:{name:"Ladepunkt",color:"var(--color-cp2)",icon:"Ladepunkt"},cp3:{name:"Ladepunkt",color:"var(--color-cp3)",icon:"Ladepunkt"},cp4:{name:"Ladepunkt",color:"var(--color-cp4)",icon:"Ladepunkt"},cp5:{name:"Ladepunkt",color:"var(--color-cp5)",icon:"Ladepunkt"},cp6:{name:"Ladepunkt",color:"var(--color-cp6)",icon:"Ladepunkt"},cp7:{name:"Ladepunkt",color:"var(--color-cp7)",icon:"Ladepunkt"},cp8:{name:"Ladepunkt",color:"var(--color-cp8)",icon:"Ladepunkt"},sh1:{name:"Gerät",color:"var(--color-sh1)",icon:"Gerät"},sh2:{name:"Gerät",color:"var(--color-sh2)",icon:"Gerät"},sh3:{name:"Gerät",color:"var(--color-sh3)",icon:"Gerät"},sh4:{name:"Gerät",color:"var(--color-sh4)",icon:"Gerät"},sh5:{name:"Gerät",color:"var(--color-sh5)",icon:"Gerät"},sh6:{name:"Gerät",color:"var(--color-sh6)",icon:"Gerät"},sh7:{name:"Gerät",color:"var(--color-sh7)",icon:"Gerät"},sh8:{name:"Gerät",color:"var(--color-sh8)",icon:"Gerät"},sh9:{name:"Gerät",color:"var(--color-sh9)",icon:"Gerät"},pv1:{name:"PV",color:"var(--color-pv1)",icon:"Wechselrichter"},pv2:{name:"PV",color:"var(--color-pv2)",icon:"Wechselrichter"},pv3:{name:"PV",color:"var(--color-pv3)",icon:"Wechselrichter"},pv4:{name:"PV",color:"var(--color-pv4)",icon:"Wechselrichter"},pv5:{name:"PV",color:"var(--color-pv5)",icon:"Wechselrichter"},pv6:{name:"PV",color:"var(--color-pv6)",icon:"Wechselrichter"},pv7:{name:"PV",color:"var(--color-pv7)",icon:"Wechselrichter"},pv8:{name:"PV",color:"var(--color-pv8)",icon:"Wechselrichter"},pv9:{name:"PV",color:"var(--color-pv9)",icon:"Wechselrichter"},bat1:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat2:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat3:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat4:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat5:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat6:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat7:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat8:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"},bat9:{name:"Speicher",color:"var(--color-battery)",icon:"Speicher"}});class ya{constructor(){v(this,"_items",{});this.addItem("evuIn"),this.addItem("pv"),this.addItem("batOut"),this.addItem("evuOut"),this.addItem("charging"),this.addItem("devices"),this.addItem("batIn"),this.addItem("house")}get items(){return this._items}keys(){return Object.keys(this._items)}values(){return Object.values(this._items)}addItem(e){this._items[e]=ze(e)}setEnergy(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].energy=a}setEnergyPv(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].energyPv=a}setEnergyBat(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].energyBat=a}setPvPercentage(e,a){this.keys().includes(e)||this.addItem(e),this._items[e].pvPercentage=a}calculateHouseEnergy(){this._items.house.energy=this._items.evuIn.energy+this._items.pv.energy+this._items.batOut.energy-this._items.evuOut.energy-this._items.batIn.energy-this._items.charging.energy-this._items.devices.energy}}let O=re(new ya);function Yt(){O=new ya}const H=re({evuIn:ze("evuIn"),pv:ze("pv"),batOut:ze("batOut")}),G=re({evuOut:ze("evuOut"),charging:ze("charging"),devices:ze("devices"),batIn:ze("batIn"),house:ze("house")}),me=re(new Io);Z("");const _t=Z(!1);function ze(t){return{name:de[t]?de[t].name:"item",power:0,energy:0,energyPv:0,energyBat:0,pvPercentage:0,color:de[t]?de[t].color:"var(--color-charging)",icon:de[t]?de[t].icon:"",showInGraph:!0}}const Nt=Z(new Date),ke=Z(new Map),Po=t=>{ke.value.set(t,new _a(t)),ke.value.get(t).color=de["pv"+ke.value.size].color};class Bo{constructor(){v(this,"_showRelativeArcs",!1);v(this,"showTodayGraph",!0);v(this,"_graphPreference","today");v(this,"_usageStackOrder",0);v(this,"_displayMode","dark");v(this,"_showGrid",!1);v(this,"_smartHomeColors","normal");v(this,"_decimalPlaces",1);v(this,"_showQuickAccess",!0);v(this,"_simpleCpList",!1);v(this,"_shortCpList","no");v(this,"_showAnimations",!0);v(this,"_preferWideBoxes",!1);v(this,"_maxPower",4e3);v(this,"_fluidDisplay",!1);v(this,"_showClock","no");v(this,"_showButtonBar",!0);v(this,"_showCounters",!1);v(this,"_showVehicles",!1);v(this,"_showStandardVehicle",!0);v(this,"_showPrices",!1);v(this,"_showInverters",!1);v(this,"_debug",!1);v(this,"isEtEnabled",!1);v(this,"etPrice",20.5);v(this,"showRightButton",!0);v(this,"showLeftButton",!0);v(this,"animationDuration",300);v(this,"animationDelay",100);v(this,"zoomGraph",!1)}get showRelativeArcs(){return this._showRelativeArcs}set showRelativeArcs(e){this._showRelativeArcs=e,se()}setShowRelativeArcs(e){this._showRelativeArcs=e}get graphPreference(){return this._graphPreference}set graphPreference(e){this._graphPreference=e,se()}setGraphPreference(e){this._graphPreference=e}get usageStackOrder(){return this._usageStackOrder}set usageStackOrder(e){this._usageStackOrder=e,se()}setUsageStackOrder(e){this._usageStackOrder=e}get displayMode(){return this._displayMode}set displayMode(e){this._displayMode=e,Ao(e)}setDisplayMode(e){this._displayMode=e}get showGrid(){return this._showGrid}set showGrid(e){this._showGrid=e,se()}setShowGrid(e){this._showGrid=e}get decimalPlaces(){return this._decimalPlaces}set decimalPlaces(e){this._decimalPlaces=e,se()}setDecimalPlaces(e){this._decimalPlaces=e}get smartHomeColors(){return this._smartHomeColors}set smartHomeColors(e){this._smartHomeColors=e,oa(e),se()}setSmartHomeColors(e){this._smartHomeColors=e,oa(e)}get showQuickAccess(){return this._showQuickAccess}set showQuickAccess(e){this._showQuickAccess=e,se()}setShowQuickAccess(e){this._showQuickAccess=e}get simpleCpList(){return this._simpleCpList}set simpleCpList(e){this._simpleCpList=e,se()}setSimpleCpList(e){this._simpleCpList=e}get shortCpList(){return this._shortCpList}set shortCpList(e){this._shortCpList=e,se()}setShortCpList(e){this._shortCpList=e}get showAnimations(){return this._showAnimations}set showAnimations(e){this._showAnimations=e,se()}setShowAnimations(e){this._showAnimations=e}get preferWideBoxes(){return this._preferWideBoxes}set preferWideBoxes(e){this._preferWideBoxes=e,se()}setPreferWideBoxes(e){this._preferWideBoxes=e}get maxPower(){return this._maxPower}set maxPower(e){this._maxPower=e,se()}setMaxPower(e){this._maxPower=e}get fluidDisplay(){return this._fluidDisplay}set fluidDisplay(e){this._fluidDisplay=e,se()}setFluidDisplay(e){this._fluidDisplay=e}get showClock(){return this._showClock}set showClock(e){this._showClock=e,se()}setShowClock(e){this._showClock=e}get debug(){return this._debug}set debug(e){this._debug=e,se()}setDebug(e){this._debug=e}get showButtonBar(){return this._showButtonBar}set showButtonBar(e){this._showButtonBar=e,se()}setShowButtonBar(e){this._showButtonBar=e}get showCounters(){return this._showCounters}set showCounters(e){this._showCounters=e,se()}setShowCounters(e){this._showCounters=e}get showVehicles(){return this._showVehicles}set showVehicles(e){this._showVehicles=e,se()}setShowVehicles(e){this._showVehicles=e}get showStandardVehicle(){return this._showStandardVehicle}set showStandardVehicle(e){this._showStandardVehicle=e,Y[0].visible=e,se()}setShowStandardVehicle(e){this._showStandardVehicle=e}get showPrices(){return this._showPrices}set showPrices(e){this._showPrices=e,se()}setShowPrices(e){this._showPrices=e}get showInverters(){return this._showInverters}set showInverters(e){this._showInverters=e,se()}setShowInverters(e){this._showInverters=e}}const m=re(new Bo);function ba(){Do();const t=le("html");t.classed("theme-dark",m.displayMode=="dark"),t.classed("theme-light",m.displayMode=="light"),t.classed("theme-blue",m.displayMode=="blue"),t.classed("shcolors-standard",m.smartHomeColors=="standard"),t.classed("shcolors-advanced",m.smartHomeColors=="advanced"),t.classed("shcolors-normal",m.smartHomeColors=="normal")}const Vo=992,yt=re({x:document.documentElement.clientWidth,y:document.documentElement.clientHeight});function Lo(){yt.x=document.documentElement.clientWidth,yt.y=document.documentElement.clientHeight,ba()}const Ne=g(()=>yt.x>=Vo),pe={stop:{mode:fe.stop,name:"Stop",color:"var(--color-fg)",icon:"fa-power-off"},standby:{mode:fe.standby,name:"Standby",color:"var(--color-axis",icon:"fa-pause"},pv_charging:{mode:fe.pv_charging,name:"PV",color:"var(--color-pv",icon:"fa-solar-panel"},scheduled_charging:{mode:fe.scheduled_charging,name:"Zielladen",color:"var(--color-battery)",icon:"fa-bullseye"},instant_charging:{mode:fe.instant_charging,name:"Sofort",color:"var(--color-charging)",icon:"fa-bolt"}};function se(){To()}function Ao(t){const e=le("html");e.classed("theme-dark",t=="dark"),e.classed("theme-light",t=="light"),e.classed("theme-blue",t=="blue"),se()}function Oo(){m.maxPower=H.evuIn.power+H.pv.power+H.batOut.power,se()}function oa(t){const e=le("html");e.classed("shcolors-normal",t=="normal"),e.classed("shcolors-standard",t=="standard"),e.classed("shcolors-advanced",t=="advanced")}const We={chargemode:"Der Lademodus für das Fahrzeug an diesem Ladepunkt",vehicle:"Das Fahrzeug, das an diesem Ladepounkt geladen wird",locked:"Für das Laden sperren",priority:"Fahrzeuge mit Priorität werden bevorzugt mit mehr Leistung geladen, falls verfügbar",timeplan:"Das Laden nach Zeitplan für dieses Fahrzeug aktivieren",minsoc:"Immer mindestens bis zum eingestellten Ladestand laden. Wenn notwendig mit Netzstrom.",minpv:"Durchgehend mit mindestens dem eingestellten Strom laden. Wenn notwendig mit Netzstrom.",pricebased:"Laden bei dynamischem Stromtarif, wenn eingestellter Maximalpreis unterboten wird."};function To(){const t={};t.hideSH=[...ne.values()].filter(e=>!e.showInGraph).map(e=>e.id),t.showLG=m.graphPreference=="live",t.displayM=m.displayMode,t.stackO=m.usageStackOrder,t.showGr=m.showGrid,t.decimalP=m.decimalPlaces,t.smartHomeC=m.smartHomeColors,t.relPM=m.showRelativeArcs,t.maxPow=m.maxPower,t.showQA=m.showQuickAccess,t.simpleCP=m.simpleCpList,t.shortCP=m.shortCpList,t.animation=m.showAnimations,t.wideB=m.preferWideBoxes,t.fluidD=m.fluidDisplay,t.clock=m.showClock,t.showButtonBar=m.showButtonBar,t.showCounters=m.showCounters,t.showVehicles=m.showVehicles,t.showStandardV=m.showStandardVehicle,t.showPrices=m.showPrices,t.showInv=m.showInverters,t.debug=m.debug,document.cookie="openWBColorTheme="+JSON.stringify(t)+";max-age=16000000;samesite=strict"}function Do(){const e=document.cookie.split(";").filter(a=>a.split("=")[0]==="openWBColorTheme");if(e.length>0){const a=JSON.parse(e[0].split("=")[1]);a.decimalP!==void 0&&m.setDecimalPlaces(+a.decimalP),a.smartHomeC!==void 0&&m.setSmartHomeColors(a.smartHomeC),a.hideSH!==void 0&&a.hideSH.forEach(o=>{ne.get(o)==null&&Qt(o),ne.get(o).setShowInGraph(!1)}),a.showLG!==void 0&&m.setGraphPreference(a.showLG?"live":"today"),a.maxPow!==void 0&&m.setMaxPower(+a.maxPow),a.relPM!==void 0&&m.setShowRelativeArcs(a.relPM),a.displayM!==void 0&&m.setDisplayMode(a.displayM),a.stackO!==void 0&&m.setUsageStackOrder(a.stackO),a.showGr!==void 0&&m.setShowGrid(a.showGr),a.showQA!==void 0&&m.setShowQuickAccess(a.showQA),a.simpleCP!==void 0&&m.setSimpleCpList(a.simpleCP),a.shortCP!==void 0&&m.setShortCpList(a.shortCP),a.animation!=null&&m.setShowAnimations(a.animation),a.wideB!=null&&m.setPreferWideBoxes(a.wideB),a.fluidD!=null&&m.setFluidDisplay(a.fluidD),a.clock!=null&&m.setShowClock(a.clock),a.showButtonBar!==void 0&&m.setShowButtonBar(a.showButtonBar),a.showCounters!==void 0&&m.setShowCounters(a.showCounters),a.showVehicles!==void 0&&m.setShowVehicles(a.showVehicles),a.showStandardV!==void 0&&m.setShowStandardVehicle(a.showStandardV),a.showPrices!==void 0&&m.setShowPrices(a.showPrices),a.showInv!==void 0&&m.setShowInverters(a.showInv),a.debug!==void 0&&m.setDebug(a.debug)}}class Wo{constructor(e){v(this,"id");v(this,"name","Gerät");v(this,"power",0);v(this,"status","off");v(this,"energy",0);v(this,"runningTime",0);v(this,"configured",!1);v(this,"_showInGraph",!0);v(this,"color","white");v(this,"canSwitch",!1);v(this,"countAsHouse",!1);v(this,"energyPv",0);v(this,"energyBat",0);v(this,"pvPercentage",0);v(this,"tempConfigured",0);v(this,"temp",[300,300,300]);v(this,"on",!1);v(this,"isAutomatic",!0);v(this,"icon","");this.id=e}get showInGraph(){return this._showInGraph}set showInGraph(e){this._showInGraph=e,O.items["sh"+this.id].showInGraph=e,se()}setShowInGraph(e){this._showInGraph=e}}const ne=re(new Map);function Qt(t){ne.has(t)?console.info("Duplicate sh device message: "+t):(ne.set(t,new Wo(t)),ne.get(t).color="var(--color-sh"+ne.size+")")}const Go=["origin"],zo=V({__name:"PMSourceArc",props:{radius:{},cornerRadius:{},circleGapSize:{},emptyPower:{}},setup(t){const e=t,a=g(()=>{let o={name:"",power:e.emptyPower,energy:0,energyPv:0,energyBat:0,pvPercentage:0,color:"var(--color-bg)",icon:"",showInGraph:!0},r=H;r["zz-empty"]=o;const l=Object.values(H).length-1,d=pa().value(h=>h.power).startAngle(-Math.PI/2+e.circleGapSize).endAngle(Math.PI/2-e.circleGapSize).sort(null),u=ga().innerRadius(e.radius/6*5).outerRadius(e.radius).cornerRadius(e.cornerRadius).padAngle(0),c=le("g#pmSourceArc");return c.selectAll("*").remove(),c.selectAll("sources").data(d(Object.values(r))).enter().append("path").attr("d",u).attr("fill",h=>h.data.color).attr("stroke",(h,f)=>f==l?h.data.power>0?"var(--color-scale)":"null":h.data.color),"pmSourceArc.vue"});return Xa(()=>{let o=H.pv.power+H.evuIn.power+H.batOut.power;o>m.maxPower&&(m.maxPower=o)}),(o,r)=>(i(),p("g",{id:"pmSourceArc",origin:a.value},null,8,Go))}}),Eo=["origin"],jo=V({__name:"PMUsageArc",props:{radius:{},cornerRadius:{},circleGapSize:{},emptyPower:{}},setup(t){const e=t,a=g(()=>{let o={name:"",power:e.emptyPower,energy:0,energyPv:0,energyBat:0,pvPercentage:0,color:"var(--color-bg)",icon:"",showInGraph:!0};const r=[G.evuOut,G.charging].concat([...ne.values()].filter(h=>h.configured&&!h.countAsHouse).sort((h,f)=>f.power-h.power)).concat([G.batIn,G.house]).concat(o),l=r.length-1,d=pa().value(h=>h.power).startAngle(Math.PI*1.5-e.circleGapSize).endAngle(Math.PI/2+e.circleGapSize).sort(null),u=ga().innerRadius(e.radius/6*5).outerRadius(e.radius).cornerRadius(e.cornerRadius),c=le("g#pmUsageArc");return c.selectAll("*").remove(),c.selectAll("consumers").data(d(r)).enter().append("path").attr("d",u).attr("fill",h=>h.data.color).attr("stroke",(h,f)=>f==l?h.data.power>0?"var(--color-scale)":"null":h.data.color),"pmUsageArc.vue"});return(o,r)=>(i(),p("g",{id:"pmUsageArc",origin:a.value},null,8,Eo))}});function xe(t,e=1){let a;if(t>=1e3&&e<4){switch(e){case 0:a=Math.round(t/1e3);break;case 1:a=Math.round(t/100)/10;break;case 2:a=Math.round(t/10)/100;break;case 3:a=Math.round(t)/1e3;break;default:a=Math.round(t/100)/10;break}return(a==null?void 0:a.toLocaleString(void 0,{minimumFractionDigits:e}))+" kW"}else return Math.round(t).toLocaleString(void 0)+" W"}function ct(t,e=1,a=!1){let o;if(t>1e6&&(a=!0,t=t/1e3),t>=1e3&&e<4){switch(e){case 0:o=Math.round(t/1e3);break;case 1:o=(Math.round(t/100)/10).toFixed(1);break;case 2:o=(Math.round(t/10)/100).toFixed(2);break;case 3:o=(Math.round(t)/1e3).toFixed(3);break;default:o=Math.round(t/100)/10;break}return o.toLocaleString(void 0,{minimumFractionDigits:e})+(a?" MWh":" kWh")}else return Math.round(t).toLocaleString(void 0)+(a?" kWh":" Wh")}function Uo(t){const e=Math.floor(t/3600),a=(t%3600/60).toFixed(0);return e>0?e+"h "+a+" min":a+" min"}function wa(t){return t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}function Fo(t,e){return["Jan","Feb","März","April","Mai","Juni","Juli","Aug","Sep","Okt","Nov","Dez"][t]+" "+e}function No(t){return t!=999?(Math.round(t*10)/10).toLocaleString(void 0,{minimumFractionDigits:1})+"°":"-"}const ht=V({__name:"FormatWatt",props:{watt:{}},setup(t){const e=t,a=g(()=>xe(e.watt,m.decimalPlaces));return(o,r)=>$(a.value)}}),Ho={key:0,id:"pmLabel"},Ro=["x","y","fill","text-anchor"],Jo=22,Ve=V({__name:"PMLabel",props:{x:{},y:{},data:{},props:{},anchor:{},labeltext:{},labelicon:{},labelcolor:{}},setup(t){const e=t,a=g(()=>e.labeltext?e.labeltext:e.props?e.props.icon+" ":e.labelicon?e.labelicon+" ":""),o=g(()=>e.labelcolor?e.labelcolor:e.props?e.props.color:""),r=g(()=>!e.data||e.data.power>0),l=g(()=>e.labeltext?"":"fas");return(d,u)=>r.value?(i(),p("g",Ho,[n("text",{x:d.x,y:d.y,fill:o.value,"text-anchor":d.anchor,"font-size":Jo,class:"pmLabel"},[n("tspan",{class:j(l.value)},$(a.value),3),n("tspan",null,[d.data!==void 0?(i(),M(ht,{key:0,watt:d.data.power},null,8,["watt"])):b("",!0)])],8,Ro)])):b("",!0)}}),qo={class:"wb-widget p-0 m-0 shadow"},Yo={class:"d-flex justify-content-between"},Qo={class:"m-4 me-0 mb-0"},Zo=n("div",{class:"p-0"},"(title goes here)",-1),Xo={class:"p-4 pb-0 ps-0 m-0",style:{"text-align":"right"}},Ko={class:"px-4 pt-4 pb-2 wb-subwidget"},en={class:"row"},tn={class:"col m-0 p-0"},an={class:"container-fluid m-0 p-0"},on={key:0},nn=n("hr",null,null,-1),sn={class:"px-4 py-2 wb-subwidget"},rn={class:"row"},ln={class:"col"},cn={class:"container-fluid m-0 p-0"},xt=V({__name:"WBWidget",props:{variableWidth:{type:Boolean},fullWidth:{type:Boolean}},setup(t){const e=t,a=g(()=>e.fullWidth?"col-12":e.variableWidth&&m.preferWideBoxes?"col-lg-6":"col-lg-4");return(o,r)=>(i(),p("div",{class:j(["p-2 m-0 d-flex",a.value])},[n("div",qo,[n("div",Yo,[n("h3",Qo,[he(o.$slots,"title",{},()=>[Zo]),he(o.$slots,"subtitle")]),n("div",Xo,[he(o.$slots,"buttons")])]),n("div",Ko,[n("div",en,[n("div",tn,[n("div",an,[he(o.$slots,"default")])])])]),o.$slots.footer!=null?(i(),p("div",on,[nn,n("div",sn,[n("div",rn,[n("div",ln,[n("div",cn,[he(o.$slots,"footer")])])])])])):b("",!0)])],2))}});class dn{constructor(){v(this,"active",!1);v(this,"etPriceList",new Map);v(this,"etProvider","");v(this,"etMaxPrice",0)}get etCurrentPriceString(){const[e]=te.etPriceList.values();return(Math.round(e*10)/10).toFixed(1)+" ct"}}const te=re(new dn),un={id:"powermeter",class:"p-0 m-0"},hn=["viewBox"],pn=["transform"],gn=["x"],Te=500,De=20,na=1,mn=V({__name:"PowerMeter",setup(t){const e=Te,a=Math.PI/40,o=[[4],[4,6],[1,4,6],[0,2,4,6],[0,2,3,5,6]],r=[{x:-85,y:e/2*1/5},{x:0,y:e/2*1/5},{x:85,y:e/2*1/5},{x:-85,y:e/2*2/5},{x:0,y:e/2*2/5},{x:85,y:e/2*2/5},{x:0,y:e/2*3/5}],l=g(()=>Te/2-De),d=g(()=>{let T="",D=Object.values(H).filter(q=>q.power>0);return D.length==1&&D[0].name=="PV"?T="Aktueller Verbrauch: ":T="Bezug/Verbrauch: ",T+xe(G.house.power+G.charging.power+G.devices.power+G.batIn.power,m.decimalPlaces)}),u=g(()=>{let T=H.pv.power+H.evuIn.power+H.batOut.power;return m.maxPower>T?xe(m.maxPower,m.decimalPlaces):xe(T,m.decimalPlaces)}),c=g(()=>Object.values(B)),h=g(()=>{let T=0;return m.showRelativeArcs&&(T=m.maxPower-(H.pv.power+H.evuIn.power+H.batOut.power)),T<0?0:T}),f=g(()=>[G.evuOut,G.charging,G.devices,G.batIn,G.house].filter(T=>T.power>0)),C=g(()=>o[f.value.length-1]);function R(T){return r[C.value[T]]}function I(T){return Math.round(c.value[T].soc)}function L(T){return T.length>12?T.slice(0,12-1)+".":T}const E=g(()=>{const[T]=te.etPriceList.values();return Math.round(T*10)/10});return(T,D)=>(i(),M(xt,{"full-width":!0},{title:w(()=>[N(" Aktuelle Leistung ")]),default:w(()=>[n("figure",un,[(i(),p("svg",{viewBox:"0 0 "+Te+" "+s(e)},[n("g",{transform:"translate("+Te/2+","+s(e)/2+")"},[y(zo,{radius:l.value,"corner-radius":na,"circle-gap-size":a,"empty-power":h.value},null,8,["radius","empty-power"]),y(jo,{"sh-device":s(ne),radius:l.value,"corner-radius":na,"circle-gap-size":a,"empty-power":h.value},null,8,["sh-device","radius","empty-power"]),y(Ve,{x:0,y:-s(e)/10*2,data:s(H).pv,props:s(de).pv,anchor:"middle",config:s(m)},null,8,["y","data","props","config"]),y(Ve,{x:0,y:-s(e)/10*3,data:s(H).evuIn,props:s(de).evuIn,anchor:"middle",config:s(m)},null,8,["y","data","props","config"]),y(Ve,{x:0,y:-s(e)/10,data:s(H).batOut,props:s(de).batOut,anchor:"middle",config:s(m)},null,8,["y","data","props","config"]),s(te).active?(i(),M(Ve,{key:0,x:0,y:-s(e)/10,data:s(H).batOut,props:s(de).batOut,anchor:"middle",config:s(m)},null,8,["y","data","props","config"])):b("",!0),(i(!0),p(z,null,X(f.value,(q,P)=>(i(),M(Ve,{key:P,x:R(P).x,y:R(P).y,data:q,labelicon:q.icon,labelcolor:q.color,anchor:"middle",config:s(m)},null,8,["x","y","data","labelicon","labelcolor","config"]))),128)),c.value.length>0&&s(Y)[c.value[0].connectedVehicle]?(i(),M(Ve,{key:1,x:-Te/2-De/4+10,y:-s(e)/2+De+5,labeltext:L(s(Y)[c.value[0].connectedVehicle].name)+": "+I(0)+"%",labelcolor:c.value[0].color,anchor:"start",config:s(m)},null,8,["x","y","labeltext","labelcolor","config"])):b("",!0),c.value.length>1&&s(Y)[c.value[1].connectedVehicle]?(i(),M(Ve,{key:2,x:Te/2+De/4-10,y:-s(e)/2+De+5,labeltext:L(s(Y)[c.value[1].connectedVehicle].name)+": "+I(1)+"%",labelcolor:c.value[1].color,anchor:"end",config:s(m)},null,8,["x","y","labeltext","labelcolor","config"])):b("",!0),s(me).batterySoc>0?(i(),M(Ve,{key:3,x:-Te/2-De/4+10,y:s(e)/2-De+15,labeltext:"Speicher: "+s(me).batterySoc+"%",labelcolor:s(G).batIn.color,anchor:"start",config:s(m)},null,8,["x","y","labeltext","labelcolor","config"])):b("",!0),s(te).active?(i(),M(Ve,{key:4,x:Te/2+De/4-10,y:s(e)/2-De+15,value:E.value,labeltext:s(te).etCurrentPriceString,labelcolor:"var(--color-charging)",anchor:"end",config:s(m)},null,8,["x","y","value","labeltext","config"])):b("",!0),y(Ve,{x:0,y:0,labeltext:d.value,labelcolor:"var(--color-fg)",anchor:"middle",config:s(m)},null,8,["labeltext","config"]),s(m).showRelativeArcs?(i(),p("text",{key:5,x:Te/2-44,y:"2","text-anchor":"middle",fill:"var(--color-axis)","font-size":"12"}," Peak: "+$(u.value),9,gn)):b("",!0)],8,pn)],8,hn))])]),_:1}))}}),_e=500,$e=500,W={top:15,right:20,bottom:10,left:25},Zt=["charging","house","batIn","devices"];class vn{constructor(){v(this,"data",[]);v(this,"_graphMode","");v(this,"waitForData",!0)}get graphMode(){return this._graphMode}set graphMode(e){this._graphMode=e}}const _=re(new vn),ka=Z(Ka),He=g(()=>[0,_e-W.left-2*W.right].map(t=>ka.value.applyX(t)));let bt=!0,dt=!0;function sa(){bt=!1}function ra(){dt=!1}function fn(t){dt=t}function pt(t){_.data=t,_.waitForData=!1}const ue=re({refreshTopicPrefix:"openWB/graph/alllivevaluesJson",updateTopic:"openWB/graph/lastlivevaluesJson",configTopic:"openWB/graph/config/#",initialized:!1,initCounter:0,graphRefreshCounter:0,rawDataPacks:[],duration:0,activate(t){this.unsubscribeUpdates(),this.subscribeRefresh(),t&&(_.data=[]),_.waitForData=!0,Re(this.configTopic),this.initialized=!1,this.initCounter=0,this.graphRefreshCounter=0,this.rawDataPacks=[],kn(),_t.value=!0},deactivate(){this.unsubscribeRefresh(),this.unsubscribeUpdates(),et(this.configTopic)},subscribeRefresh(){for(let t=1;t<17;t++)Re(this.refreshTopicPrefix+t)},unsubscribeRefresh(){for(let t=1;t<17;t++)et(this.refreshTopicPrefix+t)},subscribeUpdates(){Re(this.updateTopic)},unsubscribeUpdates(){et(this.updateTopic)}}),ie=re({topic:"openWB/log/daily/#",date:new Date,activate(t){if(_.graphMode=="day"||_.graphMode=="today"){_.graphMode=="today"&&(this.date=new Date);const e=this.date.getFullYear().toString()+(this.date.getMonth()+1).toString().padStart(2,"0")+this.date.getDate().toString().padStart(2,"0");this.topic="openWB/log/daily/"+e,Re(this.topic),t&&(_.data=[]),_.waitForData=!0,qt({command:"getDailyLog",data:{day:e}})}},deactivate(){et(this.topic)},back(){this.date=new Date(this.date.setTime(this.date.getTime()-864e5))},forward(){this.date=new Date(this.date.setTime(this.date.getTime()+864e5))},setDate(t){this.date=t},getDate(){return this.date}}),Le=re({topic:"openWB/log/monthly/#",month:new Date().getMonth()+1,year:new Date().getFullYear(),activate(t){const e=this.year.toString()+this.month.toString().padStart(2,"0");_.data=[],Re(this.topic),t&&(_.data=[]),_.waitForData=!0,qt({command:"getMonthlyLog",data:{month:e}})},deactivate(){et(this.topic)},back(){this.month-=1,this.month<1&&(this.month=12,this.year-=1),this.activate()},forward(){const t=new Date;t.getFullYear()==this.year?this.month-112&&(this.month=1,this.year+=1)),this.activate()},getDate(){return new Date(this.year,this.month)}}),Ue=re({topic:"openWB/log/yearly/#",month:new Date().getMonth()+1,year:new Date().getFullYear(),activate(t){const e=this.year.toString();Re(this.topic),t&&(_.data=[]),_.waitForData=!0,qt({command:"getYearlyLog",data:{year:e}})},deactivate(){et(this.topic)},back(){this.year-=1,this.activate()},forward(){this.year0&&(O.items[t].energyPv+=1e3/12*(e[t]*(e.pv-e.evuOut))/(e.pv-e.evuOut+e.evuIn+e.batOut),O.items[t].energyBat+=1e3/12*(e[t]*e.batOut)/(e.pv-e.evuOut+e.evuIn+e.batOut))}function bn(t,e){e[t]>0&&(O.items[t].energyPv+=1e3*(e[t]*(e.pv-e.evuOut))/(e.pv-e.evuOut+e.evuIn+e.batOut),O.items[t].energyBat+=1e3*(e[t]*e.batOut)/(e.pv-e.evuOut+e.evuIn+e.batOut))}const wn=["evuIn","pv","batOut","evuOut"],lt=Z(!1);function Xt(t,e){Object.entries(t).length>0?(lt.value=!1,Object.entries(t.counter).forEach(([a,o])=>{(e.length==0||e.includes(a))&&(O.items.evuIn.energy+=o.energy_imported,O.items.evuOut.energy+=o.energy_exported)}),O.items.pv.energy=t.pv.all.energy_exported,t.bat.all&&(O.items.batIn.energy=t.bat.all.energy_imported,O.items.batOut.energy=t.bat.all.energy_exported),Object.entries(t.cp).forEach(([a,o])=>{a=="all"?(O.setEnergy("charging",o.energy_imported),o.energy_imported_pv!=null&&(O.setEnergyPv("charging",o.energy_imported_pv),O.setEnergyBat("charging",o.energy_imported_bat))):O.setEnergy(a,o.energy_imported)}),O.setEnergy("devices",0),Object.entries(t.sh).forEach(([a,o])=>{O.setEnergy(a,o.energy_imported);const r=a.substring(2);ne.get(+r).countAsHouse||(O.items.devices.energy+=o.energy_imported)}),t.hc&&t.hc.all?(O.setEnergy("house",t.hc.all.energy_imported),t.hc.all.energy_imported_pv!=null&&(O.setEnergyPv("house",t.hc.all.energy_imported_pv),O.setEnergyBat("house",t.hc.all.energy_imported_bat))):O.calculateHouseEnergy(),O.keys().forEach(a=>{wn.includes(a)||(O.setPvPercentage(a,Math.round((O.items[a].energyPv+O.items[a].energyBat)/O.items[a].energy*100)),Zt.includes(a)&&(G[a].energy=O.items[a].energy,G[a].energyPv=O.items[a].energyPv,G[a].energyBat=O.items[a].energyBat,G[a].pvPercentage=O.items[a].pvPercentage))}),_.graphMode=="today"&&(Object.values(B).forEach(a=>{const o=O.items["cp"+a.id];o&&(a.energyPv=o.energyPv,a.energyBat=o.energyBat,a.pvPercentage=o.pvPercentage)}),ne.forEach(a=>{const o=O.items["sh"+a.id];o&&(a.energy=o.energy,a.energyPv=o.energyPv,a.energyBat=o.energyBat,a.pvPercentage=o.pvPercentage)}))):lt.value=!0,_t.value=!0}const Ie=g(()=>{const t=Pe(_.data,e=>new Date(e.date));return t[0]&&t[1]?Et().domain(t).range([0,_e-W.left-2*W.right]):qe().range([0,0])});function kn(){O.keys().forEach(t=>{Zt.includes(t)&&(G[t].energy=O.items[t].energy,G[t].energyPv=0,G[t].energyBat=0,G[t].pvPercentage=0)}),Object.values(B).forEach(t=>{t.energyPv=0,t.energyBat=0,t.pvPercentage=0}),ne.forEach(t=>{t.energyPv=0,t.energyBat=0,t.pvPercentage=0})}const Fe=g(()=>{const t=Pe(_.data,e=>e.date);return t[1]?jt().domain(Array.from({length:t[1]},(e,a)=>a+1)).paddingInner(.4).range([0,_e-W.left-2]):jt().range([0,0])});function Kt(){switch(_.graphMode){case"live":_.graphMode="today",m.showRightButton=!0,ge();break;case"today":_.graphMode="day",ie.deactivate(),ie.back(),ie.activate(),ge();break;case"day":ie.back(),ge();break;case"month":Le.back();break;case"year":Ue.back();break}}function xa(){const t=new Date;switch(_.graphMode){case"live":break;case"today":_.graphMode="live",m.showRightButton=!1,ge();break;case"day":ie.forward(),ie.date.getDate()==t.getDate()&&ie.date.getMonth()==t.getMonth()&&ie.date.getFullYear()==t.getFullYear()&&(_.graphMode="today"),ge();break;case"month":Le.forward();break;case"year":Ue.forward();break}}function Sa(){switch(_.graphMode){case"live":Kt();break;case"day":case"today":_.graphMode="month",ge();break;case"month":_.graphMode="year",ge();break}}function $a(){switch(_.graphMode){case"year":_.graphMode="month",ge();break;case"month":_.graphMode="today",ge();break;case"today":case"day":_.graphMode="live",ge();break}}function ia(t){if(_.graphMode=="day"||_.graphMode=="today"){ie.setDate(t);const e=new Date;ie.date.getDate()==e.getDate()&&ie.date.getMonth()==e.getMonth()&&ie.date.getFullYear()==e.getFullYear()?_.graphMode="today":_.graphMode="day",ge()}}const Ge=Z(new Map),xn=["origin","origin2","transform"],Sn=V({__name:"PGSourceGraph",props:{width:{},height:{},margin:{}},setup(t){const e=t,a={house:"var(--color-house)",batIn:"var(--color-battery)",inverter:"var(--color-pv)",batOut:"var(--color-battery)",selfUsage:"var(--color-pv)",evuOut:"var(--color-export)",evuIn:"var(--color-evu)"};var o,r;const l=m.showAnimations?m.animationDuration:0,d=m.showAnimations?m.animationDelay:0,u=g(()=>{const k=le("g#pgSourceGraph");if(_.data.length>0){_.graphMode=="month"||_.graphMode=="year"?q(k,Fe.value):D(k,Ie.value),k.selectAll(".axis").remove();const x=k.append("g").attr("class","axis");x.call(L.value),x.selectAll(".tick").attr("font-size",12),x.selectAll(".tick line").attr("stroke",T.value).attr("stroke-width",E.value),x.select(".domain").attr("stroke","var(--color-bg)")}return"pgSourceGraph.vue"}),c=g(()=>ma().value((k,x)=>k[x]??0).keys(C.value)),h=g(()=>c.value(_.data)),f=g(()=>Ye().range([e.height-10,0]).domain(_.graphMode=="year"?[0,Math.ceil(R.value[1]*10)/10]:[0,Math.ceil(R.value[1])])),C=g(()=>{if(_.graphMode!="today"&&_.graphMode!="day")return["evuIn","batOut","selfUsage","evuOut"];if(m.showInverters){const k=["batOut","evuIn"],x=/pv\d+/;let S=[];return _.data.length>0&&(S=Object.keys(_.data[0]).reduce((A,K)=>(K.match(x)&&A.push(K),A),[])),S.forEach((A,K)=>{a[A]="var(--color-pv"+(K+1)+")"}),[...S,...k]}else return["selfUsage","evuOut","batOut","evuIn"]}),R=g(()=>{let k=Pe(_.data,x=>Math.max(x.pv+x.evuIn+x.batOut,x.selfUsage+x.evuOut));return k[0]!=null&&k[1]!=null?(_.graphMode=="year"&&(k[0]=k[0]/1e3,k[1]=k[1]/1e3),k):[0,0]}),I=g(()=>_.graphMode=="month"||_.graphMode=="year"?-e.width-e.margin.right-22:-e.width),L=g(()=>ut(f.value).tickSizeInner(I.value).ticks(4).tickFormat(k=>(k==0?"":Math.round(k*10)/10).toLocaleString(void 0))),E=g(()=>m.showGrid?"0.5":"1"),T=g(()=>m.showGrid?"var(--color-grid)":"var(--color-bg)");function D(k,x){const S=Ke().x((K,we)=>x(_.data[we].date)).y(f.value(0)),A=Ke().x((K,we)=>x(_.data[we].date)).y0(K=>f.value(_.graphMode=="year"?K[0]/1e3:K[0])).y1(K=>f.value(_.graphMode=="year"?K[1]/1e3:K[1]));bt?(k.selectAll("*").remove(),o=k.selectAll(".sourceareas").data(h.value).enter().append("path").attr("fill",(K,we)=>a[C.value[we]]).attr("d",K=>S(K)),o.transition().duration(l).delay(d).ease(nt).attr("d",K=>A(K)),sa()):o.data(h.value).transition().duration(0).ease(nt).attr("d",K=>A(K))}function q(k,x){_.data.length>0&&(bt?(k.selectAll("*").remove(),r=k.selectAll(".sourcebar").data(h.value).enter().append("g").attr("fill",(S,A)=>a[C.value[A]]).selectAll("rect").data(S=>S).enter().append("rect").attr("x",(S,A)=>x(_.data[A].date)??0).attr("y",()=>f.value(0)).attr("height",0).attr("width",x.bandwidth()),r.transition().duration(l).delay(d).ease(nt).attr("height",S=>_.graphMode=="year"?f.value(S[0]/1e3)-f.value(S[1]/1e3):f.value(S[0])-f.value(S[1])).attr("y",S=>_.graphMode=="year"?f.value(S[1]/1e3):f.value(S[1])),sa()):(k.selectAll("*").remove(),r=k.selectAll(".sourcebar").data(h.value).enter().append("g").attr("fill",(S,A)=>a[C.value[A]]).selectAll("rect").data(S=>S).enter().append("rect").attr("x",(S,A)=>x(_.data[A].date)??0).attr("y",S=>_.graphMode=="year"?f.value(S[1]/1e3):f.value(S[1])).attr("width",x.bandwidth()).attr("height",S=>_.graphMode=="year"?f.value(S[0]/1e3)-f.value(S[1]/1e3):f.value(S[0])-f.value(S[1]))))}const P=g(()=>{const k=le("g#pgSourceGraph");if(_.graphMode!="month"&&_.graphMode!="year"&&_.data.length>0){Ie.value.range(He.value);const x=Ke().x((S,A)=>Ie.value(_.data[A].date)).y0(S=>f.value(S[0])).y1(S=>f.value(S[1]));k.selectAll("path").attr("d",S=>S?x(S):""),k.selectAll("g#sourceToolTips").select("rect").attr("x",S=>Ie.value(S.date)).attr("width",e.width/_.data.length)}return"zoomed"});return(k,x)=>(i(),p("g",{id:"pgSourceGraph",origin:u.value,origin2:P.value,transform:"translate("+k.margin.left+","+k.margin.top+")"},null,8,xn))}}),$n=["origin","origin2","transform"],Mn=V({__name:"PGUsageGraph",props:{width:{},height:{},margin:{},stackOrder:{}},setup(t){const e=t,a=[["house","charging","devices","batIn"],["charging","devices","house","batIn"],["devices","charging","house","batIn"]],o={house:"var(--color-house)",charging:"var(--color-charging)",batIn:"var(--color-battery)",batOut:"var(--color-battery)",selfUsage:"var(--color-pv)",evuOut:"var(--color-export)",evuIn:"var(--color-evu)",cp0:"var(--color-cp0)",cp1:"var(--color-cp1)",cp2:"var(--color-cp2)",cp3:"var(--color-cp3)",sh1:"var(--color-sh1)",sh2:"var(--color-sh2)",sh3:"var(--color-sh3)",sh4:"var(--color-sh4)",devices:"var(--color-devices)"};var r,l;const d=m.showAnimations?m.animationDuration:0,u=m.showAnimations?m.animationDelay:0,c=g(()=>{const P=le("g#pgUsageGraph");_.graphMode=="month"||_.graphMode=="year"?D(P):T(P),P.selectAll(".axis").remove();const k=P.append("g").attr("class","axis");return k.call(E.value),k.selectAll(".tick").attr("font-size",12).attr("color","var(--color-axis)"),m.showGrid?k.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"):k.selectAll(".tick line").attr("stroke","var(--color-bg)"),k.select(".domain").attr("stroke","var(--color-bg)"),"pgUsageGraph.vue"}),h=g(()=>ma().value((P,k)=>P[k]??0).keys(R.value)),f=g(()=>h.value(_.data)),C=g(()=>Ye().range([e.height+10,2*e.height]).domain(_.graphMode=="year"?[0,Math.ceil(I.value[1]*10)/10]:[0,Math.ceil(I.value[1])])),R=g(()=>{if(_.graphMode!="today"&&_.graphMode!="day")return a[e.stackOrder];{const P=a[e.stackOrder].slice(),k=P.indexOf("charging");P.splice(k,1);const x=/cp\d+/;let S=[];return _.data.length>0&&(S=Object.keys(_.data[0]).reduce((A,K)=>(K.match(x)&&A.push(K),A),[])),S.forEach((A,K)=>{P.splice(k+K,0,A),o[A]="var(--color-cp"+K+")"}),m.showInverters&&P.push("evuOut"),P}}),I=g(()=>{let P=Pe(_.data,k=>k.house+k.charging+k.batIn+k.devices+k.evuOut);return P[0]!=null&&P[1]!=null?(_.graphMode=="year"&&(P[0]=P[0]/1e3,P[1]=P[1]/1e3),P):[0,0]}),L=g(()=>_.graphMode=="month"||_.graphMode=="year"?-e.width-e.margin.right-22:-e.width),E=g(()=>ut(C.value).tickSizeInner(L.value).ticks(4).tickFormat(P=>(P==0?"":Math.round(P*10)/10).toLocaleString(void 0)));function T(P){const k=Ke().x((S,A)=>Ie.value(_.data[A].date)).y(C.value(0)),x=Ke().x((S,A)=>Ie.value(_.data[A].date)).y0(S=>C.value(S[0])).y1(S=>C.value(S[1]));m.showAnimations?dt?(P.selectAll("*").remove(),r=P.selectAll(".usageareas").data(f.value).enter().append("path").attr("d",S=>k(S)).attr("fill",(S,A)=>o[R.value[A]]),r.transition().duration(300).delay(100).ease(nt).attr("d",S=>x(S)),ra()):(P.selectAll("*").remove(),P.selectAll(".usageareas").data(f.value).enter().append("path").attr("d",S=>x(S)).attr("fill",(S,A)=>o[R.value[A]])):(P.selectAll("*").remove(),P.selectAll(".usageareas").data(f.value).enter().append("path").attr("d",S=>x(S)).attr("fill",(S,A)=>o[R.value[A]]))}function D(P){dt?(P.selectAll("*").remove(),l=P.selectAll(".usagebar").data(f.value).enter().append("g").attr("fill",(k,x)=>o[a[e.stackOrder][x]]).selectAll("rect").data(k=>k).enter().append("rect").attr("x",(k,x)=>Fe.value(_.data[x].date)??0).attr("y",()=>C.value(0)).attr("height",0).attr("width",Fe.value.bandwidth()),l.transition().duration(d).delay(u).ease(nt).attr("y",k=>_.graphMode=="year"?C.value(k[0]/1e3):C.value(k[0])).attr("height",k=>_.graphMode=="year"?C.value(k[1]/1e3)-C.value(k[0]/1e3):C.value(k[1])-C.value(k[0])),ra()):(P.selectAll("*").remove(),l=P.selectAll(".usagebar").data(f.value).enter().append("g").attr("fill",(k,x)=>o[a[e.stackOrder][x]]).selectAll("rect").data(k=>k).enter().append("rect").attr("x",(k,x)=>Fe.value(_.data[x].date)??0).attr("y",k=>_.graphMode=="year"?C.value(k[0]/1e3):C.value(k[0])).attr("height",k=>_.graphMode=="year"?C.value(k[1]/1e3)-C.value(k[0]/1e3):C.value(k[1])-C.value(k[0])).attr("width",Fe.value.bandwidth()))}const q=g(()=>{const P=le("g#pgUsageGraph");if(_.graphMode!="month"&&_.graphMode!="year"){Ie.value.range(He.value);const k=Ke().x((x,S)=>Ie.value(_.data[S].date)).y0(x=>C.value(x[0])).y1(x=>C.value(x[1]));P.selectAll("path").attr("d",x=>x?k(x):"")}return"zoomed"});return(P,k)=>(i(),p("g",{id:"pgUsageGraph",origin:c.value,origin2:q.value,transform:"translate("+P.margin.left+","+P.margin.top+")"},null,8,$n))}}),Cn=["transform"],In=["origin","origin2","transform"],Pn=["origin","transform"],Bn={key:0},Vn=["width","height"],Ln={key:1},An=["y","width","height"],Ct=12,On=V({__name:"PGXAxis",props:{width:{},height:{},margin:{}},setup(t){const e=t,a=g(()=>st(Ie.value).ticks(6).tickSizeInner(d.value).tickFormat(tt("%H:%M"))),o=g(()=>eo(Ie.value).ticks(6).tickSizeInner(d.value+3).tickFormat(tt(""))),r=g(()=>st(Fe.value).ticks(4).tickSizeInner(d.value).tickFormat(f=>f.toString())),l=g(()=>st(Fe.value).ticks(4).tickSizeInner(d.value).tickFormat(()=>"")),d=g(()=>_.graphMode!=="month"&&_.graphMode!=="year"?m.showGrid?-(e.height/2-7):-10:0),u=g(()=>{let f=le("g#PGXAxis");return f.selectAll("*").remove(),_.graphMode=="month"||_.graphMode=="year"?f.call(r.value):f.call(a.value),f.selectAll(".tick > text").attr("fill",(C,R)=>R>=0||_.graphMode=="month"||_.graphMode=="year"?"var(--color-axis)":"var(--color-bg)").attr("font-size",Ct),m.showGrid?f.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"):f.selectAll(".tick line").attr("stroke","var(--color-bg)"),f.select(".domain").attr("stroke","var(--color-bg)"),f.append("text").attr("x",-e.margin.left).attr("y",12).attr("fill","var(--color-axis)").attr("font-size",Ct).text(_.graphMode=="year"?"MW":"kW").attr("text-anchor","start"),"PGXAxis.vue"}),c=g(()=>{let f=le("g#PGXAxis2");return f.selectAll("*").remove(),_.graphMode=="month"||_.graphMode=="year"?f.call(l.value):f.call(o.value),f.selectAll(".tick > text").attr("fill",(C,R)=>R>=0||_.graphMode=="month"||_.graphMode=="year"?"var(--color-axis)":"var(--color-bg)").attr("font-size",Ct),m.showGrid?(f.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"),f.select(".domain").attr("stroke","var(--color-bg)")):f.selectAll(".tick line").attr("stroke","var(--color-bg)"),f.select(".domain").attr("stroke","var(--color-bg)"),"PGXAxis2.vue"}),h=g(()=>{if(_.graphMode!="month"&&_.graphMode!="year"){const f=le("g#PGXAxis"),C=le("g#PGXAxis2");_.graphMode=="month"||_.graphMode=="year"?(Fe.value.range(He.value),f.call(r.value),C.call(l.value)):(Ie.value.range(He.value),f.call(a.value),C.call(o.value))}return"zoomed"});return(f,C)=>(i(),p("g",{transform:"translate("+f.margin.left+","+f.margin.top+")"},[n("g",{id:"PGXAxis",class:"axis",origin:u.value,origin2:h.value,transform:"translate(0,"+(f.height/2-6)+")"},null,8,In),n("g",{id:"PGXAxis2",class:"axis",origin:c.value,transform:"translate(0,"+(f.height/2+10)+")"},null,8,Pn),s(m).showGrid?(i(),p("g",Bn,[n("rect",{x:"0",y:"0",width:f.width,height:f.height/2-10,fill:"none",stroke:"var(--color-grid)","stroke-width":"0.5"},null,8,Vn)])):b("",!0),s(m).showGrid?(i(),p("g",Ln,[n("rect",{x:"0",y:f.height/2+10,width:f.width,height:f.height/2-10,fill:"none",stroke:"var(--color-grid)","stroke-width":"0.5"},null,8,An)])):b("",!0)],8,Cn))}}),Tn=["id",".origin","d"],Dn=["id","d","stroke"],Wn=["x","y","text-anchor"],It=V({__name:"PgSoc",props:{width:{},height:{},margin:{},order:{}},setup(t){const e=t,a=g(()=>{let I=Pe(_.data,L=>L.date);return I[0]&&I[1]?qe().domain(I).range([0,e.width]):qe().range([0,0])}),o=g(()=>Ye().range([e.height-10,0]).domain([0,100])),r=g(()=>{let L=vt().x(E=>a.value(E.date)).y(E=>o.value(e.order==2?E.batSoc:E["soc"+h.value.connectedVehicle])??o.value(0))(_.data);return L||""}),l=g(()=>e.order==2?"Speicher":h.value.connectedVehicle),d=g(()=>e.order==2?"Speicher":h.value.vehicleName),u=g(()=>{switch(e.order){case 0:return"var(--color-cp1)";case 1:return"var(--color-cp2)";case 2:return"var(--color-battery)";default:return"red"}}),c=g(()=>{switch(e.order){case 0:return e.width-3;case 1:return 3;case 2:return e.width/2;default:return 0}}),h=g(()=>{const I=e.order==2?0:e.order;return Object.values(B)[I]}),f=g(()=>{if(_.data.length>0){let I;switch(e.order){case 0:return I=_.data.length-1,o.value(_.data[I]["soc"+l.value]+2);case 1:return I=0,o.value(_.data[I]["soc"+l.value]+2);case 2:return I=Math.round(_.data.length/2),o.value(_.data[I].batSoc+2);default:return 0}}else return 0}),C=g(()=>{switch(e.order){case 0:return"end";case 1:return"start";case 2:return"middle";default:return"middle"}}),R=g(()=>{if(_.graphMode!="month"&&_.graphMode!="year"){const I=le("path#soc-"+l.value),L=le("path#socdashes-"+l.value);a.value.range(He.value);const E=vt().x(T=>a.value(T.date)).y(T=>o.value(e.order==2?T.batSoc:T["soc"+h.value.connectedVehicle])??o.value(0));I.attr("d",E(_.data)),L.attr("d",E(_.data))}return"zoomed"});return(I,L)=>(i(),p(z,null,[n("path",{id:"soc-"+l.value,".origin":R.value,class:"soc-baseline",d:r.value,stroke:"var(--color-bg)","stroke-width":"1",fill:"none"},null,8,Tn),n("path",{id:"socdashes-"+l.value,class:"soc-dashes",d:r.value,stroke:u.value,"stroke-width":"1",style:{strokeDasharray:"3,3"},fill:"none"},null,8,Dn),n("text",{class:"cpname",x:c.value,y:f.value,style:J({fill:u.value,fontSize:10}),"text-anchor":C.value},$(d.value),13,Wn)],64))}}),Gn=["transform"],zn=V({__name:"PgSocAxis",props:{width:{},height:{},margin:{}},setup(t){const e=t,a=g(()=>Ye().range([e.height-10,0]).domain([0,100])),o=g(()=>to(a.value).ticks(5).tickFormat(l=>l.toString()+"%"));function r(){let l=le("g#PGSocAxis");l.call(o.value),l.selectAll(".tick").attr("font-size",12),l.selectAll(".tick line").attr("stroke","var(--color-bg)"),l.select(".domain").attr("stroke","var(--color-bg)")}return Be(()=>{r()}),(l,d)=>(i(),p("g",{id:"PGSocAxis",class:"axis",transform:"translate("+(l.width-20)+",0)"},null,8,Gn))}}),En=t=>(ae("data-v-7b8949f3"),t=t(),oe(),t),jn={class:"d-flex align-self-top justify-content-center align-items-center"},Un={class:"input-group input-group-xs"},Fn={key:0,class:"btn dropdown-toggle",type:"button","data-bs-toggle":"dropdown"},Nn={class:"dropdown-menu"},Hn={class:"table optiontable"},Rn=["onClick"],Jn={key:1,class:"btn dropdown-toggle",type:"button","data-bs-toggle":"dropdown"},qn={class:"dropdown-menu"},Yn={class:"table optiontable"},Qn=["onClick"],Zn={key:2,class:"btn dropdown-toggle",type:"button","data-bs-toggle":"dropdown"},Xn={class:"dropdown-menu"},Kn={class:"table optiontable"},es=["onClick"],ts=En(()=>n("span",{class:"fa-solid fa-circle-check"},null,-1)),as=[ts],os=V({__name:"DateInput",props:{modelValue:{type:Date,required:!0},mode:{type:String,default:"day"}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=new Date().getFullYear();let r=Array.from({length:10},(R,I)=>o-I);const l=Z(!0),d=[[0,1,2,3],[4,5,6,7],[8,9,10,11]],u=Z(a.modelValue.getDate()),c=Z(a.modelValue.getMonth()),h=Z(a.modelValue.getFullYear()),f=g(()=>{const I=new Date(h.value,c.value,1).getDay();let L=0;switch(c.value){case 1:case 3:case 5:case 7:case 8:case 10:case 12:L=31;break;case 4:case 6:case 9:case 11:L=30;break;case 2:Math.trunc(h.value/4)*4==h.value&&(L=29)}let E=[],T=[0,0,0,0,0,0,0],D=I;for(let q=0;q(i(),p("span",jn,[n("div",Un,[a.mode=="day"||a.mode=="today"?(i(),p("button",Fn,$(u.value),1)):b("",!0),n("div",Nn,[n("table",Hn,[(i(!0),p(z,null,X(f.value,(L,E)=>(i(),p("tr",{key:E,class:""},[(i(!0),p(z,null,X(L,(T,D)=>(i(),p("td",{key:D},[T!=0?(i(),p("span",{key:0,type:"button",class:"btn optionbutton",onClick:q=>u.value=T},$(T),9,Rn)):b("",!0)]))),128))]))),128))])]),a.mode!="year"&&a.mode!="live"?(i(),p("button",Jn,$(c.value+1),1)):b("",!0),n("div",qn,[n("table",Yn,[(i(),p(z,null,X(d,(L,E)=>n("tr",{key:E,class:""},[(i(!0),p(z,null,X(L,(T,D)=>(i(),p("td",{key:D,class:"p-0 m-0"},[n("span",{type:"button",class:"btn btn-sm optionbutton",onClick:q=>c.value=T},$(T+1),9,Qn)]))),128))])),64))])]),a.mode!="live"?(i(),p("button",Zn,$(h.value),1)):b("",!0),n("div",Xn,[n("table",Kn,[(i(!0),p(z,null,X(s(r),(L,E)=>(i(),p("tr",{key:E,class:""},[n("td",null,[n("span",{type:"button",class:"btn optionbutton",onClick:T=>h.value=L},$(L),9,es)])]))),128))])]),a.mode!="live"?(i(),p("button",{key:3,class:"button-outline-secondary",type:"button",onClick:C},as)):b("",!0)])]))}});const U=(t,e)=>{const a=t.__vccOpts||t;for(const[o,r]of e)a[o]=r;return a},ns=U(os,[["__scopeId","data-v-7b8949f3"]]),ss={class:"btn-group m-0",role:"group","aria-label":"radiobar"},rs=["id","value"],is=V({__name:"RadioBarInput",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=g({get(){return a.modelValue},set(d){e("update:modelValue",d)}});function r(d){let u=a.options[d].color?a.options[d].color:"var(--color-fg)";return a.options[d].active?{color:"var(--color-bg)",background:u}:{color:u}}function l(d){let u=d.target;for(;u&&!u.value&&u.parentElement;)u=u.parentElement;u.value&&(o.value=u.value)}return(d,u)=>(i(),p("div",null,[n("div",ss,[(i(!0),p(z,null,X(d.options,(c,h)=>(i(),p("button",{id:"radio-"+c.value,key:h,class:j(["btn btn-outline-secondary btn-sm radiobutton mx-0 mb-0 px-2",c.value==o.value?"active":""]),value:c.value,style:J(r(h)),onClick:l},[n("span",{style:J(r(h))},[c.icon?(i(),p("i",{key:0,class:j(["fa-solid",c.icon])},null,2)):b("",!0),N(" "+$(c.text),1)],4)],14,rs))),128))])]))}});const Ma=U(is,[["__scopeId","data-v-82ab6829"]]),St=t=>(ae("data-v-58aa87a0"),t=t(),oe(),t),ls=St(()=>n("i",{class:"fa-solid fa-xl fa-chevron-circle-up"},null,-1)),cs=[ls],ds=St(()=>n("span",{class:"fa-solid fa-xl fa-chevron-circle-left arrowButton"},null,-1)),us=[ds],hs=St(()=>n("span",{class:"fa-solid fa-xl fa-gear"},null,-1)),ps=[hs],gs=St(()=>n("span",{class:"fa-solid fa-xl fa-circle-check"},null,-1)),ms=[gs],vs=V({__name:"PgSelector",props:{widgetid:{},showLeftButton:{type:Boolean},showRightButton:{type:Boolean},ignoreLive:{type:Boolean}},emits:["shiftLeft","shiftRight","shiftUp","shiftDown"],setup(t){const e=t,a=Z(0),o=g(()=>{if(_.waitForData)return"Lädt...";switch(_.graphMode){case"live":return e.ignoreLive?"heute":`${ue.duration} min`;case"today":return"heute";case"day":return ie.date.getDate()+"."+(ie.date.getMonth()+1)+".";case"month":return Fo(Le.month-1,Le.year);case"year":return Ue.year.toString();default:return"???"}}),r=["live","today","day","month","year"],l=["Live","Heute","Tag","Monat","Jahr"],d=g({get(){return _.graphMode},set(q){switch(q){case"day":C();break;case"today":R();break;case"live":f();break;case"month":I();break;case"year":L()}}}),u=g(()=>{switch(_.graphMode){case"live":case"today":return ie.getDate();case"month":return Le.getDate();default:return ie.getDate()}});function c(q){ia(q)}function h(){a.value+=1,a.value>2&&(a.value=0)}function f(){_.graphMode!="live"&&(_.graphMode="live",ge())}function C(){_.graphMode!="day"&&_.graphMode!="today"&&(_.graphMode="day",ge())}function R(){_.graphMode!="today"&&(_.graphMode="today",ia(new Date),ge())}function I(){_.graphMode!="month"&&(_.graphMode="month",ge())}function L(){_.graphMode!="year"&&(_.graphMode="year",ge())}const E=g(()=>a.value>0?{border:"1px solid var(--color-frame)"}:""),T=g(()=>a.value==1?"justify-content-between":"justify-content-end"),D=g(()=>a.value==1?"justify-content-between":"justify-content-center");return(q,P)=>(i(),p("div",{class:"d-flex flex-column justify-content-center pgselector rounded",style:J(E.value)},[a.value==2?(i(),M(Ma,{key:0,id:"pgm2",modelValue:d.value,"onUpdate:modelValue":P[0]||(P[0]=k=>d.value=k),class:"m-2",options:r.map((k,x)=>({text:l[x],value:k,color:"var(--color-menu)",active:k==s(_).graphMode}))},null,8,["modelValue","options"])):b("",!0),a.value==1?(i(),p("span",{key:1,type:"button",class:j(["arrowButton d-flex align-self-center mb-3 mt-3",{disabled:!e.showLeftButton}]),onClick:P[1]||(P[1]=k=>q.$emit("shiftUp"))},cs,2)):b("",!0),n("div",{class:j(["d-flex align-items-center",D.value])},[a.value==1?(i(),p("span",{key:0,type:"button",class:j(["p-1",{disabled:!e.showLeftButton}]),onClick:P[2]||(P[2]=k=>q.$emit("shiftLeft"))},us,2)):b("",!0),a.value<2?(i(),p("span",{key:1,type:"button",class:"btn-outline-secondary p-2 px-3 badge rounded-pill datebadge",onClick:h},$(o.value),1)):b("",!0),a.value==2?(i(),M(ns,{key:2,"model-value":u.value,mode:s(_).graphMode,"onUpdate:modelValue":c},null,8,["model-value","mode"])):b("",!0),a.value==1?(i(),p("span",{key:3,id:"graphRightButton",type:"button",class:j(["arrowButton fa-solid fa-xl fa-chevron-circle-right p-1",{disabled:!e.showRightButton}]),onClick:P[3]||(P[3]=k=>q.$emit("shiftRight"))},null,2)):b("",!0)],2),n("div",{class:j(["d-flex align-items-center",T.value])},[a.value==1?(i(),p("span",{key:0,type:"button",class:"p-1",onClick:h},ps)):b("",!0),a.value==1?(i(),p("span",{key:1,id:"graphLeftButton",type:"button",class:j(["arrowButton fa-solid fa-xl fa-chevron-circle-down p-1",{disabled:!e.showLeftButton}]),onClick:P[4]||(P[4]=k=>q.$emit("shiftDown"))},null,2)):b("",!0),a.value>0?(i(),p("span",{key:2,type:"button",class:"p-1",onClick:P[5]||(P[5]=k=>a.value=0)},ms)):b("",!0)],2)],4))}});const Ca=U(vs,[["__scopeId","data-v-58aa87a0"]]),fs=["x","fill"],_s=["x"],Me=V({__name:"PgToolTipLine",props:{cat:{},name:{},indent:{},power:{},width:{}},setup(t){const e=t;return(a,o)=>(i(),p(z,null,[a.power>0?(i(),p("tspan",{key:0,x:a.indent,dy:"1.3em",class:j(a.name?"":"fas"),fill:s(de)[a.cat].color},$(a.name?a.name:s(de)[a.cat].icon)+"   ",11,fs)):b("",!0),n("tspan",{"text-anchor":"end",x:a.width-a.indent},[e.power>0?(i(),M(ht,{key:0,watt:a.power*1e3},null,8,["watt"])):b("",!0)],8,_s)],64))}}),ys=["transform"],bs=["width","height"],ws={"text-anchor":"start",x:"5",y:"20","font-size":"16",fill:"var(--color-fg)"},ks=["x"],xs=n("line",{y:"120",x1:"5",x2:"100",stroke:"var(--color-fg)","stroke-width":"1"},null,-1),Ss=V({__name:"PgToolTipItem",props:{entry:{},boxwidth:{},xScale:{type:[Function,Object]}},setup(t){const e=t,a=g(()=>Object.values(e.entry).filter(c=>c>0).length),o=g(()=>a.value*16),r=g(()=>Object.entries(e.entry).filter(([c,h])=>c.startsWith("pv")&&c.length>2&&h>0).map(([c,h])=>({power:h,name:Ge.value.get(c)?u(Ge.value.get(c)):"Wechselr.",id:c}))),l=g(()=>Object.entries(e.entry).filter(([c,h])=>c.startsWith("cp")&&c.length>2&&h>0).map(([c,h])=>({power:h,name:Ge.value.get(c)?u(Ge.value.get(c)):"Ladep.",id:c}))),d=g(()=>Object.entries(e.entry).filter(([c,h])=>c.startsWith("sh")&&c.length>2&&h>0).map(([c,h])=>({power:h,name:Ge.value.get(c)?u(Ge.value.get(c)):"Gerät",id:c})));function u(c){return c.length>6?c.slice(0,6)+"...":c}return(c,h)=>(i(),p("g",{class:"ttmessage",transform:"translate("+c.xScale(c.entry.date)+",0)"},[n("rect",{rx:"5",width:c.boxwidth,height:o.value,fill:"var(--color-bg)",opacity:"80%",stroke:"var(--color-menu)"},null,8,bs),n("text",ws,[n("tspan",{"text-anchor":"middle",x:c.boxwidth/2,dy:"0em"},$(s(tt)("%H:%M")(new Date(c.entry.date))),9,ks),xs,y(Me,{cat:"evuIn",indent:5,power:c.entry.evuIn,width:c.boxwidth},null,8,["power","width"]),y(Me,{cat:"batOut",indent:5,power:c.entry.batOut,width:c.boxwidth},null,8,["power","width"]),y(Me,{cat:"pv",indent:5,power:c.entry.pv,width:c.boxwidth},null,8,["power","width"]),(i(!0),p(z,null,X(r.value,f=>(i(),M(Me,{key:f.id,cat:"pv",name:f.name,power:f.power,indent:10,width:c.boxwidth},null,8,["name","power","width"]))),128)),y(Me,{cat:"house",indent:5,power:c.entry.house,width:c.boxwidth},null,8,["power","width"]),y(Me,{cat:"charging",indent:5,power:c.entry.charging,width:c.boxwidth},null,8,["power","width"]),(i(!0),p(z,null,X(l.value,f=>(i(),M(Me,{key:f.id,cat:"charging",name:f.name,power:f.power,indent:10,width:c.boxwidth},null,8,["name","power","width"]))),128)),y(Me,{cat:"devices",indent:5,power:c.entry.devices,width:c.boxwidth},null,8,["power","width"]),(i(!0),p(z,null,X(d.value,f=>(i(),M(Me,{key:f.id,cat:"devices",name:f.name,power:f.power,indent:10,width:c.boxwidth},null,8,["name","power","width"]))),128)),y(Me,{cat:"batIn",indent:5,power:c.entry.batIn,width:c.boxwidth},null,8,["power","width"]),y(Me,{cat:"evuOut",indent:5,power:c.entry.evuOut,width:c.boxwidth},null,8,["power","width"])])],8,ys))}}),$s=["origin","transform"],Ms=["x","height","width"],la=140,Cs=V({__name:"PgToolTips",props:{width:{},height:{},margin:{},data:{}},setup(t){const e=t,a=g(()=>{const l=Pe(e.data,d=>new Date(d.date));return l[0]&&l[1]?Et().domain(l).range([0,e.width-e.margin.right]):qe().range([0,0])}),o=g(()=>{const l=Pe(e.data,d=>new Date(d.date));return l[0]&&l[1]?Et().domain(l).range([0,e.width-e.margin.right-la]):qe().range([0,0])}),r=g(()=>((_.graphMode=="day"||_.graphMode=="today")&&(a.value.range(He.value),le("g#pgToolTips").selectAll("g.ttarea").select("rect").attr("x",(l,d)=>e.data.length>d?a.value(e.data[d].date):0).attr("width",e.data.length>0?(He.value[1]-He.value[0])/e.data.length:0)),"PgToolTips.vue:autozoom"));return(l,d)=>(i(),p("g",{id:"pgToolTips",origin:r.value,transform:"translate("+l.margin.left+","+l.margin.top+")"},[(i(!0),p(z,null,X(l.data,u=>(i(),p("g",{key:u.date,class:"ttarea"},[n("rect",{x:a.value(u.date),y:"0",height:l.height,class:"ttrect",width:s(_).data.length>0?l.width/s(_).data.length:0,opacity:"1%",fill:"var(--color-charging)"},null,8,Ms),y(Ss,{entry:u,boxwidth:la,"x-scale":o.value},null,8,["entry","x-scale"])]))),128))],8,$s))}}),Ia=t=>(ae("data-v-f601f500"),t=t(),oe(),t),Is={class:"d-flex justify-content-end"},Ps=Ia(()=>n("span",{class:"fa-solid fa-lg ps-1 fa-magnifying-glass"},null,-1)),Bs=[Ps],Vs={id:"powergraph",class:"p-0 m-0"},Ls=["viewBox"],As=["transform"],Os=["x","y"],Ts=Ia(()=>n("tspan",{fill:"var(--color-menu)",class:"fas fa-lg"},$(""),-1)),Ds=[Ts],Ws=2,Gs="Leistung / Ladestand ",zs=V({__name:"PowerGraph",setup(t){function e(){let d=m.usageStackOrder+1;d>Ws&&(d=0),m.usageStackOrder=d,fn(!0)}function a(d){const u=[[0,W.top],[_e,$e-W.top]];d.call(oo().scaleExtent([1,8]).translateExtent([[0,0],[_e,$e]]).extent(u).filter(r).on("zoom",o))}function o(d){ka.value=d.transform}function r(d){return d.preventDefault(),(!d.ctrlKey||d.type==="wheel")&&!d.button}function l(){m.zoomGraph=!m.zoomGraph}return Be(()=>{const d=le("svg#powergraph");a(d)}),(d,u)=>(i(),M(xt,{"full-width":!0},{title:w(()=>[N($(Gs))]),buttons:w(()=>[n("div",Is,[y(Ca,{widgetid:"graphsettings","show-left-button":!0,"show-right-button":!0,"ignore-live":!1,onShiftLeft:s(Kt),onShiftRight:s(xa),onShiftUp:s(Sa),onShiftDown:s($a)},null,8,["onShiftLeft","onShiftRight","onShiftUp","onShiftDown"]),s(Ne)?(i(),p("span",{key:0,type:"button",class:"ms-1 p-0 pt-1",onClick:l},Bs)):b("",!0)])]),default:w(()=>[at(n("figure",Vs,[(i(),p("svg",{id:"powergraph",viewBox:"0 0 "+s(_e)+" "+s($e)},[y(Sn,{width:s(_e)-s(W).left-2*s(W).right,height:(s($e)-s(W).top-s(W).bottom)/2,margin:s(W)},null,8,["width","height","margin"]),y(Mn,{width:s(_e)-s(W).left-2*s(W).right,height:(s($e)-s(W).top-s(W).bottom)/2,margin:s(W),"stack-order":s(m).usageStackOrder},null,8,["width","height","margin","stack-order"]),y(On,{width:s(_e)-s(W).left-2*s(W).right,height:s($e)-s(W).top-s(W).bottom,margin:s(W),"graph-data":s(_)},null,8,["width","height","margin","graph-data"]),n("g",{transform:"translate("+s(W).left+","+s(W).top+")"},[(s(_).graphMode=="day"||s(_).graphMode=="today"||s(_).graphMode=="live")&&Object.values(s(B)).length>0?(i(),M(It,{key:0,width:s(_e)-s(W).left-2*s(W).right,height:(s($e)-s(W).top-s(W).bottom)/2,margin:s(W),order:0},null,8,["width","height","margin"])):b("",!0),(s(_).graphMode=="day"||s(_).graphMode=="today"||s(_).graphMode=="live")&&Object.values(s(B)).length>1?(i(),M(It,{key:1,width:s(_e)-s(W).left-2*s(W).right,height:(s($e)-s(W).top-s(W).bottom)/2,margin:s(W),order:1},null,8,["width","height","margin"])):b("",!0),(s(_).graphMode=="day"||s(_).graphMode=="today")&&s(me).isBatteryConfigured?(i(),M(It,{key:2,width:s(_e)-s(W).left-2*s(W).right,height:(s($e)-s(W).top-s(W).bottom)/2,margin:s(W),order:2},null,8,["width","height","margin"])):b("",!0),s(_).graphMode=="day"||s(_).graphMode=="today"?(i(),M(zn,{key:3,width:s(_e)-s(W).left-s(W).right,height:(s($e)-s(W).top-s(W).bottom)/2,margin:s(W)},null,8,["width","height","margin"])):b("",!0)],8,As),s(_).graphMode=="day"||s(_).graphMode=="today"?(i(),M(Cs,{key:0,width:s(_e)-s(W).left-s(W).right,height:s($e)-s(W).top-s(W).bottom,margin:s(W),data:s(_).data},null,8,["width","height","margin","data"])):b("",!0),n("g",{id:"button",onClick:e},[n("text",{x:s(_e)-10,y:s($e)-10,color:"var(--color-menu)","text-anchor":"end"},Ds,8,Os)])],8,Ls))],512),[[ao,s(_).data.length>0]])]),_:1}))}});const Es=U(zs,[["__scopeId","data-v-f601f500"]]),js=["id"],Us=["x","width","height","fill"],Fs=["x","width","height"],Ns=["x","y","width","height"],Hs=V({__name:"EmBar",props:{item:{},xScale:{},yScale:{},margin:{},height:{},barcount:{},autarchy:{},autText:{}},setup(t){const e=t,a=g(()=>e.height-e.yScale(e.item.energy)-e.margin.top-e.margin.bottom),o=g(()=>e.item.energyPv>0?e.height-e.yScale(e.item.energyPv)-e.margin.top-e.margin.bottom:0),r=g(()=>e.item.energyPv>0?e.height-e.yScale(e.item.energyBat)-e.margin.top-e.margin.bottom:0);return(l,d)=>(i(),p("g",{id:"bar-"+e.item.name,transform:"scale(1,-1) translate (0,-445)"},[n("rect",{class:"bar",x:e.xScale(l.item.name),y:"0",width:e.xScale.bandwidth(),height:a.value,fill:l.item.color},null,8,Us),n("rect",{class:"bar",x:e.xScale(l.item.name)+e.xScale.bandwidth()/6,y:"0",width:e.xScale.bandwidth()*2/3,height:o.value,fill:"var(--color-pv)","fill-opacity":"66%"},null,8,Fs),n("rect",{class:"bar",x:e.xScale(l.item.name)+e.xScale.bandwidth()/6,y:o.value,width:e.xScale.bandwidth()*2/3,height:r.value,fill:"var(--color-battery)","fill-opacity":"66%"},null,8,Ns)],8,js))}}),Rs={id:"emBargraph"},Js=n("animateTransform",{"attribute-name":"transform",type:"scale",from:"1 0",to:"1 1",begin:"0s",dur:"2s"},null,-1),qs=V({__name:"EMBarGraph",props:{plotdata:{},xScale:{},yScale:{},margin:{},height:{}},setup(t){const e=t;function a(r){if(r.name=="PV"){const l=_.graphMode=="live"||_.graphMode=="day"?H:O.items,u=(_.graphMode=="live"||_.graphMode=="day"?G:O.items).evuOut.energy,c=l.pv.energy;return Math.round((c-u)/c*100)}else if(r.name=="Netz"){const l=_.graphMode=="live"||_.graphMode=="day"?H:O.items,d=_.graphMode=="live"||_.graphMode=="day"?G:O.items,u=d.evuOut.energy,c=l.evuIn.energy,h=l.pv.energy,f=l.batOut.energy,C=d.batIn.energy;return Math.round((h+f-u-C)/(h+f+c-u-C)*100)}else return r.pvPercentage}function o(r){return r.name=="PV"?"Eigen":"Aut"}return(r,l)=>(i(),p("g",Rs,[(i(!0),p(z,null,X(e.plotdata,(d,u)=>(i(),p("g",{key:u},[y(Hs,{item:d,"x-scale":e.xScale,"y-scale":e.yScale,margin:e.margin,height:e.height,barcount:e.plotdata.length,"aut-text":o(d),autarchy:a(d)},null,8,["item","x-scale","y-scale","margin","height","barcount","aut-text","autarchy"])]))),128)),Js]))}}),Ys=["origin"],Qs=V({__name:"EMYAxis",props:{yScale:{type:[Function,Object]},width:{},fontsize:{}},setup(t){const e=t,a=g(()=>ut(e.yScale).tickFormat(l=>r(l)).ticks(6).tickSizeInner(-e.width)),o=g(()=>{const l=le("g#emYAxis");return l.attr("class","axis").call(a.value),l.append("text").attr("y",6).attr("dy","0.71em").attr("text-anchor","end").text("energy"),l.selectAll(".tick").attr("font-size",e.fontsize),m.showGrid?l.selectAll(".tick line").attr("stroke","var(--color-grid)").attr("stroke-width","0.5"):l.selectAll(".tick line").attr("stroke","var(--color-bg)"),l.select(".domain").attr("stroke","var(--color-bg)"),"emYAxis.vue"});function r(l){return l>0?_.graphMode=="year"?(l/1e6).toString():(l/1e3).toString():""}return(l,d)=>(i(),p("g",{id:"emYAxis",class:"axis",origin:o.value},null,8,Ys))}}),Zs=["id"],Xs=["x","y","font-size"],Ks=["x","y","font-size","fill"],er=["x","y","font-size","fill"],tr=V({__name:"EmLabel",props:{item:{},xScale:{},yScale:{},margin:{},height:{},barcount:{},autarchy:{},autText:{}},setup(t){const e=t,a=g(()=>e.autarchy?e.yScale(e.item.energy)-25:e.yScale(e.item.energy)-10),o=g(()=>{let c=16,h=e.barcount;return h<=5?c=16:h==6?c=14:h>6&&h<=8?c=13:h==9?c=11:h==10?c=10:c=9,c}),r=g(()=>{let c=12,h=e.barcount;return h<=5?c=12:h==6?c=11:h>6&&h<=8||h==9?c=8:h==10?c=7:c=6,c});function l(c,h){return h.length>r.value?h.substring(0,r.value)+".":h}function d(){return e.autarchy?e.autText+": "+e.autarchy.toLocaleString(void 0)+" %":""}function u(){return"var(--color-pv)"}return(c,h)=>(i(),p("g",{id:"barlabel-"+e.item.name},[n("text",{x:e.xScale(c.item.name)+e.xScale.bandwidth()/2,y:a.value,"font-size":o.value,"text-anchor":"middle",fill:"var(--color-menu)"},$(s(ct)(c.item.energy,s(m).decimalPlaces,!1)),9,Xs),n("text",{x:e.xScale(c.item.name)+e.xScale.bandwidth()/2,y:e.yScale(c.item.energy)-10,"font-size":o.value-2,"text-anchor":"middle",fill:u()},$(d()),9,Ks),n("text",{x:e.xScale(c.item.name)+e.xScale.bandwidth()/2,y:e.height-e.margin.bottom-5,"font-size":o.value,"text-anchor":"middle",fill:c.item.color,class:j(c.item.icon.length<=2?"fas":"")},$(l(c.item.name,c.item.icon)),11,er)],8,Zs))}}),ar={id:"emBarLabels"},or=V({__name:"EMLabels",props:{plotdata:{},xScale:{},yScale:{},height:{},margin:{}},setup(t){const e=t;function a(r){if(r.name=="PV"){const l=_.graphMode=="live"||_.graphMode=="today"?H:O.items,u=(_.graphMode=="live"||_.graphMode=="today"?G:O.items).evuOut.energy,c=l.pv.energy;return Math.round((c-u)/c*100)}else if(r.name=="Netz"){const l=_.graphMode=="live"||_.graphMode=="today"?H:O.items,d=_.graphMode=="live"||_.graphMode=="today"?G:O.items,u=d.evuOut.energy,c=l.evuIn.energy,h=l.pv.energy,f=l.batOut.energy,C=d.batIn.energy;return h+f-u-C>0?Math.round((h+f-u-C)/(h+f+c-u-C)*100):0}else return r.pvPercentage}function o(r){return r.name=="PV"?"Eigen":"Aut"}return(r,l)=>(i(),p("g",ar,[(i(!0),p(z,null,X(e.plotdata,(d,u)=>(i(),p("g",{key:u},[y(tr,{item:d,"x-scale":e.xScale,"y-scale":e.yScale,margin:e.margin,height:e.height,barcount:e.plotdata.length,"aut-text":o(d),autarchy:a(d)},null,8,["item","x-scale","y-scale","margin","height","barcount","aut-text","autarchy"])]))),128))]))}}),nr={id:"energymeter",class:"p-0 m-0"},sr={viewBox:"0 0 500 500"},rr=["transform"],ir=["x"],lr={key:0},ca=500,Pt=500,da=12,cr="Energie",dr=V({__name:"EnergyMeter",setup(t){const e={top:25,bottom:30,left:25,right:0},a=g(()=>{let u=Object.values(H),c=l.value;const h=O.items;let f=[];switch(m.debug&&d(),_t.value==!0&&(_t.value=!1),_.graphMode){default:case"live":case"today":f=u.concat(c);break;case"day":case"month":case"year":Object.values(h).length==0?lt.value=!0:(lt.value=!1,f=[h.evuIn,h.pv,h.evuOut,h.batOut,h.charging],Object.values(B).length>1&&Object.keys(B).forEach(C=>{h["cp"+C]&&f.push(h["cp"+C])}),f.push(h.devices),ne.forEach((C,R)=>{C.showInGraph&&h["sh"+R]&&f.push(h["sh"+R])}),f=f.concat([h.batIn,h.house]))}return f.filter(C=>C.energy&&C.energy>0)}),o=g(()=>jt().range([0,ca-e.left-e.right]).domain(a.value.map(u=>u.name)).padding(.4)),r=g(()=>Ye().range([Pt-e.bottom-e.top,15]).domain([0,no(a.value,u=>u.energy)])),l=g(()=>{const u=Object.values(B).length,c=[...ne.values()].filter(f=>f.configured).length;let h=G;return[...[h.evuOut,h.charging].concat(u>1?Object.values(B).map(f=>f.toPowerItem()):[]),...[h.devices].concat(c>1?[...ne.values()].filter(f=>f.configured&&f.showInGraph):[]).concat([G.batIn,G.house])]});function d(){console.debug(["source summary:",H]),console.debug(["usage details:",l.value]),console.debug(["historic summary:",O])}return(u,c)=>(i(),M(xt,{"full-width":!0},{title:w(()=>[N($(cr))]),buttons:w(()=>[y(Ca,{widgetid:"graphsettings","show-left-button":!0,"show-right-button":!0,"ignore-live":!0,onShiftLeft:s(Kt),onShiftRight:s(xa),onShiftUp:s(Sa),onShiftDown:s($a)},null,8,["onShiftLeft","onShiftRight","onShiftUp","onShiftDown"])]),default:w(()=>[n("figure",nr,[(i(),p("svg",sr,[n("g",{transform:"translate("+e.left+","+e.top+")"},[y(qs,{plotdata:a.value,"x-scale":o.value,"y-scale":r.value,height:Pt,margin:e},null,8,["plotdata","x-scale","y-scale"]),y(Qs,{"y-scale":r.value,width:ca,fontsize:da,config:s(m)},null,8,["y-scale","config"]),n("text",{x:-e.left,y:"-15",fill:"var(--color-axis)","font-size":da},$(s(_).graphMode=="year"?"MWh":"kWh"),9,ir),y(or,{plotdata:a.value,"x-scale":o.value,"y-scale":r.value,height:Pt,margin:e,config:s(m)},null,8,["plotdata","x-scale","y-scale","config"])],8,rr)]))]),s(lt)?(i(),p("p",lr,"No data")):b("",!0)]),_:1}))}}),ur={class:"d-flex flex-column align-items-center justify-content-start infoitem"},hr=V({__name:"InfoItem",props:{heading:{},small:{type:Boolean}},setup(t){const e=t,a=g(()=>e.small?{"font-size":"var(--font-small)"}:{"font-size":"var(--font-small)"}),o=g(()=>e.small?{"font-size":"var(--font-small)"}:{"font-size":"var(--font-normal)"}),r=g(()=>e.small?"mt-0":"mt-1");return(l,d)=>(i(),p("span",ur,[n("span",{class:j(["d-flex heading",r.value]),style:J(a.value)},$(e.heading),7),n("span",{class:"d-flex my-0 me-0 align-items-center content",style:J(o.value)},[he(l.$slots,"default",{},void 0,!0)],4)]))}});const Q=U(hr,[["__scopeId","data-v-f6af00e8"]]),pr={class:"d-flex justify-content-between align-items-center titlerow"},gr={class:"buttonarea grid-col-12",style:{"text-align":"right"}},mr={class:"contentrow grid-col-12"},vr=V({__name:"WbSubwidget",props:{titlecolor:{},fullwidth:{type:Boolean},small:{type:Boolean}},setup(t){const e=t,a=g(()=>{let r={"font-weight":"bold",color:"var(--color-fg)","font-size":"var(--font-normal)"};return e.titlecolor&&(r.color=e.titlecolor),e.small&&(r["font-size"]="var(--font-verysmall)"),r}),o=g(()=>e.fullwidth?"grid-col-12":"grid-col-4");return(r,l)=>(i(),p("div",{class:j(["wb-subwidget px-3 pt-2 my-0",o.value])},[n("div",pr,[n("div",{class:"d-flex widgetname p-0 m-0",style:J(a.value)},[he(r.$slots,"title",{},void 0,!0)],4),n("div",gr,[he(r.$slots,"buttons",{},void 0,!0)])]),n("div",mr,[he(r.$slots,"default",{},void 0,!0)])],2))}});const Qe=U(vr,[["__scopeId","data-v-971e553f"]]),fr=t=>(ae("data-v-b935eb33"),t=t(),oe(),t),_r={class:"grid-col-12 mt-2 mb-0 px-0 py-0 configitem"},yr={class:"titlecolumn m-0 p-0 d-flex align-items-center"},br=fr(()=>n("i",{class:"me-1 fa-solid fa-sm fa-circle-info"},null,-1)),wr={class:"ms-1 mb-2 p-0 pt-2 d-flex justify-content-stretch align-items-center"},kr={class:"justify-content-stretch d-flex"},xr=V({__name:"ConfigItem",props:{title:{},infotext:{},icon:{},fullwidth:{type:Boolean}},setup(t){const e=t,a=Z(!1);function o(){a.value=!a.value}const r=g(()=>{let l={color:"var(--color-charging)"};return a.value&&(l.color="var(--color-battery)"),l});return(l,d)=>(i(),M(Qe,{fullwidth:!!l.fullwidth},{default:w(()=>[n("div",_r,[n("div",yr,[n("span",{class:"d-flex align-items-baseline m-0 p-0",onClick:o},[e.icon?(i(),p("i",{key:0,class:j(["fa-solid fa-sm m-0 p-0 me-2 item-icon",e.icon])},null,2)):b("",!0),N(" "+$(l.title),1)]),n("span",null,[e.infotext?(i(),p("i",{key:0,class:"fa-solid fa-sm fa-circle-question ms-4 me-2",style:J(r.value),onClick:o},null,4)):b("",!0)])]),a.value?(i(),p("p",{key:0,class:"infotext shadow m-0 ps-2 mb-1 p-1",onClick:o},[br,N(" "+$(l.infotext),1)])):b("",!0),n("div",wr,[n("span",kr,[he(l.$slots,"default",{},void 0,!0)])])])]),_:3},8,["fullwidth"]))}});const F=U(xr,[["__scopeId","data-v-b935eb33"]]),Pa=t=>(ae("data-v-17a828b1"),t=t(),oe(),t),Sr={class:"d-flex flex-column"},$r={class:"d-flex flex-fill justify-content-between align-items-center"},Mr=Pa(()=>n("i",{class:"fa fa-xl fa-minus-square me-2"},null,-1)),Cr=[Mr],Ir=["id","min","max","step"],Pr=Pa(()=>n("i",{class:"fa fa-xl fa-plus-square ms-2"},null,-1)),Br=[Pr],Vr={class:"d-flex justify-content-between align-items-center"},Lr={class:"minlabel ps-4"},Ar={class:"valuelabel"},Or={class:"maxlabel pe-4"},Tr=V({__name:"RangeInput",props:{id:{},min:{},max:{},step:{},unit:{},decimals:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=a.decimals??0,r=g({get(){return Math.round(a.modelValue*Math.pow(10,o))/Math.pow(10,o)},set(u){e("update:modelValue",u)}});function l(){r.value>a.min&&(r.value=Math.round((r.value-a.step)*Math.pow(10,o))/Math.pow(10,o))}function d(){r.value(i(),p("span",Sr,[n("span",$r,[n("span",{type:"button",class:"minusButton",onClick:l},Cr),at(n("input",{id:u.id,"onUpdate:modelValue":c[0]||(c[0]=h=>r.value=h),type:"range",class:"form-range flex-fill",min:u.min,max:u.max,step:u.step},null,8,Ir),[[so,r.value,void 0,{number:!0}]]),n("span",{type:"button",class:"plusButton",onClick:d},Br)]),n("span",Vr,[n("span",Lr,$(u.min),1),n("span",Ar,$(r.value)+" "+$(u.unit),1),n("span",Or,$(u.max),1)])]))}});const Ae=U(Tr,[["__scopeId","data-v-17a828b1"]]),Dr=["id","value"],Wr=V({__name:"RadioInput",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=g({get(){return a.modelValue},set(d){e("update:modelValue",d)}});function r(d){return a.options[d][2]?{color:a.options[d][2]}:{color:"var(--color-fg)"}}function l(d){let u=d.target;for(;u&&!u.value&&u.parentElement;)u=u.parentElement;u.value&&(o.value=u.value)}return(d,u)=>(i(),p("div",null,[(i(!0),p(z,null,X(d.options,(c,h)=>(i(),p("button",{id:"radio-"+c[1],key:h,class:j(["btn btn-outline-secondary radiobutton me-2 mb-0 px-2",c[1]==o.value?"active":""]),value:c[1],style:J(r(h)),onClick:l},[n("span",{style:J(r(h))},[c[3]?(i(),p("i",{key:0,class:j(["fa-solid",c[3]])},null,2)):b("",!0),N(" "+$(c[0]),1)],4)],14,Dr))),128))]))}});const Ee=U(Wr,[["__scopeId","data-v-df222cbe"]]),Gr=t=>(ae("data-v-0303d179"),t=t(),oe(),t),zr={class:"mt-2"},Er=Gr(()=>n("p",{class:"heading ms-1"},"Sofortladen:",-1)),jr={key:0},Ur=V({__name:"CPConfigInstant",props:{chargepoint:{}},setup(t){const a=Z(t.chargepoint),o=[{name:"keine",id:"none"},{name:"EV-SoC",id:"soc"},{name:"Energiemenge",id:"amount"}],r=g({get(){return a.value.instantMaxEnergy/1e3},set(l){a.value.instantMaxEnergy=l*1e3}});return(l,d)=>(i(),p("div",zr,[Er,y(F,{title:"Stromstärke",icon:"fa-bolt",fullwidth:!0},{default:w(()=>[y(Ae,{id:"targetCurrent",modelValue:a.value.instantTargetCurrent,"onUpdate:modelValue":d[0]||(d[0]=u=>a.value.instantTargetCurrent=u),min:6,max:32,step:1,unit:"A"},null,8,["modelValue"])]),_:1}),a.value.instantChargeLimitMode!="none"?(i(),p("hr",jr)):b("",!0),y(F,{title:"Begrenzung",icon:"fa-hand",fullwidth:!0},{default:w(()=>[y(Ee,{modelValue:a.value.instantChargeLimitMode,"onUpdate:modelValue":d[1]||(d[1]=u=>a.value.instantChargeLimitMode=u),options:o.map(u=>[u.name,u.id])},null,8,["modelValue","options"])]),_:1}),a.value.instantChargeLimitMode=="soc"?(i(),M(F,{key:1,title:"Maximaler SoC",icon:"fa-sliders",fullwidth:!0},{default:w(()=>[y(Ae,{id:"maxSoc",modelValue:a.value.instantTargetSoc,"onUpdate:modelValue":d[2]||(d[2]=u=>a.value.instantTargetSoc=u),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])]),_:1})):b("",!0),a.value.instantChargeLimitMode=="amount"?(i(),M(F,{key:2,title:"Zu ladende Energie",icon:"fa-sliders",fullwidth:!0},{default:w(()=>[y(Ae,{id:"maxEnergy",modelValue:r.value,"onUpdate:modelValue":d[3]||(d[3]=u=>r.value=u),min:0,max:100,step:1,unit:"kWh"},null,8,["modelValue"])]),_:1})):b("",!0)]))}});const Fr=U(Ur,[["__scopeId","data-v-0303d179"]]),Nr={class:"form-check form-switch"},ce=V({__name:"SwitchInput",props:{modelValue:{type:Boolean},onColor:{},offColor:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=g({get(){return a.modelValue},set(l){e("update:modelValue",l)}}),r=g(()=>o.value?{"background-color":"green"}:{"background-color":"white"});return(l,d)=>(i(),p("div",Nr,[at(n("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>o.value=u),class:"form-check-input",type:"checkbox",role:"switch",style:J(r.value)},null,4),[[Rt,o.value]])]))}}),Ba=t=>(ae("data-v-1a90f282"),t=t(),oe(),t),Hr={class:"pt-2"},Rr=Ba(()=>n("p",{class:"heading ms-1"},"PV-Laden:",-1)),Jr={class:"form-check form-switch"},qr=Ba(()=>n("hr",null,null,-1)),Yr={key:2},Qr=V({__name:"CPConfigPv",props:{chargepoint:{}},setup(t){const a=Z(t.chargepoint),o=g({get(){return a.value.pvMinCurrent>5},set(l){l?a.value.pvMinCurrent=6:a.value.pvMinCurrent=0}}),r=g({get(){return a.value.pvMinSoc>0},set(l){l?a.value.pvMinSoc=50:a.value.pvMinSoc=0}});return(l,d)=>(i(),p("div",Hr,[Rr,y(F,{title:"Maximaler Ladestand",icon:"fa-battery-three-quarters",fullwidth:!0},{default:w(()=>[y(Ae,{id:"maxSoc",modelValue:a.value.pvMaxSoc,"onUpdate:modelValue":d[0]||(d[0]=u=>a.value.pvMaxSoc=u),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])]),_:1}),y(F,{title:"Einspeisegrenze beachten",icon:"fa-hand",fullwidth:!0},{default:w(()=>[n("div",Jr,[at(n("input",{id:"feedInLimitSwitch","onUpdate:modelValue":d[1]||(d[1]=u=>a.value.pvFeedInLimit=u),class:"form-check-input",type:"checkbox",role:"switch"},null,512),[[Rt,a.value.pvFeedInLimit]])])]),_:1}),qr,y(F,{title:"Minimaler Ladestand",icon:"fa-battery-half",infotext:s(We).minsoc,fullwidth:!0},{default:w(()=>[y(ce,{modelValue:r.value,"onUpdate:modelValue":d[2]||(d[2]=u=>r.value=u)},null,8,["modelValue"])]),_:1},8,["infotext"]),r.value?(i(),M(F,{key:0,title:"...bis SoC",fullwidth:!0},{info:w(()=>[N($(s(We).minsoc),1)]),default:w(()=>[y(Ae,{id:"minSoc",modelValue:a.value.pvMinSoc,"onUpdate:modelValue":d[3]||(d[3]=u=>a.value.pvMinSoc=u),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])]),_:1})):b("",!0),r.value?(i(),M(F,{key:1,title:"...mit Ladestrom",fullwidth:!0},{default:w(()=>[y(Ae,{id:"minSocCurrent",modelValue:a.value.pvMinSocCurrent,"onUpdate:modelValue":d[4]||(d[4]=u=>a.value.pvMinSocCurrent=u),min:6,max:32,step:1,unit:"A"},null,8,["modelValue"])]),_:1})):b("",!0),o.value||r.value?(i(),p("hr",Yr)):b("",!0),y(F,{title:"Minimaler Ladestrom",icon:"fa-bolt",infotext:s(We).minpv,fullwidth:!0},{default:w(()=>[y(ce,{modelValue:o.value,"onUpdate:modelValue":d[5]||(d[5]=u=>o.value=u)},null,8,["modelValue"])]),_:1},8,["infotext"]),o.value?(i(),M(F,{key:3,title:"...bei Ladestrom (minimal)",fullwidth:!0},{default:w(()=>[y(Ae,{id:"minCurrent",modelValue:a.value.pvMinCurrent,"onUpdate:modelValue":d[6]||(d[6]=u=>a.value.pvMinCurrent=u),min:6,max:32,step:1,unit:"A"},null,8,["modelValue"])]),_:1})):b("",!0)]))}});const Zr=U(Qr,[["__scopeId","data-v-1a90f282"]]),Va=t=>(ae("data-v-e8f5ad9d"),t=t(),oe(),t),Xr=Va(()=>n("p",{class:"heading ms-1 pt-2"},"Zielladen:",-1)),Kr={class:"table table-borderless"},ei=Va(()=>n("thead",null,[n("tr",null,[n("th",{class:"tableheader"},"Ziel"),n("th",{class:"tableheader"},"Limit"),n("th",{class:"tableheader"},"Zeit"),n("th",{class:"tableheader"},"Wiederholung"),n("th",{class:"tableheader"})])],-1)),ti={class:"tablecell"},ai={class:"tablecell"},oi={class:"tablecell"},ni={class:"tablecell"},si={class:"tablecell left"},ri=["href"],ii=V({__name:"CPConfigScheduled",props:{chargeTemplateId:{}},setup(t){const e=t,a={daily:"Täglich",once:"Einmal",weekly:"Wöchentlich"},o=g(()=>{let u=[];return rt[e.chargeTemplateId]&&(u=Object.values(rt[e.chargeTemplateId])),u});function r(u){return o.value[u].time}function l(u){return{color:o.value[u].active?"var(--color-switchGreen)":"var(--color-switchRed)"}}function d(u){return{"font-weight":o.value[u].active?"bold":"regular"}}return(u,c)=>(i(),p(z,null,[Xr,n("table",Kr,[ei,n("tbody",null,[(i(!0),p(z,null,X(o.value,(h,f)=>(i(),p("tr",{key:f,style:J(d(f))},[n("td",ti,$(h.limit.soc_scheduled)+"%",1),n("td",ai,$(h.limit.soc_limit)+"%",1),n("td",oi,$(r(f)),1),n("td",ni,$(a[h.frequency.selected]),1),n("td",si,[n("a",{href:"../../settings/#/VehicleConfiguration/charge_template/"+e.chargeTemplateId},[n("span",{class:j([h.active?"fa-toggle-on":"fa-toggle-off","fa"]),style:J(l(f)),type:"button"},null,6)],8,ri)])],4))),128))])])],64))}});const li=U(ii,[["__scopeId","data-v-e8f5ad9d"]]),La=t=>(ae("data-v-192e287b"),t=t(),oe(),t),ci=La(()=>n("p",{class:"heading ms-1 pt-2"},"Zeitpläne:",-1)),di={class:"table table-borderless"},ui=La(()=>n("thead",null,[n("tr",null,[n("th",{class:"tableheader"},"Von"),n("th",{class:"tableheader"},"Bis"),n("th",{class:"tableheader"},"Ladestrom"),n("th",{class:"tableheader"},"Wiederholung"),n("th",{class:"tableheader right"})])],-1)),hi={class:"tablecell"},pi={class:"tablecell"},gi={class:"tablecell"},mi={class:"tablecell"},vi={class:"tablecell left"},fi=["href"],_i=V({__name:"CPConfigTimed",props:{chargeTemplateId:{}},setup(t){const e=t,a={daily:"Täglich",once:"Einmal",weekly:"Wöchentlich"},o=g(()=>it[e.chargeTemplateId]?Object.values(it[e.chargeTemplateId])??[]:[]);function r(d){return{color:o.value[d].active?"var(--color-switchGreen)":"var(--color-switchRed)"}}function l(d){return{"font-weight":o.value[d].active?"bold":"regular"}}return(d,u)=>(i(),p(z,null,[ci,n("table",di,[ui,n("tbody",null,[(i(!0),p(z,null,X(o.value,(c,h)=>(i(),p("tr",{key:h,style:J(l(h))},[n("td",hi,$(c.time[0]),1),n("td",pi,$(c.time[1]),1),n("td",gi,$(c.current)+" A",1),n("td",mi,$(a[c.frequency.selected]),1),n("td",vi,[n("a",{href:"../../settings/#/VehicleConfiguration/charge_template/"+e.chargeTemplateId},[n("span",{class:j([c.active?"fa-toggle-on":"fa-toggle-off","fa"]),style:J(r(h)),type:"button"},null,6)],8,fi)])],4))),128))])])],64))}});const yi=U(_i,[["__scopeId","data-v-192e287b"]]),bi={class:"settingsheader mt-2 ms-1"},wi=V({__name:"CPConfigVehicle",props:{vehicleId:{}},setup(t){const e=t;return(a,o)=>(i(),p(z,null,[n("p",bi," Profile für "+$(s(Y)[e.vehicleId].name)+": ",1),y(F,{title:"Ladeprofil",icon:"fa-sliders",fullwidth:!0},{default:w(()=>[y(Ee,{modelValue:s(Y)[e.vehicleId].chargeTemplateId,"onUpdate:modelValue":o[0]||(o[0]=r=>s(Y)[e.vehicleId].chargeTemplateId=r),modelModifiers:{number:!0},options:Object.keys(s(ye)).map(r=>[s(ye)[+r].name,r])},null,8,["modelValue","options"])]),_:1}),y(F,{title:"Fahrzeug-Vorlage",icon:"fa-sliders",fullwidth:!0},{default:w(()=>[y(Ee,{modelValue:s(Y)[e.vehicleId].evTemplateId,"onUpdate:modelValue":o[1]||(o[1]=r=>s(Y)[e.vehicleId].evTemplateId=r),modelModifiers:{number:!0},options:Object.keys(s(Ft)).map(r=>[s(Ft)[+r].name,r])},null,8,["modelValue","options"])]),_:1})],64))}});const ki=U(wi,[["__scopeId","data-v-fcb57a44"]]),xi={class:"settingsheader mt-2 ms-1"},Si=V({__name:"CPChargeConfig",props:{chargepoint:{}},emits:["closeConfig"],setup(t){const a=t.chargepoint;return(o,r)=>(i(),p(z,null,[n("p",xi," Ladeeinstellungen für "+$(s(a).vehicleName)+": ",1),y(F,{title:"Lademodus",icon:"fa-charging-station",infotext:s(We).chargemode,fullwidth:!0},{default:w(()=>[y(Ee,{modelValue:s(a).chargeMode,"onUpdate:modelValue":r[0]||(r[0]=l=>s(a).chargeMode=l),options:Object.keys(s(pe)).map(l=>[s(pe)[l].name,l,s(pe)[l].color,s(pe)[l].icon])},null,8,["modelValue","options"])]),_:1},8,["infotext"]),y(F,{title:"Fahrzeug wechseln",icon:"fa-car",infotext:s(We).vehicle,fullwidth:!0},{default:w(()=>[y(Ee,{modelValue:s(a).connectedVehicle,"onUpdate:modelValue":r[1]||(r[1]=l=>s(a).connectedVehicle=l),modelModifiers:{number:!0},options:Object.values(s(Y)).map(l=>[l.name,l.id])},null,8,["modelValue","options"])]),_:1},8,["infotext"]),y(F,{title:"Sperren",icon:"fa-lock",infotext:s(We).locked,fullwidth:!0},{default:w(()=>[y(ce,{modelValue:s(a).isLocked,"onUpdate:modelValue":r[2]||(r[2]=l=>s(a).isLocked=l)},null,8,["modelValue"])]),_:1},8,["infotext"]),y(F,{title:"Priorität",icon:"fa-star",infotext:s(We).priority,fullwidth:!0},{default:w(()=>[y(ce,{modelValue:s(a).hasPriority,"onUpdate:modelValue":r[3]||(r[3]=l=>s(a).hasPriority=l)},null,8,["modelValue"])]),_:1},8,["infotext"]),y(F,{title:"Zeitplan",icon:"fa-clock",infotext:s(We).timeplan,fullwidth:!0},{default:w(()=>[y(ce,{modelValue:s(a).timedCharging,"onUpdate:modelValue":r[4]||(r[4]=l=>s(a).timedCharging=l)},null,8,["modelValue"])]),_:1},8,["infotext"]),s(te).active?(i(),M(F,{key:0,title:"Strompreisbasiert laden",icon:"fa-money-bill",infotext:s(We).pricebased,fullwidth:!0},{default:w(()=>[y(ce,{modelValue:s(a).etActive,"onUpdate:modelValue":r[5]||(r[5]=l=>s(a).etActive=l)},null,8,["modelValue"])]),_:1},8,["infotext"])):b("",!0)],64))}});const $i=U(Si,[["__scopeId","data-v-a64493d7"]]),Aa=t=>(ae("data-v-5286b19d"),t=t(),oe(),t),Mi=Aa(()=>n("p",{class:"settingsheader mt-2 ms-1"},"Preisbasiertes Laden:",-1)),Ci={class:"providername ms-1"},Ii=Aa(()=>n("hr",null,null,-1)),Pi={class:"container"},Bi={id:"pricechart",class:"p-0 m-0"},Vi={viewBox:"0 0 400 300"},Li=["id","origin","transform"],Ai={key:0,class:"p-3"},Oi={key:1,class:"d-flex justify-content-end"},Ti=["disabled"],ot=400,ua=250,ha=12,Di=V({__name:"PriceChart",props:{chargepoint:{},globalview:{type:Boolean}},setup(t){const e=t;let a=e.chargepoint?Z(e.chargepoint.etMaxPrice):Z(0);const o=Z(!1),r=Z(e.chargepoint),l=g({get(){return a.value},set(x){a.value=x,o.value=!0}});function d(){r.value&&(B[r.value.id].etMaxPrice=l.value),o.value=!1}const u=Z(!1),c={top:0,bottom:15,left:20,right:5},h=g(()=>{let x=[];return te.etPriceList.size>0&&te.etPriceList.forEach((S,A)=>{x.push([A,S])}),x}),f=g(()=>h.value.length>1?(ot-c.left-c.right)/h.value.length-1:0),C=g(()=>o.value?{background:"var(--color-charging)"}:{background:"var(--color-menu)"}),R=g(()=>{let x=Pe(h.value,S=>S[0]);return qe().range([c.left,ot-c.left-c.right]).domain(x)}),I=g(()=>{let x=Pe(h.value,S=>S[1]);return x[0]=Math.floor(x[0]-1),x[1]=Math.floor(x[1]+1),x}),L=g(()=>Ye().range([ua-c.bottom,0]).domain(I.value)),E=g(()=>{const x=vt(),S=[[c.left,L.value(l.value)],[ot-c.right,L.value(l.value)]];return x(S)}),T=g(()=>{const x=vt(),S=[[c.left,L.value(0)],[ot-c.right,L.value(0)]];return x(S)}),D=g(()=>st(R.value).ticks(6).tickSize(5).tickFormat(tt("%H:%M"))),q=g(()=>ut(L.value).ticks(6).tickSizeInner(-(ot-c.right-c.left)).tickFormat(x=>x.toString())),P=g(()=>{u.value==!0;const x=le("g#"+k.value);x.selectAll("*").remove(),x.selectAll("bar").data(h.value).enter().append("g").append("rect").attr("class","bar").attr("x",we=>R.value(we[0])).attr("y",we=>L.value(we[1])).attr("width",f.value).attr("height",we=>L.value(I.value[0])-L.value(we[1])).attr("fill",we=>we[1]<=l.value?"var(--color-charging)":"var(--color-axis)");const A=x.append("g").attr("class","axis").call(D.value);A.attr("transform","translate(0,"+(ua-c.bottom)+")"),A.selectAll(".tick").attr("font-size",ha).attr("color","var(--color-bg)"),A.selectAll(".tick line").attr("stroke","var(--color-fg)").attr("stroke-width","0.5"),A.select(".domain").attr("stroke","var(--color-bg");const K=x.append("g").attr("class","axis").call(q.value);return K.attr("transform","translate("+c.left+",0)"),K.selectAll(".tick").attr("font-size",ha).attr("color","var(--color-bg)"),K.selectAll(".tick line").attr("stroke","var(--color-bg)").attr("stroke-width","0.5"),K.select(".domain").attr("stroke","var(--color-bg)"),I.value[0]<0&&x.append("path").attr("d",T.value).attr("stroke","var(--color-fg)"),x.append("path").attr("d",E.value).attr("stroke","yellow"),"PriceChart.vue"}),k=g(()=>e.chargepoint?"priceChartCanvas"+e.chargepoint.id:"priceChartCanvasGlobal");return Be(()=>{u.value=!u.value}),(x,S)=>(i(),p(z,null,[Mi,n("p",Ci,"Anbieter: "+$(s(te).etProvider),1),Ii,n("div",Pi,[n("figure",Bi,[(i(),p("svg",Vi,[n("g",{id:k.value,origin:P.value,transform:"translate("+c.top+","+c.right+")"},null,8,Li)]))])]),x.chargepoint!=null?(i(),p("div",Ai,[x.chargepoint.etActive?(i(),M(Ae,{key:0,id:"foo",modelValue:l.value,"onUpdate:modelValue":S[0]||(S[0]=A=>l.value=A),min:-25,max:95,step:.1,decimals:1,unit:"ct"},null,8,["modelValue"])):b("",!0)])):b("",!0),x.chargepoint!=null?(i(),p("div",Oi,[n("span",{class:"me-3 pt-0",onClick:d},[n("button",{type:"button",class:"btn btn-secondary",style:J(C.value),disabled:!o.value}," Bestätigen ",12,Ti)])])):b("",!0)],64))}});const Oa=U(Di,[["__scopeId","data-v-5286b19d"]]),Ze=t=>(ae("data-v-1164316d"),t=t(),oe(),t),Wi={class:"status-string"},Gi={style:{color:"red"}},zi={class:"m-0 mt-4 p-0 grid-col-12 tabarea"},Ei={class:"nav nav-tabs nav-justified mx-1 mt-1",role:"tablist"},ji=["data-bs-target"],Ui=Ze(()=>n("i",{class:"fa-solid fa-charging-station"},null,-1)),Fi=[Ui],Ni=["data-bs-target"],Hi=Ze(()=>n("i",{class:"fa-solid fa-lg fa-bolt"},null,-1)),Ri=[Hi],Ji=["data-bs-target"],qi=Ze(()=>n("i",{class:"fa-solid fa-solar-panel me-1"},null,-1)),Yi=[qi],Qi=["data-bs-target"],Zi=Ze(()=>n("i",{class:"fa-solid fa-bullseye me-1"},null,-1)),Xi=[Zi],Ki=["data-bs-target"],el=Ze(()=>n("i",{class:"fa-solid fa-clock"},null,-1)),tl=[el],al=["data-bs-target"],ol=Ze(()=>n("i",{class:"fa-solid fa-rectangle-list"},null,-1)),nl=[ol],sl=["data-bs-target"],rl=Ze(()=>n("i",{class:"fa-solid fa-chart-line"},null,-1)),il=[rl],ll={id:"settingsPanes",class:"tab-content mx-1 p-1 pb-3"},cl=["id"],dl=["id"],ul=["id"],hl=["id"],pl=["id"],gl=["id"],ml=["id"],vl=V({__name:"CPChargeConfigPanel",props:{chargepoint:{}},emits:["closeConfig"],setup(t){const a=t.chargepoint,o=g(()=>ye[a.chargeTemplate]),r=g(()=>a.id);return Be(()=>{}),(l,d)=>(i(),p(z,null,[y(F,{title:"Status",icon:"fa-info-circle",fullwidth:!0,class:"item"},{default:w(()=>[n("span",Wi,$(s(a).stateStr),1)]),_:1}),s(a).faultState!=0?(i(),M(F,{key:0,title:"Fehler",class:"grid-col-12",icon:"fa-triangle-exclamation"},{default:w(()=>[n("span",Gi,$(s(a).faultStr),1)]),_:1})):b("",!0),n("div",zi,[n("nav",Ei,[n("a",{class:"nav-link active","data-bs-toggle":"tab","data-bs-target":"#chargeSettings"+r.value},Fi,8,ji),l.chargepoint.chargeMode=="instant_charging"?(i(),p("a",{key:0,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#instantSettings"+r.value},Ri,8,Ni)):b("",!0),l.chargepoint.chargeMode=="pv_charging"?(i(),p("a",{key:1,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#pvSettings"+r.value},Yi,8,Ji)):b("",!0),l.chargepoint.chargeMode=="scheduled_charging"?(i(),p("a",{key:2,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#scheduledSettings"+r.value},Xi,8,Qi)):b("",!0),l.chargepoint.timedCharging?(i(),p("a",{key:3,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#timeSettings"+r.value},tl,8,Ki)):b("",!0),n("a",{class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#carSettings"+r.value},nl,8,al),s(te).active&&s(a).etActive?(i(),p("a",{key:4,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#priceChart"+r.value},il,8,sl)):b("",!0)]),n("div",ll,[n("div",{id:"chargeSettings"+r.value,class:"tab-pane active",role:"tabpanel","aria-labelledby":"instant-tab"},[y($i,{chargepoint:l.chargepoint},null,8,["chargepoint"])],8,cl),n("div",{id:"instantSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"instant-tab"},[y(Fr,{chargepoint:s(a),vehicles:s(Y),"charge-templates":s(ye)},null,8,["chargepoint","vehicles","charge-templates"])],8,dl),n("div",{id:"pvSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"pv-tab"},[y(Zr,{chargepoint:s(a),vehicles:s(Y),"charge-templates":s(ye)},null,8,["chargepoint","vehicles","charge-templates"])],8,ul),n("div",{id:"scheduledSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"scheduled-tab"},[o.value!=null?(i(),M(li,{key:0,"charge-template-id":s(a).chargeTemplate},null,8,["charge-template-id"])):b("",!0)],8,hl),n("div",{id:"timeSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"time-tab"},[o.value!=null?(i(),M(yi,{key:0,"charge-template-id":s(a).chargeTemplate},null,8,["charge-template-id"])):b("",!0)],8,pl),n("div",{id:"carSettings"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"car-tab"},[s(Y)[s(a).connectedVehicle]!=null?(i(),M(ki,{key:0,"vehicle-id":s(a).connectedVehicle},null,8,["vehicle-id"])):b("",!0)],8,gl),n("div",{id:"priceChart"+r.value,class:"tab-pane",role:"tabpanel","aria-labelledby":"price-tab"},[s(Y)[s(a).connectedVehicle]!=null?(i(),M(Oa,{key:0,chargepoint:s(a)},null,8,["chargepoint"])):b("",!0)],8,ml)])])],64))}});const Ht=U(vl,[["__scopeId","data-v-1164316d"]]),fl=V({__name:"BatterySymbol",props:{soc:{}},setup(t){const e=t,a=g(()=>e.soc<=10?"fa-battery-empty":e.soc<50?"fa-battery-quarter":e.soc<75?"fa-battery-half":e.soc<95?"fa-battery-three-quarters":"fa-battery-full");return(o,r)=>(i(),p("span",null,[n("i",{class:j(["fa batIcon",a.value])},null,2),N(" "+$(Math.round(o.soc)+"%"),1)]))}});const $t=U(fl,[["__scopeId","data-v-a0bd055c"]]),je=V({__name:"FormatWattH",props:{wattH:{}},setup(t){const e=t,a=g(()=>ct(e.wattH,m.decimalPlaces));return(o,r)=>(i(),p("span",null,$(a.value),1))}}),_l=t=>(ae("data-v-ebc57eaa"),t=t(),oe(),t),yl={class:"wb-widget p-0 m-0 shadow widgetWidth"},bl={class:"py-4 px-3 d-flex justify-content-between align-items-center"},wl=_l(()=>n("div",{class:"p-0"},"(title goes here)",-1)),kl={class:"p-0",style:{"text-align":"right"}},xl={class:"grid12 pb-3"},Sl=V({__name:"WbWidgetFlex",props:{variableWidth:{type:Boolean},fullWidth:{type:Boolean}},setup(t){const e=t,a=g(()=>e.fullWidth?"col-12":e.variableWidth&&m.preferWideBoxes?"col-lg-6":"col-lg-4");return(o,r)=>(i(),p("div",{class:j(["p-2 m-0 d-flex",a.value])},[n("div",yl,[n("div",bl,[n("h3",null,[he(o.$slots,"title",{},()=>[wl],!0),he(o.$slots,"subtitle",{},void 0,!0)]),n("div",kl,[he(o.$slots,"buttons",{},void 0,!0)])]),n("div",xl,[he(o.$slots,"default",{},void 0,!0)])])],2))}});const Oe=U(Sl,[["__scopeId","data-v-ebc57eaa"]]),Xe=t=>(ae("data-v-88981127"),t=t(),oe(),t),$l={class:"d-flex justify-content-center align-items-center"},Ml=Xe(()=>n("span",{class:"fa-solid fa-charging-station"}," ",-1)),Cl={key:0,class:"badge rounded-pill errorbadge ms-3"},Il=Xe(()=>n("span",{class:"fa-solid fa-lg ps-1 fa-ellipsis-vertical"},null,-1)),Pl=[Il],Bl={key:0},Vl={class:"targetCurrent"},Ll={key:1,class:"row m-0 mt-0 p-0"},Al={class:"col m-0 p-0"},Ol={key:0},Tl={class:"col"},Dl=Xe(()=>n("i",{class:"fa-solid fa-sm fa-car me-2"},null,-1)),Wl={key:0,class:"me-1 fa-solid fa-xs fa-star ps-1"},Gl={key:1,class:"me-0 fa-solid fa-xs fa-coins ps-0"},zl={class:"grid12"},El={key:0,class:"me-1 fa-solid fa-xs fa-clock ps-1"},jl={key:2,class:"socEditor rounded mt-2 d-flex flex-column align-items-center grid-col-12 grid-left"},Ul=Xe(()=>n("span",{class:"d-flex m-1 p-0 socEditTitle"},"Ladestand einstellen:",-1)),Fl={class:"d-flex justify-content-stretch align-items-center"},Nl={key:0,class:"fa-solid fa-sm fas fa-edit ms-2"},Hl=["id"],Rl=Xe(()=>n("span",{type:"button",class:"d-flex fa-solid fa-lg ps-1 fa-circle-check"},null,-1)),Jl=[Rl],ql=Xe(()=>n("span",{class:"fas fa-gear"}," ",-1)),Yl=Xe(()=>n("span",{class:"fa-solid fa-lg ps-1 fa-circle-check"},null,-1)),Ql=[Yl],Zl=V({__name:"CPChargePoint",props:{chargepoint:{},fullWidth:{type:Boolean}},setup(t){const e=t,a=Z(e.chargepoint),o=g({get(){return e.chargepoint.chargeMode},set(x){B[e.chargepoint.id].chargeMode=x}}),r=g(()=>(Math.round(e.chargepoint.current*10)/10).toLocaleString(void 0)+" A"),l=g(()=>(Math.round(e.chargepoint.realCurrent*10)/10).toLocaleString(void 0)+" A"),d=g(()=>{const x=e.chargepoint.rangeCharged,S=e.chargepoint.chargedSincePlugged,A=e.chargepoint.dailyYield;return S>0?Math.round(x/S*A).toString()+" "+e.chargepoint.rangeUnit:"0"}),u=g(()=>e.chargepoint.isLocked?"Gesperrt":e.chargepoint.isCharging?"Lädt":e.chargepoint.isPluggedIn?"Bereit":"Frei"),c=g(()=>e.chargepoint.isLocked?"var(--color-evu)":e.chargepoint.isCharging?"var(--color-charging)":e.chargepoint.isPluggedIn?"var(--color-battery)":"var(--color-axis)"),h=g(()=>{let x="";return e.chargepoint.isLocked?x="fa-lock":e.chargepoint.isCharging?x=" fa-bolt":e.chargepoint.isPluggedIn&&(x="fa-plug"),"fa "+x}),f=g(()=>{switch(e.chargepoint.chargeMode){case"stop":return{color:"var(--fg)"};default:return{color:pe[e.chargepoint.chargeMode].color}}}),C=g(()=>e.chargepoint.soc),R=g(()=>({color:e.chargepoint.color})),I=g(()=>e.chargepoint.etMaxPrice>=+P.value?{color:"var(--color-charging)"}:{color:"var(--color-menu)"}),L=Z(!1),E=Z(!1);function T(){ee("socUpdate",1,e.chargepoint.connectedVehicle),B[e.chargepoint.id].waitingForSoc=!0}function D(){ee("setSoc",q.value,e.chargepoint.connectedVehicle),E.value=!1}const q=g({get(){return e.chargepoint.soc},set(x){B[e.chargepoint.id].soc=x}}),P=g(()=>{const[x]=te.etPriceList.values();return(Math.round(x*10)/10).toFixed(1)}),k=Z(!1);return(x,S)=>(i(),p(z,null,[L.value?b("",!0):(i(),M(xt,{key:0,"variable-width":!0,"full-width":e.fullWidth},{title:w(()=>[n("span",$l,[n("span",{style:J(R.value),onClick:S[0]||(S[0]=A=>L.value=!L.value)},[Ml,N(" "+$(e.chargepoint.name),1)],4),a.value.faultState==2?(i(),p("span",Cl,"Fehler")):b("",!0)])]),buttons:w(()=>[n("span",{type:"button",class:"ms-2 ps-5 pt-1",style:J(f.value),onClick:S[1]||(S[1]=A=>L.value=!L.value)},Pl,4)]),footer:w(()=>[L.value?b("",!0):(i(),p("div",Ol,[n("div",{class:"row",onClick:S[3]||(S[3]=A=>L.value=!L.value)},[n("div",Tl,[n("h3",null,[Dl,N(" "+$(x.chargepoint.vehicleName)+" ",1),x.chargepoint.hasPriority?(i(),p("span",Wl)):b("",!0),x.chargepoint.etActive?(i(),p("span",Gl)):b("",!0)])])]),n("div",zl,[y(Ma,{id:"chargemode-"+x.chargepoint.name,modelValue:o.value,"onUpdate:modelValue":S[4]||(S[4]=A=>o.value=A),class:"chargemodes mt-3 mb-3",options:Object.keys(s(pe)).map(A=>({text:s(pe)[A].name,value:A,color:s(pe)[A].color,icon:s(pe)[A].icon,active:s(pe)[A].mode==x.chargepoint.chargeMode}))},null,8,["id","modelValue","options"]),x.chargepoint.isSocConfigured?(i(),M(Q,{key:0,heading:"Ladestand:",class:"grid-col-4 grid-left"},{default:w(()=>[y($t,{soc:C.value,class:"me-2"},null,8,["soc"]),x.chargepoint.isSocConfigured&&x.chargepoint.isSocManual?(i(),p("i",{key:0,class:"fa-solid fa-sm fas fa-edit",style:J({color:"var(--color-menu)"}),onClick:S[5]||(S[5]=A=>E.value=!E.value)},null,4)):b("",!0),x.chargepoint.isSocConfigured&&!x.chargepoint.isSocManual?(i(),p("i",{key:1,type:"button",class:j(["fa-solid fa-sm",x.chargepoint.waitingForSoc?"fa-spinner fa-spin":"fa-sync"]),style:J({color:"var(--color-menu)"}),onClick:T},null,6)):b("",!0)]),_:1})):b("",!0),x.chargepoint.isSocConfigured?(i(),M(Q,{key:1,heading:"Reichweite:",class:"grid-col-4"},{default:w(()=>[N($(s(Y)[e.chargepoint.connectedVehicle]?Math.round(s(Y)[e.chargepoint.connectedVehicle].range):0)+" km ",1)]),_:1})):b("",!0),y(Q,{heading:"Zeitplan:",class:"grid-col-4 grid-right"},{default:w(()=>[x.chargepoint.timedCharging?(i(),p("span",El)):b("",!0),N(" "+$(e.chargepoint.timedCharging?"Ja":"Nein"),1)]),_:1}),E.value?(i(),p("div",jl,[Ul,n("span",Fl,[n("span",null,[y(Ae,{id:"manualSoc",modelValue:q.value,"onUpdate:modelValue":S[6]||(S[6]=A=>q.value=A),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])])]),n("span",{type:"button",class:"fa-solid d-flex fa-lg me-2 mb-3 align-self-end fa-circle-check",onClick:D})])):b("",!0),s(te).active?(i(),M(Q,{key:3,heading:"Preisladen:",class:"grid-col-4 grid-left"},{default:w(()=>[y(ce,{modelValue:a.value.etActive,"onUpdate:modelValue":S[7]||(S[7]=A=>a.value.etActive=A)},null,8,["modelValue"])]),_:1})):b("",!0),s(te).active?(i(),M(Q,{key:4,heading:"max. Preis:",class:"grid-col-4"},{default:w(()=>[n("span",{type:"button",onClick:S[8]||(S[8]=A=>k.value=!k.value)},[N($(e.chargepoint.etActive?(Math.round(e.chargepoint.etMaxPrice*10)/10).toFixed(1)+" ct":"-")+" ",1),e.chargepoint.etActive?(i(),p("i",Nl)):b("",!0)])]),_:1})):b("",!0),s(te).active?(i(),M(Q,{key:5,heading:"akt. Preis:",class:"grid-col-4 grid-right"},{default:w(()=>[n("span",{style:J(I.value)},$(P.value)+" ct ",5)]),_:1})):b("",!0),k.value?(i(),p("div",{key:6,id:"priceChartInline"+e.chargepoint.id,class:"d-flex flex-column rounded priceEditor grid-col-12"},[s(Y)[e.chargepoint.connectedVehicle]!=null?(i(),M(Oa,{key:0,chargepoint:e.chargepoint},null,8,["chargepoint"])):b("",!0),n("span",{class:"d-flex ms-2 my-4 pe-3 pt-1 d-flex align-self-end",style:J(f.value),onClick:S[9]||(S[9]=A=>k.value=!1)},Jl,4)],8,Hl)):b("",!0)])]))]),default:w(()=>[L.value?b("",!0):(i(),p("div",Bl,[n("div",{class:"grid12",onClick:S[2]||(S[2]=A=>L.value=!L.value)},[y(Q,{heading:"Status:",class:"grid-col-4 grid-left"},{default:w(()=>[n("span",{style:J({color:c.value})},[n("i",{class:j(h.value)},null,2),N(" "+$(u.value),1)],4)]),_:1}),y(Q,{heading:"Geladen:",class:"grid-col-4"},{default:w(()=>[y(je,{"watt-h":x.chargepoint.dailyYield},null,8,["watt-h"])]),_:1}),y(Q,{heading:"gel. Reichw.:",class:"grid-col-4 grid-right"},{default:w(()=>[N($(d.value),1)]),_:1}),e.chargepoint.power>0?(i(),M(Q,{key:0,heading:"Leistung:",class:"grid-col-3 grid-left"},{default:w(()=>[y(ht,{watt:e.chargepoint.power},null,8,["watt"])]),_:1})):b("",!0),e.chargepoint.power>0?(i(),M(Q,{key:1,heading:"Strom:",class:"grid-col-3"},{default:w(()=>[N($(l.value),1)]),_:1})):b("",!0),e.chargepoint.power>0?(i(),M(Q,{key:2,heading:"Phasen:",class:"grid-col-3"},{default:w(()=>[N($(e.chargepoint.phasesInUse),1)]),_:1})):b("",!0),e.chargepoint.power>0?(i(),M(Q,{key:3,heading:"Sollstrom:",class:"grid-col-3 grid-right"},{default:w(()=>[n("span",Vl,$(r.value),1)]),_:1})):b("",!0)])])),L.value?(i(),p("div",Ll,[n("div",Al,[x.chargepoint!=null?(i(),M(Ht,{key:0,chargepoint:x.chargepoint},null,8,["chargepoint"])):b("",!0)])])):b("",!0)]),_:1},8,["full-width"])),L.value?(i(),M(Oe,{key:1,"full-width":e.fullWidth},{title:w(()=>[n("span",{style:J(R.value),onClick:S[10]||(S[10]=A=>L.value=!L.value)},[ql,N(" Einstellungen "+$(e.chargepoint.name),1)],4)]),buttons:w(()=>[n("span",{class:"ms-2 pt-1",style:J(f.value),onClick:S[11]||(S[11]=A=>L.value=!L.value)},Ql,4)]),default:w(()=>[x.chargepoint!=null?(i(),M(Ht,{key:0,chargepoint:x.chargepoint},null,8,["chargepoint"])):b("",!0)]),_:1},8,["full-width"])):b("",!0)],64))}});const Xl=U(Zl,[["__scopeId","data-v-88981127"]]);const Ta=t=>(ae("data-v-eaefae30"),t=t(),oe(),t),Kl=["id"],ec={class:"modal-dialog modal-lg modal-fullscreen-lg-down"},tc={class:"modal-content"},ac={class:"modal-header"},oc={class:"modal-title"},nc=Ta(()=>n("button",{type:"button",class:"btn-close buttonTextSize d-flex justify-content-center pt-3 pb-0","data-bs-dismiss":"modal"},[n("i",{class:"fa-solid fa-lg fa-rectangle-xmark m-0 p-0"})],-1)),sc={class:"modal-body",style:{"background-color":"var(--color-bg)"}},rc=Ta(()=>n("button",{class:"btn btn-secondary float-end mt-3 ms-1","data-bs-dismiss":"modal"}," Schließen ",-1)),ic=V({__name:"ModalComponent",props:{modalId:{}},setup(t){const e=t;return Be(()=>{}),(a,o)=>(i(),p("div",{id:e.modalId,class:"modal fade"},[n("div",ec,[n("div",tc,[n("div",ac,[n("h3",oc,[he(a.$slots,"title",{},void 0,!0)]),nc]),n("div",sc,[he(a.$slots,"default",{},void 0,!0),rc])])])],8,Kl))}});const Da=U(ic,[["__scopeId","data-v-eaefae30"]]),lc=t=>(ae("data-v-0496b1f6"),t=t(),oe(),t),cc={class:"d-flex align-items-center"},dc={class:"cpname"},uc={class:"d-flex float-right justify-content-end align-items-center"},hc=["data-bs-target"],pc=["data-bs-target"],gc={class:"subgrid"},mc={key:0,class:"d-flex justify-content-center align-items-center vehiclestatus"},vc={class:"d-flex flex-column align-items-center px-0"},fc={class:"d-flex justify-content-center flex-wrap"},_c={class:"d-flex align-items-center"},yc={class:"badge phasesInUse rounded-pill"},bc={class:"d-flex flex-wrap justify-content-center chargeinfo"},wc={class:"me-1"},kc={key:0,class:"subgrid socEditRow m-0 p-0"},xc={class:"socEditor rounded mt-2 d-flex flex-column align-items-center grid-col-12"},Sc=lc(()=>n("span",{class:"d-flex m-1 p-0 socEditTitle"},"Ladestand einstellen:",-1)),$c={class:"d-flex justify-content-stretch align-items-center"},Mc=V({__name:"CpsListItem2",props:{chargepoint:{}},setup(t){const e=t,a=Z(!1),o=g(()=>pe[e.chargepoint.chargeMode].icon),r=g(()=>{let D="";return e.chargepoint.isLocked?D="fa-lock":e.chargepoint.isCharging?D=" fa-bolt":e.chargepoint.isPluggedIn&&(D="fa-plug"),"fa "+D}),l=g(()=>{let D="var(--color-axis)";return e.chargepoint.isLocked?D="var(--color-evu)":e.chargepoint.isCharging?D="var(--color-charging)":e.chargepoint.isPluggedIn&&(D="var(--color-battery)"),{color:D,border:`0.5px solid ${D} `}}),d=g(()=>{switch(e.chargepoint.chargeMode){case"stop":return{"background-color":"var(--fg)"};default:return{"background-color":pe[e.chargepoint.chargeMode].color}}}),u=g(()=>xe(e.chargepoint.power,m.decimalPlaces)),c=g(()=>e.chargepoint.current+" A"),h=g(()=>e.chargepoint.phasesInUse),f=g(()=>e.chargepoint.dailyYield>0?ct(e.chargepoint.dailyYield,m.decimalPlaces):"0 Wh"),C=g(()=>"("+Math.round(e.chargepoint.rangeCharged).toString()+" "+e.chargepoint.rangeUnit+")"),R=g(()=>pe[e.chargepoint.chargeMode].name);function I(){ee("socUpdate",1,e.chargepoint.connectedVehicle),B[e.chargepoint.id].waitingForSoc=!0}function L(){ee("setSoc",E.value,e.chargepoint.connectedVehicle),a.value=!1}const E=g({get(){return e.chargepoint.soc},set(D){B[e.chargepoint.id].soc=D}}),T=g(()=>e.chargepoint.isLocked?"Gesperrt":e.chargepoint.isCharging?"Lädt":e.chargepoint.isPluggedIn?"Bereit":"Frei");return(D,q)=>(i(),p(z,null,[y(Qe,{titlecolor:D.chargepoint.color,fullwidth:!0,small:!0},{title:w(()=>[n("div",cc,[n("span",dc,$(D.chargepoint.name),1),n("span",{class:"badge rounded-pill statusbadge mx-2",style:J(l.value)},[n("i",{class:j([r.value,"me-1"])},null,2),N(" "+$(T.value),1)],4)])]),buttons:w(()=>[n("div",uc,[n("span",{class:"badge rounded-pill modebadge mx-2",type:"button",style:J(d.value),"data-bs-toggle":"modal","data-bs-target":"#cpsconfig-"+D.chargepoint.id},[n("i",{class:j(["fa me-1",o.value])},null,2),N(" "+$(R.value),1)],12,hc),n("span",{class:"fa-solid ms-2 fa-lg fa-edit ps-1",type:"button","data-bs-toggle":"modal","data-bs-target":"#cpsconfig-"+D.chargepoint.id},null,8,pc)])]),default:w(()=>[n("div",gc,[y(Q,{heading:D.chargepoint.vehicleName,small:!0,class:"grid-left grid-col-4"},{default:w(()=>[D.chargepoint.isSocConfigured?(i(),p("span",mc,[y($t,{class:"me-1",soc:D.chargepoint.soc},null,8,["soc"]),D.chargepoint.isSocConfigured&&D.chargepoint.isSocManual?(i(),p("i",{key:0,type:"button",class:"fa-solid fa-sm fas fa-edit",style:J({color:"var(--color-menu)"}),onClick:q[0]||(q[0]=P=>a.value=!a.value)},null,4)):b("",!0),D.chargepoint.isSocConfigured&&!D.chargepoint.isSocManual?(i(),p("i",{key:1,type:"button",class:j(["fa-solid fa-sm me-2",D.chargepoint.waitingForSoc?"fa-spinner fa-spin":"fa-sync"]),style:J({color:"var(--color-menu)"}),onClick:I},null,6)):b("",!0)])):b("",!0)]),_:1},8,["heading"]),y(Q,{heading:"Parameter:",small:!0,class:"grid-col-4"},{default:w(()=>[n("div",vc,[n("span",fc,[n("span",null,$(u.value),1),n("span",_c,[n("span",yc,$(h.value),1),n("span",null,$(c.value),1)])])])]),_:1}),y(Q,{heading:"Geladen:",small:!0,class:"grid-right grid-col-4"},{default:w(()=>[n("div",bc,[n("span",wc,$(f.value),1),n("span",null,$(C.value),1)])]),_:1})]),a.value?(i(),p("div",kc,[n("div",xc,[Sc,n("span",$c,[n("span",null,[y(Ae,{id:"manualSoc",modelValue:E.value,"onUpdate:modelValue":q[1]||(q[1]=P=>E.value=P),min:0,max:100,step:1,unit:"%"},null,8,["modelValue"])])]),n("span",{type:"button",class:"fa-solid d-flex fa-lg me-2 mb-3 align-self-end fa-circle-check",onClick:L})])])):b("",!0)]),_:1},8,["titlecolor"]),(i(),M(ro,{to:"body"},[(i(),M(Da,{key:D.chargepoint.id,"modal-id":"cpsconfig-"+D.chargepoint.id},{title:w(()=>[N(" Konfiguration: "+$(D.chargepoint.name),1)]),default:w(()=>[D.chargepoint!=null?(i(),M(Ht,{key:0,chargepoint:D.chargepoint},null,8,["chargepoint"])):b("",!0)]),_:1},8,["modal-id"]))]))],64))}});const Cc=U(Mc,[["__scopeId","data-v-0496b1f6"]]),Ic=t=>(ae("data-v-8c6313d6"),t=t(),oe(),t),Pc=Ic(()=>n("span",{class:"fa-solid fa-charging-station"}," ",-1)),Bc={class:"d-flex float-right justify-content-end align-items-center"},Vc={key:0,class:"badge rounded-pill pricebadge mb-1 ms-2"},Lc=V({__name:"CpSimpleList2",setup(t){const e=g(()=>Object.values(B));return(a,o)=>(i(),M(Oe,{"variable-width":!0},{title:w(()=>[Pc,N(" Ladepunkte ")]),buttons:w(()=>[n("div",Bc,[s(te).active?(i(),p("span",Vc,"Strompreis: "+$(s(te).etCurrentPriceString),1)):b("",!0)])]),default:w(()=>[(i(!0),p(z,null,X(e.value,(r,l)=>(i(),p("div",{key:l,class:"subgrid pb-2"},[y(Cc,{chargepoint:r},null,8,["chargepoint"])]))),128))]),_:1}))}});const Ac=U(Lc,[["__scopeId","data-v-8c6313d6"]]),Bt=V({__name:"ChargePointList",props:{shortlist:{type:Boolean}},setup(t){const e=t;let a,o;const r=g(()=>{let u=Object.values(B);return d(),u}),l=g(()=>{switch(Object.values(B).length){case 0:return m.preferWideBoxes?"col-lg-6":"col-lg-4";case 1:return m.preferWideBoxes?"col-lg-6":"col-lg-4";case 2:return m.preferWideBoxes?"col-lg-12":"col-lg-8 ";default:return"col-lg-12"}});function d(){let u=document.querySelector(".swiper-chargepoints");if(u&&(o=u,a=o.swiper),a){let c="1";if(Ne.value)switch(Object.values(B).length){case 0:case 1:c="1";break;case 2:c="2";break;default:c="3"}o.setAttribute("slides-per-view",c),a.update()}}return Be(()=>{let u=document.querySelector(".swiper-chargepoints");u&&(o=u,a=o.swiper),window.addEventListener("resize",d),window.document.addEventListener("visibilitychange",d)}),(u,c)=>(i(),p(z,null,[e.shortlist?b("",!0):(i(),p("swiper-container",{key:0,"space-between":0,"slides-per-view":1,pagination:{clickable:!0},class:j(["cplist m-0 p-0 swiper-chargepoints d-flex align-items-stretch",l.value])},[(i(!0),p(z,null,X(r.value,h=>(i(),p("swiper-slide",{key:h.id},[n("div",{class:j([s(Ne)?"mb-0":"mb-5","d-flex align-items-stretch flex-fill"])},[y(Xl,{chargepoint:h,"full-width":!0},null,8,["chargepoint"])],2)]))),128))],2)),e.shortlist?(i(),M(Ac,{key:1})):b("",!0)],64))}}),Oc={class:"container-fluid p-0 m-0"},Tc={class:"row p-0 m-0"},Dc={class:"d-grid gap-2"},Wc=["onClick"],Gc={class:"col-md-4 p-1"},zc={class:"d-grid gap-2"},Ec={key:0},jc=n("hr",null,null,-1),Uc=n("div",{class:"row"},[n("div",{class:"col text-center"},"Vorrang im Lademodus PV-Laden:")],-1),Fc={class:"row justify-content-center m-1 p-0"},Nc={class:"col-lg-4 p-1 m-0"},Hc={class:"d-grid gap-2"},Rc=n("span",{class:"fas fa-car ms-2"}," ",-1),Jc={class:"col-lg-4 p-1 m-0"},qc={class:"d-grid gap-2"},Yc=n("span",{class:"fas fa-car-battery ms-2"}," ",-1),Qc={class:"col-lg-4 p-1 m-0"},Zc={class:"d-grid gap-2"},Xc=n("span",{class:"fas fa-battery-half"}," ",-1),Kc=V({__name:"BBSelect",props:{cpId:{}},setup(t){const e=t,a=[{mode:"instant_charging",name:"Sofort",color:"var(--color-charging)"},{mode:"pv_charging",name:"PV",color:"var(--color-pv)"},{mode:"scheduled_charging",name:"Zielladen",color:"var(--color-battery)"},{mode:"standby",name:"Standby",color:"var(--color-axis)"},{mode:"stop",name:"Stop",color:"var(--color-axis)"}],o=g(()=>B[e.cpId]);function r(h){return h==o.value.chargeMode?"btn btn-success buttonTextSize":"btn btn-secondary buttonTextSize"}function l(h){return me.pvBatteryPriority==h?"btn-success":"btn-secondary"}function d(h){o.value.chargeMode=h}function u(h){o.value.isLocked=h}function c(h){me.pvBatteryPriority=h}return(h,f)=>(i(),p("div",Oc,[n("div",Tc,[(i(),p(z,null,X(a,(C,R)=>n("div",{key:R,class:"col-md-4 p-1"},[n("div",Dc,[n("button",{type:"button",class:j(r(C.mode)),style:{},onClick:I=>d(C.mode)},$(C.name),11,Wc)])])),64)),n("div",Gc,[n("div",zc,[o.value.isLocked?(i(),p("button",{key:0,type:"button",class:"btn btn-outline-success buttonTextSize","data-bs-dismiss":"modal",onClick:f[0]||(f[0]=C=>u(!1))}," Entsperren ")):b("",!0),o.value.isLocked?b("",!0):(i(),p("button",{key:1,type:"button",class:"btn btn-outline-danger buttonTextSize","data-bs-dismiss":"modal",onClick:f[1]||(f[1]=C=>u(!0))}," Sperren "))])])]),s(me).isBatteryConfigured&&o.value.chargeMode=="pv_charging"?(i(),p("div",Ec,[jc,Uc,n("div",Fc,[n("div",Nc,[n("div",Hc,[n("button",{id:"evPriorityBtn",type:"button",class:j(["priorityModeBtn btn btn-secondary buttonTextSize",l("ev_mode")]),"data-dismiss":"modal",priority:"1",onClick:f[2]||(f[2]=C=>c("ev_mode"))},[N(" EV "),Rc],2)])]),n("div",Jc,[n("div",qc,[n("button",{id:"batteryPriorityBtn",type:"button",class:j(["priorityModeBtn btn btn-secondary buttonTextSize",l("bat_mode")]),"data-dismiss":"modal",priority:"0",onClick:f[3]||(f[3]=C=>c("bat_mode"))},[N(" Speicher "),Yc],2)])]),n("div",Qc,[n("div",Zc,[n("button",{id:"minsocPriorityBtn",type:"button",class:j(["priorityModeBtn btn btn-secondary buttonTextSize",l("min_soc_bat_mode")]),"data-dismiss":"modal",priority:"0",onClick:f[4]||(f[4]=C=>c("min_soc_bat_mode"))},[N(" MinSoc "),Xc],2)])])])])):b("",!0)]))}}),ed={class:"col-lg-4 p-0 m-0 mt-1"},td={class:"d-grid gap-2"},ad=["data-bs-target"],od={class:"m-0 p-0 d-flex justify-content-between align-items-center"},nd={class:"mx-1 badge rounded-pill smallTextSize plugIndicator"},sd={key:0,class:"ms-2"},rd={class:"m-0 p-0"},id={key:0,class:"ps-1"},ld=V({__name:"BbChargeButton",props:{chargepoint:{}},setup(t){const e=t,a="chargeSelectModal"+e.chargepoint.id,o=g(()=>pe[e.chargepoint.chargeMode].name),r=g(()=>{let f={background:"var(--color-menu)"};return e.chargepoint.isLocked?f.background="var(--color-evu)":e.chargepoint.isCharging?f.background="var(--color-charging)":e.chargepoint.isPluggedIn&&(f.background="var(--color-battery)"),f}),l=g(()=>{if(pe){let f={background:pe[e.chargepoint.chargeMode].color,color:"white"};switch(e.chargepoint.chargeMode){case fe.instant_charging:e.chargepoint.isCharging&&!e.chargepoint.isLocked&&(f=h(f));break;case fe.standby:case fe.stop:f.background="darkgrey",f.color="black";break;case fe.scheduled_charging:e.chargepoint.isPluggedIn&&!e.chargepoint.isCharging&&!e.chargepoint.isLocked&&(f=h(f));break}return f}else return{background:"var(--color-bg)",color:"var(--color-bg)"}}),d=g(()=>pe?pe[e.chargepoint.chargeMode].icon:""),u=g(()=>{switch(me.pvBatteryPriority){case"ev_mode":return"fa-car";case"bat_mode":return"fa-car-battery";case"min_soc_bat_mode":return"fa-battery-half";default:return console.log("default"),""}}),c=g(()=>{let f="fa-ellipsis";return e.chargepoint.isLocked?f="fa-lock":e.chargepoint.isCharging?f=" fa-bolt":e.chargepoint.isPluggedIn&&(f="fa-plug"),"fa "+f});function h(f){let C=f.color;return f.color=f.background,f.background=C,f}return(f,C)=>(i(),p("div",ed,[n("div",td,[n("button",{type:"button",class:"btn mx-1 mb-0 p-1 mediumTextSize chargeButton shadow",style:J(r.value),"data-bs-toggle":"modal","data-bs-target":"#"+a},[n("div",od,[n("span",nd,[n("i",{class:j(c.value)},null,2),f.chargepoint.isCharging?(i(),p("span",sd,$(s(xe)(f.chargepoint.power)),1)):b("",!0)]),n("span",rd,$(f.chargepoint.name),1),n("span",{class:"mx-2 m-0 badge rounded-pill smallTextSize modeIndicator",style:J(l.value)},[n("i",{class:j(["fa me-1",d.value])},null,2),N(" "+$(o.value)+" ",1),f.chargepoint.chargeMode==s(fe).pv_charging&&s(me).isBatteryConfigured?(i(),p("span",id,[N(" ( "),n("i",{class:j(["fa m-0",u.value])},null,2),N(") ")])):b("",!0)],4)])],12,ad)]),y(Da,{"modal-id":a},{title:w(()=>[N(" Lademodus für "+$(f.chargepoint.vehicleName),1)]),default:w(()=>[y(Kc,{"cp-id":f.chargepoint.id},null,8,["cp-id"])]),_:1})]))}});const cd=U(ld,[["__scopeId","data-v-bde17905"]]),dd={class:"row p-0 mt-0 mb-1 m-0"},ud={class:"col p-0 m-0"},hd={class:"container-fluid p-0 m-0"},pd={class:"row p-0 m-0 d-flex justify-content-center align-items-center"},gd={key:0,class:"col time-display"},md=V({__name:"ButtonBar",setup(t){return(e,a)=>(i(),p("div",dd,[n("div",ud,[n("div",hd,[n("div",pd,[s(m).showClock=="buttonbar"?(i(),p("span",gd,$(s(wa)(s(Nt))),1)):b("",!0),(i(!0),p(z,null,X(s(B),(o,r)=>(i(),M(cd,{key:r,chargepoint:o,"charge-point-count":Object.values(s(B)).length},null,8,["chargepoint","charge-point-count"]))),128))])])])]))}});const vd=U(md,[["__scopeId","data-v-791e4be0"]]);class fd{constructor(e){v(this,"id");v(this,"name","Speicher");v(this,"color","var(--color-battery)");v(this,"dailyYieldExport",0);v(this,"dailyYieldImport",0);v(this,"monthlyYieldExport",0);v(this,"monthlyYieldImport",0);v(this,"yearlyYieldExport",0);v(this,"yearlyYieldImport",0);v(this,"exported",0);v(this,"faultState",0);v(this,"faultStr","");v(this,"imported",0);v(this,"power",0);v(this,"soc",0);this.id=e}}class _d{constructor(){v(this,"dailyExport",0);v(this,"dailyImport",0);v(this,"exported",0);v(this,"imported",0);v(this,"power",0);v(this,"soc",0)}}re(new _d);const ve=Z(new Map),Wa=t=>{ve.value.set(t,new fd(t)),ve.value.get(t).color=de["bat"+ve.value.size].color};function yd(){ve.value=new Map}const bd={class:"battery-title"},wd={class:"subgrid pt-1"},kd=V({__name:"BLBattery",props:{bat:{}},setup(t){const e=t,a=g(()=>e.bat.power<0?`Liefert (${xe(-e.bat.power)})`:e.bat.power>0?`Lädt (${xe(e.bat.power)})`:"Bereit"),o=g(()=>({"background-color":e.bat.power<0?"var(--color-pv)":e.bat.power>0?"var(--color-battery)":"var(--color-menu)"}));return(r,l)=>(i(),M(Qe,{titlecolor:"var(--color-title)",fullwidth:!0},{title:w(()=>[n("span",bd,$(r.bat.name),1)]),buttons:w(()=>[n("span",{class:"badge rounded-pill battery-mode me-2",style:J(o.value)},$(a.value),5)]),default:w(()=>[n("div",wd,[y(Q,{heading:"Geliefert:",small:!0,class:"grid-left grid-col-4"},{default:w(()=>[y(je,{"watt-h":e.bat.dailyYieldExport},null,8,["watt-h"])]),_:1}),y(Q,{heading:"Geladen:",small:!0,class:"grid-col-4"},{default:w(()=>[y(je,{"watt-h":e.bat.dailyYieldImport},null,8,["watt-h"])]),_:1}),y(Q,{heading:"Ladestand:",small:!0,class:"grid-right grid-col-4"},{default:w(()=>[y($t,{soc:e.bat.soc},null,8,["soc"])]),_:1})])]),_:1}))}});const xd=U(kd,[["__scopeId","data-v-5369c546"]]),Ga=t=>(ae("data-v-7a9fc7cd"),t=t(),oe(),t),Sd=Ga(()=>n("span",{class:"fas fa-car-battery me-2",style:{color:"var(--color-battery)"}}," ",-1)),$d=Ga(()=>n("span",{class:"sh-title py-4"},"Speicher",-1)),Md={class:"badge socpill rounded-pill"},Cd={class:"px-3 subgrid grid-12"},Id=V({__name:"BatteryList",setup(t){const e=g(()=>H.batOut.power>0?`Liefert (${xe(H.batOut.power)})`:G.batIn.power>0?`Lädt (${xe(G.batIn.power)})`:"Bereit:"),a=g(()=>xe(H.batOut.power+G.batIn.power)),o=g(()=>({"background-color":H.batOut.power>0?"var(--color-pv)":G.batIn.power>0?"var(--color-battery)":"var(--color-menu)"}));return(r,l)=>s(me).isBatteryConfigured?(i(),M(Oe,{key:0,"variable-width":!0,"full-width":!1},{title:w(()=>[Sd,$d]),buttons:w(()=>[n("span",{class:"badge rounded-pill battery-mode me-2",style:J(o.value)},$(e.value),5),n("span",Md,[y($t,{soc:s(me).batterySoc},null,8,["soc"])])]),default:w(()=>[n("div",Cd,[y(Q,{heading:"Leistung:",class:"grid-left grid-col-4"},{default:w(()=>[n("span",null,$(a.value),1)]),_:1}),y(Q,{heading:"Geladen:",class:"grid-col-4"},{default:w(()=>[n("span",null,$(s(ct)(s(G).batIn.energy)),1)]),_:1}),y(Q,{heading:"Geliefert",class:"grid-right grid-col-4"},{default:w(()=>[n("span",null,$(s(ct)(s(H).batOut.energy)),1)]),_:1})]),(i(!0),p(z,null,X(s(ve),([d,u])=>(i(),M(xd,{key:d,bat:u},null,8,["bat"]))),128))]),_:1})):b("",!0)}});const Vt=U(Id,[["__scopeId","data-v-7a9fc7cd"]]),Pd={class:"d-flex float-right justify-content-end align-items-center"},Bd={key:0,class:"my-0 badge rounded-pill tempbadge mx-1"},Vd={class:"subgrid"},Ld=V({__name:"SHListItem",props:{device:{}},setup(t){const e=t,a=g(()=>e.device.status=="on"?"fa-toggle-on":e.device.status=="waiting"?"fa-spinner fa-spin":"fa-toggle-off"),o=g(()=>{let u="var(--color-switchRed)";switch(e.device.status){case"on":u="var(--color-switchGreen)";break;case"detection":u="var(--color-switchBlue)";break;case"timeout":u="var(--color-switchWhite)";break;case"waiting":u="var(--color-menu)";break;default:u="var(--color-switchRed)"}return{color:u}});function r(){e.device.isAutomatic||(e.device.status=="on"?ee("shSwitchOn",0,e.device.id):ee("shSwitchOn",1,e.device.id),ne.get(e.device.id).status="waiting")}function l(){e.device.isAutomatic?ee("shSetManual",1,e.device.id):ee("shSetManual",0,e.device.id)}const d=g(()=>e.device.isAutomatic?"Auto":"Man");return(u,c)=>(i(),M(Qe,{titlecolor:u.device.color,fullwidth:!0},{title:w(()=>[N($(u.device.name),1)]),buttons:w(()=>[n("div",Pd,[(i(!0),p(z,null,X(u.device.temp,(h,f)=>(i(),p("span",{key:f,class:"p-0 m-0 align-items-center d-flex"},[h<300?(i(),p("span",Bd,$(s(No)(h)),1)):b("",!0)]))),128)),e.device.canSwitch?(i(),p("span",{key:0,class:j([a.value,"fa statusbutton mr-2 ms-4"]),style:J(o.value),onClick:r},null,6)):b("",!0),e.device.canSwitch?(i(),p("span",{key:1,class:"badge rounded-pill modebutton mx-2",onClick:l},$(d.value),1)):b("",!0)])]),default:w(()=>[n("div",Vd,[y(Q,{heading:"Leistung:",class:"grid-col-4 grid-left"},{default:w(()=>[y(ht,{watt:u.device.power},null,8,["watt"])]),_:1}),y(Q,{heading:"Energie:",class:"grid-col-4"},{default:w(()=>[y(je,{"watt-h":u.device.energy},null,8,["watt-h"])]),_:1}),y(Q,{heading:"Laufzeit:",class:"grid-col-4 grid-right"},{default:w(()=>[N($(s(Uo)(u.device.runningTime)),1)]),_:1})])]),_:1},8,["titlecolor"]))}});const Ad=U(Ld,[["__scopeId","data-v-5df672cc"]]),gt=t=>(ae("data-v-ba0ce660"),t=t(),oe(),t),Od=gt(()=>n("span",{class:"fas fa-plug me-2",style:{color:"var(--color-devices)"}}," ",-1)),Td={class:"sh-title py-4"},Dd=gt(()=>n("span",{class:"fa-solid fa-lg ps-1 fa-ellipsis-vertical"},null,-1)),Wd=[Dd],Gd=gt(()=>n("span",{class:"fas fa-gear"}," ",-1)),zd=gt(()=>n("span",{class:"fa-solid fa-lg ps-1 fa-circle-check"},null,-1)),Ed=[zd],jd=["id","onUpdate:modelValue","value"],Ud=["for"],Fd=gt(()=>n("div",{class:"col-12 mb-3 pe-3 mt-0"},[n("button",{class:"btn btn-sm btn-secondary float-end"},"Schließen")],-1)),Nd=[Fd],Hd=3,Rd=V({__name:"SmartHomeList",setup(t){const e=g(()=>Ne.value?a.value.reduce((d,u)=>{const c=d;let h=d[d.length-1];return h.length>=Hd?d.push([u]):h.push(u),c},[[]]):[a.value]),a=g(()=>[...ne.values()].filter(d=>d.configured));function o(d){return"Geräte"+(Ne.value&&e.value.length>1?"("+(d+1)+")":"")}function r(){l.value=!l.value}const l=Z(!1);return(d,u)=>(i(),p(z,null,[(i(!0),p(z,null,X(e.value,(c,h)=>(i(),M(Oe,{key:h,"variable-width":!0},{title:w(()=>[n("span",{onClick:r},[Od,n("span",Td,$(o(h)),1)])]),buttons:w(()=>[n("span",{class:"ms-2 pt-1",onClick:r},Wd)]),default:w(()=>[(i(!0),p(z,null,X(c,f=>(i(),M(Ad,{key:f.id,device:f,class:"subgrid pb-2"},null,8,["device"]))),128))]),_:2},1024))),128)),l.value?(i(),M(Oe,{key:0},{title:w(()=>[n("span",{class:"smarthome",onClick:r},[Gd,N(" Einstellungen")])]),buttons:w(()=>[n("span",{class:"ms-2 pt-1",onClick:r},Ed)]),default:w(()=>[y(F,{title:"Im Energie-Graph anzeigen:",icon:"fa-chart-column",fullwidth:!0},{default:w(()=>[(i(!0),p(z,null,X(a.value,(c,h)=>(i(),p("div",{key:h},[at(n("input",{id:"check"+h,"onUpdate:modelValue":f=>c.showInGraph=f,class:"form-check-input",type:"checkbox",value:c},null,8,jd),[[Rt,c.showInGraph]]),n("label",{class:"form-check-label px-2",for:"check"+h},$(c.name),9,Ud)]))),128))]),_:1}),n("div",{class:"row p-0 m-0",onClick:r},Nd)]),_:1})):b("",!0)],64))}});const Lt=U(Rd,[["__scopeId","data-v-ba0ce660"]]),Jd={class:"countername"},qd={class:"d-flex float-right justify-content-end align-items-center"},Yd={class:"badge rounded-pill idbadge mx-2"},Qd={class:"subgrid pt-1"},Zd=V({__name:"ClCounter",props:{counter:{}},setup(t){const e=t,a=g(()=>e.counter.power>0?"Bezug":"Export"),o=g(()=>{let r="";return e.counter.power>0?r="var(--color-evu)":r="var(--color-pv)",{"background-color":r,"font-weight":"normal"}});return(r,l)=>(i(),M(Qe,{titlecolor:"var(--color-title)",fullwidth:!0},{title:w(()=>[n("span",Jd,$(r.counter.name),1)]),buttons:w(()=>[n("div",qd,[e.counter.power!=0?(i(),p("span",{key:0,class:"badge rounded-pill modebadge mx-2",style:J(o.value)},$(a.value),5)):b("",!0),n("span",Yd,"ID: "+$(e.counter.id),1)])]),default:w(()=>[n("div",Qd,[y(Q,{heading:"Leistung:",small:!0,class:"grid-left grid-col-4"},{default:w(()=>[y(ht,{watt:Math.abs(e.counter.power)},null,8,["watt"])]),_:1}),y(Q,{heading:"Bezogen:",small:!0,class:"grid-col-4"},{default:w(()=>[y(je,{"watt-h":e.counter.energy_imported},null,8,["watt-h"])]),_:1}),y(Q,{heading:"Exportiert:",small:!0,class:"grid-right grid-col-4"},{default:w(()=>[y(je,{"watt-h":e.counter.energy_exported},null,8,["watt-h"])]),_:1})])]),_:1}))}});const Xd=U(Zd,[["__scopeId","data-v-b262baef"]]);class Kd{constructor(e){v(this,"id");v(this,"name","Zähler");v(this,"power",0);v(this,"energy_imported",0);v(this,"energy_exported",0);v(this,"grid",!1);v(this,"type","counter");v(this,"color","var(--color-evu)");v(this,"energyPv",0);v(this,"energyBat",0);v(this,"pvPercentage",0);v(this,"icon","");this.id=e}}const be=re({});function eu(t,e){if(t in be)console.info("Duplicate counter message: "+t);else switch(be[t]=new Kd(t),be[t].type=e,e){case"counter":be[t].color="var(--color-evu)";break;case"inverter":be[t].color="var(--color-pv)";break;case"cp":be[t].color="var(--color-charging)";break;case"bat":be[t].color="var(--color-bat)";break}}const za=t=>(ae("data-v-2aee2e34"),t=t(),oe(),t),tu=za(()=>n("span",{class:"fas fa-bolt me-2",style:{color:"var(--color-evu)"}}," ",-1)),au=za(()=>n("span",null,"Zähler",-1)),ou=V({__name:"CounterList",setup(t){return(e,a)=>(i(),M(Oe,{"variable-width":!0},{title:w(()=>[tu,au]),default:w(()=>[(i(!0),p(z,null,X(s(be),(o,r)=>(i(),p("div",{key:r,class:"subgrid pb-2"},[y(Xd,{counter:o},null,8,["counter"])]))),128))]),_:1}))}});const At=U(ou,[["__scopeId","data-v-2aee2e34"]]),nu={class:"subgrid"},su=V({__name:"VlVehicle",props:{vehicle:{}},setup(t){const e=t,a=g(()=>{let r="Unterwegs",l=e.vehicle.chargepoint;return l!=null&&(l.isCharging?r="Lädt ("+l.name+")":l.isPluggedIn&&(r="Bereit ("+l.name+")")),r}),o=g(()=>{let r=e.vehicle.chargepoint;return r!=null?r.isLocked?"var(--color-evu)":r.isCharging?"var(--color-charging)":r.isPluggedIn?"var(--color-battery)":"var(--color-axis)":"var(--color-axis)"});return(r,l)=>(i(),M(Qe,{titlecolor:"var(--color-title)",fullwidth:!0},{title:w(()=>[N($(e.vehicle.name),1)]),default:w(()=>[n("div",nu,[y(Q,{heading:"Status:",small:!1,class:"grid-left grid-col-4"},{default:w(()=>[n("span",{style:J({color:o.value}),class:"d-flex justify-content-center align-items-center status-string"},$(a.value),5)]),_:1}),y(Q,{heading:"Ladestand:",small:!1,class:"grid-col-4"},{default:w(()=>[N($(Math.round(e.vehicle.soc))+" % ",1)]),_:1}),y(Q,{heading:"Reichweite:",small:!1,class:"grid-right grid-col-4"},{default:w(()=>[N($(Math.round(e.vehicle.range))+" km ",1)]),_:1})])]),_:1}))}});const ru=U(su,[["__scopeId","data-v-c9cd068c"]]),Ea=t=>(ae("data-v-98fe336a"),t=t(),oe(),t),iu=Ea(()=>n("span",{class:"fas fa-car me-2",style:{color:"var(--color-charging)"}}," ",-1)),lu=Ea(()=>n("span",null,"Fahrzeuge",-1)),cu=V({__name:"VehicleList",setup(t){return(e,a)=>(i(),M(Oe,{"variable-width":!0},{title:w(()=>[iu,lu]),default:w(()=>[(i(!0),p(z,null,X(Object.values(s(Y)).filter(o=>o.visible),(o,r)=>(i(),p("div",{key:r,class:"subgrid"},[y(ru,{vehicle:o},null,8,["vehicle"])]))),128))]),_:1}))}});const Ot=U(cu,[["__scopeId","data-v-98fe336a"]]),ja=t=>(ae("data-v-4678d1ab"),t=t(),oe(),t),du=ja(()=>n("span",{class:"fas fa-coins me-2",style:{color:"var(--color-battery)"}}," ",-1)),uu=ja(()=>n("span",null,"Strompreis",-1)),hu={class:"d-flex float-right justify-content-end align-items-center"},pu={key:0,class:"badge rounded-pill pricebadge mb-1 me-1"},gu={key:1,class:"badge rounded-pill providerbadge mb-1 m-0"},mu={class:"grapharea"},vu={id:"pricechart",class:"p-1 m-0 pricefigure"},fu={viewBox:"0 0 400 280"},_u=["id","origin","transform"],Tt=380,Dt=250,Wt=12,yu=V({__name:"GlobalPriceChart",props:{id:{}},setup(t){const e=t,a=Z(!1),o={top:0,bottom:15,left:20,right:0},r=g(()=>{let I=[];return te.etPriceList.size>0&&te.etPriceList.forEach((L,E)=>{I.push([E,L])}),I}),l=g(()=>r.value.length>1?(Tt-o.left-o.right)/r.value.length:0),d=g(()=>{let I=Pe(r.value,L=>L[0]);return I[1]&&(I[1]=new Date(I[1]),I[1].setTime(I[1].getTime()+36e5)),qe().range([o.left,Tt-o.right]).domain(I)}),u=g(()=>{let I=Pe(r.value,L=>L[1]);return I[0]=Math.floor(I[0])-1,I[1]=Math.floor(I[1])+1,I}),c=g(()=>Ye().range([Dt-o.bottom,0]).domain(u.value)),h=g(()=>st(d.value).ticks(r.value.length).tickSize(5).tickSizeInner(-Dt).tickFormat(I=>I.getHours()%6==0?tt("%H:%M")(I):"")),f=g(()=>ut(c.value).ticks(15).tickSize(0).tickSizeInner(-(Tt-o.right-o.left)).tickFormat(I=>I.toString())),C=g(()=>{a.value==!0;const I=le("g#"+R.value);I.selectAll("*").remove(),I.selectAll("bar").data(r.value).enter().append("g").append("rect").attr("class","bar").attr("x",k=>d.value(k[0])).attr("y",k=>c.value(k[1])).attr("width",l.value).attr("height",k=>c.value(u.value[0])-c.value(k[1])).attr("fill","var(--color-charging)");const E=I.append("g").attr("class","axis").call(h.value);E.attr("transform","translate(0,"+(Dt-o.bottom)+")"),E.selectAll(".tick").attr("font-size",Wt).attr("color","var(--color-bg)"),E.selectAll(".tick line").attr("stroke","var(--color-bg)").attr("stroke-width",k=>k.getHours()%6==0?"2":"0.5"),E.select(".domain").attr("stroke","var(--color-bg");const T=I.append("g").attr("class","axis").call(f.value);T.attr("transform","translate("+o.left+",0)"),T.selectAll(".tick").attr("font-size",Wt).attr("color","var(--color-bg)"),T.selectAll(".tick line").attr("stroke","var(--color-bg)").attr("stroke-width",k=>k%5==0?"2":"0.5"),T.select(".domain").attr("stroke","var(--color-bg)");const D=I.selectAll("ttip").data(r.value).enter().append("g").attr("class","ttarea");D.append("rect").attr("x",k=>d.value(k[0])).attr("y",k=>c.value(k[1])).attr("height",k=>c.value(u.value[0])-c.value(k[1])).attr("class","ttrect").attr("width",l.value).attr("opacity","1%").attr("fill","var(--color-charging)");const q=D.append("g").attr("class","ttmessage").attr("transform",k=>"translate("+(d.value(k[0])-30+l.value/2)+","+(c.value(k[1])-16)+")");q.append("rect").attr("rx",5).attr("width","60").attr("height","30").attr("fill","var(--color-menu)");const P=q.append("text").attr("text-anchor","middle").attr("x",30).attr("y",12).attr("font-size",Wt).attr("fill","var(--color-bg)");return P.append("tspan").attr("x",30).attr("dy","0em").text(k=>tt("%H:%M")(k[0])),P.append("tspan").attr("x",30).attr("dy","1.1em").text(k=>Math.round(k[1]*10)/10+" ct"),"PriceChart.vue"}),R=g(()=>"priceChartCanvas"+e.id);return Be(()=>{a.value=!a.value}),(I,L)=>(i(),M(Oe,{"variable-width":!0},{title:w(()=>[du,uu]),buttons:w(()=>[n("div",hu,[s(te).active?(i(),p("span",pu,$(s(te).etCurrentPriceString),1)):b("",!0),s(te).active?(i(),p("span",gu,$(s(te).etProvider),1)):b("",!0)])]),default:w(()=>[n("div",mu,[n("figure",vu,[(i(),p("svg",fu,[n("g",{id:R.value,origin:C.value,transform:"translate("+o.top+","+o.left+") "},null,8,_u)]))])])]),_:1}))}});const Gt=U(yu,[["__scopeId","data-v-4678d1ab"]]),bu={class:"d-flex float-right justify-content-end align-items-center"},wu={key:0,class:"my-0 badge rounded-pill modebadge mx-1"},ku={class:"subgrid pt-1"},xu=V({__name:"IlInverter",props:{inverter:{}},setup(t){const e=t,a=g(()=>({color:e.inverter.color}));return(o,r)=>(i(),M(Qe,{titlecolor:"var(--color-title)",fullwidth:!0},{title:w(()=>[n("span",{class:"invertername",style:J(a.value)},$(o.inverter.name),5)]),buttons:w(()=>[n("div",bu,[e.inverter.power<0?(i(),p("span",wu,$(s(xe)(-e.inverter.power)),1)):b("",!0)])]),default:w(()=>[n("div",ku,[y(Q,{heading:"Heute:",small:!1,class:"grid-col-4"},{default:w(()=>[y(je,{"watt-h":e.inverter.energy},null,8,["watt-h"])]),_:1}),y(Q,{heading:"Monat:",small:!1,class:"grid-right grid-col-4"},{default:w(()=>[y(je,{"watt-h":e.inverter.energy_month},null,8,["watt-h"])]),_:1}),y(Q,{heading:"Jahr:",small:!1,class:"grid-right grid-col-4"},{default:w(()=>[y(je,{"watt-h":e.inverter.energy_year},null,8,["watt-h"])]),_:1})])]),_:1}))}});const Su=U(xu,[["__scopeId","data-v-486e35d8"]]),Ua=t=>(ae("data-v-c565fec8"),t=t(),oe(),t),$u=Ua(()=>n("span",{class:"fas fa-solar-panel me-2",style:{color:"var(--color-pv)"}}," ",-1)),Mu=Ua(()=>n("span",null,"Wechselrichter",-1)),Cu={key:0,class:"badge powerbadge rounded-pill"},Iu=V({__name:"InverterList",setup(t){return(e,a)=>(i(),M(Oe,{"variable-width":!0},{title:w(()=>[$u,Mu]),buttons:w(()=>[s(H).pv.power>0?(i(),p("span",Cu,$(s(xe)(s(H).pv.power)),1)):b("",!0)]),default:w(()=>[(i(!0),p(z,null,X(s(ke),([o,r])=>(i(),p("div",{key:o,class:"subgrid pb-2"},[y(Su,{inverter:r},null,8,["inverter"])]))),128))]),_:1}))}});const zt=U(Iu,[["__scopeId","data-v-c565fec8"]]),Pu={class:"row py-0 px-0 m-0"},Bu=["breakpoints"],Vu=V({__name:"CarouselFix",setup(t){let e,a;const o=Z(!1),r=g(()=>o.value?{992:{slidesPerView:1,spaceBetween:0}}:{992:{slidesPerView:3,spaceBetween:0}});return io(()=>m.zoomGraph,l=>{if(e){let d=l?"1":"3";a.setAttribute("slides-per-view",d),e.activeIndex=1,e.update()}}),Be(()=>{let l=document.querySelector(".swiper-carousel");l&&(a=l,e=a.swiper)}),(l,d)=>(i(),p("div",Pu,[n("swiper-container",{"space-between":0,pagination:{clickable:!0},"slides-per-view":"1",class:"p-0 m-0 swiper-carousel",breakpoints:r.value},[n("swiper-slide",null,[n("div",{class:j([s(Ne)?"mb-0":"mb-5","flex-fill d-flex align-items-stretch"])},[he(l.$slots,"item1",{},void 0,!0)],2)]),n("swiper-slide",null,[n("div",{class:j([s(Ne)?"mb-0":"mb-5","flex-fill d-flex align-items-stretch"])},[he(l.$slots,"item2",{},void 0,!0)],2)]),n("swiper-slide",null,[n("div",{class:j([s(Ne)?"mb-0":"mb-5","flex-fill d-flex align-items-stretch"])},[he(l.$slots,"item3",{},void 0,!0)],2)])],8,Bu)]))}});const Lu=U(Vu,[["__scopeId","data-v-dc35b0f6"]]);function Au(t,e){t=="openWB/graph/boolDisplayLiveGraph"?me.displayLiveGraph=+e==1:t.match(/^openwb\/graph\/alllivevaluesJson[1-9][0-9]*$/i)?Ou(t,e):t=="openWB/graph/lastlivevaluesJson"?Tu(t,e):t=="openWB/graph/config/duration"&&(ue.duration=JSON.parse(e))}function Ou(t,e){if(!ue.initialized){let a=[];const o=e.toString().split(` -`);o.length>1?a=o.map(d=>JSON.parse(d)):a=[];const r=t.match(/(\d+)$/g),l=r?r[0]:"";l!=""&&typeof ue.rawDataPacks[+l-1]>"u"&&(ue.rawDataPacks[+l-1]=a,ue.initCounter++)}if(ue.initCounter==16){const a=[];ue.unsubscribeRefresh(),ue.initialized=!0,ue.rawDataPacks.forEach(o=>{o.forEach(r=>{const l=Fa(r);a.push(l)})}),pt(a),ue.subscribeUpdates()}}function Tu(t,e){const a=JSON.parse(e),o=Fa(a);ue.graphRefreshCounter++,pt(_.data.concat(o)),ue.graphRefreshCounter>60&&ue.activate()}function Fa(t){const e=Object.values(B).length>0?"ev"+Object.values(B)[0].connectedVehicle+"-soc":"ev0-soc",a=Object.values(B).length>1?"ev"+Object.values(B)[1].connectedVehicle+"-soc":"ev1-soc",o={};o.date=+t.timestamp*1e3,+t.grid>0?(o.evuIn=+t.grid,o.evuOut=0):+t.grid<=0?(o.evuIn=0,o.evuOut=-t.grid):(o.evuIn=0,o.evuOut=0),+t["pv-all"]>=0?(o.pv=+t["pv-all"],o.inverter=0):(o.pv=0,o.inverter=-t["pv-all"]),o.house=+t["house-power"],+t["bat-all-power"]>0?(o.batOut=0,o.batIn=+t["bat-all-power"]):+t["bat-all-power"]<0?(o.batOut=-t["bat-all-power"],o.batIn=0):(o.batOut=0,o.batIn=0),t["bat-all-soc"]?o.batterySoc=+t["bat-all-soc"]:o.batterySoc=0,t[e]&&(o.soc0=+t["ev0-soc"]),t[a]&&(o.soc1=+t["ev1-soc"]),o.charging=+t["charging-all"];for(let r=0;r<10;r++){const l="cp"+r;o[l]=+t[l+"-power"]}return o.selfUsage=o.pv-o.evuOut,o.selfUsage<0&&(o.selfUsage=0),o.devices=0,o}const Du=["evuIn","pv","batOut","evuOut","charging","house"];let wt=[];function Wu(t,e){const{entries:a,names:o,totals:r}=JSON.parse(e);Ge.value=new Map(Object.entries(o)),Yt(),wt=[],Zt.forEach(d=>{O.setEnergyPv(d,0),O.setEnergyBat(d,0)});const l=Gu(a);pt(l),Xt(r,wt),m.debug&&Eu(a,r,l),_.graphMode=="today"&&setTimeout(()=>ie.activate(),3e5)}function Gu(t){const e=[];let a={};return t.forEach(o=>{a=zu(o);const r=a;e.push(r)}),e}function zu(t){const e={};return e.date=t.timestamp*1e3,e.evuOut=0,e.evuIn=0,Object.entries(t.counter).forEach(([o,r])=>{r.grid&&(e.evuOut+=r.power_exported,e.evuIn+=r.power_imported,wt.includes(o)||wt.push(o))}),e.evuOut==0&&e.evuIn==0&&Object.entries(t.counter).forEach(o=>{e.evuOut+=o[1].power_exported,e.evuIn+=o[1].power_imported}),Object.entries(t.pv).forEach(([o,r])=>{o!="all"?e[o]=r.power_exported:e.pv=r.power_exported}),Object.entries(t.bat).length>0?(e.batIn=t.bat.all.power_imported,e.batOut=t.bat.all.power_exported,e.batSoc=t.bat.all.soc??0):(e.batIn=0,e.batOut=0,e.batSoc=0),Object.entries(t.cp).forEach(([o,r])=>{o!="all"?(e[o]=r.power_imported,O.keys().includes(o)||O.addItem(o)):e.charging=r.power_imported}),Object.entries(t.ev).forEach(([o,r])=>{o!="all"&&(e["soc"+o.substring(2)]=r.soc)}),e.devices=0,Object.entries(t.sh).forEach(([o,r])=>{o!="all"&&(e[o]=r.power_imported??0,e.devices+=r.power_imported??0,O.keys().includes(o)||(O.addItem(o),O.items[o].showInGraph=ne.get(+o.slice(2)).showInGraph))}),e.selfUsage=Math.max(0,e.pv-e.evuOut),t.hc&&t.hc.all?e.house=t.hc.all.power_imported:e.house=e.evuIn+e.batOut+e.pv-e.evuOut-e.charging-e.devices-e.batOut,e.evuIn+e.batOut+e.pv>0?O.keys().filter(o=>!Du.includes(o)&&o!="charging").forEach(o=>{yn(o,e)}):Object.keys(e).forEach(o=>{e[o+"Pv"]=0,e[o+"Bat"]=0}),e}function Eu(t,e,a){console.debug("---------------------------------------- Graph Data -"),console.debug(["--- Incoming graph data:",t]),console.debug(["--- Incoming energy data:",e]),console.debug(["--- Data to be displayed:",a]),console.debug("-----------------------------------------------------")}let mt={};const ea=["charging","house","batIn","devices"],ju=["evuIn","pv","batOut","evuOut"];let Je=[];function Uu(t,e){const{entries:a,names:o,totals:r}=JSON.parse(e);Ge.value=new Map(Object.entries(o)),Yt(),Je=[],ea.forEach(l=>{O.items[l].energyPv=0,O.items[l].energyBat=0}),a.length>0&&pt(Na(a)),Xt(r,Je)}function Fu(t,e){const{entries:a,names:o,totals:r}=JSON.parse(e);Ge.value=new Map(Object.entries(o)),Yt(),Je=[],ea.forEach(l=>{O.items[l].energyPv=0,O.items[l].energyBat=0}),a.length>0&&pt(Na(a)),Xt(r,Je)}function Na(t){const e=[];let a={};return mt={},t.forEach(o=>{a=Nu(o),e.push(a),Object.keys(a).forEach(r=>{r!="date"&&(a[r]<0&&(console.warn(`Negative energy value for ${r} in row ${a.date}. Ignoring the value.`),a[r]=0),mt[r]?mt[r]+=a[r]:mt[r]=a[r])})}),e}function Nu(t){const e={},a=lo("%Y%m%d")(t.date);a&&(e.date=_.graphMode=="month"?a.getDate():a.getMonth()+1),e.evuOut=0,e.evuIn=0;let o=0,r=0;return Object.entries(t.counter).forEach(([d,u])=>{o+=u.energy_exported,r+=u.energy_imported,u.grid&&(e.evuOut+=u.energy_exported,e.evuIn+=u.energy_imported,Je.includes(d)||Je.push(d))}),Je.length==0&&(e.evuOut=o,e.evuIn=r),e.pv=t.pv.all.energy_exported,Object.entries(t.bat).length>0?(t.bat.all.energy_imported>=0?e.batIn=t.bat.all.energy_imported:(console.warn("ignoring negative value for batIn on day "+e.date),e.batIn=0),t.bat.all.energy_exported>=0?e.batOut=t.bat.all.energy_exported:(console.warn("ignoring negative value for batOut on day "+e.date),e.batOut=0)):(e.batIn=0,e.batOut=0),Object.entries(t.cp).forEach(([d,u])=>{d!="all"?(O.keys().includes(d)||O.addItem(d),e[d]=u.energy_imported):e.charging=u.energy_imported}),Object.entries(t.ev).forEach(([d,u])=>{d!="all"&&(e["soc-"+d]=u.soc)}),e.devices=Object.entries(t.sh).reduce((d,u)=>(O.keys().includes(u[0])||O.addItem(u[0]),u[1].energy_imported>=0?d+=u[1].energy_imported:console.warn(`Negative energy value for device ${u[0]} in row ${e.date}. Ignoring this value`),d),0),t.hc&&t.hc.all?e.house=t.hc.all.energy_imported:e.house=e.pv+e.evuIn+e.batOut-e.evuOut-e.batIn-e.charging,e.selfUsage=e.pv-e.evuOut,e.evuIn+e.batOut+e.pv>0?O.keys().filter(d=>!ju.includes(d)).forEach(d=>{bn(d,e)}):ea.map(d=>{e[d+"Pv"]=0,e[d+"Bat"]=0}),e}function Hu(t,e){const a=Ru(t);if(a&&!ve.value.has(a)){console.warn("Invalid battery index: ",a);return}t=="openWB/bat/config/configured"?me.isBatteryConfigured=e=="true":t=="openWB/bat/get/power"?+e>0?(G.batIn.power=+e,H.batOut.power=0):(G.batIn.power=0,H.batOut.power=-e):t=="openWB/bat/get/soc"?me.batterySoc=+e:t=="openWB/bat/get/daily_exported"?H.batOut.energy=+e:t=="openWB/bat/get/daily_imported"?G.batIn.energy=+e:a&&ve.value.has(a)&&(t.match(/^openwb\/bat\/[0-9]+\/get\/daily_exported$/i)?ve.value.get(a).dailyYieldExport=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/daily_imported$/i)?ve.value.get(a).dailyYieldImport=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/exported$/i)?ve.value.get(a).exported=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/fault_state$/i)?ve.value.get(a).faultState=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/fault_str$/i)?ve.value.get(a).faultStr=e:t.match(/^openwb\/bat\/[0-9]+\/get\/imported$/i)?ve.value.get(a).imported=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/power$/i)?ve.value.get(a).power=+e:t.match(/^openwb\/bat\/[0-9]+\/get\/soc$/i)?ve.value.get(a).soc=+e:console.log(t,e))}function Ru(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}function Ju(t,e){if(t=="openWB/optional/et/provider")JSON.parse(e).type==null?te.active=!1:(te.active=!0,te.etProvider=JSON.parse(e).name);else if(t=="openWB/optional/et/get/prices"){const a=JSON.parse(e);te.etPriceList=new Map,Object.keys(a).forEach(o=>{te.etPriceList.set(new Date(+o*1e3),a[o]*1e5)})}}function qu(t,e){const a=Ha(t);if(a&&!(a in B)){console.warn("Invalid chargepoint id received: "+a);return}if(t=="openWB/chargepoint/get/power"?G.charging.power=+e:t=="openWB/chargepoint/get/daily_imported"&&(G.charging.energy=+e),t=="openWB/chargepoint/get/daily_exported")me.cpDailyExported=+e;else if(a){if(t.match(/^openwb\/chargepoint\/[0-9]+\/config$/i))if(B[a]){const o=JSON.parse(e);B[a].name=o.name,B[a].icon=o.name,de["cp"+a]?(de["cp"+a].name=o.name,de["cp"+a].icon=o.name):de["cp"+a]={name:o.name,icon:o.name,color:"var(--color-charging)"}}else console.warn("invalid chargepoint index: "+a);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/state_str$/i))B[a].stateStr=JSON.parse(e);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/fault_str$/i))B[a].faultStr=JSON.parse(e);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/fault_state$/i))B[a].faultState=+e;else if(t.match(/^openWB\/chargepoint\/[0-9]+\/get\/power$/i))B[a].power=+e;else if(t.match(/^openWB\/chargepoint\/[0-9]+\/get\/daily_imported$/i))B[a].dailyYield=+e;else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/plug_state$/i))B[a].isPluggedIn=e=="true";else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/charge_state$/i))B[a].isCharging=e=="true";else if(t.match(/^openwb\/chargepoint\/[0-9]+\/set\/manual_lock$/i))B[a].updateIsLocked(e=="true");else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/enabled$/i))B[a].isEnabled=e=="1";else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/phases_in_use/i))B[a].phasesInUse=+e;else if(t.match(/^openwb\/chargepoint\/[0-9]+\/set\/current/i))B[a].current=+e;else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/currents/i))B[a].currents=JSON.parse(e);else if(t.match(/^openwb\/chargepoint\/[0-9]+\/set\/log/i)){const o=JSON.parse(e);B[a].chargedSincePlugged=o.imported_since_plugged}else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/connected_vehicle\/soc$/i)){const o=JSON.parse(e);B[a].soc=o.soc,B[a].waitingForSoc=!1,B[a].rangeCharged=o.range_charged,B[a].rangeUnit=o.range_unit}else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/connected_vehicle\/info$/i)){const o=JSON.parse(e);B[a].vehicleName=String(o.name),B[a].updateConnectedVehicle(+o.id)}else if(t.match(/^openwb\/chargepoint\/[0-9]+\/get\/connected_vehicle\/config$/i)){const o=JSON.parse(e);switch(o.chargemode){case"instant_charging":B[a].updateChargeMode(fe.instant_charging);break;case"pv_charging":B[a].updateChargeMode(fe.pv_charging);break;case"scheduled_charging":B[a].updateChargeMode(fe.scheduled_charging);break;case"standby":B[a].updateChargeMode(fe.standby);break;case"stop":B[a].updateChargeMode(fe.stop);break}B[a].chargeTemplate=o.charge_template,B[a].averageConsumption=o.average_consumption}}}function Yu(t,e){const a=Ha(t);if(a!=null){if(!(a in Y)){const o=new So(a);a==0&&!m.showStandardVehicle&&(o.visible=!1),Y[a]=o}if(t.match(/^openwb\/vehicle\/[0-9]+\/name$/i))Object.values(B).forEach(o=>{o.connectedVehicle==a&&(o.vehicleName=JSON.parse(e))}),Y[a].name=JSON.parse(e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/get\/soc$/i))Y[a].soc=JSON.parse(e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/get\/range$/i))isNaN(+e)?Y[a].range=0:Y[a].range=+e;else if(t.match(/^openwb\/vehicle\/[0-9]+\/charge_template$/i))Y[a].updateChargeTemplateId(+e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/ev_template$/i))Y[a].updateEvTemplateId(+e);else if(t.match(/^openwb\/vehicle\/[0-9]+\/soc_module\/config$/i)){const o=JSON.parse(e);Object.values(B).forEach(r=>{r.connectedVehicle==a&&(r.isSocConfigured=o.type!==null,r.isSocManual=o.type=="manual")})}}}function Qu(t,e){if(t.match(/^openwb\/vehicle\/template\/charge_template\/[0-9]+$/i)){const a=t.match(/[0-9]+$/i);if(a){const o=+a[0],r=JSON.parse(e);ye[o]=r,Zu(o,r)}}else if(t.match(/^openwb\/vehicle\/template\/charge_template\/[0-9]+\/time_charging\/plans\/[0-9]+$/i)){const a=t.match(/(?:\/)([0-9]+)(?:\/)/g),o=t.match(/[0-9]+$/i);if(a&&o){const r=+a[0].replace(/[^0-9]+/g,""),l=+o[0],d=JSON.parse(e);r in it||(it[r]=[]),it[r][l]=d}}else if(t.match(/^openwb\/vehicle\/template\/charge_template\/[0-9]+\/chargemode\/scheduled_charging\/plans\/[0-9]+$/i)){const a=t.match(/(?:\/)([0-9]+)(?:\/)/g),o=t.match(/[0-9]+$/i);if(a&&o){const r=+a[0].replace(/[^0-9]+/g,""),l=+o[0],d=JSON.parse(e);r in rt||(rt[r]=[]),rt[r][l]=d}}else if(t.match(/^openwb\/vehicle\/template\/ev_template\/[0-9]+$/i)){const a=t.match(/[0-9]+$/i);if(a){const o=+a[0],r=JSON.parse(e);Ft[o]=r}}}function Zu(t,e){Object.values(B).forEach(a=>{a.chargeTemplate==t&&(a.updateCpPriority(e.prio),a.updateInstantChargeLimitMode(e.chargemode.instant_charging.limit.selected),a.updateInstantTargetCurrent(e.chargemode.instant_charging.current),a.updateInstantTargetSoc(e.chargemode.instant_charging.limit.soc),a.updateInstantMaxEnergy(e.chargemode.instant_charging.limit.amount),a.updatePvFeedInLimit(e.chargemode.pv_charging.feed_in_limit),a.updatePvMinCurrent(e.chargemode.pv_charging.min_current),a.updatePvMaxSoc(e.chargemode.pv_charging.max_soc),a.updatePvMinSoc(e.chargemode.pv_charging.min_soc),a.updatePvMinSocCurrent(e.chargemode.pv_charging.min_soc_current))})}function Ha(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}function Xu(t,e){t.match(/^openWB\/LegacySmarthome\/config\//i)?Ku(t,e):t.match(/^openWB\/LegacySmarthome\/Devices\//i)&&eh(t,e)}function Ku(t,e){const a=Ra(t);if(a==null)return;ne.has(a)||Qt(a);const o=ne.get(a);t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_configured$/i)?o.configured=e!="0":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_name$/i)?(o.name=e.toString(),o.icon=e.toString(),de["sh"+a].name=e.toString(),de["sh"+a].icon=e.toString()):t.match(/^openWB\/LegacySmarthome\/config\/set\/Devices\/[0-9]+\/mode$/i)?o.isAutomatic=e=="0":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_canSwitch$/i)?o.canSwitch=e=="1":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_homeConsumtion$/i)?o.countAsHouse=e=="1":t.match(/^openWB\/LegacySmarthome\/config\/get\/Devices\/[0-9]+\/device_temperatur_configured$/i)&&(o.tempConfigured=+e)}function eh(t,e){const a=Ra(t);if(a==null){console.warn("Smarthome: Missing index in "+t);return}ne.has(a)||Qt(a);const o=ne.get(a);if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/Watt$/i))o.power=+e,th("power");else if(!t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/Wh$/i)){if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/RunningTimeToday$/i))o.runningTime=+e;else if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/TemperatureSensor0$/i))o.temp[0]=+e;else if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/TemperatureSensor1$/i))o.temp[1]=+e;else if(t.match(/^openWB\/LegacySmarthome\/Devices\/[0-9]+\/TemperatureSensor2$/i))o.temp[2]=+e;else if(t.match(/^openWB\/LegacySmartHome\/Devices\/[0-9]+\/Status$/i))switch(+e){case 10:o.status="off";break;case 11:o.status="on";break;case 20:o.status="detection";break;case 30:o.status="timeout";break;default:o.status="off"}}}function th(t){switch(t){case"power":G.devices.power=[...ne.values()].filter(e=>e.configured&&!e.countAsHouse).reduce((e,a)=>e+a.power,0);break;case"energy":G.devices.energy=[...ne.values()].filter(e=>e.configured&&!e.countAsHouse).reduce((e,a)=>e+a.energy,0);break;default:console.error("Unknown category")}}function Ra(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}const kt=re([]);class ta{constructor(e,a,o,r){v(this,"name");v(this,"children");v(this,"count");v(this,"lastValue");this.name=e,this.children=a,this.count=o,this.lastValue=r}insert(e,a){if(e.length){const o=e.splice(1);if(e[0]==this.name)if(o.length){let r=!1;if(this.children.forEach(l=>{l.name==o[0]&&(l.insert(o,a),r=!0)}),!r){const l=new ta(o[0],[],0,"");l.insert(o,a),this.children.push(l)}}else this.count=this.count+1,this.lastValue=a}}}function ah(t,e){const a=t.split("/");if(a.length){let o=!1;if(kt.forEach(r=>{r.name==a[0]&&(r.insert(a,e),o=!0)}),!o){const r=new ta(a[0],[],0,"");kt.push(r),r.insert(a,e)}}}const oh=["openWB/counter/#","openWB/bat/#","openWB/pv/#","openWB/chargepoint/#","openWB/vehicle/#","openWB/general/chargemode_config/pv_charging/#","openWB/optional/et/#","openWB/system/#","openWB/LegacySmartHome/#","openWB/command/"+Jt()+"/#"];function nh(){wo(sh),oh.forEach(t=>{Re(t)}),ge()}function sh(t,e){ah(t,e.toString());const a=e.toString();t.match(/^openwb\/counter\/[0-9]+\//i)?rh(t,a):t.match(/^openwb\/counter\//i)?ih(t,a):t.match(/^openwb\/bat\//i)?Hu(t,a):t.match(/^openwb\/pv\//i)?lh(t,a):t.match(/^openwb\/chargepoint\//i)?qu(t,a):t.match(/^openwb\/vehicle\/template\//i)?Qu(t,a):t.match(/^openwb\/vehicle\//i)?Yu(t,a):t.match(/^openwb\/general\/chargemode_config\/pv_charging\//i)?ch(t,a):t.match(/^openwb\/graph\//i)?Au(t,a):t.match(/^openwb\/log\/daily\//i)?Wu(t,a):t.match(/^openwb\/log\/monthly\//i)?Uu(t,a):t.match(/^openwb\/log\/yearly\//i)?Fu(t,a):t.match(/^openwb\/optional\/et\//i)?Ju(t,a):t.match(/^openwb\/system\//i)?uh(t,a):t.match(/^openwb\/LegacySmartHome\//i)?Xu(t,a):t.match(/^openwb\/command\//i)&&hh(t,a)}function rh(t,e){const a=t.split("/"),o=+a[2];if(o==me.evuId?dh(t,e):a[3]=="config",a[3]=="get"&&o in be)switch(a[4]){case"power":be[o].power=+e;break;case"config":break;case"fault_str":break;case"fault_state":break;case"power_factors":break;case"imported":break;case"exported":break;case"frequency":break;case"daily_imported":be[o].energy_imported=+e;break;case"daily_exported":be[o].energy_exported=+e;break}}function ih(t,e){if(t.match(/^openwb\/counter\/get\/hierarchy$/i)){const a=JSON.parse(e);if(a.length){Mo(),yd();for(const o of a)o.type=="counter"&&(me.evuId=o.id);Ja(a[0])}}else t.match(/^openwb\/counter\/set\/home_consumption$/i)?G.house.power=+e:t.match(/^openwb\/counter\/set\/daily_yield_home_consumption$/i)&&(G.house.energy=+e)}function Ja(t){switch(t.type){case"counter":eu(t.id,t.type);break;case"cp":$o(t.id);break;case"bat":Wa(t.id);break}t.children.forEach(e=>Ja(e))}function lh(t,e){const a=ph(t);a&&!ke.value.has(a)&&(console.warn("Creating PV system: "+a),Po(a)),t=="openWB/pv/get/power"?H.pv.power=-e:t=="openWB/pv/get/daily_exported"?H.pv.energy=+e:t.match(/^openWB\/pv\/[0-9]+\/get\/power$/i)?ke.value.get(a).power=+e:t.match(/^openWB\/pv\/[0-9]+\/get\/daily_exported$/i)?ke.value.get(a).energy=+e:t.match(/^openWB\/pv\/[0-9]+\/get\/monthly_exported$/i)?ke.value.get(a).energy_month=+e:t.match(/^openWB\/pv\/[0-9]+\/get\/yearly_exported$/i)?ke.value.get(a).energy_year=+e:t.match(/^openWB\/pv\/[0-9]+\/get\/exported$/i)&&(ke.value.get(a).energy_total=+e)}function ch(t,e){const a=t.split("/");if(a.length>0)switch(a[4]){case"bat_mode":me.updatePvBatteryPriority(JSON.parse(e));break}}function dh(t,e){switch(t.split("/")[4]){case"power":+e>0?(H.evuIn.power=+e,G.evuOut.power=0):(H.evuIn.power=0,G.evuOut.power=-e);break;case"daily_imported":H.evuIn.energy=+e;break;case"daily_exported":G.evuOut.energy=+e;break}}function uh(t,e){if(t.match(/^openWB\/system\/device\/[0-9]+\/component\/[0-9]+\/config$/i)){const a=JSON.parse(e);(a.type=="counter"||a.type=="consumption_counter")&&be[a.id]?be[a.id].name=a.name:a.type=="inverter"?(ke.value.has(a.id)||ke.value.set(a.id,new _a(a.id)),ke.value.get(a.id).name=a.name):a.type=="bat"&&(ve.value.has(a.id)||Wa(a.id),ve.value.get(a.id).name=a.name)}}function hh(t,e){const a=t.split("/");if(t.match(/^openWB\/command\/[a-z]+\/error$/i)&&a[2]==Jt()){const o=JSON.parse(e);console.error(`Error message from openWB: -Command: ${o.command} -Data: JSON.stringify(err.data) -Error: - ${o.error}`)}}function ph(t){let e=0;try{const a=t.match(/(?:\/)([0-9]+)(?=\/)/g);return a?(e=+a[0].replace(/[^0-9]+/g,""),e):void 0}catch{console.warn("Parser error in getIndex for topic "+t)}}const gh={key:0,class:"fas fa-caret-down"},mh={key:1,class:"fas fa-caret-right"},vh={key:0,class:"content p-2 m-2"},fh={key:1,class:"sublist col-md-9 m-0 p-0 ps-2"},_h=V({__name:"MqttNode",props:{node:{},level:{},hide:{type:Boolean},expandAll:{type:Boolean}},setup(t){const e=t;let a=Z(!e.hide),o=Z(!1);const r=g(()=>e.node.name),l=g(()=>[...e.node.children].sort((f,C)=>f.namee.node.count>0?"("+e.node.count+")":""),u=g(()=>e.node.children.length),c=g(()=>e.node.lastValue!=""?{"font-style":"italic","grid-column-start":e.level,"grid-column-end":-1}:{"grid-column-start":e.level,"grid-column-end":-1});function h(){u.value>0&&(a.value=!a.value),e.node.lastValue!=""&&(o.value=!o.value)}return(f,C)=>{const R=co("MqttNode",!0);return i(),p(z,null,[n("div",{class:"name py-2 px-2 m-0",style:J(c.value),onClick:h},[(s(a)||e.expandAll)&&u.value>0||s(o)?(i(),p("span",gh)):(i(),p("span",mh)),N(" "+$(r.value)+$(d.value),1)],4),s(o)?(i(),p("div",vh,[n("code",null,$(e.node.lastValue),1)])):b("",!0),(s(a)||e.expandAll)&&u.value>0?(i(),p("div",fh,[(i(!0),p(z,null,X(l.value,(I,L)=>(i(),M(R,{key:L,level:e.level+1,node:I,hide:!0,"expand-all":e.expandAll},null,8,["level","node","expand-all"]))),128))])):b("",!0)],64)}}});const yh=U(_h,[["__scopeId","data-v-df7e578a"]]),aa=t=>(ae("data-v-a349646d"),t=t(),oe(),t),bh={class:"mqviewer"},wh={class:"row pt-2"},kh={class:"col"},xh=aa(()=>n("h3",{class:"mqtitle ps-2"},"MQTT Message Viewer",-1)),Sh=aa(()=>n("hr",null,null,-1)),$h=aa(()=>n("hr",null,null,-1)),Mh={key:0,class:"topiclist"},Ch=V({__name:"MQTTViewer",setup(t){Be(()=>{});const e=Z(!1);function a(){e.value=!e.value}const o=g(()=>e.value?"active":"");return(r,l)=>(i(),p("div",bh,[n("div",wh,[n("div",kh,[xh,Sh,n("button",{class:j(["btn btn-small btn-outline-primary ms-2",o.value]),onClick:a}," Expand All ",2),$h])]),s(kt)[0]?(i(),p("div",Mh,[(i(!0),p(z,null,X(s(kt)[0].children.sort((d,u)=>d.name(i(),M(yh,{key:u,node:d,level:1,hide:!0,"expand-all":e.value},null,8,["node","expand-all"]))),128))])):b("",!0)]))}});const Ih=U(Ch,[["__scopeId","data-v-a349646d"]]),Ph=["value"],Bh=V({__name:"SelectInput",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=g({get(){return a.modelValue},set(r){e("update:modelValue",r)}});return(r,l)=>at((i(),p("select",{id:"selectme","onUpdate:modelValue":l[0]||(l[0]=d=>o.value=d),class:"form-select"},[(i(!0),p(z,null,X(r.options,(d,u)=>(i(),p("option",{key:u,value:d[1]},$(d[0]),9,Ph))),128))],512)),[[uo,o.value]])}});const Vh=U(Bh,[["__scopeId","data-v-5e33ce1f"]]),qa=t=>(ae("data-v-b2860d58"),t=t(),oe(),t),Lh=qa(()=>n("span",{type:"button",class:"float-end mt-0 ms-1","data-bs-toggle":"collapse","data-bs-target":"#themesettings"},[n("span",null,[n("i",{class:"fa-solid fa-circle-check"})])],-1)),Ah={class:"subgrid m-0 p-0"},Oh={class:"settingscolumn"},Th={class:"settingscolumn"},Dh={class:"settingscolumn"},Wh=qa(()=>n("div",{class:"grid-col-12 mb-3 me-3"},[n("button",{class:"btn btn-sm btn-secondary float-end","data-bs-toggle":"collapse","data-bs-target":"#themesettings"}," Schließen ")],-1)),Gh=V({__name:"ThemeSettings",emits:["reset-arcs"],setup(t,{emit:e}){const a=[["Dunkel","dark"],["Hell","light"],["Blau","blue"]],o=[["3 kW","0"],["3,1 kW","1"],["3,14 kW","2"],["3,141 kW","3"],["3141 W","4"]],r=[["Orange","normal"],["Grün/Violett","standard"],["Bunt","advanced"]],l=[["Aus","off"],["Menü","navbar"],["Buttonleiste","buttonbar"]],d=[["Aus","no"],['"Alles"-Reiter',"infoview"],["Immer","always"]];return(u,c)=>(i(),M(Oe,{"full-width":!0},{title:w(()=>[N(" Look & Feel ")]),buttons:w(()=>[Lh]),default:w(()=>[n("div",Ah,[n("div",Oh,[y(F,{fullwidth:!0,title:"Farbschema",icon:"fa-adjust",infotext:"Hintergrundfarbe"},{default:w(()=>[y(Ee,{modelValue:s(m).displayMode,"onUpdate:modelValue":c[0]||(c[0]=h=>s(m).displayMode=h),options:a},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Farbschema Smart-Home-Geräte",icon:"fa-palette",infotext:"Für die Smart-Home-Geräte stehen mehrere Schemata zur Verfügung."},{default:w(()=>[y(Ee,{modelValue:s(m).smartHomeColors,"onUpdate:modelValue":c[1]||(c[1]=h=>s(m).smartHomeColors=h),options:r},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Grafik: Raster",icon:"fa-th",infotext:"Verwende ein Hintergrundraster in den Grafiken"},{default:w(()=>[y(ce,{modelValue:s(m).showGrid,"onUpdate:modelValue":c[2]||(c[2]=h=>s(m).showGrid=h)},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Variable Bogenlänge",icon:"fa-chart-area",infotext:"Im Graph 'Aktuelle Leistung' können die Bögen immer die volle Länge haben, oder entsprechend des aktuellen Gesamtleistung verkürzt dargestellt werden."},{default:w(()=>[y(ce,{modelValue:s(m).showRelativeArcs,"onUpdate:modelValue":c[3]||(c[3]=h=>s(m).showRelativeArcs=h)},null,8,["modelValue"])]),_:1}),s(m).showRelativeArcs?(i(),M(F,{key:0,fullwidth:!0,title:"Bögen zurücksetzen",icon:"fa-undo",infotext:"Durch Click auf den Button wird die Maximallänge der Bögen auf den aktuellen Wert gesetzt."},{default:w(()=>[s(m).showRelativeArcs?(i(),p("button",{key:0,class:"btn btn-secondary",onClick:c[4]||(c[4]=h=>e("reset-arcs"))}," Reset ")):b("",!0)]),_:1})):b("",!0),y(F,{fullwidth:!0,title:"Anzahl Dezimalstellen",icon:"fa-sliders-h",infotext:"Alle kW- und kWh-Werte werden mit der gewählten Anzahl an Stellen angezeigt."},{default:w(()=>[y(Vh,{modelValue:s(m).decimalPlaces,"onUpdate:modelValue":c[5]||(c[5]=h=>s(m).decimalPlaces=h),options:o},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Uhrzeit anzeigen",icon:"fa-clock",infotext:"Zeige die aktuelle Uhrzeit an. In der Menüleiste oder neben den Lade-Buttons."},{default:w(()=>[y(Ee,{modelValue:s(m).showClock,"onUpdate:modelValue":c[6]||(c[6]=h=>s(m).showClock=h),options:l},null,8,["modelValue"])]),_:1})]),n("div",Th,[y(F,{fullwidth:!0,title:"Kompakte Ladepunktliste",icon:"fa-list",infotext:"Zeige eine einzelne Ladepunktliste statt separater Element pro Ladepunkt."},{default:w(()=>[y(Ee,{modelValue:s(m).shortCpList,"onUpdate:modelValue":c[7]||(c[7]=h=>s(m).shortCpList=h),options:d},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Buttonleiste für Ladepunkte",icon:"fa-window-maximize",infotext:"Informationen zu Ladepunkten über den Diagrammen anzeigen."},{default:w(()=>[y(ce,{modelValue:s(m).showButtonBar,"onUpdate:modelValue":c[8]||(c[8]=h=>s(m).showButtonBar=h)},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Filter-Buttons",icon:"fa-filter",infotext:"Hauptseite mit Buttons zur Auswahl der Kategorie."},{default:w(()=>[y(ce,{modelValue:s(m).showQuickAccess,"onUpdate:modelValue":c[9]||(c[9]=h=>s(m).showQuickAccess=h)},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Breite Widgets",icon:"fa-desktop",infotext:"Widgets immer breit machen"},{default:w(()=>[y(ce,{modelValue:s(m).preferWideBoxes,"onUpdate:modelValue":c[10]||(c[10]=h=>s(m).preferWideBoxes=h)},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Stufenlose Displaybreite",icon:"fa-maximize",infotext:"Die Breite des Displays wird immer voll ausgenutzt. Dies kann in einigen Fällen zu inkorrekter Darstellung führen."},{default:w(()=>[y(ce,{modelValue:s(m).fluidDisplay,"onUpdate:modelValue":c[11]||(c[11]=h=>s(m).fluidDisplay=h)},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Animationen",icon:"fa-film",infotext:"Animationen anzeigen"},{default:w(()=>[y(ce,{modelValue:s(m).showAnimations,"onUpdate:modelValue":c[12]||(c[12]=h=>s(m).showAnimations=h)},null,8,["modelValue"])]),_:1})]),n("div",Dh,[y(F,{fullwidth:!0,title:"Zähler anzeigen",icon:"fa-chart-bar",infotext:"Zeige die Werte zusätzlich angelegter Zähler"},{default:w(()=>[y(ce,{modelValue:s(m).showCounters,"onUpdate:modelValue":c[13]||(c[13]=h=>s(m).showCounters=h)},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Fahrzeuge anzeigen",icon:"fa-car",infotext:"Zeige alle Fahrzeuge mit Ladestand und Reichweite"},{default:w(()=>[y(ce,{modelValue:s(m).showVehicles,"onUpdate:modelValue":c[14]||(c[14]=h=>s(m).showVehicles=h)},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Standardfahrzeug anzeigen",icon:"fa-car",infotext:"Zeige das Standard-Fahrzeug in der Fahzeugliste"},{default:w(()=>[y(ce,{modelValue:s(m).showStandardVehicle,"onUpdate:modelValue":c[15]||(c[15]=h=>s(m).showStandardVehicle=h)},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Preistabelle anzeigen",icon:"fa-car",infotext:"Zeige die Strompreistabelle in einer separaten Box an"},{default:w(()=>[y(ce,{modelValue:s(m).showPrices,"onUpdate:modelValue":c[16]||(c[16]=h=>s(m).showPrices=h)},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Wechselrichter-Details anzeigen",icon:"fa-solar-panel",infotext:"Zeige Details zu den einzelnen Wechselrichtern"},{default:w(()=>[y(ce,{modelValue:s(m).showInverters,"onUpdate:modelValue":c[17]||(c[17]=h=>s(m).showInverters=h)},null,8,["modelValue"])]),_:1}),y(F,{fullwidth:!0,title:"Debug-Modus",icon:"fa-bug-slash",infotext:"Kontrollausgaben in der Console sowie Anzeige von Bildschirmbreite und MQ-Viewer"},{default:w(()=>[y(ce,{modelValue:s(m).debug,"onUpdate:modelValue":c[18]||(c[18]=h=>s(m).debug=h)},null,8,["modelValue"])]),_:1})]),Wh])]),_:1}))}});const zh=U(Gh,[["__scopeId","data-v-b2860d58"]]),Se=t=>(ae("data-v-733ad1cd"),t=t(),oe(),t),Eh={class:"container-fluid px-2 m-0 theme-colors"},jh={id:"themesettings",class:"collapse"},Uh={key:2,class:"row py-0 px-0 m-0"},Fh={key:3,class:"row py-0 m-0 d-flex justify-content-center"},Nh={key:4,class:"nav nav-tabs nav-justified mx-1 mt-2",role:"tablist"},Hh=ho('AllesLadepunkte',2),Rh={key:0,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#pricecharttabbed"},Jh=Se(()=>n("i",{class:"fa-solid fa-lg fa-coins"},null,-1)),qh=Se(()=>n("span",{class:"d-none d-md-inline ms-2"},"Strompreis",-1)),Yh=[Jh,qh],Qh={key:1,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#vehiclelist"},Zh=Se(()=>n("i",{class:"fa-solid fa-lg fa-car"},null,-1)),Xh=Se(()=>n("span",{class:"d-none d-md-inline ms-2"},"Fahrzeuge",-1)),Kh=[Zh,Xh],ep={key:2,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#batterylist"},tp=Se(()=>n("i",{class:"fa-solid fa-lg fa-car-battery"},null,-1)),ap=Se(()=>n("span",{class:"d-none d-md-inline ms-2"},"Speicher",-1)),op=[tp,ap],np={key:3,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#smarthomelist"},sp=Se(()=>n("i",{class:"fa-solid fa-lg fa-plug"},null,-1)),rp=Se(()=>n("span",{class:"d-none d-md-inline ms-2"},"Smart Home",-1)),ip=[sp,rp],lp={key:4,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#counterlist"},cp=Se(()=>n("i",{class:"fa-solid fa-lg fa-bolt"},null,-1)),dp=Se(()=>n("span",{class:"d-none d-md-inline ms-2"},"Zähler",-1)),up=[cp,dp],hp={key:5,class:"nav-link","data-bs-toggle":"tab","data-bs-target":"#inverterlist"},pp=Se(()=>n("i",{class:"fa-solid fa-lg fa-solar-panel"},null,-1)),gp=Se(()=>n("span",{class:"d-none d-md-inline ms-2"},"Wechselrichter",-1)),mp=[pp,gp],vp={key:5,id:"cpContent",class:"tab-content mx-0 pt-1"},fp={id:"showAll",class:"tab-pane active",role:"tabpanel","aria-labelledby":"showall-tab"},_p={class:"row py-0 m-0 d-flex justify-content-center"},yp={id:"chargepointlist",class:"tab-pane",role:"tabpanel","aria-labelledby":"chargepoint-tab"},bp={class:"row py-0 m-0 d-flex justify-content-center"},wp={id:"vehiclelist",class:"tab-pane",role:"tabpanel","aria-labelledby":"vehicle-tab"},kp={key:0,class:"row py-0 m-0 d-flex justify-content-center"},xp={id:"batterylist",class:"tab-pane",role:"tabpanel","aria-labelledby":"battery-tab"},Sp={class:"row py-0 m-0 d-flex justify-content-center"},$p={id:"smarthomelist",class:"tab-pane",role:"tabpanel","aria-labelledby":"smarthome-tab"},Mp={key:0,class:"row py-0 m-0 d-flex justify-content-center"},Cp={id:"counterlist",class:"tab-pane",role:"tabpanel","aria-labelledby":"counter-tab"},Ip={key:0,class:"row py-0 m-0 d-flex justify-content-center"},Pp={id:"inverterlist",class:"tab-pane",role:"tabpanel","aria-labelledby":"inverter-tab"},Bp={key:0,class:"row py-0 m-0 d-flex justify-content-center"},Vp={id:"pricecharttabbed",class:"tab-pane",role:"tabpanel","aria-labelledby":"price-tab"},Lp={key:0,class:"row py-0 m-0 d-flex justify-content-center"},Ap={key:0,class:"row p-2 mt-5"},Op={class:"col p-2"},Tp=Se(()=>n("hr",null,null,-1)),Dp={class:"d-flex justify-content-between"},Wp={class:"mx-4"},Gp={key:0},zp=V({__name:"ColorsTheme",setup(t){const e=Z(!1),a=g(()=>[...ne.values()].filter(d=>d.configured).length>0);function o(){ba()}function r(){e.value=!e.value}Be(()=>{o(),window.addEventListener("resize",Lo),window.addEventListener("focus",l),nh()});function l(){document.hasFocus()&&ge(!0)}return(d,u)=>(i(),p(z,null,[n("div",Eh,[n("div",jh,[y(zh,{onResetArcs:s(Oo)},null,8,["onResetArcs"])]),s(m).showButtonBar?(i(),M(vd,{key:0})):b("",!0),b("",!0),(i(),p("div",Uh,[y(Lu,null,{item1:w(()=>[y(mn)]),item2:w(()=>[y(Es)]),item3:w(()=>[y(dr)]),_:1})])),s(m).showQuickAccess?b("",!0):(i(),p("div",Fh,[y(Bt,{shortlist:s(m).shortCpList=="always"},null,8,["shortlist"]),s(m).showPrices?(i(),M(Gt,{key:0,id:"NoTabs"})):b("",!0),s(m).showVehicles?(i(),M(Ot,{key:1})):b("",!0),y(Vt),a.value?(i(),M(Lt,{key:2})):b("",!0),s(m).showCounters?(i(),M(At,{key:3})):b("",!0),s(m).showInverters?(i(),M(zt,{key:4})):b("",!0)])),s(m).showQuickAccess?(i(),p("nav",Nh,[Hh,s(m).showPrices?(i(),p("a",Rh,Yh)):b("",!0),s(m).showVehicles?(i(),p("a",Qh,Kh)):b("",!0),s(me).isBatteryConfigured?(i(),p("a",ep,op)):b("",!0),a.value?(i(),p("a",np,ip)):b("",!0),s(m).showCounters?(i(),p("a",lp,up)):b("",!0),s(m).showInverters?(i(),p("a",hp,mp)):b("",!0)])):b("",!0),s(m).showQuickAccess?(i(),p("div",vp,[n("div",fp,[n("div",_p,[y(Bt,{shortlist:s(m).shortCpList!="no"},null,8,["shortlist"]),s(m).showPrices?(i(),M(Gt,{key:0,id:"Overview"})):b("",!0),s(m).showVehicles?(i(),M(Ot,{key:1})):b("",!0),y(Vt),a.value?(i(),M(Lt,{key:2})):b("",!0),s(m).showCounters?(i(),M(At,{key:3})):b("",!0),s(m).showInverters?(i(),M(zt,{key:4})):b("",!0)])]),n("div",yp,[n("div",bp,[y(Bt,{shortlist:s(m).shortCpList=="always"},null,8,["shortlist"])])]),n("div",wp,[s(m).showVehicles?(i(),p("div",kp,[y(Ot)])):b("",!0)]),n("div",xp,[n("div",Sp,[y(Vt)])]),n("div",$p,[a.value?(i(),p("div",Mp,[y(Lt)])):b("",!0)]),n("div",Cp,[s(m).showCounters?(i(),p("div",Ip,[y(At)])):b("",!0)]),n("div",Pp,[s(m).showInverters?(i(),p("div",Bp,[y(zt)])):b("",!0)]),n("div",Vp,[s(m).showPrices?(i(),p("div",Lp,[y(Gt,{id:"Tabbed"})])):b("",!0)])])):b("",!0)]),s(m).debug?(i(),p("div",Ap,[n("div",Op,[Tp,n("div",Dp,[n("p",Wp,"Screen Width: "+$(s(yt).x),1),n("button",{class:"btn btn-sm btn-secondary mx-4",onClick:r}," MQ Viewer ")]),e.value?(i(),p("hr",Gp)):b("",!0),e.value?(i(),M(Ih,{key:1})):b("",!0)])])):b("",!0)],64))}});const Ep=U(zp,[["__scopeId","data-v-733ad1cd"]]),Mt=t=>(ae("data-v-ed619966"),t=t(),oe(),t),jp={class:"navbar navbar-expand-lg px-0 mb-0"},Up=Mt(()=>n("a",{href:"/",class:"navbar-brand"},[n("span",null,"openWB")],-1)),Fp=Mt(()=>n("button",{class:"navbar-toggler togglebutton ps-5",type:"button","data-bs-toggle":"collapse","data-bs-target":"#mainNavbar","aria-controls":"mainNavbar","aria-expanded":"false","aria-label":"Toggle navigation"},[n("span",{class:"fa-solid fa-ellipsis-vertical"})],-1)),Np=Mt(()=>n("div",{id:"mainNavbar",class:"collapse navbar-collapse justify-content-end"},[n("div",{class:"nav navbar-nav"},[n("a",{id:"navStatus",class:"nav-link",href:"../../settings/#/Status"},"Status"),n("div",{class:"nav-item dropdown"},[n("a",{id:"loggingDropdown",class:"nav-link",href:"#",role:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[N("Auswertungen "),n("i",{class:"fa-solid fa-caret-down"})]),n("div",{class:"dropdown-menu","aria-labelledby":"loggingDropdown"},[n("a",{href:"../../settings/#/Logging/ChargeLog",class:"dropdown-item"},"Ladeprotokoll"),n("a",{href:"../../settings/#/Logging/Chart",class:"dropdown-item"},"Diagramme")])]),n("div",{class:"nav-item dropdown"},[n("a",{id:"settingsDropdown",class:"nav-link",href:"#",role:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[N("Einstellungen "),n("span",{class:"fa-solid fa-caret-down"})]),n("div",{class:"dropdown-menu","aria-labelledby":"settingsDropdown"},[n("a",{id:"navSettings",class:"nav-link",href:"../../settings/index.html"},"openWB"),n("a",{class:"nav-link","data-bs-toggle":"collapse","data-bs-target":"#themesettings","aria-expanded":"false","aria-controls":"themeSettings"},[n("span",null,[N("Look&Feel"),n("span",{class:"fa-solid fa-caret-down"})])])])])])],-1)),Hp=Mt(()=>n("hr",{class:"m-0 p-0 mb-2"},null,-1)),Rp=[Hp],Jp=V({__name:"NavigationBar",setup(t){let e;const a=g(()=>m.fluidDisplay?"container-fluid":"container-lg");return Be(()=>{e=setInterval(()=>{Nt.value=new Date},1e3)}),po(()=>{clearInterval(e)}),(o,r)=>(i(),p(z,null,[n("nav",jp,[n("div",{class:j(a.value)},[Up,s(m).showClock=="navbar"?(i(),p("span",{key:0,class:"position-absolute-50 navbar-text ms-4 navbar-time",style:J({color:"var(--color-menu)"})},$(s(wa)(s(Nt))),5)):b("",!0),Fp,Np],2)]),n("div",{class:j(a.value)},Rp,2)],64))}});const qp=U(Jp,[["__scopeId","data-v-ed619966"]]),Yp={id:"app",class:"m-0 p-0"},Qp={class:"row p-0 m-0"},Zp={class:"col-12 p-0 m-0"},Xp=V({__name:"App",setup(t){const e=g(()=>m.fluidDisplay?"container-fluid":"container-lg");return(a,o)=>(i(),p("div",Yp,[y(qp),n("div",{class:j(["p-0",e.value])},[n("div",Qp,[n("div",Zp,[y(Ep)])])],2)]))}});const Kp=go(Xp);mo();Kp.mount("#app"); diff --git a/packages/modules/web_themes/colors/web/assets/vendor-978a58bb.js b/packages/modules/web_themes/colors/web/assets/vendor-978a58bb.js deleted file mode 100644 index 7fdeef69f5..0000000000 --- a/packages/modules/web_themes/colors/web/assets/vendor-978a58bb.js +++ /dev/null @@ -1,53 +0,0 @@ -const cn=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};function Sd(t,e){const r=Object.create(null),n=t.split(",");for(let i=0;i!!r[i.toLowerCase()]:i=>!!r[i]}const Fe={},Ii=[],qt=()=>{},GE=()=>!1,XE=/^on[^a-z]/,Il=t=>XE.test(t),xd=t=>t.startsWith("onUpdate:"),Ye=Object.assign,Td=(t,e)=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)},QE=Object.prototype.hasOwnProperty,Pe=(t,e)=>QE.call(t,e),be=Array.isArray,Oi=t=>vo(t)==="[object Map]",os=t=>vo(t)==="[object Set]",Sp=t=>vo(t)==="[object Date]",Ae=t=>typeof t=="function",He=t=>typeof t=="string",no=t=>typeof t=="symbol",Ue=t=>t!==null&&typeof t=="object",Ew=t=>Ue(t)&&Ae(t.then)&&Ae(t.catch),Sw=Object.prototype.toString,vo=t=>Sw.call(t),JE=t=>vo(t).slice(8,-1),xw=t=>vo(t)==="[object Object]",Ad=t=>He(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ba=Sd(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ol=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},ZE=/-(\w)/g,hr=Ol(t=>t.replace(ZE,(e,r)=>r?r.toUpperCase():"")),eS=/\B([A-Z])/g,as=Ol(t=>t.replace(eS,"-$1").toLowerCase()),Pl=Ol(t=>t.charAt(0).toUpperCase()+t.slice(1)),zu=Ol(t=>t?`on${Pl(t)}`:""),io=(t,e)=>!Object.is(t,e),_a=(t,e)=>{for(let r=0;r{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:r})},qa=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let xp;const uf=()=>xp||(xp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof cn<"u"?cn:{});function Md(t){if(be(t)){const e={};for(let r=0;r{if(r){const n=r.split(rS);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Cd(t){let e="";if(He(t))e=t;else if(be(t))for(let r=0;rEo(r,e))}const YW=t=>He(t)?t:t==null?"":be(t)||Ue(t)&&(t.toString===Sw||!Ae(t.toString))?JSON.stringify(t,Aw,2):String(t),Aw=(t,e)=>e&&e.__v_isRef?Aw(t,e.value):Oi(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[n,i])=>(r[`${n} =>`]=i,r),{})}:os(e)?{[`Set(${e.size})`]:[...e.values()]}:Ue(e)&&!be(e)&&!xw(e)?String(e):e;let Bt;class lS{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Bt,!e&&Bt&&(this.index=(Bt.scopes||(Bt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=Bt;try{return Bt=this,e()}finally{Bt=r}}}on(){Bt=this}off(){Bt=this.parent}stop(e){if(this._active){let r,n;for(r=0,n=this.effects.length;r{const e=new Set(t);return e.w=0,e.n=0,e},Mw=t=>(t.w&fn)>0,Cw=t=>(t.n&fn)>0,fS=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let r=0;for(let n=0;n{(c==="length"||c>=l)&&a.push(u)})}else switch(r!==void 0&&a.push(o.get(r)),e){case"add":be(t)?Ad(r)&&a.push(o.get("length")):(a.push(o.get(Wn)),Oi(t)&&a.push(o.get(df)));break;case"delete":be(t)||(a.push(o.get(Wn)),Oi(t)&&a.push(o.get(df)));break;case"set":Oi(t)&&a.push(o.get(Wn));break}if(a.length===1)a[0]&&hf(a[0]);else{const l=[];for(const u of a)u&&l.push(...u);hf(Od(l))}}function hf(t,e){const r=be(t)?t:[...t];for(const n of r)n.computed&&Ap(n);for(const n of r)n.computed||Ap(n)}function Ap(t,e){(t!==zt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const hS=Sd("__proto__,__v_isRef,__isVue"),Pw=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(no)),pS=Rd(),gS=Rd(!1,!0),mS=Rd(!0),Mp=yS();function yS(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...r){const n=Ne(this);for(let s=0,o=this.length;s{t[e]=function(...r){ls();const n=Ne(this)[e].apply(this,r);return us(),n}}),t}function wS(t){const e=Ne(this);return yt(e,"has",t),e.hasOwnProperty(t)}function Rd(t=!1,e=!1){return function(n,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?NS:kw:e?$w:Nw).get(n))return n;const o=be(n);if(!t){if(o&&Pe(Mp,i))return Reflect.get(Mp,i,s);if(i==="hasOwnProperty")return wS}const a=Reflect.get(n,i,s);return(no(i)?Pw.has(i):hS(i))||(t||yt(n,"get",i),e)?a:rt(a)?o&&Ad(i)?a:a.value:Ue(a)?t?Dw(a):$d(a):a}}const bS=Rw(),_S=Rw(!0);function Rw(t=!1){return function(r,n,i,s){let o=r[n];if(Fi(o)&&rt(o)&&!rt(i))return!1;if(!t&&(!Ya(i)&&!Fi(i)&&(o=Ne(o),i=Ne(i)),!be(r)&&rt(o)&&!rt(i)))return o.value=i,!0;const a=be(r)&&Ad(n)?Number(n)t,Rl=t=>Reflect.getPrototypeOf(t);function Ho(t,e,r=!1,n=!1){t=t.__v_raw;const i=Ne(t),s=Ne(e);r||(e!==s&&yt(i,"get",e),yt(i,"get",s));const{has:o}=Rl(i),a=n?Ld:r?Dd:so;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 Wo(t,e=!1){const r=this.__v_raw,n=Ne(r),i=Ne(t);return e||(t!==i&&yt(n,"has",t),yt(n,"has",i)),t===i?r.has(t):r.has(t)||r.has(i)}function Vo(t,e=!1){return t=t.__v_raw,!e&&yt(Ne(t),"iterate",Wn),Reflect.get(t,"size",t)}function Cp(t){t=Ne(t);const e=Ne(this);return Rl(e).has.call(e,t)||(e.add(t),Nr(e,"add",t,t)),this}function Ip(t,e){e=Ne(e);const r=Ne(this),{has:n,get:i}=Rl(r);let s=n.call(r,t);s||(t=Ne(t),s=n.call(r,t));const o=i.call(r,t);return r.set(t,e),s?io(e,o)&&Nr(r,"set",t,e):Nr(r,"add",t,e),this}function Op(t){const e=Ne(this),{has:r,get:n}=Rl(e);let i=r.call(e,t);i||(t=Ne(t),i=r.call(e,t)),n&&n.call(e,t);const s=e.delete(t);return i&&Nr(e,"delete",t,void 0),s}function Pp(){const t=Ne(this),e=t.size!==0,r=t.clear();return e&&Nr(t,"clear",void 0,void 0),r}function qo(t,e){return function(n,i){const s=this,o=s.__v_raw,a=Ne(o),l=e?Ld:t?Dd:so;return!t&&yt(a,"iterate",Wn),o.forEach((u,c)=>n.call(i,l(u),l(c),s))}}function Yo(t,e,r){return function(...n){const i=this.__v_raw,s=Ne(i),o=Oi(s),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,u=i[t](...n),c=r?Ld:e?Dd:so;return!e&&yt(s,"iterate",l?df:Wn),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Qr(t){return function(...e){return t==="delete"?!1:this}}function AS(){const t={get(s){return Ho(this,s)},get size(){return Vo(this)},has:Wo,add:Cp,set:Ip,delete:Op,clear:Pp,forEach:qo(!1,!1)},e={get(s){return Ho(this,s,!1,!0)},get size(){return Vo(this)},has:Wo,add:Cp,set:Ip,delete:Op,clear:Pp,forEach:qo(!1,!0)},r={get(s){return Ho(this,s,!0)},get size(){return Vo(this,!0)},has(s){return Wo.call(this,s,!0)},add:Qr("add"),set:Qr("set"),delete:Qr("delete"),clear:Qr("clear"),forEach:qo(!0,!1)},n={get(s){return Ho(this,s,!0,!0)},get size(){return Vo(this,!0)},has(s){return Wo.call(this,s,!0)},add:Qr("add"),set:Qr("set"),delete:Qr("delete"),clear:Qr("clear"),forEach:qo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=Yo(s,!1,!1),r[s]=Yo(s,!0,!1),e[s]=Yo(s,!1,!0),n[s]=Yo(s,!0,!0)}),[t,r,e,n]}const[MS,CS,IS,OS]=AS();function Nd(t,e){const r=e?t?OS:IS:t?CS:MS;return(n,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(Pe(r,i)&&i in n?r:n,i,s)}const PS={get:Nd(!1,!1)},RS={get:Nd(!1,!0)},LS={get:Nd(!0,!1)},Nw=new WeakMap,$w=new WeakMap,kw=new WeakMap,NS=new WeakMap;function $S(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function kS(t){return t.__v_skip||!Object.isExtensible(t)?0:$S(JE(t))}function $d(t){return Fi(t)?t:kd(t,!1,Lw,PS,Nw)}function DS(t){return kd(t,!1,TS,RS,$w)}function Dw(t){return kd(t,!0,xS,LS,kw)}function kd(t,e,r,n,i){if(!Ue(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=i.get(t);if(s)return s;const o=kS(t);if(o===0)return t;const a=new Proxy(t,o===2?n:r);return i.set(t,a),a}function Pi(t){return Fi(t)?Pi(t.__v_raw):!!(t&&t.__v_isReactive)}function Fi(t){return!!(t&&t.__v_isReadonly)}function Ya(t){return!!(t&&t.__v_isShallow)}function Bw(t){return Pi(t)||Fi(t)}function Ne(t){const e=t&&t.__v_raw;return e?Ne(e):t}function Fw(t){return Va(t,"__v_skip",!0),t}const so=t=>Ue(t)?$d(t):t,Dd=t=>Ue(t)?Dw(t):t;function Uw(t){ln&&zt&&(t=Ne(t),Ow(t.dep||(t.dep=Od())))}function zw(t,e){t=Ne(t);const r=t.dep;r&&hf(r)}function rt(t){return!!(t&&t.__v_isRef===!0)}function KW(t){return BS(t,!1)}function BS(t,e){return rt(t)?t:new FS(t,e)}class FS{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:Ne(e),this._value=r?e:so(e)}get value(){return Uw(this),this._value}set value(e){const r=this.__v_isShallow||Ya(e)||Fi(e);e=r?e:Ne(e),io(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:so(e),zw(this))}}function US(t){return rt(t)?t.value:t}const zS={get:(t,e,r)=>US(Reflect.get(t,e,r)),set:(t,e,r,n)=>{const i=t[e];return rt(i)&&!rt(r)?(i.value=r,!0):Reflect.set(t,e,r,n)}};function jw(t){return Pi(t)?t:new Proxy(t,zS)}class jS{constructor(e,r,n,i){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Pd(e,()=>{this._dirty||(this._dirty=!0,zw(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const e=Ne(this);return Uw(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function HS(t,e,r=!1){let n,i;const s=Ae(t);return s?(n=t,i=qt):(n=t.get,i=t.set),new jS(n,i,s||!i,r)}function un(t,e,r,n){let i;try{i=n?t(...n):t()}catch(s){Ll(s,e,r)}return i}function Yt(t,e,r,n){if(Ae(t)){const s=un(t,e,r,n);return s&&Ew(s)&&s.catch(o=>{Ll(o,e,r)}),s}const i=[];for(let s=0;s>>1;ao(tt[n])nr&&tt.splice(e,1)}function KS(t){be(t)?Ri.push(...t):(!xr||!xr.includes(t,t.allowRecurse?Ln+1:Ln))&&Ri.push(t),Ww()}function Rp(t,e=oo?nr+1:0){for(;eao(r)-ao(n)),Ln=0;Lnt.id==null?1/0:t.id,GS=(t,e)=>{const r=ao(t)-ao(e);if(r===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return r};function qw(t){pf=!1,oo=!0,tt.sort(GS);const e=qt;try{for(nr=0;nrHe(h)?h.trim():h)),f&&(i=r.map(qa))}let a,l=n[a=zu(e)]||n[a=zu(hr(e))];!l&&s&&(l=n[a=zu(as(e))]),l&&Yt(l,t,6,i);const u=n[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Yt(u,t,6,i)}}function Yw(t,e,r=!1){const n=e.emitsCache,i=n.get(t);if(i!==void 0)return i;const s=t.emits;let o={},a=!1;if(!Ae(t)){const l=u=>{const c=Yw(u,e,!0);c&&(a=!0,Ye(o,c))};!r&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(Ue(t)&&n.set(t,null),null):(be(s)?s.forEach(l=>o[l]=null):Ye(o,s),Ue(t)&&n.set(t,o),o)}function Nl(t,e){return!t||!Il(e)?!1:(e=e.slice(2).replace(/Once$/,""),Pe(t,e[0].toLowerCase()+e.slice(1))||Pe(t,as(e))||Pe(t,e))}let nt=null,$l=null;function Ka(t){const e=nt;return nt=t,$l=t&&t.type.__scopeId||null,e}function GW(t){$l=t}function XW(){$l=null}function QS(t,e=nt,r){if(!e||t._n)return t;const n=(...i)=>{n._d&&Wp(-1);const s=Ka(e);let o;try{o=t(...i)}finally{Ka(s),n._d&&Wp(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function ju(t){const{type:e,vnode:r,proxy:n,withProxy:i,props:s,propsOptions:[o],slots:a,attrs:l,emit:u,render:c,renderCache:f,data:d,setupState:h,ctx:g,inheritAttrs:y}=t;let b,v;const _=Ka(t);try{if(r.shapeFlag&4){const T=i||n;b=rr(c.call(T,T,f,s,h,d,g)),v=l}else{const T=e;b=rr(T.length>1?T(s,{attrs:l,slots:a,emit:u}):T(s,null)),v=e.props?l:JS(l)}}catch(T){Ys.length=0,Ll(T,t,1),b=Kt(dn)}let E=b;if(v&&y!==!1){const T=Object.keys(v),{shapeFlag:C}=E;T.length&&C&7&&(o&&T.some(xd)&&(v=ZS(v,o)),E=Ui(E,v))}return r.dirs&&(E=Ui(E),E.dirs=E.dirs?E.dirs.concat(r.dirs):r.dirs),r.transition&&(E.transition=r.transition),b=E,Ka(_),b}const JS=t=>{let e;for(const r in t)(r==="class"||r==="style"||Il(r))&&((e||(e={}))[r]=t[r]);return e},ZS=(t,e)=>{const r={};for(const n in t)(!xd(n)||!(n.slice(9)in e))&&(r[n]=t[n]);return r};function e1(t,e,r){const{props:n,children:i,component:s}=t,{props:o,children:a,patchFlag:l}=e,u=s.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?Lp(n,o,u):!!o;if(l&8){const c=e.dynamicProps;for(let f=0;ft.__isSuspense;function n1(t,e){e&&e.pendingBranch?be(t)?e.effects.push(...t):e.effects.push(t):KS(t)}function QW(t,e){return Ud(t,null,e)}const Ko={};function Hu(t,e,r){return Ud(t,e,r)}function Ud(t,e,{immediate:r,deep:n,flush:i,onTrack:s,onTrigger:o}=Fe){var a;const l=cS()===((a=Xe)==null?void 0:a.scope)?Xe:null;let u,c=!1,f=!1;if(rt(t)?(u=()=>t.value,c=Ya(t)):Pi(t)?(u=()=>t,n=!0):be(t)?(f=!0,c=t.some(T=>Pi(T)||Ya(T)),u=()=>t.map(T=>{if(rt(T))return T.value;if(Pi(T))return kn(T);if(Ae(T))return un(T,l,2)})):Ae(t)?e?u=()=>un(t,l,2):u=()=>{if(!(l&&l.isUnmounted))return d&&d(),Yt(t,l,3,[h])}:u=qt,e&&n){const T=u;u=()=>kn(T())}let d,h=T=>{d=_.onStop=()=>{un(T,l,4)}},g;if(uo)if(h=qt,e?r&&Yt(e,l,3,[u(),f?[]:void 0,h]):u(),i==="sync"){const T=tx();g=T.__watcherHandles||(T.__watcherHandles=[])}else return qt;let y=f?new Array(t.length).fill(Ko):Ko;const b=()=>{if(_.active)if(e){const T=_.run();(n||c||(f?T.some((C,O)=>io(C,y[O])):io(T,y)))&&(d&&d(),Yt(e,l,3,[T,y===Ko?void 0:f&&y[0]===Ko?[]:y,h]),y=T)}else _.run()};b.allowRecurse=!!e;let v;i==="sync"?v=b:i==="post"?v=()=>pt(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),v=()=>Fd(b));const _=new Pd(u,v);e?r?b():y=_.run():i==="post"?pt(_.run.bind(_),l&&l.suspense):_.run();const E=()=>{_.stop(),l&&l.scope&&Td(l.scope.effects,_)};return g&&g.push(E),E}function i1(t,e,r){const n=this.proxy,i=He(t)?t.includes(".")?Kw(n,t):()=>n[t]:t.bind(n,n);let s;Ae(e)?s=e:(s=e.handler,r=e);const o=Xe;zi(this);const a=Ud(i,s.bind(n),r);return o?zi(o):Vn(),a}function Kw(t,e){const r=e.split(".");return()=>{let n=t;for(let i=0;i{kn(r,e)});else if(xw(t))for(const r in t)kn(t[r],e);return t}function JW(t,e){const r=nt;if(r===null)return t;const n=Fl(r)||r.proxy,i=t.dirs||(t.dirs=[]);for(let s=0;sYe({name:t.name},e,{setup:t}))():t}const Ws=t=>!!t.type.__asyncLoader,Gw=t=>t.type.__isKeepAlive;function s1(t,e){Xw(t,"a",e)}function o1(t,e){Xw(t,"da",e)}function Xw(t,e,r=Xe){const n=t.__wdc||(t.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(kl(e,n,r),r){let i=r.parent;for(;i&&i.parent;)Gw(i.parent.vnode)&&a1(n,e,r,i),i=i.parent}}function a1(t,e,r,n){const i=kl(e,t,n,!0);Qw(()=>{Td(n[e],i)},r)}function kl(t,e,r=Xe,n=!1){if(r){const i=r[t]||(r[t]=[]),s=e.__weh||(e.__weh=(...o)=>{if(r.isUnmounted)return;ls(),zi(r);const a=Yt(e,r,t,o);return Vn(),us(),a});return n?i.unshift(s):i.push(s),s}}const Wr=t=>(e,r=Xe)=>(!uo||t==="sp")&&kl(t,(...n)=>e(...n),r),l1=Wr("bm"),u1=Wr("m"),c1=Wr("bu"),f1=Wr("u"),d1=Wr("bum"),Qw=Wr("um"),h1=Wr("sp"),p1=Wr("rtg"),g1=Wr("rtc");function m1(t,e=Xe){kl("ec",t,e)}const Jw="components";function e8(t,e){return w1(Jw,t,!0,e)||t}const y1=Symbol.for("v-ndc");function w1(t,e,r=!0,n=!1){const i=nt||Xe;if(i){const s=i.type;if(t===Jw){const a=Q1(s,!1);if(a&&(a===e||a===hr(e)||a===Pl(hr(e))))return s}const o=Np(i[t]||s[t],e)||Np(i.appContext[t],e);return!o&&n?s:o}}function Np(t,e){return t&&(t[e]||t[hr(e)]||t[Pl(hr(e))])}function t8(t,e,r,n){let i;const s=r&&r[n];if(be(t)||He(t)){i=new Array(t.length);for(let o=0,a=t.length;oe(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;af0(e)?!(e.type===dn||e.type===Ft&&!Zw(e.children)):!0)?t:null}const gf=t=>t?p0(t)?Fl(t)||t.proxy:gf(t.parent):null,Vs=Ye(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=>gf(t.parent),$root:t=>gf(t.root),$emit:t=>t.emit,$options:t=>zd(t),$forceUpdate:t=>t.f||(t.f=()=>Fd(t.update)),$nextTick:t=>t.n||(t.n=VS.bind(t.proxy)),$watch:t=>i1.bind(t)}),Wu=(t,e)=>t!==Fe&&!t.__isScriptSetup&&Pe(t,e),b1={get({_:t},e){const{ctx:r,setupState:n,data:i,props:s,accessCache:o,type:a,appContext:l}=t;let u;if(e[0]!=="$"){const h=o[e];if(h!==void 0)switch(h){case 1:return n[e];case 2:return i[e];case 4:return r[e];case 3:return s[e]}else{if(Wu(n,e))return o[e]=1,n[e];if(i!==Fe&&Pe(i,e))return o[e]=2,i[e];if((u=t.propsOptions[0])&&Pe(u,e))return o[e]=3,s[e];if(r!==Fe&&Pe(r,e))return o[e]=4,r[e];mf&&(o[e]=0)}}const c=Vs[e];let f,d;if(c)return e==="$attrs"&&yt(t,"get",e),c(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(r!==Fe&&Pe(r,e))return o[e]=4,r[e];if(d=l.config.globalProperties,Pe(d,e))return d[e]},set({_:t},e,r){const{data:n,setupState:i,ctx:s}=t;return Wu(i,e)?(i[e]=r,!0):n!==Fe&&Pe(n,e)?(n[e]=r,!0):Pe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=r,!0)},has({_:{data:t,setupState:e,accessCache:r,ctx:n,appContext:i,propsOptions:s}},o){let a;return!!r[o]||t!==Fe&&Pe(t,o)||Wu(e,o)||(a=s[0])&&Pe(a,o)||Pe(n,o)||Pe(Vs,o)||Pe(i.config.globalProperties,o)},defineProperty(t,e,r){return r.get!=null?t._.accessCache[e]=0:Pe(r,"value")&&this.set(t,e,r.value,null),Reflect.defineProperty(t,e,r)}};function $p(t){return be(t)?t.reduce((e,r)=>(e[r]=null,e),{}):t}let mf=!0;function _1(t){const e=zd(t),r=t.proxy,n=t.ctx;mf=!1,e.beforeCreate&&kp(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:g,activated:y,deactivated:b,beforeDestroy:v,beforeUnmount:_,destroyed:E,unmounted:T,render:C,renderTracked:O,renderTriggered:k,errorCaptured:j,serverPrefetch:R,expose:H,inheritAttrs:B,components:q,directives:F,filters:A}=e;if(u&&v1(u,n,null),o)for(const D in o){const V=o[D];Ae(V)&&(n[D]=V.bind(r))}if(i){const D=i.call(r,r);Ue(D)&&(t.data=$d(D))}if(mf=!0,s)for(const D in s){const V=s[D],K=Ae(V)?V.bind(r,r):Ae(V.get)?V.get.bind(r,r):qt,J=!Ae(V)&&Ae(V.set)?V.set.bind(r):qt,oe=Z1({get:K,set:J});Object.defineProperty(n,D,{enumerable:!0,configurable:!0,get:()=>oe.value,set:de=>oe.value=de})}if(a)for(const D in a)e0(a[D],n,r,D);if(l){const D=Ae(l)?l.call(r):l;Reflect.ownKeys(D).forEach(V=>{M1(V,D[V])})}c&&kp(c,t,"c");function U(D,V){be(V)?V.forEach(K=>D(K.bind(r))):V&&D(V.bind(r))}if(U(l1,f),U(u1,d),U(c1,h),U(f1,g),U(s1,y),U(o1,b),U(m1,j),U(g1,O),U(p1,k),U(d1,_),U(Qw,T),U(h1,R),be(H))if(H.length){const D=t.exposed||(t.exposed={});H.forEach(V=>{Object.defineProperty(D,V,{get:()=>r[V],set:K=>r[V]=K})})}else t.exposed||(t.exposed={});C&&t.render===qt&&(t.render=C),B!=null&&(t.inheritAttrs=B),q&&(t.components=q),F&&(t.directives=F)}function v1(t,e,r=qt){be(t)&&(t=yf(t));for(const n in t){const i=t[n];let s;Ue(i)?"default"in i?s=va(i.from||n,i.default,!0):s=va(i.from||n):s=va(i),rt(s)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):e[n]=s}}function kp(t,e,r){Yt(be(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,r)}function e0(t,e,r,n){const i=n.includes(".")?Kw(r,n):()=>r[n];if(He(t)){const s=e[t];Ae(s)&&Hu(i,s)}else if(Ae(t))Hu(i,t.bind(r));else if(Ue(t))if(be(t))t.forEach(s=>e0(s,e,r,n));else{const s=Ae(t.handler)?t.handler.bind(r):e[t.handler];Ae(s)&&Hu(i,s,t)}}function zd(t){const e=t.type,{mixins:r,extends:n}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!r&&!n?l=e:(l={},i.length&&i.forEach(u=>Ga(l,u,o,!0)),Ga(l,e,o)),Ue(e)&&s.set(e,l),l}function Ga(t,e,r,n=!1){const{mixins:i,extends:s}=e;s&&Ga(t,s,r,!0),i&&i.forEach(o=>Ga(t,o,r,!0));for(const o in e)if(!(n&&o==="expose")){const a=E1[o]||r&&r[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const E1={data:Dp,props:Bp,emits:Bp,methods:Ds,computed:Ds,beforeCreate:ot,created:ot,beforeMount:ot,mounted:ot,beforeUpdate:ot,updated:ot,beforeDestroy:ot,beforeUnmount:ot,destroyed:ot,unmounted:ot,activated:ot,deactivated:ot,errorCaptured:ot,serverPrefetch:ot,components:Ds,directives:Ds,watch:x1,provide:Dp,inject:S1};function Dp(t,e){return e?t?function(){return Ye(Ae(t)?t.call(this,this):t,Ae(e)?e.call(this,this):e)}:e:t}function S1(t,e){return Ds(yf(t),yf(e))}function yf(t){if(be(t)){const e={};for(let r=0;r1)return r&&Ae(e)?e.call(n&&n.proxy):e}}function C1(t,e,r,n=!1){const i={},s={};Va(s,Bl,1),t.propsDefaults=Object.create(null),r0(t,e,i,s);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);r?t.props=n?i:DS(i):t.type.props?t.props=i:t.props=s,t.attrs=s}function I1(t,e,r,n){const{props:i,attrs:s,vnode:{patchFlag:o}}=t,a=Ne(i),[l]=t.propsOptions;let u=!1;if((n||o>0)&&!(o&16)){if(o&8){const c=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,h]=n0(f,e,!0);Ye(o,d),h&&a.push(...h)};!r&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!s&&!l)return Ue(t)&&n.set(t,Ii),Ii;if(be(s))for(let c=0;c-1,h[1]=y<0||g-1||Pe(h,"default"))&&a.push(f)}}}const u=[o,a];return Ue(t)&&n.set(t,u),u}function Fp(t){return t[0]!=="$"}function Up(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function zp(t,e){return Up(t)===Up(e)}function jp(t,e){return be(e)?e.findIndex(r=>zp(r,t)):Ae(e)&&zp(e,t)?0:-1}const i0=t=>t[0]==="_"||t==="$stable",jd=t=>be(t)?t.map(rr):[rr(t)],O1=(t,e,r)=>{if(e._n)return e;const n=QS((...i)=>jd(e(...i)),r);return n._c=!1,n},s0=(t,e,r)=>{const n=t._ctx;for(const i in t){if(i0(i))continue;const s=t[i];if(Ae(s))e[i]=O1(i,s,n);else if(s!=null){const o=jd(s);e[i]=()=>o}}},o0=(t,e)=>{const r=jd(e);t.slots.default=()=>r},P1=(t,e)=>{if(t.vnode.shapeFlag&32){const r=e._;r?(t.slots=Ne(e),Va(e,"_",r)):s0(e,t.slots={})}else t.slots={},e&&o0(t,e);Va(t.slots,Bl,1)},R1=(t,e,r)=>{const{vnode:n,slots:i}=t;let s=!0,o=Fe;if(n.shapeFlag&32){const a=e._;a?r&&a===1?s=!1:(Ye(i,e),!r&&a===1&&delete i._):(s=!e.$stable,s0(e,i)),o=e}else e&&(o0(t,e),o={default:1});if(s)for(const a in i)!i0(a)&&!(a in o)&&delete i[a]};function bf(t,e,r,n,i=!1){if(be(t)){t.forEach((d,h)=>bf(d,e&&(be(e)?e[h]:e),r,n,i));return}if(Ws(n)&&!i)return;const s=n.shapeFlag&4?Fl(n.component)||n.component.proxy:n.el,o=i?null:s,{i:a,r:l}=t,u=e&&e.r,c=a.refs===Fe?a.refs={}:a.refs,f=a.setupState;if(u!=null&&u!==l&&(He(u)?(c[u]=null,Pe(f,u)&&(f[u]=null)):rt(u)&&(u.value=null)),Ae(l))un(l,a,12,[o,c]);else{const d=He(l),h=rt(l);if(d||h){const g=()=>{if(t.f){const y=d?Pe(f,l)?f[l]:c[l]:l.value;i?be(y)&&Td(y,s):be(y)?y.includes(s)||y.push(s):d?(c[l]=[s],Pe(f,l)&&(f[l]=c[l])):(l.value=[s],t.k&&(c[t.k]=l.value))}else d?(c[l]=o,Pe(f,l)&&(f[l]=o)):h&&(l.value=o,t.k&&(c[t.k]=o))};o?(g.id=-1,pt(g,r)):g()}}}const pt=n1;function L1(t){return N1(t)}function N1(t,e){const r=uf();r.__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=qt,insertStaticContent:g}=t,y=(w,S,M,z=null,W=null,Q=null,ie=!1,ne=null,le=!!S.dynamicChildren)=>{if(w===S)return;w&&!ws(w,S)&&(z=G(w),de(w,W,Q,!0),w=null),S.patchFlag===-2&&(le=!1,S.dynamicChildren=null);const{type:se,ref:pe,shapeFlag:he}=S;switch(se){case Dl:b(w,S,M,z);break;case dn:v(w,S,M,z);break;case Ea:w==null&&_(S,M,z,ie);break;case Ft:q(w,S,M,z,W,Q,ie,ne,le);break;default:he&1?C(w,S,M,z,W,Q,ie,ne,le):he&6?F(w,S,M,z,W,Q,ie,ne,le):(he&64||he&128)&&se.process(w,S,M,z,W,Q,ie,ne,le,ee)}pe!=null&&W&&bf(pe,w&&w.ref,Q,S||w,!S)},b=(w,S,M,z)=>{if(w==null)n(S.el=a(S.children),M,z);else{const W=S.el=w.el;S.children!==w.children&&u(W,S.children)}},v=(w,S,M,z)=>{w==null?n(S.el=l(S.children||""),M,z):S.el=w.el},_=(w,S,M,z)=>{[w.el,w.anchor]=g(w.children,S,M,z,w.el,w.anchor)},E=({el:w,anchor:S},M,z)=>{let W;for(;w&&w!==S;)W=d(w),n(w,M,z),w=W;n(S,M,z)},T=({el:w,anchor:S})=>{let M;for(;w&&w!==S;)M=d(w),i(w),w=M;i(S)},C=(w,S,M,z,W,Q,ie,ne,le)=>{ie=ie||S.type==="svg",w==null?O(S,M,z,W,Q,ie,ne,le):R(w,S,W,Q,ie,ne,le)},O=(w,S,M,z,W,Q,ie,ne)=>{let le,se;const{type:pe,props:he,shapeFlag:me,transition:I,dirs:N}=w;if(le=w.el=o(w.type,Q,he&&he.is,he),me&8?c(le,w.children):me&16&&j(w.children,le,null,z,W,Q&&pe!=="foreignObject",ie,ne),N&&An(w,null,z,"created"),k(le,w,w.scopeId,ie,z),he){for(const p in he)p!=="value"&&!ba(p)&&s(le,p,null,he[p],Q,w.children,z,W,X);"value"in he&&s(le,"value",null,he.value),(se=he.onVnodeBeforeMount)&&Jt(se,z,w)}N&&An(w,null,z,"beforeMount");const x=(!W||W&&!W.pendingBranch)&&I&&!I.persisted;x&&I.beforeEnter(le),n(le,S,M),((se=he&&he.onVnodeMounted)||x||N)&&pt(()=>{se&&Jt(se,z,w),x&&I.enter(le),N&&An(w,null,z,"mounted")},W)},k=(w,S,M,z,W)=>{if(M&&h(w,M),z)for(let Q=0;Q{for(let se=le;se{const ne=S.el=w.el;let{patchFlag:le,dynamicChildren:se,dirs:pe}=S;le|=w.patchFlag&16;const he=w.props||Fe,me=S.props||Fe;let I;M&&Mn(M,!1),(I=me.onVnodeBeforeUpdate)&&Jt(I,M,S,w),pe&&An(S,w,M,"beforeUpdate"),M&&Mn(M,!0);const N=W&&S.type!=="foreignObject";if(se?H(w.dynamicChildren,se,ne,M,z,N,Q):ie||V(w,S,ne,null,M,z,N,Q,!1),le>0){if(le&16)B(ne,S,he,me,M,z,W);else if(le&2&&he.class!==me.class&&s(ne,"class",null,me.class,W),le&4&&s(ne,"style",he.style,me.style,W),le&8){const x=S.dynamicProps;for(let p=0;p{I&&Jt(I,M,S,w),pe&&An(S,w,M,"updated")},z)},H=(w,S,M,z,W,Q,ie)=>{for(let ne=0;ne{if(M!==z){if(M!==Fe)for(const ne in M)!ba(ne)&&!(ne in z)&&s(w,ne,M[ne],null,ie,S.children,W,Q,X);for(const ne in z){if(ba(ne))continue;const le=z[ne],se=M[ne];le!==se&&ne!=="value"&&s(w,ne,se,le,ie,S.children,W,Q,X)}"value"in z&&s(w,"value",M.value,z.value)}},q=(w,S,M,z,W,Q,ie,ne,le)=>{const se=S.el=w?w.el:a(""),pe=S.anchor=w?w.anchor:a("");let{patchFlag:he,dynamicChildren:me,slotScopeIds:I}=S;I&&(ne=ne?ne.concat(I):I),w==null?(n(se,M,z),n(pe,M,z),j(S.children,M,pe,W,Q,ie,ne,le)):he>0&&he&64&&me&&w.dynamicChildren?(H(w.dynamicChildren,me,M,W,Q,ie,ne),(S.key!=null||W&&S===W.subTree)&&Hd(w,S,!0)):V(w,S,M,pe,W,Q,ie,ne,le)},F=(w,S,M,z,W,Q,ie,ne,le)=>{S.slotScopeIds=ne,w==null?S.shapeFlag&512?W.ctx.activate(S,M,z,ie,le):A(S,M,z,W,Q,ie,le):$(w,S,le)},A=(w,S,M,z,W,Q,ie)=>{const ne=w.component=q1(w,z,W);if(Gw(w)&&(ne.ctx.renderer=ee),Y1(ne),ne.asyncDep){if(W&&W.registerDep(ne,U),!w.el){const le=ne.subTree=Kt(dn);v(null,le,S,M)}return}U(ne,w,S,M,W,Q,ie)},$=(w,S,M)=>{const z=S.component=w.component;if(e1(w,S,M))if(z.asyncDep&&!z.asyncResolved){D(z,S,M);return}else z.next=S,YS(z.update),z.update();else S.el=w.el,z.vnode=S},U=(w,S,M,z,W,Q,ie)=>{const ne=()=>{if(w.isMounted){let{next:pe,bu:he,u:me,parent:I,vnode:N}=w,x=pe,p;Mn(w,!1),pe?(pe.el=N.el,D(w,pe,ie)):pe=N,he&&_a(he),(p=pe.props&&pe.props.onVnodeBeforeUpdate)&&Jt(p,I,pe,N),Mn(w,!0);const m=ju(w),L=w.subTree;w.subTree=m,y(L,m,f(L.el),G(L),w,W,Q),pe.el=m.el,x===null&&t1(w,m.el),me&&pt(me,W),(p=pe.props&&pe.props.onVnodeUpdated)&&pt(()=>Jt(p,I,pe,N),W)}else{let pe;const{el:he,props:me}=S,{bm:I,m:N,parent:x}=w,p=Ws(S);if(Mn(w,!1),I&&_a(I),!p&&(pe=me&&me.onVnodeBeforeMount)&&Jt(pe,x,S),Mn(w,!0),he&&P){const m=()=>{w.subTree=ju(w),P(he,w.subTree,w,W,null)};p?S.type.__asyncLoader().then(()=>!w.isUnmounted&&m()):m()}else{const m=w.subTree=ju(w);y(null,m,M,z,w,W,Q),S.el=m.el}if(N&&pt(N,W),!p&&(pe=me&&me.onVnodeMounted)){const m=S;pt(()=>Jt(pe,x,m),W)}(S.shapeFlag&256||x&&Ws(x.vnode)&&x.vnode.shapeFlag&256)&&w.a&&pt(w.a,W),w.isMounted=!0,S=M=z=null}},le=w.effect=new Pd(ne,()=>Fd(se),w.scope),se=w.update=()=>le.run();se.id=w.uid,Mn(w,!0),se()},D=(w,S,M)=>{S.component=w;const z=w.vnode.props;w.vnode=S,w.next=null,I1(w,S.props,z,M),R1(w,S.children,M),ls(),Rp(),us()},V=(w,S,M,z,W,Q,ie,ne,le=!1)=>{const se=w&&w.children,pe=w?w.shapeFlag:0,he=S.children,{patchFlag:me,shapeFlag:I}=S;if(me>0){if(me&128){J(se,he,M,z,W,Q,ie,ne,le);return}else if(me&256){K(se,he,M,z,W,Q,ie,ne,le);return}}I&8?(pe&16&&X(se,W,Q),he!==se&&c(M,he)):pe&16?I&16?J(se,he,M,z,W,Q,ie,ne,le):X(se,W,Q,!0):(pe&8&&c(M,""),I&16&&j(he,M,z,W,Q,ie,ne,le))},K=(w,S,M,z,W,Q,ie,ne,le)=>{w=w||Ii,S=S||Ii;const se=w.length,pe=S.length,he=Math.min(se,pe);let me;for(me=0;mepe?X(w,W,Q,!0,!1,he):j(S,M,z,W,Q,ie,ne,le,he)},J=(w,S,M,z,W,Q,ie,ne,le)=>{let se=0;const pe=S.length;let he=w.length-1,me=pe-1;for(;se<=he&&se<=me;){const I=w[se],N=S[se]=le?rn(S[se]):rr(S[se]);if(ws(I,N))y(I,N,M,null,W,Q,ie,ne,le);else break;se++}for(;se<=he&&se<=me;){const I=w[he],N=S[me]=le?rn(S[me]):rr(S[me]);if(ws(I,N))y(I,N,M,null,W,Q,ie,ne,le);else break;he--,me--}if(se>he){if(se<=me){const I=me+1,N=Ime)for(;se<=he;)de(w[se],W,Q,!0),se++;else{const I=se,N=se,x=new Map;for(se=N;se<=me;se++){const Me=S[se]=le?rn(S[se]):rr(S[se]);Me.key!=null&&x.set(Me.key,se)}let p,m=0;const L=me-N+1;let Y=!1,Z=0;const te=new Array(L);for(se=0;se=L){de(Me,W,Q,!0);continue}let Ce;if(Me.key!=null)Ce=x.get(Me.key);else for(p=N;p<=me;p++)if(te[p-N]===0&&ws(Me,S[p])){Ce=p;break}Ce===void 0?de(Me,W,Q,!0):(te[Ce-N]=se+1,Ce>=Z?Z=Ce:Y=!0,y(Me,S[Ce],M,null,W,Q,ie,ne,le),m++)}const Te=Y?$1(te):Ii;for(p=Te.length-1,se=L-1;se>=0;se--){const Me=N+se,Ce=S[Me],$e=Me+1{const{el:Q,type:ie,transition:ne,children:le,shapeFlag:se}=w;if(se&6){oe(w.component.subTree,S,M,z);return}if(se&128){w.suspense.move(S,M,z);return}if(se&64){ie.move(w,S,M,ee);return}if(ie===Ft){n(Q,S,M);for(let he=0;hene.enter(Q),W);else{const{leave:he,delayLeave:me,afterLeave:I}=ne,N=()=>n(Q,S,M),x=()=>{he(Q,()=>{N(),I&&I()})};me?me(Q,N,x):x()}else n(Q,S,M)},de=(w,S,M,z=!1,W=!1)=>{const{type:Q,props:ie,ref:ne,children:le,dynamicChildren:se,shapeFlag:pe,patchFlag:he,dirs:me}=w;if(ne!=null&&bf(ne,null,M,w,!0),pe&256){S.ctx.deactivate(w);return}const I=pe&1&&me,N=!Ws(w);let x;if(N&&(x=ie&&ie.onVnodeBeforeUnmount)&&Jt(x,S,w),pe&6)ye(w.component,M,z);else{if(pe&128){w.suspense.unmount(M,z);return}I&&An(w,null,S,"beforeUnmount"),pe&64?w.type.remove(w,S,M,W,ee,z):se&&(Q!==Ft||he>0&&he&64)?X(se,S,M,!1,!0):(Q===Ft&&he&384||!W&&pe&16)&&X(le,S,M),z&&fe(w)}(N&&(x=ie&&ie.onVnodeUnmounted)||I)&&pt(()=>{x&&Jt(x,S,w),I&&An(w,null,S,"unmounted")},M)},fe=w=>{const{type:S,el:M,anchor:z,transition:W}=w;if(S===Ft){ge(M,z);return}if(S===Ea){T(w);return}const Q=()=>{i(M),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(w.shapeFlag&1&&W&&!W.persisted){const{leave:ie,delayLeave:ne}=W,le=()=>ie(M,Q);ne?ne(w.el,Q,le):le()}else Q()},ge=(w,S)=>{let M;for(;w!==S;)M=d(w),i(w),w=M;i(S)},ye=(w,S,M)=>{const{bum:z,scope:W,update:Q,subTree:ie,um:ne}=w;z&&_a(z),W.stop(),Q&&(Q.active=!1,de(ie,w,S,M)),ne&&pt(ne,S),pt(()=>{w.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},X=(w,S,M,z=!1,W=!1,Q=0)=>{for(let ie=Q;iew.shapeFlag&6?G(w.component.subTree):w.shapeFlag&128?w.suspense.next():d(w.anchor||w.el),re=(w,S,M)=>{w==null?S._vnode&&de(S._vnode,null,null,!0):y(S._vnode||null,w,S,null,null,null,M),Rp(),Vw(),S._vnode=w},ee={p:y,um:de,m:oe,r:fe,mt:A,mc:j,pc:V,pbc:H,n:G,o:t};let ce,P;return e&&([ce,P]=e(ee)),{render:re,hydrate:ce,createApp:A1(re,ce)}}function Mn({effect:t,update:e},r){t.allowRecurse=e.allowRecurse=r}function Hd(t,e,r=!1){const n=t.children,i=e.children;if(be(n)&&be(i))for(let s=0;s>1,t[r[a]]0&&(e[n]=r[s-1]),r[s]=n)}}for(s=r.length,o=r[s-1];s-- >0;)r[s]=o,o=e[o];return r}const k1=t=>t.__isTeleport,qs=t=>t&&(t.disabled||t.disabled===""),Hp=t=>typeof SVGElement<"u"&&t instanceof SVGElement,_f=(t,e)=>{const r=t&&t.to;return He(r)?e?e(r):null:r},D1={__isTeleport:!0,process(t,e,r,n,i,s,o,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:g,createText:y,createComment:b}}=u,v=qs(e.props);let{shapeFlag:_,children:E,dynamicChildren:T}=e;if(t==null){const C=e.el=y(""),O=e.anchor=y("");h(C,r,n),h(O,r,n);const k=e.target=_f(e.props,g),j=e.targetAnchor=y("");k&&(h(j,k),o=o||Hp(k));const R=(H,B)=>{_&16&&c(E,H,B,i,s,o,a,l)};v?R(r,O):k&&R(k,j)}else{e.el=t.el;const C=e.anchor=t.anchor,O=e.target=t.target,k=e.targetAnchor=t.targetAnchor,j=qs(t.props),R=j?r:O,H=j?C:k;if(o=o||Hp(O),T?(d(t.dynamicChildren,T,R,i,s,o,a),Hd(t,e,!0)):l||f(t,e,R,H,i,s,o,a,!1),v)j||Go(e,r,C,u,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const B=e.target=_f(e.props,g);B&&Go(e,B,null,u,0)}else j&&Go(e,O,k,u,1)}a0(e)},remove(t,e,r,n,{um:i,o:{remove:s}},o){const{shapeFlag:a,children:l,anchor:u,targetAnchor:c,target:f,props:d}=t;if(f&&s(c),(o||!qs(d))&&(s(u),a&16))for(let h=0;h0?Wt||Ii:null,F1(),lo>0&&Wt&&Wt.push(t),t}function i8(t,e,r,n,i,s){return u0(h0(t,e,r,n,i,s,!0))}function c0(t,e,r,n,i){return u0(Kt(t,e,r,n,i,!0))}function f0(t){return t?t.__v_isVNode===!0:!1}function ws(t,e){return t.type===e.type&&t.key===e.key}const Bl="__vInternal",d0=({key:t})=>t??null,Sa=({ref:t,ref_key:e,ref_for:r})=>(typeof t=="number"&&(t=""+t),t!=null?He(t)||rt(t)||Ae(t)?{i:nt,r:t,k:e,f:!!r}:t:null);function h0(t,e=null,r=null,n=0,i=null,s=t===Ft?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&d0(e),ref:e&&Sa(e),scopeId:$l,slotScopeIds:null,children:r,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:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:nt};return a?(Wd(l,r),s&128&&t.normalize(l)):r&&(l.shapeFlag|=He(r)?8:16),lo>0&&!o&&Wt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Wt.push(l),l}const Kt=U1;function U1(t,e=null,r=null,n=0,i=null,s=!1){if((!t||t===y1)&&(t=dn),f0(t)){const a=Ui(t,e,!0);return r&&Wd(a,r),lo>0&&!s&&Wt&&(a.shapeFlag&6?Wt[Wt.indexOf(t)]=a:Wt.push(a)),a.patchFlag|=-2,a}if(J1(t)&&(t=t.__vccOpts),e){e=z1(e);let{class:a,style:l}=e;a&&!He(a)&&(e.class=Cd(a)),Ue(l)&&(Bw(l)&&!be(l)&&(l=Ye({},l)),e.style=Md(l))}const o=He(t)?1:r1(t)?128:k1(t)?64:Ue(t)?4:Ae(t)?2:0;return h0(t,e,r,n,i,o,s,!0)}function z1(t){return t?Bw(t)||Bl in t?Ye({},t):t:null}function Ui(t,e,r=!1){const{props:n,ref:i,patchFlag:s,children:o}=t,a=e?H1(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&d0(a),ref:e&&e.ref?r&&i?be(i)?i.concat(Sa(e)):[i,Sa(e)]:Sa(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!==Ft?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&&Ui(t.ssContent),ssFallback:t.ssFallback&&Ui(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function j1(t=" ",e=0){return Kt(Dl,null,t,e)}function s8(t,e){const r=Kt(Ea,null,t);return r.staticCount=e,r}function o8(t="",e=!1){return e?(l0(),c0(dn,null,t)):Kt(dn,null,t)}function rr(t){return t==null||typeof t=="boolean"?Kt(dn):be(t)?Kt(Ft,null,t.slice()):typeof t=="object"?rn(t):Kt(Dl,null,String(t))}function rn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ui(t)}function Wd(t,e){let r=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(be(e))r=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),Wd(t,i()),i._c&&(i._d=!0));return}else{r=32;const i=e._;!i&&!(Bl in e)?e._ctx=nt:i===3&&nt&&(nt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Ae(e)?(e={default:e,_ctx:nt},r=32):(e=String(e),n&64?(r=16,e=[j1(e)]):r=8);t.children=e,t.shapeFlag|=r}function H1(...t){const e={};for(let r=0;rXe=t),Vd=t=>{pi.length>1?pi.forEach(e=>e(t)):pi[0](t)};const zi=t=>{Vd(t),t.scope.on()},Vn=()=>{Xe&&Xe.scope.off(),Vd(null)};function p0(t){return t.vnode.shapeFlag&4}let uo=!1;function Y1(t,e=!1){uo=e;const{props:r,children:n}=t.vnode,i=p0(t);C1(t,r,i,e),P1(t,n);const s=i?K1(t,e):void 0;return uo=!1,s}function K1(t,e){const r=t.type;t.accessCache=Object.create(null),t.proxy=Fw(new Proxy(t.ctx,b1));const{setup:n}=r;if(n){const i=t.setupContext=n.length>1?X1(t):null;zi(t),ls();const s=un(n,t,0,[t.props,i]);if(us(),Vn(),Ew(s)){if(s.then(Vn,Vn),e)return s.then(o=>{qp(t,o,e)}).catch(o=>{Ll(o,t,0)});t.asyncDep=s}else qp(t,s,e)}else g0(t,e)}function qp(t,e,r){Ae(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ue(e)&&(t.setupState=jw(e)),g0(t,r)}let Yp;function g0(t,e,r){const n=t.type;if(!t.render){if(!e&&Yp&&!n.render){const i=n.template||zd(t).template;if(i){const{isCustomElement:s,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=n,u=Ye(Ye({isCustomElement:s,delimiters:a},o),l);n.render=Yp(i,u)}}t.render=n.render||qt}zi(t),ls(),_1(t),us(),Vn()}function G1(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,r){return yt(t,"get","$attrs"),e[r]}}))}function X1(t){const e=r=>{t.exposed=r||{}};return{get attrs(){return G1(t)},slots:t.slots,emit:t.emit,expose:e}}function Fl(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(jw(Fw(t.exposed)),{get(e,r){if(r in e)return e[r];if(r in Vs)return Vs[r](t)},has(e,r){return r in e||r in Vs}}))}function Q1(t,e=!0){return Ae(t)?t.displayName||t.name:t.name||e&&t.__name}function J1(t){return Ae(t)&&"__vccOpts"in t}const Z1=(t,e)=>HS(t,e,uo),ex=Symbol.for("v-scx"),tx=()=>va(ex),rx="3.3.4",nx="http://www.w3.org/2000/svg",Nn=typeof document<"u"?document:null,Kp=Nn&&Nn.createElement("template"),ix={insert:(t,e,r)=>{e.insertBefore(t,r||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,r,n)=>{const i=e?Nn.createElementNS(nx,t):Nn.createElement(t,r?{is:r}:void 0);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>Nn.createTextNode(t),createComment:t=>Nn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Nn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,r,n,i,s){const o=r?r.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),r),!(i===s||!(i=i.nextSibling)););else{Kp.innerHTML=n?`${t}`:t;const a=Kp.content;if(n){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,r)}return[o?o.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function sx(t,e,r){const n=t._vtc;n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):r?t.setAttribute("class",e):t.className=e}function ox(t,e,r){const n=t.style,i=He(r);if(r&&!i){if(e&&!He(e))for(const s in e)r[s]==null&&vf(n,s,"");for(const s in r)vf(n,s,r[s])}else{const s=n.display;i?e!==r&&(n.cssText=r):e&&t.removeAttribute("style"),"_vod"in t&&(n.display=s)}}const Gp=/\s*!important$/;function vf(t,e,r){if(be(r))r.forEach(n=>vf(t,e,n));else if(r==null&&(r=""),e.startsWith("--"))t.setProperty(e,r);else{const n=ax(t,e);Gp.test(r)?t.setProperty(as(n),r.replace(Gp,""),"important"):t[n]=r}}const Xp=["Webkit","Moz","ms"],Vu={};function ax(t,e){const r=Vu[e];if(r)return r;let n=hr(e);if(n!=="filter"&&n in t)return Vu[e]=n;n=Pl(n);for(let i=0;iqu||(hx.then(()=>qu=0),qu=Date.now());function gx(t,e){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Yt(mx(n,r.value),e,5,[n])};return r.value=t,r.attached=px(),r}function mx(t,e){if(be(e)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const Zp=/^on[a-z]/,yx=(t,e,r,n,i=!1,s,o,a,l)=>{e==="class"?sx(t,n,i):e==="style"?ox(t,r,n):Il(e)?xd(e)||fx(t,e,r,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):bx(t,e,n,i))?ux(t,e,n,s,o,a,l):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),lx(t,e,n,i))};function bx(t,e,r,n){return n?!!(e==="innerHTML"||e==="textContent"||e in t&&Zp.test(e)&&Ae(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Zp.test(e)&&He(r)?!1:e in t}const ji=t=>{const e=t.props["onUpdate:modelValue"]||!1;return be(e)?r=>_a(e,r):e};function _x(t){t.target.composing=!0}function eg(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const a8={created(t,{modifiers:{lazy:e,trim:r,number:n}},i){t._assign=ji(i);const s=n||i.props&&i.props.type==="number";sn(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;r&&(a=a.trim()),s&&(a=qa(a)),t._assign(a)}),r&&sn(t,"change",()=>{t.value=t.value.trim()}),e||(sn(t,"compositionstart",_x),sn(t,"compositionend",eg),sn(t,"change",eg))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:r,trim:n,number:i}},s){if(t._assign=ji(s),t.composing||document.activeElement===t&&t.type!=="range"&&(r||n&&t.value.trim()===e||(i||t.type==="number")&&qa(t.value)===e))return;const o=e??"";t.value!==o&&(t.value=o)}},l8={deep:!0,created(t,e,r){t._assign=ji(r),sn(t,"change",()=>{const n=t._modelValue,i=co(t),s=t.checked,o=t._assign;if(be(n)){const a=Id(n,i),l=a!==-1;if(s&&!l)o(n.concat(i));else if(!s&&l){const u=[...n];u.splice(a,1),o(u)}}else if(os(n)){const a=new Set(n);s?a.add(i):a.delete(i),o(a)}else o(m0(t,s))})},mounted:tg,beforeUpdate(t,e,r){t._assign=ji(r),tg(t,e,r)}};function tg(t,{value:e,oldValue:r},n){t._modelValue=e,be(e)?t.checked=Id(e,n.props.value)>-1:os(e)?t.checked=e.has(n.props.value):e!==r&&(t.checked=Eo(e,m0(t,!0)))}const u8={deep:!0,created(t,{value:e,modifiers:{number:r}},n){const i=os(e);sn(t,"change",()=>{const s=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>r?qa(co(o)):co(o));t._assign(t.multiple?i?new Set(s):s:s[0])}),t._assign=ji(n)},mounted(t,{value:e}){rg(t,e)},beforeUpdate(t,e,r){t._assign=ji(r)},updated(t,{value:e}){rg(t,e)}};function rg(t,e){const r=t.multiple;if(!(r&&!be(e)&&!os(e))){for(let n=0,i=t.options.length;n-1:s.selected=e.has(o);else if(Eo(co(s),e)){t.selectedIndex!==n&&(t.selectedIndex=n);return}}!r&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function co(t){return"_value"in t?t._value:t.value}function m0(t,e){const r=e?"_trueValue":"_falseValue";return r in t?t[r]:e}const c8={beforeMount(t,{value:e},{transition:r}){t._vod=t.style.display==="none"?"":t.style.display,r&&e?r.beforeEnter(t):bs(t,e)},mounted(t,{value:e},{transition:r}){r&&e&&r.enter(t)},updated(t,{value:e,oldValue:r},{transition:n}){!e!=!r&&(n?e?(n.beforeEnter(t),bs(t,!0),n.enter(t)):n.leave(t,()=>{bs(t,!1)}):bs(t,e))},beforeUnmount(t,{value:e}){bs(t,e)}};function bs(t,e){t.style.display=e?t._vod:"none"}const vx=Ye({patchProp:yx},ix);let ng;function Ex(){return ng||(ng=L1(vx))}const f8=(...t)=>{const e=Ex().createApp(...t),{mount:r}=e;return e.mount=n=>{const i=Sx(n);if(!i)return;const s=e._component;!Ae(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const o=r(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function Sx(t){return He(t)?document.querySelector(t):t}var xe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xx(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Ul(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var Tx={};function y0(){throw new Error("setTimeout has not been defined")}function w0(){throw new Error("clearTimeout has not been defined")}var Zr=y0,en=w0;typeof cn.setTimeout=="function"&&(Zr=setTimeout);typeof cn.clearTimeout=="function"&&(en=clearTimeout);function b0(t){if(Zr===setTimeout)return setTimeout(t,0);if((Zr===y0||!Zr)&&setTimeout)return Zr=setTimeout,setTimeout(t,0);try{return Zr(t,0)}catch{try{return Zr.call(null,t,0)}catch{return Zr.call(this,t,0)}}}function Ax(t){if(en===clearTimeout)return clearTimeout(t);if((en===w0||!en)&&clearTimeout)return en=clearTimeout,clearTimeout(t);try{return en(t)}catch{try{return en.call(null,t)}catch{return en.call(this,t)}}}var Tr=[],Li=!1,Dn,xa=-1;function Mx(){!Li||!Dn||(Li=!1,Dn.length?Tr=Dn.concat(Tr):xa=-1,Tr.length&&_0())}function _0(){if(!Li){var t=b0(Mx);Li=!0;for(var e=Tr.length;e;){for(Dn=Tr,Tr=[];++xa1)for(var r=1;rthis.max?!1:(this.aliasToTopic[r]=e,this.length=Object.keys(this.aliasToTopic).length,!0)}getTopicByAlias(e){return this.aliasToTopic[e]}clear(){this.aliasToTopic={}}}qd.default=Zx;var zl={},jl={exports:{}},Ef={exports:{}},Yd={exports:{}},Ni=typeof Reflect=="object"?Reflect:null,ig=Ni&&typeof Ni.apply=="function"?Ni.apply:function(e,r,n){return Function.prototype.apply.call(e,r,n)},Ta;Ni&&typeof Ni.ownKeys=="function"?Ta=Ni.ownKeys:Object.getOwnPropertySymbols?Ta=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Ta=function(e){return Object.getOwnPropertyNames(e)};function eT(t){console&&console.warn&&console.warn(t)}var E0=Number.isNaN||function(e){return e!==e};function ke(){ke.init.call(this)}Yd.exports=ke;Yd.exports.once=iT;ke.EventEmitter=ke;ke.prototype._events=void 0;ke.prototype._eventsCount=0;ke.prototype._maxListeners=void 0;var sg=10;function Hl(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(ke,"defaultMaxListeners",{enumerable:!0,get:function(){return sg},set:function(t){if(typeof t!="number"||t<0||E0(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");sg=t}});ke.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};ke.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||E0(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function S0(t){return t._maxListeners===void 0?ke.defaultMaxListeners:t._maxListeners}ke.prototype.getMaxListeners=function(){return S0(this)};ke.prototype.emit=function(e){for(var r=[],n=1;n0&&(o=r[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var l=s[e];if(l===void 0)return!1;if(typeof l=="function")ig(l,this,r);else for(var u=l.length,c=C0(l,u),n=0;n0&&o.length>i&&!o.warned){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=o.length,eT(a)}return t}ke.prototype.addListener=function(e,r){return x0(this,e,r,!1)};ke.prototype.on=ke.prototype.addListener;ke.prototype.prependListener=function(e,r){return x0(this,e,r,!0)};function tT(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function T0(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=tT.bind(n);return i.listener=r,n.wrapFn=i,i}ke.prototype.once=function(e,r){return Hl(r),this.on(e,T0(this,e,r)),this};ke.prototype.prependOnceListener=function(e,r){return Hl(r),this.prependListener(e,T0(this,e,r)),this};ke.prototype.removeListener=function(e,r){var n,i,s,o,a;if(Hl(r),i=this._events,i===void 0)return this;if(n=i[e],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||r));else if(typeof n!="function"){for(s=-1,o=n.length-1;o>=0;o--)if(n[o]===r||n[o].listener===r){a=n[o].listener,s=o;break}if(s<0)return this;s===0?n.shift():rT(n,s),n.length===1&&(i[e]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",e,a||r)}return this};ke.prototype.off=ke.prototype.removeListener;ke.prototype.removeAllListeners=function(e){var r,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[e]),this;if(arguments.length===0){var s=Object.keys(n),o;for(i=0;i=0;i--)this.removeListener(e,r[i]);return this};function A0(t,e,r){var n=t._events;if(n===void 0)return[];var i=n[e];return i===void 0?[]:typeof i=="function"?r?[i.listener||i]:[i]:r?nT(i):C0(i,i.length)}ke.prototype.listeners=function(e){return A0(this,e,!0)};ke.prototype.rawListeners=function(e){return A0(this,e,!1)};ke.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):M0.call(t,e)};ke.prototype.listenerCount=M0;function M0(t){var e=this._events;if(e!==void 0){var r=e[t];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}ke.prototype.eventNames=function(){return this._eventsCount>0?Ta(this._events):[]};function C0(t,e){for(var r=new Array(e),n=0;n0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function lT(t){var e=P0(t),r=e[0],n=e[1];return(r+n)*3/4-n}function uT(t,e,r){return(e+r)*3/4-r}function cT(t){var e,r=P0(t),n=r[0],i=r[1],s=new oT(uT(t,n,i)),o=0,a=i>0?n-4:n,l;for(l=0;l>16&255,s[o++]=e>>8&255,s[o++]=e&255;return i===2&&(e=At[t.charCodeAt(l)]<<2|At[t.charCodeAt(l+1)]>>4,s[o++]=e&255),i===1&&(e=At[t.charCodeAt(l)]<<10|At[t.charCodeAt(l+1)]<<4|At[t.charCodeAt(l+2)]>>2,s[o++]=e>>8&255,s[o++]=e&255),s}function fT(t){return ir[t>>18&63]+ir[t>>12&63]+ir[t>>6&63]+ir[t&63]}function dT(t,e,r){for(var n,i=[],s=e;sa?a:o+s));return n===1?(e=t[r-1],i.push(ir[e>>2]+ir[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(ir[e>>10]+ir[e>>4&63]+ir[e<<2&63]+"=")),i.join("")}var Kd={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */Kd.read=function(t,e,r,n,i){var s,o,a=i*8-n-1,l=(1<>1,c=-7,f=r?i-1:0,d=r?-1:1,h=t[e+f];for(f+=d,s=h&(1<<-c)-1,h>>=-c,c+=a;c>0;s=s*256+t[e+f],f+=d,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=n;c>0;o=o*256+t[e+f],f+=d,c-=8);if(s===0)s=1-u;else{if(s===l)return o?NaN:(h?-1:1)*(1/0);o=o+Math.pow(2,n),s=s-u}return(h?-1:1)*o*Math.pow(2,s-n)};Kd.write=function(t,e,r,n,i,s){var o,a,l,u=s*8-i-1,c=(1<>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:s-1,g=n?1:-1,y=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+f>=1?e+=d/l:e+=d*Math.pow(2,1-f),e*l>=2&&(o++,l/=2),o+f>=c?(a=0,o=c):o+f>=1?(a=(e*l-1)*Math.pow(2,i),o=o+f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;t[r+h]=a&255,h+=g,a/=256,i-=8);for(o=o<0;t[r+h]=o&255,h+=g,o/=256,u-=8);t[r+h-g]|=y*128};/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */(function(t){const e=Wl,r=Kd,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=a,t.SlowBuffer=_,t.INSPECT_MAX_BYTES=50;const i=2147483647;t.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=s(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function s(){try{const x=new Uint8Array(1),p={foo:function(){return 42}};return Object.setPrototypeOf(p,Uint8Array.prototype),Object.setPrototypeOf(x,p),x.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function o(x){if(x>i)throw new RangeError('The value "'+x+'" is invalid for option "size"');const p=new Uint8Array(x);return Object.setPrototypeOf(p,a.prototype),p}function a(x,p,m){if(typeof x=="number"){if(typeof p=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(x)}return l(x,p,m)}a.poolSize=8192;function l(x,p,m){if(typeof x=="string")return d(x,p);if(ArrayBuffer.isView(x))return g(x);if(x==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof x);if(pe(x,ArrayBuffer)||x&&pe(x.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(pe(x,SharedArrayBuffer)||x&&pe(x.buffer,SharedArrayBuffer)))return y(x,p,m);if(typeof x=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const L=x.valueOf&&x.valueOf();if(L!=null&&L!==x)return a.from(L,p,m);const Y=b(x);if(Y)return Y;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof x[Symbol.toPrimitive]=="function")return a.from(x[Symbol.toPrimitive]("string"),p,m);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof x)}a.from=function(x,p,m){return l(x,p,m)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function u(x){if(typeof x!="number")throw new TypeError('"size" argument must be of type number');if(x<0)throw new RangeError('The value "'+x+'" is invalid for option "size"')}function c(x,p,m){return u(x),x<=0?o(x):p!==void 0?typeof m=="string"?o(x).fill(p,m):o(x).fill(p):o(x)}a.alloc=function(x,p,m){return c(x,p,m)};function f(x){return u(x),o(x<0?0:v(x)|0)}a.allocUnsafe=function(x){return f(x)},a.allocUnsafeSlow=function(x){return f(x)};function d(x,p){if((typeof p!="string"||p==="")&&(p="utf8"),!a.isEncoding(p))throw new TypeError("Unknown encoding: "+p);const m=E(x,p)|0;let L=o(m);const Y=L.write(x,p);return Y!==m&&(L=L.slice(0,Y)),L}function h(x){const p=x.length<0?0:v(x.length)|0,m=o(p);for(let L=0;L=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return x|0}function _(x){return+x!=x&&(x=0),a.alloc(+x)}a.isBuffer=function(p){return p!=null&&p._isBuffer===!0&&p!==a.prototype},a.compare=function(p,m){if(pe(p,Uint8Array)&&(p=a.from(p,p.offset,p.byteLength)),pe(m,Uint8Array)&&(m=a.from(m,m.offset,m.byteLength)),!a.isBuffer(p)||!a.isBuffer(m))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(p===m)return 0;let L=p.length,Y=m.length;for(let Z=0,te=Math.min(L,Y);ZY.length?(a.isBuffer(te)||(te=a.from(te)),te.copy(Y,Z)):Uint8Array.prototype.set.call(Y,te,Z);else if(a.isBuffer(te))te.copy(Y,Z);else throw new TypeError('"list" argument must be an Array of Buffers');Z+=te.length}return Y};function E(x,p){if(a.isBuffer(x))return x.length;if(ArrayBuffer.isView(x)||pe(x,ArrayBuffer))return x.byteLength;if(typeof x!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof x);const m=x.length,L=arguments.length>2&&arguments[2]===!0;if(!L&&m===0)return 0;let Y=!1;for(;;)switch(p){case"ascii":case"latin1":case"binary":return m;case"utf8":case"utf-8":return Q(x).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return m*2;case"hex":return m>>>1;case"base64":return le(x).length;default:if(Y)return L?-1:Q(x).length;p=(""+p).toLowerCase(),Y=!0}}a.byteLength=E;function T(x,p,m){let L=!1;if((p===void 0||p<0)&&(p=0),p>this.length||((m===void 0||m>this.length)&&(m=this.length),m<=0)||(m>>>=0,p>>>=0,m<=p))return"";for(x||(x="utf8");;)switch(x){case"hex":return K(this,p,m);case"utf8":case"utf-8":return A(this,p,m);case"ascii":return D(this,p,m);case"latin1":case"binary":return V(this,p,m);case"base64":return F(this,p,m);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return J(this,p,m);default:if(L)throw new TypeError("Unknown encoding: "+x);x=(x+"").toLowerCase(),L=!0}}a.prototype._isBuffer=!0;function C(x,p,m){const L=x[p];x[p]=x[m],x[m]=L}a.prototype.swap16=function(){const p=this.length;if(p%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let m=0;mm&&(p+=" ... "),""},n&&(a.prototype[n]=a.prototype.inspect),a.prototype.compare=function(p,m,L,Y,Z){if(pe(p,Uint8Array)&&(p=a.from(p,p.offset,p.byteLength)),!a.isBuffer(p))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof p);if(m===void 0&&(m=0),L===void 0&&(L=p?p.length:0),Y===void 0&&(Y=0),Z===void 0&&(Z=this.length),m<0||L>p.length||Y<0||Z>this.length)throw new RangeError("out of range index");if(Y>=Z&&m>=L)return 0;if(Y>=Z)return-1;if(m>=L)return 1;if(m>>>=0,L>>>=0,Y>>>=0,Z>>>=0,this===p)return 0;let te=Z-Y,Te=L-m;const Me=Math.min(te,Te),Ce=this.slice(Y,Z),$e=p.slice(m,L);for(let Le=0;Le2147483647?m=2147483647:m<-2147483648&&(m=-2147483648),m=+m,he(m)&&(m=Y?0:x.length-1),m<0&&(m=x.length+m),m>=x.length){if(Y)return-1;m=x.length-1}else if(m<0)if(Y)m=0;else return-1;if(typeof p=="string"&&(p=a.from(p,L)),a.isBuffer(p))return p.length===0?-1:k(x,p,m,L,Y);if(typeof p=="number")return p=p&255,typeof Uint8Array.prototype.indexOf=="function"?Y?Uint8Array.prototype.indexOf.call(x,p,m):Uint8Array.prototype.lastIndexOf.call(x,p,m):k(x,[p],m,L,Y);throw new TypeError("val must be string, number or Buffer")}function k(x,p,m,L,Y){let Z=1,te=x.length,Te=p.length;if(L!==void 0&&(L=String(L).toLowerCase(),L==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(x.length<2||p.length<2)return-1;Z=2,te/=2,Te/=2,m/=2}function Me($e,Le){return Z===1?$e[Le]:$e.readUInt16BE(Le*Z)}let Ce;if(Y){let $e=-1;for(Ce=m;Cete&&(m=te-Te),Ce=m;Ce>=0;Ce--){let $e=!0;for(let Le=0;LeY&&(L=Y)):L=Y;const Z=p.length;L>Z/2&&(L=Z/2);let te;for(te=0;te>>0,isFinite(L)?(L=L>>>0,Y===void 0&&(Y="utf8")):(Y=L,L=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Z=this.length-m;if((L===void 0||L>Z)&&(L=Z),p.length>0&&(L<0||m<0)||m>this.length)throw new RangeError("Attempt to write outside buffer bounds");Y||(Y="utf8");let te=!1;for(;;)switch(Y){case"hex":return j(this,p,m,L);case"utf8":case"utf-8":return R(this,p,m,L);case"ascii":case"latin1":case"binary":return H(this,p,m,L);case"base64":return B(this,p,m,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,p,m,L);default:if(te)throw new TypeError("Unknown encoding: "+Y);Y=(""+Y).toLowerCase(),te=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(x,p,m){return p===0&&m===x.length?e.fromByteArray(x):e.fromByteArray(x.slice(p,m))}function A(x,p,m){m=Math.min(x.length,m);const L=[];let Y=p;for(;Y239?4:Z>223?3:Z>191?2:1;if(Y+Te<=m){let Me,Ce,$e,Le;switch(Te){case 1:Z<128&&(te=Z);break;case 2:Me=x[Y+1],(Me&192)===128&&(Le=(Z&31)<<6|Me&63,Le>127&&(te=Le));break;case 3:Me=x[Y+1],Ce=x[Y+2],(Me&192)===128&&(Ce&192)===128&&(Le=(Z&15)<<12|(Me&63)<<6|Ce&63,Le>2047&&(Le<55296||Le>57343)&&(te=Le));break;case 4:Me=x[Y+1],Ce=x[Y+2],$e=x[Y+3],(Me&192)===128&&(Ce&192)===128&&($e&192)===128&&(Le=(Z&15)<<18|(Me&63)<<12|(Ce&63)<<6|$e&63,Le>65535&&Le<1114112&&(te=Le))}}te===null?(te=65533,Te=1):te>65535&&(te-=65536,L.push(te>>>10&1023|55296),te=56320|te&1023),L.push(te),Y+=Te}return U(L)}const $=4096;function U(x){const p=x.length;if(p<=$)return String.fromCharCode.apply(String,x);let m="",L=0;for(;LL)&&(m=L);let Y="";for(let Z=p;ZL&&(p=L),m<0?(m+=L,m<0&&(m=0)):m>L&&(m=L),mm)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(p,m,L){p=p>>>0,m=m>>>0,L||oe(p,m,this.length);let Y=this[p],Z=1,te=0;for(;++te>>0,m=m>>>0,L||oe(p,m,this.length);let Y=this[p+--m],Z=1;for(;m>0&&(Z*=256);)Y+=this[p+--m]*Z;return Y},a.prototype.readUint8=a.prototype.readUInt8=function(p,m){return p=p>>>0,m||oe(p,1,this.length),this[p]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(p,m){return p=p>>>0,m||oe(p,2,this.length),this[p]|this[p+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(p,m){return p=p>>>0,m||oe(p,2,this.length),this[p]<<8|this[p+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(p,m){return p=p>>>0,m||oe(p,4,this.length),(this[p]|this[p+1]<<8|this[p+2]<<16)+this[p+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(p,m){return p=p>>>0,m||oe(p,4,this.length),this[p]*16777216+(this[p+1]<<16|this[p+2]<<8|this[p+3])},a.prototype.readBigUInt64LE=I(function(p){p=p>>>0,S(p,"offset");const m=this[p],L=this[p+7];(m===void 0||L===void 0)&&M(p,this.length-8);const Y=m+this[++p]*2**8+this[++p]*2**16+this[++p]*2**24,Z=this[++p]+this[++p]*2**8+this[++p]*2**16+L*2**24;return BigInt(Y)+(BigInt(Z)<>>0,S(p,"offset");const m=this[p],L=this[p+7];(m===void 0||L===void 0)&&M(p,this.length-8);const Y=m*2**24+this[++p]*2**16+this[++p]*2**8+this[++p],Z=this[++p]*2**24+this[++p]*2**16+this[++p]*2**8+L;return(BigInt(Y)<>>0,m=m>>>0,L||oe(p,m,this.length);let Y=this[p],Z=1,te=0;for(;++te=Z&&(Y-=Math.pow(2,8*m)),Y},a.prototype.readIntBE=function(p,m,L){p=p>>>0,m=m>>>0,L||oe(p,m,this.length);let Y=m,Z=1,te=this[p+--Y];for(;Y>0&&(Z*=256);)te+=this[p+--Y]*Z;return Z*=128,te>=Z&&(te-=Math.pow(2,8*m)),te},a.prototype.readInt8=function(p,m){return p=p>>>0,m||oe(p,1,this.length),this[p]&128?(255-this[p]+1)*-1:this[p]},a.prototype.readInt16LE=function(p,m){p=p>>>0,m||oe(p,2,this.length);const L=this[p]|this[p+1]<<8;return L&32768?L|4294901760:L},a.prototype.readInt16BE=function(p,m){p=p>>>0,m||oe(p,2,this.length);const L=this[p+1]|this[p]<<8;return L&32768?L|4294901760:L},a.prototype.readInt32LE=function(p,m){return p=p>>>0,m||oe(p,4,this.length),this[p]|this[p+1]<<8|this[p+2]<<16|this[p+3]<<24},a.prototype.readInt32BE=function(p,m){return p=p>>>0,m||oe(p,4,this.length),this[p]<<24|this[p+1]<<16|this[p+2]<<8|this[p+3]},a.prototype.readBigInt64LE=I(function(p){p=p>>>0,S(p,"offset");const m=this[p],L=this[p+7];(m===void 0||L===void 0)&&M(p,this.length-8);const Y=this[p+4]+this[p+5]*2**8+this[p+6]*2**16+(L<<24);return(BigInt(Y)<>>0,S(p,"offset");const m=this[p],L=this[p+7];(m===void 0||L===void 0)&&M(p,this.length-8);const Y=(m<<24)+this[++p]*2**16+this[++p]*2**8+this[++p];return(BigInt(Y)<>>0,m||oe(p,4,this.length),r.read(this,p,!0,23,4)},a.prototype.readFloatBE=function(p,m){return p=p>>>0,m||oe(p,4,this.length),r.read(this,p,!1,23,4)},a.prototype.readDoubleLE=function(p,m){return p=p>>>0,m||oe(p,8,this.length),r.read(this,p,!0,52,8)},a.prototype.readDoubleBE=function(p,m){return p=p>>>0,m||oe(p,8,this.length),r.read(this,p,!1,52,8)};function de(x,p,m,L,Y,Z){if(!a.isBuffer(x))throw new TypeError('"buffer" argument must be a Buffer instance');if(p>Y||px.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(p,m,L,Y){if(p=+p,m=m>>>0,L=L>>>0,!Y){const Te=Math.pow(2,8*L)-1;de(this,p,m,L,Te,0)}let Z=1,te=0;for(this[m]=p&255;++te>>0,L=L>>>0,!Y){const Te=Math.pow(2,8*L)-1;de(this,p,m,L,Te,0)}let Z=L-1,te=1;for(this[m+Z]=p&255;--Z>=0&&(te*=256);)this[m+Z]=p/te&255;return m+L},a.prototype.writeUint8=a.prototype.writeUInt8=function(p,m,L){return p=+p,m=m>>>0,L||de(this,p,m,1,255,0),this[m]=p&255,m+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(p,m,L){return p=+p,m=m>>>0,L||de(this,p,m,2,65535,0),this[m]=p&255,this[m+1]=p>>>8,m+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(p,m,L){return p=+p,m=m>>>0,L||de(this,p,m,2,65535,0),this[m]=p>>>8,this[m+1]=p&255,m+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(p,m,L){return p=+p,m=m>>>0,L||de(this,p,m,4,4294967295,0),this[m+3]=p>>>24,this[m+2]=p>>>16,this[m+1]=p>>>8,this[m]=p&255,m+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(p,m,L){return p=+p,m=m>>>0,L||de(this,p,m,4,4294967295,0),this[m]=p>>>24,this[m+1]=p>>>16,this[m+2]=p>>>8,this[m+3]=p&255,m+4};function fe(x,p,m,L,Y){w(p,L,Y,x,m,7);let Z=Number(p&BigInt(4294967295));x[m++]=Z,Z=Z>>8,x[m++]=Z,Z=Z>>8,x[m++]=Z,Z=Z>>8,x[m++]=Z;let te=Number(p>>BigInt(32)&BigInt(4294967295));return x[m++]=te,te=te>>8,x[m++]=te,te=te>>8,x[m++]=te,te=te>>8,x[m++]=te,m}function ge(x,p,m,L,Y){w(p,L,Y,x,m,7);let Z=Number(p&BigInt(4294967295));x[m+7]=Z,Z=Z>>8,x[m+6]=Z,Z=Z>>8,x[m+5]=Z,Z=Z>>8,x[m+4]=Z;let te=Number(p>>BigInt(32)&BigInt(4294967295));return x[m+3]=te,te=te>>8,x[m+2]=te,te=te>>8,x[m+1]=te,te=te>>8,x[m]=te,m+8}a.prototype.writeBigUInt64LE=I(function(p,m=0){return fe(this,p,m,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=I(function(p,m=0){return ge(this,p,m,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(p,m,L,Y){if(p=+p,m=m>>>0,!Y){const Me=Math.pow(2,8*L-1);de(this,p,m,L,Me-1,-Me)}let Z=0,te=1,Te=0;for(this[m]=p&255;++Z>0)-Te&255;return m+L},a.prototype.writeIntBE=function(p,m,L,Y){if(p=+p,m=m>>>0,!Y){const Me=Math.pow(2,8*L-1);de(this,p,m,L,Me-1,-Me)}let Z=L-1,te=1,Te=0;for(this[m+Z]=p&255;--Z>=0&&(te*=256);)p<0&&Te===0&&this[m+Z+1]!==0&&(Te=1),this[m+Z]=(p/te>>0)-Te&255;return m+L},a.prototype.writeInt8=function(p,m,L){return p=+p,m=m>>>0,L||de(this,p,m,1,127,-128),p<0&&(p=255+p+1),this[m]=p&255,m+1},a.prototype.writeInt16LE=function(p,m,L){return p=+p,m=m>>>0,L||de(this,p,m,2,32767,-32768),this[m]=p&255,this[m+1]=p>>>8,m+2},a.prototype.writeInt16BE=function(p,m,L){return p=+p,m=m>>>0,L||de(this,p,m,2,32767,-32768),this[m]=p>>>8,this[m+1]=p&255,m+2},a.prototype.writeInt32LE=function(p,m,L){return p=+p,m=m>>>0,L||de(this,p,m,4,2147483647,-2147483648),this[m]=p&255,this[m+1]=p>>>8,this[m+2]=p>>>16,this[m+3]=p>>>24,m+4},a.prototype.writeInt32BE=function(p,m,L){return p=+p,m=m>>>0,L||de(this,p,m,4,2147483647,-2147483648),p<0&&(p=4294967295+p+1),this[m]=p>>>24,this[m+1]=p>>>16,this[m+2]=p>>>8,this[m+3]=p&255,m+4},a.prototype.writeBigInt64LE=I(function(p,m=0){return fe(this,p,m,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=I(function(p,m=0){return ge(this,p,m,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ye(x,p,m,L,Y,Z){if(m+L>x.length)throw new RangeError("Index out of range");if(m<0)throw new RangeError("Index out of range")}function X(x,p,m,L,Y){return p=+p,m=m>>>0,Y||ye(x,p,m,4),r.write(x,p,m,L,23,4),m+4}a.prototype.writeFloatLE=function(p,m,L){return X(this,p,m,!0,L)},a.prototype.writeFloatBE=function(p,m,L){return X(this,p,m,!1,L)};function G(x,p,m,L,Y){return p=+p,m=m>>>0,Y||ye(x,p,m,8),r.write(x,p,m,L,52,8),m+8}a.prototype.writeDoubleLE=function(p,m,L){return G(this,p,m,!0,L)},a.prototype.writeDoubleBE=function(p,m,L){return G(this,p,m,!1,L)},a.prototype.copy=function(p,m,L,Y){if(!a.isBuffer(p))throw new TypeError("argument should be a Buffer");if(L||(L=0),!Y&&Y!==0&&(Y=this.length),m>=p.length&&(m=p.length),m||(m=0),Y>0&&Y=this.length)throw new RangeError("Index out of range");if(Y<0)throw new RangeError("sourceEnd out of bounds");Y>this.length&&(Y=this.length),p.length-m>>0,L=L===void 0?this.length:L>>>0,p||(p=0);let Z;if(typeof p=="number")for(Z=m;Z2**32?Y=ce(String(m)):typeof m=="bigint"&&(Y=String(m),(m>BigInt(2)**BigInt(32)||m<-(BigInt(2)**BigInt(32)))&&(Y=ce(Y)),Y+="n"),L+=` It must be ${p}. Received ${Y}`,L},RangeError);function ce(x){let p="",m=x.length;const L=x[0]==="-"?1:0;for(;m>=L+4;m-=3)p=`_${x.slice(m-3,m)}${p}`;return`${x.slice(0,m)}${p}`}function P(x,p,m){S(p,"offset"),(x[p]===void 0||x[p+m]===void 0)&&M(p,x.length-(m+1))}function w(x,p,m,L,Y,Z){if(x>m||x3?p===0||p===BigInt(0)?Te=`>= 0${te} and < 2${te} ** ${(Z+1)*8}${te}`:Te=`>= -(2${te} ** ${(Z+1)*8-1}${te}) and < 2 ** ${(Z+1)*8-1}${te}`:Te=`>= ${p}${te} and <= ${m}${te}`,new re.ERR_OUT_OF_RANGE("value",Te,x)}P(L,Y,Z)}function S(x,p){if(typeof x!="number")throw new re.ERR_INVALID_ARG_TYPE(p,"number",x)}function M(x,p,m){throw Math.floor(x)!==x?(S(x,m),new re.ERR_OUT_OF_RANGE(m||"offset","an integer",x)):p<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE(m||"offset",`>= ${m?1:0} and <= ${p}`,x)}const z=/[^+/0-9A-Za-z-_]/g;function W(x){if(x=x.split("=")[0],x=x.trim().replace(z,""),x.length<2)return"";for(;x.length%4!==0;)x=x+"=";return x}function Q(x,p){p=p||1/0;let m;const L=x.length;let Y=null;const Z=[];for(let te=0;te55295&&m<57344){if(!Y){if(m>56319){(p-=3)>-1&&Z.push(239,191,189);continue}else if(te+1===L){(p-=3)>-1&&Z.push(239,191,189);continue}Y=m;continue}if(m<56320){(p-=3)>-1&&Z.push(239,191,189),Y=m;continue}m=(Y-55296<<10|m-56320)+65536}else Y&&(p-=3)>-1&&Z.push(239,191,189);if(Y=null,m<128){if((p-=1)<0)break;Z.push(m)}else if(m<2048){if((p-=2)<0)break;Z.push(m>>6|192,m&63|128)}else if(m<65536){if((p-=3)<0)break;Z.push(m>>12|224,m>>6&63|128,m&63|128)}else if(m<1114112){if((p-=4)<0)break;Z.push(m>>18|240,m>>12&63|128,m>>6&63|128,m&63|128)}else throw new Error("Invalid code point")}return Z}function ie(x){const p=[];for(let m=0;m>8,Y=m%256,Z.push(Y),Z.push(L);return Z}function le(x){return e.toByteArray(W(x))}function se(x,p,m,L){let Y;for(Y=0;Y=p.length||Y>=x.length);++Y)p[Y+m]=x[Y];return Y}function pe(x,p){return x instanceof p||x!=null&&x.constructor!=null&&x.constructor.name!=null&&x.constructor.name===p.name}function he(x){return x!==x}const me=function(){const x="0123456789abcdef",p=new Array(256);for(let m=0;m<16;++m){const L=m*16;for(let Y=0;Y<16;++Y)p[L+Y]=x[m]+x[Y]}return p}();function I(x){return typeof BigInt>"u"?N:x}function N(){throw new Error("BigInt not supported")}})(We);var sr=[],Mt=[],pT=typeof Uint8Array<"u"?Uint8Array:Array,Gd=!1;function R0(){Gd=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e0)throw new Error("Invalid string. Length must be a multiple of 4");s=t[a-2]==="="?2:t[a-1]==="="?1:0,o=new pT(a*3/4-s),n=s>0?a-4:a;var l=0;for(e=0,r=0;e>16&255,o[l++]=i>>8&255,o[l++]=i&255;return s===2?(i=Mt[t.charCodeAt(e)]<<2|Mt[t.charCodeAt(e+1)]>>4,o[l++]=i&255):s===1&&(i=Mt[t.charCodeAt(e)]<<10|Mt[t.charCodeAt(e+1)]<<4|Mt[t.charCodeAt(e+2)]>>2,o[l++]=i>>8&255,o[l++]=i&255),o}function mT(t){return sr[t>>18&63]+sr[t>>12&63]+sr[t>>6&63]+sr[t&63]}function yT(t,e,r){for(var n,i=[],s=e;sl?l:a+o));return n===1?(e=t[r-1],i+=sr[e>>2],i+=sr[e<<4&63],i+="=="):n===2&&(e=(t[r-2]<<8)+t[r-1],i+=sr[e>>10],i+=sr[e>>4&63],i+=sr[e<<2&63],i+="="),s.push(i),s.join("")}function Vl(t,e,r,n,i){var s,o,a=i*8-n-1,l=(1<>1,c=-7,f=r?i-1:0,d=r?-1:1,h=t[e+f];for(f+=d,s=h&(1<<-c)-1,h>>=-c,c+=a;c>0;s=s*256+t[e+f],f+=d,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=n;c>0;o=o*256+t[e+f],f+=d,c-=8);if(s===0)s=1-u;else{if(s===l)return o?NaN:(h?-1:1)*(1/0);o=o+Math.pow(2,n),s=s-u}return(h?-1:1)*o*Math.pow(2,s-n)}function L0(t,e,r,n,i,s){var o,a,l,u=s*8-i-1,c=(1<>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:s-1,g=n?1:-1,y=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+f>=1?e+=d/l:e+=d*Math.pow(2,1-f),e*l>=2&&(o++,l/=2),o+f>=c?(a=0,o=c):o+f>=1?(a=(e*l-1)*Math.pow(2,i),o=o+f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;t[r+h]=a&255,h+=g,a/=256,i-=8);for(o=o<0;t[r+h]=o&255,h+=g,o/=256,u-=8);t[r+h-g]|=y*128}var wT={}.toString,N0=Array.isArray||function(t){return wT.call(t)=="[object Array]"};/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */var bT=50;ae.TYPED_ARRAY_SUPPORT=cn.TYPED_ARRAY_SUPPORT!==void 0?cn.TYPED_ARRAY_SUPPORT:!0;Qa();function Qa(){return ae.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Ar(t,e){if(Qa()=Qa())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Qa().toString(16)+" bytes");return t|0}ae.isBuffer=HT;function pr(t){return!!(t!=null&&t._isBuffer)}ae.compare=function(e,r){if(!pr(e)||!pr(r))throw new TypeError("Arguments must be Buffers");if(e===r)return 0;for(var n=e.length,i=r.length,s=0,o=Math.min(n,i);s>>1;case"base64":return W0(t).length;default:if(n)return Ja(t).length;e=(""+e).toLowerCase(),n=!0}}ae.byteLength=D0;function xT(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return NT(this,e,r);case"utf8":case"utf-8":return U0(this,e,r);case"ascii":return RT(this,e,r);case"latin1":case"binary":return LT(this,e,r);case"base64":return OT(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $T(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}ae.prototype._isBuffer=!0;function Bn(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}ae.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""};ae.prototype.compare=function(e,r,n,i,s){if(!pr(e))throw new TypeError("Argument must be a Buffer");if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),s===void 0&&(s=this.length),r<0||n>e.length||i<0||s>this.length)throw new RangeError("out of range index");if(i>=s&&r>=n)return 0;if(i>=s)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,s>>>=0,this===e)return 0;for(var o=s-i,a=n-r,l=Math.min(o,a),u=this.slice(i,s),c=e.slice(r,n),f=0;f2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=ae.from(e,n)),pr(e))return e.length===0?-1:ag(t,e,r,n,i);if(typeof e=="number")return e=e&255,ae.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ag(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ag(t,e,r,n,i){var s=1,o=t.length,a=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;s=2,o/=2,a/=2,r/=2}function l(h,g){return s===1?h[g]:h.readUInt16BE(g*s)}var u;if(i){var c=-1;for(u=r;uo&&(r=o-a),u=r;u>=0;u--){for(var f=!0,d=0;di&&(n=i)):n=i;var s=e.length;if(s%2!==0)throw new TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var o=0;os)&&(n=s),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return TT(this,e,r,n);case"utf8":case"utf-8":return AT(this,e,r,n);case"ascii":return F0(this,e,r,n);case"latin1":case"binary":return MT(this,e,r,n);case"base64":return CT(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return IT(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};ae.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function OT(t,e,r){return e===0&&r===t.length?og(t):og(t.slice(e,r))}function U0(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i239?4:s>223?3:s>191?2:1;if(i+a<=r){var l,u,c,f;switch(a){case 1:s<128&&(o=s);break;case 2:l=t[i+1],(l&192)===128&&(f=(s&31)<<6|l&63,f>127&&(o=f));break;case 3:l=t[i+1],u=t[i+2],(l&192)===128&&(u&192)===128&&(f=(s&15)<<12|(l&63)<<6|u&63,f>2047&&(f<55296||f>57343)&&(o=f));break;case 4:l=t[i+1],u=t[i+2],c=t[i+3],(l&192)===128&&(u&192)===128&&(c&192)===128&&(f=(s&15)<<18|(l&63)<<12|(u&63)<<6|c&63,f>65535&&f<1114112&&(o=f))}}o===null?(o=65533,a=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=a}return PT(n)}var lg=4096;function PT(t){var e=t.length;if(e<=lg)return String.fromCharCode.apply(String,t);for(var r="",n=0;nn)&&(r=n);for(var i="",s=e;sn&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),rr)throw new RangeError("Trying to access beyond buffer length")}ae.prototype.readUIntLE=function(e,r,n){e=e|0,r=r|0,n||Ke(e,r,this.length);for(var i=this[e],s=1,o=0;++o0&&(s*=256);)i+=this[e+--r]*s;return i};ae.prototype.readUInt8=function(e,r){return r||Ke(e,1,this.length),this[e]};ae.prototype.readUInt16LE=function(e,r){return r||Ke(e,2,this.length),this[e]|this[e+1]<<8};ae.prototype.readUInt16BE=function(e,r){return r||Ke(e,2,this.length),this[e]<<8|this[e+1]};ae.prototype.readUInt32LE=function(e,r){return r||Ke(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};ae.prototype.readUInt32BE=function(e,r){return r||Ke(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};ae.prototype.readIntLE=function(e,r,n){e=e|0,r=r|0,n||Ke(e,r,this.length);for(var i=this[e],s=1,o=0;++o=s&&(i-=Math.pow(2,8*r)),i};ae.prototype.readIntBE=function(e,r,n){e=e|0,r=r|0,n||Ke(e,r,this.length);for(var i=r,s=1,o=this[e+--i];i>0&&(s*=256);)o+=this[e+--i]*s;return s*=128,o>=s&&(o-=Math.pow(2,8*r)),o};ae.prototype.readInt8=function(e,r){return r||Ke(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};ae.prototype.readInt16LE=function(e,r){r||Ke(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};ae.prototype.readInt16BE=function(e,r){r||Ke(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};ae.prototype.readInt32LE=function(e,r){return r||Ke(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};ae.prototype.readInt32BE=function(e,r){return r||Ke(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};ae.prototype.readFloatLE=function(e,r){return r||Ke(e,4,this.length),Vl(this,e,!0,23,4)};ae.prototype.readFloatBE=function(e,r){return r||Ke(e,4,this.length),Vl(this,e,!1,23,4)};ae.prototype.readDoubleLE=function(e,r){return r||Ke(e,8,this.length),Vl(this,e,!0,52,8)};ae.prototype.readDoubleBE=function(e,r){return r||Ke(e,8,this.length),Vl(this,e,!1,52,8)};function wt(t,e,r,n,i,s){if(!pr(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}ae.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r|0,n=n|0,!i){var s=Math.pow(2,8*n)-1;wt(this,e,r,n,s,0)}var o=1,a=0;for(this[r]=e&255;++a=0&&(a*=256);)this[r+o]=e/a&255;return r+n};ae.prototype.writeUInt8=function(e,r,n){return e=+e,r=r|0,n||wt(this,e,r,1,255,0),ae.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[r]=e&255,r+1};function ql(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,s=Math.min(t.length-r,2);i>>(n?i:1-i)*8}ae.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r|0,n||wt(this,e,r,2,65535,0),ae.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):ql(this,e,r,!0),r+2};ae.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r|0,n||wt(this,e,r,2,65535,0),ae.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):ql(this,e,r,!1),r+2};function Yl(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,s=Math.min(t.length-r,4);i>>(n?i:3-i)*8&255}ae.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r|0,n||wt(this,e,r,4,4294967295,0),ae.TYPED_ARRAY_SUPPORT?(this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255):Yl(this,e,r,!0),r+4};ae.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r|0,n||wt(this,e,r,4,4294967295,0),ae.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):Yl(this,e,r,!1),r+4};ae.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r|0,!i){var s=Math.pow(2,8*n-1);wt(this,e,r,n,s-1,-s)}var o=0,a=1,l=0;for(this[r]=e&255;++o>0)-l&255;return r+n};ae.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r|0,!i){var s=Math.pow(2,8*n-1);wt(this,e,r,n,s-1,-s)}var o=n-1,a=1,l=0;for(this[r+o]=e&255;--o>=0&&(a*=256);)e<0&&l===0&&this[r+o+1]!==0&&(l=1),this[r+o]=(e/a>>0)-l&255;return r+n};ae.prototype.writeInt8=function(e,r,n){return e=+e,r=r|0,n||wt(this,e,r,1,127,-128),ae.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[r]=e&255,r+1};ae.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r|0,n||wt(this,e,r,2,32767,-32768),ae.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):ql(this,e,r,!0),r+2};ae.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r|0,n||wt(this,e,r,2,32767,-32768),ae.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):ql(this,e,r,!1),r+2};ae.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r|0,n||wt(this,e,r,4,2147483647,-2147483648),ae.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24):Yl(this,e,r,!0),r+4};ae.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r|0,n||wt(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),ae.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):Yl(this,e,r,!1),r+4};function z0(t,e,r,n,i,s){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function j0(t,e,r,n,i){return i||z0(t,e,r,4),L0(t,e,r,n,23,4),r+4}ae.prototype.writeFloatLE=function(e,r,n){return j0(this,e,r,!0,n)};ae.prototype.writeFloatBE=function(e,r,n){return j0(this,e,r,!1,n)};function H0(t,e,r,n,i){return i||z0(t,e,r,8),L0(t,e,r,n,52,8),r+8}ae.prototype.writeDoubleLE=function(e,r,n){return H0(this,e,r,!0,n)};ae.prototype.writeDoubleBE=function(e,r,n){return H0(this,e,r,!1,n)};ae.prototype.copy=function(e,r,n,i){if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r=0;--o)e[o+r]=this[o+n];else if(s<1e3||!ae.TYPED_ARRAY_SUPPORT)for(o=0;o>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&s.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&s.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;s.push(r)}else if(r<2048){if((e-=2)<0)break;s.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;s.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return s}function UT(t){for(var e=[],r=0;r>8,i=r%256,s.push(i),s.push(n);return s}function W0(t){return gT(DT(t))}function Kl(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function jT(t){return t!==t}function HT(t){return t!=null&&(!!t._isBuffer||V0(t)||WT(t))}function V0(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function WT(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&V0(t.slice(0,0))}var q0={exports:{}},je=q0.exports={},er,tr;function xf(){throw new Error("setTimeout has not been defined")}function Tf(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?er=setTimeout:er=xf}catch{er=xf}try{typeof clearTimeout=="function"?tr=clearTimeout:tr=Tf}catch{tr=Tf}})();function Y0(t){if(er===setTimeout)return setTimeout(t,0);if((er===xf||!er)&&setTimeout)return er=setTimeout,setTimeout(t,0);try{return er(t,0)}catch{try{return er.call(null,t,0)}catch{return er.call(this,t,0)}}}function VT(t){if(tr===clearTimeout)return clearTimeout(t);if((tr===Tf||!tr)&&clearTimeout)return tr=clearTimeout,clearTimeout(t);try{return tr(t)}catch{try{return tr.call(null,t)}catch{return tr.call(this,t)}}}var Mr=[],$i=!1,Fn,Aa=-1;function qT(){!$i||!Fn||($i=!1,Fn.length?Mr=Fn.concat(Mr):Aa=-1,Mr.length&&K0())}function K0(){if(!$i){var t=Y0(qT);$i=!0;for(var e=Mr.length;e;){for(Fn=Mr,Mr=[];++Aa1)for(var r=1;r=i)return a;switch(a){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}default:return a}}),o=n[r];r=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Xl(e)?r.showHidden=e:e&&nh(r,e),ar(r.showHidden)&&(r.showHidden=!1),ar(r.depth)&&(r.depth=2),ar(r.colors)&&(r.colors=!1),ar(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=KT),Za(r,t,r.depth)}lr.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};lr.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function KT(t,e){var r=lr.styles[e];return r?"\x1B["+lr.colors[r][0]+"m"+t+"\x1B["+lr.colors[r][1]+"m":t}function GT(t,e){return t}function XT(t){var e={};return t.forEach(function(r,n){e[r]=!0}),e}function Za(t,e,r){if(t.customInspect&&e&&Xs(e.inspect)&&e.inspect!==lr&&!(e.constructor&&e.constructor.prototype===e)){var n=e.inspect(r,t);return bn(n)||(n=Za(t,n,r)),n}var i=QT(t,e);if(i)return i;var s=Object.keys(e),o=XT(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(e)),Gs(e)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return Xu(e);if(s.length===0){if(Xs(e)){var a=e.name?": "+e.name:"";return t.stylize("[Function"+a+"]","special")}if(Ks(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(el(e))return t.stylize(Date.prototype.toString.call(e),"date");if(Gs(e))return Xu(e)}var l="",u=!1,c=["{","}"];if(Zd(e)&&(u=!0,c=["[","]"]),Xs(e)){var f=e.name?": "+e.name:"";l=" [Function"+f+"]"}if(Ks(e)&&(l=" "+RegExp.prototype.toString.call(e)),el(e)&&(l=" "+Date.prototype.toUTCString.call(e)),Gs(e)&&(l=" "+Xu(e)),s.length===0&&(!u||e.length==0))return c[0]+l+c[1];if(r<0)return Ks(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var d;return u?d=JT(t,e,r,o,s):d=s.map(function(h){return Mf(t,e,r,o,h,u)}),t.seen.pop(),ZT(d,l,c)}function QT(t,e){if(ar(e))return t.stylize("undefined","undefined");if(bn(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(th(e))return t.stylize(""+e,"number");if(Xl(e))return t.stylize(""+e,"boolean");if(Cr(e))return t.stylize("null","null")}function Xu(t){return"["+Error.prototype.toString.call(t)+"]"}function JT(t,e,r,n,i){for(var s=[],o=0,a=e.length;o-1&&(s?a=a.split(` -`).map(function(u){return" "+u}).join(` -`).substr(2):a=` -`+a.split(` -`).map(function(u){return" "+u}).join(` -`))):a=t.stylize("[Circular]","special")),ar(o)){if(s&&i.match(/^\d+$/))return a;o=JSON.stringify(""+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+a}function ZT(t,e,r){var n=t.reduce(function(i,s){return s.indexOf(` -`)>=0,i+s.replace(/\u001b\[\d\d?m/g,"").length+1},0);return n>60?r[0]+(e===""?"":e+` - `)+" "+t.join(`, - `)+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function Zd(t){return Array.isArray(t)}function Xl(t){return typeof t=="boolean"}function Cr(t){return t===null}function eh(t){return t==null}function th(t){return typeof t=="number"}function bn(t){return typeof t=="string"}function J0(t){return typeof t=="symbol"}function ar(t){return t===void 0}function Ks(t){return qr(t)&&rh(t)==="[object RegExp]"}function qr(t){return typeof t=="object"&&t!==null}function el(t){return qr(t)&&rh(t)==="[object Date]"}function Gs(t){return qr(t)&&(rh(t)==="[object Error]"||t instanceof Error)}function Xs(t){return typeof t=="function"}function Z0(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}function eb(t){return ae.isBuffer(t)}function rh(t){return Object.prototype.toString.call(t)}function Qu(t){return t<10?"0"+t.toString(10):t.toString(10)}var eA=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function tA(){var t=new Date,e=[Qu(t.getHours()),Qu(t.getMinutes()),Qu(t.getSeconds())].join(":");return[t.getDate(),eA[t.getMonth()],e].join(" ")}function tb(){console.log("%s - %s",tA(),Gl.apply(null,arguments))}function nh(t,e){if(!e||!qr(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}function rb(t,e){return Object.prototype.hasOwnProperty.call(t,e)}const rA={inherits:X0,_extend:nh,log:tb,isBuffer:eb,isPrimitive:Z0,isFunction:Xs,isError:Gs,isDate:el,isObject:qr,isRegExp:Ks,isUndefined:ar,isSymbol:J0,isString:bn,isNumber:th,isNullOrUndefined:eh,isNull:Cr,isBoolean:Xl,isArray:Zd,inspect:lr,deprecate:Jd,format:Gl,debuglog:Q0},nA=Object.freeze(Object.defineProperty({__proto__:null,_extend:nh,debuglog:Q0,default:rA,deprecate:Jd,format:Gl,inherits:X0,inspect:lr,isArray:Zd,isBoolean:Xl,isBuffer:eb,isDate:el,isError:Gs,isFunction:Xs,isNull:Cr,isNullOrUndefined:eh,isNumber:th,isObject:qr,isPrimitive:Z0,isRegExp:Ks,isString:bn,isSymbol:J0,isUndefined:ar,log:tb},Symbol.toStringTag,{value:"Module"})),nb=Ul(nA);var Ju,ug;function iA(){if(ug)return Ju;ug=1;function t(g,y){var b=Object.keys(g);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(g);y&&(v=v.filter(function(_){return Object.getOwnPropertyDescriptor(g,_).enumerable})),b.push.apply(b,v)}return b}function e(g){for(var y=1;y0?this.tail.next=v:this.head=v,this.tail=v,++this.length}},{key:"unshift",value:function(b){var v={data:b,next:this.head};this.length===0&&(this.tail=v),this.head=v,++this.length}},{key:"shift",value:function(){if(this.length!==0){var b=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,b}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(b){if(this.length===0)return"";for(var v=this.head,_=""+v.data;v=v.next;)_+=b+v.data;return _}},{key:"concat",value:function(b){if(this.length===0)return u.alloc(0);for(var v=u.allocUnsafe(b>>>0),_=this.head,E=0;_;)h(_.data,v,E),E+=_.data.length,_=_.next;return v}},{key:"consume",value:function(b,v){var _;return bT.length?T.length:b;if(C===T.length?E+=T:E+=T.slice(0,b),b-=C,b===0){C===T.length?(++_,v.next?this.head=v.next:this.head=this.tail=null):(this.head=v,v.data=T.slice(C));break}++_}return this.length-=_,E}},{key:"_getBuffer",value:function(b){var v=u.allocUnsafe(b),_=this.head,E=1;for(_.data.copy(v),b-=_.data.length;_=_.next;){var T=_.data,C=b>T.length?T.length:b;if(T.copy(v,v.length-b,0,C),b-=C,b===0){C===T.length?(++E,_.next?this.head=_.next:this.head=this.tail=null):(this.head=_,_.data=T.slice(C));break}++E}return this.length-=E,v}},{key:d,value:function(b,v){return f(this,e(e({},v),{},{depth:0,customInspect:!1}))}}]),g}(),Ju}function sA(t,e){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,_e.nextTick(Cf,this,t)):_e.nextTick(Cf,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(s){!e&&s?r._writableState?r._writableState.errorEmitted?_e.nextTick(Ma,r):(r._writableState.errorEmitted=!0,_e.nextTick(cg,r,s)):_e.nextTick(cg,r,s):e?(_e.nextTick(Ma,r),e(s)):_e.nextTick(Ma,r)}),this)}function cg(t,e){Cf(t,e),Ma(t)}function Ma(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function oA(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Cf(t,e){t.emit("error",e)}function aA(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}var ib={destroy:sA,undestroy:oA,errorOrDestroy:aA},si={};function lA(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var sb={};function Nt(t,e,r){r||(r=Error);function n(s,o,a){return typeof e=="string"?e:e(s,o,a)}var i=function(s){lA(o,s);function o(a,l,u){return s.call(this,n(a,l,u))||this}return o}(r);i.prototype.name=r.name,i.prototype.code=t,sb[t]=i}function fg(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map(function(n){return String(n)}),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:r===2?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}else return"of ".concat(e," ").concat(String(t))}function uA(t,e,r){return t.substr(!r||r<0?0:+r,e.length)===e}function cA(t,e,r){return(r===void 0||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}function fA(t,e,r){return typeof r!="number"&&(r=0),r+e.length>t.length?!1:t.indexOf(e,r)!==-1}Nt("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);Nt("ERR_INVALID_ARG_TYPE",function(t,e,r){var n;typeof e=="string"&&uA(e,"not ")?(n="must not be",e=e.replace(/^not /,"")):n="must be";var i;if(cA(t," argument"))i="The ".concat(t," ").concat(n," ").concat(fg(e,"type"));else{var s=fA(t,".")?"property":"argument";i='The "'.concat(t,'" ').concat(s," ").concat(n," ").concat(fg(e,"type"))}return i+=". Received type ".concat(typeof r),i},TypeError);Nt("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Nt("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});Nt("ERR_STREAM_PREMATURE_CLOSE","Premature close");Nt("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});Nt("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Nt("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Nt("ERR_STREAM_WRITE_AFTER_END","write after end");Nt("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Nt("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);Nt("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");si.codes=sb;var dA=si.codes.ERR_INVALID_OPT_VALUE;function hA(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}function pA(t,e,r,n){var i=hA(e,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var s=n?r:"highWaterMark";throw new dA(s,i)}return Math.floor(i)}return t.objectMode?16:16*1024}var ob={getHighWaterMark:pA},If={exports:{}};typeof Object.create=="function"?If.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:If.exports=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}};var oi=If.exports,gA=mA;function mA(t,e){if(Zu("noDeprecation"))return t;var r=!1;function n(){if(!r){if(Zu("throwDeprecation"))throw new Error(e);Zu("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}return n}function Zu(t){try{if(!xe.localStorage)return!1}catch{return!1}var e=xe.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}var ec,dg;function ab(){if(dg)return ec;dg=1,ec=j;function t(X){var G=this;this.next=null,this.entry=null,this.finish=function(){ye(G,X)}}var e;j.WritableState=O;var r={deprecate:gA},n=O0,i=We.Buffer,s=(typeof xe<"u"?xe:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function o(X){return i.from(X)}function a(X){return i.isBuffer(X)||X instanceof s}var l=ib,u=ob,c=u.getHighWaterMark,f=si.codes,d=f.ERR_INVALID_ARG_TYPE,h=f.ERR_METHOD_NOT_IMPLEMENTED,g=f.ERR_MULTIPLE_CALLBACK,y=f.ERR_STREAM_CANNOT_PIPE,b=f.ERR_STREAM_DESTROYED,v=f.ERR_STREAM_NULL_VALUES,_=f.ERR_STREAM_WRITE_AFTER_END,E=f.ERR_UNKNOWN_ENCODING,T=l.errorOrDestroy;oi(j,n);function C(){}function O(X,G,re){e=e||Hi(),X=X||{},typeof re!="boolean"&&(re=G instanceof e),this.objectMode=!!X.objectMode,re&&(this.objectMode=this.objectMode||!!X.writableObjectMode),this.highWaterMark=c(this,X,"writableHighWaterMark",re),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ee=X.decodeStrings===!1;this.decodeStrings=!ee,this.defaultEncoding=X.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ce){U(G,ce)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=X.emitClose!==!1,this.autoDestroy=!!X.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}O.prototype.getBuffer=function(){for(var G=this.bufferedRequest,re=[];G;)re.push(G),G=G.next;return re},function(){try{Object.defineProperty(O.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var k;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(k=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(G){return k.call(this,G)?!0:this!==j?!1:G&&G._writableState instanceof O}})):k=function(G){return G instanceof this};function j(X){e=e||Hi();var G=this instanceof e;if(!G&&!k.call(j,this))return new j(X);this._writableState=new O(X,this,G),this.writable=!0,X&&(typeof X.write=="function"&&(this._write=X.write),typeof X.writev=="function"&&(this._writev=X.writev),typeof X.destroy=="function"&&(this._destroy=X.destroy),typeof X.final=="function"&&(this._final=X.final)),n.call(this)}j.prototype.pipe=function(){T(this,new y)};function R(X,G){var re=new _;T(X,re),_e.nextTick(G,re)}function H(X,G,re,ee){var ce;return re===null?ce=new v:typeof re!="string"&&!G.objectMode&&(ce=new d("chunk",["string","Buffer"],re)),ce?(T(X,ce),_e.nextTick(ee,ce),!1):!0}j.prototype.write=function(X,G,re){var ee=this._writableState,ce=!1,P=!ee.objectMode&&a(X);return P&&!i.isBuffer(X)&&(X=o(X)),typeof G=="function"&&(re=G,G=null),P?G="buffer":G||(G=ee.defaultEncoding),typeof re!="function"&&(re=C),ee.ending?R(this,re):(P||H(this,ee,X,re))&&(ee.pendingcb++,ce=q(this,ee,P,X,G,re)),ce},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var X=this._writableState;X.corked&&(X.corked--,!X.writing&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest&&K(this,X))},j.prototype.setDefaultEncoding=function(G){if(typeof G=="string"&&(G=G.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((G+"").toLowerCase())>-1))throw new E(G);return this._writableState.defaultEncoding=G,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function B(X,G,re){return!X.objectMode&&X.decodeStrings!==!1&&typeof G=="string"&&(G=i.from(G,re)),G}Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function q(X,G,re,ee,ce,P){if(!re){var w=B(G,ee,ce);ee!==w&&(re=!0,ce="buffer",ee=w)}var S=G.objectMode?1:ee.length;G.length+=S;var M=G.length */(function(t,e){var r=We,n=r.Buffer;function i(o,a){for(var l in o)a[l]=o[l]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(i(r,e),e.Buffer=s);function s(o,a,l){return n(o,a,l)}s.prototype=Object.create(n.prototype),i(n,s),s.from=function(o,a,l){if(typeof o=="number")throw new TypeError("Argument must not be a number");return n(o,a,l)},s.alloc=function(o,a,l){if(typeof o!="number")throw new TypeError("Argument must be a number");var u=n(o);return a!==void 0?typeof l=="string"?u.fill(a,l):u.fill(a):u.fill(0),u},s.allocUnsafe=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return n(o)},s.allocUnsafeSlow=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(o)}})(Of,Of.exports);var yA=Of.exports,ih=yA.Buffer,pg=ih.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function wA(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function bA(t){var e=wA(t);if(typeof e!="string"&&(ih.isEncoding===pg||!pg(t)))throw new Error("Unknown encoding: "+t);return e||t}tl.StringDecoder=So;function So(t){this.encoding=bA(t);var e;switch(this.encoding){case"utf16le":this.text=TA,this.end=AA,e=4;break;case"utf8":this.fillLast=EA,e=4;break;case"base64":this.text=MA,this.end=CA,e=3;break;default:this.write=IA,this.end=OA;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ih.allocUnsafe(e)}So.prototype.write=function(t){if(t.length===0)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function _A(t,e,r){var n=e.length-1;if(n=0?(i>0&&(t.lastNeed=i-1),i):--n=0?(i>0&&(t.lastNeed=i-2),i):--n=0?(i>0&&(i===2?i=0:t.lastNeed=i-3),i):0))}function vA(t,e,r){if((e[0]&192)!==128)return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"�"}}function EA(t){var e=this.lastTotal-this.lastNeed,r=vA(this,t);if(r!==void 0)return r;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function SA(t,e){var r=_A(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}function xA(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e}function TA(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function AA(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function MA(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function CA(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function IA(t){return t.toString(this.encoding)}function OA(t){return t&&t.length?this.write(t):""}var gg=si.codes.ERR_STREAM_PREMATURE_CLOSE;function PA(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i0)if(typeof w!="string"&&!W.objectMode&&Object.getPrototypeOf(w)!==n.prototype&&(w=s(w)),M)W.endEmitted?C(P,new v):B(P,W,w,!0);else if(W.ended)C(P,new y);else{if(W.destroyed)return!1;W.reading=!1,W.decoder&&!S?(w=W.decoder.write(w),W.objectMode||w.length!==0?B(P,W,w,!1):K(P,W)):B(P,W,w,!1)}else M||(W.reading=!1,K(P,W))}return!W.ended&&(W.length=F?P=F:(P--,P|=P>>>1,P|=P>>>2,P|=P>>>4,P|=P>>>8,P|=P>>>16,P++),P}function $(P,w){return P<=0||w.length===0&&w.ended?0:w.objectMode?1:P!==P?w.flowing&&w.length?w.buffer.head.data.length:w.length:(P>w.highWaterMark&&(w.highWaterMark=A(P)),P<=w.length?P:w.ended?w.length:(w.needReadable=!0,0))}R.prototype.read=function(P){l("read",P),P=parseInt(P,10);var w=this._readableState,S=P;if(P!==0&&(w.emittedReadable=!1),P===0&&w.needReadable&&((w.highWaterMark!==0?w.length>=w.highWaterMark:w.length>0)||w.ended))return l("read: emitReadable",w.length,w.ended),w.length===0&&w.ended?re(this):D(this),null;if(P=$(P,w),P===0&&w.ended)return w.length===0&&re(this),null;var M=w.needReadable;l("need readable",M),(w.length===0||w.length-P0?z=G(P,w):z=null,z===null?(w.needReadable=w.length<=w.highWaterMark,P=0):(w.length-=P,w.awaitDrain=0),w.length===0&&(w.ended||(w.needReadable=!0),S!==P&&w.ended&&re(this)),z!==null&&this.emit("data",z),z};function U(P,w){if(l("onEofChunk"),!w.ended){if(w.decoder){var S=w.decoder.end();S&&S.length&&(w.buffer.push(S),w.length+=w.objectMode?1:S.length)}w.ended=!0,w.sync?D(P):(w.needReadable=!1,w.emittedReadable||(w.emittedReadable=!0,V(P)))}}function D(P){var w=P._readableState;l("emitReadable",w.needReadable,w.emittedReadable),w.needReadable=!1,w.emittedReadable||(l("emitReadable",w.flowing),w.emittedReadable=!0,_e.nextTick(V,P))}function V(P){var w=P._readableState;l("emitReadable_",w.destroyed,w.length,w.ended),!w.destroyed&&(w.length||w.ended)&&(P.emit("readable"),w.emittedReadable=!1),w.needReadable=!w.flowing&&!w.ended&&w.length<=w.highWaterMark,X(P)}function K(P,w){w.readingMore||(w.readingMore=!0,_e.nextTick(J,P,w))}function J(P,w){for(;!w.reading&&!w.ended&&(w.length1&&ce(M.pipes,P)!==-1)&&!le&&(l("false write response, pause",M.awaitDrain),M.awaitDrain++),S.pause())}function he(x){l("onerror",x),N(),P.removeListener("error",he),e(P,"error")===0&&C(P,x)}k(P,"error",he);function me(){P.removeListener("finish",I),N()}P.once("close",me);function I(){l("onfinish"),P.removeListener("close",me),N()}P.once("finish",I);function N(){l("unpipe"),S.unpipe(P)}return P.emit("pipe",S),M.flowing||(l("pipe resume"),S.resume()),P};function oe(P){return function(){var S=P._readableState;l("pipeOnDrain",S.awaitDrain),S.awaitDrain&&S.awaitDrain--,S.awaitDrain===0&&e(P,"data")&&(S.flowing=!0,X(P))}}R.prototype.unpipe=function(P){var w=this._readableState,S={hasUnpiped:!1};if(w.pipesCount===0)return this;if(w.pipesCount===1)return P&&P!==w.pipes?this:(P||(P=w.pipes),w.pipes=null,w.pipesCount=0,w.flowing=!1,P&&P.emit("unpipe",this,S),this);if(!P){var M=w.pipes,z=w.pipesCount;w.pipes=null,w.pipesCount=0,w.flowing=!1;for(var W=0;W0,M.flowing!==!1&&this.resume()):P==="readable"&&!M.endEmitted&&!M.readableListening&&(M.readableListening=M.needReadable=!0,M.flowing=!1,M.emittedReadable=!1,l("on readable",M.length,M.reading),M.length?D(this):M.reading||_e.nextTick(fe,this)),S},R.prototype.addListener=R.prototype.on,R.prototype.removeListener=function(P,w){var S=r.prototype.removeListener.call(this,P,w);return P==="readable"&&_e.nextTick(de,this),S},R.prototype.removeAllListeners=function(P){var w=r.prototype.removeAllListeners.apply(this,arguments);return(P==="readable"||P===void 0)&&_e.nextTick(de,this),w};function de(P){var w=P._readableState;w.readableListening=P.listenerCount("readable")>0,w.resumeScheduled&&!w.paused?w.flowing=!0:P.listenerCount("data")>0&&P.resume()}function fe(P){l("readable nexttick read 0"),P.read(0)}R.prototype.resume=function(){var P=this._readableState;return P.flowing||(l("resume"),P.flowing=!P.readableListening,ge(this,P)),P.paused=!1,this};function ge(P,w){w.resumeScheduled||(w.resumeScheduled=!0,_e.nextTick(ye,P,w))}function ye(P,w){l("resume",w.reading),w.reading||P.read(0),w.resumeScheduled=!1,P.emit("resume"),X(P),w.flowing&&!w.reading&&P.read(0)}R.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function X(P){var w=P._readableState;for(l("flow",w.flowing);w.flowing&&P.read()!==null;);}R.prototype.wrap=function(P){var w=this,S=this._readableState,M=!1;P.on("end",function(){if(l("wrapped end"),S.decoder&&!S.ended){var Q=S.decoder.end();Q&&Q.length&&w.push(Q)}w.push(null)}),P.on("data",function(Q){if(l("wrapped data"),S.decoder&&(Q=S.decoder.write(Q)),!(S.objectMode&&Q==null)&&!(!S.objectMode&&(!Q||!Q.length))){var ie=w.push(Q);ie||(M=!0,P.pause())}});for(var z in P)this[z]===void 0&&typeof P[z]=="function"&&(this[z]=function(ie){return function(){return P[ie].apply(P,arguments)}}(z));for(var W=0;W=w.length?(w.decoder?S=w.buffer.join(""):w.buffer.length===1?S=w.buffer.first():S=w.buffer.concat(w.length),w.buffer.clear()):S=w.buffer.consume(P,w.decoder),S}function re(P){var w=P._readableState;l("endReadable",w.endEmitted),w.endEmitted||(w.ended=!0,_e.nextTick(ee,w,P))}function ee(P,w){if(l("endReadableNT",P.endEmitted,P.length),!P.endEmitted&&P.length===0&&(P.endEmitted=!0,w.readable=!1,w.emit("end"),P.autoDestroy)){var S=w._writableState;(!S||S.autoDestroy&&S.finished)&&w.destroy()}}typeof Symbol=="function"&&(R.from=function(P,w){return T===void 0&&(T=$A()),T(R,P,w)});function ce(P,w){for(var S=0,M=P.length;S0;return YA(o,l,u,function(c){i||(i=c),c&&s.forEach(vg),!l&&(s.forEach(vg),n(i))})});return e.reduce(KA)}var QA=XA;(function(t,e){e=t.exports=ub(),e.Stream=e,e.Readable=e,e.Writable=ab(),e.Duplex=Hi(),e.Transform=cb,e.PassThrough=jA,e.finished=sh,e.pipeline=QA})(Ef,Ef.exports);var hb=Ef.exports;const{Buffer:jt}=We,pb=Symbol.for("BufferList");function Be(t){if(!(this instanceof Be))return new Be(t);Be._init.call(this,t)}Be._init=function(e){Object.defineProperty(this,pb,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)};Be.prototype._new=function(e){return new Be(e)};Be.prototype._offset=function(e){if(e===0)return[0,0];let r=0;for(let n=0;nthis.length||e<0)return;const r=this._offset(e);return this._bufs[r[0]][r[1]]};Be.prototype.slice=function(e,r){return typeof e=="number"&&e<0&&(e+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,e,r)};Be.prototype.copy=function(e,r,n,i){if((typeof n!="number"||n<0)&&(n=0),(typeof i!="number"||i>this.length)&&(i=this.length),n>=this.length||i<=0)return e||jt.alloc(0);const s=!!e,o=this._offset(n),a=i-n;let l=a,u=s&&r||0,c=o[1];if(n===0&&i===this.length){if(!s)return this._bufs.length===1?this._bufs[0]:jt.concat(this._bufs,this.length);for(let f=0;fd)this._bufs[f].copy(e,u,c),u+=d;else{this._bufs[f].copy(e,u,c,c+l),u+=d;break}l-=d,c&&(c=0)}return e.length>u?e.slice(0,u):e};Be.prototype.shallowSlice=function(e,r){if(e=e||0,r=typeof r!="number"?this.length:r,e<0&&(e+=this.length),r<0&&(r+=this.length),e===r)return this._new();const n=this._offset(e),i=this._offset(r),s=this._bufs.slice(n[0],i[0]+1);return i[1]===0?s.pop():s[s.length-1]=s[s.length-1].slice(0,i[1]),n[1]!==0&&(s[0]=s[0].slice(n[1])),this._new(s)};Be.prototype.toString=function(e,r,n){return this.slice(r,n).toString(e)};Be.prototype.consume=function(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;)if(e>=this._bufs[0].length)e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}return this};Be.prototype.duplicate=function(){const e=this._new();for(let r=0;rthis.length?this.length:e;const n=this._offset(e);let i=n[0],s=n[1];for(;i=t.length){const l=o.indexOf(t,s);if(l!==-1)return this._reverseOffset([i,l]);s=o.length-t.length+1}else{const l=this._reverseOffset([i,s]);if(this._match(l,t))return l;s++}s=0}return-1};Be.prototype._match=function(t,e){if(this.length-t[0,1].map(o=>[0,1].map(a=>{const l=r.alloc(1);return l.writeUInt8(e.codes[i]<r.from([i])),e.EMPTY={pingreq:r.from([e.codes.pingreq<<4,0]),pingresp:r.from([e.codes.pingresp<<4,0]),disconnect:r.from([e.codes.disconnect<<4,0])},e.MQTT5_PUBACK_PUBREC_CODES={0:"Success",16:"No matching subscribers",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",144:"Topic Name invalid",145:"Packet identifier in use",151:"Quota exceeded",153:"Payload format invalid"},e.MQTT5_PUBREL_PUBCOMP_CODES={0:"Success",146:"Packet Identifier not found"},e.MQTT5_SUBACK_CODES={0:"Granted QoS 0",1:"Granted QoS 1",2:"Granted QoS 2",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use",151:"Quota exceeded",158:"Shared Subscriptions not supported",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},e.MQTT5_UNSUBACK_CODES={0:"Success",17:"No subscription existed",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use"},e.MQTT5_DISCONNECT_CODES={0:"Normal disconnection",4:"Disconnect with Will Message",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",135:"Not authorized",137:"Server busy",139:"Server shutting down",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},e.MQTT5_AUTH_CODES={0:"Success",24:"Continue authentication",25:"Re-authenticate"}})(gb);var mb=gb.exports,Pf={exports:{}},ac,Eg;function nM(){if(Eg)return ac;Eg=1;var t=1e3,e=t*60,r=e*60,n=r*24,i=n*7,s=n*365.25;ac=function(c,f){f=f||{};var d=typeof c;if(d==="string"&&c.length>0)return o(c);if(d==="number"&&isFinite(c))return f.long?l(c):a(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function o(c){if(c=String(c),!(c.length>100)){var f=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(f){var d=parseFloat(f[1]),h=(f[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return d*s;case"weeks":case"week":case"w":return d*i;case"days":case"day":case"d":return d*n;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*e;case"seconds":case"second":case"secs":case"sec":case"s":return d*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function a(c){var f=Math.abs(c);return f>=n?Math.round(c/n)+"d":f>=r?Math.round(c/r)+"h":f>=e?Math.round(c/e)+"m":f>=t?Math.round(c/t)+"s":c+"ms"}function l(c){var f=Math.abs(c);return f>=n?u(c,f,n,"day"):f>=r?u(c,f,r,"hour"):f>=e?u(c,f,e,"minute"):f>=t?u(c,f,t,"second"):c+" ms"}function u(c,f,d,h){var g=f>=d*1.5;return Math.round(c/d)+" "+h+(g?"s":"")}return ac}function iM(t){r.debug=r,r.default=r,r.coerce=l,r.disable=s,r.enable=i,r.enabled=o,r.humanize=nM(),r.destroy=u,Object.keys(t).forEach(c=>{r[c]=t[c]}),r.names=[],r.skips=[],r.formatters={};function e(c){let f=0;for(let d=0;d{if(O==="%%")return"%";T++;const j=r.formatters[k];if(typeof j=="function"){const R=b[T];O=j.call(v,R),b.splice(T,1),T--}return O}),r.formatArgs.call(v,b),(v.log||r.log).apply(v,b)}return y.namespace=c,y.useColors=r.useColors(),y.color=r.selectColor(c),y.extend=n,y.destroy=r.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(h!==r.namespaces&&(h=r.namespaces,g=r.enabled(c)),g),set:b=>{d=b}}),typeof r.init=="function"&&r.init(y),y}function n(c,f){const d=r(this.namespace+(typeof f>"u"?":":f)+c);return d.log=this.log,d}function i(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let f;const d=(typeof c=="string"?c:"").split(/[\s,]+/),h=d.length;for(f=0;f"-"+f)].join(",");return r.enable(""),c}function o(c){if(c[c.length-1]==="*")return!0;let f,d;for(f=0,d=r.skips.length;f{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;l.splice(1,0,u,"color: inherit");let c=0,f=0;l[0].replace(/%[a-zA-Z%]/g,d=>{d!=="%%"&&(c++,d==="%c"&&(f=c))}),l.splice(f,0,u)}e.log=console.debug||console.log||(()=>{});function i(l){try{l?e.storage.setItem("debug",l):e.storage.removeItem("debug")}catch{}}function s(){let l;try{l=e.storage.getItem("debug")}catch{}return!l&&typeof _e<"u"&&"env"in _e&&(l={}.DEBUG),l}function o(){try{return localStorage}catch{}}t.exports=sM(e);const{formatters:a}=t.exports;a.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(Pf,Pf.exports);var Yr=Pf.exports;const oM=eM,aM=yn,Sg=rM,Oe=mb,Ee=Yr("mqtt-packet:parser");class rl extends aM{constructor(){super(),this.parser=this.constructor.parser}static parser(e){return this instanceof rl?(this.settings=e||{},this._states=["_parseHeader","_parseLength","_parsePayload","_newPacket"],this._resetState(),this):new rl().parser(e)}_resetState(){Ee("_resetState: resetting packet, error, _list, and _stateCounter"),this.packet=new Sg,this.error=null,this._list=oM(),this._stateCounter=0}parse(e){for(this.error&&this._resetState(),this._list.append(e),Ee("parse: current state: %s",this._states[this._stateCounter]);(this.packet.length!==-1||this._list.length>0)&&this[this._states[this._stateCounter]]()&&!this.error;)this._stateCounter++,Ee("parse: state complete. _stateCounter is now: %d",this._stateCounter),Ee("parse: packet.length: %d, buffer list length: %d",this.packet.length,this._list.length),this._stateCounter>=this._states.length&&(this._stateCounter=0);return Ee("parse: exited while loop. packet: %d, buffer list length: %d",this.packet.length,this._list.length),this._list.length}_parseHeader(){const e=this._list.readUInt8(0),r=e>>Oe.CMD_SHIFT;this.packet.cmd=Oe.types[r];const n=e&15,i=Oe.requiredHeaderFlags[r];return i!=null&&n!==i?this._emitError(new Error(Oe.requiredHeaderFlagsErrors[r])):(this.packet.retain=(e&Oe.RETAIN_MASK)!==0,this.packet.qos=e>>Oe.QOS_SHIFT&Oe.QOS_MASK,this.packet.qos>2?this._emitError(new Error("Packet must not have both QoS bits set to 1")):(this.packet.dup=(e&Oe.DUP_MASK)!==0,Ee("_parseHeader: packet: %o",this.packet),this._list.consume(1),!0))}_parseLength(){const e=this._parseVarByteNum(!0);return e&&(this.packet.length=e.value,this._list.consume(e.bytes)),Ee("_parseLength %d",e.value),!!e}_parsePayload(){Ee("_parsePayload: payload %O",this._list);let e=!1;if(this.packet.length===0||this._list.length>=this.packet.length){switch(this._pos=0,this.packet.cmd){case"connect":this._parseConnect();break;case"connack":this._parseConnack();break;case"publish":this._parsePublish();break;case"puback":case"pubrec":case"pubrel":case"pubcomp":this._parseConfirmation();break;case"subscribe":this._parseSubscribe();break;case"suback":this._parseSuback();break;case"unsubscribe":this._parseUnsubscribe();break;case"unsuback":this._parseUnsuback();break;case"pingreq":case"pingresp":break;case"disconnect":this._parseDisconnect();break;case"auth":this._parseAuth();break;default:this._emitError(new Error("Not supported"))}e=!0}return Ee("_parsePayload complete result: %s",e),e}_parseConnect(){Ee("_parseConnect");let e,r,n,i;const s={},o=this.packet,a=this._parseString();if(a===null)return this._emitError(new Error("Cannot parse protocolId"));if(a!=="MQTT"&&a!=="MQIsdp")return this._emitError(new Error("Invalid protocolId"));if(o.protocolId=a,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(o.protocolVersion=this._list.readUInt8(this._pos),o.protocolVersion>=128&&(o.bridgeMode=!0,o.protocolVersion=o.protocolVersion-128),o.protocolVersion!==3&&o.protocolVersion!==4&&o.protocolVersion!==5)return this._emitError(new Error("Invalid protocol version"));if(this._pos++,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(this._list.readUInt8(this._pos)&1)return this._emitError(new Error("Connect flag bit 0 must be 0, but got 1"));s.username=this._list.readUInt8(this._pos)&Oe.USERNAME_MASK,s.password=this._list.readUInt8(this._pos)&Oe.PASSWORD_MASK,s.will=this._list.readUInt8(this._pos)&Oe.WILL_FLAG_MASK;const l=!!(this._list.readUInt8(this._pos)&Oe.WILL_RETAIN_MASK),u=(this._list.readUInt8(this._pos)&Oe.WILL_QOS_MASK)>>Oe.WILL_QOS_SHIFT;if(s.will)o.will={},o.will.retain=l,o.will.qos=u;else{if(l)return this._emitError(new Error("Will Retain Flag must be set to zero when Will Flag is set to 0"));if(u)return this._emitError(new Error("Will QoS must be set to zero when Will Flag is set to 0"))}if(o.clean=(this._list.readUInt8(this._pos)&Oe.CLEAN_SESSION_MASK)!==0,this._pos++,o.keepalive=this._parseNum(),o.keepalive===-1)return this._emitError(new Error("Packet too short"));if(o.protocolVersion===5){const f=this._parseProperties();Object.getOwnPropertyNames(f).length&&(o.properties=f)}const c=this._parseString();if(c===null)return this._emitError(new Error("Packet too short"));if(o.clientId=c,Ee("_parseConnect: packet.clientId: %s",o.clientId),s.will){if(o.protocolVersion===5){const f=this._parseProperties();Object.getOwnPropertyNames(f).length&&(o.will.properties=f)}if(e=this._parseString(),e===null)return this._emitError(new Error("Cannot parse will topic"));if(o.will.topic=e,Ee("_parseConnect: packet.will.topic: %s",o.will.topic),r=this._parseBuffer(),r===null)return this._emitError(new Error("Cannot parse will payload"));o.will.payload=r,Ee("_parseConnect: packet.will.paylaod: %s",o.will.payload)}if(s.username){if(i=this._parseString(),i===null)return this._emitError(new Error("Cannot parse username"));o.username=i,Ee("_parseConnect: packet.username: %s",o.username)}if(s.password){if(n=this._parseBuffer(),n===null)return this._emitError(new Error("Cannot parse password"));o.password=n}return this.settings=o,Ee("_parseConnect: complete"),o}_parseConnack(){Ee("_parseConnack");const e=this.packet;if(this._list.length<1)return null;const r=this._list.readUInt8(this._pos++);if(r>1)return this._emitError(new Error("Invalid connack flags, bits 7-1 must be set to 0"));if(e.sessionPresent=!!(r&Oe.SESSIONPRESENT_MASK),this.settings.protocolVersion===5)this._list.length>=2?e.reasonCode=this._list.readUInt8(this._pos++):e.reasonCode=0;else{if(this._list.length<2)return null;e.returnCode=this._list.readUInt8(this._pos++)}if(e.returnCode===-1||e.reasonCode===-1)return this._emitError(new Error("Cannot parse return code"));if(this.settings.protocolVersion===5){const n=this._parseProperties();Object.getOwnPropertyNames(n).length&&(e.properties=n)}Ee("_parseConnack: complete")}_parsePublish(){Ee("_parsePublish");const e=this.packet;if(e.topic=this._parseString(),e.topic===null)return this._emitError(new Error("Cannot parse topic"));if(!(e.qos>0&&!this._parseMessageId())){if(this.settings.protocolVersion===5){const r=this._parseProperties();Object.getOwnPropertyNames(r).length&&(e.properties=r)}e.payload=this._list.slice(this._pos,e.length),Ee("_parsePublish: payload from buffer list: %o",e.payload)}}_parseSubscribe(){Ee("_parseSubscribe");const e=this.packet;let r,n,i,s,o,a,l;if(e.subscriptions=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){const u=this._parseProperties();Object.getOwnPropertyNames(u).length&&(e.properties=u)}if(e.length<=0)return this._emitError(new Error("Malformed subscribe, no payload specified"));for(;this._pos=e.length)return this._emitError(new Error("Malformed Subscribe Payload"));if(n=this._parseByte(),this.settings.protocolVersion===5){if(n&192)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-6 must be 0"))}else if(n&252)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-2 must be 0"));if(i=n&Oe.SUBSCRIBE_OPTIONS_QOS_MASK,i>2)return this._emitError(new Error("Invalid subscribe QoS, must be <= 2"));if(a=(n>>Oe.SUBSCRIBE_OPTIONS_NL_SHIFT&Oe.SUBSCRIBE_OPTIONS_NL_MASK)!==0,o=(n>>Oe.SUBSCRIBE_OPTIONS_RAP_SHIFT&Oe.SUBSCRIBE_OPTIONS_RAP_MASK)!==0,s=n>>Oe.SUBSCRIBE_OPTIONS_RH_SHIFT&Oe.SUBSCRIBE_OPTIONS_RH_MASK,s>2)return this._emitError(new Error("Invalid retain handling, must be <= 2"));l={topic:r,qos:i},this.settings.protocolVersion===5?(l.nl=a,l.rap=o,l.rh=s):this.settings.bridgeMode&&(l.rh=0,l.rap=!0,l.nl=!0),Ee("_parseSubscribe: push subscription `%s` to subscription",l),e.subscriptions.push(l)}}}_parseSuback(){Ee("_parseSuback");const e=this.packet;if(this.packet.granted=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){const r=this._parseProperties();Object.getOwnPropertyNames(r).length&&(e.properties=r)}if(e.length<=0)return this._emitError(new Error("Malformed suback, no payload specified"));for(;this._pos2&&r!==128)return this._emitError(new Error("Invalid suback QoS, must be 0, 1, 2 or 128"));this.packet.granted.push(r)}}}_parseUnsubscribe(){Ee("_parseUnsubscribe");const e=this.packet;if(e.unsubscriptions=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){const r=this._parseProperties();Object.getOwnPropertyNames(r).length&&(e.properties=r)}if(e.length<=0)return this._emitError(new Error("Malformed unsubscribe, no payload specified"));for(;this._pos2){switch(e.reasonCode=this._parseByte(),this.packet.cmd){case"puback":case"pubrec":if(!Oe.MQTT5_PUBACK_PUBREC_CODES[e.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break;case"pubrel":case"pubcomp":if(!Oe.MQTT5_PUBREL_PUBCOMP_CODES[e.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break}Ee("_parseConfirmation: packet.reasonCode `%d`",e.reasonCode)}else e.reasonCode=0;if(e.length>3){const r=this._parseProperties();Object.getOwnPropertyNames(r).length&&(e.properties=r)}}return!0}_parseDisconnect(){const e=this.packet;if(Ee("_parseDisconnect"),this.settings.protocolVersion===5){this._list.length>0?(e.reasonCode=this._parseByte(),Oe.MQTT5_DISCONNECT_CODES[e.reasonCode]||this._emitError(new Error("Invalid disconnect reason code"))):e.reasonCode=0;const r=this._parseProperties();Object.getOwnPropertyNames(r).length&&(e.properties=r)}return Ee("_parseDisconnect result: true"),!0}_parseAuth(){Ee("_parseAuth");const e=this.packet;if(this.settings.protocolVersion!==5)return this._emitError(new Error("Not supported auth packet for this version MQTT"));if(e.reasonCode=this._parseByte(),!Oe.MQTT5_AUTH_CODES[e.reasonCode])return this._emitError(new Error("Invalid auth reason code"));const r=this._parseProperties();return Object.getOwnPropertyNames(r).length&&(e.properties=r),Ee("_parseAuth: result: true"),!0}_parseMessageId(){const e=this.packet;return e.messageId=this._parseNum(),e.messageId===null?(this._emitError(new Error("Cannot parse messageId")),!1):(Ee("_parseMessageId: packet.messageId %d",e.messageId),!0)}_parseString(e){const r=this._parseNum(),n=r+this._pos;if(r===-1||n>this._list.length||n>this.packet.length)return null;const i=this._list.toString("utf8",this._pos,n);return this._pos+=r,Ee("_parseString: result: %s",i),i}_parseStringPair(){return Ee("_parseStringPair"),{name:this._parseString(),value:this._parseString()}}_parseBuffer(){const e=this._parseNum(),r=e+this._pos;if(e===-1||r>this._list.length||r>this.packet.length)return null;const n=this._list.slice(this._pos,r);return this._pos+=e,Ee("_parseBuffer: result: %o",n),n}_parseNum(){if(this._list.length-this._pos<2)return-1;const e=this._list.readUInt16BE(this._pos);return this._pos+=2,Ee("_parseNum: result: %s",e),e}_parse4ByteNum(){if(this._list.length-this._pos<4)return-1;const e=this._list.readUInt32BE(this._pos);return this._pos+=4,Ee("_parse4ByteNum: result: %s",e),e}_parseVarByteNum(e){Ee("_parseVarByteNum");const r=4;let n=0,i=1,s=0,o=!1,a;const l=this._pos?this._pos:0;for(;n=n&&this._emitError(new Error("Invalid variable byte integer")),l&&(this._pos+=n),o?e?o={bytes:n,value:s}:o=s:o=!1,Ee("_parseVarByteNum: result: %o",o),o}_parseByte(){let e;return this._pos>8,0),e.writeUInt8(t&255,0+1),e}function fM(){for(let t=0;t0&&(r=r|128),i.writeUInt8(r,n++);while(t>0&&n<4);return t>0&&(n=0),cM?i.subarray(0,n):i.slice(0,n)}function hM(t){const e=po.allocUnsafe(4);return e.writeUInt32BE(t,0),e}var pM={cache:yb,generateCache:fM,generateNumber:wb,genBufVariableByteInt:dM,generate4ByteBuffer:hM},Rf={exports:{}};typeof _e>"u"||!_e.version||_e.version.indexOf("v0.")===0||_e.version.indexOf("v1.")===0&&_e.version.indexOf("v1.8.")!==0?Rf.exports={nextTick:gM}:Rf.exports=_e;function gM(t,e,r,n){if(typeof t!="function")throw new TypeError('"callback" argument must be a function');var i=arguments.length,s,o;switch(i){case 0:case 1:return _e.nextTick(t);case 2:return _e.nextTick(function(){t.call(null,e)});case 3:return _e.nextTick(function(){t.call(null,e,r)});case 4:return _e.nextTick(function(){t.call(null,e,r,n)});default:for(s=new Array(i-1),o=0;o=4)&&(u||a))h+=ve.byteLength(u)+2;else{if(s<4)return e.destroy(new Error("clientId must be supplied before 3.1.1")),!1;if(a*1===0)return e.destroy(new Error("clientId must be given if cleanSession set to 0")),!1}if(typeof l!="number"||l<0||l>65535||l%1!==0)return e.destroy(new Error("Invalid keepalive")),!1;h+=2,h+=1;let g,y;if(s===5){if(g=hn(e,d),!g)return!1;h+=g.length}if(o){if(typeof o!="object")return e.destroy(new Error("Invalid will")),!1;if(!o.topic||typeof o.topic!="string")return e.destroy(new Error("Invalid will topic")),!1;if(h+=ve.byteLength(o.topic)+2,h+=2,o.payload)if(o.payload.length>=0)typeof o.payload=="string"?h+=ve.byteLength(o.payload):h+=o.payload.length;else return e.destroy(new Error("Invalid will payload")),!1;if(y={},s===5){if(y=hn(e,o.properties),!y)return!1;h+=y.length}}let b=!1;if(c!=null)if(Cg(c))b=!0,h+=ve.byteLength(c)+2;else return e.destroy(new Error("Invalid username")),!1;if(f!=null){if(!b)return e.destroy(new Error("Username is required to use password")),!1;if(Cg(f))h+=_b(f)+2;else return e.destroy(new Error("Invalid password")),!1}e.write(Se.CONNECT_HEADER),$t(e,h),_i(e,i),n.bridgeMode&&(s+=128),e.write(s===131?Se.VERSION131:s===132?Se.VERSION132:s===4?Se.VERSION4:s===5?Se.VERSION5:Se.VERSION3);let v=0;return v|=c!=null?Se.USERNAME_MASK:0,v|=f!=null?Se.PASSWORD_MASK:0,v|=o&&o.retain?Se.WILL_RETAIN_MASK:0,v|=o&&o.qos?o.qos<0&&ut(e,u),d!=null&&d.write(),Pt("publish: payload: %o",l),e.write(l)}function MM(t,e,r){const n=r?r.protocolVersion:4,i=t||{},s=i.cmd||"puback",o=i.messageId,a=i.dup&&s==="pubrel"?Se.DUP_MASK:0;let l=0;const u=i.reasonCode,c=i.properties;let f=n===5?3:2;if(s==="pubrel"&&(l=1),typeof o!="number")return e.destroy(new Error("Invalid messageId")),!1;let d=null;if(n===5&&typeof c=="object"){if(d=Ao(e,c,r,f),!d)return!1;f+=d.length}return e.write(Se.ACKS[s][l][a][0]),f===3&&(f+=u!==0?1:-1),$t(e,f),ut(e,o),n===5&&f!==2&&e.write(ve.from([u])),d!==null?d.write():f===4&&e.write(ve.from([0])),!0}function CM(t,e,r){Pt("subscribe: packet: ");const n=r?r.protocolVersion:4,i=t||{},s=i.dup?Se.DUP_MASK:0,o=i.messageId,a=i.subscriptions,l=i.properties;let u=0;if(typeof o!="number")return e.destroy(new Error("Invalid messageId")),!1;u+=2;let c=null;if(n===5){if(c=hn(e,l),!c)return!1;u+=c.length}if(typeof a=="object"&&a.length)for(let d=0;d2)return e.destroy(new Error("Invalid subscriptions - invalid Retain Handling")),!1}u+=ve.byteLength(h)+2+1}else return e.destroy(new Error("Invalid subscriptions")),!1;Pt("subscribe: writing to stream: %o",Se.SUBSCRIBE_HEADER),e.write(Se.SUBSCRIBE_HEADER[1][s?1:0][0]),$t(e,u),ut(e,o),c!==null&&c.write();let f=!0;for(const d of a){const h=d.topic,g=d.qos,y=+d.nl,b=+d.rap,v=d.rh;let _;Xn(e,h),_=Se.SUBSCRIBE_OPTIONS_QOS[g],n===5&&(_|=y?Se.SUBSCRIBE_OPTIONS_NL:0,_|=b?Se.SUBSCRIBE_OPTIONS_RAP:0,_|=v?Se.SUBSCRIBE_OPTIONS_RH[v]:0),f=e.write(ve.from([_]))}return f}function IM(t,e,r){const n=r?r.protocolVersion:4,i=t||{},s=i.messageId,o=i.granted,a=i.properties;let l=0;if(typeof s!="number")return e.destroy(new Error("Invalid messageId")),!1;if(l+=2,typeof o=="object"&&o.length)for(let c=0;cSe.VARBYTEINT_MAX)return t.destroy(new Error(`Invalid variable byte integer: ${e}`)),!1;let r=xg[e];return r||(r=Lf(e),e<16384&&(xg[e]=r)),Pt("writeVarByteInt: writing to stream: %o",r),t.write(r)}function Xn(t,e){const r=ve.byteLength(e);return ut(t,r),Pt("writeString: %s",e),t.write(e,"utf8")}function Tg(t,e,r){Xn(t,e),Xn(t,r)}function Nf(t,e){return Pt("writeNumberCached: number: %d",e),Pt("writeNumberCached: %o",nl[e]),t.write(nl[e])}function $M(t,e){const r=_M(e);return Pt("writeNumberGenerated: %o",r),t.write(r)}function kM(t,e){const r=EM(e);return Pt("write4ByteNumber: %o",r),t.write(r)}function _i(t,e){typeof e=="string"?Xn(t,e):e?(ut(t,e.length),t.write(e)):ut(t,0)}function hn(t,e){if(typeof e!="object"||e.length!=null)return{length:1,write(){Mg(t,{},0)}};let r=0;function n(s,o){const a=Se.propertiesTypes[s];let l=0;switch(a){case"byte":{if(typeof o!="boolean")return t.destroy(new Error(`Invalid ${s}: ${o}`)),!1;l+=1+1;break}case"int8":{if(typeof o!="number"||o<0||o>255)return t.destroy(new Error(`Invalid ${s}: ${o}`)),!1;l+=1+1;break}case"binary":{if(o&&o===null)return t.destroy(new Error(`Invalid ${s}: ${o}`)),!1;l+=1+ve.byteLength(o)+2;break}case"int16":{if(typeof o!="number"||o<0||o>65535)return t.destroy(new Error(`Invalid ${s}: ${o}`)),!1;l+=1+2;break}case"int32":{if(typeof o!="number"||o<0||o>4294967295)return t.destroy(new Error(`Invalid ${s}: ${o}`)),!1;l+=1+4;break}case"var":{if(typeof o!="number"||o<0||o>268435455)return t.destroy(new Error(`Invalid ${s}: ${o}`)),!1;l+=1+ve.byteLength(Lf(o));break}case"string":{if(typeof o!="string")return t.destroy(new Error(`Invalid ${s}: ${o}`)),!1;l+=1+2+ve.byteLength(o.toString());break}case"pair":{if(typeof o!="object")return t.destroy(new Error(`Invalid ${s}: ${o}`)),!1;l+=Object.getOwnPropertyNames(o).reduce((u,c)=>{const f=o[c];return Array.isArray(f)?u+=f.reduce((d,h)=>(d+=1+2+ve.byteLength(c.toString())+2+ve.byteLength(h.toString()),d),0):u+=1+2+ve.byteLength(c.toString())+2+ve.byteLength(o[c].toString()),u},0);break}default:return t.destroy(new Error(`Invalid property ${s}: ${o}`)),!1}return l}if(e)for(const s in e){let o=0,a=0;const l=e[s];if(Array.isArray(l))for(let u=0;us;){const a=i.shift();if(a&&e[a])delete e[a],o=hn(t,e);else return!1}return o}function Ag(t,e,r){switch(Se.propertiesTypes[e]){case"byte":{t.write(ve.from([Se.properties[e]])),t.write(ve.from([+r]));break}case"int8":{t.write(ve.from([Se.properties[e]])),t.write(ve.from([r]));break}case"binary":{t.write(ve.from([Se.properties[e]])),_i(t,r);break}case"int16":{t.write(ve.from([Se.properties[e]])),ut(t,r);break}case"int32":{t.write(ve.from([Se.properties[e]])),kM(t,r);break}case"var":{t.write(ve.from([Se.properties[e]])),$t(t,r);break}case"string":{t.write(ve.from([Se.properties[e]])),Xn(t,r);break}case"pair":{Object.getOwnPropertyNames(r).forEach(i=>{const s=r[i];Array.isArray(s)?s.forEach(o=>{t.write(ve.from([Se.properties[e]])),Tg(t,i.toString(),o.toString())}):(t.write(ve.from([Se.properties[e]])),Tg(t,i.toString(),s.toString()))});break}default:return t.destroy(new Error(`Invalid property ${e} value: ${r}`)),!1}}function Mg(t,e,r){$t(t,r);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==null){const i=e[n];if(Array.isArray(i))for(let s=0;s{o=u,a=c}),resolve:o,reject:a}},promisify(o){return new Promise((a,l)=>{o((u,...c)=>u?l(u):a(...c))})},debuglog(){return function(){}},format(o,...a){return o.replace(/%([sdifj])/g,function(...[l,u]){const c=a.shift();return u==="f"?c.toFixed(6):u==="j"?JSON.stringify(c):u==="s"&&typeof c=="object"?`${c.constructor!==Object?c.constructor.name:""} {}`.trim():c.toString()})},inspect(o){switch(typeof o){case"string":if(o.includes("'"))if(o.includes('"')){if(!o.includes("`")&&!o.includes("${"))return`\`${o}\``}else return`"${o}"`;return`'${o}'`;case"number":return isNaN(o)?"NaN":Object.is(o,-0)?String(o):o;case"bigint":return`${String(o)}n`;case"boolean":case"undefined":return String(o);case"object":return"{}"}},types:{isAsyncFunction(o){return o instanceof r},isArrayBufferView(o){return ArrayBuffer.isView(o)}},isBlob:i},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(Sb);var Kr=Sb.exports,ah={},_s={exports:{}},Og;function lh(){if(Og)return _s.exports;Og=1;const{AbortController:t,AbortSignal:e}=typeof self<"u"?self:typeof window<"u"?window:void 0;return _s.exports=t,_s.exports.AbortSignal=e,_s.exports.default=t,_s.exports}const{format:HM,inspect:sl,AggregateError:WM}=Kr,VM=globalThis.AggregateError||WM,qM=Symbol("kIsNodeError"),YM=["string","function","number","object","Function","Object","boolean","bigint","symbol"],KM=/^([A-Z][a-z0-9]*)+$/,GM="__node_internal_",eu={};function qn(t,e){if(!t)throw new eu.ERR_INTERNAL_ASSERTION(e)}function Pg(t){let e="",r=t.length;const n=t[0]==="-"?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function XM(t,e,r){if(typeof e=="function")return qn(e.length<=r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${e.length}).`),e(...r);const n=(e.match(/%[dfijoOs]/g)||[]).length;return qn(n===r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),r.length===0?e:HM(e,...r)}function Ze(t,e,r){r||(r=Error);class n extends r{constructor(...s){super(XM(t,e,s))}toString(){return`${this.name} [${t}]: ${this.message}`}}Object.defineProperties(n.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=t,n.prototype[qM]=!0,eu[t]=n}function Rg(t){const e=GM+t.name;return Object.defineProperty(t,"name",{value:e}),t}function QM(t,e){if(t&&e&&t!==e){if(Array.isArray(e.errors))return e.errors.push(t),e;const r=new VM([e,t],e.message);return r.code=e.code,r}return t||e}let JM=class extends Error{constructor(e="The operation was aborted",r=void 0){if(r!==void 0&&typeof r!="object")throw new eu.ERR_INVALID_ARG_TYPE("options","Object",r);super(e,r),this.code="ABORT_ERR",this.name="AbortError"}};Ze("ERR_ASSERTION","%s",Error);Ze("ERR_INVALID_ARG_TYPE",(t,e,r)=>{qn(typeof t=="string","'name' must be a string"),Array.isArray(e)||(e=[e]);let n="The ";t.endsWith(" argument")?n+=`${t} `:n+=`"${t}" ${t.includes(".")?"property":"argument"} `,n+="must be ";const i=[],s=[],o=[];for(const l of e)qn(typeof l=="string","All expected entries have to be of type string"),YM.includes(l)?i.push(l.toLowerCase()):KM.test(l)?s.push(l):(qn(l!=="object",'The value "object" should be written as "Object"'),o.push(l));if(s.length>0){const l=i.indexOf("object");l!==-1&&(i.splice(i,l,1),s.push("Object"))}if(i.length>0){switch(i.length){case 1:n+=`of type ${i[0]}`;break;case 2:n+=`one of type ${i[0]} or ${i[1]}`;break;default:{const l=i.pop();n+=`one of type ${i.join(", ")}, or ${l}`}}(s.length>0||o.length>0)&&(n+=" or ")}if(s.length>0){switch(s.length){case 1:n+=`an instance of ${s[0]}`;break;case 2:n+=`an instance of ${s[0]} or ${s[1]}`;break;default:{const l=s.pop();n+=`an instance of ${s.join(", ")}, or ${l}`}}o.length>0&&(n+=" or ")}switch(o.length){case 0:break;case 1:o[0].toLowerCase()!==o[0]&&(n+="an "),n+=`${o[0]}`;break;case 2:n+=`one of ${o[0]} or ${o[1]}`;break;default:{const l=o.pop();n+=`one of ${o.join(", ")}, or ${l}`}}if(r==null)n+=`. Received ${r}`;else if(typeof r=="function"&&r.name)n+=`. Received function ${r.name}`;else if(typeof r=="object"){var a;if((a=r.constructor)!==null&&a!==void 0&&a.name)n+=`. Received an instance of ${r.constructor.name}`;else{const l=sl(r,{depth:-1});n+=`. Received ${l}`}}else{let l=sl(r,{colors:!1});l.length>25&&(l=`${l.slice(0,25)}...`),n+=`. Received type ${typeof r} (${l})`}return n},TypeError);Ze("ERR_INVALID_ARG_VALUE",(t,e,r="is invalid")=>{let n=sl(e);return n.length>128&&(n=n.slice(0,128)+"..."),`The ${t.includes(".")?"property":"argument"} '${t}' ${r}. Received ${n}`},TypeError);Ze("ERR_INVALID_RETURN_VALUE",(t,e,r)=>{var n;const i=r!=null&&(n=r.constructor)!==null&&n!==void 0&&n.name?`instance of ${r.constructor.name}`:`type ${typeof r}`;return`Expected ${t} to be returned from the "${e}" function but got ${i}.`},TypeError);Ze("ERR_MISSING_ARGS",(...t)=>{qn(t.length>0,"At least one arg needs to be specified");let e;const r=t.length;switch(t=(Array.isArray(t)?t:[t]).map(n=>`"${n}"`).join(" or "),r){case 1:e+=`The ${t[0]} argument`;break;case 2:e+=`The ${t[0]} and ${t[1]} arguments`;break;default:{const n=t.pop();e+=`The ${t.join(", ")}, and ${n} arguments`}break}return`${e} must be specified`},TypeError);Ze("ERR_OUT_OF_RANGE",(t,e,r)=>{qn(e,'Missing "range" argument');let n;return Number.isInteger(r)&&Math.abs(r)>2**32?n=Pg(String(r)):typeof r=="bigint"?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=Pg(n)),n+="n"):n=sl(r),`The value of "${t}" is out of range. It must be ${e}. Received ${n}`},RangeError);Ze("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);Ze("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);Ze("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);Ze("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);Ze("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);Ze("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Ze("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);Ze("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);Ze("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);Ze("ERR_STREAM_WRITE_AFTER_END","write after end",Error);Ze("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var bt={AbortError:JM,aggregateTwoErrors:Rg(QM),hideStackFrames:Rg,codes:eu};const{ArrayIsArray:uh,ArrayPrototypeIncludes:xb,ArrayPrototypeJoin:Tb,ArrayPrototypeMap:ZM,NumberIsInteger:ch,NumberIsNaN:eC,NumberMAX_SAFE_INTEGER:tC,NumberMIN_SAFE_INTEGER:rC,NumberParseInt:nC,ObjectPrototypeHasOwnProperty:iC,RegExpPrototypeExec:Ab,String:sC,StringPrototypeToUpperCase:oC,StringPrototypeTrim:aC}=Ve,{hideStackFrames:kt,codes:{ERR_SOCKET_BAD_PORT:lC,ERR_INVALID_ARG_TYPE:dt,ERR_INVALID_ARG_VALUE:cs,ERR_OUT_OF_RANGE:Qn,ERR_UNKNOWN_SIGNAL:Lg}}=bt,{normalizeEncoding:uC}=Kr,{isAsyncFunction:cC,isArrayBufferView:fC}=Kr.types,Ng={};function dC(t){return t===(t|0)}function hC(t){return t===t>>>0}const pC=/^[0-7]+$/,gC="must be a 32-bit unsigned integer or an octal string";function mC(t,e,r){if(typeof t>"u"&&(t=r),typeof t=="string"){if(Ab(pC,t)===null)throw new cs(e,t,gC);t=nC(t,8)}return Mb(t,e),t}const yC=kt((t,e,r=rC,n=tC)=>{if(typeof t!="number")throw new dt(e,"number",t);if(!ch(t))throw new Qn(e,"an integer",t);if(tn)throw new Qn(e,`>= ${r} && <= ${n}`,t)}),wC=kt((t,e,r=-2147483648,n=2147483647)=>{if(typeof t!="number")throw new dt(e,"number",t);if(!ch(t))throw new Qn(e,"an integer",t);if(tn)throw new Qn(e,`>= ${r} && <= ${n}`,t)}),Mb=kt((t,e,r=!1)=>{if(typeof t!="number")throw new dt(e,"number",t);if(!ch(t))throw new Qn(e,"an integer",t);const n=r?1:0,i=4294967295;if(ti)throw new Qn(e,`>= ${n} && <= ${i}`,t)});function fh(t,e){if(typeof t!="string")throw new dt(e,"string",t)}function bC(t,e,r=void 0,n){if(typeof t!="number")throw new dt(e,"number",t);if(r!=null&&tn||(r!=null||n!=null)&&eC(t))throw new Qn(e,`${r!=null?`>= ${r}`:""}${r!=null&&n!=null?" && ":""}${n!=null?`<= ${n}`:""}`,t)}const _C=kt((t,e,r)=>{if(!xb(r,t)){const i="must be one of: "+Tb(ZM(r,s=>typeof s=="string"?`'${s}'`:sC(s)),", ");throw new cs(e,t,i)}});function Cb(t,e){if(typeof t!="boolean")throw new dt(e,"boolean",t)}function uc(t,e,r){return t==null||!iC(t,e)?r:t[e]}const vC=kt((t,e,r=null)=>{const n=uc(r,"allowArray",!1),i=uc(r,"allowFunction",!1);if(!uc(r,"nullable",!1)&&t===null||!n&&uh(t)||typeof t!="object"&&(!i||typeof t!="function"))throw new dt(e,"Object",t)}),EC=kt((t,e)=>{if(t!=null&&typeof t!="object"&&typeof t!="function")throw new dt(e,"a dictionary",t)}),dh=kt((t,e,r=0)=>{if(!uh(t))throw new dt(e,"Array",t);if(t.length{if(!fC(t))throw new dt(e,["Buffer","TypedArray","DataView"],t)});function MC(t,e){const r=uC(e),n=t.length;if(r==="hex"&&n%2!==0)throw new cs("encoding",e,`is invalid for data of length ${n}`)}function CC(t,e="Port",r=!0){if(typeof t!="number"&&typeof t!="string"||typeof t=="string"&&aC(t).length===0||+t!==+t>>>0||t>65535||t===0&&!r)throw new lC(e,t,r);return t|0}const IC=kt((t,e)=>{if(t!==void 0&&(t===null||typeof t!="object"||!("aborted"in t)))throw new dt(e,"AbortSignal",t)}),OC=kt((t,e)=>{if(typeof t!="function")throw new dt(e,"Function",t)}),PC=kt((t,e)=>{if(typeof t!="function"||cC(t))throw new dt(e,"Function",t)}),RC=kt((t,e)=>{if(t!==void 0)throw new dt(e,"undefined",t)});function LC(t,e,r){if(!xb(r,t))throw new dt(e,`('${Tb(r,"|")}')`,t)}const NC=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function $g(t,e){if(typeof t>"u"||!Ab(NC,t))throw new cs(e,t,'must be an array or string of format "; rel=preload; as=style"')}function $C(t){if(typeof t=="string")return $g(t,"hints"),t;if(uh(t)){const e=t.length;let r="";if(e===0)return r;for(let n=0;n; rel=preload; as=style"')}var tu={isInt32:dC,isUint32:hC,parseFileMode:mC,validateArray:dh,validateStringArray:SC,validateBooleanArray:xC,validateBoolean:Cb,validateBuffer:AC,validateDictionary:EC,validateEncoding:MC,validateFunction:OC,validateInt32:wC,validateInteger:yC,validateNumber:bC,validateObject:vC,validateOneOf:_C,validatePlainFunction:PC,validatePort:CC,validateSignalName:TC,validateString:fh,validateUint32:Mb,validateUndefined:RC,validateUnion:LC,validateAbortSignal:IC,validateLinkHeaderValue:$C},hh={exports:{}};const{Symbol:ru,SymbolAsyncIterator:kg,SymbolIterator:Dg,SymbolFor:Ib}=Ve,Ob=ru("kDestroyed"),Pb=ru("kIsErrored"),$f=ru("kIsReadable"),Rb=ru("kIsDisturbed"),kC=Ib("nodejs.webstream.isClosedPromise"),DC=Ib("nodejs.webstream.controllerErrorFunction");function nu(t,e=!1){var r;return!!(t&&typeof t.pipe=="function"&&typeof t.on=="function"&&(!e||typeof t.pause=="function"&&typeof t.resume=="function")&&(!t._writableState||((r=t._readableState)===null||r===void 0?void 0:r.readable)!==!1)&&(!t._writableState||t._readableState))}function iu(t){var e;return!!(t&&typeof t.write=="function"&&typeof t.on=="function"&&(!t._readableState||((e=t._writableState)===null||e===void 0?void 0:e.writable)!==!1))}function BC(t){return!!(t&&typeof t.pipe=="function"&&t._readableState&&typeof t.on=="function"&&typeof t.write=="function")}function wr(t){return t&&(t._readableState||t._writableState||typeof t.write=="function"&&typeof t.on=="function"||typeof t.pipe=="function"&&typeof t.on=="function")}function Lb(t){return!!(t&&!wr(t)&&typeof t.pipeThrough=="function"&&typeof t.getReader=="function"&&typeof t.cancel=="function")}function Nb(t){return!!(t&&!wr(t)&&typeof t.getWriter=="function"&&typeof t.abort=="function")}function $b(t){return!!(t&&!wr(t)&&typeof t.readable=="object"&&typeof t.writable=="object")}function FC(t){return Lb(t)||Nb(t)||$b(t)}function UC(t,e){return t==null?!1:e===!0?typeof t[kg]=="function":e===!1?typeof t[Dg]=="function":typeof t[kg]=="function"||typeof t[Dg]=="function"}function su(t){if(!wr(t))return null;const e=t._writableState,r=t._readableState,n=e||r;return!!(t.destroyed||t[Ob]||n!=null&&n.destroyed)}function kb(t){if(!iu(t))return null;if(t.writableEnded===!0)return!0;const e=t._writableState;return e!=null&&e.errored?!1:typeof(e==null?void 0:e.ended)!="boolean"?null:e.ended}function zC(t,e){if(!iu(t))return null;if(t.writableFinished===!0)return!0;const r=t._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.finished)!="boolean"?null:!!(r.finished||e===!1&&r.ended===!0&&r.length===0)}function jC(t){if(!nu(t))return null;if(t.readableEnded===!0)return!0;const e=t._readableState;return!e||e.errored?!1:typeof(e==null?void 0:e.ended)!="boolean"?null:e.ended}function Db(t,e){if(!nu(t))return null;const r=t._readableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.endEmitted)!="boolean"?null:!!(r.endEmitted||e===!1&&r.ended===!0&&r.length===0)}function Bb(t){return t&&t[$f]!=null?t[$f]:typeof(t==null?void 0:t.readable)!="boolean"?null:su(t)?!1:nu(t)&&t.readable&&!Db(t)}function Fb(t){return typeof(t==null?void 0:t.writable)!="boolean"?null:su(t)?!1:iu(t)&&t.writable&&!kb(t)}function HC(t,e){return wr(t)?su(t)?!0:!((e==null?void 0:e.readable)!==!1&&Bb(t)||(e==null?void 0:e.writable)!==!1&&Fb(t)):null}function WC(t){var e,r;return wr(t)?t.writableErrored?t.writableErrored:(e=(r=t._writableState)===null||r===void 0?void 0:r.errored)!==null&&e!==void 0?e:null:null}function VC(t){var e,r;return wr(t)?t.readableErrored?t.readableErrored:(e=(r=t._readableState)===null||r===void 0?void 0:r.errored)!==null&&e!==void 0?e:null:null}function qC(t){if(!wr(t))return null;if(typeof t.closed=="boolean")return t.closed;const e=t._writableState,r=t._readableState;return typeof(e==null?void 0:e.closed)=="boolean"||typeof(r==null?void 0:r.closed)=="boolean"?(e==null?void 0:e.closed)||(r==null?void 0:r.closed):typeof t._closed=="boolean"&&Ub(t)?t._closed:null}function Ub(t){return typeof t._closed=="boolean"&&typeof t._defaultKeepAlive=="boolean"&&typeof t._removedConnection=="boolean"&&typeof t._removedContLen=="boolean"}function zb(t){return typeof t._sent100=="boolean"&&Ub(t)}function YC(t){var e;return typeof t._consuming=="boolean"&&typeof t._dumped=="boolean"&&((e=t.req)===null||e===void 0?void 0:e.upgradeOrConnect)===void 0}function KC(t){if(!wr(t))return null;const e=t._writableState,r=t._readableState,n=e||r;return!n&&zb(t)||!!(n&&n.autoDestroy&&n.emitClose&&n.closed===!1)}function GC(t){var e;return!!(t&&((e=t[Rb])!==null&&e!==void 0?e:t.readableDidRead||t.readableAborted))}function XC(t){var e,r,n,i,s,o,a,l,u,c;return!!(t&&((e=(r=(n=(i=(s=(o=t[Pb])!==null&&o!==void 0?o:t.readableErrored)!==null&&s!==void 0?s:t.writableErrored)!==null&&i!==void 0?i:(a=t._readableState)===null||a===void 0?void 0:a.errorEmitted)!==null&&n!==void 0?n:(l=t._writableState)===null||l===void 0?void 0:l.errorEmitted)!==null&&r!==void 0?r:(u=t._readableState)===null||u===void 0?void 0:u.errored)!==null&&e!==void 0?e:!((c=t._writableState)===null||c===void 0)&&c.errored))}var Gr={kDestroyed:Ob,isDisturbed:GC,kIsDisturbed:Rb,isErrored:XC,kIsErrored:Pb,isReadable:Bb,kIsReadable:$f,kIsClosedPromise:kC,kControllerErrorFunction:DC,isClosed:qC,isDestroyed:su,isDuplexNodeStream:BC,isFinished:HC,isIterable:UC,isReadableNodeStream:nu,isReadableStream:Lb,isReadableEnded:jC,isReadableFinished:Db,isReadableErrored:VC,isNodeStream:wr,isWebStream:FC,isWritable:Fb,isWritableNodeStream:iu,isWritableStream:Nb,isWritableEnded:kb,isWritableFinished:zC,isWritableErrored:WC,isServerRequest:YC,isServerResponse:zb,willEmitClose:KC,isTransformStream:$b};const nn=wn,{AbortError:jb,codes:QC}=bt,{ERR_INVALID_ARG_TYPE:JC,ERR_STREAM_PREMATURE_CLOSE:Bg}=QC,{kEmptyObject:kf,once:Df}=Kr,{validateAbortSignal:ZC,validateFunction:eI,validateObject:tI,validateBoolean:rI}=tu,{Promise:nI,PromisePrototypeThen:iI}=Ve,{isClosed:sI,isReadable:Fg,isReadableNodeStream:cc,isReadableStream:oI,isReadableFinished:Ug,isReadableErrored:zg,isWritable:jg,isWritableNodeStream:Hg,isWritableStream:aI,isWritableFinished:Wg,isWritableErrored:Vg,isNodeStream:lI,willEmitClose:uI,kIsClosedPromise:cI}=Gr;function fI(t){return t.setHeader&&typeof t.abort=="function"}const Bf=()=>{};function Hb(t,e,r){var n,i;if(arguments.length===2?(r=e,e=kf):e==null?e=kf:tI(e,"options"),eI(r,"callback"),ZC(e.signal,"options.signal"),r=Df(r),oI(t)||aI(t))return dI(t,e,r);if(!lI(t))throw new JC("stream",["ReadableStream","WritableStream","Stream"],t);const s=(n=e.readable)!==null&&n!==void 0?n:cc(t),o=(i=e.writable)!==null&&i!==void 0?i:Hg(t),a=t._writableState,l=t._readableState,u=()=>{t.writable||d()};let c=uI(t)&&cc(t)===s&&Hg(t)===o,f=Wg(t,!1);const d=()=>{f=!0,t.destroyed&&(c=!1),!(c&&(!t.readable||s))&&(!s||h)&&r.call(t)};let h=Ug(t,!1);const g=()=>{h=!0,t.destroyed&&(c=!1),!(c&&(!t.writable||o))&&(!o||f)&&r.call(t)},y=C=>{r.call(t,C)};let b=sI(t);const v=()=>{b=!0;const C=Vg(t)||zg(t);if(C&&typeof C!="boolean")return r.call(t,C);if(s&&!h&&cc(t,!0)&&!Ug(t,!1))return r.call(t,new Bg);if(o&&!f&&!Wg(t,!1))return r.call(t,new Bg);r.call(t)},_=()=>{b=!0;const C=Vg(t)||zg(t);if(C&&typeof C!="boolean")return r.call(t,C);r.call(t)},E=()=>{t.req.on("finish",d)};fI(t)?(t.on("complete",d),c||t.on("abort",v),t.req?E():t.on("request",E)):o&&!a&&(t.on("end",u),t.on("close",u)),!c&&typeof t.aborted=="boolean"&&t.on("aborted",v),t.on("end",g),t.on("finish",d),e.error!==!1&&t.on("error",y),t.on("close",v),b?nn.nextTick(v):a!=null&&a.errorEmitted||l!=null&&l.errorEmitted?c||nn.nextTick(_):(!s&&(!c||Fg(t))&&(f||jg(t)===!1)||!o&&(!c||jg(t))&&(h||Fg(t)===!1)||l&&t.req&&t.aborted)&&nn.nextTick(_);const T=()=>{r=Bf,t.removeListener("aborted",v),t.removeListener("complete",d),t.removeListener("abort",v),t.removeListener("request",E),t.req&&t.req.removeListener("finish",d),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",d),t.removeListener("end",g),t.removeListener("error",y),t.removeListener("close",v)};if(e.signal&&!b){const C=()=>{const O=r;T(),O.call(t,new jb(void 0,{cause:e.signal.reason}))};if(e.signal.aborted)nn.nextTick(C);else{const O=r;r=Df((...k)=>{e.signal.removeEventListener("abort",C),O.apply(t,k)}),e.signal.addEventListener("abort",C)}}return T}function dI(t,e,r){let n=!1,i=Bf;if(e.signal)if(i=()=>{n=!0,r.call(t,new jb(void 0,{cause:e.signal.reason}))},e.signal.aborted)nn.nextTick(i);else{const o=r;r=Df((...a)=>{e.signal.removeEventListener("abort",i),o.apply(t,a)}),e.signal.addEventListener("abort",i)}const s=(...o)=>{n||nn.nextTick(()=>r.apply(t,o))};return iI(t[cI].promise,s,s),Bf}function hI(t,e){var r;let n=!1;return e===null&&(e=kf),(r=e)!==null&&r!==void 0&&r.cleanup&&(rI(e.cleanup,"cleanup"),n=e.cleanup),new nI((i,s)=>{const o=Hb(t,e,a=>{n&&o(),a?s(a):i()})})}hh.exports=Hb;hh.exports.finished=hI;var _n=hh.exports;const ur=wn,{aggregateTwoErrors:pI,codes:{ERR_MULTIPLE_CALLBACK:gI},AbortError:mI}=bt,{Symbol:Wb}=Ve,{kDestroyed:yI,isDestroyed:wI,isFinished:bI,isServerRequest:_I}=Gr,Vb=Wb("kDestroy"),Ff=Wb("kConstruct");function qb(t,e,r){t&&(t.stack,e&&!e.errored&&(e.errored=t),r&&!r.errored&&(r.errored=t))}function vI(t,e){const r=this._readableState,n=this._writableState,i=n||r;return n!=null&&n.destroyed||r!=null&&r.destroyed?(typeof e=="function"&&e(),this):(qb(t,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),i.constructed?qg(this,t,e):this.once(Vb,function(s){qg(this,pI(s,t),e)}),this)}function qg(t,e,r){let n=!1;function i(s){if(n)return;n=!0;const o=t._readableState,a=t._writableState;qb(s,a,o),a&&(a.closed=!0),o&&(o.closed=!0),typeof r=="function"&&r(s),s?ur.nextTick(EI,t,s):ur.nextTick(Yb,t)}try{t._destroy(e||null,i)}catch(s){i(s)}}function EI(t,e){Uf(t,e),Yb(t)}function Yb(t){const e=t._readableState,r=t._writableState;r&&(r.closeEmitted=!0),e&&(e.closeEmitted=!0),(r!=null&&r.emitClose||e!=null&&e.emitClose)&&t.emit("close")}function Uf(t,e){const r=t._readableState,n=t._writableState;n!=null&&n.errorEmitted||r!=null&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),t.emit("error",e))}function SI(){const t=this._readableState,e=this._writableState;t&&(t.constructed=!0,t.closed=!1,t.closeEmitted=!1,t.destroyed=!1,t.errored=null,t.errorEmitted=!1,t.reading=!1,t.ended=t.readable===!1,t.endEmitted=t.readable===!1),e&&(e.constructed=!0,e.destroyed=!1,e.closed=!1,e.closeEmitted=!1,e.errored=null,e.errorEmitted=!1,e.finalCalled=!1,e.prefinished=!1,e.ended=e.writable===!1,e.ending=e.writable===!1,e.finished=e.writable===!1)}function zf(t,e,r){const n=t._readableState,i=t._writableState;if(i!=null&&i.destroyed||n!=null&&n.destroyed)return this;n!=null&&n.autoDestroy||i!=null&&i.autoDestroy?t.destroy(e):e&&(e.stack,i&&!i.errored&&(i.errored=e),n&&!n.errored&&(n.errored=e),r?ur.nextTick(Uf,t,e):Uf(t,e))}function xI(t,e){if(typeof t._construct!="function")return;const r=t._readableState,n=t._writableState;r&&(r.constructed=!1),n&&(n.constructed=!1),t.once(Ff,e),!(t.listenerCount(Ff)>1)&&ur.nextTick(TI,t)}function TI(t){let e=!1;function r(n){if(e){zf(t,n??new gI);return}e=!0;const i=t._readableState,s=t._writableState,o=s||i;i&&(i.constructed=!0),s&&(s.constructed=!0),o.destroyed?t.emit(Vb,n):n?zf(t,n,!0):ur.nextTick(AI,t)}try{t._construct(n=>{ur.nextTick(r,n)})}catch(n){ur.nextTick(r,n)}}function AI(t){t.emit(Ff)}function Yg(t){return(t==null?void 0:t.setHeader)&&typeof t.abort=="function"}function Kb(t){t.emit("close")}function MI(t,e){t.emit("error",e),ur.nextTick(Kb,t)}function CI(t,e){!t||wI(t)||(!e&&!bI(t)&&(e=new mI),_I(t)?(t.socket=null,t.destroy(e)):Yg(t)?t.abort():Yg(t.req)?t.req.abort():typeof t.destroy=="function"?t.destroy(e):typeof t.close=="function"?t.close():e?ur.nextTick(MI,t,e):ur.nextTick(Kb,t),t.destroyed||(t[yI]=!0))}var fs={construct:xI,destroyer:CI,destroy:vI,undestroy:SI,errorOrDestroy:zf};const{ArrayIsArray:II,ObjectSetPrototypeOf:Gb}=Ve,{EventEmitter:ou}=yn;function au(t){ou.call(this,t)}Gb(au.prototype,ou.prototype);Gb(au,ou);au.prototype.pipe=function(t,e){const r=this;function n(c){t.writable&&t.write(c)===!1&&r.pause&&r.pause()}r.on("data",n);function i(){r.readable&&r.resume&&r.resume()}t.on("drain",i),!t._isStdio&&(!e||e.end!==!1)&&(r.on("end",o),r.on("close",a));let s=!1;function o(){s||(s=!0,t.end())}function a(){s||(s=!0,typeof t.destroy=="function"&&t.destroy())}function l(c){u(),ou.listenerCount(this,"error")===0&&this.emit("error",c)}jf(r,"error",l),jf(t,"error",l);function u(){r.removeListener("data",n),t.removeListener("drain",i),r.removeListener("end",o),r.removeListener("close",a),r.removeListener("error",l),t.removeListener("error",l),r.removeListener("end",u),r.removeListener("close",u),t.removeListener("close",u)}return r.on("end",u),r.on("close",u),t.on("close",u),t.emit("pipe",r),t};function jf(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):II(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}var ph={Stream:au,prependListener:jf},Xb={exports:{}};(function(t){const{AbortError:e,codes:r}=bt,{isNodeStream:n,isWebStream:i,kControllerErrorFunction:s}=Gr,o=_n,{ERR_INVALID_ARG_TYPE:a}=r,l=(u,c)=>{if(typeof u!="object"||!("aborted"in u))throw new a(c,"AbortSignal",u)};t.exports.addAbortSignal=function(c,f){if(l(c,"signal"),!n(f)&&!i(f))throw new a("stream",["ReadableStream","WritableStream","Stream"],f);return t.exports.addAbortSignalNoValidate(c,f)},t.exports.addAbortSignalNoValidate=function(u,c){if(typeof u!="object"||!("aborted"in u))return c;const f=n(c)?()=>{c.destroy(new e(void 0,{cause:u.reason}))}:()=>{c[s](new e(void 0,{cause:u.reason}))};return u.aborted?f():(u.addEventListener("abort",f),o(c,()=>u.removeEventListener("abort",f))),c}})(Xb);var lu=Xb.exports;const{StringPrototypeSlice:Kg,SymbolIterator:OI,TypedArrayPrototypeSet:Qo,Uint8Array:PI}=Ve,{Buffer:fc}=We,{inspect:RI}=Kr;var LI=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const r={data:e,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}unshift(e){const r={data:e,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}shift(){if(this.length===0)return;const e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(this.length===0)return"";let r=this.head,n=""+r.data;for(;(r=r.next)!==null;)n+=e+r.data;return n}concat(e){if(this.length===0)return fc.alloc(0);const r=fc.allocUnsafe(e>>>0);let n=this.head,i=0;for(;n;)Qo(r,n.data,i),i+=n.data.length,n=n.next;return r}consume(e,r){const n=this.head.data;if(es.length)r+=s,e-=s.length;else{e===s.length?(r+=s,++i,n.next?this.head=n.next:this.head=this.tail=null):(r+=Kg(s,0,e),this.head=n,n.data=Kg(s,e));break}++i}while((n=n.next)!==null);return this.length-=i,r}_getBuffer(e){const r=fc.allocUnsafe(e),n=e;let i=this.head,s=0;do{const o=i.data;if(e>o.length)Qo(r,o,n-e),e-=o.length;else{e===o.length?(Qo(r,o,n-e),++s,i.next?this.head=i.next:this.head=this.tail=null):(Qo(r,new PI(o.buffer,o.byteOffset,e),n-e),this.head=i,i.data=o.slice(e));break}++s}while((i=i.next)!==null);return this.length-=s,r}[Symbol.for("nodejs.util.inspect.custom")](e,r){return RI(this,{...r,depth:0,customInspect:!1})}};const{MathFloor:NI,NumberIsInteger:$I}=Ve,{ERR_INVALID_ARG_VALUE:kI}=bt.codes;function DI(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}function Qb(t){return t?16:16*1024}function BI(t,e,r,n){const i=DI(e,n,r);if(i!=null){if(!$I(i)||i<0){const s=n?`options.${r}`:"options.highWaterMark";throw new kI(s,i)}return NI(i)}return Qb(t.objectMode)}var gh={getHighWaterMark:BI,getDefaultHighWaterMark:Qb};const Gg=wn,{PromisePrototypeThen:FI,SymbolAsyncIterator:Xg,SymbolIterator:Qg}=Ve,{Buffer:UI}=We,{ERR_INVALID_ARG_TYPE:zI,ERR_STREAM_NULL_VALUES:jI}=bt.codes;function HI(t,e,r){let n;if(typeof e=="string"||e instanceof UI)return new t({objectMode:!0,...r,read(){this.push(e),this.push(null)}});let i;if(e&&e[Xg])i=!0,n=e[Xg]();else if(e&&e[Qg])i=!1,n=e[Qg]();else throw new zI("iterable",["Iterable"],e);const s=new t({objectMode:!0,highWaterMark:1,...r});let o=!1;s._read=function(){o||(o=!0,l())},s._destroy=function(u,c){FI(a(u),()=>Gg.nextTick(c,u),f=>Gg.nextTick(c,f||u))};async function a(u){const c=u!=null,f=typeof n.throw=="function";if(c&&f){const{value:d,done:h}=await n.throw(u);if(await d,h)return}if(typeof n.return=="function"){const{value:d}=await n.return();await d}}async function l(){for(;;){try{const{value:u,done:c}=i?await n.next():n.next();if(c)s.push(null);else{const f=u&&typeof u.then=="function"?await u:u;if(f===null)throw o=!1,new jI;if(s.push(f))continue;o=!1}}catch(u){s.destroy(u)}break}}return s}var Jb=HI,dc,Jg;function uu(){if(Jg)return dc;Jg=1;const t=wn,{ArrayPrototypeIndexOf:e,NumberIsInteger:r,NumberIsNaN:n,NumberParseInt:i,ObjectDefineProperties:s,ObjectKeys:o,ObjectSetPrototypeOf:a,Promise:l,SafeSet:u,SymbolAsyncIterator:c,Symbol:f}=Ve;dc=J,J.ReadableState=K;const{EventEmitter:d}=yn,{Stream:h,prependListener:g}=ph,{Buffer:y}=We,{addAbortSignal:b}=lu,v=_n;let _=Kr.debuglog("stream",I=>{_=I});const E=LI,T=fs,{getHighWaterMark:C,getDefaultHighWaterMark:O}=gh,{aggregateTwoErrors:k,codes:{ERR_INVALID_ARG_TYPE:j,ERR_METHOD_NOT_IMPLEMENTED:R,ERR_OUT_OF_RANGE:H,ERR_STREAM_PUSH_AFTER_EOF:B,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:q}}=bt,{validateObject:F}=tu,A=f("kPaused"),{StringDecoder:$}=tl,U=Jb;a(J.prototype,h.prototype),a(J,h);const D=()=>{},{errorOrDestroy:V}=T;function K(I,N,x){typeof x!="boolean"&&(x=N instanceof kr()),this.objectMode=!!(I&&I.objectMode),x&&(this.objectMode=this.objectMode||!!(I&&I.readableObjectMode)),this.highWaterMark=I?C(this,I,"readableHighWaterMark",x):O(!1),this.buffer=new E,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[A]=null,this.errorEmitted=!1,this.emitClose=!I||I.emitClose!==!1,this.autoDestroy=!I||I.autoDestroy!==!1,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=I&&I.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,I&&I.encoding&&(this.decoder=new $(I.encoding),this.encoding=I.encoding)}function J(I){if(!(this instanceof J))return new J(I);const N=this instanceof kr();this._readableState=new K(I,this,N),I&&(typeof I.read=="function"&&(this._read=I.read),typeof I.destroy=="function"&&(this._destroy=I.destroy),typeof I.construct=="function"&&(this._construct=I.construct),I.signal&&!N&&b(I.signal,this)),h.call(this,I),T.construct(this,()=>{this._readableState.needReadable&&ee(this,this._readableState)})}J.prototype.destroy=T.destroy,J.prototype._undestroy=T.undestroy,J.prototype._destroy=function(I,N){N(I)},J.prototype[d.captureRejectionSymbol]=function(I){this.destroy(I)},J.prototype.push=function(I,N){return oe(this,I,N,!1)},J.prototype.unshift=function(I,N){return oe(this,I,N,!0)};function oe(I,N,x,p){_("readableAddChunk",N);const m=I._readableState;let L;if(m.objectMode||(typeof N=="string"?(x=x||m.defaultEncoding,m.encoding!==x&&(p&&m.encoding?N=y.from(N,x).toString(m.encoding):(N=y.from(N,x),x=""))):N instanceof y?x="":h._isUint8Array(N)?(N=h._uint8ArrayToBuffer(N),x=""):N!=null&&(L=new j("chunk",["string","Buffer","Uint8Array"],N))),L)V(I,L);else if(N===null)m.reading=!1,X(I,m);else if(m.objectMode||N&&N.length>0)if(p)if(m.endEmitted)V(I,new q);else{if(m.destroyed||m.errored)return!1;de(I,m,N,!0)}else if(m.ended)V(I,new B);else{if(m.destroyed||m.errored)return!1;m.reading=!1,m.decoder&&!x?(N=m.decoder.write(N),m.objectMode||N.length!==0?de(I,m,N,!1):ee(I,m)):de(I,m,N,!1)}else p||(m.reading=!1,ee(I,m));return!m.ended&&(m.length0?(N.multiAwaitDrain?N.awaitDrainWriters.clear():N.awaitDrainWriters=null,N.dataEmitted=!0,I.emit("data",x)):(N.length+=N.objectMode?1:x.length,p?N.buffer.unshift(x):N.buffer.push(x),N.needReadable&&G(I)),ee(I,N)}J.prototype.isPaused=function(){const I=this._readableState;return I[A]===!0||I.flowing===!1},J.prototype.setEncoding=function(I){const N=new $(I);this._readableState.decoder=N,this._readableState.encoding=this._readableState.decoder.encoding;const x=this._readableState.buffer;let p="";for(const m of x)p+=N.write(m);return x.clear(),p!==""&&x.push(p),this._readableState.length=p.length,this};const fe=1073741824;function ge(I){if(I>fe)throw new H("size","<= 1GiB",I);return I--,I|=I>>>1,I|=I>>>2,I|=I>>>4,I|=I>>>8,I|=I>>>16,I++,I}function ye(I,N){return I<=0||N.length===0&&N.ended?0:N.objectMode?1:n(I)?N.flowing&&N.length?N.buffer.first().length:N.length:I<=N.length?I:N.ended?N.length:0}J.prototype.read=function(I){_("read",I),I===void 0?I=NaN:r(I)||(I=i(I,10));const N=this._readableState,x=I;if(I>N.highWaterMark&&(N.highWaterMark=ge(I)),I!==0&&(N.emittedReadable=!1),I===0&&N.needReadable&&((N.highWaterMark!==0?N.length>=N.highWaterMark:N.length>0)||N.ended))return _("read: emitReadable",N.length,N.ended),N.length===0&&N.ended?le(this):G(this),null;if(I=ye(I,N),I===0&&N.ended)return N.length===0&&le(this),null;let p=N.needReadable;if(_("need readable",p),(N.length===0||N.length-I0?m=ne(I,N):m=null,m===null?(N.needReadable=N.length<=N.highWaterMark,I=0):(N.length-=I,N.multiAwaitDrain?N.awaitDrainWriters.clear():N.awaitDrainWriters=null),N.length===0&&(N.ended||(N.needReadable=!0),x!==I&&N.ended&&le(this)),m!==null&&!N.errorEmitted&&!N.closeEmitted&&(N.dataEmitted=!0,this.emit("data",m)),m};function X(I,N){if(_("onEofChunk"),!N.ended){if(N.decoder){const x=N.decoder.end();x&&x.length&&(N.buffer.push(x),N.length+=N.objectMode?1:x.length)}N.ended=!0,N.sync?G(I):(N.needReadable=!1,N.emittedReadable=!0,re(I))}}function G(I){const N=I._readableState;_("emitReadable",N.needReadable,N.emittedReadable),N.needReadable=!1,N.emittedReadable||(_("emitReadable",N.flowing),N.emittedReadable=!0,t.nextTick(re,I))}function re(I){const N=I._readableState;_("emitReadable_",N.destroyed,N.length,N.ended),!N.destroyed&&!N.errored&&(N.length||N.ended)&&(I.emit("readable"),N.emittedReadable=!1),N.needReadable=!N.flowing&&!N.ended&&N.length<=N.highWaterMark,W(I)}function ee(I,N){!N.readingMore&&N.constructed&&(N.readingMore=!0,t.nextTick(ce,I,N))}function ce(I,N){for(;!N.reading&&!N.ended&&(N.length1&&p.pipes.includes(I)&&(_("false write response, pause",p.awaitDrainWriters.size),p.awaitDrainWriters.add(I)),x.pause()),te||(te=P(x,I),I.on("drain",te))}x.on("data",$e);function $e(Tn){_("ondata");const _r=I.write(Tn);_("dest.write",_r),_r===!1&&Ce()}function Le(Tn){if(_("onerror",Tn),ys(),I.removeListener("error",Le),I.listenerCount("error")===0){const _r=I._writableState||I._readableState;_r&&!_r.errorEmitted?V(I,Tn):I.emit("error",Tn)}}g(I,"error",Le);function Fu(){I.removeListener("finish",Uu),ys()}I.once("close",Fu);function Uu(){_("onfinish"),I.removeListener("close",Fu),ys()}I.once("finish",Uu);function ys(){_("unpipe"),x.unpipe(I)}return I.emit("pipe",x),I.writableNeedDrain===!0?p.flowing&&Ce():p.flowing||(_("pipe resume"),x.resume()),I};function P(I,N){return function(){const p=I._readableState;p.awaitDrainWriters===N?(_("pipeOnDrain",1),p.awaitDrainWriters=null):p.multiAwaitDrain&&(_("pipeOnDrain",p.awaitDrainWriters.size),p.awaitDrainWriters.delete(N)),(!p.awaitDrainWriters||p.awaitDrainWriters.size===0)&&I.listenerCount("data")&&I.resume()}}J.prototype.unpipe=function(I){const N=this._readableState,x={hasUnpiped:!1};if(N.pipes.length===0)return this;if(!I){const m=N.pipes;N.pipes=[],this.pause();for(let L=0;L0,p.flowing!==!1&&this.resume()):I==="readable"&&!p.endEmitted&&!p.readableListening&&(p.readableListening=p.needReadable=!0,p.flowing=!1,p.emittedReadable=!1,_("on readable",p.length,p.reading),p.length?G(this):p.reading||t.nextTick(S,this)),x},J.prototype.addListener=J.prototype.on,J.prototype.removeListener=function(I,N){const x=h.prototype.removeListener.call(this,I,N);return I==="readable"&&t.nextTick(w,this),x},J.prototype.off=J.prototype.removeListener,J.prototype.removeAllListeners=function(I){const N=h.prototype.removeAllListeners.apply(this,arguments);return(I==="readable"||I===void 0)&&t.nextTick(w,this),N};function w(I){const N=I._readableState;N.readableListening=I.listenerCount("readable")>0,N.resumeScheduled&&N[A]===!1?N.flowing=!0:I.listenerCount("data")>0?I.resume():N.readableListening||(N.flowing=null)}function S(I){_("readable nexttick read 0"),I.read(0)}J.prototype.resume=function(){const I=this._readableState;return I.flowing||(_("resume"),I.flowing=!I.readableListening,M(this,I)),I[A]=!1,this};function M(I,N){N.resumeScheduled||(N.resumeScheduled=!0,t.nextTick(z,I,N))}function z(I,N){_("resume",N.reading),N.reading||I.read(0),N.resumeScheduled=!1,I.emit("resume"),W(I),N.flowing&&!N.reading&&I.read(0)}J.prototype.pause=function(){return _("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(_("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[A]=!0,this};function W(I){const N=I._readableState;for(_("flow",N.flowing);N.flowing&&I.read()!==null;);}J.prototype.wrap=function(I){let N=!1;I.on("data",p=>{!this.push(p)&&I.pause&&(N=!0,I.pause())}),I.on("end",()=>{this.push(null)}),I.on("error",p=>{V(this,p)}),I.on("close",()=>{this.destroy()}),I.on("destroy",()=>{this.destroy()}),this._read=()=>{N&&I.resume&&(N=!1,I.resume())};const x=o(I);for(let p=1;p{m=Y?k(m,Y):null,x(),x=D});try{for(;;){const Y=I.destroyed?null:I.read();if(Y!==null)yield Y;else{if(m)throw m;if(m===null)return;await new l(p)}}}catch(Y){throw m=k(m,Y),m}finally{(m||(N==null?void 0:N.destroyOnReturn)!==!1)&&(m===void 0||I._readableState.autoDestroy)?T.destroyer(I,null):(I.off("readable",p),L())}}s(J.prototype,{readable:{__proto__:null,get(){const I=this._readableState;return!!I&&I.readable!==!1&&!I.destroyed&&!I.errorEmitted&&!I.endEmitted},set(I){this._readableState&&(this._readableState.readable=!!I)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(I){this._readableState&&(this._readableState.flowing=I)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(I){this._readableState&&(this._readableState.destroyed=I)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),s(K.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[A]!==!1},set(I){this[A]=!!I}}}),J._fromList=ne;function ne(I,N){if(N.length===0)return null;let x;return N.objectMode?x=N.buffer.shift():!I||I>=N.length?(N.decoder?x=N.buffer.join(""):N.buffer.length===1?x=N.buffer.first():x=N.buffer.concat(N.length),N.buffer.clear()):x=N.buffer.consume(I,N.decoder),x}function le(I){const N=I._readableState;_("endReadable",N.endEmitted),N.endEmitted||(N.ended=!0,t.nextTick(se,N,I))}function se(I,N){if(_("endReadableNT",I.endEmitted,I.length),!I.errored&&!I.closeEmitted&&!I.endEmitted&&I.length===0){if(I.endEmitted=!0,N.emit("end"),N.writable&&N.allowHalfOpen===!1)t.nextTick(pe,N);else if(I.autoDestroy){const x=N._writableState;(!x||x.autoDestroy&&(x.finished||x.writable===!1))&&N.destroy()}}}function pe(I){I.writable&&!I.writableEnded&&!I.destroyed&&I.end()}J.from=function(I,N){return U(J,I,N)};let he;function me(){return he===void 0&&(he={}),he}return J.fromWeb=function(I,N){return me().newStreamReadableFromReadableStream(I,N)},J.toWeb=function(I,N){return me().newReadableStreamFromStreamReadable(I,N)},J.wrap=function(I,N){var x,p;return new J({objectMode:(x=(p=I.readableObjectMode)!==null&&p!==void 0?p:I.objectMode)!==null&&x!==void 0?x:!0,...N,destroy(m,L){T.destroyer(I,m),L(m)}}).wrap(I)},dc}var hc,Zg;function Zb(){if(Zg)return hc;Zg=1;const t=wn,{ArrayPrototypeSlice:e,Error:r,FunctionPrototypeSymbolHasInstance:n,ObjectDefineProperty:i,ObjectDefineProperties:s,ObjectSetPrototypeOf:o,StringPrototypeToLowerCase:a,Symbol:l,SymbolHasInstance:u}=Ve;hc=$,$.WritableState=F;const{EventEmitter:c}=yn,f=ph.Stream,{Buffer:d}=We,h=fs,{addAbortSignal:g}=lu,{getHighWaterMark:y,getDefaultHighWaterMark:b}=gh,{ERR_INVALID_ARG_TYPE:v,ERR_METHOD_NOT_IMPLEMENTED:_,ERR_MULTIPLE_CALLBACK:E,ERR_STREAM_CANNOT_PIPE:T,ERR_STREAM_DESTROYED:C,ERR_STREAM_ALREADY_FINISHED:O,ERR_STREAM_NULL_VALUES:k,ERR_STREAM_WRITE_AFTER_END:j,ERR_UNKNOWN_ENCODING:R}=bt.codes,{errorOrDestroy:H}=h;o($.prototype,f.prototype),o($,f);function B(){}const q=l("kOnFinished");function F(S,M,z){typeof z!="boolean"&&(z=M instanceof kr()),this.objectMode=!!(S&&S.objectMode),z&&(this.objectMode=this.objectMode||!!(S&&S.writableObjectMode)),this.highWaterMark=S?y(this,S,"writableHighWaterMark",z):b(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const W=!!(S&&S.decodeStrings===!1);this.decodeStrings=!W,this.defaultEncoding=S&&S.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=J.bind(void 0,M),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,A(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!S||S.emitClose!==!1,this.autoDestroy=!S||S.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[q]=[]}function A(S){S.buffered=[],S.bufferedIndex=0,S.allBuffers=!0,S.allNoop=!0}F.prototype.getBuffer=function(){return e(this.buffered,this.bufferedIndex)},i(F.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function $(S){const M=this instanceof kr();if(!M&&!n($,this))return new $(S);this._writableState=new F(S,this,M),S&&(typeof S.write=="function"&&(this._write=S.write),typeof S.writev=="function"&&(this._writev=S.writev),typeof S.destroy=="function"&&(this._destroy=S.destroy),typeof S.final=="function"&&(this._final=S.final),typeof S.construct=="function"&&(this._construct=S.construct),S.signal&&g(S.signal,this)),f.call(this,S),h.construct(this,()=>{const z=this._writableState;z.writing||ge(this,z),re(this,z)})}i($,u,{__proto__:null,value:function(S){return n(this,S)?!0:this!==$?!1:S&&S._writableState instanceof F}}),$.prototype.pipe=function(){H(this,new T)};function U(S,M,z,W){const Q=S._writableState;if(typeof z=="function")W=z,z=Q.defaultEncoding;else{if(!z)z=Q.defaultEncoding;else if(z!=="buffer"&&!d.isEncoding(z))throw new R(z);typeof W!="function"&&(W=B)}if(M===null)throw new k;if(!Q.objectMode)if(typeof M=="string")Q.decodeStrings!==!1&&(M=d.from(M,z),z="buffer");else if(M instanceof d)z="buffer";else if(f._isUint8Array(M))M=f._uint8ArrayToBuffer(M),z="buffer";else throw new v("chunk",["string","Buffer","Uint8Array"],M);let ie;return Q.ending?ie=new j:Q.destroyed&&(ie=new C("write")),ie?(t.nextTick(W,ie),H(S,ie,!0),ie):(Q.pendingcb++,D(S,Q,M,z,W))}$.prototype.write=function(S,M,z){return U(this,S,M,z)===!0},$.prototype.cork=function(){this._writableState.corked++},$.prototype.uncork=function(){const S=this._writableState;S.corked&&(S.corked--,S.writing||ge(this,S))},$.prototype.setDefaultEncoding=function(M){if(typeof M=="string"&&(M=a(M)),!d.isEncoding(M))throw new R(M);return this._writableState.defaultEncoding=M,this};function D(S,M,z,W,Q){const ie=M.objectMode?1:z.length;M.length+=ie;const ne=M.lengthz.bufferedIndex&&ge(S,z),W?z.afterWriteTickInfo!==null&&z.afterWriteTickInfo.cb===Q?z.afterWriteTickInfo.count++:(z.afterWriteTickInfo={count:1,cb:Q,stream:S,state:z},t.nextTick(oe,z.afterWriteTickInfo)):de(S,z,1,Q))}function oe({stream:S,state:M,count:z,cb:W}){return M.afterWriteTickInfo=null,de(S,M,z,W)}function de(S,M,z,W){for(!M.ending&&!S.destroyed&&M.length===0&&M.needDrain&&(M.needDrain=!1,S.emit("drain"));z-- >0;)M.pendingcb--,W();M.destroyed&&fe(M),re(S,M)}function fe(S){if(S.writing)return;for(let Q=S.bufferedIndex;Q1&&S._writev){M.pendingcb-=ie-1;const le=M.allNoop?B:pe=>{for(let he=ne;he256?(z.splice(0,ne),M.bufferedIndex=0):M.bufferedIndex=ne}M.bufferProcessing=!1}$.prototype._write=function(S,M,z){if(this._writev)this._writev([{chunk:S,encoding:M}],z);else throw new _("_write()")},$.prototype._writev=null,$.prototype.end=function(S,M,z){const W=this._writableState;typeof S=="function"?(z=S,S=null,M=null):typeof M=="function"&&(z=M,M=null);let Q;if(S!=null){const ie=U(this,S,M);ie instanceof r&&(Q=ie)}return W.corked&&(W.corked=1,this.uncork()),Q||(!W.errored&&!W.ending?(W.ending=!0,re(this,W,!0),W.ended=!0):W.finished?Q=new O("end"):W.destroyed&&(Q=new C("end"))),typeof z=="function"&&(Q||W.finished?t.nextTick(z,Q):W[q].push(z)),this};function ye(S){return S.ending&&!S.destroyed&&S.constructed&&S.length===0&&!S.errored&&S.buffered.length===0&&!S.finished&&!S.writing&&!S.errorEmitted&&!S.closeEmitted}function X(S,M){let z=!1;function W(Q){if(z){H(S,Q??E());return}if(z=!0,M.pendingcb--,Q){const ie=M[q].splice(0);for(let ne=0;ne{ye(Q)?ee(W,Q):Q.pendingcb--},S,M)):ye(M)&&(M.pendingcb++,ee(S,M))))}function ee(S,M){M.pendingcb--,M.finished=!0;const z=M[q].splice(0);for(let W=0;W{if(J!=null)throw new d("nully","body",J)},J=>{h(V,J)});return V=new O({objectMode:!0,readable:!1,write:A,final(J){$(async()=>{try{await K,t.nextTick(J,null)}catch(oe){t.nextTick(J,oe)}})},destroy:U})}throw new d("Iterable, AsyncIterable or AsyncFunction",B,F)}if(E(H))return R(H.arrayBuffer());if(i(H))return v(O,H,{objectMode:!0,writable:!1});if(typeof(H==null?void 0:H.writable)=="object"||typeof(H==null?void 0:H.readable)=="object"){const F=H!=null&&H.readable?o(H==null?void 0:H.readable)?H==null?void 0:H.readable:R(H.readable):void 0,A=H!=null&&H.writable?a(H==null?void 0:H.writable)?H==null?void 0:H.writable:R(H.writable):void 0;return j({readable:F,writable:A})}const q=H==null?void 0:H.then;if(typeof q=="function"){let F;return C(q,H,A=>{A!=null&&F.push(A),F.push(null)},A=>{h(F,A)}),F=new O({objectMode:!0,writable:!1,read(){}})}throw new f(B,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],H)};function k(R){let{promise:H,resolve:B}=b();const q=new T,F=q.signal;return{value:R(async function*(){for(;;){const $=H;H=null;const{chunk:U,done:D,cb:V}=await $;if(t.nextTick(V),D)return;if(F.aborted)throw new c(void 0,{cause:F.reason});({promise:H,resolve:B}=b()),yield U}}(),{signal:F}),write($,U,D){const V=B;B=null,V({chunk:$,done:!1,cb:D})},final($){const U=B;B=null,U({done:!0,cb:$})},destroy($,U){q.abort(),U($)}}}function j(R){const H=R.readable&&typeof R.readable.read!="function"?y.wrap(R.readable):R.readable,B=R.writable;let q=!!r(H),F=!!n(B),A,$,U,D,V;function K(J){const oe=D;D=null,oe?oe(J):J&&V.destroy(J)}return V=new O({readableObjectMode:!!(H!=null&&H.readableObjectMode),writableObjectMode:!!(B!=null&&B.writableObjectMode),readable:q,writable:F}),F&&(u(B,J=>{F=!1,J&&h(H,J),K(J)}),V._write=function(J,oe,de){B.write(J,oe)?de():A=de},V._final=function(J){B.end(),$=J},B.on("drain",function(){if(A){const J=A;A=null,J()}}),B.on("finish",function(){if($){const J=$;$=null,J()}})),q&&(u(H,J=>{q=!1,J&&h(H,J),K(J)}),H.on("readable",function(){if(U){const J=U;U=null,J()}}),H.on("end",function(){V.push(null)}),V._read=function(){for(;;){const J=H.read();if(J===null){U=V._read;return}if(!V.push(J))return}}),V._destroy=function(J,oe){!J&&D!==null&&(J=new c),U=null,A=null,$=null,D===null?oe(J):(D=oe,h(B,J),h(H,J))},V}return pc}var gc,tm;function kr(){if(tm)return gc;tm=1;const{ObjectDefineProperties:t,ObjectGetOwnPropertyDescriptor:e,ObjectKeys:r,ObjectSetPrototypeOf:n}=Ve;gc=o;const i=uu(),s=Zb();n(o.prototype,i.prototype),n(o,i);{const c=r(s.prototype);for(let f=0;f{if(e){t?t(e):this.destroy(e);return}r!=null&&this.push(r),this.push(null),t&&t()}):(this.push(null),t&&t())}function KI(){this._final!==Hf&&Hf.call(this)}Dr.prototype._final=Hf;Dr.prototype._transform=function(t,e,r){throw new qI("_transform()")};Dr.prototype._write=function(t,e,r){const n=this._readableState,i=this._writableState,s=n.length;this._transform(t,e,(o,a)=>{if(o){r(o);return}a!=null&&this.push(a),i.ended||s===n.length||n.length{n=!0});const i=ol(t,{readable:e,writable:r},s=>{n=!s});return{destroy:s=>{n||(n=!0,ZI.destroyer(t,s||new rO("pipe")))},cleanup:i}}function cO(t){return sO(t[t.length-1],"streams[stream.length - 1]"),t.pop()}function vc(t){if(Pn(t))return t;if(Ca(t))return fO(t);throw new Wf("val",["Readable","Iterable","AsyncIterable"],t)}async function*fO(t){_c||(_c=uu()),yield*_c.prototype[QI].call(t)}async function Jo(t,e,r,{end:n}){let i,s=null;const o=u=>{if(u&&(i=u),s){const c=s;s=null,c()}},a=()=>new XI((u,c)=>{i?c(i):s=()=>{i?c(i):u()}});e.on("drain",o);const l=ol(e,{readable:!1},o);try{e.writableNeedDrain&&await a();for await(const u of t)e.write(u)||await a();n&&e.end(),await a(),r()}catch(u){r(i!==u?eO(i,u):u)}finally{l(),e.off("drain",o)}}async function Ec(t,e,r,{end:n}){vi(e)&&(e=e.writable);const i=e.getWriter();try{for await(const s of t)await i.ready,i.write(s).catch(()=>{});await i.ready,n&&await i.close(),r()}catch(s){try{await i.abort(s),r(s)}catch(o){r(o)}}}function dO(...t){return i_(t,JI(cO(t)))}function i_(t,e,r){if(t.length===1&&GI(t[0])&&(t=t[0]),t.length<2)throw new tO("streams");const n=new uO,i=n.signal,s=r==null?void 0:r.signal,o=[];oO(s,"options.signal");function a(){h(new iO)}s==null||s.addEventListener("abort",a);let l,u;const c=[];let f=0;function d(v){h(v,--f===0)}function h(v,_){if(v&&(!l||l.code==="ERR_STREAM_PREMATURE_CLOSE")&&(l=v),!(!l&&!_)){for(;c.length;)c.shift()(l);s==null||s.removeEventListener("abort",a),n.abort(),_&&(l||o.forEach(E=>E()),Bs.nextTick(e,l,u))}}let g;for(let v=0;v0,C=E||(r==null?void 0:r.end)!==!1,O=v===t.length-1;if(nm(_)){let k=function(j){j&&j.name!=="AbortError"&&j.code!=="ERR_STREAM_PREMATURE_CLOSE"&&d(j)};if(C){const{destroy:j,cleanup:R}=im(_,E,T);c.push(j),yc(_)&&O&&o.push(R)}_.on("error",k),yc(_)&&O&&o.push(()=>{_.removeListener("error",k)})}if(v===0)if(typeof _=="function"){if(g=_({signal:i}),!Pn(g))throw new mc("Iterable, AsyncIterable or Stream","source",g)}else Pn(_)||Ca(_)||vi(_)?g=_:g=rm.from(_);else if(typeof _=="function"){if(vi(g)){var y;g=vc((y=g)===null||y===void 0?void 0:y.readable)}else g=vc(g);if(g=_(g,{signal:i}),E){if(!Pn(g,!0))throw new mc("AsyncIterable",`transform[${v-1}]`,g)}else{var b;bc||(bc=n_);const k=new bc({objectMode:!0}),j=(b=g)===null||b===void 0?void 0:b.then;if(typeof j=="function")f++,j.call(g,B=>{u=B,B!=null&&k.write(B),C&&k.end(),Bs.nextTick(d)},B=>{k.destroy(B),Bs.nextTick(d,B)});else if(Pn(g,!0))f++,Jo(g,k,d,{end:C});else if(wc(g)||vi(g)){const B=g.readable||g;f++,Jo(B,k,d,{end:C})}else throw new mc("AsyncIterable or Promise","destination",g);g=k;const{destroy:R,cleanup:H}=im(g,!1,!0);c.push(R),O&&o.push(H)}}else if(nm(_)){if(Ca(g)){f+=2;const k=hO(g,_,d,{end:C});yc(_)&&O&&o.push(k)}else if(vi(g)||wc(g)){const k=g.readable||g;f++,Jo(k,_,d,{end:C})}else if(Pn(g))f++,Jo(g,_,d,{end:C});else throw new Wf("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],g);g=_}else if(aO(_)){if(Ca(g))f++,Ec(vc(g),_,d,{end:C});else if(wc(g)||Pn(g))f++,Ec(g,_,d,{end:C});else if(vi(g))f++,Ec(g.readable,_,d,{end:C});else throw new Wf("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],g);g=_}else g=rm.from(_)}return(i!=null&&i.aborted||s!=null&&s.aborted)&&Bs.nextTick(a),g}function hO(t,e,r,{end:n}){let i=!1;if(e.on("close",()=>{i||r(new nO)}),t.pipe(e,{end:!1}),n){let s=function(){i=!0,e.end()};lO(t)?Bs.nextTick(s):t.once("end",s)}else r();return ol(t,{readable:!0,writable:!1},s=>{const o=t._readableState;s&&s.code==="ERR_STREAM_PREMATURE_CLOSE"&&o&&o.ended&&!o.errored&&!o.errorEmitted?t.once("end",r).once("error",r):r(s)}),ol(e,{readable:!1,writable:!0},r)}var wh={pipelineImpl:i_,pipeline:dO};const{pipeline:pO}=wh,Zo=kr(),{destroyer:gO}=fs,{isNodeStream:ea,isReadable:sm,isWritable:om,isWebStream:Sc,isTransformStream:Cn,isWritableStream:am,isReadableStream:lm}=Gr,{AbortError:mO,codes:{ERR_INVALID_ARG_VALUE:um,ERR_MISSING_ARGS:yO}}=bt,wO=_n;var s_=function(...e){if(e.length===0)throw new yO("streams");if(e.length===1)return Zo.from(e[0]);const r=[...e];if(typeof e[0]=="function"&&(e[0]=Zo.from(e[0])),typeof e[e.length-1]=="function"){const h=e.length-1;e[h]=Zo.from(e[h])}for(let h=0;h0&&!(om(e[h])||am(e[h])||Cn(e[h])))throw new um(`streams[${h}]`,r[h],"must be writable")}let n,i,s,o,a;function l(h){const g=o;o=null,g?g(h):h?a.destroy(h):!d&&!f&&a.destroy()}const u=e[0],c=pO(e,l),f=!!(om(u)||am(u)||Cn(u)),d=!!(sm(c)||lm(c)||Cn(c));if(a=new Zo({writableObjectMode:!!(u!=null&&u.writableObjectMode),readableObjectMode:!!(c!=null&&c.writableObjectMode),writable:f,readable:d}),f){if(ea(u))a._write=function(g,y,b){u.write(g,y)?b():n=b},a._final=function(g){u.end(),i=g},u.on("drain",function(){if(n){const g=n;n=null,g()}});else if(Sc(u)){const y=(Cn(u)?u.writable:u).getWriter();a._write=async function(b,v,_){try{await y.ready,y.write(b).catch(()=>{}),_()}catch(E){_(E)}},a._final=async function(b){try{await y.ready,y.close().catch(()=>{}),i=b}catch(v){b(v)}}}const h=Cn(c)?c.readable:c;wO(h,()=>{if(i){const g=i;i=null,g()}})}if(d){if(ea(c))c.on("readable",function(){if(s){const h=s;s=null,h()}}),c.on("end",function(){a.push(null)}),a._read=function(){for(;;){const h=c.read();if(h===null){s=a._read;return}if(!a.push(h))return}};else if(Sc(c)){const g=(Cn(c)?c.readable:c).getReader();a._read=async function(){for(;;)try{const{value:y,done:b}=await g.read();if(!a.push(y))return;if(b){a.push(null);return}}catch{return}}}}return a._destroy=function(h,g){!h&&o!==null&&(h=new mO),s=null,n=null,i=null,o===null?g(h):(o=g,ea(c)&&gO(c,h))},a};const o_=globalThis.AbortController||lh().AbortController,{codes:{ERR_INVALID_ARG_VALUE:bO,ERR_INVALID_ARG_TYPE:Mo,ERR_MISSING_ARGS:_O,ERR_OUT_OF_RANGE:vO},AbortError:gr}=bt,{validateAbortSignal:ai,validateInteger:EO,validateObject:li}=tu,SO=Ve.Symbol("kWeak"),{finished:xO}=_n,TO=s_,{addAbortSignalNoValidate:AO}=lu,{isWritable:MO,isNodeStream:CO}=Gr,{ArrayPrototypePush:IO,MathFloor:OO,Number:PO,NumberIsNaN:RO,Promise:cm,PromiseReject:fm,PromisePrototypeThen:LO,Symbol:a_}=Ve,al=a_("kEmpty"),dm=a_("kEof");function NO(t,e){if(e!=null&&li(e,"options"),(e==null?void 0:e.signal)!=null&&ai(e.signal,"options.signal"),CO(t)&&!MO(t))throw new bO("stream",t,"must be writable");const r=TO(this,t);return e!=null&&e.signal&&AO(e.signal,r),r}function cu(t,e){if(typeof t!="function")throw new Mo("fn",["Function","AsyncFunction"],t);e!=null&&li(e,"options"),(e==null?void 0:e.signal)!=null&&ai(e.signal,"options.signal");let r=1;return(e==null?void 0:e.concurrency)!=null&&(r=OO(e.concurrency)),EO(r,"concurrency",1),(async function*(){var i,s;const o=new o_,a=this,l=[],u=o.signal,c={signal:u},f=()=>o.abort();e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted&&f(),e==null||(s=e.signal)===null||s===void 0||s.addEventListener("abort",f);let d,h,g=!1;function y(){g=!0}async function b(){try{for await(let E of a){var v;if(g)return;if(u.aborted)throw new gr;try{E=t(E,c)}catch(T){E=fm(T)}E!==al&&(typeof((v=E)===null||v===void 0?void 0:v.catch)=="function"&&E.catch(y),l.push(E),d&&(d(),d=null),!g&&l.length&&l.length>=r&&await new cm(T=>{h=T}))}l.push(dm)}catch(E){const T=fm(E);LO(T,void 0,y),l.push(T)}finally{var _;g=!0,d&&(d(),d=null),e==null||(_=e.signal)===null||_===void 0||_.removeEventListener("abort",f)}}b();try{for(;;){for(;l.length>0;){const v=await l[0];if(v===dm)return;if(u.aborted)throw new gr;v!==al&&(yield v),l.shift(),h&&(h(),h=null)}await new cm(v=>{d=v})}}finally{o.abort(),g=!0,h&&(h(),h=null)}}).call(this)}function $O(t=void 0){return t!=null&&li(t,"options"),(t==null?void 0:t.signal)!=null&&ai(t.signal,"options.signal"),(async function*(){let r=0;for await(const i of this){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new gr({cause:t.signal.reason});yield[r++,i]}}).call(this)}async function l_(t,e=void 0){for await(const r of bh.call(this,t,e))return!0;return!1}async function kO(t,e=void 0){if(typeof t!="function")throw new Mo("fn",["Function","AsyncFunction"],t);return!await l_.call(this,async(...r)=>!await t(...r),e)}async function DO(t,e){for await(const r of bh.call(this,t,e))return r}async function BO(t,e){if(typeof t!="function")throw new Mo("fn",["Function","AsyncFunction"],t);async function r(n,i){return await t(n,i),al}for await(const n of cu.call(this,r,e));}function bh(t,e){if(typeof t!="function")throw new Mo("fn",["Function","AsyncFunction"],t);async function r(n,i){return await t(n,i)?n:al}return cu.call(this,r,e)}class FO extends _O{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function UO(t,e,r){var n;if(typeof t!="function")throw new Mo("reducer",["Function","AsyncFunction"],t);r!=null&&li(r,"options"),(r==null?void 0:r.signal)!=null&&ai(r.signal,"options.signal");let i=arguments.length>1;if(r!=null&&(n=r.signal)!==null&&n!==void 0&&n.aborted){const u=new gr(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await xO(this.destroy(u)),u}const s=new o_,o=s.signal;if(r!=null&&r.signal){const u={once:!0,[SO]:this};r.signal.addEventListener("abort",()=>s.abort(),u)}let a=!1;try{for await(const u of this){var l;if(a=!0,r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new gr;i?e=await t(e,u,{signal:o}):(e=u,i=!0)}if(!a&&!i)throw new FO}finally{s.abort()}return e}async function zO(t){t!=null&&li(t,"options"),(t==null?void 0:t.signal)!=null&&ai(t.signal,"options.signal");const e=[];for await(const n of this){var r;if(t!=null&&(r=t.signal)!==null&&r!==void 0&&r.aborted)throw new gr(void 0,{cause:t.signal.reason});IO(e,n)}return e}function jO(t,e){const r=cu.call(this,t,e);return(async function*(){for await(const i of r)yield*i}).call(this)}function u_(t){if(t=PO(t),RO(t))return 0;if(t<0)throw new vO("number",">= 0",t);return t}function HO(t,e=void 0){return e!=null&&li(e,"options"),(e==null?void 0:e.signal)!=null&&ai(e.signal,"options.signal"),t=u_(t),(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new gr;for await(const s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new gr;t--<=0&&(yield s)}}).call(this)}function WO(t,e=void 0){return e!=null&&li(e,"options"),(e==null?void 0:e.signal)!=null&&ai(e.signal,"options.signal"),t=u_(t),(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new gr;for await(const s of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new gr;if(t-- >0)yield s;else return}}).call(this)}ah.streamReturningOperators={asIndexedPairs:$O,drop:HO,filter:bh,flatMap:jO,map:cu,take:WO,compose:NO};ah.promiseReturningOperators={every:kO,forEach:BO,reduce:UO,toArray:zO,some:l_,find:DO};var xc,hm;function c_(){if(hm)return xc;hm=1;const{ArrayPrototypePop:t,Promise:e}=Ve,{isIterable:r,isNodeStream:n,isWebStream:i}=Gr,{pipelineImpl:s}=wh,{finished:o}=_n;f_();function a(...l){return new e((u,c)=>{let f,d;const h=l[l.length-1];if(h&&typeof h=="object"&&!n(h)&&!r(h)&&!i(h)){const g=t(l);f=g.signal,d=g.end}s(l,(g,y)=>{g?c(g):u(y)},{signal:f,end:d})})}return xc={finished:o,pipeline:a},xc}var pm;function f_(){if(pm)return lc.exports;pm=1;const{Buffer:t}=We,{ObjectDefineProperty:e,ObjectKeys:r,ReflectApply:n}=Ve,{promisify:{custom:i}}=Kr,{streamReturningOperators:s,promiseReturningOperators:o}=ah,{codes:{ERR_ILLEGAL_CONSTRUCTOR:a}}=bt,l=s_,{pipeline:u}=wh,{destroyer:c}=fs,f=_n,d=c_(),h=Gr,g=lc.exports=ph.Stream;g.isDisturbed=h.isDisturbed,g.isErrored=h.isErrored,g.isReadable=h.isReadable,g.Readable=uu();for(const b of r(s)){let _=function(...E){if(new.target)throw a();return g.Readable.from(n(v,this,E))};const v=s[b];e(_,"name",{__proto__:null,value:v.name}),e(_,"length",{__proto__:null,value:v.length}),e(g.Readable.prototype,b,{__proto__:null,value:_,enumerable:!1,configurable:!0,writable:!0})}for(const b of r(o)){let _=function(...E){if(new.target)throw a();return n(v,this,E)};const v=o[b];e(_,"name",{__proto__:null,value:v.name}),e(_,"length",{__proto__:null,value:v.length}),e(g.Readable.prototype,b,{__proto__:null,value:_,enumerable:!1,configurable:!0,writable:!0})}g.Writable=Zb(),g.Duplex=kr(),g.Transform=t_,g.PassThrough=n_,g.pipeline=u;const{addAbortSignal:y}=lu;return g.addAbortSignal=y,g.finished=f,g.destroy=c,g.compose=l,e(g,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return d}}),e(u,i,{__proto__:null,enumerable:!0,get(){return d.pipeline}}),e(f,i,{__proto__:null,enumerable:!0,get(){return d.finished}}),g.Stream=g,g._isUint8Array=function(v){return v instanceof Uint8Array},g._uint8ArrayToBuffer=function(v){return t.from(v.buffer,v.byteOffset,v.byteLength)},lc.exports}(function(t){const e=f_(),r=c_(),n=e.Readable.destroy;t.exports=e.Readable,t.exports._uint8ArrayToBuffer=e._uint8ArrayToBuffer,t.exports._isUint8Array=e._isUint8Array,t.exports.isDisturbed=e.isDisturbed,t.exports.isErrored=e.isErrored,t.exports.isReadable=e.isReadable,t.exports.Readable=e.Readable,t.exports.Writable=e.Writable,t.exports.Duplex=e.Duplex,t.exports.Transform=e.Transform,t.exports.PassThrough=e.PassThrough,t.exports.addAbortSignal=e.addAbortSignal,t.exports.finished=e.finished,t.exports.destroy=e.destroy,t.exports.destroy=n,t.exports.pipeline=e.pipeline,t.exports.compose=e.compose,Object.defineProperty(e,"promises",{configurable:!0,enumerable:!0,get(){return r}}),t.exports.Stream=e.Stream,t.exports.default=t.exports})(Eb);var Co=Eb.exports;function VO(t,e,r){var n=this;this._callback=t,this._args=r,this._interval=setInterval(t,e,this._args),this.reschedule=function(i){i||(i=n._interval),n._interval&&clearInterval(n._interval),n._interval=setInterval(n._callback,i,n._args)},this.clear=function(){n._interval&&(clearInterval(n._interval),n._interval=void 0)},this.destroy=function(){n._interval&&clearInterval(n._interval),n._callback=void 0,n._interval=void 0,n._args=void 0}}function qO(){if(typeof arguments[0]!="function")throw new Error("callback needed");if(typeof arguments[1]!="number")throw new Error("interval needed");var t;if(arguments.length>0){t=new Array(arguments.length-2);for(var e=0;e{r.push(s)}),e._read=()=>{!n&&i{if(!n)return n=!0,setTimeout(()=>{e.emit("close")},0),e},e}del(e,r){const n=this._inflights.get(e.messageId);return n?(this._inflights.delete(e.messageId),r(null,n)):r&&r(new Error("missing packet")),this}get(e,r){const n=this._inflights.get(e.messageId);return n?r(null,n):r&&r(new Error("missing packet")),this}close(e){this.options.clean&&(this._inflights=null),e&&e()}}fu.default=rP;var _h={},vh={};Object.defineProperty(vh,"__esModule",{value:!0});const gm=[0,16,128,131,135,144,145,151,153],nP=(t,e,r)=>{t.log("handlePublish: packet %o",e),r=typeof r<"u"?r:t.noop;let n=e.topic.toString();const i=e.payload,{qos:s}=e,{messageId:o}=e,{options:a}=t;if(t.options.protocolVersion===5){let l;if(e.properties&&(l=e.properties.topicAlias),typeof l<"u")if(n.length===0)if(l>0&&l<=65535){const u=t.topicAliasRecv.getTopicByAlias(l);if(u)n=u,t.log("handlePublish :: topic complemented by alias. topic: %s - alias: %d",n,l);else{t.log("handlePublish :: unregistered topic alias. alias: %d",l),t.emit("error",new Error("Received unregistered Topic Alias"));return}}else{t.log("handlePublish :: topic alias out of range. alias: %d",l),t.emit("error",new Error("Received Topic Alias is out of range"));return}else if(t.topicAliasRecv.put(n,l))t.log("handlePublish :: registered topic: %s - alias: %d",n,l);else{t.log("handlePublish :: topic alias out of range. alias: %d",l),t.emit("error",new Error("Received Topic Alias is out of range"));return}}switch(t.log("handlePublish: qos %d",s),s){case 2:{a.customHandleAcks(n,i,e,(l,u)=>{if(typeof l=="number"&&(u=l,l=null),l)return t.emit("error",l);if(gm.indexOf(u)===-1)return t.emit("error",new Error("Wrong reason code for pubrec"));u?t._sendPacket({cmd:"pubrec",messageId:o,reasonCode:u},r):t.incomingStore.put(e,()=>{t._sendPacket({cmd:"pubrec",messageId:o},r)})});break}case 1:{a.customHandleAcks(n,i,e,(l,u)=>{if(typeof l=="number"&&(u=l,l=null),l)return t.emit("error",l);if(gm.indexOf(u)===-1)return t.emit("error",new Error("Wrong reason code for puback"));u||t.emit("message",n,i,e),t.handleMessage(e,c=>{if(c)return r&&r(c);t._sendPacket({cmd:"puback",messageId:o,reasonCode:u},r)})});break}case 0:t.emit("message",n,i,e),t.handleMessage(e,r);break;default:t.log("handlePublish: unknown QoS. Doing nothing.");break}};vh.default=nP;var Eh={},Br={};Object.defineProperty(Br,"__esModule",{value:!0});Br.applyMixin=Br.ErrorWithReasonCode=void 0;class Sh extends Error{constructor(e,r){super(e),this.code=r,Object.setPrototypeOf(this,Sh.prototype),Object.getPrototypeOf(this).name="ErrorWithReasonCode"}}Br.ErrorWithReasonCode=Sh;function iP(t,e,r=!1){var n;const i=[e];for(;;){const s=i[0],o=Object.getPrototypeOf(s);if(o!=null&&o.prototype)i.unshift(o);else break}for(const s of i)for(const o of Object.getOwnPropertyNames(s.prototype))(r||o!=="constructor")&&Object.defineProperty(t.prototype,o,(n=Object.getOwnPropertyDescriptor(s.prototype,o))!==null&&n!==void 0?n:Object.create(null))}Br.applyMixin=iP;var Io={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ReasonCodes=void 0,t.ReasonCodes={0:"",1:"Unacceptable protocol version",2:"Identifier rejected",3:"Server unavailable",4:"Bad username or password",5:"Not authorized",16:"No matching subscribers",17:"No subscription existed",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",132:"Unsupported Protocol Version",133:"Client Identifier not valid",134:"Bad User Name or Password",135:"Not authorized",136:"Server unavailable",137:"Server busy",138:"Banned",139:"Server shutting down",140:"Bad authentication method",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",145:"Packet identifier in use",146:"Packet Identifier not found",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"};const e=(r,n)=>{const{messageId:i}=n,s=n.cmd;let o=null;const a=r.outgoing[i]?r.outgoing[i].cb:null;let l;if(!a){r.log("_handleAck :: Server sent an ack in error. Ignoring.");return}switch(r.log("_handleAck :: packet type",s),s){case"pubcomp":case"puback":{const u=n.reasonCode;u&&u>0&&u!==16?(l=new Error(`Publish error: ${t.ReasonCodes[u]}`),l.code=u,r._removeOutgoingAndStoreMessage(i,()=>{a(l,n)})):r._removeOutgoingAndStoreMessage(i,a);break}case"pubrec":{o={cmd:"pubrel",qos:2,messageId:i};const u=n.reasonCode;u&&u>0&&u!==16?(l=new Error(`Publish error: ${t.ReasonCodes[u]}`),l.code=u,r._removeOutgoingAndStoreMessage(i,()=>{a(l,n)})):r._sendPacket(o);break}case"suback":{delete r.outgoing[i],r.messageIdProvider.deallocate(i);const u=n.granted;for(let c=0;c{delete r._resubscribeTopics[d]})}delete r.messageIdToTopic[i],r._invokeStoreProcessingQueue(),a(null,n);break}case"unsuback":{delete r.outgoing[i],r.messageIdProvider.deallocate(i),r._invokeStoreProcessingQueue(),a(null);break}default:r.emit("error",new Error("unrecognized packet type"))}r.disconnecting&&Object.keys(r.outgoing).length===0&&r.emit("outgoingEmpty")};t.default=e})(Io);Object.defineProperty(Eh,"__esModule",{value:!0});const mm=Br,sP=Io,oP=(t,e)=>{const{options:r}=t,n=r.protocolVersion,i=n===5?e.reasonCode:e.returnCode;if(n!==5){const s=new mm.ErrorWithReasonCode(`Protocol error: Auth packets are only supported in MQTT 5. Your version:${n}`,i);t.emit("error",s);return}t.handleAuth(e,(s,o)=>{if(s){t.emit("error",s);return}if(i===24)t.reconnecting=!1,t._sendPacket(o);else{const a=new mm.ErrorWithReasonCode(`Connection refused: ${sP.ReasonCodes[i]}`,i);t.emit("error",a)}})};Eh.default=oP;var xh={},Th={};const vs=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,aP=typeof AbortController=="function",ll=aP?AbortController:class{constructor(){this.signal=new h_}abort(e=new Error("This operation was aborted")){this.signal.reason=this.signal.reason||e,this.signal.aborted=!0,this.signal.dispatchEvent({type:"abort",target:this.signal})}},lP=typeof AbortSignal=="function",uP=typeof ll.AbortSignal=="function",h_=lP?AbortSignal:uP?ll.AbortController:class{constructor(){this.reason=void 0,this.aborted=!1,this._listeners=[]}dispatchEvent(e){e.type==="abort"&&(this.aborted=!0,this.onabort(e),this._listeners.forEach(r=>r(e),this))}onabort(){}addEventListener(e,r){e==="abort"&&this._listeners.push(r)}removeEventListener(e,r){e==="abort"&&(this._listeners=this._listeners.filter(n=>n!==r))}},Ah=new Set,Tc=(t,e)=>{const r=`LRU_CACHE_OPTION_${t}`;du(r)&&Mh(r,`${t} option`,`options.${e}`,Jn)},Ac=(t,e)=>{const r=`LRU_CACHE_METHOD_${t}`;if(du(r)){const{prototype:n}=Jn,{get:i}=Object.getOwnPropertyDescriptor(n,t);Mh(r,`${t} method`,`cache.${e}()`,i)}},cP=(t,e)=>{const r=`LRU_CACHE_PROPERTY_${t}`;if(du(r)){const{prototype:n}=Jn,{get:i}=Object.getOwnPropertyDescriptor(n,t);Mh(r,`${t} property`,`cache.${e}`,i)}},p_=(...t)=>{typeof _e=="object"&&_e&&typeof _e.emitWarning=="function"?_e.emitWarning(...t):console.error(...t)},du=t=>!Ah.has(t),Mh=(t,e,r,n)=>{Ah.add(t);const i=`The ${e} is deprecated. Please use ${r} instead.`;p_(i,"DeprecationWarning",t,n)},tn=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),g_=t=>tn(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Ia:null:null;class Ia extends Array{constructor(e){super(e),this.fill(0)}}let fP=class{constructor(e){if(e===0)return[];const r=g_(e);this.heap=new r(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}};class Jn{constructor(e={}){const{max:r=0,ttl:n,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:l,dispose:u,disposeAfter:c,noDisposeOnSet:f,noUpdateTTL:d,maxSize:h=0,maxEntrySize:g=0,sizeCalculation:y,fetchMethod:b,fetchContext:v,noDeleteOnFetchRejection:_,noDeleteOnStaleGet:E,allowStaleOnFetchRejection:T,allowStaleOnFetchAbort:C,ignoreFetchAbort:O}=e,{length:k,maxAge:j,stale:R}=e instanceof Jn?{}:e;if(r!==0&&!tn(r))throw new TypeError("max option must be a nonnegative integer");const H=r?g_(r):Array;if(!H)throw new Error("invalid max value: "+r);if(this.max=r,this.maxSize=h,this.maxEntrySize=g||this.maxSize,this.sizeCalculation=y||k,this.sizeCalculation){if(!this.maxSize&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(this.fetchMethod=b||null,this.fetchMethod&&typeof this.fetchMethod!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.fetchContext=v,!this.fetchMethod&&v!==void 0)throw new TypeError("cannot set fetchContext without fetchMethod");if(this.keyMap=new Map,this.keyList=new Array(r).fill(null),this.valList=new Array(r).fill(null),this.next=new H(r),this.prev=new H(r),this.head=0,this.tail=0,this.free=new fP(r),this.initialFill=1,this.size=0,typeof u=="function"&&(this.dispose=u),typeof c=="function"?(this.disposeAfter=c,this.disposed=[]):(this.disposeAfter=null,this.disposed=null),this.noDisposeOnSet=!!f,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!_,this.allowStaleOnFetchRejection=!!T,this.allowStaleOnFetchAbort=!!C,this.ignoreFetchAbort=!!O,this.maxEntrySize!==0){if(this.maxSize!==0&&!tn(this.maxSize))throw new TypeError("maxSize must be a positive integer if specified");if(!tn(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.initializeSizeTracking()}if(this.allowStale=!!l||!!R,this.noDeleteOnStaleGet=!!E,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=tn(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=n||j||0,this.ttl){if(!tn(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.initializeTTLTracking()}if(this.max===0&&this.ttl===0&&this.maxSize===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.max&&!this.maxSize){const B="LRU_CACHE_UNBOUNDED";du(B)&&(Ah.add(B),p_("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",B,Jn))}R&&Tc("stale","allowStale"),j&&Tc("maxAge","ttl"),k&&Tc("length","sizeCalculation")}getRemainingTTL(e){return this.has(e,{updateAgeOnHas:!1})?1/0:0}initializeTTLTracking(){this.ttls=new Ia(this.max),this.starts=new Ia(this.max),this.setItemTTL=(n,i,s=vs.now())=>{if(this.starts[n]=i!==0?s:0,this.ttls[n]=i,i!==0&&this.ttlAutopurge){const o=setTimeout(()=>{this.isStale(n)&&this.delete(this.keyList[n])},i+1);o.unref&&o.unref()}},this.updateItemAge=n=>{this.starts[n]=this.ttls[n]!==0?vs.now():0},this.statusTTL=(n,i)=>{n&&(n.ttl=this.ttls[i],n.start=this.starts[i],n.now=e||r(),n.remainingTTL=n.now+n.ttl-n.start)};let e=0;const r=()=>{const n=vs.now();if(this.ttlResolution>0){e=n;const i=setTimeout(()=>e=0,this.ttlResolution);i.unref&&i.unref()}return n};this.getRemainingTTL=n=>{const i=this.keyMap.get(n);return i===void 0?0:this.ttls[i]===0||this.starts[i]===0?1/0:this.starts[i]+this.ttls[i]-(e||r())},this.isStale=n=>this.ttls[n]!==0&&this.starts[n]!==0&&(e||r())-this.starts[n]>this.ttls[n]}updateItemAge(e){}statusTTL(e,r){}setItemTTL(e,r,n){}isStale(e){return!1}initializeSizeTracking(){this.calculatedSize=0,this.sizes=new Ia(this.max),this.removeItemSize=e=>{this.calculatedSize-=this.sizes[e],this.sizes[e]=0},this.requireSize=(e,r,n,i)=>{if(this.isBackgroundFetch(r))return 0;if(!tn(n))if(i){if(typeof i!="function")throw new TypeError("sizeCalculation must be a function");if(n=i(r,e),!tn(n))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return n},this.addItemSize=(e,r,n)=>{if(this.sizes[e]=r,this.maxSize){const i=this.maxSize-this.sizes[e];for(;this.calculatedSize>i;)this.evict(!0)}this.calculatedSize+=this.sizes[e],n&&(n.entrySize=r,n.totalCalculatedSize=this.calculatedSize)}}removeItemSize(e){}addItemSize(e,r){}requireSize(e,r,n,i){if(n||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}*indexes({allowStale:e=this.allowStale}={}){if(this.size)for(let r=this.tail;!(!this.isValidIndex(r)||((e||!this.isStale(r))&&(yield r),r===this.head));)r=this.prev[r]}*rindexes({allowStale:e=this.allowStale}={}){if(this.size)for(let r=this.head;!(!this.isValidIndex(r)||((e||!this.isStale(r))&&(yield r),r===this.tail));)r=this.next[r]}isValidIndex(e){return e!==void 0&&this.keyMap.get(this.keyList[e])===e}*entries(){for(const e of this.indexes())this.valList[e]!==void 0&&this.keyList[e]!==void 0&&!this.isBackgroundFetch(this.valList[e])&&(yield[this.keyList[e],this.valList[e]])}*rentries(){for(const e of this.rindexes())this.valList[e]!==void 0&&this.keyList[e]!==void 0&&!this.isBackgroundFetch(this.valList[e])&&(yield[this.keyList[e],this.valList[e]])}*keys(){for(const e of this.indexes())this.keyList[e]!==void 0&&!this.isBackgroundFetch(this.valList[e])&&(yield this.keyList[e])}*rkeys(){for(const e of this.rindexes())this.keyList[e]!==void 0&&!this.isBackgroundFetch(this.valList[e])&&(yield this.keyList[e])}*values(){for(const e of this.indexes())this.valList[e]!==void 0&&!this.isBackgroundFetch(this.valList[e])&&(yield this.valList[e])}*rvalues(){for(const e of this.rindexes())this.valList[e]!==void 0&&!this.isBackgroundFetch(this.valList[e])&&(yield this.valList[e])}[Symbol.iterator](){return this.entries()}find(e,r){for(const n of this.indexes()){const i=this.valList[n],s=this.isBackgroundFetch(i)?i.__staleWhileFetching:i;if(s!==void 0&&e(s,this.keyList[n],this))return this.get(this.keyList[n],r)}}forEach(e,r=this){for(const n of this.indexes()){const i=this.valList[n],s=this.isBackgroundFetch(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,this.keyList[n],this)}}rforEach(e,r=this){for(const n of this.rindexes()){const i=this.valList[n],s=this.isBackgroundFetch(i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,this.keyList[n],this)}}get prune(){return Ac("prune","purgeStale"),this.purgeStale}purgeStale(){let e=!1;for(const r of this.rindexes({allowStale:!0}))this.isStale(r)&&(this.delete(this.keyList[r]),e=!0);return e}dump(){const e=[];for(const r of this.indexes({allowStale:!0})){const n=this.keyList[r],i=this.valList[r],s=this.isBackgroundFetch(i)?i.__staleWhileFetching:i;if(s===void 0)continue;const o={value:s};if(this.ttls){o.ttl=this.ttls[r];const a=vs.now()-this.starts[r];o.start=Math.floor(Date.now()-a)}this.sizes&&(o.size=this.sizes[r]),e.unshift([n,o])}return e}load(e){this.clear();for(const[r,n]of e){if(n.start){const i=Date.now()-n.start;n.start=vs.now()-i}this.set(r,n.value,n)}}dispose(e,r,n){}set(e,r,{ttl:n=this.ttl,start:i,noDisposeOnSet:s=this.noDisposeOnSet,size:o=0,sizeCalculation:a=this.sizeCalculation,noUpdateTTL:l=this.noUpdateTTL,status:u}={}){if(o=this.requireSize(e,r,o,a),this.maxEntrySize&&o>this.maxEntrySize)return u&&(u.set="miss",u.maxEntrySizeExceeded=!0),this.delete(e),this;let c=this.size===0?void 0:this.keyMap.get(e);if(c===void 0)c=this.newIndex(),this.keyList[c]=e,this.valList[c]=r,this.keyMap.set(e,c),this.next[this.tail]=c,this.prev[c]=this.tail,this.tail=c,this.size++,this.addItemSize(c,o,u),u&&(u.set="add"),l=!1;else{this.moveToTail(c);const f=this.valList[c];if(r!==f){if(this.isBackgroundFetch(f)?f.__abortController.abort(new Error("replaced")):s||(this.dispose(f,e,"set"),this.disposeAfter&&this.disposed.push([f,e,"set"])),this.removeItemSize(c),this.valList[c]=r,this.addItemSize(c,o,u),u){u.set="replace";const d=f&&this.isBackgroundFetch(f)?f.__staleWhileFetching:f;d!==void 0&&(u.oldValue=d)}}else u&&(u.set="update")}if(n!==0&&this.ttl===0&&!this.ttls&&this.initializeTTLTracking(),l||this.setItemTTL(c,n,i),this.statusTTL(u,c),this.disposeAfter)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return this}newIndex(){return this.size===0?this.tail:this.size===this.max&&this.max!==0?this.evict(!1):this.free.length!==0?this.free.pop():this.initialFill++}pop(){if(this.size){const e=this.valList[this.head];return this.evict(!0),e}}evict(e){const r=this.head,n=this.keyList[r],i=this.valList[r];return this.isBackgroundFetch(i)?i.__abortController.abort(new Error("evicted")):(this.dispose(i,n,"evict"),this.disposeAfter&&this.disposed.push([i,n,"evict"])),this.removeItemSize(r),e&&(this.keyList[r]=null,this.valList[r]=null,this.free.push(r)),this.head=this.next[r],this.keyMap.delete(n),this.size--,r}has(e,{updateAgeOnHas:r=this.updateAgeOnHas,status:n}={}){const i=this.keyMap.get(e);if(i!==void 0)if(this.isStale(i))n&&(n.has="stale",this.statusTTL(n,i));else return r&&this.updateItemAge(i),n&&(n.has="hit"),this.statusTTL(n,i),!0;else n&&(n.has="miss");return!1}peek(e,{allowStale:r=this.allowStale}={}){const n=this.keyMap.get(e);if(n!==void 0&&(r||!this.isStale(n))){const i=this.valList[n];return this.isBackgroundFetch(i)?i.__staleWhileFetching:i}}backgroundFetch(e,r,n,i){const s=r===void 0?void 0:this.valList[r];if(this.isBackgroundFetch(s))return s;const o=new ll;n.signal&&n.signal.addEventListener("abort",()=>o.abort(n.signal.reason));const a={signal:o.signal,options:n,context:i},l=(h,g=!1)=>{const{aborted:y}=o.signal,b=n.ignoreFetchAbort&&h!==void 0;return n.status&&(y&&!g?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,b&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),y&&!b&&!g?c(o.signal.reason):(this.valList[r]===d&&(h===void 0?d.__staleWhileFetching?this.valList[r]=d.__staleWhileFetching:this.delete(e):(n.status&&(n.status.fetchUpdated=!0),this.set(e,h,a.options))),h)},u=h=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=h),c(h)),c=h=>{const{aborted:g}=o.signal,y=g&&n.allowStaleOnFetchAbort,b=y||n.allowStaleOnFetchRejection,v=b||n.noDeleteOnFetchRejection;if(this.valList[r]===d&&(!v||d.__staleWhileFetching===void 0?this.delete(e):y||(this.valList[r]=d.__staleWhileFetching)),b)return n.status&&d.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),d.__staleWhileFetching;if(d.__returned===d)throw h},f=(h,g)=>{this.fetchMethod(e,s,a).then(y=>h(y),g),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(h(),n.allowStaleOnFetchAbort&&(h=y=>l(y,!0)))})};n.status&&(n.status.fetchDispatched=!0);const d=new Promise(f).then(l,u);return d.__abortController=o,d.__staleWhileFetching=s,d.__returned=null,r===void 0?(this.set(e,d,{...a.options,status:void 0}),r=this.keyMap.get(e)):this.valList[r]=d,d}isBackgroundFetch(e){return e&&typeof e=="object"&&typeof e.then=="function"&&Object.prototype.hasOwnProperty.call(e,"__staleWhileFetching")&&Object.prototype.hasOwnProperty.call(e,"__returned")&&(e.__returned===e||e.__returned===null)}async fetch(e,{allowStale:r=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,ttl:s=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:a=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:d=this.ignoreFetchAbort,allowStaleOnFetchAbort:h=this.allowStaleOnFetchAbort,fetchContext:g=this.fetchContext,forceRefresh:y=!1,status:b,signal:v}={}){if(!this.fetchMethod)return b&&(b.fetch="get"),this.get(e,{allowStale:r,updateAgeOnGet:n,noDeleteOnStaleGet:i,status:b});const _={allowStale:r,updateAgeOnGet:n,noDeleteOnStaleGet:i,ttl:s,noDisposeOnSet:o,size:a,sizeCalculation:l,noUpdateTTL:u,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:h,ignoreFetchAbort:d,status:b,signal:v};let E=this.keyMap.get(e);if(E===void 0){b&&(b.fetch="miss");const T=this.backgroundFetch(e,E,_,g);return T.__returned=T}else{const T=this.valList[E];if(this.isBackgroundFetch(T)){const R=r&&T.__staleWhileFetching!==void 0;return b&&(b.fetch="inflight",R&&(b.returnedStale=!0)),R?T.__staleWhileFetching:T.__returned=T}const C=this.isStale(E);if(!y&&!C)return b&&(b.fetch="hit"),this.moveToTail(E),n&&this.updateItemAge(E),this.statusTTL(b,E),T;const O=this.backgroundFetch(e,E,_,g),k=O.__staleWhileFetching!==void 0,j=k&&r;return b&&(b.fetch=k&&C?"stale":"refresh",j&&C&&(b.returnedStale=!0)),j?O.__staleWhileFetching:O.__returned=O}}get(e,{allowStale:r=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,status:s}={}){const o=this.keyMap.get(e);if(o!==void 0){const a=this.valList[o],l=this.isBackgroundFetch(a);return this.statusTTL(s,o),this.isStale(o)?(s&&(s.get="stale"),l?(s&&(s.returnedStale=r&&a.__staleWhileFetching!==void 0),r?a.__staleWhileFetching:void 0):(i||this.delete(e),s&&(s.returnedStale=r),r?a:void 0)):(s&&(s.get="hit"),l?a.__staleWhileFetching:(this.moveToTail(o),n&&this.updateItemAge(o),a))}else s&&(s.get="miss")}connect(e,r){this.prev[r]=e,this.next[e]=r}moveToTail(e){e!==this.tail&&(e===this.head?this.head=this.next[e]:this.connect(this.prev[e],this.next[e]),this.connect(this.tail,e),this.tail=e)}get del(){return Ac("del","delete"),this.delete}delete(e){let r=!1;if(this.size!==0){const n=this.keyMap.get(e);if(n!==void 0)if(r=!0,this.size===1)this.clear();else{this.removeItemSize(n);const i=this.valList[n];this.isBackgroundFetch(i)?i.__abortController.abort(new Error("deleted")):(this.dispose(i,e,"delete"),this.disposeAfter&&this.disposed.push([i,e,"delete"])),this.keyMap.delete(e),this.keyList[n]=null,this.valList[n]=null,n===this.tail?this.tail=this.prev[n]:n===this.head?this.head=this.next[n]:(this.next[this.prev[n]]=this.next[n],this.prev[this.next[n]]=this.prev[n]),this.size--,this.free.push(n)}}if(this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return r}clear(){for(const e of this.rindexes({allowStale:!0})){const r=this.valList[e];if(this.isBackgroundFetch(r))r.__abortController.abort(new Error("deleted"));else{const n=this.keyList[e];this.dispose(r,n,"delete"),this.disposeAfter&&this.disposed.push([r,n,"delete"])}}if(this.keyMap.clear(),this.valList.fill(null),this.keyList.fill(null),this.ttls&&(this.ttls.fill(0),this.starts.fill(0)),this.sizes&&this.sizes.fill(0),this.head=0,this.tail=0,this.initialFill=1,this.free.length=0,this.calculatedSize=0,this.size=0,this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift())}get reset(){return Ac("reset","clear"),this.clear}get length(){return cP("length","size"),this.size}static get AbortController(){return ll}static get AbortSignal(){return h_}}var dP=Jn,Ch={},hP=globalThis&&globalThis.t||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),hu=function(){function t(e){e===void 0&&(e=0),this.iteratorType=e}return t.prototype.equals=function(e){return this.o===e.o},t}(),pu=function(){function t(){this.M=0}return Object.defineProperty(t.prototype,"length",{get:function(){return this.M},enumerable:!1,configurable:!0}),t.prototype.size=function(){return this.M},t.prototype.empty=function(){return this.M===0},t}(),Ih=function(t){hP(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(pu),pP=globalThis&&globalThis.t||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),gP=function(t){pP(e,t);function e(r){r===void 0&&(r=[]);var n=t.call(this)||this;n.nt=[];var i=n;return r.forEach(function(s){i.push(s)}),n}return e.prototype.clear=function(){this.M=0,this.nt=[]},e.prototype.push=function(r){return this.nt.push(r),this.M+=1,this.M},e.prototype.pop=function(){if(this.M!==0)return this.M-=1,this.nt.pop()},e.prototype.top=function(){return this.nt[this.M-1]},e}(pu);const mP=gP;var yP=globalThis&&globalThis.t||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),wP=function(t){yP(e,t);function e(r){r===void 0&&(r=[]);var n=t.call(this)||this;n.A=0,n.tt=[];var i=n;return r.forEach(function(s){i.push(s)}),n}return e.prototype.clear=function(){this.tt=[],this.M=this.A=0},e.prototype.push=function(r){var n=this.tt.length;if(this.A/n>.5&&this.A+this.M>=n&&n>4096){for(var i=this.M,s=0;s0)&&!(i=n.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return s},wm=globalThis&&globalThis.D||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;nc?-1:u>1,l=s.M-1>>1;l>=0;--l)s.ri(l,a);return s}return e.prototype.ti=function(r){for(var n=this.ii[r];r>0;){var i=r-1>>1,s=this.ii[i];if(this.$(s,n)<=0)break;this.ii[r]=s,r=i}this.ii[r]=n},e.prototype.ri=function(r,n){for(var i=this.ii[r];r0&&(s=o,a=this.ii[o]),this.$(a,i)>=0)break;this.ii[r]=a,r=s}this.ii[r]=i},e.prototype.clear=function(){this.M=0,this.ii.length=0},e.prototype.push=function(r){this.ii.push(r),this.ti(this.M),this.M+=1},e.prototype.pop=function(){if(this.M!==0){var r=this.ii[0],n=this.ii.pop();return this.M-=1,this.M&&(this.ii[0]=n,this.ri(0,this.M>>1)),r}},e.prototype.top=function(){return this.ii[0]},e.prototype.find=function(r){return this.ii.indexOf(r)>=0},e.prototype.remove=function(r){var n=this.ii.indexOf(r);return n<0?!1:(n===0?this.pop():n===this.M-1?(this.ii.pop(),this.M-=1):(this.ii.splice(n,1,this.ii.pop()),this.M-=1,this.ti(n),this.ri(n,this.M>>1)),!0)},e.prototype.updateItem=function(r){var n=this.ii.indexOf(r);return n<0?!1:(this.ti(n),this.ri(n,this.M>>1),!0)},e.prototype.toArray=function(){return wm([],ym(this.ii),!1)},e}(pu);const EP=vP;var SP=globalThis&&globalThis.t||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),xP=function(t){SP(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Ih);const Oh=xP;function De(){throw new RangeError("Iterator access denied!")}var TP=globalThis&&globalThis.t||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),m_=function(t){TP(e,t);function e(r,n){var i=t.call(this,n)||this;return i.o=r,i.iteratorType===0?(i.pre=function(){return this.o===0&&De(),this.o-=1,this},i.next=function(){return this.o===this.container.size()&&De(),this.o+=1,this}):(i.pre=function(){return this.o===this.container.size()-1&&De(),this.o+=1,this},i.next=function(){return this.o===-1&&De(),this.o-=1,this}),i}return Object.defineProperty(e.prototype,"pointer",{get:function(){return this.container.getElementByPos(this.o)},set:function(r){this.container.setElementByPos(this.o,r)},enumerable:!1,configurable:!0}),e}(hu),y_=globalThis&&globalThis.t||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),AP=globalThis&&globalThis.i||function(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(u){return function(c){return l([u,c])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]0)&&!(i=n.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return s},_m=globalThis&&globalThis.D||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Es=function(t){y_(e,t);function e(r,n,i){var s=t.call(this,r,i)||this;return s.container=n,s}return e.prototype.copy=function(){return new e(this.o,this.container,this.iteratorType)},e}(m_),CP=function(t){y_(e,t);function e(r,n){r===void 0&&(r=[]),n===void 0&&(n=!0);var i=t.call(this)||this;if(Array.isArray(r))i.J=n?_m([],bm(r),!1):r,i.M=r.length;else{i.J=[];var s=i;r.forEach(function(o){s.pushBack(o)})}return i}return e.prototype.clear=function(){this.M=0,this.J.length=0},e.prototype.begin=function(){return new Es(0,this)},e.prototype.end=function(){return new Es(this.M,this)},e.prototype.rBegin=function(){return new Es(this.M-1,this,1)},e.prototype.rEnd=function(){return new Es(-1,this,1)},e.prototype.front=function(){return this.J[0]},e.prototype.back=function(){return this.J[this.M-1]},e.prototype.getElementByPos=function(r){if(r<0||r>this.M-1)throw new RangeError;return this.J[r]},e.prototype.eraseElementByPos=function(r){if(r<0||r>this.M-1)throw new RangeError;return this.J.splice(r,1),this.M-=1,this.M},e.prototype.eraseElementByValue=function(r){for(var n=0,i=0;ithis.M-1)throw new RangeError;this.J[r]=n},e.prototype.insert=function(r,n,i){var s;if(i===void 0&&(i=1),r<0||r>this.M)throw new RangeError;return(s=this.J).splice.apply(s,_m([r,0],bm(new Array(i).fill(n)),!1)),this.M+=i,this.M},e.prototype.find=function(r){for(var n=0;n0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]this.M-1)throw new RangeError;for(var n=this.H;r--;)n=n.m;return n.p},e.prototype.eraseElementByPos=function(r){if(r<0||r>this.M-1)throw new RangeError;for(var n=this.H;r--;)n=n.m;return this.G(n),this.M},e.prototype.eraseElementByValue=function(r){for(var n=this.H;n!==this.h;)n.p===r&&this.G(n),n=n.m;return this.M},e.prototype.eraseElementByIterator=function(r){var n=r.o;return n===this.h&&De(),r=r.next(),this.G(n),r},e.prototype.pushBack=function(r){return this.F(r,this.l),this.M},e.prototype.popBack=function(){if(this.M!==0){var r=this.l.p;return this.G(this.l),r}},e.prototype.pushFront=function(r){return this.F(r,this.h),this.M},e.prototype.popFront=function(){if(this.M!==0){var r=this.H.p;return this.G(this.H),r}},e.prototype.setElementByPos=function(r,n){if(r<0||r>this.M-1)throw new RangeError;for(var i=this.H;r--;)i=i.m;i.p=n},e.prototype.insert=function(r,n,i){if(i===void 0&&(i=1),r<0||r>this.M)throw new RangeError;if(i<=0)return this.M;if(r===0)for(;i--;)this.pushFront(n);else if(r===this.M)for(;i--;)this.pushBack(n);else{for(var s=this.H,o=1;o0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]0)&&!(i=n.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return s},$P=globalThis&&globalThis.D||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n>1)-(a>>1),i.S=i.k=i.B-s%i.B>>1;var l=i;return r.forEach(function(u){l.pushBack(u)}),i}return e.prototype.O=function(){for(var r=[],n=Math.max(this.C>>1,1),i=0;i>1},e.prototype.begin=function(){return new xs(0,this)},e.prototype.end=function(){return new xs(this.M,this)},e.prototype.rBegin=function(){return new xs(this.M-1,this,1)},e.prototype.rEnd=function(){return new xs(-1,this,1)},e.prototype.front=function(){if(this.M!==0)return this.j[this.A][this.S]},e.prototype.back=function(){if(this.M!==0)return this.j[this.R][this.k]},e.prototype.pushBack=function(r){return this.M&&(this.k0?this.k-=1:this.R>0?(this.R-=1,this.k=this.B-1):(this.R=this.C-1,this.k=this.B-1)),this.M-=1,r}},e.prototype.pushFront=function(r){return this.M&&(this.S>0?this.S-=1:this.A>0?(this.A-=1,this.S=this.B-1):(this.A=this.C-1,this.S=this.B-1),this.A===this.R&&this.S===this.k&&this.O()),this.M+=1,this.j[this.A][this.S]=r,this.M},e.prototype.popFront=function(){if(this.M!==0){var r=this.j[this.A][this.S];return this.M!==1&&(this.Sthis.M-1)throw new RangeError;var n=this.T(r),i=n.curNodeBucketIndex,s=n.curNodePointerIndex;return this.j[i][s]},e.prototype.setElementByPos=function(r,n){if(r<0||r>this.M-1)throw new RangeError;var i=this.T(r),s=i.curNodeBucketIndex,o=i.curNodePointerIndex;this.j[s][o]=n},e.prototype.insert=function(r,n,i){if(i===void 0&&(i=1),r<0||r>this.M)throw new RangeError;if(r===0)for(;i--;)this.pushFront(n);else if(r===this.M)for(;i--;)this.pushBack(n);else{for(var s=[],o=r;othis.M-1)throw new RangeError;if(r===0)this.popFront();else if(r===this.M-1)this.popBack();else{for(var n=[],i=r+1;ir;)this.popBack();return this.M},e.prototype.sort=function(r){for(var n=[],i=0;i0)&&!(i=n.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return s},Em=globalThis&&globalThis.V||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},zP=function(t){UP(e,t);function e(r,n){r===void 0&&(r=function(s,o){return so?1:0}),n===void 0&&(n=!1);var i=t.call(this)||this;return i.W=void 0,i.$=r,n?(i.re=FP,i.v=function(s,o,a){var l=this.se(s,o,a);if(l){for(var u=l.rr;u!==this.h;)u.tr+=1,u=u.rr;var c=this.fe(l);if(c){var f=c,d=f.parentNode,h=f.grandParent,g=f.curNode;d.ie(),h.ie(),g.ie()}}return this.M},i.G=function(s){for(var o=this.he(s);o!==this.h;)o.tr-=1,o=o.rr}):(i.re=__,i.v=function(s,o,a){var l=this.se(s,o,a);return l&&this.fe(l),this.M},i.G=i.he),i.h=new i.re,i}return e.prototype.U=function(r,n){for(var i=this.h;r;){var s=this.$(r.u,n);if(s<0)r=r.N;else if(s>0)i=r,r=r.K;else return r}return i},e.prototype.X=function(r,n){for(var i=this.h;r;){var s=this.$(r.u,n);s<=0?r=r.N:(i=r,r=r.K)}return i},e.prototype.Y=function(r,n){for(var i=this.h;r;){var s=this.$(r.u,n);if(s<0)i=r,r=r.N;else if(s>0)r=r.K;else return r}return i},e.prototype.Z=function(r,n){for(var i=this.h;r;){var s=this.$(r.u,n);s<0?(i=r,r=r.N):r=r.K}return i},e.prototype.ue=function(r){for(;;){var n=r.rr;if(n===this.h)return;if(r.ee===1){r.ee=0;return}if(r===n.K){var i=n.N;if(i.ee===1)i.ee=0,n.ee=1,n===this.W?this.W=n.ne():n.ne();else if(i.N&&i.N.ee===1){i.ee=n.ee,n.ee=0,i.N.ee=0,n===this.W?this.W=n.ne():n.ne();return}else i.K&&i.K.ee===1?(i.ee=1,i.K.ee=0,i.te()):(i.ee=1,r=n)}else{var i=n.K;if(i.ee===1)i.ee=0,n.ee=1,n===this.W?this.W=n.te():n.te();else if(i.K&&i.K.ee===1){i.ee=n.ee,n.ee=0,i.K.ee=0,n===this.W?this.W=n.te():n.te();return}else i.N&&i.N.ee===1?(i.ee=1,i.N.ee=0,i.ne()):(i.ee=1,r=n)}}},e.prototype.he=function(r){var n,i;if(this.M===1)return this.clear(),this.h;for(var s=r;s.K||s.N;){if(s.N)for(s=s.N;s.K;)s=s.K;else s=s.K;n=vm([s.u,r.u],2),r.u=n[0],s.u=n[1],i=vm([s.p,r.p],2),r.p=i[0],s.p=i[1],r=s}this.h.K===s?this.h.K=s.rr:this.h.N===s&&(this.h.N=s.rr),this.ue(s);var o=s.rr;return s===o.K?o.K=void 0:o.N=void 0,this.M-=1,this.W.ee=0,o},e.prototype.ae=function(r,n){if(r===void 0)return!1;var i=this.ae(r.K,n);return i||n(r)?!0:this.ae(r.N,n)},e.prototype.fe=function(r){for(;;){var n=r.rr;if(n.ee===0)return;var i=n.rr;if(n===i.K){var s=i.N;if(s&&s.ee===1){if(s.ee=n.ee=0,i===this.W)return;i.ee=1,r=i;continue}else if(r===n.N){if(r.ee=0,r.K&&(r.K.rr=n),r.N&&(r.N.rr=i),n.N=r.K,i.K=r.N,r.K=n,r.N=i,i===this.W)this.W=r,this.h.rr=r;else{var o=i.rr;o.K===i?o.K=r:o.N=r}return r.rr=i.rr,n.rr=r,i.rr=r,i.ee=1,{parentNode:n,grandParent:i,curNode:r}}else n.ee=0,i===this.W?this.W=i.te():i.te(),i.ee=1}else{var s=i.K;if(s&&s.ee===1){if(s.ee=n.ee=0,i===this.W)return;i.ee=1,r=i;continue}else if(r===n.K){if(r.ee=0,r.K&&(r.K.rr=i),r.N&&(r.N.rr=n),i.N=r.K,n.K=r.N,r.K=i,r.N=n,i===this.W)this.W=r,this.h.rr=r;else{var o=i.rr;o.K===i?o.K=r:o.N=r}return r.rr=i.rr,n.rr=r,i.rr=r,i.ee=1,{parentNode:n,grandParent:i,curNode:r}}else n.ee=0,i===this.W?this.W=i.ne():i.ne(),i.ee=1}return}},e.prototype.se=function(r,n,i){if(this.W===void 0){this.M+=1,this.W=new this.re(r,n),this.W.ee=0,this.W.rr=this.h,this.h.rr=this.W,this.h.K=this.W,this.h.N=this.W;return}var s,o=this.h.K,a=this.$(o.u,r);if(a===0){o.p=n;return}else if(a>0)o.K=new this.re(r,n),o.K.rr=o,s=o.K,this.h.K=s;else{var l=this.h.N,u=this.$(l.u,r);if(u===0){l.p=n;return}else if(u<0)l.N=new this.re(r,n),l.N.rr=l,s=l.N,this.h.N=s;else{if(i!==void 0){var c=i.o;if(c!==this.h){var f=this.$(c.u,r);if(f===0){c.p=n;return}else if(f>0){var d=c.L(),h=this.$(d.u,r);if(h===0){d.p=n;return}else h<0&&(s=new this.re(r,n),d.N===void 0?(d.N=s,s.rr=d):(c.K=s,s.rr=c))}}}if(s===void 0)for(s=this.W;;){var g=this.$(s.u,r);if(g>0){if(s.K===void 0){s.K=new this.re(r,n),s.K.rr=s,s=s.K;break}s=s.K}else if(g<0){if(s.N===void 0){s.N=new this.re(r,n),s.N.rr=s,s=s.N;break}s=s.N}else{s.p=n;return}}}}return this.M+=1,s},e.prototype.g=function(r,n){for(;r;){var i=this.$(r.u,n);if(i<0)r=r.N;else if(i>0)r=r.K;else return r}return r||this.h},e.prototype.clear=function(){this.M=0,this.W=void 0,this.h.rr=void 0,this.h.K=this.h.N=void 0},e.prototype.updateKeyByIterator=function(r,n){var i=r.o;if(i===this.h&&De(),this.M===1)return i.u=n,!0;if(i===this.h.K)return this.$(i.m().u,n)>0?(i.u=n,!0):!1;if(i===this.h.N)return this.$(i.L().u,n)<0?(i.u=n,!0):!1;var s=i.L().u;if(this.$(s,n)>=0)return!1;var o=i.m().u;return this.$(o,n)<=0?!1:(i.u=n,!0)},e.prototype.eraseElementByPos=function(r){if(r<0||r>this.M-1)throw new RangeError;var n=0,i=this;return this.ae(this.W,function(s){return r===n?(i.G(s),!0):(n+=1,!1)}),this.M},e.prototype.eraseElementByKey=function(r){if(this.M===0)return!1;var n=this.g(this.W,r);return n===this.h?!1:(this.G(n),!0)},e.prototype.eraseElementByIterator=function(r){var n=r.o;n===this.h&&De();var i=n.N===void 0,s=r.iteratorType===0;return s?i&&r.next():(!i||n.K===void 0)&&r.next(),this.G(n),r},e.prototype.forEach=function(r){var n,i,s=0;try{for(var o=Em(this),a=o.next();!a.done;a=o.next()){var l=a.value;r(l,s++,this)}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},e.prototype.getElementByPos=function(r){var n,i;if(r<0||r>this.M-1)throw new RangeError;var s,o=0;try{for(var a=Em(this),l=a.next();!l.done;l=a.next()){var u=l.value;if(o===r){s=u;break}o+=1}}catch(c){n={error:c}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return s},e.prototype.getHeight=function(){if(this.M===0)return 0;var r=function(n){return n?Math.max(r(n.K),r(n.N))+1:0};return r(this.W)},e}(Ih);const v_=zP;var jP=globalThis&&globalThis.t||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),HP=function(t){jP(e,t);function e(r,n,i){var s=t.call(this,i)||this;return s.o=r,s.h=n,s.iteratorType===0?(s.pre=function(){return this.o===this.h.K&&De(),this.o=this.o.L(),this},s.next=function(){return this.o===this.h&&De(),this.o=this.o.m(),this}):(s.pre=function(){return this.o===this.h.N&&De(),this.o=this.o.m(),this},s.next=function(){return this.o===this.h&&De(),this.o=this.o.L(),this}),s}return Object.defineProperty(e.prototype,"index",{get:function(){var r=this.o,n=this.h.rr;if(r===this.h)return n?n.tr-1:0;var i=0;for(r.K&&(i+=r.K.tr);r!==n;){var s=r.rr;r===s.N&&(i+=1,s.K&&(i+=s.K.tr)),r=s}return i},enumerable:!1,configurable:!0}),e}(hu);const E_=HP;var S_=globalThis&&globalThis.t||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),WP=globalThis&&globalThis.i||function(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(u){return function(c){return l([u,c])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},vr=function(t){S_(e,t);function e(r,n,i,s){var o=t.call(this,r,n,s)||this;return o.container=i,o}return Object.defineProperty(e.prototype,"pointer",{get:function(){return this.o===this.h&&De(),this.o.u},enumerable:!1,configurable:!0}),e.prototype.copy=function(){return new e(this.o,this.h,this.container,this.iteratorType)},e}(E_),VP=function(t){S_(e,t);function e(r,n,i){r===void 0&&(r=[]);var s=t.call(this,n,i)||this,o=s;return r.forEach(function(a){o.insert(a)}),s}return e.prototype.P=function(r){return WP(this,function(n){switch(n.label){case 0:return r===void 0?[2]:[5,Sm(this.P(r.K))];case 1:return n.sent(),[4,r.u];case 2:return n.sent(),[5,Sm(this.P(r.N))];case 3:return n.sent(),[2]}})},e.prototype.begin=function(){return new vr(this.h.K||this.h,this.h,this)},e.prototype.end=function(){return new vr(this.h,this.h,this)},e.prototype.rBegin=function(){return new vr(this.h.N||this.h,this.h,this,1)},e.prototype.rEnd=function(){return new vr(this.h,this.h,this,1)},e.prototype.front=function(){return this.h.K?this.h.K.u:void 0},e.prototype.back=function(){return this.h.N?this.h.N.u:void 0},e.prototype.insert=function(r,n){return this.v(r,void 0,n)},e.prototype.find=function(r){var n=this.g(this.W,r);return new vr(n,this.h,this)},e.prototype.lowerBound=function(r){var n=this.U(this.W,r);return new vr(n,this.h,this)},e.prototype.upperBound=function(r){var n=this.X(this.W,r);return new vr(n,this.h,this)},e.prototype.reverseLowerBound=function(r){var n=this.Y(this.W,r);return new vr(n,this.h,this)},e.prototype.reverseUpperBound=function(r){var n=this.Z(this.W,r);return new vr(n,this.h,this)},e.prototype.union=function(r){var n=this;return r.forEach(function(i){n.insert(i)}),this.M},e.prototype[Symbol.iterator]=function(){return this.P(this.W)},e}(v_);const qP=VP;var x_=globalThis&&globalThis.t||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),YP=globalThis&&globalThis.i||function(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(u){return function(c){return l([u,c])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Er=function(t){x_(e,t);function e(r,n,i,s){var o=t.call(this,r,n,s)||this;return o.container=i,o}return Object.defineProperty(e.prototype,"pointer",{get:function(){this.o===this.h&&De();var r=this;return new Proxy([],{get:function(n,i){if(i==="0")return r.o.u;if(i==="1")return r.o.p},set:function(n,i,s){if(i!=="1")throw new TypeError("props must be 1");return r.o.p=s,!0}})},enumerable:!1,configurable:!0}),e.prototype.copy=function(){return new e(this.o,this.h,this.container,this.iteratorType)},e}(E_),KP=function(t){x_(e,t);function e(r,n,i){r===void 0&&(r=[]);var s=t.call(this,n,i)||this,o=s;return r.forEach(function(a){o.setElement(a[0],a[1])}),s}return e.prototype.P=function(r){return YP(this,function(n){switch(n.label){case 0:return r===void 0?[2]:[5,xm(this.P(r.K))];case 1:return n.sent(),[4,[r.u,r.p]];case 2:return n.sent(),[5,xm(this.P(r.N))];case 3:return n.sent(),[2]}})},e.prototype.begin=function(){return new Er(this.h.K||this.h,this.h,this)},e.prototype.end=function(){return new Er(this.h,this.h,this)},e.prototype.rBegin=function(){return new Er(this.h.N||this.h,this.h,this,1)},e.prototype.rEnd=function(){return new Er(this.h,this.h,this,1)},e.prototype.front=function(){if(this.M!==0){var r=this.h.K;return[r.u,r.p]}},e.prototype.back=function(){if(this.M!==0){var r=this.h.N;return[r.u,r.p]}},e.prototype.lowerBound=function(r){var n=this.U(this.W,r);return new Er(n,this.h,this)},e.prototype.upperBound=function(r){var n=this.X(this.W,r);return new Er(n,this.h,this)},e.prototype.reverseLowerBound=function(r){var n=this.Y(this.W,r);return new Er(n,this.h,this)},e.prototype.reverseUpperBound=function(r){var n=this.Z(this.W,r);return new Er(n,this.h,this)},e.prototype.setElement=function(r,n,i){return this.v(r,n,i)},e.prototype.find=function(r){var n=this.g(this.W,r);return new Er(n,this.h,this)},e.prototype.getElementByKey=function(r){var n=this.g(this.W,r);return n.p},e.prototype.union=function(r){var n=this;return r.forEach(function(i){n.setElement(i[0],i[1])}),this.M},e.prototype[Symbol.iterator]=function(){return this.P(this.W)},e}(v_);const GP=KP;function Oa(t){var e=typeof t;return e==="object"&&t!==null||e==="function"}var T_=globalThis&&globalThis.t||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),A_=function(t){T_(e,t);function e(r,n,i){var s=t.call(this,i)||this;return s.o=r,s.h=n,s.iteratorType===0?(s.pre=function(){return this.o.L===this.h&&De(),this.o=this.o.L,this},s.next=function(){return this.o===this.h&&De(),this.o=this.o.m,this}):(s.pre=function(){return this.o.m===this.h&&De(),this.o=this.o.m,this},s.next=function(){return this.o===this.h&&De(),this.o=this.o.L,this}),s}return e}(hu),M_=function(t){T_(e,t);function e(){var r=t.call(this)||this;return r._=[],r.I={},r.HASH_TAG=Symbol("@@HASH_TAG"),Object.setPrototypeOf(r.I,null),r.h={},r.h.L=r.h.m=r.H=r.l=r.h,r}return e.prototype.G=function(r){var n=r.L,i=r.m;n.m=i,i.L=n,r===this.H&&(this.H=i),r===this.l&&(this.l=n),this.M-=1},e.prototype.v=function(r,n,i){i===void 0&&(i=Oa(r));var s;if(i){var o=r[this.HASH_TAG];if(o!==void 0)return this._[o].p=n,this.M;Object.defineProperty(r,this.HASH_TAG,{value:this._.length,configurable:!0}),s={u:r,p:n,L:this.l,m:this.h},this._.push(s)}else{var a=this.I[r];if(a)return a.p=n,this.M;s={u:r,p:n,L:this.l,m:this.h},this.I[r]=s}return this.M===0?(this.H=s,this.h.m=s):this.l.m=s,this.l=s,this.h.L=s,++this.M},e.prototype.g=function(r,n){if(n===void 0&&(n=Oa(r)),n){var i=r[this.HASH_TAG];return i===void 0?this.h:this._[i]}else return this.I[r]||this.h},e.prototype.clear=function(){var r=this.HASH_TAG;this._.forEach(function(n){delete n.u[r]}),this._=[],this.I={},Object.setPrototypeOf(this.I,null),this.M=0,this.H=this.l=this.h.L=this.h.m=this.h},e.prototype.eraseElementByKey=function(r,n){var i;if(n===void 0&&(n=Oa(r)),n){var s=r[this.HASH_TAG];if(s===void 0)return!1;delete r[this.HASH_TAG],i=this._[s],delete this._[s]}else{if(i=this.I[r],i===void 0)return!1;delete this.I[r]}return this.G(i),!0},e.prototype.eraseElementByIterator=function(r){var n=r.o;return n===this.h&&De(),this.G(n),r.next()},e.prototype.eraseElementByPos=function(r){if(r<0||r>this.M-1)throw new RangeError;for(var n=this.H;r--;)n=n.m;return this.G(n),this.M},e}(Ih),C_=globalThis&&globalThis.t||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),XP=globalThis&&globalThis.i||function(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(u){return function(c){return l([u,c])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]this.M-1)throw new RangeError;for(var n=this.H;r--;)n=n.m;return n.u},e.prototype.find=function(r,n){var i=this.g(r,n);return new Ts(i,this.h,this)},e.prototype.forEach=function(r){for(var n=0,i=this.H;i!==this.h;)r(i.u,n++,this),i=i.m},e.prototype[Symbol.iterator]=function(){return(function(){var r;return XP(this,function(n){switch(n.label){case 0:r=this.H,n.label=1;case 1:return r===this.h?[3,3]:[4,r.u];case 2:return n.sent(),r=r.m,[3,1];case 3:return[2]}})}).bind(this)()},e}(M_);const JP=QP;var I_=globalThis&&globalThis.t||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),ZP=globalThis&&globalThis.i||function(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(u){return function(c){return l([u,c])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]this.M-1)throw new RangeError;for(var n=this.H;r--;)n=n.m;return[n.u,n.p]},e.prototype.find=function(r,n){var i=this.g(r,n);return new As(i,this.h,this)},e.prototype.forEach=function(r){for(var n=0,i=this.H;i!==this.h;)r([i.u,i.p],n++,this),i=i.m},e.prototype[Symbol.iterator]=function(){return(function(){var r;return ZP(this,function(n){switch(n.label){case 0:r=this.H,n.label=1;case 1:return r===this.h?[3,3]:[4,[r.u,r.p]];case 2:return n.sent(),r=r.m,[3,1];case 3:return[2]}})}).bind(this)()},e}(M_);const tR=eR,rR=Object.freeze(Object.defineProperty({__proto__:null,Deque:DP,HashMap:tR,HashSet:JP,LinkList:RP,OrderedMap:GP,OrderedSet:qP,PriorityQueue:EP,Queue:bP,Stack:mP,Vector:IP},Symbol.toStringTag,{value:"Module"})),nR=Ul(rR),iR=nR.OrderedSet,or=Yr("number-allocator:trace"),sR=Yr("number-allocator:error");function lt(t,e){this.low=t,this.high=e}lt.prototype.equals=function(t){return this.low===t.low&&this.high===t.high};lt.prototype.compare=function(t){return this.lowr.compare(n)),or("Create"),this.clear()}mr.prototype.firstVacant=function(){return this.ss.size()===0?null:this.ss.front().low};mr.prototype.alloc=function(){if(this.ss.size()===0)return or("alloc():empty"),null;const t=this.ss.begin(),e=t.pointer.low,r=t.pointer.high,n=e;return n+1<=r?this.ss.updateKeyByIterator(t,new lt(e+1,r)):this.ss.eraseElementByPos(0),or("alloc():"+n),n};mr.prototype.use=function(t){const e=new lt(t,t),r=this.ss.lowerBound(e);if(!r.equals(this.ss.end())){const n=r.pointer.low,i=r.pointer.high;return r.pointer.equals(e)?(this.ss.eraseElementByIterator(r),or("use():"+t),!0):n>t?!1:n===t?(this.ss.updateKeyByIterator(r,new lt(n+1,i)),or("use():"+t),!0):i===t?(this.ss.updateKeyByIterator(r,new lt(n,i-1)),or("use():"+t),!0):(this.ss.updateKeyByIterator(r,new lt(t+1,i)),this.ss.insert(new lt(n,t-1)),or("use():"+t),!0)}return or("use():failed"),!1};mr.prototype.free=function(t){if(tthis.max){sR("free():"+t+" is out of range");return}const e=new lt(t,t),r=this.ss.upperBound(e);if(r.equals(this.ss.end())){if(r.equals(this.ss.begin())){this.ss.insert(e);return}r.pre();const n=r.pointer.high;r.pointer.high+1===t?this.ss.updateKeyByIterator(r,new lt(n,t)):this.ss.insert(e)}else if(r.equals(this.ss.begin()))if(t+1===r.pointer.low){const n=r.pointer.high;this.ss.updateKeyByIterator(r,new lt(t,n))}else this.ss.insert(e);else{const n=r.pointer.low,i=r.pointer.high;r.pre();const s=r.pointer.low;r.pointer.high+1===t?t+1===n?(this.ss.eraseElementByIterator(r),this.ss.updateKeyByIterator(r,new lt(s,i))):this.ss.updateKeyByIterator(r,new lt(s,t)):t+1===n?(this.ss.eraseElementByIterator(r.next()),this.ss.insert(new lt(t,i))):this.ss.insert(e)}or("free():"+t)};mr.prototype.clear=function(){or("clear()"),this.ss.clear(),this.ss.insert(new lt(this.min,this.max))};mr.prototype.intervalCount=function(){return this.ss.size()};mr.prototype.dump=function(){console.log("length:"+this.ss.size());for(const t of this.ss)console.log(t)};var oR=mr;const aR=oR;Ch.NumberAllocator=aR;var lR=xe&&xe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Th,"__esModule",{value:!0});const uR=lR(dP),cR=Ch;class fR{constructor(e){e>0&&(this.aliasToTopic=new uR.default({max:e}),this.topicToAlias={},this.numberAllocator=new cR.NumberAllocator(1,e),this.max=e,this.length=0)}put(e,r){if(r===0||r>this.max)return!1;const n=this.aliasToTopic.get(r);return n&&delete this.topicToAlias[n],this.aliasToTopic.set(r,e),this.topicToAlias[e]=r,this.numberAllocator.use(r),this.length=this.aliasToTopic.size,!0}getTopicByAlias(e){return this.aliasToTopic.get(e)}getAliasByTopic(e){const r=this.topicToAlias[e];return typeof r<"u"&&this.aliasToTopic.get(r),r}clear(){this.aliasToTopic.clear(),this.topicToAlias={},this.numberAllocator.clear(),this.length=0}getLruAlias(){const e=this.numberAllocator.firstVacant();return e||[...this.aliasToTopic.keys()][this.aliasToTopic.size-1]}}Th.default=fR;var dR=xe&&xe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(xh,"__esModule",{value:!0});const hR=Io,pR=dR(Th),gR=Br,mR=(t,e)=>{t.log("_handleConnack");const{options:r}=t,i=r.protocolVersion===5?e.reasonCode:e.returnCode;if(clearTimeout(t.connackTimer),delete t.topicAliasSend,e.properties){if(e.properties.topicAliasMaximum){if(e.properties.topicAliasMaximum>65535){t.emit("error",new Error("topicAliasMaximum from broker is out of range"));return}e.properties.topicAliasMaximum>0&&(t.topicAliasSend=new pR.default(e.properties.topicAliasMaximum))}e.properties.serverKeepAlive&&r.keepalive&&(r.keepalive=e.properties.serverKeepAlive,t._shiftPingInterval()),e.properties.maximumPacketSize&&(r.properties||(r.properties={}),r.properties.maximumPacketSize=e.properties.maximumPacketSize)}if(i===0)t.reconnecting=!1,t._onConnect(e);else if(i>0){const s=new gR.ErrorWithReasonCode(`Connection refused: ${hR.ReasonCodes[i]}`,i);t.emit("error",s)}};xh.default=mR;var Ph={};Object.defineProperty(Ph,"__esModule",{value:!0});const yR=(t,e,r)=>{t.log("handling pubrel packet");const n=typeof r<"u"?r:t.noop,{messageId:i}=e,s={cmd:"pubcomp",messageId:i};t.incomingStore.get(e,(o,a)=>{o?t._sendPacket(s,n):(t.emit("message",a.topic,a.payload,a),t.handleMessage(a,l=>{if(l)return n(l);t.incomingStore.del(a,t.noop),t._sendPacket(s,n)}))})};Ph.default=yR;var Oo=xe&&xe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_h,"__esModule",{value:!0});const wR=Oo(vh),bR=Oo(Eh),_R=Oo(xh),vR=Oo(Io),ER=Oo(Ph),SR=(t,e,r)=>{const{options:n}=t;if(n.protocolVersion===5&&n.properties&&n.properties.maximumPacketSize&&n.properties.maximumPacketSize{setTimeout(t,0)},Cc=xe.setImmediate||((...t)=>{const e=t.shift();Vf(()=>{e(...t)})}),Mm={keepalive:60,reschedulePings:!0,protocolId:"MQTT",protocolVersion:4,reconnectPeriod:1e3,connectTimeout:30*1e3,clean:!0,resubscribe:!0,writeCache:!0},DR=["ECONNREFUSED","EADDRINUSE","ECONNRESET","ENOTFOUND","ETIMEDOUT"];class Rh extends kR.TypedEventEmitter{static defaultId(){return`mqttjs_${Math.random().toString(16).substr(2,8)}`}constructor(e,r){super(),this.options=r||{};for(const n in Mm)typeof this.options[n]>"u"?this.options[n]=Mm[n]:this.options[n]=r[n];this.log=this.options.log||(0,NR.default)("mqttjs:client"),this.noop=this._noop.bind(this),this.log("MqttClient :: options.protocol",r.protocol),this.log("MqttClient :: options.protocolVersion",r.protocolVersion),this.log("MqttClient :: options.username",r.username),this.log("MqttClient :: options.keepalive",r.keepalive),this.log("MqttClient :: options.reconnectPeriod",r.reconnectPeriod),this.log("MqttClient :: options.rejectUnauthorized",r.rejectUnauthorized),this.log("MqttClient :: options.properties.topicAliasMaximum",r.properties?r.properties.topicAliasMaximum:void 0),this.options.clientId=typeof r.clientId=="string"?r.clientId:Rh.defaultId(),this.log("MqttClient :: clientId",this.options.clientId),this.options.customHandleAcks=r.protocolVersion===5&&r.customHandleAcks?r.customHandleAcks:(...n)=>{n[3](null,0)},this.options.writeCache||(Mc.default.writeToStream.cacheNumbers=!1),this.streamBuilder=e,this.messageIdProvider=typeof this.options.messageIdProvider>"u"?new PR.default:this.options.messageIdProvider,this.outgoingStore=r.outgoingStore||new ta.default,this.incomingStore=r.incomingStore||new ta.default,this.queueQoSZero=r.queueQoSZero===void 0?!0:r.queueQoSZero,this._resubscribeTopics={},this.messageIdToTopic={},this.pingTimer=null,this.connected=!1,this.disconnecting=!1,this.reconnecting=!1,this.queue=[],this.connackTimer=null,this.reconnectTimer=null,this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={},this._storeProcessingQueue=[],this.outgoing={},this._firstConnection=!0,r.properties&&r.properties.topicAliasMaximum>0&&(r.properties.topicAliasMaximum>65535?this.log("MqttClient :: options.properties.topicAliasMaximum is out of range"):this.topicAliasRecv=new OR.default(r.properties.topicAliasMaximum)),this.on("connect",()=>{const{queue:n}=this,i=()=>{const s=n.shift();this.log("deliver :: entry %o",s);let o=null;if(!s){this._resubscribe();return}o=s.packet,this.log("deliver :: call _sendPacket for %o",o);let a=!0;o.messageId&&o.messageId!==0&&(this.messageIdProvider.register(o.messageId)||(a=!1)),a?this._sendPacket(o,l=>{s.cb&&s.cb(l),i()}):(this.log("messageId: %d has already used. The message is skipped and removed.",o.messageId),i())};this.log("connect :: sending queued packets"),i()}),this.on("close",()=>{this.log("close :: connected set to `false`"),this.connected=!1,this.log("close :: clearing connackTimer"),clearTimeout(this.connackTimer),this.log("close :: clearing ping timer"),this.pingTimer!==null&&(this.pingTimer.clear(),this.pingTimer=null),this.topicAliasRecv&&this.topicAliasRecv.clear(),this.log("close :: calling _setupReconnect"),this._setupReconnect()}),this.options.manualConnect||(this.log("MqttClient :: setting up stream"),this.connect())}handleAuth(e,r){r()}handleMessage(e,r){r()}_nextId(){return this.messageIdProvider.allocate()}getLastMessageId(){return this.messageIdProvider.getLastAllocated()}connect(){var e;const r=new RR.Writable,n=Mc.default.parser(this.options);let i=null;const s=[];this.log("connect :: calling method to clear reconnect"),this._clearReconnect(),this.log("connect :: using streamBuilder provided to client to create stream"),this.stream=this.streamBuilder(this),n.on("packet",c=>{this.log("parser :: on packet push to packets array."),s.push(c)});const o=()=>{this.log("work :: getting next packet in queue");const c=s.shift();if(c)this.log("work :: packet pulled from queue"),(0,$R.default)(this,c,a);else{this.log("work :: no packets in queue");const f=i;i=null,this.log("work :: done flag is %s",!!f),f&&f()}},a=()=>{if(s.length)Vf(o);else{const c=i;i=null,c()}};r._write=(c,f,d)=>{i=d,this.log("writable stream :: parsing buffer"),n.parse(c),o()};const l=c=>{this.log("streamErrorHandler :: error",c.message),DR.includes(c.code)?(this.log("streamErrorHandler :: emitting error"),this.emit("error",c)):this.noop(c)};this.log("connect :: pipe stream to writable stream"),this.stream.pipe(r),this.stream.on("error",l),this.stream.on("close",()=>{this.log("(%s)stream :: on close",this.options.clientId),this._flushVolatile(),this.log("stream: emit close to MqttClient"),this.emit("close")}),this.log("connect: sending packet `connect`");const u={cmd:"connect",protocolId:this.options.protocolId,protocolVersion:this.options.protocolVersion,clean:this.options.clean,clientId:this.options.clientId,keepalive:this.options.keepalive,username:this.options.username,password:this.options.password,properties:this.options.properties};if(this.options.will&&(u.will=Object.assign(Object.assign({},this.options.will),{payload:(e=this.options.will)===null||e===void 0?void 0:e.payload})),this.topicAliasRecv&&(u.properties||(u.properties={}),this.topicAliasRecv&&(u.properties.topicAliasMaximum=this.topicAliasRecv.max)),this._writePacket(u),n.on("error",this.emit.bind(this,"error")),this.options.properties){if(!this.options.properties.authenticationMethod&&this.options.properties.authenticationData)return this.end(()=>this.emit("error",new Error("Packet has no Authentication Method"))),this;if(this.options.properties.authenticationMethod&&this.options.authPacket&&typeof this.options.authPacket=="object"){const c=Object.assign({cmd:"auth",reasonCode:0},this.options.authPacket);this._writePacket(c)}}return this.stream.setMaxListeners(1e3),clearTimeout(this.connackTimer),this.connackTimer=setTimeout(()=>{this.log("!!connectTimeout hit!! Calling _cleanUp with force `true`"),this._cleanUp(!0)},this.options.connectTimeout),this}publish(e,r,n,i){this.log("publish :: message `%s` to topic `%s`",r,e);const{options:s}=this;typeof n=="function"&&(i=n,n=null),n=n||{},n=Object.assign(Object.assign({},{qos:0,retain:!1,dup:!1}),n);const{qos:a,retain:l,dup:u,properties:c,cbStorePut:f}=n;if(this._checkDisconnecting(i))return this;const d=()=>{let h=0;if((a===1||a===2)&&(h=this._nextId(),h===null))return this.log("No messageId left"),!1;const g={cmd:"publish",topic:e,payload:r,qos:a,retain:l,messageId:h,dup:u};switch(s.protocolVersion===5&&(g.properties=c),this.log("publish :: qos",a),a){case 1:case 2:this.outgoing[g.messageId]={volatile:!1,cb:i||this.noop},this.log("MqttClient:publish: packet cmd: %s",g.cmd),this._sendPacket(g,void 0,f);break;default:this.log("MqttClient:publish: packet cmd: %s",g.cmd),this._sendPacket(g,i,f);break}return!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!d())&&this._storeProcessingQueue.push({invoke:d,cbStorePut:n.cbStorePut,callback:i}),this}publishAsync(e,r,n){return new Promise((i,s)=>{this.publish(e,r,n,(o,a)=>{o?s(o):i(a)})})}subscribe(e,r,n){const i=this.options.protocolVersion;typeof r=="function"&&(n=r),n=n||this.noop;let s=!1,o=[];typeof e=="string"?(e=[e],o=e):Array.isArray(e)?o=e:typeof e=="object"&&(s=e.resubscribe,delete e.resubscribe,o=Object.keys(e));const a=Am.validateTopics(o);if(a!==null)return Cc(n,new Error(`Invalid topic ${a}`)),this;if(this._checkDisconnecting(n))return this.log("subscribe: discconecting true"),this;const l={qos:0};i===5&&(l.nl=!1,l.rap=!1,l.rh=0),r=Object.assign(Object.assign({},l),r);const u=r.properties,c=[],f=(h,g)=>{if(g=g||r,!Object.prototype.hasOwnProperty.call(this._resubscribeTopics,h)||this._resubscribeTopics[h].qos{this.log("subscribe: array topic %s",h),f(h)}):Object.keys(e).forEach(h=>{this.log("subscribe: object topic %s, %o",h,e[h]),f(h,e[h])}),!c.length)return n(null,[]),this;const d=()=>{const h=this._nextId();if(h===null)return this.log("No messageId left"),!1;const g={cmd:"subscribe",subscriptions:c,messageId:h};if(u&&(g.properties=u),this.options.resubscribe){this.log("subscribe :: resubscribe true");const y=[];c.forEach(b=>{if(this.options.reconnectPeriod>0){const v={qos:b.qos};i===5&&(v.nl=b.nl||!1,v.rap=b.rap||!1,v.rh=b.rh||0,v.properties=b.properties),this._resubscribeTopics[b.topic]=v,y.push(b.topic)}}),this.messageIdToTopic[g.messageId]=y}return this.outgoing[g.messageId]={volatile:!0,cb(y,b){if(!y){const{granted:v}=b;for(let _=0;_0||!d())&&this._storeProcessingQueue.push({invoke:d,callback:n}),this}subscribeAsync(e,r){return new Promise((n,i)=>{this.subscribe(e,r,(s,o)=>{s?i(s):n(o)})})}unsubscribe(e,r,n){typeof e=="string"&&(e=[e]),typeof r=="function"&&(n=r),n=n||this.noop;const i=Am.validateTopics(e);if(i!==null)return Cc(n,new Error(`Invalid topic ${i}`)),this;if(this._checkDisconnecting(n))return this;const s=()=>{const o=this._nextId();if(o===null)return this.log("No messageId left"),!1;const a={cmd:"unsubscribe",messageId:o,unsubscriptions:[]};return typeof e=="string"?a.unsubscriptions=[e]:Array.isArray(e)&&(a.unsubscriptions=e),this.options.resubscribe&&a.unsubscriptions.forEach(l=>{delete this._resubscribeTopics[l]}),typeof r=="object"&&r.properties&&(a.properties=r.properties),this.outgoing[a.messageId]={volatile:!0,cb:n},this.log("unsubscribe: call _sendPacket"),this._sendPacket(a),!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!s())&&this._storeProcessingQueue.push({invoke:s,callback:n}),this}unsubscribeAsync(e,r){return new Promise((n,i)=>{this.unsubscribe(e,r,(s,o)=>{s?i(s):n(o)})})}end(e,r,n){this.log("end :: (%s)",this.options.clientId),(e==null||typeof e!="boolean")&&(n=n||r,r=e,e=!1),typeof r!="object"&&(n=n||r,r=null),this.log("end :: cb? %s",!!n),(!n||typeof n!="function")&&(n=this.noop);const i=()=>{this.log("end :: closeStores: closing incoming and outgoing stores"),this.disconnected=!0,this.incomingStore.close(o=>{this.outgoingStore.close(a=>{if(this.log("end :: closeStores: emitting end"),this.emit("end"),n){const l=o||a;this.log("end :: closeStores: invoking callback with args"),n(l)}})}),this._deferredReconnect&&this._deferredReconnect()},s=()=>{this.log("end :: (%s) :: finish :: calling _cleanUp with force %s",this.options.clientId,e),this._cleanUp(e,()=>{this.log("end :: finish :: calling process.nextTick on closeStores"),Vf(i)},r)};return this.disconnecting?(n(),this):(this._clearReconnect(),this.disconnecting=!0,!e&&Object.keys(this.outgoing).length>0?(this.log("end :: (%s) :: calling finish in 10ms once outgoing is empty",this.options.clientId),this.once("outgoingEmpty",setTimeout.bind(null,s,10))):(this.log("end :: (%s) :: immediately calling finish",this.options.clientId),s()),this)}endAsync(e,r){return new Promise((n,i)=>{this.end(e,r,s=>{s?i(s):n()})})}removeOutgoingMessage(e){if(this.outgoing[e]){const{cb:r}=this.outgoing[e];this._removeOutgoingAndStoreMessage(e,()=>{r(new Error("Message removed"))})}return this}reconnect(e){this.log("client reconnect");const r=()=>{e?(this.options.incomingStore=e.incomingStore,this.options.outgoingStore=e.outgoingStore):(this.options.incomingStore=null,this.options.outgoingStore=null),this.incomingStore=this.options.incomingStore||new ta.default,this.outgoingStore=this.options.outgoingStore||new ta.default,this.disconnecting=!1,this.disconnected=!1,this._deferredReconnect=null,this._reconnect()};return this.disconnecting&&!this.disconnected?this._deferredReconnect=r:r(),this}_flushVolatile(){this.outgoing&&(this.log("_flushVolatile :: deleting volatile messages from the queue and setting their callbacks as error function"),Object.keys(this.outgoing).forEach(e=>{this.outgoing[e].volatile&&typeof this.outgoing[e].cb=="function"&&(this.outgoing[e].cb(new Error("Connection closed")),delete this.outgoing[e])}))}_flush(){this.outgoing&&(this.log("_flush: queue exists? %b",!!this.outgoing),Object.keys(this.outgoing).forEach(e=>{typeof this.outgoing[e].cb=="function"&&(this.outgoing[e].cb(new Error("Connection closed")),delete this.outgoing[e])}))}_removeTopicAliasAndRecoverTopicName(e){let r;e.properties&&(r=e.properties.topicAlias);let n=e.topic.toString();if(this.log("_removeTopicAliasAndRecoverTopicName :: alias %d, topic %o",r,n),n.length===0){if(typeof r>"u")return new Error("Unregistered Topic Alias");if(n=this.topicAliasSend.getTopicByAlias(r),typeof n>"u")return new Error("Unregistered Topic Alias");e.topic=n}r&&delete e.properties.topicAlias}_checkDisconnecting(e){return this.disconnecting&&(e&&e!==this.noop?e(new Error("client disconnecting")):this.emit("error",new Error("client disconnecting"))),this.disconnecting}_reconnect(){this.log("_reconnect: emitting reconnect to client"),this.emit("reconnect"),this.connected?(this.end(()=>{this.connect()}),this.log("client already connected. disconnecting first.")):(this.log("_reconnect: calling connect"),this.connect())}_setupReconnect(){!this.disconnecting&&!this.reconnectTimer&&this.options.reconnectPeriod>0?(this.reconnecting||(this.log("_setupReconnect :: emit `offline` state"),this.emit("offline"),this.log("_setupReconnect :: set `reconnecting` to `true`"),this.reconnecting=!0),this.log("_setupReconnect :: setting reconnectTimer for %d ms",this.options.reconnectPeriod),this.reconnectTimer=setInterval(()=>{this.log("reconnectTimer :: reconnect triggered!"),this._reconnect()},this.options.reconnectPeriod)):this.log("_setupReconnect :: doing nothing...")}_clearReconnect(){this.log("_clearReconnect : clearing reconnect timer"),this.reconnectTimer&&(clearInterval(this.reconnectTimer),this.reconnectTimer=null)}_cleanUp(e,r,n={}){if(r&&(this.log("_cleanUp :: done callback provided for on stream close"),this.stream.on("close",r)),this.log("_cleanUp :: forced? %s",e),e)this.options.reconnectPeriod===0&&this.options.clean&&this._flush(),this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),this.stream.destroy();else{const i=Object.assign({cmd:"disconnect"},n);this.log("_cleanUp :: (%s) :: call _sendPacket with disconnect packet",this.options.clientId),this._sendPacket(i,()=>{this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),Cc(()=>{this.stream.end(()=>{this.log("_cleanUp :: (%s) :: stream destroyed",this.options.clientId)})})})}this.disconnecting||(this.log("_cleanUp :: client not disconnecting. Clearing and resetting reconnect."),this._clearReconnect(),this._setupReconnect()),this.pingTimer!==null&&(this.log("_cleanUp :: clearing pingTimer"),this.pingTimer.clear(),this.pingTimer=null),r&&!this.connected&&(this.log("_cleanUp :: (%s) :: removing stream `done` callback `close` listener",this.options.clientId),this.stream.removeListener("close",r),r())}_storeAndSend(e,r,n){this.log("storeAndSend :: store packet with cmd %s to outgoingStore",e.cmd);let i=e,s;if(i.cmd==="publish"&&(i=(0,Tm.default)(e),s=this._removeTopicAliasAndRecoverTopicName(i),s))return r&&r(s);this.outgoingStore.put(i,o=>{if(o)return r&&r(o);n(),this._writePacket(e,r)})}_applyTopicAlias(e){if(this.options.protocolVersion===5&&e.cmd==="publish"){let r;e.properties&&(r=e.properties.topicAlias);const n=e.topic.toString();if(this.topicAliasSend)if(r){if(n.length!==0&&(this.log("applyTopicAlias :: register topic: %s - alias: %d",n,r),!this.topicAliasSend.put(n,r)))return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",n,r),new Error("Sending Topic Alias out of range")}else n.length!==0&&(this.options.autoAssignTopicAlias?(r=this.topicAliasSend.getAliasByTopic(n),r?(e.topic="",e.properties=Object.assign(Object.assign({},e.properties),{topicAlias:r}),this.log("applyTopicAlias :: auto assign(use) topic: %s - alias: %d",n,r)):(r=this.topicAliasSend.getLruAlias(),this.topicAliasSend.put(n,r),e.properties=Object.assign(Object.assign({},e.properties),{topicAlias:r}),this.log("applyTopicAlias :: auto assign topic: %s - alias: %d",n,r))):this.options.autoUseTopicAlias&&(r=this.topicAliasSend.getAliasByTopic(n),r&&(e.topic="",e.properties=Object.assign(Object.assign({},e.properties),{topicAlias:r}),this.log("applyTopicAlias :: auto use topic: %s - alias: %d",n,r))));else if(r)return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",n,r),new Error("Sending Topic Alias out of range")}}_noop(e){this.log("noop ::",e)}_writePacket(e,r){this.log("_writePacket :: packet: %O",e),this.log("_writePacket :: emitting `packetsend`"),this.emit("packetsend",e),this._shiftPingInterval(),this.log("_writePacket :: writing to stream");const n=Mc.default.writeToStream(e,this.stream,this.options);this.log("_writePacket :: writeToStream result %s",n),!n&&r&&r!==this.noop?(this.log("_writePacket :: handle events on `drain` once through callback."),this.stream.once("drain",r)):r&&(this.log("_writePacket :: invoking cb"),r())}_sendPacket(e,r,n,i){this.log("_sendPacket :: (%s) :: start",this.options.clientId),n=n||this.noop,r=r||this.noop;const s=this._applyTopicAlias(e);if(s){r(s);return}if(!this.connected){if(e.cmd==="auth"){this._writePacket(e,r);return}this.log("_sendPacket :: client not connected. Storing packet offline."),this._storePacket(e,r,n);return}if(i){this._writePacket(e,r);return}switch(e.cmd){case"publish":break;case"pubrel":this._storeAndSend(e,r,n);return;default:this._writePacket(e,r);return}switch(e.qos){case 2:case 1:this._storeAndSend(e,r,n);break;case 0:default:this._writePacket(e,r);break}this.log("_sendPacket :: (%s) :: end",this.options.clientId)}_storePacket(e,r,n){this.log("_storePacket :: packet: %o",e),this.log("_storePacket :: cb? %s",!!r),n=n||this.noop;let i=e;if(i.cmd==="publish"){i=(0,Tm.default)(e);const o=this._removeTopicAliasAndRecoverTopicName(i);if(o)return r&&r(o)}const s=i.qos||0;s===0&&this.queueQoSZero||i.cmd!=="publish"?this.queue.push({packet:i,cb:r}):s>0?(r=this.outgoing[i.messageId]?this.outgoing[i.messageId].cb:null,this.outgoingStore.put(i,o=>{if(o)return r&&r(o);n()})):r&&r(new Error("No connection to broker"))}_setupPingTimer(){this.log("_setupPingTimer :: keepalive %d (seconds)",this.options.keepalive),!this.pingTimer&&this.options.keepalive&&(this.pingResp=!0,this.pingTimer=(0,LR.default)(()=>{this._checkPing()},this.options.keepalive*1e3))}_shiftPingInterval(){this.pingTimer&&this.options.keepalive&&this.options.reschedulePings&&this.pingTimer.reschedule(this.options.keepalive*1e3)}_checkPing(){this.log("_checkPing :: checking ping..."),this.pingResp?(this.log("_checkPing :: ping response received. Clearing flag and sending `pingreq`"),this.pingResp=!1,this._sendPacket({cmd:"pingreq"})):(this.log("_checkPing :: calling _cleanUp with force true"),this._cleanUp(!0))}_resubscribe(){this.log("_resubscribe");const e=Object.keys(this._resubscribeTopics);if(!this._firstConnection&&(this.options.clean||this.options.protocolVersion>=4&&!this.connackPacket.sessionPresent)&&e.length>0)if(this.options.resubscribe)if(this.options.protocolVersion===5){this.log("_resubscribe: protocolVersion 5");for(let r=0;r{let n=this.outgoingStore.createStream();const i=()=>{n.destroy(),n=null,this._flushStoreProcessingQueue(),s()},s=()=>{this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={}};this.once("close",i),n.on("error",a=>{s(),this._flushStoreProcessingQueue(),this.removeListener("close",i),this.emit("error",a)});const o=()=>{if(!n)return;const a=n.read(1);let l;if(!a){n.once("readable",o);return}if(this._storeProcessing=!0,this._packetIdsDuringStoreProcessing[a.messageId]){o();return}!this.disconnecting&&!this.reconnectTimer?(l=this.outgoing[a.messageId]?this.outgoing[a.messageId].cb:null,this.outgoing[a.messageId]={volatile:!1,cb(u,c){l&&l(u,c),o()}},this._packetIdsDuringStoreProcessing[a.messageId]=!0,this.messageIdProvider.register(a.messageId)?this._sendPacket(a,void 0,void 0,!0):this.log("messageId: %d has already used.",a.messageId)):n.destroy&&n.destroy()};n.on("end",()=>{let a=!0;for(const l in this._packetIdsDuringStoreProcessing)if(!this._packetIdsDuringStoreProcessing[l]){a=!1;break}a?(s(),this.removeListener("close",i),this._invokeAllStoreProcessingQueue(),this.emit("connect",e)):r()}),o()};r()}_invokeStoreProcessingQueue(){if(!this._storeProcessing&&this._storeProcessingQueue.length>0){const e=this._storeProcessingQueue[0];if(e&&e.invoke())return this._storeProcessingQueue.shift(),!0}return!1}_invokeAllStoreProcessingQueue(){for(;this._invokeStoreProcessingQueue(););}_flushStoreProcessingQueue(){for(const e of this._storeProcessingQueue)e.cbStorePut&&e.cbStorePut(new Error("Connection closed")),e.callback&&e.callback(new Error("Connection closed"));this._storeProcessingQueue.splice(0)}_removeOutgoingAndStoreMessage(e,r){delete this.outgoing[e],this.outgoingStore.del({messageId:e},(n,i)=>{r(n,i),this.messageIdProvider.deallocate(e),this._invokeStoreProcessingQueue()})}}fo.default=Rh;var Lh={};Object.defineProperty(Lh,"__esModule",{value:!0});const BR=Ch;class FR{constructor(){this.numberAllocator=new BR.NumberAllocator(1,65535)}allocate(){return this.lastId=this.numberAllocator.alloc(),this.lastId}getLastAllocated(){return this.lastId}register(e){return this.numberAllocator.use(e)}deallocate(e){this.numberAllocator.free(e)}clear(){this.numberAllocator.clear()}}Lh.default=FR;var Po={};const Ic=2147483647,Js=36,P_=1,qf=26,UR=38,zR=700,jR=72,HR=128,WR="-",VR=/[^\0-\x7F]/,qR=/[\x2E\u3002\uFF0E\uFF61]/g,YR={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Oc=Js-P_,Ti=Math.floor,Pc=String.fromCharCode;function Cm(t){throw new RangeError(YR[t])}function KR(t,e){const r=[];let n=t.length;for(;n--;)r[n]=e(t[n]);return r}function GR(t,e){const r=t.split("@");let n="";r.length>1&&(n=r[0]+"@",t=r[1]),t=t.replace(qR,".");const i=t.split("."),s=KR(i,e).join(".");return n+s}function XR(t){const e=[];let r=0;const n=t.length;for(;r=55296&&i<=56319&&r>1,t+=Ti(t/e);t>Oc*qf>>1;n+=Js)t=Ti(t/Oc);return Ti(n+(Oc+1)*t/(t+UR))},JR=function(t){const e=[];t=XR(t);const r=t.length;let n=HR,i=0,s=jR;for(const l of t)l<128&&e.push(Pc(l));const o=e.length;let a=o;for(o&&e.push(WR);a=n&&cTi((Ic-i)/u)&&Cm("overflow"),i+=(l-n)*u,n=l;for(const c of t)if(cIc&&Cm("overflow"),c===n){let f=i;for(let d=Js;;d+=Js){const h=d<=s?P_:d>=s+qf?qf:d-s;if(f0&&a>o&&(a=o);for(var l=0;l=0?(f=u.substr(0,c),d=u.substr(c+1)):(f=u,d=""),h=decodeURIComponent(f),g=decodeURIComponent(d),eL(i,h)?R_(i[h])?i[h].push(g):i[h]=[i[h],g]:i[h]=g}return i}const nL={parse:Ro,resolve:$_,resolveObject:k_,format:N_,Url:Gt};function Gt(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var iL=/^([a-z0-9.+-]+:)/i,sL=/:[0-9]*$/,oL=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,aL=["<",">",'"',"`"," ","\r",` -`," "],lL=["{","}","|","\\","^","`"].concat(aL),Yf=["'"].concat(lL),Rm=["%","/","?",";","#"].concat(Yf),Lm=["/","?","#"],uL=255,Nm=/^[+a-z0-9A-Z_-]{0,63}$/,cL=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,fL={javascript:!0,"javascript:":!0},Kf={javascript:!0,"javascript:":!0},Di={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ro(t,e,r){if(t&&qr(t)&&t instanceof Gt)return t;var n=new Gt;return n.parse(t,e,r),n}Gt.prototype.parse=function(t,e,r){return L_(this,t,e,r)};function L_(t,e,r,n){if(!bn(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=i!==-1&&i127?k+="x":k+=O[j];if(!k.match(Nm)){var H=C.slice(0,h),B=C.slice(h+1),q=O.match(cL);q&&(H.push(q[1]),B.unshift(q[2])),B.length&&(l="/"+B.join(".")+l),t.hostname=H.join(".");break}}}}t.hostname.length>uL?t.hostname="":t.hostname=t.hostname.toLowerCase(),T||(t.hostname=ZR(t.hostname)),b=t.port?":"+t.port:"";var F=t.hostname||"";t.host=F+b,t.href+=t.host,T&&(t.hostname=t.hostname.substr(1,t.hostname.length-2),l[0]!=="/"&&(l="/"+l))}if(!fL[f])for(h=0,y=Yf.length;h0?r.host.split("@"):!1,C&&(r.auth=C.shift(),r.host=r.hostname=C.shift())),r.search=t.search,r.query=t.query,(!Cr(r.pathname)||!Cr(r.search))&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!E.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var O=E.slice(-1)[0],k=(r.host||t.host||E.length>1)&&(O==="."||O==="..")||O==="",j=0,R=E.length;R>=0;R--)O=E[R],O==="."?E.splice(R,1):O===".."?(E.splice(R,1),j++):j&&(E.splice(R,1),j--);if(!v&&!_)for(;j--;j)E.unshift("..");v&&E[0]!==""&&(!E[0]||E[0].charAt(0)!=="/")&&E.unshift(""),k&&E.join("/").substr(-1)!=="/"&&E.push("");var H=E[0]===""||E[0]&&E[0].charAt(0)==="/";return T&&(r.hostname=r.host=H?"":E.length?E.shift():"",C=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1,C&&(r.auth=C.shift(),r.host=r.hostname=C.shift())),v=v||r.host&&E.length,v&&!H&&E.unshift(""),E.length?r.pathname=E.join("/"):(r.pathname=null,r.path=null),(!Cr(r.pathname)||!Cr(r.search))&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r};Gt.prototype.parseHost=function(){return D_(this)};function D_(t){var e=t.host,r=sL.exec(e);r&&(r=r[0],r!==":"&&(t.port=r.substr(1)),e=e.substr(0,e.length-r.length)),e&&(t.hostname=e)}const dL=Object.freeze(Object.defineProperty({__proto__:null,Url:Gt,default:nL,format:N_,parse:Ro,resolve:$_,resolveObject:k_},Symbol.toStringTag,{value:"Module"})),hL=Ul(dL);var mu={};Object.defineProperty(mu,"__esModule",{value:!0});const pL=typeof window<"u"&&typeof window.document<"u";mu.default=pL;var ra={};const gL={},mL=Object.freeze(Object.defineProperty({__proto__:null,default:gL},Symbol.toStringTag,{value:"Module"})),Gf=Ul(mL);var $m;function km(){if($m)return ra;$m=1;var t=xe&&xe.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(ra,"__esModule",{value:!0});const e=t(Gf),n=(0,t(Yr).default)("mqttjs:tcp"),i=(s,o)=>{o.port=o.port||1883,o.hostname=o.hostname||o.host||"localhost";const{port:a}=o,l=o.hostname;return n("port %d and host %s",a,l),e.default.createConnection(a,l)};return ra.default=i,ra}var na={},Dm;function Bm(){if(Dm)return na;Dm=1;var t=xe&&xe.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(na,"__esModule",{value:!0});const e=t(Gf),r=t(Gf),i=(0,t(Yr).default)("mqttjs:tls"),s=(o,a)=>{a.port=a.port||8883,a.host=a.hostname||a.host||"localhost",r.default.isIP(a.host)===0&&(a.servername=a.host),a.rejectUnauthorized=a.rejectUnauthorized!==!1,delete a.path,i("port %d host %s rejectUnauthorized %b",a.port,a.host,a.rejectUnauthorized);const l=e.default.connect(a);l.on("secureConnect",()=>{a.rejectUnauthorized&&!l.authorized?l.emit("error",new Error("TLS not authorized")):l.removeListener("error",u)});function u(c){a.rejectUnauthorized&&o.emit("error",c),l.end()}return l.on("error",u),l};return na.default=s,na}var ia={},$h={exports:{}},yL=B_;function B_(t,e){if(t&&e)return B_(t)(e);if(typeof t!="function")throw new TypeError("need wrapper function");return Object.keys(t).forEach(function(n){r[n]=t[n]}),r;function r(){for(var n=new Array(arguments.length),i=0;i{i.send({data:h.buffer,success(){y()},fail(b){y(new Error(b))}})},d._flush=h=>{i.close({success(){h()}})},d}function l(d){d.hostname||(d.hostname="localhost"),d.path||(d.path="/"),d.wsOptions||(d.wsOptions={})}function u(d,h){const g=d.protocol==="wxs"?"wss":"ws";let y=`${g}://${d.hostname}${d.path}`;return d.port&&d.port!==80&&d.port!==443&&(y=`${g}://${d.hostname}:${d.port}${d.path}`),typeof d.transformWsUrl=="function"&&(y=d.transformWsUrl(y,d,h)),y}function c(){i.onOpen(()=>{o.setReadable(s),o.setWritable(s),o.emit("connect")}),i.onMessage(d=>{let{data:h}=d;h instanceof ArrayBuffer?h=e.Buffer.from(h):h=e.Buffer.from(h,"utf8"),s.push(h)}),i.onClose(()=>{o.emit("close"),o.end(),o.destroy()}),i.onError(d=>{o.destroy(new Error(d.errMsg))})}const f=(d,h)=>{if(h.hostname=h.hostname||h.host,!h.hostname)throw new Error("Could not determine host. Specify host manually.");const g=h.protocolId==="MQIsdp"&&h.protocolVersion===3?"mqttv3.1":"mqtt";l(h);const y=u(h,d);i=wx.connectSocket({url:y,protocols:[g]}),s=a(),o=n.default.obj(),o._destroy=(v,_)=>{i.close({success(){_&&_(v)}})};const b=o.destroy;return o.destroy=()=>{o.destroy=b,setTimeout(()=>{i.close({fail(){o._destroy(new Error)}})},0)},c(),o};return ia.default=f,ia}var sa={},zm;function jm(){if(zm)return sa;zm=1;var t=xe&&xe.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(sa,"__esModule",{value:!0});const e=We,r=Co,n=t(kh);let i,s,o,a=!1;function l(){const h=new r.Transform;return h._write=(g,y,b)=>{i.sendSocketMessage({data:g.buffer,success(){b()},fail(){b(new Error)}})},h._flush=g=>{i.closeSocket({success(){g()}})},h}function u(h){h.hostname||(h.hostname="localhost"),h.path||(h.path="/"),h.wsOptions||(h.wsOptions={})}function c(h,g){const y=h.protocol==="alis"?"wss":"ws";let b=`${y}://${h.hostname}${h.path}`;return h.port&&h.port!==80&&h.port!==443&&(b=`${y}://${h.hostname}:${h.port}${h.path}`),typeof h.transformWsUrl=="function"&&(b=h.transformWsUrl(b,h,g)),b}function f(){a||(a=!0,i.onSocketOpen(()=>{o.setReadable(s),o.setWritable(s),o.emit("connect")}),i.onSocketMessage(h=>{if(typeof h.data=="string"){const g=e.Buffer.from(h.data,"base64");s.push(g)}else{const g=new FileReader;g.addEventListener("load",()=>{let y=g.result;y instanceof ArrayBuffer?y=e.Buffer.from(y):y=e.Buffer.from(y,"utf8"),s.push(y)}),g.readAsArrayBuffer(h.data)}}),i.onSocketClose(()=>{o.end(),o.destroy()}),i.onSocketError(h=>{o.destroy(h)}))}const d=(h,g)=>{if(g.hostname=g.hostname||g.host,!g.hostname)throw new Error("Could not determine host. Specify host manually.");const y=g.protocolId==="MQIsdp"&&g.protocolVersion===3?"mqttv3.1":"mqtt";u(g);const b=c(g,h);return i=g.my,i.connectSocket({url:b,protocols:y}),s=l(),o=n.default.obj(),f(),o};return sa.default=d,sa}var wu={},LL=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")},bu=xe&&xe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(wu,"__esModule",{value:!0});const Cs=We,V_=bu(LL),NL=bu(Yr),$L=bu(kh),kL=Co,q_=bu(mu),Zs=(0,NL.default)("mqttjs:ws"),DL=["rejectUnauthorized","ca","cert","key","pfx","passphrase"];function Y_(t,e){let r=`${t.protocol}://${t.hostname}:${t.port}${t.path}`;return typeof t.transformWsUrl=="function"&&(r=t.transformWsUrl(r,t,e)),r}function K_(t){const e=t;return t.hostname||(e.hostname="localhost"),t.port||(t.protocol==="wss"?e.port=443:e.port=80),t.path||(e.path="/"),t.wsOptions||(e.wsOptions={}),!q_.default&&t.protocol==="wss"&&DL.forEach(r=>{Object.prototype.hasOwnProperty.call(t,r)&&!Object.prototype.hasOwnProperty.call(t.wsOptions,r)&&(e.wsOptions[r]=t[r])}),e}function BL(t){const e=K_(t);if(e.hostname||(e.hostname=e.host),!e.hostname){if(typeof document>"u")throw new Error("Could not determine host. Specify host manually.");const r=new URL(document.URL);e.hostname=r.hostname,e.port||(e.port=Number(r.port))}return e.objectMode===void 0&&(e.objectMode=!(e.binary===!0||e.binary===void 0)),e}function FL(t,e,r){Zs("createWebSocket"),Zs(`protocol: ${r.protocolId} ${r.protocolVersion}`);const n=r.protocolId==="MQIsdp"&&r.protocolVersion===3?"mqttv3.1":"mqtt";Zs(`creating new Websocket for url: ${e} and protocol: ${n}`);let i;return r.createWebsocket?i=r.createWebsocket(e,[n],r):i=new V_.default(e,[n],r.wsOptions),i}function UL(t,e){const r=e.protocolId==="MQIsdp"&&e.protocolVersion===3?"mqttv3.1":"mqtt",n=Y_(e,t);let i;return e.createWebsocket?i=e.createWebsocket(n,[r],e):i=new WebSocket(n,[r]),i.binaryType="arraybuffer",i}const zL=(t,e)=>{Zs("streamBuilder");const r=K_(e),n=Y_(r,t),i=FL(t,n,r),s=V_.default.createWebSocketStream(i,r.wsOptions);return s.url=n,i.on("close",()=>{s.destroy()}),s},jL=(t,e)=>{Zs("browserStreamBuilder");let r;const i=BL(e).browserBufferSize||1024*512,s=e.browserBufferTimeout||1e3,o=!e.objectMode,a=UL(t,e),l=c(e,b,v);e.objectMode||(l._writev=y),l.on("close",()=>{a.close()});const u=typeof a.addEventListener<"u";a.readyState===a.OPEN?r=l:(r=(0,$L.default)(void 0,void 0,e),e.objectMode||(r._writev=y),u?a.addEventListener("open",f):a.onopen=f),r.socket=a,u?(a.addEventListener("close",d),a.addEventListener("error",h),a.addEventListener("message",g)):(a.onclose=d,a.onerror=h,a.onmessage=g);function c(_,E,T){const C=new kL.Transform({objectMode:_.objectMode});return C._write=E,C._flush=T,C}function f(){r.setReadable(l),r.setWritable(l),r.emit("connect")}function d(){r.end(),r.destroy()}function h(_){r.destroy(_)}function g(_){let{data:E}=_;E instanceof ArrayBuffer?E=Cs.Buffer.from(E):E=Cs.Buffer.from(E,"utf8"),l.push(E)}function y(_,E){const T=new Array(_.length);for(let C=0;C<_.length;C++)typeof _[C].chunk=="string"?T[C]=Cs.Buffer.from(_[C],"utf8"):T[C]=_[C].chunk;this._write(Cs.Buffer.concat(T),"binary",E)}function b(_,E,T){a.bufferedAmount>i&&setTimeout(b,s,_,E,T),o&&typeof _=="string"&&(_=Cs.Buffer.from(_,"utf8"));try{a.send(_)}catch(C){return T(C)}T()}function v(_){a.close(),_()}return r};wu.default=q_.default?jL:zL;var _u=xe&&xe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Po,"__esModule",{value:!0});Po.connectAsync=void 0;const HL=_u(Yr),WL=_u(hL),VL=_u(fo),qL=_u(mu),Hm=(0,HL.default)("mqttjs"),at={};qL.default?(at.wx=Um().default,at.wxs=Um().default,at.ali=jm().default,at.alis=jm().default):(at.mqtt=km().default,at.tcp=km().default,at.ssl=Bm().default,at.tls=at.ssl,at.mqtts=Bm().default);at.ws=wu.default;at.wss=wu.default;function YL(t){let e;t.auth&&(e=t.auth.match(/^(.+):(.+)$/),e?(t.username=e[1],t.password=e[2]):t.username=t.auth)}function G_(t,e){if(Hm("connecting to an MQTT broker..."),typeof t=="object"&&!e&&(e=t,t=""),e=e||{},t&&typeof t=="string"){const i=WL.default.parse(t,!0);if(i.port!=null&&(i.port=Number(i.port)),e=Object.assign(Object.assign({},i),e),e.protocol===null)throw new Error("Missing protocol");e.protocol=e.protocol.replace(/:$/,"")}if(YL(e),e.query&&typeof e.query.clientId=="string"&&(e.clientId=e.query.clientId),e.cert&&e.key)if(e.protocol){if(["mqtts","wss","wxs","alis"].indexOf(e.protocol)===-1)switch(e.protocol){case"mqtt":e.protocol="mqtts";break;case"ws":e.protocol="wss";break;case"wx":e.protocol="wxs";break;case"ali":e.protocol="alis";break;default:throw new Error(`Unknown protocol for secure connection: "${e.protocol}"!`)}}else throw new Error("Missing secure protocol key");if(!at[e.protocol]){const i=["mqtts","wss"].indexOf(e.protocol)!==-1;e.protocol=["mqtt","mqtts","ws","wss","wx","wxs","ali","alis"].filter((s,o)=>i&&o%2===0?!1:typeof at[s]=="function")[0]}if(e.clean===!1&&!e.clientId)throw new Error("Missing clientId for unclean clients");e.protocol&&(e.defaultProtocol=e.protocol);function r(i){return e.servers&&((!i._reconnectCount||i._reconnectCount===e.servers.length)&&(i._reconnectCount=0),e.host=e.servers[i._reconnectCount].host,e.port=e.servers[i._reconnectCount].port,e.protocol=e.servers[i._reconnectCount].protocol?e.servers[i._reconnectCount].protocol:e.defaultProtocol,e.hostname=e.host,i._reconnectCount++),Hm("calling streambuilder for",e.protocol),at[e.protocol](i,e)}const n=new VL.default(r,e);return n.on("error",()=>{}),n}function KL(t,e,r=!0){return new Promise((n,i)=>{const s=G_(t,e),o={connect:l=>{a(),n(s)},end:()=>{a(),n(s)},error:l=>{a(),s.end(),i(l)}};r===!1&&(o.close=()=>{o.error(new Error("Couldn't connect to server"))});function a(){Object.keys(o).forEach(l=>{s.off(l,o[l])})}Object.keys(o).forEach(l=>{s.on(l,o[l])})})}Po.connectAsync=KL;Po.default=G_;(function(t){var e=xe&&xe.__createBinding||(Object.create?function(d,h,g,y){y===void 0&&(y=g);var b=Object.getOwnPropertyDescriptor(h,g);(!b||("get"in b?!h.__esModule:b.writable||b.configurable))&&(b={enumerable:!0,get:function(){return h[g]}}),Object.defineProperty(d,y,b)}:function(d,h,g,y){y===void 0&&(y=g),d[y]=h[g]}),r=xe&&xe.__setModuleDefault||(Object.create?function(d,h){Object.defineProperty(d,"default",{enumerable:!0,value:h})}:function(d,h){d.default=h}),n=xe&&xe.__importStar||function(d){if(d&&d.__esModule)return d;var h={};if(d!=null)for(var g in d)g!=="default"&&Object.prototype.hasOwnProperty.call(d,g)&&e(h,d,g);return r(h,d),h},i=xe&&xe.__exportStar||function(d,h){for(var g in d)g!=="default"&&!Object.prototype.hasOwnProperty.call(h,g)&&e(h,d,g)},s=xe&&xe.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(t,"__esModule",{value:!0}),t.ReasonCodes=t.UniqueMessageIdProvider=t.DefaultMessageIdProvider=t.Store=t.MqttClient=t.connectAsync=t.connect=t.Client=void 0;const o=s(fo);t.MqttClient=o.default;const a=s(Zl);t.DefaultMessageIdProvider=a.default;const l=s(Lh);t.UniqueMessageIdProvider=l.default;const u=s(fu);t.Store=u.default;const c=n(Po);t.connect=c.default,Object.defineProperty(t,"connectAsync",{enumerable:!0,get:function(){return c.connectAsync}}),t.Client=o.default,i(fo,t),i(Br,t);var f=Io;Object.defineProperty(t,"ReasonCodes",{enumerable:!0,get:function(){return f.ReasonCodes}})})(Tx);function Ra(t,e){return t==null||e==null?NaN:te?1:t>=e?0:NaN}function GL(t,e){return t==null||e==null?NaN:et?1:e>=t?0:NaN}function Dh(t){let e,r,n;t.length!==2?(e=Ra,r=(a,l)=>Ra(t(a),l),n=(a,l)=>t(a)-l):(e=t===Ra||t===GL?t:XL,r=t,n=t);function i(a,l,u=0,c=a.length){if(u>>1;r(a[f],l)<0?u=f+1:c=f}while(u>>1;r(a[f],l)<=0?u=f+1:c=f}while(uu&&n(a[f-1],l)>-n(a[f],l)?f-1:f}return{left:i,center:o,right:s}}function XL(){return 0}function QL(t){return t===null?NaN:+t}const JL=Dh(Ra),ZL=JL.right;Dh(QL).center;const eN=ZL;function b8(t,e){let r,n;if(e===void 0)for(const i of t)i!=null&&(r===void 0?i>=i&&(r=n=i):(r>i&&(r=i),n=s&&(r=n=s):(r>s&&(r=s),n=iN?10:s>=sN?5:s>=oN?2:1;let a,l,u;return i<0?(u=Math.pow(10,-i)/o,a=Math.round(t*u),l=Math.round(e*u),a/ue&&--l,u=-u):(u=Math.pow(10,i)*o,a=Math.round(t/u),l=Math.round(e/u),a*ue&&--l),l0))return[];if(t===e)return[t];const n=e=i))return[];const a=s-i+1,l=new Array(a);if(n)if(o<0)for(let u=0;u=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r=i)&&(r=i)}return r}function lN(t,e,r){t=+t,e=+e,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=Math.max(0,Math.ceil((e-t)/r))|0,s=new Array(i);++n+t(e)}function hN(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}function pN(){return!this.__axis}function vu(t,e){var r=[],n=null,i=null,s=6,o=6,a=3,l=typeof window<"u"&&window.devicePixelRatio>1?0:.5,u=t===La||t===Fs?-1:1,c=t===Fs||t===Na?"x":"y",f=t===La||t===Zf?cN:fN;function d(h){var g=n??(e.ticks?e.ticks.apply(e,r):e.domain()),y=i??(e.tickFormat?e.tickFormat.apply(e,r):uN),b=Math.max(s,0)+a,v=e.range(),_=+v[0]+l,E=+v[v.length-1]+l,T=(e.bandwidth?hN:dN)(e.copy(),l),C=h.selection?h.selection():h,O=C.selectAll(".domain").data([null]),k=C.selectAll(".tick").data(g,e).order(),j=k.exit(),R=k.enter().append("g").attr("class","tick"),H=k.select("line"),B=k.select("text");O=O.merge(O.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),k=k.merge(R),H=H.merge(R.append("line").attr("stroke","currentColor").attr(c+"2",u*s)),B=B.merge(R.append("text").attr("fill","currentColor").attr(c,u*b).attr("dy",t===La?"0em":t===Zf?"0.71em":"0.32em")),h!==C&&(O=O.transition(h),k=k.transition(h),H=H.transition(h),B=B.transition(h),j=j.transition(h).attr("opacity",qm).attr("transform",function(q){return isFinite(q=T(q))?f(q+l):this.getAttribute("transform")}),R.attr("opacity",qm).attr("transform",function(q){var F=this.parentNode.__axis;return f((F&&isFinite(F=F(q))?F:T(q))+l)})),j.remove(),O.attr("d",t===Fs||t===Na?o?"M"+u*o+","+_+"H"+l+"V"+E+"H"+u*o:"M"+l+","+_+"V"+E:o?"M"+_+","+u*o+"V"+l+"H"+E+"V"+u*o:"M"+_+","+l+"H"+E),k.attr("opacity",1).attr("transform",function(q){return f(T(q)+l)}),H.attr(c+"2",u*s),B.attr(c,u*b).text(y),C.filter(pN).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Na?"start":t===Fs?"end":"middle"),C.each(function(){this.__axis=T})}return d.scale=function(h){return arguments.length?(e=h,d):e},d.ticks=function(){return r=Array.from(arguments),d},d.tickArguments=function(h){return arguments.length?(r=h==null?[]:Array.from(h),d):r.slice()},d.tickValues=function(h){return arguments.length?(n=h==null?null:Array.from(h),d):n&&n.slice()},d.tickFormat=function(h){return arguments.length?(i=h,d):i},d.tickSize=function(h){return arguments.length?(s=o=+h,d):s},d.tickSizeInner=function(h){return arguments.length?(s=+h,d):s},d.tickSizeOuter=function(h){return arguments.length?(o=+h,d):o},d.tickPadding=function(h){return arguments.length?(a=+h,d):a},d.offset=function(h){return arguments.length?(l=+h,d):l},d}function v8(t){return vu(La,t)}function E8(t){return vu(Na,t)}function S8(t){return vu(Zf,t)}function x8(t){return vu(Fs,t)}var gN={value:()=>{}};function Bh(){for(var t=0,e=arguments.length,r={},n;t=0&&(n=r.slice(i+1),r=r.slice(0,i)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:n}})}$a.prototype=Bh.prototype={constructor:$a,on:function(t,e){var r=this._,n=mN(t+"",r),i,s=-1,o=n.length;if(arguments.length<2){for(;++s0)for(var r=new Array(i),n=0,i,s;n=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),Km.hasOwnProperty(e)?{space:Km[e],local:t}:t}function wN(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===ed&&e.documentElement.namespaceURI===ed?e.createElement(t):e.createElementNS(r,t)}}function bN(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function X_(t){var e=Eu(t);return(e.local?bN:wN)(e)}function _N(){}function Fh(t){return t==null?_N:function(){return this.querySelector(t)}}function vN(t){typeof t!="function"&&(t=Fh(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i=E&&(E=_+1);!(C=b[E])&&++E=0;)(o=n[i])&&(s&&o.compareDocumentPosition(s)^4&&s.parentNode.insertBefore(o,s),s=o);return this}function qN(t){t||(t=YN);function e(f,d){return f&&d?t(f.__data__,d.__data__):!f-!d}for(var r=this._groups,n=r.length,i=new Array(n),s=0;se?1:t>=e?0:NaN}function KN(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function GN(){return Array.from(this)}function XN(){for(var t=this._groups,e=0,r=t.length;e1?this.each((e==null?a$:typeof e=="function"?u$:l$)(t,e,r??"")):qi(this.node(),t)}function qi(t,e){return t.style.getPropertyValue(e)||tv(t).getComputedStyle(t,null).getPropertyValue(e)}function f$(t){return function(){delete this[t]}}function d$(t,e){return function(){this[t]=e}}function h$(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function p$(t,e){return arguments.length>1?this.each((e==null?f$:typeof e=="function"?h$:d$)(t,e)):this.node()[t]}function rv(t){return t.trim().split(/^|\s+/)}function Uh(t){return t.classList||new nv(t)}function nv(t){this._node=t,this._names=rv(t.getAttribute("class")||"")}nv.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function iv(t,e){for(var r=Uh(t),n=-1,i=e.length;++n=0&&(r=e.slice(n+1),e=e.slice(0,n)),{type:e,name:r}})}function j$(t){return function(){var e=this.__on;if(e){for(var r=0,n=-1,i=e.length,s;r>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):r===8?oa(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):r===4?oa(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=ek.exec(t))?new mt(e[1],e[2],e[3],1):(e=tk.exec(t))?new mt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=rk.exec(t))?oa(e[1],e[2],e[3],e[4]):(e=nk.exec(t))?oa(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=ik.exec(t))?ty(e[1],e[2]/100,e[3]/100,1):(e=sk.exec(t))?ty(e[1],e[2]/100,e[3]/100,e[4]):Gm.hasOwnProperty(t)?Jm(Gm[t]):t==="transparent"?new mt(NaN,NaN,NaN,0):null}function Jm(t){return new mt(t>>16&255,t>>8&255,t&255,1)}function oa(t,e,r,n){return n<=0&&(t=e=r=NaN),new mt(t,e,r,n)}function lk(t){return t instanceof No||(t=Zn(t)),t?(t=t.rgb(),new mt(t.r,t.g,t.b,t.opacity)):new mt}function nd(t,e,r,n){return arguments.length===1?lk(t):new mt(t,e,r,n??1)}function mt(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}zh(mt,nd,lv(No,{brighter(t){return t=t==null?fl:Math.pow(fl,t),new mt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?go:Math.pow(go,t),new mt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new mt(Yn(this.r),Yn(this.g),Yn(this.b),dl(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Zm,formatHex:Zm,formatHex8:uk,formatRgb:ey,toString:ey}));function Zm(){return`#${Un(this.r)}${Un(this.g)}${Un(this.b)}`}function uk(){return`#${Un(this.r)}${Un(this.g)}${Un(this.b)}${Un((isNaN(this.opacity)?1:this.opacity)*255)}`}function ey(){const t=dl(this.opacity);return`${t===1?"rgb(":"rgba("}${Yn(this.r)}, ${Yn(this.g)}, ${Yn(this.b)}${t===1?")":`, ${t})`}`}function dl(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Yn(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Un(t){return t=Yn(t),(t<16?"0":"")+t.toString(16)}function ty(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Ht(t,e,r,n)}function uv(t){if(t instanceof Ht)return new Ht(t.h,t.s,t.l,t.opacity);if(t instanceof No||(t=Zn(t)),!t)return new Ht;if(t instanceof Ht)return t;t=t.rgb();var e=t.r/255,r=t.g/255,n=t.b/255,i=Math.min(e,r,n),s=Math.max(e,r,n),o=NaN,a=s-i,l=(s+i)/2;return a?(e===s?o=(r-n)/a+(r0&&l<1?0:o,new Ht(o,a,l,t.opacity)}function ck(t,e,r,n){return arguments.length===1?uv(t):new Ht(t,e,r,n??1)}function Ht(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}zh(Ht,ck,lv(No,{brighter(t){return t=t==null?fl:Math.pow(fl,t),new Ht(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?go:Math.pow(go,t),new Ht(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new mt(Rc(t>=240?t-240:t+120,i,n),Rc(t,i,n),Rc(t<120?t+240:t-120,i,n),this.opacity)},clamp(){return new Ht(ry(this.h),aa(this.s),aa(this.l),dl(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=dl(this.opacity);return`${t===1?"hsl(":"hsla("}${ry(this.h)}, ${aa(this.s)*100}%, ${aa(this.l)*100}%${t===1?")":`, ${t})`}`}}));function ry(t){return t=(t||0)%360,t<0?t+360:t}function aa(t){return Math.max(0,Math.min(1,t||0))}function Rc(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}const jh=t=>()=>t;function fk(t,e){return function(r){return t+r*e}}function dk(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}function hk(t){return(t=+t)==1?cv:function(e,r){return r-e?dk(e,r,t):jh(isNaN(e)?r:e)}}function cv(t,e){var r=e-t;return r?fk(t,r):jh(isNaN(t)?e:t)}const hl=function t(e){var r=hk(e);function n(i,s){var o=r((i=nd(i)).r,(s=nd(s)).r),a=r(i.g,s.g),l=r(i.b,s.b),u=cv(i.opacity,s.opacity);return function(c){return i.r=o(c),i.g=a(c),i.b=l(c),i.opacity=u(c),i+""}}return n.gamma=t,n}(1);function pk(t,e){e||(e=[]);var r=t?Math.min(e.length,t.length):0,n=e.slice(),i;return function(s){for(i=0;ir&&(s=e.slice(r,s),a[o]?a[o]+=s:a[++o]=s),(n=n[0])===(i=i[0])?a[o]?a[o]+=i:a[++o]=i:(a[++o]=null,l.push({i:o,x:Ut(n,i)})),r=Lc.lastIndex;return r180?c+=360:c-u>180&&(u+=360),d.push({i:f.push(i(f)+"rotate(",null,n)-2,x:Ut(u,c)})):c&&f.push(i(f)+"rotate("+c+n)}function a(u,c,f,d){u!==c?d.push({i:f.push(i(f)+"skewX(",null,n)-2,x:Ut(u,c)}):c&&f.push(i(f)+"skewX("+c+n)}function l(u,c,f,d,h,g){if(u!==f||c!==d){var y=h.push(i(h)+"scale(",null,",",null,")");g.push({i:y-4,x:Ut(u,f)},{i:y-2,x:Ut(c,d)})}else(f!==1||d!==1)&&h.push(i(h)+"scale("+f+","+d+")")}return function(u,c){var f=[],d=[];return u=t(u),c=t(c),s(u.translateX,u.translateY,c.translateX,c.translateY,f,d),o(u.rotate,c.rotate,f,d),a(u.skewX,c.skewX,f,d),l(u.scaleX,u.scaleY,c.scaleX,c.scaleY,f,d),u=c=null,function(h){for(var g=-1,y=d.length,b;++g=0&&t._call.call(void 0,e),t=t._next;--Yi}function sy(){ei=(gl=yo.now())+Su,Yi=Us=0;try{Pk()}finally{Yi=0,Lk(),ei=0}}function Rk(){var t=yo.now(),e=t-gl;e>pv&&(Su-=e,gl=t)}function Lk(){for(var t,e=pl,r,n=1/0;e;)e._call?(n>e._time&&(n=e._time),t=e,e=e._next):(r=e._next,e._next=null,e=t?t._next=r:pl=r);zs=t,od(n)}function od(t){if(!Yi){Us&&(Us=clearTimeout(Us));var e=t-ei;e>24?(t<1/0&&(Us=setTimeout(sy,t-yo.now()-Su)),Is&&(Is=clearInterval(Is))):(Is||(gl=yo.now(),Is=setInterval(Rk,pv)),Yi=1,gv(sy))}}function oy(t,e,r){var n=new ml;return e=e==null?0:+e,n.restart(i=>{n.stop(),t(i+e)},e,r),n}var Nk=Bh("start","end","cancel","interrupt"),$k=[],yv=0,ay=1,ad=2,ka=3,ly=4,ld=5,Da=6;function xu(t,e,r,n,i,s){var o=t.__transition;if(!o)t.__transition={};else if(r in o)return;kk(t,r,{name:e,index:n,group:i,on:Nk,tween:$k,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:yv})}function Vh(t,e){var r=Xt(t,e);if(r.state>yv)throw new Error("too late; already scheduled");return r}function br(t,e){var r=Xt(t,e);if(r.state>ka)throw new Error("too late; already running");return r}function Xt(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function kk(t,e,r){var n=t.__transition,i;n[e]=r,r.timer=mv(s,0,r.time);function s(u){r.state=ay,r.timer.restart(o,r.delay,r.time),r.delay<=u&&o(u-r.delay)}function o(u){var c,f,d,h;if(r.state!==ay)return l();for(c in n)if(h=n[c],h.name===r.name){if(h.state===ka)return oy(o);h.state===ly?(h.state=Da,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete n[c]):+cad&&n.state=0&&(e=e.slice(0,r)),!e||e==="start"})}function dD(t,e,r){var n,i,s=fD(e)?Vh:br;return function(){var o=s(this,t),a=o.on;a!==n&&(i=(n=a).copy()).on(e,r),o.on=i}}function hD(t,e){var r=this._id;return arguments.length<2?Xt(this.node(),r).on.on(t):this.each(dD(r,t,e))}function pD(t){return function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}}function gD(){return this.on("end.remove",pD(this._id))}function mD(t){var e=this._name,r=this._id;typeof t!="function"&&(t=Fh(t));for(var n=this._groups,i=n.length,s=new Array(i),o=0;o+t;function DD(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var BD={time:null,delay:0,duration:250,ease:DD};function FD(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return r}function UD(t){var e,r;t instanceof Fr?(e=t._id,t=t._name):(e=_v(),(r=BD).time=Wh(),t=t==null?null:t+"");for(var n=this._groups,i=n.length,s=0;s=0))throw new Error(`invalid digits: ${t}`);if(e>15)return vv;const r=10**e;return function(n){this._+=n[0];for(let i=1,s=n.length;iRn)if(!(Math.abs(f*l-u*c)>Rn)||!s)this._append`L${this._x1=e},${this._y1=r}`;else{let h=n-o,g=i-a,y=l*l+u*u,b=h*h+g*g,v=Math.sqrt(y),_=Math.sqrt(d),E=s*Math.tan((ud-Math.acos((y+d-b)/(2*v*_)))/2),T=E/_,C=E/v;Math.abs(T-1)>Rn&&this._append`L${e+T*c},${r+T*f}`,this._append`A${s},${s},0,0,${+(f*h>c*g)},${this._x1=e+C*l},${this._y1=r+C*u}`}}arc(e,r,n,i,s,o){if(e=+e,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(i),l=n*Math.sin(i),u=e+a,c=r+l,f=1^o,d=o?i-s:s-i;this._x1===null?this._append`M${u},${c}`:(Math.abs(this._x1-u)>Rn||Math.abs(this._y1-c)>Rn)&&this._append`L${u},${c}`,n&&(d<0&&(d=d%cd+cd),d>zD?this._append`A${n},${n},0,1,${f},${e-a},${r-l}A${n},${n},0,1,${f},${this._x1=u},${this._y1=c}`:d>Rn&&this._append`A${n},${n},0,${+(d>=ud)},${f},${this._x1=e+n*Math.cos(s)},${this._y1=r+n*Math.sin(s)}`)}rect(e,r,n,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function WD(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function yl(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function Ki(t){return t=yl(Math.abs(t)),t?t[1]:NaN}function VD(t,e){return function(r,n){for(var i=r.length,s=[],o=0,a=t[0],l=0;i>0&&a>0&&(l+a+1>n&&(a=Math.max(1,n-l)),s.push(r.substring(i-=a,i+a)),!((l+=a+1)>n));)a=t[o=(o+1)%t.length];return s.reverse().join(e)}}function qD(t){return function(e){return e.replace(/[0-9]/g,function(r){return t[+r]})}}var YD=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function wl(t){if(!(e=YD.exec(t)))throw new Error("invalid format: "+t);var e;return new Yh({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}wl.prototype=Yh.prototype;function Yh(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}Yh.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function KD(t){e:for(var e=t.length,r=1,n=-1,i;r0&&(n=0);break}return n>0?t.slice(0,n)+t.slice(i+1):t}var Ev;function GD(t,e){var r=yl(t,e);if(!r)return t+"";var n=r[0],i=r[1],s=i-(Ev=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=n.length;return s===o?n:s>o?n+new Array(s-o+1).join("0"):s>0?n.slice(0,s)+"."+n.slice(s):"0."+new Array(1-s).join("0")+yl(t,Math.max(0,e+s-1))[0]}function uy(t,e){var r=yl(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const cy={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:WD,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>uy(t*100,e),r:uy,s:GD,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function fy(t){return t}var dy=Array.prototype.map,hy=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function XD(t){var e=t.grouping===void 0||t.thousands===void 0?fy:VD(dy.call(t.grouping,Number),t.thousands+""),r=t.currency===void 0?"":t.currency[0]+"",n=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",s=t.numerals===void 0?fy:qD(dy.call(t.numerals,String)),o=t.percent===void 0?"%":t.percent+"",a=t.minus===void 0?"−":t.minus+"",l=t.nan===void 0?"NaN":t.nan+"";function u(f){f=wl(f);var d=f.fill,h=f.align,g=f.sign,y=f.symbol,b=f.zero,v=f.width,_=f.comma,E=f.precision,T=f.trim,C=f.type;C==="n"?(_=!0,C="g"):cy[C]||(E===void 0&&(E=12),T=!0,C="g"),(b||d==="0"&&h==="=")&&(b=!0,d="0",h="=");var O=y==="$"?r:y==="#"&&/[boxX]/.test(C)?"0"+C.toLowerCase():"",k=y==="$"?n:/[%p]/.test(C)?o:"",j=cy[C],R=/[defgprs%]/.test(C);E=E===void 0?6:/[gprs]/.test(C)?Math.max(1,Math.min(21,E)):Math.max(0,Math.min(20,E));function H(B){var q=O,F=k,A,$,U;if(C==="c")F=j(B)+F,B="";else{B=+B;var D=B<0||1/B<0;if(B=isNaN(B)?l:j(Math.abs(B),E),T&&(B=KD(B)),D&&+B==0&&g!=="+"&&(D=!1),q=(D?g==="("?g:a:g==="-"||g==="("?"":g)+q,F=(C==="s"?hy[8+Ev/3]:"")+F+(D&&g==="("?")":""),R){for(A=-1,$=B.length;++A<$;)if(U=B.charCodeAt(A),48>U||U>57){F=(U===46?i+B.slice(A+1):B.slice(A))+F,B=B.slice(0,A);break}}}_&&!b&&(B=e(B,1/0));var V=q.length+B.length+F.length,K=V>1)+q+B+F+K.slice(V);break;default:B=K+q+B+F;break}return s(B)}return H.toString=function(){return f+""},H}function c(f,d){var h=u((f=wl(f),f.type="f",f)),g=Math.max(-8,Math.min(8,Math.floor(Ki(d)/3)))*3,y=Math.pow(10,-g),b=hy[8+g/3];return function(v){return h(y*v)+b}}return{format:u,formatPrefix:c}}var ua,Sv,xv;QD({thousands:",",grouping:[3],currency:["$",""]});function QD(t){return ua=XD(t),Sv=ua.format,xv=ua.formatPrefix,ua}function JD(t){return Math.max(0,-Ki(Math.abs(t)))}function ZD(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Ki(e)/3)))*3-Ki(Math.abs(t)))}function eB(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Ki(e)-Ki(t))+1}function $o(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}const py=Symbol("implicit");function Tv(){var t=new Wm,e=[],r=[],n=py;function i(s){let o=t.get(s);if(o===void 0){if(n!==py)return n;t.set(s,o=e.push(s)-1)}return r[o%r.length]}return i.domain=function(s){if(!arguments.length)return e.slice();e=[],t=new Wm;for(const o of s)t.has(o)||t.set(o,e.push(o)-1);return i},i.range=function(s){return arguments.length?(r=Array.from(s),i):r.slice()},i.unknown=function(s){return arguments.length?(n=s,i):n},i.copy=function(){return Tv(e,r).unknown(n)},$o.apply(i,arguments),i}function tB(){var t=Tv().unknown(void 0),e=t.domain,r=t.range,n=0,i=1,s,o,a=!1,l=0,u=0,c=.5;delete t.unknown;function f(){var d=e().length,h=ie&&(r=t,t=e,e=r),function(n){return Math.max(t,Math.min(e,n))}}function sB(t,e,r){var n=t[0],i=t[1],s=e[0],o=e[1];return i2?oB:sB,l=u=null,f}function f(d){return d==null||isNaN(d=+d)?s:(l||(l=a(t.map(n),e,r)))(n(o(d)))}return f.invert=function(d){return o(i((u||(u=a(e,t.map(n),Ut)))(d)))},f.domain=function(d){return arguments.length?(t=Array.from(d,nB),c()):t.slice()},f.range=function(d){return arguments.length?(e=Array.from(d),c()):e.slice()},f.rangeRound=function(d){return e=Array.from(d),r=vk,c()},f.clamp=function(d){return arguments.length?(o=d?!0:Ai,c()):o!==Ai},f.interpolate=function(d){return arguments.length?(r=d,c()):r},f.unknown=function(d){return arguments.length?(s=d,f):s},function(d,h){return n=d,i=h,c()}}function Mv(){return aB()(Ai,Ai)}function lB(t,e,r,n){var i=Jf(t,e,r),s;switch(n=wl(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(t),Math.abs(e));return n.precision==null&&!isNaN(s=ZD(i,o))&&(n.precision=s),xv(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(s=eB(i,Math.max(Math.abs(t),Math.abs(e))))&&(n.precision=s-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(s=JD(i))&&(n.precision=s-(n.type==="%")*2);break}}return Sv(n)}function uB(t){var e=t.domain;return t.ticks=function(r){var n=e();return aN(n[0],n[n.length-1],r??10)},t.tickFormat=function(r,n){var i=e();return lB(i[0],i[i.length-1],r??10,n)},t.nice=function(r){r==null&&(r=10);var n=e(),i=0,s=n.length-1,o=n[i],a=n[s],l,u,c=10;for(a0;){if(u=Qf(o,a,r),u===l)return n[i]=o,n[s]=a,e(n);if(u>0)o=Math.floor(o/u)*u,a=Math.ceil(a/u)*u;else if(u<0)o=Math.ceil(o*u)/u,a=Math.floor(a*u)/u;else break;l=u}return t},t}function cB(){var t=Mv();return t.copy=function(){return Av(t,cB())},$o.apply(t,arguments),uB(t)}function fB(t,e){t=t.slice();var r=0,n=t.length-1,i=t[r],s=t[n],o;return s(t(s=new Date(+s)),s),i.ceil=s=>(t(s=new Date(s-1)),e(s,1),t(s),s),i.round=s=>{const o=i(s),a=i.ceil(s);return s-o(e(s=new Date(+s),o==null?1:Math.floor(o)),s),i.range=(s,o,a)=>{const l=[];if(s=i.ceil(s),a=a==null?1:Math.floor(a),!(s0))return l;let u;do l.push(u=new Date(+s)),e(s,a),t(s);while(uqe(o=>{if(o>=o)for(;t(o),!s(o);)o.setTime(o-1)},(o,a)=>{if(o>=o)if(a<0)for(;++a<=0;)for(;e(o,-1),!s(o););else for(;--a>=0;)for(;e(o,1),!s(o););}),r&&(i.count=(s,o)=>(Nc.setTime(+s),$c.setTime(+o),t(Nc),t($c),Math.floor(r(Nc,$c))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(n?o=>n(o)%s===0:o=>i.count(0,o)%s===0):i)),i}const bl=qe(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);bl.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?qe(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):bl);bl.range;const Ir=1e3,It=Ir*60,Or=It*60,Ur=Or*24,Kh=Ur*7,my=Ur*30,kc=Ur*365,zn=qe(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*Ir)},(t,e)=>(e-t)/Ir,t=>t.getUTCSeconds());zn.range;const Gh=qe(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Ir)},(t,e)=>{t.setTime(+t+e*It)},(t,e)=>(e-t)/It,t=>t.getMinutes());Gh.range;const Xh=qe(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*It)},(t,e)=>(e-t)/It,t=>t.getUTCMinutes());Xh.range;const Qh=qe(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Ir-t.getMinutes()*It)},(t,e)=>{t.setTime(+t+e*Or)},(t,e)=>(e-t)/Or,t=>t.getHours());Qh.range;const Jh=qe(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*Or)},(t,e)=>(e-t)/Or,t=>t.getUTCHours());Jh.range;const ko=qe(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*It)/Ur,t=>t.getDate()-1);ko.range;const Tu=qe(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/Ur,t=>t.getUTCDate()-1);Tu.range;const Cv=qe(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/Ur,t=>Math.floor(t/Ur));Cv.range;function ui(t){return qe(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,r)=>{e.setDate(e.getDate()+r*7)},(e,r)=>(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*It)/Kh)}const Au=ui(0),_l=ui(1),dB=ui(2),hB=ui(3),Gi=ui(4),pB=ui(5),gB=ui(6);Au.range;_l.range;dB.range;hB.range;Gi.range;pB.range;gB.range;function ci(t){return qe(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r*7)},(e,r)=>(r-e)/Kh)}const Mu=ci(0),vl=ci(1),mB=ci(2),yB=ci(3),Xi=ci(4),wB=ci(5),bB=ci(6);Mu.range;vl.range;mB.range;yB.range;Xi.range;wB.range;bB.range;const Zh=qe(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Zh.range;const ep=qe(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());ep.range;const zr=qe(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());zr.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:qe(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)});zr.range;const jr=qe(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());jr.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:qe(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)});jr.range;function Iv(t,e,r,n,i,s){const o=[[zn,1,Ir],[zn,5,5*Ir],[zn,15,15*Ir],[zn,30,30*Ir],[s,1,It],[s,5,5*It],[s,15,15*It],[s,30,30*It],[i,1,Or],[i,3,3*Or],[i,6,6*Or],[i,12,12*Or],[n,1,Ur],[n,2,2*Ur],[r,1,Kh],[e,1,my],[e,3,3*my],[t,1,kc]];function a(u,c,f){const d=cb).right(o,d);if(h===o.length)return t.every(Jf(u/kc,c/kc,f));if(h===0)return bl.every(Math.max(Jf(u,c,f),1));const[g,y]=o[d/o[h-1][2]53)return null;"w"in w||(w.w=1),"Z"in w?(M=Bc(Os(w.y,0,1)),z=M.getUTCDay(),M=z>4||z===0?vl.ceil(M):vl(M),M=Tu.offset(M,(w.V-1)*7),w.y=M.getUTCFullYear(),w.m=M.getUTCMonth(),w.d=M.getUTCDate()+(w.w+6)%7):(M=Dc(Os(w.y,0,1)),z=M.getDay(),M=z>4||z===0?_l.ceil(M):_l(M),M=ko.offset(M,(w.V-1)*7),w.y=M.getFullYear(),w.m=M.getMonth(),w.d=M.getDate()+(w.w+6)%7)}else("W"in w||"U"in w)&&("w"in w||(w.w="u"in w?w.u%7:"W"in w?1:0),z="Z"in w?Bc(Os(w.y,0,1)).getUTCDay():Dc(Os(w.y,0,1)).getDay(),w.m=0,w.d="W"in w?(w.w+6)%7+w.W*7-(z+5)%7:w.w+w.U*7-(z+6)%7);return"Z"in w?(w.H+=w.Z/100|0,w.M+=w.Z%100,Bc(w)):Dc(w)}}function j(ee,ce,P,w){for(var S=0,M=ce.length,z=P.length,W,Q;S=z)return-1;if(W=ce.charCodeAt(S++),W===37){if(W=ce.charAt(S++),Q=C[W in yy?ce.charAt(S++):W],!Q||(w=Q(ee,P,w))<0)return-1}else if(W!=P.charCodeAt(w++))return-1}return w}function R(ee,ce,P){var w=u.exec(ce.slice(P));return w?(ee.p=c.get(w[0].toLowerCase()),P+w[0].length):-1}function H(ee,ce,P){var w=h.exec(ce.slice(P));return w?(ee.w=g.get(w[0].toLowerCase()),P+w[0].length):-1}function B(ee,ce,P){var w=f.exec(ce.slice(P));return w?(ee.w=d.get(w[0].toLowerCase()),P+w[0].length):-1}function q(ee,ce,P){var w=v.exec(ce.slice(P));return w?(ee.m=_.get(w[0].toLowerCase()),P+w[0].length):-1}function F(ee,ce,P){var w=y.exec(ce.slice(P));return w?(ee.m=b.get(w[0].toLowerCase()),P+w[0].length):-1}function A(ee,ce,P){return j(ee,e,ce,P)}function $(ee,ce,P){return j(ee,r,ce,P)}function U(ee,ce,P){return j(ee,n,ce,P)}function D(ee){return o[ee.getDay()]}function V(ee){return s[ee.getDay()]}function K(ee){return l[ee.getMonth()]}function J(ee){return a[ee.getMonth()]}function oe(ee){return i[+(ee.getHours()>=12)]}function de(ee){return 1+~~(ee.getMonth()/3)}function fe(ee){return o[ee.getUTCDay()]}function ge(ee){return s[ee.getUTCDay()]}function ye(ee){return l[ee.getUTCMonth()]}function X(ee){return a[ee.getUTCMonth()]}function G(ee){return i[+(ee.getUTCHours()>=12)]}function re(ee){return 1+~~(ee.getUTCMonth()/3)}return{format:function(ee){var ce=O(ee+="",E);return ce.toString=function(){return ee},ce},parse:function(ee){var ce=k(ee+="",!1);return ce.toString=function(){return ee},ce},utcFormat:function(ee){var ce=O(ee+="",T);return ce.toString=function(){return ee},ce},utcParse:function(ee){var ce=k(ee+="",!0);return ce.toString=function(){return ee},ce}}}var yy={"-":"",_:" ",0:"0"},Ge=/^\s*\d+/,TB=/^%/,AB=/[\\^$*+?|[\]().{}]/g;function Re(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",s=i.length;return n+(s[e.toLowerCase(),r]))}function CB(t,e,r){var n=Ge.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function IB(t,e,r){var n=Ge.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function OB(t,e,r){var n=Ge.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function PB(t,e,r){var n=Ge.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function RB(t,e,r){var n=Ge.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function wy(t,e,r){var n=Ge.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function by(t,e,r){var n=Ge.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function LB(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function NB(t,e,r){var n=Ge.exec(e.slice(r,r+1));return n?(t.q=n[0]*3-3,r+n[0].length):-1}function $B(t,e,r){var n=Ge.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function _y(t,e,r){var n=Ge.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function kB(t,e,r){var n=Ge.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function vy(t,e,r){var n=Ge.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function DB(t,e,r){var n=Ge.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function BB(t,e,r){var n=Ge.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function FB(t,e,r){var n=Ge.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function UB(t,e,r){var n=Ge.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function zB(t,e,r){var n=TB.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function jB(t,e,r){var n=Ge.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function HB(t,e,r){var n=Ge.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function Ey(t,e){return Re(t.getDate(),e,2)}function WB(t,e){return Re(t.getHours(),e,2)}function VB(t,e){return Re(t.getHours()%12||12,e,2)}function qB(t,e){return Re(1+ko.count(zr(t),t),e,3)}function Ov(t,e){return Re(t.getMilliseconds(),e,3)}function YB(t,e){return Ov(t,e)+"000"}function KB(t,e){return Re(t.getMonth()+1,e,2)}function GB(t,e){return Re(t.getMinutes(),e,2)}function XB(t,e){return Re(t.getSeconds(),e,2)}function QB(t){var e=t.getDay();return e===0?7:e}function JB(t,e){return Re(Au.count(zr(t)-1,t),e,2)}function Pv(t){var e=t.getDay();return e>=4||e===0?Gi(t):Gi.ceil(t)}function ZB(t,e){return t=Pv(t),Re(Gi.count(zr(t),t)+(zr(t).getDay()===4),e,2)}function e2(t){return t.getDay()}function t2(t,e){return Re(_l.count(zr(t)-1,t),e,2)}function r2(t,e){return Re(t.getFullYear()%100,e,2)}function n2(t,e){return t=Pv(t),Re(t.getFullYear()%100,e,2)}function i2(t,e){return Re(t.getFullYear()%1e4,e,4)}function s2(t,e){var r=t.getDay();return t=r>=4||r===0?Gi(t):Gi.ceil(t),Re(t.getFullYear()%1e4,e,4)}function o2(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Re(e/60|0,"0",2)+Re(e%60,"0",2)}function Sy(t,e){return Re(t.getUTCDate(),e,2)}function a2(t,e){return Re(t.getUTCHours(),e,2)}function l2(t,e){return Re(t.getUTCHours()%12||12,e,2)}function u2(t,e){return Re(1+Tu.count(jr(t),t),e,3)}function Rv(t,e){return Re(t.getUTCMilliseconds(),e,3)}function c2(t,e){return Rv(t,e)+"000"}function f2(t,e){return Re(t.getUTCMonth()+1,e,2)}function d2(t,e){return Re(t.getUTCMinutes(),e,2)}function h2(t,e){return Re(t.getUTCSeconds(),e,2)}function p2(t){var e=t.getUTCDay();return e===0?7:e}function g2(t,e){return Re(Mu.count(jr(t)-1,t),e,2)}function Lv(t){var e=t.getUTCDay();return e>=4||e===0?Xi(t):Xi.ceil(t)}function m2(t,e){return t=Lv(t),Re(Xi.count(jr(t),t)+(jr(t).getUTCDay()===4),e,2)}function y2(t){return t.getUTCDay()}function w2(t,e){return Re(vl.count(jr(t)-1,t),e,2)}function b2(t,e){return Re(t.getUTCFullYear()%100,e,2)}function _2(t,e){return t=Lv(t),Re(t.getUTCFullYear()%100,e,2)}function v2(t,e){return Re(t.getUTCFullYear()%1e4,e,4)}function E2(t,e){var r=t.getUTCDay();return t=r>=4||r===0?Xi(t):Xi.ceil(t),Re(t.getUTCFullYear()%1e4,e,4)}function S2(){return"+0000"}function xy(){return"%"}function Ty(t){return+t}function Ay(t){return Math.floor(+t/1e3)}var mi,Nv,x2,$v;T2({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function T2(t){return mi=xB(t),Nv=mi.format,x2=mi.parse,$v=mi.utcFormat,mi.utcParse,mi}function A2(t){return new Date(t)}function M2(t){return t instanceof Date?+t:+new Date(+t)}function tp(t,e,r,n,i,s,o,a,l,u){var c=Mv(),f=c.invert,d=c.domain,h=u(".%L"),g=u(":%S"),y=u("%I:%M"),b=u("%I %p"),v=u("%a %d"),_=u("%b %d"),E=u("%B"),T=u("%Y");function C(O){return(l(O)1?0:t<-1?wo:Math.acos(t)}function Cy(t){return t>=1?El:t<=-1?-El:Math.asin(t)}function rp(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(r==null)e=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);e=n}return t},()=>new HD(e)}function O2(t){return t.innerRadius}function P2(t){return t.outerRadius}function R2(t){return t.startAngle}function L2(t){return t.endAngle}function N2(t){return t&&t.padAngle}function $2(t,e,r,n,i,s,o,a){var l=r-t,u=n-e,c=o-i,f=a-s,d=f*l-c*u;if(!(d*dA*A+$*$&&(j=H,R=B),{cx:j,cy:R,x01:-c,y01:-f,x11:j*(i/C-1),y11:R*(i/C-1)}}function C8(){var t=O2,e=P2,r=Ie(0),n=null,i=R2,s=L2,o=N2,a=null,l=rp(u);function u(){var c,f,d=+t.apply(this,arguments),h=+e.apply(this,arguments),g=i.apply(this,arguments)-El,y=s.apply(this,arguments)-El,b=My(y-g),v=y>g;if(a||(a=c=l()),hht))a.moveTo(0,0);else if(b>Fa-ht)a.moveTo(h*On(g),h*Zt(g)),a.arc(0,0,h,g,y,!v),d>ht&&(a.moveTo(d*On(y),d*Zt(y)),a.arc(0,0,d,y,g,v));else{var _=g,E=y,T=g,C=y,O=b,k=b,j=o.apply(this,arguments)/2,R=j>ht&&(n?+n.apply(this,arguments):Mi(d*d+h*h)),H=Fc(My(h-d)/2,+r.apply(this,arguments)),B=H,q=H,F,A;if(R>ht){var $=Cy(R/d*Zt(j)),U=Cy(R/h*Zt(j));(O-=$*2)>ht?($*=v?1:-1,T+=$,C-=$):(O=0,T=C=(g+y)/2),(k-=U*2)>ht?(U*=v?1:-1,_+=U,E-=U):(k=0,_=E=(g+y)/2)}var D=h*On(_),V=h*Zt(_),K=d*On(C),J=d*Zt(C);if(H>ht){var oe=h*On(E),de=h*Zt(E),fe=d*On(T),ge=d*Zt(T),ye;if(bht?q>ht?(F=ca(fe,ge,D,V,h,q,v),A=ca(oe,de,K,J,h,q,v),a.moveTo(F.cx+F.x01,F.cy+F.y01),qht)||!(O>ht)?a.lineTo(K,J):B>ht?(F=ca(K,J,oe,de,d,-B,v),A=ca(D,V,fe,ge,d,-B,v),a.lineTo(F.cx+F.x01,F.cy+F.y01),B=h;--g)a.point(E[g],T[g]);a.lineEnd(),a.areaEnd()}v&&(E[d]=+t(b,d,f),T[d]=+e(b,d,f),a.point(n?+n(b,d,f):E[d],r?+r(b,d,f):T[d]))}if(_)return a=null,_+""||null}function c(){return k2().defined(i).curve(o).context(s)}return u.x=function(f){return arguments.length?(t=typeof f=="function"?f:Ie(+f),n=null,u):t},u.x0=function(f){return arguments.length?(t=typeof f=="function"?f:Ie(+f),u):t},u.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:Ie(+f),u):n},u.y=function(f){return arguments.length?(e=typeof f=="function"?f:Ie(+f),r=null,u):e},u.y0=function(f){return arguments.length?(e=typeof f=="function"?f:Ie(+f),u):e},u.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:Ie(+f),u):r},u.lineX0=u.lineY0=function(){return c().x(t).y(e)},u.lineY1=function(){return c().x(t).y(r)},u.lineX1=function(){return c().x(n).y(e)},u.defined=function(f){return arguments.length?(i=typeof f=="function"?f:Ie(!!f),u):i},u.curve=function(f){return arguments.length?(o=f,s!=null&&(a=o(s)),u):o},u.context=function(f){return arguments.length?(f==null?s=a=null:a=o(s=f),u):s},u}function D2(t,e){return et?1:e>=t?0:NaN}function B2(t){return t}function O8(){var t=B2,e=D2,r=null,n=Ie(0),i=Ie(Fa),s=Ie(0);function o(a){var l,u=(a=Cu(a)).length,c,f,d=0,h=new Array(u),g=new Array(u),y=+n.apply(this,arguments),b=Math.min(Fa,Math.max(-Fa,i.apply(this,arguments)-y)),v,_=Math.min(Math.abs(b)/u,s.apply(this,arguments)),E=_*(b<0?-1:1),T;for(l=0;l0&&(d+=T);for(e!=null?h.sort(function(C,O){return e(g[C],g[O])}):r!=null&&h.sort(function(C,O){return r(a[C],a[O])}),l=0,f=d?(b-u*E)/d:0;l0?T*f:0)+E,g[c]={data:a[c],index:l,value:T,startAngle:y,endAngle:v,padAngle:_};return g}return o.value=function(a){return arguments.length?(t=typeof a=="function"?a:Ie(+a),o):t},o.sortValues=function(a){return arguments.length?(e=a,r=null,o):e},o.sort=function(a){return arguments.length?(r=a,e=null,o):r},o.startAngle=function(a){return arguments.length?(n=typeof a=="function"?a:Ie(+a),o):n},o.endAngle=function(a){return arguments.length?(i=typeof a=="function"?a:Ie(+a),o):i},o.padAngle=function(a){return arguments.length?(s=typeof a=="function"?a:Ie(+a),o):s},o}function Iy(t,e){if((o=t.length)>1)for(var r=1,n,i,s=t[e[0]],o,a=s.length;r=0;)r[e]=e;return r}function F2(t,e){return t[e]}function U2(t){const e=[];return e.key=t,e}function P8(){var t=Ie([]),e=Oy,r=Iy,n=F2;function i(s){var o=Array.from(t.apply(this,arguments),U2),a,l=o.length,u=-1,c;for(const f of s)for(a=0,++u;a()=>t;function z2(t,{sourceEvent:e,target:r,transform:n,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},transform:{value:n,enumerable:!0,configurable:!0},_:{value:i}})}function Pr(t,e,r){this.k=t,this.x=e,this.y=r}Pr.prototype={constructor:Pr,scale:function(t){return t===1?this:new Pr(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new Pr(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Uv=new Pr(1,0,0);Pr.prototype;function Uc(t){t.stopImmediatePropagation()}function Ls(t){t.preventDefault(),t.stopImmediatePropagation()}function j2(t){return(!t.ctrlKey||t.type==="wheel")&&!t.button}function H2(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t,t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]):[[0,0],[t.clientWidth,t.clientHeight]]}function Py(){return this.__zoom||Uv}function W2(t){return-t.deltaY*(t.deltaMode===1?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function V2(){return navigator.maxTouchPoints||"ontouchstart"in this}function q2(t,e,r){var n=t.invertX(e[0][0])-r[0][0],i=t.invertX(e[1][0])-r[1][0],s=t.invertY(e[0][1])-r[0][1],o=t.invertY(e[1][1])-r[1][1];return t.translate(i>n?(n+i)/2:Math.min(0,n)||Math.max(0,i),o>s?(s+o)/2:Math.min(0,s)||Math.max(0,o))}function R8(){var t=j2,e=H2,r=q2,n=W2,i=V2,s=[0,1/0],o=[[-1/0,-1/0],[1/0,1/0]],a=250,l=Ik,u=Bh("start","zoom","end"),c,f,d,h=500,g=150,y=0,b=10;function v(A){A.property("__zoom",Py).on("wheel.zoom",j,{passive:!1}).on("mousedown.zoom",R).on("dblclick.zoom",H).filter(i).on("touchstart.zoom",B).on("touchmove.zoom",q).on("touchend.zoom touchcancel.zoom",F).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}v.transform=function(A,$,U,D){var V=A.selection?A.selection():A;V.property("__zoom",Py),A!==V?C(A,$,U,D):V.interrupt().each(function(){O(this,arguments).event(D).start().zoom(null,typeof $=="function"?$.apply(this,arguments):$).end()})},v.scaleBy=function(A,$,U,D){v.scaleTo(A,function(){var V=this.__zoom.k,K=typeof $=="function"?$.apply(this,arguments):$;return V*K},U,D)},v.scaleTo=function(A,$,U,D){v.transform(A,function(){var V=e.apply(this,arguments),K=this.__zoom,J=U==null?T(V):typeof U=="function"?U.apply(this,arguments):U,oe=K.invert(J),de=typeof $=="function"?$.apply(this,arguments):$;return r(E(_(K,de),J,oe),V,o)},U,D)},v.translateBy=function(A,$,U,D){v.transform(A,function(){return r(this.__zoom.translate(typeof $=="function"?$.apply(this,arguments):$,typeof U=="function"?U.apply(this,arguments):U),e.apply(this,arguments),o)},null,D)},v.translateTo=function(A,$,U,D,V){v.transform(A,function(){var K=e.apply(this,arguments),J=this.__zoom,oe=D==null?T(K):typeof D=="function"?D.apply(this,arguments):D;return r(Uv.translate(oe[0],oe[1]).scale(J.k).translate(typeof $=="function"?-$.apply(this,arguments):-$,typeof U=="function"?-U.apply(this,arguments):-U),K,o)},D,V)};function _(A,$){return $=Math.max(s[0],Math.min(s[1],$)),$===A.k?A:new Pr($,A.x,A.y)}function E(A,$,U){var D=$[0]-U[0]*A.k,V=$[1]-U[1]*A.k;return D===A.x&&V===A.y?A:new Pr(A.k,D,V)}function T(A){return[(+A[0][0]+ +A[1][0])/2,(+A[0][1]+ +A[1][1])/2]}function C(A,$,U,D){A.on("start.zoom",function(){O(this,arguments).event(D).start()}).on("interrupt.zoom end.zoom",function(){O(this,arguments).event(D).end()}).tween("zoom",function(){var V=this,K=arguments,J=O(V,K).event(D),oe=e.apply(V,K),de=U==null?T(oe):typeof U=="function"?U.apply(V,K):U,fe=Math.max(oe[1][0]-oe[0][0],oe[1][1]-oe[0][1]),ge=V.__zoom,ye=typeof $=="function"?$.apply(V,K):$,X=l(ge.invert(de).concat(fe/ge.k),ye.invert(de).concat(fe/ye.k));return function(G){if(G===1)G=ye;else{var re=X(G),ee=fe/re[2];G=new Pr(ee,de[0]-re[0]*ee,de[1]-re[1]*ee)}J.zoom(null,G)}})}function O(A,$,U){return!U&&A.__zooming||new k(A,$)}function k(A,$){this.that=A,this.args=$,this.active=0,this.sourceEvent=null,this.extent=e.apply(A,$),this.taps=0}k.prototype={event:function(A){return A&&(this.sourceEvent=A),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(A,$){return this.mouse&&A!=="mouse"&&(this.mouse[1]=$.invert(this.mouse[0])),this.touch0&&A!=="touch"&&(this.touch0[1]=$.invert(this.touch0[0])),this.touch1&&A!=="touch"&&(this.touch1[1]=$.invert(this.touch1[0])),this.that.__zoom=$,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(A){var $=$n(this.that).datum();u.call(A,this.that,new z2(A,{sourceEvent:this.sourceEvent,target:v,type:A,transform:this.that.__zoom,dispatch:u}),$)}};function j(A,...$){if(!t.apply(this,arguments))return;var U=O(this,$).event(A),D=this.__zoom,V=Math.max(s[0],Math.min(s[1],D.k*Math.pow(2,n.apply(this,arguments)))),K=In(A);if(U.wheel)(U.mouse[0][0]!==K[0]||U.mouse[0][1]!==K[1])&&(U.mouse[1]=D.invert(U.mouse[0]=K)),clearTimeout(U.wheel);else{if(D.k===V)return;U.mouse=[K,D.invert(K)],Ba(this),U.start()}Ls(A),U.wheel=setTimeout(J,g),U.zoom("mouse",r(E(_(D,V),U.mouse[0],U.mouse[1]),U.extent,o));function J(){U.wheel=null,U.end()}}function R(A,...$){if(d||!t.apply(this,arguments))return;var U=A.currentTarget,D=O(this,$,!0).event(A),V=$n(A.view).on("mousemove.zoom",de,!0).on("mouseup.zoom",fe,!0),K=In(A,U),J=A.clientX,oe=A.clientY;Q$(A.view),Uc(A),D.mouse=[K,this.__zoom.invert(K)],Ba(this),D.start();function de(ge){if(Ls(ge),!D.moved){var ye=ge.clientX-J,X=ge.clientY-oe;D.moved=ye*ye+X*X>y}D.event(ge).zoom("mouse",r(E(D.that.__zoom,D.mouse[0]=In(ge,U),D.mouse[1]),D.extent,o))}function fe(ge){V.on("mousemove.zoom mouseup.zoom",null),J$(ge.view,D.moved),Ls(ge),D.event(ge).end()}}function H(A,...$){if(t.apply(this,arguments)){var U=this.__zoom,D=In(A.changedTouches?A.changedTouches[0]:A,this),V=U.invert(D),K=U.k*(A.shiftKey?.5:2),J=r(E(_(U,K),D,V),e.apply(this,$),o);Ls(A),a>0?$n(this).transition().duration(a).call(C,J,D,A):$n(this).call(v.transform,J,D,A)}}function B(A,...$){if(t.apply(this,arguments)){var U=A.touches,D=U.length,V=O(this,$,A.changedTouches.length===D).event(A),K,J,oe,de;for(Uc(A),J=0;J{typeof t[r]>"u"?t[r]=e[r]:Ry(e[r])&&Ry(t[r])&&Object.keys(e[r]).length>0&&np(t[r],e[r])})}const zv={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function st(){const t=typeof document<"u"?document:{};return np(t,zv),t}const Y2={document:zv,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function ze(){const t=typeof window<"u"?window:{};return np(t,Y2),t}function K2(t){const e=t;Object.keys(e).forEach(r=>{try{e[r]=null}catch{}try{delete e[r]}catch{}})}function ti(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Ct(){return Date.now()}function G2(t){const e=ze();let r;return e.getComputedStyle&&(r=e.getComputedStyle(t,null)),!r&&t.currentStyle&&(r=t.currentStyle),r||(r=t.style),r}function dd(t,e){e===void 0&&(e="x");const r=ze();let n,i,s;const o=G2(t);return r.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(a=>a.replace(",",".")).join(", ")),s=new r.WebKitCSSMatrix(i==="none"?"":i)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),e==="x"&&(r.WebKitCSSMatrix?i=s.m41:n.length===16?i=parseFloat(n[12]):i=parseFloat(n[4])),e==="y"&&(r.WebKitCSSMatrix?i=s.m42:n.length===16?i=parseFloat(n[13]):i=parseFloat(n[5])),i||0}function js(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function X2(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function vt(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let r=1;re.indexOf(s)<0);for(let s=0,o=i.length;ss?"next":"prev",c=(d,h)=>u==="next"&&d>=h||u==="prev"&&d<=h,f=()=>{a=new Date().getTime(),o===null&&(o=a);const d=Math.max(Math.min((a-o)/l,1),0),h=.5-Math.cos(d*Math.PI)/2;let g=s+h*(r-s);if(c(g,r)&&(g=r),e.wrapperEl.scrollTo({[n]:g}),c(g,r)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:g})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(f)};f()}function fi(t){return t.querySelector(".swiper-slide-transform")||t.shadowRoot&&t.shadowRoot.querySelector(".swiper-slide-transform")||t}function Qe(t,e){return e===void 0&&(e=""),[...t.children].filter(r=>r.matches(e))}function Vt(t,e){e===void 0&&(e=[]);const r=document.createElement(t);return r.classList.add(...Array.isArray(e)?e:[e]),r}function Sl(t){const e=ze(),r=st(),n=t.getBoundingClientRect(),i=r.body,s=t.clientTop||i.clientTop||0,o=t.clientLeft||i.clientLeft||0,a=t===e?e.scrollY:t.scrollTop,l=t===e?e.scrollX:t.scrollLeft;return{top:n.top+a-s,left:n.left+l-o}}function Q2(t,e){const r=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&r.push(n):r.push(n),t=n}return r}function J2(t,e){const r=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&r.push(n):r.push(n),t=n}return r}function an(t,e){return ze().getComputedStyle(t,null).getPropertyValue(e)}function bo(t){let e=t,r;if(e){for(r=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(r+=1);return r}}function Kn(t,e){const r=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&r.push(n):r.push(n),n=n.parentElement;return r}function eo(t,e){function r(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",r))}e&&t.addEventListener("transitionend",r)}function hd(t,e,r){const n=ze();return r?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}let zc;function Z2(){const t=ze(),e=st();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Hv(){return zc||(zc=Z2()),zc}let jc;function eF(t){let{userAgent:e}=t===void 0?{}:t;const r=Hv(),n=ze(),i=n.navigator.platform,s=e||n.navigator.userAgent,o={ios:!1,android:!1},a=n.screen.width,l=n.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const f=s.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h=i==="Win32";let g=i==="MacIntel";const y=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&g&&r.touch&&y.indexOf(`${a}x${l}`)>=0&&(c=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),g=!1),u&&!h&&(o.os="android",o.android=!0),(c||d||f)&&(o.os="ios",o.ios=!0),o}function tF(t){return t===void 0&&(t={}),jc||(jc=eF(t)),jc}let Hc;function rF(){const t=ze();let e=!1;function r(){const n=t.navigator.userAgent.toLowerCase();return n.indexOf("safari")>=0&&n.indexOf("chrome")<0&&n.indexOf("android")<0}if(r()){const n=String(t.navigator.userAgent);if(n.includes("Version/")){const[i,s]=n.split("Version/")[1].split(" ")[0].split(".").map(o=>Number(o));e=i<16||i===16&&s<2}}return{isSafari:e||r(),needPerspectiveFix:e,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}function nF(){return Hc||(Hc=rF()),Hc}function iF(t){let{swiper:e,on:r,emit:n}=t;const i=ze();let s=null,o=null;const a=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(s=new ResizeObserver(f=>{o=i.requestAnimationFrame(()=>{const{width:d,height:h}=e;let g=d,y=h;f.forEach(b=>{let{contentBoxSize:v,contentRect:_,target:E}=b;E&&E!==e.el||(g=_?_.width:(v[0]||v).inlineSize,y=_?_.height:(v[0]||v).blockSize)}),(g!==d||y!==h)&&a()})}),s.observe(e.el))},u=()=>{o&&i.cancelAnimationFrame(o),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};r("init",()=>{if(e.params.resizeObserver&&typeof i.ResizeObserver<"u"){l();return}i.addEventListener("resize",a),i.addEventListener("orientationchange",c)}),r("destroy",()=>{u(),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",c)})}function sF(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=[],o=ze(),a=function(c,f){f===void 0&&(f={});const d=o.MutationObserver||o.WebkitMutationObserver,h=new d(g=>{if(e.__preventObserver__)return;if(g.length===1){i("observerUpdate",g[0]);return}const y=function(){i("observerUpdate",g[0])};o.requestAnimationFrame?o.requestAnimationFrame(y):o.setTimeout(y,0)});h.observe(c,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:typeof f.childList>"u"?!0:f.childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),s.push(h)},l=()=>{if(e.params.observer){if(e.params.observeParents){const c=Kn(e.hostEl);for(let f=0;f{s.forEach(c=>{c.disconnect()}),s.splice(0,s.length)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",l),n("destroy",u)}var oF={on(t,e,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const i=r?"unshift":"push";return t.split(" ").forEach(s=>{n.eventsListeners[s]||(n.eventsListeners[s]=[]),n.eventsListeners[s][i](e)}),n},once(t,e,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function i(){n.off(t,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,o=new Array(s),a=0;a=0&&e.eventsAnyListeners.splice(r,1),e},off(t,e){const r=this;return!r.eventsListeners||r.destroyed||!r.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?r.eventsListeners[n]=[]:r.eventsListeners[n]&&r.eventsListeners[n].forEach((i,s)=>{(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&r.eventsListeners[n].splice(s,1)})}),r},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,r,n;for(var i=arguments.length,s=new Array(i),o=0;o{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[l,...r])}),t.eventsListeners&&t.eventsListeners[l]&&t.eventsListeners[l].forEach(u=>{u.apply(n,r)})}),t}};function aF(){const t=this;let e,r;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?r=t.params.height:r=n.clientHeight,!(e===0&&t.isHorizontal()||r===0&&t.isVertical())&&(e=e-parseInt(an(n,"padding-left")||0,10)-parseInt(an(n,"padding-right")||0,10),r=r-parseInt(an(n,"padding-top")||0,10)-parseInt(an(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(r)&&(r=0),Object.assign(t,{width:e,height:r,size:t.isHorizontal()?e:r}))}function lF(){const t=this;function e(B){return t.isHorizontal()?B:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[B]}function r(B,q){return parseFloat(B.getPropertyValue(e(q))||0)}const n=t.params,{wrapperEl:i,slidesEl:s,size:o,rtlTranslate:a,wrongRTL:l}=t,u=t.virtual&&n.virtual.enabled,c=u?t.virtual.slides.length:t.slides.length,f=Qe(s,`.${t.params.slideClass}, swiper-slide`),d=u?t.virtual.slides.length:f.length;let h=[];const g=[],y=[];let b=n.slidesOffsetBefore;typeof b=="function"&&(b=n.slidesOffsetBefore.call(t));let v=n.slidesOffsetAfter;typeof v=="function"&&(v=n.slidesOffsetAfter.call(t));const _=t.snapGrid.length,E=t.slidesGrid.length;let T=n.spaceBetween,C=-b,O=0,k=0;if(typeof o>"u")return;typeof T=="string"&&T.indexOf("%")>=0?T=parseFloat(T.replace("%",""))/100*o:typeof T=="string"&&(T=parseFloat(T)),t.virtualSize=-T,f.forEach(B=>{a?B.style.marginLeft="":B.style.marginRight="",B.style.marginBottom="",B.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(Hs(i,"--swiper-centered-offset-before",""),Hs(i,"--swiper-centered-offset-after",""));const j=n.grid&&n.grid.rows>1&&t.grid;j&&t.grid.initSlides(d);let R;const H=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(B=>typeof n.breakpoints[B].slidesPerView<"u").length>0;for(let B=0;B1&&h.push(t.virtualSize-o)}if(u&&n.loop){const B=y[0]+T;if(n.slidesPerGroup>1){const q=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),F=B*n.slidesPerGroup;for(let A=0;A!n.cssMode||n.loop?!0:F!==f.length-1).forEach(q=>{q.style[B]=`${T}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let B=0;y.forEach(F=>{B+=F+(T||0)}),B-=T;const q=B-o;h=h.map(F=>F<=0?-b:F>q?q+v:F)}if(n.centerInsufficientSlides){let B=0;if(y.forEach(q=>{B+=q+(T||0)}),B-=T,B{h[A]=F-q}),g.forEach((F,A)=>{g[A]=F+q})}}if(Object.assign(t,{slides:f,snapGrid:h,slidesGrid:g,slidesSizesGrid:y}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Hs(i,"--swiper-centered-offset-before",`${-h[0]}px`),Hs(i,"--swiper-centered-offset-after",`${t.size/2-y[y.length-1]/2}px`);const B=-t.snapGrid[0],q=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(F=>F+B),t.slidesGrid=t.slidesGrid.map(F=>F+q)}if(d!==c&&t.emit("slidesLengthChange"),h.length!==_&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),g.length!==E&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),!u&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const B=`${n.containerModifierClass}backface-hidden`,q=t.el.classList.contains(B);d<=n.maxBackfaceHiddenSlides?q||t.el.classList.add(B):q&&t.el.classList.remove(B)}}function uF(t){const e=this,r=[],n=e.virtual&&e.params.virtual.enabled;let i=0,s;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const o=a=>n?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{r.push(a)});else for(s=0;se.slides.length&&!n)break;r.push(o(a))}else r.push(o(e.activeIndex));for(s=0;si?a:i}(i||i===0)&&(e.wrapperEl.style.height=`${i}px`)}function cF(){const t=this,e=t.slides,r=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n"u"&&e.updateSlidesOffset();let o=-t;i&&(o=t),n.forEach(l=>{l.classList.remove(r.slideVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=r.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l=0&&h1&&g<=e.size||h<=0&&g>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(l),n[l].classList.add(r.slideVisibleClass)),u.progress=i?-f:f,u.originalProgress=i?-d:d}}function dF(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const r=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:i,isBeginning:s,isEnd:o,progressLoop:a}=e;const l=s,u=o;if(n===0)i=0,s=!0,o=!0;else{i=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,f=Math.abs(t-e.maxTranslate())<1;s=c||i<=0,o=f||i>=1,c&&(i=0),f&&(i=1)}if(r.loop){const c=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),d=e.slidesGrid[c],h=e.slidesGrid[f],g=e.slidesGrid[e.slidesGrid.length-1],y=Math.abs(t);y>=d?a=(y-d)/g:a=(y+g-h)/g,a>1&&(a-=1)}Object.assign(e,{progress:i,progressLoop:a,isBeginning:s,isEnd:o}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&e.updateSlidesProgress(t),s&&!l&&e.emit("reachBeginning toEdge"),o&&!u&&e.emit("reachEnd toEdge"),(l&&!s||u&&!o)&&e.emit("fromEdge"),e.emit("progress",i)}function hF(){const t=this,{slides:e,params:r,slidesEl:n,activeIndex:i}=t,s=t.virtual&&r.virtual.enabled,o=l=>Qe(n,`.${r.slideClass}${l}, swiper-slide${l}`)[0];e.forEach(l=>{l.classList.remove(r.slideActiveClass,r.slideNextClass,r.slidePrevClass)});let a;if(s)if(r.loop){let l=i-t.virtual.slidesBefore;l<0&&(l=t.virtual.slides.length+l),l>=t.virtual.slides.length&&(l-=t.virtual.slides.length),a=o(`[data-swiper-slide-index="${l}"]`)}else a=o(`[data-swiper-slide-index="${i}"]`);else a=e[i];if(a){a.classList.add(r.slideActiveClass);let l=J2(a,`.${r.slideClass}, swiper-slide`)[0];r.loop&&!l&&(l=e[0]),l&&l.classList.add(r.slideNextClass);let u=Q2(a,`.${r.slideClass}, swiper-slide`)[0];r.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(r.slidePrevClass)}t.emitSlidesClasses()}const Ua=(t,e)=>{if(!t||t.destroyed||!t.params)return;const r=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(r());if(n){let i=n.querySelector(`.${t.params.lazyPreloaderClass}`);!i&&t.isElement&&(n.shadowRoot?i=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(i=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},Wc=(t,e)=>{if(!t.slides[e])return;const r=t.slides[e].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},pd=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const r=t.slides.length;if(!r||!e||e<0)return;e=Math.min(e,r);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),i=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const o=i,a=[o-e];a.push(...Array.from({length:e}).map((l,u)=>o+n+u)),t.slides.forEach((l,u)=>{a.includes(l.column)&&Wc(t,u)});return}const s=i+n-1;if(t.params.rewind||t.params.loop)for(let o=i-e;o<=s+e;o+=1){const a=(o%r+r)%r;(as)&&Wc(t,a)}else for(let o=Math.max(i-e,0);o<=Math.min(s+e,r-1);o+=1)o!==i&&(o>s||o=e[s]&&n=e[s]&&n=e[s]&&(i=s);return r.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function gF(t){const e=this,r=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:i,activeIndex:s,realIndex:o,snapIndex:a}=e;let l=t,u;const c=d=>{let h=d-e.virtual.slidesBefore;return h<0&&(h=e.virtual.slides.length+h),h>=e.virtual.slides.length&&(h-=e.virtual.slides.length),h};if(typeof l>"u"&&(l=pF(e)),n.indexOf(r)>=0)u=n.indexOf(r);else{const d=Math.min(i.slidesPerGroupSkip,l);u=d+Math.floor((l-d)/i.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),l===s){u!==a&&(e.snapIndex=u,e.emit("snapIndexChange")),e.params.loop&&e.virtual&&e.params.virtual.enabled&&(e.realIndex=c(l));return}let f;e.virtual&&i.virtual.enabled&&i.loop?f=c(l):e.slides[l]?f=parseInt(e.slides[l].getAttribute("data-swiper-slide-index")||l,10):f=l,Object.assign(e,{previousSnapIndex:a,snapIndex:u,previousRealIndex:o,realIndex:f,previousIndex:s,activeIndex:l}),e.initialized&&pd(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function mF(t,e){const r=this,n=r.params;let i=t.closest(`.${n.slideClass}, swiper-slide`);!i&&r.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(a=>{!i&&a.matches&&a.matches(`.${n.slideClass}, swiper-slide`)&&(i=a)});let s=!1,o;if(i){for(let a=0;al?c=l:n&&to?a="next":s=l.length&&(b=l.length-1);const v=-l[b];if(a.normalizeSlideIndex)for(let E=0;E=C&&T=C&&T=C&&(o=E)}if(s.initialized&&o!==f&&(!s.allowSlideNext&&(d?v>s.translate&&v>s.minTranslate():vs.translate&&v>s.maxTranslate()&&(f||0)!==o))return!1;o!==(c||0)&&r&&s.emit("beforeSlideChangeStart"),s.updateProgress(v);let _;if(o>f?_="next":o0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[E?"scrollLeft":"scrollTop"]=T})):h[E?"scrollLeft":"scrollTop"]=T,C&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return jv({swiper:s,targetPosition:T,side:E?"left":"top"}),!0;h.scrollTo({[E?"left":"top"]:T,behavior:"smooth"})}return!0}return s.setTransition(e),s.setTranslate(v),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",e,n),s.transitionStart(r,_),e===0?s.transitionEnd(r,_):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(T){!s||s.destroyed||T.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(r,_))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function IF(t,e,r,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),r===void 0&&(r=!0),typeof t=="string"&&(t=parseInt(t,10));const i=this;let s=t;return i.params.loop&&(i.virtual&&i.params.virtual.enabled?s=s+i.virtual.slidesBefore:s=i.getSlideIndexByData(s)),i.slideTo(s,e,r,n)}function OF(t,e,r){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:i,params:s,animating:o}=n;if(!i)return n;let a=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex{n.slideTo(n.activeIndex+l,t,e,r)}),!0}return s.rewind&&n.isEnd?n.slideTo(0,t,e,r):n.slideTo(n.activeIndex+l,t,e,r)}function PF(t,e,r){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:i,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:u}=n;if(!l)return n;const c=n.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const f=a?n.translate:-n.translate;function d(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const h=d(f),g=s.map(v=>d(v));let y=s[g.indexOf(h)-1];if(typeof y>"u"&&i.cssMode){let v;s.forEach((_,E)=>{h>=_&&(v=E)}),typeof v<"u"&&(y=s[v>0?v-1:v])}let b=0;if(typeof y<"u"&&(b=o.indexOf(y),b<0&&(b=n.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(b=b-n.slidesPerViewDynamic("previous",!0)+1,b=Math.max(b,0))),i.rewind&&n.isBeginning){const v=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(v,t,e,r)}else if(i.loop&&n.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{n.slideTo(b,t,e,r)}),!0;return n.slideTo(b,t,e,r)}function RF(t,e,r){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;return n.slideTo(n.activeIndex,t,e,r)}function LF(t,e,r,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const i=this;let s=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const u=i.snapGrid[a],c=i.snapGrid[a+1];l-u>(c-u)*n&&(s+=i.params.slidesPerGroup)}else{const u=i.snapGrid[a-1],c=i.snapGrid[a];l-u<=(c-u)*n&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,t,e,r)}function NF(){const t=this,{params:e,slidesEl:r}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let i=t.clickedIndex,s;const o=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;s=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?it.slides.length-t.loopedSlides+n/2?(t.loopFix(),i=t.getSlideIndex(Qe(r,`${o}[data-swiper-slide-index="${s}"]`)[0]),ti(()=>{t.slideTo(i)})):t.slideTo(i):i>t.slides.length-n?(t.loopFix(),i=t.getSlideIndex(Qe(r,`${o}[data-swiper-slide-index="${s}"]`)[0]),ti(()=>{t.slideTo(i)})):t.slideTo(i)}else t.slideTo(i)}var $F={slideTo:CF,slideToLoop:IF,slideNext:OF,slidePrev:PF,slideReset:RF,slideToClosest:LF,slideToClickedSlide:NF};function kF(t){const e=this,{params:r,slidesEl:n}=e;if(!r.loop||e.virtual&&e.params.virtual.enabled)return;Qe(n,`.${r.slideClass}, swiper-slide`).forEach((s,o)=>{s.setAttribute("data-swiper-slide-index",o)}),e.loopFix({slideRealIndex:t,direction:r.centeredSlides?void 0:"next"})}function DF(t){let{slideRealIndex:e,slideTo:r=!0,direction:n,setTranslate:i,activeSlideIndex:s,byController:o,byMousewheel:a}=t===void 0?{}:t;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:f,slidesEl:d,params:h}=l;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&h.virtual.enabled){r&&(!h.centeredSlides&&l.snapIndex===0?l.slideTo(l.virtual.slides.length,0,!1,!0):h.centeredSlides&&l.snapIndex"u"?s=l.getSlideIndex(l.slides.filter(k=>k.classList.contains(h.slideActiveClass))[0]):_=s;const E=n==="next"||!n,T=n==="prev"||!n;let C=0,O=0;if(sl.slides.length-y*2){O=Math.max(s-(l.slides.length-y*2),h.slidesPerGroup);for(let k=0;k{l.slides[k].swiperLoopMoveDOM=!0,d.prepend(l.slides[k]),l.slides[k].swiperLoopMoveDOM=!1}),E&&v.forEach(k=>{l.slides[k].swiperLoopMoveDOM=!0,d.append(l.slides[k]),l.slides[k].swiperLoopMoveDOM=!1}),l.recalcSlides(),h.slidesPerView==="auto"&&l.updateSlides(),h.watchSlidesProgress&&l.updateSlidesOffset(),r){if(b.length>0&&T)if(typeof e>"u"){const k=l.slidesGrid[_],R=l.slidesGrid[_+C]-k;a?l.setTranslate(l.translate-R):(l.slideTo(_+C,0,!1,!0),i&&(l.touches[l.isHorizontal()?"startX":"startY"]+=R,l.touchEventsData.currentTranslate=l.translate))}else i&&(l.slideToLoop(e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate);else if(v.length>0&&E)if(typeof e>"u"){const k=l.slidesGrid[_],R=l.slidesGrid[_-O]-k;a?l.setTranslate(l.translate-R):(l.slideTo(_-O,0,!1,!0),i&&(l.touches[l.isHorizontal()?"startX":"startY"]+=R,l.touchEventsData.currentTranslate=l.translate))}else l.slideToLoop(e,0,!1,!0)}if(l.allowSlidePrev=c,l.allowSlideNext=f,l.controller&&l.controller.control&&!o){const k={slideRealIndex:e,direction:n,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(j=>{!j.destroyed&&j.params.loop&&j.loopFix({...k,slideTo:j.params.slidesPerView===h.slidesPerView?r:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...k,slideTo:l.controller.control.params.slidesPerView===h.slidesPerView?r:!1})}l.emit("loopFix")}function BF(){const t=this,{params:e,slidesEl:r}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(i=>{const s=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;n[s]=i}),t.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),n.forEach(i=>{r.append(i)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var FF={loopCreate:kF,loopFix:DF,loopDestroy:BF};function UF(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const r=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function zF(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var jF={setGrabCursor:UF,unsetGrabCursor:zF};function HF(t,e){e===void 0&&(e=this);function r(n){if(!n||n===st()||n===ze())return null;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(t);return!i&&!n.getRootNode?null:i||r(n.getRootNode().host)}return r(e)}function WF(t){const e=this,r=st(),n=ze(),i=e.touchEventsData;i.evCache.push(t);const{params:s,touches:o,enabled:a}=e;if(!a||!s.simulateTouch&&t.pointerType==="mouse"||e.animating&&s.preventInteractionOnTransition)return;!e.animating&&s.cssMode&&s.loop&&e.loopFix();let l=t;l.originalEvent&&(l=l.originalEvent);let u=l.target;if(s.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(u)||"which"in l&&l.which===3||"button"in l&&l.button>0||i.isTouched&&i.isMoved)return;const c=!!s.noSwipingClass&&s.noSwipingClass!=="",f=t.composedPath?t.composedPath():t.path;c&&l.target&&l.target.shadowRoot&&f&&(u=f[0]);const d=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,h=!!(l.target&&l.target.shadowRoot);if(s.noSwiping&&(h?HF(d,u):u.closest(d))){e.allowClick=!0;return}if(s.swipeHandler&&!u.closest(s.swipeHandler))return;o.currentX=l.pageX,o.currentY=l.pageY;const g=o.currentX,y=o.currentY,b=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,v=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(b&&(g<=v||g>=n.innerWidth-v))if(b==="prevent")t.preventDefault();else return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=g,o.startY=y,i.touchStartTime=Ct(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1);let _=!0;u.matches(i.focusableElements)&&(_=!1,u.nodeName==="SELECT"&&(i.isTouched=!1)),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==u&&r.activeElement.blur();const E=_&&e.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||E)&&!u.isContentEditable&&l.preventDefault(),s.freeMode&&s.freeMode.enabled&&e.freeMode&&e.animating&&!s.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",l)}function VF(t){const e=st(),r=this,n=r.touchEventsData,{params:i,touches:s,rtlTranslate:o,enabled:a}=r;if(!a||!i.simulateTouch&&t.pointerType==="mouse")return;let l=t;if(l.originalEvent&&(l=l.originalEvent),!n.isTouched){n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",l);return}const u=n.evCache.findIndex(k=>k.pointerId===l.pointerId);u>=0&&(n.evCache[u]=l);const c=n.evCache.length>1?n.evCache[0]:l,f=c.pageX,d=c.pageY;if(l.preventedByNestedSwiper){s.startX=f,s.startY=d;return}if(!r.allowTouchMove){l.target.matches(n.focusableElements)||(r.allowClick=!1),n.isTouched&&(Object.assign(s,{startX:f,startY:d,prevX:r.touches.currentX,prevY:r.touches.currentY,currentX:f,currentY:d}),n.touchStartTime=Ct());return}if(i.touchReleaseOnEdges&&!i.loop){if(r.isVertical()){if(ds.startY&&r.translate>=r.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(fs.startX&&r.translate>=r.minTranslate())return}if(e.activeElement&&l.target===e.activeElement&&l.target.matches(n.focusableElements)){n.isMoved=!0,r.allowClick=!1;return}if(n.allowTouchCallbacks&&r.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;s.currentX=f,s.currentY=d;const h=s.currentX-s.startX,g=s.currentY-s.startY;if(r.params.threshold&&Math.sqrt(h**2+g**2)"u"){let k;r.isHorizontal()&&s.currentY===s.startY||r.isVertical()&&s.currentX===s.startX?n.isScrolling=!1:h*h+g*g>=25&&(k=Math.atan2(Math.abs(g),Math.abs(h))*180/Math.PI,n.isScrolling=r.isHorizontal()?k>i.touchAngle:90-k>i.touchAngle)}if(n.isScrolling&&r.emit("touchMoveOpposite",l),typeof n.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(n.startMoving=!0),n.isScrolling||r.zoom&&r.params.zoom&&r.params.zoom.enabled&&n.evCache.length>1){n.isTouched=!1;return}if(!n.startMoving)return;r.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation();let y=r.isHorizontal()?h:g,b=r.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(y=Math.abs(y)*(o?1:-1),b=Math.abs(b)*(o?1:-1)),s.diff=y,y*=i.touchRatio,o&&(y=-y,b=-b);const v=r.touchesDirection;r.swipeDirection=y>0?"prev":"next",r.touchesDirection=b>0?"prev":"next";const _=r.params.loop&&!i.cssMode,E=r.swipeDirection==="next"&&r.allowSlideNext||r.swipeDirection==="prev"&&r.allowSlidePrev;if(!n.isMoved){if(_&&E&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const k=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});r.wrapperEl.dispatchEvent(k)}n.allowMomentumBounce=!1,i.grabCursor&&(r.allowSlideNext===!0||r.allowSlidePrev===!0)&&r.setGrabCursor(!0),r.emit("sliderFirstMove",l)}let T;n.isMoved&&v!==r.touchesDirection&&_&&E&&Math.abs(y)>=1&&(r.loopFix({direction:r.swipeDirection,setTranslate:!0}),T=!0),r.emit("sliderMove",l),n.isMoved=!0,n.currentTranslate=y+n.startTranslate;let C=!0,O=i.resistanceRatio;if(i.touchReleaseOnEdges&&(O=0),y>0?(_&&E&&!T&&n.currentTranslate>(i.centeredSlides?r.minTranslate()-r.size/2:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(C=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+y)**O))):y<0&&(_&&E&&!T&&n.currentTranslate<(i.centeredSlides?r.maxTranslate()+r.size/2:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-(i.slidesPerView==="auto"?r.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&!r.allowSlideNext&&(n.currentTranslate=n.startTranslate),i.threshold>0)if(Math.abs(y)>i.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,s.diff=r.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{n.currentTranslate=n.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&r.freeMode||i.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}function qF(t){const e=this,r=e.touchEventsData,n=r.evCache.findIndex(E=>E.pointerId===t.pointerId);if(n>=0&&r.evCache.splice(n,1),["pointercancel","pointerout","pointerleave","contextmenu"].includes(t.type)&&!(["pointercancel","contextmenu"].includes(t.type)&&(e.browser.isSafari||e.browser.isWebView)))return;const{params:i,touches:s,rtlTranslate:o,slidesGrid:a,enabled:l}=e;if(!l||!i.simulateTouch&&t.pointerType==="mouse")return;let u=t;if(u.originalEvent&&(u=u.originalEvent),r.allowTouchCallbacks&&e.emit("touchEnd",u),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&i.grabCursor&&e.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}i.grabCursor&&r.isMoved&&r.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const c=Ct(),f=c-r.touchStartTime;if(e.allowClick){const E=u.path||u.composedPath&&u.composedPath();e.updateClickedSlide(E&&E[0]||u.target,E),e.emit("tap click",u),f<300&&c-r.lastClickTime<300&&e.emit("doubleTap doubleClick",u)}if(r.lastClickTime=Ct(),ti(()=>{e.destroyed||(e.allowClick=!0)}),!r.isTouched||!r.isMoved||!e.swipeDirection||s.diff===0||r.currentTranslate===r.startTranslate){r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;return}r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;let d;if(i.followFinger?d=o?e.translate:-e.translate:d=-r.currentTranslate,i.cssMode)return;if(i.freeMode&&i.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:d});return}let h=0,g=e.slidesSizesGrid[0];for(let E=0;E=a[E]&&d=a[E]&&(h=E,g=a[a.length-1]-a[a.length-2])}let y=null,b=null;i.rewind&&(e.isBeginning?b=i.virtual&&i.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(y=0));const v=(d-a[h])/g,_=hi.longSwipesMs){if(!i.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(v>=i.longSwipesRatio?e.slideTo(i.rewind&&e.isEnd?y:h+_):e.slideTo(h)),e.swipeDirection==="prev"&&(v>1-i.longSwipesRatio?e.slideTo(h+_):b!==null&&v<0&&Math.abs(v)>i.longSwipesRatio?e.slideTo(b):e.slideTo(h))}else{if(!i.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(u.target===e.navigation.nextEl||u.target===e.navigation.prevEl)?u.target===e.navigation.nextEl?e.slideTo(h+_):e.slideTo(h):(e.swipeDirection==="next"&&e.slideTo(y!==null?y:h+_),e.swipeDirection==="prev"&&e.slideTo(b!==null?b:h))}}function Ly(){const t=this,{params:e,el:r}=t;if(r&&r.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:i,snapGrid:s}=t,o=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const a=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!a?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!o?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=i,t.allowSlideNext=n,t.params.watchOverflow&&s!==t.snapGrid&&t.checkOverflow()}function YF(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function KF(){const t=this,{wrapperEl:e,rtlTranslate:r,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let i;const s=t.maxTranslate()-t.minTranslate();s===0?i=0:i=(t.translate-t.minTranslate())/s,i!==t.progress&&t.updateProgress(r?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function GF(t){const e=this;Ua(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}let Ny=!1;function XF(){}const Vv=(t,e)=>{const r=st(),{params:n,el:i,wrapperEl:s,device:o}=t,a=!!n.nested,l=e==="on"?"addEventListener":"removeEventListener",u=e;i[l]("pointerdown",t.onTouchStart,{passive:!1}),r[l]("pointermove",t.onTouchMove,{passive:!1,capture:a}),r[l]("pointerup",t.onTouchEnd,{passive:!0}),r[l]("pointercancel",t.onTouchEnd,{passive:!0}),r[l]("pointerout",t.onTouchEnd,{passive:!0}),r[l]("pointerleave",t.onTouchEnd,{passive:!0}),r[l]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[l]("click",t.onClick,!0),n.cssMode&&s[l]("scroll",t.onScroll),n.updateOnWindowResize?t[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",Ly,!0):t[u]("observerUpdate",Ly,!0),i[l]("load",t.onLoad,{capture:!0})};function QF(){const t=this,e=st(),{params:r}=t;t.onTouchStart=WF.bind(t),t.onTouchMove=VF.bind(t),t.onTouchEnd=qF.bind(t),r.cssMode&&(t.onScroll=KF.bind(t)),t.onClick=YF.bind(t),t.onLoad=GF.bind(t),Ny||(e.addEventListener("touchstart",XF),Ny=!0),Vv(t,"on")}function JF(){Vv(this,"off")}var ZF={attachEvents:QF,detachEvents:JF};const $y=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function eU(){const t=this,{realIndex:e,initialized:r,params:n,el:i}=t,s=n.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const o=t.getBreakpoint(s,t.params.breakpointsBase,t.el);if(!o||t.currentBreakpoint===o)return;const l=(o in s?s[o]:void 0)||t.originalParams,u=$y(t,n),c=$y(t,l),f=n.enabled;u&&!c?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(i.classList.add(`${n.containerModifierClass}grid`),(l.grid.fill&&l.grid.fill==="column"||!l.grid.fill&&n.grid.fill==="column")&&i.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(v=>{if(typeof l[v]>"u")return;const _=n[v]&&n[v].enabled,E=l[v]&&l[v].enabled;_&&!E&&t[v].disable(),!_&&E&&t[v].enable()});const d=l.direction&&l.direction!==n.direction,h=n.loop&&(l.slidesPerView!==n.slidesPerView||d),g=n.loop;d&&r&&t.changeDirection(),vt(t.params,l);const y=t.params.enabled,b=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),f&&!y?t.disable():!f&&y&&t.enable(),t.currentBreakpoint=o,t.emit("_beforeBreakpoint",l),r&&(h?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!g&&b?(t.loopCreate(e),t.updateSlides()):g&&!b&&t.loopDestroy()),t.emit("breakpoint",l)}function tU(t,e,r){if(e===void 0&&(e="window"),!t||e==="container"&&!r)return;let n=!1;const i=ze(),s=e==="window"?i.innerHeight:r.clientHeight,o=Object.keys(t).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:s*l,point:a}}return{value:a,point:a}});o.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a{typeof n=="object"?Object.keys(n).forEach(i=>{n[i]&&r.push(e+i)}):typeof n=="string"&&r.push(e+n)}),r}function iU(){const t=this,{classNames:e,params:r,rtl:n,el:i,device:s}=t,o=nU(["initialized",r.direction,{"free-mode":t.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&r.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);e.push(...o),i.classList.add(...e),t.emitContainerClasses()}function sU(){const t=this,{el:e,classNames:r}=t;e.classList.remove(...r),t.emitContainerClasses()}var oU={addClasses:iU,removeClasses:sU};function aU(){const t=this,{isLocked:e,params:r}=t,{slidesOffsetBefore:n}=r;if(n){const i=t.slides.length-1,s=t.slidesGrid[i]+t.slidesSizesGrid[i]+n*2;t.isLocked=t.size>s}else t.isLocked=t.snapGrid.length===1;r.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),r.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var lU={checkOverflow:aU},gd={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function uU(t,e){return function(n){n===void 0&&(n={});const i=Object.keys(n)[0],s=n[i];if(typeof s!="object"||s===null){vt(e,n);return}if(t[i]===!0&&(t[i]={enabled:!0}),i==="navigation"&&t[i]&&t[i].enabled&&!t[i].prevEl&&!t[i].nextEl&&(t[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&t[i]&&t[i].enabled&&!t[i].el&&(t[i].auto=!0),!(i in t&&"enabled"in s)){vt(e,n);return}typeof t[i]=="object"&&!("enabled"in t[i])&&(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}),vt(e,n)}}const Vc={eventsEmitter:oF,update:yF,translate:SF,transition:MF,slide:$F,loop:FF,grabCursor:jF,events:ZF,breakpoints:rU,checkOverflow:lU,classes:oU},qc={};class _t{constructor(){let e,r;for(var n=arguments.length,i=new Array(n),s=0;s1){const c=[];return o.querySelectorAll(r.el).forEach(f=>{const d=vt({},r,{el:f});c.push(new _t(d))}),c}const a=this;a.__swiper__=!0,a.support=Hv(),a.device=tF({userAgent:r.userAgent}),a.browser=nF(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],r.modules&&Array.isArray(r.modules)&&a.modules.push(...r.modules);const l={};a.modules.forEach(c=>{c({params:r,swiper:a,extendParams:uU(r,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=vt({},gd,l);return a.params=vt({},u,qc,r),a.originalParams=vt({},a.params),a.passedParams=vt({},r),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getSlideIndex(e){const{slidesEl:r,params:n}=this,i=Qe(r,`.${n.slideClass}, swiper-slide`),s=bo(i[0]);return bo(e)-s}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(r=>r.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:r,params:n}=e;e.slides=Qe(r,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,r){const n=this;e=Math.min(Math.max(e,0),1);const i=n.minTranslate(),o=(n.maxTranslate()-i)*e+i;n.translateTo(o,typeof r>"u"?0:r),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const r=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",r.join(" "))}getSlideClasses(e){const r=this;return r.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(r.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const r=[];e.slides.forEach(n=>{const i=e.getSlideClasses(n);r.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",r)}slidesPerViewDynamic(e,r){e===void 0&&(e="current"),r===void 0&&(r=!1);const n=this,{params:i,slides:s,slidesGrid:o,slidesSizesGrid:a,size:l,activeIndex:u}=n;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let f=s[u]?s[u].swiperSlideSize:0,d;for(let h=u+1;hl&&(d=!0));for(let h=u-1;h>=0;h-=1)s[h]&&!d&&(f+=s[h].swiperSlideSize,c+=1,f>l&&(d=!0))}else if(e==="current")for(let f=u+1;f=0;f-=1)o[u]-o[f]{o.complete&&Ua(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function i(){const o=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}let s;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const o=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(o.length-1,0,!1,!0)}else s=e.slideTo(e.activeIndex,0,!1,!0);s||i()}n.watchOverflow&&r!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,r){r===void 0&&(r=!0);const n=this,i=n.params.direction;return e||(e=i==="horizontal"?"vertical":"horizontal"),e===i||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(s=>{e==="vertical"?s.style.width="":s.style.height=""}),n.emit("changeDirection"),r&&n.update()),n}changeLanguageDirection(e){const r=this;r.rtl&&e==="rtl"||!r.rtl&&e==="ltr"||(r.rtl=e==="rtl",r.rtlTranslate=r.params.direction==="horizontal"&&r.rtl,r.rtl?(r.el.classList.add(`${r.params.containerModifierClass}rtl`),r.el.dir="rtl"):(r.el.classList.remove(`${r.params.containerModifierClass}rtl`),r.el.dir="ltr"),r.update())}mount(e){const r=this;if(r.mounted)return!0;let n=e||r.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=r,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName==="SWIPER-CONTAINER"&&(r.isElement=!0);const i=()=>`.${(r.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=(()=>n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(i()):Qe(n,i())[0])();return!o&&r.params.createElements&&(o=Vt("div",r.params.wrapperClass),n.append(o),Qe(n,`.${r.params.slideClass}`).forEach(a=>{o.append(a)})),Object.assign(r,{el:n,wrapperEl:o,slidesEl:r.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:o,hostEl:r.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||an(n,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||an(n,"direction")==="rtl"),wrongRTL:an(o,"display")==="-webkit-box"}),!0}init(e){const r=this;if(r.initialized||r.mount(e)===!1)return r;r.emit("beforeInit"),r.params.breakpoints&&r.setBreakpoint(),r.addClasses(),r.updateSize(),r.updateSlides(),r.params.watchOverflow&&r.checkOverflow(),r.params.grabCursor&&r.enabled&&r.setGrabCursor(),r.params.loop&&r.virtual&&r.params.virtual.enabled?r.slideTo(r.params.initialSlide+r.virtual.slidesBefore,0,r.params.runCallbacksOnInit,!1,!0):r.slideTo(r.params.initialSlide,0,r.params.runCallbacksOnInit,!1,!0),r.params.loop&&r.loopCreate(),r.attachEvents();const i=[...r.el.querySelectorAll('[loading="lazy"]')];return r.isElement&&i.push(...r.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(s=>{s.complete?Ua(r,s):s.addEventListener("load",o=>{Ua(r,o.target)})}),pd(r),r.initialized=!0,pd(r),r.emit("init"),r.emit("afterInit"),r}destroy(e,r){e===void 0&&(e=!0),r===void 0&&(r=!0);const n=this,{params:i,el:s,wrapperEl:o,slides:a}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),r&&(n.removeClasses(),s.removeAttribute("style"),o.removeAttribute("style"),a&&a.length&&a.forEach(l=>{l.classList.remove(i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(l=>{n.off(l)}),e!==!1&&(n.el.swiper=null,K2(n)),n.destroyed=!0),null}static extendDefaults(e){vt(qc,e)}static get extendedDefaults(){return qc}static get defaults(){return gd}static installModule(e){_t.prototype.__modules__||(_t.prototype.__modules__=[]);const r=_t.prototype.__modules__;typeof e=="function"&&r.indexOf(e)<0&&r.push(e)}static use(e){return Array.isArray(e)?(e.forEach(r=>_t.installModule(r)),_t):(_t.installModule(e),_t)}}Object.keys(Vc).forEach(t=>{Object.keys(Vc[t]).forEach(e=>{_t.prototype[e]=Vc[t][e]})});_t.use([iF,sF]);var ct="top",St="bottom",xt="right",ft="left",Iu="auto",ds=[ct,St,xt,ft],ri="start",Qi="end",qv="clippingParents",ip="viewport",Ei="popper",Yv="reference",md=ds.reduce(function(t,e){return t.concat([e+"-"+ri,e+"-"+Qi])},[]),sp=[].concat(ds,[Iu]).reduce(function(t,e){return t.concat([e,e+"-"+ri,e+"-"+Qi])},[]),Kv="beforeRead",Gv="read",Xv="afterRead",Qv="beforeMain",Jv="main",Zv="afterMain",eE="beforeWrite",tE="write",rE="afterWrite",nE=[Kv,Gv,Xv,Qv,Jv,Zv,eE,tE,rE];function yr(t){return t?(t.nodeName||"").toLowerCase():null}function Tt(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ni(t){var e=Tt(t).Element;return t instanceof e||t instanceof Element}function Ot(t){var e=Tt(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function op(t){if(typeof ShadowRoot>"u")return!1;var e=Tt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function cU(t){var e=t.state;Object.keys(e.elements).forEach(function(r){var n=e.styles[r]||{},i=e.attributes[r]||{},s=e.elements[r];!Ot(s)||!yr(s)||(Object.assign(s.style,n),Object.keys(i).forEach(function(o){var a=i[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function fU(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(n){var i=e.elements[n],s=e.attributes[n]||{},o=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:r[n]),a=o.reduce(function(l,u){return l[u]="",l},{});!Ot(i)||!yr(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(l){i.removeAttribute(l)}))})}}const ap={name:"applyStyles",enabled:!0,phase:"write",fn:cU,effect:fU,requires:["computeStyles"]};function fr(t){return t.split("-")[0]}var Gn=Math.max,xl=Math.min,Ji=Math.round;function yd(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function iE(){return!/^((?!chrome|android).)*safari/i.test(yd())}function Zi(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=t.getBoundingClientRect(),i=1,s=1;e&&Ot(t)&&(i=t.offsetWidth>0&&Ji(n.width)/t.offsetWidth||1,s=t.offsetHeight>0&&Ji(n.height)/t.offsetHeight||1);var o=ni(t)?Tt(t):window,a=o.visualViewport,l=!iE()&&r,u=(n.left+(l&&a?a.offsetLeft:0))/i,c=(n.top+(l&&a?a.offsetTop:0))/s,f=n.width/i,d=n.height/s;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function lp(t){var e=Zi(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function sE(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&op(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Hr(t){return Tt(t).getComputedStyle(t)}function dU(t){return["table","td","th"].indexOf(yr(t))>=0}function En(t){return((ni(t)?t.ownerDocument:t.document)||window.document).documentElement}function Ou(t){return yr(t)==="html"?t:t.assignedSlot||t.parentNode||(op(t)?t.host:null)||En(t)}function ky(t){return!Ot(t)||Hr(t).position==="fixed"?null:t.offsetParent}function hU(t){var e=/firefox/i.test(yd()),r=/Trident/i.test(yd());if(r&&Ot(t)){var n=Hr(t);if(n.position==="fixed")return null}var i=Ou(t);for(op(i)&&(i=i.host);Ot(i)&&["html","body"].indexOf(yr(i))<0;){var s=Hr(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 Do(t){for(var e=Tt(t),r=ky(t);r&&dU(r)&&Hr(r).position==="static";)r=ky(r);return r&&(yr(r)==="html"||yr(r)==="body"&&Hr(r).position==="static")?e:r||hU(t)||e}function up(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function to(t,e,r){return Gn(t,xl(e,r))}function pU(t,e,r){var n=to(t,e,r);return n>r?r:n}function oE(){return{top:0,right:0,bottom:0,left:0}}function aE(t){return Object.assign({},oE(),t)}function lE(t,e){return e.reduce(function(r,n){return r[n]=t,r},{})}var gU=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,aE(typeof e!="number"?e:lE(e,ds))};function mU(t){var e,r=t.state,n=t.name,i=t.options,s=r.elements.arrow,o=r.modifiersData.popperOffsets,a=fr(r.placement),l=up(a),u=[ft,xt].indexOf(a)>=0,c=u?"height":"width";if(!(!s||!o)){var f=gU(i.padding,r),d=lp(s),h=l==="y"?ct:ft,g=l==="y"?St:xt,y=r.rects.reference[c]+r.rects.reference[l]-o[l]-r.rects.popper[c],b=o[l]-r.rects.reference[l],v=Do(s),_=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,E=y/2-b/2,T=f[h],C=_-d[c]-f[g],O=_/2-d[c]/2+E,k=to(T,O,C),j=l;r.modifiersData[n]=(e={},e[j]=k,e.centerOffset=k-O,e)}}function yU(t){var e=t.state,r=t.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||sE(e.elements.popper,i)&&(e.elements.arrow=i))}const uE={name:"arrow",enabled:!0,phase:"main",fn:mU,effect:yU,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function es(t){return t.split("-")[1]}var wU={top:"auto",right:"auto",bottom:"auto",left:"auto"};function bU(t,e){var r=t.x,n=t.y,i=e.devicePixelRatio||1;return{x:Ji(r*i)/i||0,y:Ji(n*i)/i||0}}function Dy(t){var e,r=t.popper,n=t.popperRect,i=t.placement,s=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,f=t.isFixed,d=o.x,h=d===void 0?0:d,g=o.y,y=g===void 0?0:g,b=typeof c=="function"?c({x:h,y}):{x:h,y};h=b.x,y=b.y;var v=o.hasOwnProperty("x"),_=o.hasOwnProperty("y"),E=ft,T=ct,C=window;if(u){var O=Do(r),k="clientHeight",j="clientWidth";if(O===Tt(r)&&(O=En(r),Hr(O).position!=="static"&&a==="absolute"&&(k="scrollHeight",j="scrollWidth")),O=O,i===ct||(i===ft||i===xt)&&s===Qi){T=St;var R=f&&O===C&&C.visualViewport?C.visualViewport.height:O[k];y-=R-n.height,y*=l?1:-1}if(i===ft||(i===ct||i===St)&&s===Qi){E=xt;var H=f&&O===C&&C.visualViewport?C.visualViewport.width:O[j];h-=H-n.width,h*=l?1:-1}}var B=Object.assign({position:a},u&&wU),q=c===!0?bU({x:h,y},Tt(r)):{x:h,y};if(h=q.x,y=q.y,l){var F;return Object.assign({},B,(F={},F[T]=_?"0":"",F[E]=v?"0":"",F.transform=(C.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",F))}return Object.assign({},B,(e={},e[T]=_?y+"px":"",e[E]=v?h+"px":"",e.transform="",e))}function _U(t){var e=t.state,r=t.options,n=r.gpuAcceleration,i=n===void 0?!0:n,s=r.adaptive,o=s===void 0?!0:s,a=r.roundOffsets,l=a===void 0?!0:a,u={placement:fr(e.placement),variation:es(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,Dy(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Dy(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const cp={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_U,data:{}};var da={passive:!0};function vU(t){var e=t.state,r=t.instance,n=t.options,i=n.scroll,s=i===void 0?!0:i,o=n.resize,a=o===void 0?!0:o,l=Tt(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach(function(c){c.addEventListener("scroll",r.update,da)}),a&&l.addEventListener("resize",r.update,da),function(){s&&u.forEach(function(c){c.removeEventListener("scroll",r.update,da)}),a&&l.removeEventListener("resize",r.update,da)}}const fp={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:vU,data:{}};var EU={left:"right",right:"left",bottom:"top",top:"bottom"};function za(t){return t.replace(/left|right|bottom|top/g,function(e){return EU[e]})}var SU={start:"end",end:"start"};function By(t){return t.replace(/start|end/g,function(e){return SU[e]})}function dp(t){var e=Tt(t),r=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:r,scrollTop:n}}function hp(t){return Zi(En(t)).left+dp(t).scrollLeft}function xU(t,e){var r=Tt(t),n=En(t),i=r.visualViewport,s=n.clientWidth,o=n.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;var u=iE();(u||!u&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a+hp(t),y:l}}function TU(t){var e,r=En(t),n=dp(t),i=(e=t.ownerDocument)==null?void 0:e.body,s=Gn(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Gn(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+hp(t),l=-n.scrollTop;return Hr(i||r).direction==="rtl"&&(a+=Gn(r.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function pp(t){var e=Hr(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function cE(t){return["html","body","#document"].indexOf(yr(t))>=0?t.ownerDocument.body:Ot(t)&&pp(t)?t:cE(Ou(t))}function ro(t,e){var r;e===void 0&&(e=[]);var n=cE(t),i=n===((r=t.ownerDocument)==null?void 0:r.body),s=Tt(n),o=i?[s].concat(s.visualViewport||[],pp(n)?n:[]):n,a=e.concat(o);return i?a:a.concat(ro(Ou(o)))}function wd(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function AU(t,e){var r=Zi(t,!1,e==="fixed");return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function Fy(t,e,r){return e===ip?wd(xU(t,r)):ni(e)?AU(e,r):wd(TU(En(t)))}function MU(t){var e=ro(Ou(t)),r=["absolute","fixed"].indexOf(Hr(t).position)>=0,n=r&&Ot(t)?Do(t):t;return ni(n)?e.filter(function(i){return ni(i)&&sE(i,n)&&yr(i)!=="body"}):[]}function CU(t,e,r,n){var i=e==="clippingParents"?MU(t):[].concat(e),s=[].concat(i,[r]),o=s[0],a=s.reduce(function(l,u){var c=Fy(t,u,n);return l.top=Gn(c.top,l.top),l.right=xl(c.right,l.right),l.bottom=xl(c.bottom,l.bottom),l.left=Gn(c.left,l.left),l},Fy(t,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function fE(t){var e=t.reference,r=t.element,n=t.placement,i=n?fr(n):null,s=n?es(n):null,o=e.x+e.width/2-r.width/2,a=e.y+e.height/2-r.height/2,l;switch(i){case ct:l={x:o,y:e.y-r.height};break;case St:l={x:o,y:e.y+e.height};break;case xt:l={x:e.x+e.width,y:a};break;case ft:l={x:e.x-r.width,y:a};break;default:l={x:e.x,y:e.y}}var u=i?up(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(s){case ri:l[u]=l[u]-(e[c]/2-r[c]/2);break;case Qi:l[u]=l[u]+(e[c]/2-r[c]/2);break}}return l}function ts(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=n===void 0?t.placement:n,s=r.strategy,o=s===void 0?t.strategy:s,a=r.boundary,l=a===void 0?qv:a,u=r.rootBoundary,c=u===void 0?ip:u,f=r.elementContext,d=f===void 0?Ei:f,h=r.altBoundary,g=h===void 0?!1:h,y=r.padding,b=y===void 0?0:y,v=aE(typeof b!="number"?b:lE(b,ds)),_=d===Ei?Yv:Ei,E=t.rects.popper,T=t.elements[g?_:d],C=CU(ni(T)?T:T.contextElement||En(t.elements.popper),l,c,o),O=Zi(t.elements.reference),k=fE({reference:O,element:E,strategy:"absolute",placement:i}),j=wd(Object.assign({},E,k)),R=d===Ei?j:O,H={top:C.top-R.top+v.top,bottom:R.bottom-C.bottom+v.bottom,left:C.left-R.left+v.left,right:R.right-C.right+v.right},B=t.modifiersData.offset;if(d===Ei&&B){var q=B[i];Object.keys(H).forEach(function(F){var A=[xt,St].indexOf(F)>=0?1:-1,$=[ct,St].indexOf(F)>=0?"y":"x";H[F]+=q[$]*A})}return H}function IU(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=r.boundary,s=r.rootBoundary,o=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,u=l===void 0?sp:l,c=es(n),f=c?a?md:md.filter(function(g){return es(g)===c}):ds,d=f.filter(function(g){return u.indexOf(g)>=0});d.length===0&&(d=f);var h=d.reduce(function(g,y){return g[y]=ts(t,{placement:y,boundary:i,rootBoundary:s,padding:o})[fr(y)],g},{});return Object.keys(h).sort(function(g,y){return h[g]-h[y]})}function OU(t){if(fr(t)===Iu)return[];var e=za(t);return[By(t),e,By(e)]}function PU(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var i=r.mainAxis,s=i===void 0?!0:i,o=r.altAxis,a=o===void 0?!0:o,l=r.fallbackPlacements,u=r.padding,c=r.boundary,f=r.rootBoundary,d=r.altBoundary,h=r.flipVariations,g=h===void 0?!0:h,y=r.allowedAutoPlacements,b=e.options.placement,v=fr(b),_=v===b,E=l||(_||!g?[za(b)]:OU(b)),T=[b].concat(E).reduce(function(ge,ye){return ge.concat(fr(ye)===Iu?IU(e,{placement:ye,boundary:c,rootBoundary:f,padding:u,flipVariations:g,allowedAutoPlacements:y}):ye)},[]),C=e.rects.reference,O=e.rects.popper,k=new Map,j=!0,R=T[0],H=0;H=0,$=A?"width":"height",U=ts(e,{placement:B,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),D=A?F?xt:ft:F?St:ct;C[$]>O[$]&&(D=za(D));var V=za(D),K=[];if(s&&K.push(U[q]<=0),a&&K.push(U[D]<=0,U[V]<=0),K.every(function(ge){return ge})){R=B,j=!1;break}k.set(B,K)}if(j)for(var J=g?3:1,oe=function(ye){var X=T.find(function(G){var re=k.get(G);if(re)return re.slice(0,ye).every(function(ee){return ee})});if(X)return R=X,"break"},de=J;de>0;de--){var fe=oe(de);if(fe==="break")break}e.placement!==R&&(e.modifiersData[n]._skip=!0,e.placement=R,e.reset=!0)}}const dE={name:"flip",enabled:!0,phase:"main",fn:PU,requiresIfExists:["offset"],data:{_skip:!1}};function Uy(t,e,r){return r===void 0&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function zy(t){return[ct,xt,St,ft].some(function(e){return t[e]>=0})}function RU(t){var e=t.state,r=t.name,n=e.rects.reference,i=e.rects.popper,s=e.modifiersData.preventOverflow,o=ts(e,{elementContext:"reference"}),a=ts(e,{altBoundary:!0}),l=Uy(o,n),u=Uy(a,i,s),c=zy(l),f=zy(u);e.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const hE={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:RU};function LU(t,e,r){var n=fr(t),i=[ft,ct].indexOf(n)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},e,{placement:t})):r,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[ft,xt].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function NU(t){var e=t.state,r=t.options,n=t.name,i=r.offset,s=i===void 0?[0,0]:i,o=sp.reduce(function(c,f){return c[f]=LU(f,e.rects,s),c},{}),a=o[e.placement],l=a.x,u=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[n]=o}const pE={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:NU};function $U(t){var e=t.state,r=t.name;e.modifiersData[r]=fE({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const gp={name:"popperOffsets",enabled:!0,phase:"read",fn:$U,data:{}};function kU(t){return t==="x"?"y":"x"}function DU(t){var e=t.state,r=t.options,n=t.name,i=r.mainAxis,s=i===void 0?!0:i,o=r.altAxis,a=o===void 0?!1:o,l=r.boundary,u=r.rootBoundary,c=r.altBoundary,f=r.padding,d=r.tether,h=d===void 0?!0:d,g=r.tetherOffset,y=g===void 0?0:g,b=ts(e,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),v=fr(e.placement),_=es(e.placement),E=!_,T=up(v),C=kU(T),O=e.modifiersData.popperOffsets,k=e.rects.reference,j=e.rects.popper,R=typeof y=="function"?y(Object.assign({},e.rects,{placement:e.placement})):y,H=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),B=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,q={x:0,y:0};if(O){if(s){var F,A=T==="y"?ct:ft,$=T==="y"?St:xt,U=T==="y"?"height":"width",D=O[T],V=D+b[A],K=D-b[$],J=h?-j[U]/2:0,oe=_===ri?k[U]:j[U],de=_===ri?-j[U]:-k[U],fe=e.elements.arrow,ge=h&&fe?lp(fe):{width:0,height:0},ye=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:oE(),X=ye[A],G=ye[$],re=to(0,k[U],ge[U]),ee=E?k[U]/2-J-re-X-H.mainAxis:oe-re-X-H.mainAxis,ce=E?-k[U]/2+J+re+G+H.mainAxis:de+re+G+H.mainAxis,P=e.elements.arrow&&Do(e.elements.arrow),w=P?T==="y"?P.clientTop||0:P.clientLeft||0:0,S=(F=B==null?void 0:B[T])!=null?F:0,M=D+ee-S-w,z=D+ce-S,W=to(h?xl(V,M):V,D,h?Gn(K,z):K);O[T]=W,q[T]=W-D}if(a){var Q,ie=T==="x"?ct:ft,ne=T==="x"?St:xt,le=O[C],se=C==="y"?"height":"width",pe=le+b[ie],he=le-b[ne],me=[ct,ft].indexOf(v)!==-1,I=(Q=B==null?void 0:B[C])!=null?Q:0,N=me?pe:le-k[se]-j[se]-I+H.altAxis,x=me?le+k[se]+j[se]-I-H.altAxis:he,p=h&&me?pU(N,le,x):to(h?N:pe,le,h?x:he);O[C]=p,q[C]=p-le}e.modifiersData[n]=q}}const gE={name:"preventOverflow",enabled:!0,phase:"main",fn:DU,requiresIfExists:["offset"]};function BU(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function FU(t){return t===Tt(t)||!Ot(t)?dp(t):BU(t)}function UU(t){var e=t.getBoundingClientRect(),r=Ji(e.width)/t.offsetWidth||1,n=Ji(e.height)/t.offsetHeight||1;return r!==1||n!==1}function zU(t,e,r){r===void 0&&(r=!1);var n=Ot(e),i=Ot(e)&&UU(e),s=En(e),o=Zi(t,i,r),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((yr(e)!=="body"||pp(s))&&(a=FU(e)),Ot(e)?(l=Zi(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=hp(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function jU(t){var e=new Map,r=new Set,n=[];t.forEach(function(s){e.set(s.name,s)});function i(s){r.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!r.has(a)){var l=e.get(a);l&&i(l)}}),n.push(s)}return t.forEach(function(s){r.has(s.name)||i(s)}),n}function HU(t){var e=jU(t);return nE.reduce(function(r,n){return r.concat(e.filter(function(i){return i.phase===n}))},[])}function WU(t){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(t())})})),e}}function VU(t){var e=t.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(e).map(function(r){return e[r]})}var jy={placement:"bottom",modifiers:[],strategy:"absolute"};function Hy(){for(var t=arguments.length,e=new Array(t),r=0;r(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(e,r)=>`#${CSS.escape(r)}`)),t),JU=t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),ZU=t=>{do t+=Math.floor(Math.random()*XU);while(document.getElementById(t));return t},e3=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:r}=window.getComputedStyle(t);const n=Number.parseFloat(e),i=Number.parseFloat(r);return!n&&!i?0:(e=e.split(",")[0],r=r.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(r))*QU)},wE=t=>{t.dispatchEvent(new Event(bd))},Rr=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),pn=t=>Rr(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(yE(t)):null,hs=t=>{if(!Rr(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",r=t.closest("details:not([open])");if(!r)return e;if(r!==t){const n=t.closest("summary");if(n&&n.parentNode!==r||n===null)return!1}return e},gn=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",bE=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?bE(t.parentNode):null},Tl=()=>{},Bo=t=>{t.offsetHeight},_E=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Kc=[],t3=t=>{document.readyState==="loading"?(Kc.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Kc)e()}),Kc.push(t)):t()},Rt=()=>document.documentElement.dir==="rtl",Dt=t=>{t3(()=>{const e=_E();if(e){const r=t.NAME,n=e.fn[r];e.fn[r]=t.jQueryInterface,e.fn[r].Constructor=t,e.fn[r].noConflict=()=>(e.fn[r]=n,t.jQueryInterface)}})},gt=(t,e=[],r=t)=>typeof t=="function"?t(...e):r,vE=(t,e,r=!0)=>{if(!r){gt(t);return}const n=5,i=e3(e)+n;let s=!1;const o=({target:a})=>{a===e&&(s=!0,e.removeEventListener(bd,o),gt(t))};e.addEventListener(bd,o),setTimeout(()=>{s||wE(e)},i)},yp=(t,e,r,n)=>{const i=t.length;let s=t.indexOf(e);return s===-1?!r&&n?t[i-1]:t[0]:(s+=r?1:-1,n&&(s=(s+i)%i),t[Math.max(0,Math.min(s,i-1))])},r3=/[^.]*(?=\..*)\.|.*/,n3=/\..*/,i3=/::\d+$/,Gc={};let Wy=1;const EE={mouseenter:"mouseover",mouseleave:"mouseout"},s3=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 SE(t,e){return e&&`${e}::${Wy++}`||t.uidEvent||Wy++}function xE(t){const e=SE(t);return t.uidEvent=e,Gc[e]=Gc[e]||{},Gc[e]}function o3(t,e){return function r(n){return wp(n,{delegateTarget:t}),r.oneOff&&ue.off(t,n.type,e),e.apply(t,[n])}}function a3(t,e,r){return function n(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 wp(i,{delegateTarget:o}),n.oneOff&&ue.off(t,i.type,e,r),r.apply(o,[i])}}function TE(t,e,r=null){return Object.values(t).find(n=>n.callable===e&&n.delegationSelector===r)}function AE(t,e,r){const n=typeof e=="string",i=n?r:e||r;let s=ME(t);return s3.has(s)||(s=t),[n,i,s]}function Vy(t,e,r,n,i){if(typeof e!="string"||!t)return;let[s,o,a]=AE(e,r,n);e in EE&&(o=(g=>function(y){if(!y.relatedTarget||y.relatedTarget!==y.delegateTarget&&!y.delegateTarget.contains(y.relatedTarget))return g.call(this,y)})(o));const l=xE(t),u=l[a]||(l[a]={}),c=TE(u,o,s?r:null);if(c){c.oneOff=c.oneOff&&i;return}const f=SE(o,e.replace(r3,"")),d=s?a3(t,r,o):o3(t,o);d.delegationSelector=s?r:null,d.callable=o,d.oneOff=i,d.uidEvent=f,u[f]=d,t.addEventListener(a,d,s)}function _d(t,e,r,n,i){const s=TE(e[r],n,i);s&&(t.removeEventListener(r,s,!!i),delete e[r][s.uidEvent])}function l3(t,e,r,n){const i=e[r]||{};for(const[s,o]of Object.entries(i))s.includes(n)&&_d(t,e,r,o.callable,o.delegationSelector)}function ME(t){return t=t.replace(n3,""),EE[t]||t}const ue={on(t,e,r,n){Vy(t,e,r,n,!1)},one(t,e,r,n){Vy(t,e,r,n,!0)},off(t,e,r,n){if(typeof e!="string"||!t)return;const[i,s,o]=AE(e,r,n),a=o!==e,l=xE(t),u=l[o]||{},c=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(u).length)return;_d(t,l,o,s,i?r:null);return}if(c)for(const f of Object.keys(l))l3(t,l,f,e.slice(1));for(const[f,d]of Object.entries(u)){const h=f.replace(i3,"");(!a||e.includes(h))&&_d(t,l,o,d.callable,d.delegationSelector)}},trigger(t,e,r){if(typeof e!="string"||!t)return null;const n=_E(),i=ME(e),s=e!==i;let o=null,a=!0,l=!0,u=!1;s&&n&&(o=n.Event(e,r),n(t).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),u=o.isDefaultPrevented());const c=wp(new Event(e,{bubbles:a,cancelable:!0}),r);return u&&c.preventDefault(),l&&t.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function wp(t,e={}){for(const[r,n]of Object.entries(e))try{t[r]=n}catch{Object.defineProperty(t,r,{configurable:!0,get(){return n}})}return t}function qy(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 Xc(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Lr={setDataAttribute(t,e,r){t.setAttribute(`data-bs-${Xc(e)}`,r)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Xc(e)}`)},getDataAttributes(t){if(!t)return{};const e={},r=Object.keys(t.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of r){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=qy(t.dataset[n])}return e},getDataAttribute(t,e){return qy(t.getAttribute(`data-bs-${Xc(e)}`))}};class Fo{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,r){const n=Rr(r)?Lr.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...Rr(r)?Lr.getDataAttributes(r):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,r=this.constructor.DefaultType){for(const[n,i]of Object.entries(r)){const s=e[n],o=Rr(s)?"element":JU(s);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${i}".`)}}}const u3="5.3.2";class Qt extends Fo{constructor(e,r){super(),e=pn(e),e&&(this._element=e,this._config=this._getConfig(r),Yc.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Yc.remove(this._element,this.constructor.DATA_KEY),ue.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,r,n=!0){vE(e,r,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Yc.get(pn(e),this.DATA_KEY)}static getOrCreateInstance(e,r={}){return this.getInstance(e)||new this(e,typeof r=="object"?r:null)}static get VERSION(){return u3}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 Qc=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let r=t.getAttribute("href");if(!r||!r.includes("#")&&!r.startsWith("."))return null;r.includes("#")&&!r.startsWith("#")&&(r=`#${r.split("#")[1]}`),e=r&&r!=="#"?yE(r.trim()):null}return e},we={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(r=>r.matches(e))},parents(t,e){const r=[];let n=t.parentNode.closest(e);for(;n;)r.push(n),n=n.parentNode.closest(e);return r},prev(t,e){let r=t.previousElementSibling;for(;r;){if(r.matches(e))return[r];r=r.previousElementSibling}return[]},next(t,e){let r=t.nextElementSibling;for(;r;){if(r.matches(e))return[r];r=r.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(r=>`${r}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(r=>!gn(r)&&hs(r))},getSelectorFromElement(t){const e=Qc(t);return e&&we.findOne(e)?e:null},getElementFromSelector(t){const e=Qc(t);return e?we.findOne(e):null},getMultipleElementsFromSelector(t){const e=Qc(t);return e?we.find(e):[]}},Ru=(t,e="hide")=>{const r=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;ue.on(document,r,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),gn(this))return;const s=we.getElementFromSelector(this)||this.closest(`.${n}`);t.getOrCreateInstance(s)[e]()})},c3="alert",f3="bs.alert",CE=`.${f3}`,d3=`close${CE}`,h3=`closed${CE}`,p3="fade",g3="show";class Lu extends Qt{static get NAME(){return c3}close(){if(ue.trigger(this._element,d3).defaultPrevented)return;this._element.classList.remove(g3);const r=this._element.classList.contains(p3);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),ue.trigger(this._element,h3),this.dispose()}static jQueryInterface(e){return this.each(function(){const r=Lu.getOrCreateInstance(this);if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e](this)}})}}Ru(Lu,"close");Dt(Lu);const m3="button",y3="bs.button",w3=`.${y3}`,b3=".data-api",_3="active",Yy='[data-bs-toggle="button"]',v3=`click${w3}${b3}`;class Nu extends Qt{static get NAME(){return m3}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(_3))}static jQueryInterface(e){return this.each(function(){const r=Nu.getOrCreateInstance(this);e==="toggle"&&r[e]()})}}ue.on(document,v3,Yy,t=>{t.preventDefault();const e=t.target.closest(Yy);Nu.getOrCreateInstance(e).toggle()});Dt(Nu);const E3="swipe",ps=".bs.swipe",S3=`touchstart${ps}`,x3=`touchmove${ps}`,T3=`touchend${ps}`,A3=`pointerdown${ps}`,M3=`pointerup${ps}`,C3="touch",I3="pen",O3="pointer-event",P3=40,R3={endCallback:null,leftCallback:null,rightCallback:null},L3={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Al extends Fo{constructor(e,r){super(),this._element=e,!(!e||!Al.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return R3}static get DefaultType(){return L3}static get NAME(){return E3}dispose(){ue.off(this._element,ps)}_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(),gt(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<=P3)return;const r=e/this._deltaX;this._deltaX=0,r&>(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ue.on(this._element,A3,e=>this._start(e)),ue.on(this._element,M3,e=>this._end(e)),this._element.classList.add(O3)):(ue.on(this._element,S3,e=>this._start(e)),ue.on(this._element,x3,e=>this._move(e)),ue.on(this._element,T3,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===I3||e.pointerType===C3)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const N3="carousel",$3="bs.carousel",Sn=`.${$3}`,IE=".data-api",k3="ArrowLeft",D3="ArrowRight",B3=500,Ns="next",yi="prev",Si="left",ja="right",F3=`slide${Sn}`,Jc=`slid${Sn}`,U3=`keydown${Sn}`,z3=`mouseenter${Sn}`,j3=`mouseleave${Sn}`,H3=`dragstart${Sn}`,W3=`load${Sn}${IE}`,V3=`click${Sn}${IE}`,OE="carousel",ha="active",q3="slide",Y3="carousel-item-end",K3="carousel-item-start",G3="carousel-item-next",X3="carousel-item-prev",PE=".active",RE=".carousel-item",Q3=PE+RE,J3=".carousel-item img",Z3=".carousel-indicators",ez="[data-bs-slide], [data-bs-slide-to]",tz='[data-bs-ride="carousel"]',rz={[k3]:ja,[D3]:Si},nz={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},iz={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Uo extends Qt{constructor(e,r){super(e,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=we.findOne(Z3,this._element),this._addEventListeners(),this._config.ride===OE&&this.cycle()}static get Default(){return nz}static get DefaultType(){return iz}static get NAME(){return N3}next(){this._slide(Ns)}nextWhenVisible(){!document.hidden&&hs(this._element)&&this.next()}prev(){this._slide(yi)}pause(){this._isSliding&&wE(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){ue.one(this._element,Jc,()=>this.cycle());return}this.cycle()}}to(e){const r=this._getItems();if(e>r.length-1||e<0)return;if(this._isSliding){ue.one(this._element,Jc,()=>this.to(e));return}const n=this._getItemIndex(this._getActive());if(n===e)return;const i=e>n?Ns:yi;this._slide(i,r[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ue.on(this._element,U3,e=>this._keydown(e)),this._config.pause==="hover"&&(ue.on(this._element,z3,()=>this.pause()),ue.on(this._element,j3,()=>this._maybeEnableCycle())),this._config.touch&&Al.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of we.find(J3,this._element))ue.on(n,H3,i=>i.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(Si)),rightCallback:()=>this._slide(this._directionToOrder(ja)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),B3+this._config.interval))}};this._swipeHelper=new Al(this._element,r)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const r=rz[e.key];r&&(e.preventDefault(),this._slide(this._directionToOrder(r)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const r=we.findOne(PE,this._indicatorsElement);r.classList.remove(ha),r.removeAttribute("aria-current");const n=we.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(ha),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const r=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=r||this._config.defaultInterval}_slide(e,r=null){if(this._isSliding)return;const n=this._getActive(),i=e===Ns,s=r||yp(this._getItems(),n,i,this._config.wrap);if(s===n)return;const o=this._getItemIndex(s),a=h=>ue.trigger(this._element,h,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:o});if(a(F3).defaultPrevented||!n||!s)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const c=i?K3:Y3,f=i?G3:X3;s.classList.add(f),Bo(s),n.classList.add(c),s.classList.add(c);const d=()=>{s.classList.remove(c,f),s.classList.add(ha),n.classList.remove(ha,f,c),this._isSliding=!1,a(Jc)};this._queueCallback(d,n,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(q3)}_getActive(){return we.findOne(Q3,this._element)}_getItems(){return we.find(RE,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Rt()?e===Si?yi:Ns:e===Si?Ns:yi}_orderToDirection(e){return Rt()?e===yi?Si:ja:e===yi?ja:Si}static jQueryInterface(e){return this.each(function(){const r=Uo.getOrCreateInstance(this,e);if(typeof e=="number"){r.to(e);return}if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ue.on(document,V3,ez,function(t){const e=we.getElementFromSelector(this);if(!e||!e.classList.contains(OE))return;t.preventDefault();const r=Uo.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to");if(n){r.to(n),r._maybeEnableCycle();return}if(Lr.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});ue.on(window,W3,()=>{const t=we.find(tz);for(const e of t)Uo.getOrCreateInstance(e)});Dt(Uo);const sz="collapse",oz="bs.collapse",zo=`.${oz}`,az=".data-api",lz=`show${zo}`,uz=`shown${zo}`,cz=`hide${zo}`,fz=`hidden${zo}`,dz=`click${zo}${az}`,Zc="show",Ci="collapse",pa="collapsing",hz="collapsed",pz=`:scope .${Ci} .${Ci}`,gz="collapse-horizontal",mz="width",yz="height",wz=".collapse.show, .collapse.collapsing",vd='[data-bs-toggle="collapse"]',bz={parent:null,toggle:!0},_z={parent:"(null|element)",toggle:"boolean"};class _o extends Qt{constructor(e,r){super(e,r),this._isTransitioning=!1,this._triggerArray=[];const n=we.find(vd);for(const i of n){const s=we.getSelectorFromElement(i),o=we.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 bz}static get DefaultType(){return _z}static get NAME(){return sz}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(wz).filter(a=>a!==this._element).map(a=>_o.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||ue.trigger(this._element,lz).defaultPrevented)return;for(const a of e)a.hide();const n=this._getDimension();this._element.classList.remove(Ci),this._element.classList.add(pa),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(pa),this._element.classList.add(Ci,Zc),this._element.style[n]="",ue.trigger(this._element,uz)},o=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[n]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||ue.trigger(this._element,cz).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,Bo(this._element),this._element.classList.add(pa),this._element.classList.remove(Ci,Zc);for(const i of this._triggerArray){const s=we.getElementFromSelector(i);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(pa),this._element.classList.add(Ci),ue.trigger(this._element,fz)};this._element.style[r]="",this._queueCallback(n,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Zc)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=pn(e.parent),e}_getDimension(){return this._element.classList.contains(gz)?mz:yz}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(vd);for(const r of e){const n=we.getElementFromSelector(r);n&&this._addAriaAndCollapsedClass([r],this._isShown(n))}}_getFirstLevelChildren(e){const r=we.find(pz,this._config.parent);return we.find(e,this._config.parent).filter(n=>!r.includes(n))}_addAriaAndCollapsedClass(e,r){if(e.length)for(const n of e)n.classList.toggle(hz,!r),n.setAttribute("aria-expanded",r)}static jQueryInterface(e){const r={};return typeof e=="string"&&/show|hide/.test(e)&&(r.toggle=!1),this.each(function(){const n=_o.getOrCreateInstance(this,r);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}ue.on(document,dz,vd,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();for(const e of we.getMultipleElementsFromSelector(this))_o.getOrCreateInstance(e,{toggle:!1}).toggle()});Dt(_o);const Ky="dropdown",vz="bs.dropdown",di=`.${vz}`,bp=".data-api",Ez="Escape",Gy="Tab",Sz="ArrowUp",Xy="ArrowDown",xz=2,Tz=`hide${di}`,Az=`hidden${di}`,Mz=`show${di}`,Cz=`shown${di}`,LE=`click${di}${bp}`,NE=`keydown${di}${bp}`,Iz=`keyup${di}${bp}`,xi="show",Oz="dropup",Pz="dropend",Rz="dropstart",Lz="dropup-center",Nz="dropdown-center",jn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',$z=`${jn}.${xi}`,Ha=".dropdown-menu",kz=".navbar",Dz=".navbar-nav",Bz=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Fz=Rt()?"top-end":"top-start",Uz=Rt()?"top-start":"top-end",zz=Rt()?"bottom-end":"bottom-start",jz=Rt()?"bottom-start":"bottom-end",Hz=Rt()?"left-start":"right-start",Wz=Rt()?"right-start":"left-start",Vz="top",qz="bottom",Yz={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Kz={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class dr extends Qt{constructor(e,r){super(e,r),this._popper=null,this._parent=this._element.parentNode,this._menu=we.next(this._element,Ha)[0]||we.prev(this._element,Ha)[0]||we.findOne(Ha,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Yz}static get DefaultType(){return Kz}static get NAME(){return Ky}toggle(){return this._isShown()?this.hide():this.show()}show(){if(gn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ue.trigger(this._element,Mz,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Dz))for(const n of[].concat(...document.body.children))ue.on(n,"mouseover",Tl);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(xi),this._element.classList.add(xi),ue.trigger(this._element,Cz,e)}}hide(){if(gn(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(!ue.trigger(this._element,Tz,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))ue.off(n,"mouseover",Tl);this._popper&&this._popper.destroy(),this._menu.classList.remove(xi),this._element.classList.remove(xi),this._element.setAttribute("aria-expanded","false"),Lr.removeDataAttribute(this._menu,"popper"),ue.trigger(this._element,Az,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Rr(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Ky.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof mE>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Rr(this._config.reference)?e=pn(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const r=this._getPopperConfig();this._popper=mp(e,this._menu,r)}_isShown(){return this._menu.classList.contains(xi)}_getPlacement(){const e=this._parent;if(e.classList.contains(Pz))return Hz;if(e.classList.contains(Rz))return Wz;if(e.classList.contains(Lz))return Vz;if(e.classList.contains(Nz))return qz;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(Oz)?r?Uz:Fz:r?jz:zz}_detectNavbar(){return this._element.closest(kz)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(r=>Number.parseInt(r,10)):typeof e=="function"?r=>e(r,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")&&(Lr.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...gt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:r}){const n=we.find(Bz,this._menu).filter(i=>hs(i));n.length&&yp(n,r,e===Xy,!n.includes(r)).focus()}static jQueryInterface(e){return this.each(function(){const r=dr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}static clearMenus(e){if(e.button===xz||e.type==="keyup"&&e.key!==Gy)return;const r=we.find($z);for(const n of r){const i=dr.getInstance(n);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===Gy||/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 r=/input|textarea/i.test(e.target.tagName),n=e.key===Ez,i=[Sz,Xy].includes(e.key);if(!i&&!n||r&&!n)return;e.preventDefault();const s=this.matches(jn)?this:we.prev(this,jn)[0]||we.next(this,jn)[0]||we.findOne(jn,e.delegateTarget.parentNode),o=dr.getOrCreateInstance(s);if(i){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),s.focus())}}ue.on(document,NE,jn,dr.dataApiKeydownHandler);ue.on(document,NE,Ha,dr.dataApiKeydownHandler);ue.on(document,LE,dr.clearMenus);ue.on(document,Iz,dr.clearMenus);ue.on(document,LE,jn,function(t){t.preventDefault(),dr.getOrCreateInstance(this).toggle()});Dt(dr);const $E="backdrop",Gz="fade",Qy="show",Jy=`mousedown.bs.${$E}`,Xz={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qz={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class kE extends Fo{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Xz}static get DefaultType(){return Qz}static get NAME(){return $E}show(e){if(!this._config.isVisible){gt(e);return}this._append();const r=this._getElement();this._config.isAnimated&&Bo(r),r.classList.add(Qy),this._emulateAnimation(()=>{gt(e)})}hide(e){if(!this._config.isVisible){gt(e);return}this._getElement().classList.remove(Qy),this._emulateAnimation(()=>{this.dispose(),gt(e)})}dispose(){this._isAppended&&(ue.off(this._element,Jy),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(Gz),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=pn(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ue.on(e,Jy,()=>{gt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){vE(e,this._getElement(),this._config.isAnimated)}}const Jz="focustrap",Zz="bs.focustrap",Ml=`.${Zz}`,ej=`focusin${Ml}`,tj=`keydown.tab${Ml}`,rj="Tab",nj="forward",Zy="backward",ij={autofocus:!0,trapElement:null},sj={autofocus:"boolean",trapElement:"element"};class DE extends Fo{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ij}static get DefaultType(){return sj}static get NAME(){return Jz}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ue.off(document,Ml),ue.on(document,ej,e=>this._handleFocusin(e)),ue.on(document,tj,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ue.off(document,Ml))}_handleFocusin(e){const{trapElement:r}=this._config;if(e.target===document||e.target===r||r.contains(e.target))return;const n=we.focusableChildren(r);n.length===0?r.focus():this._lastTabNavDirection===Zy?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){e.key===rj&&(this._lastTabNavDirection=e.shiftKey?Zy:nj)}}const ew=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",tw=".sticky-top",ga="padding-right",rw="margin-right";class Ed{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,ga,r=>r+e),this._setElementAttributes(ew,ga,r=>r+e),this._setElementAttributes(tw,rw,r=>r-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ga),this._resetElementAttributes(ew,ga),this._resetElementAttributes(tw,rw)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,r,n){const i=this.getWidth(),s=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+i)return;this._saveInitialAttribute(o,r);const a=window.getComputedStyle(o).getPropertyValue(r);o.style.setProperty(r,`${n(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,r){const n=e.style.getPropertyValue(r);n&&Lr.setDataAttribute(e,r,n)}_resetElementAttributes(e,r){const n=i=>{const s=Lr.getDataAttribute(i,r);if(s===null){i.style.removeProperty(r);return}Lr.removeDataAttribute(i,r),i.style.setProperty(r,s)};this._applyManipulationCallback(e,n)}_applyManipulationCallback(e,r){if(Rr(e)){r(e);return}for(const n of we.find(e,this._element))r(n)}}const oj="modal",aj="bs.modal",Lt=`.${aj}`,lj=".data-api",uj="Escape",cj=`hide${Lt}`,fj=`hidePrevented${Lt}`,BE=`hidden${Lt}`,FE=`show${Lt}`,dj=`shown${Lt}`,hj=`resize${Lt}`,pj=`click.dismiss${Lt}`,gj=`mousedown.dismiss${Lt}`,mj=`keydown.dismiss${Lt}`,yj=`click${Lt}${lj}`,nw="modal-open",wj="fade",iw="show",ef="modal-static",bj=".modal.show",_j=".modal-dialog",vj=".modal-body",Ej='[data-bs-toggle="modal"]',Sj={backdrop:!0,focus:!0,keyboard:!0},xj={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class rs extends Qt{constructor(e,r){super(e,r),this._dialog=we.findOne(_j,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ed,this._addEventListeners()}static get Default(){return Sj}static get DefaultType(){return xj}static get NAME(){return oj}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ue.trigger(this._element,FE,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(nw),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ue.trigger(this._element,cj).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(iw),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ue.off(window,Lt),ue.off(this._dialog,Lt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new kE({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new DE({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 r=we.findOne(vj,this._dialog);r&&(r.scrollTop=0),Bo(this._element),this._element.classList.add(iw);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ue.trigger(this._element,dj,{relatedTarget:e})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){ue.on(this._element,mj,e=>{if(e.key===uj){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ue.on(window,hj,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ue.on(this._element,gj,e=>{ue.one(this._element,pj,r=>{if(!(this._element!==e.target||this._element!==r.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(nw),this._resetAdjustments(),this._scrollBar.reset(),ue.trigger(this._element,BE)})}_isAnimated(){return this._element.classList.contains(wj)}_triggerBackdropTransition(){if(ue.trigger(this._element,fj).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(ef)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(ef),this._queueCallback(()=>{this._element.classList.remove(ef),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,r=this._scrollBar.getWidth(),n=r>0;if(n&&!e){const i=Rt()?"paddingLeft":"paddingRight";this._element.style[i]=`${r}px`}if(!n&&e){const i=Rt()?"paddingRight":"paddingLeft";this._element.style[i]=`${r}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,r){return this.each(function(){const n=rs.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](r)}})}}ue.on(document,yj,Ej,function(t){const e=we.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),ue.one(e,FE,i=>{i.defaultPrevented||ue.one(e,BE,()=>{hs(this)&&this.focus()})});const r=we.findOne(bj);r&&rs.getInstance(r).hide(),rs.getOrCreateInstance(e).toggle(this)});Ru(rs);Dt(rs);const Tj="offcanvas",Aj="bs.offcanvas",Xr=`.${Aj}`,UE=".data-api",Mj=`load${Xr}${UE}`,Cj="Escape",sw="show",ow="showing",aw="hiding",Ij="offcanvas-backdrop",zE=".offcanvas.show",Oj=`show${Xr}`,Pj=`shown${Xr}`,Rj=`hide${Xr}`,lw=`hidePrevented${Xr}`,jE=`hidden${Xr}`,Lj=`resize${Xr}`,Nj=`click${Xr}${UE}`,$j=`keydown.dismiss${Xr}`,kj='[data-bs-toggle="offcanvas"]',Dj={backdrop:!0,keyboard:!0,scroll:!1},Bj={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class mn extends Qt{constructor(e,r){super(e,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Dj}static get DefaultType(){return Bj}static get NAME(){return Tj}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ue.trigger(this._element,Oj,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Ed().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ow);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(sw),this._element.classList.remove(ow),ue.trigger(this._element,Pj,{relatedTarget:e})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||ue.trigger(this._element,Rj).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(aw),this._backdrop.hide();const r=()=>{this._element.classList.remove(sw,aw),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Ed().reset(),ue.trigger(this._element,jE)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ue.trigger(this._element,lw);return}this.hide()},r=!!this._config.backdrop;return new kE({className:Ij,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?e:null})}_initializeFocusTrap(){return new DE({trapElement:this._element})}_addEventListeners(){ue.on(this._element,$j,e=>{if(e.key===Cj){if(this._config.keyboard){this.hide();return}ue.trigger(this._element,lw)}})}static jQueryInterface(e){return this.each(function(){const r=mn.getOrCreateInstance(this,e);if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e](this)}})}}ue.on(document,Nj,kj,function(t){const e=we.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),gn(this))return;ue.one(e,jE,()=>{hs(this)&&this.focus()});const r=we.findOne(zE);r&&r!==e&&mn.getInstance(r).hide(),mn.getOrCreateInstance(e).toggle(this)});ue.on(window,Mj,()=>{for(const t of we.find(zE))mn.getOrCreateInstance(t).show()});ue.on(window,Lj,()=>{for(const t of we.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&mn.getOrCreateInstance(t).hide()});Ru(mn);Dt(mn);const Fj=/^aria-[\w-]*$/i,HE={"*":["class","dir","id","lang","role",Fj],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:[]},Uj=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),zj=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,jj=(t,e)=>{const r=t.nodeName.toLowerCase();return e.includes(r)?Uj.has(r)?!!zj.test(t.nodeValue):!0:e.filter(n=>n instanceof RegExp).some(n=>n.test(r))};function Hj(t,e,r){if(!t.length)return t;if(r&&typeof r=="function")return r(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),u=[].concat(e["*"]||[],e[a]||[]);for(const c of l)jj(c,u)||o.removeAttribute(c.nodeName)}return i.body.innerHTML}const Wj="TemplateFactory",Vj={allowList:HE,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},qj={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Yj={entry:"(string|element|function|null)",selector:"(string|element)"};class Kj extends Fo{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Vj}static get DefaultType(){return qj}static get NAME(){return Wj}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 r=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&r.classList.add(...n.split(" ")),r}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[r,n]of Object.entries(e))super._typeCheckConfig({selector:r,entry:n},Yj)}_setContent(e,r,n){const i=we.findOne(n,e);if(i){if(r=this._resolvePossibleFunction(r),!r){i.remove();return}if(Rr(r)){this._putElementInTemplate(pn(r),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(r);return}i.textContent=r}}_maybeSanitize(e){return this._config.sanitize?Hj(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return gt(e,[this])}_putElementInTemplate(e,r){if(this._config.html){r.innerHTML="",r.append(e);return}r.textContent=e.textContent}}const Gj="tooltip",Xj=new Set(["sanitize","allowList","sanitizeFn"]),tf="fade",Qj="modal",ma="show",Jj=".tooltip-inner",uw=`.${Qj}`,cw="hide.bs.modal",$s="hover",rf="focus",Zj="click",eH="manual",tH="hide",rH="hidden",nH="show",iH="shown",sH="inserted",oH="click",aH="focusin",lH="focusout",uH="mouseenter",cH="mouseleave",fH={AUTO:"auto",TOP:"top",RIGHT:Rt()?"left":"right",BOTTOM:"bottom",LEFT:Rt()?"right":"left"},dH={allowList:HE,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},hH={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 gs extends Qt{constructor(e,r){if(typeof mE>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,r),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 dH}static get DefaultType(){return hH}static get NAME(){return Gj}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),ue.off(this._element.closest(uw),cw,this._hideModalHandler),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=ue.trigger(this._element,this.constructor.eventName(nH)),n=(bE(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!n)return;this._disposePopper();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),ue.trigger(this._element,this.constructor.eventName(sH))),this._popper=this._createPopper(i),i.classList.add(ma),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))ue.on(a,"mouseover",Tl);const o=()=>{ue.trigger(this._element,this.constructor.eventName(iH)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ue.trigger(this._element,this.constructor.eventName(tH)).defaultPrevented)return;if(this._getTipElement().classList.remove(ma),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))ue.off(i,"mouseover",Tl);this._activeTrigger[Zj]=!1,this._activeTrigger[rf]=!1,this._activeTrigger[$s]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ue.trigger(this._element,this.constructor.eventName(rH)))};this._queueCallback(n,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const r=this._getTemplateFactory(e).toHtml();if(!r)return null;r.classList.remove(tf,ma),r.classList.add(`bs-${this.constructor.NAME}-auto`);const n=ZU(this.constructor.NAME).toString();return r.setAttribute("id",n),this._isAnimated()&&r.classList.add(tf),r}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Kj({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Jj]: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(tf)}_isShown(){return this.tip&&this.tip.classList.contains(ma)}_createPopper(e){const r=gt(this._config.placement,[this,e,this._element]),n=fH[r.toUpperCase()];return mp(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(r=>Number.parseInt(r,10)):typeof e=="function"?r=>e(r,this._element):e}_resolvePossibleFunction(e){return gt(e,[this._element])}_getPopperConfig(e){const r={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:n=>{this._getTipElement().setAttribute("data-popper-placement",n.state.placement)}}]};return{...r,...gt(this._config.popperConfig,[r])}}_setListeners(){const e=this._config.trigger.split(" ");for(const r of e)if(r==="click")ue.on(this._element,this.constructor.eventName(oH),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if(r!==eH){const n=r===$s?this.constructor.eventName(uH):this.constructor.eventName(aH),i=r===$s?this.constructor.eventName(cH):this.constructor.eventName(lH);ue.on(this._element,n,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusin"?rf:$s]=!0,o._enter()}),ue.on(this._element,i,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusout"?rf:$s]=o._element.contains(s.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ue.on(this._element.closest(uw),cw,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,r){clearTimeout(this._timeout),this._timeout=setTimeout(e,r)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const r=Lr.getDataAttributes(this._element);for(const n of Object.keys(r))Xj.has(n)&&delete r[n];return e={...r,...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:pn(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[r,n]of Object.entries(this._config))this.constructor.Default[r]!==n&&(e[r]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const r=gs.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}Dt(gs);const pH="popover",gH=".popover-header",mH=".popover-body",yH={...gs.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},wH={...gs.DefaultType,content:"(null|string|element|function)"};class _p extends gs{static get Default(){return yH}static get DefaultType(){return wH}static get NAME(){return pH}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[gH]:this._getTitle(),[mH]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const r=_p.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}Dt(_p);const bH="scrollspy",_H="bs.scrollspy",vp=`.${_H}`,vH=".data-api",EH=`activate${vp}`,fw=`click${vp}`,SH=`load${vp}${vH}`,xH="dropdown-item",wi="active",TH='[data-bs-spy="scroll"]',nf="[href]",AH=".nav, .list-group",dw=".nav-link",MH=".nav-item",CH=".list-group-item",IH=`${dw}, ${MH} > ${dw}, ${CH}`,OH=".dropdown",PH=".dropdown-toggle",RH={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},LH={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class $u extends Qt{constructor(e,r){super(e,r),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 RH}static get DefaultType(){return LH}static get NAME(){return bH}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=pn(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(r=>Number.parseFloat(r))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ue.off(this._config.target,fw),ue.on(this._config.target,fw,nf,e=>{const r=this._observableSections.get(e.target.hash);if(r){e.preventDefault();const n=this._rootElement||window,i=r.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:i,behavior:"smooth"});return}n.scrollTop=i}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(r=>this._observerCallback(r),e)}_observerCallback(e){const r=o=>this._targetLinks.get(`#${o.target.id}`),n=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(r(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(r(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&a){if(n(o),!i)return;continue}!s&&!a&&n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=we.find(nf,this._config.target);for(const r of e){if(!r.hash||gn(r))continue;const n=we.findOne(decodeURI(r.hash),this._element);hs(n)&&(this._targetLinks.set(decodeURI(r.hash),r),this._observableSections.set(r.hash,n))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(wi),this._activateParents(e),ue.trigger(this._element,EH,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(xH)){we.findOne(PH,e.closest(OH)).classList.add(wi);return}for(const r of we.parents(e,AH))for(const n of we.prev(r,IH))n.classList.add(wi)}_clearActiveClass(e){e.classList.remove(wi);const r=we.find(`${nf}.${wi}`,e);for(const n of r)n.classList.remove(wi)}static jQueryInterface(e){return this.each(function(){const r=$u.getOrCreateInstance(this,e);if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ue.on(window,SH,()=>{for(const t of we.find(TH))$u.getOrCreateInstance(t)});Dt($u);const NH="tab",$H="bs.tab",hi=`.${$H}`,kH=`hide${hi}`,DH=`hidden${hi}`,BH=`show${hi}`,FH=`shown${hi}`,UH=`click${hi}`,zH=`keydown${hi}`,jH=`load${hi}`,HH="ArrowLeft",hw="ArrowRight",WH="ArrowUp",pw="ArrowDown",sf="Home",gw="End",Hn="active",mw="fade",of="show",VH="dropdown",WE=".dropdown-toggle",qH=".dropdown-menu",af=`:not(${WE})`,YH='.list-group, .nav, [role="tablist"]',KH=".nav-item, .list-group-item",GH=`.nav-link${af}, .list-group-item${af}, [role="tab"]${af}`,VE='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',lf=`${GH}, ${VE}`,XH=`.${Hn}[data-bs-toggle="tab"], .${Hn}[data-bs-toggle="pill"], .${Hn}[data-bs-toggle="list"]`;class ns extends Qt{constructor(e){super(e),this._parent=this._element.closest(YH),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ue.on(this._element,zH,r=>this._keydown(r)))}static get NAME(){return NH}show(){const e=this._element;if(this._elemIsActive(e))return;const r=this._getActiveElem(),n=r?ue.trigger(r,kH,{relatedTarget:e}):null;ue.trigger(e,BH,{relatedTarget:r}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(r,e),this._activate(e,r))}_activate(e,r){if(!e)return;e.classList.add(Hn),this._activate(we.getElementFromSelector(e));const n=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(of);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ue.trigger(e,FH,{relatedTarget:r})};this._queueCallback(n,e,e.classList.contains(mw))}_deactivate(e,r){if(!e)return;e.classList.remove(Hn),e.blur(),this._deactivate(we.getElementFromSelector(e));const n=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(of);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ue.trigger(e,DH,{relatedTarget:r})};this._queueCallback(n,e,e.classList.contains(mw))}_keydown(e){if(![HH,hw,WH,pw,sf,gw].includes(e.key))return;e.stopPropagation(),e.preventDefault();const r=this._getChildren().filter(i=>!gn(i));let n;if([sf,gw].includes(e.key))n=r[e.key===sf?0:r.length-1];else{const i=[hw,pw].includes(e.key);n=yp(r,e.target,i,!0)}n&&(n.focus({preventScroll:!0}),ns.getOrCreateInstance(n).show())}_getChildren(){return we.find(lf,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,r){this._setAttributeIfNotExists(e,"role","tablist");for(const n of r)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const r=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",r),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),r||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const r=we.getElementFromSelector(e);r&&(this._setAttributeIfNotExists(r,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(r,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,r){const n=this._getOuterElement(e);if(!n.classList.contains(VH))return;const i=(s,o)=>{const a=we.findOne(s,n);a&&a.classList.toggle(o,r)};i(WE,Hn),i(qH,of),n.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(e,r,n){e.hasAttribute(r)||e.setAttribute(r,n)}_elemIsActive(e){return e.classList.contains(Hn)}_getInnerElement(e){return e.matches(lf)?e:we.findOne(lf,e)}_getOuterElement(e){return e.closest(KH)||e}static jQueryInterface(e){return this.each(function(){const r=ns.getOrCreateInstance(this);if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ue.on(document,UH,VE,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!gn(this)&&ns.getOrCreateInstance(this).show()});ue.on(window,jH,()=>{for(const t of we.find(XH))ns.getOrCreateInstance(t)});Dt(ns);const QH="toast",JH="bs.toast",xn=`.${JH}`,ZH=`mouseover${xn}`,eW=`mouseout${xn}`,tW=`focusin${xn}`,rW=`focusout${xn}`,nW=`hide${xn}`,iW=`hidden${xn}`,sW=`show${xn}`,oW=`shown${xn}`,aW="fade",yw="hide",ya="show",wa="showing",lW={animation:"boolean",autohide:"boolean",delay:"number"},uW={animation:!0,autohide:!0,delay:5e3};class ku extends Qt{constructor(e,r){super(e,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return uW}static get DefaultType(){return lW}static get NAME(){return QH}show(){if(ue.trigger(this._element,sW).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(aW);const r=()=>{this._element.classList.remove(wa),ue.trigger(this._element,oW),this._maybeScheduleHide()};this._element.classList.remove(yw),Bo(this._element),this._element.classList.add(ya,wa),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||ue.trigger(this._element,nW).defaultPrevented)return;const r=()=>{this._element.classList.add(yw),this._element.classList.remove(wa,ya),ue.trigger(this._element,iW)};this._element.classList.add(wa),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ya),super.dispose()}isShown(){return this._element.classList.contains(ya)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,r){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=r;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=r;break}}if(r){this._clearTimeout();return}const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){ue.on(this._element,ZH,e=>this._onInteraction(e,!0)),ue.on(this._element,eW,e=>this._onInteraction(e,!1)),ue.on(this._element,tW,e=>this._onInteraction(e,!0)),ue.on(this._element,rW,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const r=ku.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](this)}})}}Ru(ku);Dt(ku);function cW(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;r({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let s;const o=st();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const a=o.createElement("div");function l(g,y){const b=e.params.virtual;if(b.cache&&e.virtual.cache[y])return e.virtual.cache[y];let v;return b.renderSlide?(v=b.renderSlide.call(e,g,y),typeof v=="string"&&(a.innerHTML=v,v=a.children[0])):e.isElement?v=Vt("swiper-slide"):v=Vt("div",e.params.slideClass),v.setAttribute("data-swiper-slide-index",y),b.renderSlide||(v.innerHTML=g),b.cache&&(e.virtual.cache[y]=v),v}function u(g){const{slidesPerView:y,slidesPerGroup:b,centeredSlides:v,loop:_}=e.params,{addSlidesBefore:E,addSlidesAfter:T}=e.params.virtual,{from:C,to:O,slides:k,slidesGrid:j,offset:R}=e.virtual;e.params.cssMode||e.updateActiveIndex();const H=e.activeIndex||0;let B;e.rtlTranslate?B="right":B=e.isHorizontal()?"left":"top";let q,F;v?(q=Math.floor(y/2)+b+T,F=Math.floor(y/2)+b+E):(q=y+(b-1)+T,F=(_?y:b)+E);let A=H-F,$=H+q;_||(A=Math.max(A,0),$=Math.min($,k.length-1));let U=(e.slidesGrid[A]||0)-(e.slidesGrid[0]||0);_&&H>=F?(A-=F,v||(U+=e.slidesGrid[0])):_&&H{fe.style[B]=`${U-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),i("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:U,from:A,to:$,slides:function(){const ge=[];for(let ye=A;ye<=$;ye+=1)ge.push(k[ye]);return ge}()}),e.params.virtual.renderExternalUpdate?D():i("virtualUpdate");return}const V=[],K=[],J=fe=>{let ge=fe;return fe<0?ge=k.length+fe:ge>=k.length&&(ge=ge-k.length),ge};if(g)e.slides.filter(fe=>fe.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(fe=>{fe.remove()});else for(let fe=C;fe<=O;fe+=1)if(fe$){const ge=J(fe);e.slides.filter(ye=>ye.matches(`.${e.params.slideClass}[data-swiper-slide-index="${ge}"], swiper-slide[data-swiper-slide-index="${ge}"]`)).forEach(ye=>{ye.remove()})}const oe=_?-k.length:0,de=_?k.length*2:k.length;for(let fe=oe;fe=A&&fe<=$){const ge=J(fe);typeof O>"u"||g?K.push(ge):(fe>O&&K.push(ge),fe{e.slidesEl.append(l(k[fe],fe))}),_)for(let fe=V.length-1;fe>=0;fe-=1){const ge=V[fe];e.slidesEl.prepend(l(k[ge],ge))}else V.sort((fe,ge)=>ge-fe),V.forEach(fe=>{e.slidesEl.prepend(l(k[fe],fe))});Qe(e.slidesEl,".swiper-slide, swiper-slide").forEach(fe=>{fe.style[B]=`${U-Math.abs(e.cssOverflowAdjustment())}px`}),D()}function c(g){if(typeof g=="object"&&"length"in g)for(let y=0;y{const C=_[T],O=C.getAttribute("data-swiper-slide-index");O&&C.setAttribute("data-swiper-slide-index",parseInt(O,10)+v),E[parseInt(T,10)+v]=C}),e.virtual.cache=E}u(!0),e.slideTo(b,0)}function d(g){if(typeof g>"u"||g===null)return;let y=e.activeIndex;if(Array.isArray(g))for(let b=g.length-1;b>=0;b-=1)e.params.virtual.cache&&(delete e.virtual.cache[g[b]],Object.keys(e.virtual.cache).forEach(v=>{v>g&&(e.virtual.cache[v-1]=e.virtual.cache[v],e.virtual.cache[v-1].setAttribute("data-swiper-slide-index",v-1),delete e.virtual.cache[v])})),e.virtual.slides.splice(g[b],1),g[b]{b>g&&(e.virtual.cache[b-1]=e.virtual.cache[b],e.virtual.cache[b-1].setAttribute("data-swiper-slide-index",b-1),delete e.virtual.cache[b])})),e.virtual.slides.splice(g,1),g{if(!e.params.virtual.enabled)return;let g;if(typeof e.passedParams.virtual.slides>"u"){const y=[...e.slidesEl.children].filter(b=>b.matches(`.${e.params.slideClass}, swiper-slide`));y&&y.length&&(e.virtual.slides=[...y],g=!0,y.forEach((b,v)=>{b.setAttribute("data-swiper-slide-index",v),e.virtual.cache[v]=b,b.remove()}))}g||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,u()}),n("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(s),s=setTimeout(()=>{u()},100)):u())}),n("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Hs(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:c,prependSlide:f,removeSlide:d,removeAllSlides:h,update:u})}function fW(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=st(),o=ze();e.keyboard={enabled:!1},r({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function a(c){if(!e.enabled)return;const{rtlTranslate:f}=e;let d=c;d.originalEvent&&(d=d.originalEvent);const h=d.keyCode||d.charCode,g=e.params.keyboard.pageUpDown,y=g&&h===33,b=g&&h===34,v=h===37,_=h===39,E=h===38,T=h===40;if(!e.allowSlideNext&&(e.isHorizontal()&&_||e.isVertical()&&T||b)||!e.allowSlidePrev&&(e.isHorizontal()&&v||e.isVertical()&&E||y))return!1;if(!(d.shiftKey||d.altKey||d.ctrlKey||d.metaKey)&&!(s.activeElement&&s.activeElement.nodeName&&(s.activeElement.nodeName.toLowerCase()==="input"||s.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(y||b||v||_||E||T)){let C=!1;if(Kn(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&Kn(e.el,`.${e.params.slideActiveClass}`).length===0)return;const O=e.el,k=O.clientWidth,j=O.clientHeight,R=o.innerWidth,H=o.innerHeight,B=Sl(O);f&&(B.left-=O.scrollLeft);const q=[[B.left,B.top],[B.left+k,B.top],[B.left,B.top+j],[B.left+k,B.top+j]];for(let F=0;F=0&&A[0]<=R&&A[1]>=0&&A[1]<=H){if(A[0]===0&&A[1]===0)continue;C=!0}}if(!C)return}e.isHorizontal()?((y||b||v||_)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),((b||_)&&!f||(y||v)&&f)&&e.slideNext(),((y||v)&&!f||(b||_)&&f)&&e.slidePrev()):((y||b||E||T)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),(b||T)&&e.slideNext(),(y||E)&&e.slidePrev()),i("keyPress",h)}}function l(){e.keyboard.enabled||(s.addEventListener("keydown",a),e.keyboard.enabled=!0)}function u(){e.keyboard.enabled&&(s.removeEventListener("keydown",a),e.keyboard.enabled=!1)}n("init",()=>{e.params.keyboard.enabled&&l()}),n("destroy",()=>{e.keyboard.enabled&&u()}),Object.assign(e.keyboard,{enable:l,disable:u})}function dW(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=ze();r({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let o,a=Ct(),l;const u=[];function c(E){let k=0,j=0,R=0,H=0;return"detail"in E&&(j=E.detail),"wheelDelta"in E&&(j=-E.wheelDelta/120),"wheelDeltaY"in E&&(j=-E.wheelDeltaY/120),"wheelDeltaX"in E&&(k=-E.wheelDeltaX/120),"axis"in E&&E.axis===E.HORIZONTAL_AXIS&&(k=j,j=0),R=k*10,H=j*10,"deltaY"in E&&(H=E.deltaY),"deltaX"in E&&(R=E.deltaX),E.shiftKey&&!R&&(R=H,H=0),(R||H)&&E.deltaMode&&(E.deltaMode===1?(R*=40,H*=40):(R*=800,H*=800)),R&&!k&&(k=R<1?-1:1),H&&!j&&(j=H<1?-1:1),{spinX:k,spinY:j,pixelX:R,pixelY:H}}function f(){e.enabled&&(e.mouseEntered=!0)}function d(){e.enabled&&(e.mouseEntered=!1)}function h(E){return e.params.mousewheel.thresholdDelta&&E.delta=6&&Ct()-a<60?!0:(E.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),i("scroll",E.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),i("scroll",E.raw)),a=new s.Date().getTime(),!1)}function g(E){const T=e.params.mousewheel;if(E.direction<0){if(e.isEnd&&!e.params.loop&&T.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&T.releaseOnEdges)return!0;return!1}function y(E){let T=E,C=!0;if(!e.enabled||E.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const O=e.params.mousewheel;e.params.cssMode&&T.preventDefault();let k=e.el;e.params.mousewheel.eventsTarget!=="container"&&(k=document.querySelector(e.params.mousewheel.eventsTarget));const j=k&&k.contains(T.target);if(!e.mouseEntered&&!j&&!O.releaseOnEdges)return!0;T.originalEvent&&(T=T.originalEvent);let R=0;const H=e.rtlTranslate?-1:1,B=c(T);if(O.forceToAxis)if(e.isHorizontal())if(Math.abs(B.pixelX)>Math.abs(B.pixelY))R=-B.pixelX*H;else return!0;else if(Math.abs(B.pixelY)>Math.abs(B.pixelX))R=-B.pixelY;else return!0;else R=Math.abs(B.pixelX)>Math.abs(B.pixelY)?-B.pixelX*H:-B.pixelY;if(R===0)return!0;O.invert&&(R=-R);let q=e.getTranslate()+R*O.sensitivity;if(q>=e.minTranslate()&&(q=e.minTranslate()),q<=e.maxTranslate()&&(q=e.maxTranslate()),C=e.params.loop?!0:!(q===e.minTranslate()||q===e.maxTranslate()),C&&e.params.nested&&T.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const F={time:Ct(),delta:Math.abs(R),direction:Math.sign(R),raw:E};u.length>=2&&u.shift();const A=u.length?u[u.length-1]:void 0;if(u.push(F),A?(F.direction!==A.direction||F.delta>A.delta||F.time>A.time+150)&&h(F):h(F),g(F))return!0}else{const F={time:Ct(),delta:Math.abs(R),direction:Math.sign(R)},A=l&&F.time=e.minTranslate()&&($=e.minTranslate()),$<=e.maxTranslate()&&($=e.maxTranslate()),e.setTransition(0),e.setTranslate($),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!U&&e.isBeginning||!D&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:F.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(o),o=void 0,u.length>=15&&u.shift();const V=u.length?u[u.length-1]:void 0,K=u[0];if(u.push(F),V&&(F.delta>V.delta||F.direction!==V.direction))u.splice(0);else if(u.length>=15&&F.time-K.time<500&&K.delta-F.delta>=1&&F.delta<=6){const J=R>0?.8:.2;l=F,u.splice(0),o=ti(()=>{e.slideToClosest(e.params.speed,!0,void 0,J)},0)}o||(o=ti(()=>{l=F,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(A||i("scroll",T),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),O.releaseOnEdges&&($===e.minTranslate()||$===e.maxTranslate()))return!0}}return T.preventDefault?T.preventDefault():T.returnValue=!1,!1}function b(E){let T=e.el;e.params.mousewheel.eventsTarget!=="container"&&(T=document.querySelector(e.params.mousewheel.eventsTarget)),T[E]("mouseenter",f),T[E]("mouseleave",d),T[E]("wheel",y)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",y),!0):e.mousewheel.enabled?!1:(b("addEventListener"),e.mousewheel.enabled=!0,!0)}function _(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,y),!0):e.mousewheel.enabled?(b("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&_(),e.params.mousewheel.enabled&&v()}),n("destroy",()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&_()}),Object.assign(e.mousewheel,{enable:v,disable:_})}function Ep(t,e,r,n){return t.params.createElements&&Object.keys(n).forEach(i=>{if(!r[i]&&r.auto===!0){let s=Qe(t.el,`.${n[i]}`)[0];s||(s=Vt("div",n[i]),s.className=n[i],t.el.append(s)),r[i]=s,e[i]=s}}),r}function hW(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};const s=y=>(Array.isArray(y)?y:[y]).filter(b=>!!b);function o(y){let b;return y&&typeof y=="string"&&e.isElement&&(b=e.el.querySelector(y),b)?b:(y&&(typeof y=="string"&&(b=[...document.querySelectorAll(y)]),e.params.uniqueNavElements&&typeof y=="string"&&b.length>1&&e.el.querySelectorAll(y).length===1&&(b=e.el.querySelector(y))),y&&!b?y:b)}function a(y,b){const v=e.params.navigation;y=s(y),y.forEach(_=>{_&&(_.classList[b?"add":"remove"](...v.disabledClass.split(" ")),_.tagName==="BUTTON"&&(_.disabled=b),e.params.watchOverflow&&e.enabled&&_.classList[e.isLocked?"add":"remove"](v.lockClass))})}function l(){const{nextEl:y,prevEl:b}=e.navigation;if(e.params.loop){a(b,!1),a(y,!1);return}a(b,e.isBeginning&&!e.params.rewind),a(y,e.isEnd&&!e.params.rewind)}function u(y){y.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function c(y){y.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function f(){const y=e.params.navigation;if(e.params.navigation=Ep(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(y.nextEl||y.prevEl))return;let b=o(y.nextEl),v=o(y.prevEl);Object.assign(e.navigation,{nextEl:b,prevEl:v}),b=s(b),v=s(v);const _=(E,T)=>{E&&E.addEventListener("click",T==="next"?c:u),!e.enabled&&E&&E.classList.add(...y.lockClass.split(" "))};b.forEach(E=>_(E,"next")),v.forEach(E=>_(E,"prev"))}function d(){let{nextEl:y,prevEl:b}=e.navigation;y=s(y),b=s(b);const v=(_,E)=>{_.removeEventListener("click",E==="next"?c:u),_.classList.remove(...e.params.navigation.disabledClass.split(" "))};y.forEach(_=>v(_,"next")),b.forEach(_=>v(_,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?g():(f(),l())}),n("toEdge fromEdge lock unlock",()=>{l()}),n("destroy",()=>{d()}),n("enable disable",()=>{let{nextEl:y,prevEl:b}=e.navigation;if(y=s(y),b=s(b),e.enabled){l();return}[...y,...b].filter(v=>!!v).forEach(v=>v.classList.add(e.params.navigation.lockClass))}),n("click",(y,b)=>{let{nextEl:v,prevEl:_}=e.navigation;v=s(v),_=s(_);const E=b.target;if(e.params.navigation.hideOnClick&&!_.includes(E)&&!v.includes(E)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===E||e.pagination.el.contains(E)))return;let T;v.length?T=v[0].classList.contains(e.params.navigation.hiddenClass):_.length&&(T=_[0].classList.contains(e.params.navigation.hiddenClass)),i(T===!0?"navigationShow":"navigationHide"),[...v,..._].filter(C=>!!C).forEach(C=>C.classList.toggle(e.params.navigation.hiddenClass))}});const h=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),f(),l()},g=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(e.navigation,{enable:h,disable:g,update:l,init:f,destroy:d})}function on(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function pW(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s="swiper-pagination";r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:_=>_,formatFractionTotal:_=>_,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),e.pagination={el:null,bullets:[]};let o,a=0;const l=_=>(Array.isArray(_)?_:[_]).filter(E=>!!E);function u(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(_,E){const{bulletActiveClass:T}=e.params.pagination;_&&(_=_[`${E==="prev"?"previous":"next"}ElementSibling`],_&&(_.classList.add(`${T}-${E}`),_=_[`${E==="prev"?"previous":"next"}ElementSibling`],_&&_.classList.add(`${T}-${E}-${E}`)))}function f(_){const E=_.target.closest(on(e.params.pagination.bulletClass));if(!E)return;_.preventDefault();const T=bo(E)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===T)return;const C=e.realIndex,O=e.getSlideIndexByData(T),k=e.getSlideIndexByData(e.realIndex),j=R=>{const H=e.activeIndex;e.loopFix({direction:R,activeSlideIndex:O,slideTo:!1});const B=e.activeIndex;H===B&&e.slideToLoop(C,0,!1,!0)};if(O>e.slides.length-e.loopedSlides)j(O>k?"next":"prev");else if(e.params.centeredSlides){const R=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(parseFloat(e.params.slidesPerView,10));O1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(C=e.snapIndex,O=e.previousSnapIndex):(O=e.previousIndex||0,C=e.activeIndex||0),E.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const R=e.pagination.bullets;let H,B,q;if(E.dynamicBullets&&(o=hd(R[0],e.isHorizontal()?"width":"height",!0),T.forEach(F=>{F.style[e.isHorizontal()?"width":"height"]=`${o*(E.dynamicMainBullets+4)}px`}),E.dynamicMainBullets>1&&O!==void 0&&(a+=C-(O||0),a>E.dynamicMainBullets-1?a=E.dynamicMainBullets-1:a<0&&(a=0)),H=Math.max(C-a,0),B=H+(Math.min(R.length,E.dynamicMainBullets)-1),q=(B+H)/2),R.forEach(F=>{const A=[...["","-next","-next-next","-prev","-prev-prev","-main"].map($=>`${E.bulletActiveClass}${$}`)].map($=>typeof $=="string"&&$.includes(" ")?$.split(" "):$).flat();F.classList.remove(...A)}),T.length>1)R.forEach(F=>{const A=bo(F);A===C?F.classList.add(...E.bulletActiveClass.split(" ")):e.isElement&&F.setAttribute("part","bullet"),E.dynamicBullets&&(A>=H&&A<=B&&F.classList.add(...`${E.bulletActiveClass}-main`.split(" ")),A===H&&c(F,"prev"),A===B&&c(F,"next"))});else{const F=R[C];if(F&&F.classList.add(...E.bulletActiveClass.split(" ")),e.isElement&&R.forEach((A,$)=>{A.setAttribute("part",$===C?"bullet-active":"bullet")}),E.dynamicBullets){const A=R[H],$=R[B];for(let U=H;U<=B;U+=1)R[U]&&R[U].classList.add(...`${E.bulletActiveClass}-main`.split(" "));c(A,"prev"),c($,"next")}}if(E.dynamicBullets){const F=Math.min(R.length,E.dynamicMainBullets+4),A=(o*F-o)/2-q*o,$=_?"right":"left";R.forEach(U=>{U.style[e.isHorizontal()?$:"top"]=`${A}px`})}}T.forEach((R,H)=>{if(E.type==="fraction"&&(R.querySelectorAll(on(E.currentClass)).forEach(B=>{B.textContent=E.formatFractionCurrent(C+1)}),R.querySelectorAll(on(E.totalClass)).forEach(B=>{B.textContent=E.formatFractionTotal(j)})),E.type==="progressbar"){let B;E.progressbarOpposite?B=e.isHorizontal()?"vertical":"horizontal":B=e.isHorizontal()?"horizontal":"vertical";const q=(C+1)/j;let F=1,A=1;B==="horizontal"?F=q:A=q,R.querySelectorAll(on(E.progressbarFillClass)).forEach($=>{$.style.transform=`translate3d(0,0,0) scaleX(${F}) scaleY(${A})`,$.style.transitionDuration=`${e.params.speed}ms`})}E.type==="custom"&&E.renderCustom?(R.innerHTML=E.renderCustom(e,C+1,j),H===0&&i("paginationRender",R)):(H===0&&i("paginationRender",R),i("paginationUpdate",R)),e.params.watchOverflow&&e.enabled&&R.classList[e.isLocked?"add":"remove"](E.lockClass)})}function h(){const _=e.params.pagination;if(u())return;const E=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length;let T=e.pagination.el;T=l(T);let C="";if(_.type==="bullets"){let O=e.params.loop?Math.ceil(E/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&O>E&&(O=E);for(let k=0;k`}_.type==="fraction"&&(_.renderFraction?C=_.renderFraction.call(e,_.currentClass,_.totalClass):C=` / `),_.type==="progressbar"&&(_.renderProgressbar?C=_.renderProgressbar.call(e,_.progressbarFillClass):C=``),e.pagination.bullets=[],T.forEach(O=>{_.type!=="custom"&&(O.innerHTML=C||""),_.type==="bullets"&&e.pagination.bullets.push(...O.querySelectorAll(on(_.bulletClass)))}),_.type!=="custom"&&i("paginationRender",T[0])}function g(){e.params.pagination=Ep(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const _=e.params.pagination;if(!_.el)return;let E;typeof _.el=="string"&&e.isElement&&(E=e.el.querySelector(_.el)),!E&&typeof _.el=="string"&&(E=[...document.querySelectorAll(_.el)]),E||(E=_.el),!(!E||E.length===0)&&(e.params.uniqueNavElements&&typeof _.el=="string"&&Array.isArray(E)&&E.length>1&&(E=[...e.el.querySelectorAll(_.el)],E.length>1&&(E=E.filter(T=>Kn(T,".swiper")[0]===e.el)[0])),Array.isArray(E)&&E.length===1&&(E=E[0]),Object.assign(e.pagination,{el:E}),E=l(E),E.forEach(T=>{_.type==="bullets"&&_.clickable&&T.classList.add(...(_.clickableClass||"").split(" ")),T.classList.add(_.modifierClass+_.type),T.classList.add(e.isHorizontal()?_.horizontalClass:_.verticalClass),_.type==="bullets"&&_.dynamicBullets&&(T.classList.add(`${_.modifierClass}${_.type}-dynamic`),a=0,_.dynamicMainBullets<1&&(_.dynamicMainBullets=1)),_.type==="progressbar"&&_.progressbarOpposite&&T.classList.add(_.progressbarOppositeClass),_.clickable&&T.addEventListener("click",f),e.enabled||T.classList.add(_.lockClass)}))}function y(){const _=e.params.pagination;if(u())return;let E=e.pagination.el;E&&(E=l(E),E.forEach(T=>{T.classList.remove(_.hiddenClass),T.classList.remove(_.modifierClass+_.type),T.classList.remove(e.isHorizontal()?_.horizontalClass:_.verticalClass),_.clickable&&(T.classList.remove(...(_.clickableClass||"").split(" ")),T.removeEventListener("click",f))})),e.pagination.bullets&&e.pagination.bullets.forEach(T=>T.classList.remove(..._.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const _=e.params.pagination;let{el:E}=e.pagination;E=l(E),E.forEach(T=>{T.classList.remove(_.horizontalClass,_.verticalClass),T.classList.add(e.isHorizontal()?_.horizontalClass:_.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?v():(g(),h(),d())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&d()}),n("snapIndexChange",()=>{d()}),n("snapGridLengthChange",()=>{h(),d()}),n("destroy",()=>{y()}),n("enable disable",()=>{let{el:_}=e.pagination;_&&(_=l(_),_.forEach(E=>E.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{d()}),n("click",(_,E)=>{const T=E.target,C=l(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&C&&C.length>0&&!T.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&T===e.navigation.nextEl||e.navigation.prevEl&&T===e.navigation.prevEl))return;const O=C[0].classList.contains(e.params.pagination.hiddenClass);i(O===!0?"paginationShow":"paginationHide"),C.forEach(k=>k.classList.toggle(e.params.pagination.hiddenClass))}});const b=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:_}=e.pagination;_&&(_=l(_),_.forEach(E=>E.classList.remove(e.params.pagination.paginationDisabledClass))),g(),h(),d()},v=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:_}=e.pagination;_&&(_=l(_),_.forEach(E=>E.classList.add(e.params.pagination.paginationDisabledClass))),y()};Object.assign(e.pagination,{enable:b,disable:v,render:h,update:d,init:g,destroy:y})}function gW(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=st();let o=!1,a=null,l=null,u,c,f,d;r({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:q,rtlTranslate:F}=e,{dragEl:A,el:$}=q,U=e.params.scrollbar,D=e.params.loop?e.progressLoop:e.progress;let V=c,K=(f-c)*D;F?(K=-K,K>0?(V=c-K,K=0):-K+c>f&&(V=f+K)):K<0?(V=c+K,K=0):K+c>f&&(V=f-K),e.isHorizontal()?(A.style.transform=`translate3d(${K}px, 0, 0)`,A.style.width=`${V}px`):(A.style.transform=`translate3d(0px, ${K}px, 0)`,A.style.height=`${V}px`),U.hide&&(clearTimeout(a),$.style.opacity=1,a=setTimeout(()=>{$.style.opacity=0,$.style.transitionDuration="400ms"},1e3))}function g(q){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${q}ms`)}function y(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:q}=e,{dragEl:F,el:A}=q;F.style.width="",F.style.height="",f=e.isHorizontal()?A.offsetWidth:A.offsetHeight,d=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=f*d:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?F.style.width=`${c}px`:F.style.height=`${c}px`,d>=1?A.style.display="none":A.style.display="",e.params.scrollbar.hide&&(A.style.opacity=0),e.params.watchOverflow&&e.enabled&&q.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function b(q){return e.isHorizontal()?q.clientX:q.clientY}function v(q){const{scrollbar:F,rtlTranslate:A}=e,{el:$}=F;let U;U=(b(q)-Sl($)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(f-c),U=Math.max(Math.min(U,1),0),A&&(U=1-U);const D=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*U;e.updateProgress(D),e.setTranslate(D),e.updateActiveIndex(),e.updateSlidesClasses()}function _(q){const F=e.params.scrollbar,{scrollbar:A,wrapperEl:$}=e,{el:U,dragEl:D}=A;o=!0,u=q.target===D?b(q)-q.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,q.preventDefault(),q.stopPropagation(),$.style.transitionDuration="100ms",D.style.transitionDuration="100ms",v(q),clearTimeout(l),U.style.transitionDuration="0ms",F.hide&&(U.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",q)}function E(q){const{scrollbar:F,wrapperEl:A}=e,{el:$,dragEl:U}=F;o&&(q.preventDefault?q.preventDefault():q.returnValue=!1,v(q),A.style.transitionDuration="0ms",$.style.transitionDuration="0ms",U.style.transitionDuration="0ms",i("scrollbarDragMove",q))}function T(q){const F=e.params.scrollbar,{scrollbar:A,wrapperEl:$}=e,{el:U}=A;o&&(o=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",$.style.transitionDuration=""),F.hide&&(clearTimeout(l),l=ti(()=>{U.style.opacity=0,U.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",q),F.snapOnRelease&&e.slideToClosest())}function C(q){const{scrollbar:F,params:A}=e,$=F.el;if(!$)return;const U=$,D=A.passiveListeners?{passive:!1,capture:!1}:!1,V=A.passiveListeners?{passive:!0,capture:!1}:!1;if(!U)return;const K=q==="on"?"addEventListener":"removeEventListener";U[K]("pointerdown",_,D),s[K]("pointermove",E,D),s[K]("pointerup",T,V)}function O(){!e.params.scrollbar.el||!e.scrollbar.el||C("on")}function k(){!e.params.scrollbar.el||!e.scrollbar.el||C("off")}function j(){const{scrollbar:q,el:F}=e;e.params.scrollbar=Ep(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const A=e.params.scrollbar;if(!A.el)return;let $;typeof A.el=="string"&&e.isElement&&($=e.el.querySelector(A.el)),!$&&typeof A.el=="string"?$=s.querySelectorAll(A.el):$||($=A.el),e.params.uniqueNavElements&&typeof A.el=="string"&&$.length>1&&F.querySelectorAll(A.el).length===1&&($=F.querySelector(A.el)),$.length>0&&($=$[0]),$.classList.add(e.isHorizontal()?A.horizontalClass:A.verticalClass);let U;$&&(U=$.querySelector(`.${e.params.scrollbar.dragClass}`),U||(U=Vt("div",e.params.scrollbar.dragClass),$.append(U))),Object.assign(q,{el:$,dragEl:U}),A.draggable&&O(),$&&$.classList[e.enabled?"remove":"add"](e.params.scrollbar.lockClass)}function R(){const q=e.params.scrollbar,F=e.scrollbar.el;F&&F.classList.remove(e.isHorizontal()?q.horizontalClass:q.verticalClass),k()}n("init",()=>{e.params.scrollbar.enabled===!1?B():(j(),y(),h())}),n("update resize observerUpdate lock unlock",()=>{y()}),n("setTranslate",()=>{h()}),n("setTransition",(q,F)=>{g(F)}),n("enable disable",()=>{const{el:q}=e.scrollbar;q&&q.classList[e.enabled?"remove":"add"](e.params.scrollbar.lockClass)}),n("destroy",()=>{R()});const H=()=>{e.el.classList.remove(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.el&&e.scrollbar.el.classList.remove(e.params.scrollbar.scrollbarDisabledClass),j(),y(),h()},B=()=>{e.el.classList.add(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.el&&e.scrollbar.el.classList.add(e.params.scrollbar.scrollbarDisabledClass),R()};Object.assign(e.scrollbar,{enable:H,disable:B,updateSize:y,setTranslate:h,init:j,destroy:R})}function mW(t){let{swiper:e,extendParams:r,on:n}=t;r({parallax:{enabled:!1}});const i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",s=(l,u)=>{const{rtl:c}=e,f=c?-1:1,d=l.getAttribute("data-swiper-parallax")||"0";let h=l.getAttribute("data-swiper-parallax-x"),g=l.getAttribute("data-swiper-parallax-y");const y=l.getAttribute("data-swiper-parallax-scale"),b=l.getAttribute("data-swiper-parallax-opacity"),v=l.getAttribute("data-swiper-parallax-rotate");if(h||g?(h=h||"0",g=g||"0"):e.isHorizontal()?(h=d,g="0"):(g=d,h="0"),h.indexOf("%")>=0?h=`${parseInt(h,10)*u*f}%`:h=`${h*u*f}px`,g.indexOf("%")>=0?g=`${parseInt(g,10)*u}%`:g=`${g*u}px`,typeof b<"u"&&b!==null){const E=b-(b-1)*(1-Math.abs(u));l.style.opacity=E}let _=`translate3d(${h}, ${g}, 0px)`;if(typeof y<"u"&&y!==null){const E=y-(y-1)*(1-Math.abs(u));_+=` scale(${E})`}if(v&&typeof v<"u"&&v!==null){const E=v*u*-1;_+=` rotate(${E}deg)`}l.style.transform=_},o=()=>{const{el:l,slides:u,progress:c,snapGrid:f,isElement:d}=e,h=Qe(l,i);e.isElement&&h.push(...Qe(e.hostEl,i)),h.forEach(g=>{s(g,c)}),u.forEach((g,y)=>{let b=g.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(b+=Math.ceil(y/2)-c*(f.length-1)),b=Math.min(Math.max(b,-1),1),g.querySelectorAll(`${i}, [data-swiper-parallax-rotate]`).forEach(v=>{s(v,b)})})},a=function(l){l===void 0&&(l=e.params.speed);const{el:u,hostEl:c}=e,f=[...u.querySelectorAll(i)];e.isElement&&f.push(...c.querySelectorAll(i)),f.forEach(d=>{let h=parseInt(d.getAttribute("data-swiper-parallax-duration"),10)||l;l===0&&(h=0),d.style.transitionDuration=`${h}ms`})};n("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),n("init",()=>{e.params.parallax.enabled&&o()}),n("setTranslate",()=>{e.params.parallax.enabled&&o()}),n("setTransition",(l,u)=>{e.params.parallax.enabled&&a(u)})}function yW(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=ze();r({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let o=1,a=!1,l,u;const c=[],f={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},d={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},h={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let g=1;Object.defineProperty(e.zoom,"scale",{get(){return g},set(D){if(g!==D){const V=f.imageEl,K=f.slideEl;i("zoomChange",D,V,K)}g=D}});function y(){if(c.length<2)return 1;const D=c[0].pageX,V=c[0].pageY,K=c[1].pageX,J=c[1].pageY;return Math.sqrt((K-D)**2+(J-V)**2)}function b(){if(c.length<2)return{x:null,y:null};const D=f.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-D.x-s.scrollX)/o,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-D.y-s.scrollY)/o]}function v(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function _(D){const V=v();return!!(D.target.matches(V)||e.slides.filter(K=>K.contains(D.target)).length>0)}function E(D){const V=`.${e.params.zoom.containerClass}`;return!!(D.target.matches(V)||[...e.hostEl.querySelectorAll(V)].filter(K=>K.contains(D.target)).length>0)}function T(D){if(D.pointerType==="mouse"&&c.splice(0,c.length),!_(D))return;const V=e.params.zoom;if(l=!1,u=!1,c.push(D),!(c.length<2)){if(l=!0,f.scaleStart=y(),!f.slideEl){f.slideEl=D.target.closest(`.${e.params.slideClass}, swiper-slide`),f.slideEl||(f.slideEl=e.slides[e.activeIndex]);let K=f.slideEl.querySelector(`.${V.containerClass}`);if(K&&(K=K.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=K,K?f.imageWrapEl=Kn(f.imageEl,`.${V.containerClass}`)[0]:f.imageWrapEl=void 0,!f.imageWrapEl){f.imageEl=void 0;return}f.maxRatio=f.imageWrapEl.getAttribute("data-swiper-zoom")||V.maxRatio}if(f.imageEl){const[K,J]=b();f.originX=K,f.originY=J,f.imageEl.style.transitionDuration="0ms"}a=!0}}function C(D){if(!_(D))return;const V=e.params.zoom,K=e.zoom,J=c.findIndex(oe=>oe.pointerId===D.pointerId);J>=0&&(c[J]=D),!(c.length<2)&&(u=!0,f.scaleMove=y(),f.imageEl&&(K.scale=f.scaleMove/f.scaleStart*o,K.scale>f.maxRatio&&(K.scale=f.maxRatio-1+(K.scale-f.maxRatio+1)**.5),K.scaleoe.pointerId===D.pointerId);J>=0&&c.splice(J,1),!(!l||!u)&&(l=!1,u=!1,f.imageEl&&(K.scale=Math.max(Math.min(K.scale,f.maxRatio),V.minRatio),f.imageEl.style.transitionDuration=`${e.params.speed}ms`,f.imageEl.style.transform=`translate3d(0,0,0) scale(${K.scale})`,o=K.scale,a=!1,K.scale>1&&f.slideEl?f.slideEl.classList.add(`${V.zoomedSlideClass}`):K.scale<=1&&f.slideEl&&f.slideEl.classList.remove(`${V.zoomedSlideClass}`),K.scale===1&&(f.originX=0,f.originY=0,f.slideEl=void 0)))}function k(D){const V=e.device;if(!f.imageEl||d.isTouched)return;V.android&&D.cancelable&&D.preventDefault(),d.isTouched=!0;const K=c.length>0?c[0]:D;d.touchesStart.x=K.pageX,d.touchesStart.y=K.pageY}function j(D){if(!_(D)||!E(D))return;const V=e.zoom;if(!f.imageEl||!d.isTouched||!f.slideEl)return;d.isMoved||(d.width=f.imageEl.offsetWidth,d.height=f.imageEl.offsetHeight,d.startX=dd(f.imageWrapEl,"x")||0,d.startY=dd(f.imageWrapEl,"y")||0,f.slideWidth=f.slideEl.offsetWidth,f.slideHeight=f.slideEl.offsetHeight,f.imageWrapEl.style.transitionDuration="0ms");const K=d.width*V.scale,J=d.height*V.scale;if(K0?c[0].pageX:D.pageX,d.touchesCurrent.y=c.length>0?c[0].pageY:D.pageY,Math.max(Math.abs(d.touchesCurrent.x-d.touchesStart.x),Math.abs(d.touchesCurrent.y-d.touchesStart.y))>5&&(e.allowClick=!1),!d.isMoved&&!a){if(e.isHorizontal()&&(Math.floor(d.minX)===Math.floor(d.startX)&&d.touchesCurrent.xd.touchesStart.x)){d.isTouched=!1;return}if(!e.isHorizontal()&&(Math.floor(d.minY)===Math.floor(d.startY)&&d.touchesCurrent.yd.touchesStart.y)){d.isTouched=!1;return}}D.cancelable&&D.preventDefault(),D.stopPropagation(),d.isMoved=!0;const de=(V.scale-o)/(f.maxRatio-e.params.zoom.minRatio),{originX:fe,originY:ge}=f;d.currentX=d.touchesCurrent.x-d.touchesStart.x+d.startX+de*(d.width-fe*2),d.currentY=d.touchesCurrent.y-d.touchesStart.y+d.startY+de*(d.height-ge*2),d.currentXd.maxX&&(d.currentX=d.maxX-1+(d.currentX-d.maxX+1)**.8),d.currentYd.maxY&&(d.currentY=d.maxY-1+(d.currentY-d.maxY+1)**.8),h.prevPositionX||(h.prevPositionX=d.touchesCurrent.x),h.prevPositionY||(h.prevPositionY=d.touchesCurrent.y),h.prevTime||(h.prevTime=Date.now()),h.x=(d.touchesCurrent.x-h.prevPositionX)/(Date.now()-h.prevTime)/2,h.y=(d.touchesCurrent.y-h.prevPositionY)/(Date.now()-h.prevTime)/2,Math.abs(d.touchesCurrent.x-h.prevPositionX)<2&&(h.x=0),Math.abs(d.touchesCurrent.y-h.prevPositionY)<2&&(h.y=0),h.prevPositionX=d.touchesCurrent.x,h.prevPositionY=d.touchesCurrent.y,h.prevTime=Date.now(),f.imageWrapEl.style.transform=`translate3d(${d.currentX}px, ${d.currentY}px,0)`}function R(){const D=e.zoom;if(!f.imageEl)return;if(!d.isTouched||!d.isMoved){d.isTouched=!1,d.isMoved=!1;return}d.isTouched=!1,d.isMoved=!1;let V=300,K=300;const J=h.x*V,oe=d.currentX+J,de=h.y*K,fe=d.currentY+de;h.x!==0&&(V=Math.abs((oe-d.currentX)/h.x)),h.y!==0&&(K=Math.abs((fe-d.currentY)/h.y));const ge=Math.max(V,K);d.currentX=oe,d.currentY=fe;const ye=d.width*D.scale,X=d.height*D.scale;d.minX=Math.min(f.slideWidth/2-ye/2,0),d.maxX=-d.minX,d.minY=Math.min(f.slideHeight/2-X/2,0),d.maxY=-d.minY,d.currentX=Math.max(Math.min(d.currentX,d.maxX),d.minX),d.currentY=Math.max(Math.min(d.currentY,d.maxY),d.minY),f.imageWrapEl.style.transitionDuration=`${ge}ms`,f.imageWrapEl.style.transform=`translate3d(${d.currentX}px, ${d.currentY}px,0)`}function H(){const D=e.zoom;f.slideEl&&e.activeIndex!==e.slides.indexOf(f.slideEl)&&(f.imageEl&&(f.imageEl.style.transform="translate3d(0,0,0) scale(1)"),f.imageWrapEl&&(f.imageWrapEl.style.transform="translate3d(0,0,0)"),f.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),D.scale=1,o=1,f.slideEl=void 0,f.imageEl=void 0,f.imageWrapEl=void 0,f.originX=0,f.originY=0)}function B(D){const V=e.zoom,K=e.params.zoom;if(!f.slideEl){D&&D.target&&(f.slideEl=D.target.closest(`.${e.params.slideClass}, swiper-slide`)),f.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.slideEl=Qe(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:f.slideEl=e.slides[e.activeIndex]);let ne=f.slideEl.querySelector(`.${K.containerClass}`);ne&&(ne=ne.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=ne,ne?f.imageWrapEl=Kn(f.imageEl,`.${K.containerClass}`)[0]:f.imageWrapEl=void 0}if(!f.imageEl||!f.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),f.slideEl.classList.add(`${K.zoomedSlideClass}`);let J,oe,de,fe,ge,ye,X,G,re,ee,ce,P,w,S,M,z,W,Q;typeof d.touchesStart.x>"u"&&D?(J=D.pageX,oe=D.pageY):(J=d.touchesStart.x,oe=d.touchesStart.y);const ie=typeof D=="number"?D:null;o===1&&ie&&(J=void 0,oe=void 0),V.scale=ie||f.imageWrapEl.getAttribute("data-swiper-zoom")||K.maxRatio,o=ie||f.imageWrapEl.getAttribute("data-swiper-zoom")||K.maxRatio,D&&!(o===1&&ie)?(W=f.slideEl.offsetWidth,Q=f.slideEl.offsetHeight,de=Sl(f.slideEl).left+s.scrollX,fe=Sl(f.slideEl).top+s.scrollY,ge=de+W/2-J,ye=fe+Q/2-oe,re=f.imageEl.offsetWidth,ee=f.imageEl.offsetHeight,ce=re*V.scale,P=ee*V.scale,w=Math.min(W/2-ce/2,0),S=Math.min(Q/2-P/2,0),M=-w,z=-S,X=ge*V.scale,G=ye*V.scale,XM&&(X=M),Gz&&(G=z)):(X=0,G=0),ie&&V.scale===1&&(f.originX=0,f.originY=0),f.imageWrapEl.style.transitionDuration="300ms",f.imageWrapEl.style.transform=`translate3d(${X}px, ${G}px,0)`,f.imageEl.style.transitionDuration="300ms",f.imageEl.style.transform=`translate3d(0,0,0) scale(${V.scale})`}function q(){const D=e.zoom,V=e.params.zoom;if(!f.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.slideEl=Qe(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:f.slideEl=e.slides[e.activeIndex];let K=f.slideEl.querySelector(`.${V.containerClass}`);K&&(K=K.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=K,K?f.imageWrapEl=Kn(f.imageEl,`.${V.containerClass}`)[0]:f.imageWrapEl=void 0}!f.imageEl||!f.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),D.scale=1,o=1,f.imageWrapEl.style.transitionDuration="300ms",f.imageWrapEl.style.transform="translate3d(0,0,0)",f.imageEl.style.transitionDuration="300ms",f.imageEl.style.transform="translate3d(0,0,0) scale(1)",f.slideEl.classList.remove(`${V.zoomedSlideClass}`),f.slideEl=void 0,f.originX=0,f.originY=0)}function F(D){const V=e.zoom;V.scale&&V.scale!==1?q():B(D)}function A(){const D=e.params.passiveListeners?{passive:!0,capture:!1}:!1,V=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:D,activeListenerWithCapture:V}}function $(){const D=e.zoom;if(D.enabled)return;D.enabled=!0;const{passiveListener:V,activeListenerWithCapture:K}=A();e.wrapperEl.addEventListener("pointerdown",T,V),e.wrapperEl.addEventListener("pointermove",C,K),["pointerup","pointercancel","pointerout"].forEach(J=>{e.wrapperEl.addEventListener(J,O,V)}),e.wrapperEl.addEventListener("pointermove",j,K)}function U(){const D=e.zoom;if(!D.enabled)return;D.enabled=!1;const{passiveListener:V,activeListenerWithCapture:K}=A();e.wrapperEl.removeEventListener("pointerdown",T,V),e.wrapperEl.removeEventListener("pointermove",C,K),["pointerup","pointercancel","pointerout"].forEach(J=>{e.wrapperEl.removeEventListener(J,O,V)}),e.wrapperEl.removeEventListener("pointermove",j,K)}n("init",()=>{e.params.zoom.enabled&&$()}),n("destroy",()=>{U()}),n("touchStart",(D,V)=>{e.zoom.enabled&&k(V)}),n("touchEnd",(D,V)=>{e.zoom.enabled&&R()}),n("doubleTap",(D,V)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&F(V)}),n("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&H()}),n("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&H()}),Object.assign(e.zoom,{enable:$,disable:U,in:B,out:q,toggle:F})}function wW(t){let{swiper:e,extendParams:r,on:n}=t;r({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function i(u,c){const f=function(){let y,b,v;return(_,E)=>{for(b=-1,y=_.length;y-b>1;)v=y+b>>1,_[v]<=E?b=v:y=v;return y}}();this.x=u,this.y=c,this.lastIndex=u.length-1;let d,h;return this.interpolate=function(y){return y?(h=f(this.x,y),d=h-1,(y-this.x[d])*(this.y[h]-this.y[d])/(this.x[h]-this.x[d])+this.y[d]):0},this}function s(u){e.controller.spline=e.params.loop?new i(e.slidesGrid,u.slidesGrid):new i(e.snapGrid,u.snapGrid)}function o(u,c){const f=e.controller.control;let d,h;const g=e.constructor;function y(b){if(b.destroyed)return;const v=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(s(b),h=-e.controller.spline.interpolate(-v)),(!h||e.params.controller.by==="container")&&(d=(b.maxTranslate()-b.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(d)||!Number.isFinite(d))&&(d=1),h=(v-e.minTranslate())*d+b.minTranslate()),e.params.controller.inverse&&(h=b.maxTranslate()-h),b.updateProgress(h),b.setTranslate(h,e),b.updateActiveIndex(),b.updateSlidesClasses()}if(Array.isArray(f))for(let b=0;b{y.updateAutoHeight()}),eo(y.wrapperEl,()=>{d&&y.transitionEnd()})))}if(Array.isArray(d))for(h=0;h{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){const u=document.querySelector(e.params.controller.control);if(u&&u.swiper)e.controller.control=u.swiper;else if(u){const c=f=>{e.controller.control=f.detail[0],e.update(),u.removeEventListener("init",c)};u.addEventListener("init",c)}return}e.controller.control=e.params.controller.control}),n("update",()=>{l()}),n("resize",()=>{l()}),n("observerUpdate",()=>{l()}),n("setTranslate",(u,c,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(c,f)}),n("setTransition",(u,c,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(c,f)}),Object.assign(e.controller,{setTranslate:o,setTransition:a})}function bW(t){let{swiper:e,extendParams:r,on:n}=t;r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let i=null;function s(A){const $=i;$.length!==0&&($.innerHTML="",$.innerHTML=A)}const o=A=>(Array.isArray(A)?A:[A]).filter($=>!!$);function a(A){A===void 0&&(A=16);const $=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(A).replace(/x/g,$)}function l(A){A=o(A),A.forEach($=>{$.setAttribute("tabIndex","0")})}function u(A){A=o(A),A.forEach($=>{$.setAttribute("tabIndex","-1")})}function c(A,$){A=o(A),A.forEach(U=>{U.setAttribute("role",$)})}function f(A,$){A=o(A),A.forEach(U=>{U.setAttribute("aria-roledescription",$)})}function d(A,$){A=o(A),A.forEach(U=>{U.setAttribute("aria-controls",$)})}function h(A,$){A=o(A),A.forEach(U=>{U.setAttribute("aria-label",$)})}function g(A,$){A=o(A),A.forEach(U=>{U.setAttribute("id",$)})}function y(A,$){A=o(A),A.forEach(U=>{U.setAttribute("aria-live",$)})}function b(A){A=o(A),A.forEach($=>{$.setAttribute("aria-disabled",!0)})}function v(A){A=o(A),A.forEach($=>{$.setAttribute("aria-disabled",!1)})}function _(A){if(A.keyCode!==13&&A.keyCode!==32)return;const $=e.params.a11y,U=A.target;e.pagination&&e.pagination.el&&(U===e.pagination.el||e.pagination.el.contains(A.target))&&!A.target.matches(on(e.params.pagination.bulletClass))||(e.navigation&&e.navigation.nextEl&&U===e.navigation.nextEl&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?s($.lastSlideMessage):s($.nextSlideMessage)),e.navigation&&e.navigation.prevEl&&U===e.navigation.prevEl&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?s($.firstSlideMessage):s($.prevSlideMessage)),e.pagination&&U.matches(on(e.params.pagination.bulletClass))&&U.click())}function E(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:A,prevEl:$}=e.navigation;$&&(e.isBeginning?(b($),u($)):(v($),l($))),A&&(e.isEnd?(b(A),u(A)):(v(A),l(A)))}function T(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function C(){return T()&&e.params.pagination.clickable}function O(){const A=e.params.a11y;T()&&e.pagination.bullets.forEach($=>{e.params.pagination.clickable&&(l($),e.params.pagination.renderBullet||(c($,"button"),h($,A.paginationBulletMessage.replace(/\{\{index\}\}/,bo($)+1)))),$.matches(on(e.params.pagination.bulletActiveClass))?$.setAttribute("aria-current","true"):$.removeAttribute("aria-current")})}const k=(A,$,U)=>{l(A),A.tagName!=="BUTTON"&&(c(A,"button"),A.addEventListener("keydown",_)),h(A,U),d(A,$)},j=()=>{e.a11y.clicked=!0},R=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},H=A=>{if(e.a11y.clicked)return;const $=A.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!$||!e.slides.includes($))return;const U=e.slides.indexOf($)===e.activeIndex,D=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes($);U||D||A.sourceCapabilities&&A.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf($),0))},B=()=>{const A=e.params.a11y;A.itemRoleDescriptionMessage&&f(e.slides,A.itemRoleDescriptionMessage),A.slideRole&&c(e.slides,A.slideRole);const $=e.slides.length;A.slideLabelMessage&&e.slides.forEach((U,D)=>{const V=e.params.loop?parseInt(U.getAttribute("data-swiper-slide-index"),10):D,K=A.slideLabelMessage.replace(/\{\{index\}\}/,V+1).replace(/\{\{slidesLength\}\}/,$);h(U,K)})},q=()=>{const A=e.params.a11y;e.el.append(i);const $=e.el;A.containerRoleDescriptionMessage&&f($,A.containerRoleDescriptionMessage),A.containerMessage&&h($,A.containerMessage);const U=e.wrapperEl,D=A.id||U.getAttribute("id")||`swiper-wrapper-${a(16)}`,V=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";g(U,D),y(U,V),B();let{nextEl:K,prevEl:J}=e.navigation?e.navigation:{};K=o(K),J=o(J),K&&K.forEach(oe=>k(oe,D,A.nextSlideMessage)),J&&J.forEach(oe=>k(oe,D,A.prevSlideMessage)),C()&&(Array.isArray(e.pagination.el)?e.pagination.el:[e.pagination.el]).forEach(de=>{de.addEventListener("keydown",_)}),e.el.addEventListener("focus",H,!0),e.el.addEventListener("pointerdown",j,!0),e.el.addEventListener("pointerup",R,!0)};function F(){i&&i.remove();let{nextEl:A,prevEl:$}=e.navigation?e.navigation:{};A=o(A),$=o($),A&&A.forEach(U=>U.removeEventListener("keydown",_)),$&&$.forEach(U=>U.removeEventListener("keydown",_)),C()&&(Array.isArray(e.pagination.el)?e.pagination.el:[e.pagination.el]).forEach(D=>{D.removeEventListener("keydown",_)}),e.el.removeEventListener("focus",H,!0),e.el.removeEventListener("pointerdown",j,!0),e.el.removeEventListener("pointerup",R,!0)}n("beforeInit",()=>{i=Vt("span",e.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),n("afterInit",()=>{e.params.a11y.enabled&&q()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&B()}),n("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&E()}),n("paginationUpdate",()=>{e.params.a11y.enabled&&O()}),n("destroy",()=>{e.params.a11y.enabled&&F()})}function _W(t){let{swiper:e,extendParams:r,on:n}=t;r({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,s={};const o=h=>h.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=h=>{const g=ze();let y;h?y=new URL(h):y=g.location;const b=y.pathname.slice(1).split("/").filter(T=>T!==""),v=b.length,_=b[v-2],E=b[v-1];return{key:_,value:E}},l=(h,g)=>{const y=ze();if(!i||!e.params.history.enabled)return;let b;e.params.url?b=new URL(e.params.url):b=y.location;const v=e.slides[g];let _=o(v.getAttribute("data-history"));if(e.params.history.root.length>0){let T=e.params.history.root;T[T.length-1]==="/"&&(T=T.slice(0,T.length-1)),_=`${T}/${h?`${h}/`:""}${_}`}else b.pathname.includes(h)||(_=`${h?`${h}/`:""}${_}`);e.params.history.keepQuery&&(_+=b.search);const E=y.history.state;E&&E.value===_||(e.params.history.replaceState?y.history.replaceState({value:_},null,_):y.history.pushState({value:_},null,_))},u=(h,g,y)=>{if(g)for(let b=0,v=e.slides.length;b{s=a(e.params.url),u(e.params.speed,s.value,!1)},f=()=>{const h=ze();if(e.params.history){if(!h.history||!h.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(i=!0,s=a(e.params.url),!s.key&&!s.value){e.params.history.replaceState||h.addEventListener("popstate",c);return}u(0,s.value,e.params.runCallbacksOnInit),e.params.history.replaceState||h.addEventListener("popstate",c)}},d=()=>{const h=ze();e.params.history.replaceState||h.removeEventListener("popstate",c)};n("init",()=>{e.params.history.enabled&&f()}),n("destroy",()=>{e.params.history.enabled&&d()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{i&&l(e.params.history.key,e.activeIndex)}),n("slideChange",()=>{i&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)})}function vW(t){let{swiper:e,extendParams:r,emit:n,on:i}=t,s=!1;const o=st(),a=ze();r({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(d,h){if(e.virtual&&e.params.virtual.enabled){const g=e.slides.filter(b=>b.getAttribute("data-hash")===h)[0];return g?parseInt(g.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(Qe(e.slidesEl,`.${e.params.slideClass}[data-hash="${h}"], swiper-slide[data-hash="${h}"]`)[0])}}});const l=()=>{n("hashChange");const d=o.location.hash.replace("#",""),h=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],g=h?h.getAttribute("data-hash"):"";if(d!==g){const y=e.params.hashNavigation.getSlideIndex(e,d);if(typeof y>"u"||Number.isNaN(y))return;e.slideTo(y)}},u=()=>{if(!s||!e.params.hashNavigation.enabled)return;const d=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],h=d?d.getAttribute("data-hash")||d.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&a.history&&a.history.replaceState?(a.history.replaceState(null,null,`#${h}`||""),n("hashSet")):(o.location.hash=h||"",n("hashSet"))},c=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;s=!0;const d=o.location.hash.replace("#","");if(d){const g=e.params.hashNavigation.getSlideIndex(e,d);e.slideTo(g||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&a.addEventListener("hashchange",l)},f=()=>{e.params.hashNavigation.watchState&&a.removeEventListener("hashchange",l)};i("init",()=>{e.params.hashNavigation.enabled&&c()}),i("destroy",()=>{e.params.hashNavigation.enabled&&f()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{s&&u()}),i("slideChange",()=>{s&&e.params.cssMode&&u()})}function EW(t){let{swiper:e,extendParams:r,on:n,emit:i,params:s}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,a,l=s&&s.autoplay?s.autoplay.delay:3e3,u=s&&s.autoplay?s.autoplay.delay:3e3,c,f=new Date().getTime,d,h,g,y,b,v;function _(D){!e||e.destroyed||!e.wrapperEl||D.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",_),R())}const E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?d=!0:d&&(u=c,d=!1);const D=e.autoplay.paused?c:f+u-new Date().getTime();e.autoplay.timeLeft=D,i("autoplayTimeLeft",D,D/l),a=requestAnimationFrame(()=>{E()})},T=()=>{let D;return e.virtual&&e.params.virtual.enabled?D=e.slides.filter(K=>K.classList.contains("swiper-slide-active"))[0]:D=e.slides[e.activeIndex],D?parseInt(D.getAttribute("data-swiper-autoplay"),10):void 0},C=D=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),E();let V=typeof D>"u"?e.params.autoplay.delay:D;l=e.params.autoplay.delay,u=e.params.autoplay.delay;const K=T();!Number.isNaN(K)&&K>0&&typeof D>"u"&&(V=K,l=K,u=K),c=V;const J=e.params.speed,oe=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(J,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,J,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(J,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,J,!0,!0),i("autoplay")),e.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{C()})))};return V>0?(clearTimeout(o),o=setTimeout(()=>{oe()},V)):requestAnimationFrame(()=>{oe()}),V},O=()=>{e.autoplay.running=!0,C(),i("autoplayStart")},k=()=>{e.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(a),i("autoplayStop")},j=(D,V)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(o),D||(v=!0);const K=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",_):R()};if(e.autoplay.paused=!0,V){b&&(c=e.params.autoplay.delay),b=!1,K();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),K())},R=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),v?(v=!1,C(c)):C(),e.autoplay.paused=!1,i("autoplayResume"))},H=()=>{if(e.destroyed||!e.autoplay.running)return;const D=st();D.visibilityState==="hidden"&&(v=!0,j(!0)),D.visibilityState==="visible"&&R()},B=D=>{D.pointerType==="mouse"&&(v=!0,!(e.animating||e.autoplay.paused)&&j(!0))},q=D=>{D.pointerType==="mouse"&&e.autoplay.paused&&R()},F=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",B),e.el.addEventListener("pointerleave",q))},A=()=>{e.el.removeEventListener("pointerenter",B),e.el.removeEventListener("pointerleave",q)},$=()=>{st().addEventListener("visibilitychange",H)},U=()=>{st().removeEventListener("visibilitychange",H)};n("init",()=>{e.params.autoplay.enabled&&(F(),$(),f=new Date().getTime(),O())}),n("destroy",()=>{A(),U(),e.autoplay.running&&k()}),n("beforeTransitionStart",(D,V,K)=>{e.destroyed||!e.autoplay.running||(K||!e.params.autoplay.disableOnInteraction?j(!0,!0):k())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){k();return}h=!0,g=!1,v=!1,y=setTimeout(()=>{v=!0,g=!0,j(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!h)){if(clearTimeout(y),clearTimeout(o),e.params.autoplay.disableOnInteraction){g=!1,h=!1;return}g&&e.params.cssMode&&R(),g=!1,h=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(b=!0)}),Object.assign(e.autoplay,{start:O,stop:k,pause:j,resume:R})}function SW(t){let{swiper:e,extendParams:r,on:n}=t;r({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,s=!1;e.thumbs={swiper:null};function o(){const u=e.thumbs.swiper;if(!u||u.destroyed)return;const c=u.clickedIndex,f=u.clickedSlide;if(f&&f.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof c>"u"||c===null)return;let d;u.params.loop?d=parseInt(u.clickedSlide.getAttribute("data-swiper-slide-index"),10):d=c,e.params.loop?e.slideToLoop(d):e.slideTo(d)}function a(){const{thumbs:u}=e.params;if(i)return!1;i=!0;const c=e.constructor;if(u.swiper instanceof c)e.thumbs.swiper=u.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update();else if(js(u.swiper)){const f=Object.assign({},u.swiper);Object.assign(f,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new c(f),s=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",o),!0}function l(u){const c=e.thumbs.swiper;if(!c||c.destroyed)return;const f=c.params.slidesPerView==="auto"?c.slidesPerViewDynamic():c.params.slidesPerView;let d=1;const h=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(d=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(d=1),d=Math.floor(d),c.slides.forEach(b=>b.classList.remove(h)),c.params.loop||c.params.virtual&&c.params.virtual.enabled)for(let b=0;b{v.classList.add(h)});else for(let b=0;bT.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];v=c.slides.indexOf(E),_=e.activeIndex>e.previousIndex?"next":"prev"}else v=e.realIndex,_=v>e.previousIndex?"next":"prev";y&&(v+=_==="next"?g:-1*g),c.visibleSlidesIndexes&&c.visibleSlidesIndexes.indexOf(v)<0&&(c.params.centeredSlides?v>b?v=v-Math.floor(f/2)+1:v=v+Math.floor(f/2)-1:v>b&&c.params.slidesPerGroup,c.slideTo(v,u?0:void 0))}}n("beforeInit",()=>{const{thumbs:u}=e.params;if(!(!u||!u.swiper))if(typeof u.swiper=="string"||u.swiper instanceof HTMLElement){const c=st(),f=()=>{const h=typeof u.swiper=="string"?c.querySelector(u.swiper):u.swiper;if(h&&h.swiper)u.swiper=h.swiper,a(),l(!0);else if(h){const g=y=>{u.swiper=y.detail[0],h.removeEventListener("init",g),a(),l(!0),u.swiper.update(),e.update()};h.addEventListener("init",g)}return h},d=()=>{if(e.destroyed)return;f()||requestAnimationFrame(d)};requestAnimationFrame(d)}else a(),l(!0)}),n("slideChange update resize observerUpdate",()=>{l()}),n("setTransition",(u,c)=>{const f=e.thumbs.swiper;!f||f.destroyed||f.setTransition(c)}),n("beforeDestroy",()=>{const u=e.thumbs.swiper;!u||u.destroyed||s&&u.destroy()}),Object.assign(e.thumbs,{init:a,update:l})}function xW(t){let{swiper:e,extendParams:r,emit:n,once:i}=t;r({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function s(){if(e.params.cssMode)return;const l=e.getTranslate();e.setTranslate(l),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function o(){if(e.params.cssMode)return;const{touchEventsData:l,touches:u}=e;l.velocities.length===0&&l.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:l.touchStartTime}),l.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:Ct()})}function a(l){let{currentPos:u}=l;if(e.params.cssMode)return;const{params:c,wrapperEl:f,rtlTranslate:d,snapGrid:h,touchEventsData:g}=e,b=Ct()-g.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length1){const j=g.velocities.pop(),R=g.velocities.pop(),H=j.position-R.position,B=j.time-R.time;e.velocity=H/B,e.velocity/=2,Math.abs(e.velocity)150||Ct()-j.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,g.velocities.length=0;let v=1e3*c.freeMode.momentumRatio;const _=e.velocity*v;let E=e.translate+_;d&&(E=-E);let T=!1,C;const O=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let k;if(Ee.minTranslate())c.freeMode.momentumBounce?(E-e.minTranslate()>O&&(E=e.minTranslate()+O),C=e.minTranslate(),T=!0,g.allowMomentumBounce=!0):E=e.minTranslate(),c.loop&&c.centeredSlides&&(k=!0);else if(c.freeMode.sticky){let j;for(let R=0;R-E){j=R;break}Math.abs(h[j]-E){e.loopFix()}),e.velocity!==0){if(d?v=Math.abs((-E-e.translate)/e.velocity):v=Math.abs((E-e.translate)/e.velocity),c.freeMode.sticky){const j=Math.abs((d?-E:E)-e.translate),R=e.slidesSizesGrid[e.activeIndex];j{!e||e.destroyed||!g.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(C),eo(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(E),e.setTransition(v),e.setTranslate(E),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,eo(f,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(E),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||b>=c.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:s,onTouchMove:o,onTouchEnd:a}})}function TW(t){let{swiper:e,extendParams:r,on:n}=t;r({grid:{rows:1,fill:"column"}});let i,s,o,a;const l=()=>{let g=e.params.spaceBetween;return typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*e.size:typeof g=="string"&&(g=parseFloat(g)),g},u=g=>{const{slidesPerView:y}=e.params,{rows:b,fill:v}=e.params.grid;o=Math.floor(g/b),Math.floor(g/b)===g/b?i=g:i=Math.ceil(g/b)*b,y!=="auto"&&v==="row"&&(i=Math.max(i,y*b)),s=i/b},c=(g,y,b,v)=>{const{slidesPerGroup:_}=e.params,E=l(),{rows:T,fill:C}=e.params.grid;let O,k,j;if(C==="row"&&_>1){const R=Math.floor(g/(_*T)),H=g-T*_*R,B=R===0?_:Math.min(Math.ceil((b-R*T*_)/T),_);j=Math.floor(H/B),k=H-j*B+R*_,O=k+j*i/T,y.style.order=O}else C==="column"?(k=Math.floor(g/T),j=g-k*T,(k>o||k===o&&j===T-1)&&(j+=1,j>=T&&(j=0,k+=1))):(j=Math.floor(g/s),k=g-j*s);y.row=j,y.column=k,y.style[v("margin-top")]=j!==0?E&&`${E}px`:""},f=(g,y,b)=>{const{centeredSlides:v,roundLengths:_}=e.params,E=l(),{rows:T}=e.params.grid;if(e.virtualSize=(g+E)*i,e.virtualSize=Math.ceil(e.virtualSize/T)-E,e.wrapperEl.style[b("width")]=`${e.virtualSize+E}px`,v){const C=[];for(let O=0;O{a=e.params.grid&&e.params.grid.rows>1},h=()=>{const{params:g,el:y}=e,b=g.grid&&g.grid.rows>1;a&&!b?(y.classList.remove(`${g.containerModifierClass}grid`,`${g.containerModifierClass}grid-column`),o=1,e.emitContainerClasses()):!a&&b&&(y.classList.add(`${g.containerModifierClass}grid`),g.grid.fill==="column"&&y.classList.add(`${g.containerModifierClass}grid-column`),e.emitContainerClasses()),a=b};n("init",d),n("update",h),e.grid={initSlides:u,updateSlide:c,updateWrapperSize:f}}function AW(t){const e=this,{params:r,slidesEl:n}=e;r.loop&&e.loopDestroy();const i=s=>{if(typeof s=="string"){const o=document.createElement("div");o.innerHTML=s,n.append(o.children[0]),o.innerHTML=""}else n.append(s)};if(typeof t=="object"&&"length"in t)for(let s=0;s{if(typeof a=="string"){const l=document.createElement("div");l.innerHTML=a,i.prepend(l.children[0]),l.innerHTML=""}else i.prepend(a)};if(typeof t=="object"&&"length"in t){for(let a=0;a=a){r.appendSlide(e);return}let l=o>t?o+1:o;const u=[];for(let c=a-1;c>=t;c-=1){const f=r.slides[c];f.remove(),u.unshift(f)}if(typeof e=="object"&&"length"in e){for(let c=0;ct?o+e.length:o}else s.append(e);for(let c=0;c{if(r.params.effect!==e)return;r.classNames.push(`${r.params.containerModifierClass}${e}`),a&&a()&&r.classNames.push(`${r.params.containerModifierClass}3d`);const f=o?o():{};Object.assign(r.params,f),Object.assign(r.originalParams,f)}),n("setTranslate",()=>{r.params.effect===e&&i()}),n("setTransition",(f,d)=>{r.params.effect===e&&s(d)}),n("transitionEnd",()=>{if(r.params.effect===e&&l){if(!u||!u().slideShadows)return;r.slides.forEach(f=>{f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>d.remove())}),l()}});let c;n("virtualUpdate",()=>{r.params.effect===e&&(r.slides.length||(c=!0),requestAnimationFrame(()=>{c&&r.slides&&r.slides.length&&(i(),c=!1)}))})}function jo(t,e){const r=fi(e);return r!==e&&(r.style.backfaceVisibility="hidden",r.style["-webkit-backface-visibility"]="hidden"),r}function Du(t){let{swiper:e,duration:r,transformElements:n,allSlides:i}=t;const{activeIndex:s}=e,o=a=>a.parentElement?a.parentElement:e.slides.filter(u=>u.shadowRoot&&u.shadowRoot===a.parentNode)[0];if(e.params.virtualTranslate&&r!==0){let a=!1,l;i?l=n:l=n.filter(u=>{const c=u.classList.contains("swiper-slide-transform")?o(u):u;return e.getSlideIndex(c)===s}),l.forEach(u=>{eo(u,()=>{if(a||!e||e.destroyed)return;a=!0,e.animating=!1;const c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(c)})})}}function RW(t){let{swiper:e,extendParams:r,on:n}=t;r({fadeEffect:{crossFade:!1}}),ms({effect:"fade",swiper:e,on:n,setTranslate:()=>{const{slides:o}=e,a=e.params.fadeEffect;for(let l=0;l{const a=e.slides.map(l=>fi(l));a.forEach(l=>{l.style.transitionDuration=`${o}ms`}),Du({swiper:e,duration:o,transformElements:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function LW(t){let{swiper:e,extendParams:r,on:n}=t;r({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(l,u,c)=>{let f=c?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),d=c?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");f||(f=Vt("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"left":"top"}`.split(" ")),l.append(f)),d||(d=Vt("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"right":"bottom"}`.split(" ")),l.append(d)),f&&(f.style.opacity=Math.max(-u,0)),d&&(d.style.opacity=Math.max(u,0))};ms({effect:"cube",swiper:e,on:n,setTranslate:()=>{const{el:l,wrapperEl:u,slides:c,width:f,height:d,rtlTranslate:h,size:g,browser:y}=e,b=e.params.cubeEffect,v=e.isHorizontal(),_=e.virtual&&e.params.virtual.enabled;let E=0,T;b.shadow&&(v?(T=e.wrapperEl.querySelector(".swiper-cube-shadow"),T||(T=Vt("div","swiper-cube-shadow"),e.wrapperEl.append(T)),T.style.height=`${f}px`):(T=l.querySelector(".swiper-cube-shadow"),T||(T=Vt("div","swiper-cube-shadow"),l.append(T))));for(let O=0;O-1&&(E=j*90+B*90,h&&(E=-j*90-B*90)),k.style.transform=$,b.slideShadows&&i(k,B,v)}if(u.style.transformOrigin=`50% 50% -${g/2}px`,u.style["-webkit-transform-origin"]=`50% 50% -${g/2}px`,b.shadow)if(v)T.style.transform=`translate3d(0px, ${f/2+b.shadowOffset}px, ${-f/2}px) rotateX(90deg) rotateZ(0deg) scale(${b.shadowScale})`;else{const O=Math.abs(E)-Math.floor(Math.abs(E)/90)*90,k=1.5-(Math.sin(O*2*Math.PI/360)/2+Math.cos(O*2*Math.PI/360)/2),j=b.shadowScale,R=b.shadowScale/k,H=b.shadowOffset;T.style.transform=`scale3d(${j}, 1, ${R}) translate3d(0px, ${d/2+H}px, ${-d/2/R}px) rotateX(-90deg)`}const C=(y.isSafari||y.isWebView)&&y.needPerspectiveFix?-g/2:0;u.style.transform=`translate3d(0px,0,${C}px) rotateX(${e.isHorizontal()?0:E}deg) rotateY(${e.isHorizontal()?-E:0}deg)`,u.style.setProperty("--swiper-cube-translate-z",`${C}px`)},setTransition:l=>{const{el:u,slides:c}=e;if(c.forEach(f=>{f.style.transitionDuration=`${l}ms`,f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>{d.style.transitionDuration=`${l}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const f=u.querySelector(".swiper-cube-shadow");f&&(f.style.transitionDuration=`${l}ms`)}},recreateShadows:()=>{const l=e.isHorizontal();e.slides.forEach(u=>{const c=Math.max(Math.min(u.progress,1),-1);i(u,c,l)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function is(t,e,r){const n=`swiper-slide-shadow${r?`-${r}`:""}${t?` swiper-slide-shadow-${t}`:""}`,i=fi(e);let s=i.querySelector(`.${n.split(" ").join(".")}`);return s||(s=Vt("div",n.split(" ")),i.append(s)),s}function NW(t){let{swiper:e,extendParams:r,on:n}=t;r({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(l,u)=>{let c=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),f=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");c||(c=is("flip",l,e.isHorizontal()?"left":"top")),f||(f=is("flip",l,e.isHorizontal()?"right":"bottom")),c&&(c.style.opacity=Math.max(-u,0)),f&&(f.style.opacity=Math.max(u,0))};ms({effect:"flip",swiper:e,on:n,setTranslate:()=>{const{slides:l,rtlTranslate:u}=e,c=e.params.flipEffect;for(let f=0;f{const u=e.slides.map(c=>fi(c));u.forEach(c=>{c.style.transitionDuration=`${l}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>{f.style.transitionDuration=`${l}ms`})}),Du({swiper:e,duration:l,transformElements:u})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(l=>{let u=l.progress;e.params.flipEffect.limitRotation&&(u=Math.max(Math.min(l.progress,1),-1)),i(l,u)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function $W(t){let{swiper:e,extendParams:r,on:n}=t;r({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),ms({effect:"coverflow",swiper:e,on:n,setTranslate:()=>{const{width:o,height:a,slides:l,slidesSizesGrid:u}=e,c=e.params.coverflowEffect,f=e.isHorizontal(),d=e.translate,h=f?-d+o/2:-d+a/2,g=f?c.rotate:-c.rotate,y=c.depth;for(let b=0,v=l.length;b0?O:0),D&&(D.style.opacity=-O>0?-O:0)}}},setTransition:o=>{e.slides.map(l=>fi(l)).forEach(l=>{l.style.transitionDuration=`${o}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${o}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function kW(t){let{swiper:e,extendParams:r,on:n}=t;r({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=a=>typeof a=="string"?a:`${a}px`;ms({effect:"creative",swiper:e,on:n,setTranslate:()=>{const{slides:a,wrapperEl:l,slidesSizesGrid:u}=e,c=e.params.creativeEffect,{progressMultiplier:f}=c,d=e.params.centeredSlides;if(d){const h=u[0]/2-e.params.slidesOffsetBefore||0;l.style.transform=`translateX(calc(50% - ${h}px))`}for(let h=0;h0&&(O=c.prev,C=!0),E.forEach((F,A)=>{E[A]=`calc(${F}px + (${i(O.translate[A])} * ${Math.abs(b*f)}))`}),T.forEach((F,A)=>{T[A]=O.rotate[A]*Math.abs(b*f)}),g.style.zIndex=-Math.abs(Math.round(y))+a.length;const k=E.join(", "),j=`rotateX(${T[0]}deg) rotateY(${T[1]}deg) rotateZ(${T[2]}deg)`,R=v<0?`scale(${1+(1-O.scale)*v*f})`:`scale(${1-(1-O.scale)*v*f})`,H=v<0?1+(1-O.opacity)*v*f:1-(1-O.opacity)*v*f,B=`translate3d(${k}) ${j} ${R}`;if(C&&O.shadow||!C){let F=g.querySelector(".swiper-slide-shadow");if(!F&&O.shadow&&(F=is("creative",g)),F){const A=c.shadowPerProgress?b*(1/c.limitProgress):b;F.style.opacity=Math.min(Math.max(Math.abs(A),0),1)}}const q=jo(c,g);q.style.transform=B,q.style.opacity=H,O.origin&&(q.style.transformOrigin=O.origin)}},setTransition:a=>{const l=e.slides.map(u=>fi(u));l.forEach(u=>{u.style.transitionDuration=`${a}ms`,u.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${a}ms`})}),Du({swiper:e,duration:a,transformElements:l,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function DW(t){let{swiper:e,extendParams:r,on:n}=t;r({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),ms({effect:"cards",swiper:e,on:n,setTranslate:()=>{const{slides:o,activeIndex:a,rtlTranslate:l}=e,u=e.params.cardsEffect,{startTranslate:c,isTouched:f}=e.touchEventsData,d=l?-e.translate:e.translate;for(let h=0;h0&&b<1&&(f||e.params.cssMode)&&d-1&&(f||e.params.cssMode)&&d>c;if(R||H){const A=(1-Math.abs((Math.abs(b)-.5)/.5))**.5;O+=-28*b*A,C+=-.5*A,k+=96*A,E=`${-25*A*Math.abs(b)}%`}if(b<0?_=`calc(${_}px ${l?"-":"+"} (${k*Math.abs(b)}%))`:b>0?_=`calc(${_}px ${l?"-":"+"} (-${k*Math.abs(b)}%))`:_=`${_}px`,!e.isHorizontal()){const A=E;E=_,_=A}const B=b<0?`${1+(1-C)*b}`:`${1-(1-C)*b}`,q=` - translate3d(${_}, ${E}, ${T}px) - rotateZ(${u.rotate?l?-O:O:0}deg) - scale(${B}) - `;if(u.slideShadows){let A=g.querySelector(".swiper-slide-shadow");A||(A=is("cards",g)),A&&(A.style.opacity=Math.min(Math.max((Math.abs(b)-.5)/.5,0),1))}g.style.zIndex=-Math.abs(Math.round(y))+o.length;const F=jo(u,g);F.style.transform=q}},setTransition:o=>{const a=e.slides.map(l=>fi(l));a.forEach(l=>{l.style.transitionDuration=`${o}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(u=>{u.style.transitionDuration=`${o}ms`})}),Du({swiper:e,duration:o,transformElements:a})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const BW=[cW,fW,dW,hW,pW,gW,mW,yW,wW,bW,_W,vW,EW,SW,xW,TW,PW,RW,LW,NW,$W,kW,DW];_t.use(BW);const Bu=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function ss(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Cl(t,e){const r=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>r.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:ss(e[n])&&ss(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:Cl(t[n],e[n]):t[n]=e[n]})}function FW(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function UW(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function zW(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Wa(t){return t===void 0&&(t=""),t.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function jW(t){let{swiper:e,slides:r,passedParams:n,changedParams:i,nextEl:s,prevEl:o,scrollbarEl:a,paginationEl:l}=t;const u=i.filter(R=>R!=="children"&&R!=="direction"&&R!=="wrapperClass"),{params:c,pagination:f,navigation:d,scrollbar:h,virtual:g,thumbs:y}=e;let b,v,_,E,T,C,O,k;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(b=!0),i.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(v=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||l)&&(c.pagination||c.pagination===!1)&&f&&!f.el&&(_=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&h&&!h.el&&(E=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||o)&&(n.navigation.nextEl||s)&&(c.navigation||c.navigation===!1)&&d&&!d.prevEl&&!d.nextEl&&(T=!0);const j=R=>{e[R]&&(e[R].destroy(),R==="navigation"?(e.isElement&&(e[R].prevEl.remove(),e[R].nextEl.remove()),c[R].prevEl=void 0,c[R].nextEl=void 0,e[R].prevEl=void 0,e[R].nextEl=void 0):(e.isElement&&e[R].el.remove(),c[R].el=void 0,e[R].el=void 0))};i.includes("loop")&&e.isElement&&(c.loop&&!n.loop?C=!0:!c.loop&&n.loop?O=!0:k=!0),u.forEach(R=>{if(ss(c[R])&&ss(n[R]))Cl(c[R],n[R]),(R==="navigation"||R==="pagination"||R==="scrollbar")&&"enabled"in n[R]&&!n[R].enabled&&j(R);else{const H=n[R];(H===!0||H===!1)&&(R==="navigation"||R==="pagination"||R==="scrollbar")?H===!1&&j(R):c[R]=n[R]}}),u.includes("controller")&&!v&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),i.includes("children")&&r&&g&&c.virtual.enabled&&(g.slides=r,g.update(!0)),i.includes("children")&&r&&c.loop&&(k=!0),b&&y.init()&&y.update(!0),v&&(e.controller.control=c.controller.control),_&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),e.el.appendChild(l)),l&&(c.pagination.el=l),f.init(),f.render(),f.update()),E&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(c.scrollbar.el=a),h.init(),h.updateSize(),h.setTranslate()),T&&(e.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=e.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),e.el.appendChild(s)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),o.innerHTML=e.hostEl.constructor.prevButtonSvg,o.part.add("button-prev"),e.el.appendChild(o))),s&&(c.navigation.nextEl=s),o&&(c.navigation.prevEl=o),d.init(),d.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&e.changeDirection(n.direction,!1),(C||k)&&e.loopDestroy(),(O||k)&&e.loopCreate(),e.update()}const ww=t=>{if(parseFloat(t)===Number(t))return Number(t);if(t==="true"||t==="")return!0;if(t==="false")return!1;if(t==="null")return null;if(t!=="undefined"){if(typeof t=="string"&&t.includes("{")&&t.includes("}")&&t.includes('"')){let e;try{e=JSON.parse(t)}catch{e=t}return e}return t}},bw=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function _w(t,e,r){const n={},i={};Cl(n,gd);const s=[...Bu,"on"],o=s.map(l=>l.replace(/_/,""));s.forEach(l=>{l=l.replace("_",""),typeof t[l]<"u"&&(i[l]=t[l])});const a=[...t.attributes];return typeof e=="string"&&typeof r<"u"&&a.push({name:e,value:ss(r)?{...r}:r}),a.forEach(l=>{const u=bw.filter(c=>l.name.indexOf(`${c}-`)===0)[0];if(u){const c=Wa(u),f=Wa(l.name.split(`${u}-`)[1]);typeof i[c]>"u"&&(i[c]={}),i[c]===!0&&(i[c]={enabled:!0}),i[c][f]=ww(l.value)}else{const c=Wa(l.name);if(!o.includes(c))return;const f=ww(l.value);i[c]&&bw.includes(l.name)&&!ss(f)?(i[c].constructor!==Object&&(i[c]={}),i[c].enabled=!!f):i[c]=f}}),Cl(n,i),n.navigation?n.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...n.navigation!==!0?n.navigation:{}}:n.navigation===!1&&delete n.navigation,n.scrollbar?n.scrollbar={el:".swiper-scrollbar",...n.scrollbar!==!0?n.scrollbar:{}}:n.scrollbar===!1&&delete n.scrollbar,n.pagination?n.pagination={el:".swiper-pagination",...n.pagination!==!0?n.pagination:{}}:n.pagination===!1&&delete n.pagination,{params:n,passedParams:i}}const HW=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;overflow:clip;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",WW="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}";class VW{}const qE=typeof window>"u"||typeof HTMLElement>"u"?VW:HTMLElement,vw=` - `,YE=(t,e)=>{if(typeof CSSStyleSheet<"u"&&t.adoptedStyleSheets){const r=new CSSStyleSheet;r.replaceSync(e),t.adoptedStyleSheets=[r]}else{const r=document.createElement("style");r.rel="stylesheet",r.textContent=e,t.appendChild(r)}};class KE extends qE{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return vw}static get prevButtonSvg(){return vw.replace("/>",' transform-origin="center" transform="rotate(180)"/>')}cssStyles(){return[HW,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(` -`)}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const e=this.slideSlots||0,r=[...this.querySelectorAll("[slot^=slide-]")].map(n=>parseInt(n.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=r.length?Math.max(...r)+1:0,!!this.rendered){if(this.slideSlots>e)for(let n=e;n=0;i-=1)i>this.slideSlots&&n[i].remove()}}}render(){if(this.rendered)return;this.calcSlideSlots();let e=this.cssStyles();this.slideSlots>0&&(e=e.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),e.length&&YE(this.shadowRoot,e),this.cssLinks().forEach(n=>{if(this.shadowRoot.querySelector(`link[href="${n}"]`))return;const s=document.createElement("link");s.rel="stylesheet",s.href=n,this.shadowRoot.appendChild(s)});const r=document.createElement("div");r.classList.add("swiper"),r.part="container",r.innerHTML=` - -
- - ${Array.from({length:this.slideSlots}).map((n,i)=>` - - - - `).join("")} -
- - ${FW(this.passedParams)?` -
${this.constructor.prevButtonSvg}
-
${this.constructor.nextButtonSvg}
- `:""} - ${UW(this.passedParams)?` -
- `:""} - ${zW(this.passedParams)?` -
- `:""} - `,this.shadowRoot.appendChild(r),this.rendered=!0}initialize(){var e=this;if(this.initialized)return;this.initialized=!0;const{params:r,passedParams:n}=_w(this);this.swiperParams=r,this.passedParams=n,delete this.swiperParams.init,this.render(),this.swiper=new _t(this.shadowRoot.querySelector(".swiper"),{...r.virtual?{}:{observer:!0,observeSlideChildren:this.slideSlots>0},...r,touchEventsTarget:"container",onAny:function(i){i==="observerUpdate"&&e.calcSlideSlots();const s=r.eventsPrefix?`${r.eventsPrefix}${i.toLowerCase()}`:i.toLowerCase();for(var o=arguments.length,a=new Array(o>1?o-1:0),l=1;lr.includes("_")).map(r=>r.replace(/[A-Z]/g,n=>`-${n}`).replace("_","").toLowerCase())}}Bu.forEach(t=>{t!=="init"&&(t=t.replace("_",""),Object.defineProperty(KE.prototype,t,{configurable:!0,get(){return(this.passedParams||{})[t]},set(e){this.passedParams||(this.passedParams={}),this.passedParams[t]=e,this.initialized&&this.updateSwiperOnPropChange(t,e)}}))});class qW extends qE{constructor(){super(),this.attachShadow({mode:"open"})}render(){const e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(YE(this.shadowRoot,WW),this.shadowRoot.appendChild(document.createElement("slot")),e){const r=document.createElement("div");r.classList.add("swiper-lazy-preloader"),r.part.add("preloader"),this.shadowRoot.appendChild(r)}}initialize(){this.render()}connectedCallback(){this.initialize()}}const L8=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",KE),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",qW))};typeof window<"u"&&(window.SwiperElementRegisterParams=t=>{Bu.push(...t)});export{s8 as $,Uv as A,P8 as B,cB as C,x8 as D,I8 as E,Ft as F,T8 as G,S8 as H,Nv as I,v8 as J,k2 as K,Md as L,E8 as M,u1 as N,GW as O,XW as P,JW as Q,c8 as R,R8 as S,_8 as T,a8 as U,l8 as V,n8 as W,Hu as X,x2 as Y,e8 as Z,u8 as _,KW as a,d1 as a0,f8 as a1,L8 as a2,C8 as b,Z1 as c,ZW as d,i8 as e,h0 as f,c0 as g,o8 as h,r8 as i,QS as j,j1 as k,Kt as l,Tx as m,Cd as n,l0 as o,O8 as p,t8 as q,$d as r,$n as s,YW as t,US as u,b8 as v,QW as w,M8 as x,A8 as y,tB as z}; diff --git a/packages/modules/web_themes/colors/web/assets/vendor-DXWWyQ_6.js b/packages/modules/web_themes/colors/web/assets/vendor-DXWWyQ_6.js new file mode 100644 index 0000000000..588c2e5a4e --- /dev/null +++ b/packages/modules/web_themes/colors/web/assets/vendor-DXWWyQ_6.js @@ -0,0 +1,62 @@ +var QS=Object.defineProperty;var Vg=t=>{throw TypeError(t)};var JS=(t,e,r)=>e in t?QS(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var nt=(t,e,r)=>JS(t,typeof e!="symbol"?e+"":e,r),hc=(t,e,r)=>e.has(t)||Vg("Cannot "+r);var oe=(t,e,r)=>(hc(t,e,"read from private field"),r?r.call(t):e.get(t)),je=(t,e,r)=>e.has(t)?Vg("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),Ne=(t,e,r,n)=>(hc(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),ke=(t,e,r)=>(hc(t,e,"access private method"),r);var Ia=(t,e,r,n)=>({set _(s){Ne(t,e,s,r)},get _(){return oe(t,e,n)}});const qi=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};/** +* @vue/shared v3.4.29 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function sp(t,e){const r=new Set(t.split(","));return n=>r.has(n)}const Qe={},Ms=[],lr=()=>{},ZS=()=>!1,gu=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),op=t=>t.startsWith("onUpdate:"),mt=Object.assign,ap=(t,e)=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)},eT=Object.prototype.hasOwnProperty,Ue=(t,e)=>eT.call(t,e),De=Array.isArray,Os=t=>ca(t)==="[object Map]",eo=t=>ca(t)==="[object Set]",qg=t=>ca(t)==="[object Date]",Be=t=>typeof t=="function",dt=t=>typeof t=="string",bn=t=>typeof t=="symbol",Je=t=>t!==null&&typeof t=="object",Vy=t=>(Je(t)||Be(t))&&Be(t.then)&&Be(t.catch),qy=Object.prototype.toString,ca=t=>qy.call(t),tT=t=>ca(t).slice(8,-1),Yy=t=>ca(t)==="[object Object]",lp=t=>dt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,$o=sp(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mu=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},rT=/-(\w)/g,Hr=mu(t=>t.replace(rT,(e,r)=>r?r.toUpperCase():"")),nT=/\B([A-Z])/g,to=mu(t=>t.replace(nT,"-$1").toLowerCase()),bu=mu(t=>t.charAt(0).toUpperCase()+t.slice(1)),pc=mu(t=>t?`on${bu(t)}`:""),Jn=(t,e)=>!Object.is(t,e),il=(t,...e)=>{for(let r=0;r{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:r})},Nl=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Yg;const Ky=()=>Yg||(Yg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof qi<"u"?qi:{});function up(t){if(De(t)){const e={};for(let r=0;r{if(r){const n=r.split(sT);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function cp(t){let e="";if(dt(t))e=t;else if(De(t))for(let r=0;rfa(r,e))}const Oj=t=>dt(t)?t:t==null?"":De(t)||Je(t)&&(t.toString===qy||!Be(t.toString))?JSON.stringify(t,Qy,2):String(t),Qy=(t,e)=>e&&e.__v_isRef?Qy(t,e.value):Os(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[n,s],i)=>(r[gc(n,i)+" =>"]=s,r),{})}:eo(e)?{[`Set(${e.size})`]:[...e.values()].map(r=>gc(r))}:bn(e)?gc(e):Je(e)&&!De(e)&&!Yy(e)?String(e):e,gc=(t,e="")=>{var r;return bn(t)?`Symbol(${(r=t.description)!=null?r:e})`:t};/** +* @vue/reactivity v3.4.29 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let yr;class fT{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=yr,!e&&yr&&(this.index=(yr.scopes||(yr.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=yr;try{return yr=this,e()}finally{yr=r}}}on(){yr=this}off(){yr=this.parent}stop(e){if(this._active){let r,n;for(r=0,n=this.effects.length;r=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),ii()}return this._dirtyLevel>=5}set dirty(e){this._dirtyLevel=e?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Xn,r=Bi;try{return Xn=!0,Bi=this,this._runnings++,Gg(this),this.fn()}finally{Kg(this),this._runnings--,Bi=r,Xn=e}}stop(){this.active&&(Gg(this),Kg(this),this.onStop&&this.onStop(),this.active=!1)}}function pT(t){return t.value}function Gg(t){t._trackId++,t._depsLength=0}function Kg(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e0){n._dirtyLevel=2;continue}let s;n._dirtyLevel{const r=new Map;return r.cleanup=t,r.computed=e,r},Bf=new WeakMap,$i=Symbol(""),$f=Symbol("");function zt(t,e,r){if(Xn&&Bi){let n=Bf.get(t);n||Bf.set(t,n=new Map);let s=n.get(r);s||n.set(r,s=rw(()=>n.delete(r))),ew(Bi,s)}}function hn(t,e,r,n,s,i){const o=Bf.get(t);if(!o)return;let a=[];if(e==="clear")a=[...o.values()];else if(r==="length"&&De(t)){const l=Number(n);o.forEach((u,c)=>{(c==="length"||!bn(c)&&c>=l)&&a.push(u)})}else switch(r!==void 0&&a.push(o.get(r)),e){case"add":De(t)?lp(r)&&a.push(o.get("length")):(a.push(o.get($i)),Os(t)&&a.push(o.get($f)));break;case"delete":De(t)||(a.push(o.get($i)),Os(t)&&a.push(o.get($f)));break;case"set":Os(t)&&a.push(o.get($i));break}hp();for(const l of a)l&&tw(l,5);pp()}const gT=sp("__proto__,__v_isRef,__isVue"),nw=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(bn)),Xg=mT();function mT(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...r){const n=He(this);for(let i=0,o=this.length;i{t[e]=function(...r){ni(),hp();const n=He(this)[e].apply(this,r);return pp(),ii(),n}}),t}function bT(t){bn(t)||(t=String(t));const e=He(this);return zt(e,"has",t),e.hasOwnProperty(t)}class iw{constructor(e=!1,r=!1){this._isReadonly=e,this._isShallow=r}get(e,r,n){const s=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!s;if(r==="__v_isReadonly")return s;if(r==="__v_isShallow")return i;if(r==="__v_raw")return n===(s?i?OT:lw:i?aw:ow).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=De(e);if(!s){if(o&&Ue(Xg,r))return Reflect.get(Xg,r,n);if(r==="hasOwnProperty")return bT}const a=Reflect.get(e,r,n);return(bn(r)?nw.has(r):gT(r))||(s||zt(e,"get",r),i)?a:Ht(a)?o&&lp(r)?a:a.value:Je(a)?s?uw(a):bp(a):a}}class sw extends iw{constructor(e=!1){super(!1,e)}set(e,r,n,s){let i=e[r];if(!this._isShallow){const l=Qo(i);if(!Dl(n)&&!Qo(n)&&(i=He(i),n=He(n)),!De(e)&&Ht(i)&&!Ht(n))return l?!1:(i.value=n,!0)}const o=De(e)&&lp(r)?Number(r)t,yu=t=>Reflect.getPrototypeOf(t);function Ma(t,e,r=!1,n=!1){t=t.__v_raw;const s=He(t),i=He(e);r||(Jn(e,i)&&zt(s,"get",e),zt(s,"get",i));const{has:o}=yu(s),a=n?gp:r?wp:Jo;if(o.call(s,e))return a(t.get(e));if(o.call(s,i))return a(t.get(i));t!==s&&t.get(e)}function Oa(t,e=!1){const r=this.__v_raw,n=He(r),s=He(t);return e||(Jn(t,s)&&zt(n,"has",t),zt(n,"has",s)),t===s?r.has(t):r.has(t)||r.has(s)}function Ra(t,e=!1){return t=t.__v_raw,!e&&zt(He(t),"iterate",$i),Reflect.get(t,"size",t)}function Qg(t){t=He(t);const e=He(this);return yu(e).has.call(e,t)||(e.add(t),hn(e,"add",t,t)),this}function Jg(t,e){e=He(e);const r=He(this),{has:n,get:s}=yu(r);let i=n.call(r,t);i||(t=He(t),i=n.call(r,t));const o=s.call(r,t);return r.set(t,e),i?Jn(e,o)&&hn(r,"set",t,e):hn(r,"add",t,e),this}function Zg(t){const e=He(this),{has:r,get:n}=yu(e);let s=r.call(e,t);s||(t=He(t),s=r.call(e,t)),n&&n.call(e,t);const i=e.delete(t);return s&&hn(e,"delete",t,void 0),i}function em(){const t=He(this),e=t.size!==0,r=t.clear();return e&&hn(t,"clear",void 0,void 0),r}function Pa(t,e){return function(n,s){const i=this,o=i.__v_raw,a=He(o),l=e?gp:t?wp:Jo;return!t&&zt(a,"iterate",$i),o.forEach((u,c)=>n.call(s,l(u),l(c),i))}}function ka(t,e,r){return function(...n){const s=this.__v_raw,i=He(s),o=Os(i),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,u=s[t](...n),c=r?gp:e?wp:Jo;return!e&&zt(i,"iterate",l?$f:$i),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Nn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function ET(){const t={get(i){return Ma(this,i)},get size(){return Ra(this)},has:Oa,add:Qg,set:Jg,delete:Zg,clear:em,forEach:Pa(!1,!1)},e={get(i){return Ma(this,i,!1,!0)},get size(){return Ra(this)},has:Oa,add:Qg,set:Jg,delete:Zg,clear:em,forEach:Pa(!1,!0)},r={get(i){return Ma(this,i,!0)},get size(){return Ra(this,!0)},has(i){return Oa.call(this,i,!0)},add:Nn("add"),set:Nn("set"),delete:Nn("delete"),clear:Nn("clear"),forEach:Pa(!0,!1)},n={get(i){return Ma(this,i,!0,!0)},get size(){return Ra(this,!0)},has(i){return Oa.call(this,i,!0)},add:Nn("add"),set:Nn("set"),delete:Nn("delete"),clear:Nn("clear"),forEach:Pa(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=ka(i,!1,!1),r[i]=ka(i,!0,!1),e[i]=ka(i,!1,!0),n[i]=ka(i,!0,!0)}),[t,r,e,n]}const[ST,TT,xT,AT]=ET();function mp(t,e){const r=e?t?AT:xT:t?TT:ST;return(n,s,i)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?n:Reflect.get(Ue(r,s)&&s in n?r:n,s,i)}const CT={get:mp(!1,!1)},IT={get:mp(!1,!0)},MT={get:mp(!0,!1)};const ow=new WeakMap,aw=new WeakMap,lw=new WeakMap,OT=new WeakMap;function RT(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function PT(t){return t.__v_skip||!Object.isExtensible(t)?0:RT(tT(t))}function bp(t){return Qo(t)?t:yp(t,!1,wT,CT,ow)}function kT(t){return yp(t,!1,_T,IT,aw)}function uw(t){return yp(t,!0,vT,MT,lw)}function yp(t,e,r,n,s){if(!Je(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=s.get(t);if(i)return i;const o=PT(t);if(o===0)return t;const a=new Proxy(t,o===2?n:r);return s.set(t,a),a}function Fo(t){return Qo(t)?Fo(t.__v_raw):!!(t&&t.__v_isReactive)}function Qo(t){return!!(t&&t.__v_isReadonly)}function Dl(t){return!!(t&&t.__v_isShallow)}function cw(t){return t?!!t.__v_raw:!1}function He(t){const e=t&&t.__v_raw;return e?He(e):t}function LT(t){return Object.isExtensible(t)&&Gy(t,"__v_skip",!0),t}const Jo=t=>Je(t)?bp(t):t,wp=t=>Je(t)?uw(t):t;class fw{constructor(e,r,n,s){this.getter=e,this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new dp(()=>e(this._value),()=>sl(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=n}get value(){const e=He(this);return(!e._cacheable||e.effect.dirty)&&Jn(e._value,e._value=e.effect.run())&&sl(e,5),dw(e),e.effect._dirtyLevel>=2&&sl(e,3),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function NT(t,e,r=!1){let n,s;const i=Be(t);return i?(n=t,s=lr):(n=t.get,s=t.set),new fw(n,s,i||!s,r)}function dw(t){var e;Xn&&Bi&&(t=He(t),ew(Bi,(e=t.dep)!=null?e:t.dep=rw(()=>t.dep=void 0,t instanceof fw?t:void 0)))}function sl(t,e=5,r,n){t=He(t);const s=t.dep;s&&tw(s,e)}function Ht(t){return!!(t&&t.__v_isRef===!0)}function Rj(t){return DT(t,!1)}function DT(t,e){return Ht(t)?t:new BT(t,e)}class BT{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:He(e),this._value=r?e:Jo(e)}get value(){return dw(this),this._value}set value(e){const r=this.__v_isShallow||Dl(e)||Qo(e);e=r?e:He(e),Jn(e,this._rawValue)&&(this._rawValue,this._rawValue=e,this._value=r?e:Jo(e),sl(this,5))}}function $T(t){return Ht(t)?t.value:t}const FT={get:(t,e,r)=>$T(Reflect.get(t,e,r)),set:(t,e,r,n)=>{const s=t[e];return Ht(s)&&!Ht(r)?(s.value=r,!0):Reflect.set(t,e,r,n)}};function hw(t){return Fo(t)?t:new Proxy(t,FT)}/** +* @vue/runtime-core v3.4.29 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Qn(t,e,r,n){try{return n?t(...n):t()}catch(s){wu(s,e,r)}}function xr(t,e,r,n){if(Be(t)){const s=Qn(t,e,r,n);return s&&Vy(s)&&s.catch(i=>{wu(i,e,r)}),s}if(De(t)){const s=[];for(let i=0;i>>1,s=Mt[n],i=ea(s);iDr&&Mt.splice(e,1)}function zT(t){De(t)?Rs.push(...t):(!Hn||!Hn.includes(t,t.allowRecurse?Ai+1:Ai))&&Rs.push(t),mw()}function tm(t,e,r=Zo?Dr+1:0){for(;rea(r)-ea(n));if(Rs.length=0,Hn){Hn.push(...e);return}for(Hn=e,Ai=0;Ait.id==null?1/0:t.id,HT=(t,e)=>{const r=ea(t)-ea(e);if(r===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return r};function yw(t){Ff=!1,Zo=!0,Mt.sort(HT);try{for(Dr=0;Drdt(g)?g.trim():g)),f&&(s=r.map(Nl))}let a,l=n[a=pc(e)]||n[a=pc(Hr(e))];!l&&i&&(l=n[a=pc(to(e))]),l&&xr(l,t,6,s);const u=n[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,xr(u,t,6,s)}}function ww(t,e,r=!1){const n=e.emitsCache,s=n.get(t);if(s!==void 0)return s;const i=t.emits;let o={},a=!1;if(!Be(t)){const l=u=>{const c=ww(u,e,!0);c&&(a=!0,mt(o,c))};!r&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!i&&!a?(Je(t)&&n.set(t,null),null):(De(i)?i.forEach(l=>o[l]=null):mt(o,i),Je(t)&&n.set(t,o),o)}function vu(t,e){return!t||!gu(e)?!1:(e=e.slice(2).replace(/Once$/,""),Ue(t,e[0].toLowerCase()+e.slice(1))||Ue(t,to(e))||Ue(t,e))}let wt=null,_u=null;function Bl(t){const e=wt;return wt=t,_u=t&&t.type.__scopeId||null,e}function Pj(t){_u=t}function kj(){_u=null}function qT(t,e=wt,r){if(!e||t._n)return t;const n=(...s)=>{n._d&&gm(-1);const i=Bl(e);let o;try{o=t(...s)}finally{Bl(i),n._d&&gm(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function mc(t){const{type:e,vnode:r,proxy:n,withProxy:s,propsOptions:[i],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:g,ctx:m,inheritAttrs:y}=t,E=Bl(t);let _,S;try{if(r.shapeFlag&4){const A=s||n,k=A;_=Nr(u.call(k,A,c,f,g,d,m)),S=a}else{const A=e;_=Nr(A.length>1?A(f,{attrs:a,slots:o,emit:l}):A(f,null)),S=e.props?a:YT(a)}}catch(A){Ho.length=0,wu(A,t,1),_=Ar(Zn)}let v=_;if(S&&y!==!1){const A=Object.keys(S),{shapeFlag:k}=v;A.length&&k&7&&(i&&A.some(op)&&(S=GT(S,i)),v=Bs(v,S,!1,!0))}return r.dirs&&(v=Bs(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(r.dirs):r.dirs),r.transition&&(v.transition=r.transition),_=v,Bl(E),_}const YT=t=>{let e;for(const r in t)(r==="class"||r==="style"||gu(r))&&((e||(e={}))[r]=t[r]);return e},GT=(t,e)=>{const r={};for(const n in t)(!op(n)||!(n.slice(9)in e))&&(r[n]=t[n]);return r};function KT(t,e,r){const{props:n,children:s,component:i}=t,{props:o,children:a,patchFlag:l}=e,u=i.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?rm(n,o,u):!!o;if(l&8){const c=e.dynamicProps;for(let f=0;ft.__isSuspense;function tx(t,e){e&&e.pendingBranch?De(t)?e.effects.push(...t):e.effects.push(t):zT(t)}function Eu(t,e,r=Ot,n=!1){if(r){const s=r[t]||(r[t]=[]),i=e.__weh||(e.__weh=(...o)=>{ni();const a=da(r),l=xr(e,r,t,o);return a(),ii(),l});return n?s.unshift(i):s.push(i),i}}const In=t=>(e,r=Ot)=>{(!Tu||t==="sp")&&Eu(t,(...n)=>e(...n),r)},rx=In("bm"),nx=In("m"),ix=In("bu"),sx=In("u"),ox=In("bum"),vw=In("um"),ax=In("sp"),lx=In("rtg"),ux=In("rtc");function cx(t,e=Ot){Eu("ec",t,e)}function Nj(t,e){if(wt===null)return t;const r=xu(wt),n=t.dirs||(t.dirs=[]);for(let s=0;se(o,a,void 0,i));else{const o=Object.keys(t);s=new Array(o.length);for(let a=0,l=o.length;a!!t.type.__asyncLoader;function $j(t,e,r={},n,s){if(wt.isCE||wt.parent&&Uo(wt.parent)&&wt.parent.isCE)return e!=="default"&&(r.name=e),Ar("slot",r,n&&n());let i=t[e];i&&i._c&&(i._d=!1),$w();const o=i&&_w(i(r)),a=Uw(vr,{key:r.key||o&&o.key||`_${e}`},o||(n?n():[]),o&&t._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function _w(t){return t.some(e=>jw(e)?!(e.type===Zn||e.type===vr&&!_w(e.children)):!0)?t:null}const Uf=t=>t?Hw(t)?xu(t):Uf(t.parent):null,jo=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=>Uf(t.parent),$root:t=>Uf(t.root),$emit:t=>t.emit,$options:t=>Ep(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,_p(t.update)}),$nextTick:t=>t.n||(t.n=gw.bind(t.proxy)),$watch:t=>Px.bind(t)}),bc=(t,e)=>t!==Qe&&!t.__isScriptSetup&&Ue(t,e),fx={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:r,setupState:n,data:s,props:i,accessCache:o,type:a,appContext:l}=t;let u;if(e[0]!=="$"){const g=o[e];if(g!==void 0)switch(g){case 1:return n[e];case 2:return s[e];case 4:return r[e];case 3:return i[e]}else{if(bc(n,e))return o[e]=1,n[e];if(s!==Qe&&Ue(s,e))return o[e]=2,s[e];if((u=t.propsOptions[0])&&Ue(u,e))return o[e]=3,i[e];if(r!==Qe&&Ue(r,e))return o[e]=4,r[e];jf&&(o[e]=0)}}const c=jo[e];let f,d;if(c)return e==="$attrs"&&zt(t.attrs,"get",""),c(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(r!==Qe&&Ue(r,e))return o[e]=4,r[e];if(d=l.config.globalProperties,Ue(d,e))return d[e]},set({_:t},e,r){const{data:n,setupState:s,ctx:i}=t;return bc(s,e)?(s[e]=r,!0):n!==Qe&&Ue(n,e)?(n[e]=r,!0):Ue(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=r,!0)},has({_:{data:t,setupState:e,accessCache:r,ctx:n,appContext:s,propsOptions:i}},o){let a;return!!r[o]||t!==Qe&&Ue(t,o)||bc(e,o)||(a=i[0])&&Ue(a,o)||Ue(n,o)||Ue(jo,o)||Ue(s.config.globalProperties,o)},defineProperty(t,e,r){return r.get!=null?t._.accessCache[e]=0:Ue(r,"value")&&this.set(t,e,r.value,null),Reflect.defineProperty(t,e,r)}};function im(t){return De(t)?t.reduce((e,r)=>(e[r]=null,e),{}):t}let jf=!0;function dx(t){const e=Ep(t),r=t.proxy,n=t.ctx;jf=!1,e.beforeCreate&&sm(e.beforeCreate,t,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:g,updated:m,activated:y,deactivated:E,beforeDestroy:_,beforeUnmount:S,destroyed:v,unmounted:A,render:k,renderTracked:x,renderTriggered:D,errorCaptured:N,serverPrefetch:B,expose:q,inheritAttrs:K,components:C,directives:M,filters:L}=e;if(u&&hx(u,n,null),o)for(const z in o){const F=o[z];Be(F)&&(n[z]=F.bind(r))}if(s){const z=s.call(r,r);Je(z)&&(t.data=bp(z))}if(jf=!0,i)for(const z in i){const F=i[z],ne=Be(F)?F.bind(r,r):Be(F.get)?F.get.bind(r,r):lr,ce=!Be(F)&&Be(F.set)?F.set.bind(r):lr,re=Zx({get:ne,set:ce});Object.defineProperty(n,z,{enumerable:!0,configurable:!0,get:()=>re.value,set:R=>re.value=R})}if(a)for(const z in a)Ew(a[z],n,r,z);if(l){const z=Be(l)?l.call(r):l;Reflect.ownKeys(z).forEach(F=>{vx(F,z[F])})}c&&sm(c,t,"c");function G(z,F){De(F)?F.forEach(ne=>z(ne.bind(r))):F&&z(F.bind(r))}if(G(rx,f),G(nx,d),G(ix,g),G(sx,m),G(kx,y),G(Lx,E),G(cx,N),G(ux,x),G(lx,D),G(ox,S),G(vw,A),G(ax,B),De(q))if(q.length){const z=t.exposed||(t.exposed={});q.forEach(F=>{Object.defineProperty(z,F,{get:()=>r[F],set:ne=>r[F]=ne})})}else t.exposed||(t.exposed={});k&&t.render===lr&&(t.render=k),K!=null&&(t.inheritAttrs=K),C&&(t.components=C),M&&(t.directives=M)}function hx(t,e,r=lr){De(t)&&(t=Wf(t));for(const n in t){const s=t[n];let i;Je(s)?"default"in s?i=ol(s.from||n,s.default,!0):i=ol(s.from||n):i=ol(s),Ht(i)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):e[n]=i}}function sm(t,e,r){xr(De(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,r)}function Ew(t,e,r,n){const s=n.includes(".")?kw(r,n):()=>r[n];if(dt(t)){const i=e[t];Be(i)&&wc(s,i)}else if(Be(t))wc(s,t.bind(r));else if(Je(t))if(De(t))t.forEach(i=>Ew(i,e,r,n));else{const i=Be(t.handler)?t.handler.bind(r):e[t.handler];Be(i)&&wc(s,i,t)}}function Ep(t){const e=t.type,{mixins:r,extends:n}=e,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=t.appContext,a=i.get(e);let l;return a?l=a:!s.length&&!r&&!n?l=e:(l={},s.length&&s.forEach(u=>$l(l,u,o,!0)),$l(l,e,o)),Je(e)&&i.set(e,l),l}function $l(t,e,r,n=!1){const{mixins:s,extends:i}=e;i&&$l(t,i,r,!0),s&&s.forEach(o=>$l(t,o,r,!0));for(const o in e)if(!(n&&o==="expose")){const a=px[o]||r&&r[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const px={data:om,props:am,emits:am,methods:Io,computed:Io,beforeCreate:kt,created:kt,beforeMount:kt,mounted:kt,beforeUpdate:kt,updated:kt,beforeDestroy:kt,beforeUnmount:kt,destroyed:kt,unmounted:kt,activated:kt,deactivated:kt,errorCaptured:kt,serverPrefetch:kt,components:Io,directives:Io,watch:mx,provide:om,inject:gx};function om(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 gx(t,e){return Io(Wf(t),Wf(e))}function Wf(t){if(De(t)){const e={};for(let r=0;r1)return r&&Be(e)?e.call(n&&n.proxy):e}}const Tw={},xw=()=>Object.create(Tw),Aw=t=>Object.getPrototypeOf(t)===Tw;function _x(t,e,r,n=!1){const s={},i=xw();t.propsDefaults=Object.create(null),Cw(t,e,s,i);for(const o in t.propsOptions[0])o in s||(s[o]=void 0);r?t.props=n?s:kT(s):t.type.props?t.props=s:t.props=i,t.attrs=i}function Ex(t,e,r,n){const{props:s,attrs:i,vnode:{patchFlag:o}}=t,a=He(s),[l]=t.propsOptions;let u=!1;if((n||o>0)&&!(o&16)){if(o&8){const c=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,g]=Iw(f,e,!0);mt(o,d),g&&a.push(...g)};!r&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!i&&!l)return Je(t)&&n.set(t,Ms),Ms;if(De(i))for(let c=0;c-1,g[1]=y<0||m-1||Ue(g,"default"))&&a.push(f)}}}const u=[o,a];return Je(t)&&n.set(t,u),u}function lm(t){return t[0]!=="$"&&!$o(t)}function um(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function cm(t,e){return um(t)===um(e)}function fm(t,e){return De(e)?e.findIndex(r=>cm(r,t)):Be(e)&&cm(e,t)?0:-1}const Mw=t=>t[0]==="_"||t==="$stable",Sp=t=>De(t)?t.map(Nr):[Nr(t)],Sx=(t,e,r)=>{if(e._n)return e;const n=qT((...s)=>Sp(e(...s)),r);return n._c=!1,n},Ow=(t,e,r)=>{const n=t._ctx;for(const s in t){if(Mw(s))continue;const i=t[s];if(Be(i))e[s]=Sx(s,i,n);else if(i!=null){const o=Sp(i);e[s]=()=>o}}},Rw=(t,e)=>{const r=Sp(e);t.slots.default=()=>r},Tx=(t,e)=>{const r=t.slots=xw();if(t.vnode.shapeFlag&32){const n=e._;n?(mt(r,e),Gy(r,"_",n,!0)):Ow(e,r)}else e&&Rw(t,e)},xx=(t,e,r)=>{const{vnode:n,slots:s}=t;let i=!0,o=Qe;if(n.shapeFlag&32){const a=e._;a?r&&a===1?i=!1:(mt(s,e),!r&&a===1&&delete s._):(i=!e.$stable,Ow(e,s)),o=e}else e&&(Rw(t,e),o={default:1});if(i)for(const a in s)!Mw(a)&&o[a]==null&&delete s[a]};function Hf(t,e,r,n,s=!1){if(De(t)){t.forEach((d,g)=>Hf(d,e&&(De(e)?e[g]:e),r,n,s));return}if(Uo(n)&&!s)return;const i=n.shapeFlag&4?xu(n.component):n.el,o=s?null:i,{i:a,r:l}=t,u=e&&e.r,c=a.refs===Qe?a.refs={}:a.refs,f=a.setupState;if(u!=null&&u!==l&&(dt(u)?(c[u]=null,Ue(f,u)&&(f[u]=null)):Ht(u)&&(u.value=null)),Be(l))Qn(l,a,12,[o,c]);else{const d=dt(l),g=Ht(l);if(d||g){const m=()=>{if(t.f){const y=d?Ue(f,l)?f[l]:c[l]:l.value;s?De(y)&&ap(y,i):De(y)?y.includes(i)||y.push(i):d?(c[l]=[i],Ue(f,l)&&(f[l]=c[l])):(l.value=[i],t.k&&(c[t.k]=l.value))}else d?(c[l]=o,Ue(f,l)&&(f[l]=o)):g&&(l.value=o,t.k&&(c[t.k]=o))};o?(m.id=-1,Ut(m,r)):m()}}}const Ut=tx;function Ax(t){return Cx(t)}function Cx(t,e){const r=Ky();r.__VUE__=!0;const{insert:n,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:g=lr,insertStaticContent:m}=t,y=(I,P,O,j=null,W=null,le=null,fe=void 0,V=null,te=!!P.dynamicChildren)=>{if(I===P)return;I&&!po(I,P)&&(j=X(I),R(I,W,le,!0),I=null),P.patchFlag===-2&&(te=!1,P.dynamicChildren=null);const{type:$,ref:J,shapeFlag:ae}=P;switch($){case Su:E(I,P,O,j);break;case Zn:_(I,P,O,j);break;case al:I==null&&S(P,O,j,fe);break;case vr:C(I,P,O,j,W,le,fe,V,te);break;default:ae&1?k(I,P,O,j,W,le,fe,V,te):ae&6?M(I,P,O,j,W,le,fe,V,te):(ae&64||ae&128)&&$.process(I,P,O,j,W,le,fe,V,te,be)}J!=null&&W&&Hf(J,I&&I.ref,le,P||I,!P)},E=(I,P,O,j)=>{if(I==null)n(P.el=a(P.children),O,j);else{const W=P.el=I.el;P.children!==I.children&&u(W,P.children)}},_=(I,P,O,j)=>{I==null?n(P.el=l(P.children||""),O,j):P.el=I.el},S=(I,P,O,j)=>{[I.el,I.anchor]=m(I.children,P,O,j,I.el,I.anchor)},v=({el:I,anchor:P},O,j)=>{let W;for(;I&&I!==P;)W=d(I),n(I,O,j),I=W;n(P,O,j)},A=({el:I,anchor:P})=>{let O;for(;I&&I!==P;)O=d(I),s(I),I=O;s(P)},k=(I,P,O,j,W,le,fe,V,te)=>{P.type==="svg"?fe="svg":P.type==="math"&&(fe="mathml"),I==null?x(P,O,j,W,le,fe,V,te):B(I,P,W,le,fe,V,te)},x=(I,P,O,j,W,le,fe,V)=>{let te,$;const{props:J,shapeFlag:ae,transition:me,dirs:w}=I;if(te=I.el=o(I.type,le,J&&J.is,J),ae&8?c(te,I.children):ae&16&&N(I.children,te,null,j,W,yc(I,le),fe,V),w&&di(I,null,j,"created"),D(te,I,I.scopeId,fe,j),J){for(const h in J)h!=="value"&&!$o(h)&&i(te,h,null,J[h],le,I.children,j,W,pe);"value"in J&&i(te,"value",null,J.value,le),($=J.onVnodeBeforeMount)&&Mr($,j,I)}w&&di(I,null,j,"beforeMount");const p=Ix(W,me);p&&me.beforeEnter(te),n(te,P,O),(($=J&&J.onVnodeMounted)||p||w)&&Ut(()=>{$&&Mr($,j,I),p&&me.enter(te),w&&di(I,null,j,"mounted")},W)},D=(I,P,O,j,W)=>{if(O&&g(I,O),j)for(let le=0;le{for(let $=te;${const V=P.el=I.el;let{patchFlag:te,dynamicChildren:$,dirs:J}=P;te|=I.patchFlag&16;const ae=I.props||Qe,me=P.props||Qe;let w;if(O&&hi(O,!1),(w=me.onVnodeBeforeUpdate)&&Mr(w,O,P,I),J&&di(P,I,O,"beforeUpdate"),O&&hi(O,!0),$?q(I.dynamicChildren,$,V,O,j,yc(P,W),le):fe||F(I,P,V,null,O,j,yc(P,W),le,!1),te>0){if(te&16)K(V,P,ae,me,O,j,W);else if(te&2&&ae.class!==me.class&&i(V,"class",null,me.class,W),te&4&&i(V,"style",ae.style,me.style,W),te&8){const p=P.dynamicProps;for(let h=0;h{w&&Mr(w,O,P,I),J&&di(P,I,O,"updated")},j)},q=(I,P,O,j,W,le,fe)=>{for(let V=0;V{if(O!==j){if(O!==Qe)for(const V in O)!$o(V)&&!(V in j)&&i(I,V,O[V],null,fe,P.children,W,le,pe);for(const V in j){if($o(V))continue;const te=j[V],$=O[V];te!==$&&V!=="value"&&i(I,V,$,te,fe,P.children,W,le,pe)}"value"in j&&i(I,"value",O.value,j.value,fe)}},C=(I,P,O,j,W,le,fe,V,te)=>{const $=P.el=I?I.el:a(""),J=P.anchor=I?I.anchor:a("");let{patchFlag:ae,dynamicChildren:me,slotScopeIds:w}=P;w&&(V=V?V.concat(w):w),I==null?(n($,O,j),n(J,O,j),N(P.children||[],O,J,W,le,fe,V,te)):ae>0&&ae&64&&me&&I.dynamicChildren?(q(I.dynamicChildren,me,O,W,le,fe,V),(P.key!=null||W&&P===W.subTree)&&Tp(I,P,!0)):F(I,P,O,J,W,le,fe,V,te)},M=(I,P,O,j,W,le,fe,V,te)=>{P.slotScopeIds=V,I==null?P.shapeFlag&512?W.ctx.activate(P,O,j,fe,te):L(P,O,j,W,le,fe,te):H(I,P,te)},L=(I,P,O,j,W,le,fe)=>{const V=I.component=qx(I,j,W);if(Lw(I)&&(V.ctx.renderer=be),Yx(V),V.asyncDep){if(W&&W.registerDep(V,G,fe),!I.el){const te=V.subTree=Ar(Zn);_(null,te,P,O)}}else G(V,I,P,O,W,le,fe)},H=(I,P,O)=>{const j=P.component=I.component;if(KT(I,P,O))if(j.asyncDep&&!j.asyncResolved){z(j,P,O);return}else j.next=P,WT(j.update),j.effect.dirty=!0,j.update();else P.el=I.el,j.vnode=P},G=(I,P,O,j,W,le,fe)=>{const V=()=>{if(I.isMounted){let{next:J,bu:ae,u:me,parent:w,vnode:p}=I;{const ee=Pw(I);if(ee){J&&(J.el=p.el,z(I,J,fe)),ee.asyncDep.then(()=>{I.isUnmounted||V()});return}}let h=J,b;hi(I,!1),J?(J.el=p.el,z(I,J,fe)):J=p,ae&&il(ae),(b=J.props&&J.props.onVnodeBeforeUpdate)&&Mr(b,w,J,p),hi(I,!0);const T=mc(I),U=I.subTree;I.subTree=T,y(U,T,f(U.el),X(U),I,W,le),J.el=T.el,h===null&&XT(I,T.el),me&&Ut(me,W),(b=J.props&&J.props.onVnodeUpdated)&&Ut(()=>Mr(b,w,J,p),W)}else{let J;const{el:ae,props:me}=P,{bm:w,m:p,parent:h}=I,b=Uo(P);if(hi(I,!1),w&&il(w),!b&&(J=me&&me.onVnodeBeforeMount)&&Mr(J,h,P),hi(I,!0),ae&&ue){const T=()=>{I.subTree=mc(I),ue(ae,I.subTree,I,W,null)};b?P.type.__asyncLoader().then(()=>!I.isUnmounted&&T()):T()}else{const T=I.subTree=mc(I);y(null,T,O,j,I,W,le),P.el=T.el}if(p&&Ut(p,W),!b&&(J=me&&me.onVnodeMounted)){const T=P;Ut(()=>Mr(J,h,T),W)}(P.shapeFlag&256||h&&Uo(h.vnode)&&h.vnode.shapeFlag&256)&&I.a&&Ut(I.a,W),I.isMounted=!0,P=O=j=null}},te=I.effect=new dp(V,lr,()=>_p($),I.scope),$=I.update=()=>{te.dirty&&te.run()};$.id=I.uid,hi(I,!0),$()},z=(I,P,O)=>{P.component=I;const j=I.vnode.props;I.vnode=P,I.next=null,Ex(I,P.props,j,O),xx(I,P.children,O),ni(),tm(I),ii()},F=(I,P,O,j,W,le,fe,V,te=!1)=>{const $=I&&I.children,J=I?I.shapeFlag:0,ae=P.children,{patchFlag:me,shapeFlag:w}=P;if(me>0){if(me&128){ce($,ae,O,j,W,le,fe,V,te);return}else if(me&256){ne($,ae,O,j,W,le,fe,V,te);return}}w&8?(J&16&&pe($,W,le),ae!==$&&c(O,ae)):J&16?w&16?ce($,ae,O,j,W,le,fe,V,te):pe($,W,le,!0):(J&8&&c(O,""),w&16&&N(ae,O,j,W,le,fe,V,te))},ne=(I,P,O,j,W,le,fe,V,te)=>{I=I||Ms,P=P||Ms;const $=I.length,J=P.length,ae=Math.min($,J);let me;for(me=0;meJ?pe(I,W,le,!0,!1,ae):N(P,O,j,W,le,fe,V,te,ae)},ce=(I,P,O,j,W,le,fe,V,te)=>{let $=0;const J=P.length;let ae=I.length-1,me=J-1;for(;$<=ae&&$<=me;){const w=I[$],p=P[$]=te?Vn(P[$]):Nr(P[$]);if(po(w,p))y(w,p,O,null,W,le,fe,V,te);else break;$++}for(;$<=ae&&$<=me;){const w=I[ae],p=P[me]=te?Vn(P[me]):Nr(P[me]);if(po(w,p))y(w,p,O,null,W,le,fe,V,te);else break;ae--,me--}if($>ae){if($<=me){const w=me+1,p=wme)for(;$<=ae;)R(I[$],W,le,!0),$++;else{const w=$,p=$,h=new Map;for($=p;$<=me;$++){const xe=P[$]=te?Vn(P[$]):Nr(P[$]);xe.key!=null&&h.set(xe.key,$)}let b,T=0;const U=me-p+1;let ee=!1,ye=0;const Ae=new Array(U);for($=0;$=U){R(xe,W,le,!0);continue}let Oe;if(xe.key!=null)Oe=h.get(xe.key);else for(b=p;b<=me;b++)if(Ae[b-p]===0&&po(xe,P[b])){Oe=b;break}Oe===void 0?R(xe,W,le,!0):(Ae[Oe-p]=$+1,Oe>=ye?ye=Oe:ee=!0,y(xe,P[Oe],O,null,W,le,fe,V,te),T++)}const Re=ee?Mx(Ae):Ms;for(b=Re.length-1,$=U-1;$>=0;$--){const xe=p+$,Oe=P[xe],Me=xe+1{const{el:le,type:fe,transition:V,children:te,shapeFlag:$}=I;if($&6){re(I.component.subTree,P,O,j);return}if($&128){I.suspense.move(P,O,j);return}if($&64){fe.move(I,P,O,be);return}if(fe===vr){n(le,P,O);for(let ae=0;aeV.enter(le),W);else{const{leave:ae,delayLeave:me,afterLeave:w}=V,p=()=>n(le,P,O),h=()=>{ae(le,()=>{p(),w&&w()})};me?me(le,p,h):h()}else n(le,P,O)},R=(I,P,O,j=!1,W=!1)=>{const{type:le,props:fe,ref:V,children:te,dynamicChildren:$,shapeFlag:J,patchFlag:ae,dirs:me,memoIndex:w}=I;if(V!=null&&Hf(V,null,O,I,!0),w!=null&&(P.renderCache[w]=void 0),J&256){P.ctx.deactivate(I);return}const p=J&1&&me,h=!Uo(I);let b;if(h&&(b=fe&&fe.onVnodeBeforeUnmount)&&Mr(b,P,I),J&6)ge(I.component,O,j);else{if(J&128){I.suspense.unmount(O,j);return}p&&di(I,null,P,"beforeUnmount"),J&64?I.type.remove(I,P,O,W,be,j):$&&(le!==vr||ae>0&&ae&64)?pe($,P,O,!1,!0):(le===vr&&ae&384||!W&&J&16)&&pe(te,P,O),j&&Q(I)}(h&&(b=fe&&fe.onVnodeUnmounted)||p)&&Ut(()=>{b&&Mr(b,P,I),p&&di(I,null,P,"unmounted")},O)},Q=I=>{const{type:P,el:O,anchor:j,transition:W}=I;if(P===vr){de(O,j);return}if(P===al){A(I);return}const le=()=>{s(O),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(I.shapeFlag&1&&W&&!W.persisted){const{leave:fe,delayLeave:V}=W,te=()=>fe(O,le);V?V(I.el,le,te):te()}else le()},de=(I,P)=>{let O;for(;I!==P;)O=d(I),s(I),I=O;s(P)},ge=(I,P,O)=>{const{bum:j,scope:W,update:le,subTree:fe,um:V,m:te,a:$}=I;dm(te),dm($),j&&il(j),W.stop(),le&&(le.active=!1,R(fe,I,P,O)),V&&Ut(V,P),Ut(()=>{I.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&I.asyncDep&&!I.asyncResolved&&I.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},pe=(I,P,O,j=!1,W=!1,le=0)=>{for(let fe=le;feI.shapeFlag&6?X(I.component.subTree):I.shapeFlag&128?I.suspense.next():d(I.anchor||I.el);let Y=!1;const ie=(I,P,O)=>{I==null?P._vnode&&R(P._vnode,null,null,!0):y(P._vnode||null,I,P,null,null,null,O),Y||(Y=!0,tm(),bw(),Y=!1),P._vnode=I},be={p:y,um:R,m:re,r:Q,mt:L,mc:N,pc:F,pbc:q,n:X,o:t};let he,ue;return{render:ie,hydrate:he,createApp:yx(ie,he)}}function yc({type:t,props:e},r){return r==="svg"&&t==="foreignObject"||r==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:r}function hi({effect:t,update:e},r){t.allowRecurse=e.allowRecurse=r}function Ix(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Tp(t,e,r=!1){const n=t.children,s=e.children;if(De(n)&&De(s))for(let i=0;i>1,t[r[a]]0&&(e[n]=r[i-1]),r[i]=n)}}for(i=r.length,o=r[i-1];i-- >0;)r[i]=o,o=e[o];return r}function Pw(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Pw(e)}function dm(t){if(t)for(let e=0;eol(Ox);function Fj(t,e){return xp(t,null,e)}const La={};function wc(t,e,r){return xp(t,e,r)}function xp(t,e,{immediate:r,deep:n,flush:s,once:i,onTrack:o,onTrigger:a}=Qe){if(e&&i){const x=e;e=(...D)=>{x(...D),k()}}const l=Ot,u=x=>n===!0?x:Yn(x,n===!1?1:void 0);let c,f=!1,d=!1;if(Ht(t)?(c=()=>t.value,f=Dl(t)):Fo(t)?(c=()=>u(t),f=!0):De(t)?(d=!0,f=t.some(x=>Fo(x)||Dl(x)),c=()=>t.map(x=>{if(Ht(x))return x.value;if(Fo(x))return u(x);if(Be(x))return Qn(x,l,2)})):Be(t)?e?c=()=>Qn(t,l,2):c=()=>(g&&g(),xr(t,l,3,[m])):c=lr,e&&n){const x=c;c=()=>Yn(x())}let g,m=x=>{g=v.onStop=()=>{Qn(x,l,4),g=v.onStop=void 0}},y;if(Tu)if(m=lr,e?r&&xr(e,l,3,[c(),d?[]:void 0,m]):c(),s==="sync"){const x=Rx();y=x.__watcherHandles||(x.__watcherHandles=[])}else return lr;let E=d?new Array(t.length).fill(La):La;const _=()=>{if(!(!v.active||!v.dirty))if(e){const x=v.run();(n||f||(d?x.some((D,N)=>Jn(D,E[N])):Jn(x,E)))&&(g&&g(),xr(e,l,3,[x,E===La?void 0:d&&E[0]===La?[]:E,m]),E=x)}else v.run()};_.allowRecurse=!!e;let S;s==="sync"?S=_:s==="post"?S=()=>Ut(_,l&&l.suspense):(_.pre=!0,l&&(_.id=l.uid),S=()=>_p(_));const v=new dp(c,lr,S),A=hT(),k=()=>{v.stop(),A&&ap(A.effects,v)};return e?r?_():E=v.run():s==="post"?Ut(v.run.bind(v),l&&l.suspense):v.run(),y&&y.push(k),k}function Px(t,e,r){const n=this.proxy,s=dt(t)?t.includes(".")?kw(n,t):()=>n[t]:t.bind(n,n);let i;Be(e)?i=e:(i=e.handler,r=e);const o=da(this),a=xp(s,i.bind(n),r);return o(),a}function kw(t,e){const r=e.split(".");return()=>{let n=t;for(let s=0;s{Yn(n,e,r)});else if(Yy(t)){for(const n in t)Yn(t[n],e,r);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Yn(t[n],e,r)}return t}const Lw=t=>t.type.__isKeepAlive;function kx(t,e){Nw(t,"a",e)}function Lx(t,e){Nw(t,"da",e)}function Nw(t,e,r=Ot){const n=t.__wdc||(t.__wdc=()=>{let s=r;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(Eu(e,n,r),r){let s=r.parent;for(;s&&s.parent;)Lw(s.parent.vnode)&&Nx(n,e,r,s),s=s.parent}}function Nx(t,e,r,n){const s=Eu(e,t,n,!0);vw(()=>{ap(n[e],s)},r)}function Dw(t,e){t.shapeFlag&6&&t.component?Dw(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}const Dx=t=>t.__isTeleport,zo=t=>t&&(t.disabled||t.disabled===""),hm=t=>typeof SVGElement<"u"&&t instanceof SVGElement,pm=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Vf=(t,e)=>{const r=t&&t.to;return dt(r)?e?e(r):null:r},Bx={name:"Teleport",__isTeleport:!0,process(t,e,r,n,s,i,o,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:g,querySelector:m,createText:y,createComment:E}}=u,_=zo(e.props);let{shapeFlag:S,children:v,dynamicChildren:A}=e;if(t==null){const k=e.el=y(""),x=e.anchor=y("");g(k,r,n),g(x,r,n);const D=e.target=Vf(e.props,m),N=e.targetAnchor=y("");D&&(g(N,D),o==="svg"||hm(D)?o="svg":(o==="mathml"||pm(D))&&(o="mathml"));const B=(q,K)=>{S&16&&c(v,q,K,s,i,o,a,l)};_?B(r,x):D&&B(D,N)}else{e.el=t.el;const k=e.anchor=t.anchor,x=e.target=t.target,D=e.targetAnchor=t.targetAnchor,N=zo(t.props),B=N?r:x,q=N?k:D;if(o==="svg"||hm(x)?o="svg":(o==="mathml"||pm(x))&&(o="mathml"),A?(d(t.dynamicChildren,A,B,s,i,o,a),Tp(t,e,!0)):l||f(t,e,B,q,s,i,o,a,!1),_)N?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Na(e,r,k,u,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const K=e.target=Vf(e.props,m);K&&Na(e,K,null,u,0)}else N&&Na(e,x,D,u,1)}Bw(e)},remove(t,e,r,n,{um:s,o:{remove:i}},o){const{shapeFlag:a,children:l,anchor:u,targetAnchor:c,target:f,props:d}=t;if(f&&i(c),o&&i(u),a&16){const g=o||!zo(d);for(let m=0;m0?Tr||Ms:null,Fx(),ta>0&&Tr&&Tr.push(t),t}function jj(t,e,r,n,s,i){return Fw(zw(t,e,r,n,s,i,!0))}function Uw(t,e,r,n,s){return Fw(Ar(t,e,r,n,s,!0))}function jw(t){return t?t.__v_isVNode===!0:!1}function po(t,e){return t.type===e.type&&t.key===e.key}const Ww=({key:t})=>t??null,ll=({ref:t,ref_key:e,ref_for:r})=>(typeof t=="number"&&(t=""+t),t!=null?dt(t)||Ht(t)||Be(t)?{i:wt,r:t,k:e,f:!!r}:t:null);function zw(t,e=null,r=null,n=0,s=null,i=t===vr?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Ww(e),ref:e&&ll(e),scopeId:_u,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:wt};return a?(Ap(l,r),i&128&&t.normalize(l)):r&&(l.shapeFlag|=dt(r)?8:16),ta>0&&!o&&Tr&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Tr.push(l),l}const Ar=Ux;function Ux(t,e=null,r=null,n=0,s=null,i=!1){if((!t||t===JT)&&(t=Zn),jw(t)){const a=Bs(t,e,!0);return r&&Ap(a,r),ta>0&&!i&&Tr&&(a.shapeFlag&6?Tr[Tr.indexOf(t)]=a:Tr.push(a)),a.patchFlag=-2,a}if(Jx(t)&&(t=t.__vccOpts),e){e=jx(e);let{class:a,style:l}=e;a&&!dt(a)&&(e.class=cp(a)),Je(l)&&(cw(l)&&!De(l)&&(l=mt({},l)),e.style=up(l))}const o=dt(t)?1:ex(t)?128:Dx(t)?64:Je(t)?4:Be(t)?2:0;return zw(t,e,r,n,s,o,i,!0)}function jx(t){return t?cw(t)||Aw(t)?mt({},t):t:null}function Bs(t,e,r=!1,n=!1){const{props:s,ref:i,patchFlag:o,children:a,transition:l}=t,u=e?zx(s||{},e):s,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Ww(u),ref:e&&e.ref?r&&i?De(i)?i.concat(ll(e)):[i,ll(e)]:ll(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==vr?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Bs(t.ssContent),ssFallback:t.ssFallback&&Bs(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&n&&Dw(c,l.clone(c)),c}function Wx(t=" ",e=0){return Ar(Su,null,t,e)}function Wj(t,e){const r=Ar(al,null,t);return r.staticCount=e,r}function zj(t="",e=!1){return e?($w(),Uw(Zn,null,t)):Ar(Zn,null,t)}function Nr(t){return t==null||typeof t=="boolean"?Ar(Zn):De(t)?Ar(vr,null,t.slice()):typeof t=="object"?Vn(t):Ar(Su,null,String(t))}function Vn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Bs(t)}function Ap(t,e){let r=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(De(e))r=16;else if(typeof e=="object")if(n&65){const s=e.default;s&&(s._c&&(s._d=!1),Ap(t,s()),s._c&&(s._d=!0));return}else{r=32;const s=e._;!s&&!Aw(e)?e._ctx=wt:s===3&&wt&&(wt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Be(e)?(e={default:e,_ctx:wt},r=32):(e=String(e),n&64?(r=16,e=[Wx(e)]):r=8);t.children=e,t.shapeFlag|=r}function zx(...t){const e={};for(let r=0;r{let s;return(s=t[r])||(s=t[r]=[]),s.push(n),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Fl=e("__VUE_INSTANCE_SETTERS__",r=>Ot=r),qf=e("__VUE_SSR_SETTERS__",r=>Tu=r)}const da=t=>{const e=Ot;return Fl(t),t.scope.on(),()=>{t.scope.off(),Fl(e)}},mm=()=>{Ot&&Ot.scope.off(),Fl(null)};function Hw(t){return t.vnode.shapeFlag&4}let Tu=!1;function Yx(t,e=!1){e&&qf(e);const{props:r,children:n}=t.vnode,s=Hw(t);_x(t,r,s,e),Tx(t,n);const i=s?Gx(t,e):void 0;return e&&qf(!1),i}function Gx(t,e){const r=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,fx);const{setup:n}=r;if(n){const s=t.setupContext=n.length>1?Xx(t):null,i=da(t);ni();const o=Qn(n,t,0,[t.props,s]);if(ii(),i(),Vy(o)){if(o.then(mm,mm),e)return o.then(a=>{bm(t,a,e)}).catch(a=>{wu(a,t,0)});t.asyncDep=o}else bm(t,o,e)}else Vw(t,e)}function bm(t,e,r){Be(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Je(e)&&(t.setupState=hw(e)),Vw(t,r)}let ym;function Vw(t,e,r){const n=t.type;if(!t.render){if(!e&&ym&&!n.render){const s=n.template||Ep(t).template;if(s){const{isCustomElement:i,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=n,u=mt(mt({isCustomElement:i,delimiters:a},o),l);n.render=ym(s,u)}}t.render=n.render||lr}{const s=da(t);ni();try{dx(t)}finally{ii(),s()}}}const Kx={get(t,e){return zt(t,"get",""),t[e]}};function Xx(t){const e=r=>{t.exposed=r||{}};return{attrs:new Proxy(t.attrs,Kx),slots:t.slots,emit:t.emit,expose:e}}function xu(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(hw(LT(t.exposed)),{get(e,r){if(r in e)return e[r];if(r in jo)return jo[r](t)},has(e,r){return r in e||r in jo}})):t.proxy}function Qx(t,e=!0){return Be(t)?t.displayName||t.name:t.name||e&&t.__name}function Jx(t){return Be(t)&&"__vccOpts"in t}const Zx=(t,e)=>NT(t,e,Tu),eA="3.4.29";/** +* @vue/runtime-dom v3.4.29 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const tA="http://www.w3.org/2000/svg",rA="http://www.w3.org/1998/Math/MathML",en=typeof document<"u"?document:null,wm=en&&en.createElement("template"),nA={insert:(t,e,r)=>{e.insertBefore(t,r||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,r,n)=>{const s=e==="svg"?en.createElementNS(tA,t):e==="mathml"?en.createElementNS(rA,t):r?en.createElement(t,{is:r}):en.createElement(t);return t==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:t=>en.createTextNode(t),createComment:t=>en.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>en.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,r,n,s,i){const o=r?r.previousSibling:e.lastChild;if(s&&(s===i||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),r),!(s===i||!(s=s.nextSibling)););else{wm.innerHTML=n==="svg"?`${t}`:n==="mathml"?`${t}`:t;const a=wm.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,r)}return[o?o.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}},iA=Symbol("_vtc");function sA(t,e,r){const n=t[iA];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):r?t.setAttribute("class",e):t.className=e}const Ul=Symbol("_vod"),qw=Symbol("_vsh"),Hj={beforeMount(t,{value:e},{transition:r}){t[Ul]=t.style.display==="none"?"":t.style.display,r&&e?r.beforeEnter(t):go(t,e)},mounted(t,{value:e},{transition:r}){r&&e&&r.enter(t)},updated(t,{value:e,oldValue:r},{transition:n}){!e!=!r&&(n?e?(n.beforeEnter(t),go(t,!0),n.enter(t)):n.leave(t,()=>{go(t,!1)}):go(t,e))},beforeUnmount(t,{value:e}){go(t,e)}};function go(t,e){t.style.display=e?t[Ul]:"none",t[qw]=!e}const oA=Symbol(""),aA=/(^|;)\s*display\s*:/;function lA(t,e,r){const n=t.style,s=dt(r);let i=!1;if(r&&!s){if(e)if(dt(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();r[a]==null&&ul(n,a,"")}else for(const o in e)r[o]==null&&ul(n,o,"");for(const o in r)o==="display"&&(i=!0),ul(n,o,r[o])}else if(s){if(e!==r){const o=n[oA];o&&(r+=";"+o),n.cssText=r,i=aA.test(r)}}else e&&t.removeAttribute("style");Ul in t&&(t[Ul]=i?n.display:"",t[qw]&&(n.display="none"))}const vm=/\s*!important$/;function ul(t,e,r){if(De(r))r.forEach(n=>ul(t,e,n));else if(r==null&&(r=""),e.startsWith("--"))t.setProperty(e,r);else{const n=uA(t,e);vm.test(r)?t.setProperty(to(n),r.replace(vm,""),"important"):t[n]=r}}const _m=["Webkit","Moz","ms"],vc={};function uA(t,e){const r=vc[e];if(r)return r;let n=Hr(e);if(n!=="filter"&&n in t)return vc[e]=n;n=bu(n);for(let s=0;s<_m.length;s++){const i=_m[s]+n;if(i in t)return vc[e]=i}return e}const Em="http://www.w3.org/1999/xlink";function Sm(t,e,r,n,s,i=uT(e)){n&&e.startsWith("xlink:")?r==null?t.removeAttributeNS(Em,e.slice(6,e.length)):t.setAttributeNS(Em,e,r):r==null||i&&!Xy(r)?t.removeAttribute(e):t.setAttribute(e,i?"":String(r))}function cA(t,e,r,n,s,i,o){if(e==="innerHTML"||e==="textContent"){n&&o(n,s,i),t[e]=r??"";return}const a=t.tagName;if(e==="value"&&a!=="PROGRESS"&&!a.includes("-")){const u=a==="OPTION"?t.getAttribute("value")||"":t.value,c=r==null?"":String(r);(u!==c||!("_value"in t))&&(t.value=c),r==null&&t.removeAttribute(e),t._value=r;return}let l=!1;if(r===""||r==null){const u=typeof t[e];u==="boolean"?r=Xy(r):r==null&&u==="string"?(r="",l=!0):u==="number"&&(r=0,l=!0)}try{t[e]=r}catch{}l&&t.removeAttribute(e)}function Gn(t,e,r,n){t.addEventListener(e,r,n)}function fA(t,e,r,n){t.removeEventListener(e,r,n)}const Tm=Symbol("_vei");function dA(t,e,r,n,s=null){const i=t[Tm]||(t[Tm]={}),o=i[e];if(n&&o)o.value=n;else{const[a,l]=hA(e);if(n){const u=i[e]=mA(n,s);Gn(t,a,u,l)}else o&&(fA(t,a,o,l),i[e]=void 0)}}const xm=/(?:Once|Passive|Capture)$/;function hA(t){let e;if(xm.test(t)){e={};let n;for(;n=t.match(xm);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):to(t.slice(2)),e]}let _c=0;const pA=Promise.resolve(),gA=()=>_c||(pA.then(()=>_c=0),_c=Date.now());function mA(t,e){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;xr(bA(n,r.value),e,5,[n])};return r.value=t,r.attached=gA(),r}function bA(t,e){if(De(e)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},e.map(n=>s=>!s._stopped&&n&&n(s))}else return e}const Am=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,yA=(t,e,r,n,s,i,o,a,l)=>{const u=s==="svg";e==="class"?sA(t,n,u):e==="style"?lA(t,r,n):gu(e)?op(e)||dA(t,e,r,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):wA(t,e,n,u))?(cA(t,e,n,i,o,a,l),(e==="value"||e==="checked"||e==="selected")&&Sm(t,e,n,u,o,e!=="value")):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Sm(t,e,n,u))};function wA(t,e,r,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Am(e)&&Be(r));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const s=t.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Am(e)&&dt(r)?!1:e in t}const $s=t=>{const e=t.props["onUpdate:modelValue"]||!1;return De(e)?r=>il(e,r):e};function vA(t){t.target.composing=!0}function Cm(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const pn=Symbol("_assign"),Vj={created(t,{modifiers:{lazy:e,trim:r,number:n}},s){t[pn]=$s(s);const i=n||s.props&&s.props.type==="number";Gn(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;r&&(a=a.trim()),i&&(a=Nl(a)),t[pn](a)}),r&&Gn(t,"change",()=>{t.value=t.value.trim()}),e||(Gn(t,"compositionstart",vA),Gn(t,"compositionend",Cm),Gn(t,"change",Cm))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:r,modifiers:{lazy:n,trim:s,number:i}},o){if(t[pn]=$s(o),t.composing)return;const a=(i||t.type==="number")&&!/^0\d/.test(t.value)?Nl(t.value):t.value,l=e??"";a!==l&&(document.activeElement===t&&t.type!=="range"&&(n&&e===r||s&&t.value.trim()===l)||(t.value=l))}},qj={deep:!0,created(t,e,r){t[pn]=$s(r),Gn(t,"change",()=>{const n=t._modelValue,s=ra(t),i=t.checked,o=t[pn];if(De(n)){const a=fp(n,s),l=a!==-1;if(i&&!l)o(n.concat(s));else if(!i&&l){const u=[...n];u.splice(a,1),o(u)}}else if(eo(n)){const a=new Set(n);i?a.add(s):a.delete(s),o(a)}else o(Yw(t,i))})},mounted:Im,beforeUpdate(t,e,r){t[pn]=$s(r),Im(t,e,r)}};function Im(t,{value:e,oldValue:r},n){t._modelValue=e,De(e)?t.checked=fp(e,n.props.value)>-1:eo(e)?t.checked=e.has(n.props.value):e!==r&&(t.checked=fa(e,Yw(t,!0)))}const Yj={deep:!0,created(t,{value:e,modifiers:{number:r}},n){const s=eo(e);Gn(t,"change",()=>{const i=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>r?Nl(ra(o)):ra(o));t[pn](t.multiple?s?new Set(i):i:i[0]),t._assigning=!0,gw(()=>{t._assigning=!1})}),t[pn]=$s(n)},mounted(t,{value:e,modifiers:{number:r}}){Mm(t,e)},beforeUpdate(t,e,r){t[pn]=$s(r)},updated(t,{value:e,modifiers:{number:r}}){t._assigning||Mm(t,e)}};function Mm(t,e,r){const n=t.multiple,s=De(e);if(!(n&&!s&&!eo(e))){for(let i=0,o=t.options.length;iString(c)===String(l)):a.selected=fp(e,l)>-1}else a.selected=e.has(l);else if(fa(ra(a),e)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function ra(t){return"_value"in t?t._value:t.value}function Yw(t,e){const r=e?"_trueValue":"_falseValue";return r in t?t[r]:e}const _A=mt({patchProp:yA},nA);let Om;function EA(){return Om||(Om=Ax(_A))}const Gj=(...t)=>{const e=EA().createApp(...t),{mount:r}=e;return e.mount=n=>{const s=TA(n);if(!s)return;const i=e._component;!Be(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=r(s,!1,SA(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},e};function SA(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function TA(t){return dt(t)?document.querySelector(t):t}var Cp=Object.defineProperty,xA=Object.getOwnPropertyDescriptor,AA=Object.getOwnPropertyNames,CA=Object.prototype.hasOwnProperty,Et=(t,e)=>()=>(t&&(e=t(t=0)),e),Te=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Zi=(t,e)=>{for(var r in e)Cp(t,r,{get:e[r],enumerable:!0})},IA=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of AA(e))!CA.call(t,s)&&s!==r&&Cp(t,s,{get:()=>e[s],enumerable:!(n=xA(e,s))||n.enumerable});return t},Ke=t=>IA(Cp({},"__esModule",{value:!0}),t),Lt,we=Et(()=>{Lt={deviceMemory:8,hardwareConcurrency:8,language:"en-US"}}),ze={};Zi(ze,{_debugEnd:()=>xd,_debugProcess:()=>Td,_events:()=>Ud,_eventsCount:()=>jd,_exiting:()=>cd,_fatalExceptions:()=>_d,_getActiveHandles:()=>ev,_getActiveRequests:()=>Zw,_kill:()=>hd,_linkedBinding:()=>Qw,_maxListeners:()=>Fd,_preload_modules:()=>Bd,_rawDebug:()=>ad,_startProfilerIdleNotifier:()=>Ad,_stopProfilerIdleNotifier:()=>Cd,_tickCallback:()=>Sd,abort:()=>Rd,addListener:()=>Wd,allowedNodeEnvironmentFlags:()=>wd,arch:()=>Gf,argv:()=>Qf,argv0:()=>Dd,assert:()=>tv,binding:()=>rd,chdir:()=>sd,config:()=>fd,cpuUsage:()=>Mo,cwd:()=>id,debugPort:()=>Nd,default:()=>Mp,dlopen:()=>Jw,domain:()=>ud,emit:()=>Yd,emitWarning:()=>td,env:()=>Xf,execArgv:()=>Jf,execPath:()=>Ld,exit:()=>bd,features:()=>vd,hasUncaughtExceptionCaptureCallback:()=>rv,hrtime:()=>cl,kill:()=>md,listeners:()=>iv,memoryUsage:()=>gd,moduleLoadList:()=>ld,nextTick:()=>Kw,off:()=>Hd,on:()=>Jr,once:()=>zd,openStdin:()=>yd,pid:()=>Pd,platform:()=>Kf,ppid:()=>kd,prependListener:()=>Gd,prependOnceListener:()=>Kd,reallyExit:()=>dd,release:()=>od,removeAllListeners:()=>qd,removeListener:()=>Vd,resourceUsage:()=>pd,setSourceMapsEnabled:()=>$d,setUncaughtExceptionCaptureCallback:()=>Ed,stderr:()=>Md,stdin:()=>Od,stdout:()=>Id,title:()=>Yf,umask:()=>nd,uptime:()=>nv,version:()=>Zf,versions:()=>ed});function Ip(t){throw new Error("Node.js process "+t+" is not supported by JSPM core outside of Node.js")}function MA(){!Fi||!Mi||(Fi=!1,Mi.length?$r=Mi.concat($r):Vo=-1,$r.length&&Gw())}function Gw(){if(!Fi){var t=setTimeout(MA,0);Fi=!0;for(var e=$r.length;e;){for(Mi=$r,$r=[];++Vo1)for(var r=1;r{_e(),ve(),we(),$r=[],Fi=!1,Vo=-1,Xw.prototype.run=function(){this.fun.apply(null,this.array)},Yf="browser",Gf="x64",Kf="browser",Xf={PATH:"/usr/bin",LANG:Lt.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},Qf=["/usr/bin/node"],Jf=[],Zf="v16.8.0",ed={},td=function(t,e){console.warn((e?e+": ":"")+t)},rd=function(t){Ip("binding")},nd=function(t){return 0},id=function(){return"/"},sd=function(t){},od={name:"node",sourceUrl:"",headersUrl:"",libUrl:""},ad=Ct,ld=[],ud={},cd=!1,fd={},dd=Ct,hd=Ct,Mo=function(){return{}},pd=Mo,gd=Mo,md=Ct,bd=Ct,yd=Ct,wd={},vd={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},_d=Ct,Ed=Ct,Sd=Ct,Td=Ct,xd=Ct,Ad=Ct,Cd=Ct,Id=void 0,Md=void 0,Od=void 0,Rd=Ct,Pd=2,kd=1,Ld="/bin/usr/node",Nd=9229,Dd="node",Bd=[],$d=Ct,nn={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0},nn.now===void 0&&(Ec=Date.now(),nn.timing&&nn.timing.navigationStart&&(Ec=nn.timing.navigationStart),nn.now=()=>Date.now()-Ec),fl=1e9,cl.bigint=function(t){var e=cl(t);return typeof BigInt>"u"?e[0]*fl+e[1]:BigInt(e[0]*fl)+BigInt(e[1])},Fd=10,Ud={},jd=0,Wd=Jr,zd=Jr,Hd=Jr,Vd=Jr,qd=Jr,Yd=Ct,Gd=Jr,Kd=Jr,Mp={version:Zf,versions:ed,arch:Gf,platform:Kf,release:od,_rawDebug:ad,moduleLoadList:ld,binding:rd,_linkedBinding:Qw,_events:Ud,_eventsCount:jd,_maxListeners:Fd,on:Jr,addListener:Wd,once:zd,off:Hd,removeListener:Vd,removeAllListeners:qd,emit:Yd,prependListener:Gd,prependOnceListener:Kd,listeners:iv,domain:ud,_exiting:cd,config:fd,dlopen:Jw,uptime:nv,_getActiveRequests:Zw,_getActiveHandles:ev,reallyExit:dd,_kill:hd,cpuUsage:Mo,resourceUsage:pd,memoryUsage:gd,kill:md,exit:bd,openStdin:yd,allowedNodeEnvironmentFlags:wd,assert:tv,features:vd,_fatalExceptions:_d,setUncaughtExceptionCaptureCallback:Ed,hasUncaughtExceptionCaptureCallback:rv,emitWarning:td,nextTick:Kw,_tickCallback:Sd,_debugProcess:Td,_debugEnd:xd,_startProfilerIdleNotifier:Ad,_stopProfilerIdleNotifier:Cd,stdout:Id,stdin:Od,stderr:Md,abort:Rd,umask:nd,chdir:sd,cwd:id,env:Xf,title:Yf,argv:Qf,execArgv:Jf,pid:Pd,ppid:kd,execPath:Ld,debugPort:Nd,hrtime:cl,argv0:Dd,_preload_modules:Bd,setSourceMapsEnabled:$d}}),ve=Et(()=>{OA()}),St={};Zi(St,{Buffer:()=>jl,INSPECT_MAX_BYTES:()=>sv,default:()=>Zr,kMaxLength:()=>ov});function RA(){if(Xd)return ws;Xd=!0,ws.byteLength=a,ws.toByteArray=u,ws.fromByteArray=d;for(var t=[],e=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,i=n.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var y=g.indexOf("=");y===-1&&(y=m);var E=y===m?0:4-y%4;return[y,E]}function a(g){var m=o(g),y=m[0],E=m[1];return(y+E)*3/4-E}function l(g,m,y){return(m+y)*3/4-y}function u(g){var m,y=o(g),E=y[0],_=y[1],S=new r(l(g,E,_)),v=0,A=_>0?E-4:E,k;for(k=0;k>16&255,S[v++]=m>>8&255,S[v++]=m&255;return _===2&&(m=e[g.charCodeAt(k)]<<2|e[g.charCodeAt(k+1)]>>4,S[v++]=m&255),_===1&&(m=e[g.charCodeAt(k)]<<10|e[g.charCodeAt(k+1)]<<4|e[g.charCodeAt(k+2)]>>2,S[v++]=m>>8&255,S[v++]=m&255),S}function c(g){return t[g>>18&63]+t[g>>12&63]+t[g>>6&63]+t[g&63]}function f(g,m,y){for(var E,_=[],S=m;SA?A:v+S));return E===1?(m=g[y-1],_.push(t[m>>2]+t[m<<4&63]+"==")):E===2&&(m=(g[y-2]<<8)+g[y-1],_.push(t[m>>10]+t[m>>4&63]+t[m<<2&63]+"=")),_.join("")}return ws}function PA(){return Qd?Oo:(Qd=!0,Oo.read=function(t,e,r,n,s){var i,o,a=s*8-n-1,l=(1<>1,c=-7,f=r?s-1:0,d=r?-1:1,g=t[e+f];for(f+=d,i=g&(1<<-c)-1,g>>=-c,c+=a;c>0;i=i*256+t[e+f],f+=d,c-=8);for(o=i&(1<<-c)-1,i>>=-c,c+=n;c>0;o=o*256+t[e+f],f+=d,c-=8);if(i===0)i=1-u;else{if(i===l)return o?NaN:(g?-1:1)*(1/0);o=o+Math.pow(2,n),i=i-u}return(g?-1:1)*o*Math.pow(2,i-n)},Oo.write=function(t,e,r,n,s,i){var o,a,l,u=i*8-s-1,c=(1<>1,d=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:i-1,m=n?1:-1,y=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+f>=1?e+=d/l:e+=d*Math.pow(2,1-f),e*l>=2&&(o++,l/=2),o+f>=c?(a=0,o=c):o+f>=1?(a=(e*l-1)*Math.pow(2,s),o=o+f):(a=e*Math.pow(2,f-1)*Math.pow(2,s),o=0));s>=8;t[r+g]=a&255,g+=m,a/=256,s-=8);for(o=o<0;t[r+g]=o&255,g+=m,o/=256,u-=8);t[r+g-m]|=y*128},Oo)}function kA(){if(Jd)return Bn;Jd=!0;let t=RA(),e=PA(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Bn.Buffer=o,Bn.SlowBuffer=_,Bn.INSPECT_MAX_BYTES=50;let n=2147483647;Bn.kMaxLength=n,o.TYPED_ARRAY_SUPPORT=s(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function s(){try{let w=new Uint8Array(1),p={foo:function(){return 42}};return Object.setPrototypeOf(p,Uint8Array.prototype),Object.setPrototypeOf(w,p),w.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function i(w){if(w>n)throw new RangeError('The value "'+w+'" is invalid for option "size"');let p=new Uint8Array(w);return Object.setPrototypeOf(p,o.prototype),p}function o(w,p,h){if(typeof w=="number"){if(typeof p=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return c(w)}return a(w,p,h)}o.poolSize=8192;function a(w,p,h){if(typeof w=="string")return f(w,p);if(ArrayBuffer.isView(w))return g(w);if(w==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w);if(te(w,ArrayBuffer)||w&&te(w.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(te(w,SharedArrayBuffer)||w&&te(w.buffer,SharedArrayBuffer)))return m(w,p,h);if(typeof w=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let b=w.valueOf&&w.valueOf();if(b!=null&&b!==w)return o.from(b,p,h);let T=y(w);if(T)return T;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof w[Symbol.toPrimitive]=="function")return o.from(w[Symbol.toPrimitive]("string"),p,h);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w)}o.from=function(w,p,h){return a(w,p,h)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function l(w){if(typeof w!="number")throw new TypeError('"size" argument must be of type number');if(w<0)throw new RangeError('The value "'+w+'" is invalid for option "size"')}function u(w,p,h){return l(w),w<=0?i(w):p!==void 0?typeof h=="string"?i(w).fill(p,h):i(w).fill(p):i(w)}o.alloc=function(w,p,h){return u(w,p,h)};function c(w){return l(w),i(w<0?0:E(w)|0)}o.allocUnsafe=function(w){return c(w)},o.allocUnsafeSlow=function(w){return c(w)};function f(w,p){if((typeof p!="string"||p==="")&&(p="utf8"),!o.isEncoding(p))throw new TypeError("Unknown encoding: "+p);let h=S(w,p)|0,b=i(h),T=b.write(w,p);return T!==h&&(b=b.slice(0,T)),b}function d(w){let p=w.length<0?0:E(w.length)|0,h=i(p);for(let b=0;b=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return w|0}function _(w){return+w!=w&&(w=0),o.alloc(+w)}o.isBuffer=function(w){return w!=null&&w._isBuffer===!0&&w!==o.prototype},o.compare=function(w,p){if(te(w,Uint8Array)&&(w=o.from(w,w.offset,w.byteLength)),te(p,Uint8Array)&&(p=o.from(p,p.offset,p.byteLength)),!o.isBuffer(w)||!o.isBuffer(p))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(w===p)return 0;let h=w.length,b=p.length;for(let T=0,U=Math.min(h,b);Tb.length?(o.isBuffer(U)||(U=o.from(U)),U.copy(b,T)):Uint8Array.prototype.set.call(b,U,T);else if(o.isBuffer(U))U.copy(b,T);else throw new TypeError('"list" argument must be an Array of Buffers');T+=U.length}return b};function S(w,p){if(o.isBuffer(w))return w.length;if(ArrayBuffer.isView(w)||te(w,ArrayBuffer))return w.byteLength;if(typeof w!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof w);let h=w.length,b=arguments.length>2&&arguments[2]===!0;if(!b&&h===0)return 0;let T=!1;for(;;)switch(p){case"ascii":case"latin1":case"binary":return h;case"utf8":case"utf-8":return j(w).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h*2;case"hex":return h>>>1;case"base64":return fe(w).length;default:if(T)return b?-1:j(w).length;p=(""+p).toLowerCase(),T=!0}}o.byteLength=S;function v(w,p,h){let b=!1;if((p===void 0||p<0)&&(p=0),p>this.length||((h===void 0||h>this.length)&&(h=this.length),h<=0)||(h>>>=0,p>>>=0,h<=p))return"";for(w||(w="utf8");;)switch(w){case"hex":return F(this,p,h);case"utf8":case"utf-8":return M(this,p,h);case"ascii":return G(this,p,h);case"latin1":case"binary":return z(this,p,h);case"base64":return C(this,p,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne(this,p,h);default:if(b)throw new TypeError("Unknown encoding: "+w);w=(w+"").toLowerCase(),b=!0}}o.prototype._isBuffer=!0;function A(w,p,h){let b=w[p];w[p]=w[h],w[h]=b}o.prototype.swap16=function(){let w=this.length;if(w%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let p=0;pp&&(w+=" ... "),""},r&&(o.prototype[r]=o.prototype.inspect),o.prototype.compare=function(w,p,h,b,T){if(te(w,Uint8Array)&&(w=o.from(w,w.offset,w.byteLength)),!o.isBuffer(w))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof w);if(p===void 0&&(p=0),h===void 0&&(h=w?w.length:0),b===void 0&&(b=0),T===void 0&&(T=this.length),p<0||h>w.length||b<0||T>this.length)throw new RangeError("out of range index");if(b>=T&&p>=h)return 0;if(b>=T)return-1;if(p>=h)return 1;if(p>>>=0,h>>>=0,b>>>=0,T>>>=0,this===w)return 0;let U=T-b,ee=h-p,ye=Math.min(U,ee),Ae=this.slice(b,T),Re=w.slice(p,h);for(let xe=0;xe2147483647?h=2147483647:h<-2147483648&&(h=-2147483648),h=+h,$(h)&&(h=T?0:w.length-1),h<0&&(h=w.length+h),h>=w.length){if(T)return-1;h=w.length-1}else if(h<0)if(T)h=0;else return-1;if(typeof p=="string"&&(p=o.from(p,b)),o.isBuffer(p))return p.length===0?-1:x(w,p,h,b,T);if(typeof p=="number")return p=p&255,typeof Uint8Array.prototype.indexOf=="function"?T?Uint8Array.prototype.indexOf.call(w,p,h):Uint8Array.prototype.lastIndexOf.call(w,p,h):x(w,[p],h,b,T);throw new TypeError("val must be string, number or Buffer")}function x(w,p,h,b,T){let U=1,ee=w.length,ye=p.length;if(b!==void 0&&(b=String(b).toLowerCase(),b==="ucs2"||b==="ucs-2"||b==="utf16le"||b==="utf-16le")){if(w.length<2||p.length<2)return-1;U=2,ee/=2,ye/=2,h/=2}function Ae(xe,Oe){return U===1?xe[Oe]:xe.readUInt16BE(Oe*U)}let Re;if(T){let xe=-1;for(Re=h;Reee&&(h=ee-ye),Re=h;Re>=0;Re--){let xe=!0;for(let Oe=0;OeT&&(b=T)):b=T;let U=p.length;b>U/2&&(b=U/2);let ee;for(ee=0;ee>>0,isFinite(h)?(h=h>>>0,b===void 0&&(b="utf8")):(b=h,h=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let T=this.length-p;if((h===void 0||h>T)&&(h=T),w.length>0&&(h<0||p<0)||p>this.length)throw new RangeError("Attempt to write outside buffer bounds");b||(b="utf8");let U=!1;for(;;)switch(b){case"hex":return D(this,w,p,h);case"utf8":case"utf-8":return N(this,w,p,h);case"ascii":case"latin1":case"binary":return B(this,w,p,h);case"base64":return q(this,w,p,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return K(this,w,p,h);default:if(U)throw new TypeError("Unknown encoding: "+b);b=(""+b).toLowerCase(),U=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function C(w,p,h){return p===0&&h===w.length?t.fromByteArray(w):t.fromByteArray(w.slice(p,h))}function M(w,p,h){h=Math.min(w.length,h);let b=[],T=p;for(;T239?4:U>223?3:U>191?2:1;if(T+ye<=h){let Ae,Re,xe,Oe;switch(ye){case 1:U<128&&(ee=U);break;case 2:Ae=w[T+1],(Ae&192)===128&&(Oe=(U&31)<<6|Ae&63,Oe>127&&(ee=Oe));break;case 3:Ae=w[T+1],Re=w[T+2],(Ae&192)===128&&(Re&192)===128&&(Oe=(U&15)<<12|(Ae&63)<<6|Re&63,Oe>2047&&(Oe<55296||Oe>57343)&&(ee=Oe));break;case 4:Ae=w[T+1],Re=w[T+2],xe=w[T+3],(Ae&192)===128&&(Re&192)===128&&(xe&192)===128&&(Oe=(U&15)<<18|(Ae&63)<<12|(Re&63)<<6|xe&63,Oe>65535&&Oe<1114112&&(ee=Oe))}}ee===null?(ee=65533,ye=1):ee>65535&&(ee-=65536,b.push(ee>>>10&1023|55296),ee=56320|ee&1023),b.push(ee),T+=ye}return H(b)}let L=4096;function H(w){let p=w.length;if(p<=L)return String.fromCharCode.apply(String,w);let h="",b=0;for(;bb)&&(h=b);let T="";for(let U=p;Uh&&(w=h),p<0?(p+=h,p<0&&(p=0)):p>h&&(p=h),ph)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(w,p,h){w=w>>>0,p=p>>>0,h||ce(w,p,this.length);let b=this[w],T=1,U=0;for(;++U>>0,p=p>>>0,h||ce(w,p,this.length);let b=this[w+--p],T=1;for(;p>0&&(T*=256);)b+=this[w+--p]*T;return b},o.prototype.readUint8=o.prototype.readUInt8=function(w,p){return w=w>>>0,p||ce(w,1,this.length),this[w]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(w,p){return w=w>>>0,p||ce(w,2,this.length),this[w]|this[w+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(w,p){return w=w>>>0,p||ce(w,2,this.length),this[w]<<8|this[w+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(w,p){return w=w>>>0,p||ce(w,4,this.length),(this[w]|this[w+1]<<8|this[w+2]<<16)+this[w+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(w,p){return w=w>>>0,p||ce(w,4,this.length),this[w]*16777216+(this[w+1]<<16|this[w+2]<<8|this[w+3])},o.prototype.readBigUInt64LE=ae(function(w){w=w>>>0,ue(w,"offset");let p=this[w],h=this[w+7];(p===void 0||h===void 0)&&I(w,this.length-8);let b=p+this[++w]*2**8+this[++w]*2**16+this[++w]*2**24,T=this[++w]+this[++w]*2**8+this[++w]*2**16+h*2**24;return BigInt(b)+(BigInt(T)<>>0,ue(w,"offset");let p=this[w],h=this[w+7];(p===void 0||h===void 0)&&I(w,this.length-8);let b=p*2**24+this[++w]*2**16+this[++w]*2**8+this[++w],T=this[++w]*2**24+this[++w]*2**16+this[++w]*2**8+h;return(BigInt(b)<>>0,p=p>>>0,h||ce(w,p,this.length);let b=this[w],T=1,U=0;for(;++U=T&&(b-=Math.pow(2,8*p)),b},o.prototype.readIntBE=function(w,p,h){w=w>>>0,p=p>>>0,h||ce(w,p,this.length);let b=p,T=1,U=this[w+--b];for(;b>0&&(T*=256);)U+=this[w+--b]*T;return T*=128,U>=T&&(U-=Math.pow(2,8*p)),U},o.prototype.readInt8=function(w,p){return w=w>>>0,p||ce(w,1,this.length),this[w]&128?(255-this[w]+1)*-1:this[w]},o.prototype.readInt16LE=function(w,p){w=w>>>0,p||ce(w,2,this.length);let h=this[w]|this[w+1]<<8;return h&32768?h|4294901760:h},o.prototype.readInt16BE=function(w,p){w=w>>>0,p||ce(w,2,this.length);let h=this[w+1]|this[w]<<8;return h&32768?h|4294901760:h},o.prototype.readInt32LE=function(w,p){return w=w>>>0,p||ce(w,4,this.length),this[w]|this[w+1]<<8|this[w+2]<<16|this[w+3]<<24},o.prototype.readInt32BE=function(w,p){return w=w>>>0,p||ce(w,4,this.length),this[w]<<24|this[w+1]<<16|this[w+2]<<8|this[w+3]},o.prototype.readBigInt64LE=ae(function(w){w=w>>>0,ue(w,"offset");let p=this[w],h=this[w+7];(p===void 0||h===void 0)&&I(w,this.length-8);let b=this[w+4]+this[w+5]*2**8+this[w+6]*2**16+(h<<24);return(BigInt(b)<>>0,ue(w,"offset");let p=this[w],h=this[w+7];(p===void 0||h===void 0)&&I(w,this.length-8);let b=(p<<24)+this[++w]*2**16+this[++w]*2**8+this[++w];return(BigInt(b)<>>0,p||ce(w,4,this.length),e.read(this,w,!0,23,4)},o.prototype.readFloatBE=function(w,p){return w=w>>>0,p||ce(w,4,this.length),e.read(this,w,!1,23,4)},o.prototype.readDoubleLE=function(w,p){return w=w>>>0,p||ce(w,8,this.length),e.read(this,w,!0,52,8)},o.prototype.readDoubleBE=function(w,p){return w=w>>>0,p||ce(w,8,this.length),e.read(this,w,!1,52,8)};function re(w,p,h,b,T,U){if(!o.isBuffer(w))throw new TypeError('"buffer" argument must be a Buffer instance');if(p>T||pw.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(w,p,h,b){if(w=+w,p=p>>>0,h=h>>>0,!b){let ee=Math.pow(2,8*h)-1;re(this,w,p,h,ee,0)}let T=1,U=0;for(this[p]=w&255;++U>>0,h=h>>>0,!b){let ee=Math.pow(2,8*h)-1;re(this,w,p,h,ee,0)}let T=h-1,U=1;for(this[p+T]=w&255;--T>=0&&(U*=256);)this[p+T]=w/U&255;return p+h},o.prototype.writeUint8=o.prototype.writeUInt8=function(w,p,h){return w=+w,p=p>>>0,h||re(this,w,p,1,255,0),this[p]=w&255,p+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(w,p,h){return w=+w,p=p>>>0,h||re(this,w,p,2,65535,0),this[p]=w&255,this[p+1]=w>>>8,p+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(w,p,h){return w=+w,p=p>>>0,h||re(this,w,p,2,65535,0),this[p]=w>>>8,this[p+1]=w&255,p+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(w,p,h){return w=+w,p=p>>>0,h||re(this,w,p,4,4294967295,0),this[p+3]=w>>>24,this[p+2]=w>>>16,this[p+1]=w>>>8,this[p]=w&255,p+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(w,p,h){return w=+w,p=p>>>0,h||re(this,w,p,4,4294967295,0),this[p]=w>>>24,this[p+1]=w>>>16,this[p+2]=w>>>8,this[p+3]=w&255,p+4};function R(w,p,h,b,T){he(p,b,T,w,h,7);let U=Number(p&BigInt(4294967295));w[h++]=U,U=U>>8,w[h++]=U,U=U>>8,w[h++]=U,U=U>>8,w[h++]=U;let ee=Number(p>>BigInt(32)&BigInt(4294967295));return w[h++]=ee,ee=ee>>8,w[h++]=ee,ee=ee>>8,w[h++]=ee,ee=ee>>8,w[h++]=ee,h}function Q(w,p,h,b,T){he(p,b,T,w,h,7);let U=Number(p&BigInt(4294967295));w[h+7]=U,U=U>>8,w[h+6]=U,U=U>>8,w[h+5]=U,U=U>>8,w[h+4]=U;let ee=Number(p>>BigInt(32)&BigInt(4294967295));return w[h+3]=ee,ee=ee>>8,w[h+2]=ee,ee=ee>>8,w[h+1]=ee,ee=ee>>8,w[h]=ee,h+8}o.prototype.writeBigUInt64LE=ae(function(w,p=0){return R(this,w,p,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=ae(function(w,p=0){return Q(this,w,p,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(w,p,h,b){if(w=+w,p=p>>>0,!b){let ye=Math.pow(2,8*h-1);re(this,w,p,h,ye-1,-ye)}let T=0,U=1,ee=0;for(this[p]=w&255;++T>0)-ee&255;return p+h},o.prototype.writeIntBE=function(w,p,h,b){if(w=+w,p=p>>>0,!b){let ye=Math.pow(2,8*h-1);re(this,w,p,h,ye-1,-ye)}let T=h-1,U=1,ee=0;for(this[p+T]=w&255;--T>=0&&(U*=256);)w<0&&ee===0&&this[p+T+1]!==0&&(ee=1),this[p+T]=(w/U>>0)-ee&255;return p+h},o.prototype.writeInt8=function(w,p,h){return w=+w,p=p>>>0,h||re(this,w,p,1,127,-128),w<0&&(w=255+w+1),this[p]=w&255,p+1},o.prototype.writeInt16LE=function(w,p,h){return w=+w,p=p>>>0,h||re(this,w,p,2,32767,-32768),this[p]=w&255,this[p+1]=w>>>8,p+2},o.prototype.writeInt16BE=function(w,p,h){return w=+w,p=p>>>0,h||re(this,w,p,2,32767,-32768),this[p]=w>>>8,this[p+1]=w&255,p+2},o.prototype.writeInt32LE=function(w,p,h){return w=+w,p=p>>>0,h||re(this,w,p,4,2147483647,-2147483648),this[p]=w&255,this[p+1]=w>>>8,this[p+2]=w>>>16,this[p+3]=w>>>24,p+4},o.prototype.writeInt32BE=function(w,p,h){return w=+w,p=p>>>0,h||re(this,w,p,4,2147483647,-2147483648),w<0&&(w=4294967295+w+1),this[p]=w>>>24,this[p+1]=w>>>16,this[p+2]=w>>>8,this[p+3]=w&255,p+4},o.prototype.writeBigInt64LE=ae(function(w,p=0){return R(this,w,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=ae(function(w,p=0){return Q(this,w,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function de(w,p,h,b,T,U){if(h+b>w.length)throw new RangeError("Index out of range");if(h<0)throw new RangeError("Index out of range")}function ge(w,p,h,b,T){return p=+p,h=h>>>0,T||de(w,p,h,4),e.write(w,p,h,b,23,4),h+4}o.prototype.writeFloatLE=function(w,p,h){return ge(this,w,p,!0,h)},o.prototype.writeFloatBE=function(w,p,h){return ge(this,w,p,!1,h)};function pe(w,p,h,b,T){return p=+p,h=h>>>0,T||de(w,p,h,8),e.write(w,p,h,b,52,8),h+8}o.prototype.writeDoubleLE=function(w,p,h){return pe(this,w,p,!0,h)},o.prototype.writeDoubleBE=function(w,p,h){return pe(this,w,p,!1,h)},o.prototype.copy=function(w,p,h,b){if(!o.isBuffer(w))throw new TypeError("argument should be a Buffer");if(h||(h=0),!b&&b!==0&&(b=this.length),p>=w.length&&(p=w.length),p||(p=0),b>0&&b=this.length)throw new RangeError("Index out of range");if(b<0)throw new RangeError("sourceEnd out of bounds");b>this.length&&(b=this.length),w.length-p>>0,h=h===void 0?this.length:h>>>0,w||(w=0);let T;if(typeof w=="number")for(T=p;T2**32?T=ie(String(h)):typeof h=="bigint"&&(T=String(h),(h>BigInt(2)**BigInt(32)||h<-(BigInt(2)**BigInt(32)))&&(T=ie(T)),T+="n"),b+=` It must be ${p}. Received ${T}`,b},RangeError);function ie(w){let p="",h=w.length,b=w[0]==="-"?1:0;for(;h>=b+4;h-=3)p=`_${w.slice(h-3,h)}${p}`;return`${w.slice(0,h)}${p}`}function be(w,p,h){ue(p,"offset"),(w[p]===void 0||w[p+h]===void 0)&&I(p,w.length-(h+1))}function he(w,p,h,b,T,U){if(w>h||w= 0${ee} and < 2${ee} ** ${(U+1)*8}${ee}`:ye=`>= -(2${ee} ** ${(U+1)*8-1}${ee}) and < 2 ** ${(U+1)*8-1}${ee}`,new X.ERR_OUT_OF_RANGE("value",ye,w)}be(b,T,U)}function ue(w,p){if(typeof w!="number")throw new X.ERR_INVALID_ARG_TYPE(p,"number",w)}function I(w,p,h){throw Math.floor(w)!==w?(ue(w,h),new X.ERR_OUT_OF_RANGE("offset","an integer",w)):p<0?new X.ERR_BUFFER_OUT_OF_BOUNDS:new X.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${p}`,w)}let P=/[^+/0-9A-Za-z-_]/g;function O(w){if(w=w.split("=")[0],w=w.trim().replace(P,""),w.length<2)return"";for(;w.length%4!==0;)w=w+"=";return w}function j(w,p){p=p||1/0;let h,b=w.length,T=null,U=[];for(let ee=0;ee55295&&h<57344){if(!T){if(h>56319){(p-=3)>-1&&U.push(239,191,189);continue}else if(ee+1===b){(p-=3)>-1&&U.push(239,191,189);continue}T=h;continue}if(h<56320){(p-=3)>-1&&U.push(239,191,189),T=h;continue}h=(T-55296<<10|h-56320)+65536}else T&&(p-=3)>-1&&U.push(239,191,189);if(T=null,h<128){if((p-=1)<0)break;U.push(h)}else if(h<2048){if((p-=2)<0)break;U.push(h>>6|192,h&63|128)}else if(h<65536){if((p-=3)<0)break;U.push(h>>12|224,h>>6&63|128,h&63|128)}else if(h<1114112){if((p-=4)<0)break;U.push(h>>18|240,h>>12&63|128,h>>6&63|128,h&63|128)}else throw new Error("Invalid code point")}return U}function W(w){let p=[];for(let h=0;h>8,T=h%256,U.push(T),U.push(b);return U}function fe(w){return t.toByteArray(O(w))}function V(w,p,h,b){let T;for(T=0;T=p.length||T>=w.length);++T)p[T+h]=w[T];return T}function te(w,p){return w instanceof p||w!=null&&w.constructor!=null&&w.constructor.name!=null&&w.constructor.name===p.name}function $(w){return w!==w}let J=function(){let w="0123456789abcdef",p=new Array(256);for(let h=0;h<16;++h){let b=h*16;for(let T=0;T<16;++T)p[b+T]=w[h]+w[T]}return p}();function ae(w){return typeof BigInt>"u"?me:w}function me(){throw new Error("BigInt not supported")}return Bn}var ws,Xd,Oo,Qd,Bn,Jd,Zr,jl,sv,ov,Tt=Et(()=>{_e(),ve(),we(),ws={},Xd=!1,Oo={},Qd=!1,Bn={},Jd=!1,Zr=kA(),Zr.Buffer,Zr.SlowBuffer,Zr.INSPECT_MAX_BYTES,Zr.kMaxLength,jl=Zr.Buffer,sv=Zr.INSPECT_MAX_BYTES,ov=Zr.kMaxLength}),_e=Et(()=>{Tt()}),LA=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0});var e=class{constructor(r){this.aliasToTopic={},this.max=r}put(r,n){return n===0||n>this.max?!1:(this.aliasToTopic[n]=r,this.length=Object.keys(this.aliasToTopic).length,!0)}getTopicByAlias(r){return this.aliasToTopic[r]}clear(){this.aliasToTopic={}}};t.default=e}),ht=Te((t,e)=>{_e(),ve(),we(),e.exports={ArrayIsArray(r){return Array.isArray(r)},ArrayPrototypeIncludes(r,n){return r.includes(n)},ArrayPrototypeIndexOf(r,n){return r.indexOf(n)},ArrayPrototypeJoin(r,n){return r.join(n)},ArrayPrototypeMap(r,n){return r.map(n)},ArrayPrototypePop(r,n){return r.pop(n)},ArrayPrototypePush(r,n){return r.push(n)},ArrayPrototypeSlice(r,n,s){return r.slice(n,s)},Error,FunctionPrototypeCall(r,n,...s){return r.call(n,...s)},FunctionPrototypeSymbolHasInstance(r,n){return Function.prototype[Symbol.hasInstance].call(r,n)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(r,n){return Object.defineProperties(r,n)},ObjectDefineProperty(r,n,s){return Object.defineProperty(r,n,s)},ObjectGetOwnPropertyDescriptor(r,n){return Object.getOwnPropertyDescriptor(r,n)},ObjectKeys(r){return Object.keys(r)},ObjectSetPrototypeOf(r,n){return Object.setPrototypeOf(r,n)},Promise,PromisePrototypeCatch(r,n){return r.catch(n)},PromisePrototypeThen(r,n,s){return r.then(n,s)},PromiseReject(r){return Promise.reject(r)},ReflectApply:Reflect.apply,RegExpPrototypeTest(r,n){return r.test(n)},SafeSet:Set,String,StringPrototypeSlice(r,n,s){return r.slice(n,s)},StringPrototypeToLowerCase(r){return r.toLowerCase()},StringPrototypeToUpperCase(r){return r.toUpperCase()},StringPrototypeTrim(r){return r.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet(r,n,s){return r.set(n,s)},Uint8Array}}),yn=Te((t,e)=>{_e(),ve(),we();var r=(Tt(),Ke(St)),n=Object.getPrototypeOf(async function(){}).constructor,s=globalThis.Blob||r.Blob,i=typeof s<"u"?function(a){return a instanceof s}:function(a){return!1},o=class extends Error{constructor(a){if(!Array.isArray(a))throw new TypeError(`Expected input to be an Array, got ${typeof a}`);let l="";for(let u=0;u{a=u,l=c}),resolve:a,reject:l}},promisify(a){return new Promise((l,u)=>{a((c,...f)=>c?u(c):l(...f))})},debuglog(){return function(){}},format(a,...l){return a.replace(/%([sdifj])/g,function(...[u,c]){let f=l.shift();return c==="f"?f.toFixed(6):c==="j"?JSON.stringify(f):c==="s"&&typeof f=="object"?`${f.constructor!==Object?f.constructor.name:""} {}`.trim():f.toString()})},inspect(a){switch(typeof a){case"string":if(a.includes("'"))if(a.includes('"')){if(!a.includes("`")&&!a.includes("${"))return`\`${a}\``}else return`"${a}"`;return`'${a}'`;case"number":return isNaN(a)?"NaN":Object.is(a,-0)?String(a):a;case"bigint":return`${String(a)}n`;case"boolean":case"undefined":return String(a);case"object":return"{}"}},types:{isAsyncFunction(a){return a instanceof n},isArrayBufferView(a){return ArrayBuffer.isView(a)}},isBlob:i},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}),Op=Te((t,e)=>{_e(),ve(),we();var{AbortController:r,AbortSignal:n}=typeof self<"u"?self:typeof window<"u"?window:void 0;e.exports=r,e.exports.AbortSignal=n,e.exports.default=r}),Vt=Te((t,e)=>{_e(),ve(),we();var{format:r,inspect:n,AggregateError:s}=yn(),i=globalThis.AggregateError||s,o=Symbol("kIsNodeError"),a=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,u="__node_internal_",c={};function f(S,v){if(!S)throw new c.ERR_INTERNAL_ASSERTION(v)}function d(S){let v="",A=S.length,k=S[0]==="-"?1:0;for(;A>=k+4;A-=3)v=`_${S.slice(A-3,A)}${v}`;return`${S.slice(0,A)}${v}`}function g(S,v,A){if(typeof v=="function")return f(v.length<=A.length,`Code: ${S}; The provided arguments length (${A.length}) does not match the required ones (${v.length}).`),v(...A);let k=(v.match(/%[dfijoOs]/g)||[]).length;return f(k===A.length,`Code: ${S}; The provided arguments length (${A.length}) does not match the required ones (${k}).`),A.length===0?v:r(v,...A)}function m(S,v,A){A||(A=Error);class k extends A{constructor(...D){super(g(S,v,D))}toString(){return`${this.name} [${S}]: ${this.message}`}}Object.defineProperties(k.prototype,{name:{value:A.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${S}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),k.prototype.code=S,k.prototype[o]=!0,c[S]=k}function y(S){let v=u+S.name;return Object.defineProperty(S,"name",{value:v}),S}function E(S,v){if(S&&v&&S!==v){if(Array.isArray(v.errors))return v.errors.push(S),v;let A=new i([v,S],v.message);return A.code=v.code,A}return S||v}var _=class extends Error{constructor(S="The operation was aborted",v=void 0){if(v!==void 0&&typeof v!="object")throw new c.ERR_INVALID_ARG_TYPE("options","Object",v);super(S,v),this.code="ABORT_ERR",this.name="AbortError"}};m("ERR_ASSERTION","%s",Error),m("ERR_INVALID_ARG_TYPE",(S,v,A)=>{f(typeof S=="string","'name' must be a string"),Array.isArray(v)||(v=[v]);let k="The ";S.endsWith(" argument")?k+=`${S} `:k+=`"${S}" ${S.includes(".")?"property":"argument"} `,k+="must be ";let x=[],D=[],N=[];for(let q of v)f(typeof q=="string","All expected entries have to be of type string"),a.includes(q)?x.push(q.toLowerCase()):l.test(q)?D.push(q):(f(q!=="object",'The value "object" should be written as "Object"'),N.push(q));if(D.length>0){let q=x.indexOf("object");q!==-1&&(x.splice(x,q,1),D.push("Object"))}if(x.length>0){switch(x.length){case 1:k+=`of type ${x[0]}`;break;case 2:k+=`one of type ${x[0]} or ${x[1]}`;break;default:{let q=x.pop();k+=`one of type ${x.join(", ")}, or ${q}`}}(D.length>0||N.length>0)&&(k+=" or ")}if(D.length>0){switch(D.length){case 1:k+=`an instance of ${D[0]}`;break;case 2:k+=`an instance of ${D[0]} or ${D[1]}`;break;default:{let q=D.pop();k+=`an instance of ${D.join(", ")}, or ${q}`}}N.length>0&&(k+=" or ")}switch(N.length){case 0:break;case 1:N[0].toLowerCase()!==N[0]&&(k+="an "),k+=`${N[0]}`;break;case 2:k+=`one of ${N[0]} or ${N[1]}`;break;default:{let q=N.pop();k+=`one of ${N.join(", ")}, or ${q}`}}if(A==null)k+=`. Received ${A}`;else if(typeof A=="function"&&A.name)k+=`. Received function ${A.name}`;else if(typeof A=="object"){var B;if((B=A.constructor)!==null&&B!==void 0&&B.name)k+=`. Received an instance of ${A.constructor.name}`;else{let q=n(A,{depth:-1});k+=`. Received ${q}`}}else{let q=n(A,{colors:!1});q.length>25&&(q=`${q.slice(0,25)}...`),k+=`. Received type ${typeof A} (${q})`}return k},TypeError),m("ERR_INVALID_ARG_VALUE",(S,v,A="is invalid")=>{let k=n(v);return k.length>128&&(k=k.slice(0,128)+"..."),`The ${S.includes(".")?"property":"argument"} '${S}' ${A}. Received ${k}`},TypeError),m("ERR_INVALID_RETURN_VALUE",(S,v,A)=>{var k;let x=A!=null&&(k=A.constructor)!==null&&k!==void 0&&k.name?`instance of ${A.constructor.name}`:`type ${typeof A}`;return`Expected ${S} to be returned from the "${v}" function but got ${x}.`},TypeError),m("ERR_MISSING_ARGS",(...S)=>{f(S.length>0,"At least one arg needs to be specified");let v,A=S.length;switch(S=(Array.isArray(S)?S:[S]).map(k=>`"${k}"`).join(" or "),A){case 1:v+=`The ${S[0]} argument`;break;case 2:v+=`The ${S[0]} and ${S[1]} arguments`;break;default:{let k=S.pop();v+=`The ${S.join(", ")}, and ${k} arguments`}break}return`${v} must be specified`},TypeError),m("ERR_OUT_OF_RANGE",(S,v,A)=>{f(v,'Missing "range" argument');let k;return Number.isInteger(A)&&Math.abs(A)>2**32?k=d(String(A)):typeof A=="bigint"?(k=String(A),(A>2n**32n||A<-(2n**32n))&&(k=d(k)),k+="n"):k=n(A),`The value of "${S}" is out of range. It must be ${v}. Received ${k}`},RangeError),m("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),m("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),m("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),m("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),m("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),m("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),m("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),m("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),m("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),m("ERR_STREAM_WRITE_AFTER_END","write after end",Error),m("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),e.exports={AbortError:_,aggregateTwoErrors:y(E),hideStackFrames:y,codes:c}}),Au=Te((t,e)=>{_e(),ve(),we();var{ArrayIsArray:r,ArrayPrototypeIncludes:n,ArrayPrototypeJoin:s,ArrayPrototypeMap:i,NumberIsInteger:o,NumberIsNaN:a,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:u,NumberParseInt:c,ObjectPrototypeHasOwnProperty:f,RegExpPrototypeExec:d,String:g,StringPrototypeToUpperCase:m,StringPrototypeTrim:y}=ht(),{hideStackFrames:E,codes:{ERR_SOCKET_BAD_PORT:_,ERR_INVALID_ARG_TYPE:S,ERR_INVALID_ARG_VALUE:v,ERR_OUT_OF_RANGE:A,ERR_UNKNOWN_SIGNAL:k}}=Vt(),{normalizeEncoding:x}=yn(),{isAsyncFunction:D,isArrayBufferView:N}=yn().types,B={};function q(V){return V===(V|0)}function K(V){return V===V>>>0}var C=/^[0-7]+$/,M="must be a 32-bit unsigned integer or an octal string";function L(V,te,$){if(typeof V>"u"&&(V=$),typeof V=="string"){if(d(C,V)===null)throw new v(te,V,M);V=c(V,8)}return z(V,te),V}var H=E((V,te,$=u,J=l)=>{if(typeof V!="number")throw new S(te,"number",V);if(!o(V))throw new A(te,"an integer",V);if(V<$||V>J)throw new A(te,`>= ${$} && <= ${J}`,V)}),G=E((V,te,$=-2147483648,J=2147483647)=>{if(typeof V!="number")throw new S(te,"number",V);if(!o(V))throw new A(te,"an integer",V);if(V<$||V>J)throw new A(te,`>= ${$} && <= ${J}`,V)}),z=E((V,te,$=!1)=>{if(typeof V!="number")throw new S(te,"number",V);if(!o(V))throw new A(te,"an integer",V);let J=$?1:0,ae=4294967295;if(Vae)throw new A(te,`>= ${J} && <= ${ae}`,V)});function F(V,te){if(typeof V!="string")throw new S(te,"string",V)}function ne(V,te,$=void 0,J){if(typeof V!="number")throw new S(te,"number",V);if($!=null&&V<$||J!=null&&V>J||($!=null||J!=null)&&a(V))throw new A(te,`${$!=null?`>= ${$}`:""}${$!=null&&J!=null?" && ":""}${J!=null?`<= ${J}`:""}`,V)}var ce=E((V,te,$)=>{if(!n($,V)){let J="must be one of: "+s(i($,ae=>typeof ae=="string"?`'${ae}'`:g(ae)),", ");throw new v(te,V,J)}});function re(V,te){if(typeof V!="boolean")throw new S(te,"boolean",V)}function R(V,te,$){return V==null||!f(V,te)?$:V[te]}var Q=E((V,te,$=null)=>{let J=R($,"allowArray",!1),ae=R($,"allowFunction",!1);if(!R($,"nullable",!1)&&V===null||!J&&r(V)||typeof V!="object"&&(!ae||typeof V!="function"))throw new S(te,"Object",V)}),de=E((V,te)=>{if(V!=null&&typeof V!="object"&&typeof V!="function")throw new S(te,"a dictionary",V)}),ge=E((V,te,$=0)=>{if(!r(V))throw new S(te,"Array",V);if(V.length<$){let J=`must be longer than ${$}`;throw new v(te,V,J)}});function pe(V,te){ge(V,te);for(let $=0;${if(!N(V))throw new S(te,["Buffer","TypedArray","DataView"],V)});function be(V,te){let $=x(te),J=V.length;if($==="hex"&&J%2!==0)throw new v("encoding",te,`is invalid for data of length ${J}`)}function he(V,te="Port",$=!0){if(typeof V!="number"&&typeof V!="string"||typeof V=="string"&&y(V).length===0||+V!==+V>>>0||V>65535||V===0&&!$)throw new _(te,V,$);return V|0}var ue=E((V,te)=>{if(V!==void 0&&(V===null||typeof V!="object"||!("aborted"in V)))throw new S(te,"AbortSignal",V)}),I=E((V,te)=>{if(typeof V!="function")throw new S(te,"Function",V)}),P=E((V,te)=>{if(typeof V!="function"||D(V))throw new S(te,"Function",V)}),O=E((V,te)=>{if(V!==void 0)throw new S(te,"undefined",V)});function j(V,te,$){if(!n($,V))throw new S(te,`('${s($,"|")}')`,V)}var W=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function le(V,te){if(typeof V>"u"||!d(W,V))throw new v(te,V,'must be an array or string of format "; rel=preload; as=style"')}function fe(V){if(typeof V=="string")return le(V,"hints"),V;if(r(V)){let te=V.length,$="";if(te===0)return $;for(let J=0;J; rel=preload; as=style"')}e.exports={isInt32:q,isUint32:K,parseFileMode:L,validateArray:ge,validateStringArray:pe,validateBooleanArray:X,validateBoolean:re,validateBuffer:ie,validateDictionary:de,validateEncoding:be,validateFunction:I,validateInt32:G,validateInteger:H,validateNumber:ne,validateObject:Q,validateOneOf:ce,validatePlainFunction:P,validatePort:he,validateSignalName:Y,validateString:F,validateUint32:z,validateUndefined:O,validateUnion:j,validateAbortSignal:ue,validateLinkHeaderValue:fe}}),es=Te((t,e)=>{_e(),ve(),we();var r=e.exports={},n,s;function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?n=setTimeout:n=i}catch{n=i}try{typeof clearTimeout=="function"?s=clearTimeout:s=o}catch{s=o}})();function a(_){if(n===setTimeout)return setTimeout(_,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(_,0);try{return n(_,0)}catch{try{return n.call(null,_,0)}catch{return n.call(this,_,0)}}}function l(_){if(s===clearTimeout)return clearTimeout(_);if((s===o||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(_);try{return s(_)}catch{try{return s.call(null,_)}catch{return s.call(this,_)}}}var u=[],c=!1,f,d=-1;function g(){!c||!f||(c=!1,f.length?u=f.concat(u):d=-1,u.length&&m())}function m(){if(!c){var _=a(g);c=!0;for(var S=u.length;S;){for(f=u,u=[];++d1)for(var v=1;v{_e(),ve(),we();var{Symbol:r,SymbolAsyncIterator:n,SymbolIterator:s,SymbolFor:i}=ht(),o=r("kDestroyed"),a=r("kIsErrored"),l=r("kIsReadable"),u=r("kIsDisturbed"),c=i("nodejs.webstream.isClosedPromise"),f=i("nodejs.webstream.controllerErrorFunction");function d(R,Q=!1){var de;return!!(R&&typeof R.pipe=="function"&&typeof R.on=="function"&&(!Q||typeof R.pause=="function"&&typeof R.resume=="function")&&(!R._writableState||((de=R._readableState)===null||de===void 0?void 0:de.readable)!==!1)&&(!R._writableState||R._readableState))}function g(R){var Q;return!!(R&&typeof R.write=="function"&&typeof R.on=="function"&&(!R._readableState||((Q=R._writableState)===null||Q===void 0?void 0:Q.writable)!==!1))}function m(R){return!!(R&&typeof R.pipe=="function"&&R._readableState&&typeof R.on=="function"&&typeof R.write=="function")}function y(R){return R&&(R._readableState||R._writableState||typeof R.write=="function"&&typeof R.on=="function"||typeof R.pipe=="function"&&typeof R.on=="function")}function E(R){return!!(R&&!y(R)&&typeof R.pipeThrough=="function"&&typeof R.getReader=="function"&&typeof R.cancel=="function")}function _(R){return!!(R&&!y(R)&&typeof R.getWriter=="function"&&typeof R.abort=="function")}function S(R){return!!(R&&!y(R)&&typeof R.readable=="object"&&typeof R.writable=="object")}function v(R){return E(R)||_(R)||S(R)}function A(R,Q){return R==null?!1:Q===!0?typeof R[n]=="function":Q===!1?typeof R[s]=="function":typeof R[n]=="function"||typeof R[s]=="function"}function k(R){if(!y(R))return null;let Q=R._writableState,de=R._readableState,ge=Q||de;return!!(R.destroyed||R[o]||ge!=null&&ge.destroyed)}function x(R){if(!g(R))return null;if(R.writableEnded===!0)return!0;let Q=R._writableState;return Q!=null&&Q.errored?!1:typeof(Q==null?void 0:Q.ended)!="boolean"?null:Q.ended}function D(R,Q){if(!g(R))return null;if(R.writableFinished===!0)return!0;let de=R._writableState;return de!=null&&de.errored?!1:typeof(de==null?void 0:de.finished)!="boolean"?null:!!(de.finished||Q===!1&&de.ended===!0&&de.length===0)}function N(R){if(!d(R))return null;if(R.readableEnded===!0)return!0;let Q=R._readableState;return!Q||Q.errored?!1:typeof(Q==null?void 0:Q.ended)!="boolean"?null:Q.ended}function B(R,Q){if(!d(R))return null;let de=R._readableState;return de!=null&&de.errored?!1:typeof(de==null?void 0:de.endEmitted)!="boolean"?null:!!(de.endEmitted||Q===!1&&de.ended===!0&&de.length===0)}function q(R){return R&&R[l]!=null?R[l]:typeof(R==null?void 0:R.readable)!="boolean"?null:k(R)?!1:d(R)&&R.readable&&!B(R)}function K(R){return typeof(R==null?void 0:R.writable)!="boolean"?null:k(R)?!1:g(R)&&R.writable&&!x(R)}function C(R,Q){return y(R)?k(R)?!0:!((Q==null?void 0:Q.readable)!==!1&&q(R)||(Q==null?void 0:Q.writable)!==!1&&K(R)):null}function M(R){var Q,de;return y(R)?R.writableErrored?R.writableErrored:(Q=(de=R._writableState)===null||de===void 0?void 0:de.errored)!==null&&Q!==void 0?Q:null:null}function L(R){var Q,de;return y(R)?R.readableErrored?R.readableErrored:(Q=(de=R._readableState)===null||de===void 0?void 0:de.errored)!==null&&Q!==void 0?Q:null:null}function H(R){if(!y(R))return null;if(typeof R.closed=="boolean")return R.closed;let Q=R._writableState,de=R._readableState;return typeof(Q==null?void 0:Q.closed)=="boolean"||typeof(de==null?void 0:de.closed)=="boolean"?(Q==null?void 0:Q.closed)||(de==null?void 0:de.closed):typeof R._closed=="boolean"&&G(R)?R._closed:null}function G(R){return typeof R._closed=="boolean"&&typeof R._defaultKeepAlive=="boolean"&&typeof R._removedConnection=="boolean"&&typeof R._removedContLen=="boolean"}function z(R){return typeof R._sent100=="boolean"&&G(R)}function F(R){var Q;return typeof R._consuming=="boolean"&&typeof R._dumped=="boolean"&&((Q=R.req)===null||Q===void 0?void 0:Q.upgradeOrConnect)===void 0}function ne(R){if(!y(R))return null;let Q=R._writableState,de=R._readableState,ge=Q||de;return!ge&&z(R)||!!(ge&&ge.autoDestroy&&ge.emitClose&&ge.closed===!1)}function ce(R){var Q;return!!(R&&((Q=R[u])!==null&&Q!==void 0?Q:R.readableDidRead||R.readableAborted))}function re(R){var Q,de,ge,pe,X,Y,ie,be,he,ue;return!!(R&&((Q=(de=(ge=(pe=(X=(Y=R[a])!==null&&Y!==void 0?Y:R.readableErrored)!==null&&X!==void 0?X:R.writableErrored)!==null&&pe!==void 0?pe:(ie=R._readableState)===null||ie===void 0?void 0:ie.errorEmitted)!==null&&ge!==void 0?ge:(be=R._writableState)===null||be===void 0?void 0:be.errorEmitted)!==null&&de!==void 0?de:(he=R._readableState)===null||he===void 0?void 0:he.errored)!==null&&Q!==void 0?Q:!((ue=R._writableState)===null||ue===void 0)&&ue.errored))}e.exports={kDestroyed:o,isDisturbed:ce,kIsDisturbed:u,isErrored:re,kIsErrored:a,isReadable:q,kIsReadable:l,kIsClosedPromise:c,kControllerErrorFunction:f,isClosed:H,isDestroyed:k,isDuplexNodeStream:m,isFinished:C,isIterable:A,isReadableNodeStream:d,isReadableStream:E,isReadableEnded:N,isReadableFinished:B,isReadableErrored:L,isNodeStream:y,isWebStream:v,isWritable:K,isWritableNodeStream:g,isWritableStream:_,isWritableEnded:x,isWritableFinished:D,isWritableErrored:M,isServerRequest:F,isServerResponse:z,willEmitClose:ne,isTransformStream:S}}),si=Te((t,e)=>{_e(),ve(),we();var r=es(),{AbortError:n,codes:s}=Vt(),{ERR_INVALID_ARG_TYPE:i,ERR_STREAM_PREMATURE_CLOSE:o}=s,{kEmptyObject:a,once:l}=yn(),{validateAbortSignal:u,validateFunction:c,validateObject:f,validateBoolean:d}=Au(),{Promise:g,PromisePrototypeThen:m}=ht(),{isClosed:y,isReadable:E,isReadableNodeStream:_,isReadableStream:S,isReadableFinished:v,isReadableErrored:A,isWritable:k,isWritableNodeStream:x,isWritableStream:D,isWritableFinished:N,isWritableErrored:B,isNodeStream:q,willEmitClose:K,kIsClosedPromise:C}=Mn();function M(F){return F.setHeader&&typeof F.abort=="function"}var L=()=>{};function H(F,ne,ce){var re,R;if(arguments.length===2?(ce=ne,ne=a):ne==null?ne=a:f(ne,"options"),c(ce,"callback"),u(ne.signal,"options.signal"),ce=l(ce),S(F)||D(F))return G(F,ne,ce);if(!q(F))throw new i("stream",["ReadableStream","WritableStream","Stream"],F);let Q=(re=ne.readable)!==null&&re!==void 0?re:_(F),de=(R=ne.writable)!==null&&R!==void 0?R:x(F),ge=F._writableState,pe=F._readableState,X=()=>{F.writable||be()},Y=K(F)&&_(F)===Q&&x(F)===de,ie=N(F,!1),be=()=>{ie=!0,F.destroyed&&(Y=!1),!(Y&&(!F.readable||Q))&&(!Q||he)&&ce.call(F)},he=v(F,!1),ue=()=>{he=!0,F.destroyed&&(Y=!1),!(Y&&(!F.writable||de))&&(!de||ie)&&ce.call(F)},I=fe=>{ce.call(F,fe)},P=y(F),O=()=>{P=!0;let fe=B(F)||A(F);if(fe&&typeof fe!="boolean")return ce.call(F,fe);if(Q&&!he&&_(F,!0)&&!v(F,!1))return ce.call(F,new o);if(de&&!ie&&!N(F,!1))return ce.call(F,new o);ce.call(F)},j=()=>{P=!0;let fe=B(F)||A(F);if(fe&&typeof fe!="boolean")return ce.call(F,fe);ce.call(F)},W=()=>{F.req.on("finish",be)};M(F)?(F.on("complete",be),Y||F.on("abort",O),F.req?W():F.on("request",W)):de&&!ge&&(F.on("end",X),F.on("close",X)),!Y&&typeof F.aborted=="boolean"&&F.on("aborted",O),F.on("end",ue),F.on("finish",be),ne.error!==!1&&F.on("error",I),F.on("close",O),P?r.nextTick(O):ge!=null&&ge.errorEmitted||pe!=null&&pe.errorEmitted?Y||r.nextTick(j):(!Q&&(!Y||E(F))&&(ie||k(F)===!1)||!de&&(!Y||k(F))&&(he||E(F)===!1)||pe&&F.req&&F.aborted)&&r.nextTick(j);let le=()=>{ce=L,F.removeListener("aborted",O),F.removeListener("complete",be),F.removeListener("abort",O),F.removeListener("request",W),F.req&&F.req.removeListener("finish",be),F.removeListener("end",X),F.removeListener("close",X),F.removeListener("finish",be),F.removeListener("end",ue),F.removeListener("error",I),F.removeListener("close",O)};if(ne.signal&&!P){let fe=()=>{let V=ce;le(),V.call(F,new n(void 0,{cause:ne.signal.reason}))};if(ne.signal.aborted)r.nextTick(fe);else{let V=ce;ce=l((...te)=>{ne.signal.removeEventListener("abort",fe),V.apply(F,te)}),ne.signal.addEventListener("abort",fe)}}return le}function G(F,ne,ce){let re=!1,R=L;if(ne.signal)if(R=()=>{re=!0,ce.call(F,new n(void 0,{cause:ne.signal.reason}))},ne.signal.aborted)r.nextTick(R);else{let de=ce;ce=l((...ge)=>{ne.signal.removeEventListener("abort",R),de.apply(F,ge)}),ne.signal.addEventListener("abort",R)}let Q=(...de)=>{re||r.nextTick(()=>ce.apply(F,de))};return m(F[C].promise,Q,Q),L}function z(F,ne){var ce;let re=!1;return ne===null&&(ne=a),(ce=ne)!==null&&ce!==void 0&&ce.cleanup&&(d(ne.cleanup,"cleanup"),re=ne.cleanup),new g((R,Q)=>{let de=H(F,ne,ge=>{re&&de(),ge?Q(ge):R()})})}e.exports=H,e.exports.finished=z}),ro=Te((t,e)=>{_e(),ve(),we();var r=es(),{aggregateTwoErrors:n,codes:{ERR_MULTIPLE_CALLBACK:s},AbortError:i}=Vt(),{Symbol:o}=ht(),{kDestroyed:a,isDestroyed:l,isFinished:u,isServerRequest:c}=Mn(),f=o("kDestroy"),d=o("kConstruct");function g(C,M,L){C&&(C.stack,M&&!M.errored&&(M.errored=C),L&&!L.errored&&(L.errored=C))}function m(C,M){let L=this._readableState,H=this._writableState,G=H||L;return H!=null&&H.destroyed||L!=null&&L.destroyed?(typeof M=="function"&&M(),this):(g(C,H,L),H&&(H.destroyed=!0),L&&(L.destroyed=!0),G.constructed?y(this,C,M):this.once(f,function(z){y(this,n(z,C),M)}),this)}function y(C,M,L){let H=!1;function G(z){if(H)return;H=!0;let F=C._readableState,ne=C._writableState;g(z,ne,F),ne&&(ne.closed=!0),F&&(F.closed=!0),typeof L=="function"&&L(z),z?r.nextTick(E,C,z):r.nextTick(_,C)}try{C._destroy(M||null,G)}catch(z){G(z)}}function E(C,M){S(C,M),_(C)}function _(C){let M=C._readableState,L=C._writableState;L&&(L.closeEmitted=!0),M&&(M.closeEmitted=!0),(L!=null&&L.emitClose||M!=null&&M.emitClose)&&C.emit("close")}function S(C,M){let L=C._readableState,H=C._writableState;H!=null&&H.errorEmitted||L!=null&&L.errorEmitted||(H&&(H.errorEmitted=!0),L&&(L.errorEmitted=!0),C.emit("error",M))}function v(){let C=this._readableState,M=this._writableState;C&&(C.constructed=!0,C.closed=!1,C.closeEmitted=!1,C.destroyed=!1,C.errored=null,C.errorEmitted=!1,C.reading=!1,C.ended=C.readable===!1,C.endEmitted=C.readable===!1),M&&(M.constructed=!0,M.destroyed=!1,M.closed=!1,M.closeEmitted=!1,M.errored=null,M.errorEmitted=!1,M.finalCalled=!1,M.prefinished=!1,M.ended=M.writable===!1,M.ending=M.writable===!1,M.finished=M.writable===!1)}function A(C,M,L){let H=C._readableState,G=C._writableState;if(G!=null&&G.destroyed||H!=null&&H.destroyed)return this;H!=null&&H.autoDestroy||G!=null&&G.autoDestroy?C.destroy(M):M&&(M.stack,G&&!G.errored&&(G.errored=M),H&&!H.errored&&(H.errored=M),L?r.nextTick(S,C,M):S(C,M))}function k(C,M){if(typeof C._construct!="function")return;let L=C._readableState,H=C._writableState;L&&(L.constructed=!1),H&&(H.constructed=!1),C.once(d,M),!(C.listenerCount(d)>1)&&r.nextTick(x,C)}function x(C){let M=!1;function L(H){if(M){A(C,H??new s);return}M=!0;let G=C._readableState,z=C._writableState,F=z||G;G&&(G.constructed=!0),z&&(z.constructed=!0),F.destroyed?C.emit(f,H):H?A(C,H,!0):r.nextTick(D,C)}try{C._construct(H=>{r.nextTick(L,H)})}catch(H){r.nextTick(L,H)}}function D(C){C.emit(d)}function N(C){return(C==null?void 0:C.setHeader)&&typeof C.abort=="function"}function B(C){C.emit("close")}function q(C,M){C.emit("error",M),r.nextTick(B,C)}function K(C,M){!C||l(C)||(!M&&!u(C)&&(M=new i),c(C)?(C.socket=null,C.destroy(M)):N(C)?C.abort():N(C.req)?C.req.abort():typeof C.destroy=="function"?C.destroy(M):typeof C.close=="function"?C.close():M?r.nextTick(q,C,M):r.nextTick(B,C),C.destroyed||(C[a]=!0))}e.exports={construct:k,destroyer:K,destroy:m,undestroy:v,errorOrDestroy:A}});function Ye(){Ye.init.call(this)}function dl(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function av(t){return t._maxListeners===void 0?Ye.defaultMaxListeners:t._maxListeners}function Rm(t,e,r,n){var s,i,o,a;if(dl(r),(i=t._events)===void 0?(i=t._events=Object.create(null),t._eventsCount=0):(i.newListener!==void 0&&(t.emit("newListener",e,r.listener?r.listener:r),i=t._events),o=i[e]),o===void 0)o=i[e]=r,++t._eventsCount;else if(typeof o=="function"?o=i[e]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),(s=av(t))>0&&o.length>s&&!o.warned){o.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=e,l.count=o.length,a=l,console&&console.warn&&console.warn(a)}return t}function NA(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Pm(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},s=NA.bind(n);return s.listener=r,n.wrapFn=s,s}function km(t,e,r){var n=t._events;if(n===void 0)return[];var s=n[e];return s===void 0?[]:typeof s=="function"?r?[s.listener||s]:[s]:r?function(i){for(var o=new Array(i.length),a=0;a{_e(),ve(),we(),pi=typeof Reflect=="object"?Reflect:null,Sc=pi&&typeof pi.apply=="function"?pi.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)},Dm=pi&&typeof pi.ownKeys=="function"?pi.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)},Tc=Number.isNaN||function(t){return t!=t},Nm=Ye,Ye.EventEmitter=Ye,Ye.prototype._events=void 0,Ye.prototype._eventsCount=0,Ye.prototype._maxListeners=void 0,xc=10,Object.defineProperty(Ye,"defaultMaxListeners",{enumerable:!0,get:function(){return xc},set:function(t){if(typeof t!="number"||t<0||Tc(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");xc=t}}),Ye.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Ye.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||Tc(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},Ye.prototype.getMaxListeners=function(){return av(this)},Ye.prototype.emit=function(t){for(var e=[],r=1;r0&&(i=e[0]),i instanceof Error)throw i;var o=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw o.context=i,o}var a=s[t];if(a===void 0)return!1;if(typeof a=="function")Sc(a,this,e);else{var l=a.length,u=lv(a,l);for(r=0;r=0;i--)if(r[i]===e||r[i].listener===e){o=r[i].listener,s=i;break}if(s<0)return this;s===0?r.shift():function(a,l){for(;l+1=0;n--)this.removeListener(t,e[n]);return this},Ye.prototype.listeners=function(t){return km(this,t,!0)},Ye.prototype.rawListeners=function(t){return km(this,t,!1)},Ye.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):Lm.call(t,e)},Ye.prototype.listenerCount=Lm,Ye.prototype.eventNames=function(){return this._eventsCount>0?Dm(this._events):[]},Gt=Nm,Gt.EventEmitter,Gt.defaultMaxListeners,Gt.init,Gt.listenerCount,Gt.EventEmitter,Gt.defaultMaxListeners,Gt.init,Gt.listenerCount}),ts={};Zi(ts,{EventEmitter:()=>uv,default:()=>Gt,defaultMaxListeners:()=>cv,init:()=>fv,listenerCount:()=>dv,on:()=>hv,once:()=>pv});var uv,cv,fv,dv,hv,pv,no=Et(()=>{_e(),ve(),we(),Bm(),Bm(),Gt.once=function(t,e){return new Promise((r,n)=>{function s(...o){i!==void 0&&t.removeListener("error",i),r(o)}let i;e!=="error"&&(i=o=>{t.removeListener(name,s),n(o)},t.once("error",i)),t.once(e,s)})},Gt.on=function(t,e){let r=[],n=[],s=null,i=!1,o={async next(){let u=r.shift();if(u)return createIterResult(u,!1);if(s){let c=Promise.reject(s);return s=null,c}return i?createIterResult(void 0,!0):new Promise((c,f)=>n.push({resolve:c,reject:f}))},async return(){t.removeListener(e,a),t.removeListener("error",l),i=!0;for(let u of n)u.resolve(createIterResult(void 0,!0));return createIterResult(void 0,!0)},throw(u){s=u,t.removeListener(e,a),t.removeListener("error",l)},[Symbol.asyncIterator](){return this}};return t.on(e,a),t.on("error",l),o;function a(...u){let c=n.shift();c?c.resolve(createIterResult(u,!1)):r.push(u)}function l(u){i=!0;let c=n.shift();c?c.reject(u):s=u,o.return()}},{EventEmitter:uv,defaultMaxListeners:cv,init:fv,listenerCount:dv,on:hv,once:pv}=Gt}),Rp=Te((t,e)=>{_e(),ve(),we();var{ArrayIsArray:r,ObjectSetPrototypeOf:n}=ht(),{EventEmitter:s}=(no(),Ke(ts));function i(a){s.call(this,a)}n(i.prototype,s.prototype),n(i,s),i.prototype.pipe=function(a,l){let u=this;function c(_){a.writable&&a.write(_)===!1&&u.pause&&u.pause()}u.on("data",c);function f(){u.readable&&u.resume&&u.resume()}a.on("drain",f),!a._isStdio&&(!l||l.end!==!1)&&(u.on("end",g),u.on("close",m));let d=!1;function g(){d||(d=!0,a.end())}function m(){d||(d=!0,typeof a.destroy=="function"&&a.destroy())}function y(_){E(),s.listenerCount(this,"error")===0&&this.emit("error",_)}o(u,"error",y),o(a,"error",y);function E(){u.removeListener("data",c),a.removeListener("drain",f),u.removeListener("end",g),u.removeListener("close",m),u.removeListener("error",y),a.removeListener("error",y),u.removeListener("end",E),u.removeListener("close",E),a.removeListener("close",E)}return u.on("end",E),u.on("close",E),a.on("close",E),a.emit("pipe",u),a};function o(a,l,u){if(typeof a.prependListener=="function")return a.prependListener(l,u);!a._events||!a._events[l]?a.on(l,u):r(a._events[l])?a._events[l].unshift(u):a._events[l]=[u,a._events[l]]}e.exports={Stream:i,prependListener:o}}),Cu=Te((t,e)=>{_e(),ve(),we();var{AbortError:r,codes:n}=Vt(),{isNodeStream:s,isWebStream:i,kControllerErrorFunction:o}=Mn(),a=si(),{ERR_INVALID_ARG_TYPE:l}=n,u=(c,f)=>{if(typeof c!="object"||!("aborted"in c))throw new l(f,"AbortSignal",c)};e.exports.addAbortSignal=function(c,f){if(u(c,"signal"),!s(f)&&!i(f))throw new l("stream",["ReadableStream","WritableStream","Stream"],f);return e.exports.addAbortSignalNoValidate(c,f)},e.exports.addAbortSignalNoValidate=function(c,f){if(typeof c!="object"||!("aborted"in c))return f;let d=s(f)?()=>{f.destroy(new r(void 0,{cause:c.reason}))}:()=>{f[o](new r(void 0,{cause:c.reason}))};return c.aborted?d():(c.addEventListener("abort",d),a(f,()=>c.removeEventListener("abort",d))),f}}),DA=Te((t,e)=>{_e(),ve(),we();var{StringPrototypeSlice:r,SymbolIterator:n,TypedArrayPrototypeSet:s,Uint8Array:i}=ht(),{Buffer:o}=(Tt(),Ke(St)),{inspect:a}=yn();e.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(l){let u={data:l,next:null};this.length>0?this.tail.next=u:this.head=u,this.tail=u,++this.length}unshift(l){let u={data:l,next:this.head};this.length===0&&(this.tail=u),this.head=u,++this.length}shift(){if(this.length===0)return;let l=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,l}clear(){this.head=this.tail=null,this.length=0}join(l){if(this.length===0)return"";let u=this.head,c=""+u.data;for(;(u=u.next)!==null;)c+=l+u.data;return c}concat(l){if(this.length===0)return o.alloc(0);let u=o.allocUnsafe(l>>>0),c=this.head,f=0;for(;c;)s(u,c.data,f),f+=c.data.length,c=c.next;return u}consume(l,u){let c=this.head.data;if(ld.length)u+=d,l-=d.length;else{l===d.length?(u+=d,++f,c.next?this.head=c.next:this.head=this.tail=null):(u+=r(d,0,l),this.head=c,c.data=r(d,l));break}++f}while((c=c.next)!==null);return this.length-=f,u}_getBuffer(l){let u=o.allocUnsafe(l),c=l,f=this.head,d=0;do{let g=f.data;if(l>g.length)s(u,g,c-l),l-=g.length;else{l===g.length?(s(u,g,c-l),++d,f.next?this.head=f.next:this.head=this.tail=null):(s(u,new i(g.buffer,g.byteOffset,l),c-l),this.head=f,f.data=g.slice(l));break}++d}while((f=f.next)!==null);return this.length-=d,u}[Symbol.for("nodejs.util.inspect.custom")](l,u){return a(this,{...u,depth:0,customInspect:!1})}}}),Pp=Te((t,e)=>{_e(),ve(),we();var{MathFloor:r,NumberIsInteger:n}=ht(),{ERR_INVALID_ARG_VALUE:s}=Vt().codes;function i(l,u,c){return l.highWaterMark!=null?l.highWaterMark:u?l[c]:null}function o(l){return l?16:16*1024}function a(l,u,c,f){let d=i(u,f,c);if(d!=null){if(!n(d)||d<0){let g=f?`options.${c}`:"options.highWaterMark";throw new s(g,d)}return r(d)}return o(l.objectMode)}e.exports={getHighWaterMark:a,getDefaultHighWaterMark:o}});function $m(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return r===-1&&(r=e),[r,r===e?0:4-r%4]}function BA(t,e,r){for(var n,s,i=[],o=e;o>18&63]+wr[s>>12&63]+wr[s>>6&63]+wr[63&s]);return i.join("")}function on(t){if(t>2147483647)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,Ee.prototype),e}function Ee(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Zd(t)}return gv(t,e,r)}function gv(t,e,r){if(typeof t=="string")return function(i,o){if(typeof o=="string"&&o!==""||(o="utf8"),!Ee.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var a=0|bv(i,o),l=on(a),u=l.write(i,o);return u!==a&&(l=l.slice(0,u)),l}(t,e);if(ArrayBuffer.isView(t))return Ac(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(an(t,ArrayBuffer)||t&&an(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(an(t,SharedArrayBuffer)||t&&an(t.buffer,SharedArrayBuffer)))return $A(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return Ee.from(n,e,r);var s=function(i){if(Ee.isBuffer(i)){var o=0|kp(i.length),a=on(o);return a.length===0||i.copy(a,0,0,o),a}if(i.length!==void 0)return typeof i.length!="number"||Lp(i.length)?on(0):Ac(i);if(i.type==="Buffer"&&Array.isArray(i.data))return Ac(i.data)}(t);if(s)return s;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return Ee.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function mv(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Zd(t){return mv(t),on(t<0?0:0|kp(t))}function Ac(t){for(var e=t.length<0?0:0|kp(t.length),r=on(e),n=0;n=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function bv(t,e){if(Ee.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||an(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var s=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return eh(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return _v(t).length;default:if(s)return n?-1:eh(t).length;e=(""+e).toLowerCase(),s=!0}}function FA(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return GA(this,e,r);case"utf8":case"utf-8":return wv(this,e,r);case"ascii":return qA(this,e,r);case"latin1":case"binary":return YA(this,e,r);case"base64":return VA(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return KA(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function gi(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Fm(t,e,r,n,s){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Lp(r=+r)&&(r=s?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(s)return-1;r=t.length-1}else if(r<0){if(!s)return-1;r=0}if(typeof e=="string"&&(e=Ee.from(e,n)),Ee.isBuffer(e))return e.length===0?-1:Um(t,e,r,n,s);if(typeof e=="number")return e&=255,typeof Uint8Array.prototype.indexOf=="function"?s?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Um(t,[e],r,n,s);throw new TypeError("val must be string, number or Buffer")}function Um(t,e,r,n,s){var i,o=1,a=t.length,l=e.length;if(n!==void 0&&((n=String(n).toLowerCase())==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,l/=2,r/=2}function u(g,m){return o===1?g[m]:g.readUInt16BE(m*o)}if(s){var c=-1;for(i=r;ia&&(r=a-l),i=r;i>=0;i--){for(var f=!0,d=0;ds&&(n=s):n=s;var i=e.length;n>i/2&&(n=i/2);for(var o=0;o>8,l=o%256,u.push(l),u.push(a);return u}(e,t.length-r),t,r,n)}function VA(t,e,r){return e===0&&r===t.length?Wl.fromByteArray(t):Wl.fromByteArray(t.slice(e,r))}function wv(t,e,r){r=Math.min(t.length,r);for(var n=[],s=e;s239?4:u>223?3:u>191?2:1;if(s+f<=r)switch(f){case 1:u<128&&(c=u);break;case 2:(192&(i=t[s+1]))==128&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=t[s+1],o=t[s+2],(192&i)==128&&(192&o)==128&&(l=(15&u)<<12|(63&i)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=t[s+1],o=t[s+2],a=t[s+3],(192&i)==128&&(192&o)==128&&(192&a)==128&&(l=(15&u)<<18|(63&i)<<12|(63&o)<<6|63&a)>65535&&l<1114112&&(c=l)}c===null?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),s+=f}return function(d){var g=d.length;if(g<=4096)return String.fromCharCode.apply(String,d);for(var m="",y=0;yn)&&(r=n);for(var s="",i=e;ir)throw new RangeError("Trying to access beyond buffer length")}function $t(t,e,r,n,s,i){if(!Ee.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>s||et.length)throw new RangeError("Index out of range")}function vv(t,e,r,n,s,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function jm(t,e,r,n,s){return e=+e,r>>>=0,s||vv(t,0,r,4),Ci.write(t,e,r,n,23,4),r+4}function Wm(t,e,r,n,s){return e=+e,r>>>=0,s||vv(t,0,r,8),Ci.write(t,e,r,n,52,8),r+8}function eh(t,e){var r;e=e||1/0;for(var n=t.length,s=null,i=[],o=0;o55295&&r<57344){if(!s){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&i.push(239,191,189);continue}s=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),s=r;continue}r=65536+(s-55296<<10|r-56320)}else s&&(e-=3)>-1&&i.push(239,191,189);if(s=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function _v(t){return Wl.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(Ev,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(t))}function Iu(t,e,r,n){for(var s=0;s=e.length||s>=t.length);++s)e[s+r]=t[s];return s}function an(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Lp(t){return t!=t}function zm(t,e){for(var r in t)e[r]=t[r]}function mi(t,e,r){return mr(t,e,r)}function mo(t){var e;switch(this.encoding=function(r){var n=function(s){if(!s)return"utf8";for(var i;;)switch(s){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return s;default:if(i)return;s=(""+s).toLowerCase(),i=!0}}(r);if(typeof n!="string"&&(zl.isEncoding===th||!th(r)))throw new Error("Unknown encoding: "+r);return n||r}(t),this.encoding){case"utf16le":this.text=QA,this.end=JA,e=4;break;case"utf8":this.fillLast=XA,e=4;break;case"base64":this.text=ZA,this.end=eC,e=3;break;default:return this.write=tC,this.end=rC,void 0}this.lastNeed=0,this.lastTotal=0,this.lastChar=zl.allocUnsafe(e)}function Cc(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function XA(t){var e=this.lastTotal-this.lastNeed,r=function(n,s,i){if((192&s[0])!=128)return n.lastNeed=0,"�";if(n.lastNeed>1&&s.length>1){if((192&s[1])!=128)return n.lastNeed=1,"�";if(n.lastNeed>2&&s.length>2&&(192&s[2])!=128)return n.lastNeed=2,"�"}}(this,t);return r!==void 0?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length,void 0)}function QA(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function JA(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function ZA(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function eC(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function tC(t){return t.toString(this.encoding)}function rC(t){return t&&t.length?this.write(t):""}var Hm,wr,Yt,Vm,Da,bi,qm,Ym,Or,Wl,Ci,Ic,Ev,Sv,bo,yo,mr,Gm,xs,zl,th,Km=Et(()=>{for(_e(),ve(),we(),Hm={byteLength:function(t){var e=$m(t),r=e[0],n=e[1];return 3*(r+n)/4-n},toByteArray:function(t){var e,r,n=$m(t),s=n[0],i=n[1],o=new Vm(function(u,c,f){return 3*(c+f)/4-f}(0,s,i)),a=0,l=i>0?s-4:s;for(r=0;r>16&255,o[a++]=e>>8&255,o[a++]=255&e;return i===2&&(e=Yt[t.charCodeAt(r)]<<2|Yt[t.charCodeAt(r+1)]>>4,o[a++]=255&e),i===1&&(e=Yt[t.charCodeAt(r)]<<10|Yt[t.charCodeAt(r+1)]<<4|Yt[t.charCodeAt(r+2)]>>2,o[a++]=e>>8&255,o[a++]=255&e),o},fromByteArray:function(t){for(var e,r=t.length,n=r%3,s=[],i=0,o=r-n;io?o:i+16383));return n===1?(e=t[r-1],s.push(wr[e>>2]+wr[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],s.push(wr[e>>10]+wr[e>>4&63]+wr[e<<2&63]+"=")),s.join("")}},wr=[],Yt=[],Vm=typeof Uint8Array<"u"?Uint8Array:Array,Da="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bi=0,qm=Da.length;bi>1,c=-7,f=r?s-1:0,d=r?-1:1,g=t[e+f];for(f+=d,i=g&(1<<-c)-1,g>>=-c,c+=a;c>0;i=256*i+t[e+f],f+=d,c-=8);for(o=i&(1<<-c)-1,i>>=-c,c+=n;c>0;o=256*o+t[e+f],f+=d,c-=8);if(i===0)i=1-u;else{if(i===l)return o?NaN:1/0*(g?-1:1);o+=Math.pow(2,n),i-=u}return(g?-1:1)*o*Math.pow(2,i-n)},write:function(t,e,r,n,s,i){var o,a,l,u=8*i-s-1,c=(1<>1,d=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:i-1,m=n?1:-1,y=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),(e+=o+f>=1?d/l:d*Math.pow(2,1-f))*l>=2&&(o++,l/=2),o+f>=c?(a=0,o=c):o+f>=1?(a=(e*l-1)*Math.pow(2,s),o+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,s),o=0));s>=8;t[r+g]=255&a,g+=m,a/=256,s-=8);for(o=o<0;t[r+g]=255&o,g+=m,o/=256,u-=8);t[r+g-m]|=128*y}},Or={},Wl=Hm,Ci=Ym,Ic=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null,Or.Buffer=Ee,Or.SlowBuffer=function(t){return+t!=t&&(t=0),Ee.alloc(+t)},Or.INSPECT_MAX_BYTES=50,Or.kMaxLength=2147483647,Ee.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return!1}}(),Ee.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(Ee.prototype,"parent",{enumerable:!0,get:function(){if(Ee.isBuffer(this))return this.buffer}}),Object.defineProperty(Ee.prototype,"offset",{enumerable:!0,get:function(){if(Ee.isBuffer(this))return this.byteOffset}}),Ee.poolSize=8192,Ee.from=function(t,e,r){return gv(t,e,r)},Object.setPrototypeOf(Ee.prototype,Uint8Array.prototype),Object.setPrototypeOf(Ee,Uint8Array),Ee.alloc=function(t,e,r){return function(n,s,i){return mv(n),n<=0?on(n):s!==void 0?typeof i=="string"?on(n).fill(s,i):on(n).fill(s):on(n)}(t,e,r)},Ee.allocUnsafe=function(t){return Zd(t)},Ee.allocUnsafeSlow=function(t){return Zd(t)},Ee.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==Ee.prototype},Ee.compare=function(t,e){if(an(t,Uint8Array)&&(t=Ee.from(t,t.offset,t.byteLength)),an(e,Uint8Array)&&(e=Ee.from(e,e.offset,e.byteLength)),!Ee.isBuffer(t)||!Ee.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,s=0,i=Math.min(r,n);se&&(t+=" ... "),""},Ic&&(Ee.prototype[Ic]=Ee.prototype.inspect),Ee.prototype.compare=function(t,e,r,n,s){if(an(t,Uint8Array)&&(t=Ee.from(t,t.offset,t.byteLength)),!Ee.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(e===void 0&&(e=0),r===void 0&&(r=t?t.length:0),n===void 0&&(n=0),s===void 0&&(s=this.length),e<0||r>t.length||n<0||s>this.length)throw new RangeError("out of range index");if(n>=s&&e>=r)return 0;if(n>=s)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(s>>>=0)-(n>>>=0),o=(r>>>=0)-(e>>>=0),a=Math.min(i,o),l=this.slice(n,s),u=t.slice(e,r),c=0;c>>=0,isFinite(r)?(r>>>=0,n===void 0&&(n="utf8")):(n=r,r=void 0)}var s=this.length-e;if((r===void 0||r>s)&&(r=s),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return UA(this,t,e,r);case"utf8":case"utf-8":return jA(this,t,e,r);case"ascii":return yv(this,t,e,r);case"latin1":case"binary":return WA(this,t,e,r);case"base64":return zA(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return HA(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},Ee.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},Ee.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=e===void 0?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e>>=0,e>>>=0,r||gt(t,e,this.length);for(var n=this[t],s=1,i=0;++i>>=0,e>>>=0,r||gt(t,e,this.length);for(var n=this[t+--e],s=1;e>0&&(s*=256);)n+=this[t+--e]*s;return n},Ee.prototype.readUInt8=function(t,e){return t>>>=0,e||gt(t,1,this.length),this[t]},Ee.prototype.readUInt16LE=function(t,e){return t>>>=0,e||gt(t,2,this.length),this[t]|this[t+1]<<8},Ee.prototype.readUInt16BE=function(t,e){return t>>>=0,e||gt(t,2,this.length),this[t]<<8|this[t+1]},Ee.prototype.readUInt32LE=function(t,e){return t>>>=0,e||gt(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Ee.prototype.readUInt32BE=function(t,e){return t>>>=0,e||gt(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Ee.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||gt(t,e,this.length);for(var n=this[t],s=1,i=0;++i=(s*=128)&&(n-=Math.pow(2,8*e)),n},Ee.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||gt(t,e,this.length);for(var n=e,s=1,i=this[t+--n];n>0&&(s*=256);)i+=this[t+--n]*s;return i>=(s*=128)&&(i-=Math.pow(2,8*e)),i},Ee.prototype.readInt8=function(t,e){return t>>>=0,e||gt(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Ee.prototype.readInt16LE=function(t,e){t>>>=0,e||gt(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},Ee.prototype.readInt16BE=function(t,e){t>>>=0,e||gt(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},Ee.prototype.readInt32LE=function(t,e){return t>>>=0,e||gt(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Ee.prototype.readInt32BE=function(t,e){return t>>>=0,e||gt(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Ee.prototype.readFloatLE=function(t,e){return t>>>=0,e||gt(t,4,this.length),Ci.read(this,t,!0,23,4)},Ee.prototype.readFloatBE=function(t,e){return t>>>=0,e||gt(t,4,this.length),Ci.read(this,t,!1,23,4)},Ee.prototype.readDoubleLE=function(t,e){return t>>>=0,e||gt(t,8,this.length),Ci.read(this,t,!0,52,8)},Ee.prototype.readDoubleBE=function(t,e){return t>>>=0,e||gt(t,8,this.length),Ci.read(this,t,!1,52,8)},Ee.prototype.writeUIntLE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||$t(this,t,e,r,Math.pow(2,8*r)-1,0);var s=1,i=0;for(this[e]=255&t;++i>>=0,r>>>=0,n||$t(this,t,e,r,Math.pow(2,8*r)-1,0);var s=r-1,i=1;for(this[e+s]=255&t;--s>=0&&(i*=256);)this[e+s]=t/i&255;return e+r},Ee.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||$t(this,t,e,1,255,0),this[e]=255&t,e+1},Ee.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||$t(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},Ee.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||$t(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},Ee.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||$t(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},Ee.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||$t(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},Ee.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var s=Math.pow(2,8*r-1);$t(this,t,e,r,s-1,-s)}var i=0,o=1,a=0;for(this[e]=255&t;++i>0)-a&255;return e+r},Ee.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var s=Math.pow(2,8*r-1);$t(this,t,e,r,s-1,-s)}var i=r-1,o=1,a=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&a===0&&this[e+i+1]!==0&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+r},Ee.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||$t(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},Ee.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||$t(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},Ee.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||$t(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},Ee.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||$t(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},Ee.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||$t(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},Ee.prototype.writeFloatLE=function(t,e,r){return jm(this,t,e,!0,r)},Ee.prototype.writeFloatBE=function(t,e,r){return jm(this,t,e,!1,r)},Ee.prototype.writeDoubleLE=function(t,e,r){return Wm(this,t,e,!0,r)},Ee.prototype.writeDoubleBE=function(t,e,r){return Wm(this,t,e,!1,r)},Ee.prototype.copy=function(t,e,r,n){if(!Ee.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||n===0||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return s},Ee.prototype.fill=function(t,e,r,n){if(typeof t=="string"){if(typeof e=="string"?(n=e,e=0,r=this.length):typeof r=="string"&&(n=r,r=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!Ee.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(t.length===1){var s=t.charCodeAt(0);(n==="utf8"&&s<128||n==="latin1")&&(t=s)}}else typeof t=="number"?t&=255:typeof t=="boolean"&&(t=Number(t));if(e<0||this.length>>=0,r=r===void 0?this.length:r>>>0,t||(t=0),typeof t=="number")for(i=e;i=0?(l>0&&(s.lastNeed=l-1),l):--a=0?(l>0&&(s.lastNeed=l-2),l):--a=0?(l>0&&(l===2?l=0:s.lastNeed=l-3),l):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},mo.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length},xs.StringDecoder,xs.StringDecoder}),Tv={};Zi(Tv,{StringDecoder:()=>xv,default:()=>xs});var xv,nC=Et(()=>{_e(),ve(),we(),Km(),Km(),xv=xs.StringDecoder}),Av=Te((t,e)=>{_e(),ve(),we();var r=es(),{PromisePrototypeThen:n,SymbolAsyncIterator:s,SymbolIterator:i}=ht(),{Buffer:o}=(Tt(),Ke(St)),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_NULL_VALUES:l}=Vt().codes;function u(c,f,d){let g;if(typeof f=="string"||f instanceof o)return new c({objectMode:!0,...d,read(){this.push(f),this.push(null)}});let m;if(f&&f[s])m=!0,g=f[s]();else if(f&&f[i])m=!1,g=f[i]();else throw new a("iterable",["Iterable"],f);let y=new c({objectMode:!0,highWaterMark:1,...d}),E=!1;y._read=function(){E||(E=!0,S())},y._destroy=function(v,A){n(_(v),()=>r.nextTick(A,v),k=>r.nextTick(A,k||v))};async function _(v){let A=v!=null,k=typeof g.throw=="function";if(A&&k){let{value:x,done:D}=await g.throw(v);if(await x,D)return}if(typeof g.return=="function"){let{value:x}=await g.return();await x}}async function S(){for(;;){try{let{value:v,done:A}=m?await g.next():g.next();if(A)y.push(null);else{let k=v&&typeof v.then=="function"?await v:v;if(k===null)throw E=!1,new l;if(y.push(k))continue;E=!1}}catch(v){y.destroy(v)}break}}return y}e.exports=u}),Mu=Te((t,e)=>{_e(),ve(),we();var r=es(),{ArrayPrototypeIndexOf:n,NumberIsInteger:s,NumberIsNaN:i,NumberParseInt:o,ObjectDefineProperties:a,ObjectKeys:l,ObjectSetPrototypeOf:u,Promise:c,SafeSet:f,SymbolAsyncIterator:d,Symbol:g}=ht();e.exports=R,R.ReadableState=re;var{EventEmitter:m}=(no(),Ke(ts)),{Stream:y,prependListener:E}=Rp(),{Buffer:_}=(Tt(),Ke(St)),{addAbortSignal:S}=Cu(),v=si(),A=yn().debuglog("stream",p=>{A=p}),k=DA(),x=ro(),{getHighWaterMark:D,getDefaultHighWaterMark:N}=Pp(),{aggregateTwoErrors:B,codes:{ERR_INVALID_ARG_TYPE:q,ERR_METHOD_NOT_IMPLEMENTED:K,ERR_OUT_OF_RANGE:C,ERR_STREAM_PUSH_AFTER_EOF:M,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:L}}=Vt(),{validateObject:H}=Au(),G=g("kPaused"),{StringDecoder:z}=(nC(),Ke(Tv)),F=Av();u(R.prototype,y.prototype),u(R,y);var ne=()=>{},{errorOrDestroy:ce}=x;function re(p,h,b){typeof b!="boolean"&&(b=h instanceof wn()),this.objectMode=!!(p&&p.objectMode),b&&(this.objectMode=this.objectMode||!!(p&&p.readableObjectMode)),this.highWaterMark=p?D(this,p,"readableHighWaterMark",b):N(!1),this.buffer=new k,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[G]=null,this.errorEmitted=!1,this.emitClose=!p||p.emitClose!==!1,this.autoDestroy=!p||p.autoDestroy!==!1,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=p&&p.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,p&&p.encoding&&(this.decoder=new z(p.encoding),this.encoding=p.encoding)}function R(p){if(!(this instanceof R))return new R(p);let h=this instanceof wn();this._readableState=new re(p,this,h),p&&(typeof p.read=="function"&&(this._read=p.read),typeof p.destroy=="function"&&(this._destroy=p.destroy),typeof p.construct=="function"&&(this._construct=p.construct),p.signal&&!h&&S(p.signal,this)),y.call(this,p),x.construct(this,()=>{this._readableState.needReadable&&he(this,this._readableState)})}R.prototype.destroy=x.destroy,R.prototype._undestroy=x.undestroy,R.prototype._destroy=function(p,h){h(p)},R.prototype[m.captureRejectionSymbol]=function(p){this.destroy(p)},R.prototype.push=function(p,h){return Q(this,p,h,!1)},R.prototype.unshift=function(p,h){return Q(this,p,h,!0)};function Q(p,h,b,T){A("readableAddChunk",h);let U=p._readableState,ee;if(U.objectMode||(typeof h=="string"?(b=b||U.defaultEncoding,U.encoding!==b&&(T&&U.encoding?h=_.from(h,b).toString(U.encoding):(h=_.from(h,b),b=""))):h instanceof _?b="":y._isUint8Array(h)?(h=y._uint8ArrayToBuffer(h),b=""):h!=null&&(ee=new q("chunk",["string","Buffer","Uint8Array"],h))),ee)ce(p,ee);else if(h===null)U.reading=!1,Y(p,U);else if(U.objectMode||h&&h.length>0)if(T)if(U.endEmitted)ce(p,new L);else{if(U.destroyed||U.errored)return!1;de(p,U,h,!0)}else if(U.ended)ce(p,new M);else{if(U.destroyed||U.errored)return!1;U.reading=!1,U.decoder&&!b?(h=U.decoder.write(h),U.objectMode||h.length!==0?de(p,U,h,!1):he(p,U)):de(p,U,h,!1)}else T||(U.reading=!1,he(p,U));return!U.ended&&(U.length0?(h.multiAwaitDrain?h.awaitDrainWriters.clear():h.awaitDrainWriters=null,h.dataEmitted=!0,p.emit("data",b)):(h.length+=h.objectMode?1:b.length,T?h.buffer.unshift(b):h.buffer.push(b),h.needReadable&&ie(p)),he(p,h)}R.prototype.isPaused=function(){let p=this._readableState;return p[G]===!0||p.flowing===!1},R.prototype.setEncoding=function(p){let h=new z(p);this._readableState.decoder=h,this._readableState.encoding=this._readableState.decoder.encoding;let b=this._readableState.buffer,T="";for(let U of b)T+=h.write(U);return b.clear(),T!==""&&b.push(T),this._readableState.length=T.length,this};var ge=1073741824;function pe(p){if(p>ge)throw new C("size","<= 1GiB",p);return p--,p|=p>>>1,p|=p>>>2,p|=p>>>4,p|=p>>>8,p|=p>>>16,p++,p}function X(p,h){return p<=0||h.length===0&&h.ended?0:h.objectMode?1:i(p)?h.flowing&&h.length?h.buffer.first().length:h.length:p<=h.length?p:h.ended?h.length:0}R.prototype.read=function(p){A("read",p),p===void 0?p=NaN:s(p)||(p=o(p,10));let h=this._readableState,b=p;if(p>h.highWaterMark&&(h.highWaterMark=pe(p)),p!==0&&(h.emittedReadable=!1),p===0&&h.needReadable&&((h.highWaterMark!==0?h.length>=h.highWaterMark:h.length>0)||h.ended))return A("read: emitReadable",h.length,h.ended),h.length===0&&h.ended?$(this):ie(this),null;if(p=X(p,h),p===0&&h.ended)return h.length===0&&$(this),null;let T=h.needReadable;if(A("need readable",T),(h.length===0||h.length-p0?U=te(p,h):U=null,U===null?(h.needReadable=h.length<=h.highWaterMark,p=0):(h.length-=p,h.multiAwaitDrain?h.awaitDrainWriters.clear():h.awaitDrainWriters=null),h.length===0&&(h.ended||(h.needReadable=!0),b!==p&&h.ended&&$(this)),U!==null&&!h.errorEmitted&&!h.closeEmitted&&(h.dataEmitted=!0,this.emit("data",U)),U};function Y(p,h){if(A("onEofChunk"),!h.ended){if(h.decoder){let b=h.decoder.end();b&&b.length&&(h.buffer.push(b),h.length+=h.objectMode?1:b.length)}h.ended=!0,h.sync?ie(p):(h.needReadable=!1,h.emittedReadable=!0,be(p))}}function ie(p){let h=p._readableState;A("emitReadable",h.needReadable,h.emittedReadable),h.needReadable=!1,h.emittedReadable||(A("emitReadable",h.flowing),h.emittedReadable=!0,r.nextTick(be,p))}function be(p){let h=p._readableState;A("emitReadable_",h.destroyed,h.length,h.ended),!h.destroyed&&!h.errored&&(h.length||h.ended)&&(p.emit("readable"),h.emittedReadable=!1),h.needReadable=!h.flowing&&!h.ended&&h.length<=h.highWaterMark,le(p)}function he(p,h){!h.readingMore&&h.constructed&&(h.readingMore=!0,r.nextTick(ue,p,h))}function ue(p,h){for(;!h.reading&&!h.ended&&(h.length1&&T.pipes.includes(p)&&(A("false write response, pause",T.awaitDrainWriters.size),T.awaitDrainWriters.add(p)),b.pause()),Ae||(Ae=I(b,p),p.on("drain",Ae))}b.on("data",Me);function Me(yt){A("ondata");let ft=p.write(yt);A("dest.write",ft),ft===!1&&Oe()}function Ve(yt){if(A("onerror",yt),lt(),p.removeListener("error",Ve),p.listenerCount("error")===0){let ft=p._writableState||p._readableState;ft&&!ft.errorEmitted?ce(p,yt):p.emit("error",yt)}}E(p,"error",Ve);function ct(){p.removeListener("finish",Ze),lt()}p.once("close",ct);function Ze(){A("onfinish"),p.removeListener("close",ct),lt()}p.once("finish",Ze);function lt(){A("unpipe"),b.unpipe(p)}return p.emit("pipe",b),p.writableNeedDrain===!0?T.flowing&&Oe():T.flowing||(A("pipe resume"),b.resume()),p};function I(p,h){return function(){let b=p._readableState;b.awaitDrainWriters===h?(A("pipeOnDrain",1),b.awaitDrainWriters=null):b.multiAwaitDrain&&(A("pipeOnDrain",b.awaitDrainWriters.size),b.awaitDrainWriters.delete(h)),(!b.awaitDrainWriters||b.awaitDrainWriters.size===0)&&p.listenerCount("data")&&p.resume()}}R.prototype.unpipe=function(p){let h=this._readableState,b={hasUnpiped:!1};if(h.pipes.length===0)return this;if(!p){let U=h.pipes;h.pipes=[],this.pause();for(let ee=0;ee0,T.flowing!==!1&&this.resume()):p==="readable"&&!T.endEmitted&&!T.readableListening&&(T.readableListening=T.needReadable=!0,T.flowing=!1,T.emittedReadable=!1,A("on readable",T.length,T.reading),T.length?ie(this):T.reading||r.nextTick(O,this)),b},R.prototype.addListener=R.prototype.on,R.prototype.removeListener=function(p,h){let b=y.prototype.removeListener.call(this,p,h);return p==="readable"&&r.nextTick(P,this),b},R.prototype.off=R.prototype.removeListener,R.prototype.removeAllListeners=function(p){let h=y.prototype.removeAllListeners.apply(this,arguments);return(p==="readable"||p===void 0)&&r.nextTick(P,this),h};function P(p){let h=p._readableState;h.readableListening=p.listenerCount("readable")>0,h.resumeScheduled&&h[G]===!1?h.flowing=!0:p.listenerCount("data")>0?p.resume():h.readableListening||(h.flowing=null)}function O(p){A("readable nexttick read 0"),p.read(0)}R.prototype.resume=function(){let p=this._readableState;return p.flowing||(A("resume"),p.flowing=!p.readableListening,j(this,p)),p[G]=!1,this};function j(p,h){h.resumeScheduled||(h.resumeScheduled=!0,r.nextTick(W,p,h))}function W(p,h){A("resume",h.reading),h.reading||p.read(0),h.resumeScheduled=!1,p.emit("resume"),le(p),h.flowing&&!h.reading&&p.read(0)}R.prototype.pause=function(){return A("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(A("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[G]=!0,this};function le(p){let h=p._readableState;for(A("flow",h.flowing);h.flowing&&p.read()!==null;);}R.prototype.wrap=function(p){let h=!1;p.on("data",T=>{!this.push(T)&&p.pause&&(h=!0,p.pause())}),p.on("end",()=>{this.push(null)}),p.on("error",T=>{ce(this,T)}),p.on("close",()=>{this.destroy()}),p.on("destroy",()=>{this.destroy()}),this._read=()=>{h&&p.resume&&(h=!1,p.resume())};let b=l(p);for(let T=1;T{U=ye?B(U,ye):null,b(),b=ne});try{for(;;){let ye=p.destroyed?null:p.read();if(ye!==null)yield ye;else{if(U)throw U;if(U===null)return;await new c(T)}}}catch(ye){throw U=B(U,ye),U}finally{(U||(h==null?void 0:h.destroyOnReturn)!==!1)&&(U===void 0||p._readableState.autoDestroy)?x.destroyer(p,null):(p.off("readable",T),ee())}}a(R.prototype,{readable:{__proto__:null,get(){let p=this._readableState;return!!p&&p.readable!==!1&&!p.destroyed&&!p.errorEmitted&&!p.endEmitted},set(p){this._readableState&&(this._readableState.readable=!!p)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(p){this._readableState&&(this._readableState.flowing=p)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(p){this._readableState&&(this._readableState.destroyed=p)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),a(re.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[G]!==!1},set(p){this[G]=!!p}}}),R._fromList=te;function te(p,h){if(h.length===0)return null;let b;return h.objectMode?b=h.buffer.shift():!p||p>=h.length?(h.decoder?b=h.buffer.join(""):h.buffer.length===1?b=h.buffer.first():b=h.buffer.concat(h.length),h.buffer.clear()):b=h.buffer.consume(p,h.decoder),b}function $(p){let h=p._readableState;A("endReadable",h.endEmitted),h.endEmitted||(h.ended=!0,r.nextTick(J,h,p))}function J(p,h){if(A("endReadableNT",p.endEmitted,p.length),!p.errored&&!p.closeEmitted&&!p.endEmitted&&p.length===0){if(p.endEmitted=!0,h.emit("end"),h.writable&&h.allowHalfOpen===!1)r.nextTick(ae,h);else if(p.autoDestroy){let b=h._writableState;(!b||b.autoDestroy&&(b.finished||b.writable===!1))&&h.destroy()}}}function ae(p){p.writable&&!p.writableEnded&&!p.destroyed&&p.end()}R.from=function(p,h){return F(R,p,h)};var me;function w(){return me===void 0&&(me={}),me}R.fromWeb=function(p,h){return w().newStreamReadableFromReadableStream(p,h)},R.toWeb=function(p,h){return w().newReadableStreamFromStreamReadable(p,h)},R.wrap=function(p,h){var b,T;return new R({objectMode:(b=(T=p.readableObjectMode)!==null&&T!==void 0?T:p.objectMode)!==null&&b!==void 0?b:!0,...h,destroy(U,ee){x.destroyer(p,U),ee(U)}}).wrap(p)}}),Cv=Te((t,e)=>{_e(),ve(),we();var r=es(),{ArrayPrototypeSlice:n,Error:s,FunctionPrototypeSymbolHasInstance:i,ObjectDefineProperty:o,ObjectDefineProperties:a,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:u,Symbol:c,SymbolHasInstance:f}=ht();e.exports=z,z.WritableState=H;var{EventEmitter:d}=(no(),Ke(ts)),g=Rp().Stream,{Buffer:m}=(Tt(),Ke(St)),y=ro(),{addAbortSignal:E}=Cu(),{getHighWaterMark:_,getDefaultHighWaterMark:S}=Pp(),{ERR_INVALID_ARG_TYPE:v,ERR_METHOD_NOT_IMPLEMENTED:A,ERR_MULTIPLE_CALLBACK:k,ERR_STREAM_CANNOT_PIPE:x,ERR_STREAM_DESTROYED:D,ERR_STREAM_ALREADY_FINISHED:N,ERR_STREAM_NULL_VALUES:B,ERR_STREAM_WRITE_AFTER_END:q,ERR_UNKNOWN_ENCODING:K}=Vt().codes,{errorOrDestroy:C}=y;l(z.prototype,g.prototype),l(z,g);function M(){}var L=c("kOnFinished");function H(O,j,W){typeof W!="boolean"&&(W=j instanceof wn()),this.objectMode=!!(O&&O.objectMode),W&&(this.objectMode=this.objectMode||!!(O&&O.writableObjectMode)),this.highWaterMark=O?_(this,O,"writableHighWaterMark",W):S(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let le=!!(O&&O.decodeStrings===!1);this.decodeStrings=!le,this.defaultEncoding=O&&O.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=R.bind(void 0,j),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,G(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!O||O.emitClose!==!1,this.autoDestroy=!O||O.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[L]=[]}function G(O){O.buffered=[],O.bufferedIndex=0,O.allBuffers=!0,O.allNoop=!0}H.prototype.getBuffer=function(){return n(this.buffered,this.bufferedIndex)},o(H.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function z(O){let j=this instanceof wn();if(!j&&!i(z,this))return new z(O);this._writableState=new H(O,this,j),O&&(typeof O.write=="function"&&(this._write=O.write),typeof O.writev=="function"&&(this._writev=O.writev),typeof O.destroy=="function"&&(this._destroy=O.destroy),typeof O.final=="function"&&(this._final=O.final),typeof O.construct=="function"&&(this._construct=O.construct),O.signal&&E(O.signal,this)),g.call(this,O),y.construct(this,()=>{let W=this._writableState;W.writing||pe(this,W),be(this,W)})}o(z,f,{__proto__:null,value:function(O){return i(this,O)?!0:this!==z?!1:O&&O._writableState instanceof H}}),z.prototype.pipe=function(){C(this,new x)};function F(O,j,W,le){let fe=O._writableState;if(typeof W=="function")le=W,W=fe.defaultEncoding;else{if(!W)W=fe.defaultEncoding;else if(W!=="buffer"&&!m.isEncoding(W))throw new K(W);typeof le!="function"&&(le=M)}if(j===null)throw new B;if(!fe.objectMode)if(typeof j=="string")fe.decodeStrings!==!1&&(j=m.from(j,W),W="buffer");else if(j instanceof m)W="buffer";else if(g._isUint8Array(j))j=g._uint8ArrayToBuffer(j),W="buffer";else throw new v("chunk",["string","Buffer","Uint8Array"],j);let V;return fe.ending?V=new q:fe.destroyed&&(V=new D("write")),V?(r.nextTick(le,V),C(O,V,!0),V):(fe.pendingcb++,ne(O,fe,j,W,le))}z.prototype.write=function(O,j,W){return F(this,O,j,W)===!0},z.prototype.cork=function(){this._writableState.corked++},z.prototype.uncork=function(){let O=this._writableState;O.corked&&(O.corked--,O.writing||pe(this,O))},z.prototype.setDefaultEncoding=function(O){if(typeof O=="string"&&(O=u(O)),!m.isEncoding(O))throw new K(O);return this._writableState.defaultEncoding=O,this};function ne(O,j,W,le,fe){let V=j.objectMode?1:W.length;j.length+=V;let te=j.lengthW.bufferedIndex&&pe(O,W),le?W.afterWriteTickInfo!==null&&W.afterWriteTickInfo.cb===fe?W.afterWriteTickInfo.count++:(W.afterWriteTickInfo={count:1,cb:fe,stream:O,state:W},r.nextTick(Q,W.afterWriteTickInfo)):de(O,W,1,fe))}function Q({stream:O,state:j,count:W,cb:le}){return j.afterWriteTickInfo=null,de(O,j,W,le)}function de(O,j,W,le){for(!j.ending&&!O.destroyed&&j.length===0&&j.needDrain&&(j.needDrain=!1,O.emit("drain"));W-- >0;)j.pendingcb--,le();j.destroyed&&ge(j),be(O,j)}function ge(O){if(O.writing)return;for(let fe=O.bufferedIndex;fe1&&O._writev){j.pendingcb-=V-1;let $=j.allNoop?M:ae=>{for(let me=te;me256?(W.splice(0,te),j.bufferedIndex=0):j.bufferedIndex=te}j.bufferProcessing=!1}z.prototype._write=function(O,j,W){if(this._writev)this._writev([{chunk:O,encoding:j}],W);else throw new A("_write()")},z.prototype._writev=null,z.prototype.end=function(O,j,W){let le=this._writableState;typeof O=="function"?(W=O,O=null,j=null):typeof j=="function"&&(W=j,j=null);let fe;if(O!=null){let V=F(this,O,j);V instanceof s&&(fe=V)}return le.corked&&(le.corked=1,this.uncork()),fe||(!le.errored&&!le.ending?(le.ending=!0,be(this,le,!0),le.ended=!0):le.finished?fe=new N("end"):le.destroyed&&(fe=new D("end"))),typeof W=="function"&&(fe||le.finished?r.nextTick(W,fe):le[L].push(W)),this};function X(O){return O.ending&&!O.destroyed&&O.constructed&&O.length===0&&!O.errored&&O.buffered.length===0&&!O.finished&&!O.writing&&!O.errorEmitted&&!O.closeEmitted}function Y(O,j){let W=!1;function le(fe){if(W){C(O,fe??k());return}if(W=!0,j.pendingcb--,fe){let V=j[L].splice(0);for(let te=0;te{X(fe)?he(le,fe):fe.pendingcb--},O,j)):X(j)&&(j.pendingcb++,he(O,j))))}function he(O,j){j.pendingcb--,j.finished=!0;let W=j[L].splice(0);for(let le=0;le{_e(),ve(),we();var r=es(),n=(Tt(),Ke(St)),{isReadable:s,isWritable:i,isIterable:o,isNodeStream:a,isReadableNodeStream:l,isWritableNodeStream:u,isDuplexNodeStream:c}=Mn(),f=si(),{AbortError:d,codes:{ERR_INVALID_ARG_TYPE:g,ERR_INVALID_RETURN_VALUE:m}}=Vt(),{destroyer:y}=ro(),E=wn(),_=Mu(),{createDeferredPromise:S}=yn(),v=Av(),A=globalThis.Blob||n.Blob,k=typeof A<"u"?function(K){return K instanceof A}:function(K){return!1},x=globalThis.AbortController||Op().AbortController,{FunctionPrototypeCall:D}=ht(),N=class extends E{constructor(K){super(K),(K==null?void 0:K.readable)===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),(K==null?void 0:K.writable)===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}};e.exports=function K(C,M){if(c(C))return C;if(l(C))return q({readable:C});if(u(C))return q({writable:C});if(a(C))return q({writable:!1,readable:!1});if(typeof C=="function"){let{value:H,write:G,final:z,destroy:F}=B(C);if(o(H))return v(N,H,{objectMode:!0,write:G,final:z,destroy:F});let ne=H==null?void 0:H.then;if(typeof ne=="function"){let ce,re=D(ne,H,R=>{if(R!=null)throw new m("nully","body",R)},R=>{y(ce,R)});return ce=new N({objectMode:!0,readable:!1,write:G,final(R){z(async()=>{try{await re,r.nextTick(R,null)}catch(Q){r.nextTick(R,Q)}})},destroy:F})}throw new m("Iterable, AsyncIterable or AsyncFunction",M,H)}if(k(C))return K(C.arrayBuffer());if(o(C))return v(N,C,{objectMode:!0,writable:!1});if(typeof(C==null?void 0:C.writable)=="object"||typeof(C==null?void 0:C.readable)=="object"){let H=C!=null&&C.readable?l(C==null?void 0:C.readable)?C==null?void 0:C.readable:K(C.readable):void 0,G=C!=null&&C.writable?u(C==null?void 0:C.writable)?C==null?void 0:C.writable:K(C.writable):void 0;return q({readable:H,writable:G})}let L=C==null?void 0:C.then;if(typeof L=="function"){let H;return D(L,C,G=>{G!=null&&H.push(G),H.push(null)},G=>{y(H,G)}),H=new N({objectMode:!0,writable:!1,read(){}})}throw new g(M,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],C)};function B(K){let{promise:C,resolve:M}=S(),L=new x,H=L.signal;return{value:K(async function*(){for(;;){let G=C;C=null;let{chunk:z,done:F,cb:ne}=await G;if(r.nextTick(ne),F)return;if(H.aborted)throw new d(void 0,{cause:H.reason});({promise:C,resolve:M}=S()),yield z}}(),{signal:H}),write(G,z,F){let ne=M;M=null,ne({chunk:G,done:!1,cb:F})},final(G){let z=M;M=null,z({done:!0,cb:G})},destroy(G,z){L.abort(),z(G)}}}function q(K){let C=K.readable&&typeof K.readable.read!="function"?_.wrap(K.readable):K.readable,M=K.writable,L=!!s(C),H=!!i(M),G,z,F,ne,ce;function re(R){let Q=ne;ne=null,Q?Q(R):R&&ce.destroy(R)}return ce=new N({readableObjectMode:!!(C!=null&&C.readableObjectMode),writableObjectMode:!!(M!=null&&M.writableObjectMode),readable:L,writable:H}),H&&(f(M,R=>{H=!1,R&&y(C,R),re(R)}),ce._write=function(R,Q,de){M.write(R,Q)?de():G=de},ce._final=function(R){M.end(),z=R},M.on("drain",function(){if(G){let R=G;G=null,R()}}),M.on("finish",function(){if(z){let R=z;z=null,R()}})),L&&(f(C,R=>{L=!1,R&&y(C,R),re(R)}),C.on("readable",function(){if(F){let R=F;F=null,R()}}),C.on("end",function(){ce.push(null)}),ce._read=function(){for(;;){let R=C.read();if(R===null){F=ce._read;return}if(!ce.push(R))return}}),ce._destroy=function(R,Q){!R&&ne!==null&&(R=new d),F=null,G=null,z=null,ne===null?Q(R):(ne=Q,y(M,R),y(C,R))},ce}}),wn=Te((t,e)=>{_e(),ve(),we();var{ObjectDefineProperties:r,ObjectGetOwnPropertyDescriptor:n,ObjectKeys:s,ObjectSetPrototypeOf:i}=ht();e.exports=l;var o=Mu(),a=Cv();i(l.prototype,o.prototype),i(l,o);{let d=s(a.prototype);for(let g=0;g{_e(),ve(),we();var{ObjectSetPrototypeOf:r,Symbol:n}=ht();e.exports=l;var{ERR_METHOD_NOT_IMPLEMENTED:s}=Vt().codes,i=wn(),{getHighWaterMark:o}=Pp();r(l.prototype,i.prototype),r(l,i);var a=n("kCallback");function l(f){if(!(this instanceof l))return new l(f);let d=f?o(this,f,"readableHighWaterMark",!0):null;d===0&&(f={...f,highWaterMark:null,readableHighWaterMark:d,writableHighWaterMark:f.writableHighWaterMark||0}),i.call(this,f),this._readableState.sync=!1,this[a]=null,f&&(typeof f.transform=="function"&&(this._transform=f.transform),typeof f.flush=="function"&&(this._flush=f.flush)),this.on("prefinish",c)}function u(f){typeof this._flush=="function"&&!this.destroyed?this._flush((d,g)=>{if(d){f?f(d):this.destroy(d);return}g!=null&&this.push(g),this.push(null),f&&f()}):(this.push(null),f&&f())}function c(){this._final!==u&&u.call(this)}l.prototype._final=u,l.prototype._transform=function(f,d,g){throw new s("_transform()")},l.prototype._write=function(f,d,g){let m=this._readableState,y=this._writableState,E=m.length;this._transform(f,d,(_,S)=>{if(_){g(_);return}S!=null&&this.push(S),y.ended||E===m.length||m.length{_e(),ve(),we();var{ObjectSetPrototypeOf:r}=ht();e.exports=s;var n=Iv();r(s.prototype,n.prototype),r(s,n);function s(i){if(!(this instanceof s))return new s(i);n.call(this,i)}s.prototype._transform=function(i,o,a){a(null,i)}}),Np=Te((t,e)=>{_e(),ve(),we();var r=es(),{ArrayIsArray:n,Promise:s,SymbolAsyncIterator:i}=ht(),o=si(),{once:a}=yn(),l=ro(),u=wn(),{aggregateTwoErrors:c,codes:{ERR_INVALID_ARG_TYPE:f,ERR_INVALID_RETURN_VALUE:d,ERR_MISSING_ARGS:g,ERR_STREAM_DESTROYED:m,ERR_STREAM_PREMATURE_CLOSE:y},AbortError:E}=Vt(),{validateFunction:_,validateAbortSignal:S}=Au(),{isIterable:v,isReadable:A,isReadableNodeStream:k,isNodeStream:x,isTransformStream:D,isWebStream:N,isReadableStream:B,isReadableEnded:q}=Mn(),K=globalThis.AbortController||Op().AbortController,C,M;function L(Q,de,ge){let pe=!1;Q.on("close",()=>{pe=!0});let X=o(Q,{readable:de,writable:ge},Y=>{pe=!Y});return{destroy:Y=>{pe||(pe=!0,l.destroyer(Q,Y||new m("pipe")))},cleanup:X}}function H(Q){return _(Q[Q.length-1],"streams[stream.length - 1]"),Q.pop()}function G(Q){if(v(Q))return Q;if(k(Q))return z(Q);throw new f("val",["Readable","Iterable","AsyncIterable"],Q)}async function*z(Q){M||(M=Mu()),yield*M.prototype[i].call(Q)}async function F(Q,de,ge,{end:pe}){let X,Y=null,ie=ue=>{if(ue&&(X=ue),Y){let I=Y;Y=null,I()}},be=()=>new s((ue,I)=>{X?I(X):Y=()=>{X?I(X):ue()}});de.on("drain",ie);let he=o(de,{readable:!1},ie);try{de.writableNeedDrain&&await be();for await(let ue of Q)de.write(ue)||await be();pe&&de.end(),await be(),ge()}catch(ue){ge(X!==ue?c(X,ue):ue)}finally{he(),de.off("drain",ie)}}async function ne(Q,de,ge,{end:pe}){D(de)&&(de=de.writable);let X=de.getWriter();try{for await(let Y of Q)await X.ready,X.write(Y).catch(()=>{});await X.ready,pe&&await X.close(),ge()}catch(Y){try{await X.abort(Y),ge(Y)}catch(ie){ge(ie)}}}function ce(...Q){return re(Q,a(H(Q)))}function re(Q,de,ge){if(Q.length===1&&n(Q[0])&&(Q=Q[0]),Q.length<2)throw new g("streams");let pe=new K,X=pe.signal,Y=ge==null?void 0:ge.signal,ie=[];S(Y,"options.signal");function be(){j(new E)}Y==null||Y.addEventListener("abort",be);let he,ue,I=[],P=0;function O(V){j(V,--P===0)}function j(V,te){if(V&&(!he||he.code==="ERR_STREAM_PREMATURE_CLOSE")&&(he=V),!(!he&&!te)){for(;I.length;)I.shift()(he);Y==null||Y.removeEventListener("abort",be),pe.abort(),te&&(he||ie.forEach($=>$()),r.nextTick(de,he,ue))}}let W;for(let V=0;V0,ae=$||(ge==null?void 0:ge.end)!==!1,me=V===Q.length-1;if(x(te)){let w=function(p){p&&p.name!=="AbortError"&&p.code!=="ERR_STREAM_PREMATURE_CLOSE"&&O(p)};if(ae){let{destroy:p,cleanup:h}=L(te,$,J);I.push(p),A(te)&&me&&ie.push(h)}te.on("error",w),A(te)&&me&&ie.push(()=>{te.removeListener("error",w)})}if(V===0)if(typeof te=="function"){if(W=te({signal:X}),!v(W))throw new d("Iterable, AsyncIterable or Stream","source",W)}else v(te)||k(te)||D(te)?W=te:W=u.from(te);else if(typeof te=="function"){if(D(W)){var le;W=G((le=W)===null||le===void 0?void 0:le.readable)}else W=G(W);if(W=te(W,{signal:X}),$){if(!v(W,!0))throw new d("AsyncIterable",`transform[${V-1}]`,W)}else{var fe;C||(C=Mv());let w=new C({objectMode:!0}),p=(fe=W)===null||fe===void 0?void 0:fe.then;if(typeof p=="function")P++,p.call(W,T=>{ue=T,T!=null&&w.write(T),ae&&w.end(),r.nextTick(O)},T=>{w.destroy(T),r.nextTick(O,T)});else if(v(W,!0))P++,F(W,w,O,{end:ae});else if(B(W)||D(W)){let T=W.readable||W;P++,F(T,w,O,{end:ae})}else throw new d("AsyncIterable or Promise","destination",W);W=w;let{destroy:h,cleanup:b}=L(W,!1,!0);I.push(h),me&&ie.push(b)}}else if(x(te)){if(k(W)){P+=2;let w=R(W,te,O,{end:ae});A(te)&&me&&ie.push(w)}else if(D(W)||B(W)){let w=W.readable||W;P++,F(w,te,O,{end:ae})}else if(v(W))P++,F(W,te,O,{end:ae});else throw new f("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],W);W=te}else if(N(te)){if(k(W))P++,ne(G(W),te,O,{end:ae});else if(B(W)||v(W))P++,ne(W,te,O,{end:ae});else if(D(W))P++,ne(W.readable,te,O,{end:ae});else throw new f("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],W);W=te}else W=u.from(te)}return(X!=null&&X.aborted||Y!=null&&Y.aborted)&&r.nextTick(be),W}function R(Q,de,ge,{end:pe}){let X=!1;if(de.on("close",()=>{X||ge(new y)}),Q.pipe(de,{end:!1}),pe){let Y=function(){X=!0,de.end()};q(Q)?r.nextTick(Y):Q.once("end",Y)}else ge();return o(Q,{readable:!0,writable:!1},Y=>{let ie=Q._readableState;Y&&Y.code==="ERR_STREAM_PREMATURE_CLOSE"&&ie&&ie.ended&&!ie.errored&&!ie.errorEmitted?Q.once("end",ge).once("error",ge):ge(Y)}),o(de,{readable:!1,writable:!0},ge)}e.exports={pipelineImpl:re,pipeline:ce}}),Ov=Te((t,e)=>{_e(),ve(),we();var{pipeline:r}=Np(),n=wn(),{destroyer:s}=ro(),{isNodeStream:i,isReadable:o,isWritable:a,isWebStream:l,isTransformStream:u,isWritableStream:c,isReadableStream:f}=Mn(),{AbortError:d,codes:{ERR_INVALID_ARG_VALUE:g,ERR_MISSING_ARGS:m}}=Vt(),y=si();e.exports=function(...E){if(E.length===0)throw new m("streams");if(E.length===1)return n.from(E[0]);let _=[...E];if(typeof E[0]=="function"&&(E[0]=n.from(E[0])),typeof E[E.length-1]=="function"){let C=E.length-1;E[C]=n.from(E[C])}for(let C=0;C0&&!(a(E[C])||c(E[C])||u(E[C])))throw new g(`streams[${C}]`,_[C],"must be writable")}let S,v,A,k,x;function D(C){let M=k;k=null,M?M(C):C?x.destroy(C):!K&&!q&&x.destroy()}let N=E[0],B=r(E,D),q=!!(a(N)||c(N)||u(N)),K=!!(o(B)||f(B)||u(B));if(x=new n({writableObjectMode:!!(N!=null&&N.writableObjectMode),readableObjectMode:!!(B!=null&&B.writableObjectMode),writable:q,readable:K}),q){if(i(N))x._write=function(M,L,H){N.write(M,L)?H():S=H},x._final=function(M){N.end(),v=M},N.on("drain",function(){if(S){let M=S;S=null,M()}});else if(l(N)){let M=(u(N)?N.writable:N).getWriter();x._write=async function(L,H,G){try{await M.ready,M.write(L).catch(()=>{}),G()}catch(z){G(z)}},x._final=async function(L){try{await M.ready,M.close().catch(()=>{}),v=L}catch(H){L(H)}}}let C=u(B)?B.readable:B;y(C,()=>{if(v){let M=v;v=null,M()}})}if(K){if(i(B))B.on("readable",function(){if(A){let C=A;A=null,C()}}),B.on("end",function(){x.push(null)}),x._read=function(){for(;;){let C=B.read();if(C===null){A=x._read;return}if(!x.push(C))return}};else if(l(B)){let C=(u(B)?B.readable:B).getReader();x._read=async function(){for(;;)try{let{value:M,done:L}=await C.read();if(!x.push(M))return;if(L){x.push(null);return}}catch{return}}}}return x._destroy=function(C,M){!C&&k!==null&&(C=new d),A=null,S=null,v=null,k===null?M(C):(k=M,i(B)&&s(B,C))},x}}),sC=Te((t,e)=>{_e(),ve(),we();var r=globalThis.AbortController||Op().AbortController,{codes:{ERR_INVALID_ARG_VALUE:n,ERR_INVALID_ARG_TYPE:s,ERR_MISSING_ARGS:i,ERR_OUT_OF_RANGE:o},AbortError:a}=Vt(),{validateAbortSignal:l,validateInteger:u,validateObject:c}=Au(),f=ht().Symbol("kWeak"),{finished:d}=si(),g=Ov(),{addAbortSignalNoValidate:m}=Cu(),{isWritable:y,isNodeStream:E}=Mn(),{ArrayPrototypePush:_,MathFloor:S,Number:v,NumberIsNaN:A,Promise:k,PromiseReject:x,PromisePrototypeThen:D,Symbol:N}=ht(),B=N("kEmpty"),q=N("kEof");function K(pe,X){if(X!=null&&c(X,"options"),(X==null?void 0:X.signal)!=null&&l(X.signal,"options.signal"),E(pe)&&!y(pe))throw new n("stream",pe,"must be writable");let Y=g(this,pe);return X!=null&&X.signal&&m(X.signal,Y),Y}function C(pe,X){if(typeof pe!="function")throw new s("fn",["Function","AsyncFunction"],pe);X!=null&&c(X,"options"),(X==null?void 0:X.signal)!=null&&l(X.signal,"options.signal");let Y=1;return(X==null?void 0:X.concurrency)!=null&&(Y=S(X.concurrency)),u(Y,"concurrency",1),(async function*(){var ie,be;let he=new r,ue=this,I=[],P=he.signal,O={signal:P},j=()=>he.abort();X!=null&&(ie=X.signal)!==null&&ie!==void 0&&ie.aborted&&j(),X==null||(be=X.signal)===null||be===void 0||be.addEventListener("abort",j);let W,le,fe=!1;function V(){fe=!0}async function te(){try{for await(let ae of ue){var $;if(fe)return;if(P.aborted)throw new a;try{ae=pe(ae,O)}catch(me){ae=x(me)}ae!==B&&(typeof(($=ae)===null||$===void 0?void 0:$.catch)=="function"&&ae.catch(V),I.push(ae),W&&(W(),W=null),!fe&&I.length&&I.length>=Y&&await new k(me=>{le=me}))}I.push(q)}catch(ae){let me=x(ae);D(me,void 0,V),I.push(me)}finally{var J;fe=!0,W&&(W(),W=null),X==null||(J=X.signal)===null||J===void 0||J.removeEventListener("abort",j)}}te();try{for(;;){for(;I.length>0;){let $=await I[0];if($===q)return;if(P.aborted)throw new a;$!==B&&(yield $),I.shift(),le&&(le(),le=null)}await new k($=>{W=$})}}finally{he.abort(),fe=!0,le&&(le(),le=null)}}).call(this)}function M(pe=void 0){return pe!=null&&c(pe,"options"),(pe==null?void 0:pe.signal)!=null&&l(pe.signal,"options.signal"),(async function*(){let X=0;for await(let ie of this){var Y;if(pe!=null&&(Y=pe.signal)!==null&&Y!==void 0&&Y.aborted)throw new a({cause:pe.signal.reason});yield[X++,ie]}}).call(this)}async function L(pe,X=void 0){for await(let Y of F.call(this,pe,X))return!0;return!1}async function H(pe,X=void 0){if(typeof pe!="function")throw new s("fn",["Function","AsyncFunction"],pe);return!await L.call(this,async(...Y)=>!await pe(...Y),X)}async function G(pe,X){for await(let Y of F.call(this,pe,X))return Y}async function z(pe,X){if(typeof pe!="function")throw new s("fn",["Function","AsyncFunction"],pe);async function Y(ie,be){return await pe(ie,be),B}for await(let ie of C.call(this,Y,X));}function F(pe,X){if(typeof pe!="function")throw new s("fn",["Function","AsyncFunction"],pe);async function Y(ie,be){return await pe(ie,be)?ie:B}return C.call(this,Y,X)}var ne=class extends i{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function ce(pe,X,Y){var ie;if(typeof pe!="function")throw new s("reducer",["Function","AsyncFunction"],pe);Y!=null&&c(Y,"options"),(Y==null?void 0:Y.signal)!=null&&l(Y.signal,"options.signal");let be=arguments.length>1;if(Y!=null&&(ie=Y.signal)!==null&&ie!==void 0&&ie.aborted){let O=new a(void 0,{cause:Y.signal.reason});throw this.once("error",()=>{}),await d(this.destroy(O)),O}let he=new r,ue=he.signal;if(Y!=null&&Y.signal){let O={once:!0,[f]:this};Y.signal.addEventListener("abort",()=>he.abort(),O)}let I=!1;try{for await(let O of this){var P;if(I=!0,Y!=null&&(P=Y.signal)!==null&&P!==void 0&&P.aborted)throw new a;be?X=await pe(X,O,{signal:ue}):(X=O,be=!0)}if(!I&&!be)throw new ne}finally{he.abort()}return X}async function re(pe){pe!=null&&c(pe,"options"),(pe==null?void 0:pe.signal)!=null&&l(pe.signal,"options.signal");let X=[];for await(let ie of this){var Y;if(pe!=null&&(Y=pe.signal)!==null&&Y!==void 0&&Y.aborted)throw new a(void 0,{cause:pe.signal.reason});_(X,ie)}return X}function R(pe,X){let Y=C.call(this,pe,X);return(async function*(){for await(let ie of Y)yield*ie}).call(this)}function Q(pe){if(pe=v(pe),A(pe))return 0;if(pe<0)throw new o("number",">= 0",pe);return pe}function de(pe,X=void 0){return X!=null&&c(X,"options"),(X==null?void 0:X.signal)!=null&&l(X.signal,"options.signal"),pe=Q(pe),(async function*(){var Y;if(X!=null&&(Y=X.signal)!==null&&Y!==void 0&&Y.aborted)throw new a;for await(let be of this){var ie;if(X!=null&&(ie=X.signal)!==null&&ie!==void 0&&ie.aborted)throw new a;pe--<=0&&(yield be)}}).call(this)}function ge(pe,X=void 0){return X!=null&&c(X,"options"),(X==null?void 0:X.signal)!=null&&l(X.signal,"options.signal"),pe=Q(pe),(async function*(){var Y;if(X!=null&&(Y=X.signal)!==null&&Y!==void 0&&Y.aborted)throw new a;for await(let be of this){var ie;if(X!=null&&(ie=X.signal)!==null&&ie!==void 0&&ie.aborted)throw new a;if(pe-- >0)yield be;else return}}).call(this)}e.exports.streamReturningOperators={asIndexedPairs:M,drop:de,filter:F,flatMap:R,map:C,take:ge,compose:K},e.exports.promiseReturningOperators={every:H,forEach:z,reduce:ce,toArray:re,some:L,find:G}}),Rv=Te((t,e)=>{_e(),ve(),we();var{ArrayPrototypePop:r,Promise:n}=ht(),{isIterable:s,isNodeStream:i,isWebStream:o}=Mn(),{pipelineImpl:a}=Np(),{finished:l}=si();Pv();function u(...c){return new n((f,d)=>{let g,m,y=c[c.length-1];if(y&&typeof y=="object"&&!i(y)&&!s(y)&&!o(y)){let E=r(c);g=E.signal,m=E.end}a(c,(E,_)=>{E?d(E):f(_)},{signal:g,end:m})})}e.exports={finished:l,pipeline:u}}),Pv=Te((t,e)=>{_e(),ve(),we();var{Buffer:r}=(Tt(),Ke(St)),{ObjectDefineProperty:n,ObjectKeys:s,ReflectApply:i}=ht(),{promisify:{custom:o}}=yn(),{streamReturningOperators:a,promiseReturningOperators:l}=sC(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:u}}=Vt(),c=Ov(),{pipeline:f}=Np(),{destroyer:d}=ro(),g=si(),m=Rv(),y=Mn(),E=e.exports=Rp().Stream;E.isDisturbed=y.isDisturbed,E.isErrored=y.isErrored,E.isReadable=y.isReadable,E.Readable=Mu();for(let S of s(a)){let v=function(...k){if(new.target)throw u();return E.Readable.from(i(A,this,k))},A=a[S];n(v,"name",{__proto__:null,value:A.name}),n(v,"length",{__proto__:null,value:A.length}),n(E.Readable.prototype,S,{__proto__:null,value:v,enumerable:!1,configurable:!0,writable:!0})}for(let S of s(l)){let v=function(...k){if(new.target)throw u();return i(A,this,k)},A=l[S];n(v,"name",{__proto__:null,value:A.name}),n(v,"length",{__proto__:null,value:A.length}),n(E.Readable.prototype,S,{__proto__:null,value:v,enumerable:!1,configurable:!0,writable:!0})}E.Writable=Cv(),E.Duplex=wn(),E.Transform=Iv(),E.PassThrough=Mv(),E.pipeline=f;var{addAbortSignal:_}=Cu();E.addAbortSignal=_,E.finished=g,E.destroy=d,E.compose=c,n(E,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return m}}),n(f,o,{__proto__:null,enumerable:!0,get(){return m.pipeline}}),n(g,o,{__proto__:null,enumerable:!0,get(){return m.finished}}),E.Stream=E,E._isUint8Array=function(S){return S instanceof Uint8Array},E._uint8ArrayToBuffer=function(S){return r.from(S.buffer,S.byteOffset,S.byteLength)}}),rs=Te((t,e)=>{_e(),ve(),we();var r=Pv(),n=Rv(),s=r.Readable.destroy;e.exports=r.Readable,e.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,e.exports._isUint8Array=r._isUint8Array,e.exports.isDisturbed=r.isDisturbed,e.exports.isErrored=r.isErrored,e.exports.isReadable=r.isReadable,e.exports.Readable=r.Readable,e.exports.Writable=r.Writable,e.exports.Duplex=r.Duplex,e.exports.Transform=r.Transform,e.exports.PassThrough=r.PassThrough,e.exports.addAbortSignal=r.addAbortSignal,e.exports.finished=r.finished,e.exports.destroy=r.destroy,e.exports.destroy=s,e.exports.pipeline=r.pipeline,e.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get(){return n}}),e.exports.Stream=r.Stream,e.exports.default=e.exports}),oC=Te((t,e)=>{_e(),ve(),we(),typeof Object.create=="function"?e.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(r,n){if(n){r.super_=n;var s=function(){};s.prototype=n.prototype,r.prototype=new s,r.prototype.constructor=r}}}),aC=Te((t,e)=>{_e(),ve(),we();var{Buffer:r}=(Tt(),Ke(St)),n=Symbol.for("BufferList");function s(i){if(!(this instanceof s))return new s(i);s._init.call(this,i)}s._init=function(i){Object.defineProperty(this,n,{value:!0}),this._bufs=[],this.length=0,i&&this.append(i)},s.prototype._new=function(i){return new s(i)},s.prototype._offset=function(i){if(i===0)return[0,0];let o=0;for(let a=0;athis.length||i<0)return;let o=this._offset(i);return this._bufs[o[0]][o[1]]},s.prototype.slice=function(i,o){return typeof i=="number"&&i<0&&(i+=this.length),typeof o=="number"&&o<0&&(o+=this.length),this.copy(null,0,i,o)},s.prototype.copy=function(i,o,a,l){if((typeof a!="number"||a<0)&&(a=0),(typeof l!="number"||l>this.length)&&(l=this.length),a>=this.length||l<=0)return i||r.alloc(0);let u=!!i,c=this._offset(a),f=l-a,d=f,g=u&&o||0,m=c[1];if(a===0&&l===this.length){if(!u)return this._bufs.length===1?this._bufs[0]:r.concat(this._bufs,this.length);for(let y=0;yE)this._bufs[y].copy(i,g,m),g+=E;else{this._bufs[y].copy(i,g,m,m+d),g+=E;break}d-=E,m&&(m=0)}return i.length>g?i.slice(0,g):i},s.prototype.shallowSlice=function(i,o){if(i=i||0,o=typeof o!="number"?this.length:o,i<0&&(i+=this.length),o<0&&(o+=this.length),i===o)return this._new();let a=this._offset(i),l=this._offset(o),u=this._bufs.slice(a[0],l[0]+1);return l[1]===0?u.pop():u[u.length-1]=u[u.length-1].slice(0,l[1]),a[1]!==0&&(u[0]=u[0].slice(a[1])),this._new(u)},s.prototype.toString=function(i,o,a){return this.slice(o,a).toString(i)},s.prototype.consume=function(i){if(i=Math.trunc(i),Number.isNaN(i)||i<=0)return this;for(;this._bufs.length;)if(i>=this._bufs[0].length)i-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(i),this.length-=i;break}return this},s.prototype.duplicate=function(){let i=this._new();for(let o=0;othis.length?this.length:o;let l=this._offset(o),u=l[0],c=l[1];for(;u=i.length){let d=f.indexOf(i,c);if(d!==-1)return this._reverseOffset([u,d]);c=f.length-i.length+1}else{let d=this._reverseOffset([u,c]);if(this._match(d,i))return d;c++}c=0}return-1},s.prototype._match=function(i,o){if(this.length-i{_e(),ve(),we();var r=rs().Duplex,n=oC(),s=aC();function i(o){if(!(this instanceof i))return new i(o);if(typeof o=="function"){this._callback=o;let a=(function(l){this._callback&&(this._callback(l),this._callback=null)}).bind(this);this.on("pipe",function(l){l.on("error",a)}),this.on("unpipe",function(l){l.removeListener("error",a)}),o=null}s._init.call(this,o),r.call(this)}n(i,r),Object.assign(i.prototype,s.prototype),i.prototype._new=function(o){return new i(o)},i.prototype._write=function(o,a,l){this._appendBuffer(o),typeof l=="function"&&l()},i.prototype._read=function(o){if(!this.length)return this.push(null);o=Math.min(o,this.length),this.push(this.slice(0,o)),this.consume(o)},i.prototype.end=function(o){r.prototype.end.call(this,o),this._callback&&(this._callback(null,this.slice()),this._callback=null)},i.prototype._destroy=function(o,a){this._bufs.length=0,this.length=0,a(o)},i.prototype._isBufferList=function(o){return o instanceof i||o instanceof s||i.isBufferList(o)},i.isBufferList=s.isBufferList,e.exports=i,e.exports.BufferListStream=i,e.exports.BufferList=s}),uC=Te((t,e)=>{_e(),ve(),we();var r=class{constructor(){this.cmd=null,this.retain=!1,this.qos=0,this.dup=!1,this.length=-1,this.topic=null,this.payload=null}};e.exports=r}),kv=Te((t,e)=>{_e(),ve(),we();var r=e.exports,{Buffer:n}=(Tt(),Ke(St));r.types={0:"reserved",1:"connect",2:"connack",3:"publish",4:"puback",5:"pubrec",6:"pubrel",7:"pubcomp",8:"subscribe",9:"suback",10:"unsubscribe",11:"unsuback",12:"pingreq",13:"pingresp",14:"disconnect",15:"auth"},r.requiredHeaderFlags={1:0,2:0,4:0,5:0,6:2,7:0,8:2,9:0,10:2,11:0,12:0,13:0,14:0,15:0},r.requiredHeaderFlagsErrors={};for(let i in r.requiredHeaderFlags){let o=r.requiredHeaderFlags[i];r.requiredHeaderFlagsErrors[i]="Invalid header flag bits, must be 0x"+o.toString(16)+" for "+r.types[i]+" packet"}r.codes={};for(let i in r.types){let o=r.types[i];r.codes[o]=i}r.CMD_SHIFT=4,r.CMD_MASK=240,r.DUP_MASK=8,r.QOS_MASK=3,r.QOS_SHIFT=1,r.RETAIN_MASK=1,r.VARBYTEINT_MASK=127,r.VARBYTEINT_FIN_MASK=128,r.VARBYTEINT_MAX=268435455,r.SESSIONPRESENT_MASK=1,r.SESSIONPRESENT_HEADER=n.from([r.SESSIONPRESENT_MASK]),r.CONNACK_HEADER=n.from([r.codes.connack<[0,1].map(a=>[0,1].map(l=>{let u=n.alloc(1);return u.writeUInt8(r.codes[i]<n.from([i])),r.EMPTY={pingreq:n.from([r.codes.pingreq<<4,0]),pingresp:n.from([r.codes.pingresp<<4,0]),disconnect:n.from([r.codes.disconnect<<4,0])},r.MQTT5_PUBACK_PUBREC_CODES={0:"Success",16:"No matching subscribers",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",144:"Topic Name invalid",145:"Packet identifier in use",151:"Quota exceeded",153:"Payload format invalid"},r.MQTT5_PUBREL_PUBCOMP_CODES={0:"Success",146:"Packet Identifier not found"},r.MQTT5_SUBACK_CODES={0:"Granted QoS 0",1:"Granted QoS 1",2:"Granted QoS 2",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use",151:"Quota exceeded",158:"Shared Subscriptions not supported",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},r.MQTT5_UNSUBACK_CODES={0:"Success",17:"No subscription existed",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use"},r.MQTT5_DISCONNECT_CODES={0:"Normal disconnection",4:"Disconnect with Will Message",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",135:"Not authorized",137:"Server busy",139:"Server shutting down",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},r.MQTT5_AUTH_CODES={0:"Success",24:"Continue authentication",25:"Re-authenticate"}}),cC=Te((t,e)=>{_e(),ve(),we();var r=1e3,n=r*60,s=n*60,i=s*24,o=i*7,a=i*365.25;e.exports=function(d,g){g=g||{};var m=typeof d;if(m==="string"&&d.length>0)return l(d);if(m==="number"&&isFinite(d))return g.long?c(d):u(d);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(d))};function l(d){if(d=String(d),!(d.length>100)){var g=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(d);if(g){var m=parseFloat(g[1]),y=(g[2]||"ms").toLowerCase();switch(y){case"years":case"year":case"yrs":case"yr":case"y":return m*a;case"weeks":case"week":case"w":return m*o;case"days":case"day":case"d":return m*i;case"hours":case"hour":case"hrs":case"hr":case"h":return m*s;case"minutes":case"minute":case"mins":case"min":case"m":return m*n;case"seconds":case"second":case"secs":case"sec":case"s":return m*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return m;default:return}}}}function u(d){var g=Math.abs(d);return g>=i?Math.round(d/i)+"d":g>=s?Math.round(d/s)+"h":g>=n?Math.round(d/n)+"m":g>=r?Math.round(d/r)+"s":d+"ms"}function c(d){var g=Math.abs(d);return g>=i?f(d,g,i,"day"):g>=s?f(d,g,s,"hour"):g>=n?f(d,g,n,"minute"):g>=r?f(d,g,r,"second"):d+" ms"}function f(d,g,m,y){var E=g>=m*1.5;return Math.round(d/m)+" "+y+(E?"s":"")}}),fC=Te((t,e)=>{_e(),ve(),we();function r(n){i.debug=i,i.default=i,i.coerce=f,i.disable=l,i.enable=a,i.enabled=u,i.humanize=cC(),i.destroy=d,Object.keys(n).forEach(g=>{i[g]=n[g]}),i.names=[],i.skips=[],i.formatters={};function s(g){let m=0;for(let y=0;y{if(N==="%%")return"%";D++;let q=i.formatters[B];if(typeof q=="function"){let K=v[D];N=q.call(A,K),v.splice(D,1),D--}return N}),i.formatArgs.call(A,v),(A.log||i.log).apply(A,v)}return S.namespace=g,S.useColors=i.useColors(),S.color=i.selectColor(g),S.extend=o,S.destroy=i.destroy,Object.defineProperty(S,"enabled",{enumerable:!0,configurable:!1,get:()=>y!==null?y:(E!==i.namespaces&&(E=i.namespaces,_=i.enabled(g)),_),set:v=>{y=v}}),typeof i.init=="function"&&i.init(S),S}function o(g,m){let y=i(this.namespace+(typeof m>"u"?":":m)+g);return y.log=this.log,y}function a(g){i.save(g),i.namespaces=g,i.names=[],i.skips=[];let m,y=(typeof g=="string"?g:"").split(/[\s,]+/),E=y.length;for(m=0;m"-"+m)].join(",");return i.enable(""),g}function u(g){if(g[g.length-1]==="*")return!0;let m,y;for(m=0,y=i.skips.length;m{_e(),ve(),we(),t.formatArgs=n,t.save=s,t.load=i,t.useColors=r,t.storage=o(),t.destroy=(()=>{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof Lt<"u"&&Lt.userAgent&&Lt.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof Lt<"u"&&Lt.userAgent&&Lt.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof Lt<"u"&&Lt.userAgent&&Lt.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let u="color: "+this.color;l.splice(1,0,u,"color: inherit");let c=0,f=0;l[0].replace(/%[a-zA-Z%]/g,d=>{d!=="%%"&&(c++,d==="%c"&&(f=c))}),l.splice(f,0,u)}t.log=console.debug||console.log||(()=>{});function s(l){try{l?t.storage.setItem("debug",l):t.storage.removeItem("debug")}catch{}}function i(){let l;try{l=t.storage.getItem("debug")}catch{}return!l&&typeof ze<"u"&&"env"in ze&&(l=ze.env.DEBUG),l}function o(){try{return localStorage}catch{}}e.exports=fC()(t);var{formatters:a}=e.exports;a.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}}),dC=Te((t,e)=>{_e(),ve(),we();var r=lC(),{EventEmitter:n}=(no(),Ke(ts)),s=uC(),i=kv(),o=vn()("mqtt-packet:parser"),a=class rh extends n{constructor(){super(),this.parser=this.constructor.parser}static parser(u){return this instanceof rh?(this.settings=u||{},this._states=["_parseHeader","_parseLength","_parsePayload","_newPacket"],this._resetState(),this):new rh().parser(u)}_resetState(){o("_resetState: resetting packet, error, _list, and _stateCounter"),this.packet=new s,this.error=null,this._list=r(),this._stateCounter=0}parse(u){for(this.error&&this._resetState(),this._list.append(u),o("parse: current state: %s",this._states[this._stateCounter]);(this.packet.length!==-1||this._list.length>0)&&this[this._states[this._stateCounter]]()&&!this.error;)this._stateCounter++,o("parse: state complete. _stateCounter is now: %d",this._stateCounter),o("parse: packet.length: %d, buffer list length: %d",this.packet.length,this._list.length),this._stateCounter>=this._states.length&&(this._stateCounter=0);return o("parse: exited while loop. packet: %d, buffer list length: %d",this.packet.length,this._list.length),this._list.length}_parseHeader(){let u=this._list.readUInt8(0),c=u>>i.CMD_SHIFT;this.packet.cmd=i.types[c];let f=u&15,d=i.requiredHeaderFlags[c];return d!=null&&f!==d?this._emitError(new Error(i.requiredHeaderFlagsErrors[c])):(this.packet.retain=(u&i.RETAIN_MASK)!==0,this.packet.qos=u>>i.QOS_SHIFT&i.QOS_MASK,this.packet.qos>2?this._emitError(new Error("Packet must not have both QoS bits set to 1")):(this.packet.dup=(u&i.DUP_MASK)!==0,o("_parseHeader: packet: %o",this.packet),this._list.consume(1),!0))}_parseLength(){let u=this._parseVarByteNum(!0);return u&&(this.packet.length=u.value,this._list.consume(u.bytes)),o("_parseLength %d",u.value),!!u}_parsePayload(){o("_parsePayload: payload %O",this._list);let u=!1;if(this.packet.length===0||this._list.length>=this.packet.length){switch(this._pos=0,this.packet.cmd){case"connect":this._parseConnect();break;case"connack":this._parseConnack();break;case"publish":this._parsePublish();break;case"puback":case"pubrec":case"pubrel":case"pubcomp":this._parseConfirmation();break;case"subscribe":this._parseSubscribe();break;case"suback":this._parseSuback();break;case"unsubscribe":this._parseUnsubscribe();break;case"unsuback":this._parseUnsuback();break;case"pingreq":case"pingresp":break;case"disconnect":this._parseDisconnect();break;case"auth":this._parseAuth();break;default:this._emitError(new Error("Not supported"))}u=!0}return o("_parsePayload complete result: %s",u),u}_parseConnect(){o("_parseConnect");let u,c,f,d,g={},m=this.packet,y=this._parseString();if(y===null)return this._emitError(new Error("Cannot parse protocolId"));if(y!=="MQTT"&&y!=="MQIsdp")return this._emitError(new Error("Invalid protocolId"));if(m.protocolId=y,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(m.protocolVersion=this._list.readUInt8(this._pos),m.protocolVersion>=128&&(m.bridgeMode=!0,m.protocolVersion=m.protocolVersion-128),m.protocolVersion!==3&&m.protocolVersion!==4&&m.protocolVersion!==5)return this._emitError(new Error("Invalid protocol version"));if(this._pos++,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(this._list.readUInt8(this._pos)&1)return this._emitError(new Error("Connect flag bit 0 must be 0, but got 1"));g.username=this._list.readUInt8(this._pos)&i.USERNAME_MASK,g.password=this._list.readUInt8(this._pos)&i.PASSWORD_MASK,g.will=this._list.readUInt8(this._pos)&i.WILL_FLAG_MASK;let E=!!(this._list.readUInt8(this._pos)&i.WILL_RETAIN_MASK),_=(this._list.readUInt8(this._pos)&i.WILL_QOS_MASK)>>i.WILL_QOS_SHIFT;if(g.will)m.will={},m.will.retain=E,m.will.qos=_;else{if(E)return this._emitError(new Error("Will Retain Flag must be set to zero when Will Flag is set to 0"));if(_)return this._emitError(new Error("Will QoS must be set to zero when Will Flag is set to 0"))}if(m.clean=(this._list.readUInt8(this._pos)&i.CLEAN_SESSION_MASK)!==0,this._pos++,m.keepalive=this._parseNum(),m.keepalive===-1)return this._emitError(new Error("Packet too short"));if(m.protocolVersion===5){let v=this._parseProperties();Object.getOwnPropertyNames(v).length&&(m.properties=v)}let S=this._parseString();if(S===null)return this._emitError(new Error("Packet too short"));if(m.clientId=S,o("_parseConnect: packet.clientId: %s",m.clientId),g.will){if(m.protocolVersion===5){let v=this._parseProperties();Object.getOwnPropertyNames(v).length&&(m.will.properties=v)}if(u=this._parseString(),u===null)return this._emitError(new Error("Cannot parse will topic"));if(m.will.topic=u,o("_parseConnect: packet.will.topic: %s",m.will.topic),c=this._parseBuffer(),c===null)return this._emitError(new Error("Cannot parse will payload"));m.will.payload=c,o("_parseConnect: packet.will.paylaod: %s",m.will.payload)}if(g.username){if(d=this._parseString(),d===null)return this._emitError(new Error("Cannot parse username"));m.username=d,o("_parseConnect: packet.username: %s",m.username)}if(g.password){if(f=this._parseBuffer(),f===null)return this._emitError(new Error("Cannot parse password"));m.password=f}return this.settings=m,o("_parseConnect: complete"),m}_parseConnack(){o("_parseConnack");let u=this.packet;if(this._list.length<1)return null;let c=this._list.readUInt8(this._pos++);if(c>1)return this._emitError(new Error("Invalid connack flags, bits 7-1 must be set to 0"));if(u.sessionPresent=!!(c&i.SESSIONPRESENT_MASK),this.settings.protocolVersion===5)this._list.length>=2?u.reasonCode=this._list.readUInt8(this._pos++):u.reasonCode=0;else{if(this._list.length<2)return null;u.returnCode=this._list.readUInt8(this._pos++)}if(u.returnCode===-1||u.reasonCode===-1)return this._emitError(new Error("Cannot parse return code"));if(this.settings.protocolVersion===5){let f=this._parseProperties();Object.getOwnPropertyNames(f).length&&(u.properties=f)}o("_parseConnack: complete")}_parsePublish(){o("_parsePublish");let u=this.packet;if(u.topic=this._parseString(),u.topic===null)return this._emitError(new Error("Cannot parse topic"));if(!(u.qos>0&&!this._parseMessageId())){if(this.settings.protocolVersion===5){let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}u.payload=this._list.slice(this._pos,u.length),o("_parsePublish: payload from buffer list: %o",u.payload)}}_parseSubscribe(){o("_parseSubscribe");let u=this.packet,c,f,d,g,m,y,E;if(u.subscriptions=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let _=this._parseProperties();Object.getOwnPropertyNames(_).length&&(u.properties=_)}if(u.length<=0)return this._emitError(new Error("Malformed subscribe, no payload specified"));for(;this._pos=u.length)return this._emitError(new Error("Malformed Subscribe Payload"));if(f=this._parseByte(),this.settings.protocolVersion===5){if(f&192)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-6 must be 0"))}else if(f&252)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-2 must be 0"));if(d=f&i.SUBSCRIBE_OPTIONS_QOS_MASK,d>2)return this._emitError(new Error("Invalid subscribe QoS, must be <= 2"));if(y=(f>>i.SUBSCRIBE_OPTIONS_NL_SHIFT&i.SUBSCRIBE_OPTIONS_NL_MASK)!==0,m=(f>>i.SUBSCRIBE_OPTIONS_RAP_SHIFT&i.SUBSCRIBE_OPTIONS_RAP_MASK)!==0,g=f>>i.SUBSCRIBE_OPTIONS_RH_SHIFT&i.SUBSCRIBE_OPTIONS_RH_MASK,g>2)return this._emitError(new Error("Invalid retain handling, must be <= 2"));E={topic:c,qos:d},this.settings.protocolVersion===5?(E.nl=y,E.rap=m,E.rh=g):this.settings.bridgeMode&&(E.rh=0,E.rap=!0,E.nl=!0),o("_parseSubscribe: push subscription `%s` to subscription",E),u.subscriptions.push(E)}}}_parseSuback(){o("_parseSuback");let u=this.packet;if(this.packet.granted=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}if(u.length<=0)return this._emitError(new Error("Malformed suback, no payload specified"));for(;this._pos2&&c!==128)return this._emitError(new Error("Invalid suback QoS, must be 0, 1, 2 or 128"));this.packet.granted.push(c)}}}_parseUnsubscribe(){o("_parseUnsubscribe");let u=this.packet;if(u.unsubscriptions=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}if(u.length<=0)return this._emitError(new Error("Malformed unsubscribe, no payload specified"));for(;this._pos2){switch(u.reasonCode=this._parseByte(),this.packet.cmd){case"puback":case"pubrec":if(!i.MQTT5_PUBACK_PUBREC_CODES[u.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break;case"pubrel":case"pubcomp":if(!i.MQTT5_PUBREL_PUBCOMP_CODES[u.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break}o("_parseConfirmation: packet.reasonCode `%d`",u.reasonCode)}else u.reasonCode=0;if(u.length>3){let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}}return!0}_parseDisconnect(){let u=this.packet;if(o("_parseDisconnect"),this.settings.protocolVersion===5){this._list.length>0?(u.reasonCode=this._parseByte(),i.MQTT5_DISCONNECT_CODES[u.reasonCode]||this._emitError(new Error("Invalid disconnect reason code"))):u.reasonCode=0;let c=this._parseProperties();Object.getOwnPropertyNames(c).length&&(u.properties=c)}return o("_parseDisconnect result: true"),!0}_parseAuth(){o("_parseAuth");let u=this.packet;if(this.settings.protocolVersion!==5)return this._emitError(new Error("Not supported auth packet for this version MQTT"));if(u.reasonCode=this._parseByte(),!i.MQTT5_AUTH_CODES[u.reasonCode])return this._emitError(new Error("Invalid auth reason code"));let c=this._parseProperties();return Object.getOwnPropertyNames(c).length&&(u.properties=c),o("_parseAuth: result: true"),!0}_parseMessageId(){let u=this.packet;return u.messageId=this._parseNum(),u.messageId===null?(this._emitError(new Error("Cannot parse messageId")),!1):(o("_parseMessageId: packet.messageId %d",u.messageId),!0)}_parseString(u){let c=this._parseNum(),f=c+this._pos;if(c===-1||f>this._list.length||f>this.packet.length)return null;let d=this._list.toString("utf8",this._pos,f);return this._pos+=c,o("_parseString: result: %s",d),d}_parseStringPair(){return o("_parseStringPair"),{name:this._parseString(),value:this._parseString()}}_parseBuffer(){let u=this._parseNum(),c=u+this._pos;if(u===-1||c>this._list.length||c>this.packet.length)return null;let f=this._list.slice(this._pos,c);return this._pos+=u,o("_parseBuffer: result: %o",f),f}_parseNum(){if(this._list.length-this._pos<2)return-1;let u=this._list.readUInt16BE(this._pos);return this._pos+=2,o("_parseNum: result: %s",u),u}_parse4ByteNum(){if(this._list.length-this._pos<4)return-1;let u=this._list.readUInt32BE(this._pos);return this._pos+=4,o("_parse4ByteNum: result: %s",u),u}_parseVarByteNum(u){o("_parseVarByteNum");let c=4,f=0,d=1,g=0,m=!1,y,E=this._pos?this._pos:0;for(;f=f&&this._emitError(new Error("Invalid variable byte integer")),E&&(this._pos+=f),m?u?m={bytes:f,value:g}:m=g:m=!1,o("_parseVarByteNum: result: %o",m),m}_parseByte(){let u;return this._pos{_e(),ve(),we();var{Buffer:r}=(Tt(),Ke(St)),n=65536,s={},i=r.isBuffer(r.from([1,2]).subarray(0,1));function o(c){let f=r.allocUnsafe(2);return f.writeUInt8(c>>8,0),f.writeUInt8(c&255,1),f}function a(){for(let c=0;c0&&(f=f|128),g.writeUInt8(f,d++);while(c>0&&d<4);return c>0&&(d=0),i?g.subarray(0,d):g.slice(0,d)}function u(c){let f=r.allocUnsafe(4);return f.writeUInt32BE(c,0),f}e.exports={cache:s,generateCache:a,generateNumber:o,genBufVariableByteInt:l,generate4ByteBuffer:u}}),pC=Te((t,e)=>{_e(),ve(),we(),typeof ze>"u"||!ze.version||ze.version.indexOf("v0.")===0||ze.version.indexOf("v1.")===0&&ze.version.indexOf("v1.8.")!==0?e.exports={nextTick:r}:e.exports=ze;function r(n,s,i,o){if(typeof n!="function")throw new TypeError('"callback" argument must be a function');var a=arguments.length,l,u;switch(a){case 0:case 1:return ze.nextTick(n);case 2:return ze.nextTick(function(){n.call(null,s)});case 3:return ze.nextTick(function(){n.call(null,s,i)});case 4:return ze.nextTick(function(){n.call(null,s,i,o)});default:for(l=new Array(a-1),u=0;u{_e(),ve(),we();var r=kv(),{Buffer:n}=(Tt(),Ke(St)),s=n.allocUnsafe(0),i=n.from([0]),o=hC(),a=pC().nextTick,l=vn()("mqtt-packet:writeToStream"),u=o.cache,c=o.generateNumber,f=o.generateCache,d=o.genBufVariableByteInt,g=o.generate4ByteBuffer,m=z,y=!0;function E(X,Y,ie){switch(l("generate called"),Y.cork&&(Y.cork(),a(_,Y)),y&&(y=!1,f()),l("generate: packet.cmd: %s",X.cmd),X.cmd){case"connect":return S(X,Y);case"connack":return v(X,Y,ie);case"publish":return A(X,Y,ie);case"puback":case"pubrec":case"pubrel":case"pubcomp":return k(X,Y,ie);case"subscribe":return x(X,Y,ie);case"suback":return D(X,Y,ie);case"unsubscribe":return N(X,Y,ie);case"unsuback":return B(X,Y,ie);case"pingreq":case"pingresp":return q(X,Y);case"disconnect":return K(X,Y,ie);case"auth":return C(X,Y,ie);default:return Y.destroy(new Error("Unknown command")),!1}}Object.defineProperty(E,"cacheNumbers",{get(){return m===z},set(X){X?((!u||Object.keys(u).length===0)&&(y=!0),m=z):(y=!1,m=F)}});function _(X){X.uncork()}function S(X,Y,ie){let be=X||{},he=be.protocolId||"MQTT",ue=be.protocolVersion||4,I=be.will,P=be.clean,O=be.keepalive||0,j=be.clientId||"",W=be.username,le=be.password,fe=be.properties;P===void 0&&(P=!0);let V=0;if(!he||typeof he!="string"&&!n.isBuffer(he))return Y.destroy(new Error("Invalid protocolId")),!1;if(V+=he.length+2,ue!==3&&ue!==4&&ue!==5)return Y.destroy(new Error("Invalid protocol version")),!1;if(V+=1,(typeof j=="string"||n.isBuffer(j))&&(j||ue>=4)&&(j||P))V+=n.byteLength(j)+2;else{if(ue<4)return Y.destroy(new Error("clientId must be supplied before 3.1.1")),!1;if(P*1===0)return Y.destroy(new Error("clientId must be given if cleanSession set to 0")),!1}if(typeof O!="number"||O<0||O>65535||O%1!==0)return Y.destroy(new Error("Invalid keepalive")),!1;V+=2,V+=1;let te,$;if(ue===5){if(te=re(Y,fe),!te)return!1;V+=te.length}if(I){if(typeof I!="object")return Y.destroy(new Error("Invalid will")),!1;if(!I.topic||typeof I.topic!="string")return Y.destroy(new Error("Invalid will topic")),!1;if(V+=n.byteLength(I.topic)+2,V+=2,I.payload)if(I.payload.length>=0)typeof I.payload=="string"?V+=n.byteLength(I.payload):V+=I.payload.length;else return Y.destroy(new Error("Invalid will payload")),!1;if($={},ue===5){if($=re(Y,I.properties),!$)return!1;V+=$.length}}let J=!1;if(W!=null)if(pe(W))J=!0,V+=n.byteLength(W)+2;else return Y.destroy(new Error("Invalid username")),!1;if(le!=null){if(!J)return Y.destroy(new Error("Username is required to use password")),!1;if(pe(le))V+=ge(le)+2;else return Y.destroy(new Error("Invalid password")),!1}Y.write(r.CONNECT_HEADER),L(Y,V),ce(Y,he),be.bridgeMode&&(ue+=128),Y.write(ue===131?r.VERSION131:ue===132?r.VERSION132:ue===4?r.VERSION4:ue===5?r.VERSION5:r.VERSION3);let ae=0;return ae|=W!=null?r.USERNAME_MASK:0,ae|=le!=null?r.PASSWORD_MASK:0,ae|=I&&I.retain?r.WILL_RETAIN_MASK:0,ae|=I&&I.qos?I.qos<0&&m(Y,j),fe==null||fe.write(),l("publish: payload: %o",O),Y.write(O)}function k(X,Y,ie){let be=ie?ie.protocolVersion:4,he=X||{},ue=he.cmd||"puback",I=he.messageId,P=he.dup&&ue==="pubrel"?r.DUP_MASK:0,O=0,j=he.reasonCode,W=he.properties,le=be===5?3:2;if(ue==="pubrel"&&(O=1),typeof I!="number")return Y.destroy(new Error("Invalid messageId")),!1;let fe=null;if(be===5&&typeof W=="object"){if(fe=R(Y,W,ie,le),!fe)return!1;le+=fe.length}return Y.write(r.ACKS[ue][O][P][0]),le===3&&(le+=j!==0?1:-1),L(Y,le),m(Y,I),be===5&&le!==2&&Y.write(n.from([j])),fe!==null?fe.write():le===4&&Y.write(n.from([0])),!0}function x(X,Y,ie){l("subscribe: packet: ");let be=ie?ie.protocolVersion:4,he=X||{},ue=he.dup?r.DUP_MASK:0,I=he.messageId,P=he.subscriptions,O=he.properties,j=0;if(typeof I!="number")return Y.destroy(new Error("Invalid messageId")),!1;j+=2;let W=null;if(be===5){if(W=re(Y,O),!W)return!1;j+=W.length}if(typeof P=="object"&&P.length)for(let fe=0;fe2)return Y.destroy(new Error("Invalid subscriptions - invalid Retain Handling")),!1}j+=n.byteLength(V)+2+1}else return Y.destroy(new Error("Invalid subscriptions")),!1;l("subscribe: writing to stream: %o",r.SUBSCRIBE_HEADER),Y.write(r.SUBSCRIBE_HEADER[1][ue?1:0][0]),L(Y,j),m(Y,I),W!==null&&W.write();let le=!0;for(let fe of P){let V=fe.topic,te=fe.qos,$=+fe.nl,J=+fe.rap,ae=fe.rh,me;H(Y,V),me=r.SUBSCRIBE_OPTIONS_QOS[te],be===5&&(me|=$?r.SUBSCRIBE_OPTIONS_NL:0,me|=J?r.SUBSCRIBE_OPTIONS_RAP:0,me|=ae?r.SUBSCRIBE_OPTIONS_RH[ae]:0),le=Y.write(n.from([me]))}return le}function D(X,Y,ie){let be=ie?ie.protocolVersion:4,he=X||{},ue=he.messageId,I=he.granted,P=he.properties,O=0;if(typeof ue!="number")return Y.destroy(new Error("Invalid messageId")),!1;if(O+=2,typeof I=="object"&&I.length)for(let W=0;Wr.VARBYTEINT_MAX)return X.destroy(new Error(`Invalid variable byte integer: ${Y}`)),!1;let ie=M[Y];return ie||(ie=d(Y),Y<16384&&(M[Y]=ie)),l("writeVarByteInt: writing to stream: %o",ie),X.write(ie)}function H(X,Y){let ie=n.byteLength(Y);return m(X,ie),l("writeString: %s",Y),X.write(Y,"utf8")}function G(X,Y,ie){H(X,Y),H(X,ie)}function z(X,Y){return l("writeNumberCached: number: %d",Y),l("writeNumberCached: %o",u[Y]),X.write(u[Y])}function F(X,Y){let ie=c(Y);return l("writeNumberGenerated: %o",ie),X.write(ie)}function ne(X,Y){let ie=g(Y);return l("write4ByteNumber: %o",ie),X.write(ie)}function ce(X,Y){typeof Y=="string"?H(X,Y):Y?(m(X,Y.length),X.write(Y)):m(X,0)}function re(X,Y){if(typeof Y!="object"||Y.length!=null)return{length:1,write(){de(X,{},0)}};let ie=0;function be(he,ue){let I=r.propertiesTypes[he],P=0;switch(I){case"byte":{if(typeof ue!="boolean")return X.destroy(new Error(`Invalid ${he}: ${ue}`)),!1;P+=2;break}case"int8":{if(typeof ue!="number"||ue<0||ue>255)return X.destroy(new Error(`Invalid ${he}: ${ue}`)),!1;P+=2;break}case"binary":{if(ue&&ue===null)return X.destroy(new Error(`Invalid ${he}: ${ue}`)),!1;P+=1+n.byteLength(ue)+2;break}case"int16":{if(typeof ue!="number"||ue<0||ue>65535)return X.destroy(new Error(`Invalid ${he}: ${ue}`)),!1;P+=3;break}case"int32":{if(typeof ue!="number"||ue<0||ue>4294967295)return X.destroy(new Error(`Invalid ${he}: ${ue}`)),!1;P+=5;break}case"var":{if(typeof ue!="number"||ue<0||ue>268435455)return X.destroy(new Error(`Invalid ${he}: ${ue}`)),!1;P+=1+n.byteLength(d(ue));break}case"string":{if(typeof ue!="string")return X.destroy(new Error(`Invalid ${he}: ${ue}`)),!1;P+=3+n.byteLength(ue.toString());break}case"pair":{if(typeof ue!="object")return X.destroy(new Error(`Invalid ${he}: ${ue}`)),!1;P+=Object.getOwnPropertyNames(ue).reduce((O,j)=>{let W=ue[j];return Array.isArray(W)?O+=W.reduce((le,fe)=>(le+=3+n.byteLength(j.toString())+2+n.byteLength(fe.toString()),le),0):O+=3+n.byteLength(j.toString())+2+n.byteLength(ue[j].toString()),O},0);break}default:return X.destroy(new Error(`Invalid property ${he}: ${ue}`)),!1}return P}if(Y)for(let he in Y){let ue=0,I=0,P=Y[he];if(Array.isArray(P))for(let O=0;Oue;){let P=he.shift();if(P&&Y[P])delete Y[P],I=re(X,Y);else return!1}return I}function Q(X,Y,ie){switch(r.propertiesTypes[Y]){case"byte":{X.write(n.from([r.properties[Y]])),X.write(n.from([+ie]));break}case"int8":{X.write(n.from([r.properties[Y]])),X.write(n.from([ie]));break}case"binary":{X.write(n.from([r.properties[Y]])),ce(X,ie);break}case"int16":{X.write(n.from([r.properties[Y]])),m(X,ie);break}case"int32":{X.write(n.from([r.properties[Y]])),ne(X,ie);break}case"var":{X.write(n.from([r.properties[Y]])),L(X,ie);break}case"string":{X.write(n.from([r.properties[Y]])),H(X,ie);break}case"pair":{Object.getOwnPropertyNames(ie).forEach(be=>{let he=ie[be];Array.isArray(he)?he.forEach(ue=>{X.write(n.from([r.properties[Y]])),G(X,be.toString(),ue.toString())}):(X.write(n.from([r.properties[Y]])),G(X,be.toString(),he.toString()))});break}default:return X.destroy(new Error(`Invalid property ${Y} value: ${ie}`)),!1}}function de(X,Y,ie){L(X,ie);for(let be in Y)if(Object.prototype.hasOwnProperty.call(Y,be)&&Y[be]!==null){let he=Y[be];if(Array.isArray(he))for(let ue=0;ue{_e(),ve(),we();var r=Lv(),{EventEmitter:n}=(no(),Ke(ts)),{Buffer:s}=(Tt(),Ke(St));function i(a,l){let u=new o;return r(a,u,l),u.concat()}var o=class extends n{constructor(){super(),this._array=new Array(20),this._i=0}write(a){return this._array[this._i++]=a,!0}concat(){let a=0,l=new Array(this._array.length),u=this._array,c=0,f;for(f=0;f{_e(),ve(),we(),t.parser=dC().parser,t.generate=gC(),t.writeToStream=Lv()}),Nv=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0});var e=class{constructor(){this.nextId=Math.max(1,Math.floor(Math.random()*65535))}allocate(){let r=this.nextId++;return this.nextId===65536&&(this.nextId=1),r}getLastAllocated(){return this.nextId===1?65535:this.nextId-1}register(r){return!0}deallocate(r){}clear(){}};t.default=e}),bC=Te((t,e)=>{_e(),ve(),we(),e.exports=n;function r(i){return i instanceof jl?jl.from(i):new i.constructor(i.buffer.slice(),i.byteOffset,i.length)}function n(i){if(i=i||{},i.circles)return s(i);return i.proto?l:a;function o(u,c){for(var f=Object.keys(u),d=new Array(f.length),g=0;g{_e(),ve(),we(),e.exports=bC()()}),wC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0}),t.validateTopics=t.validateTopic=void 0;function e(n){let s=n.split("/");for(let i=0;i{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0});var e=rs(),r={objectMode:!0},n={clean:!0},s=class{constructor(i){this.options=i||{},this.options=Object.assign(Object.assign({},n),i),this._inflights=new Map}put(i,o){return this._inflights.set(i.messageId,i),o&&o(),this}createStream(){let i=new e.Readable(r),o=[],a=!1,l=0;return this._inflights.forEach((u,c)=>{o.push(u)}),i._read=()=>{!a&&l{if(!a)return a=!0,setTimeout(()=>{i.emit("close")},0),i},i}del(i,o){let a=this._inflights.get(i.messageId);return a?(this._inflights.delete(i.messageId),o(null,a)):o&&o(new Error("missing packet")),this}get(i,o){let a=this._inflights.get(i.messageId);return a?o(null,a):o&&o(new Error("missing packet")),this}close(i){this.options.clean&&(this._inflights=null),i&&i()}};t.default=s}),vC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0});var e=[0,16,128,131,135,144,145,151,153],r=(n,s,i)=>{n.log("handlePublish: packet %o",s),i=typeof i<"u"?i:n.noop;let o=s.topic.toString(),a=s.payload,{qos:l}=s,{messageId:u}=s,{options:c}=n;if(n.options.protocolVersion===5){let f;if(s.properties&&(f=s.properties.topicAlias),typeof f<"u")if(o.length===0)if(f>0&&f<=65535){let d=n.topicAliasRecv.getTopicByAlias(f);if(d)o=d,n.log("handlePublish :: topic complemented by alias. topic: %s - alias: %d",o,f);else{n.log("handlePublish :: unregistered topic alias. alias: %d",f),n.emit("error",new Error("Received unregistered Topic Alias"));return}}else{n.log("handlePublish :: topic alias out of range. alias: %d",f),n.emit("error",new Error("Received Topic Alias is out of range"));return}else if(n.topicAliasRecv.put(o,f))n.log("handlePublish :: registered topic: %s - alias: %d",o,f);else{n.log("handlePublish :: topic alias out of range. alias: %d",f),n.emit("error",new Error("Received Topic Alias is out of range"));return}}switch(n.log("handlePublish: qos %d",l),l){case 2:{c.customHandleAcks(o,a,s,(f,d)=>{if(typeof f=="number"&&(d=f,f=null),f)return n.emit("error",f);if(e.indexOf(d)===-1)return n.emit("error",new Error("Wrong reason code for pubrec"));d?n._sendPacket({cmd:"pubrec",messageId:u,reasonCode:d},i):n.incomingStore.put(s,()=>{n._sendPacket({cmd:"pubrec",messageId:u},i)})});break}case 1:{c.customHandleAcks(o,a,s,(f,d)=>{if(typeof f=="number"&&(d=f,f=null),f)return n.emit("error",f);if(e.indexOf(d)===-1)return n.emit("error",new Error("Wrong reason code for puback"));d||n.emit("message",o,a,s),n.handleMessage(s,g=>{if(g)return i&&i(g);n._sendPacket({cmd:"puback",messageId:u,reasonCode:d},i)})});break}case 0:n.emit("message",o,a,s),n.handleMessage(s,i);break;default:n.log("handlePublish: unknown QoS. Doing nothing.");break}};t.default=r}),_C=Te((t,e)=>{e.exports={version:"5.7.2"}}),ha=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0}),t.MQTTJS_VERSION=t.nextTick=t.applyMixin=t.ErrorWithReasonCode=void 0;var e=class Bv extends Error{constructor(s,i){super(s),this.code=i,Object.setPrototypeOf(this,Bv.prototype),Object.getPrototypeOf(this).name="ErrorWithReasonCode"}};t.ErrorWithReasonCode=e;function r(n,s,i=!1){var o;let a=[s];for(;;){let l=a[0],u=Object.getPrototypeOf(l);if(u!=null&&u.prototype)a.unshift(u);else break}for(let l of a)for(let u of Object.getOwnPropertyNames(l.prototype))(i||u!=="constructor")&&Object.defineProperty(n.prototype,u,(o=Object.getOwnPropertyDescriptor(l.prototype,u))!==null&&o!==void 0?o:Object.create(null))}t.applyMixin=r,t.nextTick=typeof(ze==null?void 0:ze.nextTick)=="function"?ze.nextTick:n=>{setTimeout(n,0)},t.MQTTJS_VERSION=_C().version}),Ou=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0}),t.ReasonCodes=void 0,t.ReasonCodes={0:"",1:"Unacceptable protocol version",2:"Identifier rejected",3:"Server unavailable",4:"Bad username or password",5:"Not authorized",16:"No matching subscribers",17:"No subscription existed",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",132:"Unsupported Protocol Version",133:"Client Identifier not valid",134:"Bad User Name or Password",135:"Not authorized",136:"Server unavailable",137:"Server busy",138:"Banned",139:"Server shutting down",140:"Bad authentication method",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",145:"Packet identifier in use",146:"Packet Identifier not found",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"};var e=(r,n)=>{let{messageId:s}=n,i=n.cmd,o=null,a=r.outgoing[s]?r.outgoing[s].cb:null,l=null;if(!a){r.log("_handleAck :: Server sent an ack in error. Ignoring.");return}switch(r.log("_handleAck :: packet type",i),i){case"pubcomp":case"puback":{let u=n.reasonCode;u&&u>0&&u!==16?(l=new Error(`Publish error: ${t.ReasonCodes[u]}`),l.code=u,r._removeOutgoingAndStoreMessage(s,()=>{a(l,n)})):r._removeOutgoingAndStoreMessage(s,a);break}case"pubrec":{o={cmd:"pubrel",qos:2,messageId:s};let u=n.reasonCode;u&&u>0&&u!==16?(l=new Error(`Publish error: ${t.ReasonCodes[u]}`),l.code=u,r._removeOutgoingAndStoreMessage(s,()=>{a(l,n)})):r._sendPacket(o);break}case"suback":{delete r.outgoing[s],r.messageIdProvider.deallocate(s);let u=n.granted;for(let c=0;c{delete r._resubscribeTopics[g]})}}delete r.messageIdToTopic[s],r._invokeStoreProcessingQueue(),a(l,n);break}case"unsuback":{delete r.outgoing[s],r.messageIdProvider.deallocate(s),r._invokeStoreProcessingQueue(),a(null);break}default:r.emit("error",new Error("unrecognized packet type"))}r.disconnecting&&Object.keys(r.outgoing).length===0&&r.emit("outgoingEmpty")};t.default=e}),EC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0});var e=ha(),r=Ou(),n=(s,i)=>{let{options:o}=s,a=o.protocolVersion,l=a===5?i.reasonCode:i.returnCode;if(a!==5){let u=new e.ErrorWithReasonCode(`Protocol error: Auth packets are only supported in MQTT 5. Your version:${a}`,l);s.emit("error",u);return}s.handleAuth(i,(u,c)=>{if(u){s.emit("error",u);return}if(l===24)s.reconnecting=!1,s._sendPacket(c);else{let f=new e.ErrorWithReasonCode(`Connection refused: ${r.ReasonCodes[l]}`,l);s.emit("error",f)}})};t.default=n}),SC=Te(t=>{var g,m,y,E,_,S,v,A,k,x,D,N,B,q,K,C,M,L,H,G,z,F,ne,ce,re,R,nh,de,ge,pe,X,$v,ie,be,he,$n,Fn,ih,hl,pl,et,sh,Ro,V;_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0}),t.LRUCache=void 0;var e=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,r=new Set,n=typeof ze=="object"&&ze?ze:{},s=(te,$,J,ae)=>{typeof n.emitWarning=="function"?n.emitWarning(te,$,J,ae):console.error(`[${J}] ${$}: ${te}`)},i=globalThis.AbortController,o=globalThis.AbortSignal;if(typeof i>"u"){o=class{constructor(){nt(this,"onabort");nt(this,"_onabort",[]);nt(this,"reason");nt(this,"aborted",!1)}addEventListener(J,ae){this._onabort.push(ae)}},i=class{constructor(){nt(this,"signal",new o);$()}abort(J){var ae,me;if(!this.signal.aborted){this.signal.reason=J,this.signal.aborted=!0;for(let w of this.signal._onabort)w(J);(me=(ae=this.signal).onabort)==null||me.call(ae,J)}}};let te=((g=n.env)==null?void 0:g.LRU_CACHE_IGNORE_AC_WARNING)!=="1",$=()=>{te&&(te=!1,s("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",$))}}var a=te=>!r.has(te),l=te=>te&&te===Math.floor(te)&&te>0&&isFinite(te),u=te=>l(te)?te<=Math.pow(2,8)?Uint8Array:te<=Math.pow(2,16)?Uint16Array:te<=Math.pow(2,32)?Uint32Array:te<=Number.MAX_SAFE_INTEGER?c:null:null,c=class extends Array{constructor(te){super(te),this.fill(0)}},f=(m=class{constructor($,J){nt(this,"heap");nt(this,"length");if(!oe(m,y))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new J($),this.length=0}static create($){let J=u($);if(!J)return[];Ne(m,y,!0);let ae=new m($,J);return Ne(m,y,!1),ae}push($){this.heap[this.length++]=$}pop(){return this.heap[--this.length]}},y=new WeakMap,je(m,y,!1),m),d=(V=class{constructor($){je(this,R);je(this,E);je(this,_);je(this,S);je(this,v);je(this,A);nt(this,"ttl");nt(this,"ttlResolution");nt(this,"ttlAutopurge");nt(this,"updateAgeOnGet");nt(this,"updateAgeOnHas");nt(this,"allowStale");nt(this,"noDisposeOnSet");nt(this,"noUpdateTTL");nt(this,"maxEntrySize");nt(this,"sizeCalculation");nt(this,"noDeleteOnFetchRejection");nt(this,"noDeleteOnStaleGet");nt(this,"allowStaleOnFetchAbort");nt(this,"allowStaleOnFetchRejection");nt(this,"ignoreFetchAbort");je(this,k);je(this,x);je(this,D);je(this,N);je(this,B);je(this,q);je(this,K);je(this,C);je(this,M);je(this,L);je(this,H);je(this,G);je(this,z);je(this,F);je(this,ne);je(this,ce);je(this,re);je(this,de,()=>{});je(this,ge,()=>{});je(this,pe,()=>{});je(this,X,()=>!1);je(this,ie,$=>{});je(this,be,($,J,ae)=>{});je(this,he,($,J,ae,me)=>{if(ae||me)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});let{max:J=0,ttl:ae,ttlResolution:me=1,ttlAutopurge:w,updateAgeOnGet:p,updateAgeOnHas:h,allowStale:b,dispose:T,disposeAfter:U,noDisposeOnSet:ee,noUpdateTTL:ye,maxSize:Ae=0,maxEntrySize:Re=0,sizeCalculation:xe,fetchMethod:Oe,noDeleteOnFetchRejection:Me,noDeleteOnStaleGet:Ve,allowStaleOnFetchRejection:ct,allowStaleOnFetchAbort:Ze,ignoreFetchAbort:lt}=$;if(J!==0&&!l(J))throw new TypeError("max option must be a nonnegative integer");let yt=J?u(J):Array;if(!yt)throw new Error("invalid max value: "+J);if(Ne(this,E,J),Ne(this,_,Ae),this.maxEntrySize=Re||oe(this,_),this.sizeCalculation=xe,this.sizeCalculation){if(!oe(this,_)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(Oe!==void 0&&typeof Oe!="function")throw new TypeError("fetchMethod must be a function if specified");if(Ne(this,A,Oe),Ne(this,ce,!!Oe),Ne(this,D,new Map),Ne(this,N,new Array(J).fill(void 0)),Ne(this,B,new Array(J).fill(void 0)),Ne(this,q,new yt(J)),Ne(this,K,new yt(J)),Ne(this,C,0),Ne(this,M,0),Ne(this,L,f.create(J)),Ne(this,k,0),Ne(this,x,0),typeof T=="function"&&Ne(this,S,T),typeof U=="function"?(Ne(this,v,U),Ne(this,H,[])):(Ne(this,v,void 0),Ne(this,H,void 0)),Ne(this,ne,!!oe(this,S)),Ne(this,re,!!oe(this,v)),this.noDisposeOnSet=!!ee,this.noUpdateTTL=!!ye,this.noDeleteOnFetchRejection=!!Me,this.allowStaleOnFetchRejection=!!ct,this.allowStaleOnFetchAbort=!!Ze,this.ignoreFetchAbort=!!lt,this.maxEntrySize!==0){if(oe(this,_)!==0&&!l(oe(this,_)))throw new TypeError("maxSize must be a positive integer if specified");if(!l(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");ke(this,R,$v).call(this)}if(this.allowStale=!!b,this.noDeleteOnStaleGet=!!Ve,this.updateAgeOnGet=!!p,this.updateAgeOnHas=!!h,this.ttlResolution=l(me)||me===0?me:1,this.ttlAutopurge=!!w,this.ttl=ae||0,this.ttl){if(!l(this.ttl))throw new TypeError("ttl must be a positive integer if specified");ke(this,R,nh).call(this)}if(oe(this,E)===0&&this.ttl===0&&oe(this,_)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!oe(this,E)&&!oe(this,_)){let ft="LRU_CACHE_UNBOUNDED";a(ft)&&(r.add(ft),s("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",ft,V))}}static unsafeExposeInternals($){return{starts:oe($,z),ttls:oe($,F),sizes:oe($,G),keyMap:oe($,D),keyList:oe($,N),valList:oe($,B),next:oe($,q),prev:oe($,K),get head(){return oe($,C)},get tail(){return oe($,M)},free:oe($,L),isBackgroundFetch:J=>{var ae;return ke(ae=$,R,et).call(ae,J)},backgroundFetch:(J,ae,me,w)=>{var p;return ke(p=$,R,pl).call(p,J,ae,me,w)},moveToTail:J=>{var ae;return ke(ae=$,R,Ro).call(ae,J)},indexes:J=>{var ae;return ke(ae=$,R,$n).call(ae,J)},rindexes:J=>{var ae;return ke(ae=$,R,Fn).call(ae,J)},isStale:J=>{var ae;return oe(ae=$,X).call(ae,J)}}}get max(){return oe(this,E)}get maxSize(){return oe(this,_)}get calculatedSize(){return oe(this,x)}get size(){return oe(this,k)}get fetchMethod(){return oe(this,A)}get dispose(){return oe(this,S)}get disposeAfter(){return oe(this,v)}getRemainingTTL($){return oe(this,D).has($)?1/0:0}*entries(){for(let $ of ke(this,R,$n).call(this))oe(this,B)[$]!==void 0&&oe(this,N)[$]!==void 0&&!ke(this,R,et).call(this,oe(this,B)[$])&&(yield[oe(this,N)[$],oe(this,B)[$]])}*rentries(){for(let $ of ke(this,R,Fn).call(this))oe(this,B)[$]!==void 0&&oe(this,N)[$]!==void 0&&!ke(this,R,et).call(this,oe(this,B)[$])&&(yield[oe(this,N)[$],oe(this,B)[$]])}*keys(){for(let $ of ke(this,R,$n).call(this)){let J=oe(this,N)[$];J!==void 0&&!ke(this,R,et).call(this,oe(this,B)[$])&&(yield J)}}*rkeys(){for(let $ of ke(this,R,Fn).call(this)){let J=oe(this,N)[$];J!==void 0&&!ke(this,R,et).call(this,oe(this,B)[$])&&(yield J)}}*values(){for(let $ of ke(this,R,$n).call(this))oe(this,B)[$]!==void 0&&!ke(this,R,et).call(this,oe(this,B)[$])&&(yield oe(this,B)[$])}*rvalues(){for(let $ of ke(this,R,Fn).call(this))oe(this,B)[$]!==void 0&&!ke(this,R,et).call(this,oe(this,B)[$])&&(yield oe(this,B)[$])}[Symbol.iterator](){return this.entries()}find($,J={}){for(let ae of ke(this,R,$n).call(this)){let me=oe(this,B)[ae],w=ke(this,R,et).call(this,me)?me.__staleWhileFetching:me;if(w!==void 0&&$(w,oe(this,N)[ae],this))return this.get(oe(this,N)[ae],J)}}forEach($,J=this){for(let ae of ke(this,R,$n).call(this)){let me=oe(this,B)[ae],w=ke(this,R,et).call(this,me)?me.__staleWhileFetching:me;w!==void 0&&$.call(J,w,oe(this,N)[ae],this)}}rforEach($,J=this){for(let ae of ke(this,R,Fn).call(this)){let me=oe(this,B)[ae],w=ke(this,R,et).call(this,me)?me.__staleWhileFetching:me;w!==void 0&&$.call(J,w,oe(this,N)[ae],this)}}purgeStale(){let $=!1;for(let J of ke(this,R,Fn).call(this,{allowStale:!0}))oe(this,X).call(this,J)&&(this.delete(oe(this,N)[J]),$=!0);return $}dump(){let $=[];for(let J of ke(this,R,$n).call(this,{allowStale:!0})){let ae=oe(this,N)[J],me=oe(this,B)[J],w=ke(this,R,et).call(this,me)?me.__staleWhileFetching:me;if(w===void 0||ae===void 0)continue;let p={value:w};if(oe(this,F)&&oe(this,z)){p.ttl=oe(this,F)[J];let h=e.now()-oe(this,z)[J];p.start=Math.floor(Date.now()-h)}oe(this,G)&&(p.size=oe(this,G)[J]),$.unshift([ae,p])}return $}load($){this.clear();for(let[J,ae]of $){if(ae.start){let me=Date.now()-ae.start;ae.start=e.now()-me}this.set(J,ae.value,ae)}}set($,J,ae={}){var ye,Ae,Re,xe,Oe;if(J===void 0)return this.delete($),this;let{ttl:me=this.ttl,start:w,noDisposeOnSet:p=this.noDisposeOnSet,sizeCalculation:h=this.sizeCalculation,status:b}=ae,{noUpdateTTL:T=this.noUpdateTTL}=ae,U=oe(this,he).call(this,$,J,ae.size||0,h);if(this.maxEntrySize&&U>this.maxEntrySize)return b&&(b.set="miss",b.maxEntrySizeExceeded=!0),this.delete($),this;let ee=oe(this,k)===0?void 0:oe(this,D).get($);if(ee===void 0)ee=oe(this,k)===0?oe(this,M):oe(this,L).length!==0?oe(this,L).pop():oe(this,k)===oe(this,E)?ke(this,R,hl).call(this,!1):oe(this,k),oe(this,N)[ee]=$,oe(this,B)[ee]=J,oe(this,D).set($,ee),oe(this,q)[oe(this,M)]=ee,oe(this,K)[ee]=oe(this,M),Ne(this,M,ee),Ia(this,k)._++,oe(this,be).call(this,ee,U,b),b&&(b.set="add"),T=!1;else{ke(this,R,Ro).call(this,ee);let Me=oe(this,B)[ee];if(J!==Me){if(oe(this,ce)&&ke(this,R,et).call(this,Me)){Me.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:Ve}=Me;Ve!==void 0&&!p&&(oe(this,ne)&&((ye=oe(this,S))==null||ye.call(this,Ve,$,"set")),oe(this,re)&&((Ae=oe(this,H))==null||Ae.push([Ve,$,"set"])))}else p||(oe(this,ne)&&((Re=oe(this,S))==null||Re.call(this,Me,$,"set")),oe(this,re)&&((xe=oe(this,H))==null||xe.push([Me,$,"set"])));if(oe(this,ie).call(this,ee),oe(this,be).call(this,ee,U,b),oe(this,B)[ee]=J,b){b.set="replace";let Ve=Me&&ke(this,R,et).call(this,Me)?Me.__staleWhileFetching:Me;Ve!==void 0&&(b.oldValue=Ve)}}else b&&(b.set="update")}if(me!==0&&!oe(this,F)&&ke(this,R,nh).call(this),oe(this,F)&&(T||oe(this,pe).call(this,ee,me,w),b&&oe(this,ge).call(this,b,ee)),!p&&oe(this,re)&&oe(this,H)){let Me=oe(this,H),Ve;for(;Ve=Me==null?void 0:Me.shift();)(Oe=oe(this,v))==null||Oe.call(this,...Ve)}return this}pop(){var $;try{for(;oe(this,k);){let J=oe(this,B)[oe(this,C)];if(ke(this,R,hl).call(this,!0),ke(this,R,et).call(this,J)){if(J.__staleWhileFetching)return J.__staleWhileFetching}else if(J!==void 0)return J}}finally{if(oe(this,re)&&oe(this,H)){let J=oe(this,H),ae;for(;ae=J==null?void 0:J.shift();)($=oe(this,v))==null||$.call(this,...ae)}}}has($,J={}){let{updateAgeOnHas:ae=this.updateAgeOnHas,status:me}=J,w=oe(this,D).get($);if(w!==void 0){let p=oe(this,B)[w];if(ke(this,R,et).call(this,p)&&p.__staleWhileFetching===void 0)return!1;if(oe(this,X).call(this,w))me&&(me.has="stale",oe(this,ge).call(this,me,w));else return ae&&oe(this,de).call(this,w),me&&(me.has="hit",oe(this,ge).call(this,me,w)),!0}else me&&(me.has="miss");return!1}peek($,J={}){let{allowStale:ae=this.allowStale}=J,me=oe(this,D).get($);if(me!==void 0&&(ae||!oe(this,X).call(this,me))){let w=oe(this,B)[me];return ke(this,R,et).call(this,w)?w.__staleWhileFetching:w}}async fetch($,J={}){let{allowStale:ae=this.allowStale,updateAgeOnGet:me=this.updateAgeOnGet,noDeleteOnStaleGet:w=this.noDeleteOnStaleGet,ttl:p=this.ttl,noDisposeOnSet:h=this.noDisposeOnSet,size:b=0,sizeCalculation:T=this.sizeCalculation,noUpdateTTL:U=this.noUpdateTTL,noDeleteOnFetchRejection:ee=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:ye=this.allowStaleOnFetchRejection,ignoreFetchAbort:Ae=this.ignoreFetchAbort,allowStaleOnFetchAbort:Re=this.allowStaleOnFetchAbort,context:xe,forceRefresh:Oe=!1,status:Me,signal:Ve}=J;if(!oe(this,ce))return Me&&(Me.fetch="get"),this.get($,{allowStale:ae,updateAgeOnGet:me,noDeleteOnStaleGet:w,status:Me});let ct={allowStale:ae,updateAgeOnGet:me,noDeleteOnStaleGet:w,ttl:p,noDisposeOnSet:h,size:b,sizeCalculation:T,noUpdateTTL:U,noDeleteOnFetchRejection:ee,allowStaleOnFetchRejection:ye,allowStaleOnFetchAbort:Re,ignoreFetchAbort:Ae,status:Me,signal:Ve},Ze=oe(this,D).get($);if(Ze===void 0){Me&&(Me.fetch="miss");let lt=ke(this,R,pl).call(this,$,Ze,ct,xe);return lt.__returned=lt}else{let lt=oe(this,B)[Ze];if(ke(this,R,et).call(this,lt)){let fo=ae&<.__staleWhileFetching!==void 0;return Me&&(Me.fetch="inflight",fo&&(Me.returnedStale=!0)),fo?lt.__staleWhileFetching:lt.__returned=lt}let yt=oe(this,X).call(this,Ze);if(!Oe&&!yt)return Me&&(Me.fetch="hit"),ke(this,R,Ro).call(this,Ze),me&&oe(this,de).call(this,Ze),Me&&oe(this,ge).call(this,Me,Ze),lt;let ft=ke(this,R,pl).call(this,$,Ze,ct,xe),hs=ft.__staleWhileFetching!==void 0&&ae;return Me&&(Me.fetch=yt?"stale":"refresh",hs&&yt&&(Me.returnedStale=!0)),hs?ft.__staleWhileFetching:ft.__returned=ft}}get($,J={}){let{allowStale:ae=this.allowStale,updateAgeOnGet:me=this.updateAgeOnGet,noDeleteOnStaleGet:w=this.noDeleteOnStaleGet,status:p}=J,h=oe(this,D).get($);if(h!==void 0){let b=oe(this,B)[h],T=ke(this,R,et).call(this,b);return p&&oe(this,ge).call(this,p,h),oe(this,X).call(this,h)?(p&&(p.get="stale"),T?(p&&ae&&b.__staleWhileFetching!==void 0&&(p.returnedStale=!0),ae?b.__staleWhileFetching:void 0):(w||this.delete($),p&&ae&&(p.returnedStale=!0),ae?b:void 0)):(p&&(p.get="hit"),T?b.__staleWhileFetching:(ke(this,R,Ro).call(this,h),me&&oe(this,de).call(this,h),b))}else p&&(p.get="miss")}delete($){var ae,me,w,p;let J=!1;if(oe(this,k)!==0){let h=oe(this,D).get($);if(h!==void 0)if(J=!0,oe(this,k)===1)this.clear();else{oe(this,ie).call(this,h);let b=oe(this,B)[h];ke(this,R,et).call(this,b)?b.__abortController.abort(new Error("deleted")):(oe(this,ne)||oe(this,re))&&(oe(this,ne)&&((ae=oe(this,S))==null||ae.call(this,b,$,"delete")),oe(this,re)&&((me=oe(this,H))==null||me.push([b,$,"delete"]))),oe(this,D).delete($),oe(this,N)[h]=void 0,oe(this,B)[h]=void 0,h===oe(this,M)?Ne(this,M,oe(this,K)[h]):h===oe(this,C)?Ne(this,C,oe(this,q)[h]):(oe(this,q)[oe(this,K)[h]]=oe(this,q)[h],oe(this,K)[oe(this,q)[h]]=oe(this,K)[h]),Ia(this,k)._--,oe(this,L).push(h)}}if(oe(this,re)&&((w=oe(this,H))!=null&&w.length)){let h=oe(this,H),b;for(;b=h==null?void 0:h.shift();)(p=oe(this,v))==null||p.call(this,...b)}return J}clear(){var $,J,ae;for(let me of ke(this,R,Fn).call(this,{allowStale:!0})){let w=oe(this,B)[me];if(ke(this,R,et).call(this,w))w.__abortController.abort(new Error("deleted"));else{let p=oe(this,N)[me];oe(this,ne)&&(($=oe(this,S))==null||$.call(this,w,p,"delete")),oe(this,re)&&((J=oe(this,H))==null||J.push([w,p,"delete"]))}}if(oe(this,D).clear(),oe(this,B).fill(void 0),oe(this,N).fill(void 0),oe(this,F)&&oe(this,z)&&(oe(this,F).fill(0),oe(this,z).fill(0)),oe(this,G)&&oe(this,G).fill(0),Ne(this,C,0),Ne(this,M,0),oe(this,L).length=0,Ne(this,x,0),Ne(this,k,0),oe(this,re)&&oe(this,H)){let me=oe(this,H),w;for(;w=me==null?void 0:me.shift();)(ae=oe(this,v))==null||ae.call(this,...w)}}},E=new WeakMap,_=new WeakMap,S=new WeakMap,v=new WeakMap,A=new WeakMap,k=new WeakMap,x=new WeakMap,D=new WeakMap,N=new WeakMap,B=new WeakMap,q=new WeakMap,K=new WeakMap,C=new WeakMap,M=new WeakMap,L=new WeakMap,H=new WeakMap,G=new WeakMap,z=new WeakMap,F=new WeakMap,ne=new WeakMap,ce=new WeakMap,re=new WeakMap,R=new WeakSet,nh=function(){let $=new c(oe(this,E)),J=new c(oe(this,E));Ne(this,F,$),Ne(this,z,J),Ne(this,pe,(w,p,h=e.now())=>{if(J[w]=p!==0?h:0,$[w]=p,p!==0&&this.ttlAutopurge){let b=setTimeout(()=>{oe(this,X).call(this,w)&&this.delete(oe(this,N)[w])},p+1);b.unref&&b.unref()}}),Ne(this,de,w=>{J[w]=$[w]!==0?e.now():0}),Ne(this,ge,(w,p)=>{if($[p]){let h=$[p],b=J[p];w.ttl=h,w.start=b,w.now=ae||me();let T=w.now-b;w.remainingTTL=h-T}});let ae=0,me=()=>{let w=e.now();if(this.ttlResolution>0){ae=w;let p=setTimeout(()=>ae=0,this.ttlResolution);p.unref&&p.unref()}return w};this.getRemainingTTL=w=>{let p=oe(this,D).get(w);if(p===void 0)return 0;let h=$[p],b=J[p];if(h===0||b===0)return 1/0;let T=(ae||me())-b;return h-T},Ne(this,X,w=>$[w]!==0&&J[w]!==0&&(ae||me())-J[w]>$[w])},de=new WeakMap,ge=new WeakMap,pe=new WeakMap,X=new WeakMap,$v=function(){let $=new c(oe(this,E));Ne(this,x,0),Ne(this,G,$),Ne(this,ie,J=>{Ne(this,x,oe(this,x)-$[J]),$[J]=0}),Ne(this,he,(J,ae,me,w)=>{if(ke(this,R,et).call(this,ae))return 0;if(!l(me))if(w){if(typeof w!="function")throw new TypeError("sizeCalculation must be a function");if(me=w(ae,J),!l(me))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return me}),Ne(this,be,(J,ae,me)=>{if($[J]=ae,oe(this,_)){let w=oe(this,_)-$[J];for(;oe(this,x)>w;)ke(this,R,hl).call(this,!0)}Ne(this,x,oe(this,x)+$[J]),me&&(me.entrySize=ae,me.totalCalculatedSize=oe(this,x))})},ie=new WeakMap,be=new WeakMap,he=new WeakMap,$n=function*({allowStale:$=this.allowStale}={}){if(oe(this,k))for(let J=oe(this,M);!(!ke(this,R,ih).call(this,J)||(($||!oe(this,X).call(this,J))&&(yield J),J===oe(this,C)));)J=oe(this,K)[J]},Fn=function*({allowStale:$=this.allowStale}={}){if(oe(this,k))for(let J=oe(this,C);!(!ke(this,R,ih).call(this,J)||(($||!oe(this,X).call(this,J))&&(yield J),J===oe(this,M)));)J=oe(this,q)[J]},ih=function($){return $!==void 0&&oe(this,D).get(oe(this,N)[$])===$},hl=function($){var w,p;let J=oe(this,C),ae=oe(this,N)[J],me=oe(this,B)[J];return oe(this,ce)&&ke(this,R,et).call(this,me)?me.__abortController.abort(new Error("evicted")):(oe(this,ne)||oe(this,re))&&(oe(this,ne)&&((w=oe(this,S))==null||w.call(this,me,ae,"evict")),oe(this,re)&&((p=oe(this,H))==null||p.push([me,ae,"evict"]))),oe(this,ie).call(this,J),$&&(oe(this,N)[J]=void 0,oe(this,B)[J]=void 0,oe(this,L).push(J)),oe(this,k)===1?(Ne(this,C,Ne(this,M,0)),oe(this,L).length=0):Ne(this,C,oe(this,q)[J]),oe(this,D).delete(ae),Ia(this,k)._--,J},pl=function($,J,ae,me){let w=J===void 0?void 0:oe(this,B)[J];if(ke(this,R,et).call(this,w))return w;let p=new i,{signal:h}=ae;h==null||h.addEventListener("abort",()=>p.abort(h.reason),{signal:p.signal});let b={signal:p.signal,options:ae,context:me},T=(xe,Oe=!1)=>{let{aborted:Me}=p.signal,Ve=ae.ignoreFetchAbort&&xe!==void 0;if(ae.status&&(Me&&!Oe?(ae.status.fetchAborted=!0,ae.status.fetchError=p.signal.reason,Ve&&(ae.status.fetchAbortIgnored=!0)):ae.status.fetchResolved=!0),Me&&!Ve&&!Oe)return ee(p.signal.reason);let ct=Ae;return oe(this,B)[J]===Ae&&(xe===void 0?ct.__staleWhileFetching?oe(this,B)[J]=ct.__staleWhileFetching:this.delete($):(ae.status&&(ae.status.fetchUpdated=!0),this.set($,xe,b.options))),xe},U=xe=>(ae.status&&(ae.status.fetchRejected=!0,ae.status.fetchError=xe),ee(xe)),ee=xe=>{let{aborted:Oe}=p.signal,Me=Oe&&ae.allowStaleOnFetchAbort,Ve=Me||ae.allowStaleOnFetchRejection,ct=Ve||ae.noDeleteOnFetchRejection,Ze=Ae;if(oe(this,B)[J]===Ae&&(!ct||Ze.__staleWhileFetching===void 0?this.delete($):Me||(oe(this,B)[J]=Ze.__staleWhileFetching)),Ve)return ae.status&&Ze.__staleWhileFetching!==void 0&&(ae.status.returnedStale=!0),Ze.__staleWhileFetching;if(Ze.__returned===Ze)throw xe},ye=(xe,Oe)=>{var Ve;let Me=(Ve=oe(this,A))==null?void 0:Ve.call(this,$,w,b);Me&&Me instanceof Promise&&Me.then(ct=>xe(ct===void 0?void 0:ct),Oe),p.signal.addEventListener("abort",()=>{(!ae.ignoreFetchAbort||ae.allowStaleOnFetchAbort)&&(xe(void 0),ae.allowStaleOnFetchAbort&&(xe=ct=>T(ct,!0)))})};ae.status&&(ae.status.fetchDispatched=!0);let Ae=new Promise(ye).then(T,U),Re=Object.assign(Ae,{__abortController:p,__staleWhileFetching:w,__returned:void 0});return J===void 0?(this.set($,Re,{...b.options,status:void 0}),J=oe(this,D).get($)):oe(this,B)[J]=Re,Re},et=function($){if(!oe(this,ce))return!1;let J=$;return!!J&&J instanceof Promise&&J.hasOwnProperty("__staleWhileFetching")&&J.__abortController instanceof i},sh=function($,J){oe(this,K)[J]=$,oe(this,q)[$]=J},Ro=function($){$!==oe(this,M)&&($===oe(this,C)?Ne(this,C,oe(this,q)[$]):ke(this,R,sh).call(this,oe(this,K)[$],oe(this,q)[$]),ke(this,R,sh).call(this,oe(this,M),$),Ne(this,M,$))},V);t.LRUCache=d}),On=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.ContainerIterator=t.Container=t.Base=void 0;var e=class{constructor(s=0){this.iteratorType=s}equals(s){return this.o===s.o}};t.ContainerIterator=e;var r=class{constructor(){this.i=0}get length(){return this.i}size(){return this.i}empty(){return this.i===0}};t.Base=r;var n=class extends r{};t.Container=n}),TC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=void 0;var e=On(),r=class extends e.Base{constructor(s=[]){super(),this.S=[];let i=this;s.forEach(function(o){i.push(o)})}clear(){this.i=0,this.S=[]}push(s){return this.S.push(s),this.i+=1,this.i}pop(){if(this.i!==0)return this.i-=1,this.S.pop()}top(){return this.S[this.i-1]}},n=r;t.default=n}),xC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=void 0;var e=On(),r=class extends e.Base{constructor(s=[]){super(),this.j=0,this.q=[];let i=this;s.forEach(function(o){i.push(o)})}clear(){this.q=[],this.i=this.j=0}push(s){let i=this.q.length;if(this.j/i>.5&&this.j+this.i>=i&&i>4096){let o=this.i;for(let a=0;a{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=void 0;var e=On(),r=class extends e.Base{constructor(s=[],i=function(a,l){return a>l?-1:a>1;for(let l=this.i-1>>1;l>=0;--l)this.k(l,a)}m(s){let i=this.C[s];for(;s>0;){let o=s-1>>1,a=this.C[o];if(this.v(a,i)<=0)break;this.C[s]=a,s=o}this.C[s]=i}k(s,i){let o=this.C[s];for(;s0&&(a=l,u=this.C[l]),this.v(u,o)>=0)break;this.C[s]=u,s=a}this.C[s]=o}clear(){this.i=0,this.C.length=0}push(s){this.C.push(s),this.m(this.i),this.i+=1}pop(){if(this.i===0)return;let s=this.C[0],i=this.C.pop();return this.i-=1,this.i&&(this.C[0]=i,this.k(0,this.i>>1)),s}top(){return this.C[0]}find(s){return this.C.indexOf(s)>=0}remove(s){let i=this.C.indexOf(s);return i<0?!1:(i===0?this.pop():i===this.i-1?(this.C.pop(),this.i-=1):(this.C.splice(i,1,this.C.pop()),this.i-=1,this.m(i),this.k(i,this.i>>1)),!0)}updateItem(s){let i=this.C.indexOf(s);return i<0?!1:(this.m(i),this.k(i,this.i>>1),!0)}toArray(){return[...this.C]}},n=r;t.default=n}),Dp=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=void 0;var e=On(),r=class extends e.Container{},n=r;t.default=n}),Rn=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.throwIteratorAccessError=e;function e(){throw new RangeError("Iterator access denied!")}}),Fv=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.RandomIterator=void 0;var e=On(),r=Rn(),n=class extends e.ContainerIterator{constructor(s,i){super(i),this.o=s,this.iteratorType===0?(this.pre=function(){return this.o===0&&(0,r.throwIteratorAccessError)(),this.o-=1,this},this.next=function(){return this.o===this.container.size()&&(0,r.throwIteratorAccessError)(),this.o+=1,this}):(this.pre=function(){return this.o===this.container.size()-1&&(0,r.throwIteratorAccessError)(),this.o+=1,this},this.next=function(){return this.o===-1&&(0,r.throwIteratorAccessError)(),this.o-=1,this})}get pointer(){return this.container.getElementByPos(this.o)}set pointer(s){this.container.setElementByPos(this.o,s)}};t.RandomIterator=n}),CC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=void 0;var e=n(Dp()),r=Fv();function n(a){return a&&a.t?a:{default:a}}var s=class Uv extends r.RandomIterator{constructor(l,u,c){super(l,c),this.container=u}copy(){return new Uv(this.o,this.container,this.iteratorType)}},i=class extends e.default{constructor(a=[],l=!0){if(super(),Array.isArray(a))this.J=l?[...a]:a,this.i=a.length;else{this.J=[];let u=this;a.forEach(function(c){u.pushBack(c)})}}clear(){this.i=0,this.J.length=0}begin(){return new s(0,this)}end(){return new s(this.i,this)}rBegin(){return new s(this.i-1,this,1)}rEnd(){return new s(-1,this,1)}front(){return this.J[0]}back(){return this.J[this.i-1]}getElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;return this.J[a]}eraseElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;return this.J.splice(a,1),this.i-=1,this.i}eraseElementByValue(a){let l=0;for(let u=0;uthis.i-1)throw new RangeError;this.J[a]=l}insert(a,l,u=1){if(a<0||a>this.i)throw new RangeError;return this.J.splice(a,0,...new Array(u).fill(l)),this.i+=u,this.i}find(a){for(let l=0;l{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=void 0;var e=s(Dp()),r=On(),n=Rn();function s(l){return l&&l.t?l:{default:l}}var i=class jv extends r.ContainerIterator{constructor(u,c,f,d){super(d),this.o=u,this.h=c,this.container=f,this.iteratorType===0?(this.pre=function(){return this.o.L===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this})}get pointer(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.l}set pointer(u){this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.l=u}copy(){return new jv(this.o,this.h,this.container,this.iteratorType)}},o=class extends e.default{constructor(l=[]){super(),this.h={},this.p=this._=this.h.L=this.h.B=this.h;let u=this;l.forEach(function(c){u.pushBack(c)})}V(l){let{L:u,B:c}=l;u.B=c,c.L=u,l===this.p&&(this.p=c),l===this._&&(this._=u),this.i-=1}G(l,u){let c=u.B,f={l,L:u,B:c};u.B=f,c.L=f,u===this.h&&(this.p=f),c===this.h&&(this._=f),this.i+=1}clear(){this.i=0,this.p=this._=this.h.L=this.h.B=this.h}begin(){return new i(this.p,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this._,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){return this.p.l}back(){return this._.l}getElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let u=this.p;for(;l--;)u=u.B;return u.l}eraseElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let u=this.p;for(;l--;)u=u.B;return this.V(u),this.i}eraseElementByValue(l){let u=this.p;for(;u!==this.h;)u.l===l&&this.V(u),u=u.B;return this.i}eraseElementByIterator(l){let u=l.o;return u===this.h&&(0,n.throwIteratorAccessError)(),l=l.next(),this.V(u),l}pushBack(l){return this.G(l,this._),this.i}popBack(){if(this.i===0)return;let l=this._.l;return this.V(this._),l}pushFront(l){return this.G(l,this.h),this.i}popFront(){if(this.i===0)return;let l=this.p.l;return this.V(this.p),l}setElementByPos(l,u){if(l<0||l>this.i-1)throw new RangeError;let c=this.p;for(;l--;)c=c.B;c.l=u}insert(l,u,c=1){if(l<0||l>this.i)throw new RangeError;if(c<=0)return this.i;if(l===0)for(;c--;)this.pushFront(u);else if(l===this.i)for(;c--;)this.pushBack(u);else{let f=this.p;for(let g=1;g{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=void 0;var e=n(Dp()),r=Fv();function n(a){return a&&a.t?a:{default:a}}var s=class Wv extends r.RandomIterator{constructor(l,u,c){super(l,c),this.container=u}copy(){return new Wv(this.o,this.container,this.iteratorType)}},i=class extends e.default{constructor(a=[],l=4096){super(),this.j=0,this.D=0,this.R=0,this.N=0,this.P=0,this.A=[];let u=(()=>{if(typeof a.length=="number")return a.length;if(typeof a.size=="number")return a.size;if(typeof a.size=="function")return a.size();throw new TypeError("Cannot get the length or size of the container")})();this.F=l,this.P=Math.max(Math.ceil(u/this.F),1);for(let d=0;d>1)-(c>>1),this.D=this.N=this.F-u%this.F>>1;let f=this;a.forEach(function(d){f.pushBack(d)})}T(){let a=[],l=Math.max(this.P>>1,1);for(let u=0;u>1}begin(){return new s(0,this)}end(){return new s(this.i,this)}rBegin(){return new s(this.i-1,this,1)}rEnd(){return new s(-1,this,1)}front(){if(this.i!==0)return this.A[this.j][this.D]}back(){if(this.i!==0)return this.A[this.R][this.N]}pushBack(a){return this.i&&(this.N0?this.N-=1:this.R>0?(this.R-=1,this.N=this.F-1):(this.R=this.P-1,this.N=this.F-1)),this.i-=1,a}pushFront(a){return this.i&&(this.D>0?this.D-=1:this.j>0?(this.j-=1,this.D=this.F-1):(this.j=this.P-1,this.D=this.F-1),this.j===this.R&&this.D===this.N&&this.T()),this.i+=1,this.A[this.j][this.D]=a,this.i}popFront(){if(this.i===0)return;let a=this.A[this.j][this.D];return this.i!==1&&(this.Dthis.i-1)throw new RangeError;let{curNodeBucketIndex:l,curNodePointerIndex:u}=this.O(a);return this.A[l][u]}setElementByPos(a,l){if(a<0||a>this.i-1)throw new RangeError;let{curNodeBucketIndex:u,curNodePointerIndex:c}=this.O(a);this.A[u][c]=l}insert(a,l,u=1){if(a<0||a>this.i)throw new RangeError;if(a===0)for(;u--;)this.pushFront(l);else if(a===this.i)for(;u--;)this.pushBack(l);else{let c=[];for(let f=a;fthis.i-1)throw new RangeError;if(a===0)this.popFront();else if(a===this.i-1)this.popBack();else{let l=[];for(let c=a+1;ca;)this.popBack();return this.i}sort(a){let l=[];for(let u=0;u{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.TreeNodeEnableIndex=t.TreeNode=void 0;var e=class{constructor(n,s){this.ee=1,this.u=void 0,this.l=void 0,this.U=void 0,this.W=void 0,this.tt=void 0,this.u=n,this.l=s}L(){let n=this;if(n.ee===1&&n.tt.tt===n)n=n.W;else if(n.U)for(n=n.U;n.W;)n=n.W;else{let s=n.tt;for(;s.U===n;)n=s,s=n.tt;n=s}return n}B(){let n=this;if(n.W){for(n=n.W;n.U;)n=n.U;return n}else{let s=n.tt;for(;s.W===n;)n=s,s=n.tt;return n.W!==s?s:n}}te(){let n=this.tt,s=this.W,i=s.U;return n.tt===this?n.tt=s:n.U===this?n.U=s:n.W=s,s.tt=n,s.U=this,this.tt=s,this.W=i,i&&(i.tt=this),s}se(){let n=this.tt,s=this.U,i=s.W;return n.tt===this?n.tt=s:n.U===this?n.U=s:n.W=s,s.tt=n,s.W=this,this.tt=s,this.U=i,i&&(i.tt=this),s}};t.TreeNode=e;var r=class extends e{constructor(){super(...arguments),this.rt=1}te(){let n=super.te();return this.ie(),n.ie(),n}se(){let n=super.se();return this.ie(),n.ie(),n}ie(){this.rt=1,this.U&&(this.rt+=this.U.rt),this.W&&(this.rt+=this.W.rt)}};t.TreeNodeEnableIndex=r}),zv=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=void 0;var e=OC(),r=On(),n=Rn(),s=class extends r.Container{constructor(o=function(l,u){return lu?1:0},a=!1){super(),this.Y=void 0,this.v=o,a?(this.re=e.TreeNodeEnableIndex,this.M=function(l,u,c){let f=this.ne(l,u,c);if(f){let d=f.tt;for(;d!==this.h;)d.rt+=1,d=d.tt;let g=this.he(f);if(g){let{parentNode:m,grandParent:y,curNode:E}=g;m.ie(),y.ie(),E.ie()}}return this.i},this.V=function(l){let u=this.fe(l);for(;u!==this.h;)u.rt-=1,u=u.tt}):(this.re=e.TreeNode,this.M=function(l,u,c){let f=this.ne(l,u,c);return f&&this.he(f),this.i},this.V=this.fe),this.h=new this.re}X(o,a){let l=this.h;for(;o;){let u=this.v(o.u,a);if(u<0)o=o.W;else if(u>0)l=o,o=o.U;else return o}return l}Z(o,a){let l=this.h;for(;o;)this.v(o.u,a)<=0?o=o.W:(l=o,o=o.U);return l}$(o,a){let l=this.h;for(;o;){let u=this.v(o.u,a);if(u<0)l=o,o=o.W;else if(u>0)o=o.U;else return o}return l}rr(o,a){let l=this.h;for(;o;)this.v(o.u,a)<0?(l=o,o=o.W):o=o.U;return l}ue(o){for(;;){let a=o.tt;if(a===this.h)return;if(o.ee===1){o.ee=0;return}if(o===a.U){let l=a.W;if(l.ee===1)l.ee=0,a.ee=1,a===this.Y?this.Y=a.te():a.te();else if(l.W&&l.W.ee===1){l.ee=a.ee,a.ee=0,l.W.ee=0,a===this.Y?this.Y=a.te():a.te();return}else l.U&&l.U.ee===1?(l.ee=1,l.U.ee=0,l.se()):(l.ee=1,o=a)}else{let l=a.U;if(l.ee===1)l.ee=0,a.ee=1,a===this.Y?this.Y=a.se():a.se();else if(l.U&&l.U.ee===1){l.ee=a.ee,a.ee=0,l.U.ee=0,a===this.Y?this.Y=a.se():a.se();return}else l.W&&l.W.ee===1?(l.ee=1,l.W.ee=0,l.te()):(l.ee=1,o=a)}}}fe(o){if(this.i===1)return this.clear(),this.h;let a=o;for(;a.U||a.W;){if(a.W)for(a=a.W;a.U;)a=a.U;else a=a.U;[o.u,a.u]=[a.u,o.u],[o.l,a.l]=[a.l,o.l],o=a}this.h.U===a?this.h.U=a.tt:this.h.W===a&&(this.h.W=a.tt),this.ue(a);let l=a.tt;return a===l.U?l.U=void 0:l.W=void 0,this.i-=1,this.Y.ee=0,l}oe(o,a){return o===void 0?!1:this.oe(o.U,a)||a(o)?!0:this.oe(o.W,a)}he(o){for(;;){let a=o.tt;if(a.ee===0)return;let l=a.tt;if(a===l.U){let u=l.W;if(u&&u.ee===1){if(u.ee=a.ee=0,l===this.Y)return;l.ee=1,o=l;continue}else if(o===a.W){if(o.ee=0,o.U&&(o.U.tt=a),o.W&&(o.W.tt=l),a.W=o.U,l.U=o.W,o.U=a,o.W=l,l===this.Y)this.Y=o,this.h.tt=o;else{let c=l.tt;c.U===l?c.U=o:c.W=o}return o.tt=l.tt,a.tt=o,l.tt=o,l.ee=1,{parentNode:a,grandParent:l,curNode:o}}else a.ee=0,l===this.Y?this.Y=l.se():l.se(),l.ee=1}else{let u=l.U;if(u&&u.ee===1){if(u.ee=a.ee=0,l===this.Y)return;l.ee=1,o=l;continue}else if(o===a.U){if(o.ee=0,o.U&&(o.U.tt=l),o.W&&(o.W.tt=a),l.W=o.U,a.U=o.W,o.U=l,o.W=a,l===this.Y)this.Y=o,this.h.tt=o;else{let c=l.tt;c.U===l?c.U=o:c.W=o}return o.tt=l.tt,a.tt=o,l.tt=o,l.ee=1,{parentNode:a,grandParent:l,curNode:o}}else a.ee=0,l===this.Y?this.Y=l.te():l.te(),l.ee=1}return}}ne(o,a,l){if(this.Y===void 0){this.i+=1,this.Y=new this.re(o,a),this.Y.ee=0,this.Y.tt=this.h,this.h.tt=this.Y,this.h.U=this.Y,this.h.W=this.Y;return}let u,c=this.h.U,f=this.v(c.u,o);if(f===0){c.l=a;return}else if(f>0)c.U=new this.re(o,a),c.U.tt=c,u=c.U,this.h.U=u;else{let d=this.h.W,g=this.v(d.u,o);if(g===0){d.l=a;return}else if(g<0)d.W=new this.re(o,a),d.W.tt=d,u=d.W,this.h.W=u;else{if(l!==void 0){let m=l.o;if(m!==this.h){let y=this.v(m.u,o);if(y===0){m.l=a;return}else if(y>0){let E=m.L(),_=this.v(E.u,o);if(_===0){E.l=a;return}else _<0&&(u=new this.re(o,a),E.W===void 0?(E.W=u,u.tt=E):(m.U=u,u.tt=m))}}}if(u===void 0)for(u=this.Y;;){let m=this.v(u.u,o);if(m>0){if(u.U===void 0){u.U=new this.re(o,a),u.U.tt=u,u=u.U;break}u=u.U}else if(m<0){if(u.W===void 0){u.W=new this.re(o,a),u.W.tt=u,u=u.W;break}u=u.W}else{u.l=a;return}}}}return this.i+=1,u}I(o,a){for(;o;){let l=this.v(o.u,a);if(l<0)o=o.W;else if(l>0)o=o.U;else return o}return o||this.h}clear(){this.i=0,this.Y=void 0,this.h.tt=void 0,this.h.U=this.h.W=void 0}updateKeyByIterator(o,a){let l=o.o;if(l===this.h&&(0,n.throwIteratorAccessError)(),this.i===1)return l.u=a,!0;if(l===this.h.U)return this.v(l.B().u,a)>0?(l.u=a,!0):!1;if(l===this.h.W)return this.v(l.L().u,a)<0?(l.u=a,!0):!1;let u=l.L().u;if(this.v(u,a)>=0)return!1;let c=l.B().u;return this.v(c,a)<=0?!1:(l.u=a,!0)}eraseElementByPos(o){if(o<0||o>this.i-1)throw new RangeError;let a=0,l=this;return this.oe(this.Y,function(u){return o===a?(l.V(u),!0):(a+=1,!1)}),this.i}eraseElementByKey(o){if(this.i===0)return!1;let a=this.I(this.Y,o);return a===this.h?!1:(this.V(a),!0)}eraseElementByIterator(o){let a=o.o;a===this.h&&(0,n.throwIteratorAccessError)();let l=a.W===void 0;return o.iteratorType===0?l&&o.next():(!l||a.U===void 0)&&o.next(),this.V(a),o}forEach(o){let a=0;for(let l of this)o(l,a++,this)}getElementByPos(o){if(o<0||o>this.i-1)throw new RangeError;let a,l=0;for(let u of this){if(l===o){a=u;break}l+=1}return a}getHeight(){if(this.i===0)return 0;let o=function(a){return a?Math.max(o(a.U),o(a.W))+1:0};return o(this.Y)}},i=s;t.default=i}),Hv=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=void 0;var e=On(),r=Rn(),n=class extends e.ContainerIterator{constructor(i,o,a){super(a),this.o=i,this.h=o,this.iteratorType===0?(this.pre=function(){return this.o===this.h.U&&(0,r.throwIteratorAccessError)(),this.o=this.o.L(),this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.B(),this}):(this.pre=function(){return this.o===this.h.W&&(0,r.throwIteratorAccessError)(),this.o=this.o.B(),this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.L(),this})}get index(){let i=this.o,o=this.h.tt;if(i===this.h)return o?o.rt-1:0;let a=0;for(i.U&&(a+=i.U.rt);i!==o;){let l=i.tt;i===l.W&&(a+=1,l.U&&(a+=l.U.rt)),i=l}return a}},s=n;t.default=s}),RC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=void 0;var e=s(zv()),r=s(Hv()),n=Rn();function s(l){return l&&l.t?l:{default:l}}var i=class Vv extends r.default{constructor(u,c,f,d){super(u,c,d),this.container=f}get pointer(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.u}copy(){return new Vv(this.o,this.h,this.container,this.iteratorType)}},o=class extends e.default{constructor(l=[],u,c){super(u,c);let f=this;l.forEach(function(d){f.insert(d)})}*K(l){l!==void 0&&(yield*this.K(l.U),yield l.u,yield*this.K(l.W))}begin(){return new i(this.h.U||this.h,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this.h.W||this.h,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){return this.h.U?this.h.U.u:void 0}back(){return this.h.W?this.h.W.u:void 0}insert(l,u){return this.M(l,void 0,u)}find(l){let u=this.I(this.Y,l);return new i(u,this.h,this)}lowerBound(l){let u=this.X(this.Y,l);return new i(u,this.h,this)}upperBound(l){let u=this.Z(this.Y,l);return new i(u,this.h,this)}reverseLowerBound(l){let u=this.$(this.Y,l);return new i(u,this.h,this)}reverseUpperBound(l){let u=this.rr(this.Y,l);return new i(u,this.h,this)}union(l){let u=this;return l.forEach(function(c){u.insert(c)}),this.i}[Symbol.iterator](){return this.K(this.Y)}},a=o;t.default=a}),PC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=void 0;var e=s(zv()),r=s(Hv()),n=Rn();function s(l){return l&&l.t?l:{default:l}}var i=class qv extends r.default{constructor(u,c,f,d){super(u,c,d),this.container=f}get pointer(){this.o===this.h&&(0,n.throwIteratorAccessError)();let u=this;return new Proxy([],{get(c,f){if(f==="0")return u.o.u;if(f==="1")return u.o.l},set(c,f,d){if(f!=="1")throw new TypeError("props must be 1");return u.o.l=d,!0}})}copy(){return new qv(this.o,this.h,this.container,this.iteratorType)}},o=class extends e.default{constructor(l=[],u,c){super(u,c);let f=this;l.forEach(function(d){f.setElement(d[0],d[1])})}*K(l){l!==void 0&&(yield*this.K(l.U),yield[l.u,l.l],yield*this.K(l.W))}begin(){return new i(this.h.U||this.h,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this.h.W||this.h,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){if(this.i===0)return;let l=this.h.U;return[l.u,l.l]}back(){if(this.i===0)return;let l=this.h.W;return[l.u,l.l]}lowerBound(l){let u=this.X(this.Y,l);return new i(u,this.h,this)}upperBound(l){let u=this.Z(this.Y,l);return new i(u,this.h,this)}reverseLowerBound(l){let u=this.$(this.Y,l);return new i(u,this.h,this)}reverseUpperBound(l){let u=this.rr(this.Y,l);return new i(u,this.h,this)}setElement(l,u,c){return this.M(l,u,c)}find(l){let u=this.I(this.Y,l);return new i(u,this.h,this)}getElementByKey(l){return this.I(this.Y,l).l}union(l){let u=this;return l.forEach(function(c){u.setElement(c[0],c[1])}),this.i}[Symbol.iterator](){return this.K(this.Y)}},a=o;t.default=a}),Yv=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=e;function e(r){let n=typeof r;return n==="object"&&r!==null||n==="function"}}),Gv=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.HashContainerIterator=t.HashContainer=void 0;var e=On(),r=s(Yv()),n=Rn();function s(a){return a&&a.t?a:{default:a}}var i=class extends e.ContainerIterator{constructor(a,l,u){super(u),this.o=a,this.h=l,this.iteratorType===0?(this.pre=function(){return this.o.L===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this})}};t.HashContainerIterator=i;var o=class extends e.Container{constructor(){super(),this.H=[],this.g={},this.HASH_TAG=Symbol("@@HASH_TAG"),Object.setPrototypeOf(this.g,null),this.h={},this.h.L=this.h.B=this.p=this._=this.h}V(a){let{L:l,B:u}=a;l.B=u,u.L=l,a===this.p&&(this.p=u),a===this._&&(this._=l),this.i-=1}M(a,l,u){u===void 0&&(u=(0,r.default)(a));let c;if(u){let f=a[this.HASH_TAG];if(f!==void 0)return this.H[f].l=l,this.i;Object.defineProperty(a,this.HASH_TAG,{value:this.H.length,configurable:!0}),c={u:a,l,L:this._,B:this.h},this.H.push(c)}else{let f=this.g[a];if(f)return f.l=l,this.i;c={u:a,l,L:this._,B:this.h},this.g[a]=c}return this.i===0?(this.p=c,this.h.B=c):this._.B=c,this._=c,this.h.L=c,++this.i}I(a,l){if(l===void 0&&(l=(0,r.default)(a)),l){let u=a[this.HASH_TAG];return u===void 0?this.h:this.H[u]}else return this.g[a]||this.h}clear(){let a=this.HASH_TAG;this.H.forEach(function(l){delete l.u[a]}),this.H=[],this.g={},Object.setPrototypeOf(this.g,null),this.i=0,this.p=this._=this.h.L=this.h.B=this.h}eraseElementByKey(a,l){let u;if(l===void 0&&(l=(0,r.default)(a)),l){let c=a[this.HASH_TAG];if(c===void 0)return!1;delete a[this.HASH_TAG],u=this.H[c],delete this.H[c]}else{if(u=this.g[a],u===void 0)return!1;delete this.g[a]}return this.V(u),!0}eraseElementByIterator(a){let l=a.o;return l===this.h&&(0,n.throwIteratorAccessError)(),this.V(l),a.next()}eraseElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;let l=this.p;for(;a--;)l=l.B;return this.V(l),this.i}};t.HashContainer=o}),kC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=void 0;var e=Gv(),r=Rn(),n=class Kv extends e.HashContainerIterator{constructor(a,l,u,c){super(a,l,c),this.container=u}get pointer(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o.u}copy(){return new Kv(this.o,this.h,this.container,this.iteratorType)}},s=class extends e.HashContainer{constructor(o=[]){super();let a=this;o.forEach(function(l){a.insert(l)})}begin(){return new n(this.p,this.h,this)}end(){return new n(this.h,this.h,this)}rBegin(){return new n(this._,this.h,this,1)}rEnd(){return new n(this.h,this.h,this,1)}front(){return this.p.u}back(){return this._.u}insert(o,a){return this.M(o,void 0,a)}getElementByPos(o){if(o<0||o>this.i-1)throw new RangeError;let a=this.p;for(;o--;)a=a.B;return a.u}find(o,a){let l=this.I(o,a);return new n(l,this.h,this)}forEach(o){let a=0,l=this.p;for(;l!==this.h;)o(l.u,a++,this),l=l.B}[Symbol.iterator](){return(function*(){let o=this.p;for(;o!==this.h;)yield o.u,o=o.B}).bind(this)()}},i=s;t.default=i}),LC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),t.default=void 0;var e=Gv(),r=s(Yv()),n=Rn();function s(l){return l&&l.t?l:{default:l}}var i=class Xv extends e.HashContainerIterator{constructor(u,c,f,d){super(u,c,d),this.container=f}get pointer(){this.o===this.h&&(0,n.throwIteratorAccessError)();let u=this;return new Proxy([],{get(c,f){if(f==="0")return u.o.u;if(f==="1")return u.o.l},set(c,f,d){if(f!=="1")throw new TypeError("props must be 1");return u.o.l=d,!0}})}copy(){return new Xv(this.o,this.h,this.container,this.iteratorType)}},o=class extends e.HashContainer{constructor(l=[]){super();let u=this;l.forEach(function(c){u.setElement(c[0],c[1])})}begin(){return new i(this.p,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this._,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){if(this.i!==0)return[this.p.u,this.p.l]}back(){if(this.i!==0)return[this._.u,this._.l]}setElement(l,u,c){return this.M(l,u,c)}getElementByKey(l,u){if(u===void 0&&(u=(0,r.default)(l)),u){let f=l[this.HASH_TAG];return f!==void 0?this.H[f].l:void 0}let c=this.g[l];return c?c.l:void 0}getElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let u=this.p;for(;l--;)u=u.B;return[u.u,u.l]}find(l,u){let c=this.I(l,u);return new i(c,this.h,this)}forEach(l){let u=0,c=this.p;for(;c!==this.h;)l([c.u,c.l],u++,this),c=c.B}[Symbol.iterator](){return(function*(){let l=this.p;for(;l!==this.h;)yield[l.u,l.l],l=l.B}).bind(this)()}},a=o;t.default=a}),NC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"t",{value:!0}),Object.defineProperty(t,"Deque",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"HashMap",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"HashSet",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"LinkList",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"OrderedMap",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"OrderedSet",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"PriorityQueue",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Queue",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Stack",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(t,"Vector",{enumerable:!0,get:function(){return s.default}});var e=f(TC()),r=f(xC()),n=f(AC()),s=f(CC()),i=f(IC()),o=f(MC()),a=f(RC()),l=f(PC()),u=f(kC()),c=f(LC());function f(d){return d&&d.t?d:{default:d}}}),DC=Te((t,e)=>{_e(),ve(),we();var r=NC().OrderedSet,n=vn()("number-allocator:trace"),s=vn()("number-allocator:error");function i(a,l){this.low=a,this.high=l}i.prototype.equals=function(a){return this.low===a.low&&this.high===a.high},i.prototype.compare=function(a){return this.lowu.compare(c)),n("Create"),this.clear()}o.prototype.firstVacant=function(){return this.ss.size()===0?null:this.ss.front().low},o.prototype.alloc=function(){if(this.ss.size()===0)return n("alloc():empty"),null;let a=this.ss.begin(),l=a.pointer.low,u=a.pointer.high,c=l;return c+1<=u?this.ss.updateKeyByIterator(a,new i(l+1,u)):this.ss.eraseElementByPos(0),n("alloc():"+c),c},o.prototype.use=function(a){let l=new i(a,a),u=this.ss.lowerBound(l);if(!u.equals(this.ss.end())){let c=u.pointer.low,f=u.pointer.high;return u.pointer.equals(l)?(this.ss.eraseElementByIterator(u),n("use():"+a),!0):c>a?!1:c===a?(this.ss.updateKeyByIterator(u,new i(c+1,f)),n("use():"+a),!0):f===a?(this.ss.updateKeyByIterator(u,new i(c,f-1)),n("use():"+a),!0):(this.ss.updateKeyByIterator(u,new i(a+1,f)),this.ss.insert(new i(c,a-1)),n("use():"+a),!0)}return n("use():failed"),!1},o.prototype.free=function(a){if(athis.max){s("free():"+a+" is out of range");return}let l=new i(a,a),u=this.ss.upperBound(l);if(u.equals(this.ss.end())){if(u.equals(this.ss.begin())){this.ss.insert(l);return}u.pre();let c=u.pointer.high;u.pointer.high+1===a?this.ss.updateKeyByIterator(u,new i(c,a)):this.ss.insert(l)}else if(u.equals(this.ss.begin()))if(a+1===u.pointer.low){let c=u.pointer.high;this.ss.updateKeyByIterator(u,new i(a,c))}else this.ss.insert(l);else{let c=u.pointer.low,f=u.pointer.high;u.pre();let d=u.pointer.low;u.pointer.high+1===a?a+1===c?(this.ss.eraseElementByIterator(u),this.ss.updateKeyByIterator(u,new i(d,f))):this.ss.updateKeyByIterator(u,new i(d,a)):a+1===c?(this.ss.eraseElementByIterator(u.next()),this.ss.insert(new i(a,f))):this.ss.insert(l)}n("free():"+a)},o.prototype.clear=function(){n("clear()"),this.ss.clear(),this.ss.insert(new i(this.min,this.max))},o.prototype.intervalCount=function(){return this.ss.size()},o.prototype.dump=function(){console.log("length:"+this.ss.size());for(let a of this.ss)console.log(a)},e.exports=o}),Qv=Te((t,e)=>{_e(),ve(),we();var r=DC();e.exports.NumberAllocator=r}),BC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0});var e=SC(),r=Qv(),n=class{constructor(s){s>0&&(this.aliasToTopic=new e.LRUCache({max:s}),this.topicToAlias={},this.numberAllocator=new r.NumberAllocator(1,s),this.max=s,this.length=0)}put(s,i){if(i===0||i>this.max)return!1;let o=this.aliasToTopic.get(i);return o&&delete this.topicToAlias[o],this.aliasToTopic.set(i,s),this.topicToAlias[s]=i,this.numberAllocator.use(i),this.length=this.aliasToTopic.size,!0}getTopicByAlias(s){return this.aliasToTopic.get(s)}getAliasByTopic(s){let i=this.topicToAlias[s];return typeof i<"u"&&this.aliasToTopic.get(i),i}clear(){this.aliasToTopic.clear(),this.topicToAlias={},this.numberAllocator.clear(),this.length=0}getLruAlias(){return this.numberAllocator.firstVacant()||[...this.aliasToTopic.keys()][this.aliasToTopic.size-1]}};t.default=n}),$C=Te(t=>{_e(),ve(),we();var e=t&&t.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});var r=Ou(),n=e(BC()),s=ha(),i=(o,a)=>{o.log("_handleConnack");let{options:l}=o,u=l.protocolVersion===5?a.reasonCode:a.returnCode;if(clearTimeout(o.connackTimer),delete o.topicAliasSend,a.properties){if(a.properties.topicAliasMaximum){if(a.properties.topicAliasMaximum>65535){o.emit("error",new Error("topicAliasMaximum from broker is out of range"));return}a.properties.topicAliasMaximum>0&&(o.topicAliasSend=new n.default(a.properties.topicAliasMaximum))}a.properties.serverKeepAlive&&l.keepalive&&(l.keepalive=a.properties.serverKeepAlive),a.properties.maximumPacketSize&&(l.properties||(l.properties={}),l.properties.maximumPacketSize=a.properties.maximumPacketSize)}if(u===0)o.reconnecting=!1,o._onConnect(a);else if(u>0){let c=new s.ErrorWithReasonCode(`Connection refused: ${r.ReasonCodes[u]}`,u);o.emit("error",c)}};t.default=i}),FC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0});var e=(r,n,s)=>{r.log("handling pubrel packet");let i=typeof s<"u"?s:r.noop,{messageId:o}=n,a={cmd:"pubcomp",messageId:o};r.incomingStore.get(n,(l,u)=>{l?r._sendPacket(a,i):(r.emit("message",u.topic,u.payload,u),r.handleMessage(u,c=>{if(c)return i(c);r.incomingStore.del(u,r.noop),r._sendPacket(a,i)}))})};t.default=e}),UC=Te(t=>{_e(),ve(),we();var e=t&&t.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(t,"__esModule",{value:!0});var r=e(vC()),n=e(EC()),s=e($C()),i=e(Ou()),o=e(FC()),a=(l,u,c)=>{let{options:f}=l;if(f.protocolVersion===5&&f.properties&&f.properties.maximumPacketSize&&f.properties.maximumPacketSize{_e(),ve(),we();var e=t&&t.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0}),t.TypedEventEmitter=void 0;var r=e((no(),Ke(ts))),n=ha(),s=class{};t.TypedEventEmitter=s,(0,n.applyMixin)(s,r.default)}),Ru=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0}),t.isReactNativeBrowser=t.isWebWorker=void 0;var e=()=>{var i;return typeof window<"u"?typeof Lt<"u"&&((i=Lt.userAgent)===null||i===void 0?void 0:i.toLowerCase().indexOf(" electron/"))>-1&&ze!=null&&ze.versions?!Object.prototype.hasOwnProperty.call(ze.versions,"electron"):typeof window.document<"u":!1},r=()=>{var i,o;return!!(typeof self=="object"&&!((o=(i=self==null?void 0:self.constructor)===null||i===void 0?void 0:i.name)===null||o===void 0)&&o.includes("WorkerGlobalScope"))},n=()=>typeof Lt<"u"&&Lt.product==="ReactNative",s=e()||r()||n();t.isWebWorker=r(),t.isReactNativeBrowser=n(),t.default=s}),WC=Te((t,e)=>{_e(),ve(),we(),function(r,n){typeof t=="object"&&typeof e<"u"?n(t):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.fastUniqueNumbers={}))}(t,function(r){var n=function(g){return function(m){var y=g(m);return m.add(y),y}},s=function(g){return function(m,y){return g.set(m,y),y}},i=Number.MAX_SAFE_INTEGER===void 0?9007199254740991:Number.MAX_SAFE_INTEGER,o=536870912,a=o*2,l=function(g,m){return function(y){var E=m.get(y),_=E===void 0?y.size:Ei)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;y.has(_);)_=Math.floor(Math.random()*i);return g(y,_)}},u=new WeakMap,c=s(u),f=l(c,u),d=n(f);r.addUniqueNumber=d,r.generateUniqueNumber=f})}),zC=Te((t,e)=>{_e(),ve(),we(),function(r,n){typeof t=="object"&&typeof e<"u"?n(t,WC()):typeof define=="function"&&define.amd?define(["exports","fast-unique-numbers"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.workerTimersBroker={},r.fastUniqueNumbers))}(t,function(r,n){var s=function(a){return a.method!==void 0&&a.method==="call"},i=function(a){return a.error===null&&typeof a.id=="number"},o=function(a){var l=new Map([[0,function(){}]]),u=new Map([[0,function(){}]]),c=new Map,f=new Worker(a);f.addEventListener("message",function(E){var _=E.data;if(s(_)){var S=_.params,v=S.timerId,A=S.timerType;if(A==="interval"){var k=l.get(v);if(typeof k=="number"){var x=c.get(k);if(x===void 0||x.timerId!==v||x.timerType!==A)throw new Error("The timer is in an undefined state.")}else if(typeof k<"u")k();else throw new Error("The timer is in an undefined state.")}else if(A==="timeout"){var D=u.get(v);if(typeof D=="number"){var N=c.get(D);if(N===void 0||N.timerId!==v||N.timerType!==A)throw new Error("The timer is in an undefined state.")}else if(typeof D<"u")D(),u.delete(v);else throw new Error("The timer is in an undefined state.")}}else if(i(_)){var B=_.id,q=c.get(B);if(q===void 0)throw new Error("The timer is in an undefined state.");var K=q.timerId,C=q.timerType;c.delete(B),C==="interval"?l.delete(K):u.delete(K)}else{var M=_.error.message;throw new Error(M)}});var d=function(E){var _=n.generateUniqueNumber(c);c.set(_,{timerId:E,timerType:"interval"}),l.set(E,_),f.postMessage({id:_,method:"clear",params:{timerId:E,timerType:"interval"}})},g=function(E){var _=n.generateUniqueNumber(c);c.set(_,{timerId:E,timerType:"timeout"}),u.set(E,_),f.postMessage({id:_,method:"clear",params:{timerId:E,timerType:"timeout"}})},m=function(E){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S=n.generateUniqueNumber(l);return l.set(S,function(){E(),typeof l.get(S)=="function"&&f.postMessage({id:null,method:"set",params:{delay:_,now:performance.now(),timerId:S,timerType:"interval"}})}),f.postMessage({id:null,method:"set",params:{delay:_,now:performance.now(),timerId:S,timerType:"interval"}}),S},y=function(E){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S=n.generateUniqueNumber(u);return u.set(S,E),f.postMessage({id:null,method:"set",params:{delay:_,now:performance.now(),timerId:S,timerType:"timeout"}}),S};return{clearInterval:d,clearTimeout:g,setInterval:m,setTimeout:y}};r.load=o})}),HC=Te((t,e)=>{_e(),ve(),we(),function(r,n){typeof t=="object"&&typeof e<"u"?n(t,zC()):typeof define=="function"&&define.amd?define(["exports","worker-timers-broker"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.workerTimers={},r.workerTimersBroker))}(t,function(r,n){var s=function(f,d){var g=null;return function(){if(g!==null)return g;var m=new Blob([d],{type:"application/javascript; charset=utf-8"}),y=URL.createObjectURL(m);return g=f(y),setTimeout(function(){return URL.revokeObjectURL(y)}),g}},i=`(()=>{var e={472:(e,t,r)=>{var o,i;void 0===(i="function"==typeof(o=function(){"use strict";var e=new Map,t=new Map,r=function(t){var r=e.get(t);if(void 0===r)throw new Error('There is no interval scheduled with the given id "'.concat(t,'".'));clearTimeout(r),e.delete(t)},o=function(e){var r=t.get(e);if(void 0===r)throw new Error('There is no timeout scheduled with the given id "'.concat(e,'".'));clearTimeout(r),t.delete(e)},i=function(e,t){var r,o=performance.now();return{expected:o+(r=e-Math.max(0,o-t)),remainingDelay:r}},n=function e(t,r,o,i){var n=performance.now();n>o?postMessage({id:null,method:"call",params:{timerId:r,timerType:i}}):t.set(r,setTimeout(e,o-n,t,r,o,i))},a=function(t,r,o){var a=i(t,o),s=a.expected,d=a.remainingDelay;e.set(r,setTimeout(n,d,e,r,s,"interval"))},s=function(e,r,o){var a=i(e,o),s=a.expected,d=a.remainingDelay;t.set(r,setTimeout(n,d,t,r,s,"timeout"))};addEventListener("message",(function(e){var t=e.data;try{if("clear"===t.method){var i=t.id,n=t.params,d=n.timerId,c=n.timerType;if("interval"===c)r(d),postMessage({error:null,id:i});else{if("timeout"!==c)throw new Error('The given type "'.concat(c,'" is not supported'));o(d),postMessage({error:null,id:i})}}else{if("set"!==t.method)throw new Error('The given method "'.concat(t.method,'" is not supported'));var u=t.params,l=u.delay,p=u.now,m=u.timerId,v=u.timerType;if("interval"===v)a(l,m,p);else{if("timeout"!==v)throw new Error('The given type "'.concat(v,'" is not supported'));s(l,m,p)}}}catch(e){postMessage({error:{message:e.message},id:t.id,result:null})}}))})?o.call(t,r,t,e):o)||(e.exports=i)}},t={};function r(o){var i=t[o];if(void 0!==i)return i.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";r(472)})()})();`,o=s(n.load,i),a=function(f){return o().clearInterval(f)},l=function(f){return o().clearTimeout(f)},u=function(){var f;return(f=o()).setInterval.apply(f,arguments)},c=function(){var f;return(f=o()).setTimeout.apply(f,arguments)};r.clearInterval=a,r.clearTimeout=l,r.setInterval=u,r.setTimeout=c})}),VC=Te(t=>{_e(),ve(),we();var e=t&&t.__createBinding||(Object.create?function(u,c,f,d){d===void 0&&(d=f);var g=Object.getOwnPropertyDescriptor(c,f);(!g||("get"in g?!c.__esModule:g.writable||g.configurable))&&(g={enumerable:!0,get:function(){return c[f]}}),Object.defineProperty(u,d,g)}:function(u,c,f,d){d===void 0&&(d=f),u[d]=c[f]}),r=t&&t.__setModuleDefault||(Object.create?function(u,c){Object.defineProperty(u,"default",{enumerable:!0,value:c})}:function(u,c){u.default=c}),n=t&&t.__importStar||function(u){if(u&&u.__esModule)return u;var c={};if(u!=null)for(var f in u)f!=="default"&&Object.prototype.hasOwnProperty.call(u,f)&&e(c,u,f);return r(c,u),c};Object.defineProperty(t,"__esModule",{value:!0});var s=n(Ru()),i=HC(),o={set:i.setInterval,clear:i.clearInterval},a={set:(u,c)=>setInterval(u,c),clear:u=>clearInterval(u)},l=u=>{switch(u){case"native":return a;case"worker":return o;case"auto":default:return s.default&&!s.isWebWorker&&!s.isReactNativeBrowser?o:a}};t.default=l}),Jv=Te(t=>{_e(),ve(),we();var e=t&&t.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(t,"__esModule",{value:!0});var r=e(VC()),n=class{get keepaliveTimeoutTimestamp(){return this._keepaliveTimeoutTimestamp}get intervalEvery(){return this._intervalEvery}get keepalive(){return this._keepalive}constructor(s,i){this.destroyed=!1,this.client=s,this.timer=(0,r.default)(i),this.setKeepalive(s.options.keepalive)}clear(){this.timerId&&(this.timer.clear(this.timerId),this.timerId=null)}setKeepalive(s){if(s*=1e3,isNaN(s)||s<=0||s>2147483647)throw new Error(`Keepalive value must be an integer between 0 and 2147483647. Provided value is ${s}`);this._keepalive=s,this.reschedule(),this.client.log(`KeepaliveManager: set keepalive to ${s}ms`)}destroy(){this.clear(),this.destroyed=!0}reschedule(){if(this.destroyed)return;this.clear(),this.counter=0;let s=Math.ceil(this._keepalive*1.5);this._keepaliveTimeoutTimestamp=Date.now()+s,this._intervalEvery=Math.ceil(this._keepalive/2),this.timerId=this.timer.set(()=>{this.destroyed||(this.counter+=1,this.counter===2?this.client.sendPing():this.counter>2&&this.client.onKeepaliveTimeout())},this._intervalEvery)}};t.default=n}),oh=Te(t=>{_e(),ve(),we();var e=t&&t.__createBinding||(Object.create?function(k,x,D,N){N===void 0&&(N=D);var B=Object.getOwnPropertyDescriptor(x,D);(!B||("get"in B?!x.__esModule:B.writable||B.configurable))&&(B={enumerable:!0,get:function(){return x[D]}}),Object.defineProperty(k,N,B)}:function(k,x,D,N){N===void 0&&(N=D),k[N]=x[D]}),r=t&&t.__setModuleDefault||(Object.create?function(k,x){Object.defineProperty(k,"default",{enumerable:!0,value:x})}:function(k,x){k.default=x}),n=t&&t.__importStar||function(k){if(k&&k.__esModule)return k;var x={};if(k!=null)for(var D in k)D!=="default"&&Object.prototype.hasOwnProperty.call(k,D)&&e(x,k,D);return r(x,k),x},s=t&&t.__importDefault||function(k){return k&&k.__esModule?k:{default:k}};Object.defineProperty(t,"__esModule",{value:!0});var i=s(LA()),o=s(mC()),a=s(Nv()),l=rs(),u=s(yC()),c=n(wC()),f=s(vn()),d=s(Dv()),g=s(UC()),m=ha(),y=jC(),E=s(Jv()),_=n(Ru()),S=globalThis.setImmediate||((...k)=>{let x=k.shift();(0,m.nextTick)(()=>{x(...k)})}),v={keepalive:60,reschedulePings:!0,protocolId:"MQTT",protocolVersion:4,reconnectPeriod:1e3,connectTimeout:30*1e3,clean:!0,resubscribe:!0,writeCache:!0,timerVariant:"auto"},A=class ah extends y.TypedEventEmitter{static defaultId(){return`mqttjs_${Math.random().toString(16).substr(2,8)}`}constructor(x,D){super(),this.options=D||{};for(let N in v)typeof this.options[N]>"u"?this.options[N]=v[N]:this.options[N]=D[N];this.log=this.options.log||(0,f.default)("mqttjs:client"),this.noop=this._noop.bind(this),this.log("MqttClient :: version:",ah.VERSION),_.isWebWorker?this.log("MqttClient :: environment","webworker"):this.log("MqttClient :: environment",_.default?"browser":"node"),this.log("MqttClient :: options.protocol",D.protocol),this.log("MqttClient :: options.protocolVersion",D.protocolVersion),this.log("MqttClient :: options.username",D.username),this.log("MqttClient :: options.keepalive",D.keepalive),this.log("MqttClient :: options.reconnectPeriod",D.reconnectPeriod),this.log("MqttClient :: options.rejectUnauthorized",D.rejectUnauthorized),this.log("MqttClient :: options.properties.topicAliasMaximum",D.properties?D.properties.topicAliasMaximum:void 0),this.options.clientId=typeof D.clientId=="string"?D.clientId:ah.defaultId(),this.log("MqttClient :: clientId",this.options.clientId),this.options.customHandleAcks=D.protocolVersion===5&&D.customHandleAcks?D.customHandleAcks:(...N)=>{N[3](null,0)},this.options.writeCache||(o.default.writeToStream.cacheNumbers=!1),this.streamBuilder=x,this.messageIdProvider=typeof this.options.messageIdProvider>"u"?new a.default:this.options.messageIdProvider,this.outgoingStore=D.outgoingStore||new d.default,this.incomingStore=D.incomingStore||new d.default,this.queueQoSZero=D.queueQoSZero===void 0?!0:D.queueQoSZero,this._resubscribeTopics={},this.messageIdToTopic={},this.keepaliveManager=null,this.connected=!1,this.disconnecting=!1,this.reconnecting=!1,this.queue=[],this.connackTimer=null,this.reconnectTimer=null,this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={},this._storeProcessingQueue=[],this.outgoing={},this._firstConnection=!0,D.properties&&D.properties.topicAliasMaximum>0&&(D.properties.topicAliasMaximum>65535?this.log("MqttClient :: options.properties.topicAliasMaximum is out of range"):this.topicAliasRecv=new i.default(D.properties.topicAliasMaximum)),this.on("connect",()=>{let{queue:N}=this,B=()=>{let q=N.shift();this.log("deliver :: entry %o",q);let K=null;if(!q){this._resubscribe();return}K=q.packet,this.log("deliver :: call _sendPacket for %o",K);let C=!0;K.messageId&&K.messageId!==0&&(this.messageIdProvider.register(K.messageId)||(C=!1)),C?this._sendPacket(K,M=>{q.cb&&q.cb(M),B()}):(this.log("messageId: %d has already used. The message is skipped and removed.",K.messageId),B())};this.log("connect :: sending queued packets"),B()}),this.on("close",()=>{this.log("close :: connected set to `false`"),this.connected=!1,this.log("close :: clearing connackTimer"),clearTimeout(this.connackTimer),this._destroyKeepaliveManager(),this.topicAliasRecv&&this.topicAliasRecv.clear(),this.log("close :: calling _setupReconnect"),this._setupReconnect()}),this.options.manualConnect||(this.log("MqttClient :: setting up stream"),this.connect())}handleAuth(x,D){D()}handleMessage(x,D){D()}_nextId(){return this.messageIdProvider.allocate()}getLastMessageId(){return this.messageIdProvider.getLastAllocated()}connect(){var x;let D=new l.Writable,N=o.default.parser(this.options),B=null,q=[];this.log("connect :: calling method to clear reconnect"),this._clearReconnect(),this.log("connect :: using streamBuilder provided to client to create stream"),this.stream=this.streamBuilder(this),N.on("packet",H=>{this.log("parser :: on packet push to packets array."),q.push(H)});let K=()=>{this.log("work :: getting next packet in queue");let H=q.shift();if(H)this.log("work :: packet pulled from queue"),(0,g.default)(this,H,C);else{this.log("work :: no packets in queue");let G=B;B=null,this.log("work :: done flag is %s",!!G),G&&G()}},C=()=>{if(q.length)(0,m.nextTick)(K);else{let H=B;B=null,H()}};D._write=(H,G,z)=>{B=z,this.log("writable stream :: parsing buffer"),N.parse(H),K()};let M=H=>{this.log("streamErrorHandler :: error",H.message),H.code?(this.log("streamErrorHandler :: emitting error"),this.emit("error",H)):this.noop(H)};this.log("connect :: pipe stream to writable stream"),this.stream.pipe(D),this.stream.on("error",M),this.stream.on("close",()=>{this.log("(%s)stream :: on close",this.options.clientId),this._flushVolatile(),this.log("stream: emit close to MqttClient"),this.emit("close")}),this.log("connect: sending packet `connect`");let L={cmd:"connect",protocolId:this.options.protocolId,protocolVersion:this.options.protocolVersion,clean:this.options.clean,clientId:this.options.clientId,keepalive:this.options.keepalive,username:this.options.username,password:this.options.password,properties:this.options.properties};if(this.options.will&&(L.will=Object.assign(Object.assign({},this.options.will),{payload:(x=this.options.will)===null||x===void 0?void 0:x.payload})),this.topicAliasRecv&&(L.properties||(L.properties={}),this.topicAliasRecv&&(L.properties.topicAliasMaximum=this.topicAliasRecv.max)),this._writePacket(L),N.on("error",this.emit.bind(this,"error")),this.options.properties){if(!this.options.properties.authenticationMethod&&this.options.properties.authenticationData)return this.end(()=>this.emit("error",new Error("Packet has no Authentication Method"))),this;if(this.options.properties.authenticationMethod&&this.options.authPacket&&typeof this.options.authPacket=="object"){let H=Object.assign({cmd:"auth",reasonCode:0},this.options.authPacket);this._writePacket(H)}}return this.stream.setMaxListeners(1e3),clearTimeout(this.connackTimer),this.connackTimer=setTimeout(()=>{this.log("!!connectTimeout hit!! Calling _cleanUp with force `true`"),this.emit("error",new Error("connack timeout")),this._cleanUp(!0)},this.options.connectTimeout),this}publish(x,D,N,B){this.log("publish :: message `%s` to topic `%s`",D,x);let{options:q}=this;typeof N=="function"&&(B=N,N=null),N=N||{},N=Object.assign(Object.assign({},{qos:0,retain:!1,dup:!1}),N);let{qos:K,retain:C,dup:M,properties:L,cbStorePut:H}=N;if(this._checkDisconnecting(B))return this;let G=()=>{let z=0;if((K===1||K===2)&&(z=this._nextId(),z===null))return this.log("No messageId left"),!1;let F={cmd:"publish",topic:x,payload:D,qos:K,retain:C,messageId:z,dup:M};switch(q.protocolVersion===5&&(F.properties=L),this.log("publish :: qos",K),K){case 1:case 2:this.outgoing[F.messageId]={volatile:!1,cb:B||this.noop},this.log("MqttClient:publish: packet cmd: %s",F.cmd),this._sendPacket(F,void 0,H);break;default:this.log("MqttClient:publish: packet cmd: %s",F.cmd),this._sendPacket(F,B,H);break}return!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!G())&&this._storeProcessingQueue.push({invoke:G,cbStorePut:N.cbStorePut,callback:B}),this}publishAsync(x,D,N){return new Promise((B,q)=>{this.publish(x,D,N,(K,C)=>{K?q(K):B(C)})})}subscribe(x,D,N){let B=this.options.protocolVersion;typeof D=="function"&&(N=D),N=N||this.noop;let q=!1,K=[];typeof x=="string"?(x=[x],K=x):Array.isArray(x)?K=x:typeof x=="object"&&(q=x.resubscribe,delete x.resubscribe,K=Object.keys(x));let C=c.validateTopics(K);if(C!==null)return S(N,new Error(`Invalid topic ${C}`)),this;if(this._checkDisconnecting(N))return this.log("subscribe: discconecting true"),this;let M={qos:0};B===5&&(M.nl=!1,M.rap=!1,M.rh=0),D=Object.assign(Object.assign({},M),D);let L=D.properties,H=[],G=(F,ne)=>{if(ne=ne||D,!Object.prototype.hasOwnProperty.call(this._resubscribeTopics,F)||this._resubscribeTopics[F].qos{this.log("subscribe: array topic %s",F),G(F)}):Object.keys(x).forEach(F=>{this.log("subscribe: object topic %s, %o",F,x[F]),G(F,x[F])}),!H.length)return N(null,[]),this;let z=()=>{let F=this._nextId();if(F===null)return this.log("No messageId left"),!1;let ne={cmd:"subscribe",subscriptions:H,messageId:F};if(L&&(ne.properties=L),this.options.resubscribe){this.log("subscribe :: resubscribe true");let ce=[];H.forEach(re=>{if(this.options.reconnectPeriod>0){let R={qos:re.qos};B===5&&(R.nl=re.nl||!1,R.rap=re.rap||!1,R.rh=re.rh||0,R.properties=re.properties),this._resubscribeTopics[re.topic]=R,ce.push(re.topic)}}),this.messageIdToTopic[ne.messageId]=ce}return this.outgoing[ne.messageId]={volatile:!0,cb(ce,re){if(!ce){let{granted:R}=re;for(let Q=0;Q0||!z())&&this._storeProcessingQueue.push({invoke:z,callback:N}),this}subscribeAsync(x,D){return new Promise((N,B)=>{this.subscribe(x,D,(q,K)=>{q?B(q):N(K)})})}unsubscribe(x,D,N){typeof x=="string"&&(x=[x]),typeof D=="function"&&(N=D),N=N||this.noop;let B=c.validateTopics(x);if(B!==null)return S(N,new Error(`Invalid topic ${B}`)),this;if(this._checkDisconnecting(N))return this;let q=()=>{let K=this._nextId();if(K===null)return this.log("No messageId left"),!1;let C={cmd:"unsubscribe",messageId:K,unsubscriptions:[]};return typeof x=="string"?C.unsubscriptions=[x]:Array.isArray(x)&&(C.unsubscriptions=x),this.options.resubscribe&&C.unsubscriptions.forEach(M=>{delete this._resubscribeTopics[M]}),typeof D=="object"&&D.properties&&(C.properties=D.properties),this.outgoing[C.messageId]={volatile:!0,cb:N},this.log("unsubscribe: call _sendPacket"),this._sendPacket(C),!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!q())&&this._storeProcessingQueue.push({invoke:q,callback:N}),this}unsubscribeAsync(x,D){return new Promise((N,B)=>{this.unsubscribe(x,D,(q,K)=>{q?B(q):N(K)})})}end(x,D,N){this.log("end :: (%s)",this.options.clientId),(x==null||typeof x!="boolean")&&(N=N||D,D=x,x=!1),typeof D!="object"&&(N=N||D,D=null),this.log("end :: cb? %s",!!N),(!N||typeof N!="function")&&(N=this.noop);let B=()=>{this.log("end :: closeStores: closing incoming and outgoing stores"),this.disconnected=!0,this.incomingStore.close(K=>{this.outgoingStore.close(C=>{if(this.log("end :: closeStores: emitting end"),this.emit("end"),N){let M=K||C;this.log("end :: closeStores: invoking callback with args"),N(M)}})}),this._deferredReconnect&&this._deferredReconnect()},q=()=>{this.log("end :: (%s) :: finish :: calling _cleanUp with force %s",this.options.clientId,x),this._cleanUp(x,()=>{this.log("end :: finish :: calling process.nextTick on closeStores"),(0,m.nextTick)(B)},D)};return this.disconnecting?(N(),this):(this._clearReconnect(),this.disconnecting=!0,!x&&Object.keys(this.outgoing).length>0?(this.log("end :: (%s) :: calling finish in 10ms once outgoing is empty",this.options.clientId),this.once("outgoingEmpty",setTimeout.bind(null,q,10))):(this.log("end :: (%s) :: immediately calling finish",this.options.clientId),q()),this)}endAsync(x,D){return new Promise((N,B)=>{this.end(x,D,q=>{q?B(q):N()})})}removeOutgoingMessage(x){if(this.outgoing[x]){let{cb:D}=this.outgoing[x];this._removeOutgoingAndStoreMessage(x,()=>{D(new Error("Message removed"))})}return this}reconnect(x){this.log("client reconnect");let D=()=>{x?(this.options.incomingStore=x.incomingStore,this.options.outgoingStore=x.outgoingStore):(this.options.incomingStore=null,this.options.outgoingStore=null),this.incomingStore=this.options.incomingStore||new d.default,this.outgoingStore=this.options.outgoingStore||new d.default,this.disconnecting=!1,this.disconnected=!1,this._deferredReconnect=null,this._reconnect()};return this.disconnecting&&!this.disconnected?this._deferredReconnect=D:D(),this}_flushVolatile(){this.outgoing&&(this.log("_flushVolatile :: deleting volatile messages from the queue and setting their callbacks as error function"),Object.keys(this.outgoing).forEach(x=>{this.outgoing[x].volatile&&typeof this.outgoing[x].cb=="function"&&(this.outgoing[x].cb(new Error("Connection closed")),delete this.outgoing[x])}))}_flush(){this.outgoing&&(this.log("_flush: queue exists? %b",!!this.outgoing),Object.keys(this.outgoing).forEach(x=>{typeof this.outgoing[x].cb=="function"&&(this.outgoing[x].cb(new Error("Connection closed")),delete this.outgoing[x])}))}_removeTopicAliasAndRecoverTopicName(x){let D;x.properties&&(D=x.properties.topicAlias);let N=x.topic.toString();if(this.log("_removeTopicAliasAndRecoverTopicName :: alias %d, topic %o",D,N),N.length===0){if(typeof D>"u")return new Error("Unregistered Topic Alias");if(N=this.topicAliasSend.getTopicByAlias(D),typeof N>"u")return new Error("Unregistered Topic Alias");x.topic=N}D&&delete x.properties.topicAlias}_checkDisconnecting(x){return this.disconnecting&&(x&&x!==this.noop?x(new Error("client disconnecting")):this.emit("error",new Error("client disconnecting"))),this.disconnecting}_reconnect(){this.log("_reconnect: emitting reconnect to client"),this.emit("reconnect"),this.connected?(this.end(()=>{this.connect()}),this.log("client already connected. disconnecting first.")):(this.log("_reconnect: calling connect"),this.connect())}_setupReconnect(){!this.disconnecting&&!this.reconnectTimer&&this.options.reconnectPeriod>0?(this.reconnecting||(this.log("_setupReconnect :: emit `offline` state"),this.emit("offline"),this.log("_setupReconnect :: set `reconnecting` to `true`"),this.reconnecting=!0),this.log("_setupReconnect :: setting reconnectTimer for %d ms",this.options.reconnectPeriod),this.reconnectTimer=setInterval(()=>{this.log("reconnectTimer :: reconnect triggered!"),this._reconnect()},this.options.reconnectPeriod)):this.log("_setupReconnect :: doing nothing...")}_clearReconnect(){this.log("_clearReconnect : clearing reconnect timer"),this.reconnectTimer&&(clearInterval(this.reconnectTimer),this.reconnectTimer=null)}_cleanUp(x,D,N={}){if(D&&(this.log("_cleanUp :: done callback provided for on stream close"),this.stream.on("close",D)),this.log("_cleanUp :: forced? %s",x),x)this.options.reconnectPeriod===0&&this.options.clean&&this._flush(),this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),this.stream.destroy();else{let B=Object.assign({cmd:"disconnect"},N);this.log("_cleanUp :: (%s) :: call _sendPacket with disconnect packet",this.options.clientId),this._sendPacket(B,()=>{this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),S(()=>{this.stream.end(()=>{this.log("_cleanUp :: (%s) :: stream destroyed",this.options.clientId)})})})}!this.disconnecting&&!this.reconnecting&&(this.log("_cleanUp :: client not disconnecting/reconnecting. Clearing and resetting reconnect."),this._clearReconnect(),this._setupReconnect()),this._destroyKeepaliveManager(),D&&!this.connected&&(this.log("_cleanUp :: (%s) :: removing stream `done` callback `close` listener",this.options.clientId),this.stream.removeListener("close",D),D())}_storeAndSend(x,D,N){this.log("storeAndSend :: store packet with cmd %s to outgoingStore",x.cmd);let B=x,q;if(B.cmd==="publish"&&(B=(0,u.default)(x),q=this._removeTopicAliasAndRecoverTopicName(B),q))return D&&D(q);this.outgoingStore.put(B,K=>{if(K)return D&&D(K);N(),this._writePacket(x,D)})}_applyTopicAlias(x){if(this.options.protocolVersion===5&&x.cmd==="publish"){let D;x.properties&&(D=x.properties.topicAlias);let N=x.topic.toString();if(this.topicAliasSend)if(D){if(N.length!==0&&(this.log("applyTopicAlias :: register topic: %s - alias: %d",N,D),!this.topicAliasSend.put(N,D)))return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",N,D),new Error("Sending Topic Alias out of range")}else N.length!==0&&(this.options.autoAssignTopicAlias?(D=this.topicAliasSend.getAliasByTopic(N),D?(x.topic="",x.properties=Object.assign(Object.assign({},x.properties),{topicAlias:D}),this.log("applyTopicAlias :: auto assign(use) topic: %s - alias: %d",N,D)):(D=this.topicAliasSend.getLruAlias(),this.topicAliasSend.put(N,D),x.properties=Object.assign(Object.assign({},x.properties),{topicAlias:D}),this.log("applyTopicAlias :: auto assign topic: %s - alias: %d",N,D))):this.options.autoUseTopicAlias&&(D=this.topicAliasSend.getAliasByTopic(N),D&&(x.topic="",x.properties=Object.assign(Object.assign({},x.properties),{topicAlias:D}),this.log("applyTopicAlias :: auto use topic: %s - alias: %d",N,D))));else if(D)return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",N,D),new Error("Sending Topic Alias out of range")}}_noop(x){this.log("noop ::",x)}_writePacket(x,D){this.log("_writePacket :: packet: %O",x),this.log("_writePacket :: emitting `packetsend`"),this.emit("packetsend",x),this.log("_writePacket :: writing to stream");let N=o.default.writeToStream(x,this.stream,this.options);this.log("_writePacket :: writeToStream result %s",N),!N&&D&&D!==this.noop?(this.log("_writePacket :: handle events on `drain` once through callback."),this.stream.once("drain",D)):D&&(this.log("_writePacket :: invoking cb"),D())}_sendPacket(x,D,N,B){this.log("_sendPacket :: (%s) :: start",this.options.clientId),N=N||this.noop,D=D||this.noop;let q=this._applyTopicAlias(x);if(q){D(q);return}if(!this.connected){if(x.cmd==="auth"){this._writePacket(x,D);return}this.log("_sendPacket :: client not connected. Storing packet offline."),this._storePacket(x,D,N);return}if(B){this._writePacket(x,D);return}switch(x.cmd){case"publish":break;case"pubrel":this._storeAndSend(x,D,N);return;default:this._writePacket(x,D);return}switch(x.qos){case 2:case 1:this._storeAndSend(x,D,N);break;case 0:default:this._writePacket(x,D);break}this.log("_sendPacket :: (%s) :: end",this.options.clientId)}_storePacket(x,D,N){this.log("_storePacket :: packet: %o",x),this.log("_storePacket :: cb? %s",!!D),N=N||this.noop;let B=x;if(B.cmd==="publish"){B=(0,u.default)(x);let K=this._removeTopicAliasAndRecoverTopicName(B);if(K)return D&&D(K)}let q=B.qos||0;q===0&&this.queueQoSZero||B.cmd!=="publish"?this.queue.push({packet:B,cb:D}):q>0?(D=this.outgoing[B.messageId]?this.outgoing[B.messageId].cb:null,this.outgoingStore.put(B,K=>{if(K)return D&&D(K);N()})):D&&D(new Error("No connection to broker"))}_setupKeepaliveManager(){this.log("_setupKeepaliveManager :: keepalive %d (seconds)",this.options.keepalive),!this.keepaliveManager&&this.options.keepalive&&(this.keepaliveManager=new E.default(this,this.options.timerVariant))}_destroyKeepaliveManager(){this.keepaliveManager&&(this.log("_destroyKeepaliveManager :: destroying keepalive manager"),this.keepaliveManager.destroy(),this.keepaliveManager=null)}reschedulePing(){this.keepaliveManager&&this.options.keepalive&&this.options.reschedulePings&&this._reschedulePing()}_reschedulePing(){this.log("_reschedulePing :: rescheduling ping"),this.keepaliveManager.reschedule()}sendPing(){this.log("_sendPing :: sending pingreq"),this._sendPacket({cmd:"pingreq"})}onKeepaliveTimeout(){this.emit("error",new Error("Keepalive timeout")),this.log("onKeepaliveTimeout :: calling _cleanUp with force true"),this._cleanUp(!0)}_resubscribe(){this.log("_resubscribe");let x=Object.keys(this._resubscribeTopics);if(!this._firstConnection&&(this.options.clean||this.options.protocolVersion>=4&&!this.connackPacket.sessionPresent)&&x.length>0)if(this.options.resubscribe)if(this.options.protocolVersion===5){this.log("_resubscribe: protocolVersion 5");for(let D=0;D{let N=this.outgoingStore.createStream(),B=()=>{N.destroy(),N=null,this._flushStoreProcessingQueue(),q()},q=()=>{this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={}};this.once("close",B),N.on("error",C=>{q(),this._flushStoreProcessingQueue(),this.removeListener("close",B),this.emit("error",C)});let K=()=>{if(!N)return;let C=N.read(1),M;if(!C){N.once("readable",K);return}if(this._storeProcessing=!0,this._packetIdsDuringStoreProcessing[C.messageId]){K();return}!this.disconnecting&&!this.reconnectTimer?(M=this.outgoing[C.messageId]?this.outgoing[C.messageId].cb:null,this.outgoing[C.messageId]={volatile:!1,cb(L,H){M&&M(L,H),K()}},this._packetIdsDuringStoreProcessing[C.messageId]=!0,this.messageIdProvider.register(C.messageId)?this._sendPacket(C,void 0,void 0,!0):this.log("messageId: %d has already used.",C.messageId)):N.destroy&&N.destroy()};N.on("end",()=>{let C=!0;for(let M in this._packetIdsDuringStoreProcessing)if(!this._packetIdsDuringStoreProcessing[M]){C=!1;break}this.removeListener("close",B),C?(q(),this._invokeAllStoreProcessingQueue(),this.emit("connect",x)):D()}),K()};D()}_invokeStoreProcessingQueue(){if(!this._storeProcessing&&this._storeProcessingQueue.length>0){let x=this._storeProcessingQueue[0];if(x&&x.invoke())return this._storeProcessingQueue.shift(),!0}return!1}_invokeAllStoreProcessingQueue(){for(;this._invokeStoreProcessingQueue(););}_flushStoreProcessingQueue(){for(let x of this._storeProcessingQueue)x.cbStorePut&&x.cbStorePut(new Error("Connection closed")),x.callback&&x.callback(new Error("Connection closed"));this._storeProcessingQueue.splice(0)}_removeOutgoingAndStoreMessage(x,D){delete this.outgoing[x],this.outgoingStore.del({messageId:x},(N,B)=>{D(N,B),this.messageIdProvider.deallocate(x),this._invokeStoreProcessingQueue()})}};A.VERSION=m.MQTTJS_VERSION,t.default=A}),qC=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0});var e=Qv(),r=class{constructor(){this.numberAllocator=new e.NumberAllocator(1,65535)}allocate(){return this.lastId=this.numberAllocator.alloc(),this.lastId}getLastAllocated(){return this.lastId}register(n){return this.numberAllocator.use(n)}deallocate(n){this.numberAllocator.free(n)}clear(){this.numberAllocator.clear()}};t.default=r});function yi(t){throw new RangeError(e_[t])}function Xm(t,e){let r=t.split("@"),n="";r.length>1&&(n=r[0]+"@",t=r[1]);let s=function(i,o){let a=[],l=i.length;for(;l--;)a[l]=o(i[l]);return a}((t=t.replace(Zv,".")).split("."),e).join(".");return n+s}function Qm(t){let e=[],r=0,n=t.length;for(;r=55296&&s<=56319&&r{_e(),ve(),we(),Jm=/^xn--/,Zm=/[^\0-\x7E]/,Zv=/[\x2E\u3002\uFF0E\uFF61]/g,e_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},gr=Math.floor,Ba=String.fromCharCode,Mc=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},Oc=function(t,e,r){let n=0;for(t=r?gr(t/700):t>>1,t+=gr(t/e);t>455;n+=36)t=gr(t/35);return gr(n+36*t/(t+38))},Rc=function(t){let e=[],r=t.length,n=0,s=128,i=72,o=t.lastIndexOf("-");o<0&&(o=0);for(let l=0;l=128&&yi("not-basic"),e.push(t.charCodeAt(l));for(let l=o>0?o+1:0;l=r&&yi("invalid-input");let g=(a=t.charCodeAt(l++))-48<10?a-22:a-65<26?a-65:a-97<26?a-97:36;(g>=36||g>gr((2147483647-n)/f))&&yi("overflow"),n+=g*f;let m=d<=i?1:d>=i+26?26:d-i;if(ggr(2147483647/y)&&yi("overflow"),f*=y}let c=e.length+1;i=Oc(n-u,c,u==0),gr(n/c)>2147483647-s&&yi("overflow"),s+=gr(n/c),n%=c,e.splice(n++,0,s)}var a;return String.fromCodePoint(...e)},Pc=function(t){let e=[],r=(t=Qm(t)).length,n=128,s=0,i=72;for(let l of t)l<128&&e.push(Ba(l));let o=e.length,a=o;for(o&&e.push("-");a=n&&cgr((2147483647-s)/u)&&yi("overflow"),s+=(l-n)*u,n=l;for(let c of t)if(c2147483647&&yi("overflow"),c==n){let f=s;for(let d=36;;d+=36){let g=d<=i?1:d>=i+26?26:d-i;if(fString.fromCodePoint(...t)},decode:Rc,encode:Pc,toASCII:function(t){return Xm(t,function(e){return Zm.test(e)?"xn--"+Pc(e):e})},toUnicode:function(t){return Xm(t,function(e){return Jm.test(e)?Rc(e.slice(4).toLowerCase()):e})}},Un.decode,Un.encode,Un.toASCII,Un.toUnicode,Un.ucs2,Un.version});function GC(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var e0,ps,t0,Pr,KC=Et(()=>{_e(),ve(),we(),e0=function(t,e,r,n){e=e||"&",r=r||"=";var s={};if(typeof t!="string"||t.length===0)return s;var i=/\+/g;t=t.split(e);var o=1e3;n&&typeof n.maxKeys=="number"&&(o=n.maxKeys);var a=t.length;o>0&&a>o&&(a=o);for(var l=0;l=0?(u=g.substr(0,m),c=g.substr(m+1)):(u=g,c=""),f=decodeURIComponent(u),d=decodeURIComponent(c),GC(s,f)?Array.isArray(s[f])?s[f].push(d):s[f]=[s[f],d]:s[f]=d}return s},ps=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}},t0=function(t,e,r,n){return e=e||"&",r=r||"=",t===null&&(t=void 0),typeof t=="object"?Object.keys(t).map(function(s){var i=encodeURIComponent(ps(s))+r;return Array.isArray(t[s])?t[s].map(function(o){return i+encodeURIComponent(ps(o))}).join(e):i+encodeURIComponent(ps(t[s]))}).join(e):n?encodeURIComponent(ps(n))+r+encodeURIComponent(ps(t)):""},Pr={},Pr.decode=Pr.parse=e0,Pr.encode=Pr.stringify=t0,Pr.decode,Pr.encode,Pr.parse,Pr.stringify});function lh(){throw new Error("setTimeout has not been defined")}function uh(){throw new Error("clearTimeout has not been defined")}function t_(t){if(tn===setTimeout)return setTimeout(t,0);if((tn===lh||!tn)&&setTimeout)return tn=setTimeout,setTimeout(t,0);try{return tn(t,0)}catch{try{return tn.call(null,t,0)}catch{return tn.call(this||Ui,t,0)}}}function XC(){ji&&Oi&&(ji=!1,Oi.length?Fr=Oi.concat(Fr):qo=-1,Fr.length&&r_())}function r_(){if(!ji){var t=t_(XC);ji=!0;for(var e=Fr.length;e;){for(Oi=Fr,Fr=[];++qo{_e(),ve(),we(),Ui=typeof globalThis<"u"?globalThis:typeof self<"u"?self:qi,st=n0={},function(){try{tn=typeof setTimeout=="function"?setTimeout:lh}catch{tn=lh}try{rn=typeof clearTimeout=="function"?clearTimeout:uh}catch{rn=uh}}(),Fr=[],ji=!1,qo=-1,st.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r1)for(var _=1;_{_e(),ve(),we(),gl={},ch=!1,Si=typeof globalThis<"u"?globalThis:typeof self<"u"?self:qi,tt=JC(),tt.platform="browser",tt.addListener,tt.argv,tt.binding,tt.browser,tt.chdir,tt.cwd,tt.emit,tt.env,tt.listeners,tt.nextTick,tt.off,tt.on,tt.once,tt.prependListener,tt.prependOnceListener,tt.removeAllListeners,tt.removeListener,tt.title,tt.umask,tt.version,tt.versions});function ZC(){if(fh)return ml;fh=!0;var t=tt;function e(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}function r(i,o){for(var a="",l=0,u=-1,c=0,f,d=0;d<=i.length;++d){if(d2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",l=0):(a=a.slice(0,g),l=a.length-1-a.lastIndexOf("/")),u=d,c=0;continue}}else if(a.length===2||a.length===1){a="",l=0,u=d,c=0;continue}}o&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+i.slice(u+1,d):a=i.slice(u+1,d),l=d-u-1;u=d,c=0}else f===46&&c!==-1?++c:c=-1}return a}function n(i,o){var a=o.dir||o.root,l=o.base||(o.name||"")+(o.ext||"");return a?a===o.root?a+l:a+i+l:l}var s={resolve:function(){for(var i="",o=!1,a,l=arguments.length-1;l>=-1&&!o;l--){var u;l>=0?u=arguments[l]:(a===void 0&&(a=t.cwd()),u=a),e(u),u.length!==0&&(i=u+"/"+i,o=u.charCodeAt(0)===47)}return i=r(i,!o),o?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(e(i),i.length===0)return".";var o=i.charCodeAt(0)===47,a=i.charCodeAt(i.length-1)===47;return i=r(i,!o),i.length===0&&!o&&(i="."),i.length>0&&a&&(i+="/"),o?"/"+i:i},isAbsolute:function(i){return e(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,o=0;o0&&(i===void 0?i=a:i+="/"+a)}return i===void 0?".":s.normalize(i)},relative:function(i,o){if(e(i),e(o),i===o||(i=s.resolve(i),o=s.resolve(o),i===o))return"";for(var a=1;ag){if(o.charCodeAt(c+y)===47)return o.slice(c+y+1);if(y===0)return o.slice(c+y)}else u>g&&(i.charCodeAt(a+y)===47?m=y:y===0&&(m=0));break}var E=i.charCodeAt(a+y),_=o.charCodeAt(c+y);if(E!==_)break;E===47&&(m=y)}var S="";for(y=a+m+1;y<=l;++y)(y===l||i.charCodeAt(y)===47)&&(S.length===0?S+="..":S+="/..");return S.length>0?S+o.slice(c+m):(c+=m,o.charCodeAt(c)===47&&++c,o.slice(c))},_makeLong:function(i){return i},dirname:function(i){if(e(i),i.length===0)return".";for(var o=i.charCodeAt(0),a=o===47,l=-1,u=!0,c=i.length-1;c>=1;--c)if(o=i.charCodeAt(c),o===47){if(!u){l=c;break}}else u=!1;return l===-1?a?"/":".":a&&l===1?"//":i.slice(0,l)},basename:function(i,o){if(o!==void 0&&typeof o!="string")throw new TypeError('"ext" argument must be a string');e(i);var a=0,l=-1,u=!0,c;if(o!==void 0&&o.length>0&&o.length<=i.length){if(o.length===i.length&&o===i)return"";var f=o.length-1,d=-1;for(c=i.length-1;c>=0;--c){var g=i.charCodeAt(c);if(g===47){if(!u){a=c+1;break}}else d===-1&&(u=!1,d=c+1),f>=0&&(g===o.charCodeAt(f)?--f===-1&&(l=c):(f=-1,l=d))}return a===l?l=d:l===-1&&(l=i.length),i.slice(a,l)}else{for(c=i.length-1;c>=0;--c)if(i.charCodeAt(c)===47){if(!u){a=c+1;break}}else l===-1&&(u=!1,l=c+1);return l===-1?"":i.slice(a,l)}},extname:function(i){e(i);for(var o=-1,a=0,l=-1,u=!0,c=0,f=i.length-1;f>=0;--f){var d=i.charCodeAt(f);if(d===47){if(!u){a=f+1;break}continue}l===-1&&(u=!1,l=f+1),d===46?o===-1?o=f:c!==1&&(c=1):o!==-1&&(c=-1)}return o===-1||l===-1||c===0||c===1&&o===l-1&&o===a+1?"":i.slice(o,l)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){e(i);var o={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return o;var a=i.charCodeAt(0),l=a===47,u;l?(o.root="/",u=1):u=0;for(var c=-1,f=0,d=-1,g=!0,m=i.length-1,y=0;m>=u;--m){if(a=i.charCodeAt(m),a===47){if(!g){f=m+1;break}continue}d===-1&&(g=!1,d=m+1),a===46?c===-1?c=m:y!==1&&(y=1):c!==-1&&(y=-1)}return c===-1||d===-1||y===0||y===1&&c===d-1&&c===f+1?d!==-1&&(f===0&&l?o.base=o.name=i.slice(1,d):o.base=o.name=i.slice(f,d)):(f===0&&l?(o.name=i.slice(1,c),o.base=i.slice(1,d)):(o.name=i.slice(f,c),o.base=i.slice(f,d)),o.ext=i.slice(c,d)),f>0?o.dir=i.slice(0,f-1):l&&(o.dir="/"),o},sep:"/",delimiter:":",win32:null,posix:null};return s.posix=s,ml=s,ml}var ml,fh,dh,eI=Et(()=>{_e(),ve(),we(),n_(),ml={},fh=!1,dh=ZC()}),i_={};Zi(i_,{URL:()=>E_,Url:()=>b_,default:()=>qe,fileURLToPath:()=>s_,format:()=>y_,parse:()=>__,pathToFileURL:()=>o_,resolve:()=>w_,resolveObject:()=>v_});function sr(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function wo(t,e,r){if(t&&br.isObject(t)&&t instanceof sr)return t;var n=new sr;return n.parse(t,e,r),n}function tI(){if(hh)return bl;hh=!0;var t=it;function e(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}function r(i,o){for(var a="",l=0,u=-1,c=0,f,d=0;d<=i.length;++d){if(d2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",l=0):(a=a.slice(0,g),l=a.length-1-a.lastIndexOf("/")),u=d,c=0;continue}}else if(a.length===2||a.length===1){a="",l=0,u=d,c=0;continue}}o&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+i.slice(u+1,d):a=i.slice(u+1,d),l=d-u-1;u=d,c=0}else f===46&&c!==-1?++c:c=-1}return a}function n(i,o){var a=o.dir||o.root,l=o.base||(o.name||"")+(o.ext||"");return a?a===o.root?a+l:a+i+l:l}var s={resolve:function(){for(var i="",o=!1,a,l=arguments.length-1;l>=-1&&!o;l--){var u;l>=0?u=arguments[l]:(a===void 0&&(a=t.cwd()),u=a),e(u),u.length!==0&&(i=u+"/"+i,o=u.charCodeAt(0)===47)}return i=r(i,!o),o?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(e(i),i.length===0)return".";var o=i.charCodeAt(0)===47,a=i.charCodeAt(i.length-1)===47;return i=r(i,!o),i.length===0&&!o&&(i="."),i.length>0&&a&&(i+="/"),o?"/"+i:i},isAbsolute:function(i){return e(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,o=0;o0&&(i===void 0?i=a:i+="/"+a)}return i===void 0?".":s.normalize(i)},relative:function(i,o){if(e(i),e(o),i===o||(i=s.resolve(i),o=s.resolve(o),i===o))return"";for(var a=1;ag){if(o.charCodeAt(c+y)===47)return o.slice(c+y+1);if(y===0)return o.slice(c+y)}else u>g&&(i.charCodeAt(a+y)===47?m=y:y===0&&(m=0));break}var E=i.charCodeAt(a+y),_=o.charCodeAt(c+y);if(E!==_)break;E===47&&(m=y)}var S="";for(y=a+m+1;y<=l;++y)(y===l||i.charCodeAt(y)===47)&&(S.length===0?S+="..":S+="/..");return S.length>0?S+o.slice(c+m):(c+=m,o.charCodeAt(c)===47&&++c,o.slice(c))},_makeLong:function(i){return i},dirname:function(i){if(e(i),i.length===0)return".";for(var o=i.charCodeAt(0),a=o===47,l=-1,u=!0,c=i.length-1;c>=1;--c)if(o=i.charCodeAt(c),o===47){if(!u){l=c;break}}else u=!1;return l===-1?a?"/":".":a&&l===1?"//":i.slice(0,l)},basename:function(i,o){if(o!==void 0&&typeof o!="string")throw new TypeError('"ext" argument must be a string');e(i);var a=0,l=-1,u=!0,c;if(o!==void 0&&o.length>0&&o.length<=i.length){if(o.length===i.length&&o===i)return"";var f=o.length-1,d=-1;for(c=i.length-1;c>=0;--c){var g=i.charCodeAt(c);if(g===47){if(!u){a=c+1;break}}else d===-1&&(u=!1,d=c+1),f>=0&&(g===o.charCodeAt(f)?--f===-1&&(l=c):(f=-1,l=d))}return a===l?l=d:l===-1&&(l=i.length),i.slice(a,l)}else{for(c=i.length-1;c>=0;--c)if(i.charCodeAt(c)===47){if(!u){a=c+1;break}}else l===-1&&(u=!1,l=c+1);return l===-1?"":i.slice(a,l)}},extname:function(i){e(i);for(var o=-1,a=0,l=-1,u=!0,c=0,f=i.length-1;f>=0;--f){var d=i.charCodeAt(f);if(d===47){if(!u){a=f+1;break}continue}l===-1&&(u=!1,l=f+1),d===46?o===-1?o=f:c!==1&&(c=1):o!==-1&&(c=-1)}return o===-1||l===-1||c===0||c===1&&o===l-1&&o===a+1?"":i.slice(o,l)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){e(i);var o={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return o;var a=i.charCodeAt(0),l=a===47,u;l?(o.root="/",u=1):u=0;for(var c=-1,f=0,d=-1,g=!0,m=i.length-1,y=0;m>=u;--m){if(a=i.charCodeAt(m),a===47){if(!g){f=m+1;break}continue}d===-1&&(g=!1,d=m+1),a===46?c===-1?c=m:y!==1&&(y=1):c!==-1&&(y=-1)}return c===-1||d===-1||y===0||y===1&&c===d-1&&c===f+1?d!==-1&&(f===0&&l?o.base=o.name=i.slice(1,d):o.base=o.name=i.slice(f,d)):(f===0&&l?(o.name=i.slice(1,c),o.base=i.slice(1,d)):(o.name=i.slice(f,c),o.base=i.slice(f,d)),o.ext=i.slice(c,d)),f>0?o.dir=i.slice(0,f-1):l&&(o.dir="/"),o},sep:"/",delimiter:":",win32:null,posix:null};return s.posix=s,bl=s,bl}function rI(t){if(typeof t=="string")t=new URL(t);else if(!(t instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(t.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return Hl?nI(t):iI(t)}function nI(t){let e=t.hostname,r=t.pathname;for(let n=0;nc_||s!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function iI(t){if(t.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let e=t.pathname;for(let r=0;rA_||s!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function aI(t){if(t.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let e=t.pathname;for(let r=0;r{_e(),ve(),we(),YC(),KC(),QC(),eI(),n_(),qe={},i0=Un,br={isString:function(t){return typeof t=="string"},isObject:function(t){return typeof t=="object"&&t!==null},isNull:function(t){return t===null},isNullOrUndefined:function(t){return t==null}},qe.parse=wo,qe.resolve=function(t,e){return wo(t,!1,!0).resolve(e)},qe.resolveObject=function(t,e){return t?wo(t,!1,!0).resolveObject(e):e},qe.format=function(t){return br.isString(t)&&(t=wo(t)),t instanceof sr?t.format():sr.prototype.format.call(t)},qe.Url=sr,s0=/^([a-z0-9.+-]+:)/i,o0=/:[0-9]*$/,a0=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l0=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),$a=["'"].concat(l0),kc=["%","/","?",";","#"].concat($a),Lc=["/","?","#"],Nc=/^[+a-z0-9A-Z_-]{0,63}$/,u0=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c0={javascript:!0,"javascript:":!0},Fa={javascript:!0,"javascript:":!0},wi={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Ua=Pr,sr.prototype.parse=function(t,e,r){if(!br.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),s=n!==-1&&n127?A+="x":A+=v[k];if(!A.match(Nc)){var D=_.slice(0,m),N=_.slice(m+1),B=v.match(u0);B&&(D.push(B[1]),N.unshift(B[2])),N.length&&(o="/"+N.join(".")+o),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),E||(this.hostname=i0.toASCII(this.hostname));var q=this.port?":"+this.port:"",K=this.hostname||"";this.host=K+q,this.href+=this.host,E&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),o[0]!=="/"&&(o="/"+o))}if(!c0[u])for(m=0,S=$a.length;m0)&&r.host.split("@"))&&(r.auth=B.shift(),r.host=r.hostname=B.shift())),r.search=t.search,r.query=t.query,br.isNull(r.pathname)&&br.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!v.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var k=v.slice(-1)[0],x=(r.host||t.host||v.length>1)&&(k==="."||k==="..")||k==="",D=0,N=v.length;N>=0;N--)(k=v[N])==="."?v.splice(N,1):k===".."?(v.splice(N,1),D++):D&&(v.splice(N,1),D--);if(!_&&!S)for(;D--;D)v.unshift("..");!_||v[0]===""||v[0]&&v[0].charAt(0)==="/"||v.unshift(""),x&&v.join("/").substr(-1)!=="/"&&v.push("");var B,q=v[0]===""||v[0]&&v[0].charAt(0)==="/";return A&&(r.hostname=r.host=q?"":v.length?v.shift():"",(B=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=B.shift(),r.host=r.hostname=B.shift())),(_=_||r.host&&v.length)&&!q&&v.unshift(""),v.length?r.pathname=v.join("/"):(r.pathname=null,r.path=null),br.isNull(r.pathname)&&br.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},sr.prototype.parseHost=function(){var t=this.host,e=o0.exec(t);e&&((e=e[0])!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},qe.Url,qe.format,qe.resolve,qe.resolveObject,bl={},hh=!1,ph=tI(),f0=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0,qe.URL=typeof URL<"u"?URL:null,qe.pathToFileURL=sI,qe.fileURLToPath=rI,qe.Url,qe.format,qe.resolve,qe.resolveObject,qe.URL,a_=92,l_=47,u_=97,c_=122,Hl=f0==="win32",f_=/\//g,d_=/%/g,h_=/\\/g,p_=/\n/g,g_=/\r/g,m_=/\t/g,d0=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0,qe.URL=typeof URL<"u"?URL:null,qe.pathToFileURL=o_,qe.fileURLToPath=s_,b_=qe.Url,y_=qe.format,w_=qe.resolve,v_=qe.resolveObject,__=qe.parse,E_=qe.URL,S_=92,T_=47,x_=97,A_=122,Vl=d0==="win32",C_=/\//g,I_=/%/g,M_=/\\/g,O_=/\n/g,R_=/\r/g,P_=/\t/g}),Bp={};Zi(Bp,{Server:()=>rt,Socket:()=>rt,Stream:()=>rt,_createServerHandle:()=>rt,_normalizeArgs:()=>rt,_setSimultaneousAccepts:()=>rt,connect:()=>rt,createConnection:()=>rt,createServer:()=>rt,default:()=>k_,isIP:()=>rt,isIPv4:()=>rt,isIPv6:()=>rt});function rt(){throw new Error("Node.js net module is not supported by JSPM core outside of Node.js")}var k_,L_=Et(()=>{_e(),ve(),we(),k_={_createServerHandle:rt,_normalizeArgs:rt,_setSimultaneousAccepts:rt,connect:rt,createConnection:rt,createServer:rt,isIP:rt,isIPv4:rt,isIPv6:rt,Server:rt,Socket:rt,Stream:rt}}),h0=Te(t=>{_e(),ve(),we();var e=t&&t.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});var r=e((L_(),Ke(Bp))),n=e(vn()),s=(0,n.default)("mqttjs:tcp"),i=(o,a)=>{a.port=a.port||1883,a.hostname=a.hostname||a.host||"localhost";let{port:l,path:u}=a,c=a.hostname;return s("port %d and host %s",l,c),r.default.createConnection({port:l,host:c,path:u})};t.default=i}),N_={};Zi(N_,{default:()=>D_});var D_,uI=Et(()=>{_e(),ve(),we(),D_={}}),p0=Te(t=>{_e(),ve(),we();var e=t&&t.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(t,"__esModule",{value:!0});var r=e((uI(),Ke(N_))),n=e((L_(),Ke(Bp))),s=e(vn()),i=(0,s.default)("mqttjs:tls"),o=(a,l)=>{l.port=l.port||8883,l.host=l.hostname||l.host||"localhost",n.default.isIP(l.host)===0&&(l.servername=l.host),l.rejectUnauthorized=l.rejectUnauthorized!==!1,delete l.path,i("port %d host %s rejectUnauthorized %b",l.port,l.host,l.rejectUnauthorized);let u=r.default.connect(l);u.on("secureConnect",()=>{l.rejectUnauthorized&&!u.authorized?u.emit("error",new Error("TLS not authorized")):u.removeListener("error",c)});function c(f){l.rejectUnauthorized&&a.emit("error",f),u.end()}return u.on("error",c),u};t.default=o}),$p=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0}),t.BufferedDuplex=t.writev=void 0;var e=rs(),r=(Tt(),Ke(St));function n(i,o){let a=new Array(i.length);for(let l=0;l{this.push(l)})}_read(i){this.proxy.read(i)}_write(i,o,a){this.isSocketOpen?this.writeToProxy(i,o,a):this.writeQueue.push({chunk:i,encoding:o,cb:a})}_final(i){this.writeQueue=[],this.proxy.end(i)}_destroy(i,o){this.writeQueue=[],this.proxy.destroy(),o(i)}socketReady(){this.emit("connect"),this.isSocketOpen=!0,this.processWriteQueue()}writeToProxy(i,o,a){this.proxy.write(i,o)===!1?this.proxy.once("drain",a):a()}processWriteQueue(){for(;this.writeQueue.length>0;){let{chunk:i,encoding:o,cb:a}=this.writeQueue.shift();this.writeToProxy(i,o,a)}}};t.BufferedDuplex=s}),g0=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0});var e=(Tt(),Ke(St)),r=rs(),n=$p(),s,i,o;function a(){let d=new r.Transform;return d._write=(g,m,y)=>{s.send({data:g.buffer,success(){y()},fail(E){y(new Error(E))}})},d._flush=g=>{s.close({success(){g()}})},d}function l(d){d.hostname||(d.hostname="localhost"),d.path||(d.path="/"),d.wsOptions||(d.wsOptions={})}function u(d,g){let m=d.protocol==="wxs"?"wss":"ws",y=`${m}://${d.hostname}${d.path}`;return d.port&&d.port!==80&&d.port!==443&&(y=`${m}://${d.hostname}:${d.port}${d.path}`),typeof d.transformWsUrl=="function"&&(y=d.transformWsUrl(y,d,g)),y}function c(){s.onOpen(()=>{o.socketReady()}),s.onMessage(d=>{let{data:g}=d;g instanceof ArrayBuffer?g=e.Buffer.from(g):g=e.Buffer.from(g,"utf8"),i.push(g)}),s.onClose(()=>{o.emit("close"),o.end(),o.destroy()}),s.onError(d=>{let g=new Error(d.errMsg);o.destroy(g)})}var f=(d,g)=>{if(g.hostname=g.hostname||g.host,!g.hostname)throw new Error("Could not determine host. Specify host manually.");let m=g.protocolId==="MQIsdp"&&g.protocolVersion===3?"mqttv3.1":"mqtt";l(g);let y=u(g,d);s=wx.connectSocket({url:y,protocols:[m]}),i=a(),o=new n.BufferedDuplex(g,i,s),o._destroy=(_,S)=>{s.close({success(){S&&S(_)}})};let E=o.destroy;return o.destroy=(_,S)=>(o.destroy=E,setTimeout(()=>{s.close({fail(){o._destroy(_,S)}})},0),o),c(),o};t.default=f}),m0=Te(t=>{_e(),ve(),we(),Object.defineProperty(t,"__esModule",{value:!0});var e=(Tt(),Ke(St)),r=rs(),n=$p(),s,i,o,a=!1;function l(){let g=new r.Transform;return g._write=(m,y,E)=>{s.sendSocketMessage({data:m.buffer,success(){E()},fail(){E(new Error)}})},g._flush=m=>{s.closeSocket({success(){m()}})},g}function u(g){g.hostname||(g.hostname="localhost"),g.path||(g.path="/"),g.wsOptions||(g.wsOptions={})}function c(g,m){let y=g.protocol==="alis"?"wss":"ws",E=`${y}://${g.hostname}${g.path}`;return g.port&&g.port!==80&&g.port!==443&&(E=`${y}://${g.hostname}:${g.port}${g.path}`),typeof g.transformWsUrl=="function"&&(E=g.transformWsUrl(E,g,m)),E}function f(){a||(a=!0,s.onSocketOpen(()=>{o.socketReady()}),s.onSocketMessage(g=>{if(typeof g.data=="string"){let m=e.Buffer.from(g.data,"base64");i.push(m)}else{let m=new FileReader;m.addEventListener("load",()=>{let y=m.result;y instanceof ArrayBuffer?y=e.Buffer.from(y):y=e.Buffer.from(y,"utf8"),i.push(y)}),m.readAsArrayBuffer(g.data)}}),s.onSocketClose(()=>{o.end(),o.destroy()}),s.onSocketError(g=>{o.destroy(g)}))}var d=(g,m)=>{if(m.hostname=m.hostname||m.host,!m.hostname)throw new Error("Could not determine host. Specify host manually.");let y=m.protocolId==="MQIsdp"&&m.protocolVersion===3?"mqttv3.1":"mqtt";u(m);let E=c(m,g);return s=m.my,s.connectSocket({url:E,protocols:y}),i=l(),o=new n.BufferedDuplex(m,i,s),f(),o};t.default=d}),cI=Te((t,e)=>{_e(),ve(),we(),e.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}}),b0=Te(t=>{_e(),ve(),we();var e=t&&t.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(t,"__esModule",{value:!0});var r=(Tt(),Ke(St)),n=e(cI()),s=e(vn()),i=rs(),o=e(Ru()),a=$p(),l=(0,s.default)("mqttjs:ws"),u=["rejectUnauthorized","ca","cert","key","pfx","passphrase"];function c(_,S){let v=`${_.protocol}://${_.hostname}:${_.port}${_.path}`;return typeof _.transformWsUrl=="function"&&(v=_.transformWsUrl(v,_,S)),v}function f(_){let S=_;return _.port||(_.protocol==="wss"?S.port=443:S.port=80),_.path||(S.path="/"),_.wsOptions||(S.wsOptions={}),!o.default&&_.protocol==="wss"&&u.forEach(v=>{Object.prototype.hasOwnProperty.call(_,v)&&!Object.prototype.hasOwnProperty.call(_.wsOptions,v)&&(S.wsOptions[v]=_[v])}),S}function d(_){let S=f(_);if(S.hostname||(S.hostname=S.host),!S.hostname){if(typeof document>"u")throw new Error("Could not determine host. Specify host manually.");let v=new URL(document.URL);S.hostname=v.hostname,S.port||(S.port=Number(v.port))}return S.objectMode===void 0&&(S.objectMode=!(S.binary===!0||S.binary===void 0)),S}function g(_,S,v){l("createWebSocket"),l(`protocol: ${v.protocolId} ${v.protocolVersion}`);let A=v.protocolId==="MQIsdp"&&v.protocolVersion===3?"mqttv3.1":"mqtt";l(`creating new Websocket for url: ${S} and protocol: ${A}`);let k;return v.createWebsocket?k=v.createWebsocket(S,[A],v):k=new n.default(S,[A],v.wsOptions),k}function m(_,S){let v=S.protocolId==="MQIsdp"&&S.protocolVersion===3?"mqttv3.1":"mqtt",A=c(S,_),k;return S.createWebsocket?k=S.createWebsocket(A,[v],S):k=new WebSocket(A,[v]),k.binaryType="arraybuffer",k}var y=(_,S)=>{l("streamBuilder");let v=f(S);v.hostname=v.hostname||v.host||"localhost";let A=c(v,_),k=g(_,A,v),x=n.default.createWebSocketStream(k,v.wsOptions);return x.url=A,k.on("close",()=>{x.destroy()}),x},E=(_,S)=>{l("browserStreamBuilder");let v,A=d(S).browserBufferSize||1024*512,k=S.browserBufferTimeout||1e3,x=!S.objectMode,D=m(_,S),N=q(S,H,G);S.objectMode||(N._writev=a.writev.bind(N)),N.on("close",()=>{D.close()});let B=typeof D.addEventListener<"u";D.readyState===D.OPEN?(v=N,v.socket=D):(v=new a.BufferedDuplex(S,N,D),B?D.addEventListener("open",K):D.onopen=K),B?(D.addEventListener("close",C),D.addEventListener("error",M),D.addEventListener("message",L)):(D.onclose=C,D.onerror=M,D.onmessage=L);function q(z,F,ne){let ce=new i.Transform({objectMode:z.objectMode});return ce._write=F,ce._flush=ne,ce}function K(){l("WebSocket onOpen"),v instanceof a.BufferedDuplex&&v.socketReady()}function C(z){l("WebSocket onClose",z),v.end(),v.destroy()}function M(z){l("WebSocket onError",z);let F=new Error("WebSocket error");F.event=z,v.destroy(F)}function L(z){let{data:F}=z;F instanceof ArrayBuffer?F=r.Buffer.from(F):F=r.Buffer.from(F,"utf8"),N.push(F)}function H(z,F,ne){if(D.bufferedAmount>A){setTimeout(H,k,z,F,ne);return}x&&typeof z=="string"&&(z=r.Buffer.from(z,"utf8"));try{D.send(z)}catch(ce){return ne(ce)}ne()}function G(z){D.close(),z()}return v};t.default=o.default?E:y}),fI=Te(t=>{_e(),ve(),we();var e=t&&t.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(t,"__esModule",{value:!0}),t.connectAsync=void 0;var r=e(vn()),n=e((lI(),Ke(i_))),s=e(oh()),i=e(Ru());typeof(ze==null?void 0:ze.nextTick)!="function"&&(ze.nextTick=setImmediate);var o=(0,r.default)("mqttjs"),a={};i.default?(a.wx=g0().default,a.wxs=g0().default,a.ali=m0().default,a.alis=m0().default):(a.mqtt=h0().default,a.tcp=h0().default,a.ssl=p0().default,a.tls=a.ssl,a.mqtts=p0().default),a.ws=b0().default,a.wss=b0().default;function l(f){let d;f.auth&&(d=f.auth.match(/^(.+):(.+)$/),d?(f.username=d[1],f.password=d[2]):f.username=f.auth)}function u(f,d){var g,m,y;if(o("connecting to an MQTT broker..."),typeof f=="object"&&!d&&(d=f,f=""),d=d||{},f&&typeof f=="string"){let S=n.default.parse(f,!0),v={};if(S.port!=null&&(v.port=Number(S.port)),v.host=S.hostname,v.query=S.query,v.auth=S.auth,v.protocol=S.protocol,v.path=S.path,v.protocol=(g=v.protocol)===null||g===void 0?void 0:g.replace(/:$/,""),d=Object.assign(Object.assign({},v),d),!d.protocol)throw new Error("Missing protocol")}if(d.unixSocket=d.unixSocket||((m=d.protocol)===null||m===void 0?void 0:m.includes("+unix")),d.unixSocket?d.protocol=d.protocol.replace("+unix",""):!((y=d.protocol)===null||y===void 0)&&y.startsWith("ws")||delete d.path,l(d),d.query&&typeof d.query.clientId=="string"&&(d.clientId=d.query.clientId),d.cert&&d.key)if(d.protocol){if(["mqtts","wss","wxs","alis"].indexOf(d.protocol)===-1)switch(d.protocol){case"mqtt":d.protocol="mqtts";break;case"ws":d.protocol="wss";break;case"wx":d.protocol="wxs";break;case"ali":d.protocol="alis";break;default:throw new Error(`Unknown protocol for secure connection: "${d.protocol}"!`)}}else throw new Error("Missing secure protocol key");if(!a[d.protocol]){let S=["mqtts","wss"].indexOf(d.protocol)!==-1;d.protocol=["mqtt","mqtts","ws","wss","wx","wxs","ali","alis"].filter((v,A)=>S&&A%2===0?!1:typeof a[v]=="function")[0]}if(d.clean===!1&&!d.clientId)throw new Error("Missing clientId for unclean clients");d.protocol&&(d.defaultProtocol=d.protocol);function E(S){return d.servers&&((!S._reconnectCount||S._reconnectCount===d.servers.length)&&(S._reconnectCount=0),d.host=d.servers[S._reconnectCount].host,d.port=d.servers[S._reconnectCount].port,d.protocol=d.servers[S._reconnectCount].protocol?d.servers[S._reconnectCount].protocol:d.defaultProtocol,d.hostname=d.host,S._reconnectCount++),o("calling streambuilder for",d.protocol),a[d.protocol](S,d)}let _=new s.default(E,d);return _.on("error",()=>{}),_}function c(f,d,g=!0){return new Promise((m,y)=>{let E=u(f,d),_={connect:v=>{S(),m(E)},end:()=>{S(),m(E)},error:v=>{S(),E.end(),y(v)}};g===!1&&(_.close=()=>{_.error(new Error("Couldn't connect to server"))});function S(){Object.keys(_).forEach(v=>{E.off(v,_[v])})}Object.keys(_).forEach(v=>{E.on(v,_[v])})})}t.connectAsync=c,t.default=u}),y0=Te(t=>{_e(),ve(),we();var e=t&&t.__createBinding||(Object.create?function(g,m,y,E){E===void 0&&(E=y);var _=Object.getOwnPropertyDescriptor(m,y);(!_||("get"in _?!m.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return m[y]}}),Object.defineProperty(g,E,_)}:function(g,m,y,E){E===void 0&&(E=y),g[E]=m[y]}),r=t&&t.__setModuleDefault||(Object.create?function(g,m){Object.defineProperty(g,"default",{enumerable:!0,value:m})}:function(g,m){g.default=m}),n=t&&t.__importStar||function(g){if(g&&g.__esModule)return g;var m={};if(g!=null)for(var y in g)y!=="default"&&Object.prototype.hasOwnProperty.call(g,y)&&e(m,g,y);return r(m,g),m},s=t&&t.__exportStar||function(g,m){for(var y in g)y!=="default"&&!Object.prototype.hasOwnProperty.call(m,y)&&e(m,g,y)},i=t&&t.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(t,"__esModule",{value:!0}),t.ReasonCodes=t.KeepaliveManager=t.UniqueMessageIdProvider=t.DefaultMessageIdProvider=t.Store=t.MqttClient=t.connectAsync=t.connect=t.Client=void 0;var o=i(oh());t.MqttClient=o.default;var a=i(Nv());t.DefaultMessageIdProvider=a.default;var l=i(qC());t.UniqueMessageIdProvider=l.default;var u=i(Dv());t.Store=u.default;var c=n(fI());t.connect=c.default,Object.defineProperty(t,"connectAsync",{enumerable:!0,get:function(){return c.connectAsync}});var f=i(Jv());t.KeepaliveManager=f.default,t.Client=o.default,s(oh(),t),s(ha(),t);var d=Ou();Object.defineProperty(t,"ReasonCodes",{enumerable:!0,get:function(){return d.ReasonCodes}})}),dI=Te(t=>{_e(),ve(),we();var e=t&&t.__createBinding||(Object.create?function(o,a,l,u){u===void 0&&(u=l);var c=Object.getOwnPropertyDescriptor(a,l);(!c||("get"in c?!a.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return a[l]}}),Object.defineProperty(o,u,c)}:function(o,a,l,u){u===void 0&&(u=l),o[u]=a[l]}),r=t&&t.__setModuleDefault||(Object.create?function(o,a){Object.defineProperty(o,"default",{enumerable:!0,value:a})}:function(o,a){o.default=a}),n=t&&t.__importStar||function(o){if(o&&o.__esModule)return o;var a={};if(o!=null)for(var l in o)l!=="default"&&Object.prototype.hasOwnProperty.call(o,l)&&e(a,o,l);return r(a,o),a},s=t&&t.__exportStar||function(o,a){for(var l in o)l!=="default"&&!Object.prototype.hasOwnProperty.call(a,l)&&e(a,o,l)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(y0());t.default=i,s(y0(),t)});const Kj=dI();/*! Bundled license information: + +@jspm/core/nodelibs/browser/buffer.js: + (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *) +*/var Fp={exports:{}},B_={exports:{}},Dc={exports:{}},nr={},Pu={};Pu.byteLength=gI;Pu.toByteArray=bI;Pu.fromByteArray=vI;var Br=[],or=[],hI=typeof Uint8Array<"u"?Uint8Array:Array,Bc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var gs=0,pI=Bc.length;gs0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function gI(t){var e=$_(t),r=e[0],n=e[1];return(r+n)*3/4-n}function mI(t,e,r){return(e+r)*3/4-r}function bI(t){var e,r=$_(t),n=r[0],s=r[1],i=new hI(mI(t,n,s)),o=0,a=s>0?n-4:n,l;for(l=0;l>16&255,i[o++]=e>>8&255,i[o++]=e&255;return s===2&&(e=or[t.charCodeAt(l)]<<2|or[t.charCodeAt(l+1)]>>4,i[o++]=e&255),s===1&&(e=or[t.charCodeAt(l)]<<10|or[t.charCodeAt(l+1)]<<4|or[t.charCodeAt(l+2)]>>2,i[o++]=e>>8&255,i[o++]=e&255),i}function yI(t){return Br[t>>18&63]+Br[t>>12&63]+Br[t>>6&63]+Br[t&63]}function wI(t,e,r){for(var n,s=[],i=e;ia?a:o+i));return n===1?(e=t[r-1],s.push(Br[e>>2]+Br[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],s.push(Br[e>>10]+Br[e>>4&63]+Br[e<<2&63]+"=")),s.join("")}var Up={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */Up.read=function(t,e,r,n,s){var i,o,a=s*8-n-1,l=(1<>1,c=-7,f=r?s-1:0,d=r?-1:1,g=t[e+f];for(f+=d,i=g&(1<<-c)-1,g>>=-c,c+=a;c>0;i=i*256+t[e+f],f+=d,c-=8);for(o=i&(1<<-c)-1,i>>=-c,c+=n;c>0;o=o*256+t[e+f],f+=d,c-=8);if(i===0)i=1-u;else{if(i===l)return o?NaN:(g?-1:1)*(1/0);o=o+Math.pow(2,n),i=i-u}return(g?-1:1)*o*Math.pow(2,i-n)};Up.write=function(t,e,r,n,s,i){var o,a,l,u=i*8-s-1,c=(1<>1,d=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:i-1,m=n?1:-1,y=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+f>=1?e+=d/l:e+=d*Math.pow(2,1-f),e*l>=2&&(o++,l/=2),o+f>=c?(a=0,o=c):o+f>=1?(a=(e*l-1)*Math.pow(2,s),o=o+f):(a=e*Math.pow(2,f-1)*Math.pow(2,s),o=0));s>=8;t[r+g]=a&255,g+=m,a/=256,s-=8);for(o=o<0;t[r+g]=o&255,g+=m,o/=256,u-=8);t[r+g-m]|=y*128};/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */(function(t){const e=Pu,r=Up,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=a,t.SlowBuffer=S,t.INSPECT_MAX_BYTES=50;const s=2147483647;t.kMaxLength=s,a.TYPED_ARRAY_SUPPORT=i(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{const p=new Uint8Array(1),h={foo:function(){return 42}};return Object.setPrototypeOf(h,Uint8Array.prototype),Object.setPrototypeOf(p,h),p.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function o(p){if(p>s)throw new RangeError('The value "'+p+'" is invalid for option "size"');const h=new Uint8Array(p);return Object.setPrototypeOf(h,a.prototype),h}function a(p,h,b){if(typeof p=="number"){if(typeof h=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(p)}return l(p,h,b)}a.poolSize=8192;function l(p,h,b){if(typeof p=="string")return d(p,h);if(ArrayBuffer.isView(p))return m(p);if(p==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof p);if($(p,ArrayBuffer)||p&&$(p.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&($(p,SharedArrayBuffer)||p&&$(p.buffer,SharedArrayBuffer)))return y(p,h,b);if(typeof p=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const T=p.valueOf&&p.valueOf();if(T!=null&&T!==p)return a.from(T,h,b);const U=E(p);if(U)return U;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof p[Symbol.toPrimitive]=="function")return a.from(p[Symbol.toPrimitive]("string"),h,b);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof p)}a.from=function(p,h,b){return l(p,h,b)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function u(p){if(typeof p!="number")throw new TypeError('"size" argument must be of type number');if(p<0)throw new RangeError('The value "'+p+'" is invalid for option "size"')}function c(p,h,b){return u(p),p<=0?o(p):h!==void 0?typeof b=="string"?o(p).fill(h,b):o(p).fill(h):o(p)}a.alloc=function(p,h,b){return c(p,h,b)};function f(p){return u(p),o(p<0?0:_(p)|0)}a.allocUnsafe=function(p){return f(p)},a.allocUnsafeSlow=function(p){return f(p)};function d(p,h){if((typeof h!="string"||h==="")&&(h="utf8"),!a.isEncoding(h))throw new TypeError("Unknown encoding: "+h);const b=v(p,h)|0;let T=o(b);const U=T.write(p,h);return U!==b&&(T=T.slice(0,U)),T}function g(p){const h=p.length<0?0:_(p.length)|0,b=o(h);for(let T=0;T=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return p|0}function S(p){return+p!=p&&(p=0),a.alloc(+p)}a.isBuffer=function(h){return h!=null&&h._isBuffer===!0&&h!==a.prototype},a.compare=function(h,b){if($(h,Uint8Array)&&(h=a.from(h,h.offset,h.byteLength)),$(b,Uint8Array)&&(b=a.from(b,b.offset,b.byteLength)),!a.isBuffer(h)||!a.isBuffer(b))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(h===b)return 0;let T=h.length,U=b.length;for(let ee=0,ye=Math.min(T,U);eeU.length?(a.isBuffer(ye)||(ye=a.from(ye)),ye.copy(U,ee)):Uint8Array.prototype.set.call(U,ye,ee);else if(a.isBuffer(ye))ye.copy(U,ee);else throw new TypeError('"list" argument must be an Array of Buffers');ee+=ye.length}return U};function v(p,h){if(a.isBuffer(p))return p.length;if(ArrayBuffer.isView(p)||$(p,ArrayBuffer))return p.byteLength;if(typeof p!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof p);const b=p.length,T=arguments.length>2&&arguments[2]===!0;if(!T&&b===0)return 0;let U=!1;for(;;)switch(h){case"ascii":case"latin1":case"binary":return b;case"utf8":case"utf-8":return W(p).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b*2;case"hex":return b>>>1;case"base64":return V(p).length;default:if(U)return T?-1:W(p).length;h=(""+h).toLowerCase(),U=!0}}a.byteLength=v;function A(p,h,b){let T=!1;if((h===void 0||h<0)&&(h=0),h>this.length||((b===void 0||b>this.length)&&(b=this.length),b<=0)||(b>>>=0,h>>>=0,b<=h))return"";for(p||(p="utf8");;)switch(p){case"hex":return ne(this,h,b);case"utf8":case"utf-8":return L(this,h,b);case"ascii":return z(this,h,b);case"latin1":case"binary":return F(this,h,b);case"base64":return M(this,h,b);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce(this,h,b);default:if(T)throw new TypeError("Unknown encoding: "+p);p=(p+"").toLowerCase(),T=!0}}a.prototype._isBuffer=!0;function k(p,h,b){const T=p[h];p[h]=p[b],p[b]=T}a.prototype.swap16=function(){const h=this.length;if(h%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let b=0;bb&&(h+=" ... "),""},n&&(a.prototype[n]=a.prototype.inspect),a.prototype.compare=function(h,b,T,U,ee){if($(h,Uint8Array)&&(h=a.from(h,h.offset,h.byteLength)),!a.isBuffer(h))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof h);if(b===void 0&&(b=0),T===void 0&&(T=h?h.length:0),U===void 0&&(U=0),ee===void 0&&(ee=this.length),b<0||T>h.length||U<0||ee>this.length)throw new RangeError("out of range index");if(U>=ee&&b>=T)return 0;if(U>=ee)return-1;if(b>=T)return 1;if(b>>>=0,T>>>=0,U>>>=0,ee>>>=0,this===h)return 0;let ye=ee-U,Ae=T-b;const Re=Math.min(ye,Ae),xe=this.slice(U,ee),Oe=h.slice(b,T);for(let Me=0;Me2147483647?b=2147483647:b<-2147483648&&(b=-2147483648),b=+b,J(b)&&(b=U?0:p.length-1),b<0&&(b=p.length+b),b>=p.length){if(U)return-1;b=p.length-1}else if(b<0)if(U)b=0;else return-1;if(typeof h=="string"&&(h=a.from(h,T)),a.isBuffer(h))return h.length===0?-1:D(p,h,b,T,U);if(typeof h=="number")return h=h&255,typeof Uint8Array.prototype.indexOf=="function"?U?Uint8Array.prototype.indexOf.call(p,h,b):Uint8Array.prototype.lastIndexOf.call(p,h,b):D(p,[h],b,T,U);throw new TypeError("val must be string, number or Buffer")}function D(p,h,b,T,U){let ee=1,ye=p.length,Ae=h.length;if(T!==void 0&&(T=String(T).toLowerCase(),T==="ucs2"||T==="ucs-2"||T==="utf16le"||T==="utf-16le")){if(p.length<2||h.length<2)return-1;ee=2,ye/=2,Ae/=2,b/=2}function Re(Oe,Me){return ee===1?Oe[Me]:Oe.readUInt16BE(Me*ee)}let xe;if(U){let Oe=-1;for(xe=b;xeye&&(b=ye-Ae),xe=b;xe>=0;xe--){let Oe=!0;for(let Me=0;MeU&&(T=U)):T=U;const ee=h.length;T>ee/2&&(T=ee/2);let ye;for(ye=0;ye>>0,isFinite(T)?(T=T>>>0,U===void 0&&(U="utf8")):(U=T,T=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const ee=this.length-b;if((T===void 0||T>ee)&&(T=ee),h.length>0&&(T<0||b<0)||b>this.length)throw new RangeError("Attempt to write outside buffer bounds");U||(U="utf8");let ye=!1;for(;;)switch(U){case"hex":return N(this,h,b,T);case"utf8":case"utf-8":return B(this,h,b,T);case"ascii":case"latin1":case"binary":return q(this,h,b,T);case"base64":return K(this,h,b,T);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,h,b,T);default:if(ye)throw new TypeError("Unknown encoding: "+U);U=(""+U).toLowerCase(),ye=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(p,h,b){return h===0&&b===p.length?e.fromByteArray(p):e.fromByteArray(p.slice(h,b))}function L(p,h,b){b=Math.min(p.length,b);const T=[];let U=h;for(;U239?4:ee>223?3:ee>191?2:1;if(U+Ae<=b){let Re,xe,Oe,Me;switch(Ae){case 1:ee<128&&(ye=ee);break;case 2:Re=p[U+1],(Re&192)===128&&(Me=(ee&31)<<6|Re&63,Me>127&&(ye=Me));break;case 3:Re=p[U+1],xe=p[U+2],(Re&192)===128&&(xe&192)===128&&(Me=(ee&15)<<12|(Re&63)<<6|xe&63,Me>2047&&(Me<55296||Me>57343)&&(ye=Me));break;case 4:Re=p[U+1],xe=p[U+2],Oe=p[U+3],(Re&192)===128&&(xe&192)===128&&(Oe&192)===128&&(Me=(ee&15)<<18|(Re&63)<<12|(xe&63)<<6|Oe&63,Me>65535&&Me<1114112&&(ye=Me))}}ye===null?(ye=65533,Ae=1):ye>65535&&(ye-=65536,T.push(ye>>>10&1023|55296),ye=56320|ye&1023),T.push(ye),U+=Ae}return G(T)}const H=4096;function G(p){const h=p.length;if(h<=H)return String.fromCharCode.apply(String,p);let b="",T=0;for(;TT)&&(b=T);let U="";for(let ee=h;eeT&&(h=T),b<0?(b+=T,b<0&&(b=0)):b>T&&(b=T),bb)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(h,b,T){h=h>>>0,b=b>>>0,T||re(h,b,this.length);let U=this[h],ee=1,ye=0;for(;++ye>>0,b=b>>>0,T||re(h,b,this.length);let U=this[h+--b],ee=1;for(;b>0&&(ee*=256);)U+=this[h+--b]*ee;return U},a.prototype.readUint8=a.prototype.readUInt8=function(h,b){return h=h>>>0,b||re(h,1,this.length),this[h]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(h,b){return h=h>>>0,b||re(h,2,this.length),this[h]|this[h+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(h,b){return h=h>>>0,b||re(h,2,this.length),this[h]<<8|this[h+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(h,b){return h=h>>>0,b||re(h,4,this.length),(this[h]|this[h+1]<<8|this[h+2]<<16)+this[h+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(h,b){return h=h>>>0,b||re(h,4,this.length),this[h]*16777216+(this[h+1]<<16|this[h+2]<<8|this[h+3])},a.prototype.readBigUInt64LE=me(function(h){h=h>>>0,I(h,"offset");const b=this[h],T=this[h+7];(b===void 0||T===void 0)&&P(h,this.length-8);const U=b+this[++h]*2**8+this[++h]*2**16+this[++h]*2**24,ee=this[++h]+this[++h]*2**8+this[++h]*2**16+T*2**24;return BigInt(U)+(BigInt(ee)<>>0,I(h,"offset");const b=this[h],T=this[h+7];(b===void 0||T===void 0)&&P(h,this.length-8);const U=b*2**24+this[++h]*2**16+this[++h]*2**8+this[++h],ee=this[++h]*2**24+this[++h]*2**16+this[++h]*2**8+T;return(BigInt(U)<>>0,b=b>>>0,T||re(h,b,this.length);let U=this[h],ee=1,ye=0;for(;++ye=ee&&(U-=Math.pow(2,8*b)),U},a.prototype.readIntBE=function(h,b,T){h=h>>>0,b=b>>>0,T||re(h,b,this.length);let U=b,ee=1,ye=this[h+--U];for(;U>0&&(ee*=256);)ye+=this[h+--U]*ee;return ee*=128,ye>=ee&&(ye-=Math.pow(2,8*b)),ye},a.prototype.readInt8=function(h,b){return h=h>>>0,b||re(h,1,this.length),this[h]&128?(255-this[h]+1)*-1:this[h]},a.prototype.readInt16LE=function(h,b){h=h>>>0,b||re(h,2,this.length);const T=this[h]|this[h+1]<<8;return T&32768?T|4294901760:T},a.prototype.readInt16BE=function(h,b){h=h>>>0,b||re(h,2,this.length);const T=this[h+1]|this[h]<<8;return T&32768?T|4294901760:T},a.prototype.readInt32LE=function(h,b){return h=h>>>0,b||re(h,4,this.length),this[h]|this[h+1]<<8|this[h+2]<<16|this[h+3]<<24},a.prototype.readInt32BE=function(h,b){return h=h>>>0,b||re(h,4,this.length),this[h]<<24|this[h+1]<<16|this[h+2]<<8|this[h+3]},a.prototype.readBigInt64LE=me(function(h){h=h>>>0,I(h,"offset");const b=this[h],T=this[h+7];(b===void 0||T===void 0)&&P(h,this.length-8);const U=this[h+4]+this[h+5]*2**8+this[h+6]*2**16+(T<<24);return(BigInt(U)<>>0,I(h,"offset");const b=this[h],T=this[h+7];(b===void 0||T===void 0)&&P(h,this.length-8);const U=(b<<24)+this[++h]*2**16+this[++h]*2**8+this[++h];return(BigInt(U)<>>0,b||re(h,4,this.length),r.read(this,h,!0,23,4)},a.prototype.readFloatBE=function(h,b){return h=h>>>0,b||re(h,4,this.length),r.read(this,h,!1,23,4)},a.prototype.readDoubleLE=function(h,b){return h=h>>>0,b||re(h,8,this.length),r.read(this,h,!0,52,8)},a.prototype.readDoubleBE=function(h,b){return h=h>>>0,b||re(h,8,this.length),r.read(this,h,!1,52,8)};function R(p,h,b,T,U,ee){if(!a.isBuffer(p))throw new TypeError('"buffer" argument must be a Buffer instance');if(h>U||hp.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(h,b,T,U){if(h=+h,b=b>>>0,T=T>>>0,!U){const Ae=Math.pow(2,8*T)-1;R(this,h,b,T,Ae,0)}let ee=1,ye=0;for(this[b]=h&255;++ye>>0,T=T>>>0,!U){const Ae=Math.pow(2,8*T)-1;R(this,h,b,T,Ae,0)}let ee=T-1,ye=1;for(this[b+ee]=h&255;--ee>=0&&(ye*=256);)this[b+ee]=h/ye&255;return b+T},a.prototype.writeUint8=a.prototype.writeUInt8=function(h,b,T){return h=+h,b=b>>>0,T||R(this,h,b,1,255,0),this[b]=h&255,b+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(h,b,T){return h=+h,b=b>>>0,T||R(this,h,b,2,65535,0),this[b]=h&255,this[b+1]=h>>>8,b+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(h,b,T){return h=+h,b=b>>>0,T||R(this,h,b,2,65535,0),this[b]=h>>>8,this[b+1]=h&255,b+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(h,b,T){return h=+h,b=b>>>0,T||R(this,h,b,4,4294967295,0),this[b+3]=h>>>24,this[b+2]=h>>>16,this[b+1]=h>>>8,this[b]=h&255,b+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(h,b,T){return h=+h,b=b>>>0,T||R(this,h,b,4,4294967295,0),this[b]=h>>>24,this[b+1]=h>>>16,this[b+2]=h>>>8,this[b+3]=h&255,b+4};function Q(p,h,b,T,U){ue(h,T,U,p,b,7);let ee=Number(h&BigInt(4294967295));p[b++]=ee,ee=ee>>8,p[b++]=ee,ee=ee>>8,p[b++]=ee,ee=ee>>8,p[b++]=ee;let ye=Number(h>>BigInt(32)&BigInt(4294967295));return p[b++]=ye,ye=ye>>8,p[b++]=ye,ye=ye>>8,p[b++]=ye,ye=ye>>8,p[b++]=ye,b}function de(p,h,b,T,U){ue(h,T,U,p,b,7);let ee=Number(h&BigInt(4294967295));p[b+7]=ee,ee=ee>>8,p[b+6]=ee,ee=ee>>8,p[b+5]=ee,ee=ee>>8,p[b+4]=ee;let ye=Number(h>>BigInt(32)&BigInt(4294967295));return p[b+3]=ye,ye=ye>>8,p[b+2]=ye,ye=ye>>8,p[b+1]=ye,ye=ye>>8,p[b]=ye,b+8}a.prototype.writeBigUInt64LE=me(function(h,b=0){return Q(this,h,b,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=me(function(h,b=0){return de(this,h,b,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(h,b,T,U){if(h=+h,b=b>>>0,!U){const Re=Math.pow(2,8*T-1);R(this,h,b,T,Re-1,-Re)}let ee=0,ye=1,Ae=0;for(this[b]=h&255;++ee>0)-Ae&255;return b+T},a.prototype.writeIntBE=function(h,b,T,U){if(h=+h,b=b>>>0,!U){const Re=Math.pow(2,8*T-1);R(this,h,b,T,Re-1,-Re)}let ee=T-1,ye=1,Ae=0;for(this[b+ee]=h&255;--ee>=0&&(ye*=256);)h<0&&Ae===0&&this[b+ee+1]!==0&&(Ae=1),this[b+ee]=(h/ye>>0)-Ae&255;return b+T},a.prototype.writeInt8=function(h,b,T){return h=+h,b=b>>>0,T||R(this,h,b,1,127,-128),h<0&&(h=255+h+1),this[b]=h&255,b+1},a.prototype.writeInt16LE=function(h,b,T){return h=+h,b=b>>>0,T||R(this,h,b,2,32767,-32768),this[b]=h&255,this[b+1]=h>>>8,b+2},a.prototype.writeInt16BE=function(h,b,T){return h=+h,b=b>>>0,T||R(this,h,b,2,32767,-32768),this[b]=h>>>8,this[b+1]=h&255,b+2},a.prototype.writeInt32LE=function(h,b,T){return h=+h,b=b>>>0,T||R(this,h,b,4,2147483647,-2147483648),this[b]=h&255,this[b+1]=h>>>8,this[b+2]=h>>>16,this[b+3]=h>>>24,b+4},a.prototype.writeInt32BE=function(h,b,T){return h=+h,b=b>>>0,T||R(this,h,b,4,2147483647,-2147483648),h<0&&(h=4294967295+h+1),this[b]=h>>>24,this[b+1]=h>>>16,this[b+2]=h>>>8,this[b+3]=h&255,b+4},a.prototype.writeBigInt64LE=me(function(h,b=0){return Q(this,h,b,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=me(function(h,b=0){return de(this,h,b,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ge(p,h,b,T,U,ee){if(b+T>p.length)throw new RangeError("Index out of range");if(b<0)throw new RangeError("Index out of range")}function pe(p,h,b,T,U){return h=+h,b=b>>>0,U||ge(p,h,b,4),r.write(p,h,b,T,23,4),b+4}a.prototype.writeFloatLE=function(h,b,T){return pe(this,h,b,!0,T)},a.prototype.writeFloatBE=function(h,b,T){return pe(this,h,b,!1,T)};function X(p,h,b,T,U){return h=+h,b=b>>>0,U||ge(p,h,b,8),r.write(p,h,b,T,52,8),b+8}a.prototype.writeDoubleLE=function(h,b,T){return X(this,h,b,!0,T)},a.prototype.writeDoubleBE=function(h,b,T){return X(this,h,b,!1,T)},a.prototype.copy=function(h,b,T,U){if(!a.isBuffer(h))throw new TypeError("argument should be a Buffer");if(T||(T=0),!U&&U!==0&&(U=this.length),b>=h.length&&(b=h.length),b||(b=0),U>0&&U=this.length)throw new RangeError("Index out of range");if(U<0)throw new RangeError("sourceEnd out of bounds");U>this.length&&(U=this.length),h.length-b>>0,T=T===void 0?this.length:T>>>0,h||(h=0);let ee;if(typeof h=="number")for(ee=b;ee2**32?U=be(String(b)):typeof b=="bigint"&&(U=String(b),(b>BigInt(2)**BigInt(32)||b<-(BigInt(2)**BigInt(32)))&&(U=be(U)),U+="n"),T+=` It must be ${h}. Received ${U}`,T},RangeError);function be(p){let h="",b=p.length;const T=p[0]==="-"?1:0;for(;b>=T+4;b-=3)h=`_${p.slice(b-3,b)}${h}`;return`${p.slice(0,b)}${h}`}function he(p,h,b){I(h,"offset"),(p[h]===void 0||p[h+b]===void 0)&&P(h,p.length-(b+1))}function ue(p,h,b,T,U,ee){if(p>b||p= 0${ye} and < 2${ye} ** ${(ee+1)*8}${ye}`:Ae=`>= -(2${ye} ** ${(ee+1)*8-1}${ye}) and < 2 ** ${(ee+1)*8-1}${ye}`,new Y.ERR_OUT_OF_RANGE("value",Ae,p)}he(T,U,ee)}function I(p,h){if(typeof p!="number")throw new Y.ERR_INVALID_ARG_TYPE(h,"number",p)}function P(p,h,b){throw Math.floor(p)!==p?(I(p,b),new Y.ERR_OUT_OF_RANGE("offset","an integer",p)):h<0?new Y.ERR_BUFFER_OUT_OF_BOUNDS:new Y.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${h}`,p)}const O=/[^+/0-9A-Za-z-_]/g;function j(p){if(p=p.split("=")[0],p=p.trim().replace(O,""),p.length<2)return"";for(;p.length%4!==0;)p=p+"=";return p}function W(p,h){h=h||1/0;let b;const T=p.length;let U=null;const ee=[];for(let ye=0;ye55295&&b<57344){if(!U){if(b>56319){(h-=3)>-1&&ee.push(239,191,189);continue}else if(ye+1===T){(h-=3)>-1&&ee.push(239,191,189);continue}U=b;continue}if(b<56320){(h-=3)>-1&&ee.push(239,191,189),U=b;continue}b=(U-55296<<10|b-56320)+65536}else U&&(h-=3)>-1&&ee.push(239,191,189);if(U=null,b<128){if((h-=1)<0)break;ee.push(b)}else if(b<2048){if((h-=2)<0)break;ee.push(b>>6|192,b&63|128)}else if(b<65536){if((h-=3)<0)break;ee.push(b>>12|224,b>>6&63|128,b&63|128)}else if(b<1114112){if((h-=4)<0)break;ee.push(b>>18|240,b>>12&63|128,b>>6&63|128,b&63|128)}else throw new Error("Invalid code point")}return ee}function le(p){const h=[];for(let b=0;b>8,U=b%256,ee.push(U),ee.push(T);return ee}function V(p){return e.toByteArray(j(p))}function te(p,h,b,T){let U;for(U=0;U=h.length||U>=p.length);++U)h[U+b]=p[U];return U}function $(p,h){return p instanceof h||p!=null&&p.constructor!=null&&p.constructor.name!=null&&p.constructor.name===h.name}function J(p){return p!==p}const ae=function(){const p="0123456789abcdef",h=new Array(256);for(let b=0;b<16;++b){const T=b*16;for(let U=0;U<16;++U)h[T+U]=p[b]+p[U]}return h}();function me(p){return typeof BigInt>"u"?w:p}function w(){throw new Error("BigInt not supported")}})(nr);var at={ArrayIsArray(t){return Array.isArray(t)},ArrayPrototypeIncludes(t,e){return t.includes(e)},ArrayPrototypeIndexOf(t,e){return t.indexOf(e)},ArrayPrototypeJoin(t,e){return t.join(e)},ArrayPrototypeMap(t,e){return t.map(e)},ArrayPrototypePop(t,e){return t.pop(e)},ArrayPrototypePush(t,e){return t.push(e)},ArrayPrototypeSlice(t,e,r){return t.slice(e,r)},Error,FunctionPrototypeCall(t,e,...r){return t.call(e,...r)},FunctionPrototypeSymbolHasInstance(t,e){return Function.prototype[Symbol.hasInstance].call(t,e)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(t,e){return Object.defineProperties(t,e)},ObjectDefineProperty(t,e,r){return Object.defineProperty(t,e,r)},ObjectGetOwnPropertyDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)},ObjectKeys(t){return Object.keys(t)},ObjectSetPrototypeOf(t,e){return Object.setPrototypeOf(t,e)},Promise,PromisePrototypeCatch(t,e){return t.catch(e)},PromisePrototypeThen(t,e,r){return t.then(e,r)},PromiseReject(t){return Promise.reject(t)},PromiseResolve(t){return Promise.resolve(t)},ReflectApply:Reflect.apply,RegExpPrototypeTest(t,e){return t.test(e)},SafeSet:Set,String,StringPrototypeSlice(t,e,r){return t.slice(e,r)},StringPrototypeToLowerCase(t){return t.toLowerCase()},StringPrototypeToUpperCase(t){return t.toUpperCase()},StringPrototypeTrim(t){return t.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(t,e,r){return t.set(e,r)},Boolean,Uint8Array},F_={exports:{}},vo={exports:{}},w0;function na(){if(w0)return vo.exports;w0=1;const{AbortController:t,AbortSignal:e}=typeof self<"u"?self:typeof window<"u"?window:void 0;return vo.exports=t,vo.exports.AbortSignal=e,vo.exports.default=t,vo.exports}var jp={exports:{}},Ps=typeof Reflect=="object"?Reflect:null,v0=Ps&&typeof Ps.apply=="function"?Ps.apply:function(e,r,n){return Function.prototype.apply.call(e,r,n)},yl;Ps&&typeof Ps.ownKeys=="function"?yl=Ps.ownKeys:Object.getOwnPropertySymbols?yl=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:yl=function(e){return Object.getOwnPropertyNames(e)};function _I(t){console&&console.warn&&console.warn(t)}var U_=Number.isNaN||function(e){return e!==e};function Ge(){Ge.init.call(this)}jp.exports=Ge;jp.exports.once=xI;Ge.EventEmitter=Ge;Ge.prototype._events=void 0;Ge.prototype._eventsCount=0;Ge.prototype._maxListeners=void 0;var _0=10;function ku(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(Ge,"defaultMaxListeners",{enumerable:!0,get:function(){return _0},set:function(t){if(typeof t!="number"||t<0||U_(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");_0=t}});Ge.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Ge.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||U_(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function j_(t){return t._maxListeners===void 0?Ge.defaultMaxListeners:t._maxListeners}Ge.prototype.getMaxListeners=function(){return j_(this)};Ge.prototype.emit=function(e){for(var r=[],n=1;n0&&(o=r[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var l=i[e];if(l===void 0)return!1;if(typeof l=="function")v0(l,this,r);else for(var u=l.length,c=q_(l,u),n=0;n0&&o.length>s&&!o.warned){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=o.length,_I(a)}return t}Ge.prototype.addListener=function(e,r){return W_(this,e,r,!1)};Ge.prototype.on=Ge.prototype.addListener;Ge.prototype.prependListener=function(e,r){return W_(this,e,r,!0)};function EI(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function z_(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},s=EI.bind(n);return s.listener=r,n.wrapFn=s,s}Ge.prototype.once=function(e,r){return ku(r),this.on(e,z_(this,e,r)),this};Ge.prototype.prependOnceListener=function(e,r){return ku(r),this.prependListener(e,z_(this,e,r)),this};Ge.prototype.removeListener=function(e,r){var n,s,i,o,a;if(ku(r),s=this._events,s===void 0)return this;if(n=s[e],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete s[e],s.removeListener&&this.emit("removeListener",e,n.listener||r));else if(typeof n!="function"){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===r||n[o].listener===r){a=n[o].listener,i=o;break}if(i<0)return this;i===0?n.shift():SI(n,i),n.length===1&&(s[e]=n[0]),s.removeListener!==void 0&&this.emit("removeListener",e,a||r)}return this};Ge.prototype.off=Ge.prototype.removeListener;Ge.prototype.removeAllListeners=function(e){var r,n,s;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[e]),this;if(arguments.length===0){var i=Object.keys(n),o;for(s=0;s=0;s--)this.removeListener(e,r[s]);return this};function H_(t,e,r){var n=t._events;if(n===void 0)return[];var s=n[e];return s===void 0?[]:typeof s=="function"?r?[s.listener||s]:[s]:r?TI(s):q_(s,s.length)}Ge.prototype.listeners=function(e){return H_(this,e,!0)};Ge.prototype.rawListeners=function(e){return H_(this,e,!1)};Ge.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):V_.call(t,e)};Ge.prototype.listenerCount=V_;function V_(t){var e=this._events;if(e!==void 0){var r=e[t];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}Ge.prototype.eventNames=function(){return this._eventsCount>0?yl(this._events):[]};function q_(t,e){for(var r=new Array(e),n=0;n{if(d!==void 0&&(d===null||typeof d!="object"||!("aborted"in d)))throw new ERR_INVALID_ARG_TYPE(g,"AbortSignal",d)},c=(d,g)=>{if(typeof d!="function")throw new ERR_INVALID_ARG_TYPE(g,"Function",d)};class f extends Error{constructor(g){if(!Array.isArray(g))throw new TypeError(`Expected input to be an Array, got ${typeof g}`);let m="";for(let y=0;y{d=y,g=E}),resolve:d,reject:g}},promisify(d){return new Promise((g,m)=>{d((y,...E)=>y?m(y):g(...E))})},debuglog(){return function(){}},format(d,...g){return d.replace(/%([sdifj])/g,function(...[m,y]){const E=g.shift();return y==="f"?E.toFixed(6):y==="j"?JSON.stringify(E):y==="s"&&typeof E=="object"?`${E.constructor!==Object?E.constructor.name:""} {}`.trim():E.toString()})},inspect(d){switch(typeof d){case"string":if(d.includes("'"))if(d.includes('"')){if(!d.includes("`")&&!d.includes("${"))return`\`${d}\``}else return`"${d}"`;return`'${d}'`;case"number":return isNaN(d)?"NaN":Object.is(d,-0)?String(d):d;case"bigint":return`${String(d)}n`;case"boolean":case"undefined":return String(d);case"object":return"{}"}},types:{isAsyncFunction(d){return d instanceof o},isArrayBufferView(d){return ArrayBuffer.isView(d)}},isBlob:l,deprecate(d,g){return d},addAbortListener:Lu.addAbortListener||function(g,m){if(g===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",g);u(g,"signal"),c(m,"listener");let y;return g.aborted?queueMicrotask(()=>m()):(g.addEventListener("abort",m,{__proto__:null,once:!0,[r]:!0}),y=()=>{g.removeEventListener("abort",m)}),{__proto__:null,[n](){var E;(E=y)===null||E===void 0||E()}}},AbortSignalAny:s.any||function(g){if(g.length===1)return g[0];const m=new i,y=()=>m.abort();return g.forEach(E=>{u(E,"signals"),E.addEventListener("abort",y,{once:!0})}),m.signal.addEventListener("abort",()=>{g.forEach(E=>E.removeEventListener("abort",y))},{once:!0}),m.signal}},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(F_);var Bt=F_.exports,Wp={};const{format:CI,inspect:ql,AggregateError:II}=Bt,MI=globalThis.AggregateError||II,OI=Symbol("kIsNodeError"),RI=["string","function","number","object","Function","Object","boolean","bigint","symbol"],PI=/^([A-Z][a-z0-9]*)+$/,kI="__node_internal_",Nu={};function Wi(t,e){if(!t)throw new Nu.ERR_INTERNAL_ASSERTION(e)}function E0(t){let e="",r=t.length;const n=t[0]==="-"?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function LI(t,e,r){if(typeof e=="function")return Wi(e.length<=r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${e.length}).`),e(...r);const n=(e.match(/%[dfijoOs]/g)||[]).length;return Wi(n===r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${n}).`),r.length===0?e:CI(e,...r)}function xt(t,e,r){r||(r=Error);class n extends r{constructor(...i){super(LI(t,e,i))}toString(){return`${this.name} [${t}]: ${this.message}`}}Object.defineProperties(n.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=t,n.prototype[OI]=!0,Nu[t]=n}function S0(t){const e=kI+t.name;return Object.defineProperty(t,"name",{value:e}),t}function NI(t,e){if(t&&e&&t!==e){if(Array.isArray(e.errors))return e.errors.push(t),e;const r=new MI([e,t],e.message);return r.code=e.code,r}return t||e}let DI=class extends Error{constructor(e="The operation was aborted",r=void 0){if(r!==void 0&&typeof r!="object")throw new Nu.ERR_INVALID_ARG_TYPE("options","Object",r);super(e,r),this.code="ABORT_ERR",this.name="AbortError"}};xt("ERR_ASSERTION","%s",Error);xt("ERR_INVALID_ARG_TYPE",(t,e,r)=>{Wi(typeof t=="string","'name' must be a string"),Array.isArray(e)||(e=[e]);let n="The ";t.endsWith(" argument")?n+=`${t} `:n+=`"${t}" ${t.includes(".")?"property":"argument"} `,n+="must be ";const s=[],i=[],o=[];for(const l of e)Wi(typeof l=="string","All expected entries have to be of type string"),RI.includes(l)?s.push(l.toLowerCase()):PI.test(l)?i.push(l):(Wi(l!=="object",'The value "object" should be written as "Object"'),o.push(l));if(i.length>0){const l=s.indexOf("object");l!==-1&&(s.splice(s,l,1),i.push("Object"))}if(s.length>0){switch(s.length){case 1:n+=`of type ${s[0]}`;break;case 2:n+=`one of type ${s[0]} or ${s[1]}`;break;default:{const l=s.pop();n+=`one of type ${s.join(", ")}, or ${l}`}}(i.length>0||o.length>0)&&(n+=" or ")}if(i.length>0){switch(i.length){case 1:n+=`an instance of ${i[0]}`;break;case 2:n+=`an instance of ${i[0]} or ${i[1]}`;break;default:{const l=i.pop();n+=`an instance of ${i.join(", ")}, or ${l}`}}o.length>0&&(n+=" or ")}switch(o.length){case 0:break;case 1:o[0].toLowerCase()!==o[0]&&(n+="an "),n+=`${o[0]}`;break;case 2:n+=`one of ${o[0]} or ${o[1]}`;break;default:{const l=o.pop();n+=`one of ${o.join(", ")}, or ${l}`}}if(r==null)n+=`. Received ${r}`;else if(typeof r=="function"&&r.name)n+=`. Received function ${r.name}`;else if(typeof r=="object"){var a;if((a=r.constructor)!==null&&a!==void 0&&a.name)n+=`. Received an instance of ${r.constructor.name}`;else{const l=ql(r,{depth:-1});n+=`. Received ${l}`}}else{let l=ql(r,{colors:!1});l.length>25&&(l=`${l.slice(0,25)}...`),n+=`. Received type ${typeof r} (${l})`}return n},TypeError);xt("ERR_INVALID_ARG_VALUE",(t,e,r="is invalid")=>{let n=ql(e);return n.length>128&&(n=n.slice(0,128)+"..."),`The ${t.includes(".")?"property":"argument"} '${t}' ${r}. Received ${n}`},TypeError);xt("ERR_INVALID_RETURN_VALUE",(t,e,r)=>{var n;const s=r!=null&&(n=r.constructor)!==null&&n!==void 0&&n.name?`instance of ${r.constructor.name}`:`type ${typeof r}`;return`Expected ${t} to be returned from the "${e}" function but got ${s}.`},TypeError);xt("ERR_MISSING_ARGS",(...t)=>{Wi(t.length>0,"At least one arg needs to be specified");let e;const r=t.length;switch(t=(Array.isArray(t)?t:[t]).map(n=>`"${n}"`).join(" or "),r){case 1:e+=`The ${t[0]} argument`;break;case 2:e+=`The ${t[0]} and ${t[1]} arguments`;break;default:{const n=t.pop();e+=`The ${t.join(", ")}, and ${n} arguments`}break}return`${e} must be specified`},TypeError);xt("ERR_OUT_OF_RANGE",(t,e,r)=>{Wi(e,'Missing "range" argument');let n;return Number.isInteger(r)&&Math.abs(r)>2**32?n=E0(String(r)):typeof r=="bigint"?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=E0(n)),n+="n"):n=ql(r),`The value of "${t}" is out of range. It must be ${e}. Received ${n}`},RangeError);xt("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);xt("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);xt("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);xt("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);xt("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);xt("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);xt("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);xt("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);xt("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);xt("ERR_STREAM_WRITE_AFTER_END","write after end",Error);xt("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var qt={AbortError:DI,aggregateTwoErrors:S0(NI),hideStackFrames:S0,codes:Nu};const{ArrayIsArray:zp,ArrayPrototypeIncludes:G_,ArrayPrototypeJoin:K_,ArrayPrototypeMap:BI,NumberIsInteger:Hp,NumberIsNaN:$I,NumberMAX_SAFE_INTEGER:FI,NumberMIN_SAFE_INTEGER:UI,NumberParseInt:jI,ObjectPrototypeHasOwnProperty:WI,RegExpPrototypeExec:X_,String:zI,StringPrototypeToUpperCase:HI,StringPrototypeTrim:VI}=at,{hideStackFrames:hr,codes:{ERR_SOCKET_BAD_PORT:qI,ERR_INVALID_ARG_TYPE:Pt,ERR_INVALID_ARG_VALUE:io,ERR_OUT_OF_RANGE:Yi,ERR_UNKNOWN_SIGNAL:T0}}=qt,{normalizeEncoding:YI}=Bt,{isAsyncFunction:GI,isArrayBufferView:KI}=Bt.types,x0={};function XI(t){return t===(t|0)}function QI(t){return t===t>>>0}const JI=/^[0-7]+$/,ZI="must be a 32-bit unsigned integer or an octal string";function eM(t,e,r){if(typeof t>"u"&&(t=r),typeof t=="string"){if(X_(JI,t)===null)throw new io(e,t,ZI);t=jI(t,8)}return Q_(t,e),t}const tM=hr((t,e,r=UI,n=FI)=>{if(typeof t!="number")throw new Pt(e,"number",t);if(!Hp(t))throw new Yi(e,"an integer",t);if(tn)throw new Yi(e,`>= ${r} && <= ${n}`,t)}),rM=hr((t,e,r=-2147483648,n=2147483647)=>{if(typeof t!="number")throw new Pt(e,"number",t);if(!Hp(t))throw new Yi(e,"an integer",t);if(tn)throw new Yi(e,`>= ${r} && <= ${n}`,t)}),Q_=hr((t,e,r=!1)=>{if(typeof t!="number")throw new Pt(e,"number",t);if(!Hp(t))throw new Yi(e,"an integer",t);const n=r?1:0,s=4294967295;if(ts)throw new Yi(e,`>= ${n} && <= ${s}`,t)});function Vp(t,e){if(typeof t!="string")throw new Pt(e,"string",t)}function nM(t,e,r=void 0,n){if(typeof t!="number")throw new Pt(e,"number",t);if(r!=null&&tn||(r!=null||n!=null)&&$I(t))throw new Yi(e,`${r!=null?`>= ${r}`:""}${r!=null&&n!=null?" && ":""}${n!=null?`<= ${n}`:""}`,t)}const iM=hr((t,e,r)=>{if(!G_(r,t)){const s="must be one of: "+K_(BI(r,i=>typeof i=="string"?`'${i}'`:zI(i)),", ");throw new io(e,t,s)}});function J_(t,e){if(typeof t!="boolean")throw new Pt(e,"boolean",t)}function $c(t,e,r){return t==null||!WI(t,e)?r:t[e]}const sM=hr((t,e,r=null)=>{const n=$c(r,"allowArray",!1),s=$c(r,"allowFunction",!1);if(!$c(r,"nullable",!1)&&t===null||!n&&zp(t)||typeof t!="object"&&(!s||typeof t!="function"))throw new Pt(e,"Object",t)}),oM=hr((t,e)=>{if(t!=null&&typeof t!="object"&&typeof t!="function")throw new Pt(e,"a dictionary",t)}),Du=hr((t,e,r=0)=>{if(!zp(t))throw new Pt(e,"Array",t);if(t.length{if(!KI(t))throw new Pt(e,["Buffer","TypedArray","DataView"],t)});function dM(t,e){const r=YI(e),n=t.length;if(r==="hex"&&n%2!==0)throw new io("encoding",e,`is invalid for data of length ${n}`)}function hM(t,e="Port",r=!0){if(typeof t!="number"&&typeof t!="string"||typeof t=="string"&&VI(t).length===0||+t!==+t>>>0||t>65535||t===0&&!r)throw new qI(e,t,r);return t|0}const Z_=hr((t,e)=>{if(t!==void 0&&(t===null||typeof t!="object"||!("aborted"in t)))throw new Pt(e,"AbortSignal",t)}),pM=hr((t,e)=>{if(typeof t!="function")throw new Pt(e,"Function",t)}),gM=hr((t,e)=>{if(typeof t!="function"||GI(t))throw new Pt(e,"Function",t)}),mM=hr((t,e)=>{if(t!==void 0)throw new Pt(e,"undefined",t)});function bM(t,e,r){if(!G_(r,t))throw new Pt(e,`('${K_(r,"|")}')`,t)}const yM=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function A0(t,e){if(typeof t>"u"||!X_(yM,t))throw new io(e,t,'must be an array or string of format "; rel=preload; as=style"')}function wM(t){if(typeof t=="string")return A0(t,"hints"),t;if(zp(t)){const e=t.length;let r="";if(e===0)return r;for(let n=0;n; rel=preload; as=style"')}var pa={isInt32:XI,isUint32:QI,parseFileMode:eM,validateArray:Du,validateStringArray:aM,validateBooleanArray:lM,validateAbortSignalArray:uM,validateBoolean:J_,validateBuffer:fM,validateDictionary:oM,validateEncoding:dM,validateFunction:pM,validateInt32:rM,validateInteger:tM,validateNumber:nM,validateObject:sM,validateOneOf:iM,validatePlainFunction:gM,validatePort:hM,validateSignalName:cM,validateString:Vp,validateUint32:Q_,validateUndefined:mM,validateUnion:bM,validateAbortSignal:Z_,validateLinkHeaderValue:wM},qp={exports:{}},eE={exports:{}},ut=eE.exports={},kr,Lr;function gh(){throw new Error("setTimeout has not been defined")}function mh(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?kr=setTimeout:kr=gh}catch{kr=gh}try{typeof clearTimeout=="function"?Lr=clearTimeout:Lr=mh}catch{Lr=mh}})();function tE(t){if(kr===setTimeout)return setTimeout(t,0);if((kr===gh||!kr)&&setTimeout)return kr=setTimeout,setTimeout(t,0);try{return kr(t,0)}catch{try{return kr.call(null,t,0)}catch{return kr.call(this,t,0)}}}function vM(t){if(Lr===clearTimeout)return clearTimeout(t);if((Lr===mh||!Lr)&&clearTimeout)return Lr=clearTimeout,clearTimeout(t);try{return Lr(t)}catch{try{return Lr.call(null,t)}catch{return Lr.call(this,t)}}}var ln=[],ks=!1,Ri,wl=-1;function _M(){!ks||!Ri||(ks=!1,Ri.length?ln=Ri.concat(ln):wl=-1,ln.length&&rE())}function rE(){if(!ks){var t=tE(_M);ks=!0;for(var e=ln.length;e;){for(Ri=ln,ln=[];++wl1)for(var r=1;r{};function yE(t,e,r){var n,s;if(arguments.length===2?(r=e,e=wh):e==null?e=wh:jM(e,"options"),UM(r,"callback"),FM(e.signal,"options.signal"),r=vh(r),qM(t)||YM(t))return JM(t,e,r);if(!GM(t))throw new $M("stream",["ReadableStream","WritableStream","Stream"],t);const i=(n=e.readable)!==null&&n!==void 0?n:Fc(t),o=(s=e.writable)!==null&&s!==void 0?s:L0(t),a=t._writableState,l=t._readableState,u=()=>{t.writable||d()};let c=KM(t)&&Fc(t)===i&&L0(t)===o,f=N0(t,!1);const d=()=>{f=!0,t.destroyed&&(c=!1),!(c&&(!t.readable||i))&&(!i||g)&&r.call(t)};let g=R0(t,!1);const m=()=>{g=!0,t.destroyed&&(c=!1),!(c&&(!t.writable||o))&&(!o||f)&&r.call(t)},y=k=>{r.call(t,k)};let E=VM(t);const _=()=>{E=!0;const k=D0(t)||P0(t);if(k&&typeof k!="boolean")return r.call(t,k);if(i&&!g&&Fc(t,!0)&&!R0(t,!1))return r.call(t,new M0);if(o&&!f&&!N0(t,!1))return r.call(t,new M0);r.call(t)},S=()=>{E=!0;const k=D0(t)||P0(t);if(k&&typeof k!="boolean")return r.call(t,k);r.call(t)},v=()=>{t.req.on("finish",d)};QM(t)?(t.on("complete",d),c||t.on("abort",_),t.req?v():t.on("request",v)):o&&!a&&(t.on("end",u),t.on("close",u)),!c&&typeof t.aborted=="boolean"&&t.on("aborted",_),t.on("end",m),t.on("finish",d),e.error!==!1&&t.on("error",y),t.on("close",_),E?qn.nextTick(_):a!=null&&a.errorEmitted||l!=null&&l.errorEmitted?c||qn.nextTick(S):(!i&&(!c||O0(t))&&(f||k0(t)===!1)||!o&&(!c||k0(t))&&(g||O0(t)===!1)||l&&t.req&&t.aborted)&&qn.nextTick(S);const A=()=>{r=_h,t.removeListener("aborted",_),t.removeListener("complete",d),t.removeListener("abort",_),t.removeListener("request",v),t.req&&t.req.removeListener("finish",d),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",d),t.removeListener("end",m),t.removeListener("error",y),t.removeListener("close",_)};if(e.signal&&!E){const k=()=>{const x=r;A(),x.call(t,new mE(void 0,{cause:e.signal.reason}))};if(e.signal.aborted)qn.nextTick(k);else{Ls=Ls||Bt.addAbortListener;const x=Ls(e.signal,k),D=r;r=vh((...N)=>{x[bE](),D.apply(t,N)})}}return A}function JM(t,e,r){let n=!1,s=_h;if(e.signal)if(s=()=>{n=!0,r.call(t,new mE(void 0,{cause:e.signal.reason}))},e.signal.aborted)qn.nextTick(s);else{Ls=Ls||Bt.addAbortListener;const o=Ls(e.signal,s),a=r;r=vh((...l)=>{o[bE](),a.apply(t,l)})}const i=(...o)=>{n||qn.nextTick(()=>r.apply(t,o))};return HM(t[XM].promise,i,i),_h}function ZM(t,e){var r;let n=!1;return e===null&&(e=wh),(r=e)!==null&&r!==void 0&&r.cleanup&&(WM(e.cleanup,"cleanup"),n=e.cleanup),new zM((s,i)=>{const o=yE(t,e,a=>{n&&o(),a?i(a):s()})})}qp.exports=yE;qp.exports.finished=ZM;var oi=qp.exports;const Ur=ns,{aggregateTwoErrors:eO,codes:{ERR_MULTIPLE_CALLBACK:tO},AbortError:rO}=qt,{Symbol:wE}=at,{kIsDestroyed:nO,isDestroyed:iO,isFinished:sO,isServerRequest:oO}=kn,vE=wE("kDestroy"),Eh=wE("kConstruct");function _E(t,e,r){t&&(t.stack,e&&!e.errored&&(e.errored=t),r&&!r.errored&&(r.errored=t))}function aO(t,e){const r=this._readableState,n=this._writableState,s=n||r;return n!=null&&n.destroyed||r!=null&&r.destroyed?(typeof e=="function"&&e(),this):(_E(t,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),s.constructed?B0(this,t,e):this.once(vE,function(i){B0(this,eO(i,t),e)}),this)}function B0(t,e,r){let n=!1;function s(i){if(n)return;n=!0;const o=t._readableState,a=t._writableState;_E(i,a,o),a&&(a.closed=!0),o&&(o.closed=!0),typeof r=="function"&&r(i),i?Ur.nextTick(lO,t,i):Ur.nextTick(EE,t)}try{t._destroy(e||null,s)}catch(i){s(i)}}function lO(t,e){Sh(t,e),EE(t)}function EE(t){const e=t._readableState,r=t._writableState;r&&(r.closeEmitted=!0),e&&(e.closeEmitted=!0),(r!=null&&r.emitClose||e!=null&&e.emitClose)&&t.emit("close")}function Sh(t,e){const r=t._readableState,n=t._writableState;n!=null&&n.errorEmitted||r!=null&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),t.emit("error",e))}function uO(){const t=this._readableState,e=this._writableState;t&&(t.constructed=!0,t.closed=!1,t.closeEmitted=!1,t.destroyed=!1,t.errored=null,t.errorEmitted=!1,t.reading=!1,t.ended=t.readable===!1,t.endEmitted=t.readable===!1),e&&(e.constructed=!0,e.destroyed=!1,e.closed=!1,e.closeEmitted=!1,e.errored=null,e.errorEmitted=!1,e.finalCalled=!1,e.prefinished=!1,e.ended=e.writable===!1,e.ending=e.writable===!1,e.finished=e.writable===!1)}function Th(t,e,r){const n=t._readableState,s=t._writableState;if(s!=null&&s.destroyed||n!=null&&n.destroyed)return this;n!=null&&n.autoDestroy||s!=null&&s.autoDestroy?t.destroy(e):e&&(e.stack,s&&!s.errored&&(s.errored=e),n&&!n.errored&&(n.errored=e),r?Ur.nextTick(Sh,t,e):Sh(t,e))}function cO(t,e){if(typeof t._construct!="function")return;const r=t._readableState,n=t._writableState;r&&(r.constructed=!1),n&&(n.constructed=!1),t.once(Eh,e),!(t.listenerCount(Eh)>1)&&Ur.nextTick(fO,t)}function fO(t){let e=!1;function r(n){if(e){Th(t,n??new tO);return}e=!0;const s=t._readableState,i=t._writableState,o=i||s;s&&(s.constructed=!0),i&&(i.constructed=!0),o.destroyed?t.emit(vE,n):n?Th(t,n,!0):Ur.nextTick(dO,t)}try{t._construct(n=>{Ur.nextTick(r,n)})}catch(n){Ur.nextTick(r,n)}}function dO(t){t.emit(Eh)}function $0(t){return(t==null?void 0:t.setHeader)&&typeof t.abort=="function"}function SE(t){t.emit("close")}function hO(t,e){t.emit("error",e),Ur.nextTick(SE,t)}function pO(t,e){!t||iO(t)||(!e&&!sO(t)&&(e=new rO),oO(t)?(t.socket=null,t.destroy(e)):$0(t)?t.abort():$0(t.req)?t.req.abort():typeof t.destroy=="function"?t.destroy(e):typeof t.close=="function"?t.close():e?Ur.nextTick(hO,t,e):Ur.nextTick(SE,t),t.destroyed||(t[nO]=!0))}var so={construct:cO,destroyer:pO,destroy:aO,undestroy:uO,errorOrDestroy:Th};const{ArrayIsArray:gO,ObjectSetPrototypeOf:TE}=at,{EventEmitter:Uu}=Lu;function ju(t){Uu.call(this,t)}TE(ju.prototype,Uu.prototype);TE(ju,Uu);ju.prototype.pipe=function(t,e){const r=this;function n(c){t.writable&&t.write(c)===!1&&r.pause&&r.pause()}r.on("data",n);function s(){r.readable&&r.resume&&r.resume()}t.on("drain",s),!t._isStdio&&(!e||e.end!==!1)&&(r.on("end",o),r.on("close",a));let i=!1;function o(){i||(i=!0,t.end())}function a(){i||(i=!0,typeof t.destroy=="function"&&t.destroy())}function l(c){u(),Uu.listenerCount(this,"error")===0&&this.emit("error",c)}xh(r,"error",l),xh(t,"error",l);function u(){r.removeListener("data",n),t.removeListener("drain",s),r.removeListener("end",o),r.removeListener("close",a),r.removeListener("error",l),t.removeListener("error",l),r.removeListener("end",u),r.removeListener("close",u),t.removeListener("close",u)}return r.on("end",u),r.on("close",u),t.on("close",u),t.emit("pipe",r),t};function xh(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):gO(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}var Yp={Stream:ju,prependListener:xh},xE={exports:{}};(function(t){const{SymbolDispose:e}=at,{AbortError:r,codes:n}=qt,{isNodeStream:s,isWebStream:i,kControllerErrorFunction:o}=kn,a=oi,{ERR_INVALID_ARG_TYPE:l}=n;let u;const c=(f,d)=>{if(typeof f!="object"||!("aborted"in f))throw new l(d,"AbortSignal",f)};t.exports.addAbortSignal=function(d,g){if(c(d,"signal"),!s(g)&&!i(g))throw new l("stream",["ReadableStream","WritableStream","Stream"],g);return t.exports.addAbortSignalNoValidate(d,g)},t.exports.addAbortSignalNoValidate=function(f,d){if(typeof f!="object"||!("aborted"in f))return d;const g=s(d)?()=>{d.destroy(new r(void 0,{cause:f.reason}))}:()=>{d[o](new r(void 0,{cause:f.reason}))};if(f.aborted)g();else{u=u||Bt.addAbortListener;const m=u(f,g);a(d,m[e])}return d}})(xE);var Wu=xE.exports;const{StringPrototypeSlice:F0,SymbolIterator:mO,TypedArrayPrototypeSet:ja,Uint8Array:bO}=at,{Buffer:Uc}=nr,{inspect:yO}=Bt;var wO=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const r={data:e,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}unshift(e){const r={data:e,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length}shift(){if(this.length===0)return;const e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(this.length===0)return"";let r=this.head,n=""+r.data;for(;(r=r.next)!==null;)n+=e+r.data;return n}concat(e){if(this.length===0)return Uc.alloc(0);const r=Uc.allocUnsafe(e>>>0);let n=this.head,s=0;for(;n;)ja(r,n.data,s),s+=n.data.length,n=n.next;return r}consume(e,r){const n=this.head.data;if(ei.length)r+=i,e-=i.length;else{e===i.length?(r+=i,++s,n.next?this.head=n.next:this.head=this.tail=null):(r+=F0(i,0,e),this.head=n,n.data=F0(i,e));break}++s}while((n=n.next)!==null);return this.length-=s,r}_getBuffer(e){const r=Uc.allocUnsafe(e),n=e;let s=this.head,i=0;do{const o=s.data;if(e>o.length)ja(r,o,n-e),e-=o.length;else{e===o.length?(ja(r,o,n-e),++i,s.next?this.head=s.next:this.head=this.tail=null):(ja(r,new bO(o.buffer,o.byteOffset,e),n-e),this.head=s,s.data=o.slice(e));break}++i}while((s=s.next)!==null);return this.length-=i,r}[Symbol.for("nodejs.util.inspect.custom")](e,r){return yO(this,{...r,depth:0,customInspect:!1})}};const{MathFloor:vO,NumberIsInteger:_O}=at,{validateInteger:EO}=pa,{ERR_INVALID_ARG_VALUE:SO}=qt.codes;let AE=16*1024,CE=16;function TO(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}function IE(t){return t?CE:AE}function xO(t,e){EO(e,"value",0),t?CE=e:AE=e}function AO(t,e,r,n){const s=TO(e,n,r);if(s!=null){if(!_O(s)||s<0){const i=n?`options.${r}`:"options.highWaterMark";throw new SO(i,s)}return vO(s)}return IE(t.objectMode)}var zu={getHighWaterMark:AO,getDefaultHighWaterMark:IE,setDefaultHighWaterMark:xO},ME={},Ah={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh */(function(t,e){var r=nr,n=r.Buffer;function s(o,a){for(var l in o)a[l]=o[l]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(s(r,e),e.Buffer=i);function i(o,a,l){return n(o,a,l)}i.prototype=Object.create(n.prototype),s(n,i),i.from=function(o,a,l){if(typeof o=="number")throw new TypeError("Argument must not be a number");return n(o,a,l)},i.alloc=function(o,a,l){if(typeof o!="number")throw new TypeError("Argument must be a number");var u=n(o);return a!==void 0?typeof l=="string"?u.fill(a,l):u.fill(a):u.fill(0),u},i.allocUnsafe=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return n(o)},i.allocUnsafeSlow=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(o)}})(Ah,Ah.exports);var CO=Ah.exports,Gp=CO.Buffer,U0=Gp.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function IO(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function MO(t){var e=IO(t);if(typeof e!="string"&&(Gp.isEncoding===U0||!U0(t)))throw new Error("Unknown encoding: "+t);return e||t}ME.StringDecoder=ga;function ga(t){this.encoding=MO(t);var e;switch(this.encoding){case"utf16le":this.text=NO,this.end=DO,e=4;break;case"utf8":this.fillLast=PO,e=4;break;case"base64":this.text=BO,this.end=$O,e=3;break;default:this.write=FO,this.end=UO;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Gp.allocUnsafe(e)}ga.prototype.write=function(t){if(t.length===0)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function OO(t,e,r){var n=e.length-1;if(n=0?(s>0&&(t.lastNeed=s-1),s):--n=0?(s>0&&(t.lastNeed=s-2),s):--n=0?(s>0&&(s===2?s=0:t.lastNeed=s-3),s):0))}function RO(t,e,r){if((e[0]&192)!==128)return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"�"}}function PO(t){var e=this.lastTotal-this.lastNeed,r=RO(this,t);if(r!==void 0)return r;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function kO(t,e){var r=OO(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}function LO(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e}function NO(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function DO(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function BO(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function $O(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function FO(t){return t.toString(this.encoding)}function UO(t){return t&&t.length?this.write(t):""}const j0=ns,{PromisePrototypeThen:jO,SymbolAsyncIterator:W0,SymbolIterator:z0}=at,{Buffer:WO}=nr,{ERR_INVALID_ARG_TYPE:zO,ERR_STREAM_NULL_VALUES:HO}=qt.codes;function VO(t,e,r){let n;if(typeof e=="string"||e instanceof WO)return new t({objectMode:!0,...r,read(){this.push(e),this.push(null)}});let s;if(e&&e[W0])s=!0,n=e[W0]();else if(e&&e[z0])s=!1,n=e[z0]();else throw new zO("iterable",["Iterable"],e);const i=new t({objectMode:!0,highWaterMark:1,...r});let o=!1;i._read=function(){o||(o=!0,l())},i._destroy=function(u,c){jO(a(u),()=>j0.nextTick(c,u),f=>j0.nextTick(c,f||u))};async function a(u){const c=u!=null,f=typeof n.throw=="function";if(c&&f){const{value:d,done:g}=await n.throw(u);if(await d,g)return}if(typeof n.return=="function"){const{value:d}=await n.return();await d}}async function l(){for(;;){try{const{value:u,done:c}=s?await n.next():n.next();if(c)i.push(null);else{const f=u&&typeof u.then=="function"?await u:u;if(f===null)throw o=!1,new HO;if(i.push(f))continue;o=!1}}catch(u){i.destroy(u)}break}}return i}var OE=VO,Wc,H0;function Hu(){if(H0)return Wc;H0=1;const t=ns,{ArrayPrototypeIndexOf:e,NumberIsInteger:r,NumberIsNaN:n,NumberParseInt:s,ObjectDefineProperties:i,ObjectKeys:o,ObjectSetPrototypeOf:a,Promise:l,SafeSet:u,SymbolAsyncDispose:c,SymbolAsyncIterator:f,Symbol:d}=at;Wc=$,$.ReadableState=te;const{EventEmitter:g}=Lu,{Stream:m,prependListener:y}=Yp,{Buffer:E}=nr,{addAbortSignal:_}=Wu,S=oi;let v=Bt.debuglog("stream",Z=>{v=Z});const A=wO,k=so,{getHighWaterMark:x,getDefaultHighWaterMark:D}=zu,{aggregateTwoErrors:N,codes:{ERR_INVALID_ARG_TYPE:B,ERR_METHOD_NOT_IMPLEMENTED:q,ERR_OUT_OF_RANGE:K,ERR_STREAM_PUSH_AFTER_EOF:C,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:M},AbortError:L}=qt,{validateObject:H}=pa,G=d("kPaused"),{StringDecoder:z}=ME,F=OE;a($.prototype,m.prototype),a($,m);const ne=()=>{},{errorOrDestroy:ce}=k,re=1,R=2,Q=4,de=8,ge=16,pe=32,X=64,Y=128,ie=256,be=512,he=1024,ue=2048,I=4096,P=8192,O=16384,j=32768,W=65536,le=1<<17,fe=1<<18;function V(Z){return{enumerable:!1,get(){return(this.state&Z)!==0},set(se){se?this.state|=Z:this.state&=~Z}}}i(te.prototype,{objectMode:V(re),ended:V(R),endEmitted:V(Q),reading:V(de),constructed:V(ge),sync:V(pe),needReadable:V(X),emittedReadable:V(Y),readableListening:V(ie),resumeScheduled:V(be),errorEmitted:V(he),emitClose:V(ue),autoDestroy:V(I),destroyed:V(P),closed:V(O),closeEmitted:V(j),multiAwaitDrain:V(W),readingMore:V(le),dataEmitted:V(fe)});function te(Z,se,Ce){typeof Ce!="boolean"&&(Ce=se instanceof _n()),this.state=ue|I|ge|pe,Z&&Z.objectMode&&(this.state|=re),Ce&&Z&&Z.readableObjectMode&&(this.state|=re),this.highWaterMark=Z?x(this,Z,"readableHighWaterMark",Ce):D(!1),this.buffer=new A,this.length=0,this.pipes=[],this.flowing=null,this[G]=null,Z&&Z.emitClose===!1&&(this.state&=~ue),Z&&Z.autoDestroy===!1&&(this.state&=~I),this.errored=null,this.defaultEncoding=Z&&Z.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,Z&&Z.encoding&&(this.decoder=new z(Z.encoding),this.encoding=Z.encoding)}function $(Z){if(!(this instanceof $))return new $(Z);const se=this instanceof _n();this._readableState=new te(Z,this,se),Z&&(typeof Z.read=="function"&&(this._read=Z.read),typeof Z.destroy=="function"&&(this._destroy=Z.destroy),typeof Z.construct=="function"&&(this._construct=Z.construct),Z.signal&&!se&&_(Z.signal,this)),m.call(this,Z),k.construct(this,()=>{this._readableState.needReadable&&U(this,this._readableState)})}$.prototype.destroy=k.destroy,$.prototype._undestroy=k.undestroy,$.prototype._destroy=function(Z,se){se(Z)},$.prototype[g.captureRejectionSymbol]=function(Z){this.destroy(Z)},$.prototype[c]=function(){let Z;return this.destroyed||(Z=this.readableEnded?null:new L,this.destroy(Z)),new l((se,Ce)=>S(this,Ie=>Ie&&Ie!==Z?Ce(Ie):se(null)))},$.prototype.push=function(Z,se){return J(this,Z,se,!1)},$.prototype.unshift=function(Z,se){return J(this,Z,se,!0)};function J(Z,se,Ce,Ie){v("readableAddChunk",se);const Pe=Z._readableState;let At;if(Pe.state&re||(typeof se=="string"?(Ce=Ce||Pe.defaultEncoding,Pe.encoding!==Ce&&(Ie&&Pe.encoding?se=E.from(se,Ce).toString(Pe.encoding):(se=E.from(se,Ce),Ce=""))):se instanceof E?Ce="":m._isUint8Array(se)?(se=m._uint8ArrayToBuffer(se),Ce=""):se!=null&&(At=new B("chunk",["string","Buffer","Uint8Array"],se))),At)ce(Z,At);else if(se===null)Pe.state&=~de,h(Z,Pe);else if(Pe.state&re||se&&se.length>0)if(Ie)if(Pe.state&Q)ce(Z,new M);else{if(Pe.destroyed||Pe.errored)return!1;ae(Z,Pe,se,!0)}else if(Pe.ended)ce(Z,new C);else{if(Pe.destroyed||Pe.errored)return!1;Pe.state&=~de,Pe.decoder&&!Ce?(se=Pe.decoder.write(se),Pe.objectMode||se.length!==0?ae(Z,Pe,se,!1):U(Z,Pe)):ae(Z,Pe,se,!1)}else Ie||(Pe.state&=~de,U(Z,Pe));return!Pe.ended&&(Pe.length0?(se.state&W?se.awaitDrainWriters.clear():se.awaitDrainWriters=null,se.dataEmitted=!0,Z.emit("data",Ce)):(se.length+=se.objectMode?1:Ce.length,Ie?se.buffer.unshift(Ce):se.buffer.push(Ce),se.state&X&&b(Z)),U(Z,se)}$.prototype.isPaused=function(){const Z=this._readableState;return Z[G]===!0||Z.flowing===!1},$.prototype.setEncoding=function(Z){const se=new z(Z);this._readableState.decoder=se,this._readableState.encoding=this._readableState.decoder.encoding;const Ce=this._readableState.buffer;let Ie="";for(const Pe of Ce)Ie+=se.write(Pe);return Ce.clear(),Ie!==""&&Ce.push(Ie),this._readableState.length=Ie.length,this};const me=1073741824;function w(Z){if(Z>me)throw new K("size","<= 1GiB",Z);return Z--,Z|=Z>>>1,Z|=Z>>>2,Z|=Z>>>4,Z|=Z>>>8,Z|=Z>>>16,Z++,Z}function p(Z,se){return Z<=0||se.length===0&&se.ended?0:se.state&re?1:n(Z)?se.flowing&&se.length?se.buffer.first().length:se.length:Z<=se.length?Z:se.ended?se.length:0}$.prototype.read=function(Z){v("read",Z),Z===void 0?Z=NaN:r(Z)||(Z=s(Z,10));const se=this._readableState,Ce=Z;if(Z>se.highWaterMark&&(se.highWaterMark=w(Z)),Z!==0&&(se.state&=~Y),Z===0&&se.needReadable&&((se.highWaterMark!==0?se.length>=se.highWaterMark:se.length>0)||se.ended))return v("read: emitReadable",se.length,se.ended),se.length===0&&se.ended?lt(this):b(this),null;if(Z=p(Z,se),Z===0&&se.ended)return se.length===0&<(this),null;let Ie=(se.state&X)!==0;if(v("need readable",Ie),(se.length===0||se.length-Z0?Pe=Ze(Z,se):Pe=null,Pe===null?(se.needReadable=se.length<=se.highWaterMark,Z=0):(se.length-=Z,se.multiAwaitDrain?se.awaitDrainWriters.clear():se.awaitDrainWriters=null),se.length===0&&(se.ended||(se.needReadable=!0),Ce!==Z&&se.ended&<(this)),Pe!==null&&!se.errorEmitted&&!se.closeEmitted&&(se.dataEmitted=!0,this.emit("data",Pe)),Pe};function h(Z,se){if(v("onEofChunk"),!se.ended){if(se.decoder){const Ce=se.decoder.end();Ce&&Ce.length&&(se.buffer.push(Ce),se.length+=se.objectMode?1:Ce.length)}se.ended=!0,se.sync?b(Z):(se.needReadable=!1,se.emittedReadable=!0,T(Z))}}function b(Z){const se=Z._readableState;v("emitReadable",se.needReadable,se.emittedReadable),se.needReadable=!1,se.emittedReadable||(v("emitReadable",se.flowing),se.emittedReadable=!0,t.nextTick(T,Z))}function T(Z){const se=Z._readableState;v("emitReadable_",se.destroyed,se.length,se.ended),!se.destroyed&&!se.errored&&(se.length||se.ended)&&(Z.emit("readable"),se.emittedReadable=!1),se.needReadable=!se.flowing&&!se.ended&&se.length<=se.highWaterMark,Me(Z)}function U(Z,se){!se.readingMore&&se.constructed&&(se.readingMore=!0,t.nextTick(ee,Z,se))}function ee(Z,se){for(;!se.reading&&!se.ended&&(se.length1&&Ie.pipes.includes(Z)&&(v("false write response, pause",Ie.awaitDrainWriters.size),Ie.awaitDrainWriters.add(Z)),Ce.pause()),ci||(ci=ye(Ce,Z),Z.on("drain",ci))}Ce.on("data",Hg);function Hg(fi){v("ondata");const Kr=Z.write(fi);v("dest.write",Kr),Kr===!1&&zg()}function cc(fi){if(v("onerror",fi),ho(),Z.removeListener("error",cc),Z.listenerCount("error")===0){const Kr=Z._writableState||Z._readableState;Kr&&!Kr.errorEmitted?ce(Z,fi):Z.emit("error",fi)}}y(Z,"error",cc);function fc(){Z.removeListener("finish",dc),ho()}Z.once("close",fc);function dc(){v("onfinish"),Z.removeListener("close",fc),ho()}Z.once("finish",dc);function ho(){v("unpipe"),Ce.unpipe(Z)}return Z.emit("pipe",Ce),Z.writableNeedDrain===!0?zg():Ie.flowing||(v("pipe resume"),Ce.resume()),Z};function ye(Z,se){return function(){const Ie=Z._readableState;Ie.awaitDrainWriters===se?(v("pipeOnDrain",1),Ie.awaitDrainWriters=null):Ie.multiAwaitDrain&&(v("pipeOnDrain",Ie.awaitDrainWriters.size),Ie.awaitDrainWriters.delete(se)),(!Ie.awaitDrainWriters||Ie.awaitDrainWriters.size===0)&&Z.listenerCount("data")&&Z.resume()}}$.prototype.unpipe=function(Z){const se=this._readableState,Ce={hasUnpiped:!1};if(se.pipes.length===0)return this;if(!Z){const Pe=se.pipes;se.pipes=[],this.pause();for(let At=0;At0,Ie.flowing!==!1&&this.resume()):Z==="readable"&&!Ie.endEmitted&&!Ie.readableListening&&(Ie.readableListening=Ie.needReadable=!0,Ie.flowing=!1,Ie.emittedReadable=!1,v("on readable",Ie.length,Ie.reading),Ie.length?b(this):Ie.reading||t.nextTick(Re,this)),Ce},$.prototype.addListener=$.prototype.on,$.prototype.removeListener=function(Z,se){const Ce=m.prototype.removeListener.call(this,Z,se);return Z==="readable"&&t.nextTick(Ae,this),Ce},$.prototype.off=$.prototype.removeListener,$.prototype.removeAllListeners=function(Z){const se=m.prototype.removeAllListeners.apply(this,arguments);return(Z==="readable"||Z===void 0)&&t.nextTick(Ae,this),se};function Ae(Z){const se=Z._readableState;se.readableListening=Z.listenerCount("readable")>0,se.resumeScheduled&&se[G]===!1?se.flowing=!0:Z.listenerCount("data")>0?Z.resume():se.readableListening||(se.flowing=null)}function Re(Z){v("readable nexttick read 0"),Z.read(0)}$.prototype.resume=function(){const Z=this._readableState;return Z.flowing||(v("resume"),Z.flowing=!Z.readableListening,xe(this,Z)),Z[G]=!1,this};function xe(Z,se){se.resumeScheduled||(se.resumeScheduled=!0,t.nextTick(Oe,Z,se))}function Oe(Z,se){v("resume",se.reading),se.reading||Z.read(0),se.resumeScheduled=!1,Z.emit("resume"),Me(Z),se.flowing&&!se.reading&&Z.read(0)}$.prototype.pause=function(){return v("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(v("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[G]=!0,this};function Me(Z){const se=Z._readableState;for(v("flow",se.flowing);se.flowing&&Z.read()!==null;);}$.prototype.wrap=function(Z){let se=!1;Z.on("data",Ie=>{!this.push(Ie)&&Z.pause&&(se=!0,Z.pause())}),Z.on("end",()=>{this.push(null)}),Z.on("error",Ie=>{ce(this,Ie)}),Z.on("close",()=>{this.destroy()}),Z.on("destroy",()=>{this.destroy()}),this._read=()=>{se&&Z.resume&&(se=!1,Z.resume())};const Ce=o(Z);for(let Ie=1;Ie{Pe=ir?N(Pe,ir):null,Ce(),Ce=ne});try{for(;;){const ir=Z.destroyed?null:Z.read();if(ir!==null)yield ir;else{if(Pe)throw Pe;if(Pe===null)return;await new l(Ie)}}}catch(ir){throw Pe=N(Pe,ir),Pe}finally{(Pe||(se==null?void 0:se.destroyOnReturn)!==!1)&&(Pe===void 0||Z._readableState.autoDestroy)?k.destroyer(Z,null):(Z.off("readable",Ie),At())}}i($.prototype,{readable:{__proto__:null,get(){const Z=this._readableState;return!!Z&&Z.readable!==!1&&!Z.destroyed&&!Z.errorEmitted&&!Z.endEmitted},set(Z){this._readableState&&(this._readableState.readable=!!Z)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(Z){this._readableState&&(this._readableState.flowing=Z)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(Z){this._readableState&&(this._readableState.destroyed=Z)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),i(te.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[G]!==!1},set(Z){this[G]=!!Z}}}),$._fromList=Ze;function Ze(Z,se){if(se.length===0)return null;let Ce;return se.objectMode?Ce=se.buffer.shift():!Z||Z>=se.length?(se.decoder?Ce=se.buffer.join(""):se.buffer.length===1?Ce=se.buffer.first():Ce=se.buffer.concat(se.length),se.buffer.clear()):Ce=se.buffer.consume(Z,se.decoder),Ce}function lt(Z){const se=Z._readableState;v("endReadable",se.endEmitted),se.endEmitted||(se.ended=!0,t.nextTick(yt,se,Z))}function yt(Z,se){if(v("endReadableNT",Z.endEmitted,Z.length),!Z.errored&&!Z.closeEmitted&&!Z.endEmitted&&Z.length===0){if(Z.endEmitted=!0,se.emit("end"),se.writable&&se.allowHalfOpen===!1)t.nextTick(ft,se);else if(Z.autoDestroy){const Ce=se._writableState;(!Ce||Ce.autoDestroy&&(Ce.finished||Ce.writable===!1))&&se.destroy()}}}function ft(Z){Z.writable&&!Z.writableEnded&&!Z.destroyed&&Z.end()}$.from=function(Z,se){return F($,Z,se)};let hs;function fo(){return hs===void 0&&(hs={}),hs}return $.fromWeb=function(Z,se){return fo().newStreamReadableFromReadableStream(Z,se)},$.toWeb=function(Z,se){return fo().newReadableStreamFromStreamReadable(Z,se)},$.wrap=function(Z,se){var Ce,Ie;return new $({objectMode:(Ce=(Ie=Z.readableObjectMode)!==null&&Ie!==void 0?Ie:Z.objectMode)!==null&&Ce!==void 0?Ce:!0,...se,destroy(Pe,At){k.destroyer(Z,Pe),At(Pe)}}).wrap(Z)},Wc}var zc,V0;function Kp(){if(V0)return zc;V0=1;const t=ns,{ArrayPrototypeSlice:e,Error:r,FunctionPrototypeSymbolHasInstance:n,ObjectDefineProperty:s,ObjectDefineProperties:i,ObjectSetPrototypeOf:o,StringPrototypeToLowerCase:a,Symbol:l,SymbolHasInstance:u}=at;zc=H,H.WritableState=M;const{EventEmitter:c}=Lu,f=Yp.Stream,{Buffer:d}=nr,g=so,{addAbortSignal:m}=Wu,{getHighWaterMark:y,getDefaultHighWaterMark:E}=zu,{ERR_INVALID_ARG_TYPE:_,ERR_METHOD_NOT_IMPLEMENTED:S,ERR_MULTIPLE_CALLBACK:v,ERR_STREAM_CANNOT_PIPE:A,ERR_STREAM_DESTROYED:k,ERR_STREAM_ALREADY_FINISHED:x,ERR_STREAM_NULL_VALUES:D,ERR_STREAM_WRITE_AFTER_END:N,ERR_UNKNOWN_ENCODING:B}=qt.codes,{errorOrDestroy:q}=g;o(H.prototype,f.prototype),o(H,f);function K(){}const C=l("kOnFinished");function M(I,P,O){typeof O!="boolean"&&(O=P instanceof _n()),this.objectMode=!!(I&&I.objectMode),O&&(this.objectMode=this.objectMode||!!(I&&I.writableObjectMode)),this.highWaterMark=I?y(this,I,"writableHighWaterMark",O):E(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const j=!!(I&&I.decodeStrings===!1);this.decodeStrings=!j,this.defaultEncoding=I&&I.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=ce.bind(void 0,P),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,L(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!I||I.emitClose!==!1,this.autoDestroy=!I||I.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[C]=[]}function L(I){I.buffered=[],I.bufferedIndex=0,I.allBuffers=!0,I.allNoop=!0}M.prototype.getBuffer=function(){return e(this.buffered,this.bufferedIndex)},s(M.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function H(I){const P=this instanceof _n();if(!P&&!n(H,this))return new H(I);this._writableState=new M(I,this,P),I&&(typeof I.write=="function"&&(this._write=I.write),typeof I.writev=="function"&&(this._writev=I.writev),typeof I.destroy=="function"&&(this._destroy=I.destroy),typeof I.final=="function"&&(this._final=I.final),typeof I.construct=="function"&&(this._construct=I.construct),I.signal&&m(I.signal,this)),f.call(this,I),g.construct(this,()=>{const O=this._writableState;O.writing||de(this,O),Y(this,O)})}s(H,u,{__proto__:null,value:function(I){return n(this,I)?!0:this!==H?!1:I&&I._writableState instanceof M}}),H.prototype.pipe=function(){q(this,new A)};function G(I,P,O,j){const W=I._writableState;if(typeof O=="function")j=O,O=W.defaultEncoding;else{if(!O)O=W.defaultEncoding;else if(O!=="buffer"&&!d.isEncoding(O))throw new B(O);typeof j!="function"&&(j=K)}if(P===null)throw new D;if(!W.objectMode)if(typeof P=="string")W.decodeStrings!==!1&&(P=d.from(P,O),O="buffer");else if(P instanceof d)O="buffer";else if(f._isUint8Array(P))P=f._uint8ArrayToBuffer(P),O="buffer";else throw new _("chunk",["string","Buffer","Uint8Array"],P);let le;return W.ending?le=new N:W.destroyed&&(le=new k("write")),le?(t.nextTick(j,le),q(I,le,!0),le):(W.pendingcb++,z(I,W,P,O,j))}H.prototype.write=function(I,P,O){return G(this,I,P,O)===!0},H.prototype.cork=function(){this._writableState.corked++},H.prototype.uncork=function(){const I=this._writableState;I.corked&&(I.corked--,I.writing||de(this,I))},H.prototype.setDefaultEncoding=function(P){if(typeof P=="string"&&(P=a(P)),!d.isEncoding(P))throw new B(P);return this._writableState.defaultEncoding=P,this};function z(I,P,O,j,W){const le=P.objectMode?1:O.length;P.length+=le;const fe=P.lengthO.bufferedIndex&&de(I,O),j?O.afterWriteTickInfo!==null&&O.afterWriteTickInfo.cb===W?O.afterWriteTickInfo.count++:(O.afterWriteTickInfo={count:1,cb:W,stream:I,state:O},t.nextTick(re,O.afterWriteTickInfo)):R(I,O,1,W))}function re({stream:I,state:P,count:O,cb:j}){return P.afterWriteTickInfo=null,R(I,P,O,j)}function R(I,P,O,j){for(!P.ending&&!I.destroyed&&P.length===0&&P.needDrain&&(P.needDrain=!1,I.emit("drain"));O-- >0;)P.pendingcb--,j();P.destroyed&&Q(P),Y(I,P)}function Q(I){if(I.writing)return;for(let W=I.bufferedIndex;W1&&I._writev){P.pendingcb-=le-1;const V=P.allNoop?K:$=>{for(let J=fe;J256?(O.splice(0,fe),P.bufferedIndex=0):P.bufferedIndex=fe}P.bufferProcessing=!1}H.prototype._write=function(I,P,O){if(this._writev)this._writev([{chunk:I,encoding:P}],O);else throw new S("_write()")},H.prototype._writev=null,H.prototype.end=function(I,P,O){const j=this._writableState;typeof I=="function"?(O=I,I=null,P=null):typeof P=="function"&&(O=P,P=null);let W;if(I!=null){const le=G(this,I,P);le instanceof r&&(W=le)}return j.corked&&(j.corked=1,this.uncork()),W||(!j.errored&&!j.ending?(j.ending=!0,Y(this,j,!0),j.ended=!0):j.finished?W=new x("end"):j.destroyed&&(W=new k("end"))),typeof O=="function"&&(W||j.finished?t.nextTick(O,W):j[C].push(O)),this};function ge(I){return I.ending&&!I.destroyed&&I.constructed&&I.length===0&&!I.errored&&I.buffered.length===0&&!I.finished&&!I.writing&&!I.errorEmitted&&!I.closeEmitted}function pe(I,P){let O=!1;function j(W){if(O){q(I,W??v());return}if(O=!0,P.pendingcb--,W){const le=P[C].splice(0);for(let fe=0;fe{ge(W)?ie(j,W):W.pendingcb--},I,P)):ge(P)&&(P.pendingcb++,ie(I,P))))}function ie(I,P){P.pendingcb--,P.finished=!0;const O=P[C].splice(0);for(let j=0;j{if(Q!=null)throw new m("nully","body",Q)},Q=>{y(re,Q)});return re=new B({objectMode:!0,readable:!1,write:z,final(Q){F(async()=>{try{await R,t.nextTick(Q,null)}catch(de){t.nextTick(Q,de)}})},destroy:ne})}throw new m("Iterable, AsyncIterable or AsyncFunction",L,G)}if(x(M))return C(M.arrayBuffer());if(s(M))return A(B,M,{objectMode:!0,writable:!1});if(u(M==null?void 0:M.readable)&&c(M==null?void 0:M.writable))return B.fromWeb(M);if(typeof(M==null?void 0:M.writable)=="object"||typeof(M==null?void 0:M.readable)=="object"){const G=M!=null&&M.readable?o(M==null?void 0:M.readable)?M==null?void 0:M.readable:C(M.readable):void 0,z=M!=null&&M.writable?a(M==null?void 0:M.writable)?M==null?void 0:M.writable:C(M.writable):void 0;return K({readable:G,writable:z})}const H=M==null?void 0:M.then;if(typeof H=="function"){let G;return N(H,M,z=>{z!=null&&G.push(z),G.push(null)},z=>{y(G,z)}),G=new B({objectMode:!0,writable:!1,read(){}})}throw new g(L,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],M)};function q(C){let{promise:M,resolve:L}=v();const H=new D,G=H.signal;return{value:C(async function*(){for(;;){const F=M;M=null;const{chunk:ne,done:ce,cb:re}=await F;if(t.nextTick(re),ce)return;if(G.aborted)throw new d(void 0,{cause:G.reason});({promise:M,resolve:L}=v()),yield ne}}(),{signal:G}),write(F,ne,ce){const re=L;L=null,re({chunk:F,done:!1,cb:ce})},final(F){const ne=L;L=null,ne({done:!0,cb:F})},destroy(F,ne){H.abort(),ne(F)}}}function K(C){const M=C.readable&&typeof C.readable.read!="function"?_.wrap(C.readable):C.readable,L=C.writable;let H=!!r(M),G=!!n(L),z,F,ne,ce,re;function R(Q){const de=ce;ce=null,de?de(Q):Q&&re.destroy(Q)}return re=new B({readableObjectMode:!!(M!=null&&M.readableObjectMode),writableObjectMode:!!(L!=null&&L.writableObjectMode),readable:H,writable:G}),G&&(f(L,Q=>{G=!1,Q&&y(M,Q),R(Q)}),re._write=function(Q,de,ge){L.write(Q,de)?ge():z=ge},re._final=function(Q){L.end(),F=Q},L.on("drain",function(){if(z){const Q=z;z=null,Q()}}),L.on("finish",function(){if(F){const Q=F;F=null,Q()}})),H&&(f(M,Q=>{H=!1,Q&&y(M,Q),R(Q)}),M.on("readable",function(){if(ne){const Q=ne;ne=null,Q()}}),M.on("end",function(){re.push(null)}),re._read=function(){for(;;){const Q=M.read();if(Q===null){ne=re._read;return}if(!re.push(Q))return}}),re._destroy=function(Q,de){!Q&&ce!==null&&(Q=new d),ne=null,z=null,F=null,ce===null?de(Q):(ce=de,y(L,Q),y(M,Q))},re}return Hc}var Vc,Y0;function _n(){if(Y0)return Vc;Y0=1;const{ObjectDefineProperties:t,ObjectGetOwnPropertyDescriptor:e,ObjectKeys:r,ObjectSetPrototypeOf:n}=at;Vc=o;const s=Hu(),i=Kp();n(o.prototype,s.prototype),n(o,s);{const c=r(i.prototype);for(let f=0;f{if(e){t?t(e):this.destroy(e);return}r!=null&&this.push(r),this.push(null),t&&t()}):(this.push(null),t&&t())}function XO(){this._final!==Ch&&Ch.call(this)}En.prototype._final=Ch;En.prototype._transform=function(t,e,r){throw new GO("_transform()")};En.prototype._write=function(t,e,r){const n=this._readableState,s=this._writableState,i=n.length;this._transform(t,e,(o,a)=>{if(o){r(o);return}a!=null&&this.push(a),s.ended||i===n.length||n.length{n=!0});const s=Yl(t,{readable:e,writable:r},i=>{n=!i});return{destroy:i=>{n||(n=!0,rR.destroyer(t,i||new sR("pipe")))},cleanup:s}}function hR(t){return lR(t[t.length-1],"streams[stream.length - 1]"),t.pop()}function Jc(t){if(Ti(t))return t;if(vl(t))return pR(t);throw new Ih("val",["Readable","Iterable","AsyncIterable"],t)}async function*pR(t){Xc||(Xc=Hu()),yield*Xc.prototype[ZO].call(t)}async function Wa(t,e,r,{end:n}){let s,i=null;const o=u=>{if(u&&(s=u),i){const c=i;i=null,c()}},a=()=>new JO((u,c)=>{s?c(s):i=()=>{s?c(s):u()}});e.on("drain",o);const l=Yl(e,{readable:!1},o);try{e.writableNeedDrain&&await a();for await(const u of t)e.write(u)||await a();n&&(e.end(),await a()),r()}catch(u){r(s!==u?nR(s,u):u)}finally{l(),e.off("drain",o)}}async function Zc(t,e,r,{end:n}){vs(e)&&(e=e.writable);const s=e.getWriter();try{for await(const i of t)await s.ready,s.write(i).catch(()=>{});await s.ready,n&&await s.close(),r()}catch(i){try{await s.abort(i),r(i)}catch(o){r(o)}}}function gR(...t){return NE(t,tR(hR(t)))}function NE(t,e,r){if(t.length===1&&QO(t[0])&&(t=t[0]),t.length<2)throw new iR("streams");const n=new dR,s=n.signal,i=r==null?void 0:r.signal,o=[];uR(i,"options.signal");function a(){m(new aR)}Qc=Qc||Bt.addAbortListener;let l;i&&(l=Qc(i,a));let u,c;const f=[];let d=0;function g(S){m(S,--d===0)}function m(S,v){var A;if(S&&(!u||u.code==="ERR_STREAM_PREMATURE_CLOSE")&&(u=S),!(!u&&!v)){for(;f.length;)f.shift()(u);(A=l)===null||A===void 0||A[eR](),n.abort(),v&&(u||o.forEach(k=>k()),Po.nextTick(e,u,c))}}let y;for(let S=0;S0,x=A||(r==null?void 0:r.end)!==!1,D=S===t.length-1;if(K0(v)){let N=function(B){B&&B.name!=="AbortError"&&B.code!=="ERR_STREAM_PREMATURE_CLOSE"&&g(B)};if(x){const{destroy:B,cleanup:q}=X0(v,A,k);f.push(B),Yc(v)&&D&&o.push(q)}v.on("error",N),Yc(v)&&D&&o.push(()=>{v.removeListener("error",N)})}if(S===0)if(typeof v=="function"){if(y=v({signal:s}),!Ti(y))throw new qc("Iterable, AsyncIterable or Stream","source",y)}else Ti(v)||vl(v)||vs(v)?y=v:y=G0.from(v);else if(typeof v=="function"){if(vs(y)){var E;y=Jc((E=y)===null||E===void 0?void 0:E.readable)}else y=Jc(y);if(y=v(y,{signal:s}),A){if(!Ti(y,!0))throw new qc("AsyncIterable",`transform[${S-1}]`,y)}else{var _;Kc||(Kc=LE);const N=new Kc({objectMode:!0}),B=(_=y)===null||_===void 0?void 0:_.then;if(typeof B=="function")d++,B.call(y,C=>{c=C,C!=null&&N.write(C),x&&N.end(),Po.nextTick(g)},C=>{N.destroy(C),Po.nextTick(g,C)});else if(Ti(y,!0))d++,Wa(y,N,g,{end:x});else if(Gc(y)||vs(y)){const C=y.readable||y;d++,Wa(C,N,g,{end:x})}else throw new qc("AsyncIterable or Promise","destination",y);y=N;const{destroy:q,cleanup:K}=X0(y,!1,!0);f.push(q),D&&o.push(K)}}else if(K0(v)){if(vl(y)){d+=2;const N=mR(y,v,g,{end:x});Yc(v)&&D&&o.push(N)}else if(vs(y)||Gc(y)){const N=y.readable||y;d++,Wa(N,v,g,{end:x})}else if(Ti(y))d++,Wa(y,v,g,{end:x});else throw new Ih("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],y);y=v}else if(cR(v)){if(vl(y))d++,Zc(Jc(y),v,g,{end:x});else if(Gc(y)||Ti(y))d++,Zc(y,v,g,{end:x});else if(vs(y))d++,Zc(y.readable,v,g,{end:x});else throw new Ih("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],y);y=v}else y=G0.from(v)}return(s!=null&&s.aborted||i!=null&&i.aborted)&&Po.nextTick(a),y}function mR(t,e,r,{end:n}){let s=!1;if(e.on("close",()=>{s||r(new oR)}),t.pipe(e,{end:!1}),n){let i=function(){s=!0,e.end()};fR(t)?Po.nextTick(i):t.once("end",i)}else r();return Yl(t,{readable:!0,writable:!1},i=>{const o=t._readableState;i&&i.code==="ERR_STREAM_PREMATURE_CLOSE"&&o&&o.ended&&!o.errored&&!o.errorEmitted?t.once("end",r).once("error",r):r(i)}),Yl(e,{readable:!1,writable:!0},r)}var Jp={pipelineImpl:NE,pipeline:gR};const{pipeline:bR}=Jp,za=_n(),{destroyer:yR}=so,{isNodeStream:Ha,isReadable:Q0,isWritable:J0,isWebStream:ef,isTransformStream:vi,isWritableStream:Z0,isReadableStream:eb}=kn,{AbortError:wR,codes:{ERR_INVALID_ARG_VALUE:tb,ERR_MISSING_ARGS:vR}}=qt,_R=oi;var DE=function(...e){if(e.length===0)throw new vR("streams");if(e.length===1)return za.from(e[0]);const r=[...e];if(typeof e[0]=="function"&&(e[0]=za.from(e[0])),typeof e[e.length-1]=="function"){const g=e.length-1;e[g]=za.from(e[g])}for(let g=0;g0&&!(J0(e[g])||Z0(e[g])||vi(e[g])))throw new tb(`streams[${g}]`,r[g],"must be writable")}let n,s,i,o,a;function l(g){const m=o;o=null,m?m(g):g?a.destroy(g):!d&&!f&&a.destroy()}const u=e[0],c=bR(e,l),f=!!(J0(u)||Z0(u)||vi(u)),d=!!(Q0(c)||eb(c)||vi(c));if(a=new za({writableObjectMode:!!(u!=null&&u.writableObjectMode),readableObjectMode:!!(c!=null&&c.readableObjectMode),writable:f,readable:d}),f){if(Ha(u))a._write=function(m,y,E){u.write(m,y)?E():n=E},a._final=function(m){u.end(),s=m},u.on("drain",function(){if(n){const m=n;n=null,m()}});else if(ef(u)){const y=(vi(u)?u.writable:u).getWriter();a._write=async function(E,_,S){try{await y.ready,y.write(E).catch(()=>{}),S()}catch(v){S(v)}},a._final=async function(E){try{await y.ready,y.close().catch(()=>{}),s=E}catch(_){E(_)}}}const g=vi(c)?c.readable:c;_R(g,()=>{if(s){const m=s;s=null,m()}})}if(d){if(Ha(c))c.on("readable",function(){if(i){const g=i;i=null,g()}}),c.on("end",function(){a.push(null)}),a._read=function(){for(;;){const g=c.read();if(g===null){i=a._read;return}if(!a.push(g))return}};else if(ef(c)){const m=(vi(c)?c.readable:c).getReader();a._read=async function(){for(;;)try{const{value:y,done:E}=await m.read();if(!a.push(y))return;if(E){a.push(null);return}}catch{return}}}}return a._destroy=function(g,m){!g&&o!==null&&(g=new wR),i=null,n=null,s=null,o===null?m(g):(o=m,Ha(c)&&yR(c,g))},a};const ER=globalThis.AbortController||na().AbortController,{codes:{ERR_INVALID_ARG_VALUE:SR,ERR_INVALID_ARG_TYPE:ma,ERR_MISSING_ARGS:TR,ERR_OUT_OF_RANGE:xR},AbortError:Vr}=qt,{validateAbortSignal:ss,validateInteger:rb,validateObject:os}=pa,AR=at.Symbol("kWeak"),CR=at.Symbol("kResistStopPropagation"),{finished:IR}=oi,MR=DE,{addAbortSignalNoValidate:OR}=Wu,{isWritable:RR,isNodeStream:PR}=kn,{deprecate:kR}=Bt,{ArrayPrototypePush:LR,Boolean:NR,MathFloor:nb,Number:DR,NumberIsNaN:BR,Promise:ib,PromiseReject:sb,PromiseResolve:$R,PromisePrototypeThen:ob,Symbol:BE}=at,Gl=BE("kEmpty"),ab=BE("kEof");function FR(t,e){if(e!=null&&os(e,"options"),(e==null?void 0:e.signal)!=null&&ss(e.signal,"options.signal"),PR(t)&&!RR(t))throw new SR("stream",t,"must be writable");const r=MR(this,t);return e!=null&&e.signal&&OR(e.signal,r),r}function Vu(t,e){if(typeof t!="function")throw new ma("fn",["Function","AsyncFunction"],t);e!=null&&os(e,"options"),(e==null?void 0:e.signal)!=null&&ss(e.signal,"options.signal");let r=1;(e==null?void 0:e.concurrency)!=null&&(r=nb(e.concurrency));let n=r-1;return(e==null?void 0:e.highWaterMark)!=null&&(n=nb(e.highWaterMark)),rb(r,"options.concurrency",1),rb(n,"options.highWaterMark",0),n+=r,(async function*(){const i=Bt.AbortSignalAny([e==null?void 0:e.signal].filter(NR)),o=this,a=[],l={signal:i};let u,c,f=!1,d=0;function g(){f=!0,m()}function m(){d-=1,y()}function y(){c&&!f&&d=n||d>=r)&&await new ib(S=>{c=S})}a.push(ab)}catch(_){const S=sb(_);ob(S,m,g),a.push(S)}finally{f=!0,u&&(u(),u=null)}}E();try{for(;;){for(;a.length>0;){const _=await a[0];if(_===ab)return;if(i.aborted)throw new Vr;_!==Gl&&(yield _),a.shift(),y()}await new ib(_=>{u=_})}}finally{f=!0,c&&(c(),c=null)}}).call(this)}function UR(t=void 0){return t!=null&&os(t,"options"),(t==null?void 0:t.signal)!=null&&ss(t.signal,"options.signal"),(async function*(){let r=0;for await(const s of this){var n;if(t!=null&&(n=t.signal)!==null&&n!==void 0&&n.aborted)throw new Vr({cause:t.signal.reason});yield[r++,s]}}).call(this)}async function $E(t,e=void 0){for await(const r of Zp.call(this,t,e))return!0;return!1}async function jR(t,e=void 0){if(typeof t!="function")throw new ma("fn",["Function","AsyncFunction"],t);return!await $E.call(this,async(...r)=>!await t(...r),e)}async function WR(t,e){for await(const r of Zp.call(this,t,e))return r}async function zR(t,e){if(typeof t!="function")throw new ma("fn",["Function","AsyncFunction"],t);async function r(n,s){return await t(n,s),Gl}for await(const n of Vu.call(this,r,e));}function Zp(t,e){if(typeof t!="function")throw new ma("fn",["Function","AsyncFunction"],t);async function r(n,s){return await t(n,s)?n:Gl}return Vu.call(this,r,e)}class HR extends TR{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function VR(t,e,r){var n;if(typeof t!="function")throw new ma("reducer",["Function","AsyncFunction"],t);r!=null&&os(r,"options"),(r==null?void 0:r.signal)!=null&&ss(r.signal,"options.signal");let s=arguments.length>1;if(r!=null&&(n=r.signal)!==null&&n!==void 0&&n.aborted){const u=new Vr(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await IR(this.destroy(u)),u}const i=new ER,o=i.signal;if(r!=null&&r.signal){const u={once:!0,[AR]:this,[CR]:!0};r.signal.addEventListener("abort",()=>i.abort(),u)}let a=!1;try{for await(const u of this){var l;if(a=!0,r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new Vr;s?e=await t(e,u,{signal:o}):(e=u,s=!0)}if(!a&&!s)throw new HR}finally{i.abort()}return e}async function qR(t){t!=null&&os(t,"options"),(t==null?void 0:t.signal)!=null&&ss(t.signal,"options.signal");const e=[];for await(const n of this){var r;if(t!=null&&(r=t.signal)!==null&&r!==void 0&&r.aborted)throw new Vr(void 0,{cause:t.signal.reason});LR(e,n)}return e}function YR(t,e){const r=Vu.call(this,t,e);return(async function*(){for await(const s of r)yield*s}).call(this)}function FE(t){if(t=DR(t),BR(t))return 0;if(t<0)throw new xR("number",">= 0",t);return t}function GR(t,e=void 0){return e!=null&&os(e,"options"),(e==null?void 0:e.signal)!=null&&ss(e.signal,"options.signal"),t=FE(t),(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new Vr;for await(const i of this){var s;if(e!=null&&(s=e.signal)!==null&&s!==void 0&&s.aborted)throw new Vr;t--<=0&&(yield i)}}).call(this)}function KR(t,e=void 0){return e!=null&&os(e,"options"),(e==null?void 0:e.signal)!=null&&ss(e.signal,"options.signal"),t=FE(t),(async function*(){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new Vr;for await(const i of this){var s;if(e!=null&&(s=e.signal)!==null&&s!==void 0&&s.aborted)throw new Vr;if(t-- >0&&(yield i),t<=0)return}}).call(this)}Wp.streamReturningOperators={asIndexedPairs:kR(UR,"readable.asIndexedPairs will be removed in a future version."),drop:GR,filter:Zp,flatMap:YR,map:Vu,take:KR,compose:FR};Wp.promiseReturningOperators={every:jR,forEach:zR,reduce:VR,toArray:qR,some:$E,find:WR};var tf,lb;function UE(){if(lb)return tf;lb=1;const{ArrayPrototypePop:t,Promise:e}=at,{isIterable:r,isNodeStream:n,isWebStream:s}=kn,{pipelineImpl:i}=Jp,{finished:o}=oi;jE();function a(...l){return new e((u,c)=>{let f,d;const g=l[l.length-1];if(g&&typeof g=="object"&&!n(g)&&!r(g)&&!s(g)){const m=t(l);f=m.signal,d=m.end}i(l,(m,y)=>{m?c(m):u(y)},{signal:f,end:d})})}return tf={finished:o,pipeline:a},tf}var ub;function jE(){if(ub)return Dc.exports;ub=1;const{Buffer:t}=nr,{ObjectDefineProperty:e,ObjectKeys:r,ReflectApply:n}=at,{promisify:{custom:s}}=Bt,{streamReturningOperators:i,promiseReturningOperators:o}=Wp,{codes:{ERR_ILLEGAL_CONSTRUCTOR:a}}=qt,l=DE,{setDefaultHighWaterMark:u,getDefaultHighWaterMark:c}=zu,{pipeline:f}=Jp,{destroyer:d}=so,g=oi,m=UE(),y=kn,E=Dc.exports=Yp.Stream;E.isDestroyed=y.isDestroyed,E.isDisturbed=y.isDisturbed,E.isErrored=y.isErrored,E.isReadable=y.isReadable,E.isWritable=y.isWritable,E.Readable=Hu();for(const S of r(i)){let A=function(...k){if(new.target)throw a();return E.Readable.from(n(v,this,k))};const v=i[S];e(A,"name",{__proto__:null,value:v.name}),e(A,"length",{__proto__:null,value:v.length}),e(E.Readable.prototype,S,{__proto__:null,value:A,enumerable:!1,configurable:!0,writable:!0})}for(const S of r(o)){let A=function(...k){if(new.target)throw a();return n(v,this,k)};const v=o[S];e(A,"name",{__proto__:null,value:v.name}),e(A,"length",{__proto__:null,value:v.length}),e(E.Readable.prototype,S,{__proto__:null,value:A,enumerable:!1,configurable:!0,writable:!0})}E.Writable=Kp(),E.Duplex=_n(),E.Transform=PE,E.PassThrough=LE,E.pipeline=f;const{addAbortSignal:_}=Wu;return E.addAbortSignal=_,E.finished=g,E.destroy=d,E.compose=l,E.setDefaultHighWaterMark=u,E.getDefaultHighWaterMark=c,e(E,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return m}}),e(f,s,{__proto__:null,enumerable:!0,get(){return m.pipeline}}),e(g,s,{__proto__:null,enumerable:!0,get(){return m.finished}}),E.Stream=E,E._isUint8Array=function(v){return v instanceof Uint8Array},E._uint8ArrayToBuffer=function(v){return t.from(v.buffer,v.byteOffset,v.byteLength)},Dc.exports}(function(t){const e=jE(),r=UE(),n=e.Readable.destroy;t.exports=e.Readable,t.exports._uint8ArrayToBuffer=e._uint8ArrayToBuffer,t.exports._isUint8Array=e._isUint8Array,t.exports.isDisturbed=e.isDisturbed,t.exports.isErrored=e.isErrored,t.exports.isReadable=e.isReadable,t.exports.Readable=e.Readable,t.exports.Writable=e.Writable,t.exports.Duplex=e.Duplex,t.exports.Transform=e.Transform,t.exports.PassThrough=e.PassThrough,t.exports.addAbortSignal=e.addAbortSignal,t.exports.finished=e.finished,t.exports.destroy=e.destroy,t.exports.destroy=n,t.exports.pipeline=e.pipeline,t.exports.compose=e.compose,Object.defineProperty(e,"promises",{configurable:!0,enumerable:!0,get(){return r}}),t.exports.Stream=e.Stream,t.exports.default=t.exports})(B_);var XR=B_.exports,Mh={exports:{}};typeof Object.create=="function"?Mh.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Mh.exports=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}};var QR=Mh.exports;const{Buffer:Er}=nr,WE=Symbol.for("BufferList");function Xe(t){if(!(this instanceof Xe))return new Xe(t);Xe._init.call(this,t)}Xe._init=function(e){Object.defineProperty(this,WE,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)};Xe.prototype._new=function(e){return new Xe(e)};Xe.prototype._offset=function(e){if(e===0)return[0,0];let r=0;for(let n=0;nthis.length||e<0)return;const r=this._offset(e);return this._bufs[r[0]][r[1]]};Xe.prototype.slice=function(e,r){return typeof e=="number"&&e<0&&(e+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,e,r)};Xe.prototype.copy=function(e,r,n,s){if((typeof n!="number"||n<0)&&(n=0),(typeof s!="number"||s>this.length)&&(s=this.length),n>=this.length||s<=0)return e||Er.alloc(0);const i=!!e,o=this._offset(n),a=s-n;let l=a,u=i&&r||0,c=o[1];if(n===0&&s===this.length){if(!i)return this._bufs.length===1?this._bufs[0]:Er.concat(this._bufs,this.length);for(let f=0;fd)this._bufs[f].copy(e,u,c),u+=d;else{this._bufs[f].copy(e,u,c,c+l),u+=d;break}l-=d,c&&(c=0)}return e.length>u?e.slice(0,u):e};Xe.prototype.shallowSlice=function(e,r){if(e=e||0,r=typeof r!="number"?this.length:r,e<0&&(e+=this.length),r<0&&(r+=this.length),e===r)return this._new();const n=this._offset(e),s=this._offset(r),i=this._bufs.slice(n[0],s[0]+1);return s[1]===0?i.pop():i[i.length-1]=i[i.length-1].slice(0,s[1]),n[1]!==0&&(i[0]=i[0].slice(n[1])),this._new(i)};Xe.prototype.toString=function(e,r,n){return this.slice(r,n).toString(e)};Xe.prototype.consume=function(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;)if(e>=this._bufs[0].length)e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}return this};Xe.prototype.duplicate=function(){const e=this._new();for(let r=0;rthis.length?this.length:e;const n=this._offset(e);let s=n[0],i=n[1];for(;s=t.length){const l=o.indexOf(t,i);if(l!==-1)return this._reverseOffset([s,l]);i=o.length-t.length+1}else{const l=this._reverseOffset([s,i]);if(this._match(l,t))return l;i++}i=0}return-1};Xe.prototype._match=function(t,e){if(this.length-t[0,1].map(o=>[0,1].map(a=>{const l=r.alloc(1);return l.writeUInt8(e.codes[s]<r.from([s])),e.EMPTY={pingreq:r.from([e.codes.pingreq<<4,0]),pingresp:r.from([e.codes.pingresp<<4,0]),disconnect:r.from([e.codes.disconnect<<4,0])},e.MQTT5_PUBACK_PUBREC_CODES={0:"Success",16:"No matching subscribers",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",144:"Topic Name invalid",145:"Packet identifier in use",151:"Quota exceeded",153:"Payload format invalid"},e.MQTT5_PUBREL_PUBCOMP_CODES={0:"Success",146:"Packet Identifier not found"},e.MQTT5_SUBACK_CODES={0:"Granted QoS 0",1:"Granted QoS 1",2:"Granted QoS 2",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use",151:"Quota exceeded",158:"Shared Subscriptions not supported",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},e.MQTT5_UNSUBACK_CODES={0:"Success",17:"No subscription existed",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use"},e.MQTT5_DISCONNECT_CODES={0:"Normal disconnection",4:"Disconnect with Will Message",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",135:"Not authorized",137:"Server busy",139:"Server shutting down",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},e.MQTT5_AUTH_CODES={0:"Success",24:"Continue authentication",25:"Re-authenticate"}})(eP);function zE(){throw new Error("setTimeout has not been defined")}function HE(){throw new Error("clearTimeout has not been defined")}var jn=zE,Wn=HE;typeof qi.setTimeout=="function"&&(jn=setTimeout);typeof qi.clearTimeout=="function"&&(Wn=clearTimeout);function VE(t){if(jn===setTimeout)return setTimeout(t,0);if((jn===zE||!jn)&&setTimeout)return jn=setTimeout,setTimeout(t,0);try{return jn(t,0)}catch{try{return jn.call(null,t,0)}catch{return jn.call(this,t,0)}}}function tP(t){if(Wn===clearTimeout)return clearTimeout(t);if((Wn===HE||!Wn)&&clearTimeout)return Wn=clearTimeout,clearTimeout(t);try{return Wn(t)}catch{try{return Wn.call(null,t)}catch{return Wn.call(this,t)}}}var un=[],Ns=!1,Pi,_l=-1;function rP(){!Ns||!Pi||(Ns=!1,Pi.length?un=Pi.concat(un):_l=-1,un.length&&qE())}function qE(){if(!Ns){var t=VE(rP);Ns=!0;for(var e=un.length;e;){for(Pi=un,un=[];++_l1)for(var r=1;r0)return o(c);if(d==="number"&&isFinite(c))return f.long?l(c):a(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function o(c){if(c=String(c),!(c.length>100)){var f=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(f){var d=parseFloat(f[1]),g=(f[2]||"ms").toLowerCase();switch(g){case"years":case"year":case"yrs":case"yr":case"y":return d*i;case"weeks":case"week":case"w":return d*s;case"days":case"day":case"d":return d*n;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*e;case"seconds":case"second":case"secs":case"sec":case"s":return d*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function a(c){var f=Math.abs(c);return f>=n?Math.round(c/n)+"d":f>=r?Math.round(c/r)+"h":f>=e?Math.round(c/e)+"m":f>=t?Math.round(c/t)+"s":c+"ms"}function l(c){var f=Math.abs(c);return f>=n?u(c,f,n,"day"):f>=r?u(c,f,r,"hour"):f>=e?u(c,f,e,"minute"):f>=t?u(c,f,t,"second"):c+" ms"}function u(c,f,d,g){var m=f>=d*1.5;return Math.round(c/d)+" "+g+(m?"s":"")}return rf}function MP(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=s,r.enabled=o,r.humanize=IP(),r.destroy=u,Object.keys(t).forEach(c=>{r[c]=t[c]}),r.names=[],r.skips=[],r.formatters={};function e(c){let f=0;for(let d=0;d{if(x==="%%")return"%";A++;const N=r.formatters[D];if(typeof N=="function"){const B=E[A];x=N.call(_,B),E.splice(A,1),A--}return x}),r.formatArgs.call(_,E),(_.log||r.log).apply(_,E)}return y.namespace=c,y.useColors=r.useColors(),y.color=r.selectColor(c),y.extend=n,y.destroy=r.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(g!==r.namespaces&&(g=r.namespaces,m=r.enabled(c)),m),set:E=>{d=E}}),typeof r.init=="function"&&r.init(y),y}function n(c,f){const d=r(this.namespace+(typeof f>"u"?":":f)+c);return d.log=this.log,d}function s(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let f;const d=(typeof c=="string"?c:"").split(/[\s,]+/),g=d.length;for(f=0;f"-"+f)].join(",");return r.enable(""),c}function o(c){if(c[c.length-1]==="*")return!0;let f,d;for(f=0,d=r.skips.length;f{let u=!1;return()=>{u||(u=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function s(u){if(u[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+u[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const c="color: "+this.color;u.splice(1,0,c,"color: inherit");let f=0,d=0;u[0].replace(/%[a-zA-Z%]/g,g=>{g!=="%%"&&(f++,g==="%c"&&(d=f))}),u.splice(d,0,c)}e.log=console.debug||console.log||(()=>{});function i(u){try{u?e.storage.setItem("debug",u):e.storage.removeItem("debug")}catch{}}function o(){let u;try{u=e.storage.getItem("debug")}catch{}return!u&&typeof Qt<"u"&&"env"in Qt&&(u=r.DEBUG),u}function a(){try{return localStorage}catch{}}t.exports=OP(e);const{formatters:l}=t.exports;l.j=function(u){try{return JSON.stringify(u)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}}})(Oh,Oh.exports);var GE=Oh.exports;GE("mqtt-packet:parser");const{Buffer:fb}=nr;fb.isBuffer(fb.from([1,2]).subarray(0,1));var Rh={exports:{}};typeof Qt>"u"||!Qt.version||Qt.version.indexOf("v0.")===0||Qt.version.indexOf("v1.")===0&&Qt.version.indexOf("v1.8.")!==0?Rh.exports={nextTick:RP}:Rh.exports=Qt;function RP(t,e,r,n){if(typeof t!="function")throw new TypeError('"callback" argument must be a function');var s=arguments.length,i,o;switch(s){case 0:case 1:return Qt.nextTick(t);case 2:return Qt.nextTick(function(){t.call(null,e)});case 3:return Qt.nextTick(function(){t.call(null,e,r)});case 4:return Qt.nextTick(function(){t.call(null,e,r,n)});default:for(i=new Array(s-1),o=0;oe?1:t>=e?0:NaN}function kP(t,e){return t==null||e==null?NaN:et?1:e>=t?0:NaN}function tg(t){let e,r,n;t.length!==2?(e=El,r=(a,l)=>El(t(a),l),n=(a,l)=>t(a)-l):(e=t===El||t===kP?t:LP,r=t,n=t);function s(a,l,u=0,c=a.length){if(u>>1;r(a[f],l)<0?u=f+1:c=f}while(u>>1;r(a[f],l)<=0?u=f+1:c=f}while(uu&&n(a[f-1],l)>-n(a[f],l)?f-1:f}return{left:s,center:o,right:i}}function LP(){return 0}function NP(t){return t===null?NaN:+t}const DP=tg(El),BP=DP.right;tg(NP).center;function Zj(t,e){let r,n;if(e===void 0)for(const s of t)s!=null&&(r===void 0?s>=s&&(r=n=s):(r>s&&(r=s),n=i&&(r=n=i):(r>i&&(r=i),n=jP?10:i>=WP?5:i>=zP?2:1;let a,l,u;return s<0?(u=Math.pow(10,-s)/o,a=Math.round(t*u),l=Math.round(e*u),a/ue&&--l,u=-u):(u=Math.pow(10,s)*o,a=Math.round(t/u),l=Math.round(e/u),a*ue&&--l),l0))return[];if(t===e)return[t];const n=e=s))return[];const a=i-s+1,l=new Array(a);if(n)if(o<0)for(let u=0;u=n)&&(r=n);else{let n=-1;for(let s of t)(s=e(s,++n,t))!=null&&(r=s)&&(r=s)}return r}function VP(t,e,r){t=+t,e=+e,r=(s=arguments.length)<2?(e=t,t=0,1):s<3?1:+r;for(var n=-1,s=Math.max(0,Math.ceil((e-t)/r))|0,i=new Array(s);++n+t(e)}function XP(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}function QP(){return!this.__axis}function qu(t,e){var r=[],n=null,s=null,i=6,o=6,a=3,l=typeof window<"u"&&window.devicePixelRatio>1?0:.5,u=t===Sl||t===ko?-1:1,c=t===ko||t===Tl?"x":"y",f=t===Sl||t===Lh?YP:GP;function d(g){var m=n??(e.ticks?e.ticks.apply(e,r):e.domain()),y=s??(e.tickFormat?e.tickFormat.apply(e,r):qP),E=Math.max(i,0)+a,_=e.range(),S=+_[0]+l,v=+_[_.length-1]+l,A=(e.bandwidth?XP:KP)(e.copy(),l),k=g.selection?g.selection():g,x=k.selectAll(".domain").data([null]),D=k.selectAll(".tick").data(m,e).order(),N=D.exit(),B=D.enter().append("g").attr("class","tick"),q=D.select("line"),K=D.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),D=D.merge(B),q=q.merge(B.append("line").attr("stroke","currentColor").attr(c+"2",u*i)),K=K.merge(B.append("text").attr("fill","currentColor").attr(c,u*E).attr("dy",t===Sl?"0em":t===Lh?"0.71em":"0.32em")),g!==k&&(x=x.transition(g),D=D.transition(g),q=q.transition(g),K=K.transition(g),N=N.transition(g).attr("opacity",pb).attr("transform",function(C){return isFinite(C=A(C))?f(C+l):this.getAttribute("transform")}),B.attr("opacity",pb).attr("transform",function(C){var M=this.parentNode.__axis;return f((M&&isFinite(M=M(C))?M:A(C))+l)})),N.remove(),x.attr("d",t===ko||t===Tl?o?"M"+u*o+","+S+"H"+l+"V"+v+"H"+u*o:"M"+l+","+S+"V"+v:o?"M"+S+","+u*o+"V"+l+"H"+v+"V"+u*o:"M"+S+","+l+"H"+v),D.attr("opacity",1).attr("transform",function(C){return f(A(C)+l)}),q.attr(c+"2",u*i),K.attr(c,u*E).text(y),k.filter(QP).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Tl?"start":t===ko?"end":"middle"),k.each(function(){this.__axis=A})}return d.scale=function(g){return arguments.length?(e=g,d):e},d.ticks=function(){return r=Array.from(arguments),d},d.tickArguments=function(g){return arguments.length?(r=g==null?[]:Array.from(g),d):r.slice()},d.tickValues=function(g){return arguments.length?(n=g==null?null:Array.from(g),d):n&&n.slice()},d.tickFormat=function(g){return arguments.length?(s=g,d):s},d.tickSize=function(g){return arguments.length?(i=o=+g,d):i},d.tickSizeInner=function(g){return arguments.length?(i=+g,d):i},d.tickSizeOuter=function(g){return arguments.length?(o=+g,d):o},d.tickPadding=function(g){return arguments.length?(a=+g,d):a},d.offset=function(g){return arguments.length?(l=+g,d):l},d}function t4(t){return qu(Sl,t)}function r4(t){return qu(Tl,t)}function n4(t){return qu(Lh,t)}function i4(t){return qu(ko,t)}var JP={value:()=>{}};function rg(){for(var t=0,e=arguments.length,r={},n;t=0&&(n=r.slice(s+1),r=r.slice(0,s)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:n}})}xl.prototype=rg.prototype={constructor:xl,on:function(t,e){var r=this._,n=ZP(t+"",r),s,i=-1,o=n.length;if(arguments.length<2){for(;++i0)for(var r=new Array(s),n=0,s,i;n=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),mb.hasOwnProperty(e)?{space:mb[e],local:t}:t}function tk(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===Nh&&e.documentElement.namespaceURI===Nh?e.createElement(t):e.createElementNS(r,t)}}function rk(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function XE(t){var e=Yu(t);return(e.local?rk:tk)(e)}function nk(){}function ng(t){return t==null?nk:function(){return this.querySelector(t)}}function ik(t){typeof t!="function"&&(t=ng(t));for(var e=this._groups,r=e.length,n=new Array(r),s=0;s=v&&(v=S+1);!(k=E[v])&&++v=0;)(o=n[s])&&(i&&o.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(o,i),i=o);return this}function Mk(t){t||(t=Ok);function e(f,d){return f&&d?t(f.__data__,d.__data__):!f-!d}for(var r=this._groups,n=r.length,s=new Array(n),i=0;ie?1:t>=e?0:NaN}function Rk(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function Pk(){return Array.from(this)}function kk(){for(var t=this._groups,e=0,r=t.length;e1?this.each((e==null?Hk:typeof e=="function"?qk:Vk)(t,e,r??"")):Us(this.node(),t)}function Us(t,e){return t.style.getPropertyValue(e)||t1(t).getComputedStyle(t,null).getPropertyValue(e)}function Gk(t){return function(){delete this[t]}}function Kk(t,e){return function(){this[t]=e}}function Xk(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function Qk(t,e){return arguments.length>1?this.each((e==null?Gk:typeof e=="function"?Xk:Kk)(t,e)):this.node()[t]}function r1(t){return t.trim().split(/^|\s+/)}function ig(t){return t.classList||new n1(t)}function n1(t){this._node=t,this._names=r1(t.getAttribute("class")||"")}n1.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function i1(t,e){for(var r=ig(t),n=-1,s=e.length;++n=0&&(r=e.slice(n+1),e=e.slice(0,n)),{type:e,name:r}})}function xL(t){return function(){var e=this.__on;if(e){for(var r=0,n=-1,s=e.length,i;r>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):r===8?Va(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):r===4?Va(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=BL.exec(t))?new Wt(e[1],e[2],e[3],1):(e=$L.exec(t))?new Wt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=FL.exec(t))?Va(e[1],e[2],e[3],e[4]):(e=UL.exec(t))?Va(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=jL.exec(t))?Sb(e[1],e[2]/100,e[3]/100,1):(e=WL.exec(t))?Sb(e[1],e[2]/100,e[3]/100,e[4]):bb.hasOwnProperty(t)?vb(bb[t]):t==="transparent"?new Wt(NaN,NaN,NaN,0):null}function vb(t){return new Wt(t>>16&255,t>>8&255,t&255,1)}function Va(t,e,r,n){return n<=0&&(t=e=r=NaN),new Wt(t,e,r,n)}function VL(t){return t instanceof wa||(t=Gi(t)),t?(t=t.rgb(),new Wt(t.r,t.g,t.b,t.opacity)):new Wt}function $h(t,e,r,n){return arguments.length===1?VL(t):new Wt(t,e,r,n??1)}function Wt(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}sg(Wt,$h,l1(wa,{brighter(t){return t=t==null?Ql:Math.pow(Ql,t),new Wt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?ia:Math.pow(ia,t),new Wt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Wt(zi(this.r),zi(this.g),zi(this.b),Jl(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:_b,formatHex:_b,formatHex8:qL,formatRgb:Eb,toString:Eb}));function _b(){return`#${ki(this.r)}${ki(this.g)}${ki(this.b)}`}function qL(){return`#${ki(this.r)}${ki(this.g)}${ki(this.b)}${ki((isNaN(this.opacity)?1:this.opacity)*255)}`}function Eb(){const t=Jl(this.opacity);return`${t===1?"rgb(":"rgba("}${zi(this.r)}, ${zi(this.g)}, ${zi(this.b)}${t===1?")":`, ${t})`}`}function Jl(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function zi(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function ki(t){return t=zi(t),(t<16?"0":"")+t.toString(16)}function Sb(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Sr(t,e,r,n)}function u1(t){if(t instanceof Sr)return new Sr(t.h,t.s,t.l,t.opacity);if(t instanceof wa||(t=Gi(t)),!t)return new Sr;if(t instanceof Sr)return t;t=t.rgb();var e=t.r/255,r=t.g/255,n=t.b/255,s=Math.min(e,r,n),i=Math.max(e,r,n),o=NaN,a=i-s,l=(i+s)/2;return a?(e===i?o=(r-n)/a+(r0&&l<1?0:o,new Sr(o,a,l,t.opacity)}function YL(t,e,r,n){return arguments.length===1?u1(t):new Sr(t,e,r,n??1)}function Sr(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}sg(Sr,YL,l1(wa,{brighter(t){return t=t==null?Ql:Math.pow(Ql,t),new Sr(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?ia:Math.pow(ia,t),new Sr(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,s=2*r-n;return new Wt(nf(t>=240?t-240:t+120,s,n),nf(t,s,n),nf(t<120?t+240:t-120,s,n),this.opacity)},clamp(){return new Sr(Tb(this.h),qa(this.s),qa(this.l),Jl(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Jl(this.opacity);return`${t===1?"hsl(":"hsla("}${Tb(this.h)}, ${qa(this.s)*100}%, ${qa(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Tb(t){return t=(t||0)%360,t<0?t+360:t}function qa(t){return Math.max(0,Math.min(1,t||0))}function nf(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}const og=t=>()=>t;function GL(t,e){return function(r){return t+r*e}}function KL(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}function XL(t){return(t=+t)==1?c1:function(e,r){return r-e?KL(e,r,t):og(isNaN(e)?r:e)}}function c1(t,e){var r=e-t;return r?GL(t,r):og(isNaN(t)?e:t)}const Zl=function t(e){var r=XL(e);function n(s,i){var o=r((s=$h(s)).r,(i=$h(i)).r),a=r(s.g,i.g),l=r(s.b,i.b),u=c1(s.opacity,i.opacity);return function(c){return s.r=o(c),s.g=a(c),s.b=l(c),s.opacity=u(c),s+""}}return n.gamma=t,n}(1);function QL(t,e){e||(e=[]);var r=t?Math.min(e.length,t.length):0,n=e.slice(),s;return function(i){for(s=0;sr&&(i=e.slice(r,i),a[o]?a[o]+=i:a[++o]=i),(n=n[0])===(s=s[0])?a[o]?a[o]+=s:a[++o]=s:(a[++o]=null,l.push({i:o,x:_r(n,s)})),r=sf.lastIndex;return r180?c+=360:c-u>180&&(u+=360),d.push({i:f.push(s(f)+"rotate(",null,n)-2,x:_r(u,c)})):c&&f.push(s(f)+"rotate("+c+n)}function a(u,c,f,d){u!==c?d.push({i:f.push(s(f)+"skewX(",null,n)-2,x:_r(u,c)}):c&&f.push(s(f)+"skewX("+c+n)}function l(u,c,f,d,g,m){if(u!==f||c!==d){var y=g.push(s(g)+"scale(",null,",",null,")");m.push({i:y-4,x:_r(u,f)},{i:y-2,x:_r(c,d)})}else(f!==1||d!==1)&&g.push(s(g)+"scale("+f+","+d+")")}return function(u,c){var f=[],d=[];return u=t(u),c=t(c),i(u.translateX,u.translateY,c.translateX,c.translateY,f,d),o(u.rotate,c.rotate,f,d),a(u.skewX,c.skewX,f,d),l(u.scaleX,u.scaleY,c.scaleX,c.scaleY,f,d),u=c=null,function(g){for(var m=-1,y=d.length,E;++m=0&&t._call.call(void 0,e),t=t._next;--js}function Cb(){Ki=(tu=oa.now())+Gu,js=Lo=0;try{pN()}finally{js=0,mN(),Ki=0}}function gN(){var t=oa.now(),e=t-tu;e>p1&&(Gu-=e,tu=t)}function mN(){for(var t,e=eu,r,n=1/0;e;)e._call?(n>e._time&&(n=e._time),t=e,e=e._next):(r=e._next,e._next=null,e=t?t._next=r:eu=r);No=t,jh(n)}function jh(t){if(!js){Lo&&(Lo=clearTimeout(Lo));var e=t-Ki;e>24?(t<1/0&&(Lo=setTimeout(Cb,t-oa.now()-Gu)),_o&&(_o=clearInterval(_o))):(_o||(tu=oa.now(),_o=setInterval(gN,p1)),js=1,g1(Cb))}}function Ib(t,e,r){var n=new ru;return e=e==null?0:+e,n.restart(s=>{n.stop(),t(s+e)},e,r),n}var bN=rg("start","end","cancel","interrupt"),yN=[],b1=0,Mb=1,Wh=2,Al=3,Ob=4,zh=5,Cl=6;function Ku(t,e,r,n,s,i){var o=t.__transition;if(!o)t.__transition={};else if(r in o)return;wN(t,r,{name:e,index:n,group:s,on:bN,tween:yN,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:b1})}function ug(t,e){var r=Cr(t,e);if(r.state>b1)throw new Error("too late; already scheduled");return r}function Gr(t,e){var r=Cr(t,e);if(r.state>Al)throw new Error("too late; already running");return r}function Cr(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function wN(t,e,r){var n=t.__transition,s;n[e]=r,r.timer=m1(i,0,r.time);function i(u){r.state=Mb,r.timer.restart(o,r.delay,r.time),r.delay<=u&&o(u-r.delay)}function o(u){var c,f,d,g;if(r.state!==Mb)return l();for(c in n)if(g=n[c],g.name===r.name){if(g.state===Al)return Ib(o);g.state===Ob?(g.state=Cl,g.timer.stop(),g.on.call("interrupt",t,t.__data__,g.index,g.group),delete n[c]):+cWh&&n.state=0&&(e=e.slice(0,r)),!e||e==="start"})}function KN(t,e,r){var n,s,i=GN(e)?ug:Gr;return function(){var o=i(this,t),a=o.on;a!==n&&(s=(n=a).copy()).on(e,r),o.on=s}}function XN(t,e){var r=this._id;return arguments.length<2?Cr(this.node(),r).on.on(t):this.each(KN(r,t,e))}function QN(t){return function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}}function JN(){return this.on("end.remove",QN(this._id))}function ZN(t){var e=this._name,r=this._id;typeof t!="function"&&(t=ng(t));for(var n=this._groups,s=n.length,i=new Array(s),o=0;o+t;function v2(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var _2={time:null,delay:0,duration:250,ease:v2};function E2(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return r}function S2(t){var e,r;t instanceof Sn?(e=t._id,t=t._name):(e=v1(),(r=_2).time=lg(),t=t==null?null:t+"");for(var n=this._groups,s=n.length,i=0;i=0))throw new Error(`invalid digits: ${t}`);if(e>15)return _1;const r=10**e;return function(n){this._+=n[0];for(let s=1,i=n.length;sxi)if(!(Math.abs(f*l-u*c)>xi)||!i)this._append`L${this._x1=e},${this._y1=r}`;else{let g=n-o,m=s-a,y=l*l+u*u,E=g*g+m*m,_=Math.sqrt(y),S=Math.sqrt(d),v=i*Math.tan((Hh-Math.acos((y+d-E)/(2*_*S)))/2),A=v/S,k=v/_;Math.abs(A-1)>xi&&this._append`L${e+A*c},${r+A*f}`,this._append`A${i},${i},0,0,${+(f*g>c*m)},${this._x1=e+k*l},${this._y1=r+k*u}`}}arc(e,r,n,s,i,o){if(e=+e,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(s),l=n*Math.sin(s),u=e+a,c=r+l,f=1^o,d=o?s-i:i-s;this._x1===null?this._append`M${u},${c}`:(Math.abs(this._x1-u)>xi||Math.abs(this._y1-c)>xi)&&this._append`L${u},${c}`,n&&(d<0&&(d=d%Vh+Vh),d>T2?this._append`A${n},${n},0,1,${f},${e-a},${r-l}A${n},${n},0,1,${f},${this._x1=u},${this._y1=c}`:d>xi&&this._append`A${n},${n},0,${+(d>=Hh)},${f},${this._x1=e+n*Math.cos(i)},${this._y1=r+n*Math.sin(i)}`)}rect(e,r,n,s){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}h${n=+n}v${+s}h${-n}Z`}toString(){return this._}}function C2(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function nu(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function Ws(t){return t=nu(Math.abs(t)),t?t[1]:NaN}function I2(t,e){return function(r,n){for(var s=r.length,i=[],o=0,a=t[0],l=0;s>0&&a>0&&(l+a+1>n&&(a=Math.max(1,n-l)),i.push(r.substring(s-=a,s+a)),!((l+=a+1)>n));)a=t[o=(o+1)%t.length];return i.reverse().join(e)}}function M2(t){return function(e){return e.replace(/[0-9]/g,function(r){return t[+r]})}}var O2=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function iu(t){if(!(e=O2.exec(t)))throw new Error("invalid format: "+t);var e;return new fg({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}iu.prototype=fg.prototype;function fg(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}fg.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function R2(t){e:for(var e=t.length,r=1,n=-1,s;r0&&(n=0);break}return n>0?t.slice(0,n)+t.slice(s+1):t}var E1;function P2(t,e){var r=nu(t,e);if(!r)return t+"";var n=r[0],s=r[1],i=s-(E1=Math.max(-8,Math.min(8,Math.floor(s/3)))*3)+1,o=n.length;return i===o?n:i>o?n+new Array(i-o+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+nu(t,Math.max(0,e+i-1))[0]}function Rb(t,e){var r=nu(t,e);if(!r)return t+"";var n=r[0],s=r[1];return s<0?"0."+new Array(-s).join("0")+n:n.length>s+1?n.slice(0,s+1)+"."+n.slice(s+1):n+new Array(s-n.length+2).join("0")}const Pb={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:C2,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Rb(t*100,e),r:Rb,s:P2,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function kb(t){return t}var Lb=Array.prototype.map,Nb=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function k2(t){var e=t.grouping===void 0||t.thousands===void 0?kb:I2(Lb.call(t.grouping,Number),t.thousands+""),r=t.currency===void 0?"":t.currency[0]+"",n=t.currency===void 0?"":t.currency[1]+"",s=t.decimal===void 0?".":t.decimal+"",i=t.numerals===void 0?kb:M2(Lb.call(t.numerals,String)),o=t.percent===void 0?"%":t.percent+"",a=t.minus===void 0?"−":t.minus+"",l=t.nan===void 0?"NaN":t.nan+"";function u(f){f=iu(f);var d=f.fill,g=f.align,m=f.sign,y=f.symbol,E=f.zero,_=f.width,S=f.comma,v=f.precision,A=f.trim,k=f.type;k==="n"?(S=!0,k="g"):Pb[k]||(v===void 0&&(v=12),A=!0,k="g"),(E||d==="0"&&g==="=")&&(E=!0,d="0",g="=");var x=y==="$"?r:y==="#"&&/[boxX]/.test(k)?"0"+k.toLowerCase():"",D=y==="$"?n:/[%p]/.test(k)?o:"",N=Pb[k],B=/[defgprs%]/.test(k);v=v===void 0?6:/[gprs]/.test(k)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v));function q(K){var C=x,M=D,L,H,G;if(k==="c")M=N(K)+M,K="";else{K=+K;var z=K<0||1/K<0;if(K=isNaN(K)?l:N(Math.abs(K),v),A&&(K=R2(K)),z&&+K==0&&m!=="+"&&(z=!1),C=(z?m==="("?m:a:m==="-"||m==="("?"":m)+C,M=(k==="s"?Nb[8+E1/3]:"")+M+(z&&m==="("?")":""),B){for(L=-1,H=K.length;++LG||G>57){M=(G===46?s+K.slice(L+1):K.slice(L))+M,K=K.slice(0,L);break}}}S&&!E&&(K=e(K,1/0));var F=C.length+K.length+M.length,ne=F<_?new Array(_-F+1).join(d):"";switch(S&&E&&(K=e(ne+K,ne.length?_-M.length:1/0),ne=""),g){case"<":K=C+K+M+ne;break;case"=":K=C+ne+K+M;break;case"^":K=ne.slice(0,F=ne.length>>1)+C+K+M+ne.slice(F);break;default:K=ne+C+K+M;break}return i(K)}return q.toString=function(){return f+""},q}function c(f,d){var g=u((f=iu(f),f.type="f",f)),m=Math.max(-8,Math.min(8,Math.floor(Ws(d)/3)))*3,y=Math.pow(10,-m),E=Nb[8+m/3];return function(_){return g(y*_)+E}}return{format:u,formatPrefix:c}}var Ga,S1,T1;L2({thousands:",",grouping:[3],currency:["$",""]});function L2(t){return Ga=k2(t),S1=Ga.format,T1=Ga.formatPrefix,Ga}function N2(t){return Math.max(0,-Ws(Math.abs(t)))}function D2(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Ws(e)/3)))*3-Ws(Math.abs(t)))}function B2(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Ws(e)-Ws(t))+1}function va(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}const Db=Symbol("implicit");function x1(){var t=new db,e=[],r=[],n=Db;function s(i){let o=t.get(i);if(o===void 0){if(n!==Db)return n;t.set(i,o=e.push(i)-1)}return r[o%r.length]}return s.domain=function(i){if(!arguments.length)return e.slice();e=[],t=new db;for(const o of i)t.has(o)||t.set(o,e.push(o)-1);return s},s.range=function(i){return arguments.length?(r=Array.from(i),s):r.slice()},s.unknown=function(i){return arguments.length?(n=i,s):n},s.copy=function(){return x1(e,r).unknown(n)},va.apply(s,arguments),s}function $2(){var t=x1().unknown(void 0),e=t.domain,r=t.range,n=0,s=1,i,o,a=!1,l=0,u=0,c=.5;delete t.unknown;function f(){var d=e().length,g=se&&(r=t,t=e,e=r),function(n){return Math.max(t,Math.min(e,n))}}function W2(t,e,r){var n=t[0],s=t[1],i=e[0],o=e[1];return s2?z2:W2,l=u=null,f}function f(d){return d==null||isNaN(d=+d)?i:(l||(l=a(t.map(n),e,r)))(n(o(d)))}return f.invert=function(d){return o(s((u||(u=a(e,t.map(n),_r)))(d)))},f.domain=function(d){return arguments.length?(t=Array.from(d,U2),c()):t.slice()},f.range=function(d){return arguments.length?(e=Array.from(d),c()):e.slice()},f.rangeRound=function(d){return e=Array.from(d),r=iN,c()},f.clamp=function(d){return arguments.length?(o=d?!0:As,c()):o!==As},f.interpolate=function(d){return arguments.length?(r=d,c()):r},f.unknown=function(d){return arguments.length?(i=d,f):i},function(d,g){return n=d,s=g,c()}}function C1(){return H2()(As,As)}function V2(t,e,r,n){var s=kh(t,e,r),i;switch(n=iu(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(t),Math.abs(e));return n.precision==null&&!isNaN(i=D2(s,o))&&(n.precision=i),T1(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(i=B2(s,Math.max(Math.abs(t),Math.abs(e))))&&(n.precision=i-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(i=N2(s))&&(n.precision=i-(n.type==="%")*2);break}}return S1(n)}function q2(t){var e=t.domain;return t.ticks=function(r){var n=e();return HP(n[0],n[n.length-1],r??10)},t.tickFormat=function(r,n){var s=e();return V2(s[0],s[s.length-1],r??10,n)},t.nice=function(r){r==null&&(r=10);var n=e(),s=0,i=n.length-1,o=n[s],a=n[i],l,u,c=10;for(a0;){if(u=Ph(o,a,r),u===l)return n[s]=o,n[i]=a,e(n);if(u>0)o=Math.floor(o/u)*u,a=Math.ceil(a/u)*u;else if(u<0)o=Math.ceil(o*u)/u,a=Math.floor(a*u)/u;else break;l=u}return t},t}function Y2(){var t=C1();return t.copy=function(){return A1(t,Y2())},va.apply(t,arguments),q2(t)}function G2(t,e){t=t.slice();var r=0,n=t.length-1,s=t[r],i=t[n],o;return i(t(i=new Date(+i)),i),s.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),s.round=i=>{const o=s(i),a=s.ceil(i);return i-o(e(i=new Date(+i),o==null?1:Math.floor(o)),i),s.range=(i,o,a)=>{const l=[];if(i=s.ceil(i),a=a==null?1:Math.floor(a),!(i0))return l;let u;do l.push(u=new Date(+i)),e(i,a),t(i);while(upt(o=>{if(o>=o)for(;t(o),!i(o);)o.setTime(o-1)},(o,a)=>{if(o>=o)if(a<0)for(;++a<=0;)for(;e(o,-1),!i(o););else for(;--a>=0;)for(;e(o,1),!i(o););}),r&&(s.count=(i,o)=>(of.setTime(+i),af.setTime(+o),t(of),t(af),Math.floor(r(of,af))),s.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?s.filter(n?o=>n(o)%i===0:o=>s.count(0,o)%i===0):s)),s}const su=pt(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);su.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?pt(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):su);su.range;const cn=1e3,ur=cn*60,fn=ur*60,Tn=fn*24,dg=Tn*7,$b=Tn*30,lf=Tn*365,Li=pt(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*cn)},(t,e)=>(e-t)/cn,t=>t.getUTCSeconds());Li.range;const hg=pt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*cn)},(t,e)=>{t.setTime(+t+e*ur)},(t,e)=>(e-t)/ur,t=>t.getMinutes());hg.range;const pg=pt(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ur)},(t,e)=>(e-t)/ur,t=>t.getUTCMinutes());pg.range;const gg=pt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*cn-t.getMinutes()*ur)},(t,e)=>{t.setTime(+t+e*fn)},(t,e)=>(e-t)/fn,t=>t.getHours());gg.range;const mg=pt(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*fn)},(t,e)=>(e-t)/fn,t=>t.getUTCHours());mg.range;const _a=pt(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ur)/Tn,t=>t.getDate()-1);_a.range;const Xu=pt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/Tn,t=>t.getUTCDate()-1);Xu.range;const I1=pt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/Tn,t=>Math.floor(t/Tn));I1.range;function ls(t){return pt(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,r)=>{e.setDate(e.getDate()+r*7)},(e,r)=>(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*ur)/dg)}const Qu=ls(0),ou=ls(1),K2=ls(2),X2=ls(3),zs=ls(4),Q2=ls(5),J2=ls(6);Qu.range;ou.range;K2.range;X2.range;zs.range;Q2.range;J2.range;function us(t){return pt(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r*7)},(e,r)=>(r-e)/dg)}const Ju=us(0),au=us(1),Z2=us(2),eD=us(3),Hs=us(4),tD=us(5),rD=us(6);Ju.range;au.range;Z2.range;eD.range;Hs.range;tD.range;rD.range;const bg=pt(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());bg.range;const yg=pt(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());yg.range;const xn=pt(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());xn.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:pt(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)});xn.range;const An=pt(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());An.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:pt(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)});An.range;function M1(t,e,r,n,s,i){const o=[[Li,1,cn],[Li,5,5*cn],[Li,15,15*cn],[Li,30,30*cn],[i,1,ur],[i,5,5*ur],[i,15,15*ur],[i,30,30*ur],[s,1,fn],[s,3,3*fn],[s,6,6*fn],[s,12,12*fn],[n,1,Tn],[n,2,2*Tn],[r,1,dg],[e,1,$b],[e,3,3*$b],[t,1,lf]];function a(u,c,f){const d=cE).right(o,d);if(g===o.length)return t.every(kh(u/lf,c/lf,f));if(g===0)return su.every(Math.max(kh(u,c,f),1));const[m,y]=o[d/o[g-1][2]53)return null;"w"in ue||(ue.w=1),"Z"in ue?(P=cf(Eo(ue.y,0,1)),O=P.getUTCDay(),P=O>4||O===0?au.ceil(P):au(P),P=Xu.offset(P,(ue.V-1)*7),ue.y=P.getUTCFullYear(),ue.m=P.getUTCMonth(),ue.d=P.getUTCDate()+(ue.w+6)%7):(P=uf(Eo(ue.y,0,1)),O=P.getDay(),P=O>4||O===0?ou.ceil(P):ou(P),P=_a.offset(P,(ue.V-1)*7),ue.y=P.getFullYear(),ue.m=P.getMonth(),ue.d=P.getDate()+(ue.w+6)%7)}else("W"in ue||"U"in ue)&&("w"in ue||(ue.w="u"in ue?ue.u%7:"W"in ue?1:0),O="Z"in ue?cf(Eo(ue.y,0,1)).getUTCDay():uf(Eo(ue.y,0,1)).getDay(),ue.m=0,ue.d="W"in ue?(ue.w+6)%7+ue.W*7-(O+5)%7:ue.w+ue.U*7-(O+6)%7);return"Z"in ue?(ue.H+=ue.Z/100|0,ue.M+=ue.Z%100,cf(ue)):uf(ue)}}function N(ie,be,he,ue){for(var I=0,P=be.length,O=he.length,j,W;I=O)return-1;if(j=be.charCodeAt(I++),j===37){if(j=be.charAt(I++),W=k[j in Fb?be.charAt(I++):j],!W||(ue=W(ie,he,ue))<0)return-1}else if(j!=he.charCodeAt(ue++))return-1}return ue}function B(ie,be,he){var ue=u.exec(be.slice(he));return ue?(ie.p=c.get(ue[0].toLowerCase()),he+ue[0].length):-1}function q(ie,be,he){var ue=g.exec(be.slice(he));return ue?(ie.w=m.get(ue[0].toLowerCase()),he+ue[0].length):-1}function K(ie,be,he){var ue=f.exec(be.slice(he));return ue?(ie.w=d.get(ue[0].toLowerCase()),he+ue[0].length):-1}function C(ie,be,he){var ue=_.exec(be.slice(he));return ue?(ie.m=S.get(ue[0].toLowerCase()),he+ue[0].length):-1}function M(ie,be,he){var ue=y.exec(be.slice(he));return ue?(ie.m=E.get(ue[0].toLowerCase()),he+ue[0].length):-1}function L(ie,be,he){return N(ie,e,be,he)}function H(ie,be,he){return N(ie,r,be,he)}function G(ie,be,he){return N(ie,n,be,he)}function z(ie){return o[ie.getDay()]}function F(ie){return i[ie.getDay()]}function ne(ie){return l[ie.getMonth()]}function ce(ie){return a[ie.getMonth()]}function re(ie){return s[+(ie.getHours()>=12)]}function R(ie){return 1+~~(ie.getMonth()/3)}function Q(ie){return o[ie.getUTCDay()]}function de(ie){return i[ie.getUTCDay()]}function ge(ie){return l[ie.getUTCMonth()]}function pe(ie){return a[ie.getUTCMonth()]}function X(ie){return s[+(ie.getUTCHours()>=12)]}function Y(ie){return 1+~~(ie.getUTCMonth()/3)}return{format:function(ie){var be=x(ie+="",v);return be.toString=function(){return ie},be},parse:function(ie){var be=D(ie+="",!1);return be.toString=function(){return ie},be},utcFormat:function(ie){var be=x(ie+="",A);return be.toString=function(){return ie},be},utcParse:function(ie){var be=D(ie+="",!0);return be.toString=function(){return ie},be}}}var Fb={"-":"",_:" ",0:"0"},bt=/^\s*\d+/,lD=/^%/,uD=/[\\^$*+?|[\]().{}]/g;function We(t,e,r){var n=t<0?"-":"",s=(n?-t:t)+"",i=s.length;return n+(i[e.toLowerCase(),r]))}function fD(t,e,r){var n=bt.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function dD(t,e,r){var n=bt.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function hD(t,e,r){var n=bt.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function pD(t,e,r){var n=bt.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function gD(t,e,r){var n=bt.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function Ub(t,e,r){var n=bt.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function jb(t,e,r){var n=bt.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function mD(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function bD(t,e,r){var n=bt.exec(e.slice(r,r+1));return n?(t.q=n[0]*3-3,r+n[0].length):-1}function yD(t,e,r){var n=bt.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function Wb(t,e,r){var n=bt.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function wD(t,e,r){var n=bt.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function zb(t,e,r){var n=bt.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function vD(t,e,r){var n=bt.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function _D(t,e,r){var n=bt.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function ED(t,e,r){var n=bt.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function SD(t,e,r){var n=bt.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function TD(t,e,r){var n=lD.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function xD(t,e,r){var n=bt.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function AD(t,e,r){var n=bt.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function Hb(t,e){return We(t.getDate(),e,2)}function CD(t,e){return We(t.getHours(),e,2)}function ID(t,e){return We(t.getHours()%12||12,e,2)}function MD(t,e){return We(1+_a.count(xn(t),t),e,3)}function O1(t,e){return We(t.getMilliseconds(),e,3)}function OD(t,e){return O1(t,e)+"000"}function RD(t,e){return We(t.getMonth()+1,e,2)}function PD(t,e){return We(t.getMinutes(),e,2)}function kD(t,e){return We(t.getSeconds(),e,2)}function LD(t){var e=t.getDay();return e===0?7:e}function ND(t,e){return We(Qu.count(xn(t)-1,t),e,2)}function R1(t){var e=t.getDay();return e>=4||e===0?zs(t):zs.ceil(t)}function DD(t,e){return t=R1(t),We(zs.count(xn(t),t)+(xn(t).getDay()===4),e,2)}function BD(t){return t.getDay()}function $D(t,e){return We(ou.count(xn(t)-1,t),e,2)}function FD(t,e){return We(t.getFullYear()%100,e,2)}function UD(t,e){return t=R1(t),We(t.getFullYear()%100,e,2)}function jD(t,e){return We(t.getFullYear()%1e4,e,4)}function WD(t,e){var r=t.getDay();return t=r>=4||r===0?zs(t):zs.ceil(t),We(t.getFullYear()%1e4,e,4)}function zD(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+We(e/60|0,"0",2)+We(e%60,"0",2)}function Vb(t,e){return We(t.getUTCDate(),e,2)}function HD(t,e){return We(t.getUTCHours(),e,2)}function VD(t,e){return We(t.getUTCHours()%12||12,e,2)}function qD(t,e){return We(1+Xu.count(An(t),t),e,3)}function P1(t,e){return We(t.getUTCMilliseconds(),e,3)}function YD(t,e){return P1(t,e)+"000"}function GD(t,e){return We(t.getUTCMonth()+1,e,2)}function KD(t,e){return We(t.getUTCMinutes(),e,2)}function XD(t,e){return We(t.getUTCSeconds(),e,2)}function QD(t){var e=t.getUTCDay();return e===0?7:e}function JD(t,e){return We(Ju.count(An(t)-1,t),e,2)}function k1(t){var e=t.getUTCDay();return e>=4||e===0?Hs(t):Hs.ceil(t)}function ZD(t,e){return t=k1(t),We(Hs.count(An(t),t)+(An(t).getUTCDay()===4),e,2)}function eB(t){return t.getUTCDay()}function tB(t,e){return We(au.count(An(t)-1,t),e,2)}function rB(t,e){return We(t.getUTCFullYear()%100,e,2)}function nB(t,e){return t=k1(t),We(t.getUTCFullYear()%100,e,2)}function iB(t,e){return We(t.getUTCFullYear()%1e4,e,4)}function sB(t,e){var r=t.getUTCDay();return t=r>=4||r===0?Hs(t):Hs.ceil(t),We(t.getUTCFullYear()%1e4,e,4)}function oB(){return"+0000"}function qb(){return"%"}function Yb(t){return+t}function Gb(t){return Math.floor(+t/1e3)}var ms,L1,aB,N1;lB({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function lB(t){return ms=aD(t),L1=ms.format,aB=ms.parse,N1=ms.utcFormat,ms.utcParse,ms}function uB(t){return new Date(t)}function cB(t){return t instanceof Date?+t:+new Date(+t)}function wg(t,e,r,n,s,i,o,a,l,u){var c=C1(),f=c.invert,d=c.domain,g=u(".%L"),m=u(":%S"),y=u("%I:%M"),E=u("%I %p"),_=u("%a %d"),S=u("%b %d"),v=u("%B"),A=u("%Y");function k(x){return(l(x)1?0:t<-1?aa:Math.acos(t)}function Xb(t){return t>=1?lu:t<=-1?-lu:Math.asin(t)}function vg(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(r==null)e=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);e=n}return t},()=>new A2(e)}function hB(t){return t.innerRadius}function pB(t){return t.outerRadius}function gB(t){return t.startAngle}function mB(t){return t.endAngle}function bB(t){return t&&t.padAngle}function yB(t,e,r,n,s,i,o,a){var l=r-t,u=n-e,c=o-s,f=a-i,d=f*l-c*u;if(!(d*dL*L+H*H&&(N=q,B=K),{cx:N,cy:B,x01:-c,y01:-f,x11:N*(s/k-1),y11:B*(s/k-1)}}function l4(){var t=hB,e=pB,r=Fe(0),n=null,s=gB,i=mB,o=bB,a=null,l=vg(u);function u(){var c,f,d=+t.apply(this,arguments),g=+e.apply(this,arguments),m=s.apply(this,arguments)-lu,y=i.apply(this,arguments)-lu,E=Kb(y-m),_=y>m;if(a||(a=c=l()),gFt))a.moveTo(0,0);else if(E>Ml-Ft)a.moveTo(g*Ei(m),g*Rr(m)),a.arc(0,0,g,m,y,!_),d>Ft&&(a.moveTo(d*Ei(y),d*Rr(y)),a.arc(0,0,d,y,m,_));else{var S=m,v=y,A=m,k=y,x=E,D=E,N=o.apply(this,arguments)/2,B=N>Ft&&(n?+n.apply(this,arguments):Cs(d*d+g*g)),q=ff(Kb(g-d)/2,+r.apply(this,arguments)),K=q,C=q,M,L;if(B>Ft){var H=Xb(B/d*Rr(N)),G=Xb(B/g*Rr(N));(x-=H*2)>Ft?(H*=_?1:-1,A+=H,k-=H):(x=0,A=k=(m+y)/2),(D-=G*2)>Ft?(G*=_?1:-1,S+=G,v-=G):(D=0,S=v=(m+y)/2)}var z=g*Ei(S),F=g*Rr(S),ne=d*Ei(k),ce=d*Rr(k);if(q>Ft){var re=g*Ei(v),R=g*Rr(v),Q=d*Ei(A),de=d*Rr(A),ge;if(EFt?C>Ft?(M=Ka(Q,de,z,F,g,C,_),L=Ka(re,R,ne,ce,g,C,_),a.moveTo(M.cx+M.x01,M.cy+M.y01),CFt)||!(x>Ft)?a.lineTo(ne,ce):K>Ft?(M=Ka(ne,ce,re,R,d,-K,_),L=Ka(z,F,Q,de,d,-K,_),a.lineTo(M.cx+M.x01,M.cy+M.y01),K=g;--m)a.point(v[m],A[m]);a.lineEnd(),a.areaEnd()}_&&(v[d]=+t(E,d,f),A[d]=+e(E,d,f),a.point(n?+n(E,d,f):v[d],r?+r(E,d,f):A[d]))}if(S)return a=null,S+""||null}function c(){return wB().defined(s).curve(o).context(i)}return u.x=function(f){return arguments.length?(t=typeof f=="function"?f:Fe(+f),n=null,u):t},u.x0=function(f){return arguments.length?(t=typeof f=="function"?f:Fe(+f),u):t},u.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:Fe(+f),u):n},u.y=function(f){return arguments.length?(e=typeof f=="function"?f:Fe(+f),r=null,u):e},u.y0=function(f){return arguments.length?(e=typeof f=="function"?f:Fe(+f),u):e},u.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:Fe(+f),u):r},u.lineX0=u.lineY0=function(){return c().x(t).y(e)},u.lineY1=function(){return c().x(t).y(r)},u.lineX1=function(){return c().x(n).y(e)},u.defined=function(f){return arguments.length?(s=typeof f=="function"?f:Fe(!!f),u):s},u.curve=function(f){return arguments.length?(o=f,i!=null&&(a=o(i)),u):o},u.context=function(f){return arguments.length?(f==null?i=a=null:a=o(i=f),u):i},u}function vB(t,e){return et?1:e>=t?0:NaN}function _B(t){return t}function c4(){var t=_B,e=vB,r=null,n=Fe(0),s=Fe(Ml),i=Fe(0);function o(a){var l,u=(a=Zu(a)).length,c,f,d=0,g=new Array(u),m=new Array(u),y=+n.apply(this,arguments),E=Math.min(Ml,Math.max(-Ml,s.apply(this,arguments)-y)),_,S=Math.min(Math.abs(E)/u,i.apply(this,arguments)),v=S*(E<0?-1:1),A;for(l=0;l0&&(d+=A);for(e!=null?g.sort(function(k,x){return e(m[k],m[x])}):r!=null&&g.sort(function(k,x){return r(a[k],a[x])}),l=0,f=d?(E-u*v)/d:0;l0?A*f:0)+v,m[c]={data:a[c],index:l,value:A,startAngle:y,endAngle:_,padAngle:S};return m}return o.value=function(a){return arguments.length?(t=typeof a=="function"?a:Fe(+a),o):t},o.sortValues=function(a){return arguments.length?(e=a,r=null,o):e},o.sort=function(a){return arguments.length?(r=a,e=null,o):r},o.startAngle=function(a){return arguments.length?(n=typeof a=="function"?a:Fe(+a),o):n},o.endAngle=function(a){return arguments.length?(s=typeof a=="function"?a:Fe(+a),o):s},o.padAngle=function(a){return arguments.length?(i=typeof a=="function"?a:Fe(+a),o):i},o}function Qb(t,e){if((o=t.length)>1)for(var r=1,n,s,i=t[e[0]],o,a=i.length;r=0;)r[e]=e;return r}function EB(t,e){return t[e]}function SB(t){const e=[];return e.key=t,e}function f4(){var t=Fe([]),e=Jb,r=Qb,n=EB;function s(i){var o=Array.from(t.apply(this,arguments),SB),a,l=o.length,u=-1,c;for(const f of i)for(a=0,++u;a()=>t;function TB(t,{sourceEvent:e,target:r,transform:n,dispatch:s}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},transform:{value:n,enumerable:!0,configurable:!0},_:{value:s}})}function dn(t,e,r){this.k=t,this.x=e,this.y=r}dn.prototype={constructor:dn,scale:function(t){return t===1?this:new dn(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new dn(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var U1=new dn(1,0,0);dn.prototype;function df(t){t.stopImmediatePropagation()}function xo(t){t.preventDefault(),t.stopImmediatePropagation()}function xB(t){return(!t.ctrlKey||t.type==="wheel")&&!t.button}function AB(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t,t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]):[[0,0],[t.clientWidth,t.clientHeight]]}function Zb(){return this.__zoom||U1}function CB(t){return-t.deltaY*(t.deltaMode===1?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function IB(){return navigator.maxTouchPoints||"ontouchstart"in this}function MB(t,e,r){var n=t.invertX(e[0][0])-r[0][0],s=t.invertX(e[1][0])-r[1][0],i=t.invertY(e[0][1])-r[0][1],o=t.invertY(e[1][1])-r[1][1];return t.translate(s>n?(n+s)/2:Math.min(0,n)||Math.max(0,s),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}function d4(){var t=xB,e=AB,r=MB,n=CB,s=IB,i=[0,1/0],o=[[-1/0,-1/0],[1/0,1/0]],a=250,l=dN,u=rg("start","zoom","end"),c,f,d,g=500,m=150,y=0,E=10;function _(L){L.property("__zoom",Zb).on("wheel.zoom",N,{passive:!1}).on("mousedown.zoom",B).on("dblclick.zoom",q).filter(s).on("touchstart.zoom",K).on("touchmove.zoom",C).on("touchend.zoom touchcancel.zoom",M).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}_.transform=function(L,H,G,z){var F=L.selection?L.selection():L;F.property("__zoom",Zb),L!==F?k(L,H,G,z):F.interrupt().each(function(){x(this,arguments).event(z).start().zoom(null,typeof H=="function"?H.apply(this,arguments):H).end()})},_.scaleBy=function(L,H,G,z){_.scaleTo(L,function(){var F=this.__zoom.k,ne=typeof H=="function"?H.apply(this,arguments):H;return F*ne},G,z)},_.scaleTo=function(L,H,G,z){_.transform(L,function(){var F=e.apply(this,arguments),ne=this.__zoom,ce=G==null?A(F):typeof G=="function"?G.apply(this,arguments):G,re=ne.invert(ce),R=typeof H=="function"?H.apply(this,arguments):H;return r(v(S(ne,R),ce,re),F,o)},G,z)},_.translateBy=function(L,H,G,z){_.transform(L,function(){return r(this.__zoom.translate(typeof H=="function"?H.apply(this,arguments):H,typeof G=="function"?G.apply(this,arguments):G),e.apply(this,arguments),o)},null,z)},_.translateTo=function(L,H,G,z,F){_.transform(L,function(){var ne=e.apply(this,arguments),ce=this.__zoom,re=z==null?A(ne):typeof z=="function"?z.apply(this,arguments):z;return r(U1.translate(re[0],re[1]).scale(ce.k).translate(typeof H=="function"?-H.apply(this,arguments):-H,typeof G=="function"?-G.apply(this,arguments):-G),ne,o)},z,F)};function S(L,H){return H=Math.max(i[0],Math.min(i[1],H)),H===L.k?L:new dn(H,L.x,L.y)}function v(L,H,G){var z=H[0]-G[0]*L.k,F=H[1]-G[1]*L.k;return z===L.x&&F===L.y?L:new dn(L.k,z,F)}function A(L){return[(+L[0][0]+ +L[1][0])/2,(+L[0][1]+ +L[1][1])/2]}function k(L,H,G,z){L.on("start.zoom",function(){x(this,arguments).event(z).start()}).on("interrupt.zoom end.zoom",function(){x(this,arguments).event(z).end()}).tween("zoom",function(){var F=this,ne=arguments,ce=x(F,ne).event(z),re=e.apply(F,ne),R=G==null?A(re):typeof G=="function"?G.apply(F,ne):G,Q=Math.max(re[1][0]-re[0][0],re[1][1]-re[0][1]),de=F.__zoom,ge=typeof H=="function"?H.apply(F,ne):H,pe=l(de.invert(R).concat(Q/de.k),ge.invert(R).concat(Q/ge.k));return function(X){if(X===1)X=ge;else{var Y=pe(X),ie=Q/Y[2];X=new dn(ie,R[0]-Y[0]*ie,R[1]-Y[1]*ie)}ce.zoom(null,X)}})}function x(L,H,G){return!G&&L.__zooming||new D(L,H)}function D(L,H){this.that=L,this.args=H,this.active=0,this.sourceEvent=null,this.extent=e.apply(L,H),this.taps=0}D.prototype={event:function(L){return L&&(this.sourceEvent=L),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(L,H){return this.mouse&&L!=="mouse"&&(this.mouse[1]=H.invert(this.mouse[0])),this.touch0&&L!=="touch"&&(this.touch0[1]=H.invert(this.touch0[0])),this.touch1&&L!=="touch"&&(this.touch1[1]=H.invert(this.touch1[0])),this.that.__zoom=H,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(L){var H=Ii(this.that).datum();u.call(L,this.that,new TB(L,{sourceEvent:this.sourceEvent,target:_,type:L,transform:this.that.__zoom,dispatch:u}),H)}};function N(L,...H){if(!t.apply(this,arguments))return;var G=x(this,H).event(L),z=this.__zoom,F=Math.max(i[0],Math.min(i[1],z.k*Math.pow(2,n.apply(this,arguments)))),ne=_i(L);if(G.wheel)(G.mouse[0][0]!==ne[0]||G.mouse[0][1]!==ne[1])&&(G.mouse[1]=z.invert(G.mouse[0]=ne)),clearTimeout(G.wheel);else{if(z.k===F)return;G.mouse=[ne,z.invert(ne)],Il(this),G.start()}xo(L),G.wheel=setTimeout(ce,m),G.zoom("mouse",r(v(S(z,F),G.mouse[0],G.mouse[1]),G.extent,o));function ce(){G.wheel=null,G.end()}}function B(L,...H){if(d||!t.apply(this,arguments))return;var G=L.currentTarget,z=x(this,H,!0).event(L),F=Ii(L.view).on("mousemove.zoom",R,!0).on("mouseup.zoom",Q,!0),ne=_i(L,G),ce=L.clientX,re=L.clientY;LL(L.view),df(L),z.mouse=[ne,this.__zoom.invert(ne)],Il(this),z.start();function R(de){if(xo(de),!z.moved){var ge=de.clientX-ce,pe=de.clientY-re;z.moved=ge*ge+pe*pe>y}z.event(de).zoom("mouse",r(v(z.that.__zoom,z.mouse[0]=_i(de,G),z.mouse[1]),z.extent,o))}function Q(de){F.on("mousemove.zoom mouseup.zoom",null),NL(de.view,z.moved),xo(de),z.event(de).end()}}function q(L,...H){if(t.apply(this,arguments)){var G=this.__zoom,z=_i(L.changedTouches?L.changedTouches[0]:L,this),F=G.invert(z),ne=G.k*(L.shiftKey?.5:2),ce=r(v(S(G,ne),z,F),e.apply(this,H),o);xo(L),a>0?Ii(this).transition().duration(a).call(k,ce,z,L):Ii(this).call(_.transform,ce,z,L)}}function K(L,...H){if(t.apply(this,arguments)){var G=L.touches,z=G.length,F=x(this,H,L.changedTouches.length===z).event(L),ne,ce,re,R;for(df(L),ce=0;ce{typeof t[r]>"u"?t[r]=e[r]:ey(e[r])&&ey(t[r])&&Object.keys(e[r]).length>0&&_g(t[r],e[r])})}const j1={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function _t(){const t=typeof document<"u"?document:{};return _g(t,j1),t}const OB={document:j1,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function ot(){const t=typeof window<"u"?window:{};return _g(t,OB),t}function zn(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function RB(t){const e=t;Object.keys(e).forEach(r=>{try{e[r]=null}catch{}try{delete e[r]}catch{}})}function Xi(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function ar(){return Date.now()}function PB(t){const e=ot();let r;return e.getComputedStyle&&(r=e.getComputedStyle(t,null)),!r&&t.currentStyle&&(r=t.currentStyle),r||(r=t.style),r}function Yh(t,e){e===void 0&&(e="x");const r=ot();let n,s,i;const o=PB(t);return r.WebKitCSSMatrix?(s=o.transform||o.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(a=>a.replace(",",".")).join(", ")),i=new r.WebKitCSSMatrix(s==="none"?"":s)):(i=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=i.toString().split(",")),e==="x"&&(r.WebKitCSSMatrix?s=i.m41:n.length===16?s=parseFloat(n[12]):s=parseFloat(n[4])),e==="y"&&(r.WebKitCSSMatrix?s=i.m42:n.length===16?s=parseFloat(n[13]):s=parseFloat(n[5])),s||0}function Do(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function kB(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Xt(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let r=1;re.indexOf(i)<0);for(let i=0,o=s.length;ii?"next":"prev",c=(d,g)=>u==="next"&&d>=g||u==="prev"&&d<=g,f=()=>{a=new Date().getTime(),o===null&&(o=a);const d=Math.max(Math.min((a-o)/l,1),0),g=.5-Math.cos(d*Math.PI)/2;let m=i+g*(r-i);if(c(m,r)&&(m=r),e.wrapperEl.scrollTo({[n]:m}),c(m,r)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:m})}),s.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=s.requestAnimationFrame(f)};f()}function cs(t){return t.querySelector(".swiper-slide-transform")||t.shadowRoot&&t.shadowRoot.querySelector(".swiper-slide-transform")||t}function vt(t,e){return e===void 0&&(e=""),[...t.children].filter(r=>r.matches(e))}function uu(t){try{console.warn(t);return}catch{}}function Jt(t,e){e===void 0&&(e=[]);const r=document.createElement(t);return r.classList.add(...Array.isArray(e)?e:zn(e)),r}function cu(t){const e=ot(),r=_t(),n=t.getBoundingClientRect(),s=r.body,i=t.clientTop||s.clientTop||0,o=t.clientLeft||s.clientLeft||0,a=t===e?e.scrollY:t.scrollTop,l=t===e?e.scrollX:t.scrollLeft;return{top:n.top+a-i,left:n.left+l-o}}function LB(t,e){const r=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&r.push(n):r.push(n),t=n}return r}function NB(t,e){const r=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&r.push(n):r.push(n),t=n}return r}function Kn(t,e){return ot().getComputedStyle(t,null).getPropertyValue(e)}function la(t){let e=t,r;if(e){for(r=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(r+=1);return r}}function Hi(t,e){const r=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&r.push(n):r.push(n),n=n.parentElement;return r}function Go(t,e){function r(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",r))}e&&t.addEventListener("transitionend",r)}function Gh(t,e,r){const n=ot();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function $e(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}let hf;function DB(){const t=ot(),e=_t();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function z1(){return hf||(hf=DB()),hf}let pf;function BB(t){let{userAgent:e}=t===void 0?{}:t;const r=z1(),n=ot(),s=n.navigator.platform,i=e||n.navigator.userAgent,o={ios:!1,android:!1},a=n.screen.width,l=n.screen.height,u=i.match(/(Android);?[\s\/]+([\d.]+)?/);let c=i.match(/(iPad).*OS\s([\d_]+)/);const f=i.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g=s==="Win32";let m=s==="MacIntel";const y=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&m&&r.touch&&y.indexOf(`${a}x${l}`)>=0&&(c=i.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),m=!1),u&&!g&&(o.os="android",o.android=!0),(c||d||f)&&(o.os="ios",o.ios=!0),o}function H1(t){return t===void 0&&(t={}),pf||(pf=BB(t)),pf}let gf;function $B(){const t=ot(),e=H1();let r=!1;function n(){const a=t.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(n()){const a=String(t.navigator.userAgent);if(a.includes("Version/")){const[l,u]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));r=l<16||l===16&&u<2}}const s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),i=n(),o=i||s&&e.ios;return{isSafari:r||i,needPerspectiveFix:r,need3dFix:o,isWebView:s}}function FB(){return gf||(gf=$B()),gf}function UB(t){let{swiper:e,on:r,emit:n}=t;const s=ot();let i=null,o=null;const a=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(i=new ResizeObserver(f=>{o=s.requestAnimationFrame(()=>{const{width:d,height:g}=e;let m=d,y=g;f.forEach(E=>{let{contentBoxSize:_,contentRect:S,target:v}=E;v&&v!==e.el||(m=S?S.width:(_[0]||_).inlineSize,y=S?S.height:(_[0]||_).blockSize)}),(m!==d||y!==g)&&a()})}),i.observe(e.el))},u=()=>{o&&s.cancelAnimationFrame(o),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};r("init",()=>{if(e.params.resizeObserver&&typeof s.ResizeObserver<"u"){l();return}s.addEventListener("resize",a),s.addEventListener("orientationchange",c)}),r("destroy",()=>{u(),s.removeEventListener("resize",a),s.removeEventListener("orientationchange",c)})}function jB(t){let{swiper:e,extendParams:r,on:n,emit:s}=t;const i=[],o=ot(),a=function(c,f){f===void 0&&(f={});const d=o.MutationObserver||o.WebkitMutationObserver,g=new d(m=>{if(e.__preventObserver__)return;if(m.length===1){s("observerUpdate",m[0]);return}const y=function(){s("observerUpdate",m[0])};o.requestAnimationFrame?o.requestAnimationFrame(y):o.setTimeout(y,0)});g.observe(c,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:typeof f.childList>"u"?!0:f.childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),i.push(g)},l=()=>{if(e.params.observer){if(e.params.observeParents){const c=Hi(e.hostEl);for(let f=0;f{i.forEach(c=>{c.disconnect()}),i.splice(0,i.length)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",l),n("destroy",u)}var WB={on(t,e,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const s=r?"unshift":"push";return t.split(" ").forEach(i=>{n.eventsListeners[i]||(n.eventsListeners[i]=[]),n.eventsListeners[i][s](e)}),n},once(t,e,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function s(){n.off(t,s),s.__emitterProxy&&delete s.__emitterProxy;for(var i=arguments.length,o=new Array(i),a=0;a=0&&e.eventsAnyListeners.splice(r,1),e},off(t,e){const r=this;return!r.eventsListeners||r.destroyed||!r.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?r.eventsListeners[n]=[]:r.eventsListeners[n]&&r.eventsListeners[n].forEach((s,i)=>{(s===e||s.__emitterProxy&&s.__emitterProxy===e)&&r.eventsListeners[n].splice(i,1)})}),r},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,r,n;for(var s=arguments.length,i=new Array(s),o=0;o{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[l,...r])}),t.eventsListeners&&t.eventsListeners[l]&&t.eventsListeners[l].forEach(u=>{u.apply(n,r)})}),t}};function zB(){const t=this;let e,r;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?r=t.params.height:r=n.clientHeight,!(e===0&&t.isHorizontal()||r===0&&t.isVertical())&&(e=e-parseInt(Kn(n,"padding-left")||0,10)-parseInt(Kn(n,"padding-right")||0,10),r=r-parseInt(Kn(n,"padding-top")||0,10)-parseInt(Kn(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(r)&&(r=0),Object.assign(t,{width:e,height:r,size:t.isHorizontal()?e:r}))}function HB(){const t=this;function e(q,K){return parseFloat(q.getPropertyValue(t.getDirectionLabel(K))||0)}const r=t.params,{wrapperEl:n,slidesEl:s,size:i,rtlTranslate:o,wrongRTL:a}=t,l=t.virtual&&r.virtual.enabled,u=l?t.virtual.slides.length:t.slides.length,c=vt(s,`.${t.params.slideClass}, swiper-slide`),f=l?t.virtual.slides.length:c.length;let d=[];const g=[],m=[];let y=r.slidesOffsetBefore;typeof y=="function"&&(y=r.slidesOffsetBefore.call(t));let E=r.slidesOffsetAfter;typeof E=="function"&&(E=r.slidesOffsetAfter.call(t));const _=t.snapGrid.length,S=t.slidesGrid.length;let v=r.spaceBetween,A=-y,k=0,x=0;if(typeof i>"u")return;typeof v=="string"&&v.indexOf("%")>=0?v=parseFloat(v.replace("%",""))/100*i:typeof v=="string"&&(v=parseFloat(v)),t.virtualSize=-v,c.forEach(q=>{o?q.style.marginLeft="":q.style.marginRight="",q.style.marginBottom="",q.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(Bo(n,"--swiper-centered-offset-before",""),Bo(n,"--swiper-centered-offset-after",""));const D=r.grid&&r.grid.rows>1&&t.grid;D?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let N;const B=r.slidesPerView==="auto"&&r.breakpoints&&Object.keys(r.breakpoints).filter(q=>typeof r.breakpoints[q].slidesPerView<"u").length>0;for(let q=0;q1&&d.push(t.virtualSize-i)}if(l&&r.loop){const q=m[0]+v;if(r.slidesPerGroup>1){const K=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/r.slidesPerGroup),C=q*r.slidesPerGroup;for(let M=0;M!r.cssMode||r.loop?!0:C!==c.length-1).forEach(K=>{K.style[q]=`${v}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let q=0;m.forEach(C=>{q+=C+(v||0)}),q-=v;const K=q-i;d=d.map(C=>C<=0?-y:C>K?K+E:C)}if(r.centerInsufficientSlides){let q=0;m.forEach(C=>{q+=C+(v||0)}),q-=v;const K=(r.slidesOffsetBefore||0)+(r.slidesOffsetAfter||0);if(q+K{d[L]=M-C}),g.forEach((M,L)=>{g[L]=M+C})}}if(Object.assign(t,{slides:c,snapGrid:d,slidesGrid:g,slidesSizesGrid:m}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){Bo(n,"--swiper-centered-offset-before",`${-d[0]}px`),Bo(n,"--swiper-centered-offset-after",`${t.size/2-m[m.length-1]/2}px`);const q=-t.snapGrid[0],K=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(C=>C+q),t.slidesGrid=t.slidesGrid.map(C=>C+K)}if(f!==u&&t.emit("slidesLengthChange"),d.length!==_&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),g.length!==S&&t.emit("slidesGridLengthChange"),r.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!l&&!r.cssMode&&(r.effect==="slide"||r.effect==="fade")){const q=`${r.containerModifierClass}backface-hidden`,K=t.el.classList.contains(q);f<=r.maxBackfaceHiddenSlides?K||t.el.classList.add(q):K&&t.el.classList.remove(q)}}function VB(t){const e=this,r=[],n=e.virtual&&e.params.virtual.enabled;let s=0,i;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const o=a=>n?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{r.push(a)});else for(i=0;ie.slides.length&&!n)break;r.push(o(a))}else r.push(o(e.activeIndex));for(i=0;is?a:s}(s||s===0)&&(e.wrapperEl.style.height=`${s}px`)}function qB(){const t=this,e=t.slides,r=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n{e&&!t.classList.contains(r)?t.classList.add(r):!e&&t.classList.contains(r)&&t.classList.remove(r)};function YB(t){t===void 0&&(t=this&&this.translate||0);const e=this,r=e.params,{slides:n,rtlTranslate:s,snapGrid:i}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let o=-t;s&&(o=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=r.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l=0&&g<=e.size-e.slidesSizesGrid[l],E=g>=0&&g1&&m<=e.size||g<=0&&m>=e.size;E&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(l)),ty(u,E,r.slideVisibleClass),ty(u,y,r.slideFullyVisibleClass),u.progress=s?-f:f,u.originalProgress=s?-d:d}}function GB(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const r=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:s,isBeginning:i,isEnd:o,progressLoop:a}=e;const l=i,u=o;if(n===0)s=0,i=!0,o=!0;else{s=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,f=Math.abs(t-e.maxTranslate())<1;i=c||s<=0,o=f||s>=1,c&&(s=0),f&&(s=1)}if(r.loop){const c=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),d=e.slidesGrid[c],g=e.slidesGrid[f],m=e.slidesGrid[e.slidesGrid.length-1],y=Math.abs(t);y>=d?a=(y-d)/m:a=(y+m-g)/m,a>1&&(a-=1)}Object.assign(e,{progress:s,progressLoop:a,isBeginning:i,isEnd:o}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&e.updateSlidesProgress(t),i&&!l&&e.emit("reachBeginning toEdge"),o&&!u&&e.emit("reachEnd toEdge"),(l&&!i||u&&!o)&&e.emit("fromEdge"),e.emit("progress",s)}const mf=(t,e,r)=>{e&&!t.classList.contains(r)?t.classList.add(r):!e&&t.classList.contains(r)&&t.classList.remove(r)};function KB(){const t=this,{slides:e,params:r,slidesEl:n,activeIndex:s}=t,i=t.virtual&&r.virtual.enabled,o=t.grid&&r.grid&&r.grid.rows>1,a=f=>vt(n,`.${r.slideClass}${f}, swiper-slide${f}`)[0];let l,u,c;if(i)if(r.loop){let f=s-t.virtual.slidesBefore;f<0&&(f=t.virtual.slides.length+f),f>=t.virtual.slides.length&&(f-=t.virtual.slides.length),l=a(`[data-swiper-slide-index="${f}"]`)}else l=a(`[data-swiper-slide-index="${s}"]`);else o?(l=e.filter(f=>f.column===s)[0],c=e.filter(f=>f.column===s+1)[0],u=e.filter(f=>f.column===s-1)[0]):l=e[s];l&&(o||(c=NB(l,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!c&&(c=e[0]),u=LB(l,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(f=>{mf(f,f===l,r.slideActiveClass),mf(f,f===c,r.slideNextClass),mf(f,f===u,r.slidePrevClass)}),t.emitSlidesClasses()}const Ol=(t,e)=>{if(!t||t.destroyed||!t.params)return;const r=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(r());if(n){let s=n.querySelector(`.${t.params.lazyPreloaderClass}`);!s&&t.isElement&&(n.shadowRoot?s=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(s=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),s&&s.remove())})),s&&s.remove()}},bf=(t,e)=>{if(!t.slides[e])return;const r=t.slides[e].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},Kh=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const r=t.slides.length;if(!r||!e||e<0)return;e=Math.min(e,r);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),s=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const o=s,a=[o-e];a.push(...Array.from({length:e}).map((l,u)=>o+n+u)),t.slides.forEach((l,u)=>{a.includes(l.column)&&bf(t,u)});return}const i=s+n-1;if(t.params.rewind||t.params.loop)for(let o=s-e;o<=i+e;o+=1){const a=(o%r+r)%r;(ai)&&bf(t,a)}else for(let o=Math.max(s-e,0);o<=Math.min(i+e,r-1);o+=1)o!==s&&(o>i||o=e[i]&&n=e[i]&&n=e[i]&&(s=i);return r.normalizeSlideIndex&&(s<0||typeof s>"u")&&(s=0),s}function QB(t){const e=this,r=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:s,activeIndex:i,realIndex:o,snapIndex:a}=e;let l=t,u;const c=g=>{let m=g-e.virtual.slidesBefore;return m<0&&(m=e.virtual.slides.length+m),m>=e.virtual.slides.length&&(m-=e.virtual.slides.length),m};if(typeof l>"u"&&(l=XB(e)),n.indexOf(r)>=0)u=n.indexOf(r);else{const g=Math.min(s.slidesPerGroupSkip,l);u=g+Math.floor((l-g)/s.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),l===i&&!e.params.loop){u!==a&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(l===i&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(l);return}const f=e.grid&&s.grid&&s.grid.rows>1;let d;if(e.virtual&&s.virtual.enabled&&s.loop)d=c(l);else if(f){const g=e.slides.filter(y=>y.column===l)[0];let m=parseInt(g.getAttribute("data-swiper-slide-index"),10);Number.isNaN(m)&&(m=Math.max(e.slides.indexOf(g),0)),d=Math.floor(m/s.grid.rows)}else if(e.slides[l]){const g=e.slides[l].getAttribute("data-swiper-slide-index");g?d=parseInt(g,10):d=l}else d=l;Object.assign(e,{previousSnapIndex:a,snapIndex:u,previousRealIndex:o,realIndex:d,previousIndex:i,activeIndex:l}),e.initialized&&Kh(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==d&&e.emit("realIndexChange"),e.emit("slideChange"))}function JB(t,e){const r=this,n=r.params;let s=t.closest(`.${n.slideClass}, swiper-slide`);!s&&r.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(a=>{!s&&a.matches&&a.matches(`.${n.slideClass}, swiper-slide`)&&(s=a)});let i=!1,o;if(s){for(let a=0;al?c=l:n&&to?a="next":i"u"&&(e=i.params.speed);const y=Math.min(i.params.slidesPerGroupSkip,o);let E=y+Math.floor((o-y)/i.params.slidesPerGroup);E>=l.length&&(E=l.length-1);const _=-l[E];if(a.normalizeSlideIndex)for(let v=0;v=k&&A=k&&A=k&&(o=v)}if(i.initialized&&o!==f&&(!i.allowSlideNext&&(d?_>i.translate&&_>i.minTranslate():_i.translate&&_>i.maxTranslate()&&(f||0)!==o))return!1;o!==(c||0)&&r&&i.emit("beforeSlideChangeStart"),i.updateProgress(_);let S;if(o>f?S="next":o0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{g[v?"scrollLeft":"scrollTop"]=A})):g[v?"scrollLeft":"scrollTop"]=A,k&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1})}else{if(!i.support.smoothScroll)return W1({swiper:i,targetPosition:A,side:v?"left":"top"}),!0;g.scrollTo({[v?"left":"top"]:A,behavior:"smooth"})}return!0}return i.setTransition(e),i.setTranslate(_),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",e,n),i.transitionStart(r,S),e===0?i.transitionEnd(r,S):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(A){!i||i.destroyed||A.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(r,S))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0}function f$(t,e,r,n){t===void 0&&(t=0),r===void 0&&(r=!0),typeof t=="string"&&(t=parseInt(t,10));const s=this;if(s.destroyed)return;typeof e>"u"&&(e=s.params.speed);const i=s.grid&&s.params.grid&&s.params.grid.rows>1;let o=t;if(s.params.loop)if(s.virtual&&s.params.virtual.enabled)o=o+s.virtual.slidesBefore;else{let a;if(i){const d=o*s.params.grid.rows;a=s.slides.filter(g=>g.getAttribute("data-swiper-slide-index")*1===d)[0].column}else a=s.getSlideIndexByData(o);const l=i?Math.ceil(s.slides.length/s.params.grid.rows):s.slides.length,{centeredSlides:u}=s.params;let c=s.params.slidesPerView;c==="auto"?c=s.slidesPerViewDynamic():(c=Math.ceil(parseFloat(s.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let f=l-ag.getAttribute("data-swiper-slide-index")*1===d)[0].column}else o=s.getSlideIndexByData(o)}return requestAnimationFrame(()=>{s.slideTo(o,e,r,n)}),s}function d$(t,e,r){e===void 0&&(e=!0);const n=this,{enabled:s,params:i,animating:o}=n;if(!s||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let a=i.slidesPerGroup;i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex{n.slideTo(n.activeIndex+l,t,e,r)}),!0}return i.rewind&&n.isEnd?n.slideTo(0,t,e,r):n.slideTo(n.activeIndex+l,t,e,r)}function h$(t,e,r){e===void 0&&(e=!0);const n=this,{params:s,snapGrid:i,slidesGrid:o,rtlTranslate:a,enabled:l,animating:u}=n;if(!l||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const c=n.virtual&&s.virtual.enabled;if(s.loop){if(u&&!c&&s.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const f=a?n.translate:-n.translate;function d(_){return _<0?-Math.floor(Math.abs(_)):Math.floor(_)}const g=d(f),m=i.map(_=>d(_));let y=i[m.indexOf(g)-1];if(typeof y>"u"&&s.cssMode){let _;i.forEach((S,v)=>{g>=S&&(_=v)}),typeof _<"u"&&(y=i[_>0?_-1:_])}let E=0;if(typeof y<"u"&&(E=o.indexOf(y),E<0&&(E=n.activeIndex-1),s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(E=E-n.slidesPerViewDynamic("previous",!0)+1,E=Math.max(E,0))),s.rewind&&n.isBeginning){const _=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(_,t,e,r)}else if(s.loop&&n.activeIndex===0&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(E,t,e,r)}),!0;return n.slideTo(E,t,e,r)}function p$(t,e,r){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,r)}function g$(t,e,r,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const s=this;if(s.destroyed)return;typeof t>"u"&&(t=s.params.speed);let i=s.activeIndex;const o=Math.min(s.params.slidesPerGroupSkip,i),a=o+Math.floor((i-o)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;if(l>=s.snapGrid[a]){const u=s.snapGrid[a],c=s.snapGrid[a+1];l-u>(c-u)*n&&(i+=s.params.slidesPerGroup)}else{const u=s.snapGrid[a-1],c=s.snapGrid[a];l-u<=(c-u)*n&&(i-=s.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,s.slidesGrid.length-1),s.slideTo(i,t,e,r)}function m$(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:r}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let s=t.clickedIndex,i;const o=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;i=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?st.slides.length-t.loopedSlides+n/2?(t.loopFix(),s=t.getSlideIndex(vt(r,`${o}[data-swiper-slide-index="${i}"]`)[0]),Xi(()=>{t.slideTo(s)})):t.slideTo(s):s>t.slides.length-n?(t.loopFix(),s=t.getSlideIndex(vt(r,`${o}[data-swiper-slide-index="${i}"]`)[0]),Xi(()=>{t.slideTo(s)})):t.slideTo(s)}else t.slideTo(s)}var b$={slideTo:c$,slideToLoop:f$,slideNext:d$,slidePrev:h$,slideReset:p$,slideToClosest:g$,slideToClickedSlide:m$};function y$(t){const e=this,{params:r,slidesEl:n}=e;if(!r.loop||e.virtual&&e.params.virtual.enabled)return;const s=()=>{vt(n,`.${r.slideClass}, swiper-slide`).forEach((f,d)=>{f.setAttribute("data-swiper-slide-index",d)})},i=e.grid&&r.grid&&r.grid.rows>1,o=r.slidesPerGroup*(i?r.grid.rows:1),a=e.slides.length%o!==0,l=i&&e.slides.length%r.grid.rows!==0,u=c=>{for(let f=0;f1;u.length"u"?i=l.getSlideIndex(u.filter(M=>M.classList.contains(g.slideActiveClass))[0]):k=i;const x=n==="next"||!n,D=n==="prev"||!n;let N=0,B=0;const q=S?Math.ceil(u.length/g.grid.rows):u.length,C=(S?u[i].column:i)+(m&&typeof s>"u"?-y/2+.5:0);if(C<_){N=Math.max(_-C,E);for(let M=0;M<_-C;M+=1){const L=M-Math.floor(M/q)*q;if(S){const H=q-L-1;for(let G=u.length-1;G>=0;G-=1)u[G].column===H&&v.push(G)}else v.push(q-L-1)}}else if(C+y>q-_){B=Math.max(C-(q-_*2),E);for(let M=0;M{H.column===L&&A.push(G)}):A.push(L)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),D&&v.forEach(M=>{u[M].swiperLoopMoveDOM=!0,d.prepend(u[M]),u[M].swiperLoopMoveDOM=!1}),x&&A.forEach(M=>{u[M].swiperLoopMoveDOM=!0,d.append(u[M]),u[M].swiperLoopMoveDOM=!1}),l.recalcSlides(),g.slidesPerView==="auto"?l.updateSlides():S&&(v.length>0&&D||A.length>0&&x)&&l.slides.forEach((M,L)=>{l.grid.updateSlide(L,M,l.slides)}),g.watchSlidesProgress&&l.updateSlidesOffset(),r){if(v.length>0&&D){if(typeof e>"u"){const M=l.slidesGrid[k],H=l.slidesGrid[k+N]-M;a?l.setTranslate(l.translate-H):(l.slideTo(k+Math.ceil(N),0,!1,!0),s&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-H,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-H))}else if(s){const M=S?v.length/g.grid.rows:v.length;l.slideTo(l.activeIndex+M,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(A.length>0&&x)if(typeof e>"u"){const M=l.slidesGrid[k],H=l.slidesGrid[k-B]-M;a?l.setTranslate(l.translate-H):(l.slideTo(k-B,0,!1,!0),s&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-H,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-H))}else{const M=S?A.length/g.grid.rows:A.length;l.slideTo(l.activeIndex-M,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=f,l.controller&&l.controller.control&&!o){const M={slideRealIndex:e,direction:n,setTranslate:s,activeSlideIndex:i,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(L=>{!L.destroyed&&L.params.loop&&L.loopFix({...M,slideTo:L.params.slidesPerView===g.slidesPerView?r:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...M,slideTo:l.controller.control.params.slidesPerView===g.slidesPerView?r:!1})}l.emit("loopFix")}function v$(){const t=this,{params:e,slidesEl:r}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(s=>{const i=typeof s.swiperSlideIndex>"u"?s.getAttribute("data-swiper-slide-index")*1:s.swiperSlideIndex;n[i]=s}),t.slides.forEach(s=>{s.removeAttribute("data-swiper-slide-index")}),n.forEach(s=>{r.append(s)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var _$={loopCreate:y$,loopFix:w$,loopDestroy:v$};function E$(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const r=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function S$(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var T$={setGrabCursor:E$,unsetGrabCursor:S$};function x$(t,e){e===void 0&&(e=this);function r(n){if(!n||n===_t()||n===ot())return null;n.assignedSlot&&(n=n.assignedSlot);const s=n.closest(t);return!s&&!n.getRootNode?null:s||r(n.getRootNode().host)}return r(e)}function ry(t,e,r){const n=ot(),{params:s}=t,i=s.edgeSwipeDetection,o=s.edgeSwipeThreshold;return i&&(r<=o||r>=n.innerWidth-o)?i==="prevent"?(e.preventDefault(),!0):!1:!0}function A$(t){const e=this,r=_t();let n=t;n.originalEvent&&(n=n.originalEvent);const s=e.touchEventsData;if(n.type==="pointerdown"){if(s.pointerId!==null&&s.pointerId!==n.pointerId)return;s.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(s.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){ry(e,n,n.targetTouches[0].pageX);return}const{params:i,touches:o,enabled:a}=e;if(!a||!i.simulateTouch&&n.pointerType==="mouse"||e.animating&&i.preventInteractionOnTransition)return;!e.animating&&i.cssMode&&i.loop&&e.loopFix();let l=n.target;if(i.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(l)||"which"in n&&n.which===3||"button"in n&&n.button>0||s.isTouched&&s.isMoved)return;const u=!!i.noSwipingClass&&i.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&c&&(l=c[0]);const f=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,d=!!(n.target&&n.target.shadowRoot);if(i.noSwiping&&(d?x$(f,l):l.closest(f))){e.allowClick=!0;return}if(i.swipeHandler&&!l.closest(i.swipeHandler))return;o.currentX=n.pageX,o.currentY=n.pageY;const g=o.currentX,m=o.currentY;if(!ry(e,n,g))return;Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=g,o.startY=m,s.touchStartTime=ar(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,i.threshold>0&&(s.allowThresholdMove=!1);let y=!0;l.matches(s.focusableElements)&&(y=!1,l.nodeName==="SELECT"&&(s.isTouched=!1)),r.activeElement&&r.activeElement.matches(s.focusableElements)&&r.activeElement!==l&&r.activeElement.blur();const E=y&&e.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||E)&&!l.isContentEditable&&n.preventDefault(),i.freeMode&&i.freeMode.enabled&&e.freeMode&&e.animating&&!i.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function C$(t){const e=_t(),r=this,n=r.touchEventsData,{params:s,touches:i,rtlTranslate:o,enabled:a}=r;if(!a||!s.simulateTouch&&t.pointerType==="mouse")return;let l=t;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(n.touchId!==null||l.pointerId!==n.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].filter(x=>x.identifier===n.touchId)[0],!u||u.identifier!==n.touchId)return}else u=l;if(!n.isTouched){n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",l);return}const c=u.pageX,f=u.pageY;if(l.preventedByNestedSwiper){i.startX=c,i.startY=f;return}if(!r.allowTouchMove){l.target.matches(n.focusableElements)||(r.allowClick=!1),n.isTouched&&(Object.assign(i,{startX:c,startY:f,currentX:c,currentY:f}),n.touchStartTime=ar());return}if(s.touchReleaseOnEdges&&!s.loop){if(r.isVertical()){if(fi.startY&&r.translate>=r.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(ci.startX&&r.translate>=r.minTranslate())return}if(e.activeElement&&l.target===e.activeElement&&l.target.matches(n.focusableElements)){n.isMoved=!0,r.allowClick=!1;return}n.allowTouchCallbacks&&r.emit("touchMove",l),i.previousX=i.currentX,i.previousY=i.currentY,i.currentX=c,i.currentY=f;const d=i.currentX-i.startX,g=i.currentY-i.startY;if(r.params.threshold&&Math.sqrt(d**2+g**2)"u"){let x;r.isHorizontal()&&i.currentY===i.startY||r.isVertical()&&i.currentX===i.startX?n.isScrolling=!1:d*d+g*g>=25&&(x=Math.atan2(Math.abs(g),Math.abs(d))*180/Math.PI,n.isScrolling=r.isHorizontal()?x>s.touchAngle:90-x>s.touchAngle)}if(n.isScrolling&&r.emit("touchMoveOpposite",l),typeof n.startMoving>"u"&&(i.currentX!==i.startX||i.currentY!==i.startY)&&(n.startMoving=!0),n.isScrolling||l.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;r.allowClick=!1,!s.cssMode&&l.cancelable&&l.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&l.stopPropagation();let m=r.isHorizontal()?d:g,y=r.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;s.oneWayMovement&&(m=Math.abs(m)*(o?1:-1),y=Math.abs(y)*(o?1:-1)),i.diff=m,m*=s.touchRatio,o&&(m=-m,y=-y);const E=r.touchesDirection;r.swipeDirection=m>0?"prev":"next",r.touchesDirection=y>0?"prev":"next";const _=r.params.loop&&!s.cssMode,S=r.touchesDirection==="next"&&r.allowSlideNext||r.touchesDirection==="prev"&&r.allowSlidePrev;if(!n.isMoved){if(_&&S&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const x=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});r.wrapperEl.dispatchEvent(x)}n.allowMomentumBounce=!1,s.grabCursor&&(r.allowSlideNext===!0||r.allowSlidePrev===!0)&&r.setGrabCursor(!0),r.emit("sliderFirstMove",l)}let v;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&E!==r.touchesDirection&&_&&S&&Math.abs(m)>=1){Object.assign(i,{startX:c,startY:f,currentX:c,currentY:f,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}r.emit("sliderMove",l),n.isMoved=!0,n.currentTranslate=m+n.startTranslate;let A=!0,k=s.resistanceRatio;if(s.touchReleaseOnEdges&&(k=0),m>0?(_&&S&&!v&&n.allowThresholdMove&&n.currentTranslate>(s.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(A=!1,s.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+m)**k))):m<0&&(_&&S&&!v&&n.allowThresholdMove&&n.currentTranslate<(s.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-(s.slidesPerView==="auto"?r.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&!r.allowSlideNext&&(n.currentTranslate=n.startTranslate),s.threshold>0)if(Math.abs(m)>s.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,n.currentTranslate=n.startTranslate,i.diff=r.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY;return}}else{n.currentTranslate=n.startTranslate;return}!s.followFinger||s.cssMode||((s.freeMode&&s.freeMode.enabled&&r.freeMode||s.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}function I$(t){const e=this,r=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let s;if(n.type==="touchend"||n.type==="touchcancel"){if(s=[...n.changedTouches].filter(k=>k.identifier===r.touchId)[0],!s||s.identifier!==r.touchId)return}else{if(r.touchId!==null||n.pointerId!==r.pointerId)return;s=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;r.pointerId=null,r.touchId=null;const{params:o,touches:a,rtlTranslate:l,slidesGrid:u,enabled:c}=e;if(!c||!o.simulateTouch&&n.pointerType==="mouse")return;if(r.allowTouchCallbacks&&e.emit("touchEnd",n),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&o.grabCursor&&e.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}o.grabCursor&&r.isMoved&&r.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=ar(),d=f-r.touchStartTime;if(e.allowClick){const k=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(k&&k[0]||n.target,k),e.emit("tap click",n),d<300&&f-r.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(r.lastClickTime=ar(),Xi(()=>{e.destroyed||(e.allowClick=!0)}),!r.isTouched||!r.isMoved||!e.swipeDirection||a.diff===0&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset){r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;return}r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;let g;if(o.followFinger?g=l?e.translate:-e.translate:g=-r.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:g});return}const m=g>=-e.maxTranslate()&&!e.params.loop;let y=0,E=e.slidesSizesGrid[0];for(let k=0;k=u[k]&&g=u[k])&&(y=k,E=u[u.length-1]-u[u.length-2])}let _=null,S=null;o.rewind&&(e.isBeginning?S=o.virtual&&o.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(_=0));const v=(g-u[y])/E,A=yo.longSwipesMs){if(!o.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(v>=o.longSwipesRatio?e.slideTo(o.rewind&&e.isEnd?_:y+A):e.slideTo(y)),e.swipeDirection==="prev"&&(v>1-o.longSwipesRatio?e.slideTo(y+A):S!==null&&v<0&&Math.abs(v)>o.longSwipesRatio?e.slideTo(S):e.slideTo(y))}else{if(!o.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(y+A):e.slideTo(y):(e.swipeDirection==="next"&&e.slideTo(_!==null?_:y+A),e.swipeDirection==="prev"&&e.slideTo(S!==null?S:y))}}function ny(){const t=this,{params:e,el:r}=t;if(r&&r.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:s,snapGrid:i}=t,o=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const a=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!a?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!o?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=s,t.allowSlideNext=n,t.params.watchOverflow&&i!==t.snapGrid&&t.checkOverflow()}function M$(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function O$(){const t=this,{wrapperEl:e,rtlTranslate:r,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let s;const i=t.maxTranslate()-t.minTranslate();i===0?s=0:s=(t.translate-t.minTranslate())/i,s!==t.progress&&t.updateProgress(r?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function R$(t){const e=this;Ol(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function P$(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const q1=(t,e)=>{const r=_t(),{params:n,el:s,wrapperEl:i,device:o}=t,a=!!n.nested,l=e==="on"?"addEventListener":"removeEventListener",u=e;!s||typeof s=="string"||(r[l]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:a}),s[l]("touchstart",t.onTouchStart,{passive:!1}),s[l]("pointerdown",t.onTouchStart,{passive:!1}),r[l]("touchmove",t.onTouchMove,{passive:!1,capture:a}),r[l]("pointermove",t.onTouchMove,{passive:!1,capture:a}),r[l]("touchend",t.onTouchEnd,{passive:!0}),r[l]("pointerup",t.onTouchEnd,{passive:!0}),r[l]("pointercancel",t.onTouchEnd,{passive:!0}),r[l]("touchcancel",t.onTouchEnd,{passive:!0}),r[l]("pointerout",t.onTouchEnd,{passive:!0}),r[l]("pointerleave",t.onTouchEnd,{passive:!0}),r[l]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&s[l]("click",t.onClick,!0),n.cssMode&&i[l]("scroll",t.onScroll),n.updateOnWindowResize?t[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",ny,!0):t[u]("observerUpdate",ny,!0),s[l]("load",t.onLoad,{capture:!0}))};function k$(){const t=this,{params:e}=t;t.onTouchStart=A$.bind(t),t.onTouchMove=C$.bind(t),t.onTouchEnd=I$.bind(t),t.onDocumentTouchStart=P$.bind(t),e.cssMode&&(t.onScroll=O$.bind(t)),t.onClick=M$.bind(t),t.onLoad=R$.bind(t),q1(t,"on")}function L$(){q1(this,"off")}var N$={attachEvents:k$,detachEvents:L$};const iy=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function D$(){const t=this,{realIndex:e,initialized:r,params:n,el:s}=t,i=n.breakpoints;if(!i||i&&Object.keys(i).length===0)return;const o=t.getBreakpoint(i,t.params.breakpointsBase,t.el);if(!o||t.currentBreakpoint===o)return;const l=(o in i?i[o]:void 0)||t.originalParams,u=iy(t,n),c=iy(t,l),f=t.params.grabCursor,d=l.grabCursor,g=n.enabled;u&&!c?(s.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(s.classList.add(`${n.containerModifierClass}grid`),(l.grid.fill&&l.grid.fill==="column"||!l.grid.fill&&n.grid.fill==="column")&&s.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),f&&!d?t.unsetGrabCursor():!f&&d&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(v=>{if(typeof l[v]>"u")return;const A=n[v]&&n[v].enabled,k=l[v]&&l[v].enabled;A&&!k&&t[v].disable(),!A&&k&&t[v].enable()});const m=l.direction&&l.direction!==n.direction,y=n.loop&&(l.slidesPerView!==n.slidesPerView||m),E=n.loop;m&&r&&t.changeDirection(),Xt(t.params,l);const _=t.params.enabled,S=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),g&&!_?t.disable():!g&&_&&t.enable(),t.currentBreakpoint=o,t.emit("_beforeBreakpoint",l),r&&(y?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!E&&S?(t.loopCreate(e),t.updateSlides()):E&&!S&&t.loopDestroy()),t.emit("breakpoint",l)}function B$(t,e,r){if(e===void 0&&(e="window"),!t||e==="container"&&!r)return;let n=!1;const s=ot(),i=e==="window"?s.innerHeight:r.clientHeight,o=Object.keys(t).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:i*l,point:a}}return{value:a,point:a}});o.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a{typeof n=="object"?Object.keys(n).forEach(s=>{n[s]&&r.push(e+s)}):typeof n=="string"&&r.push(e+n)}),r}function U$(){const t=this,{classNames:e,params:r,rtl:n,el:s,device:i}=t,o=F$(["initialized",r.direction,{"free-mode":t.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&r.grid.fill==="column"},{android:i.android},{ios:i.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);e.push(...o),s.classList.add(...e),t.emitContainerClasses()}function j$(){const t=this,{el:e,classNames:r}=t;!e||typeof e=="string"||(e.classList.remove(...r),t.emitContainerClasses())}var W$={addClasses:U$,removeClasses:j$};function z$(){const t=this,{isLocked:e,params:r}=t,{slidesOffsetBefore:n}=r;if(n){const s=t.slides.length-1,i=t.slidesGrid[s]+t.slidesSizesGrid[s]+n*2;t.isLocked=t.size>i}else t.isLocked=t.snapGrid.length===1;r.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),r.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var H$={checkOverflow:z$},Xh={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function V$(t,e){return function(n){n===void 0&&(n={});const s=Object.keys(n)[0],i=n[s];if(typeof i!="object"||i===null){Xt(e,n);return}if(t[s]===!0&&(t[s]={enabled:!0}),s==="navigation"&&t[s]&&t[s].enabled&&!t[s].prevEl&&!t[s].nextEl&&(t[s].auto=!0),["pagination","scrollbar"].indexOf(s)>=0&&t[s]&&t[s].enabled&&!t[s].el&&(t[s].auto=!0),!(s in t&&"enabled"in i)){Xt(e,n);return}typeof t[s]=="object"&&!("enabled"in t[s])&&(t[s].enabled=!0),t[s]||(t[s]={enabled:!1}),Xt(e,n)}}const yf={eventsEmitter:WB,update:ZB,translate:s$,transition:u$,slide:b$,loop:_$,grabCursor:T$,events:N$,breakpoints:$$,checkOverflow:H$,classes:W$},wf={};class Kt{constructor(){let e,r;for(var n=arguments.length,s=new Array(n),i=0;i1){const c=[];return o.querySelectorAll(r.el).forEach(f=>{const d=Xt({},r,{el:f});c.push(new Kt(d))}),c}const a=this;a.__swiper__=!0,a.support=z1(),a.device=H1({userAgent:r.userAgent}),a.browser=FB(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],r.modules&&Array.isArray(r.modules)&&a.modules.push(...r.modules);const l={};a.modules.forEach(c=>{c({params:r,swiper:a,extendParams:V$(r,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=Xt({},Xh,l);return a.params=Xt({},u,wf,r),a.originalParams=Xt({},a.params),a.passedParams=Xt({},r),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:r,params:n}=this,s=vt(r,`.${n.slideClass}, swiper-slide`),i=la(s[0]);return la(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(r=>r.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:r,params:n}=e;e.slides=vt(r,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,r){const n=this;e=Math.min(Math.max(e,0),1);const s=n.minTranslate(),o=(n.maxTranslate()-s)*e+s;n.translateTo(o,typeof r>"u"?0:r),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const r=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",r.join(" "))}getSlideClasses(e){const r=this;return r.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(r.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const r=[];e.slides.forEach(n=>{const s=e.getSlideClasses(n);r.push({slideEl:n,classNames:s}),e.emit("_slideClass",n,s)}),e.emit("_slideClasses",r)}slidesPerViewDynamic(e,r){e===void 0&&(e="current"),r===void 0&&(r=!1);const n=this,{params:s,slides:i,slidesGrid:o,slidesSizesGrid:a,size:l,activeIndex:u}=n;let c=1;if(typeof s.slidesPerView=="number")return s.slidesPerView;if(s.centeredSlides){let f=i[u]?Math.ceil(i[u].swiperSlideSize):0,d;for(let g=u+1;gl&&(d=!0));for(let g=u-1;g>=0;g-=1)i[g]&&!d&&(f+=i[g].swiperSlideSize,c+=1,f>l&&(d=!0))}else if(e==="current")for(let f=u+1;f=0;f-=1)o[u]-o[f]{o.complete&&Ol(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function s(){const o=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)s(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const o=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(o.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||s()}n.watchOverflow&&r!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,r){r===void 0&&(r=!0);const n=this,s=n.params.direction;return e||(e=s==="horizontal"?"vertical":"horizontal"),e===s||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${s}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(i=>{e==="vertical"?i.style.width="":i.style.height=""}),n.emit("changeDirection"),r&&n.update()),n}changeLanguageDirection(e){const r=this;r.rtl&&e==="rtl"||!r.rtl&&e==="ltr"||(r.rtl=e==="rtl",r.rtlTranslate=r.params.direction==="horizontal"&&r.rtl,r.rtl?(r.el.classList.add(`${r.params.containerModifierClass}rtl`),r.el.dir="rtl"):(r.el.classList.remove(`${r.params.containerModifierClass}rtl`),r.el.dir="ltr"),r.update())}mount(e){const r=this;if(r.mounted)return!0;let n=e||r.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=r,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===r.params.swiperElementNodeName.toUpperCase()&&(r.isElement=!0);const s=()=>`.${(r.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(s()):vt(n,s())[0];return!o&&r.params.createElements&&(o=Jt("div",r.params.wrapperClass),n.append(o),vt(n,`.${r.params.slideClass}`).forEach(a=>{o.append(a)})),Object.assign(r,{el:n,wrapperEl:o,slidesEl:r.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:o,hostEl:r.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Kn(n,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Kn(n,"direction")==="rtl"),wrongRTL:Kn(o,"display")==="-webkit-box"}),!0}init(e){const r=this;if(r.initialized||r.mount(e)===!1)return r;r.emit("beforeInit"),r.params.breakpoints&&r.setBreakpoint(),r.addClasses(),r.updateSize(),r.updateSlides(),r.params.watchOverflow&&r.checkOverflow(),r.params.grabCursor&&r.enabled&&r.setGrabCursor(),r.params.loop&&r.virtual&&r.params.virtual.enabled?r.slideTo(r.params.initialSlide+r.virtual.slidesBefore,0,r.params.runCallbacksOnInit,!1,!0):r.slideTo(r.params.initialSlide,0,r.params.runCallbacksOnInit,!1,!0),r.params.loop&&r.loopCreate(),r.attachEvents();const s=[...r.el.querySelectorAll('[loading="lazy"]')];return r.isElement&&s.push(...r.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach(i=>{i.complete?Ol(r,i):i.addEventListener("load",o=>{Ol(r,o.target)})}),Kh(r),r.initialized=!0,Kh(r),r.emit("init"),r.emit("afterInit"),r}destroy(e,r){e===void 0&&(e=!0),r===void 0&&(r=!0);const n=this,{params:s,el:i,wrapperEl:o,slides:a}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),s.loop&&n.loopDestroy(),r&&(n.removeClasses(),i&&typeof i!="string"&&i.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.forEach(l=>{l.classList.remove(s.slideVisibleClass,s.slideFullyVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(l=>{n.off(l)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),RB(n)),n.destroyed=!0),null}static extendDefaults(e){Xt(wf,e)}static get extendedDefaults(){return wf}static get defaults(){return Xh}static installModule(e){Kt.prototype.__modules__||(Kt.prototype.__modules__=[]);const r=Kt.prototype.__modules__;typeof e=="function"&&r.indexOf(e)<0&&r.push(e)}static use(e){return Array.isArray(e)?(e.forEach(r=>Kt.installModule(r)),Kt):(Kt.installModule(e),Kt)}}Object.keys(yf).forEach(t=>{Object.keys(yf[t]).forEach(e=>{Kt.prototype[e]=yf[t][e]})});Kt.use([UB,jB]);var Nt="top",er="bottom",tr="right",Dt="left",ec="auto",oo=[Nt,er,tr,Dt],Qi="start",Vs="end",Y1="clippingParents",Eg="viewport",Es="popper",G1="reference",Qh=oo.reduce(function(t,e){return t.concat([e+"-"+Qi,e+"-"+Vs])},[]),Sg=[].concat(oo,[ec]).reduce(function(t,e){return t.concat([e,e+"-"+Qi,e+"-"+Vs])},[]),K1="beforeRead",X1="read",Q1="afterRead",J1="beforeMain",Z1="main",eS="afterMain",tS="beforeWrite",rS="write",nS="afterWrite",iS=[K1,X1,Q1,J1,Z1,eS,tS,rS,nS];function qr(t){return t?(t.nodeName||"").toLowerCase():null}function rr(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Ji(t){var e=rr(t).Element;return t instanceof e||t instanceof Element}function cr(t){var e=rr(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Tg(t){if(typeof ShadowRoot>"u")return!1;var e=rr(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function q$(t){var e=t.state;Object.keys(e.elements).forEach(function(r){var n=e.styles[r]||{},s=e.attributes[r]||{},i=e.elements[r];!cr(i)||!qr(i)||(Object.assign(i.style,n),Object.keys(s).forEach(function(o){var a=s[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function Y$(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(n){var s=e.elements[n],i=e.attributes[n]||{},o=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:r[n]),a=o.reduce(function(l,u){return l[u]="",l},{});!cr(s)||!qr(s)||(Object.assign(s.style,a),Object.keys(i).forEach(function(l){s.removeAttribute(l)}))})}}const xg={name:"applyStyles",enabled:!0,phase:"write",fn:q$,effect:Y$,requires:["computeStyles"]};function Wr(t){return t.split("-")[0]}var Vi=Math.max,fu=Math.min,qs=Math.round;function Jh(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function sS(){return!/^((?!chrome|android).)*safari/i.test(Jh())}function Ys(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=t.getBoundingClientRect(),s=1,i=1;e&&cr(t)&&(s=t.offsetWidth>0&&qs(n.width)/t.offsetWidth||1,i=t.offsetHeight>0&&qs(n.height)/t.offsetHeight||1);var o=Ji(t)?rr(t):window,a=o.visualViewport,l=!sS()&&r,u=(n.left+(l&&a?a.offsetLeft:0))/s,c=(n.top+(l&&a?a.offsetTop:0))/i,f=n.width/s,d=n.height/i;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function Ag(t){var e=Ys(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function oS(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&Tg(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Cn(t){return rr(t).getComputedStyle(t)}function G$(t){return["table","td","th"].indexOf(qr(t))>=0}function ai(t){return((Ji(t)?t.ownerDocument:t.document)||window.document).documentElement}function tc(t){return qr(t)==="html"?t:t.assignedSlot||t.parentNode||(Tg(t)?t.host:null)||ai(t)}function sy(t){return!cr(t)||Cn(t).position==="fixed"?null:t.offsetParent}function K$(t){var e=/firefox/i.test(Jh()),r=/Trident/i.test(Jh());if(r&&cr(t)){var n=Cn(t);if(n.position==="fixed")return null}var s=tc(t);for(Tg(s)&&(s=s.host);cr(s)&&["html","body"].indexOf(qr(s))<0;){var i=Cn(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function Ea(t){for(var e=rr(t),r=sy(t);r&&G$(r)&&Cn(r).position==="static";)r=sy(r);return r&&(qr(r)==="html"||qr(r)==="body"&&Cn(r).position==="static")?e:r||K$(t)||e}function Cg(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ko(t,e,r){return Vi(t,fu(e,r))}function X$(t,e,r){var n=Ko(t,e,r);return n>r?r:n}function aS(){return{top:0,right:0,bottom:0,left:0}}function lS(t){return Object.assign({},aS(),t)}function uS(t,e){return e.reduce(function(r,n){return r[n]=t,r},{})}var Q$=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,lS(typeof e!="number"?e:uS(e,oo))};function J$(t){var e,r=t.state,n=t.name,s=t.options,i=r.elements.arrow,o=r.modifiersData.popperOffsets,a=Wr(r.placement),l=Cg(a),u=[Dt,tr].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!o)){var f=Q$(s.padding,r),d=Ag(i),g=l==="y"?Nt:Dt,m=l==="y"?er:tr,y=r.rects.reference[c]+r.rects.reference[l]-o[l]-r.rects.popper[c],E=o[l]-r.rects.reference[l],_=Ea(i),S=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,v=y/2-E/2,A=f[g],k=S-d[c]-f[m],x=S/2-d[c]/2+v,D=Ko(A,x,k),N=l;r.modifiersData[n]=(e={},e[N]=D,e.centerOffset=D-x,e)}}function Z$(t){var e=t.state,r=t.options,n=r.element,s=n===void 0?"[data-popper-arrow]":n;s!=null&&(typeof s=="string"&&(s=e.elements.popper.querySelector(s),!s)||oS(e.elements.popper,s)&&(e.elements.arrow=s))}const cS={name:"arrow",enabled:!0,phase:"main",fn:J$,effect:Z$,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Gs(t){return t.split("-")[1]}var eF={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tF(t,e){var r=t.x,n=t.y,s=e.devicePixelRatio||1;return{x:qs(r*s)/s||0,y:qs(n*s)/s||0}}function oy(t){var e,r=t.popper,n=t.popperRect,s=t.placement,i=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,f=t.isFixed,d=o.x,g=d===void 0?0:d,m=o.y,y=m===void 0?0:m,E=typeof c=="function"?c({x:g,y}):{x:g,y};g=E.x,y=E.y;var _=o.hasOwnProperty("x"),S=o.hasOwnProperty("y"),v=Dt,A=Nt,k=window;if(u){var x=Ea(r),D="clientHeight",N="clientWidth";if(x===rr(r)&&(x=ai(r),Cn(x).position!=="static"&&a==="absolute"&&(D="scrollHeight",N="scrollWidth")),x=x,s===Nt||(s===Dt||s===tr)&&i===Vs){A=er;var B=f&&x===k&&k.visualViewport?k.visualViewport.height:x[D];y-=B-n.height,y*=l?1:-1}if(s===Dt||(s===Nt||s===er)&&i===Vs){v=tr;var q=f&&x===k&&k.visualViewport?k.visualViewport.width:x[N];g-=q-n.width,g*=l?1:-1}}var K=Object.assign({position:a},u&&eF),C=c===!0?tF({x:g,y},rr(r)):{x:g,y};if(g=C.x,y=C.y,l){var M;return Object.assign({},K,(M={},M[A]=S?"0":"",M[v]=_?"0":"",M.transform=(k.devicePixelRatio||1)<=1?"translate("+g+"px, "+y+"px)":"translate3d("+g+"px, "+y+"px, 0)",M))}return Object.assign({},K,(e={},e[A]=S?y+"px":"",e[v]=_?g+"px":"",e.transform="",e))}function rF(t){var e=t.state,r=t.options,n=r.gpuAcceleration,s=n===void 0?!0:n,i=r.adaptive,o=i===void 0?!0:i,a=r.roundOffsets,l=a===void 0?!0:a,u={placement:Wr(e.placement),variation:Gs(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,oy(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,oy(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Ig={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:rF,data:{}};var Qa={passive:!0};function nF(t){var e=t.state,r=t.instance,n=t.options,s=n.scroll,i=s===void 0?!0:s,o=n.resize,a=o===void 0?!0:o,l=rr(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",r.update,Qa)}),a&&l.addEventListener("resize",r.update,Qa),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",r.update,Qa)}),a&&l.removeEventListener("resize",r.update,Qa)}}const Mg={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:nF,data:{}};var iF={left:"right",right:"left",bottom:"top",top:"bottom"};function Rl(t){return t.replace(/left|right|bottom|top/g,function(e){return iF[e]})}var sF={start:"end",end:"start"};function ay(t){return t.replace(/start|end/g,function(e){return sF[e]})}function Og(t){var e=rr(t),r=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Rg(t){return Ys(ai(t)).left+Og(t).scrollLeft}function oF(t,e){var r=rr(t),n=ai(t),s=r.visualViewport,i=n.clientWidth,o=n.clientHeight,a=0,l=0;if(s){i=s.width,o=s.height;var u=sS();(u||!u&&e==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}return{width:i,height:o,x:a+Rg(t),y:l}}function aF(t){var e,r=ai(t),n=Og(t),s=(e=t.ownerDocument)==null?void 0:e.body,i=Vi(r.scrollWidth,r.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=Vi(r.scrollHeight,r.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+Rg(t),l=-n.scrollTop;return Cn(s||r).direction==="rtl"&&(a+=Vi(r.clientWidth,s?s.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function Pg(t){var e=Cn(t),r=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+s+n)}function fS(t){return["html","body","#document"].indexOf(qr(t))>=0?t.ownerDocument.body:cr(t)&&Pg(t)?t:fS(tc(t))}function Xo(t,e){var r;e===void 0&&(e=[]);var n=fS(t),s=n===((r=t.ownerDocument)==null?void 0:r.body),i=rr(n),o=s?[i].concat(i.visualViewport||[],Pg(n)?n:[]):n,a=e.concat(o);return s?a:a.concat(Xo(tc(o)))}function Zh(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function lF(t,e){var r=Ys(t,!1,e==="fixed");return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function ly(t,e,r){return e===Eg?Zh(oF(t,r)):Ji(e)?lF(e,r):Zh(aF(ai(t)))}function uF(t){var e=Xo(tc(t)),r=["absolute","fixed"].indexOf(Cn(t).position)>=0,n=r&&cr(t)?Ea(t):t;return Ji(n)?e.filter(function(s){return Ji(s)&&oS(s,n)&&qr(s)!=="body"}):[]}function cF(t,e,r,n){var s=e==="clippingParents"?uF(t):[].concat(e),i=[].concat(s,[r]),o=i[0],a=i.reduce(function(l,u){var c=ly(t,u,n);return l.top=Vi(c.top,l.top),l.right=fu(c.right,l.right),l.bottom=fu(c.bottom,l.bottom),l.left=Vi(c.left,l.left),l},ly(t,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function dS(t){var e=t.reference,r=t.element,n=t.placement,s=n?Wr(n):null,i=n?Gs(n):null,o=e.x+e.width/2-r.width/2,a=e.y+e.height/2-r.height/2,l;switch(s){case Nt:l={x:o,y:e.y-r.height};break;case er:l={x:o,y:e.y+e.height};break;case tr:l={x:e.x+e.width,y:a};break;case Dt:l={x:e.x-r.width,y:a};break;default:l={x:e.x,y:e.y}}var u=s?Cg(s):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case Qi:l[u]=l[u]-(e[c]/2-r[c]/2);break;case Vs:l[u]=l[u]+(e[c]/2-r[c]/2);break}}return l}function Ks(t,e){e===void 0&&(e={});var r=e,n=r.placement,s=n===void 0?t.placement:n,i=r.strategy,o=i===void 0?t.strategy:i,a=r.boundary,l=a===void 0?Y1:a,u=r.rootBoundary,c=u===void 0?Eg:u,f=r.elementContext,d=f===void 0?Es:f,g=r.altBoundary,m=g===void 0?!1:g,y=r.padding,E=y===void 0?0:y,_=lS(typeof E!="number"?E:uS(E,oo)),S=d===Es?G1:Es,v=t.rects.popper,A=t.elements[m?S:d],k=cF(Ji(A)?A:A.contextElement||ai(t.elements.popper),l,c,o),x=Ys(t.elements.reference),D=dS({reference:x,element:v,strategy:"absolute",placement:s}),N=Zh(Object.assign({},v,D)),B=d===Es?N:x,q={top:k.top-B.top+_.top,bottom:B.bottom-k.bottom+_.bottom,left:k.left-B.left+_.left,right:B.right-k.right+_.right},K=t.modifiersData.offset;if(d===Es&&K){var C=K[s];Object.keys(q).forEach(function(M){var L=[tr,er].indexOf(M)>=0?1:-1,H=[Nt,er].indexOf(M)>=0?"y":"x";q[M]+=C[H]*L})}return q}function fF(t,e){e===void 0&&(e={});var r=e,n=r.placement,s=r.boundary,i=r.rootBoundary,o=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,u=l===void 0?Sg:l,c=Gs(n),f=c?a?Qh:Qh.filter(function(m){return Gs(m)===c}):oo,d=f.filter(function(m){return u.indexOf(m)>=0});d.length===0&&(d=f);var g=d.reduce(function(m,y){return m[y]=Ks(t,{placement:y,boundary:s,rootBoundary:i,padding:o})[Wr(y)],m},{});return Object.keys(g).sort(function(m,y){return g[m]-g[y]})}function dF(t){if(Wr(t)===ec)return[];var e=Rl(t);return[ay(t),e,ay(e)]}function hF(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=r.mainAxis,i=s===void 0?!0:s,o=r.altAxis,a=o===void 0?!0:o,l=r.fallbackPlacements,u=r.padding,c=r.boundary,f=r.rootBoundary,d=r.altBoundary,g=r.flipVariations,m=g===void 0?!0:g,y=r.allowedAutoPlacements,E=e.options.placement,_=Wr(E),S=_===E,v=l||(S||!m?[Rl(E)]:dF(E)),A=[E].concat(v).reduce(function(de,ge){return de.concat(Wr(ge)===ec?fF(e,{placement:ge,boundary:c,rootBoundary:f,padding:u,flipVariations:m,allowedAutoPlacements:y}):ge)},[]),k=e.rects.reference,x=e.rects.popper,D=new Map,N=!0,B=A[0],q=0;q=0,H=L?"width":"height",G=Ks(e,{placement:K,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),z=L?M?tr:Dt:M?er:Nt;k[H]>x[H]&&(z=Rl(z));var F=Rl(z),ne=[];if(i&&ne.push(G[C]<=0),a&&ne.push(G[z]<=0,G[F]<=0),ne.every(function(de){return de})){B=K,N=!1;break}D.set(K,ne)}if(N)for(var ce=m?3:1,re=function(ge){var pe=A.find(function(X){var Y=D.get(X);if(Y)return Y.slice(0,ge).every(function(ie){return ie})});if(pe)return B=pe,"break"},R=ce;R>0;R--){var Q=re(R);if(Q==="break")break}e.placement!==B&&(e.modifiersData[n]._skip=!0,e.placement=B,e.reset=!0)}}const hS={name:"flip",enabled:!0,phase:"main",fn:hF,requiresIfExists:["offset"],data:{_skip:!1}};function uy(t,e,r){return r===void 0&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function cy(t){return[Nt,tr,er,Dt].some(function(e){return t[e]>=0})}function pF(t){var e=t.state,r=t.name,n=e.rects.reference,s=e.rects.popper,i=e.modifiersData.preventOverflow,o=Ks(e,{elementContext:"reference"}),a=Ks(e,{altBoundary:!0}),l=uy(o,n),u=uy(a,s,i),c=cy(l),f=cy(u);e.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const pS={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:pF};function gF(t,e,r){var n=Wr(t),s=[Dt,Nt].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},e,{placement:t})):r,o=i[0],a=i[1];return o=o||0,a=(a||0)*s,[Dt,tr].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function mF(t){var e=t.state,r=t.options,n=t.name,s=r.offset,i=s===void 0?[0,0]:s,o=Sg.reduce(function(c,f){return c[f]=gF(f,e.rects,i),c},{}),a=o[e.placement],l=a.x,u=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[n]=o}const gS={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mF};function bF(t){var e=t.state,r=t.name;e.modifiersData[r]=dS({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const kg={name:"popperOffsets",enabled:!0,phase:"read",fn:bF,data:{}};function yF(t){return t==="x"?"y":"x"}function wF(t){var e=t.state,r=t.options,n=t.name,s=r.mainAxis,i=s===void 0?!0:s,o=r.altAxis,a=o===void 0?!1:o,l=r.boundary,u=r.rootBoundary,c=r.altBoundary,f=r.padding,d=r.tether,g=d===void 0?!0:d,m=r.tetherOffset,y=m===void 0?0:m,E=Ks(e,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),_=Wr(e.placement),S=Gs(e.placement),v=!S,A=Cg(_),k=yF(A),x=e.modifiersData.popperOffsets,D=e.rects.reference,N=e.rects.popper,B=typeof y=="function"?y(Object.assign({},e.rects,{placement:e.placement})):y,q=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),K=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,C={x:0,y:0};if(x){if(i){var M,L=A==="y"?Nt:Dt,H=A==="y"?er:tr,G=A==="y"?"height":"width",z=x[A],F=z+E[L],ne=z-E[H],ce=g?-N[G]/2:0,re=S===Qi?D[G]:N[G],R=S===Qi?-N[G]:-D[G],Q=e.elements.arrow,de=g&&Q?Ag(Q):{width:0,height:0},ge=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:aS(),pe=ge[L],X=ge[H],Y=Ko(0,D[G],de[G]),ie=v?D[G]/2-ce-Y-pe-q.mainAxis:re-Y-pe-q.mainAxis,be=v?-D[G]/2+ce+Y+X+q.mainAxis:R+Y+X+q.mainAxis,he=e.elements.arrow&&Ea(e.elements.arrow),ue=he?A==="y"?he.clientTop||0:he.clientLeft||0:0,I=(M=K==null?void 0:K[A])!=null?M:0,P=z+ie-I-ue,O=z+be-I,j=Ko(g?fu(F,P):F,z,g?Vi(ne,O):ne);x[A]=j,C[A]=j-z}if(a){var W,le=A==="x"?Nt:Dt,fe=A==="x"?er:tr,V=x[k],te=k==="y"?"height":"width",$=V+E[le],J=V-E[fe],ae=[Nt,Dt].indexOf(_)!==-1,me=(W=K==null?void 0:K[k])!=null?W:0,w=ae?$:V-D[te]-N[te]-me+q.altAxis,p=ae?V+D[te]+N[te]-me-q.altAxis:J,h=g&&ae?X$(w,V,p):Ko(g?w:$,V,g?p:J);x[k]=h,C[k]=h-V}e.modifiersData[n]=C}}const mS={name:"preventOverflow",enabled:!0,phase:"main",fn:wF,requiresIfExists:["offset"]};function vF(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function _F(t){return t===rr(t)||!cr(t)?Og(t):vF(t)}function EF(t){var e=t.getBoundingClientRect(),r=qs(e.width)/t.offsetWidth||1,n=qs(e.height)/t.offsetHeight||1;return r!==1||n!==1}function SF(t,e,r){r===void 0&&(r=!1);var n=cr(e),s=cr(e)&&EF(e),i=ai(e),o=Ys(t,s,r),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((qr(e)!=="body"||Pg(i))&&(a=_F(e)),cr(e)?(l=Ys(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):i&&(l.x=Rg(i))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function TF(t){var e=new Map,r=new Set,n=[];t.forEach(function(i){e.set(i.name,i)});function s(i){r.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!r.has(a)){var l=e.get(a);l&&s(l)}}),n.push(i)}return t.forEach(function(i){r.has(i.name)||s(i)}),n}function xF(t){var e=TF(t);return iS.reduce(function(r,n){return r.concat(e.filter(function(s){return s.phase===n}))},[])}function AF(t){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(t())})})),e}}function CF(t){var e=t.reduce(function(r,n){var s=r[n.name];return r[n.name]=s?Object.assign({},s,n,{options:Object.assign({},s.options,n.options),data:Object.assign({},s.data,n.data)}):n,r},{});return Object.keys(e).map(function(r){return e[r]})}var fy={placement:"bottom",modifiers:[],strategy:"absolute"};function dy(){for(var t=arguments.length,e=new Array(t),r=0;r(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(e,r)=>`#${CSS.escape(r)}`)),t),LF=t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),NF=t=>{do t+=Math.floor(Math.random()*PF);while(document.getElementById(t));return t},DF=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:r}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(r);return!n&&!s?0:(e=e.split(",")[0],r=r.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(r))*kF)},wS=t=>{t.dispatchEvent(new Event(ep))},gn=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),ei=t=>gn(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(yS(t)):null,ao=t=>{if(!gn(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",r=t.closest("details:not([open])");if(!r)return e;if(r!==t){const n=t.closest("summary");if(n&&n.parentNode!==r||n===null)return!1}return e},ti=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",vS=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?vS(t.parentNode):null},du=()=>{},Sa=t=>{t.offsetHeight},_S=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,_f=[],BF=t=>{document.readyState==="loading"?(_f.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of _f)e()}),_f.push(t)):t()},fr=()=>document.documentElement.dir==="rtl",pr=t=>{BF(()=>{const e=_S();if(e){const r=t.NAME,n=e.fn[r];e.fn[r]=t.jQueryInterface,e.fn[r].Constructor=t,e.fn[r].noConflict=()=>(e.fn[r]=n,t.jQueryInterface)}})},jt=(t,e=[],r=t)=>typeof t=="function"?t(...e):r,ES=(t,e,r=!0)=>{if(!r){jt(t);return}const s=DF(e)+5;let i=!1;const o=({target:a})=>{a===e&&(i=!0,e.removeEventListener(ep,o),jt(t))};e.addEventListener(ep,o),setTimeout(()=>{i||wS(e)},s)},Ng=(t,e,r,n)=>{const s=t.length;let i=t.indexOf(e);return i===-1?!r&&n?t[s-1]:t[0]:(i+=r?1:-1,n&&(i=(i+s)%s),t[Math.max(0,Math.min(i,s-1))])},$F=/[^.]*(?=\..*)\.|.*/,FF=/\..*/,UF=/::\d+$/,Ef={};let hy=1;const SS={mouseenter:"mouseover",mouseleave:"mouseout"},jF=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 TS(t,e){return e&&`${e}::${hy++}`||t.uidEvent||hy++}function xS(t){const e=TS(t);return t.uidEvent=e,Ef[e]=Ef[e]||{},Ef[e]}function WF(t,e){return function r(n){return Dg(n,{delegateTarget:t}),r.oneOff&&Se.off(t,n.type,e),e.apply(t,[n])}}function zF(t,e,r){return function n(s){const i=t.querySelectorAll(e);for(let{target:o}=s;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return Dg(s,{delegateTarget:o}),n.oneOff&&Se.off(t,s.type,e,r),r.apply(o,[s])}}function AS(t,e,r=null){return Object.values(t).find(n=>n.callable===e&&n.delegationSelector===r)}function CS(t,e,r){const n=typeof e=="string",s=n?r:e||r;let i=IS(t);return jF.has(i)||(i=t),[n,s,i]}function py(t,e,r,n,s){if(typeof e!="string"||!t)return;let[i,o,a]=CS(e,r,n);e in SS&&(o=(m=>function(y){if(!y.relatedTarget||y.relatedTarget!==y.delegateTarget&&!y.delegateTarget.contains(y.relatedTarget))return m.call(this,y)})(o));const l=xS(t),u=l[a]||(l[a]={}),c=AS(u,o,i?r:null);if(c){c.oneOff=c.oneOff&&s;return}const f=TS(o,e.replace($F,"")),d=i?zF(t,r,o):WF(t,o);d.delegationSelector=i?r:null,d.callable=o,d.oneOff=s,d.uidEvent=f,u[f]=d,t.addEventListener(a,d,i)}function tp(t,e,r,n,s){const i=AS(e[r],n,s);i&&(t.removeEventListener(r,i,!!s),delete e[r][i.uidEvent])}function HF(t,e,r,n){const s=e[r]||{};for(const[i,o]of Object.entries(s))i.includes(n)&&tp(t,e,r,o.callable,o.delegationSelector)}function IS(t){return t=t.replace(FF,""),SS[t]||t}const Se={on(t,e,r,n){py(t,e,r,n,!1)},one(t,e,r,n){py(t,e,r,n,!0)},off(t,e,r,n){if(typeof e!="string"||!t)return;const[s,i,o]=CS(e,r,n),a=o!==e,l=xS(t),u=l[o]||{},c=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(u).length)return;tp(t,l,o,i,s?r:null);return}if(c)for(const f of Object.keys(l))HF(t,l,f,e.slice(1));for(const[f,d]of Object.entries(u)){const g=f.replace(UF,"");(!a||e.includes(g))&&tp(t,l,o,d.callable,d.delegationSelector)}},trigger(t,e,r){if(typeof e!="string"||!t)return null;const n=_S(),s=IS(e),i=e!==s;let o=null,a=!0,l=!0,u=!1;i&&n&&(o=n.Event(e,r),n(t).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),u=o.isDefaultPrevented());const c=Dg(new Event(e,{bubbles:a,cancelable:!0}),r);return u&&c.preventDefault(),l&&t.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function Dg(t,e={}){for(const[r,n]of Object.entries(e))try{t[r]=n}catch{Object.defineProperty(t,r,{configurable:!0,get(){return n}})}return t}function gy(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 Sf(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const mn={setDataAttribute(t,e,r){t.setAttribute(`data-bs-${Sf(e)}`,r)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Sf(e)}`)},getDataAttributes(t){if(!t)return{};const e={},r=Object.keys(t.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of r){let s=n.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),e[s]=gy(t.dataset[n])}return e},getDataAttribute(t,e){return gy(t.getAttribute(`data-bs-${Sf(e)}`))}};class Ta{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,r){const n=gn(r)?mn.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...gn(r)?mn.getDataAttributes(r):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,r=this.constructor.DefaultType){for(const[n,s]of Object.entries(r)){const i=e[n],o=gn(i)?"element":LF(i);if(!new RegExp(s).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${s}".`)}}}const VF="5.3.3";class Ir extends Ta{constructor(e,r){super(),e=ei(e),e&&(this._element=e,this._config=this._getConfig(r),vf.set(this._element,this.constructor.DATA_KEY,this))}dispose(){vf.remove(this._element,this.constructor.DATA_KEY),Se.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,r,n=!0){ES(e,r,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return vf.get(ei(e),this.DATA_KEY)}static getOrCreateInstance(e,r={}){return this.getInstance(e)||new this(e,typeof r=="object"?r:null)}static get VERSION(){return VF}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 Tf=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let r=t.getAttribute("href");if(!r||!r.includes("#")&&!r.startsWith("."))return null;r.includes("#")&&!r.startsWith("#")&&(r=`#${r.split("#")[1]}`),e=r&&r!=="#"?r.trim():null}return e?e.split(",").map(r=>yS(r)).join(","):null},Le={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(r=>r.matches(e))},parents(t,e){const r=[];let n=t.parentNode.closest(e);for(;n;)r.push(n),n=n.parentNode.closest(e);return r},prev(t,e){let r=t.previousElementSibling;for(;r;){if(r.matches(e))return[r];r=r.previousElementSibling}return[]},next(t,e){let r=t.nextElementSibling;for(;r;){if(r.matches(e))return[r];r=r.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(r=>`${r}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(r=>!ti(r)&&ao(r))},getSelectorFromElement(t){const e=Tf(t);return e&&Le.findOne(e)?e:null},getElementFromSelector(t){const e=Tf(t);return e?Le.findOne(e):null},getMultipleElementsFromSelector(t){const e=Tf(t);return e?Le.find(e):[]}},nc=(t,e="hide")=>{const r=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;Se.on(document,r,`[data-bs-dismiss="${n}"]`,function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),ti(this))return;const i=Le.getElementFromSelector(this)||this.closest(`.${n}`);t.getOrCreateInstance(i)[e]()})},qF="alert",YF="bs.alert",MS=`.${YF}`,GF=`close${MS}`,KF=`closed${MS}`,XF="fade",QF="show";class ic extends Ir{static get NAME(){return qF}close(){if(Se.trigger(this._element,GF).defaultPrevented)return;this._element.classList.remove(QF);const r=this._element.classList.contains(XF);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),Se.trigger(this._element,KF),this.dispose()}static jQueryInterface(e){return this.each(function(){const r=ic.getOrCreateInstance(this);if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e](this)}})}}nc(ic,"close");pr(ic);const JF="button",ZF="bs.button",eU=`.${ZF}`,tU=".data-api",rU="active",my='[data-bs-toggle="button"]',nU=`click${eU}${tU}`;class sc extends Ir{static get NAME(){return JF}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(rU))}static jQueryInterface(e){return this.each(function(){const r=sc.getOrCreateInstance(this);e==="toggle"&&r[e]()})}}Se.on(document,nU,my,t=>{t.preventDefault();const e=t.target.closest(my);sc.getOrCreateInstance(e).toggle()});pr(sc);const iU="swipe",lo=".bs.swipe",sU=`touchstart${lo}`,oU=`touchmove${lo}`,aU=`touchend${lo}`,lU=`pointerdown${lo}`,uU=`pointerup${lo}`,cU="touch",fU="pen",dU="pointer-event",hU=40,pU={endCallback:null,leftCallback:null,rightCallback:null},gU={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class hu extends Ta{constructor(e,r){super(),this._element=e,!(!e||!hu.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return pU}static get DefaultType(){return gU}static get NAME(){return iU}dispose(){Se.off(this._element,lo)}_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(),jt(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<=hU)return;const r=e/this._deltaX;this._deltaX=0,r&&jt(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Se.on(this._element,lU,e=>this._start(e)),Se.on(this._element,uU,e=>this._end(e)),this._element.classList.add(dU)):(Se.on(this._element,sU,e=>this._start(e)),Se.on(this._element,oU,e=>this._move(e)),Se.on(this._element,aU,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===fU||e.pointerType===cU)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const mU="carousel",bU="bs.carousel",li=`.${bU}`,OS=".data-api",yU="ArrowLeft",wU="ArrowRight",vU=500,Ao="next",bs="prev",Ss="left",Pl="right",_U=`slide${li}`,xf=`slid${li}`,EU=`keydown${li}`,SU=`mouseenter${li}`,TU=`mouseleave${li}`,xU=`dragstart${li}`,AU=`load${li}${OS}`,CU=`click${li}${OS}`,RS="carousel",Ja="active",IU="slide",MU="carousel-item-end",OU="carousel-item-start",RU="carousel-item-next",PU="carousel-item-prev",PS=".active",kS=".carousel-item",kU=PS+kS,LU=".carousel-item img",NU=".carousel-indicators",DU="[data-bs-slide], [data-bs-slide-to]",BU='[data-bs-ride="carousel"]',$U={[yU]:Pl,[wU]:Ss},FU={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},UU={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class xa extends Ir{constructor(e,r){super(e,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Le.findOne(NU,this._element),this._addEventListeners(),this._config.ride===RS&&this.cycle()}static get Default(){return FU}static get DefaultType(){return UU}static get NAME(){return mU}next(){this._slide(Ao)}nextWhenVisible(){!document.hidden&&ao(this._element)&&this.next()}prev(){this._slide(bs)}pause(){this._isSliding&&wS(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){Se.one(this._element,xf,()=>this.cycle());return}this.cycle()}}to(e){const r=this._getItems();if(e>r.length-1||e<0)return;if(this._isSliding){Se.one(this._element,xf,()=>this.to(e));return}const n=this._getItemIndex(this._getActive());if(n===e)return;const s=e>n?Ao:bs;this._slide(s,r[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&Se.on(this._element,EU,e=>this._keydown(e)),this._config.pause==="hover"&&(Se.on(this._element,SU,()=>this.pause()),Se.on(this._element,TU,()=>this._maybeEnableCycle())),this._config.touch&&hu.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of Le.find(LU,this._element))Se.on(n,xU,s=>s.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(Ss)),rightCallback:()=>this._slide(this._directionToOrder(Pl)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),vU+this._config.interval))}};this._swipeHelper=new hu(this._element,r)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const r=$U[e.key];r&&(e.preventDefault(),this._slide(this._directionToOrder(r)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const r=Le.findOne(PS,this._indicatorsElement);r.classList.remove(Ja),r.removeAttribute("aria-current");const n=Le.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(Ja),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const r=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=r||this._config.defaultInterval}_slide(e,r=null){if(this._isSliding)return;const n=this._getActive(),s=e===Ao,i=r||Ng(this._getItems(),n,s,this._config.wrap);if(i===n)return;const o=this._getItemIndex(i),a=g=>Se.trigger(this._element,g,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:o});if(a(_U).defaultPrevented||!n||!i)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const c=s?OU:MU,f=s?RU:PU;i.classList.add(f),Sa(i),n.classList.add(c),i.classList.add(c);const d=()=>{i.classList.remove(c,f),i.classList.add(Ja),n.classList.remove(Ja,f,c),this._isSliding=!1,a(xf)};this._queueCallback(d,n,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(IU)}_getActive(){return Le.findOne(kU,this._element)}_getItems(){return Le.find(kS,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return fr()?e===Ss?bs:Ao:e===Ss?Ao:bs}_orderToDirection(e){return fr()?e===bs?Ss:Pl:e===bs?Pl:Ss}static jQueryInterface(e){return this.each(function(){const r=xa.getOrCreateInstance(this,e);if(typeof e=="number"){r.to(e);return}if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e]()}})}}Se.on(document,CU,DU,function(t){const e=Le.getElementFromSelector(this);if(!e||!e.classList.contains(RS))return;t.preventDefault();const r=xa.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to");if(n){r.to(n),r._maybeEnableCycle();return}if(mn.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});Se.on(window,AU,()=>{const t=Le.find(BU);for(const e of t)xa.getOrCreateInstance(e)});pr(xa);const jU="collapse",WU="bs.collapse",Aa=`.${WU}`,zU=".data-api",HU=`show${Aa}`,VU=`shown${Aa}`,qU=`hide${Aa}`,YU=`hidden${Aa}`,GU=`click${Aa}${zU}`,Af="show",Is="collapse",Za="collapsing",KU="collapsed",XU=`:scope .${Is} .${Is}`,QU="collapse-horizontal",JU="width",ZU="height",e3=".collapse.show, .collapse.collapsing",rp='[data-bs-toggle="collapse"]',t3={parent:null,toggle:!0},r3={parent:"(null|element)",toggle:"boolean"};class ua extends Ir{constructor(e,r){super(e,r),this._isTransitioning=!1,this._triggerArray=[];const n=Le.find(rp);for(const s of n){const i=Le.getSelectorFromElement(s),o=Le.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(s)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return t3}static get DefaultType(){return r3}static get NAME(){return jU}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(e3).filter(a=>a!==this._element).map(a=>ua.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||Se.trigger(this._element,HU).defaultPrevented)return;for(const a of e)a.hide();const n=this._getDimension();this._element.classList.remove(Is),this._element.classList.add(Za),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(Za),this._element.classList.add(Is,Af),this._element.style[n]="",Se.trigger(this._element,VU)},o=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(s,this._element,!0),this._element.style[n]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||Se.trigger(this._element,qU).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,Sa(this._element),this._element.classList.add(Za),this._element.classList.remove(Is,Af);for(const s of this._triggerArray){const i=Le.getElementFromSelector(s);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(Za),this._element.classList.add(Is),Se.trigger(this._element,YU)};this._element.style[r]="",this._queueCallback(n,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Af)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=ei(e.parent),e}_getDimension(){return this._element.classList.contains(QU)?JU:ZU}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(rp);for(const r of e){const n=Le.getElementFromSelector(r);n&&this._addAriaAndCollapsedClass([r],this._isShown(n))}}_getFirstLevelChildren(e){const r=Le.find(XU,this._config.parent);return Le.find(e,this._config.parent).filter(n=>!r.includes(n))}_addAriaAndCollapsedClass(e,r){if(e.length)for(const n of e)n.classList.toggle(KU,!r),n.setAttribute("aria-expanded",r)}static jQueryInterface(e){const r={};return typeof e=="string"&&/show|hide/.test(e)&&(r.toggle=!1),this.each(function(){const n=ua.getOrCreateInstance(this,r);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}Se.on(document,GU,rp,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();for(const e of Le.getMultipleElementsFromSelector(this))ua.getOrCreateInstance(e,{toggle:!1}).toggle()});pr(ua);const by="dropdown",n3="bs.dropdown",fs=`.${n3}`,Bg=".data-api",i3="Escape",yy="Tab",s3="ArrowUp",wy="ArrowDown",o3=2,a3=`hide${fs}`,l3=`hidden${fs}`,u3=`show${fs}`,c3=`shown${fs}`,LS=`click${fs}${Bg}`,NS=`keydown${fs}${Bg}`,f3=`keyup${fs}${Bg}`,Ts="show",d3="dropup",h3="dropend",p3="dropstart",g3="dropup-center",m3="dropdown-center",Ni='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',b3=`${Ni}.${Ts}`,kl=".dropdown-menu",y3=".navbar",w3=".navbar-nav",v3=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",_3=fr()?"top-end":"top-start",E3=fr()?"top-start":"top-end",S3=fr()?"bottom-end":"bottom-start",T3=fr()?"bottom-start":"bottom-end",x3=fr()?"left-start":"right-start",A3=fr()?"right-start":"left-start",C3="top",I3="bottom",M3={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},O3={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class zr extends Ir{constructor(e,r){super(e,r),this._popper=null,this._parent=this._element.parentNode,this._menu=Le.next(this._element,kl)[0]||Le.prev(this._element,kl)[0]||Le.findOne(kl,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return M3}static get DefaultType(){return O3}static get NAME(){return by}toggle(){return this._isShown()?this.hide():this.show()}show(){if(ti(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!Se.trigger(this._element,u3,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(w3))for(const n of[].concat(...document.body.children))Se.on(n,"mouseover",du);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ts),this._element.classList.add(Ts),Se.trigger(this._element,c3,e)}}hide(){if(ti(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(!Se.trigger(this._element,a3,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))Se.off(n,"mouseover",du);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ts),this._element.classList.remove(Ts),this._element.setAttribute("aria-expanded","false"),mn.removeDataAttribute(this._menu,"popper"),Se.trigger(this._element,l3,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!gn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${by.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof bS>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:gn(this._config.reference)?e=ei(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const r=this._getPopperConfig();this._popper=Lg(e,this._menu,r)}_isShown(){return this._menu.classList.contains(Ts)}_getPlacement(){const e=this._parent;if(e.classList.contains(h3))return x3;if(e.classList.contains(p3))return A3;if(e.classList.contains(g3))return C3;if(e.classList.contains(m3))return I3;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(d3)?r?E3:_3:r?T3:S3}_detectNavbar(){return this._element.closest(y3)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(r=>Number.parseInt(r,10)):typeof e=="function"?r=>e(r,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")&&(mn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...jt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:r}){const n=Le.find(v3,this._menu).filter(s=>ao(s));n.length&&Ng(n,r,e===wy,!n.includes(r)).focus()}static jQueryInterface(e){return this.each(function(){const r=zr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}static clearMenus(e){if(e.button===o3||e.type==="keyup"&&e.key!==yy)return;const r=Le.find(b3);for(const n of r){const s=zr.getInstance(n);if(!s||s._config.autoClose===!1)continue;const i=e.composedPath(),o=i.includes(s._menu);if(i.includes(s._element)||s._config.autoClose==="inside"&&!o||s._config.autoClose==="outside"&&o||s._menu.contains(e.target)&&(e.type==="keyup"&&e.key===yy||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:s._element};e.type==="click"&&(a.clickEvent=e),s._completeHide(a)}}static dataApiKeydownHandler(e){const r=/input|textarea/i.test(e.target.tagName),n=e.key===i3,s=[s3,wy].includes(e.key);if(!s&&!n||r&&!n)return;e.preventDefault();const i=this.matches(Ni)?this:Le.prev(this,Ni)[0]||Le.next(this,Ni)[0]||Le.findOne(Ni,e.delegateTarget.parentNode),o=zr.getOrCreateInstance(i);if(s){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),i.focus())}}Se.on(document,NS,Ni,zr.dataApiKeydownHandler);Se.on(document,NS,kl,zr.dataApiKeydownHandler);Se.on(document,LS,zr.clearMenus);Se.on(document,f3,zr.clearMenus);Se.on(document,LS,Ni,function(t){t.preventDefault(),zr.getOrCreateInstance(this).toggle()});pr(zr);const DS="backdrop",R3="fade",vy="show",_y=`mousedown.bs.${DS}`,P3={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},k3={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class BS extends Ta{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return P3}static get DefaultType(){return k3}static get NAME(){return DS}show(e){if(!this._config.isVisible){jt(e);return}this._append();const r=this._getElement();this._config.isAnimated&&Sa(r),r.classList.add(vy),this._emulateAnimation(()=>{jt(e)})}hide(e){if(!this._config.isVisible){jt(e);return}this._getElement().classList.remove(vy),this._emulateAnimation(()=>{this.dispose(),jt(e)})}dispose(){this._isAppended&&(Se.off(this._element,_y),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(R3),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=ei(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),Se.on(e,_y,()=>{jt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){ES(e,this._getElement(),this._config.isAnimated)}}const L3="focustrap",N3="bs.focustrap",pu=`.${N3}`,D3=`focusin${pu}`,B3=`keydown.tab${pu}`,$3="Tab",F3="forward",Ey="backward",U3={autofocus:!0,trapElement:null},j3={autofocus:"boolean",trapElement:"element"};class $S extends Ta{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return U3}static get DefaultType(){return j3}static get NAME(){return L3}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Se.off(document,pu),Se.on(document,D3,e=>this._handleFocusin(e)),Se.on(document,B3,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Se.off(document,pu))}_handleFocusin(e){const{trapElement:r}=this._config;if(e.target===document||e.target===r||r.contains(e.target))return;const n=Le.focusableChildren(r);n.length===0?r.focus():this._lastTabNavDirection===Ey?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){e.key===$3&&(this._lastTabNavDirection=e.shiftKey?Ey:F3)}}const Sy=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ty=".sticky-top",el="padding-right",xy="margin-right";class np{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,el,r=>r+e),this._setElementAttributes(Sy,el,r=>r+e),this._setElementAttributes(Ty,xy,r=>r-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,el),this._resetElementAttributes(Sy,el),this._resetElementAttributes(Ty,xy)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,r,n){const s=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+s)return;this._saveInitialAttribute(o,r);const a=window.getComputedStyle(o).getPropertyValue(r);o.style.setProperty(r,`${n(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,r){const n=e.style.getPropertyValue(r);n&&mn.setDataAttribute(e,r,n)}_resetElementAttributes(e,r){const n=s=>{const i=mn.getDataAttribute(s,r);if(i===null){s.style.removeProperty(r);return}mn.removeDataAttribute(s,r),s.style.setProperty(r,i)};this._applyManipulationCallback(e,n)}_applyManipulationCallback(e,r){if(gn(e)){r(e);return}for(const n of Le.find(e,this._element))r(n)}}const W3="modal",z3="bs.modal",dr=`.${z3}`,H3=".data-api",V3="Escape",q3=`hide${dr}`,Y3=`hidePrevented${dr}`,FS=`hidden${dr}`,US=`show${dr}`,G3=`shown${dr}`,K3=`resize${dr}`,X3=`click.dismiss${dr}`,Q3=`mousedown.dismiss${dr}`,J3=`keydown.dismiss${dr}`,Z3=`click${dr}${H3}`,Ay="modal-open",e8="fade",Cy="show",Cf="modal-static",t8=".modal.show",r8=".modal-dialog",n8=".modal-body",i8='[data-bs-toggle="modal"]',s8={backdrop:!0,focus:!0,keyboard:!0},o8={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Xs extends Ir{constructor(e,r){super(e,r),this._dialog=Le.findOne(r8,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new np,this._addEventListeners()}static get Default(){return s8}static get DefaultType(){return o8}static get NAME(){return W3}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||Se.trigger(this._element,US,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ay),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||Se.trigger(this._element,q3).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Cy),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){Se.off(window,dr),Se.off(this._dialog,dr),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new BS({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new $S({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 r=Le.findOne(n8,this._dialog);r&&(r.scrollTop=0),Sa(this._element),this._element.classList.add(Cy);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Se.trigger(this._element,G3,{relatedTarget:e})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){Se.on(this._element,J3,e=>{if(e.key===V3){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),Se.on(window,K3,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Se.on(this._element,Q3,e=>{Se.one(this._element,X3,r=>{if(!(this._element!==e.target||this._element!==r.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(Ay),this._resetAdjustments(),this._scrollBar.reset(),Se.trigger(this._element,FS)})}_isAnimated(){return this._element.classList.contains(e8)}_triggerBackdropTransition(){if(Se.trigger(this._element,Y3).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(Cf)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(Cf),this._queueCallback(()=>{this._element.classList.remove(Cf),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,r=this._scrollBar.getWidth(),n=r>0;if(n&&!e){const s=fr()?"paddingLeft":"paddingRight";this._element.style[s]=`${r}px`}if(!n&&e){const s=fr()?"paddingRight":"paddingLeft";this._element.style[s]=`${r}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,r){return this.each(function(){const n=Xs.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](r)}})}}Se.on(document,Z3,i8,function(t){const e=Le.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),Se.one(e,US,s=>{s.defaultPrevented||Se.one(e,FS,()=>{ao(this)&&this.focus()})});const r=Le.findOne(t8);r&&Xs.getInstance(r).hide(),Xs.getOrCreateInstance(e).toggle(this)});nc(Xs);pr(Xs);const a8="offcanvas",l8="bs.offcanvas",Ln=`.${l8}`,jS=".data-api",u8=`load${Ln}${jS}`,c8="Escape",Iy="show",My="showing",Oy="hiding",f8="offcanvas-backdrop",WS=".offcanvas.show",d8=`show${Ln}`,h8=`shown${Ln}`,p8=`hide${Ln}`,Ry=`hidePrevented${Ln}`,zS=`hidden${Ln}`,g8=`resize${Ln}`,m8=`click${Ln}${jS}`,b8=`keydown.dismiss${Ln}`,y8='[data-bs-toggle="offcanvas"]',w8={backdrop:!0,keyboard:!0,scroll:!1},v8={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class ri extends Ir{constructor(e,r){super(e,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return w8}static get DefaultType(){return v8}static get NAME(){return a8}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||Se.trigger(this._element,d8,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new np().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(My);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Iy),this._element.classList.remove(My),Se.trigger(this._element,h8,{relatedTarget:e})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||Se.trigger(this._element,p8).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Oy),this._backdrop.hide();const r=()=>{this._element.classList.remove(Iy,Oy),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new np().reset(),Se.trigger(this._element,zS)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){Se.trigger(this._element,Ry);return}this.hide()},r=!!this._config.backdrop;return new BS({className:f8,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?e:null})}_initializeFocusTrap(){return new $S({trapElement:this._element})}_addEventListeners(){Se.on(this._element,b8,e=>{if(e.key===c8){if(this._config.keyboard){this.hide();return}Se.trigger(this._element,Ry)}})}static jQueryInterface(e){return this.each(function(){const r=ri.getOrCreateInstance(this,e);if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e](this)}})}}Se.on(document,m8,y8,function(t){const e=Le.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),ti(this))return;Se.one(e,zS,()=>{ao(this)&&this.focus()});const r=Le.findOne(WS);r&&r!==e&&ri.getInstance(r).hide(),ri.getOrCreateInstance(e).toggle(this)});Se.on(window,u8,()=>{for(const t of Le.find(WS))ri.getOrCreateInstance(t).show()});Se.on(window,g8,()=>{for(const t of Le.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&ri.getOrCreateInstance(t).hide()});nc(ri);pr(ri);const _8=/^aria-[\w-]*$/i,HS={"*":["class","dir","id","lang","role",_8],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]},E8=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),S8=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,T8=(t,e)=>{const r=t.nodeName.toLowerCase();return e.includes(r)?E8.has(r)?!!S8.test(t.nodeValue):!0:e.filter(n=>n instanceof RegExp).some(n=>n.test(r))};function x8(t,e,r){if(!t.length)return t;if(r&&typeof r=="function")return r(t);const s=new window.DOMParser().parseFromString(t,"text/html"),i=[].concat(...s.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),u=[].concat(e["*"]||[],e[a]||[]);for(const c of l)T8(c,u)||o.removeAttribute(c.nodeName)}return s.body.innerHTML}const A8="TemplateFactory",C8={allowList:HS,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},I8={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},M8={entry:"(string|element|function|null)",selector:"(string|element)"};class O8 extends Ta{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return C8}static get DefaultType(){return I8}static get NAME(){return A8}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[s,i]of Object.entries(this._config.content))this._setContent(e,i,s);const r=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&r.classList.add(...n.split(" ")),r}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[r,n]of Object.entries(e))super._typeCheckConfig({selector:r,entry:n},M8)}_setContent(e,r,n){const s=Le.findOne(n,e);if(s){if(r=this._resolvePossibleFunction(r),!r){s.remove();return}if(gn(r)){this._putElementInTemplate(ei(r),s);return}if(this._config.html){s.innerHTML=this._maybeSanitize(r);return}s.textContent=r}}_maybeSanitize(e){return this._config.sanitize?x8(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return jt(e,[this])}_putElementInTemplate(e,r){if(this._config.html){r.innerHTML="",r.append(e);return}r.textContent=e.textContent}}const R8="tooltip",P8=new Set(["sanitize","allowList","sanitizeFn"]),If="fade",k8="modal",tl="show",L8=".tooltip-inner",Py=`.${k8}`,ky="hide.bs.modal",Co="hover",Mf="focus",N8="click",D8="manual",B8="hide",$8="hidden",F8="show",U8="shown",j8="inserted",W8="click",z8="focusin",H8="focusout",V8="mouseenter",q8="mouseleave",Y8={AUTO:"auto",TOP:"top",RIGHT:fr()?"left":"right",BOTTOM:"bottom",LEFT:fr()?"right":"left"},G8={allowList:HS,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},K8={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 uo extends Ir{constructor(e,r){if(typeof bS>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,r),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 G8}static get DefaultType(){return K8}static get NAME(){return R8}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),Se.off(this._element.closest(Py),ky,this._hideModalHandler),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=Se.trigger(this._element,this.constructor.eventName(F8)),n=(vS(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!n)return;this._disposePopper();const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(s),Se.trigger(this._element,this.constructor.eventName(j8))),this._popper=this._createPopper(s),s.classList.add(tl),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))Se.on(a,"mouseover",du);const o=()=>{Se.trigger(this._element,this.constructor.eventName(U8)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||Se.trigger(this._element,this.constructor.eventName(B8)).defaultPrevented)return;if(this._getTipElement().classList.remove(tl),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))Se.off(s,"mouseover",du);this._activeTrigger[N8]=!1,this._activeTrigger[Mf]=!1,this._activeTrigger[Co]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Se.trigger(this._element,this.constructor.eventName($8)))};this._queueCallback(n,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const r=this._getTemplateFactory(e).toHtml();if(!r)return null;r.classList.remove(If,tl),r.classList.add(`bs-${this.constructor.NAME}-auto`);const n=NF(this.constructor.NAME).toString();return r.setAttribute("id",n),this._isAnimated()&&r.classList.add(If),r}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new O8({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[L8]: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(If)}_isShown(){return this.tip&&this.tip.classList.contains(tl)}_createPopper(e){const r=jt(this._config.placement,[this,e,this._element]),n=Y8[r.toUpperCase()];return Lg(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(r=>Number.parseInt(r,10)):typeof e=="function"?r=>e(r,this._element):e}_resolvePossibleFunction(e){return jt(e,[this._element])}_getPopperConfig(e){const r={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:n=>{this._getTipElement().setAttribute("data-popper-placement",n.state.placement)}}]};return{...r,...jt(this._config.popperConfig,[r])}}_setListeners(){const e=this._config.trigger.split(" ");for(const r of e)if(r==="click")Se.on(this._element,this.constructor.eventName(W8),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if(r!==D8){const n=r===Co?this.constructor.eventName(V8):this.constructor.eventName(z8),s=r===Co?this.constructor.eventName(q8):this.constructor.eventName(H8);Se.on(this._element,n,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?Mf:Co]=!0,o._enter()}),Se.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?Mf:Co]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Se.on(this._element.closest(Py),ky,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,r){clearTimeout(this._timeout),this._timeout=setTimeout(e,r)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const r=mn.getDataAttributes(this._element);for(const n of Object.keys(r))P8.has(n)&&delete r[n];return e={...r,...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:ei(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[r,n]of Object.entries(this._config))this.constructor.Default[r]!==n&&(e[r]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const r=uo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}pr(uo);const X8="popover",Q8=".popover-header",J8=".popover-body",Z8={...uo.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},e6={...uo.DefaultType,content:"(null|string|element|function)"};class $g extends uo{static get Default(){return Z8}static get DefaultType(){return e6}static get NAME(){return X8}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Q8]:this._getTitle(),[J8]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const r=$g.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}pr($g);const t6="scrollspy",r6="bs.scrollspy",Fg=`.${r6}`,n6=".data-api",i6=`activate${Fg}`,Ly=`click${Fg}`,s6=`load${Fg}${n6}`,o6="dropdown-item",ys="active",a6='[data-bs-spy="scroll"]',Of="[href]",l6=".nav, .list-group",Ny=".nav-link",u6=".nav-item",c6=".list-group-item",f6=`${Ny}, ${u6} > ${Ny}, ${c6}`,d6=".dropdown",h6=".dropdown-toggle",p6={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},g6={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class oc extends Ir{constructor(e,r){super(e,r),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 p6}static get DefaultType(){return g6}static get NAME(){return t6}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=ei(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(r=>Number.parseFloat(r))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Se.off(this._config.target,Ly),Se.on(this._config.target,Ly,Of,e=>{const r=this._observableSections.get(e.target.hash);if(r){e.preventDefault();const n=this._rootElement||window,s=r.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:s,behavior:"smooth"});return}n.scrollTop=s}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(r=>this._observerCallback(r),e)}_observerCallback(e){const r=o=>this._targetLinks.get(`#${o.target.id}`),n=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(r(o))},s=(this._rootElement||document.documentElement).scrollTop,i=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(r(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(n(o),!s)return;continue}!i&&!a&&n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Le.find(Of,this._config.target);for(const r of e){if(!r.hash||ti(r))continue;const n=Le.findOne(decodeURI(r.hash),this._element);ao(n)&&(this._targetLinks.set(decodeURI(r.hash),r),this._observableSections.set(r.hash,n))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ys),this._activateParents(e),Se.trigger(this._element,i6,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(o6)){Le.findOne(h6,e.closest(d6)).classList.add(ys);return}for(const r of Le.parents(e,l6))for(const n of Le.prev(r,f6))n.classList.add(ys)}_clearActiveClass(e){e.classList.remove(ys);const r=Le.find(`${Of}.${ys}`,e);for(const n of r)n.classList.remove(ys)}static jQueryInterface(e){return this.each(function(){const r=oc.getOrCreateInstance(this,e);if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e]()}})}}Se.on(window,s6,()=>{for(const t of Le.find(a6))oc.getOrCreateInstance(t)});pr(oc);const m6="tab",b6="bs.tab",ds=`.${b6}`,y6=`hide${ds}`,w6=`hidden${ds}`,v6=`show${ds}`,_6=`shown${ds}`,E6=`click${ds}`,S6=`keydown${ds}`,T6=`load${ds}`,x6="ArrowLeft",Dy="ArrowRight",A6="ArrowUp",By="ArrowDown",Rf="Home",$y="End",Di="active",Fy="fade",Pf="show",C6="dropdown",VS=".dropdown-toggle",I6=".dropdown-menu",kf=`:not(${VS})`,M6='.list-group, .nav, [role="tablist"]',O6=".nav-item, .list-group-item",R6=`.nav-link${kf}, .list-group-item${kf}, [role="tab"]${kf}`,qS='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Lf=`${R6}, ${qS}`,P6=`.${Di}[data-bs-toggle="tab"], .${Di}[data-bs-toggle="pill"], .${Di}[data-bs-toggle="list"]`;class Qs extends Ir{constructor(e){super(e),this._parent=this._element.closest(M6),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Se.on(this._element,S6,r=>this._keydown(r)))}static get NAME(){return m6}show(){const e=this._element;if(this._elemIsActive(e))return;const r=this._getActiveElem(),n=r?Se.trigger(r,y6,{relatedTarget:e}):null;Se.trigger(e,v6,{relatedTarget:r}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(r,e),this._activate(e,r))}_activate(e,r){if(!e)return;e.classList.add(Di),this._activate(Le.getElementFromSelector(e));const n=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Pf);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),Se.trigger(e,_6,{relatedTarget:r})};this._queueCallback(n,e,e.classList.contains(Fy))}_deactivate(e,r){if(!e)return;e.classList.remove(Di),e.blur(),this._deactivate(Le.getElementFromSelector(e));const n=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Pf);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),Se.trigger(e,w6,{relatedTarget:r})};this._queueCallback(n,e,e.classList.contains(Fy))}_keydown(e){if(![x6,Dy,A6,By,Rf,$y].includes(e.key))return;e.stopPropagation(),e.preventDefault();const r=this._getChildren().filter(s=>!ti(s));let n;if([Rf,$y].includes(e.key))n=r[e.key===Rf?0:r.length-1];else{const s=[Dy,By].includes(e.key);n=Ng(r,e.target,s,!0)}n&&(n.focus({preventScroll:!0}),Qs.getOrCreateInstance(n).show())}_getChildren(){return Le.find(Lf,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,r){this._setAttributeIfNotExists(e,"role","tablist");for(const n of r)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const r=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",r),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),r||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const r=Le.getElementFromSelector(e);r&&(this._setAttributeIfNotExists(r,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(r,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,r){const n=this._getOuterElement(e);if(!n.classList.contains(C6))return;const s=(i,o)=>{const a=Le.findOne(i,n);a&&a.classList.toggle(o,r)};s(VS,Di),s(I6,Pf),n.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(e,r,n){e.hasAttribute(r)||e.setAttribute(r,n)}_elemIsActive(e){return e.classList.contains(Di)}_getInnerElement(e){return e.matches(Lf)?e:Le.findOne(Lf,e)}_getOuterElement(e){return e.closest(O6)||e}static jQueryInterface(e){return this.each(function(){const r=Qs.getOrCreateInstance(this);if(typeof e=="string"){if(r[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);r[e]()}})}}Se.on(document,E6,qS,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!ti(this)&&Qs.getOrCreateInstance(this).show()});Se.on(window,T6,()=>{for(const t of Le.find(P6))Qs.getOrCreateInstance(t)});pr(Qs);const k6="toast",L6="bs.toast",ui=`.${L6}`,N6=`mouseover${ui}`,D6=`mouseout${ui}`,B6=`focusin${ui}`,$6=`focusout${ui}`,F6=`hide${ui}`,U6=`hidden${ui}`,j6=`show${ui}`,W6=`shown${ui}`,z6="fade",Uy="hide",rl="show",nl="showing",H6={animation:"boolean",autohide:"boolean",delay:"number"},V6={animation:!0,autohide:!0,delay:5e3};class ac extends Ir{constructor(e,r){super(e,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return V6}static get DefaultType(){return H6}static get NAME(){return k6}show(){if(Se.trigger(this._element,j6).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(z6);const r=()=>{this._element.classList.remove(nl),Se.trigger(this._element,W6),this._maybeScheduleHide()};this._element.classList.remove(Uy),Sa(this._element),this._element.classList.add(rl,nl),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||Se.trigger(this._element,F6).defaultPrevented)return;const r=()=>{this._element.classList.add(Uy),this._element.classList.remove(nl,rl),Se.trigger(this._element,U6)};this._element.classList.add(nl),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(rl),super.dispose()}isShown(){return this._element.classList.contains(rl)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,r){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=r;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=r;break}}if(r){this._clearTimeout();return}const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){Se.on(this._element,N6,e=>this._onInteraction(e,!0)),Se.on(this._element,D6,e=>this._onInteraction(e,!1)),Se.on(this._element,B6,e=>this._onInteraction(e,!0)),Se.on(this._element,$6,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const r=ac.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](this)}})}}nc(ac);pr(ac);function q6(t){let{swiper:e,extendParams:r,on:n,emit:s}=t;r({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let i;const o=_t();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const a=o.createElement("div");function l(m,y){const E=e.params.virtual;if(E.cache&&e.virtual.cache[y])return e.virtual.cache[y];let _;return E.renderSlide?(_=E.renderSlide.call(e,m,y),typeof _=="string"&&(a.innerHTML=_,_=a.children[0])):e.isElement?_=Jt("swiper-slide"):_=Jt("div",e.params.slideClass),_.setAttribute("data-swiper-slide-index",y),E.renderSlide||(_.innerHTML=m),E.cache&&(e.virtual.cache[y]=_),_}function u(m,y){const{slidesPerView:E,slidesPerGroup:_,centeredSlides:S,loop:v,initialSlide:A}=e.params;if(y&&!v&&A>0)return;const{addSlidesBefore:k,addSlidesAfter:x}=e.params.virtual,{from:D,to:N,slides:B,slidesGrid:q,offset:K}=e.virtual;e.params.cssMode||e.updateActiveIndex();const C=e.activeIndex||0;let M;e.rtlTranslate?M="right":M=e.isHorizontal()?"left":"top";let L,H;S?(L=Math.floor(E/2)+_+x,H=Math.floor(E/2)+_+k):(L=E+(_-1)+x,H=(v?E:_)+k);let G=C-H,z=C+L;v||(G=Math.max(G,0),z=Math.min(z,B.length-1));let F=(e.slidesGrid[G]||0)-(e.slidesGrid[0]||0);v&&C>=H?(G-=H,S||(F+=e.slidesGrid[0])):v&&C{ge.style[M]=`${F-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),s("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:F,from:G,to:z,slides:function(){const pe=[];for(let X=G;X<=z;X+=1)pe.push(B[X]);return pe}()}),e.params.virtual.renderExternalUpdate?ne():s("virtualUpdate");return}const ce=[],re=[],R=ge=>{let pe=ge;return ge<0?pe=B.length+ge:pe>=B.length&&(pe=pe-B.length),pe};if(m)e.slides.filter(ge=>ge.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(ge=>{ge.remove()});else for(let ge=D;ge<=N;ge+=1)if(gez){const pe=R(ge);e.slides.filter(X=>X.matches(`.${e.params.slideClass}[data-swiper-slide-index="${pe}"], swiper-slide[data-swiper-slide-index="${pe}"]`)).forEach(X=>{X.remove()})}const Q=v?-B.length:0,de=v?B.length*2:B.length;for(let ge=Q;ge=G&&ge<=z){const pe=R(ge);typeof N>"u"||m?re.push(pe):(ge>N&&re.push(pe),ge{e.slidesEl.append(l(B[ge],ge))}),v)for(let ge=ce.length-1;ge>=0;ge-=1){const pe=ce[ge];e.slidesEl.prepend(l(B[pe],pe))}else ce.sort((ge,pe)=>pe-ge),ce.forEach(ge=>{e.slidesEl.prepend(l(B[ge],ge))});vt(e.slidesEl,".swiper-slide, swiper-slide").forEach(ge=>{ge.style[M]=`${F-Math.abs(e.cssOverflowAdjustment())}px`}),ne()}function c(m){if(typeof m=="object"&&"length"in m)for(let y=0;y{const k=S[A],x=k.getAttribute("data-swiper-slide-index");x&&k.setAttribute("data-swiper-slide-index",parseInt(x,10)+_),v[parseInt(A,10)+_]=k}),e.virtual.cache=v}u(!0),e.slideTo(E,0)}function d(m){if(typeof m>"u"||m===null)return;let y=e.activeIndex;if(Array.isArray(m))for(let E=m.length-1;E>=0;E-=1)e.params.virtual.cache&&(delete e.virtual.cache[m[E]],Object.keys(e.virtual.cache).forEach(_=>{_>m&&(e.virtual.cache[_-1]=e.virtual.cache[_],e.virtual.cache[_-1].setAttribute("data-swiper-slide-index",_-1),delete e.virtual.cache[_])})),e.virtual.slides.splice(m[E],1),m[E]{E>m&&(e.virtual.cache[E-1]=e.virtual.cache[E],e.virtual.cache[E-1].setAttribute("data-swiper-slide-index",E-1),delete e.virtual.cache[E])})),e.virtual.slides.splice(m,1),m{if(!e.params.virtual.enabled)return;let m;if(typeof e.passedParams.virtual.slides>"u"){const y=[...e.slidesEl.children].filter(E=>E.matches(`.${e.params.slideClass}, swiper-slide`));y&&y.length&&(e.virtual.slides=[...y],m=!0,y.forEach((E,_)=>{E.setAttribute("data-swiper-slide-index",_),e.virtual.cache[_]=E,E.remove()}))}m||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,u(!1,!0)}),n("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(i),i=setTimeout(()=>{u()},100)):u())}),n("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Bo(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:c,prependSlide:f,removeSlide:d,removeAllSlides:g,update:u})}function Y6(t){let{swiper:e,extendParams:r,on:n,emit:s}=t;const i=_t(),o=ot();e.keyboard={enabled:!1},r({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function a(c){if(!e.enabled)return;const{rtlTranslate:f}=e;let d=c;d.originalEvent&&(d=d.originalEvent);const g=d.keyCode||d.charCode,m=e.params.keyboard.pageUpDown,y=m&&g===33,E=m&&g===34,_=g===37,S=g===39,v=g===38,A=g===40;if(!e.allowSlideNext&&(e.isHorizontal()&&S||e.isVertical()&&A||E)||!e.allowSlidePrev&&(e.isHorizontal()&&_||e.isVertical()&&v||y))return!1;if(!(d.shiftKey||d.altKey||d.ctrlKey||d.metaKey)&&!(i.activeElement&&i.activeElement.nodeName&&(i.activeElement.nodeName.toLowerCase()==="input"||i.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(y||E||_||S||v||A)){let k=!1;if(Hi(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&Hi(e.el,`.${e.params.slideActiveClass}`).length===0)return;const x=e.el,D=x.clientWidth,N=x.clientHeight,B=o.innerWidth,q=o.innerHeight,K=cu(x);f&&(K.left-=x.scrollLeft);const C=[[K.left,K.top],[K.left+D,K.top],[K.left,K.top+N],[K.left+D,K.top+N]];for(let M=0;M=0&&L[0]<=B&&L[1]>=0&&L[1]<=q){if(L[0]===0&&L[1]===0)continue;k=!0}}if(!k)return}e.isHorizontal()?((y||E||_||S)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),((E||S)&&!f||(y||_)&&f)&&e.slideNext(),((y||_)&&!f||(E||S)&&f)&&e.slidePrev()):((y||E||v||A)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),(E||A)&&e.slideNext(),(y||v)&&e.slidePrev()),s("keyPress",g)}}function l(){e.keyboard.enabled||(i.addEventListener("keydown",a),e.keyboard.enabled=!0)}function u(){e.keyboard.enabled&&(i.removeEventListener("keydown",a),e.keyboard.enabled=!1)}n("init",()=>{e.params.keyboard.enabled&&l()}),n("destroy",()=>{e.keyboard.enabled&&u()}),Object.assign(e.keyboard,{enable:l,disable:u})}function G6(t){let{swiper:e,extendParams:r,on:n,emit:s}=t;const i=ot();r({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let o,a=ar(),l;const u=[];function c(v){let D=0,N=0,B=0,q=0;return"detail"in v&&(N=v.detail),"wheelDelta"in v&&(N=-v.wheelDelta/120),"wheelDeltaY"in v&&(N=-v.wheelDeltaY/120),"wheelDeltaX"in v&&(D=-v.wheelDeltaX/120),"axis"in v&&v.axis===v.HORIZONTAL_AXIS&&(D=N,N=0),B=D*10,q=N*10,"deltaY"in v&&(q=v.deltaY),"deltaX"in v&&(B=v.deltaX),v.shiftKey&&!B&&(B=q,q=0),(B||q)&&v.deltaMode&&(v.deltaMode===1?(B*=40,q*=40):(B*=800,q*=800)),B&&!D&&(D=B<1?-1:1),q&&!N&&(N=q<1?-1:1),{spinX:D,spinY:N,pixelX:B,pixelY:q}}function f(){e.enabled&&(e.mouseEntered=!0)}function d(){e.enabled&&(e.mouseEntered=!1)}function g(v){return e.params.mousewheel.thresholdDelta&&v.delta=6&&ar()-a<60?!0:(v.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),s("scroll",v.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),s("scroll",v.raw)),a=new i.Date().getTime(),!1)}function m(v){const A=e.params.mousewheel;if(v.direction<0){if(e.isEnd&&!e.params.loop&&A.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&A.releaseOnEdges)return!0;return!1}function y(v){let A=v,k=!0;if(!e.enabled||v.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const x=e.params.mousewheel;e.params.cssMode&&A.preventDefault();let D=e.el;e.params.mousewheel.eventsTarget!=="container"&&(D=document.querySelector(e.params.mousewheel.eventsTarget));const N=D&&D.contains(A.target);if(!e.mouseEntered&&!N&&!x.releaseOnEdges)return!0;A.originalEvent&&(A=A.originalEvent);let B=0;const q=e.rtlTranslate?-1:1,K=c(A);if(x.forceToAxis)if(e.isHorizontal())if(Math.abs(K.pixelX)>Math.abs(K.pixelY))B=-K.pixelX*q;else return!0;else if(Math.abs(K.pixelY)>Math.abs(K.pixelX))B=-K.pixelY;else return!0;else B=Math.abs(K.pixelX)>Math.abs(K.pixelY)?-K.pixelX*q:-K.pixelY;if(B===0)return!0;x.invert&&(B=-B);let C=e.getTranslate()+B*x.sensitivity;if(C>=e.minTranslate()&&(C=e.minTranslate()),C<=e.maxTranslate()&&(C=e.maxTranslate()),k=e.params.loop?!0:!(C===e.minTranslate()||C===e.maxTranslate()),k&&e.params.nested&&A.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const M={time:ar(),delta:Math.abs(B),direction:Math.sign(B),raw:v};u.length>=2&&u.shift();const L=u.length?u[u.length-1]:void 0;if(u.push(M),L?(M.direction!==L.direction||M.delta>L.delta||M.time>L.time+150)&&g(M):g(M),m(M))return!0}else{const M={time:ar(),delta:Math.abs(B),direction:Math.sign(B)},L=l&&M.time=e.minTranslate()&&(H=e.minTranslate()),H<=e.maxTranslate()&&(H=e.maxTranslate()),e.setTransition(0),e.setTranslate(H),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!G&&e.isBeginning||!z&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:M.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(o),o=void 0,u.length>=15&&u.shift();const F=u.length?u[u.length-1]:void 0,ne=u[0];if(u.push(M),F&&(M.delta>F.delta||M.direction!==F.direction))u.splice(0);else if(u.length>=15&&M.time-ne.time<500&&ne.delta-M.delta>=1&&M.delta<=6){const ce=B>0?.8:.2;l=M,u.splice(0),o=Xi(()=>{e.slideToClosest(e.params.speed,!0,void 0,ce)},0)}o||(o=Xi(()=>{l=M,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(L||s("scroll",A),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),x.releaseOnEdges&&(H===e.minTranslate()||H===e.maxTranslate()))return!0}}return A.preventDefault?A.preventDefault():A.returnValue=!1,!1}function E(v){let A=e.el;e.params.mousewheel.eventsTarget!=="container"&&(A=document.querySelector(e.params.mousewheel.eventsTarget)),A[v]("mouseenter",f),A[v]("mouseleave",d),A[v]("wheel",y)}function _(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",y),!0):e.mousewheel.enabled?!1:(E("addEventListener"),e.mousewheel.enabled=!0,!0)}function S(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,y),!0):e.mousewheel.enabled?(E("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&S(),e.params.mousewheel.enabled&&_()}),n("destroy",()=>{e.params.cssMode&&_(),e.mousewheel.enabled&&S()}),Object.assign(e.mousewheel,{enable:_,disable:S})}function Ug(t,e,r,n){return t.params.createElements&&Object.keys(n).forEach(s=>{if(!r[s]&&r.auto===!0){let i=vt(t.el,`.${n[s]}`)[0];i||(i=Jt("div",n[s]),i.className=n[s],t.el.append(i)),r[s]=i,e[s]=i}}),r}function K6(t){let{swiper:e,extendParams:r,on:n,emit:s}=t;r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function i(m){let y;return m&&typeof m=="string"&&e.isElement&&(y=e.el.querySelector(m),y)?y:(m&&(typeof m=="string"&&(y=[...document.querySelectorAll(m)]),e.params.uniqueNavElements&&typeof m=="string"&&y&&y.length>1&&e.el.querySelectorAll(m).length===1?y=e.el.querySelector(m):y&&y.length===1&&(y=y[0])),m&&!y?m:y)}function o(m,y){const E=e.params.navigation;m=$e(m),m.forEach(_=>{_&&(_.classList[y?"add":"remove"](...E.disabledClass.split(" ")),_.tagName==="BUTTON"&&(_.disabled=y),e.params.watchOverflow&&e.enabled&&_.classList[e.isLocked?"add":"remove"](E.lockClass))})}function a(){const{nextEl:m,prevEl:y}=e.navigation;if(e.params.loop){o(y,!1),o(m,!1);return}o(y,e.isBeginning&&!e.params.rewind),o(m,e.isEnd&&!e.params.rewind)}function l(m){m.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),s("navigationPrev"))}function u(m){m.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),s("navigationNext"))}function c(){const m=e.params.navigation;if(e.params.navigation=Ug(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(m.nextEl||m.prevEl))return;let y=i(m.nextEl),E=i(m.prevEl);Object.assign(e.navigation,{nextEl:y,prevEl:E}),y=$e(y),E=$e(E);const _=(S,v)=>{S&&S.addEventListener("click",v==="next"?u:l),!e.enabled&&S&&S.classList.add(...m.lockClass.split(" "))};y.forEach(S=>_(S,"next")),E.forEach(S=>_(S,"prev"))}function f(){let{nextEl:m,prevEl:y}=e.navigation;m=$e(m),y=$e(y);const E=(_,S)=>{_.removeEventListener("click",S==="next"?u:l),_.classList.remove(...e.params.navigation.disabledClass.split(" "))};m.forEach(_=>E(_,"next")),y.forEach(_=>E(_,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?g():(c(),a())}),n("toEdge fromEdge lock unlock",()=>{a()}),n("destroy",()=>{f()}),n("enable disable",()=>{let{nextEl:m,prevEl:y}=e.navigation;if(m=$e(m),y=$e(y),e.enabled){a();return}[...m,...y].filter(E=>!!E).forEach(E=>E.classList.add(e.params.navigation.lockClass))}),n("click",(m,y)=>{let{nextEl:E,prevEl:_}=e.navigation;E=$e(E),_=$e(_);const S=y.target;let v=_.includes(S)||E.includes(S);if(e.isElement&&!v){const A=y.path||y.composedPath&&y.composedPath();A&&(v=A.find(k=>E.includes(k)||_.includes(k)))}if(e.params.navigation.hideOnClick&&!v){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===S||e.pagination.el.contains(S)))return;let A;E.length?A=E[0].classList.contains(e.params.navigation.hiddenClass):_.length&&(A=_[0].classList.contains(e.params.navigation.hiddenClass)),s(A===!0?"navigationShow":"navigationHide"),[...E,..._].filter(k=>!!k).forEach(k=>k.classList.toggle(e.params.navigation.hiddenClass))}});const d=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),a()},g=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(e.navigation,{enable:d,disable:g,update:a,init:c,destroy:f})}function sn(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function X6(t){let{swiper:e,extendParams:r,on:n,emit:s}=t;const i="swiper-pagination";r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:_=>_,formatFractionTotal:_=>_,bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),e.pagination={el:null,bullets:[]};let o,a=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(_,S){const{bulletActiveClass:v}=e.params.pagination;_&&(_=_[`${S==="prev"?"previous":"next"}ElementSibling`],_&&(_.classList.add(`${v}-${S}`),_=_[`${S==="prev"?"previous":"next"}ElementSibling`],_&&_.classList.add(`${v}-${S}-${S}`)))}function c(_){const S=_.target.closest(sn(e.params.pagination.bulletClass));if(!S)return;_.preventDefault();const v=la(S)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===v)return;e.slideToLoop(v)}else e.slideTo(v)}function f(){const _=e.rtl,S=e.params.pagination;if(l())return;let v=e.pagination.el;v=$e(v);let A,k;const x=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,D=e.params.loop?Math.ceil(x/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(k=e.previousRealIndex||0,A=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(A=e.snapIndex,k=e.previousSnapIndex):(k=e.previousIndex||0,A=e.activeIndex||0),S.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const N=e.pagination.bullets;let B,q,K;if(S.dynamicBullets&&(o=Gh(N[0],e.isHorizontal()?"width":"height"),v.forEach(C=>{C.style[e.isHorizontal()?"width":"height"]=`${o*(S.dynamicMainBullets+4)}px`}),S.dynamicMainBullets>1&&k!==void 0&&(a+=A-(k||0),a>S.dynamicMainBullets-1?a=S.dynamicMainBullets-1:a<0&&(a=0)),B=Math.max(A-a,0),q=B+(Math.min(N.length,S.dynamicMainBullets)-1),K=(q+B)/2),N.forEach(C=>{const M=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(L=>`${S.bulletActiveClass}${L}`)].map(L=>typeof L=="string"&&L.includes(" ")?L.split(" "):L).flat();C.classList.remove(...M)}),v.length>1)N.forEach(C=>{const M=la(C);M===A?C.classList.add(...S.bulletActiveClass.split(" ")):e.isElement&&C.setAttribute("part","bullet"),S.dynamicBullets&&(M>=B&&M<=q&&C.classList.add(...`${S.bulletActiveClass}-main`.split(" ")),M===B&&u(C,"prev"),M===q&&u(C,"next"))});else{const C=N[A];if(C&&C.classList.add(...S.bulletActiveClass.split(" ")),e.isElement&&N.forEach((M,L)=>{M.setAttribute("part",L===A?"bullet-active":"bullet")}),S.dynamicBullets){const M=N[B],L=N[q];for(let H=B;H<=q;H+=1)N[H]&&N[H].classList.add(...`${S.bulletActiveClass}-main`.split(" "));u(M,"prev"),u(L,"next")}}if(S.dynamicBullets){const C=Math.min(N.length,S.dynamicMainBullets+4),M=(o*C-o)/2-K*o,L=_?"right":"left";N.forEach(H=>{H.style[e.isHorizontal()?L:"top"]=`${M}px`})}}v.forEach((N,B)=>{if(S.type==="fraction"&&(N.querySelectorAll(sn(S.currentClass)).forEach(q=>{q.textContent=S.formatFractionCurrent(A+1)}),N.querySelectorAll(sn(S.totalClass)).forEach(q=>{q.textContent=S.formatFractionTotal(D)})),S.type==="progressbar"){let q;S.progressbarOpposite?q=e.isHorizontal()?"vertical":"horizontal":q=e.isHorizontal()?"horizontal":"vertical";const K=(A+1)/D;let C=1,M=1;q==="horizontal"?C=K:M=K,N.querySelectorAll(sn(S.progressbarFillClass)).forEach(L=>{L.style.transform=`translate3d(0,0,0) scaleX(${C}) scaleY(${M})`,L.style.transitionDuration=`${e.params.speed}ms`})}S.type==="custom"&&S.renderCustom?(N.innerHTML=S.renderCustom(e,A+1,D),B===0&&s("paginationRender",N)):(B===0&&s("paginationRender",N),s("paginationUpdate",N)),e.params.watchOverflow&&e.enabled&&N.classList[e.isLocked?"add":"remove"](S.lockClass)})}function d(){const _=e.params.pagination;if(l())return;const S=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let v=e.pagination.el;v=$e(v);let A="";if(_.type==="bullets"){let k=e.params.loop?Math.ceil(S/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&k>S&&(k=S);for(let x=0;x`}_.type==="fraction"&&(_.renderFraction?A=_.renderFraction.call(e,_.currentClass,_.totalClass):A=` / `),_.type==="progressbar"&&(_.renderProgressbar?A=_.renderProgressbar.call(e,_.progressbarFillClass):A=``),e.pagination.bullets=[],v.forEach(k=>{_.type!=="custom"&&(k.innerHTML=A||""),_.type==="bullets"&&e.pagination.bullets.push(...k.querySelectorAll(sn(_.bulletClass)))}),_.type!=="custom"&&s("paginationRender",v[0])}function g(){e.params.pagination=Ug(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const _=e.params.pagination;if(!_.el)return;let S;typeof _.el=="string"&&e.isElement&&(S=e.el.querySelector(_.el)),!S&&typeof _.el=="string"&&(S=[...document.querySelectorAll(_.el)]),S||(S=_.el),!(!S||S.length===0)&&(e.params.uniqueNavElements&&typeof _.el=="string"&&Array.isArray(S)&&S.length>1&&(S=[...e.el.querySelectorAll(_.el)],S.length>1&&(S=S.filter(v=>Hi(v,".swiper")[0]===e.el)[0])),Array.isArray(S)&&S.length===1&&(S=S[0]),Object.assign(e.pagination,{el:S}),S=$e(S),S.forEach(v=>{_.type==="bullets"&&_.clickable&&v.classList.add(...(_.clickableClass||"").split(" ")),v.classList.add(_.modifierClass+_.type),v.classList.add(e.isHorizontal()?_.horizontalClass:_.verticalClass),_.type==="bullets"&&_.dynamicBullets&&(v.classList.add(`${_.modifierClass}${_.type}-dynamic`),a=0,_.dynamicMainBullets<1&&(_.dynamicMainBullets=1)),_.type==="progressbar"&&_.progressbarOpposite&&v.classList.add(_.progressbarOppositeClass),_.clickable&&v.addEventListener("click",c),e.enabled||v.classList.add(_.lockClass)}))}function m(){const _=e.params.pagination;if(l())return;let S=e.pagination.el;S&&(S=$e(S),S.forEach(v=>{v.classList.remove(_.hiddenClass),v.classList.remove(_.modifierClass+_.type),v.classList.remove(e.isHorizontal()?_.horizontalClass:_.verticalClass),_.clickable&&(v.classList.remove(...(_.clickableClass||"").split(" ")),v.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(v=>v.classList.remove(..._.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const _=e.params.pagination;let{el:S}=e.pagination;S=$e(S),S.forEach(v=>{v.classList.remove(_.horizontalClass,_.verticalClass),v.classList.add(e.isHorizontal()?_.horizontalClass:_.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?E():(g(),d(),f())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&f()}),n("snapIndexChange",()=>{f()}),n("snapGridLengthChange",()=>{d(),f()}),n("destroy",()=>{m()}),n("enable disable",()=>{let{el:_}=e.pagination;_&&(_=$e(_),_.forEach(S=>S.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{f()}),n("click",(_,S)=>{const v=S.target,A=$e(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&A&&A.length>0&&!v.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&v===e.navigation.nextEl||e.navigation.prevEl&&v===e.navigation.prevEl))return;const k=A[0].classList.contains(e.params.pagination.hiddenClass);s(k===!0?"paginationShow":"paginationHide"),A.forEach(x=>x.classList.toggle(e.params.pagination.hiddenClass))}});const y=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:_}=e.pagination;_&&(_=$e(_),_.forEach(S=>S.classList.remove(e.params.pagination.paginationDisabledClass))),g(),d(),f()},E=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:_}=e.pagination;_&&(_=$e(_),_.forEach(S=>S.classList.add(e.params.pagination.paginationDisabledClass))),m()};Object.assign(e.pagination,{enable:y,disable:E,render:d,update:f,init:g,destroy:m})}function Q6(t){let{swiper:e,extendParams:r,on:n,emit:s}=t;const i=_t();let o=!1,a=null,l=null,u,c,f,d;r({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:C,rtlTranslate:M}=e,{dragEl:L,el:H}=C,G=e.params.scrollbar,z=e.params.loop?e.progressLoop:e.progress;let F=c,ne=(f-c)*z;M?(ne=-ne,ne>0?(F=c-ne,ne=0):-ne+c>f&&(F=f+ne)):ne<0?(F=c+ne,ne=0):ne+c>f&&(F=f-ne),e.isHorizontal()?(L.style.transform=`translate3d(${ne}px, 0, 0)`,L.style.width=`${F}px`):(L.style.transform=`translate3d(0px, ${ne}px, 0)`,L.style.height=`${F}px`),G.hide&&(clearTimeout(a),H.style.opacity=1,a=setTimeout(()=>{H.style.opacity=0,H.style.transitionDuration="400ms"},1e3))}function m(C){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${C}ms`)}function y(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:C}=e,{dragEl:M,el:L}=C;M.style.width="",M.style.height="",f=e.isHorizontal()?L.offsetWidth:L.offsetHeight,d=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=f*d:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?M.style.width=`${c}px`:M.style.height=`${c}px`,d>=1?L.style.display="none":L.style.display="",e.params.scrollbar.hide&&(L.style.opacity=0),e.params.watchOverflow&&e.enabled&&C.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function E(C){return e.isHorizontal()?C.clientX:C.clientY}function _(C){const{scrollbar:M,rtlTranslate:L}=e,{el:H}=M;let G;G=(E(C)-cu(H)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(f-c),G=Math.max(Math.min(G,1),0),L&&(G=1-G);const z=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*G;e.updateProgress(z),e.setTranslate(z),e.updateActiveIndex(),e.updateSlidesClasses()}function S(C){const M=e.params.scrollbar,{scrollbar:L,wrapperEl:H}=e,{el:G,dragEl:z}=L;o=!0,u=C.target===z?E(C)-C.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,C.preventDefault(),C.stopPropagation(),H.style.transitionDuration="100ms",z.style.transitionDuration="100ms",_(C),clearTimeout(l),G.style.transitionDuration="0ms",M.hide&&(G.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),s("scrollbarDragStart",C)}function v(C){const{scrollbar:M,wrapperEl:L}=e,{el:H,dragEl:G}=M;o&&(C.preventDefault&&C.cancelable?C.preventDefault():C.returnValue=!1,_(C),L.style.transitionDuration="0ms",H.style.transitionDuration="0ms",G.style.transitionDuration="0ms",s("scrollbarDragMove",C))}function A(C){const M=e.params.scrollbar,{scrollbar:L,wrapperEl:H}=e,{el:G}=L;o&&(o=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",H.style.transitionDuration=""),M.hide&&(clearTimeout(l),l=Xi(()=>{G.style.opacity=0,G.style.transitionDuration="400ms"},1e3)),s("scrollbarDragEnd",C),M.snapOnRelease&&e.slideToClosest())}function k(C){const{scrollbar:M,params:L}=e,H=M.el;if(!H)return;const G=H,z=L.passiveListeners?{passive:!1,capture:!1}:!1,F=L.passiveListeners?{passive:!0,capture:!1}:!1;if(!G)return;const ne=C==="on"?"addEventListener":"removeEventListener";G[ne]("pointerdown",S,z),i[ne]("pointermove",v,z),i[ne]("pointerup",A,F)}function x(){!e.params.scrollbar.el||!e.scrollbar.el||k("on")}function D(){!e.params.scrollbar.el||!e.scrollbar.el||k("off")}function N(){const{scrollbar:C,el:M}=e;e.params.scrollbar=Ug(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const L=e.params.scrollbar;if(!L.el)return;let H;if(typeof L.el=="string"&&e.isElement&&(H=e.el.querySelector(L.el)),!H&&typeof L.el=="string"){if(H=i.querySelectorAll(L.el),!H.length)return}else H||(H=L.el);e.params.uniqueNavElements&&typeof L.el=="string"&&H.length>1&&M.querySelectorAll(L.el).length===1&&(H=M.querySelector(L.el)),H.length>0&&(H=H[0]),H.classList.add(e.isHorizontal()?L.horizontalClass:L.verticalClass);let G;H&&(G=H.querySelector(sn(e.params.scrollbar.dragClass)),G||(G=Jt("div",e.params.scrollbar.dragClass),H.append(G))),Object.assign(C,{el:H,dragEl:G}),L.draggable&&x(),H&&H.classList[e.enabled?"remove":"add"](...zn(e.params.scrollbar.lockClass))}function B(){const C=e.params.scrollbar,M=e.scrollbar.el;M&&M.classList.remove(...zn(e.isHorizontal()?C.horizontalClass:C.verticalClass)),D()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const C=e.params.scrollbar;let{el:M}=e.scrollbar;M=$e(M),M.forEach(L=>{L.classList.remove(C.horizontalClass,C.verticalClass),L.classList.add(e.isHorizontal()?C.horizontalClass:C.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?K():(N(),y(),g())}),n("update resize observerUpdate lock unlock changeDirection",()=>{y()}),n("setTranslate",()=>{g()}),n("setTransition",(C,M)=>{m(M)}),n("enable disable",()=>{const{el:C}=e.scrollbar;C&&C.classList[e.enabled?"remove":"add"](...zn(e.params.scrollbar.lockClass))}),n("destroy",()=>{B()});const q=()=>{e.el.classList.remove(...zn(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...zn(e.params.scrollbar.scrollbarDisabledClass)),N(),y(),g()},K=()=>{e.el.classList.add(...zn(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...zn(e.params.scrollbar.scrollbarDisabledClass)),B()};Object.assign(e.scrollbar,{enable:q,disable:K,updateSize:y,setTranslate:g,init:N,destroy:B})}function J6(t){let{swiper:e,extendParams:r,on:n}=t;r({parallax:{enabled:!1}});const s="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",i=(l,u)=>{const{rtl:c}=e,f=c?-1:1,d=l.getAttribute("data-swiper-parallax")||"0";let g=l.getAttribute("data-swiper-parallax-x"),m=l.getAttribute("data-swiper-parallax-y");const y=l.getAttribute("data-swiper-parallax-scale"),E=l.getAttribute("data-swiper-parallax-opacity"),_=l.getAttribute("data-swiper-parallax-rotate");if(g||m?(g=g||"0",m=m||"0"):e.isHorizontal()?(g=d,m="0"):(m=d,g="0"),g.indexOf("%")>=0?g=`${parseInt(g,10)*u*f}%`:g=`${g*u*f}px`,m.indexOf("%")>=0?m=`${parseInt(m,10)*u}%`:m=`${m*u}px`,typeof E<"u"&&E!==null){const v=E-(E-1)*(1-Math.abs(u));l.style.opacity=v}let S=`translate3d(${g}, ${m}, 0px)`;if(typeof y<"u"&&y!==null){const v=y-(y-1)*(1-Math.abs(u));S+=` scale(${v})`}if(_&&typeof _<"u"&&_!==null){const v=_*u*-1;S+=` rotate(${v}deg)`}l.style.transform=S},o=()=>{const{el:l,slides:u,progress:c,snapGrid:f,isElement:d}=e,g=vt(l,s);e.isElement&&g.push(...vt(e.hostEl,s)),g.forEach(m=>{i(m,c)}),u.forEach((m,y)=>{let E=m.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(E+=Math.ceil(y/2)-c*(f.length-1)),E=Math.min(Math.max(E,-1),1),m.querySelectorAll(`${s}, [data-swiper-parallax-rotate]`).forEach(_=>{i(_,E)})})},a=function(l){l===void 0&&(l=e.params.speed);const{el:u,hostEl:c}=e,f=[...u.querySelectorAll(s)];e.isElement&&f.push(...c.querySelectorAll(s)),f.forEach(d=>{let g=parseInt(d.getAttribute("data-swiper-parallax-duration"),10)||l;l===0&&(g=0),d.style.transitionDuration=`${g}ms`})};n("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),n("init",()=>{e.params.parallax.enabled&&o()}),n("setTranslate",()=>{e.params.parallax.enabled&&o()}),n("setTransition",(l,u)=>{e.params.parallax.enabled&&a(u)})}function Z6(t){let{swiper:e,extendParams:r,on:n,emit:s}=t;const i=ot();r({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let o=1,a=!1,l,u;const c=[],f={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},d={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},g={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let m=1;Object.defineProperty(e.zoom,"scale",{get(){return m},set(re){if(m!==re){const R=f.imageEl,Q=f.slideEl;s("zoomChange",re,R,Q)}m=re}});function y(){if(c.length<2)return 1;const re=c[0].pageX,R=c[0].pageY,Q=c[1].pageX,de=c[1].pageY;return Math.sqrt((Q-re)**2+(de-R)**2)}function E(){const re=e.params.zoom,R=f.imageWrapEl.getAttribute("data-swiper-zoom")||re.maxRatio;if(re.limitToOriginalSize&&f.imageEl&&f.imageEl.naturalWidth){const Q=f.imageEl.naturalWidth/f.imageEl.offsetWidth;return Math.min(Q,R)}return R}function _(){if(c.length<2)return{x:null,y:null};const re=f.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-re.x-i.scrollX)/o,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-re.y-i.scrollY)/o]}function S(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function v(re){const R=S();return!!(re.target.matches(R)||e.slides.filter(Q=>Q.contains(re.target)).length>0)}function A(re){const R=`.${e.params.zoom.containerClass}`;return!!(re.target.matches(R)||[...e.hostEl.querySelectorAll(R)].filter(Q=>Q.contains(re.target)).length>0)}function k(re){if(re.pointerType==="mouse"&&c.splice(0,c.length),!v(re))return;const R=e.params.zoom;if(l=!1,u=!1,c.push(re),!(c.length<2)){if(l=!0,f.scaleStart=y(),!f.slideEl){f.slideEl=re.target.closest(`.${e.params.slideClass}, swiper-slide`),f.slideEl||(f.slideEl=e.slides[e.activeIndex]);let Q=f.slideEl.querySelector(`.${R.containerClass}`);if(Q&&(Q=Q.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=Q,Q?f.imageWrapEl=Hi(f.imageEl,`.${R.containerClass}`)[0]:f.imageWrapEl=void 0,!f.imageWrapEl){f.imageEl=void 0;return}f.maxRatio=E()}if(f.imageEl){const[Q,de]=_();f.originX=Q,f.originY=de,f.imageEl.style.transitionDuration="0ms"}a=!0}}function x(re){if(!v(re))return;const R=e.params.zoom,Q=e.zoom,de=c.findIndex(ge=>ge.pointerId===re.pointerId);de>=0&&(c[de]=re),!(c.length<2)&&(u=!0,f.scaleMove=y(),f.imageEl&&(Q.scale=f.scaleMove/f.scaleStart*o,Q.scale>f.maxRatio&&(Q.scale=f.maxRatio-1+(Q.scale-f.maxRatio+1)**.5),Q.scalege.pointerId===re.pointerId);de>=0&&c.splice(de,1),!(!l||!u)&&(l=!1,u=!1,f.imageEl&&(Q.scale=Math.max(Math.min(Q.scale,f.maxRatio),R.minRatio),f.imageEl.style.transitionDuration=`${e.params.speed}ms`,f.imageEl.style.transform=`translate3d(0,0,0) scale(${Q.scale})`,o=Q.scale,a=!1,Q.scale>1&&f.slideEl?f.slideEl.classList.add(`${R.zoomedSlideClass}`):Q.scale<=1&&f.slideEl&&f.slideEl.classList.remove(`${R.zoomedSlideClass}`),Q.scale===1&&(f.originX=0,f.originY=0,f.slideEl=void 0)))}let N;function B(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function q(){clearTimeout(N),e.touchEventsData.preventTouchMoveFromPointerMove=!0,N=setTimeout(()=>{B()})}function K(re){const R=e.device;if(!f.imageEl||d.isTouched)return;R.android&&re.cancelable&&re.preventDefault(),d.isTouched=!0;const Q=c.length>0?c[0]:re;d.touchesStart.x=Q.pageX,d.touchesStart.y=Q.pageY}function C(re){if(!v(re)||!A(re))return;const R=e.zoom;if(!f.imageEl||!d.isTouched||!f.slideEl)return;d.isMoved||(d.width=f.imageEl.offsetWidth||f.imageEl.clientWidth,d.height=f.imageEl.offsetHeight||f.imageEl.clientHeight,d.startX=Yh(f.imageWrapEl,"x")||0,d.startY=Yh(f.imageWrapEl,"y")||0,f.slideWidth=f.slideEl.offsetWidth,f.slideHeight=f.slideEl.offsetHeight,f.imageWrapEl.style.transitionDuration="0ms");const Q=d.width*R.scale,de=d.height*R.scale;if(d.minX=Math.min(f.slideWidth/2-Q/2,0),d.maxX=-d.minX,d.minY=Math.min(f.slideHeight/2-de/2,0),d.maxY=-d.minY,d.touchesCurrent.x=c.length>0?c[0].pageX:re.pageX,d.touchesCurrent.y=c.length>0?c[0].pageY:re.pageY,Math.max(Math.abs(d.touchesCurrent.x-d.touchesStart.x),Math.abs(d.touchesCurrent.y-d.touchesStart.y))>5&&(e.allowClick=!1),!d.isMoved&&!a){if(e.isHorizontal()&&(Math.floor(d.minX)===Math.floor(d.startX)&&d.touchesCurrent.xd.touchesStart.x)){d.isTouched=!1,B();return}if(!e.isHorizontal()&&(Math.floor(d.minY)===Math.floor(d.startY)&&d.touchesCurrent.yd.touchesStart.y)){d.isTouched=!1,B();return}}re.cancelable&&re.preventDefault(),re.stopPropagation(),q(),d.isMoved=!0;const pe=(R.scale-o)/(f.maxRatio-e.params.zoom.minRatio),{originX:X,originY:Y}=f;d.currentX=d.touchesCurrent.x-d.touchesStart.x+d.startX+pe*(d.width-X*2),d.currentY=d.touchesCurrent.y-d.touchesStart.y+d.startY+pe*(d.height-Y*2),d.currentXd.maxX&&(d.currentX=d.maxX-1+(d.currentX-d.maxX+1)**.8),d.currentYd.maxY&&(d.currentY=d.maxY-1+(d.currentY-d.maxY+1)**.8),g.prevPositionX||(g.prevPositionX=d.touchesCurrent.x),g.prevPositionY||(g.prevPositionY=d.touchesCurrent.y),g.prevTime||(g.prevTime=Date.now()),g.x=(d.touchesCurrent.x-g.prevPositionX)/(Date.now()-g.prevTime)/2,g.y=(d.touchesCurrent.y-g.prevPositionY)/(Date.now()-g.prevTime)/2,Math.abs(d.touchesCurrent.x-g.prevPositionX)<2&&(g.x=0),Math.abs(d.touchesCurrent.y-g.prevPositionY)<2&&(g.y=0),g.prevPositionX=d.touchesCurrent.x,g.prevPositionY=d.touchesCurrent.y,g.prevTime=Date.now(),f.imageWrapEl.style.transform=`translate3d(${d.currentX}px, ${d.currentY}px,0)`}function M(){const re=e.zoom;if(!f.imageEl)return;if(!d.isTouched||!d.isMoved){d.isTouched=!1,d.isMoved=!1;return}d.isTouched=!1,d.isMoved=!1;let R=300,Q=300;const de=g.x*R,ge=d.currentX+de,pe=g.y*Q,X=d.currentY+pe;g.x!==0&&(R=Math.abs((ge-d.currentX)/g.x)),g.y!==0&&(Q=Math.abs((X-d.currentY)/g.y));const Y=Math.max(R,Q);d.currentX=ge,d.currentY=X;const ie=d.width*re.scale,be=d.height*re.scale;d.minX=Math.min(f.slideWidth/2-ie/2,0),d.maxX=-d.minX,d.minY=Math.min(f.slideHeight/2-be/2,0),d.maxY=-d.minY,d.currentX=Math.max(Math.min(d.currentX,d.maxX),d.minX),d.currentY=Math.max(Math.min(d.currentY,d.maxY),d.minY),f.imageWrapEl.style.transitionDuration=`${Y}ms`,f.imageWrapEl.style.transform=`translate3d(${d.currentX}px, ${d.currentY}px,0)`}function L(){const re=e.zoom;f.slideEl&&e.activeIndex!==e.slides.indexOf(f.slideEl)&&(f.imageEl&&(f.imageEl.style.transform="translate3d(0,0,0) scale(1)"),f.imageWrapEl&&(f.imageWrapEl.style.transform="translate3d(0,0,0)"),f.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),re.scale=1,o=1,f.slideEl=void 0,f.imageEl=void 0,f.imageWrapEl=void 0,f.originX=0,f.originY=0)}function H(re){const R=e.zoom,Q=e.params.zoom;if(!f.slideEl){re&&re.target&&(f.slideEl=re.target.closest(`.${e.params.slideClass}, swiper-slide`)),f.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.slideEl=vt(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:f.slideEl=e.slides[e.activeIndex]);let ae=f.slideEl.querySelector(`.${Q.containerClass}`);ae&&(ae=ae.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=ae,ae?f.imageWrapEl=Hi(f.imageEl,`.${Q.containerClass}`)[0]:f.imageWrapEl=void 0}if(!f.imageEl||!f.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),f.slideEl.classList.add(`${Q.zoomedSlideClass}`);let de,ge,pe,X,Y,ie,be,he,ue,I,P,O,j,W,le,fe,V,te;typeof d.touchesStart.x>"u"&&re?(de=re.pageX,ge=re.pageY):(de=d.touchesStart.x,ge=d.touchesStart.y);const $=typeof re=="number"?re:null;o===1&&$&&(de=void 0,ge=void 0);const J=E();R.scale=$||J,o=$||J,re&&!(o===1&&$)?(V=f.slideEl.offsetWidth,te=f.slideEl.offsetHeight,pe=cu(f.slideEl).left+i.scrollX,X=cu(f.slideEl).top+i.scrollY,Y=pe+V/2-de,ie=X+te/2-ge,ue=f.imageEl.offsetWidth||f.imageEl.clientWidth,I=f.imageEl.offsetHeight||f.imageEl.clientHeight,P=ue*R.scale,O=I*R.scale,j=Math.min(V/2-P/2,0),W=Math.min(te/2-O/2,0),le=-j,fe=-W,be=Y*R.scale,he=ie*R.scale,bele&&(be=le),hefe&&(he=fe)):(be=0,he=0),$&&R.scale===1&&(f.originX=0,f.originY=0),f.imageWrapEl.style.transitionDuration="300ms",f.imageWrapEl.style.transform=`translate3d(${be}px, ${he}px,0)`,f.imageEl.style.transitionDuration="300ms",f.imageEl.style.transform=`translate3d(0,0,0) scale(${R.scale})`}function G(){const re=e.zoom,R=e.params.zoom;if(!f.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.slideEl=vt(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:f.slideEl=e.slides[e.activeIndex];let Q=f.slideEl.querySelector(`.${R.containerClass}`);Q&&(Q=Q.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=Q,Q?f.imageWrapEl=Hi(f.imageEl,`.${R.containerClass}`)[0]:f.imageWrapEl=void 0}!f.imageEl||!f.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),re.scale=1,o=1,f.imageWrapEl.style.transitionDuration="300ms",f.imageWrapEl.style.transform="translate3d(0,0,0)",f.imageEl.style.transitionDuration="300ms",f.imageEl.style.transform="translate3d(0,0,0) scale(1)",f.slideEl.classList.remove(`${R.zoomedSlideClass}`),f.slideEl=void 0,f.originX=0,f.originY=0)}function z(re){const R=e.zoom;R.scale&&R.scale!==1?G():H(re)}function F(){const re=e.params.passiveListeners?{passive:!0,capture:!1}:!1,R=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:re,activeListenerWithCapture:R}}function ne(){const re=e.zoom;if(re.enabled)return;re.enabled=!0;const{passiveListener:R,activeListenerWithCapture:Q}=F();e.wrapperEl.addEventListener("pointerdown",k,R),e.wrapperEl.addEventListener("pointermove",x,Q),["pointerup","pointercancel","pointerout"].forEach(de=>{e.wrapperEl.addEventListener(de,D,R)}),e.wrapperEl.addEventListener("pointermove",C,Q)}function ce(){const re=e.zoom;if(!re.enabled)return;re.enabled=!1;const{passiveListener:R,activeListenerWithCapture:Q}=F();e.wrapperEl.removeEventListener("pointerdown",k,R),e.wrapperEl.removeEventListener("pointermove",x,Q),["pointerup","pointercancel","pointerout"].forEach(de=>{e.wrapperEl.removeEventListener(de,D,R)}),e.wrapperEl.removeEventListener("pointermove",C,Q)}n("init",()=>{e.params.zoom.enabled&&ne()}),n("destroy",()=>{ce()}),n("touchStart",(re,R)=>{e.zoom.enabled&&K(R)}),n("touchEnd",(re,R)=>{e.zoom.enabled&&M()}),n("doubleTap",(re,R)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&z(R)}),n("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&L()}),n("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&L()}),Object.assign(e.zoom,{enable:ne,disable:ce,in:H,out:G,toggle:z})}function ej(t){let{swiper:e,extendParams:r,on:n}=t;r({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function s(u,c){const f=function(){let y,E,_;return(S,v)=>{for(E=-1,y=S.length;y-E>1;)_=y+E>>1,S[_]<=v?E=_:y=_;return y}}();this.x=u,this.y=c,this.lastIndex=u.length-1;let d,g;return this.interpolate=function(y){return y?(g=f(this.x,y),d=g-1,(y-this.x[d])*(this.y[g]-this.y[d])/(this.x[g]-this.x[d])+this.y[d]):0},this}function i(u){e.controller.spline=e.params.loop?new s(e.slidesGrid,u.slidesGrid):new s(e.snapGrid,u.snapGrid)}function o(u,c){const f=e.controller.control;let d,g;const m=e.constructor;function y(E){if(E.destroyed)return;const _=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(i(E),g=-e.controller.spline.interpolate(-_)),(!g||e.params.controller.by==="container")&&(d=(E.maxTranslate()-E.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(d)||!Number.isFinite(d))&&(d=1),g=(_-e.minTranslate())*d+E.minTranslate()),e.params.controller.inverse&&(g=E.maxTranslate()-g),E.updateProgress(g),E.setTranslate(g,e),E.updateActiveIndex(),E.updateSlidesClasses()}if(Array.isArray(f))for(let E=0;E{y.updateAutoHeight()}),Go(y.wrapperEl,()=>{d&&y.transitionEnd()})))}if(Array.isArray(d))for(g=0;g{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){const u=document.querySelector(e.params.controller.control);if(u&&u.swiper)e.controller.control=u.swiper;else if(u){const c=f=>{e.controller.control=f.detail[0],e.update(),u.removeEventListener("init",c)};u.addEventListener("init",c)}return}e.controller.control=e.params.controller.control}),n("update",()=>{l()}),n("resize",()=>{l()}),n("observerUpdate",()=>{l()}),n("setTranslate",(u,c,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(c,f)}),n("setTransition",(u,c,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(c,f)}),Object.assign(e.controller,{setTranslate:o,setTransition:a})}function tj(t){let{swiper:e,extendParams:r,on:n}=t;r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let s=null,i,o,a=new Date().getTime();function l(z){const F=s;F.length!==0&&(F.innerHTML="",F.innerHTML=z)}function u(z){const F=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(z).replace(/x/g,F)}function c(z){z=$e(z),z.forEach(F=>{F.setAttribute("tabIndex","0")})}function f(z){z=$e(z),z.forEach(F=>{F.setAttribute("tabIndex","-1")})}function d(z,F){z=$e(z),z.forEach(ne=>{ne.setAttribute("role",F)})}function g(z,F){z=$e(z),z.forEach(ne=>{ne.setAttribute("aria-roledescription",F)})}function m(z,F){z=$e(z),z.forEach(ne=>{ne.setAttribute("aria-controls",F)})}function y(z,F){z=$e(z),z.forEach(ne=>{ne.setAttribute("aria-label",F)})}function E(z,F){z=$e(z),z.forEach(ne=>{ne.setAttribute("id",F)})}function _(z,F){z=$e(z),z.forEach(ne=>{ne.setAttribute("aria-live",F)})}function S(z){z=$e(z),z.forEach(F=>{F.setAttribute("aria-disabled",!0)})}function v(z){z=$e(z),z.forEach(F=>{F.setAttribute("aria-disabled",!1)})}function A(z){if(z.keyCode!==13&&z.keyCode!==32)return;const F=e.params.a11y,ne=z.target;if(!(e.pagination&&e.pagination.el&&(ne===e.pagination.el||e.pagination.el.contains(z.target))&&!z.target.matches(sn(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const ce=$e(e.navigation.prevEl);$e(e.navigation.nextEl).includes(ne)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?l(F.lastSlideMessage):l(F.nextSlideMessage)),ce.includes(ne)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?l(F.firstSlideMessage):l(F.prevSlideMessage))}e.pagination&&ne.matches(sn(e.params.pagination.bulletClass))&&ne.click()}}function k(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:z,prevEl:F}=e.navigation;F&&(e.isBeginning?(S(F),f(F)):(v(F),c(F))),z&&(e.isEnd?(S(z),f(z)):(v(z),c(z)))}function x(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function D(){return x()&&e.params.pagination.clickable}function N(){const z=e.params.a11y;x()&&e.pagination.bullets.forEach(F=>{e.params.pagination.clickable&&(c(F),e.params.pagination.renderBullet||(d(F,"button"),y(F,z.paginationBulletMessage.replace(/\{\{index\}\}/,la(F)+1)))),F.matches(sn(e.params.pagination.bulletActiveClass))?F.setAttribute("aria-current","true"):F.removeAttribute("aria-current")})}const B=(z,F,ne)=>{c(z),z.tagName!=="BUTTON"&&(d(z,"button"),z.addEventListener("keydown",A)),y(z,ne),m(z,F)},q=z=>{o&&o!==z.target&&!o.contains(z.target)&&(i=!0),e.a11y.clicked=!0},K=()=>{i=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},C=z=>{a=new Date().getTime()},M=z=>{if(e.a11y.clicked||new Date().getTime()-a<100)return;const F=z.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!F||!e.slides.includes(F))return;o=F;const ne=e.slides.indexOf(F)===e.activeIndex,ce=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(F);ne||ce||z.sourceCapabilities&&z.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{i||(e.params.loop?e.slideToLoop(parseInt(F.getAttribute("data-swiper-slide-index")),0):e.slideTo(e.slides.indexOf(F),0),i=!1)}))},L=()=>{const z=e.params.a11y;z.itemRoleDescriptionMessage&&g(e.slides,z.itemRoleDescriptionMessage),z.slideRole&&d(e.slides,z.slideRole);const F=e.slides.length;z.slideLabelMessage&&e.slides.forEach((ne,ce)=>{const re=e.params.loop?parseInt(ne.getAttribute("data-swiper-slide-index"),10):ce,R=z.slideLabelMessage.replace(/\{\{index\}\}/,re+1).replace(/\{\{slidesLength\}\}/,F);y(ne,R)})},H=()=>{const z=e.params.a11y;e.el.append(s);const F=e.el;z.containerRoleDescriptionMessage&&g(F,z.containerRoleDescriptionMessage),z.containerMessage&&y(F,z.containerMessage);const ne=e.wrapperEl,ce=z.id||ne.getAttribute("id")||`swiper-wrapper-${u(16)}`,re=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";E(ne,ce),_(ne,re),L();let{nextEl:R,prevEl:Q}=e.navigation?e.navigation:{};R=$e(R),Q=$e(Q),R&&R.forEach(ge=>B(ge,ce,z.nextSlideMessage)),Q&&Q.forEach(ge=>B(ge,ce,z.prevSlideMessage)),D()&&$e(e.pagination.el).forEach(pe=>{pe.addEventListener("keydown",A)}),_t().addEventListener("visibilitychange",C),e.el.addEventListener("focus",M,!0),e.el.addEventListener("focus",M,!0),e.el.addEventListener("pointerdown",q,!0),e.el.addEventListener("pointerup",K,!0)};function G(){s&&s.remove();let{nextEl:z,prevEl:F}=e.navigation?e.navigation:{};z=$e(z),F=$e(F),z&&z.forEach(ce=>ce.removeEventListener("keydown",A)),F&&F.forEach(ce=>ce.removeEventListener("keydown",A)),D()&&$e(e.pagination.el).forEach(re=>{re.removeEventListener("keydown",A)}),_t().removeEventListener("visibilitychange",C),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",M,!0),e.el.removeEventListener("pointerdown",q,!0),e.el.removeEventListener("pointerup",K,!0))}n("beforeInit",()=>{s=Jt("span",e.params.a11y.notificationClass),s.setAttribute("aria-live","assertive"),s.setAttribute("aria-atomic","true")}),n("afterInit",()=>{e.params.a11y.enabled&&H()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&L()}),n("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&k()}),n("paginationUpdate",()=>{e.params.a11y.enabled&&N()}),n("destroy",()=>{e.params.a11y.enabled&&G()})}function rj(t){let{swiper:e,extendParams:r,on:n}=t;r({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let s=!1,i={};const o=g=>g.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=g=>{const m=ot();let y;g?y=new URL(g):y=m.location;const E=y.pathname.slice(1).split("/").filter(A=>A!==""),_=E.length,S=E[_-2],v=E[_-1];return{key:S,value:v}},l=(g,m)=>{const y=ot();if(!s||!e.params.history.enabled)return;let E;e.params.url?E=new URL(e.params.url):E=y.location;const _=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${m}"]`):e.slides[m];let S=o(_.getAttribute("data-history"));if(e.params.history.root.length>0){let A=e.params.history.root;A[A.length-1]==="/"&&(A=A.slice(0,A.length-1)),S=`${A}/${g?`${g}/`:""}${S}`}else E.pathname.includes(g)||(S=`${g?`${g}/`:""}${S}`);e.params.history.keepQuery&&(S+=E.search);const v=y.history.state;v&&v.value===S||(e.params.history.replaceState?y.history.replaceState({value:S},null,S):y.history.pushState({value:S},null,S))},u=(g,m,y)=>{if(m)for(let E=0,_=e.slides.length;E<_;E+=1){const S=e.slides[E];if(o(S.getAttribute("data-history"))===m){const A=e.getSlideIndex(S);e.slideTo(A,g,y)}}else e.slideTo(0,g,y)},c=()=>{i=a(e.params.url),u(e.params.speed,i.value,!1)},f=()=>{const g=ot();if(e.params.history){if(!g.history||!g.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(s=!0,i=a(e.params.url),!i.key&&!i.value){e.params.history.replaceState||g.addEventListener("popstate",c);return}u(0,i.value,e.params.runCallbacksOnInit),e.params.history.replaceState||g.addEventListener("popstate",c)}},d=()=>{const g=ot();e.params.history.replaceState||g.removeEventListener("popstate",c)};n("init",()=>{e.params.history.enabled&&f()}),n("destroy",()=>{e.params.history.enabled&&d()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{s&&l(e.params.history.key,e.activeIndex)}),n("slideChange",()=>{s&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)})}function nj(t){let{swiper:e,extendParams:r,emit:n,on:s}=t,i=!1;const o=_t(),a=ot();r({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(d,g){if(e.virtual&&e.params.virtual.enabled){const m=e.slides.filter(E=>E.getAttribute("data-hash")===g)[0];return m?parseInt(m.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(vt(e.slidesEl,`.${e.params.slideClass}[data-hash="${g}"], swiper-slide[data-hash="${g}"]`)[0])}}});const l=()=>{n("hashChange");const d=o.location.hash.replace("#",""),g=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],m=g?g.getAttribute("data-hash"):"";if(d!==m){const y=e.params.hashNavigation.getSlideIndex(e,d);if(typeof y>"u"||Number.isNaN(y))return;e.slideTo(y)}},u=()=>{if(!i||!e.params.hashNavigation.enabled)return;const d=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],g=d?d.getAttribute("data-hash")||d.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&a.history&&a.history.replaceState?(a.history.replaceState(null,null,`#${g}`||""),n("hashSet")):(o.location.hash=g||"",n("hashSet"))},c=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;i=!0;const d=o.location.hash.replace("#","");if(d){const m=e.params.hashNavigation.getSlideIndex(e,d);e.slideTo(m||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&a.addEventListener("hashchange",l)},f=()=>{e.params.hashNavigation.watchState&&a.removeEventListener("hashchange",l)};s("init",()=>{e.params.hashNavigation.enabled&&c()}),s("destroy",()=>{e.params.hashNavigation.enabled&&f()}),s("transitionEnd _freeModeNoMomentumRelease",()=>{i&&u()}),s("slideChange",()=>{i&&e.params.cssMode&&u()})}function ij(t){let{swiper:e,extendParams:r,on:n,emit:s,params:i}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,a,l=i&&i.autoplay?i.autoplay.delay:3e3,u=i&&i.autoplay?i.autoplay.delay:3e3,c,f=new Date().getTime(),d,g,m,y,E,_,S;function v(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",v),!(S||F.detail&&F.detail.bySwiperTouchMove)&&q())}const A=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?d=!0:d&&(u=c,d=!1);const F=e.autoplay.paused?c:f+u-new Date().getTime();e.autoplay.timeLeft=F,s("autoplayTimeLeft",F,F/l),a=requestAnimationFrame(()=>{A()})},k=()=>{let F;return e.virtual&&e.params.virtual.enabled?F=e.slides.filter(ce=>ce.classList.contains("swiper-slide-active"))[0]:F=e.slides[e.activeIndex],F?parseInt(F.getAttribute("data-swiper-autoplay"),10):void 0},x=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),A();let ne=typeof F>"u"?e.params.autoplay.delay:F;l=e.params.autoplay.delay,u=e.params.autoplay.delay;const ce=k();!Number.isNaN(ce)&&ce>0&&typeof F>"u"&&(ne=ce,l=ce,u=ce),c=ne;const re=e.params.speed,R=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(re,!0,!0),s("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,re,!0,!0),s("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(re,!0,!0),s("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,re,!0,!0),s("autoplay")),e.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{x()})))};return ne>0?(clearTimeout(o),o=setTimeout(()=>{R()},ne)):requestAnimationFrame(()=>{R()}),ne},D=()=>{f=new Date().getTime(),e.autoplay.running=!0,x(),s("autoplayStart")},N=()=>{e.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(a),s("autoplayStop")},B=(F,ne)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(o),F||(_=!0);const ce=()=>{s("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",v):q()};if(e.autoplay.paused=!0,ne){E&&(c=e.params.autoplay.delay),E=!1,ce();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),ce())},q=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),_?(_=!1,x(c)):x(),e.autoplay.paused=!1,s("autoplayResume"))},K=()=>{if(e.destroyed||!e.autoplay.running)return;const F=_t();F.visibilityState==="hidden"&&(_=!0,B(!0)),F.visibilityState==="visible"&&q()},C=F=>{F.pointerType==="mouse"&&(_=!0,S=!0,!(e.animating||e.autoplay.paused)&&B(!0))},M=F=>{F.pointerType==="mouse"&&(S=!1,e.autoplay.paused&&q())},L=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",C),e.el.addEventListener("pointerleave",M))},H=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",C),e.el.removeEventListener("pointerleave",M))},G=()=>{_t().addEventListener("visibilitychange",K)},z=()=>{_t().removeEventListener("visibilitychange",K)};n("init",()=>{e.params.autoplay.enabled&&(L(),G(),D())}),n("destroy",()=>{H(),z(),e.autoplay.running&&N()}),n("_freeModeStaticRelease",()=>{(m||_)&&q()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?N():B(!0,!0)}),n("beforeTransitionStart",(F,ne,ce)=>{e.destroyed||!e.autoplay.running||(ce||!e.params.autoplay.disableOnInteraction?B(!0,!0):N())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){N();return}g=!0,m=!1,_=!1,y=setTimeout(()=>{_=!0,m=!0,B(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!g)){if(clearTimeout(y),clearTimeout(o),e.params.autoplay.disableOnInteraction){m=!1,g=!1;return}m&&e.params.cssMode&&q(),m=!1,g=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(E=!0)}),Object.assign(e.autoplay,{start:D,stop:N,pause:B,resume:q})}function sj(t){let{swiper:e,extendParams:r,on:n}=t;r({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let s=!1,i=!1;e.thumbs={swiper:null};function o(){const u=e.thumbs.swiper;if(!u||u.destroyed)return;const c=u.clickedIndex,f=u.clickedSlide;if(f&&f.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof c>"u"||c===null)return;let d;u.params.loop?d=parseInt(u.clickedSlide.getAttribute("data-swiper-slide-index"),10):d=c,e.params.loop?e.slideToLoop(d):e.slideTo(d)}function a(){const{thumbs:u}=e.params;if(s)return!1;s=!0;const c=e.constructor;if(u.swiper instanceof c)e.thumbs.swiper=u.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update();else if(Do(u.swiper)){const f=Object.assign({},u.swiper);Object.assign(f,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new c(f),i=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",o),!0}function l(u){const c=e.thumbs.swiper;if(!c||c.destroyed)return;const f=c.params.slidesPerView==="auto"?c.slidesPerViewDynamic():c.params.slidesPerView;let d=1;const g=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(d=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(d=1),d=Math.floor(d),c.slides.forEach(E=>E.classList.remove(g)),c.params.loop||c.params.virtual&&c.params.virtual.enabled)for(let E=0;E{_.classList.add(g)});else for(let E=0;EA.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];_=c.slides.indexOf(v),S=e.activeIndex>e.previousIndex?"next":"prev"}else _=e.realIndex,S=_>e.previousIndex?"next":"prev";y&&(_+=S==="next"?m:-1*m),c.visibleSlidesIndexes&&c.visibleSlidesIndexes.indexOf(_)<0&&(c.params.centeredSlides?_>E?_=_-Math.floor(f/2)+1:_=_+Math.floor(f/2)-1:_>E&&c.params.slidesPerGroup,c.slideTo(_,u?0:void 0))}}n("beforeInit",()=>{const{thumbs:u}=e.params;if(!(!u||!u.swiper))if(typeof u.swiper=="string"||u.swiper instanceof HTMLElement){const c=_t(),f=()=>{const g=typeof u.swiper=="string"?c.querySelector(u.swiper):u.swiper;if(g&&g.swiper)u.swiper=g.swiper,a(),l(!0);else if(g){const m=y=>{u.swiper=y.detail[0],g.removeEventListener("init",m),a(),l(!0),u.swiper.update(),e.update()};g.addEventListener("init",m)}return g},d=()=>{if(e.destroyed)return;f()||requestAnimationFrame(d)};requestAnimationFrame(d)}else a(),l(!0)}),n("slideChange update resize observerUpdate",()=>{l()}),n("setTransition",(u,c)=>{const f=e.thumbs.swiper;!f||f.destroyed||f.setTransition(c)}),n("beforeDestroy",()=>{const u=e.thumbs.swiper;!u||u.destroyed||i&&u.destroy()}),Object.assign(e.thumbs,{init:a,update:l})}function oj(t){let{swiper:e,extendParams:r,emit:n,once:s}=t;r({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function i(){if(e.params.cssMode)return;const l=e.getTranslate();e.setTranslate(l),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function o(){if(e.params.cssMode)return;const{touchEventsData:l,touches:u}=e;l.velocities.length===0&&l.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:l.touchStartTime}),l.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:ar()})}function a(l){let{currentPos:u}=l;if(e.params.cssMode)return;const{params:c,wrapperEl:f,rtlTranslate:d,snapGrid:g,touchEventsData:m}=e,E=ar()-m.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length1){const N=m.velocities.pop(),B=m.velocities.pop(),q=N.position-B.position,K=N.time-B.time;e.velocity=q/K,e.velocity/=2,Math.abs(e.velocity)150||ar()-N.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,m.velocities.length=0;let _=1e3*c.freeMode.momentumRatio;const S=e.velocity*_;let v=e.translate+S;d&&(v=-v);let A=!1,k;const x=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let D;if(ve.minTranslate())c.freeMode.momentumBounce?(v-e.minTranslate()>x&&(v=e.minTranslate()+x),k=e.minTranslate(),A=!0,m.allowMomentumBounce=!0):v=e.minTranslate(),c.loop&&c.centeredSlides&&(D=!0);else if(c.freeMode.sticky){let N;for(let B=0;B-v){N=B;break}Math.abs(g[N]-v){e.loopFix()}),e.velocity!==0){if(d?_=Math.abs((-v-e.translate)/e.velocity):_=Math.abs((v-e.translate)/e.velocity),c.freeMode.sticky){const N=Math.abs((d?-v:v)-e.translate),B=e.slidesSizesGrid[e.activeIndex];N{!e||e.destroyed||!m.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(k),Go(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(v),e.setTransition(_),e.setTranslate(v),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Go(f,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(v),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||E>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:i,onTouchMove:o,onTouchEnd:a}})}function aj(t){let{swiper:e,extendParams:r,on:n}=t;r({grid:{rows:1,fill:"column"}});let s,i,o,a;const l=()=>{let y=e.params.spaceBetween;return typeof y=="string"&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*e.size:typeof y=="string"&&(y=parseFloat(y)),y},u=y=>{const{slidesPerView:E}=e.params,{rows:_,fill:S}=e.params.grid,v=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:y.length;o=Math.floor(v/_),Math.floor(v/_)===v/_?s=v:s=Math.ceil(v/_)*_,E!=="auto"&&S==="row"&&(s=Math.max(s,E*_)),i=s/_},c=()=>{e.slides&&e.slides.forEach(y=>{y.swiperSlideGridSet&&(y.style.height="",y.style[e.getDirectionLabel("margin-top")]="")})},f=(y,E,_)=>{const{slidesPerGroup:S}=e.params,v=l(),{rows:A,fill:k}=e.params.grid,x=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:_.length;let D,N,B;if(k==="row"&&S>1){const q=Math.floor(y/(S*A)),K=y-A*S*q,C=q===0?S:Math.min(Math.ceil((x-q*A*S)/A),S);B=Math.floor(K/C),N=K-B*C+q*S,D=N+B*s/A,E.style.order=D}else k==="column"?(N=Math.floor(y/A),B=y-N*A,(N>o||N===o&&B===A-1)&&(B+=1,B>=A&&(B=0,N+=1))):(B=Math.floor(y/i),N=y-B*i);E.row=B,E.column=N,E.style.height=`calc((100% - ${(A-1)*v}px) / ${A})`,E.style[e.getDirectionLabel("margin-top")]=B!==0?v&&`${v}px`:"",E.swiperSlideGridSet=!0},d=(y,E)=>{const{centeredSlides:_,roundLengths:S}=e.params,v=l(),{rows:A}=e.params.grid;if(e.virtualSize=(y+v)*s,e.virtualSize=Math.ceil(e.virtualSize/A)-v,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+v}px`),_){const k=[];for(let x=0;x{a=e.params.grid&&e.params.grid.rows>1},m=()=>{const{params:y,el:E}=e,_=y.grid&&y.grid.rows>1;a&&!_?(E.classList.remove(`${y.containerModifierClass}grid`,`${y.containerModifierClass}grid-column`),o=1,e.emitContainerClasses()):!a&&_&&(E.classList.add(`${y.containerModifierClass}grid`),y.grid.fill==="column"&&E.classList.add(`${y.containerModifierClass}grid-column`),e.emitContainerClasses()),a=_};n("init",g),n("update",m),e.grid={initSlides:u,unsetSlides:c,updateSlide:f,updateWrapperSize:d}}function lj(t){const e=this,{params:r,slidesEl:n}=e;r.loop&&e.loopDestroy();const s=i=>{if(typeof i=="string"){const o=document.createElement("div");o.innerHTML=i,n.append(o.children[0]),o.innerHTML=""}else n.append(i)};if(typeof t=="object"&&"length"in t)for(let i=0;i{if(typeof a=="string"){const l=document.createElement("div");l.innerHTML=a,s.prepend(l.children[0]),l.innerHTML=""}else s.prepend(a)};if(typeof t=="object"&&"length"in t){for(let a=0;a=a){r.appendSlide(e);return}let l=o>t?o+1:o;const u=[];for(let c=a-1;c>=t;c-=1){const f=r.slides[c];f.remove(),u.unshift(f)}if(typeof e=="object"&&"length"in e){for(let c=0;ct?o+e.length:o}else i.append(e);for(let c=0;c{if(r.params.effect!==e)return;r.classNames.push(`${r.params.containerModifierClass}${e}`),a&&a()&&r.classNames.push(`${r.params.containerModifierClass}3d`);const f=o?o():{};Object.assign(r.params,f),Object.assign(r.originalParams,f)}),n("setTranslate",()=>{r.params.effect===e&&s()}),n("setTransition",(f,d)=>{r.params.effect===e&&i(d)}),n("transitionEnd",()=>{if(r.params.effect===e&&l){if(!u||!u().slideShadows)return;r.slides.forEach(f=>{f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>d.remove())}),l()}});let c;n("virtualUpdate",()=>{r.params.effect===e&&(r.slides.length||(c=!0),requestAnimationFrame(()=>{c&&r.slides&&r.slides.length&&(s(),c=!1)}))})}function Ca(t,e){const r=cs(e);return r!==e&&(r.style.backfaceVisibility="hidden",r.style["-webkit-backface-visibility"]="hidden"),r}function lc(t){let{swiper:e,duration:r,transformElements:n,allSlides:s}=t;const{activeIndex:i}=e,o=a=>a.parentElement?a.parentElement:e.slides.filter(u=>u.shadowRoot&&u.shadowRoot===a.parentNode)[0];if(e.params.virtualTranslate&&r!==0){let a=!1,l;s?l=n:l=n.filter(u=>{const c=u.classList.contains("swiper-slide-transform")?o(u):u;return e.getSlideIndex(c)===i}),l.forEach(u=>{Go(u,()=>{if(a||!e||e.destroyed)return;a=!0,e.animating=!1;const c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(c)})})}}function pj(t){let{swiper:e,extendParams:r,on:n}=t;r({fadeEffect:{crossFade:!1}}),co({effect:"fade",swiper:e,on:n,setTranslate:()=>{const{slides:o}=e,a=e.params.fadeEffect;for(let l=0;l{const a=e.slides.map(l=>cs(l));a.forEach(l=>{l.style.transitionDuration=`${o}ms`}),lc({swiper:e,duration:o,transformElements:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function gj(t){let{swiper:e,extendParams:r,on:n}=t;r({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const s=(l,u,c)=>{let f=c?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),d=c?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");f||(f=Jt("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"left":"top"}`.split(" ")),l.append(f)),d||(d=Jt("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"right":"bottom"}`.split(" ")),l.append(d)),f&&(f.style.opacity=Math.max(-u,0)),d&&(d.style.opacity=Math.max(u,0))};co({effect:"cube",swiper:e,on:n,setTranslate:()=>{const{el:l,wrapperEl:u,slides:c,width:f,height:d,rtlTranslate:g,size:m,browser:y}=e,E=e.params.cubeEffect,_=e.isHorizontal(),S=e.virtual&&e.params.virtual.enabled;let v=0,A;E.shadow&&(_?(A=e.wrapperEl.querySelector(".swiper-cube-shadow"),A||(A=Jt("div","swiper-cube-shadow"),e.wrapperEl.append(A)),A.style.height=`${f}px`):(A=l.querySelector(".swiper-cube-shadow"),A||(A=Jt("div","swiper-cube-shadow"),l.append(A))));for(let x=0;x-1&&(v=N*90+K*90,g&&(v=-N*90-K*90),e.browser&&e.browser.need3dFix&&Math.abs(v)/90%2===1&&(v+=.001)),D.style.transform=H,E.slideShadows&&s(D,K,_)}if(u.style.transformOrigin=`50% 50% -${m/2}px`,u.style["-webkit-transform-origin"]=`50% 50% -${m/2}px`,E.shadow)if(_)A.style.transform=`translate3d(0px, ${f/2+E.shadowOffset}px, ${-f/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${E.shadowScale})`;else{const x=Math.abs(v)-Math.floor(Math.abs(v)/90)*90,D=1.5-(Math.sin(x*2*Math.PI/360)/2+Math.cos(x*2*Math.PI/360)/2),N=E.shadowScale,B=E.shadowScale/D,q=E.shadowOffset;A.style.transform=`scale3d(${N}, 1, ${B}) translate3d(0px, ${d/2+q}px, ${-d/2/B}px) rotateX(-89.99deg)`}const k=(y.isSafari||y.isWebView)&&y.needPerspectiveFix?-m/2:0;u.style.transform=`translate3d(0px,0,${k}px) rotateX(${e.isHorizontal()?0:v}deg) rotateY(${e.isHorizontal()?-v:0}deg)`,u.style.setProperty("--swiper-cube-translate-z",`${k}px`)},setTransition:l=>{const{el:u,slides:c}=e;if(c.forEach(f=>{f.style.transitionDuration=`${l}ms`,f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>{d.style.transitionDuration=`${l}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const f=u.querySelector(".swiper-cube-shadow");f&&(f.style.transitionDuration=`${l}ms`)}},recreateShadows:()=>{const l=e.isHorizontal();e.slides.forEach(u=>{const c=Math.max(Math.min(u.progress,1),-1);s(u,c,l)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Js(t,e,r){const n=`swiper-slide-shadow${r?`-${r}`:""}${t?` swiper-slide-shadow-${t}`:""}`,s=cs(e);let i=s.querySelector(`.${n.split(" ").join(".")}`);return i||(i=Jt("div",n.split(" ")),s.append(i)),i}function mj(t){let{swiper:e,extendParams:r,on:n}=t;r({flipEffect:{slideShadows:!0,limitRotation:!0}});const s=(l,u)=>{let c=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),f=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");c||(c=Js("flip",l,e.isHorizontal()?"left":"top")),f||(f=Js("flip",l,e.isHorizontal()?"right":"bottom")),c&&(c.style.opacity=Math.max(-u,0)),f&&(f.style.opacity=Math.max(u,0))};co({effect:"flip",swiper:e,on:n,setTranslate:()=>{const{slides:l,rtlTranslate:u}=e,c=e.params.flipEffect;for(let f=0;f{const u=e.slides.map(c=>cs(c));u.forEach(c=>{c.style.transitionDuration=`${l}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>{f.style.transitionDuration=`${l}ms`})}),lc({swiper:e,duration:l,transformElements:u})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(l=>{let u=l.progress;e.params.flipEffect.limitRotation&&(u=Math.max(Math.min(l.progress,1),-1)),s(l,u)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function bj(t){let{swiper:e,extendParams:r,on:n}=t;r({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),co({effect:"coverflow",swiper:e,on:n,setTranslate:()=>{const{width:o,height:a,slides:l,slidesSizesGrid:u}=e,c=e.params.coverflowEffect,f=e.isHorizontal(),d=e.translate,g=f?-d+o/2:-d+a/2,m=f?c.rotate:-c.rotate,y=c.depth;for(let E=0,_=l.length;E<_;E+=1){const S=l[E],v=u[E],A=S.swiperSlideOffset,k=(g-A-v/2)/v,x=typeof c.modifier=="function"?c.modifier(k):k*c.modifier;let D=f?m*x:0,N=f?0:m*x,B=-y*Math.abs(x),q=c.stretch;typeof q=="string"&&q.indexOf("%")!==-1&&(q=parseFloat(c.stretch)/100*v);let K=f?0:q*x,C=f?q*x:0,M=1-(1-c.scale)*Math.abs(x);Math.abs(C)<.001&&(C=0),Math.abs(K)<.001&&(K=0),Math.abs(B)<.001&&(B=0),Math.abs(D)<.001&&(D=0),Math.abs(N)<.001&&(N=0),Math.abs(M)<.001&&(M=0),e.browser&&e.browser.need3dFix&&(Math.abs(D)/90%2===1&&(D+=.001),Math.abs(N)/90%2===1&&(N+=.001));const L=`translate3d(${C}px,${K}px,${B}px) rotateX(${N}deg) rotateY(${D}deg) scale(${M})`,H=Ca(c,S);if(H.style.transform=L,S.style.zIndex=-Math.abs(Math.round(x))+1,c.slideShadows){let G=f?S.querySelector(".swiper-slide-shadow-left"):S.querySelector(".swiper-slide-shadow-top"),z=f?S.querySelector(".swiper-slide-shadow-right"):S.querySelector(".swiper-slide-shadow-bottom");G||(G=Js("coverflow",S,f?"left":"top")),z||(z=Js("coverflow",S,f?"right":"bottom")),G&&(G.style.opacity=x>0?x:0),z&&(z.style.opacity=-x>0?-x:0)}}},setTransition:o=>{e.slides.map(l=>cs(l)).forEach(l=>{l.style.transitionDuration=`${o}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${o}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function yj(t){let{swiper:e,extendParams:r,on:n}=t;r({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const s=a=>typeof a=="string"?a:`${a}px`;co({effect:"creative",swiper:e,on:n,setTranslate:()=>{const{slides:a,wrapperEl:l,slidesSizesGrid:u}=e,c=e.params.creativeEffect,{progressMultiplier:f}=c,d=e.params.centeredSlides;if(d){const g=u[0]/2-e.params.slidesOffsetBefore||0;l.style.transform=`translateX(calc(50% - ${g}px))`}for(let g=0;g0&&(x=c.prev,k=!0),v.forEach((M,L)=>{v[L]=`calc(${M}px + (${s(x.translate[L])} * ${Math.abs(E*f)}))`}),A.forEach((M,L)=>{let H=x.rotate[L]*Math.abs(E*f);e.browser&&e.browser.need3dFix&&Math.abs(H)/90%2===1&&(H+=.001),A[L]=H}),m.style.zIndex=-Math.abs(Math.round(y))+a.length;const D=v.join(", "),N=`rotateX(${A[0]}deg) rotateY(${A[1]}deg) rotateZ(${A[2]}deg)`,B=_<0?`scale(${1+(1-x.scale)*_*f})`:`scale(${1-(1-x.scale)*_*f})`,q=_<0?1+(1-x.opacity)*_*f:1-(1-x.opacity)*_*f,K=`translate3d(${D}) ${N} ${B}`;if(k&&x.shadow||!k){let M=m.querySelector(".swiper-slide-shadow");if(!M&&x.shadow&&(M=Js("creative",m)),M){const L=c.shadowPerProgress?E*(1/c.limitProgress):E;M.style.opacity=Math.min(Math.max(Math.abs(L),0),1)}}const C=Ca(c,m);C.style.transform=K,C.style.opacity=q,x.origin&&(C.style.transformOrigin=x.origin)}},setTransition:a=>{const l=e.slides.map(u=>cs(u));l.forEach(u=>{u.style.transitionDuration=`${a}ms`,u.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${a}ms`})}),lc({swiper:e,duration:a,transformElements:l,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function wj(t){let{swiper:e,extendParams:r,on:n}=t;r({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),co({effect:"cards",swiper:e,on:n,setTranslate:()=>{const{slides:o,activeIndex:a,rtlTranslate:l}=e,u=e.params.cardsEffect,{startTranslate:c,isTouched:f}=e.touchEventsData,d=l?-e.translate:e.translate;for(let g=0;g0&&E<1&&(f||e.params.cssMode)&&d-1&&(f||e.params.cssMode)&&d>c;if(B||q){const L=(1-Math.abs((Math.abs(E)-.5)/.5))**.5;x+=-28*E*L,k+=-.5*L,D+=96*L,v=`${-25*L*Math.abs(E)}%`}if(E<0?S=`calc(${S}px ${l?"-":"+"} (${D*Math.abs(E)}%))`:E>0?S=`calc(${S}px ${l?"-":"+"} (-${D*Math.abs(E)}%))`:S=`${S}px`,!e.isHorizontal()){const L=v;v=S,S=L}const K=E<0?`${1+(1-k)*E}`:`${1-(1-k)*E}`,C=` + translate3d(${S}, ${v}, ${A}px) + rotateZ(${u.rotate?l?-x:x:0}deg) + scale(${K}) + `;if(u.slideShadows){let L=m.querySelector(".swiper-slide-shadow");L||(L=Js("cards",m)),L&&(L.style.opacity=Math.min(Math.max((Math.abs(E)-.5)/.5,0),1))}m.style.zIndex=-Math.abs(Math.round(y))+o.length;const M=Ca(u,m);M.style.transform=C}},setTransition:o=>{const a=e.slides.map(l=>cs(l));a.forEach(l=>{l.style.transitionDuration=`${o}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(u=>{u.style.transitionDuration=`${o}ms`})}),lc({swiper:e,duration:o,transformElements:a})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const vj=[q6,Y6,G6,K6,X6,Q6,J6,Z6,ej,tj,rj,nj,ij,sj,oj,aj,hj,pj,gj,mj,bj,yj,wj];Kt.use(vj);const uc=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Zs(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function ip(t,e){const r=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>r.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:Zs(e[n])&&Zs(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:ip(t[n],e[n]):t[n]=e[n]})}function _j(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Ej(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Sj(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Ll(t){return t===void 0&&(t=""),t.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function Tj(t){let{swiper:e,slides:r,passedParams:n,changedParams:s,nextEl:i,prevEl:o,scrollbarEl:a,paginationEl:l}=t;const u=s.filter(B=>B!=="children"&&B!=="direction"&&B!=="wrapperClass"),{params:c,pagination:f,navigation:d,scrollbar:g,virtual:m,thumbs:y}=e;let E,_,S,v,A,k,x,D;s.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(E=!0),s.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(_=!0),s.includes("pagination")&&n.pagination&&(n.pagination.el||l)&&(c.pagination||c.pagination===!1)&&f&&!f.el&&(S=!0),s.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&g&&!g.el&&(v=!0),s.includes("navigation")&&n.navigation&&(n.navigation.prevEl||o)&&(n.navigation.nextEl||i)&&(c.navigation||c.navigation===!1)&&d&&!d.prevEl&&!d.nextEl&&(A=!0);const N=B=>{e[B]&&(e[B].destroy(),B==="navigation"?(e.isElement&&(e[B].prevEl.remove(),e[B].nextEl.remove()),c[B].prevEl=void 0,c[B].nextEl=void 0,e[B].prevEl=void 0,e[B].nextEl=void 0):(e.isElement&&e[B].el.remove(),c[B].el=void 0,e[B].el=void 0))};s.includes("loop")&&e.isElement&&(c.loop&&!n.loop?k=!0:!c.loop&&n.loop?x=!0:D=!0),u.forEach(B=>{if(Zs(c[B])&&Zs(n[B]))Object.assign(c[B],n[B]),(B==="navigation"||B==="pagination"||B==="scrollbar")&&"enabled"in n[B]&&!n[B].enabled&&N(B);else{const q=n[B];(q===!0||q===!1)&&(B==="navigation"||B==="pagination"||B==="scrollbar")?q===!1&&N(B):c[B]=n[B]}}),u.includes("controller")&&!_&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),s.includes("children")&&r&&m&&c.virtual.enabled?(m.slides=r,m.update(!0)):s.includes("virtual")&&m&&c.virtual.enabled&&(r&&(m.slides=r),m.update(!0)),s.includes("children")&&r&&c.loop&&(D=!0),E&&y.init()&&y.update(!0),_&&(e.controller.control=c.controller.control),S&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),e.el.appendChild(l)),l&&(c.pagination.el=l),f.init(),f.render(),f.update()),v&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(c.scrollbar.el=a),g.init(),g.updateSize(),g.setTranslate()),A&&(e.isElement&&((!i||typeof i=="string")&&(i=document.createElement("div"),i.classList.add("swiper-button-next"),i.innerHTML=e.hostEl.constructor.nextButtonSvg,i.part.add("button-next"),e.el.appendChild(i)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),o.innerHTML=e.hostEl.constructor.prevButtonSvg,o.part.add("button-prev"),e.el.appendChild(o))),i&&(c.navigation.nextEl=i),o&&(c.navigation.prevEl=o),d.init(),d.update()),s.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),s.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),s.includes("direction")&&e.changeDirection(n.direction,!1),(k||D)&&e.loopDestroy(),(x||D)&&e.loopCreate(),e.update()}const jy=t=>{if(parseFloat(t)===Number(t))return Number(t);if(t==="true"||t==="")return!0;if(t==="false")return!1;if(t==="null")return null;if(t!=="undefined"){if(typeof t=="string"&&t.includes("{")&&t.includes("}")&&t.includes('"')){let e;try{e=JSON.parse(t)}catch{e=t}return e}return t}},Wy=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function zy(t,e,r){const n={},s={};ip(n,Xh);const i=[...uc,"on"],o=i.map(l=>l.replace(/_/,""));i.forEach(l=>{l=l.replace("_",""),typeof t[l]<"u"&&(s[l]=t[l])});const a=[...t.attributes];return typeof e=="string"&&typeof r<"u"&&a.push({name:e,value:Zs(r)?{...r}:r}),a.forEach(l=>{const u=Wy.filter(c=>l.name.indexOf(`${c}-`)===0)[0];if(u){const c=Ll(u),f=Ll(l.name.split(`${u}-`)[1]);typeof s[c]>"u"&&(s[c]={}),s[c]===!0&&(s[c]={enabled:!0}),s[c][f]=jy(l.value)}else{const c=Ll(l.name);if(!o.includes(c))return;const f=jy(l.value);s[c]&&Wy.includes(l.name)&&!Zs(f)?(s[c].constructor!==Object&&(s[c]={}),s[c].enabled=!!f):s[c]=f}}),ip(n,s),n.navigation?n.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...n.navigation!==!0?n.navigation:{}}:n.navigation===!1&&delete n.navigation,n.scrollbar?n.scrollbar={el:".swiper-scrollbar",...n.scrollbar!==!0?n.scrollbar:{}}:n.scrollbar===!1&&delete n.scrollbar,n.pagination?n.pagination={el:".swiper-pagination",...n.pagination!==!0?n.pagination:{}}:n.pagination===!1&&delete n.pagination,{params:n,passedParams:s}}const xj=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",Aj="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}";class Cj{}const YS=typeof window>"u"||typeof HTMLElement>"u"?Cj:HTMLElement,Hy=` + `,GS=(t,e)=>{if(typeof CSSStyleSheet<"u"&&t.adoptedStyleSheets){const r=new CSSStyleSheet;r.replaceSync(e),t.adoptedStyleSheets=[r]}else{const r=document.createElement("style");r.rel="stylesheet",r.textContent=e,t.appendChild(r)}};class KS extends YS{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return Hy}static get prevButtonSvg(){return Hy.replace("/>",' transform-origin="center" transform="rotate(180)"/>')}cssStyles(){return[xj,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(` +`)}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const e=this.slideSlots||0,r=[...this.querySelectorAll("[slot^=slide-]")].map(n=>parseInt(n.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=r.length?Math.max(...r)+1:0,!!this.rendered){if(this.slideSlots>e)for(let n=e;n=0;s-=1)s>this.slideSlots&&n[s].remove()}}}render(){if(this.rendered)return;this.calcSlideSlots();let e=this.cssStyles();this.slideSlots>0&&(e=e.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),e.length&&GS(this.shadowRoot,e),this.cssLinks().forEach(n=>{if(this.shadowRoot.querySelector(`link[href="${n}"]`))return;const i=document.createElement("link");i.rel="stylesheet",i.href=n,this.shadowRoot.appendChild(i)});const r=document.createElement("div");r.classList.add("swiper"),r.part="container",r.innerHTML=` + +
+ + ${Array.from({length:this.slideSlots}).map((n,s)=>` + + + + `).join("")} +
+ + ${_j(this.passedParams)?` +
${this.constructor.prevButtonSvg}
+
${this.constructor.nextButtonSvg}
+ `:""} + ${Ej(this.passedParams)?` +
+ `:""} + ${Sj(this.passedParams)?` +
+ `:""} + `,this.shadowRoot.appendChild(r),this.rendered=!0}initialize(){var e=this;if(this.initialized)return;this.initialized=!0;const{params:r,passedParams:n}=zy(this);this.swiperParams=r,this.passedParams=n,delete this.swiperParams.init,this.render(),this.swiper=new Kt(this.shadowRoot.querySelector(".swiper"),{...r.virtual?{}:{observer:!0,observeSlideChildren:this.slideSlots>0},...r,touchEventsTarget:"container",onAny:function(s){s==="observerUpdate"&&e.calcSlideSlots();const i=r.eventsPrefix?`${r.eventsPrefix}${s.toLowerCase()}`:s.toLowerCase();for(var o=arguments.length,a=new Array(o>1?o-1:0),l=1;lr.includes("_")).map(r=>r.replace(/[A-Z]/g,n=>`-${n}`).replace("_","").toLowerCase())}}uc.forEach(t=>{t!=="init"&&(t=t.replace("_",""),Object.defineProperty(KS.prototype,t,{configurable:!0,get(){return(this.passedParams||{})[t]},set(e){this.passedParams||(this.passedParams={}),this.passedParams[t]=e,this.initialized&&this.updateSwiperOnPropChange(t,e)}}))});class Ij extends YS{constructor(){super(),this.attachShadow({mode:"open"})}render(){const e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(GS(this.shadowRoot,Aj),this.shadowRoot.appendChild(document.createElement("slot")),e){const r=document.createElement("div");r.classList.add("swiper-lazy-preloader"),r.part.add("preloader"),this.shadowRoot.appendChild(r)}}initialize(){this.render()}connectedCallback(){this.initialize()}}const h4=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",KS),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",Ij))};typeof window<"u"&&(window.SwiperElementRegisterParams=t=>{uc.push(...t)});export{Wj as $,$2 as A,f4 as B,Y2 as C,i4 as D,u4 as E,vr as F,s4 as G,n4 as H,L1 as I,t4 as J,wB as K,up as L,r4 as M,nx as N,Pj as O,kj as P,Nj as Q,Hj as R,d4 as S,e4 as T,Vj as U,qj as V,Uj as W,wc as X,aB as Y,Lj as Z,Yj as _,Rj as a,ox as a0,Gj as a1,h4 as a2,l4 as b,Zx as c,Bj as d,jj as e,zw as f,Uw as g,zj as h,$j as i,qT as j,Wx as k,Ar as l,Kj as m,cp as n,$w as o,c4 as p,Dj as q,bp as r,Ii as s,Oj as t,$T as u,U1 as v,Fj as w,Zj as x,a4 as y,o4 as z}; diff --git a/packages/modules/web_themes/colors/web/index.html b/packages/modules/web_themes/colors/web/index.html index 45e233f6c7..e9ee81e4b4 100644 --- a/packages/modules/web_themes/colors/web/index.html +++ b/packages/modules/web_themes/colors/web/index.html @@ -23,14 +23,13 @@ openWB - - - + + +
-