PageSourceSearch

https://agenda-loto.net/v2/layout_header.1790842169.js

js agenda-loto.net collected 2026-10-06 16:55:30 UTC 2,030 bytes, 2 lines download raw bytes

1(()=>{var n=class{constructor(){document.addEventListener("alpine:init",()=>{Alpine.data("alpineCommon",()=>({todoOrders:[],todoTopics:[],agwDialog:{},orderUrl:{},init(){window.alpineRender(this),document.documentElement.style.setProperty("--body-height",`${window.innerHeight}px`),window.CONFIG.connected&&(this.fetchTodoOrders(),this.fetchTodoTopics()),this.displayPaywall()},displayPaywall(){setTimeout(()=>{document.querySelector("#qc-cmp2-main")?this.displayPaywall():window.AGW?.hasBlocker().then(e=>{if(e&&this.agwDialog.show&&!this.agwDialog.hasService){let o=document.querySelector("[x-ref='dialogAGW']");o&&!o.open&&o.showModal()}}).catch(()=>null)},3e3)},fetchTodoOrders(){window.useHttpPay.get("api/orders/payment").then(({body:e})=>{let o=new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR",minimumFractionDigits:2});for(let t of e.list){let i={};i.agendaId=4,i.url=this.orderUrl.path.replace("{{uuid}}",t.uuid),i.title="Commande en attente de paiement";let l=t.cart.reduce((a,c)=>a+c.quantity,0),r=t.cart.length>1?`${l} articles`:t.cart[0].label;i.subtitle=`${r} \u2022 ${o.format(t.total.ttc||t.total.ht)}`,this.todoOrders.push(i)}}).catch(()=>null)},fetchTodoTopics(){window.useHttpApi.get("v1/todo/topics").then(({body:e})=>{this.todoTopics=e.todos}).catch(()=>null)},openSidemenu(){let e=document.querySelector("[x-ref='sidemenu']");e&&!e.open&&e.showModal()},openDialogMyFavorites(){let e=document.querySelector("[x-ref='sidemenu']");e?.open&&e.close();let o=document.querySelector("[x-ref='dialogMyFavorites']");o&&!o.open&&o.showModal()},openDialogFilter(){let e=document.querySelector("[x-ref='dialogFilter']");e&&!e.open&&e.showModal()},openDialogNotification(){let e=document.querySelector("[x-ref='dialogNotification']");e&&!e.open&&e.showModal()},openDialogSearch(){document.querySelector("[x-ref='dialogMyFavorites']")?.close();let e=document.querySelector("[x-ref='dialogSearch']");e&&!e.open&&e.showModal()}}))},{once:!0})}};new n;})();
2//# sourceMappingURL=layout_header.1790842169.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.