@sekyro/elements 0.1.0-rc.22 → 0.1.0-rc.24

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.
Files changed (107) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/cdn/chunks/capture-session-doc-BGLEMR2J-LN5RQDCK.js +1 -0
  3. package/dist/cdn/chunks/challenge-frame-3JHCNDHE-IYU6HGYD.js +1 -0
  4. package/dist/cdn/chunks/{chunk-MQQT3Z5N.js → chunk-6JA64VAB.js} +1 -1
  5. package/dist/cdn/chunks/{chunk-JHSQ6JZW.js → chunk-75QP4SUF.js} +1 -1
  6. package/dist/cdn/chunks/chunk-7UCVVWRT.js +1 -0
  7. package/dist/cdn/chunks/{chunk-ZPGVBC4B.js → chunk-BE4SRRNK.js} +1 -1
  8. package/dist/cdn/chunks/chunk-CCPSNJ26.js +1 -0
  9. package/dist/cdn/chunks/chunk-EAHT3Y3Z.js +1 -0
  10. package/dist/cdn/chunks/chunk-F6BL7IXJ.js +1 -0
  11. package/dist/cdn/chunks/{chunk-QFCNXANK.js → chunk-H4EO527J.js} +1 -1
  12. package/dist/cdn/chunks/chunk-HBIVE2ZZ.js +33 -0
  13. package/dist/cdn/chunks/{chunk-HZGSVEL3.js → chunk-HPTAAPIB.js} +1 -1
  14. package/dist/cdn/chunks/chunk-ICGDGBER.js +1 -0
  15. package/dist/cdn/chunks/{chunk-POVLMWGM.js → chunk-IX5EXDOC.js} +1 -1
  16. package/dist/cdn/chunks/{chunk-P3BHY3N3.js → chunk-L2FCXJYM.js} +1 -1
  17. package/dist/cdn/chunks/{chunk-EMGQ4LGZ.js → chunk-MXKAKHUA.js} +1 -1
  18. package/dist/cdn/chunks/chunk-QVU5SNFG.js +25 -0
  19. package/dist/cdn/chunks/{chunk-IYLFOD6M.js → chunk-SGAGSEY4.js} +1 -1
  20. package/dist/cdn/chunks/{chunk-GFS5OS2G.js → chunk-SX373VNU.js} +1 -1
  21. package/dist/cdn/chunks/{chunk-MLNUIPVU.js → chunk-TD2XP34G.js} +1 -1
  22. package/dist/cdn/chunks/{chunk-VWGUPBQM.js → chunk-UJ2FDGWQ.js} +1 -1
  23. package/dist/cdn/chunks/{chunk-FKDRZIZ4.js → chunk-VHJIEZ5D.js} +1 -1
  24. package/dist/cdn/chunks/chunk-W5WWCOOW.js +1 -0
  25. package/dist/cdn/chunks/{chunk-RZ2NUZZ7.js → chunk-X7U4LD32.js} +1 -1
  26. package/dist/cdn/chunks/chunk-XXYPLLFI.js +3 -0
  27. package/dist/cdn/chunks/{chunk-ZWC7BGLD.js → chunk-YFZ54VRE.js} +1 -1
  28. package/dist/cdn/chunks/create-document-capture-KATGPNCR-KPF7ZYWX.js +1 -0
  29. package/dist/cdn/chunks/document-capture-view-PTB5A72I-LW2M5LK2.js +1 -0
  30. package/dist/cdn/chunks/{eid-view-FEJHQBSB-3YVDTSKP.js → eid-view-B2M6AJ3J-ASEHPZBH.js} +1 -1
  31. package/dist/cdn/chunks/{email-otp-view-4EY5CKR5-SMREIHCF.js → email-otp-view-FLSDWKJU-TQOH44CO.js} +1 -1
  32. package/dist/cdn/chunks/flow-views-UZRN6BIU-HPYJIEOF.js +1 -0
  33. package/dist/cdn/chunks/form-view-26PNMO6Q-DNIJNLLU.js +1 -0
  34. package/dist/cdn/chunks/icons-form-R366YPMB-6C7SJPCB.js +1 -0
  35. package/dist/cdn/chunks/mrz-band-IH54XO42-AE4D3F2E.js +1 -0
  36. package/dist/cdn/chunks/overlay-de-TP7ROFVF-5EEFWZ4E.js +1 -0
  37. package/dist/cdn/chunks/overlay-es-LLTS3D6J-U2DPYDC2.js +1 -0
  38. package/dist/cdn/chunks/overlay-pt-UUJUOJNJ-E57Q5MWT.js +1 -0
  39. package/dist/cdn/chunks/plan-runner-XGT4VKVF-NDQH73OS.js +1 -0
  40. package/dist/cdn/chunks/{portrait-capture-view-Q6XYTGE7-2J55WRTJ.js → portrait-capture-view-IFT7B4OG-EYDBLNTC.js} +1 -1
  41. package/dist/cdn/chunks/{portrait-review-view-KZVKR6XN-GYD7KMKC.js → portrait-review-view-BISWT5BQ-YJ6TLEKW.js} +1 -1
  42. package/dist/cdn/chunks/{proof-of-address-view-YYZTILHQ-BARDS6NS.js → proof-of-address-view-UXF6OH5N-6HTCJNXW.js} +1 -1
  43. package/dist/cdn/define.js +1 -1
  44. package/dist/cdn/index.js +1 -1
  45. package/dist/{chunk-L2F6LQ7G.js → chunk-2N6CQWVG.js} +1 -1
  46. package/dist/{chunk-3J5LUPKY.js → chunk-73G4CDPH.js} +1 -1
  47. package/dist/chunk-CO3QPDWV.js +25 -0
  48. package/dist/{chunk-OAQM45LZ.js → chunk-DEVOHXNC.js} +1 -1
  49. package/dist/chunk-HBK2ROSI.js +1 -0
  50. package/dist/{chunk-ZBTWLEPS.js → chunk-L5QAOX6C.js} +1 -1
  51. package/dist/chunk-NEP66INV.js +33 -0
  52. package/dist/{chunk-APMABLNO.js → chunk-QLIY4W2U.js} +1 -1
  53. package/dist/{chunk-PEFS2JPA.js → chunk-R7M4HNG5.js} +1 -1
  54. package/dist/chunk-S5CM7A4T.js +1 -0
  55. package/dist/{chunk-ZTBXWO2O.js → chunk-TPO4FOFT.js} +1 -1
  56. package/dist/{chunk-XZZPJ2FQ.js → chunk-VK6DRWZL.js} +1 -1
  57. package/dist/{chunk-TEJOSW5W.js → chunk-VWAWL2QM.js} +1 -1
  58. package/dist/{chunk-5KU4GIMW.js → chunk-W6RHH3ZZ.js} +1 -1
  59. package/dist/{chunk-NHOIIIGP.js → chunk-YD6JLLO5.js} +1 -1
  60. package/dist/define.cjs +5 -5
  61. package/dist/define.js +1 -1
  62. package/dist/document-capture-view-PTB5A72I-J2XPPS5A.js +1 -0
  63. package/dist/{eid-view-FEJHQBSB-NDFXLUCN.js → eid-view-B2M6AJ3J-ASHVXRTP.js} +1 -1
  64. package/dist/{email-otp-view-4EY5CKR5-PXH6WYZN.js → email-otp-view-FLSDWKJU-3KB6CCWB.js} +1 -1
  65. package/dist/{flow-views-JC2DWBW3-YYRQOY3A.js → flow-views-UZRN6BIU-SEDEA5AH.js} +1 -1
  66. package/dist/form-view-26PNMO6Q-6W54V6CN.js +1 -0
  67. package/dist/icons-form-R366YPMB-KUTXHC7X.js +1 -0
  68. package/dist/index.cjs +5 -5
  69. package/dist/index.d.cts +16 -0
  70. package/dist/index.d.ts +16 -0
  71. package/dist/index.js +1 -1
  72. package/dist/overlay-de-TP7ROFVF-5EB3LXPD.js +1 -0
  73. package/dist/overlay-es-LLTS3D6J-4M7PVHUX.js +1 -0
  74. package/dist/overlay-pt-UUJUOJNJ-LDRAURGT.js +1 -0
  75. package/dist/{portrait-capture-view-Q6XYTGE7-VKH2G5FA.js → portrait-capture-view-IFT7B4OG-RA2APHRL.js} +1 -1
  76. package/dist/{portrait-review-view-KZVKR6XN-RIAO3V65.js → portrait-review-view-BISWT5BQ-HV4F6WC7.js} +1 -1
  77. package/dist/{proof-of-address-view-YYZTILHQ-7OJWBD3P.js → proof-of-address-view-UXF6OH5N-4HTOLYIT.js} +1 -1
  78. package/dist/styles.css +40 -0
  79. package/package.json +2 -2
  80. package/sbom.cdx.json +4 -4
  81. package/dist/cdn/chunks/capture-session-doc-MF4JLCXV-VUUGFPYQ.js +0 -1
  82. package/dist/cdn/chunks/challenge-frame-YBTLAQ5G-NN763UU5.js +0 -1
  83. package/dist/cdn/chunks/chunk-5TXJCIRO.js +0 -1
  84. package/dist/cdn/chunks/chunk-7LM65APF.js +0 -1
  85. package/dist/cdn/chunks/chunk-CUFOLAZN.js +0 -25
  86. package/dist/cdn/chunks/chunk-E6VD556C.js +0 -3
  87. package/dist/cdn/chunks/chunk-HHII35OF.js +0 -1
  88. package/dist/cdn/chunks/chunk-LSBUNQZU.js +0 -1
  89. package/dist/cdn/chunks/chunk-M5S6ZWB6.js +0 -33
  90. package/dist/cdn/chunks/chunk-NU2VUYVN.js +0 -1
  91. package/dist/cdn/chunks/create-document-capture-NQQV36S7-E7NZFJ6B.js +0 -1
  92. package/dist/cdn/chunks/document-capture-view-ZQONDCSM-3BQH4UWM.js +0 -1
  93. package/dist/cdn/chunks/flow-views-JC2DWBW3-A6HKOURP.js +0 -1
  94. package/dist/cdn/chunks/form-view-GPITA6X5-P6ZAGK3K.js +0 -1
  95. package/dist/cdn/chunks/mrz-band-A6NIHZV3-GJO4UMKB.js +0 -1
  96. package/dist/cdn/chunks/overlay-de-7NCDPEIN-KI2BS6I6.js +0 -1
  97. package/dist/cdn/chunks/overlay-es-6MGCPCFO-CYCUQRCB.js +0 -1
  98. package/dist/cdn/chunks/overlay-pt-VTK6XJDH-VFNANCPU.js +0 -1
  99. package/dist/cdn/chunks/plan-runner-KGBHC6RO-CJJCUIMT.js +0 -1
  100. package/dist/chunk-AVSVM522.js +0 -25
  101. package/dist/chunk-DER42MAE.js +0 -33
  102. package/dist/chunk-QNR2GBZ5.js +0 -1
  103. package/dist/document-capture-view-ZQONDCSM-HUO7JCZZ.js +0 -1
  104. package/dist/form-view-GPITA6X5-VZF6Y2HM.js +0 -1
  105. package/dist/overlay-de-7NCDPEIN-BWTDIED4.js +0 -1
  106. package/dist/overlay-es-6MGCPCFO-SV56NQSV.js +0 -1
  107. package/dist/overlay-pt-VTK6XJDH-IWQLAZ7L.js +0 -1
