PageSourceSearch

https://lingodeer.com/_nuxt/index.CE_hctnY.js

js lingodeer.com collected 2026-09-24 09:50:59 UTC 3,970 bytes, 1 lines download raw bytes

1import{F as v}from"./flexRow.DmEAxWdd.js";import{F as i}from"./flexCol.B3WHfCLn.js";import{F as c}from"./index.CTYyfhim.js";import{aw as D,aH as R,aK as T,aT as V,aI as N,aC as e,aE as d,aQ as O,aS as $,aR as j,aP as k,aX as z,aM as X}from"./entry.CegXatDB.js";import"./el-button.CHpGQZiY.js";import{E as A,a as M,b as P}from"./el-dropdown.BAju3fGw.js";import"./el-popper.DOfsoM-4.js";import"./el-scrollbar.C5suRXYK.js";/* empty css                */import{c as u}from"./index.JewAZQWV.js";import{u as H}from"./useOldFrenchVisibility.DZHDcExr.js";import K from"./index.Dyfo5MgN.js";import"./index.DbKX-97Z.js";import"./use-form-common-props.DjBC4aHb.js";import"./constants.Dk5zQC8_.js";import"./_baseFlatten.D9twMW-4.js";import"./dropdown.DgQK1DO_.js";import"./refs.25OzArAa.js";import"./index.CxZB5ctD.js";import"./error.DIjIRzjL.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"c515a255f4eda0469bf1b251e5d7530d696a0507"};var o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="62aad6a3-6440-458e-a5e9-2ec30ee6debb",t._sentryDebugIdIdentifier="sentry-dbid-62aad6a3-6440-458e-a5e9-2ec30ee6debb")}catch{}})();const Q="_container_1lmle_2",_={container:Q,"grid-container":"_grid-container_1lmle_11"};function g(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!X(t)}const me=D({setup(){const{learnLangs:t}=R(),o=T(),m=V(),{t:r,localeProperties:f,locales:h,setLocale:w,locale:s}=N(),{showOldFrench:C,oldFrenchVisibilityResolved:L}=H(),p=k(!1),y=O(()=>j(s.value)==="rtl"?{transform:p.value?"scaleX(-1) rotate(180deg)":"scaleX(-1)",transition:"transform 0.3s ease"}:{transform:p.value?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.3s ease"}),x="h-max cursor-pointer !items-center gap-[10px] p-[10px_0] md:hover:shadow-[0px_1px_10px_1px_#ddd] md:hover:rounded-[14px] md:active:shadow-[0px_1px_10px_1px_#bbb] md:active:rounded-[14px] max-md:active:opacity-70 transition-all",b=n=>{const a=n.currentTarget,{lang:l,level:S}=a.dataset;s.value,z(o.gotoLanguageCourseLevel(`${l}`,`${S}`))},I=n=>{w(n)},E=n=>{p.value=n},F=Object.entries(t).sort(([n],[a])=>n===m.learnLang?-1:a===m.learnLang?1:0);return()=>{let n;return e(i,{class:u("!items-center",_.container)},{default:()=>[e(i,{class:"max-w-[828px]"},{default:()=>[e(v,{class:"h-max pt-[74px] box-border !items-center mb-[4vh]"},{default:()=>[e(c,{size:30,class:"!font-[700] text-[#333] dark:text-[var(--text-main)]"},g(n=r("change.language.learn_of_course"))?n:{default:()=>[n]}),e("div",null,[e(A,{onCommand:I,onVisibleChange:E,trigger:"click"},{default:()=>{let a;return e("div",{class:"flex items-center gap-2"},[e(c,{class:"text-[#85878C] dark:text-[var(--text-sub)]"},g(a=r("change.language.i_speak"))?a:{default:()=>[a]}),e(K,{class:"text-[#85878C]",style:y.value,name:"material-symbols:keyboard-arrow-down",size:20},null)])},dropdown:()=>{let a;return e(d,null,[e(M,null,g(a=h.value.map(l=>e(P,{command:l.code},{default:()=>[l.name]})))?a:{default:()=>[a]})])}})])]}),e(v,{class:"bg-[url('/images/map.png')]  dark:bg-none bg-no-repeat flex-1 !overflow-y-auto"},{default:()=>[e("div",{class:u(_["grid-container"])},[F.map(([a,l])=>e(d,null,[a!==s.value&&l.locale!==s.value&&(a!=="fr"||L.value&&C.value)&&e(d,null,[e(i,{class:u(x,{hidden:!f.value.learnLangs_1.includes(a)}),"data-level":1,"data-lang":a,onClick:b},{default:()=>[e("img",{class:"w-[42px]",src:`/images/flag/${a}.png`,alt:""},null),e(c,{class:"text-center"},{default:()=>[r(`language.${l.nm.toLowerCase()}`),e(d,null,[l.level_2?" I":""])]})]}),l.level_2&&e(i,{class:u(x,{hidden:!f.value.learnLangs_2.includes(a)}),"data-level":2,"data-lang":a,onClick:b},{default:()=>[e("img",{class:"w-[42px]",src:`/images/flag/${a}.png`,alt:""},null),e(c,{class:"text-center"},{default:()=>[r(`language.${l.nm.toLowerCase()}`),$(" II")]})]})])]))])]})]})]})}}});export{me 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.