projet-probleme-inverse-3D/assets/index-3b482400.js

2 lines
50 KiB
JavaScript
Raw Permalink Normal View History

2023-06-25 13:29:07 +00:00
import{v as Bn,c as W,i as Hn,a as qn,r as K,w as S,b as fe,o as Un,d as ut,g as zn,e as Wn,p as ft,f as B,h as te,j as Bt,k as Ie,l as Kn,m as Zn,n as pt,F as Yn,_ as Gn,u as Jn,q as M,s as $,t as j,x as Xn,y as N,z as Qn,A as w,B as De,C as er,D as C,E as tr,G as nr,H as rr,I as sr,J as or,K as Ht,L as z,M as ir,N as Ne,O as ar,P as lr,T as cr,Q as ur,R as fr,S as xe,U as R,V as dt,W as _e,X as q,Y as we,Z as mt,$ as Se,a0 as U,a1 as ae,a2 as Te,a3 as pr,a4 as dr,a5 as mr,a6 as hr,a7 as yr,a8 as vr,a9 as gr,aa as br,ab as Or,ac as xr,ad as _r}from"./nav-1e818d35.js";import{c as wr,u as qt,V as ra,a as Sr}from"./index-85fbf1a9.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerpolicy&&(o.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?o.credentials="include":s.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();const Tr=["script","style","noscript"],Er=["base","meta","link","style","script","noscript"],Ar=["base","title","titleTemplate","bodyAttrs","htmlAttrs"];function jr(e,t){const{props:n,tag:r}=e;if(Ar.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}const le=(e,t)=>{const{tag:n,$el:r}=e;r&&(Object.entries(n.props).forEach(([s,o])=>{o=String(o);const i=`attr:${s}`;if(s==="class"){if(!o)return;for(const a of o.split(" ")){const l=`${i}:${a}`;t&&t(e,l,()=>r.classList.remove(a)),r.classList.contains(a)||r.classList.add(a)}return}t&&!s.startsWith("data-h-")&&t(e,i,()=>r.removeAttribute(s)),r.getAttribute(s)!==o&&r.setAttribute(s,o)}),Tr.includes(n.tag)&&r.innerHTML!==(n.children||"")&&(r.innerHTML=n.children||""))};function Cr(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}async function Ut(e,t={}){var u,f;const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const r=t.document||window.document,s=e._popSideEffectQueue();e.headEntries().map(p=>p._sde).forEach(p=>{Object.entries(p).forEach(([d,m])=>{s[d]=m})});const o=async p=>{const d=e.headEntries().find(_=>_._i===p._e),m={renderId:p._d||Cr(JSON.stringify({...p,_e:void 0,_p:void 0})),$el:null,shouldRender:!0,tag:p,entry:d,staleSideEffects:s};return await e.hooks.callHook("dom:beforeRenderTag",m),m},i=[],a={body:[],head:[]},l=(p,d,m)=>{d=`${p.renderId}:${d}`,p.entry&&(p.entry._sde[d]=m),delete s[d]},c=p=>{e._elMap[p.renderId]=p.$el,i.push(p),l(p,"el",()=>{var d;(d=p.$el)==null||d.remove(),delete e._elMap[p.renderId]})};for(const p of await e.resolveTags()){const d=await o(p);if(!d.shouldRender)continue;const{tag:m}=d;if(m.tag==="title"){r.title=m.children||"",i.push(d);continue}if(m.tag==="htmlAttrs"||m.tag==="bodyAttrs"){d.$el=r[m.tag==="htmlAttrs"?"documentElement":"body"],le(d,l),i.push(d);continue}if(d.$el=e._elMap[d.renderId],!d.$el&&m._hash&&(d.$el=r.querySelector(`${(u=m.tagPosition)!=null&&u.startsWith("body")?"body":"head"} > ${m.tag}[data-h-${m._hash}]`)),d.$el){d.tag._d&&le(d),c(d);continue}d.$el=r.createElement(m.tag),le(d),a[(f=m.tagPosition)!=null&&f.startsWith("body")?"body":"head"].push(d)}Object.entries(a).forEach(([p,d])=>{var _;if(!d.length)return;const m=(_=r==null?void 0:r[p])==null?void 0:_.children;if(m){for(const g of[...m].reverse()){const b=g.tagName.toLowerCase();if(!Er.includes(b))continue;const x=jr({tag:b,props:g.getAttributeNames().reduce((y,O)=>({...y,[O]:g.getAttribute(O