PageSourceSearch

https://www.on-tenk.com/_nuxt/DieCz74f.js

js on-tenk.com collected 2026-10-02 03:00:06 UTC 2,152 bytes, 1 lines download raw bytes

1import{h as f,_ as v,e as p,i as _,k as s,j as r,Z as h,I as S,x as m,E as $,H as g,F as x,R as k,v as y,w as b,m as P,D as w,r as C,b as N,V as B,W as V}from"./DupLYl1Y.js";import{_ as z}from"./B9qKOnWR.js";import{u as D}from"./BcVU8BeE.js";import"./BXtzJy69.js";import"./Dy-Ib0KW.js";import"./2KeQ5gN1.js";import"./Do8iqfhH.js";import"./B4BBlR57.js";import"./CezEBk_Q.js";import"./BFc6yFMH.js";const E=f({name:"CardPromo",props:{title:{type:String,default:""},description:{type:String,default:""},descriptionShort:{type:String,default:""},icon:{type:String,required:!1,default:""}},emits:["selected"],data(){return{isOpen:!1}}}),I={class:"l"},O={class:"l"},A={class:"m mb-m"},F={class:"t-bottom"};function J(e,t,d,i,a,c){const n=h,l=S,o=x;return p(),_("div",{class:k(["notification text-align-center cardPlan t-box","gray"])},[s("div",I,[r(n,{size:"xxl",icon:e.icon},null,8,["icon"])]),r(l),t[1]||(t[1]=s("div",{class:"l"},null,-1)),t[2]||(t[2]=s("hr",{style:{margin:"1rem 0"}},null,-1)),s("div",O,m(e.title),1),s("div",A,m(e.descriptionShort),1),s("div",F,[r(o,{type:"t-dark",class:"width100",size:"m",rounded:!0,onClick:t[0]||(t[0]=u=>e.$emit("selected"))},{default:$(()=>[g(m(e.$t("composants.abonnements.selectionner")),1)]),_:1}),r(l)])])}const L=v(E,[["render",J],["__scopeId","data-v-8feedf90"]]),R=f({name:"PagePromoIndex",setup(){const e=y(),t=b(),{promoService:d}=D(),i=C([]),{data:a}=P("promo-categories",async()=>{const c=d;if(!c)return console.error("promoService introuvable"),[];const n=await c.getAll();return JSON.parse(JSON.stringify(n))});return w(()=>{a.value&&(i.value=a.value)}),{localePath:e,router:t,categories:i}}}),T={class:"columns is-centered"};function j(e,t,d,i,a,c){const n=L,l=z;return p(),N(l,{step:0},{default:$(()=>[s("div",T,[(p(!0),_(B,null,V(e.categories,(o,u)=>(p(),_("div",{key:u,class:"column is-3"},[r(n,{title:o.title,description:o.description,"description-short":o.short_description,icon:o.icon,onSelected:q=>e.router.push(e.localePath(`/code/${o.short_url}`))},null,8,["title","description","description-short","icon","onSelected"])]))),128))])]),_:1})}const ee=v(R,[["render",j]]);export{ee as default};

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.