@preply/ds-docs 3.1.1-beta.b0da64e44680627847663be4d78ebeebea8c6944.0 → 3.2.0
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/dist/assets/{00.LayoutFlex.stories-DkJ1Fct8.js → 00.LayoutFlex.stories-BkR5ji0l.js} +1 -1
- package/dist/assets/{00.applications-DafzJmd1.js → 00.applications-CsSmOme7.js} +1 -1
- package/dist/assets/{00.favicons.guide-brvegHPR.js → 00.favicons.guide-CdMYZlBh.js} +1 -1
- package/dist/assets/{00.token-explorer-NZgPJYgK.js → 00.token-explorer-CjKex2U0.js} +1 -1
- package/dist/assets/{00.using-responsive-props-BtIgzDL1.js → 00.using-responsive-props-CcMEjhk_.js} +1 -1
- package/dist/assets/{01.semantic-tokens-Cxg5O7jx.js → 01.semantic-tokens-D0SHoPNF.js} +1 -1
- package/dist/assets/{01.using-shorthand-props-C6ZNaf9k.js → 01.using-shorthand-props-DajODbNP.js} +1 -1
- package/dist/assets/10.Combinations.stories-Lbp_HuL_.js +144 -0
- package/dist/assets/{10.fonts.guide-BhCFCZBy.js → 10.fonts.guide-Ci1lcaYe.js} +1 -1
- package/dist/assets/{10.ssr-CETLnXz1.js → 10.ssr-DRWPPBeA.js} +1 -1
- package/dist/assets/{11.languageFont.explorer-Bc-g6XOq.js → 11.languageFont.explorer-D69j1geT.js} +29 -1
- package/dist/assets/{11.ssr.app-router-m2a2--0f.js → 11.ssr.app-router-DbPFodKU.js} +1 -1
- package/dist/assets/{20.libraries-CNNM7ENy.js → 20.libraries-KJ42tJQ9.js} +1 -1
- package/dist/assets/30.icons.explorer-Bk9N8wz6.js +73 -0
- package/dist/assets/{30.storybook-BVWKWFVN.js → 30.storybook-BNO20NWw.js} +1 -1
- package/dist/assets/{40.illustrations.explorer-qWSryWlk.js → 40.illustrations.explorer-Br4DiOY6.js} +1 -1
- package/dist/assets/{90.advanced-DvRy2sIG.js → 90.advanced-DaM2nGQV.js} +1 -1
- package/dist/assets/{Accordion-_oiPELIS.js → Accordion-CVZIOGNR.js} +1 -1
- package/dist/assets/{Accordion.stories-DW84iZId.js → Accordion.stories-CDnrzRXF.js} +1 -1
- package/dist/assets/{Accordion.tests.stories-HLUGZQBK.js → Accordion.tests.stories-czfo_KnK.js} +1 -1
- package/dist/assets/{AlertDialog.stories-CEKRc6cm.js → AlertDialog.stories-DUXRauPW.js} +1 -1
- package/dist/assets/{Avatar-D6BKQVaH.js → Avatar--Me1wFbM.js} +1 -1
- package/dist/assets/{Avatar-BkCAqOuF.js → Avatar-CECssVR9.js} +1 -1
- package/dist/assets/{Avatar.stories-DnjfAeSV.js → Avatar.stories-BsZPilds.js} +1 -1
- package/dist/assets/{AvatarWithStatus.stories-CocgTI5A.js → AvatarWithStatus.stories-Dh-_hU9Y.js} +1 -1
- package/dist/assets/{Badge.stories-Cx4CCSPq.js → Badge.stories-CFsXbV77.js} +1 -1
- package/dist/assets/{Box.stories-DsaKJbMG.js → Box.stories-IALze5eG.js} +1 -1
- package/dist/assets/{Button-CcY3QSgD.js → Button-ChyBn4PU.js} +2 -2
- package/dist/assets/{Button-klA2GCDX.js → Button-DWeSlYg5.js} +1 -1
- package/dist/assets/{Button.stories-CdendaHV.js → Button.stories-DJehWudj.js} +1 -1
- package/dist/assets/ButtonBase-CoNMqmsd.js +8 -0
- package/dist/assets/{Checkbox-DH5o6aup.js → Checkbox-CwZfp4fM.js} +2 -2
- package/dist/assets/{Checkbox.stories-sHbc4DyM.js → Checkbox.stories-BrO5VXvh.js} +1 -1
- package/dist/assets/{Checkbox.tests.stories-DX5vQTZm.js → Checkbox.tests.stories-CdUfdIiC.js} +1 -1
- package/dist/assets/{Chips.stories-BencIUny.js → Chips.stories-C3XJafXG.js} +1 -1
- package/dist/assets/{Color-YHDXOIA2-XZioejW2.js → Color-YHDXOIA2-dwipIw3c.js} +1 -1
- package/dist/assets/{Dialog.stories-Cf4RM2h2.js → Dialog.stories-D-J1dU3y.js} +2 -2
- package/dist/assets/{DocsRenderer-CFRXHY34-CerFBhAM.js → DocsRenderer-CFRXHY34-jqHePYZK.js} +1 -1
- package/dist/assets/{FieldButton-xxvyfVcj.js → FieldButton-Dprr9FF4.js} +1 -1
- package/dist/assets/{FieldButton.stories-1kY40W8X.js → FieldButton.stories-BuA4NyAH.js} +1 -1
- package/dist/assets/FormControl-V3kzTeDQ.js +7 -0
- package/dist/assets/FormControl.stories-BPAavujL.js +67 -0
- package/dist/assets/{Heading-sy1TMpjs.js → Heading-CCe1-9kC.js} +2 -2
- package/dist/assets/{Heading.stories-mFaQtYkx.js → Heading.stories-CyJWtiYM.js} +1 -1
- package/dist/assets/{Icon-zcBK8bUG.js → Icon-Clsj4XP8.js} +1 -1
- package/dist/assets/{Icon-DLiSwEfT.js → Icon-Cx1Om39U.js} +2 -2
- package/dist/assets/{Icon-RSC-DR17Q0N5.js → Icon-RSC-BrBOjBRF.js} +1 -1
- package/dist/assets/{Icon.stories-C98JIL87.js → Icon.stories-Batx6hcA.js} +1 -1
- package/dist/assets/IconButton-BlfJEn0q.js +8 -0
- package/dist/assets/{Input-Br6FM_ov.js → Input-DCIPe0x3.js} +7 -7
- package/dist/assets/InputContainer-Dq1Ks471.css +1 -0
- package/dist/assets/{IntegrationWithReactHookForm.stories-CjkAXxSi.js → IntegrationWithReactHookForm.stories-CehSEL8O.js} +1 -1
- package/dist/assets/{LayoutFlex-CDxj6nng.js → LayoutFlex-B8VATmiE.js} +1 -1
- package/dist/assets/{LayoutFlex-DsiZkqdg.js → LayoutFlex-Dp29ojjO.js} +1 -1
- package/dist/assets/LayoutFlexItem-D4lQfjMe.js +1 -0
- package/dist/assets/{LayoutGrid-6cTmb1jX.js → LayoutGrid-D9R6yTYX.js} +1 -1
- package/dist/assets/LayoutGrid-mQT2ikS8.css +1 -0
- package/dist/assets/LayoutGrid.stories-sBnmfXCQ.js +88 -0
- package/dist/assets/{LayoutGridItem-CVWVBh65.js → LayoutGridItem-B1eMKElL.js} +1 -1
- package/dist/assets/{Link.stories-DQM626ga.js → Link.stories-B08wLvpb.js} +1 -1
- package/dist/assets/{Loader.stories-CFBO-7A0.js → Loader.stories-C_wKZjOn.js} +1 -1
- package/dist/assets/NumberField-BS6zPFP5.js +6 -0
- package/dist/assets/{NumberField.stories-BvnypoI2.js → NumberField.stories-UOD1p45h.js} +7 -7
- package/dist/assets/{ObserveIntersection-QIlV9twe.js → ObserveIntersection-XIPHNpKf.js} +2 -2
- package/dist/assets/{ObserveIntersection.stories-BnaX-I6k.js → ObserveIntersection.stories-B_5fq2at.js} +1 -1
- package/dist/assets/{OnboardingTooltip-Drdxs-mL.js → OnboardingTooltip-CRciFvQd.js} +1 -1
- package/dist/assets/{OnboardingTooltip.stories-BalK-N-K.js → OnboardingTooltip.stories-B5dnjHfH.js} +1 -1
- package/dist/assets/{OnboardingTooltip.tests.stories-tVOg5MTR.js → OnboardingTooltip.tests.stories-CYdt5iT_.js} +1 -1
- package/dist/assets/{OnboardingTour-CHuPsA7n.js → OnboardingTour-C5J-Ko8C.js} +1 -1
- package/dist/assets/{OnboardingTour.stories-DU1CbGJb.js → OnboardingTour.stories-BiD_KX4W.js} +1 -1
- package/dist/assets/{OnboardingTour.tests.stories-C7a8Rmsv.js → OnboardingTour.tests.stories-mkgl6osQ.js} +1 -1
- package/dist/assets/PasswordField-EYDyw279.js +6 -0
- package/dist/assets/{PasswordField.stories-DePlhGin.js → PasswordField.stories-5PvQB5F3.js} +7 -7
- package/dist/assets/{PreplyLogo.stories-CxkodPun.js → PreplyLogo.stories-WWHnC28y.js} +2 -2
- package/dist/assets/{ProgressBar.stories-CvN4M4Mq.js → ProgressBar.stories-C4EKriYQ.js} +1 -1
- package/dist/assets/{ProgressSteps-CuGX9_Fy.js → ProgressSteps-ByDec2fC.js} +1 -1
- package/dist/assets/{ProgressSteps.stories-CPDR8zsn.js → ProgressSteps.stories-Mm9AyIKU.js} +1 -1
- package/dist/assets/{SelectField-DjLknbw4.js → SelectField-C0H4vwVQ.js} +12 -10
- package/dist/assets/{SelectField.stories-CWLAqY36.js → SelectField.stories-C4cQhsE9.js} +8 -8
- package/dist/assets/{ShowOnIntersection.stories-BeGWC-Z4.js → ShowOnIntersection.stories-CewFYwQu.js} +1 -1
- package/dist/assets/{Steps-LOo3xjBg.js → Steps-CX5urpe2.js} +1 -1
- package/dist/assets/{Steps.stories-DHdbOtvE.js → Steps.stories-agJ1P7Uc.js} +1 -1
- package/dist/assets/{Text-CH4wZQv6.js → Text-DmTAIIVj.js} +1 -1
- package/dist/assets/{Text.stories-DcJ53GNv.js → Text.stories-BG1P5AxU.js} +1 -1
- package/dist/assets/TextField-BAC0NZKU.js +6 -0
- package/dist/assets/TextField-D2GlsmWF.css +1 -0
- package/dist/assets/TextField-sLGry01P.js +1 -0
- package/dist/assets/{TextField.stories-DqDKfEbc.js → TextField.stories-DTmdRXTS.js} +8 -8
- package/dist/assets/{TextHighlighted-B7-aMGmA.js → TextHighlighted-CfvNH8PY.js} +1 -1
- package/dist/assets/{TextHighlighted.stories-DOQ3Cny3.js → TextHighlighted.stories-PV3yANaI.js} +1 -1
- package/dist/assets/{TextInline.stories-Db7MLcaa.js → TextInline.stories-DOhaF8wL.js} +1 -1
- package/dist/assets/{TextareaField-CXN-lN3Y.js → TextareaField-DdG6sVbG.js} +12 -10
- package/dist/assets/{TextareaField.stories-BPG4HgXb.js → TextareaField.stories-BGuKT2xQ.js} +8 -8
- package/dist/assets/{Toast.stories-Cb8tqWaO.js → Toast.stories-BeSJa7YF.js} +1 -1
- package/dist/assets/TokyoUIUpload-Bi3CuQzX.js +1 -0
- package/dist/assets/{Tooltip-hS-9HVfR.js → Tooltip-DYI-etfB.js} +1 -1
- package/dist/assets/{Tooltip.stories-DwcA4Tb6.js → Tooltip.stories-CxCj-ob2.js} +1 -1
- package/dist/assets/{Tooltip.tests.stories-DRBWtsl0.js → Tooltip.tests.stories-DjfeI8dX.js} +1 -1
- package/dist/assets/{breakpoints-_MTj6Tgh.js → breakpoints-B8uQp7_c.js} +1 -1
- package/dist/assets/{breakpoints-17pQbwrA.js → breakpoints-BbJx-zj1.js} +1 -1
- package/dist/assets/{breakpoints-ZcizX0pH.js → breakpoints-g7x119Q2.js} +1 -1
- package/dist/assets/{changelog-C38tZgD3.js → changelog-hhVEuRrF.js} +217 -205
- package/dist/assets/componentNames-Ba2ybP0W.js +1 -0
- package/dist/assets/{entry-preview-pq7Z7DEg.js → entry-preview-CQO5ZPIS.js} +1 -1
- package/dist/assets/{getTokenVar-CStyxwr3.js → getTokenVar-Ca9O7hDT.js} +1 -1
- package/dist/assets/{hover-BqprrboH.js → hover-BIh3LiSt.js} +1 -1
- package/dist/assets/{hover-C_XsDK4s.js → hover-GlkvVhX_.js} +1 -1
- package/dist/assets/{hover-CrxTgoLG.js → hover-NEm4I90j.js} +1 -1
- package/dist/assets/{iframe-BMnDNOZI.js → iframe-BoWsIu37.js} +2 -2
- package/dist/assets/{index-D2GTvH-Y.js → index-BWgFdnbj.js} +1 -1
- package/dist/assets/{index-yZrUxwWw.js → index-D6soH6D2.js} +3 -3
- package/dist/assets/{intro-CgRaz0NU.js → intro-DXHLrAaZ.js} +1 -1
- package/dist/assets/layout-relative-BpJIh3YK.js +1 -0
- package/dist/assets/{migrating-from-less-DSoSpfnJ.js → migrating-from-less-BmDjZBkA.js} +1 -1
- package/dist/assets/{playground-DBdZFxjC.css → playground-CCc6VR51.css} +1 -1
- package/dist/assets/{playground.stories-C-Sl-AMj.js → playground.stories-BMZQjPeS.js} +166 -166
- package/dist/assets/{preview-3wk0ugl8.js → preview-BP4TQFMI.js} +2 -2
- package/dist/assets/{preview-B_L7GhCJ.js → preview-CvZJdcB8.js} +1 -1
- package/dist/assets/{preview-DkQEncOB.js → preview-WXHEkGbd.js} +1 -1
- package/dist/assets/{tokens-uKFcWV14.js → tokens-CORgYdv_.js} +1 -1
- package/dist/assets/{tokens-DgTNh4rN.js → tokens-Dnw7r4iA.js} +1 -1
- package/dist/assets/{tokens-DXy5hgn5.js → tokens-ZvFzTwDp.js} +1 -1
- package/dist/assets/{tokens-Cy39NJA5.js → tokens-iVbEaxzw.js} +1 -1
- package/dist/assets/{usePortalElement-VI40uldV.js → usePortalElement-U5qKyOsX.js} +1 -1
- package/dist/assets/{welcome-DPhQTv2R.js → welcome-CChXvwAY.js} +1 -1
- package/dist/assets/{zeroheight-DbqVK-Vl.js → zeroheight-C-BxWtDD.js} +1 -1
- package/dist/iframe.html +1 -1
- package/dist/index.json +1 -1
- package/dist/preview-stats.json +1167 -1263
- package/dist/project.json +1 -1
- package/package.json +3 -3
- package/dist/assets/10.Combinations.stories-DptYuvtA.js +0 -144
- package/dist/assets/30.icons.explorer-DxZiwHrt.js +0 -73
- package/dist/assets/ButtonBase-CiON5Gq9.js +0 -8
- package/dist/assets/CountryFlag-p-8M_k5M.css +0 -1
- package/dist/assets/CountryFlag-ps90L8eN.js +0 -49
- package/dist/assets/Flag.stories-DEKGHg3O.js +0 -90
- package/dist/assets/Flag.test.stories-k_dwOPsD.js +0 -27
- package/dist/assets/FormControl-DD3JEwg1.js +0 -5
- package/dist/assets/FormControl.stories-DoVURnEB.js +0 -46
- package/dist/assets/IconButton-BnLs_P5O.js +0 -8
- package/dist/assets/InputContainer-DNEgpOcG.css +0 -1
- package/dist/assets/LayoutFlexItem-DcbU1Wtg.js +0 -1
- package/dist/assets/LayoutGrid.stories-Dvap6nXA.js +0 -88
- package/dist/assets/LayoutGridItem-DczUihq7.js +0 -1
- package/dist/assets/LayoutGridItem-Dy4Q8woN.css +0 -1
- package/dist/assets/NumberField-DtZiz9gx.js +0 -4
- package/dist/assets/PasswordField-DmJwowu1.js +0 -4
- package/dist/assets/TextField-872WjatY.js +0 -1
- package/dist/assets/TextField-CErKn01e.js +0 -4
- package/dist/assets/TextField-DdvdZqgn.css +0 -1
- package/dist/assets/align-self-BM6l9H5Z.js +0 -1
- package/dist/assets/componentNames-CVVyamkx.js +0 -1
- /package/dist/assets/{InputContainer-C1TOTxt4.js → InputContainer-Bk0tgFnW.js} +0 -0
- /package/dist/assets/{align-self-C4ATemga.css → layout-relative-C4ATemga.css} +0 -0
@@ -1,8 +1,8 @@
|
|
1
|
-
import{j as l}from"./jsx-runtime-BYouaCF_.js";import{r as c}from"./index-B3evPFBL.js";import{I as m,s as g}from"./InputContainer-
|
2
|
-
For internal use only.`,displayName:"Input",props:{accept:{defaultValue:null,description:"",name:"accept",required:!1,type:{name:"enum",value:[{value:"string"}]}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoComplete:{defaultValue:null,description:"",name:"autoComplete",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"name"'},{value:'"off"'},{value:'"on"'},{value:"string & {}"},{value:'"tel"'},{value:'"email"'},{value:'"username"'},{value:'"new-password"'},{value:'"current-password"'},{value:'"additional-name"'},{value:'"address-level1"'},{value:'"address-level2"'},{value:'"address-level3"'},{value:'"address-level4"'},{value:'"address-line1"'},{value:'"address-line2"'},{value:'"address-line3"'},{value:'"bday-day"'},{value:'"bday-month"'},{value:'"bday-year"'},{value:'"cc-csc"'},{value:'"cc-exp"'},{value:'"cc-exp-month"'},{value:'"cc-exp-year"'},{value:'"cc-family-name"'},{value:'"cc-given-name"'},{value:'"cc-name"'},{value:'"cc-number"'},{value:'"cc-type"'},{value:'"country"'},{value:'"country-name"'},{value:'"family-name"'},{value:'"given-name"'},{value:'"honorific-prefix"'},{value:'"honorific-suffix"'},{value:'"one-time-code"'},{value:'"organization"'},{value:'"postal-code"'},{value:'"street-address"'},{value:'"transaction-amount"'},{value:'"transaction-currency"'},{value:'"tel-area-code"'},{value:'"tel-country-code"'},{value:'"tel-extension"'},{value:'"tel-local"'},{value:'"tel-local-prefix"'},{value:'"tel-local-suffix"'},{value:'"tel-national"'},{value:'"home tel"'},{value:'"home email"'},{value:'"home tel-area-code"'},{value:'"home tel-country-code"'},{value:'"home tel-extension"'},{value:'"home tel-local"'},{value:'"home tel-local-prefix"'},{value:'"home tel-local-suffix"'},{value:'"home tel-national"'},{value:'"mobile tel"'},{value:'"mobile email"'},{value:'"mobile tel-area-code"'},{value:'"mobile tel-country-code"'},{value:'"mobile tel-extension"'},{value:'"mobile tel-local"'},{value:'"mobile tel-local-prefix"'},{value:'"mobile tel-local-suffix"'},{value:'"mobile tel-national"'},{value:'"work tel"'},{value:'"work email"'},{value:'"work tel-area-code"'},{value:'"work tel-country-code"'},{value:'"work tel-extension"'},{value:'"work tel-local"'},{value:'"work tel-local-prefix"'},{value:'"work tel-local-suffix"'},{value:'"work tel-national"'},{value:'"name webauthn"'},{value:'"username webauthn"'},{value:'"new-password webauthn"'},{value:'"current-password webauthn"'},{value:'"additional-name webauthn"'},{value:'"address-level1 webauthn"'},{value:'"address-level2 webauthn"'},{value:'"address-level3 webauthn"'},{value:'"address-level4 webauthn"'},{value:'"address-line1 webauthn"'},{value:'"address-line2 webauthn"'},{value:'"address-line3 webauthn"'},{value:'"bday-day webauthn"'},{value:'"bday-month webauthn"'},{value:'"bday-year webauthn"'},{value:'"cc-csc webauthn"'},{value:'"cc-exp webauthn"'},{value:'"cc-exp-month webauthn"'},{value:'"cc-exp-year webauthn"'},{value:'"cc-family-name webauthn"'},{value:'"cc-given-name webauthn"'},{value:'"cc-name webauthn"'},{value:'"cc-number webauthn"'},{value:'"cc-type webauthn"'},{value:'"country webauthn"'},{value:'"country-name webauthn"'},{value:'"family-name webauthn"'},{value:'"given-name webauthn"'},{value:'"honorific-prefix webauthn"'},{value:'"honorific-suffix webauthn"'},{value:'"one-time-code webauthn"'},{value:'"organization webauthn"'},{value:'"postal-code webauthn"'},{value:'"street-address webauthn"'},{value:'"transaction-amount webauthn"'},{value:'"transaction-currency webauthn"'},{value:'"tel webauthn"'},{value:'"email webauthn"'},{value:'"tel-area-code webauthn"'},{value:'"tel-country-code webauthn"'},{value:'"tel-extension webauthn"'},{value:'"tel-local webauthn"'},{value:'"tel-local-prefix webauthn"'},{value:'"tel-local-suffix webauthn"'},{value:'"tel-national webauthn"'},{value:'"home tel webauthn"'},{value:'"home email webauthn"'},{value:'"home tel-area-code webauthn"'},{value:'"home tel-country-code webauthn"'},{value:'"home tel-extension webauthn"'},{value:'"home tel-local webauthn"'},{value:'"home tel-local-prefix webauthn"'},{value:'"home tel-local-suffix webauthn"'},{value:'"home tel-national webauthn"'},{value:'"mobile tel webauthn"'},{value:'"mobile email webauthn"'},{value:'"mobile tel-area-code webauthn"'},{value:'"mobile tel-country-code webauthn"'},{value:'"mobile tel-extension webauthn"'},{value:'"mobile tel-local webauthn"'},{value:'"mobile tel-local-prefix webauthn"'},{value:'"mobile tel-local-suffix webauthn"'},{value:'"mobile tel-national webauthn"'},{value:'"work tel webauthn"'},{value:'"work email webauthn"'},{value:'"work tel-area-code webauthn"'},{value:'"work tel-country-code webauthn"'},{value:'"work tel-extension webauthn"'},{value:'"work tel-local webauthn"'},{value:'"work tel-local-prefix webauthn"'},{value:'"work tel-local-suffix webauthn"'},{value:'"work tel-national webauthn"'},{value:'"billing name"'},{value:'"billing name webauthn"'},{value:'"billing username"'},{value:'"billing username webauthn"'},{value:'"billing new-password"'},{value:'"billing new-password webauthn"'},{value:'"billing current-password"'},{value:'"billing current-password webauthn"'},{value:'"billing additional-name"'},{value:'"billing additional-name webauthn"'},{value:'"billing address-level1"'},{value:'"billing address-level1 webauthn"'},{value:'"billing address-level2"'},{value:'"billing address-level2 webauthn"'},{value:'"billing address-level3"'},{value:'"billing address-level3 webauthn"'},{value:'"billing address-level4"'},{value:'"billing address-level4 webauthn"'},{value:'"billing address-line1"'},{value:'"billing address-line1 webauthn"'},{value:'"billing address-line2"'},{value:'"billing address-line2 webauthn"'},{value:'"billing address-line3"'},{value:'"billing address-line3 webauthn"'},{value:'"billing bday-day"'},{value:'"billing bday-day webauthn"'},{value:'"billing bday-month"'},{value:'"billing bday-month webauthn"'},{value:'"billing bday-year"'},{value:'"billing bday-year webauthn"'},{value:'"billing cc-csc"'},{value:'"billing cc-csc webauthn"'},{value:'"billing cc-exp"'},{value:'"billing cc-exp webauthn"'},{value:'"billing cc-exp-month"'},{value:'"billing cc-exp-month webauthn"'},{value:'"billing cc-exp-year"'},{value:'"billing cc-exp-year webauthn"'},{value:'"billing cc-family-name"'},{value:'"billing cc-family-name webauthn"'},{value:'"billing cc-given-name"'},{value:'"billing cc-given-name webauthn"'},{value:'"billing cc-name"'},{value:'"billing cc-name webauthn"'},{value:'"billing cc-number"'},{value:'"billing cc-number webauthn"'},{value:'"billing cc-type"'},{value:'"billing cc-type webauthn"'},{value:'"billing country"'},{value:'"billing country webauthn"'},{value:'"billing country-name"'},{value:'"billing country-name webauthn"'},{value:'"billing family-name"'},{value:'"billing family-name webauthn"'},{value:'"billing given-name"'},{value:'"billing given-name webauthn"'},{value:'"billing honorific-prefix"'},{value:'"billing honorific-prefix webauthn"'},{value:'"billing honorific-suffix"'},{value:'"billing honorific-suffix webauthn"'},{value:'"billing one-time-code"'},{value:'"billing one-time-code webauthn"'},{value:'"billing organization"'},{value:'"billing organization webauthn"'},{value:'"billing postal-code"'},{value:'"billing postal-code webauthn"'},{value:'"billing street-address"'},{value:'"billing street-address webauthn"'},{value:'"billing transaction-amount"'},{value:'"billing transaction-amount webauthn"'},{value:'"billing transaction-currency"'},{value:'"billing transaction-currency webauthn"'},{value:'"billing tel"'},{value:'"billing tel webauthn"'},{value:'"billing email"'},{value:'"billing email webauthn"'},{value:'"billing tel-area-code"'},{value:'"billing tel-area-code webauthn"'},{value:'"billing tel-country-code"'},{value:'"billing tel-country-code webauthn"'},{value:'"billing tel-extension"'},{value:'"billing tel-extension webauthn"'},{value:'"billing tel-local"'},{value:'"billing tel-local webauthn"'},{value:'"billing tel-local-prefix"'},{value:'"billing tel-local-prefix webauthn"'},{value:'"billing tel-local-suffix"'},{value:'"billing tel-local-suffix webauthn"'},{value:'"billing tel-national"'},{value:'"billing tel-national webauthn"'},{value:'"billing home tel"'},{value:'"billing home tel webauthn"'},{value:'"billing home email"'},{value:'"billing home email webauthn"'},{value:'"billing home tel-area-code"'},{value:'"billing home tel-area-code webauthn"'},{value:'"billing home tel-country-code"'},{value:'"billing home tel-country-code webauthn"'},{value:'"billing home tel-extension"'},{value:'"billing home tel-extension webauthn"'},{value:'"billing home tel-local"'},{value:'"billing home tel-local webauthn"'},{value:'"billing home tel-local-prefix"'},{value:'"billing home tel-local-prefix webauthn"'},{value:'"billing home tel-local-suffix"'},{value:'"billing home tel-local-suffix webauthn"'},{value:'"billing home tel-national"'},{value:'"billing home tel-national webauthn"'},{value:'"billing mobile tel"'},{value:'"billing mobile tel webauthn"'},{value:'"billing mobile email"'},{value:'"billing mobile email webauthn"'},{value:'"billing mobile tel-area-code"'},{value:'"billing mobile tel-area-code webauthn"'},{value:'"billing mobile tel-country-code"'},{value:'"billing mobile tel-country-code webauthn"'},{value:'"billing mobile tel-extension"'},{value:'"billing mobile tel-extension webauthn"'},{value:'"billing mobile tel-local"'},{value:'"billing mobile tel-local webauthn"'},{value:'"billing mobile tel-local-prefix"'},{value:'"billing mobile tel-local-prefix webauthn"'},{value:'"billing mobile tel-local-suffix"'},{value:'"billing mobile tel-local-suffix webauthn"'},{value:'"billing mobile tel-national"'},{value:'"billing mobile tel-national webauthn"'},{value:'"billing work tel"'},{value:'"billing work tel webauthn"'},{value:'"billing work email"'},{value:'"billing work email webauthn"'},{value:'"billing work tel-area-code"'},{value:'"billing work tel-area-code webauthn"'},{value:'"billing work tel-country-code"'},{value:'"billing work tel-country-code webauthn"'},{value:'"billing work tel-extension"'},{value:'"billing work tel-extension webauthn"'},{value:'"billing work tel-local"'},{value:'"billing work tel-local webauthn"'},{value:'"billing work tel-local-prefix"'},{value:'"billing work tel-local-prefix webauthn"'},{value:'"billing work tel-local-suffix"'},{value:'"billing work tel-local-suffix webauthn"'},{value:'"billing work tel-national"'},{value:'"billing work tel-national webauthn"'},{value:'"shipping name"'},{value:'"shipping name webauthn"'},{value:'"shipping username"'},{value:'"shipping username webauthn"'},{value:'"shipping new-password"'},{value:'"shipping new-password webauthn"'},{value:'"shipping current-password"'},{value:'"shipping current-password webauthn"'},{value:'"shipping additional-name"'},{value:'"shipping additional-name webauthn"'},{value:'"shipping address-level1"'},{value:'"shipping address-level1 webauthn"'},{value:'"shipping address-level2"'},{value:'"shipping address-level2 webauthn"'},{value:'"shipping address-level3"'},{value:'"shipping address-level3 webauthn"'},{value:'"shipping address-level4"'},{value:'"shipping address-level4 webauthn"'},{value:'"shipping address-line1"'},{value:'"shipping address-line1 webauthn"'},{value:'"shipping address-line2"'},{value:'"shipping address-line2 webauthn"'},{value:'"shipping address-line3"'},{value:'"shipping address-line3 webauthn"'},{value:'"shipping bday-day"'},{value:'"shipping bday-day webauthn"'},{value:'"shipping bday-month"'},{value:'"shipping bday-month webauthn"'},{value:'"shipping bday-year"'},{value:'"shipping bday-year webauthn"'},{value:'"shipping cc-csc"'},{value:'"shipping cc-csc webauthn"'},{value:'"shipping cc-exp"'},{value:'"shipping cc-exp webauthn"'},{value:'"shipping cc-exp-month"'},{value:'"shipping cc-exp-month webauthn"'},{value:'"shipping cc-exp-year"'},{value:'"shipping cc-exp-year webauthn"'},{value:'"shipping cc-family-name"'},{value:'"shipping cc-family-name webauthn"'},{value:'"shipping cc-given-name"'},{value:'"shipping cc-given-name webauthn"'},{value:'"shipping cc-name"'},{value:'"shipping cc-name webauthn"'},{value:'"shipping cc-number"'},{value:'"shipping cc-number webauthn"'},{value:'"shipping cc-type"'},{value:'"shipping cc-type webauthn"'},{value:'"shipping country"'},{value:'"shipping country webauthn"'},{value:'"shipping country-name"'},{value:'"shipping country-name webauthn"'},{value:'"shipping family-name"'},{value:'"shipping family-name webauthn"'},{value:'"shipping given-name"'},{value:'"shipping given-name webauthn"'},{value:'"shipping honorific-prefix"'},{value:'"shipping honorific-prefix webauthn"'},{value:'"shipping honorific-suffix"'},{value:'"shipping honorific-suffix webauthn"'},{value:'"shipping one-time-code"'},{value:'"shipping one-time-code webauthn"'},{value:'"shipping organization"'},{value:'"shipping organization webauthn"'},{value:'"shipping postal-code"'},{value:'"shipping postal-code webauthn"'},{value:'"shipping street-address"'},{value:'"shipping street-address webauthn"'},{value:'"shipping transaction-amount"'},{value:'"shipping transaction-amount webauthn"'},{value:'"shipping transaction-currency"'},{value:'"shipping transaction-currency webauthn"'},{value:'"shipping tel"'},{value:'"shipping tel webauthn"'},{value:'"shipping email"'},{value:'"shipping email webauthn"'},{value:'"shipping tel-area-code"'},{value:'"shipping tel-area-code webauthn"'},{value:'"shipping tel-country-code"'},{value:'"shipping tel-country-code webauthn"'},{value:'"shipping tel-extension"'},{value:'"shipping tel-extension webauthn"'},{value:'"shipping tel-local"'},{value:'"shipping tel-local webauthn"'},{value:'"shipping tel-local-prefix"'},{value:'"shipping tel-local-prefix webauthn"'},{value:'"shipping tel-local-suffix"'},{value:'"shipping tel-local-suffix webauthn"'},{value:'"shipping tel-national"'},{value:'"shipping tel-national webauthn"'},{value:'"shipping home tel"'},{value:'"shipping home tel webauthn"'},{value:'"shipping home email"'},{value:'"shipping home email webauthn"'},{value:'"shipping home tel-area-code"'},{value:'"shipping home tel-area-code webauthn"'},{value:'"shipping home tel-country-code"'},{value:'"shipping home tel-country-code webauthn"'},{value:'"shipping home tel-extension"'},{value:'"shipping home tel-extension webauthn"'},{value:'"shipping home tel-local"'},{value:'"shipping home tel-local webauthn"'},{value:'"shipping home tel-local-prefix"'},{value:'"shipping home tel-local-prefix webauthn"'},{value:'"shipping home tel-local-suffix"'},{value:'"shipping home tel-local-suffix webauthn"'},{value:'"shipping home tel-national"'},{value:'"shipping home tel-national webauthn"'},{value:'"shipping mobile tel"'},{value:'"shipping mobile tel webauthn"'},{value:'"shipping mobile email"'},{value:'"shipping mobile email webauthn"'},{value:'"shipping mobile tel-area-code"'},{value:'"shipping mobile tel-area-code webauthn"'},{value:'"shipping mobile tel-country-code"'},{value:'"shipping mobile tel-country-code webauthn"'},{value:'"shipping mobile tel-extension"'},{value:'"shipping mobile tel-extension webauthn"'},{value:'"shipping mobile tel-local"'},{value:'"shipping mobile tel-local webauthn"'},{value:'"shipping mobile tel-local-prefix"'},{value:'"shipping mobile tel-local-prefix webauthn"'},{value:'"shipping mobile tel-local-suffix"'},{value:'"shipping mobile tel-local-suffix webauthn"'},{value:'"shipping mobile tel-national"'},{value:'"shipping mobile tel-national webauthn"'},{value:'"shipping work tel"'},{value:'"shipping work tel webauthn"'},{value:'"shipping work email"'},{value:'"shipping work email webauthn"'},{value:'"shipping work tel-area-code"'},{value:'"shipping work tel-area-code webauthn"'},{value:'"shipping work tel-country-code"'},{value:'"shipping work tel-country-code webauthn"'},{value:'"shipping work tel-extension"'},{value:'"shipping work tel-extension webauthn"'},{value:'"shipping work tel-local"'},{value:'"shipping work tel-local webauthn"'},{value:'"shipping work tel-local-prefix"'},{value:'"shipping work tel-local-prefix webauthn"'},{value:'"shipping work tel-local-suffix"'},{value:'"shipping work tel-local-suffix webauthn"'},{value:'"shipping work tel-national"'},{value:'"shipping work tel-national webauthn"'},{value:"`section-${string} name`"},{value:"`section-${string} name webauthn`"},{value:"`section-${string} username`"},{value:"`section-${string} username webauthn`"},{value:"`section-${string} new-password`"},{value:"`section-${string} new-password webauthn`"},{value:"`section-${string} current-password`"},{value:"`section-${string} current-password webauthn`"},{value:"`section-${string} additional-name`"},{value:"`section-${string} additional-name webauthn`"},{value:"`section-${string} address-level1`"},{value:"`section-${string} address-level1 webauthn`"},{value:"`section-${string} address-level2`"},{value:"`section-${string} address-level2 webauthn`"},{value:"`section-${string} address-level3`"},{value:"`section-${string} address-level3 webauthn`"},{value:"`section-${string} address-level4`"},{value:"`section-${string} address-level4 webauthn`"},{value:"`section-${string} address-line1`"},{value:"`section-${string} address-line1 webauthn`"},{value:"`section-${string} address-line2`"},{value:"`section-${string} address-line2 webauthn`"},{value:"`section-${string} address-line3`"},{value:"`section-${string} address-line3 webauthn`"},{value:"`section-${string} bday-day`"},{value:"`section-${string} bday-day webauthn`"},{value:"`section-${string} bday-month`"},{value:"`section-${string} bday-month webauthn`"},{value:"`section-${string} bday-year`"},{value:"`section-${string} bday-year webauthn`"},{value:"`section-${string} cc-csc`"},{value:"`section-${string} cc-csc webauthn`"},{value:"`section-${string} cc-exp`"},{value:"`section-${string} cc-exp webauthn`"},{value:"`section-${string} cc-exp-month`"},{value:"`section-${string} cc-exp-month webauthn`"},{value:"`section-${string} cc-exp-year`"},{value:"`section-${string} cc-exp-year webauthn`"},{value:"`section-${string} cc-family-name`"},{value:"`section-${string} cc-family-name webauthn`"},{value:"`section-${string} cc-given-name`"},{value:"`section-${string} cc-given-name webauthn`"},{value:"`section-${string} cc-name`"},{value:"`section-${string} cc-name webauthn`"},{value:"`section-${string} cc-number`"},{value:"`section-${string} cc-number webauthn`"},{value:"`section-${string} cc-type`"},{value:"`section-${string} cc-type webauthn`"},{value:"`section-${string} country`"},{value:"`section-${string} country webauthn`"},{value:"`section-${string} country-name`"},{value:"`section-${string} country-name webauthn`"},{value:"`section-${string} family-name`"},{value:"`section-${string} family-name webauthn`"},{value:"`section-${string} given-name`"},{value:"`section-${string} given-name webauthn`"},{value:"`section-${string} honorific-prefix`"},{value:"`section-${string} honorific-prefix webauthn`"},{value:"`section-${string} honorific-suffix`"},{value:"`section-${string} honorific-suffix webauthn`"},{value:"`section-${string} one-time-code`"},{value:"`section-${string} one-time-code webauthn`"},{value:"`section-${string} organization`"},{value:"`section-${string} organization webauthn`"},{value:"`section-${string} postal-code`"},{value:"`section-${string} postal-code webauthn`"},{value:"`section-${string} street-address`"},{value:"`section-${string} street-address webauthn`"},{value:"`section-${string} transaction-amount`"},{value:"`section-${string} transaction-amount webauthn`"},{value:"`section-${string} transaction-currency`"},{value:"`section-${string} transaction-currency webauthn`"},{value:"`section-${string} tel`"},{value:"`section-${string} tel webauthn`"},{value:"`section-${string} email`"},{value:"`section-${string} email webauthn`"},{value:"`section-${string} tel-area-code`"},{value:"`section-${string} tel-area-code webauthn`"},{value:"`section-${string} tel-country-code`"},{value:"`section-${string} tel-country-code webauthn`"},{value:"`section-${string} tel-extension`"},{value:"`section-${string} tel-extension webauthn`"},{value:"`section-${string} tel-local`"},{value:"`section-${string} tel-local webauthn`"},{value:"`section-${string} tel-local-prefix`"},{value:"`section-${string} tel-local-prefix webauthn`"},{value:"`section-${string} tel-local-suffix`"},{value:"`section-${string} tel-local-suffix webauthn`"},{value:"`section-${string} tel-national`"},{value:"`section-${string} tel-national webauthn`"},{value:"`section-${string} home tel`"},{value:"`section-${string} home tel webauthn`"},{value:"`section-${string} home email`"},{value:"`section-${string} home email webauthn`"},{value:"`section-${string} home tel-area-code`"},{value:"`section-${string} home tel-area-code webauthn`"},{value:"`section-${string} home tel-country-code`"},{value:"`section-${string} home tel-country-code webauthn`"},{value:"`section-${string} home tel-extension`"},{value:"`section-${string} home tel-extension webauthn`"},{value:"`section-${string} home tel-local`"},{value:"`section-${string} home tel-local webauthn`"},{value:"`section-${string} home tel-local-prefix`"},{value:"`section-${string} home tel-local-prefix webauthn`"},{value:"`section-${string} home tel-local-suffix`"},{value:"`section-${string} home tel-local-suffix webauthn`"},{value:"`section-${string} home tel-national`"},{value:"`section-${string} home tel-national webauthn`"},{value:"`section-${string} mobile tel`"},{value:"`section-${string} mobile tel webauthn`"},{value:"`section-${string} mobile email`"},{value:"`section-${string} mobile email webauthn`"},{value:"`section-${string} mobile tel-area-code`"},{value:"`section-${string} mobile tel-area-code webauthn`"},{value:"`section-${string} mobile tel-country-code`"},{value:"`section-${string} mobile tel-country-code webauthn`"},{value:"`section-${string} mobile tel-extension`"},{value:"`section-${string} mobile tel-extension webauthn`"},{value:"`section-${string} mobile tel-local`"},{value:"`section-${string} mobile tel-local webauthn`"},{value:"`section-${string} mobile tel-local-prefix`"},{value:"`section-${string} mobile tel-local-prefix webauthn`"},{value:"`section-${string} mobile tel-local-suffix`"},{value:"`section-${string} mobile tel-local-suffix webauthn`"},{value:"`section-${string} mobile tel-national`"},{value:"`section-${string} mobile tel-national webauthn`"},{value:"`section-${string} work tel`"},{value:"`section-${string} work tel webauthn`"},{value:"`section-${string} work email`"},{value:"`section-${string} work email webauthn`"},{value:"`section-${string} work tel-area-code`"},{value:"`section-${string} work tel-area-code webauthn`"},{value:"`section-${string} work tel-country-code`"},{value:"`section-${string} work tel-country-code webauthn`"},{value:"`section-${string} work tel-extension`"},{value:"`section-${string} work tel-extension webauthn`"},{value:"`section-${string} work tel-local`"},{value:"`section-${string} work tel-local webauthn`"},{value:"`section-${string} work tel-local-prefix`"},{value:"`section-${string} work tel-local-prefix webauthn`"},{value:"`section-${string} work tel-local-suffix`"},{value:"`section-${string} work tel-local-suffix webauthn`"},{value:"`section-${string} work tel-national`"},{value:"`section-${string} work tel-national webauthn`"},{value:"`section-${string} billing name`"},{value:"`section-${string} billing name webauthn`"},{value:"`section-${string} billing username`"},{value:"`section-${string} billing username webauthn`"},{value:"`section-${string} billing new-password`"},{value:"`section-${string} billing new-password webauthn`"},{value:"`section-${string} billing current-password`"},{value:"`section-${string} billing current-password webauthn`"},{value:"`section-${string} billing additional-name`"},{value:"`section-${string} billing additional-name webauthn`"},{value:"`section-${string} billing address-level1`"},{value:"`section-${string} billing address-level1 webauthn`"},{value:"`section-${string} billing address-level2`"},{value:"`section-${string} billing address-level2 webauthn`"},{value:"`section-${string} billing address-level3`"},{value:"`section-${string} billing address-level3 webauthn`"},{value:"`section-${string} billing address-level4`"},{value:"`section-${string} billing address-level4 webauthn`"},{value:"`section-${string} billing address-line1`"},{value:"`section-${string} billing address-line1 webauthn`"},{value:"`section-${string} billing address-line2`"},{value:"`section-${string} billing address-line2 webauthn`"},{value:"`section-${string} billing address-line3`"},{value:"`section-${string} billing address-line3 webauthn`"},{value:"`section-${string} billing bday-day`"},{value:"`section-${string} billing bday-day webauthn`"},{value:"`section-${string} billing bday-month`"},{value:"`section-${string} billing bday-month webauthn`"},{value:"`section-${string} billing bday-year`"},{value:"`section-${string} billing bday-year webauthn`"},{value:"`section-${string} billing cc-csc`"},{value:"`section-${string} billing cc-csc webauthn`"},{value:"`section-${string} billing cc-exp`"},{value:"`section-${string} billing cc-exp webauthn`"},{value:"`section-${string} billing cc-exp-month`"},{value:"`section-${string} billing cc-exp-month webauthn`"},{value:"`section-${string} billing cc-exp-year`"},{value:"`section-${string} billing cc-exp-year webauthn`"},{value:"`section-${string} billing cc-family-name`"},{value:"`section-${string} billing cc-family-name webauthn`"},{value:"`section-${string} billing cc-given-name`"},{value:"`section-${string} billing cc-given-name webauthn`"},{value:"`section-${string} billing cc-name`"},{value:"`section-${string} billing cc-name webauthn`"},{value:"`section-${string} billing cc-number`"},{value:"`section-${string} billing cc-number webauthn`"},{value:"`section-${string} billing cc-type`"},{value:"`section-${string} billing cc-type webauthn`"},{value:"`section-${string} billing country`"},{value:"`section-${string} billing country webauthn`"},{value:"`section-${string} billing country-name`"},{value:"`section-${string} billing country-name webauthn`"},{value:"`section-${string} billing family-name`"},{value:"`section-${string} billing family-name webauthn`"},{value:"`section-${string} billing given-name`"},{value:"`section-${string} billing given-name webauthn`"},{value:"`section-${string} billing honorific-prefix`"},{value:"`section-${string} billing honorific-prefix webauthn`"},{value:"`section-${string} billing honorific-suffix`"},{value:"`section-${string} billing honorific-suffix webauthn`"},{value:"`section-${string} billing one-time-code`"},{value:"`section-${string} billing one-time-code webauthn`"},{value:"`section-${string} billing organization`"},{value:"`section-${string} billing organization webauthn`"},{value:"`section-${string} billing postal-code`"},{value:"`section-${string} billing postal-code webauthn`"},{value:"`section-${string} billing street-address`"},{value:"`section-${string} billing street-address webauthn`"},{value:"`section-${string} billing transaction-amount`"},{value:"`section-${string} billing transaction-amount webauthn`"},{value:"`section-${string} billing transaction-currency`"},{value:"`section-${string} billing transaction-currency webauthn`"},{value:"`section-${string} billing tel`"},{value:"`section-${string} billing tel webauthn`"},{value:"`section-${string} billing email`"},{value:"`section-${string} billing email webauthn`"},{value:"`section-${string} billing tel-area-code`"},{value:"`section-${string} billing tel-area-code webauthn`"},{value:"`section-${string} billing tel-country-code`"},{value:"`section-${string} billing tel-country-code webauthn`"},{value:"`section-${string} billing tel-extension`"},{value:"`section-${string} billing tel-extension webauthn`"},{value:"`section-${string} billing tel-local`"},{value:"`section-${string} billing tel-local webauthn`"},{value:"`section-${string} billing tel-local-prefix`"},{value:"`section-${string} billing tel-local-prefix webauthn`"},{value:"`section-${string} billing tel-local-suffix`"},{value:"`section-${string} billing tel-local-suffix webauthn`"},{value:"`section-${string} billing tel-national`"},{value:"`section-${string} billing tel-national webauthn`"},{value:"`section-${string} billing home tel`"},{value:"`section-${string} billing home tel webauthn`"},{value:"`section-${string} billing home email`"},{value:"`section-${string} billing home email webauthn`"},{value:"`section-${string} billing home tel-area-code`"},{value:"`section-${string} billing home tel-area-code webauthn`"},{value:"`section-${string} billing home tel-country-code`"},{value:"`section-${string} billing home tel-country-code webauthn`"},{value:"`section-${string} billing home tel-extension`"},{value:"`section-${string} billing home tel-extension webauthn`"},{value:"`section-${string} billing home tel-local`"},{value:"`section-${string} billing home tel-local webauthn`"},{value:"`section-${string} billing home tel-local-prefix`"},{value:"`section-${string} billing home tel-local-prefix webauthn`"},{value:"`section-${string} billing home tel-local-suffix`"},{value:"`section-${string} billing home tel-local-suffix webauthn`"},{value:"`section-${string} billing home tel-national`"},{value:"`section-${string} billing home tel-national webauthn`"},{value:"`section-${string} billing mobile tel`"},{value:"`section-${string} billing mobile tel webauthn`"},{value:"`section-${string} billing mobile email`"},{value:"`section-${string} billing mobile email webauthn`"},{value:"`section-${string} billing mobile tel-area-code`"},{value:"`section-${string} billing mobile tel-area-code webauthn`"},{value:"`section-${string} billing mobile tel-country-code`"},{value:"`section-${string} billing mobile tel-country-code webauthn`"},{value:"`section-${string} billing mobile tel-extension`"},{value:"`section-${string} billing mobile tel-extension webauthn`"},{value:"`section-${string} billing mobile tel-local`"},{value:"`section-${string} billing mobile tel-local webauthn`"},{value:"`section-${string} billing mobile tel-local-prefix`"},{value:"`section-${string} billing mobile tel-local-prefix webauthn`"},{value:"`section-${string} billing mobile tel-local-suffix`"},{value:"`section-${string} billing mobile tel-local-suffix webauthn`"},{value:"`section-${string} billing mobile tel-national`"},{value:"`section-${string} billing mobile tel-national webauthn`"},{value:"`section-${string} billing work tel`"},{value:"`section-${string} billing work tel webauthn`"},{value:"`section-${string} billing work email`"},{value:"`section-${string} billing work email webauthn`"},{value:"`section-${string} billing work tel-area-code`"},{value:"`section-${string} billing work tel-area-code webauthn`"},{value:"`section-${string} billing work tel-country-code`"},{value:"`section-${string} billing work tel-country-code webauthn`"},{value:"`section-${string} billing work tel-extension`"},{value:"`section-${string} billing work tel-extension webauthn`"},{value:"`section-${string} billing work tel-local`"},{value:"`section-${string} billing work tel-local webauthn`"},{value:"`section-${string} billing work tel-local-prefix`"},{value:"`section-${string} billing work tel-local-prefix webauthn`"},{value:"`section-${string} billing work tel-local-suffix`"},{value:"`section-${string} billing work tel-local-suffix webauthn`"},{value:"`section-${string} billing work tel-national`"},{value:"`section-${string} billing work tel-national webauthn`"},{value:"`section-${string} shipping name`"},{value:"`section-${string} shipping name webauthn`"},{value:"`section-${string} shipping username`"},{value:"`section-${string} shipping username webauthn`"},{value:"`section-${string} shipping new-password`"},{value:"`section-${string} shipping new-password webauthn`"},{value:"`section-${string} shipping current-password`"},{value:"`section-${string} shipping current-password webauthn`"},{value:"`section-${string} shipping additional-name`"},{value:"`section-${string} shipping additional-name webauthn`"},{value:"`section-${string} shipping address-level1`"},{value:"`section-${string} shipping address-level1 webauthn`"},{value:"`section-${string} shipping address-level2`"},{value:"`section-${string} shipping address-level2 webauthn`"},{value:"`section-${string} shipping address-level3`"},{value:"`section-${string} shipping address-level3 webauthn`"},{value:"`section-${string} shipping address-level4`"},{value:"`section-${string} shipping address-level4 webauthn`"},{value:"`section-${string} shipping address-line1`"},{value:"`section-${string} shipping address-line1 webauthn`"},{value:"`section-${string} shipping address-line2`"},{value:"`section-${string} shipping address-line2 webauthn`"},{value:"`section-${string} shipping address-line3`"},{value:"`section-${string} shipping address-line3 webauthn`"},{value:"`section-${string} shipping bday-day`"},{value:"`section-${string} shipping bday-day webauthn`"},{value:"`section-${string} shipping bday-month`"},{value:"`section-${string} shipping bday-month webauthn`"},{value:"`section-${string} shipping bday-year`"},{value:"`section-${string} shipping bday-year webauthn`"},{value:"`section-${string} shipping cc-csc`"},{value:"`section-${string} shipping cc-csc webauthn`"},{value:"`section-${string} shipping cc-exp`"},{value:"`section-${string} shipping cc-exp webauthn`"},{value:"`section-${string} shipping cc-exp-month`"},{value:"`section-${string} shipping cc-exp-month webauthn`"},{value:"`section-${string} shipping cc-exp-year`"},{value:"`section-${string} shipping cc-exp-year webauthn`"},{value:"`section-${string} shipping cc-family-name`"},{value:"`section-${string} shipping cc-family-name webauthn`"},{value:"`section-${string} shipping cc-given-name`"},{value:"`section-${string} shipping cc-given-name webauthn`"},{value:"`section-${string} shipping cc-name`"},{value:"`section-${string} shipping cc-name webauthn`"},{value:"`section-${string} shipping cc-number`"},{value:"`section-${string} shipping cc-number webauthn`"},{value:"`section-${string} shipping cc-type`"},{value:"`section-${string} shipping cc-type webauthn`"},{value:"`section-${string} shipping country`"},{value:"`section-${string} shipping country webauthn`"},{value:"`section-${string} shipping country-name`"},{value:"`section-${string} shipping country-name webauthn`"},{value:"`section-${string} shipping family-name`"},{value:"`section-${string} shipping family-name webauthn`"},{value:"`section-${string} shipping given-name`"},{value:"`section-${string} shipping given-name webauthn`"},{value:"`section-${string} shipping honorific-prefix`"},{value:"`section-${string} shipping honorific-prefix webauthn`"},{value:"`section-${string} shipping honorific-suffix`"},{value:"`section-${string} shipping honorific-suffix webauthn`"},{value:"`section-${string} shipping one-time-code`"},{value:"`section-${string} shipping one-time-code webauthn`"},{value:"`section-${string} shipping organization`"},{value:"`section-${string} shipping organization webauthn`"},{value:"`section-${string} shipping postal-code`"},{value:"`section-${string} shipping postal-code webauthn`"},{value:"`section-${string} shipping street-address`"},{value:"`section-${string} shipping street-address webauthn`"},{value:"`section-${string} shipping transaction-amount`"},{value:"`section-${string} shipping transaction-amount webauthn`"},{value:"`section-${string} shipping transaction-currency`"},{value:"`section-${string} shipping transaction-currency webauthn`"},{value:"`section-${string} shipping tel`"},{value:"`section-${string} shipping tel webauthn`"},{value:"`section-${string} shipping email`"},{value:"`section-${string} shipping email webauthn`"},{value:"`section-${string} shipping tel-area-code`"},{value:"`section-${string} shipping tel-area-code webauthn`"},{value:"`section-${string} shipping tel-country-code`"},{value:"`section-${string} shipping tel-country-code webauthn`"},{value:"`section-${string} shipping tel-extension`"},{value:"`section-${string} shipping tel-extension webauthn`"},{value:"`section-${string} shipping tel-local`"},{value:"`section-${string} shipping tel-local webauthn`"},{value:"`section-${string} shipping tel-local-prefix`"},{value:"`section-${string} shipping tel-local-prefix webauthn`"},{value:"`section-${string} shipping tel-local-suffix`"},{value:"`section-${string} shipping tel-local-suffix webauthn`"},{value:"`section-${string} shipping tel-national`"},{value:"`section-${string} shipping tel-national webauthn`"},{value:"`section-${string} shipping home tel`"},{value:"`section-${string} shipping home tel webauthn`"},{value:"`section-${string} shipping home email`"},{value:"`section-${string} shipping home email webauthn`"},{value:"`section-${string} shipping home tel-area-code`"},{value:"`section-${string} shipping home tel-area-code webauthn`"},{value:"`section-${string} shipping home tel-country-code`"},{value:"`section-${string} shipping home tel-country-code webauthn`"},{value:"`section-${string} shipping home tel-extension`"},{value:"`section-${string} shipping home tel-extension webauthn`"},{value:"`section-${string} shipping home tel-local`"},{value:"`section-${string} shipping home tel-local webauthn`"},{value:"`section-${string} shipping home tel-local-prefix`"},{value:"`section-${string} shipping home tel-local-prefix webauthn`"},{value:"`section-${string} shipping home tel-local-suffix`"},{value:"`section-${string} shipping home tel-local-suffix webauthn`"},{value:"`section-${string} shipping home tel-national`"},{value:"`section-${string} shipping home tel-national webauthn`"},{value:"`section-${string} shipping mobile tel`"},{value:"`section-${string} shipping mobile tel webauthn`"},{value:"`section-${string} shipping mobile email`"},{value:"`section-${string} shipping mobile email webauthn`"},{value:"`section-${string} shipping mobile tel-area-code`"},{value:"`section-${string} shipping mobile tel-area-code webauthn`"},{value:"`section-${string} shipping mobile tel-country-code`"},{value:"`section-${string} shipping mobile tel-country-code webauthn`"},{value:"`section-${string} shipping mobile tel-extension`"},{value:"`section-${string} shipping mobile tel-extension webauthn`"},{value:"`section-${string} shipping mobile tel-local`"},{value:"`section-${string} shipping mobile tel-local webauthn`"},{value:"`section-${string} shipping mobile tel-local-prefix`"},{value:"`section-${string} shipping mobile tel-local-prefix webauthn`"},{value:"`section-${string} shipping mobile tel-local-suffix`"},{value:"`section-${string} shipping mobile tel-local-suffix webauthn`"},{value:"`section-${string} shipping mobile tel-national`"},{value:"`section-${string} shipping mobile tel-national webauthn`"},{value:"`section-${string} shipping work tel`"},{value:"`section-${string} shipping work tel webauthn`"},{value:"`section-${string} shipping work email`"},{value:"`section-${string} shipping work email webauthn`"},{value:"`section-${string} shipping work tel-area-code`"},{value:"`section-${string} shipping work tel-area-code webauthn`"},{value:"`section-${string} shipping work tel-country-code`"},{value:"`section-${string} shipping work tel-country-code webauthn`"},{value:"`section-${string} shipping work tel-extension`"},{value:"`section-${string} shipping work tel-extension webauthn`"},{value:"`section-${string} shipping work tel-local`"},{value:"`section-${string} shipping work tel-local webauthn`"},{value:"`section-${string} shipping work tel-local-prefix`"},{value:"`section-${string} shipping work tel-local-prefix webauthn`"},{value:"`section-${string} shipping work tel-local-suffix`"},{value:"`section-${string} shipping work tel-local-suffix webauthn`"},{value:"`section-${string} shipping work tel-national`"},{value:"`section-${string} shipping work tel-national webauthn`"}]}},capture:{defaultValue:null,description:"",name:"capture",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"user"'},{value:'"environment"'}]}},checked:{defaultValue:null,description:"",name:"checked",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},form:{defaultValue:null,description:"",name:"form",required:!1,type:{name:"enum",value:[{value:"string"}]}},formAction:{defaultValue:null,description:"",name:"formAction",required:!1,type:{name:"enum",value:[{value:"string"}]}},formEncType:{defaultValue:null,description:"",name:"formEncType",required:!1,type:{name:"enum",value:[{value:"string"}]}},formMethod:{defaultValue:null,description:"",name:"formMethod",required:!1,type:{name:"enum",value:[{value:"string"}]}},formNoValidate:{defaultValue:null,description:"",name:"formNoValidate",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},formTarget:{defaultValue:null,description:"",name:"formTarget",required:!1,type:{name:"enum",value:[{value:"string"}]}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},list:{defaultValue:null,description:"",name:"list",required:!1,type:{name:"enum",value:[{value:"string"}]}},max:{defaultValue:null,description:"",name:"max",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},maxLength:{defaultValue:null,description:"",name:"maxLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},min:{defaultValue:null,description:"",name:"min",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},minLength:{defaultValue:null,description:"",name:"minLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},multiple:{defaultValue:null,description:"",name:"multiple",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"enum",value:[{value:"string"}]}},pattern:{defaultValue:null,description:"",name:"pattern",required:!1,type:{name:"enum",value:[{value:"string"}]}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"enum",value:[{value:"string"}]}},readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:"number"}]}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"enum",value:[{value:"string"}]}},step:{defaultValue:null,description:"",name:"step",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"number"'},{value:'"color"'},{value:'"url"'},{value:'"hidden"'},{value:"string & {}"},{value:'"search"'},{value:'"button"'},{value:'"checkbox"'},{value:'"radio"'},{value:'"text"'},{value:'"tel"'},{value:'"email"'},{value:'"date"'},{value:'"time"'},{value:'"datetime-local"'},{value:'"file"'},{value:'"image"'},{value:'"month"'},{value:'"password"'},{value:'"range"'},{value:'"reset"'},{value:'"submit"'},{value:'"week"'}]}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"},{value:"readonly string[]"}]}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"enum",value:[{value:"ChangeEventHandler<HTMLInputElement>"}]}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"},{value:"readonly string[]"}]}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"none"'},{value:'"on"'},{value:'"sentences"'},{value:'"words"'},{value:'"characters"'},{value:"string & {}"}]}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"enum",value:[{value:"string"}]}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'},{value:'"inherit"'},{value:'"plaintext-only"'}]}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"enum",value:[{value:"string"}]}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"enum",value:[{value:"string"}]}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},enterKeyHint:{defaultValue:null,description:"",name:"enterKeyHint",required:!1,type:{name:"enum",value:[{value:'"enter"'},{value:'"done"'},{value:'"go"'},{value:'"next"'},{value:'"previous"'},{value:'"search"'},{value:'"send"'}]}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"enum",value:[{value:"string"}]}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"enum",value:[{value:"string"}]}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"enum",value:[{value:"string"}]}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"enum",value:[{value:"string"}]}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"enum",value:[{value:"CSSProperties"}]}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"enum",value:[{value:"number"}]}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"enum",value:[{value:"string"}]}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"yes"'}]}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"enum",value:[{value:"string"}]}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:"string & {}"},{value:'"search"'},{value:'"alert"'},{value:'"alertdialog"'},{value:'"application"'},{value:'"article"'},{value:'"banner"'},{value:'"button"'},{value:'"cell"'},{value:'"checkbox"'},{value:'"columnheader"'},{value:'"combobox"'},{value:'"complementary"'},{value:'"contentinfo"'},{value:'"definition"'},{value:'"dialog"'},{value:'"directory"'},{value:'"document"'},{value:'"feed"'},{value:'"figure"'},{value:'"form"'},{value:'"grid"'},{value:'"gridcell"'},{value:'"group"'},{value:'"heading"'},{value:'"img"'},{value:'"link"'},{value:'"list"'},{value:'"listbox"'},{value:'"listitem"'},{value:'"log"'},{value:'"main"'},{value:'"marquee"'},{value:'"math"'},{value:'"menu"'},{value:'"menubar"'},{value:'"menuitem"'},{value:'"menuitemcheckbox"'},{value:'"menuitemradio"'},{value:'"navigation"'},{value:'"note"'},{value:'"option"'},{value:'"presentation"'},{value:'"progressbar"'},{value:'"radio"'},{value:'"radiogroup"'},{value:'"region"'},{value:'"row"'},{value:'"rowgroup"'},{value:'"rowheader"'},{value:'"scrollbar"'},{value:'"searchbox"'},{value:'"separator"'},{value:'"slider"'},{value:'"spinbutton"'},{value:'"status"'},{value:'"switch"'},{value:'"tab"'},{value:'"table"'},{value:'"tablist"'},{value:'"tabpanel"'},{value:'"term"'},{value:'"textbox"'},{value:'"timer"'},{value:'"toolbar"'},{value:'"tooltip"'},{value:'"tree"'},{value:'"treegrid"'},{value:'"treeitem"'}]}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"enum",value:[{value:"string"}]}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"enum",value:[{value:"string"}]}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"enum",value:[{value:"string"}]}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"enum",value:[{value:"string"}]}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"enum",value:[{value:"string"}]}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"enum",value:[{value:"string"}]}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"enum",value:[{value:"string"}]}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"enum",value:[{value:"string"}]}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"enum",value:[{value:"string"}]}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"enum",value:[{value:"string"}]}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"enum",value:[{value:"string"}]}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"enum",value:[{value:"number"}]}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"enum",value:[{value:"string"}]}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"on"'}]}},inputMode:{defaultValue:null,description:`Hints at the type of data that might be entered by the user while editing the element or its contents
|
3
|
-
@see {@link https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute}`,name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"url"'},{value:'"none"'},{value:'"
|
1
|
+
import{j as l}from"./jsx-runtime-BYouaCF_.js";import{r as c}from"./index-B3evPFBL.js";import{I as m,s as g}from"./InputContainer-Bk0tgFnW.js";import{g as h}from"./index-DdzHuZ-Y.js";const t=c.forwardRef(function({button:i,icon:r,dataset:s,onChange:e,onValueChange:n,...o},v){const d=h(s),p=a=>{e==null||e(a),n==null||n(a.target.value)};return l.jsx(m,{button:i,icon:r,children:l.jsx("input",{...d,...o,ref:v,onChange:p,className:g.input})})});try{t.displayName="Input",t.__docgenInfo={description:`A component to render input with optional icon and button.
|
2
|
+
For internal use only.`,displayName:"Input",props:{accept:{defaultValue:null,description:"",name:"accept",required:!1,type:{name:"enum",value:[{value:"string"}]}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoComplete:{defaultValue:null,description:"",name:"autoComplete",required:!1,type:{name:"enum",value:[{value:'""'},{value:'"name"'},{value:'"off"'},{value:'"on"'},{value:'"new-password"'},{value:'"current-password"'},{value:'"email"'},{value:'"tel"'},{value:'"username"'},{value:"string & {}"},{value:'"additional-name"'},{value:'"address-level1"'},{value:'"address-level2"'},{value:'"address-level3"'},{value:'"address-level4"'},{value:'"address-line1"'},{value:'"address-line2"'},{value:'"address-line3"'},{value:'"bday-day"'},{value:'"bday-month"'},{value:'"bday-year"'},{value:'"cc-csc"'},{value:'"cc-exp"'},{value:'"cc-exp-month"'},{value:'"cc-exp-year"'},{value:'"cc-family-name"'},{value:'"cc-given-name"'},{value:'"cc-name"'},{value:'"cc-number"'},{value:'"cc-type"'},{value:'"country"'},{value:'"country-name"'},{value:'"family-name"'},{value:'"given-name"'},{value:'"honorific-prefix"'},{value:'"honorific-suffix"'},{value:'"one-time-code"'},{value:'"organization"'},{value:'"postal-code"'},{value:'"street-address"'},{value:'"transaction-amount"'},{value:'"transaction-currency"'},{value:'"tel-area-code"'},{value:'"tel-country-code"'},{value:'"tel-extension"'},{value:'"tel-local"'},{value:'"tel-local-prefix"'},{value:'"tel-local-suffix"'},{value:'"tel-national"'},{value:'"home email"'},{value:'"home tel"'},{value:'"home tel-area-code"'},{value:'"home tel-country-code"'},{value:'"home tel-extension"'},{value:'"home tel-local"'},{value:'"home tel-local-prefix"'},{value:'"home tel-local-suffix"'},{value:'"home tel-national"'},{value:'"mobile email"'},{value:'"mobile tel"'},{value:'"mobile tel-area-code"'},{value:'"mobile tel-country-code"'},{value:'"mobile tel-extension"'},{value:'"mobile tel-local"'},{value:'"mobile tel-local-prefix"'},{value:'"mobile tel-local-suffix"'},{value:'"mobile tel-national"'},{value:'"work email"'},{value:'"work tel"'},{value:'"work tel-area-code"'},{value:'"work tel-country-code"'},{value:'"work tel-extension"'},{value:'"work tel-local"'},{value:'"work tel-local-prefix"'},{value:'"work tel-local-suffix"'},{value:'"work tel-national"'},{value:'"name webauthn"'},{value:'"new-password webauthn"'},{value:'"current-password webauthn"'},{value:'"username webauthn"'},{value:'"additional-name webauthn"'},{value:'"address-level1 webauthn"'},{value:'"address-level2 webauthn"'},{value:'"address-level3 webauthn"'},{value:'"address-level4 webauthn"'},{value:'"address-line1 webauthn"'},{value:'"address-line2 webauthn"'},{value:'"address-line3 webauthn"'},{value:'"bday-day webauthn"'},{value:'"bday-month webauthn"'},{value:'"bday-year webauthn"'},{value:'"cc-csc webauthn"'},{value:'"cc-exp webauthn"'},{value:'"cc-exp-month webauthn"'},{value:'"cc-exp-year webauthn"'},{value:'"cc-family-name webauthn"'},{value:'"cc-given-name webauthn"'},{value:'"cc-name webauthn"'},{value:'"cc-number webauthn"'},{value:'"cc-type webauthn"'},{value:'"country webauthn"'},{value:'"country-name webauthn"'},{value:'"family-name webauthn"'},{value:'"given-name webauthn"'},{value:'"honorific-prefix webauthn"'},{value:'"honorific-suffix webauthn"'},{value:'"one-time-code webauthn"'},{value:'"organization webauthn"'},{value:'"postal-code webauthn"'},{value:'"street-address webauthn"'},{value:'"transaction-amount webauthn"'},{value:'"transaction-currency webauthn"'},{value:'"email webauthn"'},{value:'"tel webauthn"'},{value:'"tel-area-code webauthn"'},{value:'"tel-country-code webauthn"'},{value:'"tel-extension webauthn"'},{value:'"tel-local webauthn"'},{value:'"tel-local-prefix webauthn"'},{value:'"tel-local-suffix webauthn"'},{value:'"tel-national webauthn"'},{value:'"home email webauthn"'},{value:'"home tel webauthn"'},{value:'"home tel-area-code webauthn"'},{value:'"home tel-country-code webauthn"'},{value:'"home tel-extension webauthn"'},{value:'"home tel-local webauthn"'},{value:'"home tel-local-prefix webauthn"'},{value:'"home tel-local-suffix webauthn"'},{value:'"home tel-national webauthn"'},{value:'"mobile email webauthn"'},{value:'"mobile tel webauthn"'},{value:'"mobile tel-area-code webauthn"'},{value:'"mobile tel-country-code webauthn"'},{value:'"mobile tel-extension webauthn"'},{value:'"mobile tel-local webauthn"'},{value:'"mobile tel-local-prefix webauthn"'},{value:'"mobile tel-local-suffix webauthn"'},{value:'"mobile tel-national webauthn"'},{value:'"work email webauthn"'},{value:'"work tel webauthn"'},{value:'"work tel-area-code webauthn"'},{value:'"work tel-country-code webauthn"'},{value:'"work tel-extension webauthn"'},{value:'"work tel-local webauthn"'},{value:'"work tel-local-prefix webauthn"'},{value:'"work tel-local-suffix webauthn"'},{value:'"work tel-national webauthn"'},{value:'"billing name"'},{value:'"billing name webauthn"'},{value:'"billing new-password"'},{value:'"billing new-password webauthn"'},{value:'"billing current-password"'},{value:'"billing current-password webauthn"'},{value:'"billing username"'},{value:'"billing username webauthn"'},{value:'"billing additional-name"'},{value:'"billing additional-name webauthn"'},{value:'"billing address-level1"'},{value:'"billing address-level1 webauthn"'},{value:'"billing address-level2"'},{value:'"billing address-level2 webauthn"'},{value:'"billing address-level3"'},{value:'"billing address-level3 webauthn"'},{value:'"billing address-level4"'},{value:'"billing address-level4 webauthn"'},{value:'"billing address-line1"'},{value:'"billing address-line1 webauthn"'},{value:'"billing address-line2"'},{value:'"billing address-line2 webauthn"'},{value:'"billing address-line3"'},{value:'"billing address-line3 webauthn"'},{value:'"billing bday-day"'},{value:'"billing bday-day webauthn"'},{value:'"billing bday-month"'},{value:'"billing bday-month webauthn"'},{value:'"billing bday-year"'},{value:'"billing bday-year webauthn"'},{value:'"billing cc-csc"'},{value:'"billing cc-csc webauthn"'},{value:'"billing cc-exp"'},{value:'"billing cc-exp webauthn"'},{value:'"billing cc-exp-month"'},{value:'"billing cc-exp-month webauthn"'},{value:'"billing cc-exp-year"'},{value:'"billing cc-exp-year webauthn"'},{value:'"billing cc-family-name"'},{value:'"billing cc-family-name webauthn"'},{value:'"billing cc-given-name"'},{value:'"billing cc-given-name webauthn"'},{value:'"billing cc-name"'},{value:'"billing cc-name webauthn"'},{value:'"billing cc-number"'},{value:'"billing cc-number webauthn"'},{value:'"billing cc-type"'},{value:'"billing cc-type webauthn"'},{value:'"billing country"'},{value:'"billing country webauthn"'},{value:'"billing country-name"'},{value:'"billing country-name webauthn"'},{value:'"billing family-name"'},{value:'"billing family-name webauthn"'},{value:'"billing given-name"'},{value:'"billing given-name webauthn"'},{value:'"billing honorific-prefix"'},{value:'"billing honorific-prefix webauthn"'},{value:'"billing honorific-suffix"'},{value:'"billing honorific-suffix webauthn"'},{value:'"billing one-time-code"'},{value:'"billing one-time-code webauthn"'},{value:'"billing organization"'},{value:'"billing organization webauthn"'},{value:'"billing postal-code"'},{value:'"billing postal-code webauthn"'},{value:'"billing street-address"'},{value:'"billing street-address webauthn"'},{value:'"billing transaction-amount"'},{value:'"billing transaction-amount webauthn"'},{value:'"billing transaction-currency"'},{value:'"billing transaction-currency webauthn"'},{value:'"billing email"'},{value:'"billing email webauthn"'},{value:'"billing tel"'},{value:'"billing tel webauthn"'},{value:'"billing tel-area-code"'},{value:'"billing tel-area-code webauthn"'},{value:'"billing tel-country-code"'},{value:'"billing tel-country-code webauthn"'},{value:'"billing tel-extension"'},{value:'"billing tel-extension webauthn"'},{value:'"billing tel-local"'},{value:'"billing tel-local webauthn"'},{value:'"billing tel-local-prefix"'},{value:'"billing tel-local-prefix webauthn"'},{value:'"billing tel-local-suffix"'},{value:'"billing tel-local-suffix webauthn"'},{value:'"billing tel-national"'},{value:'"billing tel-national webauthn"'},{value:'"billing home email"'},{value:'"billing home email webauthn"'},{value:'"billing home tel"'},{value:'"billing home tel webauthn"'},{value:'"billing home tel-area-code"'},{value:'"billing home tel-area-code webauthn"'},{value:'"billing home tel-country-code"'},{value:'"billing home tel-country-code webauthn"'},{value:'"billing home tel-extension"'},{value:'"billing home tel-extension webauthn"'},{value:'"billing home tel-local"'},{value:'"billing home tel-local webauthn"'},{value:'"billing home tel-local-prefix"'},{value:'"billing home tel-local-prefix webauthn"'},{value:'"billing home tel-local-suffix"'},{value:'"billing home tel-local-suffix webauthn"'},{value:'"billing home tel-national"'},{value:'"billing home tel-national webauthn"'},{value:'"billing mobile email"'},{value:'"billing mobile email webauthn"'},{value:'"billing mobile tel"'},{value:'"billing mobile tel webauthn"'},{value:'"billing mobile tel-area-code"'},{value:'"billing mobile tel-area-code webauthn"'},{value:'"billing mobile tel-country-code"'},{value:'"billing mobile tel-country-code webauthn"'},{value:'"billing mobile tel-extension"'},{value:'"billing mobile tel-extension webauthn"'},{value:'"billing mobile tel-local"'},{value:'"billing mobile tel-local webauthn"'},{value:'"billing mobile tel-local-prefix"'},{value:'"billing mobile tel-local-prefix webauthn"'},{value:'"billing mobile tel-local-suffix"'},{value:'"billing mobile tel-local-suffix webauthn"'},{value:'"billing mobile tel-national"'},{value:'"billing mobile tel-national webauthn"'},{value:'"billing work email"'},{value:'"billing work email webauthn"'},{value:'"billing work tel"'},{value:'"billing work tel webauthn"'},{value:'"billing work tel-area-code"'},{value:'"billing work tel-area-code webauthn"'},{value:'"billing work tel-country-code"'},{value:'"billing work tel-country-code webauthn"'},{value:'"billing work tel-extension"'},{value:'"billing work tel-extension webauthn"'},{value:'"billing work tel-local"'},{value:'"billing work tel-local webauthn"'},{value:'"billing work tel-local-prefix"'},{value:'"billing work tel-local-prefix webauthn"'},{value:'"billing work tel-local-suffix"'},{value:'"billing work tel-local-suffix webauthn"'},{value:'"billing work tel-national"'},{value:'"billing work tel-national webauthn"'},{value:'"shipping name"'},{value:'"shipping name webauthn"'},{value:'"shipping new-password"'},{value:'"shipping new-password webauthn"'},{value:'"shipping current-password"'},{value:'"shipping current-password webauthn"'},{value:'"shipping username"'},{value:'"shipping username webauthn"'},{value:'"shipping additional-name"'},{value:'"shipping additional-name webauthn"'},{value:'"shipping address-level1"'},{value:'"shipping address-level1 webauthn"'},{value:'"shipping address-level2"'},{value:'"shipping address-level2 webauthn"'},{value:'"shipping address-level3"'},{value:'"shipping address-level3 webauthn"'},{value:'"shipping address-level4"'},{value:'"shipping address-level4 webauthn"'},{value:'"shipping address-line1"'},{value:'"shipping address-line1 webauthn"'},{value:'"shipping address-line2"'},{value:'"shipping address-line2 webauthn"'},{value:'"shipping address-line3"'},{value:'"shipping address-line3 webauthn"'},{value:'"shipping bday-day"'},{value:'"shipping bday-day webauthn"'},{value:'"shipping bday-month"'},{value:'"shipping bday-month webauthn"'},{value:'"shipping bday-year"'},{value:'"shipping bday-year webauthn"'},{value:'"shipping cc-csc"'},{value:'"shipping cc-csc webauthn"'},{value:'"shipping cc-exp"'},{value:'"shipping cc-exp webauthn"'},{value:'"shipping cc-exp-month"'},{value:'"shipping cc-exp-month webauthn"'},{value:'"shipping cc-exp-year"'},{value:'"shipping cc-exp-year webauthn"'},{value:'"shipping cc-family-name"'},{value:'"shipping cc-family-name webauthn"'},{value:'"shipping cc-given-name"'},{value:'"shipping cc-given-name webauthn"'},{value:'"shipping cc-name"'},{value:'"shipping cc-name webauthn"'},{value:'"shipping cc-number"'},{value:'"shipping cc-number webauthn"'},{value:'"shipping cc-type"'},{value:'"shipping cc-type webauthn"'},{value:'"shipping country"'},{value:'"shipping country webauthn"'},{value:'"shipping country-name"'},{value:'"shipping country-name webauthn"'},{value:'"shipping family-name"'},{value:'"shipping family-name webauthn"'},{value:'"shipping given-name"'},{value:'"shipping given-name webauthn"'},{value:'"shipping honorific-prefix"'},{value:'"shipping honorific-prefix webauthn"'},{value:'"shipping honorific-suffix"'},{value:'"shipping honorific-suffix webauthn"'},{value:'"shipping one-time-code"'},{value:'"shipping one-time-code webauthn"'},{value:'"shipping organization"'},{value:'"shipping organization webauthn"'},{value:'"shipping postal-code"'},{value:'"shipping postal-code webauthn"'},{value:'"shipping street-address"'},{value:'"shipping street-address webauthn"'},{value:'"shipping transaction-amount"'},{value:'"shipping transaction-amount webauthn"'},{value:'"shipping transaction-currency"'},{value:'"shipping transaction-currency webauthn"'},{value:'"shipping email"'},{value:'"shipping email webauthn"'},{value:'"shipping tel"'},{value:'"shipping tel webauthn"'},{value:'"shipping tel-area-code"'},{value:'"shipping tel-area-code webauthn"'},{value:'"shipping tel-country-code"'},{value:'"shipping tel-country-code webauthn"'},{value:'"shipping tel-extension"'},{value:'"shipping tel-extension webauthn"'},{value:'"shipping tel-local"'},{value:'"shipping tel-local webauthn"'},{value:'"shipping tel-local-prefix"'},{value:'"shipping tel-local-prefix webauthn"'},{value:'"shipping tel-local-suffix"'},{value:'"shipping tel-local-suffix webauthn"'},{value:'"shipping tel-national"'},{value:'"shipping tel-national webauthn"'},{value:'"shipping home email"'},{value:'"shipping home email webauthn"'},{value:'"shipping home tel"'},{value:'"shipping home tel webauthn"'},{value:'"shipping home tel-area-code"'},{value:'"shipping home tel-area-code webauthn"'},{value:'"shipping home tel-country-code"'},{value:'"shipping home tel-country-code webauthn"'},{value:'"shipping home tel-extension"'},{value:'"shipping home tel-extension webauthn"'},{value:'"shipping home tel-local"'},{value:'"shipping home tel-local webauthn"'},{value:'"shipping home tel-local-prefix"'},{value:'"shipping home tel-local-prefix webauthn"'},{value:'"shipping home tel-local-suffix"'},{value:'"shipping home tel-local-suffix webauthn"'},{value:'"shipping home tel-national"'},{value:'"shipping home tel-national webauthn"'},{value:'"shipping mobile email"'},{value:'"shipping mobile email webauthn"'},{value:'"shipping mobile tel"'},{value:'"shipping mobile tel webauthn"'},{value:'"shipping mobile tel-area-code"'},{value:'"shipping mobile tel-area-code webauthn"'},{value:'"shipping mobile tel-country-code"'},{value:'"shipping mobile tel-country-code webauthn"'},{value:'"shipping mobile tel-extension"'},{value:'"shipping mobile tel-extension webauthn"'},{value:'"shipping mobile tel-local"'},{value:'"shipping mobile tel-local webauthn"'},{value:'"shipping mobile tel-local-prefix"'},{value:'"shipping mobile tel-local-prefix webauthn"'},{value:'"shipping mobile tel-local-suffix"'},{value:'"shipping mobile tel-local-suffix webauthn"'},{value:'"shipping mobile tel-national"'},{value:'"shipping mobile tel-national webauthn"'},{value:'"shipping work email"'},{value:'"shipping work email webauthn"'},{value:'"shipping work tel"'},{value:'"shipping work tel webauthn"'},{value:'"shipping work tel-area-code"'},{value:'"shipping work tel-area-code webauthn"'},{value:'"shipping work tel-country-code"'},{value:'"shipping work tel-country-code webauthn"'},{value:'"shipping work tel-extension"'},{value:'"shipping work tel-extension webauthn"'},{value:'"shipping work tel-local"'},{value:'"shipping work tel-local webauthn"'},{value:'"shipping work tel-local-prefix"'},{value:'"shipping work tel-local-prefix webauthn"'},{value:'"shipping work tel-local-suffix"'},{value:'"shipping work tel-local-suffix webauthn"'},{value:'"shipping work tel-national"'},{value:'"shipping work tel-national webauthn"'},{value:"`section-${string} name`"},{value:"`section-${string} name webauthn`"},{value:"`section-${string} new-password`"},{value:"`section-${string} new-password webauthn`"},{value:"`section-${string} current-password`"},{value:"`section-${string} current-password webauthn`"},{value:"`section-${string} username`"},{value:"`section-${string} username webauthn`"},{value:"`section-${string} additional-name`"},{value:"`section-${string} additional-name webauthn`"},{value:"`section-${string} address-level1`"},{value:"`section-${string} address-level1 webauthn`"},{value:"`section-${string} address-level2`"},{value:"`section-${string} address-level2 webauthn`"},{value:"`section-${string} address-level3`"},{value:"`section-${string} address-level3 webauthn`"},{value:"`section-${string} address-level4`"},{value:"`section-${string} address-level4 webauthn`"},{value:"`section-${string} address-line1`"},{value:"`section-${string} address-line1 webauthn`"},{value:"`section-${string} address-line2`"},{value:"`section-${string} address-line2 webauthn`"},{value:"`section-${string} address-line3`"},{value:"`section-${string} address-line3 webauthn`"},{value:"`section-${string} bday-day`"},{value:"`section-${string} bday-day webauthn`"},{value:"`section-${string} bday-month`"},{value:"`section-${string} bday-month webauthn`"},{value:"`section-${string} bday-year`"},{value:"`section-${string} bday-year webauthn`"},{value:"`section-${string} cc-csc`"},{value:"`section-${string} cc-csc webauthn`"},{value:"`section-${string} cc-exp`"},{value:"`section-${string} cc-exp webauthn`"},{value:"`section-${string} cc-exp-month`"},{value:"`section-${string} cc-exp-month webauthn`"},{value:"`section-${string} cc-exp-year`"},{value:"`section-${string} cc-exp-year webauthn`"},{value:"`section-${string} cc-family-name`"},{value:"`section-${string} cc-family-name webauthn`"},{value:"`section-${string} cc-given-name`"},{value:"`section-${string} cc-given-name webauthn`"},{value:"`section-${string} cc-name`"},{value:"`section-${string} cc-name webauthn`"},{value:"`section-${string} cc-number`"},{value:"`section-${string} cc-number webauthn`"},{value:"`section-${string} cc-type`"},{value:"`section-${string} cc-type webauthn`"},{value:"`section-${string} country`"},{value:"`section-${string} country webauthn`"},{value:"`section-${string} country-name`"},{value:"`section-${string} country-name webauthn`"},{value:"`section-${string} family-name`"},{value:"`section-${string} family-name webauthn`"},{value:"`section-${string} given-name`"},{value:"`section-${string} given-name webauthn`"},{value:"`section-${string} honorific-prefix`"},{value:"`section-${string} honorific-prefix webauthn`"},{value:"`section-${string} honorific-suffix`"},{value:"`section-${string} honorific-suffix webauthn`"},{value:"`section-${string} one-time-code`"},{value:"`section-${string} one-time-code webauthn`"},{value:"`section-${string} organization`"},{value:"`section-${string} organization webauthn`"},{value:"`section-${string} postal-code`"},{value:"`section-${string} postal-code webauthn`"},{value:"`section-${string} street-address`"},{value:"`section-${string} street-address webauthn`"},{value:"`section-${string} transaction-amount`"},{value:"`section-${string} transaction-amount webauthn`"},{value:"`section-${string} transaction-currency`"},{value:"`section-${string} transaction-currency webauthn`"},{value:"`section-${string} email`"},{value:"`section-${string} email webauthn`"},{value:"`section-${string} tel`"},{value:"`section-${string} tel webauthn`"},{value:"`section-${string} tel-area-code`"},{value:"`section-${string} tel-area-code webauthn`"},{value:"`section-${string} tel-country-code`"},{value:"`section-${string} tel-country-code webauthn`"},{value:"`section-${string} tel-extension`"},{value:"`section-${string} tel-extension webauthn`"},{value:"`section-${string} tel-local`"},{value:"`section-${string} tel-local webauthn`"},{value:"`section-${string} tel-local-prefix`"},{value:"`section-${string} tel-local-prefix webauthn`"},{value:"`section-${string} tel-local-suffix`"},{value:"`section-${string} tel-local-suffix webauthn`"},{value:"`section-${string} tel-national`"},{value:"`section-${string} tel-national webauthn`"},{value:"`section-${string} home email`"},{value:"`section-${string} home email webauthn`"},{value:"`section-${string} home tel`"},{value:"`section-${string} home tel webauthn`"},{value:"`section-${string} home tel-area-code`"},{value:"`section-${string} home tel-area-code webauthn`"},{value:"`section-${string} home tel-country-code`"},{value:"`section-${string} home tel-country-code webauthn`"},{value:"`section-${string} home tel-extension`"},{value:"`section-${string} home tel-extension webauthn`"},{value:"`section-${string} home tel-local`"},{value:"`section-${string} home tel-local webauthn`"},{value:"`section-${string} home tel-local-prefix`"},{value:"`section-${string} home tel-local-prefix webauthn`"},{value:"`section-${string} home tel-local-suffix`"},{value:"`section-${string} home tel-local-suffix webauthn`"},{value:"`section-${string} home tel-national`"},{value:"`section-${string} home tel-national webauthn`"},{value:"`section-${string} mobile email`"},{value:"`section-${string} mobile email webauthn`"},{value:"`section-${string} mobile tel`"},{value:"`section-${string} mobile tel webauthn`"},{value:"`section-${string} mobile tel-area-code`"},{value:"`section-${string} mobile tel-area-code webauthn`"},{value:"`section-${string} mobile tel-country-code`"},{value:"`section-${string} mobile tel-country-code webauthn`"},{value:"`section-${string} mobile tel-extension`"},{value:"`section-${string} mobile tel-extension webauthn`"},{value:"`section-${string} mobile tel-local`"},{value:"`section-${string} mobile tel-local webauthn`"},{value:"`section-${string} mobile tel-local-prefix`"},{value:"`section-${string} mobile tel-local-prefix webauthn`"},{value:"`section-${string} mobile tel-local-suffix`"},{value:"`section-${string} mobile tel-local-suffix webauthn`"},{value:"`section-${string} mobile tel-national`"},{value:"`section-${string} mobile tel-national webauthn`"},{value:"`section-${string} work email`"},{value:"`section-${string} work email webauthn`"},{value:"`section-${string} work tel`"},{value:"`section-${string} work tel webauthn`"},{value:"`section-${string} work tel-area-code`"},{value:"`section-${string} work tel-area-code webauthn`"},{value:"`section-${string} work tel-country-code`"},{value:"`section-${string} work tel-country-code webauthn`"},{value:"`section-${string} work tel-extension`"},{value:"`section-${string} work tel-extension webauthn`"},{value:"`section-${string} work tel-local`"},{value:"`section-${string} work tel-local webauthn`"},{value:"`section-${string} work tel-local-prefix`"},{value:"`section-${string} work tel-local-prefix webauthn`"},{value:"`section-${string} work tel-local-suffix`"},{value:"`section-${string} work tel-local-suffix webauthn`"},{value:"`section-${string} work tel-national`"},{value:"`section-${string} work tel-national webauthn`"},{value:"`section-${string} billing name`"},{value:"`section-${string} billing name webauthn`"},{value:"`section-${string} billing new-password`"},{value:"`section-${string} billing new-password webauthn`"},{value:"`section-${string} billing current-password`"},{value:"`section-${string} billing current-password webauthn`"},{value:"`section-${string} billing username`"},{value:"`section-${string} billing username webauthn`"},{value:"`section-${string} billing additional-name`"},{value:"`section-${string} billing additional-name webauthn`"},{value:"`section-${string} billing address-level1`"},{value:"`section-${string} billing address-level1 webauthn`"},{value:"`section-${string} billing address-level2`"},{value:"`section-${string} billing address-level2 webauthn`"},{value:"`section-${string} billing address-level3`"},{value:"`section-${string} billing address-level3 webauthn`"},{value:"`section-${string} billing address-level4`"},{value:"`section-${string} billing address-level4 webauthn`"},{value:"`section-${string} billing address-line1`"},{value:"`section-${string} billing address-line1 webauthn`"},{value:"`section-${string} billing address-line2`"},{value:"`section-${string} billing address-line2 webauthn`"},{value:"`section-${string} billing address-line3`"},{value:"`section-${string} billing address-line3 webauthn`"},{value:"`section-${string} billing bday-day`"},{value:"`section-${string} billing bday-day webauthn`"},{value:"`section-${string} billing bday-month`"},{value:"`section-${string} billing bday-month webauthn`"},{value:"`section-${string} billing bday-year`"},{value:"`section-${string} billing bday-year webauthn`"},{value:"`section-${string} billing cc-csc`"},{value:"`section-${string} billing cc-csc webauthn`"},{value:"`section-${string} billing cc-exp`"},{value:"`section-${string} billing cc-exp webauthn`"},{value:"`section-${string} billing cc-exp-month`"},{value:"`section-${string} billing cc-exp-month webauthn`"},{value:"`section-${string} billing cc-exp-year`"},{value:"`section-${string} billing cc-exp-year webauthn`"},{value:"`section-${string} billing cc-family-name`"},{value:"`section-${string} billing cc-family-name webauthn`"},{value:"`section-${string} billing cc-given-name`"},{value:"`section-${string} billing cc-given-name webauthn`"},{value:"`section-${string} billing cc-name`"},{value:"`section-${string} billing cc-name webauthn`"},{value:"`section-${string} billing cc-number`"},{value:"`section-${string} billing cc-number webauthn`"},{value:"`section-${string} billing cc-type`"},{value:"`section-${string} billing cc-type webauthn`"},{value:"`section-${string} billing country`"},{value:"`section-${string} billing country webauthn`"},{value:"`section-${string} billing country-name`"},{value:"`section-${string} billing country-name webauthn`"},{value:"`section-${string} billing family-name`"},{value:"`section-${string} billing family-name webauthn`"},{value:"`section-${string} billing given-name`"},{value:"`section-${string} billing given-name webauthn`"},{value:"`section-${string} billing honorific-prefix`"},{value:"`section-${string} billing honorific-prefix webauthn`"},{value:"`section-${string} billing honorific-suffix`"},{value:"`section-${string} billing honorific-suffix webauthn`"},{value:"`section-${string} billing one-time-code`"},{value:"`section-${string} billing one-time-code webauthn`"},{value:"`section-${string} billing organization`"},{value:"`section-${string} billing organization webauthn`"},{value:"`section-${string} billing postal-code`"},{value:"`section-${string} billing postal-code webauthn`"},{value:"`section-${string} billing street-address`"},{value:"`section-${string} billing street-address webauthn`"},{value:"`section-${string} billing transaction-amount`"},{value:"`section-${string} billing transaction-amount webauthn`"},{value:"`section-${string} billing transaction-currency`"},{value:"`section-${string} billing transaction-currency webauthn`"},{value:"`section-${string} billing email`"},{value:"`section-${string} billing email webauthn`"},{value:"`section-${string} billing tel`"},{value:"`section-${string} billing tel webauthn`"},{value:"`section-${string} billing tel-area-code`"},{value:"`section-${string} billing tel-area-code webauthn`"},{value:"`section-${string} billing tel-country-code`"},{value:"`section-${string} billing tel-country-code webauthn`"},{value:"`section-${string} billing tel-extension`"},{value:"`section-${string} billing tel-extension webauthn`"},{value:"`section-${string} billing tel-local`"},{value:"`section-${string} billing tel-local webauthn`"},{value:"`section-${string} billing tel-local-prefix`"},{value:"`section-${string} billing tel-local-prefix webauthn`"},{value:"`section-${string} billing tel-local-suffix`"},{value:"`section-${string} billing tel-local-suffix webauthn`"},{value:"`section-${string} billing tel-national`"},{value:"`section-${string} billing tel-national webauthn`"},{value:"`section-${string} billing home email`"},{value:"`section-${string} billing home email webauthn`"},{value:"`section-${string} billing home tel`"},{value:"`section-${string} billing home tel webauthn`"},{value:"`section-${string} billing home tel-area-code`"},{value:"`section-${string} billing home tel-area-code webauthn`"},{value:"`section-${string} billing home tel-country-code`"},{value:"`section-${string} billing home tel-country-code webauthn`"},{value:"`section-${string} billing home tel-extension`"},{value:"`section-${string} billing home tel-extension webauthn`"},{value:"`section-${string} billing home tel-local`"},{value:"`section-${string} billing home tel-local webauthn`"},{value:"`section-${string} billing home tel-local-prefix`"},{value:"`section-${string} billing home tel-local-prefix webauthn`"},{value:"`section-${string} billing home tel-local-suffix`"},{value:"`section-${string} billing home tel-local-suffix webauthn`"},{value:"`section-${string} billing home tel-national`"},{value:"`section-${string} billing home tel-national webauthn`"},{value:"`section-${string} billing mobile email`"},{value:"`section-${string} billing mobile email webauthn`"},{value:"`section-${string} billing mobile tel`"},{value:"`section-${string} billing mobile tel webauthn`"},{value:"`section-${string} billing mobile tel-area-code`"},{value:"`section-${string} billing mobile tel-area-code webauthn`"},{value:"`section-${string} billing mobile tel-country-code`"},{value:"`section-${string} billing mobile tel-country-code webauthn`"},{value:"`section-${string} billing mobile tel-extension`"},{value:"`section-${string} billing mobile tel-extension webauthn`"},{value:"`section-${string} billing mobile tel-local`"},{value:"`section-${string} billing mobile tel-local webauthn`"},{value:"`section-${string} billing mobile tel-local-prefix`"},{value:"`section-${string} billing mobile tel-local-prefix webauthn`"},{value:"`section-${string} billing mobile tel-local-suffix`"},{value:"`section-${string} billing mobile tel-local-suffix webauthn`"},{value:"`section-${string} billing mobile tel-national`"},{value:"`section-${string} billing mobile tel-national webauthn`"},{value:"`section-${string} billing work email`"},{value:"`section-${string} billing work email webauthn`"},{value:"`section-${string} billing work tel`"},{value:"`section-${string} billing work tel webauthn`"},{value:"`section-${string} billing work tel-area-code`"},{value:"`section-${string} billing work tel-area-code webauthn`"},{value:"`section-${string} billing work tel-country-code`"},{value:"`section-${string} billing work tel-country-code webauthn`"},{value:"`section-${string} billing work tel-extension`"},{value:"`section-${string} billing work tel-extension webauthn`"},{value:"`section-${string} billing work tel-local`"},{value:"`section-${string} billing work tel-local webauthn`"},{value:"`section-${string} billing work tel-local-prefix`"},{value:"`section-${string} billing work tel-local-prefix webauthn`"},{value:"`section-${string} billing work tel-local-suffix`"},{value:"`section-${string} billing work tel-local-suffix webauthn`"},{value:"`section-${string} billing work tel-national`"},{value:"`section-${string} billing work tel-national webauthn`"},{value:"`section-${string} shipping name`"},{value:"`section-${string} shipping name webauthn`"},{value:"`section-${string} shipping new-password`"},{value:"`section-${string} shipping new-password webauthn`"},{value:"`section-${string} shipping current-password`"},{value:"`section-${string} shipping current-password webauthn`"},{value:"`section-${string} shipping username`"},{value:"`section-${string} shipping username webauthn`"},{value:"`section-${string} shipping additional-name`"},{value:"`section-${string} shipping additional-name webauthn`"},{value:"`section-${string} shipping address-level1`"},{value:"`section-${string} shipping address-level1 webauthn`"},{value:"`section-${string} shipping address-level2`"},{value:"`section-${string} shipping address-level2 webauthn`"},{value:"`section-${string} shipping address-level3`"},{value:"`section-${string} shipping address-level3 webauthn`"},{value:"`section-${string} shipping address-level4`"},{value:"`section-${string} shipping address-level4 webauthn`"},{value:"`section-${string} shipping address-line1`"},{value:"`section-${string} shipping address-line1 webauthn`"},{value:"`section-${string} shipping address-line2`"},{value:"`section-${string} shipping address-line2 webauthn`"},{value:"`section-${string} shipping address-line3`"},{value:"`section-${string} shipping address-line3 webauthn`"},{value:"`section-${string} shipping bday-day`"},{value:"`section-${string} shipping bday-day webauthn`"},{value:"`section-${string} shipping bday-month`"},{value:"`section-${string} shipping bday-month webauthn`"},{value:"`section-${string} shipping bday-year`"},{value:"`section-${string} shipping bday-year webauthn`"},{value:"`section-${string} shipping cc-csc`"},{value:"`section-${string} shipping cc-csc webauthn`"},{value:"`section-${string} shipping cc-exp`"},{value:"`section-${string} shipping cc-exp webauthn`"},{value:"`section-${string} shipping cc-exp-month`"},{value:"`section-${string} shipping cc-exp-month webauthn`"},{value:"`section-${string} shipping cc-exp-year`"},{value:"`section-${string} shipping cc-exp-year webauthn`"},{value:"`section-${string} shipping cc-family-name`"},{value:"`section-${string} shipping cc-family-name webauthn`"},{value:"`section-${string} shipping cc-given-name`"},{value:"`section-${string} shipping cc-given-name webauthn`"},{value:"`section-${string} shipping cc-name`"},{value:"`section-${string} shipping cc-name webauthn`"},{value:"`section-${string} shipping cc-number`"},{value:"`section-${string} shipping cc-number webauthn`"},{value:"`section-${string} shipping cc-type`"},{value:"`section-${string} shipping cc-type webauthn`"},{value:"`section-${string} shipping country`"},{value:"`section-${string} shipping country webauthn`"},{value:"`section-${string} shipping country-name`"},{value:"`section-${string} shipping country-name webauthn`"},{value:"`section-${string} shipping family-name`"},{value:"`section-${string} shipping family-name webauthn`"},{value:"`section-${string} shipping given-name`"},{value:"`section-${string} shipping given-name webauthn`"},{value:"`section-${string} shipping honorific-prefix`"},{value:"`section-${string} shipping honorific-prefix webauthn`"},{value:"`section-${string} shipping honorific-suffix`"},{value:"`section-${string} shipping honorific-suffix webauthn`"},{value:"`section-${string} shipping one-time-code`"},{value:"`section-${string} shipping one-time-code webauthn`"},{value:"`section-${string} shipping organization`"},{value:"`section-${string} shipping organization webauthn`"},{value:"`section-${string} shipping postal-code`"},{value:"`section-${string} shipping postal-code webauthn`"},{value:"`section-${string} shipping street-address`"},{value:"`section-${string} shipping street-address webauthn`"},{value:"`section-${string} shipping transaction-amount`"},{value:"`section-${string} shipping transaction-amount webauthn`"},{value:"`section-${string} shipping transaction-currency`"},{value:"`section-${string} shipping transaction-currency webauthn`"},{value:"`section-${string} shipping email`"},{value:"`section-${string} shipping email webauthn`"},{value:"`section-${string} shipping tel`"},{value:"`section-${string} shipping tel webauthn`"},{value:"`section-${string} shipping tel-area-code`"},{value:"`section-${string} shipping tel-area-code webauthn`"},{value:"`section-${string} shipping tel-country-code`"},{value:"`section-${string} shipping tel-country-code webauthn`"},{value:"`section-${string} shipping tel-extension`"},{value:"`section-${string} shipping tel-extension webauthn`"},{value:"`section-${string} shipping tel-local`"},{value:"`section-${string} shipping tel-local webauthn`"},{value:"`section-${string} shipping tel-local-prefix`"},{value:"`section-${string} shipping tel-local-prefix webauthn`"},{value:"`section-${string} shipping tel-local-suffix`"},{value:"`section-${string} shipping tel-local-suffix webauthn`"},{value:"`section-${string} shipping tel-national`"},{value:"`section-${string} shipping tel-national webauthn`"},{value:"`section-${string} shipping home email`"},{value:"`section-${string} shipping home email webauthn`"},{value:"`section-${string} shipping home tel`"},{value:"`section-${string} shipping home tel webauthn`"},{value:"`section-${string} shipping home tel-area-code`"},{value:"`section-${string} shipping home tel-area-code webauthn`"},{value:"`section-${string} shipping home tel-country-code`"},{value:"`section-${string} shipping home tel-country-code webauthn`"},{value:"`section-${string} shipping home tel-extension`"},{value:"`section-${string} shipping home tel-extension webauthn`"},{value:"`section-${string} shipping home tel-local`"},{value:"`section-${string} shipping home tel-local webauthn`"},{value:"`section-${string} shipping home tel-local-prefix`"},{value:"`section-${string} shipping home tel-local-prefix webauthn`"},{value:"`section-${string} shipping home tel-local-suffix`"},{value:"`section-${string} shipping home tel-local-suffix webauthn`"},{value:"`section-${string} shipping home tel-national`"},{value:"`section-${string} shipping home tel-national webauthn`"},{value:"`section-${string} shipping mobile email`"},{value:"`section-${string} shipping mobile email webauthn`"},{value:"`section-${string} shipping mobile tel`"},{value:"`section-${string} shipping mobile tel webauthn`"},{value:"`section-${string} shipping mobile tel-area-code`"},{value:"`section-${string} shipping mobile tel-area-code webauthn`"},{value:"`section-${string} shipping mobile tel-country-code`"},{value:"`section-${string} shipping mobile tel-country-code webauthn`"},{value:"`section-${string} shipping mobile tel-extension`"},{value:"`section-${string} shipping mobile tel-extension webauthn`"},{value:"`section-${string} shipping mobile tel-local`"},{value:"`section-${string} shipping mobile tel-local webauthn`"},{value:"`section-${string} shipping mobile tel-local-prefix`"},{value:"`section-${string} shipping mobile tel-local-prefix webauthn`"},{value:"`section-${string} shipping mobile tel-local-suffix`"},{value:"`section-${string} shipping mobile tel-local-suffix webauthn`"},{value:"`section-${string} shipping mobile tel-national`"},{value:"`section-${string} shipping mobile tel-national webauthn`"},{value:"`section-${string} shipping work email`"},{value:"`section-${string} shipping work email webauthn`"},{value:"`section-${string} shipping work tel`"},{value:"`section-${string} shipping work tel webauthn`"},{value:"`section-${string} shipping work tel-area-code`"},{value:"`section-${string} shipping work tel-area-code webauthn`"},{value:"`section-${string} shipping work tel-country-code`"},{value:"`section-${string} shipping work tel-country-code webauthn`"},{value:"`section-${string} shipping work tel-extension`"},{value:"`section-${string} shipping work tel-extension webauthn`"},{value:"`section-${string} shipping work tel-local`"},{value:"`section-${string} shipping work tel-local webauthn`"},{value:"`section-${string} shipping work tel-local-prefix`"},{value:"`section-${string} shipping work tel-local-prefix webauthn`"},{value:"`section-${string} shipping work tel-local-suffix`"},{value:"`section-${string} shipping work tel-local-suffix webauthn`"},{value:"`section-${string} shipping work tel-national`"},{value:"`section-${string} shipping work tel-national webauthn`"}]}},capture:{defaultValue:null,description:"",name:"capture",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"user"'},{value:'"environment"'}]}},checked:{defaultValue:null,description:"",name:"checked",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},form:{defaultValue:null,description:"",name:"form",required:!1,type:{name:"enum",value:[{value:"string"}]}},formAction:{defaultValue:null,description:"",name:"formAction",required:!1,type:{name:"enum",value:[{value:"string"}]}},formEncType:{defaultValue:null,description:"",name:"formEncType",required:!1,type:{name:"enum",value:[{value:"string"}]}},formMethod:{defaultValue:null,description:"",name:"formMethod",required:!1,type:{name:"enum",value:[{value:"string"}]}},formNoValidate:{defaultValue:null,description:"",name:"formNoValidate",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},formTarget:{defaultValue:null,description:"",name:"formTarget",required:!1,type:{name:"enum",value:[{value:"string"}]}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},list:{defaultValue:null,description:"",name:"list",required:!1,type:{name:"enum",value:[{value:"string"}]}},max:{defaultValue:null,description:"",name:"max",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},maxLength:{defaultValue:null,description:"",name:"maxLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},min:{defaultValue:null,description:"",name:"min",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},minLength:{defaultValue:null,description:"",name:"minLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},multiple:{defaultValue:null,description:"",name:"multiple",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"enum",value:[{value:"string"}]}},pattern:{defaultValue:null,description:"",name:"pattern",required:!1,type:{name:"enum",value:[{value:"string"}]}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"enum",value:[{value:"string"}]}},readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:"number"}]}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"enum",value:[{value:"string"}]}},step:{defaultValue:null,description:"",name:"step",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"number"'},{value:'"color"'},{value:'"url"'},{value:'"text"'},{value:'"button"'},{value:'"search"'},{value:'"time"'},{value:'"hidden"'},{value:'"email"'},{value:'"tel"'},{value:'"checkbox"'},{value:'"radio"'},{value:"string & {}"},{value:'"date"'},{value:'"datetime-local"'},{value:'"file"'},{value:'"image"'},{value:'"month"'},{value:'"password"'},{value:'"range"'},{value:'"reset"'},{value:'"submit"'},{value:'"week"'}]}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"},{value:"readonly string[]"}]}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"enum",value:[{value:"ChangeEventHandler<HTMLInputElement>"}]}},defaultChecked:{defaultValue:null,description:"",name:"defaultChecked",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"enum",value:[{value:"string"},{value:"number"},{value:"readonly string[]"}]}},suppressContentEditableWarning:{defaultValue:null,description:"",name:"suppressContentEditableWarning",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},suppressHydrationWarning:{defaultValue:null,description:"",name:"suppressHydrationWarning",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},accessKey:{defaultValue:null,description:"",name:"accessKey",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoCapitalize:{defaultValue:null,description:"",name:"autoCapitalize",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"off"'},{value:'"on"'},{value:"string & {}"},{value:'"sentences"'},{value:'"words"'},{value:'"characters"'}]}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"enum",value:[{value:"string"}]}},contentEditable:{defaultValue:null,description:"",name:"contentEditable",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'},{value:'"inherit"'},{value:'"plaintext-only"'}]}},contextMenu:{defaultValue:null,description:"",name:"contextMenu",required:!1,type:{name:"enum",value:[{value:"string"}]}},dir:{defaultValue:null,description:"",name:"dir",required:!1,type:{name:"enum",value:[{value:"string"}]}},draggable:{defaultValue:null,description:"",name:"draggable",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},enterKeyHint:{defaultValue:null,description:"",name:"enterKeyHint",required:!1,type:{name:"enum",value:[{value:'"search"'},{value:'"enter"'},{value:'"done"'},{value:'"go"'},{value:'"next"'},{value:'"previous"'},{value:'"send"'}]}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"enum",value:[{value:"string"}]}},lang:{defaultValue:null,description:"",name:"lang",required:!1,type:{name:"enum",value:[{value:"string"}]}},nonce:{defaultValue:null,description:"",name:"nonce",required:!1,type:{name:"enum",value:[{value:"string"}]}},slot:{defaultValue:null,description:"",name:"slot",required:!1,type:{name:"enum",value:[{value:"string"}]}},spellCheck:{defaultValue:null,description:"",name:"spellCheck",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"enum",value:[{value:"CSSProperties"}]}},tabIndex:{defaultValue:null,description:"",name:"tabIndex",required:!1,type:{name:"enum",value:[{value:"number"}]}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"enum",value:[{value:"string"}]}},translate:{defaultValue:null,description:"",name:"translate",required:!1,type:{name:"enum",value:[{value:'"yes"'},{value:'"no"'}]}},radioGroup:{defaultValue:null,description:"",name:"radioGroup",required:!1,type:{name:"enum",value:[{value:"string"}]}},role:{defaultValue:null,description:"",name:"role",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"row"'},{value:'"main"'},{value:'"article"'},{value:'"table"'},{value:'"figure"'},{value:'"button"'},{value:'"dialog"'},{value:'"form"'},{value:'"img"'},{value:'"link"'},{value:'"menu"'},{value:'"menuitem"'},{value:'"option"'},{value:'"search"'},{value:'"alert"'},{value:'"alertdialog"'},{value:'"application"'},{value:'"banner"'},{value:'"cell"'},{value:'"checkbox"'},{value:'"columnheader"'},{value:'"combobox"'},{value:'"complementary"'},{value:'"contentinfo"'},{value:'"definition"'},{value:'"directory"'},{value:'"document"'},{value:'"feed"'},{value:'"grid"'},{value:'"gridcell"'},{value:'"group"'},{value:'"heading"'},{value:'"list"'},{value:'"listbox"'},{value:'"listitem"'},{value:'"log"'},{value:'"marquee"'},{value:'"math"'},{value:'"menubar"'},{value:'"menuitemcheckbox"'},{value:'"menuitemradio"'},{value:'"navigation"'},{value:'"note"'},{value:'"presentation"'},{value:'"progressbar"'},{value:'"radio"'},{value:'"radiogroup"'},{value:'"region"'},{value:'"rowgroup"'},{value:'"rowheader"'},{value:'"scrollbar"'},{value:'"searchbox"'},{value:'"separator"'},{value:'"slider"'},{value:'"spinbutton"'},{value:'"status"'},{value:'"switch"'},{value:'"tab"'},{value:'"tablist"'},{value:'"tabpanel"'},{value:'"term"'},{value:'"textbox"'},{value:'"timer"'},{value:'"toolbar"'},{value:'"tooltip"'},{value:'"tree"'},{value:'"treegrid"'},{value:'"treeitem"'},{value:"string & {}"}]}},about:{defaultValue:null,description:"",name:"about",required:!1,type:{name:"enum",value:[{value:"string"}]}},content:{defaultValue:null,description:"",name:"content",required:!1,type:{name:"enum",value:[{value:"string"}]}},datatype:{defaultValue:null,description:"",name:"datatype",required:!1,type:{name:"enum",value:[{value:"string"}]}},inlist:{defaultValue:null,description:"",name:"inlist",required:!1,type:{name:"any"}},prefix:{defaultValue:null,description:"",name:"prefix",required:!1,type:{name:"enum",value:[{value:"string"}]}},property:{defaultValue:null,description:"",name:"property",required:!1,type:{name:"enum",value:[{value:"string"}]}},rel:{defaultValue:null,description:"",name:"rel",required:!1,type:{name:"enum",value:[{value:"string"}]}},resource:{defaultValue:null,description:"",name:"resource",required:!1,type:{name:"enum",value:[{value:"string"}]}},rev:{defaultValue:null,description:"",name:"rev",required:!1,type:{name:"enum",value:[{value:"string"}]}},typeof:{defaultValue:null,description:"",name:"typeof",required:!1,type:{name:"enum",value:[{value:"string"}]}},vocab:{defaultValue:null,description:"",name:"vocab",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoCorrect:{defaultValue:null,description:"",name:"autoCorrect",required:!1,type:{name:"enum",value:[{value:"string"}]}},autoSave:{defaultValue:null,description:"",name:"autoSave",required:!1,type:{name:"enum",value:[{value:"string"}]}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemProp:{defaultValue:null,description:"",name:"itemProp",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemScope:{defaultValue:null,description:"",name:"itemScope",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},itemType:{defaultValue:null,description:"",name:"itemType",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemID:{defaultValue:null,description:"",name:"itemID",required:!1,type:{name:"enum",value:[{value:"string"}]}},itemRef:{defaultValue:null,description:"",name:"itemRef",required:!1,type:{name:"enum",value:[{value:"string"}]}},results:{defaultValue:null,description:"",name:"results",required:!1,type:{name:"enum",value:[{value:"number"}]}},security:{defaultValue:null,description:"",name:"security",required:!1,type:{name:"enum",value:[{value:"string"}]}},unselectable:{defaultValue:null,description:"",name:"unselectable",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"on"'}]}},inputMode:{defaultValue:null,description:`Hints at the type of data that might be entered by the user while editing the element or its contents
|
3
|
+
@see {@link https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute}`,name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"url"'},{value:'"none"'},{value:'"text"'},{value:'"search"'},{value:'"email"'},{value:'"tel"'},{value:'"numeric"'},{value:'"decimal"'}]}},is:{defaultValue:null,description:`Specify that a standard HTML element should behave like a defined custom built-in element
|
4
4
|
@see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is}`,name:"is",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-activedescendant":{defaultValue:null,description:"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",name:"aria-activedescendant",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-atomic":{defaultValue:null,description:"Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",name:"aria-atomic",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-autocomplete":{defaultValue:null,description:`Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
|
5
|
-
presented if they are made.`,name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"
|
5
|
+
presented if they are made.`,name:"aria-autocomplete",required:!1,type:{name:"enum",value:[{value:'"inline"'},{value:'"none"'},{value:'"both"'},{value:'"list"'}]}},"aria-braillelabel":{defaultValue:null,description:`Defines a string value that labels the current element, which is intended to be converted into Braille.
|
6
6
|
@see aria-label.`,name:"aria-braillelabel",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-brailleroledescription":{defaultValue:null,description:`Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
|
7
7
|
@see aria-roledescription.`,name:"aria-brailleroledescription",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-busy":{defaultValue:null,description:"",name:"aria-busy",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-checked":{defaultValue:null,description:`Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
8
8
|
@see aria-pressed
|
@@ -13,7 +13,7 @@ presented if they are made.`,name:"aria-autocomplete",required:!1,type:{name:"en
|
|
13
13
|
@see aria-rowindextext.`,name:"aria-colindextext",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-colspan":{defaultValue:null,description:`Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
14
14
|
@see aria-colindex
|
15
15
|
@see aria-rowspan.`,name:"aria-colspan",required:!1,type:{name:"enum",value:[{value:"number"}]}},"aria-controls":{defaultValue:null,description:`Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
16
|
-
@see aria-owns.`,name:"aria-controls",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-current":{defaultValue:null,description:"Indicates the element that represents the current item within a container or set of related elements.",name:"aria-current",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"
|
16
|
+
@see aria-owns.`,name:"aria-controls",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-current":{defaultValue:null,description:"Indicates the element that represents the current item within a container or set of related elements.",name:"aria-current",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"step"'},{value:'"time"'},{value:'"true"'},{value:'"false"'},{value:'"date"'},{value:'"page"'},{value:'"location"'}]}},"aria-describedby":{defaultValue:null,description:`Identifies the element (or elements) that describes the object.
|
17
17
|
@see aria-labelledby`,name:"aria-describedby",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-description":{defaultValue:null,description:`Defines a string value that describes or annotates the current element.
|
18
18
|
@see related aria-describedby.`,name:"aria-description",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-details":{defaultValue:null,description:`Identifies the element that provides a detailed, extended description for the object.
|
19
19
|
@see aria-describedby.`,name:"aria-details",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-disabled":{defaultValue:null,description:`Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
@@ -23,11 +23,11 @@ presented if they are made.`,name:"aria-autocomplete",required:!1,type:{name:"en
|
|
23
23
|
@see aria-invalid
|
24
24
|
@see aria-describedby.`,name:"aria-errormessage",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-expanded":{defaultValue:null,description:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.",name:"aria-expanded",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-flowto":{defaultValue:null,description:`Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
25
25
|
allows assistive technology to override the general default of reading in document source order.`,name:"aria-flowto",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-grabbed":{defaultValue:null,description:`Indicates an element's "grabbed" state in a drag-and-drop operation.
|
26
|
-
@deprecated in ARIA 1.1`,name:"aria-grabbed",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-haspopup":{defaultValue:null,description:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",name:"aria-haspopup",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"
|
26
|
+
@deprecated in ARIA 1.1`,name:"aria-grabbed",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-haspopup":{defaultValue:null,description:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",name:"aria-haspopup",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"dialog"'},{value:'"menu"'},{value:'"grid"'},{value:'"listbox"'},{value:'"tree"'},{value:'"true"'},{value:'"false"'}]}},"aria-hidden":{defaultValue:null,description:`Indicates whether the element is exposed to an accessibility API.
|
27
27
|
@see aria-disabled.`,name:"aria-hidden",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-invalid":{defaultValue:null,description:`Indicates the entered value does not conform to the format expected by the application.
|
28
28
|
@see aria-errormessage.`,name:"aria-invalid",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'},{value:'"grammar"'},{value:'"spelling"'}]}},"aria-keyshortcuts":{defaultValue:null,description:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.",name:"aria-keyshortcuts",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-label":{defaultValue:null,description:`Defines a string value that labels the current element.
|
29
29
|
@see aria-labelledby.`,name:"aria-label",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-labelledby":{defaultValue:null,description:`Identifies the element (or elements) that labels the current element.
|
30
|
-
@see aria-describedby.`,name:"aria-labelledby",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-level":{defaultValue:null,description:"Defines the hierarchical level of an element within a structure.",name:"aria-level",required:!1,type:{name:"enum",value:[{value:"number"}]}},"aria-live":{defaultValue:null,description:"Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",name:"aria-live",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"assertive"'},{value:'"polite"'}]}},"aria-modal":{defaultValue:null,description:"Indicates whether an element is modal when displayed.",name:"aria-modal",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-multiline":{defaultValue:null,description:"Indicates whether a text box accepts multiple lines of input or only a single line.",name:"aria-multiline",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-multiselectable":{defaultValue:null,description:"Indicates that the user may select more than one item from the current selectable descendants.",name:"aria-multiselectable",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-orientation":{defaultValue:null,description:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",name:"aria-orientation",required:!1,type:{name:"enum",value:[{value:'"
|
30
|
+
@see aria-describedby.`,name:"aria-labelledby",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-level":{defaultValue:null,description:"Defines the hierarchical level of an element within a structure.",name:"aria-level",required:!1,type:{name:"enum",value:[{value:"number"}]}},"aria-live":{defaultValue:null,description:"Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",name:"aria-live",required:!1,type:{name:"enum",value:[{value:'"off"'},{value:'"assertive"'},{value:'"polite"'}]}},"aria-modal":{defaultValue:null,description:"Indicates whether an element is modal when displayed.",name:"aria-modal",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-multiline":{defaultValue:null,description:"Indicates whether a text box accepts multiple lines of input or only a single line.",name:"aria-multiline",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-multiselectable":{defaultValue:null,description:"Indicates that the user may select more than one item from the current selectable descendants.",name:"aria-multiselectable",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-orientation":{defaultValue:null,description:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",name:"aria-orientation",required:!1,type:{name:"enum",value:[{value:'"vertical"'},{value:'"horizontal"'}]}},"aria-owns":{defaultValue:null,description:`Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
|
31
31
|
between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
|
32
32
|
@see aria-controls.`,name:"aria-owns",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-placeholder":{defaultValue:null,description:`Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
|
33
33
|
A hint could be a sample value or a brief description of the expected format.`,name:"aria-placeholder",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-posinset":{defaultValue:null,description:`Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
@@ -0,0 +1 @@
|
|
1
|
+
.container__hc6MA{width:100%;position:relative}@media (hover: hover) and (pointer: fine){.container__hc6MA:hover .input__N1pCx{border-color:var(--11d206)}}.container__hc6MA .icon__m5GPy{position:absolute;left:calc(var(--558c4c) - var(--d9baa3));top:50%;transform:translateY(-50%);color:var(--cbc724);pointer-events:none}.container__hc6MA .trailingIcon__-r3dh{position:absolute;right:calc(var(--558c4c) - var(--d9baa3));top:50%;transform:translateY(-50%);color:var(--cbc724);pointer-events:none}.container__hc6MA .button__CDUKk{position:absolute;right:var(--590b8d);top:50%;transform:translateY(-50%)}.container__hc6MA:has(>.icon__m5GPy) .input__N1pCx{padding-left:calc(calc(var(--558c4c) - var(--d9baa3)) + var(--1e685c) + var(--66b80b))}.container__hc6MA:has(>.button__CDUKk) .input__N1pCx{padding-right:58px}.container__hc6MA:has(>.trailingIcon__-r3dh) .input__N1pCx{padding-right:calc(calc(var(--558c4c) - var(--d9baa3)) + var(--1e685c) + var(--66b80b))}.container__hc6MA:has(>.input__N1pCx[aria-invalid=true]) .icon__m5GPy{color:var(--7b0f41)}.input__N1pCx{display:block;width:100%;box-sizing:border-box;padding:calc(var(--d9baa3) + var(--66b80b)) calc(var(--558c4c) - var(--d9baa3));border:var(--d9baa3) solid var(--29cd58);border-radius:var(--fa4b1a);font-size:var(--7f027e);line-height:var(--11f5c9);font-weight:var(--59913e);letter-spacing:var(--b2e406);scroll-margin-top:var(--ds-input-scroll-margin-top)}.input__N1pCx::placeholder{color:var(--d9209f)}.input__N1pCx:focus{outline:var(--398094) auto var(--d9baa3)}.input__N1pCx:disabled,.input__N1pCx:disabled:hover{border-color:transparent;background-color:var(--04daeb)}.input__N1pCx[aria-invalid=true]{border-color:var(--7b0f41);background-color:var(--95df5b);color:var(--7b0f41)}.input__N1pCx:is(input[type=number]){-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.input__N1pCx:is(input[type=number])::-webkit-outer-spin-button,.input__N1pCx:is(input[type=number])::-webkit-inner-spin-button{-webkit-appearance:none;margin:var(--d434fb)}.input__N1pCx:is(select){-webkit-appearance:none;-moz-appearance:none;appearance:none}.input__N1pCx:is(select)[data-empty=true]{color:var(--d9209f)}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import{j as w}from"./jsx-runtime-BYouaCF_.js";import{e as U}from"./index-B3evPFBL.js";import{f as Bt,w as Et,u as M,a as Ye,e as $}from"./index-DDyIDR-R.js";import{L as Ke}from"./LayoutFlex-CDxj6nng.js";import{H as Dt}from"./Heading-sy1TMpjs.js";import{T as Ze}from"./TextField-CErKn01e.js";import{N as Rt}from"./NumberField-DtZiz9gx.js";import{S as Tt,a as J}from"./SelectField-DjLknbw4.js";import{P as Ge}from"./PasswordField-DmJwowu1.js";import{T as Ct}from"./TextareaField-CXN-lN3Y.js";import{F as Ot}from"./FormControl-DD3JEwg1.js";import{C as Lt}from"./Checkbox-DH5o6aup.js";import{B as Qe}from"./Button-CcY3QSgD.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./filterAttributesPassedByRadixUIAtRuntime-B7QTVwVw.js";import"./layout-relative.module-ed9bC4H4.js";import"./classNames-BUL1Zq7e.js";import"./defaults-B1rzzf6M.js";import"./index-DdzHuZ-Y.js";import"./componentNames-CVVyamkx.js";import"./text-accent-DZDDtpIt.js";import"./text-centered-CznToR0o.js";import"./Input-Br6FM_ov.js";import"./InputContainer-C1TOTxt4.js";import"./TokyoUIExpand-DThzqohx.js";import"./Icon-DLiSwEfT.js";import"./render-icon-CVTdrNe-.js";import"./TokyoUIEye-BsOt8ZdC.js";import"./FieldButton-xxvyfVcj.js";import"./index-BfBdt3zW.js";import"./tslib.es6-BntfKcQG.js";import"./hoist-non-react-statics.cjs-C-Qo8PK8.js";import"./useMergeRefs-BKVZOB6R.js";import"./index-DRKYGVyc.js";import"./message-BraTJ16C.js";import"./useMergeRefs-CeyIhNgY.js";import"./ButtonBase-CiON5Gq9.js";import"./Spinner-BCTJunNM.js";import"./useHostname-CH18gHFj.js";import"./index-CC6DAVyL.js";var he=e=>e.type==="checkbox",oe=e=>e instanceof Date,C=e=>e==null;const mt=e=>typeof e=="object";var _=e=>!C(e)&&!Array.isArray(e)&&mt(e)&&!oe(e),qt=e=>_(e)&&e.target?he(e.target)?e.target.checked:e.target.value:e,Nt=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,jt=(e,s)=>e.has(Nt(s)),Ut=e=>{const s=e.constructor&&e.constructor.prototype;return _(s)&&s.hasOwnProperty("isPrototypeOf")},Ce=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function j(e){let s;const r=Array.isArray(e),i=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)s=new Date(e);else if(e instanceof Set)s=new Set(e);else if(!(Ce&&(e instanceof Blob||i))&&(r||_(e)))if(s=r?[]:{},!r&&!Ut(e))s=e;else for(const n in e)e.hasOwnProperty(n)&&(s[n]=j(e[n]));else return e;return s}var Se=e=>Array.isArray(e)?e.filter(Boolean):[],S=e=>e===void 0,y=(e,s,r)=>{if(!s||!_(e))return r;const i=Se(s.split(/[,[\].]+?/)).reduce((n,l)=>C(n)?n:n[l],e);return S(i)||i===e?S(e[s])?r:e[s]:i},z=e=>typeof e=="boolean",Oe=e=>/^\w*$/.test(e),gt=e=>Se(e.replace(/["|']|\]/g,"").split(/\.|\[/)),A=(e,s,r)=>{let i=-1;const n=Oe(s)?[s]:gt(s),l=n.length,f=l-1;for(;++i<l;){const m=n[i];let D=r;if(i!==f){const L=e[m];D=_(L)||Array.isArray(L)?L:isNaN(+n[i+1])?{}:[]}if(m==="__proto__"||m==="constructor"||m==="prototype")return;e[m]=D,e=e[m]}return e};const Xe={BLUR:"blur",FOCUS_OUT:"focusout"},W={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},X={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};U.createContext(null);var It=(e,s,r,i=!0)=>{const n={defaultValues:s._defaultValues};for(const l in e)Object.defineProperty(n,l,{get:()=>{const f=l;return s._proxyFormState[f]!==W.all&&(s._proxyFormState[f]=!i||W.all),e[f]}});return n},O=e=>_(e)&&!Object.keys(e).length,Ht=(e,s,r,i)=>{r(e);const{name:n,...l}=e;return O(l)||Object.keys(l).length>=Object.keys(s).length||Object.keys(l).find(f=>s[f]===W.all)},xe=e=>Array.isArray(e)?e:[e];function Mt(e){const s=U.useRef(e);s.current=e,U.useEffect(()=>{const r=!e.disabled&&s.current.subject&&s.current.subject.subscribe({next:s.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}var K=e=>typeof e=="string",Wt=(e,s,r,i,n)=>K(e)?(i&&s.watch.add(e),y(r,e,n)):Array.isArray(e)?e.map(l=>(i&&s.watch.add(l),y(r,l))):(i&&(s.watchAll=!0),r),$t=(e,s,r,i,n)=>s?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[i]:n||!0}}:{},et=e=>({isOnSubmit:!e||e===W.onSubmit,isOnBlur:e===W.onBlur,isOnChange:e===W.onChange,isOnAll:e===W.all,isOnTouch:e===W.onTouched}),tt=(e,s,r)=>!r&&(s.watchAll||s.watch.has(e)||[...s.watch].some(i=>e.startsWith(i)&&/^\.\w+/.test(e.slice(i.length))));const ve=(e,s,r,i)=>{for(const n of r||Object.keys(e)){const l=y(e,n);if(l){const{_f:f,...m}=l;if(f){if(f.refs&&f.refs[0]&&s(f.refs[0],n)&&!i)return!0;if(f.ref&&s(f.ref,f.name)&&!i)return!0;if(ve(m,s))break}else if(_(m)&&ve(m,s))break}}};var Jt=(e,s,r)=>{const i=xe(y(e,r));return A(i,"root",s[r]),A(e,r,i),e},Le=e=>e.type==="file",Y=e=>typeof e=="function",Fe=e=>{if(!Ce)return!1;const s=e?e.ownerDocument:0;return e instanceof(s&&s.defaultView?s.defaultView.HTMLElement:HTMLElement)},we=e=>K(e),qe=e=>e.type==="radio",Ae=e=>e instanceof RegExp;const rt={value:!1,isValid:!1},st={value:!0,isValid:!0};var vt=e=>{if(Array.isArray(e)){if(e.length>1){const s=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:s,isValid:!!s.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!S(e[0].attributes.value)?S(e[0].value)||e[0].value===""?st:{value:e[0].value,isValid:!0}:st:rt}return rt};const at={isValid:!1,value:null};var ht=e=>Array.isArray(e)?e.reduce((s,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:s,at):at;function it(e,s,r="validate"){if(we(e)||Array.isArray(e)&&e.every(we)||z(e)&&!e)return{type:r,message:we(e)?e:"",ref:s}}var ue=e=>_(e)&&!Ae(e)?e:{value:e,message:""},ot=async(e,s,r,i,n,l)=>{const{ref:f,refs:m,required:D,maxLength:L,minLength:F,min:h,max:se,pattern:ae,validate:I,name:T,valueAsNumber:Z,mount:ee}=e._f,b=y(r,T);if(!ee||s.has(T))return{};const G=m?m[0]:f,Q=p=>{n&&G.reportValidity&&(G.setCustomValidity(z(p)?"":p||""),G.reportValidity())},V={},le=qe(f),pe=he(f),ie=le||pe,ne=(Z||Le(f))&&S(f.value)&&S(b)||Fe(f)&&f.value===""||b===""||Array.isArray(b)&&!b.length,q=$t.bind(null,T,i,V),be=(p,x,P,R=X.maxLength,H=X.minLength)=>{const N=p?x:P;V[T]={type:p?R:H,message:N,ref:f,...q(p?R:H,N)}};if(l?!Array.isArray(b)||!b.length:D&&(!ie&&(ne||C(b))||z(b)&&!b||pe&&!vt(m).isValid||le&&!ht(m).isValid)){const{value:p,message:x}=we(D)?{value:!!D,message:D}:ue(D);if(p&&(V[T]={type:X.required,message:x,ref:G,...q(X.required,x)},!i))return Q(x),V}if(!ne&&(!C(h)||!C(se))){let p,x;const P=ue(se),R=ue(h);if(!C(b)&&!isNaN(b)){const H=f.valueAsNumber||b&&+b;C(P.value)||(p=H>P.value),C(R.value)||(x=H<R.value)}else{const H=f.valueAsDate||new Date(b),N=fe=>new Date(new Date().toDateString()+" "+fe),ce=f.type=="time",de=f.type=="week";K(P.value)&&b&&(p=ce?N(b)>N(P.value):de?b>P.value:H>new Date(P.value)),K(R.value)&&b&&(x=ce?N(b)<N(R.value):de?b<R.value:H<new Date(R.value))}if((p||x)&&(be(!!p,P.message,R.message,X.max,X.min),!i))return Q(V[T].message),V}if((L||F)&&!ne&&(K(b)||l&&Array.isArray(b))){const p=ue(L),x=ue(F),P=!C(p.value)&&b.length>+p.value,R=!C(x.value)&&b.length<+x.value;if((P||R)&&(be(P,p.message,x.message),!i))return Q(V[T].message),V}if(ae&&!ne&&K(b)){const{value:p,message:x}=ue(ae);if(Ae(p)&&!b.match(p)&&(V[T]={type:X.pattern,message:x,ref:f,...q(X.pattern,x)},!i))return Q(x),V}if(I){if(Y(I)){const p=await I(b,r),x=it(p,G);if(x&&(V[T]={...x,...q(X.validate,x.message)},!i))return Q(x.message),V}else if(_(I)){let p={};for(const x in I){if(!O(p)&&!i)break;const P=it(await I[x](b,r),G,x);P&&(p={...P,...q(x,P.message)},Q(P.message),i&&(V[T]=p))}if(!O(p)&&(V[T]={ref:G,...p},!i))return V}}return Q(!0),V};function zt(e,s){const r=s.slice(0,-1).length;let i=0;for(;i<r;)e=S(e)?i++:e[s[i++]];return e}function Yt(e){for(const s in e)if(e.hasOwnProperty(s)&&!S(e[s]))return!1;return!0}function k(e,s){const r=Array.isArray(s)?s:Oe(s)?[s]:gt(s),i=r.length===1?e:zt(e,r),n=r.length-1,l=r[n];return i&&delete i[l],n!==0&&(_(i)&&O(i)||Array.isArray(i)&&Yt(i))&&k(e,r.slice(0,-1)),e}var Ee=()=>{let e=[];return{get observers(){return e},next:n=>{for(const l of e)l.next&&l.next(n)},subscribe:n=>(e.push(n),{unsubscribe:()=>{e=e.filter(l=>l!==n)}}),unsubscribe:()=>{e=[]}}},Te=e=>C(e)||!mt(e);function re(e,s){if(Te(e)||Te(s))return e===s;if(oe(e)&&oe(s))return e.getTime()===s.getTime();const r=Object.keys(e),i=Object.keys(s);if(r.length!==i.length)return!1;for(const n of r){const l=e[n];if(!i.includes(n))return!1;if(n!=="ref"){const f=s[n];if(oe(l)&&oe(f)||_(l)&&_(f)||Array.isArray(l)&&Array.isArray(f)?!re(l,f):l!==f)return!1}}return!0}var pt=e=>e.type==="select-multiple",Kt=e=>qe(e)||he(e),De=e=>Fe(e)&&e.isConnected,bt=e=>{for(const s in e)if(Y(e[s]))return!0;return!1};function _e(e,s={}){const r=Array.isArray(e);if(_(e)||r)for(const i in e)Array.isArray(e[i])||_(e[i])&&!bt(e[i])?(s[i]=Array.isArray(e[i])?[]:{},_e(e[i],s[i])):C(e[i])||(s[i]=!0);return s}function xt(e,s,r){const i=Array.isArray(e);if(_(e)||i)for(const n in e)Array.isArray(e[n])||_(e[n])&&!bt(e[n])?S(s)||Te(r[n])?r[n]=Array.isArray(e[n])?_e(e[n],[]):{..._e(e[n])}:xt(e[n],C(s)?{}:s[n],r[n]):r[n]=!re(e[n],s[n]);return r}var ye=(e,s)=>xt(e,s,_e(s)),wt=(e,{valueAsNumber:s,valueAsDate:r,setValueAs:i})=>S(e)?e:s?e===""?NaN:e&&+e:r&&K(e)?new Date(e):i?i(e):e;function Re(e){const s=e.ref;return Le(s)?s.files:qe(s)?ht(e.refs).value:pt(s)?[...s.selectedOptions].map(({value:r})=>r):he(s)?vt(e.refs).value:wt(S(s.value)?e.ref.value:s.value,e)}var Zt=(e,s,r,i)=>{const n={};for(const l of e){const f=y(s,l);f&&A(n,l,f._f)}return{criteriaMode:r,names:[...e],fields:n,shouldUseNativeValidation:i}},me=e=>S(e)?e:Ae(e)?e.source:_(e)?Ae(e.value)?e.value.source:e.value:e;const lt="AsyncFunction";var Gt=e=>!!e&&!!e.validate&&!!(Y(e.validate)&&e.validate.constructor.name===lt||_(e.validate)&&Object.values(e.validate).find(s=>s.constructor.name===lt)),Qt=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function nt(e,s,r){const i=y(e,r);if(i||Oe(r))return{error:i,name:r};const n=r.split(".");for(;n.length;){const l=n.join("."),f=y(s,l),m=y(e,l);if(f&&!Array.isArray(f)&&r!==l)return{name:r};if(m&&m.type)return{name:l,error:m};n.pop()}return{name:r}}var Xt=(e,s,r,i,n)=>n.isOnAll?!1:!r&&n.isOnTouch?!(s||e):(r?i.isOnBlur:n.isOnBlur)?!e:(r?i.isOnChange:n.isOnChange)?e:!0,er=(e,s)=>!Se(y(e,s)).length&&k(e,s);const tr={mode:W.onSubmit,reValidateMode:W.onChange,shouldFocusError:!0};function rr(e={}){let s={...tr,...e},r={submitCount:0,isDirty:!1,isLoading:Y(s.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:s.errors||{},disabled:s.disabled||!1},i={},n=_(s.defaultValues)||_(s.values)?j(s.defaultValues||s.values)||{}:{},l=s.shouldUnregister?{}:j(n),f={action:!1,mount:!1,watch:!1},m={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},D,L=0;const F={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},h={values:Ee(),array:Ee(),state:Ee()},se=et(s.mode),ae=et(s.reValidateMode),I=s.criteriaMode===W.all,T=t=>a=>{clearTimeout(L),L=setTimeout(t,a)},Z=async t=>{if(!s.disabled&&(F.isValid||t)){const a=s.resolver?O((await ie()).errors):await q(i,!0);a!==r.isValid&&h.state.next({isValid:a})}},ee=(t,a)=>{!s.disabled&&(F.isValidating||F.validatingFields)&&((t||Array.from(m.mount)).forEach(o=>{o&&(a?A(r.validatingFields,o,a):k(r.validatingFields,o))}),h.state.next({validatingFields:r.validatingFields,isValidating:!O(r.validatingFields)}))},b=(t,a=[],o,d,c=!0,u=!0)=>{if(d&&o&&!s.disabled){if(f.action=!0,u&&Array.isArray(y(i,t))){const g=o(y(i,t),d.argA,d.argB);c&&A(i,t,g)}if(u&&Array.isArray(y(r.errors,t))){const g=o(y(r.errors,t),d.argA,d.argB);c&&A(r.errors,t,g),er(r.errors,t)}if(F.touchedFields&&u&&Array.isArray(y(r.touchedFields,t))){const g=o(y(r.touchedFields,t),d.argA,d.argB);c&&A(r.touchedFields,t,g)}F.dirtyFields&&(r.dirtyFields=ye(n,l)),h.state.next({name:t,isDirty:p(t,a),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else A(l,t,a)},G=(t,a)=>{A(r.errors,t,a),h.state.next({errors:r.errors})},Q=t=>{r.errors=t,h.state.next({errors:r.errors,isValid:!1})},V=(t,a,o,d)=>{const c=y(i,t);if(c){const u=y(l,t,S(o)?y(n,t):o);S(u)||d&&d.defaultChecked||a?A(l,t,a?u:Re(c._f)):R(t,u),f.mount&&Z()}},le=(t,a,o,d,c)=>{let u=!1,g=!1;const v={name:t};if(!s.disabled){const B=!!(y(i,t)&&y(i,t)._f&&y(i,t)._f.disabled);if(!o||d){F.isDirty&&(g=r.isDirty,r.isDirty=v.isDirty=p(),u=g!==v.isDirty);const E=B||re(y(n,t),a);g=!!(!B&&y(r.dirtyFields,t)),E||B?k(r.dirtyFields,t):A(r.dirtyFields,t,!0),v.dirtyFields=r.dirtyFields,u=u||F.dirtyFields&&g!==!E}if(o){const E=y(r.touchedFields,t);E||(A(r.touchedFields,t,o),v.touchedFields=r.touchedFields,u=u||F.touchedFields&&E!==o)}u&&c&&h.state.next(v)}return u?v:{}},pe=(t,a,o,d)=>{const c=y(r.errors,t),u=F.isValid&&z(a)&&r.isValid!==a;if(s.delayError&&o?(D=T(()=>G(t,o)),D(s.delayError)):(clearTimeout(L),D=null,o?A(r.errors,t,o):k(r.errors,t)),(o?!re(c,o):c)||!O(d)||u){const g={...d,...u&&z(a)?{isValid:a}:{},errors:r.errors,name:t};r={...r,...g},h.state.next(g)}},ie=async t=>{ee(t,!0);const a=await s.resolver(l,s.context,Zt(t||m.mount,i,s.criteriaMode,s.shouldUseNativeValidation));return ee(t),a},ne=async t=>{const{errors:a}=await ie(t);if(t)for(const o of t){const d=y(a,o);d?A(r.errors,o,d):k(r.errors,o)}else r.errors=a;return a},q=async(t,a,o={valid:!0})=>{for(const d in t){const c=t[d];if(c){const{_f:u,...g}=c;if(u){const v=m.array.has(u.name),B=c._f&&Gt(c._f);B&&F.validatingFields&&ee([d],!0);const E=await ot(c,m.disabled,l,I,s.shouldUseNativeValidation&&!a,v);if(B&&F.validatingFields&&ee([d]),E[u.name]&&(o.valid=!1,a))break;!a&&(y(E,u.name)?v?Jt(r.errors,E,u.name):A(r.errors,u.name,E[u.name]):k(r.errors,u.name))}!O(g)&&await q(g,a,o)}}return o.valid},be=()=>{for(const t of m.unMount){const a=y(i,t);a&&(a._f.refs?a._f.refs.every(o=>!De(o)):!De(a._f.ref))&&Ve(t)}m.unMount=new Set},p=(t,a)=>!s.disabled&&(t&&a&&A(l,t,a),!re(Ne(),n)),x=(t,a,o)=>Wt(t,m,{...f.mount?l:S(a)?n:K(t)?{[t]:a}:a},o,a),P=t=>Se(y(f.mount?l:n,t,s.shouldUnregister?y(n,t,[]):[])),R=(t,a,o={})=>{const d=y(i,t);let c=a;if(d){const u=d._f;u&&(!u.disabled&&A(l,t,wt(a,u)),c=Fe(u.ref)&&C(a)?"":a,pt(u.ref)?[...u.ref.options].forEach(g=>g.selected=c.includes(g.value)):u.refs?he(u.ref)?u.refs.length>1?u.refs.forEach(g=>(!g.defaultChecked||!g.disabled)&&(g.checked=Array.isArray(c)?!!c.find(v=>v===g.value):c===g.value)):u.refs[0]&&(u.refs[0].checked=!!c):u.refs.forEach(g=>g.checked=g.value===c):Le(u.ref)?u.ref.value="":(u.ref.value=c,u.ref.type||h.values.next({name:t,values:{...l}})))}(o.shouldDirty||o.shouldTouch)&&le(t,c,o.shouldTouch,o.shouldDirty,!0),o.shouldValidate&&fe(t)},H=(t,a,o)=>{for(const d in a){const c=a[d],u=`${t}.${d}`,g=y(i,u);(m.array.has(t)||_(c)||g&&!g._f)&&!oe(c)?H(u,c,o):R(u,c,o)}},N=(t,a,o={})=>{const d=y(i,t),c=m.array.has(t),u=j(a);A(l,t,u),c?(h.array.next({name:t,values:{...l}}),(F.isDirty||F.dirtyFields)&&o.shouldDirty&&h.state.next({name:t,dirtyFields:ye(n,l),isDirty:p(t,u)})):d&&!d._f&&!C(u)?H(t,u,o):R(t,u,o),tt(t,m)&&h.state.next({...r}),h.values.next({name:f.mount?t:void 0,values:{...l}})},ce=async t=>{f.mount=!0;const a=t.target;let o=a.name,d=!0;const c=y(i,o),u=()=>a.type?Re(c._f):qt(t),g=v=>{d=Number.isNaN(v)||oe(v)&&isNaN(v.getTime())||re(v,y(l,o,v))};if(c){let v,B;const E=u(),te=t.type===Xe.BLUR||t.type===Xe.FOCUS_OUT,Vt=!Qt(c._f)&&!s.resolver&&!y(r.errors,o)&&!c._f.deps||Xt(te,y(r.touchedFields,o),r.isSubmitted,ae,se),ke=tt(o,m,te);A(l,o,E),te?(c._f.onBlur&&c._f.onBlur(t),D&&D(0)):c._f.onChange&&c._f.onChange(t);const Be=le(o,E,te,!1),Pt=!O(Be)||ke;if(!te&&h.values.next({name:o,type:t.type,values:{...l}}),Vt)return F.isValid&&(s.mode==="onBlur"&&te?Z():te||Z()),Pt&&h.state.next({name:o,...ke?{}:Be});if(!te&&ke&&h.state.next({...r}),s.resolver){const{errors:Je}=await ie([o]);if(g(E),d){const kt=nt(r.errors,i,o),ze=nt(Je,i,kt.name||o);v=ze.error,o=ze.name,B=O(Je)}}else ee([o],!0),v=(await ot(c,m.disabled,l,I,s.shouldUseNativeValidation))[o],ee([o]),g(E),d&&(v?B=!1:F.isValid&&(B=await q(i,!0)));d&&(c._f.deps&&fe(c._f.deps),pe(o,B,v,Be))}},de=(t,a)=>{if(y(r.errors,a)&&t.focus)return t.focus(),1},fe=async(t,a={})=>{let o,d;const c=xe(t);if(s.resolver){const u=await ne(S(t)?t:c);o=O(u),d=t?!c.some(g=>y(u,g)):o}else t?(d=(await Promise.all(c.map(async u=>{const g=y(i,u);return await q(g&&g._f?{[u]:g}:g)}))).every(Boolean),!(!d&&!r.isValid)&&Z()):d=o=await q(i);return h.state.next({...!K(t)||F.isValid&&o!==r.isValid?{}:{name:t},...s.resolver||!t?{isValid:o}:{},errors:r.errors}),a.shouldFocus&&!d&&ve(i,de,t?c:m.mount),d},Ne=t=>{const a={...f.mount?l:n};return S(t)?a:K(t)?y(a,t):t.map(o=>y(a,o))},je=(t,a)=>({invalid:!!y((a||r).errors,t),isDirty:!!y((a||r).dirtyFields,t),error:y((a||r).errors,t),isValidating:!!y(r.validatingFields,t),isTouched:!!y((a||r).touchedFields,t)}),Ft=t=>{t&&xe(t).forEach(a=>k(r.errors,a)),h.state.next({errors:t?r.errors:{}})},Ue=(t,a,o)=>{const d=(y(i,t,{_f:{}})._f||{}).ref,c=y(r.errors,t)||{},{ref:u,message:g,type:v,...B}=c;A(r.errors,t,{...B,...a,ref:d}),h.state.next({name:t,errors:r.errors,isValid:!1}),o&&o.shouldFocus&&d&&d.focus&&d.focus()},At=(t,a)=>Y(t)?h.values.subscribe({next:o=>t(x(void 0,a),o)}):x(t,a,!0),Ve=(t,a={})=>{for(const o of t?xe(t):m.mount)m.mount.delete(o),m.array.delete(o),a.keepValue||(k(i,o),k(l,o)),!a.keepError&&k(r.errors,o),!a.keepDirty&&k(r.dirtyFields,o),!a.keepTouched&&k(r.touchedFields,o),!a.keepIsValidating&&k(r.validatingFields,o),!s.shouldUnregister&&!a.keepDefaultValue&&k(n,o);h.values.next({values:{...l}}),h.state.next({...r,...a.keepDirty?{isDirty:p()}:{}}),!a.keepIsValid&&Z()},Ie=({disabled:t,name:a,field:o,fields:d})=>{(z(t)&&f.mount||t||m.disabled.has(a))&&(t?m.disabled.add(a):m.disabled.delete(a),le(a,Re(o?o._f:y(d,a)._f),!1,!1,!0))},Pe=(t,a={})=>{let o=y(i,t);const d=z(a.disabled)||z(s.disabled);return A(i,t,{...o||{},_f:{...o&&o._f?o._f:{ref:{name:t}},name:t,mount:!0,...a}}),m.mount.add(t),o?Ie({field:o,disabled:z(a.disabled)?a.disabled:s.disabled,name:t}):V(t,!0,a.value),{...d?{disabled:a.disabled||s.disabled}:{},...s.progressive?{required:!!a.required,min:me(a.min),max:me(a.max),minLength:me(a.minLength),maxLength:me(a.maxLength),pattern:me(a.pattern)}:{},name:t,onChange:ce,onBlur:ce,ref:c=>{if(c){Pe(t,a),o=y(i,t);const u=S(c.value)&&c.querySelectorAll&&c.querySelectorAll("input,select,textarea")[0]||c,g=Kt(u),v=o._f.refs||[];if(g?v.find(B=>B===u):u===o._f.ref)return;A(i,t,{_f:{...o._f,...g?{refs:[...v.filter(De),u,...Array.isArray(y(n,t))?[{}]:[]],ref:{type:u.type,name:t}}:{ref:u}}}),V(t,!1,void 0,u)}else o=y(i,t,{}),o._f&&(o._f.mount=!1),(s.shouldUnregister||a.shouldUnregister)&&!(jt(m.array,t)&&f.action)&&m.unMount.add(t)}}},He=()=>s.shouldFocusError&&ve(i,de,m.mount),_t=t=>{z(t)&&(h.state.next({disabled:t}),ve(i,(a,o)=>{const d=y(i,o);d&&(a.disabled=d._f.disabled||t,Array.isArray(d._f.refs)&&d._f.refs.forEach(c=>{c.disabled=d._f.disabled||t}))},0,!1))},Me=(t,a)=>async o=>{let d;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let c=j(l);if(m.disabled.size)for(const u of m.disabled)A(c,u,void 0);if(h.state.next({isSubmitting:!0}),s.resolver){const{errors:u,values:g}=await ie();r.errors=u,c=g}else await q(i);if(k(r.errors,"root"),O(r.errors)){h.state.next({errors:{}});try{await t(c,o)}catch(u){d=u}}else a&&await a({...r.errors},o),He(),setTimeout(He);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:O(r.errors)&&!d,submitCount:r.submitCount+1,errors:r.errors}),d)throw d},St=(t,a={})=>{y(i,t)&&(S(a.defaultValue)?N(t,j(y(n,t))):(N(t,a.defaultValue),A(n,t,j(a.defaultValue))),a.keepTouched||k(r.touchedFields,t),a.keepDirty||(k(r.dirtyFields,t),r.isDirty=a.defaultValue?p(t,j(y(n,t))):p()),a.keepError||(k(r.errors,t),F.isValid&&Z()),h.state.next({...r}))},We=(t,a={})=>{const o=t?j(t):n,d=j(o),c=O(t),u=c?n:d;if(a.keepDefaultValues||(n=o),!a.keepValues){if(a.keepDirtyValues){const g=new Set([...m.mount,...Object.keys(ye(n,l))]);for(const v of Array.from(g))y(r.dirtyFields,v)?A(u,v,y(l,v)):N(v,y(u,v))}else{if(Ce&&S(t))for(const g of m.mount){const v=y(i,g);if(v&&v._f){const B=Array.isArray(v._f.refs)?v._f.refs[0]:v._f.ref;if(Fe(B)){const E=B.closest("form");if(E){E.reset();break}}}}i={}}l=s.shouldUnregister?a.keepDefaultValues?j(n):{}:j(u),h.array.next({values:{...u}}),h.values.next({values:{...u}})}m={mount:a.keepDirtyValues?m.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},f.mount=!F.isValid||!!a.keepIsValid||!!a.keepDirtyValues,f.watch=!!s.shouldUnregister,h.state.next({submitCount:a.keepSubmitCount?r.submitCount:0,isDirty:c?!1:a.keepDirty?r.isDirty:!!(a.keepDefaultValues&&!re(t,n)),isSubmitted:a.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:c?{}:a.keepDirtyValues?a.keepDefaultValues&&l?ye(n,l):r.dirtyFields:a.keepDefaultValues&&t?ye(n,t):a.keepDirty?r.dirtyFields:{},touchedFields:a.keepTouched?r.touchedFields:{},errors:a.keepErrors?r.errors:{},isSubmitSuccessful:a.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1})},$e=(t,a)=>We(Y(t)?t(l):t,a);return{control:{register:Pe,unregister:Ve,getFieldState:je,handleSubmit:Me,setError:Ue,_executeSchema:ie,_getWatch:x,_getDirty:p,_updateValid:Z,_removeUnmounted:be,_updateFieldArray:b,_updateDisabledField:Ie,_getFieldArray:P,_reset:We,_resetDefaultValues:()=>Y(s.defaultValues)&&s.defaultValues().then(t=>{$e(t,s.resetOptions),h.state.next({isLoading:!1})}),_updateFormState:t=>{r={...r,...t}},_disableForm:_t,_subjects:h,_proxyFormState:F,_setErrors:Q,get _fields(){return i},get _formValues(){return l},get _state(){return f},set _state(t){f=t},get _defaultValues(){return n},get _names(){return m},set _names(t){m=t},get _formState(){return r},set _formState(t){r=t},get _options(){return s},set _options(t){s={...s,...t}}},trigger:fe,register:Pe,handleSubmit:Me,watch:At,setValue:N,getValues:Ne,reset:$e,resetField:St,clearErrors:Ft,unregister:Ve,setError:Ue,setFocus:(t,a={})=>{const o=y(i,t),d=o&&o._f;if(d){const c=d.refs?d.refs[0]:d.ref;c.focus&&(c.focus(),a.shouldSelect&&Y(c.select)&&c.select())}},getFieldState:je}}function sr(e={}){const s=U.useRef(void 0),r=U.useRef(void 0),[i,n]=U.useState({isDirty:!1,isValidating:!1,isLoading:Y(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Y(e.defaultValues)?void 0:e.defaultValues});s.current||(s.current={...rr(e),formState:i});const l=s.current.control;return l._options=e,Mt({subject:l._subjects.state,next:f=>{Ht(f,l._proxyFormState,l._updateFormState)&&n({...l._formState})}}),U.useEffect(()=>l._disableForm(e.disabled),[l,e.disabled]),U.useEffect(()=>{if(l._proxyFormState.isDirty){const f=l._getDirty();f!==i.isDirty&&l._subjects.state.next({isDirty:f})}},[l,i.isDirty]),U.useEffect(()=>{e.values&&!re(e.values,r.current)?(l._reset(e.values,l._options.resetOptions),r.current=e.values,n(f=>({...f}))):l._resetDefaultValues()},[e.values,l]),U.useEffect(()=>{e.errors&&l._setErrors(e.errors)},[e.errors,l]),U.useEffect(()=>{l._state.mount||(l._updateValid(),l._state.mount=!0),l._state.watch&&(l._state.watch=!1,l._subjects.state.next({...l._formState})),l._removeUnmounted()}),U.useEffect(()=>{e.shouldUnregister&&l._subjects.values.next({values:l._getWatch()})},[e.shouldUnregister,l]),s.current.formState=It(i,l),s.current}const zr={title:"Guides/Integration with React Hook Form",args:{onSubmit:Bt(e=>{console.log("Form submitted:",e)})}},ge={render:function(s){var f,m,D,L,F,h,se,ae;const{register:r,handleSubmit:i,formState:{errors:n},reset:l}=sr({defaultValues:{fullName:"",email:"",age:void 0,country:"",password:"",confirmPassword:"",bio:"",privacyPolicyAccepted:!1}});return w.jsx("div",{style:{maxWidth:"600px",margin:"0 auto",padding:"20px"},children:w.jsxs(Ke,{direction:"column",gap:"16",children:[w.jsx(Dt,{variant:"extraLarge",tag:"h1",children:"User Registration Form"}),w.jsxs("form",{onSubmit:i(s.onSubmit),style:{display:"contents"},noValidate:!0,children:[w.jsx(Ze,{label:"Full Name",...r("fullName",{required:"Full name is required"}),error:(f=n.fullName)==null?void 0:f.message,required:!0}),w.jsx(Ze,{label:"Email",type:"email",...r("email",{required:"Email is required"}),error:(m=n.email)==null?void 0:m.message,required:!0}),w.jsx(Rt,{label:"Age",...r("age",{valueAsNumber:!0,required:"Age is required",min:{value:18,message:"You must be at least 18 years old"}}),min:18,max:120,error:(D=n.age)==null?void 0:D.message,required:!0}),w.jsxs(Tt,{label:"Country",placeholder:"",...r("country",{required:"Country is required"}),error:(L=n.country)==null?void 0:L.message,required:!0,children:[w.jsx(J,{value:"us",children:"United States"}),w.jsx(J,{value:"ca",children:"Canada"}),w.jsx(J,{value:"uk",children:"United Kingdom"}),w.jsx(J,{value:"de",children:"Germany"}),w.jsx(J,{value:"fr",children:"France"}),w.jsx(J,{value:"it",children:"Italy"}),w.jsx(J,{value:"es",children:"Spain"}),w.jsx(J,{value:"au",children:"Australia"}),w.jsx(J,{value:"jp",children:"Japan"}),w.jsx(J,{value:"other",children:"Other"})]}),w.jsx(Ge,{label:"Password",...r("password",{required:"Password is required",minLength:{value:8,message:"Password must be at least 8 characters"},pattern:{value:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]/,message:"Password must contain at least one uppercase letter, one lowercase letter, one number, and one special character"}}),error:(F=n.password)==null?void 0:F.message,required:!0}),w.jsx(Ge,{label:"Confirm Password",...r("confirmPassword",{required:"Please confirm your password",validate:(I,T)=>I===T.password||"Passwords do not match"}),error:(h=n.confirmPassword)==null?void 0:h.message,required:!0}),w.jsx(Ct,{label:"Bio",...r("bio",{maxLength:{value:500,message:"Bio must be less than 500 characters"}}),error:(se=n.bio)==null?void 0:se.message}),w.jsx(Ot,{label:"Accept Privacy Policy",description:"I accept the Privacy Policy",error:(ae=n.privacyPolicyAccepted)==null?void 0:ae.message,hideLabel:!0,children:w.jsx(Lt,{...r("privacyPolicyAccepted",{required:"You must accept the Privacy Policy"})})}),w.jsxs(Ke,{gap:"12",padding:["20","0","0"],justifyContent:"end",children:[w.jsx(Qe,{onClick:()=>l(),variant:"secondary",children:"Reset"}),w.jsx(Qe,{submitsForm:!0,children:"Submit"})]})]})]})})},play:async({args:e,canvasElement:s,step:r})=>{const i=Et(s);await r("Fill all form fields",async()=>{console.log(await i.findAllByRole("textbox")),await M.type(i.getByRole("textbox",{name:"Full Name"}),"John Doe"),await M.type(i.getByRole("textbox",{name:"Email"}),"john.doe@example.com"),await M.clear(i.getByRole("spinbutton",{name:"Age"})),await M.type(i.getByRole("spinbutton",{name:"Age"}),"25"),await M.selectOptions(i.getByRole("combobox",{name:"Country"}),"us"),await M.type(i.getByLabelText(/^Password/),"TestPassword123!"),await M.type(i.getByLabelText(/^Confirm Password/),"TestPassword123!"),await M.type(i.getByRole("textbox",{name:"Bio"}),"I am a software engineer with 5 years of experience."),await M.click(i.getByRole("checkbox",{name:"Accept Privacy Policy"}))}),await r("Submit the form",async()=>{await M.click(i.getByRole("button",{name:"Submit"}))}),await r("Assert that onSubmit was called with correct data",async()=>{await Ye(()=>{$(e.onSubmit).toHaveBeenCalledWith({fullName:"John Doe",email:"john.doe@example.com",age:25,country:"us",password:"TestPassword123!",confirmPassword:"TestPassword123!",bio:"I am a software engineer with 5 years of experience.",privacyPolicyAccepted:!0},$.anything())})}),await r("Reset the form",async()=>{await M.click(i.getByRole("button",{name:"Reset"}))}),await r("Assert all fields are cleared",async()=>{await Ye(()=>{$(i.getByRole("textbox",{name:"Full Name"})).not.toHaveValue(),$(i.getByRole("textbox",{name:"Email"})).not.toHaveValue(),$(i.getByRole("spinbutton",{name:"Age"})).not.toHaveValue(),$(i.getByRole("combobox",{name:"Country"})).not.toHaveValue(),$(i.getByLabelText(/^Password/)).not.toHaveValue(),$(i.getByLabelText(/^Confirm Password/)).not.toHaveValue(),$(i.getByRole("textbox",{name:"Bio"})).not.toHaveValue(),$(i.getByRole("checkbox",{name:"Accept Privacy Policy"})).not.toBeChecked()})})}};var ut,ct,dt,ft,yt;ge.parameters={...ge.parameters,docs:{...(ut=ge.parameters)==null?void 0:ut.docs,source:{originalSource:`{
|
1
|
+
import{j as w}from"./jsx-runtime-BYouaCF_.js";import{e as U}from"./index-B3evPFBL.js";import{f as Bt,w as Et,u as M,a as Ye,e as $}from"./index-DDyIDR-R.js";import{L as Ke}from"./LayoutFlex-B8VATmiE.js";import{H as Dt}from"./Heading-CCe1-9kC.js";import{T as Ze}from"./TextField-BAC0NZKU.js";import{N as Rt}from"./NumberField-BS6zPFP5.js";import{S as Tt,a as J}from"./SelectField-C0H4vwVQ.js";import{P as Ge}from"./PasswordField-EYDyw279.js";import{T as Ct}from"./TextareaField-DdG6sVbG.js";import{F as Ot}from"./FormControl-V3kzTeDQ.js";import{C as Lt}from"./Checkbox-CwZfp4fM.js";import{B as Qe}from"./Button-ChyBn4PU.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./filterAttributesPassedByRadixUIAtRuntime-B7QTVwVw.js";import"./layout-relative.module-ed9bC4H4.js";import"./classNames-BUL1Zq7e.js";import"./defaults-B1rzzf6M.js";import"./index-DdzHuZ-Y.js";import"./componentNames-Ba2ybP0W.js";import"./text-accent-DZDDtpIt.js";import"./text-centered-CznToR0o.js";import"./Input-DCIPe0x3.js";import"./InputContainer-Bk0tgFnW.js";import"./TokyoUIExpand-DThzqohx.js";import"./Icon-Cx1Om39U.js";import"./render-icon-CVTdrNe-.js";import"./TokyoUIEye-BsOt8ZdC.js";import"./FieldButton-Dprr9FF4.js";import"./index-BfBdt3zW.js";import"./tslib.es6-BntfKcQG.js";import"./hoist-non-react-statics.cjs-C-Qo8PK8.js";import"./useMergeRefs-BKVZOB6R.js";import"./index-DRKYGVyc.js";import"./message-BraTJ16C.js";import"./useMergeRefs-CeyIhNgY.js";import"./ButtonBase-CoNMqmsd.js";import"./Spinner-BCTJunNM.js";import"./useHostname-CH18gHFj.js";import"./index-CC6DAVyL.js";var he=e=>e.type==="checkbox",oe=e=>e instanceof Date,C=e=>e==null;const mt=e=>typeof e=="object";var _=e=>!C(e)&&!Array.isArray(e)&&mt(e)&&!oe(e),qt=e=>_(e)&&e.target?he(e.target)?e.target.checked:e.target.value:e,Nt=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,jt=(e,s)=>e.has(Nt(s)),Ut=e=>{const s=e.constructor&&e.constructor.prototype;return _(s)&&s.hasOwnProperty("isPrototypeOf")},Ce=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function j(e){let s;const r=Array.isArray(e),i=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)s=new Date(e);else if(e instanceof Set)s=new Set(e);else if(!(Ce&&(e instanceof Blob||i))&&(r||_(e)))if(s=r?[]:{},!r&&!Ut(e))s=e;else for(const n in e)e.hasOwnProperty(n)&&(s[n]=j(e[n]));else return e;return s}var Se=e=>Array.isArray(e)?e.filter(Boolean):[],S=e=>e===void 0,y=(e,s,r)=>{if(!s||!_(e))return r;const i=Se(s.split(/[,[\].]+?/)).reduce((n,l)=>C(n)?n:n[l],e);return S(i)||i===e?S(e[s])?r:e[s]:i},z=e=>typeof e=="boolean",Oe=e=>/^\w*$/.test(e),gt=e=>Se(e.replace(/["|']|\]/g,"").split(/\.|\[/)),A=(e,s,r)=>{let i=-1;const n=Oe(s)?[s]:gt(s),l=n.length,f=l-1;for(;++i<l;){const m=n[i];let D=r;if(i!==f){const L=e[m];D=_(L)||Array.isArray(L)?L:isNaN(+n[i+1])?{}:[]}if(m==="__proto__"||m==="constructor"||m==="prototype")return;e[m]=D,e=e[m]}return e};const Xe={BLUR:"blur",FOCUS_OUT:"focusout"},W={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},X={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};U.createContext(null);var It=(e,s,r,i=!0)=>{const n={defaultValues:s._defaultValues};for(const l in e)Object.defineProperty(n,l,{get:()=>{const f=l;return s._proxyFormState[f]!==W.all&&(s._proxyFormState[f]=!i||W.all),e[f]}});return n},O=e=>_(e)&&!Object.keys(e).length,Ht=(e,s,r,i)=>{r(e);const{name:n,...l}=e;return O(l)||Object.keys(l).length>=Object.keys(s).length||Object.keys(l).find(f=>s[f]===W.all)},xe=e=>Array.isArray(e)?e:[e];function Mt(e){const s=U.useRef(e);s.current=e,U.useEffect(()=>{const r=!e.disabled&&s.current.subject&&s.current.subject.subscribe({next:s.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}var K=e=>typeof e=="string",Wt=(e,s,r,i,n)=>K(e)?(i&&s.watch.add(e),y(r,e,n)):Array.isArray(e)?e.map(l=>(i&&s.watch.add(l),y(r,l))):(i&&(s.watchAll=!0),r),$t=(e,s,r,i,n)=>s?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[i]:n||!0}}:{},et=e=>({isOnSubmit:!e||e===W.onSubmit,isOnBlur:e===W.onBlur,isOnChange:e===W.onChange,isOnAll:e===W.all,isOnTouch:e===W.onTouched}),tt=(e,s,r)=>!r&&(s.watchAll||s.watch.has(e)||[...s.watch].some(i=>e.startsWith(i)&&/^\.\w+/.test(e.slice(i.length))));const ve=(e,s,r,i)=>{for(const n of r||Object.keys(e)){const l=y(e,n);if(l){const{_f:f,...m}=l;if(f){if(f.refs&&f.refs[0]&&s(f.refs[0],n)&&!i)return!0;if(f.ref&&s(f.ref,f.name)&&!i)return!0;if(ve(m,s))break}else if(_(m)&&ve(m,s))break}}};var Jt=(e,s,r)=>{const i=xe(y(e,r));return A(i,"root",s[r]),A(e,r,i),e},Le=e=>e.type==="file",Y=e=>typeof e=="function",Fe=e=>{if(!Ce)return!1;const s=e?e.ownerDocument:0;return e instanceof(s&&s.defaultView?s.defaultView.HTMLElement:HTMLElement)},we=e=>K(e),qe=e=>e.type==="radio",Ae=e=>e instanceof RegExp;const rt={value:!1,isValid:!1},st={value:!0,isValid:!0};var vt=e=>{if(Array.isArray(e)){if(e.length>1){const s=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:s,isValid:!!s.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!S(e[0].attributes.value)?S(e[0].value)||e[0].value===""?st:{value:e[0].value,isValid:!0}:st:rt}return rt};const at={isValid:!1,value:null};var ht=e=>Array.isArray(e)?e.reduce((s,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:s,at):at;function it(e,s,r="validate"){if(we(e)||Array.isArray(e)&&e.every(we)||z(e)&&!e)return{type:r,message:we(e)?e:"",ref:s}}var ue=e=>_(e)&&!Ae(e)?e:{value:e,message:""},ot=async(e,s,r,i,n,l)=>{const{ref:f,refs:m,required:D,maxLength:L,minLength:F,min:h,max:se,pattern:ae,validate:I,name:T,valueAsNumber:Z,mount:ee}=e._f,b=y(r,T);if(!ee||s.has(T))return{};const G=m?m[0]:f,Q=p=>{n&&G.reportValidity&&(G.setCustomValidity(z(p)?"":p||""),G.reportValidity())},V={},le=qe(f),pe=he(f),ie=le||pe,ne=(Z||Le(f))&&S(f.value)&&S(b)||Fe(f)&&f.value===""||b===""||Array.isArray(b)&&!b.length,q=$t.bind(null,T,i,V),be=(p,x,P,R=X.maxLength,H=X.minLength)=>{const N=p?x:P;V[T]={type:p?R:H,message:N,ref:f,...q(p?R:H,N)}};if(l?!Array.isArray(b)||!b.length:D&&(!ie&&(ne||C(b))||z(b)&&!b||pe&&!vt(m).isValid||le&&!ht(m).isValid)){const{value:p,message:x}=we(D)?{value:!!D,message:D}:ue(D);if(p&&(V[T]={type:X.required,message:x,ref:G,...q(X.required,x)},!i))return Q(x),V}if(!ne&&(!C(h)||!C(se))){let p,x;const P=ue(se),R=ue(h);if(!C(b)&&!isNaN(b)){const H=f.valueAsNumber||b&&+b;C(P.value)||(p=H>P.value),C(R.value)||(x=H<R.value)}else{const H=f.valueAsDate||new Date(b),N=fe=>new Date(new Date().toDateString()+" "+fe),ce=f.type=="time",de=f.type=="week";K(P.value)&&b&&(p=ce?N(b)>N(P.value):de?b>P.value:H>new Date(P.value)),K(R.value)&&b&&(x=ce?N(b)<N(R.value):de?b<R.value:H<new Date(R.value))}if((p||x)&&(be(!!p,P.message,R.message,X.max,X.min),!i))return Q(V[T].message),V}if((L||F)&&!ne&&(K(b)||l&&Array.isArray(b))){const p=ue(L),x=ue(F),P=!C(p.value)&&b.length>+p.value,R=!C(x.value)&&b.length<+x.value;if((P||R)&&(be(P,p.message,x.message),!i))return Q(V[T].message),V}if(ae&&!ne&&K(b)){const{value:p,message:x}=ue(ae);if(Ae(p)&&!b.match(p)&&(V[T]={type:X.pattern,message:x,ref:f,...q(X.pattern,x)},!i))return Q(x),V}if(I){if(Y(I)){const p=await I(b,r),x=it(p,G);if(x&&(V[T]={...x,...q(X.validate,x.message)},!i))return Q(x.message),V}else if(_(I)){let p={};for(const x in I){if(!O(p)&&!i)break;const P=it(await I[x](b,r),G,x);P&&(p={...P,...q(x,P.message)},Q(P.message),i&&(V[T]=p))}if(!O(p)&&(V[T]={ref:G,...p},!i))return V}}return Q(!0),V};function zt(e,s){const r=s.slice(0,-1).length;let i=0;for(;i<r;)e=S(e)?i++:e[s[i++]];return e}function Yt(e){for(const s in e)if(e.hasOwnProperty(s)&&!S(e[s]))return!1;return!0}function k(e,s){const r=Array.isArray(s)?s:Oe(s)?[s]:gt(s),i=r.length===1?e:zt(e,r),n=r.length-1,l=r[n];return i&&delete i[l],n!==0&&(_(i)&&O(i)||Array.isArray(i)&&Yt(i))&&k(e,r.slice(0,-1)),e}var Ee=()=>{let e=[];return{get observers(){return e},next:n=>{for(const l of e)l.next&&l.next(n)},subscribe:n=>(e.push(n),{unsubscribe:()=>{e=e.filter(l=>l!==n)}}),unsubscribe:()=>{e=[]}}},Te=e=>C(e)||!mt(e);function re(e,s){if(Te(e)||Te(s))return e===s;if(oe(e)&&oe(s))return e.getTime()===s.getTime();const r=Object.keys(e),i=Object.keys(s);if(r.length!==i.length)return!1;for(const n of r){const l=e[n];if(!i.includes(n))return!1;if(n!=="ref"){const f=s[n];if(oe(l)&&oe(f)||_(l)&&_(f)||Array.isArray(l)&&Array.isArray(f)?!re(l,f):l!==f)return!1}}return!0}var pt=e=>e.type==="select-multiple",Kt=e=>qe(e)||he(e),De=e=>Fe(e)&&e.isConnected,bt=e=>{for(const s in e)if(Y(e[s]))return!0;return!1};function _e(e,s={}){const r=Array.isArray(e);if(_(e)||r)for(const i in e)Array.isArray(e[i])||_(e[i])&&!bt(e[i])?(s[i]=Array.isArray(e[i])?[]:{},_e(e[i],s[i])):C(e[i])||(s[i]=!0);return s}function xt(e,s,r){const i=Array.isArray(e);if(_(e)||i)for(const n in e)Array.isArray(e[n])||_(e[n])&&!bt(e[n])?S(s)||Te(r[n])?r[n]=Array.isArray(e[n])?_e(e[n],[]):{..._e(e[n])}:xt(e[n],C(s)?{}:s[n],r[n]):r[n]=!re(e[n],s[n]);return r}var ye=(e,s)=>xt(e,s,_e(s)),wt=(e,{valueAsNumber:s,valueAsDate:r,setValueAs:i})=>S(e)?e:s?e===""?NaN:e&&+e:r&&K(e)?new Date(e):i?i(e):e;function Re(e){const s=e.ref;return Le(s)?s.files:qe(s)?ht(e.refs).value:pt(s)?[...s.selectedOptions].map(({value:r})=>r):he(s)?vt(e.refs).value:wt(S(s.value)?e.ref.value:s.value,e)}var Zt=(e,s,r,i)=>{const n={};for(const l of e){const f=y(s,l);f&&A(n,l,f._f)}return{criteriaMode:r,names:[...e],fields:n,shouldUseNativeValidation:i}},me=e=>S(e)?e:Ae(e)?e.source:_(e)?Ae(e.value)?e.value.source:e.value:e;const lt="AsyncFunction";var Gt=e=>!!e&&!!e.validate&&!!(Y(e.validate)&&e.validate.constructor.name===lt||_(e.validate)&&Object.values(e.validate).find(s=>s.constructor.name===lt)),Qt=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function nt(e,s,r){const i=y(e,r);if(i||Oe(r))return{error:i,name:r};const n=r.split(".");for(;n.length;){const l=n.join("."),f=y(s,l),m=y(e,l);if(f&&!Array.isArray(f)&&r!==l)return{name:r};if(m&&m.type)return{name:l,error:m};n.pop()}return{name:r}}var Xt=(e,s,r,i,n)=>n.isOnAll?!1:!r&&n.isOnTouch?!(s||e):(r?i.isOnBlur:n.isOnBlur)?!e:(r?i.isOnChange:n.isOnChange)?e:!0,er=(e,s)=>!Se(y(e,s)).length&&k(e,s);const tr={mode:W.onSubmit,reValidateMode:W.onChange,shouldFocusError:!0};function rr(e={}){let s={...tr,...e},r={submitCount:0,isDirty:!1,isLoading:Y(s.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:s.errors||{},disabled:s.disabled||!1},i={},n=_(s.defaultValues)||_(s.values)?j(s.defaultValues||s.values)||{}:{},l=s.shouldUnregister?{}:j(n),f={action:!1,mount:!1,watch:!1},m={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},D,L=0;const F={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},h={values:Ee(),array:Ee(),state:Ee()},se=et(s.mode),ae=et(s.reValidateMode),I=s.criteriaMode===W.all,T=t=>a=>{clearTimeout(L),L=setTimeout(t,a)},Z=async t=>{if(!s.disabled&&(F.isValid||t)){const a=s.resolver?O((await ie()).errors):await q(i,!0);a!==r.isValid&&h.state.next({isValid:a})}},ee=(t,a)=>{!s.disabled&&(F.isValidating||F.validatingFields)&&((t||Array.from(m.mount)).forEach(o=>{o&&(a?A(r.validatingFields,o,a):k(r.validatingFields,o))}),h.state.next({validatingFields:r.validatingFields,isValidating:!O(r.validatingFields)}))},b=(t,a=[],o,d,c=!0,u=!0)=>{if(d&&o&&!s.disabled){if(f.action=!0,u&&Array.isArray(y(i,t))){const g=o(y(i,t),d.argA,d.argB);c&&A(i,t,g)}if(u&&Array.isArray(y(r.errors,t))){const g=o(y(r.errors,t),d.argA,d.argB);c&&A(r.errors,t,g),er(r.errors,t)}if(F.touchedFields&&u&&Array.isArray(y(r.touchedFields,t))){const g=o(y(r.touchedFields,t),d.argA,d.argB);c&&A(r.touchedFields,t,g)}F.dirtyFields&&(r.dirtyFields=ye(n,l)),h.state.next({name:t,isDirty:p(t,a),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else A(l,t,a)},G=(t,a)=>{A(r.errors,t,a),h.state.next({errors:r.errors})},Q=t=>{r.errors=t,h.state.next({errors:r.errors,isValid:!1})},V=(t,a,o,d)=>{const c=y(i,t);if(c){const u=y(l,t,S(o)?y(n,t):o);S(u)||d&&d.defaultChecked||a?A(l,t,a?u:Re(c._f)):R(t,u),f.mount&&Z()}},le=(t,a,o,d,c)=>{let u=!1,g=!1;const v={name:t};if(!s.disabled){const B=!!(y(i,t)&&y(i,t)._f&&y(i,t)._f.disabled);if(!o||d){F.isDirty&&(g=r.isDirty,r.isDirty=v.isDirty=p(),u=g!==v.isDirty);const E=B||re(y(n,t),a);g=!!(!B&&y(r.dirtyFields,t)),E||B?k(r.dirtyFields,t):A(r.dirtyFields,t,!0),v.dirtyFields=r.dirtyFields,u=u||F.dirtyFields&&g!==!E}if(o){const E=y(r.touchedFields,t);E||(A(r.touchedFields,t,o),v.touchedFields=r.touchedFields,u=u||F.touchedFields&&E!==o)}u&&c&&h.state.next(v)}return u?v:{}},pe=(t,a,o,d)=>{const c=y(r.errors,t),u=F.isValid&&z(a)&&r.isValid!==a;if(s.delayError&&o?(D=T(()=>G(t,o)),D(s.delayError)):(clearTimeout(L),D=null,o?A(r.errors,t,o):k(r.errors,t)),(o?!re(c,o):c)||!O(d)||u){const g={...d,...u&&z(a)?{isValid:a}:{},errors:r.errors,name:t};r={...r,...g},h.state.next(g)}},ie=async t=>{ee(t,!0);const a=await s.resolver(l,s.context,Zt(t||m.mount,i,s.criteriaMode,s.shouldUseNativeValidation));return ee(t),a},ne=async t=>{const{errors:a}=await ie(t);if(t)for(const o of t){const d=y(a,o);d?A(r.errors,o,d):k(r.errors,o)}else r.errors=a;return a},q=async(t,a,o={valid:!0})=>{for(const d in t){const c=t[d];if(c){const{_f:u,...g}=c;if(u){const v=m.array.has(u.name),B=c._f&&Gt(c._f);B&&F.validatingFields&&ee([d],!0);const E=await ot(c,m.disabled,l,I,s.shouldUseNativeValidation&&!a,v);if(B&&F.validatingFields&&ee([d]),E[u.name]&&(o.valid=!1,a))break;!a&&(y(E,u.name)?v?Jt(r.errors,E,u.name):A(r.errors,u.name,E[u.name]):k(r.errors,u.name))}!O(g)&&await q(g,a,o)}}return o.valid},be=()=>{for(const t of m.unMount){const a=y(i,t);a&&(a._f.refs?a._f.refs.every(o=>!De(o)):!De(a._f.ref))&&Ve(t)}m.unMount=new Set},p=(t,a)=>!s.disabled&&(t&&a&&A(l,t,a),!re(Ne(),n)),x=(t,a,o)=>Wt(t,m,{...f.mount?l:S(a)?n:K(t)?{[t]:a}:a},o,a),P=t=>Se(y(f.mount?l:n,t,s.shouldUnregister?y(n,t,[]):[])),R=(t,a,o={})=>{const d=y(i,t);let c=a;if(d){const u=d._f;u&&(!u.disabled&&A(l,t,wt(a,u)),c=Fe(u.ref)&&C(a)?"":a,pt(u.ref)?[...u.ref.options].forEach(g=>g.selected=c.includes(g.value)):u.refs?he(u.ref)?u.refs.length>1?u.refs.forEach(g=>(!g.defaultChecked||!g.disabled)&&(g.checked=Array.isArray(c)?!!c.find(v=>v===g.value):c===g.value)):u.refs[0]&&(u.refs[0].checked=!!c):u.refs.forEach(g=>g.checked=g.value===c):Le(u.ref)?u.ref.value="":(u.ref.value=c,u.ref.type||h.values.next({name:t,values:{...l}})))}(o.shouldDirty||o.shouldTouch)&&le(t,c,o.shouldTouch,o.shouldDirty,!0),o.shouldValidate&&fe(t)},H=(t,a,o)=>{for(const d in a){const c=a[d],u=`${t}.${d}`,g=y(i,u);(m.array.has(t)||_(c)||g&&!g._f)&&!oe(c)?H(u,c,o):R(u,c,o)}},N=(t,a,o={})=>{const d=y(i,t),c=m.array.has(t),u=j(a);A(l,t,u),c?(h.array.next({name:t,values:{...l}}),(F.isDirty||F.dirtyFields)&&o.shouldDirty&&h.state.next({name:t,dirtyFields:ye(n,l),isDirty:p(t,u)})):d&&!d._f&&!C(u)?H(t,u,o):R(t,u,o),tt(t,m)&&h.state.next({...r}),h.values.next({name:f.mount?t:void 0,values:{...l}})},ce=async t=>{f.mount=!0;const a=t.target;let o=a.name,d=!0;const c=y(i,o),u=()=>a.type?Re(c._f):qt(t),g=v=>{d=Number.isNaN(v)||oe(v)&&isNaN(v.getTime())||re(v,y(l,o,v))};if(c){let v,B;const E=u(),te=t.type===Xe.BLUR||t.type===Xe.FOCUS_OUT,Vt=!Qt(c._f)&&!s.resolver&&!y(r.errors,o)&&!c._f.deps||Xt(te,y(r.touchedFields,o),r.isSubmitted,ae,se),ke=tt(o,m,te);A(l,o,E),te?(c._f.onBlur&&c._f.onBlur(t),D&&D(0)):c._f.onChange&&c._f.onChange(t);const Be=le(o,E,te,!1),Pt=!O(Be)||ke;if(!te&&h.values.next({name:o,type:t.type,values:{...l}}),Vt)return F.isValid&&(s.mode==="onBlur"&&te?Z():te||Z()),Pt&&h.state.next({name:o,...ke?{}:Be});if(!te&&ke&&h.state.next({...r}),s.resolver){const{errors:Je}=await ie([o]);if(g(E),d){const kt=nt(r.errors,i,o),ze=nt(Je,i,kt.name||o);v=ze.error,o=ze.name,B=O(Je)}}else ee([o],!0),v=(await ot(c,m.disabled,l,I,s.shouldUseNativeValidation))[o],ee([o]),g(E),d&&(v?B=!1:F.isValid&&(B=await q(i,!0)));d&&(c._f.deps&&fe(c._f.deps),pe(o,B,v,Be))}},de=(t,a)=>{if(y(r.errors,a)&&t.focus)return t.focus(),1},fe=async(t,a={})=>{let o,d;const c=xe(t);if(s.resolver){const u=await ne(S(t)?t:c);o=O(u),d=t?!c.some(g=>y(u,g)):o}else t?(d=(await Promise.all(c.map(async u=>{const g=y(i,u);return await q(g&&g._f?{[u]:g}:g)}))).every(Boolean),!(!d&&!r.isValid)&&Z()):d=o=await q(i);return h.state.next({...!K(t)||F.isValid&&o!==r.isValid?{}:{name:t},...s.resolver||!t?{isValid:o}:{},errors:r.errors}),a.shouldFocus&&!d&&ve(i,de,t?c:m.mount),d},Ne=t=>{const a={...f.mount?l:n};return S(t)?a:K(t)?y(a,t):t.map(o=>y(a,o))},je=(t,a)=>({invalid:!!y((a||r).errors,t),isDirty:!!y((a||r).dirtyFields,t),error:y((a||r).errors,t),isValidating:!!y(r.validatingFields,t),isTouched:!!y((a||r).touchedFields,t)}),Ft=t=>{t&&xe(t).forEach(a=>k(r.errors,a)),h.state.next({errors:t?r.errors:{}})},Ue=(t,a,o)=>{const d=(y(i,t,{_f:{}})._f||{}).ref,c=y(r.errors,t)||{},{ref:u,message:g,type:v,...B}=c;A(r.errors,t,{...B,...a,ref:d}),h.state.next({name:t,errors:r.errors,isValid:!1}),o&&o.shouldFocus&&d&&d.focus&&d.focus()},At=(t,a)=>Y(t)?h.values.subscribe({next:o=>t(x(void 0,a),o)}):x(t,a,!0),Ve=(t,a={})=>{for(const o of t?xe(t):m.mount)m.mount.delete(o),m.array.delete(o),a.keepValue||(k(i,o),k(l,o)),!a.keepError&&k(r.errors,o),!a.keepDirty&&k(r.dirtyFields,o),!a.keepTouched&&k(r.touchedFields,o),!a.keepIsValidating&&k(r.validatingFields,o),!s.shouldUnregister&&!a.keepDefaultValue&&k(n,o);h.values.next({values:{...l}}),h.state.next({...r,...a.keepDirty?{isDirty:p()}:{}}),!a.keepIsValid&&Z()},Ie=({disabled:t,name:a,field:o,fields:d})=>{(z(t)&&f.mount||t||m.disabled.has(a))&&(t?m.disabled.add(a):m.disabled.delete(a),le(a,Re(o?o._f:y(d,a)._f),!1,!1,!0))},Pe=(t,a={})=>{let o=y(i,t);const d=z(a.disabled)||z(s.disabled);return A(i,t,{...o||{},_f:{...o&&o._f?o._f:{ref:{name:t}},name:t,mount:!0,...a}}),m.mount.add(t),o?Ie({field:o,disabled:z(a.disabled)?a.disabled:s.disabled,name:t}):V(t,!0,a.value),{...d?{disabled:a.disabled||s.disabled}:{},...s.progressive?{required:!!a.required,min:me(a.min),max:me(a.max),minLength:me(a.minLength),maxLength:me(a.maxLength),pattern:me(a.pattern)}:{},name:t,onChange:ce,onBlur:ce,ref:c=>{if(c){Pe(t,a),o=y(i,t);const u=S(c.value)&&c.querySelectorAll&&c.querySelectorAll("input,select,textarea")[0]||c,g=Kt(u),v=o._f.refs||[];if(g?v.find(B=>B===u):u===o._f.ref)return;A(i,t,{_f:{...o._f,...g?{refs:[...v.filter(De),u,...Array.isArray(y(n,t))?[{}]:[]],ref:{type:u.type,name:t}}:{ref:u}}}),V(t,!1,void 0,u)}else o=y(i,t,{}),o._f&&(o._f.mount=!1),(s.shouldUnregister||a.shouldUnregister)&&!(jt(m.array,t)&&f.action)&&m.unMount.add(t)}}},He=()=>s.shouldFocusError&&ve(i,de,m.mount),_t=t=>{z(t)&&(h.state.next({disabled:t}),ve(i,(a,o)=>{const d=y(i,o);d&&(a.disabled=d._f.disabled||t,Array.isArray(d._f.refs)&&d._f.refs.forEach(c=>{c.disabled=d._f.disabled||t}))},0,!1))},Me=(t,a)=>async o=>{let d;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let c=j(l);if(m.disabled.size)for(const u of m.disabled)A(c,u,void 0);if(h.state.next({isSubmitting:!0}),s.resolver){const{errors:u,values:g}=await ie();r.errors=u,c=g}else await q(i);if(k(r.errors,"root"),O(r.errors)){h.state.next({errors:{}});try{await t(c,o)}catch(u){d=u}}else a&&await a({...r.errors},o),He(),setTimeout(He);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:O(r.errors)&&!d,submitCount:r.submitCount+1,errors:r.errors}),d)throw d},St=(t,a={})=>{y(i,t)&&(S(a.defaultValue)?N(t,j(y(n,t))):(N(t,a.defaultValue),A(n,t,j(a.defaultValue))),a.keepTouched||k(r.touchedFields,t),a.keepDirty||(k(r.dirtyFields,t),r.isDirty=a.defaultValue?p(t,j(y(n,t))):p()),a.keepError||(k(r.errors,t),F.isValid&&Z()),h.state.next({...r}))},We=(t,a={})=>{const o=t?j(t):n,d=j(o),c=O(t),u=c?n:d;if(a.keepDefaultValues||(n=o),!a.keepValues){if(a.keepDirtyValues){const g=new Set([...m.mount,...Object.keys(ye(n,l))]);for(const v of Array.from(g))y(r.dirtyFields,v)?A(u,v,y(l,v)):N(v,y(u,v))}else{if(Ce&&S(t))for(const g of m.mount){const v=y(i,g);if(v&&v._f){const B=Array.isArray(v._f.refs)?v._f.refs[0]:v._f.ref;if(Fe(B)){const E=B.closest("form");if(E){E.reset();break}}}}i={}}l=s.shouldUnregister?a.keepDefaultValues?j(n):{}:j(u),h.array.next({values:{...u}}),h.values.next({values:{...u}})}m={mount:a.keepDirtyValues?m.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},f.mount=!F.isValid||!!a.keepIsValid||!!a.keepDirtyValues,f.watch=!!s.shouldUnregister,h.state.next({submitCount:a.keepSubmitCount?r.submitCount:0,isDirty:c?!1:a.keepDirty?r.isDirty:!!(a.keepDefaultValues&&!re(t,n)),isSubmitted:a.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:c?{}:a.keepDirtyValues?a.keepDefaultValues&&l?ye(n,l):r.dirtyFields:a.keepDefaultValues&&t?ye(n,t):a.keepDirty?r.dirtyFields:{},touchedFields:a.keepTouched?r.touchedFields:{},errors:a.keepErrors?r.errors:{},isSubmitSuccessful:a.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1})},$e=(t,a)=>We(Y(t)?t(l):t,a);return{control:{register:Pe,unregister:Ve,getFieldState:je,handleSubmit:Me,setError:Ue,_executeSchema:ie,_getWatch:x,_getDirty:p,_updateValid:Z,_removeUnmounted:be,_updateFieldArray:b,_updateDisabledField:Ie,_getFieldArray:P,_reset:We,_resetDefaultValues:()=>Y(s.defaultValues)&&s.defaultValues().then(t=>{$e(t,s.resetOptions),h.state.next({isLoading:!1})}),_updateFormState:t=>{r={...r,...t}},_disableForm:_t,_subjects:h,_proxyFormState:F,_setErrors:Q,get _fields(){return i},get _formValues(){return l},get _state(){return f},set _state(t){f=t},get _defaultValues(){return n},get _names(){return m},set _names(t){m=t},get _formState(){return r},set _formState(t){r=t},get _options(){return s},set _options(t){s={...s,...t}}},trigger:fe,register:Pe,handleSubmit:Me,watch:At,setValue:N,getValues:Ne,reset:$e,resetField:St,clearErrors:Ft,unregister:Ve,setError:Ue,setFocus:(t,a={})=>{const o=y(i,t),d=o&&o._f;if(d){const c=d.refs?d.refs[0]:d.ref;c.focus&&(c.focus(),a.shouldSelect&&Y(c.select)&&c.select())}},getFieldState:je}}function sr(e={}){const s=U.useRef(void 0),r=U.useRef(void 0),[i,n]=U.useState({isDirty:!1,isValidating:!1,isLoading:Y(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Y(e.defaultValues)?void 0:e.defaultValues});s.current||(s.current={...rr(e),formState:i});const l=s.current.control;return l._options=e,Mt({subject:l._subjects.state,next:f=>{Ht(f,l._proxyFormState,l._updateFormState)&&n({...l._formState})}}),U.useEffect(()=>l._disableForm(e.disabled),[l,e.disabled]),U.useEffect(()=>{if(l._proxyFormState.isDirty){const f=l._getDirty();f!==i.isDirty&&l._subjects.state.next({isDirty:f})}},[l,i.isDirty]),U.useEffect(()=>{e.values&&!re(e.values,r.current)?(l._reset(e.values,l._options.resetOptions),r.current=e.values,n(f=>({...f}))):l._resetDefaultValues()},[e.values,l]),U.useEffect(()=>{e.errors&&l._setErrors(e.errors)},[e.errors,l]),U.useEffect(()=>{l._state.mount||(l._updateValid(),l._state.mount=!0),l._state.watch&&(l._state.watch=!1,l._subjects.state.next({...l._formState})),l._removeUnmounted()}),U.useEffect(()=>{e.shouldUnregister&&l._subjects.values.next({values:l._getWatch()})},[e.shouldUnregister,l]),s.current.formState=It(i,l),s.current}const zr={title:"Guides/Integration with React Hook Form",args:{onSubmit:Bt(e=>{console.log("Form submitted:",e)})}},ge={render:function(s){var f,m,D,L,F,h,se,ae;const{register:r,handleSubmit:i,formState:{errors:n},reset:l}=sr({defaultValues:{fullName:"",email:"",age:void 0,country:"",password:"",confirmPassword:"",bio:"",privacyPolicyAccepted:!1}});return w.jsx("div",{style:{maxWidth:"600px",margin:"0 auto",padding:"20px"},children:w.jsxs(Ke,{direction:"column",gap:"16",children:[w.jsx(Dt,{variant:"extraLarge",tag:"h1",children:"User Registration Form"}),w.jsxs("form",{onSubmit:i(s.onSubmit),style:{display:"contents"},noValidate:!0,children:[w.jsx(Ze,{label:"Full Name",...r("fullName",{required:"Full name is required"}),error:(f=n.fullName)==null?void 0:f.message,required:!0}),w.jsx(Ze,{label:"Email",type:"email",...r("email",{required:"Email is required"}),error:(m=n.email)==null?void 0:m.message,required:!0}),w.jsx(Rt,{label:"Age",...r("age",{valueAsNumber:!0,required:"Age is required",min:{value:18,message:"You must be at least 18 years old"}}),min:18,max:120,error:(D=n.age)==null?void 0:D.message,required:!0}),w.jsxs(Tt,{label:"Country",placeholder:"",...r("country",{required:"Country is required"}),error:(L=n.country)==null?void 0:L.message,required:!0,children:[w.jsx(J,{value:"us",children:"United States"}),w.jsx(J,{value:"ca",children:"Canada"}),w.jsx(J,{value:"uk",children:"United Kingdom"}),w.jsx(J,{value:"de",children:"Germany"}),w.jsx(J,{value:"fr",children:"France"}),w.jsx(J,{value:"it",children:"Italy"}),w.jsx(J,{value:"es",children:"Spain"}),w.jsx(J,{value:"au",children:"Australia"}),w.jsx(J,{value:"jp",children:"Japan"}),w.jsx(J,{value:"other",children:"Other"})]}),w.jsx(Ge,{label:"Password",...r("password",{required:"Password is required",minLength:{value:8,message:"Password must be at least 8 characters"},pattern:{value:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]/,message:"Password must contain at least one uppercase letter, one lowercase letter, one number, and one special character"}}),error:(F=n.password)==null?void 0:F.message,required:!0}),w.jsx(Ge,{label:"Confirm Password",...r("confirmPassword",{required:"Please confirm your password",validate:(I,T)=>I===T.password||"Passwords do not match"}),error:(h=n.confirmPassword)==null?void 0:h.message,required:!0}),w.jsx(Ct,{label:"Bio",...r("bio",{maxLength:{value:500,message:"Bio must be less than 500 characters"}}),error:(se=n.bio)==null?void 0:se.message}),w.jsx(Ot,{label:"Accept Privacy Policy",description:"I accept the Privacy Policy",error:(ae=n.privacyPolicyAccepted)==null?void 0:ae.message,hideLabel:!0,children:w.jsx(Lt,{...r("privacyPolicyAccepted",{required:"You must accept the Privacy Policy"})})}),w.jsxs(Ke,{gap:"12",padding:["20","0","0"],justifyContent:"end",children:[w.jsx(Qe,{onClick:()=>l(),variant:"secondary",children:"Reset"}),w.jsx(Qe,{submitsForm:!0,children:"Submit"})]})]})]})})},play:async({args:e,canvasElement:s,step:r})=>{const i=Et(s);await r("Fill all form fields",async()=>{console.log(await i.findAllByRole("textbox")),await M.type(i.getByRole("textbox",{name:"Full Name"}),"John Doe"),await M.type(i.getByRole("textbox",{name:"Email"}),"john.doe@example.com"),await M.clear(i.getByRole("spinbutton",{name:"Age"})),await M.type(i.getByRole("spinbutton",{name:"Age"}),"25"),await M.selectOptions(i.getByRole("combobox",{name:"Country"}),"us"),await M.type(i.getByLabelText(/^Password/),"TestPassword123!"),await M.type(i.getByLabelText(/^Confirm Password/),"TestPassword123!"),await M.type(i.getByRole("textbox",{name:"Bio"}),"I am a software engineer with 5 years of experience."),await M.click(i.getByRole("checkbox",{name:"Accept Privacy Policy"}))}),await r("Submit the form",async()=>{await M.click(i.getByRole("button",{name:"Submit"}))}),await r("Assert that onSubmit was called with correct data",async()=>{await Ye(()=>{$(e.onSubmit).toHaveBeenCalledWith({fullName:"John Doe",email:"john.doe@example.com",age:25,country:"us",password:"TestPassword123!",confirmPassword:"TestPassword123!",bio:"I am a software engineer with 5 years of experience.",privacyPolicyAccepted:!0},$.anything())})}),await r("Reset the form",async()=>{await M.click(i.getByRole("button",{name:"Reset"}))}),await r("Assert all fields are cleared",async()=>{await Ye(()=>{$(i.getByRole("textbox",{name:"Full Name"})).not.toHaveValue(),$(i.getByRole("textbox",{name:"Email"})).not.toHaveValue(),$(i.getByRole("spinbutton",{name:"Age"})).not.toHaveValue(),$(i.getByRole("combobox",{name:"Country"})).not.toHaveValue(),$(i.getByLabelText(/^Password/)).not.toHaveValue(),$(i.getByLabelText(/^Confirm Password/)).not.toHaveValue(),$(i.getByRole("textbox",{name:"Bio"})).not.toHaveValue(),$(i.getByRole("checkbox",{name:"Accept Privacy Policy"})).not.toBeChecked()})})}};var ut,ct,dt,ft,yt;ge.parameters={...ge.parameters,docs:{...(ut=ge.parameters)==null?void 0:ut.docs,source:{originalSource:`{
|
2
2
|
render: function Story(args) {
|
3
3
|
const {
|
4
4
|
register,
|