PageSourceSearch

https://learn.rumie.org/_nuxt/Bhj1ff2M.js

js rumie.org collected 2026-10-02 06:32:52 UTC 3,723 bytes, 2 lines download raw bytes

1import{_ as $,a as B}from"./CCkLC3EL.js";import{_ as x,m as y,c as s,o,F as C,A as E,t as n,u as w,p as V,a as t,i as b,b as m,L as A,C as I,M,e as z,f as F,w as O,g as v,K as c,z as h,v as f,s as R,x as D,a2 as G}from"./BqLk4QvS.js";import{L as H}from"./CLrhuNzu.js";import{_ as T}from"./DZBT2vaV.js";import"./B3wJ2SaL.js";import"./BcKM28WW.js";import"./CeQploFM.js";import"./m5UOKfpz.js";const K={computed:{...y(w)}},q=["dir"];function J(l,e,_,u,g,d){return o(),s("ul",{dir:l.mainStore.direction},[(o(!0),s(C,null,E(l.$t("point_activities").split(/[*]/),r=>(o(),s("li",{key:r},n(r),1))),128))],8,q)}const Q=Object.assign(x(K,[["render",J]]),{__name:"PointsActivities"}),U={components:{Points:$,LearnLogoSmile:H},props:{hasPoints:{type:Boolean,default:!1}},computed:{...y(w)},methods:{localizeNum(l){return this.mainStore.isRTL?`${new Intl.NumberFormat("fa").format(l)}
2        `:l}}},W={class:"flex items-center justify-center"},X={class:"relative"},Y={key:1,class:"flex items-center justify-center text-xs font-thin text-center transform scale-150 rounded-full w-7 h-7 lg:text-base bg-default lg:w-10 lg:h-10"};function Z(l,e,_,u,g,d){const r=$,p=V("LearnLogoSmile");return o(),s("div",W,[t("div",X,[e[0]||(e[0]=t("div",{class:"absolute w-1 h-1 rounded-full lg:h-12 lg:w-12 bg-discordLight right-8 lg:right-5 bottom-8 lg:bottom-7"},null,-1)),_.hasPoints?(o(),b(r,{key:0,class:"w-6 h-6 transform lg:w-10 lg:h-10 lg:scale-150","is-points-page":""})):(o(),s("div",Y,"+"+n(d.localizeNum(10)),1)),m(p,{class:"absolute w-6 mb-2 transform lg:right-0 lg:w-8 lg:bottom-12 bottom-6 rotate-12"}),e[1]||(e[1]=A('<div class="absolute w-2 h-2 rounded-full lg:-mr-3 lg:mr-0 lg:h-6 lg:w-6 bg-discordLight right-10 lg:right-20 bottom-3 lg:animate-toPrimary will-change-[background-color]"></div><div class="absolute w-1 h-1 rounded-full bg-primary left-8 lg:left-14 lg:bottom-10 bottom-8 animate-toPurple will-change-[background-color]"></div><div class="absolute w-1 h-1 mt-4 rounded-full bg-primary lg:h-4 lg:w-4 -right-2 lg:right-0 animate-toPurple will-change-[background-color]"></div><div class="absolute w-1 h-1 rounded-full bg-primary lg:right-16 right-10 top-11 lg:top-13"></div><div class="absolute w-0 -ml-10 rounded-full bg-primary lg:w-2 lg:h-2 left-5 lg:left-0 bottom-15"></div>',5))])])}const tt=Object.assign(x(U,[["render",Z]]),{__name:"PointsPageGraphic"}),et=R(G),ot=["dir"],nt={class:"max-w-3xl py-12 mx-6 text-lg prose lg:mx-auto"},st={class:"flex flex-col md:flex-row"},lt={key:1},rt={key:0},pt={__name:"index",setup(l){const e=w(),_=I(),{t:u}=M(),g=z(),d=h(()=>_.totalPoints||0),r=h(()=>d.value>0),p=h(()=>e.isMainEnglishProject);return F({title:`Points System - ${u("rumie")}`,link:[{rel:"alternate",hreflang:e.getHrefLang,href:`https://learn.rumie.org${g.path}`}],htmlAttrs:{lang:e.getLangCode}}),(i,a)=>{const P=B,k=et,L=Q,S=tt,N=T,j=D;return o(),s("div",{dir:c(e).direction},[t("div",nt,[m(j,null,{default:O(()=>[t("h1",null,n(i.$t("learn_points_system")),1),t("div",st,[t("div",null,[c(r)?(o(),b(P,{key:0})):(o(),s("p",lt,[f(n(i.$t("points_intro"))+" ",1),a[0]||(a[0]=t("br",null,null,-1)),a[1]||(a[1]=t("br",null,null,-1)),f(" "+n(i.$t("start_learning_now"))+" ",1),c(e).isNonEnglishProject?v("",!0):(o(),b(k,{key:0}))])),t("h2",null,n(i.$t("how_does_it_work")),1),t("p",null,[a[2]||(a[2]=t("br",null,null,-1)),f(" "+n(i.$t("earn_points_for")),1)]),m(L)]),m(S,{class:"order-first m-10 mt-6 transform scale-150 md:mb-5 md:order-last md:scale-100","has-points":c(r),dir:c(e).direction},null,8,["has-points","dir"])]),c(p)?(o(),s("div",rt,[t("h2",null,n(i.$t("keep_learning")),1),t("p",null,n(i.$t("email_subscribe_text")),1),m(N,{"event-title":"points"})])):v("",!0)]),_:1})])],8,ot)}}};export{pt 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.