1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./i18n-BoRIsJcQ.js";import{t as n}from"./lodash-B9Vws8nc.js";import{t as r}from"./zone-B55MND0u.js";var i={index:null,name:`Variante`,isReferent:!1,parking:{nb_park_ext_couv:0,nb_park_ext_non_couv:0,nb_park_infra:0,nb_park_super_int:0,nb_park_super_ext:0,is_volumetrie_detailed_infra:!1,type_volumetrie_infra:`Rectangle`,table_volumetrie_infra:[{id:1,longueur:null,isLongueurCoherent:null},{id:2,longueur:null,isLongueurCoherent:null},{id:3,longueur:null,isLongueurCoherent:null},{id:4,longueur:null,isLongueurCoherent:null}],dimension_graph_infra:[20,10,0,0,0,0,20,0,0,0,0,10],is_volumetrie_detailed_super:!1,type_volumetrie_super:`Rectangle`,table_volumetrie_super:[{id:1,longueur:null,isLongueurCoherent:null},{id:2,longueur:null,isLongueurCoherent:null},{id:3,longueur:null,isLongueurCoherent:null},{id:4,longueur:null,isLongueurCoherent:null}],dimension_graph_super:[20,10,0,0,0,0,20,0,0,0,0,10],is_volumetrie_detailed_super_int:!1,type_volumetrie_super_int:`Rectangle`,table_volumetrie_super_int:[{id:1,longueur:null,isLongueurCoherent:null},{id:2,longueur:null,isLongueurCoherent:null},{id:3,longueur:null,isLongueurCoherent:null},{id:4,longueur:null,isLongueurCoherent:null}],dimension_graph_super_int:[20,10,0,0,0,0,20,0,0,0,0,10]},quantities:{},default_components:{},default_components_quantities:{},construction_site_quantities:{},thermal_performance:null,targeted_threshold:null,energetic_needs:{},is_heating_system_used:!1,is_cooling_system_used:!1,bool_majoration_ded:!0,electricity_cogeneration_rho:null,heating_network:{nom:null,contenu_CO2:null,contenu_CO2_valeur_initiale:null,localisation:null,type_reseau:null,identifiant:null,data:null},energy_systems:[],cooling_network:{nom:null,contenu_CO2:null,contenu_CO2_valeur_initiale:null,localisation:null,identifiant:null,data:null}},a=e(n(),1);function o(e){let t=s(),n=(0,a.cloneDeep)(i),r=0;return n.zones=Array(e).fill(t).map(e=>(e.indexZone=r++,e)),n}function s(){return(0,a.cloneDeep)(r)}function c(e,n){let r=(0,a.cloneDeep)(e.variants[0].zones[n]);r.name=`${r.name} ${t.global.t(`copie`)}`,e.variants[0].zones.splice(n+1,0,r)}function l(e,t,n){let r=t.variants[e];r.name=n}function u(e,t,n,r){let i=n.variants[e].zones[t];i.name=r}function d(e,n=!1){let r=0;e.variants.map(e=>{e.index=r++;let i=0;e.zones.map(r=>{if(n){let n=r.name.slice(0,4),a=r.name.slice(4);n===t.global.t(`Zone`)&&(a===``||Number.parseInt(a.trim()))&&(r.name=e.zones.length>1?`${t.global.t(`Zone`)} ${i+1}`:t.global.t(`Zone`))}r.indexZone=i++})})}export{l as a,d as i,o as n,u as o,s as r,i as s,c as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.