PageSourceSearch

https://imantree.com/assets/ProfileScreen-Be6gYdvn.js

js imantree.com collected 2026-09-25 03:35:43 UTC 121,919 bytes, 2 lines download raw bytes

1import{R as Nt,r as l,j as e,cl as St,dz as wt,dA as zt,C as H,dB as At,dC as Et,dD as Ct,dE as Tt,u as _i,k as Mi,L as It,g as Pt,e as Dt,dF as ki,ag as ji,dG as Lt,dH as Bt,dI as Rt,dJ as Ni,dK as qt,dL as Gt,bp as Ot,h as Si,dM as _t,dN as Mt,dO as Ft,dP as Ut,dQ as wi,a as we,dR as Ht,dS as Wt,dT as $t}from"./index-PHo2o-Lr.js";import{s as Kt}from"./widgetSync-B8nOf23_.js";import{M as zi}from"./MascotMoment-Ba_Ak6o2.js";import"./esmaulHusnaData-Cij10Mse.js";const Fi="imantree_theme_mode_v1",Ai={de:{title:"Erscheinungsbild",sub:"Hell / Dunkel / System",system:"System",light:"Hell",dark:"Dunkel"},tr:{title:"Görünüm",sub:"Açık / Koyu / Sistem",system:"Sistem",light:"Açık",dark:"Koyu"},en:{title:"Appearance",sub:"Light / Dark / System",system:"System",light:"Light",dark:"Dark"},ru:{title:"Оформление",sub:"Светлое / тёмное / системное",system:"Системное",light:"Светлое",dark:"Тёмное"},sq:{title:"Pamja",sub:"E çelët / e errët / sistemi",system:"Sistemi",light:"E çelët",dark:"E errët"},bs:{title:"Izgled",sub:"Svijetlo / tamno / sistemsko",system:"Sistemsko",light:"Svijetlo",dark:"Tamno"},es:{title:"Apariencia",sub:"Claro / Oscuro / Sistema",system:"Sistema",light:"Claro",dark:"Oscuro"},ar:{title:"المظهر",sub:"فاتح / داكن / النظام",system:"النظام",light:"فاتح",dark:"داكن"}};function Vt(){try{return localStorage.getItem(Fi)||"system"}catch{return"system"}}function Ei(t){var a;let o=t;t==="system"&&(o=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),document.documentElement.setAttribute("data-theme",o);try{localStorage.setItem(Fi,t)}catch{}try{localStorage.setItem("imanify_theme",o)}catch{}try{const g=document.querySelector('meta[name="theme-color"]');if(g){const h=document.documentElement.getAttribute("data-app-theme")||"emerald",m={light:{emerald:"#1B4332",sapphire:"#0F172A",amethyst:"#2E1065",ruby:"#4C0519"},dark:{emerald:"#0D1B15",sapphire:"#0C141D",amethyst:"#120C1D",ruby:"#1D0C0F"}};g.setAttribute("content",((a=m[o])==null?void 0:a[h])||m[o].emerald)}}catch{}}function Jt({language:t="de"}){const o=Ai[t]||Ai.de,[a,g]=Nt.useState(Vt());l.useEffect(()=>{var m;if(Ei(a),a==="system"){const s=window.matchMedia("(prefers-color-scheme: dark)"),c=()=>Ei("system");return(m=s.addEventListener)==null||m.call(s,"change",c),()=>{var v;return(v=s.removeEventListener)==null?void 0:v.call(s,"change",c)}}},[a]);const h=[{id:"system",label:o.system,icon:"🖥️"},{id:"light",label:o.light,icon:"☀️"},{id:"dark",label:o.dark,icon:"🌙"}];return e.jsxs("div",{className:"tb-block fade-in",children:[e.jsx("h3",{className:"tb-title",children:o.title}),e.jsx("p",{className:"tb-sub",children:o.sub}),e.jsx("div",{className:"tb-card-grid",style:{gridTemplateColumns:"repeat(3, 1fr)",minHeight:"auto"},children:h.map(m=>e.jsxs("button",{type:"button",onClick:()=>g(m.id),className:`tb-pick-card ${a===m.id?"tb-pick-card-active":""}`,style:{minHeight:70,padding:"12px 8px"},"aria-pressed":a===m.id,children:[e.jsx("span",{className:"tb-pick-icon",style:{fontSize:22},"aria-hidden":"true",children:m.icon}),e.jsx("span",{className:"tb-pick-name",style:{fontSize:12},children:m.label})]},m.id))})]})}const Yt=["imanify_settings","imanify_notification_prefs","imanify_prayed_today","imanify_prayer_history","imanify_prayer_preferences","imantree_manual_location_v1","imanify_birth_date","imanify_theme","imanify_dhikr_total","imanify_dhikr_recent","imanify_custom_dhikr","imanify_personal_duas","imanify_memorized_ayahs","imanify_planned_surahs","imanify_quran_bookmark","imanify_hifz_prefs","imanify_quiz_best","imanify_tracker_today","imantree_tree_state","imantree_irab_progress","imantree_mufradat_progress","imanify_personalization_v1","imanify_personalization_cache_v1"];function Zt(){St.prune();const t={exportedAt:new Date().toISOString(),appVersion:"1.0.9",deviceId:localStorage.getItem("imanify_device_id")||null,storage:{}};for(const o of Yt)try{const a=localStorage.getItem(o);if(a===null)continue;try{t.storage[o]=JSON.parse(a)}catch{t.storage[o]=a}}catch{}return t}function Xt(){const t=Zt(),o=new Blob([JSON.stringify(t,null,2)],{type:"application/json"}),a=URL.createObjectURL(o),g=document.createElement("a");g.href=a,g.download=`imantree-export-${new Date().toISOString().slice(0,10)}.json`,document.body.appendChild(g),g.click(),setTimeout(()=>{document.body.removeChild(g),URL.revokeObjectURL(a)},0)}function Qt(){const t=["date,fajr,dhuhr,asr,maghrib,isha"];try{const h=localStorage.getItem("imanify_prayer_history"),m=h?JSON.parse(h):{},s=Object.keys(m).sort();for(const c of s){const v=m[c]||{};
1t.push([c,v.fajr?"1":"0",v.dhuhr?"1":"0",v.asr?"1":"0",v.maghrib?"1":"0",v.isha?"1":"0"].join(","))}}catch{}const o=new Blob([t.join(`
2`)],{type:"text/csv"}),a=URL.createObjectURL(o),g=document.createElement("a");g.href=a,g.download=`imantree-tracker-${new Date().toISOString().slice(0,10)}.csv`,document.body.appendChild(g),g.click(),setTimeout(()=>{document.body.removeChild(g),URL.revokeObjectURL(a)},0)}const Ci={de:{title:"Datenschutz & Daten",sub:"Diagnose, Synchronisation, Export",consent:"Nutzungsanalyse erlauben",consentDesc:"Zur App-Verbesserung speichern wir Seiten- und Funktionsaufrufe sowie gestartete Checkouts mit deinem Konto. Namen religiöser Bereiche können religiöse Interessen oder Praxis erkennen lassen. Mit dem Einschalten willigst du ausdrücklich auch darin ein. Jederzeit abschaltbar.",sync:"Letzter Cloud-Sync",syncNow:"Jetzt synchronisieren",exportJson:"Lokale App-Daten als JSON exportieren",exportCsv:"Tracker als CSV exportieren",serverData:"Auskunft zu Daten auf dem Server:",never:"noch nie"},tr:{title:"Gizlilik & Veri",sub:"Tanilama, esitleme, disa aktarma",consent:"Kullanım analizine izin ver",consentDesc:"Uygulamayı geliştirmek için sayfa ve özellik görüntülemeleri ile başlatılan ödeme işlemleri hesabınla kaydedilir. Dinî bölümlerin adları ilgi veya ibadetlerini gösterebilir; açarak buna da açıkça izin verirsin. İstediğin zaman kapatabilirsin.",sync:"Son bulut esitlemesi",syncNow:"Simdi esitle",exportJson:"Yerel uygulama verilerini JSON olarak indir",exportCsv:"Vakit takibini CSV olarak indir",serverData:"Sunucudaki verilerine erişim için:",never:"henuz yok"},en:{title:"Privacy & Data",sub:"Diagnostics, sync, export",consent:"Allow usage analytics",consentDesc:"To improve the app, we store page and feature views and checkout starts with your account. Names of religious sections can reveal religious interests or practice; enabling this explicitly consents to that as well. You can turn it off anytime.",sync:"Last cloud sync",syncNow:"Sync now",exportJson:"Export local app data as JSON",exportCsv:"Export tracker as CSV",serverData:"To request data held on the server:",never:"never"},ru:{title:"Конфиденциальность и данные",sub:"Диагностика, синхронизация, экспорт",consent:"Разрешить анализ использования",consentDesc:"Для улучшения приложения просмотры страниц и функций и начало оформления заказа сохраняются с вашей учётной записью. Названия религиозных разделов могут раскрывать интересы или практику; включая анализ, вы явно соглашаетесь и с этим. Можно отключить в любое время.",sync:"Последняя облачная синхронизация",syncNow:"Синхронизировать сейчас",exportJson:"Экспортировать локальные данные приложения в JSON",exportCsv:"Экспортировать трекер в CSV",serverData:"Запросить данные на сервере:",never:"никогда"},sq:{title:"Privatësia & të dhënat",sub:"Diagnostikë, sinkronizim, eksport",consent:"Lejo analizën e përdorimit",consentDesc:"Për përmirësimin e aplikacionit, shikimet e faqeve dhe funksioneve dhe nisjet e blerjes ruhen me llogarinë tënde. Emrat e pjesëve fetare mund të tregojnë interesa ose praktikë; aktivizimi jep pëlqim të shprehur edhe për këtë. Mund ta çaktivizosh kur të duash.",sync:"Sinkronizimi i fundit në re",syncNow:"Sinkronizo tani",exportJson:"Eksporto të dhënat lokale të aplikacionit si JSON",exportCsv:"Eksporto gjurmuesin si CSV",serverData:"Për të kërkuar të dhënat në server:",never:"asnjëherë"},bs:{title:"Privatnost i podaci",sub:"Dijagnostika, sinhronizacija, izvoz",consent:"Dozvoli analizu korištenja",consentDesc:"Radi poboljšanja aplikacije, pregledi stranica i funkcija te započete kupovine čuvaju se uz tvoj račun. Nazivi vjerskih dijelova mogu otkriti interese ili praksu; uključivanjem izričito pristaješ i na to. Možeš isključiti u bilo kojem trenutku.",sync:"Posljednja sinhronizacija u oblaku",syncNow:"Sinhronizuj sada",exportJson:"Izvezi lokalne podatke aplikacije kao JSON",exportCsv:"Izvezi praćenje kao CSV",serverData:"Za pristup podacima na serveru:",never:"nikad
2a"},es:{title:"Privacidad y datos",sub:"Diagnóstico, sincronización, exportación",consent:"Permitir análisis de uso",consentDesc:"Para mejorar la app, guardamos las visitas a páginas y funciones y los inicios de compra con tu cuenta. Los nombres de secciones religiosas pueden revelar intereses o prácticas; al activarlo consientes expresamente también en ello. Puedes desactivarlo cuando quieras.",sync:"Última sincronización en la nube",syncNow:"Sincronizar ahora",exportJson:"Exportar los datos locales de la app como JSON",exportCsv:"Exportar el seguimiento como CSV",serverData:"Para solicitar los datos del servidor:",never:"nunca"},ar:{title:"Privacy",sub:"Diagnostics",consent:"السماح بتحليل الاستخدام",consentDesc:"لتحسين التطبيق، تُحفظ زيارات الصفحات والميزات وبدء عمليات الشراء مع حسابك. قد تكشف أسماء الأقسام الدينية عن اهتماماتك أو ممارستك؛ وبالتفعيل توافق صراحةً على ذلك أيضًا. يمكنك إيقافه في أي وقت.",sync:"Last cloud sync",syncNow:"Sync now",exportJson:"تصدير بيانات التطبيق المحلية بصيغة JSON",exportCsv:"Export CSV",serverData:"لطلب بياناتك المخزنة على الخادم:",never:"never"}};function ea({language:t="de",prefs:o,onChange:a,onSyncNow:g}){const h=Ci[t]||Ci.de,m=wt(o),[s,c]=l.useState(null),[v,p]=l.useState(!1);return l.useEffect(()=>{const d=()=>{try{const A=localStorage.getItem("imantree_last_sync_at");c(A?Number(A):null)}catch{}};d();const N=()=>d();return window.addEventListener("imantree:sync",N),()=>window.removeEventListener("imantree:sync",N)},[]),e.jsxs("div",{className:"tb-block fade-in",children:[e.jsxs("button",{type:"button",onClick:()=>p(!v),style:{width:"100%",background:"transparent",border:"none",padding:0,display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",textAlign:"left",color:"var(--color-text)",fontFamily:"inherit"},"aria-expanded":v,children:[e.jsxs("div",{children:[e.jsx("h3",{className:"tb-title",style:{margin:0},children:h.title}),e.jsx("p",{className:"tb-sub",style:{margin:0,marginTop:4},children:h.sub})]}),e.jsx("span",{style:{transition:"transform 0.2s",transform:v?"rotate(180deg)":"none",color:"var(--color-text-muted)",fontSize:"1.2rem",marginLeft:12},"aria-hidden":"true",children:"▾"})]}),v&&e.jsxs("div",{className:"fade-in",style:{marginTop:"16px",borderTop:"1px dashed var(--border-medium)",paddingTop:"16px"},children:[e.jsxs("div",{className:"tb-row",style:{justifyContent:"space-between"},children:[e.jsxs("div",{style:{flex:1,minWidth:0,paddingRight:12},children:[e.jsx("div",{className:"tb-label",children:h.consent}),e.jsx("div",{className:"tb-desc",children:h.consentDesc})]}),e.jsx("button",{type:"button",className:`tb-switch ${m?"active":""}`,onClick:()=>a==null?void 0:a({analyticsConsent:!m,analyticsConsentVersion:zt,analyticsConsentAt:m?null:new Date().toISOString()}),"aria-label":h.consent,"aria-pressed":m})]}),e.jsxs("div",{className:"tb-row",children:[e.jsxs("div",{style:{flex:1},children:[e.jsx("div",{className:"tb-label",children:h.sync}),e.jsx("div",{className:"tb-desc",children:s?new Date(s).toLocaleString(t):h.never})]}),e.jsx("button",{type:"button",onClick:g,className:"tb-btn",children:h.syncNow})]}),e.jsxs("div",{className:"tb-row tb-row-stack",children:[e.jsxs("button",{type:"button",onClick:Xt,className:"tb-btn-outline",children:["📥 ",h.exportJson]}),e.jsxs("button",{type:"button",onClick:Qt,className:"tb-btn-outline",children:["📊 ",h.exportCsv]}),e.jsxs("div",{className:"tb-desc",children:[h.serverData," ",e.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"})]})]})]})]})}function ia({language:t="de",onSaved:o}){const[a,g]=l.useState(!1),[h,m]=l.useState(!1),[s,c]=l.useState(!1),[v,p]=l.useState(null);l.useEffect(()=>{let y=!1;return(async()=>{if(!H.isNativePlatform())return;const E=await At();y||(g(E),m(Et()))})(),()=>{y=!0}},[]);const d={title:{de:"App-Sperre (optional)",en:"App Lock (optional)",tr:"Uygulama Kilidi (isteğe bağlı)",ar:"قفل التطبيق (اختياري)"},sub:{de:"Nur falls du dein Handy teilst: Beim Öffnen Fingerabdruck/Face-ID verlangen. Standardmäßig au
2s.",en:"Only if you share your device: ask for fingerprint/Face-ID on open. Off by default.",ru:"Только если вы делите устройство с другими: запрашивать отпечаток/Face ID при открытии. По умолчанию выключено.",sq:"Vetëm nëse e ndan pajisjen: kërko gjurmë gishti/Face ID në hapje. Joaktiv si parazgjedhje.",bs:"Samo ako dijeliš uređaj: traži otisak prsta/Face ID pri otvaranju. Isključeno po zadanom.",es:"Solo si compartes tu dispositivo: pedir huella/Face ID al abrir. Desactivado por defecto.",tr:"Telefonu paylaşıyorsan açabilirsin: Uygulamayı açarken parmak izi/yüz isteği. Varsayılan kapalı.",ar:"فقط إذا كنت تشارك هاتفك: اطلب بصمة الإصبع أو الوجه عند الفتح. مغلق افتراضياً."},on:{de:"Aktiviert",en:"Enabled",tr:"Açık",ar:"مفعل"},off:{de:"Deaktiviert",en:"Disabled",tr:"Kapalı",ar:"معطل"},notAvailable:{de:"Auf diesem Gerät nicht verfügbar.",en:"Not available on this device.",tr:"Bu cihazda kullanılamıyor.",ar:"غير متوفر على هذا الجهاز."}},N=y=>{var E,q;return((E=d[y])==null?void 0:E[t])??((q=d[y])==null?void 0:q.de)??""},A=l.useCallback(async()=>{if(!(s||!a)){p(null),c(!0);try{h?(await Ct(),m(!1)):(await Tt(),m(!0)),o==null||o()}catch(y){/cancel|12501|user_cancel/i.test((y==null?void 0:y.message)||"")||p(y.message||"Unknown error")}finally{c(!1)}}},[a,s,h,o]);return!H.isNativePlatform()||!a&&!h?null:e.jsxs("div",{className:"stg-section fade-in",children:[e.jsxs("div",{className:"stg-section-header",style:{alignItems:"center",marginBottom:0,justifyContent:"space-between"},children:[e.jsxs("div",{style:{display:"flex",gap:12,alignItems:"center",flex:1,minWidth:0,paddingRight:12},children:[e.jsx("div",{className:"stg-section-icon",style:{background:"rgba(111,179,113,0.15)",color:"var(--color-primary)"},children:e.jsxs("svg",{viewBox:"0 0 24 24",width:"22",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[e.jsx("path",{d:"M12 11v3a4 4 0 0 1-4 4"}),e.jsx("path",{d:"M16 3a8 8 0 0 1 4 7v2a8 8 0 0 1-8 8"}),e.jsx("path",{d:"M8 21a8 8 0 0 1-4-7v-2a8 8 0 0 1 8-8"}),e.jsx("path",{d:"M12 7a4 4 0 0 1 4 4v3"})]})}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:N("title")}),e.jsx("p",{className:"stg-section-sub",children:N(a?"sub":"notAvailable")})]})]}),e.jsx("button",{type:"button",className:`tb-switch ${h?"active":""}`,disabled:!a||s,onClick:A,"aria-label":N("title"),"aria-pressed":h,"aria-busy":s,style:{opacity:s?.6:1}})]}),v&&e.jsx("p",{style:{marginTop:8,color:"var(--color-error, #c62828)",fontSize:13},children:v})]})}function ta(t,o){return Object.entries(o).reduce((a,[g,h])=>a.replace(`{${g}}`,String(h)),t)}function aa({className:t=""}){const{t:o}=_i(),{isPremium:a,trialDaysLeft:g,loading:h}=Mi(),m=!a&&g>0;if(h||!m)return null;const s=g<=2,c=g===1?o("premium.trial.titleOne"):ta(o("premium.trial.title"),{n:g});return e.jsxs(It,{to:"/premium",className:`trial-status-card ${s?"trial-status-card--ending":""} ${t}`.trim(),"aria-label":`${c}. ${o("premium.common.viewPlans")}`,id:"trial-status-card",children:[e.jsx("span",{className:"trial-status-icon","aria-hidden":"true",children:e.jsxs("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",children:[e.jsx("path",{d:"M7 3v3M17 3v3M4.5 9h15M6.5 5h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-11a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Z",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"}),e.jsx("path",{d:"m9 14 2 2 4-4",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]})}),e.jsxs("span",{className:"trial-status-copy",children:[s&&e.jsx("span",{className:"trial-status-eyebrow",children:o("premium.trial.endingTitle")}),e.jsx("strong",{className:"trial-status-title",children:c}),e.jsx("span",{className:"trial-status-meta",children:o("premium.trial.desc")}),e.jsxs("span",{className:"trial-status-saved",children:["✓ ",o("premium.trial.progressSaved")]}),s&&e.jsx("span",{className:"trial-status-free",children:o("premium.trial.endingDesc")})]}),e.jsx("svg",{className:"trial-status-arrow",viewBox:"0 0 24 24",width:"18",height:"18",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"m9 18 6-6-6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})}const na=H.isNativePlatform()?"https://imantree.com/api":"/api",sa=$t,Ti="https://accounts.google.com/gsi/client",ze=t=>typeof t=="string"&&t.split(".").length===3&&t.length>100;let U=null;function ra(){var t,o;return typeof window>"u"?Promise.reject(new Error("Google ist hier nicht verfügbar.")):(o=(t=window.google)==null?void 0:t.accounts)!=null&&o.id?Promise.resolve(window.google):U||(U=new Promise((a,g)=>{let h=!1,m=null,s=null,c=document.querySelector(`script[src="${Ti}"]`);const v=!c,p=()=>{m&&clearTimeout(m),s&&clearTimeout(s),c==null||c.removeEventListener("load",N),c==null||c.removeEventListener("error",A)},d=(y,E)=>{h||(h=!0,p(),y(E))},N=()=>{var y,E;if((E=(y=window.google)==null?void 0:y.accounts)!=null&&E.id){d(a,window.google);return}m=setTimeout(N,50)},A=()=>{v&&(c!=null&&c.isConnected)&&c.remove(),d(g,new Error("Google konnte nicht geladen werden."))};v&&(c=document.createElement("script"),c.src=Ti,c.async=!0,c.defer=!0),c.addEventListener("load",N),c.addEventListener("error",A),v&&document.head.appendChild(c),s=setTimeout(()=>A(),8e3),N()}),U.catch(()=>{U=null}),U)}async function oa(){const t=await ra();return new Promise((o,a)=>{let g=!1;const h=setTimeout(()=>{m(a,new Error("Google-Bestätigung ist abgelaufen. Bitte erneut versuchen."))},6e4),m=(s,c)=>
2{g||(g=!0,clearTimeout(h),s(c))};try{t.accounts.id.initialize({client_id:sa,auto_select:!1,cancel_on_tap_outside:!0,use_fedcm_for_prompt:!0,callback:s=>{const c=s==null?void 0:s.credential;if(!ze(c)){m(a,new Error("Google hat keinen gültigen Bestätigungsnachweis geliefert."));return}m(o,c)}}),t.accounts.id.prompt(s=>{var d,N,A,y;const c=((d=s==null?void 0:s.isSkippedMoment)==null?void 0:d.call(s))||((N=s==null?void 0:s.isNotDisplayedMoment)==null?void 0:N.call(s)),v=(A=s==null?void 0:s.getDismissedReason)==null?void 0:A.call(s),p=((y=s==null?void 0:s.isDismissedMoment)==null?void 0:y.call(s))&&["cancel_called","tap_outside"].includes(v);(c||p)&&m(a,new Error("Google-Bestätigung wurde nicht abgeschlossen."))})}catch{m(a,new Error("Google-Bestätigung konnte nicht gestartet werden."))}})}const la=["emerald","sapphire","amethyst","ruby"],re=[{code:"de",short:"DE",native:"Deutsch",flag:"🇩🇪"},{code:"tr",short:"TR",native:"Türkçe",flag:"🇹🇷"},{code:"en",short:"EN",native:"English",flag:"🇬🇧"},{code:"ar",short:"AR",native:"العربية",flag:"🇸🇦"},{code:"hi",short:"HI",native:"हिन्दी",flag:"🇮🇳"},{code:"fa",short:"FA",native:"دری",flag:"🇦🇫"},{code:"ru",short:"RU",native:"Русский",flag:"🇷🇺"},{code:"sq",short:"SQ",native:"Shqip",flag:"🇽🇰"},{code:"bs",short:"BS",native:"Bosanski",flag:"🇧🇦"},{code:"es",short:"ES",native:"Español",flag:"🇪🇸"}],ca=[{value:"male",icon:"👨",label:{de:"Mann",en:"Male",tr:"Erkek",ar:"ذكر",sq:"Mashkull",ru:"Мужчина",fa:"مرد",hi:"पुरुष",bs:"Muškarac",es:"Hombre"}},{value:"female",icon:"👩",label:{de:"Frau",en:"Female",tr:"Kadın",ar:"أنثى",sq:"Femër",ru:"Женщина",fa:"زن",hi:"महिला",bs:"Žena",es:"Mujer"}}],da=[{value:"hanafi",label:{de:"Hanafi",en:"Hanafi",tr:"Hanefi",ar:"حنفي",sq:"Hanefi",ru:"Ханафи",fa:"حنفی",hi:"हनफ़ी",bs:"Hanefijski",es:"Hanafí"}},{value:"shafi",label:{de:"Schafi'i",en:"Shafi'i",tr:"Şafii",ar:"شافعي",sq:"Shafii",ru:"Шафии",fa:"شافعی",hi:"शफ़ीई",bs:"Šafijski",es:"Shafi'í"}},{value:"maliki",label:{de:"Maliki",en:"Maliki",tr:"Maliki",ar:"مالكي",sq:"Maliki",ru:"Малики",fa:"مالکی",hi:"मालिकी",bs:"Malikijski",es:"Malikí"}},{value:"hanbali",label:{de:"Hanbali",en:"Hanbali",tr:"Hanbeli",ar:"حنبلي",sq:"Hanbeli",ru:"Ханбали",fa:"حنبلی",hi:"हनबली",bs:"Hanbelijski",es:"Hanbalí"}},{value:"none",label:{de:"Keine Angabe",en:"No preference",tr:"Belirtmek istemiyorum",ar:"لا تفضيل",sq:"Pa preferencë",ru:"Не указывать",fa:"بدون ترجیح",hi:"कोई प्राथमिकता नहीं",bs:"Bez preferencije",es:"Sin preferencia"}}],Ii={genderMezhep:{de:"Geschlecht & Rechtsschule",tr:"Cinsiyet & Mezhep",en:"Gender & School",ar:"الجنس والمذهب",sq:"Gjinia & Medhhebi",bs:"Spol i mezheb",es:"Género y escuela jurídica",ru:"Пол и Мазхаб",fa:"جنسیت و مذهب",hi:"लिंग और मदहब"},genderMezhepSub:{de:"Fiqh-Antworten, Zakat & Halal-Scanner richten sich danach",tr:"Fıkıh cevapları, zekât ve helal tarayıcı buna göre ayarlanır",en:"Fiqh answers, zakat & halal scanner follow this",ar:"تتبع إجابات الفقه والزكاة وماسح الحلال هذا الاختيار",sq:"Përgjigjet e fikhut, zekati dhe skaneri hallall përshtaten sipas kësaj",bs:"Fikhski odgovori, zekat i halal skener prilagođavaju se ovome",es:"Las respuestas de fiqh, el Zakat y el escáner Halal se rigen por esto",ru:"Ответы по фикху, закят и халяль-сканер подстраиваются под это",fa:"پاسخ‌های فقهی، زکات و اسکنر حلال بر این اساس تنظیم می‌شوند",hi:"फ़िक़्ह के उत्तर, ज़कात और हलाल स्कैनर इसी के अनुसार होते हैं"},gender:{de:"Geschlecht",tr:"CİNSİYET",en:"GENDER",ar:"الجنس",sq:"GJINIA",bs:"SPOL",es:"GÉNERO",ru:"ПОЛ",fa:"جنسیت",hi:"लिंग"},mezhep:{de:"Rechtsschule",tr:"MEZHEP",en:"SCHOOL OF LAW",ar:"المذهب",sq:"MEDHHEBI",bs:"MEZHEB",es:"ESCUELA JURÍDICA",ru:"МАЗХАБ",fa:"مذهب",hi:"मज़हब"}},oe=(t,o)=>{var a,g;return((a=Ii[t])==null?void 0:a[o])||((g=Ii[t])==null?void 0:g.en)||""},Pi={guestTitle:{de:"Du nutzt ein Gastkonto",tr:"Misafir hesabı kullanıyorsun",en:"You are using a guest account",ar:"أنت تستخدم حساب ضيف",hi:"आप अतिथि खाता इस्तेमाल कर रहे हैं",fa:"شما از حساب مهمان استفاده می‌کنید",ru:"Вы используете гостевой аккаунт",sq:"Po përdorni një llogari vizitori",bs:"Koristiš gostujući račun",es:"Estás usando una cuenta de invitado"},guestDescription:{de:"Mache dein Gastkonto dauerhaft, damit dein Fortschritt und deine Käufe erhalten bleiben.",tr:"İlerlemeni ve satın alımlarını korumak için misafir hesabını şimdi kalıcı hale getir.",en:"Make your guest account permanent to keep your progress and purchases safe.",ar:"حوّل حساب الضيف إلى حساب دائم للحفاظ على تقدمك ومشترياتك.",hi:"अपने अतिथि खाते को स्थायी बनाएँ, ताकि आपकी प्रगति और खरीदारी सुरक्षित रहे।",fa:"حساب مهمان خود را دائمی کنید تا پیشرفت و خریدهایتان حفظ شود.",ru:"Сделайте гостевой аккаунт постоянным, чтобы сохранить прогресс и покупки.",sq:"Bëjeni të përhershme llogarinë e vizitorit për të ruajtur përparimin dhe bler
2jet.",bs:"Učini gostujući račun trajnim kako bi sačuvao/la napredak i kupovine.",es:"Haz permanente tu cuenta de invitado para conservar tu progreso y tus compras."},guestCta:{de:"Konto verknüpfen & Fortschritt sichern",tr:"Hesabını bağla ve ilerlemeni koru",en:"Link account & save progress",ar:"اربط الحساب واحفظ تقدمك",hi:"खाता लिंक करें और प्रगति सहेजें",fa:"پیوند حساب و ذخیره پیشرفت",ru:"Привязать аккаунт и сохранить прогресс",sq:"Lidh llogarinë dhe ruaj përparimin",bs:"Poveži račun i sačuvaj napredak",es:"Vincular cuenta y guardar progreso"},addGoogle:{de:"Google als Anmeldung hinzufügen",tr:"Google ile girişi bağla",en:"Add Google sign-in",ar:"إضافة تسجيل الدخول عبر Google",hi:"Google साइन इन जोड़ें",fa:"افزودن ورود با Google",ru:"Добавить вход через Google",sq:"Shto hyrjen me Google",bs:"Dodaj prijavu putem Googlea",es:"Añadir inicio de sesión con Google"},addApple:{de:"Apple als Anmeldung hinzufügen",tr:"Apple ile girişi bağla",en:"Add Apple sign-in",ar:"إضافة تسجيل الدخول عبر Apple",hi:"Apple साइन इन जोड़ें",fa:"افزودن ورود با Apple",ru:"Добавить вход через Apple",sq:"Shto hyrjen me Apple",bs:"Dodaj prijavu putem Applea",es:"Añadir inicio de sesión con Apple"},guestProvider:{de:"Gast",tr:"Misafir",en:"Guest",ar:"ضيف",hi:"अतिथि",fa:"مهمان",ru:"Гость",sq:"Vizitor",bs:"Gost",es:"Invitado"},guestName:{de:"Gast",tr:"Misafir",en:"Guest",ar:"ضيف",hi:"अतिथि",fa:"مهمان",ru:"Гость",sq:"Vizitor",bs:"Gost",es:"Invitado"},premiumActive:{de:"Aktiv",tr:"Aktif",en:"Active",ar:"نشط",hi:"सक्रिय",fa:"فعال",ru:"Активно",sq:"Aktiv",bs:"Aktivno",es:"Activo"},emailProvider:{de:"E-Mail",tr:"E-posta",en:"Email",ar:"البريد الإلكتروني",hi:"ईमेल",fa:"ایمیل",ru:"Эл. почта",sq:"Email",bs:"E-mail",es:"Correo"}},Di={changeBtn:{de:"E-Mail ändern",tr:"E-postayı değiştir",en:"Change email",ar:"تغيير البريد الإلكتروني",hi:"ईमेल बदलें",fa:"تغییر ایمیل",ru:"Изменить почту",sq:"Ndrysho emailin",bs:"Promijeni e-mail",es:"Cambiar correo"},relayHint:{de:"Du nutzt eine anonyme Apple-Adresse. Hinterlege hier deine echte E-Mail.",tr:"Anonim bir Apple adresi kullanıyorsun. Gerçek e-postanı buradan ekleyebilirsin.",en:"You are using an anonymous Apple relay address. Set your real email here.",ar:"أنت تستخدم عنوان Apple مجهولاً. أدخل بريدك الإلكتروني الحقيقي هنا.",hi:"आप Apple का एक गुमनाम पता इस्तेमाल कर रहे हैं। यहाँ अपना असली ईमेल दर्ज करें।",fa:"شما از نشانی ناشناس Apple استفاده می‌کنید. ایمیل واقعی خود را اینجا وارد کنید.",ru:"Вы используете анонимный адрес Apple. Укажите здесь свою настоящую почту.",sq:"Po përdorni një adresë anonime të Apple. Vendosni këtu emailin tuaj të vërtetë.",bs:"Koristiš anonimnu Apple relay adresu. Ovdje postavi svoj pravi e-mail.",es:"Estás usando una dirección anónima de Apple. Introduce aquí tu correo real."},dialogTitle:{de:"E-Mail-Adresse ändern",tr:"E-posta adresini değiştir",en:"Change email address",ar:"تغيير عنوان البريد الإلكتروني",hi:"ईमेल पता बदलें",fa:"تغییر نشانی ایمیل",ru:"Изменить адрес почты",sq:"Ndrysho adresën e emailit",bs:"Promijeni e-mail adresu",es:"Cambiar dirección de correo"},newLabel:{de:"Neue E-Mail-Adresse",tr:"Yeni e-posta adresi",en:"New email address",ar:"عنوان البريد الإلكتروني الجديد",hi:"नया ईमेल पता",fa:"نشانی ایمیل جدید",ru:"Новый адрес почты",sq:"Adresa e re e emailit",bs:"Nova e-mail adresa",es:"Nueva dirección de correo"},sendCode:{de:"Code senden",tr:"Kod gönder",en:"Send code",ar:"إرسال الرمز",hi:"कोड भेजें",fa:"ارسال کد",ru:"Отправить код",sq:"Dërgo kodin",bs:"Pošalji kod",es:"Enviar código"},codeSentTo:{de:"Wir haben einen 6-stelligen Code an {email} gesendet.",tr:"{email} adresine 6 haneli bir kod gönderdik.",en:"We sent a 6-digit code to {email}.",ar:"أرسلنا رمزًا مكونًا من 6 أرقام إلى {email}.",hi:"हमने {email} पर 6 अंकों का कोड भेजा है।",fa:"یک کد ۶ رقمی به {email} فرستادیم.",ru:"Мы отправили 6-значный код на адрес {email}.",sq:"Dërguam një kod 6-shifror te {email}.",bs:"Poslali smo 6-cifreni kod na {email}.",es:"Hemos enviado un código de 6 dígitos a {email}."}
2,codeLabel:{de:"Bestätigungscode",tr:"Doğrulama kodu",en:"Verification code",ar:"رمز التحقق",hi:"पुष्टिकरण कोड",fa:"کد تأیید",ru:"Код подтверждения",sq:"Kodi i konfirmimit",bs:"Kod za verifikaciju",es:"Código de verificación"},confirm:{de:"Bestätigen",tr:"Onayla",en:"Confirm",ar:"تأكيد",hi:"पुष्टि करें",fa:"تأیید",ru:"Подтвердить",sq:"Konfirmo",bs:"Potvrdi",es:"Confirmar"},back:{de:"Zurück",tr:"Geri",en:"Back",ar:"رجوع",hi:"वापस",fa:"بازگشت",ru:"Назад",sq:"Kthehu",bs:"Nazad",es:"Atrás"},changed:{de:"E-Mail erfolgreich geändert ✓",tr:"E-posta başarıyla değiştirildi ✓",en:"Email changed successfully ✓",ar:"تم تغيير البريد الإلكتروني بنجاح ✓",hi:"ईमेल सफलतापूर्वक बदल दिया गया ✓",fa:"ایمیل با موفقیت تغییر کرد ✓",ru:"Адрес почты успешно изменён ✓",sq:"Emaili u ndryshua me sukses ✓",bs:"E-mail uspješno promijenjen ✓",es:"Correo cambiado correctamente ✓"},invalid:{de:"Bitte gib eine gültige E-Mail ein",tr:"Lütfen geçerli bir e-posta gir",en:"Please enter a valid email",ar:"يرجى إدخال بريد إلكتروني صالح",hi:"कृपया एक मान्य ईमेल दर्ज करें",fa:"لطفاً یک ایمیل معتبر وارد کنید",ru:"Введите действительный адрес почты",sq:"Shkruani një email të vlefshëm",bs:"Unesi važeći e-mail",es:"Introduce un correo válido"},currentPw:{de:"Aktuelles Passwort",tr:"Mevcut şifre",en:"Current password",ar:"كلمة المرور الحالية",hi:"मौजूदा पासवर्ड",fa:"رمز عبور فعلی",ru:"Текущий пароль",sq:"Fjalëkalimi aktual",bs:"Trenutna lozinka",es:"Contraseña actual"},loginUnchanged:{de:"Dein Apple-Login funktioniert danach weiterhin wie gewohnt.",tr:"Apple ile girişin bundan sonra da aynen çalışmaya devam eder.",en:"Your Apple sign-in will keep working as before.",ar:"سيستمر تسجيل الدخول عبر Apple في العمل كالمعتاد.",hi:"इसके बाद भी आपका Apple साइन इन पहले की तरह काम करता रहेगा।",fa:"پس از آن، ورود با Apple همچنان مانند قبل کار می‌کند.",ru:"После этого вход через Apple продолжит работать как раньше.",sq:"Pas kësaj, hyrja me Apple do të vazhdojë të funksionojë si më parë.",bs:"Tvoja Apple prijava nastavit će raditi kao i prije.",es:"Tu inicio de sesión con Apple seguirá funcionando como siempre."},reauthHint:{de:"Bestätige zuerst deine verknüpfte Anmeldung. Danach senden wir den Code an die neue E-Mail.",tr:"Önce bağlı girişini doğrula. Ardından kodu yeni e-posta adresine göndereceğiz.",en:"Confirm your linked sign-in first. Then we will send the code to your new email.",ar:"أكد أولاً طريقة تسجيل الدخول المرتبطة. بعدها سنرسل الرمز إلى بريدك الإلكتروني الجديد.",hi:"पहले अपने लिंक किए गए साइन इन की पुष्टि करें। उसके बाद हम नए ईमेल पर कोड भेजेंगे।",fa:"ابتدا ورود پیوندخورده خود را تأیید کنید. سپس کد را به ایمیل جدید می‌فرستیم.",ru:"Сначала подтвердите привязанный способ входа. Затем мы отправим код на новый адрес.",sq:"Fillimisht konfirmoni hyrjen e lidhur. Më pas do ta dërgojmë kodin te emaili i ri.",bs:"Prvo potvrdi svoju povezanu prijavu. Zatim šaljemo kod na tvoj novi e-mail.",es:"Primero confirma tu inicio de sesión vinculado. Después enviaremos el código a tu nuevo correo."},reauthGoogle:{de:"Mit Google bestätigen",tr:"Google ile doğrula",en:"Confirm with Google",ar:"التأكيد عبر Google",hi:"Google से पुष्टि करें",fa:"تأیید با Google",ru:"Подтвердить через Google",sq:"Konfirmo me Google",bs:"Potvrdi putem Googlea",es:"Confirmar con Google"},reauthApple:{de:"Mit Apple bestätigen",tr:"Apple ile doğrula",en:"Confirm with Apple",ar:"التأكيد عبر Apple",hi:"Apple से पुष्टि करें",fa:"تأیید با Apple",ru:"Подтвердить через Apple",sq:"Konfirmo me Apple",bs:"Potvrdi putem Applea",es:"Confirmar con Apple"},reauthReady:{de:"Anmeldung bestätigt",tr:"Giriş doğrulandı",en:"Sign-in confirmed",ar:"تم تأكيد تسجيل الدخول",hi:"साइन इन की पुष्टि हो गई",fa:"ورود تأیید شد",ru:"Вход подтверждён",sq:"Hyrja u konfirmua",bs:"Prijava potvrđena",es:"Inicio de sesión confirmado"},reauthRequired:{de:"Bestätige zuerst eine verknüpfte Anmeldung.",tr:"Önce bağlı bir girişi doğrula.",en:"Confirm a linked sign-in first.",ar:"أكد أولاً طريقة تسجيل دخول مرتبطة.",hi:"पहले लिंक किए गए साइन इन की पुष्टि करें।",fa:"ابتدا یک ورود پیوندخورده را تأیید کنید.",ru:"Сначала подтвердите привязанный способ входа.",sq:"Fillimisht konfirmoni një hyrje të lidhur.",bs:"Prvo potvrdi povezanu prijavu.",es:"Confirma primero un inicio de sesión vinculado."},appleReauthIosOnly:{de:"Bitte bestätige Apple in der iOS-App.",tr:"Lütfen Apple’ı iOS uygulamasında doğrula.",en:"Please confirm Apple in the iOS app.",ar:"يرجى تأكيد Apple في تطبيق iOS.",hi:"कृपया iOS ऐप में Apple की पुष्टि करें।",fa:"لطفاً Apple را در برنامه iOS تأیید کنید.",ru:"Подтвердите Apple в приложении для iOS.",sq:"Konfirmoni Apple në aplikacionin iOS.",bs:"Potvrdi Apple u iOS aplikaciji.",es:"Confirma Apple en la app de iOS."},googleReauthFailed:{de:"Google konnte deine Anmeldung nicht bestätigen. Bitte versuche es erneut.",tr:"Google girişini doğrulayamadı. Lütfen tekrar dene.",en:"Google could not confirm your sign-in. Please try again.",ar:"تعذّر على Google تأكيد تسجيل دخولك. حاول مرة أخرى.",hi:"Google आपके साइन इन की पुष्टि नहीं कर सका। कृपया फिर प्रयास करें।",fa:"Google نتوانست ورود شما را تأیید کند. لطفاً دوباره تلاش کنید.",ru:"Google не удалось подтвердить ваш вход. Повторите попытку.",sq:"Google nuk mundi ta konfirmonte hyrjen tuaj. Provoni përsëri.",bs:"Google nije mogao potvrditi tvoju prijavu. Pokušaj ponovo.",es:"Google no pudo confirmar tu inicio de sesión. Inténtalo de nuevo."},appleReauthFailed:{de:"Apple konnte deine Anmeldung nicht bestätigen. Bitte versuche es erneut.",tr:"Apple girişini doğrulayamadı. Lütfen tekrar dene.",en:"Apple could not confirm your sign-in. Please try again.",ar:"تعذّر على Apple تأكيد تسجيل دخولك. حاول مرة أخرى.",hi:"Apple आपके साइन इन की पुष्टि नहीं कर सका। कृपया फिर प्रयास करें।",fa:"Apple نتوانست ورود شما را تأیید کند. لطفاً دوباره تلاش کنید.",ru:"Apple не удалось подтвердить ваш вход. Повторите попытку.",sq:"Apple nuk mundi ta konfirmonte hyrjen tuaj. Provoni përsëri.",bs:"Apple nije mogao potvrditi tvoju prijavu. Pokušaj ponovo.",es:"Apple no pudo confirmar tu inicio de sesión. Inténtalo de nuevo."},emailRequestFailed:{de:"Der Bestätigungscode konnte nicht gesendet werden. Bitte versuche es erneut.",tr:"Doğrulama kodu gönderilemedi. Lütfen tekrar dene.",en:"The verification code could not be sent. Please try again.",ar:"تعذّر إرسال رمز التحقق. حاول مرة أخرى.",hi:"पुष्टिकरण कोड नहीं भेजा जा सका। कृपया फिर प्रयास करें।",fa:"کد تأیید ارسال نشد. لطفاً دوباره تلاش کنید.",ru:"Не удалось отправить код подтверждения. Повторите попытку.",sq:"Kodi i konfirmimit nuk mund të dërgohej. Provoni përsëri.",bs:"Kod za verifikaciju nije mogao biti poslan. Pokušaj ponovo.",es:"No se pudo enviar el código de verificación. Inténtalo de nuevo."},emailConfirmFailed:{de:"Der Bestätigungscode konnte nicht bestätigt werden. Bitte versuche es erneut.",tr:"Doğrulama kodu onaylanamadı. Lütfen tekrar dene.",en:"The verification code could not be confirmed. Please try again.",ar:"تعذّر تأكيد رمز التحقق. حاول مرة أخرى.",hi:"पुष्टिकरण कोड की पुष्टि नहीं हो सकी। कृपया फिर प्रयास करें।",fa:"کد تأیید تأیید نشد. لطفاً دوباره تلاش کنید.",ru:"Не удалось подтвердить код. Повторите попытку.",sq:"Kodi i konfirmimit nuk mund të verifikohej. Provoni përsëri.",bs:"Kod za verifikaciju nije mogao biti potvrđen. Pokušaj ponovo.",es:"No se pudo confirmar el código de verificación. Inténtalo de nuevo."}},Li={subTitle:{de:"Abonnement",tr:"Abonelik",en:"Subscription",ar:"الاشتراك",hi:"सदस्यता",fa:"اشتراک",ru:"Подписка",sq:"Abonimi",bs:"Pretplata",es:"Suscripción"},subSub:{de:"Verwalte dein Imantree Abo",tr:"Imantree aboneliğini yönet",en:"Manage your Imantree subscription",ar:"أدر اشتراك Imantree الخاص بك",hi:"अपनी Imantree सदस्यता प्रबंधित करें",fa:"اشتراک Imantree خود را مدیریت کنید",ru:"Управляйте подпиской Imantree",sq:"Menaxho abonimin tënd Imantree",bs:"Upravljaj svojom Imantree pretplatom",es:"Gestiona tu suscripción de Imantree"},lifetimeActive:{de:"Imantree Lifetime aktiv",tr:"Imantree Lifetime aktif",en:"Imantree Lifetime active",ar:"Imantree Lifetime مفعّل",hi:"Imantree लाइफटाइम सक्रिय",fa:"Imantree مادام‌العمر فعال است",ru:"Imantree навсегда — активно",sq:"Imantree Lifetime është aktiv",bs:"Imantree Doživotno aktivn
2o",es:"Imantree Lifetime activo"},lifetimeSub:{de:"Einmal gekauft — für immer alle Funktionen ohne Limits.",tr:"Tek seferlik satın alma — sonsuza dek tüm özellikler, limitsiz.",en:"One-time purchase — all features forever, no limits.",ar:"شراء لمرة واحدة — كل الميزات للأبد بلا حدود.",hi:"एक बार खरीदें — सभी सुविधाएँ हमेशा के लिए, बिना किसी सीमा के।",fa:"یک‌بار خرید — همه امکانات برای همیشه و بدون محدودیت.",ru:"Одна покупка — все функции навсегда и без ограничений.",sq:"Një blerje — të gjitha veçoritë përgjithmonë, pa kufizime.",bs:"Jednokratna kupovina — sve funkcije zauvijek, bez limita.",es:"Compra única — todas las funciones para siempre, sin límites."},giftedActive:{de:"Imantree Premium (Geschenkt) aktiv",tr:"Imantree Premium (Hediye) aktif",en:"Imantree Premium (Gifted) active",ar:"Imantree Premium (هدية) مفعّل",hi:"Imantree Premium (उपहार) सक्रिय",fa:"Imantree Premium (هدیه) فعال است",ru:"Imantree Premium (подарок) — активно",sq:"Imantree Premium (dhuratë) është aktiv",bs:"Imantree Premium (poklon) aktivan",es:"Imantree Premium (regalo) activo"},tierActive:{de:"Imantree {tier} aktiv",tr:"Imantree {tier} aktif",en:"Imantree {tier} active",ar:"Imantree {tier} مفعّل",hi:"Imantree {tier} सक्रिय",fa:"Imantree {tier} فعال است",ru:"Imantree {tier} — активно",sq:"Imantree {tier} është aktiv",bs:"Imantree {tier} aktivan",es:"Imantree {tier} activo"},activeSub:{de:"Dein spiritueller Begleiter in voller Kraft.",tr:"Manevi yol arkadaşın tam gücünde.",en:"Your spiritual companion at full strength.",ar:"رفيقك الروحي بكامل قوته.",hi:"आपका आध्यात्मिक साथी अपनी पूरी क्षमता के साथ।",fa:"همراه معنوی شما با تمام توان.",ru:"Ваш духовный спутник в полную силу.",sq:"Shoqëruesi yt shpirtëror me të gjitha mundësitë.",bs:"Tvoj duhovni saputnik u punoj snazi.",es:"Tu compañero espiritual a pleno rendimiento."},freeTitle:{de:"Imantree Samen",tr:"Imantree Tohum",en:"Imantree Seed",ar:"Imantree بذرة",hi:"Imantree बीज",fa:"دانه Imantree",ru:"Imantree Семя",sq:"Imantree Fara",bs:"Imantree Sjeme",es:"Imantree Semilla"},freeSub:{de:"Upgrade für unbegrenzten Zugriff.",tr:"Sınırsız erişim için yükselt.",en:"Upgrade for unlimited access.",ar:"قم بالترقية للوصول غير المحدود.",hi:"असीमित एक्सेस के लिए अपग्रेड करें।",fa:"برای دسترسی نامحدود ارتقا دهید.",ru:"Перейдите на другой план для безлимитного доступа.",sq:"Përmirësoje për qasje të pakufizuar.",bs:"Nadogradi za neograničen pristup.",es:"Mejora tu plan para un acceso ilimitado."},manageBtn:{de:"Abo verwalten",tr:"Aboneliği yönet",en:"Manage subscription",ar:"إدارة الاشتراك",hi:"सदस्यता प्रबंधित करें",fa:"مدیریت اشتراک",ru:"Управлять подпиской",sq:"Menaxho abonimin",bs:"Upravljaj pretplatom",es:"Gestionar suscripción"},plansBtn:{de:"Tarif-Übersicht ansehen",tr:"Tarifelere göz at",en:"View plans",ar:"عرض الباقات",hi:"प्लान देखें",fa:"مشاهده طرح‌ها",ru:"Посмотреть планы",sq:"Shiko planet",bs:"Pogledaj planove",es:"Ver los planes"},discoverBtn:{de:"Premium entdecken",tr:"Premium'u keşfet",en:"Discover Premium",ar:"اكتشف Premium",hi:"Premium जानें",fa:"آشنایی با Premium",ru:"Узнать о Premium",sq:"Zbulo Premium",bs:"Otkrij Premium",es:"Descubre Premium"},invoicesBtn:{de:"Rechnungen anzeigen",tr:"Faturaları görüntüle",en:"View invoices",ar:"عرض الفواتير",hi:"इनवॉइस देखें",fa:"مشاهده فاکتورها",ru:"Посмотреть счета",sq:"Shiko faturat",bs:"Pogledaj račune",es:"Ver facturas"},invoicesTitle:{de:"Rechnungen",tr:"Faturalar",en:"Invoices",ar:"الفواتير",hi:"इनवॉइस",fa:"فاکتورها",ru:"Счета",sq:"Faturat",bs:"Računi",es:"Facturas"},invoicesLoading:{de:"Lade Rechnungen…",tr:"Faturalar yükleniyor…",en:"Loading invoices…",ar:"جارٍ تحميل الفواتير…",hi:"इनवॉइस लोड हो रहे हैं …",fa:"در حال بارگذاری فاکتورها …",ru:"Загрузка счетов …",sq:"Po ngarkohen faturat …",bs:"Učitavanje računa…",es:"Cargando facturas…"},invoicesEmpty:{de:"Keine Rechnungen vorhanden.",tr:"Fatura bulunamadı.",en:"No invoices yet.",ar:"لا توجد فواتير.",hi:"अभी कोई इनवॉइस नहीं है।",fa:"هنوز فاکتوری وجود ندارد.",ru:"Счетов пока нет.",sq:"Nuk ka ende fatura.",bs:"JoÅ¡ nema računa.",es:"Todavía no hay facturas."},invoicesPaid:{de:"Bezahlt",tr:"Ödendi",en:"Paid",ar:"مدفوعة",hi:"भुगतान किया गया",fa:"پرداخت‌شده",ru:"Оплачено",sq:"Paguar",bs:"Plaćeno",es:"Pagada"},invoicesOpen:{de:"Offen",tr:"Açık",en:"Open",ar:"مفتوحة",hi:"खुला",fa:"باز",ru:"Открыт",sq:"E hapur",bs:"Otvoreno",es:"Abierta"},invoicesDraft:{de:"Entwurf",tr:"Taslak",en:"Draft",ar:"مسودة",hi:"ड्à
2¤°à¤¾à¤«à¤¼à¥à¤Ÿ",fa:"پیش‌نویس",ru:"Черновик",sq:"Draft",bs:"Nacrt",es:"Borrador"},invoicesVoid:{de:"Storniert",tr:"İptal edildi",en:"Void",ar:"ملغاة",hi:"रद्द",fa:"باطل‌شده",ru:"Аннулирован",sq:"Anuluar",bs:"PoniÅ¡teno",es:"Anulada"},invoicesUncollectible:{de:"Nicht einziehbar",tr:"Tahsil edilemedi",en:"Uncollectible",ar:"متعذّرة التحصيل",hi:"वसूल नहीं हुआ",fa:"غیرقابل‌وصول",ru:"Не подлежит взысканию",sq:"E paarkëtueshme",bs:"Nenaplativo",es:"Incobrable"},invoicesStatusUnknown:{de:"Status unbekannt",tr:"Durum bilinmiyor",en:"Status unavailable",ar:"الحالة غير متاحة",hi:"स्थिति उपलब्ध नहीं",fa:"وضعیت در دسترس نیست",ru:"Статус недоступен",sq:"Statusi nuk disponohet",bs:"Status nedostupan",es:"Estado no disponible"},invoicesError:{de:"Fehler beim Laden der Rechnungen",tr:"Faturalar yüklenemedi",en:"Failed to load invoices",ar:"تعذّر تحميل الفواتير",hi:"इनवॉइस लोड नहीं हो सके",fa:"فاکتورها بارگذاری نشدند",ru:"Не удалось загрузить счета",sq:"Faturat nuk mund të ngarkoheshin",bs:"Učitavanje računa nije uspjelo",es:"Error al cargar las facturas"},connError:{de:"Verbindungsfehler",tr:"Bağlantı hatası",en:"Connection error",ar:"خطأ في الاتصال",hi:"कनेक्शन त्रुटि",fa:"خطای اتصال",ru:"Ошибка подключения",sq:"Gabim lidhjeje",bs:"GreÅ¡ka veze",es:"Error de conexión"},designTitle:{de:"App & Widget Design",tr:"Uygulama & Widget Tasarımı",en:"App & Widget Design",ar:"تصميم التطبيق والودجات",hi:"ऐप और विजेट डिज़ाइन",fa:"طراحی برنامه و ویجت",ru:"Дизайн приложения и виджетов",sq:"Dizajni i aplikacionit dhe widget-it",bs:"Dizajn aplikacije i widgeta",es:"Diseño de la app y los Widgets"},designSub:{de:"Personalisiere das globale Design deiner App & Widgets",tr:"Uygulama ve widget tasarımını kişiselleştir",en:"Personalize the global design of your app & widgets",ar:"خصّص التصميم العام لتطبيقك وودجاتك",hi:"अपने ऐप और विजेट का समग्र डिज़ाइन वैयक्तिकृत करें",fa:"طراحی کلی برنامه و ویجت‌ها را شخصی‌سازی کنید",ru:"Настройте общий дизайн приложения и виджетов",sq:"Personalizo dizajnin e përgjithshëm të aplikacionit dhe widget-eve",bs:"Personalizuj globalni dizajn svoje aplikacije i widgeta",es:"Personaliza el diseño global de tu app y tus Widgets"},themeLock:{de:"🔒 Samen enthält {n} Themes. Mehr mit Blüte & Baum.",tr:"🔒 Tohum {n} tema içerir. Daha fazlası Çiçek & Ağaç ile.",en:"🔒 Seed includes {n} themes. More with Bloom & Tree.",ar:"🔒 تتضمن «بذرة» {n} سمات. المزيد مع «زهرة» و«شجرة».",hi:"ðŸ”
2’ बीज में {n} थीम शामिल हैं। फूल और पेड़ में और भी मिलेंगे।",fa:"🔒 طرح دانه شامل {n} پوسته است. پوسته‌های بیشتر با شکوفه و درخت.",ru:"🔒 В «Семя» входит тем: {n}. Больше доступно в «Цветок» и «Дерево».",sq:"🔒 Fara përfshin {n} tema. Më shumë me Lulen dhe Pemën.",bs:"🔒 Sjeme uključuje {n} tema. ViÅ¡e uz Cvijet i Drvo.",es:"🔒 Semilla incluye {n} temas. Más con Flor y Árbol."},previewBtn:{de:"Live-Vorschau öffnen",tr:"Canlı önizlemeyi aç",en:"Open live preview",ar:"فتح المعاينة المباشرة",hi:"लाइव प्रीव्यू खोलें",fa:"باز کردن پیش‌نمایش زنده",ru:"Открыть предпросмотр",sq:"Hap pamjen paraprake",bs:"Otvori pregled uživo",es:"Abrir la vista previa en vivo"},cloudUnlimited:{de:"👑 Cloud-Sync — Unbegrenzt",tr:"👑 Bulut Senkron — Sınırsız",en:"👑 Cloud Sync — Unlimited",ar:"👑 مزامنة سحابية — غير محدودة",hi:"👑 क्लाउड सिंक — असीमित",fa:"👑 همگام‌سازی ابری — نامحدود",ru:"👑 Облачная синхронизация — без ограничений",sq:"👑 Sinkronizimi në re — pa kufi",bs:"👑 Sinhronizacija u oblaku — neograničeno",es:"👑 Sincronización en la nube — Ilimitada"},cloudLimited:{de:"Cloud-Sync — Geräte-Limit",tr:"Bulut Senkron — Cihaz limiti",en:"Cloud Sync — Device limit",ar:"مزامنة سحابية — حد الأجهزة",hi:"क्लाउड सिंक — डिवाइस सीमा",fa:"همگام‌سازی ابری — محدودیت دستگاه",ru:"Облачная синхронизация — лимит устройств",sq:"Sinkronizimi në re — kufi pajisjesh",bs:"Sinhronizacija u oblaku — limit uređaja",es:"Sincronización en la nube — Límite de dispositivos"},cloudUnlimitedSub:{de:"Synchron auf all deinen Geräten",tr:"Tüm cihazlarında senkron",en:"In sync on all your devices",ar:"متزامن على جميع أجهزتك",hi:"आपके सभी डिवाइस पर सिंक",fa:"همگام در همه دستگاه‌های شما",ru:"Синхронизация на всех ваших устройствах",sq:"Sinkronizim në të gjitha pajisjet e tua",bs:"Sinhronizovano na svim tvojim uređajima",es:"Sincronizado en todos tus dispositivos"},cloudLimitedSub:{de:"{tier}-Tarif: {n} Gerät(e)",tr:"{tier} tarifesi: {n} cihaz",en:"{tier} plan: {n} device(s)",ar:"باقة {tier}: {n} جهاز",hi:"{tier} प्लान: {n} डिवाइस",fa:"طرح {tier}: تعداد {n} دستگاه",ru:"План «{tier}»: устройств — {n}",sq:"Plani {tier}: {n} pajisje",bs:"Plan {tier}: {n} uređaj(a)",es:"Plan {tier}: {n} dispositivo(s)"},cloudUpgradePro:{de:"Auf Baum →",tr:"Ağaç'a geç →",en:"Go Tree →",ar:"إلى شجرة ←",hi:"पेड़ पर जाएँ →",fa:"رفتن به درخت ←",ru:"Перейти на «Дерево» →",sq:"Kalo te Pema →",bs:"Pređi na Drvo →",es:"Pasar a Árbol →"},cloudUpgrade:{de:"Upgrade →",tr:"Yükselt →",en:"Upgrade →",ar:"ترقية ←",hi:"अपग्रेड करें →",fa:"ارتقا ←",ru:"Повысить план →",sq:"Përmirëso →",bs:"Nadogradi →",es:"Mejorar →"},ezanTitle:{de:"Ezan Präzision (Android)",tr:"Ezan Hassasiyeti (Android)",en:"Adhan Precision (Android)",ar:"دقة الأذان (Android)",hi:"अज़ान की सटीकता (Android)",fa:"دقت اذان (Android)",ru:"Точность азана (Android)",sq:"Saktësia e ezanit (Android)",bs:"Preciznost ezana (Android)",es:"Precisión del Adhan (Android)"},ezanSub:{de:"Erlaube die Hintergrundausführung, damit dein Ezan-Wecker exakt klingelt.",tr:"Ezan alarmının tam vaktinde çalması için arka plan çalışmasına izin ver.",en:"Allow background execution so your adhan alarm rings exactly on time.",ar:"اسمح بالتشغيل في الخلفية ليرنّ منبّه الأذان في وقته تمامًا.",hi:"बैकग्राà
2¤‰à¤‚ड में चलने दें, ताकि अज़ान अलार्म ठीक समय पर बजे।",fa:"اجرای پس‌زمینه را مجاز کنید تا هشدار اذان دقیقاً سر وقت پخش شود.",ru:"Разрешите работу в фоне, чтобы будильник азана срабатывал точно вовремя.",sq:"Lejo ekzekutimin në sfond që alarmi i ezanit të bjerë saktësisht në kohë.",bs:"Dozvoli izvrÅ¡avanje u pozadini kako bi ezanski alarm zvonio tačno na vrijeme.",es:"Permite la ejecución en segundo plano para que tu alarma del Adhan suene puntualmente."},ezanBtn:{de:"Hintergrund-Ausführung erlauben",tr:"Arka plan çalışmasına izin ver",en:"Allow background execution",ar:"السماح بالتشغيل في الخلفية",hi:"बैकग्राउंड में चलने दें",fa:"اجازه اجرای پس‌زمینه",ru:"Разрешить работу в фоне",sq:"Lejo ekzekutimin në sfond",bs:"Dozvoli izvrÅ¡avanje u pozadini",es:"Permitir la ejecución en segundo plano"},profileEdit:{de:"Bearbeiten",tr:"Düzenle",en:"Edit",ar:"تعديل",hi:"संपादित करें",fa:"ویرایش",ru:"Редактировать",sq:"Ndrysho",bs:"Uredi",es:"Editar"},profileSave:{de:"Speichern",tr:"Kaydet",en:"Save",ar:"حفظ",hi:"सहेजें",fa:"ذخیره",ru:"Сохранить",sq:"Ruaj",bs:"Sačuvaj",es:"Guardar"},realNameLabel:{de:"Echter Name",tr:"Gerçek ad",en:"Real name",ar:"الاسم الحقيقي",hi:"असली नाम",fa:"نام واقعی",ru:"Настоящее имя",sq:"Emri i vërtetë",bs:"Pravo ime",es:"Nombre real"},realNameHint:{de:"Steht auf Zertifikaten und Belegen. Bei einer ausgestellten IÊ¿rāb-Urkunde ist der Name mit Prüfungsdaten über die Prüfnummer öffentlich abrufbar; bei einer Baumpflanzung erhalten beteiligte Partner den Namen.",tr:"Sertifika ve belgelere yazılır. Düzenlenen IÊ¿rāb sertifikasında adın ve sınav bilgilerin doğrulama numarasıyla herkese açık olur; ağaç dikiminde ilgili ortaklar adını alır.",en:"Used on certificates and receipts. On an issued IÊ¿rāb certificate, your name and exam details are public through the verification number; tree-planting partners receive the name for an order.",ar:"يُستخدم في الشهادات والإيصالات. عند إصدار شهادة الإعراب يصبح اسمك وبيانات الاختبار متاحة علنًا عبر رقم التحقق، ويتلقى شركاء غرس الأشجار الاسم لتنفيذ الطلب.",hi:"प्रमाणपत्रों और रसीदों पर उपयोग होता है। जारी इराब प्रमाणपत्र में सत्यापन संख्या से नाम और परीक्षा विवरण सार्वजनिक होते हैं; वृक्षारोपण भागीदारों को आदेश के लिए नाम मिलता है।",fa:"در گواهی‌ها و رسیدها استفاده می‌شود. در گواهی اعراب صادرشده، نام و اطلاعات آزمون با شماره اعتبارسنجی عمومی است؛ شریک کاشت درخت نام را برای سفارش دریافت می‌کند.",ru:"Используется в сертификатах и квитанциях. В выданном сертификате по иʿрабу имя и данные экзамена доступны по номеру проверки; партнёры по посадке получают имя для заказа.",sq:"Përdoret në certifikata dhe dëftesa. Në një certifikatë IÊ¿rāb të lëshuar, emri dhe të dhënat e provimit janë publike përmes numrit të verifikimit; partnerët e mbjelljes marrin emrin për porosinë.",bs:"Koristi se na certifikatima i računima. Na izdatoj IÊ¿rāb certifikati ime i podaci ispita javno su dostupni preko broja provjere; partneri za sadnju dobijaju ime za narudžbu.",es:"Se usa en certificados y recibos. En un certificado de IÊ¿rāb emitido, el nombre y los datos del examen son públicos mediante el número de verificación; los socios de plantación reciben el nombre para el pedido."},realNamePlaceholder:{de:"Vor- und Nachname…",tr:"Ad ve soyad…",en:"First and last name…",ar:"الاسم واللقب…",hi:"नाम और उपनाम…",fa:"نام و نام خانوادگی…",ru:"Имя и фамилия…",sq:"Emri dhe mbiemri…",bs:"Ime i prezime…",es:"Nombre y apellidos…"},phoneLabel:{de:"Telefonnummer",tr:"Telefon numarası",en:"Phone number",ar:"رقم الهاتف",hi:"फ़ोन नंबर",fa:"شماره تلفن",ru:"Номер телефона",sq:"Numri i telefonit",bs:"Broj telefona",es:"Número de teléfono"},themeUpgradeConfirm:{de:"Dieses Theme ist in Blüte oder Baum enthalten. Jetzt upgraden?",tr:"Bu tema Çiçek veya Ağaç paketinde bulunur. Şimdi yükseltmek ister misin?",en:"This theme is included with Bloom or Tree. Upgrade now?",ar:"هذا المظهر متاح ضمن باقة «زهرة» أو «شجرة». هل تريد الترقية الآن؟",hi:"यह थीम फूल या पेड़ प्लान में उपलब्ध है। अभी अपग्रेड करें?",fa:"این پوسته در طرح شکوفه یا درخت موجود است. اکنون ارتقا می‌دهید؟",ru:"Эта тема доступна в планах «Цветок» и «Дерево». Перейти на другой план?",sq:"Kjo temë përfshihet te Lulja ose Pema. Ta përmirësosh tani?",bs:"Ova tema je uključena uz Cvijet ili Drvo. Nadograditi sada?",es:"Este tema está incluido en Flor o Árbol. ¿Mejorar ahora?"},aiTitle:{de:"KI & Datenschutz",tr:"Yapay Zeka & Gizlilik",en:"AI & Data Privacy",ar:"الذكاء الاصطناعي والخصوصية",hi:"AI और गोपनीयता",fa:"هوش مصنوعی و حریم خصوصی",ru:"ИИ и конфиденциальность",sq:"IA dhe privatësia",bs:"AI i privatnost podataka",es:"IA y protección de datos"},aiSub:{de:"Fragen und verfügbare Kontextdaten können je nach Serverkonfiguration an NVIDIA, Google Gemini oder OpenAI gesendet werden.",tr:"Sorular ve mevcut bağlam verileri sunucu yapılandırmasına göre NVIDIA, Google Gemini veya OpenAI’ye gönderilebilir.",en:"Depending on server configuration, questions and available context may be sent to NVIDIA, Google Gemini or OpenAI.",ar:"قد تُرسل الأسئلة وبيانات السياق المتاحة، وفق إعداد الخادم، إلى NVIDIA أو Google Gemini أو OpenAI."},aiToggleLabel:{de:"KI-Funktionen aktivieren",tr:"Yapay Zeka özelliklerini etkinleştir",en:"Enable AI features",ar:"تفعيل ميزات الذكاء الاصطناعي",hi:"AI सुविधाएँ सक्षम करें",fa:"فعال‌سازی امکانات هوش مصنوعی",ru:"Включить функции ИИ",sq:"Aktivizo veçoritë e IA-së",bs:"Omogući AI funkcije",es:"Activar las funciones de IA"},aiReviewPermission:{de:"Einwilligung ansehen",tr:"İzni incele",en:"Review consent",ar:"مراجعة الموافقة"},aiRevokeError:{de:"KI ist auf diesem Gerät aus. Der Widerruf auf dem Server ist noch ausstehend und wird beim nächsten Sync erneut versucht.",tr:"Yapay zekâ bu cihazda kapalı. Sunucudaki iznin geri alınması bekliyor; sonraki eşitlemede yeniden denenecek.",en:"AI is off on this device. Server withdrawal is still pending and will be retried at the next sync.",ar:"أُوقف الذكاء الاصطناعي على هذا الجهاز. ستحاول المزامنة التالية إتمام سحب الموافقة من الخادم."},toggleOn:{de:"Ein",tr:"Açık",en:"On",ar:"مفعّل",hi:"चालू",fa:"روشن",ru:"Вкл.",sq:"Aktiv",bs:"Uključeno",es:"Activado"}
2,toggleOff:{de:"Aus",tr:"Kapalı",en:"Off",ar:"متوقف",hi:"बंद",fa:"خاموش",ru:"Выкл.",sq:"Joaktiv",bs:"Isključeno",es:"Desactivado"}},Bi={de:{title:"Religiöse Daten in der Cloud",local:"Nur auf diesem Gerät",active:"Cloud-Sync mit Einwilligung aktiv",pending:"Cloud-Löschung ausstehend · Sync pausiert",restoring:"Früherer Cloud-Fortschritt wird zuerst wiederhergestellt · Upload pausiert",details:"Gebets- und Lernfortschritt, Rechtsschule, Dhikr, Duas, Hifz, Benachrichtigungseinstellungen und Baum-Daten können deine Religion erkennen lassen. Mit Freigabe speichern wir sie auf unserem Server und synchronisieren sie zwischen deinen Geräten. Ohne Freigabe bleiben deine Eingaben lokal.",consent:"Mit dem folgenden Klick willige ich ausdrücklich in diese Speicherung und Synchronisierung religiöser Daten ein. Die Einwilligung ist freiwillig. Bereits vorhandener früherer Cloud-Fortschritt wird erst nach deiner Freigabe wieder auf dieses Gerät synchronisiert.",withdrawal:"Du kannst jederzeit widerrufen. Dann löschen wir religiösen Fortschritt und Beiträge aus deinem Cloud-Konto; lokale Daten bleiben erhalten. Familienmitgliedschaften, ausgestellte öffentliche Urkunden und bereits beauftragte reale Baumpflanzungen mit Nachweisen werden dadurch nicht automatisch entfernt. Dafür kannst du deine Löschrechte oder die Kontolöschung nutzen.",grant:"Ausdrücklich einwilligen und Cloud-Sync aktivieren",revoke:"Einwilligung widerrufen und Cloud-Daten löschen",retry:"Cloud-Löschung erneut versuchen",retryRestore:"Wiederherstellung erneut versuchen",busy:"Bitte warten…",error:"Änderung fehlgeschlagen. Deine lokalen Daten bleiben erhalten."},tr:{title:"Dinî veriler için bulut eşitlemesi",local:"Yalnızca bu cihazda",active:"İzinli bulut eşitlemesi etkin",pending:"Bulut silme işlemi bekliyor · eşitleme durduruldu",restoring:"Önce eski bulut ilerlemesi geri yükleniyor · yükleme durduruldu",details:"Namaz ve öğrenme ilerlemen, mezhebin, zikirlerin, duaların, hafızlık verilerin, bildirim ayarların ve ağaç verilerin dinî inancını gösterebilir. İzin verirsen bunları sunucumuzda saklar ve cihazların arasında eşitleriz. İzin vermezsen girdilerin bu cihazda kalır.",consent:"Aşağıdaki düğmeye basarak bu dinî verilerin saklanmasına ve eşitlenmesine açıkça rıza gösteriyorum. Bu izin 
2isteğe bağlıdır. Önceden bulutta bulunan ilerlemen ancak izin verdikten sonra bu cihaza yeniden eşitlenir.",withdrawal:"İzni istediğin zaman geri çekebilirsin. Dinî ilerleme ve katkılar bulut hesabından silinir; yerel veriler kalır. Aile üyelikleri, daha önce düzenlenmiş herkese açık sertifikalar ve kanıtlarıyla birlikte sipariş edilmiş gerçek ağaç dikimleri otomatik silinmez. Bunlar için silme haklarını veya hesap silmeyi kullanabilirsin.",grant:"Açıkça rıza göster ve bulut eşitlemesini aç",revoke:"İzni geri çek ve bulut verilerini sil",retry:"Bulut verilerini silmeyi yeniden dene",retryRestore:"Geri yüklemeyi yeniden dene",busy:"Lütfen bekle…",error:"Değişiklik kaydedilemedi. Yerel verilerin korunuyor."},en:{title:"Religious data in cloud sync",local:"Only on this device",active:"Cloud sync enabled with consent",pending:"Cloud deletion pending · sync paused",restoring:"Earlier cloud progress is being restored first · uploads paused",details:"Prayer and learning progress, school of thought, Dhikr, Duas, memorization, notification settings and tree data may reveal your religious beliefs. With your permission, we store them on our server and sync them across your devices. Without it, your entries stay on this device.",consent:"By pressing the button below, I explicitly consent to storing and syncing this religious data. Consent is optional. Earlier cloud progress is synced back to this device only after you grant permission.",withdrawal:"You can withdraw at any time. We then delete religious progress and contributions from your cloud account; local data remains. Family memberships, issued public certificates and real-world tree orders already placed with their proof are not removed automatically. You can use your erasure rights or account deletion for those records.",grant:"Explicitly consent and enable cloud sync",revoke:"Withdraw consent and delete cloud data",retry:"Retry deleting cloud data",retryRestore:"Retry restoring cloud progress",busy:"Please wait…",error:"The change failed. Your local data remains available."},ar:{title:"مزامنة البيانات الدينية سحابيًا",local:"على هذا الجهاز فقط",active:"المزامنة السحابية مفعّلة بموافقتك",pending:"حذف البيانات السحابية معلّق · المزامنة متوقفة",restoring:"تُستعاد بيانات التقدم السحابية السابقة أولًا · الرفع متوقف",details:"قد تكشف بيانات الصلاة والتعلّم والمذهب والأذكار والأدعية والحفظ وإعدادات الإشعارات والشجرة عن معتقداتك الدينية. إذا وافقت، نخزنها على خادمنا ونزامنها بين أجهزتك. ودون موافقتك تبقى مدخلاتك على هذا الجهاز.",consent:"بالضغط على الزر أدناه، أوافق صراحةً على تخزين هذه البيانات الدينية ومزامنتها. الموافقة اختيارية. لا تُزامَن بيانات تقدمك السحابية السابقة مع هذا الجهاز مجددًا إلا بعد منح الموافقة.",withdrawal:"يمكنك سحب الموافقة في أي وقت. عندئذ نحذف التقدم والمساهمات الدينية من حسابك السحابي وتبقى البيانات المحلية. لا تُحذف تلقائيًا عضوية العائلة أو شهادات الإعراب العامة الصادرة أو طلبات غرس الأشجار الفعلية وأدلتها؛ ويمكنك طلب محوها أو حذف الحساب.",grant:"أوافق صراحةً وأفعّل المزامنة السحابية",revoke:"أسحب الموافقة وأحذف البيانات السحابية",retry:"إعادة محاولة حذف البيانات السحابية",retryRestore:"إعادة محاولة استعادة التقدم السحابي",busy:"يرجى الانتظار…",error:"تعذّر حفظ التغيير. تبقى بياناتك المحلية متاحة."}},Ri={de:"de-DE",tr:"tr-TR",en:"en-US",ar:"ar-SA",hi:"hi-IN",fa:"fa-IR",ru:"ru-RU",sq:"sq-AL",bs:"bs-BA",es:"es-ES"},qi={light:{de:"Samen",tr:"Tohum",en:"Seed",ar:"بذرة",hi:"बीज",fa:"دانه",ru:"Семя",sq:"Fara",bs:"Sjeme",es:"Semilla"},plus:{de:"Blüte",tr:"Çiçek",en:"Bloom",ar:"زهرة",hi:"फूल",fa:"شکوفه",ru:"Цветок",sq:"Lulja",bs:"Cvijet",es:"Flor"},pro:{de:"Baum",tr:"Ağaç",en:"Tree",ar:"شجرة",hi:"पेड़",fa:"درخت",ru:"Дерево",sq:"Pema",bs:"Drvo",es:"Árbol"}},Gi=[{city:"Stuttgart",country:"Deutschland",countryCode:"DE",lat:48.7758,lng:9.1829,ianaTz:"Europe/Berlin"},{city:"Berlin",country:"Deutschland",countryCode:"DE",lat:52.52,lng:13.405,ianaTz:"Europe/Berlin"},{city:"München",country:"Deutschland",countryCode:"DE",lat:48.1351,lng:11.582,ianaTz:"Europe/Berlin"},{city:"Hamburg",country:"Deutschland",countryCode:"DE",lat:53.5511,lng:9.9937,ianaTz:"Europe/Berlin"},{city:"Köln",country:"Deutschland",countryCode:"DE",lat:50.9375,lng:6.9603,ianaTz:"Europe/Berlin"},{city:"Frankfurt",country:"Deutschland",countryCode:"DE",lat:50.1109,lng:8.6821,ianaTz:"Europe/Berlin"},{city:"Düsseldorf",country:"Deutschland",countryCode:"DE",lat:51.2277,lng:6.7735,ianaTz:"Europe/Berlin"},{city:"Mannheim",country:"Deutschland",countryCode:"DE",lat:49.4875,lng:8.466,ianaTz:"Europe/Berlin"},{city:"İstanbul",country:"Türkiye",countryCode:"TR",lat:41.0082,lng:28.9784,ianaTz:"Europe/Istanbul"},{city:"Ankara",country:"Türkiye",countryCode:"TR",lat:39.9334,lng:32.8597,ianaTz:"Europe/Istanbul"},{city:"İzmir",country:"Türkiye",countryCode:"TR",lat:38.4192,lng:27.1287,ianaTz:"Europe/Istanbul"},{city:"Bursa",country:"Türkiye",countryCode:"TR",lat:40.1885,lng:29.061,ianaTz:"Europe/Istanbul"},{city:"Wien",country:"Österreich",countryCode:"AT",lat:48.2082,lng:16.3738,ianaTz:"Europe/Vienna"},{city:"Zürich",country:"Schweiz",countryCode:"CH",lat:47.3769,lng:8.5417,ianaTz:"Europe/Zurich"}],Oi={title:{de:"Dauerhafte Gebetszeit-Anzeige",tr:"Kalıcı Namaz Vakti Bildirimi",en:"Persistent Prayer Notification",ar:"إشعار دائم لأوقات الصلاة",sq:"Njoftim i vazhdueshëm i namazit",bs:"Trajno obavjeÅ¡tenje o namazu",es:"Notificación permanente de oración",ru:"Постоянное уведомление о намазе",fa:"اعلان دائمی نماز",hi:"स्थायी प्राà
2¤°à¥à¤¥à¤¨à¤¾ सूचना"},sub:{de:"Zeigt Gebetszeiten und Countdown permanent in der Benachrichtigungsleiste",tr:"Bildirim çubuğunda namaz vakitlerini ve geri sayımı gösterir",en:"Shows prayer times and countdown in the notification bar",ar:"يعرض أوقات الصلاة والعد التنازلي في شريط الإشعارات",sq:"Tregon kohët e namazit dhe numërimin mbrapsht në shiritin e njoftimeve",bs:"Prikazuje namaska vremena i odbrojavanje u traci obavjeÅ¡tenja",es:"Muestra los horarios de oración y la cuenta atrás en la barra de notificaciones",ru:"Показывает время молитвы и обратный отсчёт на панели уведомлений",fa:"اوقات نماز و شمارش معکوس را در نوار اعلان نشان می دهد",hi:"प्रार्थना का समय और काउंटडाउन सूचना बार में दिखाता है"},enabled:{de:"Aktiviert",tr:"Açık",en:"Enabled",ru:"Включено",ar:"مفعّل",sq:"Aktivizuar",bs:"Uključeno",es:"Activado",fa:"فعال",hi:"सक्षम"},disabled:{de:"Deaktiviert",tr:"Kapalı",en:"Disabled",ar:"معطّل",sq:"Çaktivizuar",bs:"Isključeno",es:"Desactivado",ru:"Выключено",fa:"غیرفعال",hi:"अक्षम"}};function ua({language:t,flashSaved:o}){const[a,g]=l.useState(()=>{try{return window.ImantreeNotifications.isStickyNotificationEnabled()}catch{return!1}}),h=()=>{if(a){try{window.ImantreeNotifications.disableStickyNotification()}catch{}g(!1)}else{try{window.ImantreeNotifications.enableStickyNotification()}catch{}g(!0)}o()},m=s=>{var c,v;return((c=Oi[s])==null?void 0:c[t])||((v=Oi[s])==null?void 0:v.en)||""};return e.jsxs("div",{className:"stg-section fade-in",children:[e.jsxs("div",{className:"stg-section-header",children:[e.jsx("div",{className:"stg-section-icon stg-icon-sticky",children:e.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),e.jsx("line",{x1:"3",y1:"9",x2:"21",y2:"9"}),e.jsx("line",{x1:"9",y1:"21",x2:"9",y2:"9"})]})}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:m("title")}),e.jsx("p",{className:"stg-section-sub",children:m("sub")})]}),e.jsx("button",{className:`stg-switch ${a?"active":""}`,onClick:h,"aria-pressed":a,children:e.jsx("span",{className:"stg-switch-thumb"})})]}),e.jsx("div",{className:"stg-sticky-status",children:e.jsx("span",{style:{fontSize:"var(--text-xs)",color:"var(--color-text-muted)"},children:a?`✓ ${m("enabled")}`:m("disabled")})})]})}const w={title:{de:"Tutorials & Seiten-Hilfen",tr:"Rehberler ve Sayfa İpuçları",en:"Guides & Page Tutorials",ru:"Гиды и подсказки по страницам",sq:"Udhëzuesit & tutorialet e faqeve",bs:"Vodiči i tutorijali stranica",es:"Guías y tutoriales de página",ar:"الجولات الإرشادية والتلميحات"},sub:{de:"Interaktive Einführungen und Fragezeichen (?) steuern",tr:"Sayfaları açarken rehberleri ve üstteki soru işaretini (?) yönet",en:"Manage interactive tours and the question mark (?) in headers",ru:"Управляйте интерактивными турами и знаком вопроса (?) в заголовках",sq:"Menaxho turnetë interaktive dhe pikëpyetjen (?) në kokat e faqeve",bs:"Upravljaj interaktivnim turama i upitnikom (?) u zaglavljima",es:"Gestiona los recorridos interactivos y el signo de interrogación (?) de las cabeceras",ar:"التحكم في جولات الصفحات وعلامة الاستفهام في الأعلى"},on:{de:"Aktiviert",tr:"Açık",en:"Enabled",ru:"Включено",sq:"Aktivizuar",bs:"Uključeno",es:"Activado",ar:"مفعّل"},off:{de:"Komplett deaktiviert",tr:"Tamamen Kapalı",en:"Completely Off",ru:"Полностью выключено",sq:"Plotësisht joaktiv",bs:"Potpuno isključeno",es:"Completamente desactivado",ar:"معطّل تماماً"},offHint:{de:"Keine automatischen Einführungen oder Fragezeichen-Hilfen auf den Seiten.",tr:"Sayfalarda otomatik tur veya soru işareti gösterilmez.",en:"No automatic page tours or question mark helpers will appear.",ru:"Автоматические туры по страницам и подсказки со знаком вопроса показываться не будут.",sq:"Nuk do të shfaqen turne automatike të faqeve apo ndihmës me pikëpyetje.",bs:"Neće se pojavljivati automatske ture stranica ni pomoćnici s upitnikom.",es:"No aparecerán recorridos automáticos ni ayudas con el signo de interrogación en las páginas.",ar:"لن تظهر نوافذ إرشادية تلقائية أو علامات استفهام في الصفحات."},resetBtn:{de:"Alle Tutorials zurücksetzen",tr:"Tüm Rehberleri Sıfırla",en:"Reset All Tutorials",ru:"Сбросить все подсказки",sq:"Rivendos të gjithë tutorialet",bs:"Resetuj sve tutorijale",es:"Restablecer todos los tutoriales",ar:"إعادة Ø
2¶Ø¨Ø· جميع الجولات"},resetSub:{de:"Setzt den Status zurück, um alle Seitentouren erneut ansehen zu können.",tr:"Görüldü durumunu sıfırlayarak tüm rehberleri tekrar görebilirsin.",en:"Resets seen status so you can view all page tours again.",ru:"Сбрасывает статус просмотра, чтобы снова увидеть все туры по страницам.",sq:"Rivendos statusin e parë që të mund t'i shohësh sërish të gjitha turnetë e faqeve.",bs:"Resetuje status viđenog kako bi ponovo mogao/la vidjeti sve ture stranica.",es:"Restablece el estado de visto para que puedas ver de nuevo todos los recorridos de página.",ar:"يعيد ضبط حالة المشاهدة لتتمكن من رؤية الجولات مجدداً."},resetDone:{de:"Zurückgesetzt ✓",tr:"Sıfırlandı ✓",en:"Reset done ✓",ru:"Сброс выполнен ✓",sq:"Rivendosja u krye ✓",bs:"Reset zavrÅ¡en ✓",es:"Restablecido ✓",ar:"تمت إعادة الضبط ✓"}};function va(){var hi,gi,fi,vi,yi,bi,xi;const{user:t,updateUser:o,religiousCloudConsent:a,changeReligiousCloudConsent:g}=Pt(),{isPremium:h,tier:m,subscriptionStatus:s}=Mi(),c=s==="lifetime",v=H.isNativePlatform()&&H.getPlatform()==="ios",{t:p,language:d,gender:N,mezhep:A,location:y,alias:E,phoneNumber:q,sidebarGesture:Ui,showMascot:P,settings:le,setLanguage:Hi,setGender:Wi,setMezhep:$i,setLocation:Ki,setAlias:Ae,setPhoneNumber:Ee,setSidebarGesture:Vi,setShowMascot:Ce,setAiConsent:Ji,detectLocation:Yi,notificationPrefs:Zi,setNotificationPreferences:Xi}=_i(),Te=Ri[d]||Ri.en,T=Dt(),[W,ce]=l.useState(()=>ki()),[Qi,Ie]=l.useState(!1),[de,Pe]=l.useState(!1),[De,Le]=l.useState(""),[Be,Re]=l.useState(!1),[qe,Ge]=l.useState("");l.useEffect(()=>{const i=()=>{ce(ki())};return window.addEventListener("imantree:page-tutorial-progress",i),()=>window.removeEventListener("imantree:page-tutorial-progress",i)},[]);const[V,Oe]=l.useState(E||""),[_e,ue]=l.useState(null),[Me,Fe]=l.useState((t==null?void 0:t.name)||""),[Ue,me]=l.useState(null),[He,We]=l.useState(q||""),[J,$e]=l.useState(""),[Ke,Ve]=l.useState(!1),[et,Je]=l.useState(!1),[Ye,pe]=l.useState(""),[ma,Ze]=l.useState(0),[he,Xe]=l.useState(!1),[Y,it]=l.useState(()=>localStorage.getItem("widgetTheme")||"emerald"),[j,Qe]=l.useState(!1),G=l.useRef(null),O=l.useRef(null),_=l.useRef(null);l.useEffect(()=>{Oe(E||"")},[E]),l.useEffect(()=>{Fe((t==null?void 0:t.name)||"")},[t==null?void 0:t.name]),l.useEffect(()=>{We(q||"")},[q]);const[ge,tt]=l.useState([]),[at,ei]=l.useState(!1),[ii,ti]=l.useState(null),[nt,fe]=l.useState(!1),[st,ve]=l.useState(!1),[ai,Z]=l.useState("input"),[$,ye]=l.useState(""),[X,be]=l.useState(""),[k,B]=l.useState(!1),[Q,S]=l.useState(""),[xe,ke]=l.useState(""),[rt,ni]=l.useState(!1),[M,F]=l.useState({googleCredential:null,appleIdentityToken:null}),I=["light","plus","pro"].includes(m)?m:"light",u=(i,n={})=>{var x,C;let r=((x=Li[i])==null?void 0:x[d])||((C=Li[i])==null?void 0:C.en)||"";return Object.entries(n).forEach(([se,Se])=>{r=r.replace(`{${se}}`,Se)}),r},D=i=>{var n,r;return((n=Pi[i])==null?void 0:n[d])||((r=Pi[i])==null?void 0:r.en)||""},si=((hi=qi[I])==null?void 0:hi[d])||((gi=qi[I])==null?void 0:gi.en),K=ji.themes[I],L=i=>{if(K===1/0)return!1;const n=la.indexOf(i);return n<0?!1:n>=(typeof K=="number"?K:999)},ot=async()=>{if(!(ge.length>0)){ei(!0);try{const i=localStorage.getItem("imanify_token");if(!i)return;const n=await fetch(`${na}/stripe/invoices`,{headers:{Authorization:`Bearer ${i}`}}),r=await n.json();n.ok?tt(r.invoices||[]):(console.warn("[Profile/invoices] request rejected:",n.status,(r==null?void 0:r.error)||""),ti(u("invoicesError")))}catch{ti(u("connError"))}finally{ei(!1)}}},lt=()=>{fe(!0),ot()},ct=(i,n)=>new Intl.NumberFormat(Te,{style:"currency",currency:(n||"eur").toUpperCase()}).format(i/100),dt=i=>new Date(i*1e3).toLocaleDateString(Te,{year:"numeric",month:"short",day:"numeric"}),ut=i=>{const n={paid:"invoicesPaid",open:"invoicesOpen",draft:"invoicesDraft",void:"invoicesVoid",uncollectible:"invoicesUncollectible"}[i];return u(n||"invoicesStatusUnknown")},mt=(t==null?void 0:t.provider)==="google"?"🔗 Google":(t==null?void 0:t.provider)==="apple"?"🔗 Apple":(t==null?void 0:t.provider)==="anonymous"?`👤 ${D("guestProvider")}`:`✉️ ${D("emailProvider")}`,b=()=>{Je(!0),setTimeout(()=>Je(!1),2e3)},z=Bi[d]||Bi.en,pt=async i=>{if(!de){Pe(!0),Le("");try{await g(i),b()}catch(n){console.warn("[Profile] Cloud consent update failed:",n==null?void 0:n.message),Le(z.error)}finally{Pe(!1)}}},ht=async()=>
2{if(Be)return;Ji(!1),Ge(""),Re(!0);const i=localStorage.getItem("imanify_token");(await Promise.allSettled([_t(i),i?Mt(i):Promise.resolve(!0)])).some(r=>r.status==="rejected"||r.value!==!0)?Ge(u("aiRevokeError")):b(),Re(!1)},f=(i,n={})=>{var x,C;let r=((x=Di[i])==null?void 0:x[d])||((C=Di[i])==null?void 0:C.en)||"";return Object.entries(n).forEach(([se,Se])=>{r=r.replace(`{${se}}`,Se)}),r},ri=/@privaterelay\.appleid\.com$/i.test((t==null?void 0:t.email)||"")||/^apple_[^@]*@imantree\.com$/i.test((t==null?void 0:t.email)||""),je=!!t&&t.provider!=="anonymous",oi=Array.isArray(t==null?void 0:t.providerIdentities)?t.providerIdentities.map(i=>i==null?void 0:i.provider):[],R=(t==null?void 0:t.hasPassword)===!0||(t==null?void 0:t.provider)==="local",ee=(t==null?void 0:t.provider)==="google"||!!(t!=null&&t.googleId)||oi.includes("google"),ie=(t==null?void 0:t.provider)==="apple"||!!(t!=null&&t.appleId)||oi.includes("apple"),te=je&&!R,ae=!!(M.googleCredential||M.appleIdentityToken),li=()=>{Z("input"),ye(""),be(""),S(""),ke(""),ni(R),F({googleCredential:null,appleIdentityToken:null}),ve(!0)},ci=()=>{k||(ve(!1),ke(""),F({googleCredential:null,appleIdentityToken:null}))},gt=async()=>{if(!(k||!ee)){B(!0),S("");try{let i;if(H.isNativePlatform()?i=await Ft():i=await oa(),!ze(i))throw new Error("Google hat keinen gültigen Bestätigungsnachweis geliefert.");F({googleCredential:i,appleIdentityToken:null})}catch(i){/cancel/i.test((i==null?void 0:i.message)||"")||(console.warn("[Profile/email-reauth] Google failed:",(i==null?void 0:i.message)||i),S(f("googleReauthFailed")))}finally{B(!1)}}},ft=async()=>{if(!(k||!ie)){if(!v){S(f("appleReauthIosOnly"));return}B(!0),S("");try{const i=await Ut.signIn({scopes:[wi.Email,wi.FullName]});if(!ze(i==null?void 0:i.idToken))throw new Error("Apple hat keinen gültigen Bestätigungsnachweis geliefert.");F({googleCredential:null,appleIdentityToken:i.idToken})}catch(i){/cancel|12501/i.test((i==null?void 0:i.message)||"")||(console.warn("[Profile/email-reauth] Apple failed:",(i==null?void 0:i.message)||i),S(f("appleReauthFailed")))}finally{B(!1)}}},Ne=async()=>{const i=$.trim().toLowerCase();if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(i)){S(f("invalid"));return}if(te&&!ae){S(f("reauthRequired"));return}B(!0),S("");try{const n=await we("/api/auth/change-email/request",{method:"POST",body:JSON.stringify({newEmail:i,language:d,countryCode:(y==null?void 0:y.countryCode)||null,...R&&xe?{currentPassword:xe}:{},...!R&&M.googleCredential?{googleCredential:M.googleCredential}:{},...!R&&M.appleIdentityToken?{appleIdentityToken:M.appleIdentityToken}:{}})}),r=await n.json().catch(()=>({}));n.ok?(ye(i),Z("code")):(console.warn("[Profile/email-change] request rejected:",(r==null?void 0:r.code)||n.status,(r==null?void 0:r.error)||""),r.code==="REAUTH_REQUIRED"&&(ni(R),R||F({googleCredential:null,appleIdentityToken:null})),S(r.code==="REAUTH_REQUIRED"?f("reauthRequired"):f("emailRequestFailed")))}catch(n){console.warn("[Profile/email-change] request failed:",(n==null?void 0:n.message)||n),S(f("emailRequestFailed"))}finally{B(!1)}},di=async()=>{const i=X.replace(/\D/g,"");if(i.length!==6){S(f("invalid"));return}B(!0),S("");try{const n=await we("/api/auth/change-email/confirm",{method:"POST",body:JSON.stringify({code:i,language:d,countryCode:(y==null?void 0:y.countryCode)||null})}),r=await n.json().catch(()=>({}));if(n.ok&&r.user){if(r.accessToken&&r.refreshToken){if(!await Ht(r.refreshToken)){localStorage.removeItem("imanify_token"),S(f("emailConfirmFailed"));return}localStorage.setItem("imanify_token",r.accessToken)}o(r.user),F({googleCredential:null,appleIdentityToken:null}),Z("done"),b(),setTimeout(()=>ve(!1),1800)}else console.warn("[Profile/email-change] confirmation rejected:",(r==null?void 0:r.code)||n.status,(r==null?void 0:r.error)||""),S(f("emailConfirmFailed"))}catch(n){console.warn("[Profile/email-change] confirmation failed:",(n==null?void 0:n.message)||n),S(f("emailConfirmFailed"))}finally{B(!1)}},vt=i=>{Oe(i),ue(null),G.current&&clearTimeout(G.current),G.current=setTimeout(async()=>{const n=await Ae(i);if(!n.ok&&!n.queued){ue(n.code);return}n.user&&o(n.user),b()},600)},ui=async i=>{const n=Wt(i);
2if(!n.ok)return{ok:!1,code:n.code};try{const r=await we("/api/auth/name",{method:"POST",body:JSON.stringify({name:n.value})}),x=await r.json().catch(()=>({}));if(r.status>=400&&r.status<500&&(x!=null&&x.code))return{ok:!1,code:x.code};if(!r.ok)throw new Error("name push failed");return x!=null&&x.user&&o(x.user),{ok:!0,code:null}}catch{return{ok:!1,code:"NAME_NETWORK"}}},yt=i=>{Fe(i),me(null),_.current&&clearTimeout(_.current),_.current=setTimeout(async()=>{const n=await ui(i);if(!n.ok){me(n.code);return}b()},600)},bt=i=>{We(i),O.current&&clearTimeout(O.current),O.current=setTimeout(()=>{Ee(i.trim()),b()},600)},xt={denied:"settings.locationPermission",unavailable:"geo.unavailable",timeout:"geo.timeout",inaccurate:"geo.inaccurate",unsupported:"geo.unsupported"},kt=async()=>{Ve(!0),pe("");try{const i=await Yi();i!=null&&i.approximate&&pe(p("geo.approximate")),Ze(n=>n+1),b()}catch(i){pe(p(xt[i==null?void 0:i.code]||"settings.locationPermission")),Ze(n=>n+1)}finally{Ve(!1)}},mi=i=>{Ki({city:i.city,country:i.country,countryCode:i.countryCode,latitude:i.lat,longitude:i.lng,ianaTz:i.ianaTz}),$e(""),b()},jt=i=>{Hi(i),b()},ne=i=>{var C;if(L(i)){window.confirm(u("themeUpgradeConfirm"))&&T("/premium");return}it(i),localStorage.setItem("widgetTheme",i),document.documentElement.setAttribute("data-app-theme",i);const n=document.querySelector('meta[name="theme-color"]'),r=document.documentElement.getAttribute("data-theme")||"light",x={light:{emerald:"var(--color-primary)",sapphire:"#0F172A",amethyst:"#2E1065",ruby:"#4C0519"},dark:{emerald:"var(--color-bg)",sapphire:"#020617",amethyst:"#0F0024",ruby:"#29000C"}};n&&n.setAttribute("content",((C=x[r])==null?void 0:C[i])||x[r].emerald),Kt(d,y,A,i),b()},pi=J.trim()?Gi.filter(i=>i.city.toLowerCase().includes(J.toLowerCase())||i.country.toLowerCase().includes(J.toLowerCase())):[];return e.jsxs("div",{className:"profile-screen",children:[e.jsxs("main",{className:"profile-content",children:[e.jsx("div",{className:`settings-saved-toast ${et?"visible":""}`,children:p("settings.saved")}),(t==null?void 0:t.provider)==="anonymous"&&e.jsxs("div",{className:"profile-guest-banner fade-in",style:{background:"var(--color-primary-glow, rgba(27, 67, 50, 0.08))",border:"1.5px solid var(--color-primary-light, #86efac)",borderRadius:"var(--radius-lg, 12px)",padding:"16px",marginBottom:"16px",display:"flex",flexDirection:"column",gap:"12px",alignItems:"stretch"},children:[e.jsxs("div",{style:{display:"flex",gap:"10px",alignItems:"flex-start"},children:[e.jsx("span",{style:{fontSize:"20px"},children:"⚠️"}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[e.jsx("strong",{style:{color:"var(--color-primary, #1b4332)",fontSize:"15px"},children:D("guestTitle")}),e.jsx("span",{style:{fontSize:"13px",opacity:.85,lineHeight:1.4},children:D("guestDescription")})]})]}),e.jsx("button",{onClick:()=>T("/auth?link=true"),style:{background:"var(--color-primary, #1b4332)",color:"#fff",border:"none",borderRadius:"8px",padding:"10px 16px",fontSize:"14px",fontWeight:"600",cursor:"pointer",textAlign:"center",boxShadow:"0 2px 4px rgba(0,0,0,0.08)",transition:"all 0.2s"},children:D("guestCta")})]}),e.jsxs("div",{className:"profile-user-card fade-in",children:[P!==!1&&e.jsx(zi,{variant:"arrival",size:60,className:"profile-page-filiz"}),e.jsx("div",{className:"profile-avatar-large",children:t!=null&&t.avatar?e.jsx("img",{src:t.avatar,alt:t.name,referrerPolicy:"no-referrer"}):e.jsx("span",{children:((vi=(fi=t==null?void 0:t.name)==null?void 0:fi.charAt(0))==null?void 0:vi.toUpperCase())||"🕌"})}),e.jsxs("h2",{className:"profile-name",children:[(t==null?void 0:t.name)||D("guestName"),h&&!v&&e.jsx("span",{className:"premium-badge-icon",title:D("premiumActive"),children:"💎"})]}),e.jsxs("p",{className:"profile-email",style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"6px",flexWrap:"wrap",wordBreak:"break-all"},children:[e.jsx("span",{children:t==null?void 0:t.email}),je&&e.jsx("button",{onClick:li,title:f("changeBtn"),"aria-label":f("changeBtn"),style:{background:"none",border:"none",cursor:"pointer",padding:"2px",display:"inline-flex",alignItems:"center",color:"var(--color-primary, #1b4332)",opacity:.8},children:e.jsx("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("path",{d:"M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"})})})]}),je&&ri&&e.jsxs("button",{onClick:li,style:{background:"var(--color-primary-glow, rgba(27, 67, 50, 0.08))",border:"1px solid var(--color-primary-light, #86efac)",borderRadius:"8px",padding:"8px 12px",fontSize:"12.5px",lineHeight:1.4,color:"var(--color-primary, #1b4332)",cursor:"pointer",margin:"4px auto 8px",display:"block",maxWidth:"320px"},children:["🔒 ",f("relayHint")]}),e.jsxs("div",{className:"profile-badges",children:[e.jsx("span",{className:"badge badge-success",children:mt}),e.jsx("span",{className:"badge badge-gold",children:(()=>{const i=(t==null?void 0:t.imanLevel)||"seedling",n={seedling:0,growing:1,blooming:2,flourishing:3,radiant:4},r={seedling:"🌱",growing:"🌿",blooming:"🌸",flourishing:"🌳",radiant:"✨"},x=p("home.imanLevels")||["Samen","Spross","Pflanze","Baum","Licht"],C=n[i]!==void 0?n[i]:0;return`${r[i]||"🌱"} ${x[C]||i}`})()})]}),(t==null?void 0:t.provider)!=="anonymous"&&!ee&&e.jsx("button",{type:"button",className:"profile-action-btn",onClick:()=>T("/auth?link=google"),style:{marginTop:"12px"},children:D("addGoogle")}),(t==null?void 0:t.provider)!=="anonymous"&&v&&!ie&&e.jsx("button",{type:"button",className:"profile-action-btn",onClick:()=>T("/auth?link=apple"),style:{marginTop:"12px"},children:D("addApple")})]}),e.jsx(Jt,{language:d}),!v&&e.jsxs("div",{className:"stg-section fade-in",children:[e.jsxs("div",{className:"stg-section-header",children:[e.jsx("div",{className:"stg-section-icon stg-icon-sub",children:c?"👑":h?"💎":"🌱"}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:u("subTitle")}),e.jsx("p",{className:"stg-section-sub",children:u("subSub")})]})]}),e.jsx("div",{className:"profile-sub-status",style:{marginBottom:"16
2px"},children:e.jsx("div",{className:"sub-status-text",children:c?e.jsxs(e.Fragment,{children:[e.jsxs("strong",{children:["👑 ",u("lifetimeActive")]}),e.jsx("p",{children:u("lifetimeSub")})]}):h?e.jsxs(e.Fragment,{children:[e.jsx("strong",{children:(t==null?void 0:t.subscriptionStatus)==="gifted"?u("giftedActive"):u("tierActive",{tier:si})}),e.jsx("p",{children:u("activeSub")})]}):e.jsxs(e.Fragment,{children:[e.jsx("strong",{children:u("freeTitle")}),e.jsx("p",{children:u("freeSub")})]})})}),e.jsx(aa,{}),e.jsx("button",{className:`profile-action-btn ${h?"":"profile-action-btn--primary"}`,onClick:()=>T("/premium"),children:u(c?"plansBtn":h?"manageBtn":"discoverBtn")}),!v&&e.jsxs("button",{className:"profile-action-btn invoices-btn",onClick:lt,children:[e.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),e.jsx("polyline",{points:"14 2 14 8 20 8"}),e.jsx("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),e.jsx("line",{x1:"16",y1:"17",x2:"8",y2:"17"}),e.jsx("polyline",{points:"10 9 9 9 8 9"})]}),u("invoicesBtn")]})]}),(t==null?void 0:t.isPartner)&&e.jsxs("div",{className:"stg-section fade-in",children:[e.jsxs("div",{className:"stg-section-header",children:[e.jsx("div",{className:"stg-section-icon",children:"🤝"}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:"Partner-Programm"}),e.jsx("p",{className:"stg-section-sub",children:"Du bist registrierter Affiliate-Partner von Imantree."})]})]}),e.jsx("button",{className:"profile-action-btn profile-action-btn--primary",style:{width:"100%",marginTop:"12px"},onClick:()=>T("/partner"),children:"Zum Partner-Bereich"})]}),e.jsxs("div",{className:"stg-section fade-in",children:[e.jsxs("div",{className:"stg-section-header",style:{alignItems:"flex-start"},children:[e.jsxs("div",{style:{display:"flex",gap:"12px",flex:1},children:[e.jsx("div",{className:"stg-section-icon stg-icon-profile",children:e.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),e.jsx("circle",{cx:"12",cy:"7",r:"4"})]})}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:p("settings.profile")}),e.jsx("p",{className:"stg-section-sub",children:p("settings.aliasSub")})]})]}),e.jsx("button",{type:"button",className:"profile-action-btn",style:{width:"auto",padding:"6px 12px",fontSize:"var(--text-xs)",background:j?"var(--color-primary)":"var(--color-bg-secondary)",color:j?"white":"var(--color-text)",border:"1px solid var(--border-light)"},onClick:async()=>{if(j){if(_.current){clearTimeout(_.current),_.current=null;const i=await ui(Me);if(!i.ok){me(i.code);return}}if(G.current){clearTimeout(G.current),G.current=null;const i=await Ae(V);if(!i.ok&&!i.queued){ue(i.code);return}i.user&&o(i.user)}O.current&&(clearTimeout(O.current),O.current=null,Ee(He.trim())),Qe(!1),b()}else Qe(!0)},children:u(j?"profileSave":"profileEdit")})]}),e.jsx("div",{className:"stg-section-titles",style:{marginBottom:"8px"},children:e.jsx("label",{htmlFor:"real-name-input",className:"stg-toggle-label",style:{fontSize:"var(--text-xs)",fontWeight:600,color:"var(--color-text-muted)",letterSpacing:"0.05em"},children:u("realNameLabel")})}),e.jsxs("div",{className:"stg-profile-input-wrap",style:{opacity:j?1:.8,pointerEvents:j?"auto":"none",border:j?"1.5px solid var(--color-primary)":"1.5px solid var(--border-light)"},children:[e.jsx("div",{className:"stg-profile-avatar",style:{fontSize:"1.2rem"},children:"🪪"}),e.jsx("input",{id:"real-name-input",type:"text",className:"stg-profile-input",autoComplete:"name",placeholder:u("realNamePlaceholder"),value:Me,onChange:i=>yt(i.target.value),maxLength:Lt,readOnly:!j})]}),e.jsx("p",{style:{margin:"6px 2px 4px",fontSize:"var(--text-xs)",color:"var(--color-text-muted)"},children:u("realNameHint")}),Ue&&e.jsx("p",{role:"alert",style:{margin:"4px 2px 0",fontSize:"var(--text-xs)",fontWeight:600,color:"var(--color-error, #C0392B)"},children:Bt(d,Ue)}),e.jsx("div",{style:{height:"16px"}}),e.jsx("div",{className:"stg-section-titles",style:{marginBottom:"8px"},children:e.jsx("label",{htmlFor:"alias-input",className:"stg-toggle-label",style:{fontSize:"var(--text-xs)",fontWeight:600,color:"var(--color-text-muted)",letterSpacing:"0.05em"},children:p("settings.alias")})}),e.jsxs("div",{className:"stg-profile-input-wrap",style:{opacity:j?1:.8,pointerEvents:j?"auto":"none",border:j?"1.5px solid var(--color-primary)":"1.5px solid var(--border-light)"},children:[e.jsx("div",{className:"stg-profile-avatar",children:(V||"?").charAt(0).toUpperCase()}),e.jsx("input",{id:"alias-input",type:"text",className:"stg-profile-input",placeholder:p("settings.aliasPlaceholder"),value:V,onChange:i=>vt(i.target.value),maxLength:30,readOnly:!j}),j&&e.jsx("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:e.jsxs("span",{className:"stg-profile-counter",children:[V.length,"/30"]})})]}),_e&&e.jsx("p",{role:"alert",style:{margin:"6px 2px 0",fontSize:"var(--text-xs)",fontWeight:600,color:"var(--color-error, #C0392B)"},children:Rt(d,_e)}),e.jsx("div",{className:"stg-section-titles",style:{marginTop:"16px",marginBottom:"8px"},children:e.jsx("span",{className:"stg-toggle-label",style:{fontSize:"var(--text-xs)",fontWeight:600,color:"var(--color-text-muted)",letterSpacing:"0.05em"},children:u("phoneLabel")})}),e.jsxs("div",{className:"stg-profile-input-wrap",style:{opacity:j?1:.8,pointerEvents:j?"auto":"none",border:j?"1.5px solid var(--color-primary)":"1.5px solid var(--border-light)"},children:[e.jsx("div",{className:"stg-profile-avatar",style:{fontSize:"1.2rem"},children:"📞"}),e.jsx("input",{id:"phone-input",type:"tel",className:"stg-profile-input",placeholder:"+49 176 1234567",value:He,onCh
2ange:i=>bt(i.target.value),maxLength:30,readOnly:!j})]}),j&&e.jsxs("div",{className:"fade-in",style:{marginTop:"var(--space-4)",borderTop:"1px dashed var(--border-medium)",paddingTop:"var(--space-4)"},children:[e.jsxs("div",{className:"stg-section-titles",style:{marginBottom:"16px"},children:[e.jsx("h3",{className:"stg-section-title",children:oe("genderMezhep",d)}),e.jsx("p",{className:"stg-section-sub",children:oe("genderMezhepSub",d)})]}),e.jsxs("div",{className:"stg-toggle-group",style:{marginTop:0},children:[e.jsx("span",{className:"stg-toggle-label",children:oe("gender",d)}),e.jsx("div",{className:"stg-pill-group",children:ca.map(i=>e.jsxs("button",{className:`stg-pill ${N===i.value?"active":""}`,onClick:()=>{Wi(i.value),b()},children:[e.jsx("span",{children:i.icon}),e.jsx("span",{children:i.label[d]||i.label.en})]},i.value))})]}),e.jsxs("div",{className:"stg-toggle-group",children:[e.jsx("span",{className:"stg-toggle-label",children:oe("mezhep",d)}),e.jsx("div",{className:"stg-pill-group stg-pill-grid",children:da.map(i=>e.jsx("button",{className:`stg-pill ${A===i.value?"active":""}`,onClick:()=>{$i(i.value),b()},children:e.jsx("span",{children:i.label[d]||i.label.en})},i.value))})]})]})]}),e.jsxs("div",{className:"stg-section fade-in",children:[e.jsxs("div",{className:"stg-section-header",children:[e.jsx("div",{className:"stg-section-icon stg-icon-widget",children:e.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),e.jsx("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),e.jsx("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"}),e.jsx("rect",{x:"3",y:"14",width:"7",height:"7",rx:"1"})]})}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:u("designTitle")}),e.jsx("p",{className:"stg-section-sub",children:u("designSub")})]})]}),e.jsxs("div",{className:"stg-theme-grid",children:[e.jsxs("button",{type:"button",className:`stg-theme-pill stg-theme-emerald ${Y==="emerald"?"active":""}`,onClick:()=>ne("emerald"),children:[e.jsx("span",{className:"stg-theme-dot"})," Emerald"]}),e.jsxs("button",{type:"button",className:`stg-theme-pill stg-theme-sapphire ${Y==="sapphire"?"active":""}`,onClick:()=>ne("sapphire"),children:[e.jsx("span",{className:"stg-theme-dot"})," Sapphire"]}),e.jsxs("button",{type:"button",className:`stg-theme-pill stg-theme-amethyst ${Y==="amethyst"?"active":""} ${L("amethyst")?"locked":""}`,onClick:()=>ne("amethyst"),style:L("amethyst")?{opacity:.55}:void 0,children:[e.jsx("span",{className:"stg-theme-dot"})," Amethyst ",L("amethyst")&&"🔒"]}),e.jsxs("button",{type:"button",className:`stg-theme-pill stg-theme-ruby ${Y==="ruby"?"active":""} ${L("ruby")?"locked":""}`,onClick:()=>ne("ruby"),style:L("ruby")?{opacity:.55}:void 0,children:[e.jsx("span",{className:"stg-theme-dot"})," Ruby ",L("ruby")&&"🔒"]})]}),(L("amethyst")||L("ruby"))&&e.jsx("p",{style:{marginTop:8,fontSize:"var(--text-xs)",color:"var(--color-text-muted)"},children:u("themeLock",{n:typeof K=="number"?K:2})}),e.jsx("div",{style:{marginTop:"12px"},children:e.jsx("button",{className:"stg-preview-btn",onClick:()=>T("/widget-preview"),children:u("previewBtn")})})]}),e.jsxs("div",{className:"stg-section fade-in",children:[e.jsxs("div",{className:"stg-section-header",children:[e.jsx("div",{className:"stg-section-icon",style:{background:"var(--color-primary-glow)",color:"var(--color-primary)"},children:"↔️"}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:p("more.sidebarGesture")||"Sidebar-Geste"}),e.jsx("p",{className:"stg-section-sub",children:p("more.sidebarGestureSub")||"Edge-Swipe-Seite (bei Konflikt mit Zurück-Geste umstellen)"})]})]}),e.jsx("div",{className:"stg-toggle-group",style:{marginTop:"16px"},children:e.jsx("div",{className:"stg-pill-group",style:{display:"flex",gap:"8px"},children:["right","left","off"].map(i=>e.jsx("button",{className:`stg-pill ${(Ui||"right")===i?"active":""}`,onClick:()=>{Vi(i),b()},style:{flex:1,justifyContent:"center"},children:e.jsx("span",{children:i==="right"?p("more.sgRight")||"Rechts":i==="left"?p("more.sgLeft")||"Links":p("more.sgOff")||"Aus"})},i))})})]}),e.jsxs("div",{className:"stg-section fade-in",children:[e.jsxs("div",{className:"stg-section-header",children:[e.jsx(zi,{variant:"preview",active:P!==!1,mood:P!==!1?"freut":"schlaeft",size:64,forceVisible:!0,className:`stg-mascot-preview${P===!1?" stg-mascot-preview--off":""}`},P!==!1?"filiz-on":"filiz-off"),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:p("settings.mascot")||"Filiz (Maskottchen)"}),e.jsx("p",{className:"stg-section-sub",children:p("settings.mascotSub")||"Zeigt das kleine Bäumchen-Maskottchen in der App an"})]})]}),e.jsx("div",{className:"stg-toggle-group",style:{marginTop:"16px"},children:e.jsxs("div",{className:"stg-pill-group",style:{display:"flex",gap:"8px"},children:[e.jsx("button",{type:"button",className:`stg-pill ${P!==!1?"active":""}`,onClick:()=>{Ce(!0),b()},"aria-pressed":P!==!1,style:{flex:1,justifyContent:"center"},children:e.jsx("span",{children:p("settings.mascotOn")||"Aktiviert"})}),e.jsx("button",{type:"button",className:`stg-pill ${P===!1?"active":""}`,onClick:()=>{Ce(!1),b()},"aria-pressed":P===!1,style:{flex:1,justifyContent:"center"},children:e.jsx("span",{children:p("settings.mascotOff")||"Deaktiviert"})})]})})]}),e.jsxs("div",{className:"stg-section fade-in",children:[e.jsxs("div",{className:"stg-section-header",children:[e.jsx("div",{className:"stg-section-icon",style:{background:"var(--color-primary-glow)",color:"var(--color-primary)",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.15rem"},children:"💡"}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:w.title[d]||w.title.de}),e.jsx("p",{className:"stg-section-sub",children:w.sub[d]||w.sub.de})]})]}),e.jsxs("div",{className:"stg-toggle-group",style:{marginTop:"16px"},children:[e.jsxs("div",{className:"stg-pill-group",style:{display:"flex",gap:"8px"},children:[e.jsx("button",{type:"button",className:`stg-pill ${W?"":"active"}`,onClick:()=>{Ni(!1),ce(!1),b()},"aria-pressed":!W,style:{flex:1,justifyContent:"center"},children:e.jsx("span",{children:w.on[d]||w.on.de})}),e.jsx("button",{type:"button",className:`stg-pill ${W?"active":""}`,onClick:()=>{Ni(!0),ce(!0),b()},"aria-pressed":W,style:{flex:1,justifyContent:"center"},children:e.jsx("span",{children:w.off[d]||w.off.de})})]}),W&&e.jsx("p",{style:{margin:"8px 0 0",fontSize:"0.78rem",color:"var(--color-text-muted)"},children:w.offHint[d]||w.offHint.de})]}),e.jsxs("div",{style:{marginTop:"14px",paddingTop:"12px",borderTop:"1px solid rgba(255, 255, 255, 0.08)"},children:[e.jsxs("button",{type:"button",className:"stg-pill",onClick:()=>{qt(),Ie(!0),b(),setTimeout(()=>Ie(!1),2500)},style:{display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"8px",width:"100%",padding:"9px 14px",fontSize:"0.82rem",fontWeight:"600",cursor:"pointer"},children:[e.jsx("span",{children:"🔄"}),e.jsx("span",{children:Qi?w.resetDone[d]||w.resetDone.de:w.resetBtn[d]||w.resetBtn.de})]}),e.jsx("p",{style:{margin:"6px 0 0",fontSize:"0.74rem",color:"var(--color-text-muted)",textAlign:"center"},children:w.resetSub[d]||w.resetSub.de})]})]}),e.jsxs("div",{className:"stg-section fade-in",children:[e.jsxs("div",{className:"stg-section-header",children:[e.jsx("div",{className:"stg-section-icon",style:{background:"var(--color-primary-glow)",color:"var(--color-primary)",display:"flex",alignItems:"center",justifyContent:"center"},children:"🤖"}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:u("aiTitle")}),e.jsx("p",{className:"stg-section-sub",children:u("aiSub")})]})]}),e.jsxs("div",{className:"stg-toggle-group",style:{marginTop:"16px"},children:[e.jsx("span",{className:"stg-toggle-label",children:u("aiToggleLabel")}),e.jsxs("div",{className:"stg-pill-group",style:{display:"flex",gap:"8px"},children:[e.jsx("button",{type:"button",className:`stg-pill ${le.aiConsent?"active":""}`,onClick:()=>T("/ask"),style:{flex:1,justifyContent:"center"},children:e.jsx("span",{children:le.aiConsent?u("toggleOn"):u("aiReviewPermission")})}),e.jsx("button",{type:"button",className:`stg-pill ${le.aiConsent?"":"active"}`,onClick:ht,disabled:Be,style:{flex:1,justifyContent:"center"},children:e.jsx("span",{children:u("toggleOff")})})]})]}),qe&&e.jsx("p",{role:"alert",style:{color:"var(--color-error)",fontSize:"0.8rem"},children:qe})]}),e.jsxs("div",{className:"stg-section fade-in",children:[e.jsxs("div",{className:"stg-section-header",children:[e.jsx("div",{className:"stg-section-icon stg-icon-lang",children:e.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}),e.jsx("line",{x1:"2",y1:"12",x2:"22",y2:"12"}),e.jsx("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"})]})}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:p("settings.language")}),e.jsx("p",{className:"stg-section-sub",children:p("settings.languageSub")})]})]}),e.jsxs("div",{className:"stg-lang-dropdown-wrap",children:[e.jsxs("button",{className:"stg-lang-dropdown-trigger",onClick:()=>Xe(!he),children:[e.jsx("span",{className:"stg-lang-flag",children:(yi=re.find(i=>i.code===d))==null?void 0:yi.flag}),e.jsxs("div",{className:"stg-lang-info",children:[e.jsx("span",{className:"stg-lang-native",children:(bi=re.find(i=>i.code===d))==null?void 0:bi.native}),e.jsx("span",{className:"stg-lang-code",children:(xi=re.find(i=>i.code===d))==null?void 0:xi.short})]}),e.jsx("svg",{className:`stg-lang-chevron ${he?"open":""}`,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("polyline",{points:"6 9 12 15 18 9"})})]}),he&&e.jsx("div",{className:"stg-lang-dropdown-list",children:re.map(i=>e.jsxs("button",{className:`stg-lang-dropdown-item ${d===i.code?"active":""}`,onClick:()=>{jt(i.code),Xe(!1)},children:[e.jsx("span",{className:"stg-lang-flag",children:i.flag}),e.jsx("span",{className:"stg-lang-native",children:i.native}),e.jsx("span",{className:"stg-lang-code",children:i.short})]},i.code))})]})]}),e.jsxs("div",{className:"stg-section fade-in",children:[e.jsxs("div",{className:"stg-section-header",children:[e.jsx("div",{className:"stg-section-icon stg-icon-location",children:e.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),e.jsx("circle",{cx:"12",cy:"10",r:"3"})]})}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:p("settings.location")}),e.jsx("p",{className:"stg-section-sub",children:p("settings.locationSub")})]})]}),y.city&&e.jsxs("div",{className:"stg-current-loc",children:[e.jsx("div",{className:"stg-loc-pin",children:"📍"}
2),e.jsxs("div",{className:"stg-loc-details",children:[e.jsx("span",{className:"stg-loc-city",children:y.city}),e.jsx("span",{className:"stg-loc-country",children:y.country})]})]}),(()=>{const i=Gt();if(!i)return null;const n=i.source==="ip"?"geo.sourceIp":i.precision==="coarse"?"geo.sourceCoarse":"geo.sourceGps",r=i.ts?Math.round((Date.now()-i.ts)/6e4):null,x=r==null?"":r<1?p("geo.ageNow"):r<60?`${r} ${p("geo.ageMin")}`:`${Math.round(r/60)} ${p("geo.ageHour")}`,C=Number.isFinite(i.accuracy)?i.accuracy>=1e3?`±${(i.accuracy/1e3).toFixed(1)} km`:`±${Math.round(i.accuracy)} m`:null;return e.jsxs("p",{className:"stg-geo-status",children:[p(n),C?` · ${C}`:"",x?` · ${x}`:"",i.error?` · ⚠️ ${p(`geo.${i.error}`)||i.error}`:""]})})(),e.jsx("div",{className:"stg-loc-actions",children:e.jsxs("button",{className:"stg-detect-btn",onClick:kt,disabled:Ke,children:[e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}),e.jsx("line",{x1:"22",y1:"12",x2:"18",y2:"12"}),e.jsx("line",{x1:"6",y1:"12",x2:"2",y2:"12"}),e.jsx("line",{x1:"12",y1:"6",x2:"12",y2:"2"}),e.jsx("line",{x1:"12",y1:"22",x2:"12",y2:"18"})]}),p(Ke?"settings.detecting":"settings.detectLocation")]})}),Ye&&e.jsx("p",{className:"stg-error",children:Ye}),e.jsxs("div",{className:"stg-city-search",children:[e.jsx("input",{type:"text",className:"stg-city-input",placeholder:p("settings.locationPlaceholder"),value:J,onChange:i=>$e(i.target.value)}),pi.length>0&&e.jsx("div",{className:"stg-city-results",children:pi.map((i,n)=>e.jsxs("button",{className:"stg-city-result",onClick:()=>mi(i),children:[e.jsx("span",{className:"stg-city-name",children:i.city}),e.jsx("span",{className:"stg-city-country",children:i.country})]},`${i.city}-${n}`))})]}),e.jsxs("div",{className:"stg-popular",children:[e.jsx("span",{className:"stg-popular-label",children:p("settings.popularCities")}),e.jsx("div",{className:"stg-popular-chips",children:Gi.slice(0,8).map((i,n)=>e.jsx("button",{className:`stg-chip ${y.city===i.city?"active":""}`,onClick:()=>mi(i),children:i.city},`pop-${n}`))})]})]}),window.ImantreeNotifications&&window.ImantreeNotifications.isIgnoringBatteryOptimizations&&!window.ImantreeNotifications.isIgnoringBatteryOptimizations()&&e.jsxs("div",{className:"stg-section stg-section-precision fade-in",children:[e.jsxs("div",{className:"stg-section-header",children:[e.jsx("div",{className:"stg-section-icon stg-icon-precision",children:e.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}),e.jsx("polyline",{points:"12 6 12 12 16 14"})]})}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:u("ezanTitle")}),e.jsx("p",{className:"stg-section-sub",children:u("ezanSub")})]})]}),e.jsx("button",{className:"stg-detect-btn",onClick:()=>{try{window.ImantreeNotifications.requestBatteryOptimizationExemption(),b()}catch{}},style:{marginTop:"12px"},children:u("ezanBtn")})]}),window.ImantreeNotifications&&typeof window.ImantreeNotifications.isStickyNotificationEnabled=="function"&&e.jsx(ua,{language:d,flashSaved:b}),e.jsx("div",{className:"stg-section fade-in",onClick:()=>I!=="pro"&&T("/premium"),style:{cursor:I!=="pro"?"pointer":"default"},children:e.jsxs("div",{className:"stg-section-header",children:[e.jsxs("div",{style:{display:"flex",gap:12},children:[e.jsx("div",{className:"stg-section-icon stg-icon-widget",style:{background:"var(--color-primary-glow)",color:"var(--color-primary)"},children:"☁️"}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:u(I==="pro"?"cloudUnlimited":"cloudLimited")}),e.jsx("p",{className:"stg-section-sub",children:a!=null&&a.granted?I==="pro"?u("cloudUnlimitedSub"):u("cloudLimitedSub",{tier:si,n:ji.cloudSync[I]}):z.local})]})]}),I!=="pro"&&e.jsx("span",{style:{fontSize:"var(--text-xs)",color:"var(--color-primary)",fontWeight:700},children:u(I==="plus"?"cloudUpgradePro":"cloudUpgrade")})]})}),e.jsx(ia,{language:d,onSaved:b}),e.jsxs("div",{className:"stg-section fade-in",children:[e.jsxs("div",{className:"stg-section-header",children:[e.jsx("div",{className:"stg-section-icon stg-icon-widget",style:{background:"var(--color-primary-glow)",color:"var(--color-primary)"},children:"☁️"}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",children:z.title}),e.jsx("p",{className:"stg-section-sub","aria-live":"polite",children:a!=null&&a.pendingDeletion?z.pending:a!=null&&a.restorePending?z.restoring:a!=null&&a.granted?z.active:z.local})]})]}),e.jsx("p",{style:{fontSize:"0.85rem",lineHeight:1.55,margin:"12px 0 8px"},children:z.details}),e.jsx("p",{style:{fontSize:"0.8rem",lineHeight:1.5,margin:"0 0 8px"},children:a!=null&&a.granted||a!=null&&a.pendingDeletion?z.withdrawal:z.consent}),e.jsx("button",{type:"button",className:"stg-detect-btn",disabled:!t||de,onClick:()=>pt(a!=null&&a.pendingDeletion?!1:a!=null&&a.restorePending?!0:!(a!=null&&a.granted)),style:{marginTop:"4px"},children:de?z.busy:a!=null&&a.pendingDeletion?z.retry:a!=null&&a.restorePending?z.retryRestore:a!=null&&a.granted?z.revoke:z.grant}),De&&e.jsx("p",{role:"alert",style:{color:"var(--color-error)",fontSize:"0.8rem"},children:De})]}),e.jsx(ea,{language:d,prefs:Zi,onChange:i=>{Xi(i),Ot(d,y),b()},onSyncNow:()=>{try{window.dispatchEvent(new CustomEvent("imantree:force-sync")),b()}catch{}}}),e.jsx("div",{className:"stg-privacy-note",children:e.jsx("p",{children:p("settings.locationPrivacy")})}),t&&e.jsx("div",{className:"stg-section fade-in stg-danger-section",style:{marginTop:"var(--space-6)",border:"1px solid rgba(224, 96, 96, 0.25)"},children:e.jsxs("div",{className:"stg-section-header",onClick:()=>T("/delete-account"),style:{cursor:"pointer",marginBottom:0},children:[e.jsxs("div",{style:{display:"flex",gap:12,alignItems:"center",flex:1},children:[e.jsx("div",{className:"stg-section-icon",style:{background:"rgba(224, 96, 96, 0.1)",color:"var(--color-error, #E06060)"},children:"⚠️"}),e.jsxs("div",{className:"stg-section-titles",children:[e.jsx("h3",{className:"stg-section-title",style:{color:"var(--color-error, #E06060)"},children:p("more.deleteAccount")}
2),e.jsx("p",{className:"stg-section-sub",children:p("more.deleteAccountSub")})]})]}),e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{color:"var(--color-text-muted)",flexShrink:0},children:e.jsx("polyline",{points:"9 18 15 12 9 6"})})]})})]}),st&&Si.createPortal(e.jsx("div",{className:"invoices-dialog-overlay",onClick:i=>{i.target.className==="invoices-dialog-overlay"&&ci()},children:e.jsxs("div",{className:"invoices-dialog",style:{maxWidth:"420px"},children:[e.jsxs("div",{className:"invoices-dialog-header",children:[e.jsx("h3",{children:f("dialogTitle")}),e.jsx("button",{className:"invoices-close-btn",onClick:ci,disabled:k,children:e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),e.jsx("div",{className:"invoices-dialog-body",style:{padding:"20px"},children:ai==="done"?e.jsx("div",{style:{textAlign:"center",padding:"20px 8px",fontSize:"15px",fontWeight:600,color:"var(--color-primary, #1b4332)"},children:f("changed")}):ai==="code"?e.jsxs(e.Fragment,{children:[e.jsx("p",{style:{fontSize:"13.5px",lineHeight:1.5,marginBottom:"14px",color:"var(--color-secondary, #666)"},children:f("codeSentTo",{email:$})}),e.jsx("label",{style:{fontSize:"12px",fontWeight:600,display:"block",marginBottom:"6px"},children:f("codeLabel")}),e.jsx("input",{type:"text",inputMode:"numeric",autoComplete:"one-time-code",maxLength:6,className:"stg-profile-input",style:{width:"100%",textAlign:"center",letterSpacing:"8px",fontSize:"20px",fontWeight:700},value:X,onChange:i=>be(i.target.value.replace(/\D/g,"")),onKeyDown:i=>{i.key==="Enter"&&!k&&di()},disabled:k,autoFocus:!0}),Q&&e.jsx("div",{className:"stg-error",style:{marginTop:"10px",fontSize:"13px",color:"#c0392b"},children:Q}),e.jsxs("div",{style:{display:"flex",gap:"10px",marginTop:"16px"},children:[e.jsx("button",{onClick:()=>{Z("input"),S(""),be("")},disabled:k,style:{flex:1,background:"none",border:"1.5px solid var(--color-border, #ddd)",borderRadius:"8px",padding:"11px",fontSize:"14px",fontWeight:600,cursor:"pointer",color:"inherit"},children:f("back")}),e.jsx("button",{onClick:di,disabled:k||X.length!==6,style:{flex:2,background:"var(--color-primary, #1b4332)",color:"#fff",border:"none",borderRadius:"8px",padding:"11px",fontSize:"14px",fontWeight:600,cursor:"pointer",opacity:k||X.length!==6?.6:1},children:k?"…":f("confirm")})]})]}):e.jsxs(e.Fragment,{children:[ri&&e.jsxs("p",{style:{fontSize:"13px",lineHeight:1.5,marginBottom:"12px",color:"var(--color-secondary, #666)"},children:["🔒 ",f("relayHint")]}),e.jsx("label",{style:{fontSize:"12px",fontWeight:600,display:"block",marginBottom:"6px"},children:f("newLabel")}),e.jsx("input",{type:"email",inputMode:"email",autoComplete:"email",className:"stg-profile-input",style:{width:"100%"},placeholder:"[email protected]",value:$,onChange:i=>ye(i.target.value),onKeyDown:i=>{i.key==="Enter"&&!k&&Ne()},disabled:k,autoFocus:!0}),te&&e.jsxs("section",{"aria-label":f("reauthRequired"),style:{marginTop:"14px",padding:"12px",border:"1px solid var(--color-primary-light, #86efac)",borderRadius:"8px",background:"var(--color-primary-glow, rgba(27, 67, 50, 0.08))"},children:[e.jsx("p",{style:{fontSize:"12.5px",lineHeight:1.45,margin:"0 0 10px",color:"var(--color-secondary, #666)"},children:f("reauthHint")}),ae?e.jsxs("div",{role:"status",style:{fontSize:"13px",fontWeight:600,color:"var(--color-primary, #1b4332)"},children:["✓ ",f("reauthReady")]}):e.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:"8px"},children:[ee&&e.jsx("button",{type:"button",onClick:gt,disabled:k,style:{flex:"1 1 160px",background:"#fff",border:"1px solid #dadce0",borderRadius:"7px",padding:"9px 10px",fontSize:"13px",fontWeight:600,cursor:"pointer",color:"#3c4043"},children:f("reauthGoogle")}),ie&&e.jsx("button",{type:"button",onClick:ft,disabled:k,style:{flex:"1 1 160px",background:"#171717",border:"1px solid #171717",borderRadius:"7px",padding:"9px 10px",fontSize:"13px",fontWeight:600,cursor:"pointer",color:"#fff"},children:f("reauthApple")}),!ee&&!ie&&e.jsx("span",{style:{fontSize:"12.5px",color:"#a33"},children:f("reauthRequired")})]})]}),rt&&e.jsxs(e.Fragment,{children:[e.jsx("label",{style:{fontSize:"12px",fontWeight:600,display:"block",margin:"12px 0 6px"},children:f("currentPw")}),e.jsx("input",{type:"password",autoComplete:"current-password",className:"stg-profile-input",style:{width:"100%"},value:xe,onChange:i=>ke(i.target.value),onKeyDown:i=>{i.key==="Enter"&&!k&&Ne()},disabled:k})]}),(t==null?void 0:t.provider)==="apple"&&e.jsx("p",{style:{fontSize:"12px",lineHeight:1.4,marginTop:"8px",color:"var(--color-secondary, #888)"},children:f("loginUnchanged")}),Q&&e.jsx("div",{className:"stg-error",role:"alert",style:{marginTop:"10px",fontSize:"13px",color:"#c0392b"},children:Q}),e.jsx("button",{onClick:Ne,disabled:k||!$.trim()||te&&!ae,style:{width:"100%",marginTop:"16px",background:"var(--color-primary, #1b4332)",color:"#fff",border:"none",borderRadius:"8px",padding:"12px",fontSize:"14px",fontWeight:600,cursor:"pointer",opacity:k||!$.trim()||te&&!ae?.6:1},children:k?"…":f("sendCode")})]})})]})}),document.body),nt&&Si.createPortal(e.jsx("div",{className:"invoices-dialog-overlay",onClick:i=>{i.target.className==="invoices-dialog-overlay"&&fe(!1)},children:e.jsxs("div",{className:"invoices-dialog",children:[e.jsxs("div",{className:"invoices-dialog-header",children:[e.jsx("h3",{children:u("invoicesTitle")}),e.jsx("button",{className:"invoices-close-btn",onClick:()=>fe(!1),children:e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),e.jsx("div",{className:"invoices-dialog-body",children:at?e.jsxs("div",{className:"profile-loading",children:[e.jsx("div",{className:"profile-spinner"}),e.jsx("span",{children:u("invoicesLoading")})]}):ii?e.jsx("div",{className:"stg-error",style:{textAlign:"center",padding:"16px"},children:ii}):ge.length===0?e.jsx("div",{style:{textAlign:"center",color:"var(--color-secondary)",padding:"24px"},children:u("invoicesEmpty")}):e.jsx("ul",{className:"profile-invoice-list",children:ge.map(i=>e.jsxs("li",{className:"profile-invoice-item",children:[e.jsxs("div",{className:"invoice-info",children:[e.jsx("span",{className:"invoice-date",children:dt(i.created)}),e.jsx("span",{className:"invoice-amount",children:ct(i.amount_paid,i.currency)}),e.jsx("span",{className:`invoice-status status-${i.status}`,children:ut(i.status)})]}),i.invoice_pdf&&e.jsx("a",{href:i.invoice_pdf,target:"_blank",rel:"noopener noreferrer",className:"invoice-download-btn",children:"PDF"})]},i.id))})})]})}),document.body)]})}
2export{va 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.