1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="fc9ff866-8ca8-4608-9634-5a66d24b7b04",e._sentryDebugIdIdentifier="sentry-dbid-fc9ff866-8ca8-4608-9634-5a66d24b7b04")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[49658],{2254:(e,a,r)=>{"use strict";r.d(a,{E:()=>l});var n=r(54568);r(7620);var t=r(46118),s=r(54616),i=r(85755);let o=(0,s.F)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary/60 text-secondary-foreground dark:bg-secondary dark:text-secondary-foreground [a&]:hover:bg-secondary/80 dark:[a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",success:"border-transparent bg-rf-dynamic-success text-rf-dynamic-onSuccess [a&]:hover:bg-rf-dynamic-successDark",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",purple:"border-transparent bg-rf-light-primary100 text-foreground dark:bg-rf-dark-primary200 dark:text-foreground [a&]:hover:bg-rf-light-primary200 dark:[a&]:hover:bg-rf-dark-primary300",muted:"border-transparent bg-muted text-foreground [a&]:hover:bg-muted/80"}},defaultVariants:{variant:"default"}});function l(e){let{className:a,variant:r,asChild:s=!1,...l}=e,d=s?t.DX:"span";return(0,n.jsx)(d,{"data-slot":"badge",className:(0,i.cn)(o({variant:r}),a),...l})}},10527:(e,a,r)=>{"use strict";r.d(a,{E:()=>n.E});var n=r(2254)},14936:(e,a,r)=>{"use strict";r.d(a,{BT:()=>f,Wu:()=>p,ZB:()=>h,Zp:()=>u,aR:()=>m,wL:()=>g});var n=r(54568),t=r(7620),s=r(19664),i=r.n(s),o=r(54616),l=r(85755),d=r(48755);let c=(0,o.F)((0,l.cn)("rounded-lg bg-card text-card-foreground","border border-gray-200 dark:border-gray-700"),{variants:{variant:{default:"border-gray-200 dark:border-gray-700",onSurface:"border border-border/60 bg-muted/20",elevated:"border-border shadow-md",outlined:"border-border bg-transparent",ghost:"border-transparent bg-transparent shadow-none"},padding:{none:"",sm:"p-2 md:p-3",md:"p-3 md:p-4",lg:"p-4 md:p-6",xl:"p-4 md:p-8"}},defaultVariants:{variant:"default",padding:"md"}}),u=t.forwardRef((e,a)=>{let{className:r,variant:t,padding:s,as:o="div",href:d,target:u,rel:m,...h}=e,f=(0,l.cn)(c({variant:t,padding:s,className:r})),p=(0,l.cn)("block","hover:shadow-lg transition-shadow cursor-pointer",f);return"link"===o&&d?(0,n.jsx)(i(),{href:d,target:u,rel:m,className:p,ref:a,...h}):"a"===o&&d?(0,n.jsx)("a",{href:"string"==typeof d?d:String(d),target:u,rel:null!=m?m:"_blank"===u?"noopener noreferrer":void 0,className:p,ref:a,...h}):(0,n.jsx)("div",{className:f,ref:a,...h})});u.displayName="Card";let m=t.forwardRef((e,a)=>{let{className:r,padding:t="default",...s}=e;return(0,n.jsx)("div",{ref:a,className:(0,l.cn)("flex flex-col space-y-1.5",{none:"",default:"p-2 md:p-4"}[t],r),...s})});m.displayName="CardHeader";let h=t.forwardRef((e,a)=>{let{className:r,variant:t="h3",...s}=e;return(0,n.jsx)(d.o,{ref:a,variant:t,className:(0,l.cn)("leading-none tracking-tight",r),...s})});h.displayName="CardTitle";let f=t.forwardRef((e,a)=>{let{className:r,variant:t="bodySmall",textColor:s="muted",...i}=e;return(0,n.jsx)(d.o,{ref:a,variant:t,textColor:s,className:r,...i})});f.displayName="CardDescription";let p=t.forwardRef((e,a)=>{let{className:r,padding:t="default",...s}=e;return(0,n.jsx)("div",{ref:a,className:(0,l.cn)({none:"",default:"p-3 md:p-4 pt-0"}[t],r),...s})});
1p.displayName="CardContent";let g=t.forwardRef((e,a)=>{let{className:r,padding:t="default",...s}=e;return(0,n.jsx)("div",{ref:a,className:(0,l.cn)("flex items-center",{none:"",default:"p-3 md:p-4 pt-0"}[t],r),...s})});g.displayName="CardFooter"},15777:(e,a,r)=>{"use strict";r.d(a,{K:()=>n.K});var n=r(87488)},19609:(e,a,r)=>{"use strict";r.r(a),r.d(a,{default:()=>k});var n=r(54568),t=r(7620),s=r(23169),i=r(80312),o=r(48755),l=r(41692),d=r(26747),c=r(24720),u=r(10527),m=r(85755);let h={Spanish:"es",Japanese:"jp",Korean:"kr",German:"de",French:"fr",Italian:"it",Czech:"cz",Portuguese:"pt",English:"us",Mandarin:"cn",Russian:"ru",Cantonese:"hk",Tagalog:"ph",Polish:"pl",Norwegian:"no",Swedish:"se",Dutch:"nl",Afrikaans:"za",Indonesian:"id",Vietnamese:"vn",Danish:"dk",Serbian:"rs",Ukrainian:"ua",Thai:"th",Hebrew:"il",Hungarian:"hu",Bulgarian:"bg",Greek:"gr",Georgian:"ge",Urdu:"pk",Hindi:"in",Arabic:"sa",Persian:"ir",Amharic:"et",Hausa:"ng",Catalan:"es",Quechua:"pe",Hawaiian:"us",Basque:"es",Latin:void 0,isiZulu:"za",Ilocano:"ph"},f={Spanish:["Spanish","spanish","es","spa","Espa\xf1ol"],Russian:["Russian","russian","ru","rus","Ð ÑÑÑкий","Russkiy"],Portuguese:["Portuguese","portuguese","pt","por","Portugu\xeas"],Italian:["Italian","italian","it","ita","Italiano"],Cantonese:["Cantonese","cantonese","yu","yue","canto","廣æ±è©±","GuÇngdÅnghu\xe0"],Tagalog:["Tagalog","tagalog","tl","tgl","filipino"],Polish:["Polish","polish","pl","pol","Polski"],Czech:["Czech","czech","cs","ces","ÄeÅ¡tina"],Quechua:["Quechua","quechua","qu","que","Runasimi"],Hawaiian:["Hawaiian","hawaiian","haw","Ê»Ålelo HawaiÊ»i"],Basque:["Basque","basque","eu","eus","Euskara"],Norwegian:["Norwegian","norwegian","no","nor","Norsk"],French:["French","french","fr","fra","Fran\xe7ais"],Catalan:["Catalan","catalan","ca","cat","Catal\xe0"]},p=[{name:"Japanese",countryCode:h.Japanese,docLink:"https://refold.link/japanese",notionLink:"https://refold.link/japanese-shiki",hasNewDoc:!1,keywords:["Japanese","japanese","jp","ja"],isPopular:!0},{name:"Spanish",countryCode:h.Spanish,docLink:"https://refold.link/spanish",submitLink:"https://refold.link/spanish-submit",hasNewDoc:!0,keywords:f.Spanish,isPopular:!0},{name:"English",countryCode:h.English,docLink:"https://refold.link/english",hasNewDoc:!1,keywords:["English","english","en"],isPopular:!0},{name:"Korean",countryCode:h.Korean,docLink:"https://refold.link/korean",hasNewDoc:!1,keywords:["Korean","korean","kr","ko"],isPopular:!0},{name:"German",countryCode:h.German,docLink:"https://refold.link/german",hasNewDoc:!1,keywords:["German","german","de","deu"],isPopular:!0},{name:"Mandarin",countryCode:h.Mandarin,docLink:"https://refold.link/mandarin",notionLink:"https://refold.link/mandarinNotion",hasNewDoc:!1,keywords:["Mandarin","mandarin","zh","cmn"],isPopular:!0},{name:"French",countryCode:h.French,docLink:"https://refold.link/french",submitLink:"https://refold.link/french-submit",hasNewDoc:!0,keywords:f.French,isPopular:!0},{name:"Cantonese",countryCode:h.Cantonese,docLink:"https://refold.link/cantonese",submitLink:"https://refold.link/cantonese-submit",hasNewDoc:!0,keywords:f.Cantonese,isPopular:!1},{name:"Norwegian",countryCode:h.Norwegian,docLink:"https://refold.link/Norwegian",submitLink:"https://refold.link/norwegian-submit",hasNewDoc:!0,keywords:f.Norwegian,isPopular:!1},{name:"Swedish",countryCode:h.Swedish,docLink:"https://refold.link/Swedish",hasNewDoc:!1,keywords:["Swedish","swedish","sv","swe"],isPopular:!1},{name:"Dutch",countryCode:h.Dutch,docLink:"https://refold.link/Dutch",hasNewDoc:!1,keywords:["Dutch","dutch","nl","nld"],isPopular:!1},{name:"Afrikaans",countryCode:h.Afrikaans,docLink:"https://refold.link/Afrikaans",hasNewDoc:!1,keywords:["Afrikaans","afrikaans","af"],isPopular:!1},{name:"Indonesian",countryCode:h.Indonesian,docLink:"https://refold.link/Indonesian",hasNewDoc:!1,keywords:["Indonesian","indonesian","id","ind"],isPopular:!1},{name:"Vietnamese",countryCode:h.Vietnamese,docLink:"https://refold.link/Vietnamese",hasNewDoc:!1,keywords:["Vietnamese","vietnamese","vi","vie"],isPopular:!1},{name:"Danish",countryCode:h.Danish,docLink:"https://refold.link/Danish",hasNewDoc:!1,keywords:["Danish","danish","da","dan"],isPopular:!1},{name:"Polish",countryCode:h.Polish,docLink:"https://refold.link/Polish",submitLink:"https://refold.link/polish-submit",hasNewDoc:!0,keywords:f.Polish,isPopular:!1},{name:"Portuguese",countryCode:h.Portuguese,docLink:"https://refold.link/Portuguese",submitLink:"https://refold.link/portuguese-submit",hasNewDoc:!0,keywords:f.Portuguese,isPopular:!1},{name:"Serbian",countryCode:h.Serbian,docLink:"https://refold.link/serbian",hasNewDoc:!1,keywords:["Serbian","
1serbian","sr","srp"],isPopular:!1},{name:"Russian",countryCode:h.Russian,docLink:"https://refold.link/russian",submitLink:"https://refold.link/russian-submit",hasNewDoc:!0,keywords:f.Russian,isPopular:!1},{name:"Italian",countryCode:h.Italian,docLink:"https://refold.link/italian",submitLink:"https://refold.link/italian-submit",hasNewDoc:!0,keywords:f.Italian,isPopular:!0},{name:"Arabic",countryCode:h.Arabic,docLink:"https://refold.link/arabic",hasNewDoc:!1,keywords:["Arabic","arabic","ar","ara"],isPopular:!1},{name:"Ukrainian",countryCode:h.Ukrainian,docLink:"https://refold.link/Ukrainian",hasNewDoc:!1,keywords:["Ukrainian","ukrainian","uk","ukr"],isPopular:!1},{name:"Czech",countryCode:h.Czech,docLink:"https://refold.link/Czech",submitLink:"https://refold.link/czech-submit",hasNewDoc:!0,keywords:f.Czech,isPopular:!1},{name:"Tagalog",countryCode:h.Tagalog,docLink:"https://refold.link/Tagalog",submitLink:"https://refold.link/tagalog-submit",hasNewDoc:!0,keywords:f.Tagalog,isPopular:!1},{name:"Thai",countryCode:h.Thai,docLink:"https://refold.link/Thai",hasNewDoc:!1,keywords:["Thai","thai","th","tha"],isPopular:!1},{name:"Hebrew",countryCode:h.Hebrew,docLink:"https://refold.link/Hebrew",hasNewDoc:!1,keywords:["Hebrew","hebrew","he","heb"],isPopular:!1},{name:"Hungarian",countryCode:h.Hungarian,docLink:"https://refold.link/Hungarian",hasNewDoc:!1,keywords:["Hungarian","hungarian","hu","hun"],isPopular:!1},{name:"Latin",countryCode:h.Latin,docLink:"https://refold.link/Latin",hasNewDoc:!1,keywords:["Latin","latin","la","lat"],isPopular:!1},{name:"Bulgarian",countryCode:h.Bulgarian,docLink:"https://refold.link/Bulgarian",hasNewDoc:!1,keywords:["Bulgarian","bulgarian","bg","bul"],isPopular:!1},{name:"Greek",countryCode:h.Greek,docLink:"https://refold.link/Greek",hasNewDoc:!1,keywords:["Greek","greek","el","ell"],isPopular:!1},{name:"isiZulu",countryCode:h.isiZulu,docLink:"https://refold.link/isiZulu",hasNewDoc:!1,keywords:["isiZulu","zulu","zu","zul"],isPopular:!1},{name:"Georgian",countryCode:h.Georgian,docLink:"https://refold.link/georgian",hasNewDoc:!1,keywords:["Georgian","georgian","ka","kat"],isPopular:!1},{name:"Urdu",countryCode:h.Urdu,docLink:"https://refold.link/Urdu",hasNewDoc:!1,keywords:["Urdu","urdu","ur"],isPopular:!1},{name:"Hindi",countryCode:h.Hindi,docLink:"https://refold.link/Hindi",hasNewDoc:!1,keywords:["Hindi","hindi","hi","hin"],isPopular:!1},{name:"Ilocano",countryCode:h.Ilocano,docLink:"https://refold.link/Ilocano",hasNewDoc:!1,keywords:["Ilocano","ilocano","ilo"],isPopular:!1},{name:"Persian",countryCode:h.Persian,docLink:"https://refold.link/Persian",hasNewDoc:!1,keywords:["Persian","persian","fa","fas","Farsi"],isPopular:!1},{name:"Amharic",countryCode:h.Amharic,docLink:"https://refold.link/Amharic",hasNewDoc:!1,keywords:["Amharic","amharic","am","amh"],isPopular:!1},{name:"Hausa",countryCode:h.Hausa,docLink:"https://refold.link/Hausa",hasNewDoc:!1,keywords:["Hausa","hausa","ha"],isPopular:!1},{name:"Quechua",countryCode:h.Quechua,docLink:"https://refold.link/quechua",submitLink:"https://refold.link/quechua-submit",hasNewDoc:!0,keywords:f.Quechua,isPopular:!1},{name:"Hawaiian",countryCode:h.Hawaiian,docLink:"https://refold.link/hawaiian",submitLink:"https://refold.link/hawaiian-submit",hasNewDoc:!0,keywords:f.Hawaiian,isPopular:!1},{name:"Basque",countryCode:h.Basque,docLink:"https://refold.link/basque",submitLink:"https://refold.link/basque-submit",hasNewDoc:!0,keywords:f.Basque,isPopular:!1},{name:"Catalan",countryCode:h.Catalan,docLink:"https://refold.link/catalan",submitLink:"https://refold.link/catalan-submit",hasNewDoc:!0,keywords:f.Catalan,isPopular:!1}],g=p.filter(e=>e.isPopular),b=p.filter(e=>!e.isPopular).sort((e,a)=>e.hasNewDoc&&!a.hasNewDoc?-1:!e.hasNewDoc&&a.hasNewDoc?1:e.name.localeCompare(a.name));function y(e){let{language:a}=e,r=(0,n.jsxs)(i.Zp,{className:(0,m.cn)("hover:shadow-lg transition-all duration-200","hover:scale-[1.02]","h-full flex flex-col"),children:[(0,n.jsx)(i.aR,{children:(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(c.l,{countryCode:a.countryCode,size:32,type:"Circle",className:"flex-shrink-0"}),(0,n.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,n.jsx)(i.ZB,{className:"mb-1",children:a.name}),a.hasNewDoc&&(0,n.jsx)(u.E,{variant:"success",className:"text-xs",children:"New Format"})]})]})}),(0,n.jsx)(i.Wu,{className:"flex-1",children:(0,n.jsxs)(i.BT,{variant:"bodySmall",className:"text-muted-foreground",children:["Community-curated resources, materials, and tools for learning"," ",a.name.toLowerCase(),"."]})}),(0,n.jsxs)(i.wL,{className:"flex flex-col gap-2",children:[a.notionLink?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.$,{variant:"primary",size:"md",className:"w-full",asChild:!0,children:(0,n.jsx)("a",{href:a.notionLink,target:"_blank",rel:"noopener noreferrer",children:"View Notion Doc"})}),(0,n.jsx)(l.$,{variant:"secondary",size:"md",className:"w-full",asChild:!0,children:(0,n.jsx)("a",{href:a.docLink,target:"_blank",rel:"noopener noreferrer",children:"View Google Doc"})})]}):(0,n.jsx)(l.$,{variant:"primary",size:"md",className:"w-full",asChild:!0,children:(0,n.jsx)("a",{href:a.docLink,target:"_blank",rel:"noopener noreferrer",children:"View Doc"})}),a.hasNewDoc&&a.submitLink&&(0,n.jsx)(l.$,{variant:"secondary",size:"md",className:"w-full",asChild:!0,children:(0,n.jsx)("a",{href:a.submitLink,target:"_blank",rel:"noopener noreferrer",children:"Submit Resource"})})]})]});return(0,n.jsx)("div",{className:"h-full",children:r})}function k(){let[e,a]=(0,t.useState)(""),r=(0,t.useMemo)(()=>new s.A(p,{keys:["name","keywords"],threshold:.3,includeScore:!0}),[]),i=(0,t.useMemo)(()=>e.trim()?r.search(e).map(e=>e.item).filter(e=>!e.isPopular):b,[e,r]),l=(0,t.useMemo)(()=>e.trim()?r.search(e).map(e=>e.item).filter(e=>e.isPopular):g,[e,r]);return(0,n.jsx)("div",{className:"container mx-auto px-6 py-8",children:(0,n.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,n.jsxs)("div",{className:"mb-12",children:[(0,n.jsx)(o.o,{variant:"h1",className:"mb-4",children:"Community Resource Docs"}),(0,n.jsx)(o.o,{variant:"bodyMedium",textColor:"muted",className:"mb-6",children:"Our community of over 70,000 language learners has created crowdsourced resource documents for dozens of languages. These docs contain curated lists of materials, tools, and resources to help you learn your target language."}),(0,n.jsx)(o.o,{variant:"bodyMedium",textColor:"muted",className:"mb-6",children:"Many of the less popular languages are lacking in quality resources! If you're learning (or speak) any of these languages, please contribute. You're improving the experience for all future learners of that language."}),(0,n.jsx)("div",{className:"max-w-md",children:(0,n.jsx)(d.D,{value:e,onCh
1ange:a,placeholder:"Search languages..."})})]}),l.length>0&&(0,n.jsxs)("div",{className:"mb-12",children:[(0,n.jsx)(o.o,{variant:"h2",className:"mb-2",children:"Popular Languages"}),(0,n.jsx)(o.o,{variant:"bodySmall",textColor:"muted",className:"mb-6",children:"The most commonly learned languages"}),(0,n.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:l.map(e=>(0,n.jsx)(y,{language:e},e.name))})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)(o.o,{variant:"h2",className:"mb-2",children:"All Languages"}),e.trim()&&(0,n.jsxs)(o.o,{variant:"bodySmall",textColor:"muted",className:"mb-6",children:[i.length," result",1!==i.length?"s":""," found"]}),i.length>0?(0,n.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:i.map(e=>(0,n.jsx)(y,{language:e},e.name))}):e.trim()?(0,n.jsx)("div",{className:"py-12 text-center",children:(0,n.jsxs)(o.o,{variant:"bodyMedium",textColor:"muted",children:['No languages found matching "',e,'"']})}):null]})]})})}},21267:(e,a,r)=>{"use strict";r.d(a,{D:()=>c});var n=r(54568),t=r(7620),s=r(1755),i=r(61830),o=r(85755),l=r(15777),d=r(48884);let c=t.forwardRef((e,a)=>{let{value:r,onChange:t,onClear:c,placeholder:u="Search...",showClearButton:m=!0,className:h,...f}=e,p=(0,n.jsx)(s.Icon,{path:i.U4M,size:.8,className:"text-muted-foreground"}),g=m&&r&&(0,n.jsx)(l.K,{icon:(0,n.jsx)(s.Icon,{path:i.hyP,size:.7,className:"text-muted-foreground"}),onClick:()=>{t(""),null==c||c()},size:"sm",variant:"ghost",className:"h-6 w-6 p-0 hover:bg-muted/50","aria-label":"Clear search"});return(0,n.jsx)("div",{className:(0,o.cn)("relative",h),children:(0,n.jsx)(d.p,{ref:a,value:r,onChange:e=>t(e.target.value),placeholder:u,leftIcon:p,rightIcon:g,...f})})});c.displayName="SearchInput"},24720:(e,a,r)=>{"use strict";r.d(a,{l:()=>n.l});var n=r(54188)},26747:(e,a,r)=>{"use strict";r.d(a,{D:()=>n.D});var n=r(21267)},32536:(e,a,r)=>{"use strict";r.d(a,{default:()=>t.a});var n=r(54895),t=r.n(n)},41692:(e,a,r)=>{"use strict";r.d(a,{$:()=>n.$,r:()=>n.r});var n=r(74614)},46118:(e,a,r)=>{"use strict";r.d(a,{DX:()=>o,Dc:()=>d,TL:()=>i});var n=r(7620),t=r(61715),s=r(54568);function i(e){let a=function(e){let a=n.forwardRef((e,a)=>{let{children:r,...s}=e;if(n.isValidElement(r)){var i;let e,o,l=(i=r,(o=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(o=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),d=function(e,a){let r={...a};for(let n in a){let t=e[n],s=a[n];/^on[A-Z]/.test(n)?t&&s?r[n]=(...e)=>{let a=s(...e);return t(...e),a}:t&&(r[n]=t):"style"===n?r[n]={...t,...s}:"className"===n&&(r[n]=[t,s].filter(Boolean).join(" "))}return{...e,...r}}(s,r.props);return r.type!==n.Fragment&&(d.ref=a?(0,t.t)(a,l):l),n.cloneElement(r,d)}return n.Children.count(r)>1?n.Children.only(null):null});return a.displayName=`${e}.SlotClone`,a}(e),r=n.forwardRef((e,r)=>{let{children:t,...i}=e,o=n.Children.toArray(t),l=o.find(c);if(l){let e=l.props.children,t=o.map(a=>a!==l?a:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,s.jsx)(a,{...i,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return(0,s.jsx)(a,{...i,ref:r,children:t})});return r.displayName=`${e}.Slot`,r}var o=i("Slot"),l=Symbol("radix.slottable");function d(e){let a=({children:e})=>(0,s.jsx)(s.Fragment,{children:e});return a.displayName=`${e}.Slottable`,a.__radixId=l,a}function c(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}},48755:(e,a,r)=>{"use strict";r.d(a,{o:()=>n.o5});var n=r(62638)},48884:(e,a,r)=>{"use strict";r.d(a,{p:()=>n.p});var n=r(49606)},49606:(e,a,r)=>{"use strict";r.d(a,{p:()=>d});var n=r(54568),t=r(7620),s=r(54616),i=r(85755),o=r(62638);let l=(0,s.F)((0,i.cn)("flex w-full","px-3 py-2","rounded-sm border-1 border-input bg-card","file:border-0 file:bg-transparent file:text-sm file:font-medium file:font-inter","placeholder:text-muted-foreground","focus-visible:outline-none focus-visible:border-primary","disabled:cursor-not-allowed disabled:opacity-50","transition-colors"),{variants:{variant:{default:"border-input",error:(0,i.cn)("border-destructive","focus-visible:border-destructive focus-visible:ring-destructive focus-visible:ring-1"),success:(0,i.cn)("border-success","focus-visible:border-success focus-visible:ring-success focus-visible:ring-1")},size:{sm:"h-8 px-2 ".concat(o.KY.small),md:"h-10 px-3 py-2 ".concat(o.KY.medium),lg:"h-12 px-4 py-3 ".concat(o.KY.large)}
1,hasLeftIcon:{true:"pl-10",false:""},hasRightIcon:{true:"pr-10",false:""}},defaultVariants:{variant:"default",size:"md",hasLeftIcon:!1,hasRightIcon:!1}}),d=t.forwardRef((e,a)=>{let{className:r,variant:t,size:s,error:o,success:d,leftIcon:c,rightIcon:u,rightComponent:m,...h}=e,f=t;return o&&(f="error"),d&&(f="success"),(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsxs)("div",{className:"relative",children:[c&&(0,n.jsx)("div",{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground",children:c}),(0,n.jsx)("input",{className:(0,i.cn)(l({variant:f,size:s,hasLeftIcon:!!c,hasRightIcon:!!(u||m),className:r})),ref:a,...h}),u&&(0,n.jsx)("div",{className:"absolute right-3 top-1/2 transform -translate-y-1/2 text-muted-foreground",children:u}),m&&(0,n.jsx)("div",{className:"absolute right-3 top-1/2 transform -translate-y-1/2 text-muted-foreground",children:m})]}),o&&o.trim()&&(0,n.jsx)("p",{className:"text-sm text-destructive",children:o})]})});d.displayName="Input"},50567:(e,a,r)=>{Promise.resolve().then(r.bind(r,19609))},54188:(e,a,r)=>{"use strict";r.d(a,{l:()=>d});var n=r(54568),t=r(32536),s=r(85755);let i={centered:"center center",slightlyLeft:"25% center"},o={cover:"cover",fill:"fill"},l={default:{position:i.centered,fit:o.cover},us:{position:i.slightlyLeft,fit:o.cover},fr:{position:i.centered,fit:o.fill}},d=e=>{let{type:a="Circle",countryCode:r,size:o=25,className:d}=e,c="/images/countryFlags/placeholderFlag.png";return r&&(c="All"===r?"/images/countryFlags/displayAllLanguagesFlag.png":"".concat("/images/countryFlags/").concat(r.toLowerCase()).concat(".png")),(0,n.jsx)("div",{className:(0,s.cn)("flex items-center justify-center overflow-hidden","border-1 border-border",d),style:{width:o,height:o,borderRadius:"Circle"===a?o/2:6},children:(0,n.jsx)(t.default,{src:c,alt:"Flag of ".concat(r||"unknown"),width:2*o,height:o,style:{objectFit:(e=>e&&l[e]||l.default)(r).fit,objectPosition:"Rounded"===a?"center center":"us"===r?i.slightlyLeft:i.centered,width:"100%",height:"100%"}})})};d.displayName="Flag"},54616:(e,a,r)=>{"use strict";r.d(a,{F:()=>i});var n=r(72902);let t=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,s=n.$,i=(e,a)=>r=>{var n;if((null==a?void 0:a.variants)==null)return s(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:o}=a,l=Object.keys(i).map(e=>{let a=null==r?void 0:r[e],n=null==o?void 0:o[e];if(null===a)return null;let s=t(a)||t(n);return i[e][s]}),d=r&&Object.entries(r).reduce((e,a)=>{let[r,n]=a;return void 0===n||(e[r]=n),e},{});return s(e,l,null==a||null==(n=a.compoundVariants)?void 0:n.reduce((e,a)=>{let{class:r,className:n,...t}=a;return Object.entries(t).every(e=>{let[a,r]=e;return Array.isArray(r)?r.includes({...o,...d}[a]):({...o,...d})[a]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},54895:(e,a,r)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),!function(e,a){for(var r in a)Object.defineProperty(e,r,{enumerable:!0,get:a[r]})}(a,{default:function(){return l},getImageProps:function(){return o}});let n=r(84931),t=r(86145),s=r(10489),i=n._(r(76675));function o(e){let{props:a}=(0,t.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(a))void 0===r&&delete a[e];return{props:a}}let l=s.Image},61715:(e,a,r)=>{"use strict";r.d(a,{s:()=>i,t:()=>s});var n=r(7620);function t(e,a){if("function"==typeof e)return e(a);null!=e&&(e.current=a)}function s(...e){return a=>{let r=!1,n=e.map(e=>{let n=t(e,a);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let a=0;a<n.length;a++){let r=n[a];"function"==typeof r?r():t(e[a],null)}}}}function i(...e){return n.useCallback(s(...e),e)}},62638:(e,a,r)=>{"use strict";r.d(a,{KY:()=>l,YB:()=>o,o5:()=>c});var n=r(54568),t=r(7620),s=r(54616),i=r(85755);let o={small:"font-buttonSmall",medium:"font-buttonMedium",large:"font-buttonLarge",xl:"font-headlineLarge"},l={small:"font-bodySmall",medium:"font-bodyMedium",large:"font-bodyLarge"},d=(0,s.F)("text-foreground",{variants:{variant:{h1:"font-displayLarge",h2:"font-displayMedium",h3:"font-displaySmall",h4:"font-headlineLarge",h
15:"font-headlineMedium",h6:"font-headlineSmall",titleLarge:"font-titleLarge",titleMedium:"font-titleMedium",titleSmall:"font-titleSmall",labelLarge:"font-labelLarge",labelMedium:"font-labelMedium",labelSmall:"font-labelSmall",bodyLarge:l.large,bodyMedium:l.medium,bodySmall:l.small,buttonLarge:o.large,buttonMedium:o.medium,buttonSmall:o.small,p:"font-bodyLarge [&:not(:first-child)]:mt-6",lead:"font-bodyLarge text-muted-foreground",large:"font-headlineLarge",small:"font-bodySmall leading-none",muted:"font-bodySmall text-muted-foreground",code:"relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono font-semibold",blockquote:"mt-6 border-l-2 pl-6 italic font-bodyLarge"},textColor:{default:"text-foreground",muted:"text-muted-foreground",primary:"text-primary",secondary:"text-secondary-foreground",destructive:"text-destructive",success:"text-green-600",warning:"text-yellow-600",inherit:"text-inherit"},size:{xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl":"text-4xl","5xl":"text-5xl","6xl":"text-6xl"},weight:{light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font font-semibold",bold:"font-bold",extrabold:"font-extrabold"}}}),c=t.forwardRef((e,a)=>{let{className:r,variant:s,textColor:o,size:l,weight:c,isLink:u,as:m,rightComponent:h,leftComponent:f,...p}=e,g=(()=>{if(m)return m;switch(s){case"h1":return"h1";case"h2":return"h2";case"h3":case"titleLarge":case"titleMedium":case"titleSmall":return"h3";case"h4":return"h4";case"h5":return"h5";case"h6":return"h6";case"labelLarge":case"labelMedium":case"labelSmall":case"buttonLarge":case"buttonMedium":case"buttonSmall":return"span";case"bodyLarge":case"bodyMedium":case"bodySmall":case"p":case"lead":case"muted":default:return"p";case"large":return"div";case"small":return"small";case"code":return"code";case"blockquote":return"blockquote"}})(),b=t.createElement(g,{className:(0,i.cn)(d({variant:s,textColor:o,size:l,weight:c,className:r}),u&&"text-primary underline"),ref:a,...p},p.children);return f||h?(0,n.jsxs)("div",{className:"flex items-center w-full",children:[f&&(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[f,b]}),!f&&b,h&&(0,n.jsx)("div",{className:"ml-auto",children:h})]}):b});c.displayName="Typography"},74614:(e,a,r)=>{"use strict";r.d(a,{$:()=>c,r:()=>d});var n=r(54568),t=r(7620),s=r(46118),i=r(54616),o=r(85755),l=r(62638);let d=(0,i.F)((0,o.cn)("inline-flex items-center justify-center","gap-2","rounded-md","whitespace-nowrap","cursor-pointer disabled:pointer-events-none disabled:opacity-50","[&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0","outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","transition-all"),{variants:{variant:{primary:"bg-rf-dynamic-primary text-rf-dynamic-onPrimary dark:text-white shadow-sm hover:bg-rf-dynamic-primaryDark active:bg-rf-dynamic-primaryDark",secondary:(0,o.cn)("bg-rf-dynamic-surface text-rf-dynamic-onSurfaceVariant","border border-rf-dynamic-outline dark:border-gray-600","hover:bg-rf-dynamic-tertiary200 active:bg-rf-dynamic-tertiary200"),danger:"bg-destructive text-rf-dynamic-onPrimary shadow-sm hover:bg-destructive-dark active:bg-destructive-dark","destructive-text":(0,o.cn)("bg-transparent text-destructive","border border-border","hover:bg-destructive/10 active:bg-destructive/20"),ghost:"bg-transparent text-foreground hover:bg-muted/50 active:bg-rf-dynamic-primary200",text:"bg-transparent text-primary hover:bg-primary/10 active:bg-primary/20"},size:{sm:"h-[34px] rounded-md gap-1.5 px-3 ".concat(l.YB.small),md:"h-[38px] rounded-md px-4 py-2 ".concat(l.YB.medium),lg:"h-[42px] rounded-md px-6 ".concat(l.YB.large),xl:"h-[50px] rounded-md px-8 ".concat(l.YB.xl)}},defaultVariants:{variant:"primary",size:"md"}}),c=t.forwardRef((e,a)=>{let{className:r,variant:t,size:i,asChild:l=!1,type:c="button",...u}=e,m=l?s.DX:"button";return(0,n.jsx)(m,{className:(0,o.cn)(d({variant:t,size:i,className:r})),ref:a,type:c,...u})});c.displayName="Button"},80312:(e,a,r)=>{"use strict";r.d(a,{BT:()=>n.BT,Wu:()=>n.Wu,ZB:()=>n.ZB,Zp:()=>n.Zp,aR:()=>n.aR,wL:()=>n.wL});var n=r(14936)},85755:(e,a,r)=>{"use strict";r.d(a,{cn:()=>s});var n=r(72902),t=r(13714);function s(){for(var e=arguments.length,a=Array(e),r=0;r<e;r++)a[r]=arguments[r];return(0,t.QP)((0,n.$)(a))}},87488:(e,a,r)=>{"use strict";r.d(a,{K:()=>o});var n=r(54568),t=r(7620),s=r(41692),i=r(85755);let o=t.forwardRef((e,a)=>{let{icon:r,size:t="md",variant:o="ghost",className:l,...d}=e;return(0,n.jsx)(s.$,{ref:a,variant:o,size:t,className:(0,i.cn)("rounded-full",{sm:"h-8 w-8 p-1.5 [&_svg]:size-4",md:"h-10 w-10 p-2 [&_svg]:size-5",lg:"h-12 w-12 p-3 [&_svg]:size-6"}[t],l),...d,children:r})});o.displayName="IconButton"}},e=>{e.O(0,[29959,19664,99289,10489,59759,587,803,60823,77358],()=>e(e.s=50567)),_N_E=e.O()}]);
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.