import { g as getContext, b as attr, f as store_get, u as unsubscribe_stores, p as pop, a as push } from "../../../../../../chunks/index.js";
import "financial";
function _page($$payload, $$props) {
  push();
  var $$store_subs;
  const _simulation = getContext("simulation");
  const inflationElec = _simulation.p.inflation_elec;
  const enedis = _simulation.p.enedis;
  const productible = _simulation.p.productible;
  const ratio = _simulation.p.ratio;
  const degradation = _simulation.p.degradation;
  const tauxDSRA = _simulation.p.taux_dsra;
  const inflation = _simulation.p.inflation;
  const tarif_cre = _simulation.p.tarif_cre;
  $$payload.out.push(`<div class="tab-pane fade show active p-3" id="expert-tab-pane" role="tabpanel" aria-labelledby="expert-tab" tabindex="0"><h3 class="my-3 fs-1 fw-bold">D'avantage de <span class="text-primary">réglages</span></h3> <div class="mt-5"><div class="mb-3"><label class="form-label" for="enedis">Coût de raccordement Enedis</label> <input class="form-control form-control-sm w-auto" type="number" id="enedis" min="0"${attr("value", store_get($$store_subs ??= {}, "$enedis", enedis))}/></div> <div class="mb-3"><label class="form-label" for="productible">Productible annuel (kWh/kWc)</label> <input class="form-control form-control-sm w-auto" type="number" id="productible" min="0"${attr("value", store_get($$store_subs ??= {}, "$productible", productible))}/></div> <div class="mb-3"><label class="form-label" for="ratio">Ratio installation (€/W)</label> <input class="form-control form-control-sm w-auto" type="number" id="ratio" min="0"${attr("value", store_get($$store_subs ??= {}, "$ratio", ratio))}/></div> <div class="mb-3"><label class="form-label" for="degradation">Taux de dégradation PV(%)</label> <input class="form-control form-control-sm w-auto" type="number" id="degradation" min="0"${attr("value", store_get($$store_subs ??= {}, "$degradation", degradation))}/></div> <div class="mb-3"><label class="form-label" for="dsra">Taux d'intérêt DSRA (%)</label> <input class="form-control form-control-sm w-auto" type="number" id="dsra" min="0" step="any"${attr("value", store_get($$store_subs ??= {}, "$tauxDSRA", tauxDSRA))}/></div> <div class="mb-3"><label class="form-label" for="inflation">Inflation tarif local</label> <input class="form-control form-control-sm w-auto" type="number" id="inflation" min="0"${attr("value", store_get($$store_subs ??= {}, "$inflation", inflation))}/></div> <div class="mb-3"><label class="form-label" for="inflationElec">Inflation nationale de l'électricité (%)</label> <input class="form-control form-control-sm w-auto" type="number"${attr("value", store_get($$store_subs ??= {}, "$inflationElec", inflationElec))} min="0" id="inflationElec"/></div> <div class="mb-3"><label class="form-label" for="tarif_cre">Prix d'achat de surplus &lt;9kWc (€/kWh)</label> <input class="form-control form-control-sm w-auto" type="number"${attr("value", store_get($$store_subs ??= {}, "$tarif_cre", tarif_cre).prix[0])} min="0" id="tarif_cre"/></div> <div class="mb-3"><label class="form-label" for="tarif_cre2">Prix d'achat de surplus &lt;100 (€/kWh)</label> <input class="form-control form-control-sm w-auto" type="number"${attr("value", store_get($$store_subs ??= {}, "$tarif_cre", tarif_cre).prix[1])} min="0" id="tarif_cre2"/></div> <div class="mb-3"><label class="form-label" for="tarif_cre3">Prix d'achat de surplus ≥100 (€/kWh)</label> <input class="form-control form-control-sm w-auto" type="number"${attr("value", store_get($$store_subs ??= {}, "$tarif_cre", tarif_cre).prix[2])} min="0" id="tarif_cre3"/></div></div></div>`);
  if ($$store_subs) unsubscribe_stores($$store_subs);
  pop();
}
export {
  _page as default
};
