@sekyro/react 0.1.0-rc.1 → 0.1.0-rc.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +289 -0
- package/LICENSE +25 -16
- package/README.md +151 -14
- package/dist/chunk-2KED7D2Q.js +2 -0
- package/dist/chunk-5XYKAT3V.js +2 -0
- package/dist/chunk-63LPCEVJ.js +2 -0
- package/dist/chunk-746GPDBD.js +2 -0
- package/dist/chunk-D5WF4UNP.js +2 -0
- package/dist/chunk-ECWKDUB5.js +2 -0
- package/dist/chunk-EZ5TVL6P.js +2 -0
- package/dist/chunk-H2KIOYQU.js +2 -0
- package/dist/chunk-JNAKE3DW.js +2 -0
- package/dist/chunk-MXPLBQHW.js +2 -0
- package/dist/chunk-PCNVEJSW.js +2 -0
- package/dist/chunk-PYAJMHZH.js +2 -0
- package/dist/chunk-VRDPGOXM.js +2 -0
- package/dist/chunk-YY76AMUA.js +2 -0
- package/dist/chunk-ZCAZDOMD.js +2 -0
- package/dist/document-capture-view-E2USDGQJ.js +2 -0
- package/dist/eid-view-74CN2XAY.js +2 -0
- package/dist/email-otp-view-DE624TXY.js +2 -0
- package/dist/flow-views-CO5TQYTP.js +2 -0
- package/dist/fonts/Cairo-OFL.txt +93 -0
- package/dist/fonts/Geist-OFL.txt +93 -0
- package/dist/fonts/Inter-OFL.txt +93 -0
- package/dist/fonts/SekyroCairo-Bold.woff2 +0 -0
- package/dist/fonts/SekyroCairo-Regular.woff2 +0 -0
- package/dist/fonts/SekyroCairo-SemiBold.woff2 +0 -0
- package/dist/fonts/SekyroGeist-Bold.woff2 +0 -0
- package/dist/fonts/SekyroGeist-SemiBold.woff2 +0 -0
- package/dist/fonts/SekyroInter-Medium.woff2 +0 -0
- package/dist/fonts/SekyroInter-Regular.woff2 +0 -0
- package/dist/fonts/SekyroInter-SemiBold.woff2 +0 -0
- package/dist/index.cjs +2 -901
- package/dist/index.d.cts +7 -233
- package/dist/index.d.ts +7 -233
- package/dist/index.js +2 -880
- package/dist/overlay-de-UWA5CZLC.js +2 -0
- package/dist/overlay-es-VCSJQ4KN.js +2 -0
- package/dist/overlay-pt-NQMWHKF5.js +2 -0
- package/dist/portrait-capture-view-Y5W776HP.js +2 -0
- package/dist/styles.css +287 -12
- package/dist/theme-DqD8Nyoq.d.cts +496 -0
- package/dist/theme-DqD8Nyoq.d.ts +496 -0
- package/dist/verification/index.cjs +2 -0
- package/dist/verification/index.d.cts +573 -0
- package/dist/verification/index.d.ts +573 -0
- package/dist/verification/index.js +2 -0
- package/dist/verification.css +586 -0
- package/package.json +27 -13
- package/sbom.cdx.json +153 -0
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as O}from"./chunk-YY76AMUA.js";import{a as U,b as y,c as z}from"./chunk-H2KIOYQU.js";import{a as K}from"./chunk-VRDPGOXM.js";import{d as E}from"./chunk-PCNVEJSW.js";import{a as _}from"./chunk-MXPLBQHW.js";import{a as f,u as G}from"./chunk-ECWKDUB5.js";import{a}from"./chunk-2KED7D2Q.js";import{isValidNni as oe,normalizeNni as x}from"@sekyro/web";import{useEffect as $,useId as re,useRef as W,useState as S}from"react";import{Fragment as A,jsx as i,jsxs as l}from"react/jsx-runtime";var Y={en:y,fr:z,ar:U,es:y,pt:y,de:y},R=6,de=new Set(["eid_identifier_invalid","eid_code_invalid","eid_locked","eid_not_enrolled"]),q=a((e,o)=>{if(e===void 0)return 0;let p=Date.parse(e)-o;return Number.isFinite(p)?Math.max(0,Math.ceil(p/1e3)):0},"secondsUntil"),se=a(e=>`${Math.floor(e/60)}:${String(e%60).padStart(2,"0")}`,"mmss");function be({step:e,i18n:o,className:p,onError:J}){let B=o.strings,n=a((t,d)=>E(B[t]??Y[o.locale][t]??"",d),"t"),C=a((t,d)=>{let ne=new Intl.PluralRules(o.locale).select(d),V=`${t}.${ne}`,te=B[V]??Y[o.locale][V]??n(`${t}.other`);return E(te,{count:new Intl.NumberFormat(o.locale).format(d)})},"plural"),g=a(t=>e.providerName?n(`eid.${t}`,{provider:e.providerName}):n(`eid.${t}Generic`),"named"),[w,Q]=S(""),[v,I]=S(""),[c,P]=S(!1),[k,u]=S(null),r=e.phase==="code",D=O(r),s=re(),X=G(),m=a(async t=>{P(!0),u(null);try{await t()}catch(d){u(K(d,o.strings)),J?.(d)}finally{P(!1)}},"run"),F=W(!1);$(()=>{!e.identifierBound||r||e.reason!==void 0||F.current||(F.current=!0,m(()=>e.start()))},[e.identifierBound,r,e.reason]),$(()=>{(e.reason==="eid_code_invalid"||e.codeExpiresAt!==void 0)&&I("")},[e.reason,e.codeExpiresAt,e.codeAttemptsRemaining]);let M=W(r);$(()=>{r&&!M.current&&document.getElementById(`${s}-code`)?.focus(),M.current=r},[r,s]);let b=e.reason==="eid_locked",T=q(e.codeExpiresAt,D),H=r&&e.codeExpiresAt!==void 0&&T===0,h=q(e.resendAvailableAt,D),L=e.resendsRemaining===0||e.reason==="eid_resend_limit",Z=a(t=>{if(t.preventDefault(),r){v.length===R&&!b&&m(()=>e.verify(v));return}if(e.identifierBound){m(()=>e.start());return}let d=x(w);if(e.country==="MR"){if(!/^\d{10}$/.test(d))return u("population.invalid");if(!oe(d))return u("population.reason_nni_invalid")}m(()=>e.start(d))},"onSubmit"),N=e.reason?.startsWith("eid_")?e.reason:void 0,j=l(A,{children:[N!==void 0?l(_,{tone:de.has(N)?"danger":"warning",children:[i("span",{children:n(`reasons.${N}`)}),N==="eid_code_invalid"&&e.codeAttemptsRemaining!==void 0?i("span",{children:C("eid.codeAttemptsRemaining",e.codeAttemptsRemaining)}):null,e.canUseCamera?i(f,{kind:"ghost",disabled:c,onClick:()=>{m(()=>e.useCamera())},children:n("eid.useCamera")}):null]}):null,k!==null?i(_,{tone:"danger",children:i("span",{children:o.t(k)})}):null]}),[ee,ie]=r?[g("codeTitle"),g("codeHelp")]:[g("identifierTitle"),g(e.identifierBound?"boundDescription":"identifierDescription")];return l("form",{className:`sekyro-stack sekyro-stack--4 sekyro-otp${p?` ${p}`:""}`,"aria-labelledby":s,onSubmit:Z,noValidate:!0,"data-testid":"sekyro-eid",children:[l("div",{className:"sekyro-stack sekyro-stack--1",children:[i("h2",{id:s,ref:X,tabIndex:-1,className:"sekyro-text-body",children:ee}),i("p",{className:"sekyro-text-muted",children:ie}),e.afterPass==="continue"?i("p",{className:"sekyro-text-muted","data-testid":"sekyro-eid-continue",children:e.providerName?n("eid.continueHint",{provider:e.providerName}):n("eid.continueHintGeneric")}):null]}),j,r?l(A,{children:[l("div",{className:"sekyro-field",children:[i("label",{className:"sekyro-label",htmlFor:`${s}-code`,children:n("eid.codeLabel")}),i("input",{id:`${s}-code`,className:"sekyro-input sekyro-input--code",dir:"ltr",inputMode:"numeric",autoComplete:"one-time-code",value:v,disabled:b,onChange:t=>{u(null),I(x(t.target.value).replace(/\D/g,"").slice(0,R))}})]}),l("div",{className:"sekyro-row",children:[e.codeExpiresAt!==void 0?i("span",{className:"sekyro-text-muted",children:H?n("eid.expired"):n("eid.expiresIn",{time:se(T)})}):null,L?i("span",{className:"sekyro-text-muted",children:n("eid.noResendsLeft")}):i(f,{kind:"ghost",disabled:c||h>0||b,onClick:()=>{m(()=>e.resend())},children:h>0?n("eid.resendIn",{seconds:h}):n("eid.resend")})]}),!L&&e.resendsRemaining!==void 0?i("p",{className:"sekyro-text-muted",children:C("eid.resendsRemaining",e.resendsRemaining)}):null,i("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:H?n("eid.expired"):""}),i(f,{type:"submit",full:!0,disabled:c||v.length!==R||b,"aria-busy":c||void 0,children:n("eid.verify")})]}):l(A,{children:[e.identifierBound?null:l("div",{className:"sekyro-field",children:[i("label",{className:"sekyro-label",htmlFor:`${s}-nni`,children:o.t("population.label")}),i("input",{id:`${s}-nni`,className:"sekyro-input sekyro-mono",dir:"ltr",inputMode:"numeric",autoComplete:"off",placeholder:o.t("population.placeholder"),value:w,"aria-describedby":`${s}-nni-help`,"aria-invalid":k==="population.invalid"||k==="population.reason_nni_invalid"||void 0,onChange:t=>{u(null),Q(x(t.target.value).replace(/\D/g,"").slice(0,10))}}),i("span",{id:`${s}-nni-help`,className:"sekyro-help",children:o.t("population.helper")})]}),i(f,{type:"submit",full:!0,disabled:c,"aria-busy":c||void 0,children:n("eid.start")})]})]})}a(be,"EidView");export{be as EidView};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as R}from"./chunk-EZ5TVL6P.js";import{a as L}from"./chunk-YY76AMUA.js";import{a as $,b}from"./chunk-746GPDBD.js";import{a as V}from"./chunk-VRDPGOXM.js";import{d as w}from"./chunk-PCNVEJSW.js";import{a as O,b as A}from"./chunk-MXPLBQHW.js";import{a as h}from"./chunk-ECWKDUB5.js";import{a as s}from"./chunk-2KED7D2Q.js";import{OtpInputError as G}from"@sekyro/web";import{useId as K,useState as y}from"react";var P={"emailOtp.reason_otp_daily_cap_reached":"لا يمكننا إرسال رمز إلى بريدك الإلكتروني اليوم. اختر طريقة أخرى للتحقق إن كانت متاحة، أو حاول مرة أخرى لاحقًا.","emailOtp.sendTitle":"تحقّق من بريدك الإلكتروني","emailOtp.sendDescription":"سنرسل إليك عبر البريد الإلكتروني رمزًا يُستخدم مرة واحدة لتأكيد أن هذا العنوان يخصّك","emailOtp.prefilledNotice":"سنرسل رمز تحقّق إلى بريدك الإلكتروني المسجّل.","emailOtp.emailLabel":"البريد الإلكتروني","emailOtp.emailHelper":"سنرسل رمزًا يُستخدم مرة واحدة إلى هذا العنوان","emailOtp.emailPlaceholder":"عنوان بريدك الإلكتروني","emailOtp.emailInvalid":"أدخل عنوان بريد إلكتروني صالحًا","emailOtp.send":"أرسل لي رمزًا عبر البريد الإلكتروني","emailOtp.verifyTitle":"أدخل رمز التحقّق","emailOtp.verifyDescription":"أدخل الرمز المكوّن من 6 أرقام الذي أرسلناه إلى بريدك الإلكتروني لإتمام التحقّق من عنوانك","emailOtp.sentTo":"أرسلنا رمزًا مكوّنًا من 6 أرقام إلى {email}","emailOtp.codeLabel":"رمز التحقّق","emailOtp.codeHelper":"أدخل الرمز المكوّن من 6 أرقام الوارد في الرسالة","emailOtp.verify":"تحقّق من الرمز","emailOtp.resend":"إعادة إرسال الرمز","emailOtp.resendIn":"إعادة إرسال الرمز خلال {seconds} ثانية","emailOtp.expiresIn":"ينتهي الرمز خلال {time}","emailOtp.expired":"انتهت صلاحية الرمز. أعد إرسال رمز جديد","emailOtp.reason_otp_mismatch":"الرمز غير صحيح. تحقّق منه وأعد إدخاله","emailOtp.reason_otp_expired":"انتهت صلاحية الرمز. أعد إرسال رمز جديد للمتابعة","emailOtp.reason_otp_send_failed":"تعذّر إرسال الرسالة. أعد المحاولة بعد قليل","emailOtp.reason_otp_rate_limited":"طلبت رموزًا كثيرة. انتظر قليلًا ثم أعد المحاولة","emailOtp.reason_email_invalid":"لا يمكننا الإرسال إلى هذا العنوان. تحقّق منه أو أدخل عنوانًا آخر","emailOtp.reason_email_disposable":"استخدم بريدًا إلكترونيًا دائمًا، وليس عنوانًا مؤقتًا"};var c={"emailOtp.reason_otp_daily_cap_reached":"We can't email you a code today. Choose another way to verify if one is offered, or try again later.","emailOtp.sendTitle":"Verify your email address","emailOtp.sendDescription":"We'll email you a one-time code to confirm this address is yours","emailOtp.prefilledNotice":"We'll send a verification code to your registered email address.","emailOtp.emailLabel":"Email address","emailOtp.emailHelper":"We'll send a one-time code to this address","emailOtp.emailPlaceholder":"Your email address","emailOtp.emailInvalid":"Enter a valid email address","emailOtp.send":"Email me a code","emailOtp.verifyTitle":"Enter the verification code","emailOtp.verifyDescription":"Type the 6-digit code we emailed you to finish verifying your address","emailOtp.sentTo":"We sent a 6-digit code to {email}","emailOtp.codeLabel":"Verification code","emailOtp.codeHelper":"Enter the 6-digit code from the email","emailOtp.verify":"Verify code","emailOtp.resend":"Resend code","emailOtp.resendIn":"Resend code in {seconds}s","emailOtp.expiresIn":"Code expires in {time}","emailOtp.expired":"That code has expired. Resend a new one","emailOtp.reason_otp_mismatch":"That code was incorrect. Check it and enter it again","emailOtp.reason_otp_expired":"That code has expired. Resend a new code to continue","emailOtp.reason_otp_send_failed":"We couldn't send the email. Try again in a moment","emailOtp.reason_otp_rate_limited":"Too many codes requested. Wait a moment, then try again","emailOtp.reason_email_invalid":"We can't send to this address. Check it or enter another one","emailOtp.reason_email_disposable":"Use a permanent email address, not a temporary one"};var D={"emailOtp.reason_otp_daily_cap_reached":"Nous ne pouvons pas vous envoyer de code par e-mail aujourd'hui. Choisissez une autre méthode si elle est proposée, ou réessayez plus tard.","emailOtp.sendTitle":"Vérifiez votre adresse e-mail","emailOtp.sendDescription":"Nous vous enverrons par e-mail un code à usage unique pour confirmer que cette adresse vous appartient","emailOtp.prefilledNotice":"Nous enverrons un code de vérification à votre adresse e-mail enregistrée.","emailOtp.emailLabel":"Adresse e-mail","emailOtp.emailHelper":"Nous enverrons un code à usage unique à cette adresse","emailOtp.emailPlaceholder":"Votre adresse e-mail","emailOtp.emailInvalid":"Saisissez une adresse e-mail valide","emailOtp.send":"M'envoyer un code par e-mail","emailOtp.verifyTitle":"Saisissez le code de vérification","emailOtp.verifyDescription":"Saisissez le code à 6 chiffres que nous vous avons envoyé par e-mail pour finaliser la vérification de votre adresse","emailOtp.sentTo":"Nous avons envoyé un code à 6 chiffres à {email}","emailOtp.codeLabel":"Code de vérification","emailOtp.codeHelper":"Saisissez le code à 6 chiffres reçu par e-mail","emailOtp.verify":"Vérifier le code","emailOtp.resend":"Renvoyer le code","emailOtp.resendIn":"Renvoyer le code dans {seconds} s","emailOtp.expiresIn":"Le code expire dans {time}","emailOtp.expired":"Ce code a expiré. Renvoyez-en un nouveau","emailOtp.reason_otp_mismatch":"Ce code est incorrect. Vérifiez-le et saisissez-le à nouveau","emailOtp.reason_otp_expired":"Ce code a expiré. Renvoyez un nouveau code pour continuer","emailOtp.reason_otp_send_failed":"Nous n'avons pas pu envoyer l'e-mail. Réessayez dans un instant","emailOtp.reason_otp_rate_limited":"Trop de codes demandés. Patientez un instant, puis réessayez","emailOtp.reason_email_invalid":"Nous ne pouvons pas envoyer à cette adresse. Vérifiez-la ou saisissez-en une autre","emailOtp.reason_email_disposable":"Utilisez une adresse e-mail permanente, pas une adresse temporaire"};import{Fragment as S,jsx as i,jsxs as l}from"react/jsx-runtime";var j={en:c,fr:D,ar:P,es:c,pt:c,de:c},W=s((e,r)=>{if(e===void 0)return 0;let d=Date.parse(e)-r;return Number.isFinite(d)?Math.max(0,Math.ceil(d/1e3)):0},"secondsUntil"),J=s(e=>`${Math.floor(e/60)}:${String(e%60).padStart(2,"0")}`,"mmss"),Q=new Set(["otp_expired","otp_send_failed","otp_rate_limited","email_invalid","email_disposable","otp_daily_cap_reached"]);function ue({step:e,i18n:r,className:d,defaultEmail:g="",onError:H}){let a=s((t,p)=>w(r.strings[t]??j[r.locale][t],p),"t"),[v,M]=y(g),[u,q]=y(""),[n,E]=y(!1),[N,x]=y(null),m=e.phase==="verify",k=L(m),o=K(),T=s(async t=>{E(!0),x(null);try{await t()}catch(p){x(p instanceof G&&p.field==="email"?a("emailOtp.emailInvalid"):r.t(V(p,r.strings))),H?.(p)}finally{E(!1)}},"run"),C=s(t=>{T(()=>e.send(e.needsEmail&&(!t||v!==g)?{email:v}:{}))},"send"),z=s(t=>{T(()=>e.verify(t))},"submitCode"),F=s(t=>{t.preventDefault(),m?z(u):C(!1)},"onSubmit"),I=W(e.codeExpiresAt,k),_=W(e.resendAvailableAt,k),f=m&&e.codeExpiresAt!==void 0&&I===0,[B,U]=a("emailOtp.sentTo").split("{email}"),Y=e.reason==="otp_mismatch"?l(O,{tone:"danger",children:[i("span",{children:a("emailOtp.reason_otp_mismatch")}),i("span",{children:A(r,e.attemptsRemaining,e.attemptsExhausted)})]}):e.reason!==void 0&&Q.has(e.reason)?i(O,{tone:"warning",children:i("span",{children:a(`emailOtp.reason_${e.reason}`)})}):null;return l("form",{className:`sekyro-step sekyro-otp${d?` ${d}`:""}`,"aria-labelledby":o,onSubmit:F,noValidate:!0,children:[i($,{id:o,title:a(m?"emailOtp.verifyTitle":"emailOtp.sendTitle"),lead:m?l(S,{children:[B,i("bdi",{dir:"ltr",className:"sekyro-mono",children:e.sentToMasked}),U]}):a("emailOtp.sendDescription")}),Y,N!==null?i(O,{tone:"danger",children:i("span",{children:N})}):null,m?l(S,{children:[l("div",{className:"sekyro-field",children:[i("label",{className:"sekyro-label",htmlFor:`${o}-code`,children:a("emailOtp.codeLabel")}),i(R,{id:`${o}-code`,value:u,invalid:e.reason==="otp_mismatch",onChange:t=>{q(t),t.length===6&&u.length!==6&&!n&&!e.attemptsExhausted&&z(t)}}),i("span",{className:`sekyro-help sekyro-otp-expiry${f?" is-danger":""}`,"aria-hidden":!f||void 0,children:f?a("emailOtp.expired"):a("emailOtp.expiresIn",{time:J(I)})})]}),i("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:f?a("emailOtp.expired"):""}),l(b,{children:[i(h,{type:"submit",full:!0,disabled:n||u.length!==6,"aria-busy":n||void 0,children:a("emailOtp.verify")}),i("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:n||_>0,onClick:()=>C(!0),children:_>0?a("emailOtp.resendIn",{seconds:_}):a("emailOtp.resend")})]})]}):l(S,{children:[e.needsEmail?l("div",{className:"sekyro-field",children:[i("label",{className:"sekyro-label",htmlFor:`${o}-email`,children:a("emailOtp.emailLabel")}),i("input",{id:`${o}-email`,className:"sekyro-input",type:"email",dir:"ltr",inputMode:"email",autoComplete:"email",autoCapitalize:"none",spellCheck:!1,placeholder:a("emailOtp.emailPlaceholder"),value:v,"aria-describedby":`${o}-email-help`,onChange:t=>M(t.target.value)}),i("span",{id:`${o}-email-help`,className:"sekyro-help",children:a("emailOtp.emailHelper")})]}):i("p",{className:"sekyro-text-muted",children:a("emailOtp.prefilledNotice")}),i(b,{children:i(h,{type:"submit",full:!0,disabled:n,"aria-busy":n||void 0,children:a("emailOtp.send")})})]})]})}s(ue,"EmailOtpView");export{ue as EmailOtpView};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as U,b as R,c as N,d as Y}from"./chunk-D5WF4UNP.js";import{a as K}from"./chunk-PYAJMHZH.js";import{d as M,g as B}from"./chunk-63LPCEVJ.js";import"./chunk-5XYKAT3V.js";import"./chunk-746GPDBD.js";import{a as E,b as I,c as H}from"./chunk-H2KIOYQU.js";import"./chunk-VRDPGOXM.js";import{d as P}from"./chunk-PCNVEJSW.js";import{a as x}from"./chunk-MXPLBQHW.js";import{a as w,u as S}from"./chunk-ECWKDUB5.js";import{a as m}from"./chunk-2KED7D2Q.js";import{HostedApiError as fe}from"@sekyro/web";import{detectIsMobile as J}from"@sekyro/web/core";import{useEffect as q,useId as F,useMemo as C,useRef as ye,useState as _}from"react";var $={"consent.human.terms.intro":"تؤكد Sekyro AI أن شخصًا حقيقيًا يُجري هذه الخطوة، نيابةً عن الجهة التي طلبتها.","consent.human.terms.data":"تلتقط Sekyro AI تسجيلًا قصيرًا لوجهك.","consent.human.terms.processing":"يُفحص هذا التسجيل للتأكد من أنك شخص حقيقي وحاضر، وقد يُقارَن بالوجوه التي سبق التحقق منها لدى هذه الجهة.","consent.human.terms.sharing":"تُبلَّغ الجهة التي طلبت هذا التحقق بنتيجته.","consent.human.terms.retention":"تُخزَّن بياناتك مشفّرة ولا يُحتفظ بها إلا للمدة التي يقتضيها القانون وإعدادات الجهة. لممارسة حقوقك المتعلقة بحماية البيانات، تواصل مع الجهة التي طلبت هذا التحقق.","capture.noCamera.title":"تتطلب هذه الخطوة كاميرا","capture.noCamera.body":"اسمح بالوصول إلى الكاميرا وحاول مرة أخرى، أو تابع على هاتف مزوّد بكاميرا.","capture.noCamera.continue":"المتابعة بدون كاميرا","capture.noCamera.deniedTitle":"اسمح بالوصول إلى الكاميرا للمتابعة","capture.noCamera.deniedBody":"حظر متصفحك الوصول إلى الكاميرا في هذه الصفحة. اسمح به من إعدادات الموقع ثم أعد المحاولة.","choice.title":"كيف تريد المتابعة؟","choice.description":"اختر خيارًا واحدًا.","choice.switch":"استخدم خيارًا آخر","contact.title":"كيف تريد استلام الرمز؟","contact.description":"اختر خيارًا واحدًا.","contact.phone":"عبر الهاتف (واتساب أو رسالة نصية)","contact.email":"عبر البريد الإلكتروني","contact.switch":"استخدم خيارًا آخر","summary.title":"تحقق من بياناتك","summary.description":"تأكد من أن هذه بياناتك قبل الصورة الحية.","summary.fullName":"الاسم الكامل","summary.birthDate":"تاريخ الميلاد","summary.nationality":"الجنسية","summary.documentType":"الوثيقة","summary.documentNumber":"رقم الوثيقة","summary.nni":"الرقم الوطني للتعريف الموريتاني (NNI)","summary.id_number":"رقم الهوية","summary.expiryDate":"تاريخ الانتهاء","summary.portraitAlt":"الصورة المسجلة","summary.source.registry":"من سجل الحالة المدنية","summary.source.document":"مقروءة من وثيقتك","summary.source.chip":"مقروءة من شريحة وثيقتك","summary.name":"الاسم","summary.birthYear":"سنة الميلاد","summary.confirm":"تأكيد ومتابعة","summary.retakeDocument":"مسح وثيقتي مرة أخرى","summary.retakeNationalNumber":"إدخال رقمي مرة أخرى","summary.noRetake":"لم يعد بإمكانك إعادة المحاولة. تواصل مع {org} إذا كانت هذه البيانات غير صحيحة","capture.tipsIcao.title":"لصورة الهوية:","capture.tipsIcao.glasses":"انزع نظارتك","capture.tipsIcao.headwear":"انزع القبعة. يُقبل غطاء الرأس الديني إذا كان الوجه ظاهرًا بالكامل","capture.tipsIcao.expression":"حافظ على تعبير محايد وفمك مغلق","capture.tipsIcao.faceCamera":"انظر مباشرة إلى الكاميرا وعيناك مفتوحتان","capture.tipsIcao.background":"قف أمام خلفية سادة فاتحة اللون","capture.tipsIcao.lighting":"استخدم إضاءة متساوية على وجهك: دون ظلال","capture.tipsIcao.hair":"أبعد شعرك عن وجهك وعينيك","capture.tipsIcao.summary":"قف أمام جدار سادة فاتح اللون مع إضاءة متساوية على وجهك. انزع نظارتك وأي قبعة. أبعد شعرك عن وجهك، وانظر مباشرة إلى الكاميرا وعيناك مفتوحتان، وحافظ على تعبير محايد وفمك مغلق، وابقَ ثابتًا.","portrait.retakeOnly":"نجح التحقق الحي. الصورة فقط تحتاج إلى محاولة أخرى","portrait.keepCamera":"ابقَ أمام الكاميرا","handoff.description":"امسح الرمز بهاتفك للمتابعة","handoff.qrAlt":"رمز QR يفتح عملية التحقق هذه على هاتفك","handoff.copyLink":"نسخ الرابط","handoff.copyFailed":"تعذّر نسخ الرابط. انسخ عنوان هذه الصفحة من متصفحك بدلًا من ذلك","handoff.waiting":"ستنتقل هذه الصفحة تلقائيًا بعد أن تُكمل الخطوة على هاتفك","inApp.title":"افتح هذه الصفحة في متصفحك","inApp.description":"لا تعمل الكاميرا جيدًا داخل هذا التطبيق. افتح الرابط في Chrome أو Safari للمتابعة.","inApp.copyLink":"نسخ الرابط","inApp.copied":"تم نسخ الرابط. الصقه في متصفحك","inApp.copyFailed":"تعذّر نسخ الرابط. انسخ عنوان هذه الصفحة بدلًا من ذلك","inApp.continueAnyway":"المتابعة هنا على أي حال"};var A={"consent.human.terms.intro":"Sekyro AI confirms that a real person is completing this step, on behalf of the organization that asked for it.","consent.human.terms.data":"Sekyro AI collects a short capture of your face.","consent.human.terms.processing":"The capture is checked to confirm that you are a real person who is present. It may be compared with faces already verified for this organization.","consent.human.terms.sharing":"The organization that requested this verification learns its outcome.","consent.human.terms.retention":"Your data is stored encrypted and kept only as long as the law and the organization's settings require. To exercise your data-protection rights, contact the organization that requested this verification.","capture.noCamera.title":"This step needs a camera","capture.noCamera.body":"Allow camera access and try again, or continue on a phone with a camera.","capture.noCamera.continue":"Continue without a camera","capture.noCamera.deniedTitle":"Allow camera access to continue","capture.noCamera.deniedBody":"Your browser blocked the camera for this page. Allow it in the site settings, then try again.","choice.title":"How do you want to continue?","choice.description":"Choose one option.","choice.switch":"Use another option","contact.title":"How do you want to get your code?","contact.description":"Choose one option.","contact.phone":"By phone (WhatsApp or SMS)","contact.email":"By email","contact.switch":"Use another option","summary.title":"Check your details","summary.description":"Make sure this is you before the live photo.","summary.fullName":"Full name","summary.birthDate":"Date of birth","summary.nationality":"Nationality","summary.documentType":"Document","summary.documentNumber":"Document number","summary.nni":"Mauritanian national ID number (NNI)","summary.id_number":"ID number","summary.expiryDate":"Expiry date","summary.portraitAlt":"Photo on record","summary.source.registry":"From the civil registry","summary.source.document":"Read from your document","summary.source.chip":"Read from your document's chip","summary.name":"Name","summary.birthYear":"Year of birth","summary.confirm":"Confirm and continue","summary.retakeDocument":"Scan my document again","summary.retakeNationalNumber":"Enter my number again","summary.noRetake":"You can't try again. Contact {org} if these details are wrong","capture.tipsIcao.title":"For your ID photo:","capture.tipsIcao.glasses":"Remove your glasses","capture.tipsIcao.headwear":"Remove hats and caps. A religious head covering is fine if your whole face shows","capture.tipsIcao.expression":"Keep a neutral expression with your mouth closed","capture.tipsIcao.faceCamera":"Look straight at the camera with your eyes open","capture.tipsIcao.background":"Stand in front of a plain, light background","capture.tipsIcao.lighting":"Use even light on your face: no shadows","capture.tipsIcao.hair":"Keep your hair away from your face and eyes","capture.tipsIcao.summary":"Stand in front of a plain, light wall with even light on your face. Remove your glasses and any hat. Keep your hair off your face, look straight at the camera with your eyes open, keep a neutral expression with your mouth closed, and hold still.","portrait.retakeOnly":"Your live check passed. Only the photo needs another try","portrait.keepCamera":"Stay in front of the camera","handoff.description":"Scan with your phone to continue","handoff.qrAlt":"QR code that opens this verification on your phone","handoff.copyLink":"Copy link","handoff.copyFailed":"We couldn't copy the link. Copy this page's address from your browser instead","handoff.waiting":"This page moves on by itself once you finish on your phone","inApp.title":"Open this page in your browser","inApp.description":"The camera doesn't work well inside this app. Open the link in Chrome or Safari to continue.","inApp.copyLink":"Copy link","inApp.copied":"Link copied. Paste it in your browser","inApp.copyFailed":"We couldn't copy the link. Copy this page's address instead","inApp.continueAnyway":"Continue here anyway"};var G={"consent.human.terms.intro":"Sekyro AI confirme qu'une personne réelle effectue cette étape, pour le compte de l'organisme qui l'a demandée.","consent.human.terms.data":"Sekyro AI recueille une courte capture de votre visage.","consent.human.terms.processing":"La capture est analysée pour confirmer que vous êtes une personne réelle et présente. Elle peut être comparée aux visages déjà vérifiés pour cet organisme.","consent.human.terms.sharing":"L'organisme qui a demandé cette vérification est informé de son résultat.","consent.human.terms.retention":"Vos données sont stockées chiffrées et conservées uniquement pendant la durée exigée par la loi et les paramètres de l'organisme. Pour exercer vos droits en matière de protection des données, contactez l'organisme qui a demandé cette vérification.","capture.noCamera.title":"Cette étape nécessite une caméra","capture.noCamera.body":"Autorisez l'accès à la caméra et réessayez, ou continuez sur un téléphone équipé d'une caméra.","capture.noCamera.continue":"Continuer sans caméra","capture.noCamera.deniedTitle":"Autorisez l'accès à la caméra pour continuer","capture.noCamera.deniedBody":"Votre navigateur a bloqué la caméra pour cette page. Autorisez-la dans les paramètres du site, puis réessayez.","choice.title":"Comment voulez-vous continuer ?","choice.description":"Choisissez une option.","choice.switch":"Utiliser une autre option","contact.title":"Comment voulez-vous recevoir votre code ?","contact.description":"Choisissez une option.","contact.phone":"Par téléphone (WhatsApp ou SMS)","contact.email":"Par e-mail","contact.switch":"Utiliser une autre option","summary.title":"Vérifiez vos informations","summary.description":"Assurez-vous qu'il s'agit bien de vous avant la photo en direct.","summary.fullName":"Nom complet","summary.birthDate":"Date de naissance","summary.nationality":"Nationalité","summary.documentType":"Document","summary.documentNumber":"Numéro du document","summary.nni":"Numéro national d'identification mauritanien (NNI)","summary.id_number":"Numéro d'identité","summary.expiryDate":"Date d'expiration","summary.portraitAlt":"Photo enregistrée","summary.source.registry":"Issu de l'état civil","summary.source.document":"Lu sur votre document","summary.source.chip":"Lu sur la puce de votre document","summary.name":"Nom","summary.birthYear":"Année de naissance","summary.confirm":"Confirmer et continuer","summary.retakeDocument":"Scanner à nouveau mon document","summary.retakeNationalNumber":"Saisir à nouveau mon numéro","summary.noRetake":"Vous ne pouvez plus réessayer. Contactez {org} si ces informations sont incorrectes","capture.tipsIcao.title":"Pour votre photo d'identité :","capture.tipsIcao.glasses":"Retirez vos lunettes","capture.tipsIcao.headwear":"Retirez chapeau et casquette. Un couvre-chef religieux est accepté si tout le visage est visible","capture.tipsIcao.expression":"Gardez une expression neutre, la bouche fermée","capture.tipsIcao.faceCamera":"Regardez la caméra bien en face, les yeux ouverts","capture.tipsIcao.background":"Placez-vous devant un fond uni et clair","capture.tipsIcao.lighting":"Éclairez votre visage de façon uniforme : sans ombres","capture.tipsIcao.hair":"Dégagez vos cheveux du visage et des yeux","capture.tipsIcao.summary":"Placez-vous devant un mur uni et clair, le visage éclairé de façon uniforme. Retirez vos lunettes et tout chapeau. Dégagez vos cheveux du visage, regardez la caméra bien en face, les yeux ouverts, gardez une expression neutre, la bouche fermée, et ne bougez plus.","portrait.retakeOnly":"Votre vérification en direct est validée. Seule la photo est à refaire","portrait.keepCamera":"Restez face à la caméra","handoff.description":"Scannez avec votre téléphone pour continuer","handoff.qrAlt":"Code QR qui ouvre cette vérification sur votre téléphone","handoff.copyLink":"Copier le lien","handoff.copyFailed":"Nous n'avons pas pu copier le lien. Copiez plutôt l'adresse de cette page depuis votre navigateur","handoff.waiting":"Cette page avancera d’elle-même une fois l’étape terminée sur votre téléphone","inApp.title":"Ouvrez cette page dans votre navigateur","inApp.description":"La caméra fonctionne mal dans cette application. Ouvrez le lien dans Chrome ou Safari pour continuer.","inApp.copyLink":"Copier le lien","inApp.copied":"Lien copié. Collez-le dans votre navigateur","inApp.copyFailed":"Impossible de copier le lien. Copiez plutôt l'adresse de cette page","inApp.continueAnyway":"Continuer ici quand même"};var D=[[10,[[1,16]]],[16,[[1,28]]],[26,[[1,44]]],[18,[[2,32]]],[24,[[2,43]]],[16,[[4,27]]],[18,[[4,31]]],[22,[[2,38],[2,39]]],[22,[[3,36],[2,37]]],[26,[[4,43],[1,44]]],[30,[[1,50],[4,51]]],[22,[[6,36],[2,37]]],[22,[[8,37],[1,38]]],[24,[[4,40],[5,41]]],[24,[[5,41],[5,42]]],[28,[[7,45],[3,46]]],[28,[[10,46],[1,47]]],[26,[[9,43],[4,44]]],[26,[[3,44],[11,45]]],[26,[[3,41],[13,42]]]],Q=D.length,re=0,L=m(e=>(D[e-1]?.[1]??[]).reduce((t,[n,o])=>t+n*o,0),"dataCapacity");function T(e,t){let n=0;for(let o=7;o>=0;o-=1)n=n<<1^(n>>>7)*285,n^=(t>>>o&1)*e;return n&255}m(T,"gfMul");function ae(e){let t=new Array(e).fill(0);t[e-1]=1;let n=1;for(let o=0;o<e;o+=1){for(let a=0;a<e;a+=1)t[a]=T(t[a],n),a+1<e&&(t[a]=t[a]^t[a+1]);n=T(n,2)}return t}m(ae,"rsDivisor");function ie(e,t){let n=t.map(()=>0);for(let o of e){let a=o^n.shift();n.push(0),t.forEach((i,s)=>{n[s]=n[s]^T(i,a)})}return n}m(ie,"rsRemainder");function se(e,t){let n=[],o=m((p,d)=>{for(let b=d-1;b>=0;b-=1)n.push(p>>>b&1)},"put");o(4,4),o(e.length,t<10?8:16);for(let p of e)o(p,8);let a=L(t)*8;o(0,Math.min(4,a-n.length)),o(0,(8-n.length%8)%8);let i=[];for(let p=0;p<n.length;p+=8)i.push(n.slice(p,p+8).reduce((d,b)=>d<<1|b,0));for(let p=236;i.length<L(t);p^=253)i.push(p);let[s,r]=D[t-1],c=ae(s),u=[],f=0;for(let[p,d]of r)for(let b=0;b<p;b+=1){let v=i.slice(f,f+d);f+=d,u.push({data:v,ec:ie(v,c)})}let h=[],y=Math.max(...u.map(p=>p.data.length));for(let p=0;p<y;p+=1)for(let d of u)p<d.data.length&&h.push(d.data[p]);for(let p=0;p<s;p+=1)for(let d of u)h.push(d.ec[p]);return h}m(se,"codewords");function ce(e){if(e===1)return[];let t=Math.floor(e/7)+2,n=Math.ceil((e*4+4)/(t*2-2))*2,o=[6];for(let a=e*4+10;o.length<t;a-=n)o.splice(1,0,a);return o}m(ce,"alignmentPositions");var ue=[(e,t)=>(e+t)%2===0,e=>e%2===0,(e,t)=>t%3===0,(e,t)=>(e+t)%3===0,(e,t)=>(Math.floor(e/2)+Math.floor(t/3))%2===0,(e,t)=>e*t%2+e*t%3===0,(e,t)=>(e*t%2+e*t%3)%2===0,(e,t)=>((e+t)%2+e*t%3)%2===0],O=class O{constructor(t){this.size=t,this.dark=new Array(t*t).fill(!1),this.fixed=new Array(t*t).fill(!1)}set(t,n,o){this.dark[t*this.size+n]=o,this.fixed[t*this.size+n]=!0}get(t,n){return this.dark[t*this.size+n]===!0}};m(O,"Grid");var V=O;function le(e,t){let n=e.size;for(let i=0;i<n;i+=1)e.set(6,i,i%2===0),e.set(i,6,i%2===0);for(let[i,s]of[[3,3],[3,n-4],[n-4,3]])for(let r=-4;r<=4;r+=1)for(let c=-4;c<=4;c+=1){let u=i+r,f=s+c;if(u<0||u>=n||f<0||f>=n)continue;let h=Math.max(Math.abs(r),Math.abs(c));e.set(u,f,h!==2&&h!==4)}let o=ce(t),a=o.length-1;if(o.forEach((i,s)=>o.forEach((r,c)=>{if(!(s===0&&c===0||s===0&&c===a||s===a&&c===0))for(let u=-2;u<=2;u+=1)for(let f=-2;f<=2;f+=1)e.set(i+u,r+f,Math.max(Math.abs(u),Math.abs(f))!==1)})),W(e,0),t>=7){let i=t;for(let r=0;r<12;r+=1)i=i<<1^(i>>>11)*7973;let s=t<<12|i;for(let r=0;r<18;r+=1){let c=(s>>>r&1)===1,u=n-11+r%3,f=Math.floor(r/3);e.set(u,f,c),e.set(f,u,c)}}}m(le,"drawFunctionPatterns");function W(e,t){let n=e.size,o=re<<3|t,a=o;for(let r=0;r<10;r+=1)a=a<<1^(a>>>9)*1335;let i=(o<<10|a)^21522,s=m(r=>(i>>>r&1)===1,"bit");for(let r=0;r<=5;r+=1)e.set(r,8,s(r));e.set(7,8,s(6)),e.set(8,8,s(7)),e.set(8,7,s(8));for(let r=9;r<15;r+=1)e.set(8,14-r,s(r));for(let r=0;r<8;r+=1)e.set(8,n-1-r,s(r));for(let r=8;r<15;r+=1)e.set(n-15+r,8,s(r));e.set(n-8,8,!0)}m(W,"drawFormat");function me(e,t){let n=e.size,o=0;for(let a=n-1;a>=1;a-=2){a===6&&(a=5);for(let i=0;i<n;i+=1)for(let s=0;s<2;s+=1){let r=a-s,u=(a+1&2)===0?n-1-i:i;e.fixed[u*n+r]!==!0&&(o<t.length*8&&(e.dark[u*n+r]=(t[o>>>3]>>>7-(o&7)&1)===1),o+=1)}}}m(me,"placeData");function pe(e,t){let n=ue[t];for(let o=0;o<e.size;o+=1)for(let a=0;a<e.size;a+=1)e.fixed[o*e.size+a]!==!0&&n(o,a)&&(e.dark[o*e.size+a]=!e.dark[o*e.size+a])}m(pe,"applyMask");function de(e){let t=e.size,n=0,o=m(i=>{let s=1;for(let r=1;r<=t;r+=1)r<t&&i(r)===i(r-1)?s+=1:(s>=5&&(n+=3+(s-5)),s=1);for(let r=0;r+10<t;r+=1){let c=[!0,!1,!0,!0,!0,!1,!0];if(!(c.every((y,p)=>i(r+p)===y)||c.every((y,p)=>i(r+4+p)===y)))continue;let f=[0,1,2,3].every(y=>!i(r+y))&&c.every((y,p)=>i(r+4+p)===y),h=c.every((y,p)=>i(r+p)===y)&&[7,8,9,10].every(y=>!i(r+y));f&&(n+=40),h&&(n+=40)}},"line");for(let i=0;i<t;i+=1)o(s=>e.get(i,s));for(let i=0;i<t;i+=1)o(s=>e.get(s,i));for(let i=0;i+1<t;i+=1)for(let s=0;s+1<t;s+=1){let r=e.get(i,s);r===e.get(i,s+1)&&r===e.get(i+1,s)&&r===e.get(i+1,s+1)&&(n+=3)}let a=e.dark.filter(Boolean).length;return n+=Math.floor(Math.abs(a*20-t*t*10)/(t*t))*10,n}m(de,"penalty");function j(e,t={}){let n=new TextEncoder().encode(e),o=1;for(;o<=Q&&!(4+(o<10?8:16)+n.length*8<=L(o)*8);o+=1);if(o>Q)throw new RangeError("text too long for a QR code");let a=se(n,o),i=m(c=>{let u=new V(o*4+17);return le(u,o),me(u,a),pe(u,c),W(u,c),u},"build"),s=null;if(t.mask!==void 0)s=i(t.mask);else{let c=Number.POSITIVE_INFINITY;for(let u=0;u<8;u+=1){let f=i(u),h=de(f);h<c&&(c=h,s=f)}}let r=s;return{size:r.size,get:m((c,u)=>r.get(c,u),"get")}}m(j,"encodeQr");function X(e,t=4){let n=[];for(let o=0;o<e.size;o+=1)for(let a=0;a<e.size;a+=1)e.get(o,a)&&n.push(`M${a+t} ${o+t}h1v1h-1z`);return{size:e.size+t*2,d:n.join("")}}m(X,"qrPath");import{Fragment as Ce,jsx as l,jsxs as k}from"react/jsx-runtime";var he={en:A,fr:G,ar:$,es:A,pt:A,de:A},Z={en:I,fr:H,ar:E,es:I,pt:I,de:I};function g(e){let t=e.strings;return(n,o)=>P(t[n]??he[e.locale][n]??"",o)}m(g,"flowT");function ee(e,t){let n=g(t);return e.flatMap(o=>{let a=o.service==="phone_otp"?n("contact.phone"):o.service==="email_otp"?n("contact.email"):R(o,t),i=U[o.service];return a===null?[]:[{id:o.id,label:a,...i!==void 0?{glyph:l(K,{name:i})}:{}}]})}m(ee,"labelled");function te({step:e,i18n:t,onError:n}){let o=g(t),{busy:a,error:i,run:s}=N(t,n),r=e.kind==="contact_choice";return l(M,{title:o(r?"contact.title":"choice.title"),description:o(r?"contact.description":"choice.description"),options:ee(e.choice.options,t),busy:a,error:i,focus:!0,testId:r?"sekyro-contact-choice":"sekyro-choice",onChoose:c=>s(()=>e.choose(c))})}m(te,"PlanChoiceView");var Ge=te,Qe=te;function We({step:e,i18n:t,onError:n,onOpen:o}){let a=g(t),{busy:i,error:s,run:r}=N(t,n),c=e,u=e.context.switchable,f=u===void 0?[]:u.options.filter(v=>v.id!==u.current),h=c.kind==="registry"&&(c.reason==="nni_not_found"||c.reason==="registry_record_not_found")&&c.canUseDocument||c.kind==="eid"&&c.reason?.startsWith("eid_")&&c.canUseCamera,y=f.length===1?f[0]:void 0,p=y!==void 0&&(y.service==="phone_otp"||y.service==="email_otp"),d=p&&c.canSwitch&&c.switchTo!==void 0?()=>c.switchTo.call(e):c.chooseOption===void 0||y===void 0?void 0:()=>c.chooseOption.call(e,y.id);if(f.length===0||h||y!==void 0&&(d===void 0||b()===null)||y===void 0&&c.chooseOption===void 0)return null;function b(){return y===void 0?a("choice.switch"):y.service==="phone_otp"||y.service==="email_otp"?a("contact.switch"):c.kind==="registry"&&y.service==="document"?t.t("population.useDocument"):c.kind==="eid"?t.strings["eid.useCamera"]??Z[t.locale]["eid.useCamera"]:R(y,t)}return m(b,"labelOf"),k("div",{className:"sekyro-stack sekyro-stack--1",children:[s!==null?l(x,{tone:"danger",children:l("span",{children:s})}):null,l(w,{kind:"ghost",disabled:i,"aria-busy":i||void 0,onClick:()=>d===void 0?o():r(d),"data-testid":p?"sekyro-contact-switch":"sekyro-lane-switch",children:b()})]})}m(We,"LaneSwitch");function je({step:e,i18n:t,onError:n,onClose:o}){let a=g(t),{busy:i,error:s,run:r}=N(t,n),c=e.context.switchable,u=e.chooseOption;return c===void 0||u===void 0?null:l(M,{title:a("choice.title"),description:a("choice.description"),options:ee(c.options,t),...c.current!==null?{marked:c.current}:{},busy:i,error:s,focus:!0,testId:"sekyro-lane-choice",onChoose:f=>f===c.current?o():r(()=>u.call(e,f))})}m(je,"LaneChoiceView");var be=[["fullName","summary.fullName",!1],["birthDate","summary.birthDate",!0],["birthYear","summary.birthYear",!0],["nationality","summary.nationality",!0],["documentType","summary.documentType",!1],["documentNumberMasked","summary.documentNumber",!0],["idNumberMasked","summary.id_number",!0],["expiryDate","summary.expiryDate",!0]];function ke(e){let[t,n]=_(null);return q(()=>{if(!e.portraitAvailable)return;let o=!0,a=null;return e.portrait().then(i=>{!o||i===null||!i.type.startsWith("image/")||typeof URL.createObjectURL!="function"||(a=URL.createObjectURL(i),n(a))}),()=>{o=!1,a!==null&&URL.revokeObjectURL(a)}},[e.portraitAvailable]),t}m(ke,"usePortraitUrl");function Xe({step:e,i18n:t,onError:n}){let o=g(t),a=F(),i=S(),s=ke(e),{busy:r,error:c,run:u}=N(t,n),f=e.context.orgName,h=["registry","document","chip"].find(d=>d===e.source),y=e.summaryKind==="partial",p=m(d=>t.strings[`doc.type.${d}`]??d,"documentLabel");return k("section",{className:"sekyro-stack sekyro-stack--4","aria-labelledby":a,"data-testid":"sekyro-identity-summary",children:[k("div",{className:"sekyro-stack sekyro-stack--1",children:[l("h2",{id:a,ref:i,tabIndex:-1,className:"sekyro-text-body",children:o("summary.title")}),l("p",{className:"sekyro-text-muted",children:o("summary.description")}),h!==void 0?l("p",{className:"sekyro-text-muted",children:o(`summary.source.${h}`)}):null]}),k("div",{className:"sekyro-summary",children:[s!==null?l("img",{className:"sekyro-summary__portrait",src:s,alt:o("summary.portraitAlt")}):null,l("dl",{className:"sekyro-summary__list",children:be.map(([d,b,v])=>{let z=d==="idNumberMasked"?e.idNumberMasked??e.nniMasked:e[d];return z===void 0?null:k("div",{className:"sekyro-summary__row",children:[l("dt",{className:"sekyro-text-muted",children:o(d==="fullName"&&y?"summary.name":b)}),l("dd",{children:v?l("bdi",{dir:"ltr",children:z}):d==="documentType"?p(z):z})]},d)})})]}),c!==null?l(x,{tone:"danger",children:l("span",{children:c})}):null,k("div",{className:"sekyro-stack sekyro-stack--3",children:[l(w,{full:!0,disabled:r,"aria-busy":r||void 0,onClick:()=>u(()=>e.confirm()),children:o("summary.confirm")}),e.retakeAvailable?l(w,{kind:"ghost",full:!0,disabled:r,onClick:()=>u(()=>e.retake()),children:o(e.retakeTarget==="national_number"?"summary.retakeNationalNumber":"summary.retakeDocument")}):l("p",{className:"sekyro-text-muted",children:o("summary.noRetake",{org:f})})]})]})}m(Xe,"IdentitySummaryView");var ge=["glasses","headwear","expression","faceCamera","background","lighting","hair"];function Je({step:e,i18n:t,livenessProps:n,sekyroIntro:o}){let a=g(t),[i,s]=_(null);q(()=>e.onLivePhoto(d=>{let b=d.update?.coach;s(d.holding||b===void 0?null:t.t(`portrait.coach.${b}`))}),[e,t]);let r=e.instructions==="icao",c=e.icao?.profile==="selfie",u=C(()=>r?ge.filter(d=>!c||d!=="background").map(d=>({id:d,text:a(`capture.tipsIcao.${d}`)})):void 0,[r,c,t]),f=C(()=>r&&!c?{...n.strings,"capture.tips.title":a("capture.tipsIcao.title")}:n.strings,[r,c,n.strings,t]),h=c?void 0:a("capture.tipsIcao.title"),y=C(()=>o===!0&&u!==void 0?{...n.slots,intro:m((d,b)=>l(Y,{start:d,context:b,tips:u,...h!==void 0?{tipsTitle:h}:{}}),"intro")}:n.slots,[o,u,h,n.slots,t]),p=c?`${(u??[]).map(d=>d.text).join(". ")}.`:a("capture.tipsIcao.summary");return l(B,{...n,...y!==void 0?{slots:y}:{},...f!==void 0?{strings:f}:{},...u!==void 0?{tips:u,tipsSummary:p}:{},coach:i})}m(Je,"LivePhotoLiveness");function Ze({i18n:e}){let t=g(e);return k(x,{tone:"info",children:[l("strong",{children:t("portrait.retakeOnly")}),l("span",{children:t("portrait.keepCamera")})]})}m(Ze,"PortraitRetakeNotice");function et({i18n:e,provider:t}){let n=e.strings,o=m(a=>n[a]??Z[e.locale][a]??"","pick");return l("p",{className:"sekyro-text-muted","data-testid":"sekyro-eid-continue",children:t?P(o("eid.continueHint"),{provider:t}):o("eid.continueHintGeneric")})}m(et,"EidContinueHint");async function we(e){try{return await navigator.clipboard.writeText(e),!0}catch{return!1}}m(we,"copy");function oe({url:e,i18n:t,label:n}){let o=g(t),[a,i]=_("idle"),s=n.startsWith("inApp.")?"inApp":"handoff";return k("div",{className:"sekyro-stack sekyro-stack--1",children:[l(w,{kind:"ghost",onClick:()=>{we(e).then(r=>i(r?"copied":"failed"))},children:o(n)}),l("p",{role:"status","aria-live":"polite",className:"sekyro-text-muted",children:a==="idle"?"":o(`${s}.${a==="copied"?"copied":"copyFailed"}`)})]})}m(oe,"CopyLink");function ne({url:e,i18n:t,refresh:n,footer:o}){let a=g(t),i=F(),s=C(()=>{try{return X(j(e))}catch{return null}},[e]),r=ye(n);r.current=n;let c=S();return q(()=>{let u=setInterval(()=>{(typeof document>"u"||document.visibilityState!=="hidden")&&r.current?.().catch(()=>{})},5e3);return()=>clearInterval(u)},[]),k("section",{className:"sekyro-stack sekyro-stack--3","aria-labelledby":i,"data-testid":"sekyro-handoff",children:[l("h2",{id:i,ref:c,tabIndex:-1,className:"sekyro-text-body",children:t.t("handoff.title")}),l("p",{className:"sekyro-text-muted",children:a("handoff.description")}),s!==null?k("svg",{className:"sekyro-qr",viewBox:`0 0 ${s.size} ${s.size}`,role:"img","aria-label":a("handoff.qrAlt"),shapeRendering:"crispEdges",children:[l("rect",{width:s.size,height:s.size,className:"sekyro-qr__bg"}),l("path",{d:s.d,className:"sekyro-qr__fg"})]}):null,l(oe,{url:e,i18n:t,label:"handoff.copyLink"}),l("p",{className:"sekyro-text-muted",children:a("handoff.waiting")}),o??null]})}m(ne,"HandoffView");var ve=["intro","data","processing","sharing","retention"];function tt({i18n:e}){let t=g(e);return l(Ce,{children:ve.map(n=>l("p",{children:t(`consent.human.terms.${n}`)},n))})}m(tt,"HumanConsentTerms");function ot({url:e,i18n:t}){return C(()=>!J(),[])?l(ne,{url:e,i18n:t}):null}m(ot,"DesktopHandoffView");function nt({i18n:e,cause:t,onRetry:n,onContinue:o,handoffUrl:a}){let i=g(e),s=F(),r=S(),[c,u]=_("idle"),f=C(()=>a!==void 0&&!J(),[a]),h=t==="denied",y=m(()=>{o!==void 0&&(u("busy"),o(t).then(()=>u("idle"),p=>u(p instanceof fe&&p.code==="check_out_of_order"?"idle":"failed")))},"end");return k("section",{className:"sekyro-stack sekyro-stack--3","aria-labelledby":s,"data-testid":"sekyro-no-camera","data-cause":t,children:[f&&a!==void 0?l(ne,{url:a,i18n:e}):null,l("h2",{id:s,ref:r,tabIndex:-1,className:"sekyro-text-body",children:i(h?"capture.noCamera.deniedTitle":"capture.noCamera.title")}),l("p",{className:"sekyro-text-muted",children:i(h?"capture.noCamera.deniedBody":"capture.noCamera.body")}),c==="failed"?l(x,{tone:"danger",children:l("span",{children:e.t("errors.network_error")})}):null,l(w,{kind:h?"primary":"ghost",onClick:n,children:e.t("common.retry")}),o!==void 0?l(w,{kind:"ghost",disabled:c==="busy","aria-busy":c==="busy"||void 0,onClick:y,children:i("capture.noCamera.continue")}):null]})}m(nt,"NoCameraView");function rt({url:e,i18n:t,onContinue:n}){let o=g(t),a=F(),i=S();return k("section",{className:"sekyro-stack sekyro-stack--3","aria-labelledby":a,"data-testid":"sekyro-in-app",children:[l("h2",{id:a,ref:i,tabIndex:-1,className:"sekyro-text-body",children:o("inApp.title")}),l("p",{className:"sekyro-text-muted",children:o("inApp.description")}),l(oe,{url:e,i18n:t,label:"inApp.copyLink"}),l(w,{kind:"ghost",onClick:n,children:o("inApp.continueAnyway")})]})}m(rt,"InAppBrowserPrompt");export{Ge as ContactChoiceView,ot as DesktopHandoffView,et as EidContinueHint,Qe as GenericChoiceView,ne as HandoffView,tt as HumanConsentTerms,Xe as IdentitySummaryView,rt as InAppBrowserPrompt,je as LaneChoiceView,We as LaneSwitch,Je as LivePhotoLiveness,nt as NoCameraView,Ze as PortraitRetakeNotice};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2009 The Cairo Project Authors (https://github.com/Gue3bara/Cairo)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font.git)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|