@@ -0,0 +1 @@
1
+ "use client";import{a as ee,b as he,c as pe,d as ye,e as be}from"./chunk-VK6DRWZL.js";import{a as Z}from"./chunk-P223YKM3.js";import{a as fe}from"./chunk-S5CM7A4T.js";import"./chunk-2N6CQWVG.js";import{L as ue,a as J,b as X,c as de,w as ce,y as me}from"./chunk-CO3QPDWV.js";import{a as s,c as U,i as c}from"./chunk-SSU37LFQ.js";var S=U(J(),1),E=U(J(),1),f=U(X(),1),F=U(J(),1),g=U(X(),1),l=U(X(),1);import{FormAnswersError as Pe}from"@sekyro/web";import{filterRemoteOptions as Re,FORM_ANSWER_LIMITS as ve}from"@sekyro/web";var Ee={"form.title":"بضعة أسئلة","form.lead":"تطلب منك {org} الإجابة عن هذه الأسئلة.","form.optional":"اختياري","form.continue":"متابعة","form.sending":"جارٍ إرسال إجاباتك…","form.yes":"نعم","form.no":"لا","form.chooseAny":"اختر كل ما ينطبق","form.choose":"اختر","form.openLink":"يُفتح في علامة تبويب جديدة","form.consents":"موافقتك","form.remote.other":"أخرى","form.remote.otherField":"إجابتك","form.remote.filter":"ابحث في الخيارات","form.remote.noMatch":"لا يوجد خيار يطابق بحثك","form.date.day":"اليوم","form.date.month":"الشهر","form.date.year":"السنة","form.fields.full_name.label":"الاسم الكامل","form.fields.full_name.help":"اسمك واسم عائلتك كما تكتبهما عادةً","form.fields.birth_date.label":"تاريخ الميلاد","form.fields.email.label":"البريد الإلكتروني","form.fields.phone.label":"رقم الهاتف","form.fields.address.label":"العنوان","form.fields.address.help":"مكان سكنك الحالي","form.fields.country.label":"البلد","form.fields.occupation.label":"المهنة","form.address.line1":"الشارع والرقم","form.address.line2":"تفاصيل إضافية للعنوان","form.address.city":"المدينة","form.address.postcode":"الرمز البريدي","form.address.country":"البلد","form.address.addLine":"أضف سطرًا","form.phoneCountry":"رمز البلد","form.errors.summary":"راجع الإجابات المشار إليها أدناه.","form.errors.required":"أجب عن هذا السؤال للمتابعة","form.errors.choiceRequired":"اختر إجابة للمتابعة","form.errors.consentRequired":"حدّد هذا المربع للمتابعة","form.errors.tooLong":"اختصر إجابتك إلى {max} حرفًا أو أقل","form.errors.tooShort":"أدخل {min} أحرف على الأقل","form.errors.email":"أدخل عنوان بريد إلكتروني كاملًا يتضمن @ ونطاقًا","form.errors.phone":"أدخل الرقم دون رمز البلد، بالأرقام فقط","form.errors.date":"أدخل تاريخًا صحيحًا: اليوم والشهر والسنة","form.errors.datePast":"أدخل تاريخًا في الماضي","form.errors.dateFuture":"أدخل تاريخًا في المستقبل","form.errors.dateMin":"أدخل تاريخًا في {date} أو بعده","form.errors.dateMax":"أدخل تاريخًا في {date} أو قبله","form.errors.number":"أدخل عددًا بالأرقام","form.errors.numberInteger":"أدخل عددًا صحيحًا","form.errors.numberDecimals":"استخدم منزلتين عشريتين على الأكثر","form.errors.numberMin":"أدخل {min} أو أكثر","form.errors.numberMax":"أدخل {max} أو أقل","form.errors.choice":"اختر إحدى الإجابات المعروضة","form.errors.cardNumber":"لا تُدخل رقم بطاقة هنا.","form.errors.address":"أدخل الشارع والمدينة والبلد","form.errors.failed":"تعذّر إرسال إجاباتك. تحقّق من اتصالك وحاول مرة أخرى","form.remote.results.one":"خيار واحد","form.remote.results.two":"خياران","form.remote.results.few":"{count} خيارات","form.remote.results.many":"{count} خيارًا","form.remote.results.other":"{count} خيار"},H={"form.title":"A few questions","form.lead":"{org} asks you to answer these questions.","form.optional":"optional","form.continue":"Continue","form.sending":"Sending your answers…","form.yes":"Yes","form.no":"No","form.chooseAny":"Choose all that apply","form.choose":"Choose","form.openLink":"Opens in a new tab","form.consents":"Your consent","form.remote.other":"Other","form.remote.otherField":"Your answer","form.remote.filter":"Search the options","form.remote.noMatch":"No option matches your search","form.date.day":"Day","form.date.month":"Month","form.date.year":"Year","form.fields.full_name.label":"Full name","form.fields.full_name.help":"Your first and last names, as you usually write them","form.fields.birth_date.label":"Date of birth","form.fields.email.label":"Email address","form.fields.phone.label":"Phone number","form.fields.address.label":"Address","form.fields.address.help":"Where you live now","form.fields.country.label":"Country","form.fields.occupation.label":"Occupation","form.address.line1":"Street and number","form.address.line2":"More address details","form.address.city":"City or town","form.address.postcode":"Postal code","form.address.country":"Country","form.address.addLine":"Add a line","form.phoneCountry":"Country code","form.errors.summary":"Check the answers marked below.","form.errors.required":"Answer this question to continue","form.errors.choiceRequired":"Choose an answer to continue","form.errors.consentRequired":"Tick this box to continue","form.errors.tooLong":"Shorten your answer to {max} characters or fewer","form.errors.tooShort":"Enter at least {min} characters","form.errors.email":"Enter a full email address, with @ and a domain","form.errors.phone":"Enter the number without the country code, digits only","form.errors.date":"Enter a real date: day, month and year","form.errors.datePast":"Enter a date in the past","form.errors.dateFuture":"Enter a date in the future","form.errors.dateMin":"Enter a date on or after {date}","form.errors.dateMax":"Enter a date on or before {date}","form.errors.number":"Enter a number, using digits","form.errors.numberInteger":"Enter a whole number","form.errors.numberDecimals":"Use at most 2 decimals","form.errors.numberMin":"Enter {min} or more","form.errors.numberMax":"Enter {max} or less","form.errors.choice":"Choose one of the answers listed","form.errors.cardNumber":"Do not enter a card number here.","form.errors.address":"Enter the street, the city and the country","form.errors.failed":"We could not send your answers. Check your connection and try again","form.remote.results.one":"{count} option","form.remote.results.other":"{count} options"},Oe={"form.title":"Quelques questions","form.lead":"{org} vous demande de répondre à ces questions.","form.optional":"facultatif","form.continue":"Continuer","form.sending":"Envoi de vos réponses…","form.yes":"Oui","form.no":"Non","form.chooseAny":"Choisissez toutes les réponses qui s’appliquent","form.choose":"Choisir","form.openLink":"S’ouvre dans un nouvel onglet","form.consents":"Votre consentement","form.remote.other":"Autre","form.remote.otherField":"Votre réponse","form.remote.filter":"Rechercher parmi les options","form.remote.noMatch":"Aucune option ne correspond à votre recherche","form.date.day":"Jour","form.date.month":"Mois","form.date.year":"Année","form.fields.full_name.label":"Nom complet","form.fields.full_name.help":"Vos prénoms et nom, comme vous les écrivez d’habitude","form.fields.birth_date.label":"Date de naissance","form.fields.email.label":"Adresse e-mail","form.fields.phone.label":"Numéro de téléphone","form.fields.address.label":"Adresse","form.fields.address.help":"Là où vous habitez aujourd’hui","form.fields.country.label":"Pays","form.fields.occupation.label":"Profession","form.address.line1":"Rue et numéro","form.address.line2":"Complément d’adresse","form.address.city":"Ville","form.address.postcode":"Code postal","form.address.country":"Pays","form.address.addLine":"Ajouter une ligne","form.phoneCountry":"Indicatif du pays","form.errors.summary":"Vérifiez les réponses signalées ci-dessous.","form.errors.required":"Répondez à cette question pour continuer","form.errors.choiceRequired":"Choisissez une réponse pour continuer","form.errors.consentRequired":"Cochez cette case pour continuer","form.errors.tooLong":"Raccourcissez votre réponse à {max} caractères au plus","form.errors.tooShort":"Saisissez au moins {min} caractères","form.errors.email":"Saisissez une adresse e-mail complète, avec @ et un domaine","form.errors.phone":"Saisissez le numéro sans l’indicatif, en chiffres seulement","form.errors.date":"Saisissez une date réelle : jour, mois et année","form.errors.datePast":"Saisissez une date passée","form.errors.dateFuture":"Saisissez une date à venir","form.errors.dateMin":"Saisissez une date à partir du {date}","form.errors.dateMax":"Saisissez une date jusqu’au {date}","form.errors.number":"Saisissez un nombre, en chiffres","form.errors.numberInteger":"Saisissez un nombre entier","form.errors.numberDecimals":"Utilisez au plus 2 décimales","form.errors.numberMin":"Saisissez {min} ou plus","form.errors.numberMax":"Saisissez {max} ou moins","form.errors.choice":"Choisissez une des réponses proposées","form.errors.cardNumber":"N’indiquez pas de numéro de carte ici.","form.errors.address":"Indiquez la rue, la ville et le pays","form.errors.failed":"Nous n’avons pas pu envoyer vos réponses. Vérifiez votre connexion et réessayez","form.remote.results.one":"{count} option","form.remote.results.other":"{count} options"};function Y(e){return e.replace(/[٠-٩۰-۹]/g,r=>String((r.charCodeAt(0)&15)%10))}s(Y,"G");c(Y,"westernDigits");function ie(){let e=(0,E.useId)();return{control:`${e}-c`,help:`${e}-h`,error:`${e}-e`}}s(ie,"ee");c(ie,"useFieldIds");function D(e,r,o){return[r?e.help:null,o?e.error:null].filter(t=>t!==null).join(" ")||void 0}s(D,"E");c(D,"describedBy");function K({text:e,lang:r,optional:o}){return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("span",{lang:r?.lang,dir:r?.dir,children:e}),o!==null?(0,f.jsx)("span",{className:"sekyro-form-optional",children:` (${o})`}):null]})}s(K,"Z");c(K,"LabelText");function se({ids:e,help:r,helpLang:o,error:t}){return(0,f.jsxs)(f.Fragment,{children:[r!==void 0?(0,f.jsx)("span",{className:"sekyro-help",id:e.help,lang:o?.lang,dir:o?.dir,children:r}):null,t?(0,f.jsx)("span",{className:"sekyro-help is-danger",id:e.error,role:"alert",children:t}):null]})}s(se,"re");c(se,"FieldNotes");function R({ids:e,label:r,children:o,notes:t}){return(0,f.jsxs)("div",{className:"sekyro-field sekyro-form-q",children:[(0,f.jsx)("label",{className:"sekyro-label",id:`${e.control}-l`,htmlFor:e.control,children:r}),o,t]})}s(R,"T");c(R,"Field");function V({legend:e,children:r,notes:o,invalid:t,describedby:n}){return(0,f.jsxs)("fieldset",{className:`sekyro-form-q sekyro-form-group${t?" is-invalid":""}`,"aria-describedby":n,children:[(0,f.jsx)("legend",{className:"sekyro-label",children:e}),r,o]})}s(V,"V");c(V,"Group");function ke(e){let r={ArrowDown:1,ArrowUp:-1,ArrowRight:1,ArrowLeft:-1}[e.key];if(r===void 0)return;getComputedStyle(e.currentTarget).direction==="rtl"&&(e.key==="ArrowRight"||e.key==="ArrowLeft")&&(r=-r);let o=e.currentTarget.closest("fieldset"),t=o===null?[]:Array.from(o.querySelectorAll('input[type="checkbox"]')),n=t.indexOf(e.currentTarget),a=t[(n+r+t.length)%t.length];a!==void 0&&(e.preventDefault(),a.focus())}s(ke,"Ie");c(ke,"moveInGroup");function oe({name:e,type:r,options:o,value:t,onChange:n,required:a,invalid:m,describedby:k}){let q=Array.isArray(t)?t:t===null?[]:[t];return(0,f.jsx)("div",{className:"sekyro-form-choices",children:o.map(h=>{let i=q.includes(h.value);return(0,f.jsxs)("label",{className:"sekyro-form-choice",children:[(0,f.jsx)("input",{type:r,name:e,value:h.value,checked:i,required:r==="radio"?a:void 0,"aria-invalid":m||void 0,"aria-describedby":k,onKeyDown:r==="checkbox"?ke:void 0,onChange:s(()=>{n(r==="radio"?h.value:i?q.filter(y=>y!==h.value):[...q,h.value])},"onChange")}),(0,f.jsx)("span",{lang:h.lang?.lang,dir:h.lang?.dir,children:h.label})]},h.value)})})}s(oe,"oe");c(oe,"ChoiceList");function te(e){let[r,o,t]=[e.day,e.month,e.year].map(n=>Y(n).trim());if(!(r===""&&o===""&&t===""))return`${(t??"").padStart(4,"0")}-${(o??"").padStart(2,"0")}-${(r??"").padStart(2,"0")}`}s(te,"ne");c(te,"dateValue");function ne(e){let r=typeof e=="string"?/^(\d{4})-(\d{2})-(\d{2})$/.exec(e):null;return r===null?{day:"",month:"",year:""}:{day:String(Number(r[3])),month:String(Number(r[2])),year:r[1]}}s(ne,"te");c(ne,"dateParts");function _e(e,r,o,t=new Date().getUTCFullYear()){if(r==="")return!1;let n=Number(r);return e==="day"?!(n>=1&&n<=31):e==="month"?!(n>=1&&n<=12):r.length!==4||n<1900||n>(o?t:2100)}s(_e,"xe");c(_e,"datePartBad");function ae({ids:e,parts:r,onChange:o,labels:t,required:n,invalid:a,birthday:m,onPartBlur:k,onLeave:q}){let h=c(y=>{let _=y.target.dataset.part;_!==void 0&&k(_),y.currentTarget.contains(y.relatedTarget)||q()},"onBlur"),i=c((y,_)=>(0,f.jsxs)("div",{className:`sekyro-form-date__${y}`,children:[(0,f.jsx)("label",{className:"sekyro-help",htmlFor:`${e.control}-${y}`,children:t[y]}),(0,f.jsx)("input",{id:`${e.control}-${y}`,"data-part":y,className:"sekyro-input",type:"text",inputMode:"numeric",dir:"ltr",maxLength:_,autoComplete:m?`bday-${y}`:"off",required:n,"aria-invalid":a||void 0,"aria-describedby":D(e,!1,a),value:r[y],onChange:s(A=>o({...r,[y]:Y(A.target.value).replace(/\D/g,"")}),"onChange")})]}),"cell");return(0,f.jsxs)("div",{className:"sekyro-form-date",onBlur:h,children:[i("day",2),i("month",2),i("year",4)]})}s(ae,"se");c(ae,"DateInputs");function Ce(e){return(0,E.useMemo)(()=>{let r=[];for(let t=65;t<=90;t++)for(let n=65;n<=90;n++){let a=String.fromCharCode(t,n);ee(a)!==void 0&&a!=="AC"&&a!=="TA"&&r.push(a)}let o=new Intl.Collator(e);return r.map(t=>({code:t,name:Z(t,e)})).sort((t,n)=>o.compare(t.name,n.name))},[e])}s(Ce,"Me");c(Ce,"useCountries");function le({id:e,labelId:r,value:o,onChange:t,locale:n,placeholder:a,searchLabel:m,searchPlaceholder:k,noMatch:q,invalid:h,describedby:i}){let y=Ce(n),[_,A]=(0,E.useState)(!1),z=(0,E.useRef)(null),P=(0,E.useRef)(null),p=(0,E.useId)(),M=`${e}-v`,L=y.find(b=>b.code===o),O=c(()=>{A(!1),requestAnimationFrame(()=>z.current?.focus())},"close");return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("button",{ref:z,id:e,type:"button",className:"sekyro-input sekyro-form-country","aria-labelledby":`${r} ${M}`,"aria-expanded":_,"aria-controls":_?p:void 0,"aria-invalid":h||void 0,"aria-describedby":i,onClick:s(()=>{A(b=>!b),_||requestAnimationFrame(()=>P.current?.focus())},"onClick"),children:L!==void 0?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("span",{className:"sekyro-row-btn__flag","aria-hidden":"true",children:pe(L.code)}),(0,f.jsx)("span",{className:"sekyro-form-country__name",id:M,children:L.name})]}):(0,f.jsx)("span",{className:"sekyro-form-country__name is-empty",id:M,children:a})}),_?(0,f.jsx)("div",{id:p,className:"sekyro-form-country__list",onKeyDown:s(b=>{b.key==="Escape"&&(b.preventDefault(),O())},"onKeyDown"),children:(0,f.jsx)(he,{countries:y,label:(0,f.jsx)("span",{className:"sekyro-visually-hidden",children:m}),searchPlaceholder:k,noMatch:q,selected:o,searchRef:P,scroll:!0,onPick:s(b=>{t(b),O()},"onPick")})}):null]})}s(le,"ae");c(le,"CountryField");var T="\0other",ge,re;function Ne(e){let[r,o]=(0,F.useState)(ge);return(0,F.useEffect)(()=>{if(!e||r!==void 0)return;let t=!0;return re??(re=import("./icons-form-R366YPMB-KUTXHC7X.js").then(n=>ge=n.FORM_OPTION_ICON_PATHS)),re.then(n=>t&&o(n)).catch(()=>{}),()=>{t=!1}},[e,r]),r}s(Ne,"Te");c(Ne,"useOptionIcons");function qe({icon:e,imageUrl:r,icons:o}){let[t,n]=(0,F.useState)(!1);if(r!==void 0&&!t)return(0,g.jsx)("img",{className:"sekyro-form-card__picture",src:r,alt:"",loading:"lazy",decoding:"async",onError:s(()=>n(!0),"onError")});let a=e!==void 0?o?.[e]:void 0;return a===void 0?null:(0,g.jsx)("span",{className:"sekyro-form-card__icon","aria-hidden":"true",children:(0,g.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",strokeWidth:1.5,focusable:"false",dangerouslySetInnerHTML:{__html:a}})})}s(qe,"qe");c(qe,"OptionPicture");function xe({name:e,labelId:r,remote:o,draft:t,onChange:n,required:a,invalid:m,describedby:k,client:q,copy:h}){let[i,y]=(0,F.useState)(""),_=(0,F.useId)(),A=(0,F.useId)(),z=(0,F.useRef)(null),[P,p]=(0,F.useState)(!1),M=o.options.length>ve.remoteFilterAbove,L=(0,F.useMemo)(()=>M?Re(o.options,i):o.options,[o.options,i,M]),O=o.otherLabel??h.other,b=Ne(o.options.some(u=>u.icon!==void 0));(0,F.useEffect)(()=>{P&&(z.current?.focus(),p(!1))},[P]);let x=c(u=>{u===T?(n({pick:T,other:t.other}),p(!0)):n({pick:u,other:""})},"pick");return(0,g.jsxs)("div",{className:"sekyro-form-remote",children:[M?(0,g.jsxs)("div",{className:"sekyro-field sekyro-form-remote__filter",children:[(0,g.jsx)("label",{className:"sekyro-help",htmlFor:_,children:h.filter}),(0,g.jsx)("input",{id:_,className:"sekyro-input",type:"search",autoComplete:"off",value:i,onChange:s(u=>y(u.target.value),"onChange")}),(0,g.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:i.trim()===""?"":h.results(L.length)})]}):null,(0,g.jsxs)("div",{className:"sekyro-form-cards",role:"radiogroup","aria-labelledby":r,"aria-required":a||void 0,"aria-invalid":m||void 0,"aria-describedby":k,children:[L.map(u=>{let I=t.pick===u.value;return(0,g.jsxs)("label",{className:"sekyro-form-card","data-value":u.value,children:[(0,g.jsx)("input",{type:"radio",name:e,value:u.value,checked:I,required:a,"aria-invalid":m||void 0,onChange:s(()=>x(u.value),"onChange")}),(0,g.jsx)(qe,{icon:u.icon,imageUrl:u.imageUrl,icons:b}),(0,g.jsxs)("span",{className:"sekyro-form-card__text",lang:q.lang,children:[u.title!==void 0?(0,g.jsx)("span",{className:"sekyro-form-card__title",dir:"auto",children:u.title}):null,(0,g.jsx)("span",{className:"sekyro-form-card__label",dir:"auto",children:u.label}),u.description!==void 0?(0,g.jsx)("span",{className:"sekyro-form-card__description",dir:"auto",children:u.description}):null]})]},u.value)}),M&&L.length===0&&!o.allowOther?(0,g.jsx)("p",{className:"sekyro-help sekyro-form-remote__none",children:h.noMatch}):null,o.allowOther?(0,g.jsxs)("label",{className:"sekyro-form-card sekyro-form-card--other",children:[(0,g.jsx)("input",{type:"radio",name:e,value:T,checked:t.pick===T,required:a,"aria-invalid":m||void 0,onChange:s(()=>x(T),"onChange")}),(0,g.jsx)("span",{className:"sekyro-form-card__text",children:(0,g.jsx)("span",{className:"sekyro-form-card__label",dir:"auto",lang:o.otherLabel!==void 0?q.lang:void 0,children:O})})]}):null]}),t.pick===T?(0,g.jsxs)("div",{className:"sekyro-field sekyro-form-remote__other",children:[(0,g.jsx)("label",{className:"sekyro-help",htmlFor:A,children:o.otherLabel??h.otherField}),(0,g.jsx)("input",{id:A,ref:z,className:"sekyro-input",type:"text",autoComplete:"off",maxLength:ve.remoteOther,required:a,"aria-invalid":m||void 0,"aria-describedby":k,value:t.other,onChange:s(u=>n({pick:T,other:u.target.value}),"onChange")})]}):null]})}s(xe,"Se");c(xe,"OptionCardList");var De={en:H,fr:Oe,ar:Ee,es:H,pt:H,de:H};function we(e){let r=e.strings,o=De[e.locale];return(t,n)=>fe(r[t]??o[t]??"",n)}s(we,"Be");c(we,"formCopy");var Te=new Set(["single_choice","multiple_choice","yes_no","remote_choice"]),je=c(e=>e.kind==="field"?e.field==="country":Te.has(e.type),"isChoice");function Se(e,r,o){if(e.kind==="field")switch(e.field){case"birth_date":return ne(r);case"phone":return typeof r=="string"?r:"";case"address":{let t=typeof r=="object"&&r!==null&&!Array.isArray(r)?r:{};return{line1:t.lines?.[0]??"",line2:t.lines?.slice(1).join(", ")??"",city:t.city??"",postcode:t.postcode??"",country:t.country??o}}default:return typeof r=="string"?r:""}switch(e.type){case"multiple_choice":return Array.isArray(r)?r:[];case"yes_no":return typeof r=="boolean"?r:null;case"single_choice":return typeof r=="string"?r:null;case"date":return ne(r);case"number":return typeof r=="number"?String(r):"";case"remote_choice":return{pick:null,other:""};default:return typeof r=="string"?r:""}}s(Se,"Ke");c(Se,"draftOf");function Me(e,r){if(e.kind==="field")switch(e.field){case"birth_date":return te(r);case"phone":return r||void 0;case"address":{let o=r,t=[o.line1,o.line2].map(n=>n.trim()).filter(n=>n!=="");return t.length===0&&o.city.trim()===""&&o.postcode.trim()===""?void 0:{country:o.country,city:o.city.trim(),lines:t,...o.postcode.trim()!==""?{postcode:o.postcode.trim()}:{}}}case"email":return r.trim().toLowerCase()||void 0;default:return r.trim()||void 0}switch(e.type){case"multiple_choice":return r.length>0?r:void 0;case"yes_no":return typeof r=="boolean"?r:void 0;case"single_choice":return typeof r=="string"?r:void 0;case"date":return te(r);case"remote_choice":{let o=r;return o.pick===null?void 0:o.pick===T?{other:o.other.trim()}:o.pick}case"number":{let o=Y(r).replace(/[\s  ]/g,"").replace(/[,٫]/g,".");if(o==="")return;let t=Number(o);return Number.isFinite(t)&&/^-?\d+(\.\d+)?$/.test(o)?t:Number.NaN}default:return r.trim()||void 0}}s(Me,"Ye");c(Me,"answerOf");function Ae(e,r,o,t){let n=c(m=>{try{return new Intl.DateTimeFormat(t,{dateStyle:"long",timeZone:"UTC"}).format(new Date(`${String(m)}T00:00:00Z`))}catch{return String(m)}},"date"),a=e.params??{};switch(e.code){case"required":return o(r!==void 0&&je(r)?"form.errors.choiceRequired":"form.errors.required");case"consent_required":return o("form.errors.consentRequired");case"too_long":return o("form.errors.tooLong",{max:Number(a.max??0)});case"too_short":return o("form.errors.tooShort",{min:Number(a.min??0)});case"email_invalid":return o("form.errors.email");case"phone_invalid":return o("form.errors.phone");case"date_invalid":return o("form.errors.date");case"date_not_past":return o("form.errors.datePast");case"date_not_future":return o("form.errors.dateFuture");case"date_too_early":return o("form.errors.dateMin",{date:n(a.date)});case"date_too_late":return o("form.errors.dateMax",{date:n(a.date)});case"number_invalid":return o("form.errors.number");case"number_not_integer":return o("form.errors.numberInteger");case"number_decimals":return o("form.errors.numberDecimals");case"number_too_small":return o("form.errors.numberMin",{min:new Intl.NumberFormat(t).format(Number(a.min??0))});case"number_too_large":return o("form.errors.numberMax",{max:new Intl.NumberFormat(t).format(Number(a.max??0))});case"address_invalid":return o("form.errors.address");case"card_number":return o("form.errors.cardNumber");default:return o("form.errors.choice")}}s(Ae,"Ue");c(Ae,"issueText");var W={full_name:200,occupation:120,email:254,short_text:120,long_text:1e3};function Fe(e,r){let o=new Intl.PluralRules(r);return{other:e("form.remote.other"),otherField:e("form.remote.otherField"),filter:e("form.remote.filter"),results:c(t=>e(`form.remote.results.${o.select(t)}`,{count:t})||e("form.remote.results.other",{count:t}),"results"),noMatch:e("form.remote.noMatch")}}s(Fe,"je");c(Fe,"remoteCopy");function Ve({step:e,i18n:r,onError:o}){let t=we(r),{form:n}=e,a={lang:n.locale,dir:e.dir},m=typeof n.prefill?.country=="string"?n.prefill.country:"",[k,q]=(0,S.useState)(()=>Object.fromEntries(n.questions.map(d=>[d.id,Se(d,n.prefill?.[d.id],m)]))),[h,i]=(0,S.useState)({}),[y,_]=(0,S.useState)([]),[A,z]=(0,S.useState)(!1),[P,p]=(0,S.useState)(!1),[M,L]=(0,S.useState)(0),O=(0,S.useRef)(null),b=(0,S.useId)();(0,S.useEffect)(()=>{M!==0&&O.current?.querySelector('[aria-invalid="true"]')?.focus()},[M]);let x=c(d=>{let N=y.find(C=>C.id===d);return N===void 0?null:Ae(N,n.questions.find(C=>C.id===d),t,r.locale)},"errorOf"),u=c((d,N)=>{q(C=>({...C,[d]:N})),_(C=>C.filter($=>$.id!==d))},"set"),I=c(()=>{let d={};for(let N of n.questions){let C=Me(N,k[N.id]??null);C!==void 0&&(d[N.id]=C)}return{answers:d,consents:Object.fromEntries(n.consents.map(N=>[N.id,h[N.id]===!0]))}},"input"),j=c(d=>{let N=e.validate(I()).filter(C=>C.id===d&&C.code!=="required");_(C=>[...C.filter($=>$.id!==d),...N])},"checkOne"),v=c(d=>{if(d.preventDefault(),A)return;let N=I(),C=e.validate(N);if(C.length>0){_(C),L($=>$+1);return}z(!0),p(!1),e.submit(N).catch($=>{o?.($);let B=($ instanceof Pe||$?.name==="FormAnswersError"?$.issues:null)?.filter(G=>n.questions.some(Q=>Q.id===G.id)||n.consents.some(Q=>Q.id===G.id))??[];B.length>0?(_(B),L(G=>G+1)):p(!0)}).finally(()=>z(!1))},"onSubmit"),w=c(d=>d?null:t("form.optional"),"optional");return(0,l.jsxs)("form",{ref:O,className:"sekyro-step sekyro-form","aria-labelledby":b,onSubmit:v,noValidate:!0,"data-testid":"sekyro-form-step",children:[(0,l.jsx)(ce,{id:b,title:n.title??t("form.title"),lead:n.intro??t("form.lead",{org:e.context.orgName}),lang:{...n.title!==void 0?{title:n.locale}:{},...n.intro!==void 0?{lead:n.locale}:{},dir:e.dir}}),P?(0,l.jsx)(ue,{tone:"danger",children:(0,l.jsx)("span",{children:t("form.errors.failed")})}):null,(0,l.jsx)("div",{className:"sekyro-form-questions",children:n.questions.map(d=>(0,l.jsx)(Le,{q:d,draft:k[d.id]??null,onChange:s(N=>u(d.id,N),"onChange"),error:x(d.id),optional:w(d.required),c:t,locale:r.locale,client:a,fallbackCountry:m,onCheck:s(()=>j(d.id),"onCheck")},d.id))}),n.consents.length>0?(0,l.jsxs)("fieldset",{className:"sekyro-form-q sekyro-form-group sekyro-form-consents",children:[(0,l.jsx)("legend",{className:"sekyro-label",children:t("form.consents")}),n.consents.map(d=>(0,l.jsx)($e,{id:d.id,text:d.text,link:d.link,required:d.required,checked:h[d.id]===!0,onChange:s(N=>{i(C=>({...C,[d.id]:N})),_(C=>C.filter($=>$.id!==d.id))},"onChange"),error:x(d.id),optional:w(d.required),openLink:t("form.openLink"),client:a},d.id))]}):null,(0,l.jsxs)(me,{children:[(0,l.jsx)(de,{type:"submit",full:!0,disabled:A,"aria-busy":A||void 0,"data-testid":"sekyro-form-continue",children:t(A?"form.sending":"form.continue")}),(0,l.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:A?t("form.sending"):""})]})]})}s(Ve,"Mr");c(Ve,"FormView");function $e({id:e,text:r,link:o,required:t,checked:n,onChange:a,error:m,optional:k,openLink:q,client:h}){let i=ie();return(0,l.jsxs)("div",{className:"sekyro-form-consent","data-consent":e,children:[(0,l.jsxs)("div",{className:"sekyro-form-choice sekyro-form-consent__row",children:[(0,l.jsx)("input",{id:i.control,type:"checkbox",checked:n,required:t,"aria-invalid":m!==null||void 0,"aria-describedby":D(i,!1,m!==null),onChange:s(y=>a(y.target.checked),"onChange")}),(0,l.jsxs)("span",{className:"sekyro-form-consent__text",children:[(0,l.jsx)("label",{htmlFor:i.control,children:(0,l.jsx)(K,{text:r,lang:h,optional:k})}),o!==void 0?(0,l.jsxs)("a",{className:"sekyro-link sekyro-form-consent__link",href:o.url,target:"_blank",rel:"noopener noreferrer",lang:h.lang,dir:h.dir,children:[o.label,(0,l.jsxs)("span",{className:"sekyro-visually-hidden",children:[" (",q,")"]})]}):null]})]}),(0,l.jsx)(se,{ids:i,error:m})]})}s($e,"We");c($e,"Consent");function Le({q:e,draft:r,onChange:o,error:t,optional:n,c:a,locale:m,client:k,fallbackCountry:q,onCheck:h}){let i=ie(),[y,_]=(0,S.useState)(()=>new Set),A=e.kind==="field"&&e.field==="birth_date",z=(A||e.kind==="custom"&&e.type==="date")&&[...y].some(v=>_e(v,Y(r[v]??""),A)),P=t??(z?a("form.errors.date"):null),p=P!==null,M=e.kind==="custom"?e:null,L=M!==null?M.help:e.kind==="field"&&(e.field==="full_name"||e.field==="address")?a(`form.fields.${e.field}.help`):void 0,O=M!==null?k:void 0,b=M!==null?(0,l.jsx)(K,{text:M.label,lang:k,optional:n}):(0,l.jsx)(K,{text:a(`form.fields.${e.kind==="field"?e.field:""}.label`),optional:n}),x=(0,l.jsx)(se,{ids:i,help:L,helpLang:O,error:P}),u=D(i,L!==void 0,p),I=c(v=>v.long===!0?(0,l.jsx)("textarea",{id:i.control,className:"sekyro-input sekyro-form-textarea",rows:4,maxLength:v.max,required:e.required,"aria-invalid":p||void 0,"aria-describedby":u,value:r,onChange:s(w=>o(w.target.value),"onChange")}):(0,l.jsx)("input",{id:i.control,className:"sekyro-input",type:v.type??"text",inputMode:v.inputMode,autoComplete:v.autoComplete??"off",dir:v.dir,maxLength:v.max,required:e.required,"aria-invalid":p||void 0,"aria-describedby":u,value:r,onChange:s(w=>o(w.target.value),"onChange")}),"text");if(e.kind==="field")switch(e.field){case"full_name":return(0,l.jsx)(R,{ids:i,label:b,notes:x,children:I({autoComplete:"name",max:W.full_name})});case"occupation":return(0,l.jsx)(R,{ids:i,label:b,notes:x,children:I({autoComplete:"organization-title",max:W.occupation})});case"email":return(0,l.jsx)(R,{ids:i,label:b,notes:x,children:I({type:"email",inputMode:"email",autoComplete:"email",dir:"ltr",max:W.email})});case"country":return(0,l.jsx)(R,{ids:i,label:b,notes:x,children:(0,l.jsx)(le,{id:i.control,labelId:`${i.control}-l`,value:r??"",onChange:o,locale:m,placeholder:a("form.choose"),searchLabel:a("doc.countrySearch"),searchPlaceholder:a("doc.countrySearch"),noMatch:a("doc.noCountryMatch"),invalid:p,describedby:u})});case"phone":return(0,l.jsx)(R,{ids:i,label:b,notes:x,children:(0,l.jsx)(ze,{id:i.control,value:r,onChange:o,locale:m,c:a,fallbackCountry:q,required:e.required,invalid:p,describedby:u})});case"birth_date":return(0,l.jsx)(V,{legend:b,notes:x,invalid:p,describedby:u,children:(0,l.jsx)(ae,{ids:i,parts:r,onChange:o,labels:{day:a("form.date.day"),month:a("form.date.month"),year:a("form.date.year")},required:e.required,invalid:p,birthday:!0,onPartBlur:s(v=>_(w=>new Set(w).add(v)),"onPartBlur"),onLeave:h})});case"address":{let v=r,w=c((d,N,C,$)=>(0,l.jsxs)("div",{className:"sekyro-field",children:[(0,l.jsx)("label",{className:"sekyro-help",id:`${i.control}-${d}-l`,htmlFor:`${i.control}-${d}`,children:a(N)}),d==="country"?(0,l.jsx)(le,{id:`${i.control}-${d}`,labelId:`${i.control}-${d}-l`,value:v.country,onChange:s(B=>o({...v,country:B}),"onChange"),locale:m,placeholder:a("form.choose"),searchLabel:a("doc.countrySearch"),searchPlaceholder:a("doc.countrySearch"),noMatch:a("doc.noCountryMatch"),invalid:p,describedby:D(i,!1,p)}):(0,l.jsx)("input",{id:`${i.control}-${d}`,className:"sekyro-input",type:"text",autoComplete:C,maxLength:$,required:e.required&&d!=="line2"&&d!=="postcode","aria-invalid":p||void 0,"aria-describedby":D(i,!1,p),value:v[d],onChange:s(B=>o({...v,[d]:B.target.value}),"onChange")})]}),"part");return(0,l.jsx)(V,{legend:b,notes:x,invalid:p,describedby:u,children:(0,l.jsxs)("div",{className:"sekyro-form-address",children:[w("line1","form.address.line1","address-line1",120),w("line2","form.address.line2","address-line2",120),w("city","form.address.city","address-level2",80),w("postcode","form.address.postcode","postal-code",16),w("country","form.address.country","country",2)]})})}default:return null}let j=e;switch(j.type){case"short_text":return(0,l.jsx)(R,{ids:i,label:b,notes:x,children:I({max:W.short_text})});case"long_text":return(0,l.jsx)(R,{ids:i,label:b,notes:x,children:I({max:W.long_text,long:!0})});case"number":return(0,l.jsx)(R,{ids:i,label:b,notes:x,children:I({inputMode:"decimal",dir:"ltr",max:20})});case"date":return(0,l.jsx)(V,{legend:b,notes:x,invalid:p,describedby:u,children:(0,l.jsx)(ae,{ids:i,parts:r,onChange:o,labels:{day:a("form.date.day"),month:a("form.date.month"),year:a("form.date.year")},required:e.required,invalid:p,birthday:!1,onPartBlur:s(v=>_(w=>new Set(w).add(v)),"onPartBlur"),onLeave:h})});case"yes_no":return(0,l.jsx)(V,{legend:b,notes:x,invalid:p,describedby:u,children:(0,l.jsx)(oe,{name:i.control,type:"radio",options:[{value:"yes",label:a("form.yes")},{value:"no",label:a("form.no")}],value:r===!0?"yes":r===!1?"no":null,onChange:s(v=>o(v==="yes"),"onChange"),required:e.required,invalid:p,describedby:D(i,!1,p)})});case"remote_choice":return j.remote===void 0?null:(0,l.jsx)(V,{legend:(0,l.jsx)("span",{id:`${i.control}-l`,children:b}),notes:x,invalid:p,describedby:u,children:(0,l.jsx)(xe,{name:i.control,labelId:`${i.control}-l`,remote:j.remote,draft:r,onChange:o,required:e.required,invalid:p,describedby:D(i,!1,p),client:k,copy:Fe(a,m)})});case"single_choice":case"multiple_choice":{let v=j.type==="multiple_choice";return(0,l.jsx)(V,{legend:b,notes:(0,l.jsxs)(l.Fragment,{children:[v?(0,l.jsx)("span",{className:"sekyro-help",children:a("form.chooseAny")}):null,x]}),invalid:p,describedby:u,children:(0,l.jsx)(oe,{name:i.control,type:v?"checkbox":"radio",options:(j.choices??[]).map(w=>({value:w.value,label:w.label,lang:k})),value:r,onChange:o,required:e.required,invalid:p,describedby:D(i,!1,p)})})}default:return null}}s(Le,"Ze");c(Le,"Question");function Ie(e,r){let o=[];for(let a=65;a<=90;a++)for(let m=65;m<=90;m++){let k=String.fromCharCode(a,m),q=ee(k);q!==void 0&&k!=="AC"&&k!=="TA"&&o.push({code:k,dial:`+${q}`})}let t=new Intl.Collator(r),n=new Map(o.map(a=>[a.code,Z(a.code,r)]));return o.sort((a,m)=>a.code===e?-1:m.code===e?1:t.compare(n.get(a.code)??"",n.get(m.code)??"")),o}s(Ie,"Je");c(Ie,"phoneCountries");function ze({id:e,value:r,onChange:o,locale:t,c:n,fallbackCountry:a,required:m,invalid:k,describedby:q}){let h=(0,S.useMemo)(()=>Ie(a||"MR",t),[a,t]),[i]=(0,S.useState)(()=>r||(h[0]?.dial??"")),y=ye({countries:h,international:!1,closed:!1,defaultPhone:i}),_=y.empty?"":y.typed??y.phone;return(0,S.useEffect)(()=>{_!==r&&o(_)},[_]),(0,l.jsx)(be,{field:y,id:e,locale:t,t:n,required:m,invalid:k,describedby:q,compact:!0})}s(ze,"Xe");c(ze,"FormPhone");export{Ve as FormView,we as formCopy};
@@ -0,0 +1 @@
1
+ "use client";import"./chunk-SSU37LFQ.js";var r={wallet:'<path d="M6 10H10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M20.83 11H18.23C16.45 11 15 12.34 15 14C15 15.66 16.45 17 18.23 17H20.83C20.92 17 20.96 17 20.99 17C21.53 16.96 21.96 16.57 22 16.07C22 16.03 22 15.99 22 15.92V12.08C22 12.01 22 11.97 22 11.93C21.96 11.43 21.53 11.04 20.99 11C20.96 11 20.92 11 20.83 11Z" stroke="currentColor"/><path d="M20.96 11C20.89 9.13 20.64 7.98 19.83 7.17C18.66 6 16.77 6 13 6H10C6.23 6 4.34 6 3.17 7.17C2 8.34 2 10.23 2 14C2 17.77 2 19.66 3.17 20.83C4.34 22 6.23 22 10 22H13C16.77 22 18.66 22 19.83 20.83C20.64 20.02 20.89 18.87 20.96 17" stroke="currentColor"/><path d="M6 6L9.74 3.52C10.79 2.83 12.21 2.83 13.26 3.52L17 6" stroke="currentColor" stroke-linecap="round"/><path d="M17.99 14H18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>',card:'<path d="M2 12C2 8.23 2 6.34 3.17 5.17C4.34 4 6.23 4 10 4H14C17.77 4 19.66 4 20.83 5.17C22 6.34 22 8.23 22 12C22 15.77 22 17.66 20.83 18.83C19.66 20 17.77 20 14 20H10C6.23 20 4.34 20 3.17 18.83C2 17.66 2 15.77 2 12Z" stroke="currentColor"/><path d="M10 16H6" stroke="currentColor" stroke-linecap="round"/><path d="M14 16H12.5" stroke="currentColor" stroke-linecap="round"/><path d="M2 10L22 10" stroke="currentColor" stroke-linecap="round"/>',bank:'<path d="M22 22L2 22" stroke="currentColor" stroke-linecap="round"/><path d="M21 22V6C21 4.11 21 3.17 20.41 2.59C19.83 2 18.89 2 17 2H15C13.11 2 12.17 2 11.59 2.59C11.11 3.06 11.02 3.76 11 5" stroke="currentColor"/><path d="M15 22V9C15 7.11 15 6.17 14.41 5.59C13.83 5 12.89 5 11 5H7C5.11 5 4.17 5 3.59 5.59C3 6.17 3 7.11 3 9V22" stroke="currentColor"/><path d="M9 22V19" stroke="currentColor" stroke-linecap="round"/><path d="M6 8H12" stroke="currentColor" stroke-linecap="round"/><path d="M6 11H12" stroke="currentColor" stroke-linecap="round"/><path d="M6 14H12" stroke="currentColor" stroke-linecap="round"/>',home:'<path d="M14 6H10C8.64 6 7.53 6 6.61 6.05C4.97 6.15 3.92 6.42 3.17 7.17C2 8.34 2 10.23 2 14C2 17.77 2 19.66 3.17 20.83C4.34 22 6.23 22 10 22H14C17.77 22 19.66 22 20.83 20.83C22 19.66 22 17.77 22 14C22 10.23 22 8.34 20.83 7.17C20.08 6.42 19.03 6.15 17.39 6.05C16.47 6 15.36 6 14 6Z" stroke="currentColor"/><path d="M6.61 6.05C7.43 6.03 8.16 5.45 8.44 4.68C8.45 4.66 8.46 4.63 8.47 4.58L8.5 4.5C8.54 4.37 8.56 4.31 8.59 4.25C8.87 3.54 9.55 3.05 10.32 3C10.38 3 10.45 3 10.58 3H13.42C13.55 3 13.62 3 13.68 3C14.45 3.05 15.13 3.54 15.41 4.25C15.44 4.31 15.46 4.37 15.5 4.5L15.53 4.58C15.54 4.63 15.55 4.66 15.56 4.68C15.84 5.45 16.57 6.03 17.39 6.05" stroke="currentColor"/><path d="M21.66 8.72C18.65 10.68 17.15 11.65 15.56 12.15C13.24 12.87 10.76 12.87 8.44 12.15C6.85 11.65 5.35 10.68 2.34 8.72" stroke="currentColor" stroke-linecap="round"/><path d="M8 11V13" stroke="currentColor" stroke-linecap="round"/><path d="M16 11V13" stroke="currentColor" stroke-linecap="round"/>',store:'<path d="M3.5 11V14C3.5 17.77 3.5 19.66 4.67 20.83C5.84 22 7.73 22 11.5 22H12.5C16.27 22 18.16 22 19.33 20.83C20.5 19.66 20.5 17.77 20.5 14V11" stroke="currentColor"/><path d="M9.5 2H14.5L15.15 8.52C15.34 10.38 13.87 12 12 12C10.13 12 8.66 10.38 8.85 8.52L9.5 2Z" stroke="currentColor"/><path d="M3.33 5.35C3.51 4.46 3.6 4.02 3.78 3.65C4.16 2.89 4.85 2.33 5.67 2.11C6.06 2 6.51 2 7.42 2H9.5L8.78 9.25C8.62 10.81 7.3 12 5.73 12C3.8 12 2.35 10.23 2.73 8.34L3.33 5.35Z" stroke="currentColor"/><path d="M20.67 5.35C20.49 4.46 20.4 4.02 20.22 3.65C19.84 2.89 19.15 2.33 18.33 2.11C17.94 2 17.49 2 16.58 2H14.5L15.22 9.25C15.38 10.81 16.7 12 18.27 12C20.2 12 21.65 10.23 21.27 8.34L20.67 5.35Z" stroke="currentColor"/><path d="M9.5 21.5V18.5C9.5 17.57 9.5 17.1 9.7 16.75C9.83 16.52 10.02 16.33 10.25 16.2C10.6 16 11.07 16 12 16C12.93 16 13.4 16 13.75 16.2C13.98 16.33 14.17 16.52 14.3 16.75C14.5 17.1 14.5 17.57 14.5 18.5V21.5" stroke="currentColor" stroke-linecap="round"/>',org:'<path d="M22 22L2 22" stroke="currentColor" stroke-linecap="round"/><path d="M17 22V6C17 4.11 17 3.17 16.41 2.59C15.83 2 14.89 2 13 2H11C9.11 2 8.17 2 7.59 2.59C7 3.17 7 4.11 7 6V22" stroke="currentColor"/><path d="M21 22V11.5C21 10.1 21 9.39 20.66 8.89C20.52 8.67 20.33 8.48 20.11 8.34C19.61 8 18.9 8 17.5 8" stroke="currentColor"/><path d="M3 22V11.5C3 10.1 3 9.39 3.34 8.89C3.48 8.67 3.67 8.48 3.89 8.34C4.39 8 5.1 8 6.5 8" stroke="currentColor"/><path d="M12 22V19" stroke="currentColor" stroke-linecap="round"/><path d="M10 5H14" stroke="currentColor" stroke-linecap="round"/><path d="M10 8H14" stroke="currentColor" stroke-linecap="round"/><path d="M10 11H14" stroke="currentColor" stroke-linecap="round"/><path d="M10 14H14" stroke="currentColor" stroke-linecap="round"/>',profile:'<path d="M9 9A3 3 0 1 0 15 9A3 3 0 1 0 9 9Z" stroke="currentColor"/><path d="M2 12A10 10 0 1 0 22 12A10 10 0 1 0 2 12Z" stroke="currentColor"/><path d="M17.97 20C17.81 17.11 16.92 15 12 15C7.08 15 6.19 17.11 6.03 20" stroke="currentColor" stroke-linecap="round"/>',team:'<path d="M5 6A4 4 0 1 0 13 6A4 4 0 1 0 5 6Z" stroke="currentColor"/><path d="M15 9C16.66 9 18 7.66 18 6C18 4.34 16.66 3 15 3" stroke="currentColor" stroke-linecap="round"/><path d="M2 17A7 4 0 1 0 16 17A7 4 0 1 0 2 17Z" stroke="currentColor"/><path d="M18 14C19.75 14.38 21 15.36 21 16.5C21 17.53 19.99 18.42 18.5 18.87" stroke="currentColor" stroke-linecap="round"/>',phone:'<path d="M18.68 19.96C19.19 19.91 19.64 19.63 20 19.25L21.42 17.76C22.38 16.75 22.11 15.02 20.88 14.31L18.97 13.21C18.17 12.75 17.19 12.88 16.56 13.55L16.1 14.03C16.1 14.03 15.02 15.17 12.06 12.06C9.11 8.94 10.19 7.81 10.19 7.81L10.48 7.5C11.18 6.76 11.25 5.56 10.63 4.69L9.37 2.91C8.61 1.83 7.14 1.69 6.26 2.61L4.69 4.26C4.26 4.72 3.97 5.31 4 5.97C4.09 7.65 4.81 11.26 8.82 15.48C13.06 19.95 17.05 20.12 18.68 19.96Z" stroke="currentColor" stroke-linecap="round"/>',email:'<path d="M2 12C2 8.23 2 6.34 3.17 5.17C4.34 4 6.23 4 10 4H14C17.77 4 19.66 4 20.83 5.17C22 6.34 22 8.23 22 12C22 15.77 22 17.66 20.83 18.83C19.66 20 17.77 20 14 20H10C6.23 20 4.34 20 3.17 18.83C2 17.66 2 15.77 2 12Z" stroke="currentColor"/><path d="M6 8L8.16 9.8C10 11.33 10.91 12.09 12 12.09C13.09 12.09 14 11.33 15.84 9.8L18 8" stroke="currentColor" stroke-linecap="round"/>',document:'<path d="M18.18 8.04L18.64 7.58C19.41 6.81 20.66 6.81 21.42 7.58C22.19 8.34 22.19 9.59 21.42 10.36L20.96 10.82M18.18 8.04C18.18 8.04 18.24 9.02 19.11 9.89C19.98 10.76 20.96 10.82 20.96 10.82M20.96 10.82L16.7 15.08C16.41 15.37 16.27 15.51 16.11 15.64C15.92 15.78 15.72 15.91 15.5 16.01C15.32 16.1 15.13 16.16 14.74 16.29L13.5 16.71L13.1 16.84L12.7 16.97C12.51 17.04 12.3 16.99 12.16 16.84C12.01 16.7 11.96 16.49 12.03 16.3L12.16 15.9L12.29 15.5L12.71 14.26C12.84 13.87 12.9 13.68 12.99 13.5C13.09 13.28 13.22 13.08 13.36 12.89C13.49 12.73 13.63 12.59 13.92 12.3L18.18 8.04M13.1 16.84L12.16 15.9" stroke="currentColor"/><path d="M8 13H10.5" stroke="currentColor" stroke-linecap="round"/><path d="M8 9H14.5" stroke="currentColor" stroke-linecap="round"/><path d="M8 17H9.5" stroke="currentColor" stroke-linecap="round"/><path d="M19.83 3.17C18.66 2 16.77 2 13 2H11C7.23 2 5.34 2 4.17 3.17C3 4.34 3 6.23 3 10V14C3 17.77 3 19.66 4.17 20.83C5.34 22 7.23 22 11 22H13C16.77 22 18.66 22 19.83 20.83C20.77 19.89 20.96 18.48 20.99 16" stroke="currentColor" stroke-linecap="round"/>',id:'<path d="M4 6H17C18.66 6 20 7.34 20 9V19C20 20.66 18.66 22 17 22H7C5.34 22 4 20.66 4 19V6ZM4 6V5" stroke="currentColor" stroke-linejoin="round"/><path d="M9 13A3 3 0 1 0 15 13A3 3 0 1 0 9 13Z" stroke="currentColor"/><path d="M18 6H5.07C4.48 6 4 5.52 4 4.93C4 4.4 4.39 3.94 4.92 3.87L15.72 2.33C16.92 2.15 18 3.09 18 4.31V6Z" stroke="currentColor" stroke-linejoin="round"/><path d="M10 19H14" stroke="currentColor" stroke-linecap="round"/>',passport:'<path d="M4 6H17C18.66 6 20 7.34 20 9V19C20 20.66 18.66 22 17 22H7C5.34 22 4 20.66 4 19V6ZM4 6V5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 13A3 3 0 1 1 9 13A3 3 0 1 1 15 13Z" stroke="currentColor" stroke-linecap="round"/><path d="M18 6H5.07C4.48 6 4 5.52 4 4.93C4 4.4 4.39 3.94 4.92 3.87L15.72 2.33C16.92 2.15 18 3.09 18 4.31V6Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M10 19H14" stroke="currentColor" stroke-linecap="round"/>',delivery:'<path d="M15.58 3.38L17.58 4.43C19.73 5.56 20.81 6.13 21.4 7.14C22 8.15 22 9.42 22 11.94V12.06C22 14.58 22 15.85 21.4 16.86C20.81 17.87 19.73 18.44 17.58 19.57L15.58 20.62C13.82 21.54 12.94 22 12 22C11.06 22 10.18 21.54 8.42 20.62L6.42 19.57C4.27 18.44 3.19 17.87 2.6 16.86C2 15.85 2 14.58 2 12.06V11.94C2 9.42 2 8.15 2.6 7.14C3.19 6.13 4.27 5.56 6.42 4.43L8.42 3.38C10.18 2.46 11.06 2 12 2C12.94 2 13.82 2.46 15.58 3.38Z" stroke="currentColor" stroke-linecap="round"/><path d="M21 7.5L17 9.5M12 12L3 7.5M12 12V21.5M12 12C12 12 14.74 10.63 16.5 9.75C16.7 9.65 17 9.5 17 9.5M17 9.5V13M17 9.5L7.5 4.5" stroke="currentColor" stroke-linecap="round"/>',cart:'<path d="M7.5 18C8.33 18 9 18.67 9 19.5C9 20.33 8.33 21 7.5 21C6.67 21 6 20.33 6 19.5C6 18.67 6.67 18 7.5 18Z" stroke="currentColor"/><path d="M16.5 18C17.33 18 18 18.67 18 19.5C18 20.33 17.33 21 16.5 21C15.67 21 15 20.33 15 19.5C15 18.67 15.67 18 16.5 18Z" stroke="currentColor"/><path d="M2 3L2.26 3.09C3.56 3.55 4.21 3.78 4.59 4.32C4.96 4.87 4.96 5.59 4.96 7.04V9.76C4.96 12.7 5.02 13.67 5.89 14.59C6.75 15.5 8.15 15.5 10.94 15.5H16.24C17.8 15.5 18.58 15.5 19.13 15.05C19.69 14.6 19.84 13.84 20.16 12.31L20.66 9.88C21 8.14 21.18 7.27 20.73 6.7C20.29 6.12 18.77 6.12 17.09 6.12H4.96" stroke="currentColor" stroke-linecap="round"/>',product:'<path d="M3.79 12.03C4.33 9.34 4.6 8 5.49 7.14C5.65 6.98 5.83 6.83 6.02 6.7C7.04 6 8.41 6 11.15 6H12.85C15.59 6 16.96 6 17.98 6.7C18.17 6.83 18.35 6.98 18.51 7.14C19.4 8 19.67 9.34 20.21 12.03C20.98 15.89 21.36 17.81 20.48 19.18C20.31 19.43 20.13 19.66 19.92 19.86C18.75 21 16.78 21 12.85 21H11.15C7.22 21 5.25 21 4.08 19.86C3.87 19.66 3.69 19.43 3.53 19.18C2.64 17.81 3.02 15.89 3.79 12.03Z" stroke="currentColor"/><path d="M9 6V5C9 3.34 10.34 2 12 2C13.66 2 15 3.34 15 5V6" stroke="currentColor" stroke-linecap="round"/><path d="M9 9H9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 9H15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>',globe:'<path d="M22 12C22 13.31 21.74 14.61 21.24 15.83C20.74 17.04 20 18.14 19.07 19.07C18.14 20 17.04 20.74 15.83 21.24C14.61 21.74 13.31 22 12 22C10.69 22 9.39 21.74 8.17 21.24C6.96 20.74 5.86 20 4.93 19.07C4 18.14 3.26 17.04 2.76 15.83C2.26 14.61 2 13.31 2 12C2 10.69 2.26 9.39 2.76 8.17C3.26 6.96 4 5.86 4.93 4.93C5.86 4 6.96 3.26 8.17 2.76C9.39 2.26 10.69 2 12 2C13.31 2 14.61 2.26 15.83 2.76C17.04 3.26 18.14 4 19.07 4.93C20 5.86 20.74 6.96 21.24 8.17C21.74 9.39 22 10.69 22 12L22 12Z" stroke="currentColor"/><path d="M16 12C16 13.31 15.9 14.61 15.7 15.83C15.49 17.04 15.2 18.14 14.83 19.07C14.46 20 14.02 20.74 13.53 21.24C13.05 21.74 12.53 22 12 22C11.47 22 10.95 21.74 10.47 21.24C9.98 20.74 9.54 20 9.17 19.07C8.8 18.14 8.51 17.04 8.3 15.83C8.1 14.61 8 13.31 8 12C8 10.69 8.1 9.39 8.3 8.17C8.51 6.96 8.8 5.86 9.17 4.93C9.54 4 9.98 3.26 10.47 2.76C10.95 2.26 11.47 2 12 2C12.53 2 13.05 2.26 13.53 2.76C14.02 3.26 14.46 4 14.83 4.93C15.2 5.86 15.49 6.96 15.7 8.17C15.9 9.39 16 10.69 16 12L16 12Z" stroke="currentColor"/><path d="M2 12H22" stroke="currentColor" stroke-linecap="round"/>',location:'<path d="M4 10.14C4 5.65 7.58 2 12 2C16.42 2 20 5.65 20 10.14C20 14.61 17.45 19.81 13.46 21.67C12.53 22.11 11.47 22.11 10.54 21.67C6.55 19.81 4 14.61 4 10.14Z" stroke="currentColor"/><path d="M9 10A3 3 0 1 0 15 10A3 3 0 1 0 9 10Z" stroke="currentColor"/>',calendar:'<path d="M2 12C2 8.23 2 6.34 3.17 5.17C4.34 4 6.23 4 10 4H14C17.77 4 19.66 4 20.83 5.17C22 6.34 22 8.23 22 12V14C22 17.77 22 19.66 20.83 20.83C19.66 22 17.77 22 14 22H10C6.23 22 4.34 22 3.17 20.83C2 19.66 2 17.77 2 14V12Z" stroke="currentColor"/><path d="M7 4V2.5" stroke="currentColor" stroke-linecap="round"/><path d="M17 4V2.5" stroke="currentColor" stroke-linecap="round"/><path d="M2.5 9H21.5" stroke="currentColor" stroke-linecap="round"/><path d="M17 13H17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 13H12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M7 13H7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M17 17.02H17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 17.02H12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M7 17.02H7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>',award:'<path d="M6 9A6 6 0 1 0 18 9A6 6 0 1 0 6 9Z" stroke="currentColor"/><path d="M9.75 9A2.25 2.25 0 1 0 14.25 9A2.25 2.25 0 1 0 9.75 9Z" stroke="currentColor"/><path d="M8.5 13.9L7 21L12 18.5L17 21L15.5 13.9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>',receipt:'<path d="M16.75 2H7.25C6.09 2 5.51 2 5.04 2.16C4.15 2.47 3.46 3.19 3.16 4.1C3 4.58 3 5.18 3 6.37V20.37C3 21.23 3.98 21.69 4.61 21.12C4.97 20.78 5.53 20.78 5.89 21.12L6.38 21.56C7.02 22.15 7.98 22.15 8.63 21.56C9.27 20.97 10.23 20.97 10.88 21.56C11.52 22.15 12.48 22.15 13.13 21.56C13.77 20.97 14.73 20.97 15.38 21.56C16.02 22.15 16.98 22.15 17.63 21.56L18.11 21.12C18.47 20.78 19.03 20.78 19.39 21.12C20.02 21.69 21 21.23 21 20.37V6.37C21 5.18 21 4.58 20.84 4.1C20.54 3.19 19.85 2.47 18.96 2.16C18.49 2 17.91 2 16.75 2Z" stroke="currentColor"/><path d="M10.5 11L17 11" stroke="currentColor" stroke-linecap="round"/><path d="M7 11H7.5" stroke="currentColor" stroke-linecap="round"/><path d="M7 7.5H7.5" stroke="currentColor" stroke-linecap="round"/><path d="M7 14.5H7.5" stroke="currentColor" stroke-linecap="round"/><path d="M10.5 7.5H17" stroke="currentColor" stroke-linecap="round"/><path d="M10.5 14.5H17" stroke="currentColor" stroke-linecap="round"/>',key:'<path d="M8.86 19.33L7.62 20.57C7.3 20.88 6.86 21.04 6.41 20.99L4.32 20.76C4.1 20.73 3.89 20.63 3.73 20.48L3.52 20.27C3.37 20.11 3.27 19.9 3.24 19.68L3.01 17.59C2.96 17.14 3.12 16.7 3.43 16.38L7.15 12.67C7.41 12.4 7.5 12 7.4 11.63C6.82 9.34 7.42 6.81 9.21 5.02C11.91 2.33 16.28 2.33 18.98 5.02C21.67 7.72 21.67 12.09 18.98 14.79C17.19 16.58 14.66 17.18 12.37 16.6C12 16.5 11.6 16.58 11.33 16.85L8.86 19.33ZM8.86 19.33L7.11 17.6M12.59 8.59C13.37 7.8 14.63 7.8 15.41 8.59C16.2 9.37 16.2 10.63 15.41 11.41C14.63 12.2 13.37 12.2 12.59 11.41C11.8 10.63 11.8 9.37 12.59 8.59Z" stroke="currentColor" stroke-linecap="round"/>',devices:'<path d="M4 10C4 6.23 4 4.34 5.17 3.17C6.34 2 8.23 2 12 2C15.77 2 17.66 2 18.83 3.17C20 4.34 20 6.23 20 10V14C20 17.77 20 19.66 18.83 20.83C17.66 22 15.77 22 12 22C8.23 22 6.34 22 5.17 20.83C4 19.66 4 17.77 4 14V10Z" stroke="currentColor"/><path d="M15 19H9" stroke="currentColor" stroke-linecap="round"/>',support:'<path d="M12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2C6.48 2 2 6.48 2 12C2 13.6 2.38 15.11 3.04 16.45C3.22 16.81 3.28 17.22 3.18 17.6L2.58 19.83C2.32 20.79 3.21 21.68 4.17 21.42L6.4 20.82C6.78 20.72 7.19 20.78 7.55 20.96C8.89 21.62 10.4 22 12 22Z" stroke="currentColor"/><path d="M8 10.5H16" stroke="currentColor" stroke-linecap="round"/><path d="M8 14H13.5" stroke="currentColor" stroke-linecap="round"/>'};export{r as FORM_OPTION_ICON_PATHS};