PageSourceSearch

https://edunext.ai/_nuxt/DZxApR3L.js

js edunext.ai collected 2026-10-05 12:11:42 UTC 8,731 bytes, 4 lines download raw bytes

1import{g as A,_ as U}from"./D1xA1tNM.js";import{_ as F}from"./B1CPoFFT.js";import{r as w,m as z,g as V,L as E,c as u,o as d,q as M,F as D,y as G,n as c,a as e,I as O,b as m,x as Y,t as b,N as J,d as K,i as _,E as R,D as W,A as Q,P as X,J as Z,u as ee,S as te,w as oe,G as se}from"./CX7--68e.js";import{u as ne}from"./DgmrTsKf.js";import{_ as ae}from"./CUD_TSxb.js";import{b as le}from"./tZGPe2AT.js";import{u as re}from"./BIa9EADB.js";import{u as ie}from"./C6WTYSy8.js";import"./DcZaMwm-.js";import"./mA0NXTPb.js";const ce={class:"w-full grid place-items-center grid-cols-1 xs:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-x-4 gap-y-6"},ue=["src","alt"],de={key:1,class:"w-full h-10 bg-white shrink-0"},me={class:"flex flex-col flex-1 bg-white"},pe={class:"flex flex-col items-center text-center px-3"},fe={class:"icon-container bg-white rounded-full p-1 relative z-10 -mt-6 mb-2 shadow-sm"},xe={class:"flex flex-col gap-2 p-4"},ge={class:"w-full"},ye={class:"price-section mt-auto flex flex-col gap-2.5 p-3 bg-gray-50 border-t border-gray-100"},_e={class:"flex flex-col gap-1 px-1 text-center"},he={class:"flex flex-wrap items-baseline justify-center gap-x-2.5 gap-y-1"},ve={class:"base-price text-xl text-navbarText font-medium line-through"},ke={class:"discounted-price text-2xl lg:text-3xl font-medium"},be={class:"button-container flex items-center justify-center gap-2 font-medium"},we=["onClick"],Se=["onClick"],Pe={key:0,class:"col-span-full flex flex-col items-center justify-center gap-4 px-6"},$e={class:"flex items-center justify-center w-16 h-16 rounded-full",style:{"background-color":"rgba(59, 130, 246, 0.1)",outline:"6px solid rgba(59, 130, 246, 0.05)"}},Ce={__name:"PacketGrid",props:{packets:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1},divPosition:{type:String,default:""},arrowButtonType:{type:String,default:""}},setup(y){const h=y,{addToBasket:P}=ne(),{pushSelectItem:v}=R(),p=w([]),k=()=>{if(p.value.length===0)return;const l=A.timeline();p.value.forEach((s,r)=>{if(!s)return;const t=s.querySelector(".icon-container"),f=s.querySelector(".packet-name"),g=s.querySelectorAll(".info-item"),x=s.querySelector(".price-section"),C=x?.querySelector(".base-price"),B=x?.querySelector(".discounted-price"),n=x?.querySelector(".installment-text"),o=x?.querySelector(".button-container"),a=[t,f,...Array.from(g),C,B,n,o].filter(Boolean);A.set(a,{opacity:0,y:20}),A.set(s,{scale:1,opacity:0});const i=r*.1;l.to(s,{scale:1,opacity:1,duration:.4,ease:"back.out(1.7)"},i),a.length&&l.to(a,{opacity:1,y:0,duration:.3,stagger:.05},i+.2)})};z(()=>h.packets,l=>{l&&l.length>0&&E(()=>k())},{deep:!0}),V(()=>{h.packets&&h.packets.length>0&&E(()=>k())});const $=(l,s)=>{v({...l.ecommerce.items[0],index:s+1},"paket_listesi",l.ecommerce.item_list_name),W(`/paketler/${l.packetCode}`)};return(l,s)=>{const r=Y;return d(),u("div",ce,[(d(!0),u(D,null,G(y.packets,(t,f)=>(d(),u("div",{key:t.id||f,ref_for:!0,ref_key:"cardRefs",ref:p,class:"flex flex-col w-full rounded-2xl shadow-lg min-h-full overflow-hidden bg-white",style:c(`border: 2px solid ${t.color};`)},[t.imagePreUrl?(d(),u("div",{key:0,class:"w-full shrink-0 max-h-32",style:c(`background-color: ${t.color20};`)},[e("img",{src:t.imagePreUrl,alt:t.packetName,class:"w-full h-full"},null,8,ue)],4)):(d(),u("div",de)),e("div",me,[e("div",pe,[e("div",fe,[e("div",{class:"flex items-center justify-center w-10 h-10 rounded-full",style:c(`
2                background-color: ${t.color20};
3                outline: 6px solid ${t.color10};
4              `)},[m(r,{name:"school-learning",class:"w-6 h-6",style:c(`color: ${t.color};`)},null,8,["style"])],4)]),e("div",{class:"packet-name text-lg lg:text-xl font-medium",style:c(`color: ${t.color};`)},b(t.packetName),5)]),O(e("div",{class:"text-center pt-2 px-3 text-xs text-navbarText"},b(t.preDescription),513),[[J,t.preDescription]]),e("div",xe,[(d(!0),u(D,null,G(t.infoList,(g,x)=>(d(),u("div",{key:x,class:"info-item flex items-start gap-2.5 text-left text-[13px] lg:text-sm"},[e("div",{class:"flex items-center justify-center w-5 h-5 rounded-full shrink-0",style:c(`background-color: ${t.color20};`)},[m(r,{name:"check",class:"w-2.5 h-2.5",style:c(`color: ${t.color};`)},null,8,["style"])],4),e("div",ge,b(g.name),1)]))),128))])]),e("div",ye,[e("div",_e,[e("div",he,[e("div",ve,b(t.lastBasePrice)+" ₺ ",1),e("div",ke,[K(b(t.lastDiscountedPrice)+" ₺ ",1),s[0]||(s[0]=e("span",{class:"text-base font-medium"},"/yıl",-1))])]),s[1]||(s[1]=e("div",{class:"installment-text text-xs text-navbarText"}," 12 aya varan taksit fırsatı ",-1))]),e("div",be,[e("button",{onClick:g=>_(P)(t),class:"w-full rounded-lg px-3 py-2.5 text-sm text-white hover:opacity-80 transition-opacity",style:c(`background-color: ${t.color};`)}," Satın Al ",12,we),e("button",{onClick:g=>$(t,f),class:"w-full px-3 py-2.5 text-sm hover:opacity-80 transition-opacity",style:c({color:t.color})}," İncele ",12,Se)])])],4))),128)),!y.loading&&(!y.packets||y.packets.length===0)?(d(),u("div",Pe,[e("div",$e,[m(r,{name:"school-learning",class:"w-8 h-8 text-blue-500"})]),s[2]||(s[2]=e("div",{class:"flex flex-col items-center gap-2 text-center max-w-md"},[e("div",{class:"text-xl font-medium text-navbarText"}," Henüz Paket Bulunmuyor "),e("div",{class:"text-sm text-gray-600"}," Şu anda görüntülenecek paket bulunmamaktadır. Lütfen daha sonra tekrar kontrol edin. ")],-1))])):M("",!0)])}}},Be={class:"appBody h-screen flex justify-center min-h-full overflow-y-auto"},Te={class:"flex flex-col w-full min-h-full z-10"},Le={class:"flex flex-col items-center gap-2 px-3 md:px-8 pt-12 md:pt-20 pb-12 md:pb-24 max-w-container-lg"},Ne={class:"flex flex-col justify-center items-center text-center gap-4 w-full max-w-md mt-12"},je={class:"pb-10 w-full"},H="Paketler | Edunext",q="Edunext paketleri: 5, 6, 7, 9, 10, 11. sınıf ve LGS/TYT hazırlık için yapay zekâ destekli matematik içerikleri. İhtiyacına uygun paketi seçin.",I="https://edunext.ai/paketler",Ue={__name:"index",setup(y){const{getPacketCategoryList:h,getPacketByCategoryId:P}=Q(),{staticColors:v}=re(),{$toastAlert:p}=X(),{t:k}=Z(),{navbarHeight:$}=ie(),{pushViewItemList:l}=R(),s=w([]),r=w(""),t=w([]),f=w(!1);ee({title:H,meta:[{name:"description",content:q},{property:"og:title",content:H},{property:"og:description",content:q},{property:"og:url",content:I},{property:"og:image",content:"https://edusisconext.s3.dualstack.eu-central-1.amazonaws.com/edunext/image/og-image.jpg"},{property:"og:image:alt",content:q},{property:"og:type",content:"website"},{property:"og:site_name",content:"Edunext"}],link:[{rel:"canonical",href:I}]});const g=()=>v(),x=n=>
4{const o=v()[n];return o?o.replace(")",", 0.1)"):"rgba(0,0,0,0.1)"},C=n=>{const o=v()[n];return o?o.replace(")",", 0.2)"):"rgba(0,0,0,0.2)"},B=async n=>{f.value=!0;try{const o=await P(n);t.value=[],o.data&&o.data.forEach((a,i)=>{t.value.push({...a,color:g()[i],color10:x(i),color20:C(i)})});{const a=[...t.value];if(Array.isArray(a)&&a.length>0){const{event:i,page:T}=a[0],S=a.flatMap(N=>(N.ecommerce?.items||[]).map(j=>({...j,currency:"TRY"}))),L={event:i,page:T,ecommerce:{content_type:"product",item_brand:"Edunext",item_list_name:"Paketler",items:S}};window.dataLayer=window.dataLayer||[],window.dataLayer.push(L),l(S,"paketler","Tüm Paketler")}}}catch{p&&p({type:"error",title:k("general.error"),message:"Kategori numarasına göre paketler getirilirken hata oluştu."})}finally{f.value=!1}};return z(r,n=>{n&&B(n)}),V(async()=>{try{const n=await h();s.value=n.data.sort((o,a)=>o.orderNo-a.orderNo).map(o=>({id:o.id,name:o.name,value:o.id})),s.value.length>0&&(r.value=s.value[0]?.id)}catch{p&&p({type:"error",title:k("general.error"),message:"Paket kategori listesi getirilirken hata oluştu."})}}),(n,o)=>{const a=U,i=F,T=Ce,S=ae,L=le,N=se;return d(),u("div",Be,[e("div",Te,[m(a),e("div",{class:"flex flex-col items-center lg:justify-center w-full",style:c(`margin-top:${_($)}px`)},[e("div",Le,[o[2]||(o[2]=e("div",{class:"flex flex-col gap-5 text-center w-full max-w-3xl"},[e("h1",{class:"text-3xl md:text-4xl font-medium"}," Her öğrenciye uygun bir paket var "),e("h2",{class:"text-base md:text-xl text-navbarText"}," Edunext’te her seviyeye, her ihtiyaca uygun bir eğitim planı seni bekliyor. Hedefine en uygun paketi seç, matematikte fark yarat. ")],-1)),e("div",Ne,[o[1]||(o[1]=e("div",{class:"text-lg"},"Hangi Sınıfa Gidiyorsun?",-1)),m(i,{modelValue:_(r),"onUpdate:modelValue":o[0]||(o[0]=j=>te(r)?r.value=j:null),options:_(s),class:"h-12"},null,8,["modelValue","options"])]),m(T,{packets:_(t),loading:_(f),arrowButtonType:"standartBig",class:"mt-10 px-3 md:px-12"},null,8,["packets","loading"])]),e("div",je,[m(S)])],4),m(N,null,{default:oe(()=>[m(L)]),_:1})])])}}};export{Ue 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.