1import{d as j,N as A,O as E,a as d,o as t,z as T,u as e,l as u,a1 as F,y as b,k as n,F as I,m as H,q as v,G as N,p as h,W as K,A as q,t as z,c as R,H as Q,n as k,J as ne,j as O,S as W,e as L,_ as me,T as oe,P as ue,a6 as X,K as _e,ab as pe,Z as ae,aj as ge,aK as be,D as ie,R as le,M as fe,I as he,w as xe,B as ye}from"./BHR2SXiT.js";import{a as ee}from"./Dqtw0Roq.js";import{u as Y,j as ve,k as we,l as ke}from"./DLl_eGw7.js";import{_ as D}from"./CVDFCqaH.js";import{_ as $e}from"./BYrUm7Ur.js";import{_ as je,a as Ce}from"./DOeMbz5_.js";import{c as Ie}from"./pYhbs1cJ.js";import{u as te,c as Be}from"./D-WVCWxd.js";import{_ as Me}from"./CGr_1d2-.js";import{g as He}from"./D0oJfAff.js";import{_ as V}from"./7Q4EjnLr.js";import{u as Se}from"./_xe8FD64.js";import{a as re,f as ze,g as Re}from"./Bv5n_oNE.js";import{_ as Le}from"./_yufcFR_.js";try{(function(){var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new o.Error().stack;l&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[l]="eb5f7e6e-2d44-4cf1-b80a-122a077b8552",o._sentryDebugIdIdentifier="sentry-dbid-eb5f7e6e-2d44-4cf1-b80a-122a077b8552")})()}catch{}const Oe=["href"],Ne=j({__name:"homeHeaderItem",props:{item:{},image:{}},setup(o){const l=o,p=ee(),{$gtag:s}=A();function i(r){s({event:r,ecommerce:{creative_name:l.item.title,creative_slot:l.item.order,promotion_id:l.item.id,promotion_name:l.item.title}})}const a=E("homePageBanner");return Y(a,{},r=>{r&&i("view_promotion")}),(r,m)=>{const _=F;return t(),d("a",{ref:"homePageBanner",class:"w-full",href:r.image.link,onClick:m[1]||(m[1]=T(f=>e(p)(r.$router,r.image.link),["prevent"]))},[u(_,{ref:`homePageBanner-${r.item.id}`,alt:"maktabkhooneh",title:"maktabkhooneh",class:"home-page__slider-img flex justify-center items-center w-screen h-auto",src:r.image.image_url,loading:"eager",preload:"",fetchpriority:"high",onClick:m[0]||(m[0]=f=>i("select_promotion"))},null,8,["src"])],8,Oe)}}}),qe=Object.assign(Ne,{__name:"HomeHeaderItem"}),Ae={key:0,class:"w-full bg-white pb-40 md:pb-0 md:px-24"},De={class:"page-container flex flex-col relative items-center h-auto py-16 pb-0 md:pt-40 md:pb-64"},Pe={key:0,class:"w-full flex-wrap text-center justify-center items-center overflow-hidden rounded-md md:rounded-lg"},Ee={class:"filler text-center justify-center items-center"},Ue=j({__name:"homeHeader",props:{sliderList:{}},setup(o){return(l,p)=>{const s=qe,i=D;return l.sliderList.length?(t(),d("section",Ae,[n("div",De,[(t(!0),d(I,null,H(l.sliderList,(a,r)=>(t(),d(I,{key:`slide-${r}`},[a.device==="WEB"&&!l.$device.isMobile||a.device==="WEB_MOBILE"&&l.$device.isMobile?(t(),d("div",Pe,[u(i,{"slider-items":a.banner_images,"full-width":"",loop:"","has-arrow":"","has-pagination":"",autoplay:3e3},{content:v(({item:m})=>[n("div",Ee,[u(s,{item:a,image:m},null,8,["item","image"])])]),_:2},1032,["slider-items"])])):b("",!0)],64))),128))])])):b("",!0)}}}),Te=Object.assign(N(Ue,[["__scopeId","data-v-e35d1530"]]),{__name:"HomeHeader"}),Fe={class:"font-medium"},Ge=j({__name:"homeCategoryItem",props:{category:{type:Object,required:!0}},setup(o){return(l,p)=>{const s=q,i=K;return t(),h(i,{to:{name:"category",params:{course_slug:o.category.slug}},class:"home-page-categories flex flex-col gap-8 md:gap-10 lg:gap-12 justify-center items-center border border-solid border-black-100 rounded-10 lg:rounded-md whitespace-nowrap aspect-square"},{default:v(()=>[u(s,{class:"home-page-categories__icon transition-all !duration-150",name:`home-${o.category.icon}-color`},null,8,["name"]),n("span",Fe,z(o.category.title),1)]),_:1},8,["to"])}}}
1),We=Object.assign(Ge,{__name:"HomeCategoryItem"}),Ve={class:"flex items-center gap-12 mr-16 md:mr-0"},Ke={key:0,class:"w-5 h-24 bg-blue rounded-circle py-2"},Ye={class:"hidden w-full md:grid grid-cols-9 grid-rows-2 gap-16 lg:gap-24 mt-32"},Je=j({__name:"homeCategories",setup(o){const l=[{title:"زبا٠اÙÚ¯ÙÛØ³Û",slug:"english-language",icon:"english"},{title:"Ø¨Ø±ÙØ§Ù
ÙâÙÙÛØ³Û",slug:"programming",icon:"programming"},{title:"اکسÙ",slug:"excel",icon:"excel"},{title:"ارز Ø¯ÛØ¬ÛتاÙ",slug:"digital-currency",icon:"bitcoin"},{title:"Ù¾Ø§ÛØªÙÙ",slug:"python",icon:"python"},{title:"ÙØªÙشاپ",slug:"photoshop",icon:"photoshop"},{title:"ØªØ±ÛØ¯",slug:"trade",icon:"trade"},{title:"Ø¯ÛØ¬Ûتا٠Ù
ارکتÛÙÚ¯",slug:"digital-marketing",icon:"digital"},{title:"ÙØ±Ø¯Ù¾Ø±Ø³",slug:"wordpress",icon:"wordpress"},{title:"Ù
Ø¹Ø§Ø¯ÙØ§Øª دÛÙØ±Ø§ÙسÛÙ",slug:"differential-equations",icon:"difi"},{title:"ØØ³Ø§Ø¨Ø¯Ø§Ø±Û",slug:"accounting",icon:"accounting"},{title:"طراØÛ Ø³Ø§ÛØª",slug:"web-design",icon:"web-dev"},{title:"Ø±ÛØ§Ø¶Û",slug:"mathematics",icon:"math"},{title:"ÙÙØ´ Ù
صÙÙØ¹Û",slug:"artificial-intelligence",icon:"ai"},{title:"Ù¾Ø§ÙØ±Ù¾ÙÛÙØª ",slug:"powerpoint",icon:"powerpoint"},{title:"ÙØ±Ø¯",slug:"word",icon:"word"},{title:"Ø±ÛØ§Ø¶Ûات Ù
ÙÙØ¯Ø³Û ",slug:"engineering-mathematics",icon:"eng-math"},{title:"اÙکترÙÙÛÚ© ",slug:"electronic",icon:"electronic"}],p=R(()=>{const i=[];for(let a=0;a<l.length;a+=2)i.push(l.slice(a,a+2));return i}),s=Q("externalService");return(i,a)=>{const r=We,m=D;return t(),d("div",{class:k(i.$device.isMobile?"page-container--mobile bg-white pb-20":"page-container")},[n("div",{class:k(["w-full flex justify-between items-center",{"mt-20":e(s)==="rubika"}])},[n("div",Ve,[i.$device.isMobile?b("",!0):(t(),d("span",Ke)),a[0]||(a[0]=n("h4",{class:"font-bold md:font-extrabold text-16 md:text-20"}," دستÙâØ¨ÙØ¯ÛâÙØ§Û Ù
ÙØªØ®Ø¨ ",-1))])],2),n("div",Ye,[(t(),d(I,null,H(l,(_,f)=>u(r,{key:`first-${f}`,category:_},null,8,["category"])),64))]),u(m,{class:"md:hidden mt-16","slider-items":e(p),"slider-class":"category-slide flex flex-col gap-8","slider-wrapper-class":i.$device.isMobile?"first:!pr-16":"",gap:8,"slides-to-move":3},{content:v(({item:_})=>[(t(!0),d(I,null,H(_,(f,x)=>(t(),h(r,{key:`second-${x}`,category:f},null,8,["category"]))),128))]),_:1},8,["slider-items","slider-wrapper-class"])],2)}}}
1),Ze=Object.assign(Je,{__name:"HomeCategories"}),Qe={key:0,class:"page-container w-full max-md:!px-0"},Xe={class:"leaderboard-banner__content flex w-full flex-col self-center items-start md:pr-32"},et={class:"leaderboard-banner__title font-extrabold leading-160 text-black-800"},tt={key:0,class:"mt-32 hidden w-auto flex-row gap-8 md:flex"},st={key:0,class:"flex flex-col items-center gap-4 px-8 text-center"},nt={class:"flex h-48 items-center justify-between py-4 pr-8 mb-16"},ot={class:"flex items-center gap-8"},at={class:"text-14 md:text-16 font-bold leading-180 text-black-800"},it={key:0,class:"rounded-50 px-12 !py-4 text-12 font-medium leading-160 h-28",style:{color:"#d69f00","background-color":"#fbbc051f"}},lt={class:"flex flex-col gap-4 mb-12"},rt=j({__name:"homeLeaderBoard",setup(o){const l=te(),{$api:p}=A(),s=ne(null),i=O("idle"),a=O(!1);function r({rank:x,student:c}){const $=s.value?.me;return x===$?.rank&&c.username===$.student.username}const m=R(()=>s.value?.rankings.some(r)??!1),_=R(()=>s.value?.me.rank===0);async function f(){if(!(!l.isLeaderboardEnabled||i.value==="pending")){i.value="pending";try{s.value=await Be(p,{league:"current_month"}),i.value="success"}catch{i.value="error"}}}return W(()=>l.isLeaderboardEnabled,x=>{x&&i.value==="idle"&&f()},{immediate:!0}),(x,c)=>{const $=q,w=me,y=$e,M=je,B=Ce;return e(l).isLeaderboardEnabled&&e(s)?(t(),d("section",Qe,[n("div",{class:k(["leaderboard-banner relative flex flex-col gap-20 overflow-hidden rounded-none md:rounded-2xl bg-blue/8 px-16 py-20 md:flex-row md:justify-between md:gap-60 md:p-24",{"!h-max":e(m)||e(_)}])},[n("div",Xe,[n("h2",et,[c[3]||(c[3]=L(" ÙÛÚ¯ کاربرا٠برتر سازÙ
اÙ",-1)),c[4]||(c[4]=n("br",null,null,-1)),L(" "+z(e(l).businessName),1)]),c[7]||(c[7]=n("p",{class:"mt-16 md:mt-20 text-12 font-medium leading-180 text-black-500 md:text-16"}," با Ø§ÙØ¬Ø§Ù
ÙØ¹Ø§ÙÛØªâÙØ§Û Ù
ختÙÙ Ù
ÛâØªÙÙÛ Ø§Ù
ØªÛØ§Ø² جÙ
ع Ú©ÙÛØ ت٠ÙÛÚ¯ Ø¨Ø§ÙØ§ Ø¨Ø±Û Ù Ø¬Ø§ÛÚ¯Ø§ÙØª ر٠بÛ٠بÙÛ٠ببÛÙÛ. ",-1)),e(_)?b("",!0):(t(),d("div",tt,[u(w,{class:"leaderboard-action h-48 !rounded-10 !py-12 !text-14 !font-medium",onClick:c[0]||(c[0]=T(C=>a.value=!0,["stop"]))},{default:v(()=>[c[5]||(c[5]=L(" ÚÚ¯ÙÙ٠اÙ
ØªÛØ§Ø² Ø¨Ú¯ÛØ±ÛÙ
Ø ",-1)),u($,{name:"dashboard-star-drop",size:20,class:"-mt-4 mr-8"})]),_:1,__:[5]}),u(w,{"is-link":"",to:"/dashboard/leaderboard/",class:"leaderboard-action h-48 !rounded-10 !bg-blue/8 !p-12 !text-14 !font-medium !text-blue hover:!bg-blue/15 border border-solid border-blue/8"},{default:v(()=>c[6]||(c[6]=[L(" Ù
Ø´Ø§ÙØ¯Ù ÙÙ
ÙâÛ ÙÙØ±Ø§Øª ",-1)])),_:1,__:[6]})]))]),n("div",{class:k(["compact-leaderboard relative z-10 w-full overflow-hidden rounded-lg bg-white pt-12 pb-16 px-16 md:shrink-0",{"flex flex-col justify-center gap-8":e(_)}])},[e(_)?(t(),d("div",st,[u($,{name:"dashboard-star-drop",size:x.$device.isMobile?32:36,color:e(Ie)},null,8,["size","color"]),c[8]||(c[8]=n("span",{class:"text-16 md:text-18 font-semibold leading-180 text-black-1000 mt-8 mb-4"}," ÙÙÙØ² ÙØ§Ø±Ø¯ رتبÙâØ¨ÙØ¯Û ÙØ´Ø¯Û! ",-1)),c[9]||(c[9]=n("p",{class:"text-12 md:text-14 font-normal leading-180 text-black-500"}," با کسب اÙÙÛ٠اÙ
ØªÛØ§Ø²Ø جاÛÚ¯Ø§ÙØª بÛ٠شرکتâÚ©ÙÙØ¯Ú¯Ø§Ù ÙÙ
Ø§ÛØ´ داد٠Ù
ÛâØ´ÙØ¯. ",-1))])):(t(),d(I,{key:1},[n("div",nt,[n("div",ot,[e(s)?.leagues[0]?.avatar?(t(),h(y,{key:0,src:`${x.$config.public.s3StaticBaseUrl}${e(s).leagues[0].avatar.replace("/front","")}`,alt:e(s).leagues[0].name,"custom-class":"h-32 w-32 md:h-40 md:w-40 object-contain","wrapper-class":"h-32 w-32 md:h-40 md:w-40 shrink-0","skeleton-custom-class":"h-32 w-32 md:h-40 md:w-40"},null,8,["src","alt"])):(t(),h($,{key:1,name:"league-mobile",size:24})),n("span",at,z(e(s)?.leagues[0]?.name||"ÙÛÚ¯ آزÙ
Ø§ÛØ´Û"),1)]),e(s).leagues[0]?.remaining_days&&e(s).leagues[0]?.remaining_days>0?(t(),d("span",it,z(e(s).leagues[0].remaining_days)+" Ø±ÙØ² تا Ù¾Ø§ÛØ§Ù ",1)):b("",!0)]),n("div",lt,[(t(!0),d(I,null,H(e(s).rankings,(C,P)=>(t(),h(M,{key:`${C.rank}-${P}`,ranking:C,"fetch-status":e(i),"is-me":r(C),"card-class":["!h-48 !border-none
1!rounded-10 !px-8 !py-6 md:!border md:!border-solid",{"!bg-black-50 !border-black-75":!r(C),"!border-[#FCBE2C29]":r(C)&&C.rank===1,"!border-[#45617E29]":r(C)&&C.rank===2,"!border-[#BC541229]":r(C)&&C.rank===3}],"content-class":"!gap-12","show-avatar":!1,"name-class":"md:!text-12","score-class":"!px-8 !py-2"},null,8,["ranking","fetch-status","is-me","card-class"]))),128))])],64)),e(_)||!e(m)?(t(),d("div",{key:2,class:k({"my-ranking mt-6 border-t border-dashed border-black-200 pt-12":!e(_)})},[u(M,{ranking:e(s).me,"fetch-status":e(i),"is-me":"","card-class":["!h-48 !border !rounded-10 !px-8",e(_)?"!bg-black-75 !py-5":"!border-blue/8 !py-6"],"content-class":"!gap-12","show-avatar":!1,"name-class":e(_)?"!text-12":"md:!text-14","score-class":e(_)?"!rounded-50 !bg-black-100 !px-8 !py-2 !text-black-500":"!px-8 !py-6",class:"mb-4"},null,8,["ranking","fetch-status","card-class","name-class","score-class"])],2)):b("",!0),e(_)?(t(),h(w,{key:3,"custom-class":"!h-48 !rounded-10 !text-14 !font-medium",variant:"blue-tonal","is-full":"",onClick:c[1]||(c[1]=T(C=>a.value=!0,["stop"]))},{default:v(()=>c[10]||(c[10]=[L(" Ø±ÙØ´âÙØ§Û اÙ
ØªÛØ§Ø²Ú¯ÛØ±Û ",-1)])),_:1,__:[10]})):(t(),h(w,{key:4,"is-link":"",to:"/dashboard/leaderboard/",class:"mt-12 flex md:hidden h-40 w-full min-w-0 !rounded-md border border-solid border-black-100 !bg-black-50 !px-8 text-11 !text-black-800 hover:!bg-black-75"},{default:v(()=>c[11]||(c[11]=[L(" Ù
Ø´Ø§ÙØ¯Ù ÙÙ
ÙâÛ ÙÙØ±Ø§Øª ",-1)])),_:1,__:[11]}))],2)],2),u(oe,{name:x.$device.isMobile?"to-bottom":"fade"},{default:v(()=>[e(a)?(t(),h(B,{key:0,onClose:c[2]||(c[2]=C=>a.value=!1)})):b("",!0)]),_:1},8,["name"])])):b("",!0)}}}),ct=Object.assign(N(rt,[["__scopeId","data-v-023b5f55"]]),{__name:"HomeLeaderBoard"}),dt=["srcset"],mt=j({__name:"bannerLayoutItem",props:{banner:{type:Object,required:!0},bannerImage:{type:Object,required:!0},bannerIndex:{type:Number,required:!0},isSlider:{type:Boolean,default:!1},uniqueId:{type:String,required:!0},isLazy:{type:Boolean,default:!0},preload:{type:Boolean,default:!1}},setup(o){const l=o,{$gtag:p}=A();function s(a){p({event:a,ecommerce:{creative_name:l.banner.title,creative_slot:l.banner.order||"",promotion_id:l.banner.id,promotion_name:l.banner.title}})}const i=E("bannerItem");return Y(i,{},a=>{a&&s("view_promotion")}),(a,r)=>{const m=F;return t(),d("div",{ref_key:"bannerItem",ref:i,class:k([`banner-items__type-${o.banner.type}__${o.bannerIndex+1}`,{"banner-items--layout":o.banner.type!=="BANNER"},{"object-cover object-center":o.banner.type==="LAYOUT_BANNER_A"}])},[(t(),h(ue(o.bannerImage.link?"a":"span"),{href:o.bannerImage.link||!1,target:"_blank"},{default:v(()=>[n("picture",null,[n("source",{srcset:o.bannerImage.image_url,media:"(min-width: 900px)"},null,8,dt),u(m,{class:k(["flex w-full min-h-full rounded-lg",[`banner-items__type-${o.banner.type}__${o.bannerIndex+1}__image`,{"w-[233px] h-[256px]":o.isSlider,"w-full h-auto":!o.isSlider}]]),title:o.banner.title,alt:o.banner.title,src:o.bannerImage.image_url_mobile||o.bannerImage.image_url,loading:o.isLazy?"lazy":"eager",preload:o.preload,onClick:r[0]||(r[0]=_=>s("select_promotion"))},null,8,["class","title","alt","src","loading","preload"])])]),_:1},8,["href"]))],2)}}}),ut=Object.assign(N(mt,[["__scopeId","data-v-d90fb0f6"]]),{__name:"BannerLayoutItem"}),_t={class:"flex w-full items-center"},pt={key:1,class:"w-full"},gt={key:1,class:"base-banner-layout__slider-container flex"},bt=j({__name:"bannerLayout",props:{banner:{type:Object,required:!0},uniqueId:{type:String,required:!0}},setup(o){return(l,p)=>{const s=ut,i=D;return t(),d("div",_t,[o.banner.type!=="LAYOUT_BANNER_C"?(t(),d("div",{key:0,class:k(["w-full",[`base-banner-layout__type-${o.banner.type}`]])},[(t(!0),d(I,null,H(o.banner.banner_images,(a,r)=>(t(),h(s,{key:r,"banner-index":r,banner:o.banner,"banner-image":a,"unique-id":o.uniqueId},null,8,["banner-index","banner","banner-image","unique-id"]))),128))],2)):(t(),d("div",pt,[l.$device.isMobile?b("",!0):(t(),d("div",{key:0,class:k(["md:flex",[`base-banner-layout__type-${o.banner.type}`]])},[(t(!0),d(I,null,H(o.banner.banner_images,(a,r)=>(t(),h(s,{key:r,"banner-index":r,banner:o.banner,"banner-image":a,"unique-id":o.uniqueId},null,8,["banner-index","banner","banner-image","unique-id"]))),128))],2)),l.$device.isMobile?(t(),d("div",gt,[u(i,{"slider-items":o.banner.banner_images,gap:8},{content:v(({item:a,index:r})=>[(t(),h(s,{key:r,"banner-index":r,"is-slider":!0,banner:o.banner,"banner-image":a,"unique-id":o.uniqueId},null,8,["banner-index","banner","banner-image","unique-id"]))]),_:1},8,["slider-items"])])):b("",!0)]))])}}}),ft=Object.assign(N(bt,[["__scopeId","data-v-26410255"]]),{__name:"BannerLayout"}),ht={class:"cooperates flex flex-col w-full"},xt={class:"flex items-center gap-12 mr-16 md:mr-0"},yt={key:0,class:"w-5 h-24 bg-blue rounded-circle py-2"},vt={class:"mt-16 md:mt-24"},wt={class:"flex flex-col gap-12 md:gap-24 items-start w-full"},kt={class:"cooperates__content flex flex-col gap-4 text-right"},$t={class:"w-full whitespace-nowrap overflow-hidden text-ellipsis text-lg md:text-base lg:text-lg font-semibold"},jt={class:"text-base md:text-sm lg:text-base text-black-500"},Ct=j({__name:"homeCooperators",props:{cooperators:{type:Array,default:()=>[]}},setup(o){const l=o,p=O(!1),s=R(()=>l.cooperators.reduce((i,a,r)=>{const m=Math.floor(r/3);return i[m]=[].concat(i[m]||[],a),i},[]));return(i,a)=>{const r=F,m=q,_=K,f=D;return t(),d("section",ht,[n("div",xt,[i.$device.isMobile?b("",!0):(t(),d("span",yt)),a[1]||(a[1]=n("h6",{class:"text-16 font-bold md:text-20 md:font-extrabold"}," Ø¯Ø§ÙØ´Ú¯Ø§ÙâÙØ§ Ù Ù
ÙØ³Ø³Ø§Øª Ø¢Ù
ÙØ²Ø´Û ",-1))]),n("div",vt,[u(f,{ref:"slider","slider-items":e(s),gap:i.$device.isMobile?12:24,"full-width":i.$device.isMobile,"slider-class":"cooperates__item","slider-wrapper-class":i.$device.isMobile?"f
1irst:!pr-16 py-2":"py-2",onReady:a[0]||(a[0]=x=>p.value=!0)},{content:v(({item:x})=>[n("div",wt,[(t(!0),d(I,null,H(x,(c,$)=>(t(),h(_,{key:$,to:{name:"organizationPage",params:{organization_slug:`${c.slug}-org${c.organization_id}`}},class:"cooperates__link relative bg-white group hover:bg-blue hover:bg-opacity-10 transition-all !duration-150 flex items-center gap-12 justify-start p-16 rounded-lg border border-solid border-black-100 w-full"},{default:v(()=>[u(r,{src:c.image_url,class:"w-56 h-56 md:min-w-44 md:h-44 md:w-44 lg:min-w-56 lg:w-56 lg:h-56 object-cover",alt:""},null,8,["src"]),n("div",kt,[n("span",$t,z(c.name),1),n("span",jt,z(c.course_count)+" Ø¯ÙØ±Ù Ø¢Ù
ÙØ²Ø´Û",1)]),i.$device.isMobile?b("",!0):(t(),h(m,{key:0,class:"cooperates__icon absolute left-16 bottom-16",name:"general-arrow-left-light",size:20}))]),_:2},1032,["to"]))),128))])]),_:1},8,["slider-items","gap","full-width","slider-wrapper-class"])])])}}}),It=Object.assign(Ct,{__name:"HomeCooperators"}),Bt=["href"],Mt=j({__name:"homeRoadmapItem",props:{item:{type:Object,default:()=>({link:"",image_url:"",id:0})},index:{type:Number,default:0},gaListName:{type:String,default:""}},setup(o){const l=o,p=E("roadmapItem"),s=X(),i=_e(),{$gtag:a}=A();Y(p,{},x=>{s.handleGA(i.fullPath,_(),l.gaListName,!x),a({event:"view_item_list",ecommerce:{item_list_id:i.fullPath,item_list_name:l.gaListName,ecommerce_type:"maktabkhooneh",items:s.gaItemList[l.gaListName]}})});const r=ee(),m=pe();function _(){return He({title:l.item.link,itemId:l.item.id,teachers:[],prices:{real:null,discounted:null},discount:!1,slug:"",slug_id:"",organization:null},l.index)}function f(){a({event:"select_item",ecommerce:{item_list_id:i.fullPath,item_list_name:l.gaListName,ecommerce_type:"maktabkhooneh",items:[_()]}}),localStorage.setItem(`item_list_id:rm:${l.item.id}`,i.fullPath),localStorage.setItem(`item_list_name:rm:${l.item.id}`,l.gaListName),localStorage.setItem(`item_index:rm:${l.item.id}`,l.index.toString()),r(m,l.item.link)}return(x,c)=>{const $=F;return t(),d("div",{ref_key:"roadmapItem",ref:p,class:"filler text-center justify-center items-center"},[n("a",{href:o.item.link,class:"flex",onClick:T(f,["prevent"])},[u($,{src:o.item.image_url,class:"flex justify-center items-center h-auto slider-img",alt:"roadmap",width:"120",height:"160",loading:"lazy"},null,8,["src"])],8,Bt)],512)}}}),Ht=Object.assign(N(Mt,[["__scopeId","data-v-3a2501f0"]]),{__name:"HomeRoadmapItem"}),St={class:"flex justify-between items-end gap-10"},zt={class:"flex flex-col w-4/5 mr-16 md:mr-0"},Rt={class:"flex items-center gap-12"},Lt={key:0,class:"w-5 h-24 bg-blue rounded-circle py-2"},Ot={class:"text-16 md:text-20 md:font-extrabold font-bold"},Nt={class:"hidden md:flex items-center gap-x-16"},qt={key:1,class:"flex gap-x-8"},At=j({__name:"homeRoadmaps",props:{roadMap:{type:Object,default:()=>({title:"",banner_images:[]})}},setup(o){const l=O(!1),p=ee(),s=E("slider");return(i,a)=>{const r=q,m=Ht,_=D;return t(),d("section",{class:k(i.$device.isMobile?"page-container--mobile":"w-full")},[n("div",St,[n("div",zt,[n("div",Rt,[i.$device.isMobile?b("",!0):(t(),d("span",Lt)),n("h3",Ot,z(o.roadMap.title),1)])]),n("div",Nt,[o.roadMap.show_all_url?(t(),d("button",{key:0,class:"w-fit h-36 flex items-center justify-center border border-solid border-black-100 rounded-sm px-12 whitespace-nowrap",onClick:a[0]||(a[0]=f=>e(p)(i.$router,o.roadMap.show_all_url))}," Ù
Ø´Ø§ÙØ¯Ù ÙÙ
Ù ")):b("",!0),i.$device.isMobile?b("",!0):(t(),d("div",qt,[n("button",{class:k(["w-36 h-36 flex items-center justify-center border border-solid border-black-100 rounded-sm",{"opacity-30":e(l)&&e(s)&&e(s)?.isPrevDisabled}]),onClick:a[1]||(a[1]=f=>e(l)&&e(s)?.prev())},[u(r,{name:"general-left-arrow-small",size:32,stroke:e(V),class:"rotate-180"},null,8,["stroke"])],2),n("button",{class:k(["w-36 h-36 flex items-center justify-center border border-solid border-black-100 rounded-sm",{"opacity-30":e(l)&&e(s)&&e(s)?.isNextDisabled}]),onClick:a[2]||(a[2]=f=>e(l)&&e(s)?.next())},[u(r,{name:"general-left-arrow-small",size:32,stroke:e(V)},null,8,["stroke"])],2)]))])]),u(_,{ref_key:"slider",ref:s,class:"w-full overflow-x-clip overflow-y-visible mt-32 pr-16 md:pr-0","slider-items":o.roadMap.banner_images,"free-mode":"",gap:24,onReady:a[3]||(a[3]=f=>l.value=!0)},{content:v(({item:f,index:x})=>[u(m,{item:f,index:x,"ga-list-name":o.roadMap.title},null,8,["item","index","ga-list-name"])]),_:1},8,["slider-items"])],2)}}}),Dt=Object.assign(At,{__name:"HomeRoadmaps"}),Pt={class:"companies flex flex-col w-full"},Et={class:"flex items-center gap-12 mr-16 md:mr-0"},Ut={key:0,class:"w-5 h-24 bg-blue rounded-circle py-2"},Tt={class:"w-full flex flex-col gap-12 md:gap-24"}
1,Ft=["href"],Gt=j({__name:"homeCompanies",setup(o){const l=O(!1),p=[{name:"google",href:"/teacher/google-career-certificates-1/",size:"large"},{name:"masterclass",slug:"masterclass-org154"},{name:"udemy",slug:"udemy-org133",size:"large"},{name:"linkedin",slug:"linkedin-org175"},{name:"coursera",slug:"coursera-org163"},{name:"deeplearning",slug:"deeplearningai-org194"}],{$device:s}=A(),i=R(()=>{const a=s.isMobile?3:2;return p.reduce((r,m,_)=>{const f=Math.floor(_/a);return r[f]=[].concat(r[f]||[],m),r},[])});return(a,r)=>{const m=q,_=K,f=D;return t(),d("section",Pt,[n("div",Et,[e(s).isMobile?b("",!0):(t(),d("span",Ut)),r[1]||(r[1]=n("h6",{class:"text-16 font-bold md:text-20 md:font-extrabold"},[n("span",{class:"md:hidden"}," Ø¯ÙØ±ÙâÙØ§Û بÛÙâØ§ÙÙ
ÙÙÛ "),n("span",{class:"hidden md:block"},"Ø¯ÙØ±ÙâÙØ§Û بÛÙâØ§ÙÙ
ÙÙÛ Ø¨Ø§ Ø²ÛØ±ÙÙÛØ³ اختصاصÛ")],-1))]),u(f,{ref:"slider",class:"py-2 mt-16 md:mt-24","slider-class":"companies__item","slider-wrapper-class":e(s).isMobile?"first:!pr-16":"",gap:e(s).isMobile?12:24,"slider-items":e(i),"full-width":e(s).isMobile,onReady:r[0]||(r[0]=x=>l.value=!0)},{content:v(({item:x})=>[n("div",Tt,[(t(!0),d(I,null,H(x,(c,$)=>(t(),d(I,{key:$},[c.href?(t(),d("a",{key:0,href:c.href,class:"companies__link relative bg-white group hover:bg-blue hover:bg-opacity-10 transition-all !duration-150 flex items-center justify-start gap-12 p-16 rounded-lg border border-solid border-black-100 w-full"},[u(m,{name:`home-${c.name}`,class:k(["!h-44",{"!w-[6em]":c.size==="large","!w-[10em]":c.size!=="large"}])},null,8,["name","class"]),e(s).isMobile?b("",!0):(t(),h(m,{key:0,class:"arrow-icon flex companies__icon absolute top-1/2 left-16 -translate-y-1/2",name:"general-arrow-left-light",size:20}))],8,Ft)):c.slug?(t(),h(_,{key:1,to:{name:"organizationPage",params:{organization_slug:c.slug}},class:"companies__link relative bg-white group hover:bg-blue hover:bg-opacity-10 transition-all !duration-150 flex items-center justify-start gap-12 p-16 rounded-lg border border-solid border-black-100 w-full"},{default:v(()=>[u(m,{name:`home-${c.name}`,class:k(["!h-44",{"!w-[6em]":c.size==="large","!w-[10em]":c.size!=="large"}])},null,8,["name","class"]),e(s).isMobile?b("",!0):(t(),h(m,{key:0,class:"arrow-icon flex companies__icon absolute top-1/2 left-16 -translate-y-1/2",name:"general-arrow-left-light",size:20}))]),_:2},1032,["to"])):b("",!0)],64))),128))])]),_:1},8,["slider-wrapper-class","gap","slider-items","full-width"])])}}}),Wt=Object.assign(Gt,{__name:"HomeCompanies"}),Vt={class:"home-page-clients md:bg-black-50 pt-20 pb-16 md:py-32 md:p-64 flex flex-col md:flex-row items-center justify-between gap-32 md:gap-64 rounded-2xl"},Kt={class:"w-full md:w-9/12 px-32 md:p-0"},Yt={class:"flex items-center justify-center md:justify-start gap-4"},Jt={class:"text-center md:text-right mt-16"},Zt={class:"relative py-10 md:py-0 w-full h-80 md:h-auto overflow-hidden md:overflow-visible whitespace-nowrap md:whitespace-normal md:w-4/12"},Qt={class:"main-marquee md:!animate-none absolute left-0 top-0 md:static flex items-center justify-center whitespace-nowrap md:whitespace-normal w-fit md:grid grid-cols-4 grid-rows-3 gap-32 mr-auto"},Xt={class:"main-marquee second-marquee md:hidden absolute left-0 top-0 md:!animate-none translate-x-full flex items-center justify-center whitespace-nowrap w-fit gap-32"},es={class:"decoy-marquee second-marquee md:hidden absolute -left-0 top-0 md:!animate-none flex items-center justify-center whitespace-nowrap w-fit gap-32"},ts={class:"md:hidden px-16 w-full flex items-center justify-center"},ss=j({__name:"homeClients",setup(o){const l=["home-digikala-co","home-bank-co","home-steel-co","home-golrang-co","home-national-oil-co","home-irancell-co","home-hamrahe-co","home-rightel-co","home-tehran-co","home-okala-co","home-hamkatan-co","home-agah-co"];return(p,s)=>{const i=q,a=K;return t(),d("section",Vt,[n("div",Kt,[n("div",Yt,[u(i,{class:"!hidden md:!flex",name:"home-add-user",size:24}),s[0]||(s[0]=n("span",{class:"font-bold text-lg text-blue"},"سرÙÛØ³ سازÙ
اÙÛ",-1)),s[1]||(s[1]=n("span",{class:"md:hidden font-bold text-lg text-blue"},"Ù
کتب Ø®ÙÙÙ",-1))]),n("div",Jt,[s[3]||(s[3]=n("h6",{class:"font-extrabold text-2xl"}," ÛØ§Ø¯Ú¯ÛØ±Û Ø¨Ø¯ÙÙ Ù
رز Ø¨Ø±Ø§Û Ø±Ø´Ø¯ سازÙ
اÙÛ ",-1)),s[4]||(s[4]=n("p",{class:"home-page-clients__description text-lg pt-6"}," در Ù
Ø³ÛØ± رشد ٠تØÙ٠سازÙ
اÙÛØ Ø¢Ù
ÙØ²Ø´ ÙØ¯ÙÙ
ÙØ¯ ÙÛØ±ÙÛ Ø§ÙØ³Ø§ÙÛ ÙÙØ´Û Ú©ÙÛØ¯Û اÛÙØ§ Ù
ÛâÚ©ÙØ¯. در Ù
Ú©ØªØ¨âØ®ÙÙÙØ با طراØÛ Ø¯ÙØ±ÙâÙØ§Û Ø¢Ù
ÙØ²Ø´Û Ù
ØªÙØ§Ø³Ø¨ با ÙÛØ§Ø² ÙØ± سازÙ
Ø§ÙØ ب٠شÙ
ا Ú©Ù
Ú© Ù
ÛâÚ©ÙÛÙ
تا Ù
ÙØ§Ø±ØªâÙØ§Û Ú©Ø§Ø±Ú©ÙØ§ÙâØªØ§Ù Ø±Ø§ Ø§Ø±ØªÙØ§ دÙÛØ¯Ø Ø¨ÙØ±ÙâÙØ±Û را Ø§ÙØ²Ø§ÛØ´ دÙÛØ¯ Ù Ø¨Ù Ø§ÙØ¯Ø§Ù استراتÚÛÚ© Ø®ÙØ¯ دست ÛØ§Ø¨Ûد. ",-1)),u(a,{class:"hidden md:flex w-fit bg-black px-24 py-6 font-semibold rounded-sm mt-40 text-white",to:{name:"businessRequest"}},{default:v(()=>s[2]||(s[2]=[L(" Ø¯Ø±Ø®ÙØ§Ø³Øª دÙ
Ù ",-1)])),_:1,__:[2]})])]),n("div",Zt,[n("div",Qt,[(t(),d(I,null,H(l,r=>n("div",{key:r,class:"bg-black-50 md:bg-white w-64 h-64 md:w-48 md:h-48 lg:w-64 lg:h-64 roun
1ded-lg flex items-center justify-center"},[u(i,{name:r,size:p.$device.breakpoint==="lg"?32:44},null,8,["name","size"])])),64))]),n("div",Xt,[(t(),d(I,null,H(l,r=>n("div",{key:`second-group-${r}`,class:"bg-black-50 md:bg-white w-64 h-64 md:w-48 md:h-48 lg:w-64 lg:h-64 rounded-lg flex items-center justify-center"},[u(i,{name:r,size:p.$device.breakpoint==="lg"?32:44},null,8,["name","size"])])),64))]),n("div",es,[(t(),d(I,null,H(l,r=>n("div",{key:`second-group-${r}`,class:"bg-white w-64 h-64 md:w-48 md:h-48 lg:w-64 lg:h-64 rounded-lg flex items-center justify-center"},[u(i,{name:r,size:p.$device.breakpoint==="lg"?32:44},null,8,["name","size"])])),64))])]),n("div",ts,[u(a,{class:"flex items-center justify-center bg-blue px-24 py-6 text-14 font-semibold rounded-sm text-white h-48 w-full",to:{name:"businessRequest"}},{default:v(()=>s[5]||(s[5]=[L(" Ø¯Ø±Ø®ÙØ§Ø³Øª دÙ
Ù ",-1)])),_:1,__:[5]})])])}}}),ns=Object.assign(N(ss,[["__scopeId","data-v-9b79192d"]]),{__name:"HomeClients"}),os={key:5,style:{order:"1004"}},as=j({__name:"homeDynamicContent",props:{isBusinessHome:{type:Boolean,default:!1},businessUserCarousels:{type:Object,required:!0},viewRecommendedCourses:{type:Array,required:!0}},setup(o){const l=o,p=te(),s=X(),i=ae(),a=E("recommendedBlockRef"),{onBlockObserve:r,trackBlockInteraction:m}=Se("recommended");Y(a,{},r);const _=R(()=>l.businessUserCarousels.enrolled_learning_paths_carousel.map(y=>({...y.career,title:y.title,image_url:y.image_thumbnail,slug:y.slug}))),f=R(()=>l.businessUserCarousels.assigned_learning_paths_carousel.map(y=>({...y.learning_path.career,title:y.learning_path.title,image_url:y.learning_path.image_thumbnail,slug:y.learning_path.slug,isAssignedRoadmap:!0,due_date:y.due_date}))),x=R(()=>{const y=l.isBusinessHome?p.businessHomeDynamicContent:s.homeDynamicContent;return s.isBazaar?y.filter(M=>!/career|roadmap/.test(M.obj_type)):y}),c=ge({items:[],pagination:{count:0,next:null,pageSize:8}}),{$api:$}=A();W(()=>i.user.is_authenticated,async y=>{if(y)try{const M=await re($,{threshold:"6"});c.items=M.results,c.pagination={count:M.count,next:M.next}}catch{}},{immediate:!0});const w=Q("externalService");return(y,M)=>{const B=Me,C=be,P=ft,S=It,G=Dt,U=Wt,J=ns;return t(),d("section",{class:k(["flex flex-col gap-8 md:gap-96 w-full relative !pl-0 md:!pl-16 bg-black-75 md:bg-white",y.$device.isMobile?"page-container--mobile [&>*]:bg-white [&>*]:pt-20 [&>*]:pb-20":"page-container [&>*]:py-0"])},[u(C,null,{default:v(()=>[e(c).pagination.count?(t(),d("div",{key:0,ref_key:"recommendedBlockRef",ref:a,onClickOnce:M[0]||(M[0]=(...g)=>e(m)&&e(m)(...g))},[u(B,{content:{object:{results:[...e(c).items],next:e(c).pagination.next},title:"Ù¾ÛØ´ÙÙØ§Ø¯ÙØ§Û Ø§Ø®ØªØµØ§ØµÛ Ø¨Ø±Ø§Û Ø´Ù
ا",show_all_url:"/dashboard/recommended-courses/"},container:"recommended","is-paginated":""},null,8,["content"])],544)):b("",!0)]),_:1}),o.businessUserCarousels.assigned_courses_carousel.length?(t(),h(B,{key:0,content:{items:o.businessUserCarousels.assigned_courses_carousel.map(g=>({...g.course,due_date:g.due_date,isAssignedCourse:!0})),title:"Ø¯ÙØ±ÙâÙØ§Û Ù
ØÙ٠شد٠ب٠Ù
Ù"}},null,8,["content"])):b("",!0),e(f).length?(t(),h(B,{key:1,content:{items:e(f),title:"Ù
Ø³ÛØ±ÙØ§Û ÛØ§Ø¯Ú¯ÛØ±Û Ù
ØÙ٠شد٠ب٠Ù
Ù"},"is-roadmap-card":""},null,8,["content"])):b("",!0),o.businessUserCarousels.enrolledÙcoursesÙcarousel.length?(t(),h(B,{key:2,content:{items:o.businessUserCarousels.enrolledÙcoursesÙcarousel,title:"Ø¯ÙØ±ÙâÙØ§Û Ù
Ù"}},null,8,["content"])):b("",!0),e(_).length?(t(),h(B,{key:3,content:{items:e(_),title:"Ù
Ø³ÛØ±ÙØ§Û ÛØ§Ø¯Ú¯ÛØ±Û Ù
Ù"},"is-roadmap-card":""},null,8,["content"])):b("",!0),o.businessUserCarousels.recommended_courses_carousel.length?(t(),h(B,{key:4,content:{items:o.businessUserCarousels.recommended_courses_carousel.map(g=>({...g.course})),title:"Ø¯ÙØ±ÙâÙØ§Û Ù¾ÛØ´ÙÙØ§Ø¯ شد٠ب٠Ù
Ù"}},null,8,["content"])):b("",!0),(t(!0),d(I,null,H(e(x),(g,Z)=>(t(),d(I,null,[g.object||g.categories||e(w)!=="rubika"&&(g.obj_type==="banner"||g.obj_type==="business_banner")&&g.banner_images?.length&&(g.device==="WEB"&&!y.$device.isMobile||g.device==="WEB_MOBILE"&&y.$device.isMobile)||g.organization&&g.organization.length||g.obj_type==="learning_roadmap_carousel"&&g.banner_images?.length?(t(),d("div",{key:g.title+Z,class:"flex w-full text-center justify-center",style:ie(`order: ${g.order}`)},[g.object||g.categories?(t(),h(B,{key:0,content:g,"is-paginated":""},null,8,["content"])):(g.obj_type==="banner"||g.obj_type==="business_banner")&&g.banner_images?.length&&(g.device==="WEB"&&!y.$device.isMobile||g.device==="WEB_MOBILE"&&y.$device.isMobile)?(t(),h(P,{key:1,banner:g,"unique-id":"home-page",class:"!mx-16 md:!mx-0"},null,8,["banner"])):g.organization&&g.organization.length?(t(),h(S,{key:2,cooperators:g.organization},null,8,["cooperators"])):g.obj_type==="learning_roadmap_carousel"&&g.banner_images?.length?(t(),h(G,{key:3,"road-map":g},null,8,["road-map"])):b("",!0)],4)):b("",!0)],64))),256)),u(C,null,{default:v(()=>[o.viewRecommendedCourses.length?(t(),h(B,{key:0,style:{order:"3"},content:{items:o.viewRecommendedCourses,title:"بر اساس آخرÛÙ Ø¨Ø§Ø²Ø¯ÛØ¯âÙØ§Û Ø´Ù
ا"}},null,8,["content"])):b("",!0)]),_:1}),u(U,{style:{order:"1003"}}),e(w)!=="rubika"&&!e(p).isBusinessUser?(t(),d("div",os,[u(J)])):b("",!0)],2)}}}),is=Object.assign(as,{__name:"HomeDynamicContent"}),ls={class:"home-page-review flex flex-col w-full"},rs={class:"flex items-center justify-between"},cs={class:"flex items-center gap-12 !mr-16 md:!mr-0"},ds={key:0,class:"w-5 h-24 bg-blue rounded-circle py-2"},ms={class:"hidden md:flex gap-8 items-center"},us={class:"flex items-center gap-x-8"},_s={class:"flex flex-col !min-h-[230px] md:h-full bg-white border border-solid border-black-100 rounded-lg !p-20 md:!p-32"},ps={class:"flex items-center justify-between"},gs={class:"flex items-center"},bs={class:"flex flex-col mr-20 justify-start text-right"},fs={class:"text-lg font-medium"},hs={class:"text-base font-medium text-black-500"},xs=["innerHTML"],ys=["onClick"],vs={class:"flex items-center"},ws={class:"flex flex-col mr-20 justify-start text-right"},ks={class:"text-lg font-medium"},$s={class:"text-base font-medium text-black-500"},js=["innerHTML"],Cs=j({__name:"homeReview",setup(o){const l=[{name:"Ø³Ø¹ÛØ¯ ÙØ·ÙÛ",title:"25 ساÙÙ | ØªÙØ±Ø§Ù",desc:"Ø¯ÙØ±Ù Ú©Ø§Ø±Ø´ÙØ§Ø³Û ÙÙ
ÛØ´Ù Ø¯ÙØ³Øª داشتÙ
Ø¯Ø±ÙØ³Û Ù
ث٠Ù
کاÙÛÚ© Ø³ÛØ§Ùات ٠ترÙ
ÙØ¯ÛÙØ§Ù
ÛÚ© Ù... ر٠با ØªØ¯Ø±ÛØ³ ÚÙØ¯ØªØ§ استاد بخÙÙÙ
تا اÛÙÚ©Ù ÛÙ Ø±ÙØ² Ø¨ØµÙØ±Øª Ø§ØªÙØ§ÙÛ Ø¨Ø§ Ø³Ø§ÛØª Ù
کتب Ø®ÙÙÙ Ø¢Ø´ÙØ§ شدÙ
Ú©Ù ÙÛÙÙ
Ú©ÙØ§Ø³ÙØ§Û Ø¯Ø§ÙØ´Ú¯Ø§ÙâÙØ§Û درج٠ÛÚ© ر٠Ù
ÙØªØ´Ø± Ú©Ø±Ø¯Ù Ø¨ÙØ¯Ù. اÙ
ا ÙØ¶ÛÙ ÙÙØªÛ براÙ
Ø¬Ø°Ø§Ø¨âØªØ± شد ک٠با Ø¯ÙØ±ÙâÙØ§Û Ù
کتب Ù¾ÙØ§Ø³Ø´ÙÙ Ø¢Ø´ÙØ§ شدÙ
Ù Ø¨Ø±Ø§Û Ù¾Ø±ÙÚÙ Ù¾Ø§ÛØ§ÙÛ Ú©Ø§Ø±Ø´ÙØ§Ø³ÛâØ§Ù
ک٠با ÙØ±Ù
Ø§ÙØ²Ø§Ø± Ø§ÙØ³Ûس ÙÙÙØ¦Ùت کار Ù
ÛکردÙ
از اÛÙ Ø¯ÙØ±Ù Ú©Ù
Ú© Ú¯Ø±ÙØªÙ
Ù ØØªÛ Ø¬Ø°Ø§Ø¨âØªØ± از اÙÙ ÙÙ
اÛÙ Ø¨ÙØ¯ ک٠با اÛÙک٠پرÙÚÙ Ù Ø³ÙØ§ÙاتÙ
خارج از درس Ø¨ÙØ¯ ÙÙÛ Ø§Ø³ØªØ§Ø¯ Ø¯ÙØ±Ù کاÙ
ÙØ§ با ØÙصÙ٠بÙÙ
Ú©Ù
Ú© کرد Ù Ù
Ø´Ø§ÙØ±Ù داد.",image:"saeed-lotfi.webp"},{name:"اÙÙØ§Ù
Ø¬ÙØ§ÙØ´ÛØ± آزاد",title:"34 ساÙÙ | ØªÙØ±Ø§Ù",desc:"اگر ÙÙ
ÛØ´Ù ت٠ذÙÙØª Ø¯ÙØ³Øª Ø¯Ø§Ø´ØªÛ ØªÙ <b>Ø¯Ø§ÙØ´Ú¯Ø§ÙâÙØ§Û تراز اÙÙ</b> Ø§ÛØ±Ø§Ù Ø¨Ø§Ø´ÛØ ÙÙÛ ØØ§Ùا Ø¨Ù ÙØ± Ø¹ÙØªÛ ÙØ´Ø¯ÙØ Ù
Ú©ØªØ¨âØ®ÙÙ٠اÛ٠اÙ
Ú©Ø§Ù Ø±Ù Ø¨Ø±Ø§Û ØªÙ ÙØ±Ø§ÙÙ
Ú©Ø±Ø¯ÙØ تاز٠خÛÙÛ Ø¨ÙØªØ±Ø اÛÙ ØªØ¯Ø±ÛØ³âÙØ§ <b>ÙÙ
ÛØ´Ù در دسترس</b> ØªÙ ÙØ³ØªÙد. ð Ø¯ÛÚ¯Ù ÙگراÙÛ Ø¨Ø§Ø¨Øª ØºÛØ¨Øª Ú©Ø±Ø¯Ù Ù Ú¯Ø±ÙØªÙ جزÙÙ ÙØ¯Ø§Ø±Û ٠اگر جاÛÛ Ø§Ø² درس ر٠Ù
ØªÙØ¬Ù ÙØ´Ø¯ÛØ Ù
ÛâØªÙÙÛ Ø§ÙÙ ÙØ³Ù
ت Ø±Ù Ø¯ÙØ¨Ø§Ø±Ù ببÛÙÛ. ð",image:"elham-javanshir.webp"},{name:"ÙØ±Ø´Ø§Ø¯ Ø§Ø³Ø¯Ù¾ÙØ±",title:"30 ساÙÙ | ØªÙØ±Ø§Ù",desc:"Ù
Ú©ØªØ¨âØ®ÙÙÙ ÙØ§Ø³Ù Ù
Ù ÙÙØ· ÛÙ Ø³Ø§ÛØª Ø¢Ù
ÙØ²Ø´Û ÙÛØ³Øª Ù ÙØ¨ÙØ¯ÙØ ÙØ± Ù
ÙÙØ¹ ÙØ± Ú©ÙØ±Ø³Û Ú©Ù Ø®ÙØ§Ø³ØªÙ
ثبتâÙØ§Ù
بکÙÙ
Ø ØªÙÙØ³ØªÙ
<b>ÙØ¸Ø±Ø§Øª کاربراÙ</b> ر٠اÙÙâØ¬Ø§ بخÙÙÙ
٠بعدش ÙÙØªÛ ثبتâÙØ§Ù
کردÙ
Ù
ÛâØ¯ÙÙØ³ØªÙ
ک٠بجز Ù
درس Ú©Ù ÙÙ
ÛØ´Ù <b>پاسخâÚ¯ÙÛ Ø³ÙØ§ÙاتÙ
</b> ÙØ³ØªØ ÛÙ Ø³Ø±Û Ø§ÙØ±Ø§Ø¯ ÙÙ
ÙØ³ØªÙ Ú©Ù Ù
Ø«Ù Ø®ÙØ¯Ù
اÙÙâØ¬Ø§ ÙØ³ØªÙ Ú©Ù ÙØ± Ù
ÙÙØ¹ ب٠Ù
Ø´Ú©ÙÛ Ø¨Ø®ÙØ±Ù
Ù
ÛâØªÙÙÙ
Ø³ÙØ§ÙاتÙ
ر٠ازشÙ٠بپرسÙ
! Ù
درس Ù
Ù ÙØ± Ù
ÙÙØ¹ Ú©Ù ØªÙ ÙØ± Ø¯ÙØ±ÙâØ§Û Ø®ÙØ§Ø³ØªÙ
شرکت Ú©ÙÙ
Ø¯ÛØ¯Ù
<b>Ù
درسâÙØ§Û Ø®ÙØ¨ اÙÙ ØÙزÙ</b> تÙÛ Ù
Ú©ØªØ¨âØ®ÙÙÙ Ø¯ÙØ±Ù Ø¢Ù
ÙØ²Ø´Û دار٠٠ÙÙ
ÛØ´Ù Ø®ÛØ§ÙÙ
از <b>Ú©ÛÙÛØª Ù
ØØªÙا Ù ÙÛØ¯ÛÙÙØ§</b> ضبط Ø´Ø¯Ù Ø±Ø§ØØª Ø¨ÙØ¯Ù. Ù
Ú©ØªØ¨âØ®ÙÙ٠ر٠ÙÙ
ÛØ´Ù Ø¨Ù ÙØ± Ú©Ø³Û Ú©Ù Ù
ÛâØ´ÙØ§Ø³Ù
ØªÙØµÛÙ Ù
ÛâÚ©ÙÙ
.",image:"farshad-asadpour.webp"},{name:"Ù
ØÙ
د ÙØ¯Ûر",title:"Ø§ÙØºØ§ÙستاÙ",desc:"Ø¢Ù
ÙØ²Ø´âÙØ§Û Ø´Ù
ا ÙØ§Ùعا٠بÙÙ
Ú©Ù
Ú© کرد Ù ÙØ§ÙØ¹Ø§Ù ÙØ¯Ø±Ø¯Ø§Ù Ù
Ú©ØªØ¨âØ®ÙÙÙ Ù Ú©Ø§Ø±Ú©ÙØ§Ù Ù
ÙØ±Ø¨ÙÙØ´ ÙØ³ØªÙ
. Ù
Ù
ÙÙÙÙ
Ù
Ú©ØªØ¨âØ®ÙÙ٠ک٠بÙÙ
Ú©Ù
Ú© Ú©Ø±Ø¯Û Ù Ø¨Ø§Ø¹Ø« رشد Ù
٠شدÛ. ðð",image:"muhammad-qadeer.webp"}],p=O(!1),s=O(!1),i=E("slider"),a=O(null);function r(m){a.value=m,s.value=!0}return(m,_)=>{const f=q,x=F,c=D,$=Le;return t(),d("section",ls,[n("div",rs,[n("div",cs,[m.$device.isMobile?b("",!0):(t(),d("span",ds)),_[5]||(_[5]=n("h6",{class:"text-16 font-bold md:text-20 md:font-extrabold"},[n("span",null,"از زبا٠شÙ
ا")],-1))]),n("div",ms,[n("div",us,[n("button",{class:k(["w-36 h-36 flex items-center justify-center border border-solid border-black-100 rounded-sm",{"opacity-30":e(p)&&e(i)&&e(i)?.isPrevDisabled}]),onClick:_[0]||(_[0]=w=>e(p)&&e(i)?.prev())},[u(f,{name:"general-left-arrow-small",size:32,stroke:e(V),class:"rotate-180"},null,8,["stroke"])],2),n("button",{class:k(["w-36 h-36 flex items-center justify-center border border-solid border-black-100 rounded-sm",{"opacity-30":e(p)&&e(i)&&e(i)?.isNextDisabled}]),onClick:_[1]||(_[1]=w=>e(p)&&e(i)?.next())},[u(f,{name:"general-left-arrow-small",size:32,stroke:e(V)},null,8,["stroke"])],2)])])]),u(c,{ref_key:"slider",ref:i,class:"home-page-review__slider mt-16 md:mt-24","slider-class":"home-page-review__slider-box","slider-wrapper-class":m.$device.isMobile?"items-stretch py-2 first:!pr-16":"items-stretch py-2","slider-items":l,gap:m.$device.isMobile?12:24,"full-width":m.$device.isMobile,onReady:_[2]||(_[2]=w=>p.value=!0)},{content:v(({item:w})=>[n("article",_s,[n("div",ps,[n("div",gs,[u(x,{class:"home-page-review__img",alt:"Ù
Ú©ØªØ¨âØ®ÙÙÙ",width:"44",height:"44",src:`${m.$config.public.s3StaticBaseUrl}/images/landing/homepage/review/${w.image}`},null,8,["src"]),n("div",bs,[n("span",fs,z(w.name),1),n("span",hs,z(w.title),1)])]),u(f,{name:"general-quote",size:28})]),n("div",{class:k(["mt-16 font-medium text-12 leading-200",{"home-page-review__desc":m.$device.isMobile&&w.desc?.length>150}]),innerHTML:w.desc},null,10,xs),n("p",{class:k(["text-black w-fit text-12 mt-5 underline transition-opacity",m.$device.isMobile&&w.desc?.length>150?"opacity-100":"opacity-0 pointer-events-none"]),onClick:T(y=>r(w),["stop"])}," Ù
Ø´Ø§ÙØ¯Ù Ø¨ÛØ´ØªØ± ",10,ys)])]),_:1},8,["slider-wrapper-class","gap","full-width"]),u(oe,{name:"to-bottom"},{default:v(()=>[e(s)&&e(a)?(t(),h($,{key:0,"is-bottom-screen":m.$device.isMobile,"is-center-title":!1,"has-close":"","modal
1-main-class":["!p-20 flex flex-col gap-16",{"!max-w-[424px] !p-32":!m.$device.isMobile}],onClose:_[4]||(_[4]=w=>s.value=!1)},{title:v(()=>[n("div",vs,[u(x,{class:"home-page-review__img",alt:"Ù
Ú©ØªØ¨âØ®ÙÙÙ",width:"44",height:"44",src:`${m.$config.public.s3StaticBaseUrl}/images/landing/homepage/review/${e(a).image}`},null,8,["src"]),n("div",ws,[n("span",ks,z(e(a).name),1),n("span",$s,z(e(a).title),1)])])]),close:v(()=>[n("div",{class:"absolute top-32 left-32 w-24 h-24 flex items-center justify-center rounded-full p-8 bg-black-400/[16%] cursor-pointer",onClick:_[3]||(_[3]=w=>s.value=!1)},[u(f,{name:"general-close-simple",size:16})])]),content:v(()=>[n("div",{class:"font-medium text-12 leading-200",innerHTML:e(a).desc},null,8,js)]),_:1},8,["is-bottom-screen","modal-main-class"])):b("",!0)]),_:1})])}}}),Is=Object.assign(N(Cs,[["__scopeId","data-v-8780d2cd"]]),{__name:"HomeReview"}),Bs={class:"flex flex-col w-full bg-blue bg-opacity-5 rounded-lg"},Ms={class:"grid grid-cols-3 mx-auto gap-32 md:flex max-w-1472 w-full justify-between px-16 md:px-92 py-48"},Hs={class:"relative rounded-md w-40 h-40 sm:h-44 sm:w-44"},Ss={class:"text-12 sm:text-14 text-black-1000 mt-16 font-bold text-center justify-center"},zs=j({__name:"homeInfo",props:{infoType:{type:String,default:"why",validator(o){return["plus","why"].includes(o)}}},setup(o){const l=[{title:"تضÙ
ÛÙ Ú©ÛÙÛØª",color:"#3A86FF1F",icon:"home-footer-shield"},{title:"Ø¯Ø³ØªØ±Ø³Û Ø¢ÙÛ Ù ÙÙ
ÛØ´Ú¯Û",color:"#8338EC1A",icon:"home-footer-flash"},{title:"Ú¯ÙØ§ÙÛÙØ§Ù
٠رسÙ
Û",color:"#FF358C1F",icon:"home-footer-medal"},{title:"Ø¯ÙØ±ÙâÙØ§Û پرÙÚÙ Ù
ØÙر",color:"#FB56071A",icon:"home-footer-document"},{title:"تسÙÛ٠در استخداÙ
",color:"#FFBE0B1A",icon:"home-footer-person"},{title:"راÙÙÙ
اÛÛ ØªÙØ³Ø· Ø§Ø³Ø§ØªÛØ¯",color:"#009CA71F",icon:"home-footer-book"}];return(p,s)=>{const i=q;return t(),d("section",Bs,[n("div",Ms,[(t(),d(I,null,H(l,(a,r)=>n("div",{key:r,class:"home-page-info__item flex flex-col items-center"},[n("div",Hs,[n("span",{style:ie(`background:${a.color}`),class:"absolute rounded-md top-0 left-0 w-full h-full"},null,4),u(i,{class:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",size:p.$device.isMobile?22:28,name:a.icon},null,8,["size","name"])]),n("span",Ss,z(a.title),1)])),64))])])}}}),Rs=Object.assign(zs,{__name:"HomeInfo"}),Ls={class:"items-center w-full flex flex-col"},Os={key:2,class:"page-container md:mb-96 bg-white py-40 md:py-0"},Ns=j({__name:"homePage",props:{isBusinessHome:{type:Boolean,default:!1},isAryasasolHome:{type:Boolean,default:!1}},async setup(o){let l,p;const s=o;le({title:`${s.isAryasasolHome?"":"Ù
Ú©ØªØ¨âØ®ÙÙÙ | "}آکادÙ
Û Ø¢ÙÙØ§Û٠تخصصâÙØ§`,meta:[s.isAryasasolHome?{name:"robots",content:"noindex, nofollow"}:{name:"description",content:"Ù
Ú©ØªØ¨âØ®ÙÙÙØ بزرگترÛ٠رساÙÙ Ø¯ÛØ¬Ûتا٠آÙ
ÙØ²Ø´ Ø¢ÙÙØ§Û٠در Ø§ÛØ±Ø§Ù"}],link:[{rel:"canonical",href:"https://maktabkhooneh.org/"}]});const i=te();W(()=>i.isBusinessUser,async S=>{S&&!s.isBusinessHome&&await ye({name:"business"})},{immediate:!0});const{$api:a}=A(),r=ae();W(()=>r.user.is_authenticated,S=>{S&&_()},{immediate:!0});const m=ne([]);async function _(){try{const S=await re(a,{container:"home_second"});S.results&&(m.value=S.results)}catch{}}let f=fe({assigned_courses_carousel:[],enrolledÙcoursesÙcarousel:[],recommended_courses_carousel:[],assigned_learning_paths_carousel:[],enrolled_learning_paths_carousel:[]});async function x(){try{const[S,G,U]=await Promise.all([ve(a),we(a),ke(a)]);i.$patch({businessHomeSlider:G,businessHomePageData:S}),f=U}catch{}}he(()=>{s.isBusinessHome&&!Object.values(f).flat().length&&x()});const c=X(),{data:$,execute:w}=ze(),{data:y,execute:M}=Re(),B=[];s.isBusinessHome||(c.homeSlider.length||B.push(w()),c.homePageData.length||B.push(M()),[l,p]=xe(()=>Promise.all(B)),await l,p(),y.value&&c.$patch({homePageData:y.value}),$.value&&c.$patch({homeSlider:$.value}));const C=Q("externalService"),P=R(()=>s.isBusinessHome?i.businessHomeSlider:c.homeSlider);return(S,G)=>{const U=Te,J=Ze,g=ct,Z=is,ce=Is,de=Rs;return t(),d("section",Ls,[e(C)!=="rubika"?(t(),h(U,{key:0,"slider-list":e(P)},null,8,["slider-list"])):b("",!0),n("div",{class:k(["base-home__content-box flex flex-col gap-8 md:gap-96 w-full justify-center items-center bg-black-75 md:bg-white",{"mt-20 md:mt-40":!e(P).length}])},[u(J),o.isBusinessHome&&e(i).isLeaderboardEnabled?(t(),h(g,{key:0})):b("",!0),e(c).homeDynamicContent.length||e(i).businessHomeDynamicContent.length?(t(),h(Z,{key:1,"business-user-carousels":e(f),"view-recommended-courses":e(m),"is-business-home":o.isBusinessHome},null,8,["business-user-carousels","view-recommended-courses","is-business-home"])):b("",!0),u(ce,{class:k([S.$device.isMobile?"page-container--mobile bg-white py-20":"page-container",{"mb-40 md:mb-96":e(i).isBusinessUser}])},null,8,["class"]),e(i).isBusinessUser?b("",!0):(t(),d("div",Os,[u(de)]))],2)])}}}),se=Object.assign(N(Ns,[["__scopeId","data-v-28726dea"]]),{__name:"HomePage"}),qs=j({__name:"index",setup(o){return(l,p)=>{const s=se;return t(),h(s)}}}),en=Object.freeze(Object.defineProperty({__proto__:null,default:qs},Symbol.toStringTag,{value:"Module"})),As=j({__name:"business",setup(o){return le({title:"Ø¢Ù
ÙØ²Ø´ سازÙ
اÙÛ",meta:[{name:"robots",content:"noindex, nofollow"}]}),(l,p)=>{const s=se;return t(),h(s,{"is-business-home":""})}}}),tn=Object.freeze(Object.defineProperty({__proto__:null,default:As},Symbol.toStringTag,{value:"Module"})),Ds=j({__name:"aryasasol",setup(o){return(l,p)=>{const s=se;return t(),h(s,{"is-aryasasol-home":""})}}}),sn=Object.freeze(Object.defineProperty({__proto__:null,default:Ds},Symbol.toStringTag,{value:"Module"}));
1export{sn as a,tn as b,en as i};
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.