diff --git a/web/app/themes/haiku-atelier-2024/assets/css/main.css b/web/app/themes/haiku-atelier-2024/assets/css/main.css index d54f110e..3b3718d4 100755 --- a/web/app/themes/haiku-atelier-2024/assets/css/main.css +++ b/web/app/themes/haiku-atelier-2024/assets/css/main.css @@ -1168,16 +1168,19 @@ body:has(#menu-mobile:not([aria-hidden=true])) { .resume-produit .selecteur-produit__nom { font-size: var(--resume-police-nom-taille); } -.resume-produit .selecteur-produit__selection-variation { +.resume-produit .selecteur-produit__attribut-variation { + display: flex; + flex-flow: row wrap; + gap: var(--espace-m) var(--espace-l); font-size: var(--resume-police-selecteur-taille); font-weight: var(--resume-police-selecteur-graisse); text-transform: lowercase; /* Texte du sélecteur */ } -.resume-produit .selecteur-produit__selection-variation label { +.resume-produit .selecteur-produit__attribut-variation label { margin-right: var(--espace-s); } -.resume-produit .selecteur-produit__selection-variation select { +.resume-produit .selecteur-produit__attribut-variation select { position: relative; padding: var(--espace-xs) var(--espace-l); border: 1px solid var(--couleur-noir); @@ -1187,25 +1190,25 @@ body:has(#menu-mobile:not([aria-hidden=true])) { background: var(--couleur-fond); } @supports selector(:user-valid) { - .resume-produit .selecteur-produit__selection-variation select:user-valid { + .resume-produit .selecteur-produit__attribut-variation select:user-valid { background: var(--couleur-jaune-fond); } } -.resume-produit .selecteur-produit__selection-variation option { +.resume-produit .selecteur-produit__attribut-variation option { background: var(--couleur-fond); } -.resume-produit .selecteur-produit__selection-variation { +.resume-produit .selecteur-produit__attribut-variation { /* Conteneur des sélecteurs */ } -.resume-produit .selecteur-produit__selection-variation__selecteurs { +.resume-produit .selecteur-produit__attribut-variation__selecteurs { position: relative; /* Icône de flèche descendante */ } -.resume-produit .selecteur-produit__selection-variation__selecteurs::after { +.resume-produit .selecteur-produit__attribut-variation__selecteurs::after { pointer-events: none; content: " "; position: absolute; - top: 10px; + top: 7px; right: 0.4rem; display: inline-block; width: 0.9rem; @@ -1217,13 +1220,13 @@ body:has(#menu-mobile:not([aria-hidden=true])) { transition: opacity 0.2s, visibility 0.2s; } @supports not selector(:user-valid) { - .resume-produit .selecteur-produit__selection-variation__selecteurs:has(select:valid)::after { + .resume-produit .selecteur-produit__attribut-variation__selecteurs:has(select:valid)::after { visibility: hidden; opacity: 0; } } @supports selector(:user-valid) { - .resume-produit .selecteur-produit__selection-variation__selecteurs:has(select:user-valid)::after { + .resume-produit .selecteur-produit__attribut-variation__selecteurs:has(select:user-valid)::after { visibility: hidden; opacity: 0; } @@ -1246,11 +1249,11 @@ body:has(#menu-mobile:not([aria-hidden=true])) { } } @media (width <= 500px) { - .resume-produit .selecteur-produit__selection-variation { + .resume-produit .selecteur-produit__selection-variation-attribut { flex-flow: column nowrap; row-gap: var(--espace-inter-colonne); } - .resume-produit .selecteur-produit__selection-variation h3 { + .resume-produit .selecteur-produit__selection-variation-attribut h3 { flex-basis: 100%; } } diff --git a/web/app/themes/haiku-atelier-2024/assets/css/main.css.map b/web/app/themes/haiku-atelier-2024/assets/css/main.css.map index e6913ef2..d4bddbd1 100755 --- a/web/app/themes/haiku-atelier-2024/assets/css/main.css.map +++ b/web/app/themes/haiku-atelier-2024/assets/css/main.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../../src/sass/base/polices/_lato.scss","../../src/sass/base/polices/_myriad.scss","../../src/sass/abstracts/_variables.scss","../../src/sass/base/_base.scss","../../src/sass/base/_typographie.scss","../../src/sass/base/elements/_boutons.scss","../../src/sass/base/elements/_formulaires.scss","../../src/sass/base/elements/_images.scss","../../src/sass/base/elements/_liens.scss","../../src/sass/base/elements/_listes.scss","../../src/sass/layouts/_bandeau.scss","../../src/sass/layouts/_menu-mobile.scss","../../src/sass/layouts/_en-tete.scss","../../src/sass/layouts/_menu-categories-produits.scss","../../src/sass/layouts/_colonnes-photos.scss","../../src/sass/layouts/_grille-produits.scss","../../src/sass/layouts/_informations-produit.scss","../../src/sass/layouts/_produits-similaires.scss","../../src/sass/layouts/_pied-de-page.scss"],"names":[],"mappings":";AAAA;EACE;EACA;EACA;EACA;EACA,KACE;EAQF,eACE;;AAmBJ;EACE;EACA;EACA;EACA;EACA,KACE;EAQF,eACE;;ACjDJ;EACE;EACA;EACA;EACA;EACA;EACA,KACE;;AAKJ;EACE;EACA;EACA;EACA;EACA;EACA,KACE;;ACjBJ;AACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;AAEA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EAGA;EACA;AAAA;AAAA;EAGA;AAAA;AAAA;AAAA;AAKA;EACA;EACA;EACA;EACA;EACA;EACA;;;ACjDF;AAAA;AAAA;AAGA;EACE;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;;AAGF;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAGA;EACE;;;AAGF;AAAA;AAAA;AAGA;EACE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;;;AAGF;AAAA;AAAA;AAGA;EACE;IACE;IACA;IACA;;EAGF;IACE;;;AC5FJ;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AC1BA;AAAA;AAAA;AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGE;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;IACE;IACA;;;AAKN;EACE;EAEA;;AAIF;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAKN;EACE;EACA;;AAIA;EADF;IAEI;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;;AAEA;EACE;IACE;IACA;;;;AC9FV;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EAEA;;;AAKF;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;;;AAQJ;EACE;;;AAIF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGA;EACE;EACA;EACA;EACA;;AAGF;EACE;IACE;;;AAKN;EACE;;AA3BJ;AA8BE;AAAA;AAAA;;AAGA;EACE;EACA;;AAGF;EACE;IACE;;;;AAKN;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAMJ;EACE;IACE;;;;AC7HN;AAAA;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;EACE;EACA;;;ACZF;AAAA;AAAA;AAAA;AAAA;AAKA;AACE;EACA;EAEA;EACA;EACA;EACA,YACE,uIAM4B;EAE9B;AAEA;;AACA;EACE;;AApBJ;AAuBE;;AACA;AACE;EACA;EACA;AAEA;EACA;EAEA;EACA;AAEA;;AACA;EACE;;AAbJ;AAgBE;;AACA;EACE;;AAlBJ;AAqBE;;AACA;EACE;IACE;;;AAhDR;AAqDE;;AACA;EACE;;AAEA;EACE;EACA;;AAGF;EACE;IACE;IACA;;;AAjER;AAsEE;;AAEE;EACE;IACE;;;;AC/ER;AAAA;AAAA;AAAA;AAAA;AAKA;EACE;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAMA;AACE;EACA;AAEA;EACA;AAEA;EACA;;AAEA;EACE;EACA,qLAEkE;;;AC9BxE;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAEA;EACE;;AAKN;EAEI;IACE;;;;AAMR;EACE;IACE;;EAGF;IACE;;;AC/CJ;EACE;EACA;;;AAGF;EAEE;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EACE;EACA;;AAOV;EArEF;IAsEI;;;;AAIJ;EACE;IACE;;;AAIJ;EACE;IACE;;;AAIJ;EACE;IACE;;;AC5FJ;EAEE;EACA;EAGA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAEA;EACE;EACA;AAEA;EACA;EACA;EACA;EACA;;AAtCN;AA0CE;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAbJ;AAgBE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AASA;AACE;EACA;EACA;EACA;AAEA;EACA;;AAGA;EACE;;AAKF;EACE;;AAIF;EACE;EACA,yFAC2C;EAE3C;;AAGF;EACE;IACE;;;AAOJ;EADF;IAEI;;;AAKN;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGA;EACE;EACA;;AAIJ;EACE;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAKN;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAIF;EAbF;IAcI;;;AAIJ;EAvKF;IAwKI;;;;AC1KJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA;AACE;EACA;EAGA;EACA;EAIA;EACA;;AAGE;EACE;;AAKF;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAIF;EApBF;IAqBI;;;AA9CN;AAkDE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAOA;EACE;EACA,uBACE;EAEF;EACA;AAEA;AAAA;AAAA;;AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGE;EACE;EACA;EACA;;AAEA;EACE;IACE;;;AAlBV;AAwBE;AAAA;AAAA;AAAA;AAAA;;AAKA;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;IACE;IACA;;;AAMR;EA7DF;IA8DI;IAEA;IACA;IACA;;EAEA;IACE;IACA;;EAEA;IACE;IACA;;;AAMN;EAhFF;IAiFI;IACA;IACA;;EAEA;IACE;IACA;;;;ACtJR;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA;EAEE;EAGA;EACA;AAAA;AAAA;EAGA;EAGA;EAEA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGA;EACE;;AAKF;EACE;EACA;;AAIF;EACE;EACA;;AAMN;EApDF;IAqDI;IACA;AAEA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;;EAGF;IACE;IACA;IACA;;EAEA;IACE;;EAGF;IACE;;EAGF;IACE;IACA;IACA;;EAGF;IACE;;EAEA;IACE;IACA;;EAGF;IACE;;;;AC1GV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYA;EAEE;EACA;EACA;EACA;EAEA;EACA;EACA,uBACE;EAEF;EACA;;AAEA;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EAEI;IACE;IACA;IACA;;;AAMR;EACE;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAMR;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAIJ;EACE;IACE;;EAEA;IACE;;;;AAMR;EACE;IACE;;;AClJJ;AAAA;AAAA;AAAA;AAIA;EAEE;EAGA;EAGA;EAGA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;EACA;AAEA;;AACA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;IACE;;;AAKN;EACE;;AA3BJ;AA8BE;;AACA;EACE;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EAEI;IACE;IACA;;;AAKN;EAEI;IACE;IACA;;;AAOV;EACE;;AAIJ;EAnIF;IAoII;IACA;;;AAGF;EAxIF;IAyII;IACA;IACA;IACA;;;AAGF;EACE;IACE;IACA;;EAEA;IACE;;;;AAMR;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;EACA;EACA;EAEA;;AAEA;EACE;EACA;EACA;;AAGE;EACE;;AAIF;EACE;;AAGF;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAMJ;EACE;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;AAGF;EACE;;AAOR;EACE;EAEA;EACA;EACA;EACA;;AAGA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIE;EACE;IACE;;;;ACtPZ;EAEE;EACA;EACA;EAEA;EACA;EACA,qBACE;EAEF;EACA;EACA;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EAEI;IACE;IACA;IACA;;;AAMR;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAMR;EACE;IACE;;EAEA;IACE;;;;ACjHV;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACE;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA","file":"main.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../../src/sass/base/polices/_lato.scss","../../src/sass/base/polices/_myriad.scss","../../src/sass/abstracts/_variables.scss","../../src/sass/base/_base.scss","../../src/sass/base/_typographie.scss","../../src/sass/base/elements/_boutons.scss","../../src/sass/base/elements/_formulaires.scss","../../src/sass/base/elements/_images.scss","../../src/sass/base/elements/_liens.scss","../../src/sass/base/elements/_listes.scss","../../src/sass/layouts/_bandeau.scss","../../src/sass/layouts/_menu-mobile.scss","../../src/sass/layouts/_en-tete.scss","../../src/sass/layouts/_menu-categories-produits.scss","../../src/sass/layouts/_colonnes-photos.scss","../../src/sass/layouts/_grille-produits.scss","../../src/sass/layouts/_informations-produit.scss","../../src/sass/layouts/_produits-similaires.scss","../../src/sass/layouts/_pied-de-page.scss"],"names":[],"mappings":";AAAA;EACE;EACA;EACA;EACA;EACA,KACE;EAQF,eACE;;AAmBJ;EACE;EACA;EACA;EACA;EACA,KACE;EAQF,eACE;;ACjDJ;EACE;EACA;EACA;EACA;EACA;EACA,KACE;;AAKJ;EACE;EACA;EACA;EACA;EACA;EACA,KACE;;ACjBJ;AACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;AAEA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;EAGA;EACA;AAAA;AAAA;EAGA;AAAA;AAAA;AAAA;AAKA;EACA;EACA;EACA;EACA;EACA;EACA;;;ACjDF;AAAA;AAAA;AAGA;EACE;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;;AAGF;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAGA;EACE;;;AAGF;AAAA;AAAA;AAGA;EACE;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;;;AAGF;AAAA;AAAA;AAGA;EACE;IACE;IACA;IACA;;EAGF;IACE;;;AC5FJ;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AC1BA;AAAA;AAAA;AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGE;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;IACE;IACA;;;AAKN;EACE;EAEA;;AAIF;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAKN;EACE;EACA;;AAIA;EADF;IAEI;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;;AAEA;EACE;IACE;IACA;;;;AC9FV;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EAEA;;;AAKF;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;;;AAQJ;EACE;;;AAIF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGA;EACE;EACA;EACA;EACA;;AAGF;EACE;IACE;;;AAKN;EACE;;AA3BJ;AA8BE;AAAA;AAAA;;AAGA;EACE;EACA;;AAGF;EACE;IACE;;;;AAKN;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAMJ;EACE;IACE;;;;AC7HN;AAAA;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;EACE;EACA;;;ACZF;AAAA;AAAA;AAAA;AAAA;AAKA;AACE;EACA;EAEA;EACA;EACA;EACA,YACE,uIAM4B;EAE9B;AAEA;;AACA;EACE;;AApBJ;AAuBE;;AACA;AACE;EACA;EACA;AAEA;EACA;EAEA;EACA;AAEA;;AACA;EACE;;AAbJ;AAgBE;;AACA;EACE;;AAlBJ;AAqBE;;AACA;EACE;IACE;;;AAhDR;AAqDE;;AACA;EACE;;AAEA;EACE;EACA;;AAGF;EACE;IACE;IACA;;;AAjER;AAsEE;;AAEE;EACE;IACE;;;;AC/ER;AAAA;AAAA;AAAA;AAAA;AAKA;EACE;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAMA;AACE;EACA;AAEA;EACA;AAEA;EACA;;AAEA;EACE;EACA,qLAEkE;;;AC9BxE;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAEA;EACE;;AAKN;EAEI;IACE;;;;AAMR;EACE;IACE;;EAGF;IACE;;;AC/CJ;EACE;EACA;;;AAGF;EAEE;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EACE;EACA;;AAOV;EArEF;IAsEI;;;;AAIJ;EACE;IACE;;;AAIJ;EACE;IACE;;;AAIJ;EACE;IACE;;;AC5FJ;EAEE;EACA;EAGA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAEA;EACE;EACA;AAEA;EACA;EACA;EACA;EACA;;AAtCN;AA0CE;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAbJ;AAgBE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AASA;AACE;EACA;EACA;EACA;AAEA;EACA;;AAGA;EACE;;AAKF;EACE;;AAIF;EACE;EACA,yFAC2C;EAE3C;;AAGF;EACE;IACE;;;AAOJ;EADF;IAEI;;;AAKN;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGA;EACE;EACA;;AAIJ;EACE;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAKN;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAIF;EAbF;IAcI;;;AAIJ;EAvKF;IAwKI;;;;AC1KJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA;AACE;EACA;EAGA;EACA;EAIA;EACA;;AAGE;EACE;;AAKF;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAIF;EApBF;IAqBI;;;AA9CN;AAkDE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAOA;EACE;EACA,uBACE;EAEF;EACA;AAEA;AAAA;AAAA;;AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGE;EACE;EACA;EACA;;AAEA;EACE;IACE;;;AAlBV;AAwBE;AAAA;AAAA;AAAA;AAAA;;AAKA;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;IACE;IACA;;;AAMR;EA7DF;IA8DI;IAEA;IACA;IACA;;EAEA;IACE;IACA;;EAEA;IACE;IACA;;;AAMN;EAhFF;IAiFI;IACA;IACA;;EAEA;IACE;IACA;;;;ACtJR;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA;EAEE;EAGA;EACA;AAAA;AAAA;EAGA;EAGA;EAEA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGA;EACE;;AAKF;EACE;EACA;;AAIF;EACE;EACA;;AAMN;EApDF;IAqDI;IACA;AAEA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;;EAGF;IACE;IACA;IACA;;EAEA;IACE;;EAGF;IACE;;EAGF;IACE;IACA;IACA;;EAGF;IACE;;EAEA;IACE;IACA;;EAGF;IACE;;;;AC1GV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYA;EAEE;EACA;EACA;EACA;EAEA;EACA;EACA,uBACE;EAEF;EACA;;AAEA;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EAEI;IACE;IACA;IACA;;;AAMR;EACE;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAMR;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAIJ;EACE;IACE;;EAEA;IACE;;;;AAMR;EACE;IACE;;;AClJJ;AAAA;AAAA;AAAA;AAIA;EAEE;EAGA;EAGA;EAGA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;AAEA;;AACA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;IACE;;;AAKN;EACE;;AA9BJ;AAiCE;;AACA;EACE;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EAEI;IACE;IACA;;;AAKN;EAEI;IACE;IACA;;;AAOV;EACE;;AAIJ;EAtIF;IAuII;IACA;;;AAGF;EA3IF;IA4II;IACA;IACA;IACA;;;AAGF;EACE;IACE;IACA;;EAEA;IACE;;;;AAMR;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;EACA;EACA;EAEA;;AAEA;EACE;EACA;EACA;;AAGE;EACE;;AAIF;EACE;;AAGF;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAMJ;EACE;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;AAGF;EACE;;AAOR;EACE;EAEA;EACA;EACA;EACA;;AAGA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIE;EACE;IACE;;;;ACzPZ;EAEE;EACA;EACA;EAEA;EACA;EACA,qBACE;EAEF;EACA;EACA;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EAEI;IACE;IACA;IACA;;;AAMR;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAMR;EACE;IACE;;EAEA;IACE;;;;ACjHV;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACE;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA","file":"main.css"} \ No newline at end of file diff --git a/web/app/themes/haiku-atelier-2024/assets/css/main.min.css b/web/app/themes/haiku-atelier-2024/assets/css/main.min.css index a3955273..30b732f5 100755 --- a/web/app/themes/haiku-atelier-2024/assets/css/main.min.css +++ b/web/app/themes/haiku-atelier-2024/assets/css/main.min.css @@ -1 +1 @@ -@font-face{font-family:Lato;font-weight:100 900;font-style:normal;font-display:swap;src:url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2)format("woff2")tech(variations),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2)format("woff2-variations"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.ttf)format("truetype");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lato;font-weight:100 900;font-style:italic;font-display:swap;src:url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2)format("woff2")tech(variations),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2)format("woff2-variations"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.ttf)format("truetype");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Myriad;font-weight:300 900;font-style:normal;font-display:swap;font-stretch:70% 110%;src:url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.ttf)format("truetype")}@font-face{font-family:Myriad;font-weight:300 900;font-style:italic;font-display:swap;font-stretch:70% 110%;src:url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.ttf)format("truetype")}:root{--couleur-blanc:#fff;--couleur-blanc-fond:#ffffffe6;--couleur-gris:#eceaeb;--couleur-gris-fonce:gray;--couleur-gris-fonce-fond:#808080cc;--couleur-bordeaux:#490918;--couleur-bordeaux-fond:#490918cc;--couleur-jaune:#defdb5;--couleur-jaune-fond:#ebffb8cc;--couleur-noir:#202020;--couleur-fond:#eceaebcc;--police-lato:"Lato",sans-serif;--hauteur-ligne-classique:1.5;--hauteur-ligne-moitie:1.2;--hauteur-ligne-compacte:1.1;--hauteur-ligne-rapprochee:1;--espacement-inter-lettres-rapproche-m:-1px;--espacement-inter-lettres-rapproche-s:-.5px;--espacement-inter-lettres-etendu-s:.5px;--espacement-inter-lettres-etendu-m:1px;--espacement-inter-lettres-etendu-l:1.5px;--espacement-inter-lettres-etendu-xl:2px;--en-tete-hauteur:61px;--menu-categories-produits-hauteur:calc(var(--espace-m)*2 + 1rlh);--pied-de-page-hauteur:calc(.8rem*1.5*3 + var(--espace-s)*2);--contenu-page-hauteur-minimale-sans-categories:calc(100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur));--contenu-page-hauteur-minimale-avec-categories:calc(100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur) - var(--menu-categories-produits-hauteur));--espace-2xs:.1rem;--espace-xs:.25rem;--espace-s:.5rem;--espace-m:1rem;--espace-l:1.25rem;--espace-xl:2rem}html{box-sizing:border-box}*,:before,:after{box-sizing:inherit;font:inherit;color:inherit;outline-offset:-2px;outline:2px dashed #0000;margin:0;padding:0}@view-transition{navigation:auto}body{overscroll-behavior:none;accent-color:var(--couleur-jaune);background:var(--couleur-gris)}button,input,select,textarea{font:inherit}::selection{background:var(--couleur-jaune)}[hidden]{display:none!important}:focus-visible{outline-color:var(--couleur-noir);transition:outline-color .2s}.visuellement-cache:not(:focus,:active,:focus-within){white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}[disabled]{cursor:not-allowed}@media (prefers-reduced-motion){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:0s!important}@view-transition{}}html{font:1rem/var(--hauteur-ligne-classique)Lato;font-optical-sizing:auto;font-kerning:normal;font-variant-ligatures:common-ligatures no-discretionary-ligatures no-historical-ligatures contextual;-webkit-font-smoothing:antialiased;color:var(--couleur-noir);text-decoration-skip-ink:auto;text-size-adjust:none;text-rendering:geometricprecision;letter-spacing:var(--espacement-inter-lettres-etendu-s)}strong{font-weight:600}em{font-style:italic}button{all:initial;cursor:pointer;box-sizing:border-box;text-align:center;letter-spacing:inherit;outline-offset:-2px;outline:2px dashed #0000;font-family:Lato;transition:background .2s,color .2s,outline-color .2s}button:not[disabled]:focus-visible{z-index:5;outline-color:var(--couleur-noir)}button:not[disabled]:active{color:var(--couleur-blanc)!important;background:var(--couleur-noir)!important}@media (hover:hover){button:not[disabled]:hover{color:var(--couleur-noir);background:var(--couleur-jaune)}}button:disabled,button[disabled]{background:repeating-conic-gradient(var(--couleur-noir)0% 25%,transparent 0% 100%)1px .5px/2px 2px;outline-color:#0000}button.bouton-case-pleine{width:100%;height:100%}button.bouton-case-pleine.bouton-blanc-sur-noir{text-transform:uppercase;letter-spacing:var(--espacement-inter-lettres-etendu-m);font-style:italic}button.bouton-case-pleine.bouton-blanc-sur-noir:focus-visible{color:var(--couleur-noir);background:var(--couleur-jaune)}button.bouton-blanc-sur-noir{color:var(--couleur-blanc);background:var(--couleur-noir)}@media (hover:hover){button.bouton-fleche{background:initial}}button.bouton-retour-haut{right:var(--espace-xl);bottom:calc(var(--espace-l) + var(--pied-de-page-hauteur));padding:var(--espace-m);border:1px solid var(--couleur-noir);visibility:hidden;opacity:0;background:var(--couleur-fond);box-shadow:initial;border-radius:100%;transition:background .2s,opacity .2s,visibility .2s;position:fixed;transform:rotate(180deg)}button.bouton-retour-haut img{background:0 0;width:1rem;height:1rem}button.bouton-retour-haut[data-actif]{visibility:visible;opacity:.6}@media (hover:hover){button.bouton-retour-haut[data-actif]:hover{opacity:1;background:var(--couleur-jaune-fond)}}fieldset{all:initial;margin-top:var(--espace-l);font:inherit;flex-flow:column;display:flex}input,select,textarea{padding:var(--espace-xs);border:1px solid var(--couleur-noir);accent-color:var(--couleur-jaune);background:var(--couleur-gris);transition:background .2s}input:focus-visible,input:focus-within,input:active,select:focus-visible,select:focus-within,select:active,textarea:focus-visible,textarea:focus-within,textarea:active{z-index:10;outline:2px dashed var(--couleur-noir)}input:disabled,input[disabled],select:disabled,select[disabled],textarea:disabled,textarea[disabled]{background:repeating-conic-gradient(var(--couleur-noir)0% 25%,transparent 0% 100%)1px .5px/2px 2px;outline-color:#0000}input:is([type=email],[type=text],[type=tel])::placeholder,textarea::placeholder{text-transform:lowercase;letter-spacing:var(--espacement-inter-lettres-etendu-s)}input:is([type=email],[type=text],[type=tel])::selection,textarea::selection{color:var(--couleur-blanc);background:var(--couleur-noir)}input:is([type=email],[type=text],[type=tel]):user-valid,textarea:user-valid{background:var(--couleur-jaune)}input:is([type=email],[type=text],[type=tel]):user-invalid,textarea:user-invalid{background:var(--couleur-gris)}input,label,select,textarea{cursor:pointer}input[type=checkbox],input[type=radio]{width:var(--espace-l);height:var(--espace-l);padding:initial;border:1px solid var(--couleur-noir);appearance:none;transition:background .2s}input[type=checkbox]:checked,input[type=radio]:checked{background:var(--couleur-jaune)}input[type=checkbox]:checked:before,input[type=radio]:checked:before{content:"x";position:relative;bottom:.1rem;left:.35rem}@media (hover:hover){input[type=checkbox]:checked:hover,input[type=radio]:checked:hover{color:var(--couleur-noir)}}input[type=checkbox]:not(:checked):user-valid,input[type=radio]:not(:checked):user-valid{background:initial}label:has(~input[type=checkbox],~input[type=radio]),input[type=checkbox]+label,input[type=radio]+label{padding-top:1px;font-size:.9rem}@media (hover:hover){input[type=checkbox]:hover,input[type=radio]:hover{background:var(--couleur-jaune)}}input[type=radio]{appearance:initial;border-radius:100%}input[type=radio]:checked{place-content:center;place-items:center;display:inline-flex}input[type=radio]:checked:before{content:" ";inset:initial;width:calc(var(--espace-l)/2);height:calc(var(--espace-l)/2);background:var(--couleur-noir);border-radius:100%;display:inline-block}@media (hover:hover){textarea:hover{color:var(--couleur-noir)}}img,picture{max-width:100%;display:block}img{object-fit:cover;background:var(--couleur-jaune)}a{--lien-contour-couleur-focus:var(--couleur-noir);text-decoration-skip-ink:auto;text-decoration-skip:edges;text-decoration:underline #0000;transition:background .2s,border-color .2s,color .2s,font-weight .2s,outline-color .2s,letter-spacing .2s,text-decoration-color .2s}a:focus-visible{outline-color:var(--lien-contour-couleur-focus)}a.lien-bouton{--lien-bouton-marges-internes-bloc:var(--espace-xs);--lien-bouton-marges-internes-ligne:var(--espace-m);--lien-bouton-arriere-plan-couleur-survol:var(--couleur-jaune);padding:var(--lien-bouton-marges-internes-bloc)var(--lien-bouton-marges-internes-ligne);border:1px solid var(--couleur-noir)}a.lien-bouton:focus-visible{background:var(--lien-bouton-arriere-plan-couleur-survol)}a.lien-bouton:active{border-color:var(--lien-bouton-arriere-plan-couleur-survol)}@media (hover:hover){a.lien-bouton:hover{background:var(--lien-bouton-arriere-plan-couleur-survol)}}a.lien-lien{text-decoration:underline}a.lien-lien:active{text-decoration-color:var(--couleur-jaune);background:var(--couleur-jaune)}@media (hover:hover){a.lien-lien:hover{text-decoration-color:var(--couleur-jaune);background:var(--couleur-jaune)}a:not([class]):hover{text-decoration-color:var(--couleur-noir)}}ul{list-style:none}ul.avec-puce-cercle{--liste-puce-cercle-lien-marges-internes-ligne-debut:2ch;--liste-puce-cercle-puce-position-horizontale:1ch;--liste-puce-cercle-puce-taille:1.25ex}ul.avec-puce-cercle a{padding-left:var(--liste-puce-cercle-lien-marges-internes-ligne-debut);background:no-repeat var(--liste-puce-cercle-puce-position-horizontale)center/var(--liste-puce-cercle-puce-taille)url(/app/themes/haiku-atelier-2024/assets/img/icons/dot.svg)}.bandeau{column-gap:var(--espace-m);border-top:1px solid var(--couleur-noir);width:100%;color:var(--couleur-noir);text-transform:uppercase;white-space:nowrap;background:var(--couleur-jaune);font-style:italic;display:flex;overflow:hidden}.bandeau__conteneur{column-gap:var(--espace-m);flex-flow:row;animation:15s linear infinite both marquee;display:flex}.bandeau__conteneur ::selection{color:var(--couleur-jaune);background:var(--couleur-noir)}.bandeau__conteneur p{padding:var(--espace-s)0;display:inline-block}.bandeau__conteneur p strong{font-weight:600}@media (hover:hover){.bandeau:hover .bandeau__conteneur{animation-play-state:paused}}@keyframes marquee{0%{transform:translate(0%)}to{transform:translate(-100%)}}body:has(#menu-mobile:not([aria-hidden=true])){touch-action:none;overflow:hidden}#menu-mobile{--menu-mobile-hauteur:calc(100svh - var(--en-tete-hauteur));z-index:997;inset:var(--en-tete-hauteur)0 0 0;overscroll-behavior:contain;width:100vw;height:var(--menu-mobile-hauteur);transition:display .4s;transition:display .4s allow-discrete;-webkit-overflow-scrolling:none;display:flex;position:fixed;overflow:hidden}#menu-mobile[aria-hidden=true]{animation:.4s both fade-out;display:none}#menu-mobile[aria-hidden=true] .menu-modale__fond{animation:.4s both fade-out}#menu-mobile .menu-modale__fond{z-index:998;inset:var(--en-tete-hauteur)0 0 0;height:var(--menu-mobile-hauteur);opacity:0;background-color:var(--couleur-fond);animation:.4s both fade-in;position:fixed}#menu-mobile .menu-modale__conteneur{z-index:999;width:100%;height:fit-content;padding:var(--espace-xl);border-bottom:1px solid var(--couleur-noir);opacity:0;background-color:var(--couleur-gris);flex-flow:column;animation:.4s .2s both fade-in;display:flex;position:relative}#menu-mobile .menu-modale__conteneur .menu-navigation{grid-template-columns:1fr}#menu-mobile .menu-modale__conteneur .menu-navigation ul{grid-column:initial;flex-flow:column;place-items:center}#menu-mobile .menu-modale__conteneur .menu-navigation ul>span{width:fit-content}#menu-mobile .menu-modale__conteneur .menu-navigation ul>span li a{padding-top:var(--espace-m);padding-bottom:var(--espace-m)}@media (width>1000px){#menu-mobile{display:none}}@keyframes fade-in{to{opacity:1}}@keyframes fade-out{to{opacity:0}}@keyframes slide-in{to{transform:translateY(0)}}#en-tete{--en-tete-marges-internes-ligne:var(--espace-xl);--en-tete-marges-internes-bloc:var(--espace-m);--en-tete-section-hauteur:var(--en-tete-hauteur);--en-tete-logo-longueur:160px;z-index:60;min-width:100vw;max-width:100vw;height:var(--en-tete-hauteur);padding:var(--en-tete-marges-internes-bloc)var(--en-tete-marges-internes-ligne);border-bottom:1px solid var(--couleur-noir);background:var(--couleur-gris);flex-flow:row;justify-content:space-between;place-items:center;display:flex;position:fixed;top:0}#en-tete picture,#en-tete img{background:0 0}#en-tete .logo{width:var(--en-tete-logo-longueur)}#en-tete .logo img{object-fit:contain;width:100%;height:40px;image-rendering:crisp-edges;shape-rendering:geometricprecision;margin-left:-6px}#en-tete .menu-navigation{text-align:center;text-transform:lowercase;flex:1;grid-template-columns:1fr auto 1fr;font-size:1.1rem;display:grid}#en-tete .menu-navigation ul{gap:var(--espace-m);flex-flow:row;grid-column:2;justify-content:space-between;display:flex}#en-tete .menu-navigation__entree{--nav-entree-marges-internes-bloc:var(--espace-xs);--nav-entree-marges-internes-ligne:3rem;--liste-puce-cercle-lien-marges-internes-ligne-debut:calc(var(--espace-m) + 1.5ch);--liste-puce-cercle-puce-position-horizontale:3.5ch}#en-tete .menu-navigation__entree:has(a[aria-current=page]),#en-tete .menu-navigation__entree--courante{background:url(/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche.svg) 50%/auto 90% no-repeat}#en-tete .menu-navigation__entree a{padding:var(--nav-entree-marges-internes-bloc)var(--nav-entree-marges-internes-ligne);text-align:center;display:inline-block}@media (hover:hover){#en-tete .menu-navigation__entree:hover{background:url(/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche.svg) 50%/auto 90% no-repeat}}@media (width<=1000px){#en-tete .menu-navigation#menu-navigation-en-tete{display:none}}#en-tete .compte-panier{text-align:center;flex-flow:row;place-items:center;gap:1rem;display:flex}#en-tete .compte-panier[disabled]{background:repeating-conic-gradient(var(--couleur-noir)0% 25%,transparent 0% 100%)1px .5px/2px 2px}#en-tete .compte-panier[disabled] a:hover,#en-tete .compte-panier[disabled] a:active,#en-tete .compte-panier[disabled] a:focus-within{border:1px solid var(--couleur-noir);background:initial}#en-tete .compte-panier a{text-transform:lowercase;padding-block:var(--espace-2xs);padding-inline:var(--espace-s)}#en-tete .compte-panier a.lien-compte{border-color:#0000}#en-tete .compte-panier a[data-contient-articles=true]{background:var(--couleur-jaune)}#en-tete .conteneur{column-gap:var(--espace-m);display:flex}#en-tete .bouton-menu-mobile{--hauteur-bouton-menu:22px;align-content:center;display:none}#en-tete .bouton-menu-mobile img{height:var(--hauteur-bouton-menu);object-fit:contain;image-rendering:crisp-edges;shape-rendering:geometricprecision}@media (width<=1000px){#en-tete .bouton-menu-mobile{display:block}}@media (width<=600px){#en-tete{--en-tete-marges-internes-ligne:var(--espace-l)}}#menu-categories-produits{--menu-entree-longueur-minimale:13ch;--menu-section-marges-bloc-debut:var(--en-tete-hauteur);--menu-entree-marges-internes-ligne:var(--espace-m);margin-top:var(--menu-section-marges-bloc-debut);position:relative}#menu-categories-produits[data-entrees-presentes-debut] svg:first-of-type,#menu-categories-produits[data-entrees-presentes-fin] svg:last-of-type{opacity:1}#menu-categories-produits svg{pointer-events:none;opacity:0;mix-blend-mode:exclusion;width:.8rem;height:.8rem;shape-rendering:geometricprecision;transition:opacity .2s;position:absolute;bottom:calc(17.59px - .35rem)}#menu-categories-produits svg:first-of-type{left:var(--espace-xs)}#menu-categories-produits svg:last-of-type{right:var(--espace-xs)}@media (width>600px){#menu-categories-produits svg{visibility:hidden}}#menu-categories-produits ul{grid-template-columns:repeat(auto-fit,minmax(var(--menu-entree-longueur-minimale),1fr));place-items:center;gap:1px;display:grid}#menu-categories-produits ul li{width:100%;color:var(--couleur-gris);text-align:center;text-transform:uppercase;letter-spacing:var(--espacement-inter-lettres-etendu-m);background:var(--couleur-noir);font-style:italic;font-weight:450}#menu-categories-produits ul li.categorie-courante a{color:var(--couleur-noir);background:var(--couleur-jaune);font-weight:600}@media (hover:hover){#menu-categories-produits ul li.categorie-courante a:hover{color:var(--couleur-noir)}}#menu-categories-produits ul li a{width:inherit;padding:var(--menu-entree-marges-internes-ligne)0;outline:initial;text-decoration:none;display:inline-block}#menu-categories-produits ul li a:focus-visible{color:var(--couleur-jaune);outline:initial}@media (hover:hover){#menu-categories-produits ul li a:hover{color:var(--couleur-noir);background:var(--couleur-jaune)}}@media (width<=1000px){#menu-categories-produits ul{--menu-entree-marges-internes-ligne:var(--espace-s);flex-flow:wrap;font-size:.8rem;display:flex}#menu-categories-produits ul li{flex-grow:1;width:min(140px,100%)}#menu-categories-produits ul li a{border:initial;width:100%}}@media (width<=600px){#menu-categories-produits ul{scrollbar-width:none;flex-flow:row;overflow-x:scroll}#menu-categories-produits ul li{width:initial;min-width:140px}}.photos-produit{--colonne-gauche-position-haut:var(--menu-categories-produits-hauteur);--colonne-gauche-photo-hauteur:calc(100svh - var(--menu-categories-produits-hauteur));--colonne-droite-photo-hauteur-minimale:calc(100svh + var(--en-tete-hauteur) + var(--menu-categories-produits-hauteur));--colonne-photo-longueur-minimale:30rem;--section-marges-externes-bloc-fin:1rem;flex-flow:row;max-width:100%;display:flex;position:relative}.photos-produit .colonne{width:min(var(--colonne-photo-longueur-minimale),100%);flex-flow:column;flex-grow:1;display:flex;position:relative}.photos-produit .colonne.colonne-gauche{top:var(--colonne-gauche-position-haut);height:var(--colonne-gauche-photo-hauteur);position:sticky}.photos-produit .colonne.colonne-gauche figure,.photos-produit .colonne.colonne-gauche picture,.photos-produit .colonne.colonne-gauche img{height:100%}.photos-produit .colonne.colonne-droite img{width:100%;max-height:var(--colonne-droite-photo-hauteur-minimale)}.photos-produit .colonne.colonne-droite figure picture img:only-child{min-height:var(--colonne-droite-photo-hauteur-minimale);max-height:var(--colonne-droite-photo-hauteur-minimale)}@media (width<=60rem){.photos-produit{--colonne-droite-photo-hauteur-minimale:var(--photo-hauteur-maximum);--photo-longueur-maximum:calc(100% - var(--espace-xl));--photo-hauteur-maximum:calc(100svh - var(--en-tete-hauteur) - 87px);scroll-behavior:smooth;scrollbar-width:none;scroll-snap-type:x mandatory;width:fit-content;max-width:initial;flex-flow:row;overflow-x:scroll}.photos-produit::-webkit-scrollbar{display:none}.photos-produit .colonne{scroll-snap-type:x mandatory;width:100%;min-width:100%}.photos-produit .colonne figure{scroll-snap-align:none center}.photos-produit .colonne img{max-height:var(--photo-hauteur-maximum)}.photos-produit .colonne.colonne-gauche{position:initial;min-width:var(--photo-longueur-maximum);height:initial}.photos-produit .colonne.colonne-droite{flex-flow:row}.photos-produit .colonne.colonne-droite figure{min-width:var(--photo-longueur-maximum);flex-grow:1}.photos-produit .colonne.colonne-droite:has(figure:only-child){min-width:var(--photo-longueur-maximum)}}.grille-produits{--grille-produits-hauteur-minimale:var(--contenu-page-hauteur-minimale-avec-categories);--aucun-produit-hauteur:var(--contenu-page-hauteur-minimale-avec-categories);--carte-produit-longueur-minimale:448px;--carte-produit-longueur-maximale:1000px;grid-auto-rows:1fr;grid-template-columns:repeat(auto-fit,minmax(var(--carte-produit-longueur-minimale),1fr));min-height:var(--grille-produits-hauteur-minimale);gap:1px;display:grid}.grille-produits article{max-width:var(--carte-produit-longueur-maximale);box-shadow:0 0 0 1px var(--couleur-noir)}.grille-produits article figure{row-gap:var(--espace-xl);flex-flow:column;display:flex}.grille-produits article figure a{position:relative}@media (hover:hover){.grille-produits article figure a:hover .produit__illustration__survol{visibility:visible;opacity:1;transition:opacity .3s,visibility .3s}}.grille-produits article figure img{position:inherit;aspect-ratio:9/16;object-fit:cover;background:0 0;width:100%;max-height:70vh}.grille-produits article figure .produit__illustration__principale{display:block}.grille-produits article figure .produit__illustration__principale:before{content:"";z-index:-1;opacity:0;filter:opacity(20%);background-image:url(/app/themes/haiku-atelier-2024/assets/img/icons/cloud-gris.svg);background-position:50%;background-repeat:no-repeat;background-size:50%;width:100%;height:100%;animation:1.5s linear .5s infinite alternate both test;position:absolute;top:0;left:0}.grille-produits article figure .produit__illustration__principale img{opacity:0;transition:opacity 1s}.grille-produits article figure .produit__illustration__survol{visibility:hidden;opacity:0;width:100%;height:100%;transition:opacity .15s,visibility .15s;display:block;position:absolute;top:0;left:0}.grille-produits article figure .produit__illustration__survol img{background:var(--couleur-fond)}.grille-produits article figure figcaption{margin-bottom:var(--espace-xl);padding:var(--espace-m);flex-flow:row;justify-content:space-between;display:flex}.grille-produits article figure figcaption h3{letter-spacing:var(--espacement-inter-lettres-etendu-m);font-style:italic}.grille-produits article figure figcaption p{letter-spacing:var(--espacement-inter-lettres-rapproche-s);font-weight:500}.grille-produits__aucun-produit{min-height:var(--aucun-produit-hauteur);text-align:center;grid-column:span 3;align-content:center}.grille-produits__aucun-produit p+p{margin-top:var(--espace-l);font-size:1.25rem}@media (width<=700px){.grille-produits{grid-template-columns:100%}.grille-produits article figure img{max-height:50svh}}@keyframes test{to{opacity:1}}.resume-produit{--resume-position-basse:0%;--section-marges-internes:var(--espace-l);--espace-inter-colonne:var(--espace-xl);--resume-police-graisse:500;--resume-police-style:italic;--resume-police-taille:var(--espace-l);--resume-police-nom-taille:1.33rem;--resume-police-selecteur-graisse:400;--resume-police-selecteur-taille:var(--espace-m);bottom:var(--resume-position-basse);position:sticky}.resume-produit .selecteur-produit{column-gap:var(--espace-inter-colonne);border-block:1px solid var(--couleur-noir);font-size:var(--resume-police-taille);font-weight:var(--resume-police-graisse);font-style:var(--resume-police-style);line-height:var(--hauteur-ligne-compacte);background:var(--couleur-blanc-fond);grid-template-columns:repeat(3,1fr);grid-auto-flow:column;place-items:center;display:grid;position:relative}.resume-produit .selecteur-produit>*{width:100%;height:100%;padding:var(--section-marges-internes);flex-flow:row;place-content:center;place-items:center;display:flex}.resume-produit .selecteur-produit>:nth-child(2){border-inline-start:1px solid var(--couleur-noir);border-inline-end:1px solid var(--couleur-noir)}.resume-produit .selecteur-produit__nom{font-size:var(--resume-police-nom-taille)}.resume-produit .selecteur-produit__selection-variation{font-size:var(--resume-police-selecteur-taille);font-weight:var(--resume-police-selecteur-graisse);text-transform:lowercase}.resume-produit .selecteur-produit__selection-variation label{margin-right:var(--espace-s)}.resume-produit .selecteur-produit__selection-variation select{padding:var(--espace-xs)var(--espace-l);border:1px solid var(--couleur-noir);text-align:center;letter-spacing:initial;appearance:none;background:var(--couleur-fond);position:relative}@supports selector(:user-valid){.resume-produit .selecteur-produit__selection-variation select:user-valid{background:var(--couleur-jaune-fond)}}.resume-produit .selecteur-produit__selection-variation option{background:var(--couleur-fond)}.resume-produit .selecteur-produit__selection-variation__selecteurs{position:relative}.resume-produit .selecteur-produit__selection-variation__selecteurs:after{pointer-events:none;content:" ";text-align:center;visibility:visible;opacity:1;background:url(/app/themes/haiku-atelier-2024/assets/img/icons/arrow.svg) no-repeat;width:.9rem;height:.9rem;transition:opacity .2s,visibility .2s;display:inline-block;position:absolute;top:10px;right:.4rem}@supports not selector(:user-valid){.resume-produit .selecteur-produit__selection-variation__selecteurs:has(select:valid):after{visibility:hidden;opacity:0}}@supports selector(:user-valid){.resume-produit .selecteur-produit__selection-variation__selecteurs:has(select:user-valid):after{visibility:hidden;opacity:0}}.resume-produit .selecteur-produit__prix{font-style:initial}@media (width<=800px){.resume-produit{--section-marges-internes:var(--espace-m);--espace-inter-colonne:var(--espace-m)}}@media (width<=700px){.resume-produit{--resume-police-taille:var(--espace-m);--resume-police-nom-taille:var(--espace-m);--section-marges-internes:var(--espace-m);--espace-inter-colonne:var(--espace-s)}}@media (width<=500px){.resume-produit .selecteur-produit__selection-variation{row-gap:var(--espace-inter-colonne);flex-flow:column}.resume-produit .selecteur-produit__selection-variation h3{flex-basis:100%}}.details-produit{--bouton-marges-internes-bloc:var(--espace-l);--espace-inter-lignes:var(--espace-l);--espace-inter-texte:var(--espace-m);--section-marges-internes:var(--espace-l);--textuel-marges-internes-ligne:calc(var(--espace-l)*2);background-color:var(--couleur-blanc)}.details-produit__textes{grid-template-columns:1fr;grid-auto-flow:row;display:grid}.details-produit__textes .section-textuelle:not(:last-of-type){border-block-end:1px solid var(--couleur-noir)}.details-produit__textes .section-textuelle:has(button[aria-expanded=false]) .section-textuelle__contenu{display:none}.details-produit__textes .section-textuelle h3{line-height:var(--hauteur-ligne-rapprochee)}.details-produit__textes .section-textuelle h3 button{width:100%;min-block-size:1lh;padding:var(--section-marges-internes);text-align:start;display:inline-block}.details-produit__textes .section-textuelle .section-textuelle__contenu{padding-block-end:var(--section-marges-internes);padding-inline:var(--textuel-marges-internes-ligne)}.details-produit__textes .section-textuelle .section-textuelle__contenu ul{list-style:inside}.details-produit__textes .section-textuelle .section-textuelle__contenu a{text-decoration-color:var(--couleur-noir)}.details-produit__textes .section-textuelle .section-textuelle__contenu>*+*{margin-top:var(--espace-inter-texte)}.details-produit__actions{--section-marges-internes:var(--espace-l);border-block:1px solid var(--couleur-noir);background:var(--couleur-jaune);transition:background .2s;overflow:hidden}.details-produit__actions:has(button[disabled]){background:var(--couleur-fond)}.details-produit__actions button{height:initial;padding:var(--section-marges-internes);text-transform:uppercase;font-style:italic;transition:background .2s,font-weight .2s}@media (hover:hover){.details-produit__actions button:not([disabled]):hover{font-weight:600}}.produits-similaires{--carte-produit-longueur-minimale:448px;--carte-produit-longueur-maximale:1000px;--en-tete-flottante-hauteur:calc(1rem + var(--espace-l)*2 + 1px);grid-template-rows:1fr auto;grid-template-columns:repeat(3,1fr);grid-template-areas:"en-tete en-tete en-tete""produits produits produits";place-items:center;display:grid;position:relative}.produits-similaires header{z-index:10;top:var(--en-tete-flottante-hauteur);width:100%;padding:var(--espace-l)0;color:var(--couleur-blanc);text-align:center;background:var(--couleur-noir);grid-area:en-tete;position:sticky}.produits-similaires header h2{font-style:italic;line-height:var(--hauteur-ligne-rapprochee);text-transform:uppercase;letter-spacing:var(--espacement-inter-lettres-etendu-m)}.produits-similaires .grille-produits-similaires{grid-area:produits;grid-auto-rows:1fr;grid-template-columns:repeat(auto-fit,minmax(var(--carte-produit-longueur-minimale),1fr));gap:1px;width:100%;display:grid}.produits-similaires .grille-produits-similaires article{max-width:var(--carte-produit-longueur-maximale);box-shadow:0 0 0 1px var(--couleur-noir)}.produits-similaires .grille-produits-similaires article figure{row-gap:var(--espace-xl);flex-flow:column;display:flex}.produits-similaires .grille-produits-similaires article figure a{position:relative}@media (hover:hover){.produits-similaires .grille-produits-similaires article figure a:hover .produit__illustration__survol{visibility:visible;opacity:1;transition:opacity .3s,visibility .3s}}.produits-similaires .grille-produits-similaires article figure .produit__illustration__principale{display:block}.produits-similaires .grille-produits-similaires article figure .produit__illustration__survol{visibility:hidden;opacity:0;width:100%;height:100%;transition:opacity .15s,visibility .15s;display:block;position:absolute;top:0;left:0}.produits-similaires .grille-produits-similaires article figure img{aspect-ratio:9/16;object-fit:cover;width:100%;max-height:70svh}.produits-similaires .grille-produits-similaires article figure figcaption{margin-bottom:var(--espace-xl);padding:0 var(--espace-m);flex-flow:row;justify-content:space-between;display:flex}.produits-similaires .grille-produits-similaires article figure figcaption h3{letter-spacing:var(--espacement-inter-lettres-etendu-m);font-style:italic}.produits-similaires .grille-produits-similaires article figure figcaption p{letter-spacing:var(--espacement-inter-lettres-rapproche-s);font-weight:500}@media (width<=700px){.produits-similaires .grille-produits-similaires{grid-template-columns:100%}.produits-similaires .grille-produits-similaires article figure img{max-height:50svh}}#pied-de-page{max-width:100vw;height:var(--pied-de-page-hauteur);padding:var(--espace-s)var(--espace-m);border-top:1px solid var(--couleur-noir);background:var(--couleur-jaune);grid-template-columns:1fr 1fr;place-items:center;font-size:.8rem;display:grid}#pied-de-page .zone-menu-navigation-secondaire{text-transform:lowercase;justify-self:start;width:100%;height:100%}#pied-de-page .zone-liens-reseaux-sociaux{text-align:right;justify-items:end;width:100%;height:100%} \ No newline at end of file +@font-face{font-family:Lato;font-weight:100 900;font-style:normal;font-display:swap;src:url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2)format("woff2")tech(variations),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2)format("woff2-variations"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-webfont.ttf)format("truetype");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lato;font-weight:100 900;font-style:italic;font-display:swap;src:url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2)format("woff2")tech(variations),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2)format("woff2-variations"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-variable-italic-webfont.ttf)format("truetype");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Myriad;font-weight:300 900;font-style:normal;font-display:swap;font-stretch:70% 110%;src:url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.ttf)format("truetype")}@font-face{font-family:Myriad;font-weight:300 900;font-style:italic;font-display:swap;font-stretch:70% 110%;src:url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.woff2)format("woff2"),url(/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.ttf)format("truetype")}:root{--couleur-blanc:#fff;--couleur-blanc-fond:#ffffffe6;--couleur-gris:#eceaeb;--couleur-gris-fonce:gray;--couleur-gris-fonce-fond:#808080cc;--couleur-bordeaux:#490918;--couleur-bordeaux-fond:#490918cc;--couleur-jaune:#defdb5;--couleur-jaune-fond:#ebffb8cc;--couleur-noir:#202020;--couleur-fond:#eceaebcc;--police-lato:"Lato",sans-serif;--hauteur-ligne-classique:1.5;--hauteur-ligne-moitie:1.2;--hauteur-ligne-compacte:1.1;--hauteur-ligne-rapprochee:1;--espacement-inter-lettres-rapproche-m:-1px;--espacement-inter-lettres-rapproche-s:-.5px;--espacement-inter-lettres-etendu-s:.5px;--espacement-inter-lettres-etendu-m:1px;--espacement-inter-lettres-etendu-l:1.5px;--espacement-inter-lettres-etendu-xl:2px;--en-tete-hauteur:61px;--menu-categories-produits-hauteur:calc(var(--espace-m)*2 + 1rlh);--pied-de-page-hauteur:calc(.8rem*1.5*3 + var(--espace-s)*2);--contenu-page-hauteur-minimale-sans-categories:calc(100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur));--contenu-page-hauteur-minimale-avec-categories:calc(100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur) - var(--menu-categories-produits-hauteur));--espace-2xs:.1rem;--espace-xs:.25rem;--espace-s:.5rem;--espace-m:1rem;--espace-l:1.25rem;--espace-xl:2rem}html{box-sizing:border-box}*,:before,:after{box-sizing:inherit;font:inherit;color:inherit;outline-offset:-2px;outline:2px dashed #0000;margin:0;padding:0}@view-transition{navigation:auto}body{overscroll-behavior:none;accent-color:var(--couleur-jaune);background:var(--couleur-gris)}button,input,select,textarea{font:inherit}::selection{background:var(--couleur-jaune)}[hidden]{display:none!important}:focus-visible{outline-color:var(--couleur-noir);transition:outline-color .2s}.visuellement-cache:not(:focus,:active,:focus-within){white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}[disabled]{cursor:not-allowed}@media (prefers-reduced-motion){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:0s!important}@view-transition{}}html{font:1rem/var(--hauteur-ligne-classique)Lato;font-optical-sizing:auto;font-kerning:normal;font-variant-ligatures:common-ligatures no-discretionary-ligatures no-historical-ligatures contextual;-webkit-font-smoothing:antialiased;color:var(--couleur-noir);text-decoration-skip-ink:auto;text-size-adjust:none;text-rendering:geometricprecision;letter-spacing:var(--espacement-inter-lettres-etendu-s)}strong{font-weight:600}em{font-style:italic}button{all:initial;cursor:pointer;box-sizing:border-box;text-align:center;letter-spacing:inherit;outline-offset:-2px;outline:2px dashed #0000;font-family:Lato;transition:background .2s,color .2s,outline-color .2s}button:not[disabled]:focus-visible{z-index:5;outline-color:var(--couleur-noir)}button:not[disabled]:active{color:var(--couleur-blanc)!important;background:var(--couleur-noir)!important}@media (hover:hover){button:not[disabled]:hover{color:var(--couleur-noir);background:var(--couleur-jaune)}}button:disabled,button[disabled]{background:repeating-conic-gradient(var(--couleur-noir)0% 25%,transparent 0% 100%)1px .5px/2px 2px;outline-color:#0000}button.bouton-case-pleine{width:100%;height:100%}button.bouton-case-pleine.bouton-blanc-sur-noir{text-transform:uppercase;letter-spacing:var(--espacement-inter-lettres-etendu-m);font-style:italic}button.bouton-case-pleine.bouton-blanc-sur-noir:focus-visible{color:var(--couleur-noir);background:var(--couleur-jaune)}button.bouton-blanc-sur-noir{color:var(--couleur-blanc);background:var(--couleur-noir)}@media (hover:hover){button.bouton-fleche{background:initial}}button.bouton-retour-haut{right:var(--espace-xl);bottom:calc(var(--espace-l) + var(--pied-de-page-hauteur));padding:var(--espace-m);border:1px solid var(--couleur-noir);visibility:hidden;opacity:0;background:var(--couleur-fond);box-shadow:initial;border-radius:100%;transition:background .2s,opacity .2s,visibility .2s;position:fixed;transform:rotate(180deg)}button.bouton-retour-haut img{background:0 0;width:1rem;height:1rem}button.bouton-retour-haut[data-actif]{visibility:visible;opacity:.6}@media (hover:hover){button.bouton-retour-haut[data-actif]:hover{opacity:1;background:var(--couleur-jaune-fond)}}fieldset{all:initial;margin-top:var(--espace-l);font:inherit;flex-flow:column;display:flex}input,select,textarea{padding:var(--espace-xs);border:1px solid var(--couleur-noir);accent-color:var(--couleur-jaune);background:var(--couleur-gris);transition:background .2s}input:focus-visible,input:focus-within,input:active,select:focus-visible,select:focus-within,select:active,textarea:focus-visible,textarea:focus-within,textarea:active{z-index:10;outline:2px dashed var(--couleur-noir)}input:disabled,input[disabled],select:disabled,select[disabled],textarea:disabled,textarea[disabled]{background:repeating-conic-gradient(var(--couleur-noir)0% 25%,transparent 0% 100%)1px .5px/2px 2px;outline-color:#0000}input:is([type=email],[type=text],[type=tel])::placeholder,textarea::placeholder{text-transform:lowercase;letter-spacing:var(--espacement-inter-lettres-etendu-s)}input:is([type=email],[type=text],[type=tel])::selection,textarea::selection{color:var(--couleur-blanc);background:var(--couleur-noir)}input:is([type=email],[type=text],[type=tel]):user-valid,textarea:user-valid{background:var(--couleur-jaune)}input:is([type=email],[type=text],[type=tel]):user-invalid,textarea:user-invalid{background:var(--couleur-gris)}input,label,select,textarea{cursor:pointer}input[type=checkbox],input[type=radio]{width:var(--espace-l);height:var(--espace-l);padding:initial;border:1px solid var(--couleur-noir);appearance:none;transition:background .2s}input[type=checkbox]:checked,input[type=radio]:checked{background:var(--couleur-jaune)}input[type=checkbox]:checked:before,input[type=radio]:checked:before{content:"x";position:relative;bottom:.1rem;left:.35rem}@media (hover:hover){input[type=checkbox]:checked:hover,input[type=radio]:checked:hover{color:var(--couleur-noir)}}input[type=checkbox]:not(:checked):user-valid,input[type=radio]:not(:checked):user-valid{background:initial}label:has(~input[type=checkbox],~input[type=radio]),input[type=checkbox]+label,input[type=radio]+label{padding-top:1px;font-size:.9rem}@media (hover:hover){input[type=checkbox]:hover,input[type=radio]:hover{background:var(--couleur-jaune)}}input[type=radio]{appearance:initial;border-radius:100%}input[type=radio]:checked{place-content:center;place-items:center;display:inline-flex}input[type=radio]:checked:before{content:" ";inset:initial;width:calc(var(--espace-l)/2);height:calc(var(--espace-l)/2);background:var(--couleur-noir);border-radius:100%;display:inline-block}@media (hover:hover){textarea:hover{color:var(--couleur-noir)}}img,picture{max-width:100%;display:block}img{object-fit:cover;background:var(--couleur-jaune)}a{--lien-contour-couleur-focus:var(--couleur-noir);text-decoration-skip-ink:auto;text-decoration-skip:edges;text-decoration:underline #0000;transition:background .2s,border-color .2s,color .2s,font-weight .2s,outline-color .2s,letter-spacing .2s,text-decoration-color .2s}a:focus-visible{outline-color:var(--lien-contour-couleur-focus)}a.lien-bouton{--lien-bouton-marges-internes-bloc:var(--espace-xs);--lien-bouton-marges-internes-ligne:var(--espace-m);--lien-bouton-arriere-plan-couleur-survol:var(--couleur-jaune);padding:var(--lien-bouton-marges-internes-bloc)var(--lien-bouton-marges-internes-ligne);border:1px solid var(--couleur-noir)}a.lien-bouton:focus-visible{background:var(--lien-bouton-arriere-plan-couleur-survol)}a.lien-bouton:active{border-color:var(--lien-bouton-arriere-plan-couleur-survol)}@media (hover:hover){a.lien-bouton:hover{background:var(--lien-bouton-arriere-plan-couleur-survol)}}a.lien-lien{text-decoration:underline}a.lien-lien:active{text-decoration-color:var(--couleur-jaune);background:var(--couleur-jaune)}@media (hover:hover){a.lien-lien:hover{text-decoration-color:var(--couleur-jaune);background:var(--couleur-jaune)}a:not([class]):hover{text-decoration-color:var(--couleur-noir)}}ul{list-style:none}ul.avec-puce-cercle{--liste-puce-cercle-lien-marges-internes-ligne-debut:2ch;--liste-puce-cercle-puce-position-horizontale:1ch;--liste-puce-cercle-puce-taille:1.25ex}ul.avec-puce-cercle a{padding-left:var(--liste-puce-cercle-lien-marges-internes-ligne-debut);background:no-repeat var(--liste-puce-cercle-puce-position-horizontale)center/var(--liste-puce-cercle-puce-taille)url(/app/themes/haiku-atelier-2024/assets/img/icons/dot.svg)}.bandeau{column-gap:var(--espace-m);border-top:1px solid var(--couleur-noir);width:100%;color:var(--couleur-noir);text-transform:uppercase;white-space:nowrap;background:var(--couleur-jaune);font-style:italic;display:flex;overflow:hidden}.bandeau__conteneur{column-gap:var(--espace-m);flex-flow:row;animation:15s linear infinite both marquee;display:flex}.bandeau__conteneur ::selection{color:var(--couleur-jaune);background:var(--couleur-noir)}.bandeau__conteneur p{padding:var(--espace-s)0;display:inline-block}.bandeau__conteneur p strong{font-weight:600}@media (hover:hover){.bandeau:hover .bandeau__conteneur{animation-play-state:paused}}@keyframes marquee{0%{transform:translate(0%)}to{transform:translate(-100%)}}body:has(#menu-mobile:not([aria-hidden=true])){touch-action:none;overflow:hidden}#menu-mobile{--menu-mobile-hauteur:calc(100svh - var(--en-tete-hauteur));z-index:997;inset:var(--en-tete-hauteur)0 0 0;overscroll-behavior:contain;width:100vw;height:var(--menu-mobile-hauteur);transition:display .4s;transition:display .4s allow-discrete;-webkit-overflow-scrolling:none;display:flex;position:fixed;overflow:hidden}#menu-mobile[aria-hidden=true]{animation:.4s both fade-out;display:none}#menu-mobile[aria-hidden=true] .menu-modale__fond{animation:.4s both fade-out}#menu-mobile .menu-modale__fond{z-index:998;inset:var(--en-tete-hauteur)0 0 0;height:var(--menu-mobile-hauteur);opacity:0;background-color:var(--couleur-fond);animation:.4s both fade-in;position:fixed}#menu-mobile .menu-modale__conteneur{z-index:999;width:100%;height:fit-content;padding:var(--espace-xl);border-bottom:1px solid var(--couleur-noir);opacity:0;background-color:var(--couleur-gris);flex-flow:column;animation:.4s .2s both fade-in;display:flex;position:relative}#menu-mobile .menu-modale__conteneur .menu-navigation{grid-template-columns:1fr}#menu-mobile .menu-modale__conteneur .menu-navigation ul{grid-column:initial;flex-flow:column;place-items:center}#menu-mobile .menu-modale__conteneur .menu-navigation ul>span{width:fit-content}#menu-mobile .menu-modale__conteneur .menu-navigation ul>span li a{padding-top:var(--espace-m);padding-bottom:var(--espace-m)}@media (width>1000px){#menu-mobile{display:none}}@keyframes fade-in{to{opacity:1}}@keyframes fade-out{to{opacity:0}}@keyframes slide-in{to{transform:translateY(0)}}#en-tete{--en-tete-marges-internes-ligne:var(--espace-xl);--en-tete-marges-internes-bloc:var(--espace-m);--en-tete-section-hauteur:var(--en-tete-hauteur);--en-tete-logo-longueur:160px;z-index:60;min-width:100vw;max-width:100vw;height:var(--en-tete-hauteur);padding:var(--en-tete-marges-internes-bloc)var(--en-tete-marges-internes-ligne);border-bottom:1px solid var(--couleur-noir);background:var(--couleur-gris);flex-flow:row;justify-content:space-between;place-items:center;display:flex;position:fixed;top:0}#en-tete picture,#en-tete img{background:0 0}#en-tete .logo{width:var(--en-tete-logo-longueur)}#en-tete .logo img{object-fit:contain;width:100%;height:40px;image-rendering:crisp-edges;shape-rendering:geometricprecision;margin-left:-6px}#en-tete .menu-navigation{text-align:center;text-transform:lowercase;flex:1;grid-template-columns:1fr auto 1fr;font-size:1.1rem;display:grid}#en-tete .menu-navigation ul{gap:var(--espace-m);flex-flow:row;grid-column:2;justify-content:space-between;display:flex}#en-tete .menu-navigation__entree{--nav-entree-marges-internes-bloc:var(--espace-xs);--nav-entree-marges-internes-ligne:3rem;--liste-puce-cercle-lien-marges-internes-ligne-debut:calc(var(--espace-m) + 1.5ch);--liste-puce-cercle-puce-position-horizontale:3.5ch}#en-tete .menu-navigation__entree:has(a[aria-current=page]),#en-tete .menu-navigation__entree--courante{background:url(/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche.svg) 50%/auto 90% no-repeat}#en-tete .menu-navigation__entree a{padding:var(--nav-entree-marges-internes-bloc)var(--nav-entree-marges-internes-ligne);text-align:center;display:inline-block}@media (hover:hover){#en-tete .menu-navigation__entree:hover{background:url(/app/themes/haiku-atelier-2024/assets/img/icons/cloud-penche.svg) 50%/auto 90% no-repeat}}@media (width<=1000px){#en-tete .menu-navigation#menu-navigation-en-tete{display:none}}#en-tete .compte-panier{text-align:center;flex-flow:row;place-items:center;gap:1rem;display:flex}#en-tete .compte-panier[disabled]{background:repeating-conic-gradient(var(--couleur-noir)0% 25%,transparent 0% 100%)1px .5px/2px 2px}#en-tete .compte-panier[disabled] a:hover,#en-tete .compte-panier[disabled] a:active,#en-tete .compte-panier[disabled] a:focus-within{border:1px solid var(--couleur-noir);background:initial}#en-tete .compte-panier a{text-transform:lowercase;padding-block:var(--espace-2xs);padding-inline:var(--espace-s)}#en-tete .compte-panier a.lien-compte{border-color:#0000}#en-tete .compte-panier a[data-contient-articles=true]{background:var(--couleur-jaune)}#en-tete .conteneur{column-gap:var(--espace-m);display:flex}#en-tete .bouton-menu-mobile{--hauteur-bouton-menu:22px;align-content:center;display:none}#en-tete .bouton-menu-mobile img{height:var(--hauteur-bouton-menu);object-fit:contain;image-rendering:crisp-edges;shape-rendering:geometricprecision}@media (width<=1000px){#en-tete .bouton-menu-mobile{display:block}}@media (width<=600px){#en-tete{--en-tete-marges-internes-ligne:var(--espace-l)}}#menu-categories-produits{--menu-entree-longueur-minimale:13ch;--menu-section-marges-bloc-debut:var(--en-tete-hauteur);--menu-entree-marges-internes-ligne:var(--espace-m);margin-top:var(--menu-section-marges-bloc-debut);position:relative}#menu-categories-produits[data-entrees-presentes-debut] svg:first-of-type,#menu-categories-produits[data-entrees-presentes-fin] svg:last-of-type{opacity:1}#menu-categories-produits svg{pointer-events:none;opacity:0;mix-blend-mode:exclusion;width:.8rem;height:.8rem;shape-rendering:geometricprecision;transition:opacity .2s;position:absolute;bottom:calc(17.59px - .35rem)}#menu-categories-produits svg:first-of-type{left:var(--espace-xs)}#menu-categories-produits svg:last-of-type{right:var(--espace-xs)}@media (width>600px){#menu-categories-produits svg{visibility:hidden}}#menu-categories-produits ul{grid-template-columns:repeat(auto-fit,minmax(var(--menu-entree-longueur-minimale),1fr));place-items:center;gap:1px;display:grid}#menu-categories-produits ul li{width:100%;color:var(--couleur-gris);text-align:center;text-transform:uppercase;letter-spacing:var(--espacement-inter-lettres-etendu-m);background:var(--couleur-noir);font-style:italic;font-weight:450}#menu-categories-produits ul li.categorie-courante a{color:var(--couleur-noir);background:var(--couleur-jaune);font-weight:600}@media (hover:hover){#menu-categories-produits ul li.categorie-courante a:hover{color:var(--couleur-noir)}}#menu-categories-produits ul li a{width:inherit;padding:var(--menu-entree-marges-internes-ligne)0;outline:initial;text-decoration:none;display:inline-block}#menu-categories-produits ul li a:focus-visible{color:var(--couleur-jaune);outline:initial}@media (hover:hover){#menu-categories-produits ul li a:hover{color:var(--couleur-noir);background:var(--couleur-jaune)}}@media (width<=1000px){#menu-categories-produits ul{--menu-entree-marges-internes-ligne:var(--espace-s);flex-flow:wrap;font-size:.8rem;display:flex}#menu-categories-produits ul li{flex-grow:1;width:min(140px,100%)}#menu-categories-produits ul li a{border:initial;width:100%}}@media (width<=600px){#menu-categories-produits ul{scrollbar-width:none;flex-flow:row;overflow-x:scroll}#menu-categories-produits ul li{width:initial;min-width:140px}}.photos-produit{--colonne-gauche-position-haut:var(--menu-categories-produits-hauteur);--colonne-gauche-photo-hauteur:calc(100svh - var(--menu-categories-produits-hauteur));--colonne-droite-photo-hauteur-minimale:calc(100svh + var(--en-tete-hauteur) + var(--menu-categories-produits-hauteur));--colonne-photo-longueur-minimale:30rem;--section-marges-externes-bloc-fin:1rem;flex-flow:row;max-width:100%;display:flex;position:relative}.photos-produit .colonne{width:min(var(--colonne-photo-longueur-minimale),100%);flex-flow:column;flex-grow:1;display:flex;position:relative}.photos-produit .colonne.colonne-gauche{top:var(--colonne-gauche-position-haut);height:var(--colonne-gauche-photo-hauteur);position:sticky}.photos-produit .colonne.colonne-gauche figure,.photos-produit .colonne.colonne-gauche picture,.photos-produit .colonne.colonne-gauche img{height:100%}.photos-produit .colonne.colonne-droite img{width:100%;max-height:var(--colonne-droite-photo-hauteur-minimale)}.photos-produit .colonne.colonne-droite figure picture img:only-child{min-height:var(--colonne-droite-photo-hauteur-minimale);max-height:var(--colonne-droite-photo-hauteur-minimale)}@media (width<=60rem){.photos-produit{--colonne-droite-photo-hauteur-minimale:var(--photo-hauteur-maximum);--photo-longueur-maximum:calc(100% - var(--espace-xl));--photo-hauteur-maximum:calc(100svh - var(--en-tete-hauteur) - 87px);scroll-behavior:smooth;scrollbar-width:none;scroll-snap-type:x mandatory;width:fit-content;max-width:initial;flex-flow:row;overflow-x:scroll}.photos-produit::-webkit-scrollbar{display:none}.photos-produit .colonne{scroll-snap-type:x mandatory;width:100%;min-width:100%}.photos-produit .colonne figure{scroll-snap-align:none center}.photos-produit .colonne img{max-height:var(--photo-hauteur-maximum)}.photos-produit .colonne.colonne-gauche{position:initial;min-width:var(--photo-longueur-maximum);height:initial}.photos-produit .colonne.colonne-droite{flex-flow:row}.photos-produit .colonne.colonne-droite figure{min-width:var(--photo-longueur-maximum);flex-grow:1}.photos-produit .colonne.colonne-droite:has(figure:only-child){min-width:var(--photo-longueur-maximum)}}.grille-produits{--grille-produits-hauteur-minimale:var(--contenu-page-hauteur-minimale-avec-categories);--aucun-produit-hauteur:var(--contenu-page-hauteur-minimale-avec-categories);--carte-produit-longueur-minimale:448px;--carte-produit-longueur-maximale:1000px;grid-auto-rows:1fr;grid-template-columns:repeat(auto-fit,minmax(var(--carte-produit-longueur-minimale),1fr));min-height:var(--grille-produits-hauteur-minimale);gap:1px;display:grid}.grille-produits article{max-width:var(--carte-produit-longueur-maximale);box-shadow:0 0 0 1px var(--couleur-noir)}.grille-produits article figure{row-gap:var(--espace-xl);flex-flow:column;display:flex}.grille-produits article figure a{position:relative}@media (hover:hover){.grille-produits article figure a:hover .produit__illustration__survol{visibility:visible;opacity:1;transition:opacity .3s,visibility .3s}}.grille-produits article figure img{position:inherit;aspect-ratio:9/16;object-fit:cover;background:0 0;width:100%;max-height:70vh}.grille-produits article figure .produit__illustration__principale{display:block}.grille-produits article figure .produit__illustration__principale:before{content:"";z-index:-1;opacity:0;filter:opacity(20%);background-image:url(/app/themes/haiku-atelier-2024/assets/img/icons/cloud-gris.svg);background-position:50%;background-repeat:no-repeat;background-size:50%;width:100%;height:100%;animation:1.5s linear .5s infinite alternate both test;position:absolute;top:0;left:0}.grille-produits article figure .produit__illustration__principale img{opacity:0;transition:opacity 1s}.grille-produits article figure .produit__illustration__survol{visibility:hidden;opacity:0;width:100%;height:100%;transition:opacity .15s,visibility .15s;display:block;position:absolute;top:0;left:0}.grille-produits article figure .produit__illustration__survol img{background:var(--couleur-fond)}.grille-produits article figure figcaption{margin-bottom:var(--espace-xl);padding:var(--espace-m);flex-flow:row;justify-content:space-between;display:flex}.grille-produits article figure figcaption h3{letter-spacing:var(--espacement-inter-lettres-etendu-m);font-style:italic}.grille-produits article figure figcaption p{letter-spacing:var(--espacement-inter-lettres-rapproche-s);font-weight:500}.grille-produits__aucun-produit{min-height:var(--aucun-produit-hauteur);text-align:center;grid-column:span 3;align-content:center}.grille-produits__aucun-produit p+p{margin-top:var(--espace-l);font-size:1.25rem}@media (width<=700px){.grille-produits{grid-template-columns:100%}.grille-produits article figure img{max-height:50svh}}@keyframes test{to{opacity:1}}.resume-produit{--resume-position-basse:0%;--section-marges-internes:var(--espace-l);--espace-inter-colonne:var(--espace-xl);--resume-police-graisse:500;--resume-police-style:italic;--resume-police-taille:var(--espace-l);--resume-police-nom-taille:1.33rem;--resume-police-selecteur-graisse:400;--resume-police-selecteur-taille:var(--espace-m);bottom:var(--resume-position-basse);position:sticky}.resume-produit .selecteur-produit{column-gap:var(--espace-inter-colonne);border-block:1px solid var(--couleur-noir);font-size:var(--resume-police-taille);font-weight:var(--resume-police-graisse);font-style:var(--resume-police-style);line-height:var(--hauteur-ligne-compacte);background:var(--couleur-blanc-fond);grid-template-columns:repeat(3,1fr);grid-auto-flow:column;place-items:center;display:grid;position:relative}.resume-produit .selecteur-produit>*{width:100%;height:100%;padding:var(--section-marges-internes);flex-flow:row;place-content:center;place-items:center;display:flex}.resume-produit .selecteur-produit>:nth-child(2){border-inline-start:1px solid var(--couleur-noir);border-inline-end:1px solid var(--couleur-noir)}.resume-produit .selecteur-produit__nom{font-size:var(--resume-police-nom-taille)}.resume-produit .selecteur-produit__attribut-variation{gap:var(--espace-m)var(--espace-l);font-size:var(--resume-police-selecteur-taille);font-weight:var(--resume-police-selecteur-graisse);text-transform:lowercase;flex-flow:wrap;display:flex}.resume-produit .selecteur-produit__attribut-variation label{margin-right:var(--espace-s)}.resume-produit .selecteur-produit__attribut-variation select{padding:var(--espace-xs)var(--espace-l);border:1px solid var(--couleur-noir);text-align:center;letter-spacing:initial;appearance:none;background:var(--couleur-fond);position:relative}@supports selector(:user-valid){.resume-produit .selecteur-produit__attribut-variation select:user-valid{background:var(--couleur-jaune-fond)}}.resume-produit .selecteur-produit__attribut-variation option{background:var(--couleur-fond)}.resume-produit .selecteur-produit__attribut-variation__selecteurs{position:relative}.resume-produit .selecteur-produit__attribut-variation__selecteurs:after{pointer-events:none;content:" ";text-align:center;visibility:visible;opacity:1;background:url(/app/themes/haiku-atelier-2024/assets/img/icons/arrow.svg) no-repeat;width:.9rem;height:.9rem;transition:opacity .2s,visibility .2s;display:inline-block;position:absolute;top:7px;right:.4rem}@supports not selector(:user-valid){.resume-produit .selecteur-produit__attribut-variation__selecteurs:has(select:valid):after{visibility:hidden;opacity:0}}@supports selector(:user-valid){.resume-produit .selecteur-produit__attribut-variation__selecteurs:has(select:user-valid):after{visibility:hidden;opacity:0}}.resume-produit .selecteur-produit__prix{font-style:initial}@media (width<=800px){.resume-produit{--section-marges-internes:var(--espace-m);--espace-inter-colonne:var(--espace-m)}}@media (width<=700px){.resume-produit{--resume-police-taille:var(--espace-m);--resume-police-nom-taille:var(--espace-m);--section-marges-internes:var(--espace-m);--espace-inter-colonne:var(--espace-s)}}@media (width<=500px){.resume-produit .selecteur-produit__selection-variation-attribut{row-gap:var(--espace-inter-colonne);flex-flow:column}.resume-produit .selecteur-produit__selection-variation-attribut h3{flex-basis:100%}}.details-produit{--bouton-marges-internes-bloc:var(--espace-l);--espace-inter-lignes:var(--espace-l);--espace-inter-texte:var(--espace-m);--section-marges-internes:var(--espace-l);--textuel-marges-internes-ligne:calc(var(--espace-l)*2);background-color:var(--couleur-blanc)}.details-produit__textes{grid-template-columns:1fr;grid-auto-flow:row;display:grid}.details-produit__textes .section-textuelle:not(:last-of-type){border-block-end:1px solid var(--couleur-noir)}.details-produit__textes .section-textuelle:has(button[aria-expanded=false]) .section-textuelle__contenu{display:none}.details-produit__textes .section-textuelle h3{line-height:var(--hauteur-ligne-rapprochee)}.details-produit__textes .section-textuelle h3 button{width:100%;min-block-size:1lh;padding:var(--section-marges-internes);text-align:start;display:inline-block}.details-produit__textes .section-textuelle .section-textuelle__contenu{padding-block-end:var(--section-marges-internes);padding-inline:var(--textuel-marges-internes-ligne)}.details-produit__textes .section-textuelle .section-textuelle__contenu ul{list-style:inside}.details-produit__textes .section-textuelle .section-textuelle__contenu a{text-decoration-color:var(--couleur-noir)}.details-produit__textes .section-textuelle .section-textuelle__contenu>*+*{margin-top:var(--espace-inter-texte)}.details-produit__actions{--section-marges-internes:var(--espace-l);border-block:1px solid var(--couleur-noir);background:var(--couleur-jaune);transition:background .2s;overflow:hidden}.details-produit__actions:has(button[disabled]){background:var(--couleur-fond)}.details-produit__actions button{height:initial;padding:var(--section-marges-internes);text-transform:uppercase;font-style:italic;transition:background .2s,font-weight .2s}@media (hover:hover){.details-produit__actions button:not([disabled]):hover{font-weight:600}}.produits-similaires{--carte-produit-longueur-minimale:448px;--carte-produit-longueur-maximale:1000px;--en-tete-flottante-hauteur:calc(1rem + var(--espace-l)*2 + 1px);grid-template-rows:1fr auto;grid-template-columns:repeat(3,1fr);grid-template-areas:"en-tete en-tete en-tete""produits produits produits";place-items:center;display:grid;position:relative}.produits-similaires header{z-index:10;top:var(--en-tete-flottante-hauteur);width:100%;padding:var(--espace-l)0;color:var(--couleur-blanc);text-align:center;background:var(--couleur-noir);grid-area:en-tete;position:sticky}.produits-similaires header h2{font-style:italic;line-height:var(--hauteur-ligne-rapprochee);text-transform:uppercase;letter-spacing:var(--espacement-inter-lettres-etendu-m)}.produits-similaires .grille-produits-similaires{grid-area:produits;grid-auto-rows:1fr;grid-template-columns:repeat(auto-fit,minmax(var(--carte-produit-longueur-minimale),1fr));gap:1px;width:100%;display:grid}.produits-similaires .grille-produits-similaires article{max-width:var(--carte-produit-longueur-maximale);box-shadow:0 0 0 1px var(--couleur-noir)}.produits-similaires .grille-produits-similaires article figure{row-gap:var(--espace-xl);flex-flow:column;display:flex}.produits-similaires .grille-produits-similaires article figure a{position:relative}@media (hover:hover){.produits-similaires .grille-produits-similaires article figure a:hover .produit__illustration__survol{visibility:visible;opacity:1;transition:opacity .3s,visibility .3s}}.produits-similaires .grille-produits-similaires article figure .produit__illustration__principale{display:block}.produits-similaires .grille-produits-similaires article figure .produit__illustration__survol{visibility:hidden;opacity:0;width:100%;height:100%;transition:opacity .15s,visibility .15s;display:block;position:absolute;top:0;left:0}.produits-similaires .grille-produits-similaires article figure img{aspect-ratio:9/16;object-fit:cover;width:100%;max-height:70svh}.produits-similaires .grille-produits-similaires article figure figcaption{margin-bottom:var(--espace-xl);padding:0 var(--espace-m);flex-flow:row;justify-content:space-between;display:flex}.produits-similaires .grille-produits-similaires article figure figcaption h3{letter-spacing:var(--espacement-inter-lettres-etendu-m);font-style:italic}.produits-similaires .grille-produits-similaires article figure figcaption p{letter-spacing:var(--espacement-inter-lettres-rapproche-s);font-weight:500}@media (width<=700px){.produits-similaires .grille-produits-similaires{grid-template-columns:100%}.produits-similaires .grille-produits-similaires article figure img{max-height:50svh}}#pied-de-page{max-width:100vw;height:var(--pied-de-page-hauteur);padding:var(--espace-s)var(--espace-m);border-top:1px solid var(--couleur-noir);background:var(--couleur-jaune);grid-template-columns:1fr 1fr;place-items:center;font-size:.8rem;display:grid}#pied-de-page .zone-menu-navigation-secondaire{text-transform:lowercase;justify-self:start;width:100%;height:100%}#pied-de-page .zone-liens-reseaux-sociaux{text-align:right;justify-items:end;width:100%;height:100%} \ No newline at end of file diff --git a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json b/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json deleted file mode 100644 index 27582402..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json +++ /dev/null @@ -1,472 +0,0 @@ -{ - "_api-legacy.BVjX3txO.js": { - "file": "api-legacy.BVjX3txO.js", - "name": "api", - "integrity": "sha512-IGngKifPb0uZiSpvJVoB3B9ooJmDWNqht0DJf0ONbl4f4s1kp2jvvpLVapbckkJu+2sWgV69CWoe42dlQTIgrQ==" - }, - "_api.BWtmxolt.js": { - "file": "api.BWtmxolt.js", - "name": "api", - "integrity": "sha512-A5mnWBY5TKhj+Y3nzUyJCS0HERVR3Ix41ykN5F5YMjLeyH5QMjpe4tMNgJOm4oKEWsd79/DISAxSGVn79XpLNw==" - }, - "_dom-legacy.BaBbaRa_.js": { - "file": "dom-legacy.BaBbaRa_.js", - "name": "dom", - "imports": [ - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts", - "_exports-legacy.CUaFfB0_.js" - ], - "integrity": "sha512-XPat7q4Zii0UQyUcY+c/8QA985GjMmWj8/0LoxSrf8NwWgmv6EWb3zh4dYXqMdUawmLIbIuoFVdLjZevUgBXGA==" - }, - "_dom.BBcFv3WT.js": { - "file": "dom.BBcFv3WT.js", - "name": "dom", - "imports": [ - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts", - "_exports.JV8YQBqW.js" - ], - "integrity": "sha512-zDuLbiIYYX2zraxwzBPuIAEFiUyCgN4rg+q7ZRRiVlk7CUjN6Vc3NPFExnXFIf1EVjvNt6XDoKqpoK9VqgvK/w==" - }, - "_exports-legacy.CUaFfB0_.js": { - "file": "exports-legacy.CUaFfB0_.js", - "name": "exports", - "integrity": "sha512-r71ewNRczzx/OA9oJj1J7++ZXTS2+B5oYfbuSQMMc95sHE6mJIbofXOcXLaVALGFwHK6M7vjOnBJmwjoGWEYUw==" - }, - "_exports.JV8YQBqW.js": { - "file": "exports.JV8YQBqW.js", - "name": "exports", - "integrity": "sha512-eoiwzzBgNxq/xRJ1kK5y7v0ASSx9/eYf4rsPmVR0xH4U7zeggxSVGZdWDtia83aqdJwmfU7SFgLJzWu43y8SMQ==" - }, - "_gardes-legacy.KKtp3xCq.js": { - "file": "gardes-legacy.KKtp3xCq.js", - "name": "gardes", - "imports": [ - "_dom-legacy.BaBbaRa_.js" - ], - "integrity": "sha512-gYgHwCvLy5XEMsMAa3B9zDGrFMb6Fw4hsp3mr1hvuYc2n5WPmWubZLl5QqU7U6TFfNpJi11CkTdK5lQ/ZhddCw==" - }, - "_gardes.-KvoYkXU.js": { - "file": "gardes.-KvoYkXU.js", - "name": "gardes", - "imports": [ - "_dom.BBcFv3WT.js" - ], - "integrity": "sha512-1b3ZolW4nf+yxWFRAFSAhI/7rTc9OYAnCs1cfTO1KbMulC81j95EDfN2zsn7z6elR4kCJrC7fdceP5vR3D6JYQ==" - }, - "_index-c1cc4c86-legacy.C-8fWPTk.js": { - "file": "index-c1cc4c86-legacy.C-8fWPTk.js", - "name": "index-c1cc4c86", - "imports": [ - "_dom-legacy.BaBbaRa_.js" - ], - "integrity": "sha512-9ligLfS0/mKHVSSBhItHKmTMYyoG5H2jGFF09/o59IbrdOjnFrbZwAw0H8w8FC6F0UH2vtT/q6qhGYXuWcfj1Q==" - }, - "_index-c1cc4c86.DUxuguYh.js": { - "file": "index-c1cc4c86.DUxuguYh.js", - "name": "index-c1cc4c86", - "imports": [ - "_dom.BBcFv3WT.js" - ], - "integrity": "sha512-R4lyMOQl9NveICP4AqNyIvzFPO9RdYeAjIFqK5RtGhzT5KRinsonFZ9z6Z2EeSpjlEhm9CLNv9q1l/wx7aG6iA==" - }, - "_index-legacy.BZucyBbQ.js": { - "file": "index-legacy.BZucyBbQ.js", - "name": "index", - "integrity": "sha512-MF2cli38DuubppX0OXCdDhJ8a2fZoRrMwU5wHD4Gi20j6HsH3Q+ysyQYvbPerSYzueuecRq2QhH9qfDAPLuOug==" - }, - "_index.BiLbLflF.js": { - "file": "index.BiLbLflF.js", - "name": "index", - "integrity": "sha512-8Ahn0UQBmspOKB4t6c6vnipgMD6h0aJqIYgM5/ZMcNCV6FPkn325zBxIPTjNWU8bXKMl2Sb2uSFUq4LdUbrSyw==" - }, - "_messages-legacy.PVpnHWo9.js": { - "file": "messages-legacy.PVpnHWo9.js", - "name": "messages", - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "_validation-legacy.C-7tMwb9.js", - "_exports-legacy.CUaFfB0_.js" - ], - "integrity": "sha512-GJsoJ9FzSAcpp2wStt8jktxN/kQt6RojkM6ccw5aS/67H5C9ujuo1Ua3Hyvq4RtfScx1+1rICIXZSNm/UCyx7w==" - }, - "_messages.B9cwwdUT.js": { - "file": "messages.B9cwwdUT.js", - "name": "messages", - "imports": [ - "_dom.BBcFv3WT.js", - "_validation.DpnMPnCH.js", - "_exports.JV8YQBqW.js" - ], - "integrity": "sha512-ggjos3tBMApWbiVuAtKFAjijv8RdM+dJ1hJRdRj4Xl3SiQdZhTtZpkRdyQGjYM3aL6RmV27QXi6pHsCBIffW3A==" - }, - "_nombres-legacy.BZrbZkuk.js": { - "file": "nombres-legacy.BZrbZkuk.js", - "name": "nombres", - "imports": [ - "_exports-legacy.CUaFfB0_.js" - ], - "integrity": "sha512-5GbnhKTUDYVU3IPaVLgA6ojKSYg8nre/hRRrZbmnDgcPvslW0G1xvZQqpW2N7RH+jBJUNpjYsXCS6+yCvn8i6g==" - }, - "_nombres.C1uiwPb_.js": { - "file": "nombres.C1uiwPb_.js", - "name": "nombres", - "imports": [ - "_exports.JV8YQBqW.js" - ], - "integrity": "sha512-Lg+EYkU54Bwvk3ZuI3ZN8LhJzqI+XzSmK1+Likp3pwVTBNVSsD3nuVfAOBeENVZ1c7Hh9xZcZzaBDancMUMjdQ==" - }, - "_reseau-legacy.dBQarsl0.js": { - "file": "reseau-legacy.dBQarsl0.js", - "name": "reseau", - "imports": [ - "_index-legacy.BZucyBbQ.js", - "_api-legacy.BVjX3txO.js", - "_dom-legacy.BaBbaRa_.js" - ], - "integrity": "sha512-g655rQaBapN+quEZfR98HP4mKKEfNVpSwVVLQr2ub7Z7tsmnWuZzEAQeFBuSBt3Q4D0jr4S352DS9Hf4A5SgHg==" - }, - "_reseau.CUz9kCSO.js": { - "file": "reseau.CUz9kCSO.js", - "name": "reseau", - "imports": [ - "_index.BiLbLflF.js", - "_api.BWtmxolt.js", - "_dom.BBcFv3WT.js" - ], - "integrity": "sha512-ySuk73CMIp4O2si8mxym4/QtvabuZiAkp1DCh7oNYgpyflh6Ngb7nhuhKtLiodCjDKAOqC6ZwfZ6wCUJVCakMQ==" - }, - "_validation-legacy.C-7tMwb9.js": { - "file": "validation-legacy.C-7tMwb9.js", - "name": "validation", - "imports": [ - "_dom-legacy.BaBbaRa_.js" - ], - "integrity": "sha512-DdQPd4wap6BE3b1hpFdg+3BlB6m5VhEheBWEN63q/1bLrjvf0zQzg01RnIvzazRL8NVgXFgu9TSKre95wECEfA==" - }, - "_validation.DpnMPnCH.js": { - "file": "validation.DpnMPnCH.js", - "name": "validation", - "imports": [ - "_dom.BBcFv3WT.js" - ], - "integrity": "sha512-5UaIb7Y2zZgPawB8ILWPMjpeqVqeWsZqfnFXFcNynKKl/RmgKx0VOBd/zBMQn8NvN0UguK+sppPp+CUT/MBxNw==" - }, - "vite/legacy-polyfills": { - "file": "polyfills.js", - "name": "polyfills", - "src": "vite/legacy-polyfills", - "isEntry": true, - "integrity": "sha512-BeNLlpp3pU0nt0YFbnNGCXh8owF+1dS+ke2BWu9AthproMkVjFAXiAVtDj9gE4lF+MMvdyi4TI6skGXiiaxQ2Q==" - }, - "vite/legacy-polyfills-legacy": { - "file": "polyfills-legacy.js", - "name": "polyfills", - "src": "vite/legacy-polyfills-legacy", - "isEntry": true, - "integrity": "sha512-lvg6F+ctNaZrzPdIm0/3M5HhEfwm3f2Ocyjiqj0J1KV9kt62QQK4wDvGOvAQxCb72A1ZzrJ5LtRMcRdageRK1Q==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/gaffe-legacy.ts": { - "file": "gaffe-legacy.js", - "name": "gaffe", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/gaffe-legacy.ts", - "isEntry": true, - "imports": [ - "_api-legacy.BVjX3txO.js", - "_exports-legacy.CUaFfB0_.js" - ], - "integrity": "sha512-dMZ0O0f24d66d34PXkUpBbTu4uumVQueRteO80WIsyrUmr/xivOptNMHUIXct27d/ask007AwASdu1tediwiyA==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/gaffe.ts": { - "file": "gaffe.js", - "name": "gaffe", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/gaffe.ts", - "isEntry": true, - "imports": [ - "_api.BWtmxolt.js", - "_exports.JV8YQBqW.js" - ], - "integrity": "sha512-tsngJXdxKbVt+ts8fjn951dWDkB0NmQKxQu4RG78N5gOXezWvm5GDzJM+fX8TzVJHdE624TRNons6SpQkI8cPw==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts": { - "file": "journalisation-legacy.js", - "name": "journalisation", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts", - "isEntry": true, - "integrity": "sha512-hvXEMsmNUY4E2gxiadZkLqHnlVZyIp2cCQ3W84sGJgnt/XPvAVHp/2qW2haSdJCaf8ZPC+JJTUi0oWzGIkSi4g==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts": { - "file": "journalisation.js", - "name": "journalisation", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts", - "isEntry": true, - "integrity": "sha512-re9Hg5+pyFRB+rvb7XyWQ3sRdKYTXD2RagZgFkCCzjVz2ZJyB+cDmpkUx5CVcIUkBKRpEeK+DNDu3P2fop6YCQ==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-panier-legacy.ts": { - "file": "scripts-bouton-panier-legacy.js", - "name": "scripts-bouton-panier", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-panier-legacy.ts", - "isEntry": true, - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "_messages-legacy.PVpnHWo9.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts", - "_exports-legacy.CUaFfB0_.js", - "_validation-legacy.C-7tMwb9.js" - ], - "integrity": "sha512-3D9WifzghTWPibZUi93ZO35JDshhCleeJzKjXZP1eIlcnh+WR47KoQ1h7S5uKMGkS0SS5rhC3gh0hKxpwuJvfw==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-panier.ts": { - "file": "scripts-bouton-panier.js", - "name": "scripts-bouton-panier", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-panier.ts", - "isEntry": true, - "imports": [ - "_dom.BBcFv3WT.js", - "_messages.B9cwwdUT.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts", - "_exports.JV8YQBqW.js", - "_validation.DpnMPnCH.js" - ], - "integrity": "sha512-3WAdjplY+TOHdPCWbH7g5sowrTVtYUFBKvDlaTCV0NSHF8+o/28U/re0JkofIXdJzKd36P7NXLQAbcPGOJiZUQ==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-retour-sommet-legacy.ts": { - "file": "scripts-bouton-retour-sommet-legacy.js", - "name": "scripts-bouton-retour-sommet", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-retour-sommet-legacy.ts", - "isEntry": true, - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "_exports-legacy.CUaFfB0_.js", - "_index-c1cc4c86-legacy.C-8fWPTk.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts" - ], - "integrity": "sha512-/WgxfGF1Zznd/tpN+0WxQeVuWyBXVUidtmBKeIaXpNrrWpRGa5trbytAuDCNpv2DXLFb7VJ6PyQGXU6pBM6esg==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-retour-sommet.ts": { - "file": "scripts-bouton-retour-sommet.js", - "name": "scripts-bouton-retour-sommet", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-retour-sommet.ts", - "isEntry": true, - "imports": [ - "_dom.BBcFv3WT.js", - "_exports.JV8YQBqW.js", - "_index-c1cc4c86.DUxuguYh.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts" - ], - "integrity": "sha512-OJFhpdBd3Y2UMtCUy7C4dZ0ToHnuHgZu+Ng62No6/40W5VtDLXg/zrLkbMmsf7sloQd7pHGf3ICvselnKrSUkw==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-categories-legacy.ts": { - "file": "scripts-menu-categories-legacy.js", - "name": "scripts-menu-categories", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-categories-legacy.ts", - "isEntry": true, - "imports": [ - "_index-legacy.BZucyBbQ.js", - "_dom-legacy.BaBbaRa_.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts", - "_exports-legacy.CUaFfB0_.js" - ], - "integrity": "sha512-cmYlB899jHpGBXcBn53JO6OtALmQbTTRtkkyfyJ0nVYTEqgiziPaIU2WKyq+XcZwFQGxRBbagFjdp1E7ThTuOg==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-categories.ts": { - "file": "scripts-menu-categories.js", - "name": "scripts-menu-categories", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-categories.ts", - "isEntry": true, - "imports": [ - "_index.BiLbLflF.js", - "_dom.BBcFv3WT.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts", - "_exports.JV8YQBqW.js" - ], - "integrity": "sha512-dLc1VQ4H6gqOg4M3eCLd91O8rOqKz0gg3GxJM+aySpCxivZhdfI6N4RYBLDMNCyqRUjzUHG26ggr8zSysol2gg==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-mobile-legacy.ts": { - "file": "scripts-menu-mobile-legacy.js", - "name": "scripts-menu-mobile", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-mobile-legacy.ts", - "isEntry": true, - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "_exports-legacy.CUaFfB0_.js", - "_index-c1cc4c86-legacy.C-8fWPTk.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts" - ], - "integrity": "sha512-GAktRyJm40ep0LolsrZUB+qvJH3Z07WbLrlloLgB5u1lyfnxQ0BZfhqlShV/MT2DRj60LcucNuFxXjv70A9gEQ==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-mobile.ts": { - "file": "scripts-menu-mobile.js", - "name": "scripts-menu-mobile", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-mobile.ts", - "isEntry": true, - "imports": [ - "_dom.BBcFv3WT.js", - "_exports.JV8YQBqW.js", - "_index-c1cc4c86.DUxuguYh.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts" - ], - "integrity": "sha512-TaPDWkdIuql53kcMCFMyHxGcxPhv4i1wGMfG4wGUdtMpe4rUJbHBZQ4WshPah/u7yDfbzH1Azc7OL70yzafK0w==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-a-propos-legacy.ts": { - "file": "scripts-page-a-propos-legacy.js", - "name": "scripts-page-a-propos", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-a-propos-legacy.ts", - "isEntry": true, - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "_exports-legacy.CUaFfB0_.js", - "_index-c1cc4c86-legacy.C-8fWPTk.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts" - ], - "integrity": "sha512-bXVNIsx2OBGMJvSmmXEoAtq6StKndEuAzUIQsnq+dt5cn3S+q3ib5L3IrpYR5YXjUXaJSDno5k8k+mq2BITlrg==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-a-propos.ts": { - "file": "scripts-page-a-propos.js", - "name": "scripts-page-a-propos", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-a-propos.ts", - "isEntry": true, - "imports": [ - "_dom.BBcFv3WT.js", - "_exports.JV8YQBqW.js", - "_index-c1cc4c86.DUxuguYh.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts" - ], - "integrity": "sha512-2XP87ci7SeNRMamQWepYkyrVK5bwRgzoMWGIreWqLeUgSOjTxzL43uzhZ0fYn9txnPXBYRlYvzq909HJpv1KCQ==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-accueil-legacy.ts": { - "file": "scripts-page-accueil-legacy.js", - "name": "scripts-page-accueil", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-accueil-legacy.ts", - "isEntry": true, - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts", - "_nombres-legacy.BZrbZkuk.js", - "_exports-legacy.CUaFfB0_.js", - "_index-c1cc4c86-legacy.C-8fWPTk.js" - ], - "integrity": "sha512-3H7po2qpBPyDKVGNxzLo4tdagwMbJ9guyE9Cxi/GIC4VoR/WJgYW2lgSrTGY0FG+a7nuFlkSGd7pSL1ffvqgyw==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-accueil.ts": { - "file": "scripts-page-accueil.js", - "name": "scripts-page-accueil", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-accueil.ts", - "isEntry": true, - "imports": [ - "_dom.BBcFv3WT.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts", - "_nombres.C1uiwPb_.js", - "_exports.JV8YQBqW.js", - "_index-c1cc4c86.DUxuguYh.js" - ], - "integrity": "sha512-u4/1M991MnAwKGQBu8Q8fdu8J0RUR/WPosSyRhabW5YtryA8wGUyHvZhWXqdZPZ1r+m7IsdHES1X6JfoSEy9Eg==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-boutique-legacy.ts": { - "file": "scripts-page-boutique-legacy.js", - "name": "scripts-page-boutique", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-boutique-legacy.ts", - "isEntry": true, - "imports": [ - "_index-legacy.BZucyBbQ.js", - "_dom-legacy.BaBbaRa_.js", - "_api-legacy.BVjX3txO.js", - "_reseau-legacy.dBQarsl0.js", - "_validation-legacy.C-7tMwb9.js", - "_exports-legacy.CUaFfB0_.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts" - ], - "integrity": "sha512-aiIbSdi+RT6r1Brc63/VyJTvQFMJD4Q/bcYG3hriXbpCD9qhcCz0KbqwLIBqrD5mVEy1Obd11eeAyqpC5s7+og==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-boutique.ts": { - "file": "scripts-page-boutique.js", - "name": "scripts-page-boutique", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-boutique.ts", - "isEntry": true, - "imports": [ - "_index.BiLbLflF.js", - "_dom.BBcFv3WT.js", - "_api.BWtmxolt.js", - "_reseau.CUz9kCSO.js", - "_validation.DpnMPnCH.js", - "_exports.JV8YQBqW.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts" - ], - "integrity": "sha512-lOz+Kxd6x035KkLPzL1x0oRDgoD0l4geWvXc08ZU4OBn0CKJZ3B8g8AE2OP2P/LT8SO6BExvrl4VBBTHLwybxA==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-panier-legacy.ts": { - "file": "scripts-page-panier-legacy.js", - "name": "scripts-page-panier", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-panier-legacy.ts", - "isEntry": true, - "imports": [ - "_dom-legacy.BaBbaRa_.js", - "_messages-legacy.PVpnHWo9.js", - "_nombres-legacy.BZrbZkuk.js", - "_gardes-legacy.KKtp3xCq.js", - "_index-legacy.BZucyBbQ.js", - "_api-legacy.BVjX3txO.js", - "_reseau-legacy.dBQarsl0.js", - "_validation-legacy.C-7tMwb9.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts", - "_exports-legacy.CUaFfB0_.js" - ], - "integrity": "sha512-NL7i8KSoYi/ewHiHIYKCj3TTuch+pHONjSZngLLXpAeCMHWsyVOKKlugPJ/k6TT0OGVjdBB1xFvFj2+fEwfpmQ==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-panier.ts": { - "file": "scripts-page-panier.js", - "name": "scripts-page-panier", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-panier.ts", - "isEntry": true, - "imports": [ - "_dom.BBcFv3WT.js", - "_messages.B9cwwdUT.js", - "_nombres.C1uiwPb_.js", - "_gardes.-KvoYkXU.js", - "_index.BiLbLflF.js", - "_api.BWtmxolt.js", - "_reseau.CUz9kCSO.js", - "_validation.DpnMPnCH.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts", - "_exports.JV8YQBqW.js" - ], - "integrity": "sha512-KFCGz71TRzoLHNmT7rV1i2JiQMs106nXOyP/RmZ10ON7rKr9QuD3cYXb/7k7yx8veq2UQZA/N69AWt7V7wrBMg==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit-legacy.ts": { - "file": "scripts-page-produit-legacy.js", - "name": "scripts-page-produit", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit-legacy.ts", - "isEntry": true, - "imports": [ - "_index-legacy.BZucyBbQ.js", - "_dom-legacy.BaBbaRa_.js", - "_api-legacy.BVjX3txO.js", - "_gardes-legacy.KKtp3xCq.js", - "_messages-legacy.PVpnHWo9.js", - "_reseau-legacy.dBQarsl0.js", - "_validation-legacy.C-7tMwb9.js", - "_exports-legacy.CUaFfB0_.js", - "_index-c1cc4c86-legacy.C-8fWPTk.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation-legacy.ts" - ], - "integrity": "sha512-DRv/EbN6mJgqkRjwn23Un2XfK4RRbn7HkYl7FC+1D6XGgEYJTW+uplyplKxudmqshNeW1DDxo1DV4A8QSPs69A==" - }, - "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit.ts": { - "file": "scripts-page-produit.js", - "name": "scripts-page-produit", - "src": "web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit.ts", - "isEntry": true, - "imports": [ - "_index.BiLbLflF.js", - "_dom.BBcFv3WT.js", - "_api.BWtmxolt.js", - "_gardes.-KvoYkXU.js", - "_messages.B9cwwdUT.js", - "_reseau.CUz9kCSO.js", - "_validation.DpnMPnCH.js", - "_exports.JV8YQBqW.js", - "_index-c1cc4c86.DUxuguYh.js", - "web/app/themes/haiku-atelier-2024/src/scripts/journalisation.ts" - ], - "integrity": "sha512-sWFcNhB7f0e5814FhYFzVR256YIRYYJLj++JbhiiHLbKJlQAH0viM0Hh1HyVLDZH5F8I4W2CP7GnhkY2LV+zMg==" - } -} \ No newline at end of file diff --git a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.br b/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.br deleted file mode 100644 index b323c4f2..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.gz b/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.gz deleted file mode 100644 index 8d6f8ff2..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.zst b/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.zst deleted file mode 100644 index 6d887efa..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/.vite/manifest.json.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/api-legacy.BVjX3txO.js b/web/app/themes/haiku-atelier-2024/assets/js/api-legacy.BVjX3txO.js deleted file mode 100644 index fc7d5bdf..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/api-legacy.BVjX3txO.js +++ /dev/null @@ -1 +0,0 @@ -System.register([],function(t,e){"use strict";return{execute:function(){const e="wp-json";t("h",`/${e}/wc/store/cart/add-item`),t("d",`/${e}/wc/store/cart/apply-coupon`),t("f",`/${e}/wc/store/cart/update-item`),t("b",`/${e}/wc/store/cart/update-customer`),t("c",`/${e}/wc/v3/orders`),t("R",`/${e}/wc/v3/products`),t("g",`/${e}/wc/store/cart/remove-item`),t("e",`/${e}/wc/store/cart/remove-coupon`),t("i","Nonce"),t("E","retry-after"),t("a","x-sentry-rate-limits")}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/api.BWtmxolt.js b/web/app/themes/haiku-atelier-2024/assets/js/api.BWtmxolt.js deleted file mode 100644 index be18b69a..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/api.BWtmxolt.js +++ /dev/null @@ -1 +0,0 @@ -const E="wp-json",t=`/${E}/wc/store/cart/add-item`,_=`/${E}/wc/store/cart/apply-coupon`,s=`/${E}/wc/store/cart/update-item`,c=`/${E}/wc/store/cart/update-customer`,T=`/${E}/wc/v3/orders`,o=`/${E}/wc/v3/products`,I=`/${E}/wc/store/cart/remove-item`,R=`/${E}/wc/store/cart/remove-coupon`,a="Nonce",e="retry-after",r="x-sentry-rate-limits";export{e as E,o as R,r as a,c as b,T as c,_ as d,R as e,s as f,I as g,t as h,a as i}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js b/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js deleted file mode 100644 index ba65b84b..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./journalisation-legacy.js","./exports-legacy.CUaFfB0_.js"],function(t,n){"use strict";var e,r,u;return{setters:[t=>{e=t.l},t=>{r=t.O,u=t.a9}],execute:function(){function n(t,n){return tn?t:n}t({B:function t(n,e){const r=[];for(const u in n)""+ +u===u&&"string"==typeof n[u]&&Object.is(n[n[u]],+u)||r.push(n[u]);return{kind:"schema",type:"enum",reference:t,expects:$n(r.map(Pn),"|"),async:!1,enum:n,options:r,message:e,get"~standard"(){return Bn(this)},"~run"(t,n){return this.options.includes(t.value)?t.typed=!0:Jn(this,"type",t,n),t}}},E:function t(n){return{kind:"schema",type:"string",reference:t,expects:"string",async:!1,message:n,get"~standard"(){return Bn(this)},"~run"(t,n){return"string"==typeof t.value?t.typed=!0:Jn(this,"type",t,n),t}}},F:function(...t){return{...t[0],pipe:t,get"~standard"(){return Bn(this)},"~run"(n,e){for(const r of t)if("metadata"!==r.kind){if(n.issues&&("schema"===r.kind||"transformation"===r.kind)){n.typed=!1;break}n.issues&&(e.abortEarly||e.abortPipeEarly)||(n=r["~run"](n,e))}return n}}},G:function t(n,e){return{kind:"validation",type:"max_value",reference:t,async:!1,expects:`<=${n instanceof Date?n.toJSON():Pn(n)}`,requirement:n,message:e,"~run"(t,n){return!t.typed||t.value<=this.requirement||Jn(this,"value",t,n,{received:t.value instanceof Date?t.value.toJSON():Pn(t.value)}),t}}},H:function t(n,e){return{kind:"validation",type:"min_value",reference:t,async:!1,expects:`>=${n instanceof Date?n.toJSON():Pn(n)}`,requirement:n,message:e,"~run"(t,n){return!t.typed||t.value>=this.requirement||Jn(this,"value",t,n,{received:t.value instanceof Date?t.value.toJSON():Pn(t.value)}),t}}},I:function t(n){return{kind:"schema",type:"number",reference:t,expects:"number",async:!1,message:n,get"~standard"(){return Bn(this)},"~run"(t,n){return"number"!=typeof t.value||isNaN(t.value)?Jn(this,"type",t,n):t.typed=!0,t}}},J:function t(n){return{kind:"validation",type:"integer",reference:t,async:!1,expects:null,requirement:Number.isInteger,message:n,"~run"(t,n){return t.typed&&!this.requirement(t.value)&&Jn(this,"integer",t,n),t}}},K:function t(n){return{kind:"schema",type:"boolean",reference:t,expects:"boolean",async:!1,message:n,get"~standard"(){return Bn(this)},"~run"(t,n){return"boolean"==typeof t.value?t.typed=!0:Jn(this,"type",t,n),t}}},L:function t(){return{kind:"schema",type:"unknown",reference:t,expects:"unknown",async:!1,get"~standard"(){return Bn(this)},"~run":t=>(t.typed=!0,t)}},M:function t(n,e){return{kind:"schema",type:"union",reference:t,expects:$n(n.map(t=>t.expects),"|"),async:!1,options:n,message:e,get"~standard"(){return Bn(this)},"~run"(t,n){let e,r,u;for(const i of this.options){const o=i["~run"]({value:t.value},n);if(o.typed){if(!o.issues){e=o;break}r?r.push(o):r=[o]}else u?u.push(o):u=[o]}if(e)return e;if(r){if(1===r.length)return r[0];Jn(this,"type",t,n,{issues:Cn(r)}),t.typed=!0}else{if(1===u?.length)return u[0];Jn(this,"type",t,n,{issues:Cn(u)})}return t}}},N:function t(n){return{kind:"schema",type:"null",reference:t,expects:"null",async:!1,message:n,get"~standard"(){return Bn(this)},"~run"(t,n){return null===t.value?t.typed=!0:Jn(this,"type",t,n),t}}},O:function t(n){return{kind:"validation",type:"url",reference:t,async:!1,expects:null,requirement(t){try{return new URL(t),!0}catch{return!1}},message:n,"~run"(t,n){return t.typed&&!this.requirement(t.value)&&Jn(this,"URL",t,n),t}}},a$:j,aA:at,aT:p,aU:l,aV:w,aW:function(t){return null==t?void 0:l(t)},aX:f,aY:_,aZ:function(t){for(var n={},e=t.length,r=0;r=t.value||Jn(this,"value",t,n,{received:t.value instanceof Date?t.value.toJSON():Pn(t.value)}),t}}},ba:function(t,n,e){const r=t["~run"]({value:n},Mn(e));if(r.issues)throw new zn(r.issues);return r.value},h:Q,x:function t(n,e){return{kind:"schema",type:"object",reference:t,expects:"Object",async:!1,entries:n,message:e,get"~standard"(){return Bn(this)},"~run"(t,n){const e=t.value;if(e&&"object"==typeof e){t.typed=!0,t.value={};for(const r in this.entries){const u=this.entries[r];if(r in e||("exact_optional"===u.type||"optional"===u.type||"nullish"===u.type)&&void 0!==u.default){const i=r in e?e[r]:Wn(u),o=u["~run"]({value:i},n);if(o.issues){const u={type:"object",origin:"value",input:e,key:r,value:i};for(const n of o.issues)n.path?n.path.unshift(u):n.path=[u],t.issues?.push(n);if(t.issues||(t.issues=o.issues),n.abortEarly){t.typed=!1;break}}o.typed||(t.typed=!1),t.value[r]=o.value}else if(void 0!==u.fallback)t.value[r]=Vn(u);else if("exact_optional"!==u.type&&"optional"!==u.type&&"nullish"!==u.type&&(Jn(this,"key",t,n,{input:void 0,expected:`"${r}"`,path:[{type:"object",origin:"key",input:e,key:r,value:e[r]}]}),n.abortEarly))break}}else Jn(this,"type",t,n);return t}}},y:function t(n,e){return{kind:"schema",type:"array",reference:t,expects:"Array",async:!1,item:n,message:e,get"~standard"(){return Bn(this)},"~run"(t,n){const e=t.value;if(Array.isArray(e)){t.typed=!0,t.value=[];for(let r=0;r0){var u=e.contents;return void 0!==u&&n>=u?void 0:void(e.contents=n)}},o=[t,n,r],c=[n,t,e];a(t,function(t){return u(o,t)}),a(n,function(t){return u(c,t)});var f=e.contents,l=r.contents;return void 0!==f?void 0!==l?i(f,l):-1:void 0!==l?1:0}function f(t,n){if(t===n)return!0;var e=typeof t;if("string"===e||"number"===e||"boolean"===e||"undefined"===e||null===t)return!1;var r=typeof n;if("function"===e||"function"===r)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: functional value",Error:new Error};if("number"===r||"undefined"===r||null===n)return!1;var u=0|t.TAG,i=0|n.TAG;if(248===u)return t[1]===n[1];if(251===u)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(u!==i)return!1;var o=0|t.length;if(o!==(0|n.length))return!1;if(!Array.isArray(t)){if(t instanceof Date&&n instanceof Date)return!(t>n||t2147483647?2147483647:t<-2147483648?-2147483648:Math.floor(t)}(Math.random()*(n-t|0))+t|0}function d(t,n){if(n>=0&&nr?e-r|0:0,i=new Array(u),a=0;a=0;--o)e[o+r|0]=t[o+n|0]}function x(t,n){for(var e=0,r=t.length;e=c)return E(r,_,o,v+1|0,f-_|0);y=v+1|0,p=t[x],l=x}else{o[v]=g;var N=_+1|0;if(N>=f)return E(t,b,o,v+1|0,c-b|0);y=v+1|0,d=r[N],h=N}}}function T(t,n,e,r,u,i){for(var o=0;o=r&&i(e[s],a)>0;)e[s+1|0]=e[s],s=s-1|0;e[s+1|0]=a}}function I(t,n,e,r,u,i){if(u<=5)return T(t,n,e,r,u,i);var o=u/2|0,a=u-o|0;I(t,n+o|0,e,r+o|0,a,i),I(t,n,t,n+a|0,o,i),q(t,n+a|0,o,e,r+o|0,a,e,r,i)}function R(t,n){var e=t.slice(0);return function(t,n){var e=t.length;if(e<=5)return T(t,0,t,0,e,n);var r=e/2|0,u=e-r|0,i=new Array(u);I(t,r,i,0,u,n),I(t,0,t,u,r,n),q(t,u,r,i,0,u,t,0,n)}(e,n),e}function j(t,n){if(n in t)return l(t[n])}t("b3",function(t,n){delete t[n]});var M=function(t,n){if(t<=0)return[];for(var e=new Array(t),r=0;rt.length?void 0:m(t,0,n)}function et(t,n){for(var e=0,r=!1,u=[];et.length?void 0:b(t,n)}function it(t,n){return w(t,[],function(t,e){return n(e)||t.push(e),t})}function ot(t,n){return N(t,n)}function at(){if(1===arguments.length){const t=arguments;return function(n){return ot(n,t[0])}}return ot(arguments[0],arguments[1])}var st=O;function ct(t,n){for(var e=0,r=[];e=0;--u)r=e(r,t[u]);return r},_t=k;function mt(t,n){return n<0||n>t.length?void 0:[m(t,0,n),b(t,n)]}function bt(){if(1===arguments.length){const t=arguments;return function(n){return mt(n,t[0])}}return mt(arguments[0],arguments[1])}function Et(t,n){if(n<1||t.length<=n)return[t];for(var e=0,r=[];en.length?[t,n]:[n,t],r=e[1];return $t(ft(e[0],function(t){return Ut(r,t)}),function(t){return t})}function pn(t,n){return Qt(N(t,n))}var hn=t("R",{__proto__:null,placeholder:function(t){},makeEmpty:function(t){return[]},makeWithIndex:function(){if(1===arguments.length){const t=arguments;return function(n){return M(n,t[0])}}return M(arguments[0],arguments[1])},make:function(){if(1===arguments.length){const t=arguments;return function(n){return P(n,t[0])}}return P(arguments[0],arguments[1])},repeat:function(){if(1===arguments.length){const t=arguments;return function(n){return J(n,t[0])}}return J(arguments[0],arguments[1])},length:function(t){return t.length},isEmpty:function(t){return 0===t.length},isNotEmpty:function(t){return 0!==t.length},reverse:function(t){for(var n=t.length,e=new Array(n),r=0;rt instanceof Promise,isArray:function(t){return Array.isArray(t)},isObject:function(t){return!(!t||Array.isArray(t))&&"object"==typeof t},isFunction:function(t){return"function"==typeof t},isError:t=>t instanceof Error,isDate:t=>t instanceof Date,isNullable:function(t){return null==t},isNotNullable:function(t){return!(null==t)},isNull:t=>null===t,isUndefined:t=>void 0===t,isNot:function(){if(1===arguments.length){const t=arguments;return function(n){return yn(n,t[0])}}return yn(arguments[0],arguments[1])}};t("b","data-actif"),t("aQ","aria-controls"),t("aR","aria-expanded"),t("d","aria-hidden"),t("w","data-caché");const gn=t("V","data-chargement"),_n=(t("aB","data-cle-panier"),t("aw","data-code-promo-present"),t("A","data-contient-articles"),t("U","disabled")),mn=(t("p","data-ensemble-epingle-boite-actif"),t("v","hidden"),t("S","data-id-categorie-produits"),t("o","data-id-ensemble-epingle-boite"),t("ap","data-livraison-validee"),t("j","data-menu-mobile-active"),t("T","data-page"),t("aS","data-prix"),t("c","tabindex"),t("a","#bouton-menu-mobile"),t("D",".compte-panier a[rel='cart']"),t("g","#menu-categories-produits ul li a"),t("e","#menu-categories-produits"),t("i","#menu-mobile"),t("ak","#panneau-informations-client .panneau__pied-de-page button"),t("aC","button.detail-produit__actions__addition"),t("aj","#panneau-panier #bouton-code-promo"),t("ai","#separation-adresses"),t("aD","button.detail-produit__actions__soustraction"),t("aE","button.detail-produit__actions__suppression"),t("ah","#panneau-panier #champ-code-promo"),t("aG","input"),t("ag","#panneau-panier #choix-methode-livraison"),t("ae","#panneau-panier #ensemble-code-promo"),t("ad","article"),t("ab","#panneau-informations-client .panneau__formulaires__facturation"),t("aa","#panneau-informations-client form"),t("a9","#panneau-panier #instructions-client"),t("a7","#panneau-panier .panneau__instructions-code-promo__code-promo__message"),t("a8","#panneau-informations-client #message-formulaire-adresses"),t("aH",".detail-produit__nom-prix span"),t("a6","#panneau-panier #sous-total-livraison strong"),t("a5","#panneau-panier #sous-total-produits strong"),t("a4","#panneau-panier .panneau__pied-de-page p span"),t("a3","#panneau-panier #sous-total-reduction"),t("a2","#panneau-panier #sous-total-reduction strong"),t("t",".storytelling__animation"),t("r",".storytelling"),t("u","no-js"),t("s",".storytelling__image"),t("Q","#page-boutique #bouton-plus-de-produits"),t("P","#page-boutique .grille-produits"),t("C","boite-texte__bouton-fermeture"),t("q","epingle")),bn=(t("n",".boite-texte"),t("k",".storytelling__conteneur"),t("l",`.${mn}`),t("aP","#bouton-ajout-panier"),t("af","#page-panier"),t("aM",".selecteur-produit__prix"),t("aL","#selecteur-variation"),t("aO",".section-textuelle button"),t("aN",".section-textuelle__contenu"),t("a0",{of:t=>Nn(t),empty:()=>An,zero:()=>An,fromNullable:t=>null==t?An:Nn(t),fromFalsy:t=>t?Nn(t):An,fromPredicate(t,n){return 1===arguments.length?n=>bn.fromPredicate(t,n):t(n)?Nn(n):An},mapMaybe(t,n){return 1===arguments.length?n=>bn.mapMaybe(t,n):bn.catMaybes(n.map(t))},catMaybes(t){let n=[];for(const e of t)e.isJust()&&n.push(e.extract());return n},encase(t){try{return Nn(t())}catch{return An}},isMaybe:t=>t instanceof En||t instanceof xn,sequence(t){let n=[];for(const e of t){if(!e.isJust())return An;n.push(e.extract())}return Nn(n)},"fantasy-land/of"(t){return this.of(t)},"fantasy-land/empty"(){return this.empty()},"fantasy-land/zero"(){return this.zero()}}));class En{constructor(t){this.__value=t}isJust(){return!0}isNothing(){return!1}inspect(){return`Just(${this.__value})`}[Symbol.for("nodejs.util.inspect.custom")](t,n,e){return`Just(${e(this.__value,n)})`}toString(){return this.inspect()}toJSON(){const t=this.__value;return t instanceof Date?t.toJSON():t}equals(t){return this.extract()===t.extract()}map(t){return Nn(t(this.__value))}ap(t){return t.isJust()?this.map(t.extract()):An}alt(t){return this}altLazy(t){return this}chain(t){return t(this.__value)}chainNullable(t){return bn.fromNullable(t(this.__value))}join(){return this.__value}reduce(t,n){return t(n,this.__value)}extend(t){return Nn(t(this))}unsafeCoerce(){return this.__value}caseOf(t){return"_"in t?t._():t.Just(this.__value)}orDefault(t){return this.__value}orDefaultLazy(t){return this.__value}toList(){return[this.__value]}mapOrDefault(t,n){return t(this.__value)}extract(){return this.__value}extractNullable(){return this.__value}toEither(t){return Dn(this.__value)}ifJust(t){return t(this.__value),this}ifNothing(t){return this}filter(t){return t(this.__value)?Nn(this.__value):An}}En.prototype["fantasy-land/equals"]=En.prototype.equals,En.prototype["fantasy-land/map"]=En.prototype.map,En.prototype["fantasy-land/ap"]=En.prototype.ap,En.prototype["fantasy-land/alt"]=En.prototype.alt,En.prototype["fantasy-land/chain"]=En.prototype.chain,En.prototype["fantasy-land/reduce"]=En.prototype.reduce,En.prototype["fantasy-land/extend"]=En.prototype.extend,En.prototype["fantasy-land/filter"]=En.prototype.filter,En.prototype.constructor=bn;class xn{isJust(){return!1}isNothing(){return!0}inspect(){return"Nothing"}[Symbol.for("nodejs.util.inspect.custom")](){return"Nothing"}toString(){return this.inspect()}toJSON(){return this.__value}equals(t){return this.extract()===t.extract()}map(t){return An}ap(t){return An}alt(t){return t}altLazy(t){return t()}chain(t){return An}chainNullable(t){return An}join(){return An}reduce(t,n){return n}extend(t){return An}unsafeCoerce(){throw new Error("Maybe#unsafeCoerce was ran on a Nothing")}caseOf(t){return"_"in t?t._():t.Nothing()}orDefault(t){return t}orDefaultLazy(t){return t()}toList(){return[]}mapOrDefault(t,n){return n}extract(){}extractNullable(){return null}toEither(t){return kn(t)}ifJust(t){return this}ifNothing(t){return t(),this}filter(t){return An}}xn.prototype["fantasy-land/equals"]=xn.prototype.equals,xn.prototype["fantasy-land/map"]=xn.prototype.map,xn.prototype["fantasy-land/ap"]=xn.prototype.ap,xn.prototype["fantasy-land/alt"]=xn.prototype.alt,xn.prototype["fantasy-land/chain"]=xn.prototype.chain,xn.prototype["fantasy-land/reduce"]=xn.prototype.reduce,xn.prototype["fantasy-land/extend"]=xn.prototype.extend,xn.prototype["fantasy-land/filter"]=xn.prototype.filter,xn.prototype.constructor=bn;const Nn=t("be",t=>new En(t)),An=t("bd",new xn),Sn=t("al",{of:t=>Dn(t),lefts(t){let n=[];for(const e of t)e.isLeft()&&n.push(e.extract());return n},rights(t){let n=[];for(const e of t)e.isRight()&&n.push(e.extract());return n},encase(t){try{return Dn(t())}catch(n){return kn(n)}},sequence(t){let n=[];for(const e of t){if(e.isLeft())return e;n.push(e.extract())}return Dn(n)},isEither:t=>t instanceof wn||t instanceof On,"fantasy-land/of":t=>Sn.of(t)});class On{constructor(t){this.__value=t,this._="R"}isLeft(){return!1}isRight(){return!0}toJSON(){return this.__value}inspect(){return`Right(${this.__value})`}[Symbol.for("nodejs.util.inspect.custom")](t,n,e){return`Right(${e(this.__value,n)})`}toString(){return this.inspect()}bimap(t,n){return Dn(n(this.__value))}map(t){return Dn(t(this.__value))}mapLeft(t){return this}ap(t){return t.isRight()?this.map(t.extract()):t}equals(t){return!!t.isRight()&&this.__value===t.extract()}chain(t){return t(this.__value)}chainLeft(t){return this}join(){return this.__value}alt(t){return this}altLazy(t){return this}reduce(t,n){return t(n,this.__value)}extend(t){return Dn(t(this))}unsafeCoerce(){return this.__value}caseOf(t){return"_"in t?t._():t.Right(this.__value)}leftOrDefault(t){return t}orDefault(t){return this.__value}orDefaultLazy(t){return this.__value}leftOrDefaultLazy(t){return t()}ifLeft(t){return this}ifRight(t){return t(this.__value),this}toMaybe(){return Nn(this.__value)}leftToMaybe(){return An}extract(){return this.__value}swap(){return kn(this.__value)}}On.prototype["fantasy-land/bimap"]=On.prototype.bimap,On.prototype["fantasy-land/map"]=On.prototype.map,On.prototype["fantasy-land/ap"]=On.prototype.ap,On.prototype["fantasy-land/equals"]=On.prototype.equals,On.prototype["fantasy-land/chain"]=On.prototype.chain,On.prototype["fantasy-land/alt"]=On.prototype.alt,On.prototype["fantasy-land/reduce"]=On.prototype.reduce,On.prototype["fantasy-land/extend"]=On.prototype.extend,On.prototype.constructor=Sn;class wn{constructor(t){this.__value=t,this._="L"}isLeft(){return!0}isRight(){return!1}toJSON(){return this.__value}inspect(){return`Left(${JSON.stringify(this.__value)})`}[Symbol.for("nodejs.util.inspect.custom")](t,n,e){return`Left(${e(this.__value,n)})`}toString(){return this.inspect()}bimap(t,n){return kn(t(this.__value))}map(t){return this}mapLeft(t){return kn(t(this.__value))}ap(t){return t.isLeft()?t:this}equals(t){return!!t.isLeft()&&t.extract()===this.__value}chain(t){return this}chainLeft(t){return t(this.__value)}join(){return this}alt(t){return t}altLazy(t){return t()}reduce(t,n){return n}extend(t){return this}unsafeCoerce(){if(this.__value instanceof Error)throw this.__value;throw new Error("Either#unsafeCoerce was ran on a Left")}caseOf(t){return"_"in t?t._():t.Left(this.__value)}leftOrDefault(t){return this.__value}orDefault(t){return t}orDefaultLazy(t){return t()}leftOrDefaultLazy(t){return this.__value}ifLeft(t){return t(this.__value),this}ifRight(t){return this}toMaybe(){return An}leftToMaybe(){return Nn(this.__value)}extract(){return this.__value}swap(){return Dn(this.__value)}}wn.prototype["fantasy-land/bimap"]=wn.prototype.bimap,wn.prototype["fantasy-land/map"]=wn.prototype.map,wn.prototype["fantasy-land/ap"]=wn.prototype.ap,wn.prototype["fantasy-land/equals"]=wn.prototype.equals,wn.prototype["fantasy-land/chain"]=wn.prototype.chain,wn.prototype["fantasy-land/alt"]=wn.prototype.alt,wn.prototype["fantasy-land/reduce"]=wn.prototype.reduce,wn.prototype["fantasy-land/extend"]=wn.prototype.extend,wn.prototype.constructor=Sn;const kn=t("bc",t=>new wn(t)),Dn=t("bb",t=>new On(t)),Ln=t("ax",t=>t),qn=t("W",(t,n)=>{const e=(t=>{const n={callback:()=>{t.element.hasAttribute(t.attribut)?(t.element.textContent=n.etapes.at(n.index)??"Loading...",n.index=n.index+1>n.etapes.length-1?0:n.index+1):clearInterval(n.interval)},etapes:t.etapes,index:0,interval:setInterval(()=>{},2147483647)};return n})({attribut:gn,element:t,etapes:["Loading","Loading.","Loading..","Loading..."]});e.callback(),e.interval=setInterval(e.callback,n)});var Tn,In,Rn,jn;function Mn(t){return{lang:t?.lang??Tn?.lang,message:t?.message,abortEarly:t?.abortEarly??Tn?.abortEarly,abortPipeEarly:t?.abortPipeEarly??Tn?.abortPipeEarly}}function Pn(t){const n=typeof t;return"string"===n?`"${t}"`:"number"===n||"bigint"===n||"boolean"===n?`${t}`:"object"===n||"function"===n?(t&&Object.getPrototypeOf(t)?.constructor?.name)??"null":n}function Jn(t,n,e,r,u){const i=u&&"input"in u?u.input:e.value,o=u?.expected??t.expects??null,a=u?.received??Pn(i),s={kind:t.kind,type:t.type,input:i,expected:o,received:a,message:`Invalid ${n}: ${o?`Expected ${o} but r`:"R"}eceived ${a}`,requirement:t.requirement,path:u?.path,issues:u?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},c="schema"===t.kind,f=u?.message??t.message??(l=t.reference,p=s.lang,jn?.get(l)?.get(p))??(c?function(t){return Rn?.get(t)}(s.lang):null)??r.message??function(t){return In?.get(t)}(s.lang);var l,p;void 0!==f&&(s.message="function"==typeof f?f(s):f),c&&(e.typed=!1),e.issues?e.issues.push(s):e.issues=[s]}function Bn(t){return{version:1,vendor:"valibot",validate:n=>t["~run"]({value:n},Mn())}}function $n(t,n){const e=[...new Set(t)];return e.length>1?`(${e.join(` ${n} `)})`:e[0]??"never"}var zn=t("_",class extends Error{constructor(t){super(t[0].message),this.name="ValiError",this.issues=t}});function Vn(t,n,e){return"function"==typeof t.fallback?t.fallback(n,e):t.fallback}function Wn(t,n,e){return"function"==typeof t.default?t.default(n,e):t.default}function Cn(t){let n;if(t)for(const e of t)n?n.push(...e.issues):n=e.issues;return n}class Fn extends Error{problemes;constructor(t){super("Le ou les adresses fournies sont invalides."),this.name="ErreurAdresseInvalide",this.problemes=t}}t("ar",Fn);const Un=t=>`Le selecteur "${t}" est invalide`,Xn=t=>`La requête "${t}" n'a retourné aucun Élément.`,Gn=t=>new SyntaxError(t);class Hn extends Error{constructor(t="400 BadRequestError"){super(t),this.name="BadRequestError"}}t("Y",Hn);class Kn extends Error{constructor(t){super(JSON.stringify(t)),this.name="CleNonTrouveError"}}t("a1",Kn);class Qn extends Error{constructor(t="403 ForbiddenError"){super(t),this.name="ForbiddenError"}}t("bg",Qn);class Yn extends Error{constructor(t){super(JSON.stringify(t)),this.name="NonExistingKeyError"}}class Zn extends Error{constructor(t="404 NotFoundError"){super(t),this.name="NotFoundError"}}t("bh",Zn);class te extends Error{constructor(t="500 ServerError"){super(t),this.name="ServerError"}}t("X",te);class ne extends Error{constructor(t="401 UnauthorizedError"){super(t),this.name="UnauthorizedError"}}t("bf",ne),t("an",t=>new Yn(t));const ee=t("$",t=>r(t)),re=t=>{throw ee(t),t},ue=(t("ao",t=>{ee(t),console.error(t),t instanceof zn&&console.error(t.issues),t instanceof Fn&&console.error(t.problemes)}),t("aI",t=>n=>Sn.encase(()=>t.querySelector(n)).mapLeft(t=>Gn(Un(n))).chain(t=>vn.isNotNullable(t)?Dn(t):kn(Gn(Xn(n)))))),ie=t("ay",t=>n=>Sn.encase(()=>u(t.querySelectorAll(n),Array.from)).mapLeft(t=>Gn(Un(n))).chain(t=>hn.isEmpty(t)?kn(Gn(Xn(n))):Dn(t))),oe=t("aJ",t=>t.caseOf({Left:re,Right:Ln})),ae=t=>t.caseOf({Left:re,Right:Ln}),se=(t("Z",(t,...n)=>u(document.createElement("template"),e=>{return(r=e,t=>(r.innerHTML=t,r))(n.reduce((n,e,r)=>n+e+t[r+1],t[0]));var r},t=>t.content)),t("am",t=>Sn.encase(()=>JSON.parse(t))),t("av",(t,n)=>null!==t&&t.matches(n)),t("ac",ie(document))),ce=t("aK",ue(document));t("m",t=>u(ce(t),oe)),t("aF",t=>n=>u(ue(t)(n),oe)),t("f",t=>u(se(t),ae)),t("aq",(t,n)=>{e.debug("majEtatChargementBouton",t,n),n?(t.setAttribute(_n,""),t.setAttribute(gn,""),qn(t,500)):(t.removeAttribute(gn),t.removeAttribute(_n))}),t("at",t=>t instanceof Hn||t instanceof Qn||t instanceof Zn||t instanceof te||t instanceof ne),t("au",t=>t instanceof DOMException||t instanceof TypeError||t instanceof Error)}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.br b/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.br deleted file mode 100644 index afe16c4d..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.gz deleted file mode 100644 index 0f03a7f5..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.zst deleted file mode 100644 index 40cf9db5..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/dom-legacy.BaBbaRa_.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js b/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js deleted file mode 100644 index b1b1b16d..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js +++ /dev/null @@ -1 +0,0 @@ -import{l as et}from"./journalisation.js";import{O as tt,a9 as P}from"./exports.JV8YQBqW.js";function sn(n,e){return ne?n:e}var j=function(n,e){for(var t in n)e(t)};function w(n,e){if(n===e)return 0;var t=typeof n,r=typeof e;switch(t){case"boolean":if(r==="boolean")return rt(n,e);break;case"function":if(r==="function")throw{RE_EXN_ID:"Invalid_argument",_1:"compare: functional value",Error:new Error};break;case"number":if(r==="number")return sn(n,e);break;case"string":return r==="string"?Se(n,e):1;case"undefined":return-1}switch(r){case"string":return-1;case"undefined":return 1;default:if(t==="boolean")return 1;if(r==="boolean")return-1;if(t==="function")return 1;if(r==="function")return-1;if(t==="number")return e===null||e.BS_PRIVATE_NESTED_SOME_NONE!==void 0?1:-1;if(r==="number")return n===null||n.BS_PRIVATE_NESTED_SOME_NONE!==void 0?-1:1;if(n===null)return e.BS_PRIVATE_NESTED_SOME_NONE!==void 0?1:-1;if(e===null)return n.BS_PRIVATE_NESTED_SOME_NONE!==void 0?-1:1;if(n.BS_PRIVATE_NESTED_SOME_NONE!==void 0)return e.BS_PRIVATE_NESTED_SOME_NONE!==void 0?on(n,e):-1;var u=0|n.TAG,a=0|e.TAG;if(u===248)return sn(n[1],e[1]);if(u===251)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(u!==a)return u0))){var A=N.contents;if(!(A!==void 0&&c>=A)){N.contents=c;return}}},a=[n,e,r],s=[e,n,t];j(n,(function(f){return u(a,f)})),j(e,(function(f){return u(s,f)}));var i=t.contents,o=r.contents;return i!==void 0?o!==void 0?Se(i,o):-1:o!==void 0?1:0}function k(n,e){if(n===e)return!0;var t=typeof n;if(t==="string"||t==="number"||t==="boolean"||t==="undefined"||n===null)return!1;var r=typeof e;if(t==="function"||r==="function")throw{RE_EXN_ID:"Invalid_argument",_1:"equal: functional value",Error:new Error};if(r==="number"||r==="undefined"||e===null)return!1;var u=0|n.TAG,a=0|e.TAG;if(u===248)return n[1]===e[1];if(u===251)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(u!==a)return!1;var s=0|n.length;if(s===(0|e.length))if(Array.isArray(n))for(var i=0;;){var o=i;if(o===s)return!0;if(!k(n[o],e[o]))return!1;i=o+1|0}else{if(n instanceof Date&&e instanceof Date)return!(n>e||n2147483647?2147483647:n<-2147483648?-2147483648:Math.floor(n)}function De(n,e){return at(Math.random()*(e-n|0))+n|0}function D(n,e){if(e>=0&&er?t-r|0:0,a=new Array(u),s=0;s=0;--s)t[s+r|0]=n[s+e|0]}function nn(n,e){for(var t=0,r=n.length;t=0;--u)r=t(r,n[u]);return r}function en(n,e,t){for(var r=e,u=0,a=n.length;u=f)return fn(r,V,s,T+1|0,c-V|0);I=T+1|0,E=n[H],N=H;continue}s[T]=un;var Q=V+1|0;if(Q>=c)return fn(n,X,s,T+1|0,f-X|0);I=T+1|0,B=r[Q],A=Q}}function ke(n,e,t,r,u,a){for(var s=0;s=r&&a(t[o],i)>0;)t[o+1|0]=t[o],o=o-1|0;t[o+1|0]=i}}function $(n,e,t,r,u,a){if(u<=5)return ke(n,e,t,r,u,a);var s=u/2|0,i=u-s|0;$(n,e+s|0,t,r+s|0,i,a),$(n,e,n,e+i|0,s,a),we(n,e+i|0,s,t,r+s|0,i,t,r,a)}function Pe(n,e){var t=n.slice(0);return(function(u,a){var s=u.length;if(s<=5)return ke(u,0,u,0,s,a);var i=s/2|0,o=s-i|0,f=new Array(o);$(u,i,f,0,o,a),$(u,0,u,o,i,a),we(u,o,i,f,0,o,u,0,a)})(t,e),t}function Tt(n,e){if(e in n)return J(n[e])}var ua=function(n,e){delete n[e]};function aa(n){for(var e=Object.keys(n),t=e.length,r=new Array(t),u=0;un.length))return x(n,0,e)}function Vt(){if(arguments.length===1){const n=arguments;return function(t){return An(t,n[0])}}return An(arguments[0],arguments[1])}function In(n,e){for(var t=0,r=!1,u=[];tn.length))return M(n,e)}function Qt(){if(arguments.length===1){const n=arguments;return function(t){return Sn(t,n[0])}}return Sn(arguments[0],arguments[1])}function Rn(n,e){return U(n,[],(function(t,r){return e(r)||t.push(r),t}))}function Yt(){if(arguments.length===1){const n=arguments;return function(t){return Rn(t,n[0])}}return Rn(arguments[0],arguments[1])}function Kt(n){if(n.length!==0)return[st(n,0),M(n,1)]}function Dn(n,e){return Me(n,e)}function Zt(){if(arguments.length===1){const n=arguments;return function(t){return Dn(t,n[0])}}return Dn(arguments[0],arguments[1])}var xn=G;function nr(){if(arguments.length===1){const n=arguments;return function(t){return xn(t,n[0])}}return xn(arguments[0],arguments[1])}function Mn(n,e){for(var t=0,r=[];tn.length))return[x(n,0,e),M(n,e)]}function qe(){if(arguments.length===1){const n=arguments;return function(t){return Cn(t,n[0])}}return Cn(arguments[0],arguments[1])}function jn(n,e){if(e<1||n.length<=e)return[n];for(var t=0,r=[];te.length?[n,e]:[e,n],r=t[1];return C(F(t[0],(function(u){return tn(r,u)})),(function(u){return u}))}function Xr(){if(arguments.length===1){const n=arguments;return function(t){return Oe(t,n[0])}}return Oe(arguments[0],arguments[1])}function Hr(n){return n[De(0,n.length-1|0)]}function Te(n,e){return Je(Me(n,e))}function Qr(){if(arguments.length===1){const n=arguments;return function(t){return Te(t,n[0])}}return Te(arguments[0],arguments[1])}var Yr={__proto__:null,placeholder:Nt,makeEmpty:At,makeWithIndex:It,make:bt,repeat:St,length:Rt,isEmpty:Dt,isNotEmpty:xt,reverse:Mt,append:Ut,prepend:Lt,prependToAll:Bt,intersperse:wt,get:kt,at:Pt,getUnsafe:Ct,getUndefined:jt,getBy:$t,find:qt,head:Jt,last:Gt,tail:Ce,tailOrEmpty:zt,init:je,initOrEmpty:Ft,take:Wt,takeExactly:Vt,takeWhile:Xt,drop:Ht,dropExactly:Qt,dropWhile:Yt,uncons:Kt,map:Zt,mapWithIndex:nr,filter:F,keep:er,filterWithIndex:W,keepWithIndex:tr,reject:$e,rejectWithIndex:rr,reduce:ur,reduceReverse:ar,reduceWithIndex:sr,splitAt:qe,splitEvery:ir,shuffle:or,partition:fr,concat:cr,concatMany:lr,every:pr,some:gr,slice:mr,sliceToEnd:hr,eq:_r,range:vr,rangeBy:yr,copy:Er,zip:dr,zipWith:Or,unzip:Tr,replaceAt:Nr,insertAt:Ar,updateAt:Ir,swapAt:br,removeAt:Sr,uniqBy:C,uniq:Rr,forEach:Dr,forEachWithIndex:xr,getIndexBy:Mr,includes:tn,join:Ur,sort:Lr,sortBy:Br,groupBy:wr,flat:Je,flatten:rn,deepFlat:kr,toTuple:Pr,tap:Cr,flip:jr,filterMap:$r,keepMap:qr,removeFirstBy:Ge,removeFirst:Jr,zipWithIndex:Gr,all:zr,any:Fr,difference:Wr,union:Vr,intersection:Xr,sample:Hr,flatMap:Qr};function Ne(n,e){return typeof n===e}function Kr(){if(arguments.length===1){const n=arguments;return function(t){return Ne(t,n[0])}}return Ne(arguments[0],arguments[1])}function Zr(n){return typeof n=="string"}function nu(n){return typeof n=="number"?!Number.isNaN(n):!1}function eu(n){return typeof n=="boolean"}var tu=n=>n instanceof Promise;function ru(n){return Array.isArray(n)}function uu(n){return n&&!Array.isArray(n)?typeof n=="object":!1}function au(n){return typeof n=="function"}var su=n=>n instanceof Error,iu=n=>n instanceof Date;function ou(n){return n==null}function fu(n){return n!=null}var cu=n=>n===null,lu=n=>n===void 0;function Ae(n,e){return!e(n)}function pu(){if(arguments.length===1){const n=arguments;return function(t){return Ae(t,n[0])}}return Ae(arguments[0],arguments[1])}var gu={__proto__:null,is:Kr,isString:Zr,isNumber:nu,isBoolean:eu,isPromise:tu,isArray:ru,isObject:uu,isFunction:au,isError:su,isDate:iu,isNullable:ou,isNotNullable:fu,isNull:cu,isUndefined:lu,isNot:pu};const ia="data-actif",oa="aria-controls",fa="aria-expanded",ca="aria-hidden",la="data-caché",Z="data-chargement",pa="data-cle-panier",ga="data-code-promo-present",ma="data-contient-articles",Ie="disabled",ha="data-ensemble-epingle-boite-actif",_a="hidden",va="data-id-categorie-produits",ya="data-id-ensemble-epingle-boite",Ea="data-livraison-validee",da="data-menu-mobile-active",Oa="data-page",Ta="data-prix",Na="tabindex",Aa="#bouton-menu-mobile",Ia=".compte-panier a[rel='cart']",ba="#menu-categories-produits ul li a",Sa="#menu-categories-produits",Ra="#menu-mobile",Da="#panneau-informations-client .panneau__pied-de-page button",xa="button.detail-produit__actions__addition",Ma="#panneau-panier #bouton-code-promo",Ua="#separation-adresses",La="button.detail-produit__actions__soustraction",Ba="button.detail-produit__actions__suppression",wa="#panneau-panier #champ-code-promo",ka="input",Pa="#panneau-panier #choix-methode-livraison",Ca="#panneau-panier #ensemble-code-promo",ja="article",$a="#panneau-informations-client .panneau__formulaires__facturation",qa="#panneau-informations-client form",Ja="#panneau-panier #instructions-client",Ga="#panneau-panier .panneau__instructions-code-promo__code-promo__message",za="#panneau-informations-client #message-formulaire-adresses",Fa=".detail-produit__nom-prix span",Wa="#panneau-panier #sous-total-livraison strong",Va="#panneau-panier #sous-total-produits strong",Xa="#panneau-panier .panneau__pied-de-page p span",Ha="#panneau-panier #sous-total-reduction",Qa="#panneau-panier #sous-total-reduction strong",Ya=".storytelling__animation",Ka=".storytelling",Za="no-js",ns=".storytelling__image",es="#page-boutique #bouton-plus-de-produits",ts="#page-boutique .grille-produits",mu="boite-texte",rs="boite-texte__bouton-fermeture",hu="epingle",us=`.${mu}`,as=".storytelling__conteneur",ss=`.${hu}`,is="#bouton-ajout-panier",os="#page-panier",fs=".selecteur-produit__prix",cs="#selecteur-variation",ls=".section-textuelle button",ps=".section-textuelle__contenu",R={of(n){return y(n)},empty(){return h},zero(){return h},fromNullable(n){return n==null?h:y(n)},fromFalsy(n){return n?y(n):h},fromPredicate(n,e){switch(arguments.length){case 1:return t=>R.fromPredicate(n,t);default:return n(e)?y(e):h}},mapMaybe(n,e){switch(arguments.length){case 1:return t=>R.mapMaybe(n,t);default:return R.catMaybes(e.map(n))}},catMaybes(n){let e=[];for(const t of n)t.isJust()&&e.push(t.extract());return e},encase(n){try{return y(n())}catch{return h}},isMaybe(n){return n instanceof l||n instanceof p},sequence(n){let e=[];for(const t of n)if(t.isJust())e.push(t.extract());else return h;return y(e)},"fantasy-land/of"(n){return this.of(n)},"fantasy-land/empty"(){return this.empty()},"fantasy-land/zero"(){return this.zero()}};class l{constructor(e){this.__value=e}isJust(){return!0}isNothing(){return!1}inspect(){return`Just(${this.__value})`}[Symbol.for("nodejs.util.inspect.custom")](e,t,r){return`Just(${r(this.__value,t)})`}toString(){return this.inspect()}toJSON(){const e=this.__value;return e instanceof Date?e.toJSON():e}equals(e){return this.extract()===e.extract()}map(e){return y(e(this.__value))}ap(e){return e.isJust()?this.map(e.extract()):h}alt(e){return this}altLazy(e){return this}chain(e){return e(this.__value)}chainNullable(e){return R.fromNullable(e(this.__value))}join(){return this.__value}reduce(e,t){return e(t,this.__value)}extend(e){return y(e(this))}unsafeCoerce(){return this.__value}caseOf(e){return"_"in e?e._():e.Just(this.__value)}orDefault(e){return this.__value}orDefaultLazy(e){return this.__value}toList(){return[this.__value]}mapOrDefault(e,t){return e(this.__value)}extract(){return this.__value}extractNullable(){return this.__value}toEither(e){return d(this.__value)}ifJust(e){return e(this.__value),this}ifNothing(e){return this}filter(e){return e(this.__value)?y(this.__value):h}}l.prototype["fantasy-land/equals"]=l.prototype.equals;l.prototype["fantasy-land/map"]=l.prototype.map;l.prototype["fantasy-land/ap"]=l.prototype.ap;l.prototype["fantasy-land/alt"]=l.prototype.alt;l.prototype["fantasy-land/chain"]=l.prototype.chain;l.prototype["fantasy-land/reduce"]=l.prototype.reduce;l.prototype["fantasy-land/extend"]=l.prototype.extend;l.prototype["fantasy-land/filter"]=l.prototype.filter;l.prototype.constructor=R;class p{isJust(){return!1}isNothing(){return!0}inspect(){return"Nothing"}[Symbol.for("nodejs.util.inspect.custom")](){return"Nothing"}toString(){return this.inspect()}toJSON(){return this.__value}equals(e){return this.extract()===e.extract()}map(e){return h}ap(e){return h}alt(e){return e}altLazy(e){return e()}chain(e){return h}chainNullable(e){return h}join(){return h}reduce(e,t){return t}extend(e){return h}unsafeCoerce(){throw new Error("Maybe#unsafeCoerce was ran on a Nothing")}caseOf(e){return"_"in e?e._():e.Nothing()}orDefault(e){return e}orDefaultLazy(e){return e()}toList(){return[]}mapOrDefault(e,t){return t}extract(){}extractNullable(){return null}toEither(e){return S(e)}ifJust(e){return this}ifNothing(e){return e(),this}filter(e){return h}}p.prototype["fantasy-land/equals"]=p.prototype.equals;p.prototype["fantasy-land/map"]=p.prototype.map;p.prototype["fantasy-land/ap"]=p.prototype.ap;p.prototype["fantasy-land/alt"]=p.prototype.alt;p.prototype["fantasy-land/chain"]=p.prototype.chain;p.prototype["fantasy-land/reduce"]=p.prototype.reduce;p.prototype["fantasy-land/extend"]=p.prototype.extend;p.prototype["fantasy-land/filter"]=p.prototype.filter;p.prototype.constructor=R;const y=n=>new l(n),h=new p,L={of(n){return d(n)},lefts(n){let e=[];for(const t of n)t.isLeft()&&e.push(t.extract());return e},rights(n){let e=[];for(const t of n)t.isRight()&&e.push(t.extract());return e},encase(n){try{return d(n())}catch(e){return S(e)}},sequence(n){let e=[];for(const t of n){if(t.isLeft())return t;e.push(t.extract())}return d(e)},isEither(n){return n instanceof m||n instanceof g},"fantasy-land/of"(n){return L.of(n)}};class g{constructor(e){this.__value=e,this._="R"}isLeft(){return!1}isRight(){return!0}toJSON(){return this.__value}inspect(){return`Right(${this.__value})`}[Symbol.for("nodejs.util.inspect.custom")](e,t,r){return`Right(${r(this.__value,t)})`}toString(){return this.inspect()}bimap(e,t){return d(t(this.__value))}map(e){return d(e(this.__value))}mapLeft(e){return this}ap(e){return e.isRight()?this.map(e.extract()):e}equals(e){return e.isRight()?this.__value===e.extract():!1}chain(e){return e(this.__value)}chainLeft(e){return this}join(){return this.__value}alt(e){return this}altLazy(e){return this}reduce(e,t){return e(t,this.__value)}extend(e){return d(e(this))}unsafeCoerce(){return this.__value}caseOf(e){return"_"in e?e._():e.Right(this.__value)}leftOrDefault(e){return e}orDefault(e){return this.__value}orDefaultLazy(e){return this.__value}leftOrDefaultLazy(e){return e()}ifLeft(e){return this}ifRight(e){return e(this.__value),this}toMaybe(){return y(this.__value)}leftToMaybe(){return h}extract(){return this.__value}swap(){return S(this.__value)}}g.prototype["fantasy-land/bimap"]=g.prototype.bimap;g.prototype["fantasy-land/map"]=g.prototype.map;g.prototype["fantasy-land/ap"]=g.prototype.ap;g.prototype["fantasy-land/equals"]=g.prototype.equals;g.prototype["fantasy-land/chain"]=g.prototype.chain;g.prototype["fantasy-land/alt"]=g.prototype.alt;g.prototype["fantasy-land/reduce"]=g.prototype.reduce;g.prototype["fantasy-land/extend"]=g.prototype.extend;g.prototype.constructor=L;class m{constructor(e){this.__value=e,this._="L"}isLeft(){return!0}isRight(){return!1}toJSON(){return this.__value}inspect(){return`Left(${JSON.stringify(this.__value)})`}[Symbol.for("nodejs.util.inspect.custom")](e,t,r){return`Left(${r(this.__value,t)})`}toString(){return this.inspect()}bimap(e,t){return S(e(this.__value))}map(e){return this}mapLeft(e){return S(e(this.__value))}ap(e){return e.isLeft()?e:this}equals(e){return e.isLeft()?e.extract()===this.__value:!1}chain(e){return this}chainLeft(e){return e(this.__value)}join(){return this}alt(e){return e}altLazy(e){return e()}reduce(e,t){return t}extend(e){return this}unsafeCoerce(){throw this.__value instanceof Error?this.__value:new Error("Either#unsafeCoerce was ran on a Left")}caseOf(e){return"_"in e?e._():e.Left(this.__value)}leftOrDefault(e){return this.__value}orDefault(e){return e}orDefaultLazy(e){return e()}leftOrDefaultLazy(e){return this.__value}ifLeft(e){return e(this.__value),this}ifRight(e){return this}toMaybe(){return h}leftToMaybe(){return y(this.__value)}extract(){return this.__value}swap(){return d(this.__value)}}m.prototype["fantasy-land/bimap"]=m.prototype.bimap;m.prototype["fantasy-land/map"]=m.prototype.map;m.prototype["fantasy-land/ap"]=m.prototype.ap;m.prototype["fantasy-land/equals"]=m.prototype.equals;m.prototype["fantasy-land/chain"]=m.prototype.chain;m.prototype["fantasy-land/alt"]=m.prototype.alt;m.prototype["fantasy-land/reduce"]=m.prototype.reduce;m.prototype["fantasy-land/extend"]=m.prototype.extend;m.prototype.constructor=L;const S=n=>new m(n),d=n=>new g(n),ze=n=>n,_u=n=>{const e={callback:()=>{if(!n.element.hasAttribute(n.attribut)){clearInterval(e.interval);return}n.element.textContent=e.etapes.at(e.index)??"Loading...",e.index=e.index+1>e.etapes.length-1?0:e.index+1},etapes:n.etapes,index:0,interval:setInterval(()=>{},2147483647)};return e},vu=(n,e)=>{const t=_u({attribut:Z,element:n,etapes:["Loading","Loading.","Loading..","Loading..."]});t.callback(),t.interval=setInterval(t.callback,e)};var Y;function Fe(n){return{lang:n?.lang??Y?.lang,message:n?.message,abortEarly:n?.abortEarly??Y?.abortEarly,abortPipeEarly:n?.abortPipeEarly??Y?.abortPipeEarly}}var yu;function Eu(n){return yu?.get(n)}var du;function Ou(n){return du?.get(n)}var Tu;function Nu(n,e){return Tu?.get(n)?.get(e)}function O(n){const e=typeof n;return e==="string"?`"${n}"`:e==="number"||e==="bigint"||e==="boolean"?`${n}`:e==="object"||e==="function"?(n&&Object.getPrototypeOf(n)?.constructor?.name)??"null":e}function _(n,e,t,r,u){const a=u&&"input"in u?u.input:t.value,s=u?.expected??n.expects??null,i=u?.received??O(a),o={kind:n.kind,type:n.type,input:a,expected:s,received:i,message:`Invalid ${e}: ${s?`Expected ${s} but r`:"R"}eceived ${i}`,requirement:n.requirement,path:u?.path,issues:u?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},f=n.kind==="schema",c=u?.message??n.message??Nu(n.reference,o.lang)??(f?Ou(o.lang):null)??r.message??Eu(o.lang);c!==void 0&&(o.message=typeof c=="function"?c(o):c),f&&(t.typed=!1),t.issues?t.issues.push(o):t.issues=[o]}function v(n){return{version:1,vendor:"valibot",validate(e){return n["~run"]({value:e},Fe())}}}function We(n,e){const t=[...new Set(n)];return t.length>1?`(${t.join(` ${e} `)})`:t[0]??"never"}var Ve=class extends Error{constructor(n){super(n[0].message),this.name="ValiError",this.issues=n}};function Au(n,e){const t=O(n);return{kind:"validation",type:"includes",reference:Au,async:!1,expects:t,requirement:n,message:e,"~run"(r,u){return r.typed&&!r.value.includes(this.requirement)&&_(this,"content",r,u,{received:`!${t}`}),r}}}function Iu(n){return{kind:"validation",type:"integer",reference:Iu,async:!1,expects:null,requirement:Number.isInteger,message:n,"~run"(e,t){return e.typed&&!this.requirement(e.value)&&_(this,"integer",e,t),e}}}function bu(n,e){return{kind:"validation",type:"max_value",reference:bu,async:!1,expects:`<=${n instanceof Date?n.toJSON():O(n)}`,requirement:n,message:e,"~run"(t,r){return t.typed&&!(t.value<=this.requirement)&&_(this,"value",t,r,{received:t.value instanceof Date?t.value.toJSON():O(t.value)}),t}}}function Su(n,e){return{kind:"validation",type:"min_value",reference:Su,async:!1,expects:`>=${n instanceof Date?n.toJSON():O(n)}`,requirement:n,message:e,"~run"(t,r){return t.typed&&!(t.value>=this.requirement)&&_(this,"value",t,r,{received:t.value instanceof Date?t.value.toJSON():O(t.value)}),t}}}function Ru(n){return{kind:"transformation",type:"transform",reference:Ru,async:!1,operation:n,"~run"(e){return e.value=this.operation(e.value),e}}}function Du(n){return{kind:"validation",type:"url",reference:Du,async:!1,expects:null,requirement(e){try{return new URL(e),!0}catch{return!1}},message:n,"~run"(e,t){return e.typed&&!this.requirement(e.value)&&_(this,"URL",e,t),e}}}function xu(n,e){return{kind:"validation",type:"value",reference:xu,async:!1,expects:n instanceof Date?n.toJSON():O(n),requirement:n,message:e,"~run"(t,r){return t.typed&&!(this.requirement<=t.value&&this.requirement>=t.value)&&_(this,"value",t,r,{received:t.value instanceof Date?t.value.toJSON():O(t.value)}),t}}}function Mu(n,e,t){return typeof n.fallback=="function"?n.fallback(e,t):n.fallback}function Xe(n,e,t){return typeof n.default=="function"?n.default(e,t):n.default}function gs(n,e){return!n["~run"]({value:e},{abortEarly:!0}).issues}function Uu(n,e){return{kind:"schema",type:"array",reference:Uu,expects:"Array",async:!1,item:n,message:e,get"~standard"(){return v(this)},"~run"(t,r){const u=t.value;if(Array.isArray(u)){t.typed=!0,t.value=[];for(let a=0;at.expects),"|"),async:!1,options:n,message:e,get"~standard"(){return v(this)},"~run"(t,r){let u,a,s;for(const i of this.options){const o=i["~run"]({value:t.value},r);if(o.typed)if(o.issues)a?a.push(o):a=[o];else{u=o;break}else s?s.push(o):s=[o]}if(u)return u;if(a){if(a.length===1)return a[0];_(this,"type",t,r,{issues:be(a)}),t.typed=!0}else{if(s?.length===1)return s[0];_(this,"type",t,r,{issues:be(s)})}return t}}}function Ju(){return{kind:"schema",type:"unknown",reference:Ju,expects:"unknown",async:!1,get"~standard"(){return v(this)},"~run"(n){return n.typed=!0,n}}}function ms(n,e){const t={...n.entries};for(const r of e)delete t[r];return{...n,entries:t,get"~standard"(){return v(this)}}}function hs(n,e,t){const r=n["~run"]({value:e},Fe(t));if(r.issues)throw new Ve(r.issues);return r.value}function _s(...n){return{...n[0],pipe:n,get"~standard"(){return v(this)},"~run"(e,t){for(const r of n)if(r.kind!=="metadata"){if(e.issues&&(r.kind==="schema"||r.kind==="transformation")){e.typed=!1;break}(!e.issues||!t.abortEarly&&!t.abortPipeEarly)&&(e=r["~run"](e,t))}return e}}}class Gu extends Error{problemes;constructor(e){super("Le ou les adresses fournies sont invalides."),this.name="ErreurAdresseInvalide",this.problemes=e}}const He=n=>`Le selecteur "${n}" est invalide`,Qe=n=>`La requête "${n}" n'a retourné aucun Élément.`,q=n=>new SyntaxError(n);class zu extends Error{constructor(e="400 BadRequestError"){super(e),this.name="BadRequestError"}}class vs extends Error{constructor(e){super(JSON.stringify(e)),this.name="CleNonTrouveError"}}class Fu extends Error{constructor(e="403 ForbiddenError"){super(e),this.name="ForbiddenError"}}class Wu extends Error{constructor(e){super(JSON.stringify(e)),this.name="NonExistingKeyError"}}class Vu extends Error{constructor(e="404 NotFoundError"){super(e),this.name="NotFoundError"}}class Xu extends Error{constructor(e="500 ServerError"){super(e),this.name="ServerError"}}class Hu extends Error{constructor(e="401 UnauthorizedError"){super(e),this.name="UnauthorizedError"}}const ys=n=>new Wu(n),Ye=n=>tt(n),Ke=n=>{throw Ye(n),n},Es=n=>{Ye(n),console.error(n),n instanceof Ve&&console.error(n.issues),n instanceof Gu&&console.error(n.problemes)},Ze=n=>e=>L.encase(()=>n.querySelector(e)).mapLeft(t=>q(He(e))).chain(t=>gu.isNotNullable(t)?d(t):S(q(Qe(e)))),Qu=n=>e=>L.encase(()=>P(n.querySelectorAll(e),Array.from)).mapLeft(t=>q(He(e))).chain(t=>Yr.isEmpty(t)?S(q(Qe(e))):d(t)),nt=n=>n.caseOf({Left:Ke,Right:ze}),Yu=n=>n.caseOf({Left:Ke,Right:ze}),Ku=n=>e=>(n.innerHTML=e,n),ds=(n,...e)=>P(document.createElement("template"),t=>Ku(t)(e.reduce((r,u,a)=>r+u+n[a+1],n[0])),t=>t.content),Os=n=>L.encase(()=>JSON.parse(n)),Ts=(n,e)=>n!==null&&n.matches(e),Zu=Qu(document),na=Ze(document),Ns=n=>P(na(n),nt),As=n=>e=>P(Ze(n)(e),nt),Is=n=>P(Zu(n),Yu),bs=(n,e)=>{et.debug("majEtatChargementBouton",n,e),e?(n.setAttribute(Ie,""),n.setAttribute(Z,""),vu(n,500)):(n.removeAttribute(Z),n.removeAttribute(Ie))},Ss=n=>n instanceof zu||n instanceof Fu||n instanceof Vu||n instanceof Xu||n instanceof Hu,Rs=n=>n instanceof DOMException||n instanceof TypeError||n instanceof Error;export{Ye as $,ma as A,Bu as B,rs as C,Ia as D,$u as E,_s as F,bu as G,Su as H,Pu as I,Iu as J,Lu as K,Ju as L,qu as M,ku as N,Du as O,ts as P,es as Q,Yr as R,va as S,Oa as T,Ie as U,Z as V,vu as W,Xu as X,zu as Y,ds as Z,Ve as _,Aa as a,Tt as a$,R as a0,vs as a1,Qa as a2,Ha as a3,Xa as a4,Va as a5,Wa as a6,Ga as a7,za as a8,Ja as a9,Zt as aA,pa as aB,xa as aC,La as aD,Ba as aE,As as aF,ka as aG,Fa as aH,Ze as aI,nt as aJ,na as aK,cs as aL,fs as aM,ps as aN,ls as aO,is as aP,oa as aQ,fa as aR,Ta as aS,K as aT,J as aU,U as aV,ra as aW,k as aX,b as aY,sa as aZ,aa as a_,qa as aa,$a as ab,Zu as ac,ja as ad,Ca as ae,os as af,Pa as ag,wa as ah,Ua as ai,Ma as aj,Da as ak,L as al,Os as am,ys as an,Es as ao,Ea as ap,bs as aq,Gu as ar,qt as as,Ss as at,Rs as au,Ts as av,ga as aw,ze as ax,Qu as ay,Dr as az,ia as b,Ut as b0,Me as b1,nn as b2,ua as b3,gs as b4,wu as b5,Au as b6,ms as b7,Ru as b8,xu as b9,hs as ba,d as bb,S as bc,h as bd,y as be,Hu as bf,Fu as bg,Vu as bh,Na as c,ca as d,Sa as e,Is as f,ba as g,Jt as h,Ra as i,da as j,as as k,ss as l,Ns as m,us as n,ya as o,ha as p,hu as q,Ka as r,ns as s,Ya as t,Za as u,_a as v,la as w,Cu as x,Uu as y,ju as z}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.br b/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.br deleted file mode 100644 index a027129f..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.gz deleted file mode 100644 index 9b01d154..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.zst deleted file mode 100644 index ef3f6937..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/dom.BBcFv3WT.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js b/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js deleted file mode 100644 index fddadf7a..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js +++ /dev/null @@ -1 +0,0 @@ -System.register([],function(t,e){"use strict";return{execute:function(){t({$:j,A:I,C:pt,E:c,F:function(t){return t.__sentry_original__},H:O,J:function(t,n,r){if(!(n in t))return;const s=t[n];if("function"!=typeof s)return;const i=r(s);"function"==typeof i&&M(i,s);try{t[n]=i}catch{e&&f.log(`Failed to replace method "${n}" in object`,t)}},L:function(...t){const e=ct(s());if(2===t.length){const[n,r]=t;return n?e.withSetScope(n,r):e.withScope(r)}return e.withScope(t[0])},M:B,N:function(t,e){if(!Array.isArray(t))return"";const n=[];for(let r=0;rre.includes(t))}(t)?{captureContext:t}:t}(e))},P:function(t){const e=t.exception;if(e){const t=[];try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch{return}}},Q:J,R:S,T:L,U:function(t){return"undefined"!=typeof Request&&O(t,Request)},V:function(){try{return $.document.location.href}catch{return""}},W:M,X:function(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=e||""),i.type||(i.type="Error")},Y:function(t){return E(t,"ErrorEvent")},Z:function(t){return E(t,"DOMError")},_:function(t){return E(t,"DOMException")},a:function(t,e=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${o}`},a0:function t(e,n=3,r=102400){const s=Yt(e,n);return i=s,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(i))>r?t(e,n-1,r):s;var i},a1:function(t){const e=Object.keys(T(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"},a2:k,a3:function(...t){const e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0,r=0)=>{const s=[],i=t.split("\n");for(let o=n;o1024&&(t=t.slice(0,1024));const n=_.test(t)?t.replace(_,"$1"):t;if(!n.match(/\S*Error: /)){for(const t of e){const e=t(n);if(e){s.push(e);break}}if(s.length>=h+r)break}}return function(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(m(e).function||"")&&e.pop(),e.reverse(),g.test(m(e).function||"")&&(e.pop(),g.test(m(e).function||"")&&e.pop()),e.slice(0,h).map(t=>({...t,filename:t.filename||m(e).filename,function:t.function||d}))}(s.slice(r))}},a5:function(t){const{message:e,event_id:n}=t;if(e)return e;const r=H(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""},a6:A,a7:function(t){if(!$.HTMLElement)return null;let e=t;for(let n=0;n<5;n++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null},a8:function(t,e){return ut().captureEvent(t,e)},a9:function(){let t=arguments[0];for(let e=1,n=arguments.length;e{console.error(`Invalid Sentry Dsn: ${t}`)});const[n,r,s="",i="",o="",a=""]=e.slice(1);let u="",p=a;const l=p.split("/");if(l.length>1&&(u=l.slice(0,-1).join("/"),p=l.pop()),p){const t=p.match(/^\d+/);t&&(p=t[0])}return Ct({host:i,pass:s,path:u,projectId:p,port:o,protocol:n,publicKey:r})}(t):Ct(t);if(n&&function(t){if(!e)return!0;const{port:n,projectId:r,protocol:s}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(f.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(r.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(s)?!n||!isNaN(parseInt(n,10))||(f.error(`Invalid Sentry Dsn: Invalid port ${n}`),!1):(f.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),!1):(f.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}(n))return n},n:Yt,o:function(t){const e=t.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=e,i={trace_id:n,span_id:s||X()};return r&&(i.parent_span_id=r),i},p:function(t,e,r,s,i,a){const{normalizeDepth:c=3,normalizeMaxBreadth:u=1e3}=t,p={...e,event_id:e.event_id||r.event_id||F(),timestamp:e.timestamp||K()},l=r.integrations||t.integrations.map(t=>t.name);(function(t,e){const{environment:n,release:r,dist:s,maxValueLength:i}=e;t.environment=t.environment||n||Vt,!t.release&&r&&(t.release=r),!t.dist&&s&&(t.dist=s);const o=t.request;o?.url&&i&&(o.url=V(o.url,i)),i&&t.exception?.values?.forEach(t=>{t.value&&(t.value=V(t.value,i))})})(p,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(p,l),i&&i.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){const r=function(t){const e=n._sentryDebugIds,r=n._debugIds;if(!e&&!r)return{};const s=e?Object.keys(e):[],i=r?Object.keys(r):[];if(ne&&s.length===te&&i.length===ee)return ne;te=s.length,ee=i.length,ne={},Zt||(Zt={});const o=(e,n)=>{for(const r of e){const e=n[r],s=Zt?.[r];if(s&&ne&&e)ne[s[0]]=e,Zt&&(Zt[r]=[s[0],e]);else if(e){const n=t(r);for(let t=n.length-1;t>=0;t--){const s=n[t],i=s?.filename;if(i&&ne&&Zt){ne[i]=e,Zt[r]=[i,e];break}}}}};return e&&o(s,e),r&&o(i,r),ne}(e);t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.filename&&(t.debug_id=r[t.filename])})})}(p,t.stackParser);const f=function(t,e){if(!e)return t;const n=t?t.clone():new nt;return n.update(e),n}(s,r.captureContext);r.mechanism&&B(p,r.mechanism);const h=i?i.getEventProcessors():[],d=o("globalScope",()=>new nt).getScopeData();a&&Qt(d,a.getScopeData()),f&&Qt(d,f.getScopeData());const _=[...r.attachments||[],...d.attachments];_.length&&(r.attachments=_),function(t,e){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=e;(function(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:a}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(s).length&&(t.user={...s,...t.user}),Object.keys(i).length&&(t.contexts={...i,...t.contexts}),o&&(t.level=o),a&&"transaction"!==t.type&&(t.transaction=a)})(t,e),r&&function(t,e){t.contexts={trace:Nt(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:Ht(e),...t.sdkProcessingMetadata};const n=Ut(e),r=Mt(n).description;r&&!t.transaction&&"transaction"===t.type&&(t.transaction=r)}(t,r),function(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint.length||delete t.fingerprint}(t,n),function(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,s),function(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}(t,i)}(p,d);const g=[...h,...d.eventProcessors];return function(t,e,n,r=0){try{const s=qt(e,n,t,r);return C(s)?s:Gt(s)}catch(s){return Jt(s)}}(g,p,r).then(t=>(t&&function(t){const e={};if(t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)})}),0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach(([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})})}(t),"number"==typeof c&&c>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:Yt(t.data,e,n)}}))},...t.user&&{user:Yt(t.user,e,n)},...t.contexts&&{contexts:Yt(t.contexts,e,n)},...t.extra&&{extra:Yt(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=Yt(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:Yt(t.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=Yt(t.contexts.flags,3,n)),r}(t,c,u):t))},q:function(t,e){const n=e.getPropagationContext();return n.dsc||Ft(n.traceId,t)},r:Gt,s:ut,t:function(){const t=s();return ct(t).getIsolationScope()},u:F,v:w,w:function(t){return null===t||w(t)||"object"!=typeof t&&"function"!=typeof t},x:function(){$t||(c(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),$t=!0)},y:q,z:C});const e=t("D","undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__),n=t("G",globalThis),r=t("B","10.28.0");function s(){return i(n),n}function i(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||r,e[r]=e[r]||{}}function o(t,e,s=n){const i=s.__SENTRY__=s.__SENTRY__||{},o=i[r]=i[r]||{};return o[t]||(o[t]=e())}t("I",["debug","info","warn","error","log","assert","trace"]);const a=t("K",{});function c(t){if(!("console"in n))return t();const e=n.console,r={},s=Object.keys(a);s.forEach(t=>{const n=a[t];r[t]=e[t],e[t]=n});try{return t()}finally{s.forEach(t=>{e[t]=r[t]})}}function u(){return l().enabled}function p(t,...r){e&&u()&&c(()=>{n.console[t](`Sentry Logger [${t}]:`,...r)})}function l(){return e?o("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const f=t("d",{enable:function(){l().enabled=!0},disable:function(){l().enabled=!1},isEnabled:u,log:function(...t){p("log",...t)},warn:function(...t){p("warn",...t)},error:function(...t){p("error",...t)}}),h=50,d=t("a4","?"),_=/\(error: (.*)\)/,g=/captureMessage|captureException/;function m(t){return t[t.length-1]||{}}const y="";function b(t){try{return t&&"function"==typeof t&&t.name||y}catch{return y}}function v(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const x=Object.prototype.toString;function S(t){switch(x.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return O(t,Error)}}function E(t,e){return x.call(t)===`[object ${e}]`}function k(t){return E(t,"String")}function w(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function I(t){return E(t,"Object")}function j(t){return"undefined"!=typeof Event&&O(t,Event)}function C(t){return Boolean(t?.then&&"function"==typeof t.then)}function O(t,e){try{return t instanceof e}catch{return!1}}function P(t){return!("object"!=typeof t||null===t||!(t.__isVue||t._isVue||t.__v_isVNode))}const $=n,N=80;function A(t,e={}){if(!t)return"";try{let n=t;const r=5,s=[];let i=0,o=0;const a=" > ",c=a.length;let u;const p=Array.isArray(e)?e:e.keyAttrs,l=!Array.isArray(e)&&e.maxStringLength||N;for(;n&&i++1&&o+s.length*c+u.length>=l));)s.push(u),o+=u.length,n=n.parentNode;return s.reverse().join(a)}catch{return""}}function D(t,e){const n=t,r=[];if(!n?.tagName)return"";if($.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=e?.length?e.filter(t=>n.getAttribute(t)).map(t=>[t,n.getAttribute(t)]):null;if(s?.length)s.forEach(t=>{r.push(`[${t[0]}="${t[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const t=n.className;if(t&&k(t)){const e=t.split(/\s+/);for(const t of e)r.push(`.${t}`)}}const i=["aria-label","type","name","title","alt"];for(const o of i){const t=n.getAttribute(o);t&&r.push(`[${o}="${t}"]`)}return r.join("")}function L(t,n,r){try{Object.defineProperty(t,n,{value:r,writable:!0,configurable:!0})}catch{e&&f.log(`Failed to add non-enumerable property "${n}" to object`,t)}}function M(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,L(t,"__sentry_original__",e)}catch{}}function T(t){if(S(t))return{message:t.message,name:t.name,stack:t.stack,...U(t)};if(j(t)){const e={type:t.type,target:R(t.target),currentTarget:R(t.currentTarget),...U(t)};return"undefined"!=typeof CustomEvent&&O(t,CustomEvent)&&(e.detail=t.detail),e}return t}function R(t){try{return e=t,"undefined"!=typeof Element&&O(e,Element)?A(t):Object.prototype.toString.call(t)}catch{return""}var e}function U(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function V(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}let z;function F(t=function(){const t=n;return t.crypto||t.msCrypto}()){try{if(t?.randomUUID)return t.randomUUID().replace(/-/g,"")}catch{}return z||(z=[1e7]+1e3+4e3+8e3+1e11),z.replace(/[018]/g,t=>(t^(16*Math.random()&15)>>t/4).toString(16))}function H(t){return t.exception?.values?.[0]}function B(t,e){const n=H(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r?.data,...e.data};n.mechanism.data=t}}const Y=1e3;function K(){return Date.now()/Y}let G;function J(){return(G??(G=function(){const{performance:t}=n;if(!t?.now||!t.timeOrigin)return K;const e=t.timeOrigin;return()=>(e+t.now())/Y}()))()}function W(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||J(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:F()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function q(t,e,n=2){if(!e||"object"!=typeof e||n<=0)return e;if(t&&0===Object.keys(e).length)return t;const r={...t};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=q(r[s],e[s],n-1));return r}function Q(){return F()}function X(){return F().substring(16)}const Z="_sentrySpan";function tt(t,e){e?L(t,Z,e):delete t[Z]}function et(t){return t[Z]}class nt{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Q(),sampleRand:Math.random()}}clone(){const t=new nt;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,tt(t,et(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&W(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this.setTags({[t]:e})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,e){return this.setAttributes({[t]:e})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e="function"==typeof t?t(this):t,n=e instanceof nt?e.getScopeData():I(e)?t:void 0,{tags:r,attributes:s,extra:i,user:o,contexts:a,level:c,fingerprint:u=[],propagationContext:p}=n||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...s},this._extra={...this._extra,...i},this._contexts={...this._contexts,...a},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),u.length&&(this._fingerprint=u),p&&(this._propagationContext=p),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,tt(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Q(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:K(),...t,message:t.message?V(t.message,2048):t.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:et(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=q(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n?.event_id||F();if(!this._client)return e&&f.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureMessage(t,n,r){const s=r?.event_id||F();if(!this._client)return e&&f.warn("No client configured on scope - will not capture message!"),s;const i=r?.syntheticException??new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:s},this),s}captureEvent(t,n){const r=n?.event_id||F();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(e&&f.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}class rt{constructor(t,e){let n,r;n=t||new nt,r=e||new nt,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(r){throw this._popScope(),r}return C(n)?n.then(t=>(this._popScope(),t),t=>{throw this._popScope(),t}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function st(){const t=i(s());return t.stack=t.stack||new rt(o("defaultCurrentScope",()=>new nt),o("defaultIsolationScope",()=>new nt))}function it(t){return st().withScope(t)}function ot(t,e){const n=st();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function at(t){return st().withScope(()=>t(st().getIsolationScope()))}function ct(t){const e=i(t);return e.acs?e.acs:{withIsolationScope:at,withScope:it,withSetScope:ot,withSetIsolationScope:(t,e)=>at(e),getCurrentScope:()=>st().getScope(),getIsolationScope:()=>st().getIsolationScope()}}function ut(){return ct(s()).getCurrentScope()}function pt(){return ut().getClient()}const lt="sentry.source",ft="sentry.sample_rate",ht="sentry.previous_trace_sample_rate",dt="sentry.op",_t="sentry.origin",gt=(t("h","sentry.profile_id"),t("S","sentry.exclusive_time"),0),mt=1,yt="_sentryScope",bt="_sentryIsolationScope";function vt(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}function xt(t){const e=t;return{scope:e[yt],isolationScope:vt(e[bt])}}const St="sentry-",Et=/^sentry-/;function kt(t){const e=function(t){if(t&&(k(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>{const n=wt(e);return Object.entries(n).forEach(([e,n])=>{t[e]=n}),t},{}):wt(t)}(t);if(!e)return;const n=Object.entries(e).reduce((t,[e,n])=>(e.match(Et)&&(t[e.slice(St.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}function wt(t){return t.split(",").map(t=>{const e=t.indexOf("=");return-1===e?[]:[t.slice(0,e),t.slice(e+1)].map(t=>{try{return decodeURIComponent(t.trim())}catch{return}})}).reduce((t,[e,n])=>(e&&n&&(t[e]=n),t),{})}const It=/^o(\d+)\./,jt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Ct(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Ot(t){const e=t.getOptions(),{host:n}=t.getDsn()||{};let r;return e.orgId?r=String(e.orgId):n&&(r=function(t){const e=t.match(It);return e?.[1]}(n)),r}const Pt=1;let $t=!1;function Nt(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:Mt(t).parent_span_id,i=xt(t).scope;return{parent_span_id:s,span_id:r?i?.getPropagationContext().propagationSpanId||X():e,trace_id:n}}function At(t){return t&&t.length>0?t.map(({context:{spanId:t,traceId:e,traceFlags:n,...r},attributes:s})=>({span_id:t,trace_id:e,sampled:n===Pt,attributes:s,...r})):void 0}function Dt(t){return"number"==typeof t?Lt(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Lt(t.getTime()):J()}function Lt(t){return t>9999999999?t/1e3:t}function Mt(t){if(function(t){return"function"==typeof t.getSpanJSON}(t))return t.getSpanJSON();const{spanId:e,traceId:n}=t.spanContext();if(function(t){const e=t;return!!(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status)}(t)){const{attributes:r,startTime:s,name:i,endTime:o,status:a,links:c}=t;return{span_id:e,trace_id:n,data:r,description:i,parent_span_id:"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0,start_timestamp:Dt(s),timestamp:Dt(o)||void 0,status:Tt(a),op:r[dt],origin:r[_t],links:At(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function Tt(t){if(t&&t.code!==gt)return t.code===mt?"ok":t.message||"internal_error"}const Rt="_sentryRootSpan";function Ut(t){return t[Rt]||t}const Vt=t("l","production"),zt="_frozenDsc";function Ft(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s={environment:n.environment||Vt,release:n.release,public_key:r,trace_id:t,org_id:Ot(e)};return e.emit("createDsc",s),s}function Ht(t){const e=pt();if(!e)return{};const n=Ut(t),r=Mt(n),s=r.data,i=n.spanContext().traceState,o=i?.get("sentry.sample_rate")??s[ft]??s[ht];function a(t){return"number"!=typeof o&&"string"!=typeof o||(t.sample_rate=`${o}`),t}const c=n[zt];if(c)return a(c);const u=i?.get("sentry.dsc"),p=u&&kt(u);if(p)return a(p);const l=Ft(t.spanContext().traceId,e),f=s[lt],h=r.description;return"url"!==f&&h&&(l.transaction=h),function(){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=pt()?.getOptions();return!(!t||null==t.tracesSampleRate&&!t.tracesSampler)}()&&(l.sampled=String(function(t){const{traceFlags:e}=t.spanContext();return e===Pt}(n)),l.sample_rand=i?.get("sentry.sample_rand")??xt(n).scope?.getPropagationContext().sampleRand.toString()),a(l),e.emit("createDsc",l,n),l}const Bt=globalThis||self;function Yt(t,e=100,n=1/0){try{return Kt("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Kt(t,e,n=1/0,r=1/0,s=function(){const t=new WeakSet;function e(e){return!!t.has(e)||(t.add(e),!1)}function n(e){t.delete(e)}return[e,n]}()){const[i,o]=s;if(null==e||["boolean","string"].includes(typeof e)||"number"==typeof e&&Number.isFinite(e))return e;const a=function(t,e){try{if("domain"===t&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if(void 0!==Bt&&e===Bt)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if(P(e))return v(e);if(I(n=e)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n)return"[SyntheticEvent]";if("number"==typeof e&&!Number.isFinite(e))return`[${e}]`;if("function"==typeof e)return`[Function: ${b(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;const r=function(t){const e=Object.getPrototypeOf(t);return e?.constructor?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}var n}(t,e);if(!a.startsWith("[object "))return a;if(e.__sentry_skip_normalization__)return e;const c="number"==typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:n;if(0===c)return a.replace("object ","");if(i(e))return"[Circular ~]";const u=e;if(u&&"function"==typeof u.toJSON)try{return Kt("",u.toJSON(),c-1,r,s)}catch{}const p=Array.isArray(e)?[]:{};let l=0;const f=T(e);for(const h in f){if(!Object.prototype.hasOwnProperty.call(f,h))continue;if(l>=r){p[h]="[MaxProperties ~]";break}const t=f[h];p[h]=Kt(h,t,c-1,r,s),l++}return o(e),p}function Gt(t){return new Wt(e=>{e(t)})}function Jt(t){return new Wt((e,n)=>{n(t)})}class Wt{constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}then(t,e){return new Wt((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(s){r(s)}else n(e)},t=>{if(e)try{n(e(t))}catch(s){r(s)}else r(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new Wt((e,n)=>{let r,s;return this.then(e=>{s=!1,r=e,t&&t()},e=>{s=!0,r=e,t&&t()}).then(()=>{s?n(r):e(r)})})}_executeHandlers(){if(0===this._state)return;const t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(1===this._state&&t[1](this._value),2===this._state&&t[2](this._value),t[0]=!0)})}_runExecutor(t){const e=(t,e)=>{0===this._state&&(C(e)?e.then(n,r):(this._state=t,this._value=e,this._executeHandlers()))},n=t=>{e(1,t)},r=t=>{e(2,t)};try{t(n,r)}catch(s){r(s)}}}function qt(t,n,r,s){const i=r[s];if(!t||!i)return t;const o=i({...t},n);return e&&null===o&&f.log(`Event processor "${i.id||"?"}" dropped event`),C(o)?o.then(t=>qt(t,n,r,s+1)):qt(o,n,r,s+1)}function Qt(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:u,eventProcessors:p,attachments:l,propagationContext:f,transactionName:h,span:d}=e;Xt(t,"extra",n),Xt(t,"tags",r),Xt(t,"user",s),Xt(t,"contexts",i),t.sdkProcessingMetadata=q(t.sdkProcessingMetadata,a,2),o&&(t.level=o),h&&(t.transactionName=h),d&&(t.span=d),c.length&&(t.breadcrumbs=[...t.breadcrumbs,...c]),u.length&&(t.fingerprint=[...t.fingerprint,...u]),p.length&&(t.eventProcessors=[...t.eventProcessors,...p]),l.length&&(t.attachments=[...t.attachments,...l]),t.propagationContext={...t.propagationContext,...f}}function Xt(t,e,n){t[e]=q(t[e],n,1)}let Zt,te,ee,ne;const re=["user","level","extra","contexts","tags","fingerprint","propagationContext"]}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.br b/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.br deleted file mode 100644 index 4836f626..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.gz deleted file mode 100644 index c30d55b5..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.zst deleted file mode 100644 index 76d09abc..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/exports-legacy.CUaFfB0_.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js b/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js deleted file mode 100644 index 34cab6b8..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js +++ /dev/null @@ -1,2 +0,0 @@ -function bn(){let t=arguments[0];for(let e=1,n=arguments.length;e"u"||__SENTRY_DEBUG__,h=globalThis,A="10.28.0";function P(){return B(h),h}function B(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||A,e[A]=e[A]||{}}function M(t,e,n=h){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[A]=r[A]||{};return s[t]||(s[t]=e())}const In=["debug","info","warn","error","log","assert","trace"],jt="Sentry Logger ",Q={};function z(t){if(!("console"in h))return t();const e=h.console,n={},r=Object.keys(Q);r.forEach(s=>{const i=Q[s];n[s]=e[s],e[s]=i});try{return t()}finally{r.forEach(s=>{e[s]=n[s]})}}function $t(){Y().enabled=!0}function Ut(){Y().enabled=!1}function yt(){return Y().enabled}function Gt(...t){K("log",...t)}function Vt(...t){K("warn",...t)}function vt(...t){K("error",...t)}function K(t,...e){y&&yt()&&z(()=>{h.console[t](`${jt}[${t}]:`,...e)})}function Y(){return y?M("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const m={enable:$t,disable:Ut,isEnabled:yt,log:Gt,warn:Vt,error:vt},Et=50,Bt="?",tt=/\(error: (.*)\)/,et=/captureMessage|captureException/;function Tn(...t){const e=t.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const i=[],o=n.split(` -`);for(let a=r;a1024&&(c=c.slice(0,1024));const u=tt.test(c)?c.replace(tt,"$1"):c;if(!u.match(/\S*Error: /)){for(const p of e){const f=p(u);if(f){i.push(f);break}}if(i.length>=Et+s)break}}return zt(i.slice(s))}}function zt(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(O(e).function||"")&&e.pop(),e.reverse(),et.test(O(e).function||"")&&(e.pop(),et.test(O(e).function||"")&&e.pop()),e.slice(0,Et).map(n=>({...n,filename:n.filename||O(e).filename,function:n.function||Bt}))}function O(t){return t[t.length-1]||{}}const F="";function Kt(t){try{return!t||typeof t!="function"?F:t.name||F}catch{return F}}function xn(t){const e=t.exception;if(e){const n=[];try{return e.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}function bt(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const It=Object.prototype.toString;function Yt(t){switch(It.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return D(t,Error)}}function C(t,e){return It.call(t)===`[object ${e}]`}function Cn(t){return C(t,"ErrorEvent")}function An(t){return C(t,"DOMError")}function Nn(t){return C(t,"DOMException")}function k(t){return C(t,"String")}function Ht(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function Dn(t){return t===null||Ht(t)||typeof t!="object"&&typeof t!="function"}function Tt(t){return C(t,"Object")}function Wt(t){return typeof Event<"u"&&D(t,Event)}function Xt(t){return typeof Element<"u"&&D(t,Element)}function Jt(t){return C(t,"RegExp")}function L(t){return!!(t?.then&&typeof t.then=="function")}function qt(t){return Tt(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function D(t,e){try{return t instanceof e}catch{return!1}}function xt(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue||t.__v_isVNode))}function On(t){return typeof Request<"u"&&D(t,Request)}const H=h,Zt=80;function Qt(t,e={}){if(!t)return"";try{let n=t;const r=5,s=[];let i=0,o=0;const a=" > ",c=a.length;let u;const p=Array.isArray(e)?e:e.keyAttrs,f=!Array.isArray(e)&&e.maxStringLength||Zt;for(;n&&i++1&&o+s.length*c+u.length>=f));)s.push(u),o+=u.length,n=n.parentNode;return s.reverse().join(a)}catch{return""}}function te(t,e){const n=t,r=[];if(!n?.tagName)return"";if(H.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=e?.length?e.filter(o=>n.getAttribute(o)).map(o=>[o,n.getAttribute(o)]):null;if(s?.length)s.forEach(o=>{r.push(`[${o[0]}="${o[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const o=n.className;if(o&&k(o)){const a=o.split(/\s+/);for(const c of a)r.push(`.${c}`)}}const i=["aria-label","type","name","title","alt"];for(const o of i){const a=n.getAttribute(o);a&&r.push(`[${o}="${a}"]`)}return r.join("")}function Rn(){try{return H.document.location.href}catch{return""}}function kn(t){if(!H.HTMLElement)return null;let e=t;const n=5;for(let r=0;r"}}function rt(t){if(typeof t=="object"&&t!==null){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}else return{}}function Ln(t){const e=Object.keys(Ct(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}function U(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function wn(t,e){if(!Array.isArray(t))return"";const n=[];for(let r=0;r(e^(re()&15)>>e/4).toString(16))}function At(t){return t.exception?.values?.[0]}function jn(t){const{message:e,event_id:n}=t;if(e)return e;const r=At(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function $n(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=e||""),i.type||(i.type="Error")}function se(t,e){const n=At(t);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...e},e&&"data"in e){const i={...s?.data,...e.data};n.mechanism.data=i}}function Un(t){if(ie(t))return!0;try{W(t,"__sentry_captured__",!0)}catch{}return!1}function ie(t){try{return t.__sentry_captured__}catch{}}const Nt=1e3;function X(){return Date.now()/Nt}function oe(){const{performance:t}=h;if(!t?.now||!t.timeOrigin)return X;const e=t.timeOrigin;return()=>(e+t.now())/Nt}let st;function Dt(){return(st??(st=oe()))()}function ae(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||Dt(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:T()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),typeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function w(t,e,n=2){if(!e||typeof e!="object"||n<=0)return e;if(t&&Object.keys(e).length===0)return t;const r={...t};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=w(r[s],e[s],n-1));return r}function it(){return T()}function Ot(){return T().substring(16)}const G="_sentrySpan";function ot(t,e){e?W(t,G,e):delete t[G]}function at(t){return t[G]}const ce=100;class S{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:it(),sampleRand:Math.random()}}clone(){const e=new S;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,ot(e,at(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&ae(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,n){return this.setTags({[e]:n})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,n){return this.setAttributes({[e]:n})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,n){return this._extra={...this._extra,[e]:n},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,n){return n===null?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const n=typeof e=="function"?e(this):e,r=n instanceof S?n.getScopeData():Tt(n)?e:void 0,{tags:s,attributes:i,extra:o,user:a,contexts:c,level:u,fingerprint:p=[],propagationContext:f}=r||{};return this._tags={...this._tags,...s},this._attributes={...this._attributes,...i},this._extra={...this._extra,...o},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),u&&(this._level=u),p.length&&(this._fingerprint=p),f&&(this._propagationContext=f),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,ot(this,void 0),this._attachments=[],this.setPropagationContext({traceId:it(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,n){const r=typeof n=="number"?n:ce;if(r<=0)return this;const s={timestamp:X(),...e,message:e.message?U(e.message,2048):e.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:at(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=w(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){const r=n?.event_id||T();if(!this._client)return y&&m.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:s,...n,event_id:r},this),r}captureMessage(e,n,r){const s=r?.event_id||T();if(!this._client)return y&&m.warn("No client configured on scope - will not capture message!"),s;const i=r?.syntheticException??new Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:i,...r,event_id:s},this),s}captureEvent(e,n){const r=n?.event_id||T();return this._client?(this._client.captureEvent(e,{...n,event_id:r},this),r):(y&&m.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}function ue(){return M("defaultCurrentScope",()=>new S)}function fe(){return M("defaultIsolationScope",()=>new S)}class pe{constructor(e,n){let r;e?r=e:r=new S;let s;n?s=n:s=new S,this._stack=[{scope:r}],this._isolationScope=s}withScope(e){const n=this._pushScope();let r;try{r=e(n)}catch(s){throw this._popScope(),s}return L(r)?r.then(s=>(this._popScope(),s),s=>{throw this._popScope(),s}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function x(){const t=P(),e=B(t);return e.stack=e.stack||new pe(ue(),fe())}function le(t){return x().withScope(t)}function de(t,e){const n=x();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function ct(t){return x().withScope(()=>t(x().getIsolationScope()))}function _e(){return{withIsolationScope:ct,withScope:le,withSetScope:de,withSetIsolationScope:(t,e)=>ct(e),getCurrentScope:()=>x().getScope(),getIsolationScope:()=>x().getIsolationScope()}}function J(t){const e=B(t);return e.acs?e.acs:_e()}function q(){const t=P();return J(t).getCurrentScope()}function Gn(){const t=P();return J(t).getIsolationScope()}function he(){return M("globalScope",()=>new S)}function Vn(...t){const e=P(),n=J(e);if(t.length===2){const[r,s]=t;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(t[0])}function Rt(){return q().getClient()}function vn(t){const e=t.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=e,i={trace_id:n,span_id:s||Ot()};return r&&(i.parent_span_id=r),i}const ge="sentry.source",me="sentry.sample_rate",Se="sentry.previous_trace_sample_rate",ye="sentry.op",Ee="sentry.origin",Bn="sentry.profile_id",zn="sentry.exclusive_time",be=0,Ie=1,Te="_sentryScope",xe="_sentryIsolationScope";function Ce(t){if(t){if(typeof t=="object"&&"deref"in t&&typeof t.deref=="function")try{return t.deref()}catch{return}return t}}function kt(t){const e=t;return{scope:e[Te],isolationScope:Ce(e[xe])}}const Ae="sentry-",Ne=/^sentry-/;function De(t){const e=Oe(t);if(!e)return;const n=Object.entries(e).reduce((r,[s,i])=>{if(s.match(Ne)){const o=s.slice(Ae.length);r[o]=i}return r},{});if(Object.keys(n).length>0)return n}function Oe(t){if(!(!t||!k(t)&&!Array.isArray(t)))return Array.isArray(t)?t.reduce((e,n)=>{const r=ut(n);return Object.entries(r).forEach(([s,i])=>{e[s]=i}),e},{}):ut(t)}function ut(t){return t.split(",").map(e=>{const n=e.indexOf("=");if(n===-1)return[];const r=e.slice(0,n),s=e.slice(n+1);return[r,s].map(i=>{try{return decodeURIComponent(i.trim())}catch{return}})}).reduce((e,[n,r])=>(n&&r&&(e[n]=r),e),{})}const Re=/^o(\d+)\./,ke=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Pe(t){return t==="http"||t==="https"}function Kn(t,e=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${o}`}function Me(t){const e=ke.exec(t);if(!e){z(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[n,r,s="",i="",o="",a=""]=e.slice(1);let c="",u=a;const p=u.split("/");if(p.length>1&&(c=p.slice(0,-1).join("/"),u=p.pop()),u){const f=u.match(/^\d+/);f&&(u=f[0])}return Pt({host:i,pass:s,path:c,projectId:u,port:o,protocol:n,publicKey:r})}function Pt(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Le(t){if(!y)return!0;const{port:e,projectId:n,protocol:r}=t;return["protocol","publicKey","host","projectId"].find(o=>t[o]?!1:(m.error(`Invalid Sentry Dsn: ${o} missing`),!0))?!1:n.match(/^\d+$/)?Pe(r)?e&&isNaN(parseInt(e,10))?(m.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(m.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(m.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function we(t){return t.match(Re)?.[1]}function Fe(t){const e=t.getOptions(),{host:n}=t.getDsn()||{};let r;return e.orgId?r=String(e.orgId):n&&(r=we(n)),r}function Yn(t){const e=typeof t=="string"?Me(t):Pt(t);if(!(!e||!Le(e)))return e}const Mt=1;let ft=!1;function je(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:Z(t).parent_span_id,i=kt(t).scope,o=r?i?.getPropagationContext().propagationSpanId||Ot():e;return{parent_span_id:s,span_id:o,trace_id:n}}function $e(t){if(t&&t.length>0)return t.map(({context:{spanId:e,traceId:n,traceFlags:r,...s},attributes:i})=>({span_id:e,trace_id:n,sampled:r===Mt,attributes:i,...s}))}function pt(t){return typeof t=="number"?lt(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?lt(t.getTime()):Dt()}function lt(t){return t>9999999999?t/1e3:t}function Z(t){if(Ge(t))return t.getSpanJSON();const{spanId:e,traceId:n}=t.spanContext();if(Ue(t)){const{attributes:r,startTime:s,name:i,endTime:o,status:a,links:c}=t,u="parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0;return{span_id:e,trace_id:n,data:r,description:i,parent_span_id:u,start_timestamp:pt(s),timestamp:pt(o)||void 0,status:ve(a),op:r[ye],origin:r[Ee],links:$e(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function Ue(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function Ge(t){return typeof t.getSpanJSON=="function"}function Ve(t){const{traceFlags:e}=t.spanContext();return e===Mt}function ve(t){if(!(!t||t.code===be))return t.code===Ie?"ok":t.message||"internal_error"}const Be="_sentryRootSpan";function Lt(t){return t[Be]||t}function Hn(){ft||(z(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),ft=!0)}function ze(t){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=Rt()?.getOptions();return!!e&&(e.tracesSampleRate!=null||!!e.tracesSampler)}const wt="production",Ke="_frozenDsc";function Ft(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s={environment:n.environment||wt,release:n.release,public_key:r,trace_id:t,org_id:Fe(e)};return e.emit("createDsc",s),s}function Wn(t,e){const n=e.getPropagationContext();return n.dsc||Ft(n.traceId,t)}function Ye(t){const e=Rt();if(!e)return{};const n=Lt(t),r=Z(n),s=r.data,i=n.spanContext().traceState,o=i?.get("sentry.sample_rate")??s[me]??s[Se];function a(_){return(typeof o=="number"||typeof o=="string")&&(_.sample_rate=`${o}`),_}const c=n[Ke];if(c)return a(c);const u=i?.get("sentry.dsc"),p=u&&De(u);if(p)return a(p);const f=Ft(t.spanContext().traceId,e),l=s[ge],d=r.description;return l!=="url"&&d&&(f.transaction=d),ze()&&(f.sampled=String(Ve(n)),f.sample_rand=i?.get("sentry.sample_rand")??kt(n).scope?.getPropagationContext().sampleRand.toString()),a(f),e.emit("createDsc",f,n),f}const dt=globalThis||void 0||self;function b(t,e=100,n=1/0){try{return V("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function He(t,e=3,n=100*1024){const r=b(t,e);return qe(r)>n?He(t,e-1,n):r}function V(t,e,n=1/0,r=1/0,s=Ze()){const[i,o]=s;if(e==null||["boolean","string"].includes(typeof e)||typeof e=="number"&&Number.isFinite(e))return e;const a=We(t,e);if(!a.startsWith("[object "))return a;if(e.__sentry_skip_normalization__)return e;const c=typeof e.__sentry_override_normalization_depth__=="number"?e.__sentry_override_normalization_depth__:n;if(c===0)return a.replace("object ","");if(i(e))return"[Circular ~]";const u=e;if(u&&typeof u.toJSON=="function")try{const d=u.toJSON();return V("",d,c-1,r,s)}catch{}const p=Array.isArray(e)?[]:{};let f=0;const l=Ct(e);for(const d in l){if(!Object.prototype.hasOwnProperty.call(l,d))continue;if(f>=r){p[d]="[MaxProperties ~]";break}const _=l[d];p[d]=V(d,_,c-1,r,s),f++}return o(e),p}function We(t,e){try{if(t==="domain"&&e&&typeof e=="object"&&e._events)return"[Domain]";if(t==="domainEmitter")return"[DomainEmitter]";if(typeof dt<"u"&&e===dt)return"[Global]";if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(xt(e))return bt(e);if(qt(e))return"[SyntheticEvent]";if(typeof e=="number"&&!Number.isFinite(e))return`[${e}]`;if(typeof e=="function")return`[Function: ${Kt(e)}]`;if(typeof e=="symbol")return`[${String(e)}]`;if(typeof e=="bigint")return`[BigInt: ${String(e)}]`;const n=Xe(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function Xe(t){const e=Object.getPrototypeOf(t);return e?.constructor?e.constructor.name:"null prototype"}function Je(t){return~-encodeURI(t).split(/%..|./).length}function qe(t){return Je(JSON.stringify(t))}function Ze(){const t=new WeakSet;function e(r){return t.has(r)?!0:(t.add(r),!1)}function n(r){t.delete(r)}return[e,n]}const $=0,_t=1,ht=2;function Qe(t){return new N(e=>{e(t)})}function tn(t){return new N((e,n)=>{n(t)})}class N{constructor(e){this._state=$,this._handlers=[],this._runExecutor(e)}then(e,n){return new N((r,s)=>{this._handlers.push([!1,i=>{if(!e)r(i);else try{r(e(i))}catch(o){s(o)}},i=>{if(!n)s(i);else try{r(n(i))}catch(o){s(o)}}]),this._executeHandlers()})}catch(e){return this.then(n=>n,e)}finally(e){return new N((n,r)=>{let s,i;return this.then(o=>{i=!1,s=o,e&&e()},o=>{i=!0,s=o,e&&e()}).then(()=>{if(i){r(s);return}n(s)})})}_executeHandlers(){if(this._state===$)return;const e=this._handlers.slice();this._handlers=[],e.forEach(n=>{n[0]||(this._state===_t&&n[1](this._value),this._state===ht&&n[2](this._value),n[0]=!0)})}_runExecutor(e){const n=(i,o)=>{if(this._state===$){if(L(o)){o.then(r,s);return}this._state=i,this._value=o,this._executeHandlers()}},r=i=>{n(_t,i)},s=i=>{n(ht,i)};try{e(r,s)}catch(i){s(i)}}}function en(t,e,n,r=0){try{const s=v(e,n,t,r);return L(s)?s:Qe(s)}catch(s){return tn(s)}}function v(t,e,n,r){const s=n[r];if(!t||!s)return t;const i=s({...t},e);return y&&i===null&&m.log(`Event processor "${s.id||"?"}" dropped event`),L(i)?i.then(o=>v(o,e,n,r+1)):v(i,e,n,r+1)}function nn(t,e){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=e;rn(t,e),r&&an(t,r),cn(t,n),sn(t,s),on(t,i)}function gt(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:u,eventProcessors:p,attachments:f,propagationContext:l,transactionName:d,span:_}=e;R(t,"extra",n),R(t,"tags",r),R(t,"user",s),R(t,"contexts",i),t.sdkProcessingMetadata=w(t.sdkProcessingMetadata,a,2),o&&(t.level=o),d&&(t.transactionName=d),_&&(t.span=_),c.length&&(t.breadcrumbs=[...t.breadcrumbs,...c]),u.length&&(t.fingerprint=[...t.fingerprint,...u]),p.length&&(t.eventProcessors=[...t.eventProcessors,...p]),f.length&&(t.attachments=[...t.attachments,...f]),t.propagationContext={...t.propagationContext,...l}}function R(t,e,n){t[e]=w(t[e],n,1)}function rn(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:a}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(s).length&&(t.user={...s,...t.user}),Object.keys(i).length&&(t.contexts={...i,...t.contexts}),o&&(t.level=o),a&&t.type!=="transaction"&&(t.transaction=a)}function sn(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}function on(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}function an(t,e){t.contexts={trace:je(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:Ye(e),...t.sdkProcessingMetadata};const n=Lt(e),r=Z(n).description;r&&!t.transaction&&t.type==="transaction"&&(t.transaction=r)}function cn(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint.length||delete t.fingerprint}let I,mt,St,E;function un(t){const e=h._sentryDebugIds,n=h._debugIds;if(!e&&!n)return{};const r=e?Object.keys(e):[],s=n?Object.keys(n):[];if(E&&r.length===mt&&s.length===St)return E;mt=r.length,St=s.length,E={},I||(I={});const i=(o,a)=>{for(const c of o){const u=a[c],p=I?.[c];if(p&&E&&u)E[p[0]]=u,I&&(I[c]=[p[0],u]);else if(u){const f=t(c);for(let l=f.length-1;l>=0;l--){const _=f[l]?.filename;if(_&&E&&I){E[_]=u,I[c]=[_,u];break}}}}};return e&&i(r,e),n&&i(s,n),E}function Xn(t,e,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=t,c={...e,event_id:e.event_id||n.event_id||T(),timestamp:e.timestamp||X()},u=n.integrations||t.integrations.map(g=>g.name);fn(c,t),dn(c,u),s&&s.emit("applyFrameMetadata",e),e.type===void 0&&pn(c,t.stackParser);const p=hn(r,n.captureContext);n.mechanism&&se(c,n.mechanism);const f=s?s.getEventProcessors():[],l=he().getScopeData();if(i){const g=i.getScopeData();gt(l,g)}if(p){const g=p.getScopeData();gt(l,g)}const d=[...n.attachments||[],...l.attachments];d.length&&(n.attachments=d),nn(c,l);const _=[...f,...l.eventProcessors];return en(_,c,n).then(g=>(g&&ln(g),typeof o=="number"&&o>0?_n(g,o,a):g))}function fn(t,e){const{environment:n,release:r,dist:s,maxValueLength:i}=e;t.environment=t.environment||n||wt,!t.release&&r&&(t.release=r),!t.dist&&s&&(t.dist=s);const o=t.request;o?.url&&i&&(o.url=U(o.url,i)),i&&t.exception?.values?.forEach(a=>{a.value&&(a.value=U(a.value,i))})}function pn(t,e){const n=un(e);t.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.filename&&(s.debug_id=n[s.filename])})})}function ln(t){const e={};if(t.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.debug_id&&(s.abs_path?e[s.abs_path]=s.debug_id:s.filename&&(e[s.filename]=s.debug_id),delete s.debug_id)})}),Object.keys(e).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach(([r,s])=>{n.push({type:"sourcemap",code_file:r,debug_id:s})})}function dn(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function _n(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(s=>({...s,...s.data&&{data:b(s.data,e,n)}}))},...t.user&&{user:b(t.user,e,n)},...t.contexts&&{contexts:b(t.contexts,e,n)},...t.extra&&{extra:b(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=b(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(s=>({...s,...s.data&&{data:b(s.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=b(t.contexts.flags,3,n)),r}function hn(t,e){if(!e)return t;const n=t?t.clone():new S;return n.update(e),n}function gn(t){if(t)return mn(t)?{captureContext:t}:yn(t)?{captureContext:t}:t}function mn(t){return t instanceof S||typeof t=="function"}const Sn=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function yn(t){return Object.keys(t).some(e=>Sn.includes(e))}function Jn(t,e){return q().captureException(t,gn(e))}function qn(t,e){return q().captureEvent(t,e)}export{Wt as $,Tt as A,A as B,Rt as C,y as D,z as E,Mn as F,h as G,D as H,In as I,Pn as J,Q as K,Vn as L,se as M,wn as N,Jn as O,xn as P,Dt as Q,Yt as R,zn as S,W as T,On as U,Rn as V,ee as W,$n as X,Cn as Y,An as Z,Nn as _,Kn as a,He as a0,Ln as a1,k as a2,Tn as a3,Bt as a4,jn as a5,Qt as a6,kn as a7,qn as a8,bn as a9,B as b,M as c,m as d,tn as e,X as f,Kt as g,Bn as h,Fn as i,Un as j,ae as k,wt as l,Yn as m,b as n,vn as o,Xn as p,Wn as q,Qe as r,q as s,Gn as t,T as u,Ht as v,Dn as w,Hn as x,w as y,L as z}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.br b/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.br deleted file mode 100644 index 3a0f7aea..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.gz deleted file mode 100644 index 41ea7934..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.zst deleted file mode 100644 index f5b54c5b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/exports.JV8YQBqW.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js deleted file mode 100644 index 4a070780..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./api-legacy.BVjX3txO.js","./exports-legacy.CUaFfB0_.js"],function(e,t){"use strict";var n,r,s,o,i,a,c,u,p,d,l,f,h,m,g,_,y,v,E,b,w,k,x,S,T,$,R,O,P,C,L,D,M,q,N,j,A,H,I,U,B,F,W,z,X,G,Y,J,K,V,Q,Z,ee,te,ne,re,se,oe,ie,ae,ce,ue,pe,de,le,fe;return{setters:[e=>{n=e.E,r=e.a},e=>{s=e.D,o=e.d,i=e.g,a=e.G,c=e.i,u=e.a,p=e.b,d=e.n,l=e.c,f=e.r,h=e.e,m=e.f,g=e.S,_=e.h,y=e.m,v=e.u,E=e.j,b=e.k,w=e.l,k=e.p,x=e.o,S=e.q,T=e.s,$=e.t,R=e.v,O=e.w,P=e.x,C=e.y,L=e.z,D=e.A,M=e.B,q=e.C,N=e.E,j=e.F,A=e.H,H=e.I,I=e.J,U=e.K,B=e.L,F=e.M,W=e.N,z=e.O,X=e.P,G=e.Q,Y=e.R,J=e.T,K=e.U,V=e.V,Q=e.W,Z=e.X,ee=e.Y,te=e.Z,ne=e._,re=e.$,se=e.a0,oe=e.a1,ie=e.a2,ae=e.a3,ce=e.a4,ue=e.a5,pe=e.a6,de=e.a7,le=e.a8,fe=e.a9}],execute:function(){const e={},t={};function he(t,n){e[t]=e[t]||[],e[t].push(n)}function me(e,n){if(!t[e]){t[e]=!0;try{n()}catch(r){s&&o.error(`Error while instrumenting ${e}`,r)}}}function ge(t,n){const r=t&&e[t];if(r)for(const e of r)try{e(n)}catch(a){s&&o.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${i(e)}\nError:`,a)}}let _e=null;function ye(){_e=a.onerror,a.onerror=function(e,t,n,r,s){return ge("error",{column:r,error:s,line:n,msg:e,url:t}),!!_e&&_e.apply(this,arguments)},a.onerror.__SENTRY_INSTRUMENTED__=!0}let ve=null;function Ee(){ve=a.onunhandledrejection,a.onunhandledrejection=function(e){return ge("unhandledrejection",e),!ve||ve.apply(this,arguments)},a.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function be(e){o.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function we(e,t){if(!t?.length||!e.description)return!1;for(const n of t){if(xe(n)){if(c(e.description,n))return s&&be(e),!0;continue}if(!n.name&&!n.op)continue;const t=!n.name||c(e.description,n.name),r=!n.op||e.op&&c(e.op,n.op);if(t&&r)return s&&be(e),!0}return!1}function ke(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const s of e)s.parent_span_id===r&&(s.parent_span_id=n)}function xe(e){return"string"==typeof e||e instanceof RegExp}function Se(e,t=[]){return[e,t]}function Te(e,t){const[n,r]=e;return[n,[...r,t]]}function $e(e,t){const n=e[1];for(const r of n)if(t(r,r[0].type))return!0;return!1}function Re(e){const t=p(a);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function Oe(e){const[t,n]=e;let r=JSON.stringify(t);function s(e){"string"==typeof r?r="string"==typeof e?r+e:[Re(r),e]:r.push("string"==typeof e?Re(e):e)}for(const o of n){const[e,t]=o;if(s(`\n${JSON.stringify(e)}\n`),"string"==typeof t||t instanceof Uint8Array)s(t);else{let e;try{e=JSON.stringify(t)}catch{e=JSON.stringify(d(t))}s(e)}}return"string"==typeof r?r:function(e){const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}(r)}function Pe(e){const t="string"==typeof e.data?Re(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Ce={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function Le(e){return Ce[e]}function De(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Me(e,t,n,r){const s=De(n),o=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return e;const n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);const i=function(e,t,n,r){const s=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:u(r)},...s&&{trace:s}}}(e,s,r,t);return delete e.sdkProcessingMetadata,Se(i,[[{type:o},e]])}function qe(e,t,n){return t||`${function(e){return`${function(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){const n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(e,n)}`}const Ne=[];function je(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function Ae(e,t,n){if(n[t.name])s&&o.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,Ne.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),Ne.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}s&&o.log(`Integration installed: ${t.name}`)}}function He(e,t){const n=t??function(e){return Ie().get(e)}(e)??[];if(0===n.length)return;const r=e.getOptions(),s=function(e,t,n,r){const s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=u(r)),Se(s,[(o=e,[{type:"log",item_count:o.length,content_type:"application/vnd.sentry.items.log+json"},{items:o}])]);var o}(n,r._metadata,r.tunnel,e.getDsn());Ie().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(s)}function Ie(){return l("clientToLogBufferMap",()=>new WeakMap)}function Ue(e,t){const n=t??function(e){return Be().get(e)}(e)??[];if(0===n.length)return;const r=e.getOptions(),s=function(e,t,n,r){const s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=u(r)),Se(s,[(o=e,[{type:"trace_metric",item_count:o.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:o}])]);var o}(n,r._metadata,r.tunnel,e.getDsn());Be().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(s)}function Be(){return l("clientToMetricBufferMap",()=>new WeakMap)}const Fe=Symbol.for("SentryBufferFullError");function We(e=100){const t=new Set;function n(e){t.delete(e)}return{get $(){return Array.from(t)},add:function(r){if(!(t.sizen(s),()=>n(s)),s},drain:function(e){if(!t.size)return f(!0);const n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;const r=[n,new Promise(t=>setTimeout(()=>t(!1),e))];return Promise.race(r)}}}function ze(e,{statusCode:t,headers:n},r=Date.now()){const s={...e},o=n?.["x-sentry-rate-limits"],i=n?.["retry-after"];if(o)for(const a of o.trim().split(",")){const[e,t,,,n]=a.split(":",5),o=parseInt(e,10),i=1e3*(isNaN(o)?60:o);if(t)for(const a of t.split(";"))"metric_bucket"===a&&n&&!n.split(";").includes("custom")||(s[a]=r+i);else s.all=r+i}else i?s.all=r+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(i,r):429===t&&(s.all=r+6e4);return s}function Xe(e,t,n=We(e.bufferSize||64)){let r={};return{send:function(i){const a=[];if($e(i,(t,n)=>{const s=Le(n);!function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,s)?a.push(t):e.recordDroppedEvent("ratelimit_backoff",s)}),0===a.length)return Promise.resolve({});const c=Se(i[0],a),u=t=>{$e(c,(n,r)=>{e.recordDroppedEvent(t,Le(r))})};return n.add(()=>t({body:Oe(c)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&s&&o.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=ze(r,e),e),e=>{throw u("network_error"),s&&o.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===Fe)return s&&o.error("Skipped sending event because buffer is full."),u("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}const Ge="Not capturing exception because it's already been captured.",Ye="Discarded session because of missing or non-string release",Je=Symbol.for("SentryInternalError"),Ke=Symbol.for("SentryDoNotSendEventError");function Ve(e){return{message:e,[Je]:!0}}function Qe(e){return{message:e,[Ke]:!0}}function Ze(e){return!!e&&"object"==typeof e&&Je in e}function et(e){return!!e&&"object"==typeof e&&Ke in e}function tt(e,t,n,r,s){let o,i=0,a=!1;e.on(n,()=>{i=0,clearTimeout(o),a=!1}),e.on(t,t=>{i+=r(t),i>=8e5?s(e):a||(a=!0,o=setTimeout(()=>{s(e)},5e3))}),e.on("flush",()=>{s(e)})}class nt{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=We(e.transportOptions?.bufferSize??64),e.dsn?this._dsn=y(e.dsn):s&&o.warn("No DSN provided, client will not send events."),this._dsn){const t=qe(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&tt(this,"afterCaptureLog","flushLogs",at,He),(this._options.enableMetrics??this._options._experiments?.enableMetrics??1)&&tt(this,"afterCaptureMetric","flushMetrics",it,Ue)}captureException(e,t,n){const r=v();if(E(e))return s&&o.log(Ge),r;const i={event_id:r,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),"error"),i.event_id}captureMessage(e,t,n,r){const s={event_id:v(),...n},o=R(e)?e:String(e),i=O(e),a=i?this.eventFromMessage(o,t,s):this.eventFromException(e,s);return this._process(()=>a.then(e=>this._captureEvent(e,s,r)),i?"unknown":"error"),s.event_id}captureEvent(e,t,n){const r=v();if(t?.originalException&&E(t.originalException))return s&&o.log(Ge),r;const i={event_id:r,...t},a=e.sdkProcessingMetadata||{},c=a.capturedSpanScope,u=a.capturedSpanIsolationScope,p=rt(e.type);return this._process(()=>this._captureEvent(e,i,c||n,u),p),i.event_id}captureSession(e){this.sendSession(e),b(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){const t=this._transport;if(!t)return!0;this.emit("flush");const n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){const t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];Ae(this,e,this._integrations),t||je(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=Me(e,this._dsn,this._options._metadata,this._options.tunnel);for(const r of t.attachments||[])n=Te(n,Pe(r));this.sendEnvelope(n).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){const{release:t,environment:n=w}=this._options;if("aggregates"in e){const r=e.attrs||{};if(!r.release&&!t)return void(s&&o.warn(Ye));r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t)return void(s&&o.warn(Ye));e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);const r=function(e,t,n,r){const s=De(n);return Se({sent_at:(new Date).toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:u(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){const r=`${e}:${t}`;s&&o.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){const n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(t){return s&&o.error("Error while sending envelope:",t),{}}return s&&o.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach(t=>{t&&Ae(e,t,n)}),n}(this,e),je(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1;const s=t.exception?.values;if(s){r=!0,n=!1;for(const e of s)if(!1===e.mechanism?.handled){n=!0;break}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&(b(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||tsetTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){const s=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o?.length&&(t.integrations=o),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),k(s,e,t,n,this,r).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:x(n),...e.contexts};const r=S(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:r,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n=T(),r=$()){return s&&st(e)&&o.log(`Captured error event \`${function(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}(e)[0]||""}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{s&&(et(e)?o.log(e.message):Ze(e)?o.warn(e.message):o.warn(e))})}_processEvent(e,t,n,r){const s=this.getOptions(),{sampleRate:o}=s,i=ot(e),a=st(e),c=`before send for type \`${e.type||"error"}\``,u=void 0===o?void 0:function(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;return"number"!=typeof t||isNaN(t)||t<0||t>1?void 0:t}(o);if(a&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error"),h(Qe(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const p=rt(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",p),Qe("An event processor returned `null`, will not send event.");if(t.data&&!0===t.data.__sentry__)return e;const n=function(e,t,n,r){const{beforeSend:s,beforeSendTransaction:o,beforeSendSpan:i,ignoreSpans:a}=t;let c=n;if(st(c)&&s)return s(c,r);if(ot(c)){if(i||a){const t=function(e){const{trace_id:t,parent_span_id:n,span_id:r,status:s,origin:o,data:i,op:a}=e.contexts?.trace??{};return{data:i??{},description:e.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:s,timestamp:e.timestamp,trace_id:t??"",origin:o,profile_id:i?.[_],exclusive_time:i?.[g],measurements:e.measurements,is_segment:!0}}(c);if(a?.length&&we(t,a))return null;if(i){const e=i(t);e?c=C(n,{type:"transaction",timestamp:(u=e).timestamp,start_timestamp:u.start_timestamp,transaction:u.description,contexts:{trace:{trace_id:u.trace_id,span_id:u.span_id,parent_span_id:u.parent_span_id,op:u.op,status:u.status,origin:u.origin,data:{...u.data,...u.profile_id&&{[_]:u.profile_id},...u.exclusive_time&&{[g]:u.exclusive_time}}}},measurements:u.measurements}):P()}if(c.spans){const t=[],n=c.spans;for(const e of n)if(a?.length&&we(e,a))ke(n,e);else if(i){const n=i(e);n?t.push(n):(P(),t.push(e))}else t.push(e);const r=c.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),c.spans=t}}if(o){if(c.spans){const e=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(c,r)}}var u;return c}(this,s,e,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(L(e))return e.then(e=>{if(!D(e)&&null!==e)throw Ve(n);return e},e=>{throw Ve(`${t} rejected with ${e}`)});if(!D(e)&&null!==e)throw Ve(n);return e}(n,c)}).then(s=>{if(null===s){if(this.recordDroppedEvent("before_send",p),i){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw Qe(`${c} returned \`null\`, will not send event.`)}const o=n.getSession()||r.getSession();if(a&&o&&this._updateSessionFromEvent(o,s),i){const e=(s.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(s.spans?s.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const u=s.transaction_info;if(i&&u&&s.transaction!==e.transaction){const e="custom";s.transaction_info={...u,source:e}}return this.sendEvent(s,t),s}).then(null,e=>{if(et(e)||Ze(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),Ve(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===Fe&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){s&&o.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(s&&o.log("No outcomes to send"));if(!this._dsn)return void(s&&o.log("No dsn provided, will not send outcomes"));s&&o.log("Sending outcomes:",e);const t=(n=e,Se((r=this._options.tunnel&&u(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:m(),discarded_events:n}]]));var n,r;this.sendEnvelope(t)}}function rt(e){return"replay_event"===e?"replay":e||"error"}function st(e){return void 0===e.type}function ot(e){return"transaction"===e.type}function it(e){let t=0;return e.name&&(t+=2*e.name.length),t+=8,t+ct(e.attributes)}function at(e){let t=0;return e.message&&(t+=2*e.message.length),t+ct(e.attributes)}function ct(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*ut(e[0]):O(e)?t+=ut(e):t+=100}),t}function ut(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:"boolean"==typeof e?4:0}function pt(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function dt(e,t){const n=t?.getDsn(),r=t?.getOptions().tunnel;return function(e,t){const n=function(e){const t=e.indexOf("://")<=0&&0!==e.indexOf("//"),n=t?"thismessage:/":void 0;try{if("canParse"in URL&&!URL.canParse(e,n))return;const r=new URL(e,n);return t?{isRelative:t,pathname:r.pathname,search:r.search,hash:r.hash}:r}catch{}}(e);return!(!n||function(e){return"isRelative"in e}(n))&&(!!t&&n.host.includes(t.host)&&/(^|&|\?)sentry_key=/.test(n.search))}(e,n)||function(e,t){return!!t&<(e)===lt(t)}(e,r)}function lt(e){return"/"===e[e.length-1]?e.slice(0,-1):e}function ft(e){"aggregates"in e?void 0===e.attrs?.ip_address&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}const ht=100;function mt(e,t){const n=q(),r=$();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=ht}=n.getOptions();if(o<=0)return;const i={timestamp:m(),...e},a=s?N(()=>s(i,t)):i;null!==a&&(n.emit&&n.emit("beforeAddBreadcrumb",a,t),r.addBreadcrumb(a,o))}let gt;const _t=new WeakMap,yt=()=>({name:"FunctionToString",setupOnce(){gt=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=j(this),n=_t.has(q())&&void 0!==t?t:this;return gt.apply(n,e)}}catch{}},setup(e){_t.set(e,!0)}});function vt(e,t,n,r,s,o){if(!s.exception?.values||!o||!A(o.originalException,Error))return;const i=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;i&&(s.exception.values=Et(e,t,r,o.originalException,n,s.exception.values,i,0))}function Et(e,t,n,r,s,o,i,a){if(o.length>=n+1)return o;let c=[...o];if(A(r[s],Error)){bt(i,a);const o=e(t,r[s]),u=c.length;wt(o,s,u,a),c=Et(e,t,n,r[s],s,[o,...c],o,u)}return Array.isArray(r.errors)&&r.errors.forEach((r,o)=>{if(A(r,Error)){bt(i,a);const u=e(t,r),p=c.length;wt(u,`errors[${o}]`,p,a),c=Et(e,t,n,r,s,[u,...c],u,p)}}),c}function bt(e,t){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function wt(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function kt(e){const t="console";he(t,e),me(t,xt)}function xt(){"console"in a&&H.forEach(function(e){e in a.console&&I(a.console,e,function(t){return U[e]=t,function(...t){ge("console",{args:t,level:e});const n=U[e];n?.apply(a.console,t)}})})}function St(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const Tt=(e={})=>{const t=e.levels||H,n=e.handled??!0;return{name:"CaptureConsole",setup(e){"console"in a&&kt(({args:r,level:s})=>{q()===e&&t.includes(s)&&function(e,t,n){const r=St(t),s=new Error,o={level:St(t),extra:{arguments:e}};B(i=>{if(i.addEventProcessor(e=>(e.logger="console",F(e,{handled:n,type:"auto.core.capture_console"}),e)),"assert"===t){if(!e[0]){const t=`Assertion failed: ${W(e.slice(1)," ")||"console.assert"}`;i.setExtra("arguments",e.slice(1)),i.captureMessage(t,r,{captureContext:o,syntheticException:s})}return}const a=e.find(e=>e instanceof Error);if(a)return void z(a,o);const c=W(e," ");i.captureMessage(c,r,{captureContext:o,syntheticException:s})})}(r,s,n)})}}},$t=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!Ot(e,t)&&!!Rt(e,t))))}(e,t)||!!function(e,t){const n=Pt(t),r=Pt(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!Ot(e,t)&&!!Rt(e,t)))}(e,t))}(t,e))return s&&o.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}};function Rt(e,t){let n=X(e),r=X(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let s=0;s=400&&e<500?"warning":e>=500?"error":void 0}const Lt=a;function Dt(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Mt(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in Lt))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(Dt(Lt.fetch))return!0;let e=!1;const t=Lt.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=Dt(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){s&&o.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function qt(e,t){const n="fetch";he(n,e),me(n,()=>function(e,t=!1){t&&!Mt()||I(a,"fetch",function(e){return function(...t){const n=new Error,{method:r,url:s}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:jt(t),method:Nt(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:jt(t),method:Nt(t,"method")?String(t.method).toUpperCase():"GET"}}(t),o={args:t,fetchData:{method:r,url:s},startTimestamp:1e3*G(),virtualError:n,headers:At(t)};return ge("fetch",{...o}),e.apply(a,t).then(async e=>(ge("fetch",{...o,endTimestamp:1e3*G(),response:e}),e),e=>{if(ge("fetch",{...o,endTimestamp:1e3*G(),error:e}),Y(e)&&void 0===e.stack&&(e.stack=n.stack,J(e,"framesToPop",1)),e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(o.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e})}})}(0,t))}function Nt(e,t){return!!e&&"object"==typeof e&&!!e[t]}function jt(e){return"string"==typeof e?e:e?Nt(e,"url")?e.url:e.toString?e.toString():"":""}function At(e){const[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if(K(t))return new Headers(t.headers)}catch{}}const Ht=a;let It=0;function Ut(){return It>0}function Bt(e,t={}){if(!function(e){return"function"==typeof e}(e))return e;try{const t=e.__sentry_wrapped__;if(t)return"function"==typeof t?t:e;if(j(e))return e}catch{return e}const n=function(...n){try{const r=n.map(e=>Bt(e,t));return e.apply(this,r)}catch(r){throw It++,setTimeout(()=>{It--}),B(e=>{e.addEventProcessor(e=>(t.mechanism&&(Z(e,void 0),F(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),z(r)}),r}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}Q(n,e),J(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function Ft(e,t){const n=Xt(e,t),r={type:Jt(t),value:Kt(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Wt(e,t,n,r){const s=q(),o=s?.getOptions().normalizeDepth,i=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}(t),a={__serialized__:se(t,o)};if(i)return{exception:{values:[Ft(e,i)]},extra:a};const c={exception:{values:[{type:re(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Zt(t,{isUnhandledRejection:r})}]},extra:a};if(n){const t=Xt(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}function zt(e,t){return{exception:{values:[Ft(e,t)]}}}function Xt(e,t){const n=t.stacktrace||t.stack||"",r=function(e){return e&&Gt.test(e.message)?1:0}(t),s=function(e){return"number"==typeof e.framesToPop?e.framesToPop:0}(t);try{return e(n,r,s)}catch{}return[]}const Gt=/Minified React error #\d+;/i;function Yt(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function Jt(e){const t=e?.name;return!t&&Yt(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}function Kt(e){const t=e?.message;return Yt(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function Vt(e,t,n,r,s){let o;if(ee(t)&&t.error)return zt(e,t.error);if(te(t)||ne(t)){const s=t;if("stack"in t)o=zt(e,t);else{const t=s.name||(te(s)?"DOMError":"DOMException"),i=s.message?`${t}: ${s.message}`:t;o=Qt(e,i,n,r),Z(o,i)}return"code"in s&&(o.tags={...o.tags,"DOMException.code":`${s.code}`}),o}return Y(t)?zt(e,t):D(t)||re(t)?(o=Wt(e,t,n,s),F(o,{synthetic:!0}),o):(o=Qt(e,t,n,r),Z(o,`${t}`),F(o,{synthetic:!0}),o)}function Qt(e,t,n,r){const s={};if(r&&n){const r=Xt(e,n);r.length&&(s.exception={values:[{value:t,stacktrace:{frames:r}}]}),F(s,{synthetic:!0})}if(R(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return s.logentry={message:e,params:n},s}return s.message=t,s}function Zt(e,{isUnhandledRejection:t}){const n=oe(e),r=t?"promise rejection":"exception";return ee(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:re(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}const en=a;let tn,nn,rn,sn;function on(){if(!en.document)return;const e=ge.bind(null,"dom"),t=an(e,!0);en.document.addEventListener("click",t,!1),en.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{const n=en,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(I(r,"addEventListener",function(t){return function(n,r,s){if("click"===n||"keypress"==n)try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[n]=r[n]||{refCount:0};if(!o.handler){const r=an(e);o.handler=r,t.call(this,n,r,s)}o.refCount++}catch{}return t.call(this,n,r,s)}}),I(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},s=n[t];s&&(s.refCount--,s.refCount<=0&&(e.call(this,t,s.handler,r),s.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function an(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch{return null}}(n);if(function(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;J(n,"_sentryCaptured",!0),r&&!r._sentryId&&J(r,"_sentryId",v());const s="keypress"===n.type?"input":n.type;(function(e){if(e.type!==nn)return!1;try{if(!e.target||e.target._sentryId!==rn)return!1}catch{}return!0})(n)||(e({event:n,name:s,global:t}),nn=n.type,rn=r?r._sentryId:void 0),clearTimeout(tn),tn=en.setTimeout(()=>{rn=void 0,nn=void 0},1e3)}}function cn(){function e(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const r=sn,s=function(e){try{return new URL(e,en.location.origin).toString()}catch{return e}}(String(n));if(sn=s,r===s)return e.apply(this,t);ge("history",{from:r,to:s})}return e.apply(this,t)}}en.addEventListener("popstate",()=>{const e=en.location.href,t=sn;sn=e,t!==e&&ge("history",{from:t,to:e})}),"history"in Lt&&Lt.history&&(I(en.history,"pushState",e),I(en.history,"replaceState",e))}const un="__sentry_xhr_v3__";function pn(e){he("xhr",e),me("xhr",dn)}function dn(){if(!en.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const r=new Error,s=1e3*G(),o=ie(n[0])?n[0].toUpperCase():void 0,i=function(e){if(ie(e))return e;try{return e.toString()}catch{}}(n[1]);if(!o||!i)return e.apply(t,n);t[un]={method:o,url:i,request_headers:{}},"POST"===o&&i.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const a=()=>{const e=t[un];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}ge("xhr",{endTimestamp:1e3*G(),startTimestamp:s,xhr:t,virtualError:r})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(a(),e.apply(t,n))}):t.addEventListener("readystatechange",a),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[r,s]=n,o=t[un];return o&&ie(r)&&ie(s)&&(o.request_headers[r.toLowerCase()]=s),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const r=t[un];return r?(void 0!==n[0]&&(r.body=n[0]),ge("xhr",{startTimestamp:1e3*G(),xhr:t}),e.apply(t,n)):e.apply(t,n)}})}const ln="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function fn(e,t,n,r){const s={filename:e,function:""===t?ce:t,in_app:!0};return void 0!==n&&(s.lineno=n),void 0!==r&&(s.colno=r),s}const hn=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,mn=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,gn=/\((\S*)(?::(\d+))(?::(\d+))\)/,_n=/at (.+?) ?\(data:(.+?),/,yn=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,vn=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,En=ae([30,e=>{const t=e.match(_n);if(t)return{filename:``,function:t[1]};const n=hn.exec(e);if(n){const[,e,t,r]=n;return fn(e,ce,+t,+r)}const r=mn.exec(e);if(r){if(r[2]&&0===r[2].indexOf("eval")){const e=gn.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}const[e,t]=bn(r[1]||ce,r[2]);return fn(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],[50,e=>{const t=yn.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=vn.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||ce;return[n,e]=bn(n,e),fn(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),bn=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:ce,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},wn=1024,kn=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&kt(function(e){return function(t){if(q()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:St(t.level),message:W(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${W(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}mt(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if(q()!==e)return;let r,s,i="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>wn&&(ln&&o.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=wn),"string"==typeof i&&(i=[i]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=pe(t,{keyAttrs:i,maxStringLength:a}),s=de(t)}catch{r=""}if(0===r.length)return;const c={category:`ui.${n.name}`,message:r};s&&(c.data={"ui.component_name":s}),mt(c,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),he("dom",n),me("dom",on)),t.xhr&&pn(function(e){return function(t){if(q()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,s=t.xhr[un];if(!n||!r||!s)return;const{method:o,url:i,status_code:a,body:c}=s,u={method:o,url:i,status_code:a},p={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:"xhr",data:u,type:"http",level:Ct(a)};e.emit("beforeOutgoingRequestBreadcrumb",d,p),mt(d,p)}}(e)),t.fetch&&qt(function(e){return function(t){if(q()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.fetchData.method,t.fetchData.url,t.error){const s=t.fetchData,o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},i={category:"fetch",data:s,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",i,o),mt(i,o)}else{const s=t.response,o={...t.fetchData,status_code:s?.status};t.fetchData.request_body_size,t.fetchData.response_body_size;const i={input:t.args,response:s,startTimestamp:n,endTimestamp:r},a={category:"fetch",data:o,type:"http",level:Ct(o.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",a,i),mt(a,i)}}}(e)),t.history&&function(e){const t="history";he(t,e),me(t,cn)}(function(e){return function(t){if(q()!==e)return;let n=t.from,r=t.to;const s=pt(Ht.location.href);let o=n?pt(n):void 0;const i=pt(r);o?.path||(o=s),s.protocol===i.protocol&&s.host===i.host&&(r=i.relative),s.protocol===o.protocol&&s.host===o.host&&(n=o.relative),mt({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){q()===e&&mt({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:ue(t)},{event:t})}}(e))}}},xn=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Sn=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&I(Ht,"setTimeout",Tn),t.setInterval&&I(Ht,"setInterval",Tn),t.requestAnimationFrame&&I(Ht,"requestAnimationFrame",$n),t.XMLHttpRequest&&"XMLHttpRequest"in Ht&&I(XMLHttpRequest.prototype,"send",Rn);const e=t.eventTarget;e&&(Array.isArray(e)?e:xn).forEach(e=>function(e,t){const n=Ht,r=n[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(I(r,"addEventListener",function(n){return function(r,s,o){try{"function"==typeof s.handleEvent&&(s.handleEvent=Bt(s.handleEvent,{mechanism:{data:{handler:i(s),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&function(e,t,n){e&&"object"==typeof e&&"removeEventListener"in e&&"function"==typeof e.removeEventListener&&e.removeEventListener(t,n)}(this,r,s),n.apply(this,[r,Bt(s,{mechanism:{data:{handler:i(s),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),o])}}),I(r,"removeEventListener",function(e){return function(t,n,r){try{const s=n.__sentry_wrapped__;s&&e.call(this,t,s,r)}catch{}return e.call(this,t,n,r)}}))}(e,t))}}};function Tn(e){return function(...t){const n=t[0];return t[0]=Bt(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${i(e)}`}}),e.apply(this,t)}}function $n(e){return function(t){return e.apply(this,[Bt(t,{mechanism:{data:{handler:i(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function Rn(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&I(n,e,function(t){const n={mechanism:{data:{handler:i(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=j(t);return r&&(n.mechanism.data.handler=i(r)),Bt(t,n)})}),e.apply(this,t)}}const On=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){!function(e){const t="error";he(t,e),me(t,ye)}(t=>{const{stackParser:n,attachStacktrace:r}=Cn();if(q()!==e||Ut())return;const{msg:s,url:o,line:i,column:a,error:c}=t,u=function(e,t,n,r){const s=e.exception=e.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],u=r,p=n,d=function(e){if(ie(e)&&0!==e.length){if(e.startsWith("data:")){const t=e.match(/^data:([^;]+)/);return``}return e}}(t)??V();return 0===c.length&&c.push({colno:u,filename:d,function:ce,in_app:!0,lineno:p}),e}(Vt(n,c||s,void 0,r,!1),o,i,a);u.level="error",le(u,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}(e),Pn("onerror")),t.onunhandledrejection&&(function(e){!function(e){const t="unhandledrejection";he(t,e),me(t,Ee)}(t=>{const{stackParser:n,attachStacktrace:r}=Cn();if(q()!==e||Ut())return;const s=function(e){if(O(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),o=O(s)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(s)}`}]}}:Vt(n,s,void 0,r,!0);o.level="error",le(o,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}(e),Pn("onunhandledrejection"))}}};function Pn(e){ln&&o.log(`Global Handler attached: ${e}`)}function Cn(){const e=q();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Ln=()=>({name:"HttpContext",preprocessEvent(e){if(!Ht.navigator&&!Ht.location&&!Ht.document)return;const t=function(){const e=V(),{referrer:t}=Ht.document||{},{userAgent:n}=Ht.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}),Dn=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,s){vt(Ft,s.getOptions().stackParser,n,t,e,r)}}},Mn=(e={})=>{const t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:"HttpClient",setup(e){!function(e,t){Mt()&&qt(n=>{if(q()!==e)return;const{response:r,args:s,error:o,virtualError:i}=n,[a,c]=s;r&&function(e,t,n,r,s){if(An(e,n.status,n.url)){const e=function(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:new Request(e,t)}(t,r);let o,i,a,c;In()&&([o,a]=qn("Cookie",e),[i,c]=qn("Set-Cookie",n));const u=Hn({url:e.url,method:e.method,status:n.status,requestHeaders:o,responseHeaders:i,requestCookies:a,responseCookies:c,error:s,type:"fetch"});le(u)}}(t,a,r,c,o||i)},!1)}(e,t),function(e,t){"XMLHttpRequest"in a&&pn(n=>{if(q()!==e)return;const{error:r,virtualError:s}=n,i=n.xhr,a=i[un];if(!a)return;const{method:c,request_headers:u}=a;try{!function(e,t,n,r,s){if(An(e,t.status,t.responseURL)){let e,o,i;if(In()){try{const e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(o=jn(e))}catch{}try{i=function(e){const t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce((e,t)=>{const[n,r]=t.split(": ");return n&&r&&(e[n]=r),e},{}):{}}(t)}catch{}e=r}const a=Hn({url:t.responseURL,method:n,status:t.status,requestHeaders:e,responseHeaders:i,responseCookies:o,error:s,type:"xhr"});le(a)}}(t,i,c,u,r||s)}catch(p){ln&&o.warn("Error while extracting response event form XHR response",p)}})}(e,t)}}};function qn(e,t){const n=function(e){const t={};return e.forEach((e,n)=>{t[n]=e}),t}(t.headers);let r;try{const t=n[e]||n[e.toLowerCase()]||void 0;t&&(r=jn(t))}catch{}return[n,r]}function Nn(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function jn(e){return e.split("; ").reduce((e,t)=>{const[n,r]=t.split("=");return n&&r&&(e[n]=r),e},{})}function An(e,t,n){return function(e,t){return e.some(e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1])}(e.failedRequestStatusCodes,t)&&(r=e.failedRequestTargets,s=n,r.some(e=>"string"==typeof e?s.includes(e):e.test(s)))&&!dt(n,q());var r,s}function Hn(e){const t=q(),n=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,r=n&&t?t.getOptions().stackParser(n,0,1):void 0,s=`HTTP Client Error with status code: ${e.status}`,o={message:s,exception:{values:[{type:"Error",value:s,stacktrace:r?{frames:r}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:Nn(e.responseHeaders)}}};return F(o,{type:`auto.http.client.${e.type}`,handled:!1}),o}function In(){const e=q();return!!e&&Boolean(e.getOptions().sendDefaultPii)}const Un=new class extends nt{constructor(e){const t=(n=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:Ht.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n});var n;!function(e,t,n=[t],r="npm"){const s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:M})),version:M}),e._metadata=s}(t,"browser",["browser"],Ht.SENTRY_SDK_SOURCE||"npm"),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);const{sendDefaultPii:r,sendClientReports:s,enableLogs:o,_experiments:i,enableMetrics:a}=this._options,c=a??i?.enableMetrics??!0;Ht.document&&(s||o||c)&&Ht.document.addEventListener("visibilitychange",()=>{"hidden"===Ht.document.visibilityState&&(s&&this._flushOutcomes(),o&&He(this),c&&Ue(this))}),r&&this.on("beforeSendSession",ft)}eventFromException(e,t){return function(e,t,n,r){const s=Vt(e,t,n?.syntheticException||void 0,r);return F(s),s.level="error",n?.event_id&&(s.event_id=n.event_id),f(s)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,s){const o=Qt(e,t,r?.syntheticException||void 0,s);return o.level=n,r?.event_id&&(o.event_id=r.event_id),f(o)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}({dsn:"https://14362801769747a4b7c1e04eb0c7a3cc@collie.haikuatelier.com/1",environment:"production",integrations:[kn(),Sn(),Tt({levels:["warn","error"]}),$t(),yt(),On(),Mn({failedRequestStatusCodes:[[400,599]]}),Ln(),Dn()],sendDefaultPii:!0,stackParser:En,tracesSampleRate:1,transport:e=>Xe(e,async t=>{const s={body:t.body,headers:e.headers??{},method:"POST",mode:"no-cors",referrerPolicy:"no-referrer",...e.fetchOptions};return fe(await fetch(e.url,s),e=>({headers:{[r]:e.headers.get(r),[n]:e.headers.get(n)},statusCode:e.status}))})});T().setClient(Un),Un.init()}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.br deleted file mode 100644 index e896dfa8..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.gz deleted file mode 100644 index f5bfae33..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.zst deleted file mode 100644 index c3ff4762..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gaffe-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js b/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js deleted file mode 100644 index e6677f9b..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js +++ /dev/null @@ -1,8 +0,0 @@ -import{E as Se,a as Te}from"./api.BWtmxolt.js";import{D as m,d as p,g as T,G as g,i as Y,a as P,b as Xt,n as zt,c as st,r as pe,e as ot,f as it,S as at,h as ct,m as Yt,u as B,j as Re,k as ke,l as Kt,p as Vt,o as Jt,q as Zt,s as ut,t as ft,v as lt,w as G,x as Ie,y as Qt,z as en,A as ee,B as we,C as _,E as tn,F as me,H as te,I as dt,J as E,K as Oe,L as pt,M as R,N as q,O as mt,P as Ne,Q as N,R as ht,T as W,U as nn,V as gt,W as rn,X as ne,Y as _t,Z as Le,_ as sn,$ as he,a0 as on,a1 as an,a2 as D,a3 as cn,a4 as L,a5 as un,a6 as fn,a7 as ln,a8 as X,a9 as dn}from"./exports.JV8YQBqW.js";function mo(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const U={},Ce={};function I(e,t){U[e]=U[e]||[],U[e].push(t)}function w(e,t){if(!Ce[e]){Ce[e]=!0;try{t()}catch(n){m&&p.error(`Error while instrumenting ${e}`,n)}}}function b(e,t){const n=e&&U[e];if(n)for(const r of n)try{r(t)}catch(s){m&&p.error(`Error while triggering instrumentation handler. -Type: ${e} -Name: ${T(r)} -Error:`,s)}}let K=null;function pn(e){const t="error";I(t,e),w(t,mn)}function mn(){K=g.onerror,g.onerror=function(e,t,n,r,s){return b("error",{column:r,error:s,line:n,msg:e,url:t}),K?K.apply(this,arguments):!1},g.onerror.__SENTRY_INSTRUMENTED__=!0}let V=null;function hn(e){const t="unhandledrejection";I(t,e),w(t,gn)}function gn(){V=g.onunhandledrejection,g.onunhandledrejection=function(e){return b("unhandledrejection",e),V?V.apply(this,arguments):!0},g.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function _n(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}function Me(e){p.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function De(e,t){if(!t?.length||!e.description)return!1;for(const n of t){if(En(n)){if(Y(e.description,n))return m&&Me(e),!0;continue}if(!n.name&&!n.op)continue;const r=n.name?Y(e.description,n.name):!0,s=n.op?e.op&&Y(e.op,n.op):!0;if(r&&s)return m&&Me(e),!0}return!1}function yn(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const s of e)s.parent_span_id===r&&(s.parent_span_id=n)}function En(e){return typeof e=="string"||e instanceof RegExp}function M(e,t=[]){return[e,t]}function vn(e,t){const[n,r]=e;return[n,[...r,t]]}function Fe(e,t){const n=e[1];for(const r of n){const s=r[0].type;if(t(r,s))return!0}return!1}function re(e){const t=Xt(g);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function bn(e){const[t,n]=e;let r=JSON.stringify(t);function s(o){typeof r=="string"?r=typeof o=="string"?r+o:[re(r),o]:r.push(typeof o=="string"?re(o):o)}for(const o of n){const[i,a]=o;if(s(` -${JSON.stringify(i)} -`),typeof a=="string"||a instanceof Uint8Array)s(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(zt(a))}s(c)}}return typeof r=="string"?r:Sn(r)}function Sn(e){const t=e.reduce((s,o)=>s+o.length,0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}function Tn(e){const t=typeof e.data=="string"?re(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Rn={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function Pe(e){return Rn[e]}function yt(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function kn(e,t,n,r){const s=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:P(r)},...s&&{trace:s}}}function In(e,t){if(!t)return e;const n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function wn(e,t,n,r){const s=yt(n),o={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:P(t)}},i="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return M(o,[i])}function On(e,t,n,r){const s=yt(n),o=e.type&&e.type!=="replay_event"?e.type:"event";In(e,n?.sdk);const i=kn(e,s,r,t);return delete e.sdkProcessingMetadata,M(i,[[{type:o},e]])}const Nn="7";function Ln(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function Cn(e){return`${Ln(e)}${e.projectId}/envelope/`}function Mn(e,t){const n={sentry_version:Nn};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function Dn(e,t,n){return t||`${Cn(e)}?${Mn(e,n)}`}const xe=[];function Fn(e,t){const n={};return t.forEach(r=>{r&&Et(e,r,n)}),n}function Ae(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function Et(e,t,n){if(n[t.name]){m&&p.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!xe.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),xe.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(s,o)=>r(s,o,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),s=Object.assign((o,i)=>r(o,i,e),{id:t.name});e.addEventProcessor(s)}m&&p.log(`Integration installed: ${t.name}`)}function Pn(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function xn(e,t,n,r){const s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=P(r)),M(s,[Pn(e)])}function vt(e,t){const n=t??An(e)??[];if(n.length===0)return;const r=e.getOptions(),s=xn(n,r._metadata,r.tunnel,e.getDsn());bt().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(s)}function An(e){return bt().get(e)}function bt(){return st("clientToLogBufferMap",()=>new WeakMap)}function Hn(e){return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]}function $n(e,t,n,r){const s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=P(r)),M(s,[Hn(e)])}function St(e,t){const n=t??Bn(e)??[];if(n.length===0)return;const r=e.getOptions(),s=$n(n,r._metadata,r.tunnel,e.getDsn());Tt().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(s)}function Bn(e){return Tt().get(e)}function Tt(){return st("clientToMetricBufferMap",()=>new WeakMap)}const ge=Symbol.for("SentryBufferFullError");function Rt(e=100){const t=new Set;function n(){return t.sizer(a),()=>r(a)),a}function o(i){if(!t.size)return pe(!0);const a=Promise.allSettled(Array.from(t)).then(()=>!0);if(!i)return a;const c=[a,new Promise(u=>setTimeout(()=>u(!1),i))];return Promise.race(c)}return{get $(){return Array.from(t)},add:s,drain:o}}const Un=60*1e3;function jn(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?Un:r-t}function qn(e,t){return e[t]||e.all||0}function Wn(e,t,n=Date.now()){return qn(e,t)>n}function Gn(e,{statusCode:t,headers:n},r=Date.now()){const s={...e},o=n?.["x-sentry-rate-limits"],i=n?.["retry-after"];if(o)for(const a of o.trim().split(",")){const[c,u,,,f]=a.split(":",5),l=parseInt(c,10),h=(isNaN(l)?60:l)*1e3;if(!u)s.all=r+h;else for(const d of u.split(";"))d==="metric_bucket"?(!f||f.split(";").includes("custom"))&&(s[d]=r+h):s[d]=r+h}else i?s.all=r+jn(i,r):t===429&&(s.all=r+60*1e3);return s}const kt=64;function Xn(e,t,n=Rt(e.bufferSize||kt)){let r={};const s=i=>n.drain(i);function o(i){const a=[];if(Fe(i,(l,h)=>{const d=Pe(h);Wn(r,d)?e.recordDroppedEvent("ratelimit_backoff",d):a.push(l)}),a.length===0)return Promise.resolve({});const c=M(i[0],a),u=l=>{Fe(c,(h,d)=>{e.recordDroppedEvent(l,Pe(d))})},f=()=>t({body:bn(c)}).then(l=>(l.statusCode!==void 0&&(l.statusCode<200||l.statusCode>=300)&&m&&p.warn(`Sentry responded with status code ${l.statusCode} to sent event.`),r=Gn(r,l),l),l=>{throw u("network_error"),m&&p.error("Encountered error running transport request:",l),l});return n.add(f).then(l=>l,l=>{if(l===ge)return m&&p.error("Skipped sending event because buffer is full."),u("queue_overflow"),Promise.resolve({});throw l})}return{send:o,flush:s}}function zn(e,t,n){const r=[{type:"client_report"},{timestamp:it(),discarded_events:e}];return M(t?{dsn:t}:{},[r])}function Yn(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function Kn(e){const{trace_id:t,parent_span_id:n,span_id:r,status:s,origin:o,data:i,op:a}=e.contexts?.trace??{};return{data:i??{},description:e.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:s,timestamp:e.timestamp,trace_id:t??"",origin:o,profile_id:i?.[ct],exclusive_time:i?.[at],measurements:e.measurements,is_segment:!0}}function Vn(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[ct]:e.profile_id},...e.exclusive_time&&{[at]:e.exclusive_time}}}},measurements:e.measurements}}const He="Not capturing exception because it's already been captured.",$e="Discarded session because of missing or non-string release",It=Symbol.for("SentryInternalError"),wt=Symbol.for("SentryDoNotSendEventError"),Jn=5e3;function j(e){return{message:e,[It]:!0}}function J(e){return{message:e,[wt]:!0}}function Be(e){return!!e&&typeof e=="object"&&It in e}function Ue(e){return!!e&&typeof e=="object"&&wt in e}function je(e,t,n,r,s){let o=0,i,a=!1;e.on(n,()=>{o=0,clearTimeout(i),a=!1}),e.on(t,c=>{o+=r(c),o>=8e5?s(e):a||(a=!0,i=setTimeout(()=>{s(e)},Jn))}),e.on("flush",()=>{s(e)})}class Zn{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Rt(t.transportOptions?.bufferSize??kt),t.dsn?this._dsn=Yt(t.dsn):m&&p.warn("No DSN provided, client will not send events."),this._dsn){const r=Dn(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:r})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&je(this,"afterCaptureLog","flushLogs",nr,vt),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&je(this,"afterCaptureMetric","flushMetrics",tr,St)}captureException(t,n,r){const s=B();if(Re(t))return m&&p.log(He),s;const o={event_id:s,...n};return this._process(()=>this.eventFromException(t,o).then(i=>this._captureEvent(i,o,r)).then(i=>i),"error"),o.event_id}captureMessage(t,n,r,s){const o={event_id:B(),...r},i=lt(t)?t:String(t),a=G(t),c=a?this.eventFromMessage(i,n,o):this.eventFromException(t,o);return this._process(()=>c.then(u=>this._captureEvent(u,o,s)),a?"unknown":"error"),o.event_id}captureEvent(t,n,r){const s=B();if(n?.originalException&&Re(n.originalException))return m&&p.log(He),s;const o={event_id:s,...n},i=t.sdkProcessingMetadata||{},a=i.capturedSpanScope,c=i.capturedSpanIsolationScope,u=qe(t.type);return this._process(()=>this._captureEvent(t,o,a||r,c),u),o.event_id}captureSession(t){this.sendSession(t),ke(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const n=this._transport;if(!n)return!0;this.emit("flush");const r=await this._isClientDoneProcessing(t),s=await n.flush(t);return r&&s}async close(t){const n=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),n}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const n=this._integrations[t.name];Et(this,t,this._integrations),n||Ae(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=On(t,this._dsn,this._options._metadata,this._options.tunnel);for(const s of n.attachments||[])r=vn(r,Tn(s));this.sendEnvelope(r).then(s=>this.emit("afterSendEvent",t,s))}sendSession(t){const{release:n,environment:r=Kt}=this._options;if("aggregates"in t){const o=t.attrs||{};if(!o.release&&!n){m&&p.warn($e);return}o.release=o.release||n,o.environment=o.environment||r,t.attrs=o}else{if(!t.release&&!n){m&&p.warn($e);return}t.release=t.release||n,t.environment=t.environment||r}this.emit("beforeSendSession",t);const s=wn(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(s)}recordDroppedEvent(t,n,r=1){if(this._options.sendClientReports){const s=`${t}:${n}`;m&&p.log(`Recording outcome: "${s}"${r>1?` (${r} times)`:""}`),this._outcomes[s]=(this._outcomes[s]||0)+r}}on(t,n){const r=this._hooks[t]=this._hooks[t]||new Set,s=(...o)=>n(...o);return r.add(s),()=>{r.delete(s)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(s=>s(...n))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(n){return m&&p.error("Error while sending envelope:",n),{}}return m&&p.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=Fn(this,t),Ae(this,t)}_updateSessionFromEvent(t,n){let r=n.level==="fatal",s=!1;const o=n.exception?.values;if(o){s=!0,r=!1;for(const c of o)if(c.mechanism?.handled===!1){r=!0;break}}const i=t.status==="ok";(i&&t.errors===0||i&&r)&&(ke(t,{...r&&{status:"crashed"},errors:t.errors||Number(s||r)}),this.captureSession(t))}async _isClientDoneProcessing(t){let n=0;for(;!t||nsetTimeout(r,1)),!this._numProcessing)return!0;n++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,s){const o=this.getOptions(),i=Object.keys(this._integrations);return!n.integrations&&i?.length&&(n.integrations=i),this.emit("preprocessEvent",t,n),t.type||s.setLastEventId(t.event_id||n.event_id),Vt(o,t,n,r,this,s).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,n),a.contexts={trace:Jt(r),...a.contexts};const c=Zt(this,r);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(t,n={},r=ut(),s=ft()){return m&&se(t)&&p.log(`Captured error event \`${Yn(t)[0]||""}\``),this._processEvent(t,n,r,s).then(o=>o.event_id,o=>{m&&(Ue(o)?p.log(o.message):Be(o)?p.warn(o.message):p.warn(o))})}_processEvent(t,n,r,s){const o=this.getOptions(),{sampleRate:i}=o,a=Ot(t),c=se(t),f=`before send for type \`${t.type||"error"}\``,l=typeof i>"u"?void 0:_n(i);if(c&&typeof l=="number"&&Math.random()>l)return this.recordDroppedEvent("sample_rate","error"),ot(J(`Discarding event because it's not included in the random sample (sampling rate = ${i})`));const h=qe(t.type);return this._prepareEvent(t,n,r,s).then(d=>{if(d===null)throw this.recordDroppedEvent("event_processor",h),J("An event processor returned `null`, will not send event.");if(n.data&&n.data.__sentry__===!0)return d;const x=er(this,o,d,n);return Qn(x,f)}).then(d=>{if(d===null){if(this.recordDroppedEvent("before_send",h),a){const z=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",z)}throw J(`${f} returned \`null\`, will not send event.`)}const S=r.getSession()||s.getSession();if(c&&S&&this._updateSessionFromEvent(S,d),a){const A=d.sdkProcessingMetadata?.spanCountBeforeProcessing||0,z=d.spans?d.spans.length:0,be=A-z;be>0&&this.recordDroppedEvent("before_send","span",be)}const x=d.transaction_info;if(a&&x&&d.transaction!==t.transaction){const A="custom";d.transaction_info={...x,source:A}}return this.sendEvent(d,n),d}).then(null,d=>{throw Ue(d)||Be(d)?d:(this.captureException(d,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:d}),j(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. -Reason: ${d}`))})}_process(t,n){this._numProcessing++,this._promiseBuffer.add(t).then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r===ge&&this.recordDroppedEvent("queue_overflow",n),r))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=>{const[s,o]=n.split(":");return{reason:s,category:o,quantity:r}})}_flushOutcomes(){m&&p.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){m&&p.log("No outcomes to send");return}if(!this._dsn){m&&p.log("No dsn provided, will not send outcomes");return}m&&p.log("Sending outcomes:",t);const n=zn(t,this._options.tunnel&&P(this._dsn));this.sendEnvelope(n)}}function qe(e){return e==="replay_event"?"replay":e||"error"}function Qn(e,t){const n=`${t} must return \`null\` or a valid event.`;if(en(e))return e.then(r=>{if(!ee(r)&&r!==null)throw j(n);return r},r=>{throw j(`${t} rejected with ${r}`)});if(!ee(e)&&e!==null)throw j(n);return e}function er(e,t,n,r){const{beforeSend:s,beforeSendTransaction:o,beforeSendSpan:i,ignoreSpans:a}=t;let c=n;if(se(c)&&s)return s(c,r);if(Ot(c)){if(i||a){const u=Kn(c);if(a?.length&&De(u,a))return null;if(i){const f=i(u);f?c=Qt(n,Vn(f)):Ie()}if(c.spans){const f=[],l=c.spans;for(const d of l){if(a?.length&&De(d,a)){yn(l,d);continue}if(i){const S=i(d);S?f.push(S):(Ie(),f.push(d))}else f.push(d)}const h=c.spans.length-f.length;h&&e.recordDroppedEvent("before_send","span",h),c.spans=f}}if(o){if(c.spans){const u=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:u}}return o(c,r)}}return c}function se(e){return e.type===void 0}function Ot(e){return e.type==="transaction"}function tr(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+Nt(e.attributes)}function nr(e){let t=0;return e.message&&(t+=e.message.length*2),t+Nt(e.attributes)}function Nt(e){if(!e)return 0;let t=0;return Object.values(e).forEach(n=>{Array.isArray(n)?t+=n.length*We(n[0]):G(n)?t+=We(n):t+=100}),t}function We(e){return typeof e=="string"?e.length*2:typeof e=="number"?8:typeof e=="boolean"?4:0}const rr="thismessage:/";function sr(e){return"isRelative"in e}function or(e,t){const n=e.indexOf("://")<=0&&e.indexOf("//")!==0,r=n?rr:void 0;try{if("canParse"in URL&&!URL.canParse(e,r))return;const s=new URL(e,r);return n?{isRelative:n,pathname:s.pathname,search:s.search,hash:s.hash}:s}catch{}}function Z(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function ir(e,t){const n=t?.getDsn(),r=t?.getOptions().tunnel;return cr(e,n)||ar(e,r)}function ar(e,t){return t?Ge(e)===Ge(t):!1}function cr(e,t){const n=or(e);return!n||sr(n)?!1:t?n.host.includes(t.host)&&/(^|&|\?)sentry_key=/.test(n.search):!1}function Ge(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function ur(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function fr(e,t,n=[t],r="npm"){const s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:n.map(o=>({name:`${r}:@sentry/${o}`,version:we})),version:we}),e._metadata=s}const lr=100;function k(e,t){const n=_(),r=ft();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=lr}=n.getOptions();if(o<=0)return;const a={timestamp:it(),...e},c=s?tn(()=>s(a,t)):a;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,t),r.addBreadcrumb(c,o))}let Xe;const dr="FunctionToString",ze=new WeakMap,pr=(()=>({name:dr,setupOnce(){Xe=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=me(this),n=ze.has(_())&&t!==void 0?t:this;return Xe.apply(n,e)}}catch{}},setup(e){ze.set(e,!0)}})),mr=pr;function hr(e,t,n,r,s,o){if(!s.exception?.values||!o||!te(o.originalException,Error))return;const i=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;i&&(s.exception.values=oe(e,t,r,o.originalException,n,s.exception.values,i,0))}function oe(e,t,n,r,s,o,i,a){if(o.length>=n+1)return o;let c=[...o];if(te(r[s],Error)){Ye(i,a);const u=e(t,r[s]),f=c.length;Ke(u,s,f,a),c=oe(e,t,n,r[s],s,[u,...c],u,f)}return Array.isArray(r.errors)&&r.errors.forEach((u,f)=>{if(te(u,Error)){Ye(i,a);const l=e(t,u),h=c.length;Ke(l,`errors[${f}]`,h,a),c=oe(e,t,n,u,s,[l,...c],l,h)}}),c}function Ye(e,t){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function Ke(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function Lt(e){const t="console";I(t,e),w(t,gr)}function gr(){"console"in g&&dt.forEach(function(e){e in g.console&&E(g.console,e,function(t){return Oe[e]=t,function(...n){b("console",{args:n,level:e}),Oe[e]?.apply(g.console,n)}})})}function ie(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const _r="CaptureConsole",yr=((e={})=>{const t=e.levels||dt,n=e.handled??!0;return{name:_r,setup(r){"console"in g&&Lt(({args:s,level:o})=>{_()!==r||!t.includes(o)||vr(s,o,n)})}}}),Er=yr;function vr(e,t,n){const r=ie(t),s=new Error,o={level:ie(t),extra:{arguments:e}};pt(i=>{if(i.addEventProcessor(u=>(u.logger="console",R(u,{handled:n,type:"auto.core.capture_console"}),u)),t==="assert"){if(!e[0]){const u=`Assertion failed: ${q(e.slice(1)," ")||"console.assert"}`;i.setExtra("arguments",e.slice(1)),i.captureMessage(u,r,{captureContext:o,syntheticException:s})}return}const a=e.find(u=>u instanceof Error);if(a){mt(a,o);return}const c=q(e," ");i.captureMessage(c,r,{captureContext:o,syntheticException:s})})}const br="Dedupe",Sr=(()=>{let e;return{name:br,processEvent(t){if(t.type)return t;try{if(Rr(t,e))return m&&p.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}}),Tr=Sr;function Rr(e,t){return t?!!(kr(e,t)||Ir(e,t)):!1}function kr(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Mt(e,t)||!Ct(e,t))}function Ir(e,t){const n=Ve(t),r=Ve(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Mt(e,t)||!Ct(e,t))}function Ct(e,t){let n=Ne(e),r=Ne(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;s=400&&e<500?"warning":e>=500?"error":void 0}const F=g;function wr(){return"history"in F&&!!F.history}function Or(){if(!("fetch"in F))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function Je(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Ft(){if(typeof EdgeRuntime=="string")return!0;if(!Or())return!1;if(Je(F.fetch))return!0;let e=!1;const t=F.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=Je(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){m&&p.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function Pt(e,t){const n="fetch";I(n,e),w(n,()=>Nr(void 0,t))}function Nr(e,t=!1){t&&!Ft()||E(g,"fetch",function(n){return function(...r){const s=new Error,{method:o,url:i}=Lr(r),a={args:r,fetchData:{method:o,url:i},startTimestamp:N()*1e3,virtualError:s,headers:Cr(r)};return b("fetch",{...a}),n.apply(g,r).then(async c=>(b("fetch",{...a,endTimestamp:N()*1e3,response:c}),c),c=>{if(b("fetch",{...a,endTimestamp:N()*1e3,error:c}),ht(c)&&c.stack===void 0&&(c.stack=s.stack,W(c,"framesToPop",1)),c instanceof TypeError&&(c.message==="Failed to fetch"||c.message==="Load failed"||c.message==="NetworkError when attempting to fetch resource."))try{const u=new URL(a.fetchData.url);c.message=`${c.message} (${u.host})`}catch{}throw c})}})}function ae(e,t){return!!e&&typeof e=="object"&&!!e[t]}function Ze(e){return typeof e=="string"?e:e?ae(e,"url")?e.url:e.toString?e.toString():"":""}function Lr(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:Ze(n),method:ae(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:Ze(t),method:ae(t,"method")?String(t.method).toUpperCase():"GET"}}function Cr(e){const[t,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(nn(t))return new Headers(t.headers)}catch{}}function Mr(){return"npm"}const y=g;let ce=0;function xt(){return ce>0}function Dr(){ce++,setTimeout(()=>{ce--})}function C(e,t={}){function n(s){return typeof s=="function"}if(!n(e))return e;try{const s=e.__sentry_wrapped__;if(s)return typeof s=="function"?s:e;if(me(e))return e}catch{return e}const r=function(...s){try{const o=s.map(i=>C(i,t));return e.apply(this,o)}catch(o){throw Dr(),pt(i=>{i.addEventProcessor(a=>(t.mechanism&&(ne(a,void 0),R(a,t.mechanism)),a.extra={...a.extra,arguments:s},a)),mt(o)}),o}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s])}catch{}rn(r,e),W(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Fr(){const e=gt(),{referrer:t}=y.document||{},{userAgent:n}=y.navigator||{},r={...t&&{Referer:t},...n&&{"User-Agent":n}};return{url:e,headers:r}}function _e(e,t){const n=ye(e,t),r={type:$r(t),value:Br(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function Pr(e,t,n,r){const o=_()?.getOptions().normalizeDepth,i=Gr(t),a={__serialized__:on(t,o)};if(i)return{exception:{values:[_e(e,i)]},extra:a};const c={exception:{values:[{type:he(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:qr(t,{isUnhandledRejection:r})}]},extra:a};if(n){const u=ye(e,n);u.length&&(c.exception.values[0].stacktrace={frames:u})}return c}function Q(e,t){return{exception:{values:[_e(e,t)]}}}function ye(e,t){const n=t.stacktrace||t.stack||"",r=Ar(t),s=Hr(t);try{return e(n,r,s)}catch{}return[]}const xr=/Minified React error #\d+;/i;function Ar(e){return e&&xr.test(e.message)?1:0}function Hr(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function At(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function $r(e){const t=e?.name;return!t&&At(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function Br(e){const t=e?.message;return At(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function Ur(e,t,n,r){const s=n?.syntheticException||void 0,o=Ee(e,t,s,r);return R(o),o.level="error",n?.event_id&&(o.event_id=n.event_id),pe(o)}function jr(e,t,n="info",r,s){const o=r?.syntheticException||void 0,i=ue(e,t,o,s);return i.level=n,r?.event_id&&(i.event_id=r.event_id),pe(i)}function Ee(e,t,n,r,s){let o;if(_t(t)&&t.error)return Q(e,t.error);if(Le(t)||sn(t)){const i=t;if("stack"in t)o=Q(e,t);else{const a=i.name||(Le(i)?"DOMError":"DOMException"),c=i.message?`${a}: ${i.message}`:a;o=ue(e,c,n,r),ne(o,c)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":`${i.code}`}),o}return ht(t)?Q(e,t):ee(t)||he(t)?(o=Pr(e,t,n,s),R(o,{synthetic:!0}),o):(o=ue(e,t,n,r),ne(o,`${t}`),R(o,{synthetic:!0}),o)}function ue(e,t,n,r){const s={};if(r&&n){const o=ye(e,n);o.length&&(s.exception={values:[{value:t,stacktrace:{frames:o}}]}),R(s,{synthetic:!0})}if(lt(t)){const{__sentry_template_string__:o,__sentry_template_values__:i}=t;return s.logentry={message:o,params:i},s}return s.message=t,s}function qr(e,{isUnhandledRejection:t}){const n=an(e),r=t?"promise rejection":"exception";return _t(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:he(e)?`Event \`${Wr(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function Wr(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function Gr(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}class Xr extends Zn{constructor(t){const n=zr(t),r=y.SENTRY_SDK_SOURCE||Mr();fr(n,"browser",["browser"],r),n._metadata?.sdk&&(n._metadata.sdk.settings={infer_ip:n.sendDefaultPii?"auto":"never",...n._metadata.sdk.settings}),super(n);const{sendDefaultPii:s,sendClientReports:o,enableLogs:i,_experiments:a,enableMetrics:c}=this._options,u=c??a?.enableMetrics??!0;y.document&&(o||i||u)&&y.document.addEventListener("visibilitychange",()=>{y.document.visibilityState==="hidden"&&(o&&this._flushOutcomes(),i&&vt(this),u&&St(this))}),s&&this.on("beforeSendSession",ur)}eventFromException(t,n){return Ur(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return jr(this._options.stackParser,t,n,r,this._options.attachStacktrace)}_prepareEvent(t,n,r,s){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r,s)}}function zr(e){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:y.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const v=g,Yr=1e3;let Qe,fe,le;function Kr(e){I("dom",e),w("dom",Vr)}function Vr(){if(!v.document)return;const e=b.bind(null,"dom"),t=et(e,!0);v.document.addEventListener("click",t,!1),v.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const s=v[n]?.prototype;s?.hasOwnProperty?.("addEventListener")&&(E(s,"addEventListener",function(o){return function(i,a,c){if(i==="click"||i=="keypress")try{const u=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},f=u[i]=u[i]||{refCount:0};if(!f.handler){const l=et(e);f.handler=l,o.call(this,i,l,c)}f.refCount++}catch{}return o.call(this,i,a,c)}}),E(s,"removeEventListener",function(o){return function(i,a,c){if(i==="click"||i=="keypress")try{const u=this.__sentry_instrumentation_handlers__||{},f=u[i];f&&(f.refCount--,f.refCount<=0&&(o.call(this,i,f.handler,c),f.handler=void 0,delete u[i]),Object.keys(u).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return o.call(this,i,a,c)}}))})}function Jr(e){if(e.type!==fe)return!1;try{if(!e.target||e.target._sentryId!==le)return!1}catch{}return!0}function Zr(e,t){return e!=="keypress"?!1:t?.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function et(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=Qr(n);if(Zr(n.type,r))return;W(n,"_sentryCaptured",!0),r&&!r._sentryId&&W(r,"_sentryId",B());const s=n.type==="keypress"?"input":n.type;Jr(n)||(e({event:n,name:s,global:t}),fe=n.type,le=r?r._sentryId:void 0),clearTimeout(Qe),Qe=v.setTimeout(()=>{le=void 0,fe=void 0},Yr)}}function Qr(e){try{return e.target}catch{return null}}let H;function es(e){const t="history";I(t,e),w(t,ts)}function ts(){if(v.addEventListener("popstate",()=>{const t=v.location.href,n=H;if(H=t,n===t)return;b("history",{from:n,to:t})}),!wr())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const s=H,o=ns(String(r));if(H=o,s===o)return t.apply(this,n);b("history",{from:s,to:o})}return t.apply(this,n)}}E(v.history,"pushState",e),E(v.history,"replaceState",e)}function ns(e){try{return new URL(e,v.location.origin).toString()}catch{return e}}const O="__sentry_xhr_v3__";function Ht(e){I("xhr",e),w("xhr",rs)}function rs(){if(!v.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const s=new Error,o=N()*1e3,i=D(r[0])?r[0].toUpperCase():void 0,a=ss(r[1]);if(!i||!a)return t.apply(n,r);n[O]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const u=n[O];if(u&&n.readyState===4){try{u.status_code=n.status}catch{}const f={endTimestamp:N()*1e3,startTimestamp:o,xhr:n,virtualError:s};b("xhr",f)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,f,l){return c(),u.apply(f,l)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,f,l){const[h,d]=l,S=f[O];return S&&D(h)&&D(d)&&(S.request_headers[h.toLowerCase()]=d),u.apply(f,l)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const s=n[O];if(!s)return t.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const o={startTimestamp:N()*1e3,xhr:n};return b("xhr",o),t.apply(n,r)}})}function ss(e){if(D(e))return e;try{return e.toString()}catch{}}const ve=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,os=30,is=50;function de(e,t,n,r){const s={filename:e,function:t===""?L:t,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const as=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,cs=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,us=/\((\S*)(?::(\d+))(?::(\d+))\)/,fs=/at (.+?) ?\(data:(.+?),/,ls=e=>{const t=e.match(fs);if(t)return{filename:``,function:t[1]};const n=as.exec(e);if(n){const[,s,o,i]=n;return de(s,L,+o,+i)}const r=cs.exec(e);if(r){if(r[2]&&r[2].indexOf("eval")===0){const a=us.exec(r[2]);a&&(r[2]=a[1],r[3]=a[2],r[4]=a[3])}const[o,i]=$t(r[1]||L,r[2]);return de(i,o,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},ds=[os,ls],ps=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ms=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,hs=e=>{const t=ps.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const o=ms.exec(t[3]);o&&(t[1]=t[1]||"eval",t[3]=o[1],t[4]=o[2],t[5]="")}let r=t[3],s=t[1]||L;return[s,r]=$t(s,r),de(r,s,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},gs=[is,hs],_s=[ds,gs],ys=cn(..._s),$t=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:L,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},$=1024,Es="Breadcrumbs",vs=((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Es,setup(n){t.console&&Lt(Rs(n)),t.dom&&Kr(Ts(n,t.dom)),t.xhr&&Ht(ks(n)),t.fetch&&Pt(Is(n)),t.history&&es(ws(n)),t.sentry&&n.on("beforeSendEvent",Ss(n))}}}),bs=vs;function Ss(e){return function(n){_()===e&&k({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:un(n)},{event:n})}}function Ts(e,t){return function(r){if(_()!==e)return;let s,o,i=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>$&&(ve&&p.warn(`\`dom.maxStringLength\` cannot exceed ${$}, but a value of ${a} was configured. Sentry will use ${$} instead.`),a=$),typeof i=="string"&&(i=[i]);try{const u=r.event,f=Os(u)?u.target:u;s=fn(f,{keyAttrs:i,maxStringLength:a}),o=ln(f)}catch{s=""}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};o&&(c.data={"ui.component_name":o}),k(c,{event:r.event,name:r.name,global:r.global})}}function Rs(e){return function(n){if(_()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:ie(n.level),message:q(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${q(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;k(r,{input:n.args,level:n.level})}}function ks(e){return function(n){if(_()!==e)return;const{startTimestamp:r,endTimestamp:s}=n,o=n.xhr[O];if(!r||!s||!o)return;const{method:i,url:a,status_code:c,body:u}=o,f={method:i,url:a,status_code:c},l={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:s},h={category:"xhr",data:f,type:"http",level:Dt(c)};e.emit("beforeOutgoingRequestBreadcrumb",h,l),k(h,l)}}function Is(e){return function(n){if(_()!==e)return;const{startTimestamp:r,endTimestamp:s}=n;if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.fetchData.method,n.fetchData.url,n.error){const o=n.fetchData,i={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s},a={category:"fetch",data:o,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,i),k(a,i)}else{const o=n.response,i={...n.fetchData,status_code:o?.status};n.fetchData.request_body_size,n.fetchData.response_body_size,o?.status;const a={input:n.args,response:o,startTimestamp:r,endTimestamp:s},c={category:"fetch",data:i,type:"http",level:Dt(i.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",c,a),k(c,a)}}}function ws(e){return function(n){if(_()!==e)return;let r=n.from,s=n.to;const o=Z(y.location.href);let i=r?Z(r):void 0;const a=Z(s);i?.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(s=a.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),k({category:"navigation",data:{from:r,to:s}})}}function Os(e){return!!e&&!!e.target}const Ns=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Ls="BrowserApiErrors",Cs=((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:Ls,setupOnce(){t.setTimeout&&E(y,"setTimeout",tt),t.setInterval&&E(y,"setInterval",tt),t.requestAnimationFrame&&E(y,"requestAnimationFrame",Ds),t.XMLHttpRequest&&"XMLHttpRequest"in y&&E(XMLHttpRequest.prototype,"send",Fs);const n=t.eventTarget;n&&(Array.isArray(n)?n:Ns).forEach(s=>Ps(s,t))}}}),Ms=Cs;function tt(e){return function(...t){const n=t[0];return t[0]=C(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${T(e)}`}}),e.apply(this,t)}}function Ds(e){return function(t){return e.apply(this,[C(t,{mechanism:{data:{handler:T(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function Fs(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(s=>{s in n&&typeof n[s]=="function"&&E(n,s,function(o){const i={mechanism:{data:{handler:T(o)},handled:!1,type:`auto.browser.browserapierrors.xhr.${s}`}},a=me(o);return a&&(i.mechanism.data.handler=T(a)),C(o,i)})}),e.apply(this,t)}}function Ps(e,t){const r=y[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(E(r,"addEventListener",function(s){return function(o,i,a){try{xs(i)&&(i.handleEvent=C(i.handleEvent,{mechanism:{data:{handler:T(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&As(this,o,i),s.apply(this,[o,C(i,{mechanism:{data:{handler:T(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),E(r,"removeEventListener",function(s){return function(o,i,a){try{const c=i.__sentry_wrapped__;c&&s.call(this,o,c,a)}catch{}return s.call(this,o,i,a)}}))}function xs(e){return typeof e.handleEvent=="function"}function As(e,t,n){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,n)}const Hs="GlobalHandlers",$s=((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:Hs,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(Us(n),nt("onerror")),t.onunhandledrejection&&(js(n),nt("onunhandledrejection"))}}}),Bs=$s;function Us(e){pn(t=>{const{stackParser:n,attachStacktrace:r}=Bt();if(_()!==e||xt())return;const{msg:s,url:o,line:i,column:a,error:c}=t,u=Gs(Ee(n,c||s,void 0,r,!1),o,i,a);u.level="error",X(u,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function js(e){hn(t=>{const{stackParser:n,attachStacktrace:r}=Bt();if(_()!==e||xt())return;const s=qs(t),o=G(s)?Ws(s):Ee(n,s,void 0,r,!0);o.level="error",X(o,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function qs(e){if(G(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function Ws(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Gs(e,t,n,r){const s=e.exception=e.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],u=r,f=n,l=Xs(t)??gt();return c.length===0&&c.push({colno:u,filename:l,function:L,in_app:!0,lineno:f}),e}function nt(e){ve&&p.log(`Global Handler attached: ${e}`)}function Bt(){return _()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function Xs(e){if(!(!D(e)||e.length===0)){if(e.startsWith("data:")){const t=e.match(/^data:([^;]+)/),n=t?t[1]:"text/javascript",r=e.includes("base64,");return``}return e}}const zs=()=>({name:"HttpContext",preprocessEvent(e){if(!y.navigator&&!y.location&&!y.document)return;const t=Fr(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}),Ys="cause",Ks=5,Vs="LinkedErrors",Js=((e={})=>{const t=e.limit||Ks,n=e.key||Ys;return{name:Vs,preprocessEvent(r,s,o){const i=o.getOptions();hr(_e,i.stackParser,n,t,r,s)}}}),Zs=Js,Qs="HttpClient",eo=((e={})=>{const t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:Qs,setup(n){uo(n,t),fo(n,t)}}}),to=eo;function no(e,t,n,r,s){if(jt(e,n.status,n.url)){const o=lo(t,r);let i,a,c,u;Wt()&&([i,c]=rt("Cookie",o),[a,u]=rt("Set-Cookie",n));const f=qt({url:o.url,method:o.method,status:n.status,requestHeaders:i,responseHeaders:a,requestCookies:c,responseCookies:u,error:s,type:"fetch"});X(f)}}function rt(e,t){const n=oo(t.headers);let r;try{const s=n[e]||n[e.toLowerCase()]||void 0;s&&(r=Ut(s))}catch{}return[n,r]}function ro(e,t,n,r,s){if(jt(e,t.status,t.responseURL)){let o,i,a;if(Wt()){try{const u=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;u&&(i=Ut(u))}catch{}try{a=io(t)}catch{}o=r}const c=qt({url:t.responseURL,method:n,status:t.status,requestHeaders:o,responseHeaders:a,responseCookies:i,error:s,type:"xhr"});X(c)}}function so(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function Ut(e){return e.split("; ").reduce((t,n)=>{const[r,s]=n.split("=");return r&&s&&(t[r]=s),t},{})}function oo(e){const t={};return e.forEach((n,r)=>{t[r]=n}),t}function io(e){const t=e.getAllResponseHeaders();return t?t.split(`\r -`).reduce((n,r)=>{const[s,o]=r.split(": ");return s&&o&&(n[s]=o),n},{}):{}}function ao(e,t){return e.some(n=>typeof n=="string"?t.includes(n):n.test(t))}function co(e,t){return e.some(n=>typeof n=="number"?n===t:t>=n[0]&&t<=n[1])}function uo(e,t){Ft()&&Pt(n=>{if(_()!==e)return;const{response:r,args:s,error:o,virtualError:i}=n,[a,c]=s;r&&no(t,a,r,c,o||i)},!1)}function fo(e,t){"XMLHttpRequest"in g&&Ht(n=>{if(_()!==e)return;const{error:r,virtualError:s}=n,o=n.xhr,i=o[O];if(!i)return;const{method:a,request_headers:c}=i;try{ro(t,o,a,c,r||s)}catch(u){ve&&p.warn("Error while extracting response event form XHR response",u)}})}function jt(e,t,n){return co(e.failedRequestStatusCodes,t)&&ao(e.failedRequestTargets,n)&&!ir(n,_())}function qt(e){const t=_(),n=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,r=n&&t?t.getOptions().stackParser(n,0,1):void 0,s=`HTTP Client Error with status code: ${e.status}`,o={message:s,exception:{values:[{type:"Error",value:s,stacktrace:r?{frames:r}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:so(e.responseHeaders)}}};return R(o,{type:`auto.http.client.${e.type}`,handled:!1}),o}function lo(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:new Request(e,t)}function Wt(){const e=_();return e?!!e.getOptions().sendDefaultPii:!1}const po=e=>Xn(e,async n=>{const r={body:n.body,headers:e.headers??{},method:"POST",mode:"no-cors",referrerPolicy:"no-referrer",...e.fetchOptions};return dn(await fetch(e.url,r),s=>({headers:{[Te]:s.headers.get(Te),[Se]:s.headers.get(Se)},statusCode:s.status}))}),Gt=new Xr({dsn:"https://14362801769747a4b7c1e04eb0c7a3cc@collie.haikuatelier.com/1",environment:"production",integrations:[bs(),Ms(),Er({levels:["warn","error"]}),Tr(),mr(),Bs(),to({failedRequestStatusCodes:[[400,599]]}),zs(),Zs()],sendDefaultPii:!0,stackParser:ys,tracesSampleRate:1,transport:po});ut().setClient(Gt);Gt.init();export{mo as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.br b/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.br deleted file mode 100644 index 4f154ee6..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.gz deleted file mode 100644 index 6db958af..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.zst deleted file mode 100644 index 3bc92147..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gaffe.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js b/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js deleted file mode 100644 index 6f5e1ad6..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js"],function(n,t){"use strict";var r,e,u,c,i,o,f,s,l;return{setters:[n=>{r=n.aZ,e=n.a_,u=n.aX,c=n.a$,i=n.aV,o=n.b0,f=n.b1,s=n.b2,l=n.b3}],execute:function(){function t(n,t){return n[t]}n({g:g,m:E});var a=c;function g(){if(1===arguments.length){const n=arguments;return function(t){return a(t,n[0])}}return a(arguments[0],arguments[1])}function h(n,t){return n[t]}var y,b=n("a",e);function m(n,t){return Object.assign({},n,t)}function p(){if(1===arguments.length){const n=arguments;return function(t){return m(t,n[0])}}return m(arguments[0],arguments[1])}function j(n,t,r){var e=p({},n);return e[t]=r,e}function v(){if(2===arguments.length){const n=arguments;return function(t){return j(t,n[0],n[1])}}return j(arguments[0],arguments[1],arguments[2])}function d(n,t,r){return v(n,t,r(c(n,t)))}function k(n,t,r){return v(n,t,r(n[t]))}function O(n,t){var r=p({},n);return l(r,t),r}function K(n,t){var r=p({},n);return s(t,function(n){l(r,n)}),r}function _(n,t){return r(f(Object.keys(n),function(r){return[r,t(n[r])]}))}function E(){if(1===arguments.length){const n=arguments;return function(t){return _(t,n[0])}}return _(arguments[0],arguments[1])}function W(n,t){return r(f(Object.keys(n),function(r){return[r,t(r,n[r])]}))}function P(n,t){return r(i(Object.keys(n),[],function(r,e){var u=n[e];return t(u)?o(r,[e,u]):r}))}function S(){if(1===arguments.length){const n=arguments;return function(t){return P(t,n[0])}}return P(arguments[0],arguments[1])}function U(n,t){return r(i(Object.keys(n),[],function(r,e){var u=n[e];return t(e,u)?o(r,[e,u]):r}))}function x(){if(1===arguments.length){const n=arguments;return function(t){return U(t,n[0])}}return U(arguments[0],arguments[1])}function H(n,t){return S(n,function(n){return!t(n)})}function L(n,t){return x(n,function(n,r){return!t(n,r)})}function M(n,t){return x(n,function(n,r){return function(n,t){return t.includes(n)}(n,t)})}n("y",{__proto__:null,placeholder:function(n){},makeEmpty:function(n){return{}},getUnsafe:function(){if(1===arguments.length){const n=arguments;return function(r){return t(r,n[0])}}return t(arguments[0],arguments[1])},get:g,prop:function(){if(1===arguments.length){const n=arguments;return function(t){return h(t,n[0])}}return h(arguments[0],arguments[1])},toPairs:function(n){return Object.entries(n)},values:b,keys:function(n){return Object.keys(n)},fromPairs:r,merge:p,set:v,update:function(){if(2===arguments.length){const n=arguments;return function(t){return d(t,n[0],n[1])}}return d(arguments[0],arguments[1],arguments[2])},updateUnsafe:function(){if(2===arguments.length){const n=arguments;return function(t){return k(t,n[0],n[1])}}return k(arguments[0],arguments[1],arguments[2])},deleteKey:function(){if(1===arguments.length){const n=arguments;return function(t){return O(t,n[0])}}return O(arguments[0],arguments[1])},deleteKeys:function(){if(1===arguments.length){const n=arguments;return function(t){return K(t,n[0])}}return K(arguments[0],arguments[1])},map:E,mapWithKey:function(){if(1===arguments.length){const n=arguments;return function(t){return W(t,n[0])}}return W(arguments[0],arguments[1])},filter:S,filterWithKey:x,reject:function(){if(1===arguments.length){const n=arguments;return function(t){return H(t,n[0])}}return H(arguments[0],arguments[1])},rejectWithKey:function(){if(1===arguments.length){const n=arguments;return function(t){return L(t,n[0])}}return L(arguments[0],arguments[1])},selectKeys:function(){if(1===arguments.length){const n=arguments;return function(t){return M(t,n[0])}}return M(arguments[0],arguments[1])},isEmpty:function(n){return u(n,{})},isNotEmpty:function(n){return!u(n,{})}}),n("b",(y=HTMLSelectElement,n=>n instanceof y)),n("e",n=>500===n.status)}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.br b/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.br deleted file mode 100644 index 14dcf2b0..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.gz deleted file mode 100644 index 1663e87f..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.zst deleted file mode 100644 index 6217d564..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gardes-legacy.KKtp3xCq.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js b/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js deleted file mode 100644 index cb79d767..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js +++ /dev/null @@ -1 +0,0 @@ -import{aZ as s,a_ as $,aX as O,a$ as U,aV as W,b0 as H,b1 as L,b2 as q,b3 as M}from"./dom.BBcFv3WT.js";function x(n){}function A(n){return{}}function i(n,e){return n[e]}function D(){if(arguments.length===1){const n=arguments;return function(t){return i(t,n[0])}}return i(arguments[0],arguments[1])}var o=U;function N(){if(arguments.length===1){const n=arguments;return function(t){return o(t,n[0])}}return o(arguments[0],arguments[1])}function g(n,e){return n[e]}function R(){if(arguments.length===1){const n=arguments;return function(t){return g(t,n[0])}}return g(arguments[0],arguments[1])}function V(n){return Object.entries(n)}var X=$;function Z(n){return Object.keys(n)}var w=s;function m(n,e){return Object.assign({},n,e)}function a(){if(arguments.length===1){const n=arguments;return function(t){return m(t,n[0])}}return m(arguments[0],arguments[1])}function l(n,e,t){var r=a({},n);return r[e]=t,r}function f(){if(arguments.length===2){const n=arguments;return function(t){return l(t,n[0],n[1])}}return l(arguments[0],arguments[1],arguments[2])}function h(n,e,t){return f(n,e,t(U(n,e)))}function z(){if(arguments.length===2){const n=arguments;return function(t){return h(t,n[0],n[1])}}return h(arguments[0],arguments[1],arguments[2])}function y(n,e,t){return f(n,e,t(n[e]))}function B(){if(arguments.length===2){const n=arguments;return function(t){return y(t,n[0],n[1])}}return y(arguments[0],arguments[1],arguments[2])}function p(n,e){var t=a({},n);return M(t,e),t}function C(){if(arguments.length===1){const n=arguments;return function(t){return p(t,n[0])}}return p(arguments[0],arguments[1])}function _(n,e){var t=a({},n);return q(e,(function(r){M(t,r)})),t}function F(){if(arguments.length===1){const n=arguments;return function(t){return _(t,n[0])}}return _(arguments[0],arguments[1])}function d(n,e){return s(L(Object.keys(n),(function(t){return[t,e(n[t])]})))}function G(){if(arguments.length===1){const n=arguments;return function(t){return d(t,n[0])}}return d(arguments[0],arguments[1])}function K(n,e){return s(L(Object.keys(n),(function(t){return[t,e(t,n[t])]})))}function I(){if(arguments.length===1){const n=arguments;return function(t){return K(t,n[0])}}return K(arguments[0],arguments[1])}function b(n,e){return s(W(Object.keys(n),[],(function(t,r){var u=n[r];return e(u)?H(t,[r,u]):t})))}function P(){if(arguments.length===1){const n=arguments;return function(t){return b(t,n[0])}}return b(arguments[0],arguments[1])}function j(n,e){return s(W(Object.keys(n),[],(function(t,r){var u=n[r];return e(r,u)?H(t,[r,u]):t})))}function c(){if(arguments.length===1){const n=arguments;return function(t){return j(t,n[0])}}return j(arguments[0],arguments[1])}function v(n,e){return P(n,(function(t){return!e(t)}))}function J(){if(arguments.length===1){const n=arguments;return function(t){return v(t,n[0])}}return v(arguments[0],arguments[1])}function k(n,e){return c(n,(function(t,r){return!e(t,r)}))}function Q(){if(arguments.length===1){const n=arguments;return function(t){return k(t,n[0])}}return k(arguments[0],arguments[1])}function E(n,e){return c(n,(function(t,r){return(function(S,T){return T.includes(S)})(t,e)}))}function Y(){if(arguments.length===1){const n=arguments;return function(t){return E(t,n[0])}}return E(arguments[0],arguments[1])}function nn(n){return O(n,{})}function tn(n){return!O(n,{})}var un={__proto__:null,placeholder:x,makeEmpty:A,getUnsafe:D,get:N,prop:R,toPairs:V,values:X,keys:Z,fromPairs:w,merge:a,set:f,update:z,updateUnsafe:B,deleteKey:C,deleteKeys:F,map:G,mapWithKey:I,filter:P,filterWithKey:c,reject:J,rejectWithKey:Q,selectKeys:Y,isEmpty:nn,isNotEmpty:tn};const en=n=>e=>e instanceof n,sn=en(HTMLSelectElement),an=n=>n.status===500;export{X as a,sn as b,an as e,N as g,G as m,un as y}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.br b/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.br deleted file mode 100644 index 166e8359..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.gz deleted file mode 100644 index 2e9ac5a1..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.zst deleted file mode 100644 index b73af5b2..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/gardes.-KvoYkXU.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js deleted file mode 100644 index 9a6132a7..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js"],function(n,t){"use strict";var r,u,e,o,i,f;return{setters:[n=>{r=n.aT,u=n.aU,e=n.aV,o=n.aW,i=n.aX,f=n.aY}],execute:function(){function t(n,t,r){for(var u=new Array(r),e=0,o=t;e=0)return function(n,t){return function(r){return c(n,t.concat([r]))}}(e,u);r=t(u,i,0|-f),n=e.apply(null,t(u,0,i))}}function l(n,t){var r=n.length;if(1===r)return n(t);switch(r){case 1:return n(t);case 2:return function(r){return n(t,r)};case 3:return function(r,u){return n(t,r,u)};case 4:return function(r,u,e){return n(t,r,u,e)};case 5:return function(r,u,e,o){return n(t,r,u,e,o)};case 6:return function(r,u,e,o,i){return n(t,r,u,e,o,i)};case 7:return function(r,u,e,o,i,f){return n(t,r,u,e,o,i,f)};default:return c(n,[t])}}n("t",A);var a={contents:0};function s(n,t,u){return void 0!==n?u(r(n)):t}function v(n,t){if(void 0!==n)return t(r(n))}function d(n,t){return v(n,function(n){return 1===n.length?n:function(t){return l(n,t)}}(t))}function h(n,t){return void 0!==n?r(n):t}var g,m=(g="Promise.JsError",a.contents=a.contents+1|0,g+"/"+a.contents);function p(n,t){return n.catch(function(n){return l(t,function(n){return null!=n&&"string"==typeof n.RE_EXN_ID}(n)?n:{RE_EXN_ID:m,_1:n})})}function _(n,t){return d(null==n?void 0:u(n),function(n){if(t(n))return u(n)})}var E=function(n,t){if(void 0!==n)return u(t(r(n)))},N=v,y=s;function D(n,t){if(void 0!==n)return o(t(r(n)))}function P(n,t){return v(n,function(n){if(t(n))return u(n)})}var w=h,R=function(n){if(void 0!==n)return r(n);throw{RE_EXN_ID:"Not_found",Error:new Error}};function S(n,t){return void 0!==n?{TAG:0,_0:r(n)}:{TAG:1,_0:t}}function W(n,t,u){return void 0!==n?t(r(n)):u(void 0)}var X=function(n){return void 0===n},b=function(n){return void 0!==n};function x(n,t){return void 0!==n?(t(r(n)),n):n}function A(){if(1===arguments.length){const n=arguments;return function(t){return x(t,n[0])}}return x(arguments[0],arguments[1])}function I(n,t){return s(n,!1,function(n){return i(n,t)})}function T(n,t){if(void 0!==n&&void 0!==t)return[r(n),r(t)]}function k(n,t,e){if(void 0!==n&&void 0!==t)return u(e(r(n),r(t)))}function z(n,t,u){return void 0!==n?t(r(n)):u(void 0)}n("P",{__proto__:null,Some:n=>n,None:void 0,placeholder:function(n){},makeSome:function(n){return u(n)},makeNone:function(n){},fromNullable:function(n){return null==n?void 0:u(n)},fromFalsy:function(n){if(n)return n},fromPredicate:function(){if(1===arguments.length){const n=arguments;return function(t){return _(t,n[0])}}return _(arguments[0],arguments[1])},fromExecution:function(n){try{return u(n(void 0))}catch(n){return}},fromPromise:function(n){return p(n.then(function(n){return u(n)}),function(n){return Promise.resolve(void 0)})},map:function(){if(1===arguments.length){const n=arguments;return function(t){return E(t,n[0])}}return E(arguments[0],arguments[1])},flatMap:function(){if(1===arguments.length){const n=arguments;return function(t){return N(t,n[0])}}return N(arguments[0],arguments[1])},mapWithDefault:function(){if(2===arguments.length){const n=arguments;return function(t){return y(t,n[0],n[1])}}return y(arguments[0],arguments[1],arguments[2])},mapNullable:function(){if(1===arguments.length){const n=arguments;return function(t){return D(t,n[0])}}return D(arguments[0],arguments[1])},filter:function(){if(1===arguments.length){const n=arguments;return function(t){return P(t,n[0])}}return P(arguments[0],arguments[1])},getWithDefault:function(){if(1===arguments.length){const n=arguments;return function(t){return w(t,n[0])}}return w(arguments[0],arguments[1])},getExn:R,toNullable:function(n){return h(n,null)},toUndefined:function(n){return h(n,void 0)},toResult:function(){if(1===arguments.length){const n=arguments;return function(t){return S(t,n[0])}}return S(arguments[0],arguments[1])},match:function(){if(2===arguments.length){const n=arguments;return function(t){return W(t,n[0],n[1])}}return W(arguments[0],arguments[1],arguments[2])},isNone:X,isSome:b,tap:A,contains:function(){if(1===arguments.length){const n=arguments;return function(t){return I(t,n[0])}}return I(arguments[0],arguments[1])},zip:function(){if(1===arguments.length){const n=arguments;return function(t){return T(t,n[0])}}return T(arguments[0],arguments[1])},zipWith:function(){if(2===arguments.length){const n=arguments;return function(t){return k(t,n[0],n[1])}}return k(arguments[0],arguments[1],arguments[2])},fold:function(){if(2===arguments.length){const n=arguments;return function(t){return z(t,n[0],n[1])}}return z(arguments[0],arguments[1],arguments[2])},all:function(n){return e(n,[],function(n,t){return v(n,function(n){if(void 0!==t)return f(n,[r(t)])})})}})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.br b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.br deleted file mode 100644 index 25e58b9d..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.gz deleted file mode 100644 index 221e0932..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.zst deleted file mode 100644 index 2f9e3638..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86-legacy.C-8fWPTk.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js deleted file mode 100644 index 70fa3b12..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js +++ /dev/null @@ -1 +0,0 @@ -import{aT as o,aU as a,aV as $,aW as A,aX as I,aY as M}from"./dom.BBcFv3WT.js";function v(n,t,r){for(var e=new Array(r),u=0,i=t;u=0)return(function(c,m){return function(X){return z(c,m.concat([X]))}})(e,r);t=v(r,i,0|-f),n=e.apply(null,v(r,0,i))}}function R(n,t){var r=n.length;if(r===1)return n(t);switch(r){case 1:return n(t);case 2:return function(e){return n(t,e)};case 3:return function(e,u){return n(t,e,u)};case 4:return function(e,u,i){return n(t,e,u,i)};case 5:return function(e,u,i,f){return n(t,e,u,i,f)};case 6:return function(e,u,i,f,c){return n(t,e,u,i,f,c)};case 7:return function(e,u,i,f,c,m){return n(t,e,u,i,f,c,m)};default:return z(n,[t])}}function T(n){return n.length===1?n:function(t){return R(n,t)}}var l={contents:0};function k(n){return l.contents=l.contents+1|0,n+"/"+l.contents}function F(n){return n==null?!1:typeof n.RE_EXN_ID=="string"}function G(n){if(n!==void 0)return o(n);throw{RE_EXN_ID:"Not_found",Error:new Error}}function S(n,t,r){return n!==void 0?r(o(n)):t}function q(n,t){if(n!==void 0)return a(t(o(n)))}function s(n,t){if(n!==void 0)return t(o(n))}function J(n,t){return s(n,T(t))}function g(n,t){return n!==void 0?o(n):t}function O(n){return n!==void 0}function V(n){return n===void 0}var Y=k("Promise.JsError");function j(n,t){return n.catch((function(r){return R(t,F(r)?r:{RE_EXN_ID:Y,_1:r})}))}function B(n){}function C(n){return a(n)}function H(n){}function K(n){if(n!=null)return a(n)}function L(n){if(n)return n}function h(n,t){return J(n==null?void 0:a(n),(function(r){if(t(r))return a(r)}))}function Q(){if(arguments.length===1){const n=arguments;return function(r){return h(r,n[0])}}return h(arguments[0],arguments[1])}function Z(n){try{return a(n(void 0))}catch{return}}function nn(n){return j(n.then((function(t){return a(t)})),(function(t){return Promise.resolve(void 0)}))}var d=q;function tn(){if(arguments.length===1){const n=arguments;return function(r){return d(r,n[0])}}return d(arguments[0],arguments[1])}var _=s;function rn(){if(arguments.length===1){const n=arguments;return function(r){return _(r,n[0])}}return _(arguments[0],arguments[1])}var p=S;function en(){if(arguments.length===2){const n=arguments;return function(r){return p(r,n[0],n[1])}}return p(arguments[0],arguments[1],arguments[2])}function N(n,t){if(n!==void 0)return A(t(o(n)))}function un(){if(arguments.length===1){const n=arguments;return function(r){return N(r,n[0])}}return N(arguments[0],arguments[1])}function E(n,t){return s(n,(function(r){if(t(r))return a(r)}))}function on(){if(arguments.length===1){const n=arguments;return function(r){return E(r,n[0])}}return E(arguments[0],arguments[1])}var b=g;function fn(){if(arguments.length===1){const n=arguments;return function(r){return b(r,n[0])}}return b(arguments[0],arguments[1])}var an=G;function cn(n){return g(n,null)}function sn(n){return g(n,void 0)}function D(n,t){return n!==void 0?{TAG:0,_0:o(n)}:{TAG:1,_0:t}}function mn(){if(arguments.length===1){const n=arguments;return function(r){return D(r,n[0])}}return D(arguments[0],arguments[1])}function W(n,t,r){return n!==void 0?t(o(n)):r(void 0)}function ln(){if(arguments.length===2){const n=arguments;return function(r){return W(r,n[0],n[1])}}return W(arguments[0],arguments[1],arguments[2])}var gn=V,vn=O;function w(n,t){return n!==void 0&&t(o(n)),n}function hn(){if(arguments.length===1){const n=arguments;return function(r){return w(r,n[0])}}return w(arguments[0],arguments[1])}function y(n,t){return S(n,!1,(function(r){return I(r,t)}))}function dn(){if(arguments.length===1){const n=arguments;return function(r){return y(r,n[0])}}return y(arguments[0],arguments[1])}function P(n,t){if(n!==void 0&&t!==void 0)return[o(n),o(t)]}function _n(){if(arguments.length===1){const n=arguments;return function(r){return P(r,n[0])}}return P(arguments[0],arguments[1])}function U(n,t,r){if(n!==void 0&&t!==void 0)return a(r(o(n),o(t)))}function pn(){if(arguments.length===2){const n=arguments;return function(r){return U(r,n[0],n[1])}}return U(arguments[0],arguments[1],arguments[2])}function x(n,t,r){return n!==void 0?t(o(n)):r(void 0)}function Nn(){if(arguments.length===2){const n=arguments;return function(r){return x(r,n[0],n[1])}}return x(arguments[0],arguments[1],arguments[2])}function En(n){return $(n,[],(function(t,r){return s(t,(function(e){if(r!==void 0)return M(e,[o(r)])}))}))}const bn=n=>n;var Wn={__proto__:null,Some:bn,None:void 0,placeholder:B,makeSome:C,makeNone:H,fromNullable:K,fromFalsy:L,fromPredicate:Q,fromExecution:Z,fromPromise:nn,map:tn,flatMap:rn,mapWithDefault:en,mapNullable:un,filter:on,getWithDefault:fn,getExn:an,toNullable:cn,toUndefined:sn,toResult:mn,match:ln,isNone:gn,isSome:vn,tap:hn,contains:dn,zip:_n,zipWith:pn,fold:Nn,all:En};export{Wn as P,hn as t}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.br b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.br deleted file mode 100644 index a442cf9d..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.br +++ /dev/null @@ -1,10 +0,0 @@ - ¶19Ȃ<$Wj_Ej8Jm#10|^ Ԓ5.+k^U*w \G:Y͔(3i=3}b">ʇ,3b ^фb( wx2e?+K) ,.UItG,{Q,XXy3˅BrA, U- -GSB&.M8#HM -c{`[Y8>g!0 -Y2rXB|l)Sx$j5C(5w)xSh`A78atqeVơn߾#2׌w@NĹw0X -߯\BcU_hX ~hќL=r)I:!gTP[*g/'N.y:gM,&OT\ -|<GPϮL:qM> >wZ&~!o5By-gq0d?ZȠ?thh>$Y~Uצ:%7M -a4c lX(35DS3; sh ?""Pg6(OŲg0.'z+N^!*Ui \ No newline at end of file diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.gz deleted file mode 100644 index 8504d474..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.zst deleted file mode 100644 index 2b8e62c2..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-c1cc4c86.DUxuguYh.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js b/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js deleted file mode 100644 index 658e776d..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js +++ /dev/null @@ -1 +0,0 @@ -System.register([],function(t,e){"use strict";return{execute:function(){t("M",function(t){return new L(t,M)});const e=Symbol.for("@ts-pattern/matcher"),n=Symbol.for("@ts-pattern/isVariadic"),r="@ts-pattern/anonymous-select-key",i=t=>Boolean(t&&"object"==typeof t),o=t=>t&&!!t[e],s=(t,r,c)=>{if(o(t)){const n=t[e](),{matched:i,selections:o}=n.match(r);return i&&o&&Object.keys(o).forEach(t=>c(t,o[t])),i}if(i(t)){if(!i(r))return!1;if(Array.isArray(t)){if(!Array.isArray(r))return!1;let e=[],i=[],u=[];for(const r of t.keys()){const s=t[r];o(s)&&s[n]?u.push(s):u.length?i.push(s):e.push(s)}if(u.length){if(u.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(r.lengths(e,t[n],c))&&i.every((t,e)=>s(t,n[e],c))&&(0===u.length||s(u[0],o,c))}return t.length===r.length&&t.every((t,e)=>s(t,r[e],c))}return Reflect.ownKeys(t).every(n=>{const i=t[n];return(n in r||o(u=i)&&"optional"===u[e]().matcherType)&&s(i,r[n],c);var u})}return Object.is(r,t)},c=t=>{var n,r,s;return i(t)?o(t)?null!=(n=null==(r=(s=t[e]()).getSelectionKeys)?void 0:r.call(s))?n:[]:Array.isArray(t)?u(t,c):u(Object.values(t),c):[]},u=(t,e)=>t.reduce((t,n)=>t.concat(e(n)),[]);function a(t){return Object.assign(t,{optional:()=>h(t),and:e=>d(t,e),or:e=>y(t,e),select:e=>void 0===e?v(t):v(e,t)})}function l(t){return Object.assign((t=>Object.assign(t,{[Symbol.iterator](){let e=0;const r=[{value:Object.assign(t,{[n]:!0}),done:!1},{done:!0,value:void 0}];return{next:()=>{var t;return null!=(t=r[e++])?t:r.at(-1)}}}}))(t),{optional:()=>l(h(t)),select:e=>l(void 0===e?v(t):v(e,t))})}function h(t){return a({[e]:()=>({match:e=>{let n={};const r=(t,e)=>{n[t]=e};return void 0===e?(c(t).forEach(t=>r(t,void 0)),{matched:!0,selections:n}):{matched:s(t,e,r),selections:n}},getSelectionKeys:()=>c(t),matcherType:"optional"})})}const f=(t,e)=>{for(const n of t)if(!e(n))return!1;return!0},g=(t,e)=>{for(const[n,r]of t.entries())if(!e(r,n))return!1;return!0},m=(t,e)=>{const n=Reflect.ownKeys(t);for(const r of n)if(!e(r,t[r]))return!1;return!0};function d(...t){return a({[e]:()=>({match:e=>{let n={};const r=(t,e)=>{n[t]=e};return{matched:t.every(t=>s(t,e,r)),selections:n}},getSelectionKeys:()=>u(t,c),matcherType:"and"})})}function y(...t){return a({[e]:()=>({match:e=>{let n={};const r=(t,e)=>{n[t]=e};return u(t,c).forEach(t=>r(t,void 0)),{matched:t.some(t=>s(t,e,r)),selections:n}},getSelectionKeys:()=>u(t,c),matcherType:"or"})})}function p(t){return{[e]:()=>({match:e=>({matched:Boolean(t(e))})})}}function v(...t){const n="string"==typeof t[0]?t[0]:void 0,i=2===t.length?t[1]:"string"==typeof t[0]?void 0:t[0];return a({[e]:()=>({match:t=>{let e={[null!=n?n:r]:t};return{matched:void 0===i||s(i,t,(t,n)=>{e[t]=n}),selections:e}},getSelectionKeys:()=>[null!=n?n:r].concat(void 0===i?[]:c(i))})})}function b(t){return!0}function w(t){return"number"==typeof t}function S(t){return"string"==typeof t}function j(t){return"bigint"==typeof t}const K=a(p(b)),O=a(p(b)),E=K,x=t=>Object.assign(a(t),{startsWith:e=>{return x(d(t,(n=e,p(t=>S(t)&&t.startsWith(n)))));var n},endsWith:e=>{return x(d(t,(n=e,p(t=>S(t)&&t.endsWith(n)))));var n},minLength:e=>x(d(t,(t=>p(e=>S(e)&&e.length>=t))(e))),length:e=>x(d(t,(t=>p(e=>S(e)&&e.length===t))(e))),maxLength:e=>x(d(t,(t=>p(e=>S(e)&&e.length<=t))(e))),includes:e=>{return x(d(t,(n=e,p(t=>S(t)&&t.includes(n)))));var n},regex:e=>{return x(d(t,(n=e,p(t=>S(t)&&Boolean(t.match(n))))));var n}}),A=x(p(S)),N=t=>Object.assign(a(t),{between:(e,n)=>N(d(t,((t,e)=>p(n=>w(n)&&t<=n&&e>=n))(e,n))),lt:e=>N(d(t,(t=>p(e=>w(e)&&eN(d(t,(t=>p(e=>w(e)&&e>t))(e))),lte:e=>N(d(t,(t=>p(e=>w(e)&&e<=t))(e))),gte:e=>N(d(t,(t=>p(e=>w(e)&&e>=t))(e))),int:()=>N(d(t,p(t=>w(t)&&Number.isInteger(t)))),finite:()=>N(d(t,p(t=>w(t)&&Number.isFinite(t)))),positive:()=>N(d(t,p(t=>w(t)&&t>0))),negative:()=>N(d(t,p(t=>w(t)&&t<0)))}),k=N(p(w)),T=t=>Object.assign(a(t),{between:(e,n)=>T(d(t,((t,e)=>p(n=>j(n)&&t<=n&&e>=n))(e,n))),lt:e=>T(d(t,(t=>p(e=>j(e)&&eT(d(t,(t=>p(e=>j(e)&&e>t))(e))),lte:e=>T(d(t,(t=>p(e=>j(e)&&e<=t))(e))),gte:e=>T(d(t,(t=>p(e=>j(e)&&e>=t))(e))),positive:()=>T(d(t,p(t=>j(t)&&t>0))),negative:()=>T(d(t,p(t=>j(t)&&t<0)))}),B=T(p(j)),P=a(p(function(t){return"boolean"==typeof t})),_=a(p(function(t){return"symbol"==typeof t})),W=a(p(function(t){return null==t})),$=a(p(function(t){return null!=t}));t("z",{__proto__:null,matcher:e,optional:h,array:function(...t){return l({[e]:()=>({match:e=>{if(!Array.isArray(e))return{matched:!1};if(0===t.length)return{matched:!0};const n=t[0];let r={};if(0===e.length)return c(n).forEach(t=>{r[t]=[]}),{matched:!0,selections:r};const i=(t,e)=>{r[t]=(r[t]||[]).concat([e])};return{matched:e.every(t=>s(n,t,i)),selections:r}},getSelectionKeys:()=>0===t.length?[]:c(t[0])})})},set:function(...t){return a({[e]:()=>({match:e=>{if(!(e instanceof Set))return{matched:!1};let n={};if(0===e.size)return{matched:!0,selections:n};if(0===t.length)return{matched:!0};const r=(t,e)=>{n[t]=(n[t]||[]).concat([e])},i=t[0];return{matched:f(e,t=>s(i,t,r)),selections:n}},getSelectionKeys:()=>0===t.length?[]:c(t[0])})})},map:function(...t){return a({[e]:()=>({match:e=>{if(!(e instanceof Map))return{matched:!1};let n={};if(0===e.size)return{matched:!0,selections:n};const r=(t,e)=>{n[t]=(n[t]||[]).concat([e])};if(0===t.length)return{matched:!0};var i;if(1===t.length)throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${null==(i=t[0])?void 0:i.toString()}`);const[o,c]=t;return{matched:g(e,(t,e)=>{const n=s(o,e,r),i=s(c,t,r);return n&&i}),selections:n}},getSelectionKeys:()=>0===t.length?[]:[...c(t[0]),...c(t[1])]})})},record:function(...t){return a({[e]:()=>({match:e=>{if(null===e||"object"!=typeof e||Array.isArray(e))return{matched:!1};var n;if(0===t.length)throw new Error(`\`P.record\` wasn't given enough arguments. Expected (value) or (key, value), received ${null==(n=t[0])?void 0:n.toString()}`);let r={};const i=(t,e)=>{r[t]=(r[t]||[]).concat([e])},[o,c]=1===t.length?[A,t[0]]:t;return{matched:m(e,(t,e)=>{const n="string"!=typeof t||Number.isNaN(Number(t))?null:Number(t),r=null!==n&&s(o,n,i),u=s(o,t,i),a=s(c,e,i);return(u||r)&&a}),selections:r}},getSelectionKeys:()=>0===t.length?[]:[...c(t[0]),...c(t[1])]})})},intersection:d,union:y,not:function(t){return a({[e]:()=>({match:e=>({matched:!s(t,e,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:p,select:v,any:K,unknown:O,_:E,string:A,number:k,bigint:B,boolean:P,symbol:_,nullish:W,nonNullable:$,instanceOf:function(t){return a(p(function(t){return e=>e instanceof t}(t)))},shape:function(t){return a(p(function(...t){if(1===t.length){const[e]=t;return t=>s(e,t,()=>{})}if(2===t.length){const[e,n]=t;return s(e,n,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`)}(t)))}});class z extends Error{constructor(t){let e;try{e=JSON.stringify(t)}catch(r){e=t}super(`Pattern matching error: no pattern matches value ${e}`),this.input=void 0,this.input=t}}const M={matched:!1,value:void 0};class L{constructor(t,e){this.input=void 0,this.state=void 0,this.input=t,this.state=e}with(...t){if(this.state.matched)return this;const e=t[t.length-1],n=[t[0]];let i;3===t.length&&"function"==typeof t[1]?i=t[1]:t.length>2&&n.push(...t.slice(1,t.length-1));let o=!1,c={};const u=(t,e)=>{o=!0,c[t]=e},a=!n.some(t=>s(t,this.input,u))||i&&!Boolean(i(this.input))?M:{matched:!0,value:e(o?r in c?c[r]:c:this.input,this.input)};return new L(this.input,a)}when(t,e){if(this.state.matched)return this;const n=Boolean(t(this.input));return new L(this.input,n?{matched:!0,value:e(this.input,this.input)}:M)}otherwise(t){return this.state.matched?this.state.value:t(this.input)}exhaustive(t=R){return this.state.matched?this.state.value:t(this.input)}run(){return this.exhaustive()}returnType(){return this}narrow(){return this}}function R(t){throw new z(t)}}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.br b/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.br deleted file mode 100644 index 2019e604..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.gz deleted file mode 100644 index ca7923d5..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.zst deleted file mode 100644 index e4209865..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index-legacy.BZucyBbQ.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js b/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js deleted file mode 100644 index a57b4267..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js +++ /dev/null @@ -1 +0,0 @@ -const g=Symbol.for("@ts-pattern/matcher"),W=Symbol.for("@ts-pattern/isVariadic"),x="@ts-pattern/anonymous-select-key",N=e=>!!(e&&typeof e=="object"),E=e=>e&&!!e[g],l=(e,t,r)=>{if(E(e)){const n=e[g](),{matched:i,selections:o}=n.match(t);return i&&o&&Object.keys(o).forEach(a=>r(a,o[a])),i}if(N(e)){if(!N(t))return!1;if(Array.isArray(e)){if(!Array.isArray(t))return!1;let n=[],i=[],o=[];for(const a of e.keys()){const c=e[a];E(c)&&c[W]?o.push(c):o.length?i.push(c):n.push(c)}if(o.length){if(o.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(t.lengthl(m,a[v],r))&&i.every((m,v)=>l(m,c[v],r))&&(o.length===0||l(o[0],d,r))}return e.length===t.length&&e.every((a,c)=>l(a,t[c],r))}return Reflect.ownKeys(e).every(n=>{const i=e[n];return(n in t||E(o=i)&&o[g]().matcherType==="optional")&&l(i,t[n],r);var o})}return Object.is(t,e)},f=e=>{var t,r,n;return N(e)?E(e)?(t=(r=(n=e[g]()).getSelectionKeys)==null?void 0:r.call(n))!=null?t:[]:Array.isArray(e)?K(e,f):K(Object.values(e),f):[]},K=(e,t)=>e.reduce((r,n)=>r.concat(t(n)),[]);function M(...e){if(e.length===1){const[t]=e;return r=>l(t,r,()=>{})}if(e.length===2){const[t,r]=e;return l(t,r,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${e.length}.`)}function h(e){return Object.assign(e,{optional:()=>B(e),and:t=>u(e,t),or:t=>$(e,t),select:t=>t===void 0?O(e):O(t,e)})}function k(e){return Object.assign((t=>Object.assign(t,{[Symbol.iterator](){let r=0;const n=[{value:Object.assign(t,{[W]:!0}),done:!1},{done:!0,value:void 0}];return{next:()=>{var i;return(i=n[r++])!=null?i:n.at(-1)}}}}))(e),{optional:()=>k(B(e)),select:t=>k(t===void 0?O(e):O(t,e))})}function B(e){return h({[g]:()=>({match:t=>{let r={};const n=(i,o)=>{r[i]=o};return t===void 0?(f(e).forEach(i=>n(i,void 0)),{matched:!0,selections:r}):{matched:l(e,t,n),selections:r}},getSelectionKeys:()=>f(e),matcherType:"optional"})})}const F=(e,t)=>{for(const r of e)if(!t(r))return!1;return!0},J=(e,t)=>{for(const[r,n]of e.entries())if(!t(n,r))return!1;return!0},R=(e,t)=>{const r=Reflect.ownKeys(e);for(const n of r)if(!t(n,e[n]))return!1;return!0};function u(...e){return h({[g]:()=>({match:t=>{let r={};const n=(i,o)=>{r[i]=o};return{matched:e.every(i=>l(i,t,n)),selections:r}},getSelectionKeys:()=>K(e,f),matcherType:"and"})})}function $(...e){return h({[g]:()=>({match:t=>{let r={};const n=(i,o)=>{r[i]=o};return K(e,f).forEach(i=>n(i,void 0)),{matched:e.some(i=>l(i,t,n)),selections:r}},getSelectionKeys:()=>K(e,f),matcherType:"or"})})}function s(e){return{[g]:()=>({match:t=>({matched:!!e(t)})})}}function O(...e){const t=typeof e[0]=="string"?e[0]:void 0,r=e.length===2?e[1]:typeof e[0]=="string"?void 0:e[0];return h({[g]:()=>({match:n=>{let i={[t??x]:n};return{matched:r===void 0||l(r,n,(o,a)=>{i[o]=a}),selections:i}},getSelectionKeys:()=>[t??x].concat(r===void 0?[]:f(r))})})}function _(e){return!0}function y(e){return typeof e=="number"}function b(e){return typeof e=="string"}function w(e){return typeof e=="bigint"}const z=h(s(_)),U=h(s(_)),V=z,S=e=>Object.assign(h(e),{startsWith:t=>{return S(u(e,(r=t,s(n=>b(n)&&n.startsWith(r)))));var r},endsWith:t=>{return S(u(e,(r=t,s(n=>b(n)&&n.endsWith(r)))));var r},minLength:t=>S(u(e,(r=>s(n=>b(n)&&n.length>=r))(t))),length:t=>S(u(e,(r=>s(n=>b(n)&&n.length===r))(t))),maxLength:t=>S(u(e,(r=>s(n=>b(n)&&n.length<=r))(t))),includes:t=>{return S(u(e,(r=t,s(n=>b(n)&&n.includes(r)))));var r},regex:t=>{return S(u(e,(r=t,s(n=>b(n)&&!!n.match(r)))));var r}}),P=S(s(b)),p=e=>Object.assign(h(e),{between:(t,r)=>p(u(e,((n,i)=>s(o=>y(o)&&n<=o&&i>=o))(t,r))),lt:t=>p(u(e,(r=>s(n=>y(n)&&np(u(e,(r=>s(n=>y(n)&&n>r))(t))),lte:t=>p(u(e,(r=>s(n=>y(n)&&n<=r))(t))),gte:t=>p(u(e,(r=>s(n=>y(n)&&n>=r))(t))),int:()=>p(u(e,s(t=>y(t)&&Number.isInteger(t)))),finite:()=>p(u(e,s(t=>y(t)&&Number.isFinite(t)))),positive:()=>p(u(e,s(t=>y(t)&&t>0))),negative:()=>p(u(e,s(t=>y(t)&&t<0)))}),q=p(s(y)),j=e=>Object.assign(h(e),{between:(t,r)=>j(u(e,((n,i)=>s(o=>w(o)&&n<=o&&i>=o))(t,r))),lt:t=>j(u(e,(r=>s(n=>w(n)&&nj(u(e,(r=>s(n=>w(n)&&n>r))(t))),lte:t=>j(u(e,(r=>s(n=>w(n)&&n<=r))(t))),gte:t=>j(u(e,(r=>s(n=>w(n)&&n>=r))(t))),positive:()=>j(u(e,s(t=>w(t)&&t>0))),negative:()=>j(u(e,s(t=>w(t)&&t<0)))}),C=j(s(w)),D=h(s(function(e){return typeof e=="boolean"})),G=h(s(function(e){return typeof e=="symbol"})),H=h(s(function(e){return e==null})),Q=h(s(function(e){return e!=null}));var Z={__proto__:null,matcher:g,optional:B,array:function(...e){return k({[g]:()=>({match:t=>{if(!Array.isArray(t))return{matched:!1};if(e.length===0)return{matched:!0};const r=e[0];let n={};if(t.length===0)return f(r).forEach(o=>{n[o]=[]}),{matched:!0,selections:n};const i=(o,a)=>{n[o]=(n[o]||[]).concat([a])};return{matched:t.every(o=>l(r,o,i)),selections:n}},getSelectionKeys:()=>e.length===0?[]:f(e[0])})})},set:function(...e){return h({[g]:()=>({match:t=>{if(!(t instanceof Set))return{matched:!1};let r={};if(t.size===0)return{matched:!0,selections:r};if(e.length===0)return{matched:!0};const n=(o,a)=>{r[o]=(r[o]||[]).concat([a])},i=e[0];return{matched:F(t,o=>l(i,o,n)),selections:r}},getSelectionKeys:()=>e.length===0?[]:f(e[0])})})},map:function(...e){return h({[g]:()=>({match:t=>{if(!(t instanceof Map))return{matched:!1};let r={};if(t.size===0)return{matched:!0,selections:r};const n=(c,d)=>{r[c]=(r[c]||[]).concat([d])};if(e.length===0)return{matched:!0};var i;if(e.length===1)throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(i=e[0])==null?void 0:i.toString()}`);const[o,a]=e;return{matched:J(t,(c,d)=>{const m=l(o,d,n),v=l(a,c,n);return m&&v}),selections:r}},getSelectionKeys:()=>e.length===0?[]:[...f(e[0]),...f(e[1])]})})},record:function(...e){return h({[g]:()=>({match:t=>{if(t===null||typeof t!="object"||Array.isArray(t))return{matched:!1};var r;if(e.length===0)throw new Error(`\`P.record\` wasn't given enough arguments. Expected (value) or (key, value), received ${(r=e[0])==null?void 0:r.toString()}`);let n={};const i=(c,d)=>{n[c]=(n[c]||[]).concat([d])},[o,a]=e.length===1?[P,e[0]]:e;return{matched:R(t,(c,d)=>{const m=typeof c!="string"||Number.isNaN(Number(c))?null:Number(c),v=m!==null&&l(o,m,i),I=l(o,c,i),L=l(a,d,i);return(I||v)&&L}),selections:n}},getSelectionKeys:()=>e.length===0?[]:[...f(e[0]),...f(e[1])]})})},intersection:u,union:$,not:function(e){return h({[g]:()=>({match:t=>({matched:!l(e,t,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:s,select:O,any:z,unknown:U,_:V,string:P,number:q,bigint:C,boolean:D,symbol:G,nullish:H,nonNullable:Q,instanceOf:function(e){return h(s((function(t){return r=>r instanceof t})(e)))},shape:function(e){return h(s(M(e)))}};class X extends Error{constructor(t){let r;try{r=JSON.stringify(t)}catch{r=t}super(`Pattern matching error: no pattern matches value ${r}`),this.input=void 0,this.input=t}}const T={matched:!1,value:void 0};function ee(e){return new A(e,T)}class A{constructor(t,r){this.input=void 0,this.state=void 0,this.input=t,this.state=r}with(...t){if(this.state.matched)return this;const r=t[t.length-1],n=[t[0]];let i;t.length===3&&typeof t[1]=="function"?i=t[1]:t.length>2&&n.push(...t.slice(1,t.length-1));let o=!1,a={};const c=(m,v)=>{o=!0,a[m]=v},d=!n.some(m=>l(m,this.input,c))||i&&!i(this.input)?T:{matched:!0,value:r(o?x in a?a[x]:a:this.input,this.input)};return new A(this.input,d)}when(t,r){if(this.state.matched)return this;const n=!!t(this.input);return new A(this.input,n?{matched:!0,value:r(this.input,this.input)}:T)}otherwise(t){return this.state.matched?this.state.value:t(this.input)}exhaustive(t=Y){return this.state.matched?this.state.value:t(this.input)}run(){return this.exhaustive()}returnType(){return this}narrow(){return this}}function Y(e){throw new X(e)}export{ee as M,Z as z}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.br b/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.br deleted file mode 100644 index 0c98803a..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.gz deleted file mode 100644 index d63e525b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.zst deleted file mode 100644 index 370e90b7..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/index.BiLbLflF.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js deleted file mode 100644 index fde61fed..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register([],function(e,t){"use strict";return{execute:function(){function t(e){return"function"==typeof e?e:function(e){if(null==e)return()=>!1;if("fatal"===e)return e=>"fatal"===e.level;if("error"===e)return e=>"fatal"===e.level||"error"===e.level;if("warning"===e)return e=>"fatal"===e.level||"error"===e.level||"warning"===e.level;if("info"===e)return e=>"fatal"===e.level||"error"===e.level||"warning"===e.level||"info"===e.level;if("debug"===e)return e=>"fatal"===e.level||"error"===e.level||"warning"===e.level||"info"===e.level||"debug"===e.level;if("trace"===e)return()=>!0;throw new TypeError(`Invalid log level: ${e}.`)}(e)}const r=["trace","debug","info","warning","error","fatal"];function o(e,t){const o=r.indexOf(e);if(o<0)throw new TypeError(`Invalid log level: ${JSON.stringify(e)}.`);const n=r.indexOf(t);if(n<0)throw new TypeError(`Invalid log level: ${JSON.stringify(t)}.`);return o-n}const n=Symbol.for("logtape.rootLogger");var i=class e{parent;children;category;sinks;parentSinks="inherit";filters;lowestLevel="trace";contextLocalStorage;static getLogger(t=[]){let r=n in globalThis?globalThis[n]??null:null;return null==r&&(r=new e(null,[]),globalThis[n]=r),"string"==typeof t?r.getChild(t):0===t.length?r:r.getChild(t)}constructor(e,t){this.parent=e,this.children={},this.category=t,this.sinks=[],this.filters=[]}getChild(t){const r="string"==typeof t?t:t[0],o=this.children[r];let n=o instanceof e?o:o?.deref();return null==n&&(n=new e(this,[...this.category,r]),this.children[r]="WeakRef"in globalThis?new WeakRef(n):n),"string"==typeof t||1===t.length?n:n.getChild(t.slice(1))}reset(){for(;this.sinks.length>0;)this.sinks.shift();for(this.parentSinks="inherit";this.filters.length>0;)this.filters.shift();this.lowestLevel="trace"}resetDescendants(){for(const t of Object.values(this.children)){const r=t instanceof e?t:t.deref();null!=r&&r.resetDescendants()}this.reset()}with(e){return new l(this,{...e})}filter(e){for(const t of this.filters)if(!t(e))return!1;return!(this.filters.length<1)||(this.parent?.filter(e)??!0)}*getSinks(e){if(!(null===this.lowestLevel||o(e,this.lowestLevel)<0)){if(null!=this.parent&&"inherit"===this.parentSinks)for(const t of this.parent.getSinks(e))yield t;for(const e of this.sinks)yield e}}emit(e,t){const r="category"in e?e:{...e,category:this.category};if(!(null===this.lowestLevel||o(r.level,this.lowestLevel)<0)&&this.filter(r))for(const o of this.getSinks(r.level))if(!t?.has(o))try{o(r)}catch(n){const e=new Set(t);e.add(o),s.log("fatal","Failed to emit a log record to sink {sink}: {error}",{sink:o,error:n,record:r},e)}}log(t,r,o,n){const i=e.getLogger().contextLocalStorage?.getStore()??{};let l;const s="function"==typeof o?{category:this.category,level:t,timestamp:Date.now(),get message(){return u(r,this.properties)},rawMessage:r,get properties(){return null==l&&(l={...i,...o()}),l}}:{category:this.category,level:t,timestamp:Date.now(),message:u(r,{...i,...o}),rawMessage:r,properties:{...i,...o}};this.emit(s,n)}logLazily(t,r,o={}){const n=e.getLogger().contextLocalStorage?.getStore()??{};let i,l;function s(){if((null==l||null==i)&&(l=r((e,...t)=>(i=e,p(e,t))),null==i))throw new TypeError("No log record was made.");return[l,i]}this.emit({category:this.category,level:t,get message(){return s()[0]},get rawMessage(){return s()[1]},timestamp:Date.now(),properties:{...n,...o}})}logTemplate(t,r,o,n={}){const i=e.getLogger().contextLocalStorage?.getStore()??{};this.emit({category:this.category,level:t,message:p(r,o),rawMessage:r,timestamp:Date.now(),properties:{...i,...n}})}trace(e,...t){"string"==typeof e?this.log("trace",e,t[0]??{}):"function"==typeof e?this.logLazily("trace",e):Array.isArray(e)?this.logTemplate("trace",e,t):this.log("trace","{*}",e)}debug(e,...t){"string"==typeof e?this.log("debug",e,t[0]??{}):"function"==typeof e?this.logLazily("debug",e):Array.isArray(e)?this.logTemplate("debug",e,t):this.log("debug","{*}",e)}info(e,...t){"string"==typeof e?this.log("info",e,t[0]??{}):"function"==typeof e?this.logLazily("info",e):Array.isArray(e)?this.logTemplate("info",e,t):this.log("info","{*}",e)}warn(e,...t){"string"==typeof e?this.log("warning",e,t[0]??{}):"function"==typeof e?this.logLazily("warning",e):Array.isArray(e)?this.logTemplate("warning",e,t):this.log("warning","{*}",e)}warning(e,...t){this.warn(e,...t)}error(e,...t){"string"==typeof e?this.log("error",e,t[0]??{}):"function"==typeof e?this.logLazily("error",e):Array.isArray(e)?this.logTemplate("error",e,t):this.log("error","{*}",e)}fatal(e,...t){"string"==typeof e?this.log("fatal",e,t[0]??{}):"function"==typeof e?this.logLazily("fatal",e):Array.isArray(e)?this.logTemplate("fatal",e,t):this.log("fatal","{*}",e)}},l=class e{logger;properties;constructor(e,t){this.logger=e,this.properties=t}get category(){return this.logger.category}get parent(){return this.logger.parent}getChild(e){return this.logger.getChild(e).with(this.properties)}with(t){return new e(this.logger,{...this.properties,...t})}log(e,t,r,o){this.logger.log(e,t,"function"==typeof r?()=>({...this.properties,...r()}):{...this.properties,...r},o)}logLazily(e,t){this.logger.logLazily(e,t,this.properties)}logTemplate(e,t,r){this.logger.logTemplate(e,t,r,this.properties)}emit(e){const t={...e,properties:{...this.properties,...e.properties}};this.logger.emit(t)}trace(e,...t){"string"==typeof e?this.log("trace",e,t[0]??{}):"function"==typeof e?this.logLazily("trace",e):Array.isArray(e)?this.logTemplate("trace",e,t):this.log("trace","{*}",e)}debug(e,...t){"string"==typeof e?this.log("debug",e,t[0]??{}):"function"==typeof e?this.logLazily("debug",e):Array.isArray(e)?this.logTemplate("debug",e,t):this.log("debug","{*}",e)}info(e,...t){"string"==typeof e?this.log("info",e,t[0]??{}):"function"==typeof e?this.logLazily("info",e):Array.isArray(e)?this.logTemplate("info",e,t):this.log("info","{*}",e)}warn(e,...t){"string"==typeof e?this.log("warning",e,t[0]??{}):"function"==typeof e?this.logLazily("warning",e):Array.isArray(e)?this.logTemplate("warning",e,t):this.log("warning","{*}",e)}warning(e,...t){this.warn(e,...t)}error(e,...t){"string"==typeof e?this.log("error",e,t[0]??{}):"function"==typeof e?this.logLazily("error",e):Array.isArray(e)?this.logTemplate("error",e,t):this.log("error","{*}",e)}fatal(e,...t){"string"==typeof e?this.log("fatal",e,t[0]??{}):"function"==typeof e?this.logLazily("fatal",e):Array.isArray(e)?this.logTemplate("fatal",e,t):this.log("fatal","{*}",e)}};const s=i.getLogger(["logtape","meta"]);function a(e){return e.includes(".")||e.includes("[")||e.includes("?.")}function g(e,t){const r=e.length;let o,n=t;if(n>=r)return null;if("["===e[n]){if(n++,n>=r)return null;if('"'===e[n]||"'"===e[n]){const t=e[n];n++;let i="";for(;n=r)return null;o=i,n++}else{const t=n;for(;n=r)return null;const i=e.slice(t,n);if(0===i.length)return null;const l=Number(i);o=Number.isNaN(l)?i:l}for(;n=0&&tJSON.stringify(e):"Deno"in globalThis&&"inspect"in globalThis.Deno&&"function"==typeof globalThis.Deno.inspect?(e,t)=>globalThis.Deno.inspect(e,{strAbbreviateSize:1/0,iterableLimit:1/0,...t}):null!=y?(e,t)=>h(e,{...t}):e=>JSON.stringify(e);function b(e){return e<10?`0${e}`:`${e}`}function v(e){return e<10?`00${e}`:e<100?`0${e}`:`${e}`}const w={"date-time-timezone":e=>{const t=new Date(e);return`${t.getUTCFullYear()}-${b(t.getUTCMonth()+1)}-${b(t.getUTCDate())} ${b(t.getUTCHours())}:${b(t.getUTCMinutes())}:${b(t.getUTCSeconds())}.${v(t.getUTCMilliseconds())} +00:00`},"date-time-tz":e=>{const t=new Date(e);return`${t.getUTCFullYear()}-${b(t.getUTCMonth()+1)}-${b(t.getUTCDate())} ${b(t.getUTCHours())}:${b(t.getUTCMinutes())}:${b(t.getUTCSeconds())}.${v(t.getUTCMilliseconds())} +00`},"date-time":e=>{const t=new Date(e);return`${t.getUTCFullYear()}-${b(t.getUTCMonth()+1)}-${b(t.getUTCDate())} ${b(t.getUTCHours())}:${b(t.getUTCMinutes())}:${b(t.getUTCSeconds())}.${v(t.getUTCMilliseconds())}`},"time-timezone":e=>{const t=new Date(e);return`${b(t.getUTCHours())}:${b(t.getUTCMinutes())}:${b(t.getUTCSeconds())}.${v(t.getUTCMilliseconds())} +00:00`},"time-tz":e=>{const t=new Date(e);return`${b(t.getUTCHours())}:${b(t.getUTCMinutes())}:${b(t.getUTCSeconds())}.${v(t.getUTCMilliseconds())} +00`},time:e=>{const t=new Date(e);return`${b(t.getUTCHours())}:${b(t.getUTCMinutes())}:${b(t.getUTCSeconds())}.${v(t.getUTCMilliseconds())}`},date:e=>{const t=new Date(e);return`${t.getUTCFullYear()}-${b(t.getUTCMonth()+1)}-${b(t.getUTCDate())}`},rfc3339:e=>new Date(e).toISOString(),none:()=>null},T={ABBR:d,abbr:{trace:"trc",debug:"dbg",info:"inf",warning:"wrn",error:"err",fatal:"ftl"},FULL:{trace:"TRACE",debug:"DEBUG",info:"INFO",warning:"WARNING",error:"ERROR",fatal:"FATAL"},full:{trace:"trace",debug:"debug",info:"info",warning:"warning",error:"error",fatal:"fatal"},L:{trace:"T",debug:"D",info:"I",warning:"W",error:"E",fatal:"F"},l:{trace:"t",debug:"d",info:"i",warning:"w",error:"e",fatal:"f"}};function S(e={}){const t=(()=>{const t=e.timestamp;return null==t?w["date-time-timezone"]:"disabled"===t?w.none:"string"==typeof t&&t in w?w[t]:t})(),r=e.category??"·",o=e.value?t=>e.value(t,m):m,n=(()=>{const t=e.level;return null==t||"ABBR"===t?e=>T.ABBR[e]:"abbr"===t?e=>T.abbr[e]:"FULL"===t?e=>T.FULL[e]:"full"===t?e=>T.full[e]:"L"===t?e=>T.L[e]:"l"===t?e=>T.l[e]:t})(),i=e.format??(({timestamp:e,level:t,category:r,message:o})=>`${e?`${e} `:""}[${t}] ${r}: ${o}`);return e=>{const l=e.message,s=l.length;let a;if(1===s)a=l[0];else if(s<=6){a="";for(let e=0;et(e,{colors:!0}),...e,format({timestamp:e,level:r,category:o,message:a,record:g}){const u=s[g.level];return e=`${n}${e}${i}`,r=`${null==l?"":L[l]}${null==u?"":C[u]}${r}${null==l&&null==u?"":$}`,null==t?`${e} ${r} ${c}${o}:${f} ${a}`:t({timestamp:e,level:r,category:`${c}${o}${f}`,message:a,record:g})}})}(),function(e={}){if(!e.categorySeparator&&!e.message&&!e.properties)return e=>{if(3===e.message.length)return JSON.stringify({"@timestamp":new Date(e.timestamp).toISOString(),level:"warning"===e.level?"WARN":e.level.toUpperCase(),message:e.message[0]+JSON.stringify(e.message[1])+e.message[2],logger:e.category.join("."),properties:e.properties})+"\n";if(1===e.message.length)return JSON.stringify({"@timestamp":new Date(e.timestamp).toISOString(),level:"warning"===e.level?"WARN":e.level.toUpperCase(),message:e.message[0],logger:e.category.join("."),properties:e.properties})+"\n";let t=e.message[0];for(let r=1;re.join(t)}if("flatten"===r)n=e=>e;else if(r.startsWith("prepend:")){const e=r.substring(8);if(""===e)throw new TypeError(`Invalid properties option: ${JSON.stringify(r)}. It must be of the form "prepend:" where is a non-empty string.`);n=t=>{const r={};for(const o in t)r[`${e}${o}`]=t[o];return r}}else{if(!r.startsWith("nest:"))throw new TypeError(`Invalid properties option: ${JSON.stringify(r)}. It must be "flatten", "prepend:", or "nest:".`);{const e=r.substring(5);n=t=>({[e]:t})}}i=t?e=>{if("string"==typeof e.rawMessage)return e.rawMessage;let t="";for(let r=0;r{const t=e.message.length;if(1===t)return e.message[0];let r="";for(let o=0;o{const n=t(e),i=r[e.level];if(void 0===i)throw new TypeError(`Invalid log level: ${e.level}.`);if("string"==typeof n){const e=n.replace(/\r?\n$/,"");o[i](e)}else o[i](...n)};if(!e.nonBlocking)return n;const i=!0===e.nonBlocking?{}:e.nonBlocking,l=i.bufferSize??100,s=i.flushInterval??100,a=[];let g=null,c=!1,f=!1;const u=2*l;function p(){if(0===a.length)return;const e=a.splice(0);for(const t of e)try{n(t)}catch{}}const h=e=>{c||(a.length>=u&&a.shift(),a.push(e),a.length>=l?f||(f=!0,setTimeout(()=>{f=!1,p()},0)):null===g&&(null!==g||c||(g=setInterval(()=>{p()},s))))};return h[Symbol.dispose]=()=>{c=!0,null!==g&&(clearInterval(g),g=null),p()},h}let x=null;const N=new Set,M=new Set,D=new Set;function R(e){return 0===e.category.length||1===e.category.length&&"logtape"===e.category[0]||2===e.category.length&&"logtape"===e.category[0]&&"meta"===e.category[1]}function E(){I(),function(){const e=i.getLogger([]);e.resetDescendants(),delete e.contextLocalStorage,N.clear(),x=null}()}function I(){for(const e of M)e[Symbol.dispose]();M.clear()}var j=class extends Error{constructor(e){super(e),this.name="ConfigureError"}};const B=(e=0)=>t=>`[${t+e}m`,F=(e=0)=>t=>`[${38+e};5;${t}m`,z=(e=0)=>(t,r,o)=>`[${38+e};2;${t};${r};${o}m`,J={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(J.modifier),Object.keys(J.color),Object.keys(J.bgColor);const P=function(){const e=new Map;for(const[t,r]of Object.entries(J)){for(const[t,o]of Object.entries(r))J[t]={open:`[${o[0]}m`,close:`[${o[1]}m`},r[t]=J[t],e.set(o[0],o[1]);Object.defineProperty(J,t,{value:r,enumerable:!1})}return Object.defineProperty(J,"codes",{value:e,enumerable:!1}),J.color.close="",J.bgColor.close="",J.color.ansi=B(),J.color.ansi256=F(),J.color.ansi16m=z(),J.bgColor.ansi=B(10),J.bgColor.ansi256=F(10),J.bgColor.ansi16m=z(10),Object.defineProperties(J,{rgbToAnsi256:{value:(e,t,r)=>e===t&&t===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5),enumerable:!1},hexToRgb:{value(e){const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[r]=t;3===r.length&&(r=[...r].map(e=>e+e).join(""));const o=Number.parseInt(r,16);return[o>>16&255,o>>8&255,255&o]},enumerable:!1},hexToAnsi256:{value:e=>J.rgbToAnsi256(...J.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return e-8+90;let t,r,o;if(e>=232)t=(10*(e-232)+8)/255,r=t,o=t;else{const n=(e-=16)%36;t=Math.floor(e/36)/5,r=Math.floor(n/6)/5,o=n%6/5}const n=2*Math.max(t,r,o);if(0===n)return 30;let i=30+(Math.round(o)<<2|Math.round(r)<<1|Math.round(t));return 2===n&&(i+=60),i},enumerable:!1},rgbToAnsi:{value:(e,t,r)=>J.ansi256ToAnsi(J.rgbToAnsi256(e,t,r)),enumerable:!1},hexToAnsi:{value:e=>J.ansi256ToAnsi(J.hexToAnsi256(e)),enumerable:!1}}),J}(),W=(()=>{if(!("navigator"in globalThis))return 0;if(globalThis.navigator.userAgentData){const e=navigator.userAgentData.brands.find(({brand:e})=>"Chromium"===e);if(e&&e.version>93)return 3}return/\b(Chrome|Chromium)\//.test(globalThis.navigator.userAgent)?1:0})(),G=0!==W&&{level:W},_={stdout:G,stderr:G};function Y(e,t,r){let o=e.indexOf(t);if(-1===o)return e;const n=t.length;let i=0,l="";do{l+=e.slice(i,o)+t+r,i=o+n,o=e.indexOf(t,i)}while(-1!==o);return l+=e.slice(i),l}const{stdout:H,stderr:q}=_,K=Symbol("GENERATOR"),Q=Symbol("STYLER"),V=Symbol("IS_EMPTY"),X=["ansi","ansi","ansi256","ansi16m"],Z=Object.create(null),ee=e=>{const t=(...e)=>e.join(" ");return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=H?H.level:0;e.level=void 0===t.level?r:t.level})(t,e),Object.setPrototypeOf(t,te.prototype),t};function te(e){return ee(e)}Object.setPrototypeOf(te.prototype,Function.prototype);for(const[e,$e]of Object.entries(P))Z[e]={get(){const t=le(this,ie($e.open,$e.close,this[Q]),this[V]);return Object.defineProperty(this,e,{value:t}),t}};Z.visible={get(){const e=le(this,this[Q],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const re=(e,t,r,...o)=>"rgb"===e?"ansi16m"===t?P[r].ansi16m(...o):"ansi256"===t?P[r].ansi256(P.rgbToAnsi256(...o)):P[r].ansi(P.rgbToAnsi(...o)):"hex"===e?re("rgb",t,r,...P.hexToRgb(...o)):P[r][e](...o),oe=["rgb","hex","ansi256"];for(const e of oe)Z[e]={get(){const{level:t}=this;return function(...r){const o=ie(re(e,X[t],"color",...r),P.color.close,this[Q]);return le(this,o,this[V])}}},Z["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...r){const o=ie(re(e,X[t],"bgColor",...r),P.bgColor.close,this[Q]);return le(this,o,this[V])}}};const ne=Object.defineProperties(()=>{},{...Z,level:{enumerable:!0,get(){return this[K].level},set(e){this[K].level=e}}}),ie=(e,t,r)=>{let o,n;return void 0===r?(o=e,n=t):(o=r.openAll+e,n=t+r.closeAll),{open:e,close:t,openAll:o,closeAll:n,parent:r}},le=(e,t,r)=>{const o=(...e)=>se(o,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(o,ne),o[K]=e,o[Q]=t,o[V]=r,o},se=(e,t)=>{if(e.level<=0||!t)return e[V]?"":t;let r=e[Q];if(void 0===r)return t;const{openAll:o,closeAll:n}=r;if(t.includes(""))for(;void 0!==r;)t=Y(t,r.close,r.open),r=r.parent;const i=t.indexOf("\n");return-1!==i&&(t=function(e,t,r,o){let n=0,i="";do{const l="\r"===e[o-1];i+=e.slice(n,l?o-1:o)+t+(l?"\r\n":"\n")+r,n=o+1,o=e.indexOf("\n",n)}while(-1!==o);return i+=e.slice(n),i}(t,n,o,i)),o+t+n};Object.defineProperties(te.prototype,Z);const ae=te();function ge(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}te({level:q?q.level:0});var ce,fe={exports:{}},ue=fe.exports,pe=(ce||(ce=1,function(e){var t,r;t=ue,r=function(){var e=function(){},t="undefined",r=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),o=["trace","debug","info","warn","error"],n={},i=null;function l(e,t){var r=e[t];if("function"==typeof r.bind)return r.bind(e);try{return Function.prototype.bind.call(r,e)}catch(o){return function(){return Function.prototype.apply.apply(r,[e,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(){for(var r=this.getLevel(),n=0;n=0&&t<=f.levels.SILENT)return t;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?u+=":"+e:"symbol"==typeof e&&(u=void 0),f.name=e,f.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},f.methodFactory=r||c,f.getLevel=function(){return null!=g?g:null!=s?s:l},f.setLevel=function(e,r){return g=h(e),!1!==r&&function(e){var r=(o[e]||"silent").toUpperCase();if(typeof window!==t&&u){try{return void(window.localStorage[u]=r)}catch(n){}try{window.document.cookie=encodeURIComponent(u)+"="+r+";"}catch(n){}}}(g),a.call(f)},f.setDefaultLevel=function(e){s=h(e),p()||f.setLevel(e,!1)},f.resetLevel=function(){g=null,function(){if(typeof window!==t&&u){try{window.localStorage.removeItem(u)}catch(e){}try{window.document.cookie=encodeURIComponent(u)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),a.call(f)},f.enableAll=function(e){f.setLevel(f.levels.TRACE,e)},f.disableAll=function(e){f.setLevel(f.levels.SILENT,e)},f.rebuild=function(){if(i!==f&&(l=h(i.getLevel())),a.call(f),i===f)for(var e in n)n[e].rebuild()},l=h(i?i.getLevel():"WARN");var y=p();null!=y&&(g=h(y)),a.call(f)}(i=new f).getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=n[e];return t||(t=n[e]=new f(e,i.methodFactory)),t};var u=typeof window!==t?window.log:void 0;return i.noConflict=function(){return typeof window!==t&&window.log===i&&(window.log=u),i},i.getLoggers=function(){return n},i.default=i,i},e.exports?e.exports=r():t.log=r()}(fe)),fe.exports);const he=ge(pe);var ye,de={exports:{}},me=de.exports,be=(ye||(ye=1,function(e){var t,r;t=me,r=function(e){var t,r,o={template:"[%t] %l:",levelFormatter:function(e){return e.toUpperCase()},nameFormatter:function(e){return e||"root"},timestampFormatter:function(e){return e.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/,"$1")},format:void 0},n={},i={reg:function(e){if(!e||!e.getLogger)throw new TypeError("Argument is not a root logger");t=e},apply:function(e,r){if(!e||!e.setLevel)throw new TypeError("Argument is not a logger");var i=e.methodFactory,l=e.name||"",s=n[l]||n[""]||o;return n[l]||(e.methodFactory=function(e,t,r){var o=i(e,t,r),s=n[r]||n[""],a=-1!==s.template.indexOf("%t"),g=-1!==s.template.indexOf("%l"),c=-1!==s.template.indexOf("%n");return function(){for(var t="",i=arguments.length,f=Array(i),u=0;u`${ae.gray(`[${r}]`)} ${we[e.toUpperCase()](e)}`});const Se="haiku-atelier";!function(e){if(null!=x&&!e.reset)throw new j("Already configured; if you want to reset, turn on the reset flag.");if(D.size>0)throw new j("Previously configured async disposables are still active. Use configure() instead or explicitly dispose them using dispose().");E();try{!function(e){x=e;let r=!1;const o=new Set;for(const l of e.loggers){R(l)&&(r=!0);const n=Array.isArray(l.category)?JSON.stringify(l.category):JSON.stringify([l.category]);if(o.has(n))throw new j(`Duplicate logger configuration for category: ${n}. Each category can only be configured once.`);o.add(n);const s=i.getLogger(l.category);for(const t of l.sinks??[]){const r=e.sinks[t];if(!r)throw new j(`Sink not found: ${t}.`);s.sinks.push(r)}s.parentSinks=l.parentSinks??"inherit",void 0!==l.lowestLevel&&(s.lowestLevel=l.lowestLevel);for(const r of l.filters??[]){const o=e.filters?.[r];if(void 0===o)throw new j(`Filter not found: ${r}.`);s.filters.push(t(o))}N.add(s)}i.getLogger().contextLocalStorage=e.contextLocalStorage;for(const t of Object.values(e.sinks)){if(Symbol.asyncDispose in t)throw new j("Async disposables cannot be used with configureSync().");Symbol.dispose in t&&M.add(t)}for(const t of Object.values(e.filters??{}))if(null!=t&&"string"!=typeof t){if(Symbol.asyncDispose in t)throw new j("Async disposables cannot be used with configureSync().");Symbol.dispose in t&&M.add(t)}if("string"!=typeof globalThis.EdgeRuntime&&"process"in globalThis&&!("Deno"in globalThis)){const e=globalThis.process,t=e?.on;"function"==typeof t&&t.call(e,"exit",I)}else addEventListener("unload",I);const n=i.getLogger(["logtape","meta"]);r||n.sinks.push(U()),n.info("LogTape loggers are configured. Note that LogTape itself uses the meta logger, which has category {metaLoggerCategory}. The meta logger purposes to log internal errors such as sink exceptions. If you are seeing this message, the meta logger is automatically configured. It's recommended to configure the meta logger with a separate sink so that you can easily notice if logging itself fails or is misconfigured. To turn off this message, configure the meta logger with higher log levels than {dismissLevel}. See also .",{metaLoggerCategory:["logtape","meta"],dismissLevel:"info"})}(e)}catch(r){throw r instanceof j&&E(),r}}({loggers:[{category:Se,lowestLevel:"warning",sinks:["console"]}],sinks:{console:U()}}),e("n",function(e=[]){return i.getLogger(e)}(Se))}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.br deleted file mode 100644 index 6fe5276b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.gz deleted file mode 100644 index 2e7c9e26..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.zst deleted file mode 100644 index d166d287..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/journalisation-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/journalisation.js b/web/app/themes/haiku-atelier-2024/assets/js/journalisation.js deleted file mode 100644 index 37f2dbb1..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/journalisation.js +++ /dev/null @@ -1,11 +0,0 @@ -function mt(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}function Ue(t){return typeof t=="function"?t:Be(t)}function Be(t){if(t==null)return()=>!1;if(t==="fatal")return e=>e.level==="fatal";if(t==="error")return e=>e.level==="fatal"||e.level==="error";if(t==="warning")return e=>e.level==="fatal"||e.level==="error"||e.level==="warning";if(t==="info")return e=>e.level==="fatal"||e.level==="error"||e.level==="warning"||e.level==="info";if(t==="debug")return e=>e.level==="fatal"||e.level==="error"||e.level==="warning"||e.level==="info"||e.level==="debug";if(t==="trace")return()=>!0;throw new TypeError(`Invalid log level: ${t}.`)}const se=["trace","debug","info","warning","error","fatal"];function ae(t,e){const n=se.indexOf(t);if(n<0)throw new TypeError(`Invalid log level: ${JSON.stringify(t)}.`);const r=se.indexOf(e);if(r<0)throw new TypeError(`Invalid log level: ${JSON.stringify(e)}.`);return n-r}function Me(t=[]){return F.getLogger(t)}const V=Symbol.for("logtape.rootLogger");var F=class I{parent;children;category;sinks;parentSinks="inherit";filters;lowestLevel="trace";contextLocalStorage;static getLogger(e=[]){let n=V in globalThis?globalThis[V]??null:null;return n==null&&(n=new I(null,[]),globalThis[V]=n),typeof e=="string"?n.getChild(e):e.length===0?n:n.getChild(e)}constructor(e,n){this.parent=e,this.children={},this.category=n,this.sinks=[],this.filters=[]}getChild(e){const n=typeof e=="string"?e:e[0],r=this.children[n];let l=r instanceof I?r:r?.deref();return l==null&&(l=new I(this,[...this.category,n]),this.children[n]="WeakRef"in globalThis?new WeakRef(l):l),typeof e=="string"||e.length===1?l:l.getChild(e.slice(1))}reset(){for(;this.sinks.length>0;)this.sinks.shift();for(this.parentSinks="inherit";this.filters.length>0;)this.filters.shift();this.lowestLevel="trace"}resetDescendants(){for(const e of Object.values(this.children)){const n=e instanceof I?e:e.deref();n?.resetDescendants()}this.reset()}with(e){return new Ee(this,{...e})}filter(e){for(const n of this.filters)if(!n(e))return!1;return this.filters.length<1?this.parent?.filter(e)??!0:!0}*getSinks(e){if(!(this.lowestLevel===null||ae(e,this.lowestLevel)<0)){if(this.parent!=null&&this.parentSinks==="inherit")for(const n of this.parent.getSinks(e))yield n;for(const n of this.sinks)yield n}}emit(e,n){const r="category"in e?e:{...e,category:this.category};if(!(this.lowestLevel===null||ae(r.level,this.lowestLevel)<0||!this.filter(r))){for(const l of this.getSinks(r.level))if(!n?.has(l))try{l(r)}catch(i){const o=new Set(n);o.add(l),Fe.log("fatal","Failed to emit a log record to sink {sink}: {error}",{sink:l,error:i,record:r},o)}}}log(e,n,r,l){const i=I.getLogger().contextLocalStorage?.getStore()??{};let o;const s=typeof r=="function"?{category:this.category,level:e,timestamp:Date.now(),get message(){return fe(n,this.properties)},rawMessage:n,get properties(){return o==null&&(o={...i,...r()}),o}}:{category:this.category,level:e,timestamp:Date.now(),message:fe(n,{...i,...r}),rawMessage:n,properties:{...i,...r}};this.emit(s,l)}logLazily(e,n,r={}){const l=I.getLogger().contextLocalStorage?.getStore()??{};let i,o;function s(){if((o==null||i==null)&&(o=n((a,...c)=>(i=a,ce(a,c))),i==null))throw new TypeError("No log record was made.");return[o,i]}this.emit({category:this.category,level:e,get message(){return s()[0]},get rawMessage(){return s()[1]},timestamp:Date.now(),properties:{...l,...r}})}logTemplate(e,n,r,l={}){const i=I.getLogger().contextLocalStorage?.getStore()??{};this.emit({category:this.category,level:e,message:ce(n,r),rawMessage:n,timestamp:Date.now(),properties:{...i,...l}})}trace(e,...n){typeof e=="string"?this.log("trace",e,n[0]??{}):typeof e=="function"?this.logLazily("trace",e):Array.isArray(e)?this.logTemplate("trace",e,n):this.log("trace","{*}",e)}debug(e,...n){typeof e=="string"?this.log("debug",e,n[0]??{}):typeof e=="function"?this.logLazily("debug",e):Array.isArray(e)?this.logTemplate("debug",e,n):this.log("debug","{*}",e)}info(e,...n){typeof e=="string"?this.log("info",e,n[0]??{}):typeof e=="function"?this.logLazily("info",e):Array.isArray(e)?this.logTemplate("info",e,n):this.log("info","{*}",e)}warn(e,...n){typeof e=="string"?this.log("warning",e,n[0]??{}):typeof e=="function"?this.logLazily("warning",e):Array.isArray(e)?this.logTemplate("warning",e,n):this.log("warning","{*}",e)}warning(e,...n){this.warn(e,...n)}error(e,...n){typeof e=="string"?this.log("error",e,n[0]??{}):typeof e=="function"?this.logLazily("error",e):Array.isArray(e)?this.logTemplate("error",e,n):this.log("error","{*}",e)}fatal(e,...n){typeof e=="string"?this.log("fatal",e,n[0]??{}):typeof e=="function"?this.logLazily("fatal",e):Array.isArray(e)?this.logTemplate("fatal",e,n):this.log("fatal","{*}",e)}},Ee=class Le{logger;properties;constructor(e,n){this.logger=e,this.properties=n}get category(){return this.logger.category}get parent(){return this.logger.parent}getChild(e){return this.logger.getChild(e).with(this.properties)}with(e){return new Le(this.logger,{...this.properties,...e})}log(e,n,r,l){this.logger.log(e,n,typeof r=="function"?()=>({...this.properties,...r()}):{...this.properties,...r},l)}logLazily(e,n){this.logger.logLazily(e,n,this.properties)}logTemplate(e,n,r){this.logger.logTemplate(e,n,r,this.properties)}emit(e){const n={...e,properties:{...this.properties,...e.properties}};this.logger.emit(n)}trace(e,...n){typeof e=="string"?this.log("trace",e,n[0]??{}):typeof e=="function"?this.logLazily("trace",e):Array.isArray(e)?this.logTemplate("trace",e,n):this.log("trace","{*}",e)}debug(e,...n){typeof e=="string"?this.log("debug",e,n[0]??{}):typeof e=="function"?this.logLazily("debug",e):Array.isArray(e)?this.logTemplate("debug",e,n):this.log("debug","{*}",e)}info(e,...n){typeof e=="string"?this.log("info",e,n[0]??{}):typeof e=="function"?this.logLazily("info",e):Array.isArray(e)?this.logTemplate("info",e,n):this.log("info","{*}",e)}warn(e,...n){typeof e=="string"?this.log("warning",e,n[0]??{}):typeof e=="function"?this.logLazily("warning",e):Array.isArray(e)?this.logTemplate("warning",e,n):this.log("warning","{*}",e)}warning(e,...n){this.warn(e,...n)}error(e,...n){typeof e=="string"?this.log("error",e,n[0]??{}):typeof e=="function"?this.logLazily("error",e):Array.isArray(e)?this.logTemplate("error",e,n):this.log("error","{*}",e)}fatal(e,...n){typeof e=="string"?this.log("fatal",e,n[0]??{}):typeof e=="function"?this.logLazily("fatal",e):Array.isArray(e)?this.logTemplate("fatal",e,n):this.log("fatal","{*}",e)}};const Fe=F.getLogger(["logtape","meta"]);function Ne(t){return t.includes(".")||t.includes("[")||t.includes("?.")}function De(t,e){if(!(e==="__proto__"||e==="prototype"||e==="constructor")&&(typeof t=="object"||typeof t=="function")&&t!==null)return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0}function Pe(t,e){const n=t.length;let r=e;if(r>=n)return null;let l;if(t[r]==="["){if(r++,r>=n)return null;if(t[r]==='"'||t[r]==="'"){const i=t[r];r++;let o="";for(;r=n)return null;l=o,r++}else{const i=r;for(;r=n)return null;const o=t.slice(i,r);if(o.length===0)return null;const s=Number(o);l=Number.isNaN(s)?o:s}for(;r=0&&eJSON.stringify(t):"Deno"in globalThis&&"inspect"in globalThis.Deno&&typeof globalThis.Deno.inspect=="function"?(t,e)=>globalThis.Deno.inspect(t,{strAbbreviateSize:1/0,iterableLimit:1/0,...e}):We!=null&&typeof te=="function"?(t,e)=>te(t,{...e}):t=>JSON.stringify(t);function d(t){return t<10?`0${t}`:`${t}`}function B(t){return t<10?`00${t}`:t<100?`0${t}`:`${t}`}const J={"date-time-timezone":t=>{const e=new Date(t),n=e.getUTCFullYear(),r=d(e.getUTCMonth()+1),l=d(e.getUTCDate()),i=d(e.getUTCHours()),o=d(e.getUTCMinutes()),s=d(e.getUTCSeconds()),a=B(e.getUTCMilliseconds());return`${n}-${r}-${l} ${i}:${o}:${s}.${a} +00:00`},"date-time-tz":t=>{const e=new Date(t),n=e.getUTCFullYear(),r=d(e.getUTCMonth()+1),l=d(e.getUTCDate()),i=d(e.getUTCHours()),o=d(e.getUTCMinutes()),s=d(e.getUTCSeconds()),a=B(e.getUTCMilliseconds());return`${n}-${r}-${l} ${i}:${o}:${s}.${a} +00`},"date-time":t=>{const e=new Date(t),n=e.getUTCFullYear(),r=d(e.getUTCMonth()+1),l=d(e.getUTCDate()),i=d(e.getUTCHours()),o=d(e.getUTCMinutes()),s=d(e.getUTCSeconds()),a=B(e.getUTCMilliseconds());return`${n}-${r}-${l} ${i}:${o}:${s}.${a}`},"time-timezone":t=>{const e=new Date(t),n=d(e.getUTCHours()),r=d(e.getUTCMinutes()),l=d(e.getUTCSeconds()),i=B(e.getUTCMilliseconds());return`${n}:${r}:${l}.${i} +00:00`},"time-tz":t=>{const e=new Date(t),n=d(e.getUTCHours()),r=d(e.getUTCMinutes()),l=d(e.getUTCSeconds()),i=B(e.getUTCMilliseconds());return`${n}:${r}:${l}.${i} +00`},time:t=>{const e=new Date(t),n=d(e.getUTCHours()),r=d(e.getUTCMinutes()),l=d(e.getUTCSeconds()),i=B(e.getUTCMilliseconds());return`${n}:${r}:${l}.${i}`},date:t=>{const e=new Date(t),n=e.getUTCFullYear(),r=d(e.getUTCMonth()+1),l=d(e.getUTCDate());return`${n}-${r}-${l}`},rfc3339:t=>new Date(t).toISOString(),none:()=>null},M={ABBR:Ce,abbr:{trace:"trc",debug:"dbg",info:"inf",warning:"wrn",error:"err",fatal:"ftl"},FULL:{trace:"TRACE",debug:"DEBUG",info:"INFO",warning:"WARNING",error:"ERROR",fatal:"FATAL"},full:{trace:"trace",debug:"debug",info:"info",warning:"warning",error:"error",fatal:"fatal"},L:{trace:"T",debug:"D",info:"I",warning:"W",error:"E",fatal:"F"},l:{trace:"t",debug:"d",info:"i",warning:"w",error:"e",fatal:"f"}};function xe(t={}){const e=(()=>{const o=t.timestamp;return o==null?J["date-time-timezone"]:o==="disabled"?J.none:typeof o=="string"&&o in J?J[o]:o})(),n=t.category??"·",r=t.value?o=>t.value(o,ge):ge,l=(()=>{const o=t.level;return o==null||o==="ABBR"?s=>M.ABBR[s]:o==="abbr"?s=>M.abbr[s]:o==="FULL"?s=>M.FULL[s]:o==="full"?s=>M.full[s]:o==="L"?s=>M.L[s]:o==="l"?s=>M.l[s]:o})(),i=t.format??(({timestamp:o,level:s,category:a,message:c})=>`${o?`${o} `:""}[${s}] ${a}: ${c}`);return o=>{const s=o.message,a=s.length;let c;if(a===1)c=s[0];else if(a<=6){c="";for(let T=0;T"u"?"dim":t.timestampStyle,r=t.timestampColor??null,l=`${n==null?"":X[n]}${r==null?"":Q[r]}`,i=n==null&&r==null?"":Z,o=typeof t.levelStyle>"u"?"bold":t.levelStyle,s=t.levelColors??Je,a=typeof t.categoryStyle>"u"?"dim":t.categoryStyle,c=t.categoryColor??null,g=`${a==null?"":X[a]}${c==null?"":Q[c]}`,h=a==null&&c==null?"":Z;return xe({timestamp:"date-time-tz",value(b,p){return p(b,{colors:!0})},...t,format({timestamp:b,level:p,category:T,message:u,record:v}){const f=s[v.level];return b=`${l}${b}${i}`,p=`${o==null?"":X[o]}${f==null?"":Q[f]}${p}${o==null&&f==null?"":Z}`,e==null?`${b} ${p} ${g}${T}:${h} ${u}`:e({timestamp:b,level:p,category:`${g}${T}${h}`,message:u,record:v})}})}Ge();function Ye(t={}){if(!t.categorySeparator&&!t.message&&!t.properties)return o=>{if(o.message.length===3)return JSON.stringify({"@timestamp":new Date(o.timestamp).toISOString(),level:o.level==="warning"?"WARN":o.level.toUpperCase(),message:o.message[0]+JSON.stringify(o.message[1])+o.message[2],logger:o.category.join("."),properties:o.properties})+` -`;if(o.message.length===1)return JSON.stringify({"@timestamp":new Date(o.timestamp).toISOString(),level:o.level==="warning"?"WARN":o.level.toUpperCase(),message:o.message[0],logger:o.category.join("."),properties:o.properties})+` -`;let s=o.message[0];for(let a=1;as.join(o)}let l;if(n==="flatten")l=o=>o;else if(n.startsWith("prepend:")){const o=n.substring(8);if(o==="")throw new TypeError(`Invalid properties option: ${JSON.stringify(n)}. It must be of the form "prepend:" where is a non-empty string.`);l=s=>{const a={};for(const c in s)a[`${o}${c}`]=s[c];return a}}else if(n.startsWith("nest:")){const o=n.substring(5);l=s=>({[o]:s})}else throw new TypeError(`Invalid properties option: ${JSON.stringify(n)}. It must be "flatten", "prepend:", or "nest:".`);let i;return e?i=o=>{if(typeof o.rawMessage=="string")return o.rawMessage;let s="";for(let a=0;a{const s=o.message.length;if(s===1)return o.message[0];let a="";for(let c=0;cJSON.stringify({"@timestamp":new Date(o.timestamp).toISOString(),level:o.level==="warning"?"WARN":o.level.toUpperCase(),message:i(o),logger:r(o.category),...l(o.properties)})+` -`}Ye();const _e={trace:"background-color: gray; color: white;",debug:"background-color: gray; color: white;",info:"background-color: white; color: black;",warning:"background-color: orange; color: black;",error:"background-color: red; color: white;",fatal:"background-color: maroon; color: white;"};function He(t){let e="";const n=[];for(let i=0;i{const L=e(f),O=n[f.level];if(O===void 0)throw new TypeError(`Invalid log level: ${f.level}.`);if(typeof L=="string"){const S=L.replace(/\r?\n$/,"");r[O](S)}else r[O](...L)};if(!t.nonBlocking)return l;const i=t.nonBlocking===!0?{}:t.nonBlocking,o=i.bufferSize??100,s=i.flushInterval??100,a=[];let c=null,g=!1,h=!1;const b=o*2;function p(){if(a.length===0)return;const f=a.splice(0);for(const L of f)try{l(L)}catch{}}function T(){h||(h=!0,setTimeout(()=>{h=!1,p()},0))}function u(){c!==null||g||(c=setInterval(()=>{p()},s))}const v=f=>{g||(a.length>=b&&a.shift(),a.push(f),a.length>=o?T():c===null&&u())};return v[Symbol.dispose]=()=>{g=!0,c!==null&&(clearInterval(c),c=null),p()},v}let le=null;const Ae=new Set,_=new Set,qe=new Set;function Ke(t){return t.category.length===0||t.category.length===1&&t.category[0]==="logtape"||t.category.length===2&&t.category[0]==="logtape"&&t.category[1]==="meta"}function Ve(t){if(le!=null&&!t.reset)throw new R("Already configured; if you want to reset, turn on the reset flag.");if(qe.size>0)throw new R("Previously configured async disposables are still active. Use configure() instead or explicitly dispose them using dispose().");ue();try{Ze(t,!1)}catch(e){throw e instanceof R&&ue(),e}}function Ze(t,e){le=t;let n=!1;const r=new Set;for(const i of t.loggers){Ke(i)&&(n=!0);const o=Array.isArray(i.category)?JSON.stringify(i.category):JSON.stringify([i.category]);if(r.has(o))throw new R(`Duplicate logger configuration for category: ${o}. Each category can only be configured once.`);r.add(o);const s=F.getLogger(i.category);for(const a of i.sinks??[]){const c=t.sinks[a];if(!c)throw new R(`Sink not found: ${a}.`);s.sinks.push(c)}s.parentSinks=i.parentSinks??"inherit",i.lowestLevel!==void 0&&(s.lowestLevel=i.lowestLevel);for(const a of i.filters??[]){const c=t.filters?.[a];if(c===void 0)throw new R(`Filter not found: ${a}.`);s.filters.push(Ue(c))}Ae.add(s)}F.getLogger().contextLocalStorage=t.contextLocalStorage;for(const i of Object.values(t.sinks)){if(Symbol.asyncDispose in i)throw new R("Async disposables cannot be used with configureSync().");Symbol.dispose in i&&_.add(i)}for(const i of Object.values(t.filters??{}))if(!(i==null||typeof i=="string")){if(Symbol.asyncDispose in i)throw new R("Async disposables cannot be used with configureSync().");Symbol.dispose in i&&_.add(i)}if(typeof globalThis.EdgeRuntime!="string"&&"process"in globalThis&&!("Deno"in globalThis)){const i=globalThis.process,o=i?.on;typeof o=="function"&&o.call(i,"exit",ne)}else addEventListener("unload",ne);const l=F.getLogger(["logtape","meta"]);n||l.sinks.push($e()),l.info("LogTape loggers are configured. Note that LogTape itself uses the meta logger, which has category {metaLoggerCategory}. The meta logger purposes to log internal errors such as sink exceptions. If you are seeing this message, the meta logger is automatically configured. It's recommended to configure the meta logger with a separate sink so that you can easily notice if logging itself fails or is misconfigured. To turn off this message, configure the meta logger with higher log levels than {dismissLevel}. See also .",{metaLoggerCategory:["logtape","meta"],dismissLevel:"info"})}function ue(){ne(),Qe()}function Qe(){const t=F.getLogger([]);t.resetDescendants(),delete t.contextLocalStorage,Ae.clear(),le=null}function ne(){for(const t of _)t[Symbol.dispose]();_.clear()}var R=class extends Error{constructor(t){super(t),this.name="ConfigureError"}};const ee=10,he=(t=0)=>e=>`\x1B[${e+t}m`,pe=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,ye=(t=0)=>(e,n,r)=>`\x1B[${38+t};2;${e};${n};${r}m`,m={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(m.modifier);const Xe=Object.keys(m.color),et=Object.keys(m.bgColor);[...Xe,...et];function tt(){const t=new Map;for(const[e,n]of Object.entries(m)){for(const[r,l]of Object.entries(n))m[r]={open:`\x1B[${l[0]}m`,close:`\x1B[${l[1]}m`},n[r]=m[r],t.set(l[0],l[1]);Object.defineProperty(m,e,{value:n,enumerable:!1})}return Object.defineProperty(m,"codes",{value:t,enumerable:!1}),m.color.close="\x1B[39m",m.bgColor.close="\x1B[49m",m.color.ansi=he(),m.color.ansi256=pe(),m.color.ansi16m=ye(),m.bgColor.ansi=he(ee),m.bgColor.ansi256=pe(ee),m.bgColor.ansi16m=ye(ee),Object.defineProperties(m,{rgbToAnsi256:{value(e,n,r){return e===n&&n===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},enumerable:!1},hexToRgb:{value(e){const n=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!n)return[0,0,0];let[r]=n;r.length===3&&(r=[...r].map(i=>i+i).join(""));const l=Number.parseInt(r,16);return[l>>16&255,l>>8&255,l&255]},enumerable:!1},hexToAnsi256:{value:e=>m.rgbToAnsi256(...m.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let n,r,l;if(e>=232)n=((e-232)*10+8)/255,r=n,l=n;else{e-=16;const s=e%36;n=Math.floor(e/36)/5,r=Math.floor(s/6)/5,l=s%6/5}const i=Math.max(n,r,l)*2;if(i===0)return 30;let o=30+(Math.round(l)<<2|Math.round(r)<<1|Math.round(n));return i===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,n,r)=>m.ansi256ToAnsi(m.rgbToAnsi256(e,n,r)),enumerable:!1},hexToAnsi:{value:e=>m.ansi256ToAnsi(m.hexToAnsi256(e)),enumerable:!1}}),m}const A=tt(),de=(()=>{if(!("navigator"in globalThis))return 0;if(globalThis.navigator.userAgentData){const t=navigator.userAgentData.brands.find(({brand:e})=>e==="Chromium");if(t&&t.version>93)return 3}return/\b(Chrome|Chromium)\//.test(globalThis.navigator.userAgent)?1:0})(),ve=de!==0&&{level:de},nt={stdout:ve,stderr:ve};function rt(t,e,n){let r=t.indexOf(e);if(r===-1)return t;const l=e.length;let i=0,o="";do o+=t.slice(i,r)+e+n,i=r+l,r=t.indexOf(e,i);while(r!==-1);return o+=t.slice(i),o}function ot(t,e,n,r){let l=0,i="";do{const o=t[r-1]==="\r";i+=t.slice(l,o?r-1:r)+e+(o?`\r -`:` -`)+n,l=r+1,r=t.indexOf(` -`,l)}while(r!==-1);return i+=t.slice(l),i}const{stdout:me,stderr:be}=nt,re=Symbol("GENERATOR"),N=Symbol("STYLER"),z=Symbol("IS_EMPTY"),we=["ansi","ansi","ansi256","ansi16m"],D=Object.create(null),it=(t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=me?me.level:0;t.level=e.level===void 0?n:e.level},lt=t=>{const e=(...n)=>n.join(" ");return it(e,t),Object.setPrototypeOf(e,j.prototype),e};function j(t){return lt(t)}Object.setPrototypeOf(j.prototype,Function.prototype);for(const[t,e]of Object.entries(A))D[t]={get(){const n=H(this,ie(e.open,e.close,this[N]),this[z]);return Object.defineProperty(this,t,{value:n}),n}};D.visible={get(){const t=H(this,this[N],!0);return Object.defineProperty(this,"visible",{value:t}),t}};const oe=(t,e,n,...r)=>t==="rgb"?e==="ansi16m"?A[n].ansi16m(...r):e==="ansi256"?A[n].ansi256(A.rgbToAnsi256(...r)):A[n].ansi(A.rgbToAnsi(...r)):t==="hex"?oe("rgb",e,n,...A.hexToRgb(...r)):A[n][t](...r),st=["rgb","hex","ansi256"];for(const t of st){D[t]={get(){const{level:n}=this;return function(...r){const l=ie(oe(t,we[n],"color",...r),A.color.close,this[N]);return H(this,l,this[z])}}};const e="bg"+t[0].toUpperCase()+t.slice(1);D[e]={get(){const{level:n}=this;return function(...r){const l=ie(oe(t,we[n],"bgColor",...r),A.bgColor.close,this[N]);return H(this,l,this[z])}}}}const at=Object.defineProperties(()=>{},{...D,level:{enumerable:!0,get(){return this[re].level},set(t){this[re].level=t}}}),ie=(t,e,n)=>{let r,l;return n===void 0?(r=t,l=e):(r=n.openAll+t,l=e+n.closeAll),{open:t,close:e,openAll:r,closeAll:l,parent:n}},H=(t,e,n)=>{const r=(...l)=>ft(r,l.length===1?""+l[0]:l.join(" "));return Object.setPrototypeOf(r,at),r[re]=t,r[N]=e,r[z]=n,r},ft=(t,e)=>{if(t.level<=0||!e)return t[z]?"":e;let n=t[N];if(n===void 0)return e;const{openAll:r,closeAll:l}=n;if(e.includes("\x1B"))for(;n!==void 0;)e=rt(e,n.close,n.open),n=n.parent;const i=e.indexOf(` -`);return i!==-1&&(e=ot(e,l,r,i)),r+e+l};Object.defineProperties(j.prototype,D);const E=j();j({level:be?be.level:0});function Oe(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var G={exports:{}},ct=G.exports,Se;function gt(){return Se||(Se=1,(function(t){(function(e,n){t.exports?t.exports=n():e.log=n()})(ct,function(){var e=function(){},n="undefined",r=typeof window!==n&&typeof window.navigator!==n&&/Trident\/|MSIE /.test(window.navigator.userAgent),l=["trace","debug","info","warn","error"],i={},o=null;function s(u,v){var f=u[v];if(typeof f.bind=="function")return f.bind(u);try{return Function.prototype.bind.call(f,u)}catch{return function(){return Function.prototype.apply.apply(f,[u,arguments])}}}function a(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function c(u){return u==="debug"&&(u="log"),typeof console===n?!1:u==="trace"&&r?a:console[u]!==void 0?s(console,u):console.log!==void 0?s(console,"log"):e}function g(){for(var u=this.getLevel(),v=0;v=0&&w<=f.levels.SILENT)return w;throw new TypeError("log.setLevel() called with invalid level: "+y)}f.name=u,f.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},f.methodFactory=v||b,f.getLevel=function(){return S??O??L},f.setLevel=function(y,w){return S=k(y),w!==!1&&K(S),g.call(f)},f.setDefaultLevel=function(y){O=k(y),W()||f.setLevel(y,!1)},f.resetLevel=function(){S=null,x(),g.call(f)},f.enableAll=function(y){f.setLevel(f.levels.TRACE,y)},f.disableAll=function(y){f.setLevel(f.levels.SILENT,y)},f.rebuild=function(){if(o!==f&&(L=k(o.getLevel())),g.call(f),o===f)for(var y in i)i[y].rebuild()},L=k(o?o.getLevel():"WARN");var $=W();$!=null&&(S=k($)),g.call(f)}o=new p,o.getLogger=function(v){if(typeof v!="symbol"&&typeof v!="string"||v==="")throw new TypeError("You must supply a name when creating a logger.");var f=i[v];return f||(f=i[v]=new p(v,o.methodFactory)),f};var T=typeof window!==n?window.log:void 0;return o.noConflict=function(){return typeof window!==n&&window.log===o&&(window.log=T),o},o.getLoggers=function(){return i},o.default=o,o})})(G)),G.exports}var ut=gt();const ht=Oe(ut);var Y={exports:{}},pt=Y.exports,Te;function yt(){return Te||(Te=1,(function(t){(function(e,n){t.exports?t.exports=n():e.prefix=n(e)})(pt,function(e){var n=function(g){for(var h=1,b=arguments.length,p;h{a=e.b4,s=e.x,n=e.I,r=e.E,i=e.F,o=e.b5,c=e.b6,_=e.z,d=e.M,u=e.N,l=e.J,p=e.y,y=e.b7,m=e.K,b=e.b8,g=e.L,f=e.B,h=e.O,x=e.b9,v=e.al,k=e.ba,P=e.$},e=>{N=e.s},e=>{q=e.a9}],execute:function(){const t=e("N","bouton_panier"),w=e("j","contenu_panier"),I=(e("f","revalidation_livraison"),"maj_bouton_panier"),j="maj_contenu_panier",B=s({code:r(),data:s({status:n()}),message:r()}),T=s({body:B,status:n()}),L=s({code:o("rest_invalid_param"),data:s({details:s({billing:_(s({code:r(),data:d([u(),r()]),message:r()})),shipping:_(s({code:r(),data:d([u(),r()]),message:r()}))}),params:s({billing:_(r()),shipping:_(r())}),status:o(400)}),message:i(r(),c("Invalid parameter(s):"),c("_address"))}),M=(e("e",e=>a(L,e)),e("a",s({address_1:r(),address_2:r(),city:r(),company:r(),country:r(),email:r(),first_name:r(),last_name:r(),phone:r(),postcode:r(),state:r()}))),C=e("W",s({address_1:r(),address_2:r(),city:r(),company:r(),country:r(),first_name:r(),last_name:r(),phone:r(),postcode:r(),state:r()})),E=s({code:r(),discount_type:r(),totals:s({currency_code:r(),currency_decimal_separator:r(),currency_minor_unit:i(n(),l()),currency_prefix:r(),currency_suffix:r(),currency_symbol:r(),currency_thousand_separator:r(),total_discount:r(),total_discount_tax:r()})}),R=s({key:r(),name:r(),quantity:n()}),S=s({currency_code:r(),currency_decimal_separator:r(),currency_minor_unit:n(),currency_prefix:r(),currency_suffix:r(),currency_symbol:r(),currency_thousand_separator:r(),delivery_time:r(),description:r(),instance_id:n(),meta_data:p(g()),method_id:r(),name:r(),price:i(d([r(),n()]),b(Number)),rate_id:r(),selected:m(),taxes:r()}),V=e("b",p(S)),z=s({destination:y(C,["company","first_name","last_name","phone"]),items:p(R),name:r(),package_id:n(),shipping_rates:V}),D=s({currency_code:r(),currency_decimal_separator:r(),currency_minor_unit:n(),currency_prefix:r(),currency_suffix:r(),currency_symbol:r(),currency_thousand_separator:r(),line_subtotal:r(),line_subtotal_tax:r(),line_total:r(),line_total_tax:r()}),F=s({backorders_allowed:m(),catalog_visibility:f({INVISIBLE:"invisible",VISIBLE:"visible"}),description:r(),extensions:g(),id:n(),images:p(g()),item_data:p(g()),key:r(),low_stock_remaining:d([u()]),name:r(),permalink:i(r(),h()),prices:g(),quantity:n(),quantity_limits:g(),short_description:r(),show_backorder_badge:m(),sku:r(),sold_individually:m(),totals:D,type:r(),variation:p(g())}),J=e("g",s({currency_code:r(),currency_decimal_separator:r(),currency_minor_unit:n(),currency_prefix:r(),currency_suffix:r(),currency_symbol:r(),currency_thousand_separator:r(),tax_lines:p(g()),total_discount:i(d([r(),n()]),b(Number)),total_discount_tax:r(),total_fees:r(),total_fees_tax:r(),total_items:i(d([r(),n()]),b(Number)),total_items_tax:r(),total_price:i(d([r(),n()]),b(Number)),total_shipping:i(d([r(),n(),u()]),b(e=>e?Number(e):0)),total_shipping_tax:d([r(),u()]),total_tax:r()})),K=(e("c",s({billing_address:M,coupons:p(E),cross_sells:g(),errors:g(),extensions:g(),fees:g(),has_calculated_shipping:m(),items:p(F),items_count:i(n(),l()),items_weight:i(n(),l()),needs_payment:m(),needs_shipping:m(),payment_methods:g(),payment_requirements:g(),shipping_address:C,shipping_rates:p(z),totals:J})),s({quantiteProduits:n()})),O=s({donnees:K,type:i(r(),x(I))}),W=s({produits:p(F),sousTotalProduits:n(),sousTotalReduction:n(),totalPanier:n()}),$=s({donnees:W,type:i(r(),x(j))});e("h",e=>{const a=new BroadcastChannel(t);a.postMessage({donnees:{quantiteProduits:e.quantiteProduits},type:I}),a.close()}),e("i",e=>{const t=new BroadcastChannel(w);t.postMessage({donnees:{produits:e.produits,sousTotalProduits:e.sousTotalProduits,sousTotalReduction:e.sousTotalReduction,totalPanier:e.totalPanier},type:j}),t.close()}),e("d",(e,t)=>q(new BroadcastChannel(e),e=>((e,t)=>(e.postMessage(t),e))(e,t),e=>e.close())),e("v",e=>v.of(k(O,e.data)).ifLeft(e=>P(e))),e("k",e=>v.of(k($,e.data)).ifLeft(e=>P(e))),e("r",(e,t)=>N(e,T).map(e=>e.body.code===t).orDefault(!1))}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.br b/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.br deleted file mode 100644 index e7ab7d6b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.gz deleted file mode 100644 index ed55dd79..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.zst deleted file mode 100644 index 76cb950e..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/messages-legacy.PVpnHWo9.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js b/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js deleted file mode 100644 index a2b33e85..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js +++ /dev/null @@ -1 +0,0 @@ -import{b4 as x,x as a,I as s,E as e,F as r,b5 as h,b6 as S,z as p,M as c,N as l,J as y,y as i,b7 as I,K as _,b8 as d,L as o,B as N,O as E,b9 as g,al as C,ba as b,$ as f}from"./dom.BBcFv3WT.js";import{s as j}from"./validation.DpnMPnCH.js";import{a9 as A}from"./exports.JV8YQBqW.js";const B="bouton_panier",W="contenu_panier",X="revalidation_livraison",m={MajBoutonPanier:"maj_bouton_panier",MajContenuPanier:"maj_contenu_panier"},v=a({code:e(),data:a({status:s()}),message:e()}),T=a({body:v,status:s()}),R=a({code:h("rest_invalid_param"),data:a({details:a({billing:p(a({code:e(),data:c([l(),e()]),message:e()})),shipping:p(a({code:e(),data:c([l(),e()]),message:e()}))}),params:a({billing:p(e()),shipping:p(e())}),status:h(400)}),message:r(e(),S("Invalid parameter(s):"),S("_address"))}),Z=t=>x(R,t),L={INVISIBLE:"invisible",VISIBLE:"visible"},k=a({address_1:e(),address_2:e(),city:e(),company:e(),country:e(),email:e(),first_name:e(),last_name:e(),phone:e(),postcode:e(),state:e()}),M=a({address_1:e(),address_2:e(),city:e(),company:e(),country:e(),first_name:e(),last_name:e(),phone:e(),postcode:e(),state:e()}),O=a({code:e(),discount_type:e(),totals:a({currency_code:e(),currency_decimal_separator:e(),currency_minor_unit:r(s(),y()),currency_prefix:e(),currency_suffix:e(),currency_symbol:e(),currency_thousand_separator:e(),total_discount:e(),total_discount_tax:e()})}),q=a({key:e(),name:e(),quantity:s()}),w=a({currency_code:e(),currency_decimal_separator:e(),currency_minor_unit:s(),currency_prefix:e(),currency_suffix:e(),currency_symbol:e(),currency_thousand_separator:e(),delivery_time:e(),description:e(),instance_id:s(),meta_data:i(o()),method_id:e(),name:e(),price:r(c([e(),s()]),d(Number)),rate_id:e(),selected:_(),taxes:e()}),V=i(w),D=a({destination:I(M,["company","first_name","last_name","phone"]),items:i(q),name:e(),package_id:s(),shipping_rates:V}),U=a({currency_code:e(),currency_decimal_separator:e(),currency_minor_unit:s(),currency_prefix:e(),currency_suffix:e(),currency_symbol:e(),currency_thousand_separator:e(),line_subtotal:e(),line_subtotal_tax:e(),line_total:e(),line_total_tax:e()}),P=a({backorders_allowed:_(),catalog_visibility:N(L),description:e(),extensions:o(),id:s(),images:i(o()),item_data:i(o()),key:e(),low_stock_remaining:c([l()]),name:e(),permalink:r(e(),E()),prices:o(),quantity:s(),quantity_limits:o(),short_description:e(),show_backorder_badge:_(),sku:e(),sold_individually:_(),totals:U,type:e(),variation:i(o())}),G=a({currency_code:e(),currency_decimal_separator:e(),currency_minor_unit:s(),currency_prefix:e(),currency_suffix:e(),currency_symbol:e(),currency_thousand_separator:e(),tax_lines:i(o()),total_discount:r(c([e(),s()]),d(Number)),total_discount_tax:e(),total_fees:e(),total_fees_tax:e(),total_items:r(c([e(),s()]),d(Number)),total_items_tax:e(),total_price:r(c([e(),s()]),d(Number)),total_shipping:r(c([e(),s(),l()]),d(t=>t?Number(t):0)),total_shipping_tax:c([e(),l()]),total_tax:e()}),ee=a({billing_address:k,coupons:i(O),cross_sells:o(),errors:o(),extensions:o(),fees:o(),has_calculated_shipping:_(),items:i(P),items_count:r(s(),y()),items_weight:r(s(),y()),needs_payment:_(),needs_shipping:_(),payment_methods:o(),payment_requirements:o(),shipping_address:M,shipping_rates:i(D),totals:G}),$=a({quantiteProduits:s()}),z=a({donnees:$,type:r(e(),g(m.MajBoutonPanier))}),F=a({produits:i(P),sousTotalProduits:s(),sousTotalReduction:s(),totalPanier:s()}),J=a({donnees:F,type:r(e(),g(m.MajContenuPanier))}),K=(t,n)=>(t.postMessage(n),t),ae=t=>{const n=new BroadcastChannel(B);n.postMessage({donnees:{quantiteProduits:t.quantiteProduits},type:m.MajBoutonPanier}),n.close()},te=t=>{const n=new BroadcastChannel(W);n.postMessage({donnees:{produits:t.produits,sousTotalProduits:t.sousTotalProduits,sousTotalReduction:t.sousTotalReduction,totalPanier:t.totalPanier},type:m.MajContenuPanier}),n.close()},se=(t,n)=>A(new BroadcastChannel(t),u=>K(u,n),u=>u.close()),ne=t=>C.of(b(z,t.data)).ifLeft(n=>f(n)),oe=t=>C.of(b(J,t.data)).ifLeft(n=>f(n)),re=(t,n)=>j(t,T).map(u=>u.body.code===n).orDefault(!1);export{B as N,M as W,k as a,V as b,ee as c,se as d,Z as e,X as f,G as g,ae as h,te as i,W as j,oe as k,re as r,ne as v}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.br b/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.br deleted file mode 100644 index ae9b48ec..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.gz deleted file mode 100644 index a45093d8..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.zst deleted file mode 100644 index 0f7272d4..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/messages.B9cwwdUT.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js b/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js deleted file mode 100644 index 3df968d3..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./exports-legacy.CUaFfB0_.js"],function(n,t){"use strict";var r;return{setters:[n=>{r=n.a9}],execute:function(){function t(n,t){if(0===t)throw{RE_EXN_ID:"Division_by_zero",Error:new Error};return n%t}function u(n,t){return n+t}function e(n,t){return n-t}function i(n,t){return n*t}function o(n,t){return n/t}var c=t;function f(n,r){return[n/r,t(0|n,0|r)]}function l(n,t){return n>t}function s(n,t){return n>=t}function g(n,t){return nd.gte(n,t)&&d.lt(n,r)),n("d",n=>Number(n)/100),n("a",n=>r(Number(n),n=>n.toFixed(2))),n("i",n=>-1*Number(n)),n("f",n=>`${String(n)}€`)}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.br b/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.br deleted file mode 100644 index 8bba586c..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.gz deleted file mode 100644 index b63fe3f1..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.zst deleted file mode 100644 index 443d3218..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/nombres-legacy.BZrbZkuk.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js b/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js deleted file mode 100644 index 04116808..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js +++ /dev/null @@ -1 +0,0 @@ -import{a9 as h}from"./exports.JV8YQBqW.js";function _(n,t){if(t===0)throw{RE_EXN_ID:"Division_by_zero",Error:new Error};return n%t}function p(n){}function v(n){return n-1|0}function b(n){return n+1|0}function u(n,t){return n+t}function E(){if(arguments.length===1){const n=arguments;return function(r){return u(r,n[0])}}return u(arguments[0],arguments[1])}function e(n,t){return n-t}function N(){if(arguments.length===1){const n=arguments;return function(r){return e(r,n[0])}}return e(arguments[0],arguments[1])}function s(n,t){return n*t}function x(){if(arguments.length===1){const n=arguments;return function(r){return s(r,n[0])}}return s(arguments[0],arguments[1])}function o(n,t){return n/t}function D(){if(arguments.length===1){const n=arguments;return function(r){return o(r,n[0])}}return o(arguments[0],arguments[1])}var i=_;function M(){if(arguments.length===1){const n=arguments;return function(r){return i(r,n[0])}}return i(arguments[0],arguments[1])}function a(n,t){return[n/t,_(0|n,0|t)]}function y(){if(arguments.length===1){const n=arguments;return function(r){return a(r,n[0])}}return a(arguments[0],arguments[1])}function f(n,t){return n>t}function w(){if(arguments.length===1){const n=arguments;return function(r){return f(r,n[0])}}return f(arguments[0],arguments[1])}function g(n,t){return n>=t}function W(){if(arguments.length===1){const n=arguments;return function(r){return g(r,n[0])}}return g(arguments[0],arguments[1])}function m(n,t){return nd.gte(n,t)&&d.lt(n,r),P=n=>Number(n)/100,R=n=>h(Number(n),t=>t.toFixed(2)),S=n=>Number(n)*-1,X=n=>`${String(n)}€`;export{R as a,P as d,I as e,X as f,S as i}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.br b/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.br deleted file mode 100644 index 85f7c6d6..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.gz deleted file mode 100644 index ae5e593b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.zst deleted file mode 100644 index 2e0c3707..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/nombres.C1uiwPb_.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/polyfills-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/polyfills-legacy.js deleted file mode 100644 index 0616cace..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/polyfills-legacy.js +++ /dev/null @@ -1,4 +0,0 @@ -!function(){"use strict";var r,t,n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e={};function i(){if(t)return r;t=1;var e=function(r){return r&&r.Math===Math&&r};return r=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||e("object"==typeof r&&r)||function(){return this}()||Function("return this")()}var o,u,a,f,c,s,v,h,l={};function p(){return u?o:(u=1,o=function(r){try{return!!r()}catch(t){return!0}})}function d(){if(f)return a;f=1;var r=p();return a=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function y(){if(s)return c;s=1;var r=p();return c=!r(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})}function g(){if(h)return v;h=1;var r=y(),t=Function.prototype.call;return v=r?t.bind(t):function(){return t.apply(t,arguments)},v}var w,m,b,E,S,O,R,A,I,T,x,j,_,P,D,C,N,U,k,L,M,F,B,z,H,W,J,V,Y,$,G,q,X,Q,Z,K,rr,tr,nr,er,ir,or={};function ur(){return b?m:(b=1,m=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function ar(){if(S)return E;S=1;var r=y(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return E=r?e:function(r){return function(){return n.apply(r,arguments)}},E}function fr(){if(R)return O;R=1;var r=ar(),t=r({}.toString),n=r("".slice);return O=function(r){return n(t(r),8,-1)}}function cr(){return x?T:(x=1,T=function(r){return null==r})}function sr(){if(_)return j;_=1;var r=cr(),t=TypeError;return j=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function vr(){if(D)return P;D=1;var r=function(){if(I)return A;I=1;var r=ar(),t=p(),n=fr(),e=Object,i=r("".split);return A=t(function(){return!e("z").propertyIsEnumerable(0)})?function(r){return"String"===n(r)?i(r,""):e(r)}:e}(),t=sr();return P=function(n){return r(t(n))}}function hr(){if(N)return C;N=1;var r="object"==typeof document&&document.all;return C=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function lr(){if(k)return U;k=1;var r=hr();return U=function(t){return"object"==typeof t?null!==t:r(t)}}function pr(){if(M)return L;M=1;var r=i(),t=hr();return L=function(n,e){return arguments.length<2?(i=r[n],t(i)?i:void 0):r[n]&&r[n][e];var i},L}function dr(){if(B)return F;B=1;var r=ar();return F=r({}.isPrototypeOf)}function yr(){if(H)return z;H=1;var r=i().navigator,t=r&&r.userAgent;return z=t?String(t):""}function gr(){if(J)return W;J=1;var r,t,n=i(),e=yr(),o=n.process,u=n.Deno,a=o&&o.versions||u&&u.version,f=a&&a.v8;return f&&(t=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),W=t}function wr(){if(Y)return V;Y=1;var r=gr(),t=p(),n=i().String;return V=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})}function mr(){if(G)return $;G=1;var r=wr();return $=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function br(){if(X)return q;X=1;var r=pr(),t=hr(),n=dr(),e=mr(),i=Object;return q=e?function(r){return"symbol"==typeof r}:function(e){var o=r("Symbol");return t(o)&&n(o.prototype,i(e))}}function Er(){if(Z)return Q;Z=1;var r=String;return Q=function(t){try{return r(t)}catch(n){return"Object"}}}function Sr(){if(rr)return K;rr=1;var r=hr(),t=Er(),n=TypeError;return K=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function Or(){if(nr)return tr;nr=1;var r=Sr(),t=cr();return tr=function(n,e){var i=n[e];return t(i)?void 0:r(i)}}function Rr(){if(ir)return er;ir=1;var r=g(),t=hr(),n=lr(),e=TypeError;return er=function(i,o){var u,a;if("string"===o&&t(u=i.toString)&&!n(a=r(u,i)))return a;if(t(u=i.valueOf)&&!n(a=r(u,i)))return a;if("string"!==o&&t(u=i.toString)&&!n(a=r(u,i)))return a;throw new e("Can't convert object to primitive value")}}var Ar,Ir,Tr,xr,jr,_r,Pr,Dr,Cr,Nr,Ur,kr,Lr,Mr,Fr,Br,zr,Hr,Wr,Jr,Vr,Yr,$r,Gr,qr={exports:{}};function Xr(){return Ir?Ar:(Ir=1,Ar=!1)}function Qr(){if(xr)return Tr;xr=1;var r=i(),t=Object.defineProperty;return Tr=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(i){r[n]=e}return e}}function Zr(){if(jr)return qr.exports;jr=1;var r=Xr(),t=i(),n=Qr(),e="__core-js_shared__",o=qr.exports=t[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.47.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"}),qr.exports}function Kr(){if(Pr)return _r;Pr=1;var r=Zr();return _r=function(t,n){return r[t]||(r[t]=n||{})}}function rt(){if(Cr)return Dr;Cr=1;var r=sr(),t=Object;return Dr=function(n){return t(r(n))}}function tt(){if(Ur)return Nr;Ur=1;var r=ar(),t=rt(),n=r({}.hasOwnProperty);return Nr=Object.hasOwn||function(r,e){return n(t(r),e)}}function nt(){if(Lr)return kr;Lr=1;var r=ar(),t=0,n=Math.random(),e=r(1.1.toString);return kr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function et(){if(Fr)return Mr;Fr=1;var r=i(),t=Kr(),n=tt(),e=nt(),o=wr(),u=mr(),a=r.Symbol,f=t("wks"),c=u?a.for||a:a&&a.withoutSetter||e;return Mr=function(r){return n(f,r)||(f[r]=o&&n(a,r)?a[r]:c("Symbol."+r)),f[r]}}function it(){if(zr)return Br;zr=1;var r=g(),t=lr(),n=br(),e=Or(),i=Rr(),o=et(),u=TypeError,a=o("toPrimitive");return Br=function(o,f){if(!t(o)||n(o))return o;var c,s=e(o,a);if(s){if(void 0===f&&(f="default"),c=r(s,o,f),!t(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===f&&(f="number"),i(o,f)}}function ot(){if(Wr)return Hr;Wr=1;var r=it(),t=br();return Hr=function(n){var e=r(n,"string");return t(e)?e:e+""}}function ut(){if(Vr)return Jr;Vr=1;var r=i(),t=lr(),n=r.document,e=t(n)&&t(n.createElement);return Jr=function(r){return e?n.createElement(r):{}}}function at(){if($r)return Yr;$r=1;var r=d(),t=p(),n=ut();return Yr=!r&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function ft(){if(Gr)return l;Gr=1;var r=d(),t=g(),n=function(){if(w)return or;w=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return or.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,or}(),e=ur(),i=vr(),o=ot(),u=tt(),a=at(),f=Object.getOwnPropertyDescriptor;return l.f=r?f:function(r,c){if(r=i(r),c=o(c),a)try{return f(r,c)}catch(s){}if(u(r,c))return e(!t(n.f,r,c),r[c])},l}var ct,st,vt,ht,lt,pt,dt,yt={};function gt(){if(st)return ct;st=1;var r=d(),t=p();return ct=r&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function wt(){if(ht)return vt;ht=1;var r=lr(),t=String,n=TypeError;return vt=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function mt(){if(lt)return yt;lt=1;var r=d(),t=at(),n=gt(),e=wt(),i=ot(),o=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,f="enumerable",c="configurable",s="writable";return yt.f=r?n?function(r,t,n){if(e(r),t=i(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&s in n&&!n[s]){var o=a(r,t);o&&o[s]&&(r[t]=n.value,n={configurable:c in n?n[c]:o[c],enumerable:f in n?n[f]:o[f],writable:!1})}return u(r,t,n)}:u:function(r,n,a){if(e(r),n=i(n),e(a),t)try{return u(r,n,a)}catch(f){}if("get"in a||"set"in a)throw new o("Accessors not supported");return"value"in a&&(r[n]=a.value),r},yt}function bt(){if(dt)return pt;dt=1;var r=d(),t=mt(),n=ur();return pt=r?function(r,e,i){return t.f(r,e,n(1,i))}:function(r,t,n){return r[t]=n,r}}var Et,St,Ot,Rt,At,It,Tt,xt,jt,_t,Pt,Dt,Ct,Nt,Ut,kt={exports:{}};function Lt(){if(Rt)return Ot;Rt=1;var r=ar(),t=hr(),n=Zr(),e=r(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(r){return e(r)}),Ot=n.inspectSource}function Mt(){if(xt)return Tt;xt=1;var r=Kr(),t=nt(),n=r("keys");return Tt=function(r){return n[r]||(n[r]=t(r))}}function Ft(){return _t?jt:(_t=1,jt={})}function Bt(){if(Dt)return Pt;Dt=1;var r,t,n,e=function(){if(It)return At;It=1;var r=i(),t=hr(),n=r.WeakMap;return At=t(n)&&/native code/.test(String(n))}(),o=i(),u=lr(),a=bt(),f=tt(),c=Zr(),s=Mt(),v=Ft(),h="Object already initialized",l=o.TypeError,p=o.WeakMap;if(e||c.state){var d=c.state||(c.state=new p);d.get=d.get,d.has=d.has,d.set=d.set,r=function(r,t){if(d.has(r))throw new l(h);return t.facade=r,d.set(r,t),t},t=function(r){return d.get(r)||{}},n=function(r){return d.has(r)}}else{var y=s("state");v[y]=!0,r=function(r,t){if(f(r,y))throw new l(h);return t.facade=r,a(r,y,t),t},t=function(r){return f(r,y)?r[y]:{}},n=function(r){return f(r,y)}}return Pt={set:r,get:t,has:n,enforce:function(e){return n(e)?t(e):r(e,{})},getterFor:function(r){return function(n){var e;if(!u(n)||(e=t(n)).type!==r)throw new l("Incompatible receiver, "+r+" required");return e}}}}function zt(){if(Ct)return kt.exports;Ct=1;var r=ar(),t=p(),n=hr(),e=tt(),i=d(),o=function(){if(St)return Et;St=1;var r=d(),t=tt(),n=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,i=t(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!r||r&&e(n,"name").configurable);return Et={EXISTS:i,PROPER:o,CONFIGURABLE:u}}().CONFIGURABLE,u=Lt(),a=Bt(),f=a.enforce,c=a.get,s=String,v=Object.defineProperty,h=r("".slice),l=r("".replace),y=r([].join),g=i&&!t(function(){return 8!==v(function(){},"length",{value:8}).length}),w=String(String).split("String"),m=kt.exports=function(r,t,n){"Symbol("===h(s(t),0,7)&&(t="["+l(s(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!e(r,"name")||o&&r.name!==t)&&(i?v(r,"name",{value:t,configurable:!0}):r.name=t),g&&n&&e(n,"arity")&&r.length!==n.arity&&v(r,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?i&&v(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(a){}var u=f(r);return e(u,"source")||(u.source=y(w,"string"==typeof t?t:"")),r};return Function.prototype.toString=m(function(){return n(this)&&c(this).source||u(this)},"toString"),kt.exports}function Ht(){if(Ut)return Nt;Ut=1;var r=hr(),t=mt(),n=zt(),e=Qr();return Nt=function(i,o,u,a){a||(a={});var f=a.enumerable,c=void 0!==a.name?a.name:o;if(r(u)&&n(u,c,a),a.global)f?i[o]=u:e(o,u);else{try{a.unsafe?i[o]&&(f=!0):delete i[o]}catch(s){}f?i[o]=u:t.f(i,o,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return i}}var Wt,Jt,Vt,Yt,$t,Gt,qt,Xt,Qt,Zt,Kt,rn,tn,nn,en,on,un,an={};function fn(){if(Yt)return Vt;Yt=1;var r=function(){if(Jt)return Wt;Jt=1;var r=Math.ceil,t=Math.floor;return Wt=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return Vt=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function cn(){if(Gt)return $t;Gt=1;var r=fn(),t=Math.max,n=Math.min;return $t=function(e,i){var o=r(e);return o<0?t(o+i,0):n(o,i)}}function sn(){if(Xt)return qt;Xt=1;var r=fn(),t=Math.min;return qt=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function vn(){if(Zt)return Qt;Zt=1;var r=sn();return Qt=function(t){return r(t.length)}}function hn(){if(nn)return tn;nn=1;var r=ar(),t=tt(),n=vr(),e=function(){if(rn)return Kt;rn=1;var r=vr(),t=cn(),n=vn(),e=function(e){return function(i,o,u){var a=r(i),f=n(a);if(0===f)return!e&&-1;var c,s=t(u,f);if(e&&o!=o){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((e||s in a)&&a[s]===o)return e||s||0;return!e&&-1}};return Kt={includes:e(!0),indexOf:e(!1)}}().indexOf,i=Ft(),o=r([].push);return tn=function(r,u){var a,f=n(r),c=0,s=[];for(a in f)!t(i,a)&&t(f,a)&&o(s,a);for(;u.length>c;)t(f,a=u[c++])&&(~e(s,a)||o(s,a));return s}}function ln(){return on?en:(on=1,en=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var pn,dn,yn,gn,wn,mn,bn,En,Sn,On,Rn,An,In,Tn,xn,jn,_n={};function Pn(){if(yn)return dn;yn=1;var r=pr(),t=ar(),n=function(){if(un)return an;un=1;var r=hn(),t=ln().concat("length","prototype");return an.f=Object.getOwnPropertyNames||function(n){return r(n,t)},an}(),e=(pn||(pn=1,_n.f=Object.getOwnPropertySymbols),_n),i=wt(),o=t([].concat);return dn=r("Reflect","ownKeys")||function(r){var t=n.f(i(r)),u=e.f;return u?o(t,u(r)):t}}function Dn(){if(wn)return gn;wn=1;var r=tt(),t=Pn(),n=ft(),e=mt();return gn=function(i,o,u){for(var a=t(o),f=e.f,c=n.f,s=0;s9007199254740991)throw r("Maximum allowed index exceeded");return t}}!function(){if(jn)return e;jn=1;var r=Cn(),t=rt(),n=vn(),i=function(){if(In)return An;In=1;var r=d(),t=Nn(),n=TypeError,e=Object.getOwnPropertyDescriptor,i=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();return An=i?function(r,i){if(t(r)&&!e(r,"length").writable)throw new n("Cannot set read only .length");return r.length=i}:function(r,t){return r.length=t}}(),o=Un();r({target:"Array",proto:!0,arity:1,forced:p()(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}}()},{push:function(r){var e=t(this),u=n(e),a=arguments.length;o(u+a);for(var f=0;f92||"NODE"===e&&n>94||"BROWSER"===e&&n>97)return!1;var r=new ArrayBuffer(8),t=o(r,{transfer:[r]});return 0!==r.byteLength||8!==t.byteLength})}function Se(){if(he)return ve;he=1;var r,t,n,e,o=i(),u=be(),a=Ee(),f=o.structuredClone,c=o.ArrayBuffer,s=o.MessageChannel,v=!1;if(a)v=function(r){f(r,{transfer:[r]})};else if(c)try{s||(r=u("worker_threads"))&&(s=r.MessageChannel),s&&(t=new s,n=new c(2),e=function(r){t.port1.postMessage(null,[r])},2===n.byteLength&&(e(n),0===n.byteLength&&(v=e)))}catch(h){}return ve=v}function Oe(){if(pe)return le;pe=1;var r=i(),t=ar(),n=Xn(),e=ge(),o=we(),u=Qn(),a=Se(),f=Ee(),c=r.structuredClone,s=r.ArrayBuffer,v=r.DataView,h=Math.min,l=s.prototype,p=v.prototype,d=t(l.slice),y=n(l,"resizable","get"),g=n(l,"maxByteLength","get"),w=t(p.getInt8),m=t(p.setInt8);return le=(f||a)&&function(r,t,n){var i,l=u(r),p=void 0===t?l:e(t),b=!y||!y(r);if(o(r),f&&(r=c(r,{transfer:[r]}),l===p&&(n||b)))return r;if(l>=p&&(!n||b))i=d(r,0,p);else{var E=n&&!b&&g?{maxByteLength:g(r)}:void 0;i=new s(p,E);for(var S=new v(r),O=new v(i),R=h(p,l),A=0;As;)n.f(r,u=f[s++],a[u]);return r},Ge}(),e=ln(),i=Ft(),o=Xe(),u=ut(),a=Mt(),f="prototype",c="script",s=a("IE_PROTO"),v=function(){},h=function(r){return"<"+c+">"+r+""},l=function(r){r.write(h("")),r.close();var t=r.parentWindow.Object;return r=null,t},p=function(){try{r=new ActiveXObject("htmlfile")}catch(s){}var t,n,i;p="undefined"!=typeof document?document.domain&&r?l(r):(n=u("iframe"),i="java"+c+":",n.style.display="none",o.appendChild(n),n.src=String(i),(t=n.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):l(r);for(var a=e.length;a--;)delete p[f][e[a]];return p()};return i[s]=!0,We=Object.create||function(r,e){var i;return null!==r?(v[f]=t(r),i=new v,v[f]=null,i[s]=r):i=p(),void 0===e?i:n.f(i,e)}}function Ze(){if(Ye)return Ve;Ye=1;var r,t,n,e=p(),i=hr(),o=lr(),u=Qe(),a=ke(),f=Ht(),c=et(),s=Xr(),v=c("iterator"),h=!1;return[].keys&&("next"in(n=[].keys())?(t=a(a(n)))!==Object.prototype&&(r=t):h=!0),!o(r)||e(function(){var t={};return r[v].call(t)!==t})?r={}:s&&(r=u(r)),i(r[v])||f(r,v,function(){return this}),Ve={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}}!function(){if($e)return Ne;$e=1;var r=Cn(),t=i(),n=Ue(),e=wt(),o=hr(),u=ke(),a=Gn(),f=Le(),c=p(),s=tt(),v=et(),h=Ze().IteratorPrototype,l=d(),y=Xr(),g="constructor",w="Iterator",m=v("toStringTag"),b=TypeError,E=t[w],S=y||!o(E)||E.prototype!==h||!c(function(){E({})}),O=function(){if(n(this,h),u(this)===h)throw new b("Abstract class Iterator not directly constructable")},R=function(r,t){l?a(h,r,{configurable:!0,get:function(){return t},set:function(t){if(e(this),this===h)throw new b("You can't redefine this property");s(this,r)?this[r]=t:f(this,r,t)}}):h[r]=t};s(h,m)||R(m,w),!S&&s(h,g)&&h[g]!==Object||R(g,O),O.prototype=h,r({global:!0,constructor:!0,forced:S},{Iterator:O})}();var Ke,ri,ti,ni,ei,ii,oi,ui,ai,fi,ci,si,vi,hi,li,pi,di,yi,gi,wi,mi,bi,Ei,Si,Oi,Ri={};function Ai(){if(ni)return ti;ni=1;var r=function(){if(ri)return Ke;ri=1;var r=fr(),t=ar();return Ke=function(n){if("Function"===r(n))return t(n)}}(),t=Sr(),n=y(),e=r(r.bind);return ti=function(r,i){return t(r),void 0===i?r:n?e(r,i):function(){return r.apply(i,arguments)}},ti}function Ii(){return ii?ei:(ii=1,ei={})}function Ti(){if(ui)return oi;ui=1;var r=et(),t=Ii(),n=r("iterator"),e=Array.prototype;return oi=function(r){return void 0!==r&&(t.Array===r||e[n]===r)}}function xi(){if(si)return ci;si=1;var r=function(){if(fi)return ai;fi=1;var r={};return r[et()("toStringTag")]="z",ai="[object z]"===String(r)}(),t=hr(),n=fr(),e=et()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return ci=r?n:function(r){var u,a,f;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(a=function(r,t){try{return r[t]}catch(n){}}(u=i(r),e))?a:o?n(u):"Object"===(f=n(u))&&t(u.callee)?"Arguments":f}}function ji(){if(hi)return vi;hi=1;var r=xi(),t=Or(),n=cr(),e=Ii(),i=et()("iterator");return vi=function(o){if(!n(o))return t(o,i)||t(o,"@@iterator")||e[r(o)]}}function _i(){if(pi)return li;pi=1;var r=g(),t=Sr(),n=wt(),e=Er(),i=ji(),o=TypeError;return li=function(u,a){var f=arguments.length<2?i(u):a;if(t(f))return n(r(f,u));throw new o(e(u)+" is not iterable")},li}function Pi(){if(yi)return di;yi=1;var r=g(),t=wt(),n=Or();return di=function(e,i,o){var u,a;t(e);try{if(!(u=n(e,"return"))){if("throw"===i)throw o;return o}u=r(u,e)}catch(f){a=!0,u=f}if("throw"===i)throw o;if(a)throw u;return t(u),o}}function Di(){if(wi)return gi;wi=1;var r=Ai(),t=g(),n=wt(),e=Er(),i=Ti(),o=vn(),u=dr(),a=_i(),f=ji(),c=Pi(),s=TypeError,v=function(r,t){this.stopped=r,this.result=t},h=v.prototype;return gi=function(l,p,d){var y,g,w,m,b,E,S,O=d&&d.that,R=!(!d||!d.AS_ENTRIES),A=!(!d||!d.IS_RECORD),I=!(!d||!d.IS_ITERATOR),T=!(!d||!d.INTERRUPTED),x=r(p,O),j=function(r){return y&&c(y,"normal"),new v(!0,r)},_=function(r){return R?(n(r),T?x(r[0],r[1],j):x(r[0],r[1])):T?x(r,j):x(r)};if(A)y=l.iterator;else if(I)y=l;else{if(!(g=f(l)))throw new s(e(l)+" is not iterable");if(i(g)){for(w=0,m=o(l);m>w;w++)if((b=_(l[w]))&&u(h,b))return b;return new v(!1)}y=a(l,g)}for(E=A?l.next:y.next;!(S=t(E,y)).done;){try{b=_(S.value)}catch(P){c(y,"throw",P)}if("object"==typeof b&&b&&u(h,b))return b}return new v(!1)}}function Ci(){return bi?mi:(bi=1,mi=function(r){return{iterator:r,next:r.next,done:!1}})}function Ni(){if(Si)return Ei;Si=1;var r=i();return Ei=function(t,n){var e=r.Iterator,i=e&&e.prototype,o=i&&i[t],u=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){u=!0}},-1)}catch(a){a instanceof n||(u=!1)}if(!u)return o}}!function(){if(Oi)return Ri;Oi=1;var r=Cn(),t=g(),n=Di(),e=Sr(),i=wt(),o=Ci(),u=Pi(),a=Ni()("find",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:a},{find:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(a)return t(a,this,r);var f=o(this),c=0;return n(f,function(t,n){if(r(t,c++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}();var Ui,ki={};!function(){if(Ui)return ki;Ui=1;var r=Cn(),t=g(),n=Di(),e=Sr(),i=wt(),o=Ci(),u=Pi(),a=Ni()("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:a},{forEach:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(a)return t(a,this,r);var f=o(this),c=0;n(f,function(t){r(t,c++)},{IS_RECORD:!0})}})}();var Li,Mi,Fi,Bi,zi,Hi,Wi,Ji,Vi,Yi,$i,Gi,qi,Xi={};function Qi(){if(Mi)return Li;Mi=1;var r=Ht();return Li=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}}function Zi(){return Bi?Fi:(Bi=1,Fi=function(r,t){return{value:r,done:t}})}function Ki(){if(Hi)return zi;Hi=1;var r=Pi();return zi=function(t,n,e){for(var i=t.length-1;i>=0;i--)if(void 0!==t[i])try{e=r(t[i].iterator,n,e)}catch(o){n="throw",e=o}if("throw"===n)throw e;return e}}function ro(){if(Ji)return Wi;Ji=1;var r=g(),t=Qe(),n=bt(),e=Qi(),i=et(),o=Bt(),u=Or(),a=Ze().IteratorPrototype,f=Zi(),c=Pi(),s=Ki(),v=i("toStringTag"),h="IteratorHelper",l="WrapForValidIterator",p="normal",d="throw",y=o.set,w=function(n){var i=o.getterFor(n?l:h);return e(t(a),{next:function(){var r=i(this);if(n)return r.nextHandler();if(r.done)return f(void 0,!0);try{var t=r.nextHandler();return r.returnHandlerResult?t:f(t,r.done)}catch(e){throw r.done=!0,e}},return:function(){var t=i(this),e=t.iterator;if(t.done=!0,n){var o=u(e,"return");return o?r(o,e):f(void 0,!0)}if(t.inner)try{c(t.inner.iterator,p)}catch(a){return c(e,d,a)}if(t.openIters)try{s(t.openIters,p)}catch(a){return c(e,d,a)}return e&&c(e,p),f(void 0,!0)}})},m=w(!0),b=w(!1);return n(b,v,"Iterator Helper"),Wi=function(r,t,n){var e=function(e,i){i?(i.iterator=e.iterator,i.next=e.next):i=e,i.type=t?l:h,i.returnHandlerResult=!!n,i.nextHandler=r,i.counter=0,i.done=!1,y(this,i)};return e.prototype=t?m:b,e}}function to(){if(Yi)return Vi;Yi=1;var r=wt(),t=Pi();return Vi=function(n,e,i,o){try{return o?e(r(i)[0],i[1]):e(i)}catch(u){t(n,"throw",u)}}}function no(){return Gi?$i:(Gi=1,$i=function(r,t){var n="function"==typeof Iterator&&Iterator.prototype[r];if(n)try{n.call({next:null},t).next()}catch(e){return!0}})}!function(){if(qi)return Xi;qi=1;var r=Cn(),t=g(),n=Sr(),e=wt(),i=Ci(),o=ro(),u=to(),a=Pi(),f=no(),c=Ni(),s=Xr(),v=!s&&!f("map",function(){}),h=!s&&!v&&c("map",TypeError),l=s||v||h,p=o(function(){var r=this.iterator,n=e(t(this.next,r));if(!(this.done=!!n.done))return u(r,this.mapper,[n.value,this.counter++],!0)});r({target:"Iterator",proto:!0,real:!0,forced:l},{map:function(r){e(this);try{n(r)}catch(o){a(this,"throw",o)}return h?t(h,this,r):new p(i(this),{mapper:r})}})}();var eo,io,oo,uo={};function ao(){if(io)return eo;io=1;var r=y(),t=Function.prototype,n=t.apply,e=t.call;return eo="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),eo}!function(){if(oo)return uo;oo=1;var r=Cn(),t=Di(),n=Sr(),e=wt(),i=Ci(),o=Pi(),u=Ni(),a=ao(),f=p(),c=TypeError,s=f(function(){[].keys().reduce(function(){},void 0)}),v=!s&&u("reduce",c);r({target:"Iterator",proto:!0,real:!0,forced:s||v},{reduce:function(r){e(this);try{n(r)}catch(l){o(this,"throw",l)}var u=arguments.length<2,f=u?void 0:arguments[1];if(v)return a(v,this,u?[r]:[r,f]);var s=i(this),h=0;if(t(s,function(t){u?(u=!1,f=t):f=r(f,t,h),h++},{IS_RECORD:!0}),u)throw new c("Reduce of empty iterator with no initial value");return f}})}();var fo,co={};!function(){if(fo)return co;fo=1;var r=Cn(),t=g(),n=Di(),e=Sr(),i=wt(),o=Ci(),u=Pi(),a=Ni()("some",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:a},{some:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(a)return t(a,this,r);var f=o(this),c=0;return n(f,function(t,n){if(r(t,c++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}();var so,vo,ho,lo,po,yo,go,wo,mo,bo,Eo,So={};function Oo(){if(lo)return ho;lo=1;var r=xi(),t=String;return ho=function(n){if("Symbol"===r(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function Ro(){if(yo)return po;yo=1;var r=ar();return po=r([].slice)}function Ao(){if(wo)return go;wo=1;var r=ar(),t=tt(),n=SyntaxError,e=parseInt,i=String.fromCharCode,o=r("".charAt),u=r("".slice),a=r(/./.exec),f={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},c=/^[\da-f]{4}$/i,s=/^[\u0000-\u001F]$/;return go=function(r,v){for(var h=!0,l="";v1;return t.has(1)&&t.clear(),{done:n,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(r).size})},{difference:t})}();var ru,tu,nu,eu={};!function(){if(nu)return eu;nu=1;var r=Cn(),t=p(),n=function(){if(tu)return ru;tu=1;var r=$o(),t=Yo(),n=Qo(),e=Zo(),i=qo(),o=Go(),u=t.Set,a=t.add,f=t.has;return ru=function(t){var c=r(this),s=e(t),v=new u;return n(c)>s.size?o(s.getIterator(),function(r){f(c,r)&&a(v,r)}):i(c,function(r){s.includes(r)&&a(v,r)}),v}}();r({target:"Set",proto:!0,real:!0,forced:!Ko()("intersection",function(r){return 2===r.size&&r.has(1)&&r.has(2)})||t(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:n})}();var iu,ou,uu,au={};!function(){if(uu)return au;uu=1;var r=Cn(),t=function(){if(ou)return iu;ou=1;var r=$o(),t=Yo().has,n=Qo(),e=Zo(),i=qo(),o=Go(),u=Pi();return iu=function(a){var f=r(this),c=e(a);if(n(f)<=c.size)return!1!==i(f,function(r){if(c.includes(r))return!1},!0);var s=c.getIterator();return!1!==o(s,function(r){if(t(f,r))return u(s,"normal",!1)})}}();r({target:"Set",proto:!0,real:!0,forced:!Ko()("isDisjointFrom",function(r){return!r})},{isDisjointFrom:t})}();var fu,cu,su,vu={};!function(){if(su)return vu;su=1;var r=Cn(),t=function(){if(cu)return fu;cu=1;var r=$o(),t=Qo(),n=qo(),e=Zo();return fu=function(i){var o=r(this),u=e(i);return!(t(o)>u.size)&&!1!==n(o,function(r){if(!u.includes(r))return!1},!0)}}();r({target:"Set",proto:!0,real:!0,forced:!Ko()("isSubsetOf",function(r){return r})},{isSubsetOf:t})}();var hu,lu,pu,du={};!function(){if(pu)return du;pu=1;var r=Cn(),t=function(){if(lu)return hu;lu=1;var r=$o(),t=Yo().has,n=Qo(),e=Zo(),i=Go(),o=Pi();return hu=function(u){var a=r(this),f=e(u);if(n(a)2?e:r(n),u=new t(o);o>i;)u[i]=n[i++];return u},Ju}!function(){if(Yu)return $u;Yu=1;var r=Wu(),t=ar(),n=Sr(),e=Gu(),i=r.aTypedArray,o=r.getTypedArrayConstructor,u=r.exportTypedArrayMethod,a=t(r.TypedArrayPrototype.sort);u("toSorted",function(r){void 0!==r&&n(r);var t=i(this),u=e(o(t),t);return a(u,r)})}();var qu,Xu,Qu,Zu,Ku,ra,ta,na={};function ea(){if(Xu)return qu;Xu=1;var r=vn(),t=fn(),n=RangeError;return qu=function(e,i,o,u){var a=r(e),f=t(o),c=f<0?a+f:f;if(c>=a||c<0)throw new n("Incorrect index");for(var s=new i(a),v=0;v>16&255,i>>8&255,255&i];if(2===e){if(n&&0!==o[1])throw new v("Extra bits");return[o[0]]}if(3===e){if(n&&0!==o[2])throw new v("Extra bits");return[o[0],o[1]]}return o},y=function(r,t,n){for(var e=t.length,i=0;i0){if("stop-before-partial"===w)break;if("loose"!==w)throw new v("Missing padding");if(1===O.length)throw new v("Malformed padding: exactly one additional character");E=y(b,d(O,g,!1),E)}S=m;break}var A=l(r,R);if(++R,"="===A){if(O.length<2)throw new v("Padding is too early");if(R=p(r,R),2===O.length){if(R===m){if("stop-before-partial"===w)break;throw new v("Malformed padding: only one =")}"="===l(r,R)&&(++R,R=p(r,R))}if(R1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}}),ba}ma||(ma=1,Ia());var Ta,xa,ja,_a,Pa={};function Da(){if(ja)return Pa;ja=1;var r=Cn(),t=i(),n=Sa(),e=Aa(),o=we(),u=function(){if(xa)return Ta;xa=1;var r=i(),t=ar(),n=r.Uint8Array,e=r.SyntaxError,o=r.parseInt,u=Math.min,a=/[^\da-f]/i,f=t(a.exec),c=t("".slice);return Ta=function(r,t){var i=r.length;if(i%2!=0)throw new e("String should be an even number of characters");for(var s=t?u(t.length,i/2):i/2,v=t||new n(s),h=0,l=0;l>6*r&63)};l+2n.length&&"/"!==e[e.length-1]))return e+r.slice(n.length);f("W2",n,e)}}function f(t,n,e){console.warn(r(t,[e,n].join(", ")))}function c(r,t,n){for(var e=r.scopes,i=n&&u(n,e);i;){var o=a(t,e[i]);if(o)return o;i=u(i.slice(0,i.lastIndexOf("/")),e)}return a(t,r.imports)||-1!==t.indexOf(":")&&t}function s(){this[I]={}}function v(t,n,e,i){var o=t[I][n];if(o)return o;var u=[],a=Object.create(null);A&&Object.defineProperty(a,A,{value:"Module"});var f=Promise.resolve().then(function(){return t.instantiate(n,e,i)}).then(function(e){if(!e)throw Error(r(2,n));var i=e[1](function(r,t){o.h=!0;var n=!1;if("string"==typeof r)r in a&&a[r]===t||(a[r]=t,n=!0);else{for(var e in r)t=r[e],e in a&&a[e]===t||(a[e]=t,n=!0);r&&r.__esModule&&(a.__esModule=r.__esModule)}if(n)for(var i=0;i-1){var n=document.createEvent("Event");n.initEvent("error",!1,!1),t.dispatchEvent(n)}return Promise.reject(r)})}else if("systemjs-importmap"===t.type){t.sp=!0;var n=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,priority:t.fetchPriority,passThrough:!0}).then(function(r){if(!r.ok)throw Error(r.status);return r.text()}).catch(function(n){return n.message=r("W4",t.src)+"\n"+n.message,console.warn(n),"function"==typeof t.onerror&&t.onerror(),"{}"}):t.innerHTML;P=P.then(function(){return n}).then(function(n){!function(t,n,e){var i={};try{i=JSON.parse(n)}catch(a){console.warn(Error(r("W5")))}o(i,e,t)}(D,n,t.src||y)})}})}var y,g="undefined"!=typeof Symbol,w="undefined"!=typeof self,m="undefined"!=typeof document,b=w?self:n;if(m){var E=document.querySelector("base[href]");E&&(y=E.href)}if(!y&&"undefined"!=typeof location){var S=(y=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==S&&(y=y.slice(0,S+1))}var O,R=/\\/g,A=g&&Symbol.toStringTag,I=g?Symbol():"@",T=s.prototype;T.import=function(r,t,n){var e=this;return t&&"object"==typeof t&&(n=t,t=void 0),Promise.resolve(e.prepareImport()).then(function(){return e.resolve(r,t,n)}).then(function(r){var t=v(e,r,void 0,n);return t.C||l(e,t)})},T.createContext=function(r){var t=this;return{url:r,resolve:function(n,e){return Promise.resolve(t.resolve(n,e||r))}}},T.register=function(r,t,n){O=[r,t,n]},T.getRegister=function(){var r=O;return O=void 0,r};var x=Object.freeze(Object.create(null));b.System=new s;var j,_,P=Promise.resolve(),D={imports:{},scopes:{},depcache:{},integrity:{}},C=m;if(T.prepareImport=function(r){return(C||r)&&(d(),C=!1),P},T.getImportMap=function(){return JSON.parse(JSON.stringify(D))},m&&(d(),window.addEventListener("DOMContentLoaded",d)),T.addImportMap=function(r,t){o(r,t||y,D)},m){window.addEventListener("error",function(r){U=r.filename,k=r.error});var N=location.origin}T.createScript=function(r){var t=document.createElement("script");t.async=!0,r.indexOf(N+"/")&&(t.crossOrigin="anonymous");var n=D.integrity[r];return n&&(t.integrity=n),t.src=r,t};var U,k,L={},M=T.register;T.register=function(r,t){if(m&&"loading"===document.readyState&&"string"!=typeof r){var n=document.querySelectorAll("script[src]"),e=n[n.length-1];if(e){j=r;var i=this;_=setTimeout(function(){L[e.src]=[r,t],i.import(e.src)})}}else j=void 0;return M.call(this,r,t)},T.instantiate=function(t,n){var e=L[t];if(e)return delete L[t],e;var i=this;return Promise.resolve(T.createScript(t)).then(function(e){return new Promise(function(o,u){e.addEventListener("error",function(){u(Error(r(3,[t,n].join(", "))))}),e.addEventListener("load",function(){if(document.head.removeChild(e),U===t)u(k);else{var r=i.getRegister(t);r&&r[0]===j&&clearTimeout(_),o(r)}}),document.head.appendChild(e)})})},T.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(T.fetch=fetch);var F=T.instantiate,B=/^(text|application)\/(x-)?javascript(;|$)/;T.instantiate=function(t,n,e){var i=this;return this.shouldFetch(t,n,e)?this.fetch(t,{credentials:"same-origin",integrity:D.integrity[t],meta:e}).then(function(e){if(!e.ok)throw Error(r(7,[e.status,e.statusText,t,n].join(", ")));var o=e.headers.get("content-type");if(!o||!B.test(o))throw Error(r(4,o));return e.text().then(function(r){return r.indexOf("//# sourceURL=")<0&&(r+="\n//# sourceURL="+t),(0,eval)(r),i.getRegister(t)})}):F.apply(this,arguments)},T.resolve=function(n,e){return c(D,t(n,e=e||y)||n,e)||function(t,n){throw Error(r(8,[t,n].join(", ")))}(n,e)};var z=T.instantiate;T.instantiate=function(r,t,n){var e=D.depcache[r];if(e)for(var i=0;i1),async function*(){}().next()}var r,t,n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e={};function i(){if(t)return r;t=1;var e=function(r){return r&&r.Math===Math&&r};return r=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||e("object"==typeof r&&r)||function(){return this}()||Function("return this")()}var o,u,a,f,c,s,v,h,l={};function p(){return u?o:(u=1,o=function(r){try{return!!r()}catch(t){return!0}})}function y(){if(f)return a;f=1;var r=p();return a=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function d(){if(s)return c;s=1;var r=p();return c=!r(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})}function g(){if(h)return v;h=1;var r=d(),t=Function.prototype.call;return v=r?t.bind(t):function(){return t.apply(t,arguments)},v}var w,b,m,E,S,O,A,R,T,I,x,_,D,j,N,P,U,k,C,F,M,L,B,z,H,V,W,Y,J,G,$,X,q,Q,Z,K,rr,tr,nr,er,ir,or={};function ur(){return m?b:(m=1,b=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function ar(){if(S)return E;S=1;var r=d(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return E=r?e:function(r){return function(){return n.apply(r,arguments)}},E}function fr(){if(A)return O;A=1;var r=ar(),t=r({}.toString),n=r("".slice);return O=function(r){return n(t(r),8,-1)}}function cr(){return x?I:(x=1,I=function(r){return null==r})}function sr(){if(D)return _;D=1;var r=cr(),t=TypeError;return _=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function vr(){if(N)return j;N=1;var r=function(){if(T)return R;T=1;var r=ar(),t=p(),n=fr(),e=Object,i=r("".split);return R=t(function(){return!e("z").propertyIsEnumerable(0)})?function(r){return"String"===n(r)?i(r,""):e(r)}:e}(),t=sr();return j=function(n){return r(t(n))}}function hr(){if(U)return P;U=1;var r="object"==typeof document&&document.all;return P=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function lr(){if(C)return k;C=1;var r=hr();return k=function(t){return"object"==typeof t?null!==t:r(t)}}function pr(){if(M)return F;M=1;var r=i(),t=hr();return F=function(n,e){return arguments.length<2?(i=r[n],t(i)?i:void 0):r[n]&&r[n][e];var i},F}function yr(){if(B)return L;B=1;var r=ar();return L=r({}.isPrototypeOf)}function dr(){if(H)return z;H=1;var r=i().navigator,t=r&&r.userAgent;return z=t?String(t):""}function gr(){if(W)return V;W=1;var r,t,n=i(),e=dr(),o=n.process,u=n.Deno,a=o&&o.versions||u&&u.version,f=a&&a.v8;return f&&(t=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),V=t}function wr(){if(J)return Y;J=1;var r=gr(),t=p(),n=i().String;return Y=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})}function br(){if($)return G;$=1;var r=wr();return G=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function mr(){if(q)return X;q=1;var r=pr(),t=hr(),n=yr(),e=br(),i=Object;return X=e?function(r){return"symbol"==typeof r}:function(e){var o=r("Symbol");return t(o)&&n(o.prototype,i(e))}}function Er(){if(Z)return Q;Z=1;var r=String;return Q=function(t){try{return r(t)}catch(n){return"Object"}}}function Sr(){if(rr)return K;rr=1;var r=hr(),t=Er(),n=TypeError;return K=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function Or(){if(nr)return tr;nr=1;var r=Sr(),t=cr();return tr=function(n,e){var i=n[e];return t(i)?void 0:r(i)}}function Ar(){if(ir)return er;ir=1;var r=g(),t=hr(),n=lr(),e=TypeError;return er=function(i,o){var u,a;if("string"===o&&t(u=i.toString)&&!n(a=r(u,i)))return a;if(t(u=i.valueOf)&&!n(a=r(u,i)))return a;if("string"!==o&&t(u=i.toString)&&!n(a=r(u,i)))return a;throw new e("Can't convert object to primitive value")}}var Rr,Tr,Ir,xr,_r,Dr,jr,Nr,Pr,Ur,kr,Cr,Fr,Mr,Lr,Br,zr,Hr,Vr,Wr,Yr,Jr,Gr,$r,Xr={exports:{}};function qr(){return Tr?Rr:(Tr=1,Rr=!1)}function Qr(){if(xr)return Ir;xr=1;var r=i(),t=Object.defineProperty;return Ir=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(i){r[n]=e}return e}}function Zr(){if(_r)return Xr.exports;_r=1;var r=qr(),t=i(),n=Qr(),e="__core-js_shared__",o=Xr.exports=t[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.47.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Xr.exports}function Kr(){if(jr)return Dr;jr=1;var r=Zr();return Dr=function(t,n){return r[t]||(r[t]=n||{})}}function rt(){if(Pr)return Nr;Pr=1;var r=sr(),t=Object;return Nr=function(n){return t(r(n))}}function tt(){if(kr)return Ur;kr=1;var r=ar(),t=rt(),n=r({}.hasOwnProperty);return Ur=Object.hasOwn||function(r,e){return n(t(r),e)}}function nt(){if(Fr)return Cr;Fr=1;var r=ar(),t=0,n=Math.random(),e=r(1.1.toString);return Cr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function et(){if(Lr)return Mr;Lr=1;var r=i(),t=Kr(),n=tt(),e=nt(),o=wr(),u=br(),a=r.Symbol,f=t("wks"),c=u?a.for||a:a&&a.withoutSetter||e;return Mr=function(r){return n(f,r)||(f[r]=o&&n(a,r)?a[r]:c("Symbol."+r)),f[r]}}function it(){if(zr)return Br;zr=1;var r=g(),t=lr(),n=mr(),e=Or(),i=Ar(),o=et(),u=TypeError,a=o("toPrimitive");return Br=function(o,f){if(!t(o)||n(o))return o;var c,s=e(o,a);if(s){if(void 0===f&&(f="default"),c=r(s,o,f),!t(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===f&&(f="number"),i(o,f)}}function ot(){if(Vr)return Hr;Vr=1;var r=it(),t=mr();return Hr=function(n){var e=r(n,"string");return t(e)?e:e+""}}function ut(){if(Yr)return Wr;Yr=1;var r=i(),t=lr(),n=r.document,e=t(n)&&t(n.createElement);return Wr=function(r){return e?n.createElement(r):{}}}function at(){if(Gr)return Jr;Gr=1;var r=y(),t=p(),n=ut();return Jr=!r&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function ft(){if($r)return l;$r=1;var r=y(),t=g(),n=function(){if(w)return or;w=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return or.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,or}(),e=ur(),i=vr(),o=ot(),u=tt(),a=at(),f=Object.getOwnPropertyDescriptor;return l.f=r?f:function(r,c){if(r=i(r),c=o(c),a)try{return f(r,c)}catch(s){}if(u(r,c))return e(!t(n.f,r,c),r[c])},l}var ct,st,vt,ht,lt,pt,yt,dt={};function gt(){if(st)return ct;st=1;var r=y(),t=p();return ct=r&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function wt(){if(ht)return vt;ht=1;var r=lr(),t=String,n=TypeError;return vt=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function bt(){if(lt)return dt;lt=1;var r=y(),t=at(),n=gt(),e=wt(),i=ot(),o=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,f="enumerable",c="configurable",s="writable";return dt.f=r?n?function(r,t,n){if(e(r),t=i(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&s in n&&!n[s]){var o=a(r,t);o&&o[s]&&(r[t]=n.value,n={configurable:c in n?n[c]:o[c],enumerable:f in n?n[f]:o[f],writable:!1})}return u(r,t,n)}:u:function(r,n,a){if(e(r),n=i(n),e(a),t)try{return u(r,n,a)}catch(f){}if("get"in a||"set"in a)throw new o("Accessors not supported");return"value"in a&&(r[n]=a.value),r},dt}function mt(){if(yt)return pt;yt=1;var r=y(),t=bt(),n=ur();return pt=r?function(r,e,i){return t.f(r,e,n(1,i))}:function(r,t,n){return r[t]=n,r}}var Et,St,Ot,At,Rt,Tt,It,xt,_t,Dt,jt,Nt,Pt,Ut,kt,Ct={exports:{}};function Ft(){if(At)return Ot;At=1;var r=ar(),t=hr(),n=Zr(),e=r(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(r){return e(r)}),Ot=n.inspectSource}function Mt(){if(xt)return It;xt=1;var r=Kr(),t=nt(),n=r("keys");return It=function(r){return n[r]||(n[r]=t(r))}}function Lt(){return Dt?_t:(Dt=1,_t={})}function Bt(){if(Nt)return jt;Nt=1;var r,t,n,e=function(){if(Tt)return Rt;Tt=1;var r=i(),t=hr(),n=r.WeakMap;return Rt=t(n)&&/native code/.test(String(n))}(),o=i(),u=lr(),a=mt(),f=tt(),c=Zr(),s=Mt(),v=Lt(),h="Object already initialized",l=o.TypeError,p=o.WeakMap;if(e||c.state){var y=c.state||(c.state=new p);y.get=y.get,y.has=y.has,y.set=y.set,r=function(r,t){if(y.has(r))throw new l(h);return t.facade=r,y.set(r,t),t},t=function(r){return y.get(r)||{}},n=function(r){return y.has(r)}}else{var d=s("state");v[d]=!0,r=function(r,t){if(f(r,d))throw new l(h);return t.facade=r,a(r,d,t),t},t=function(r){return f(r,d)?r[d]:{}},n=function(r){return f(r,d)}}return jt={set:r,get:t,has:n,enforce:function(e){return n(e)?t(e):r(e,{})},getterFor:function(r){return function(n){var e;if(!u(n)||(e=t(n)).type!==r)throw new l("Incompatible receiver, "+r+" required");return e}}}}function zt(){if(Pt)return Ct.exports;Pt=1;var r=ar(),t=p(),n=hr(),e=tt(),i=y(),o=function(){if(St)return Et;St=1;var r=y(),t=tt(),n=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,i=t(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!r||r&&e(n,"name").configurable);return Et={EXISTS:i,PROPER:o,CONFIGURABLE:u}}().CONFIGURABLE,u=Ft(),a=Bt(),f=a.enforce,c=a.get,s=String,v=Object.defineProperty,h=r("".slice),l=r("".replace),d=r([].join),g=i&&!t(function(){return 8!==v(function(){},"length",{value:8}).length}),w=String(String).split("String"),b=Ct.exports=function(r,t,n){"Symbol("===h(s(t),0,7)&&(t="["+l(s(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!e(r,"name")||o&&r.name!==t)&&(i?v(r,"name",{value:t,configurable:!0}):r.name=t),g&&n&&e(n,"arity")&&r.length!==n.arity&&v(r,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?i&&v(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(a){}var u=f(r);return e(u,"source")||(u.source=d(w,"string"==typeof t?t:"")),r};return Function.prototype.toString=b(function(){return n(this)&&c(this).source||u(this)},"toString"),Ct.exports}function Ht(){if(kt)return Ut;kt=1;var r=hr(),t=bt(),n=zt(),e=Qr();return Ut=function(i,o,u,a){a||(a={});var f=a.enumerable,c=void 0!==a.name?a.name:o;if(r(u)&&n(u,c,a),a.global)f?i[o]=u:e(o,u);else{try{a.unsafe?i[o]&&(f=!0):delete i[o]}catch(s){}f?i[o]=u:t.f(i,o,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return i}}var Vt,Wt,Yt,Jt,Gt,$t,Xt,qt,Qt,Zt,Kt,rn,tn,nn,en,on,un,an={};function fn(){if(Jt)return Yt;Jt=1;var r=function(){if(Wt)return Vt;Wt=1;var r=Math.ceil,t=Math.floor;return Vt=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return Yt=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function cn(){if($t)return Gt;$t=1;var r=fn(),t=Math.max,n=Math.min;return Gt=function(e,i){var o=r(e);return o<0?t(o+i,0):n(o,i)}}function sn(){if(qt)return Xt;qt=1;var r=fn(),t=Math.min;return Xt=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function vn(){if(Zt)return Qt;Zt=1;var r=sn();return Qt=function(t){return r(t.length)}}function hn(){if(nn)return tn;nn=1;var r=ar(),t=tt(),n=vr(),e=function(){if(rn)return Kt;rn=1;var r=vr(),t=cn(),n=vn(),e=function(e){return function(i,o,u){var a=r(i),f=n(a);if(0===f)return!e&&-1;var c,s=t(u,f);if(e&&o!=o){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((e||s in a)&&a[s]===o)return e||s||0;return!e&&-1}};return Kt={includes:e(!0),indexOf:e(!1)}}().indexOf,i=Lt(),o=r([].push);return tn=function(r,u){var a,f=n(r),c=0,s=[];for(a in f)!t(i,a)&&t(f,a)&&o(s,a);for(;u.length>c;)t(f,a=u[c++])&&(~e(s,a)||o(s,a));return s}}function ln(){return on?en:(on=1,en=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var pn,yn,dn,gn,wn,bn,mn,En,Sn,On,An,Rn,Tn,In,xn,_n,Dn={};function jn(){if(dn)return yn;dn=1;var r=pr(),t=ar(),n=function(){if(un)return an;un=1;var r=hn(),t=ln().concat("length","prototype");return an.f=Object.getOwnPropertyNames||function(n){return r(n,t)},an}(),e=(pn||(pn=1,Dn.f=Object.getOwnPropertySymbols),Dn),i=wt(),o=t([].concat);return yn=r("Reflect","ownKeys")||function(r){var t=n.f(i(r)),u=e.f;return u?o(t,u(r)):t}}function Nn(){if(wn)return gn;wn=1;var r=tt(),t=jn(),n=ft(),e=bt();return gn=function(i,o,u){for(var a=t(o),f=e.f,c=n.f,s=0;s9007199254740991)throw r("Maximum allowed index exceeded");return t}}!function(){if(_n)return e;_n=1;var r=Pn(),t=rt(),n=vn(),i=function(){if(Tn)return Rn;Tn=1;var r=y(),t=Un(),n=TypeError,e=Object.getOwnPropertyDescriptor,i=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();return Rn=i?function(r,i){if(t(r)&&!e(r,"length").writable)throw new n("Cannot set read only .length");return r.length=i}:function(r,t){return r.length=t}}(),o=kn();r({target:"Array",proto:!0,arity:1,forced:p()(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}}()},{push:function(r){var e=t(this),u=n(e),a=arguments.length;o(u+a);for(var f=0;f92||"NODE"===e&&n>94||"BROWSER"===e&&n>97)return!1;var r=new ArrayBuffer(8),t=o(r,{transfer:[r]});return 0!==r.byteLength||8!==t.byteLength})}function Se(){if(he)return ve;he=1;var r,t,n,e,o=i(),u=me(),a=Ee(),f=o.structuredClone,c=o.ArrayBuffer,s=o.MessageChannel,v=!1;if(a)v=function(r){f(r,{transfer:[r]})};else if(c)try{s||(r=u("worker_threads"))&&(s=r.MessageChannel),s&&(t=new s,n=new c(2),e=function(r){t.port1.postMessage(null,[r])},2===n.byteLength&&(e(n),0===n.byteLength&&(v=e)))}catch(h){}return ve=v}function Oe(){if(pe)return le;pe=1;var r=i(),t=ar(),n=qn(),e=ge(),o=we(),u=Qn(),a=Se(),f=Ee(),c=r.structuredClone,s=r.ArrayBuffer,v=r.DataView,h=Math.min,l=s.prototype,p=v.prototype,y=t(l.slice),d=n(l,"resizable","get"),g=n(l,"maxByteLength","get"),w=t(p.getInt8),b=t(p.setInt8);return le=(f||a)&&function(r,t,n){var i,l=u(r),p=void 0===t?l:e(t),m=!d||!d(r);if(o(r),f&&(r=c(r,{transfer:[r]}),l===p&&(n||m)))return r;if(l>=p&&(!n||m))i=y(r,0,p);else{var E=n&&!m&&g?{maxByteLength:g(r)}:void 0;i=new s(p,E);for(var S=new v(r),O=new v(i),A=h(p,l),R=0;Rs;)n.f(r,u=f[s++],a[u]);return r},$e}(),e=ln(),i=Lt(),o=qe(),u=ut(),a=Mt(),f="prototype",c="script",s=a("IE_PROTO"),v=function(){},h=function(r){return"<"+c+">"+r+""},l=function(r){r.write(h("")),r.close();var t=r.parentWindow.Object;return r=null,t},p=function(){try{r=new ActiveXObject("htmlfile")}catch(s){}var t,n,i;p="undefined"!=typeof document?document.domain&&r?l(r):(n=u("iframe"),i="java"+c+":",n.style.display="none",o.appendChild(n),n.src=String(i),(t=n.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):l(r);for(var a=e.length;a--;)delete p[f][e[a]];return p()};return i[s]=!0,Ve=Object.create||function(r,e){var i;return null!==r?(v[f]=t(r),i=new v,v[f]=null,i[s]=r):i=p(),void 0===e?i:n.f(i,e)}}function Ze(){if(Je)return Ye;Je=1;var r,t,n,e=p(),i=hr(),o=lr(),u=Qe(),a=Ce(),f=Ht(),c=et(),s=qr(),v=c("iterator"),h=!1;return[].keys&&("next"in(n=[].keys())?(t=a(a(n)))!==Object.prototype&&(r=t):h=!0),!o(r)||e(function(){var t={};return r[v].call(t)!==t})?r={}:s&&(r=u(r)),i(r[v])||f(r,v,function(){return this}),Ye={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}}!function(){if(Ge)return Ue;Ge=1;var r=Pn(),t=i(),n=ke(),e=wt(),o=hr(),u=Ce(),a=$n(),f=Fe(),c=p(),s=tt(),v=et(),h=Ze().IteratorPrototype,l=y(),d=qr(),g="constructor",w="Iterator",b=v("toStringTag"),m=TypeError,E=t[w],S=d||!o(E)||E.prototype!==h||!c(function(){E({})}),O=function(){if(n(this,h),u(this)===h)throw new m("Abstract class Iterator not directly constructable")},A=function(r,t){l?a(h,r,{configurable:!0,get:function(){return t},set:function(t){if(e(this),this===h)throw new m("You can't redefine this property");s(this,r)?this[r]=t:f(this,r,t)}}):h[r]=t};s(h,b)||A(b,w),!S&&s(h,g)&&h[g]!==Object||A(g,O),O.prototype=h,r({global:!0,constructor:!0,forced:S},{Iterator:O})}();var Ke,ri,ti,ni,ei,ii,oi,ui,ai,fi,ci,si,vi,hi,li,pi,yi,di,gi,wi,bi,mi,Ei,Si,Oi,Ai={};function Ri(){if(ni)return ti;ni=1;var r=function(){if(ri)return Ke;ri=1;var r=fr(),t=ar();return Ke=function(n){if("Function"===r(n))return t(n)}}(),t=Sr(),n=d(),e=r(r.bind);return ti=function(r,i){return t(r),void 0===i?r:n?e(r,i):function(){return r.apply(i,arguments)}},ti}function Ti(){return ii?ei:(ii=1,ei={})}function Ii(){if(ui)return oi;ui=1;var r=et(),t=Ti(),n=r("iterator"),e=Array.prototype;return oi=function(r){return void 0!==r&&(t.Array===r||e[n]===r)}}function xi(){if(si)return ci;si=1;var r=function(){if(fi)return ai;fi=1;var r={};return r[et()("toStringTag")]="z",ai="[object z]"===String(r)}(),t=hr(),n=fr(),e=et()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return ci=r?n:function(r){var u,a,f;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(a=function(r,t){try{return r[t]}catch(n){}}(u=i(r),e))?a:o?n(u):"Object"===(f=n(u))&&t(u.callee)?"Arguments":f}}function _i(){if(hi)return vi;hi=1;var r=xi(),t=Or(),n=cr(),e=Ti(),i=et()("iterator");return vi=function(o){if(!n(o))return t(o,i)||t(o,"@@iterator")||e[r(o)]}}function Di(){if(pi)return li;pi=1;var r=g(),t=Sr(),n=wt(),e=Er(),i=_i(),o=TypeError;return li=function(u,a){var f=arguments.length<2?i(u):a;if(t(f))return n(r(f,u));throw new o(e(u)+" is not iterable")},li}function ji(){if(di)return yi;di=1;var r=g(),t=wt(),n=Or();return yi=function(e,i,o){var u,a;t(e);try{if(!(u=n(e,"return"))){if("throw"===i)throw o;return o}u=r(u,e)}catch(f){a=!0,u=f}if("throw"===i)throw o;if(a)throw u;return t(u),o}}function Ni(){if(wi)return gi;wi=1;var r=Ri(),t=g(),n=wt(),e=Er(),i=Ii(),o=vn(),u=yr(),a=Di(),f=_i(),c=ji(),s=TypeError,v=function(r,t){this.stopped=r,this.result=t},h=v.prototype;return gi=function(l,p,y){var d,g,w,b,m,E,S,O=y&&y.that,A=!(!y||!y.AS_ENTRIES),R=!(!y||!y.IS_RECORD),T=!(!y||!y.IS_ITERATOR),I=!(!y||!y.INTERRUPTED),x=r(p,O),_=function(r){return d&&c(d,"normal"),new v(!0,r)},D=function(r){return A?(n(r),I?x(r[0],r[1],_):x(r[0],r[1])):I?x(r,_):x(r)};if(R)d=l.iterator;else if(T)d=l;else{if(!(g=f(l)))throw new s(e(l)+" is not iterable");if(i(g)){for(w=0,b=o(l);b>w;w++)if((m=D(l[w]))&&u(h,m))return m;return new v(!1)}d=a(l,g)}for(E=R?l.next:d.next;!(S=t(E,d)).done;){try{m=D(S.value)}catch(j){c(d,"throw",j)}if("object"==typeof m&&m&&u(h,m))return m}return new v(!1)}}function Pi(){return mi?bi:(mi=1,bi=function(r){return{iterator:r,next:r.next,done:!1}})}function Ui(){if(Si)return Ei;Si=1;var r=i();return Ei=function(t,n){var e=r.Iterator,i=e&&e.prototype,o=i&&i[t],u=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){u=!0}},-1)}catch(a){a instanceof n||(u=!1)}if(!u)return o}}!function(){if(Oi)return Ai;Oi=1;var r=Pn(),t=g(),n=Ni(),e=Sr(),i=wt(),o=Pi(),u=ji(),a=Ui()("find",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:a},{find:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(a)return t(a,this,r);var f=o(this),c=0;return n(f,function(t,n){if(r(t,c++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}();var ki,Ci={};!function(){if(ki)return Ci;ki=1;var r=Pn(),t=g(),n=Ni(),e=Sr(),i=wt(),o=Pi(),u=ji(),a=Ui()("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:a},{forEach:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(a)return t(a,this,r);var f=o(this),c=0;n(f,function(t){r(t,c++)},{IS_RECORD:!0})}})}();var Fi,Mi,Li,Bi,zi,Hi,Vi,Wi,Yi,Ji,Gi,$i,Xi,qi={};function Qi(){if(Mi)return Fi;Mi=1;var r=Ht();return Fi=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}}function Zi(){return Bi?Li:(Bi=1,Li=function(r,t){return{value:r,done:t}})}function Ki(){if(Hi)return zi;Hi=1;var r=ji();return zi=function(t,n,e){for(var i=t.length-1;i>=0;i--)if(void 0!==t[i])try{e=r(t[i].iterator,n,e)}catch(o){n="throw",e=o}if("throw"===n)throw e;return e}}function ro(){if(Wi)return Vi;Wi=1;var r=g(),t=Qe(),n=mt(),e=Qi(),i=et(),o=Bt(),u=Or(),a=Ze().IteratorPrototype,f=Zi(),c=ji(),s=Ki(),v=i("toStringTag"),h="IteratorHelper",l="WrapForValidIterator",p="normal",y="throw",d=o.set,w=function(n){var i=o.getterFor(n?l:h);return e(t(a),{next:function(){var r=i(this);if(n)return r.nextHandler();if(r.done)return f(void 0,!0);try{var t=r.nextHandler();return r.returnHandlerResult?t:f(t,r.done)}catch(e){throw r.done=!0,e}},return:function(){var t=i(this),e=t.iterator;if(t.done=!0,n){var o=u(e,"return");return o?r(o,e):f(void 0,!0)}if(t.inner)try{c(t.inner.iterator,p)}catch(a){return c(e,y,a)}if(t.openIters)try{s(t.openIters,p)}catch(a){return c(e,y,a)}return e&&c(e,p),f(void 0,!0)}})},b=w(!0),m=w(!1);return n(m,v,"Iterator Helper"),Vi=function(r,t,n){var e=function(e,i){i?(i.iterator=e.iterator,i.next=e.next):i=e,i.type=t?l:h,i.returnHandlerResult=!!n,i.nextHandler=r,i.counter=0,i.done=!1,d(this,i)};return e.prototype=t?b:m,e}}function to(){if(Ji)return Yi;Ji=1;var r=wt(),t=ji();return Yi=function(n,e,i,o){try{return o?e(r(i)[0],i[1]):e(i)}catch(u){t(n,"throw",u)}}}function no(){return $i?Gi:($i=1,Gi=function(r,t){var n="function"==typeof Iterator&&Iterator.prototype[r];if(n)try{n.call({next:null},t).next()}catch(e){return!0}})}!function(){if(Xi)return qi;Xi=1;var r=Pn(),t=g(),n=Sr(),e=wt(),i=Pi(),o=ro(),u=to(),a=ji(),f=no(),c=Ui(),s=qr(),v=!s&&!f("map",function(){}),h=!s&&!v&&c("map",TypeError),l=s||v||h,p=o(function(){var r=this.iterator,n=e(t(this.next,r));if(!(this.done=!!n.done))return u(r,this.mapper,[n.value,this.counter++],!0)});r({target:"Iterator",proto:!0,real:!0,forced:l},{map:function(r){e(this);try{n(r)}catch(o){a(this,"throw",o)}return h?t(h,this,r):new p(i(this),{mapper:r})}})}();var eo,io,oo,uo={};function ao(){if(io)return eo;io=1;var r=d(),t=Function.prototype,n=t.apply,e=t.call;return eo="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),eo}!function(){if(oo)return uo;oo=1;var r=Pn(),t=Ni(),n=Sr(),e=wt(),i=Pi(),o=ji(),u=Ui(),a=ao(),f=p(),c=TypeError,s=f(function(){[].keys().reduce(function(){},void 0)}),v=!s&&u("reduce",c);r({target:"Iterator",proto:!0,real:!0,forced:s||v},{reduce:function(r){e(this);try{n(r)}catch(l){o(this,"throw",l)}var u=arguments.length<2,f=u?void 0:arguments[1];if(v)return a(v,this,u?[r]:[r,f]);var s=i(this),h=0;if(t(s,function(t){u?(u=!1,f=t):f=r(f,t,h),h++},{IS_RECORD:!0}),u)throw new c("Reduce of empty iterator with no initial value");return f}})}();var fo,co={};!function(){if(fo)return co;fo=1;var r=Pn(),t=g(),n=Ni(),e=Sr(),i=wt(),o=Pi(),u=ji(),a=Ui()("some",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:a},{some:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(a)return t(a,this,r);var f=o(this),c=0;return n(f,function(t,n){if(r(t,c++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}();var so,vo,ho,lo,po,yo,go,wo,bo,mo,Eo,So={};function Oo(){if(lo)return ho;lo=1;var r=xi(),t=String;return ho=function(n){if("Symbol"===r(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function Ao(){if(yo)return po;yo=1;var r=ar();return po=r([].slice)}function Ro(){if(wo)return go;wo=1;var r=ar(),t=tt(),n=SyntaxError,e=parseInt,i=String.fromCharCode,o=r("".charAt),u=r("".slice),a=r(/./.exec),f={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},c=/^[\da-f]{4}$/i,s=/^[\u0000-\u001F]$/;return go=function(r,v){for(var h=!0,l="";v1;return t.has(1)&&t.clear(),{done:n,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(r).size})},{difference:t})}();var ru,tu,nu,eu={};!function(){if(nu)return eu;nu=1;var r=Pn(),t=p(),n=function(){if(tu)return ru;tu=1;var r=Go(),t=Jo(),n=Qo(),e=Zo(),i=Xo(),o=$o(),u=t.Set,a=t.add,f=t.has;return ru=function(t){var c=r(this),s=e(t),v=new u;return n(c)>s.size?o(s.getIterator(),function(r){f(c,r)&&a(v,r)}):i(c,function(r){s.includes(r)&&a(v,r)}),v}}();r({target:"Set",proto:!0,real:!0,forced:!Ko()("intersection",function(r){return 2===r.size&&r.has(1)&&r.has(2)})||t(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:n})}();var iu,ou,uu,au={};!function(){if(uu)return au;uu=1;var r=Pn(),t=function(){if(ou)return iu;ou=1;var r=Go(),t=Jo().has,n=Qo(),e=Zo(),i=Xo(),o=$o(),u=ji();return iu=function(a){var f=r(this),c=e(a);if(n(f)<=c.size)return!1!==i(f,function(r){if(c.includes(r))return!1},!0);var s=c.getIterator();return!1!==o(s,function(r){if(t(f,r))return u(s,"normal",!1)})}}();r({target:"Set",proto:!0,real:!0,forced:!Ko()("isDisjointFrom",function(r){return!r})},{isDisjointFrom:t})}();var fu,cu,su,vu={};!function(){if(su)return vu;su=1;var r=Pn(),t=function(){if(cu)return fu;cu=1;var r=Go(),t=Qo(),n=Xo(),e=Zo();return fu=function(i){var o=r(this),u=e(i);return!(t(o)>u.size)&&!1!==n(o,function(r){if(!u.includes(r))return!1},!0)}}();r({target:"Set",proto:!0,real:!0,forced:!Ko()("isSubsetOf",function(r){return r})},{isSubsetOf:t})}();var hu,lu,pu,yu={};!function(){if(pu)return yu;pu=1;var r=Pn(),t=function(){if(lu)return hu;lu=1;var r=Go(),t=Jo().has,n=Qo(),e=Zo(),i=$o(),o=ji();return hu=function(u){var a=r(this),f=e(u);if(n(a)2?e:r(n),u=new t(o);o>i;)u[i]=n[i++];return u},Wu}!function(){if(Ju)return Gu;Ju=1;var r=Vu(),t=ar(),n=Sr(),e=$u(),i=r.aTypedArray,o=r.getTypedArrayConstructor,u=r.exportTypedArrayMethod,a=t(r.TypedArrayPrototype.sort);u("toSorted",function(r){void 0!==r&&n(r);var t=i(this),u=e(o(t),t);return a(u,r)})}();var Xu,qu,Qu,Zu,Ku,ra,ta,na={};function ea(){if(qu)return Xu;qu=1;var r=vn(),t=fn(),n=RangeError;return Xu=function(e,i,o,u){var a=r(e),f=t(o),c=f<0?a+f:f;if(c>=a||c<0)throw new n("Incorrect index");for(var s=new i(a),v=0;v>16&255,i>>8&255,255&i];if(2===e){if(n&&0!==o[1])throw new v("Extra bits");return[o[0]]}if(3===e){if(n&&0!==o[2])throw new v("Extra bits");return[o[0],o[1]]}return o},d=function(r,t,n){for(var e=t.length,i=0;i0){if("stop-before-partial"===w)break;if("loose"!==w)throw new v("Missing padding");if(1===O.length)throw new v("Malformed padding: exactly one additional character");E=d(m,y(O,g,!1),E)}S=b;break}var R=l(r,A);if(++A,"="===R){if(O.length<2)throw new v("Padding is too early");if(A=p(r,A),2===O.length){if(A===b){if("stop-before-partial"===w)break;throw new v("Malformed padding: only one =")}"="===l(r,A)&&(++A,A=p(r,A))}if(A1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}}),ma}ba||(ba=1,Ta());var Ia,xa,_a,Da,ja={};function Na(){if(_a)return ja;_a=1;var r=Pn(),t=i(),n=Sa(),e=Ra(),o=we(),u=function(){if(xa)return Ia;xa=1;var r=i(),t=ar(),n=r.Uint8Array,e=r.SyntaxError,o=r.parseInt,u=Math.min,a=/[^\da-f]/i,f=t(a.exec),c=t("".slice);return Ia=function(r,t){var i=r.length;if(i%2!=0)throw new e("String should be an even number of characters");for(var s=t?u(t.length,i/2):i/2,v=t||new n(s),h=0,l=0;l>6*r&63)};l+2{e=t.M},t=>{i=t.i},t=>{n=t.al,a=t.bb,s=t.bc,o=t.a0,u=t.bd,c=t.be,h=t.Y,f=t.bf,l=t.bg,y=t.bh,m=t.X}],execute:function(){var r;const p={liftEither(t){if(t.isRight())return Promise.resolve(t.extract());throw t.extract()},fromPromise:t=>t.then(p.liftEither),throwE(t){throw t}};class w{constructor(t){this.runPromise=t,this[r]="EitherAsync",this.then=(t,r)=>this.run().then(t,r)}leftOrDefault(t){return this.run().then(r=>r.leftOrDefault(t))}orDefault(t){return this.run().then(r=>r.orDefault(t))}join(){return g(async t=>{const r=await(this);if(r.isRight()){const e=await r.extract();return t.liftEither(e)}return t.liftEither(r)})}ap(t){return g(async r=>{const e=await t;if(e.isRight()){const t=await this.run();return t.isRight()?e.extract()(t.extract()):r.liftEither(t)}return r.liftEither(e)})}alt(t){return g(async r=>{const e=await this.run();if(e.isRight())return e.extract();{const e=await t;return r.liftEither(e)}})}extend(t){return g(async r=>{const e=await this.run();if(e.isRight()){const i=g.liftEither(e);return r.liftEither(a(t(i)))}return r.liftEither(e)})}async run(){try{return a(await this.runPromise(p))}catch(t){return s(t)}}bimap(t,r){return g(async e=>{const i=await this.run();try{return await e.liftEither(i.bimap(t,r))}catch(n){throw await n}})}map(t){return g(r=>this.runPromise(r).then(t))}mapLeft(t){return g(async r=>{try{return await this.runPromise(r)}catch(e){throw await t(e)}})}chain(t){return g(async r=>{const e=await this.runPromise(r);return r.fromPromise(t(e))})}chainLeft(t){return g(async r=>{try{return await this.runPromise(r)}catch(e){return r.fromPromise(t(e))}})}toMaybeAsync(){return E(async({liftMaybe:t})=>t((await this.run()).toMaybe()))}swap(){return g(async t=>{const r=await this.run();return r.isRight()&&t.throwE(r.extract()),t.liftEither(a(r.extract()))})}ifLeft(t){return g(async r=>{const e=await this.run();return e.ifLeft(t),r.liftEither(e)})}ifRight(t){return g(async r=>{const e=await this.run();return e.ifRight(t),r.liftEither(e)})}void(){return this.map(t=>{})}caseOf(t){return this.run().then(r=>r.caseOf(t))}finally(t){return g(({fromPromise:r})=>r(this.run().finally(t)))}}r=Symbol.toStringTag,w.prototype["fantasy-land/chain"]=w.prototype.chain,w.prototype["fantasy-land/alt"]=w.prototype.alt;const g=t("E",Object.assign(t=>new w(t),{fromPromise:t=>g(({fromPromise:r})=>r(t())),liftEither:t=>g(({liftEither:r})=>r(t)),lefts:t=>Promise.all(t.map(t=>t.run())).then(n.lefts),rights:t=>Promise.all(t.map(t=>t.run())).then(n.rights),sequence:t=>g(async r=>{let e=[];for await(const i of t){if(i.isLeft())return r.liftEither(i);e.push(i.extract())}return r.liftEither(a(e))}),all:t=>g.fromPromise(async()=>Promise.all(t).then(n.sequence))}));var b;w.prototype.constructor=g;const P={liftMaybe(t){if(t.isJust())return Promise.resolve(t.extract());throw u},fromPromise:t=>t.then(P.liftMaybe)};class d{constructor(t){this.runPromise=t,this[b]="MaybeAsync"}orDefault(t){return this.run().then(r=>r.orDefault(t))}join(){return E(async t=>{const r=await this.run();if(r.isJust()){const e=await r.extract();return t.liftMaybe(e)}return t.liftMaybe(u)})}ap(t){return E(async r=>{const e=await t;if(e.isJust()){const t=await this.run();return t.isJust()?e.extract()(t.extract()):r.liftMaybe(u)}return r.liftMaybe(u)})}alt(t){return E(async r=>{const e=await this.run();if(e.isJust())return e.extract();{const e=await t;return r.liftMaybe(e)}})}extend(t){return E(async r=>{const e=await this.run();if(e.isJust()){const i=E.liftMaybe(e);return r.liftMaybe(c(t(i)))}return r.liftMaybe(u)})}filter(t){return E(async r=>{const e=await this.run();return r.liftMaybe(e.filter(t))})}async run(){try{return c(await this.runPromise(P))}catch{return u}}map(t){return E(r=>this.runPromise(r).then(t))}chain(t){return E(async r=>{const e=await this.runPromise(r);return r.fromPromise(t(e))})}toEitherAsync(t){return g(async({liftEither:r})=>r((await this.run()).toEither(t)))}ifJust(t){return E(async r=>{const e=await this.run();return e.ifJust(t),r.liftMaybe(e)})}ifNothing(t){return E(async r=>{const e=await this.run();return e.ifNothing(t),r.liftMaybe(e)})}void(){return this.map(t=>{})}caseOf(t){return this.run().then(r=>r.caseOf(t))}finally(t){return E(({fromPromise:r})=>r(this.run().finally(t)))}then(t,r){return this.run().then(t,r)}}b=Symbol.toStringTag,d.prototype["fantasy-land/chain"]=d.prototype.chain,d.prototype["fantasy-land/filter"]=d.prototype.filter,d.prototype["fantasy-land/alt"]=d.prototype.alt;const E=Object.assign(t=>new d(t),{catMaybes:t=>Promise.all(t).then(o.catMaybes),fromPromise:t=>E(({fromPromise:r})=>r(t())),liftMaybe:t=>E(({liftMaybe:r})=>r(t))});d.prototype.constructor=E,t("g",t=>fetch(`${t.route}?${t.searchParams}`,{credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json",[i]:t.nonce,...t.authString&&{Authorization:`Basic ${t.authString}`}},method:"GET",mode:"same-origin",signal:AbortSignal.timeout(5e3)})),t("a",t=>fetch(t.route,{body:t.corps,credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json",[i]:t.nonce,...t.authString&&{Authorization:`Basic ${t.authString}`}},method:"POST",mode:"same-origin",signal:AbortSignal.timeout(5e3)})),t("p",(t,r)=>(e,n,a)=>fetch(e,{body:n,credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json",[i]:t,...r&&a&&{Authorization:`Basic ${r}`}},method:"POST",mode:"same-origin",signal:AbortSignal.timeout(5e3)})),t("s",t=>g(async()=>await t)),t("n",async t=>({body:await t.json(),status:t.status})),t("t",t=>e(t).with({status:400},()=>new h).with({status:401},()=>new f).with({status:403},()=>new l).with({status:404},()=>new y).with({status:500},()=>new m).otherwise(t=>new Error(String(t.status))))}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.br b/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.br deleted file mode 100644 index a5394115..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.gz deleted file mode 100644 index e76be74f..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.zst deleted file mode 100644 index 81b312b7..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/reseau-legacy.dBQarsl0.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js b/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js deleted file mode 100644 index d3fb78f0..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js +++ /dev/null @@ -1 +0,0 @@ -import{M as d}from"./index.BiLbLflF.js";import{i as f}from"./api.BWtmxolt.js";import{al as l,bb as h,bc as g,a0 as P,bd as u,be as y,Y as M,bf as A,bg as x,bh as S,X as v}from"./dom.BBcFv3WT.js";var m;const w={liftEither(e){if(e.isRight())return Promise.resolve(e.extract());throw e.extract()},fromPromise(e){return e.then(w.liftEither)},throwE(e){throw e}};class c{constructor(t){this.runPromise=t,this[m]="EitherAsync",this.then=(r,n)=>this.run().then(r,n)}leftOrDefault(t){return this.run().then(r=>r.leftOrDefault(t))}orDefault(t){return this.run().then(r=>r.orDefault(t))}join(){return i(async t=>{const r=await this;if(r.isRight()){const n=await r.extract();return t.liftEither(n)}return t.liftEither(r)})}ap(t){return i(async r=>{const n=await t;if(n.isRight()){const a=await this.run();return a.isRight()?n.extract()(a.extract()):r.liftEither(a)}return r.liftEither(n)})}alt(t){return i(async r=>{const n=await this.run();if(n.isRight())return n.extract();{const a=await t;return r.liftEither(a)}})}extend(t){return i(async r=>{const n=await this.run();if(n.isRight()){const a=i.liftEither(n);return r.liftEither(h(t(a)))}return r.liftEither(n)})}async run(){try{return h(await this.runPromise(w))}catch(t){return g(t)}}bimap(t,r){return i(async n=>{const a=await this.run();try{return await n.liftEither(a.bimap(t,r))}catch(E){throw await E}})}map(t){return i(r=>this.runPromise(r).then(t))}mapLeft(t){return i(async r=>{try{return await this.runPromise(r)}catch(n){throw await t(n)}})}chain(t){return i(async r=>{const n=await this.runPromise(r);return r.fromPromise(t(n))})}chainLeft(t){return i(async r=>{try{return await this.runPromise(r)}catch(n){return r.fromPromise(t(n))}})}toMaybeAsync(){return s(async({liftMaybe:t})=>{const r=await this.run();return t(r.toMaybe())})}swap(){return i(async t=>{const r=await this.run();return r.isRight()&&t.throwE(r.extract()),t.liftEither(h(r.extract()))})}ifLeft(t){return i(async r=>{const n=await this.run();return n.ifLeft(t),r.liftEither(n)})}ifRight(t){return i(async r=>{const n=await this.run();return n.ifRight(t),r.liftEither(n)})}void(){return this.map(t=>{})}caseOf(t){return this.run().then(r=>r.caseOf(t))}finally(t){return i(({fromPromise:r})=>r(this.run().finally(t)))}}m=Symbol.toStringTag;c.prototype["fantasy-land/chain"]=c.prototype.chain;c.prototype["fantasy-land/alt"]=c.prototype.alt;const i=Object.assign(e=>new c(e),{fromPromise:e=>i(({fromPromise:t})=>t(e())),liftEither:e=>i(({liftEither:t})=>t(e)),lefts:e=>Promise.all(e.map(t=>t.run())).then(l.lefts),rights:e=>Promise.all(e.map(t=>t.run())).then(l.rights),sequence:e=>i(async t=>{let r=[];for await(const n of e){if(n.isLeft())return t.liftEither(n);r.push(n.extract())}return t.liftEither(h(r))}),all:e=>i.fromPromise(async()=>Promise.all(e).then(l.sequence))});c.prototype.constructor=i;var p;const b={liftMaybe(e){if(e.isJust())return Promise.resolve(e.extract());throw u},fromPromise(e){return e.then(b.liftMaybe)}};class o{constructor(t){this.runPromise=t,this[p]="MaybeAsync"}orDefault(t){return this.run().then(r=>r.orDefault(t))}join(){return s(async t=>{const r=await this.run();if(r.isJust()){const n=await r.extract();return t.liftMaybe(n)}return t.liftMaybe(u)})}ap(t){return s(async r=>{const n=await t;if(n.isJust()){const a=await this.run();return a.isJust()?n.extract()(a.extract()):r.liftMaybe(u)}return r.liftMaybe(u)})}alt(t){return s(async r=>{const n=await this.run();if(n.isJust())return n.extract();{const a=await t;return r.liftMaybe(a)}})}extend(t){return s(async r=>{const n=await this.run();if(n.isJust()){const a=s.liftMaybe(n);return r.liftMaybe(y(t(a)))}return r.liftMaybe(u)})}filter(t){return s(async r=>{const n=await this.run();return r.liftMaybe(n.filter(t))})}async run(){try{return y(await this.runPromise(b))}catch{return u}}map(t){return s(r=>this.runPromise(r).then(t))}chain(t){return s(async r=>{const n=await this.runPromise(r);return r.fromPromise(t(n))})}toEitherAsync(t){return i(async({liftEither:r})=>{const n=await this.run();return r(n.toEither(t))})}ifJust(t){return s(async r=>{const n=await this.run();return n.ifJust(t),r.liftMaybe(n)})}ifNothing(t){return s(async r=>{const n=await this.run();return n.ifNothing(t),r.liftMaybe(n)})}void(){return this.map(t=>{})}caseOf(t){return this.run().then(r=>r.caseOf(t))}finally(t){return s(({fromPromise:r})=>r(this.run().finally(t)))}then(t,r){return this.run().then(t,r)}}p=Symbol.toStringTag;o.prototype["fantasy-land/chain"]=o.prototype.chain;o.prototype["fantasy-land/filter"]=o.prototype.filter;o.prototype["fantasy-land/alt"]=o.prototype.alt;const s=Object.assign(e=>new o(e),{catMaybes:e=>Promise.all(e).then(P.catMaybes),fromPromise:e=>s(({fromPromise:t})=>t(e())),liftMaybe:e=>s(({liftMaybe:t})=>t(e))});o.prototype.constructor=s;const T=e=>fetch(`${e.route}?${e.searchParams}`,{credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json",[f]:e.nonce,...e.authString&&{Authorization:`Basic ${e.authString}`}},method:"GET",mode:"same-origin",signal:AbortSignal.timeout(5e3)}),B=e=>fetch(e.route,{body:e.corps,credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json",[f]:e.nonce,...e.authString&&{Authorization:`Basic ${e.authString}`}},method:"POST",mode:"same-origin",signal:AbortSignal.timeout(5e3)}),J=(e,t)=>(r,n,a)=>fetch(r,{body:n,credentials:"same-origin",headers:{Accept:"application/json","Content-Type":"application/json",[f]:e,...t&&a&&{Authorization:`Basic ${t}`}},method:"POST",mode:"same-origin",signal:AbortSignal.timeout(5e3)}),V=e=>i(async()=>await e),$=async e=>({body:await e.json(),status:e.status}),C=e=>d(e).with({status:400},()=>new M).with({status:401},()=>new A).with({status:403},()=>new x).with({status:404},()=>new S).with({status:500},()=>new v).otherwise(t=>new Error(String(t.status)));export{i as E,B as a,T as g,$ as n,J as p,V as s,C as t}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.br b/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.br deleted file mode 100644 index 4657e583..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.gz deleted file mode 100644 index 90984971..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.zst deleted file mode 100644 index 5075bf95..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/reseau.CUz9kCSO.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-panier-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-panier-legacy.js deleted file mode 100644 index 2b38ecc6..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-panier-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js","./messages-legacy.PVpnHWo9.js","./journalisation-legacy.js","./exports-legacy.CUaFfB0_.js","./validation-legacy.C-7tMwb9.js"],function(e,t){"use strict";var n,s,i,a,o;return{setters:[e=>{n=e.m,s=e.A,i=e.D},e=>{a=e.N,o=e.v},null,null,null],execute:function(){document.addEventListener("DOMContentLoaded",()=>{(()=>{const e=n(i),t=new BroadcastChannel(a);t.onmessage=t=>{o(t).ifRight(t=>{e.textContent=`cart (${String(t.donnees.quantiteProduits)})`,e.setAttribute(s,String(t.donnees.quantiteProduits>0))})},document.addEventListener("visibilitychange",()=>{t.close()})})()})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-panier.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-panier.js deleted file mode 100644 index 47026246..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-panier.js +++ /dev/null @@ -1 +0,0 @@ -import{m as o,A as a,D as r}from"./dom.BBcFv3WT.js";import{N as s,v as c}from"./messages.B9cwwdUT.js";import"./journalisation.js";import"./exports.JV8YQBqW.js";import"./validation.DpnMPnCH.js";function m(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const d=()=>{const t=o(r),n=new BroadcastChannel(s);n.onmessage=i=>{c(i).ifRight(e=>{t.textContent=`cart (${String(e.donnees.quantiteProduits)})`,t.setAttribute(a,String(e.donnees.quantiteProduits>0))})},document.addEventListener("visibilitychange",()=>{n.close()})};document.addEventListener("DOMContentLoaded",()=>{d()});export{m as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js deleted file mode 100644 index 681836f5..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js","./exports-legacy.CUaFfB0_.js","./index-c1cc4c86-legacy.C-8fWPTk.js","./journalisation-legacy.js"],function(e,t){"use strict";var n,i,o,O,r,s,T,c;return{setters:[e=>{n=e.m,i=e.a,o=e.h,O=e.b,r=e.c,s=e.d},e=>{T=e.a9},e=>{c=e.t},null],execute:function(){const e={BOUTON_MENU_MOBILE:n(i),BOUTON_RETOUR_SOMMET:n("#bouton-retour-haut"),CORPS_HTML:n("body"),IMAGE_BOUTON:n("#bouton-retour-haut img")};let t=e.CORPS_HTML.getBoundingClientRect().height/window.innerHeight,u=window.scrollY,M=!1;const d=()=>window.scrollY,l=t=>{t?(e.BOUTON_RETOUR_SOMMET.setAttribute(O,""),e.BOUTON_RETOUR_SOMMET.setAttribute(r,"99"),e.IMAGE_BOUTON.setAttribute(s,"false")):(e.BOUTON_RETOUR_SOMMET.removeAttribute(O),e.BOUTON_RETOUR_SOMMET.setAttribute(r,"-2"),e.IMAGE_BOUTON.setAttribute(s,"true")),M=!1};document.addEventListener("DOMContentLoaded",()=>{e.BOUTON_RETOUR_SOMMET.addEventListener("click",t=>{t.preventDefault(),window.scrollTo({behavior:"smooth",top:0}),e.BOUTON_MENU_MOBILE.focus({preventScroll:!0})}),window.addEventListener("scroll",()=>{u=d(),t<3||M||(M=!0,requestAnimationFrame(()=>l(u>3*window.innerHeight)))}),new ResizeObserver(n=>{T(o(n),c(n=>{t=e.CORPS_HTML.getBoundingClientRect().height/window.innerHeight,u=d()}))}).observe(e.CORPS_HTML),l(u>3*window.innerHeight)})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.br deleted file mode 100644 index 2dded1ea..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.gz deleted file mode 100644 index ce41a18d..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.zst deleted file mode 100644 index f45e6f78..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js deleted file mode 100644 index 1890d480..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js +++ /dev/null @@ -1 +0,0 @@ -import{m as i,a as E,h as l,b as O,c as s,d as T}from"./dom.BBcFv3WT.js";import{a9 as M}from"./exports.JV8YQBqW.js";import{t as R}from"./index-c1cc4c86.DUxuguYh.js";import"./journalisation.js";function d(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const t={BOUTON_MENU_MOBILE:i(E),BOUTON_RETOUR_SOMMET:i("#bouton-retour-haut"),CORPS_HTML:i("body"),IMAGE_BOUTON:i("#bouton-retour-haut img")},o=3;let _=t.CORPS_HTML.getBoundingClientRect().height/window.innerHeight,n=window.scrollY,r=!1;const a=()=>window.scrollY,u=e=>{e?(t.BOUTON_RETOUR_SOMMET.setAttribute(O,""),t.BOUTON_RETOUR_SOMMET.setAttribute(s,"99"),t.IMAGE_BOUTON.setAttribute(T,"false")):(t.BOUTON_RETOUR_SOMMET.removeAttribute(O),t.BOUTON_RETOUR_SOMMET.setAttribute(s,"-2"),t.IMAGE_BOUTON.setAttribute(T,"true")),r=!1},c=()=>{window.addEventListener("scroll",()=>{n=a(),!(_u(n>window.innerHeight*o))))}),new ResizeObserver(e=>{M(l(e),R(U=>{_=t.CORPS_HTML.getBoundingClientRect().height/window.innerHeight,n=a()}))}).observe(t.CORPS_HTML),u(n>window.innerHeight*o)},m=()=>{t.BOUTON_RETOUR_SOMMET.addEventListener("click",e=>{e.preventDefault(),window.scrollTo({behavior:"smooth",top:0}),t.BOUTON_MENU_MOBILE.focus({preventScroll:!0})})};document.addEventListener("DOMContentLoaded",()=>{m(),c()});export{d as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.br deleted file mode 100644 index 9f749cfd..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.gz deleted file mode 100644 index 1230833e..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.zst deleted file mode 100644 index fbaace44..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-bouton-retour-sommet.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-categories-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-categories-legacy.js deleted file mode 100644 index f8ba8363..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-categories-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy.BZucyBbQ.js","./dom-legacy.BaBbaRa_.js","./journalisation-legacy.js","./exports-legacy.CUaFfB0_.js"],function(e,t){"use strict";var n,r,s,i,a,o;return{setters:[e=>{n=e.M},e=>{r=e.m,s=e.e,i=e.f,a=e.R,o=e.g},null,null],execute:function(){document.addEventListener("DOMContentLoaded",()=>{const e=r(s),t=i(o);a.forEachWithIndex([t.at(0),t.at(-1)],(t,r)=>{r&&new IntersectionObserver(a.forEach(r=>{r.boundingClientRect.top<=0||n([r.isIntersecting,t]).with([!0,0],()=>e.removeAttribute("data-entrees-presentes-debut")).with([!0,1],()=>e.removeAttribute("data-entrees-presentes-fin")).with([!1,0],()=>e.setAttribute("data-entrees-presentes-debut","")).with([!1,1],()=>e.setAttribute("data-entrees-presentes-fin","")).run()}),{root:null,threshold:.9}).observe(r)})})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-categories.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-categories.js deleted file mode 100644 index 38f4c6bc..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-categories.js +++ /dev/null @@ -1 +0,0 @@ -import{M as i}from"./index.BiLbLflF.js";import{m as a,e as E,f as u,R as s,g as m}from"./dom.BBcFv3WT.js";import"./journalisation.js";import"./exports.JV8YQBqW.js";function c(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}document.addEventListener("DOMContentLoaded",()=>{const t=a(E),e=u(m);s.forEachWithIndex([e.at(0),e.at(-1)],(o,r)=>{r&&new IntersectionObserver(s.forEach(n=>{n.boundingClientRect.top<=0||i([n.isIntersecting,o]).with([!0,0],()=>t.removeAttribute("data-entrees-presentes-debut")).with([!0,1],()=>t.removeAttribute("data-entrees-presentes-fin")).with([!1,0],()=>t.setAttribute("data-entrees-presentes-debut","")).with([!1,1],()=>t.setAttribute("data-entrees-presentes-fin","")).run()}),{root:null,threshold:.9}).observe(r)})});export{c as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js deleted file mode 100644 index f34901bb..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js","./exports-legacy.CUaFfB0_.js","./index-c1cc4c86-legacy.C-8fWPTk.js","./journalisation-legacy.js"],function(e,t){"use strict";var i,s,n,o,r,d,a;return{setters:[e=>{i=e.m,s=e.i,n=e.a,o=e.R,r=e.j},e=>{d=e.a9},e=>{a=e.P},null],execute:function(){const e=":not([inert]):not([inert] *)",t=':not([tabindex^="-"])',h=":not(:disabled)";var l=[`a[href]${e}${t}`,`area[href]${e}${t}`,`input:not([type="hidden"]):not([type="radio"])${e}${t}${h}`,`input[type="radio"]${e}${t}${h}`,`select${e}${t}${h}`,`textarea${e}${t}${h}`,`button${e}${t}${h}`,`details${e} > summary:first-of-type${t}`,`iframe${e}${t}`,`audio[controls]${e}${t}`,`video[controls]${e}${t}`,`[contenteditable]${e}${t}`,`[tabindex]${e}${t}`];function u(e){(e.querySelector("[autofocus]")||e).focus()}function c(e,t){if(t&&m(e))return e;if(function(e){return!(e.shadowRoot&&"-1"===e.getAttribute("tabindex")||e.matches(":disabled,[hidden],[inert]"))}(e))if(e.shadowRoot){let i=f(e.shadowRoot,t);for(;i;){const e=c(i,t);if(e)return e;i=$(i,t)}}else if("slot"===e.localName){const i=e.assignedElements({flatten:!0});t||i.reverse();for(const e of i){const i=c(e,t);if(i)return i}}else{let i=f(e,t);for(;i;){const e=c(i,t);if(e)return e;i=$(i,t)}}return!t&&m(e)?e:null}function f(e,t){return t?e.firstElementChild:e.lastElementChild}function $(e,t){return t?e.nextElementSibling:e.previousElementSibling}const m=e=>!e.shadowRoot?.delegatesFocus&&e.matches(l.join(","))&&!(e=>!(!e.matches("details:not([open]) *")||e.matches("details>summary:first-of-type"))||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e);function v(e=document){const t=e.activeElement;return t?t.shadowRoot?v(t.shadowRoot)||document.activeElement:t:null}function y(e,t){const[i,s]=function(e){const t=c(e,!0);return[t,t?c(e,!1)||t:null]}(e);if(!i)return t.preventDefault();const n=v();t.shiftKey&&n===i?(s.focus(),t.preventDefault()):t.shiftKey||n!==s||(i.focus(),t.preventDefault())}function p(e,t){return function t(i){if(!i||i===document||i===window)return null;const s=b(i);return s&&(i=s),i.closest(e)||t(i.getRootNode().host)}(t)}function b(e){return e.assignedSlot||(e.parentNode?b(e.parentNode):null)}const g="data-a11y-dialog";class E{$el;id;previouslyFocused;shown;constructor(e){this.$el=e,this.id=this.$el.getAttribute(g)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented||(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0))),this}show(e){return this.shown||this.fire("show",e).defaultPrevented||(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=v(),"BODY"===this.previouslyFocused?.tagName&&e?.target&&(this.previouslyFocused=e.target),"focus"===e?.type?this.maintainFocus():u(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0)),this}hide(e){return this.shown?(this.fire("hide",e).defaultPrevented||(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.()),this):this}on(e,t,i){return this.$el.addEventListener(e,t,i),this}off(e,t,i){return this.$el.removeEventListener(e,t,i),this}fire(e,t){const i=new CustomEvent(e,{detail:t,cancelable:!0});return this.$el.dispatchEvent(i),i}handleTriggerClicks(e){const t=e.composedPath()[0],i=p(`[${g}-show="${this.id}"]`,t),s=p(`[${g}-hide="${this.id}"]`,t),n=p(`[${g}-hide]`,t)&&p('[aria-modal="true"]',t)===this.$el;i&&this.show(e),(s||n)&&this.hide(e)}bindKeypress(e){if(p('[aria-modal="true"]',v())!==this.$el)return;let t=!1;try{t=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}"Escape"!==e.key||"alertdialog"===this.$el.getAttribute("role")||t||(e.preventDefault(),this.hide(e)),"Tab"===e.key&&y(this.$el,e)}maintainFocus(){const e=v();p(`[aria-modal="true"], [${g}-ignore-focus-trap]`,e)||u(this.$el)}}function w(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new E(e)}"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",w):w());const O={BOUTON_MENU_MOBILE:i(n),CORPS_HTML:i("body"),MENU_MOBILE:i(s)};document.addEventListener("DOMContentLoaded",()=>{(()=>{const e=new E(O.MENU_MOBILE);new ResizeObserver(t=>d(o.head(t),a.filter(e=>e.borderBoxSize[0].inlineSize>1e3),a.tap(t=>e.hide()))).observe(O.CORPS_HTML),O.BOUTON_MENU_MOBILE.addEventListener("click",()=>{window.innerWidth>1e3?window.location.href="/":O.BOUTON_MENU_MOBILE.hasAttribute(r)?e.hide():e.show()}),e.on("show",()=>{O.BOUTON_MENU_MOBILE.setAttribute(r,"")}),e.on("hide",()=>{O.BOUTON_MENU_MOBILE.removeAttribute(r)})})()})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.br deleted file mode 100644 index 7915ec38..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.gz deleted file mode 100644 index af84b7b0..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.zst deleted file mode 100644 index 962149c4..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js deleted file mode 100644 index fb767433..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js +++ /dev/null @@ -1 +0,0 @@ -import{m as h,i as T,a as O,R as M,j as c}from"./dom.BBcFv3WT.js";import{a9 as x}from"./exports.JV8YQBqW.js";import{P as f}from"./index-c1cc4c86.DUxuguYh.js";import"./journalisation.js";function A(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const n={inert:":not([inert]):not([inert] *)",negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"};var w=[`a[href]${n.inert}${n.negTabIndex}`,`area[href]${n.inert}${n.negTabIndex}`,`input:not([type="hidden"]):not([type="radio"])${n.inert}${n.negTabIndex}${n.disabled}`,`input[type="radio"]${n.inert}${n.negTabIndex}${n.disabled}`,`select${n.inert}${n.negTabIndex}${n.disabled}`,`textarea${n.inert}${n.negTabIndex}${n.disabled}`,`button${n.inert}${n.negTabIndex}${n.disabled}`,`details${n.inert} > summary:first-of-type${n.negTabIndex}`,`iframe${n.inert}${n.negTabIndex}`,`audio[controls]${n.inert}${n.negTabIndex}`,`video[controls]${n.inert}${n.negTabIndex}`,`[contenteditable]${n.inert}${n.negTabIndex}`,`[tabindex]${n.inert}${n.negTabIndex}`];function b(t){(t.querySelector("[autofocus]")||t).focus()}function I(t){const e=u(t,!0),i=e?u(t,!1)||e:null;return[e,i]}function u(t,e){if(e&&$(t))return t;if(L(t))if(t.shadowRoot){let i=m(t.shadowRoot,e);for(;i;){const s=u(i,e);if(s)return s;i=E(i,e)}}else if(t.localName==="slot"){const i=t.assignedElements({flatten:!0});e||i.reverse();for(const s of i){const o=u(s,e);if(o)return o}}else{let i=m(t,e);for(;i;){const s=u(i,e);if(s)return s;i=E(i,e)}}return!e&&$(t)?t:null}function m(t,e){return e?t.firstElementChild:t.lastElementChild}function E(t,e){return e?t.nextElementSibling:t.previousElementSibling}const _=t=>t.matches("details:not([open]) *")&&!t.matches("details>summary:first-of-type")?!0:!(t.offsetWidth||t.offsetHeight||t.getClientRects().length),$=t=>t.shadowRoot?.delegatesFocus?!1:t.matches(w.join(","))&&!_(t);function L(t){return t.shadowRoot&&t.getAttribute("tabindex")==="-1"?!1:!t.matches(":disabled,[hidden],[inert]")}function l(t=document){const e=t.activeElement;return e?e.shadowRoot?l(e.shadowRoot)||document.activeElement:e:null}function N(t,e){const[i,s]=I(t);if(!i)return e.preventDefault();const o=l();e.shiftKey&&o===i?(s.focus(),e.preventDefault()):!e.shiftKey&&o===s&&(i.focus(),e.preventDefault())}function r(t,e){function i(s){if(!s||s===document||s===window)return null;const o=p(s);return o&&(s=o),s.closest(t)||i(s.getRootNode().host)}return i(e)}function p(t){return t.assignedSlot||(t.parentNode?p(t.parentNode):null)}const d="data-a11y-dialog";class y{$el;id;previouslyFocused;shown;constructor(e){this.$el=e,this.id=this.$el.getAttribute(d)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented?this:(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0)),this)}show(e){return this.shown?this:this.fire("show",e).defaultPrevented?this:(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=l(),this.previouslyFocused?.tagName==="BODY"&&e?.target&&(this.previouslyFocused=e.target),e?.type==="focus"?this.maintainFocus():b(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0),this)}hide(e){return this.shown?this.fire("hide",e).defaultPrevented?this:(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.(),this):this}on(e,i,s){return this.$el.addEventListener(e,i,s),this}off(e,i,s){return this.$el.removeEventListener(e,i,s),this}fire(e,i){const s=new CustomEvent(e,{detail:i,cancelable:!0});return this.$el.dispatchEvent(s),s}handleTriggerClicks(e){const i=e.composedPath()[0],s=r(`[${d}-show="${this.id}"]`,i),o=r(`[${d}-hide="${this.id}"]`,i),v=r(`[${d}-hide]`,i)&&r('[aria-modal="true"]',i)===this.$el;s&&this.show(e),(o||v)&&this.hide(e)}bindKeypress(e){if(r('[aria-modal="true"]',l())!==this.$el)return;let i=!1;try{i=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}e.key==="Escape"&&this.$el.getAttribute("role")!=="alertdialog"&&!i&&(e.preventDefault(),this.hide(e)),e.key==="Tab"&&N(this.$el,e)}maintainFocus(){const e=l();r(`[aria-modal="true"], [${d}-ignore-focus-trap]`,e)||b(this.$el)}}function g(){for(const t of document.querySelectorAll("[data-a11y-dialog]"))new y(t)}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",g):g());const a={BOUTON_MENU_MOBILE:h(O),CORPS_HTML:h("body"),MENU_MOBILE:h(T)},B=()=>{const t=new y(a.MENU_MOBILE);new ResizeObserver(e=>x(M.head(e),f.filter(i=>i.borderBoxSize[0].inlineSize>1e3),f.tap(i=>t.hide()))).observe(a.CORPS_HTML),a.BOUTON_MENU_MOBILE.addEventListener("click",()=>{if(window.innerWidth>1e3){window.location.href="/";return}if(a.BOUTON_MENU_MOBILE.hasAttribute(c)){t.hide();return}t.show()}),t.on("show",()=>{a.BOUTON_MENU_MOBILE.setAttribute(c,"")}),t.on("hide",()=>{a.BOUTON_MENU_MOBILE.removeAttribute(c)})};document.addEventListener("DOMContentLoaded",()=>{B()});export{A as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.br deleted file mode 100644 index 6547a658..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.gz deleted file mode 100644 index 889a3d39..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.zst deleted file mode 100644 index 5a0ddd8b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-menu-mobile.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js deleted file mode 100644 index 61633403..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js","./exports-legacy.CUaFfB0_.js","./index-c1cc4c86-legacy.C-8fWPTk.js","./journalisation-legacy.js"],function(t,e){"use strict";var a,r,l,o,c,n,s,i,u,f,m,g;return{setters:[t=>{a=t.m,r=t.k,l=t.f,o=t.l,c=t.n,n=t.R,s=t.o,i=t.p,u=t.C,f=t.q},t=>{m=t.a9},t=>{g=t.P},null],execute:function(){const t=a(r),e=l(o),p=l(c),b=new Map;n.forEachWithIndex(e,(t,e)=>{m(e,g.flatMap(t=>t.getAttribute(s)),g.tap(a=>{b.set(a,[e,p[t]])}))}),document.addEventListener("DOMContentLoaded",()=>{t.addEventListener("click",t=>{const e=t.target;m(e,g.fromPredicate(t=>t.className===u),g.mapNullable(t=>t.parentElement),g.flatMap(t=>t.getAttribute(s)),g.tap(t=>{m(g.fromNullable(b.get(t)),g.tap(n.forEach(t=>t.removeAttribute(i))))})),m(e,g.fromPredicate(t=>t.className===f),g.flatMap(t=>t.getAttribute(s)),g.tap(t=>{e.hasAttribute(i)?m(g.fromNullable(b.get(t)),g.tap(n.forEach(t=>t.removeAttribute(i)))):(m(Array.from(b.values()),n.flat,n.forEach(t=>t.removeAttribute(i))),m(g.fromNullable(b.get(t)),g.tap(n.forEach(t=>t.toggleAttribute(i)))))}))})})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.br deleted file mode 100644 index 2fbe17f3..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.br +++ /dev/null @@ -1 +0,0 @@ -.@Tզ5Dg[SPvKdďDCT h$JXhEv؅ 5 LO:g{g?𯝧 3#q|֘r_~z:2F#!!듌ƙPXeD,£A =j6$Q>Mvjk>-Ԡ$j1=#W¯;?]cTomGIG꘢%yW]fa.~sm[A, JR7׻1Aiu/ MtmVS+a-}>Xl"N$Rbl(әg&s#ƾ# MUکR'KV0z3W(W[q"Fn  |2Y.-!h \ No newline at end of file diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.gz deleted file mode 100644 index b6b99449..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.zst deleted file mode 100644 index e349a5e7..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js deleted file mode 100644 index d1f87c07..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js +++ /dev/null @@ -1 +0,0 @@ -import{m as n,k as c,f as l,l as i,n as u,R as o,o as _,p as m,C as f,q as N}from"./dom.BBcFv3WT.js";import{a9 as E}from"./exports.JV8YQBqW.js";import{P as e}from"./index-c1cc4c86.DUxuguYh.js";import"./journalisation.js";function O(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const p=n(c),I=l(i),L=l(u),s=new Map;o.forEachWithIndex(I,(T,r)=>{E(r,e.flatMap(t=>t.getAttribute(_)),e.tap(t=>{s.set(t,[r,L[T]])}))});document.addEventListener("DOMContentLoaded",()=>{p.addEventListener("click",T=>{const r=T.target;E(r,e.fromPredicate(t=>t.className===f),e.mapNullable(t=>t.parentElement),e.flatMap(t=>t.getAttribute(_)),e.tap(t=>{E(e.fromNullable(s.get(t)),e.tap(o.forEach(a=>a.removeAttribute(m))))})),E(r,e.fromPredicate(t=>t.className===N),e.flatMap(t=>t.getAttribute(_)),e.tap(t=>{if(r.hasAttribute(m)){E(e.fromNullable(s.get(t)),e.tap(o.forEach(a=>a.removeAttribute(m))));return}E(Array.from(s.values()),o.flat,o.forEach(a=>a.removeAttribute(m))),E(e.fromNullable(s.get(t)),e.tap(o.forEach(a=>a.toggleAttribute(m))))}))})});export{O as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.br deleted file mode 100644 index 5c864947..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.gz deleted file mode 100644 index 89d80acf..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.zst deleted file mode 100644 index 15361877..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-a-propos.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js deleted file mode 100644 index 1798e6c2..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js","./journalisation-legacy.js","./nombres-legacy.BZrbZkuk.js","./exports-legacy.CUaFfB0_.js","./index-c1cc4c86-legacy.C-8fWPTk.js"],function(e,t){"use strict";var i,n,s,o,r,T,g,E,N,h,a,I,c;return{setters:[e=>{i=e.m,n=e.r,s=e.f,o=e.s,r=e.t,T=e.u,g=e.R,E=e.v,N=e.w},e=>{h=e.n},e=>{a=e.e},e=>{I=e.a9},e=>{c=e.P}],execute:function(){const e={CONTENEUR_ANIMATION:i(r),CONTENEUR_STORYTELLING:i(".storytelling__conteneur"),IMAGES_STORYTELLING:s(o),STORYTELLING:i(n)},t=()=>{let t={height:e.IMAGES_STORYTELLING.at(0)?.getBoundingClientRect().height??0,width:e.IMAGES_STORYTELLING.at(0)?.getBoundingClientRect().width??0},i=0;h.debug`initStorytellingScroll | dimensionsImages ${t.height}`;const n=()=>{i=e.STORYTELLING.scrollTop,e.IMAGES_STORYTELLING.forEach((e,n)=>{const s=t.height*n,o=t.height*(n+1);((e,t)=>{e.toggleAttribute(N,t)})(e,!a(i,s,o))})};new ResizeObserver(()=>{(()=>{t=I(g.getBy(e.IMAGES_STORYTELLING,e=>!e.hasAttribute(N)),c.map(e=>({height:e.getBoundingClientRect().height,width:e.getBoundingClientRect().width})),c.getWithDefault({height:0,width:0})),h.debug`majDimensions | dimensionsImage ${t}`,e.CONTENEUR_ANIMATION.style.width=`${String(t.width)}px`;const i=`${String(t.height*e.IMAGES_STORYTELLING.length+61)}px`;e.CONTENEUR_STORYTELLING.style.minHeight=i,e.CONTENEUR_STORYTELLING.style.maxHeight=i,h.debug`majDimensions | nouvelleHauteurMax ${i}`})(),n()}).observe(e.STORYTELLING),e.STORYTELLING.addEventListener("scroll",()=>n())};document.addEventListener("DOMContentLoaded",()=>{e.CONTENEUR_ANIMATION.classList.remove(T),t(),I(g.at(e.IMAGES_STORYTELLING,0),c.tap(t=>{new IntersectionObserver(t=>{g.forEach(t,t=>{t.intersectionRatio>=.9?e.CONTENEUR_ANIMATION.removeAttribute(E):e.CONTENEUR_ANIMATION.setAttribute(E,""),h.debug`initGestionAnimation | estCache ${t.intersectionRatio>=.9} | ${t}`})},{root:null,rootMargin:"0px",threshold:0}).observe(t)}))})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.br deleted file mode 100644 index 6338631e..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.gz deleted file mode 100644 index 24f2b188..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.zst deleted file mode 100644 index 1fff191b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js deleted file mode 100644 index e67606b5..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js +++ /dev/null @@ -1 +0,0 @@ -import{m as E,r as R,f as u,s as L,t as h,u as _,R as N,v as l,w as g}from"./dom.BBcFv3WT.js";import{n as a}from"./journalisation.js";import{e as S}from"./nombres.C1uiwPb_.js";import{a9 as m}from"./exports.JV8YQBqW.js";import{P as I}from"./index-c1cc4c86.DUxuguYh.js";function M(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const t={CONTENEUR_ANIMATION:E(h),CONTENEUR_STORYTELLING:E(".storytelling__conteneur"),IMAGES_STORYTELLING:u(L),STORYTELLING:E(R)},A=()=>{t.CONTENEUR_ANIMATION.classList.remove(_)},G=()=>{let e={height:t.IMAGES_STORYTELLING.at(0)?.getBoundingClientRect().height??0,width:t.IMAGES_STORYTELLING.at(0)?.getBoundingClientRect().width??0},s=0;a.debug`initStorytellingScroll | dimensionsImages ${e.height}`;const r=(n,i)=>{n.toggleAttribute(g,i)},T=()=>{e=m(N.getBy(t.IMAGES_STORYTELLING,i=>!i.hasAttribute(g)),I.map(i=>({height:i.getBoundingClientRect().height,width:i.getBoundingClientRect().width})),I.getWithDefault({height:0,width:0})),a.debug`majDimensions | dimensionsImage ${e}`,t.CONTENEUR_ANIMATION.style.width=`${String(e.width)}px`;const n=`${String(e.height*t.IMAGES_STORYTELLING.length+61)}px`;t.CONTENEUR_STORYTELLING.style.minHeight=n,t.CONTENEUR_STORYTELLING.style.maxHeight=n,a.debug`majDimensions | nouvelleHauteurMax ${n}`},o=()=>{s=t.STORYTELLING.scrollTop,t.IMAGES_STORYTELLING.forEach((n,i)=>{const O=e.height*i,c=e.height*(i+1);r(n,!S(s,O,c))})};new ResizeObserver(()=>{T(),o()}).observe(t.STORYTELLING),t.STORYTELLING.addEventListener("scroll",()=>o())},d=()=>{m(N.at(t.IMAGES_STORYTELLING,0),I.tap(e=>{const s={root:null,rootMargin:"0px",threshold:0},r=T=>{N.forEach(T,o=>{o.intersectionRatio>=.9?t.CONTENEUR_ANIMATION.removeAttribute(l):t.CONTENEUR_ANIMATION.setAttribute(l,""),a.debug`initGestionAnimation | estCache ${o.intersectionRatio>=.9} | ${o}`})};new IntersectionObserver(r,s).observe(e)}))};document.addEventListener("DOMContentLoaded",()=>{A(),G(),d()});export{M as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.br deleted file mode 100644 index e8fffcc7..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.gz deleted file mode 100644 index a289d368..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.zst deleted file mode 100644 index bc46a297..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-accueil.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js deleted file mode 100644 index c9f65d41..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js +++ /dev/null @@ -1,24 +0,0 @@ -System.register(["./index-legacy.BZucyBbQ.js","./dom-legacy.BaBbaRa_.js","./api-legacy.BVjX3txO.js","./reseau-legacy.dBQarsl0.js","./validation-legacy.C-7tMwb9.js","./exports-legacy.CUaFfB0_.js","./journalisation-legacy.js"],function(t,e){"use strict";var i,a,r,_,s,o,n,d,l,u,c,p,g,m,O,E,I,T,D,h,S,U,f,N,P,R,L,b,A,y,x,v,w,k,B,C,G;return{setters:[t=>{i=t.M,a=t.z},t=>{r=t.x,_=t.y,s=t.z,o=t.B,n=t.E,d=t.F,l=t.G,u=t.H,c=t.I,p=t.J,g=t.K,m=t.L,O=t.M,E=t.N,I=t.O,T=t.m,D=t.P,h=t.Q,S=t.S,U=t.T,f=t.U,N=t.V,P=t.W,R=t.X,L=t.Y,b=t.v,A=t.Z,y=t._,x=t.$},t=>{v=t.R},t=>{w=t.E,k=t.g,B=t.n},t=>{C=t.s},t=>{G=t.a9},null],execute:function(){function t(t,e){return e(t),t}function e(){if(1===arguments.length){const e=arguments;return function(i){return t(i,e[0])}}return t(arguments[0],arguments[1])}const M={EXTERNAL:"external",GROUPED:"grouped",SIMPLE:"simple",VARIABLE:"variable"},F={IN_STOCK:"instock",ON_BACK_ORDER:"onbackorder",OUT_OF_STOCK:"outofstock"},j={ANY:"any",CATALOG:"catalog",HIDDEN:"hidden",SEARCH:"search",VISIBLE:"visible"},H={ANY:"any",DRAFT:"draft",FUTURE:"future",PENDING:"pending",PRIVATE:"private",PUBLISH:"publish",TRASH:"trash"},$=r({after:s(n()),attribute:s(n()),attribute_relation:s(o({AND:"and",IN:"in"})),attribute_term:s(n()),attributes:s(_(m())),before:s(n()),catalog_visibility:s(o(j)),category:s(n()),category_operator:s(o({AND:"and",IN:"in",NOT_IN:"not_in"})),context:s(o({EDIT:"edit",VIEW:"view"})),date_column:s(o({DATE:"date",DATE_GMT:"date_gmt",MODIFIED:"modified",MODIFIED_GMT:"modified_gmt"})),dates_are_gmt:s(g()),exclude:s(_(d(c(),p()))),exclude_meta:s(_(n())),featured:s(g()),include:s(_(d(c(),p()))),include_meta:s(_(n())),max_price:s(n()),min_price:s(n()),modified_after:s(n()),modified_before:s(n()),offset:s(d(c(),p())),on_sale:s(g()),order:s(o({ASC:"asc",DESC:"desc"})),orderby:s(o({COMMENT_COUNT:"comment_count",DATE:"date",ID:"id",INCLUDE:"include",MENU_ORDER:"menu_order",MODIFIED:"modified",POPULARITY:"popularity",PRICE:"price",RATING:"rating",SLUG:"slug",TITLE:"title"})),page:s(d(c(),u(1))),parent:s(_(d(c(),p()))),parent_exclude:s(_(d(c(),p()))),per_page:s(d(c(),u(0),l(100))),rating:s(_(o({1:1,2:2,3:3,4:4,5:5}))),search:s(n()),search_sku:s(n()),shipping_class:s(n()),sku:s(n()),slug:s(n()),status:s(o(H)),stock_status:s(_(o(F))),tag:s(n()),tag_operator:s(o({AND:"and",IN:"in",NOT_IN:"not_in"})),type:s(o(M))}),V=r({file:n(),id:n(),name:n()}),Y=r({height:n(),length:n(),width:n()}),K=r({id:d(c(),p()),name:n(),slug:n()}),q=r({id:d(c(),p()),name:n(),slug:n()}),X=r({alt:n(),date_created:n(),date_created_gmt:n(),date_modified:n(),date_modified_gmt:n(),id:d(c(),p()),name:n(),src:n()}),z=r({id:d(c(),p()),name:n(),options:_(n()),position:d(c(),p()),variation:g(),visible:g()}),W=r({id:d(c(),p()),name:n(),option:n()}),J=r({id:d(c(),p()),key:n(),option:s(m())}),Q=r({attributes:_(z),average_rating:n(),backordered:g(),backorders:o({NO:"no",NOTIFY:"notify",YES:"yes"}),backorders_allowed:g(),button_text:n(),catalog_visibility:o(j),categories:_(K),cross_sell_ids:_(d(c(),p())),date_created:n(),date_created_gmt:n(),date_modified:n(),date_modified_gmt:n(),date_on_sale_from:O([n(),E()]),date_on_sale_from_gmt:O([n(),E()]),date_on_sale_to:O([n(),E()]),date_on_sale_to_gmt:O([n(),E()]),default_attributes:_(W),description:n(),dimensions:Y,download_expiry:c(),download_limit:c(),downloadable:g(),downloads:_(V),external_url:n(),featured:g(),generated_slug:s(n()),global_unique_id:n(),grouped_products:_(d(c(),p())),has_options:g(),id:d(c(),p()),image_repos:O([n(),E()]),image_survol:O([n(),E()]),images:_(X),low_stock_amount:O([c(),E()]),manage_stock:g(),menu_order:d(c(),p()),meta_data:_(J),name:n(),on_sale:g(),parent_id:d(c(),p()),permalink:d(n(),I()),permalink_template:s(n()),post_password:n(),price:n(),price_html:n(),prix_maximal:n(),purchasable:g(),purchase_note:n(),rating_count:d(c(),p()),regular_price:n(),related_ids:_(d(c(),p())),reviews_allowed:g(),sale_price:n(),shipping_class:n(),shipping_class_id:d(c(),p()),shipping_required:g(),shipping_taxable:g(),short_description:n(),sku:n(),slug:n(),sold_individually:g(),status:o(H),stock_quantity:O([c(),E()]),stock_status:o(F),tags:_(q),tax_class:n(),tax_status:o({NONE:"none",SHIPPING:"shipping",TAXABLE:"taxable"}),total_sales:d(c(),p()),type:o(M),upsell_ids:_(d(c(),p())),variations:_(d(c(),p())),virtual:g(),weight:n()}),Z=_(Q),tt=_etats,et={BOUTON_PLUS_DE_PRODUITS:T(h),GRILLE_PRODUITS:T(D)};document.addEventListener("DOMContentLoaded",()=>{(()=>{const t=et.GRILLE_PRODUITS.getAttribute(S);et.BOUTON_PLUS_DE_PRODUITS.addEventListener("click",()=>{const r=Number(et.GRILLE_PRODUITS.getAttribute(U))+1,_={page:r,per_page:12,status:H.PUBLISH,...t&&{category:t}};w.liftEither(C(_,$)).ifRight(()=>{et.BOUTON_PLUS_DE_PRODUITS.setAttribute(f,""),et.BOUTON_PLUS_DE_PRODUITS.setAttribute(N,""),P(et.BOUTON_PLUS_DE_PRODUITS,500)}).chain(t=>w(()=>k({authString:tt.authString,nonce:tt.nonce,route:v,searchParams:new URLSearchParams(t).toString()}))).chain(t=>w(async({throwE:e})=>i(await B(t)).with({status:500},()=>e(new R("500 Server Error"))).with({status:400},()=>e(new L("400 Server Error"))).with({status:200},t=>t.body).run())).chain(t=>w.liftEither(C(t,Z))).ifRight(t=>{t.length<12&&et.BOUTON_PLUS_DE_PRODUITS.toggleAttribute(b);const i=document.createDocumentFragment();for(const a of t.slice(0,12))G(A` - - `,e(t=>i.appendChild(t)));et.GRILLE_PRODUITS.appendChild(i),et.GRILLE_PRODUITS.setAttribute(U,String(r)),et.BOUTON_PLUS_DE_PRODUITS.textContent="Show more"}).ifLeft(t=>{i(t).with(a.instanceOf(y),t=>{x(t),console.error("ValiError",t.issues)}).otherwise(t=>{x(t),console.error("Erreur",t)}),et.BOUTON_PLUS_DE_PRODUITS.textContent="Error, try again?"}).finally(()=>{et.BOUTON_PLUS_DE_PRODUITS.removeAttribute(N),et.BOUTON_PLUS_DE_PRODUITS.removeAttribute(f)}).run()})})()})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.br deleted file mode 100644 index adb2793b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.gz deleted file mode 100644 index eb2692ce..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.zst deleted file mode 100644 index 50015881..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js deleted file mode 100644 index fa181d0c..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js +++ /dev/null @@ -1,24 +0,0 @@ -import{M as U,z as G}from"./index.BiLbLflF.js";import{x as d,y as i,z as e,B as n,E as t,F as r,G as V,H as D,I as a,J as o,K as s,L as b,M as m,N as T,O as w,m as P,P as k,Q as M,S as W,T as R,U as A,V as h,W as F,X as H,Y,v as $,Z as K,_ as q,$ as f}from"./dom.BBcFv3WT.js";import{R as X}from"./api.BWtmxolt.js";import{E as g,g as z,n as j}from"./reseau.CUz9kCSO.js";import{s as L}from"./validation.DpnMPnCH.js";import{a9 as J}from"./exports.JV8YQBqW.js";import"./journalisation.js";function Ut(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}function N(p,E){return E(p),p}function Q(){if(arguments.length===1){const p=arguments;return function(S){return N(S,p[0])}}return N(arguments[0],arguments[1])}const Z={EDIT:"edit",VIEW:"view"},tt={DATE:"date",DATE_GMT:"date_gmt",MODIFIED:"modified",MODIFIED_GMT:"modified_gmt"},et={ASC:"asc",DESC:"desc"},at={COMMENT_COUNT:"comment_count",DATE:"date",ID:"id",INCLUDE:"include",MENU_ORDER:"menu_order",MODIFIED:"modified",POPULARITY:"popularity",PRICE:"price",RATING:"rating",SLUG:"slug",TITLE:"title"},B={EXTERNAL:"external",GROUPED:"grouped",SIMPLE:"simple",VARIABLE:"variable"},rt={AND:"and",IN:"in",NOT_IN:"not_in"},it={AND:"and",IN:"in",NOT_IN:"not_in"},v={IN_STOCK:"instock",ON_BACK_ORDER:"onbackorder",OUT_OF_STOCK:"outofstock"},ot={AND:"and",IN:"in"},y={ANY:"any",CATALOG:"catalog",HIDDEN:"hidden",SEARCH:"search",VISIBLE:"visible"},st={1:1,2:2,3:3,4:4,5:5},I={ANY:"any",DRAFT:"draft",FUTURE:"future",PENDING:"pending",PRIVATE:"private",PUBLISH:"publish",TRASH:"trash"},nt={NONE:"none",SHIPPING:"shipping",TAXABLE:"taxable"},_t={NO:"no",NOTIFY:"notify",YES:"yes"},ct=d({after:e(t()),attribute:e(t()),attribute_relation:e(n(ot)),attribute_term:e(t()),attributes:e(i(b())),before:e(t()),catalog_visibility:e(n(y)),category:e(t()),category_operator:e(n(rt)),context:e(n(Z)),date_column:e(n(tt)),dates_are_gmt:e(s()),exclude:e(i(r(a(),o()))),exclude_meta:e(i(t())),featured:e(s()),include:e(i(r(a(),o()))),include_meta:e(i(t())),max_price:e(t()),min_price:e(t()),modified_after:e(t()),modified_before:e(t()),offset:e(r(a(),o())),on_sale:e(s()),order:e(n(et)),orderby:e(n(at)),page:e(r(a(),D(1))),parent:e(i(r(a(),o()))),parent_exclude:e(i(r(a(),o()))),per_page:e(r(a(),D(0),V(100))),rating:e(i(n(st))),search:e(t()),search_sku:e(t()),shipping_class:e(t()),sku:e(t()),slug:e(t()),status:e(n(I)),stock_status:e(i(n(v))),tag:e(t()),tag_operator:e(n(it)),type:e(n(B))}),ut=d({file:t(),id:t(),name:t()}),dt=d({height:t(),length:t(),width:t()}),lt=d({id:r(a(),o()),name:t(),slug:t()}),mt=d({id:r(a(),o()),name:t(),slug:t()}),Tt=d({alt:t(),date_created:t(),date_created_gmt:t(),date_modified:t(),date_modified_gmt:t(),id:r(a(),o()),name:t(),src:t()}),pt=d({id:r(a(),o()),name:t(),options:i(t()),position:r(a(),o()),variation:s(),visible:s()}),Et=d({id:r(a(),o()),name:t(),option:t()}),gt=d({id:r(a(),o()),key:t(),option:e(b())}),St=d({attributes:i(pt),average_rating:t(),backordered:s(),backorders:n(_t),backorders_allowed:s(),button_text:t(),catalog_visibility:n(y),categories:i(lt),cross_sell_ids:i(r(a(),o())),date_created:t(),date_created_gmt:t(),date_modified:t(),date_modified_gmt:t(),date_on_sale_from:m([t(),T()]),date_on_sale_from_gmt:m([t(),T()]),date_on_sale_to:m([t(),T()]),date_on_sale_to_gmt:m([t(),T()]),default_attributes:i(Et),description:t(),dimensions:dt,download_expiry:a(),download_limit:a(),downloadable:s(),downloads:i(ut),external_url:t(),featured:s(),generated_slug:e(t()),global_unique_id:t(),grouped_products:i(r(a(),o())),has_options:s(),id:r(a(),o()),image_repos:m([t(),T()]),image_survol:m([t(),T()]),images:i(Tt),low_stock_amount:m([a(),T()]),manage_stock:s(),menu_order:r(a(),o()),meta_data:i(gt),name:t(),on_sale:s(),parent_id:r(a(),o()),permalink:r(t(),w()),permalink_template:e(t()),post_password:t(),price:t(),price_html:t(),prix_maximal:t(),purchasable:s(),purchase_note:t(),rating_count:r(a(),o()),regular_price:t(),related_ids:i(r(a(),o())),reviews_allowed:s(),sale_price:t(),shipping_class:t(),shipping_class_id:r(a(),o()),shipping_required:s(),shipping_taxable:s(),short_description:t(),sku:t(),slug:t(),sold_individually:s(),status:n(I),stock_quantity:m([a(),T()]),stock_status:n(v),tags:i(mt),tax_class:t(),tax_status:n(nt),total_sales:r(a(),o()),type:n(B),upsell_ids:i(r(a(),o())),variations:i(r(a(),o())),virtual:s(),weight:t()}),Ot=i(St),C=_etats,O=12,_={BOUTON_PLUS_DE_PRODUITS:P(M),GRILLE_PRODUITS:P(k)},It=()=>{const p=_.GRILLE_PRODUITS.getAttribute(W);_.BOUTON_PLUS_DE_PRODUITS.addEventListener("click",()=>{const E=Number(_.GRILLE_PRODUITS.getAttribute(R))+1,S={page:E,per_page:O,status:I.PUBLISH,...p&&{category:p}};g.liftEither(L(S,ct)).ifRight(()=>{_.BOUTON_PLUS_DE_PRODUITS.setAttribute(A,""),_.BOUTON_PLUS_DE_PRODUITS.setAttribute(h,""),F(_.BOUTON_PLUS_DE_PRODUITS,500)}).chain(u=>g(()=>z({authString:C.authString,nonce:C.nonce,route:X,searchParams:new URLSearchParams(u).toString()}))).chain(u=>g(async({throwE:c})=>U(await j(u)).with({status:500},()=>c(new H("500 Server Error"))).with({status:400},()=>c(new Y("400 Server Error"))).with({status:200},l=>l.body).run())).chain(u=>g.liftEither(L(u,Ot))).ifRight(u=>{u.length -
- - - ${l.image_repos??""} - - - - ${l.image_survol??""} - - - -
-

- ${l.name} -

-

- ${l.prix_maximal}€ -

-
-
- - `,Q(x=>c.appendChild(x)));_.GRILLE_PRODUITS.appendChild(c),_.GRILLE_PRODUITS.setAttribute(R,String(E)),_.BOUTON_PLUS_DE_PRODUITS.textContent="Show more"}).ifLeft(u=>{U(u).with(G.instanceOf(q),c=>{f(c),console.error("ValiError",c.issues)}).otherwise(c=>{f(c),console.error("Erreur",c)}),_.BOUTON_PLUS_DE_PRODUITS.textContent="Error, try again?"}).finally(()=>{_.BOUTON_PLUS_DE_PRODUITS.removeAttribute(h),_.BOUTON_PLUS_DE_PRODUITS.removeAttribute(A)}).run()})};document.addEventListener("DOMContentLoaded",()=>{It()});export{Ut as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.br deleted file mode 100644 index b635caf5..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.gz deleted file mode 100644 index 84a6821c..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.zst deleted file mode 100644 index 453b28ac..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-boutique.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js deleted file mode 100644 index 3430af96..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js +++ /dev/null @@ -1,11 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js","./messages-legacy.PVpnHWo9.js","./nombres-legacy.BZrbZkuk.js","./gardes-legacy.KKtp3xCq.js","./index-legacy.BZucyBbQ.js","./api-legacy.BVjX3txO.js","./reseau-legacy.dBQarsl0.js","./validation-legacy.C-7tMwb9.js","./journalisation-legacy.js","./exports-legacy.CUaFfB0_.js"],function(t,e){"use strict";var i,n,o,s,a,r,l,d,u,c,_,h,E,A,O,p,S,m,g,f,R,N,T,v,C,y,b,w,I,$,U,L,M,D,P,x,B,F,H,k,j,V,G,J,q,W,z,K,Q,X,Z,Y,tt,et,it,nt,ot,st,at,rt,lt,dt,ut,ct,_t,ht,Et,At,Ot,pt,St,mt,gt,ft,Rt,Nt,Tt,vt,Ct,yt,bt,wt,It,$t,Ut,Lt,Mt,Dt,Pt,xt,Bt,Ft,Ht,kt,jt,Vt,Gt,Jt,qt,Wt,zt,Kt,Qt,Xt,Zt,Yt,te,ee,ie,ne;return{setters:[t=>{i=t.a0,n=t.a1,o=t.x,s=t.z,a=t.E,r=t.y,l=t.B,d=t.K,u=t.F,c=t.L,_=t.M,h=t.J,E=t.I,A=t.N,O=t.m,p=t.a2,S=t.a3,m=t.a4,g=t.a5,f=t.a6,R=t.a7,N=t.a8,T=t.a9,v=t.aa,C=t.ab,y=t.ac,b=t.ad,w=t.ae,I=t.af,$=t.ag,U=t.ah,L=t.ai,M=t.aj,D=t.ak,P=t.al,x=t.am,B=t.an,F=t.ao,H=t.ap,k=t.aq,j=t.ar,V=t._,G=t.as,J=t.at,q=t.au,W=t.V,z=t.av,K=t.U,Q=t.W,X=t.X,Z=t.aw,Y=t.v,tt=t.$,et=t.ax,it=t.ay,nt=t.az,ot=t.aA,st=t.H,at=t.aB,rt=t.aC,lt=t.Y,dt=t.aD,ut=t.aE,ct=t.aF,_t=t.aG,ht=t.A,Et=t.aH,At=t.aI,Ot=t.aJ},t=>{pt=t.W,St=t.a,mt=t.b,gt=t.e,ft=t.c,Rt=t.d,Nt=t.f,Tt=t.r,vt=t.g,Ct=t.h,yt=t.i,bt=t.N,wt=t.v,It=t.j,$t=t.k},t=>{Ut=t.d,Lt=t.a,Mt=t.f,Dt=t.i},t=>{Pt=t.y,xt=t.m,Bt=t.a,Ft=t.e},t=>{Ht=t.M,kt=t.z},t=>{jt=t.b,Vt=t.c,Gt=t.d,Jt=t.e,qt=t.f,Wt=t.g},t=>{zt=t.p,Kt=t.E,Qt=t.s,Xt=t.n,Zt=t.t,Yt=t.a},t=>{te=t.a,ee=t.s},t=>{ie=t.l},t=>{ne=t.a9}],execute:function(){function t(t){return t.trim()}const e="Something seems to be wrong with your network. Please verify your connection, refresh and try again?",oe="Something went wrong while submitting the addresses. Please refresh your page and try again?",se="adressesMaj",ae="codePromoMaj",re="shippingRatesUpdated",le="totalsUpdated",de=new CustomEvent(se,{}),ue=new CustomEvent(ae,{}),ce=(t,e)=>new CustomEvent(re,{detail:{refresh_methods:e,shipping_rates:t}}),_e=t=>new CustomEvent(le,{detail:{totals:t}}),he=t=>i.fromNullable(t.at(0)),Ee=t=>e=>i.fromNullable(e.find(t)),Ae=o({billing_address:s(St),shipping_address:s(pt)}),Oe={AUTO_DRAFT:"auto-draft",CANCELLED:"cancelled",CHECKOUT_DRAFT:"checkout-draft",COMPLETED:"completed",FAILED:"failed",ON_HOLD:"on-hold",PENDING:"pending",PROCESSING:"processing",REFUNDED:"refuneded"},pe=o({id:u(E(),h()),key:a(),value:c()}),Se=o({code:a(),discount:a(),discount_tax:a(),discount_type:a(),free_shipping:d(),id:u(E(),h()),meta_data:r(pe),nominal_amount:E()}),me=o({id:u(E(),h()),key:a(),value:c()}),ge=o({id:u(E(),h()),subtotal:a(),total:a()}),fe=o({id:u(E(),h()),meta_data:r(me),name:a(),tax_class:a(),tax_status:l({NONE:"none",TAXABLE:"taxable"}),taxes:r(ge),total:a(),total_tax:a()}),Re=o({id:u(E(),h()),key:a(),value:c()}),Ne=o({id:u(E(),h()),total:a()}),Te=o({id:s(u(E(),h())),meta_data:s(r(Re)),method_id:s(a()),method_title:s(a()),taxes:s(r(Ne)),total:s(a()),total_tax:s(a())}),ve=o({id:_([a(),u(E(),h())]),src:a()}),Ce=o({display_key:a(),display_value:a(),id:u(E(),h()),key:a(),value:c()}),ye=o({id:u(E(),h()),subtotal:a(),total:a()}),be=o({id:s(u(E(),h())),image:s(ve),meta_data:s(r(Ce)),name:s(a()),parent_name:s(_([a(),A()])),price:s(E()),product_id:s(u(E(),h())),quantity:s(u(E(),h())),sku:s(a()),subtotal:s(a()),subtotal_tax:s(a()),tax_class:s(a()),taxes:s(r(ye)),total:s(a()),total_tax:s(a()),variation_id:s(u(E(),h()))}),we=o({billing:s(St),coupon_lines:s(r(Se)),currency:s(a()),customer_id:s(u(E(),h())),customer_note:s(a()),fee_lines:s(r(fe)),line_items:s(r(be)),manual_update:s(d()),parent_id:s(u(E(),h())),payment_method:s(a()),payment_method_title:s(a()),set_paid:s(d()),shipping:s(pt),shipping_lines:s(r(Te)),status:s(l(Oe)),transaction_id:s(a())}),Ie=o({billing:St,cart_hash:a(),cart_tax:a(),coupon_lines:r(Se),created_via:a(),currency:a(),currency_symbol:a(),customer_id:u(E(),h()),customer_ip_address:a(),customer_note:a(),customer_user_agent:a(),date_completed:_([a(),A()]),date_completed_gmt:_([a(),A()]),date_created:a(),date_created_gmt:a(),date_modified:a(),date_modified_gmt:a(),date_paid:_([a(),A()]),date_paid_gmt:_([a(),A()]),discount_tax:a(),discount_total:a(),fee_lines:r(fe),id:u(E(),h()),is_editable:d(),line_items:r(be),meta_data:c(),needs_payment:d(),needs_processing:d(),number:a(),order_key:a(),parent_id:u(E(),h()),payment_method:a(),payment_method_title:a(),payment_url:a(),prices_include_tax:d(),refunds:r(c()),shipping:pt,shipping_lines:r(Te),shipping_tax:a(),shipping_total:a(),status:l(Oe),tax_lines:r(c()),total:a(),total_tax:a(),transaction_id:a(),version:a()}),$e={BOUTON_ACTIONS_FORMULAIRE:O(D),BOUTON_CODE_PROMO:O(M),BOUTON_SEPARATION_ADRESSES:O(L),CHAMP_CODE_PROMO:O(U),CONTENEUR_METHODES_LIVRAISON:O($),CONTENEUR_PANIER:O(I),ENSEMBLE_CODE_PROMO:O(w),ENTREES_PANIER:y(b),FORMULAIRE_FACTURATION:O(C),FORMULAIRE_PANIER:O(v),INSTRUCTIONS_CLIENT:O(T),MESSAGE_ADRESSES:O(N),MESSAGE_CODE_PROMO:O(R),SOUS_TOTAL_LIVRAISON_VALEUR:O(f),SOUS_TOTAL_PRODUITS:O(g),SOUS_TOTAL_PRODUITS_VALEUR:O(g),SOUS_TOTAL_REDUCTION:O(p),SOUS_TOTAL_REDUCTION_VALEUR:O(p),TOTAL_PANIER:O(m),TOTAL_PANIER_VALEUR:O(m),TOTAL_REDUCTION_LIGNE:O(S),TOTAL_REDUCTION_VALEUR:O(p)},Ue=(t,e)=>P.encase(()=>{const i=JSON.stringify(e)||"";return sessionStorage.setItem(t,i),e}),Le=(t,e)=>{return(n=t,i.fromNullable(sessionStorage.getItem(n)).toEither(B(`Clé ${n} absente dans le stockage de session.`))).chain(x).chain(te(e));var n},Me=()=>Le("shipping_rates",mt).ifLeft(F).toMaybe(),De=_etats,Pe=zt(De.nonce,De.authString),xe=(t,e)=>(ie.debug("ADDRESSES","getAddressesFromForm"),{billing_address:{address_1:t["facturation-adresse"]??t["livraison-adresse"]??"",address_2:"",city:t["facturation-ville"]??t["livraison-ville"]??"",company:"",country:e?t["facturation-pays"]??"":t["livraison-pays"]??"",email:t["facturation-email"]??t["livraison-email"]??"",first_name:t["facturation-prenom"]??t["livraison-prenom"]??"",last_name:t["facturation-nom"]??t["livraison-nom"]??"",phone:t["facturation-telephone"]??t["livraison-telephone"]??"",postcode:t["facturation-code-postal"]??t["livraison-code-postal"]??"",state:t["facturation-region-etat"]??t["livraison-region-etat"]??""},shipping_address:{address_1:t["livraison-adresse"]??"",address_2:"",city:t["livraison-ville"]??"",company:"",country:t["livraison-pays"]??"",first_name:t["livraison-prenom"]??"",last_name:t["livraison-nom"]??"",phone:t["livraison-telephone"]??"",postcode:t["livraison-code-postal"]??"",state:t["livraison-region-etat"]??""}});class Be extends Error{constructor(t){super(`Code promo « ${t} » invalide.`),this.name="ErreurCodePromoInvalide"}}const Fe=o({code:s(a())}),He=o({code:s(a())}),ke=_etats,je=globalThis,Ve=je.trustedTypes,Ge=Ve?Ve.createPolicy("lit-html",{createHTML:t=>t}):void 0,Je="$lit$",qe=`lit$${Math.random().toFixed(9).slice(2)}$`,We="?"+qe,ze=`<${We}>`,Ke=document,Qe=()=>Ke.createComment(""),Xe=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Ze=Array.isArray,Ye="[ \t\n\f\r]",ti=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ei=/-->/g,ii=/>/g,ni=RegExp(`>|${Ye}(?:([^\\s"'>=/]+)(${Ye}*=${Ye}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oi=/'/g,si=/"/g,ai=/^(?:script|style|textarea|title)$/i,ri=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),li=Symbol.for("lit-noChange"),di=Symbol.for("lit-nothing"),ui=new WeakMap,ci=Ke.createTreeWalker(Ke,129);function _i(t,e){if(!Ze(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ge?Ge.createHTML(e):e}const hi=(t,e)=>{const i=t.length-1,n=[];let o,s=2===e?"":3===e?"":"",a=ti;for(let r=0;r"===l[0]?(a=o??ti,d=-1):void 0===l[1]?d=-2:(d=a.lastIndex-l[2].length,i=l[1],a=void 0===l[3]?ni:'"'===l[3]?si:oi):a===si||a===oi?a=ni:a===ei||a===ii?a=ti:(a=ni,o=void 0);const c=a===ni&&t[r+1].startsWith("/>")?" ":"";s+=a===ti?e+ze:d>=0?(n.push(i),e.slice(0,d)+Je+e.slice(d)+qe+c):e+qe+(-2===d?r:c)}return[_i(t,s+(t[i]||"")+(2===e?"":3===e?"":"")),n]};class Ei{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let o=0,s=0;const a=t.length-1,r=this.parts,[l,d]=hi(t,e);if(this.el=Ei.createElement(l,i),ci.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=ci.nextNode())&&r.length0){n.textContent=Ve?Ve.emptyScript:"";for(let i=0;iZe(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==di&&Xe(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ke.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,n="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=Ei.createElement(_i(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(e);else{const t=new Oi(n,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=ui.get(t.strings);return void 0===e&&ui.set(t.strings,e=new Ei(t)),e}k(t){Ze(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,n=0;for(const o of t)n===e.length?e.push(i=new pi(this.O(Qe()),this.O(Qe()),this,this.options)):i=e[n],i._$AI(o),n++;n2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=di}_$AI(t,e=this,i,n){const o=this.strings;let s=!1;if(void 0===o)t=Ai(this,t,e,0),s=!Xe(t)||t!==this._$AH&&t!==li,s&&(this._$AH=t);else{const n=t;let a,r;for(t=o[0],a=0;a{var t;ie.debug("METHODES_LIVRAISON","initShippingRatesChoicesActions"),it($e.CONTENEUR_METHODES_LIVRAISON)("input").ifRight((t=t=>t.addEventListener("click",t=>{var e;ie.info("METHODES_LIVRAISON","Clic sur un choix de méthode de livraison"),Me().map((e=e=>(e.selected=e.method_id===t.target.value,e),t=>(t.map(e),t))).ifJust(t=>{window.dispatchEvent(ce(t,!1))}).chain(Ee(t=>t.selected)).ifJust(t=>{Le("totals",vt).ifLeft(F).map(e=>(e.total_shipping=t.price,e.total_price=e.total_items-e.total_discount+t.price,e)).ifRight(t=>{window.dispatchEvent(_e(t))})})}),e=>{e.forEach(t)}))},vi=(t,e)=>{if(0===e.length)return void t.setAttribute(Y,"");it(t)("div[data-methode-initiale]").ifRight(nt(t=>t.remove()));const i=e.find(t=>t.selected)?.method_id??"",n=ot(e,t=>ri` -
- - -
`);t.removeAttribute(Y),((t,e)=>{const i=e;let n=i._$litPart$;if(void 0===n){const t=null;i._$litPart$=n=new pi(e.insertBefore(Qe(),t),t,void 0,{})}n._$AI(t)})(n,t),Ti()},Ci=()=>{$e.BOUTON_ACTIONS_FORMULAIRE.removeAttribute(H),$e.BOUTON_ACTIONS_FORMULAIRE.textContent="Calculate shipping"},yi=o({key:a()}),bi=o({key:a(),quantity:u(E(),st(1))}),wi=_etats,Ii=t=>{const e=ct(t);return{additionButton:e(rt),deletionButton:e(ut),quantityInput:e(_t),substractionButton:e(dt)}},$i=t=>e=>nt(e,e=>{t?(1===Number(e.quantityInput.value)?e.substractionButton.setAttribute(K,""):e.substractionButton.removeAttribute(K),e.additionButton.removeAttribute(K),e.deletionButton.removeAttribute(K),e.deletionButton.textContent="Remove"):(e.substractionButton.setAttribute(K,""),e.additionButton.setAttribute(K,""),e.deletionButton.setAttribute(K,""),e.deletionButton.textContent="Loading")});_etats;const Ui=t=>e=>ne(At(t)(e),Ot),Li=t=>t.forEach(t=>{const e=Ui(t),i={boutonAddition:e(rt),boutonSoustraction:e(dt),boutonSuppression:e(ut),champQuantite:e(_t)};1===Number(i.champQuantite?.value)?i.boutonSoustraction.setAttribute(K,""):i.boutonSoustraction.removeAttribute(K),i.boutonAddition.removeAttribute(K),i.boutonSuppression.removeAttribute(K),i.boutonSuppression.textContent="Remove"}),Mi=()=>{new BroadcastChannel(It).onmessage=t=>{var e;$t(t).chain((e="donnees",t=>i.fromNullable(Pt.getUnsafe(t,e)).toEither(new n(`La clé « ${String(e)} » n'a pas été trouvé dans l'objet.`)))).ifRight(t=>{t.produits.forEach(e=>{$e.ENTREES_PANIER.ifRight(n=>{i.fromNullable(n.find(t=>t.getAttribute(at)===e.key)).ifJust(t=>{const i=Ui(t),o=i(Et),s=i(_t);t.setAttribute("data-quantite",String(e.quantity)),o.textContent=ne(Ut(e.totals.line_subtotal),Mt),s.setAttribute("value",String(e.quantity)),Li(n)}),$e.SOUS_TOTAL_PRODUITS.textContent=Mt(t.sousTotalProduits),$e.SOUS_TOTAL_REDUCTION.textContent=ne(Dt(t.sousTotalReduction),Lt,Mt),$e.TOTAL_PANIER.textContent=ne(Lt(t.totalPanier),Mt)})})}).ifLeft(t=>{tt(t),$e.ENTREES_PANIER.ifRight(t=>Li(t))})}};document.addEventListener("DOMContentLoaded",()=>{ie.debug("ADRESSES","initCartFormEventEmitters"),$e.FORMULAIRE_PANIER.addEventListener("change",()=>{ie.info("ADRESSES","Changement du Formulaire Panier"),i.fromFalsy($e.FORMULAIRE_PANIER.checkValidity()).ifJust(()=>window.dispatchEvent(de))}),window.addEventListener(se,()=>{Ci()}),window.addEventListener(ae,()=>{Ci()}),window.addEventListener(re,t=>{P.encase(()=>t.detail).ifRight(t=>{ie.info("ShippingRatesUpdatedEvent","shipping_rates",t),t.refresh_methods&&vi($e.CONTENEUR_METHODES_LIVRAISON,t.shipping_rates)}).chain(t=>Ue("shipping_rates",t.shipping_rates)).ifLeft(F)}),window.addEventListener(le,t=>{P.encase(()=>t.detail.totals).chain(t=>Ue("totals",t)).ifLeft(F).ifRight(t=>{$e.SOUS_TOTAL_LIVRAISON_VALEUR.textContent=Mt(t.total_shipping),$e.SOUS_TOTAL_PRODUITS_VALEUR.textContent=Mt(t.total_items),$e.SOUS_TOTAL_REDUCTION_VALEUR.textContent=Mt(-1*t.total_discount),$e.TOTAL_PANIER_VALEUR.textContent=Mt(t.total_price)})}),$e.ENTREES_PANIER.ifRight(t=>nt(t,e=>{const n=i.fromNullable(e.getAttribute(at)).ifNothing(()=>e.remove()).orDefault("CLE_PANIER_INEXISTANTE"),o=Ii(e);e.addEventListener("click",s=>{Ht(s.target).with(kt.nullish,()=>console.error(s.target)).when(t=>t.matches(rt),()=>{Kt.liftEither(i.fromNullable(o.quantityInput.valueAsNumber).toEither(new Error("Quantité manquante pour cette ligne du Panier !"))).chain(t=>Kt.liftEither(ee({key:n,quantity:t+1},bi))).ifRight(()=>ne(t,ot(Ii),$i(!1))).chain(t=>Qt(Yt({corps:JSON.stringify(t),nonce:wi.nonce,route:qt}))).chain(t=>Kt(async({throwE:e})=>Ht(await Xt(t)).with({status:200},t=>t.body).otherwise(t=>e(Zt(t))))).chain(t=>Kt.liftEither(ee(t,ft))).ifRight(t=>{Ct({quantiteProduits:t.items_count}),yt({produits:t.items,sousTotalProduits:Ut(t.totals.total_items),sousTotalReduction:Ut(t.totals.total_discount),totalPanier:Ut(t.totals.total_price)}),Rt(Nt,!0)}).ifLeft(t=>{Ht(t).with(kt.instanceOf(V),t=>{tt(t),console.error(t.issues)}).with(kt.instanceOf(X),kt.instanceOf(lt),t=>{tt(t),console.error(t)}).with(kt.instanceOf(DOMException),kt.instanceOf(TypeError),kt.instanceOf(Error),t=>{tt(t),console.error(t)}).exhaustive()}).finally(()=>{ne(t,ot(Ii),$i(!0))}).run()}).when(t=>t.matches(dt),()=>{i.fromNullable(o.quantityInput.valueAsNumber).filter(t=>t>1).ifJust(e=>{Kt.liftEither(ee({key:n,quantity:e-1},bi)).ifRight(()=>ne(t,ot(Ii),$i(!1))).chain(t=>Qt(Yt({corps:JSON.stringify(t),nonce:wi.nonce,route:qt}))).chain(t=>Kt(async({throwE:e})=>Ht(await Xt(t)).with({status:500},()=>e(new X("500 Server Error"))).with({status:400},()=>e(new lt("400 Bad Request Error"))).with({status:200},t=>t.body).otherwise(t=>e(new Error(`Erreur inconnue ${String(t.status)}`))))).chain(t=>Kt.liftEither(ee(t,ft))).ifRight(t=>{Ct({quantiteProduits:t.items_count}),yt({produits:t.items,sousTotalProduits:Ut(t.totals.total_items),sousTotalReduction:Ut(t.totals.total_discount),totalPanier:Ut(t.totals.total_price)}),Rt(Nt,!0)}).ifLeft(t=>{Ht(t).with(kt.instanceOf(V),t=>{tt(t),console.error(t.issues)}).with(kt.instanceOf(X),kt.instanceOf(lt),t=>{tt(t),console.error(t)}).with(kt.instanceOf(DOMException),kt.instanceOf(TypeError),kt.instanceOf(Error),t=>{tt(t),console.error(t)}).exhaustive()}).finally(()=>{ne(t,ot(Ii),$i(!0))}).run()})}).when(t=>t.matches(ut),()=>{i.fromNullable(o.quantityInput.valueAsNumber).ifJust(()=>{Kt.liftEither(ee({key:n},yi)).ifRight(()=>ne(t,ot(Ii),$i(!1))).chain(t=>Qt(Yt({corps:JSON.stringify(t),nonce:wi.nonce,route:Wt}))).chain(t=>Kt(async({throwE:e})=>Ht(await Xt(t)).with({status:500},()=>e(new X("500 Server Error"))).with({status:400},()=>e(new lt("400 Bad Request Error"))).with({status:200},t=>t.body).otherwise(t=>e(new Error(`Erreur inconnue ${String(t.status)}`))))).chain(t=>Kt.liftEither(ee(t,ft))).ifRight(t=>{Ct({quantiteProduits:t.items_count}),yt({produits:t.items,sousTotalProduits:Ut(t.totals.total_items),sousTotalReduction:Ut(t.totals.total_discount),totalPanier:Ut(t.totals.total_price)}),Rt(Nt,!0),e.remove()}).ifLeft(t=>{Ht(t).with(kt.instanceOf(V),t=>{tt(t),console.error(t.issues)}).with(kt.instanceOf(X),kt.instanceOf(lt),t=>{tt(t),console.error(t)}).with(kt.instanceOf(DOMException),kt.instanceOf(TypeError),kt.instanceOf(Error),t=>{tt(t),console.error(t)}).exhaustive()}).finally(()=>{ne(t,ot(Ii),$i(!0))}).run()})}).otherwise(t=>{})})})),Ti(),new BroadcastChannel(bt).onmessage=t=>{wt(t).map(Pt.getUnsafe("donnees")).ifRight(t=>{$e.CONTENEUR_PANIER.setAttribute(ht,String(0!==t.quantiteProduits))})},Mi(),$e.BOUTON_SEPARATION_ADRESSES.addEventListener("click",()=>{i.fromFalsy($e.BOUTON_SEPARATION_ADRESSES.checked).ifJust(()=>{$e.FORMULAIRE_FACTURATION.removeAttribute(Y),it($e.FORMULAIRE_FACTURATION)("input, select").ifRight(nt(t=>t.removeAttribute(K)))}).ifNothing(()=>{$e.FORMULAIRE_FACTURATION.setAttribute(Y,""),it($e.FORMULAIRE_FACTURATION)("input, select").ifRight(nt(t=>{t.setAttribute(K,""),t.value=""}))})}),ie.debug("ADRESSES","initShippingCalculationButton"),$e.BOUTON_ACTIONS_FORMULAIRE.addEventListener("click",n=>{ie.info("ADRESSES","Demande de calcul des frais de livraison de la commande"),i.fromFalsy($e.FORMULAIRE_PANIER.checkValidity()).chainNullable(()=>!$e.BOUTON_ACTIONS_FORMULAIRE.hasAttribute(H)||void 0).ifJust(()=>{n.preventDefault();const i=ne(Object.fromEntries(new FormData($e.FORMULAIRE_PANIER)),e=>xt(e,t),t=>xe(t,$e.BOUTON_SEPARATION_ADRESSES.checked));ie.debug("ADRESSES","initShippingCalculationButton","formArgs",i),Kt.liftEither(ee(i,Ae)).ifRight(()=>k($e.BOUTON_ACTIONS_FORMULAIRE,!0)).chain(t=>(ie.debug("ADRESSES","args",t),Qt(Pe(jt,JSON.stringify(t),!1)))).chain(t=>(ie.debug("ADRESSES","initShippingCalculationButton","rs",t),Kt(async({throwE:e})=>Ht(await Xt(t)).with({status:200},t=>t.body).with({body:kt.when(t=>gt(t)),status:400},t=>e(new j(t.body.data.params))).otherwise(t=>e(Zt(t)))))).chain(t=>Kt.liftEither(ee(t,ft))).ifRight(t=>{ie.debug("ADRESSES","initShippingCalculationButton","cart",t);const e=Me().chain(Ee(t=>t.selected)).ifJust(t=>ie.debug("ADRESSES","initShippingCalculationButton","oldSelectedRateLS",t)),i=he(t.shipping_rates).chainNullable(t=>t.shipping_rates).map(t=>t.map((t,i)=>(e.caseOf({Just:e=>{t.selected=t.method_id===e.method_id},Nothing:()=>{t.selected=0===i}}),t.price=Ut(t.price),t))).orDefault([]);ie.debug("ADRESSES","initShippingCalculationButton","updatedRates",i),window.dispatchEvent(ce(i,!0));const n=i.find(t=>t.selected)?.price??0,o={...t.totals,total_discount:Ut(t.totals.total_discount),total_items:Ut(t.totals.total_items),total_price:Ut(t.totals.total_items)-Ut(t.totals.total_discount)+n,total_shipping:n};ie.debug("ADRESSES","initShippingCalculationButton","newTotals",o),window.dispatchEvent(_e(o)),$e.MESSAGE_ADRESSES.textContent=" ",$e.BOUTON_ACTIONS_FORMULAIRE.textContent="Check-out",$e.BOUTON_ACTIONS_FORMULAIRE.setAttribute(H,"")}).ifLeft(t=>{Ht(t).with(kt.instanceOf(V),t=>{F(t),console.error(t.issues),$e.MESSAGE_ADRESSES.textContent=oe}).with(kt.instanceOf(j),t=>{F(t),Ht(t.problemes).when(t=>ne(Bt(t),G(t=>"The provided postcode is not valid"===t)),()=>{$e.MESSAGE_ADRESSES.textContent="Please verify your postcode: it should not contain region/state indicators."}).otherwise(()=>{$e.MESSAGE_ADRESSES.textContent=oe})}).when(J,t=>{F(t),$e.MESSAGE_ADRESSES.textContent=oe}).when(q,t=>{F(t),$e.MESSAGE_ADRESSES.textContent=e}).exhaustive(),$e.BOUTON_ACTIONS_FORMULAIRE.textContent="Submit your addresses"}).finally(()=>k($e.BOUTON_ACTIONS_FORMULAIRE,!1)).run()}).ifNothing(()=>{n.preventDefault(),$e.MESSAGE_ADRESSES.textContent="Something is wrong in the information you filled. Please check and try again?"})}),ie.debug("ADRESSES","initOrderCreationButton"),$e.BOUTON_ACTIONS_FORMULAIRE.addEventListener("click",n=>{ie.info("ADRESSES","Demande de création de commande"),i.fromFalsy($e.FORMULAIRE_PANIER.checkValidity()&&$e.BOUTON_ACTIONS_FORMULAIRE.hasAttribute(H)).ifJust(()=>{n.preventDefault();const o=ne(Object.fromEntries(new FormData($e.FORMULAIRE_PANIER)),xt(t)),s=Me().ifNothing(()=>{throw $e.MESSAGE_ADRESSES.textContent=oe,Rt(Nt,!0),new Error("SessionStorage indisponible.")}).chain(he).orDefault({});ie.debug("ADRESSES","initOrderCreationButton","selectedRateLS",s);const a=$e.ENTREES_PANIER.orDefault([]).map(t=>({product_id:Number(t.getAttribute("data-id-produit")),quantity:Number(t.getAttribute("data-quantite")),...t.getAttribute("data-id-variation")&&{variation_id:Number(t.getAttribute("data-id-variation"))}}));ie.debug("ADRESSES","initOrderCreationButton","cartProducts",a);const r=xe(o,$e.BOUTON_SEPARATION_ADRESSES.checked),l={billing:r.billing_address,currency:s.currency_code,customer_note:$e.INSTRUCTIONS_CLIENT.value,line_items:a,shipping:r.shipping_address,shipping_lines:[{method_id:s.method_id,method_title:s.name,total:String(s.price)}]};ie.debug("ADRESSES","initOrderCreationButton","formArgs",l),l.shipping_lines=l.shipping_lines.filter(t=>void 0!==t.method_id),Kt.liftEither(ee(l,we)).ifRight(()=>k($e.BOUTON_ACTIONS_FORMULAIRE,!0)).chain(t=>(ie.debug("ADRESSES","args commande",t),Qt(Pe(Vt,JSON.stringify(t),!0)))).chain(t=>Kt(async({throwE:e})=>Ht(await Xt(t)).with({status:201},t=>t.body).otherwise(t=>e(Zt(t))))).chain(t=>Kt.liftEither(ee(t,Ie))).ifRight(t=>{$e.BOUTON_ACTIONS_FORMULAIRE.removeAttribute(W),$e.BOUTON_ACTIONS_FORMULAIRE.textContent="OK!",$e.MESSAGE_ADRESSES.textContent=" ",n.preventDefault(),i.fromNullable(new URL(`https://${window.location.host}/checkout`)).ifJust(e=>e.searchParams.append("order_key",t.order_key)).ifJust(e=>e.searchParams.append("order_id",String(t.id))).ifJust(t=>location.assign(t))}).ifLeft(t=>{Ht(t).with(kt.instanceOf(V),t=>{F(t),console.error(t.issues),$e.MESSAGE_ADRESSES.textContent="Something went wrong while creating your order. Please refresh your page and try again?"}).when(J,t=>{F(t),$e.MESSAGE_ADRESSES.textContent=oe}).when(q,t=>{F(t),$e.MESSAGE_ADRESSES.textContent=e}).exhaustive(),k($e.BOUTON_ACTIONS_FORMULAIRE,!1),$e.BOUTON_ACTIONS_FORMULAIRE.textContent="Checkout"}).run()}).ifNothing(()=>n.preventDefault())}),(()=>{const t=()=>i.fromFalsy($e.CHAMP_CODE_PROMO.value.trim()).extractNullable();$e.ENSEMBLE_CODE_PROMO.addEventListener("click",e=>Ht({cible:e.target,codePromoPresent:$e.ENSEMBLE_CODE_PROMO.hasAttribute(Z),valeurCodePromo:t()}).with({cible:kt.when(t=>z(t,M)),codePromoPresent:!1,valeurCodePromo:kt.string},({valeurCodePromo:e})=>{Kt.liftEither(ee({code:e},Fe)).ifRight(()=>{$e.BOUTON_CODE_PROMO.setAttribute(K,""),$e.BOUTON_CODE_PROMO.setAttribute(W,""),$e.MESSAGE_CODE_PROMO.textContent="",Q($e.BOUTON_CODE_PROMO,500)}).map(t=>Yt({corps:JSON.stringify(t),nonce:ke.nonce,route:Gt})).chain(e=>Kt(async({throwE:i})=>{const n={body:await e.json(),status:e.status};return Ht(n).with({status:500},()=>i(new X("500 Server Error"))).with({body:kt.when(()=>Tt(n,"woocommerce_rest_cart_coupon_error")),status:400},()=>i(new Be(t()??""))).with({status:200},()=>n.body).run()})).chain(t=>Kt.liftEither(ee(t,ft))).ifRight(t=>{$e.ENSEMBLE_CODE_PROMO.toggleAttribute(Z),$e.CHAMP_CODE_PROMO.toggleAttribute(K),$e.CHAMP_CODE_PROMO.value=t.coupons[0]?.code??"",$e.BOUTON_CODE_PROMO.textContent="Remove",$e.TOTAL_PANIER.textContent=ne(Ut(t.totals.total_price),Lt,Mt),$e.TOTAL_REDUCTION_LIGNE.toggleAttribute(Y),$e.TOTAL_REDUCTION_VALEUR.textContent=ne(Ut(t.totals.total_discount),Dt,Lt,Mt),window.dispatchEvent(ue)}).ifLeft(t=>{$e.BOUTON_CODE_PROMO.textContent="Apply",Ht(t).with(kt.instanceOf(V),t=>{tt(t),console.error("ValiError",t.issues)}).with(kt.instanceOf(Be),t=>{$e.MESSAGE_CODE_PROMO.textContent="This promo code does not exist.",tt(t),console.error(t)}).with(kt.instanceOf(X),t=>{$e.MESSAGE_CODE_PROMO.textContent="Sorry, something went wrong! Please refresh the page and try again.",tt(t),console.error(t)}).with(kt.instanceOf(TypeError),t=>{$e.MESSAGE_CODE_PROMO.textContent="Sorry, something went wrong! Please refresh the page and try again.",tt(t),console.error(t)}).exhaustive()}).finally(()=>{$e.BOUTON_CODE_PROMO.removeAttribute(W),$e.BOUTON_CODE_PROMO.removeAttribute(K)}).run()}).with({cible:kt.when(t=>z(t,M)),codePromoPresent:!0,valeurCodePromo:kt.string},({valeurCodePromo:t})=>{Kt.liftEither(ee({code:t},He)).ifRight(()=>{$e.BOUTON_CODE_PROMO.setAttribute(K,""),$e.BOUTON_CODE_PROMO.setAttribute(W,""),Q($e.BOUTON_CODE_PROMO,500)}).map(t=>Yt({corps:JSON.stringify(t),nonce:ke.nonce,route:Jt})).chain(t=>Kt(async({throwE:e})=>(Ft(t)&&e(new X("500 server Error")),await t.json()))).chain(t=>Kt.liftEither(ee(t,ft))).ifRight(t=>{$e.ENSEMBLE_CODE_PROMO.toggleAttribute(Z),$e.ENSEMBLE_CODE_PROMO.reset(),$e.CHAMP_CODE_PROMO.toggleAttribute(K),$e.CHAMP_CODE_PROMO.textContent="",$e.BOUTON_CODE_PROMO.textContent="Apply",$e.TOTAL_PANIER.textContent=ne(Ut(t.totals.total_price),Lt,Mt),$e.TOTAL_REDUCTION_LIGNE.toggleAttribute(Y),$e.TOTAL_REDUCTION_VALEUR.textContent="-0€",Rt(Nt,!0)}).ifLeft(t=>Ht(t).with(kt.instanceOf(V),t=>{tt(t),console.error("retour ajout code promo",t.issues)}).with(kt.instanceOf(X),t=>{tt(t),console.error("retour ajout code promo",t)}).with(kt.instanceOf(TypeError),t=>{tt(t),console.error("retour ajout code promo",t)}).exhaustive()).finally(()=>{$e.BOUTON_CODE_PROMO.removeAttribute(W),$e.BOUTON_CODE_PROMO.removeAttribute(K)}).run()}).with(kt._,et))})()})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.br deleted file mode 100644 index 7ee6569a..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.gz deleted file mode 100644 index 9fce8d1a..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.zst deleted file mode 100644 index c152e86a..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js deleted file mode 100644 index 1ae97ba8..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js +++ /dev/null @@ -1,13 +0,0 @@ -import{a0 as D,a1 as be,x as g,z as u,E as _,y as v,B as Mt,K as k,F as p,L as G,M as q,J as m,I as h,N as Y,m as O,a2 as mt,a3 as $e,a4 as Vt,a5 as Ht,a6 as we,a7 as xe,a8 as Be,a9 as Ve,aa as He,ab as ke,ac as Fe,ad as Ge,ae as We,af as Je,ag as je,ah as qe,ai as Qe,aj as It,ak as ze,al as vt,am as Ke,an as Xe,ao as y,ap as At,aq as Ot,ar as kt,_ as W,as as Ze,at as se,au as oe,V as tt,av as Ft,U as T,W as Gt,X as $,aw as Tt,v as z,$ as I,ax as Ye,ay as St,az as _t,aA as H,H as ti,aB as ae,aC as Ut,Y as X,aD as Dt,aE as Pt,aF as ei,aG as Lt,A as ii,aH as ni,aI as si,aJ as oi}from"./dom.BBcFv3WT.js";import{W as yt,a as bt,b as ai,e as ri,c as Q,d as et,f as it,r as _i,g as ci,h as gt,i as Nt,N as li,v as ui,j as Ei,k as di}from"./messages.B9cwwdUT.js";import{d as f,a as nt,f as L,i as re}from"./nombres.C1uiwPb_.js";import{y as _e,m as ce,a as hi,e as Ai}from"./gardes.-KvoYkXU.js";import{M,z as E}from"./index.BiLbLflF.js";import{b as Oi,c as Si,d as pi,e as Ri,f as Wt,g as mi}from"./api.BWtmxolt.js";import{p as Ti,E as A,s as st,n as ot,t as $t,a as at}from"./reseau.CUz9kCSO.js";import{a as gi,s as P}from"./validation.DpnMPnCH.js";import{l as S}from"./journalisation.js";import{a9 as U}from"./exports.JV8YQBqW.js";function Sn(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}function le(e){return e.trim()}const Ni=e=>t=>D.fromNullable(_e.getUnsafe(t,e)).toEither(new be(`La clé « ${String(e)} » n'a pas été trouvé dans l'objet.`)),ue="Something seems to be wrong with your network. Please verify your connection, refresh and try again?",rt="Something went wrong while submitting the addresses. Please refresh your page and try again?",fi="Something went wrong while creating your order. Please refresh your page and try again?",Ci="Something is wrong in the information you filled. Please check and try again?",Ii="Please verify your postcode: it should not contain region/state indicators.",Ee="adressesMaj",de="codePromoMaj",he="shippingRatesUpdated",Ae="totalsUpdated",vi=new CustomEvent(Ee,{}),Mi=new CustomEvent(de,{}),Oe=(e,t)=>new CustomEvent(he,{detail:{refresh_methods:t,shipping_rates:e}}),Se=e=>new CustomEvent(Ae,{detail:{totals:e}}),pe=e=>D.fromNullable(e.at(0)),Re=e=>t=>D.fromNullable(t.find(e)),Ui=g({billing_address:u(bt),shipping_address:u(yt)}),me={AUTO_DRAFT:"auto-draft",CANCELLED:"cancelled",CHECKOUT_DRAFT:"checkout-draft",COMPLETED:"completed",FAILED:"failed",ON_HOLD:"on-hold",PENDING:"pending",PROCESSING:"processing",REFUNDED:"refuneded"},Di={NONE:"none",TAXABLE:"taxable"},Pi=g({id:p(h(),m()),key:_(),value:G()}),Te=g({code:_(),discount:_(),discount_tax:_(),discount_type:_(),free_shipping:k(),id:p(h(),m()),meta_data:v(Pi),nominal_amount:h()}),Li=g({id:p(h(),m()),key:_(),value:G()}),yi=g({id:p(h(),m()),subtotal:_(),total:_()}),ge=g({id:p(h(),m()),meta_data:v(Li),name:_(),tax_class:_(),tax_status:Mt(Di),taxes:v(yi),total:_(),total_tax:_()}),bi=g({id:p(h(),m()),key:_(),value:G()}),$i=g({id:p(h(),m()),total:_()}),Ne=g({id:u(p(h(),m())),meta_data:u(v(bi)),method_id:u(_()),method_title:u(_()),taxes:u(v($i)),total:u(_()),total_tax:u(_())}),wi=g({id:q([_(),p(h(),m())]),src:_()}),xi=g({display_key:_(),display_value:_(),id:p(h(),m()),key:_(),value:G()}),Bi=g({id:p(h(),m()),subtotal:_(),total:_()}),fe=g({id:u(p(h(),m())),image:u(wi),meta_data:u(v(xi)),name:u(_()),parent_name:u(q([_(),Y()])),price:u(h()),product_id:u(p(h(),m())),quantity:u(p(h(),m())),sku:u(_()),subtotal:u(_()),subtotal_tax:u(_()),tax_class:u(_()),taxes:u(v(Bi)),total:u(_()),total_tax:u(_()),variation_id:u(p(h(),m()))}),Vi=g({billing:u(bt),coupon_lines:u(v(Te)),currency:u(_()),customer_id:u(p(h(),m())),customer_note:u(_()),fee_lines:u(v(ge)),line_items:u(v(fe)),manual_update:u(k()),parent_id:u(p(h(),m())),payment_method:u(_()),payment_method_title:u(_()),set_paid:u(k()),shipping:u(yt),shipping_lines:u(v(Ne)),status:u(Mt(me)),transaction_id:u(_())}),Hi=g({billing:bt,cart_hash:_(),cart_tax:_(),coupon_lines:v(Te),created_via:_(),currency:_(),currency_symbol:_(),customer_id:p(h(),m()),customer_ip_address:_(),customer_note:_(),customer_user_agent:_(),date_completed:q([_(),Y()]),date_completed_gmt:q([_(),Y()]),date_created:_(),date_created_gmt:_(),date_modified:_(),date_modified_gmt:_(),date_paid:q([_(),Y()]),date_paid_gmt:q([_(),Y()]),discount_tax:_(),discount_total:_(),fee_lines:v(ge),id:p(h(),m()),is_editable:k(),line_items:v(fe),meta_data:G(),needs_payment:k(),needs_processing:k(),number:_(),order_key:_(),parent_id:p(h(),m()),payment_method:_(),payment_method_title:_(),payment_url:_(),prices_include_tax:k(),refunds:v(G()),shipping:yt,shipping_lines:v(Ne),shipping_tax:_(),shipping_total:_(),status:Mt(me),tax_lines:v(G()),total:_(),total_tax:_(),transaction_id:_(),version:_()}),r={BOUTON_ACTIONS_FORMULAIRE:O(ze),BOUTON_CODE_PROMO:O(It),BOUTON_SEPARATION_ADRESSES:O(Qe),CHAMP_CODE_PROMO:O(qe),CONTENEUR_METHODES_LIVRAISON:O(je),CONTENEUR_PANIER:O(Je),ENSEMBLE_CODE_PROMO:O(We),ENTREES_PANIER:Fe(Ge),FORMULAIRE_FACTURATION:O(ke),FORMULAIRE_PANIER:O(He),INSTRUCTIONS_CLIENT:O(Ve),MESSAGE_ADRESSES:O(Be),MESSAGE_CODE_PROMO:O(xe),SOUS_TOTAL_LIVRAISON_VALEUR:O(we),SOUS_TOTAL_PRODUITS:O(Ht),SOUS_TOTAL_PRODUITS_VALEUR:O(Ht),SOUS_TOTAL_REDUCTION:O(mt),SOUS_TOTAL_REDUCTION_VALEUR:O(mt),TOTAL_PANIER:O(Vt),TOTAL_PANIER_VALEUR:O(Vt),TOTAL_REDUCTION_LIGNE:O($e),TOTAL_REDUCTION_VALEUR:O(mt)},ki=e=>D.fromNullable(sessionStorage.getItem(e)).toEither(Xe(`Clé ${e} absente dans le stockage de session.`)),Jt=(e,t)=>vt.encase(()=>{const i=JSON.stringify(t)||"";return sessionStorage.setItem(e,i),t}),Ce=(e,t)=>ki(e).chain(Ke).chain(gi(t)),wt=()=>Ce("shipping_rates",ai).ifLeft(y).toMaybe(),jt=_etats,Ie=Ti(jt.nonce,jt.authString),Fi=()=>{S.debug("ADRESSES","initCartFormEventEmitters"),r.FORMULAIRE_PANIER.addEventListener("change",()=>{S.info("ADRESSES","Changement du Formulaire Panier"),D.fromFalsy(r.FORMULAIRE_PANIER.checkValidity()).ifJust(()=>window.dispatchEvent(vi))})},ve=(e,t)=>(S.debug("ADDRESSES","getAddressesFromForm"),{billing_address:{address_1:e["facturation-adresse"]??e["livraison-adresse"]??"",address_2:"",city:e["facturation-ville"]??e["livraison-ville"]??"",company:"",country:t?e["facturation-pays"]??"":e["livraison-pays"]??"",email:e["facturation-email"]??e["livraison-email"]??"",first_name:e["facturation-prenom"]??e["livraison-prenom"]??"",last_name:e["facturation-nom"]??e["livraison-nom"]??"",phone:e["facturation-telephone"]??e["livraison-telephone"]??"",postcode:e["facturation-code-postal"]??e["livraison-code-postal"]??"",state:e["facturation-region-etat"]??e["livraison-region-etat"]??""},shipping_address:{address_1:e["livraison-adresse"]??"",address_2:"",city:e["livraison-ville"]??"",company:"",country:e["livraison-pays"]??"",first_name:e["livraison-prenom"]??"",last_name:e["livraison-nom"]??"",phone:e["livraison-telephone"]??"",postcode:e["livraison-code-postal"]??"",state:e["livraison-region-etat"]??""}}),Gi=()=>{S.debug("ADRESSES","initShippingCalculationButton"),r.BOUTON_ACTIONS_FORMULAIRE.addEventListener("click",e=>{S.info("ADRESSES","Demande de calcul des frais de livraison de la commande"),D.fromFalsy(r.FORMULAIRE_PANIER.checkValidity()).chainNullable(()=>r.BOUTON_ACTIONS_FORMULAIRE.hasAttribute(At)?void 0:!0).ifJust(()=>{e.preventDefault();const t=U(Object.fromEntries(new FormData(r.FORMULAIRE_PANIER)),i=>ce(i,le),i=>ve(i,r.BOUTON_SEPARATION_ADRESSES.checked));S.debug("ADRESSES","initShippingCalculationButton","formArgs",t),A.liftEither(P(t,Ui)).ifRight(()=>Ot(r.BOUTON_ACTIONS_FORMULAIRE,!0)).chain(i=>(S.debug("ADRESSES","args",i),st(Ie(Oi,JSON.stringify(i),!1)))).chain(i=>(S.debug("ADRESSES","initShippingCalculationButton","rs",i),A(async({throwE:o})=>M(await ot(i)).with({status:200},n=>n.body).with({body:E.when(n=>ri(n)),status:400},n=>o(new kt(n.body.data.params))).otherwise(n=>o($t(n)))))).chain(i=>A.liftEither(P(i,Q))).ifRight(i=>{S.debug("ADRESSES","initShippingCalculationButton","cart",i);const o=wt().chain(Re(c=>c.selected)).ifJust(c=>S.debug("ADRESSES","initShippingCalculationButton","oldSelectedRateLS",c)),n=pe(i.shipping_rates).chainNullable(c=>c.shipping_rates).map(c=>c.map((l,R)=>(o.caseOf({Just:N=>{l.selected=l.method_id===N.method_id},Nothing:()=>{l.selected=R===0}}),l.price=f(l.price),l))).orDefault([]);S.debug("ADRESSES","initShippingCalculationButton","updatedRates",n),window.dispatchEvent(Oe(n,!0));const s=n.find(c=>c.selected)?.price??0,a={...i.totals,total_discount:f(i.totals.total_discount),total_items:f(i.totals.total_items),total_price:f(i.totals.total_items)-f(i.totals.total_discount)+s,total_shipping:s};S.debug("ADRESSES","initShippingCalculationButton","newTotals",a),window.dispatchEvent(Se(a)),r.MESSAGE_ADRESSES.textContent=" ",r.BOUTON_ACTIONS_FORMULAIRE.textContent="Check-out",r.BOUTON_ACTIONS_FORMULAIRE.setAttribute(At,"")}).ifLeft(i=>{M(i).with(E.instanceOf(W),o=>{y(o),console.error(o.issues),r.MESSAGE_ADRESSES.textContent=rt}).with(E.instanceOf(kt),o=>{y(o),M(o.problemes).when(n=>U(hi(n),Ze(s=>s==="The provided postcode is not valid")),()=>{r.MESSAGE_ADRESSES.textContent=Ii}).otherwise(()=>{r.MESSAGE_ADRESSES.textContent=rt})}).when(se,o=>{y(o),r.MESSAGE_ADRESSES.textContent=rt}).when(oe,o=>{y(o),r.MESSAGE_ADRESSES.textContent=ue}).exhaustive(),r.BOUTON_ACTIONS_FORMULAIRE.textContent="Submit your addresses"}).finally(()=>Ot(r.BOUTON_ACTIONS_FORMULAIRE,!1)).run()}).ifNothing(()=>{e.preventDefault(),r.MESSAGE_ADRESSES.textContent=Ci})})},Wi=()=>{S.debug("ADRESSES","initOrderCreationButton"),r.BOUTON_ACTIONS_FORMULAIRE.addEventListener("click",e=>{S.info("ADRESSES","Demande de création de commande"),D.fromFalsy(r.FORMULAIRE_PANIER.checkValidity()&&r.BOUTON_ACTIONS_FORMULAIRE.hasAttribute(At)).ifJust(()=>{e.preventDefault();const t=U(Object.fromEntries(new FormData(r.FORMULAIRE_PANIER)),ce(le)),i=wt().ifNothing(()=>{throw r.MESSAGE_ADRESSES.textContent=rt,et(it,!0),new Error("SessionStorage indisponible.")}).chain(pe).orDefault({});S.debug("ADRESSES","initOrderCreationButton","selectedRateLS",i);const o=r.ENTREES_PANIER.orDefault([]).map(a=>({product_id:Number(a.getAttribute("data-id-produit")),quantity:Number(a.getAttribute("data-quantite")),...a.getAttribute("data-id-variation")&&{variation_id:Number(a.getAttribute("data-id-variation"))}}));S.debug("ADRESSES","initOrderCreationButton","cartProducts",o);const n=ve(t,r.BOUTON_SEPARATION_ADRESSES.checked),s={billing:n.billing_address,currency:i.currency_code,customer_note:r.INSTRUCTIONS_CLIENT.value,line_items:o,shipping:n.shipping_address,shipping_lines:[{method_id:i.method_id,method_title:i.name,total:String(i.price)}]};S.debug("ADRESSES","initOrderCreationButton","formArgs",s),s.shipping_lines=s.shipping_lines.filter(a=>a.method_id!==void 0),A.liftEither(P(s,Vi)).ifRight(()=>Ot(r.BOUTON_ACTIONS_FORMULAIRE,!0)).chain(a=>(S.debug("ADRESSES","args commande",a),st(Ie(Si,JSON.stringify(a),!0)))).chain(a=>A(async({throwE:c})=>M(await ot(a)).with({status:201},l=>l.body).otherwise(l=>c($t(l))))).chain(a=>A.liftEither(P(a,Hi))).ifRight(a=>{r.BOUTON_ACTIONS_FORMULAIRE.removeAttribute(tt),r.BOUTON_ACTIONS_FORMULAIRE.textContent="OK!",r.MESSAGE_ADRESSES.textContent=" ",e.preventDefault(),D.fromNullable(new URL(`https://${window.location.host}/checkout`)).ifJust(c=>c.searchParams.append("order_key",a.order_key)).ifJust(c=>c.searchParams.append("order_id",String(a.id))).ifJust(c=>location.assign(c))}).ifLeft(a=>{M(a).with(E.instanceOf(W),c=>{y(c),console.error(c.issues),r.MESSAGE_ADRESSES.textContent=fi}).when(se,c=>{y(c),r.MESSAGE_ADRESSES.textContent=rt}).when(oe,c=>{y(c),r.MESSAGE_ADRESSES.textContent=ue}).exhaustive(),Ot(r.BOUTON_ACTIONS_FORMULAIRE,!1),r.BOUTON_ACTIONS_FORMULAIRE.textContent="Checkout"}).run()}).ifNothing(()=>e.preventDefault())})},Ji="woocommerce_rest_cart_coupon_error";class qt extends Error{constructor(t){super(`Code promo « ${t} » invalide.`),this.name="ErreurCodePromoInvalide"}}const ji=g({code:u(_())}),qi=g({code:u(_())}),Qt=_etats,Qi=()=>{const e=()=>D.fromFalsy(r.CHAMP_CODE_PROMO.value.trim()).extractNullable(),t=()=>r.ENSEMBLE_CODE_PROMO.hasAttribute(Tt);r.ENSEMBLE_CODE_PROMO.addEventListener("click",i=>M({cible:i.target,codePromoPresent:t(),valeurCodePromo:e()}).with({cible:E.when(o=>Ft(o,It)),codePromoPresent:!1,valeurCodePromo:E.string},({valeurCodePromo:o})=>void A.liftEither(P({code:o},ji)).ifRight(()=>{r.BOUTON_CODE_PROMO.setAttribute(T,""),r.BOUTON_CODE_PROMO.setAttribute(tt,""),r.MESSAGE_CODE_PROMO.textContent="",Gt(r.BOUTON_CODE_PROMO,500)}).map(n=>at({corps:JSON.stringify(n),nonce:Qt.nonce,route:pi})).chain(n=>A(async({throwE:s})=>{const a={body:await n.json(),status:n.status};return M(a).with({status:500},()=>s(new $("500 Server Error"))).with({body:E.when(()=>_i(a,Ji)),status:400},()=>s(new qt(e()??""))).with({status:200},()=>a.body).run()})).chain(n=>A.liftEither(P(n,Q))).ifRight(n=>{r.ENSEMBLE_CODE_PROMO.toggleAttribute(Tt),r.CHAMP_CODE_PROMO.toggleAttribute(T),r.CHAMP_CODE_PROMO.value=n.coupons[0]?.code??"",r.BOUTON_CODE_PROMO.textContent="Remove",r.TOTAL_PANIER.textContent=U(f(n.totals.total_price),nt,L),r.TOTAL_REDUCTION_LIGNE.toggleAttribute(z),r.TOTAL_REDUCTION_VALEUR.textContent=U(f(n.totals.total_discount),re,nt,L),window.dispatchEvent(Mi)}).ifLeft(n=>{r.BOUTON_CODE_PROMO.textContent="Apply",M(n).with(E.instanceOf(W),s=>{I(s),console.error("ValiError",s.issues)}).with(E.instanceOf(qt),s=>{r.MESSAGE_CODE_PROMO.textContent="This promo code does not exist.",I(s),console.error(s)}).with(E.instanceOf($),s=>{r.MESSAGE_CODE_PROMO.textContent="Sorry, something went wrong! Please refresh the page and try again.",I(s),console.error(s)}).with(E.instanceOf(TypeError),s=>{r.MESSAGE_CODE_PROMO.textContent="Sorry, something went wrong! Please refresh the page and try again.",I(s),console.error(s)}).exhaustive()}).finally(()=>{r.BOUTON_CODE_PROMO.removeAttribute(tt),r.BOUTON_CODE_PROMO.removeAttribute(T)}).run()).with({cible:E.when(o=>Ft(o,It)),codePromoPresent:!0,valeurCodePromo:E.string},({valeurCodePromo:o})=>void A.liftEither(P({code:o},qi)).ifRight(()=>{r.BOUTON_CODE_PROMO.setAttribute(T,""),r.BOUTON_CODE_PROMO.setAttribute(tt,""),Gt(r.BOUTON_CODE_PROMO,500)}).map(n=>at({corps:JSON.stringify(n),nonce:Qt.nonce,route:Ri})).chain(n=>A(async({throwE:s})=>(Ai(n)&&s(new $("500 server Error")),await n.json()))).chain(n=>A.liftEither(P(n,Q))).ifRight(n=>{r.ENSEMBLE_CODE_PROMO.toggleAttribute(Tt),r.ENSEMBLE_CODE_PROMO.reset(),r.CHAMP_CODE_PROMO.toggleAttribute(T),r.CHAMP_CODE_PROMO.textContent="",r.BOUTON_CODE_PROMO.textContent="Apply",r.TOTAL_PANIER.textContent=U(f(n.totals.total_price),nt,L),r.TOTAL_REDUCTION_LIGNE.toggleAttribute(z),r.TOTAL_REDUCTION_VALEUR.textContent="-0€",et(it,!0)}).ifLeft(n=>M(n).with(E.instanceOf(W),s=>{I(s),console.error("retour ajout code promo",s.issues)}).with(E.instanceOf($),s=>{I(s),console.error("retour ajout code promo",s)}).with(E.instanceOf(TypeError),s=>{I(s),console.error("retour ajout code promo",s)}).exhaustive()).finally(()=>{r.BOUTON_CODE_PROMO.removeAttribute(tt),r.BOUTON_CODE_PROMO.removeAttribute(T)}).run()).with(E._,Ye))};const xt=globalThis,pt=xt.trustedTypes,zt=pt?pt.createPolicy("lit-html",{createHTML:e=>e}):void 0,Me="$lit$",x=`lit$${Math.random().toFixed(9).slice(2)}$`,Ue="?"+x,zi=`<${Ue}>`,J=document,ct=()=>J.createComment(""),lt=e=>e===null||typeof e!="object"&&typeof e!="function",Bt=Array.isArray,Ki=e=>Bt(e)||typeof e?.[Symbol.iterator]=="function",ft=`[ -\f\r]`,Z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Kt=/-->/g,Xt=/>/g,B=RegExp(`>|${ft}(?:([^\\s"'>=/]+)(${ft}*=${ft}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),Zt=/'/g,Yt=/"/g,De=/^(?:script|style|textarea|title)$/i,Xi=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),Zi=Xi(1),ut=Symbol.for("lit-noChange"),C=Symbol.for("lit-nothing"),te=new WeakMap,F=J.createTreeWalker(J,129);function Pe(e,t){if(!Bt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return zt!==void 0?zt.createHTML(t):t}const Yi=(e,t)=>{const i=e.length-1,o=[];let n,s=t===2?"":t===3?"":"",a=Z;for(let c=0;c"?(a=n??Z,d=-1):N[1]===void 0?d=-2:(d=a.lastIndex-N[2].length,R=N[1],a=N[3]===void 0?B:N[3]==='"'?Yt:Zt):a===Yt||a===Zt?a=B:a===Kt||a===Xt?a=Z:(a=B,n=void 0);const w=a===B&&e[c+1].startsWith("/>")?" ":"";s+=a===Z?l+zi:d>=0?(o.push(R),l.slice(0,d)+Me+l.slice(d)+x+w):l+x+(d===-2?c:w)}return[Pe(e,s+(e[i]||"")+(t===2?"":t===3?"":"")),o]};class Et{constructor({strings:t,_$litType$:i},o){let n;this.parts=[];let s=0,a=0;const c=t.length-1,l=this.parts,[R,N]=Yi(t,i);if(this.el=Et.createElement(R,o),F.currentNode=this.el.content,i===2||i===3){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(n=F.nextNode())!==null&&l.length0){n.textContent=pt?pt.emptyScript:"";for(let w=0;w2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=C}_$AI(t,i=this,o,n){const s=this.strings;let a=!1;if(s===void 0)t=K(this,t,i,0),a=!lt(t)||t!==this._$AH&&t!==ut,a&&(this._$AH=t);else{const c=t;let l,R;for(t=s[0],l=0;l{const o=t;let n=o._$litPart$;return n===void 0&&(o._$litPart$=n=new dt(t.insertBefore(ct(),null),null,void 0,{})),n._$AI(e),n},_n=e=>t=>{t.forEach(e)},cn=e=>t=>(t.map(e),t),Le=()=>{S.debug("METHODES_LIVRAISON","initShippingRatesChoicesActions"),St(r.CONTENEUR_METHODES_LIVRAISON)("input").ifRight(_n(e=>e.addEventListener("click",t=>{S.info("METHODES_LIVRAISON","Clic sur un choix de méthode de livraison"),wt().map(cn(i=>(i.selected=i.method_id===t.target.value,i))).ifJust(i=>{window.dispatchEvent(Oe(i,!1))}).chain(Re(i=>i.selected)).ifJust(i=>{Ce("totals",ci).ifLeft(y).map(o=>(o.total_shipping=i.price,o.total_price=o.total_items-o.total_discount+i.price,o)).ifRight(o=>{window.dispatchEvent(Se(o))})})})))},ln=(e,t)=>{if(t.length===0){e.setAttribute(z,"");return}St(e)("div[data-methode-initiale]").ifRight(_t(n=>n.remove()));const i=t.find(n=>n.selected)?.method_id??"",o=H(t,n=>Zi` -
- - -
`);e.removeAttribute(z),rn(o,e),Le()},ee=()=>{r.BOUTON_ACTIONS_FORMULAIRE.removeAttribute(At),r.BOUTON_ACTIONS_FORMULAIRE.textContent="Calculate shipping"},un=()=>{window.addEventListener(Ee,()=>{ee()}),window.addEventListener(de,()=>{ee()}),window.addEventListener(he,e=>{vt.encase(()=>e.detail).ifRight(t=>{S.info("ShippingRatesUpdatedEvent","shipping_rates",t),t.refresh_methods&&ln(r.CONTENEUR_METHODES_LIVRAISON,t.shipping_rates)}).chain(t=>Jt("shipping_rates",t.shipping_rates)).ifLeft(y)}),window.addEventListener(Ae,e=>{vt.encase(()=>e.detail.totals).chain(t=>Jt("totals",t)).ifLeft(y).ifRight(t=>{r.SOUS_TOTAL_LIVRAISON_VALEUR.textContent=L(t.total_shipping),r.SOUS_TOTAL_PRODUITS_VALEUR.textContent=L(t.total_items),r.SOUS_TOTAL_REDUCTION_VALEUR.textContent=L(t.total_discount*-1),r.TOTAL_PANIER_VALEUR.textContent=L(t.total_price)})})},En=g({key:_()}),ie=g({key:_(),quantity:p(h(),ti(1))}),Ct=_etats,V=e=>{const t=ei(e);return{additionButton:t(Ut),deletionButton:t(Pt),quantityInput:t(Lt),substractionButton:t(Dt)}},j=e=>t=>_t(t,i=>{e?(Number(i.quantityInput.value)===1?i.substractionButton.setAttribute(T,""):i.substractionButton.removeAttribute(T),i.additionButton.removeAttribute(T),i.deletionButton.removeAttribute(T),i.deletionButton.textContent="Remove"):(i.substractionButton.setAttribute(T,""),i.additionButton.setAttribute(T,""),i.deletionButton.setAttribute(T,""),i.deletionButton.textContent="Loading")}),dn=()=>{r.ENTREES_PANIER.ifRight(e=>_t(e,t=>{const i=D.fromNullable(t.getAttribute(ae)).ifNothing(()=>t.remove()).orDefault("CLE_PANIER_INEXISTANTE"),o=V(t);t.addEventListener("click",n=>{M(n.target).with(E.nullish,()=>console.error(n.target)).when(s=>s.matches(Ut),()=>{A.liftEither(D.fromNullable(o.quantityInput.valueAsNumber).toEither(new Error("Quantité manquante pour cette ligne du Panier !"))).chain(s=>A.liftEither(P({key:i,quantity:s+1},ie))).ifRight(()=>U(e,H(V),j(!1))).chain(s=>st(at({corps:JSON.stringify(s),nonce:Ct.nonce,route:Wt}))).chain(s=>A(async({throwE:a})=>M(await ot(s)).with({status:200},c=>c.body).otherwise(c=>a($t(c))))).chain(s=>A.liftEither(P(s,Q))).ifRight(s=>{gt({quantiteProduits:s.items_count}),Nt({produits:s.items,sousTotalProduits:f(s.totals.total_items),sousTotalReduction:f(s.totals.total_discount),totalPanier:f(s.totals.total_price)}),et(it,!0)}).ifLeft(s=>{M(s).with(E.instanceOf(W),a=>{I(a),console.error(a.issues)}).with(E.instanceOf($),E.instanceOf(X),a=>{I(a),console.error(a)}).with(E.instanceOf(DOMException),E.instanceOf(TypeError),E.instanceOf(Error),a=>{I(a),console.error(a)}).exhaustive()}).finally(()=>{U(e,H(V),j(!0))}).run()}).when(s=>s.matches(Dt),()=>{D.fromNullable(o.quantityInput.valueAsNumber).filter(s=>s>1).ifJust(s=>{A.liftEither(P({key:i,quantity:s-1},ie)).ifRight(()=>U(e,H(V),j(!1))).chain(a=>st(at({corps:JSON.stringify(a),nonce:Ct.nonce,route:Wt}))).chain(a=>A(async({throwE:c})=>M(await ot(a)).with({status:500},()=>c(new $("500 Server Error"))).with({status:400},()=>c(new X("400 Bad Request Error"))).with({status:200},l=>l.body).otherwise(l=>c(new Error(`Erreur inconnue ${String(l.status)}`))))).chain(a=>A.liftEither(P(a,Q))).ifRight(a=>{gt({quantiteProduits:a.items_count}),Nt({produits:a.items,sousTotalProduits:f(a.totals.total_items),sousTotalReduction:f(a.totals.total_discount),totalPanier:f(a.totals.total_price)}),et(it,!0)}).ifLeft(a=>{M(a).with(E.instanceOf(W),c=>{I(c),console.error(c.issues)}).with(E.instanceOf($),E.instanceOf(X),c=>{I(c),console.error(c)}).with(E.instanceOf(DOMException),E.instanceOf(TypeError),E.instanceOf(Error),c=>{I(c),console.error(c)}).exhaustive()}).finally(()=>{U(e,H(V),j(!0))}).run()})}).when(s=>s.matches(Pt),()=>{D.fromNullable(o.quantityInput.valueAsNumber).ifJust(()=>{A.liftEither(P({key:i},En)).ifRight(()=>U(e,H(V),j(!1))).chain(s=>st(at({corps:JSON.stringify(s),nonce:Ct.nonce,route:mi}))).chain(s=>A(async({throwE:a})=>M(await ot(s)).with({status:500},()=>a(new $("500 Server Error"))).with({status:400},()=>a(new X("400 Bad Request Error"))).with({status:200},c=>c.body).otherwise(c=>a(new Error(`Erreur inconnue ${String(c.status)}`))))).chain(s=>A.liftEither(P(s,Q))).ifRight(s=>{gt({quantiteProduits:s.items_count}),Nt({produits:s.items,sousTotalProduits:f(s.totals.total_items),sousTotalReduction:f(s.totals.total_discount),totalPanier:f(s.totals.total_price)}),et(it,!0),t.remove()}).ifLeft(s=>{M(s).with(E.instanceOf(W),a=>{I(a),console.error(a.issues)}).with(E.instanceOf($),E.instanceOf(X),a=>{I(a),console.error(a)}).with(E.instanceOf(DOMException),E.instanceOf(TypeError),E.instanceOf(Error),a=>{I(a),console.error(a)}).exhaustive()}).finally(()=>{U(e,H(V),j(!0))}).run()})}).otherwise(s=>{})})}))};_etats;const ye=e=>t=>U(si(e)(t),oi),ne=e=>e.forEach(t=>{const i=ye(t),o={boutonAddition:i(Ut),boutonSoustraction:i(Dt),boutonSuppression:i(Pt),champQuantite:i(Lt)};Number(o.champQuantite?.value)===1?o.boutonSoustraction.setAttribute(T,""):o.boutonSoustraction.removeAttribute(T),o.boutonAddition.removeAttribute(T),o.boutonSuppression.removeAttribute(T),o.boutonSuppression.textContent="Remove"}),hn=()=>{new BroadcastChannel(li).onmessage=e=>{ui(e).map(_e.getUnsafe("donnees")).ifRight(t=>{r.CONTENEUR_PANIER.setAttribute(ii,String(t.quantiteProduits!==0))})}},An=()=>{new BroadcastChannel(Ei).onmessage=e=>{di(e).chain(Ni("donnees")).ifRight(t=>{t.produits.forEach(i=>{r.ENTREES_PANIER.ifRight(o=>{D.fromNullable(o.find(n=>n.getAttribute(ae)===i.key)).ifJust(n=>{const s=ye(n),a=s(ni),c=s(Lt);n.setAttribute("data-quantite",String(i.quantity)),a.textContent=U(f(i.totals.line_subtotal),L),c.setAttribute("value",String(i.quantity)),ne(o)}),r.SOUS_TOTAL_PRODUITS.textContent=L(t.sousTotalProduits),r.SOUS_TOTAL_REDUCTION.textContent=U(re(t.sousTotalReduction),nt,L),r.TOTAL_PANIER.textContent=U(nt(t.totalPanier),L)})})}).ifLeft(t=>{I(t),r.ENTREES_PANIER.ifRight(i=>ne(i))})}},On=()=>{r.BOUTON_SEPARATION_ADRESSES.addEventListener("click",()=>{D.fromFalsy(r.BOUTON_SEPARATION_ADRESSES.checked).ifJust(()=>{r.FORMULAIRE_FACTURATION.removeAttribute(z),St(r.FORMULAIRE_FACTURATION)("input, select").ifRight(_t(e=>e.removeAttribute(T)))}).ifNothing(()=>{r.FORMULAIRE_FACTURATION.setAttribute(z,""),St(r.FORMULAIRE_FACTURATION)("input, select").ifRight(_t(e=>{e.setAttribute(T,""),e.value=""}))})})};document.addEventListener("DOMContentLoaded",()=>{Fi(),un(),dn(),Le(),hn(),An(),On(),Gi(),Wi(),Qi()});export{Sn as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.br deleted file mode 100644 index e194fbd1..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.gz deleted file mode 100644 index da65fd64..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.zst deleted file mode 100644 index c0ee10cf..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-panier.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js deleted file mode 100644 index 47416f9c..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./index-legacy.BZucyBbQ.js","./dom-legacy.BaBbaRa_.js","./api-legacy.BVjX3txO.js","./gardes-legacy.KKtp3xCq.js","./messages-legacy.PVpnHWo9.js","./reseau-legacy.dBQarsl0.js","./validation-legacy.C-7tMwb9.js","./exports-legacy.CUaFfB0_.js","./index-c1cc4c86-legacy.C-8fWPTk.js","./journalisation-legacy.js"],function(t,e){"use strict";var r,i,a,n,s,o,O,c,u,l,A,N,d,E,f,_,T,U,g,R,h,I,b,y,v,w,P,m,p,J,C,D,B,j,x,L,S,M,q,V;return{setters:[t=>{r=t.M,i=t.z},t=>{a=t.x,n=t.z,s=t.y,o=t.I,O=t.E,c=t.aK,u=t.aL,l=t.m,A=t.aM,N=t.f,d=t.aN,E=t.aO,f=t.aP,_=t.aQ,T=t.aR,U=t.az,g=t.v,R=t.a0,h=t.U,I=t.aS,b=t.V,y=t.W,v=t.X,w=t.Y,P=t._,m=t.$},t=>{p=t.h},t=>{J=t.b,C=t.g},t=>{D=t.c,B=t.h},t=>{j=t.E,x=t.s,L=t.a,S=t.n},t=>{M=t.s},t=>{q=t.a9},t=>{V=t.t},null],execute:function(){const t=a({attribute:O(),value:O()}),e=a({id:n(o()),quantity:n(o()),variation:n(s(t))}),z=_etats,X=t=>U(t,t=>{R.fromNullable(t.at(0)).ifJust(t=>t.setAttribute(T,"false")),R.fromNullable(t.at(1)).ifJust(t=>t.setAttribute(g,"true"))}),$={BOUTON_AJOUT_PANIER:l(f),BOUTONS_ACCORDEON:N(E),CONTENUS_ACCORDEON:N(d),PRIX_PRODUIT:l(A),DOM_VARIATION:c(u)},k=()=>{const t={id:$.DOM_VARIATION.map(t=>Number(t.value)).orDefault(z.idProduit),quantity:1};j.liftEither(M(t,e)).ifRight(()=>{$.BOUTON_AJOUT_PANIER.setAttribute(h,""),$.BOUTON_AJOUT_PANIER.setAttribute(b,""),y($.BOUTON_AJOUT_PANIER,500)}).chain(t=>x(L({corps:JSON.stringify(t),nonce:z.nonce,route:p}))).chain(t=>j(async({throwE:e})=>r(await S(t)).with({status:500},()=>e(new v("500 Server Error"))).with({status:400},()=>e(new w("400 Bad Request Error"))).with({status:201},t=>t.body).otherwise(t=>e(new Error(`Erreur inconnue ${String(t.status)}`))))).chain(t=>j.liftEither(M(t,D))).ifRight(t=>q(C(t,"items_count"),V(t=>{$.BOUTON_AJOUT_PANIER.textContent="Added to cart!",B({quantiteProduits:t})}))).ifLeft(t=>{r(t).with(i.instanceOf(P),t=>{m(t),console.error(t.issues)}).with(i.instanceOf(v),i.instanceOf(w),t=>{m(t),console.error(t)}).with(i.instanceOf(DOMException),i.instanceOf(TypeError),i.instanceOf(Error),t=>{m(t),console.error(t)}).exhaustive(),$.BOUTON_AJOUT_PANIER.textContent="Add to cart"}).finally(()=>{$.BOUTON_AJOUT_PANIER.removeAttribute(b),$.BOUTON_AJOUT_PANIER.removeAttribute(h)}).run()};document.addEventListener("DOMContentLoaded",()=>{(()=>{const t=new Map;$.BOUTONS_ACCORDEON.forEach((e,r)=>{const i=e.getAttribute(_),a=$.CONTENUS_ACCORDEON[r];if(!i)throw new Error("Le lien ne dispose pas d'ID !");if(!a)throw new Error("Le lien ne dispose pas de section correspondante !");t.set(i,[e,a]),e.addEventListener("click",r=>{r.preventDefault();const i="true"===e.getAttribute(T);q(t.values(),Array.from,X),i||(e.setAttribute(T,"true"),a.removeAttribute(g))})}),$.DOM_VARIATION.ifRight(t=>t.addEventListener("change",t=>{const e=R.fromNullable(t.target).filter(J);e.map(t=>t.validity.valid).ifJust(t=>$.BOUTON_AJOUT_PANIER.toggleAttribute(h,!t)),e.chainNullable(t=>t.selectedOptions[0]).chainNullable(t=>t.getAttribute(I)).ifJust(t=>{$.PRIX_PRODUIT.textContent=`${t}€`})})),$.BOUTON_AJOUT_PANIER.addEventListener("click",()=>k())})()})}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.br deleted file mode 100644 index f7441a3e..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.gz deleted file mode 100644 index f080a1b1..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.zst deleted file mode 100644 index f1b58afb..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit-legacy.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js deleted file mode 100644 index e41c54bc..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js +++ /dev/null @@ -1 +0,0 @@ -import{M as E,z as n}from"./index.BiLbLflF.js";import{x as p,z as o,y as B,I as _,E as N,aK as S,aL as g,m as l,aM as b,f as m,aN as v,aO as M,aP as J,aQ as y,aR as c,az as w,v as C,a0 as u,U as T,aS as L,V as R,W as x,X as d,Y as f,_ as q,$ as O}from"./dom.BBcFv3WT.js";import{h as V}from"./api.BWtmxolt.js";import{b as X,g as G}from"./gardes.-KvoYkXU.js";import{c as W,h as j}from"./messages.B9cwwdUT.js";import{E as A,s as k,a as z,n as H}from"./reseau.CUz9kCSO.js";import{s as I}from"./validation.DpnMPnCH.js";import{a9 as D}from"./exports.JV8YQBqW.js";import{t as $}from"./index-c1cc4c86.DUxuguYh.js";import"./journalisation.js";function tt(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}const Q=p({attribute:N(),value:N()}),F=p({id:o(_()),quantity:o(_()),variation:o(B(Q))}),U=_etats,K=i=>w(i,t=>{u.fromNullable(t.at(0)).ifJust(e=>e.setAttribute(c,"false")),u.fromNullable(t.at(1)).ifJust(e=>e.setAttribute(C,"true"))}),r={BOUTON_AJOUT_PANIER:l(J),BOUTONS_ACCORDEON:m(M),CONTENUS_ACCORDEON:m(v),PRIX_PRODUIT:l(b),DOM_VARIATION:S(g)},Y=()=>{const i=new Map;r.BOUTONS_ACCORDEON.forEach((t,e)=>{const s=t.getAttribute(y),a=r.CONTENUS_ACCORDEON[e];if(!s)throw new Error("Le lien ne dispose pas d'ID !");if(!a)throw new Error("Le lien ne dispose pas de section correspondante !");i.set(s,[t,a]),t.addEventListener("click",h=>{h.preventDefault();const P=t.getAttribute(c)==="true";D(i.values(),Array.from,K),!P&&(t.setAttribute(c,"true"),a.removeAttribute(C))})}),r.DOM_VARIATION.ifRight(t=>t.addEventListener("change",e=>{const s=u.fromNullable(e.target).filter(X);s.map(a=>a.validity.valid).ifJust(a=>r.BOUTON_AJOUT_PANIER.toggleAttribute(T,!a)),s.chainNullable(a=>a.selectedOptions[0]).chainNullable(a=>a.getAttribute(L)).ifJust(a=>{r.PRIX_PRODUIT.textContent=`${a}€`})})),r.BOUTON_AJOUT_PANIER.addEventListener("click",()=>Z())},Z=()=>{const i={id:r.DOM_VARIATION.map(t=>Number(t.value)).orDefault(U.idProduit),quantity:1};A.liftEither(I(i,F)).ifRight(()=>{r.BOUTON_AJOUT_PANIER.setAttribute(T,""),r.BOUTON_AJOUT_PANIER.setAttribute(R,""),x(r.BOUTON_AJOUT_PANIER,500)}).chain(t=>k(z({corps:JSON.stringify(t),nonce:U.nonce,route:V}))).chain(t=>A(async({throwE:e})=>E(await H(t)).with({status:500},()=>e(new d("500 Server Error"))).with({status:400},()=>e(new f("400 Bad Request Error"))).with({status:201},s=>s.body).otherwise(s=>e(new Error(`Erreur inconnue ${String(s.status)}`))))).chain(t=>A.liftEither(I(t,W))).ifRight(t=>D(G(t,"items_count"),$(e=>{r.BOUTON_AJOUT_PANIER.textContent="Added to cart!",j({quantiteProduits:e})}))).ifLeft(t=>{E(t).with(n.instanceOf(q),e=>{O(e),console.error(e.issues)}).with(n.instanceOf(d),n.instanceOf(f),e=>{O(e),console.error(e)}).with(n.instanceOf(DOMException),n.instanceOf(TypeError),n.instanceOf(Error),e=>{O(e),console.error(e)}).exhaustive(),r.BOUTON_AJOUT_PANIER.textContent="Add to cart"}).finally(()=>{r.BOUTON_AJOUT_PANIER.removeAttribute(R),r.BOUTON_AJOUT_PANIER.removeAttribute(T)}).run()};document.addEventListener("DOMContentLoaded",()=>{Y()});export{tt as __vite_legacy_guard}; diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.br b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.br deleted file mode 100644 index bc2413a0..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.br and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.gz b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.gz deleted file mode 100644 index bb02056b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.gz and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.zst b/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.zst deleted file mode 100644 index 0c8ab44b..00000000 Binary files a/web/app/themes/haiku-atelier-2024/assets/js/scripts-page-produit.js.zst and /dev/null differ diff --git a/web/app/themes/haiku-atelier-2024/assets/js/validation-legacy.C-7tMwb9.js b/web/app/themes/haiku-atelier-2024/assets/js/validation-legacy.C-7tMwb9.js deleted file mode 100644 index 4854f1ed..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/validation-legacy.C-7tMwb9.js +++ /dev/null @@ -1 +0,0 @@ -System.register(["./dom-legacy.BaBbaRa_.js"],function(e,s){"use strict";var t,a;return{setters:[e=>{t=e.al,a=e.ba}],execute:function(){e("s",(e,s)=>t.encase(()=>a(s,e))),e("a",e=>s=>t.encase(()=>a(e,s)))}}}); diff --git a/web/app/themes/haiku-atelier-2024/assets/js/validation.DpnMPnCH.js b/web/app/themes/haiku-atelier-2024/assets/js/validation.DpnMPnCH.js deleted file mode 100644 index cb484450..00000000 --- a/web/app/themes/haiku-atelier-2024/assets/js/validation.DpnMPnCH.js +++ /dev/null @@ -1 +0,0 @@ -import{al as s,ba as r}from"./dom.BBcFv3WT.js";const o=(a,e)=>s.encase(()=>r(e,a)),t=a=>e=>s.encase(()=>r(a,e));export{t as a,o as s};