From 99c3923066e01c31c5f2c2d809e96c48796fa062 Mon Sep 17 00:00:00 2001 From: Amsterdam CI Date: Tue, 10 Dec 2024 15:01:55 +0000 Subject: [PATCH] upload 1.10.0.20241210.1 --- assets/{Accordion-D9NMahB8.js => Accordion-B1ZH8Czd.js} | 2 +- ....stories-B1P15ap4.js => Accordion.stories-D4-dqeUJ.js} | 2 +- ...lert.stories-CAOVPCYG.js => Alert.stories-DBWNyhg3.js} | 2 +- assets/{AlertBase-DGXY5KHL.js => AlertBase-DwpiVhFL.js} | 2 +- ...tories-T9FZH3FM.js => AspectRatio.stories-CQz6taa5.js} | 2 +- .../{Box.stories-BuByQPhP.js => Box.stories-CUbcdl1M.js} | 2 +- assets/{Button-jNQoxaXU.js => Button-DKrj2h9O.js} | 2 +- ...ton.stories-Cneac_oe.js => Button.stories-UlUMn-yP.js} | 2 +- ...ter.stories-BI4xPBXt.js => Center.stories-q-zznbI0.js} | 2 +- ...xSSTV.js => CharactersLeftDisplay.stories-CYihfNCY.js} | 2 +- ...ystemEntry-hHuktGEM.js => ChatSystemEntry-BaHEjUy7.js} | 2 +- ...es-C5iMxWp3.js => ChatSystemEntry.stories-CDQmfrkY.js} | 2 +- ...x.stories-BEM4CFlP.js => Checkbox.stories-KZfyxzG0.js} | 2 +- ...ories-DiyZ8Yg-.js => CityPassCard.stories-DPyqt3-W.js} | 2 +- ...or-F6OSRLHC-Bfk-0pGG.js => Color-F6OSRLHC-D9sRhu0d.js} | 2 +- ...HY34-CH-eIvHo.js => DocsRenderer-CFRXHY34-CB3m3uCJ.js} | 8 ++++---- ...tories-D1zTyrfy.js => EmailButton.stories-B7-523LX.js} | 2 +- ...ories-BqSL71ej.js => EmptyMessage.stories-C8KGDEs-.js} | 2 +- ...stories-wp1beRas.js => FauxButton.stories-Ch10gWP2.js} | 2 +- assets/FollowButton.stories-DJzG8euk.js | 5 ----- assets/FollowButton.stories-Yic_ExT0.js | 5 +++++ .../{HtmlContent-BXBHRQsV.js => HtmlContent-CKWrIzWU.js} | 2 +- ...tories-4oTfxi3R.js => HtmlContent.stories-DYDJZ7jy.js} | 2 +- assets/{Icon-BD3fFj_K.js => Icon-DzTBkJ4u.js} | 2 +- ...{Icon.stories-BJa5zCgF.js => Icon.stories-Du-CPvPs.js} | 2 +- assets/{IconButton-C0GLYfe-.js => IconButton-S0EpSLVW.js} | 2 +- ...stories-C7SFt6wO.js => IconButton.stories-C1LCMuoN.js} | 2 +- ...-DHl4vj01.js => InformationButton.stories-Du6kDLHD.js} | 2 +- assets/{Label-C4_wptQZ.js => Label-DDhtsJHB.js} | 2 +- ...abel.stories-fn_1xDUO.js => Label.stories-BS5Vw2jo.js} | 2 +- ...{Link.stories-BkZj8ZoY.js => Link.stories-CHccDDk6.js} | 2 +- ...{List.stories-Cwg0zFyx.js => List.stories-Dn8Qdj6o.js} | 2 +- ...tItemMarker-RMfNa45x.js => ListItemMarker--j-mu3eN.js} | 2 +- ...s-Dm9S6DXP.js => NavigationButton.stories-CgHM-b0o.js} | 2 +- ...j2.js => NotificationHistoryEmpty.stories-Vj_vQYJL.js} | 2 +- ...YqJ.js => NotificationHistoryItem.stories-pH5g4zh6.js} | 2 +- ... => NotificationHistoryListFooter.stories-Ccl26lGe.js} | 2 +- assets/{Paragraph-C4zYzItT.js => Paragraph-DU14yVhW.js} | 2 +- ....stories-iPH_SYCB.js => Paragraph.stories-BBVzv3hH.js} | 2 +- .../{PhoneButton-BP5KgH4D.js => PhoneButton-DzIfqh9m.js} | 2 +- ...tories-QtyCZM2T.js => PhoneButton.stories-DQs96oz7.js} | 2 +- ...ries-CP0Hax4n.js => PhoneHQButton.stories-NHJVws--.js} | 2 +- assets/{Phrase-Dnv5p-ah.js => Phrase-FY7SqhHh.js} | 2 +- ...ase.stories-vx1JhqZi.js => Phrase.stories-WyHp9xL1.js} | 2 +- assets/{PleaseWait-DtPz9rW0.js => PleaseWait-D1f8b25a.js} | 2 +- ...stories-DNNggDWu.js => PleaseWait.stories-BuM3G2oZ.js} | 2 +- assets/{Pressable-kwatEfDj.js => Pressable-0Of7HZos.js} | 2 +- ....stories-Do2kFpVF.js => Pressable.stories-CL8kOjpZ.js} | 2 +- ...ressableBase-C7VxqMV9.js => PressableBase-DhkKVuqd.js} | 2 +- ...ries-DbbWG8dg.js => PressableBase.stories-USPKU3bj.js} | 2 +- ...stories-D2Tj5TDQ.js => RadioGroup.stories-C76qQ-dP.js} | 2 +- .../{Row.stories-D56QDDj0.js => Row.stories-DRYWzch8.js} | 2 +- ...{Size.stories-Cg0-tU1f.js => Size.stories-B7jZv6Rl.js} | 2 +- ...LkFgIJUv.js => SomethingWentWrong.stories-bJjqQogI.js} | 2 +- ...tch.stories-Ndira0bo.js => Switch.stories-BS9spyxO.js} | 2 +- .../{Tag.stories-DSysMEln.js => Tag.stories-Ck6EV1cT.js} | 2 +- ....stories-CJ0XZhJK.js => TextInput.stories-B4hSDUIc.js} | 2 +- ...e.stories--7Sqshgq.js => Timeline.stories-tT6nO01r.js} | 2 +- assets/{Title-DSiraCpB.js => Title-CLDk-249.js} | 2 +- ...itle.stories-CQJj_JxL.js => Title.stories-ZmSm_PEZ.js} | 2 +- assets/{Tooltip-BzAIIzXz.js => Tooltip-Dddt_hel.js} | 2 +- ...ip.stories-qw1I9w5z.js => Tooltip.stories-Den2DIZ7.js} | 2 +- ...ries-C3DufLXq.js => TopTaskButton.stories-DMzqU9BW.js} | 2 +- ...rait.stories-CV-gUPwo.js => Trait.stories-DsYxZbCa.js} | 2 +- ...ntry-preview-DHzzMnLP.js => entry-preview-Cjm0SKuM.js} | 2 +- assets/{iframe-Cwt7ez56.js => iframe-oMwCeC19.js} | 4 ++-- assets/{index-DgmJIe7t.js => index-BW2XZOZc.js} | 2 +- assets/{index-LDRWBpq_.js => index-CIcog7m4.js} | 2 +- assets/{index-CpR3wvdC.js => index-mfiv5hQn.js} | 2 +- assets/{modules-JDQiHpSw.js => modules-CEymqiYN.js} | 6 +++--- assets/{preview-DimCL9bU.js => preview-1KpdE0wR.js} | 2 +- assets/{preview-DZzZa8Fn.js => preview-Buiu3RNa.js} | 4 ++-- assets/{preview-57qoK5dq.js => preview-Dad1TSsD.js} | 2 +- ...OpenMailUrl-hiSWEozv.js => useOpenMailUrl-Blrf_PL9.js} | 2 +- ...enPhoneUrl-C5nkLsXz.js => useOpenPhoneUrl-TB9t0oDt.js} | 2 +- assets/{useOpenUrl-BebUyU0w.js => useOpenUrl-DkzqnrRX.js} | 4 ++-- ...6.js => usePiwikTrackCustomEventFromProps-CT_KpUEz.js} | 2 +- iframe.html | 2 +- project.json | 2 +- version.txt | 2 +- 80 files changed, 91 insertions(+), 91 deletions(-) rename assets/{Accordion-D9NMahB8.js => Accordion-B1ZH8Czd.js} (93%) rename assets/{Accordion.stories-B1P15ap4.js => Accordion.stories-D4-dqeUJ.js} (86%) rename assets/{Alert.stories-CAOVPCYG.js => Alert.stories-DBWNyhg3.js} (86%) rename assets/{AlertBase-DGXY5KHL.js => AlertBase-DwpiVhFL.js} (93%) rename assets/{AspectRatio.stories-T9FZH3FM.js => AspectRatio.stories-CQz6taa5.js} (96%) rename assets/{Box.stories-BuByQPhP.js => Box.stories-CUbcdl1M.js} (94%) rename assets/{Button-jNQoxaXU.js => Button-DKrj2h9O.js} (96%) rename assets/{Button.stories-Cneac_oe.js => Button.stories-UlUMn-yP.js} (92%) rename assets/{Center.stories-BI4xPBXt.js => Center.stories-q-zznbI0.js} (94%) rename assets/{CharactersLeftDisplay.stories-SuQxSSTV.js => CharactersLeftDisplay.stories-CYihfNCY.js} (95%) rename assets/{ChatSystemEntry-hHuktGEM.js => ChatSystemEntry-BaHEjUy7.js} (94%) rename assets/{ChatSystemEntry.stories-C5iMxWp3.js => ChatSystemEntry.stories-CDQmfrkY.js} (86%) rename assets/{Checkbox.stories-BEM4CFlP.js => Checkbox.stories-KZfyxzG0.js} (95%) rename assets/{CityPassCard.stories-DiyZ8Yg-.js => CityPassCard.stories-DPyqt3-W.js} (94%) rename assets/{Color-F6OSRLHC-Bfk-0pGG.js => Color-F6OSRLHC-D9sRhu0d.js} (99%) rename assets/{DocsRenderer-CFRXHY34-CH-eIvHo.js => DocsRenderer-CFRXHY34-CB3m3uCJ.js} (99%) rename assets/{EmailButton.stories-D1zTyrfy.js => EmailButton.stories-B7-523LX.js} (91%) rename assets/{EmptyMessage.stories-BqSL71ej.js => EmptyMessage.stories-C8KGDEs-.js} (96%) rename assets/{FauxButton.stories-wp1beRas.js => FauxButton.stories-Ch10gWP2.js} (95%) delete mode 100644 assets/FollowButton.stories-DJzG8euk.js create mode 100644 assets/FollowButton.stories-Yic_ExT0.js rename assets/{HtmlContent-BXBHRQsV.js => HtmlContent-CKWrIzWU.js} (99%) rename assets/{HtmlContent.stories-4oTfxi3R.js => HtmlContent.stories-DYDJZ7jy.js} (81%) rename assets/{Icon-BD3fFj_K.js => Icon-DzTBkJ4u.js} (99%) rename assets/{Icon.stories-BJa5zCgF.js => Icon.stories-Du-CPvPs.js} (95%) rename assets/{IconButton-C0GLYfe-.js => IconButton-S0EpSLVW.js} (98%) rename assets/{IconButton.stories-C7SFt6wO.js => IconButton.stories-C1LCMuoN.js} (85%) rename assets/{InformationButton.stories-DHl4vj01.js => InformationButton.stories-Du6kDLHD.js} (94%) rename assets/{Label-C4_wptQZ.js => Label-DDhtsJHB.js} (89%) rename assets/{Label.stories-fn_1xDUO.js => Label.stories-BS5Vw2jo.js} (84%) rename assets/{Link.stories-BkZj8ZoY.js => Link.stories-CHccDDk6.js} (87%) rename assets/{List.stories-Cwg0zFyx.js => List.stories-Dn8Qdj6o.js} (95%) rename assets/{ListItemMarker-RMfNa45x.js => ListItemMarker--j-mu3eN.js} (94%) rename assets/{NavigationButton.stories-Dm9S6DXP.js => NavigationButton.stories-CgHM-b0o.js} (94%) rename assets/{NotificationHistoryEmpty.stories-BJWiKhj2.js => NotificationHistoryEmpty.stories-Vj_vQYJL.js} (98%) rename assets/{NotificationHistoryItem.stories-B1p0WYqJ.js => NotificationHistoryItem.stories-pH5g4zh6.js} (84%) rename assets/{NotificationHistoryListFooter.stories-CWHD8KtV.js => NotificationHistoryListFooter.stories-Ccl26lGe.js} (93%) rename assets/{Paragraph-C4zYzItT.js => Paragraph-DU14yVhW.js} (84%) rename assets/{Paragraph.stories-iPH_SYCB.js => Paragraph.stories-BBVzv3hH.js} (92%) rename assets/{PhoneButton-BP5KgH4D.js => PhoneButton-DzIfqh9m.js} (96%) rename assets/{PhoneButton.stories-QtyCZM2T.js => PhoneButton.stories-DQs96oz7.js} (73%) rename assets/{PhoneHQButton.stories-CP0Hax4n.js => PhoneHQButton.stories-NHJVws--.js} (78%) rename assets/{Phrase-Dnv5p-ah.js => Phrase-FY7SqhHh.js} (92%) rename assets/{Phrase.stories-vx1JhqZi.js => Phrase.stories-WyHp9xL1.js} (95%) rename assets/{PleaseWait-DtPz9rW0.js => PleaseWait-D1f8b25a.js} (89%) rename assets/{PleaseWait.stories-DNNggDWu.js => PleaseWait.stories-BuM3G2oZ.js} (91%) rename assets/{Pressable-kwatEfDj.js => Pressable-0Of7HZos.js} (96%) rename assets/{Pressable.stories-Do2kFpVF.js => Pressable.stories-CL8kOjpZ.js} (75%) rename assets/{PressableBase-C7VxqMV9.js => PressableBase-DhkKVuqd.js} (94%) rename assets/{PressableBase.stories-DbbWG8dg.js => PressableBase.stories-USPKU3bj.js} (79%) rename assets/{RadioGroup.stories-D2Tj5TDQ.js => RadioGroup.stories-C76qQ-dP.js} (96%) rename assets/{Row.stories-D56QDDj0.js => Row.stories-DRYWzch8.js} (86%) rename assets/{Size.stories-Cg0-tU1f.js => Size.stories-B7jZv6Rl.js} (94%) rename assets/{SomethingWentWrong.stories-LkFgIJUv.js => SomethingWentWrong.stories-bJjqQogI.js} (88%) rename assets/{Switch.stories-Ndira0bo.js => Switch.stories-BS9spyxO.js} (94%) rename assets/{Tag.stories-DSysMEln.js => Tag.stories-Ck6EV1cT.js} (94%) rename assets/{TextInput.stories-CJ0XZhJK.js => TextInput.stories-B4hSDUIc.js} (91%) rename assets/{Timeline.stories--7Sqshgq.js => Timeline.stories-tT6nO01r.js} (89%) rename assets/{Title-DSiraCpB.js => Title-CLDk-249.js} (89%) rename assets/{Title.stories-CQJj_JxL.js => Title.stories-ZmSm_PEZ.js} (91%) rename assets/{Tooltip-BzAIIzXz.js => Tooltip-Dddt_hel.js} (97%) rename assets/{Tooltip.stories-qw1I9w5z.js => Tooltip.stories-Den2DIZ7.js} (89%) rename assets/{TopTaskButton.stories-C3DufLXq.js => TopTaskButton.stories-DMzqU9BW.js} (94%) rename assets/{Trait.stories-CV-gUPwo.js => Trait.stories-DsYxZbCa.js} (97%) rename assets/{entry-preview-DHzzMnLP.js => entry-preview-Cjm0SKuM.js} (99%) rename assets/{iframe-Cwt7ez56.js => iframe-oMwCeC19.js} (70%) rename assets/{index-DgmJIe7t.js => index-BW2XZOZc.js} (96%) rename assets/{index-LDRWBpq_.js => index-CIcog7m4.js} (98%) rename assets/{index-CpR3wvdC.js => index-mfiv5hQn.js} (93%) rename assets/{modules-JDQiHpSw.js => modules-CEymqiYN.js} (99%) rename assets/{preview-DimCL9bU.js => preview-1KpdE0wR.js} (93%) rename assets/{preview-DZzZa8Fn.js => preview-Buiu3RNa.js} (79%) rename assets/{preview-57qoK5dq.js => preview-Dad1TSsD.js} (97%) rename assets/{useOpenMailUrl-hiSWEozv.js => useOpenMailUrl-Blrf_PL9.js} (87%) rename assets/{useOpenPhoneUrl-C5nkLsXz.js => useOpenPhoneUrl-TB9t0oDt.js} (87%) rename assets/{useOpenUrl-BebUyU0w.js => useOpenUrl-DkzqnrRX.js} (98%) rename assets/{usePiwikTrackCustomEventFromProps-DOnnRsC6.js => usePiwikTrackCustomEventFromProps-CT_KpUEz.js} (94%) diff --git a/assets/Accordion-D9NMahB8.js b/assets/Accordion-B1ZH8Czd.js similarity index 93% rename from assets/Accordion-D9NMahB8.js rename to assets/Accordion-B1ZH8Czd.js index d3c57c0d..c9f2b2a7 100644 --- a/assets/Accordion-D9NMahB8.js +++ b/assets/Accordion-B1ZH8Czd.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{r}from"./index-mfbfsM12.js";import{P as q}from"./Pressable-kwatEfDj.js";import{B as m}from"./Box-CEQ9kk6v.js";import{C}from"./Column-CFK5NdwL.js";import{G as P}from"./Gutter-BrZ2VZou.js";import{R as N}from"./Row-D-wvv0CV.js";import{S}from"./Size-ByzkQpGs.js";import{I as D}from"./Icon-BD3fFj_K.js";import{T as I}from"./Title-DSiraCpB.js";import{P as _}from"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import{u as T}from"./useTheme-ChTiG3MC.js";import{P as E}from"./index-DSI0shHu.js";const $=({children:n})=>e.jsxs(e.Fragment,{children:[e.jsx(m,{insetHorizontal:"md",children:n}),e.jsx(P,{height:"md"})]}),c=({icon:n,title:l})=>e.jsx(m,{grow:!0,children:e.jsxs(N,{align:"between",gutter:"md",valign:"start",children:[e.jsx(I,{color:"link",level:"h5",numberOfLines:3,text:l}),n]})}),d=({grow:n,initiallyExpanded:l,isExpandable:p=!0,onChangeExpanded:o,children:v,testID:s,title:t,logAction:f,logDimensions:g={},logName:h,logCategory:b,logValue:y,shrink:x})=>{const[a,j]=r.useState(!!l),w=a?"chevron-up":"chevron-down",{text:A}=T(),u=r.useCallback(i=>{j(i),o==null||o(i)},[o]),V=r.useMemo(()=>{const i=a?"Uitgevouwen":"Samengevouwen",k=E.OS==="android"?`${t}`:`${t}, dubbeltik om de inhoud te ${a?"verbergen":"bekijken"}`;return`${i}, ${k}.`},[a,t]);return p?e.jsxs(C,{grow:n,shrink:x,children:[e.jsx(q,{accessibilityActions:[{name:"activate",label:a?"het verbergen van de inhoud":"het bekijken van de inhoud"}],accessibilityLabel:V,accessibilityLanguage:"nl-NL",logAction:f,logCategory:b,logDimensions:{...g,[_.newState]:a?"closed":"open"},logName:h,logValue:y,onAccessibilityAction:i=>{i.nativeEvent.actionName==="activate"&&u(!a)},onPress:()=>u(!a),testID:s,children:e.jsx(c,{icon:e.jsx(S,{height:A.lineHeight.h5,children:e.jsx(D,{color:"link",name:w,size:"lg",testID:`${s}Icon`})}),title:t})}),!!a&&e.jsx($,{children:v})]}):e.jsx(c,{title:t})};try{d.displayName="Accordion",d.__docgenInfo={description:"",displayName:"Accordion",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"number"}},initiallyExpanded:{defaultValue:null,description:"",name:"initiallyExpanded",required:!1,type:{name:"boolean"}},isExpandable:{defaultValue:{value:"true"},description:"",name:"isExpandable",required:!1,type:{name:"boolean"}},onChangeExpanded:{defaultValue:null,description:"",name:"onChangeExpanded",required:!1,type:{name:"((state: boolean) => void)"}},shrink:{defaultValue:null,description:"",name:"shrink",required:!1,type:{name:"number"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}export{d as A}; +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{r}from"./index-mfbfsM12.js";import{P as q}from"./Pressable-0Of7HZos.js";import{B as m}from"./Box-CEQ9kk6v.js";import{C}from"./Column-CFK5NdwL.js";import{G as P}from"./Gutter-BrZ2VZou.js";import{R as N}from"./Row-D-wvv0CV.js";import{S}from"./Size-ByzkQpGs.js";import{I as D}from"./Icon-DzTBkJ4u.js";import{T as I}from"./Title-CLDk-249.js";import{P as _}from"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import{u as T}from"./useTheme-ChTiG3MC.js";import{P as E}from"./index-DSI0shHu.js";const $=({children:n})=>e.jsxs(e.Fragment,{children:[e.jsx(m,{insetHorizontal:"md",children:n}),e.jsx(P,{height:"md"})]}),c=({icon:n,title:l})=>e.jsx(m,{grow:!0,children:e.jsxs(N,{align:"between",gutter:"md",valign:"start",children:[e.jsx(I,{color:"link",level:"h5",numberOfLines:3,text:l}),n]})}),d=({grow:n,initiallyExpanded:l,isExpandable:p=!0,onChangeExpanded:o,children:v,testID:s,title:t,logAction:f,logDimensions:g={},logName:h,logCategory:b,logValue:y,shrink:x})=>{const[a,j]=r.useState(!!l),w=a?"chevron-up":"chevron-down",{text:A}=T(),u=r.useCallback(i=>{j(i),o==null||o(i)},[o]),V=r.useMemo(()=>{const i=a?"Uitgevouwen":"Samengevouwen",k=E.OS==="android"?`${t}`:`${t}, dubbeltik om de inhoud te ${a?"verbergen":"bekijken"}`;return`${i}, ${k}.`},[a,t]);return p?e.jsxs(C,{grow:n,shrink:x,children:[e.jsx(q,{accessibilityActions:[{name:"activate",label:a?"het verbergen van de inhoud":"het bekijken van de inhoud"}],accessibilityLabel:V,accessibilityLanguage:"nl-NL",logAction:f,logCategory:b,logDimensions:{...g,[_.newState]:a?"closed":"open"},logName:h,logValue:y,onAccessibilityAction:i=>{i.nativeEvent.actionName==="activate"&&u(!a)},onPress:()=>u(!a),testID:s,children:e.jsx(c,{icon:e.jsx(S,{height:A.lineHeight.h5,children:e.jsx(D,{color:"link",name:w,size:"lg",testID:`${s}Icon`})}),title:t})}),!!a&&e.jsx($,{children:v})]}):e.jsx(c,{title:t})};try{d.displayName="Accordion",d.__docgenInfo={description:"",displayName:"Accordion",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"number"}},initiallyExpanded:{defaultValue:null,description:"",name:"initiallyExpanded",required:!1,type:{name:"boolean"}},isExpandable:{defaultValue:{value:"true"},description:"",name:"isExpandable",required:!1,type:{name:"boolean"}},onChangeExpanded:{defaultValue:null,description:"",name:"onChangeExpanded",required:!1,type:{name:"((state: boolean) => void)"}},shrink:{defaultValue:null,description:"",name:"shrink",required:!1,type:{name:"number"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}export{d as A}; diff --git a/assets/Accordion.stories-B1P15ap4.js b/assets/Accordion.stories-D4-dqeUJ.js similarity index 86% rename from assets/Accordion.stories-B1P15ap4.js rename to assets/Accordion.stories-D4-dqeUJ.js index 73f793db..d744e08a 100644 --- a/assets/Accordion.stories-B1P15ap4.js +++ b/assets/Accordion.stories-D4-dqeUJ.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{A as a}from"./Accordion-D9NMahB8.js";import{P as n}from"./Paragraph-C4zYzItT.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-kwatEfDj.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Gutter-BrZ2VZou.js";import"./Row-D-wvv0CV.js";import"./Size-ByzkQpGs.js";import"./Icon-BD3fFj_K.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./Title-DSiraCpB.js";const ir={component:a},f="Een accordeon (Engels: accordion) is een klikbare verticaal gestapelde lijst van koppen om bijbehorende inhoud te verbergen of te vertonen. Je toont inhoud op een progressieve manier aan gebruikers. Ze zijn geschikt zodra gebruikers op zoek zijn naar essentiële inhoud op 1 pagina. Door niet essentiële inhoud te verbergen, kunnen gebruikers focussen op de primaire inhoud.",o=e=>r.jsx(a,{...e,children:r.jsx(n,{children:f})});o.args={title:"Wat is een accordeon?"};const t=e=>r.jsx(a,{...e,children:r.jsx(n,{children:f})});t.args={title:"De titel moet zo kort als mogelijk zijn, maar ook duidelijk en representatief voor de verborgen inhoud"};const i=()=>r.jsx(r.Fragment,{children:["Grof afval","Restafval","Containers in de buurt","Recyclepunten"].map(e=>r.jsx(a,{testID:e,title:e,children:r.jsxs(n,{children:["Informatie over ",e.toLowerCase()," komt hier."]})}))});var p,s,m;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:`args => +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{A as a}from"./Accordion-B1ZH8Czd.js";import{P as n}from"./Paragraph-DU14yVhW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-0Of7HZos.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Gutter-BrZ2VZou.js";import"./Row-D-wvv0CV.js";import"./Size-ByzkQpGs.js";import"./Icon-DzTBkJ4u.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./Title-CLDk-249.js";const ir={component:a},f="Een accordeon (Engels: accordion) is een klikbare verticaal gestapelde lijst van koppen om bijbehorende inhoud te verbergen of te vertonen. Je toont inhoud op een progressieve manier aan gebruikers. Ze zijn geschikt zodra gebruikers op zoek zijn naar essentiële inhoud op 1 pagina. Door niet essentiële inhoud te verbergen, kunnen gebruikers focussen op de primaire inhoud.",o=e=>r.jsx(a,{...e,children:r.jsx(n,{children:f})});o.args={title:"Wat is een accordeon?"};const t=e=>r.jsx(a,{...e,children:r.jsx(n,{children:f})});t.args={title:"De titel moet zo kort als mogelijk zijn, maar ook duidelijk en representatief voor de verborgen inhoud"};const i=()=>r.jsx(r.Fragment,{children:["Grof afval","Restafval","Containers in de buurt","Recyclepunten"].map(e=>r.jsx(a,{testID:e,title:e,children:r.jsxs(n,{children:["Informatie over ",e.toLowerCase()," komt hier."]})}))});var p,s,m;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:`args => {paragraphText} `,...(m=(s=o.parameters)==null?void 0:s.docs)==null?void 0:m.source}}};var c,d,l;t.parameters={...t.parameters,docs:{...(c=t.parameters)==null?void 0:c.docs,source:{originalSource:`args => {paragraphText} diff --git a/assets/Alert.stories-CAOVPCYG.js b/assets/Alert.stories-DBWNyhg3.js similarity index 86% rename from assets/Alert.stories-CAOVPCYG.js rename to assets/Alert.stories-DBWNyhg3.js index fd4af31d..d74047cf 100644 --- a/assets/Alert.stories-CAOVPCYG.js +++ b/assets/Alert.stories-DBWNyhg3.js @@ -1 +1 @@ -import{A as p,a as m}from"./AlertBase-DGXY5KHL.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./index-kbHxBZ_W.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./SingleSelectable-BAFROorM.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Row-D-wvv0CV.js";import"./Icon-BD3fFj_K.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-DSI0shHu.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./Paragraph-C4zYzItT.js";import"./Title-DSiraCpB.js";import"./useAccessibilityFocus-jeKlJ74P.js";import"./useTrackException-Cm6KdDpO.js";import"./development-LhlsWDYu.js";import"./index-DEfxrPnc.js";import"./index-CDv7s-w8.js";import"./useIsScreenReaderEnabled-A65pchNu.js";import"./duration-A4BOymd5.js";import"./accessibleText-gmNPjmn1.js";const e="Titel",a="U kunt een dagontheffing of jaarontheffing aanvragen",X={component:p,argTypes:{hasCloseIcon:{type:"boolean"},inset:{table:{disable:!0}},testID:{table:{disable:!0}},variant:{options:Object.values(m),control:{type:"radio"}}},args:{title:e,text:a}},t={};var o,r,i;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(i=(r=t.parameters)==null?void 0:r.docs)==null?void 0:i.source}}};const Y=["Default"];export{t as Default,Y as __namedExportsOrder,X as default}; +import{A as p,a as m}from"./AlertBase-DwpiVhFL.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./index-kbHxBZ_W.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./SingleSelectable-BAFROorM.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Row-D-wvv0CV.js";import"./Icon-DzTBkJ4u.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-DSI0shHu.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./Paragraph-DU14yVhW.js";import"./Title-CLDk-249.js";import"./useAccessibilityFocus-jeKlJ74P.js";import"./useTrackException-Cm6KdDpO.js";import"./development-LhlsWDYu.js";import"./index-DEfxrPnc.js";import"./index-CDv7s-w8.js";import"./useIsScreenReaderEnabled-A65pchNu.js";import"./duration-A4BOymd5.js";import"./accessibleText-gmNPjmn1.js";const e="Titel",a="U kunt een dagontheffing of jaarontheffing aanvragen",X={component:p,argTypes:{hasCloseIcon:{type:"boolean"},inset:{table:{disable:!0}},testID:{table:{disable:!0}},variant:{options:Object.values(m),control:{type:"radio"}}},args:{title:e,text:a}},t={};var o,r,i;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(i=(r=t.parameters)==null?void 0:r.docs)==null?void 0:i.source}}};const Y=["Default"];export{t as Default,Y as __namedExportsOrder,X as default}; diff --git a/assets/AlertBase-DGXY5KHL.js b/assets/AlertBase-DwpiVhFL.js similarity index 93% rename from assets/AlertBase-DGXY5KHL.js rename to assets/AlertBase-DwpiVhFL.js index 01b80e06..6e16fd56 100644 --- a/assets/AlertBase-DGXY5KHL.js +++ b/assets/AlertBase-DwpiVhFL.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{B as x}from"./Box-CEQ9kk6v.js";import{S as h}from"./SingleSelectable-BAFROorM.js";import{C as b}from"./Column-CFK5NdwL.js";import{R as m}from"./Row-D-wvv0CV.js";import{I as p}from"./Icon-BD3fFj_K.js";import{P as y}from"./Paragraph-C4zYzItT.js";import{T as j}from"./Title-DSiraCpB.js";import{u as I}from"./useAccessibilityFocus-jeKlJ74P.js";import{u as C}from"./useThemable-ua4U8LzO.js";import{D as _}from"./duration-A4BOymd5.js";import{a as w}from"./accessibleText-gmNPjmn1.js";import{V as l}from"./index-BP1Ij_Cs.js";import{s as V}from"./index-kbHxBZ_W.js";var n=(e=>(e.information="information",e.negative="negative",e.positive="positive",e.warning="warning",e))(n||{});const q=3,N=({children:e,inset:r})=>r!==void 0?a.jsx(x,{inset:r,children:e}):a.jsx(a.Fragment,{children:e}),d=({children:e,hasCloseIcon:r=!1,inset:s,testID:t,hasIcon:f=!1,text:c,title:o,variant:u=n.information})=>{const g=I(_.long),v=R[u],i=C(T(u));return!!c||!!o||!!e?a.jsx(N,{inset:s,children:a.jsx(l,{testID:`${t}Wrapper`,children:a.jsx(l,{accessibilityLanguage:"nl-NL",accessibilityRole:"alert",accessible:!0,ref:g,style:i==null?void 0:i.view,testID:t,children:e??a.jsxs(m,{align:"between",children:[a.jsx(h,{accessibilityLabel:w(o,c),accessibilityLanguage:"nl-NL",accessibilityRole:"alert",children:a.jsxs(m,{gutter:"md",children:[!!f&&a.jsx(l,{style:i==null?void 0:i.iconWrapper,children:a.jsx(p,{name:v,size:"lg",testID:`${t}Icon`})}),a.jsxs(b,{shrink:1,children:[!!o&&a.jsx(j,{level:"h4",text:o}),a.jsx(y,{children:c})]})]})}),!!r&&a.jsx(l,{children:a.jsx(p,{name:"close",size:"lg",testID:`${t}CloseIcon`})})]})})})}):null},R={[n.information]:"info",[n.negative]:"error",[n.positive]:"circle-check-mark",[n.warning]:"alert"},T=e=>({color:r,size:s})=>{if(e)return V.create({iconWrapper:{top:q},view:{backgroundColor:r.alert[e].background,borderWidth:2,borderColor:r.alert[e].border,paddingHorizontal:s.spacing.lg,paddingVertical:s.spacing.md}})};try{d.displayName="AlertBase",d.__docgenInfo={description:"",displayName:"AlertBase",props:{inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},hasCloseIcon:{defaultValue:{value:"false"},description:"",name:"hasCloseIcon",required:!1,type:{name:"boolean"}},hasIcon:{defaultValue:{value:"false"},description:"",name:"hasIcon",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},variant:{defaultValue:{value:"AlertVariant.information"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"information"'},{value:'"negative"'},{value:'"positive"'},{value:'"warning"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{d as A,n as a}; +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{B as x}from"./Box-CEQ9kk6v.js";import{S as h}from"./SingleSelectable-BAFROorM.js";import{C as b}from"./Column-CFK5NdwL.js";import{R as m}from"./Row-D-wvv0CV.js";import{I as p}from"./Icon-DzTBkJ4u.js";import{P as y}from"./Paragraph-DU14yVhW.js";import{T as j}from"./Title-CLDk-249.js";import{u as I}from"./useAccessibilityFocus-jeKlJ74P.js";import{u as C}from"./useThemable-ua4U8LzO.js";import{D as _}from"./duration-A4BOymd5.js";import{a as w}from"./accessibleText-gmNPjmn1.js";import{V as l}from"./index-BP1Ij_Cs.js";import{s as V}from"./index-kbHxBZ_W.js";var n=(e=>(e.information="information",e.negative="negative",e.positive="positive",e.warning="warning",e))(n||{});const q=3,N=({children:e,inset:r})=>r!==void 0?a.jsx(x,{inset:r,children:e}):a.jsx(a.Fragment,{children:e}),d=({children:e,hasCloseIcon:r=!1,inset:s,testID:t,hasIcon:f=!1,text:c,title:o,variant:u=n.information})=>{const g=I(_.long),v=R[u],i=C(T(u));return!!c||!!o||!!e?a.jsx(N,{inset:s,children:a.jsx(l,{testID:`${t}Wrapper`,children:a.jsx(l,{accessibilityLanguage:"nl-NL",accessibilityRole:"alert",accessible:!0,ref:g,style:i==null?void 0:i.view,testID:t,children:e??a.jsxs(m,{align:"between",children:[a.jsx(h,{accessibilityLabel:w(o,c),accessibilityLanguage:"nl-NL",accessibilityRole:"alert",children:a.jsxs(m,{gutter:"md",children:[!!f&&a.jsx(l,{style:i==null?void 0:i.iconWrapper,children:a.jsx(p,{name:v,size:"lg",testID:`${t}Icon`})}),a.jsxs(b,{shrink:1,children:[!!o&&a.jsx(j,{level:"h4",text:o}),a.jsx(y,{children:c})]})]})}),!!r&&a.jsx(l,{children:a.jsx(p,{name:"close",size:"lg",testID:`${t}CloseIcon`})})]})})})}):null},R={[n.information]:"info",[n.negative]:"error",[n.positive]:"circle-check-mark",[n.warning]:"alert"},T=e=>({color:r,size:s})=>{if(e)return V.create({iconWrapper:{top:q},view:{backgroundColor:r.alert[e].background,borderWidth:2,borderColor:r.alert[e].border,paddingHorizontal:s.spacing.lg,paddingVertical:s.spacing.md}})};try{d.displayName="AlertBase",d.__docgenInfo={description:"",displayName:"AlertBase",props:{inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},hasCloseIcon:{defaultValue:{value:"false"},description:"",name:"hasCloseIcon",required:!1,type:{name:"boolean"}},hasIcon:{defaultValue:{value:"false"},description:"",name:"hasIcon",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},variant:{defaultValue:{value:"AlertVariant.information"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"information"'},{value:'"negative"'},{value:'"positive"'},{value:'"warning"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{d as A,n as a}; diff --git a/assets/AspectRatio.stories-T9FZH3FM.js b/assets/AspectRatio.stories-CQz6taa5.js similarity index 96% rename from assets/AspectRatio.stories-T9FZH3FM.js rename to assets/AspectRatio.stories-CQz6taa5.js index ff269c8f..797b3b31 100644 --- a/assets/AspectRatio.stories-T9FZH3FM.js +++ b/assets/AspectRatio.stories-CQz6taa5.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{O as l}from"./types-BJ_48vsK.js";import{u as m}from"./useThemable-ua4U8LzO.js";import{V as u}from"./index-BP1Ij_Cs.js";import{s as d}from"./index-kbHxBZ_W.js";import{P as h}from"./Phrase-Dnv5p-ah.js";import"./Block-B9hfeL6e.js";import{C as v}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-CAyeAlm6.js";const s=({aspectRatio:e,children:o,orientation:t="landscape"})=>{const i=m(f(e,t));return r.jsx(u,{style:i.view,children:o})},f=(e,o)=>({media:t})=>{const i=o===l.portrait?1/t.aspectRatio[e]:t.aspectRatio[e];return d.create({view:{aspectRatio:i}})};try{s.displayName="AspectRatio",s.__docgenInfo={description:"",displayName:"AspectRatio",props:{aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!0,type:{name:"enum",value:[{value:'"extraWide"'},{value:'"narrow"'},{value:'"square"'},{value:'"wide"'},{value:'"tight"'}]}},orientation:{defaultValue:{value:"landscape"},description:"",name:"orientation",required:!1,type:{name:"enum",value:[{value:'"landscape"'},{value:'"portrait"'}]}}}}}catch{}const O={component:s},a=e=>r.jsx(s,{...e,children:r.jsx(v,{highlight:!0,children:r.jsx(h,{testID:"Phrase",children:"Ik heb een bepaalde beeldverhouding."})})});a.args={aspectRatio:"wide",orientation:"landscape"};var n,p,c;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`args => +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{O as l}from"./types-BJ_48vsK.js";import{u as m}from"./useThemable-ua4U8LzO.js";import{V as u}from"./index-BP1Ij_Cs.js";import{s as d}from"./index-kbHxBZ_W.js";import{P as h}from"./Phrase-FY7SqhHh.js";import"./Block-B9hfeL6e.js";import{C as v}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-CAyeAlm6.js";const s=({aspectRatio:e,children:o,orientation:t="landscape"})=>{const i=m(f(e,t));return r.jsx(u,{style:i.view,children:o})},f=(e,o)=>({media:t})=>{const i=o===l.portrait?1/t.aspectRatio[e]:t.aspectRatio[e];return d.create({view:{aspectRatio:i}})};try{s.displayName="AspectRatio",s.__docgenInfo={description:"",displayName:"AspectRatio",props:{aspectRatio:{defaultValue:null,description:"",name:"aspectRatio",required:!0,type:{name:"enum",value:[{value:'"extraWide"'},{value:'"narrow"'},{value:'"square"'},{value:'"wide"'},{value:'"tight"'}]}},orientation:{defaultValue:{value:"landscape"},description:"",name:"orientation",required:!1,type:{name:"enum",value:[{value:'"landscape"'},{value:'"portrait"'}]}}}}}catch{}const O={component:s},a=e=>r.jsx(s,{...e,children:r.jsx(v,{highlight:!0,children:r.jsx(h,{testID:"Phrase",children:"Ik heb een bepaalde beeldverhouding."})})});a.args={aspectRatio:"wide",orientation:"landscape"};var n,p,c;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`args => Ik heb een bepaalde beeldverhouding. diff --git a/assets/Box.stories-BuByQPhP.js b/assets/Box.stories-CUbcdl1M.js similarity index 94% rename from assets/Box.stories-BuByQPhP.js rename to assets/Box.stories-CUbcdl1M.js index 7a816485..dd3ad597 100644 --- a/assets/Box.stories-BuByQPhP.js +++ b/assets/Box.stories-CUbcdl1M.js @@ -1,3 +1,3 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{B as m}from"./Box-CEQ9kk6v.js";import{P as p}from"./Phrase-Dnv5p-ah.js";import{b as s}from"./base-color-B2rPH-Aj.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./layoutStyles-hLwHoe51.js";import"./index-kbHxBZ_W.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-CAyeAlm6.js";const I={component:m,args:{distinct:!1,grow:!1,inset:"md"},parameters:{backgrounds:{values:[{name:"Default screen",value:s.primary.white},{name:"Settings screen",value:s.custom.grey0}]}}},r=i=>e.jsx(m,{...i,children:e.jsx(p,{testID:"Phrase",children:"I’m a box."})});var o,t,a;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`args => +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{B as m}from"./Box-CEQ9kk6v.js";import{P as p}from"./Phrase-FY7SqhHh.js";import{b as s}from"./base-color-B2rPH-Aj.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./layoutStyles-hLwHoe51.js";import"./index-kbHxBZ_W.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-CAyeAlm6.js";const I={component:m,args:{distinct:!1,grow:!1,inset:"md"},parameters:{backgrounds:{values:[{name:"Default screen",value:s.primary.white},{name:"Settings screen",value:s.custom.grey0}]}}},r=i=>e.jsx(m,{...i,children:e.jsx(p,{testID:"Phrase",children:"I’m a box."})});var o,t,a;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`args => I’m a box. `,...(a=(t=r.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const v=["Default"];export{r as Default,v as __namedExportsOrder,I as default}; diff --git a/assets/Button-jNQoxaXU.js b/assets/Button-DKrj2h9O.js similarity index 96% rename from assets/Button-jNQoxaXU.js rename to assets/Button-DKrj2h9O.js index 3f6c4ce9..7afc2c05 100644 --- a/assets/Button-jNQoxaXU.js +++ b/assets/Button-DKrj2h9O.js @@ -1 +1 @@ -import{j as m}from"./jsx-runtime-Bxcv0yjW.js";import{r as y}from"./index-mfbfsM12.js";import{P as C}from"./PressableBase-C7VxqMV9.js";import{c as w}from"./config-BZnShabN.js";import{R as V}from"./Row-D-wvv0CV.js";import{I as q}from"./Icon-BD3fFj_K.js";import{u as x}from"./useThemable-ua4U8LzO.js";import{T as L}from"./index-CAyeAlm6.js";import{s as S}from"./index-kbHxBZ_W.js";const p="primary",b=({ellipsizeMode:l,iconName:e,isLoading:a,label:n,numberOfLines:o,small:r,testID:i,variant:c=p,...t})=>{const[g,s]=y.useState(!1),d=x(z({small:r,variant:c},g)),{onPressIn:u,onPressOut:v}=t,h=y.useCallback(f=>{s(!0),u==null||u(f)},[u]),k=y.useCallback(f=>{s(!1),v==null||v(f)},[v]);return m.jsx(C,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",onPressIn:h,onPressOut:k,style:d.button,testID:i,...t,children:m.jsxs(V,{gutter:"sm",valign:"center",children:[!!e&&m.jsx(q,{color:c==="primary"?"inverse":"link",name:a?"spinner":e,size:"lg",testID:`${i}Icon`}),!!n&&m.jsx(L,{ellipsizeMode:l,numberOfLines:o,style:d.label,testID:`${i}Label`,children:n})]})})},N=(l,e,a=p)=>l.pressable[a][e?"pressed":"default"].border,_=(l,e,a=p)=>l.pressable[a][e?"pressed":"default"].label,j=(l,e,a=p)=>l.pressable[a][e?"pressed":"default"].background,z=({small:l,variant:e},a)=>({border:n,color:o,text:r,size:i})=>{const c=w.buttonHeight,t=n.width[e==="secondary"&&a?"lg":"md"],g=r.fontSize[l?"small":"body"],s=r.lineHeight[l?"small":"body"],d=i.spacing.md+2+n.width.md-t,u=(c-s-2*t)/2;return S.create({button:{flexDirection:"row",justifyContent:"center",flexShrink:1,paddingHorizontal:d,paddingVertical:u,backgroundColor:j(o,a,e),borderColor:N(o,a,e),borderStyle:"solid",borderWidth:t},label:{flexShrink:1,color:_(o,a,e),fontFamily:r.fontFamily.regular,fontSize:g,lineHeight:s}})};try{b.displayName="Button",b.__docgenInfo={description:"",displayName:"Button",props:{ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},iconName:{defaultValue:null,description:"",name:"iconName",required:!1,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}export{b as B}; +import{j as m}from"./jsx-runtime-Bxcv0yjW.js";import{r as y}from"./index-mfbfsM12.js";import{P as C}from"./PressableBase-DhkKVuqd.js";import{c as w}from"./config-BZnShabN.js";import{R as V}from"./Row-D-wvv0CV.js";import{I as q}from"./Icon-DzTBkJ4u.js";import{u as x}from"./useThemable-ua4U8LzO.js";import{T as L}from"./index-CAyeAlm6.js";import{s as S}from"./index-kbHxBZ_W.js";const p="primary",b=({ellipsizeMode:l,iconName:e,isLoading:a,label:n,numberOfLines:o,small:r,testID:i,variant:c=p,...t})=>{const[g,s]=y.useState(!1),d=x(z({small:r,variant:c},g)),{onPressIn:u,onPressOut:v}=t,h=y.useCallback(f=>{s(!0),u==null||u(f)},[u]),k=y.useCallback(f=>{s(!1),v==null||v(f)},[v]);return m.jsx(C,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",onPressIn:h,onPressOut:k,style:d.button,testID:i,...t,children:m.jsxs(V,{gutter:"sm",valign:"center",children:[!!e&&m.jsx(q,{color:c==="primary"?"inverse":"link",name:a?"spinner":e,size:"lg",testID:`${i}Icon`}),!!n&&m.jsx(L,{ellipsizeMode:l,numberOfLines:o,style:d.label,testID:`${i}Label`,children:n})]})})},N=(l,e,a=p)=>l.pressable[a][e?"pressed":"default"].border,_=(l,e,a=p)=>l.pressable[a][e?"pressed":"default"].label,j=(l,e,a=p)=>l.pressable[a][e?"pressed":"default"].background,z=({small:l,variant:e},a)=>({border:n,color:o,text:r,size:i})=>{const c=w.buttonHeight,t=n.width[e==="secondary"&&a?"lg":"md"],g=r.fontSize[l?"small":"body"],s=r.lineHeight[l?"small":"body"],d=i.spacing.md+2+n.width.md-t,u=(c-s-2*t)/2;return S.create({button:{flexDirection:"row",justifyContent:"center",flexShrink:1,paddingHorizontal:d,paddingVertical:u,backgroundColor:j(o,a,e),borderColor:N(o,a,e),borderStyle:"solid",borderWidth:t},label:{flexShrink:1,color:_(o,a,e),fontFamily:r.fontFamily.regular,fontSize:g,lineHeight:s}})};try{b.displayName="Button",b.__docgenInfo={description:"",displayName:"Button",props:{ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},iconName:{defaultValue:null,description:"",name:"iconName",required:!1,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}export{b as B}; diff --git a/assets/Button.stories-Cneac_oe.js b/assets/Button.stories-UlUMn-yP.js similarity index 92% rename from assets/Button.stories-Cneac_oe.js rename to assets/Button.stories-UlUMn-yP.js index a41b470e..82a44e00 100644 --- a/assets/Button.stories-Cneac_oe.js +++ b/assets/Button.stories-UlUMn-yP.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{B as t}from"./Button-jNQoxaXU.js";import{R as p}from"./Row-D-wvv0CV.js";import{p as A}from"./pressable-arg-types-CJIMfHep.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./config-BZnShabN.js";import"./Icon-BD3fFj_K.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";const dr={argTypes:A,component:t,parameters:{componentSubtitle:"Het basis button component"}},o={args:{label:"Primary",variant:"primary"}},s={args:{label:"Secondary",variant:"secondary"}},n={args:{label:"Tertiary",variant:"tertiary"}},i={args:{align:"start"},render:({align:e})=>r.jsx(p,{align:e,children:r.jsx(t,{label:"Inline button",testID:"Button"})})},m={args:{align:"start",gutter:"md"},render:({align:e,gutter:P})=>r.jsxs(p,{align:e,gutter:P,children:[r.jsx(t,{label:"First button",testID:"Button"}),r.jsx(t,{label:"Second button",testID:"Button",variant:"secondary"}),r.jsx(t,{label:"Third button",testID:"Button",variant:"tertiary"})]})},a={args:{iconName:"phone",label:"Bel ons"},render:e=>r.jsx(p,{align:"start",children:r.jsx(t,{...e,testID:"Button"})})};var c,l,u;o.parameters={...o.parameters,docs:{...(c=o.parameters)==null?void 0:c.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{B as t}from"./Button-DKrj2h9O.js";import{R as p}from"./Row-D-wvv0CV.js";import{p as A}from"./pressable-arg-types-CJIMfHep.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./config-BZnShabN.js";import"./Icon-DzTBkJ4u.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";const dr={argTypes:A,component:t,parameters:{componentSubtitle:"Het basis button component"}},o={args:{label:"Primary",variant:"primary"}},s={args:{label:"Secondary",variant:"secondary"}},n={args:{label:"Tertiary",variant:"tertiary"}},i={args:{align:"start"},render:({align:e})=>r.jsx(p,{align:e,children:r.jsx(t,{label:"Inline button",testID:"Button"})})},m={args:{align:"start",gutter:"md"},render:({align:e,gutter:P})=>r.jsxs(p,{align:e,gutter:P,children:[r.jsx(t,{label:"First button",testID:"Button"}),r.jsx(t,{label:"Second button",testID:"Button",variant:"secondary"}),r.jsx(t,{label:"Third button",testID:"Button",variant:"tertiary"})]})},a={args:{iconName:"phone",label:"Bel ons"},render:e=>r.jsx(p,{align:"start",children:r.jsx(t,{...e,testID:"Button"})})};var c,l,u;o.parameters={...o.parameters,docs:{...(c=o.parameters)==null?void 0:c.docs,source:{originalSource:`{ args: { label: 'Primary', variant: 'primary' diff --git a/assets/Center.stories-BI4xPBXt.js b/assets/Center.stories-q-zznbI0.js similarity index 94% rename from assets/Center.stories-BI4xPBXt.js rename to assets/Center.stories-q-zznbI0.js index 9189c1fe..5d9d1734 100644 --- a/assets/Center.stories-BI4xPBXt.js +++ b/assets/Center.stories-q-zznbI0.js @@ -1,3 +1,3 @@ -import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{C as i}from"./Center-2_hcwEx9.js";import{P as m}from"./Phrase-Dnv5p-ah.js";import"./Block-B9hfeL6e.js";import{C as p}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./layoutStyles-hLwHoe51.js";import"./index-kbHxBZ_W.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";const E={component:i,decorators:[e=>t.jsx(p,{height:"256px",highlight:!0,maxWidth:"512px",children:t.jsx(e,{})})]},r=e=>t.jsx(i,{...e,children:t.jsx(m,{testID:"Phrase",children:"Ik sta in het midden"})});r.args={grow:!0};var s,o,a;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`args =>
+import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{C as i}from"./Center-2_hcwEx9.js";import{P as m}from"./Phrase-FY7SqhHh.js";import"./Block-B9hfeL6e.js";import{C as p}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./layoutStyles-hLwHoe51.js";import"./index-kbHxBZ_W.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";const E={component:i,decorators:[e=>t.jsx(p,{height:"256px",highlight:!0,maxWidth:"512px",children:t.jsx(e,{})})]},r=e=>t.jsx(i,{...e,children:t.jsx(m,{testID:"Phrase",children:"Ik sta in het midden"})});r.args={grow:!0};var s,o,a;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`args =>
Ik sta in het midden
`,...(a=(o=r.parameters)==null?void 0:o.docs)==null?void 0:a.source}}};const v=["Default"];export{r as Default,v as __namedExportsOrder,E as default}; diff --git a/assets/CharactersLeftDisplay.stories-SuQxSSTV.js b/assets/CharactersLeftDisplay.stories-CYihfNCY.js similarity index 95% rename from assets/CharactersLeftDisplay.stories-SuQxSSTV.js rename to assets/CharactersLeftDisplay.stories-CYihfNCY.js index 6c48e69d..e7e531f0 100644 --- a/assets/CharactersLeftDisplay.stories-SuQxSSTV.js +++ b/assets/CharactersLeftDisplay.stories-CYihfNCY.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-Bxcv0yjW.js";import{P as p}from"./Paragraph-C4zYzItT.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-kbHxBZ_W.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";const t=({maxCharacters:r,numOfCharacters:a})=>n.jsx(p,{accessibilityLabel:`U heeft ${a} van de maximaal ${r} tekens ingevoerd`,color:a>r?"warning":"default",children:`${a}/${r}`});try{t.displayName="CharactersLeftDisplay",t.__docgenInfo={description:"",displayName:"CharactersLeftDisplay",props:{maxCharacters:{defaultValue:null,description:"",name:"maxCharacters",required:!0,type:{name:"number"}},numOfCharacters:{defaultValue:null,description:"",name:"numOfCharacters",required:!0,type:{name:"number"}}}}}catch{}const C={component:t},e={args:{maxCharacters:50,numOfCharacters:0}};var s,o,i;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:`{ +import{j as n}from"./jsx-runtime-Bxcv0yjW.js";import{P as p}from"./Paragraph-DU14yVhW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-kbHxBZ_W.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";const t=({maxCharacters:r,numOfCharacters:a})=>n.jsx(p,{accessibilityLabel:`U heeft ${a} van de maximaal ${r} tekens ingevoerd`,color:a>r?"warning":"default",children:`${a}/${r}`});try{t.displayName="CharactersLeftDisplay",t.__docgenInfo={description:"",displayName:"CharactersLeftDisplay",props:{maxCharacters:{defaultValue:null,description:"",name:"maxCharacters",required:!0,type:{name:"number"}},numOfCharacters:{defaultValue:null,description:"",name:"numOfCharacters",required:!0,type:{name:"number"}}}}}catch{}const C={component:t},e={args:{maxCharacters:50,numOfCharacters:0}};var s,o,i;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:`{ args: { maxCharacters: 50, numOfCharacters: 0 diff --git a/assets/ChatSystemEntry-hHuktGEM.js b/assets/ChatSystemEntry-BaHEjUy7.js similarity index 94% rename from assets/ChatSystemEntry-hHuktGEM.js rename to assets/ChatSystemEntry-BaHEjUy7.js index e30c9a96..01446307 100644 --- a/assets/ChatSystemEntry-hHuktGEM.js +++ b/assets/ChatSystemEntry-BaHEjUy7.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{R as r}from"./Row-D-wvv0CV.js";import{I as n}from"./Icon-BD3fFj_K.js";import{P as c}from"./Phrase-Dnv5p-ah.js";import{V as o}from"./index-BP1Ij_Cs.js";const t=({icon:a,text:u,testID:l})=>e.jsx(o,{accessible:!0,children:e.jsxs(r,{align:"center",gutter:"sm",valign:"center",children:[e.jsx(n,{color:"secondary",name:a,testID:`${l}Icon`}),e.jsx(c,{color:"secondary",testID:`${l}Phrase`,textAlign:"center",children:u})]})});try{t.displayName="ChatSystemEntry",t.__docgenInfo={description:"",displayName:"ChatSystemEntry",props:{icon:{defaultValue:null,description:"",name:"icon",required:!0,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{t as C}; +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{R as r}from"./Row-D-wvv0CV.js";import{I as n}from"./Icon-DzTBkJ4u.js";import{P as c}from"./Phrase-FY7SqhHh.js";import{V as o}from"./index-BP1Ij_Cs.js";const t=({icon:a,text:u,testID:l})=>e.jsx(o,{accessible:!0,children:e.jsxs(r,{align:"center",gutter:"sm",valign:"center",children:[e.jsx(n,{color:"secondary",name:a,testID:`${l}Icon`}),e.jsx(c,{color:"secondary",testID:`${l}Phrase`,textAlign:"center",children:u})]})});try{t.displayName="ChatSystemEntry",t.__docgenInfo={description:"",displayName:"ChatSystemEntry",props:{icon:{defaultValue:null,description:"",name:"icon",required:!0,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{t as C}; diff --git a/assets/ChatSystemEntry.stories-C5iMxWp3.js b/assets/ChatSystemEntry.stories-CDQmfrkY.js similarity index 86% rename from assets/ChatSystemEntry.stories-C5iMxWp3.js rename to assets/ChatSystemEntry.stories-CDQmfrkY.js index af8fb019..16a3d538 100644 --- a/assets/ChatSystemEntry.stories-C5iMxWp3.js +++ b/assets/ChatSystemEntry.stories-CDQmfrkY.js @@ -1,4 +1,4 @@ -import{C as p}from"./ChatSystemEntry-hHuktGEM.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-kbHxBZ_W.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./Icon-BD3fFj_K.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-DSI0shHu.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./Phrase-Dnv5p-ah.js";const z={component:p},t={args:{icon:"chat",text:"Chat gestopt om 12:34",testID:"chatEntryRoutingWorkResult"}};var o,r,m;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{C as p}from"./ChatSystemEntry-BaHEjUy7.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-kbHxBZ_W.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./Icon-DzTBkJ4u.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-DSI0shHu.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./Phrase-FY7SqhHh.js";const z={component:p},t={args:{icon:"chat",text:"Chat gestopt om 12:34",testID:"chatEntryRoutingWorkResult"}};var o,r,m;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{ args: { icon: 'chat', text: 'Chat gestopt om 12:34', diff --git a/assets/Checkbox.stories-BEM4CFlP.js b/assets/Checkbox.stories-KZfyxzG0.js similarity index 95% rename from assets/Checkbox.stories-BEM4CFlP.js rename to assets/Checkbox.stories-KZfyxzG0.js index 4647e031..d6f4394c 100644 --- a/assets/Checkbox.stories-BEM4CFlP.js +++ b/assets/Checkbox.stories-KZfyxzG0.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{F as k}from"./FormField-BhsBdiWh.js";import{I as y}from"./Icon-BD3fFj_K.js";import{u as C,P as x,a as V}from"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import{u as n}from"./useThemable-ua4U8LzO.js";import{M as w}from"./index-DgmJIe7t.js";import{V as P}from"./index-BP1Ij_Cs.js";import{s as _}from"./index-kbHxBZ_W.js";import{T as q}from"./index-CAyeAlm6.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./HideFromAccessibility-B6TCA_vV.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./layoutStyles-hLwHoe51.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-2SHDvLR_.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./development-LhlsWDYu.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";const l=({accessibilityLabel:e,label:d,labelPosition:m="end",logAction:p=V.toggle,logDimensions:g={},onValueChange:v,testID:r,value:o,...h})=>{const i=n(T),b=n(D),f=C({...h,logAction:p,logDimensions:{...g,[x.newState]:o?"unchecked":"checked"},onEvent:v,testID:r});return a.jsx(w,{accessibilityLabel:e,accessibilityLanguage:"nl-NL",accessibilityRole:"checkbox",accessibilityState:{selected:o},onPress:f,testID:r,...b,children:a.jsx(k,{label:d,labelPosition:m,children:a.jsx(P,{style:[i.checkbox,o&&i.checked],children:!!o&&a.jsx(y,{color:"inverse",name:"check-mark",testID:`${r}Icon`})})})})},T=({color:e})=>_.create({checkbox:{width:24,aspectRatio:1,padding:2,borderWidth:2,borderColor:e.control.checked.background,backgroundColor:e.control.default.background},checked:{backgroundColor:e.control.checked.background}}),D=({color:e})=>({underlayColor:e.checkbox.underlay});try{l.displayName="Checkbox",l.__docgenInfo={description:"",displayName:"Checkbox",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"ReactNode"}},labelPosition:{defaultValue:{value:"end"},description:"",name:"labelPosition",required:!1,type:{name:"enum",value:[{value:'"end"'},{value:'"start"'}]}},onValueChange:{defaultValue:null,description:"",name:"onValueChange",required:!0,type:{name:"() => void"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},logAction:{defaultValue:{value:"PiwikAction.toggle"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const ce={component:l,argTypes:{onValueChange:{action:"onValueChange"}}},t={args:{label:a.jsx(q,{children:"Ik ga akkoord met de voorwaarden"}),labelPosition:"end",value:!1}};var s,u,c;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{F as k}from"./FormField-BhsBdiWh.js";import{I as y}from"./Icon-DzTBkJ4u.js";import{u as C,P as x,a as V}from"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import{u as n}from"./useThemable-ua4U8LzO.js";import{M as w}from"./index-BW2XZOZc.js";import{V as P}from"./index-BP1Ij_Cs.js";import{s as _}from"./index-kbHxBZ_W.js";import{T as q}from"./index-CAyeAlm6.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./HideFromAccessibility-B6TCA_vV.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./layoutStyles-hLwHoe51.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-2SHDvLR_.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./development-LhlsWDYu.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";const l=({accessibilityLabel:e,label:d,labelPosition:m="end",logAction:p=V.toggle,logDimensions:g={},onValueChange:v,testID:r,value:o,...h})=>{const i=n(T),b=n(D),f=C({...h,logAction:p,logDimensions:{...g,[x.newState]:o?"unchecked":"checked"},onEvent:v,testID:r});return a.jsx(w,{accessibilityLabel:e,accessibilityLanguage:"nl-NL",accessibilityRole:"checkbox",accessibilityState:{selected:o},onPress:f,testID:r,...b,children:a.jsx(k,{label:d,labelPosition:m,children:a.jsx(P,{style:[i.checkbox,o&&i.checked],children:!!o&&a.jsx(y,{color:"inverse",name:"check-mark",testID:`${r}Icon`})})})})},T=({color:e})=>_.create({checkbox:{width:24,aspectRatio:1,padding:2,borderWidth:2,borderColor:e.control.checked.background,backgroundColor:e.control.default.background},checked:{backgroundColor:e.control.checked.background}}),D=({color:e})=>({underlayColor:e.checkbox.underlay});try{l.displayName="Checkbox",l.__docgenInfo={description:"",displayName:"Checkbox",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"ReactNode"}},labelPosition:{defaultValue:{value:"end"},description:"",name:"labelPosition",required:!1,type:{name:"enum",value:[{value:'"end"'},{value:'"start"'}]}},onValueChange:{defaultValue:null,description:"",name:"onValueChange",required:!0,type:{name:"() => void"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},logAction:{defaultValue:{value:"PiwikAction.toggle"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const ce={component:l,argTypes:{onValueChange:{action:"onValueChange"}}},t={args:{label:a.jsx(q,{children:"Ik ga akkoord met de voorwaarden"}),labelPosition:"end",value:!1}};var s,u,c;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`{ args: { label: Ik ga akkoord met de voorwaarden, labelPosition: 'end', diff --git a/assets/CityPassCard.stories-DiyZ8Yg-.js b/assets/CityPassCard.stories-DPyqt3-W.js similarity index 94% rename from assets/CityPassCard.stories-DiyZ8Yg-.js rename to assets/CityPassCard.stories-DPyqt3-W.js index bb1ec113..d87de0b4 100644 --- a/assets/CityPassCard.stories-DiyZ8Yg-.js +++ b/assets/CityPassCard.stories-DPyqt3-W.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{P as L}from"./Pressable-kwatEfDj.js";import{B as S}from"./Box-CEQ9kk6v.js";import{C as A}from"./Column-CFK5NdwL.js";import{R as y}from"./Row-D-wvv0CV.js";import{I as b}from"./Icon-BD3fFj_K.js";import{P as F}from"./Paragraph-C4zYzItT.js";import{T as x}from"./Title-DSiraCpB.js";import{u as k}from"./useThemable-ua4U8LzO.js";import{a as D}from"./accessibleText-gmNPjmn1.js";import{s as P}from"./index-kbHxBZ_W.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./layoutStyles-hLwHoe51.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";var V={exports:{}},r=V.exports={},n,o;function f(){throw new Error("setTimeout has not been defined")}function v(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?n=setTimeout:n=f}catch{n=f}try{typeof clearTimeout=="function"?o=clearTimeout:o=v}catch{o=v}})();function N(e){if(n===setTimeout)return setTimeout(e,0);if((n===f||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch{try{return n.call(null,e,0)}catch{return n.call(this,e,0)}}}function $(e){if(o===clearTimeout)return clearTimeout(e);if((o===v||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{return o(e)}catch{try{return o.call(null,e)}catch{return o.call(this,e)}}}var i=[],c=!1,u,p=-1;function z(){!c||!u||(c=!1,u.length?i=u.concat(i):p=-1,i.length&&j())}function j(){if(!c){var e=N(z);c=!0;for(var t=i.length;t;){for(u=i,i=[];++p1)for(var s=1;s{const _=k(O),R="owner"in t?t==null?void 0:t.owner.firstname:t==null?void 0:t.firstname,h="balanceFormatted"in t?`Totaal saldo ${t.balanceFormatted}`:"",I="budgets"in t?t.budgets:[];return a.jsx(L,{accessibilityLabel:D(H.title,h),accessibilityLanguage:"nl-NL",accessibilityRole:e,onPress:s,testID:m,...E,insetHorizontal:"md",insetVertical:"sm",style:_.card,children:a.jsxs(y,{gutter:"md",children:[a.jsx(S,{insetTop:"sm",children:a.jsx(b,{color:"link",name:"city-pass",size:"xl",testID:`${m}Icon`})}),a.jsxs(A,{align:"center",grow:1,gutter:"xs",shrink:1,children:[a.jsx(x,{color:"link",level:"h3",testID:`${m}Title`,text:"Stadspas details"}),a.jsx(x,{color:"link",level:"h3",testID:`${m}Name`,text:R}),!!I.length&&a.jsx(F,{testID:`${m}Text`,variant:"small",children:h})]}),a.jsx(y,{valign:"center",children:a.jsx(b,{color:"link",name:"chevron-right",size:"lg",testID:`${m}Icon`})})]})})},O=({color:e,border:t})=>P.create({card:{borderColor:e.cityPass.card.border,borderWidth:t.width.sm,borderStyle:"solid"}});try{g.displayName="CityPassCard",g.__docgenInfo={description:"",displayName:"CityPassCard",props:{cityPass:{defaultValue:null,description:"",name:"cityPass",required:!0,type:{name:"CityPass | CityPassPass"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const Ee={component:g,argTypes:{onPress:{action:"onPress"}}},d={args:{cityPass:{id:"1",dateEnd:"2022-12-31T00:00:00.000Z",dateEndFormatted:"2022-12-31",budgets:[],balanceFormatted:"€20,00",owner:{firstname:"Ryan",initials:"R.",lastname:"Huisman"},passNumber:6064366011012605,passNumberComplete:"6064366011012605999",securityCode:null}}};var T,w,C;d.parameters={...d.parameters,docs:{...(T=d.parameters)==null?void 0:T.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{P as L}from"./Pressable-0Of7HZos.js";import{B as S}from"./Box-CEQ9kk6v.js";import{C as A}from"./Column-CFK5NdwL.js";import{R as y}from"./Row-D-wvv0CV.js";import{I as b}from"./Icon-DzTBkJ4u.js";import{P as F}from"./Paragraph-DU14yVhW.js";import{T as x}from"./Title-CLDk-249.js";import{u as k}from"./useThemable-ua4U8LzO.js";import{a as D}from"./accessibleText-gmNPjmn1.js";import{s as P}from"./index-kbHxBZ_W.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./layoutStyles-hLwHoe51.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";var V={exports:{}},r=V.exports={},n,o;function f(){throw new Error("setTimeout has not been defined")}function v(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?n=setTimeout:n=f}catch{n=f}try{typeof clearTimeout=="function"?o=clearTimeout:o=v}catch{o=v}})();function N(e){if(n===setTimeout)return setTimeout(e,0);if((n===f||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch{try{return n.call(null,e,0)}catch{return n.call(this,e,0)}}}function $(e){if(o===clearTimeout)return clearTimeout(e);if((o===v||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{return o(e)}catch{try{return o.call(null,e)}catch{return o.call(this,e)}}}var i=[],c=!1,u,p=-1;function z(){!c||!u||(c=!1,u.length?i=u.concat(i):p=-1,i.length&&j())}function j(){if(!c){var e=N(z);c=!0;for(var t=i.length;t;){for(u=i,i=[];++p1)for(var s=1;s{const _=k(O),R="owner"in t?t==null?void 0:t.owner.firstname:t==null?void 0:t.firstname,h="balanceFormatted"in t?`Totaal saldo ${t.balanceFormatted}`:"",I="budgets"in t?t.budgets:[];return a.jsx(L,{accessibilityLabel:D(H.title,h),accessibilityLanguage:"nl-NL",accessibilityRole:e,onPress:s,testID:m,...E,insetHorizontal:"md",insetVertical:"sm",style:_.card,children:a.jsxs(y,{gutter:"md",children:[a.jsx(S,{insetTop:"sm",children:a.jsx(b,{color:"link",name:"city-pass",size:"xl",testID:`${m}Icon`})}),a.jsxs(A,{align:"center",grow:1,gutter:"xs",shrink:1,children:[a.jsx(x,{color:"link",level:"h3",testID:`${m}Title`,text:"Stadspas details"}),a.jsx(x,{color:"link",level:"h3",testID:`${m}Name`,text:R}),!!I.length&&a.jsx(F,{testID:`${m}Text`,variant:"small",children:h})]}),a.jsx(y,{valign:"center",children:a.jsx(b,{color:"link",name:"chevron-right",size:"lg",testID:`${m}Icon`})})]})})},O=({color:e,border:t})=>P.create({card:{borderColor:e.cityPass.card.border,borderWidth:t.width.sm,borderStyle:"solid"}});try{g.displayName="CityPassCard",g.__docgenInfo={description:"",displayName:"CityPassCard",props:{cityPass:{defaultValue:null,description:"",name:"cityPass",required:!0,type:{name:"CityPass | CityPassPass"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const Ee={component:g,argTypes:{onPress:{action:"onPress"}}},d={args:{cityPass:{id:"1",dateEnd:"2022-12-31T00:00:00.000Z",dateEndFormatted:"2022-12-31",budgets:[],balanceFormatted:"€20,00",owner:{firstname:"Ryan",initials:"R.",lastname:"Huisman"},passNumber:6064366011012605,passNumberComplete:"6064366011012605999",securityCode:null}}};var T,w,C;d.parameters={...d.parameters,docs:{...(T=d.parameters)==null?void 0:T.docs,source:{originalSource:`{ args: { cityPass: { id: '1', diff --git a/assets/Color-F6OSRLHC-Bfk-0pGG.js b/assets/Color-F6OSRLHC-D9sRhu0d.js similarity index 99% rename from assets/Color-F6OSRLHC-Bfk-0pGG.js rename to assets/Color-F6OSRLHC-D9sRhu0d.js index cdb07386..9a376cf6 100644 --- a/assets/Color-F6OSRLHC-Bfk-0pGG.js +++ b/assets/Color-F6OSRLHC-D9sRhu0d.js @@ -1 +1 @@ -import{ae as ce,af as M,a2 as J,a0 as he,N as fe,ag as de,ah as ge,ai as be,aj as q}from"./DocsRenderer-CFRXHY34-CH-eIvHo.js";import{R as m,r as p}from"./index-mfbfsM12.js";import"./iframe-Cwt7ez56.js";import"../sb-preview/runtime.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-DFkxGuuM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-kifaGmES.js";import"./index-DrFu-skq.js";import"./react-18-ClY32pUF.js";import"./client-BGlHIwA3.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};l.exports=u;for(let e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=f,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},u.gray.hsl=function(e){return[0,0,e[0]]},u.gray.hsv=u.gray.hsl,u.gray.hwb=function(e){return[0,100,e[0]]},u.gray.cmyk=function(e){return[0,0,0,e[0]]},u.gray.lab=function(e){return[e[0],0,0]},u.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=ce(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Xe=M(he)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(fe.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(de)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ge(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Te,{id:be(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},gr=rr;export{rr as ColorControl,gr as default}; +import{ae as ce,af as M,a2 as J,a0 as he,N as fe,ag as de,ah as ge,ai as be,aj as q}from"./DocsRenderer-CFRXHY34-CB3m3uCJ.js";import{R as m,r as p}from"./index-mfbfsM12.js";import"./iframe-oMwCeC19.js";import"../sb-preview/runtime.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-DFkxGuuM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-kifaGmES.js";import"./index-DrFu-skq.js";import"./react-18-ClY32pUF.js";import"./client-BGlHIwA3.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};l.exports=u;for(let e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=f,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},u.gray.hsl=function(e){return[0,0,e[0]]},u.gray.hsv=u.gray.hsl,u.gray.hwb=function(e){return[0,100,e[0]]},u.gray.cmyk=function(e){return[0,0,0,e[0]]},u.gray.lab=function(e){return[e[0],0,0]},u.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=ce(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Xe=M(he)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(fe.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(de)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ge(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Te,{id:be(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},gr=rr;export{rr as ColorControl,gr as default}; diff --git a/assets/DocsRenderer-CFRXHY34-CH-eIvHo.js b/assets/DocsRenderer-CFRXHY34-CB3m3uCJ.js similarity index 99% rename from assets/DocsRenderer-CFRXHY34-CH-eIvHo.js rename to assets/DocsRenderer-CFRXHY34-CB3m3uCJ.js index 285d8d93..00068bbc 100644 --- a/assets/DocsRenderer-CFRXHY34-CH-eIvHo.js +++ b/assets/DocsRenderer-CFRXHY34-CB3m3uCJ.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CpR3wvdC.js","./iframe-Cwt7ez56.js","./index-mfbfsM12.js","./_commonjsHelpers-BosuxZz1.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./jsx-runtime-Bxcv0yjW.js","./index-DFkxGuuM.js","./index-kifaGmES.js","./index-DrFu-skq.js","./react-18-ClY32pUF.js","./client-BGlHIwA3.js","./Color-F6OSRLHC-Bfk-0pGG.js","./index-EeWIkZEf.js"])))=>i.map(i=>d[i]); -var Gx=Object.defineProperty;var Yx=(e,t,r)=>t in e?Gx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var In=(e,t,r)=>Yx(e,typeof t!="symbol"?t+"":t,r);import{_ as K1}from"./iframe-Cwt7ez56.js";import{r as l,R as y}from"./index-mfbfsM12.js";import{c as Ke}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{j as Z}from"./jsx-runtime-Bxcv0yjW.js";import{r as hs,F as K4}from"./index-DFkxGuuM.js";import{y as mh,g as xu}from"./index-kifaGmES.js";import{d as Kx}from"./index-DrFu-skq.js";import{renderElement as Jx,unmountElement as Zx}from"./react-18-ClY32pUF.js";var Xx=Object.create,J4=Object.defineProperty,Qx=Object.getOwnPropertyDescriptor,Z4=Object.getOwnPropertyNames,eD=Object.getPrototypeOf,tD=Object.prototype.hasOwnProperty,Di=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),gn=(e,t)=>function(){return t||(0,e[Z4(e)[0]])((t={exports:{}}).exports,t),t.exports},rD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Z4(t))!tD.call(e,a)&&a!==r&&J4(e,a,{get:()=>t[a],enumerable:!(n=Qx(t,a))||n.enumerable});return e},J1=(e,t,r)=>(r=e!=null?Xx(eD(e)):{},rD(t||!e||!e.__esModule?J4(r,"default",{value:e,enumerable:!0}):r,e));function nD(e,t,{signal:r,edges:n}={}){let a,o=null,i=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{s&&c(),f()},p=null,m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),a=void 0,o=null},v=()=>{h(),c()},g=function(...w){if(r!=null&&r.aborted)return;a=this,o=w;let x=p==null;m(),i&&x&&c()};return g.schedule=m,g.cancel=f,g.flush=v,r==null||r.addEventListener("abort",f,{once:!0}),g}function IV(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:i}=r,s=Array(2);a&&(s[0]="leading"),o&&(s[1]="trailing");let c,d=null,p=nD(function(...f){c=e.apply(this,f),d=null},t,{signal:n,edges:s}),m=function(...f){if(i!=null){if(d===null)d=Date.now();else if(Date.now()-d>=i)return c=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),c}return p.apply(this,f),c},h=()=>(p.flush(),c);return m.cancel=p.cancel,m.flush=h,m}function aD(e){return Array.from(new Set(e))}function oD(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,ms=e=>`set-${e.replace(/\s+/g,"-")}`,fD=Object.create,Z1=Object.defineProperty,hD=Object.getOwnPropertyDescriptor,mD=Object.getOwnPropertyNames,gD=Object.getPrototypeOf,vD=Object.prototype.hasOwnProperty,R=(e,t)=>Z1(e,"name",{value:t,configurable:!0}),Ci=(e=>typeof Ke<"u"?Ke:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ke<"u"?Ke:t)[r]}):e)(function(e){if(typeof Ke<"u")return Ke.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),gs=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),yD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of mD(t))!vD.call(e,a)&&a!==r&&Z1(e,a,{get:()=>t[a],enumerable:!(n=hD(t,a))||n.enumerable});return e},X1=(e,t,r)=>(r=e!=null?fD(gD(e)):{},yD(t||!e||!e.__esModule?Z1(r,"default",{value:e,enumerable:!0}):r,e)),bD=gs(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function b($){return typeof $=="string"||typeof $=="function"||$===a||$===p||$===i||$===o||$===h||$===f||typeof $=="object"&&$!==null&&($.$$typeof===g||$.$$typeof===v||$.$$typeof===s||$.$$typeof===c||$.$$typeof===m||$.$$typeof===x||$.$$typeof===D||$.$$typeof===E||$.$$typeof===w)}R(b,"isValidElementType");function C($){if(typeof $=="object"&&$!==null){var nt=$.$$typeof;switch(nt){case r:var Dt=$.type;switch(Dt){case d:case p:case a:case i:case o:case h:return Dt;default:var Pr=Dt&&Dt.$$typeof;switch(Pr){case c:case m:case g:case v:case s:return Pr;default:return nt}}case n:return nt}}}R(C,"typeOf");var S=d,k=p,A=c,_=s,I=r,B=m,z=a,L=g,M=v,O=n,P=i,j=o,U=h,V=!1;function G($){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Q($)||C($)===d}R(G,"isAsyncMode");function Q($){return C($)===p}R(Q,"isConcurrentMode");function ne($){return C($)===c}R(ne,"isContextConsumer");function J($){return C($)===s}R(J,"isContextProvider");function ie($){return typeof $=="object"&&$!==null&&$.$$typeof===r}R(ie,"isElement");function N($){return C($)===m}R(N,"isForwardRef");function K($){return C($)===a}R(K,"isFragment");function re($){return C($)===g}R(re,"isLazy");function fe($){return C($)===v}R(fe,"isMemo");function Ce($){return C($)===n}R(Ce,"isPortal");function xt($){return C($)===i}R(xt,"isProfiler");function He($){return C($)===o}R(He,"isStrictMode");function rt($){return C($)===h}R(rt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=A,e.ContextProvider=_,e.Element=I,e.ForwardRef=B,e.Fragment=z,e.Lazy=L,e.Memo=M,e.Portal=O,e.Profiler=P,e.StrictMode=j,e.Suspense=U,e.isAsyncMode=G,e.isConcurrentMode=Q,e.isContextConsumer=ne,e.isContextProvider=J,e.isElement=ie,e.isForwardRef=N,e.isFragment=K,e.isLazy=re,e.isMemo=fe,e.isPortal=Ce,e.isProfiler=xt,e.isStrictMode=He,e.isSuspense=rt,e.isValidElementType=b,e.typeOf=C})()}),wD=gs((e,t)=>{t.exports=bD()}),X4=gs((e,t)=>{var r=wD(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function c(w){return r.isMemo(w)?i:s[w.$$typeof]||n}R(c,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(w,x,D){if(typeof x!="string"){if(v){var E=f(x);E&&E!==v&&g(w,E,D)}var b=p(x);m&&(b=b.concat(m(x)));for(var C=c(w),S=c(x),k=0;k{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return R(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof Ci=="function"&&Ci;if(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}R(i,"s");for(var s=typeof Ci=="function"&&Ci,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}R(s,"removeCachedResult");function c(d,p){return d===p||d!==d&&p!==p}R(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Nt(){return Nt=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.map(i=>d[i]); +var Gx=Object.defineProperty;var Yx=(e,t,r)=>t in e?Gx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var In=(e,t,r)=>Yx(e,typeof t!="symbol"?t+"":t,r);import{_ as K1}from"./iframe-oMwCeC19.js";import{r as l,R as y}from"./index-mfbfsM12.js";import{c as Ke}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{j as Z}from"./jsx-runtime-Bxcv0yjW.js";import{r as hs,F as K4}from"./index-DFkxGuuM.js";import{y as mh,g as xu}from"./index-kifaGmES.js";import{d as Kx}from"./index-DrFu-skq.js";import{renderElement as Jx,unmountElement as Zx}from"./react-18-ClY32pUF.js";var Xx=Object.create,J4=Object.defineProperty,Qx=Object.getOwnPropertyDescriptor,Z4=Object.getOwnPropertyNames,eD=Object.getPrototypeOf,tD=Object.prototype.hasOwnProperty,Di=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),gn=(e,t)=>function(){return t||(0,e[Z4(e)[0]])((t={exports:{}}).exports,t),t.exports},rD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Z4(t))!tD.call(e,a)&&a!==r&&J4(e,a,{get:()=>t[a],enumerable:!(n=Qx(t,a))||n.enumerable});return e},J1=(e,t,r)=>(r=e!=null?Xx(eD(e)):{},rD(t||!e||!e.__esModule?J4(r,"default",{value:e,enumerable:!0}):r,e));function nD(e,t,{signal:r,edges:n}={}){let a,o=null,i=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{s&&c(),f()},p=null,m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),a=void 0,o=null},v=()=>{h(),c()},g=function(...w){if(r!=null&&r.aborted)return;a=this,o=w;let x=p==null;m(),i&&x&&c()};return g.schedule=m,g.cancel=f,g.flush=v,r==null||r.addEventListener("abort",f,{once:!0}),g}function IV(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:i}=r,s=Array(2);a&&(s[0]="leading"),o&&(s[1]="trailing");let c,d=null,p=nD(function(...f){c=e.apply(this,f),d=null},t,{signal:n,edges:s}),m=function(...f){if(i!=null){if(d===null)d=Date.now();else if(Date.now()-d>=i)return c=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),c}return p.apply(this,f),c},h=()=>(p.flush(),c);return m.cancel=p.cancel,m.flush=h,m}function aD(e){return Array.from(new Set(e))}function oD(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,ms=e=>`set-${e.replace(/\s+/g,"-")}`,fD=Object.create,Z1=Object.defineProperty,hD=Object.getOwnPropertyDescriptor,mD=Object.getOwnPropertyNames,gD=Object.getPrototypeOf,vD=Object.prototype.hasOwnProperty,R=(e,t)=>Z1(e,"name",{value:t,configurable:!0}),Ci=(e=>typeof Ke<"u"?Ke:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ke<"u"?Ke:t)[r]}):e)(function(e){if(typeof Ke<"u")return Ke.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),gs=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),yD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of mD(t))!vD.call(e,a)&&a!==r&&Z1(e,a,{get:()=>t[a],enumerable:!(n=hD(t,a))||n.enumerable});return e},X1=(e,t,r)=>(r=e!=null?fD(gD(e)):{},yD(t||!e||!e.__esModule?Z1(r,"default",{value:e,enumerable:!0}):r,e)),bD=gs(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function b($){return typeof $=="string"||typeof $=="function"||$===a||$===p||$===i||$===o||$===h||$===f||typeof $=="object"&&$!==null&&($.$$typeof===g||$.$$typeof===v||$.$$typeof===s||$.$$typeof===c||$.$$typeof===m||$.$$typeof===x||$.$$typeof===D||$.$$typeof===E||$.$$typeof===w)}R(b,"isValidElementType");function C($){if(typeof $=="object"&&$!==null){var nt=$.$$typeof;switch(nt){case r:var Dt=$.type;switch(Dt){case d:case p:case a:case i:case o:case h:return Dt;default:var Pr=Dt&&Dt.$$typeof;switch(Pr){case c:case m:case g:case v:case s:return Pr;default:return nt}}case n:return nt}}}R(C,"typeOf");var S=d,k=p,A=c,_=s,I=r,B=m,z=a,L=g,M=v,O=n,P=i,j=o,U=h,V=!1;function G($){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Q($)||C($)===d}R(G,"isAsyncMode");function Q($){return C($)===p}R(Q,"isConcurrentMode");function ne($){return C($)===c}R(ne,"isContextConsumer");function J($){return C($)===s}R(J,"isContextProvider");function ie($){return typeof $=="object"&&$!==null&&$.$$typeof===r}R(ie,"isElement");function N($){return C($)===m}R(N,"isForwardRef");function K($){return C($)===a}R(K,"isFragment");function re($){return C($)===g}R(re,"isLazy");function fe($){return C($)===v}R(fe,"isMemo");function Ce($){return C($)===n}R(Ce,"isPortal");function xt($){return C($)===i}R(xt,"isProfiler");function He($){return C($)===o}R(He,"isStrictMode");function rt($){return C($)===h}R(rt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=A,e.ContextProvider=_,e.Element=I,e.ForwardRef=B,e.Fragment=z,e.Lazy=L,e.Memo=M,e.Portal=O,e.Profiler=P,e.StrictMode=j,e.Suspense=U,e.isAsyncMode=G,e.isConcurrentMode=Q,e.isContextConsumer=ne,e.isContextProvider=J,e.isElement=ie,e.isForwardRef=N,e.isFragment=K,e.isLazy=re,e.isMemo=fe,e.isPortal=Ce,e.isProfiler=xt,e.isStrictMode=He,e.isSuspense=rt,e.isValidElementType=b,e.typeOf=C})()}),wD=gs((e,t)=>{t.exports=bD()}),X4=gs((e,t)=>{var r=wD(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function c(w){return r.isMemo(w)?i:s[w.$$typeof]||n}R(c,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(w,x,D){if(typeof x!="string"){if(v){var E=f(x);E&&E!==v&&g(w,E,D)}var b=p(x);m&&(b=b.concat(m(x)));for(var C=c(w),S=c(x),k=0;k{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return R(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof Ci=="function"&&Ci;if(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}R(i,"s");for(var s=typeof Ci=="function"&&Ci,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}R(s,"removeCachedResult");function c(d,p){return d===p||d!==d&&p!==p}R(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Nt(){return Nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?we(Aa,--$e):0,sa--,de===10&&(sa=1,bs--),de}R(ly,"prev");function Oe(){return de=$e2||ua(de)>3?"":" "}R(sy,"whitespace");function uy(e,t){for(;--t&&Oe()&&!(de<48||de>102||de>57&&de<65||de>70&&de<97););return Fa(e,wo()+(t<6&&pt()==32&&Oe()==32))}R(uy,"escaping");function Sl(e){for(;Oe();)switch(de){case e:return $e;case 34:case 39:e!==34&&e!==39&&Sl(de);break;case 40:e===41&&Sl(e);break;case 92:Oe();break}return $e}R(Sl,"delimiter");function cy(e,t){for(;Oe()&&e+de!==57&&!(e+de===84&&pt()===47););return"/*"+Fa(t,$e-1)+"*"+vs(e===47?e:Oe())}R(cy,"commenter");function dy(e){for(;!ua(pt());)Oe();return Fa(e,$e)}R(dy,"identifier");function py(e){return ip(xo("",null,null,null,[""],e=op(e),0,[0],e))}R(py,"compile");function xo(e,t,r,n,a,o,i,s,c){for(var d=0,p=0,m=i,h=0,f=0,v=0,g=1,w=1,x=1,D=0,E="",b=a,C=o,S=n,k=E;w;)switch(v=D,D=Oe()){case 40:if(v!=108&&we(k,m-1)==58){Cl(k+=ee(Eo(D),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:k+=Eo(D);break;case 9:case 10:case 13:case 32:k+=sy(v);break;case 92:k+=uy(wo()-1,7);continue;case 47:switch(pt()){case 42:case 47:io(fy(cy(Oe(),wo()),t,r),c);break;default:k+="/"}break;case 123*g:s[d++]=st(k)*x;case 125*g:case 59:case 0:switch(D){case 0:case 125:w=0;case 59+p:x==-1&&(k=ee(k,/\f/g,"")),f>0&&st(k)-m&&io(f>32?ed(k+";",n,r,m-1):ed(ee(k," ","")+";",n,r,m-2),c);break;case 59:k+=";";default:if(io(S=Q0(k,t,r,d,p,a,s,E,b=[],C=[],m),o),D===123)if(p===0)xo(k,t,S,S,b,o,m,s,C);else switch(h===99&&we(k,3)===110?100:h){case 100:case 108:case 109:case 115:xo(e,S,S,n&&io(Q0(e,S,S,0,0,a,s,E,a,b=[],m),C),a,C,m,s,n?b:C);break;default:xo(k,S,S,S,[""],C,0,s,C)}}d=p=f=0,g=x=1,E=k="",m=i;break;case 58:m=1+st(k),f=v;default:if(g<1){if(D==123)--g;else if(D==125&&g++==0&&ly()==125)continue}switch(k+=vs(D),D*g){case 38:x=p>0?1:(k+="\f",-1);break;case 44:s[d++]=(st(k)-1)*x,x=1;break;case 64:pt()===45&&(k+=Eo(Oe())),h=pt(),p=m=st(E=k+=dy(wo())),D++;break;case 45:v===45&&st(k)==2&&(g=0)}}return o}R(xo,"parse");function Q0(e,t,r,n,a,o,i,s,c,d,p){for(var m=a-1,h=a===0?o:[""],f=ys(h),v=0,g=0,w=0;v0?h[x]+" "+D:ee(D,/&\f/g,h[x])))&&(c[w++]=E);return Jo(e,t,r,a===0?rp:s,c,d,p)}R(Q0,"ruleset");function fy(e,t,r){return Jo(e,t,r,tp,vs(iy()),la(e,2,-2),0)}R(fy,"comment");function ed(e,t,r,n){return Jo(e,t,r,np,la(e,0,n),la(e,n+1,-1),n)}R(ed,"declaration");function on(e,t){for(var r="",n=ys(e),a=0;a-1},"isIgnoringComment"),LD=R(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var o=!!t.parent,i=o?t.parent.children:n,s=i.length-1;s>=0;s--){var c=i[s];if(c.line=0;r--)if(!gy(t[r]))return!0;return!1},"isPrependedWithRegularRules"),bh=R(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),MD=R(function(e,t,r){gy(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),bh(e)):OD(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),bh(e)))},"incorrectImportAlarm");function lp(e,t){switch(ry(e,t)){case 5103:return te+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return te+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return te+e+Dl+e+_e+e+e;case 6828:case 4268:return te+e+_e+e+e;case 6165:return te+e+_e+"flex-"+e+e;case 5187:return te+e+ee(e,/(\w+).+(:[^]+)/,te+"box-$1$2"+_e+"flex-$1$2")+e;case 5443:return te+e+_e+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return te+e+_e+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return te+e+_e+ee(e,"shrink","negative")+e;case 5292:return te+e+_e+ee(e,"basis","preferred-size")+e;case 6060:return te+"box-"+ee(e,"-grow","")+te+e+_e+ee(e,"grow","positive")+e;case 4554:return te+ee(e,/([^-])(transform)/g,"$1"+te+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,te+"$1"),/(image-set)/,te+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,te+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,te+"box-pack:$3"+_e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+te+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,te+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(st(e)-1-t>6)switch(we(e,t+1)){case 109:if(we(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+te+"$2-$3$1"+Dl+(we(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Cl(e,"stretch")?lp(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(we(e,t+1)!==115)break;case 6444:switch(we(e,st(e)-3-(~Cl(e,"!important")&&10))){case 107:return ee(e,":",":"+te)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+te+(we(e,14)===45?"inline-":"")+"box$3$1"+te+"$2$3$1"+_e+"$2box$3")+e}break;case 5936:switch(we(e,t+11)){case 114:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return te+e+_e+e+e}return e}R(lp,"prefix");var PD=R(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case np:e.return=lp(e.value,e.length);break;case ty:return on([Nn(e,{value:ee(e.value,"@","@"+te)})],n);case rp:if(e.length)return ay(e.props,function(a){switch(ny(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return on([Nn(e,{props:[ee(a,/:(read-\w+)/,":"+Dl+"$1")]})],n);case"::placeholder":return on([Nn(e,{props:[ee(a,/:(plac\w+)/,":"+te+"input-$1")]}),Nn(e,{props:[ee(a,/:(plac\w+)/,":"+Dl+"$1")]}),Nn(e,{props:[ee(a,/:(plac\w+)/,_e+"input-$1")]})],n)}return""})}},"prefixer"),$D=[PD],ND=R(function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var g=v.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=e.stylisPlugins||$D;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var g=v.getAttribute("data-emotion").split(" "),w=1;w=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}R(vy,"murmur2");var UD={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},wh=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". @@ -677,7 +677,7 @@ To pass a single animation please supply them in simple values, e.g. animation(' `,77:`remToPx expects a value in "rem" but you provided it in "%s". `,78:`base must be set in "px" or "%" but you set it in "%s". -`};function sO(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,m=s+p,h=c+p,f=d+p;return n(m,h,f)}var x4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function cO(e){if(typeof e!="string")return e;var t=e.toLowerCase();return x4[t]?"#"+x4[t]:e}var dO=/^#[a-fA-F0-9]{6}$/,pO=/^#[a-fA-F0-9]{8}$/,fO=/^#[a-fA-F0-9]{3}$/,hO=/^#[a-fA-F0-9]{4}$/,V0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,mO=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,gO=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,vO=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function pu(e){if(typeof e!="string")throw new Mt(3);var t=cO(e);if(t.match(dO))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(pO)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(fO))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(hO)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=V0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=mO.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=gO.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Yo(s,c,d)+")",m=V0.exec(p);if(!m)throw new Mt(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=vO.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,w="rgb("+Yo(f,v,g)+")",x=V0.exec(w);if(!x)throw new Mt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Mt(5)}function yO(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?fs(e,t,r):"rgba("+Yo(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?fs(e.hue,e.saturation,e.lightness):"rgba("+Yo(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Mt(2)}function $1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return P1("#"+Kr(e)+Kr(t)+Kr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return P1("#"+Kr(e.red)+Kr(e.green)+Kr(e.blue));throw new Mt(6)}function ar(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=pu(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?$1(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?$1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Mt(7)}var DO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},CO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},SO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},kO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function N9(e){if(typeof e!="object")throw new Mt(8);if(CO(e))return ar(e);if(DO(e))return $1(e);if(kO(e))return xO(e);if(SO(e))return EO(e);throw new Mt(8)}function H9(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):H9(e,t,n)}}function fu(e){return H9(e,e.length,[])}function hu(e,t,r){return Math.max(e,Math.min(t,r))}function AO(e,t){if(t==="transparent")return t;var r=$9(t);return N9(Sa({},r,{lightness:hu(0,1,r.lightness-parseFloat(e))}))}var FO=fu(AO),It=FO;function _O(e,t){if(t==="transparent")return t;var r=$9(t);return N9(Sa({},r,{lightness:hu(0,1,r.lightness+parseFloat(e))}))}var RO=fu(_O),Jr=RO;function IO(e,t){if(t==="transparent")return t;var r=pu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Sa({},r,{alpha:hu(0,1,(n*100+parseFloat(e)*100)/100)});return ar(a)}var BO=fu(IO),Zi=BO;function TO(e,t){if(t==="transparent")return t;var r=pu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Sa({},r,{alpha:hu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return ar(a)}var zO=fu(TO),oe=zO,LO=F.div(se,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:oe(.3,e.color.defaultText),fontSize:e.typography.size.s2})),j9=e=>y.createElement(LO,{...e,className:"docblock-emptyblock sb-unstyled"}),OO=F(Vf)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),MO=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),Xi=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${ad}`]:{margin:0}})),PO=()=>y.createElement(MO,null,y.createElement(Xi,null),y.createElement(Xi,{style:{width:"80%"}}),y.createElement(Xi,{style:{width:"30%"}}),y.createElement(Xi,{style:{width:"80%"}})),V9=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=Dy();if(e)return y.createElement(PO,null);if(t)return y.createElement(j9,null,t);let c=y.createElement(OO,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?rd.dark:rd.light;return y.createElement(Cy,{theme:nd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,eh=600,$O=F.h1(se,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${eh}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),NO=F.h2(se,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${eh}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:oe(.25,e.color.defaultText)})),HO=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?oe(.1,e.color.defaultText):oe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[he("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[he("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[he("div")]:t,[he("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[he("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[he("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[he("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[he("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[he("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[he("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[he("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[he("img")]:{maxWidth:"100%"},[he("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[he("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[he("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[he("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[he("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[he("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[he("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),jO=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${eh}px)`]:{}})),VO=({children:e,toc:t})=>y.createElement(jO,{className:"sbdocs sbdocs-wrapper"},y.createElement(HO,{className:"sbdocs sbdocs-content"},e),t),mu=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:UO}=globalThis,qO=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=UO.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},U9=l.createContext({scale:1}),{PREVIEW_URL:WO}=globalThis,GO=WO||"iframe.html",N1=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,YO=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:c,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let m=t.current,h=p(i,m,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[c,p,i]),a?y.createElement("pre",null,y.createElement(iz,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${N1(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(q9,null),y.createElement("div",{ref:t,id:`${N1(e)}-inner`,"data-name":i.name}))},KO=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(U9.Consumer,null,({scale:r})=>y.createElement(qO,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:_L(GO,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),JO=F.strong(({theme:e})=>({color:e.color.orange})),ZO=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(JO,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:N1(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(YO,{...e}):y.createElement(KO,{...e}))},q9=()=>y.createElement(FL,null),XO=F(Xf)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),QO=F.div({display:"flex",alignItems:"center",gap:4}),eM=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),tM=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(XO,{...o},y.createElement(QO,{key:"left"},e?[1,2,3].map(i=>y.createElement(eM,{key:i})):y.createElement(y.Fragment,null,y.createElement(un,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(TL,null)),y.createElement(un,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(zL,null)),y.createElement(un,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(LL,null))))),rM=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),D4=F(V9)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":It(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":It(.05,e.background.content)}})),nM=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...mu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),aM=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:y.createElement(D4,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(D4,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function oM(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var iM=F(tM)({position:"absolute",top:0,left:0,right:0,height:40}),lM=F.div({overflow:"hidden",position:"relative"}),W9=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:c,layout:d="padded",...p})=>{let[m,h]=l.useState(i),{source:f,actionItem:v}=aM(a,m,h),[g,w]=l.useState(1),x=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),D=a?[v]:[],[E,b]=l.useState(s?[...s]:[]),C=[...D,...E],{window:S}=globalThis,k=l.useCallback(async _=>{let{createCopyToClipboardFunction:I}=await K1(()=>import("./index-CpR3wvdC.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url);I()},[]),A=_=>{let I=S.getSelection();I&&I.type==="Range"||(_.preventDefault(),E.filter(B=>B.title==="Copied").length===0&&k(f.props.code).then(()=>{b([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>b(E.filter(B=>B.title!=="Copied")),1500)}))};return y.createElement(nM,{withSource:a,withToolbar:o,...p,className:x.join(" ")},o&&y.createElement(iM,{isLoading:e,border:!0,zoom:_=>w(g*_),resetZoom:()=>w(1),storyId:oM(n),baseUrl:"./iframe.html"}),y.createElement(U9.Provider,{value:{scale:g}},y.createElement(lM,{className:"docs-story",onCopyCapture:a&&A},y.createElement(rM,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(XT.Element,{scale:g},Array.isArray(n)?n.map((_,I)=>y.createElement("div",{key:I},_)):y.createElement("div",null,n))),y.createElement(Sp,{actionItems:C}))),a&&m&&f)};F(W9)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),A4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},uM=["style","script"],cM=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,dM=/mailto:/i,pM=/\n{2,}$/,G9=/^(\s*>[\s\S]*?)(?=\n{2,})/,fM=/^ *> ?/gm,hM=/^ {2,}\n/,mM=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,Y9=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,K9=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,gM=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,vM=/^(?:\n *)*\n/,yM=/\r\n?/g,bM=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,wM=/^\[\^([^\]]+)]/,EM=/\f/g,xM=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,DM=/^\s*?\[(x|\s)\]/,J9=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Z9=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,X9=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,H1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,CM=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Q9=/^)/,SM=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,j1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,kM=/^\{.*\}$/,AM=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,FM=/^<([^ >]+@[^ >]+)>/,_M=/^<([^ >]+:\/[^ >]+)>/,RM=/-([a-z])?/gi,ex=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,IM=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,BM=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,TM=/^\[([^\]]*)\] ?\[([^\]]*)\]/,zM=/(\[|\])/g,LM=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,OM=/\t/g,MM=/^ *\| */,PM=/(^ *\||\| *$)/g,$M=/ *$/,NM=/^ *:-+: *$/,HM=/^ *:-+ *$/,jM=/^ *-+: *$/,gu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",VM=new RegExp(`^([*_])\\1${gu}\\1\\1(?!\\1)`),UM=new RegExp(`^([*_])${gu}\\1(?!\\1|\\w)`),qM=new RegExp(`^==${gu}==`),WM=new RegExp(`^~~${gu}~~`),GM=/^\\([^0-9A-Za-z\s])/,YM=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,KM=/^\n+/,JM=/^([ \t]*)/,ZM=/\\([^\\])/g,F4=/ *\n+$/,XM=/(?:^|\n)( *)$/,th="(?:\\d+\\.)",rh="(?:[*+-])";function tx(e){return"( *)("+(e===1?th:rh)+") +"}var rx=tx(1),nx=tx(2);function ax(e){return new RegExp("^"+(e===1?rx:nx))}var QM=ax(1),eP=ax(2);function ox(e){return new RegExp("^"+(e===1?rx:nx)+"[^\\n]*(?:\\n(?!\\1"+(e===1?th:rh)+" )[^\\n]*)*(\\n|$)","gm")}var ix=ox(1),lx=ox(2);function sx(e){let t=e===1?th:rh;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var ux=sx(1),cx=sx(2);function _4(e,t){let r=t===1,n=r?ux:cx,a=r?ix:lx,o=r?QM:eP;return{match(i,s,c){let d=XM.exec(c);return d&&(s.list||!s.inline&&!s.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,s,c){let d=r?+i[2]:void 0,p=i[0].replace(pM,` +`};function sO(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,m=s+p,h=c+p,f=d+p;return n(m,h,f)}var x4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function cO(e){if(typeof e!="string")return e;var t=e.toLowerCase();return x4[t]?"#"+x4[t]:e}var dO=/^#[a-fA-F0-9]{6}$/,pO=/^#[a-fA-F0-9]{8}$/,fO=/^#[a-fA-F0-9]{3}$/,hO=/^#[a-fA-F0-9]{4}$/,V0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,mO=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,gO=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,vO=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function pu(e){if(typeof e!="string")throw new Mt(3);var t=cO(e);if(t.match(dO))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(pO)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(fO))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(hO)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=V0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=mO.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=gO.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Yo(s,c,d)+")",m=V0.exec(p);if(!m)throw new Mt(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=vO.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,w="rgb("+Yo(f,v,g)+")",x=V0.exec(w);if(!x)throw new Mt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Mt(5)}function yO(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?fs(e,t,r):"rgba("+Yo(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?fs(e.hue,e.saturation,e.lightness):"rgba("+Yo(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Mt(2)}function $1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return P1("#"+Kr(e)+Kr(t)+Kr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return P1("#"+Kr(e.red)+Kr(e.green)+Kr(e.blue));throw new Mt(6)}function ar(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=pu(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?$1(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?$1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Mt(7)}var DO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},CO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},SO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},kO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function N9(e){if(typeof e!="object")throw new Mt(8);if(CO(e))return ar(e);if(DO(e))return $1(e);if(kO(e))return xO(e);if(SO(e))return EO(e);throw new Mt(8)}function H9(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):H9(e,t,n)}}function fu(e){return H9(e,e.length,[])}function hu(e,t,r){return Math.max(e,Math.min(t,r))}function AO(e,t){if(t==="transparent")return t;var r=$9(t);return N9(Sa({},r,{lightness:hu(0,1,r.lightness-parseFloat(e))}))}var FO=fu(AO),It=FO;function _O(e,t){if(t==="transparent")return t;var r=$9(t);return N9(Sa({},r,{lightness:hu(0,1,r.lightness+parseFloat(e))}))}var RO=fu(_O),Jr=RO;function IO(e,t){if(t==="transparent")return t;var r=pu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Sa({},r,{alpha:hu(0,1,(n*100+parseFloat(e)*100)/100)});return ar(a)}var BO=fu(IO),Zi=BO;function TO(e,t){if(t==="transparent")return t;var r=pu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Sa({},r,{alpha:hu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return ar(a)}var zO=fu(TO),oe=zO,LO=F.div(se,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:oe(.3,e.color.defaultText),fontSize:e.typography.size.s2})),j9=e=>y.createElement(LO,{...e,className:"docblock-emptyblock sb-unstyled"}),OO=F(Vf)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),MO=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),Xi=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${ad}`]:{margin:0}})),PO=()=>y.createElement(MO,null,y.createElement(Xi,null),y.createElement(Xi,{style:{width:"80%"}}),y.createElement(Xi,{style:{width:"30%"}}),y.createElement(Xi,{style:{width:"80%"}})),V9=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=Dy();if(e)return y.createElement(PO,null);if(t)return y.createElement(j9,null,t);let c=y.createElement(OO,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?rd.dark:rd.light;return y.createElement(Cy,{theme:nd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,eh=600,$O=F.h1(se,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${eh}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),NO=F.h2(se,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${eh}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:oe(.25,e.color.defaultText)})),HO=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?oe(.1,e.color.defaultText):oe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[he("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[he("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[he("div")]:t,[he("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[he("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[he("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[he("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[he("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[he("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[he("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[he("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[he("img")]:{maxWidth:"100%"},[he("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[he("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[he("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[he("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[he("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[he("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[he("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),jO=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${eh}px)`]:{}})),VO=({children:e,toc:t})=>y.createElement(jO,{className:"sbdocs sbdocs-wrapper"},y.createElement(HO,{className:"sbdocs sbdocs-content"},e),t),mu=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:UO}=globalThis,qO=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=UO.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},U9=l.createContext({scale:1}),{PREVIEW_URL:WO}=globalThis,GO=WO||"iframe.html",N1=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,YO=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:c,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let m=t.current,h=p(i,m,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[c,p,i]),a?y.createElement("pre",null,y.createElement(iz,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${N1(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(q9,null),y.createElement("div",{ref:t,id:`${N1(e)}-inner`,"data-name":i.name}))},KO=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(U9.Consumer,null,({scale:r})=>y.createElement(qO,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:_L(GO,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),JO=F.strong(({theme:e})=>({color:e.color.orange})),ZO=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(JO,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:N1(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(YO,{...e}):y.createElement(KO,{...e}))},q9=()=>y.createElement(FL,null),XO=F(Xf)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),QO=F.div({display:"flex",alignItems:"center",gap:4}),eM=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),tM=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(XO,{...o},y.createElement(QO,{key:"left"},e?[1,2,3].map(i=>y.createElement(eM,{key:i})):y.createElement(y.Fragment,null,y.createElement(un,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(TL,null)),y.createElement(un,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(zL,null)),y.createElement(un,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(LL,null))))),rM=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),D4=F(V9)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":It(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":It(.05,e.background.content)}})),nM=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...mu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),aM=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:y.createElement(D4,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(D4,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function oM(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var iM=F(tM)({position:"absolute",top:0,left:0,right:0,height:40}),lM=F.div({overflow:"hidden",position:"relative"}),W9=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:c,layout:d="padded",...p})=>{let[m,h]=l.useState(i),{source:f,actionItem:v}=aM(a,m,h),[g,w]=l.useState(1),x=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),D=a?[v]:[],[E,b]=l.useState(s?[...s]:[]),C=[...D,...E],{window:S}=globalThis,k=l.useCallback(async _=>{let{createCopyToClipboardFunction:I}=await K1(()=>import("./index-mfiv5hQn.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url);I()},[]),A=_=>{let I=S.getSelection();I&&I.type==="Range"||(_.preventDefault(),E.filter(B=>B.title==="Copied").length===0&&k(f.props.code).then(()=>{b([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>b(E.filter(B=>B.title!=="Copied")),1500)}))};return y.createElement(nM,{withSource:a,withToolbar:o,...p,className:x.join(" ")},o&&y.createElement(iM,{isLoading:e,border:!0,zoom:_=>w(g*_),resetZoom:()=>w(1),storyId:oM(n),baseUrl:"./iframe.html"}),y.createElement(U9.Provider,{value:{scale:g}},y.createElement(lM,{className:"docs-story",onCopyCapture:a&&A},y.createElement(rM,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(XT.Element,{scale:g},Array.isArray(n)?n.map((_,I)=>y.createElement("div",{key:I},_)):y.createElement("div",null,n))),y.createElement(Sp,{actionItems:C}))),a&&m&&f)};F(W9)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),A4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},uM=["style","script"],cM=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,dM=/mailto:/i,pM=/\n{2,}$/,G9=/^(\s*>[\s\S]*?)(?=\n{2,})/,fM=/^ *> ?/gm,hM=/^ {2,}\n/,mM=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,Y9=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,K9=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,gM=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,vM=/^(?:\n *)*\n/,yM=/\r\n?/g,bM=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,wM=/^\[\^([^\]]+)]/,EM=/\f/g,xM=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,DM=/^\s*?\[(x|\s)\]/,J9=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Z9=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,X9=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,H1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,CM=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Q9=/^)/,SM=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,j1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,kM=/^\{.*\}$/,AM=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,FM=/^<([^ >]+@[^ >]+)>/,_M=/^<([^ >]+:\/[^ >]+)>/,RM=/-([a-z])?/gi,ex=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,IM=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,BM=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,TM=/^\[([^\]]*)\] ?\[([^\]]*)\]/,zM=/(\[|\])/g,LM=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,OM=/\t/g,MM=/^ *\| */,PM=/(^ *\||\| *$)/g,$M=/ *$/,NM=/^ *:-+: *$/,HM=/^ *:-+ *$/,jM=/^ *-+: *$/,gu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",VM=new RegExp(`^([*_])\\1${gu}\\1\\1(?!\\1)`),UM=new RegExp(`^([*_])${gu}\\1(?!\\1|\\w)`),qM=new RegExp(`^==${gu}==`),WM=new RegExp(`^~~${gu}~~`),GM=/^\\([^0-9A-Za-z\s])/,YM=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,KM=/^\n+/,JM=/^([ \t]*)/,ZM=/\\([^\\])/g,F4=/ *\n+$/,XM=/(?:^|\n)( *)$/,th="(?:\\d+\\.)",rh="(?:[*+-])";function tx(e){return"( *)("+(e===1?th:rh)+") +"}var rx=tx(1),nx=tx(2);function ax(e){return new RegExp("^"+(e===1?rx:nx))}var QM=ax(1),eP=ax(2);function ox(e){return new RegExp("^"+(e===1?rx:nx)+"[^\\n]*(?:\\n(?!\\1"+(e===1?th:rh)+" )[^\\n]*)*(\\n|$)","gm")}var ix=ox(1),lx=ox(2);function sx(e){let t=e===1?th:rh;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var ux=sx(1),cx=sx(2);function _4(e,t){let r=t===1,n=r?ux:cx,a=r?ix:lx,o=r?QM:eP;return{match(i,s,c){let d=XM.exec(c);return d&&(s.list||!s.inline&&!s.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,s,c){let d=r?+i[2]:void 0,p=i[0].replace(pM,` `).match(a),m=!1;return{items:p.map(function(h,f){let v=o.exec(h)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),w=h.replace(g,"").replace(o,""),x=f===p.length-1,D=w.indexOf(` `)!==-1||x&&m;m=D;let E=c.inline,b=c.list,C;c.list=!0,D?(c.inline=!1,C=w.replace(F4,` @@ -708,7 +708,7 @@ To pass a single animation please supply them in simple values, e.g. animation(' ${It(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${Jr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Jr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${ar(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Cx=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),u$=F(Cx)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),c$=F.div({display:"flex",alignItems:"center",width:"100%"});function d$(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var p$=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:c})=>{var f;let d=v=>{r(xP(v.target.value))},p=t!==void 0,m=l.useMemo(()=>d$(o),[o]),h=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return y.createElement(c$,{"aria-readonly":h},y.createElement(Cx,null,n),y.createElement(s$,{id:yt(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(u$,{numberOFDecimalsPlaces:m,max:a},p?t.toFixed(m):"--"," / ",a))},f$=F.label({display:"flex"}),h$=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),m$=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},c=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),m=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(kn,{variant:"outline",size:"medium",disabled:c,id:ms(e),onClick:m},"Set string");let h=typeof t=="string";return y.createElement(f$,null,y.createElement(bi.Textarea,{id:yt(e),maxLength:o,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:a}),o&&y.createElement(h$,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},g$=F(bi.Input)({padding:10});function v$(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var y$=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=l.useRef(null),i=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),v$(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(g$,{ref:o,id:yt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},b$=l.lazy(()=>K1(()=>import("./Color-F6OSRLHC-Bfk-0pGG.js"),__vite__mapDeps([11,2,3,1,4,5,6,7,8,9,10]),import.meta.url)),w$=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(b$,{...e})),E$={array:$4,object:$4,boolean:hP,color:w$,date:wP,number:CP,check:$n,"inline-check":$n,radio:$n,"inline-radio":$n,select:$n,"multi-select":$n,range:p$,text:m$,file:y$},N4=()=>y.createElement(y.Fragment,null,"-"),x$=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[c,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(w=>(d({value:w}),r({[a]:w}),w),[r,a]),m=l.useCallback(()=>s(!1),[]),h=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let w=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&w?y.createElement(ia,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(N4,null)}let f={name:a,argType:e,value:c.value,onChange:p,onBlur:m,onFocus:h},v=E$[o.type]||N4;return y.createElement(v,{...f,...o,controlType:o.type})},D$=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Or({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),C$=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:y.createElement(y.Fragment,null,y.createElement(D$,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},S$=J1(M9()),q1=8,H4=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),k$=F.span(Or,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),A$=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),F$=F.div(Or,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),_$=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),R$=F(UL)({marginLeft:4}),I$=F(O9)({marginLeft:4}),B$=()=>y.createElement("span",null,"-"),Sx=({text:e,simple:t})=>y.createElement(k$,{simple:t},e),T$=(0,S$.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),z$=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return aD(t)},j4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,q1)),r.map(n=>y.createElement(Sx,{key:n,text:n===""?'""':n}))},L$=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return y.createElement(Sx,{text:c});let d=z$(c),p=d.length;return p>q1?y.createElement(H4,{isExpanded:i},j4(d,i),y.createElement(A$,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-q1} more...`)):y.createElement(H4,null,j4(d))}return y.createElement(Bz,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(_$,{width:T$(n)},y.createElement(Vf,{language:"jsx",format:!1},n))},y.createElement(F$,{className:"sbdocs-expandable"},y.createElement("span",null,c),a?y.createElement(R$,null):y.createElement(I$,null)))},J0=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(B$,null):y.createElement(L$,{value:e,initialExpandedArgs:t}),O$=F.span({fontWeight:"bold"}),M$=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),P$=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Or({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),$$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?4:0})),N$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),H$=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),j$=e=>e&&{summary:typeof e=="string"?e:e.name},Qi=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:c,description:d}=n,p=n.table||{},m=p.type||j$(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(H$,{expandable:i},y.createElement(O$,null,c),f?y.createElement(M$,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(P$,null,y.createElement(px,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(N$,{hasDescription:v},y.createElement(J0,{value:m,initialExpandedArgs:s})),y.createElement(C$,{tags:p.jsDocTags})):y.createElement($$,{hasDescription:v},y.createElement(J0,{value:m,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(J0,{value:h,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(x$,{...e,isHovered:t})):null)},V$=F.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),U$=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),q$=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),W$=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(V$,{inAddonPanel:e},y.createElement(_9,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:y.createElement(U$,null,e&&y.createElement(y.Fragment,null,y.createElement(ia,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(PL,null)," Watch 5m video"),y.createElement(q$,null),y.createElement(ia,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(L1,null)," Read docs")),!e&&y.createElement(ia,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(L1,null)," Learn how to set that up"))}))},G$=F(jL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),Y$=F(VL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),K$=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),J$=F.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),Z$=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),X$=F.td(()=>({position:"relative"})),Q$=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Jr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),V4=F.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Z0=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?Z$:J$,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(Q$,{title:p},y.createElement(s,{colSpan:1},y.createElement(V4,{onClick:m=>i(!o),tabIndex:0},p),y.createElement(K$,null,o?y.createElement(G$,null):y.createElement(Y$,null),t)),y.createElement(X$,{colSpan:a-1},y.createElement(V4,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},el=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ae=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),me=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Fe=[2,4,2,2],eN=()=>y.createElement(y.Fragment,null,y.createElement(el,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(el,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(el,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(el,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"})))),tN=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?oe(.25,e.color.defaultText):oe(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),rN=F(un)(({theme:e})=>({margin:"-4px -12px -4px 0"})),nN=F.span({display:"flex",justifyContent:"space-between"}),aN={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},oN=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:c}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...i});else{let p=d.subsections[c]||[];p.push({key:o,...i}),d.subsections[c]=p}r.sections[s]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...i}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...i})});let n=aN[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},iN=(e,t,r)=>{try{return vS(e,t,r)}catch(n){return GL.warn(n.message),!1}},W1=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:D}=e;return y.createElement(j9,null,D," ",y.createElement(ia,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(L1,null)," Read the docs"))}if(s)return y.createElement(eN,null);let{rows:c,args:d,globals:p}="rows"in e&&e,m=oN(oD(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&iN(D,d||{},p||{})}),i),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return y.createElement(W$,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let w=Object.keys(m.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(q8,null,y.createElement(tN,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(nN,null,"Control"," ",!s&&r&&y.createElement(rN,{onClick:()=>r(),title:"Reset controls"},y.createElement(qL,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(D=>y.createElement(Qi,{key:D.key,row:D,arg:d&&d[D.key],...x})),Object.entries(m.ungroupedSubsections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"subsection",colSpan:g},E.map(b=>y.createElement(Qi,{key:b.key,row:b,arg:d&&d[b.key],expandable:w,...x})))),Object.entries(m.sections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"section",colSpan:g},E.ungrouped.map(b=>y.createElement(Qi,{key:b.key,row:b,arg:d&&d[b.key],...x})),Object.entries(E.subsections).map(([b,C])=>y.createElement(Z0,{key:b,label:b,level:"subsection",colSpan:g},C.map(S=>y.createElement(Qi,{key:S.key,row:S,arg:d&&d[S.key],expandable:w,...x})))))))))},lN=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(W1,{...r[0][1],...t}):y.createElement(hL,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return y.createElement(c,{key:s,id:s,title:o},({active:p})=>p?y.createElement(W1,{key:`prop_table_${o}`,...i,...d}):null)}))};F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(se,({theme:e})=>({...mu(e),margin:"25px 0 40px",padding:"30px 20px"}));F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));F.div(({theme:e})=>({color:e.base==="light"?oe(.2,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));F.div({display:"flex",flexDirection:"row"});F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));F.div(({theme:e})=>({...mu(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});F.div({flex:1,display:"flex",flexDirection:"row"});F.div({display:"flex",alignItems:"flex-start"});F.div({flex:"0 0 30%"});F.div({flex:1});F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...mu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var sN=e=>`anchor--${e}`,uN=({storyId:e,children:t})=>y.createElement("div",{id:sN(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=l.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Kt=globalThis?globalThis.__DOCS_CONTEXT__:l.createContext(null),An=(e,t)=>l.useContext(Kt).resolveOf(e,t),cN=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),dN=e=>{if(e)return typeof e=="string"?e.includes("-")?cN(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function pN(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var fN=Object.create,kx=Object.defineProperty,hN=Object.getOwnPropertyDescriptor,Ax=Object.getOwnPropertyNames,mN=Object.getPrototypeOf,gN=Object.prototype.hasOwnProperty,tt=(e,t)=>function(){return t||(0,e[Ax(e)[0]])((t={exports:{}}).exports,t),t.exports},vN=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ax(t))!gN.call(e,a)&&a!==r&&kx(e,a,{get:()=>t[a],enumerable:!(n=hN(t,a))||n.enumerable});return e},oh=(e,t,r)=>(r=e!=null?fN(mN(e)):{},vN(!e||!e.__esModule?kx(r,"default",{value:e,enumerable:!0}):r,e)),yN=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],bN=["detail"];function wN(e){let t=yN.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&bN.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var EN=J1(M9(),1),Fx=tt({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==o||s.enumerable!==!0)return!1}return!0}}}),_x=tt({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Fx();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),xN=tt({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var c=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=s.apply(this,c.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,c.concat(n.call(arguments)))},m=Math.max(0,s.length-c.length),h=[],f=0;f"u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function z(L){var M;if(L==="%AsyncFunction%")M=i("async function () {}");else if(L==="%GeneratorFunction%")M=i("function* () {}");else if(L==="%AsyncGeneratorFunction%")M=i("async function* () {}");else if(L==="%AsyncGenerator%"){var O=z("%AsyncGeneratorFunction%");O&&(M=O.prototype)}else if(L==="%AsyncIteratorPrototype%"){var P=z("%AsyncGenerator%");P&&(M=m(P.prototype))}return v[L]=M,M},w={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=ih(),D=DN(),E=x.call(Function.call,Array.prototype.concat),b=x.call(Function.apply,Array.prototype.splice),C=x.call(Function.call,String.prototype.replace),S=x.call(Function.call,String.prototype.slice),k=x.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,I=function(z){var L=S(z,0,1),M=S(z,-1);if(L==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&L!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var O=[];return C(z,A,function(P,j,U,V){O[O.length]=U?C(V,_,"$1"):j||P}),O},B=function(z,L){var M=z,O;if(D(w,M)&&(O=w[M],M="%"+O[0]+"%"),D(v,M)){var P=v[M];if(P===h&&(P=g(M)),typeof P>"u"&&!L)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:O,name:M,value:P}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,L){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof L!="boolean")throw new o('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=I(z),O=M.length>0?M[0]:"",P=B("%"+O+"%",L),j=P.name,U=P.value,V=!1,G=P.alias;G&&(O=G[0],b(M,E([0,1],G)));for(var Q=1,ne=!0;Q=M.length){var K=s(U,J);ne=!!K,ne&&"get"in K&&!("originalValue"in K.get)?U=K.get:U=U[J]}else ne=D(U,J),U=U[J];ne&&!V&&(v[j]=U)}}return U}}}),CN=tt({"node_modules/call-bind/index.js"(e,t){var r=ih(),n=Rx(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(m){var h=i(r,o,arguments);if(s&&c){var f=s(h,"length");f.configurable&&c(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return i(r,a,arguments)};c?c(t.exports,"apply",{value:p}):t.exports.apply=p}}),SN=tt({"node_modules/call-bind/callBound.js"(e,t){var r=Rx(),n=CN(),a=n(r("String.prototype.indexOf"));t.exports=function(o,i){var s=r(o,!!i);return typeof s=="function"&&a(o,".prototype.")>-1?n(s):s}}}),kN=tt({"node_modules/has-tostringtag/shams.js"(e,t){var r=Fx();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),AN=tt({"node_modules/is-regex/index.js"(e,t){var r=SN(),n=kN()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},c=function(){throw i},s={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&a(f,"value");if(!v)return!1;try{o(h,s)}catch(g){return g===i}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),FN=tt({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),_N=tt({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=_x()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,i}}),RN=oh(AN()),IN=oh(FN()),BN=oh(_N());function TN(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var zN=typeof global=="object"&&global&&global.Object===Object&&global,LN=zN,ON=typeof self=="object"&&self&&self.Object===Object&&self,MN=LN||ON||Function("return this")(),lh=MN,PN=lh.Symbol,ka=PN,Ix=Object.prototype,$N=Ix.hasOwnProperty,NN=Ix.toString,oo=ka?ka.toStringTag:void 0;function HN(e){var t=$N.call(e,oo),r=e[oo];try{e[oo]=void 0;var n=!0}catch{}var a=NN.call(e);return n&&(t?e[oo]=r:delete e[oo]),a}var jN=HN,VN=Object.prototype,UN=VN.toString;function qN(e){return UN.call(e)}var WN=qN,GN="[object Null]",YN="[object Undefined]",U4=ka?ka.toStringTag:void 0;function KN(e){return e==null?e===void 0?YN:GN:U4&&U4 in Object(e)?jN(e):WN(e)}var JN=KN,q4=ka?ka.prototype:void 0;q4&&q4.toString;function ZN(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Bx=ZN,XN="[object AsyncFunction]",QN="[object Function]",eH="[object GeneratorFunction]",tH="[object Proxy]";function rH(e){if(!Bx(e))return!1;var t=JN(e);return t==QN||t==eH||t==XN||t==tH}var nH=rH,aH=lh["__core-js_shared__"],X0=aH,W4=function(){var e=/[^.]+$/.exec(X0&&X0.keys&&X0.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function oH(e){return!!W4&&W4 in e}var iH=oH,lH=Function.prototype,sH=lH.toString;function uH(e){if(e!=null){try{return sH.call(e)}catch{}try{return e+""}catch{}}return""}var cH=uH,dH=/[\\^$.*+?()[\]{}|]/g,pH=/^\[object .+?Constructor\]$/,fH=Function.prototype,hH=Object.prototype,mH=fH.toString,gH=hH.hasOwnProperty,vH=RegExp("^"+mH.call(gH).replace(dH,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function yH(e){if(!Bx(e)||iH(e))return!1;var t=nH(e)?vH:pH;return t.test(cH(e))}var bH=yH;function wH(e,t){return e==null?void 0:e[t]}var EH=wH;function xH(e,t){var r=EH(e,t);return bH(r)?r:void 0}var Tx=xH;function DH(e,t){return e===t||e!==e&&t!==t}var CH=DH,SH=Tx(Object,"create"),Ko=SH;function kH(){this.__data__=Ko?Ko(null):{},this.size=0}var AH=kH;function FH(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var _H=FH,RH="__lodash_hash_undefined__",IH=Object.prototype,BH=IH.hasOwnProperty;function TH(e){var t=this.__data__;if(Ko){var r=t[e];return r===RH?void 0:r}return BH.call(t,e)?t[e]:void 0}var zH=TH,LH=Object.prototype,OH=LH.hasOwnProperty;function MH(e){var t=this.__data__;return Ko?t[e]!==void 0:OH.call(t,e)}var PH=MH,$H="__lodash_hash_undefined__";function NH(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ko&&t===void 0?$H:t,this}var HH=NH;function Oa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var XH=ZH;function QH(e,t){var r=this.__data__,n=yu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var ej=QH;function Ma(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;i({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),c$=F.div({display:"flex",alignItems:"center",width:"100%"});function d$(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var p$=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:c})=>{var f;let d=v=>{r(xP(v.target.value))},p=t!==void 0,m=l.useMemo(()=>d$(o),[o]),h=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return y.createElement(c$,{"aria-readonly":h},y.createElement(Cx,null,n),y.createElement(s$,{id:yt(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(u$,{numberOFDecimalsPlaces:m,max:a},p?t.toFixed(m):"--"," / ",a))},f$=F.label({display:"flex"}),h$=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),m$=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},c=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),m=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(kn,{variant:"outline",size:"medium",disabled:c,id:ms(e),onClick:m},"Set string");let h=typeof t=="string";return y.createElement(f$,null,y.createElement(bi.Textarea,{id:yt(e),maxLength:o,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:a}),o&&y.createElement(h$,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},g$=F(bi.Input)({padding:10});function v$(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var y$=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=l.useRef(null),i=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),v$(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(g$,{ref:o,id:yt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},b$=l.lazy(()=>K1(()=>import("./Color-F6OSRLHC-D9sRhu0d.js"),__vite__mapDeps([11,2,3,1,4,5,6,7,8,9,10]),import.meta.url)),w$=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(b$,{...e})),E$={array:$4,object:$4,boolean:hP,color:w$,date:wP,number:CP,check:$n,"inline-check":$n,radio:$n,"inline-radio":$n,select:$n,"multi-select":$n,range:p$,text:m$,file:y$},N4=()=>y.createElement(y.Fragment,null,"-"),x$=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[c,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(w=>(d({value:w}),r({[a]:w}),w),[r,a]),m=l.useCallback(()=>s(!1),[]),h=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let w=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&w?y.createElement(ia,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(N4,null)}let f={name:a,argType:e,value:c.value,onChange:p,onBlur:m,onFocus:h},v=E$[o.type]||N4;return y.createElement(v,{...f,...o,controlType:o.type})},D$=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Or({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),C$=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:y.createElement(y.Fragment,null,y.createElement(D$,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},S$=J1(M9()),q1=8,H4=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),k$=F.span(Or,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),A$=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),F$=F.div(Or,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),_$=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),R$=F(UL)({marginLeft:4}),I$=F(O9)({marginLeft:4}),B$=()=>y.createElement("span",null,"-"),Sx=({text:e,simple:t})=>y.createElement(k$,{simple:t},e),T$=(0,S$.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),z$=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return aD(t)},j4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,q1)),r.map(n=>y.createElement(Sx,{key:n,text:n===""?'""':n}))},L$=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return y.createElement(Sx,{text:c});let d=z$(c),p=d.length;return p>q1?y.createElement(H4,{isExpanded:i},j4(d,i),y.createElement(A$,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-q1} more...`)):y.createElement(H4,null,j4(d))}return y.createElement(Bz,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(_$,{width:T$(n)},y.createElement(Vf,{language:"jsx",format:!1},n))},y.createElement(F$,{className:"sbdocs-expandable"},y.createElement("span",null,c),a?y.createElement(R$,null):y.createElement(I$,null)))},J0=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(B$,null):y.createElement(L$,{value:e,initialExpandedArgs:t}),O$=F.span({fontWeight:"bold"}),M$=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),P$=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Or({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),$$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?4:0})),N$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),H$=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),j$=e=>e&&{summary:typeof e=="string"?e:e.name},Qi=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:c,description:d}=n,p=n.table||{},m=p.type||j$(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(H$,{expandable:i},y.createElement(O$,null,c),f?y.createElement(M$,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(P$,null,y.createElement(px,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(N$,{hasDescription:v},y.createElement(J0,{value:m,initialExpandedArgs:s})),y.createElement(C$,{tags:p.jsDocTags})):y.createElement($$,{hasDescription:v},y.createElement(J0,{value:m,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(J0,{value:h,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(x$,{...e,isHovered:t})):null)},V$=F.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),U$=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),q$=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),W$=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(V$,{inAddonPanel:e},y.createElement(_9,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:y.createElement(U$,null,e&&y.createElement(y.Fragment,null,y.createElement(ia,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(PL,null)," Watch 5m video"),y.createElement(q$,null),y.createElement(ia,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(L1,null)," Read docs")),!e&&y.createElement(ia,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(L1,null)," Learn how to set that up"))}))},G$=F(jL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),Y$=F(VL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),K$=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),J$=F.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),Z$=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),X$=F.td(()=>({position:"relative"})),Q$=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Jr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),V4=F.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Z0=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?Z$:J$,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(Q$,{title:p},y.createElement(s,{colSpan:1},y.createElement(V4,{onClick:m=>i(!o),tabIndex:0},p),y.createElement(K$,null,o?y.createElement(G$,null):y.createElement(Y$,null),t)),y.createElement(X$,{colSpan:a-1},y.createElement(V4,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},el=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ae=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),me=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Fe=[2,4,2,2],eN=()=>y.createElement(y.Fragment,null,y.createElement(el,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(el,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(el,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(el,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"})))),tN=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?oe(.25,e.color.defaultText):oe(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),rN=F(un)(({theme:e})=>({margin:"-4px -12px -4px 0"})),nN=F.span({display:"flex",justifyContent:"space-between"}),aN={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},oN=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:c}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...i});else{let p=d.subsections[c]||[];p.push({key:o,...i}),d.subsections[c]=p}r.sections[s]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...i}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...i})});let n=aN[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},iN=(e,t,r)=>{try{return vS(e,t,r)}catch(n){return GL.warn(n.message),!1}},W1=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:D}=e;return y.createElement(j9,null,D," ",y.createElement(ia,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(L1,null)," Read the docs"))}if(s)return y.createElement(eN,null);let{rows:c,args:d,globals:p}="rows"in e&&e,m=oN(oD(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&iN(D,d||{},p||{})}),i),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return y.createElement(W$,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let w=Object.keys(m.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(q8,null,y.createElement(tN,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(nN,null,"Control"," ",!s&&r&&y.createElement(rN,{onClick:()=>r(),title:"Reset controls"},y.createElement(qL,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(D=>y.createElement(Qi,{key:D.key,row:D,arg:d&&d[D.key],...x})),Object.entries(m.ungroupedSubsections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"subsection",colSpan:g},E.map(b=>y.createElement(Qi,{key:b.key,row:b,arg:d&&d[b.key],expandable:w,...x})))),Object.entries(m.sections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"section",colSpan:g},E.ungrouped.map(b=>y.createElement(Qi,{key:b.key,row:b,arg:d&&d[b.key],...x})),Object.entries(E.subsections).map(([b,C])=>y.createElement(Z0,{key:b,label:b,level:"subsection",colSpan:g},C.map(S=>y.createElement(Qi,{key:S.key,row:S,arg:d&&d[S.key],expandable:w,...x})))))))))},lN=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(W1,{...r[0][1],...t}):y.createElement(hL,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return y.createElement(c,{key:s,id:s,title:o},({active:p})=>p?y.createElement(W1,{key:`prop_table_${o}`,...i,...d}):null)}))};F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(se,({theme:e})=>({...mu(e),margin:"25px 0 40px",padding:"30px 20px"}));F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));F.div(({theme:e})=>({color:e.base==="light"?oe(.2,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));F.div({display:"flex",flexDirection:"row"});F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));F.div(({theme:e})=>({...mu(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});F.div({flex:1,display:"flex",flexDirection:"row"});F.div({display:"flex",alignItems:"flex-start"});F.div({flex:"0 0 30%"});F.div({flex:1});F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...mu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var sN=e=>`anchor--${e}`,uN=({storyId:e,children:t})=>y.createElement("div",{id:sN(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=l.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Kt=globalThis?globalThis.__DOCS_CONTEXT__:l.createContext(null),An=(e,t)=>l.useContext(Kt).resolveOf(e,t),cN=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),dN=e=>{if(e)return typeof e=="string"?e.includes("-")?cN(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function pN(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var fN=Object.create,kx=Object.defineProperty,hN=Object.getOwnPropertyDescriptor,Ax=Object.getOwnPropertyNames,mN=Object.getPrototypeOf,gN=Object.prototype.hasOwnProperty,tt=(e,t)=>function(){return t||(0,e[Ax(e)[0]])((t={exports:{}}).exports,t),t.exports},vN=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ax(t))!gN.call(e,a)&&a!==r&&kx(e,a,{get:()=>t[a],enumerable:!(n=hN(t,a))||n.enumerable});return e},oh=(e,t,r)=>(r=e!=null?fN(mN(e)):{},vN(!e||!e.__esModule?kx(r,"default",{value:e,enumerable:!0}):r,e)),yN=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],bN=["detail"];function wN(e){let t=yN.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&bN.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var EN=J1(M9(),1),Fx=tt({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==o||s.enumerable!==!0)return!1}return!0}}}),_x=tt({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Fx();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),xN=tt({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var c=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=s.apply(this,c.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,c.concat(n.call(arguments)))},m=Math.max(0,s.length-c.length),h=[],f=0;f"u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function z(L){var M;if(L==="%AsyncFunction%")M=i("async function () {}");else if(L==="%GeneratorFunction%")M=i("function* () {}");else if(L==="%AsyncGeneratorFunction%")M=i("async function* () {}");else if(L==="%AsyncGenerator%"){var O=z("%AsyncGeneratorFunction%");O&&(M=O.prototype)}else if(L==="%AsyncIteratorPrototype%"){var P=z("%AsyncGenerator%");P&&(M=m(P.prototype))}return v[L]=M,M},w={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=ih(),D=DN(),E=x.call(Function.call,Array.prototype.concat),b=x.call(Function.apply,Array.prototype.splice),C=x.call(Function.call,String.prototype.replace),S=x.call(Function.call,String.prototype.slice),k=x.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,I=function(z){var L=S(z,0,1),M=S(z,-1);if(L==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&L!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var O=[];return C(z,A,function(P,j,U,V){O[O.length]=U?C(V,_,"$1"):j||P}),O},B=function(z,L){var M=z,O;if(D(w,M)&&(O=w[M],M="%"+O[0]+"%"),D(v,M)){var P=v[M];if(P===h&&(P=g(M)),typeof P>"u"&&!L)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:O,name:M,value:P}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,L){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof L!="boolean")throw new o('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=I(z),O=M.length>0?M[0]:"",P=B("%"+O+"%",L),j=P.name,U=P.value,V=!1,G=P.alias;G&&(O=G[0],b(M,E([0,1],G)));for(var Q=1,ne=!0;Q=M.length){var K=s(U,J);ne=!!K,ne&&"get"in K&&!("originalValue"in K.get)?U=K.get:U=U[J]}else ne=D(U,J),U=U[J];ne&&!V&&(v[j]=U)}}return U}}}),CN=tt({"node_modules/call-bind/index.js"(e,t){var r=ih(),n=Rx(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(m){var h=i(r,o,arguments);if(s&&c){var f=s(h,"length");f.configurable&&c(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return i(r,a,arguments)};c?c(t.exports,"apply",{value:p}):t.exports.apply=p}}),SN=tt({"node_modules/call-bind/callBound.js"(e,t){var r=Rx(),n=CN(),a=n(r("String.prototype.indexOf"));t.exports=function(o,i){var s=r(o,!!i);return typeof s=="function"&&a(o,".prototype.")>-1?n(s):s}}}),kN=tt({"node_modules/has-tostringtag/shams.js"(e,t){var r=Fx();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),AN=tt({"node_modules/is-regex/index.js"(e,t){var r=SN(),n=kN()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},c=function(){throw i},s={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&a(f,"value");if(!v)return!1;try{o(h,s)}catch(g){return g===i}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),FN=tt({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),_N=tt({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=_x()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,i}}),RN=oh(AN()),IN=oh(FN()),BN=oh(_N());function TN(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var zN=typeof global=="object"&&global&&global.Object===Object&&global,LN=zN,ON=typeof self=="object"&&self&&self.Object===Object&&self,MN=LN||ON||Function("return this")(),lh=MN,PN=lh.Symbol,ka=PN,Ix=Object.prototype,$N=Ix.hasOwnProperty,NN=Ix.toString,oo=ka?ka.toStringTag:void 0;function HN(e){var t=$N.call(e,oo),r=e[oo];try{e[oo]=void 0;var n=!0}catch{}var a=NN.call(e);return n&&(t?e[oo]=r:delete e[oo]),a}var jN=HN,VN=Object.prototype,UN=VN.toString;function qN(e){return UN.call(e)}var WN=qN,GN="[object Null]",YN="[object Undefined]",U4=ka?ka.toStringTag:void 0;function KN(e){return e==null?e===void 0?YN:GN:U4&&U4 in Object(e)?jN(e):WN(e)}var JN=KN,q4=ka?ka.prototype:void 0;q4&&q4.toString;function ZN(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Bx=ZN,XN="[object AsyncFunction]",QN="[object Function]",eH="[object GeneratorFunction]",tH="[object Proxy]";function rH(e){if(!Bx(e))return!1;var t=JN(e);return t==QN||t==eH||t==XN||t==tH}var nH=rH,aH=lh["__core-js_shared__"],X0=aH,W4=function(){var e=/[^.]+$/.exec(X0&&X0.keys&&X0.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function oH(e){return!!W4&&W4 in e}var iH=oH,lH=Function.prototype,sH=lH.toString;function uH(e){if(e!=null){try{return sH.call(e)}catch{}try{return e+""}catch{}}return""}var cH=uH,dH=/[\\^$.*+?()[\]{}|]/g,pH=/^\[object .+?Constructor\]$/,fH=Function.prototype,hH=Object.prototype,mH=fH.toString,gH=hH.hasOwnProperty,vH=RegExp("^"+mH.call(gH).replace(dH,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function yH(e){if(!Bx(e)||iH(e))return!1;var t=nH(e)?vH:pH;return t.test(cH(e))}var bH=yH;function wH(e,t){return e==null?void 0:e[t]}var EH=wH;function xH(e,t){var r=EH(e,t);return bH(r)?r:void 0}var Tx=xH;function DH(e,t){return e===t||e!==e&&t!==t}var CH=DH,SH=Tx(Object,"create"),Ko=SH;function kH(){this.__data__=Ko?Ko(null):{},this.size=0}var AH=kH;function FH(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var _H=FH,RH="__lodash_hash_undefined__",IH=Object.prototype,BH=IH.hasOwnProperty;function TH(e){var t=this.__data__;if(Ko){var r=t[e];return r===RH?void 0:r}return BH.call(t,e)?t[e]:void 0}var zH=TH,LH=Object.prototype,OH=LH.hasOwnProperty;function MH(e){var t=this.__data__;return Ko?t[e]!==void 0:OH.call(t,e)}var PH=MH,$H="__lodash_hash_undefined__";function NH(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ko&&t===void 0?$H:t,this}var HH=NH;function Oa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var XH=ZH;function QH(e,t){var r=this.__data__,n=yu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var ej=QH;function Ma(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iSj(e).replace(/\n\s*/g,"").trim()),Aj=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let a=r;return a=a.replace(e,"function"),a+n},Fj=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Lx(e){if(!Cj(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=wN(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var _j=function(e){let t,r,n,a;return function(o,i){try{if(o==="")return a=[],t=new Map([[i,"[]"]]),r=new Map,n=[],i;let s=r.get(this)||this;for(;n.length&&s!==n[0];)n.shift(),a.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===-1/0?"_-Infinity_":i===1/0?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return Fj.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,RN.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,IN.default)(i)){if(!e.allowFunction)return;let{name:d}=i,p=i.toString();return p.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${kj(Aj(o,p))}`}if((0,BN.default)(i)){if(!e.allowSymbol)return;let d=Symbol.keyFor(i);return d!==void 0?`_gsymbol_${d}`:`_symbol_${i.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(a)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&!e.allowClass)return;let c=t.get(i);if(!c){let d=Array.isArray(i)?i:Lx(i);if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":i.constructor.name})}catch{}return a.push(o),n.unshift(d),t.set(i,JSON.stringify(a)),i!==d&&r.set(i,d),d}return`_duplicate_${c}`}catch{return}}},Rj={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},Ij=(e,t={})=>{let r={...Rj,...t};return JSON.stringify(Lx(e),_j(r),t.space)};function Ox(e){return Ij(e,{allowFunction:!1})}var Mx=l.createContext({sources:{}}),Px="--unknown--",Bj=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:c,args:d=void 0,source:p,format:m}=typeof o=="string"?{id:o,source:i,format:s}:o,h=d?Ox(d):Px;n(f=>({...f,[c]:{...f[c],[h]:{code:p,format:m}}}))};return t.on(mh,a),()=>t.off(mh,a)},[]),y.createElement(Mx.Provider,{value:{sources:r}},e)},Tj=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[Ox(t)])||(a==null?void 0:a[Px])||{code:""}},zj=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var c,d;let{__isArgsStory:a}=t.parameters,o=((c=t.parameters.docs)==null?void 0:c.source)||{},i=r||o.type||xu.AUTO;if(o.code!==void 0)return o.code;let s=i===xu.DYNAMIC||i===xu.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},Lj=(e,t,r)=>{var f,v,g,w;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:i}=e,s=e.format??o.format,c=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:s,language:c,dark:d};let p=t.getStoryContext(n),m=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,h=Tj(n.id,m,r);return s=h.format??((w=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:w.format)??!1,{code:zj({snippet:h.code,storyContext:{...p,args:m},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:c,dark:d}};function Oj(e,t){let r=Mj([e],t);return r&&r[0]}function Mj(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var Pj=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},$j=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let s=e.height??o.height,c=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:c,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},Nj=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(Kt),r=Pj(e,t),n=Oj(r,t);if(!n)return y.createElement(q9,null);let a=$j(e,n,t);return a?y.createElement(ZO,{...a}):null},Hj=e=>{var h,f,v,g,w,x,D,E,b,C;let t=l.useContext(Kt),r=l.useContext(Mx),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=An(n||"story",["story"]),i=Lj({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((f=(h=o.parameters.docs)==null?void 0:h.canvas)==null?void 0:f.layout)??"padded",c=e.withToolbar??((g=(v=o.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((x=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:x.additionalActions),p=e.sourceState??((E=(D=o.parameters.docs)==null?void 0:D.canvas)==null?void 0:E.sourceState)??"hidden",m=e.className??((C=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:C.className);return y.createElement(W9,{withSource:p==="none"?void 0:i,isExpanded:p==="shown",withToolbar:c,additionalActions:d,className:m,layout:s},y.createElement(Nj,{of:n||o.moduleExport,meta:e.meta,...e.story}))},jj=(e,t)=>{let r=Vj(e,t);if(!r)throw new Error("No result when story was defined");return r},Vj=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let c=d=>{d.storyId===n&&o(d.args)};return t.channel.on(w4,c),()=>t.channel.off(w4,c)},[n,t.channel]);let i=l.useCallback(c=>t.channel.emit(YL,{storyId:n,updatedArgs:c}),[n,t.channel]),s=l.useCallback(c=>t.channel.emit(KL,{storyId:n,argNames:c}),[n,t.channel]);return e&&[a,i,s]},Uj=(e,t)=>{let r=t.getStoryContext(e),[n,a]=l.useState(r.globals);return l.useEffect(()=>{let o=i=>{a(i.globals)};return t.channel.on(E4,o),()=>t.channel.off(E4,o)},[t.channel]),[n]};function qj(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var Wj=e=>{var b;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=l.useContext(Kt),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,c=((b=a.docs)==null?void 0:b.controls)||{},d=e.include??c.include,p=e.exclude??c.exclude,m=e.sort??c.sort,[h,f,v]=jj(n,r),[g]=Uj(n,r),w=b4(o,d,p);if(!(s&&Object.keys(s).length>0))return Object.keys(w).length>0||Object.keys(h).length>0?y.createElement(W1,{rows:w,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v}):null;let x=dN(i),D=Object.fromEntries(Object.entries(s).map(([C,S])=>[C,{rows:b4(qj(S,a),d,p),sort:m}])),E={[x]:{rows:w,sort:m},...D};return y.createElement(lN,{tabs:E,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v})},{document:$x}=globalThis,Nx=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(W8,null,t);let n=e&&e.split("-");return y.createElement(V9,{language:n&&n[1]||"text",format:!1,code:t,...r})};function uh(e,t){e.channel.emit(JL,t)}var G1=IL.a,Gj=({hash:e,children:t})=>{let r=l.useContext(Kt);return y.createElement(G1,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);$x.getElementById(a)&&uh(r,e)}},t)},Hx=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(Kt);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement(G1,{...e}):t.startsWith("#")?y.createElement(Gj,{hash:t},n):y.createElement(G1,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),uh(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},jx=["h1","h2","h3","h4","h5","h6"],Yj=jx.reduce((e,t)=>({...e,[t]:F(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),Kj=F.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Jj=({as:e,id:t,children:r,...n})=>{let a=l.useContext(Kt),o=Yj[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement(Kj,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{$x.getElementById(t)&&uh(a,i)}},y.createElement(HL,null)),r)},ch=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(Jj,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...le(s,t)})},Vx=jx.reduce((e,t)=>({...e,[t]:r=>y.createElement(ch,{as:t,...r})}),{}),Zj=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(Kx`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' diff --git a/assets/EmailButton.stories-D1zTyrfy.js b/assets/EmailButton.stories-B7-523LX.js similarity index 91% rename from assets/EmailButton.stories-D1zTyrfy.js rename to assets/EmailButton.stories-B7-523LX.js index 39591956..1cadfdfd 100644 --- a/assets/EmailButton.stories-D1zTyrfy.js +++ b/assets/EmailButton.stories-B7-523LX.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{B as m}from"./Button-jNQoxaXU.js";import{R as p}from"./Row-D-wvv0CV.js";import{u as d}from"./useOpenMailUrl-hiSWEozv.js";import{a as c}from"./accessibleText-gmNPjmn1.js";import{P as g}from"./index-DSI0shHu.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-kbHxBZ_W.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-BP1Ij_Cs.js";import"./config-BZnShabN.js";import"./Icon-BD3fFj_K.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-Ce74jbsy.js";const v=e=>g.OS==="ios"?e.replaceAll("."," punt ").replaceAll("-"," min "):e,l=({email:e,subject:n,...u})=>{const s=d();return r.jsx(p,{children:r.jsx(m,{...u,accessibilityLabel:c("Stuur een e-mail naar",v(e)),ellipsizeMode:"tail",iconName:"email",label:e,onPress:()=>{s(e,n)}})})};try{l.displayName="EmailButton",l.__docgenInfo={description:"",displayName:"EmailButton",props:{email:{defaultValue:null,description:"",name:"email",required:!0,type:{name:"string"}},subject:{defaultValue:null,description:"",name:"subject",required:!1,type:{name:"string"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}}}}}catch{}const $={component:l,argTypes:{onPress:{action:"onPress"}}},a={args:{email:"ontwikkelingzeeburgereiland@amsterdam.nl",subject:"Vraag over zeeburg."}};var t,i,o;a.parameters={...a.parameters,docs:{...(t=a.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{B as m}from"./Button-DKrj2h9O.js";import{R as p}from"./Row-D-wvv0CV.js";import{u as d}from"./useOpenMailUrl-Blrf_PL9.js";import{a as c}from"./accessibleText-gmNPjmn1.js";import{P as g}from"./index-DSI0shHu.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-kbHxBZ_W.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-BP1Ij_Cs.js";import"./config-BZnShabN.js";import"./Icon-DzTBkJ4u.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-Ce74jbsy.js";const v=e=>g.OS==="ios"?e.replaceAll("."," punt ").replaceAll("-"," min "):e,l=({email:e,subject:n,...u})=>{const s=d();return r.jsx(p,{children:r.jsx(m,{...u,accessibilityLabel:c("Stuur een e-mail naar",v(e)),ellipsizeMode:"tail",iconName:"email",label:e,onPress:()=>{s(e,n)}})})};try{l.displayName="EmailButton",l.__docgenInfo={description:"",displayName:"EmailButton",props:{email:{defaultValue:null,description:"",name:"email",required:!0,type:{name:"string"}},subject:{defaultValue:null,description:"",name:"subject",required:!1,type:{name:"string"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}}}}}catch{}const $={component:l,argTypes:{onPress:{action:"onPress"}}},a={args:{email:"ontwikkelingzeeburgereiland@amsterdam.nl",subject:"Vraag over zeeburg."}};var t,i,o;a.parameters={...a.parameters,docs:{...(t=a.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { email: 'ontwikkelingzeeburgereiland@amsterdam.nl', subject: 'Vraag over zeeburg.' diff --git a/assets/EmptyMessage.stories-BqSL71ej.js b/assets/EmptyMessage.stories-C8KGDEs-.js similarity index 96% rename from assets/EmptyMessage.stories-BqSL71ej.js rename to assets/EmptyMessage.stories-C8KGDEs-.js index 46e5fd70..e56b6dfc 100644 --- a/assets/EmptyMessage.stories-BqSL71ej.js +++ b/assets/EmptyMessage.stories-C8KGDEs-.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{S as l}from"./SingleSelectable-BAFROorM.js";import{P as c}from"./Paragraph-C4zYzItT.js";import{T as d}from"./Title-DSiraCpB.js";import{u}from"./useAccessibilityAnnounce-VJH9SmdL.js";import{D as g}from"./duration-A4BOymd5.js";import{a as f}from"./accessibleText-gmNPjmn1.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-kbHxBZ_W.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./useIsScreenReaderEnabled-A65pchNu.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./development-LhlsWDYu.js";import"./index-CDv7s-w8.js";const s=({showTitle:t=!0,testID:p,text:r})=>{const o=t?"Helaas …":"";return u(`${o} ${r}`,g.normal),a.jsxs(l,{accessibilityLabel:f(o,r),accessibilityLanguage:"nl-NL",testID:p,children:[!!t&&a.jsx(d,{level:"h3",text:o}),a.jsx(c,{children:r})]})};try{s.displayName="EmptyMessage",s.__docgenInfo={description:"",displayName:"EmptyMessage",props:{showTitle:{defaultValue:{value:"true"},description:"",name:"showTitle",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const H={component:s},e={args:{text:"We hebben geen werkzaamheden gevonden voor dit adres."}};var i,m,n;e.parameters={...e.parameters,docs:{...(i=e.parameters)==null?void 0:i.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{S as l}from"./SingleSelectable-BAFROorM.js";import{P as c}from"./Paragraph-DU14yVhW.js";import{T as d}from"./Title-CLDk-249.js";import{u}from"./useAccessibilityAnnounce-VJH9SmdL.js";import{D as g}from"./duration-A4BOymd5.js";import{a as f}from"./accessibleText-gmNPjmn1.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-kbHxBZ_W.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./useIsScreenReaderEnabled-A65pchNu.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./development-LhlsWDYu.js";import"./index-CDv7s-w8.js";const s=({showTitle:t=!0,testID:p,text:r})=>{const o=t?"Helaas …":"";return u(`${o} ${r}`,g.normal),a.jsxs(l,{accessibilityLabel:f(o,r),accessibilityLanguage:"nl-NL",testID:p,children:[!!t&&a.jsx(d,{level:"h3",text:o}),a.jsx(c,{children:r})]})};try{s.displayName="EmptyMessage",s.__docgenInfo={description:"",displayName:"EmptyMessage",props:{showTitle:{defaultValue:{value:"true"},description:"",name:"showTitle",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const H={component:s},e={args:{text:"We hebben geen werkzaamheden gevonden voor dit adres."}};var i,m,n;e.parameters={...e.parameters,docs:{...(i=e.parameters)==null?void 0:i.docs,source:{originalSource:`{ args: { text: 'We hebben geen werkzaamheden gevonden voor dit adres.' } diff --git a/assets/FauxButton.stories-wp1beRas.js b/assets/FauxButton.stories-Ch10gWP2.js similarity index 95% rename from assets/FauxButton.stories-wp1beRas.js rename to assets/FauxButton.stories-Ch10gWP2.js index c0f298ea..60d8b212 100644 --- a/assets/FauxButton.stories-wp1beRas.js +++ b/assets/FauxButton.stories-Ch10gWP2.js @@ -1 +1 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{c as p}from"./config-BZnShabN.js";import{P as c}from"./Phrase-Dnv5p-ah.js";import{V as m}from"./index-BP1Ij_Cs.js";import{s as u}from"./index-kbHxBZ_W.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";const e=({children:o,testID:i})=>r.jsx(m,{style:l.button,children:r.jsx(c,{testID:i,children:o})}),l=u.create({button:{minHeight:p.buttonHeight,flexDirection:"column",justifyContent:"center"}});try{e.displayName="FauxButton",e.__docgenInfo={description:"A faux button is not an actual button, but a helper component for a specific design pattern: when label and a button are horizontally aligned, this component can be used to align the baseline of the label text with the baseline of the button text.",displayName:"FauxButton",props:{testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const w={component:e,args:{children:"Hi!"},argTypes:{onPress:{action:"onPress"}}},t={};var n,a,s;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(s=(a=t.parameters)==null?void 0:a.docs)==null?void 0:s.source}}};const H=["Default"];export{t as Default,H as __namedExportsOrder,w as default}; +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{c as p}from"./config-BZnShabN.js";import{P as c}from"./Phrase-FY7SqhHh.js";import{V as m}from"./index-BP1Ij_Cs.js";import{s as u}from"./index-kbHxBZ_W.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";const e=({children:o,testID:i})=>r.jsx(m,{style:l.button,children:r.jsx(c,{testID:i,children:o})}),l=u.create({button:{minHeight:p.buttonHeight,flexDirection:"column",justifyContent:"center"}});try{e.displayName="FauxButton",e.__docgenInfo={description:"A faux button is not an actual button, but a helper component for a specific design pattern: when label and a button are horizontally aligned, this component can be used to align the baseline of the label text with the baseline of the button text.",displayName:"FauxButton",props:{testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const w={component:e,args:{children:"Hi!"},argTypes:{onPress:{action:"onPress"}}},t={};var n,a,s;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(s=(a=t.parameters)==null?void 0:a.docs)==null?void 0:s.source}}};const H=["Default"];export{t as Default,H as __namedExportsOrder,w as default}; diff --git a/assets/FollowButton.stories-DJzG8euk.js b/assets/FollowButton.stories-DJzG8euk.js deleted file mode 100644 index b49feaa8..00000000 --- a/assets/FollowButton.stories-DJzG8euk.js +++ /dev/null @@ -1,5 +0,0 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{r as t}from"./index-mfbfsM12.js";import{B as n}from"./Button-jNQoxaXU.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./config-BZnShabN.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./Icon-BD3fFj_K.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";const l=({followed:o,onPress:e,...u})=>{const v=t.useCallback(()=>e(!1),[e]),m=t.useCallback(()=>e(!0),[e]);return o?r.jsx(n,{iconName:"check-mark",label:"Volgend",onPress:m,variant:"primary",...u}):r.jsx(n,{iconName:"enlarge",label:"Volgen",onPress:v,variant:"secondary",...u})};try{l.displayName="FollowButton",l.__docgenInfo={description:"",displayName:"FollowButton",props:{followed:{defaultValue:null,description:"",name:"followed",required:!0,type:{name:"boolean"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"(followed: boolean) => void"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},iconName:{defaultValue:null,description:"",name:"iconName",required:!1,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}}}}}catch{}const J={component:l,argTypes:{onPress:{action:"onPress"}}},a={args:{followed:!1}};var i,s,c;a.parameters={...a.parameters,docs:{...(i=a.parameters)==null?void 0:i.docs,source:{originalSource:`{ - args: { - followed: false - } -}`,...(c=(s=a.parameters)==null?void 0:s.docs)==null?void 0:c.source}}};const Q=["Default"];export{a as Default,Q as __namedExportsOrder,J as default}; diff --git a/assets/FollowButton.stories-Yic_ExT0.js b/assets/FollowButton.stories-Yic_ExT0.js new file mode 100644 index 00000000..6b37b7f3 --- /dev/null +++ b/assets/FollowButton.stories-Yic_ExT0.js @@ -0,0 +1,5 @@ +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{r as t}from"./index-mfbfsM12.js";import{B as n}from"./Button-DKrj2h9O.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./config-BZnShabN.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./Icon-DzTBkJ4u.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";const l=({followed:o,onPress:e,...u})=>{const v=t.useCallback(()=>e(!1),[e]),m=t.useCallback(()=>e(!0),[e]);return o?r.jsx(n,{iconName:"check-mark",label:"Volgend",onPress:m,variant:"primary",...u}):r.jsx(n,{iconName:"enlarge",label:"Volgen",onPress:v,variant:"secondary",...u})};try{l.displayName="FollowButton",l.__docgenInfo={description:"",displayName:"FollowButton",props:{followed:{defaultValue:null,description:"",name:"followed",required:!0,type:{name:"boolean"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"(followed: boolean) => void"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},iconName:{defaultValue:null,description:"",name:"iconName",required:!1,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}}}}}catch{}const J={component:l,argTypes:{onPress:{action:"onPress"}}},a={args:{followed:!1}};var i,s,c;a.parameters={...a.parameters,docs:{...(i=a.parameters)==null?void 0:i.docs,source:{originalSource:`{ + args: { + followed: false + } +}`,...(c=(s=a.parameters)==null?void 0:s.docs)==null?void 0:c.source}}};const Q=["Default"];export{a as Default,Q as __namedExportsOrder,J as default}; diff --git a/assets/HtmlContent-BXBHRQsV.js b/assets/HtmlContent-CKWrIzWU.js similarity index 99% rename from assets/HtmlContent-BXBHRQsV.js rename to assets/HtmlContent-CKWrIzWU.js index 3e7c7d69..27fa0a3d 100644 --- a/assets/HtmlContent-BXBHRQsV.js +++ b/assets/HtmlContent-CKWrIzWU.js @@ -1,4 +1,4 @@ -import{j as Qe}from"./jsx-runtime-Bxcv0yjW.js";import{r as L,R as Sr}from"./index-mfbfsM12.js";import{c as I,a as st,g as ip}from"./_commonjsHelpers-BosuxZz1.js";import{r as ie,d as sp,b as cp,I as up}from"./useOpenUrl-BebUyU0w.js";import{p as Go}from"./index-Dk74W0Oi.js";import{s as rl}from"./index-kbHxBZ_W.js";import{V as Mi}from"./index-BP1Ij_Cs.js";import{T as lp}from"./index-CAyeAlm6.js";import{C as dp}from"./Column-CFK5NdwL.js";import{R as fp}from"./Row-D-wvv0CV.js";import{L as pp}from"./ListItemMarker-RMfNa45x.js";import{u as hp}from"./useIsScreenReaderEnabled-A65pchNu.js";import{u as gp}from"./useDeviceContext-Cm8FgCCV.js";import{u as Na}from"./useThemable-ua4U8LzO.js";import{P as mp}from"./index-DSI0shHu.js";var Oa=40,La=41,oo=39,Aa=34,qa=92,cr=47,Da=44,Ia=58,ao=42,vp=117,yp=85,_p=43,bp=/^[a-f0-9?-]+$/i,Sp=function(e){for(var t=[],r=e,n,o,i,a,c,l,d,p,v=0,h=r.charCodeAt(v),N=r.length,T=[{nodes:t}],M=0,E,D="",H="",k="";v=48&&l<=57)return!0;var d=a.charCodeAt(2);return l===r&&d>=48&&d<=57}return c===r?(l=a.charCodeAt(1),l>=48&&l<=57):c>=48&&c<=57}return ka=function(a){var c=0,l=a.length,d,p,v;if(l===0||!i(a))return!1;for(d=a.charCodeAt(c),(d===t||d===e)&&c++;c57));)c+=1;if(d=a.charCodeAt(c),p=a.charCodeAt(c+1),d===r&&p>=48&&p<=57)for(c+=2;c57));)c+=1;if(d=a.charCodeAt(c),p=a.charCodeAt(c+1),v=a.charCodeAt(c+2),(d===n||d===o)&&(p>=48&&p<=57||(p===t||p===e)&&v>=48&&v<=57))for(c+=p===t||p===e?3:2;c57));)c+=1;return{number:a.slice(0,c),unit:a.slice(c)}},ka}var Cp=Sp,ol=wp,al=Pp;function Pt(e){return this instanceof Pt?(this.nodes=Cp(e),this):new Pt(e)}Pt.prototype.toString=function(){return Array.isArray(this.nodes)?al(this.nodes):""};Pt.prototype.walk=function(e,t){return ol(this.nodes,e,t),this};Pt.unit=xp();Pt.walk=ol;Pt.stringify=al;var $p=Pt,il={},Ei={},Qo={},Sn={};Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;let sl;sl=null;var Tp=sl;Sn.default=Tp;Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var fc=Ep(L);Mp(Sn);function Mp(e){return e&&e.__esModule?e:{default:e}}function cl(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(cl=function(n){return n?r:t})(e)}function Ep(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=cl(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const Rp=function(t){return fc.default.createElement(fc.Fragment,null,t.children)};var Np=Rp;Qo.default=Np;var Ie={},Ri={},Xo={},Yo={},Op={},Rr={},ke={};Object.defineProperty(ke,"__esModule",{value:!0});ke.default=ke.HTMLContentModel=void 0;let Oo;ke.HTMLContentModel=Oo;(function(e){e.block="block",e.textual="textual",e.mixed="mixed",e.none="none"})(Oo||(ke.HTMLContentModel=Oo={}));var Lp=Oo;ke.default=Lp;Object.defineProperty(Rr,"__esModule",{value:!0});Rr.default=void 0;var qt=Ap(ke);function Ap(e){return e&&e.__esModule?e:{default:e}}function nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const qp=["textual","edits","anchor"],Dp=["tabular","grouping","sectioning"];class fn{constructor({tagName:t,contentModel:r,isOpaque:n,mixedUAStyles:o,isVoid:i,getUADerivedStyleFromAttributes:a,getMixedUAStyles:c,setMarkersForTNode:l,getReactNativeProps:d,reactNativeProps:p}){nt(this,"tagName",void 0),nt(this,"contentModel",void 0),nt(this,"isOpaque",void 0),nt(this,"isVoid",void 0),nt(this,"mixedUAStyles",void 0),nt(this,"reactNativeProps",void 0),nt(this,"getUADerivedStyleFromAttributes",void 0),nt(this,"getMixedUAStyles",void 0),nt(this,"getReactNativeProps",void 0),nt(this,"setMarkersForTNode",void 0),this.tagName=t,this.contentModel=r,this.isOpaque=n||!1,this.isVoid=i,this.mixedUAStyles=o,this.getUADerivedStyleFromAttributes=a,this.getMixedUAStyles=c,this.setMarkersForTNode=l,this.getReactNativeProps=d,this.reactNativeProps=p}static fromCustomModel(t){const{contentModel:r,tagName:n,isOpaque:o=!1,isVoid:i=!1,...a}=t;return new fn({tagName:n,contentModel:r,isOpaque:o,isVoid:i,...a})}static fromNativeModel(t){const{category:r,isOpaque:n,isVoid:o=!1,...i}=t,a=qp.indexOf(r)!==-1,c=a||Dp.indexOf(r)!==-1,l=r==="anchor"||r==="edits"?qt.default.mixed:a?qt.default.textual:c?qt.default.block:qt.default.none;return new fn({isVoid:o,contentModel:l,isOpaque:n??r==="embedded",...i})}isTranslatableBlock(){return this.contentModel===qt.default.block}isTranslatableTextual(){return this.contentModel===qt.default.textual||this.contentModel===qt.default.mixed}extend(t){const r=typeof t=="function"?t(this):t;return new fn({...this,...r})}}Rr.default=fn;var Nr={},Ye={},Xt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(n){n.Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype"})(t=e.ElementType||(e.ElementType={}));function r(n){return n.type===t.Tag||n.type===t.Script||n.type===t.Style}e.isTag=r,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})(Xt);var Q={},Yt=I&&I.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),pn=I&&I.__assign||function(){return pn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),t}(Ni);Q.NodeWithChildren=Jo;var fl=function(e){Yt(t,e);function t(r){return e.call(this,de.ElementType.Root,r)||this}return t}(Jo);Q.Document=fl;var pl=function(e){Yt(t,e);function t(r,n,o,i){o===void 0&&(o=[]),i===void 0&&(i=r==="script"?de.ElementType.Script:r==="style"?de.ElementType.Style:de.ElementType.Tag);var a=e.call(this,i,o)||this;return a.name=r,a.attribs=n,a}return Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(n){var o,i;return{name:n,value:r.attribs[n],namespace:(o=r["x-attribsNamespace"])===null||o===void 0?void 0:o[n],prefix:(i=r["x-attribsPrefix"])===null||i===void 0?void 0:i[n]}})},enumerable:!1,configurable:!0}),t}(Jo);Q.Element=pl;function hl(e){return(0,de.isTag)(e)}Q.isTag=hl;function gl(e){return e.type===de.ElementType.CDATA}Q.isCDATA=gl;function ml(e){return e.type===de.ElementType.Text}Q.isText=ml;function vl(e){return e.type===de.ElementType.Comment}Q.isComment=vl;function yl(e){return e.type===de.ElementType.Directive}Q.isDirective=yl;function _l(e){return e.type===de.ElementType.Root}Q.isDocument=_l;function kp(e){return Object.prototype.hasOwnProperty.call(e,"children")}Q.hasChildren=kp;function Oi(e,t){t===void 0&&(t=!1);var r;if(ml(e))r=new ul(e.data);else if(vl(e))r=new ll(e.data);else if(hl(e)){var n=t?Fa(e.children):[],o=new pl(e.name,pn({},e.attribs),n);n.forEach(function(l){return l.parent=o}),e.namespace!=null&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=pn({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=pn({},e["x-attribsPrefix"])),r=o}else if(gl(e)){var n=t?Fa(e.children):[],i=new Jo(de.ElementType.CDATA,n);n.forEach(function(d){return d.parent=i}),r=i}else if(_l(e)){var n=t?Fa(e.children):[],a=new fl(n);n.forEach(function(d){return d.parent=a}),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),r=a}else if(yl(e)){var c=new dl(e.name,e.data);e["x-name"]!=null&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}else throw new Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}Q.cloneNode=Oi;function Fa(e){for(var t=e.map(function(n){return Oi(n,!0)}),r=1;r":null}},k=function(g){return function(S){return S.type===g?S.value:null}},F=function(g,S){return S===void 0&&(S=String),function($){if($.type!=="word")return null;var O=$.value.match(g);if(O===null)return null;var W=S(O[1]);return W}},z=H(function(V){return V.type==="space"}),Y=H(function(V){return V.type==="div"&&V.value==="/"}),oe=H(function(V){return V.type==="div"&&V.value===","}),ee=k("word"),_e=F(p),be=F(v),re=F(N,Number),te=F(T,Number),s=F(M),u=F(E,function(V){return V.toLowerCase()}),f=F(D),m=F(h),_=a,w=d,P=F(/^(none|underline|line-through)$/i),x=function(g){var S=g.expect(re);return g.hasTokens()&&(g.expect(Y),S/=g.expect(re)),{aspectRatio:S}},C=F(/^(solid|dashed|dotted)$/),U=1,R="black",X="solid",G=function(g){var S,$,O;if(g.matches(_e))return g.expectEmpty(),{borderWidth:0,borderColor:"black",borderStyle:"solid"};for(var W=0;W<3&&g.hasTokens();)W!==0&&g.expect(z),S===void 0&&g.matches(te,s)?S=g.lastValue:$===void 0&&g.matches(w)?$=g.lastValue:O===void 0&&g.matches(C)?O=g.lastValue:g.throw(),W+=1;return g.expectEmpty(),S===void 0&&(S=U),$===void 0&&($=R),O===void 0&&(O=X),{borderWidth:S,borderColor:$,borderStyle:O}},j=function(g){var S=g.types,$=S===void 0?[te,s,f]:S,O=g.directions,W=O===void 0?["Top","Right","Bottom","Left"]:O,Z=g.prefix,Ee=Z===void 0?"":Z,_t=g.suffix,Ea=_t===void 0?"":_t;return function(rt){var sr,At=[];for(At.push(rt.expect.apply(rt,$));At.length<4&&rt.hasTokens();)rt.expect(z),At.push(rt.expect.apply(rt,$));rt.expectEmpty();var Ra=At[0],ic=At[1],sc=ic===void 0?Ra:ic,cc=At[2],np=cc===void 0?Ra:cc,uc=At[3],op=uc===void 0?sc:uc,no=function(ap){return""+Ee+W[ap]+Ea};return sr={},sr[no(0)]=Ra,sr[no(1)]=sc,sr[no(2)]=np,sr[no(3)]=op,sr}},ue=function(g){var S=g.expect(te),$=g.matches(z)?g.expect(te):S;return g.expectEmpty(),{width:S,height:$}},se=function(g){var S,$,O,W;if(g.matches(_e))return g.expectEmpty(),{offset:{width:0,height:0},radius:0,color:"black"};for(var Z=!1;g.hasTokens();)Z&&g.expect(z),S===void 0&&g.matches(te,s)?(S=g.lastValue,g.expect(z),$=g.expect(te,s),g.saveRewindPoint(),g.matches(z)&&g.matches(te,s)?O=g.lastValue:g.rewind()):W===void 0&&g.matches(w)?W=g.lastValue:g.throw(),Z=!0;return S===void 0&&g.throw(),{offset:{width:S,height:$},radius:O!==void 0?O:0,color:W!==void 0?W:"black"}},ce=function(g){var S=se(g),$=S.offset,O=S.radius,W=S.color;return{shadowOffset:$,shadowRadius:O,shadowColor:W,shadowOpacity:1}},He=1,ge=1,Me=0,Le=function(g){var S,$,O;if(g.matches(_e))return g.expectEmpty(),{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(g.saveRewindPoint(),g.matches(be)&&!g.hasTokens())return{flexGrow:1,flexShrink:1,flexBasis:"auto"};g.rewind();for(var W=0;W<2&&g.hasTokens();)W!==0&&g.expect(z),S===void 0&&g.matches(re)?(S=g.lastValue,g.saveRewindPoint(),g.matches(z)&&g.matches(re)?$=g.lastValue:g.rewind()):O===void 0&&g.matches(te,s,f)?O=g.lastValue:O===void 0&&g.matches(be)?O="auto":g.throw(),W+=1;return g.expectEmpty(),S===void 0&&(S=He),$===void 0&&($=ge),O===void 0&&(O=Me),{flexGrow:S,flexShrink:$,flexBasis:O}},tt=F(/(nowrap|wrap|wrap-reverse)/),dt=F(/(row|row-reverse|column|column-reverse)/),Yr="nowrap",h9="row",g9=function(g){for(var S,$,O=0;O<2&&g.hasTokens();)O!==0&&g.expect(z),S===void 0&&g.matches(tt)?S=g.lastValue:$===void 0&&g.matches(dt)?$=g.lastValue:g.throw(),O+=1;return g.expectEmpty(),S===void 0&&(S=Yr),$===void 0&&($=h9),{flexWrap:S,flexDirection:$}},ec=function(g){var S;if(g.matches(_))S=g.lastValue;else for(S=g.expect(m);g.hasTokens();){g.expect(z);var $=g.expect(m);S+=" "+$}return g.expectEmpty(),{fontFamily:S}},m9=F(/^(normal)$/),v9=F(/^(italic)$/),y9=F(/^([1-9]00|bold)$/),_9=F(/^(small-caps)$/),b9="normal",S9="normal",w9=[],P9=function(g){for(var S,$,O,W,Z=0;Z<3&&g.hasTokens();){if(!g.matches(m9))if(S===void 0&&g.matches(v9))S=g.lastValue;else if($===void 0&&g.matches(y9))$=g.lastValue;else if(O===void 0&&g.matches(_9))O=[g.lastValue];else break;g.expect(z),Z+=1}var Ee=g.expect(te,s);g.matches(Y)&&(W=g.expect(te,s)),g.expect(z);var _t=ec(g),Ea=_t.fontFamily;S===void 0&&(S=b9),$===void 0&&($=S9),O===void 0&&(O=w9);var rt={fontStyle:S,fontWeight:$,fontVariant:O,fontSize:Ee,fontFamily:Ea};return W!==void 0&&(rt.lineHeight=W),rt},x9=function(g){for(var S=[g.expect(m)];g.hasTokens();)g.expect(z),S.push(g.expect(m));return{fontVariant:S}},C9=F(/(flex-(?:start|end)|center|stretch|space-(?:between|around))/),$9=F(/(flex-(?:start|end)|center|space-(?:between|around|evenly))/),T9=function(g){var S=g.expect(C9),$;return g.hasTokens()?(g.expect(z),$=g.expect($9)):$="stretch",g.expectEmpty(),{alignContent:S,justifyContent:$}},M9=F(/^(solid|double|dotted|dashed)$/),E9="none",R9="solid",N9="black",O9=function(g){for(var S,$,O,W=!1;g.hasTokens();){if(W&&g.expect(z),S===void 0&&g.matches(P)){var Z=[g.lastValue.toLowerCase()];g.saveRewindPoint(),Z[0]!=="none"&&g.matches(z)&&g.matches(P)?(Z.push(g.lastValue.toLowerCase()),Z.sort().reverse()):g.rewind(),S=Z.join(" ")}else $===void 0&&g.matches(M9)?$=g.lastValue:O===void 0&&g.matches(w)?O=g.lastValue:g.throw();W=!0}return{textDecorationLine:S!==void 0?S:E9,textDecorationColor:O!==void 0?O:N9,textDecorationStyle:$!==void 0?$:R9}},L9=function(g){for(var S=[],$=!1;g.hasTokens();)$&&g.expect(z),S.push(g.expect(P).toLowerCase()),$=!0;return S.sort().reverse(),{textDecorationLine:S.join(" ")}},A9=function(g){var S=se(g),$=S.offset,O=S.radius,W=S.color;return{textShadowOffset:$,textShadowRadius:O,textShadowColor:W}},Ca=function(g){return function(S){var $=S.expect(g);return S.expectEmpty(),$}},$a=Ca(re),tc=Ca(te),ir=Ca(u),Ta=function(g){return function(S,$){return function(O){var W,Z,Ee=O.expect(g),_t;if(O.hasTokens())O.expect(oe),_t=O.expect(g);else if($!==void 0)_t=$;else return Ee;return O.expectEmpty(),[(W={},W[S+"Y"]=_t,W),(Z={},Z[S+"X"]=Ee,Z)]}}},q9=Ta(re),D9=Ta(te),I9=Ta(u),k9={perspective:$a,scale:q9("scale"),scaleX:$a,scaleY:$a,translate:D9("translate",0),translateX:tc,translateY:tc,rotate:ir,rotateX:ir,rotateY:ir,rotateZ:ir,skewX:ir,skewY:ir,skew:I9("skew","0deg")},F9=function(g){for(var S=[],$=!1;g.hasTokens();){$&&g.expect(z);var O=g.expectFunction(),W=O.functionName,Z=k9[W](O);if(!Array.isArray(Z)){var Ee;Z=[(Ee={},Ee[W]=Z,Ee)]}S=Z.concat(S),$=!0}return{transform:S}},V9=function(g){return{backgroundColor:g.expect(w)}},z9=j({types:[w],prefix:"border",suffix:"Color"}),U9=j({directions:["TopLeft","TopRight","BottomRight","BottomLeft"],prefix:"border",suffix:"Radius"}),B9=j({prefix:"border",suffix:"Width"}),W9=j({types:[te,s,f,be],prefix:"margin"}),H9=j({prefix:"padding"}),j9=function(g){return{fontWeight:g.expect(ee)}},G9=function(g){return{shadowOffset:ue(g)}},Q9=function(g){return{textShadowOffset:ue(g)}},rc={aspectRatio:x,background:V9,border:G,borderColor:z9,borderRadius:U9,borderWidth:B9,boxShadow:ce,flex:Le,flexFlow:g9,font:P9,fontFamily:ec,fontVariant:x9,fontWeight:j9,margin:W9,padding:H9,placeContent:T9,shadowOffset:G9,textShadow:A9,textShadowOffset:Q9,textDecoration:O9,textDecorationLine:L9,transform:F9},Ma="SYMBOL_MATCH",X9=function(){function V(S,$){this.index=0,this.nodes=S,this.functionName=$!=null?$.value:null,this.lastValue=null,this.rewindIndex=-1}var g=V.prototype;return g.hasTokens=function(){return this.index<=this.nodes.length-1},g[Ma]=function(){if(!this.hasTokens())return null;for(var S=this.nodes[this.index],$=0;$c[o][i][a])]);return n}static new(){return new Lo}}Pn.CSSProcessedProps=Lo;Object.defineProperty(wn,"__esModule",{value:!0});wn.CSSParseRun=void 0;var W5=Pn;function gc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class H5{constructor(t){gc(this,"validationMap",void 0),gc(this,"processedProps",void 0),this.validationMap=t,this.processedProps=new W5.CSSProcessedProps}exec(){return this.fillProcessedProps(),this.processedProps}}wn.CSSParseRun=H5;var mt={};Object.defineProperty(mt,"__esModule",{value:!0});mt.ShortMergeRequest=void 0;function j5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class G5{constructor(t){j5(this,"properties",void 0),this.properties=t}forEach(t){this.entries().forEach(t)}map(t){return this.entries().map(t)}entries(){return this.properties==null?[]:Object.entries(this.properties)}}mt.ShortMergeRequest=G5;Object.defineProperty(r1,"__esModule",{value:!0});r1.CSSInlineParseRun=void 0;var Q5=qi,X5=wn,Y5=mt;function Z5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class J5 extends X5.CSSParseRun{constructor(t,r){super(r),Z5(this,"rules",void 0),this.rules=this.parseInlineCSS(t),this.normalizeProp=this.normalizeProp.bind(this),this.reduceProps=this.reduceProps.bind(this)}parseInlineCSS(t){return t.split(";").map(r=>r.split(":")).reduce((r,n)=>n.length===2?[...r,[n[0].trim(),n[1].trim()]]:r,[])}normalizeProp(t,r=!1){const n=t[0],o=t[1],i=(0,Q5.getPropertyName)(n);if(!this.validationMap.shouldRegisterInlineProperty(i))return null;const c=this.validationMap.getValidatorForProperty(i).normalizeInlineCSSValue(o);if(c===null){if(r)throw new TypeError;return null}return[i,c]}reduceProps(t,r){if(!r)return t;const[n,o]=r;if(o instanceof Y5.ShortMergeRequest)try{return o.map(i=>this.normalizeProp(i,!0)).reduce(this.reduceProps,t)}catch{return t}return{...t,[n]:o}}fillProcessedProps(){const t=this.rules.map(r=>this.normalizeProp(r)).reduce(this.reduceProps,{});Object.keys(t).forEach(r=>{const n=t[r],o=this.validationMap.getValidatorForProperty(r),i=o.normalizeInlineCSSValue(n);this.processedProps.withProperty(r,i,o)})}}r1.CSSInlineParseRun=J5;var n1={},Cn={};Object.defineProperty(Cn,"__esModule",{value:!0});Cn.lookupRecord=K5;function K5(e,t){return!!e[t]}Object.defineProperty(n1,"__esModule",{value:!0});n1.CSSNativeParseRun=void 0;var eh=wn,mc=Cn,th=mt;function rh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const nh={borderBottomEndRadius:"block",borderBottomStartRadius:"block",borderEndColor:"block",borderEndWidth:"block",borderStartColor:"block",borderStartWidth:"block",borderTopEndRadius:"block",borderTopStartRadius:"block",end:"block",marginEnd:"block",marginStart:"block",paddingEnd:"block",paddingStart:"block",start:"block"},oh={elevation:"block",overflow:"block",overlayColor:"block",resizeMode:"block",rotation:"block",scaleX:"block",scaleY:"block",shadowColor:"block",shadowOffset:"block",shadowOpacity:"block",shadowRadius:"block",testID:"block",tintColor:"block",transformMatrix:"block",translateX:"block",translateY:"block"},ah={includeFontPadding:"text",textAlignVertical:"text",textShadowColor:"text",textShadowOffset:"text",textShadowRadius:"text",writingDirection:"text"},vc={...ah,...oh};class ih extends eh.CSSParseRun{constructor(t,r){super(r),rh(this,"declaration",void 0),this.declaration=t}fillProp(t,r){const n=this.validationMap.getValidatorForProperty(t);if(n){const o=n.normalizeNativeValue(r);o instanceof th.ShortMergeRequest?o.forEach(([i,a])=>{this.fillProp(i,a)}):this.processedProps.withProperty(t,o,n)}else(0,mc.lookupRecord)(vc,t)?this.processedProps.withProperty(t,r,{compatCategory:"native",displayCategory:vc[t],propagationCategory:"retain"}):(0,mc.lookupRecord)(nh,t)?console.warn(`Native style property "${t}" is a directional style property. These are not yet supported.`):console.warn(`Native style property "${t}" is not supported and has been ignored.`)}fillProcessedProps(){const t=this.declaration;for(const r of Object.keys(t))this.fillProp(r,this.declaration[r])}}n1.CSSNativeParseRun=ih;var o1={},Di={},a1={},Ze={},$n={};Object.defineProperty($n,"__esModule",{value:!0});$n.GenericCSSPropertyValidator=void 0;function Dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class sh{constructor({model:t,config:r,propertyName:n},o){Dt(this,"model",void 0),Dt(this,"config",void 0),Dt(this,"compatCategory",void 0),Dt(this,"propagationCategory",void 0),Dt(this,"displayCategory",void 0),Dt(this,"propertyName",void 0),Dt(this,"_isShorthand",void 0),this.model=t,this.config=r,this.compatCategory=t.translatable?"native":"web",this.propagationCategory=t.inheritable?"flow":"retain",this.displayCategory=t.display,this.propertyName=n,this._isShorthand=o}isShorthand(){return this._isShorthand}}$n.GenericCSSPropertyValidator=sh;Object.defineProperty(Ze,"__esModule",{value:!0});Ze.LongCSSPropertyValidator=void 0;var ch=$n;class uh extends ch.GenericCSSPropertyValidator{constructor(t){super(t,!1)}normalizeInlineCSSValue(t){return typeof t!="string"?t:this.normalizeRawInlineCSSValue(t)}normalizeNativeValue(t){return t}}Ze.LongCSSPropertyValidator=uh;var i1={};Object.defineProperty(i1,"__esModule",{value:!0});i1.default=lh;function lh(e){return e.replace(/["']/g,"").trim()}Object.defineProperty(a1,"__esModule",{value:!0});a1.LongFontFamilyPropertyValidator=void 0;var dh=Ze,fh=ph(i1);function ph(e){return e&&e.__esModule?e:{default:e}}const hh=/,\s*/;class gh extends dh.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=t.split(hh);for(const n of r){const o=(0,fh.default)(n),i=o.length&&this.config.isFontSupported(o);if(i)return typeof i=="string"?i:o}return null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}a1.LongFontFamilyPropertyValidator=gh;var s1={};Object.defineProperty(s1,"__esModule",{value:!0});s1.LongFloatNumberCSSPropertyValidator=void 0;var mh=Ze;class vh extends mh.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=Number(t);return Number.isNaN(r)?null:r}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}s1.LongFloatNumberCSSPropertyValidator=vh;var c1={},Tn={},Ar={};Object.defineProperty(Ar,"__esModule",{value:!0});Ar.LongSizeCSSPropertyValidator=void 0;var yh=Ze;class _h extends yh.LongCSSPropertyValidator{computeSize(t,r){switch(r){case"%":return`${t}%`;case"px":return t;case"cm":case"in":case"mm":case"pc":case"pt":return t*this.config.absoluteLengthUnitsMultiplicators[r];case"em":return this.computeEmSize(t);case"ex":return this.computeEmSize(t*.63);case"rem":return this.config.rootFontSize*t}return null}computeEmSize(t){return this.config.rootFontSize*t}splitValueAndUnit(t){const r=/^(\d*\.?\d*)\s*(cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%)$/g.exec(t);return r===null?null:[Number(r[1]),r[2]]}normalizeRawInlineCSSValue(t){if(t==="0")return 0;if(t==="auto")return t;const r=this.splitValueAndUnit(t);return r?this.computeSize(r[0],r[1]):null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}Ar.LongSizeCSSPropertyValidator=_h;Object.defineProperty(Tn,"__esModule",{value:!0});Tn.LongNonPercentSizeCSSPropertyValidator=void 0;var bh=Ar;class Sh extends bh.LongSizeCSSPropertyValidator{computeSize(t,r){return r==="%"?null:super.computeSize(t,r)}}Tn.LongNonPercentSizeCSSPropertyValidator=Sh;Object.defineProperty(c1,"__esModule",{value:!0});c1.LongBorderWidthCSSPropertyValidator=void 0;var wh=Cn,Ph=Tn;class xh extends Ph.LongNonPercentSizeCSSPropertyValidator{normalizeRawInlineCSSValue(t){return(0,wh.lookupRecord)(this.config.absoluteBorderWidthsPixelMap,t)?this.config.absoluteBorderWidthsPixelMap[t]:super.normalizeRawInlineCSSValue(t)}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}c1.LongBorderWidthCSSPropertyValidator=xh;var u1={};Object.defineProperty(u1,"__esModule",{value:!0});u1.LongFontSizeCSSValidator=void 0;var yc=Cn,Ch=Ar;class $h extends Ch.LongSizeCSSPropertyValidator{computeSize(t,r){return r==="%"?this.computeEmSize(t/100):super.computeSize(t,r)}normalizeRawInlineCSSValue(t){return(0,yc.lookupRecord)(this.config.absoluteFontSizesPixelMap,t)?this.config.absoluteFontSizesPixelMap[t]:(0,yc.lookupRecord)(this.config.relativeFontSizesCoefficientMap,t)?this.computeEmSize(this.config.relativeFontSizesCoefficientMap[t]):super.normalizeRawInlineCSSValue(t)}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}u1.LongFontSizeCSSValidator=$h;var l1={};Object.defineProperty(l1,"__esModule",{value:!0});l1.LongAspectRatioPropertyValidator=void 0;var Th=Ze;const Mh=/^(\d+)\/(\d+)$/;class Eh extends Th.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=Mh.exec(t);if(r){const o=Number(r[1])/Number(r[2]);return Number.isFinite(o)?o:null}const n=Number(t);return Number.isNaN(n)?null:n}normalizeNativeValue(t){return typeof t!="string"?t:this.normalizeRawInlineCSSValue(t)}}l1.LongAspectRatioPropertyValidator=Eh;var d1={};Object.defineProperty(d1,"__esModule",{value:!0});d1.LongEnumerationListCSSPropertyValidator=void 0;var Rh=Ze;function Nh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Oh=/\s+/;class Lh extends Rh.LongCSSPropertyValidator{constructor(t,r){super(t),Nh(this,"allowedList",void 0),this.allowedList=r}normalizeRawInlineCSSValue(t){const r=t.split(Oh),n=[];for(const o of r)this.allowedList.indexOf(o)!==-1&&n.push(o);return n.length>0?n:null}}d1.LongEnumerationListCSSPropertyValidator=Lh;var f1={},Mn={};Object.defineProperty(Mn,"__esModule",{value:!0});Mn.LongEnumerationCSSPropertyValidator=void 0;var Ah=Ze;function qh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Dh extends Ah.LongCSSPropertyValidator{constructor(t,r){super(t),qh(this,"allowedList",void 0),this.allowedList=r}normalizeRawInlineCSSValue(t){return this.allowedList.indexOf(t)!==-1?t:null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}Mn.LongEnumerationCSSPropertyValidator=Dh;Object.defineProperty(f1,"__esModule",{value:!0});f1.LongBorderStyleCSSPropertyValidator=void 0;var Ih=Mn;const kh=/\s+/;class Fh extends Ih.LongEnumerationCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=this.pickFirst(t);return r?super.normalizeRawInlineCSSValue(r):null}normalizeNativeValue(t){return this.pickFirst(t)}pickFirst(t){return t.split(kh)[0]||null}}f1.LongBorderStyleCSSPropertyValidator=Fh;var p1={},En={};Object.defineProperty(En,"__esModule",{value:!0});En.LongForgivingCSSPropertyValidator=void 0;var Vh=Ze;class zh extends Vh.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){return t}}En.LongForgivingCSSPropertyValidator=zh;Object.defineProperty(p1,"__esModule",{value:!0});p1.LongColorCSSPropertyValidator=void 0;var Uh=En;const Bh=/^(rgb|rgba|hsl|hsla)\([\d,%. ]+\)|[#]?\w+$/;class Wh extends Uh.LongForgivingCSSPropertyValidator{normalizeRawInlineCSSValue(t){return t.match(Bh)?t:null}}p1.LongColorCSSPropertyValidator=Wh;var h1={},Rn={},Jt={};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.ShortCSSPropertyValidator=void 0;var Hh=$n;class jh extends Hh.GenericCSSPropertyValidator{constructor(t){super(t,!0)}}Jt.ShortCSSPropertyValidator=jh;var Nn={};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=Qh;var Gh=qi;function Qh(e,t){try{return(0,Gh.getStylesForProperty)(e,t)}catch{}return null}Object.defineProperty(Rn,"__esModule",{value:!0});Rn.ShortCSSToReactNativeValidator=void 0;var Xh=Jt,Yh=Jh(Nn),Zh=mt;function Jh(e){return e&&e.__esModule?e:{default:e}}class Kh extends Xh.ShortCSSPropertyValidator{normalizeInlineCSSValue(t){return new Zh.ShortMergeRequest((0,Yh.default)(this.propertyName,t))}normalizeNativeValue(){return null}}Rn.ShortCSSToReactNativeValidator=Kh;Object.defineProperty(h1,"__esModule",{value:!0});h1.ShortFontCSSValidator=void 0;var e6=Rn,t6=r6(i1);function r6(e){return e&&e.__esModule?e:{default:e}}const n6=/\s+/;class o6 extends e6.ShortCSSToReactNativeValidator{normalizeInlineCSSValue(t){const r=t.split(",");let n=null;if(r.length===1)return super.normalizeInlineCSSValue(r[0]);const o=r.splice(0,1)[0];for(const i of r){const a=(0,t6.default)(i),c=this.config.isFontSupported(a);if(c){n=typeof c=="string"?c:a;break}}return super.normalizeInlineCSSValue(o.split(n6).slice(0,-1).join(" ")+" "+(n||"system"))}}h1.ShortFontCSSValidator=o6;var g1={};Object.defineProperty(g1,"__esModule",{value:!0});g1.ShortFlexCSSPropertyValidator=void 0;var a6=mt,i6=c6(Nn),s6=Jt;function c6(e){return e&&e.__esModule?e:{default:e}}class u6 extends s6.ShortCSSPropertyValidator{constructor(t){super({...t,propertyName:"flex"})}normalizeInlineCSSValue(t){return new a6.ShortMergeRequest((0,i6.default)(this.propertyName,t))}normalizeNativeValue(t){return t}}g1.ShortFlexCSSPropertyValidator=u6;var m1={};Object.defineProperty(m1,"__esModule",{value:!0});m1.LongCSSToReactNativeValidator=void 0;var l6=Ze,d6=f6(Nn);function f6(e){return e&&e.__esModule?e:{default:e}}class p6 extends l6.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=(0,d6.default)(this.propertyName,t);return r?r[this.propertyName]:null}}m1.LongCSSToReactNativeValidator=p6;var v1={};Object.defineProperty(v1,"__esModule",{value:!0});v1.ShortCardinalCSSpropertyValidator=void 0;var Zr=mt,h6=Jt;function g6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m6=/\s+/;class v6 extends h6.ShortCSSPropertyValidator{constructor(t,r){super(t),g6(this,"directions",void 0),this.directions=r}normalizeInlineCSSValue(t){if(typeof t=="number")return new Zr.ShortMergeRequest({[this.directions.top]:t,[this.directions.right]:t,[this.directions.bottom]:t,[this.directions.left]:t});const r=t.split(m6);return r.length===4?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[1],[this.directions.bottom]:r[2],[this.directions.left]:r[3]}):r.length===3?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[1],[this.directions.bottom]:r[2],[this.directions.left]:r[1]}):r.length===2?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[1],[this.directions.bottom]:r[0],[this.directions.left]:r[1]}):r.length===1?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[0],[this.directions.bottom]:r[0],[this.directions.left]:r[0]}):null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}v1.ShortCardinalCSSpropertyValidator=v6;var y1={};Object.defineProperty(y1,"__esModule",{value:!0});y1.ShortDualNativepropertyValidator=void 0;var y6=mt,_6=Jt;function b6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class S6 extends _6.ShortCSSPropertyValidator{constructor(t,r){super(t),b6(this,"directions",void 0),this.directions=r}normalizeInlineCSSValue(){return null}normalizeNativeValue(t){return new y6.ShortMergeRequest({[this.directions[0]]:t,[this.directions[1]]:t})}}y1.ShortDualNativepropertyValidator=S6;Object.defineProperty(Di,"__esModule",{value:!0});Di.default=A6;var w6=a1,io=s1,so=c1,P6=u1,fe=Ar,x6=l1,C6=d1,$6=f1,he=Mn,It=p1,T6=h1,co=Rn,M6=g1,E6=m1,Jr=v1,uo=y1,R6=En,Kr=Tn;const N6={inheritable:!0,native:!0,translatable:!0,display:"block"},q={inheritable:!1,native:!0,translatable:!0,display:"block"},O6={inheritable:!1,native:!0,translatable:!1,display:"block"},je={inheritable:!0,native:!0,translatable:!0,display:"text"},lo={inheritable:!1,native:!0,translatable:!0,display:"text"},Va={inheritable:!0,native:!1,translatable:!1,display:"text"},L6={inheritable:!1,native:!1,translatable:!1,display:"block"};function A6(e){return{background:new co.ShortCSSToReactNativeValidator({config:e,model:q,propertyName:"background"}),border:new co.ShortCSSToReactNativeValidator({config:e,model:q,propertyName:"border"}),borderRadius:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"borderRadius"},{top:"borderTopLeftRadius",right:"borderTopRightRadius",bottom:"borderBottomRightRadius",left:"borderBottomLeftRadius"}),borderColor:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"borderColor"},{top:"borderTopColor",right:"borderRightColor",bottom:"borderBottomColor",left:"borderLeftColor"}),borderStyle:new $6.LongBorderStyleCSSPropertyValidator({config:e,model:q,propertyName:"borderStyle"},["solid","dotted","dashed"]),borderWidth:new Jr.ShortCardinalCSSpropertyValidator({config:e,propertyName:"borderWidth",model:q},{top:"borderTopWidth",right:"borderRightWidth",bottom:"borderBottomWidth",left:"borderLeftWidth"}),flex:new M6.ShortFlexCSSPropertyValidator({config:e,propertyName:"flex",model:q}),flexFlow:new co.ShortCSSToReactNativeValidator({config:e,model:q,propertyName:"flexFlow"}),font:new T6.ShortFontCSSValidator({config:e,model:je,propertyName:"font"}),margin:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"margin"},{top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"}),objectFit:new he.LongEnumerationCSSPropertyValidator({config:e,model:L6,propertyName:"objectFit"},["fill","contain","cover","none","scale-down"]),padding:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"padding"},{top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"}),marginHorizontal:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"marginHorizontal"},["marginLeft","marginRight"]),marginVertical:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"marginVertical"},["marginTop","marginBottom"]),paddingHorizontal:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"paddingHorizontal"},["paddingLeft","paddingRight"]),paddingVertical:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"paddingVertical"},["paddingTop","paddingBottom"]),textDecoration:new co.ShortCSSToReactNativeValidator({config:e,model:lo,propertyName:"textDecoration"}),textDecorationColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"textDecorationColor",model:lo}),textDecorationLine:new he.LongEnumerationCSSPropertyValidator({config:e,model:lo,propertyName:"textDecorationLine"},["none","underline","line-through","underline line-through"]),textDecorationStyle:new he.LongEnumerationCSSPropertyValidator({config:e,model:lo,propertyName:"textDecorationStyle"},["solid","double","dotted","dashed"]),color:new It.LongColorCSSPropertyValidator({config:e,propertyName:"color",model:je}),fontFamily:new w6.LongFontFamilyPropertyValidator({config:e,propertyName:"fontFamily",model:je}),fontSize:new P6.LongFontSizeCSSValidator({config:e,propertyName:"fontSize",model:je}),fontStyle:new he.LongEnumerationCSSPropertyValidator({config:e,model:je,propertyName:"fontStyle"},["normal","italic"]),fontVariant:new C6.LongEnumerationListCSSPropertyValidator({config:e,model:je,propertyName:"fontVariant"},["small-caps","oldstyle-nums","lining-nums","tabular-nums","proportional-nums"]),fontWeight:new he.LongEnumerationCSSPropertyValidator({config:e,model:je,propertyName:"fontWeight"},["normal","bold","100","200","300","400","500","600","700","800","900"]),letterSpacing:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"letterSpacing",model:je}),lineHeight:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"lineHeight",model:je}),textAlign:new he.LongEnumerationCSSPropertyValidator({config:e,model:je,propertyName:"textAlign"},["auto","left","right","center","justify"]),textTransform:new he.LongEnumerationCSSPropertyValidator({config:e,model:je,propertyName:"textTransform"},["none","capitalize","uppercase","lowercase"]),whiteSpace:new he.LongEnumerationCSSPropertyValidator({config:e,model:Va,propertyName:"whiteSpace"},["normal","pre"]),listStyleType:new R6.LongForgivingCSSPropertyValidator({config:e,model:Va,propertyName:"listStyleType"}),userSelect:new he.LongEnumerationCSSPropertyValidator({config:e,model:Va,propertyName:"userSelect"},["auto","text","none","contain","all"]),alignContent:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"alignContent"},["flex-start","flex-end","center","stretch","space-between","space-around"]),alignItems:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"alignItems"},["flex-start","flex-end","center","stretch","baseline"]),alignSelf:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"alignSelf"},["auto","flex-start","flex-end","center","stretch","baseline"]),aspectRatio:new x6.LongAspectRatioPropertyValidator({config:e,model:q,propertyName:"aspectRatio"}),bottom:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"bottom",model:q}),display:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"display"},["flex","none"]),flexBasis:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"flexBasis",model:q}),flexDirection:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"flexDirection"},["row","column","row-reverse","column-reverse"]),flexGrow:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"flexGrow",model:q}),flexShrink:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"flexShrink",model:q}),flexWrap:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"flexWrap"},["wrap","nowrap","wrap-reverse"]),justifyContent:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"justifyContent"},["flex-start","flex-end","center","space-between","space-around","space-evenly"]),left:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"left",model:q}),position:new he.LongEnumerationCSSPropertyValidator({config:e,model:O6,propertyName:"position"},["absolute","relative"]),right:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"right",model:q}),top:new fe.LongSizeCSSPropertyValidator({config:e,model:q,propertyName:"top"}),backfaceVisibility:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"backfaceVisibility"},["visible","hidden"]),backgroundColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"backgroundColor",model:q}),borderBottomColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderBottomColor",model:q}),borderBottomLeftRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderBottomLeftRadius",model:q}),borderBottomRightRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderBottomRightRadius",model:q}),borderBottomWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderBottomWidth",model:q}),borderLeftColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderLeftColor",model:q}),borderLeftWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderLeftWidth",model:q}),borderRightColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderRightColor",model:q}),borderRightWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderRightWidth",model:q}),borderTopColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderTopColor",model:q}),borderTopLeftRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderTopLeftRadius",model:q}),borderTopRightRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderTopRightRadius",model:q}),borderTopWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderTopWidth",model:q}),height:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"height",model:q}),marginBottom:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginBottom",model:q}),marginLeft:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginLeft",model:q}),marginRight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginRight",model:q}),marginTop:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginTop",model:q}),maxHeight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"maxHeight",model:q}),maxWidth:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"maxWidth",model:q}),minHeight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"minHeight",model:q}),minWidth:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"minWidth",model:q}),opacity:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"opacity",model:q}),paddingBottom:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingBottom",model:q}),paddingLeft:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingLeft",model:q}),paddingRight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingRight",model:q}),paddingTop:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingTop",model:q}),transform:new E6.LongCSSToReactNativeValidator({config:e,propertyName:"transform",model:q}),width:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"width",model:q}),zIndex:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"zIndex",model:q}),direction:new he.LongEnumerationCSSPropertyValidator({config:e,model:N6,propertyName:"direction"},["auto","ltr","rtl"])}}Object.defineProperty(o1,"__esModule",{value:!0});o1.CSSPropertiesValidationRegistry=void 0;var q6=D6(Di);function D6(e){return e&&e.__esModule?e:{default:e}}function za(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){const t={};return e.forEach(r=>{t[r]=!0}),t}class I6{constructor(t){za(this,"validators",void 0),za(this,"ignoredPropertiesRegistry",void 0),za(this,"allowedPropertiesRegistry",void 0),this.validators=(0,q6.default)(t),this.ignoredPropertiesRegistry=_c(t.inlinePropertiesBlacklist),this.allowedPropertiesRegistry=t.inlinePropertiesWhitelist?_c(t.inlinePropertiesWhitelist):null}isInlinePropertyAllowed(t){return this.allowedPropertiesRegistry?!!this.allowedPropertiesRegistry[t]:!this.ignoredPropertiesRegistry[t]}shouldRegisterInlineProperty(t){return this.isInlinePropertyAllowed(t)&&!!this.validators[t]}getValidatorForProperty(t){return this.validators[t]||null}}o1.CSSPropertiesValidationRegistry=I6;var On={};Object.defineProperty(On,"__esModule",{value:!0});On.defaultCSSProcessorConfig=void 0;const wl=96,Pl=wl*2.54,k6=Pl/10,xl=4/3,F6=12*xl,V6={absoluteLengthUnitsMultiplicators:{cm:Pl,in:wl,mm:k6,pc:F6,pt:xl},absoluteBorderWidthsPixelMap:{medium:2.5,thick:5,thin:1},absoluteFontSizesPixelMap:{medium:14,"xx-small":8.5,"x-small":10,small:12,large:17,"x-large":20,"xx-large":24},relativeFontSizesCoefficientMap:{larger:1.2,smaller:.83},inlinePropertiesBlacklist:[],rootFontSize:16,inlinePropertiesWhitelist:null,isFontSupported(){return!0}};On.defaultCSSProcessorConfig=V6;Object.defineProperty(t1,"__esModule",{value:!0});t1.CSSProcessor=void 0;var z6=r1,U6=n1,B6=o1,W6=On;function H6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class j6{constructor(t){H6(this,"registry",void 0);const r={...W6.defaultCSSProcessorConfig,...t};this.registry=new B6.CSSPropertiesValidationRegistry(r)}compileStyleDeclaration(t){return new U6.CSSNativeParseRun(t,this.registry).exec()}compileInlineCSS(t){return new z6.CSSInlineParseRun(t,this.registry).exec()}}t1.CSSProcessor=j6;var G6={},Q6={},X6={},Y6={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t={CSSProcessor:!0,CSSProcessedProps:!0,mergeProps:!0};Object.defineProperty(e,"CSSProcessor",{enumerable:!0,get:function(){return r.CSSProcessor}}),Object.defineProperty(e,"CSSProcessedProps",{enumerable:!0,get:function(){return n.CSSProcessedProps}}),Object.defineProperty(e,"mergeProps",{enumerable:!0,get:function(){return d.default}}),e.default=void 0;var r=t1,n=Pn,o=G6;Object.keys(o).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===o[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return o[h]}})});var i=On;Object.keys(i).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===i[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return i[h]}})});var a=Q6;Object.keys(a).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===a[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return a[h]}})});var c=X6;Object.keys(c).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===c[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return c[h]}})});var l=Y6;Object.keys(l).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===l[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return l[h]}})});var d=p(xn);function p(h){return h&&h.__esModule?h:{default:h}}var v=r.CSSProcessor;e.default=v})(e1);function Z6(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}var Ii=Z6,J6=Ii;function K6(e){return function t(r){return arguments.length===0||J6(r)?t:e.apply(this,arguments)}}var Kt=K6,e7=Kt,t7=e7(function(t){return t==null}),r7=t7,n7=Kt,o7=n7(function(t){return!t}),a7=o7;function i7(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(r){return t.apply(this,arguments)};case 2:return function(r,n){return t.apply(this,arguments)};case 3:return function(r,n,o){return t.apply(this,arguments)};case 4:return function(r,n,o,i){return t.apply(this,arguments)};case 5:return function(r,n,o,i,a){return t.apply(this,arguments)};case 6:return function(r,n,o,i,a,c){return t.apply(this,arguments)};case 7:return function(r,n,o,i,a,c,l){return t.apply(this,arguments)};case 8:return function(r,n,o,i,a,c,l,d){return t.apply(this,arguments)};case 9:return function(r,n,o,i,a,c,l,d,p){return t.apply(this,arguments)};case 10:return function(r,n,o,i,a,c,l,d,p,v){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var Cl=i7;function s7(e,t){return function(){return t.call(this,e.apply(this,arguments))}}var c7=s7,Ua=Kt,en=Ii;function u7(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return en(r)?t:Ua(function(o){return e(r,o)});default:return en(r)&&en(n)?t:en(r)?Ua(function(o){return e(o,n)}):en(n)?Ua(function(o){return e(r,o)}):e(r,n)}}}var ki=u7,fo=Kt,lr=ki,Se=Ii;function l7(e){return function t(r,n,o){switch(arguments.length){case 0:return t;case 1:return Se(r)?t:lr(function(i,a){return e(r,i,a)});case 2:return Se(r)&&Se(n)?t:Se(r)?lr(function(i,a){return e(i,n,a)}):Se(n)?lr(function(i,a){return e(r,i,a)}):fo(function(i){return e(r,n,i)});default:return Se(r)&&Se(n)&&Se(o)?t:Se(r)&&Se(n)?lr(function(i,a){return e(i,a,o)}):Se(r)&&Se(o)?lr(function(i,a){return e(i,n,a)}):Se(n)&&Se(o)?lr(function(i,a){return e(r,i,a)}):Se(r)?fo(function(i){return e(i,n,o)}):Se(n)?fo(function(i){return e(r,i,o)}):Se(o)?fo(function(i){return e(r,n,i)}):e(r,n,o)}}}var $l=l7,Tl=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function d7(e){return Object.prototype.toString.call(e)==="[object String]"}var Ml=d7,f7=Kt,p7=Tl,h7=Ml,g7=f7(function(t){return p7(t)?!0:!t||typeof t!="object"||h7(t)?!1:t.nodeType===1?!!t.length:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),m7=g7,v7=function(){function e(t){this.f=t}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(t){return t},e.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},e}();function y7(e){return new v7(e)}var _7=y7,b7=Cl,S7=ki,w7=S7(function(t,r){return b7(t.length,function(){return t.apply(r,arguments)})}),P7=w7,x7=m7,C7=_7,$7=P7;function T7(e,t,r){for(var n=0,o=r.length;n({...r,...n}),Object.prototype)}class Vi{constructor(t,r){dr(this,"nativeTextFlow",void 0),dr(this,"nativeBlockFlow",void 0),dr(this,"nativeTextRet",void 0),dr(this,"nativeBlockRet",void 0),dr(this,"webTextFlow",void 0),dr(this,"webBlockRet",void 0),this.nativeTextFlow=po(r==null?void 0:r.nativeTextFlow,t.native.text.flow),this.nativeBlockFlow=po(r==null?void 0:r.nativeBlockFlow,t.native.block.flow),this.webTextFlow=po(r==null?void 0:r.webTextFlow,t.web.text.flow),this.nativeTextRet=po(r==null?void 0:r.nativeTextRet,t.native.text.retain),this.nativeBlockRet=t.native.block.retain,this.webBlockRet=t.web.block.retain}static empty(){return new Vi(new o3.CSSProcessedProps)}}Or.TStyles=Vi;var _1={};Object.defineProperty(_1,"__esModule",{value:!0});_1.default=void 0;const u3={anchor:!1,edits:"none",lang:"en",olNestLevel:-1,ulNestLevel:-1,direction:"ltr",extend(){return Object.create(this)},toString(){let e=`Markers { +import{j as Qe}from"./jsx-runtime-Bxcv0yjW.js";import{r as L,R as Sr}from"./index-mfbfsM12.js";import{c as I,a as st,g as ip}from"./_commonjsHelpers-BosuxZz1.js";import{r as ie,d as sp,b as cp,I as up}from"./useOpenUrl-DkzqnrRX.js";import{p as Go}from"./index-Dk74W0Oi.js";import{s as rl}from"./index-kbHxBZ_W.js";import{V as Mi}from"./index-BP1Ij_Cs.js";import{T as lp}from"./index-CAyeAlm6.js";import{C as dp}from"./Column-CFK5NdwL.js";import{R as fp}from"./Row-D-wvv0CV.js";import{L as pp}from"./ListItemMarker--j-mu3eN.js";import{u as hp}from"./useIsScreenReaderEnabled-A65pchNu.js";import{u as gp}from"./useDeviceContext-Cm8FgCCV.js";import{u as Na}from"./useThemable-ua4U8LzO.js";import{P as mp}from"./index-DSI0shHu.js";var Oa=40,La=41,oo=39,Aa=34,qa=92,cr=47,Da=44,Ia=58,ao=42,vp=117,yp=85,_p=43,bp=/^[a-f0-9?-]+$/i,Sp=function(e){for(var t=[],r=e,n,o,i,a,c,l,d,p,v=0,h=r.charCodeAt(v),N=r.length,T=[{nodes:t}],M=0,E,D="",H="",k="";v=48&&l<=57)return!0;var d=a.charCodeAt(2);return l===r&&d>=48&&d<=57}return c===r?(l=a.charCodeAt(1),l>=48&&l<=57):c>=48&&c<=57}return ka=function(a){var c=0,l=a.length,d,p,v;if(l===0||!i(a))return!1;for(d=a.charCodeAt(c),(d===t||d===e)&&c++;c57));)c+=1;if(d=a.charCodeAt(c),p=a.charCodeAt(c+1),d===r&&p>=48&&p<=57)for(c+=2;c57));)c+=1;if(d=a.charCodeAt(c),p=a.charCodeAt(c+1),v=a.charCodeAt(c+2),(d===n||d===o)&&(p>=48&&p<=57||(p===t||p===e)&&v>=48&&v<=57))for(c+=p===t||p===e?3:2;c57));)c+=1;return{number:a.slice(0,c),unit:a.slice(c)}},ka}var Cp=Sp,ol=wp,al=Pp;function Pt(e){return this instanceof Pt?(this.nodes=Cp(e),this):new Pt(e)}Pt.prototype.toString=function(){return Array.isArray(this.nodes)?al(this.nodes):""};Pt.prototype.walk=function(e,t){return ol(this.nodes,e,t),this};Pt.unit=xp();Pt.walk=ol;Pt.stringify=al;var $p=Pt,il={},Ei={},Qo={},Sn={};Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;let sl;sl=null;var Tp=sl;Sn.default=Tp;Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var fc=Ep(L);Mp(Sn);function Mp(e){return e&&e.__esModule?e:{default:e}}function cl(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(cl=function(n){return n?r:t})(e)}function Ep(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=cl(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}const Rp=function(t){return fc.default.createElement(fc.Fragment,null,t.children)};var Np=Rp;Qo.default=Np;var Ie={},Ri={},Xo={},Yo={},Op={},Rr={},ke={};Object.defineProperty(ke,"__esModule",{value:!0});ke.default=ke.HTMLContentModel=void 0;let Oo;ke.HTMLContentModel=Oo;(function(e){e.block="block",e.textual="textual",e.mixed="mixed",e.none="none"})(Oo||(ke.HTMLContentModel=Oo={}));var Lp=Oo;ke.default=Lp;Object.defineProperty(Rr,"__esModule",{value:!0});Rr.default=void 0;var qt=Ap(ke);function Ap(e){return e&&e.__esModule?e:{default:e}}function nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const qp=["textual","edits","anchor"],Dp=["tabular","grouping","sectioning"];class fn{constructor({tagName:t,contentModel:r,isOpaque:n,mixedUAStyles:o,isVoid:i,getUADerivedStyleFromAttributes:a,getMixedUAStyles:c,setMarkersForTNode:l,getReactNativeProps:d,reactNativeProps:p}){nt(this,"tagName",void 0),nt(this,"contentModel",void 0),nt(this,"isOpaque",void 0),nt(this,"isVoid",void 0),nt(this,"mixedUAStyles",void 0),nt(this,"reactNativeProps",void 0),nt(this,"getUADerivedStyleFromAttributes",void 0),nt(this,"getMixedUAStyles",void 0),nt(this,"getReactNativeProps",void 0),nt(this,"setMarkersForTNode",void 0),this.tagName=t,this.contentModel=r,this.isOpaque=n||!1,this.isVoid=i,this.mixedUAStyles=o,this.getUADerivedStyleFromAttributes=a,this.getMixedUAStyles=c,this.setMarkersForTNode=l,this.getReactNativeProps=d,this.reactNativeProps=p}static fromCustomModel(t){const{contentModel:r,tagName:n,isOpaque:o=!1,isVoid:i=!1,...a}=t;return new fn({tagName:n,contentModel:r,isOpaque:o,isVoid:i,...a})}static fromNativeModel(t){const{category:r,isOpaque:n,isVoid:o=!1,...i}=t,a=qp.indexOf(r)!==-1,c=a||Dp.indexOf(r)!==-1,l=r==="anchor"||r==="edits"?qt.default.mixed:a?qt.default.textual:c?qt.default.block:qt.default.none;return new fn({isVoid:o,contentModel:l,isOpaque:n??r==="embedded",...i})}isTranslatableBlock(){return this.contentModel===qt.default.block}isTranslatableTextual(){return this.contentModel===qt.default.textual||this.contentModel===qt.default.mixed}extend(t){const r=typeof t=="function"?t(this):t;return new fn({...this,...r})}}Rr.default=fn;var Nr={},Ye={},Xt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(n){n.Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype"})(t=e.ElementType||(e.ElementType={}));function r(n){return n.type===t.Tag||n.type===t.Script||n.type===t.Style}e.isTag=r,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})(Xt);var Q={},Yt=I&&I.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),pn=I&&I.__assign||function(){return pn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),t}(Ni);Q.NodeWithChildren=Jo;var fl=function(e){Yt(t,e);function t(r){return e.call(this,de.ElementType.Root,r)||this}return t}(Jo);Q.Document=fl;var pl=function(e){Yt(t,e);function t(r,n,o,i){o===void 0&&(o=[]),i===void 0&&(i=r==="script"?de.ElementType.Script:r==="style"?de.ElementType.Style:de.ElementType.Tag);var a=e.call(this,i,o)||this;return a.name=r,a.attribs=n,a}return Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(n){var o,i;return{name:n,value:r.attribs[n],namespace:(o=r["x-attribsNamespace"])===null||o===void 0?void 0:o[n],prefix:(i=r["x-attribsPrefix"])===null||i===void 0?void 0:i[n]}})},enumerable:!1,configurable:!0}),t}(Jo);Q.Element=pl;function hl(e){return(0,de.isTag)(e)}Q.isTag=hl;function gl(e){return e.type===de.ElementType.CDATA}Q.isCDATA=gl;function ml(e){return e.type===de.ElementType.Text}Q.isText=ml;function vl(e){return e.type===de.ElementType.Comment}Q.isComment=vl;function yl(e){return e.type===de.ElementType.Directive}Q.isDirective=yl;function _l(e){return e.type===de.ElementType.Root}Q.isDocument=_l;function kp(e){return Object.prototype.hasOwnProperty.call(e,"children")}Q.hasChildren=kp;function Oi(e,t){t===void 0&&(t=!1);var r;if(ml(e))r=new ul(e.data);else if(vl(e))r=new ll(e.data);else if(hl(e)){var n=t?Fa(e.children):[],o=new pl(e.name,pn({},e.attribs),n);n.forEach(function(l){return l.parent=o}),e.namespace!=null&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=pn({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=pn({},e["x-attribsPrefix"])),r=o}else if(gl(e)){var n=t?Fa(e.children):[],i=new Jo(de.ElementType.CDATA,n);n.forEach(function(d){return d.parent=i}),r=i}else if(_l(e)){var n=t?Fa(e.children):[],a=new fl(n);n.forEach(function(d){return d.parent=a}),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),r=a}else if(yl(e)){var c=new dl(e.name,e.data);e["x-name"]!=null&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}else throw new Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}Q.cloneNode=Oi;function Fa(e){for(var t=e.map(function(n){return Oi(n,!0)}),r=1;r":null}},k=function(g){return function(S){return S.type===g?S.value:null}},F=function(g,S){return S===void 0&&(S=String),function($){if($.type!=="word")return null;var O=$.value.match(g);if(O===null)return null;var W=S(O[1]);return W}},z=H(function(V){return V.type==="space"}),Y=H(function(V){return V.type==="div"&&V.value==="/"}),oe=H(function(V){return V.type==="div"&&V.value===","}),ee=k("word"),_e=F(p),be=F(v),re=F(N,Number),te=F(T,Number),s=F(M),u=F(E,function(V){return V.toLowerCase()}),f=F(D),m=F(h),_=a,w=d,P=F(/^(none|underline|line-through)$/i),x=function(g){var S=g.expect(re);return g.hasTokens()&&(g.expect(Y),S/=g.expect(re)),{aspectRatio:S}},C=F(/^(solid|dashed|dotted)$/),U=1,R="black",X="solid",G=function(g){var S,$,O;if(g.matches(_e))return g.expectEmpty(),{borderWidth:0,borderColor:"black",borderStyle:"solid"};for(var W=0;W<3&&g.hasTokens();)W!==0&&g.expect(z),S===void 0&&g.matches(te,s)?S=g.lastValue:$===void 0&&g.matches(w)?$=g.lastValue:O===void 0&&g.matches(C)?O=g.lastValue:g.throw(),W+=1;return g.expectEmpty(),S===void 0&&(S=U),$===void 0&&($=R),O===void 0&&(O=X),{borderWidth:S,borderColor:$,borderStyle:O}},j=function(g){var S=g.types,$=S===void 0?[te,s,f]:S,O=g.directions,W=O===void 0?["Top","Right","Bottom","Left"]:O,Z=g.prefix,Ee=Z===void 0?"":Z,_t=g.suffix,Ea=_t===void 0?"":_t;return function(rt){var sr,At=[];for(At.push(rt.expect.apply(rt,$));At.length<4&&rt.hasTokens();)rt.expect(z),At.push(rt.expect.apply(rt,$));rt.expectEmpty();var Ra=At[0],ic=At[1],sc=ic===void 0?Ra:ic,cc=At[2],np=cc===void 0?Ra:cc,uc=At[3],op=uc===void 0?sc:uc,no=function(ap){return""+Ee+W[ap]+Ea};return sr={},sr[no(0)]=Ra,sr[no(1)]=sc,sr[no(2)]=np,sr[no(3)]=op,sr}},ue=function(g){var S=g.expect(te),$=g.matches(z)?g.expect(te):S;return g.expectEmpty(),{width:S,height:$}},se=function(g){var S,$,O,W;if(g.matches(_e))return g.expectEmpty(),{offset:{width:0,height:0},radius:0,color:"black"};for(var Z=!1;g.hasTokens();)Z&&g.expect(z),S===void 0&&g.matches(te,s)?(S=g.lastValue,g.expect(z),$=g.expect(te,s),g.saveRewindPoint(),g.matches(z)&&g.matches(te,s)?O=g.lastValue:g.rewind()):W===void 0&&g.matches(w)?W=g.lastValue:g.throw(),Z=!0;return S===void 0&&g.throw(),{offset:{width:S,height:$},radius:O!==void 0?O:0,color:W!==void 0?W:"black"}},ce=function(g){var S=se(g),$=S.offset,O=S.radius,W=S.color;return{shadowOffset:$,shadowRadius:O,shadowColor:W,shadowOpacity:1}},He=1,ge=1,Me=0,Le=function(g){var S,$,O;if(g.matches(_e))return g.expectEmpty(),{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(g.saveRewindPoint(),g.matches(be)&&!g.hasTokens())return{flexGrow:1,flexShrink:1,flexBasis:"auto"};g.rewind();for(var W=0;W<2&&g.hasTokens();)W!==0&&g.expect(z),S===void 0&&g.matches(re)?(S=g.lastValue,g.saveRewindPoint(),g.matches(z)&&g.matches(re)?$=g.lastValue:g.rewind()):O===void 0&&g.matches(te,s,f)?O=g.lastValue:O===void 0&&g.matches(be)?O="auto":g.throw(),W+=1;return g.expectEmpty(),S===void 0&&(S=He),$===void 0&&($=ge),O===void 0&&(O=Me),{flexGrow:S,flexShrink:$,flexBasis:O}},tt=F(/(nowrap|wrap|wrap-reverse)/),dt=F(/(row|row-reverse|column|column-reverse)/),Yr="nowrap",h9="row",g9=function(g){for(var S,$,O=0;O<2&&g.hasTokens();)O!==0&&g.expect(z),S===void 0&&g.matches(tt)?S=g.lastValue:$===void 0&&g.matches(dt)?$=g.lastValue:g.throw(),O+=1;return g.expectEmpty(),S===void 0&&(S=Yr),$===void 0&&($=h9),{flexWrap:S,flexDirection:$}},ec=function(g){var S;if(g.matches(_))S=g.lastValue;else for(S=g.expect(m);g.hasTokens();){g.expect(z);var $=g.expect(m);S+=" "+$}return g.expectEmpty(),{fontFamily:S}},m9=F(/^(normal)$/),v9=F(/^(italic)$/),y9=F(/^([1-9]00|bold)$/),_9=F(/^(small-caps)$/),b9="normal",S9="normal",w9=[],P9=function(g){for(var S,$,O,W,Z=0;Z<3&&g.hasTokens();){if(!g.matches(m9))if(S===void 0&&g.matches(v9))S=g.lastValue;else if($===void 0&&g.matches(y9))$=g.lastValue;else if(O===void 0&&g.matches(_9))O=[g.lastValue];else break;g.expect(z),Z+=1}var Ee=g.expect(te,s);g.matches(Y)&&(W=g.expect(te,s)),g.expect(z);var _t=ec(g),Ea=_t.fontFamily;S===void 0&&(S=b9),$===void 0&&($=S9),O===void 0&&(O=w9);var rt={fontStyle:S,fontWeight:$,fontVariant:O,fontSize:Ee,fontFamily:Ea};return W!==void 0&&(rt.lineHeight=W),rt},x9=function(g){for(var S=[g.expect(m)];g.hasTokens();)g.expect(z),S.push(g.expect(m));return{fontVariant:S}},C9=F(/(flex-(?:start|end)|center|stretch|space-(?:between|around))/),$9=F(/(flex-(?:start|end)|center|space-(?:between|around|evenly))/),T9=function(g){var S=g.expect(C9),$;return g.hasTokens()?(g.expect(z),$=g.expect($9)):$="stretch",g.expectEmpty(),{alignContent:S,justifyContent:$}},M9=F(/^(solid|double|dotted|dashed)$/),E9="none",R9="solid",N9="black",O9=function(g){for(var S,$,O,W=!1;g.hasTokens();){if(W&&g.expect(z),S===void 0&&g.matches(P)){var Z=[g.lastValue.toLowerCase()];g.saveRewindPoint(),Z[0]!=="none"&&g.matches(z)&&g.matches(P)?(Z.push(g.lastValue.toLowerCase()),Z.sort().reverse()):g.rewind(),S=Z.join(" ")}else $===void 0&&g.matches(M9)?$=g.lastValue:O===void 0&&g.matches(w)?O=g.lastValue:g.throw();W=!0}return{textDecorationLine:S!==void 0?S:E9,textDecorationColor:O!==void 0?O:N9,textDecorationStyle:$!==void 0?$:R9}},L9=function(g){for(var S=[],$=!1;g.hasTokens();)$&&g.expect(z),S.push(g.expect(P).toLowerCase()),$=!0;return S.sort().reverse(),{textDecorationLine:S.join(" ")}},A9=function(g){var S=se(g),$=S.offset,O=S.radius,W=S.color;return{textShadowOffset:$,textShadowRadius:O,textShadowColor:W}},Ca=function(g){return function(S){var $=S.expect(g);return S.expectEmpty(),$}},$a=Ca(re),tc=Ca(te),ir=Ca(u),Ta=function(g){return function(S,$){return function(O){var W,Z,Ee=O.expect(g),_t;if(O.hasTokens())O.expect(oe),_t=O.expect(g);else if($!==void 0)_t=$;else return Ee;return O.expectEmpty(),[(W={},W[S+"Y"]=_t,W),(Z={},Z[S+"X"]=Ee,Z)]}}},q9=Ta(re),D9=Ta(te),I9=Ta(u),k9={perspective:$a,scale:q9("scale"),scaleX:$a,scaleY:$a,translate:D9("translate",0),translateX:tc,translateY:tc,rotate:ir,rotateX:ir,rotateY:ir,rotateZ:ir,skewX:ir,skewY:ir,skew:I9("skew","0deg")},F9=function(g){for(var S=[],$=!1;g.hasTokens();){$&&g.expect(z);var O=g.expectFunction(),W=O.functionName,Z=k9[W](O);if(!Array.isArray(Z)){var Ee;Z=[(Ee={},Ee[W]=Z,Ee)]}S=Z.concat(S),$=!0}return{transform:S}},V9=function(g){return{backgroundColor:g.expect(w)}},z9=j({types:[w],prefix:"border",suffix:"Color"}),U9=j({directions:["TopLeft","TopRight","BottomRight","BottomLeft"],prefix:"border",suffix:"Radius"}),B9=j({prefix:"border",suffix:"Width"}),W9=j({types:[te,s,f,be],prefix:"margin"}),H9=j({prefix:"padding"}),j9=function(g){return{fontWeight:g.expect(ee)}},G9=function(g){return{shadowOffset:ue(g)}},Q9=function(g){return{textShadowOffset:ue(g)}},rc={aspectRatio:x,background:V9,border:G,borderColor:z9,borderRadius:U9,borderWidth:B9,boxShadow:ce,flex:Le,flexFlow:g9,font:P9,fontFamily:ec,fontVariant:x9,fontWeight:j9,margin:W9,padding:H9,placeContent:T9,shadowOffset:G9,textShadow:A9,textShadowOffset:Q9,textDecoration:O9,textDecorationLine:L9,transform:F9},Ma="SYMBOL_MATCH",X9=function(){function V(S,$){this.index=0,this.nodes=S,this.functionName=$!=null?$.value:null,this.lastValue=null,this.rewindIndex=-1}var g=V.prototype;return g.hasTokens=function(){return this.index<=this.nodes.length-1},g[Ma]=function(){if(!this.hasTokens())return null;for(var S=this.nodes[this.index],$=0;$c[o][i][a])]);return n}static new(){return new Lo}}Pn.CSSProcessedProps=Lo;Object.defineProperty(wn,"__esModule",{value:!0});wn.CSSParseRun=void 0;var W5=Pn;function gc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class H5{constructor(t){gc(this,"validationMap",void 0),gc(this,"processedProps",void 0),this.validationMap=t,this.processedProps=new W5.CSSProcessedProps}exec(){return this.fillProcessedProps(),this.processedProps}}wn.CSSParseRun=H5;var mt={};Object.defineProperty(mt,"__esModule",{value:!0});mt.ShortMergeRequest=void 0;function j5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class G5{constructor(t){j5(this,"properties",void 0),this.properties=t}forEach(t){this.entries().forEach(t)}map(t){return this.entries().map(t)}entries(){return this.properties==null?[]:Object.entries(this.properties)}}mt.ShortMergeRequest=G5;Object.defineProperty(r1,"__esModule",{value:!0});r1.CSSInlineParseRun=void 0;var Q5=qi,X5=wn,Y5=mt;function Z5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class J5 extends X5.CSSParseRun{constructor(t,r){super(r),Z5(this,"rules",void 0),this.rules=this.parseInlineCSS(t),this.normalizeProp=this.normalizeProp.bind(this),this.reduceProps=this.reduceProps.bind(this)}parseInlineCSS(t){return t.split(";").map(r=>r.split(":")).reduce((r,n)=>n.length===2?[...r,[n[0].trim(),n[1].trim()]]:r,[])}normalizeProp(t,r=!1){const n=t[0],o=t[1],i=(0,Q5.getPropertyName)(n);if(!this.validationMap.shouldRegisterInlineProperty(i))return null;const c=this.validationMap.getValidatorForProperty(i).normalizeInlineCSSValue(o);if(c===null){if(r)throw new TypeError;return null}return[i,c]}reduceProps(t,r){if(!r)return t;const[n,o]=r;if(o instanceof Y5.ShortMergeRequest)try{return o.map(i=>this.normalizeProp(i,!0)).reduce(this.reduceProps,t)}catch{return t}return{...t,[n]:o}}fillProcessedProps(){const t=this.rules.map(r=>this.normalizeProp(r)).reduce(this.reduceProps,{});Object.keys(t).forEach(r=>{const n=t[r],o=this.validationMap.getValidatorForProperty(r),i=o.normalizeInlineCSSValue(n);this.processedProps.withProperty(r,i,o)})}}r1.CSSInlineParseRun=J5;var n1={},Cn={};Object.defineProperty(Cn,"__esModule",{value:!0});Cn.lookupRecord=K5;function K5(e,t){return!!e[t]}Object.defineProperty(n1,"__esModule",{value:!0});n1.CSSNativeParseRun=void 0;var eh=wn,mc=Cn,th=mt;function rh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const nh={borderBottomEndRadius:"block",borderBottomStartRadius:"block",borderEndColor:"block",borderEndWidth:"block",borderStartColor:"block",borderStartWidth:"block",borderTopEndRadius:"block",borderTopStartRadius:"block",end:"block",marginEnd:"block",marginStart:"block",paddingEnd:"block",paddingStart:"block",start:"block"},oh={elevation:"block",overflow:"block",overlayColor:"block",resizeMode:"block",rotation:"block",scaleX:"block",scaleY:"block",shadowColor:"block",shadowOffset:"block",shadowOpacity:"block",shadowRadius:"block",testID:"block",tintColor:"block",transformMatrix:"block",translateX:"block",translateY:"block"},ah={includeFontPadding:"text",textAlignVertical:"text",textShadowColor:"text",textShadowOffset:"text",textShadowRadius:"text",writingDirection:"text"},vc={...ah,...oh};class ih extends eh.CSSParseRun{constructor(t,r){super(r),rh(this,"declaration",void 0),this.declaration=t}fillProp(t,r){const n=this.validationMap.getValidatorForProperty(t);if(n){const o=n.normalizeNativeValue(r);o instanceof th.ShortMergeRequest?o.forEach(([i,a])=>{this.fillProp(i,a)}):this.processedProps.withProperty(t,o,n)}else(0,mc.lookupRecord)(vc,t)?this.processedProps.withProperty(t,r,{compatCategory:"native",displayCategory:vc[t],propagationCategory:"retain"}):(0,mc.lookupRecord)(nh,t)?console.warn(`Native style property "${t}" is a directional style property. These are not yet supported.`):console.warn(`Native style property "${t}" is not supported and has been ignored.`)}fillProcessedProps(){const t=this.declaration;for(const r of Object.keys(t))this.fillProp(r,this.declaration[r])}}n1.CSSNativeParseRun=ih;var o1={},Di={},a1={},Ze={},$n={};Object.defineProperty($n,"__esModule",{value:!0});$n.GenericCSSPropertyValidator=void 0;function Dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class sh{constructor({model:t,config:r,propertyName:n},o){Dt(this,"model",void 0),Dt(this,"config",void 0),Dt(this,"compatCategory",void 0),Dt(this,"propagationCategory",void 0),Dt(this,"displayCategory",void 0),Dt(this,"propertyName",void 0),Dt(this,"_isShorthand",void 0),this.model=t,this.config=r,this.compatCategory=t.translatable?"native":"web",this.propagationCategory=t.inheritable?"flow":"retain",this.displayCategory=t.display,this.propertyName=n,this._isShorthand=o}isShorthand(){return this._isShorthand}}$n.GenericCSSPropertyValidator=sh;Object.defineProperty(Ze,"__esModule",{value:!0});Ze.LongCSSPropertyValidator=void 0;var ch=$n;class uh extends ch.GenericCSSPropertyValidator{constructor(t){super(t,!1)}normalizeInlineCSSValue(t){return typeof t!="string"?t:this.normalizeRawInlineCSSValue(t)}normalizeNativeValue(t){return t}}Ze.LongCSSPropertyValidator=uh;var i1={};Object.defineProperty(i1,"__esModule",{value:!0});i1.default=lh;function lh(e){return e.replace(/["']/g,"").trim()}Object.defineProperty(a1,"__esModule",{value:!0});a1.LongFontFamilyPropertyValidator=void 0;var dh=Ze,fh=ph(i1);function ph(e){return e&&e.__esModule?e:{default:e}}const hh=/,\s*/;class gh extends dh.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=t.split(hh);for(const n of r){const o=(0,fh.default)(n),i=o.length&&this.config.isFontSupported(o);if(i)return typeof i=="string"?i:o}return null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}a1.LongFontFamilyPropertyValidator=gh;var s1={};Object.defineProperty(s1,"__esModule",{value:!0});s1.LongFloatNumberCSSPropertyValidator=void 0;var mh=Ze;class vh extends mh.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=Number(t);return Number.isNaN(r)?null:r}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}s1.LongFloatNumberCSSPropertyValidator=vh;var c1={},Tn={},Ar={};Object.defineProperty(Ar,"__esModule",{value:!0});Ar.LongSizeCSSPropertyValidator=void 0;var yh=Ze;class _h extends yh.LongCSSPropertyValidator{computeSize(t,r){switch(r){case"%":return`${t}%`;case"px":return t;case"cm":case"in":case"mm":case"pc":case"pt":return t*this.config.absoluteLengthUnitsMultiplicators[r];case"em":return this.computeEmSize(t);case"ex":return this.computeEmSize(t*.63);case"rem":return this.config.rootFontSize*t}return null}computeEmSize(t){return this.config.rootFontSize*t}splitValueAndUnit(t){const r=/^(\d*\.?\d*)\s*(cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%)$/g.exec(t);return r===null?null:[Number(r[1]),r[2]]}normalizeRawInlineCSSValue(t){if(t==="0")return 0;if(t==="auto")return t;const r=this.splitValueAndUnit(t);return r?this.computeSize(r[0],r[1]):null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}Ar.LongSizeCSSPropertyValidator=_h;Object.defineProperty(Tn,"__esModule",{value:!0});Tn.LongNonPercentSizeCSSPropertyValidator=void 0;var bh=Ar;class Sh extends bh.LongSizeCSSPropertyValidator{computeSize(t,r){return r==="%"?null:super.computeSize(t,r)}}Tn.LongNonPercentSizeCSSPropertyValidator=Sh;Object.defineProperty(c1,"__esModule",{value:!0});c1.LongBorderWidthCSSPropertyValidator=void 0;var wh=Cn,Ph=Tn;class xh extends Ph.LongNonPercentSizeCSSPropertyValidator{normalizeRawInlineCSSValue(t){return(0,wh.lookupRecord)(this.config.absoluteBorderWidthsPixelMap,t)?this.config.absoluteBorderWidthsPixelMap[t]:super.normalizeRawInlineCSSValue(t)}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}c1.LongBorderWidthCSSPropertyValidator=xh;var u1={};Object.defineProperty(u1,"__esModule",{value:!0});u1.LongFontSizeCSSValidator=void 0;var yc=Cn,Ch=Ar;class $h extends Ch.LongSizeCSSPropertyValidator{computeSize(t,r){return r==="%"?this.computeEmSize(t/100):super.computeSize(t,r)}normalizeRawInlineCSSValue(t){return(0,yc.lookupRecord)(this.config.absoluteFontSizesPixelMap,t)?this.config.absoluteFontSizesPixelMap[t]:(0,yc.lookupRecord)(this.config.relativeFontSizesCoefficientMap,t)?this.computeEmSize(this.config.relativeFontSizesCoefficientMap[t]):super.normalizeRawInlineCSSValue(t)}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}u1.LongFontSizeCSSValidator=$h;var l1={};Object.defineProperty(l1,"__esModule",{value:!0});l1.LongAspectRatioPropertyValidator=void 0;var Th=Ze;const Mh=/^(\d+)\/(\d+)$/;class Eh extends Th.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=Mh.exec(t);if(r){const o=Number(r[1])/Number(r[2]);return Number.isFinite(o)?o:null}const n=Number(t);return Number.isNaN(n)?null:n}normalizeNativeValue(t){return typeof t!="string"?t:this.normalizeRawInlineCSSValue(t)}}l1.LongAspectRatioPropertyValidator=Eh;var d1={};Object.defineProperty(d1,"__esModule",{value:!0});d1.LongEnumerationListCSSPropertyValidator=void 0;var Rh=Ze;function Nh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Oh=/\s+/;class Lh extends Rh.LongCSSPropertyValidator{constructor(t,r){super(t),Nh(this,"allowedList",void 0),this.allowedList=r}normalizeRawInlineCSSValue(t){const r=t.split(Oh),n=[];for(const o of r)this.allowedList.indexOf(o)!==-1&&n.push(o);return n.length>0?n:null}}d1.LongEnumerationListCSSPropertyValidator=Lh;var f1={},Mn={};Object.defineProperty(Mn,"__esModule",{value:!0});Mn.LongEnumerationCSSPropertyValidator=void 0;var Ah=Ze;function qh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Dh extends Ah.LongCSSPropertyValidator{constructor(t,r){super(t),qh(this,"allowedList",void 0),this.allowedList=r}normalizeRawInlineCSSValue(t){return this.allowedList.indexOf(t)!==-1?t:null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}Mn.LongEnumerationCSSPropertyValidator=Dh;Object.defineProperty(f1,"__esModule",{value:!0});f1.LongBorderStyleCSSPropertyValidator=void 0;var Ih=Mn;const kh=/\s+/;class Fh extends Ih.LongEnumerationCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=this.pickFirst(t);return r?super.normalizeRawInlineCSSValue(r):null}normalizeNativeValue(t){return this.pickFirst(t)}pickFirst(t){return t.split(kh)[0]||null}}f1.LongBorderStyleCSSPropertyValidator=Fh;var p1={},En={};Object.defineProperty(En,"__esModule",{value:!0});En.LongForgivingCSSPropertyValidator=void 0;var Vh=Ze;class zh extends Vh.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){return t}}En.LongForgivingCSSPropertyValidator=zh;Object.defineProperty(p1,"__esModule",{value:!0});p1.LongColorCSSPropertyValidator=void 0;var Uh=En;const Bh=/^(rgb|rgba|hsl|hsla)\([\d,%. ]+\)|[#]?\w+$/;class Wh extends Uh.LongForgivingCSSPropertyValidator{normalizeRawInlineCSSValue(t){return t.match(Bh)?t:null}}p1.LongColorCSSPropertyValidator=Wh;var h1={},Rn={},Jt={};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.ShortCSSPropertyValidator=void 0;var Hh=$n;class jh extends Hh.GenericCSSPropertyValidator{constructor(t){super(t,!0)}}Jt.ShortCSSPropertyValidator=jh;var Nn={};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=Qh;var Gh=qi;function Qh(e,t){try{return(0,Gh.getStylesForProperty)(e,t)}catch{}return null}Object.defineProperty(Rn,"__esModule",{value:!0});Rn.ShortCSSToReactNativeValidator=void 0;var Xh=Jt,Yh=Jh(Nn),Zh=mt;function Jh(e){return e&&e.__esModule?e:{default:e}}class Kh extends Xh.ShortCSSPropertyValidator{normalizeInlineCSSValue(t){return new Zh.ShortMergeRequest((0,Yh.default)(this.propertyName,t))}normalizeNativeValue(){return null}}Rn.ShortCSSToReactNativeValidator=Kh;Object.defineProperty(h1,"__esModule",{value:!0});h1.ShortFontCSSValidator=void 0;var e6=Rn,t6=r6(i1);function r6(e){return e&&e.__esModule?e:{default:e}}const n6=/\s+/;class o6 extends e6.ShortCSSToReactNativeValidator{normalizeInlineCSSValue(t){const r=t.split(",");let n=null;if(r.length===1)return super.normalizeInlineCSSValue(r[0]);const o=r.splice(0,1)[0];for(const i of r){const a=(0,t6.default)(i),c=this.config.isFontSupported(a);if(c){n=typeof c=="string"?c:a;break}}return super.normalizeInlineCSSValue(o.split(n6).slice(0,-1).join(" ")+" "+(n||"system"))}}h1.ShortFontCSSValidator=o6;var g1={};Object.defineProperty(g1,"__esModule",{value:!0});g1.ShortFlexCSSPropertyValidator=void 0;var a6=mt,i6=c6(Nn),s6=Jt;function c6(e){return e&&e.__esModule?e:{default:e}}class u6 extends s6.ShortCSSPropertyValidator{constructor(t){super({...t,propertyName:"flex"})}normalizeInlineCSSValue(t){return new a6.ShortMergeRequest((0,i6.default)(this.propertyName,t))}normalizeNativeValue(t){return t}}g1.ShortFlexCSSPropertyValidator=u6;var m1={};Object.defineProperty(m1,"__esModule",{value:!0});m1.LongCSSToReactNativeValidator=void 0;var l6=Ze,d6=f6(Nn);function f6(e){return e&&e.__esModule?e:{default:e}}class p6 extends l6.LongCSSPropertyValidator{normalizeRawInlineCSSValue(t){const r=(0,d6.default)(this.propertyName,t);return r?r[this.propertyName]:null}}m1.LongCSSToReactNativeValidator=p6;var v1={};Object.defineProperty(v1,"__esModule",{value:!0});v1.ShortCardinalCSSpropertyValidator=void 0;var Zr=mt,h6=Jt;function g6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m6=/\s+/;class v6 extends h6.ShortCSSPropertyValidator{constructor(t,r){super(t),g6(this,"directions",void 0),this.directions=r}normalizeInlineCSSValue(t){if(typeof t=="number")return new Zr.ShortMergeRequest({[this.directions.top]:t,[this.directions.right]:t,[this.directions.bottom]:t,[this.directions.left]:t});const r=t.split(m6);return r.length===4?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[1],[this.directions.bottom]:r[2],[this.directions.left]:r[3]}):r.length===3?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[1],[this.directions.bottom]:r[2],[this.directions.left]:r[1]}):r.length===2?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[1],[this.directions.bottom]:r[0],[this.directions.left]:r[1]}):r.length===1?new Zr.ShortMergeRequest({[this.directions.top]:r[0],[this.directions.right]:r[0],[this.directions.bottom]:r[0],[this.directions.left]:r[0]}):null}normalizeNativeValue(t){return this.normalizeInlineCSSValue(t)}}v1.ShortCardinalCSSpropertyValidator=v6;var y1={};Object.defineProperty(y1,"__esModule",{value:!0});y1.ShortDualNativepropertyValidator=void 0;var y6=mt,_6=Jt;function b6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class S6 extends _6.ShortCSSPropertyValidator{constructor(t,r){super(t),b6(this,"directions",void 0),this.directions=r}normalizeInlineCSSValue(){return null}normalizeNativeValue(t){return new y6.ShortMergeRequest({[this.directions[0]]:t,[this.directions[1]]:t})}}y1.ShortDualNativepropertyValidator=S6;Object.defineProperty(Di,"__esModule",{value:!0});Di.default=A6;var w6=a1,io=s1,so=c1,P6=u1,fe=Ar,x6=l1,C6=d1,$6=f1,he=Mn,It=p1,T6=h1,co=Rn,M6=g1,E6=m1,Jr=v1,uo=y1,R6=En,Kr=Tn;const N6={inheritable:!0,native:!0,translatable:!0,display:"block"},q={inheritable:!1,native:!0,translatable:!0,display:"block"},O6={inheritable:!1,native:!0,translatable:!1,display:"block"},je={inheritable:!0,native:!0,translatable:!0,display:"text"},lo={inheritable:!1,native:!0,translatable:!0,display:"text"},Va={inheritable:!0,native:!1,translatable:!1,display:"text"},L6={inheritable:!1,native:!1,translatable:!1,display:"block"};function A6(e){return{background:new co.ShortCSSToReactNativeValidator({config:e,model:q,propertyName:"background"}),border:new co.ShortCSSToReactNativeValidator({config:e,model:q,propertyName:"border"}),borderRadius:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"borderRadius"},{top:"borderTopLeftRadius",right:"borderTopRightRadius",bottom:"borderBottomRightRadius",left:"borderBottomLeftRadius"}),borderColor:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"borderColor"},{top:"borderTopColor",right:"borderRightColor",bottom:"borderBottomColor",left:"borderLeftColor"}),borderStyle:new $6.LongBorderStyleCSSPropertyValidator({config:e,model:q,propertyName:"borderStyle"},["solid","dotted","dashed"]),borderWidth:new Jr.ShortCardinalCSSpropertyValidator({config:e,propertyName:"borderWidth",model:q},{top:"borderTopWidth",right:"borderRightWidth",bottom:"borderBottomWidth",left:"borderLeftWidth"}),flex:new M6.ShortFlexCSSPropertyValidator({config:e,propertyName:"flex",model:q}),flexFlow:new co.ShortCSSToReactNativeValidator({config:e,model:q,propertyName:"flexFlow"}),font:new T6.ShortFontCSSValidator({config:e,model:je,propertyName:"font"}),margin:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"margin"},{top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"}),objectFit:new he.LongEnumerationCSSPropertyValidator({config:e,model:L6,propertyName:"objectFit"},["fill","contain","cover","none","scale-down"]),padding:new Jr.ShortCardinalCSSpropertyValidator({config:e,model:q,propertyName:"padding"},{top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"}),marginHorizontal:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"marginHorizontal"},["marginLeft","marginRight"]),marginVertical:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"marginVertical"},["marginTop","marginBottom"]),paddingHorizontal:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"paddingHorizontal"},["paddingLeft","paddingRight"]),paddingVertical:new uo.ShortDualNativepropertyValidator({config:e,model:q,propertyName:"paddingVertical"},["paddingTop","paddingBottom"]),textDecoration:new co.ShortCSSToReactNativeValidator({config:e,model:lo,propertyName:"textDecoration"}),textDecorationColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"textDecorationColor",model:lo}),textDecorationLine:new he.LongEnumerationCSSPropertyValidator({config:e,model:lo,propertyName:"textDecorationLine"},["none","underline","line-through","underline line-through"]),textDecorationStyle:new he.LongEnumerationCSSPropertyValidator({config:e,model:lo,propertyName:"textDecorationStyle"},["solid","double","dotted","dashed"]),color:new It.LongColorCSSPropertyValidator({config:e,propertyName:"color",model:je}),fontFamily:new w6.LongFontFamilyPropertyValidator({config:e,propertyName:"fontFamily",model:je}),fontSize:new P6.LongFontSizeCSSValidator({config:e,propertyName:"fontSize",model:je}),fontStyle:new he.LongEnumerationCSSPropertyValidator({config:e,model:je,propertyName:"fontStyle"},["normal","italic"]),fontVariant:new C6.LongEnumerationListCSSPropertyValidator({config:e,model:je,propertyName:"fontVariant"},["small-caps","oldstyle-nums","lining-nums","tabular-nums","proportional-nums"]),fontWeight:new he.LongEnumerationCSSPropertyValidator({config:e,model:je,propertyName:"fontWeight"},["normal","bold","100","200","300","400","500","600","700","800","900"]),letterSpacing:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"letterSpacing",model:je}),lineHeight:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"lineHeight",model:je}),textAlign:new he.LongEnumerationCSSPropertyValidator({config:e,model:je,propertyName:"textAlign"},["auto","left","right","center","justify"]),textTransform:new he.LongEnumerationCSSPropertyValidator({config:e,model:je,propertyName:"textTransform"},["none","capitalize","uppercase","lowercase"]),whiteSpace:new he.LongEnumerationCSSPropertyValidator({config:e,model:Va,propertyName:"whiteSpace"},["normal","pre"]),listStyleType:new R6.LongForgivingCSSPropertyValidator({config:e,model:Va,propertyName:"listStyleType"}),userSelect:new he.LongEnumerationCSSPropertyValidator({config:e,model:Va,propertyName:"userSelect"},["auto","text","none","contain","all"]),alignContent:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"alignContent"},["flex-start","flex-end","center","stretch","space-between","space-around"]),alignItems:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"alignItems"},["flex-start","flex-end","center","stretch","baseline"]),alignSelf:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"alignSelf"},["auto","flex-start","flex-end","center","stretch","baseline"]),aspectRatio:new x6.LongAspectRatioPropertyValidator({config:e,model:q,propertyName:"aspectRatio"}),bottom:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"bottom",model:q}),display:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"display"},["flex","none"]),flexBasis:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"flexBasis",model:q}),flexDirection:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"flexDirection"},["row","column","row-reverse","column-reverse"]),flexGrow:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"flexGrow",model:q}),flexShrink:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"flexShrink",model:q}),flexWrap:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"flexWrap"},["wrap","nowrap","wrap-reverse"]),justifyContent:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"justifyContent"},["flex-start","flex-end","center","space-between","space-around","space-evenly"]),left:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"left",model:q}),position:new he.LongEnumerationCSSPropertyValidator({config:e,model:O6,propertyName:"position"},["absolute","relative"]),right:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"right",model:q}),top:new fe.LongSizeCSSPropertyValidator({config:e,model:q,propertyName:"top"}),backfaceVisibility:new he.LongEnumerationCSSPropertyValidator({config:e,model:q,propertyName:"backfaceVisibility"},["visible","hidden"]),backgroundColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"backgroundColor",model:q}),borderBottomColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderBottomColor",model:q}),borderBottomLeftRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderBottomLeftRadius",model:q}),borderBottomRightRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderBottomRightRadius",model:q}),borderBottomWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderBottomWidth",model:q}),borderLeftColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderLeftColor",model:q}),borderLeftWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderLeftWidth",model:q}),borderRightColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderRightColor",model:q}),borderRightWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderRightWidth",model:q}),borderTopColor:new It.LongColorCSSPropertyValidator({config:e,propertyName:"borderTopColor",model:q}),borderTopLeftRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderTopLeftRadius",model:q}),borderTopRightRadius:new Kr.LongNonPercentSizeCSSPropertyValidator({config:e,propertyName:"borderTopRightRadius",model:q}),borderTopWidth:new so.LongBorderWidthCSSPropertyValidator({config:e,propertyName:"borderTopWidth",model:q}),height:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"height",model:q}),marginBottom:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginBottom",model:q}),marginLeft:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginLeft",model:q}),marginRight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginRight",model:q}),marginTop:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"marginTop",model:q}),maxHeight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"maxHeight",model:q}),maxWidth:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"maxWidth",model:q}),minHeight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"minHeight",model:q}),minWidth:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"minWidth",model:q}),opacity:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"opacity",model:q}),paddingBottom:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingBottom",model:q}),paddingLeft:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingLeft",model:q}),paddingRight:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingRight",model:q}),paddingTop:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"paddingTop",model:q}),transform:new E6.LongCSSToReactNativeValidator({config:e,propertyName:"transform",model:q}),width:new fe.LongSizeCSSPropertyValidator({config:e,propertyName:"width",model:q}),zIndex:new io.LongFloatNumberCSSPropertyValidator({config:e,propertyName:"zIndex",model:q}),direction:new he.LongEnumerationCSSPropertyValidator({config:e,model:N6,propertyName:"direction"},["auto","ltr","rtl"])}}Object.defineProperty(o1,"__esModule",{value:!0});o1.CSSPropertiesValidationRegistry=void 0;var q6=D6(Di);function D6(e){return e&&e.__esModule?e:{default:e}}function za(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){const t={};return e.forEach(r=>{t[r]=!0}),t}class I6{constructor(t){za(this,"validators",void 0),za(this,"ignoredPropertiesRegistry",void 0),za(this,"allowedPropertiesRegistry",void 0),this.validators=(0,q6.default)(t),this.ignoredPropertiesRegistry=_c(t.inlinePropertiesBlacklist),this.allowedPropertiesRegistry=t.inlinePropertiesWhitelist?_c(t.inlinePropertiesWhitelist):null}isInlinePropertyAllowed(t){return this.allowedPropertiesRegistry?!!this.allowedPropertiesRegistry[t]:!this.ignoredPropertiesRegistry[t]}shouldRegisterInlineProperty(t){return this.isInlinePropertyAllowed(t)&&!!this.validators[t]}getValidatorForProperty(t){return this.validators[t]||null}}o1.CSSPropertiesValidationRegistry=I6;var On={};Object.defineProperty(On,"__esModule",{value:!0});On.defaultCSSProcessorConfig=void 0;const wl=96,Pl=wl*2.54,k6=Pl/10,xl=4/3,F6=12*xl,V6={absoluteLengthUnitsMultiplicators:{cm:Pl,in:wl,mm:k6,pc:F6,pt:xl},absoluteBorderWidthsPixelMap:{medium:2.5,thick:5,thin:1},absoluteFontSizesPixelMap:{medium:14,"xx-small":8.5,"x-small":10,small:12,large:17,"x-large":20,"xx-large":24},relativeFontSizesCoefficientMap:{larger:1.2,smaller:.83},inlinePropertiesBlacklist:[],rootFontSize:16,inlinePropertiesWhitelist:null,isFontSupported(){return!0}};On.defaultCSSProcessorConfig=V6;Object.defineProperty(t1,"__esModule",{value:!0});t1.CSSProcessor=void 0;var z6=r1,U6=n1,B6=o1,W6=On;function H6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class j6{constructor(t){H6(this,"registry",void 0);const r={...W6.defaultCSSProcessorConfig,...t};this.registry=new B6.CSSPropertiesValidationRegistry(r)}compileStyleDeclaration(t){return new U6.CSSNativeParseRun(t,this.registry).exec()}compileInlineCSS(t){return new z6.CSSInlineParseRun(t,this.registry).exec()}}t1.CSSProcessor=j6;var G6={},Q6={},X6={},Y6={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t={CSSProcessor:!0,CSSProcessedProps:!0,mergeProps:!0};Object.defineProperty(e,"CSSProcessor",{enumerable:!0,get:function(){return r.CSSProcessor}}),Object.defineProperty(e,"CSSProcessedProps",{enumerable:!0,get:function(){return n.CSSProcessedProps}}),Object.defineProperty(e,"mergeProps",{enumerable:!0,get:function(){return d.default}}),e.default=void 0;var r=t1,n=Pn,o=G6;Object.keys(o).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===o[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return o[h]}})});var i=On;Object.keys(i).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===i[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return i[h]}})});var a=Q6;Object.keys(a).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===a[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return a[h]}})});var c=X6;Object.keys(c).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===c[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return c[h]}})});var l=Y6;Object.keys(l).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(t,h)||h in e&&e[h]===l[h]||Object.defineProperty(e,h,{enumerable:!0,get:function(){return l[h]}})});var d=p(xn);function p(h){return h&&h.__esModule?h:{default:h}}var v=r.CSSProcessor;e.default=v})(e1);function Z6(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}var Ii=Z6,J6=Ii;function K6(e){return function t(r){return arguments.length===0||J6(r)?t:e.apply(this,arguments)}}var Kt=K6,e7=Kt,t7=e7(function(t){return t==null}),r7=t7,n7=Kt,o7=n7(function(t){return!t}),a7=o7;function i7(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(r){return t.apply(this,arguments)};case 2:return function(r,n){return t.apply(this,arguments)};case 3:return function(r,n,o){return t.apply(this,arguments)};case 4:return function(r,n,o,i){return t.apply(this,arguments)};case 5:return function(r,n,o,i,a){return t.apply(this,arguments)};case 6:return function(r,n,o,i,a,c){return t.apply(this,arguments)};case 7:return function(r,n,o,i,a,c,l){return t.apply(this,arguments)};case 8:return function(r,n,o,i,a,c,l,d){return t.apply(this,arguments)};case 9:return function(r,n,o,i,a,c,l,d,p){return t.apply(this,arguments)};case 10:return function(r,n,o,i,a,c,l,d,p,v){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var Cl=i7;function s7(e,t){return function(){return t.call(this,e.apply(this,arguments))}}var c7=s7,Ua=Kt,en=Ii;function u7(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return en(r)?t:Ua(function(o){return e(r,o)});default:return en(r)&&en(n)?t:en(r)?Ua(function(o){return e(o,n)}):en(n)?Ua(function(o){return e(r,o)}):e(r,n)}}}var ki=u7,fo=Kt,lr=ki,Se=Ii;function l7(e){return function t(r,n,o){switch(arguments.length){case 0:return t;case 1:return Se(r)?t:lr(function(i,a){return e(r,i,a)});case 2:return Se(r)&&Se(n)?t:Se(r)?lr(function(i,a){return e(i,n,a)}):Se(n)?lr(function(i,a){return e(r,i,a)}):fo(function(i){return e(r,n,i)});default:return Se(r)&&Se(n)&&Se(o)?t:Se(r)&&Se(n)?lr(function(i,a){return e(i,a,o)}):Se(r)&&Se(o)?lr(function(i,a){return e(i,n,a)}):Se(n)&&Se(o)?lr(function(i,a){return e(r,i,a)}):Se(r)?fo(function(i){return e(i,n,o)}):Se(n)?fo(function(i){return e(r,i,o)}):Se(o)?fo(function(i){return e(r,n,i)}):e(r,n,o)}}}var $l=l7,Tl=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function d7(e){return Object.prototype.toString.call(e)==="[object String]"}var Ml=d7,f7=Kt,p7=Tl,h7=Ml,g7=f7(function(t){return p7(t)?!0:!t||typeof t!="object"||h7(t)?!1:t.nodeType===1?!!t.length:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),m7=g7,v7=function(){function e(t){this.f=t}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(t){return t},e.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},e}();function y7(e){return new v7(e)}var _7=y7,b7=Cl,S7=ki,w7=S7(function(t,r){return b7(t.length,function(){return t.apply(r,arguments)})}),P7=w7,x7=m7,C7=_7,$7=P7;function T7(e,t,r){for(var n=0,o=r.length;n({...r,...n}),Object.prototype)}class Vi{constructor(t,r){dr(this,"nativeTextFlow",void 0),dr(this,"nativeBlockFlow",void 0),dr(this,"nativeTextRet",void 0),dr(this,"nativeBlockRet",void 0),dr(this,"webTextFlow",void 0),dr(this,"webBlockRet",void 0),this.nativeTextFlow=po(r==null?void 0:r.nativeTextFlow,t.native.text.flow),this.nativeBlockFlow=po(r==null?void 0:r.nativeBlockFlow,t.native.block.flow),this.webTextFlow=po(r==null?void 0:r.webTextFlow,t.web.text.flow),this.nativeTextRet=po(r==null?void 0:r.nativeTextRet,t.native.text.retain),this.nativeBlockRet=t.native.block.retain,this.webBlockRet=t.web.block.retain}static empty(){return new Vi(new o3.CSSProcessedProps)}}Or.TStyles=Vi;var _1={};Object.defineProperty(_1,"__esModule",{value:!0});_1.default=void 0;const u3={anchor:!1,edits:"none",lang:"en",olNestLevel:-1,ulNestLevel:-1,direction:"ltr",extend(){return Object.create(this)},toString(){let e=`Markers { `;for(const t in this){const r=this[t];typeof r!="function"&&(e+=` ${t}: ${JSON.stringify(r)} `)}return e+"}"}};var l3=u3;_1.default=l3;var zi={};Object.defineProperty(zi,"__esModule",{value:!0});zi.default=Nl;function Pc(e){return Object.entries(e).reduce((r,[n,o])=>`${r}${r?",":""} ${n}: ${JSON.stringify(o)}`,"")}function d3(e,{withNodeIndex:t,withStyles:r}){var n;const o=e.tagName?`tagName="${e.tagName}"`:"anonymous",i=e.isUnregistered?"unregistered":null,a=t?`nodeIndex={${e.nodeIndex}}`:null,c=e.id?`id=${e.id}`:null,l=(n=e.classes)!==null&&n!==void 0&&n.length?`classes={[${e.classes.join(", ")}]}`:null,d=e.type==="text"?`data=${JSON.stringify(e.data)}`:null,p=typeof e.attributes.href=="string"?`href=${JSON.stringify(e.attributes.href)}`:null,v=typeof e.attributes.src=="string"?`src=${JSON.stringify(e.attributes.src)}`:null,h=r?Pc(e.getNativeStyles()):null,N=h?`nativeStyles={{${h} }}`:null,T=r?Pc(e.getWebStyles()):null,M=T?`webStyles={{${T}}}`:null,E=[o,i,a,c,l,d,p,v,N,M].filter(D=>D!==null).join(" ");return`<${e.displayName} ${E}`}function Nl(e,t){const{parentLeftPrefix:r="",isChild:n=!1,isLast:o=!0,withStyles:i,withNodeIndex:a}=t,c=n?" ":"",l=r+c,d=e.children.map((p,v)=>Nl(p,{parentLeftPrefix:r+"".padStart(c.length," "),isChild:!0,isLast:v===e.children.length-1,withStyles:i,withNodeIndex:a})).join("");return`${l}${d3(e,{withStyles:i,withNodeIndex:a})}${d?`> ${d} diff --git a/assets/HtmlContent.stories-4oTfxi3R.js b/assets/HtmlContent.stories-DYDJZ7jy.js similarity index 81% rename from assets/HtmlContent.stories-4oTfxi3R.js rename to assets/HtmlContent.stories-DYDJZ7jy.js index ba7a9d64..093bce86 100644 --- a/assets/HtmlContent.stories-4oTfxi3R.js +++ b/assets/HtmlContent.stories-DYDJZ7jy.js @@ -1 +1 @@ -import{j as m}from"./jsx-runtime-Bxcv0yjW.js";import{H as i}from"./HtmlContent-BXBHRQsV.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useOpenUrl-BebUyU0w.js";import"./index-kbHxBZ_W.js";import"./index-DEfxrPnc.js";import"./index-DFkxGuuM.js";import"./client-BGlHIwA3.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-CDv7s-w8.js";import"./index-Ce74jbsy.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./index-CkqLweLe.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./index-k6NSpe5t.js";import"./index-DZxzYa9i.js";import"./index-DgmJIe7t.js";import"./index-BXDkY5MO.js";import"./Phrase-Dnv5p-ah.js";import"./useThemable-ua4U8LzO.js";import"./base-color-B2rPH-Aj.js";import"./useOpenMailUrl-hiSWEozv.js";import"./useOpenPhoneUrl-C5nkLsXz.js";import"./index-Dk74W0Oi.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Row-D-wvv0CV.js";import"./ListItemMarker-RMfNa45x.js";import"./config-BZnShabN.js";import"./useDeviceContext-Cm8FgCCV.js";import"./useIsScreenReaderEnabled-A65pchNu.js";const Y={component:i},e=n=>m.jsx(i,{...n});e.args={content:'

Bullebak (brug 149)

De Bullebak verbindt de Marnixstraat met de Korte Marnixstraat, richting het Haarlemmerplein. De brug kende al lange tijd problemen met openen en sluiten. In de zomer 2018 sprong hij zelfs ineens open. We vervangen nu de monumentale brug helemaal. Dit is een ingewikkelde klus, omdat de brug is ingeklemd tussen kwetsbare kademuren en omgeven door kabels en leidingen. De Bullebak is tijdens de werkzaamheden afgesloten voor trams, bussen en auto’s. Alleen fietsers, voetgangers en de brandweer houden hun doorgang via een tijdelijke hulpbrug. De vervanging van de bruggen is onderdeel van het project Binnenring.

Wanneer

De werkzaamheden zijn 12 augustus 2020 gestart en duren tot juni 2023.

',isIntro:!1};var t,r,o;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:"args => ",...(o=(r=e.parameters)==null?void 0:r.docs)==null?void 0:o.source}}};const Z=["Default"];export{e as Default,Z as __namedExportsOrder,Y as default}; +import{j as m}from"./jsx-runtime-Bxcv0yjW.js";import{H as i}from"./HtmlContent-CKWrIzWU.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useOpenUrl-DkzqnrRX.js";import"./index-kbHxBZ_W.js";import"./index-DEfxrPnc.js";import"./index-DFkxGuuM.js";import"./client-BGlHIwA3.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-CDv7s-w8.js";import"./index-Ce74jbsy.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./index-CkqLweLe.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./index-k6NSpe5t.js";import"./index-DZxzYa9i.js";import"./index-BW2XZOZc.js";import"./index-BXDkY5MO.js";import"./Phrase-FY7SqhHh.js";import"./useThemable-ua4U8LzO.js";import"./base-color-B2rPH-Aj.js";import"./useOpenMailUrl-Blrf_PL9.js";import"./useOpenPhoneUrl-TB9t0oDt.js";import"./index-Dk74W0Oi.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Row-D-wvv0CV.js";import"./ListItemMarker--j-mu3eN.js";import"./config-BZnShabN.js";import"./useDeviceContext-Cm8FgCCV.js";import"./useIsScreenReaderEnabled-A65pchNu.js";const Y={component:i},e=n=>m.jsx(i,{...n});e.args={content:'

Bullebak (brug 149)

De Bullebak verbindt de Marnixstraat met de Korte Marnixstraat, richting het Haarlemmerplein. De brug kende al lange tijd problemen met openen en sluiten. In de zomer 2018 sprong hij zelfs ineens open. We vervangen nu de monumentale brug helemaal. Dit is een ingewikkelde klus, omdat de brug is ingeklemd tussen kwetsbare kademuren en omgeven door kabels en leidingen. De Bullebak is tijdens de werkzaamheden afgesloten voor trams, bussen en auto’s. Alleen fietsers, voetgangers en de brandweer houden hun doorgang via een tijdelijke hulpbrug. De vervanging van de bruggen is onderdeel van het project Binnenring.

Wanneer

De werkzaamheden zijn 12 augustus 2020 gestart en duren tot juni 2023.

',isIntro:!1};var t,r,o;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:"args => ",...(o=(r=e.parameters)==null?void 0:r.docs)==null?void 0:o.source}}};const Z=["Default"];export{e as Default,Z as __namedExportsOrder,Y as default}; diff --git a/assets/Icon-BD3fFj_K.js b/assets/Icon-DzTBkJ4u.js similarity index 99% rename from assets/Icon-BD3fFj_K.js rename to assets/Icon-DzTBkJ4u.js index 6f3bbb07..44b30df1 100644 --- a/assets/Icon-BD3fFj_K.js +++ b/assets/Icon-DzTBkJ4u.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{r as V}from"./index-mfbfsM12.js";import{S as p,P as m}from"./index-BtN4QjYR.js";import{R as z}from"./Row-D-wvv0CV.js";import{A as h,E as L}from"./Animated-CFNSbqHF.js";import{I as Z}from"./types-BJ_48vsK.js";import{u as d}from"./useDeviceContext-Cm8FgCCV.js";import{u as g}from"./useTheme-ChTiG3MC.js";import{V as f}from"./index-BP1Ij_Cs.js";const r=({children:e})=>{const t=V.useRef(new h.Value(0));return V.useEffect(()=>{const{start:l,stop:v}=h.loop(h.timing(t.current,{toValue:360,duration:1e3,easing:L.linear,useNativeDriver:!0}));return l(),v},[]),a.jsx(z,{align:"center",children:a.jsx(h.View,{accessibilityLabel:"Bezig …",accessible:!0,style:{transform:[{rotate:t.current.interpolate({inputRange:[0,360],outputRange:["0deg","360deg"]})}]},children:e})})};try{r.displayName="Rotator",r.__docgenInfo={description:"Indicates activity, often while performing network tasks.\nBest used through `PleaseWait` rather than by itself.",displayName:"Rotator",props:{}}}catch{}const k={accessCode:{path:"M1 10H5V14H1V10ZM7 10H11V14H7V10ZM13 10H17V14H13V10ZM19 10H23V14H19V10ZM2 2H4V8H2V2ZM2 16H4V22H2V16ZM20 2H22V8H20V2ZM20 16H22V22H20V16ZM22 2V4H2V2H22ZM22 20V22H2V20H22Z",viewBox:"0 0 24 24"},alarm:{path:"M22.5 52.5H0L0 45H1.875C6.01714 45 9.375 41.6421 9.375 37.5V18.75C9.375 10.4657 16.0907 3.75 24.375 3.75H26.25C26.25 1.67893 27.9289 0 30 0C32.0711 0 33.75 1.67893 33.75 3.75H35.625C43.9093 3.75 50.625 10.4657 50.625 18.75V37.5C50.625 41.6421 53.9829 45 58.125 45H60V52.5H37.5C37.5 56.6421 34.1421 60 30 60C25.8579 60 22.5 56.6421 22.5 52.5ZM26.25 52.5C26.25 54.5711 27.9289 56.25 30 56.25C32.0711 56.25 33.75 54.5711 33.75 52.5H26.25ZM16.875 18.75V37.5C16.875 40.2322 16.1445 42.7937 14.8683 45H45.1317C43.8555 42.7937 43.125 40.2322 43.125 37.5V18.75C43.125 14.6079 39.7671 11.25 35.625 11.25H24.375C20.2329 11.25 16.875 14.6079 16.875 18.75Z",viewBox:"0 0 60 60"},alarmFilled:{path:"M15 23a3 3 0 0 1-6 0h6ZM0 21h24v-3h-.75a3 3 0 0 1-3-3v-7.5a6 6 0 0 0-6-6h-.75a1.5 1.5 0 0 0-3 0h-.75a6 6 0 0 0-6 6V15a3 3 0 0 1-3 3H0v3Z",viewBox:"0 0 26 26"},alert:{path:"m15.9 2.3-16 28.6h32l-16-28.6zm0 8.4 9 16.1h-18l9-16.1zm-1 5.9h2v5.1h-2v-5.1zm2 8.1v-2h-2v2h2z"},announcement:{path:"M23 0v11.6c1.8.6 3 2.3 3 4.2s-1.2 3.6-3 4.2v11.6L12.6 26l-5.2 5.2-2.8-2.8 4.3-4.3-1.5-.8H0v-15h7.4L23 0zM4 12.3v7h4v-7H4zM19 25l-9-4.8v-8.7l9-4.8V25zM29.4 8.1l-3.1 3.1 1.4 1.4 3.1-3.1-1.4-1.4zm-1.7 11-1.4 1.4 3.1 2.9 1.4-1.4-3.1-2.9zm.3-4.3h4v2h-4v-2z"},api:{path:"M18.593 17.812a.938.938 0 0 1 0 1.326l-2.217 2.216 2.12 2.12L16.975 25H9.126l-5 5L2 27.879l4.99-4.99V15.01l1.521-1.521 2.12 2.12 2.217-2.217a.937.937 0 1 1 1.325 1.326l-2.216 2.217 3.093 3.093 2.217-2.216a.938.938 0 0 1 1.326 0zM30 4.121 27.879 2l-4.907 4.907-.9-.9h-6l-3.1 3 10 10 3.1-3v-6l-.982-.982z"},asterisk:{path:"M9.01453 0.564453C10.1815 0.564453 11.4263 0.875651 12.2821 1.22575L10.0648 7.60535L15.3163 3.59865C15.8998 4.22105 16.5611 5.34915 16.9501 6.36055C17.3002 7.41085 17.4169 8.65565 17.3002 9.55035L10.6872 9.51145L16.1721 13.3626C15.7053 14.2184 14.8495 15.1131 13.9159 15.7744C12.9823 16.4746 11.8153 16.9025 10.8428 17.097L9.01453 10.7174L7.18623 17.097C6.29153 16.9025 5.12453 16.4746 4.11313 15.7744C3.17953 15.1131 2.36263 14.2184 1.89583 13.3626L7.34183 9.51145L0.806629 9.55035C0.612129 8.65565 0.728829 7.41085 1.11783 6.36055C1.46793 5.34915 2.16813 4.22105 2.71273 3.59865L8.00313 7.60535L5.74693 1.22575C6.60273 0.875651 7.84753 0.564453 9.01453 0.564453Z",viewBox:"0 0 18 18"},attachment:{path:"M19.9997 7.99967C19.9997 4.31778 17.0149 1.33301 13.333 1.33301C9.65111 1.33301 6.66634 4.31778 6.66634 7.99967V14.6663V17.333V21.333C6.66634 26.4877 10.845 30.6663 15.9997 30.6663C21.1543 30.6663 25.333 26.4877 25.333 21.333V10.6663H22.6663V21.333C22.6663 25.0149 19.6816 27.9997 15.9997 27.9997C12.3178 27.9997 9.33301 25.0149 9.33301 21.333V17.333V14.6663V7.99967C9.33301 5.79054 11.1239 3.99967 13.333 3.99967C15.5421 3.99967 17.333 5.79054 17.333 7.99967V17.333V21.333C17.333 22.0694 16.7361 22.6663 15.9997 22.6663C15.2633 22.6663 14.6663 22.0694 14.6663 21.333V10.6663H11.9997V21.333C11.9997 23.5421 13.7905 25.333 15.9997 25.333C18.2088 25.333 19.9997 23.5421 19.9997 21.333V17.333V7.99967Z"},chat:{path:"M23.5 12.5H6.5V10.5H23.5V12.5ZM19.5 14.5H6.5V16.5H19.5V14.5ZM31.5 5V22H20.5V27L15.5 22H0.5V5H31.5ZM29.5 7H2.5V20H29.5V7Z"},"circle-check-mark":{path:"m7.07 9.88 2.64 2.89 5.91-6.08 1.43 1.4-7.38 7.6-4.07-4.46 1.47-1.35ZM0 11C0 4.92 4.92 0 11 0s11 4.92 11 11-4.92 11-11 11S0 17.08 0 11Zm2 0c0 4.96 4.04 9 9 9s9-4.04 9-9-4.04-9-9-9-9 4.04-9 9Z",viewBox:"0 0 22 22"},backspace:{path:"M3.30599 16L10.866 7H29V25H10.866L3.30599 16Z M23.7279 11.7423L15.2426 20.2275 M15.2426 11.7431L23.7278 20.2284"},camera:{path:"M30 6.25V3.75H10V6.25H0V37.5H40V6.25H30ZM35 32.5H5V11.25H35V32.5ZM20 30C24.4873 30 28.125 26.3623 28.125 21.875C28.125 17.3877 24.4873 13.75 20 13.75C15.5127 13.75 11.875 17.3877 11.875 21.875C11.875 26.3623 15.5127 30 20 30ZM20 16.25C23.1066 16.25 25.625 18.7684 25.625 21.875C25.625 24.9816 23.1066 27.5 20 27.5C16.8934 27.5 14.375 24.9816 14.375 21.875C14.375 18.7684 16.8934 16.25 20 16.25ZM32.5 16.25H30V13.75H32.5V16.25Z",viewBox:"0 0 40 40"},car:{path:"M24 20a3 3 0 1 1 0 6 3 3 0 0 1 0-6zM7 20a3 3 0 1 1 0 6 3 3 0 0 1 0-6zM19 7l7 7h6v9h-3a5 5 0 0 0-10 0h-7a5 5 0 0 0-10 0H0v-9l7-7h12zm-1 2h-5v5h9.962L18 9zm-7 0H8l-5 5h8V9z"},card:{path:"M30.223 26.668H1.777V5.332h28.446ZM5.332 23.109h21.336V8.891H5.332Zm8.535-6.043H8.891a1.78 1.78 0 0 0-1.782 1.778v2.488h8.536v-2.488a1.78 1.78 0 0 0-1.778-1.778Zm11.024-1.957h-2.668v-2.664h-1.778v2.664h-2.668v1.782h2.668v2.664h1.778V16.89h2.668ZM8.523 13.52a2.854 2.854 0 1 0 5.709.003 2.854 2.854 0 0 0-5.709-.002"},chatting:{path:"M23.4 7h-15V5.5h15V7zm-4 1.5h-11V10h11V8.5zm10-7v13h-9v5l-5-5h-13v-13h27zm-2 2h-23v9h23v-9zm-2.5 24h-3.7c-2.1 0-3.6.9-3.6 3.6v.9h11v-.9c0-2.7-1.6-3.6-3.7-3.6zm.9-3.7c.2-1.1-.3-2.2-1.2-2.9-.9-.6-2.2-.6-3.1 0s-1.4 1.8-1.2 2.9c.3 1.3 1.4 2.3 2.8 2.3s2.4-1 2.7-2.3zm-14.9 3.7H7.2c-2.1 0-3.6.9-3.6 3.6v.9h11v-.9c0-2.7-1.6-3.6-3.7-3.6zm.9-3.7c.2-1.1-.3-2.2-1.2-2.9s-2.2-.6-3.1 0-1.4 1.8-1.2 2.9c0 .7.3 1.4.8 1.9s1.2.8 2 .8c1.5 0 2.7-1.2 2.7-2.7z"},"check-mark":{path:"M12.1 27-.1 14.2l2.9-2.8 9.3 9.8L29 4l2.9 2.8L12.1 27z"},"chevron-down":{path:"m15.9 25.8-16-16 2.9-2.9L15.9 20 29 6.9l2.9 2.9-16 16z"},"chevron-left":{path:"m23.237 32-16-16 16-16 2.9 2.91L13.057 16l13.08 13.09-2.9 2.91Z"},"chevron-right":{path:"m9.6 32-2.9-2.9L19.8 16 6.7 2.9 9.6 0l16 16-16 16z"},"chevron-up":{path:"M29 25.8 15.9 12.7 2.8 25.8l-2.9-2.9 16-16 16 16-2.9 2.9z"},child:{path:"M20.7777 8.07237C20.3489 4.64873 17.4277 2 13.8879 2C10.0529 2 6.94394 5.10891 6.94394 8.94394C6.99381 12.7581 10.0737 15.838 13.8879 15.8879C14.3533 15.8818 14.8078 15.8306 15.2472 15.7384C15.2039 15.4404 15.1796 15.1362 15.1756 14.8271L15.1754 14.815V14.8029C15.1754 11.4474 17.5907 8.65594 20.7777 8.07237ZM10.1844 29.7758H0V27.4611C0 20.5172 3.88861 18.2025 9.25859 18.2025H16.1059C16.4217 18.7463 16.8097 19.243 17.2566 19.6796C15.5916 19.8588 13.9819 20.3883 12.6926 21.5233C10.9893 23.0226 10.1844 25.2734 10.1844 28.1121V29.7758ZM32.0003 29.7758H12.0365V28.1122C12.0365 23.1212 14.8314 21.4576 18.6911 21.4576H25.3457C29.2054 21.4576 32.0003 23.1212 32.0003 28.1122V29.7758ZM22.0184 19.7939C24.7598 19.7581 26.9735 17.5444 27.0093 14.803C27.0093 12.0465 24.7748 9.81201 22.0184 9.81201C19.2619 9.81201 17.0274 12.0465 17.0274 14.803C17.0633 17.5444 19.2769 19.7581 22.0184 19.7939Z"},circle:{path:"M4 16c0 6.6 5.4 12 12 12s12-5.4 12-12S22.6 4 16 4 4 9.4 4 16"},"city-office":{path:"M16 8c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm16 9v2h-2v13h-2v-2H4v2H2V19H0v-2h32zm-4 9v-5H4v5h24zM8 15V12.2c.1-1.7 1.5-3.1 3.2-3.2H20.5c1.8 0 3.3 1.4 3.4 3.2V15H8z"},"city-pass-pass":{path:"M4 6C1.79086 6 0 7.79086 0 10V22C0 24.2091 1.79086 26 4 26H28C30.2091 26 32 24.2091 32 22V10C32 7.79086 30.2091 6 28 6H4ZM18.1818 10.5H11.0909V14.3182H15.4545L10 19.7727L12.6999 22.4726L18.1818 16.9906V21.4091H22V14.3182V10.5H18.1818Z"},"city-pass":{path:"M5.44005 0.461548H26.6331L26.6331 21.7238H18.4154V15.96L6.87457 27.5385L0.0769043 20.7186L12.0504 8.70608H5.44005V0.461548Z"},clock:{path:"M15.9 0C7 0-.1 7.2-.1 16s7.2 16 16 16 16-7.2 16-16c0-4.2-1.7-8.3-4.7-11.3S20.1 0 15.9 0zm.9 28v-2h-2v1.9C9 27.4 4.4 22.8 4 17h1.9v-2H4C4.4 9.2 9 4.5 14.9 4.1V6h2V4.1c5.8.4 10.4 5.1 10.9 10.9h-1.9v2h1.9c-.5 5.9-5.1 10.6-11 11zm.1-13h4v2h-6V9h2v6z"},close:{path:"M29.333 5.47 26.53 2.668 16 13.187 5.47 2.666 2.668 5.47 13.187 16 2.666 26.53l2.804 2.803L16 18.813l10.53 10.52 2.803-2.804L18.813 16z"},collaborate:{path:"m26.3 18.3 5.3-5.3L19.9 1.4l-4.2 4.2-3.8-3.8L.5 13.2l5.4 5.4-1.2 1.2a2.9 2.9 0 0 0 0 4.2 2.9 2.9 0 0 0 2.1.9 3.1 3.1 0 0 0 .9 2.2 3.3 3.3 0 0 0 2.2.8 3.3 3.3 0 0 0 .8 2.2 3.1 3.1 0 0 0 2.2.9 2.7 2.7 0 0 0 2.1-.9l1.2-1.2.9.9a3.3 3.3 0 0 0 2.1.9 3.4 3.4 0 0 0 2.2-.9 3.1 3.1 0 0 0 .9-2.2 2.9 2.9 0 0 0 2.1-.9 2.7 2.7 0 0 0 .9-2.1 3.1 3.1 0 0 0 3-3 3.1 3.1 0 0 0-.9-2.2l-1.1-1.1zM19.9 4.2l8.8 8.8-3.5 3.6-.3.3-7.2-7.2-2.4 2.4a1.2 1.2 0 0 1-1.6 0 1.2 1.2 0 0 1 0-1.7l6.2-6.2zM7.6 22.6a1.1 1.1 0 0 1-1.5 0 1 1 0 0 1 0-1.4L7.3 20l1.5 1.4-1.2 1.2zm3 3a1.1 1.1 0 0 1-1.5 0 .9.9 0 0 1-.3-.7 1.1 1.1 0 0 1 .3-.7l1.2-1.2 1.5 1.5-1.2 1.1zm3 3.1a1 1 0 0 1-1.4 0 1.1 1.1 0 0 1-.3-.8 1.1 1.1 0 0 1 .3-.7l1.1-1.2 1.5 1.5-1.2 1.2zM26 22.3a1 1 0 0 1-1.4 0L21.3 19l-1.6 1.6 3.3 3.3a1 1 0 0 1 0 1.4 1.1 1.1 0 0 1-.7.3 1.1 1.1 0 0 1-.8-.3l-3.2-3.2-1.6 1.5 3.3 3.3a1.1 1.1 0 0 1 0 1.5 1.1 1.1 0 0 1-.8.3 1.1 1.1 0 0 1-.7-.3L3.3 13.2l.2-.2 8.4-8.4L14.3 7l-2 2a3.1 3.1 0 0 0 0 4.5 3.3 3.3 0 0 0 4.5 0l.9-.9 8.3 8.3a1 1 0 0 1 0 1.4z"},"construction-work":{path:"m31.2 26.7-2.3-2.4-1.6 1.5-3.2-3.2-4-12.8c-.2-.7-.5-1.3-1.1-1.8l-3.8-3.7-.4-.4L13 2.1l-.3-.3L7 7.9l2.4 2.4 2.2 2.2-2.7 3.9L0 31.7h4l7-12.1 4.2 4.4v7.7h3.5v-9.1L15 18.8l1.2-1.7L26 27l-1.6 1.4 2.2 2.5c.6.6 1.4.9 2.2 1 .8.1 1.7-.2 2.3-.9.6-.6 1-1.3 1-2.2 0-.7-.3-1.5-.9-2.1zM10.6 9.1l2.2-2.3 1.7 1.7-1.8 2.5-2.1-1.9zm7.7 4.8 1.3 4-2.4-2.4 1.1-1.6z M17.5,4a3.2,3.2 0 1,0 6.4,0a3.2,3.2 0 1,0 -6.4,0"},copy:{path:"M14 2H6V4H12V12H14V2ZM4 0V4H3.5H0V18H12V14H16V0H4ZM3.5 6H2V16H10V6H4.5H3.5Z",viewBox:"0 0 16 18"},document:{path:"M25.5014 0H5.71387V40H35.7139V10.2125L25.5014 0ZM10.7139 35V5H23.2139V12.5H30.7139V35H10.7139Z",viewBox:"0 0 40 40"},"document-text":{path:"m17.6 5 5.4 5.4V27H9V5h8.6m1.3-3H6v28h20V9.1L18.9 2zM11 16h10v-2H11v2zm0 4h10v-2H11v2zm0 4h10v-2H11v2z"},download:{path:"M12.125 11.4858L14.85 8.75821L16.6187 10.5224L10.875 16.2778L5.13125 10.5224L6.9 8.75821L9.625 11.4858V0H12.125V11.4858ZM20.875 20V17.4977H0.875V20H20.875Z",viewBox:"0 0 20 20"},edit:{path:"M24.5 1 4.2 21.3 1 31l9.7-3.2L31 7.5 24.5 1zM6.3 27.1 5 25.7 6 23l3 3.1-2.7 1z"},email:{path:"M-.1 4.6v24h32v-24h-32zM16 16.9 5.9 8.6H26l-10 8.3zm-4.8-1.3-7.3 6.8V9.5l7.3 6.1zm1.6 1.3 3.2 2.7 3.1-2.6 8.2 7.6H4.4l8.4-7.7zm7.8-1.2 7.2-6.1v12.8l-7.2-6.7z"},enlarge:{path:"M17.9 14V0h-4v14h-14v4h14v14h4V18h14v-4h-14z"},error:{path:"M16.1399 6.91003L17.5099 8.36003L13.5099 12.14L17.5099 15.91L16.1399 17.36L12.0599 13.51L7.97986 17.36L6.60986 15.91L10.5999 12.14L6.60986 8.36003L7.97986 6.91003L12.0599 10.76L16.1399 6.91003ZM1 12C1 5.92 5.92 1 12 1C18.08 1 23 5.92 23 12C23 18.08 18.08 23 12 23C5.92 23 1 18.08 1 12ZM21 12C21 7.04 16.96 3 12 3C7.04 3 3 7.04 3 12C3 16.96 7.04 21 12 21C16.96 21 21 16.96 21 12Z",viewBox:"0 0 24 24"},"external-link":{path:"M19.006 0H32.01v12.992h-4.002V6.826L14.434 20.417l-2.83-2.818L25.187 3.998h-6.182V0zm7.002 13.991L26.018 32H.01V6.016h17.975l-3.98 3.978.02.02H4.01v17.988h18.006l-.01-10.013 4-3.998z"},eye:{path:"M16 5C8.72727 5 2.51636 9.53853 0 15.945C2.51636 22.3515 8.72727 26.89 16 26.89C23.2727 26.89 29.4836 22.3515 32 15.945C29.4836 9.53853 23.2727 5 16 5ZM16 23.2417C11.9855 23.2417 8.72727 19.9728 8.72727 15.945C8.72727 11.9172 11.9855 8.64833 16 8.64833C20.0145 8.64833 23.2727 11.9172 23.2727 15.945C23.2727 19.9728 20.0145 23.2417 16 23.2417ZM16 11.567C13.5855 11.567 11.6364 13.5225 11.6364 15.945C11.6364 18.3675 13.5855 20.323 16 20.323C18.4145 20.323 20.3636 18.3675 20.3636 15.945C20.3636 13.5225 18.4145 11.567 16 11.567Z"},facade:{path:"M22.6 9.5V7.8h-1.1V6.4h-1V4.9h-.9V3.5h-1.1V2.2h-1V1h-2.9v1.2h-1v1.3h-1V4.9h-1v1.5h-1v1.4h-1v1.7h-1V31h15.3V9.5h-1.3zM13.7 6h4.6v4h-4.6V6zm1.2 22.9h-4v-8h4v8zm0-9.9h-4v-7h4v7zm6.2 9.9h-4v-8h4v8zm0-9.9h-4v-7h4v7z"},housing:{path:"M14 28h4.008v-8H14v8zm-2 0V18h8.008v10H28V12.98L16 5 4 13.516V28h8zM0 32V11.022L16 0l16 11.022V32H0z"},"park-sign":{path:"M4 0H28V32H4V0ZM24 4H8V28H24V4ZM6 2V30H26V2H6ZM12 8V19.7H14.79V15.884H16.626C19.002 15.884 20.676 14.21 20.676 11.942C20.676 9.674 18.984 8 16.626 8H12ZM16.392 13.67H14.79V10.214H16.392C17.238 10.214 17.85 10.934 17.85 11.942C17.85 12.986 17.238 13.67 16.392 13.67Z"},info:{path:"M15.9 2c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3 14-14-6.3-14-14-14zm0 24c-5.5 0-10-4.5-10-10s4.5-10 10-10 10 4.5 10 10-4.5 10-10 10zm-1-15h2V9h-2v2zm0 12h2V13h-2v10z"},keyboard:{path:"M2 6h28v20H2z M0 4h32v24H0z M7 10h3v3H7zM7 15h3v3H7zM12 10h3v3h-3zM12 15h3v3h-3zM10 20h12v2H10zM17 10h3v3h-3zM17 15h3v3h-3zM22 10h3v3h-3zM22 15h3v3h-3z"},list:{path:"M32.0064 22V26H9.69577V22H32.0064ZM5.52556 22V26H1.35535V22H5.52556ZM32.0064 14V18H9.69577V14H32.0064ZM5.52556 14V18H1.35535V14H5.52556ZM32.0064 6V10H9.69577V6H32.0064ZM5.52556 6V10H1.35535V6H5.52556Z"},location:{path:"m16.679 32-1.23-1.086c-.45-.369-10.878-9.68-10.878-18.806C4.571 5.42 9.992 0 16.68 0s12.108 5.42 12.108 12.108c0 9.126-10.428 18.438-10.879 18.806L16.68 32Zm0-28.271A8.39 8.39 0 0 0 8.3 12.108c0 5.387 5.244 11.728 8.369 14.842 2.591-2.55 8.389-9.034 8.389-14.842a8.39 8.39 0 0 0-8.379-8.38Zm0 12.476a4.097 4.097 0 1 0 0-8.195 4.097 4.097 0 0 0 0 8.195Z"},lock:{path:"M12 3C9.79086 3 8 4.79086 8 7V13H6V7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7V13H16V7C16 4.79086 14.2091 3 12 3Z",viewBox:"0 0 24 24"},login:{path:"M17.777 1.777v3.555h8.891v21.336h-8.89v3.555h12.445V1.777ZM16.73 7.832l-2.507 2.516 3.875 3.875H1.778v3.554h16.32l-3.875 3.875 2.507 2.516L24.906 16Zm0 0"},"organic-waste-container":{path:"M23.2 4.8C22.9 2.1 19.6 0 15.7 0S8.5 2.2 8.1 4.8H7V30H3.9v2h24v-2h-3.2V4.8h-1.5zM12.3 2.4h6.9v6.9h-6.9V2.4zM22.7 29H9V12.6h13.7V29z"},person:{path:"M31 32H1v-2.5c0-7.5 4.2-10 10-10h10c5.8 0 10 2.5 10 10V32ZM16 17a7.6 7.6 0 0 0 7.5-7.5 7.5 7.5 0 0 0-15 0A7.6 7.6 0 0 0 16 17Z"},"person-desk":{path:"M30 16v2h-2v12h-2v-2H6v2H4V18H2v-2h28zm-4 4H6v4h20v-4zM18 8.98c2.3 0 4 1 4 4v1H10v-1c0-3 1.69-4 4-4zM16 2a2.99 2.99 0 1 1 0 5.98A2.99 2.99 0 0 1 16 2z"},phone:{path:"M30.4 26.9s-3.1 3.4-5.6 3.6-9.2-3.2-14.7-8.7c-5.5-5.5-9-11.4-8.7-14.7S5 1.5 5 1.5l7.1 7.1-2.8 2.8 11.2 11.2 2.8-2.8 7.1 7.1z"},picture:{path:"M0 3.75V36.25H40V3.75H0ZM35 22L27.875 14.625L22.5 20.125L24.125 21.75L27.875 18L35 25.375V31.25H6L16.625 20.5L19.25 23.25L21 25L24.5 28.75L26.125 27.25L16.25 17.375L5 28.875V8.75H35V22ZM7.5 13.75C7.5 12.3693 8.61929 11.25 10 11.25C11.3807 11.25 12.5 12.3693 12.5 13.75C12.5 15.1307 11.3807 16.25 10 16.25C8.61929 16.25 7.5 15.1307 7.5 13.75Z",viewBox:"0 0 40 40"},pointer:{path:"M29.18 14C28.3576 8.41126 23.9687 4.02245 18.38 3.2V0H14.38V3.2C8.77561 3.99119 4.3712 8.3956 3.58 14H0.380005V18H3.58C4.3712 23.6044 8.77561 28.0088 14.38 28.8V32H18.38V28.8C23.9534 27.947 28.327 23.5734 29.18 18H32.38V14H29.18ZM16.38 25C11.4094 25 7.38 20.9706 7.38 16C7.38 11.0294 11.4094 7 16.38 7C21.3506 7 25.38 11.0294 25.38 16C25.38 18.3869 24.4318 20.6761 22.744 22.364C21.0561 24.0518 18.767 25 16.38 25ZM21.38 16C21.38 18.7614 19.1414 21 16.38 21C13.6186 21 11.38 18.7614 11.38 16C11.38 13.2386 13.6186 11 16.38 11C19.1414 11 21.38 13.2386 21.38 16Z"},"question-mark-solid":{path:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16S24.8 0 16 0zm-.4 24.3c-1.1 0-1.9-.8-1.9-1.9s.8-1.9 1.9-1.9 1.9.8 1.9 1.9c.1 1.1-.7 1.9-1.9 1.9zm3.3-8.7c-.9.9-1.9 1.9-1.9 2.9v.8h-2.7v-1.2c0-1.6.8-2.4 1.5-3.1.7-.7 1.5-1.2 1.5-2.4 0-.9-.7-1.3-1.7-1.3-.8 0-1.5.4-2 1.2l-2.3-2C12.4 9 13.7 8.4 16 8.4c2.8 0 4.5 1.5 4.5 3.7.2 1.5-.8 2.6-1.6 3.5z"},"question-mark-circle":{path:"M17.7234 24V22H15.6383V24H17.7234ZM12.5106 13C12.5106 10.79 14.3768 9 16.6808 9C18.9849 9 20.851 10.79 20.851 13C20.851 14.2829 20.0274 14.9733 19.2255 15.6455C18.4647 16.2833 17.7234 16.9046 17.7234 18V19.9919H15.6383V18C15.6383 16.1787 16.6205 15.4566 17.4841 14.8217C18.1615 14.3236 18.7659 13.8792 18.7659 13C18.7659 11.9 17.8276 11 16.6808 11C15.534 11 14.5957 11.9 14.5957 13H12.5106ZM16.6808 2C8.65317 2 2.08508 8.3 2.08508 16C2.08508 23.7 8.65317 30 16.6808 30C24.7085 30 31.2766 23.7 31.2766 16C31.2766 8.3 24.7085 2 16.6808 2ZM16.6808 26C10.9468 26 6.2553 21.5 6.2553 16C6.2553 10.5 10.9468 6 16.6808 6C22.4149 6 27.1064 10.5 27.1064 16C27.1064 21.5 22.4149 26 16.6808 26Z"},search:{path:"m32 29.119-9.825-9.825a12.217 12.217 0 1 0-2.88 2.881L29.118 32 32 29.119Zm-19.771-8.745a8.145 8.145 0 1 1 0-16.29 8.145 8.145 0 0 1 0 16.29Z"},settings:{path:"M0 18.6v-5.1H1.4c2.1-.4 3.5-2.3 3.1-4.4-.1-.6-.3-1.1-.6-1.6l-1-1 3.6-3.6V3l.9.9c1.7 1.2 4.1.8 5.3-.9.3-.4.5-.9.6-1.5V0h5.1V1.4c.4 2.1 2.3 3.5 4.4 3.1.5-.1 1-.3 1.5-.6l1-1 3.6 3.6h-.1l-.9.9c-1.1 1.5-.9 3.6.4 4.9.5.5 1.2.9 2 1.1H32v5.1H30.6c-2.1.4-3.5 2.4-3.1 4.4.1.5.3 1 .6 1.5l1 1-3.6 3.6v-.1l-.9-.9c-1.7-1.2-4.1-.8-5.3.9-.3.4-.5.9-.6 1.5V32h-5.1V30.6c-.4-2.1-2.3-3.5-4.4-3.1-.5.1-1 .3-1.5.6l-1 1-3.6-3.6h.1l.9-.9c1.2-1.7.8-4.1-.9-5.3-.4-.3-.9-.5-1.5-.6H0zM16 22c3.3 0 6-2.7 6-6s-2.7-6-6-6-6 2.7-6 6 2.7 6 6 6z"},spinner:{path:"M16.3 5c2.2 0 4.3.7 6.1 1.9 1.8 1.2 3.2 3 4 5 .8 2 1 4.2.6 6.4-.4 2.1-1.5 4.1-3.1 5.6s-3.5 2.6-5.7 3c-2.1.4-4.3.2-6.3-.7-2-.9-3.7-2.3-4.9-4.1-1.2-1.8-1.8-4-1.8-6.1"},"trash-bin":{path:"M21,4h8v4h-2v24H5V8H3V4h8V0h10V4z M19,2h-6v2h6V2z M23,28H9V8h14V28z M13,12h-2v12h2V12z M15,12h2v12h-2V12z M21,12h-2v12h2V12z"},"two-persons":{path:"M9.1 13.7c2.4 0 4.3-1.9 4.3-4.3s-1.9-4.3-4.3-4.3S4.8 7 4.8 9.4c.1 2.4 2 4.3 4.3 4.3zM25.7 20.5H20c-.8 0-1.6.1-2.3.3 0-4.2-2.4-5.6-5.7-5.6H6.3C3 15.2.6 16.6.6 20.9v1.4h14.8c-.7.9-1.1 2.2-1.1 3.9v1.4h17.1v-1.4c0-4.3-2.4-5.7-5.7-5.7z M22.9 19c2.4 0 4.3-1.9 4.3-4.3s-1.9-4.3-4.3-4.3-4.3 1.9-4.3 4.3 1.9 4.3 4.3 4.3z"},vote:{path:"m 20.533999,22.34317 v 9.689243 H 0.13559322 V 11.634006 H 11.099736 L 9.5698561,13.163887 A 8.7968127,8.7968127 0 1 0 18.749139,24.12803 Z M 17.856709,16.606118 29.330812,5.1320143 27.545952,3.3471538 16.071848,14.821257 Z M 30.350732,6.1519347 18.621649,18.008508 15.561888,18.645959 14.032007,17.116078 14.541968,14.311297 26.526031,2.3272335 24.741171,0.54237288 12.502127,12.908907 10.462286,22.21568 19.641569,20.685799 32.135593,7.9367952 Z"},whatsapp:{path:"m0 32 2.2-8.2C.8 21.4.1 18.7.1 15.9.1 7.1 7.3 0 16 0c4.2 0 8.2 1.7 11.2 4.7s4.6 7 4.6 11.2c0 8.7-7.1 15.9-15.9 15.9-2.7 0-5.3-.7-7.6-1.9L0 32zm8.8-5.1C11 28.3 13.2 29 16 29c7.3 0 13.2-5.9 13.2-13.2 0-7.3-5.9-13.2-13.2-13.2-7.3.1-13.2 6-13.2 13.3 0 3 .9 5.2 2.3 7.5l-1.3 4.9 5-1.4zM24 19.6c-.1-.2-.4-.3-.8-.5s-2.3-1.2-2.7-1.3c-.4-.1-.6-.2-.9.2-.3.4-1 1.3-1.3 1.6s-.5.3-.9.1c-.4-.2-1.7-.6-3.2-2-1.2-1.1-2-2.3-2.2-2.7-.2-.4 0-.6.2-.8.2-.2.4-.5.6-.7.2-.2.3-.4.4-.7.1-.3.1-.5 0-.7-.1-.1-.8-2.1-1.2-2.9-.3-.8-.6-.7-.9-.7h-.8c-.3 0-.7.1-1.1.5-.2.4-1.3 1.4-1.3 3.3 0 2 1.4 3.8 1.6 4.1.2.3 2.8 4.3 6.8 6 .9.4 1.7.7 2.3.8.9.3 1.8.3 2.5.2.8-.1 2.3-1 2.7-1.9.3-.9.3-1.7.2-1.9z"},"wifi-disconnect":{path:"M6.5 7.41421L23.5 24.4142L24.9142 23L22.4426 20.5284L23.7 19.3144C22.2375 17.6153 20.2337 16.5013 18.0541 16.1399L14.5768 12.6626C15.2092 12.5673 15.8518 12.5185 16.5 12.5185C20.2155 12.5185 23.7506 14.1206 26.2 16.9144L29 14.1144C25.8 10.5939 21.2575 8.59512 16.5 8.6144C14.7252 8.60721 12.9803 8.88087 11.3238 9.40962L7.91421 6L6.5 7.41421ZM10.3501 14.0788L7.47339 11.2021C6.20136 12.0038 5.031 12.9801 4 14.1144L6.8 16.9144C7.81762 15.7537 9.02263 14.7987 10.3501 14.0788ZM16.318 20.0467L12.9654 16.694C11.5669 17.2546 10.3055 18.1462 9.3 19.3144L12.2 22.1144C13.2057 20.8534 14.712 20.0998 16.318 20.0467ZM16.5 22.9144C15.607 22.9033 14.7882 23.4101 14.4 24.2144L16.5 26.2144L18.6 24.2144C18.2118 23.4101 17.393 22.9033 16.5 22.9144Z"}},w=3,x={backspace:{stroke:!0,strokeWidth:2},spinner:{Wrapper:r,stroke:!0}},y="0 0 32 32",s=({color:e="default",name:t,size:l="md",testID:v,"logging-label":H})=>{const{color:i}=g(),{fontScale:u}=d(),n=Z[l]*u,c=k[t],{Wrapper:C=V.Fragment,stroke:o,strokeWidth:M=w}=x[t]??{};return a.jsx(f,{"logging-label":H,testID:v,children:a.jsx(C,{children:a.jsx(p,{fillRule:"evenodd",height:n,viewBox:"viewBox"in c?c.viewBox:y,width:n,children:a.jsx(m,{d:c.path,fill:o?"none":i.text[e],stroke:o?i.text[e]:void 0,strokeWidth:o?M:void 0})})})})};try{s.displayName="Icon",s.__docgenInfo={description:"",displayName:"Icon",props:{color:{defaultValue:{value:"default"},description:"The color of the icon to display.",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"inverse"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"warning"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},name:{defaultValue:null,description:"The name of the icon to display.",name:"name",required:!0,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},size:{defaultValue:{value:"md"},description:"The size of the icon.",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'},{value:'"ml"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{s as I}; +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{r as V}from"./index-mfbfsM12.js";import{S as p,P as m}from"./index-BtN4QjYR.js";import{R as z}from"./Row-D-wvv0CV.js";import{A as h,E as L}from"./Animated-CFNSbqHF.js";import{I as Z}from"./types-BJ_48vsK.js";import{u as d}from"./useDeviceContext-Cm8FgCCV.js";import{u as g}from"./useTheme-ChTiG3MC.js";import{V as f}from"./index-BP1Ij_Cs.js";const r=({children:e})=>{const t=V.useRef(new h.Value(0));return V.useEffect(()=>{const{start:l,stop:v}=h.loop(h.timing(t.current,{toValue:360,duration:1e3,easing:L.linear,useNativeDriver:!0}));return l(),v},[]),a.jsx(z,{align:"center",children:a.jsx(h.View,{accessibilityLabel:"Bezig …",accessible:!0,style:{transform:[{rotate:t.current.interpolate({inputRange:[0,360],outputRange:["0deg","360deg"]})}]},children:e})})};try{r.displayName="Rotator",r.__docgenInfo={description:"Indicates activity, often while performing network tasks.\nBest used through `PleaseWait` rather than by itself.",displayName:"Rotator",props:{}}}catch{}const k={accessCode:{path:"M1 10H5V14H1V10ZM7 10H11V14H7V10ZM13 10H17V14H13V10ZM19 10H23V14H19V10ZM2 2H4V8H2V2ZM2 16H4V22H2V16ZM20 2H22V8H20V2ZM20 16H22V22H20V16ZM22 2V4H2V2H22ZM22 20V22H2V20H22Z",viewBox:"0 0 24 24"},alarm:{path:"M22.5 52.5H0L0 45H1.875C6.01714 45 9.375 41.6421 9.375 37.5V18.75C9.375 10.4657 16.0907 3.75 24.375 3.75H26.25C26.25 1.67893 27.9289 0 30 0C32.0711 0 33.75 1.67893 33.75 3.75H35.625C43.9093 3.75 50.625 10.4657 50.625 18.75V37.5C50.625 41.6421 53.9829 45 58.125 45H60V52.5H37.5C37.5 56.6421 34.1421 60 30 60C25.8579 60 22.5 56.6421 22.5 52.5ZM26.25 52.5C26.25 54.5711 27.9289 56.25 30 56.25C32.0711 56.25 33.75 54.5711 33.75 52.5H26.25ZM16.875 18.75V37.5C16.875 40.2322 16.1445 42.7937 14.8683 45H45.1317C43.8555 42.7937 43.125 40.2322 43.125 37.5V18.75C43.125 14.6079 39.7671 11.25 35.625 11.25H24.375C20.2329 11.25 16.875 14.6079 16.875 18.75Z",viewBox:"0 0 60 60"},alarmFilled:{path:"M15 23a3 3 0 0 1-6 0h6ZM0 21h24v-3h-.75a3 3 0 0 1-3-3v-7.5a6 6 0 0 0-6-6h-.75a1.5 1.5 0 0 0-3 0h-.75a6 6 0 0 0-6 6V15a3 3 0 0 1-3 3H0v3Z",viewBox:"0 0 26 26"},alert:{path:"m15.9 2.3-16 28.6h32l-16-28.6zm0 8.4 9 16.1h-18l9-16.1zm-1 5.9h2v5.1h-2v-5.1zm2 8.1v-2h-2v2h2z"},announcement:{path:"M23 0v11.6c1.8.6 3 2.3 3 4.2s-1.2 3.6-3 4.2v11.6L12.6 26l-5.2 5.2-2.8-2.8 4.3-4.3-1.5-.8H0v-15h7.4L23 0zM4 12.3v7h4v-7H4zM19 25l-9-4.8v-8.7l9-4.8V25zM29.4 8.1l-3.1 3.1 1.4 1.4 3.1-3.1-1.4-1.4zm-1.7 11-1.4 1.4 3.1 2.9 1.4-1.4-3.1-2.9zm.3-4.3h4v2h-4v-2z"},api:{path:"M18.593 17.812a.938.938 0 0 1 0 1.326l-2.217 2.216 2.12 2.12L16.975 25H9.126l-5 5L2 27.879l4.99-4.99V15.01l1.521-1.521 2.12 2.12 2.217-2.217a.937.937 0 1 1 1.325 1.326l-2.216 2.217 3.093 3.093 2.217-2.216a.938.938 0 0 1 1.326 0zM30 4.121 27.879 2l-4.907 4.907-.9-.9h-6l-3.1 3 10 10 3.1-3v-6l-.982-.982z"},asterisk:{path:"M9.01453 0.564453C10.1815 0.564453 11.4263 0.875651 12.2821 1.22575L10.0648 7.60535L15.3163 3.59865C15.8998 4.22105 16.5611 5.34915 16.9501 6.36055C17.3002 7.41085 17.4169 8.65565 17.3002 9.55035L10.6872 9.51145L16.1721 13.3626C15.7053 14.2184 14.8495 15.1131 13.9159 15.7744C12.9823 16.4746 11.8153 16.9025 10.8428 17.097L9.01453 10.7174L7.18623 17.097C6.29153 16.9025 5.12453 16.4746 4.11313 15.7744C3.17953 15.1131 2.36263 14.2184 1.89583 13.3626L7.34183 9.51145L0.806629 9.55035C0.612129 8.65565 0.728829 7.41085 1.11783 6.36055C1.46793 5.34915 2.16813 4.22105 2.71273 3.59865L8.00313 7.60535L5.74693 1.22575C6.60273 0.875651 7.84753 0.564453 9.01453 0.564453Z",viewBox:"0 0 18 18"},attachment:{path:"M19.9997 7.99967C19.9997 4.31778 17.0149 1.33301 13.333 1.33301C9.65111 1.33301 6.66634 4.31778 6.66634 7.99967V14.6663V17.333V21.333C6.66634 26.4877 10.845 30.6663 15.9997 30.6663C21.1543 30.6663 25.333 26.4877 25.333 21.333V10.6663H22.6663V21.333C22.6663 25.0149 19.6816 27.9997 15.9997 27.9997C12.3178 27.9997 9.33301 25.0149 9.33301 21.333V17.333V14.6663V7.99967C9.33301 5.79054 11.1239 3.99967 13.333 3.99967C15.5421 3.99967 17.333 5.79054 17.333 7.99967V17.333V21.333C17.333 22.0694 16.7361 22.6663 15.9997 22.6663C15.2633 22.6663 14.6663 22.0694 14.6663 21.333V10.6663H11.9997V21.333C11.9997 23.5421 13.7905 25.333 15.9997 25.333C18.2088 25.333 19.9997 23.5421 19.9997 21.333V17.333V7.99967Z"},chat:{path:"M23.5 12.5H6.5V10.5H23.5V12.5ZM19.5 14.5H6.5V16.5H19.5V14.5ZM31.5 5V22H20.5V27L15.5 22H0.5V5H31.5ZM29.5 7H2.5V20H29.5V7Z"},"circle-check-mark":{path:"m7.07 9.88 2.64 2.89 5.91-6.08 1.43 1.4-7.38 7.6-4.07-4.46 1.47-1.35ZM0 11C0 4.92 4.92 0 11 0s11 4.92 11 11-4.92 11-11 11S0 17.08 0 11Zm2 0c0 4.96 4.04 9 9 9s9-4.04 9-9-4.04-9-9-9-9 4.04-9 9Z",viewBox:"0 0 22 22"},backspace:{path:"M3.30599 16L10.866 7H29V25H10.866L3.30599 16Z M23.7279 11.7423L15.2426 20.2275 M15.2426 11.7431L23.7278 20.2284"},camera:{path:"M30 6.25V3.75H10V6.25H0V37.5H40V6.25H30ZM35 32.5H5V11.25H35V32.5ZM20 30C24.4873 30 28.125 26.3623 28.125 21.875C28.125 17.3877 24.4873 13.75 20 13.75C15.5127 13.75 11.875 17.3877 11.875 21.875C11.875 26.3623 15.5127 30 20 30ZM20 16.25C23.1066 16.25 25.625 18.7684 25.625 21.875C25.625 24.9816 23.1066 27.5 20 27.5C16.8934 27.5 14.375 24.9816 14.375 21.875C14.375 18.7684 16.8934 16.25 20 16.25ZM32.5 16.25H30V13.75H32.5V16.25Z",viewBox:"0 0 40 40"},car:{path:"M24 20a3 3 0 1 1 0 6 3 3 0 0 1 0-6zM7 20a3 3 0 1 1 0 6 3 3 0 0 1 0-6zM19 7l7 7h6v9h-3a5 5 0 0 0-10 0h-7a5 5 0 0 0-10 0H0v-9l7-7h12zm-1 2h-5v5h9.962L18 9zm-7 0H8l-5 5h8V9z"},card:{path:"M30.223 26.668H1.777V5.332h28.446ZM5.332 23.109h21.336V8.891H5.332Zm8.535-6.043H8.891a1.78 1.78 0 0 0-1.782 1.778v2.488h8.536v-2.488a1.78 1.78 0 0 0-1.778-1.778Zm11.024-1.957h-2.668v-2.664h-1.778v2.664h-2.668v1.782h2.668v2.664h1.778V16.89h2.668ZM8.523 13.52a2.854 2.854 0 1 0 5.709.003 2.854 2.854 0 0 0-5.709-.002"},chatting:{path:"M23.4 7h-15V5.5h15V7zm-4 1.5h-11V10h11V8.5zm10-7v13h-9v5l-5-5h-13v-13h27zm-2 2h-23v9h23v-9zm-2.5 24h-3.7c-2.1 0-3.6.9-3.6 3.6v.9h11v-.9c0-2.7-1.6-3.6-3.7-3.6zm.9-3.7c.2-1.1-.3-2.2-1.2-2.9-.9-.6-2.2-.6-3.1 0s-1.4 1.8-1.2 2.9c.3 1.3 1.4 2.3 2.8 2.3s2.4-1 2.7-2.3zm-14.9 3.7H7.2c-2.1 0-3.6.9-3.6 3.6v.9h11v-.9c0-2.7-1.6-3.6-3.7-3.6zm.9-3.7c.2-1.1-.3-2.2-1.2-2.9s-2.2-.6-3.1 0-1.4 1.8-1.2 2.9c0 .7.3 1.4.8 1.9s1.2.8 2 .8c1.5 0 2.7-1.2 2.7-2.7z"},"check-mark":{path:"M12.1 27-.1 14.2l2.9-2.8 9.3 9.8L29 4l2.9 2.8L12.1 27z"},"chevron-down":{path:"m15.9 25.8-16-16 2.9-2.9L15.9 20 29 6.9l2.9 2.9-16 16z"},"chevron-left":{path:"m23.237 32-16-16 16-16 2.9 2.91L13.057 16l13.08 13.09-2.9 2.91Z"},"chevron-right":{path:"m9.6 32-2.9-2.9L19.8 16 6.7 2.9 9.6 0l16 16-16 16z"},"chevron-up":{path:"M29 25.8 15.9 12.7 2.8 25.8l-2.9-2.9 16-16 16 16-2.9 2.9z"},child:{path:"M20.7777 8.07237C20.3489 4.64873 17.4277 2 13.8879 2C10.0529 2 6.94394 5.10891 6.94394 8.94394C6.99381 12.7581 10.0737 15.838 13.8879 15.8879C14.3533 15.8818 14.8078 15.8306 15.2472 15.7384C15.2039 15.4404 15.1796 15.1362 15.1756 14.8271L15.1754 14.815V14.8029C15.1754 11.4474 17.5907 8.65594 20.7777 8.07237ZM10.1844 29.7758H0V27.4611C0 20.5172 3.88861 18.2025 9.25859 18.2025H16.1059C16.4217 18.7463 16.8097 19.243 17.2566 19.6796C15.5916 19.8588 13.9819 20.3883 12.6926 21.5233C10.9893 23.0226 10.1844 25.2734 10.1844 28.1121V29.7758ZM32.0003 29.7758H12.0365V28.1122C12.0365 23.1212 14.8314 21.4576 18.6911 21.4576H25.3457C29.2054 21.4576 32.0003 23.1212 32.0003 28.1122V29.7758ZM22.0184 19.7939C24.7598 19.7581 26.9735 17.5444 27.0093 14.803C27.0093 12.0465 24.7748 9.81201 22.0184 9.81201C19.2619 9.81201 17.0274 12.0465 17.0274 14.803C17.0633 17.5444 19.2769 19.7581 22.0184 19.7939Z"},circle:{path:"M4 16c0 6.6 5.4 12 12 12s12-5.4 12-12S22.6 4 16 4 4 9.4 4 16"},"city-office":{path:"M16 8c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm16 9v2h-2v13h-2v-2H4v2H2V19H0v-2h32zm-4 9v-5H4v5h24zM8 15V12.2c.1-1.7 1.5-3.1 3.2-3.2H20.5c1.8 0 3.3 1.4 3.4 3.2V15H8z"},"city-pass-pass":{path:"M4 6C1.79086 6 0 7.79086 0 10V22C0 24.2091 1.79086 26 4 26H28C30.2091 26 32 24.2091 32 22V10C32 7.79086 30.2091 6 28 6H4ZM18.1818 10.5H11.0909V14.3182H15.4545L10 19.7727L12.6999 22.4726L18.1818 16.9906V21.4091H22V14.3182V10.5H18.1818Z"},"city-pass":{path:"M5.44005 0.461548H26.6331L26.6331 21.7238H18.4154V15.96L6.87457 27.5385L0.0769043 20.7186L12.0504 8.70608H5.44005V0.461548Z"},clock:{path:"M15.9 0C7 0-.1 7.2-.1 16s7.2 16 16 16 16-7.2 16-16c0-4.2-1.7-8.3-4.7-11.3S20.1 0 15.9 0zm.9 28v-2h-2v1.9C9 27.4 4.4 22.8 4 17h1.9v-2H4C4.4 9.2 9 4.5 14.9 4.1V6h2V4.1c5.8.4 10.4 5.1 10.9 10.9h-1.9v2h1.9c-.5 5.9-5.1 10.6-11 11zm.1-13h4v2h-6V9h2v6z"},close:{path:"M29.333 5.47 26.53 2.668 16 13.187 5.47 2.666 2.668 5.47 13.187 16 2.666 26.53l2.804 2.803L16 18.813l10.53 10.52 2.803-2.804L18.813 16z"},collaborate:{path:"m26.3 18.3 5.3-5.3L19.9 1.4l-4.2 4.2-3.8-3.8L.5 13.2l5.4 5.4-1.2 1.2a2.9 2.9 0 0 0 0 4.2 2.9 2.9 0 0 0 2.1.9 3.1 3.1 0 0 0 .9 2.2 3.3 3.3 0 0 0 2.2.8 3.3 3.3 0 0 0 .8 2.2 3.1 3.1 0 0 0 2.2.9 2.7 2.7 0 0 0 2.1-.9l1.2-1.2.9.9a3.3 3.3 0 0 0 2.1.9 3.4 3.4 0 0 0 2.2-.9 3.1 3.1 0 0 0 .9-2.2 2.9 2.9 0 0 0 2.1-.9 2.7 2.7 0 0 0 .9-2.1 3.1 3.1 0 0 0 3-3 3.1 3.1 0 0 0-.9-2.2l-1.1-1.1zM19.9 4.2l8.8 8.8-3.5 3.6-.3.3-7.2-7.2-2.4 2.4a1.2 1.2 0 0 1-1.6 0 1.2 1.2 0 0 1 0-1.7l6.2-6.2zM7.6 22.6a1.1 1.1 0 0 1-1.5 0 1 1 0 0 1 0-1.4L7.3 20l1.5 1.4-1.2 1.2zm3 3a1.1 1.1 0 0 1-1.5 0 .9.9 0 0 1-.3-.7 1.1 1.1 0 0 1 .3-.7l1.2-1.2 1.5 1.5-1.2 1.1zm3 3.1a1 1 0 0 1-1.4 0 1.1 1.1 0 0 1-.3-.8 1.1 1.1 0 0 1 .3-.7l1.1-1.2 1.5 1.5-1.2 1.2zM26 22.3a1 1 0 0 1-1.4 0L21.3 19l-1.6 1.6 3.3 3.3a1 1 0 0 1 0 1.4 1.1 1.1 0 0 1-.7.3 1.1 1.1 0 0 1-.8-.3l-3.2-3.2-1.6 1.5 3.3 3.3a1.1 1.1 0 0 1 0 1.5 1.1 1.1 0 0 1-.8.3 1.1 1.1 0 0 1-.7-.3L3.3 13.2l.2-.2 8.4-8.4L14.3 7l-2 2a3.1 3.1 0 0 0 0 4.5 3.3 3.3 0 0 0 4.5 0l.9-.9 8.3 8.3a1 1 0 0 1 0 1.4z"},"construction-work":{path:"m31.2 26.7-2.3-2.4-1.6 1.5-3.2-3.2-4-12.8c-.2-.7-.5-1.3-1.1-1.8l-3.8-3.7-.4-.4L13 2.1l-.3-.3L7 7.9l2.4 2.4 2.2 2.2-2.7 3.9L0 31.7h4l7-12.1 4.2 4.4v7.7h3.5v-9.1L15 18.8l1.2-1.7L26 27l-1.6 1.4 2.2 2.5c.6.6 1.4.9 2.2 1 .8.1 1.7-.2 2.3-.9.6-.6 1-1.3 1-2.2 0-.7-.3-1.5-.9-2.1zM10.6 9.1l2.2-2.3 1.7 1.7-1.8 2.5-2.1-1.9zm7.7 4.8 1.3 4-2.4-2.4 1.1-1.6z M17.5,4a3.2,3.2 0 1,0 6.4,0a3.2,3.2 0 1,0 -6.4,0"},copy:{path:"M14 2H6V4H12V12H14V2ZM4 0V4H3.5H0V18H12V14H16V0H4ZM3.5 6H2V16H10V6H4.5H3.5Z",viewBox:"0 0 16 18"},document:{path:"M25.5014 0H5.71387V40H35.7139V10.2125L25.5014 0ZM10.7139 35V5H23.2139V12.5H30.7139V35H10.7139Z",viewBox:"0 0 40 40"},"document-text":{path:"m17.6 5 5.4 5.4V27H9V5h8.6m1.3-3H6v28h20V9.1L18.9 2zM11 16h10v-2H11v2zm0 4h10v-2H11v2zm0 4h10v-2H11v2z"},download:{path:"M12.125 11.4858L14.85 8.75821L16.6187 10.5224L10.875 16.2778L5.13125 10.5224L6.9 8.75821L9.625 11.4858V0H12.125V11.4858ZM20.875 20V17.4977H0.875V20H20.875Z",viewBox:"0 0 20 20"},edit:{path:"M24.5 1 4.2 21.3 1 31l9.7-3.2L31 7.5 24.5 1zM6.3 27.1 5 25.7 6 23l3 3.1-2.7 1z"},email:{path:"M-.1 4.6v24h32v-24h-32zM16 16.9 5.9 8.6H26l-10 8.3zm-4.8-1.3-7.3 6.8V9.5l7.3 6.1zm1.6 1.3 3.2 2.7 3.1-2.6 8.2 7.6H4.4l8.4-7.7zm7.8-1.2 7.2-6.1v12.8l-7.2-6.7z"},enlarge:{path:"M17.9 14V0h-4v14h-14v4h14v14h4V18h14v-4h-14z"},error:{path:"M16.1399 6.91003L17.5099 8.36003L13.5099 12.14L17.5099 15.91L16.1399 17.36L12.0599 13.51L7.97986 17.36L6.60986 15.91L10.5999 12.14L6.60986 8.36003L7.97986 6.91003L12.0599 10.76L16.1399 6.91003ZM1 12C1 5.92 5.92 1 12 1C18.08 1 23 5.92 23 12C23 18.08 18.08 23 12 23C5.92 23 1 18.08 1 12ZM21 12C21 7.04 16.96 3 12 3C7.04 3 3 7.04 3 12C3 16.96 7.04 21 12 21C16.96 21 21 16.96 21 12Z",viewBox:"0 0 24 24"},"external-link":{path:"M19.006 0H32.01v12.992h-4.002V6.826L14.434 20.417l-2.83-2.818L25.187 3.998h-6.182V0zm7.002 13.991L26.018 32H.01V6.016h17.975l-3.98 3.978.02.02H4.01v17.988h18.006l-.01-10.013 4-3.998z"},eye:{path:"M16 5C8.72727 5 2.51636 9.53853 0 15.945C2.51636 22.3515 8.72727 26.89 16 26.89C23.2727 26.89 29.4836 22.3515 32 15.945C29.4836 9.53853 23.2727 5 16 5ZM16 23.2417C11.9855 23.2417 8.72727 19.9728 8.72727 15.945C8.72727 11.9172 11.9855 8.64833 16 8.64833C20.0145 8.64833 23.2727 11.9172 23.2727 15.945C23.2727 19.9728 20.0145 23.2417 16 23.2417ZM16 11.567C13.5855 11.567 11.6364 13.5225 11.6364 15.945C11.6364 18.3675 13.5855 20.323 16 20.323C18.4145 20.323 20.3636 18.3675 20.3636 15.945C20.3636 13.5225 18.4145 11.567 16 11.567Z"},facade:{path:"M22.6 9.5V7.8h-1.1V6.4h-1V4.9h-.9V3.5h-1.1V2.2h-1V1h-2.9v1.2h-1v1.3h-1V4.9h-1v1.5h-1v1.4h-1v1.7h-1V31h15.3V9.5h-1.3zM13.7 6h4.6v4h-4.6V6zm1.2 22.9h-4v-8h4v8zm0-9.9h-4v-7h4v7zm6.2 9.9h-4v-8h4v8zm0-9.9h-4v-7h4v7z"},housing:{path:"M14 28h4.008v-8H14v8zm-2 0V18h8.008v10H28V12.98L16 5 4 13.516V28h8zM0 32V11.022L16 0l16 11.022V32H0z"},"park-sign":{path:"M4 0H28V32H4V0ZM24 4H8V28H24V4ZM6 2V30H26V2H6ZM12 8V19.7H14.79V15.884H16.626C19.002 15.884 20.676 14.21 20.676 11.942C20.676 9.674 18.984 8 16.626 8H12ZM16.392 13.67H14.79V10.214H16.392C17.238 10.214 17.85 10.934 17.85 11.942C17.85 12.986 17.238 13.67 16.392 13.67Z"},info:{path:"M15.9 2c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3 14-14-6.3-14-14-14zm0 24c-5.5 0-10-4.5-10-10s4.5-10 10-10 10 4.5 10 10-4.5 10-10 10zm-1-15h2V9h-2v2zm0 12h2V13h-2v10z"},keyboard:{path:"M2 6h28v20H2z M0 4h32v24H0z M7 10h3v3H7zM7 15h3v3H7zM12 10h3v3h-3zM12 15h3v3h-3zM10 20h12v2H10zM17 10h3v3h-3zM17 15h3v3h-3zM22 10h3v3h-3zM22 15h3v3h-3z"},list:{path:"M32.0064 22V26H9.69577V22H32.0064ZM5.52556 22V26H1.35535V22H5.52556ZM32.0064 14V18H9.69577V14H32.0064ZM5.52556 14V18H1.35535V14H5.52556ZM32.0064 6V10H9.69577V6H32.0064ZM5.52556 6V10H1.35535V6H5.52556Z"},location:{path:"m16.679 32-1.23-1.086c-.45-.369-10.878-9.68-10.878-18.806C4.571 5.42 9.992 0 16.68 0s12.108 5.42 12.108 12.108c0 9.126-10.428 18.438-10.879 18.806L16.68 32Zm0-28.271A8.39 8.39 0 0 0 8.3 12.108c0 5.387 5.244 11.728 8.369 14.842 2.591-2.55 8.389-9.034 8.389-14.842a8.39 8.39 0 0 0-8.379-8.38Zm0 12.476a4.097 4.097 0 1 0 0-8.195 4.097 4.097 0 0 0 0 8.195Z"},lock:{path:"M12 3C9.79086 3 8 4.79086 8 7V13H6V7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7V13H16V7C16 4.79086 14.2091 3 12 3Z",viewBox:"0 0 24 24"},login:{path:"M17.777 1.777v3.555h8.891v21.336h-8.89v3.555h12.445V1.777ZM16.73 7.832l-2.507 2.516 3.875 3.875H1.778v3.554h16.32l-3.875 3.875 2.507 2.516L24.906 16Zm0 0"},"organic-waste-container":{path:"M23.2 4.8C22.9 2.1 19.6 0 15.7 0S8.5 2.2 8.1 4.8H7V30H3.9v2h24v-2h-3.2V4.8h-1.5zM12.3 2.4h6.9v6.9h-6.9V2.4zM22.7 29H9V12.6h13.7V29z"},person:{path:"M31 32H1v-2.5c0-7.5 4.2-10 10-10h10c5.8 0 10 2.5 10 10V32ZM16 17a7.6 7.6 0 0 0 7.5-7.5 7.5 7.5 0 0 0-15 0A7.6 7.6 0 0 0 16 17Z"},"person-desk":{path:"M30 16v2h-2v12h-2v-2H6v2H4V18H2v-2h28zm-4 4H6v4h20v-4zM18 8.98c2.3 0 4 1 4 4v1H10v-1c0-3 1.69-4 4-4zM16 2a2.99 2.99 0 1 1 0 5.98A2.99 2.99 0 0 1 16 2z"},phone:{path:"M30.4 26.9s-3.1 3.4-5.6 3.6-9.2-3.2-14.7-8.7c-5.5-5.5-9-11.4-8.7-14.7S5 1.5 5 1.5l7.1 7.1-2.8 2.8 11.2 11.2 2.8-2.8 7.1 7.1z"},picture:{path:"M0 3.75V36.25H40V3.75H0ZM35 22L27.875 14.625L22.5 20.125L24.125 21.75L27.875 18L35 25.375V31.25H6L16.625 20.5L19.25 23.25L21 25L24.5 28.75L26.125 27.25L16.25 17.375L5 28.875V8.75H35V22ZM7.5 13.75C7.5 12.3693 8.61929 11.25 10 11.25C11.3807 11.25 12.5 12.3693 12.5 13.75C12.5 15.1307 11.3807 16.25 10 16.25C8.61929 16.25 7.5 15.1307 7.5 13.75Z",viewBox:"0 0 40 40"},pointer:{path:"M29.18 14C28.3576 8.41126 23.9687 4.02245 18.38 3.2V0H14.38V3.2C8.77561 3.99119 4.3712 8.3956 3.58 14H0.380005V18H3.58C4.3712 23.6044 8.77561 28.0088 14.38 28.8V32H18.38V28.8C23.9534 27.947 28.327 23.5734 29.18 18H32.38V14H29.18ZM16.38 25C11.4094 25 7.38 20.9706 7.38 16C7.38 11.0294 11.4094 7 16.38 7C21.3506 7 25.38 11.0294 25.38 16C25.38 18.3869 24.4318 20.6761 22.744 22.364C21.0561 24.0518 18.767 25 16.38 25ZM21.38 16C21.38 18.7614 19.1414 21 16.38 21C13.6186 21 11.38 18.7614 11.38 16C11.38 13.2386 13.6186 11 16.38 11C19.1414 11 21.38 13.2386 21.38 16Z"},"question-mark-solid":{path:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16S24.8 0 16 0zm-.4 24.3c-1.1 0-1.9-.8-1.9-1.9s.8-1.9 1.9-1.9 1.9.8 1.9 1.9c.1 1.1-.7 1.9-1.9 1.9zm3.3-8.7c-.9.9-1.9 1.9-1.9 2.9v.8h-2.7v-1.2c0-1.6.8-2.4 1.5-3.1.7-.7 1.5-1.2 1.5-2.4 0-.9-.7-1.3-1.7-1.3-.8 0-1.5.4-2 1.2l-2.3-2C12.4 9 13.7 8.4 16 8.4c2.8 0 4.5 1.5 4.5 3.7.2 1.5-.8 2.6-1.6 3.5z"},"question-mark-circle":{path:"M17.7234 24V22H15.6383V24H17.7234ZM12.5106 13C12.5106 10.79 14.3768 9 16.6808 9C18.9849 9 20.851 10.79 20.851 13C20.851 14.2829 20.0274 14.9733 19.2255 15.6455C18.4647 16.2833 17.7234 16.9046 17.7234 18V19.9919H15.6383V18C15.6383 16.1787 16.6205 15.4566 17.4841 14.8217C18.1615 14.3236 18.7659 13.8792 18.7659 13C18.7659 11.9 17.8276 11 16.6808 11C15.534 11 14.5957 11.9 14.5957 13H12.5106ZM16.6808 2C8.65317 2 2.08508 8.3 2.08508 16C2.08508 23.7 8.65317 30 16.6808 30C24.7085 30 31.2766 23.7 31.2766 16C31.2766 8.3 24.7085 2 16.6808 2ZM16.6808 26C10.9468 26 6.2553 21.5 6.2553 16C6.2553 10.5 10.9468 6 16.6808 6C22.4149 6 27.1064 10.5 27.1064 16C27.1064 21.5 22.4149 26 16.6808 26Z"},search:{path:"m32 29.119-9.825-9.825a12.217 12.217 0 1 0-2.88 2.881L29.118 32 32 29.119Zm-19.771-8.745a8.145 8.145 0 1 1 0-16.29 8.145 8.145 0 0 1 0 16.29Z"},settings:{path:"M0 18.6v-5.1H1.4c2.1-.4 3.5-2.3 3.1-4.4-.1-.6-.3-1.1-.6-1.6l-1-1 3.6-3.6V3l.9.9c1.7 1.2 4.1.8 5.3-.9.3-.4.5-.9.6-1.5V0h5.1V1.4c.4 2.1 2.3 3.5 4.4 3.1.5-.1 1-.3 1.5-.6l1-1 3.6 3.6h-.1l-.9.9c-1.1 1.5-.9 3.6.4 4.9.5.5 1.2.9 2 1.1H32v5.1H30.6c-2.1.4-3.5 2.4-3.1 4.4.1.5.3 1 .6 1.5l1 1-3.6 3.6v-.1l-.9-.9c-1.7-1.2-4.1-.8-5.3.9-.3.4-.5.9-.6 1.5V32h-5.1V30.6c-.4-2.1-2.3-3.5-4.4-3.1-.5.1-1 .3-1.5.6l-1 1-3.6-3.6h.1l.9-.9c1.2-1.7.8-4.1-.9-5.3-.4-.3-.9-.5-1.5-.6H0zM16 22c3.3 0 6-2.7 6-6s-2.7-6-6-6-6 2.7-6 6 2.7 6 6 6z"},spinner:{path:"M16.3 5c2.2 0 4.3.7 6.1 1.9 1.8 1.2 3.2 3 4 5 .8 2 1 4.2.6 6.4-.4 2.1-1.5 4.1-3.1 5.6s-3.5 2.6-5.7 3c-2.1.4-4.3.2-6.3-.7-2-.9-3.7-2.3-4.9-4.1-1.2-1.8-1.8-4-1.8-6.1"},"trash-bin":{path:"M21,4h8v4h-2v24H5V8H3V4h8V0h10V4z M19,2h-6v2h6V2z M23,28H9V8h14V28z M13,12h-2v12h2V12z M15,12h2v12h-2V12z M21,12h-2v12h2V12z"},"two-persons":{path:"M9.1 13.7c2.4 0 4.3-1.9 4.3-4.3s-1.9-4.3-4.3-4.3S4.8 7 4.8 9.4c.1 2.4 2 4.3 4.3 4.3zM25.7 20.5H20c-.8 0-1.6.1-2.3.3 0-4.2-2.4-5.6-5.7-5.6H6.3C3 15.2.6 16.6.6 20.9v1.4h14.8c-.7.9-1.1 2.2-1.1 3.9v1.4h17.1v-1.4c0-4.3-2.4-5.7-5.7-5.7z M22.9 19c2.4 0 4.3-1.9 4.3-4.3s-1.9-4.3-4.3-4.3-4.3 1.9-4.3 4.3 1.9 4.3 4.3 4.3z"},vote:{path:"m 20.533999,22.34317 v 9.689243 H 0.13559322 V 11.634006 H 11.099736 L 9.5698561,13.163887 A 8.7968127,8.7968127 0 1 0 18.749139,24.12803 Z M 17.856709,16.606118 29.330812,5.1320143 27.545952,3.3471538 16.071848,14.821257 Z M 30.350732,6.1519347 18.621649,18.008508 15.561888,18.645959 14.032007,17.116078 14.541968,14.311297 26.526031,2.3272335 24.741171,0.54237288 12.502127,12.908907 10.462286,22.21568 19.641569,20.685799 32.135593,7.9367952 Z"},whatsapp:{path:"m0 32 2.2-8.2C.8 21.4.1 18.7.1 15.9.1 7.1 7.3 0 16 0c4.2 0 8.2 1.7 11.2 4.7s4.6 7 4.6 11.2c0 8.7-7.1 15.9-15.9 15.9-2.7 0-5.3-.7-7.6-1.9L0 32zm8.8-5.1C11 28.3 13.2 29 16 29c7.3 0 13.2-5.9 13.2-13.2 0-7.3-5.9-13.2-13.2-13.2-7.3.1-13.2 6-13.2 13.3 0 3 .9 5.2 2.3 7.5l-1.3 4.9 5-1.4zM24 19.6c-.1-.2-.4-.3-.8-.5s-2.3-1.2-2.7-1.3c-.4-.1-.6-.2-.9.2-.3.4-1 1.3-1.3 1.6s-.5.3-.9.1c-.4-.2-1.7-.6-3.2-2-1.2-1.1-2-2.3-2.2-2.7-.2-.4 0-.6.2-.8.2-.2.4-.5.6-.7.2-.2.3-.4.4-.7.1-.3.1-.5 0-.7-.1-.1-.8-2.1-1.2-2.9-.3-.8-.6-.7-.9-.7h-.8c-.3 0-.7.1-1.1.5-.2.4-1.3 1.4-1.3 3.3 0 2 1.4 3.8 1.6 4.1.2.3 2.8 4.3 6.8 6 .9.4 1.7.7 2.3.8.9.3 1.8.3 2.5.2.8-.1 2.3-1 2.7-1.9.3-.9.3-1.7.2-1.9z"},"wifi-disconnect":{path:"M6.5 7.41421L23.5 24.4142L24.9142 23L22.4426 20.5284L23.7 19.3144C22.2375 17.6153 20.2337 16.5013 18.0541 16.1399L14.5768 12.6626C15.2092 12.5673 15.8518 12.5185 16.5 12.5185C20.2155 12.5185 23.7506 14.1206 26.2 16.9144L29 14.1144C25.8 10.5939 21.2575 8.59512 16.5 8.6144C14.7252 8.60721 12.9803 8.88087 11.3238 9.40962L7.91421 6L6.5 7.41421ZM10.3501 14.0788L7.47339 11.2021C6.20136 12.0038 5.031 12.9801 4 14.1144L6.8 16.9144C7.81762 15.7537 9.02263 14.7987 10.3501 14.0788ZM16.318 20.0467L12.9654 16.694C11.5669 17.2546 10.3055 18.1462 9.3 19.3144L12.2 22.1144C13.2057 20.8534 14.712 20.0998 16.318 20.0467ZM16.5 22.9144C15.607 22.9033 14.7882 23.4101 14.4 24.2144L16.5 26.2144L18.6 24.2144C18.2118 23.4101 17.393 22.9033 16.5 22.9144Z"}},w=3,x={backspace:{stroke:!0,strokeWidth:2},spinner:{Wrapper:r,stroke:!0}},y="0 0 32 32",s=({color:e="default",name:t,size:l="md",testID:v,"logging-label":H})=>{const{color:i}=g(),{fontScale:u}=d(),n=Z[l]*u,c=k[t],{Wrapper:C=V.Fragment,stroke:o,strokeWidth:M=w}=x[t]??{};return a.jsx(f,{"logging-label":H,testID:v,children:a.jsx(C,{children:a.jsx(p,{fillRule:"evenodd",height:n,viewBox:"viewBox"in c?c.viewBox:y,width:n,children:a.jsx(m,{d:c.path,fill:o?"none":i.text[e],stroke:o?i.text[e]:void 0,strokeWidth:o?M:void 0})})})})};try{s.displayName="Icon",s.__docgenInfo={description:"",displayName:"Icon",props:{color:{defaultValue:{value:"default"},description:"The color of the icon to display.",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"inverse"'},{value:'"warning"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},name:{defaultValue:null,description:"The name of the icon to display.",name:"name",required:!0,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},size:{defaultValue:{value:"md"},description:"The size of the icon.",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'},{value:'"ml"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{s as I}; diff --git a/assets/Icon.stories-BJa5zCgF.js b/assets/Icon.stories-Du-CPvPs.js similarity index 95% rename from assets/Icon.stories-BJa5zCgF.js rename to assets/Icon.stories-Du-CPvPs.js index 236a554c..69c6644e 100644 --- a/assets/Icon.stories-BJa5zCgF.js +++ b/assets/Icon.stories-Du-CPvPs.js @@ -1,4 +1,4 @@ -import{I as p}from"./Icon-BD3fFj_K.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./index-kbHxBZ_W.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./Animated-CFNSbqHF.js";import"./index-DSI0shHu.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";const A={component:p},o={args:{color:"default",name:"announcement",size:"lg"}};var r,t,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{I as p}from"./Icon-DzTBkJ4u.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./index-kbHxBZ_W.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./Animated-CFNSbqHF.js";import"./index-DSI0shHu.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";const A={component:p},o={args:{color:"default",name:"announcement",size:"lg"}};var r,t,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ args: { color: 'default', name: 'announcement', diff --git a/assets/IconButton-C0GLYfe-.js b/assets/IconButton-S0EpSLVW.js similarity index 98% rename from assets/IconButton-C0GLYfe-.js rename to assets/IconButton-S0EpSLVW.js index b3264b42..d0f9691d 100644 --- a/assets/IconButton-C0GLYfe-.js +++ b/assets/IconButton-S0EpSLVW.js @@ -1 +1 @@ -import{j as l}from"./jsx-runtime-Bxcv0yjW.js";import{r}from"./index-mfbfsM12.js";import{P as s}from"./Pressable-kwatEfDj.js";import{c as m}from"./config-BZnShabN.js";import{B as d}from"./Badge-BAkGihjF.js";import{R as c}from"./Row-D-wvv0CV.js";import{I as v}from"./types-BJ_48vsK.js";import{u as p}from"./useThemable-ua4U8LzO.js";import{V as g}from"./index-BP1Ij_Cs.js";import{s as f}from"./index-kbHxBZ_W.js";const n=r.forwardRef(({badgeValue:a,icon:e,...t},o)=>{const u=p(h),i=(m.minTouchSize-v[e.props.size??"md"])/2;return l.jsx(c,{align:"start",valign:"center",children:l.jsxs(s,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",hitSlop:i,ref:o,variant:"transparent",...t,children:[e,a?l.jsx(g,{style:u.badgePosition,children:l.jsx(d,{testID:`${t.testID}Badge`,value:a,variant:"on-icon"})}):null]})})}),h=({size:a})=>{const e=a.spacing.sm;return f.create({badgePosition:{position:"absolute",top:-e,right:-e,left:-e,alignItems:"flex-end"}})};try{n.displayName="IconButton",n.__docgenInfo={description:"",displayName:"IconButton",props:{badgeValue:{defaultValue:null,description:"The value for a badge to be displayed on top of the icon.",name:"badgeValue",required:!1,type:{name:"number"}},icon:{defaultValue:null,description:"The icon component to use for the button.",name:"icon",required:!0,type:{name:"ReactElement>"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"tertiary"'},{value:'"transparent"'}]}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}export{n as I}; +import{j as l}from"./jsx-runtime-Bxcv0yjW.js";import{r}from"./index-mfbfsM12.js";import{P as s}from"./Pressable-0Of7HZos.js";import{c as m}from"./config-BZnShabN.js";import{B as d}from"./Badge-BAkGihjF.js";import{R as c}from"./Row-D-wvv0CV.js";import{I as v}from"./types-BJ_48vsK.js";import{u as p}from"./useThemable-ua4U8LzO.js";import{V as g}from"./index-BP1Ij_Cs.js";import{s as f}from"./index-kbHxBZ_W.js";const n=r.forwardRef(({badgeValue:a,icon:e,...t},o)=>{const u=p(h),i=(m.minTouchSize-v[e.props.size??"md"])/2;return l.jsx(c,{align:"start",valign:"center",children:l.jsxs(s,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",hitSlop:i,ref:o,variant:"transparent",...t,children:[e,a?l.jsx(g,{style:u.badgePosition,children:l.jsx(d,{testID:`${t.testID}Badge`,value:a,variant:"on-icon"})}):null]})})}),h=({size:a})=>{const e=a.spacing.sm;return f.create({badgePosition:{position:"absolute",top:-e,right:-e,left:-e,alignItems:"flex-end"}})};try{n.displayName="IconButton",n.__docgenInfo={description:"",displayName:"IconButton",props:{badgeValue:{defaultValue:null,description:"The value for a badge to be displayed on top of the icon.",name:"badgeValue",required:!1,type:{name:"number"}},icon:{defaultValue:null,description:"The icon component to use for the button.",name:"icon",required:!0,type:{name:"ReactElement>"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"tertiary"'},{value:'"transparent"'}]}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}export{n as I}; diff --git a/assets/IconButton.stories-C7SFt6wO.js b/assets/IconButton.stories-C1LCMuoN.js similarity index 85% rename from assets/IconButton.stories-C7SFt6wO.js rename to assets/IconButton.stories-C1LCMuoN.js index c2e9a73d..11e46605 100644 --- a/assets/IconButton.stories-C7SFt6wO.js +++ b/assets/IconButton.stories-C1LCMuoN.js @@ -1,4 +1,4 @@ -import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{I as i}from"./IconButton-C0GLYfe-.js";import{I as e}from"./Icon-BD3fFj_K.js";import{p as s}from"./pressable-arg-types-CJIMfHep.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-kwatEfDj.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./config-BZnShabN.js";import"./Badge-BAkGihjF.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./useTheme-ChTiG3MC.js";const Q={component:i,argTypes:s},o={args:{icon:p.jsx(e,{name:"person",size:"lg",testID:"Icon"}),badgeValue:7}};var r,t,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{I as i}from"./IconButton-S0EpSLVW.js";import{I as e}from"./Icon-DzTBkJ4u.js";import{p as s}from"./pressable-arg-types-CJIMfHep.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-0Of7HZos.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./config-BZnShabN.js";import"./Badge-BAkGihjF.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./useTheme-ChTiG3MC.js";const Q={component:i,argTypes:s},o={args:{icon:p.jsx(e,{name:"person",size:"lg",testID:"Icon"}),badgeValue:7}};var r,t,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ args: { icon: , badgeValue: 7 diff --git a/assets/InformationButton.stories-DHl4vj01.js b/assets/InformationButton.stories-Du6kDLHD.js similarity index 94% rename from assets/InformationButton.stories-DHl4vj01.js rename to assets/InformationButton.stories-Du6kDLHD.js index d9865ee7..2384b357 100644 --- a/assets/InformationButton.stories-DHl4vj01.js +++ b/assets/InformationButton.stories-Du6kDLHD.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as g}from"./Pressable-kwatEfDj.js";import{C as f}from"./Column-CFK5NdwL.js";import{R as u}from"./Row-D-wvv0CV.js";import{I as h}from"./Icon-BD3fFj_K.js";import{P as y}from"./Paragraph-C4zYzItT.js";import{T as x}from"./Title-DSiraCpB.js";import{a as b}from"./accessibleText-gmNPjmn1.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";const i=({iconName:r,onPress:c,text:t,title:o,testID:a,accessibilityRole:p="button",variant:n,...d})=>e.jsx(g,{accessibilityLabel:b(o,typeof t=="string"?t:""),accessibilityLanguage:"nl-NL",accessibilityRole:p,onPress:c,testID:a,...d,insetHorizontal:"md",insetVertical:"sm",variant:"transparent",children:e.jsxs(u,{gutter:"md",children:[e.jsx(h,{color:n==="inverse"?"inverse":"link",name:r,size:"xl",testID:`${a}Icon`}),e.jsxs(f,{align:"center",grow:1,gutter:"xs",shrink:1,children:[e.jsx(u,{valign:"center",children:e.jsx(x,{color:n==="inverse"?"inverse":"link",level:"h4",testID:`${a}Title`,text:o,underline:!0})}),e.jsx(y,{color:n==="inverse"?"inverse":void 0,testID:`${a}Text`,variant:"small",children:t})]})]})});try{i.displayName="InformationButton",i.__docgenInfo={description:"",displayName:"InformationButton",props:{iconName:{defaultValue:null,description:"",name:"iconName",required:!0,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"inverse"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const re={component:i,argTypes:{onPress:{action:"onPress"}}},l={args:{iconName:"email",text:"Reactie binnen 1 werkdag",title:"Contactformulier"}};var s,v,m;l.parameters={...l.parameters,docs:{...(s=l.parameters)==null?void 0:s.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as g}from"./Pressable-0Of7HZos.js";import{C as f}from"./Column-CFK5NdwL.js";import{R as u}from"./Row-D-wvv0CV.js";import{I as h}from"./Icon-DzTBkJ4u.js";import{P as y}from"./Paragraph-DU14yVhW.js";import{T as x}from"./Title-CLDk-249.js";import{a as b}from"./accessibleText-gmNPjmn1.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";const i=({iconName:r,onPress:c,text:t,title:o,testID:a,accessibilityRole:p="button",variant:n,...d})=>e.jsx(g,{accessibilityLabel:b(o,typeof t=="string"?t:""),accessibilityLanguage:"nl-NL",accessibilityRole:p,onPress:c,testID:a,...d,insetHorizontal:"md",insetVertical:"sm",variant:"transparent",children:e.jsxs(u,{gutter:"md",children:[e.jsx(h,{color:n==="inverse"?"inverse":"link",name:r,size:"xl",testID:`${a}Icon`}),e.jsxs(f,{align:"center",grow:1,gutter:"xs",shrink:1,children:[e.jsx(u,{valign:"center",children:e.jsx(x,{color:n==="inverse"?"inverse":"link",level:"h4",testID:`${a}Title`,text:o,underline:!0})}),e.jsx(y,{color:n==="inverse"?"inverse":void 0,testID:`${a}Text`,variant:"small",children:t})]})]})});try{i.displayName="InformationButton",i.__docgenInfo={description:"",displayName:"InformationButton",props:{iconName:{defaultValue:null,description:"",name:"iconName",required:!0,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"inverse"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const re={component:i,argTypes:{onPress:{action:"onPress"}}},l={args:{iconName:"email",text:"Reactie binnen 1 werkdag",title:"Contactformulier"}};var s,v,m;l.parameters={...l.parameters,docs:{...(s=l.parameters)==null?void 0:s.docs,source:{originalSource:`{ args: { iconName: 'email', text: 'Reactie binnen 1 werkdag', diff --git a/assets/Label-C4_wptQZ.js b/assets/Label-DDhtsJHB.js similarity index 89% rename from assets/Label-C4_wptQZ.js rename to assets/Label-DDhtsJHB.js index fbba0ec8..1e529f15 100644 --- a/assets/Label-C4_wptQZ.js +++ b/assets/Label-DDhtsJHB.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{P as r}from"./Paragraph-C4zYzItT.js";import{V as s}from"./index-BP1Ij_Cs.js";const i=({isAccessible:e,text:t})=>a.jsx(s,{accessibilityElementsHidden:!e,accessibilityLanguage:"nl-NL",importantForAccessibility:e?"auto":"no-hide-descendants",children:a.jsx(r,{children:t})});try{i.displayName="Label",i.__docgenInfo={description:"",displayName:"Label",props:{isAccessible:{defaultValue:null,description:"",name:"isAccessible",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}}}}}catch{}export{i as L}; +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{P as r}from"./Paragraph-DU14yVhW.js";import{V as s}from"./index-BP1Ij_Cs.js";const i=({isAccessible:e,text:t})=>a.jsx(s,{accessibilityElementsHidden:!e,accessibilityLanguage:"nl-NL",importantForAccessibility:e?"auto":"no-hide-descendants",children:a.jsx(r,{children:t})});try{i.displayName="Label",i.__docgenInfo={description:"",displayName:"Label",props:{isAccessible:{defaultValue:null,description:"",name:"isAccessible",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}}}}}catch{}export{i as L}; diff --git a/assets/Label.stories-fn_1xDUO.js b/assets/Label.stories-BS5Vw2jo.js similarity index 84% rename from assets/Label.stories-fn_1xDUO.js rename to assets/Label.stories-BS5Vw2jo.js index db473ef4..7842af1a 100644 --- a/assets/Label.stories-fn_1xDUO.js +++ b/assets/Label.stories-BS5Vw2jo.js @@ -1,4 +1,4 @@ -import{L as a}from"./Label-C4_wptQZ.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Paragraph-C4zYzItT.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-kbHxBZ_W.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-BP1Ij_Cs.js";const L={component:a},t={args:{text:"Wat is de titel van je bericht?"}};var r,e,o;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{L as a}from"./Label-DDhtsJHB.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Paragraph-DU14yVhW.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-kbHxBZ_W.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-BP1Ij_Cs.js";const L={component:a},t={args:{text:"Wat is de titel van je bericht?"}};var r,e,o;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`{ args: { text: 'Wat is de titel van je bericht?' } diff --git a/assets/Link.stories-BkZj8ZoY.js b/assets/Link.stories-CHccDDk6.js similarity index 87% rename from assets/Link.stories-BkZj8ZoY.js rename to assets/Link.stories-CHccDDk6.js index 8bec0799..0e4de5f7 100644 --- a/assets/Link.stories-BkZj8ZoY.js +++ b/assets/Link.stories-CHccDDk6.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as f}from"./Pressable-kwatEfDj.js";import{c as x}from"./config-BZnShabN.js";import{R as h}from"./Row-D-wvv0CV.js";import{S as g}from"./Size-ByzkQpGs.js";import{I as k}from"./Icon-BD3fFj_K.js";import{P as j}from"./Phrase-Dnv5p-ah.js";import{D as a}from"./types-BJ_48vsK.js";import{u}from"./useTheme-ChTiG3MC.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";const n=({direction:r,external:m,testID:t})=>{const{text:o}=u(),l=m?"external-link":r===a.left?"chevron-left":"chevron-right";return e.jsx(g,{height:o.lineHeight.body,children:e.jsx(k,{color:"link",name:l,testID:t})})},s=({label:r,onPress:m,testID:t,variant:o="default"})=>{const{text:l}=u();return e.jsx(f,{accessibilityLabel:o==="external"?r+", opent in webbrowser":r,accessibilityRole:"link",hitSlop:(x.minTouchSize-l.lineHeight.body)/2,onPress:m,testID:t,children:e.jsxs(h,{gutter:"sm",valign:o!=="external"?"center":void 0,children:[o==="external"&&e.jsx(n,{external:!0,testID:`${t}Icon`}),o==="backward"&&e.jsx(n,{direction:a.left,testID:`${t}Icon`}),o==="default"&&e.jsx(n,{direction:a.right,testID:`${t}Icon`}),e.jsx(j,{color:"link",testID:`${t}Phrase`,children:r}),o==="forward"&&e.jsx(n,{direction:a.right,testID:`${t}Icon`})]})})};try{s.displayName="Link",s.__docgenInfo={description:"",displayName:"Link",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},variant:{defaultValue:{value:"default"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"backward"'},{value:'"forward"'},{value:'"external"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const ie={component:s},i=r=>e.jsx(s,{...r});i.args={label:"Klik mij ik ben een link",variant:"default"};var p,c,d;i.parameters={...i.parameters,docs:{...(p=i.parameters)==null?void 0:p.docs,source:{originalSource:"args => ",...(d=(c=i.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};const ne=["Default"];export{i as Default,ne as __namedExportsOrder,ie as default}; +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as f}from"./Pressable-0Of7HZos.js";import{c as x}from"./config-BZnShabN.js";import{R as h}from"./Row-D-wvv0CV.js";import{S as g}from"./Size-ByzkQpGs.js";import{I as k}from"./Icon-DzTBkJ4u.js";import{P as j}from"./Phrase-FY7SqhHh.js";import{D as a}from"./types-BJ_48vsK.js";import{u}from"./useTheme-ChTiG3MC.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";const n=({direction:r,external:m,testID:t})=>{const{text:o}=u(),l=m?"external-link":r===a.left?"chevron-left":"chevron-right";return e.jsx(g,{height:o.lineHeight.body,children:e.jsx(k,{color:"link",name:l,testID:t})})},s=({label:r,onPress:m,testID:t,variant:o="default"})=>{const{text:l}=u();return e.jsx(f,{accessibilityLabel:o==="external"?r+", opent in webbrowser":r,accessibilityRole:"link",hitSlop:(x.minTouchSize-l.lineHeight.body)/2,onPress:m,testID:t,children:e.jsxs(h,{gutter:"sm",valign:o!=="external"?"center":void 0,children:[o==="external"&&e.jsx(n,{external:!0,testID:`${t}Icon`}),o==="backward"&&e.jsx(n,{direction:a.left,testID:`${t}Icon`}),o==="default"&&e.jsx(n,{direction:a.right,testID:`${t}Icon`}),e.jsx(j,{color:"link",testID:`${t}Phrase`,children:r}),o==="forward"&&e.jsx(n,{direction:a.right,testID:`${t}Icon`})]})})};try{s.displayName="Link",s.__docgenInfo={description:"",displayName:"Link",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},variant:{defaultValue:{value:"default"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"backward"'},{value:'"forward"'},{value:'"external"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const ie={component:s},i=r=>e.jsx(s,{...r});i.args={label:"Klik mij ik ben een link",variant:"default"};var p,c,d;i.parameters={...i.parameters,docs:{...(p=i.parameters)==null?void 0:p.docs,source:{originalSource:"args => ",...(d=(c=i.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};const ne=["Default"];export{i as Default,ne as __namedExportsOrder,ie as default}; diff --git a/assets/List.stories-Cwg0zFyx.js b/assets/List.stories-Dn8Qdj6o.js similarity index 95% rename from assets/List.stories-Cwg0zFyx.js rename to assets/List.stories-Dn8Qdj6o.js index da3ac1d9..82814cfb 100644 --- a/assets/List.stories-Cwg0zFyx.js +++ b/assets/List.stories-Dn8Qdj6o.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{r as y}from"./index-mfbfsM12.js";import{S as g}from"./SingleSelectable-BAFROorM.js";import{C as _}from"./Column-CFK5NdwL.js";import{R as x}from"./Row-D-wvv0CV.js";import{P as I}from"./Phrase-Dnv5p-ah.js";import{L}from"./ListItemMarker-RMfNa45x.js";import{a as h}from"./accessibleText-gmNPjmn1.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-kbHxBZ_W.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./config-BZnShabN.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./index-BXDkY5MO.js";const m=({text:e,marker:r,testID:t})=>a.jsxs(x,{children:[a.jsx(L,{marker:r,testID:`${t}Marker`}),a.jsx(I,{testID:t,children:e})]});try{m.displayName="ListItem",m.__docgenInfo={description:"",displayName:"ListItem",props:{text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},marker:{defaultValue:null,description:"",name:"marker",required:!0,type:{name:"enum",value:[{value:'"check-mark"'},{value:'"square"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const b=e=>{const r=[],t=[];for(const s of e)typeof s=="string"?(r.push(s),t.push(s)):(r.push(s.text),t.push(s.accessibilityLabel));return{textItems:r,accessibilityLabelItems:t}},o=({items:e,marker:r="square",testID:t,accessibilityLanguage:s})=>{const{textItems:c,accessibilityLabelItems:d}=y.useMemo(()=>b(e),[e]);return a.jsx(g,{accessibilityLabel:h(...d),accessibilityLanguage:s,testID:t,children:a.jsx(_,{gutter:"md",children:c.map((p,f)=>a.jsx(m,{marker:r,testID:`${t}${f}Item`,text:p},p))})})};try{o.displayName="List",o.__docgenInfo={description:"",displayName:"List",props:{accessibilityLanguage:{defaultValue:null,description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},items:{defaultValue:null,description:"",name:"items",required:!0,type:{name:"Item[]"}},marker:{defaultValue:{value:"square"},description:"",name:"marker",required:!1,type:{name:"enum",value:[{value:'"check-mark"'},{value:'"square"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const J={component:o},i=e=>a.jsx(o,{...e});i.args={items:["Centrum","Nieuw-West","Noord","Oost","West","Zuid","Zuidoost","Weesp"],marker:"square"};var n,u,l;i.parameters={...i.parameters,docs:{...(n=i.parameters)==null?void 0:n.docs,source:{originalSource:"args => ",...(l=(u=i.parameters)==null?void 0:u.docs)==null?void 0:l.source}}};const K=["Default"];export{i as Default,K as __namedExportsOrder,J as default}; +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{r as y}from"./index-mfbfsM12.js";import{S as g}from"./SingleSelectable-BAFROorM.js";import{C as _}from"./Column-CFK5NdwL.js";import{R as x}from"./Row-D-wvv0CV.js";import{P as I}from"./Phrase-FY7SqhHh.js";import{L}from"./ListItemMarker--j-mu3eN.js";import{a as h}from"./accessibleText-gmNPjmn1.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-kbHxBZ_W.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./config-BZnShabN.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./index-BXDkY5MO.js";const m=({text:e,marker:r,testID:t})=>a.jsxs(x,{children:[a.jsx(L,{marker:r,testID:`${t}Marker`}),a.jsx(I,{testID:t,children:e})]});try{m.displayName="ListItem",m.__docgenInfo={description:"",displayName:"ListItem",props:{text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},marker:{defaultValue:null,description:"",name:"marker",required:!0,type:{name:"enum",value:[{value:'"check-mark"'},{value:'"square"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const b=e=>{const r=[],t=[];for(const s of e)typeof s=="string"?(r.push(s),t.push(s)):(r.push(s.text),t.push(s.accessibilityLabel));return{textItems:r,accessibilityLabelItems:t}},o=({items:e,marker:r="square",testID:t,accessibilityLanguage:s})=>{const{textItems:c,accessibilityLabelItems:d}=y.useMemo(()=>b(e),[e]);return a.jsx(g,{accessibilityLabel:h(...d),accessibilityLanguage:s,testID:t,children:a.jsx(_,{gutter:"md",children:c.map((p,f)=>a.jsx(m,{marker:r,testID:`${t}${f}Item`,text:p},p))})})};try{o.displayName="List",o.__docgenInfo={description:"",displayName:"List",props:{accessibilityLanguage:{defaultValue:null,description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},items:{defaultValue:null,description:"",name:"items",required:!0,type:{name:"Item[]"}},marker:{defaultValue:{value:"square"},description:"",name:"marker",required:!1,type:{name:"enum",value:[{value:'"check-mark"'},{value:'"square"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const J={component:o},i=e=>a.jsx(o,{...e});i.args={items:["Centrum","Nieuw-West","Noord","Oost","West","Zuid","Zuidoost","Weesp"],marker:"square"};var n,u,l;i.parameters={...i.parameters,docs:{...(n=i.parameters)==null?void 0:n.docs,source:{originalSource:"args => ",...(l=(u=i.parameters)==null?void 0:u.docs)==null?void 0:l.source}}};const K=["Default"];export{i as Default,K as __namedExportsOrder,J as default}; diff --git a/assets/ListItemMarker-RMfNa45x.js b/assets/ListItemMarker--j-mu3eN.js similarity index 94% rename from assets/ListItemMarker-RMfNa45x.js rename to assets/ListItemMarker--j-mu3eN.js index cc88b573..ace1c472 100644 --- a/assets/ListItemMarker-RMfNa45x.js +++ b/assets/ListItemMarker--j-mu3eN.js @@ -1 +1 @@ -import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{r as m}from"./index-mfbfsM12.js";import{c as n}from"./config-BZnShabN.js";import{P as c}from"./Phrase-Dnv5p-ah.js";import{u}from"./useDeviceContext-Cm8FgCCV.js";import{V as d}from"./index-BP1Ij_Cs.js";import{s as p}from"./index-kbHxBZ_W.js";var s=(e=>(e["check-mark"]="√",e.square="•",e))(s||{});const a=({additionalStyles:e,marker:i,testID:o})=>{const{fontScale:r}=u(),l=m.useMemo(()=>f(r),[r]);return t.jsx(d,{style:[l.marker,e],children:t.jsx(c,{accessible:!1,importantForAccessibility:"no",testID:o,children:s[i]})})},f=e=>p.create({marker:{width:n.listItemMarkerBoxWidth*e,alignItems:"center",alignSelf:"flex-start"}});try{a.displayName="ListItemMarker",a.__docgenInfo={description:"",displayName:"ListItemMarker",props:{additionalStyles:{defaultValue:null,description:"",name:"additionalStyles",required:!1,type:{name:"ViewStyle"}},marker:{defaultValue:null,description:"",name:"marker",required:!0,type:{name:"enum",value:[{value:'"check-mark"'},{value:'"square"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{a as L}; +import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{r as m}from"./index-mfbfsM12.js";import{c as n}from"./config-BZnShabN.js";import{P as c}from"./Phrase-FY7SqhHh.js";import{u}from"./useDeviceContext-Cm8FgCCV.js";import{V as d}from"./index-BP1Ij_Cs.js";import{s as p}from"./index-kbHxBZ_W.js";var s=(e=>(e["check-mark"]="√",e.square="•",e))(s||{});const a=({additionalStyles:e,marker:i,testID:o})=>{const{fontScale:r}=u(),l=m.useMemo(()=>f(r),[r]);return t.jsx(d,{style:[l.marker,e],children:t.jsx(c,{accessible:!1,importantForAccessibility:"no",testID:o,children:s[i]})})},f=e=>p.create({marker:{width:n.listItemMarkerBoxWidth*e,alignItems:"center",alignSelf:"flex-start"}});try{a.displayName="ListItemMarker",a.__docgenInfo={description:"",displayName:"ListItemMarker",props:{additionalStyles:{defaultValue:null,description:"",name:"additionalStyles",required:!1,type:{name:"ViewStyle"}},marker:{defaultValue:null,description:"",name:"marker",required:!0,type:{name:"enum",value:[{value:'"check-mark"'},{value:'"square"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{a as L}; diff --git a/assets/NavigationButton.stories-Dm9S6DXP.js b/assets/NavigationButton.stories-CgHM-b0o.js similarity index 94% rename from assets/NavigationButton.stories-Dm9S6DXP.js rename to assets/NavigationButton.stories-CgHM-b0o.js index b5a0d4eb..2238f761 100644 --- a/assets/NavigationButton.stories-Dm9S6DXP.js +++ b/assets/NavigationButton.stories-CgHM-b0o.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as L}from"./Pressable-kwatEfDj.js";import{B as N}from"./Box-CEQ9kk6v.js";import{R as m}from"./Row-D-wvv0CV.js";import{I as n}from"./Icon-BD3fFj_K.js";import{P as B}from"./Phrase-Dnv5p-ah.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./layoutStyles-hLwHoe51.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";const s=({direction:i="forward",emphasis:q="strong",icon:u,iconSize:c="lg",label:I,onPress:_,testID:a,accessibilityRole:j="link",accessibilityLanguage:P="nl-NL"})=>e.jsx(L,{accessibilityLanguage:P,accessibilityRole:j,onPress:_,testID:a,children:e.jsx(N,{insetHorizontal:"md",insetVertical:"sm",children:e.jsxs(m,{align:"between",gutter:"md",valign:"center",children:[i==="backward"&&e.jsx(n,{color:"link",name:"chevron-left",size:c,testID:`${a}Icon`}),e.jsxs(m,{gutter:"md",valign:"center",children:[!!u&&e.jsx(n,{color:"link",name:u,size:"lg",testID:`${a}Icon`}),e.jsx(B,{color:"link",emphasis:q,testID:"NavigationButtonLabel",children:I})]}),i==="forward"&&e.jsx(n,{color:"link",name:"chevron-right",size:c,testID:`${a}Icon`})]})})});try{s.displayName="NavigationButton",s.__docgenInfo={description:"",displayName:"NavigationButton",props:{accessibilityLanguage:{defaultValue:{value:"nl-NL"},description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},accessibilityRole:{defaultValue:{value:"link"},description:"",name:"accessibilityRole",required:!1,type:{name:"enum",value:[{value:'"button"'},{value:'"link"'}]}},direction:{defaultValue:{value:"forward"},description:"",name:"direction",required:!1,type:{name:"enum",value:[{value:'"backward"'},{value:'"forward"'}]}},emphasis:{defaultValue:{value:"strong"},description:"",name:"emphasis",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"strong"'}]}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},iconSize:{defaultValue:{value:"lg"},description:"",name:"iconSize",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'},{value:'"ml"'}]}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const de={component:s,argTypes:{onPress:{action:"onPress"}}},r={args:{label:"Label"}},l={args:{icon:"alert",label:"Met icoon"}},o={args:{emphasis:"default",label:"Minder nadruk"}},t={args:{direction:"backward",label:"Vorige"}};var p,v,d;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as L}from"./Pressable-0Of7HZos.js";import{B as N}from"./Box-CEQ9kk6v.js";import{R as m}from"./Row-D-wvv0CV.js";import{I as n}from"./Icon-DzTBkJ4u.js";import{P as B}from"./Phrase-FY7SqhHh.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./layoutStyles-hLwHoe51.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";const s=({direction:i="forward",emphasis:q="strong",icon:u,iconSize:c="lg",label:I,onPress:_,testID:a,accessibilityRole:j="link",accessibilityLanguage:P="nl-NL"})=>e.jsx(L,{accessibilityLanguage:P,accessibilityRole:j,onPress:_,testID:a,children:e.jsx(N,{insetHorizontal:"md",insetVertical:"sm",children:e.jsxs(m,{align:"between",gutter:"md",valign:"center",children:[i==="backward"&&e.jsx(n,{color:"link",name:"chevron-left",size:c,testID:`${a}Icon`}),e.jsxs(m,{gutter:"md",valign:"center",children:[!!u&&e.jsx(n,{color:"link",name:u,size:"lg",testID:`${a}Icon`}),e.jsx(B,{color:"link",emphasis:q,testID:"NavigationButtonLabel",children:I})]}),i==="forward"&&e.jsx(n,{color:"link",name:"chevron-right",size:c,testID:`${a}Icon`})]})})});try{s.displayName="NavigationButton",s.__docgenInfo={description:"",displayName:"NavigationButton",props:{accessibilityLanguage:{defaultValue:{value:"nl-NL"},description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},accessibilityRole:{defaultValue:{value:"link"},description:"",name:"accessibilityRole",required:!1,type:{name:"enum",value:[{value:'"button"'},{value:'"link"'}]}},direction:{defaultValue:{value:"forward"},description:"",name:"direction",required:!1,type:{name:"enum",value:[{value:'"backward"'},{value:'"forward"'}]}},emphasis:{defaultValue:{value:"strong"},description:"",name:"emphasis",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"strong"'}]}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},iconSize:{defaultValue:{value:"lg"},description:"",name:"iconSize",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'},{value:'"ml"'}]}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const de={component:s,argTypes:{onPress:{action:"onPress"}}},r={args:{label:"Label"}},l={args:{icon:"alert",label:"Met icoon"}},o={args:{emphasis:"default",label:"Minder nadruk"}},t={args:{direction:"backward",label:"Vorige"}};var p,v,d;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { label: 'Label' } diff --git a/assets/NotificationHistoryEmpty.stories-BJWiKhj2.js b/assets/NotificationHistoryEmpty.stories-Vj_vQYJL.js similarity index 98% rename from assets/NotificationHistoryEmpty.stories-BJWiKhj2.js rename to assets/NotificationHistoryEmpty.stories-Vj_vQYJL.js index 82a0b1a2..3bb8c0a8 100644 --- a/assets/NotificationHistoryEmpty.stories-BJWiKhj2.js +++ b/assets/NotificationHistoryEmpty.stories-Vj_vQYJL.js @@ -1 +1 @@ -import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{r as e}from"./index-mfbfsM12.js";import{B as a}from"./Box-CEQ9kk6v.js";import{S as s}from"./SingleSelectable-BAFROorM.js";import{C as r}from"./Column-CFK5NdwL.js";import{G as p}from"./Gutter-BrZ2VZou.js";import{F as h}from"./FigureWithFacadesBackground-BWm7kzMv.js";import{P as o}from"./Paragraph-C4zYzItT.js";import{T as d}from"./Title-DSiraCpB.js";import"./_commonjsHelpers-BosuxZz1.js";import"./layoutStyles-hLwHoe51.js";import"./index-kbHxBZ_W.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DbcoTUCW.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./index-BXDkY5MO.js";import"./index-CAyeAlm6.js";const f=n=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 235 251",...n},e.createElement("g",{clipPath:"url(#a)"},e.createElement("mask",{id:"b",width:235,height:251,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},e.createElement("path",{fill:"#fff",d:"M0 0h235v251H0V0Z"})),e.createElement("g",{mask:"url(#b)"},e.createElement("path",{fill:"#161112",d:"m32.733 251.441 24.109.04.012-7.658a6.163 6.163 0 0 0-6.147-6.177 6.098 6.098 0 0 0-2.599.578l-.002.001-7.962 2.879a11.246 11.246 0 0 0-7.411 10.337Z"}),e.createElement("path",{fill:"#161112",d:"m43.138 199.137-.003-.128a9.037 9.037 0 0 1 .003-.577c.195-4.943 4.355-8.794 9.293-8.599 4.938.196 8.781 4.363 8.586 9.306a9.26 9.26 0 0 1-.024.387l-.003.038a3.139 3.139 0 0 1-.007.08l-4.114 44.914a6.163 6.163 0 0 1-6.378 5.645 6.164 6.164 0 0 1-5.91-5.912v-.033l-1.443-45.121Z"}),e.createElement("path",{fill:"#161112",d:"M41.696 154.042a11.79 11.79 0 0 1 .003-.851c.256-6.484 5.707-11.529 12.182-11.273 6.474.256 11.511 5.715 11.256 12.2-.01.239-.026.476-.05.711l-4.094 44.697c-.39 4.757-4.46 8.404-9.268 8.214-4.745-.188-8.48-4.043-8.591-8.732l-1.436-44.911-.002-.055ZM94.835 240.081l-7.987-2.808-.002-.001a6.101 6.101 0 0 0-2.604-.554 6.164 6.164 0 0 0-6.092 6.231l.08 7.658 24.108-.256a11.248 11.248 0 0 0-7.503-10.27Z"}),e.createElement("path",{fill:"#161112",d:"m84.752 197.516-.017-.127a8.611 8.611 0 0 0-.093-.568c-.967-4.852-5.678-8.002-10.525-7.034-4.846.968-7.99 5.688-7.023 10.539.026.128.054.254.084.379l.01.037.019.077L78.3 244.532a6.158 6.158 0 0 0 7.183 4.573 6.167 6.167 0 0 0 4.911-6.766l-.001-.012-.003-.021-5.639-44.79Z"}),e.createElement("path",{fill:"#161112",d:"M79.117 152.753c-.036-.279-.081-.56-.137-.84-1.268-6.365-7.441-10.491-13.795-9.221-6.355 1.27-10.475 7.452-9.207 13.817.047.234.1.466.16.694l11.04 43.502c1.13 4.636 5.72 7.599 10.44 6.656 4.657-.931 7.741-5.324 7.118-9.972l-5.613-44.582-.006-.054Z"}),e.createElement("path",{fill:"#161112",d:"M79.197 154.675c.408-10.37-7.653-19.11-18.008-19.519-10.355-.41-19.08 7.665-19.49 18.035l37.498 1.484ZM4.174 28.366c5.337 1.13 8.805 6.314 7.816 11.687l-.932 4.927c-.01.048-.018.097-.029.145A5.277 5.277 0 1 1 .734 42.8l3.44-14.434Z"}),e.createElement("path",{fill:"#161112",d:"M3.46 39.327a5.273 5.273 0 0 1 7.047 2.19l15.737 28.848.076.144a6.172 6.172 0 0 1-2.676 8.302 6.153 6.153 0 0 1-8.36-2.825L1.114 46.332a5.288 5.288 0 0 1 2.347-7.005Z"}),e.createElement("path",{fill:"#00AEEF",d:"M17.79 67.96a6.153 6.153 0 0 1 8.318 2.168L43.02 98.104a7.052 7.052 0 0 1-2.529 9.79c-3.378 1.927 1.396 16.798-.528 13.414-.034-.06-9.135-16.172-9.167-16.233L15.407 76.23a6.172 6.172 0 0 1 2.383-8.27Z"}),e.createElement("path",{fill:"#161112",d:"M98.168 26.994c-5.273 1.401-8.471 6.756-7.21 12.072l1.182 4.872.036.143a5.276 5.276 0 0 0 6.454 3.754 5.287 5.287 0 0 0 3.709-6.602l-4.171-14.239Z"}),e.createElement("path",{fill:"#161112",d:"M97.191 37.44A5.28 5.28 0 0 0 92 42.692l-.344 32.873v.162a6.162 6.162 0 0 0 6.26 6.066 6.163 6.163 0 0 0 6.057-6.268l-.006-.162-1.417-32.844a5.28 5.28 0 0 0-5.359-5.077Z"}),e.createElement("path",{fill:"#00AEEF",d:"M102.227 71.323a6.15 6.15 0 0 0-8.592-.23L69.631 93.265l-.15.142a7.054 7.054 0 0 0-.135 9.966c2.712 2.791-7.59 18.257-4.804 15.542.05-.048 14.853-15.504 14.9-15.554l22.782-23.43h-.001a6.172 6.172 0 0 0 .004-8.608Z"}),e.createElement("g",{style:{mixBlendMode:"multiply"}},e.createElement("mask",{id:"c",width:34,height:34,x:38,y:56,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},e.createElement("path",{fill:"#fff",d:"M38.974 89.125h32.853V56.221H38.974v32.904Z"})),e.createElement("g",{mask:"url(#c)"},e.createElement("path",{fill:"#161112",d:"M38.98 73.112c-.242-9.082 6.914-16.642 15.982-16.885 9.07-.242 16.617 6.926 16.859 16.008.242 9.083-6.914 16.642-15.983 16.884-9.068.243-16.616-6.924-16.858-16.007Z"}))),e.createElement("path",{fill:"#00AEEF",d:"M80.72 95.38a7.03 7.03 0 0 0-6.95-3.937v-.006L36.502 94.74c-.019 0-.037.003-.055.005l-.06.005v.002a7.038 7.038 0 0 0-6.236 5.43c-.875 3.794 1.483 7.577 5.271 8.455a7.008 7.008 0 0 0 2.206.153l4.173 47.266c.434 4.912 4.762 8.543 9.667 8.108l19.62-1.738c4.904-.435 8.53-4.769 8.096-9.682l-4.174-47.271a6.996 6.996 0 0 0 2.453-.674 7.052 7.052 0 0 0 3.257-9.418Z"})),e.createElement("mask",{id:"d",width:235,height:251,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},e.createElement("path",{fill:"#fff",d:"M0 0h235v251H0V0Z"})),e.createElement("g",{mask:"url(#d)"},e.createElement("path",{fill:"#161112",d:"m219.075 224.583-8.407-22.629-7.166 2.67a6.17 6.17 0 0 0-3.623 7.93 6.127 6.127 0 0 0 1.45 2.236l.001.001 5.483 6.461a11.216 11.216 0 0 0 12.262 3.331Z"}),e.createElement("path",{fill:"#161112",d:"M160.69 203.578a9.703 9.703 0 0 1-.668-.22c-4.626-1.733-6.977-6.895-5.247-11.531 1.731-4.636 6.886-6.988 11.512-5.256.122.046.241.094.36.144l.034.015.074.032 41.305 17.967a6.174 6.174 0 0 1 3.358 7.834 6.156 6.156 0 0 1-7.456 3.771l-.011-.003-.021-.006-43.24-12.747Z"}),e.createElement("path",{fill:"#161112",d:"M129.885 163.345c-.162-.23-.318-.467-.465-.712-3.353-5.554-1.578-12.771 3.967-16.128 5.545-3.358 12.752-1.58 16.105 3.973.123.205.239.412.349.62l21.162 39.566c2.29 4.186.899 9.475-3.219 11.969-4.063 2.46-9.3 1.302-11.972-2.55l-25.896-36.693-.031-.045ZM225.828 193.906l-7.658-3.613-.002-.001a6.09 6.09 0 0 0-2.533-.819 6.163 6.163 0 0 0-6.698 5.574l-.702 7.626 24.006 2.219a11.248 11.248 0 0 0-6.413-10.986Z"}),e.createElement("path",{fill:"#161112",d:"m206.336 150.917-.042-.121a8.854 8.854 0 0 0-.206-.538c-1.926-4.555-7.176-6.686-11.727-4.757-4.551 1.93-6.676 7.189-4.75 11.745.05.12.104.237.159.353l.016.034.034.072 19.692 40.563a6.155 6.155 0 0 0 7.957 3.025 6.172 6.172 0 0 0 3.443-7.622l-.003-.011-.007-.02-14.566-42.723Z"}),e.createElement("path",{fill:"#161112",d:"M153.966 140.395c-.28-.027-.563-.045-.848-.053-6.478-.176-11.866 4.934-12.042 11.421-.177 6.488 4.926 11.886 11.404 12.062.238.007.475.006.711-.002l44.801-1.112c4.765-.073 8.67-3.897 8.801-8.715.128-4.754-3.463-8.743-8.126-9.168L154.02 140.4l-.054-.005Z"}),e.createElement("path",{fill:"#161112",d:"M163.921 148.357c-3.289-9.843-13.92-15.151-23.748-11.858-9.826 3.293-15.127 13.942-11.839 23.784l35.587-11.926Z"}),e.createElement("path",{fill:"#00AEEF",d:"m166.615 137.428-37.357-3.627-5.589 54.194c10.498 2.59 52.904-9.474 74.998-43.166l-32.052-7.401Z"}),e.createElement("path",{fill:"#161112",d:"M117.808 28.295c4.863 2.477 6.869 8.384 4.523 13.318l-2.176 4.516a5.273 5.273 0 0 1-7.162 2.447 5.29 5.29 0 0 1-2.245-7.234l7.06-13.047Z"}),e.createElement("path",{fill:"#161112",d:"M116.412 38.68a5.285 5.285 0 0 1 4.173 6.093L115.07 77.18l-.03.16a6.158 6.158 0 0 1-7.239 4.851 6.167 6.167 0 0 1-4.81-7.409l7.243-32.063a5.277 5.277 0 0 1 6.178-4.04Z"}),e.createElement("path",{fill:"#161112",d:"M104.54 71.882a6.151 6.151 0 0 1 8.589-.32l24.232 21.923.152.14a7.055 7.055 0 0 1 .238 9.965 7.028 7.028 0 0 1-9.949.238c-.049-.048-.099-.096-.147-.145L104.633 80.49a6.174 6.174 0 0 1-.093-8.608ZM197.712 27.115c-5.437.45-9.525 5.158-9.216 10.614l.308 5.004.01.147a5.279 5.279 0 0 0 5.695 4.832 5.282 5.282 0 0 0 4.81-5.845l-1.607-14.752Z"}),e.createElement("path",{fill:"#161112",d:"M195.135 37.267a5.277 5.277 0 0 0-6.206 3.995l-7.464 32.013a6.167 6.167 0 0 0 4.759 7.442 6.157 6.157 0 0 0 7.303-4.96l5.739-32.368a5.285 5.285 0 0 0-4.131-6.122Z"}),e.createElement("path",{fill:"#161112",d:"M190.752 69.46a6.152 6.152 0 0 0-8.408 1.785l-18.172 27.172a7.053 7.053 0 0 0 2.079 9.896 7.028 7.028 0 0 0 9.814-2.372l16.69-28.11a6.174 6.174 0 0 0-2.003-8.371Z"}),e.createElement("g",{style:{mixBlendMode:"multiply"}},e.createElement("mask",{id:"e",width:34,height:34,x:135,y:56,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},e.createElement("path",{fill:"#fff",d:"M135.959 89.578h32.854V56.673h-32.854v32.905Z"})),e.createElement("g",{mask:"url(#e)"},e.createElement("path",{fill:"#161112",d:"M135.98 72.298c.457-9.074 8.173-16.06 17.233-15.603 9.06.457 16.035 8.185 15.578 17.259-.456 9.074-8.171 16.06-17.232 15.603-9.06-.457-16.036-8.184-15.579-17.26Z"}))),e.createElement("path",{fill:"#161112",d:"M135.98 72.298c.447-8.874 7.838-15.748 16.638-15.618a13.164 13.164 0 0 0-9.483-4.745c-7.288-.37-13.495 5.252-13.862 12.553-.013.25-.016.5-.015.75-.025.177-.041.349-.049.515-.242 4.808 3.324 17.353-6.441 19.162 7.68 5.535 14.974 2.06 16.256-2.226a16.398 16.398 0 0 1-3.044-10.391Z"}),e.createElement("path",{fill:"#00AEEF",d:"m126.998 102.96 10.014 12.741 1.074-7.63-11.088-5.111ZM175.848 106.4l-10.921 17.434.727-12.707 10.194-4.727Z"}),e.createElement("path",{fill:"#00AEEF",d:"M176.797 100.492a7.037 7.037 0 0 0-6.109-5.148l.001-.006-10.267-.997c-1.47 2.357-5.289 3.795-9.594 3.369-4.283-.424-7.734-2.565-8.733-5.148l-8.646-.84-.055-.004-.059-.006v.002a7.034 7.034 0 0 0-7.127 4.19 7.052 7.052 0 0 0 3.63 9.281c.699.306 1.42.485 2.139.556l-4.57 47.229c-.475 4.909 3.113 9.274 8.014 9.75l19.604 1.903c4.901.475 9.26-3.118 9.735-8.027l4.571-47.234a6.996 6.996 0 0 0 2.536-.211c3.75-1.028 5.956-4.903 4.93-8.659Z"})),e.createElement("path",{stroke:"#161112",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:3,d:"M97.773 15.116 91.91 8.46M105.059 12.519l-1.18-8.798M112.468 14.374l4.004-7.92"}),e.createElement("mask",{id:"f",width:235,height:251,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},e.createElement("path",{fill:"#fff",d:"M0 0h235v251H0V0Z"})),e.createElement("g",{fill:"#B6B8BA",mask:"url(#f)"},e.createElement("path",{d:"M150.703 247.809h70.218a.912.912 0 0 0 0-1.827h-70.218a.912.912 0 0 0 0 1.827ZM163.934 251.008h70.218a.913.913 0 0 0 .912-.914.913.913 0 0 0-.912-.914h-70.218a.914.914 0 0 0 0 1.828Z"}))),e.createElement("defs",null,e.createElement("clipPath",{id:"a"},e.createElement("path",{fill:"#fff",d:"M0 0h235v251H0z"})))),E=()=>t.jsxs(a,{grow:!0,inset:"no",testID:"NotificationHistoryEmptyContainer",children:[t.jsxs(a,{children:[t.jsx(p,{height:"xxl"}),t.jsx(s,{children:t.jsxs(r,{halign:"center",children:[t.jsx(d,{level:"h2",text:"U heeft geen meldingen"}),t.jsx(o,{variant:"intro",children:"In de afgelopen 30 dagen"})]})})]}),t.jsx(r,{align:"center",grow:1,children:t.jsx(h,{testID:"NotificationHistoryEmptyImage",children:t.jsx(f,{})})})]}),W={component:E},l={};var m,i,c;l.parameters={...l.parameters,docs:{...(m=l.parameters)==null?void 0:m.docs,source:{originalSource:"{}",...(c=(i=l.parameters)==null?void 0:i.docs)==null?void 0:c.source}}};const _=["Default"];export{l as Default,_ as __namedExportsOrder,W as default}; +import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{r as e}from"./index-mfbfsM12.js";import{B as a}from"./Box-CEQ9kk6v.js";import{S as s}from"./SingleSelectable-BAFROorM.js";import{C as r}from"./Column-CFK5NdwL.js";import{G as p}from"./Gutter-BrZ2VZou.js";import{F as h}from"./FigureWithFacadesBackground-BWm7kzMv.js";import{P as o}from"./Paragraph-DU14yVhW.js";import{T as d}from"./Title-CLDk-249.js";import"./_commonjsHelpers-BosuxZz1.js";import"./layoutStyles-hLwHoe51.js";import"./index-kbHxBZ_W.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-DbcoTUCW.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./index-BXDkY5MO.js";import"./index-CAyeAlm6.js";const f=n=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 235 251",...n},e.createElement("g",{clipPath:"url(#a)"},e.createElement("mask",{id:"b",width:235,height:251,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},e.createElement("path",{fill:"#fff",d:"M0 0h235v251H0V0Z"})),e.createElement("g",{mask:"url(#b)"},e.createElement("path",{fill:"#161112",d:"m32.733 251.441 24.109.04.012-7.658a6.163 6.163 0 0 0-6.147-6.177 6.098 6.098 0 0 0-2.599.578l-.002.001-7.962 2.879a11.246 11.246 0 0 0-7.411 10.337Z"}),e.createElement("path",{fill:"#161112",d:"m43.138 199.137-.003-.128a9.037 9.037 0 0 1 .003-.577c.195-4.943 4.355-8.794 9.293-8.599 4.938.196 8.781 4.363 8.586 9.306a9.26 9.26 0 0 1-.024.387l-.003.038a3.139 3.139 0 0 1-.007.08l-4.114 44.914a6.163 6.163 0 0 1-6.378 5.645 6.164 6.164 0 0 1-5.91-5.912v-.033l-1.443-45.121Z"}),e.createElement("path",{fill:"#161112",d:"M41.696 154.042a11.79 11.79 0 0 1 .003-.851c.256-6.484 5.707-11.529 12.182-11.273 6.474.256 11.511 5.715 11.256 12.2-.01.239-.026.476-.05.711l-4.094 44.697c-.39 4.757-4.46 8.404-9.268 8.214-4.745-.188-8.48-4.043-8.591-8.732l-1.436-44.911-.002-.055ZM94.835 240.081l-7.987-2.808-.002-.001a6.101 6.101 0 0 0-2.604-.554 6.164 6.164 0 0 0-6.092 6.231l.08 7.658 24.108-.256a11.248 11.248 0 0 0-7.503-10.27Z"}),e.createElement("path",{fill:"#161112",d:"m84.752 197.516-.017-.127a8.611 8.611 0 0 0-.093-.568c-.967-4.852-5.678-8.002-10.525-7.034-4.846.968-7.99 5.688-7.023 10.539.026.128.054.254.084.379l.01.037.019.077L78.3 244.532a6.158 6.158 0 0 0 7.183 4.573 6.167 6.167 0 0 0 4.911-6.766l-.001-.012-.003-.021-5.639-44.79Z"}),e.createElement("path",{fill:"#161112",d:"M79.117 152.753c-.036-.279-.081-.56-.137-.84-1.268-6.365-7.441-10.491-13.795-9.221-6.355 1.27-10.475 7.452-9.207 13.817.047.234.1.466.16.694l11.04 43.502c1.13 4.636 5.72 7.599 10.44 6.656 4.657-.931 7.741-5.324 7.118-9.972l-5.613-44.582-.006-.054Z"}),e.createElement("path",{fill:"#161112",d:"M79.197 154.675c.408-10.37-7.653-19.11-18.008-19.519-10.355-.41-19.08 7.665-19.49 18.035l37.498 1.484ZM4.174 28.366c5.337 1.13 8.805 6.314 7.816 11.687l-.932 4.927c-.01.048-.018.097-.029.145A5.277 5.277 0 1 1 .734 42.8l3.44-14.434Z"}),e.createElement("path",{fill:"#161112",d:"M3.46 39.327a5.273 5.273 0 0 1 7.047 2.19l15.737 28.848.076.144a6.172 6.172 0 0 1-2.676 8.302 6.153 6.153 0 0 1-8.36-2.825L1.114 46.332a5.288 5.288 0 0 1 2.347-7.005Z"}),e.createElement("path",{fill:"#00AEEF",d:"M17.79 67.96a6.153 6.153 0 0 1 8.318 2.168L43.02 98.104a7.052 7.052 0 0 1-2.529 9.79c-3.378 1.927 1.396 16.798-.528 13.414-.034-.06-9.135-16.172-9.167-16.233L15.407 76.23a6.172 6.172 0 0 1 2.383-8.27Z"}),e.createElement("path",{fill:"#161112",d:"M98.168 26.994c-5.273 1.401-8.471 6.756-7.21 12.072l1.182 4.872.036.143a5.276 5.276 0 0 0 6.454 3.754 5.287 5.287 0 0 0 3.709-6.602l-4.171-14.239Z"}),e.createElement("path",{fill:"#161112",d:"M97.191 37.44A5.28 5.28 0 0 0 92 42.692l-.344 32.873v.162a6.162 6.162 0 0 0 6.26 6.066 6.163 6.163 0 0 0 6.057-6.268l-.006-.162-1.417-32.844a5.28 5.28 0 0 0-5.359-5.077Z"}),e.createElement("path",{fill:"#00AEEF",d:"M102.227 71.323a6.15 6.15 0 0 0-8.592-.23L69.631 93.265l-.15.142a7.054 7.054 0 0 0-.135 9.966c2.712 2.791-7.59 18.257-4.804 15.542.05-.048 14.853-15.504 14.9-15.554l22.782-23.43h-.001a6.172 6.172 0 0 0 .004-8.608Z"}),e.createElement("g",{style:{mixBlendMode:"multiply"}},e.createElement("mask",{id:"c",width:34,height:34,x:38,y:56,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},e.createElement("path",{fill:"#fff",d:"M38.974 89.125h32.853V56.221H38.974v32.904Z"})),e.createElement("g",{mask:"url(#c)"},e.createElement("path",{fill:"#161112",d:"M38.98 73.112c-.242-9.082 6.914-16.642 15.982-16.885 9.07-.242 16.617 6.926 16.859 16.008.242 9.083-6.914 16.642-15.983 16.884-9.068.243-16.616-6.924-16.858-16.007Z"}))),e.createElement("path",{fill:"#00AEEF",d:"M80.72 95.38a7.03 7.03 0 0 0-6.95-3.937v-.006L36.502 94.74c-.019 0-.037.003-.055.005l-.06.005v.002a7.038 7.038 0 0 0-6.236 5.43c-.875 3.794 1.483 7.577 5.271 8.455a7.008 7.008 0 0 0 2.206.153l4.173 47.266c.434 4.912 4.762 8.543 9.667 8.108l19.62-1.738c4.904-.435 8.53-4.769 8.096-9.682l-4.174-47.271a6.996 6.996 0 0 0 2.453-.674 7.052 7.052 0 0 0 3.257-9.418Z"})),e.createElement("mask",{id:"d",width:235,height:251,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},e.createElement("path",{fill:"#fff",d:"M0 0h235v251H0V0Z"})),e.createElement("g",{mask:"url(#d)"},e.createElement("path",{fill:"#161112",d:"m219.075 224.583-8.407-22.629-7.166 2.67a6.17 6.17 0 0 0-3.623 7.93 6.127 6.127 0 0 0 1.45 2.236l.001.001 5.483 6.461a11.216 11.216 0 0 0 12.262 3.331Z"}),e.createElement("path",{fill:"#161112",d:"M160.69 203.578a9.703 9.703 0 0 1-.668-.22c-4.626-1.733-6.977-6.895-5.247-11.531 1.731-4.636 6.886-6.988 11.512-5.256.122.046.241.094.36.144l.034.015.074.032 41.305 17.967a6.174 6.174 0 0 1 3.358 7.834 6.156 6.156 0 0 1-7.456 3.771l-.011-.003-.021-.006-43.24-12.747Z"}),e.createElement("path",{fill:"#161112",d:"M129.885 163.345c-.162-.23-.318-.467-.465-.712-3.353-5.554-1.578-12.771 3.967-16.128 5.545-3.358 12.752-1.58 16.105 3.973.123.205.239.412.349.62l21.162 39.566c2.29 4.186.899 9.475-3.219 11.969-4.063 2.46-9.3 1.302-11.972-2.55l-25.896-36.693-.031-.045ZM225.828 193.906l-7.658-3.613-.002-.001a6.09 6.09 0 0 0-2.533-.819 6.163 6.163 0 0 0-6.698 5.574l-.702 7.626 24.006 2.219a11.248 11.248 0 0 0-6.413-10.986Z"}),e.createElement("path",{fill:"#161112",d:"m206.336 150.917-.042-.121a8.854 8.854 0 0 0-.206-.538c-1.926-4.555-7.176-6.686-11.727-4.757-4.551 1.93-6.676 7.189-4.75 11.745.05.12.104.237.159.353l.016.034.034.072 19.692 40.563a6.155 6.155 0 0 0 7.957 3.025 6.172 6.172 0 0 0 3.443-7.622l-.003-.011-.007-.02-14.566-42.723Z"}),e.createElement("path",{fill:"#161112",d:"M153.966 140.395c-.28-.027-.563-.045-.848-.053-6.478-.176-11.866 4.934-12.042 11.421-.177 6.488 4.926 11.886 11.404 12.062.238.007.475.006.711-.002l44.801-1.112c4.765-.073 8.67-3.897 8.801-8.715.128-4.754-3.463-8.743-8.126-9.168L154.02 140.4l-.054-.005Z"}),e.createElement("path",{fill:"#161112",d:"M163.921 148.357c-3.289-9.843-13.92-15.151-23.748-11.858-9.826 3.293-15.127 13.942-11.839 23.784l35.587-11.926Z"}),e.createElement("path",{fill:"#00AEEF",d:"m166.615 137.428-37.357-3.627-5.589 54.194c10.498 2.59 52.904-9.474 74.998-43.166l-32.052-7.401Z"}),e.createElement("path",{fill:"#161112",d:"M117.808 28.295c4.863 2.477 6.869 8.384 4.523 13.318l-2.176 4.516a5.273 5.273 0 0 1-7.162 2.447 5.29 5.29 0 0 1-2.245-7.234l7.06-13.047Z"}),e.createElement("path",{fill:"#161112",d:"M116.412 38.68a5.285 5.285 0 0 1 4.173 6.093L115.07 77.18l-.03.16a6.158 6.158 0 0 1-7.239 4.851 6.167 6.167 0 0 1-4.81-7.409l7.243-32.063a5.277 5.277 0 0 1 6.178-4.04Z"}),e.createElement("path",{fill:"#161112",d:"M104.54 71.882a6.151 6.151 0 0 1 8.589-.32l24.232 21.923.152.14a7.055 7.055 0 0 1 .238 9.965 7.028 7.028 0 0 1-9.949.238c-.049-.048-.099-.096-.147-.145L104.633 80.49a6.174 6.174 0 0 1-.093-8.608ZM197.712 27.115c-5.437.45-9.525 5.158-9.216 10.614l.308 5.004.01.147a5.279 5.279 0 0 0 5.695 4.832 5.282 5.282 0 0 0 4.81-5.845l-1.607-14.752Z"}),e.createElement("path",{fill:"#161112",d:"M195.135 37.267a5.277 5.277 0 0 0-6.206 3.995l-7.464 32.013a6.167 6.167 0 0 0 4.759 7.442 6.157 6.157 0 0 0 7.303-4.96l5.739-32.368a5.285 5.285 0 0 0-4.131-6.122Z"}),e.createElement("path",{fill:"#161112",d:"M190.752 69.46a6.152 6.152 0 0 0-8.408 1.785l-18.172 27.172a7.053 7.053 0 0 0 2.079 9.896 7.028 7.028 0 0 0 9.814-2.372l16.69-28.11a6.174 6.174 0 0 0-2.003-8.371Z"}),e.createElement("g",{style:{mixBlendMode:"multiply"}},e.createElement("mask",{id:"e",width:34,height:34,x:135,y:56,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},e.createElement("path",{fill:"#fff",d:"M135.959 89.578h32.854V56.673h-32.854v32.905Z"})),e.createElement("g",{mask:"url(#e)"},e.createElement("path",{fill:"#161112",d:"M135.98 72.298c.457-9.074 8.173-16.06 17.233-15.603 9.06.457 16.035 8.185 15.578 17.259-.456 9.074-8.171 16.06-17.232 15.603-9.06-.457-16.036-8.184-15.579-17.26Z"}))),e.createElement("path",{fill:"#161112",d:"M135.98 72.298c.447-8.874 7.838-15.748 16.638-15.618a13.164 13.164 0 0 0-9.483-4.745c-7.288-.37-13.495 5.252-13.862 12.553-.013.25-.016.5-.015.75-.025.177-.041.349-.049.515-.242 4.808 3.324 17.353-6.441 19.162 7.68 5.535 14.974 2.06 16.256-2.226a16.398 16.398 0 0 1-3.044-10.391Z"}),e.createElement("path",{fill:"#00AEEF",d:"m126.998 102.96 10.014 12.741 1.074-7.63-11.088-5.111ZM175.848 106.4l-10.921 17.434.727-12.707 10.194-4.727Z"}),e.createElement("path",{fill:"#00AEEF",d:"M176.797 100.492a7.037 7.037 0 0 0-6.109-5.148l.001-.006-10.267-.997c-1.47 2.357-5.289 3.795-9.594 3.369-4.283-.424-7.734-2.565-8.733-5.148l-8.646-.84-.055-.004-.059-.006v.002a7.034 7.034 0 0 0-7.127 4.19 7.052 7.052 0 0 0 3.63 9.281c.699.306 1.42.485 2.139.556l-4.57 47.229c-.475 4.909 3.113 9.274 8.014 9.75l19.604 1.903c4.901.475 9.26-3.118 9.735-8.027l4.571-47.234a6.996 6.996 0 0 0 2.536-.211c3.75-1.028 5.956-4.903 4.93-8.659Z"})),e.createElement("path",{stroke:"#161112",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:3,d:"M97.773 15.116 91.91 8.46M105.059 12.519l-1.18-8.798M112.468 14.374l4.004-7.92"}),e.createElement("mask",{id:"f",width:235,height:251,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},e.createElement("path",{fill:"#fff",d:"M0 0h235v251H0V0Z"})),e.createElement("g",{fill:"#B6B8BA",mask:"url(#f)"},e.createElement("path",{d:"M150.703 247.809h70.218a.912.912 0 0 0 0-1.827h-70.218a.912.912 0 0 0 0 1.827ZM163.934 251.008h70.218a.913.913 0 0 0 .912-.914.913.913 0 0 0-.912-.914h-70.218a.914.914 0 0 0 0 1.828Z"}))),e.createElement("defs",null,e.createElement("clipPath",{id:"a"},e.createElement("path",{fill:"#fff",d:"M0 0h235v251H0z"})))),E=()=>t.jsxs(a,{grow:!0,inset:"no",testID:"NotificationHistoryEmptyContainer",children:[t.jsxs(a,{children:[t.jsx(p,{height:"xxl"}),t.jsx(s,{children:t.jsxs(r,{halign:"center",children:[t.jsx(d,{level:"h2",text:"U heeft geen meldingen"}),t.jsx(o,{variant:"intro",children:"In de afgelopen 30 dagen"})]})})]}),t.jsx(r,{align:"center",grow:1,children:t.jsx(h,{testID:"NotificationHistoryEmptyImage",children:t.jsx(f,{})})})]}),W={component:E},l={};var m,i,c;l.parameters={...l.parameters,docs:{...(m=l.parameters)==null?void 0:m.docs,source:{originalSource:"{}",...(c=(i=l.parameters)==null?void 0:i.docs)==null?void 0:c.source}}};const _=["Default"];export{l as Default,_ as __namedExportsOrder,W as default}; diff --git a/assets/NotificationHistoryItem.stories-B1p0WYqJ.js b/assets/NotificationHistoryItem.stories-pH5g4zh6.js similarity index 84% rename from assets/NotificationHistoryItem.stories-B1p0WYqJ.js rename to assets/NotificationHistoryItem.stories-pH5g4zh6.js index c56a8ea4..af330f34 100644 --- a/assets/NotificationHistoryItem.stories-B1p0WYqJ.js +++ b/assets/NotificationHistoryItem.stories-pH5g4zh6.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-Bxcv0yjW.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import{L as C,g as $,a as N,c as D,d as h}from"./modules-JDQiHpSw.js";import"./development-LhlsWDYu.js";import{P as _}from"./PressableBase-C7VxqMV9.js";import{B as M}from"./Box-CEQ9kk6v.js";import{B as k}from"./Badge-BAkGihjF.js";import{C as H}from"./Column-CFK5NdwL.js";import{R as p}from"./Row-D-wvv0CV.js";import{I as S}from"./Icon-BD3fFj_K.js";import{P as T}from"./Paragraph-C4zYzItT.js";import{P as B}from"./Phrase-Dnv5p-ah.js";import{T as W}from"./Title-DSiraCpB.js";import{u as E}from"./useThemable-ua4U8LzO.js";import{a as z}from"./accessibleText-gmNPjmn1.js";import{r as l}from"./index-mfbfsM12.js";import{N as F}from"./Tooltip-BzAIIzXz.js";import"./index-8JwjhRSi.js";import{V as L}from"./index-BP1Ij_Cs.js";import{s as R}from"./index-kbHxBZ_W.js";import{M as U}from"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useOpenUrl-BebUyU0w.js";import"./index-DEfxrPnc.js";import"./index-DFkxGuuM.js";import"./client-BGlHIwA3.js";import"./index-CDv7s-w8.js";import"./index-Ce74jbsy.js";import"./extends-CF3RwP-h.js";import"./index-CkqLweLe.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./index-LDRWBpq_.js";import"./index-k6NSpe5t.js";import"./index-DZxzYa9i.js";import"./index-DgmJIe7t.js";import"./index-BXDkY5MO.js";import"./useOpenMailUrl-hiSWEozv.js";import"./useOpenPhoneUrl-C5nkLsXz.js";import"./useTheme-ChTiG3MC.js";import"./index-DbcoTUCW.js";import"./useDeviceContext-Cm8FgCCV.js";import"./useAccessibilityFocus-jeKlJ74P.js";import"./useIsScreenReaderEnabled-A65pchNu.js";import"./duration-A4BOymd5.js";import"./Pressable-kwatEfDj.js";import"./Size-ByzkQpGs.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./IconButton-C0GLYfe-.js";import"./config-BZnShabN.js";import"./types-BJ_48vsK.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Gutter-BrZ2VZou.js";import"./ChatSystemEntry-hHuktGEM.js";import"./Button-jNQoxaXU.js";import"./Center-2_hcwEx9.js";import"./layoutStyles-hLwHoe51.js";import"./HideFromAccessibility-B6TCA_vV.js";import"./PleaseWait-DtPz9rW0.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./base-color-B2rPH-Aj.js";import"./Triangle-rmeRPZtY.js";import"./SingleSelectable-BAFROorM.js";import"./Fader-CBhy3bI5.js";function O(){const t=l.useContext(F),o=l.useContext(C);return l.useCallback(r=>{if(t===void 0)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");if(typeof r!="string"){t.navigate(r.screen,r.params);return}if(!r.startsWith("/"))throw new Error(`The path must start with '/' (${r}).`);const{options:e}=o,i=e!=null&&e.getStateFromPath?e.getStateFromPath(r,e.config):$(r,e==null?void 0:e.config);if(i){const s=N(i,e==null?void 0:e.config);s!==void 0?t.dispatch(s):t.reset(i)}else throw new Error("Failed to parse the path to a navigation state.")},[o,t])}(()=>{const t={};return D.forEach(({linking:o,slug:a})=>{o&&(t[a]={screens:o})}),t})();const y="amsterdam://",V={NewsUpdatedByProjectManager:{id:"NewsUpdatedByProjectManager",route:"/news",routeWithPrefix:`${y}news`},ProjectWarningCreatedByProjectManager:{id:"ProjectWarningCreatedByProjectManager",route:"/warning",routeWithPrefix:`${y}warning`}},q=({data:t,title:o="",body:a=""},r=!0)=>{const e=(t==null?void 0:t.type)&&V[t.type];if(!(e!=null&&e.routeWithPrefix)||!(t!=null&&t.linkSourceid))return;const i=encodeURIComponent(`${o} - ${a}`),s=`/${t.linkSourceid}/${encodeURIComponent(o)}/${i}/${r}`;return r?`${e.routeWithPrefix}${s}`:`${e.route}${s}`},A=["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],Y=t=>{if(t==null||t==="")return"";const o=h(t),a=h(),r=o.startOf("day").diff(a.startOf("day"),"days"),e=r===0,i=r===-1,s=r>-7&&r<-1;return e?o.format("HH:mm"):i?"gisteren":s?A[o.get("day")]:o.format("D MMMM")},d=({item:{title:t,body:o,module_slug:a,created_at:r,is_read:e,id:i,context:s},enabledModules:v=[]})=>{const f=v.find(({slug:m})=>m===a),w=E(G),P=O();if(!f)return null;const{icon:b}=f,g=Y(r);return n.jsx(_,{accessibilityLabel:z(e?void 0:"Ongelezen bericht: ",t,o,`ontvangen: ${g}`),onPress:()=>{const m=q({title:t,body:o,data:s},!1);m&&P(m)},testID:`NotificationHistoryItem${i}Button`,children:n.jsx(M,{insetHorizontal:"md",insetVertical:"smd",children:n.jsxs(p,{gutter:"sm",children:[n.jsx(L,{style:w.iconContainer,children:n.jsx(S,{color:"inverse",name:b,size:"xl",testID:`NotificationHistoryItem${i}Icon`})}),n.jsxs(H,{grow:1,shrink:1,children:[n.jsxs(p,{align:"between",flex:1,gutter:"sm",valign:"start",children:[n.jsx(W,{level:"h5",testID:`NotificationHistoryItem${i}Title`,text:t}),n.jsxs(p,{gutter:"sm",valign:"center",children:[n.jsx(B,{color:"secondary",numberOfLines:1,testID:`NotificationHistoryItem${i}CreationDate`,variant:"body",children:g}),!e&&n.jsx(k,{testID:`NotificationHistoryItem${i}IsUnreadBadge`,variant:"extraSmall"})]})]}),n.jsx(T,{testID:`NotificationHistoryItem${i}Description`,children:o})]})]})})})},G=({color:t,size:o})=>R.create({iconContainer:{backgroundColor:t.notificationHistory.itemIcon.background,justifyContent:"center",alignItems:"center",width:o.iconContainer.xl,height:o.iconContainer.xl}});try{d.displayName="NotificationHistoryItem",d.__docgenInfo={description:"",displayName:"NotificationHistoryItem",props:{enabledModules:{defaultValue:{value:"[]"},description:"",name:"enabledModules",required:!1,type:{name:"Module[]"}},item:{defaultValue:null,description:"",name:"item",required:!0,type:{name:"Notification"}}}}}catch{}const u=U["construction-work"],ue={component:d},c={args:{enabledModules:[{moduleSlug:u,title:"Werkzaamheden",icon:"announcement",slug:u,status:1,description:"",version:"1.0.0"}],item:{title:"De nieuwe brug is geplaatst",module_slug:u,created_at:"2022-01-15 10:30:00",pushed_at:"2022-01-15 10:30:00",is_read:!1,id:"1",context:{},body:"De nieuwe brug is geplaatst"}}};var x,I,j;c.parameters={...c.parameters,docs:{...(x=c.parameters)==null?void 0:x.docs,source:{originalSource:`{ +import{j as n}from"./jsx-runtime-Bxcv0yjW.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import{L as C,g as $,a as N,c as D,d as h}from"./modules-CEymqiYN.js";import"./development-LhlsWDYu.js";import{P as _}from"./PressableBase-DhkKVuqd.js";import{B as M}from"./Box-CEQ9kk6v.js";import{B as k}from"./Badge-BAkGihjF.js";import{C as H}from"./Column-CFK5NdwL.js";import{R as p}from"./Row-D-wvv0CV.js";import{I as S}from"./Icon-DzTBkJ4u.js";import{P as T}from"./Paragraph-DU14yVhW.js";import{P as B}from"./Phrase-FY7SqhHh.js";import{T as W}from"./Title-CLDk-249.js";import{u as E}from"./useThemable-ua4U8LzO.js";import{a as z}from"./accessibleText-gmNPjmn1.js";import{r as l}from"./index-mfbfsM12.js";import{N as F}from"./Tooltip-Dddt_hel.js";import"./index-8JwjhRSi.js";import{V as L}from"./index-BP1Ij_Cs.js";import{s as R}from"./index-kbHxBZ_W.js";import{M as U}from"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useOpenUrl-DkzqnrRX.js";import"./index-DEfxrPnc.js";import"./index-DFkxGuuM.js";import"./client-BGlHIwA3.js";import"./index-CDv7s-w8.js";import"./index-Ce74jbsy.js";import"./extends-CF3RwP-h.js";import"./index-CkqLweLe.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./index-CIcog7m4.js";import"./index-k6NSpe5t.js";import"./index-DZxzYa9i.js";import"./index-BW2XZOZc.js";import"./index-BXDkY5MO.js";import"./useOpenMailUrl-Blrf_PL9.js";import"./useOpenPhoneUrl-TB9t0oDt.js";import"./useTheme-ChTiG3MC.js";import"./index-DbcoTUCW.js";import"./useDeviceContext-Cm8FgCCV.js";import"./useAccessibilityFocus-jeKlJ74P.js";import"./useIsScreenReaderEnabled-A65pchNu.js";import"./duration-A4BOymd5.js";import"./Pressable-0Of7HZos.js";import"./Size-ByzkQpGs.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./IconButton-S0EpSLVW.js";import"./config-BZnShabN.js";import"./types-BJ_48vsK.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Gutter-BrZ2VZou.js";import"./ChatSystemEntry-BaHEjUy7.js";import"./Button-DKrj2h9O.js";import"./Center-2_hcwEx9.js";import"./layoutStyles-hLwHoe51.js";import"./HideFromAccessibility-B6TCA_vV.js";import"./PleaseWait-D1f8b25a.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./base-color-B2rPH-Aj.js";import"./Triangle-rmeRPZtY.js";import"./SingleSelectable-BAFROorM.js";import"./Fader-CBhy3bI5.js";function O(){const t=l.useContext(F),o=l.useContext(C);return l.useCallback(r=>{if(t===void 0)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");if(typeof r!="string"){t.navigate(r.screen,r.params);return}if(!r.startsWith("/"))throw new Error(`The path must start with '/' (${r}).`);const{options:e}=o,i=e!=null&&e.getStateFromPath?e.getStateFromPath(r,e.config):$(r,e==null?void 0:e.config);if(i){const s=N(i,e==null?void 0:e.config);s!==void 0?t.dispatch(s):t.reset(i)}else throw new Error("Failed to parse the path to a navigation state.")},[o,t])}(()=>{const t={};return D.forEach(({linking:o,slug:a})=>{o&&(t[a]={screens:o})}),t})();const y="amsterdam://",V={NewsUpdatedByProjectManager:{id:"NewsUpdatedByProjectManager",route:"/news",routeWithPrefix:`${y}news`},ProjectWarningCreatedByProjectManager:{id:"ProjectWarningCreatedByProjectManager",route:"/warning",routeWithPrefix:`${y}warning`}},q=({data:t,title:o="",body:a=""},r=!0)=>{const e=(t==null?void 0:t.type)&&V[t.type];if(!(e!=null&&e.routeWithPrefix)||!(t!=null&&t.linkSourceid))return;const i=encodeURIComponent(`${o} - ${a}`),s=`/${t.linkSourceid}/${encodeURIComponent(o)}/${i}/${r}`;return r?`${e.routeWithPrefix}${s}`:`${e.route}${s}`},A=["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],Y=t=>{if(t==null||t==="")return"";const o=h(t),a=h(),r=o.startOf("day").diff(a.startOf("day"),"days"),e=r===0,i=r===-1,s=r>-7&&r<-1;return e?o.format("HH:mm"):i?"gisteren":s?A[o.get("day")]:o.format("D MMMM")},d=({item:{title:t,body:o,module_slug:a,created_at:r,is_read:e,id:i,context:s},enabledModules:v=[]})=>{const f=v.find(({slug:m})=>m===a),w=E(G),P=O();if(!f)return null;const{icon:b}=f,g=Y(r);return n.jsx(_,{accessibilityLabel:z(e?void 0:"Ongelezen bericht: ",t,o,`ontvangen: ${g}`),onPress:()=>{const m=q({title:t,body:o,data:s},!1);m&&P(m)},testID:`NotificationHistoryItem${i}Button`,children:n.jsx(M,{insetHorizontal:"md",insetVertical:"smd",children:n.jsxs(p,{gutter:"sm",children:[n.jsx(L,{style:w.iconContainer,children:n.jsx(S,{color:"inverse",name:b,size:"xl",testID:`NotificationHistoryItem${i}Icon`})}),n.jsxs(H,{grow:1,shrink:1,children:[n.jsxs(p,{align:"between",flex:1,gutter:"sm",valign:"start",children:[n.jsx(W,{level:"h5",testID:`NotificationHistoryItem${i}Title`,text:t}),n.jsxs(p,{gutter:"sm",valign:"center",children:[n.jsx(B,{color:"secondary",numberOfLines:1,testID:`NotificationHistoryItem${i}CreationDate`,variant:"body",children:g}),!e&&n.jsx(k,{testID:`NotificationHistoryItem${i}IsUnreadBadge`,variant:"extraSmall"})]})]}),n.jsx(T,{testID:`NotificationHistoryItem${i}Description`,children:o})]})]})})})},G=({color:t,size:o})=>R.create({iconContainer:{backgroundColor:t.notificationHistory.itemIcon.background,justifyContent:"center",alignItems:"center",width:o.iconContainer.xl,height:o.iconContainer.xl}});try{d.displayName="NotificationHistoryItem",d.__docgenInfo={description:"",displayName:"NotificationHistoryItem",props:{enabledModules:{defaultValue:{value:"[]"},description:"",name:"enabledModules",required:!1,type:{name:"Module[]"}},item:{defaultValue:null,description:"",name:"item",required:!0,type:{name:"Notification"}}}}}catch{}const u=U["construction-work"],ue={component:d},c={args:{enabledModules:[{moduleSlug:u,title:"Werkzaamheden",icon:"announcement",slug:u,status:1,description:"",version:"1.0.0"}],item:{title:"De nieuwe brug is geplaatst",module_slug:u,created_at:"2022-01-15 10:30:00",pushed_at:"2022-01-15 10:30:00",is_read:!1,id:"1",context:{},body:"De nieuwe brug is geplaatst"}}};var x,I,j;c.parameters={...c.parameters,docs:{...(x=c.parameters)==null?void 0:x.docs,source:{originalSource:`{ args: { enabledModules: [{ moduleSlug: slug, diff --git a/assets/NotificationHistoryListFooter.stories-CWHD8KtV.js b/assets/NotificationHistoryListFooter.stories-Ccl26lGe.js similarity index 93% rename from assets/NotificationHistoryListFooter.stories-CWHD8KtV.js rename to assets/NotificationHistoryListFooter.stories-Ccl26lGe.js index c7c1dad0..2a4e4a6f 100644 --- a/assets/NotificationHistoryListFooter.stories-CWHD8KtV.js +++ b/assets/NotificationHistoryListFooter.stories-Ccl26lGe.js @@ -1 +1 @@ -import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{B as a}from"./Box-CEQ9kk6v.js";import{P as m}from"./Paragraph-C4zYzItT.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./layoutStyles-hLwHoe51.js";import"./index-kbHxBZ_W.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-CAyeAlm6.js";const s=()=>r.jsx(a,{inset:"xl",children:r.jsx(m,{color:"secondary",textAlign:"center",children:"Dit zijn alle meldingen van de afgelopen 30 dagen"})}),E={component:s},o={};var t,e,i;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(i=(e=o.parameters)==null?void 0:e.docs)==null?void 0:i.source}}};const P=["Default"];export{o as Default,P as __namedExportsOrder,E as default}; +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{B as a}from"./Box-CEQ9kk6v.js";import{P as m}from"./Paragraph-DU14yVhW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./layoutStyles-hLwHoe51.js";import"./index-kbHxBZ_W.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-CAyeAlm6.js";const s=()=>r.jsx(a,{inset:"xl",children:r.jsx(m,{color:"secondary",textAlign:"center",children:"Dit zijn alle meldingen van de afgelopen 30 dagen"})}),E={component:s},o={};var t,e,i;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(i=(e=o.parameters)==null?void 0:e.docs)==null?void 0:i.source}}};const P=["Default"];export{o as Default,P as __namedExportsOrder,E as default}; diff --git a/assets/Paragraph-C4zYzItT.js b/assets/Paragraph-DU14yVhW.js similarity index 84% rename from assets/Paragraph-C4zYzItT.js rename to assets/Paragraph-DU14yVhW.js index eebef929..226f2953 100644 --- a/assets/Paragraph-C4zYzItT.js +++ b/assets/Paragraph-DU14yVhW.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime-Bxcv0yjW.js";import{r as u}from"./index-mfbfsM12.js";import{u as p}from"./useThemable-ua4U8LzO.js";import{T as c}from"./index-CAyeAlm6.js";import{s as m}from"./index-kbHxBZ_W.js";const o=({children:l,color:a="default",textAlign:e="left",variant:r="body",...t})=>{const i=u.useMemo(()=>d({color:a,textAlign:e,variant:r}),[a,e,r]),n=p(i);return s.jsx(c,{accessibilityLanguage:"nl-NL",accessibilityRole:a==="warning"?"alert":"none",style:n.text,...t,children:l})},d=({color:l,textAlign:a,variant:e})=>({color:r,text:t})=>m.create({text:{flexShrink:1,color:r.text[l],fontFamily:t.fontFamily[e==="quote"?"bold":"regular"],fontSize:t.fontSize[e],lineHeight:t.lineHeight[e],textAlign:a}});try{o.displayName="Paragraph",o.__docgenInfo={description:"",displayName:"Paragraph",props:{color:{defaultValue:{value:"default"},description:"Provides an inverse text color to allow a paragraph on a dark background.",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"inverse"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"warning"'}]}},textAlign:{defaultValue:{value:"left"},description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"auto"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},variant:{defaultValue:{value:"body"},description:"Which variation of a paragraph to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}}}}}catch{}export{o as P}; +import{j as s}from"./jsx-runtime-Bxcv0yjW.js";import{r as u}from"./index-mfbfsM12.js";import{u as p}from"./useThemable-ua4U8LzO.js";import{T as c}from"./index-CAyeAlm6.js";import{s as m}from"./index-kbHxBZ_W.js";const o=({children:l,color:a="default",textAlign:e="left",variant:r="body",...t})=>{const i=u.useMemo(()=>d({color:a,textAlign:e,variant:r}),[a,e,r]),n=p(i);return s.jsx(c,{accessibilityLanguage:"nl-NL",accessibilityRole:a==="warning"?"alert":"none",style:n.text,...t,children:l})},d=({color:l,textAlign:a,variant:e})=>({color:r,text:t})=>m.create({text:{flexShrink:1,color:r.text[l],fontFamily:t.fontFamily[e==="quote"?"bold":"regular"],fontSize:t.fontSize[e],lineHeight:t.lineHeight[e],textAlign:a}});try{o.displayName="Paragraph",o.__docgenInfo={description:"",displayName:"Paragraph",props:{color:{defaultValue:{value:"default"},description:"Provides an inverse text color to allow a paragraph on a dark background.",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"inverse"'},{value:'"warning"'}]}},textAlign:{defaultValue:{value:"left"},description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"center"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},variant:{defaultValue:{value:"body"},description:"Which variation of a paragraph to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}}}}}catch{}export{o as P}; diff --git a/assets/Paragraph.stories-iPH_SYCB.js b/assets/Paragraph.stories-BBVzv3hH.js similarity index 92% rename from assets/Paragraph.stories-iPH_SYCB.js rename to assets/Paragraph.stories-BBVzv3hH.js index 9c769d0b..28933fc5 100644 --- a/assets/Paragraph.stories-iPH_SYCB.js +++ b/assets/Paragraph.stories-BBVzv3hH.js @@ -1,3 +1,3 @@ -import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{P as t}from"./Paragraph-C4zYzItT.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-kbHxBZ_W.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";const j={component:t},r=s=>p.jsx(t,{...s,children:"Jouw typograaf biedt mij zulke exquise schreven!"});r.args={color:"default",variant:"body"};var a,o,e;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:`args => +import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{P as t}from"./Paragraph-DU14yVhW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-kbHxBZ_W.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";const j={component:t},r=s=>p.jsx(t,{...s,children:"Jouw typograaf biedt mij zulke exquise schreven!"});r.args={color:"default",variant:"body"};var a,o,e;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:`args => Jouw typograaf biedt mij zulke exquise schreven! `,...(e=(o=r.parameters)==null?void 0:o.docs)==null?void 0:e.source}}};const P=["Default"];export{r as Default,P as __namedExportsOrder,j as default}; diff --git a/assets/PhoneButton-BP5KgH4D.js b/assets/PhoneButton-DzIfqh9m.js similarity index 96% rename from assets/PhoneButton-BP5KgH4D.js rename to assets/PhoneButton-DzIfqh9m.js index c392e297..36b52182 100644 --- a/assets/PhoneButton-BP5KgH4D.js +++ b/assets/PhoneButton-DzIfqh9m.js @@ -1 +1 @@ -import{j as l}from"./jsx-runtime-Bxcv0yjW.js";import{B as u}from"./Button-jNQoxaXU.js";import{R as r}from"./Row-D-wvv0CV.js";import{u as o}from"./useOpenPhoneUrl-C5nkLsXz.js";import{a as d}from"./accessibleText-gmNPjmn1.js";const c=["010","013","014","015","020","023","024","026","030","033","035","036","038","040","043","044","045","046","050","053","055","058","070","071","072","073","074","075","076","077","078","079"],t=e=>{var a;if(e.startsWith("+31")&&(e=e.replace("+31","0")),e==="14020")return"14 020";if(e==="0202515020")return"020 25 15 020";if(e.length===10)return e.startsWith("06")?[e.substring(0,2),e.substring(2,6),e.substring(6,10)].join(" "):c.includes(e.substring(0,3))?[e.substring(0,3),e.substring(3,6),e.substring(6,10)].join(" "):[e.substring(0,4),e.substring(4,7),e.substring(7,10)].join(" ");if(e.startsWith("0800")||e.startsWith("0900")){if(e.length===8)return(a=e.match(/.{4}/g))==null?void 0:a.join(" ");if(e.length===11)return[e.substring(0,4),e.substring(4,7),e.substring(7,11)].join(" ")}return e},i=({accessibilityLabel:e,phoneNumber:a,...n})=>{const s=o();return l.jsx(r,{children:l.jsx(u,{accessibilityLanguage:"nl-NL",...n,accessibilityLabel:e||d("Bel",...(t(a)??"").split(" ")),iconName:"phone",label:t(a),onPress:()=>{s(a)}})})};try{i.displayName="PhoneButton",i.__docgenInfo={description:"",displayName:"PhoneButton",props:{phoneNumber:{defaultValue:null,description:"",name:"phoneNumber",required:!0,type:{name:"string"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}}}}}catch{}export{i as P}; +import{j as l}from"./jsx-runtime-Bxcv0yjW.js";import{B as u}from"./Button-DKrj2h9O.js";import{R as r}from"./Row-D-wvv0CV.js";import{u as o}from"./useOpenPhoneUrl-TB9t0oDt.js";import{a as d}from"./accessibleText-gmNPjmn1.js";const c=["010","013","014","015","020","023","024","026","030","033","035","036","038","040","043","044","045","046","050","053","055","058","070","071","072","073","074","075","076","077","078","079"],t=e=>{var a;if(e.startsWith("+31")&&(e=e.replace("+31","0")),e==="14020")return"14 020";if(e==="0202515020")return"020 25 15 020";if(e.length===10)return e.startsWith("06")?[e.substring(0,2),e.substring(2,6),e.substring(6,10)].join(" "):c.includes(e.substring(0,3))?[e.substring(0,3),e.substring(3,6),e.substring(6,10)].join(" "):[e.substring(0,4),e.substring(4,7),e.substring(7,10)].join(" ");if(e.startsWith("0800")||e.startsWith("0900")){if(e.length===8)return(a=e.match(/.{4}/g))==null?void 0:a.join(" ");if(e.length===11)return[e.substring(0,4),e.substring(4,7),e.substring(7,11)].join(" ")}return e},i=({accessibilityLabel:e,phoneNumber:a,...n})=>{const s=o();return l.jsx(r,{children:l.jsx(u,{accessibilityLanguage:"nl-NL",...n,accessibilityLabel:e||d("Bel",...(t(a)??"").split(" ")),iconName:"phone",label:t(a),onPress:()=>{s(a)}})})};try{i.displayName="PhoneButton",i.__docgenInfo={description:"",displayName:"PhoneButton",props:{phoneNumber:{defaultValue:null,description:"",name:"phoneNumber",required:!0,type:{name:"string"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},ellipsizeMode:{defaultValue:null,description:"",name:"ellipsizeMode",required:!1,type:{name:"enum",value:[{value:'"head"'},{value:'"tail"'},{value:'"middle"'},{value:'"clip"'}]}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!1,type:{name:"boolean"}},numberOfLines:{defaultValue:null,description:"",name:"numberOfLines",required:!1,type:{name:"number"}},small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}}}}}catch{}export{i as P}; diff --git a/assets/PhoneButton.stories-QtyCZM2T.js b/assets/PhoneButton.stories-DQs96oz7.js similarity index 73% rename from assets/PhoneButton.stories-QtyCZM2T.js rename to assets/PhoneButton.stories-DQs96oz7.js index 29dbb537..4fed8381 100644 --- a/assets/PhoneButton.stories-QtyCZM2T.js +++ b/assets/PhoneButton.stories-DQs96oz7.js @@ -1,4 +1,4 @@ -import{P as m}from"./PhoneButton-BP5KgH4D.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Button-jNQoxaXU.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./config-BZnShabN.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./Icon-BD3fFj_K.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./useOpenPhoneUrl-C5nkLsXz.js";import"./index-Ce74jbsy.js";import"./accessibleText-gmNPjmn1.js";const L={component:m,argTypes:{onPress:{action:"onPress"}}},o={args:{phoneNumber:"0610000000"}};var r,t,p;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{P as m}from"./PhoneButton-DzIfqh9m.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Button-DKrj2h9O.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./config-BZnShabN.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./Icon-DzTBkJ4u.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./useOpenPhoneUrl-TB9t0oDt.js";import"./index-Ce74jbsy.js";import"./accessibleText-gmNPjmn1.js";const L={component:m,argTypes:{onPress:{action:"onPress"}}},o={args:{phoneNumber:"0610000000"}};var r,t,p;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ args: { phoneNumber: '0610000000' } diff --git a/assets/PhoneHQButton.stories-CP0Hax4n.js b/assets/PhoneHQButton.stories-NHJVws--.js similarity index 78% rename from assets/PhoneHQButton.stories-CP0Hax4n.js rename to assets/PhoneHQButton.stories-NHJVws--.js index a06bdfaf..4e82e110 100644 --- a/assets/PhoneHQButton.stories-CP0Hax4n.js +++ b/assets/PhoneHQButton.stories-NHJVws--.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{P as n}from"./PhoneButton-BP5KgH4D.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Button-jNQoxaXU.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./config-BZnShabN.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./Icon-BD3fFj_K.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./useOpenPhoneUrl-C5nkLsXz.js";import"./index-Ce74jbsy.js";import"./accessibleText-gmNPjmn1.js";const r=({testID:o,variant:m="primary"})=>a.jsx(n,{accessibilityLabel:"Bel veertien nul twintig",phoneNumber:"14020",testID:o,variant:m});try{r.displayName="PhoneHQButton",r.__docgenInfo={description:"",displayName:"PhoneHQButton",props:{variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const M={component:r,argTypes:{onPress:{action:"onPress"}}},t={};var e,i,p;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:"{}",...(p=(i=t.parameters)==null?void 0:i.docs)==null?void 0:p.source}}};const U=["Default"];export{t as Default,U as __namedExportsOrder,M as default}; +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{P as n}from"./PhoneButton-DzIfqh9m.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Button-DKrj2h9O.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./config-BZnShabN.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./Icon-DzTBkJ4u.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./useOpenPhoneUrl-TB9t0oDt.js";import"./index-Ce74jbsy.js";import"./accessibleText-gmNPjmn1.js";const r=({testID:o,variant:m="primary"})=>a.jsx(n,{accessibilityLabel:"Bel veertien nul twintig",phoneNumber:"14020",testID:o,variant:m});try{r.displayName="PhoneHQButton",r.__docgenInfo={description:"",displayName:"PhoneHQButton",props:{variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const M={component:r,argTypes:{onPress:{action:"onPress"}}},t={};var e,i,p;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:"{}",...(p=(i=t.parameters)==null?void 0:i.docs)==null?void 0:p.source}}};const U=["Default"];export{t as Default,U as __namedExportsOrder,M as default}; diff --git a/assets/Phrase-Dnv5p-ah.js b/assets/Phrase-FY7SqhHh.js similarity index 92% rename from assets/Phrase-Dnv5p-ah.js rename to assets/Phrase-FY7SqhHh.js index 6bf0b4e9..c0da33d1 100644 --- a/assets/Phrase-Dnv5p-ah.js +++ b/assets/Phrase-FY7SqhHh.js @@ -1 +1 @@ -import{j as h}from"./jsx-runtime-Bxcv0yjW.js";import{r as m}from"./index-mfbfsM12.js";import{u as c,E as v}from"./useThemable-ua4U8LzO.js";import{T as g}from"./index-CAyeAlm6.js";import{s as y}from"./index-kbHxBZ_W.js";const u=({children:t,color:l="default",emphasis:r="default",flexShrink:s=1,underline:e=!1,variant:n="body",testID:i,"logging-label":a,textAlign:o="left",...p})=>{const d=m.useMemo(()=>x({color:l,emphasis:r,flexShrink:s,underline:e,variant:n,textAlign:o}),[l,r,s,e,n,o]),f=c(d);return h.jsx(g,{accessibilityLanguage:"nl-NL","logging-label":a,style:f.text,testID:i,...p,children:t})},x=({color:t,emphasis:l,flexShrink:r,underline:s,variant:e,textAlign:n})=>({color:i,text:a})=>y.create({text:{flexShrink:r,color:i.text[t],fontFamily:a.fontFamily[l===v.strong?"bold":"regular"],fontSize:a.fontSize[e],lineHeight:a.lineHeight[e],textDecorationLine:s?"underline":"none",textAlign:n}});try{u.displayName="Phrase",u.__docgenInfo={description:"Displays (very) short text phrases.\nOffers the three sizing variants, and bold text.\nFor sentences, use `Paragraph` instead.",displayName:"Phrase",props:{color:{defaultValue:{value:"default"},description:"Defines the color of the phrase. Maps with the text color tokens.",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"inverse"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"warning"'}]}},emphasis:{defaultValue:{value:"default"},description:"Allows the phrase to convey more emphasis.",name:"emphasis",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"strong"'}]}},flexShrink:{defaultValue:{value:"1"},description:"Defines how to shrink the phrase in case the parent container is smaller than the phrase.",name:"flexShrink",required:!1,type:{name:"number"}},"logging-label":{defaultValue:null,description:"Label used for logging to Piwik and AppInsights.",name:"logging-label",required:!1,type:{name:"string"}},textAlign:{defaultValue:{value:"left"},description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"auto"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},underline:{defaultValue:{value:"false"},description:"Whether the phrase is underlined. Use this for a link only.",name:"underline",required:!1,type:{name:"boolean"}},variant:{defaultValue:{value:"body"},description:"Which variation of a phrase to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}}}}}catch{}export{u as P}; +import{j as h}from"./jsx-runtime-Bxcv0yjW.js";import{r as m}from"./index-mfbfsM12.js";import{u as c,E as v}from"./useThemable-ua4U8LzO.js";import{T as g}from"./index-CAyeAlm6.js";import{s as y}from"./index-kbHxBZ_W.js";const u=({children:t,color:l="default",emphasis:r="default",flexShrink:s=1,underline:e=!1,variant:n="body",testID:i,"logging-label":a,textAlign:o="left",...p})=>{const d=m.useMemo(()=>x({color:l,emphasis:r,flexShrink:s,underline:e,variant:n,textAlign:o}),[l,r,s,e,n,o]),f=c(d);return h.jsx(g,{accessibilityLanguage:"nl-NL","logging-label":a,style:f.text,testID:i,...p,children:t})},x=({color:t,emphasis:l,flexShrink:r,underline:s,variant:e,textAlign:n})=>({color:i,text:a})=>y.create({text:{flexShrink:r,color:i.text[t],fontFamily:a.fontFamily[l===v.strong?"bold":"regular"],fontSize:a.fontSize[e],lineHeight:a.lineHeight[e],textDecorationLine:s?"underline":"none",textAlign:n}});try{u.displayName="Phrase",u.__docgenInfo={description:"Displays (very) short text phrases.\nOffers the three sizing variants, and bold text.\nFor sentences, use `Paragraph` instead.",displayName:"Phrase",props:{color:{defaultValue:{value:"default"},description:"Defines the color of the phrase. Maps with the text color tokens.",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"inverse"'},{value:'"warning"'}]}},emphasis:{defaultValue:{value:"default"},description:"Allows the phrase to convey more emphasis.",name:"emphasis",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"strong"'}]}},flexShrink:{defaultValue:{value:"1"},description:"Defines how to shrink the phrase in case the parent container is smaller than the phrase.",name:"flexShrink",required:!1,type:{name:"number"}},"logging-label":{defaultValue:null,description:"Label used for logging to Piwik and AppInsights.",name:"logging-label",required:!1,type:{name:"string"}},textAlign:{defaultValue:{value:"left"},description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"center"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},underline:{defaultValue:{value:"false"},description:"Whether the phrase is underlined. Use this for a link only.",name:"underline",required:!1,type:{name:"boolean"}},variant:{defaultValue:{value:"body"},description:"Which variation of a phrase to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}}}}}catch{}export{u as P}; diff --git a/assets/Phrase.stories-vx1JhqZi.js b/assets/Phrase.stories-WyHp9xL1.js similarity index 95% rename from assets/Phrase.stories-vx1JhqZi.js rename to assets/Phrase.stories-WyHp9xL1.js index 8bbe77e7..bc3a4f80 100644 --- a/assets/Phrase.stories-vx1JhqZi.js +++ b/assets/Phrase.stories-WyHp9xL1.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-Bxcv0yjW.js";import{P as a}from"./Phrase-Dnv5p-ah.js";import{V as c}from"./index-BP1Ij_Cs.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-kbHxBZ_W.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";const V={component:a},r={args:{children:"Phrase content",color:"default",emphasis:"default",variant:"body"}},e=()=>s.jsxs(c,{children:[s.jsx(a,{emphasis:"strong",testID:"Phrase",variant:"small",children:"14"}),s.jsx(a,{testID:"Phrase",variant:"small",children:"volgers"})]});var t,o,n;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{j as s}from"./jsx-runtime-Bxcv0yjW.js";import{P as a}from"./Phrase-FY7SqhHh.js";import{V as c}from"./index-BP1Ij_Cs.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-kbHxBZ_W.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";const V={component:a},r={args:{children:"Phrase content",color:"default",emphasis:"default",variant:"body"}},e=()=>s.jsxs(c,{children:[s.jsx(a,{emphasis:"strong",testID:"Phrase",variant:"small",children:"14"}),s.jsx(a,{testID:"Phrase",variant:"small",children:"volgers"})]});var t,o,n;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { children: 'Phrase content', color: 'default', diff --git a/assets/PleaseWait-DtPz9rW0.js b/assets/PleaseWait-D1f8b25a.js similarity index 89% rename from assets/PleaseWait-DtPz9rW0.js rename to assets/PleaseWait-D1f8b25a.js index dccff5f4..00ff6f9d 100644 --- a/assets/PleaseWait-DtPz9rW0.js +++ b/assets/PleaseWait-D1f8b25a.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{B as o}from"./Box-CEQ9kk6v.js";import{C as s}from"./Center-2_hcwEx9.js";import{I as i}from"./Icon-BD3fFj_K.js";const t=({grow:r,testID:a})=>e.jsx(s,{grow:r,children:e.jsx(o,{children:e.jsx(i,{color:"link",name:"spinner",size:"lg",testID:a})})});try{t.displayName="PleaseWait",t.__docgenInfo={description:"",displayName:"PleaseWait",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{t as P}; +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{B as o}from"./Box-CEQ9kk6v.js";import{C as s}from"./Center-2_hcwEx9.js";import{I as i}from"./Icon-DzTBkJ4u.js";const t=({grow:r,testID:a})=>e.jsx(s,{grow:r,children:e.jsx(o,{children:e.jsx(i,{color:"link",name:"spinner",size:"lg",testID:a})})});try{t.displayName="PleaseWait",t.__docgenInfo={description:"",displayName:"PleaseWait",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{t as P}; diff --git a/assets/PleaseWait.stories-DNNggDWu.js b/assets/PleaseWait.stories-BuM3G2oZ.js similarity index 91% rename from assets/PleaseWait.stories-DNNggDWu.js rename to assets/PleaseWait.stories-BuM3G2oZ.js index 8001a713..e07f294b 100644 --- a/assets/PleaseWait.stories-DNNggDWu.js +++ b/assets/PleaseWait.stories-BuM3G2oZ.js @@ -1,4 +1,4 @@ -import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{P as e}from"./PleaseWait-DtPz9rW0.js";import"./Block-B9hfeL6e.js";import{C as s}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./index-kbHxBZ_W.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./Center-2_hcwEx9.js";import"./Icon-BD3fFj_K.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Animated-CFNSbqHF.js";import"./index-DSI0shHu.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";const J={component:e,decorators:[m=>p.jsx(s,{height:"256px",highlight:!0,maxWidth:"512px",children:m()})]},r={args:{grow:!0}};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{j as p}from"./jsx-runtime-Bxcv0yjW.js";import{P as e}from"./PleaseWait-D1f8b25a.js";import"./Block-B9hfeL6e.js";import{C as s}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./index-kbHxBZ_W.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./TextAncestorContext-Dg3XKfar.js";import"./Center-2_hcwEx9.js";import"./Icon-DzTBkJ4u.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Animated-CFNSbqHF.js";import"./index-DSI0shHu.js";import"./extends-CF3RwP-h.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";const J={component:e,decorators:[m=>p.jsx(s,{height:"256px",highlight:!0,maxWidth:"512px",children:m()})]},r={args:{grow:!0}};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { grow: true } diff --git a/assets/Pressable-kwatEfDj.js b/assets/Pressable-0Of7HZos.js similarity index 96% rename from assets/Pressable-kwatEfDj.js rename to assets/Pressable-0Of7HZos.js index 743b374d..07ff2911 100644 --- a/assets/Pressable-kwatEfDj.js +++ b/assets/Pressable-0Of7HZos.js @@ -1,3 +1,3 @@ -import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{r as c}from"./index-mfbfsM12.js";import{P as m}from"./PressableBase-C7VxqMV9.js";import{B as v}from"./Box-CEQ9kk6v.js";import{u as p}from"./useThemable-ua4U8LzO.js";import{s as g}from"./index-kbHxBZ_W.js";const n=c.forwardRef(({children:e,inset:a="no",insetHorizontal:r,insetVertical:s,variant:o="tertiary",...u},i)=>{const l=p(f(o));return t.jsx(m,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",ref:i,style:({pressed:d})=>[l.button,d&&l.pressed],...u,children:t.jsx(v,{inset:a,insetHorizontal:r,insetVertical:s,children:e})})}),f=e=>({color:a})=>g.create({button:{backgroundColor:e!=="transparent"?a.pressable[e].default.background:void 0},pressed:{backgroundColor:e!=="transparent"?a.pressable[e].pressed.background:void 0}});try{n.displayName="Pressable",n.__docgenInfo={description:`Used to build other interactive components, do not use on its own. +import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{r as c}from"./index-mfbfsM12.js";import{P as m}from"./PressableBase-DhkKVuqd.js";import{B as v}from"./Box-CEQ9kk6v.js";import{u as p}from"./useThemable-ua4U8LzO.js";import{s as g}from"./index-kbHxBZ_W.js";const n=c.forwardRef(({children:e,inset:a="no",insetHorizontal:r,insetVertical:s,variant:o="tertiary",...u},i)=>{const l=p(f(o));return t.jsx(m,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",ref:i,style:({pressed:d})=>[l.button,d&&l.pressed],...u,children:t.jsx(v,{inset:a,insetHorizontal:r,insetVertical:s,children:e})})}),f=e=>({color:a})=>g.create({button:{backgroundColor:e!=="transparent"?a.pressable[e].default.background:void 0},pressed:{backgroundColor:e!=="transparent"?a.pressable[e].pressed.background:void 0}});try{n.displayName="Pressable",n.__docgenInfo={description:`Used to build other interactive components, do not use on its own. This is a replacement for the React Native Pressable component, with added Box properties.`,displayName:"Pressable",props:{children:{defaultValue:null,description:`Either children or a render prop that receives a boolean reflecting whether the component is currently pressed.`,name:"children",required:!1,type:{name:"((string | number | boolean | ReactElement> | Iterable | ReactPortal) & (string | ... 5 more ... | ((state: PressableStateCallbackType) => ReactNode))) | null"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},variant:{defaultValue:{value:"tertiary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"tertiary"'},{value:'"transparent"'}]}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},inset:{defaultValue:{value:"no"},description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}export{n as P}; diff --git a/assets/Pressable.stories-Do2kFpVF.js b/assets/Pressable.stories-CL8kOjpZ.js similarity index 75% rename from assets/Pressable.stories-Do2kFpVF.js rename to assets/Pressable.stories-CL8kOjpZ.js index 47ead554..80fb9bf0 100644 --- a/assets/Pressable.stories-Do2kFpVF.js +++ b/assets/Pressable.stories-CL8kOjpZ.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as i}from"./Pressable-kwatEfDj.js";import{P as m}from"./Paragraph-C4zYzItT.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";const k={component:i,argTypes:{onPress:{action:"onPress"}}},r={args:{children:e.jsx(m,{children:"Press me"}),insetHorizontal:"lg"}};var o,t,s;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{P as i}from"./Pressable-0Of7HZos.js";import{P as m}from"./Paragraph-DU14yVhW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";const k={component:i,argTypes:{onPress:{action:"onPress"}}},r={args:{children:e.jsx(m,{children:"Press me"}),insetHorizontal:"lg"}};var o,t,s;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ args: { children: Press me, insetHorizontal: 'lg' diff --git a/assets/PressableBase-C7VxqMV9.js b/assets/PressableBase-DhkKVuqd.js similarity index 94% rename from assets/PressableBase-C7VxqMV9.js rename to assets/PressableBase-DhkKVuqd.js index 00705b0f..5701cbd5 100644 --- a/assets/PressableBase-C7VxqMV9.js +++ b/assets/PressableBase-DhkKVuqd.js @@ -1,2 +1,2 @@ -import{j as d}from"./jsx-runtime-Bxcv0yjW.js";import{r as c}from"./index-mfbfsM12.js";import{u as m,a as n}from"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import{M as v}from"./index-LDRWBpq_.js";const u=c.forwardRef(({children:t,onPress:a=()=>null,logAction:s=n.buttonPress,onAccessibilityAction:l,...o},r)=>{const i=m({...o,logAction:s});return d.jsx(v,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",onAccessibilityAction:e=>{l==null||l(e),i(e,{nameSuffix:e.nativeEvent.actionName,action:n.accessibilityAction})},onPress:e=>{a==null||a(e),i(e)},ref:r,...o,children:t})});try{u.displayName="PressableBase",u.__docgenInfo={description:`Used to build other interactive components, do not use on its own. +import{j as d}from"./jsx-runtime-Bxcv0yjW.js";import{r as c}from"./index-mfbfsM12.js";import{u as m,a as n}from"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import{M as v}from"./index-CIcog7m4.js";const u=c.forwardRef(({children:t,onPress:a=()=>null,logAction:s=n.buttonPress,onAccessibilityAction:l,...o},r)=>{const i=m({...o,logAction:s});return d.jsx(v,{accessibilityLanguage:"nl-NL",accessibilityRole:"button",onAccessibilityAction:e=>{l==null||l(e),i(e,{nameSuffix:e.nativeEvent.actionName,action:n.accessibilityAction})},onPress:e=>{a==null||a(e),i(e)},ref:r,...o,children:t})});try{u.displayName="PressableBase",u.__docgenInfo={description:`Used to build other interactive components, do not use on its own. This is a drop in replacement of the React Native Pressable component.`,displayName:"PressableBase",props:{"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:{value:"PiwikAction.buttonPress"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}export{u as P}; diff --git a/assets/PressableBase.stories-DbbWG8dg.js b/assets/PressableBase.stories-USPKU3bj.js similarity index 79% rename from assets/PressableBase.stories-DbbWG8dg.js rename to assets/PressableBase.stories-USPKU3bj.js index c651c377..f4ab6ea8 100644 --- a/assets/PressableBase.stories-DbbWG8dg.js +++ b/assets/PressableBase.stories-USPKU3bj.js @@ -1 +1 @@ -import{P as e}from"./PressableBase-C7VxqMV9.js";import{p as m}from"./pressable-arg-types-CJIMfHep.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";const A={component:e,argTypes:m},r={};var o,t,p;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(p=(t=r.parameters)==null?void 0:t.docs)==null?void 0:p.source}}};const B=["Default"];export{r as Default,B as __namedExportsOrder,A as default}; +import{P as e}from"./PressableBase-DhkKVuqd.js";import{p as m}from"./pressable-arg-types-CJIMfHep.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";const A={component:e,argTypes:m},r={};var o,t,p;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(p=(t=r.parameters)==null?void 0:t.docs)==null?void 0:p.source}}};const B=["Default"];export{r as Default,B as __namedExportsOrder,A as default}; diff --git a/assets/RadioGroup.stories-D2Tj5TDQ.js b/assets/RadioGroup.stories-C76qQ-dP.js similarity index 96% rename from assets/RadioGroup.stories-D2Tj5TDQ.js rename to assets/RadioGroup.stories-C76qQ-dP.js index 5ed75e45..a27b3fe7 100644 --- a/assets/RadioGroup.stories-D2Tj5TDQ.js +++ b/assets/RadioGroup.stories-C76qQ-dP.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{S as w,a as p}from"./index-BtN4QjYR.js";import{P as V}from"./PressableBase-C7VxqMV9.js";import{R}from"./Row-D-wvv0CV.js";import{P as q}from"./Phrase-Dnv5p-ah.js";import{u as P}from"./useTheme-ChTiG3MC.js";import{C as _}from"./Column-CFK5NdwL.js";import{u as x,P as k,a as N}from"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-Dk74W0Oi.js";import"./index-kbHxBZ_W.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-BP1Ij_Cs.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./development-LhlsWDYu.js";const A=({checked:t})=>{const{color:a}=P();return e.jsxs(w,{height:24,viewBox:"0 0 24 24",width:24,children:[e.jsx(p,{cx:12,cy:12,fill:a.control.default.background,r:11,stroke:a.control.checked.border,strokeWidth:2}),!!t&&e.jsx(p,{cx:12,cy:12,fill:a.control.checked.border,r:8})]})},s=({label:t,isSelected:a,onPress:o,testID:i,...n})=>e.jsx(V,{...n,accessibilityLanguage:"nl-NL",accessibilityRole:"radio",accessibilityState:{selected:a},onPress:o,testID:i,children:e.jsxs(R,{gutter:"sm",valign:"center",children:[e.jsx(A,{checked:a}),e.jsx(q,{testID:`${i}Phrase`,children:t})]})});try{s.displayName="Radio",s.__docgenInfo={description:"",displayName:"Radio",props:{isSelected:{defaultValue:null,description:"",name:"isSelected",required:!0,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"Called when a single tap gesture is detected.",name:"onPress",required:!1,type:{name:"(() => void) & ((event: GestureResponderEvent) => void)"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const u=({options:t=[],onChange:a,testID:o,value:i,logAction:n=N.radioChange,useOptionValuesForLogging:d=!1,logDimensions:h={},...y})=>{const b=x({...y,logAction:n,logDimensions:h,onEvent:a,testID:o});return e.jsx(_,{gutter:"md",children:t.map(({label:c,value:l},C)=>{const m=`${o}${d?l.toString():C}RadioButton`;return e.jsx(s,{isSelected:i===l,label:c,"logging-label":m,logName:m,onPress:()=>b(l,d?{dimensions:{[k.newState]:l.toString()}}:{}),testID:`${o}${l.toString()}RadioButton`},c)})})};try{u.displayName="RadioGroup",u.__docgenInfo={description:"",displayName:"RadioGroup",props:{onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: T) => void"}},options:{defaultValue:{value:"[]"},description:"",name:"options",required:!1,type:{name:"RadioGroupOption[]"}},useOptionValuesForLogging:{defaultValue:{value:"false"},description:"Log value to analytics service as new state when the selected value changes and as name on the button press event of the option.",name:"useOptionValuesForLogging",required:!1,type:{name:"boolean"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"RadioValue"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},logAction:{defaultValue:{value:"PiwikAction.radioChange"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const re={component:u},D=[{label:"Heldhaftig",value:"valiant"},{label:"Vastberaden",value:"steadfast"},{label:"Barmhartig",value:"compassionate"}],r={args:{options:D,value:"valiant"}};var v,g,f;r.parameters={...r.parameters,docs:{...(v=r.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{S as w,a as p}from"./index-BtN4QjYR.js";import{P as V}from"./PressableBase-DhkKVuqd.js";import{R}from"./Row-D-wvv0CV.js";import{P as q}from"./Phrase-FY7SqhHh.js";import{u as P}from"./useTheme-ChTiG3MC.js";import{C as _}from"./Column-CFK5NdwL.js";import{u as x,P as k,a as N}from"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-Dk74W0Oi.js";import"./index-kbHxBZ_W.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-BP1Ij_Cs.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./development-LhlsWDYu.js";const A=({checked:t})=>{const{color:a}=P();return e.jsxs(w,{height:24,viewBox:"0 0 24 24",width:24,children:[e.jsx(p,{cx:12,cy:12,fill:a.control.default.background,r:11,stroke:a.control.checked.border,strokeWidth:2}),!!t&&e.jsx(p,{cx:12,cy:12,fill:a.control.checked.border,r:8})]})},s=({label:t,isSelected:a,onPress:o,testID:i,...n})=>e.jsx(V,{...n,accessibilityLanguage:"nl-NL",accessibilityRole:"radio",accessibilityState:{selected:a},onPress:o,testID:i,children:e.jsxs(R,{gutter:"sm",valign:"center",children:[e.jsx(A,{checked:a}),e.jsx(q,{testID:`${i}Phrase`,children:t})]})});try{s.displayName="Radio",s.__docgenInfo={description:"",displayName:"Radio",props:{isSelected:{defaultValue:null,description:"",name:"isSelected",required:!0,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"Called when a single tap gesture is detected.",name:"onPress",required:!1,type:{name:"(() => void) & ((event: GestureResponderEvent) => void)"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const u=({options:t=[],onChange:a,testID:o,value:i,logAction:n=N.radioChange,useOptionValuesForLogging:d=!1,logDimensions:h={},...y})=>{const b=x({...y,logAction:n,logDimensions:h,onEvent:a,testID:o});return e.jsx(_,{gutter:"md",children:t.map(({label:c,value:l},C)=>{const m=`${o}${d?l.toString():C}RadioButton`;return e.jsx(s,{isSelected:i===l,label:c,"logging-label":m,logName:m,onPress:()=>b(l,d?{dimensions:{[k.newState]:l.toString()}}:{}),testID:`${o}${l.toString()}RadioButton`},c)})})};try{u.displayName="RadioGroup",u.__docgenInfo={description:"",displayName:"RadioGroup",props:{onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: T) => void"}},options:{defaultValue:{value:"[]"},description:"",name:"options",required:!1,type:{name:"RadioGroupOption[]"}},useOptionValuesForLogging:{defaultValue:{value:"false"},description:"Log value to analytics service as new state when the selected value changes and as name on the button press event of the option.",name:"useOptionValuesForLogging",required:!1,type:{name:"boolean"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"RadioValue"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},logAction:{defaultValue:{value:"PiwikAction.radioChange"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const re={component:u},D=[{label:"Heldhaftig",value:"valiant"},{label:"Vastberaden",value:"steadfast"},{label:"Barmhartig",value:"compassionate"}],r={args:{options:D,value:"valiant"}};var v,g,f;r.parameters={...r.parameters,docs:{...(v=r.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { options, value: 'valiant' diff --git a/assets/Row.stories-D56QDDj0.js b/assets/Row.stories-DRYWzch8.js similarity index 86% rename from assets/Row.stories-D56QDDj0.js rename to assets/Row.stories-DRYWzch8.js index 5524b71a..fe1d64b7 100644 --- a/assets/Row.stories-D56QDDj0.js +++ b/assets/Row.stories-DRYWzch8.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{B as a}from"./Button-jNQoxaXU.js";import{R as i}from"./Row-D-wvv0CV.js";import{B as s}from"./Block-B9hfeL6e.js";import{C as c}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./config-BZnShabN.js";import"./Icon-BD3fFj_K.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";const U={component:i},r=o=>t.jsx(c,{highlight:!0,children:t.jsxs(i,{...o,children:[t.jsx(s,{label:"A"}),t.jsx(s,{label:"B"}),t.jsx(s,{label:"C"})]})});r.args={align:"start",gutter:"md",wrap:!1};const e=o=>t.jsx(c,{highlight:!0,maxWidth:"24rem",children:t.jsxs(i,{...o,children:[t.jsx(a,{label:"Wijzig adres",testID:"Button"}),t.jsx(a,{label:"Voeg adres toe",testID:"Button",variant:"secondary"}),t.jsx(a,{label:"Verwijder adres",testID:"Button",variant:"secondary"})]})});e.args={gutter:"md",wrap:!0};var n,m,p;r.parameters={...r.parameters,docs:{...(n=r.parameters)==null?void 0:n.docs,source:{originalSource:`args => +import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{B as a}from"./Button-DKrj2h9O.js";import{R as i}from"./Row-D-wvv0CV.js";import{B as s}from"./Block-B9hfeL6e.js";import{C as c}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./config-BZnShabN.js";import"./Icon-DzTBkJ4u.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";const U={component:i},r=o=>t.jsx(c,{highlight:!0,children:t.jsxs(i,{...o,children:[t.jsx(s,{label:"A"}),t.jsx(s,{label:"B"}),t.jsx(s,{label:"C"})]})});r.args={align:"start",gutter:"md",wrap:!1};const e=o=>t.jsx(c,{highlight:!0,maxWidth:"24rem",children:t.jsxs(i,{...o,children:[t.jsx(a,{label:"Wijzig adres",testID:"Button"}),t.jsx(a,{label:"Voeg adres toe",testID:"Button",variant:"secondary"}),t.jsx(a,{label:"Verwijder adres",testID:"Button",variant:"secondary"})]})});e.args={gutter:"md",wrap:!0};var n,m,p;r.parameters={...r.parameters,docs:{...(n=r.parameters)==null?void 0:n.docs,source:{originalSource:`args => diff --git a/assets/Size.stories-Cg0-tU1f.js b/assets/Size.stories-B7jZv6Rl.js similarity index 94% rename from assets/Size.stories-Cg0-tU1f.js rename to assets/Size.stories-B7jZv6Rl.js index 8b226a9d..ea9fc385 100644 --- a/assets/Size.stories-Cg0-tU1f.js +++ b/assets/Size.stories-B7jZv6Rl.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{S as i}from"./Size-ByzkQpGs.js";import{P as m}from"./Phrase-Dnv5p-ah.js";import"./Block-B9hfeL6e.js";import{C as p}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BP1Ij_Cs.js";import"./index-kbHxBZ_W.js";import"./TextAncestorContext-Dg3XKfar.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";const v={component:i},r=o=>e.jsx(i,{...o,children:e.jsx(p,{highlight:!0,children:e.jsx(m,{testID:"Phrase",children:"Ik accepteer afmetingen"})})});r.args={maxWidth:128,minHeight:128};var t,s,a;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`args => +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{S as i}from"./Size-ByzkQpGs.js";import{P as m}from"./Phrase-FY7SqhHh.js";import"./Block-B9hfeL6e.js";import{C as p}from"./Canvas-CCRWbH08.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BP1Ij_Cs.js";import"./index-kbHxBZ_W.js";import"./TextAncestorContext-Dg3XKfar.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";const v={component:i},r=o=>e.jsx(i,{...o,children:e.jsx(p,{highlight:!0,children:e.jsx(m,{testID:"Phrase",children:"Ik accepteer afmetingen"})})});r.args={maxWidth:128,minHeight:128};var t,s,a;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`args => Ik accepteer afmetingen diff --git a/assets/SomethingWentWrong.stories-LkFgIJUv.js b/assets/SomethingWentWrong.stories-bJjqQogI.js similarity index 88% rename from assets/SomethingWentWrong.stories-LkFgIJUv.js rename to assets/SomethingWentWrong.stories-bJjqQogI.js index 1a9c7f27..56d65c6c 100644 --- a/assets/SomethingWentWrong.stories-LkFgIJUv.js +++ b/assets/SomethingWentWrong.stories-bJjqQogI.js @@ -1 +1 @@ -import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{P as d}from"./Pressable-kwatEfDj.js";import{A as c,a as v}from"./AlertBase-DGXY5KHL.js";import{u as f}from"./useAccessibilityAnnounce-VJH9SmdL.js";import{V as g}from"./index-BP1Ij_Cs.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./SingleSelectable-BAFROorM.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Row-D-wvv0CV.js";import"./Icon-BD3fFj_K.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./Paragraph-C4zYzItT.js";import"./Title-DSiraCpB.js";import"./useAccessibilityFocus-jeKlJ74P.js";import"./index-DEfxrPnc.js";import"./index-CDv7s-w8.js";import"./useIsScreenReaderEnabled-A65pchNu.js";import"./duration-A4BOymd5.js";import"./accessibleText-gmNPjmn1.js";const o=e=>t.jsx(c,{...e,variant:v.negative});try{o.displayName="AlertNegative",o.__docgenInfo={description:"",displayName:"AlertNegative",props:{inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},hasCloseIcon:{defaultValue:null,description:"",name:"hasCloseIcon",required:!1,type:{name:"boolean"}},hasIcon:{defaultValue:null,description:"",name:"hasIcon",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"information"'},{value:'"negative"'},{value:'"positive"'},{value:'"warning"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const y=({children:e,retryFn:a,testID:r})=>a?t.jsx(d,{onPress:a,testID:r,children:e}):t.jsx(g,{testID:r,children:e}),n=({retryFn:e,testID:a,text:r="Er ging iets mis.",title:l="Sorry …",...p})=>(f(`${l} ${r}`),t.jsx(y,{retryFn:e,testID:a,children:t.jsx(o,{...p,testID:"SomethingWentWrong",text:r,title:l})}));try{n.displayName="SomethingWentWrong",n.__docgenInfo={description:"",displayName:"SomethingWentWrong",props:{testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"information"'},{value:'"negative"'},{value:'"positive"'},{value:'"warning"'}]}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},title:{defaultValue:{value:"Sorry …"},description:"",name:"title",required:!1,type:{name:"string"}},hasCloseIcon:{defaultValue:null,description:"",name:"hasCloseIcon",required:!1,type:{name:"boolean"}},hasIcon:{defaultValue:null,description:"",name:"hasIcon",required:!1,type:{name:"boolean"}},retryFn:{defaultValue:null,description:"",name:"retryFn",required:!1,type:{name:"(() => void)"}},text:{defaultValue:{value:"Er ging iets mis."},description:"",name:"text",required:!1,type:{name:"string"}}}}}catch{}const pe={component:n},i=()=>t.jsx(n,{testID:""});var s,m,u;i.parameters={...i.parameters,docs:{...(s=i.parameters)==null?void 0:s.docs,source:{originalSource:'() => ',...(u=(m=i.parameters)==null?void 0:m.docs)==null?void 0:u.source}}};const de=["Default"];export{i as Default,de as __namedExportsOrder,pe as default}; +import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{P as d}from"./Pressable-0Of7HZos.js";import{A as c,a as v}from"./AlertBase-DwpiVhFL.js";import{u as f}from"./useAccessibilityAnnounce-VJH9SmdL.js";import{V as g}from"./index-BP1Ij_Cs.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./SingleSelectable-BAFROorM.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Row-D-wvv0CV.js";import"./Icon-DzTBkJ4u.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./Paragraph-DU14yVhW.js";import"./Title-CLDk-249.js";import"./useAccessibilityFocus-jeKlJ74P.js";import"./index-DEfxrPnc.js";import"./index-CDv7s-w8.js";import"./useIsScreenReaderEnabled-A65pchNu.js";import"./duration-A4BOymd5.js";import"./accessibleText-gmNPjmn1.js";const o=e=>t.jsx(c,{...e,variant:v.negative});try{o.displayName="AlertNegative",o.__docgenInfo={description:"",displayName:"AlertNegative",props:{inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},hasCloseIcon:{defaultValue:null,description:"",name:"hasCloseIcon",required:!1,type:{name:"boolean"}},hasIcon:{defaultValue:null,description:"",name:"hasIcon",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"information"'},{value:'"negative"'},{value:'"positive"'},{value:'"warning"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const y=({children:e,retryFn:a,testID:r})=>a?t.jsx(d,{onPress:a,testID:r,children:e}):t.jsx(g,{testID:r,children:e}),n=({retryFn:e,testID:a,text:r="Er ging iets mis.",title:l="Sorry …",...p})=>(f(`${l} ${r}`),t.jsx(y,{retryFn:e,testID:a,children:t.jsx(o,{...p,testID:"SomethingWentWrong",text:r,title:l})}));try{n.displayName="SomethingWentWrong",n.__docgenInfo={description:"",displayName:"SomethingWentWrong",props:{testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"information"'},{value:'"negative"'},{value:'"positive"'},{value:'"warning"'}]}},inset:{defaultValue:null,description:"",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},title:{defaultValue:{value:"Sorry …"},description:"",name:"title",required:!1,type:{name:"string"}},hasCloseIcon:{defaultValue:null,description:"",name:"hasCloseIcon",required:!1,type:{name:"boolean"}},hasIcon:{defaultValue:null,description:"",name:"hasIcon",required:!1,type:{name:"boolean"}},retryFn:{defaultValue:null,description:"",name:"retryFn",required:!1,type:{name:"(() => void)"}},text:{defaultValue:{value:"Er ging iets mis."},description:"",name:"text",required:!1,type:{name:"string"}}}}}catch{}const pe={component:n},i=()=>t.jsx(n,{testID:""});var s,m,u;i.parameters={...i.parameters,docs:{...(s=i.parameters)==null?void 0:s.docs,source:{originalSource:'() => ',...(u=(m=i.parameters)==null?void 0:m.docs)==null?void 0:u.source}}};const de=["Default"];export{i as Default,de as __namedExportsOrder,pe as default}; diff --git a/assets/Switch.stories-Ndira0bo.js b/assets/Switch.stories-BS9spyxO.js similarity index 94% rename from assets/Switch.stories-Ndira0bo.js rename to assets/Switch.stories-BS9spyxO.js index 01a0de63..4ac76393 100644 --- a/assets/Switch.stories-Ndira0bo.js +++ b/assets/Switch.stories-BS9spyxO.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{r as y}from"./index-mfbfsM12.js";import{P as w}from"./PressableBase-C7VxqMV9.js";import{F as k}from"./FormField-BhsBdiWh.js";import{u as C,P,a as x}from"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import{u as V}from"./useTheme-ChTiG3MC.js";import{S as _}from"./index-k6NSpe5t.js";import{T as q}from"./index-CAyeAlm6.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-kbHxBZ_W.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-BP1Ij_Cs.js";import"./HideFromAccessibility-B6TCA_vV.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./layoutStyles-hLwHoe51.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./development-LhlsWDYu.js";const i=({accessibilityLabel:r="",disabled:l=!1,label:p,labelPosition:g="start",logAction:v=x.toggle,logDimensions:f={},onChange:h,testID:n,value:o,wrapper:b=y.Fragment,...s})=>{const{color:a}=V(),u=C({...s,logAction:v,logDimensions:{...f,[P.newState]:o?"unchecked":"checked"},onEvent:h,testID:n});return e.jsx(w,{accessibilityHint:"Dubbel tik om onderdeel aan of uit te zetten",accessibilityLabel:`${r} onderdeel staat ${o?"aan":"uit"}`,accessibilityLanguage:"nl-NL",accessibilityRole:"button","aria-disabled":l,onPress:u,testID:n,children:e.jsx(b,{children:e.jsx(k,{label:p,labelPosition:g,children:e.jsx(_,{accessibilityElementsHidden:!0,importantForAccessibility:"no-hide-descendants",ios_backgroundColor:a.switch.track.off.background,onChange:u,thumbColor:a.switch.thumb[l?"disabled":"enabled"].background,trackColor:{false:a.switch.track.off.background,true:a.switch.track.on.background},value:o,...s})})})})};try{i.displayName="Switch",i.__docgenInfo={description:"Wraps a switch with its label in a row and takes care of accessibility.",displayName:"Switch",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"ReactNode"}},labelPosition:{defaultValue:{value:"start"},description:"",name:"labelPosition",required:!1,type:{name:"enum",value:[{value:'"end"'},{value:'"start"'}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"(() => void)"}},wrapper:{defaultValue:null,description:"",name:"wrapper",required:!1,type:{name:"ElementType"}},logAction:{defaultValue:{value:"PiwikAction.toggle"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const te={component:i,argTypes:{onValueChange:{action:"onValueChange"}}},t={args:{label:e.jsx(q,{children:"Ik ga akkoord met de voorwaarden"}),labelPosition:"end",value:!0}};var c,d,m;t.parameters={...t.parameters,docs:{...(c=t.parameters)==null?void 0:c.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{r as y}from"./index-mfbfsM12.js";import{P as w}from"./PressableBase-DhkKVuqd.js";import{F as k}from"./FormField-BhsBdiWh.js";import{u as C,P,a as x}from"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import{u as V}from"./useTheme-ChTiG3MC.js";import{S as _}from"./index-k6NSpe5t.js";import{T as q}from"./index-CAyeAlm6.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-kbHxBZ_W.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-BP1Ij_Cs.js";import"./HideFromAccessibility-B6TCA_vV.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./layoutStyles-hLwHoe51.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./development-LhlsWDYu.js";const i=({accessibilityLabel:r="",disabled:l=!1,label:p,labelPosition:g="start",logAction:v=x.toggle,logDimensions:f={},onChange:h,testID:n,value:o,wrapper:b=y.Fragment,...s})=>{const{color:a}=V(),u=C({...s,logAction:v,logDimensions:{...f,[P.newState]:o?"unchecked":"checked"},onEvent:h,testID:n});return e.jsx(w,{accessibilityHint:"Dubbel tik om onderdeel aan of uit te zetten",accessibilityLabel:`${r} onderdeel staat ${o?"aan":"uit"}`,accessibilityLanguage:"nl-NL",accessibilityRole:"button","aria-disabled":l,onPress:u,testID:n,children:e.jsx(b,{children:e.jsx(k,{label:p,labelPosition:g,children:e.jsx(_,{accessibilityElementsHidden:!0,importantForAccessibility:"no-hide-descendants",ios_backgroundColor:a.switch.track.off.background,onChange:u,thumbColor:a.switch.thumb[l?"disabled":"enabled"].background,trackColor:{false:a.switch.track.off.background,true:a.switch.track.on.background},value:o,...s})})})})};try{i.displayName="Switch",i.__docgenInfo={description:"Wraps a switch with its label in a row and takes care of accessibility.",displayName:"Switch",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"ReactNode"}},labelPosition:{defaultValue:{value:"start"},description:"",name:"labelPosition",required:!1,type:{name:"enum",value:[{value:'"end"'},{value:'"start"'}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"(() => void)"}},wrapper:{defaultValue:null,description:"",name:"wrapper",required:!1,type:{name:"ElementType"}},logAction:{defaultValue:{value:"PiwikAction.toggle"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:{value:"{}"},description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const te={component:i,argTypes:{onValueChange:{action:"onValueChange"}}},t={args:{label:e.jsx(q,{children:"Ik ga akkoord met de voorwaarden"}),labelPosition:"end",value:!0}};var c,d,m;t.parameters={...t.parameters,docs:{...(c=t.parameters)==null?void 0:c.docs,source:{originalSource:`{ args: { label: Ik ga akkoord met de voorwaarden, labelPosition: 'end', diff --git a/assets/Tag.stories-DSysMEln.js b/assets/Tag.stories-Ck6EV1cT.js similarity index 94% rename from assets/Tag.stories-DSysMEln.js rename to assets/Tag.stories-Ck6EV1cT.js index 3193dea3..aa2a111c 100644 --- a/assets/Tag.stories-DSysMEln.js +++ b/assets/Tag.stories-Ck6EV1cT.js @@ -1 +1 @@ -import{j as o}from"./jsx-runtime-Bxcv0yjW.js";import{P as m}from"./Paragraph-C4zYzItT.js";import{u as c}from"./useThemable-ua4U8LzO.js";import{V as n}from"./index-BP1Ij_Cs.js";import{s as l}from"./index-kbHxBZ_W.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";const a=({label:r})=>{const e=c(d);return o.jsx(n,{style:e.tag,children:o.jsx(m,{children:r})})},d=({color:r,size:e})=>l.create({tag:{backgroundColor:r.tag.background,paddingHorizontal:e.spacing.sm,paddingVertical:e.spacing.xs}});try{a.displayName="Tag",a.__docgenInfo={description:"",displayName:"Tag",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}}}}}catch{}const D={component:a},t={};var s,p,i;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(i=(p=t.parameters)==null?void 0:p.docs)==null?void 0:i.source}}};const E=["Default"];export{t as Default,E as __namedExportsOrder,D as default}; +import{j as o}from"./jsx-runtime-Bxcv0yjW.js";import{P as m}from"./Paragraph-DU14yVhW.js";import{u as c}from"./useThemable-ua4U8LzO.js";import{V as n}from"./index-BP1Ij_Cs.js";import{s as l}from"./index-kbHxBZ_W.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";const a=({label:r})=>{const e=c(d);return o.jsx(n,{style:e.tag,children:o.jsx(m,{children:r})})},d=({color:r,size:e})=>l.create({tag:{backgroundColor:r.tag.background,paddingHorizontal:e.spacing.sm,paddingVertical:e.spacing.xs}});try{a.displayName="Tag",a.__docgenInfo={description:"",displayName:"Tag",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}}}}}catch{}const D={component:a},t={};var s,p,i;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:"{}",...(i=(p=t.parameters)==null?void 0:p.docs)==null?void 0:i.source}}};const E=["Default"];export{t as Default,E as __namedExportsOrder,D as default}; diff --git a/assets/TextInput.stories-CJ0XZhJK.js b/assets/TextInput.stories-B4hSDUIc.js similarity index 91% rename from assets/TextInput.stories-CJ0XZhJK.js rename to assets/TextInput.stories-B4hSDUIc.js index 5a8ad13c..bc73282b 100644 --- a/assets/TextInput.stories-CJ0XZhJK.js +++ b/assets/TextInput.stories-B4hSDUIc.js @@ -1,4 +1,4 @@ -import{j as i}from"./jsx-runtime-Bxcv0yjW.js";import{r as m}from"./index-mfbfsM12.js";import{I as B}from"./IconButton-C0GLYfe-.js";import{L as D}from"./Label-C4_wptQZ.js";import{C as F}from"./Column-CFK5NdwL.js";import{I as N}from"./Icon-BD3fFj_K.js";import{u as v}from"./useThemable-ua4U8LzO.js";import{V as I}from"./index-BP1Ij_Cs.js";import{T as z}from"./index-DZxzYa9i.js";import{s as M}from"./index-kbHxBZ_W.js";import{P as k}from"./index-DSI0shHu.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-kwatEfDj.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./TextAncestorContext-Dg3XKfar.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./config-BZnShabN.js";import"./Badge-BAkGihjF.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./Paragraph-C4zYzItT.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./useTheme-ChTiG3MC.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";const f=m.forwardRef(({label:r,numberOfLines:a,onChangeText:e,onFocus:t,placeholder:p="",warning:n,value:o="",testID:l="",accessibilityLanguage:s="nl-NL",...b},q)=>{const[C,h]=m.useState(!1),[x,u]=m.useState(o),g=v($({hasFocus:C,numberOfLines:a,warning:n})),E=v(A);m.useEffect(()=>{u(o)},[o]);const L=()=>h(!1),O=y=>{u(y),e==null||e(y)},H=()=>{u(""),e==null||e("")},W=()=>{h(!0),t==null||t()};return i.jsxs(F,{gutter:"sm",children:[i.jsx(D,{isAccessible:!b.accessibilityLabel,text:r}),i.jsxs(I,{style:g.frame,children:[i.jsx(z,{...b,...E,accessibilityLanguage:s,numberOfLines:k.OS==="ios"?void 0:a,onBlur:L,onChangeText:O,onFocus:W,placeholder:p,ref:q,style:g.textInput,testID:l,textAlignVertical:"top",value:x}),x?i.jsx(I,{children:i.jsx(B,{accessibilityHint:"Maak dit tekstveld leeg",accessibilityLanguage:s,icon:i.jsx(N,{name:"close",size:"lg",testID:`${l}ClearIcon`}),onPress:H,testID:`${l}ClearButton`})}):null]})]})}),$=({hasFocus:r,numberOfLines:a,warning:e})=>({color:t,size:p,text:n})=>{const o=r||e?2:1,l=p.spacing.md-(o-1),s=p.spacing.sm-(o-1);return M.create({frame:{flexDirection:"row",paddingHorizontal:l,paddingVertical:s,backgroundColor:t.textInput.container.background,borderStyle:"solid",borderColor:e?t.control.warning.border:r?t.control.focus.border:t.control.default.border,borderWidth:o},textInput:{minHeight:k.OS==="ios"&&a?a*n.lineHeight.body+2*s:"auto",flex:1,padding:0,paddingTop:0,color:t.text.default,fontFamily:n.fontFamily.regular,fontSize:n.fontSize.body}})},A=({color:r})=>({placeholderTextColor:r.text.secondary});try{f.displayName="TextInput",f.__docgenInfo={description:"",displayName:"TextInput",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},numberOfLines:{defaultValue:null,description:`Sets the number of lines for a TextInput. +import{j as i}from"./jsx-runtime-Bxcv0yjW.js";import{r as m}from"./index-mfbfsM12.js";import{I as B}from"./IconButton-S0EpSLVW.js";import{L as D}from"./Label-DDhtsJHB.js";import{C as F}from"./Column-CFK5NdwL.js";import{I as N}from"./Icon-DzTBkJ4u.js";import{u as v}from"./useThemable-ua4U8LzO.js";import{V as I}from"./index-BP1Ij_Cs.js";import{T as z}from"./index-DZxzYa9i.js";import{s as M}from"./index-kbHxBZ_W.js";import{P as k}from"./index-DSI0shHu.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Pressable-0Of7HZos.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./TextAncestorContext-Dg3XKfar.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./config-BZnShabN.js";import"./Badge-BAkGihjF.js";import"./Row-D-wvv0CV.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./Paragraph-DU14yVhW.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./useTheme-ChTiG3MC.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";const f=m.forwardRef(({label:r,numberOfLines:a,onChangeText:e,onFocus:t,placeholder:p="",warning:n,value:o="",testID:l="",accessibilityLanguage:s="nl-NL",...b},q)=>{const[C,h]=m.useState(!1),[x,u]=m.useState(o),g=v($({hasFocus:C,numberOfLines:a,warning:n})),E=v(A);m.useEffect(()=>{u(o)},[o]);const L=()=>h(!1),O=y=>{u(y),e==null||e(y)},H=()=>{u(""),e==null||e("")},W=()=>{h(!0),t==null||t()};return i.jsxs(F,{gutter:"sm",children:[i.jsx(D,{isAccessible:!b.accessibilityLabel,text:r}),i.jsxs(I,{style:g.frame,children:[i.jsx(z,{...b,...E,accessibilityLanguage:s,numberOfLines:k.OS==="ios"?void 0:a,onBlur:L,onChangeText:O,onFocus:W,placeholder:p,ref:q,style:g.textInput,testID:l,textAlignVertical:"top",value:x}),x?i.jsx(I,{children:i.jsx(B,{accessibilityHint:"Maak dit tekstveld leeg",accessibilityLanguage:s,icon:i.jsx(N,{name:"close",size:"lg",testID:`${l}ClearIcon`}),onPress:H,testID:`${l}ClearButton`})}):null]})]})}),$=({hasFocus:r,numberOfLines:a,warning:e})=>({color:t,size:p,text:n})=>{const o=r||e?2:1,l=p.spacing.md-(o-1),s=p.spacing.sm-(o-1);return M.create({frame:{flexDirection:"row",paddingHorizontal:l,paddingVertical:s,backgroundColor:t.textInput.container.background,borderStyle:"solid",borderColor:e?t.control.warning.border:r?t.control.focus.border:t.control.default.border,borderWidth:o},textInput:{minHeight:k.OS==="ios"&&a?a*n.lineHeight.body+2*s:"auto",flex:1,padding:0,paddingTop:0,color:t.text.default,fontFamily:n.fontFamily.regular,fontSize:n.fontSize.body}})},A=({color:r})=>({placeholderTextColor:r.text.secondary});try{f.displayName="TextInput",f.__docgenInfo={description:"",displayName:"TextInput",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},numberOfLines:{defaultValue:null,description:`Sets the number of lines for a TextInput. Use it with multiline set to true to be able to fill the lines.`,name:"numberOfLines",required:!1,type:{name:"number"}},onChangeText:{defaultValue:null,description:`Callback that is called when the text input's text changes. Changed text is passed as an argument to the callback handler.`,name:"onChangeText",required:!1,type:{name:"(((event: string) => void) & ((text: string) => void))"}},onFocus:{defaultValue:null,description:"Callback that is called when the text input is focused",name:"onFocus",required:!1,type:{name:"((() => void) & ((e: NativeSyntheticEvent) => void))"}},placeholder:{defaultValue:{value:""},description:"The string that will be rendered before text input has been entered",name:"placeholder",required:!1,type:{name:"string"}},warning:{defaultValue:null,description:"",name:"warning",required:!1,type:{name:"boolean"}}}}}catch{}const Le={component:f},c={args:{label:"Wat is de titel van je bericht?",placeholder:"Voer een titel in...",value:""}},d={args:{label:"Wat is de titel van je bericht?",multiline:!0,numberOfLines:5,placeholder:"Voer een titel in...",value:""}};var V,j,S;c.parameters={...c.parameters,docs:{...(V=c.parameters)==null?void 0:V.docs,source:{originalSource:`{ args: { diff --git a/assets/Timeline.stories--7Sqshgq.js b/assets/Timeline.stories-tT6nO01r.js similarity index 89% rename from assets/Timeline.stories--7Sqshgq.js rename to assets/Timeline.stories-tT6nO01r.js index e2a7d5aa..de13f9be 100644 --- a/assets/Timeline.stories--7Sqshgq.js +++ b/assets/Timeline.stories-tT6nO01r.js @@ -1,4 +1,4 @@ -import{j as o}from"./jsx-runtime-Bxcv0yjW.js";import{_ as A}from"./useTrackException-Cm6KdDpO.js";import{r as x}from"./index-mfbfsM12.js";import{A as C}from"./Accordion-D9NMahB8.js";import{s as v}from"./index-kbHxBZ_W.js";import{R as E}from"./Row-D-wvv0CV.js";import{I as w}from"./Icon-BD3fFj_K.js";import{H as b}from"./HtmlContent-BXBHRQsV.js";import{T as R}from"./Title-DSiraCpB.js";import{u as k}from"./useDeviceContext-Cm8FgCCV.js";import{u as z}from"./useTheme-ChTiG3MC.js";import{V as y}from"./index-BP1Ij_Cs.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./_commonjsHelpers-BosuxZz1.js";import"./development-LhlsWDYu.js";import"./Pressable-kwatEfDj.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Gutter-BrZ2VZou.js";import"./Size-ByzkQpGs.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useOpenUrl-BebUyU0w.js";import"./index-DEfxrPnc.js";import"./client-BGlHIwA3.js";import"./index-CDv7s-w8.js";import"./index-Ce74jbsy.js";import"./index-CkqLweLe.js";import"./index-k6NSpe5t.js";import"./index-DZxzYa9i.js";import"./index-DgmJIe7t.js";import"./index-BXDkY5MO.js";import"./Phrase-Dnv5p-ah.js";import"./useOpenMailUrl-hiSWEozv.js";import"./useOpenPhoneUrl-C5nkLsXz.js";import"./ListItemMarker-RMfNa45x.js";import"./config-BZnShabN.js";import"./useIsScreenReaderEnabled-A65pchNu.js";function V(r){return r.toLowerCase()}var $=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],S=/[^A-Z0-9]+/gi;function q(r,t){t===void 0&&(t={});for(var e=t.splitRegexp,i=e===void 0?$:e,n=t.stripRegexp,u=n===void 0?S:n,m=t.transform,p=m===void 0?V:m,d=t.delimiter,s=d===void 0?" ":d,l=D(D(r,i,"$1\0$2"),u,"\0"),c=0,a=l.length;l.charAt(c)==="\0";)c++;for(;l.charAt(a-1)==="\0";)a--;return l.slice(c,a).split("\0").map(p).join(s)}function D(r,t,e){return t instanceof RegExp?r.replace(t,e):t.reduce(function(i,n){return i.replace(n,e)},r)}function H(r,t){var e=r.charAt(0),i=r.substr(1).toLowerCase();return t>0&&e>="0"&&e<="9"?"_"+e+i:""+e.toUpperCase()+i}function j(r,t){return t===void 0&&(t={}),q(r,A({delimiter:"",transform:H},t))}const P=(r,t,e,i,n,u)=>{const{color:m,size:p,z:d}=r,s={indicator:{size:p.spacing.lg*t},line:{width:4*t}};return v.create({indicator:{flexShrink:0,position:"relative",width:s.indicator.size,aspectRatio:1,justifyContent:"center",alignItems:"center",top:p.spacing.md,backgroundColor:i?m.timeline.future:m.timeline.past,borderRadius:s.indicator.size/2},line:{position:"absolute",top:p.spacing.md+s.indicator.size,left:(s.indicator.size-s.line.width)/2,zIndex:d.timelineLine,width:s.line.width,height:u&&!n?0:"100%",backgroundColor:i||e?m.timeline.future:m.timeline.past}})},h=({isBeforeUpcoming:r,isLast:t,item:e,testID:i})=>{var l,c;const n=!e.collapsed,[u,m]=x.useState(n),p=z(),{fontScale:d}=k(),s=P(p,d,r,e.progress==="Aankomend",u,t);return o.jsxs(y,{children:[o.jsxs(E,{children:[o.jsx(y,{style:s.indicator,children:e.progress==="Afgelopen"&&o.jsx(w,{color:"inverse",name:"check-mark",size:"sm",testID:`${i}Icon`})}),o.jsxs(C,{grow:1,initiallyExpanded:!!n,isExpandable:!!e.body||!!((l=e.items)!=null&&l.length),onChangeExpanded:a=>m(a),shrink:1,testID:i,title:e.title,children:[!!e.body&&o.jsx(b,{content:e.body,testID:`${i}BodyHtmlContent`}),(c=e.items)==null?void 0:c.map(({title:a,body:g})=>o.jsxs(x.Fragment,{children:[!!a&&o.jsx(R,{level:"h5",text:a}),!!g&&o.jsx(b,{content:g,testID:`${i}ItemBody${j(a??g??"")}HtmlContent`})]},a))]},e.title)]}),o.jsx(y,{style:s.line})]})};try{h.displayName="TimelineItem",h.__docgenInfo={description:"",displayName:"TimelineItem",props:{isBeforeUpcoming:{defaultValue:null,description:"",name:"isBeforeUpcoming",required:!0,type:{name:"boolean"}},isLast:{defaultValue:null,description:"",name:"isLast",required:!0,type:{name:"boolean"}},item:{defaultValue:null,description:"",name:"item",required:!0,type:{name:"ProjectTimelineItem"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const _=({items:r,testID:t})=>o.jsx(o.Fragment,{children:r.map((e,i)=>{var n;return o.jsx(h,{isBeforeUpcoming:((n=r[i+1])==null?void 0:n.progress)==="Aankomend",isLast:i===r.length-1,item:e,testID:`${t}${j(e.title)}TimelineItem`},e.title+i.toString())})});try{_.displayName="Timeline",_.__docgenInfo={description:"",displayName:"Timeline",props:{items:{defaultValue:null,description:"",name:"items",required:!0,type:{name:"ProjectTimelineItem[]"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const Fe={component:_},f={args:{items:[{collapsed:!1,body:"

Dolor sit amet 1

",date:"",items:[{title:"Lorem ipsum 1.1",body:"

Dolor sit amet 1.1

",date:""},{title:"Lorem ipsum 1.2",body:"

Dolor sit amet 1.2

",date:""}],progress:"Afgelopen",title:"Titel 1"},{collapsed:!0,body:"

Dolor sit amet 2

",date:"",items:[{title:"Lorem ipsum 2.1",body:"

Dolor sit amet 2.1

",date:""}],progress:"Huidig",title:"Titel 2"},{collapsed:!0,body:"

Dolor sit amet 3

",date:"",items:[{title:"Lorem ipsum 3.1",body:"

Dolor sit amet 3.1

",date:""},{title:"Lorem ipsum 3.2",body:"

Dolor sit amet 3.2

",date:""}],progress:"Aankomend",title:"Titel 3"}]}};var T,I,L;f.parameters={...f.parameters,docs:{...(T=f.parameters)==null?void 0:T.docs,source:{originalSource:`{ +import{j as o}from"./jsx-runtime-Bxcv0yjW.js";import{_ as A}from"./useTrackException-Cm6KdDpO.js";import{r as x}from"./index-mfbfsM12.js";import{A as C}from"./Accordion-B1ZH8Czd.js";import{s as v}from"./index-kbHxBZ_W.js";import{R as E}from"./Row-D-wvv0CV.js";import{I as w}from"./Icon-DzTBkJ4u.js";import{H as b}from"./HtmlContent-CKWrIzWU.js";import{T as R}from"./Title-CLDk-249.js";import{u as k}from"./useDeviceContext-Cm8FgCCV.js";import{u as z}from"./useTheme-ChTiG3MC.js";import{V as y}from"./index-BP1Ij_Cs.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./_commonjsHelpers-BosuxZz1.js";import"./development-LhlsWDYu.js";import"./Pressable-0Of7HZos.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Gutter-BrZ2VZou.js";import"./Size-ByzkQpGs.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useOpenUrl-DkzqnrRX.js";import"./index-DEfxrPnc.js";import"./client-BGlHIwA3.js";import"./index-CDv7s-w8.js";import"./index-Ce74jbsy.js";import"./index-CkqLweLe.js";import"./index-k6NSpe5t.js";import"./index-DZxzYa9i.js";import"./index-BW2XZOZc.js";import"./index-BXDkY5MO.js";import"./Phrase-FY7SqhHh.js";import"./useOpenMailUrl-Blrf_PL9.js";import"./useOpenPhoneUrl-TB9t0oDt.js";import"./ListItemMarker--j-mu3eN.js";import"./config-BZnShabN.js";import"./useIsScreenReaderEnabled-A65pchNu.js";function V(r){return r.toLowerCase()}var $=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],S=/[^A-Z0-9]+/gi;function q(r,t){t===void 0&&(t={});for(var e=t.splitRegexp,i=e===void 0?$:e,n=t.stripRegexp,u=n===void 0?S:n,m=t.transform,p=m===void 0?V:m,d=t.delimiter,s=d===void 0?" ":d,l=D(D(r,i,"$1\0$2"),u,"\0"),c=0,a=l.length;l.charAt(c)==="\0";)c++;for(;l.charAt(a-1)==="\0";)a--;return l.slice(c,a).split("\0").map(p).join(s)}function D(r,t,e){return t instanceof RegExp?r.replace(t,e):t.reduce(function(i,n){return i.replace(n,e)},r)}function H(r,t){var e=r.charAt(0),i=r.substr(1).toLowerCase();return t>0&&e>="0"&&e<="9"?"_"+e+i:""+e.toUpperCase()+i}function j(r,t){return t===void 0&&(t={}),q(r,A({delimiter:"",transform:H},t))}const P=(r,t,e,i,n,u)=>{const{color:m,size:p,z:d}=r,s={indicator:{size:p.spacing.lg*t},line:{width:4*t}};return v.create({indicator:{flexShrink:0,position:"relative",width:s.indicator.size,aspectRatio:1,justifyContent:"center",alignItems:"center",top:p.spacing.md,backgroundColor:i?m.timeline.future:m.timeline.past,borderRadius:s.indicator.size/2},line:{position:"absolute",top:p.spacing.md+s.indicator.size,left:(s.indicator.size-s.line.width)/2,zIndex:d.timelineLine,width:s.line.width,height:u&&!n?0:"100%",backgroundColor:i||e?m.timeline.future:m.timeline.past}})},h=({isBeforeUpcoming:r,isLast:t,item:e,testID:i})=>{var l,c;const n=!e.collapsed,[u,m]=x.useState(n),p=z(),{fontScale:d}=k(),s=P(p,d,r,e.progress==="Aankomend",u,t);return o.jsxs(y,{children:[o.jsxs(E,{children:[o.jsx(y,{style:s.indicator,children:e.progress==="Afgelopen"&&o.jsx(w,{color:"inverse",name:"check-mark",size:"sm",testID:`${i}Icon`})}),o.jsxs(C,{grow:1,initiallyExpanded:!!n,isExpandable:!!e.body||!!((l=e.items)!=null&&l.length),onChangeExpanded:a=>m(a),shrink:1,testID:i,title:e.title,children:[!!e.body&&o.jsx(b,{content:e.body,testID:`${i}BodyHtmlContent`}),(c=e.items)==null?void 0:c.map(({title:a,body:g})=>o.jsxs(x.Fragment,{children:[!!a&&o.jsx(R,{level:"h5",text:a}),!!g&&o.jsx(b,{content:g,testID:`${i}ItemBody${j(a??g??"")}HtmlContent`})]},a))]},e.title)]}),o.jsx(y,{style:s.line})]})};try{h.displayName="TimelineItem",h.__docgenInfo={description:"",displayName:"TimelineItem",props:{isBeforeUpcoming:{defaultValue:null,description:"",name:"isBeforeUpcoming",required:!0,type:{name:"boolean"}},isLast:{defaultValue:null,description:"",name:"isLast",required:!0,type:{name:"boolean"}},item:{defaultValue:null,description:"",name:"item",required:!0,type:{name:"ProjectTimelineItem"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const _=({items:r,testID:t})=>o.jsx(o.Fragment,{children:r.map((e,i)=>{var n;return o.jsx(h,{isBeforeUpcoming:((n=r[i+1])==null?void 0:n.progress)==="Aankomend",isLast:i===r.length-1,item:e,testID:`${t}${j(e.title)}TimelineItem`},e.title+i.toString())})});try{_.displayName="Timeline",_.__docgenInfo={description:"",displayName:"Timeline",props:{items:{defaultValue:null,description:"",name:"items",required:!0,type:{name:"ProjectTimelineItem[]"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const Fe={component:_},f={args:{items:[{collapsed:!1,body:"

Dolor sit amet 1

",date:"",items:[{title:"Lorem ipsum 1.1",body:"

Dolor sit amet 1.1

",date:""},{title:"Lorem ipsum 1.2",body:"

Dolor sit amet 1.2

",date:""}],progress:"Afgelopen",title:"Titel 1"},{collapsed:!0,body:"

Dolor sit amet 2

",date:"",items:[{title:"Lorem ipsum 2.1",body:"

Dolor sit amet 2.1

",date:""}],progress:"Huidig",title:"Titel 2"},{collapsed:!0,body:"

Dolor sit amet 3

",date:"",items:[{title:"Lorem ipsum 3.1",body:"

Dolor sit amet 3.1

",date:""},{title:"Lorem ipsum 3.2",body:"

Dolor sit amet 3.2

",date:""}],progress:"Aankomend",title:"Titel 3"}]}};var T,I,L;f.parameters={...f.parameters,docs:{...(T=f.parameters)==null?void 0:T.docs,source:{originalSource:`{ args: { items: [{ collapsed: false, diff --git a/assets/Title-DSiraCpB.js b/assets/Title-CLDk-249.js similarity index 89% rename from assets/Title-DSiraCpB.js rename to assets/Title-CLDk-249.js index a09d7fc6..991727a0 100644 --- a/assets/Title-DSiraCpB.js +++ b/assets/Title-CLDk-249.js @@ -1 +1 @@ -import{j as c}from"./jsx-runtime-Bxcv0yjW.js";import{r as n}from"./index-mfbfsM12.js";import{u as d}from"./useThemable-ua4U8LzO.js";import{T as m}from"./index-CAyeAlm6.js";import{s as p}from"./index-kbHxBZ_W.js";const u=n.forwardRef(({color:e="default",level:t="h1",text:r,textAlign:l="left",underline:i=!1,...a},o)=>{const s=n.useMemo(()=>v({color:e,level:t,textAlign:l,underline:i}),[e,t,l,i]),f=d(s);return c.jsx(m,{accessibilityLanguage:"nl-NL",...a,accessibilityRole:"header",ref:o,style:f.title,children:r})}),v=({color:e,level:t,textAlign:r,underline:l})=>({color:i,text:a})=>p.create({title:{flexShrink:1,color:i.text[e],fontFamily:a.fontFamily.bold,fontSize:a.fontSize[t],lineHeight:a.lineHeight[t],textAlign:r,textDecorationLine:l?"underline":void 0}});try{u.displayName="Title",u.__docgenInfo={description:"",displayName:"Title",props:{color:{defaultValue:{value:"default"},description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"inverse"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"warning"'}]}},level:{defaultValue:{value:"h1"},description:"",name:"level",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'},{value:'"h6"'}]}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},textAlign:{defaultValue:{value:"left"},description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"auto"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},underline:{defaultValue:{value:"false"},description:"",name:"underline",required:!1,type:{name:"boolean"}}}}}catch{}export{u as T}; +import{j as c}from"./jsx-runtime-Bxcv0yjW.js";import{r as n}from"./index-mfbfsM12.js";import{u as d}from"./useThemable-ua4U8LzO.js";import{T as m}from"./index-CAyeAlm6.js";import{s as p}from"./index-kbHxBZ_W.js";const u=n.forwardRef(({color:e="default",level:t="h1",text:r,textAlign:l="left",underline:i=!1,...a},o)=>{const s=n.useMemo(()=>v({color:e,level:t,textAlign:l,underline:i}),[e,t,l,i]),f=d(s);return c.jsx(m,{accessibilityLanguage:"nl-NL",...a,accessibilityRole:"header",ref:o,style:f.title,children:r})}),v=({color:e,level:t,textAlign:r,underline:l})=>({color:i,text:a})=>p.create({title:{flexShrink:1,color:i.text[e],fontFamily:a.fontFamily.bold,fontSize:a.fontSize[t],lineHeight:a.lineHeight[t],textAlign:r,textDecorationLine:l?"underline":void 0}});try{u.displayName="Title",u.__docgenInfo={description:"",displayName:"Title",props:{color:{defaultValue:{value:"default"},description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"inverse"'},{value:'"warning"'}]}},level:{defaultValue:{value:"h1"},description:"",name:"level",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'},{value:'"h6"'}]}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},textAlign:{defaultValue:{value:"left"},description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"center"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},underline:{defaultValue:{value:"false"},description:"",name:"underline",required:!1,type:{name:"boolean"}}}}}catch{}export{u as T}; diff --git a/assets/Title.stories-CQJj_JxL.js b/assets/Title.stories-ZmSm_PEZ.js similarity index 91% rename from assets/Title.stories-CQJj_JxL.js rename to assets/Title.stories-ZmSm_PEZ.js index a845eb4e..00577ffe 100644 --- a/assets/Title.stories-CQJj_JxL.js +++ b/assets/Title.stories-ZmSm_PEZ.js @@ -1 +1 @@ -import{j as i}from"./jsx-runtime-Bxcv0yjW.js";import{T as s}from"./Title-DSiraCpB.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-kbHxBZ_W.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";const T={component:s},r=a=>i.jsx(s,{...a});r.args={color:"default",level:"h1",text:"Jouw typograaf biedt mij zulke exquise schreven!"};var t,e,o;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"args => ",...(o=(e=r.parameters)==null?void 0:e.docs)==null?void 0:o.source}}};const _=["Default"];export{r as Default,_ as __namedExportsOrder,T as default}; +import{j as i}from"./jsx-runtime-Bxcv0yjW.js";import{T as s}from"./Title-CLDk-249.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./index-kbHxBZ_W.js";import"./base-color-B2rPH-Aj.js";import"./index-CAyeAlm6.js";import"./TextAncestorContext-Dg3XKfar.js";const T={component:s},r=a=>i.jsx(s,{...a});r.args={color:"default",level:"h1",text:"Jouw typograaf biedt mij zulke exquise schreven!"};var t,e,o;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"args => <Title {...args} />",...(o=(e=r.parameters)==null?void 0:e.docs)==null?void 0:o.source}}};const _=["Default"];export{r as Default,_ as __namedExportsOrder,T as default}; diff --git a/assets/Tooltip-BzAIIzXz.js b/assets/Tooltip-Dddt_hel.js similarity index 97% rename from assets/Tooltip-BzAIIzXz.js rename to assets/Tooltip-Dddt_hel.js index 0f234470..edf37285 100644 --- a/assets/Tooltip-BzAIIzXz.js +++ b/assets/Tooltip-Dddt_hel.js @@ -1 +1 @@ -import{j as i}from"./jsx-runtime-Bxcv0yjW.js";import{r as l}from"./index-mfbfsM12.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import{u as L}from"./useDeviceContext-Cm8FgCCV.js";import{u as T}from"./index-BXDkY5MO.js";import{P as W}from"./PressableBase-C7VxqMV9.js";import{T as $,P as k}from"./Triangle-rmeRPZtY.js";import{C as A}from"./Center-2_hcwEx9.js";import{P as p,D as y}from"./types-BJ_48vsK.js";import{u as _}from"./useThemable-ua4U8LzO.js";import{V as I}from"./index-BP1Ij_Cs.js";import{s as v}from"./index-kbHxBZ_W.js";import{S as B}from"./SingleSelectable-BAFROorM.js";import{C as q}from"./Column-CFK5NdwL.js";import{P as H}from"./Paragraph-C4zYzItT.js";import{F as M}from"./Fader-CBhy3bI5.js";import{R as Y}from"./Row-D-wvv0CV.js";import{u as z}from"./useAccessibilityFocus-jeKlJ74P.js";import{I as G}from"./Animated-CFNSbqHF.js";const J=l.createContext(void 0),K=l.createContext(void 0);function j(){const e=l.useContext(J),t=l.useContext(K);if(t===void 0&&e===void 0)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");return t??e}function O(){const e=j(),[t,o]=l.useState(e.isFocused),a=e.isFocused();return t!==a&&o(a),l.useEffect(()=>{const r=e.addListener("focus",()=>o(!0)),n=e.addListener("blur",()=>o(!1));return()=>{r(),n()}},[e]),l.useDebugValue(a),a}const Q=e=>new Promise((t,o)=>{e?e.measureInWindow((a,r,n,s)=>{t({x:a,height:s,width:n,y:r})}):o(new Error("Element is not defined"))}),De=(e,t)=>{const{height:o,y:a}=e,{height:r,y:n}=t;return n>a&&n+r<a+o},U=e=>{const t=O(),o=T(),[a,r]=l.useState(),n=l.useRef({x:0,y:0,width:0,height:0}),s=l.useCallback(()=>{t&&Q(e.current).then(({x:c,y:u,width:m,height:d})=>{if(c===0&&u===0&&m===0&&d===0){setTimeout(s,300);return}n.current.height!==d||n.current.width!==m||n.current.x!==c||n.current.y!==u?setTimeout(s,300):r({x:c,y:u,width:m,height:d}),n.current={x:c,y:u,width:m,height:d}},()=>setTimeout(s,200))},[t,e,n]),{isPortrait:f}=L();return l.useEffect(()=>{r(void 0),s(),setTimeout(s,200)},[f,s,t,o]),{layout:a,measureTarget:s}},X=e=>({[p.above]:y.down,[p.below]:y.up,[p.before]:y.right,[p.after]:y.left})[e],Z=e=>e?e.x+e.width/2:0,ee=({children:e,direction:t,productTourTipTargetLayout:o})=>t===y.left||t===y.right||!o?i.jsx(A,{children:e}):i.jsx(i.Fragment,{children:e}),x=({placement:e,productTourTipTargetLayout:t})=>{const o=X(e),a=_(te(Z(t)));return i.jsx(ee,{direction:o,productTourTipTargetLayout:t,children:i.jsx(I,{style:a.pointer,children:i.jsx($,{direction:o})})})},te=e=>({size:t})=>v.create({pointer:{marginLeft:e?e-k.width/2-t.spacing.xl:void 0}});try{x.displayName="Pointer",x.__docgenInfo={description:"",displayName:"Pointer",props:{placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},productTourTipTargetLayout:{defaultValue:null,description:"",name:"productTourTipTargetLayout",required:!1,type:{name:"LayoutRectangle"}}}}}catch{}const h=({testID:e,text:t})=>{const o=_(ne),a=typeof t=="string"?[t]:t;return i.jsx(B,{accessibilityRole:"text",accessible:!1,style:o.tooltip,testID:`${e}Content`,children:i.jsx(q,{gutter:"sm",children:a.map((r,n)=>i.jsx(H,{color:"inverse",testID:`${e}Paragraph${n}`,variant:"small",children:r},r))})})},ne=({color:e,size:t})=>v.create({tooltip:{padding:t.spacing.md,backgroundColor:e.tooltip.background}});try{h.displayName="TooltipContent",h.__docgenInfo={description:"",displayName:"TooltipContent",props:{text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string | string[]"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const w=l.forwardRef(({extraSpace:e,isPositioned:t,leftPosition:o,placement:a,productTourTipTargetLayout:r,fadeIn:n,fadeInDuration:s,startFadeIn:f,...c},u)=>{const{width:m}=T(),d=_(oe({extraSpace:e,isPositioned:t,leftPosition:o,placement:a,productTourTipTargetLayout:r,windowWidth:m}));return n?i.jsx(M,{...c,duration:s,ref:u,shouldAnimate:f,style:d.tooltipWrapper}):i.jsx(I,{...c,ref:u,style:d.tooltipWrapper})}),oe=({extraSpace:e,isPositioned:t,leftPosition:o,placement:a,productTourTipTargetLayout:r,windowWidth:n})=>({size:s,z:f})=>{const c=()=>{if(!r)return{position:"relative"};const u=r.height+(e?s.spacing[e]:0);return{left:-o,right:0,position:"absolute",...a===p.above?{bottom:u}:{top:u}}};return v.create({tooltipWrapper:{display:t?"flex":"none",width:r?n:void 0,paddingHorizontal:r?s.spacing.xl:void 0,...c(),zIndex:f.tooltip}})};try{w.displayName="TooltipWrapper",w.__docgenInfo={description:"",displayName:"TooltipWrapper",props:{extraSpace:{defaultValue:null,description:"Extra space to set between target and tooltip",name:"extraSpace",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},fadeIn:{defaultValue:null,description:"Determines whether the tooltip fades in and out. Default is 300 ms.",name:"fadeIn",required:!1,type:{name:"boolean"}},fadeInDuration:{defaultValue:null,description:"Duration of the fade-in animation in milliseconds, only works when fade = true",name:"fadeInDuration",required:!1,type:{name:"number"}},isPositioned:{defaultValue:null,description:"",name:"isPositioned",required:!0,type:{name:"boolean"}},leftPosition:{defaultValue:null,description:"",name:"leftPosition",required:!0,type:{name:"number"}},placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},productTourTipTargetLayout:{defaultValue:null,description:"",name:"productTourTipTargetLayout",required:!1,type:{name:"LayoutRectangle"}},startFadeIn:{defaultValue:null,description:"",name:"startFadeIn",required:!1,type:{name:"boolean"}}}}}catch{}const ae=()=>j(),re=e=>{const t=ae();l.useEffect(()=>t.addListener("blur",e),[e,t])},D=l.forwardRef(({accessibilityLabel:e,accessibilityLanguage:t="nl-NL",extraSpace:o,fadeIn:a,fadeInDuration:r,placement:n,productTourTipTargetLayout:s,onPress:f,startFadeIn:c,testID:u,text:m},d)=>{const P=z(),[F,N]=l.useState(0),[E,V]=l.useState(!1),R=se(!!s),C=l.useRef(null),{layout:b,measureTarget:S}=U(C);l.useEffect(()=>{b&&G.runAfterInteractions(()=>{N(b.x),V(!0)})},[b]),re(()=>V(!1));const g=i.jsx(x,{placement:n,productTourTipTargetLayout:s});return i.jsx(I,{collapsable:!1,onLayout:S,ref:C,style:R.container,children:i.jsx(w,{extraSpace:o,fadeIn:a,fadeInDuration:r,isPositioned:E,leftPosition:F,placement:n,productTourTipTargetLayout:s,ref:d,startFadeIn:c,children:i.jsx(W,{accessibilityLabel:e,accessibilityLanguage:t,accessibilityRole:"alert",onPress:f,ref:P,testID:u,children:i.jsxs(Y,{children:[n===p.after&&g,i.jsxs(q,{grow:1,children:[n===p.below&&g,i.jsx(h,{testID:u,text:m}),n===p.above&&g]}),n===p.before&&g]})})})})}),se=e=>v.create({container:{position:e?"absolute":void 0}});try{D.displayName="Tooltip",D.__docgenInfo={description:"",displayName:"Tooltip",props:{onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string | string[]"}},extraSpace:{defaultValue:null,description:"Extra space to set between target and tooltip",name:"extraSpace",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},fadeIn:{defaultValue:null,description:"Determines whether the tooltip fades in and out. Default is 300 ms.",name:"fadeIn",required:!1,type:{name:"boolean"}},fadeInDuration:{defaultValue:null,description:"Duration of the fade-in animation in milliseconds, only works when fade = true",name:"fadeInDuration",required:!1,type:{name:"number"}},placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},productTourTipTargetLayout:{defaultValue:null,description:"",name:"productTourTipTargetLayout",required:!1,type:{name:"LayoutRectangle"}},startFadeIn:{defaultValue:null,description:"",name:"startFadeIn",required:!1,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{J as N,D as T,K as a,U as b,De as c,re as d,ae as e,Q as m,j as u}; +import{j as i}from"./jsx-runtime-Bxcv0yjW.js";import{r as l}from"./index-mfbfsM12.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import{u as L}from"./useDeviceContext-Cm8FgCCV.js";import{u as T}from"./index-BXDkY5MO.js";import{P as W}from"./PressableBase-DhkKVuqd.js";import{T as $,P as k}from"./Triangle-rmeRPZtY.js";import{C as A}from"./Center-2_hcwEx9.js";import{P as p,D as y}from"./types-BJ_48vsK.js";import{u as _}from"./useThemable-ua4U8LzO.js";import{V as I}from"./index-BP1Ij_Cs.js";import{s as v}from"./index-kbHxBZ_W.js";import{S as B}from"./SingleSelectable-BAFROorM.js";import{C as q}from"./Column-CFK5NdwL.js";import{P as H}from"./Paragraph-DU14yVhW.js";import{F as M}from"./Fader-CBhy3bI5.js";import{R as Y}from"./Row-D-wvv0CV.js";import{u as z}from"./useAccessibilityFocus-jeKlJ74P.js";import{I as G}from"./Animated-CFNSbqHF.js";const J=l.createContext(void 0),K=l.createContext(void 0);function j(){const e=l.useContext(J),t=l.useContext(K);if(t===void 0&&e===void 0)throw new Error("Couldn't find a navigation object. Is your component inside NavigationContainer?");return t??e}function O(){const e=j(),[t,o]=l.useState(e.isFocused),a=e.isFocused();return t!==a&&o(a),l.useEffect(()=>{const r=e.addListener("focus",()=>o(!0)),n=e.addListener("blur",()=>o(!1));return()=>{r(),n()}},[e]),l.useDebugValue(a),a}const Q=e=>new Promise((t,o)=>{e?e.measureInWindow((a,r,n,s)=>{t({x:a,height:s,width:n,y:r})}):o(new Error("Element is not defined"))}),De=(e,t)=>{const{height:o,y:a}=e,{height:r,y:n}=t;return n>a&&n+r<a+o},U=e=>{const t=O(),o=T(),[a,r]=l.useState(),n=l.useRef({x:0,y:0,width:0,height:0}),s=l.useCallback(()=>{t&&Q(e.current).then(({x:c,y:u,width:m,height:d})=>{if(c===0&&u===0&&m===0&&d===0){setTimeout(s,300);return}n.current.height!==d||n.current.width!==m||n.current.x!==c||n.current.y!==u?setTimeout(s,300):r({x:c,y:u,width:m,height:d}),n.current={x:c,y:u,width:m,height:d}},()=>setTimeout(s,200))},[t,e,n]),{isPortrait:f}=L();return l.useEffect(()=>{r(void 0),s(),setTimeout(s,200)},[f,s,t,o]),{layout:a,measureTarget:s}},X=e=>({[p.above]:y.down,[p.below]:y.up,[p.before]:y.right,[p.after]:y.left})[e],Z=e=>e?e.x+e.width/2:0,ee=({children:e,direction:t,productTourTipTargetLayout:o})=>t===y.left||t===y.right||!o?i.jsx(A,{children:e}):i.jsx(i.Fragment,{children:e}),x=({placement:e,productTourTipTargetLayout:t})=>{const o=X(e),a=_(te(Z(t)));return i.jsx(ee,{direction:o,productTourTipTargetLayout:t,children:i.jsx(I,{style:a.pointer,children:i.jsx($,{direction:o})})})},te=e=>({size:t})=>v.create({pointer:{marginLeft:e?e-k.width/2-t.spacing.xl:void 0}});try{x.displayName="Pointer",x.__docgenInfo={description:"",displayName:"Pointer",props:{placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},productTourTipTargetLayout:{defaultValue:null,description:"",name:"productTourTipTargetLayout",required:!1,type:{name:"LayoutRectangle"}}}}}catch{}const h=({testID:e,text:t})=>{const o=_(ne),a=typeof t=="string"?[t]:t;return i.jsx(B,{accessibilityRole:"text",accessible:!1,style:o.tooltip,testID:`${e}Content`,children:i.jsx(q,{gutter:"sm",children:a.map((r,n)=>i.jsx(H,{color:"inverse",testID:`${e}Paragraph${n}`,variant:"small",children:r},r))})})},ne=({color:e,size:t})=>v.create({tooltip:{padding:t.spacing.md,backgroundColor:e.tooltip.background}});try{h.displayName="TooltipContent",h.__docgenInfo={description:"",displayName:"TooltipContent",props:{text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string | string[]"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const w=l.forwardRef(({extraSpace:e,isPositioned:t,leftPosition:o,placement:a,productTourTipTargetLayout:r,fadeIn:n,fadeInDuration:s,startFadeIn:f,...c},u)=>{const{width:m}=T(),d=_(oe({extraSpace:e,isPositioned:t,leftPosition:o,placement:a,productTourTipTargetLayout:r,windowWidth:m}));return n?i.jsx(M,{...c,duration:s,ref:u,shouldAnimate:f,style:d.tooltipWrapper}):i.jsx(I,{...c,ref:u,style:d.tooltipWrapper})}),oe=({extraSpace:e,isPositioned:t,leftPosition:o,placement:a,productTourTipTargetLayout:r,windowWidth:n})=>({size:s,z:f})=>{const c=()=>{if(!r)return{position:"relative"};const u=r.height+(e?s.spacing[e]:0);return{left:-o,right:0,position:"absolute",...a===p.above?{bottom:u}:{top:u}}};return v.create({tooltipWrapper:{display:t?"flex":"none",width:r?n:void 0,paddingHorizontal:r?s.spacing.xl:void 0,...c(),zIndex:f.tooltip}})};try{w.displayName="TooltipWrapper",w.__docgenInfo={description:"",displayName:"TooltipWrapper",props:{extraSpace:{defaultValue:null,description:"Extra space to set between target and tooltip",name:"extraSpace",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},fadeIn:{defaultValue:null,description:"Determines whether the tooltip fades in and out. Default is 300 ms.",name:"fadeIn",required:!1,type:{name:"boolean"}},fadeInDuration:{defaultValue:null,description:"Duration of the fade-in animation in milliseconds, only works when fade = true",name:"fadeInDuration",required:!1,type:{name:"number"}},isPositioned:{defaultValue:null,description:"",name:"isPositioned",required:!0,type:{name:"boolean"}},leftPosition:{defaultValue:null,description:"",name:"leftPosition",required:!0,type:{name:"number"}},placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},productTourTipTargetLayout:{defaultValue:null,description:"",name:"productTourTipTargetLayout",required:!1,type:{name:"LayoutRectangle"}},startFadeIn:{defaultValue:null,description:"",name:"startFadeIn",required:!1,type:{name:"boolean"}}}}}catch{}const ae=()=>j(),re=e=>{const t=ae();l.useEffect(()=>t.addListener("blur",e),[e,t])},D=l.forwardRef(({accessibilityLabel:e,accessibilityLanguage:t="nl-NL",extraSpace:o,fadeIn:a,fadeInDuration:r,placement:n,productTourTipTargetLayout:s,onPress:f,startFadeIn:c,testID:u,text:m},d)=>{const P=z(),[F,N]=l.useState(0),[E,V]=l.useState(!1),R=se(!!s),C=l.useRef(null),{layout:b,measureTarget:S}=U(C);l.useEffect(()=>{b&&G.runAfterInteractions(()=>{N(b.x),V(!0)})},[b]),re(()=>V(!1));const g=i.jsx(x,{placement:n,productTourTipTargetLayout:s});return i.jsx(I,{collapsable:!1,onLayout:S,ref:C,style:R.container,children:i.jsx(w,{extraSpace:o,fadeIn:a,fadeInDuration:r,isPositioned:E,leftPosition:F,placement:n,productTourTipTargetLayout:s,ref:d,startFadeIn:c,children:i.jsx(W,{accessibilityLabel:e,accessibilityLanguage:t,accessibilityRole:"alert",onPress:f,ref:P,testID:u,children:i.jsxs(Y,{children:[n===p.after&&g,i.jsxs(q,{grow:1,children:[n===p.below&&g,i.jsx(h,{testID:u,text:m}),n===p.above&&g]}),n===p.before&&g]})})})})}),se=e=>v.create({container:{position:e?"absolute":void 0}});try{D.displayName="Tooltip",D.__docgenInfo={description:"",displayName:"Tooltip",props:{onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string | string[]"}},extraSpace:{defaultValue:null,description:"Extra space to set between target and tooltip",name:"extraSpace",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},fadeIn:{defaultValue:null,description:"Determines whether the tooltip fades in and out. Default is 300 ms.",name:"fadeIn",required:!1,type:{name:"boolean"}},fadeInDuration:{defaultValue:null,description:"Duration of the fade-in animation in milliseconds, only works when fade = true",name:"fadeInDuration",required:!1,type:{name:"number"}},placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},productTourTipTargetLayout:{defaultValue:null,description:"",name:"productTourTipTargetLayout",required:!1,type:{name:"LayoutRectangle"}},startFadeIn:{defaultValue:null,description:"",name:"startFadeIn",required:!1,type:{name:"boolean"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}export{J as N,D as T,K as a,U as b,De as c,re as d,ae as e,Q as m,j as u}; diff --git a/assets/Tooltip.stories-qw1I9w5z.js b/assets/Tooltip.stories-Den2DIZ7.js similarity index 89% rename from assets/Tooltip.stories-qw1I9w5z.js rename to assets/Tooltip.stories-Den2DIZ7.js index 5e302178..b6da824a 100644 --- a/assets/Tooltip.stories-qw1I9w5z.js +++ b/assets/Tooltip.stories-Den2DIZ7.js @@ -1,4 +1,4 @@ -import{T as s}from"./Tooltip-BzAIIzXz.js";import{P as a}from"./types-BJ_48vsK.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./PressableBase-C7VxqMV9.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./Triangle-rmeRPZtY.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./Center-2_hcwEx9.js";import"./layoutStyles-hLwHoe51.js";import"./SingleSelectable-BAFROorM.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Paragraph-C4zYzItT.js";import"./index-CAyeAlm6.js";import"./Fader-CBhy3bI5.js";import"./index-CkqLweLe.js";import"./index-CDv7s-w8.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./Row-D-wvv0CV.js";import"./useAccessibilityFocus-jeKlJ74P.js";import"./index-DEfxrPnc.js";import"./useIsScreenReaderEnabled-A65pchNu.js";import"./duration-A4BOymd5.js";const ee={component:s},e={args:{placement:a.below,text:"We gebruiken het adres alleen in de app om u de juiste informatie te tonen. Uw gegevens worden niet gedeeld."}},r={args:{placement:a.below,text:["Tip!","Vul het formulier in en win een parkeervergunning."]}};var t,o,i;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{T as s}from"./Tooltip-Dddt_hel.js";import{P as a}from"./types-BJ_48vsK.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./development-LhlsWDYu.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./PressableBase-DhkKVuqd.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./index-BP1Ij_Cs.js";import"./Triangle-rmeRPZtY.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";import"./Center-2_hcwEx9.js";import"./layoutStyles-hLwHoe51.js";import"./SingleSelectable-BAFROorM.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./Paragraph-DU14yVhW.js";import"./index-CAyeAlm6.js";import"./Fader-CBhy3bI5.js";import"./index-CkqLweLe.js";import"./index-CDv7s-w8.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./Row-D-wvv0CV.js";import"./useAccessibilityFocus-jeKlJ74P.js";import"./index-DEfxrPnc.js";import"./useIsScreenReaderEnabled-A65pchNu.js";import"./duration-A4BOymd5.js";const ee={component:s},e={args:{placement:a.below,text:"We gebruiken het adres alleen in de app om u de juiste informatie te tonen. Uw gegevens worden niet gedeeld."}},r={args:{placement:a.below,text:["Tip!","Vul het formulier in en win een parkeervergunning."]}};var t,o,i;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { placement: Placement.below, text: 'We gebruiken het adres alleen in de app om u de juiste informatie te tonen. Uw gegevens worden niet gedeeld.' diff --git a/assets/TopTaskButton.stories-C3DufLXq.js b/assets/TopTaskButton.stories-DMzqU9BW.js similarity index 94% rename from assets/TopTaskButton.stories-C3DufLXq.js rename to assets/TopTaskButton.stories-DMzqU9BW.js index 1cc55c98..c372e711 100644 --- a/assets/TopTaskButton.stories-C3DufLXq.js +++ b/assets/TopTaskButton.stories-DMzqU9BW.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{H as y}from"./HideFromAccessibility-B6TCA_vV.js";import{P as k}from"./Pressable-kwatEfDj.js";import{C as x}from"./Column-CFK5NdwL.js";import{R as o}from"./Row-D-wvv0CV.js";import{I as s}from"./Icon-BD3fFj_K.js";import{P as b}from"./Paragraph-C4zYzItT.js";import{T as w}from"./Title-DSiraCpB.js";import{u as V}from"./useThemable-ua4U8LzO.js";import{a as T}from"./accessibleText-gmNPjmn1.js";import{V as q}from"./index-BP1Ij_Cs.js";import{s as C}from"./index-kbHxBZ_W.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-C7VxqMV9.js";import"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./development-LhlsWDYu.js";import"./index-LDRWBpq_.js";import"./extends-CF3RwP-h.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";const r=({isError:a=!1,iconName:p,onPress:d,text:l,title:i,titleIconName:n,testID:t,accessibilityRole:g="button",...h})=>{const f=V(j);return e.jsx(k,{accessibilityLabel:T(i,typeof l=="string"?l:""),accessibilityLanguage:"nl-NL",accessibilityRole:g,onPress:d,testID:t,...h,insetHorizontal:"md",insetVertical:"sm",children:e.jsxs(o,{gutter:"md",children:[e.jsx(q,{style:f.height,children:e.jsx(y,{children:e.jsx(s,{color:"link",name:p,size:"xl",testID:`${t}Icon`})})}),e.jsxs(x,{align:"center",grow:1,shrink:1,children:[e.jsxs(o,{gutter:"sm",valign:"center",children:[e.jsx(w,{color:"link",level:"h5",testID:`${t}Title`,text:i}),!!n&&e.jsx(s,{color:"link",name:n,testID:`${t}TitleIcon`})]}),typeof l=="string"?e.jsx(b,{color:a?"warning":void 0,testID:`${t}Text`,variant:"small",children:l}):l]})]})})},j=({text:a})=>C.create({height:{justifyContent:"center",height:a.lineHeight.h5+a.lineHeight.small}});try{r.displayName="TopTaskButton",r.__docgenInfo={description:"",displayName:"TopTaskButton",props:{iconName:{defaultValue:null,description:"",name:"iconName",required:!0,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},isError:{defaultValue:{value:"false"},description:"",name:"isError",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"ReactNode"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},titleIconName:{defaultValue:null,description:"",name:"titleIconName",required:!1,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial<Record<CustomDimensionKeys, string>>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"tertiary"'},{value:'"transparent"'}]}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const de={component:r,argTypes:{onPress:{action:"onPress"}}},u={args:{iconName:"email",text:"Reactie binnen 1 werkdag",title:"Contactformulier"}};var v,c,m;u.parameters={...u.parameters,docs:{...(v=u.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{H as y}from"./HideFromAccessibility-B6TCA_vV.js";import{P as k}from"./Pressable-0Of7HZos.js";import{C as x}from"./Column-CFK5NdwL.js";import{R as o}from"./Row-D-wvv0CV.js";import{I as s}from"./Icon-DzTBkJ4u.js";import{P as b}from"./Paragraph-DU14yVhW.js";import{T as w}from"./Title-CLDk-249.js";import{u as V}from"./useThemable-ua4U8LzO.js";import{a as T}from"./accessibleText-gmNPjmn1.js";import{V as q}from"./index-BP1Ij_Cs.js";import{s as C}from"./index-kbHxBZ_W.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./PressableBase-DhkKVuqd.js";import"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import"./index-8JwjhRSi.js";import"./useTrackException-Cm6KdDpO.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./development-LhlsWDYu.js";import"./index-CIcog7m4.js";import"./extends-CF3RwP-h.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./index-2SHDvLR_.js";import"./index-CAyeAlm6.js";import"./types-BJ_48vsK.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BXDkY5MO.js";import"./useTheme-ChTiG3MC.js";import"./index-DFkxGuuM.js";import"./base-color-B2rPH-Aj.js";const r=({isError:a=!1,iconName:p,onPress:d,text:l,title:i,titleIconName:n,testID:t,accessibilityRole:g="button",...h})=>{const f=V(j);return e.jsx(k,{accessibilityLabel:T(i,typeof l=="string"?l:""),accessibilityLanguage:"nl-NL",accessibilityRole:g,onPress:d,testID:t,...h,insetHorizontal:"md",insetVertical:"sm",children:e.jsxs(o,{gutter:"md",children:[e.jsx(q,{style:f.height,children:e.jsx(y,{children:e.jsx(s,{color:"link",name:p,size:"xl",testID:`${t}Icon`})})}),e.jsxs(x,{align:"center",grow:1,shrink:1,children:[e.jsxs(o,{gutter:"sm",valign:"center",children:[e.jsx(w,{color:"link",level:"h5",testID:`${t}Title`,text:i}),!!n&&e.jsx(s,{color:"link",name:n,testID:`${t}TitleIcon`})]}),typeof l=="string"?e.jsx(b,{color:a?"warning":void 0,testID:`${t}Text`,variant:"small",children:l}):l]})]})})},j=({text:a})=>C.create({height:{justifyContent:"center",height:a.lineHeight.h5+a.lineHeight.small}});try{r.displayName="TopTaskButton",r.__docgenInfo={description:"",displayName:"TopTaskButton",props:{iconName:{defaultValue:null,description:"",name:"iconName",required:!0,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},isError:{defaultValue:{value:"false"},description:"",name:"isError",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"ReactNode"}},title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},titleIconName:{defaultValue:null,description:"",name:"titleIconName",required:!1,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial<Record<CustomDimensionKeys, string>>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"tertiary"'},{value:'"transparent"'}]}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const de={component:r,argTypes:{onPress:{action:"onPress"}}},u={args:{iconName:"email",text:"Reactie binnen 1 werkdag",title:"Contactformulier"}};var v,c,m;u.parameters={...u.parameters,docs:{...(v=u.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { iconName: 'email', text: 'Reactie binnen 1 werkdag', diff --git a/assets/Trait.stories-CV-gUPwo.js b/assets/Trait.stories-DsYxZbCa.js similarity index 97% rename from assets/Trait.stories-CV-gUPwo.js rename to assets/Trait.stories-DsYxZbCa.js index e9d02ab4..cb75489b 100644 --- a/assets/Trait.stories-CV-gUPwo.js +++ b/assets/Trait.stories-DsYxZbCa.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{B as g}from"./Badge-BAkGihjF.js";import{R as f}from"./Row-D-wvv0CV.js";import{I as y}from"./Icon-BD3fFj_K.js";import{P as b}from"./Phrase-Dnv5p-ah.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./index-BXDkY5MO.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./index-CAyeAlm6.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./extends-CF3RwP-h.js";import"./index-2SHDvLR_.js";import"./types-BJ_48vsK.js";import"./useTheme-ChTiG3MC.js";const t=({accessibilityLabel:r,accessibilityLanguage:v="nl-NL",children:d,iconName:i,label:h,testID:o})=>a.jsxs(f,{gutter:"sm",valign:"center",children:[i?a.jsx(y,{name:i,testID:`${o}Icon`}):d,a.jsx(b,{accessibilityLabel:r,accessibilityLanguage:v,testID:`${o}Label`,variant:"small",children:h})]});try{t.displayName="Trait",t.__docgenInfo={description:"",displayName:"Trait",props:{accessibilityLabel:{defaultValue:null,description:"",name:"accessibilityLabel",required:!1,type:{name:"string"}},accessibilityLanguage:{defaultValue:{value:"nl-NL"},description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},children:{defaultValue:null,description:`Allows a custom visualization for the trait. +import{j as a}from"./jsx-runtime-Bxcv0yjW.js";import{B as g}from"./Badge-BAkGihjF.js";import{R as f}from"./Row-D-wvv0CV.js";import{I as y}from"./Icon-DzTBkJ4u.js";import{P as b}from"./Phrase-FY7SqhHh.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./useDeviceContext-Cm8FgCCV.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./index-BXDkY5MO.js";import"./useThemable-ua4U8LzO.js";import"./index-DFkxGuuM.js";import"./index-8JwjhRSi.js";import"./base-color-B2rPH-Aj.js";import"./index-BP1Ij_Cs.js";import"./index-CAyeAlm6.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Animated-CFNSbqHF.js";import"./extends-CF3RwP-h.js";import"./index-2SHDvLR_.js";import"./types-BJ_48vsK.js";import"./useTheme-ChTiG3MC.js";const t=({accessibilityLabel:r,accessibilityLanguage:v="nl-NL",children:d,iconName:i,label:h,testID:o})=>a.jsxs(f,{gutter:"sm",valign:"center",children:[i?a.jsx(y,{name:i,testID:`${o}Icon`}):d,a.jsx(b,{accessibilityLabel:r,accessibilityLanguage:v,testID:`${o}Label`,variant:"small",children:h})]});try{t.displayName="Trait",t.__docgenInfo={description:"",displayName:"Trait",props:{accessibilityLabel:{defaultValue:null,description:"",name:"accessibilityLabel",required:!1,type:{name:"string"}},accessibilityLanguage:{defaultValue:{value:"nl-NL"},description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},children:{defaultValue:null,description:`Allows a custom visualization for the trait. Use a small component here. Not rendered if an icon name is provided.`,name:"children",required:!1,type:{name:"ReactNode"}},iconName:{defaultValue:null,description:"The name of the icon to visually support the trait label.",name:"iconName",required:!1,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},label:{defaultValue:null,description:`The label identifying the trait. Should be one or a few words.`,name:"label",required:!0,type:{name:"string"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const M={component:t},e=r=>a.jsx(t,{...r,iconName:"location"});e.args={label:"123 meter"};const l={args:{children:a.jsx(g,{testID:"Badge",value:7}),label:"berichten"}};var s,u,n;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:'args => <Trait {...args} iconName="location" />',...(n=(u=e.parameters)==null?void 0:u.docs)==null?void 0:n.source}}};var c,m,p;l.parameters={...l.parameters,docs:{...(c=l.parameters)==null?void 0:c.docs,source:{originalSource:`{ args: { diff --git a/assets/entry-preview-DHzzMnLP.js b/assets/entry-preview-Cjm0SKuM.js similarity index 99% rename from assets/entry-preview-DHzzMnLP.js rename to assets/entry-preview-Cjm0SKuM.js index d1024df5..edb87d09 100644 --- a/assets/entry-preview-DHzzMnLP.js +++ b/assets/entry-preview-Cjm0SKuM.js @@ -1,5 +1,5 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./react-18-ClY32pUF.js","./index-mfbfsM12.js","./_commonjsHelpers-BosuxZz1.js","./client-BGlHIwA3.js","./index-DFkxGuuM.js"])))=>i.map(i=>d[i]); -import{_ as tr}from"./iframe-Cwt7ez56.js";import{_ as sr,a as nr,b as L}from"./chunk-XP5HYGXS-BGCqD1aY.js";import{r as Y,R as re}from"./index-mfbfsM12.js";import{r as ar}from"./index-DFkxGuuM.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-BosuxZz1.js";var b={};/** +import{_ as tr}from"./iframe-oMwCeC19.js";import{_ as sr,a as nr,b as L}from"./chunk-XP5HYGXS-BGCqD1aY.js";import{r as Y,R as re}from"./index-mfbfsM12.js";import{r as ar}from"./index-DFkxGuuM.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-BosuxZz1.js";var b={};/** * @license React * react-dom-test-utils.production.min.js * diff --git a/assets/iframe-Cwt7ez56.js b/assets/iframe-oMwCeC19.js similarity index 70% rename from assets/iframe-Cwt7ez56.js rename to assets/iframe-oMwCeC19.js index f29b426b..ae28731d 100644 --- a/assets/iframe-Cwt7ez56.js +++ b/assets/iframe-oMwCeC19.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Fader.stories-C1pDZoDs.js","./jsx-runtime-Bxcv0yjW.js","./index-mfbfsM12.js","./_commonjsHelpers-BosuxZz1.js","./Fader-CBhy3bI5.js","./NativeEventEmitter-MQ3wzVGe.js","./index-DSI0shHu.js","./TextAncestorContext-Dg3XKfar.js","./index-kbHxBZ_W.js","./index-CkqLweLe.js","./index-CDv7s-w8.js","./Animated-CFNSbqHF.js","./extends-CF3RwP-h.js","./index-BP1Ij_Cs.js","./index-2SHDvLR_.js","./index-CAyeAlm6.js","./Block-B9hfeL6e.js","./base-color-B2rPH-Aj.js","./Button.stories-Cneac_oe.js","./Button-jNQoxaXU.js","./PressableBase-C7VxqMV9.js","./usePiwikTrackCustomEventFromProps-DOnnRsC6.js","./index-8JwjhRSi.js","./useTrackException-Cm6KdDpO.js","./index-BowPbij1.js","./development-LhlsWDYu.js","./index-LDRWBpq_.js","./config-BZnShabN.js","./Row-D-wvv0CV.js","./mapCrossAxisAlignment-DpnuLLqj.js","./mapMainAxisAlignment-BOa0GzUh.js","./useThemable-ua4U8LzO.js","./index-DFkxGuuM.js","./Icon-BD3fFj_K.js","./index-BtN4QjYR.js","./index-Dk74W0Oi.js","./types-BJ_48vsK.js","./useDeviceContext-Cm8FgCCV.js","./index-BXDkY5MO.js","./useTheme-ChTiG3MC.js","./pressable-arg-types-CJIMfHep.js","./EmailButton.stories-D1zTyrfy.js","./useOpenMailUrl-hiSWEozv.js","./index-Ce74jbsy.js","./accessibleText-gmNPjmn1.js","./FauxButton.stories-wp1beRas.js","./Phrase-Dnv5p-ah.js","./FollowButton.stories-DJzG8euk.js","./IconButton.stories-C7SFt6wO.js","./IconButton-C0GLYfe-.js","./Pressable-kwatEfDj.js","./Box-CEQ9kk6v.js","./layoutStyles-hLwHoe51.js","./Badge-BAkGihjF.js","./InformationButton.stories-DHl4vj01.js","./Column-CFK5NdwL.js","./Paragraph-C4zYzItT.js","./Title-DSiraCpB.js","./NavigationButton.stories-Dm9S6DXP.js","./PhoneButton.stories-QtyCZM2T.js","./PhoneButton-BP5KgH4D.js","./useOpenPhoneUrl-C5nkLsXz.js","./PhoneHQButton.stories-CP0Hax4n.js","./Pressable.stories-Do2kFpVF.js","./PressableBase.stories-DbbWG8dg.js","./TopTaskButton.stories-C3DufLXq.js","./HideFromAccessibility-B6TCA_vV.js","./Accordion.stories-B1P15ap4.js","./Accordion-D9NMahB8.js","./Gutter-BrZ2VZou.js","./Size-ByzkQpGs.js","./Box.stories-BuByQPhP.js","./Timeline.stories--7Sqshgq.js","./HtmlContent-BXBHRQsV.js","./useOpenUrl-BebUyU0w.js","./index-DEfxrPnc.js","./client-BGlHIwA3.js","./index-k6NSpe5t.js","./index-DZxzYa9i.js","./index-DgmJIe7t.js","./ListItemMarker-RMfNa45x.js","./useIsScreenReaderEnabled-A65pchNu.js","./Badge.stories-6dAHUh_M.js","./EmptyMessage.stories-BqSL71ej.js","./SingleSelectable-BAFROorM.js","./useAccessibilityAnnounce-VJH9SmdL.js","./duration-A4BOymd5.js","./PleaseWait.stories-DNNggDWu.js","./PleaseWait-DtPz9rW0.js","./Center-2_hcwEx9.js","./Canvas-CCRWbH08.js","./SomethingWentWrong.stories-LkFgIJUv.js","./AlertBase-DGXY5KHL.js","./useAccessibilityFocus-jeKlJ74P.js","./Trait.stories-CV-gUPwo.js","./Triangle.stories-CHLJOVzJ.js","./Triangle-rmeRPZtY.js","./Alert.stories-CAOVPCYG.js","./Tooltip.stories-qw1I9w5z.js","./Tooltip-BzAIIzXz.js","./CharactersLeftDisplay.stories-SuQxSSTV.js","./Checkbox.stories-BEM4CFlP.js","./FormField-BhsBdiWh.js","./Label.stories-fn_1xDUO.js","./Label-C4_wptQZ.js","./RadioGroup.stories-D2Tj5TDQ.js","./Switch.stories-Ndira0bo.js","./TextInput.stories-CJ0XZhJK.js","./AspectRatio.stories-T9FZH3FM.js","./Center.stories-BI4xPBXt.js","./Column.stories-DS4YoCOS.js","./Row.stories-D56QDDj0.js","./Size.stories-Cg0-tU1f.js","./Figure.stories-C9T-Wx5E.js","./household-waste-to-container-gxPFJly2.js","./FigureWithFacadesBackground.stories-DTHzVLBl.js","./FigureWithFacadesBackground-BWm7kzMv.js","./index-DbcoTUCW.js","./Icon.stories-BJa5zCgF.js","./Image.stories-CQMT5qhX.js","./ImageFallback.stories-BVhTocuT.js","./ConstructionWorkDetailFigure.stories-DHQNrmJY.js","./ConstructionWorkFigure.stories-CM2lGYsP.js","./ModulesFigure.stories-Dv3DNx_H.js","./ReportProblemFigure.stories-BPSoT1pJ.js","./UpdateFigure.stories-q3aIP9ZA.js","./WasteGuideFigure.stories-CWI-i9ew.js","./HtmlContent.stories-4oTfxi3R.js","./Link.stories-BkZj8ZoY.js","./Paragraph.stories-iPH_SYCB.js","./Phrase.stories-vx1JhqZi.js","./Tag.stories-DSysMEln.js","./Title.stories-CQJj_JxL.js","./List.stories-Cwg0zFyx.js","./ChatSystemEntry.stories-C5iMxWp3.js","./ChatSystemEntry-hHuktGEM.js","./CityPassCard.stories-DiyZ8Yg-.js","./NotificationHistoryEmpty.stories-BJWiKhj2.js","./NotificationHistoryItem.stories-B1p0WYqJ.js","./modules-JDQiHpSw.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./NotificationHistoryListFooter.stories-CWHD8KtV.js","./entry-preview-DHzzMnLP.js","./chunk-XP5HYGXS-BGCqD1aY.js","./entry-preview-docs-SlKtvMf0.js","./index-kifaGmES.js","./preview-D77C14du.js","./index-DrFu-skq.js","./preview-BWzBA1C2.js","./preview-57qoK5dq.js","./preview-CPnNvsyl.css"])))=>i.map(i=>d[i]); -import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))u(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const i of e.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&u(i)}).observe(document,{childList:!0,subtree:!0});function c(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function u(o){if(o.ep)return;o.ep=!0;const e=c(o);fetch(o.href,e)}})();const y="modulepreload",T=function(r,_){return new URL(r,_).href},O={},t=function(_,c,u){let o=Promise.resolve();if(c&&c.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),d=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.allSettled(c.map(n=>{if(n=T(n,u),n in O)return;O[n]=!0;const a=n.endsWith(".css"),R=a?'[rel="stylesheet"]':"";if(!!u)for(let p=i.length-1;p>=0;p--){const E=i[p];if(E.href===n&&(!a||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${R}`))return;const m=document.createElement("link");if(m.rel=a?"stylesheet":y,a||(m.as="script"),m.crossOrigin="",m.href=n,d&&m.setAttribute("nonce",d),document.head.appendChild(m),a)return new Promise((p,E)=>{m.addEventListener("load",p),m.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${n}`)))})}))}function e(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return o.then(i=>{for(const s of i||[])s.status==="rejected"&&e(s.reason);return _().catch(e)})},{createBrowserChannel:L}=__STORYBOOK_MODULE_CHANNELS__,{addons:P}=__STORYBOOK_MODULE_PREVIEW_API__,l=L({page:"preview"});P.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const I={"./src/components/ui/animations/Fader.stories.tsx":async()=>t(()=>import("./Fader.stories-C1pDZoDs.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url),"./src/components/ui/buttons/Button.stories.tsx":async()=>t(()=>import("./Button.stories-Cneac_oe.js"),__vite__mapDeps([18,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,40]),import.meta.url),"./src/components/ui/buttons/EmailButton.stories.tsx":async()=>t(()=>import("./EmailButton.stories-D1zTyrfy.js"),__vite__mapDeps([41,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,42,43,44]),import.meta.url),"./src/components/ui/buttons/FauxButton.stories.tsx":async()=>t(()=>import("./FauxButton.stories-wp1beRas.js"),__vite__mapDeps([45,1,2,3,27,46,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/buttons/FollowButton.stories.tsx":async()=>t(()=>import("./FollowButton.stories-DJzG8euk.js"),__vite__mapDeps([47,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39]),import.meta.url),"./src/components/ui/buttons/IconButton.stories.tsx":async()=>t(()=>import("./IconButton.stories-C7SFt6wO.js"),__vite__mapDeps([48,1,2,3,49,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,27,53,28,29,30,37,38,15,36,33,34,35,11,14,39,40]),import.meta.url),"./src/components/ui/buttons/InformationButton.stories.tsx":async()=>t(()=>import("./InformationButton.stories-DHl4vj01.js"),__vite__mapDeps([54,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,44]),import.meta.url),"./src/components/ui/buttons/NavigationButton.stories.tsx":async()=>t(()=>import("./NavigationButton.stories-Dm9S6DXP.js"),__vite__mapDeps([58,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,28,29,30,33,34,35,11,14,15,36,37,38,39,46]),import.meta.url),"./src/components/ui/buttons/PhoneButton.stories.tsx":async()=>t(()=>import("./PhoneButton.stories-QtyCZM2T.js"),__vite__mapDeps([59,60,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,61,43,44]),import.meta.url),"./src/components/ui/buttons/PhoneHQButton.stories.tsx":async()=>t(()=>import("./PhoneHQButton.stories-CP0Hax4n.js"),__vite__mapDeps([62,1,2,3,60,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,61,43,44]),import.meta.url),"./src/components/ui/buttons/Pressable.stories.tsx":async()=>t(()=>import("./Pressable.stories-Do2kFpVF.js"),__vite__mapDeps([63,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,56,15]),import.meta.url),"./src/components/ui/buttons/PressableBase.stories.tsx":async()=>t(()=>import("./PressableBase.stories-DbbWG8dg.js"),__vite__mapDeps([64,20,1,2,3,21,22,23,24,5,6,7,8,25,26,12,13,40]),import.meta.url),"./src/components/ui/buttons/TopTaskButton.stories.tsx":async()=>t(()=>import("./TopTaskButton.stories-C3DufLXq.js"),__vite__mapDeps([65,1,2,3,66,13,8,7,50,20,21,22,23,24,5,6,25,26,12,51,52,31,32,17,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,44]),import.meta.url),"./src/components/ui/containers/Accordion.stories.tsx":async()=>t(()=>import("./Accordion.stories-B1P15ap4.js"),__vite__mapDeps([67,1,2,3,68,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,69,28,70,33,34,35,11,14,15,36,37,38,39,57,56]),import.meta.url),"./src/components/ui/containers/Box.stories.tsx":async()=>t(()=>import("./Box.stories-BuByQPhP.js"),__vite__mapDeps([71,1,2,3,51,52,8,31,32,22,17,13,7,46,15]),import.meta.url),"./src/components/ui/containers/Timeline.stories.tsx":async()=>t(()=>import("./Timeline.stories--7Sqshgq.js"),__vite__mapDeps([72,1,2,3,23,24,5,6,7,8,25,68,50,20,21,22,26,12,13,51,52,31,32,17,55,29,30,69,28,70,33,34,35,11,14,15,36,37,38,39,57,73,74,75,76,10,43,9,77,78,79,46,42,61,80,27,81]),import.meta.url),"./src/components/ui/feedback/Badge.stories.tsx":async()=>t(()=>import("./Badge.stories-6dAHUh_M.js"),__vite__mapDeps([82,53,1,2,3,28,29,30,31,32,22,8,17,13,7,37,24,5,6,38,15]),import.meta.url),"./src/components/ui/feedback/EmptyMessage.stories.tsx":async()=>t(()=>import("./EmptyMessage.stories-BqSL71ej.js"),__vite__mapDeps([83,1,2,3,84,8,13,7,56,31,32,22,17,15,57,85,81,23,24,5,6,25,10,86,44]),import.meta.url),"./src/components/ui/feedback/PleaseWait.stories.tsx":async()=>t(()=>import("./PleaseWait.stories-DNNggDWu.js"),__vite__mapDeps([87,1,2,3,88,51,52,8,31,32,22,17,13,7,89,33,34,35,28,29,30,11,6,12,5,14,15,36,37,24,38,39,16,90]),import.meta.url),"./src/components/ui/feedback/SomethingWentWrong.stories.tsx":async()=>t(()=>import("./SomethingWentWrong.stories-LkFgIJUv.js"),__vite__mapDeps([91,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,92,84,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,93,75,10,81,86,44,85]),import.meta.url),"./src/components/ui/feedback/Trait.stories.tsx":async()=>t(()=>import("./Trait.stories-CV-gUPwo.js"),__vite__mapDeps([94,1,2,3,53,28,29,30,31,32,22,8,17,13,7,37,24,5,6,38,15,33,34,35,11,12,14,36,39,46]),import.meta.url),"./src/components/ui/feedback/Triangle.stories.tsx":async()=>t(()=>import("./Triangle.stories-CHLJOVzJ.js"),__vite__mapDeps([95,96,1,2,3,34,35,8,36,31,32,22,17]),import.meta.url),"./src/components/ui/feedback/alert/Alert.stories.tsx":async()=>t(()=>import("./Alert.stories-CAOVPCYG.js"),__vite__mapDeps([97,92,1,2,3,51,52,8,31,32,22,17,13,7,84,55,29,30,28,33,34,35,11,6,12,5,14,15,36,37,24,38,39,56,57,93,23,25,75,10,81,86,44]),import.meta.url),"./src/components/ui/feedback/tooltip/Tooltip.stories.tsx":async()=>t(()=>import("./Tooltip.stories-qw1I9w5z.js"),__vite__mapDeps([98,99,1,2,3,21,22,23,24,5,6,7,8,25,37,38,20,26,12,13,96,34,35,36,31,32,17,89,52,84,55,29,30,56,15,4,9,10,11,14,28,93,75,81,86]),import.meta.url),"./src/components/ui/forms/CharactersLeftDisplay.stories.tsx":async()=>t(()=>import("./CharactersLeftDisplay.stories-SuQxSSTV.js"),__vite__mapDeps([100,1,2,3,56,31,32,22,8,17,15,7]),import.meta.url),"./src/components/ui/forms/Checkbox.stories.tsx":async()=>t(()=>import("./Checkbox.stories-BEM4CFlP.js"),__vite__mapDeps([101,1,2,3,102,66,13,8,7,28,29,30,31,32,22,17,52,33,34,35,11,6,12,5,14,15,36,37,24,38,39,21,23,25,79]),import.meta.url),"./src/components/ui/forms/Label.stories.tsx":async()=>t(()=>import("./Label.stories-fn_1xDUO.js"),__vite__mapDeps([103,104,1,2,3,56,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/forms/RadioGroup.stories.tsx":async()=>t(()=>import("./RadioGroup.stories-D2Tj5TDQ.js"),__vite__mapDeps([105,1,2,3,34,35,8,20,21,22,23,24,5,6,7,25,26,12,13,28,29,30,31,32,17,46,15,39,55]),import.meta.url),"./src/components/ui/forms/Switch.stories.tsx":async()=>t(()=>import("./Switch.stories-Ndira0bo.js"),__vite__mapDeps([106,1,2,3,20,21,22,23,24,5,6,7,8,25,26,12,13,102,66,28,29,30,31,32,17,52,39,77,15]),import.meta.url),"./src/components/ui/forms/TextInput.stories.tsx":async()=>t(()=>import("./TextInput.stories-CJ0XZhJK.js"),__vite__mapDeps([107,1,2,3,49,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,27,53,28,29,30,37,38,15,36,104,56,55,33,34,35,11,14,39,78]),import.meta.url),"./src/components/ui/layout/AspectRatio.stories.tsx":async()=>t(()=>import("./AspectRatio.stories-T9FZH3FM.js"),__vite__mapDeps([108,1,2,3,36,31,32,22,8,17,13,7,46,15,16,90]),import.meta.url),"./src/components/ui/layout/Center.stories.tsx":async()=>t(()=>import("./Center.stories-BI4xPBXt.js"),__vite__mapDeps([109,1,2,3,89,52,8,13,7,46,31,32,22,17,15,16,90]),import.meta.url),"./src/components/ui/layout/Column.stories.tsx":async()=>t(()=>import("./Column.stories-DS4YoCOS.js"),__vite__mapDeps([110,1,2,3,55,29,30,31,32,22,8,17,13,7,16,90]),import.meta.url),"./src/components/ui/layout/Row.stories.tsx":async()=>t(()=>import("./Row.stories-D56QDDj0.js"),__vite__mapDeps([111,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,16,90]),import.meta.url),"./src/components/ui/layout/Size.stories.tsx":async()=>t(()=>import("./Size.stories-Cg0-tU1f.js"),__vite__mapDeps([112,1,2,3,70,30,13,8,7,46,31,32,22,17,15,16,90]),import.meta.url),"./src/components/ui/media/Figure.stories.tsx":async()=>t(()=>import("./Figure.stories-C9T-Wx5E.js"),__vite__mapDeps([113,1,2,3,31,32,22,8,17,13,7,114]),import.meta.url),"./src/components/ui/media/FigureWithFacadesBackground.stories.tsx":async()=>t(()=>import("./FigureWithFacadesBackground.stories-DTHzVLBl.js"),__vite__mapDeps([115,1,2,3,116,117,37,24,5,6,7,8,38,31,32,22,17,13,114]),import.meta.url),"./src/components/ui/media/Icon.stories.tsx":async()=>t(()=>import("./Icon.stories-BJa5zCgF.js"),__vite__mapDeps([118,33,1,2,3,34,35,8,28,29,30,31,32,22,17,13,7,11,6,12,5,14,15,36,37,24,38,39]),import.meta.url),"./src/components/ui/media/Image.stories.tsx":async()=>t(()=>import("./Image.stories-CQMT5qhX.js"),__vite__mapDeps([119,1,2,3,25,6,7,8,14,12,13,31,32,22,17,38]),import.meta.url),"./src/components/ui/media/ImageFallback.stories.tsx":async()=>t(()=>import("./ImageFallback.stories-BVhTocuT.js"),__vite__mapDeps([120,1,2,3,31,32,22,8,17,13,7]),import.meta.url),"./src/components/ui/media/errors/ConstructionWorkDetailFigure.stories.tsx":async()=>t(()=>import("./ConstructionWorkDetailFigure.stories-DHQNrmJY.js"),__vite__mapDeps([121,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/ConstructionWorkFigure.stories.tsx":async()=>t(()=>import("./ConstructionWorkFigure.stories-CM2lGYsP.js"),__vite__mapDeps([122,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/ModulesFigure.stories.tsx":async()=>t(()=>import("./ModulesFigure.stories-Dv3DNx_H.js"),__vite__mapDeps([123,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/ReportProblemFigure.stories.tsx":async()=>t(()=>import("./ReportProblemFigure.stories-BPSoT1pJ.js"),__vite__mapDeps([124,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/UpdateFigure.stories.tsx":async()=>t(()=>import("./UpdateFigure.stories-q3aIP9ZA.js"),__vite__mapDeps([125,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/WasteGuideFigure.stories.tsx":async()=>t(()=>import("./WasteGuideFigure.stories-CWI-i9ew.js"),__vite__mapDeps([126,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/text/HtmlContent.stories.tsx":async()=>t(()=>import("./HtmlContent.stories-4oTfxi3R.js"),__vite__mapDeps([127,1,2,3,73,74,8,75,32,76,6,7,10,43,12,13,9,5,11,14,15,21,22,23,24,25,26,77,78,79,38,46,31,17,42,61,35,55,29,30,28,80,27,37,81]),import.meta.url),"./src/components/ui/text/Link.stories.tsx":async()=>t(()=>import("./Link.stories-BkZj8ZoY.js"),__vite__mapDeps([128,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,27,28,29,30,70,33,34,35,11,14,15,36,37,38,39,46]),import.meta.url),"./src/components/ui/text/Paragraph.stories.tsx":async()=>t(()=>import("./Paragraph.stories-iPH_SYCB.js"),__vite__mapDeps([129,1,2,3,56,31,32,22,8,17,15,7]),import.meta.url),"./src/components/ui/text/Phrase.stories.tsx":async()=>t(()=>import("./Phrase.stories-vx1JhqZi.js"),__vite__mapDeps([130,1,2,3,46,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/text/Tag.stories.tsx":async()=>t(()=>import("./Tag.stories-DSysMEln.js"),__vite__mapDeps([131,1,2,3,56,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/text/Title.stories.tsx":async()=>t(()=>import("./Title.stories-CQJj_JxL.js"),__vite__mapDeps([132,1,2,3,57,31,32,22,8,17,15,7]),import.meta.url),"./src/components/ui/text/list/List.stories.tsx":async()=>t(()=>import("./List.stories-Cwg0zFyx.js"),__vite__mapDeps([133,1,2,3,84,8,13,7,55,29,30,31,32,22,17,28,46,15,80,27,37,24,5,6,38,44]),import.meta.url),"./src/modules/chat/components/ChatSystemEntry.stories.tsx":async()=>t(()=>import("./ChatSystemEntry.stories-C5iMxWp3.js"),__vite__mapDeps([134,135,1,2,3,28,29,30,31,32,22,8,17,13,7,33,34,35,11,6,12,5,14,15,36,37,24,38,39,46]),import.meta.url),"./src/modules/city-pass/components/card-display/CityPassCard.stories.tsx":async()=>t(()=>import("./CityPassCard.stories-DiyZ8Yg-.js"),__vite__mapDeps([136,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,44]),import.meta.url),"./src/modules/notification-history/components/NotificationHistoryEmpty.stories.tsx":async()=>t(()=>import("./NotificationHistoryEmpty.stories-BJWiKhj2.js"),__vite__mapDeps([137,1,2,3,51,52,8,31,32,22,17,13,7,84,55,29,30,69,116,117,37,24,5,6,38,56,15,57]),import.meta.url),"./src/modules/notification-history/components/NotificationHistoryItem.stories.tsx":async()=>t(()=>import("./NotificationHistoryItem.stories-B1p0WYqJ.js"),__vite__mapDeps([138,1,2,3,21,22,23,24,5,6,7,8,25,139,31,32,17,74,75,76,10,43,12,13,9,11,14,15,26,77,78,79,38,46,42,61,39,117,37,55,29,30,93,81,86,50,20,51,52,70,49,27,53,28,36,33,34,35,57,69,135,19,89,99,96,84,56,4,66,88,140,44]),import.meta.url),"./src/modules/notification-history/components/NotificationHistoryListFooter.stories.tsx":async()=>t(()=>import("./NotificationHistoryListFooter.stories-CWHD8KtV.js"),__vite__mapDeps([141,1,2,3,51,52,8,31,32,22,17,13,7,56,15]),import.meta.url)};async function D(r){return I[r]()}const{composeConfigs:V,PreviewWeb:v,ClientApi:g}=__STORYBOOK_MODULE_PREVIEW_API__,f=async(r=[])=>{const _=await Promise.all([r[0]??t(()=>import("./entry-preview-DHzzMnLP.js"),__vite__mapDeps([142,143,2,3,32]),import.meta.url),r[1]??t(()=>import("./entry-preview-docs-SlKtvMf0.js"),__vite__mapDeps([144,143,145,3,2]),import.meta.url),r[2]??t(()=>import("./preview-DZzZa8Fn.js"),[],import.meta.url),r[3]??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),r[4]??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([146,147]),import.meta.url),r[5]??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),r[6]??t(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),r[7]??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([148,147]),import.meta.url),r[8]??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),r[9]??t(()=>import("./preview-DimCL9bU.js"),[],import.meta.url),r[10]??t(()=>import("./preview-57qoK5dq.js"),__vite__mapDeps([149,1,2,3,37,24,5,6,7,8,38,31,32,22,17,139,21,23,25,74,75,76,10,43,12,13,9,11,14,15,26,77,78,79,46,42,61,39,117,55,29,30,93,81,86,50,20,51,52,70,49,27,53,28,36,33,34,35,57,69,135,19,89,99,96,84,56,4,66,88,140,150]),import.meta.url)]);return V(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new v(D,f);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Fader.stories-C1pDZoDs.js","./jsx-runtime-Bxcv0yjW.js","./index-mfbfsM12.js","./_commonjsHelpers-BosuxZz1.js","./Fader-CBhy3bI5.js","./NativeEventEmitter-MQ3wzVGe.js","./index-DSI0shHu.js","./TextAncestorContext-Dg3XKfar.js","./index-kbHxBZ_W.js","./index-CkqLweLe.js","./index-CDv7s-w8.js","./Animated-CFNSbqHF.js","./extends-CF3RwP-h.js","./index-BP1Ij_Cs.js","./index-2SHDvLR_.js","./index-CAyeAlm6.js","./Block-B9hfeL6e.js","./base-color-B2rPH-Aj.js","./Button.stories-UlUMn-yP.js","./Button-DKrj2h9O.js","./PressableBase-DhkKVuqd.js","./usePiwikTrackCustomEventFromProps-CT_KpUEz.js","./index-8JwjhRSi.js","./useTrackException-Cm6KdDpO.js","./index-BowPbij1.js","./development-LhlsWDYu.js","./index-CIcog7m4.js","./config-BZnShabN.js","./Row-D-wvv0CV.js","./mapCrossAxisAlignment-DpnuLLqj.js","./mapMainAxisAlignment-BOa0GzUh.js","./useThemable-ua4U8LzO.js","./index-DFkxGuuM.js","./Icon-DzTBkJ4u.js","./index-BtN4QjYR.js","./index-Dk74W0Oi.js","./types-BJ_48vsK.js","./useDeviceContext-Cm8FgCCV.js","./index-BXDkY5MO.js","./useTheme-ChTiG3MC.js","./pressable-arg-types-CJIMfHep.js","./EmailButton.stories-B7-523LX.js","./useOpenMailUrl-Blrf_PL9.js","./index-Ce74jbsy.js","./accessibleText-gmNPjmn1.js","./FauxButton.stories-Ch10gWP2.js","./Phrase-FY7SqhHh.js","./FollowButton.stories-Yic_ExT0.js","./IconButton.stories-C1LCMuoN.js","./IconButton-S0EpSLVW.js","./Pressable-0Of7HZos.js","./Box-CEQ9kk6v.js","./layoutStyles-hLwHoe51.js","./Badge-BAkGihjF.js","./InformationButton.stories-Du6kDLHD.js","./Column-CFK5NdwL.js","./Paragraph-DU14yVhW.js","./Title-CLDk-249.js","./NavigationButton.stories-CgHM-b0o.js","./PhoneButton.stories-DQs96oz7.js","./PhoneButton-DzIfqh9m.js","./useOpenPhoneUrl-TB9t0oDt.js","./PhoneHQButton.stories-NHJVws--.js","./Pressable.stories-CL8kOjpZ.js","./PressableBase.stories-USPKU3bj.js","./TopTaskButton.stories-DMzqU9BW.js","./HideFromAccessibility-B6TCA_vV.js","./Accordion.stories-D4-dqeUJ.js","./Accordion-B1ZH8Czd.js","./Gutter-BrZ2VZou.js","./Size-ByzkQpGs.js","./Box.stories-CUbcdl1M.js","./Timeline.stories-tT6nO01r.js","./HtmlContent-CKWrIzWU.js","./useOpenUrl-DkzqnrRX.js","./index-DEfxrPnc.js","./client-BGlHIwA3.js","./index-k6NSpe5t.js","./index-DZxzYa9i.js","./index-BW2XZOZc.js","./ListItemMarker--j-mu3eN.js","./useIsScreenReaderEnabled-A65pchNu.js","./Badge.stories-6dAHUh_M.js","./EmptyMessage.stories-C8KGDEs-.js","./SingleSelectable-BAFROorM.js","./useAccessibilityAnnounce-VJH9SmdL.js","./duration-A4BOymd5.js","./PleaseWait.stories-BuM3G2oZ.js","./PleaseWait-D1f8b25a.js","./Center-2_hcwEx9.js","./Canvas-CCRWbH08.js","./SomethingWentWrong.stories-bJjqQogI.js","./AlertBase-DwpiVhFL.js","./useAccessibilityFocus-jeKlJ74P.js","./Trait.stories-DsYxZbCa.js","./Triangle.stories-CHLJOVzJ.js","./Triangle-rmeRPZtY.js","./Alert.stories-DBWNyhg3.js","./Tooltip.stories-Den2DIZ7.js","./Tooltip-Dddt_hel.js","./CharactersLeftDisplay.stories-CYihfNCY.js","./Checkbox.stories-KZfyxzG0.js","./FormField-BhsBdiWh.js","./Label.stories-BS5Vw2jo.js","./Label-DDhtsJHB.js","./RadioGroup.stories-C76qQ-dP.js","./Switch.stories-BS9spyxO.js","./TextInput.stories-B4hSDUIc.js","./AspectRatio.stories-CQz6taa5.js","./Center.stories-q-zznbI0.js","./Column.stories-DS4YoCOS.js","./Row.stories-DRYWzch8.js","./Size.stories-B7jZv6Rl.js","./Figure.stories-C9T-Wx5E.js","./household-waste-to-container-gxPFJly2.js","./FigureWithFacadesBackground.stories-DTHzVLBl.js","./FigureWithFacadesBackground-BWm7kzMv.js","./index-DbcoTUCW.js","./Icon.stories-Du-CPvPs.js","./Image.stories-CQMT5qhX.js","./ImageFallback.stories-BVhTocuT.js","./ConstructionWorkDetailFigure.stories-DHQNrmJY.js","./ConstructionWorkFigure.stories-CM2lGYsP.js","./ModulesFigure.stories-Dv3DNx_H.js","./ReportProblemFigure.stories-BPSoT1pJ.js","./UpdateFigure.stories-q3aIP9ZA.js","./WasteGuideFigure.stories-CWI-i9ew.js","./HtmlContent.stories-DYDJZ7jy.js","./Link.stories-CHccDDk6.js","./Paragraph.stories-BBVzv3hH.js","./Phrase.stories-WyHp9xL1.js","./Tag.stories-Ck6EV1cT.js","./Title.stories-ZmSm_PEZ.js","./List.stories-Dn8Qdj6o.js","./ChatSystemEntry.stories-CDQmfrkY.js","./ChatSystemEntry-BaHEjUy7.js","./CityPassCard.stories-DPyqt3-W.js","./NotificationHistoryEmpty.stories-Vj_vQYJL.js","./NotificationHistoryItem.stories-pH5g4zh6.js","./modules-CEymqiYN.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./NotificationHistoryListFooter.stories-Ccl26lGe.js","./entry-preview-Cjm0SKuM.js","./chunk-XP5HYGXS-BGCqD1aY.js","./entry-preview-docs-SlKtvMf0.js","./index-kifaGmES.js","./preview-D77C14du.js","./index-DrFu-skq.js","./preview-BWzBA1C2.js","./preview-Dad1TSsD.js","./preview-CPnNvsyl.css"])))=>i.map(i=>d[i]); +import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))u(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const i of e.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&u(i)}).observe(document,{childList:!0,subtree:!0});function c(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function u(o){if(o.ep)return;o.ep=!0;const e=c(o);fetch(o.href,e)}})();const y="modulepreload",T=function(r,_){return new URL(r,_).href},O={},t=function(_,c,u){let o=Promise.resolve();if(c&&c.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),d=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.allSettled(c.map(n=>{if(n=T(n,u),n in O)return;O[n]=!0;const a=n.endsWith(".css"),R=a?'[rel="stylesheet"]':"";if(!!u)for(let p=i.length-1;p>=0;p--){const E=i[p];if(E.href===n&&(!a||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${R}`))return;const m=document.createElement("link");if(m.rel=a?"stylesheet":y,a||(m.as="script"),m.crossOrigin="",m.href=n,d&&m.setAttribute("nonce",d),document.head.appendChild(m),a)return new Promise((p,E)=>{m.addEventListener("load",p),m.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${n}`)))})}))}function e(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return o.then(i=>{for(const s of i||[])s.status==="rejected"&&e(s.reason);return _().catch(e)})},{createBrowserChannel:L}=__STORYBOOK_MODULE_CHANNELS__,{addons:P}=__STORYBOOK_MODULE_PREVIEW_API__,l=L({page:"preview"});P.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const I={"./src/components/ui/animations/Fader.stories.tsx":async()=>t(()=>import("./Fader.stories-C1pDZoDs.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url),"./src/components/ui/buttons/Button.stories.tsx":async()=>t(()=>import("./Button.stories-UlUMn-yP.js"),__vite__mapDeps([18,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,40]),import.meta.url),"./src/components/ui/buttons/EmailButton.stories.tsx":async()=>t(()=>import("./EmailButton.stories-B7-523LX.js"),__vite__mapDeps([41,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,42,43,44]),import.meta.url),"./src/components/ui/buttons/FauxButton.stories.tsx":async()=>t(()=>import("./FauxButton.stories-Ch10gWP2.js"),__vite__mapDeps([45,1,2,3,27,46,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/buttons/FollowButton.stories.tsx":async()=>t(()=>import("./FollowButton.stories-Yic_ExT0.js"),__vite__mapDeps([47,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39]),import.meta.url),"./src/components/ui/buttons/IconButton.stories.tsx":async()=>t(()=>import("./IconButton.stories-C1LCMuoN.js"),__vite__mapDeps([48,1,2,3,49,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,27,53,28,29,30,37,38,15,36,33,34,35,11,14,39,40]),import.meta.url),"./src/components/ui/buttons/InformationButton.stories.tsx":async()=>t(()=>import("./InformationButton.stories-Du6kDLHD.js"),__vite__mapDeps([54,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,44]),import.meta.url),"./src/components/ui/buttons/NavigationButton.stories.tsx":async()=>t(()=>import("./NavigationButton.stories-CgHM-b0o.js"),__vite__mapDeps([58,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,28,29,30,33,34,35,11,14,15,36,37,38,39,46]),import.meta.url),"./src/components/ui/buttons/PhoneButton.stories.tsx":async()=>t(()=>import("./PhoneButton.stories-DQs96oz7.js"),__vite__mapDeps([59,60,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,61,43,44]),import.meta.url),"./src/components/ui/buttons/PhoneHQButton.stories.tsx":async()=>t(()=>import("./PhoneHQButton.stories-NHJVws--.js"),__vite__mapDeps([62,1,2,3,60,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,61,43,44]),import.meta.url),"./src/components/ui/buttons/Pressable.stories.tsx":async()=>t(()=>import("./Pressable.stories-CL8kOjpZ.js"),__vite__mapDeps([63,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,56,15]),import.meta.url),"./src/components/ui/buttons/PressableBase.stories.tsx":async()=>t(()=>import("./PressableBase.stories-USPKU3bj.js"),__vite__mapDeps([64,20,1,2,3,21,22,23,24,5,6,7,8,25,26,12,13,40]),import.meta.url),"./src/components/ui/buttons/TopTaskButton.stories.tsx":async()=>t(()=>import("./TopTaskButton.stories-DMzqU9BW.js"),__vite__mapDeps([65,1,2,3,66,13,8,7,50,20,21,22,23,24,5,6,25,26,12,51,52,31,32,17,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,44]),import.meta.url),"./src/components/ui/containers/Accordion.stories.tsx":async()=>t(()=>import("./Accordion.stories-D4-dqeUJ.js"),__vite__mapDeps([67,1,2,3,68,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,69,28,70,33,34,35,11,14,15,36,37,38,39,57,56]),import.meta.url),"./src/components/ui/containers/Box.stories.tsx":async()=>t(()=>import("./Box.stories-CUbcdl1M.js"),__vite__mapDeps([71,1,2,3,51,52,8,31,32,22,17,13,7,46,15]),import.meta.url),"./src/components/ui/containers/Timeline.stories.tsx":async()=>t(()=>import("./Timeline.stories-tT6nO01r.js"),__vite__mapDeps([72,1,2,3,23,24,5,6,7,8,25,68,50,20,21,22,26,12,13,51,52,31,32,17,55,29,30,69,28,70,33,34,35,11,14,15,36,37,38,39,57,73,74,75,76,10,43,9,77,78,79,46,42,61,80,27,81]),import.meta.url),"./src/components/ui/feedback/Badge.stories.tsx":async()=>t(()=>import("./Badge.stories-6dAHUh_M.js"),__vite__mapDeps([82,53,1,2,3,28,29,30,31,32,22,8,17,13,7,37,24,5,6,38,15]),import.meta.url),"./src/components/ui/feedback/EmptyMessage.stories.tsx":async()=>t(()=>import("./EmptyMessage.stories-C8KGDEs-.js"),__vite__mapDeps([83,1,2,3,84,8,13,7,56,31,32,22,17,15,57,85,81,23,24,5,6,25,10,86,44]),import.meta.url),"./src/components/ui/feedback/PleaseWait.stories.tsx":async()=>t(()=>import("./PleaseWait.stories-BuM3G2oZ.js"),__vite__mapDeps([87,1,2,3,88,51,52,8,31,32,22,17,13,7,89,33,34,35,28,29,30,11,6,12,5,14,15,36,37,24,38,39,16,90]),import.meta.url),"./src/components/ui/feedback/SomethingWentWrong.stories.tsx":async()=>t(()=>import("./SomethingWentWrong.stories-bJjqQogI.js"),__vite__mapDeps([91,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,92,84,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,93,75,10,81,86,44,85]),import.meta.url),"./src/components/ui/feedback/Trait.stories.tsx":async()=>t(()=>import("./Trait.stories-DsYxZbCa.js"),__vite__mapDeps([94,1,2,3,53,28,29,30,31,32,22,8,17,13,7,37,24,5,6,38,15,33,34,35,11,12,14,36,39,46]),import.meta.url),"./src/components/ui/feedback/Triangle.stories.tsx":async()=>t(()=>import("./Triangle.stories-CHLJOVzJ.js"),__vite__mapDeps([95,96,1,2,3,34,35,8,36,31,32,22,17]),import.meta.url),"./src/components/ui/feedback/alert/Alert.stories.tsx":async()=>t(()=>import("./Alert.stories-DBWNyhg3.js"),__vite__mapDeps([97,92,1,2,3,51,52,8,31,32,22,17,13,7,84,55,29,30,28,33,34,35,11,6,12,5,14,15,36,37,24,38,39,56,57,93,23,25,75,10,81,86,44]),import.meta.url),"./src/components/ui/feedback/tooltip/Tooltip.stories.tsx":async()=>t(()=>import("./Tooltip.stories-Den2DIZ7.js"),__vite__mapDeps([98,99,1,2,3,21,22,23,24,5,6,7,8,25,37,38,20,26,12,13,96,34,35,36,31,32,17,89,52,84,55,29,30,56,15,4,9,10,11,14,28,93,75,81,86]),import.meta.url),"./src/components/ui/forms/CharactersLeftDisplay.stories.tsx":async()=>t(()=>import("./CharactersLeftDisplay.stories-CYihfNCY.js"),__vite__mapDeps([100,1,2,3,56,31,32,22,8,17,15,7]),import.meta.url),"./src/components/ui/forms/Checkbox.stories.tsx":async()=>t(()=>import("./Checkbox.stories-KZfyxzG0.js"),__vite__mapDeps([101,1,2,3,102,66,13,8,7,28,29,30,31,32,22,17,52,33,34,35,11,6,12,5,14,15,36,37,24,38,39,21,23,25,79]),import.meta.url),"./src/components/ui/forms/Label.stories.tsx":async()=>t(()=>import("./Label.stories-BS5Vw2jo.js"),__vite__mapDeps([103,104,1,2,3,56,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/forms/RadioGroup.stories.tsx":async()=>t(()=>import("./RadioGroup.stories-C76qQ-dP.js"),__vite__mapDeps([105,1,2,3,34,35,8,20,21,22,23,24,5,6,7,25,26,12,13,28,29,30,31,32,17,46,15,39,55]),import.meta.url),"./src/components/ui/forms/Switch.stories.tsx":async()=>t(()=>import("./Switch.stories-BS9spyxO.js"),__vite__mapDeps([106,1,2,3,20,21,22,23,24,5,6,7,8,25,26,12,13,102,66,28,29,30,31,32,17,52,39,77,15]),import.meta.url),"./src/components/ui/forms/TextInput.stories.tsx":async()=>t(()=>import("./TextInput.stories-B4hSDUIc.js"),__vite__mapDeps([107,1,2,3,49,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,27,53,28,29,30,37,38,15,36,104,56,55,33,34,35,11,14,39,78]),import.meta.url),"./src/components/ui/layout/AspectRatio.stories.tsx":async()=>t(()=>import("./AspectRatio.stories-CQz6taa5.js"),__vite__mapDeps([108,1,2,3,36,31,32,22,8,17,13,7,46,15,16,90]),import.meta.url),"./src/components/ui/layout/Center.stories.tsx":async()=>t(()=>import("./Center.stories-q-zznbI0.js"),__vite__mapDeps([109,1,2,3,89,52,8,13,7,46,31,32,22,17,15,16,90]),import.meta.url),"./src/components/ui/layout/Column.stories.tsx":async()=>t(()=>import("./Column.stories-DS4YoCOS.js"),__vite__mapDeps([110,1,2,3,55,29,30,31,32,22,8,17,13,7,16,90]),import.meta.url),"./src/components/ui/layout/Row.stories.tsx":async()=>t(()=>import("./Row.stories-DRYWzch8.js"),__vite__mapDeps([111,1,2,3,19,20,21,22,23,24,5,6,7,8,25,26,12,13,27,28,29,30,31,32,17,33,34,35,11,14,15,36,37,38,39,16,90]),import.meta.url),"./src/components/ui/layout/Size.stories.tsx":async()=>t(()=>import("./Size.stories-B7jZv6Rl.js"),__vite__mapDeps([112,1,2,3,70,30,13,8,7,46,31,32,22,17,15,16,90]),import.meta.url),"./src/components/ui/media/Figure.stories.tsx":async()=>t(()=>import("./Figure.stories-C9T-Wx5E.js"),__vite__mapDeps([113,1,2,3,31,32,22,8,17,13,7,114]),import.meta.url),"./src/components/ui/media/FigureWithFacadesBackground.stories.tsx":async()=>t(()=>import("./FigureWithFacadesBackground.stories-DTHzVLBl.js"),__vite__mapDeps([115,1,2,3,116,117,37,24,5,6,7,8,38,31,32,22,17,13,114]),import.meta.url),"./src/components/ui/media/Icon.stories.tsx":async()=>t(()=>import("./Icon.stories-Du-CPvPs.js"),__vite__mapDeps([118,33,1,2,3,34,35,8,28,29,30,31,32,22,17,13,7,11,6,12,5,14,15,36,37,24,38,39]),import.meta.url),"./src/components/ui/media/Image.stories.tsx":async()=>t(()=>import("./Image.stories-CQMT5qhX.js"),__vite__mapDeps([119,1,2,3,25,6,7,8,14,12,13,31,32,22,17,38]),import.meta.url),"./src/components/ui/media/ImageFallback.stories.tsx":async()=>t(()=>import("./ImageFallback.stories-BVhTocuT.js"),__vite__mapDeps([120,1,2,3,31,32,22,8,17,13,7]),import.meta.url),"./src/components/ui/media/errors/ConstructionWorkDetailFigure.stories.tsx":async()=>t(()=>import("./ConstructionWorkDetailFigure.stories-DHQNrmJY.js"),__vite__mapDeps([121,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/ConstructionWorkFigure.stories.tsx":async()=>t(()=>import("./ConstructionWorkFigure.stories-CM2lGYsP.js"),__vite__mapDeps([122,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/ModulesFigure.stories.tsx":async()=>t(()=>import("./ModulesFigure.stories-Dv3DNx_H.js"),__vite__mapDeps([123,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/ReportProblemFigure.stories.tsx":async()=>t(()=>import("./ReportProblemFigure.stories-BPSoT1pJ.js"),__vite__mapDeps([124,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/UpdateFigure.stories.tsx":async()=>t(()=>import("./UpdateFigure.stories-q3aIP9ZA.js"),__vite__mapDeps([125,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/media/errors/WasteGuideFigure.stories.tsx":async()=>t(()=>import("./WasteGuideFigure.stories-CWI-i9ew.js"),__vite__mapDeps([126,1,2,3,34,35,8]),import.meta.url),"./src/components/ui/text/HtmlContent.stories.tsx":async()=>t(()=>import("./HtmlContent.stories-DYDJZ7jy.js"),__vite__mapDeps([127,1,2,3,73,74,8,75,32,76,6,7,10,43,12,13,9,5,11,14,15,21,22,23,24,25,26,77,78,79,38,46,31,17,42,61,35,55,29,30,28,80,27,37,81]),import.meta.url),"./src/components/ui/text/Link.stories.tsx":async()=>t(()=>import("./Link.stories-CHccDDk6.js"),__vite__mapDeps([128,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,27,28,29,30,70,33,34,35,11,14,15,36,37,38,39,46]),import.meta.url),"./src/components/ui/text/Paragraph.stories.tsx":async()=>t(()=>import("./Paragraph.stories-BBVzv3hH.js"),__vite__mapDeps([129,1,2,3,56,31,32,22,8,17,15,7]),import.meta.url),"./src/components/ui/text/Phrase.stories.tsx":async()=>t(()=>import("./Phrase.stories-WyHp9xL1.js"),__vite__mapDeps([130,1,2,3,46,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/text/Tag.stories.tsx":async()=>t(()=>import("./Tag.stories-Ck6EV1cT.js"),__vite__mapDeps([131,1,2,3,56,31,32,22,8,17,15,7,13]),import.meta.url),"./src/components/ui/text/Title.stories.tsx":async()=>t(()=>import("./Title.stories-ZmSm_PEZ.js"),__vite__mapDeps([132,1,2,3,57,31,32,22,8,17,15,7]),import.meta.url),"./src/components/ui/text/list/List.stories.tsx":async()=>t(()=>import("./List.stories-Dn8Qdj6o.js"),__vite__mapDeps([133,1,2,3,84,8,13,7,55,29,30,31,32,22,17,28,46,15,80,27,37,24,5,6,38,44]),import.meta.url),"./src/modules/chat/components/ChatSystemEntry.stories.tsx":async()=>t(()=>import("./ChatSystemEntry.stories-CDQmfrkY.js"),__vite__mapDeps([134,135,1,2,3,28,29,30,31,32,22,8,17,13,7,33,34,35,11,6,12,5,14,15,36,37,24,38,39,46]),import.meta.url),"./src/modules/city-pass/components/card-display/CityPassCard.stories.tsx":async()=>t(()=>import("./CityPassCard.stories-DPyqt3-W.js"),__vite__mapDeps([136,1,2,3,50,20,21,22,23,24,5,6,7,8,25,26,12,13,51,52,31,32,17,55,29,30,28,33,34,35,11,14,15,36,37,38,39,56,57,44]),import.meta.url),"./src/modules/notification-history/components/NotificationHistoryEmpty.stories.tsx":async()=>t(()=>import("./NotificationHistoryEmpty.stories-Vj_vQYJL.js"),__vite__mapDeps([137,1,2,3,51,52,8,31,32,22,17,13,7,84,55,29,30,69,116,117,37,24,5,6,38,56,15,57]),import.meta.url),"./src/modules/notification-history/components/NotificationHistoryItem.stories.tsx":async()=>t(()=>import("./NotificationHistoryItem.stories-pH5g4zh6.js"),__vite__mapDeps([138,1,2,3,21,22,23,24,5,6,7,8,25,139,31,32,17,74,75,76,10,43,12,13,9,11,14,15,26,77,78,79,38,46,42,61,39,117,37,55,29,30,93,81,86,50,20,51,52,70,49,27,53,28,36,33,34,35,57,69,135,19,89,99,96,84,56,4,66,88,140,44]),import.meta.url),"./src/modules/notification-history/components/NotificationHistoryListFooter.stories.tsx":async()=>t(()=>import("./NotificationHistoryListFooter.stories-Ccl26lGe.js"),__vite__mapDeps([141,1,2,3,51,52,8,31,32,22,17,13,7,56,15]),import.meta.url)};async function D(r){return I[r]()}const{composeConfigs:V,PreviewWeb:v,ClientApi:g}=__STORYBOOK_MODULE_PREVIEW_API__,f=async(r=[])=>{const _=await Promise.all([r[0]??t(()=>import("./entry-preview-Cjm0SKuM.js"),__vite__mapDeps([142,143,2,3,32]),import.meta.url),r[1]??t(()=>import("./entry-preview-docs-SlKtvMf0.js"),__vite__mapDeps([144,143,145,3,2]),import.meta.url),r[2]??t(()=>import("./preview-Buiu3RNa.js"),[],import.meta.url),r[3]??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),r[4]??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([146,147]),import.meta.url),r[5]??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),r[6]??t(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),r[7]??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([148,147]),import.meta.url),r[8]??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),r[9]??t(()=>import("./preview-1KpdE0wR.js"),[],import.meta.url),r[10]??t(()=>import("./preview-Dad1TSsD.js"),__vite__mapDeps([149,1,2,3,37,24,5,6,7,8,38,31,32,22,17,139,21,23,25,74,75,76,10,43,12,13,9,11,14,15,26,77,78,79,46,42,61,39,117,55,29,30,93,81,86,50,20,51,52,70,49,27,53,28,36,33,34,35,57,69,135,19,89,99,96,84,56,4,66,88,140,150]),import.meta.url)]);return V(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new v(D,f);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/assets/index-DgmJIe7t.js b/assets/index-BW2XZOZc.js similarity index 96% rename from assets/index-DgmJIe7t.js rename to assets/index-BW2XZOZc.js index 3c1c5d87..662369ee 100644 --- a/assets/index-DgmJIe7t.js +++ b/assets/index-BW2XZOZc.js @@ -1 +1 @@ -import{_ as M}from"./extends-CF3RwP-h.js";import{s as V,_ as A}from"./index-kbHxBZ_W.js";import{r as n}from"./index-mfbfsM12.js";import{g as D}from"./TextAncestorContext-Dg3XKfar.js";import{c as N}from"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import{V as W}from"./index-BP1Ij_Cs.js";var q=["activeOpacity","children","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onHideUnderlay","onLongPress","onPress","onPressIn","onPressOut","onShowUnderlay","rejectResponderTermination","style","testOnly_pressed","underlayColor"];function H(e,l){return{child:{opacity:e??.85},underlay:{backgroundColor:l===void 0?"black":l}}}function L(e){return e.onPress!=null||e.onPressIn!=null||e.onPressOut!=null||e.onLongPress!=null}function z(e,l){var t=e.activeOpacity,U=e.children,P=e.delayPressIn,f=e.delayPressOut,h=e.delayLongPress,s=e.disabled,C=e.focusable,a=e.onHideUnderlay,m=e.onLongPress,b=e.onPress,o=e.onPressIn,i=e.onPressOut,d=e.onShowUnderlay,g=e.rejectResponderTermination,I=e.style,u=e.testOnly_pressed,c=e.underlayColor,w=A(e,q),v=n.useRef(null),T=D(l,v),O=n.useState(u===!0?H(t,c):null),r=O[0],S=O[1],E=n.useCallback(()=>{L(e)&&(S(H(t,c)),d!=null&&d())},[t,d,e,c]),_=n.useCallback(()=>{u!==!0&&L(e)&&(S(null),a!=null&&a())},[a,e,u]),j=n.useMemo(()=>({cancelable:!g,disabled:s,delayLongPress:h,delayPressStart:P,delayPressEnd:f,onLongPress:m,onPress:b,onPressStart(y){E(),o!=null&&o(y)},onPressEnd(y){_(),i!=null&&i(y)}}),[h,P,f,s,m,b,o,i,g,E,_]),k=N(v,j),x=n.Children.only(U);return n.createElement(W,M({},w,k,{accessibilityDisabled:s,focusable:!s&&C!==!1,pointerEvents:s?"box-none":void 0,ref:T,style:[R.root,I,!s&&R.actionable,r&&r.underlay]}),n.cloneElement(x,{style:[x.props.style,r&&r.child]}))}var R=V.create({root:{userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}}),B=n.memo(n.forwardRef(z));B.displayName="TouchableHighlight";export{B as M}; +import{_ as M}from"./extends-CF3RwP-h.js";import{s as V,_ as A}from"./index-kbHxBZ_W.js";import{r as n}from"./index-mfbfsM12.js";import{g as D}from"./TextAncestorContext-Dg3XKfar.js";import{c as N}from"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import{V as W}from"./index-BP1Ij_Cs.js";var q=["activeOpacity","children","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onHideUnderlay","onLongPress","onPress","onPressIn","onPressOut","onShowUnderlay","rejectResponderTermination","style","testOnly_pressed","underlayColor"];function H(e,l){return{child:{opacity:e??.85},underlay:{backgroundColor:l===void 0?"black":l}}}function L(e){return e.onPress!=null||e.onPressIn!=null||e.onPressOut!=null||e.onLongPress!=null}function z(e,l){var t=e.activeOpacity,U=e.children,P=e.delayPressIn,f=e.delayPressOut,h=e.delayLongPress,s=e.disabled,C=e.focusable,a=e.onHideUnderlay,m=e.onLongPress,b=e.onPress,o=e.onPressIn,i=e.onPressOut,d=e.onShowUnderlay,g=e.rejectResponderTermination,I=e.style,u=e.testOnly_pressed,c=e.underlayColor,w=A(e,q),v=n.useRef(null),T=D(l,v),O=n.useState(u===!0?H(t,c):null),r=O[0],S=O[1],E=n.useCallback(()=>{L(e)&&(S(H(t,c)),d!=null&&d())},[t,d,e,c]),_=n.useCallback(()=>{u!==!0&&L(e)&&(S(null),a!=null&&a())},[a,e,u]),j=n.useMemo(()=>({cancelable:!g,disabled:s,delayLongPress:h,delayPressStart:P,delayPressEnd:f,onLongPress:m,onPress:b,onPressStart(y){E(),o!=null&&o(y)},onPressEnd(y){_(),i!=null&&i(y)}}),[h,P,f,s,m,b,o,i,g,E,_]),k=N(v,j),x=n.Children.only(U);return n.createElement(W,M({},w,k,{accessibilityDisabled:s,focusable:!s&&C!==!1,pointerEvents:s?"box-none":void 0,ref:T,style:[R.root,I,!s&&R.actionable,r&&r.underlay]}),n.cloneElement(x,{style:[x.props.style,r&&r.child]}))}var R=V.create({root:{userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}}),B=n.memo(n.forwardRef(z));B.displayName="TouchableHighlight";export{B as M}; diff --git a/assets/index-LDRWBpq_.js b/assets/index-CIcog7m4.js similarity index 98% rename from assets/index-LDRWBpq_.js rename to assets/index-CIcog7m4.js index da05e9e1..2c3d3a76 100644 --- a/assets/index-LDRWBpq_.js +++ b/assets/index-CIcog7m4.js @@ -1 +1 @@ -import{_ as Te}from"./extends-CF3RwP-h.js";import{c as se,s as ge,_ as Ie}from"./index-kbHxBZ_W.js";import{r as E}from"./index-mfbfsM12.js";import{i as ee,h as ue,g as xe}from"./TextAncestorContext-Dg3XKfar.js";import{c as _e}from"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import{V as Ue}from"./index-BP1Ij_Cs.js";var ke=()=>{};function De(){var e=!1;if(se)try{var n={};Object.defineProperty(n,"passive",{get(){return e=!0,!1}}),window.addEventListener("test",null,n),window.removeEventListener("test",null,n)}catch{}return e}var Fe=De();function Ke(e){return e==null?!1:Fe?e:!!e.capture}function Ne(){return this.cancelBubble}function Be(){return this.defaultPrevented}function Re(e){return e.nativeEvent=e,e.persist=ke,e.isDefaultPrevented=Be,e.isPropagationStopped=Ne,e}function i(e,n,r,s){var o=Ke(s),u=a=>r(Re(a));return e.addEventListener(n,u,o),function(){e!=null&&e.removeEventListener(n,u,o)}}var Ae=()=>typeof window<"u"&&window.PointerEvent!=null,m="keyboard",l="keyboard",_,U,k=!1,Ve=new Set,D="keyboard",g="mouse",X="touch",We="blur",ie="contextmenu",Ye="focus",je="keydown",le="mousedown",ve="mousemove",de="mouseup",ce="pointerdown",fe="pointermove",ye="scroll",me="selectionchange",Ee="touchcancel",Pe="touchmove",be="touchstart",$e="visibilitychange",ne={passive:!0},d={capture:!0,passive:!0};function pe(){(_!=null||U!=null)&&(_!=null&&(l=_,_=null),U!=null&&(m=U,U=null),O())}function Ge(){_=l,U=m,m=D,l=D,O(),k=!1}function Xe(){pe()}function ze(e){e.metaKey||e.altKey||e.ctrlKey||l!==D&&(l=D,m=D,O())}function qe(){document.visibilityState!=="hidden"&&pe()}function y(e){var n=e.type;if(Ae()){if(n===ce){m!==e.pointerType&&(l=e.pointerType,m=e.pointerType,O());return}if(n===fe){l!==e.pointerType&&(l=e.pointerType,O());return}}else{if(k||(n===le&&m!==g&&(l=g,m=g,O()),n===ve&&l!==g&&(l=g,O())),n===be){k=!0,e.touches&&e.touches.length>1&&(k=!1),m!==X&&(l=X,m=X,O());return}(n===ie||n===de||n===me||n===ye||n===Ee||n===Pe)&&(k=!1)}}se&&(i(window,We,Ge,ne),i(window,Ye,Xe,ne),i(document,je,ze,d),i(document,$e,qe,d),i(document,ce,y,d),i(document,fe,y,d),i(document,ie,y,d),i(document,le,y,d),i(document,ve,y,d),i(document,de,y,d),i(document,Ee,y,d),i(document,Pe,y,d),i(document,be,y,d),i(document,me,y,d),i(document,ye,y,d));function O(){var e={activeModality:m,modality:l};Ve.forEach(n=>{n(e)})}function Je(){return l}function I(e,n){var r=ee(()=>new Map),s=ee(()=>(o,u)=>{var a=r.get(o);a!=null&&a(),u==null&&(r.delete(o),u=()=>{});var v=i(o,e,u,n);return r.set(o,v),v});return ue(()=>()=>{r.forEach(o=>{o()}),r.clear()},[r]),s}var Qe={},x={passive:!0},te="react-gui:hover:lock",re="react-gui:hover:unlock",Ze=()=>typeof window<"u"&&window.PointerEvent!=null;function oe(e,n,r){var s=document.createEvent("CustomEvent"),o=Qe,u=o.bubbles,a=u===void 0?!0:u,v=o.cancelable,P=v===void 0?!0:v,b=o.detail;s.initCustomEvent(n,a,P,b),e.dispatchEvent(s)}function z(e){var n=e.pointerType;return n??Je()}function en(e,n){var r=n.contain,s=n.disabled,o=n.onHoverStart,u=n.onHoverChange,a=n.onHoverUpdate,v=n.onHoverEnd,P=Ze(),b=I(P?"pointermove":"mousemove",x),F=I(P?"pointerenter":"mouseenter",x),H=I(P?"pointerleave":"mouseleave",x),L=I(te,x),S=I(re,x);ue(()=>{var p=e.current;if(p!==null){var T=function(t){v!=null&&v(t),u!=null&&u(!1),b(p,null),H(p,null)},K=function(t){var c=e.current;c!=null&&z(t)!=="touch"&&(r&&oe(c,re),T(t))},N=function(t){z(t)!=="touch"&&a!=null&&(t.x==null&&(t.x=t.clientX),t.y==null&&(t.y=t.clientY),a(t))},w=function(t){o!=null&&o(t),u!=null&&u(!0),a!=null&&b(p,s?null:N),H(p,s?null:K)},B=function(t){var c=e.current;if(c!=null&&z(t)!=="touch"){r&&oe(c,te),w(t);var R=function(M){M.target!==c&&T(t)},V=function(M){M.target!==c&&w(t)};L(c,s?null:R),S(c,s?null:V)}};F(p,s?null:B)}},[F,b,H,L,S,r,s,o,u,a,v,e])}var nn=["children","delayLongPress","delayPressIn","delayPressOut","disabled","onBlur","onContextMenu","onFocus","onHoverIn","onHoverOut","onKeyDown","onLongPress","onPress","onPressMove","onPressIn","onPressOut","style","tabIndex","testOnly_hovered","testOnly_pressed"];function tn(e,n){var r=e.children,s=e.delayLongPress,o=e.delayPressIn,u=e.delayPressOut,a=e.disabled,v=e.onBlur,P=e.onContextMenu,b=e.onFocus,F=e.onHoverIn,H=e.onHoverOut,L=e.onKeyDown,S=e.onLongPress,p=e.onPress,T=e.onPressMove,K=e.onPressIn,N=e.onPressOut,w=e.style,B=e.tabIndex,C=e.testOnly_hovered,t=e.testOnly_pressed,c=Ie(e,nn),R=q(C===!0),V=R[0],W=R[1],M=q(!1),Oe=M[0],A=M[1],J=q(t===!0),he=J[0],Q=J[1],h=E.useRef(null),Le=xe(n,h),we=E.useMemo(()=>({delayLongPress:s,delayPressStart:o,delayPressEnd:u,disabled:a,onLongPress:S,onPress:p,onPressChange:Q,onPressStart:K,onPressMove:T,onPressEnd:N}),[s,o,u,a,S,p,K,T,N,Q]),Y=_e(h,we),j=Y.onContextMenu,$=Y.onKeyDown;en(h,{contain:!0,disabled:a,onHoverChange:W,onHoverStart:F,onHoverEnd:H});var Z={hovered:V,focused:Oe,pressed:he},Ce=E.useCallback(f=>{f.nativeEvent.target===h.current&&(A(!1),v!=null&&v(f))},[h,A,v]),Me=E.useCallback(f=>{f.nativeEvent.target===h.current&&(A(!0),b!=null&&b(f))},[h,A,b]),He=E.useCallback(f=>{j!=null&&j(f),P!=null&&P(f)},[P,j]),Se=E.useCallback(f=>{$!=null&&$(f),L!=null&&L(f)},[L,$]),G;return B!==void 0?G=B:G=a?-1:0,E.createElement(Ue,Te({},c,Y,{"aria-disabled":a,onBlur:Ce,onContextMenu:He,onFocus:Me,onKeyDown:Se,ref:Le,style:[a?ae.disabled:ae.active,typeof w=="function"?w(Z):w],tabIndex:G}),typeof r=="function"?r(Z):r)}function q(e){var n=E.useState(!1),r=n[0],s=n[1];return[r||e,s]}var ae=ge.create({active:{cursor:"pointer",touchAction:"manipulation"},disabled:{pointerEvents:"box-none"}}),rn=E.memo(E.forwardRef(tn));rn.displayName="Pressable";export{rn as M}; +import{_ as Te}from"./extends-CF3RwP-h.js";import{c as se,s as ge,_ as Ie}from"./index-kbHxBZ_W.js";import{r as E}from"./index-mfbfsM12.js";import{i as ee,h as ue,g as xe}from"./TextAncestorContext-Dg3XKfar.js";import{c as _e}from"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import{V as Ue}from"./index-BP1Ij_Cs.js";var ke=()=>{};function De(){var e=!1;if(se)try{var n={};Object.defineProperty(n,"passive",{get(){return e=!0,!1}}),window.addEventListener("test",null,n),window.removeEventListener("test",null,n)}catch{}return e}var Fe=De();function Ke(e){return e==null?!1:Fe?e:!!e.capture}function Ne(){return this.cancelBubble}function Be(){return this.defaultPrevented}function Re(e){return e.nativeEvent=e,e.persist=ke,e.isDefaultPrevented=Be,e.isPropagationStopped=Ne,e}function i(e,n,r,s){var o=Ke(s),u=a=>r(Re(a));return e.addEventListener(n,u,o),function(){e!=null&&e.removeEventListener(n,u,o)}}var Ae=()=>typeof window<"u"&&window.PointerEvent!=null,m="keyboard",l="keyboard",_,U,k=!1,Ve=new Set,D="keyboard",g="mouse",X="touch",We="blur",ie="contextmenu",Ye="focus",je="keydown",le="mousedown",ve="mousemove",de="mouseup",ce="pointerdown",fe="pointermove",ye="scroll",me="selectionchange",Ee="touchcancel",Pe="touchmove",be="touchstart",$e="visibilitychange",ne={passive:!0},d={capture:!0,passive:!0};function pe(){(_!=null||U!=null)&&(_!=null&&(l=_,_=null),U!=null&&(m=U,U=null),O())}function Ge(){_=l,U=m,m=D,l=D,O(),k=!1}function Xe(){pe()}function ze(e){e.metaKey||e.altKey||e.ctrlKey||l!==D&&(l=D,m=D,O())}function qe(){document.visibilityState!=="hidden"&&pe()}function y(e){var n=e.type;if(Ae()){if(n===ce){m!==e.pointerType&&(l=e.pointerType,m=e.pointerType,O());return}if(n===fe){l!==e.pointerType&&(l=e.pointerType,O());return}}else{if(k||(n===le&&m!==g&&(l=g,m=g,O()),n===ve&&l!==g&&(l=g,O())),n===be){k=!0,e.touches&&e.touches.length>1&&(k=!1),m!==X&&(l=X,m=X,O());return}(n===ie||n===de||n===me||n===ye||n===Ee||n===Pe)&&(k=!1)}}se&&(i(window,We,Ge,ne),i(window,Ye,Xe,ne),i(document,je,ze,d),i(document,$e,qe,d),i(document,ce,y,d),i(document,fe,y,d),i(document,ie,y,d),i(document,le,y,d),i(document,ve,y,d),i(document,de,y,d),i(document,Ee,y,d),i(document,Pe,y,d),i(document,be,y,d),i(document,me,y,d),i(document,ye,y,d));function O(){var e={activeModality:m,modality:l};Ve.forEach(n=>{n(e)})}function Je(){return l}function I(e,n){var r=ee(()=>new Map),s=ee(()=>(o,u)=>{var a=r.get(o);a!=null&&a(),u==null&&(r.delete(o),u=()=>{});var v=i(o,e,u,n);return r.set(o,v),v});return ue(()=>()=>{r.forEach(o=>{o()}),r.clear()},[r]),s}var Qe={},x={passive:!0},te="react-gui:hover:lock",re="react-gui:hover:unlock",Ze=()=>typeof window<"u"&&window.PointerEvent!=null;function oe(e,n,r){var s=document.createEvent("CustomEvent"),o=Qe,u=o.bubbles,a=u===void 0?!0:u,v=o.cancelable,P=v===void 0?!0:v,b=o.detail;s.initCustomEvent(n,a,P,b),e.dispatchEvent(s)}function z(e){var n=e.pointerType;return n??Je()}function en(e,n){var r=n.contain,s=n.disabled,o=n.onHoverStart,u=n.onHoverChange,a=n.onHoverUpdate,v=n.onHoverEnd,P=Ze(),b=I(P?"pointermove":"mousemove",x),F=I(P?"pointerenter":"mouseenter",x),H=I(P?"pointerleave":"mouseleave",x),L=I(te,x),S=I(re,x);ue(()=>{var p=e.current;if(p!==null){var T=function(t){v!=null&&v(t),u!=null&&u(!1),b(p,null),H(p,null)},K=function(t){var c=e.current;c!=null&&z(t)!=="touch"&&(r&&oe(c,re),T(t))},N=function(t){z(t)!=="touch"&&a!=null&&(t.x==null&&(t.x=t.clientX),t.y==null&&(t.y=t.clientY),a(t))},w=function(t){o!=null&&o(t),u!=null&&u(!0),a!=null&&b(p,s?null:N),H(p,s?null:K)},B=function(t){var c=e.current;if(c!=null&&z(t)!=="touch"){r&&oe(c,te),w(t);var R=function(M){M.target!==c&&T(t)},V=function(M){M.target!==c&&w(t)};L(c,s?null:R),S(c,s?null:V)}};F(p,s?null:B)}},[F,b,H,L,S,r,s,o,u,a,v,e])}var nn=["children","delayLongPress","delayPressIn","delayPressOut","disabled","onBlur","onContextMenu","onFocus","onHoverIn","onHoverOut","onKeyDown","onLongPress","onPress","onPressMove","onPressIn","onPressOut","style","tabIndex","testOnly_hovered","testOnly_pressed"];function tn(e,n){var r=e.children,s=e.delayLongPress,o=e.delayPressIn,u=e.delayPressOut,a=e.disabled,v=e.onBlur,P=e.onContextMenu,b=e.onFocus,F=e.onHoverIn,H=e.onHoverOut,L=e.onKeyDown,S=e.onLongPress,p=e.onPress,T=e.onPressMove,K=e.onPressIn,N=e.onPressOut,w=e.style,B=e.tabIndex,C=e.testOnly_hovered,t=e.testOnly_pressed,c=Ie(e,nn),R=q(C===!0),V=R[0],W=R[1],M=q(!1),Oe=M[0],A=M[1],J=q(t===!0),he=J[0],Q=J[1],h=E.useRef(null),Le=xe(n,h),we=E.useMemo(()=>({delayLongPress:s,delayPressStart:o,delayPressEnd:u,disabled:a,onLongPress:S,onPress:p,onPressChange:Q,onPressStart:K,onPressMove:T,onPressEnd:N}),[s,o,u,a,S,p,K,T,N,Q]),Y=_e(h,we),j=Y.onContextMenu,$=Y.onKeyDown;en(h,{contain:!0,disabled:a,onHoverChange:W,onHoverStart:F,onHoverEnd:H});var Z={hovered:V,focused:Oe,pressed:he},Ce=E.useCallback(f=>{f.nativeEvent.target===h.current&&(A(!1),v!=null&&v(f))},[h,A,v]),Me=E.useCallback(f=>{f.nativeEvent.target===h.current&&(A(!0),b!=null&&b(f))},[h,A,b]),He=E.useCallback(f=>{j!=null&&j(f),P!=null&&P(f)},[P,j]),Se=E.useCallback(f=>{$!=null&&$(f),L!=null&&L(f)},[L,$]),G;return B!==void 0?G=B:G=a?-1:0,E.createElement(Ue,Te({},c,Y,{"aria-disabled":a,onBlur:Ce,onContextMenu:He,onFocus:Me,onKeyDown:Se,ref:Le,style:[a?ae.disabled:ae.active,typeof w=="function"?w(Z):w],tabIndex:G}),typeof r=="function"?r(Z):r)}function q(e){var n=E.useState(!1),r=n[0],s=n[1];return[r||e,s]}var ae=ge.create({active:{cursor:"pointer",touchAction:"manipulation"},disabled:{pointerEvents:"box-none"}}),rn=E.memo(E.forwardRef(tn));rn.displayName="Pressable";export{rn as M}; diff --git a/assets/index-CpR3wvdC.js b/assets/index-mfiv5hQn.js similarity index 93% rename from assets/index-CpR3wvdC.js rename to assets/index-mfiv5hQn.js index 105062e0..6b5d2b5c 100644 --- a/assets/index-CpR3wvdC.js +++ b/assets/index-mfiv5hQn.js @@ -1 +1 @@ -import{m as b,a as d,G as S,K as B,P as L,g as C,L as H,b as u,v as g,w as y,c as I,E as h,$ as k,y as P,d as W,N as A,e as F,D as x,x as D,C as R,f,S as v,R as E,I as M,h as N,i as q,A as w,F as O,j as U,k as Z,l as j,W as z,n as G,T as J,t as K,o as Q,p as V,q as X,r as Y,s as _,u as $,z as aa,B as sa,H as oa,J as ta,M as ea,V as ra,O as pa,Q as ia,U as na,X as ma,Y as la,Z as ca,_ as Ta,a0 as ba,a1 as da,a2 as Sa,a3 as Ba,a4 as La,a5 as Ca,a6 as Ha,a7 as ua,a8 as ga,a9 as ya,aa as Ia,ab as ha,ac as ka,ad as Pa}from"./DocsRenderer-CFRXHY34-CH-eIvHo.js";import"./iframe-Cwt7ez56.js";import"../sb-preview/runtime.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-DFkxGuuM.js";import"./index-kifaGmES.js";import"./index-DrFu-skq.js";import"./react-18-ClY32pUF.js";import"./client-BGlHIwA3.js";export{b as A,d as ActionBar,S as AddonPanel,B as Badge,L as Bar,C as Blockquote,H as Button,u as ClipboardCode,g as Code,y as DL,I as Div,h as DocumentWrapper,k as EmptyTabContent,P as ErrorFormatter,W as FlexBar,A as Form,F as H1,x as H2,D as H3,R as H4,f as H5,v as H6,E as HR,M as IconButton,N as IconButtonSkeleton,q as Icons,w as Img,O as LI,U as Link,Z as ListItem,j as Loader,z as Modal,G as OL,J as P,K as Placeholder,Q as Pre,V as ResetWrapper,X as ScrollArea,Y as Separator,_ as Spaced,$ as Span,aa as StorybookIcon,sa as StorybookLogo,oa as Symbols,ta as SyntaxHighlighter,ea as TT,ra as TabBar,pa as TabButton,ia as TabWrapper,na as Table,ma as Tabs,la as TabsState,ca as TooltipLinkList,Ta as TooltipMessage,ba as TooltipNote,da as UL,Sa as WithTooltip,Ba as WithTooltipPure,La as Zoom,Ca as codeCommon,Ha as components,ua as createCopyToClipboardFunction,ga as getStoryHref,ya as icons,Ia as interleaveSeparators,ha as nameSpaceClassNames,ka as resetComponents,Pa as withReset}; +import{m as b,a as d,G as S,K as B,P as L,g as C,L as H,b as u,v as g,w as y,c as I,E as h,$ as k,y as P,d as W,N as A,e as F,D as x,x as D,C as R,f,S as v,R as E,I as M,h as N,i as q,A as w,F as O,j as U,k as Z,l as j,W as z,n as G,T as J,t as K,o as Q,p as V,q as X,r as Y,s as _,u as $,z as aa,B as sa,H as oa,J as ta,M as ea,V as ra,O as pa,Q as ia,U as na,X as ma,Y as la,Z as ca,_ as Ta,a0 as ba,a1 as da,a2 as Sa,a3 as Ba,a4 as La,a5 as Ca,a6 as Ha,a7 as ua,a8 as ga,a9 as ya,aa as Ia,ab as ha,ac as ka,ad as Pa}from"./DocsRenderer-CFRXHY34-CB3m3uCJ.js";import"./iframe-oMwCeC19.js";import"../sb-preview/runtime.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-DFkxGuuM.js";import"./index-kifaGmES.js";import"./index-DrFu-skq.js";import"./react-18-ClY32pUF.js";import"./client-BGlHIwA3.js";export{b as A,d as ActionBar,S as AddonPanel,B as Badge,L as Bar,C as Blockquote,H as Button,u as ClipboardCode,g as Code,y as DL,I as Div,h as DocumentWrapper,k as EmptyTabContent,P as ErrorFormatter,W as FlexBar,A as Form,F as H1,x as H2,D as H3,R as H4,f as H5,v as H6,E as HR,M as IconButton,N as IconButtonSkeleton,q as Icons,w as Img,O as LI,U as Link,Z as ListItem,j as Loader,z as Modal,G as OL,J as P,K as Placeholder,Q as Pre,V as ResetWrapper,X as ScrollArea,Y as Separator,_ as Spaced,$ as Span,aa as StorybookIcon,sa as StorybookLogo,oa as Symbols,ta as SyntaxHighlighter,ea as TT,ra as TabBar,pa as TabButton,ia as TabWrapper,na as Table,ma as Tabs,la as TabsState,ca as TooltipLinkList,Ta as TooltipMessage,ba as TooltipNote,da as UL,Sa as WithTooltip,Ba as WithTooltipPure,La as Zoom,Ca as codeCommon,Ha as components,ua as createCopyToClipboardFunction,ga as getStoryHref,ya as icons,Ia as interleaveSeparators,ha as nameSpaceClassNames,ka as resetComponents,Pa as withReset}; diff --git a/assets/modules-JDQiHpSw.js b/assets/modules-CEymqiYN.js similarity index 99% rename from assets/modules-JDQiHpSw.js rename to assets/modules-CEymqiYN.js index cd0d7709..42cf4e29 100644 --- a/assets/modules-JDQiHpSw.js +++ b/assets/modules-CEymqiYN.js @@ -1,4 +1,4 @@ -var Dy=Object.defineProperty;var Uh=t=>{throw TypeError(t)};var Ty=(t,e,n)=>e in t?Dy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var F=(t,e,n)=>Ty(t,typeof e!="symbol"?e+"":e,n),Wh=(t,e,n)=>e.has(t)||Uh("Cannot "+n);var ke=(t,e,n)=>(Wh(t,e,"read from private field"),n?n.call(t):e.get(t)),Hi=(t,e,n)=>e.has(t)?Uh("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),qr=(t,e,n,r)=>(Wh(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);import{g as Ur,a as Gs,c as K}from"./_commonjsHelpers-BosuxZz1.js";import{q as Oy,d as nn,V as ky}from"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import{r as _,R as _t}from"./index-mfbfsM12.js";import{M as Ke,f as My,g as Jr,h as Py,C as Fy,i as Ry,j as Ny,k as By,l as Gy,m as Ly,n as Vy,o as Hy,p as Uy,q as Wy,r as Xy,s as Yy,t as zy,u as Hc,E as Zn,G as Wo}from"./useTrackException-Cm6KdDpO.js";import{R as Xo,f as qy,h as Ky,c as He,b as le,C as tt,j as ve,P as Om,k as km,a as et,l as Mm,n as $y,T as jy,m as Ea,o as Xh,S as js,p as Ta,q as Pm,i as Sf,r as xa,v as Yh,e as Qy,w as Zy,x as Fm,y as du,z as Rm,A as Nm,B as bf,D as Jy,F as e1,G as Si,H as zh,I as t1,u as On,J as n1}from"./useThemable-ua4U8LzO.js";import{P as ue,N as Bm}from"./index-DSI0shHu.js";import{j as k}from"./jsx-runtime-Bxcv0yjW.js";import{N as _f,R as Xd}from"./NativeEventEmitter-MQ3wzVGe.js";import{a as r1,u as Gm,K as ua,M as i1,I as Df,b as a1,c as s1,r as Uc,d as Yd,S as qh,U as o1}from"./useOpenUrl-BebUyU0w.js";import{f as l1,h as c1,s as he,p as Tf}from"./index-kbHxBZ_W.js";import{T as u1}from"./index-CAyeAlm6.js";import{V as pe}from"./index-BP1Ij_Cs.js";import{a as ya,F as Lm,A as Ae,E as Kh}from"./Animated-CFNSbqHF.js";import{I as fs,P as d1}from"./index-2SHDvLR_.js";import{u as Nn}from"./useTheme-ChTiG3MC.js";import{u as Ls}from"./index-DbcoTUCW.js";import{u as Vm}from"./useDeviceContext-Cm8FgCCV.js";import{C as Dn}from"./Column-CFK5NdwL.js";import{u as Hm,a as A1}from"./useAccessibilityFocus-jeKlJ74P.js";import{P as Of}from"./Pressable-kwatEfDj.js";import{B as hr}from"./Box-CEQ9kk6v.js";import{S as f1}from"./Size-ByzkQpGs.js";import{P as kn}from"./Phrase-Dnv5p-ah.js";import{i as Um,e as Wc,d as kf,f as $h}from"./development-LhlsWDYu.js";import{A as Jn}from"./index-Ce74jbsy.js";import{r as h1}from"./index-DFkxGuuM.js";import{D as Mf}from"./duration-A4BOymd5.js";import{I as bi}from"./IconButton-C0GLYfe-.js";import{R as ln}from"./Row-D-wvv0CV.js";import{I as Mn}from"./Icon-BD3fFj_K.js";import{T as Wm}from"./Title-DSiraCpB.js";import{S as Pf,P as _r,a as Xm}from"./index-BtN4QjYR.js";import{B as Ym}from"./Badge-BAkGihjF.js";import{M as p1}from"./index-LDRWBpq_.js";import{G as Xc}from"./Gutter-BrZ2VZou.js";import{C as Yc}from"./ChatSystemEntry-hHuktGEM.js";import{B as zd}from"./Button-jNQoxaXU.js";import{P as zm}from"./PressableBase-C7VxqMV9.js";import{u as Ff}from"./useIsScreenReaderEnabled-A65pchNu.js";import{T as Rf}from"./index-DZxzYa9i.js";import{C as g1}from"./Center-2_hcwEx9.js";import{u as v1,m as jh,c as m1,b as C1,d as E1,T as x1,e as y1}from"./Tooltip-BzAIIzXz.js";import{P as I1}from"./types-BJ_48vsK.js";import{f as w1}from"./index-DEfxrPnc.js";import{U as S1}from"./TextAncestorContext-Dg3XKfar.js";import{S as b1}from"./index-k6NSpe5t.js";import{H as Qh}from"./HideFromAccessibility-B6TCA_vV.js";import{P as _1}from"./PleaseWait-DtPz9rW0.js";import{l as D1}from"./layoutStyles-hLwHoe51.js";import{P as T1}from"./Paragraph-C4zYzItT.js";import"./index-8JwjhRSi.js";import{u as qm}from"./index-BXDkY5MO.js";import{A as O1}from"./index-CDv7s-w8.js";import{c as k1}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{c as M1}from"./index-BowPbij1.js";function P1(t){var e,n;let r=t;for(;((i=r)===null||i===void 0?void 0:i.routes[r.index??0].state)!=null;){var i;r=r.routes[r.index??0].state}return(e=r)===null||e===void 0?void 0:e.routes[((n=r)===null||n===void 0?void 0:n.index)??0]}function H6(t,e){var n;const r=e?Km(e):{},i=t.index!=null?t.routes.slice(0,t.index+1):t.routes;if(i.length===0)return;if(!(i.length===1&&i[0].key===void 0||i.length===2&&i[0].key===void 0&&i[0].name===(r==null?void 0:r.initialRouteName)&&i[1].key===void 0))return{type:"RESET",payload:t};const a=t.routes[t.index??t.routes.length-1];let s=a==null?void 0:a.state,o=r==null||(n=r.screens)===null||n===void 0?void 0:n[a==null?void 0:a.name],l={...a.params},c=a?{name:a.name,path:a.path,params:l}:void 0;for(;s;){var u,A,d;if(s.routes.length===0)return;const f=s.index!=null?s.routes.slice(0,s.index+1):s.routes,p=f[f.length-1];if(Object.assign(l,{initial:void 0,screen:void 0,params:void 0,state:void 0}),f.length===1&&f[0].key===void 0)l.initial=!0,l.screen=p.name;else if(f.length===2&&f[0].key===void 0&&f[0].name===((u=o)===null||u===void 0?void 0:u.initialRouteName)&&f[1].key===void 0)l.initial=!1,l.screen=p.name;else{l.state=s;break}p.state?(l.params={...p.params},l=l.params):(l.path=p.path,l.params=p.params),s=p.state,o=(A=o)===null||A===void 0||(d=A.screens)===null||d===void 0?void 0:d[p.name]}if(c)return{type:"NAVIGATE",payload:c}}const Km=t=>typeof t=="object"&&t!=null?{initialRouteName:t.initialRouteName,screens:t.screens!=null?F1(t.screens):void 0}:{},F1=t=>Object.entries(t).reduce((e,n)=>{let[r,i]=n;return e[r]=Km(i),e},{}),R1=Symbol("CHILD_STATE");function N1(t){const e=t[R1]??t.state,n=t.params;return e?e.routes[e.index??(typeof e.type=="string"&&e.type!=="stack"?0:e.routes.length-1)].name:typeof(n==null?void 0:n.screen)=="string"?n.screen:void 0}const Zh=t=>t.map(e=>`- ${e}`).join(` +var Dy=Object.defineProperty;var Uh=t=>{throw TypeError(t)};var Ty=(t,e,n)=>e in t?Dy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var F=(t,e,n)=>Ty(t,typeof e!="symbol"?e+"":e,n),Wh=(t,e,n)=>e.has(t)||Uh("Cannot "+n);var ke=(t,e,n)=>(Wh(t,e,"read from private field"),n?n.call(t):e.get(t)),Hi=(t,e,n)=>e.has(t)?Uh("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),qr=(t,e,n,r)=>(Wh(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);import{g as Ur,a as Gs,c as K}from"./_commonjsHelpers-BosuxZz1.js";import{q as Oy,d as nn,V as ky}from"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import{r as _,R as _t}from"./index-mfbfsM12.js";import{M as Ke,f as My,g as Jr,h as Py,C as Fy,i as Ry,j as Ny,k as By,l as Gy,m as Ly,n as Vy,o as Hy,p as Uy,q as Wy,r as Xy,s as Yy,t as zy,u as Hc,E as Zn,G as Wo}from"./useTrackException-Cm6KdDpO.js";import{R as Xo,f as qy,h as Ky,c as He,b as le,C as tt,j as ve,P as Om,k as km,a as et,l as Mm,n as $y,T as jy,m as Ea,o as Xh,S as js,p as Ta,q as Pm,i as Sf,r as xa,v as Yh,e as Qy,w as Zy,x as Fm,y as du,z as Rm,A as Nm,B as bf,D as Jy,F as e1,G as Si,H as zh,I as t1,u as On,J as n1}from"./useThemable-ua4U8LzO.js";import{P as ue,N as Bm}from"./index-DSI0shHu.js";import{j as k}from"./jsx-runtime-Bxcv0yjW.js";import{N as _f,R as Xd}from"./NativeEventEmitter-MQ3wzVGe.js";import{a as r1,u as Gm,K as ua,M as i1,I as Df,b as a1,c as s1,r as Uc,d as Yd,S as qh,U as o1}from"./useOpenUrl-DkzqnrRX.js";import{f as l1,h as c1,s as he,p as Tf}from"./index-kbHxBZ_W.js";import{T as u1}from"./index-CAyeAlm6.js";import{V as pe}from"./index-BP1Ij_Cs.js";import{a as ya,F as Lm,A as Ae,E as Kh}from"./Animated-CFNSbqHF.js";import{I as fs,P as d1}from"./index-2SHDvLR_.js";import{u as Nn}from"./useTheme-ChTiG3MC.js";import{u as Ls}from"./index-DbcoTUCW.js";import{u as Vm}from"./useDeviceContext-Cm8FgCCV.js";import{C as Dn}from"./Column-CFK5NdwL.js";import{u as Hm,a as A1}from"./useAccessibilityFocus-jeKlJ74P.js";import{P as Of}from"./Pressable-0Of7HZos.js";import{B as hr}from"./Box-CEQ9kk6v.js";import{S as f1}from"./Size-ByzkQpGs.js";import{P as kn}from"./Phrase-FY7SqhHh.js";import{i as Um,e as Wc,d as kf,f as $h}from"./development-LhlsWDYu.js";import{A as Jn}from"./index-Ce74jbsy.js";import{r as h1}from"./index-DFkxGuuM.js";import{D as Mf}from"./duration-A4BOymd5.js";import{I as bi}from"./IconButton-S0EpSLVW.js";import{R as ln}from"./Row-D-wvv0CV.js";import{I as Mn}from"./Icon-DzTBkJ4u.js";import{T as Wm}from"./Title-CLDk-249.js";import{S as Pf,P as _r,a as Xm}from"./index-BtN4QjYR.js";import{B as Ym}from"./Badge-BAkGihjF.js";import{M as p1}from"./index-CIcog7m4.js";import{G as Xc}from"./Gutter-BrZ2VZou.js";import{C as Yc}from"./ChatSystemEntry-BaHEjUy7.js";import{B as zd}from"./Button-DKrj2h9O.js";import{P as zm}from"./PressableBase-DhkKVuqd.js";import{u as Ff}from"./useIsScreenReaderEnabled-A65pchNu.js";import{T as Rf}from"./index-DZxzYa9i.js";import{C as g1}from"./Center-2_hcwEx9.js";import{u as v1,m as jh,c as m1,b as C1,d as E1,T as x1,e as y1}from"./Tooltip-Dddt_hel.js";import{P as I1}from"./types-BJ_48vsK.js";import{f as w1}from"./index-DEfxrPnc.js";import{U as S1}from"./TextAncestorContext-Dg3XKfar.js";import{S as b1}from"./index-k6NSpe5t.js";import{H as Qh}from"./HideFromAccessibility-B6TCA_vV.js";import{P as _1}from"./PleaseWait-D1f8b25a.js";import{l as D1}from"./layoutStyles-hLwHoe51.js";import{P as T1}from"./Paragraph-DU14yVhW.js";import"./index-8JwjhRSi.js";import{u as qm}from"./index-BXDkY5MO.js";import{A as O1}from"./index-CDv7s-w8.js";import{c as k1}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{c as M1}from"./index-BowPbij1.js";function P1(t){var e,n;let r=t;for(;((i=r)===null||i===void 0?void 0:i.routes[r.index??0].state)!=null;){var i;r=r.routes[r.index??0].state}return(e=r)===null||e===void 0?void 0:e.routes[((n=r)===null||n===void 0?void 0:n.index)??0]}function H6(t,e){var n;const r=e?Km(e):{},i=t.index!=null?t.routes.slice(0,t.index+1):t.routes;if(i.length===0)return;if(!(i.length===1&&i[0].key===void 0||i.length===2&&i[0].key===void 0&&i[0].name===(r==null?void 0:r.initialRouteName)&&i[1].key===void 0))return{type:"RESET",payload:t};const a=t.routes[t.index??t.routes.length-1];let s=a==null?void 0:a.state,o=r==null||(n=r.screens)===null||n===void 0?void 0:n[a==null?void 0:a.name],l={...a.params},c=a?{name:a.name,path:a.path,params:l}:void 0;for(;s;){var u,A,d;if(s.routes.length===0)return;const f=s.index!=null?s.routes.slice(0,s.index+1):s.routes,p=f[f.length-1];if(Object.assign(l,{initial:void 0,screen:void 0,params:void 0,state:void 0}),f.length===1&&f[0].key===void 0)l.initial=!0,l.screen=p.name;else if(f.length===2&&f[0].key===void 0&&f[0].name===((u=o)===null||u===void 0?void 0:u.initialRouteName)&&f[1].key===void 0)l.initial=!1,l.screen=p.name;else{l.state=s;break}p.state?(l.params={...p.params},l=l.params):(l.path=p.path,l.params=p.params),s=p.state,o=(A=o)===null||A===void 0||(d=A.screens)===null||d===void 0?void 0:d[p.name]}if(c)return{type:"NAVIGATE",payload:c}}const Km=t=>typeof t=="object"&&t!=null?{initialRouteName:t.initialRouteName,screens:t.screens!=null?F1(t.screens):void 0}:{},F1=t=>Object.entries(t).reduce((e,n)=>{let[r,i]=n;return e[r]=Km(i),e},{}),R1=Symbol("CHILD_STATE");function N1(t){const e=t[R1]??t.state,n=t.params;return e?e.routes[e.index??(typeof e.type=="string"&&e.type!=="stack"?0:e.routes.length-1)].name:typeof(n==null?void 0:n.screen)=="string"?n.screen:void 0}const Zh=t=>t.map(e=>`- ${e}`).join(` `);function $m(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=["initialRouteName","screens"];e||n.push("path","exact","stringify","parse");const r=Object.keys(t).filter(i=>!n.includes(i));if(r.length)throw new Error(`Found invalid properties in the configuration: ${Zh(r)} @@ -33,9 +33,9 @@ Supported values: ["extend", "clamp", "identity", Extrapolatation.CLAMP, Extrapo interpolate(value, [inputRange], [outputRange], { extrapolateLeft: Extrapolation.CLAMP, extrapolateRight: Extrapolation.IDENTITY - }})`);return Object.assign(e,t),e}function fD(t,e,n){"worklet";const{leftEdgeInput:r,rightEdgeInput:i,leftEdgeOutput:a,rightEdgeOutput:s}=e;if(i-r===0)return a;const o=(t-r)/(i-r),l=a+o*(s-a),c=s>=a?1:-1;return c*l<c*a?Bp(n.extrapolateLeft,c,l,a,s,t):c*l>c*s?Bp(n.extrapolateRight,c,l,a,s,t):l}function Lt(t,e,n,r){"worklet";if(e.length<2||n.length<2)throw new oe("Interpolation input and output ranges should contain at least two values.");const i=AD(r),a=e.length,s={leftEdgeInput:e[0],rightEdgeInput:e[1],leftEdgeOutput:n[0],rightEdgeOutput:n[1]};if(a>2){if(t>e[a-1])s.leftEdgeInput=e[a-2],s.rightEdgeInput=e[a-1],s.leftEdgeOutput=n[a-2],s.rightEdgeOutput=n[a-1];else for(let o=1;o<a;++o)if(t<=e[o]){s.leftEdgeInput=e[o-1],s.rightEdgeInput=e[o],s.leftEdgeOutput=n[o-1],s.rightEdgeOutput=n[o];break}}return fD(t,s,i)}function hD(t,e,n){"worklet";return Math.min(Math.max(t,e),n)}const pD=Ye,gD=(t,e,n,r)=>{"worklet";let i=0;const{useCorrectedHSVInterpolation:a=!0}=r;if(a){const c=[e[0]],u=n.h,A=[u[0]];for(let d=1;d<u.length;++d){const f=u[d]-u[d-1];u[d]>u[d-1]&&f>.5?(c.push(e[d]),c.push(e[d]+1e-5),A.push(u[d]-1),A.push(u[d])):u[d]<u[d-1]&&f<-.5?(c.push(e[d]),c.push(e[d]+1e-5),A.push(u[d]+1),A.push(u[d])):(c.push(e[d]),A.push(u[d]))}i=(Lt(t,c,A,Ye.CLAMP)+1)%1}else i=Lt(t,e,n.h,Ye.CLAMP);const s=Lt(t,e,n.s,Ye.CLAMP),o=Lt(t,e,n.v,Ye.CLAMP),l=Lt(t,e,n.a,Ye.CLAMP);return Bw(i,s,o,l)},Su=(t,e)=>{"worklet";return t.map(n=>Math.pow(n/255,e))},bu=(t,e)=>{"worklet";return Math.round(Math.pow(t,1/e)*255)},vD=(t,e,n,r)=>{"worklet";const{gamma:i=2.2}=r;let{r:a,g:s,b:o}=n;i!==1&&(a=Su(a,i),s=Su(s,i),o=Su(o,i));const l=Lt(t,e,a,Ye.CLAMP),c=Lt(t,e,s,Ye.CLAMP),u=Lt(t,e,o,Ye.CLAMP),A=Lt(t,e,n.a,Ye.CLAMP);return i===1?jd(l,c,u,A):jd(bu(l,i),bu(c,i),bu(u,i),A)},mD=t=>{"worklet";const e=[],n=[],r=[],i=[];for(let a=0;a<t.length;++a){const s=t[a],o=jc(s);o!=null&&(e.push(SC(o)),n.push(bC(o)),r.push(_C(o)),i.push(wC(o)))}return{r:e,g:n,b:r,a:i}},CD=t=>{"worklet";const e=[],n=[],r=[],i=[];for(let a=0;a<t.length;++a){const s=t[a],o=jc(s);if(typeof o=="number"){const l=Rw(SC(o),bC(o),_C(o));e.push(l.h),n.push(l.s),r.push(l.v),i.push(wC(o))}}return{h:e,s:n,v:r,a:i}};function EA(t,e,n,r="RGB",i={}){"worklet";if(r==="HSV")return gD(t,e,CD(n),i);if(r==="RGB")return vD(t,e,mD(n),i);throw new oe(`Invalid color space provided: ${r}. Supported values are: ['RGB', 'HSV'].`)}let eE=function(t){return t[t.RGB=0]="RGB",t[t.HSV=1]="HSV",t}({});function ED(t,e,n=eE.RGB,r={}){return ct({inputRange:t,outputRange:e,colorSpace:n,cache:Pn(null),options:r})}function xD(){Oe.warn("dispatchCommand() is not supported on web.")}function tE(t){const e=t();if(e===-1)return Oe.warn(`The view with tag ${e} is not a valid argument for measure(). This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).`),null;const n=e.getBoundingClientRect();return{width:e.offsetWidth,height:e.offsetHeight,x:e.offsetLeft,y:e.offsetTop,pageX:n.left,pageY:n.top}}function yD(t,e,n,r){const i=t();if(i!==-1){const a=i;a==null||a.scrollTo({x:e,y:n,animated:r})}}function ID(){Oe.warn("setGestureState() is not available on web.")}function wD(t,e){const n=t();Kc(e,n)}function SD(t,e,n){"worklet";const r=tE(t);return r===null?null:{x:e-r.pageX,y:n-r.pageY}}function bD(t,e){const n={};return e==null||e.forEach(r=>{n[r]=!0}),eh(n),t}function _D(){return"It looks like you might be using shared value's .value inside reanimated inline style. If you want a component to update when shared value changes you should use the shared value directly instead of its current state represented by `.value`. See documentation here: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary/#animations-in-inline-styling"}function DD(){}function TD(){}function OD(){}function kD(){}function MD(){}function nE(t){"worklet";return{next:0,buffer:new Float32Array(t),size:t,count:0,push(e){const n=this.buffer[this.next],r=this.count;return this.buffer[this.next]=e,this.next=(this.next+1)%this.size,this.count=Math.min(this.size,this.count+1),r===this.size?n:null},front(){if(this.count>0){const n=this.next-1,r=n<0?this.size-1:n;return this.buffer[r]}return null},back(){return this.count>0?this.buffer[this.next]:null}}}const PD=20;eh({text:!0});const rE=Fi(Rf);function FD(t){let e=0;function n(){requestAnimationFrame(r=>{e>0&&t(e,r),e=r,requestAnimationFrame(n)})}n()}function RD(t){"worklet";return 1e3/t}function iE(t,e){"worklet";e=Math.round(e);const n=t.push(e)??e,r=e-n;return RD(r/t.count)}function ND({smoothingFrames:t}){const e=ct(null),n=ct(0),r=_.useRef(nE(t));_.useEffect(()=>{FD((a,s)=>{s=Math.round(s);const o=iE(r.current,s);e.value=(o*2).toFixed(0)})},[e,n]);const i=oh(()=>{const a="JS: "+(e.value??"N/A")+" ";return{text:a,defaultValue:a}});return k.jsx(pe,{style:bs.container,children:k.jsx(rE,{style:bs.text,animatedProps:i,editable:!1})})}function BD({smoothingFrames:t}){const e=ct(null),n=ct(null);ZC(({timestamp:i})=>{n.value===null&&(n.value=nE(t)),i=Math.round(i);const a=iE(n.value,i);e.value=a.toFixed(0)});const r=oh(()=>{const i="UI: "+(e.value??"N/A")+" ";return{text:i,defaultValue:i}});return k.jsx(pe,{style:bs.container,children:k.jsx(rE,{style:bs.text,animatedProps:r,editable:!1})})}function GD({smoothingFrames:t=PD}){return k.jsxs(pe,{style:bs.monitor,children:[k.jsx(ND,{smoothingFrames:t}),k.jsx(BD,{smoothingFrames:t})]})}const bs=he.create({monitor:{flexDirection:"row",position:"absolute",backgroundColor:"#0006",zIndex:1e3},header:{fontSize:14,color:"#ffff",paddingHorizontal:5},text:{fontSize:13,color:"#ffff",fontFamily:"monospace",paddingHorizontal:3},container:{alignItems:"center",justifyContent:"center",flexDirection:"row",flexWrap:"wrap"}});function LD({mode:t}){return _.useEffect(()=>{},[]),_.useEffect(()=>{const e=yn.jsValue;switch(t){case on.System:yn.setEnabled(Kf());break;case on.Always:yn.setEnabled(!0);break;case on.Never:yn.setEnabled(!1);break}return()=>{yn.setEnabled(e)}},[t]),null}const VD=Ct();function HD(t){"worklet";return{tag:t,name:"RCTView"}}function UD(t){"worklet";return{shadowNodeWrapper:t}}const aE=VD?UD:HD;function WD(t,e){"worklet";const{screenDimensions:n,topScreenId:r,screenTransition:i}=t,{topScreenStyle:a}=i,s=a(e,n),o={value:[aE(r)]};sr(o,s,void 0)}function sE(t,e){"worklet";const{screenDimensions:n,belowTopScreenId:r,screenTransition:i}=t,{belowTopScreenStyle:a}=i,s=a(e,n),o={value:[aE(r)]};sr(o,s,void 0)}function xA(t,e){"worklet";WD(t,e),sE(t,e)}function _u(t){return()=>{"worklet";return Oe.warn("RNScreensTurboModule has not been found. Check that you have installed `react-native-screens@3.30.0` or newer in your project and rebuilt your app."),t}}const XD=global.RNScreensTurboModule||{startTransition:_u({topScreenId:-1,belowTopScreenId:-1,canStartTransition:!1}),updateTransition:_u(),finishTransition:_u()},Du=400,YD=400,zD=500,qD=600;function so(t,e,n){"worklet";if(Math.abs(e)<1)return 1;const r=(_getAnimationTimestamp()-t)/1e3;return n*r/e}function oo(t){"worklet";return 1-Math.pow(1-t,5)}function KD(t,e,n){"worklet";const r=t.screenDimensions,i=Math.abs(e.translationX/r.width),a=Math.abs(e.translationY/r.height),s=Math.max(i,a);return n?s/2:s}function Gp(t,e,n,r,i){"worklet";var a;if(e)(a=n.onFinishAnimation)==null||a.call(n);else{const s=n.stackTag,o=KD(n,r,i);XD.updateTransition(s,o),requestAnimationFrame(t)}}function $D(t,e,n){"worklet";const r=e.screenDimensions,i=_getAnimationTimestamp(),{isTransitionCanceled:a}=e,s={x:t.translationX,y:t.translationY},o={x:Math.sign(t.translationX),y:Math.sign(t.translationY)},l=a?{x:0,y:0}:{x:o.x*r.width,y:o.y*r.height},c={x:Math.abs(l.x-s.x),y:Math.abs(l.y-s.y)},u={x:!1,y:!1},A={x:Du,y:Du};if(n==="x")A.y=0,A.x+=YD*c.x/r.width;else if(n==="y")A.x=0,A.y+=zD*c.y/r.height;else{const d=Math.sqrt(c.x**2+c.y**2),f=Math.sqrt(r.width**2+r.height**2),p=Du+qD*d/f;Math.abs(s.x)>Math.abs(s.y)?(A.x=p,A.y=p*Math.abs(s.y/s.x)):(A.x=p*Math.abs(s.x/s.y),A.y=p)}if(a){let d=function(){return n==="x"?u.x:(n==="y"||u.x)&&u.y},f=function(){t.translationX=o.x*r.width,t.translationY=o.y*r.height,sE(e,t)};const p=()=>{const h={x:so(i,c.x,A.x),y:so(i,c.y,A.y)};t.translationX=s.x-o.x*c.x*oo(h.x),t.translationY=s.y-o.y*c.y*oo(h.y),o.x>0?t.translationX<=0&&(u.x=!0,t.translationX=0):t.translationX>=0&&(u.x=!0,t.translationX=0),o.y>0?t.translationY<=0&&(u.y=!0,t.translationY=0):t.translationY>=0&&(u.y=!0,t.translationY=0),xA(e,t);const g=d();g&&f(),Gp(p,g,e,t,a)};return p}else{const d=()=>{const f={x:so(i,c.x,A.x),y:so(i,c.y,A.y)};t.translationX=s.x+o.x*c.x*oo(f.x),t.translationY=s.y+o.y*c.y*oo(f.y),o.x>0?t.translationX>=r.width&&(u.x=!0,t.translationX=r.width):t.translationX<=-r.width&&(u.x=!0,t.translationX=-r.width),o.y>0?t.translationY>=r.height&&(u.y=!0,t.translationY=r.height):t.translationY<=-r.height&&(u.y=!0,t.translationY=-r.height),xA(e,t),Gp(d,u.x||u.y,e,t,a)};return d}}Zc();function jD(t){"worklet";const{stackTag:e,sharedEvent:n}=t;n.addListener(e,()=>{xA(t,n.value)})}function QD(t){"worklet";if(["swipeRight","swipeLeft","horizontalSwipe"].includes(t))return"x";if(["swipeUp","swipeDown","verticalSwipe"].includes(t))return"y"}function ZD(t){"worklet";const{stackTag:e,sharedEvent:n,goBackGesture:r}=t;n.removeListener(e);const i=QD(r);$D(n.value,t,i)()}const JD={topScreenStyle:t=>{"worklet";return{transform:[{translateX:t.translationX}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:(t.translationX-e.width)*.3}]}}},eT={topScreenStyle:t=>{"worklet";return{transform:[{translateX:t.translationX}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:(t.translationX+e.width)*.3}]}}},tT={topScreenStyle:t=>{"worklet";return{transform:[{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateY:(t.translationY-e.height)*.3}]}}},nT={topScreenStyle:t=>{"worklet";return{transform:[{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateY:(t.translationY+e.height)*.3}]}}},rT={topScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:t.translationX},{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},iT={topScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:t.translationX}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},aT={topScreenStyle:(t,e)=>{"worklet";return{transform:[{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},sT={topScreenStyle:(t,e)=>{"worklet";return{opacity:1-Math.abs(t.translationX/e.width)}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},oT={SwipeRight:JD,SwipeLeft:eT,SwipeDown:tT,SwipeUp:nT,Horizontal:iT,Vertical:aT,TwoDimensional:rT,SwipeRightFade:sT},lT=Object.freeze(Object.defineProperty({__proto__:null,BaseAnimationBuilder:Pi,BounceIn:KS,BounceInDown:W0,BounceInLeft:Y0,BounceInRight:z0,BounceInUp:X0,BounceOut:$S,BounceOutDown:q0,BounceOutLeft:$0,BounceOutRight:j0,BounceOutUp:K0,ColorSpace:eE,ComplexAnimationBuilder:ee,CurvedTransition:eb,Easing:Ze,EntryExitTransition:LC,Extrapolate:pD,Extrapolation:Ye,FadeIn:th,FadeInDown:m0,FadeInLeft:g0,FadeInRight:p0,FadeInUp:v0,FadeOut:nh,FadeOutDown:y0,FadeOutLeft:E0,FadeOutRight:C0,FadeOutUp:x0,FadingTransition:QS,FlipInEasyX:r0,FlipInEasyY:i0,FlipInXDown:t0,FlipInXUp:Jd,FlipInYLeft:e0,FlipInYRight:n0,FlipOutEasyX:c0,FlipOutEasyY:u0,FlipOutXDown:o0,FlipOutXUp:a0,FlipOutYLeft:s0,FlipOutYRight:l0,IOSReferenceFrame:oC,InterfaceOrientation:yi,JumpingTransition:JS,KeyboardState:lC,Keyframe:Jf,Layout:jS,LayoutAnimationConfig:Jc,LightSpeedInLeft:Z0,LightSpeedInRight:Q0,LightSpeedOutLeft:eA,LightSpeedOutRight:J0,LinearTransition:GC,PerformanceMonitor:GD,PinwheelIn:tA,PinwheelOut:nA,ReanimatedLogLevel:qc,ReduceMotion:on,ReducedMotionConfig:LD,RollInLeft:dA,RollInRight:AA,RollOutLeft:fA,RollOutRight:hA,RotateInDownLeft:rA,RotateInDownRight:iA,RotateInUpLeft:aA,RotateInUpRight:sA,RotateOutDownLeft:oA,RotateOutDownRight:lA,RotateOutUpLeft:cA,RotateOutUpRight:uA,ScreenTransition:oT,SensorType:Qe,SequencedTransition:ZS,SharedTransition:br,SharedTransitionType:LS,SlideInDown:_i,SlideInLeft:w0,SlideInRight:I0,SlideInUp:_0,SlideOutDown:Is,SlideOutLeft:b0,SlideOutRight:S0,SlideOutUp:D0,StretchInX:d0,StretchInY:A0,StretchOutX:f0,StretchOutY:h0,ZoomIn:zS,ZoomInDown:P0,ZoomInEasyDown:R0,ZoomInEasyUp:F0,ZoomInLeft:O0,ZoomInRight:k0,ZoomInRotate:T0,ZoomInUp:M0,ZoomOut:qS,ZoomOutDown:V0,ZoomOutEasyDown:U0,ZoomOutEasyUp:H0,ZoomOutLeft:B0,ZoomOutRight:G0,ZoomOutRotate:N0,ZoomOutUp:L0,advanceAnimationByFrame:OD,advanceAnimationByTime:TD,cancelAnimation:DC,clamp:hD,combineTransition:tb,configureReanimatedLogger:XS,convertToRGBA:Ja,createAnimatedPropAdapter:bD,createWorkletRuntime:xw,default:$t,defineAnimation:Ar,dispatchCommand:xD,enableLayoutAnimations:IC,executeOnUIRuntimeSync:ra,finishScreenTransition:ZD,getAnimatedStyle:MD,getRelativeCoords:SD,getUseOfValueInStyleWarning:_D,getViewProp:Sw,interpolate:Lt,interpolateColor:EA,isColor:Qd,isConfigured:ww,isReanimated3:yC,isSharedValue:Rr,isWorkletFunction:qo,makeMutable:Pn,makeShareableCloneRecursive:Ue,measure:tE,processColor:jc,runOnJS:En,runOnRuntime:yw,runOnUI:ar,scrollTo:yD,setGestureState:ID,setNativeProps:wD,setUpTests:kD,startMapper:Hs,startScreenTransition:jD,stopMapper:da,useAnimatedGestureHandler:U_,useAnimatedKeyboard:J_,useAnimatedProps:oh,useAnimatedReaction:W_,useAnimatedRef:QC,useAnimatedScrollHandler:Y_,useAnimatedSensor:j_,useAnimatedStyle:Fn,useComposedEventHandler:iD,useDerivedValue:z_,useEvent:Us,useFrameCallback:ZC,useHandler:tu,useInterpolateConfig:ED,useReducedMotion:H_,useScrollViewOffset:JC,useSharedValue:ct,useWorkletCallback:L_,withClamp:BS,withDecay:NS,withDelay:ni,withReanimatedTimer:DD,withRepeat:Zf,withSequence:Fe,withSpring:Qf,withTiming:j},Symbol.toStringTag,{value:"Module"})),Bn=()=>tC();var xn=(t=>(t.maximized="maximized",t.minimized="minimized",t))(xn||{});const cT={headerHeight:0,isMenuOpen:!1,isOpen:!1,minimizedHeight:0,visibility:xn.maximized,conversationId:void 0},oE=He({name:le.chat,initialState:cT,reducers:{closeChat:t=>({...t,isOpen:!1}),maximizeChat:t=>({...t,visibility:xn.maximized}),minimizeChat:t=>({...t,visibility:xn.minimized}),setHeightMinimized:(t,{payload:e})=>({...t,minimizedHeight:e}),openChat:t=>({...t,isOpen:!0,visibility:xn.maximized}),clearChatMessages:t=>({...t,messages:[]}),toggleChatIsOpen:t=>({...t,isOpen:!t.isOpen}),toggleChatVisibility:t=>({...t,visibility:t.visibility===xn.maximized?xn.minimized:xn.maximized}),setChatConversationId:(t,{payload:e})=>({...t,conversationId:e}),setChatHeaderHeight:(t,{payload:e})=>({...t,headerHeight:e}),setIsChatMenuOpen:(t,{payload:e})=>({...t,isMenuOpen:e})}}),{closeChat:uT,openChat:dT,maximizeChat:AT,minimizeChat:fT,setHeightMinimized:hT,toggleChatIsOpen:pT,toggleChatVisibility:gT,setChatConversationId:vT,setChatHeaderHeight:mT,setIsChatMenuOpen:CT}=oE.actions,ET=t=>t[le.chat].isOpen,xT=t=>t[le.chat].visibility,yT=t=>t[le.chat].minimizedHeight,IT=t=>t[le.chat].conversationId,wT=t=>t[le.chat].headerHeight,ST=t=>t[le.chat].isMenuOpen,Ri=()=>{const t=et(ET),e=et(ST),n=et(wT),r=et(IT),i=et(xT),a=i===xn.maximized,s=i===xn.minimized,o=et(yT),l=Bn(),c=_.useCallback(()=>l(dT()),[l]),u=_.useCallback(()=>l(uT()),[l]),A=_.useCallback(()=>l(AT()),[l]),d=_.useCallback(()=>l(fT()),[l]),f=_.useCallback(v=>l(vT(v)),[l]),p=_.useCallback(v=>l(mT(v)),[l]),h=_.useCallback(v=>l(CT(v)),[l]),g=_.useCallback(v=>l(hT(v)),[l]),E=_.useCallback(()=>l(pT()),[l]),m=_.useCallback(()=>l(gT()),[l]);return{close:u,conversationId:r,headerHeight:n,isMaximized:a,isMenuOpen:e,isMinimized:s,isOpen:t,open:c,maximize:A,minimize:d,minimizedHeight:o,setConversationId:f,setMinimizedHeight:g,setHeaderHeight:p,setIsMenuOpen:h,toggleIsOpen:E,toggleVisibility:m,visibility:i}},yA=({children:t})=>{const{isMaximized:e}=Ri(),{duration:n}=Nn(),r=bT(),i=Fn(()=>({opacity:j(e?1:0,{duration:n.transition.short})}));return k.jsx($t.View,{style:[r.container,i],children:t})},bT=()=>he.create({container:{flexGrow:1}});try{yA.displayName="ChatAnimatedContentWrapper",yA.__docgenInfo={description:"",displayName:"ChatAnimatedContentWrapper",props:{}}}catch{}const gs=_.forwardRef(({onPress:t,testID:e,label:n,color:r},i)=>k.jsx(f1,{width:"100%",children:k.jsx(Of,{onPress:t,ref:i,testID:e,children:k.jsx(hr,{insetHorizontal:"md",insetVertical:"sm",children:k.jsx(kn,{color:r,testID:`${e}Phrase`,children:n})})})}));try{gs.displayName="ChatMenuItem",gs.__docgenInfo={description:"",displayName:"ChatMenuItem",props:{color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"inverse"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"warning"'}]}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const lE=(t=!1)=>{const[e,n]=_.useState(t),r=_.useCallback(()=>{n(s=>!s)},[]),i=_.useCallback(()=>{n(!0)},[]),a=_.useCallback(()=>{n(!1)},[]);return{value:e,toggle:r,enable:i,disable:a}},_T=He({name:le.environment,initialState:{custom:My,environment:Um?Jr.acceptance:Jr.production},reducers:{setEnvironment:(t,{payload:e})=>{t.environment=e},setCustomEnvironment:(t,{payload:e})=>{t.custom={...t.custom,...e}}}});_T.actions;const cE=t=>t[le.environment],DT=(t,e)=>n=>Py(n[le.environment].environment,n[le.environment].custom,t,e),TT=()=>{const{environment:t}=et(cE),e={};switch(t){case Jr.development:case Jr.custom:e.developerName=Wy,e.organizationId=Xy,e.url=Yy;break;case Jr.test:e.developerName=Vy,e.organizationId=Hy,e.url=Uy;break;case Jr.acceptance:e.developerName=By,e.organizationId=Gy,e.url=Ly;break;case Jr.production:e.developerName=Fy,e.organizationId=Ry,e.url=Ny;break}return e},Lp=t=>t.filter(({format:e})=>e!==ve.deliveryAcknowledgement),OT=t=>t===ve.attachments||t===ve.carousel||t===ve.imageMessage||t===ve.inputs||t===ve.listPicker||t===ve.richLink||t===ve.quickReplies||t===ve.selections||t===ve.text,kT={addDownloadedTranscriptId:()=>null,downloadedTranscriptIds:[],employeeInChat:!1,endChat:()=>null,isEnded:!1,isWaitingForAgent:!1,messages:[],newMessagesCount:0,ready:!1,remoteConfiguration:void 0},MT=(t,e)=>{const n=t.filter(i=>i.format!==ve.transcript),r=n[n.length-1];return(r==null?void 0:r.format)===ve.routingWorkResult&&r.workType===Mm.closed&&!e},PT=(t,e)=>{const{value:n,enable:r}=lE(!1);return{isEnded:n||MT(t,e),endChat:r}},dn=_.createContext(kT),IA=({children:t})=>{const{isMaximized:e,isMinimized:n}=Ri(),[r,i]=_.useState(),[a,s]=_.useState(0),[o,l]=_.useState([]),c=TT(),{messages:u,isTyping:A,conversationId:d,ready:f,employeeInChat:p,remoteConfiguration:h,isWaitingForAgent:g}=bI({...c,conversationId:r}),{isEnded:E,endChat:m}=PT(u,g),v=_.useCallback(y=>{l(x=>[...x,y])},[]);_.useEffect(()=>{var y;n&&OT((y=u[u.length-1])==null?void 0:y.format)&&s(x=>x+1)},[u.length]),_.useEffect(()=>{e&&s(0)},[e]),_.useEffect(()=>{i(d??r)},[r,d,i]),_.useEffect(()=>{var y;if(h){const x=JSON.parse(JSON.stringify(h));(y=x.preChatConfiguration[0])==null||y.hiddenPreChatFields.forEach(w=>{w.name==="Origin"?w.value="App":w.name==="Start_Location"&&(w.value="contact")}),SI(x,!0)}},[h]);const C=_.useMemo(()=>({addDownloadedTranscriptId:v,downloadedTranscriptIds:o,endChat:m,messages:A&&!E?[...Lp(u),A]:Lp(u),newMessagesCount:a,ready:f,employeeInChat:p,isEnded:E,remoteConfiguration:h,isWaitingForAgent:g}),[v,o,p,m,A,g,E,u,a,f,h]);return k.jsx(dn.Provider,{value:C,children:t})};try{IA.displayName="ChatProvider",IA.__docgenInfo={description:"",displayName:"ChatProvider",props:{}}}catch{}const Tu="@@nativeEmitterSubscription@@";class uE{constructor(e){F(this,"_listenerCount",0);F(this,"_nativeModule");F(this,"_eventEmitter");if(e.__expo_module_name__)return e;this._nativeModule=e,this._eventEmitter=new _f(e)}addListener(e,n){!this._listenerCount&&ue.OS!=="ios"&&this._nativeModule.startObserving&&this._nativeModule.startObserving(),this._listenerCount++;const r=this._eventEmitter.addListener(e,n),i={[Tu]:r,remove:()=>{this.removeSubscription(i)}};return i}removeAllListeners(e){const n=this._eventEmitter.listenerCount?this._eventEmitter.listenerCount(e):this._eventEmitter.listeners(e).length;this._eventEmitter.removeAllListeners(e),this._listenerCount-=n,Qo(this._listenerCount>=0,"EventEmitter must have a non-negative number of listeners"),!this._listenerCount&&ue.OS!=="ios"&&this._nativeModule.stopObserving&&this._nativeModule.stopObserving()}removeSubscription(e){const n=e[Tu];n&&("remove"in n&&n.remove(),this._listenerCount--,delete e[Tu],e.remove=()=>{},!this._listenerCount&&ue.OS!=="ios"&&this._nativeModule.stopObserving&&this._nativeModule.stopObserving())}emit(e,...n){this._eventEmitter.emit(e,...n)}}const FT={},RT=Object.freeze(Object.defineProperty({__proto__:null,default:FT},Symbol.toStringTag,{value:"Module"})),NT=Gs(RT);class Ro extends Error{constructor(n,r){super(r);F(this,"code");F(this,"info");this.code=n}}var Tm;const lh=typeof window<"u"&&!!((Tm=window.document)!=null&&Tm.createElement),BT=lh&&!!(window.addEventListener||window.attachEvent),GT=lh&&!!window.screen,LT=!1,Di={OS:ue.OS,select:ue.select,isDOMAvailable:lh,canUseEventListeners:BT,canUseViewport:GT,isAsyncDebugging:LT};class lt extends Ro{constructor(e,n){super("ERR_UNAVAILABLE",`The method or property ${e}.${n} is not available on ${Di.OS}, are you sure you've linked all the native dependencies properly?`)}}var wA;(function(t){t.GRANTED="granted",t.UNDETERMINED="undetermined",t.DENIED="denied"})(wA||(wA={}));const Pe={get documentDirectory(){return null},get cacheDirectory(){return null},get bundleDirectory(){return null},addListener(t){},removeListeners(t){}};var SA;(function(t){t[t.BACKGROUND=0]="BACKGROUND",t[t.FOREGROUND=1]="FOREGROUND"})(SA||(SA={}));var Vp;(function(t){t[t.BINARY_CONTENT=0]="BINARY_CONTENT",t[t.MULTIPART=1]="MULTIPART"})(Vp||(Vp={}));var _s;(function(t){t.UTF8="utf8",t.Base64="base64"})(_s||(_s={}));Pe||console.warn("No native ExponentFileSystem module found, are you sure the expo-file-system's module is linked properly?");new uE(Pe);function ch(t){return t!=null?t.replace(/\/*$/,"")+"/":null}const dE=ch(Pe.documentDirectory);ch(Pe.cacheDirectory);ch(Pe.bundleDirectory);async function VT(t,e={}){if(!Pe.readAsStringAsync)throw new lt("expo-file-system","readAsStringAsync");return await Pe.readAsStringAsync(t,e)}async function AE(t,e,n={}){if(!Pe.writeAsStringAsync)throw new lt("expo-file-system","writeAsStringAsync");return await Pe.writeAsStringAsync(t,e,n)}async function HT(t,e={}){if(!Pe.deleteAsync)throw new lt("expo-file-system","deleteAsync");return await Pe.deleteAsync(t,e)}async function UT(t){if(!Pe.moveAsync)throw new lt("expo-file-system","moveAsync");return await Pe.moveAsync(t)}async function WT(t){if(!Pe.copyAsync)throw new lt("expo-file-system","copyAsync");return await Pe.copyAsync(t)}async function XT(t,e,n={}){if(!Pe.downloadAsync)throw new lt("expo-file-system","downloadAsync");return await Pe.downloadAsync(t,e,{sessionType:SA.BACKGROUND,...n})}const YT=VT,zT=AE,qT=HT,KT=UT,$T=WT;var fa;(function(t){function e(s){return`content://com.android.externalstorage.documents/tree/primary:${s}/document/primary:${s}`}t.getUriForDirectoryInRoot=e;async function n(s=null){if(!Pe.requestDirectoryPermissionsAsync)throw new lt("expo-file-system","StorageAccessFramework.requestDirectoryPermissionsAsync");return await Pe.requestDirectoryPermissionsAsync(s)}t.requestDirectoryPermissionsAsync=n;async function r(s){if(!Pe.readSAFDirectoryAsync)throw new lt("expo-file-system","StorageAccessFramework.readDirectoryAsync");return await Pe.readSAFDirectoryAsync(s)}t.readDirectoryAsync=r;async function i(s,o){if(!Pe.makeSAFDirectoryAsync)throw new lt("expo-file-system","StorageAccessFramework.makeDirectoryAsync");return await Pe.makeSAFDirectoryAsync(s,o)}t.makeDirectoryAsync=i;async function a(s,o,l){if(!Pe.createSAFFileAsync)throw new lt("expo-file-system","StorageAccessFramework.createFileAsync");return await Pe.createSAFFileAsync(s,o,l)}t.createFileAsync=a,t.writeAsStringAsync=zT,t.readAsStringAsync=YT,t.deleteAsync=qT,t.moveAsync=KT,t.copyAsync=$T})(fa||(fa={}));const Ou={async isAvailableAsync(){return typeof navigator>"u"?!1:!!navigator.share},async shareAsync(t,e={}){if(navigator.share)await navigator.share({...e,url:t});else throw new lt("navigator","share")}};async function jT(t,e={}){if(!Ou||!Ou.shareAsync)throw new lt("Sharing","shareAsync");return await Ou.shareAsync(t,e)}const QT={"application/pdf":"com.adobe.pdf","image/png":"public.png","image/jpeg":"public.jpeg","image/gif":"com.compuserve.gif","image/bmp":"com.microsoft.bmp","image/svg+xml":"public.svg-image"},ZT=async(t,e)=>{const{headers:n,uri:r}=await XT(t,dE+e);return{uri:r,mimeType:n["content-type"]}},JT={jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",gif:"image/gif",pdf:"application/pdf",txt:"text/plain",mp4:"video/mp4",mp3:"audio/mpeg",json:"application/json"},uh=async({base64:t,downloadUri:e,fileName:n,localUri:r})=>{try{if(e){const{mimeType:i,uri:a}=await ZT(e,n),s=await Hp(a);await ku(s,n,i)}else if(t)await ku(t.data,n,t.mimeType);else if(r){const i=await Hp(r);await ku(i,n)}else throw"Give either base64 or downloadUri as an argument to saveFile."}catch(i){throw Wc(i),i}},e2=async()=>{try{const t=await fa.requestDirectoryPermissionsAsync();if(t.granted)return t.directoryUri;throw"Not granted directory permission."}catch{throw"Requesting directory permission failed."}},t2=async(t,e,n="application/pdf")=>{try{return await fa.createFileAsync(t,e,n)}catch{throw"Creating empty file failed."}},Hp=async t=>{try{return await fa.readAsStringAsync(t,{encoding:_s.Base64})}catch{throw"Reading file as base64 string failed."}},n2=async(t,e)=>{try{await fa.writeAsStringAsync(t,e,{encoding:_s.Base64}),Wc(`saved to file ${t}`)}catch{throw"Writing base64 string to file failed."}},fE=async(t,e,n)=>{const r=`${dE}${e}`;try{await AE(r,t,{encoding:_s.Base64}),await jT(r,{mimeType:n,UTI:n?QT[n]:void 0}),Wc(`saved to file ${r}`)}catch{throw"Failed to share file with other applications."}},r2=async(t,e,n)=>{try{const r=await e2(),i=await t2(r,e,n);await n2(i,t)}catch(r){throw await fE(t,e,n),r}},ku=async(t,e,n)=>{const r=JT[e.split(".").pop()||""]||n;ue.OS==="android"?await r2(t,e,r):await fE(t,e,r)};var hE={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(K,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",s="second",o="minute",l="hour",c="day",u="week",A="month",d="quarter",f="year",p="date",h="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,E=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var P=["th","st","nd","rd"],R=M%100;return"["+M+(P[(R-20)%10]||P[R]||P[0])+"]"}},v=function(M,P,R){var W=String(M);return!W||W.length>=P?M:""+Array(P+1-W.length).join(R)+M},C={s:v,z:function(M){var P=-M.utcOffset(),R=Math.abs(P),W=Math.floor(R/60),N=R%60;return(P<=0?"+":"-")+v(W,2,"0")+":"+v(N,2,"0")},m:function M(P,R){if(P.date()<R.date())return-M(R,P);var W=12*(R.year()-P.year())+(R.month()-P.month()),N=P.clone().add(W,A),U=R-N<0,Y=P.clone().add(W+(U?-1:1),A);return+(-(W+(R-N)/(U?N-Y:Y-N))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:A,y:f,w:u,d:c,D:p,h:l,m:o,s,ms:a,Q:d}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},y="en",x={};x[y]=m;var w="$isDayjsObject",b=function(M){return M instanceof O||!(!M||!M[w])},D=function M(P,R,W){var N;if(!P)return y;if(typeof P=="string"){var U=P.toLowerCase();x[U]&&(N=U),R&&(x[U]=R,N=U);var Y=P.split("-");if(!N&&Y.length>1)return M(Y[0])}else{var G=P.name;x[G]=P,N=G}return!W&&N&&(y=N),N||!W&&y},I=function(M,P){if(b(M))return M.clone();var R=typeof P=="object"?P:{};return R.date=M,R.args=arguments,new O(R)},S=C;S.l=D,S.i=b,S.w=function(M,P){return I(M,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var O=function(){function M(R){this.$L=D(R.locale,null,!0),this.parse(R),this.$x=this.$x||R.x||{},this[w]=!0}var P=M.prototype;return P.parse=function(R){this.$d=function(W){var N=W.date,U=W.utc;if(N===null)return new Date(NaN);if(S.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var Y=N.match(g);if(Y){var G=Y[2]-1||0,H=(Y[7]||"0").substring(0,3);return U?new Date(Date.UTC(Y[1],G,Y[3]||1,Y[4]||0,Y[5]||0,Y[6]||0,H)):new Date(Y[1],G,Y[3]||1,Y[4]||0,Y[5]||0,Y[6]||0,H)}}return new Date(N)}(R),this.init()},P.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},P.$utils=function(){return S},P.isValid=function(){return this.$d.toString()!==h},P.isSame=function(R,W){var N=I(R);return this.startOf(W)<=N&&N<=this.endOf(W)},P.isAfter=function(R,W){return I(R)<this.startOf(W)},P.isBefore=function(R,W){return this.endOf(W)<I(R)},P.$g=function(R,W,N){return S.u(R)?this[W]:this.set(N,R)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(R,W){var N=this,U=!!S.u(W)||W,Y=S.p(R),G=function(ae,te){var re=S.w(N.$u?Date.UTC(N.$y,te,ae):new Date(N.$y,te,ae),N);return U?re:re.endOf(c)},H=function(ae,te){return S.w(N.toDate()[ae].apply(N.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(te)),N)},L=this.$W,B=this.$M,X=this.$D,z="set"+(this.$u?"UTC":"");switch(Y){case f:return U?G(1,0):G(31,11);case A:return U?G(1,B):G(0,B+1);case u:var q=this.$locale().weekStart||0,Q=(L<q?L+7:L)-q;return G(U?X-Q:X+(6-Q),B);case c:case p:return H(z+"Hours",0);case l:return H(z+"Minutes",1);case o:return H(z+"Seconds",2);case s:return H(z+"Milliseconds",3);default:return this.clone()}},P.endOf=function(R){return this.startOf(R,!1)},P.$set=function(R,W){var N,U=S.p(R),Y="set"+(this.$u?"UTC":""),G=(N={},N[c]=Y+"Date",N[p]=Y+"Date",N[A]=Y+"Month",N[f]=Y+"FullYear",N[l]=Y+"Hours",N[o]=Y+"Minutes",N[s]=Y+"Seconds",N[a]=Y+"Milliseconds",N)[U],H=U===c?this.$D+(W-this.$W):W;if(U===A||U===f){var L=this.clone().set(p,1);L.$d[G](H),L.init(),this.$d=L.set(p,Math.min(this.$D,L.daysInMonth())).$d}else G&&this.$d[G](H);return this.init(),this},P.set=function(R,W){return this.clone().$set(R,W)},P.get=function(R){return this[S.p(R)]()},P.add=function(R,W){var N,U=this;R=Number(R);var Y=S.p(W),G=function(B){var X=I(U);return S.w(X.date(X.date()+Math.round(B*R)),U)};if(Y===A)return this.set(A,this.$M+R);if(Y===f)return this.set(f,this.$y+R);if(Y===c)return G(1);if(Y===u)return G(7);var H=(N={},N[o]=r,N[l]=i,N[s]=n,N)[Y]||1,L=this.$d.getTime()+R*H;return S.w(L,this)},P.subtract=function(R,W){return this.add(-1*R,W)},P.format=function(R){var W=this,N=this.$locale();if(!this.isValid())return N.invalidDate||h;var U=R||"YYYY-MM-DDTHH:mm:ssZ",Y=S.z(this),G=this.$H,H=this.$m,L=this.$M,B=N.weekdays,X=N.months,z=N.meridiem,q=function(te,re,Z,ie){return te&&(te[re]||te(W,U))||Z[re].slice(0,ie)},Q=function(te){return S.s(G%12||12,te,"0")},ae=z||function(te,re,Z){var ie=te<12?"AM":"PM";return Z?ie.toLowerCase():ie};return U.replace(E,function(te,re){return re||function(Z){switch(Z){case"YY":return String(W.$y).slice(-2);case"YYYY":return S.s(W.$y,4,"0");case"M":return L+1;case"MM":return S.s(L+1,2,"0");case"MMM":return q(N.monthsShort,L,X,3);case"MMMM":return q(X,L);case"D":return W.$D;case"DD":return S.s(W.$D,2,"0");case"d":return String(W.$W);case"dd":return q(N.weekdaysMin,W.$W,B,2);case"ddd":return q(N.weekdaysShort,W.$W,B,3);case"dddd":return B[W.$W];case"H":return String(G);case"HH":return S.s(G,2,"0");case"h":return Q(1);case"hh":return Q(2);case"a":return ae(G,H,!0);case"A":return ae(G,H,!1);case"m":return String(H);case"mm":return S.s(H,2,"0");case"s":return String(W.$s);case"ss":return S.s(W.$s,2,"0");case"SSS":return S.s(W.$ms,3,"0");case"Z":return Y}return null}(te)||Y.replace(":","")})},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(R,W,N){var U,Y=this,G=S.p(W),H=I(R),L=(H.utcOffset()-this.utcOffset())*r,B=this-H,X=function(){return S.m(Y,H)};switch(G){case f:U=X()/12;break;case A:U=X();break;case d:U=X()/3;break;case u:U=(B-L)/6048e5;break;case c:U=(B-L)/864e5;break;case l:U=B/i;break;case o:U=B/r;break;case s:U=B/n;break;default:U=B}return N?U:S.a(U)},P.daysInMonth=function(){return this.endOf(A).$D},P.$locale=function(){return x[this.$L]},P.locale=function(R,W){if(!R)return this.$L;var N=this.clone(),U=D(R,W,!0);return U&&(N.$L=U),N},P.clone=function(){return S.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},M}(),T=O.prototype;return I.prototype=T,[["$ms",a],["$s",s],["$m",o],["$H",l],["$W",c],["$M",A],["$y",f],["$D",p]].forEach(function(M){T[M[1]]=function(P){return this.$g(P,M[0],M[1])}}),I.extend=function(M,P){return M.$i||(M(P,O,I),M.$i=!0),I},I.locale=D,I.isDayjs=b,I.unix=function(M){return I(1e3*M)},I.en=x[y],I.Ls=x,I.p={},I})})(hE);var pE=hE.exports;const Gr=Ur(pE);var gE={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(K,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(i,a,s){var o,l=function(d,f,p){p===void 0&&(p={});var h=new Date(d),g=function(E,m){m===void 0&&(m={});var v=m.timeZoneName||"short",C=E+"|"+v,y=r[C];return y||(y=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:E,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:v}),r[C]=y),y}(f,p);return g.formatToParts(h)},c=function(d,f){for(var p=l(d,f),h=[],g=0;g<p.length;g+=1){var E=p[g],m=E.type,v=E.value,C=n[m];C>=0&&(h[C]=parseInt(v,10))}var y=h[3],x=y===24?0:y,w=h[0]+"-"+h[1]+"-"+h[2]+" "+x+":"+h[4]+":"+h[5]+":000",b=+d;return(s.utc(w).valueOf()-(b-=b%1e3))/6e4},u=a.prototype;u.tz=function(d,f){d===void 0&&(d=o);var p,h=this.utcOffset(),g=this.toDate(),E=g.toLocaleString("en-US",{timeZone:d}),m=Math.round((g-new Date(E))/1e3/60),v=15*-Math.round(g.getTimezoneOffset()/15)-m;if(!Number(v))p=this.utcOffset(0,f);else if(p=s(E,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(v,!0),f){var C=p.utcOffset();p=p.add(h-C,"minute")}return p.$x.$timezone=d,p},u.offsetName=function(d){var f=this.$x.$timezone||s.tz.guess(),p=l(this.valueOf(),f,{timeZoneName:d}).find(function(h){return h.type.toLowerCase()==="timezonename"});return p&&p.value};var A=u.startOf;u.startOf=function(d,f){if(!this.$x||!this.$x.$timezone)return A.call(this,d,f);var p=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return A.call(p,d,f).tz(this.$x.$timezone,!0)},s.tz=function(d,f,p){var h=p&&f,g=p||f||o,E=c(+s(),g);if(typeof d!="string")return s(d).tz(g);var m=function(x,w,b){var D=x-60*w*1e3,I=c(D,b);if(w===I)return[D,w];var S=c(D-=60*(I-w)*1e3,b);return I===S?[D,I]:[x-60*Math.min(I,S)*1e3,Math.max(I,S)]}(s.utc(d,h).valueOf(),E,g),v=m[0],C=m[1],y=s(v).utcOffset(C);return y.$x.$timezone=g,y},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(d){o=d}}})})(gE);var i2=gE.exports;const a2=Ur(i2);var vE={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(K,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,s,o){var l=s.prototype;o.utc=function(h){var g={date:h,utc:!0,args:arguments};return new s(g)},l.utc=function(h){var g=o(this.toDate(),{locale:this.$L,utc:!0});return h?g.add(this.utcOffset(),n):g},l.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),c.call(this,h)};var u=l.init;l.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else u.call(this)};var A=l.utcOffset;l.utcOffset=function(h,g){var E=this.$utils().u;if(E(h))return this.$u?0:E(this.$offset)?A.call(this):this.$offset;if(typeof h=="string"&&(h=function(y){y===void 0&&(y="");var x=y.match(r);if(!x)return null;var w=(""+x[0]).match(i)||["-",0,0],b=w[0],D=60*+w[1]+ +w[2];return D===0?0:b==="+"?D:-D}(h),h===null))return this;var m=Math.abs(h)<=16?60*h:h,v=this;if(g)return v.$offset=m,v.$u=h===0,v;if(h!==0){var C=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(v=this.local().add(m+C,n)).$offset=m,v.$x.$localOffset=C}else v=this.utc();return v};var d=l.format;l.format=function(h){var g=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,g)},l.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var f=l.toDate;l.toDate=function(h){return h==="s"&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var p=l.diff;l.diff=function(h,g,E){if(h&&this.$u===h.$u)return p.call(this,h,g,E);var m=this.local(),v=o(h).local();return p.call(m,v,g,E)}}})})(vE);var s2=vE.exports;const o2=Ur(s2);var l2={exports:{}};(function(t,e){(function(n,r){t.exports=r(pE)})(K,function(n){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=r(n),a={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(s){return"["+s+(s===1||s===8||s>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return i.default.locale(a,null,!0),a})})(l2);const c2="Europe/Amsterdam";Gr.extend(o2);Gr.extend(a2);Gr.locale("nl");Gr.tz.setDefault(c2);const nu=t=>{const e=Gr(t).format();return Gr(e)},dh=t=>{const e=Gr.unix(t);return Gr(e)},u2=t=>t==null||t===""?"":nu(t).format("D MMMM YYYY HH:mm:ss"),mE=async()=>{try{const{transcript:t,entryId:e}=await II(),n=`Chatgeschiedenis ${u2(nu()).replaceAll(":"," ")}.pdf`;return await uh({base64:{data:t,mimeType:"application/pdf"},fileName:n}),e}catch(t){kf(t,JSON.stringify(t)),Jn.alert("Chat downloaden mislukt.")}};var CE=(t=>(t.getRedirectUrls="getRedirectUrls",t))(CE||{}),No=(t=>(t.acknowledgeChild="acknowledgeChild",t.birth="birth",t.chatPrivacy="chatPrivacy",t.cityPassChildBudget="cityPassChildBudget",t.cityPassRequest="cityPassRequest",t.cityPassUsage="cityPassUsage",t.citypass="citypass",t.contactForm="contactForm",t.documents="documents",t.feedbackForm="feedbackForm",t.immigration="immigration",t.income_help="income_help",t.lifelessBirth="lifelessBirth",t.makeAppointMentWeesp="makeAppointMentWeesp",t.marriage="marriage",t.marriagePermission="marriagePermission",t.naturalisation="naturalisation",t.parking="parking",t.parking_visitors="parking_visitors",t.passing="passing",t.passingForFuneralDirectors="passingForFuneralDirectors",t.relocation="relocation",t))(No||{}),ha=function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){n.label=c[1];break}if(c[0]===6&&n.label<a[1]){n.label=a[1],a=c;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(c);break}a[2]&&n.ops.pop(),n.trys.pop();continue}c=e.call(t,n)}catch(u){c=[6,u],i=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},cl=function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},d2=Object.defineProperty,A2=Object.defineProperties,f2=Object.getOwnPropertyDescriptors,ul=Object.getOwnPropertySymbols,EE=Object.prototype.hasOwnProperty,xE=Object.prototype.propertyIsEnumerable,Up=function(t,e,n){return e in t?d2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},Ne=function(t,e){for(var n in e||(e={}))EE.call(e,n)&&Up(t,n,e[n]);if(ul)for(var r=0,i=ul(e);r<i.length;r++){var n=i[r];xE.call(e,n)&&Up(t,n,e[n])}return t},bn=function(t,e){return A2(t,f2(e))},Wp=function(t,e){var n={};for(var r in t)EE.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&ul)for(var i=0,a=ul(t);i<a.length;i++){var r=a[i];e.indexOf(r)<0&&xE.call(t,r)&&(n[r]=t[r])}return n},pa=function(t,e,n){return new Promise(function(r,i){var a=function(l){try{o(n.next(l))}catch(c){i(c)}},s=function(l){try{o(n.throw(l))}catch(c){i(c)}},o=function(l){return l.done?r(l.value):Promise.resolve(l.value).then(a,s)};o((n=n.apply(t,e)).next())})},Re;(function(t){t.uninitialized="uninitialized",t.pending="pending",t.fulfilled="fulfilled",t.rejected="rejected"})(Re||(Re={}));function h2(t){return{status:t,isUninitialized:t===Re.uninitialized,isLoading:t===Re.pending,isSuccess:t===Re.fulfilled,isError:t===Re.rejected}}function p2(t){return new RegExp("(^|:)//").test(t)}var g2=function(t){return t.replace(/\/$/,"")},v2=function(t){return t.replace(/^\//,"")};function m2(t,e){if(!t)return e;if(!e)return t;if(p2(e))return e;var n=t.endsWith("/")||!e.startsWith("?")?"/":"";return t=g2(t),e=v2(e),""+t+n+e}var Xp=function(t){return[].concat.apply([],t)};function C2(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function E2(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var Yp=Si;function yE(t,e){if(t===e||!(Yp(t)&&Yp(e)||Array.isArray(t)&&Array.isArray(e)))return e;for(var n=Object.keys(e),r=Object.keys(t),i=n.length===r.length,a=Array.isArray(e)?[]:{},s=0,o=n;s<o.length;s++){var l=o[s];a[l]=yE(t[l],e[l]),i&&(i=t[l]===a[l])}return i?t:a}var zp=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return fetch.apply(void 0,t)},x2=function(t){return t.status>=200&&t.status<=299},y2=function(t){return/ion\/(vnd\.api\+)?json/.test(t.get("content-type")||"")};function qp(t){if(!Si(t))return t;for(var e=Ne({},t),n=0,r=Object.entries(e);n<r.length;n++){var i=r[n],a=i[0],s=i[1];s===void 0&&delete e[a]}return e}function I2(t){var e=this;t===void 0&&(t={});var n=t,r=n.baseUrl,i=n.prepareHeaders,a=i===void 0?function(v){return v}:i,s=n.fetchFn,o=s===void 0?zp:s,l=n.paramsSerializer,c=n.isJsonContentType,u=c===void 0?y2:c,A=n.jsonContentType,d=A===void 0?"application/json":A,f=n.jsonReplacer,p=n.timeout,h=n.responseHandler,g=n.validateStatus,E=Wp(n,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch>"u"&&o===zp&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(v,C){return pa(e,null,function(){var y,x,w,b,D,I,S,O,T,M,P,R,W,N,U,Y,G,H,L,B,X,z,q,Q,ae,te,re,Z,ie,we,Se,be,ye,ne,Be,ut;return ha(this,function(me){switch(me.label){case 0:return y=C.signal,x=C.getState,w=C.extra,b=C.endpoint,D=C.forced,I=C.type,O=typeof v=="string"?{url:v}:v,T=O.url,M=O.headers,P=M===void 0?new Headers(E.headers):M,R=O.params,W=R===void 0?void 0:R,N=O.responseHandler,U=N===void 0?h??"json":N,Y=O.validateStatus,G=Y===void 0?g??x2:Y,H=O.timeout,L=H===void 0?p:H,B=Wp(O,["url","headers","params","responseHandler","validateStatus","timeout"]),X=Ne(bn(Ne({},E),{signal:y}),B),P=new Headers(qp(P)),z=X,[4,a(P,{getState:x,extra:w,endpoint:b,forced:D,type:I})];case 1:z.headers=me.sent()||P,q=function(de){return typeof de=="object"&&(Si(de)||Array.isArray(de)||typeof de.toJSON=="function")},!X.headers.has("content-type")&&q(X.body)&&X.headers.set("content-type",d),q(X.body)&&u(X.headers)&&(X.body=JSON.stringify(X.body,f)),W&&(Q=~T.indexOf("?")?"&":"?",ae=l?l(W):new URLSearchParams(qp(W)),T+=Q+ae),T=m2(r,T),te=new Request(T,X),re=new Request(T,X),S={request:re},ie=!1,we=L&&setTimeout(function(){ie=!0,C.abort()},L),me.label=2;case 2:return me.trys.push([2,4,5,6]),[4,o(te)];case 3:return Z=me.sent(),[3,6];case 4:return Se=me.sent(),[2,{error:{status:ie?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(Se)},meta:S}];case 5:return we&&clearTimeout(we),[7];case 6:be=Z.clone(),S.response=be,ne="",me.label=7;case 7:return me.trys.push([7,9,,10]),[4,Promise.all([m(Z,U).then(function(de){return ye=de},function(de){return Be=de}),be.text().then(function(de){return ne=de},function(){})])];case 8:if(me.sent(),Be)throw Be;return[3,10];case 9:return ut=me.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:Z.status,data:ne,error:String(ut)},meta:S}];case 10:return[2,G(Z,ye)?{data:ye,meta:S}:{error:{status:Z.status,data:ye},meta:S}]}})})};function m(v,C){return pa(this,null,function(){var y;return ha(this,function(x){switch(x.label){case 0:return typeof C=="function"?[2,C(v)]:(C==="content-type"&&(C=u(v.headers)?"json":"text"),C!=="json"?[3,2]:[4,v.text()]);case 1:return y=x.sent(),[2,y.length?JSON.parse(y):null];case 2:return[2,v.text()]}})})}}var sa=function(){function t(e,n){n===void 0&&(n=void 0),this.value=e,this.meta=n}return t}();function w2(t,e){return t===void 0&&(t=0),e===void 0&&(e=5),pa(this,null,function(){var n,r;return ha(this,function(i){switch(i.label){case 0:return n=Math.min(t,e),r=~~((Math.random()+.4)*(300<<n)),[4,new Promise(function(a){return setTimeout(function(s){return a(s)},r)})];case 1:return i.sent(),[2]}})})}function S2(t){throw Object.assign(new sa({error:t}),{throwImmediately:!0})}var Kp={},b2=function(t,e){return function(n,r,i){return pa(void 0,null,function(){var a,s,o,l,c,u,A;return ha(this,function(d){switch(d.label){case 0:a=[5,(e||Kp).maxRetries,(i||Kp).maxRetries].filter(function(f){return f!==void 0}),s=a.slice(-1)[0],o=function(f,p,h){var g=h.attempt;return g<=s},l=Ne(Ne({maxRetries:s,backoff:w2,retryCondition:o},e),i),c=0,d.label=1;case 1:d.label=2;case 2:return d.trys.push([2,4,,6]),[4,t(n,r,i)];case 3:if(u=d.sent(),u.error)throw new sa(u);return[2,u];case 4:if(A=d.sent(),c++,A.throwImmediately){if(A instanceof sa)return[2,A.value];throw A}return A instanceof sa&&!l.retryCondition(A.value.error,n,{attempt:c,baseQueryApi:r,extraOptions:i})?[2,A.value]:[4,l.backoff(c,l.maxRetries)];case 5:return d.sent(),[3,6];case 6:return[3,1];case 7:return[2]}})})}},Mu=Object.assign(b2,{fail:S2}),Ah=Ea("__rtkq/focused"),IE=Ea("__rtkq/unfocused"),fh=Ea("__rtkq/online"),wE=Ea("__rtkq/offline"),Rn;(function(t){t.query="query",t.mutation="mutation"})(Rn||(Rn={}));function SE(t){return t.type===Rn.query}function _2(t){return t.type===Rn.mutation}function hh(t,e,n,r,i,a){return D2(t)?t(e,n,r,i).map(bA).map(a):Array.isArray(t)?t.map(bA).map(a):[]}function D2(t){return typeof t=="function"}function bA(t){return typeof t=="string"?{type:t}:t}function Pu(t){return t!=null}var Ds=Symbol("forceQueryFn"),_A=function(t){return typeof t[Ds]=="function"};function T2(t){var e=t.serializeQueryArgs,n=t.queryThunk,r=t.mutationThunk,i=t.api,a=t.context,s=new Map,o=new Map,l=i.internalActions,c=l.unsubscribeQueryResult,u=l.removeMutationResult,A=l.updateSubscriptionOptions;return{buildInitiateQuery:m,buildInitiateMutation:v,getRunningQueryThunk:p,getRunningMutationThunk:h,getRunningQueriesThunk:g,getRunningMutationsThunk:E,getRunningOperationPromises:f,removalWarning:d};function d(){throw new Error(`This method had to be removed due to a conceptual bug in RTK. + }})`);return Object.assign(e,t),e}function fD(t,e,n){"worklet";const{leftEdgeInput:r,rightEdgeInput:i,leftEdgeOutput:a,rightEdgeOutput:s}=e;if(i-r===0)return a;const o=(t-r)/(i-r),l=a+o*(s-a),c=s>=a?1:-1;return c*l<c*a?Bp(n.extrapolateLeft,c,l,a,s,t):c*l>c*s?Bp(n.extrapolateRight,c,l,a,s,t):l}function Lt(t,e,n,r){"worklet";if(e.length<2||n.length<2)throw new oe("Interpolation input and output ranges should contain at least two values.");const i=AD(r),a=e.length,s={leftEdgeInput:e[0],rightEdgeInput:e[1],leftEdgeOutput:n[0],rightEdgeOutput:n[1]};if(a>2){if(t>e[a-1])s.leftEdgeInput=e[a-2],s.rightEdgeInput=e[a-1],s.leftEdgeOutput=n[a-2],s.rightEdgeOutput=n[a-1];else for(let o=1;o<a;++o)if(t<=e[o]){s.leftEdgeInput=e[o-1],s.rightEdgeInput=e[o],s.leftEdgeOutput=n[o-1],s.rightEdgeOutput=n[o];break}}return fD(t,s,i)}function hD(t,e,n){"worklet";return Math.min(Math.max(t,e),n)}const pD=Ye,gD=(t,e,n,r)=>{"worklet";let i=0;const{useCorrectedHSVInterpolation:a=!0}=r;if(a){const c=[e[0]],u=n.h,A=[u[0]];for(let d=1;d<u.length;++d){const f=u[d]-u[d-1];u[d]>u[d-1]&&f>.5?(c.push(e[d]),c.push(e[d]+1e-5),A.push(u[d]-1),A.push(u[d])):u[d]<u[d-1]&&f<-.5?(c.push(e[d]),c.push(e[d]+1e-5),A.push(u[d]+1),A.push(u[d])):(c.push(e[d]),A.push(u[d]))}i=(Lt(t,c,A,Ye.CLAMP)+1)%1}else i=Lt(t,e,n.h,Ye.CLAMP);const s=Lt(t,e,n.s,Ye.CLAMP),o=Lt(t,e,n.v,Ye.CLAMP),l=Lt(t,e,n.a,Ye.CLAMP);return Bw(i,s,o,l)},Su=(t,e)=>{"worklet";return t.map(n=>Math.pow(n/255,e))},bu=(t,e)=>{"worklet";return Math.round(Math.pow(t,1/e)*255)},vD=(t,e,n,r)=>{"worklet";const{gamma:i=2.2}=r;let{r:a,g:s,b:o}=n;i!==1&&(a=Su(a,i),s=Su(s,i),o=Su(o,i));const l=Lt(t,e,a,Ye.CLAMP),c=Lt(t,e,s,Ye.CLAMP),u=Lt(t,e,o,Ye.CLAMP),A=Lt(t,e,n.a,Ye.CLAMP);return i===1?jd(l,c,u,A):jd(bu(l,i),bu(c,i),bu(u,i),A)},mD=t=>{"worklet";const e=[],n=[],r=[],i=[];for(let a=0;a<t.length;++a){const s=t[a],o=jc(s);o!=null&&(e.push(SC(o)),n.push(bC(o)),r.push(_C(o)),i.push(wC(o)))}return{r:e,g:n,b:r,a:i}},CD=t=>{"worklet";const e=[],n=[],r=[],i=[];for(let a=0;a<t.length;++a){const s=t[a],o=jc(s);if(typeof o=="number"){const l=Rw(SC(o),bC(o),_C(o));e.push(l.h),n.push(l.s),r.push(l.v),i.push(wC(o))}}return{h:e,s:n,v:r,a:i}};function EA(t,e,n,r="RGB",i={}){"worklet";if(r==="HSV")return gD(t,e,CD(n),i);if(r==="RGB")return vD(t,e,mD(n),i);throw new oe(`Invalid color space provided: ${r}. Supported values are: ['RGB', 'HSV'].`)}let eE=function(t){return t[t.RGB=0]="RGB",t[t.HSV=1]="HSV",t}({});function ED(t,e,n=eE.RGB,r={}){return ct({inputRange:t,outputRange:e,colorSpace:n,cache:Pn(null),options:r})}function xD(){Oe.warn("dispatchCommand() is not supported on web.")}function tE(t){const e=t();if(e===-1)return Oe.warn(`The view with tag ${e} is not a valid argument for measure(). This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).`),null;const n=e.getBoundingClientRect();return{width:e.offsetWidth,height:e.offsetHeight,x:e.offsetLeft,y:e.offsetTop,pageX:n.left,pageY:n.top}}function yD(t,e,n,r){const i=t();if(i!==-1){const a=i;a==null||a.scrollTo({x:e,y:n,animated:r})}}function ID(){Oe.warn("setGestureState() is not available on web.")}function wD(t,e){const n=t();Kc(e,n)}function SD(t,e,n){"worklet";const r=tE(t);return r===null?null:{x:e-r.pageX,y:n-r.pageY}}function bD(t,e){const n={};return e==null||e.forEach(r=>{n[r]=!0}),eh(n),t}function _D(){return"It looks like you might be using shared value's .value inside reanimated inline style. If you want a component to update when shared value changes you should use the shared value directly instead of its current state represented by `.value`. See documentation here: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary/#animations-in-inline-styling"}function DD(){}function TD(){}function OD(){}function kD(){}function MD(){}function nE(t){"worklet";return{next:0,buffer:new Float32Array(t),size:t,count:0,push(e){const n=this.buffer[this.next],r=this.count;return this.buffer[this.next]=e,this.next=(this.next+1)%this.size,this.count=Math.min(this.size,this.count+1),r===this.size?n:null},front(){if(this.count>0){const n=this.next-1,r=n<0?this.size-1:n;return this.buffer[r]}return null},back(){return this.count>0?this.buffer[this.next]:null}}}const PD=20;eh({text:!0});const rE=Fi(Rf);function FD(t){let e=0;function n(){requestAnimationFrame(r=>{e>0&&t(e,r),e=r,requestAnimationFrame(n)})}n()}function RD(t){"worklet";return 1e3/t}function iE(t,e){"worklet";e=Math.round(e);const n=t.push(e)??e,r=e-n;return RD(r/t.count)}function ND({smoothingFrames:t}){const e=ct(null),n=ct(0),r=_.useRef(nE(t));_.useEffect(()=>{FD((a,s)=>{s=Math.round(s);const o=iE(r.current,s);e.value=(o*2).toFixed(0)})},[e,n]);const i=oh(()=>{const a="JS: "+(e.value??"N/A")+" ";return{text:a,defaultValue:a}});return k.jsx(pe,{style:bs.container,children:k.jsx(rE,{style:bs.text,animatedProps:i,editable:!1})})}function BD({smoothingFrames:t}){const e=ct(null),n=ct(null);ZC(({timestamp:i})=>{n.value===null&&(n.value=nE(t)),i=Math.round(i);const a=iE(n.value,i);e.value=a.toFixed(0)});const r=oh(()=>{const i="UI: "+(e.value??"N/A")+" ";return{text:i,defaultValue:i}});return k.jsx(pe,{style:bs.container,children:k.jsx(rE,{style:bs.text,animatedProps:r,editable:!1})})}function GD({smoothingFrames:t=PD}){return k.jsxs(pe,{style:bs.monitor,children:[k.jsx(ND,{smoothingFrames:t}),k.jsx(BD,{smoothingFrames:t})]})}const bs=he.create({monitor:{flexDirection:"row",position:"absolute",backgroundColor:"#0006",zIndex:1e3},header:{fontSize:14,color:"#ffff",paddingHorizontal:5},text:{fontSize:13,color:"#ffff",fontFamily:"monospace",paddingHorizontal:3},container:{alignItems:"center",justifyContent:"center",flexDirection:"row",flexWrap:"wrap"}});function LD({mode:t}){return _.useEffect(()=>{},[]),_.useEffect(()=>{const e=yn.jsValue;switch(t){case on.System:yn.setEnabled(Kf());break;case on.Always:yn.setEnabled(!0);break;case on.Never:yn.setEnabled(!1);break}return()=>{yn.setEnabled(e)}},[t]),null}const VD=Ct();function HD(t){"worklet";return{tag:t,name:"RCTView"}}function UD(t){"worklet";return{shadowNodeWrapper:t}}const aE=VD?UD:HD;function WD(t,e){"worklet";const{screenDimensions:n,topScreenId:r,screenTransition:i}=t,{topScreenStyle:a}=i,s=a(e,n),o={value:[aE(r)]};sr(o,s,void 0)}function sE(t,e){"worklet";const{screenDimensions:n,belowTopScreenId:r,screenTransition:i}=t,{belowTopScreenStyle:a}=i,s=a(e,n),o={value:[aE(r)]};sr(o,s,void 0)}function xA(t,e){"worklet";WD(t,e),sE(t,e)}function _u(t){return()=>{"worklet";return Oe.warn("RNScreensTurboModule has not been found. Check that you have installed `react-native-screens@3.30.0` or newer in your project and rebuilt your app."),t}}const XD=global.RNScreensTurboModule||{startTransition:_u({topScreenId:-1,belowTopScreenId:-1,canStartTransition:!1}),updateTransition:_u(),finishTransition:_u()},Du=400,YD=400,zD=500,qD=600;function so(t,e,n){"worklet";if(Math.abs(e)<1)return 1;const r=(_getAnimationTimestamp()-t)/1e3;return n*r/e}function oo(t){"worklet";return 1-Math.pow(1-t,5)}function KD(t,e,n){"worklet";const r=t.screenDimensions,i=Math.abs(e.translationX/r.width),a=Math.abs(e.translationY/r.height),s=Math.max(i,a);return n?s/2:s}function Gp(t,e,n,r,i){"worklet";var a;if(e)(a=n.onFinishAnimation)==null||a.call(n);else{const s=n.stackTag,o=KD(n,r,i);XD.updateTransition(s,o),requestAnimationFrame(t)}}function $D(t,e,n){"worklet";const r=e.screenDimensions,i=_getAnimationTimestamp(),{isTransitionCanceled:a}=e,s={x:t.translationX,y:t.translationY},o={x:Math.sign(t.translationX),y:Math.sign(t.translationY)},l=a?{x:0,y:0}:{x:o.x*r.width,y:o.y*r.height},c={x:Math.abs(l.x-s.x),y:Math.abs(l.y-s.y)},u={x:!1,y:!1},A={x:Du,y:Du};if(n==="x")A.y=0,A.x+=YD*c.x/r.width;else if(n==="y")A.x=0,A.y+=zD*c.y/r.height;else{const d=Math.sqrt(c.x**2+c.y**2),f=Math.sqrt(r.width**2+r.height**2),p=Du+qD*d/f;Math.abs(s.x)>Math.abs(s.y)?(A.x=p,A.y=p*Math.abs(s.y/s.x)):(A.x=p*Math.abs(s.x/s.y),A.y=p)}if(a){let d=function(){return n==="x"?u.x:(n==="y"||u.x)&&u.y},f=function(){t.translationX=o.x*r.width,t.translationY=o.y*r.height,sE(e,t)};const p=()=>{const h={x:so(i,c.x,A.x),y:so(i,c.y,A.y)};t.translationX=s.x-o.x*c.x*oo(h.x),t.translationY=s.y-o.y*c.y*oo(h.y),o.x>0?t.translationX<=0&&(u.x=!0,t.translationX=0):t.translationX>=0&&(u.x=!0,t.translationX=0),o.y>0?t.translationY<=0&&(u.y=!0,t.translationY=0):t.translationY>=0&&(u.y=!0,t.translationY=0),xA(e,t);const g=d();g&&f(),Gp(p,g,e,t,a)};return p}else{const d=()=>{const f={x:so(i,c.x,A.x),y:so(i,c.y,A.y)};t.translationX=s.x+o.x*c.x*oo(f.x),t.translationY=s.y+o.y*c.y*oo(f.y),o.x>0?t.translationX>=r.width&&(u.x=!0,t.translationX=r.width):t.translationX<=-r.width&&(u.x=!0,t.translationX=-r.width),o.y>0?t.translationY>=r.height&&(u.y=!0,t.translationY=r.height):t.translationY<=-r.height&&(u.y=!0,t.translationY=-r.height),xA(e,t),Gp(d,u.x||u.y,e,t,a)};return d}}Zc();function jD(t){"worklet";const{stackTag:e,sharedEvent:n}=t;n.addListener(e,()=>{xA(t,n.value)})}function QD(t){"worklet";if(["swipeRight","swipeLeft","horizontalSwipe"].includes(t))return"x";if(["swipeUp","swipeDown","verticalSwipe"].includes(t))return"y"}function ZD(t){"worklet";const{stackTag:e,sharedEvent:n,goBackGesture:r}=t;n.removeListener(e);const i=QD(r);$D(n.value,t,i)()}const JD={topScreenStyle:t=>{"worklet";return{transform:[{translateX:t.translationX}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:(t.translationX-e.width)*.3}]}}},eT={topScreenStyle:t=>{"worklet";return{transform:[{translateX:t.translationX}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:(t.translationX+e.width)*.3}]}}},tT={topScreenStyle:t=>{"worklet";return{transform:[{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateY:(t.translationY-e.height)*.3}]}}},nT={topScreenStyle:t=>{"worklet";return{transform:[{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{transform:[{translateY:(t.translationY+e.height)*.3}]}}},rT={topScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:t.translationX},{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},iT={topScreenStyle:(t,e)=>{"worklet";return{transform:[{translateX:t.translationX}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},aT={topScreenStyle:(t,e)=>{"worklet";return{transform:[{translateY:t.translationY}]}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},sT={topScreenStyle:(t,e)=>{"worklet";return{opacity:1-Math.abs(t.translationX/e.width)}},belowTopScreenStyle:(t,e)=>{"worklet";return{}}},oT={SwipeRight:JD,SwipeLeft:eT,SwipeDown:tT,SwipeUp:nT,Horizontal:iT,Vertical:aT,TwoDimensional:rT,SwipeRightFade:sT},lT=Object.freeze(Object.defineProperty({__proto__:null,BaseAnimationBuilder:Pi,BounceIn:KS,BounceInDown:W0,BounceInLeft:Y0,BounceInRight:z0,BounceInUp:X0,BounceOut:$S,BounceOutDown:q0,BounceOutLeft:$0,BounceOutRight:j0,BounceOutUp:K0,ColorSpace:eE,ComplexAnimationBuilder:ee,CurvedTransition:eb,Easing:Ze,EntryExitTransition:LC,Extrapolate:pD,Extrapolation:Ye,FadeIn:th,FadeInDown:m0,FadeInLeft:g0,FadeInRight:p0,FadeInUp:v0,FadeOut:nh,FadeOutDown:y0,FadeOutLeft:E0,FadeOutRight:C0,FadeOutUp:x0,FadingTransition:QS,FlipInEasyX:r0,FlipInEasyY:i0,FlipInXDown:t0,FlipInXUp:Jd,FlipInYLeft:e0,FlipInYRight:n0,FlipOutEasyX:c0,FlipOutEasyY:u0,FlipOutXDown:o0,FlipOutXUp:a0,FlipOutYLeft:s0,FlipOutYRight:l0,IOSReferenceFrame:oC,InterfaceOrientation:yi,JumpingTransition:JS,KeyboardState:lC,Keyframe:Jf,Layout:jS,LayoutAnimationConfig:Jc,LightSpeedInLeft:Z0,LightSpeedInRight:Q0,LightSpeedOutLeft:eA,LightSpeedOutRight:J0,LinearTransition:GC,PerformanceMonitor:GD,PinwheelIn:tA,PinwheelOut:nA,ReanimatedLogLevel:qc,ReduceMotion:on,ReducedMotionConfig:LD,RollInLeft:dA,RollInRight:AA,RollOutLeft:fA,RollOutRight:hA,RotateInDownLeft:rA,RotateInDownRight:iA,RotateInUpLeft:aA,RotateInUpRight:sA,RotateOutDownLeft:oA,RotateOutDownRight:lA,RotateOutUpLeft:cA,RotateOutUpRight:uA,ScreenTransition:oT,SensorType:Qe,SequencedTransition:ZS,SharedTransition:br,SharedTransitionType:LS,SlideInDown:_i,SlideInLeft:w0,SlideInRight:I0,SlideInUp:_0,SlideOutDown:Is,SlideOutLeft:b0,SlideOutRight:S0,SlideOutUp:D0,StretchInX:d0,StretchInY:A0,StretchOutX:f0,StretchOutY:h0,ZoomIn:zS,ZoomInDown:P0,ZoomInEasyDown:R0,ZoomInEasyUp:F0,ZoomInLeft:O0,ZoomInRight:k0,ZoomInRotate:T0,ZoomInUp:M0,ZoomOut:qS,ZoomOutDown:V0,ZoomOutEasyDown:U0,ZoomOutEasyUp:H0,ZoomOutLeft:B0,ZoomOutRight:G0,ZoomOutRotate:N0,ZoomOutUp:L0,advanceAnimationByFrame:OD,advanceAnimationByTime:TD,cancelAnimation:DC,clamp:hD,combineTransition:tb,configureReanimatedLogger:XS,convertToRGBA:Ja,createAnimatedPropAdapter:bD,createWorkletRuntime:xw,default:$t,defineAnimation:Ar,dispatchCommand:xD,enableLayoutAnimations:IC,executeOnUIRuntimeSync:ra,finishScreenTransition:ZD,getAnimatedStyle:MD,getRelativeCoords:SD,getUseOfValueInStyleWarning:_D,getViewProp:Sw,interpolate:Lt,interpolateColor:EA,isColor:Qd,isConfigured:ww,isReanimated3:yC,isSharedValue:Rr,isWorkletFunction:qo,makeMutable:Pn,makeShareableCloneRecursive:Ue,measure:tE,processColor:jc,runOnJS:En,runOnRuntime:yw,runOnUI:ar,scrollTo:yD,setGestureState:ID,setNativeProps:wD,setUpTests:kD,startMapper:Hs,startScreenTransition:jD,stopMapper:da,useAnimatedGestureHandler:U_,useAnimatedKeyboard:J_,useAnimatedProps:oh,useAnimatedReaction:W_,useAnimatedRef:QC,useAnimatedScrollHandler:Y_,useAnimatedSensor:j_,useAnimatedStyle:Fn,useComposedEventHandler:iD,useDerivedValue:z_,useEvent:Us,useFrameCallback:ZC,useHandler:tu,useInterpolateConfig:ED,useReducedMotion:H_,useScrollViewOffset:JC,useSharedValue:ct,useWorkletCallback:L_,withClamp:BS,withDecay:NS,withDelay:ni,withReanimatedTimer:DD,withRepeat:Zf,withSequence:Fe,withSpring:Qf,withTiming:j},Symbol.toStringTag,{value:"Module"})),Bn=()=>tC();var xn=(t=>(t.maximized="maximized",t.minimized="minimized",t))(xn||{});const cT={headerHeight:0,isMenuOpen:!1,isOpen:!1,minimizedHeight:0,visibility:xn.maximized,conversationId:void 0},oE=He({name:le.chat,initialState:cT,reducers:{closeChat:t=>({...t,isOpen:!1}),maximizeChat:t=>({...t,visibility:xn.maximized}),minimizeChat:t=>({...t,visibility:xn.minimized}),setHeightMinimized:(t,{payload:e})=>({...t,minimizedHeight:e}),openChat:t=>({...t,isOpen:!0,visibility:xn.maximized}),clearChatMessages:t=>({...t,messages:[]}),toggleChatIsOpen:t=>({...t,isOpen:!t.isOpen}),toggleChatVisibility:t=>({...t,visibility:t.visibility===xn.maximized?xn.minimized:xn.maximized}),setChatConversationId:(t,{payload:e})=>({...t,conversationId:e}),setChatHeaderHeight:(t,{payload:e})=>({...t,headerHeight:e}),setIsChatMenuOpen:(t,{payload:e})=>({...t,isMenuOpen:e})}}),{closeChat:uT,openChat:dT,maximizeChat:AT,minimizeChat:fT,setHeightMinimized:hT,toggleChatIsOpen:pT,toggleChatVisibility:gT,setChatConversationId:vT,setChatHeaderHeight:mT,setIsChatMenuOpen:CT}=oE.actions,ET=t=>t[le.chat].isOpen,xT=t=>t[le.chat].visibility,yT=t=>t[le.chat].minimizedHeight,IT=t=>t[le.chat].conversationId,wT=t=>t[le.chat].headerHeight,ST=t=>t[le.chat].isMenuOpen,Ri=()=>{const t=et(ET),e=et(ST),n=et(wT),r=et(IT),i=et(xT),a=i===xn.maximized,s=i===xn.minimized,o=et(yT),l=Bn(),c=_.useCallback(()=>l(dT()),[l]),u=_.useCallback(()=>l(uT()),[l]),A=_.useCallback(()=>l(AT()),[l]),d=_.useCallback(()=>l(fT()),[l]),f=_.useCallback(v=>l(vT(v)),[l]),p=_.useCallback(v=>l(mT(v)),[l]),h=_.useCallback(v=>l(CT(v)),[l]),g=_.useCallback(v=>l(hT(v)),[l]),E=_.useCallback(()=>l(pT()),[l]),m=_.useCallback(()=>l(gT()),[l]);return{close:u,conversationId:r,headerHeight:n,isMaximized:a,isMenuOpen:e,isMinimized:s,isOpen:t,open:c,maximize:A,minimize:d,minimizedHeight:o,setConversationId:f,setMinimizedHeight:g,setHeaderHeight:p,setIsMenuOpen:h,toggleIsOpen:E,toggleVisibility:m,visibility:i}},yA=({children:t})=>{const{isMaximized:e}=Ri(),{duration:n}=Nn(),r=bT(),i=Fn(()=>({opacity:j(e?1:0,{duration:n.transition.short})}));return k.jsx($t.View,{style:[r.container,i],children:t})},bT=()=>he.create({container:{flexGrow:1}});try{yA.displayName="ChatAnimatedContentWrapper",yA.__docgenInfo={description:"",displayName:"ChatAnimatedContentWrapper",props:{}}}catch{}const gs=_.forwardRef(({onPress:t,testID:e,label:n,color:r},i)=>k.jsx(f1,{width:"100%",children:k.jsx(Of,{onPress:t,ref:i,testID:e,children:k.jsx(hr,{insetHorizontal:"md",insetVertical:"sm",children:k.jsx(kn,{color:r,testID:`${e}Phrase`,children:n})})})}));try{gs.displayName="ChatMenuItem",gs.__docgenInfo={description:"",displayName:"ChatMenuItem",props:{color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"inverse"'},{value:'"warning"'}]}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const lE=(t=!1)=>{const[e,n]=_.useState(t),r=_.useCallback(()=>{n(s=>!s)},[]),i=_.useCallback(()=>{n(!0)},[]),a=_.useCallback(()=>{n(!1)},[]);return{value:e,toggle:r,enable:i,disable:a}},_T=He({name:le.environment,initialState:{custom:My,environment:Um?Jr.acceptance:Jr.production},reducers:{setEnvironment:(t,{payload:e})=>{t.environment=e},setCustomEnvironment:(t,{payload:e})=>{t.custom={...t.custom,...e}}}});_T.actions;const cE=t=>t[le.environment],DT=(t,e)=>n=>Py(n[le.environment].environment,n[le.environment].custom,t,e),TT=()=>{const{environment:t}=et(cE),e={};switch(t){case Jr.development:case Jr.custom:e.developerName=Wy,e.organizationId=Xy,e.url=Yy;break;case Jr.test:e.developerName=Vy,e.organizationId=Hy,e.url=Uy;break;case Jr.acceptance:e.developerName=By,e.organizationId=Gy,e.url=Ly;break;case Jr.production:e.developerName=Fy,e.organizationId=Ry,e.url=Ny;break}return e},Lp=t=>t.filter(({format:e})=>e!==ve.deliveryAcknowledgement),OT=t=>t===ve.attachments||t===ve.carousel||t===ve.imageMessage||t===ve.inputs||t===ve.listPicker||t===ve.richLink||t===ve.quickReplies||t===ve.selections||t===ve.text,kT={addDownloadedTranscriptId:()=>null,downloadedTranscriptIds:[],employeeInChat:!1,endChat:()=>null,isEnded:!1,isWaitingForAgent:!1,messages:[],newMessagesCount:0,ready:!1,remoteConfiguration:void 0},MT=(t,e)=>{const n=t.filter(i=>i.format!==ve.transcript),r=n[n.length-1];return(r==null?void 0:r.format)===ve.routingWorkResult&&r.workType===Mm.closed&&!e},PT=(t,e)=>{const{value:n,enable:r}=lE(!1);return{isEnded:n||MT(t,e),endChat:r}},dn=_.createContext(kT),IA=({children:t})=>{const{isMaximized:e,isMinimized:n}=Ri(),[r,i]=_.useState(),[a,s]=_.useState(0),[o,l]=_.useState([]),c=TT(),{messages:u,isTyping:A,conversationId:d,ready:f,employeeInChat:p,remoteConfiguration:h,isWaitingForAgent:g}=bI({...c,conversationId:r}),{isEnded:E,endChat:m}=PT(u,g),v=_.useCallback(y=>{l(x=>[...x,y])},[]);_.useEffect(()=>{var y;n&&OT((y=u[u.length-1])==null?void 0:y.format)&&s(x=>x+1)},[u.length]),_.useEffect(()=>{e&&s(0)},[e]),_.useEffect(()=>{i(d??r)},[r,d,i]),_.useEffect(()=>{var y;if(h){const x=JSON.parse(JSON.stringify(h));(y=x.preChatConfiguration[0])==null||y.hiddenPreChatFields.forEach(w=>{w.name==="Origin"?w.value="App":w.name==="Start_Location"&&(w.value="contact")}),SI(x,!0)}},[h]);const C=_.useMemo(()=>({addDownloadedTranscriptId:v,downloadedTranscriptIds:o,endChat:m,messages:A&&!E?[...Lp(u),A]:Lp(u),newMessagesCount:a,ready:f,employeeInChat:p,isEnded:E,remoteConfiguration:h,isWaitingForAgent:g}),[v,o,p,m,A,g,E,u,a,f,h]);return k.jsx(dn.Provider,{value:C,children:t})};try{IA.displayName="ChatProvider",IA.__docgenInfo={description:"",displayName:"ChatProvider",props:{}}}catch{}const Tu="@@nativeEmitterSubscription@@";class uE{constructor(e){F(this,"_listenerCount",0);F(this,"_nativeModule");F(this,"_eventEmitter");if(e.__expo_module_name__)return e;this._nativeModule=e,this._eventEmitter=new _f(e)}addListener(e,n){!this._listenerCount&&ue.OS!=="ios"&&this._nativeModule.startObserving&&this._nativeModule.startObserving(),this._listenerCount++;const r=this._eventEmitter.addListener(e,n),i={[Tu]:r,remove:()=>{this.removeSubscription(i)}};return i}removeAllListeners(e){const n=this._eventEmitter.listenerCount?this._eventEmitter.listenerCount(e):this._eventEmitter.listeners(e).length;this._eventEmitter.removeAllListeners(e),this._listenerCount-=n,Qo(this._listenerCount>=0,"EventEmitter must have a non-negative number of listeners"),!this._listenerCount&&ue.OS!=="ios"&&this._nativeModule.stopObserving&&this._nativeModule.stopObserving()}removeSubscription(e){const n=e[Tu];n&&("remove"in n&&n.remove(),this._listenerCount--,delete e[Tu],e.remove=()=>{},!this._listenerCount&&ue.OS!=="ios"&&this._nativeModule.stopObserving&&this._nativeModule.stopObserving())}emit(e,...n){this._eventEmitter.emit(e,...n)}}const FT={},RT=Object.freeze(Object.defineProperty({__proto__:null,default:FT},Symbol.toStringTag,{value:"Module"})),NT=Gs(RT);class Ro extends Error{constructor(n,r){super(r);F(this,"code");F(this,"info");this.code=n}}var Tm;const lh=typeof window<"u"&&!!((Tm=window.document)!=null&&Tm.createElement),BT=lh&&!!(window.addEventListener||window.attachEvent),GT=lh&&!!window.screen,LT=!1,Di={OS:ue.OS,select:ue.select,isDOMAvailable:lh,canUseEventListeners:BT,canUseViewport:GT,isAsyncDebugging:LT};class lt extends Ro{constructor(e,n){super("ERR_UNAVAILABLE",`The method or property ${e}.${n} is not available on ${Di.OS}, are you sure you've linked all the native dependencies properly?`)}}var wA;(function(t){t.GRANTED="granted",t.UNDETERMINED="undetermined",t.DENIED="denied"})(wA||(wA={}));const Pe={get documentDirectory(){return null},get cacheDirectory(){return null},get bundleDirectory(){return null},addListener(t){},removeListeners(t){}};var SA;(function(t){t[t.BACKGROUND=0]="BACKGROUND",t[t.FOREGROUND=1]="FOREGROUND"})(SA||(SA={}));var Vp;(function(t){t[t.BINARY_CONTENT=0]="BINARY_CONTENT",t[t.MULTIPART=1]="MULTIPART"})(Vp||(Vp={}));var _s;(function(t){t.UTF8="utf8",t.Base64="base64"})(_s||(_s={}));Pe||console.warn("No native ExponentFileSystem module found, are you sure the expo-file-system's module is linked properly?");new uE(Pe);function ch(t){return t!=null?t.replace(/\/*$/,"")+"/":null}const dE=ch(Pe.documentDirectory);ch(Pe.cacheDirectory);ch(Pe.bundleDirectory);async function VT(t,e={}){if(!Pe.readAsStringAsync)throw new lt("expo-file-system","readAsStringAsync");return await Pe.readAsStringAsync(t,e)}async function AE(t,e,n={}){if(!Pe.writeAsStringAsync)throw new lt("expo-file-system","writeAsStringAsync");return await Pe.writeAsStringAsync(t,e,n)}async function HT(t,e={}){if(!Pe.deleteAsync)throw new lt("expo-file-system","deleteAsync");return await Pe.deleteAsync(t,e)}async function UT(t){if(!Pe.moveAsync)throw new lt("expo-file-system","moveAsync");return await Pe.moveAsync(t)}async function WT(t){if(!Pe.copyAsync)throw new lt("expo-file-system","copyAsync");return await Pe.copyAsync(t)}async function XT(t,e,n={}){if(!Pe.downloadAsync)throw new lt("expo-file-system","downloadAsync");return await Pe.downloadAsync(t,e,{sessionType:SA.BACKGROUND,...n})}const YT=VT,zT=AE,qT=HT,KT=UT,$T=WT;var fa;(function(t){function e(s){return`content://com.android.externalstorage.documents/tree/primary:${s}/document/primary:${s}`}t.getUriForDirectoryInRoot=e;async function n(s=null){if(!Pe.requestDirectoryPermissionsAsync)throw new lt("expo-file-system","StorageAccessFramework.requestDirectoryPermissionsAsync");return await Pe.requestDirectoryPermissionsAsync(s)}t.requestDirectoryPermissionsAsync=n;async function r(s){if(!Pe.readSAFDirectoryAsync)throw new lt("expo-file-system","StorageAccessFramework.readDirectoryAsync");return await Pe.readSAFDirectoryAsync(s)}t.readDirectoryAsync=r;async function i(s,o){if(!Pe.makeSAFDirectoryAsync)throw new lt("expo-file-system","StorageAccessFramework.makeDirectoryAsync");return await Pe.makeSAFDirectoryAsync(s,o)}t.makeDirectoryAsync=i;async function a(s,o,l){if(!Pe.createSAFFileAsync)throw new lt("expo-file-system","StorageAccessFramework.createFileAsync");return await Pe.createSAFFileAsync(s,o,l)}t.createFileAsync=a,t.writeAsStringAsync=zT,t.readAsStringAsync=YT,t.deleteAsync=qT,t.moveAsync=KT,t.copyAsync=$T})(fa||(fa={}));const Ou={async isAvailableAsync(){return typeof navigator>"u"?!1:!!navigator.share},async shareAsync(t,e={}){if(navigator.share)await navigator.share({...e,url:t});else throw new lt("navigator","share")}};async function jT(t,e={}){if(!Ou||!Ou.shareAsync)throw new lt("Sharing","shareAsync");return await Ou.shareAsync(t,e)}const QT={"application/pdf":"com.adobe.pdf","image/png":"public.png","image/jpeg":"public.jpeg","image/gif":"com.compuserve.gif","image/bmp":"com.microsoft.bmp","image/svg+xml":"public.svg-image"},ZT=async(t,e)=>{const{headers:n,uri:r}=await XT(t,dE+e);return{uri:r,mimeType:n["content-type"]}},JT={jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",gif:"image/gif",pdf:"application/pdf",txt:"text/plain",mp4:"video/mp4",mp3:"audio/mpeg",json:"application/json"},uh=async({base64:t,downloadUri:e,fileName:n,localUri:r})=>{try{if(e){const{mimeType:i,uri:a}=await ZT(e,n),s=await Hp(a);await ku(s,n,i)}else if(t)await ku(t.data,n,t.mimeType);else if(r){const i=await Hp(r);await ku(i,n)}else throw"Give either base64 or downloadUri as an argument to saveFile."}catch(i){throw Wc(i),i}},e2=async()=>{try{const t=await fa.requestDirectoryPermissionsAsync();if(t.granted)return t.directoryUri;throw"Not granted directory permission."}catch{throw"Requesting directory permission failed."}},t2=async(t,e,n="application/pdf")=>{try{return await fa.createFileAsync(t,e,n)}catch{throw"Creating empty file failed."}},Hp=async t=>{try{return await fa.readAsStringAsync(t,{encoding:_s.Base64})}catch{throw"Reading file as base64 string failed."}},n2=async(t,e)=>{try{await fa.writeAsStringAsync(t,e,{encoding:_s.Base64}),Wc(`saved to file ${t}`)}catch{throw"Writing base64 string to file failed."}},fE=async(t,e,n)=>{const r=`${dE}${e}`;try{await AE(r,t,{encoding:_s.Base64}),await jT(r,{mimeType:n,UTI:n?QT[n]:void 0}),Wc(`saved to file ${r}`)}catch{throw"Failed to share file with other applications."}},r2=async(t,e,n)=>{try{const r=await e2(),i=await t2(r,e,n);await n2(i,t)}catch(r){throw await fE(t,e,n),r}},ku=async(t,e,n)=>{const r=JT[e.split(".").pop()||""]||n;ue.OS==="android"?await r2(t,e,r):await fE(t,e,r)};var hE={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(K,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",s="second",o="minute",l="hour",c="day",u="week",A="month",d="quarter",f="year",p="date",h="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,E=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var P=["th","st","nd","rd"],R=M%100;return"["+M+(P[(R-20)%10]||P[R]||P[0])+"]"}},v=function(M,P,R){var W=String(M);return!W||W.length>=P?M:""+Array(P+1-W.length).join(R)+M},C={s:v,z:function(M){var P=-M.utcOffset(),R=Math.abs(P),W=Math.floor(R/60),N=R%60;return(P<=0?"+":"-")+v(W,2,"0")+":"+v(N,2,"0")},m:function M(P,R){if(P.date()<R.date())return-M(R,P);var W=12*(R.year()-P.year())+(R.month()-P.month()),N=P.clone().add(W,A),U=R-N<0,Y=P.clone().add(W+(U?-1:1),A);return+(-(W+(R-N)/(U?N-Y:Y-N))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:A,y:f,w:u,d:c,D:p,h:l,m:o,s,ms:a,Q:d}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},y="en",x={};x[y]=m;var w="$isDayjsObject",b=function(M){return M instanceof O||!(!M||!M[w])},D=function M(P,R,W){var N;if(!P)return y;if(typeof P=="string"){var U=P.toLowerCase();x[U]&&(N=U),R&&(x[U]=R,N=U);var Y=P.split("-");if(!N&&Y.length>1)return M(Y[0])}else{var G=P.name;x[G]=P,N=G}return!W&&N&&(y=N),N||!W&&y},I=function(M,P){if(b(M))return M.clone();var R=typeof P=="object"?P:{};return R.date=M,R.args=arguments,new O(R)},S=C;S.l=D,S.i=b,S.w=function(M,P){return I(M,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var O=function(){function M(R){this.$L=D(R.locale,null,!0),this.parse(R),this.$x=this.$x||R.x||{},this[w]=!0}var P=M.prototype;return P.parse=function(R){this.$d=function(W){var N=W.date,U=W.utc;if(N===null)return new Date(NaN);if(S.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var Y=N.match(g);if(Y){var G=Y[2]-1||0,H=(Y[7]||"0").substring(0,3);return U?new Date(Date.UTC(Y[1],G,Y[3]||1,Y[4]||0,Y[5]||0,Y[6]||0,H)):new Date(Y[1],G,Y[3]||1,Y[4]||0,Y[5]||0,Y[6]||0,H)}}return new Date(N)}(R),this.init()},P.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},P.$utils=function(){return S},P.isValid=function(){return this.$d.toString()!==h},P.isSame=function(R,W){var N=I(R);return this.startOf(W)<=N&&N<=this.endOf(W)},P.isAfter=function(R,W){return I(R)<this.startOf(W)},P.isBefore=function(R,W){return this.endOf(W)<I(R)},P.$g=function(R,W,N){return S.u(R)?this[W]:this.set(N,R)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(R,W){var N=this,U=!!S.u(W)||W,Y=S.p(R),G=function(ae,te){var re=S.w(N.$u?Date.UTC(N.$y,te,ae):new Date(N.$y,te,ae),N);return U?re:re.endOf(c)},H=function(ae,te){return S.w(N.toDate()[ae].apply(N.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(te)),N)},L=this.$W,B=this.$M,X=this.$D,z="set"+(this.$u?"UTC":"");switch(Y){case f:return U?G(1,0):G(31,11);case A:return U?G(1,B):G(0,B+1);case u:var q=this.$locale().weekStart||0,Q=(L<q?L+7:L)-q;return G(U?X-Q:X+(6-Q),B);case c:case p:return H(z+"Hours",0);case l:return H(z+"Minutes",1);case o:return H(z+"Seconds",2);case s:return H(z+"Milliseconds",3);default:return this.clone()}},P.endOf=function(R){return this.startOf(R,!1)},P.$set=function(R,W){var N,U=S.p(R),Y="set"+(this.$u?"UTC":""),G=(N={},N[c]=Y+"Date",N[p]=Y+"Date",N[A]=Y+"Month",N[f]=Y+"FullYear",N[l]=Y+"Hours",N[o]=Y+"Minutes",N[s]=Y+"Seconds",N[a]=Y+"Milliseconds",N)[U],H=U===c?this.$D+(W-this.$W):W;if(U===A||U===f){var L=this.clone().set(p,1);L.$d[G](H),L.init(),this.$d=L.set(p,Math.min(this.$D,L.daysInMonth())).$d}else G&&this.$d[G](H);return this.init(),this},P.set=function(R,W){return this.clone().$set(R,W)},P.get=function(R){return this[S.p(R)]()},P.add=function(R,W){var N,U=this;R=Number(R);var Y=S.p(W),G=function(B){var X=I(U);return S.w(X.date(X.date()+Math.round(B*R)),U)};if(Y===A)return this.set(A,this.$M+R);if(Y===f)return this.set(f,this.$y+R);if(Y===c)return G(1);if(Y===u)return G(7);var H=(N={},N[o]=r,N[l]=i,N[s]=n,N)[Y]||1,L=this.$d.getTime()+R*H;return S.w(L,this)},P.subtract=function(R,W){return this.add(-1*R,W)},P.format=function(R){var W=this,N=this.$locale();if(!this.isValid())return N.invalidDate||h;var U=R||"YYYY-MM-DDTHH:mm:ssZ",Y=S.z(this),G=this.$H,H=this.$m,L=this.$M,B=N.weekdays,X=N.months,z=N.meridiem,q=function(te,re,Z,ie){return te&&(te[re]||te(W,U))||Z[re].slice(0,ie)},Q=function(te){return S.s(G%12||12,te,"0")},ae=z||function(te,re,Z){var ie=te<12?"AM":"PM";return Z?ie.toLowerCase():ie};return U.replace(E,function(te,re){return re||function(Z){switch(Z){case"YY":return String(W.$y).slice(-2);case"YYYY":return S.s(W.$y,4,"0");case"M":return L+1;case"MM":return S.s(L+1,2,"0");case"MMM":return q(N.monthsShort,L,X,3);case"MMMM":return q(X,L);case"D":return W.$D;case"DD":return S.s(W.$D,2,"0");case"d":return String(W.$W);case"dd":return q(N.weekdaysMin,W.$W,B,2);case"ddd":return q(N.weekdaysShort,W.$W,B,3);case"dddd":return B[W.$W];case"H":return String(G);case"HH":return S.s(G,2,"0");case"h":return Q(1);case"hh":return Q(2);case"a":return ae(G,H,!0);case"A":return ae(G,H,!1);case"m":return String(H);case"mm":return S.s(H,2,"0");case"s":return String(W.$s);case"ss":return S.s(W.$s,2,"0");case"SSS":return S.s(W.$ms,3,"0");case"Z":return Y}return null}(te)||Y.replace(":","")})},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(R,W,N){var U,Y=this,G=S.p(W),H=I(R),L=(H.utcOffset()-this.utcOffset())*r,B=this-H,X=function(){return S.m(Y,H)};switch(G){case f:U=X()/12;break;case A:U=X();break;case d:U=X()/3;break;case u:U=(B-L)/6048e5;break;case c:U=(B-L)/864e5;break;case l:U=B/i;break;case o:U=B/r;break;case s:U=B/n;break;default:U=B}return N?U:S.a(U)},P.daysInMonth=function(){return this.endOf(A).$D},P.$locale=function(){return x[this.$L]},P.locale=function(R,W){if(!R)return this.$L;var N=this.clone(),U=D(R,W,!0);return U&&(N.$L=U),N},P.clone=function(){return S.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},M}(),T=O.prototype;return I.prototype=T,[["$ms",a],["$s",s],["$m",o],["$H",l],["$W",c],["$M",A],["$y",f],["$D",p]].forEach(function(M){T[M[1]]=function(P){return this.$g(P,M[0],M[1])}}),I.extend=function(M,P){return M.$i||(M(P,O,I),M.$i=!0),I},I.locale=D,I.isDayjs=b,I.unix=function(M){return I(1e3*M)},I.en=x[y],I.Ls=x,I.p={},I})})(hE);var pE=hE.exports;const Gr=Ur(pE);var gE={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(K,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(i,a,s){var o,l=function(d,f,p){p===void 0&&(p={});var h=new Date(d),g=function(E,m){m===void 0&&(m={});var v=m.timeZoneName||"short",C=E+"|"+v,y=r[C];return y||(y=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:E,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:v}),r[C]=y),y}(f,p);return g.formatToParts(h)},c=function(d,f){for(var p=l(d,f),h=[],g=0;g<p.length;g+=1){var E=p[g],m=E.type,v=E.value,C=n[m];C>=0&&(h[C]=parseInt(v,10))}var y=h[3],x=y===24?0:y,w=h[0]+"-"+h[1]+"-"+h[2]+" "+x+":"+h[4]+":"+h[5]+":000",b=+d;return(s.utc(w).valueOf()-(b-=b%1e3))/6e4},u=a.prototype;u.tz=function(d,f){d===void 0&&(d=o);var p,h=this.utcOffset(),g=this.toDate(),E=g.toLocaleString("en-US",{timeZone:d}),m=Math.round((g-new Date(E))/1e3/60),v=15*-Math.round(g.getTimezoneOffset()/15)-m;if(!Number(v))p=this.utcOffset(0,f);else if(p=s(E,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(v,!0),f){var C=p.utcOffset();p=p.add(h-C,"minute")}return p.$x.$timezone=d,p},u.offsetName=function(d){var f=this.$x.$timezone||s.tz.guess(),p=l(this.valueOf(),f,{timeZoneName:d}).find(function(h){return h.type.toLowerCase()==="timezonename"});return p&&p.value};var A=u.startOf;u.startOf=function(d,f){if(!this.$x||!this.$x.$timezone)return A.call(this,d,f);var p=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return A.call(p,d,f).tz(this.$x.$timezone,!0)},s.tz=function(d,f,p){var h=p&&f,g=p||f||o,E=c(+s(),g);if(typeof d!="string")return s(d).tz(g);var m=function(x,w,b){var D=x-60*w*1e3,I=c(D,b);if(w===I)return[D,w];var S=c(D-=60*(I-w)*1e3,b);return I===S?[D,I]:[x-60*Math.min(I,S)*1e3,Math.max(I,S)]}(s.utc(d,h).valueOf(),E,g),v=m[0],C=m[1],y=s(v).utcOffset(C);return y.$x.$timezone=g,y},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(d){o=d}}})})(gE);var i2=gE.exports;const a2=Ur(i2);var vE={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(K,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,s,o){var l=s.prototype;o.utc=function(h){var g={date:h,utc:!0,args:arguments};return new s(g)},l.utc=function(h){var g=o(this.toDate(),{locale:this.$L,utc:!0});return h?g.add(this.utcOffset(),n):g},l.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),c.call(this,h)};var u=l.init;l.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else u.call(this)};var A=l.utcOffset;l.utcOffset=function(h,g){var E=this.$utils().u;if(E(h))return this.$u?0:E(this.$offset)?A.call(this):this.$offset;if(typeof h=="string"&&(h=function(y){y===void 0&&(y="");var x=y.match(r);if(!x)return null;var w=(""+x[0]).match(i)||["-",0,0],b=w[0],D=60*+w[1]+ +w[2];return D===0?0:b==="+"?D:-D}(h),h===null))return this;var m=Math.abs(h)<=16?60*h:h,v=this;if(g)return v.$offset=m,v.$u=h===0,v;if(h!==0){var C=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(v=this.local().add(m+C,n)).$offset=m,v.$x.$localOffset=C}else v=this.utc();return v};var d=l.format;l.format=function(h){var g=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,g)},l.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var f=l.toDate;l.toDate=function(h){return h==="s"&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var p=l.diff;l.diff=function(h,g,E){if(h&&this.$u===h.$u)return p.call(this,h,g,E);var m=this.local(),v=o(h).local();return p.call(m,v,g,E)}}})})(vE);var s2=vE.exports;const o2=Ur(s2);var l2={exports:{}};(function(t,e){(function(n,r){t.exports=r(pE)})(K,function(n){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=r(n),a={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(s){return"["+s+(s===1||s===8||s>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return i.default.locale(a,null,!0),a})})(l2);const c2="Europe/Amsterdam";Gr.extend(o2);Gr.extend(a2);Gr.locale("nl");Gr.tz.setDefault(c2);const nu=t=>{const e=Gr(t).format();return Gr(e)},dh=t=>{const e=Gr.unix(t);return Gr(e)},u2=t=>t==null||t===""?"":nu(t).format("D MMMM YYYY HH:mm:ss"),mE=async()=>{try{const{transcript:t,entryId:e}=await II(),n=`Chatgeschiedenis ${u2(nu()).replaceAll(":"," ")}.pdf`;return await uh({base64:{data:t,mimeType:"application/pdf"},fileName:n}),e}catch(t){kf(t,JSON.stringify(t)),Jn.alert("Chat downloaden mislukt.")}};var CE=(t=>(t.getRedirectUrls="getRedirectUrls",t))(CE||{}),No=(t=>(t.acknowledgeChild="acknowledgeChild",t.birth="birth",t.chatPrivacy="chatPrivacy",t.cityPassChildBudget="cityPassChildBudget",t.cityPassRequest="cityPassRequest",t.cityPassUsage="cityPassUsage",t.citypass="citypass",t.contactForm="contactForm",t.documents="documents",t.feedbackForm="feedbackForm",t.immigration="immigration",t.income_help="income_help",t.lifelessBirth="lifelessBirth",t.makeAppointMentWeesp="makeAppointMentWeesp",t.marriage="marriage",t.marriagePermission="marriagePermission",t.naturalisation="naturalisation",t.parking="parking",t.parking_visitors="parking_visitors",t.passing="passing",t.passingForFuneralDirectors="passingForFuneralDirectors",t.relocation="relocation",t))(No||{}),ha=function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){n.label=c[1];break}if(c[0]===6&&n.label<a[1]){n.label=a[1],a=c;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(c);break}a[2]&&n.ops.pop(),n.trys.pop();continue}c=e.call(t,n)}catch(u){c=[6,u],i=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},cl=function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},d2=Object.defineProperty,A2=Object.defineProperties,f2=Object.getOwnPropertyDescriptors,ul=Object.getOwnPropertySymbols,EE=Object.prototype.hasOwnProperty,xE=Object.prototype.propertyIsEnumerable,Up=function(t,e,n){return e in t?d2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},Ne=function(t,e){for(var n in e||(e={}))EE.call(e,n)&&Up(t,n,e[n]);if(ul)for(var r=0,i=ul(e);r<i.length;r++){var n=i[r];xE.call(e,n)&&Up(t,n,e[n])}return t},bn=function(t,e){return A2(t,f2(e))},Wp=function(t,e){var n={};for(var r in t)EE.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&ul)for(var i=0,a=ul(t);i<a.length;i++){var r=a[i];e.indexOf(r)<0&&xE.call(t,r)&&(n[r]=t[r])}return n},pa=function(t,e,n){return new Promise(function(r,i){var a=function(l){try{o(n.next(l))}catch(c){i(c)}},s=function(l){try{o(n.throw(l))}catch(c){i(c)}},o=function(l){return l.done?r(l.value):Promise.resolve(l.value).then(a,s)};o((n=n.apply(t,e)).next())})},Re;(function(t){t.uninitialized="uninitialized",t.pending="pending",t.fulfilled="fulfilled",t.rejected="rejected"})(Re||(Re={}));function h2(t){return{status:t,isUninitialized:t===Re.uninitialized,isLoading:t===Re.pending,isSuccess:t===Re.fulfilled,isError:t===Re.rejected}}function p2(t){return new RegExp("(^|:)//").test(t)}var g2=function(t){return t.replace(/\/$/,"")},v2=function(t){return t.replace(/^\//,"")};function m2(t,e){if(!t)return e;if(!e)return t;if(p2(e))return e;var n=t.endsWith("/")||!e.startsWith("?")?"/":"";return t=g2(t),e=v2(e),""+t+n+e}var Xp=function(t){return[].concat.apply([],t)};function C2(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function E2(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var Yp=Si;function yE(t,e){if(t===e||!(Yp(t)&&Yp(e)||Array.isArray(t)&&Array.isArray(e)))return e;for(var n=Object.keys(e),r=Object.keys(t),i=n.length===r.length,a=Array.isArray(e)?[]:{},s=0,o=n;s<o.length;s++){var l=o[s];a[l]=yE(t[l],e[l]),i&&(i=t[l]===a[l])}return i?t:a}var zp=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return fetch.apply(void 0,t)},x2=function(t){return t.status>=200&&t.status<=299},y2=function(t){return/ion\/(vnd\.api\+)?json/.test(t.get("content-type")||"")};function qp(t){if(!Si(t))return t;for(var e=Ne({},t),n=0,r=Object.entries(e);n<r.length;n++){var i=r[n],a=i[0],s=i[1];s===void 0&&delete e[a]}return e}function I2(t){var e=this;t===void 0&&(t={});var n=t,r=n.baseUrl,i=n.prepareHeaders,a=i===void 0?function(v){return v}:i,s=n.fetchFn,o=s===void 0?zp:s,l=n.paramsSerializer,c=n.isJsonContentType,u=c===void 0?y2:c,A=n.jsonContentType,d=A===void 0?"application/json":A,f=n.jsonReplacer,p=n.timeout,h=n.responseHandler,g=n.validateStatus,E=Wp(n,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch>"u"&&o===zp&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(v,C){return pa(e,null,function(){var y,x,w,b,D,I,S,O,T,M,P,R,W,N,U,Y,G,H,L,B,X,z,q,Q,ae,te,re,Z,ie,we,Se,be,ye,ne,Be,ut;return ha(this,function(me){switch(me.label){case 0:return y=C.signal,x=C.getState,w=C.extra,b=C.endpoint,D=C.forced,I=C.type,O=typeof v=="string"?{url:v}:v,T=O.url,M=O.headers,P=M===void 0?new Headers(E.headers):M,R=O.params,W=R===void 0?void 0:R,N=O.responseHandler,U=N===void 0?h??"json":N,Y=O.validateStatus,G=Y===void 0?g??x2:Y,H=O.timeout,L=H===void 0?p:H,B=Wp(O,["url","headers","params","responseHandler","validateStatus","timeout"]),X=Ne(bn(Ne({},E),{signal:y}),B),P=new Headers(qp(P)),z=X,[4,a(P,{getState:x,extra:w,endpoint:b,forced:D,type:I})];case 1:z.headers=me.sent()||P,q=function(de){return typeof de=="object"&&(Si(de)||Array.isArray(de)||typeof de.toJSON=="function")},!X.headers.has("content-type")&&q(X.body)&&X.headers.set("content-type",d),q(X.body)&&u(X.headers)&&(X.body=JSON.stringify(X.body,f)),W&&(Q=~T.indexOf("?")?"&":"?",ae=l?l(W):new URLSearchParams(qp(W)),T+=Q+ae),T=m2(r,T),te=new Request(T,X),re=new Request(T,X),S={request:re},ie=!1,we=L&&setTimeout(function(){ie=!0,C.abort()},L),me.label=2;case 2:return me.trys.push([2,4,5,6]),[4,o(te)];case 3:return Z=me.sent(),[3,6];case 4:return Se=me.sent(),[2,{error:{status:ie?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(Se)},meta:S}];case 5:return we&&clearTimeout(we),[7];case 6:be=Z.clone(),S.response=be,ne="",me.label=7;case 7:return me.trys.push([7,9,,10]),[4,Promise.all([m(Z,U).then(function(de){return ye=de},function(de){return Be=de}),be.text().then(function(de){return ne=de},function(){})])];case 8:if(me.sent(),Be)throw Be;return[3,10];case 9:return ut=me.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:Z.status,data:ne,error:String(ut)},meta:S}];case 10:return[2,G(Z,ye)?{data:ye,meta:S}:{error:{status:Z.status,data:ye},meta:S}]}})})};function m(v,C){return pa(this,null,function(){var y;return ha(this,function(x){switch(x.label){case 0:return typeof C=="function"?[2,C(v)]:(C==="content-type"&&(C=u(v.headers)?"json":"text"),C!=="json"?[3,2]:[4,v.text()]);case 1:return y=x.sent(),[2,y.length?JSON.parse(y):null];case 2:return[2,v.text()]}})})}}var sa=function(){function t(e,n){n===void 0&&(n=void 0),this.value=e,this.meta=n}return t}();function w2(t,e){return t===void 0&&(t=0),e===void 0&&(e=5),pa(this,null,function(){var n,r;return ha(this,function(i){switch(i.label){case 0:return n=Math.min(t,e),r=~~((Math.random()+.4)*(300<<n)),[4,new Promise(function(a){return setTimeout(function(s){return a(s)},r)})];case 1:return i.sent(),[2]}})})}function S2(t){throw Object.assign(new sa({error:t}),{throwImmediately:!0})}var Kp={},b2=function(t,e){return function(n,r,i){return pa(void 0,null,function(){var a,s,o,l,c,u,A;return ha(this,function(d){switch(d.label){case 0:a=[5,(e||Kp).maxRetries,(i||Kp).maxRetries].filter(function(f){return f!==void 0}),s=a.slice(-1)[0],o=function(f,p,h){var g=h.attempt;return g<=s},l=Ne(Ne({maxRetries:s,backoff:w2,retryCondition:o},e),i),c=0,d.label=1;case 1:d.label=2;case 2:return d.trys.push([2,4,,6]),[4,t(n,r,i)];case 3:if(u=d.sent(),u.error)throw new sa(u);return[2,u];case 4:if(A=d.sent(),c++,A.throwImmediately){if(A instanceof sa)return[2,A.value];throw A}return A instanceof sa&&!l.retryCondition(A.value.error,n,{attempt:c,baseQueryApi:r,extraOptions:i})?[2,A.value]:[4,l.backoff(c,l.maxRetries)];case 5:return d.sent(),[3,6];case 6:return[3,1];case 7:return[2]}})})}},Mu=Object.assign(b2,{fail:S2}),Ah=Ea("__rtkq/focused"),IE=Ea("__rtkq/unfocused"),fh=Ea("__rtkq/online"),wE=Ea("__rtkq/offline"),Rn;(function(t){t.query="query",t.mutation="mutation"})(Rn||(Rn={}));function SE(t){return t.type===Rn.query}function _2(t){return t.type===Rn.mutation}function hh(t,e,n,r,i,a){return D2(t)?t(e,n,r,i).map(bA).map(a):Array.isArray(t)?t.map(bA).map(a):[]}function D2(t){return typeof t=="function"}function bA(t){return typeof t=="string"?{type:t}:t}function Pu(t){return t!=null}var Ds=Symbol("forceQueryFn"),_A=function(t){return typeof t[Ds]=="function"};function T2(t){var e=t.serializeQueryArgs,n=t.queryThunk,r=t.mutationThunk,i=t.api,a=t.context,s=new Map,o=new Map,l=i.internalActions,c=l.unsubscribeQueryResult,u=l.removeMutationResult,A=l.updateSubscriptionOptions;return{buildInitiateQuery:m,buildInitiateMutation:v,getRunningQueryThunk:p,getRunningMutationThunk:h,getRunningQueriesThunk:g,getRunningMutationsThunk:E,getRunningOperationPromises:f,removalWarning:d};function d(){throw new Error(`This method had to be removed due to a conceptual bug in RTK. Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details. - See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.`)}function f(){typeof process<"u";var C=function(y){return Array.from(y.values()).flatMap(function(x){return x?Object.values(x):[]})};return cl(cl([],C(s)),C(o)).filter(Pu)}function p(C,y){return function(x){var w,b=a.endpointDefinitions[C],D=e({queryArgs:y,endpointDefinition:b,endpointName:C});return(w=s.get(x))==null?void 0:w[D]}}function h(C,y){return function(x){var w;return(w=o.get(x))==null?void 0:w[y]}}function g(){return function(C){return Object.values(s.get(C)||{}).filter(Pu)}}function E(){return function(C){return Object.values(o.get(C)||{}).filter(Pu)}}function m(C,y){var x=function(w,b){var D=b===void 0?{}:b,I=D.subscribe,S=I===void 0?!0:I,O=D.forceRefetch,T=D.subscriptionOptions,M=Ds,P=D[M];return function(R,W){var N,U,Y=e({queryArgs:w,endpointDefinition:y,endpointName:C}),G=n((N={type:"query",subscribe:S,forceRefetch:O,subscriptionOptions:T,endpointName:C,originalArgs:w,queryCacheKey:Y},N[Ds]=P,N)),H=i.endpoints[C].select(w),L=R(G),B=H(W()),X=L.requestId,z=L.abort,q=B.requestId!==X,Q=(U=s.get(R))==null?void 0:U[Y],ae=function(){return H(W())},te=Object.assign(P?L.then(ae):q&&!Q?Promise.resolve(B):Promise.all([Q,L]).then(ae),{arg:w,requestId:X,subscriptionOptions:T,queryCacheKey:Y,abort:z,unwrap:function(){return pa(this,null,function(){var Z;return ha(this,function(ie){switch(ie.label){case 0:return[4,te];case 1:if(Z=ie.sent(),Z.isError)throw Z.error;return[2,Z.data]}})})},refetch:function(){return R(x(w,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){S&&R(c({queryCacheKey:Y,requestId:X}))},updateSubscriptionOptions:function(Z){te.subscriptionOptions=Z,R(A({endpointName:C,requestId:X,queryCacheKey:Y,options:Z}))}});if(!Q&&!q&&!P){var re=s.get(R)||{};re[Y]=te,s.set(R,re),te.then(function(){delete re[Y],Object.keys(re).length||s.delete(R)})}return te}};return x}function v(C){return function(y,x){var w=x===void 0?{}:x,b=w.track,D=b===void 0?!0:b,I=w.fixedCacheKey;return function(S,O){var T=r({type:"mutation",endpointName:C,originalArgs:y,track:D,fixedCacheKey:I}),M=S(T),P=M.requestId,R=M.abort,W=M.unwrap,N=M.unwrap().then(function(H){return{data:H}}).catch(function(H){return{error:H}}),U=function(){S(u({requestId:P,fixedCacheKey:I}))},Y=Object.assign(N,{arg:M.arg,requestId:P,abort:R,unwrap:W,unsubscribe:U,reset:U}),G=o.get(S)||{};return o.set(S,G),G[P]=Y,Y.then(function(){delete G[P],Object.keys(G).length||o.delete(S)}),I&&(G[I]=Y,Y.then(function(){G[I]===Y&&(delete G[I],Object.keys(G).length||o.delete(S))})),Y}}}}function $p(t){return t}function O2(t){var e=this,n=t.reducerPath,r=t.baseQuery,i=t.context.endpointDefinitions,a=t.serializeQueryArgs,s=t.api,o=t.assertTagType,l=function(C,y,x,w){return function(b,D){var I=i[C],S=a({queryArgs:y,endpointDefinition:I,endpointName:C});if(b(s.internalActions.queryResultPatched({queryCacheKey:S,patches:x})),!!w){var O=s.endpoints[C].select(y)(D()),T=hh(I.providesTags,O.data,void 0,y,{},o);b(s.internalActions.updateProvidedBy({queryCacheKey:S,providedTags:T}))}}},c=function(C,y,x,w){return w===void 0&&(w=!0),function(b,D){var I,S,O=s.endpoints[C],T=O.select(y)(D()),M={patches:[],inversePatches:[],undo:function(){return b(s.util.patchQueryData(C,y,M.inversePatches,w))}};if(T.status===Re.uninitialized)return M;var P;if("data"in T)if(Zy(T.data)){var R=Fm(T.data,x),W=R[0],N=R[1],U=R[2];(I=M.patches).push.apply(I,N),(S=M.inversePatches).push.apply(S,U),P=W}else P=x(T.data),M.patches.push({op:"replace",path:[],value:P}),M.inversePatches.push({op:"replace",path:[],value:T.data});return b(s.util.patchQueryData(C,y,M.patches,w)),M}},u=function(C,y,x){return function(w){var b;return w(s.endpoints[C].initiate(y,(b={subscribe:!1,forceRefetch:!0},b[Ds]=function(){return{data:x}},b)))}},A=function(C,y){return pa(e,[C,y],function(x,w){var b,D,I,S,O,T,M,P,R,W,N,U,Y,G,H,L,B,X,z=w.signal,q=w.abort,Q=w.rejectWithValue,ae=w.fulfillWithValue,te=w.dispatch,re=w.getState,Z=w.extra;return ha(this,function(ie){switch(ie.label){case 0:b=i[x.endpointName],ie.label=1;case 1:return ie.trys.push([1,8,,13]),D=$p,I=void 0,S={signal:z,abort:q,dispatch:te,getState:re,extra:Z,endpoint:x.endpointName,type:x.type,forced:x.type==="query"?d(x,re()):void 0},O=x.type==="query"?x[Ds]:void 0,O?(I=O(),[3,6]):[3,2];case 2:return b.query?[4,r(b.query(x.originalArgs),S,b.extraOptions)]:[3,4];case 3:return I=ie.sent(),b.transformResponse&&(D=b.transformResponse),[3,6];case 4:return[4,b.queryFn(x.originalArgs,S,b.extraOptions,function(we){return r(we,S,b.extraOptions)})];case 5:I=ie.sent(),ie.label=6;case 6:if(typeof process<"u",I.error)throw new sa(I.error,I.meta);return N=ae,[4,D(I.data,I.meta,x.originalArgs)];case 7:return[2,N.apply(void 0,[ie.sent(),(B={fulfilledTimeStamp:Date.now(),baseQueryMeta:I.meta},B[js]=!0,B)])];case 8:if(U=ie.sent(),Y=U,!(Y instanceof sa))return[3,12];G=$p,b.query&&b.transformErrorResponse&&(G=b.transformErrorResponse),ie.label=9;case 9:return ie.trys.push([9,11,,12]),H=Q,[4,G(Y.value,Y.meta,x.originalArgs)];case 10:return[2,H.apply(void 0,[ie.sent(),(X={baseQueryMeta:Y.meta},X[js]=!0,X)])];case 11:return L=ie.sent(),Y=L,[3,12];case 12:throw typeof process<"u",console.error(Y),Y;case 13:return[2]}})})};function d(C,y){var x,w,b,D,I=(w=(x=y[n])==null?void 0:x.queries)==null?void 0:w[C.queryCacheKey],S=(b=y[n])==null?void 0:b.config.refetchOnMountOrArgChange,O=I==null?void 0:I.fulfilledTimeStamp,T=(D=C.forceRefetch)!=null?D:C.subscribe&&S;return T?T===!0||(Number(new Date)-Number(O))/1e3>=T:!1}var f=Xh(n+"/executeQuery",A,{getPendingMeta:function(){var C;return C={startedTimeStamp:Date.now()},C[js]=!0,C},condition:function(C,y){var x=y.getState,w,b,D,I=x(),S=(b=(w=I[n])==null?void 0:w.queries)==null?void 0:b[C.queryCacheKey],O=S==null?void 0:S.fulfilledTimeStamp,T=C.originalArgs,M=S==null?void 0:S.originalArgs,P=i[C.endpointName];return _A(C)?!0:(S==null?void 0:S.status)==="pending"?!1:d(C,I)||SE(P)&&((D=P==null?void 0:P.forceRefetch)!=null&&D.call(P,{currentArg:T,previousArg:M,endpointState:S,state:I}))?!0:!O},dispatchConditionRejection:!0}),p=Xh(n+"/executeMutation",A,{getPendingMeta:function(){var C;return C={startedTimeStamp:Date.now()},C[js]=!0,C}}),h=function(C){return"force"in C},g=function(C){return"ifOlderThan"in C},E=function(C,y,x){return function(w,b){var D=h(x)&&x.force,I=g(x)&&x.ifOlderThan,S=function(P){return P===void 0&&(P=!0),s.endpoints[C].initiate(y,{forceRefetch:P})},O=s.endpoints[C].select(y)(b());if(D)w(S());else if(I){var T=O==null?void 0:O.fulfilledTimeStamp;if(!T){w(S());return}var M=(Number(new Date)-Number(new Date(T)))/1e3>=I;M&&w(S())}else w(S(!1))}};function m(C){return function(y){var x,w;return((w=(x=y==null?void 0:y.meta)==null?void 0:x.arg)==null?void 0:w.endpointName)===C}}function v(C,y){return{matchPending:du(Rm(C),m(y)),matchFulfilled:du(xa(C),m(y)),matchRejected:du(Nm(C),m(y))}}return{queryThunk:f,mutationThunk:p,prefetch:E,updateQueryData:c,upsertQueryData:u,patchQueryData:l,buildMatchThunkActions:v}}function bE(t,e,n,r){return hh(n[t.meta.arg.endpointName][e],xa(t)?t.payload:void 0,Sf(t)?t.payload:void 0,t.meta.arg.originalArgs,"baseQueryMeta"in t.meta?t.meta.baseQueryMeta:void 0,r)}function lo(t,e,n){var r=t[e];r&&n(r)}function Ts(t){var e;return(e="arg"in t?t.arg.fixedCacheKey:t.fixedCacheKey)!=null?e:t.requestId}function jp(t,e,n){var r=t[Ts(e)];r&&n(r)}var Fa={};function k2(t){var e=t.reducerPath,n=t.queryThunk,r=t.mutationThunk,i=t.context,a=i.endpointDefinitions,s=i.apiUid,o=i.extractRehydrationInfo,l=i.hasRehydrationInfo,c=t.assertTagType,u=t.config,A=Ea(e+"/resetApiState"),d=He({name:e+"/queries",initialState:Fa,reducers:{removeQueryResult:{reducer:function(y,x){var w=x.payload.queryCacheKey;delete y[w]},prepare:Ta()},queryResultPatched:{reducer:function(y,x){var w=x.payload,b=w.queryCacheKey,D=w.patches;lo(y,b,function(I){I.data=Yh(I.data,D.concat())})},prepare:Ta()}},extraReducers:function(y){y.addCase(n.pending,function(x,w){var b=w.meta,D=w.meta.arg,I,S,O=_A(D);(D.subscribe||O)&&((S=x[I=D.queryCacheKey])!=null||(x[I]={status:Re.uninitialized,endpointName:D.endpointName})),lo(x,D.queryCacheKey,function(T){T.status=Re.pending,T.requestId=O&&T.requestId?T.requestId:b.requestId,D.originalArgs!==void 0&&(T.originalArgs=D.originalArgs),T.startedTimeStamp=b.startedTimeStamp})}).addCase(n.fulfilled,function(x,w){var b=w.meta,D=w.payload;lo(x,b.arg.queryCacheKey,function(I){var S;if(!(I.requestId!==b.requestId&&!_A(b.arg))){var O=a[b.arg.endpointName].merge;if(I.status=Re.fulfilled,O)if(I.data!==void 0){var T=b.fulfilledTimeStamp,M=b.arg,P=b.baseQueryMeta,R=b.requestId,W=bf(I.data,function(N){return O(N,D,{arg:M.originalArgs,baseQueryMeta:P,fulfilledTimeStamp:T,requestId:R})});I.data=W}else I.data=D;else I.data=(S=a[b.arg.endpointName].structuralSharing)==null||S?yE(Jy(I.data)?e1(I.data):I.data,D):D;delete I.error,I.fulfilledTimeStamp=b.fulfilledTimeStamp}})}).addCase(n.rejected,function(x,w){var b=w.meta,D=b.condition,I=b.arg,S=b.requestId,O=w.error,T=w.payload;lo(x,I.queryCacheKey,function(M){if(!D){if(M.requestId!==S)return;M.status=Re.rejected,M.error=T??O}})}).addMatcher(l,function(x,w){for(var b=o(w).queries,D=0,I=Object.entries(b);D<I.length;D++){var S=I[D],O=S[0],T=S[1];((T==null?void 0:T.status)===Re.fulfilled||(T==null?void 0:T.status)===Re.rejected)&&(x[O]=T)}})}}),f=He({name:e+"/mutations",initialState:Fa,reducers:{removeMutationResult:{reducer:function(y,x){var w=x.payload,b=Ts(w);b in y&&delete y[b]},prepare:Ta()}},extraReducers:function(y){y.addCase(r.pending,function(x,w){var b=w.meta,D=w.meta,I=D.requestId,S=D.arg,O=D.startedTimeStamp;S.track&&(x[Ts(b)]={requestId:I,status:Re.pending,endpointName:S.endpointName,startedTimeStamp:O})}).addCase(r.fulfilled,function(x,w){var b=w.payload,D=w.meta;D.arg.track&&jp(x,D,function(I){I.requestId===D.requestId&&(I.status=Re.fulfilled,I.data=b,I.fulfilledTimeStamp=D.fulfilledTimeStamp)})}).addCase(r.rejected,function(x,w){var b=w.payload,D=w.error,I=w.meta;I.arg.track&&jp(x,I,function(S){S.requestId===I.requestId&&(S.status=Re.rejected,S.error=b??D)})}).addMatcher(l,function(x,w){for(var b=o(w).mutations,D=0,I=Object.entries(b);D<I.length;D++){var S=I[D],O=S[0],T=S[1];((T==null?void 0:T.status)===Re.fulfilled||(T==null?void 0:T.status)===Re.rejected)&&O!==(T==null?void 0:T.requestId)&&(x[O]=T)}})}}),p=He({name:e+"/invalidation",initialState:Fa,reducers:{updateProvidedBy:{reducer:function(y,x){for(var w,b,D,I,S=x.payload,O=S.queryCacheKey,T=S.providedTags,M=0,P=Object.values(y);M<P.length;M++)for(var R=P[M],W=0,N=Object.values(R);W<N.length;W++){var U=N[W],Y=U.indexOf(O);Y!==-1&&U.splice(Y,1)}for(var G=0,H=T;G<H.length;G++){var L=H[G],B=L.type,X=L.id,z=(I=(b=(w=y[B])!=null?w:y[B]={})[D=X||"__internal_without_id"])!=null?I:b[D]=[],q=z.includes(O);q||z.push(O)}},prepare:Ta()}},extraReducers:function(y){y.addCase(d.actions.removeQueryResult,function(x,w){for(var b=w.payload.queryCacheKey,D=0,I=Object.values(x);D<I.length;D++)for(var S=I[D],O=0,T=Object.values(S);O<T.length;O++){var M=T[O],P=M.indexOf(b);P!==-1&&M.splice(P,1)}}).addMatcher(l,function(x,w){for(var b,D,I,S,O=o(w).provided,T=0,M=Object.entries(O);T<M.length;T++)for(var P=M[T],R=P[0],W=P[1],N=0,U=Object.entries(W);N<U.length;N++)for(var Y=U[N],G=Y[0],H=Y[1],L=(S=(D=(b=x[R])!=null?b:x[R]={})[I=G||"__internal_without_id"])!=null?S:D[I]=[],B=0,X=H;B<X.length;B++){var z=X[B],q=L.includes(z);q||L.push(z)}}).addMatcher(Pm(xa(n),Sf(n)),function(x,w){var b=bE(w,"providesTags",a,c),D=w.meta.arg.queryCacheKey;p.caseReducers.updateProvidedBy(x,p.actions.updateProvidedBy({queryCacheKey:D,providedTags:b}))})}}),h=He({name:e+"/subscriptions",initialState:Fa,reducers:{updateSubscriptionOptions:function(y,x){},unsubscribeQueryResult:function(y,x){},internal_probeSubscription:function(y,x){}}}),g=He({name:e+"/internalSubscriptions",initialState:Fa,reducers:{subscriptionsUpdated:{reducer:function(y,x){return Yh(y,x.payload)},prepare:Ta()}}}),E=He({name:e+"/config",initialState:Ne({online:C2(),focused:E2(),middlewareRegistered:!1},u),reducers:{middlewareRegistered:function(y,x){var w=x.payload;y.middlewareRegistered=y.middlewareRegistered==="conflict"||s!==w?"conflict":!0}},extraReducers:function(y){y.addCase(fh,function(x){x.online=!0}).addCase(wE,function(x){x.online=!1}).addCase(Ah,function(x){x.focused=!0}).addCase(IE,function(x){x.focused=!1}).addMatcher(l,function(x){return Ne({},x)})}}),m=Qy({queries:d.reducer,mutations:f.reducer,provided:p.reducer,subscriptions:g.reducer,config:E.reducer}),v=function(y,x){return m(A.match(x)?void 0:y,x)},C=bn(Ne(Ne(Ne(Ne(Ne(Ne({},E.actions),d.actions),h.actions),g.actions),f.actions),p.actions),{unsubscribeMutationResult:f.actions.removeMutationResult,resetApiState:A});return{reducer:v,actions:C}}var ii=Symbol.for("RTKQ/skipToken"),_E={status:Re.uninitialized},Qp=bf(_E,function(){}),Zp=bf(_E,function(){});function M2(t){var e=t.serializeQueryArgs,n=t.reducerPath,r=function(u){return Qp},i=function(u){return Zp};return{buildQuerySelector:o,buildMutationSelector:l,selectInvalidatedBy:c};function a(u){return Ne(Ne({},u),h2(u.status))}function s(u){var A=u[n];return A}function o(u,A){return function(d){var f=e({queryArgs:d,endpointDefinition:A,endpointName:u}),p=function(g){var E,m,v;return(v=(m=(E=s(g))==null?void 0:E.queries)==null?void 0:m[f])!=null?v:Qp},h=d===ii?r:p;return xi(h,a)}}function l(){return function(u){var A,d;typeof u=="object"?d=(A=Ts(u))!=null?A:ii:d=u;var f=function(h){var g,E,m;return(m=(E=(g=s(h))==null?void 0:g.mutations)==null?void 0:E[d])!=null?m:Zp},p=d===ii?i:f;return xi(p,a)}}function c(u,A){for(var d,f=u[n],p=new Set,h=0,g=A.map(bA);h<g.length;h++){var E=g[h],m=f.provided[E.type];if(m)for(var v=(d=E.id!==void 0?m[E.id]:Xp(Object.values(m)))!=null?d:[],C=0,y=v;C<y.length;C++){var x=y[C];p.add(x)}}return Xp(Array.from(p.values()).map(function(w){var b=f.queries[w];return b?[{queryCacheKey:w,endpointName:b.endpointName,originalArgs:b.originalArgs}]:[]}))}}var co=WeakMap?new WeakMap:void 0,Jp=function(t){var e=t.endpointName,n=t.queryArgs,r="",i=co==null?void 0:co.get(n);if(typeof i=="string")r=i;else{var a=JSON.stringify(n,function(s,o){return Si(o)?Object.keys(o).sort().reduce(function(l,c){return l[c]=o[c],l},{}):o});Si(n)&&(co==null||co.set(n,a)),r=a}return e+"("+r+")"};function P2(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(r){var i=qd(function(u){var A,d;return(d=r.extractRehydrationInfo)==null?void 0:d.call(r,u,{reducerPath:(A=r.reducerPath)!=null?A:"api"})}),a=bn(Ne({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1},r),{extractRehydrationInfo:i,serializeQueryArgs:function(u){var A=Jp;if("serializeQueryArgs"in u.endpointDefinition){var d=u.endpointDefinition.serializeQueryArgs;A=function(f){var p=d(f);return typeof p=="string"?p:Jp(bn(Ne({},f),{queryArgs:p}))}}else r.serializeQueryArgs&&(A=r.serializeQueryArgs);return A(u)},tagTypes:cl([],r.tagTypes||[])}),s={endpointDefinitions:{},batch:function(u){u()},apiUid:$y(),extractRehydrationInfo:i,hasRehydrationInfo:qd(function(u){return i(u)!=null})},o={injectEndpoints:c,enhanceEndpoints:function(u){var A=u.addTagTypes,d=u.endpoints;if(A)for(var f=0,p=A;f<p.length;f++){var h=p[f];a.tagTypes.includes(h)||a.tagTypes.push(h)}if(d)for(var g=0,E=Object.entries(d);g<E.length;g++){var m=E[g],v=m[0],C=m[1];typeof C=="function"?C(s.endpointDefinitions[v]):Object.assign(s.endpointDefinitions[v]||{},C)}return o}},l=t.map(function(u){return u.init(o,a,s)});function c(u){for(var A=u.endpoints({query:function(C){return bn(Ne({},C),{type:Rn.query})},mutation:function(C){return bn(Ne({},C),{type:Rn.mutation})}}),d=0,f=Object.entries(A);d<f.length;d++){var p=f[d],h=p[0],g=p[1];if(!u.overrideExisting&&h in s.endpointDefinitions){typeof process<"u";continue}s.endpointDefinitions[h]=g;for(var E=0,m=l;E<m.length;E++){var v=m[E];v.injectEndpoint(h,g)}}return o}return o.injectEndpoints({endpoints:r.endpoints})}}function F2(t){for(var e in t)return!1;return!0}var R2=2147483647/1e3-1,N2=function(t){var e=t.reducerPath,n=t.api,r=t.context,i=t.internalState,a=n.internalActions,s=a.removeQueryResult,o=a.unsubscribeQueryResult;function l(d){var f=i.currentSubscriptions[d];return!!f&&!F2(f)}var c={},u=function(d,f,p){var h;if(o.match(d)){var g=f.getState()[e],E=d.payload.queryCacheKey;A(E,(h=g.queries[E])==null?void 0:h.endpointName,f,g.config)}if(n.util.resetApiState.match(d))for(var m=0,v=Object.entries(c);m<v.length;m++){var C=v[m],y=C[0],x=C[1];x&&clearTimeout(x),delete c[y]}if(r.hasRehydrationInfo(d))for(var g=f.getState()[e],w=r.extractRehydrationInfo(d).queries,b=0,D=Object.entries(w);b<D.length;b++){var I=D[b],E=I[0],S=I[1];A(E,S==null?void 0:S.endpointName,f,g.config)}};function A(d,f,p,h){var g,E=r.endpointDefinitions[f],m=(g=E==null?void 0:E.keepUnusedDataFor)!=null?g:h.keepUnusedDataFor;if(m!==1/0){var v=Math.max(0,Math.min(m,R2));if(!l(d)){var C=c[d];C&&clearTimeout(C),c[d]=setTimeout(function(){l(d)||p.dispatch(s({queryCacheKey:d})),delete c[d]},v*1e3)}}}return u},B2=function(t){var e=t.reducerPath,n=t.context,r=t.context.endpointDefinitions,i=t.mutationThunk,a=t.api,s=t.assertTagType,o=t.refetchQuery,l=a.internalActions.removeQueryResult,c=Pm(xa(i),Sf(i)),u=function(d,f){c(d)&&A(bE(d,"invalidatesTags",r,s),f),a.util.invalidateTags.match(d)&&A(hh(d.payload,void 0,void 0,void 0,void 0,s),f)};function A(d,f){var p=f.getState(),h=p[e],g=a.util.selectInvalidatedBy(p,d);n.batch(function(){for(var E,m=Array.from(g.values()),v=0,C=m;v<C.length;v++){var y=C[v].queryCacheKey,x=h.queries[y],w=(E=h.subscriptions[y])!=null?E:{};x&&(Object.keys(w).length===0?f.dispatch(l({queryCacheKey:y})):x.status!==Re.uninitialized&&f.dispatch(o(x,y)))}})}return u},G2=function(t){var e=t.reducerPath,n=t.queryThunk,r=t.api,i=t.refetchQuery,a=t.internalState,s={},o=function(f,p){(r.internalActions.updateSubscriptionOptions.match(f)||r.internalActions.unsubscribeQueryResult.match(f))&&c(f.payload,p),(n.pending.match(f)||n.rejected.match(f)&&f.meta.condition)&&c(f.meta.arg,p),(n.fulfilled.match(f)||n.rejected.match(f)&&!f.meta.condition)&&l(f.meta.arg,p),r.util.resetApiState.match(f)&&A()};function l(f,p){var h=f.queryCacheKey,g=p.getState()[e],E=g.queries[h],m=a.currentSubscriptions[h];if(!(!E||E.status===Re.uninitialized)){var v=d(m);if(Number.isFinite(v)){var C=s[h];C!=null&&C.timeout&&(clearTimeout(C.timeout),C.timeout=void 0);var y=Date.now()+v,x=s[h]={nextPollTimestamp:y,pollingInterval:v,timeout:setTimeout(function(){x.timeout=void 0,p.dispatch(i(E,h))},v)}}}}function c(f,p){var h=f.queryCacheKey,g=p.getState()[e],E=g.queries[h],m=a.currentSubscriptions[h];if(!(!E||E.status===Re.uninitialized)){var v=d(m);if(!Number.isFinite(v)){u(h);return}var C=s[h],y=Date.now()+v;(!C||y<C.nextPollTimestamp)&&l({queryCacheKey:h},p)}}function u(f){var p=s[f];p!=null&&p.timeout&&clearTimeout(p.timeout),delete s[f]}function A(){for(var f=0,p=Object.keys(s);f<p.length;f++){var h=p[f];u(h)}}function d(f){f===void 0&&(f={});var p=Number.POSITIVE_INFINITY;for(var h in f)f[h].pollingInterval&&(p=Math.min(f[h].pollingInterval,p));return p}return o},L2=function(t){var e=t.reducerPath,n=t.context,r=t.api,i=t.refetchQuery,a=t.internalState,s=r.internalActions.removeQueryResult,o=function(c,u){Ah.match(c)&&l(u,"refetchOnFocus"),fh.match(c)&&l(u,"refetchOnReconnect")};function l(c,u){var A=c.getState()[e],d=A.queries,f=a.currentSubscriptions;n.batch(function(){for(var p=0,h=Object.keys(f);p<h.length;p++){var g=h[p],E=d[g],m=f[g];if(!(!m||!E)){var v=Object.values(m).some(function(C){return C[u]===!0})||Object.values(m).every(function(C){return C[u]===void 0})&&A.config[u];v&&(Object.keys(m).length===0?c.dispatch(s({queryCacheKey:g})):E.status!==Re.uninitialized&&c.dispatch(i(E,g)))}}})}return o},eg=new Error("Promise never resolved before cacheEntryRemoved."),V2=function(t){var e=t.api,n=t.reducerPath,r=t.context,i=t.queryThunk,a=t.mutationThunk;t.internalState;var s=zh(i),o=zh(a),l=xa(i,a),c={},u=function(f,p,h){var g=A(f);if(i.pending.match(f)){var E=h[n].queries[g],m=p.getState()[n].queries[g];!E&&m&&d(f.meta.arg.endpointName,f.meta.arg.originalArgs,g,p,f.meta.requestId)}else if(a.pending.match(f)){var m=p.getState()[n].mutations[g];m&&d(f.meta.arg.endpointName,f.meta.arg.originalArgs,g,p,f.meta.requestId)}else if(l(f)){var v=c[g];v!=null&&v.valueResolved&&(v.valueResolved({data:f.payload,meta:f.meta.baseQueryMeta}),delete v.valueResolved)}else if(e.internalActions.removeQueryResult.match(f)||e.internalActions.removeMutationResult.match(f)){var v=c[g];v&&(delete c[g],v.cacheEntryRemoved())}else if(e.util.resetApiState.match(f))for(var C=0,y=Object.entries(c);C<y.length;C++){var x=y[C],w=x[0],v=x[1];delete c[w],v.cacheEntryRemoved()}};function A(f){return s(f)?f.meta.arg.queryCacheKey:o(f)?f.meta.requestId:e.internalActions.removeQueryResult.match(f)?f.payload.queryCacheKey:e.internalActions.removeMutationResult.match(f)?Ts(f.payload):""}function d(f,p,h,g,E){var m=r.endpointDefinitions[f],v=m==null?void 0:m.onCacheEntryAdded;if(v){var C={},y=new Promise(function(S){C.cacheEntryRemoved=S}),x=Promise.race([new Promise(function(S){C.valueResolved=S}),y.then(function(){throw eg})]);x.catch(function(){}),c[h]=C;var w=e.endpoints[f].select(m.type===Rn.query?p:h),b=g.dispatch(function(S,O,T){return T}),D=bn(Ne({},g),{getCacheEntry:function(){return w(g.getState())},requestId:E,extra:b,updateCachedData:m.type===Rn.query?function(S){return g.dispatch(e.util.updateQueryData(f,p,S))}:void 0,cacheDataLoaded:x,cacheEntryRemoved:y}),I=v(p,D);Promise.resolve(I).catch(function(S){if(S!==eg)throw S})}}return u},H2=function(t){var e=t.api,n=t.context,r=t.queryThunk,i=t.mutationThunk,a=Rm(r,i),s=Nm(r,i),o=xa(r,i),l={},c=function(u,A){var d,f,p;if(a(u)){var h=u.meta,g=h.requestId,E=h.arg,m=E.endpointName,v=E.originalArgs,C=n.endpointDefinitions[m],y=C==null?void 0:C.onQueryStarted;if(y){var x={},w=new Promise(function(P,R){x.resolve=P,x.reject=R});w.catch(function(){}),l[g]=x;var b=e.endpoints[m].select(C.type===Rn.query?v:g),D=A.dispatch(function(P,R,W){return W}),I=bn(Ne({},A),{getCacheEntry:function(){return b(A.getState())},requestId:g,extra:D,updateCachedData:C.type===Rn.query?function(P){return A.dispatch(e.util.updateQueryData(m,v,P))}:void 0,queryFulfilled:w});y(v,I)}}else if(o(u)){var S=u.meta,g=S.requestId,O=S.baseQueryMeta;(d=l[g])==null||d.resolve({data:u.payload,meta:O}),delete l[g]}else if(s(u)){var T=u.meta,g=T.requestId,M=T.rejectedWithValue,O=T.baseQueryMeta;(p=l[g])==null||p.reject({error:(f=u.payload)!=null?f:u.error,isUnhandledError:!M,meta:O}),delete l[g]}};return c},U2=function(t){var e=t.api,n=t.context.apiUid,r=t.reducerPath;return function(i,a){var s,o;e.util.resetApiState.match(i)&&a.dispatch(e.internalActions.middlewareRegistered(n)),typeof process<"u"}},tg,W2=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(tg||(tg=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},X2=function(t){var e=t.api,n=t.queryThunk,r=t.internalState,i=e.reducerPath+"/subscriptions",a=null,s=!1,o=e.internalActions,l=o.updateSubscriptionOptions,c=o.unsubscribeQueryResult,u=function(A,d){var f,p,h,g,E,m,v,C,y;if(l.match(d)){var x=d.payload,w=x.queryCacheKey,b=x.requestId,D=x.options;return(f=A==null?void 0:A[w])!=null&&f[b]&&(A[w][b]=D),!0}if(c.match(d)){var I=d.payload,w=I.queryCacheKey,b=I.requestId;return A[w]&&delete A[w][b],!0}if(e.internalActions.removeQueryResult.match(d))return delete A[d.payload.queryCacheKey],!0;if(n.pending.match(d)){var S=d.meta,O=S.arg,b=S.requestId;if(O.subscribe){var T=(h=A[p=O.queryCacheKey])!=null?h:A[p]={};return T[b]=(E=(g=O.subscriptionOptions)!=null?g:T[b])!=null?E:{},!0}}if(n.rejected.match(d)){var M=d.meta,P=M.condition,O=M.arg,b=M.requestId;if(P&&O.subscribe){var T=(v=A[m=O.queryCacheKey])!=null?v:A[m]={};return T[b]=(y=(C=O.subscriptionOptions)!=null?C:T[b])!=null?y:{},!0}}return!1};return function(A,d){var f,p;if(a||(a=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(A))return a=r.currentSubscriptions={},[!0,!1];if(e.internalActions.internal_probeSubscription.match(A)){var h=A.payload,g=h.queryCacheKey,E=h.requestId,m=!!((f=r.currentSubscriptions[g])!=null&&f[E]);return[!1,m]}var v=u(r.currentSubscriptions,A);if(v){s||(W2(function(){var w=JSON.parse(JSON.stringify(r.currentSubscriptions)),b=Fm(a,function(){return w}),D=b[1];d.next(e.internalActions.subscriptionsUpdated(D)),a=w,s=!1}),s=!0);var C=!!((p=A.type)!=null&&p.startsWith(i)),y=n.rejected.match(A)&&A.meta.condition&&!!A.meta.arg.subscribe,x=!C&&!y;return[x,!1]}return[!0,!1]}};function Y2(t){var e=t.reducerPath,n=t.queryThunk,r=t.api,i=t.context,a=i.apiUid,s={invalidateTags:Ea(e+"/invalidateTags")},o=function(A){return!!A&&typeof A.type=="string"&&A.type.startsWith(e+"/")},l=[U2,N2,B2,G2,V2,H2],c=function(A){var d=!1,f={currentSubscriptions:{}},p=bn(Ne({},t),{internalState:f,refetchQuery:u}),h=l.map(function(m){return m(p)}),g=X2(p),E=L2(p);return function(m){return function(v){d||(d=!0,A.dispatch(r.internalActions.middlewareRegistered(a)));var C=bn(Ne({},A),{next:m}),y=A.getState(),x=g(v,C,y),w=x[0],b=x[1],D;if(w?D=m(v):D=b,A.getState()[e]&&(E(v,C,y),o(v)||i.hasRehydrationInfo(v)))for(var I=0,S=h;I<S.length;I++){var O=S[I];O(v,C,y)}return D}}};return{middleware:c,actions:s};function u(A,d,f){return f===void 0&&(f={}),n(Ne({type:"query",endpointName:A.endpointName,originalArgs:A.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d},f))}}function Er(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];Object.assign.apply(Object,cl([t],e))}var ng=Symbol(),z2=function(){return{name:ng,init:function(t,e,n){var r=e.baseQuery,i=e.tagTypes,a=e.reducerPath,s=e.serializeQueryArgs,o=e.keepUnusedDataFor,l=e.refetchOnMountOrArgChange,c=e.refetchOnFocus,u=e.refetchOnReconnect;jy();var A=function(L){return typeof process<"u",L};Object.assign(t,{reducerPath:a,endpoints:{},internalActions:{onOnline:fh,onOffline:wE,onFocus:Ah,onFocusLost:IE},util:{}});var d=O2({baseQuery:r,reducerPath:a,context:n,api:t,serializeQueryArgs:s,assertTagType:A}),f=d.queryThunk,p=d.mutationThunk,h=d.patchQueryData,g=d.updateQueryData,E=d.upsertQueryData,m=d.prefetch,v=d.buildMatchThunkActions,C=k2({context:n,queryThunk:f,mutationThunk:p,reducerPath:a,assertTagType:A,config:{refetchOnFocus:c,refetchOnReconnect:u,refetchOnMountOrArgChange:l,keepUnusedDataFor:o,reducerPath:a}}),y=C.reducer,x=C.actions;Er(t.util,{patchQueryData:h,updateQueryData:g,upsertQueryData:E,prefetch:m,resetApiState:x.resetApiState}),Er(t.internalActions,x);var w=Y2({reducerPath:a,context:n,queryThunk:f,mutationThunk:p,api:t,assertTagType:A}),b=w.middleware,D=w.actions;Er(t.util,D),Er(t,{reducer:y,middleware:b});var I=M2({serializeQueryArgs:s,reducerPath:a}),S=I.buildQuerySelector,O=I.buildMutationSelector,T=I.selectInvalidatedBy;Er(t.util,{selectInvalidatedBy:T});var M=T2({queryThunk:f,mutationThunk:p,api:t,serializeQueryArgs:s,context:n}),P=M.buildInitiateQuery,R=M.buildInitiateMutation,W=M.getRunningMutationThunk,N=M.getRunningMutationsThunk,U=M.getRunningQueriesThunk,Y=M.getRunningQueryThunk,G=M.getRunningOperationPromises,H=M.removalWarning;return Er(t.util,{getRunningOperationPromises:G,getRunningOperationPromise:H,getRunningMutationThunk:W,getRunningMutationsThunk:N,getRunningQueryThunk:Y,getRunningQueriesThunk:U}),{name:ng,injectEndpoint:function(L,B){var X,z,q=t;(z=(X=q.endpoints)[L])!=null||(X[L]={}),SE(B)?Er(q.endpoints[L],{name:L,select:S(L,B),initiate:P(L,B)},v(f,L)):_2(B)&&Er(q.endpoints[L],{name:L,select:O(),initiate:R(L)},v(p,L))}}}}},q2=function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},K2=Object.defineProperty,$2=Object.defineProperties,j2=Object.getOwnPropertyDescriptors,rg=Object.getOwnPropertySymbols,Q2=Object.prototype.hasOwnProperty,Z2=Object.prototype.propertyIsEnumerable,ig=function(t,e,n){return e in t?K2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},jn=function(t,e){for(var n in e||(e={}))Q2.call(e,n)&&ig(t,n,e[n]);if(rg)for(var r=0,i=rg(e);r<i.length;r++){var n=i[r];Z2.call(e,n)&&ig(t,n,e[n])}return t},Bo=function(t,e){return $2(t,j2(e))};function ag(t,e,n,r){var i=_.useMemo(function(){return{queryArgs:t,serialized:typeof t=="object"?e({queryArgs:t,endpointDefinition:n,endpointName:r}):t}},[t,e,n,r]),a=_.useRef(i);return _.useEffect(function(){a.current.serialized!==i.serialized&&(a.current=i)},[i]),a.current.serialized===i.serialized?a.current.queryArgs:t}var Fu=Symbol();function Ru(t){var e=_.useRef(t);return _.useEffect(function(){Yo(e.current,t)||(e.current=t)},[t]),Yo(e.current,t)?e.current:t}var uo=WeakMap?new WeakMap:void 0,J2=function(t){var e=t.endpointName,n=t.queryArgs,r="",i=uo==null?void 0:uo.get(n);if(typeof i=="string")r=i;else{var a=JSON.stringify(n,function(s,o){return Si(o)?Object.keys(o).sort().reduce(function(l,c){return l[c]=o[c],l},{}):o});Si(n)&&(uo==null||uo.set(n,a)),r=a}return e+"("+r+")"},eO=typeof window<"u"&&window.document&&window.document.createElement?_.useLayoutEffect:_.useEffect,tO=function(t){return t},nO=function(t){return t.isUninitialized?Bo(jn({},t),{isUninitialized:!1,isFetching:!0,isLoading:t.data===void 0,status:Re.pending}):t};function rO(t){var e=t.api,n=t.moduleOptions,r=n.batch,i=n.useDispatch,a=n.useSelector,s=n.useStore,o=n.unstable__sideEffectsInRender,l=t.serializeQueryArgs,c=t.context,u=o?function(h){return h()}:_.useEffect;return{buildQueryHooks:f,buildMutationHook:p,usePrefetch:d};function A(h,g,E){if(g!=null&&g.endpointName&&h.isUninitialized){var m=g.endpointName,v=c.endpointDefinitions[m];l({queryArgs:g.originalArgs,endpointDefinition:v,endpointName:m})===l({queryArgs:E,endpointDefinition:v,endpointName:m})&&(g=void 0)}var C=h.isSuccess?h.data:g==null?void 0:g.data;C===void 0&&(C=h.data);var y=C!==void 0,x=h.isLoading,w=!y&&x,b=h.isSuccess||x&&y;return Bo(jn({},h),{data:C,currentData:h.data,isFetching:x,isLoading:w,isSuccess:b})}function d(h,g){var E=i(),m=Ru(g);return _.useCallback(function(v,C){return E(e.util.prefetch(h,v,jn(jn({},m),C)))},[h,E,m])}function f(h){var g=function(v,C){var y=C===void 0?{}:C,x=y.refetchOnReconnect,w=y.refetchOnFocus,b=y.refetchOnMountOrArgChange,D=y.skip,I=D===void 0?!1:D,S=y.pollingInterval,O=S===void 0?0:S,T=e.endpoints[h].initiate,M=i(),P=ag(I?ii:v,J2,c.endpointDefinitions[h],h),R=Ru({refetchOnReconnect:x,refetchOnFocus:w,pollingInterval:O}),W=_.useRef(!1),N=_.useRef(),U=N.current||{},Y=U.queryCacheKey,G=U.requestId,H=!1;if(Y&&G){var L=M(e.internalActions.internal_probeSubscription({queryCacheKey:Y,requestId:G}));H=!!L}var B=!H&&W.current;return u(function(){W.current=H}),u(function(){B&&(N.current=void 0)},[B]),u(function(){var X,z=N.current;if(typeof process<"u",P===ii){z==null||z.unsubscribe(),N.current=void 0;return}var q=(X=N.current)==null?void 0:X.subscriptionOptions;if(!z||z.arg!==P){z==null||z.unsubscribe();var Q=M(T(P,{subscriptionOptions:R,forceRefetch:b}));N.current=Q}else R!==q&&z.updateSubscriptionOptions(R)},[M,T,b,P,R,B]),_.useEffect(function(){return function(){var X;(X=N.current)==null||X.unsubscribe(),N.current=void 0}},[]),_.useMemo(function(){return{refetch:function(){var X;if(!N.current)throw new Error("Cannot refetch a query that has not been started yet.");return(X=N.current)==null?void 0:X.refetch()}}},[])},E=function(v){var C=v===void 0?{}:v,y=C.refetchOnReconnect,x=C.refetchOnFocus,w=C.pollingInterval,b=w===void 0?0:w,D=e.endpoints[h].initiate,I=i(),S=_.useState(Fu),O=S[0],T=S[1],M=_.useRef(),P=Ru({refetchOnReconnect:y,refetchOnFocus:x,pollingInterval:b});u(function(){var N,U,Y=(N=M.current)==null?void 0:N.subscriptionOptions;P!==Y&&((U=M.current)==null||U.updateSubscriptionOptions(P))},[P]);var R=_.useRef(P);u(function(){R.current=P},[P]);var W=_.useCallback(function(N,U){U===void 0&&(U=!1);var Y;return r(function(){var G;(G=M.current)==null||G.unsubscribe(),M.current=Y=I(D(N,{subscriptionOptions:R.current,forceRefetch:!U})),T(N)}),Y},[I,D]);return _.useEffect(function(){return function(){var N;(N=M==null?void 0:M.current)==null||N.unsubscribe()}},[]),_.useEffect(function(){O!==Fu&&!M.current&&W(O,!0)},[O,W]),_.useMemo(function(){return[W,O]},[W,O])},m=function(v,C){var y=C===void 0?{}:C,x=y.skip,w=x===void 0?!1:x,b=y.selectFromResult,D=e.endpoints[h].select,I=ag(w?ii:v,l,c.endpointDefinitions[h],h),S=_.useRef(),O=_.useMemo(function(){return xi([D(I),function(W,N){return N},function(W){return I}],A)},[D,I]),T=_.useMemo(function(){return b?xi([O],b):O},[O,b]),M=a(function(W){return T(W,S.current)},Yo),P=s(),R=O(P.getState(),S.current);return eO(function(){S.current=R},[R]),M};return{useQueryState:m,useQuerySubscription:g,useLazyQuerySubscription:E,useLazyQuery:function(v){var C=E(v),y=C[0],x=C[1],w=m(x,Bo(jn({},v),{skip:x===Fu})),b=_.useMemo(function(){return{lastArg:x}},[x]);return _.useMemo(function(){return[y,w,b]},[y,w,b])},useQuery:function(v,C){var y=g(v,C),x=m(v,jn({selectFromResult:v===ii||C!=null&&C.skip?void 0:nO},C)),w=x.data,b=x.status,D=x.isLoading,I=x.isSuccess,S=x.isError,O=x.error;return _.useDebugValue({data:w,status:b,isLoading:D,isSuccess:I,isError:S,error:O}),_.useMemo(function(){return jn(jn({},x),y)},[x,y])}}}function p(h){return function(g){var E=g===void 0?{}:g,m=E.selectFromResult,v=m===void 0?tO:m,C=E.fixedCacheKey,y=e.endpoints[h],x=y.select,w=y.initiate,b=i(),D=_.useState(),I=D[0],S=D[1];_.useEffect(function(){return function(){I!=null&&I.arg.fixedCacheKey||I==null||I.reset()}},[I]);var O=_.useCallback(function(z){var q=b(w(z,{fixedCacheKey:C}));return S(q),q},[b,w,C]),T=(I||{}).requestId,M=_.useMemo(function(){return xi([x({fixedCacheKey:C,requestId:I==null?void 0:I.requestId})],v)},[x,I,v,C]),P=a(M,Yo),R=C==null?I==null?void 0:I.arg.originalArgs:void 0,W=_.useCallback(function(){r(function(){I&&S(void 0),C&&b(e.internalActions.removeMutationResult({requestId:T,fixedCacheKey:C}))})},[b,C,I,T]),N=P.endpointName,U=P.data,Y=P.status,G=P.isLoading,H=P.isSuccess,L=P.isError,B=P.error;_.useDebugValue({endpointName:N,data:U,status:Y,isLoading:G,isSuccess:H,isError:L,error:B});var X=_.useMemo(function(){return Bo(jn({},P),{originalArgs:R,reset:W})},[P,R,W]);return _.useMemo(function(){return[O,X]},[O,X])}}}var dl;(function(t){t.query="query",t.mutation="mutation"})(dl||(dl={}));function iO(t){return t.type===dl.query}function aO(t){return t.type===dl.mutation}function Nu(t){return t.replace(t[0],t[0].toUpperCase())}function Ao(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];Object.assign.apply(Object,q2([t],e))}var sO=Symbol(),oO=function(t){var e={},n=e.batch,r=n===void 0?h1.unstable_batchedUpdates:n,i=e.useDispatch,a=i===void 0?tC:i,s=e.useSelector,o=s===void 0?t1:s,l=e.useStore,c=l===void 0?eC:l,u=e.unstable__sideEffectsInRender,A=u===void 0?!1:u;return{name:sO,init:function(d,f,p){var h=f.serializeQueryArgs,g=d,E=rO({api:d,moduleOptions:{batch:r,useDispatch:a,useSelector:o,useStore:c,unstable__sideEffectsInRender:A},serializeQueryArgs:h,context:p}),m=E.buildQueryHooks,v=E.buildMutationHook,C=E.usePrefetch;return Ao(g,{usePrefetch:C}),Ao(p,{batch:r}),{injectEndpoint:function(y,x){if(iO(x)){var w=m(y),b=w.useQuery,D=w.useLazyQuery,I=w.useLazyQuerySubscription,S=w.useQueryState,O=w.useQuerySubscription;Ao(g.endpoints[y],{useQuery:b,useLazyQuery:D,useLazyQuerySubscription:I,useQueryState:S,useQuerySubscription:O}),d["use"+Nu(y)+"Query"]=b,d["useLazy"+Nu(y)+"Query"]=D}else if(aO(x)){var T=v(y);Ao(g.endpoints[y],{useMutation:T}),d["use"+Nu(y)+"Mutation"]=T}}}}}},lO=P2(z2(),oO()),vn=(t=>(t[t.none=0]="none",t[t.second=1]="second",t[t.minute=60]="minute",t[t.fiveMinutes=300]="fiveMinutes",t[t.hour=3600]="hour",t[t.day=86400]="day",t[t.week=604800]="week",t))(vn||{}),DE=(t=>(t[t.short=1e3]="short",t[t.medium=15e3]="medium",t[t.long=3e4]="long",t))(DE||{});const TE=t=>new Promise(e=>setTimeout(e,t)),cO=(t,{getState:e})=>{const n=e(),{environment:r}=cE(n),i=zy[r];return i?t.set("X-API-KEY",i):kf(`No API key in .env for environment ${r}.`),t.set("releaseVersion",ky),t},uO=async(t,e,n)=>Mu(async()=>{var f;const{slug:r,afterError:i,afterSuccess:a,prepareHeaders:s=p=>p}=t,o=DT(r)(e.getState()),l=`${e.endpoint}: ${t.method??"GET"} ${o}${t.url}`;$h(`Request started: ${l}`);const c=await I2({baseUrl:o,prepareHeaders:(p,h)=>cO(s(p,h),h),timeout:DE.long})(t,e,n),{error:u,meta:A}=c,d=((f=A==null?void 0:A.response)==null?void 0:f.status)??(u==null?void 0:u.status)??0;return u?kf(`Request failed (${d}): ${l}, ${JSON.stringify(u.data)}`):$h(`Request success: ${l}`),d===404&&Mu.fail(u),((u==null?void 0:u.status)==="FETCH_ERROR"||(u==null?void 0:u.status)==="TIMEOUT_ERROR"||(u==null?void 0:u.status)===502)&&await TE(100),u?await(i==null?void 0:i(c,e,Mu.fail)):await(a==null?void 0:a(c,e)),c},{maxRetries:2})(t,e,n),ru=lO({baseQuery:uO,endpoints:()=>({}),reducerPath:"api",tagTypes:["Articles","FollowedProjects","Modules","Notifications","Projects"]}),dO=ru.injectEndpoints({endpoints:t=>({[CE.getRedirectUrls]:t.query({query:()=>({slug:Ke.contact,url:"/links"}),keepUnusedDataFor:vn.hour})}),overrideExisting:!0}),{useGetRedirectUrlsQuery:AO}=dO,fO=()=>{const{setIsMenuOpen:t,headerHeight:e,isMenuOpen:n}=Ri(),r=Nn(),i=Hm(Mf.normal),a=Ls(),s=hO(r,e,a),{addDownloadedTranscriptId:o,endChat:l}=_.useContext(dn),c=Gm(),{data:u,isLoading:A,isError:d}=AO(),f=Hc();return n?k.jsx($t.View,{entering:th.duration(r.duration.transition.short),exiting:nh.duration(r.duration.transition.short),style:s.container,children:k.jsxs(Dn,{halign:"start",children:[k.jsx(gs,{color:"link",label:"Chat downloaden",onPress:()=>{t(!1),mE().then(p=>p&&o(p))},ref:i,testID:"ChatMenuPressableDownloadChat"}),!A&&!d&&k.jsx(gs,{color:"link",label:"Privacy",onPress:()=>{u!=null&&u.chatPrivacy?(t(!1),c(u.chatPrivacy)):(Jn.alert("Sorry, deze functie is nu niet beschikbaar. Probeer het later nog eens."),f(Zn.getRedirectsUrl,"ChatMenu.ts",{redirectsKey:"chatPrivacy"}))},testID:"ChatMenuPressableStopChat"}),k.jsx(gs,{color:"warning",label:"Chat stoppen",onPress:()=>{t(!1),l()},testID:"ChatMenuPressableStopChat"})]})}):null},hO=({color:t,z:e,size:n},r,i)=>he.create({container:{position:"absolute",left:n.spacing.sm,top:r+i.top,backgroundColor:t.box.distinct,zIndex:e.tooltip,elevation:2,shadowColor:t.shadow.default,shadowOffset:{width:0,height:2},shadowRadius:4,shadowOpacity:.3}}),pO=He({name:le.bottomSheet,initialState:{isOpen:!1,isPresentAtRouteNames:[]},reducers:{closeBottomSheet:t=>({...t,isOpen:!1}),openBottomSheet:t=>({...t,isOpen:!0}),addIsPresentAtRouteName:(t,{payload:e})=>{t.isPresentAtRouteNames.push(e)},removeIsPresentAtRouteName:(t,{payload:e})=>({...t,isPresentAtRouteNames:t.isPresentAtRouteNames.filter(n=>n!==e)}),toggleBottomSheet:t=>({...t,isOpen:!t.isOpen})}}),{closeBottomSheet:gO,openBottomSheet:vO,addIsPresentAtRouteName:mO,removeIsPresentAtRouteName:CO,toggleBottomSheet:EO}=pO.actions,xO=()=>{const t=Bn();return{isOpen:et(n=>n[le.bottomSheet].isOpen),..._.useMemo(()=>({close:()=>t(gO()),open:()=>t(vO()),addIsPresentAtRouteName:n=>t(mO(n)),removeIsPresentAtRouteName:n=>t(CO(n)),toggle:()=>t(EO())}),[t])}},sg={spaceBottom:0,isContentHiddenFromAccessibility:!1,isHiddenFromAccessibility:!1},yO=He({name:le.screen,initialState:sg,reducers:{resetScreen:()=>sg,setHideScreenFromAccessibility:(t,{payload:e})=>{t.isHiddenFromAccessibility=e},setHideScreenContentFromAccessibility:(t,{payload:e})=>{t.isContentHiddenFromAccessibility=e},setExtraSpaceBottom:(t,{payload:e})=>{t.spaceBottom=e}}}),{setExtraSpaceBottom:IO,setHideScreenFromAccessibility:wO,setHideScreenContentFromAccessibility:SO}=yO.actions,bO=t=>t[le.screen].spaceBottom,_O=t=>t[le.screen].isHiddenFromAccessibility,DO=t=>t[le.screen].isContentHiddenFromAccessibility,ph=()=>{const t=Bn(),e=et(bO),n=et(DO),r=et(_O),i=_.useCallback(o=>t(IO(o)),[t]),a=_.useCallback(o=>t(wO(o)),[t]),s=_.useCallback(o=>t(SO(o)),[t]);return{isContentHiddenFromAccessibility:n,isHiddenFromAccessibility:r,spaceBottom:e,setHideContentFromAccessibility:s,setHideFromAccessibility:a,setSpaceBottom:i}},TO=60,OO=8,kO=25,DA=({children:t})=>{const e=Nn(),{isOpen:n}=xO(),{isMaximized:r}=Ri(),[i,a]=_.useState(0),s=ct(0),o=ct(0),l=ct(r?1:0),c=Ls(),{fontScale:u}=Vm(),{newMessagesCount:A}=_.useContext(dn),{setSpaceBottom:d}=ph(),f=MO(e,c),p=TO*u+c.bottom;_.useEffect(()=>{l.value=j(r?1:0)},[r,l]),_.useEffect(()=>(d(p-OO),()=>{d(0)}),[p,d]),_.useEffect(()=>{A>0&&!r&&!n?o.value=Zf(Fe(j(-kO,{duration:400}),Qf(0,{duration:1e3,dampingRatio:.3}),j(0,{duration:3e3})),-1):o.value=0},[o,r,n,A]),_.useEffect(()=>{s.value=j(r?0:i-(n?0:p))},[r,s,i,n,p]);const h=Fn(()=>({transform:[{translateY:s.value+o.value}],backgroundColor:EA(l.value,[0,1],[e.color.chat.minimized.background,e.color.chat.maximized.background]),borderTopColor:EA(l.value,[0,1],[e.color.chat.border,"transparent"]),borderTopWidth:Lt(l.value,[0,1],[e.border.width.md,0])})),g=Fn(()=>({transform:[{translateY:Lt(l.value,[0,1],[-c.top,0])}]}));return k.jsxs($t.View,{entering:_i,exiting:Is,onLayout:E=>{a(E.nativeEvent.layout.height)},style:[he.absoluteFill,f.container,h],children:[k.jsx(fO,{}),k.jsx($t.View,{style:[f.inner,g],children:t})]})},MO=({z:t},e)=>he.create({container:{flexGrow:1,paddingTop:e.top,paddingRight:e.right,paddingBottom:e.bottom,paddingLeft:e.left,zIndex:t.overlay-1},inner:{flexGrow:1}});try{DA.displayName="ChatAnimatedWrapper",DA.__docgenInfo={description:"",displayName:"ChatAnimatedWrapper",props:{}}}catch{}const Al=({accessibilityLanguage:t="nl-NL",text:e})=>k.jsx(Wm,{accessibilityLanguage:t,level:"h5",numberOfLines:1,testID:"HeaderTitle",text:e,textAlign:"center"});try{Al.displayName="ScreenHeaderTitle",Al.__docgenInfo={description:"",displayName:"ScreenHeaderTitle",props:{accessibilityLanguage:{defaultValue:{value:"nl-NL"},description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}}}}}catch{}const og=28,TA=({color:t,width:e=og,height:n=og,...r})=>{const{fontScale:i}=Vm();return k.jsxs(Pf,{...r,fill:"none",height:Number(n)*i,viewBox:"0 0 28 28",width:Number(e)*i,children:[k.jsx(_r,{"clip-rule":"evenodd",d:"M14 2C7.37258 2 2 7.37258 2 14C2 20.6274 7.37258 26 14 26C20.6274 26 26 20.6274 26 14C26 7.37258 20.6274 2 14 2ZM0 14C0 6.26801 6.26801 0 14 0C21.732 0 28 6.26801 28 14C28 21.732 21.732 28 14 28C6.26801 28 0 21.732 0 14Z",fill:t,"fill-rule":"evenodd"}),k.jsx(_r,{d:"M16 14C16 15.1046 15.1046 16 14 16C12.8954 16 12 15.1046 12 14C12 12.8954 12.8954 12 14 12C15.1046 12 16 12.8954 16 14Z",fill:t}),k.jsx(_r,{d:"M10 14C10 15.1046 9.10457 16 8 16C6.89543 16 6 15.1046 6 14C6 12.8954 6.89543 12 8 12C9.10457 12 10 12.8954 10 14Z",fill:t}),k.jsx(_r,{d:"M22 14C22 15.1046 21.1046 16 20 16C18.8954 16 18 15.1046 18 14C18 12.8954 18.8954 12 20 12C21.1046 12 22 12.8954 22 14Z",fill:t})]})};try{TA.displayName="MeatballsMenu",TA.__docgenInfo={description:"",displayName:"MeatballsMenu",props:{}}}catch{}var PO=function(t,...e){const n=[],{isArray:r}=Array;e.forEach((s,o)=>{if(typeof s=="number")e[o]=[s,s];else if(r(s))if(typeof s[0]=="number")e[o]=[s[0],typeof s[1]=="function"?s[1](s[0]):null];else throw TypeError("First item in array must be a Number")});let i=e.find(r),a;for(let s of t){if(r(a)&&a[1]==null&&(s=s.replace(/^\s+/,"")),i?n.push(s.replace(/\[([^|]*)\|([^\]]*)\]/g,i[0]==1?"$1":"$2")):n.push(s),!e.length)break;i=e.find(r)||i,a=e.shift(),n.push(a===i?i[1]:a)}return n.join("")};const OE=Ur(PO),FO=()=>{const{newMessagesCount:t}=_.useContext(dn);return t?k.jsx(Ym,{accessibilityLabel:t+" "+OE`[nieuw bericht|nieuwe berichten]${[t]} `,testID:"ChatNewMessageIndicatorBadge",value:t,variant:"small"}):null},RO=({children:t,isMaximized:e,onPress:n,style:r,...i})=>e?k.jsx(k.Fragment,{children:t}):k.jsx(p1,{...i,onPress:n,style:r,children:t}),NO=()=>{const{isMaximized:t,isMenuOpen:e,setHeaderHeight:n,setIsMenuOpen:r,toggleVisibility:i}=Ri(),{setHideFromAccessibility:a}=ph(),{color:s}=Nn(),o=BO(),l=Fn(()=>({transform:[{rotate:j(t?"0deg":"-180deg")}]})),c=Fn(()=>({opacity:j(t?1:0)})),u=()=>{i(),ua.dismiss(),r(!1)};return _.useEffect(()=>(a(t),()=>{a(!1)}),[t,a]),k.jsx(pe,{onLayout:A=>n(A.nativeEvent.layout.height),style:o.container,children:k.jsx(RO,{accessibilityHint:"Activeer om de chat te maximaliseren",isMaximized:t,onPress:i,style:o.pressableWhenMinimized,children:k.jsx(hr,{testID:"ChatHeader",children:k.jsxs(ln,{align:"between",valign:"center",children:[k.jsx($t.View,{style:c,children:k.jsx(bi,{accessibilityLabel:`Chat menu ${e?"sluiten":"openen"}.`,icon:k.jsx(TA,{color:s.pressable.secondary.default.icon}),onPress:()=>r(!e),pointerEvents:t?"auto":"none",testID:"ChatHeaderMeatballsMenuButton"})}),k.jsx(pe,{accessible:!0,children:k.jsxs(ln,{gutter:"xs",valign:"center",children:[k.jsx(Al,{text:"Chat"}),k.jsx(FO,{})]})}),k.jsx($t.View,{style:l,children:k.jsx(bi,{accessibilityLabel:`Chat ${t?"minimaliseren":"maximaliseren"}`,icon:k.jsx(Mn,{color:"link",name:"chevron-down",size:"lg",testID:"ChatHeaderToggleVisibilityButtonIcon"}),onPress:u,testID:"ChatHeaderToggleVisibilityButton"})})]})})})})},BO=()=>he.create({container:{zIndex:1},pressableWhenMinimized:{flexGrow:1}}),OA=({firstMessage:t})=>k.jsx(Yc,{icon:"chat",testID:"ChatStartingTime",text:`Chat gestart om ${dh((t==null?void 0:t.timestamp)??nu().unix()).format("HH:mm")}`});try{OA.displayName="ChatStartTime",OA.__docgenInfo={description:"",displayName:"ChatStartTime",props:{firstMessage:{defaultValue:null,description:"",name:"firstMessage",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const GO="Chatbot Gemeente Amsterdam",LO=(t,e,n)=>{const r=dh(n).format("HH:mm");return e===tt.user?r:e===tt.chatbot?`${GO} - ${r}`:`${t} - ${r}`},kA=({message:{sender:{role:t},senderDisplayName:e,timestamp:n},isLastOfRole:r})=>{const i=On(a=>HO(a,t===tt.user));return t===tt.system?null:!!r&&k.jsxs(k.Fragment,{children:[k.jsx(Xc,{height:"xs"}),k.jsx(pe,{style:i.container,children:k.jsx(kn,{color:"secondary",testID:`ChatHistoryGroupName${t}`,variant:"extraSmall",children:LO(e,t,n)})})]})},VO=40,HO=({size:t},e)=>he.create({container:{paddingLeft:e?void 0:VO+t.spacing.sm,alignItems:e?"flex-end":"flex-start"}});try{kA.displayName="ChatAgentInfo",kA.__docgenInfo={description:"",displayName:"ChatAgentInfo",props:{isLast:{defaultValue:null,description:"",name:"isLast",required:!0,type:{name:"boolean"}},isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const UO=()=>{const{color:t}=Nn();return k.jsxs(Pf,{fill:"none",height:"40",viewBox:"0 0 40 40",width:"40",children:[k.jsx(Xm,{cx:"20",cy:"20",fill:t.chat.avatar.background,r:"19.5",stroke:t.chat.avatar.border}),k.jsx(_r,{d:"M16.3604 30.9196L18.5404 28.7396L16.3604 26.5396L17.8204 25.0996L20.0004 27.2796L22.1804 25.0996L23.6404 26.5396L21.4604 28.7396L23.6404 30.9196L22.1804 32.3596L20.0004 30.1796L17.8204 32.3596L16.3604 30.9196Z",fill:t.logo}),k.jsx(_r,{d:"M16.3604 22.1799L18.5404 19.9999L16.3604 17.8199L17.8204 16.3799L20.0004 18.5599L22.1804 16.3799L23.6404 17.8199L21.4604 19.9999L23.6404 22.1799L22.1804 23.6399L20.0004 21.4599L17.8204 23.6399L16.3604 22.1799Z",fill:t.logo}),k.jsx(_r,{d:"M16.3604 13.4596L18.5404 11.2596L16.3604 9.07965L17.8204 7.63965L20.0004 9.81965L22.1804 7.63965L23.6404 9.07965L21.4604 11.2596L23.6404 13.4596L22.1804 14.8996L20.0004 12.7196L17.8204 14.8996L16.3604 13.4596Z",fill:t.logo})]})},WO=()=>{const{color:t}=Nn();return k.jsxs(Pf,{fill:"none",height:"40",viewBox:"0 0 40 40",width:"40",children:[k.jsx(Xm,{cx:"20",cy:"20",fill:t.chat.avatar.background,r:"19.5",stroke:t.chat.avatar.border}),k.jsx(_r,{"clip-rule":"evenodd",d:"M20 35C13.5 35 9 30.5 9 30.1981C9 24.5731 12.15 21.625 16.5 21.625H24C28.35 21.625 31.5 24.0062 31.5 29.6312C31.5 30.1981 26.5 35 20 35ZM20.25 19.75C23.3397 19.7096 25.8346 17.2147 25.875 14.125C25.875 11.0184 23.3566 8.5 20.25 8.5C17.1434 8.5 14.625 11.0184 14.625 14.125C14.6654 17.2147 17.1603 19.7096 20.25 19.75Z",fill:t.chat.avatar.foreground,"fill-rule":"evenodd"})]})},MA=({children:t,senderRole:e})=>{const n=On(r=>XO(r,e));return k.jsx(pe,{accessible:!0,style:n.bubble,children:t})},XO=({color:t,size:e},n)=>{const r=n===tt.user,i=12;return he.create({bubble:{flexShrink:1,borderRadius:i,borderBottomRightRadius:r?0:i,borderBottomLeftRadius:r?i:0,backgroundColor:t.chat.message[n].background,paddingHorizontal:e.spacing.md,paddingVertical:e.spacing.sm}})};try{MA.displayName="ChatMessageBubble",MA.__docgenInfo={description:"",displayName:"ChatMessageBubble",props:{senderRole:{defaultValue:null,description:"",name:"senderRole",required:!0,type:{name:"enum",value:[{value:'"Chatbot"'},{value:'"Agent"'},{value:'"System"'},{value:'"USER"'}]}}}}}catch{}const Lr=({message:t,children:e,isText:n=!0})=>{const r=t.sender.role===tt.user;return k.jsxs(ln,{align:r?"end":"start",gutter:"sm",valign:"end",children:[t.sender.role===tt.chatbot&&k.jsx(UO,{}),t.sender.role===tt.employee&&k.jsx(WO,{}),n?k.jsx(MA,{senderRole:t.sender.role,children:e}):e]})};try{Lr.displayName="ChatMessageEntry",Lr.__docgenInfo={description:"",displayName:"ChatMessageEntry",props:{isText:{defaultValue:{value:"true"},description:"",name:"isText",required:!1,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const PA=({accessibilityLabel:t="Afbeelding, miniatuurweergave.",fileName:e="afbeelding.jpg",imageSource:n,thumbnailSize:r,headerTitle:i,...a})=>{const[s,o]=_.useState(!1),[l,c]=_.useState(),u=Ls(),A=()=>{o(!s)},d=_.useMemo(()=>{if(typeof n!="number")return n&&typeof n=="object"&&"uri"in n?n.uri:void 0},[n]);_.useEffect(()=>{fs.getSize(d??"",(h,g)=>c(h/g),h=>Wc(h))},[d]);const f=On(h=>YO(h,r,u,l)),p=d==null?void 0:d.startsWith("file://");return k.jsxs(pe,{children:[k.jsx(Of,{...a,accessibilityLabel:t,onPress:A,testID:"ThumbnailViewerThumbnailPressable",children:k.jsx(fs,{source:n,style:f.thumbnail,testID:"ThumbnailViewerThumbnailImage"})}),k.jsx(i1,{animationType:"fade",onRequestClose:A,supportedOrientations:["portrait","landscape"],testID:"ThumbnailViewerModal",transparent:!0,visible:s,children:k.jsxs(pe,{style:f.overlay,children:[k.jsx(hr,{children:k.jsxs(ln,{align:"between",children:[k.jsx(bi,{accessibilityLabel:"Terug",icon:k.jsx(Mn,{color:"link",name:"chevron-left",size:"lg",testID:"ThumbnailViewerCloseIcon"}),onPress:A,testID:"ThumbnailViewerCloseButton"}),!!i&&k.jsx(Al,{text:i}),k.jsx(bi,{accessibilityLabel:"Download de afbeelding.",icon:k.jsx(Mn,{color:"link",name:"download",size:"lg",testID:"ThumbnailViewerDownloadIcon"}),onPress:()=>uh({localUri:p?d:void 0,downloadUri:p?void 0:d,fileName:e}),testID:"ThumbnailViewerDownloadButton"})]})}),k.jsx(fs,{accessibilityLabel:"Afbeelding",accessible:!0,resizeMode:"contain",source:n,style:f.fullImage,testID:"ThumbnailViewerFullImage"})]})})]})},YO=({color:t,size:e,z:n},r,i,a)=>he.create({thumbnail:{width:r,height:r},overlay:{flex:1,backgroundColor:t.box.distinct,justifyContent:"center",zIndex:n.overlay,paddingTop:ue.OS==="android"?0:i.top,paddingRight:i.right,paddingBottom:e.spacing.md+i.bottom,paddingLeft:i.left},fullImage:{aspectRatio:a,alignSelf:"center",maxWidth:"100%",maxHeight:"100%",flex:1}});try{PA.displayName="ThumbnailViewer",PA.__docgenInfo={description:"",displayName:"ThumbnailViewer",props:{fileName:{defaultValue:{value:"afbeelding.jpg"},description:"",name:"fileName",required:!1,type:{name:"string"}},headerTitle:{defaultValue:null,description:"",name:"headerTitle",required:!1,type:{name:"string"}},imageSource:{defaultValue:null,description:"",name:"imageSource",required:!0,type:{name:"ImageSourcePropType | undefined"}},thumbnailSize:{defaultValue:null,description:"",name:"thumbnailSize",required:!0,type:{name:"DimensionValue"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial<Record<CustomDimensionKeys, string>>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"tertiary"'},{value:'"transparent"'}]}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const zO=220,FA=({image:t,message:{sender:e,senderDisplayName:n}})=>{const r=e.role===tt.user,i=qO(r);return k.jsx(pe,{style:i.container,children:k.jsx(PA,{accessibilityLabel:`Miniatuurweergave van door ${r?"u":n} gedeelde afbeelding.`,fileName:t.name,imageSource:{uri:t.url},thumbnailSize:zO})})},qO=t=>he.create({container:{overflow:"hidden",alignItems:"center",justifyContent:"center",borderRadius:12,borderBottomRightRadius:t?0:12,borderBottomLeftRadius:t?12:0}});try{FA.displayName="ChatMessageImage",FA.__docgenInfo={description:"",displayName:"ChatMessageImage",props:{image:{defaultValue:null,description:"",name:"image",required:!0,type:{name:"Attachment"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const RA=({message:t})=>{const e=t.attachments[0].mimeType.startsWith("image"),n=t.sender.role===tt.employee;return k.jsx(k.Fragment,{children:t.attachments.map(r=>e?k.jsx(Lr,{isText:!1,message:t,children:k.jsx(FA,{image:r,message:t})},r.id):k.jsx(Lr,{message:t,children:k.jsxs(ln,{grow:1,gutter:"sm",valign:"center",children:[k.jsx(Mn,{color:n?"link":"inverse",name:"document",size:"lg",testID:""}),n?k.jsx(Df,{accessibilityLabel:`Bijlage gedeeld door ${t.senderDisplayName}. Dubbeltik om bijlage te downloaden.`,ellipsizeMode:"middle",emphasis:"strong",inverse:t.sender.role===tt.user,numberOfLines:1,onPress:()=>{uh({downloadUri:r.url,fileName:r.name})},testID:"ChatEntryAttachmentsInlineLink",children:r.name}):k.jsx(kn,{color:"inverse",testID:"ChatEntryAttachmentFileName",textAlign:"center",children:r.name})]})},r.id))})};try{RA.displayName="EntryAttachments",RA.__docgenInfo={description:"",displayName:"EntryAttachments",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryAttachments"}}}}}catch{}const zt=({isLastOfRole:t})=>k.jsx(Xc,{height:t?"md":"sm"});try{zt.displayName="EntryGutter",zt.__docgenInfo={description:"",displayName:"EntryGutter",props:{isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}}}}}catch{}const fl=({message:{choices:t},isLastOfRole:e})=>{const[n,r]=_.useState(!1),i=_.useCallback(a=>{CI(a).then(()=>r(!0))},[]);return t&&!n?k.jsxs(k.Fragment,{children:[k.jsx(Xc,{height:"sm"}),k.jsx(ln,{align:"end",gutter:"sm",wrap:!0,children:t.map(({optionId:a,title:s,optionValue:o,parentEntryId:l})=>k.jsx(zd,{accessibilityLabel:`Keuzeknop: ${s}`,label:s,onPress:()=>i({optionId:a,title:s,optionValue:o,parentEntryId:l}),testID:`ChatHistoryChoices${s}`,variant:"secondary"},a))}),k.jsx(zt,{isLastOfRole:e})]}):null};try{fl.displayName="EntryChoices",fl.__docgenInfo={description:"",displayName:"EntryChoices",props:{isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryQuickReplies"}}}}}catch{}const NA=({message:t,isLastOfRole:e})=>t.operations.some(r=>r.type===Om.add&&r.participant.role===tt.employee)?k.jsxs(k.Fragment,{children:[k.jsx(Yc,{icon:"person",testID:`ChatSystemMessage${t.format}`,text:"U chat nu met een medewerker"}),k.jsx(zt,{isLastOfRole:e})]}):null;try{NA.displayName="EntryParticipantChanged",NA.__docgenInfo={description:"",displayName:"EntryParticipantChanged",props:{isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryParticipantChanged"}}}}}catch{}const KO=(t,e,n=r=>r)=>{const r=/((?:(?:https?:\/\/)|(?:www.))[^\s]+)/g;return t.split(r).filter(a=>a.length>0).map(a=>r.test(a)?e(a.startsWith("http")?a:`http://${a}`):n(a))},$O=(t,e,n)=>KO(t,r=>k.jsx(Df,{inverse:n,onPress:()=>e(r),testID:`InlineLink${r}`,children:r})),Os=({children:t,message:e,testID:n,...r})=>{const i=Gm();return k.jsx(kn,{...r,color:e.sender.role===tt.user?"inverse":void 0,testID:n,children:$O(t,i,e.sender.role===tt.user)})};try{Os.displayName="MessagePhrase",Os.__docgenInfo={description:"",displayName:"MessagePhrase",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}},testID:{defaultValue:null,description:"Used to locate this view in end-to-end tests.",name:"testID",required:!1,type:{name:"string"}},color:{defaultValue:null,description:"Defines the color of the phrase. Maps with the text color tokens.",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"inverse"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"warning"'}]}},emphasis:{defaultValue:null,description:"Allows the phrase to convey more emphasis.",name:"emphasis",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"strong"'}]}},flexShrink:{defaultValue:null,description:"Defines how to shrink the phrase in case the parent container is smaller than the phrase.",name:"flexShrink",required:!1,type:{name:"number"}},"logging-label":{defaultValue:null,description:"Label used for logging to Piwik and AppInsights.",name:"logging-label",required:!1,type:{name:"string"}},textAlign:{defaultValue:null,description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"auto"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},underline:{defaultValue:null,description:"Whether the phrase is underlined. Use this for a link only.",name:"underline",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"Which variation of a phrase to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}}}}}catch{}const jO=t=>{if(!t)return null;const n=RegExp(/https?:\/\/([^/?]+)/).exec(t);return n!=null&&n[1]?n[1]:t},BA=({message:t})=>{const e=a1(),{title:n,url:r}=t,i=jO(r);return k.jsxs(Lr,{message:t,children:[k.jsx(Df,{emphasis:"strong",inverse:t.sender.role===tt.user,onPress:()=>r&&e(r),testID:"ChatMessageRichLinkUrl",children:n}),!!i&&k.jsx(Os,{message:t,testID:"ChatRichLinkTitle",children:i})]})};try{BA.displayName="EntryRichLink",BA.__docgenInfo={description:"",displayName:"EntryRichLink",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryRichLink"}}}}}catch{}const QO=10,ZO=8,lg=8,JO=({activeSize:t,inactiveSize:e,index:n,sharedValue:r})=>{const{color:i}=Nn(),a=e4(t,e),s=Fn(()=>{const o=n===Math.floor(r.value);return{backgroundColor:o?i.chat.loading.active:i.chat.loading.inactive,height:j(o?t:e),width:j(o?t:e)}},[n,r]);return k.jsx(pe,{style:a.loadingDot,children:k.jsx($t.View,{style:[a.loadingDotInner,s]})})},ks=({dotActiveSize:t=QO,dotInactiveSize:e=ZO})=>{const n=ct(0);return _.useEffect(()=>{n.value=Zf(j(4,{duration:1e3,easing:Ze.bezier(.5,.5,.5,1)}),-1)},[n]),k.jsx(ln,{align:"center",gutter:"xs",valign:"center",children:Array.from({length:3}).map((r,i)=>k.jsx(JO,{activeSize:t,inactiveSize:e,index:i,sharedValue:n},i))})},e4=(t,e)=>he.create({loadingDot:{justifyContent:"center",alignItems:"center",marginHorizontal:e*3/4-t/2,borderRadius:lg,height:t,width:t},loadingDotInner:{borderRadius:lg}});try{ks.displayName="LoadingDots",ks.__docgenInfo={description:"",displayName:"LoadingDots",props:{dotActiveSize:{defaultValue:{value:"10"},description:"",name:"dotActiveSize",required:!1,type:{name:"number"}},dotInactiveSize:{defaultValue:{value:"8"},description:"",name:"dotInactiveSize",required:!1,type:{name:"number"}}}}}catch{}const t4=t=>t<=60?"minder dan een minuut":`${Math.ceil(t/60)} minuten`,GA=({message:{isEWTAvailable:t,estimatedWaitTime:e,routingType:n},isLastOfRole:r})=>{const{isWaitingForAgent:i}=_.useContext(dn);return n!==km.transfer||!i?null:k.jsxs(k.Fragment,{children:[k.jsxs(Dn,{gutter:"sm",halign:"center",children:[k.jsx(ks,{dotActiveSize:15,dotInactiveSize:12}),k.jsx(kn,{emphasis:"strong",testID:"ChatEntryRoutingResultPhrase",children:"Een medewerker neemt het gesprek over."}),!!t&&k.jsxs(kn,{testID:"ChatEntryRoutingResultEstimatedWaitingTimePhrase",children:["Geschatte wachttijd: ",t4(e)]})]}),k.jsx(zt,{isLastOfRole:r})]})};try{GA.displayName="EntryRoutingResult",GA.__docgenInfo={description:"",displayName:"EntryRoutingResult",props:{isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryRoutingResult"}}}}}catch{}const LA=({message:t,isLastOfRole:e})=>{const{messages:n,isEnded:r}=_.useContext(dn);return t.workType!==Mm.closed||!r||n.filter(i=>i.format===ve.routingWorkResult).slice(-1)[0].entryId!==t.entryId?null:k.jsxs(k.Fragment,{children:[k.jsx(Yc,{icon:"chat",testID:"ChatEntryRoutingWorkResult",text:`Chat gestopt om ${dh((t==null?void 0:t.timestamp)??nu().unix()).format("HH:mm")}`}),k.jsx(zt,{isLastOfRole:e})]})};try{LA.displayName="EntryRoutingWorkResult",LA.__docgenInfo={description:"",displayName:"EntryRoutingWorkResult",props:{isLast:{defaultValue:null,description:"",name:"isLast",required:!0,type:{name:"boolean"}},isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryRoutingWorkResult"}}}}}catch{}const VA=({message:t})=>{var e;return k.jsx(Lr,{message:t,children:k.jsx(Os,{message:t,testID:"ChatEntrySelections",children:(e=t.selections)==null?void 0:e.map(n=>n.title).join(", ")})})};try{VA.displayName="EntrySelections",VA.__docgenInfo={description:"",displayName:"EntrySelections",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntrySelections"}}}}}catch{}const vs=({message:t})=>{const e=t.sender.role===tt.user;return k.jsx(Lr,{message:t,children:k.jsx(Os,{accessibilityLabel:e?`Uw bericht: ${t.text}`:`${t.text} ontvangen van ${t.senderDisplayName}`,message:t,testID:"ChatEntryText",children:t.text})})};try{vs.displayName="EntryText",vs.__docgenInfo={description:"",displayName:"EntryText",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryText"}}}}}catch{}const HA=({message:t})=>{const{downloadedTranscriptIds:e}=_.useContext(dn);return e.includes(t.entryId)?k.jsx(Yc,{icon:"download",testID:"ChatEntryTranscript",text:"Chat gedownload"}):null};try{HA.displayName="EntryTranscript",HA.__docgenInfo={description:"",displayName:"EntryTranscript",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const UA=({dotActiveSize:t,dotInactiveSize:e,message:n})=>k.jsx(Lr,{message:n,children:k.jsx(hr,{insetVertical:"xs",children:k.jsx(ks,{dotActiveSize:t,dotInactiveSize:e})})});try{UA.displayName="EntryTypingIndicator",UA.__docgenInfo={description:"",displayName:"EntryTypingIndicator",props:{dotActiveSize:{defaultValue:null,description:"",name:"dotActiveSize",required:!1,type:{name:"number"}},dotInactiveSize:{defaultValue:null,description:"",name:"dotInactiveSize",required:!1,type:{name:"number"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryTypingStartedIndicator"}}}}}catch{}const n4={[ve.selections]:{Component:VA,agentInfo:!0,LastComponent:zt},[ve.text]:{Component:vs,agentInfo:!0,LastComponent:zt},[ve.attachments]:{Component:RA,agentInfo:!1,LastComponent:zt},[ve.carousel]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.deliveryAcknowledgement]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.imageMessage]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.inputs]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.listPicker]:{Component:vs,LastComponent:fl,agentInfo:!0},[ve.participantChanged]:{Component:NA,agentInfo:!1},[ve.quickReplies]:{Component:vs,LastComponent:fl,agentInfo:!0},[ve.result]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.richLink]:{Component:BA,agentInfo:!0,LastComponent:zt},[ve.routingResult]:{Component:GA,agentInfo:!1},[ve.routingWorkResult]:{Component:LA,agentInfo:!1},[ve.typingStartedIndicator]:{Component:UA,agentInfo:!1,LastComponent:zt},[ve.typingStoppedIndicator]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.unspecified]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.webview]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.transcript]:{Component:HA,LastComponent:zt}},WA=({message:t,isLast:e,isLastOfRole:n})=>{const r=n4[t.format];if(!r)return null;const{Component:i,agentInfo:a,LastComponent:s}=r;return!i&&!s&&!a?null:k.jsxs($t.View,{entering:_i,children:[!!i&&k.jsx(i,{isLast:e,isLastOfRole:n,message:t}),!!a&&k.jsx(kA,{isLast:e,isLastOfRole:n,message:t}),!!s&&k.jsx(s,{isLast:e,isLastOfRole:n,message:t})]})};try{WA.displayName="Entry",WA.__docgenInfo={description:"",displayName:"Entry",props:{isLast:{defaultValue:null,description:"",name:"isLast",required:!0,type:{name:"boolean"}},isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const r4=()=>{const t=_.useRef(null),e=i4(),{messages:n}=_.useContext(dn);return k.jsx(ya,{contentContainerStyle:e.contentContainer,keyboardShouldPersistTaps:"handled",onContentSizeChange:()=>{var r;return(r=t==null?void 0:t.current)==null?void 0:r.scrollToEnd()},onScrollBeginDrag:ua.dismiss,ref:t,style:e.scrollView,testID:"ChatHistoryScrollView",children:k.jsx(hr,{grow:!0,insetHorizontal:"md",children:k.jsxs(Dn,{children:[k.jsx(OA,{firstMessage:n[0]}),k.jsx(Xc,{height:"md"}),n.map((r,i)=>{var s;const a=((s=n[i+1])==null?void 0:s.sender.role)!==r.sender.role;return k.jsx(WA,{isLast:i===n.length-1,isLastOfRole:a,message:r},r.entryId+i)})]})})})},i4=()=>he.create({contentContainer:{flexGrow:1},scrollView:{flex:1}}),a4=()=>{const[t,e]=_.useState(0),[n,r]=_.useState(!1);return _.useEffect(()=>{const i=l=>{e(l.endCoordinates.height)},a=()=>{r(!1)},s=ua.addListener("keyboardDidShow",i),o=ua.addListener("keyboardDidHide",a);return()=>{s.remove(),o.remove()}},[]),{height:t,visible:n}},s4={async getDocumentAsync({type:t="*/*",multiple:e=!1}){if(!Di.isDOMAvailable)return{canceled:!0,assets:null};const n=document.createElement("input");return n.style.display="none",n.setAttribute("type","file"),n.setAttribute("accept",Array.isArray(t)?t.join(","):t),n.setAttribute("id",String(Math.random())),e&&n.setAttribute("multiple","multiple"),document.body.appendChild(n),new Promise((r,i)=>{n.addEventListener("change",async()=>{if(n.files){const s=[];for(let o=0;o<n.files.length;o++)s.push(o4(n.files[o]));try{const o=await Promise.all(s);r({canceled:!1,assets:o,output:n.files})}catch(o){i(o)}}else r({canceled:!0,assets:null});document.body.removeChild(n)}),n.addEventListener("cancel",()=>{r({canceled:!0,assets:null})});const a=new MouseEvent("click");n.dispatchEvent(a)})}};function o4(t){return new Promise((e,n)=>{const r=t.type,i=new FileReader;i.onerror=()=>{n(new Error("Failed to read the selected media because the operation failed."))},i.onload=({target:a})=>{const s=a.result;e({uri:s,mimeType:r,name:t.name,lastModified:t.lastModified,size:t.size,file:t})},i.readAsDataURL(t)})}async function l4({type:t="*/*",copyToCacheDirectory:e=!0,multiple:n=!1}={}){return typeof t=="string"&&(t=[t]),await s4.getDocumentAsync({type:t,copyToCacheDirectory:e,multiple:n})}var or;(function(t){t.All="All",t.Videos="Videos",t.Images="Images"})(or||(or={}));var cg;(function(t){t[t.Passthrough=0]="Passthrough",t[t.LowQuality=1]="LowQuality",t[t.MediumQuality=2]="MediumQuality",t[t.HighestQuality=3]="HighestQuality",t[t.H264_640x480=4]="H264_640x480",t[t.H264_960x540=5]="H264_960x540",t[t.H264_1280x720=6]="H264_1280x720",t[t.H264_1920x1080=7]="H264_1920x1080",t[t.H264_3840x2160=8]="H264_3840x2160",t[t.HEVC_1920x1080=9]="HEVC_1920x1080",t[t.HEVC_3840x2160=10]="HEVC_3840x2160"})(cg||(cg={}));var ug;(function(t){t[t.High=0]="High",t[t.Medium=1]="Medium",t[t.Low=2]="Low",t[t.VGA640x480=3]="VGA640x480",t[t.IFrame1280x720=4]="IFrame1280x720",t[t.IFrame960x540=5]="IFrame960x540"})(ug||(ug={}));var dg;(function(t){t.FULL_SCREEN="fullScreen",t.PAGE_SHEET="pageSheet",t.FORM_SHEET="formSheet",t.CURRENT_CONTEXT="currentContext",t.OVER_FULL_SCREEN="overFullScreen",t.OVER_CURRENT_CONTEXT="overCurrentContext",t.POPOVER="popover",t.AUTOMATIC="automatic"})(dg||(dg={}));var Ag;(function(t){t.Automatic="automatic",t.Compatible="compatible",t.Current="current"})(Ag||(Ag={}));var fg;(function(t){t.back="back",t.front="front"})(fg||(fg={}));const c4={[or.All]:"video/mp4,video/quicktime,video/x-m4v,video/*,image/*",[or.Images]:"image/*",[or.Videos]:"video/mp4,video/quicktime,video/x-m4v,video/*"},hl={async launchImageLibraryAsync({mediaTypes:t=or.Images,allowsMultipleSelection:e=!1,base64:n=!1}){return Di.isDOMAvailable?await hg({mediaTypes:t,allowsMultipleSelection:e,base64:n}):{canceled:!0,assets:null}},async launchCameraAsync({mediaTypes:t=or.Images,allowsMultipleSelection:e=!1,base64:n=!1}){return Di.isDOMAvailable?await hg({mediaTypes:t,allowsMultipleSelection:e,capture:!0,base64:n}):{canceled:!0,assets:null}},async getCameraPermissionsAsync(){return fo()},async requestCameraPermissionsAsync(){return fo()},async getMediaLibraryPermissionsAsync(t){return fo()},async requestMediaLibraryPermissionsAsync(t){return fo()}};function fo(){return{status:wA.GRANTED,expires:"never",granted:!0,canAskAgain:!0}}function hg({mediaTypes:t,capture:e=!1,allowsMultipleSelection:n=!1,base64:r}){const i=c4[t],a=document.createElement("input");return a.style.display="none",a.setAttribute("type","file"),a.setAttribute("accept",i),a.setAttribute("id",String(Math.random())),n&&a.setAttribute("multiple","multiple"),e&&a.setAttribute("capture","camera"),document.body.appendChild(a),new Promise(s=>{a.addEventListener("change",async()=>{if(a.files){const l=n?a.files:[a.files[0]],c=await Promise.all(Array.from(l).map(u=>u4(u,{base64:r})));s({canceled:!1,assets:c})}else s({canceled:!0,assets:null});document.body.removeChild(a)});const o=new MouseEvent("click");a.dispatchEvent(o)})}function u4(t,e){return new Promise((n,r)=>{const i=new FileReader;i.onerror=()=>{r(new Error("Failed to read the selected media because the operation failed."))},i.onload=({target:a})=>{const s=a.result,o=()=>n({uri:s,width:0,height:0});if(typeof s=="string"){const l=new Image;l.src=s,l.onload=()=>{n({uri:s,width:l.naturalWidth??l.width,height:l.naturalHeight??l.height,mimeType:t.type,fileName:t.name,...e.base64&&{base64:s.substr(s.indexOf(",")+1)}})},l.onerror=()=>o()}else o()},i.readAsDataURL(t)})}function d4(t){const{aspect:e,quality:n,videoMaxDuration:r}=t;if(e!=null){const[i,a]=e;if(i<=0||a<=0)throw new Ro("ERR_INVALID_ARGUMENT",`Invalid aspect ratio values ${i}:${a}. Provide positive numbers.`)}if(n&&(n<0||n>1))throw new Ro("ERR_INVALID_ARGUMENT",`Invalid 'quality' value ${n}. Provide a value between 0 and 1.`);if(r&&r<0)throw new Ro("ERR_INVALID_ARGUMENT",`Invalid 'videoMaxDuration' value ${r}. Provide a non-negative number.`);return t}async function A4(t={}){if(!hl.launchCameraAsync)throw new lt("ImagePicker","launchCameraAsync");return await hl.launchCameraAsync(d4(t))}async function f4(t){if(!hl.launchImageLibraryAsync)throw new lt("ImagePicker","launchImageLibraryAsync");return t!=null&&t.allowsEditing&&t.allowsMultipleSelection&&console.warn("[expo-image-picker] `allowsEditing` is not supported when `allowsMultipleSelection` is enabled and will be ignored.Disable either 'allowsEditing' or 'allowsMultipleSelection' in 'launchImageLibraryAsync' to fix this warning."),await hl.launchImageLibraryAsync(t??{})}const h4=async t=>t===ti.notifications?(await dI(["alert","badge","carPlay","sound"])).status:uI(t),kE=t=>{const e=et(sI(t)),n=Bn(),r=Hc(),i=_.useCallback(()=>new Promise((a,s)=>{h4(t).then(o=>{const l=o===zc.GRANTED;n(ip({permission:t,granted:l})),a(l)}).catch(o=>{n(ip({permission:t,granted:!1})),r(Zn.updatePermission,"usePermission.ts",{error:o,permission:t,request:!0}),s(o)})}),[n,t,r]);return{hasPermission:e,requestPermission:i}},ms=_.forwardRef(({onPress:t,iconName:e,testID:n,label:r},i)=>{const a=On(p4);return k.jsx(zm,{onPress:t,ref:i,testID:n,children:k.jsxs(Dn,{gutter:"xs",halign:"center",children:[k.jsx(pe,{style:a.circle,children:k.jsx(Mn,{color:"link",name:e,size:"xl",testID:n+"Icon"})}),k.jsx(kn,{testID:n+"Phrase",children:r})]})})}),p4=({color:t,size:e})=>he.create({circle:{backgroundColor:t.chat.attachmentButtonCircle.background,borderRadius:50,padding:e.spacing.md}});try{ms.displayName="ChatAttachmentButton",ms.__docgenInfo={description:"",displayName:"ChatAttachmentButton",props:{iconName:{defaultValue:null,description:"",name:"iconName",required:!0,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const zi="ChatAttachment.tsx",XA=({onSelect:t,minHeight:e})=>{const n=Hm(Mf.long),r=On(g4),i=Hc(),{hasPermission:a,requestPermission:s}=kE(ti.camera),o=_.useCallback(()=>{f4({mediaTypes:or.Images,allowsMultipleSelection:!1,allowsEditing:!1,base64:!0}).then(u=>{var A,d;if((A=u.assets)!=null&&A[0].uri){const f=(d=u.assets)==null?void 0:d[0];cp(f.base64,f.fileName??"image.png",f.uri).then(t,p=>{Jn.alert("Sorry, opsturen van de afbeelding is mislukt. Probeer het later nog eens."),i(Zn.chatSendImageFromLibrary,zi,{error:p})})}},u=>{Jn.alert("Afbeelding kiezen is mislukt","Sorry, kiezen van een afbeelding is mislukt. Probeer het later nog eens."),i(Zn.chatPickImageFromLibrary,zi,{error:u})})},[t,i]),l=_.useCallback(async()=>{a||await s(),A4({mediaTypes:or.Images,allowsMultipleSelection:!1,allowsEditing:!1,base64:!0}).then(u=>{var A,d;if((A=u.assets)!=null&&A[0].uri){const f=(d=u.assets)==null?void 0:d[0];cp(f.base64,f.fileName??"image.png",f.uri).then(t,p=>{Jn.alert("Foto opsturen is niet gelukt","Sorry, opsturen van de afbeelding is mislukt. Probeer het later nog eens."),i(Zn.chatSendImageFromCamera,zi,{error:p})})}},u=>{Jn.alert("Foto maken is niet gelukt","Sorry, maken van een foto is mislukt. Probeer het later nog eens."),i(Zn.chatTakeImageWithCamera,zi,{error:u})})},[a,s,t,i]),c=_.useCallback(()=>{l4({type:"application/pdf"}).then(u=>{var d;const A=(d=u.assets)==null?void 0:d[0];if(A){const{uri:f,name:p}=A;xI(f,p).then(t,h=>{Jn.alert("PDF opsturen is mislukt","Sorry, opsturen van het PDF document is mislukt. Probeer het later nog eens."),i(Zn.chatSendPDF,zi,{error:h})})}},u=>{Jn.alert("PDF kiezen is mislukt","Sorry, kiezen van een PDF document is mislukt. Probeer het later nog eens."),i(Zn.chatPickPDF,zi,{error:u})})},[t,i]);return k.jsx($t.View,{entering:_i,style:[r.attachments,{minHeight:Math.round(e??0)}],children:k.jsx(hr,{children:k.jsxs(ln,{align:"evenly",gutter:"sm",children:[k.jsx(ms,{iconName:"picture",label:"Foto",onPress:o,ref:n,testID:"pdf"}),k.jsx(ms,{iconName:"camera",label:"Camera",onPress:l,testID:"pdf"}),k.jsx(ms,{iconName:"document",label:"PDF",onPress:c,testID:"pdf"})]})})})},g4=({color:t})=>he.create({attachments:{backgroundColor:t.chat.attachment.background}});try{XA.displayName="ChatAttachment",XA.__docgenInfo={description:"",displayName:"ChatAttachment",props:{minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"number"}},onSelect:{defaultValue:null,description:"",name:"onSelect",required:!0,type:{name:"() => void"}}}}}catch{}const v4=()=>{const{close:t}=Ri(),{addDownloadedTranscriptId:e}=_.useContext(dn);return k.jsx(hr,{children:k.jsxs(Dn,{gutter:"smd",children:[k.jsx(zd,{label:"Chat downloaden",onPress:()=>{mE().then(n=>n&&e(n))},testID:"ChatEndedDownloadButton",variant:"secondary"}),k.jsx(zd,{label:"Chat sluiten",onPress:t,testID:"ChatEndedCloseButton"})]})})},YA=({onSubmit:t})=>{const e=Ff(),n=Ls(),r=On(m4),i=On(C4),[a,s]=_.useState(""),o=_.useRef(null),{value:l,disable:c,enable:u}=lE(!1),A=_.useCallback(E=>{s(E),EI()},[]),d=_.useCallback(E=>{t(E),s("")},[t]),{height:f,visible:p}=a4(),{employeeInChat:h,isEnded:g}=_.useContext(dn);return g?k.jsx(v4,{}):k.jsxs(k.Fragment,{children:[k.jsx(s1,{behavior:ue.OS==="ios"?"padding":"height",keyboardVerticalOffset:n.top,children:k.jsx(hr,{children:k.jsxs(ln,{gutter:"sm",children:[!!h&&k.jsx(bi,{accessibilityLabel:l?"Naar toetsenbord":"Naar bijlages",hitSlop:16,icon:k.jsx(Mn,{color:"link",name:l?"keyboard":"attachment",size:"xl",testID:"ChatAttachmentsIcon"}),onPress:()=>{var E;l?((E=o.current)==null||E.focus(),c()):(ua.dismiss(),setTimeout(u,300))},testID:"ChatAttachmentsButton"}),k.jsxs(pe,{style:r.container,testID:"ChatTextInputContainer",children:[k.jsx(Rf,{...i,autoFocus:e,multiline:!0,onChangeText:A,onFocus:c,placeholder:"Typ uw bericht",ref:o,style:r.textInput,testID:"ChatTextInput",value:a}),a.length>0&&k.jsxs(pe,{style:r.buttonWrapper,children:[k.jsx(pe,{style:r.spacePlaceholder}),k.jsx(zm,{onPress:()=>d(a),style:r.button,testID:"ChatTextInputSendButton",children:k.jsx(Mn,{color:"inverse",name:"chevron-right",testID:"ChatTextInputSendButtonIcon"})})]})]})]})})}),!!l&&!p&&k.jsx(XA,{minHeight:f,onSelect:c})]})},pg=40,m4=({border:t,color:e,text:n,size:r})=>he.create({button:{backgroundColor:e.pressable.primary.default.background,alignItems:"center",justifyContent:"center",height:pg,width:pg},buttonWrapper:{height:"100%"},spacePlaceholder:{flexGrow:1},container:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderWidth:t.width.sm,padding:r.spacing.xs,columnGap:r.spacing.sm,flex:1},textInput:{flex:1,color:e.text.default,fontFamily:n.fontFamily.regular,fontSize:n.fontSize.body,padding:0,paddingLeft:r.spacing.md,paddingTop:r.spacing.sm,paddingBottom:r.spacing.sm}}),C4=({color:t})=>({placeholderTextColor:t.text.secondary});try{YA.displayName="ChatInput",YA.__docgenInfo={description:"",displayName:"ChatInput",props:{onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!0,type:{name:"(message: string) => void"}}}}}catch{}const E4=1e3,zA=({children:t})=>{const{ready:e}=_.useContext(dn),[n,r]=_.useState(!1);return _.useEffect(()=>{TE(E4).then(()=>{r(!0)})},[]),k.jsx(k.Fragment,{children:n&&!e?k.jsx(g1,{grow:!0,children:k.jsxs(Dn,{gutter:"sm",children:[k.jsx(ks,{dotActiveSize:15,dotInactiveSize:12}),k.jsx(Wm,{level:"h4",testID:"ChatWaitToStartTitle",text:"De chat wordt geladen",textAlign:"center"})]})}):t})};try{zA.displayName="ChatWaitToStart",zA.__docgenInfo={description:"",displayName:"ChatWaitToStart",props:{}}}catch{}const x4=()=>{const{isOpen:t}=Ri();return t?k.jsx(IA,{children:k.jsxs(DA,{children:[k.jsx(NO,{}),k.jsxs(zA,{children:[k.jsx(yA,{children:k.jsx(r4,{})}),k.jsx(YA,{onSubmit:mI})]})]})}):null},y4=["conversationId"],I4={hiddenInMenu:!0,name:"ChatModule",PostRenderComponent:x4,reduxConfigs:[{key:le.chat,persistVersion:0,persistWhitelist:y4,slice:oE}],slug:Ke.chat,alwaysEnabled:!0},gg={seenTips:[]},w4=He({name:le.productTour,initialState:gg,reducers:{resetSeenTips:()=>gg,addSeenTip:(t,{payload:e})=>{const{seenTips:n}=t;!n.includes(e)&&n.push(e)}}}),{addSeenTip:S4,resetSeenTips:W6}=w4.actions,b4=t=>{var e;return(e=t[le.productTour])==null?void 0:e.seenTips};var ME=(t=>(t.cityPassSecurityCode="cityPassSecurityCode",t.cityPassShowPassesButton="cityPassShowPassesButton",t.constructionWorkProjectFollowButton="constructionWorkProjectFollowButton",t))(ME||{}),qA=(t=>(t.cityPassSecurityCode="Je hebt de beveiligingscode nodig om betalingen te doen met hoge bedragen",t.cityPassShowPassesButton="Druk op de knop om je Stadspas te laten zien",t.constructionWorkProjectFollowButton="Volg een project en blijf op de hoogte van onze werkzaamheden",t))(qA||{});const _4=ya,PE=_.createContext(null),FE=(t,e="ref")=>{const n=({children:r,...i})=>{const a=_.useRef(null),[s,o]=_.useState(null),[l,c]=_.useState(!1),u=_.useCallback(async()=>{if(!(a!=null&&a.current)||!s)return!1;const[f,p]=await Promise.all([jh(a.current),jh(s)]);c(m1(f,p))},[a,s]),A={...i,onLayout:u,onScroll:u,[e]:a,scrollEventThrottle:16},d=_.useMemo(()=>({isElementVisible:l,setElementRef:o}),[l,o]);return _.useEffect(()=>{u()},[u]),k.jsx(t,{...A,children:k.jsx(PE.Provider,{value:d,children:r})})};return _.forwardRef((r,i)=>k.jsx(n,{...r,childRef:i}))},vg=FE(_4,"innerRef"),mg=FE(ya);try{vg.displayName="KeyboardAwareTrackScrollView",vg.__docgenInfo={description:"",displayName:"KeyboardAwareTrackScrollView",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},withBottomInset:{defaultValue:null,description:"",name:"withBottomInset",required:!1,type:{name:"boolean"}},childRef:{defaultValue:null,description:"",name:"childRef",required:!1,type:{name:"ForwardedRef<ScrollViewRef>"}}}}}catch{}try{mg.displayName="TrackScrollView",mg.__docgenInfo={description:"",displayName:"TrackScrollView",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},withBottomInset:{defaultValue:null,description:"",name:"withBottomInset",required:!1,type:{name:"boolean"}},childRef:{defaultValue:null,description:"",name:"childRef",required:!1,type:{name:"ForwardedRef<ScrollViewRef>"}}}}}catch{}const KA=({children:t,extraSpace:e,tipSlug:n,placement:r,testID:i})=>{const a=Bn(),o=et(b4).includes(n),l=Ff(),c=_.useContext(PE),u=c===null,{setElementRef:A,isElementVisible:d}=c??{},f=_.useRef(null),{layout:p,measureTarget:h}=C1(f),g=_.useCallback(()=>{(u||d)&&!o&&a(S4(n))},[a,u,o,d,n]);return E1(g),k.jsxs(pe,{testID:"ProductTourTipWrapper",children:[!o&&!l&&!!p&&k.jsx(x1,{accessibilityLabel:qA[n],extraSpace:e,fadeIn:!0,onPress:g,placement:r,productTourTipTargetLayout:p,ref:A,startFadeIn:d??u,testID:i,text:qA[n]}),k.jsx(pe,{collapsable:!1,onLayout:h,ref:f,children:t})]})};try{KA.displayName="ProductTourTipWrapper",KA.__docgenInfo={description:"",displayName:"ProductTourTipWrapper",props:{extraSpace:{defaultValue:null,description:"",name:"extraSpace",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},tipSlug:{defaultValue:null,description:"",name:"tipSlug",required:!0,type:{name:"enum",value:[{value:'"cityPassSecurityCode"'},{value:'"cityPassShowPassesButton"'},{value:'"constructionWorkProjectFollowButton"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const D4=He({name:le.secureStorage,initialState:{},reducers:{setSecureItemUpdatedTimestamp:(t,{payload:e})=>{Object.assign(t,{[e]:Date.now()})},deleteSecureItemUpdatedTimestamp:(t,{payload:e})=>{t[e]&&delete t[e]}}});D4.actions;const T4=t=>e=>e[le.secureStorage][t],O4={setItem:()=>{}};var RE=(t=>(t.accessCode="accessCode",t.cityPassAccessToken="cityPassAccessToken",t.cityPassRefreshToken="cityPassRefreshToken",t.cityPasses="cityPasses",t))(RE||{});const k4=t=>new Promise((e,n)=>{O4.getItem(t).then(r=>e(r)).catch(n)}),M4=t=>{const[e,n]=_.useState(!0),[r,i]=_.useState(null),a=et(T4(t));return _.useEffect(()=>{k4(t).then(s=>{i(s),n(!1)}).catch(()=>{i(null),n(!1)})},[t,a]),{item:r,isLoading:e}},P4=t=>t.map(e=>({dateEndFormatted:e.d,firstname:e.f,infix:e.i,lastname:e.l,passNumberComplete:e.p})),NE=()=>{const{item:t}=M4(RE.cityPasses);return _.useMemo(()=>t?P4(JSON.parse(t)):[],[t])},F4={isCityPassesVisible:!1,isCityPassOwnerRegistered:!1,startIndex:0},BE=He({name:le.cityPass,initialState:F4,reducers:{hideCityPasses:t=>{t.isCityPassesVisible=!1},setIsCityPassOwnerRegistered:(t,{payload:e})=>{t.isCityPassOwnerRegistered=e},showCityPasses:(t,{payload:e})=>{t.isCityPassesVisible=!0,t.startIndex=e??0}}}),{hideCityPasses:R4,setIsCityPassOwnerRegistered:X6,showCityPasses:N4}=BE.actions,B4=t=>t[le.cityPass].isCityPassesVisible,G4=t=>t[le.cityPass].startIndex,L4=()=>{const t=Bn(),e=NE();return e!=null&&e.length?k.jsx(KA,{extraSpace:"md",placement:I1.below,testID:"HeaderShowCityPassesTooltip",tipSlug:ME.cityPassShowPassesButton,children:k.jsx(bi,{accessibilityLabel:"Toon Stadspas",icon:k.jsx(Mn,{color:"link",name:"city-pass-pass",size:"lg",testID:"HeaderCityPassIcon"}),onPress:()=>t(N4()),testID:"HeaderCityPassButton"})}):null};var ai;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.PORTRAIT_UP=1]="PORTRAIT_UP",t[t.PORTRAIT_DOWN=2]="PORTRAIT_DOWN",t[t.LANDSCAPE_LEFT=3]="LANDSCAPE_LEFT",t[t.LANDSCAPE_RIGHT=4]="LANDSCAPE_RIGHT"})(ai||(ai={}));var vt;(function(t){t[t.DEFAULT=0]="DEFAULT",t[t.ALL=1]="ALL",t[t.PORTRAIT=2]="PORTRAIT",t[t.PORTRAIT_UP=3]="PORTRAIT_UP",t[t.PORTRAIT_DOWN=4]="PORTRAIT_DOWN",t[t.LANDSCAPE=5]="LANDSCAPE",t[t.LANDSCAPE_LEFT=6]="LANDSCAPE_LEFT",t[t.LANDSCAPE_RIGHT=7]="LANDSCAPE_RIGHT",t[t.OTHER=8]="OTHER",t[t.UNKNOWN=9]="UNKNOWN"})(vt||(vt={}));var Cg;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.COMPACT=1]="COMPACT",t[t.REGULAR=2]="REGULAR"})(Cg||(Cg={}));var mt;(function(t){t.PORTRAIT_PRIMARY="portrait-primary",t.PORTRAIT_SECONDARY="portrait-secondary",t.PORTRAIT="portrait",t.LANDSCAPE_PRIMARY="landscape-primary",t.LANDSCAPE_SECONDARY="landscape-secondary",t.LANDSCAPE="landscape",t.ANY="any",t.NATURAL="natural",t.UNKNOWN="unknown"})(mt||(mt={}));var ea;(function(t){t.PORTRAIT_PRIMARY="portrait-primary",t.PORTRAIT_SECONDARY="portrait-secondary",t.LANDSCAPE_PRIMARY="landscape-primary",t.LANDSCAPE_SECONDARY="landscape-secondary"})(ea||(ea={}));const Eg={[vt.DEFAULT]:mt.NATURAL,[vt.ALL]:mt.ANY,[vt.PORTRAIT]:mt.PORTRAIT,[vt.PORTRAIT_UP]:mt.PORTRAIT_PRIMARY,[vt.PORTRAIT_DOWN]:mt.PORTRAIT_SECONDARY,[vt.LANDSCAPE]:mt.LANDSCAPE,[vt.LANDSCAPE_LEFT]:mt.LANDSCAPE_PRIMARY,[vt.LANDSCAPE_RIGHT]:mt.LANDSCAPE_SECONDARY},V4={[ea.PORTRAIT_PRIMARY]:ai.PORTRAIT_UP,[ea.PORTRAIT_SECONDARY]:ai.PORTRAIT_DOWN,[ea.LANDSCAPE_PRIMARY]:ai.LANDSCAPE_LEFT,[ea.LANDSCAPE_SECONDARY]:ai.LANDSCAPE_RIGHT},Me=Di.canUseViewport?window.screen:{},Bu=Di.canUseViewport&&(Me.orientation||Me.msOrientation)||null;async function xg(){const[t,e]=await Promise.all([Y4(),X4()]);Xd.emit("expoDidUpdateDimensions",{orientationLock:t,orientationInfo:{orientation:e}})}Di.canUseEventListeners&&(Bu&&Bu.addEventListener?Bu.addEventListener("change",xg):window.addEventListener("orientationchange",xg));function H4(t){switch(t){case mt.UNKNOWN:throw new Error("expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock to be converted.");case mt.ANY:return["portrait","landscape"];case mt.NATURAL:return"default";default:return t}}async function yg(t){if(t===mt.UNKNOWN)throw new Error("expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock that can be applied to the device.");if(Me.orientation&&Me.orientation.lock)await Me.orientation.lock(t);else if(Me.lockOrientation||Me.mozLockOrientation||Me.msLockOrientation){const e=H4(t);if(!(Me.lockOrientation||Me.mozLockOrientation||Me.msLockOrientation).call(Me,e))throw new Error(`Applying orientation lock: ${JSON.stringify(t)} to device was denied`)}else throw new Error("expo-screen-orientation: The browser doesn't support locking screen orientation.")}let Ig=mt.UNKNOWN;const fr={async supportsOrientationLockAsync(t){return t in Eg},async getPlatformOrientationLockAsync(){return Ig},async getOrientationAsync(){const t=Me.msOrientation||(Me.orientation||Me.mozOrientation||{}).type;return t?V4[t]:ai.UNKNOWN},async lockAsync(t){const e=Eg[t];if(!e)throw new TypeError(`Invalid Orientation Lock: ${t}`);await yg(e)},async lockPlatformAsync(t){await yg(t),Ig=t},async unlockAsync(){if(Me.orientation&&Me.orientation.unlock)Me.orientation.unlock();else if(Me.unlockOrientation||Me.mozUnlockOrientation||Me.msUnlockOrientation){if(!(Me.unlockOrientation||Me.mozUnlockOrientation||Me.msUnlockOrientation).call(Me))throw new Error("Unlocking screen orientation on device was denied")}else throw new Error("expo-screen-orientation: The browser doesn't support unlocking screen orientation.")}};new uE(fr);let GE=vt.UNKNOWN;async function U4(t){if(!fr.lockAsync)throw new lt("ScreenOrientation","lockAsync");if(!Object.values(vt).includes(t))throw new TypeError(`Invalid Orientation Lock: ${t}`);t!==vt.OTHER&&(await fr.lockAsync(t),GE=t)}async function W4(){if(!fr.lockAsync)throw new lt("ScreenOrientation","lockAsync");await fr.lockAsync(vt.DEFAULT)}async function X4(){if(!fr.getOrientationAsync)throw new lt("ScreenOrientation","getOrientationAsync");return await fr.getOrientationAsync()}async function Y4(){return fr.getOrientationLockAsync?await fr.getOrientationLockAsync():GE}const z4=He({name:le.overlay,initialState:{isOpen:!1},reducers:{closeOverlay:t=>{t.isOpen=!1},openOverlay:t=>{t.isOpen=!0},toggleOverlay:t=>{t.isOpen=!t.isOpen}}}),{closeOverlay:q4,openOverlay:K4,toggleOverlay:$4}=z4.actions,j4=()=>{const t=Bn();return{isOpen:et(n=>n[le.overlay].isOpen),..._.useMemo(()=>({close:()=>t(q4()),open:()=>t(K4()),toggle:()=>t($4())}),[t])}},$A=({backgroundColor:t,children:e,closeButtonContainerWidth:n,onClose:r,...i})=>{const a=Bn(),{close:s,isOpen:o,open:l}=j4(),{setHideFromAccessibility:c}=ph(),u=On(A=>Q4(A,n));return _.useEffect(()=>(l(),()=>{s()}),[s,a,l]),_.useEffect(()=>(c(o),()=>{c(!1)}),[o,c]),k.jsx($t.View,{...i,entering:_i,exiting:Is,style:[i.style,he.absoluteFill,u.container,{backgroundColor:t}],children:k.jsxs(Dn,{gutter:"md",children:[k.jsx(Of,{onPress:r,testID:"OverlayCloseButton",variant:"transparent",children:k.jsx(ln,{align:"center",children:k.jsx(pe,{style:u.closeButtonInnerContainer,children:k.jsxs(ln,{gutter:"md",valign:"center",children:[k.jsx(Mn,{color:"inverse",name:"close",size:"lg",testID:"OverlayCloseButtonIcon"}),k.jsx(kn,{color:"inverse",testID:"OverlayCloseButtonPhrase",children:"Sluiten"})]})})})}),e]})})},Q4=({z:t},e)=>he.create({container:{flex:1,justifyContent:"center",alignItems:"center",zIndex:t.overlay},closeButtonInnerContainer:{width:e}});try{$A.displayName="Overlay",$A.__docgenInfo={description:"",displayName:"Overlay",props:{backgroundColor:{defaultValue:null,description:"",name:"backgroundColor",required:!0,type:{name:"string"}},closeButtonContainerWidth:{defaultValue:null,description:"Used to outline close-button on top of another component",name:"closeButtonContainerWidth",required:!1,type:{name:"number"}},onClose:{defaultValue:null,description:"",name:"onClose",required:!0,type:{name:"() => void"}}}}}catch{}const Z4=`The package 'react-native-block-screenshot' doesn't seem to be linked. Make sure: + See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.`)}function f(){typeof process<"u";var C=function(y){return Array.from(y.values()).flatMap(function(x){return x?Object.values(x):[]})};return cl(cl([],C(s)),C(o)).filter(Pu)}function p(C,y){return function(x){var w,b=a.endpointDefinitions[C],D=e({queryArgs:y,endpointDefinition:b,endpointName:C});return(w=s.get(x))==null?void 0:w[D]}}function h(C,y){return function(x){var w;return(w=o.get(x))==null?void 0:w[y]}}function g(){return function(C){return Object.values(s.get(C)||{}).filter(Pu)}}function E(){return function(C){return Object.values(o.get(C)||{}).filter(Pu)}}function m(C,y){var x=function(w,b){var D=b===void 0?{}:b,I=D.subscribe,S=I===void 0?!0:I,O=D.forceRefetch,T=D.subscriptionOptions,M=Ds,P=D[M];return function(R,W){var N,U,Y=e({queryArgs:w,endpointDefinition:y,endpointName:C}),G=n((N={type:"query",subscribe:S,forceRefetch:O,subscriptionOptions:T,endpointName:C,originalArgs:w,queryCacheKey:Y},N[Ds]=P,N)),H=i.endpoints[C].select(w),L=R(G),B=H(W()),X=L.requestId,z=L.abort,q=B.requestId!==X,Q=(U=s.get(R))==null?void 0:U[Y],ae=function(){return H(W())},te=Object.assign(P?L.then(ae):q&&!Q?Promise.resolve(B):Promise.all([Q,L]).then(ae),{arg:w,requestId:X,subscriptionOptions:T,queryCacheKey:Y,abort:z,unwrap:function(){return pa(this,null,function(){var Z;return ha(this,function(ie){switch(ie.label){case 0:return[4,te];case 1:if(Z=ie.sent(),Z.isError)throw Z.error;return[2,Z.data]}})})},refetch:function(){return R(x(w,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){S&&R(c({queryCacheKey:Y,requestId:X}))},updateSubscriptionOptions:function(Z){te.subscriptionOptions=Z,R(A({endpointName:C,requestId:X,queryCacheKey:Y,options:Z}))}});if(!Q&&!q&&!P){var re=s.get(R)||{};re[Y]=te,s.set(R,re),te.then(function(){delete re[Y],Object.keys(re).length||s.delete(R)})}return te}};return x}function v(C){return function(y,x){var w=x===void 0?{}:x,b=w.track,D=b===void 0?!0:b,I=w.fixedCacheKey;return function(S,O){var T=r({type:"mutation",endpointName:C,originalArgs:y,track:D,fixedCacheKey:I}),M=S(T),P=M.requestId,R=M.abort,W=M.unwrap,N=M.unwrap().then(function(H){return{data:H}}).catch(function(H){return{error:H}}),U=function(){S(u({requestId:P,fixedCacheKey:I}))},Y=Object.assign(N,{arg:M.arg,requestId:P,abort:R,unwrap:W,unsubscribe:U,reset:U}),G=o.get(S)||{};return o.set(S,G),G[P]=Y,Y.then(function(){delete G[P],Object.keys(G).length||o.delete(S)}),I&&(G[I]=Y,Y.then(function(){G[I]===Y&&(delete G[I],Object.keys(G).length||o.delete(S))})),Y}}}}function $p(t){return t}function O2(t){var e=this,n=t.reducerPath,r=t.baseQuery,i=t.context.endpointDefinitions,a=t.serializeQueryArgs,s=t.api,o=t.assertTagType,l=function(C,y,x,w){return function(b,D){var I=i[C],S=a({queryArgs:y,endpointDefinition:I,endpointName:C});if(b(s.internalActions.queryResultPatched({queryCacheKey:S,patches:x})),!!w){var O=s.endpoints[C].select(y)(D()),T=hh(I.providesTags,O.data,void 0,y,{},o);b(s.internalActions.updateProvidedBy({queryCacheKey:S,providedTags:T}))}}},c=function(C,y,x,w){return w===void 0&&(w=!0),function(b,D){var I,S,O=s.endpoints[C],T=O.select(y)(D()),M={patches:[],inversePatches:[],undo:function(){return b(s.util.patchQueryData(C,y,M.inversePatches,w))}};if(T.status===Re.uninitialized)return M;var P;if("data"in T)if(Zy(T.data)){var R=Fm(T.data,x),W=R[0],N=R[1],U=R[2];(I=M.patches).push.apply(I,N),(S=M.inversePatches).push.apply(S,U),P=W}else P=x(T.data),M.patches.push({op:"replace",path:[],value:P}),M.inversePatches.push({op:"replace",path:[],value:T.data});return b(s.util.patchQueryData(C,y,M.patches,w)),M}},u=function(C,y,x){return function(w){var b;return w(s.endpoints[C].initiate(y,(b={subscribe:!1,forceRefetch:!0},b[Ds]=function(){return{data:x}},b)))}},A=function(C,y){return pa(e,[C,y],function(x,w){var b,D,I,S,O,T,M,P,R,W,N,U,Y,G,H,L,B,X,z=w.signal,q=w.abort,Q=w.rejectWithValue,ae=w.fulfillWithValue,te=w.dispatch,re=w.getState,Z=w.extra;return ha(this,function(ie){switch(ie.label){case 0:b=i[x.endpointName],ie.label=1;case 1:return ie.trys.push([1,8,,13]),D=$p,I=void 0,S={signal:z,abort:q,dispatch:te,getState:re,extra:Z,endpoint:x.endpointName,type:x.type,forced:x.type==="query"?d(x,re()):void 0},O=x.type==="query"?x[Ds]:void 0,O?(I=O(),[3,6]):[3,2];case 2:return b.query?[4,r(b.query(x.originalArgs),S,b.extraOptions)]:[3,4];case 3:return I=ie.sent(),b.transformResponse&&(D=b.transformResponse),[3,6];case 4:return[4,b.queryFn(x.originalArgs,S,b.extraOptions,function(we){return r(we,S,b.extraOptions)})];case 5:I=ie.sent(),ie.label=6;case 6:if(typeof process<"u",I.error)throw new sa(I.error,I.meta);return N=ae,[4,D(I.data,I.meta,x.originalArgs)];case 7:return[2,N.apply(void 0,[ie.sent(),(B={fulfilledTimeStamp:Date.now(),baseQueryMeta:I.meta},B[js]=!0,B)])];case 8:if(U=ie.sent(),Y=U,!(Y instanceof sa))return[3,12];G=$p,b.query&&b.transformErrorResponse&&(G=b.transformErrorResponse),ie.label=9;case 9:return ie.trys.push([9,11,,12]),H=Q,[4,G(Y.value,Y.meta,x.originalArgs)];case 10:return[2,H.apply(void 0,[ie.sent(),(X={baseQueryMeta:Y.meta},X[js]=!0,X)])];case 11:return L=ie.sent(),Y=L,[3,12];case 12:throw typeof process<"u",console.error(Y),Y;case 13:return[2]}})})};function d(C,y){var x,w,b,D,I=(w=(x=y[n])==null?void 0:x.queries)==null?void 0:w[C.queryCacheKey],S=(b=y[n])==null?void 0:b.config.refetchOnMountOrArgChange,O=I==null?void 0:I.fulfilledTimeStamp,T=(D=C.forceRefetch)!=null?D:C.subscribe&&S;return T?T===!0||(Number(new Date)-Number(O))/1e3>=T:!1}var f=Xh(n+"/executeQuery",A,{getPendingMeta:function(){var C;return C={startedTimeStamp:Date.now()},C[js]=!0,C},condition:function(C,y){var x=y.getState,w,b,D,I=x(),S=(b=(w=I[n])==null?void 0:w.queries)==null?void 0:b[C.queryCacheKey],O=S==null?void 0:S.fulfilledTimeStamp,T=C.originalArgs,M=S==null?void 0:S.originalArgs,P=i[C.endpointName];return _A(C)?!0:(S==null?void 0:S.status)==="pending"?!1:d(C,I)||SE(P)&&((D=P==null?void 0:P.forceRefetch)!=null&&D.call(P,{currentArg:T,previousArg:M,endpointState:S,state:I}))?!0:!O},dispatchConditionRejection:!0}),p=Xh(n+"/executeMutation",A,{getPendingMeta:function(){var C;return C={startedTimeStamp:Date.now()},C[js]=!0,C}}),h=function(C){return"force"in C},g=function(C){return"ifOlderThan"in C},E=function(C,y,x){return function(w,b){var D=h(x)&&x.force,I=g(x)&&x.ifOlderThan,S=function(P){return P===void 0&&(P=!0),s.endpoints[C].initiate(y,{forceRefetch:P})},O=s.endpoints[C].select(y)(b());if(D)w(S());else if(I){var T=O==null?void 0:O.fulfilledTimeStamp;if(!T){w(S());return}var M=(Number(new Date)-Number(new Date(T)))/1e3>=I;M&&w(S())}else w(S(!1))}};function m(C){return function(y){var x,w;return((w=(x=y==null?void 0:y.meta)==null?void 0:x.arg)==null?void 0:w.endpointName)===C}}function v(C,y){return{matchPending:du(Rm(C),m(y)),matchFulfilled:du(xa(C),m(y)),matchRejected:du(Nm(C),m(y))}}return{queryThunk:f,mutationThunk:p,prefetch:E,updateQueryData:c,upsertQueryData:u,patchQueryData:l,buildMatchThunkActions:v}}function bE(t,e,n,r){return hh(n[t.meta.arg.endpointName][e],xa(t)?t.payload:void 0,Sf(t)?t.payload:void 0,t.meta.arg.originalArgs,"baseQueryMeta"in t.meta?t.meta.baseQueryMeta:void 0,r)}function lo(t,e,n){var r=t[e];r&&n(r)}function Ts(t){var e;return(e="arg"in t?t.arg.fixedCacheKey:t.fixedCacheKey)!=null?e:t.requestId}function jp(t,e,n){var r=t[Ts(e)];r&&n(r)}var Fa={};function k2(t){var e=t.reducerPath,n=t.queryThunk,r=t.mutationThunk,i=t.context,a=i.endpointDefinitions,s=i.apiUid,o=i.extractRehydrationInfo,l=i.hasRehydrationInfo,c=t.assertTagType,u=t.config,A=Ea(e+"/resetApiState"),d=He({name:e+"/queries",initialState:Fa,reducers:{removeQueryResult:{reducer:function(y,x){var w=x.payload.queryCacheKey;delete y[w]},prepare:Ta()},queryResultPatched:{reducer:function(y,x){var w=x.payload,b=w.queryCacheKey,D=w.patches;lo(y,b,function(I){I.data=Yh(I.data,D.concat())})},prepare:Ta()}},extraReducers:function(y){y.addCase(n.pending,function(x,w){var b=w.meta,D=w.meta.arg,I,S,O=_A(D);(D.subscribe||O)&&((S=x[I=D.queryCacheKey])!=null||(x[I]={status:Re.uninitialized,endpointName:D.endpointName})),lo(x,D.queryCacheKey,function(T){T.status=Re.pending,T.requestId=O&&T.requestId?T.requestId:b.requestId,D.originalArgs!==void 0&&(T.originalArgs=D.originalArgs),T.startedTimeStamp=b.startedTimeStamp})}).addCase(n.fulfilled,function(x,w){var b=w.meta,D=w.payload;lo(x,b.arg.queryCacheKey,function(I){var S;if(!(I.requestId!==b.requestId&&!_A(b.arg))){var O=a[b.arg.endpointName].merge;if(I.status=Re.fulfilled,O)if(I.data!==void 0){var T=b.fulfilledTimeStamp,M=b.arg,P=b.baseQueryMeta,R=b.requestId,W=bf(I.data,function(N){return O(N,D,{arg:M.originalArgs,baseQueryMeta:P,fulfilledTimeStamp:T,requestId:R})});I.data=W}else I.data=D;else I.data=(S=a[b.arg.endpointName].structuralSharing)==null||S?yE(Jy(I.data)?e1(I.data):I.data,D):D;delete I.error,I.fulfilledTimeStamp=b.fulfilledTimeStamp}})}).addCase(n.rejected,function(x,w){var b=w.meta,D=b.condition,I=b.arg,S=b.requestId,O=w.error,T=w.payload;lo(x,I.queryCacheKey,function(M){if(!D){if(M.requestId!==S)return;M.status=Re.rejected,M.error=T??O}})}).addMatcher(l,function(x,w){for(var b=o(w).queries,D=0,I=Object.entries(b);D<I.length;D++){var S=I[D],O=S[0],T=S[1];((T==null?void 0:T.status)===Re.fulfilled||(T==null?void 0:T.status)===Re.rejected)&&(x[O]=T)}})}}),f=He({name:e+"/mutations",initialState:Fa,reducers:{removeMutationResult:{reducer:function(y,x){var w=x.payload,b=Ts(w);b in y&&delete y[b]},prepare:Ta()}},extraReducers:function(y){y.addCase(r.pending,function(x,w){var b=w.meta,D=w.meta,I=D.requestId,S=D.arg,O=D.startedTimeStamp;S.track&&(x[Ts(b)]={requestId:I,status:Re.pending,endpointName:S.endpointName,startedTimeStamp:O})}).addCase(r.fulfilled,function(x,w){var b=w.payload,D=w.meta;D.arg.track&&jp(x,D,function(I){I.requestId===D.requestId&&(I.status=Re.fulfilled,I.data=b,I.fulfilledTimeStamp=D.fulfilledTimeStamp)})}).addCase(r.rejected,function(x,w){var b=w.payload,D=w.error,I=w.meta;I.arg.track&&jp(x,I,function(S){S.requestId===I.requestId&&(S.status=Re.rejected,S.error=b??D)})}).addMatcher(l,function(x,w){for(var b=o(w).mutations,D=0,I=Object.entries(b);D<I.length;D++){var S=I[D],O=S[0],T=S[1];((T==null?void 0:T.status)===Re.fulfilled||(T==null?void 0:T.status)===Re.rejected)&&O!==(T==null?void 0:T.requestId)&&(x[O]=T)}})}}),p=He({name:e+"/invalidation",initialState:Fa,reducers:{updateProvidedBy:{reducer:function(y,x){for(var w,b,D,I,S=x.payload,O=S.queryCacheKey,T=S.providedTags,M=0,P=Object.values(y);M<P.length;M++)for(var R=P[M],W=0,N=Object.values(R);W<N.length;W++){var U=N[W],Y=U.indexOf(O);Y!==-1&&U.splice(Y,1)}for(var G=0,H=T;G<H.length;G++){var L=H[G],B=L.type,X=L.id,z=(I=(b=(w=y[B])!=null?w:y[B]={})[D=X||"__internal_without_id"])!=null?I:b[D]=[],q=z.includes(O);q||z.push(O)}},prepare:Ta()}},extraReducers:function(y){y.addCase(d.actions.removeQueryResult,function(x,w){for(var b=w.payload.queryCacheKey,D=0,I=Object.values(x);D<I.length;D++)for(var S=I[D],O=0,T=Object.values(S);O<T.length;O++){var M=T[O],P=M.indexOf(b);P!==-1&&M.splice(P,1)}}).addMatcher(l,function(x,w){for(var b,D,I,S,O=o(w).provided,T=0,M=Object.entries(O);T<M.length;T++)for(var P=M[T],R=P[0],W=P[1],N=0,U=Object.entries(W);N<U.length;N++)for(var Y=U[N],G=Y[0],H=Y[1],L=(S=(D=(b=x[R])!=null?b:x[R]={})[I=G||"__internal_without_id"])!=null?S:D[I]=[],B=0,X=H;B<X.length;B++){var z=X[B],q=L.includes(z);q||L.push(z)}}).addMatcher(Pm(xa(n),Sf(n)),function(x,w){var b=bE(w,"providesTags",a,c),D=w.meta.arg.queryCacheKey;p.caseReducers.updateProvidedBy(x,p.actions.updateProvidedBy({queryCacheKey:D,providedTags:b}))})}}),h=He({name:e+"/subscriptions",initialState:Fa,reducers:{updateSubscriptionOptions:function(y,x){},unsubscribeQueryResult:function(y,x){},internal_probeSubscription:function(y,x){}}}),g=He({name:e+"/internalSubscriptions",initialState:Fa,reducers:{subscriptionsUpdated:{reducer:function(y,x){return Yh(y,x.payload)},prepare:Ta()}}}),E=He({name:e+"/config",initialState:Ne({online:C2(),focused:E2(),middlewareRegistered:!1},u),reducers:{middlewareRegistered:function(y,x){var w=x.payload;y.middlewareRegistered=y.middlewareRegistered==="conflict"||s!==w?"conflict":!0}},extraReducers:function(y){y.addCase(fh,function(x){x.online=!0}).addCase(wE,function(x){x.online=!1}).addCase(Ah,function(x){x.focused=!0}).addCase(IE,function(x){x.focused=!1}).addMatcher(l,function(x){return Ne({},x)})}}),m=Qy({queries:d.reducer,mutations:f.reducer,provided:p.reducer,subscriptions:g.reducer,config:E.reducer}),v=function(y,x){return m(A.match(x)?void 0:y,x)},C=bn(Ne(Ne(Ne(Ne(Ne(Ne({},E.actions),d.actions),h.actions),g.actions),f.actions),p.actions),{unsubscribeMutationResult:f.actions.removeMutationResult,resetApiState:A});return{reducer:v,actions:C}}var ii=Symbol.for("RTKQ/skipToken"),_E={status:Re.uninitialized},Qp=bf(_E,function(){}),Zp=bf(_E,function(){});function M2(t){var e=t.serializeQueryArgs,n=t.reducerPath,r=function(u){return Qp},i=function(u){return Zp};return{buildQuerySelector:o,buildMutationSelector:l,selectInvalidatedBy:c};function a(u){return Ne(Ne({},u),h2(u.status))}function s(u){var A=u[n];return A}function o(u,A){return function(d){var f=e({queryArgs:d,endpointDefinition:A,endpointName:u}),p=function(g){var E,m,v;return(v=(m=(E=s(g))==null?void 0:E.queries)==null?void 0:m[f])!=null?v:Qp},h=d===ii?r:p;return xi(h,a)}}function l(){return function(u){var A,d;typeof u=="object"?d=(A=Ts(u))!=null?A:ii:d=u;var f=function(h){var g,E,m;return(m=(E=(g=s(h))==null?void 0:g.mutations)==null?void 0:E[d])!=null?m:Zp},p=d===ii?i:f;return xi(p,a)}}function c(u,A){for(var d,f=u[n],p=new Set,h=0,g=A.map(bA);h<g.length;h++){var E=g[h],m=f.provided[E.type];if(m)for(var v=(d=E.id!==void 0?m[E.id]:Xp(Object.values(m)))!=null?d:[],C=0,y=v;C<y.length;C++){var x=y[C];p.add(x)}}return Xp(Array.from(p.values()).map(function(w){var b=f.queries[w];return b?[{queryCacheKey:w,endpointName:b.endpointName,originalArgs:b.originalArgs}]:[]}))}}var co=WeakMap?new WeakMap:void 0,Jp=function(t){var e=t.endpointName,n=t.queryArgs,r="",i=co==null?void 0:co.get(n);if(typeof i=="string")r=i;else{var a=JSON.stringify(n,function(s,o){return Si(o)?Object.keys(o).sort().reduce(function(l,c){return l[c]=o[c],l},{}):o});Si(n)&&(co==null||co.set(n,a)),r=a}return e+"("+r+")"};function P2(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(r){var i=qd(function(u){var A,d;return(d=r.extractRehydrationInfo)==null?void 0:d.call(r,u,{reducerPath:(A=r.reducerPath)!=null?A:"api"})}),a=bn(Ne({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1},r),{extractRehydrationInfo:i,serializeQueryArgs:function(u){var A=Jp;if("serializeQueryArgs"in u.endpointDefinition){var d=u.endpointDefinition.serializeQueryArgs;A=function(f){var p=d(f);return typeof p=="string"?p:Jp(bn(Ne({},f),{queryArgs:p}))}}else r.serializeQueryArgs&&(A=r.serializeQueryArgs);return A(u)},tagTypes:cl([],r.tagTypes||[])}),s={endpointDefinitions:{},batch:function(u){u()},apiUid:$y(),extractRehydrationInfo:i,hasRehydrationInfo:qd(function(u){return i(u)!=null})},o={injectEndpoints:c,enhanceEndpoints:function(u){var A=u.addTagTypes,d=u.endpoints;if(A)for(var f=0,p=A;f<p.length;f++){var h=p[f];a.tagTypes.includes(h)||a.tagTypes.push(h)}if(d)for(var g=0,E=Object.entries(d);g<E.length;g++){var m=E[g],v=m[0],C=m[1];typeof C=="function"?C(s.endpointDefinitions[v]):Object.assign(s.endpointDefinitions[v]||{},C)}return o}},l=t.map(function(u){return u.init(o,a,s)});function c(u){for(var A=u.endpoints({query:function(C){return bn(Ne({},C),{type:Rn.query})},mutation:function(C){return bn(Ne({},C),{type:Rn.mutation})}}),d=0,f=Object.entries(A);d<f.length;d++){var p=f[d],h=p[0],g=p[1];if(!u.overrideExisting&&h in s.endpointDefinitions){typeof process<"u";continue}s.endpointDefinitions[h]=g;for(var E=0,m=l;E<m.length;E++){var v=m[E];v.injectEndpoint(h,g)}}return o}return o.injectEndpoints({endpoints:r.endpoints})}}function F2(t){for(var e in t)return!1;return!0}var R2=2147483647/1e3-1,N2=function(t){var e=t.reducerPath,n=t.api,r=t.context,i=t.internalState,a=n.internalActions,s=a.removeQueryResult,o=a.unsubscribeQueryResult;function l(d){var f=i.currentSubscriptions[d];return!!f&&!F2(f)}var c={},u=function(d,f,p){var h;if(o.match(d)){var g=f.getState()[e],E=d.payload.queryCacheKey;A(E,(h=g.queries[E])==null?void 0:h.endpointName,f,g.config)}if(n.util.resetApiState.match(d))for(var m=0,v=Object.entries(c);m<v.length;m++){var C=v[m],y=C[0],x=C[1];x&&clearTimeout(x),delete c[y]}if(r.hasRehydrationInfo(d))for(var g=f.getState()[e],w=r.extractRehydrationInfo(d).queries,b=0,D=Object.entries(w);b<D.length;b++){var I=D[b],E=I[0],S=I[1];A(E,S==null?void 0:S.endpointName,f,g.config)}};function A(d,f,p,h){var g,E=r.endpointDefinitions[f],m=(g=E==null?void 0:E.keepUnusedDataFor)!=null?g:h.keepUnusedDataFor;if(m!==1/0){var v=Math.max(0,Math.min(m,R2));if(!l(d)){var C=c[d];C&&clearTimeout(C),c[d]=setTimeout(function(){l(d)||p.dispatch(s({queryCacheKey:d})),delete c[d]},v*1e3)}}}return u},B2=function(t){var e=t.reducerPath,n=t.context,r=t.context.endpointDefinitions,i=t.mutationThunk,a=t.api,s=t.assertTagType,o=t.refetchQuery,l=a.internalActions.removeQueryResult,c=Pm(xa(i),Sf(i)),u=function(d,f){c(d)&&A(bE(d,"invalidatesTags",r,s),f),a.util.invalidateTags.match(d)&&A(hh(d.payload,void 0,void 0,void 0,void 0,s),f)};function A(d,f){var p=f.getState(),h=p[e],g=a.util.selectInvalidatedBy(p,d);n.batch(function(){for(var E,m=Array.from(g.values()),v=0,C=m;v<C.length;v++){var y=C[v].queryCacheKey,x=h.queries[y],w=(E=h.subscriptions[y])!=null?E:{};x&&(Object.keys(w).length===0?f.dispatch(l({queryCacheKey:y})):x.status!==Re.uninitialized&&f.dispatch(o(x,y)))}})}return u},G2=function(t){var e=t.reducerPath,n=t.queryThunk,r=t.api,i=t.refetchQuery,a=t.internalState,s={},o=function(f,p){(r.internalActions.updateSubscriptionOptions.match(f)||r.internalActions.unsubscribeQueryResult.match(f))&&c(f.payload,p),(n.pending.match(f)||n.rejected.match(f)&&f.meta.condition)&&c(f.meta.arg,p),(n.fulfilled.match(f)||n.rejected.match(f)&&!f.meta.condition)&&l(f.meta.arg,p),r.util.resetApiState.match(f)&&A()};function l(f,p){var h=f.queryCacheKey,g=p.getState()[e],E=g.queries[h],m=a.currentSubscriptions[h];if(!(!E||E.status===Re.uninitialized)){var v=d(m);if(Number.isFinite(v)){var C=s[h];C!=null&&C.timeout&&(clearTimeout(C.timeout),C.timeout=void 0);var y=Date.now()+v,x=s[h]={nextPollTimestamp:y,pollingInterval:v,timeout:setTimeout(function(){x.timeout=void 0,p.dispatch(i(E,h))},v)}}}}function c(f,p){var h=f.queryCacheKey,g=p.getState()[e],E=g.queries[h],m=a.currentSubscriptions[h];if(!(!E||E.status===Re.uninitialized)){var v=d(m);if(!Number.isFinite(v)){u(h);return}var C=s[h],y=Date.now()+v;(!C||y<C.nextPollTimestamp)&&l({queryCacheKey:h},p)}}function u(f){var p=s[f];p!=null&&p.timeout&&clearTimeout(p.timeout),delete s[f]}function A(){for(var f=0,p=Object.keys(s);f<p.length;f++){var h=p[f];u(h)}}function d(f){f===void 0&&(f={});var p=Number.POSITIVE_INFINITY;for(var h in f)f[h].pollingInterval&&(p=Math.min(f[h].pollingInterval,p));return p}return o},L2=function(t){var e=t.reducerPath,n=t.context,r=t.api,i=t.refetchQuery,a=t.internalState,s=r.internalActions.removeQueryResult,o=function(c,u){Ah.match(c)&&l(u,"refetchOnFocus"),fh.match(c)&&l(u,"refetchOnReconnect")};function l(c,u){var A=c.getState()[e],d=A.queries,f=a.currentSubscriptions;n.batch(function(){for(var p=0,h=Object.keys(f);p<h.length;p++){var g=h[p],E=d[g],m=f[g];if(!(!m||!E)){var v=Object.values(m).some(function(C){return C[u]===!0})||Object.values(m).every(function(C){return C[u]===void 0})&&A.config[u];v&&(Object.keys(m).length===0?c.dispatch(s({queryCacheKey:g})):E.status!==Re.uninitialized&&c.dispatch(i(E,g)))}}})}return o},eg=new Error("Promise never resolved before cacheEntryRemoved."),V2=function(t){var e=t.api,n=t.reducerPath,r=t.context,i=t.queryThunk,a=t.mutationThunk;t.internalState;var s=zh(i),o=zh(a),l=xa(i,a),c={},u=function(f,p,h){var g=A(f);if(i.pending.match(f)){var E=h[n].queries[g],m=p.getState()[n].queries[g];!E&&m&&d(f.meta.arg.endpointName,f.meta.arg.originalArgs,g,p,f.meta.requestId)}else if(a.pending.match(f)){var m=p.getState()[n].mutations[g];m&&d(f.meta.arg.endpointName,f.meta.arg.originalArgs,g,p,f.meta.requestId)}else if(l(f)){var v=c[g];v!=null&&v.valueResolved&&(v.valueResolved({data:f.payload,meta:f.meta.baseQueryMeta}),delete v.valueResolved)}else if(e.internalActions.removeQueryResult.match(f)||e.internalActions.removeMutationResult.match(f)){var v=c[g];v&&(delete c[g],v.cacheEntryRemoved())}else if(e.util.resetApiState.match(f))for(var C=0,y=Object.entries(c);C<y.length;C++){var x=y[C],w=x[0],v=x[1];delete c[w],v.cacheEntryRemoved()}};function A(f){return s(f)?f.meta.arg.queryCacheKey:o(f)?f.meta.requestId:e.internalActions.removeQueryResult.match(f)?f.payload.queryCacheKey:e.internalActions.removeMutationResult.match(f)?Ts(f.payload):""}function d(f,p,h,g,E){var m=r.endpointDefinitions[f],v=m==null?void 0:m.onCacheEntryAdded;if(v){var C={},y=new Promise(function(S){C.cacheEntryRemoved=S}),x=Promise.race([new Promise(function(S){C.valueResolved=S}),y.then(function(){throw eg})]);x.catch(function(){}),c[h]=C;var w=e.endpoints[f].select(m.type===Rn.query?p:h),b=g.dispatch(function(S,O,T){return T}),D=bn(Ne({},g),{getCacheEntry:function(){return w(g.getState())},requestId:E,extra:b,updateCachedData:m.type===Rn.query?function(S){return g.dispatch(e.util.updateQueryData(f,p,S))}:void 0,cacheDataLoaded:x,cacheEntryRemoved:y}),I=v(p,D);Promise.resolve(I).catch(function(S){if(S!==eg)throw S})}}return u},H2=function(t){var e=t.api,n=t.context,r=t.queryThunk,i=t.mutationThunk,a=Rm(r,i),s=Nm(r,i),o=xa(r,i),l={},c=function(u,A){var d,f,p;if(a(u)){var h=u.meta,g=h.requestId,E=h.arg,m=E.endpointName,v=E.originalArgs,C=n.endpointDefinitions[m],y=C==null?void 0:C.onQueryStarted;if(y){var x={},w=new Promise(function(P,R){x.resolve=P,x.reject=R});w.catch(function(){}),l[g]=x;var b=e.endpoints[m].select(C.type===Rn.query?v:g),D=A.dispatch(function(P,R,W){return W}),I=bn(Ne({},A),{getCacheEntry:function(){return b(A.getState())},requestId:g,extra:D,updateCachedData:C.type===Rn.query?function(P){return A.dispatch(e.util.updateQueryData(m,v,P))}:void 0,queryFulfilled:w});y(v,I)}}else if(o(u)){var S=u.meta,g=S.requestId,O=S.baseQueryMeta;(d=l[g])==null||d.resolve({data:u.payload,meta:O}),delete l[g]}else if(s(u)){var T=u.meta,g=T.requestId,M=T.rejectedWithValue,O=T.baseQueryMeta;(p=l[g])==null||p.reject({error:(f=u.payload)!=null?f:u.error,isUnhandledError:!M,meta:O}),delete l[g]}};return c},U2=function(t){var e=t.api,n=t.context.apiUid,r=t.reducerPath;return function(i,a){var s,o;e.util.resetApiState.match(i)&&a.dispatch(e.internalActions.middlewareRegistered(n)),typeof process<"u"}},tg,W2=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(tg||(tg=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},X2=function(t){var e=t.api,n=t.queryThunk,r=t.internalState,i=e.reducerPath+"/subscriptions",a=null,s=!1,o=e.internalActions,l=o.updateSubscriptionOptions,c=o.unsubscribeQueryResult,u=function(A,d){var f,p,h,g,E,m,v,C,y;if(l.match(d)){var x=d.payload,w=x.queryCacheKey,b=x.requestId,D=x.options;return(f=A==null?void 0:A[w])!=null&&f[b]&&(A[w][b]=D),!0}if(c.match(d)){var I=d.payload,w=I.queryCacheKey,b=I.requestId;return A[w]&&delete A[w][b],!0}if(e.internalActions.removeQueryResult.match(d))return delete A[d.payload.queryCacheKey],!0;if(n.pending.match(d)){var S=d.meta,O=S.arg,b=S.requestId;if(O.subscribe){var T=(h=A[p=O.queryCacheKey])!=null?h:A[p]={};return T[b]=(E=(g=O.subscriptionOptions)!=null?g:T[b])!=null?E:{},!0}}if(n.rejected.match(d)){var M=d.meta,P=M.condition,O=M.arg,b=M.requestId;if(P&&O.subscribe){var T=(v=A[m=O.queryCacheKey])!=null?v:A[m]={};return T[b]=(y=(C=O.subscriptionOptions)!=null?C:T[b])!=null?y:{},!0}}return!1};return function(A,d){var f,p;if(a||(a=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(A))return a=r.currentSubscriptions={},[!0,!1];if(e.internalActions.internal_probeSubscription.match(A)){var h=A.payload,g=h.queryCacheKey,E=h.requestId,m=!!((f=r.currentSubscriptions[g])!=null&&f[E]);return[!1,m]}var v=u(r.currentSubscriptions,A);if(v){s||(W2(function(){var w=JSON.parse(JSON.stringify(r.currentSubscriptions)),b=Fm(a,function(){return w}),D=b[1];d.next(e.internalActions.subscriptionsUpdated(D)),a=w,s=!1}),s=!0);var C=!!((p=A.type)!=null&&p.startsWith(i)),y=n.rejected.match(A)&&A.meta.condition&&!!A.meta.arg.subscribe,x=!C&&!y;return[x,!1]}return[!0,!1]}};function Y2(t){var e=t.reducerPath,n=t.queryThunk,r=t.api,i=t.context,a=i.apiUid,s={invalidateTags:Ea(e+"/invalidateTags")},o=function(A){return!!A&&typeof A.type=="string"&&A.type.startsWith(e+"/")},l=[U2,N2,B2,G2,V2,H2],c=function(A){var d=!1,f={currentSubscriptions:{}},p=bn(Ne({},t),{internalState:f,refetchQuery:u}),h=l.map(function(m){return m(p)}),g=X2(p),E=L2(p);return function(m){return function(v){d||(d=!0,A.dispatch(r.internalActions.middlewareRegistered(a)));var C=bn(Ne({},A),{next:m}),y=A.getState(),x=g(v,C,y),w=x[0],b=x[1],D;if(w?D=m(v):D=b,A.getState()[e]&&(E(v,C,y),o(v)||i.hasRehydrationInfo(v)))for(var I=0,S=h;I<S.length;I++){var O=S[I];O(v,C,y)}return D}}};return{middleware:c,actions:s};function u(A,d,f){return f===void 0&&(f={}),n(Ne({type:"query",endpointName:A.endpointName,originalArgs:A.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d},f))}}function Er(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];Object.assign.apply(Object,cl([t],e))}var ng=Symbol(),z2=function(){return{name:ng,init:function(t,e,n){var r=e.baseQuery,i=e.tagTypes,a=e.reducerPath,s=e.serializeQueryArgs,o=e.keepUnusedDataFor,l=e.refetchOnMountOrArgChange,c=e.refetchOnFocus,u=e.refetchOnReconnect;jy();var A=function(L){return typeof process<"u",L};Object.assign(t,{reducerPath:a,endpoints:{},internalActions:{onOnline:fh,onOffline:wE,onFocus:Ah,onFocusLost:IE},util:{}});var d=O2({baseQuery:r,reducerPath:a,context:n,api:t,serializeQueryArgs:s,assertTagType:A}),f=d.queryThunk,p=d.mutationThunk,h=d.patchQueryData,g=d.updateQueryData,E=d.upsertQueryData,m=d.prefetch,v=d.buildMatchThunkActions,C=k2({context:n,queryThunk:f,mutationThunk:p,reducerPath:a,assertTagType:A,config:{refetchOnFocus:c,refetchOnReconnect:u,refetchOnMountOrArgChange:l,keepUnusedDataFor:o,reducerPath:a}}),y=C.reducer,x=C.actions;Er(t.util,{patchQueryData:h,updateQueryData:g,upsertQueryData:E,prefetch:m,resetApiState:x.resetApiState}),Er(t.internalActions,x);var w=Y2({reducerPath:a,context:n,queryThunk:f,mutationThunk:p,api:t,assertTagType:A}),b=w.middleware,D=w.actions;Er(t.util,D),Er(t,{reducer:y,middleware:b});var I=M2({serializeQueryArgs:s,reducerPath:a}),S=I.buildQuerySelector,O=I.buildMutationSelector,T=I.selectInvalidatedBy;Er(t.util,{selectInvalidatedBy:T});var M=T2({queryThunk:f,mutationThunk:p,api:t,serializeQueryArgs:s,context:n}),P=M.buildInitiateQuery,R=M.buildInitiateMutation,W=M.getRunningMutationThunk,N=M.getRunningMutationsThunk,U=M.getRunningQueriesThunk,Y=M.getRunningQueryThunk,G=M.getRunningOperationPromises,H=M.removalWarning;return Er(t.util,{getRunningOperationPromises:G,getRunningOperationPromise:H,getRunningMutationThunk:W,getRunningMutationsThunk:N,getRunningQueryThunk:Y,getRunningQueriesThunk:U}),{name:ng,injectEndpoint:function(L,B){var X,z,q=t;(z=(X=q.endpoints)[L])!=null||(X[L]={}),SE(B)?Er(q.endpoints[L],{name:L,select:S(L,B),initiate:P(L,B)},v(f,L)):_2(B)&&Er(q.endpoints[L],{name:L,select:O(),initiate:R(L)},v(p,L))}}}}},q2=function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},K2=Object.defineProperty,$2=Object.defineProperties,j2=Object.getOwnPropertyDescriptors,rg=Object.getOwnPropertySymbols,Q2=Object.prototype.hasOwnProperty,Z2=Object.prototype.propertyIsEnumerable,ig=function(t,e,n){return e in t?K2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},jn=function(t,e){for(var n in e||(e={}))Q2.call(e,n)&&ig(t,n,e[n]);if(rg)for(var r=0,i=rg(e);r<i.length;r++){var n=i[r];Z2.call(e,n)&&ig(t,n,e[n])}return t},Bo=function(t,e){return $2(t,j2(e))};function ag(t,e,n,r){var i=_.useMemo(function(){return{queryArgs:t,serialized:typeof t=="object"?e({queryArgs:t,endpointDefinition:n,endpointName:r}):t}},[t,e,n,r]),a=_.useRef(i);return _.useEffect(function(){a.current.serialized!==i.serialized&&(a.current=i)},[i]),a.current.serialized===i.serialized?a.current.queryArgs:t}var Fu=Symbol();function Ru(t){var e=_.useRef(t);return _.useEffect(function(){Yo(e.current,t)||(e.current=t)},[t]),Yo(e.current,t)?e.current:t}var uo=WeakMap?new WeakMap:void 0,J2=function(t){var e=t.endpointName,n=t.queryArgs,r="",i=uo==null?void 0:uo.get(n);if(typeof i=="string")r=i;else{var a=JSON.stringify(n,function(s,o){return Si(o)?Object.keys(o).sort().reduce(function(l,c){return l[c]=o[c],l},{}):o});Si(n)&&(uo==null||uo.set(n,a)),r=a}return e+"("+r+")"},eO=typeof window<"u"&&window.document&&window.document.createElement?_.useLayoutEffect:_.useEffect,tO=function(t){return t},nO=function(t){return t.isUninitialized?Bo(jn({},t),{isUninitialized:!1,isFetching:!0,isLoading:t.data===void 0,status:Re.pending}):t};function rO(t){var e=t.api,n=t.moduleOptions,r=n.batch,i=n.useDispatch,a=n.useSelector,s=n.useStore,o=n.unstable__sideEffectsInRender,l=t.serializeQueryArgs,c=t.context,u=o?function(h){return h()}:_.useEffect;return{buildQueryHooks:f,buildMutationHook:p,usePrefetch:d};function A(h,g,E){if(g!=null&&g.endpointName&&h.isUninitialized){var m=g.endpointName,v=c.endpointDefinitions[m];l({queryArgs:g.originalArgs,endpointDefinition:v,endpointName:m})===l({queryArgs:E,endpointDefinition:v,endpointName:m})&&(g=void 0)}var C=h.isSuccess?h.data:g==null?void 0:g.data;C===void 0&&(C=h.data);var y=C!==void 0,x=h.isLoading,w=!y&&x,b=h.isSuccess||x&&y;return Bo(jn({},h),{data:C,currentData:h.data,isFetching:x,isLoading:w,isSuccess:b})}function d(h,g){var E=i(),m=Ru(g);return _.useCallback(function(v,C){return E(e.util.prefetch(h,v,jn(jn({},m),C)))},[h,E,m])}function f(h){var g=function(v,C){var y=C===void 0?{}:C,x=y.refetchOnReconnect,w=y.refetchOnFocus,b=y.refetchOnMountOrArgChange,D=y.skip,I=D===void 0?!1:D,S=y.pollingInterval,O=S===void 0?0:S,T=e.endpoints[h].initiate,M=i(),P=ag(I?ii:v,J2,c.endpointDefinitions[h],h),R=Ru({refetchOnReconnect:x,refetchOnFocus:w,pollingInterval:O}),W=_.useRef(!1),N=_.useRef(),U=N.current||{},Y=U.queryCacheKey,G=U.requestId,H=!1;if(Y&&G){var L=M(e.internalActions.internal_probeSubscription({queryCacheKey:Y,requestId:G}));H=!!L}var B=!H&&W.current;return u(function(){W.current=H}),u(function(){B&&(N.current=void 0)},[B]),u(function(){var X,z=N.current;if(typeof process<"u",P===ii){z==null||z.unsubscribe(),N.current=void 0;return}var q=(X=N.current)==null?void 0:X.subscriptionOptions;if(!z||z.arg!==P){z==null||z.unsubscribe();var Q=M(T(P,{subscriptionOptions:R,forceRefetch:b}));N.current=Q}else R!==q&&z.updateSubscriptionOptions(R)},[M,T,b,P,R,B]),_.useEffect(function(){return function(){var X;(X=N.current)==null||X.unsubscribe(),N.current=void 0}},[]),_.useMemo(function(){return{refetch:function(){var X;if(!N.current)throw new Error("Cannot refetch a query that has not been started yet.");return(X=N.current)==null?void 0:X.refetch()}}},[])},E=function(v){var C=v===void 0?{}:v,y=C.refetchOnReconnect,x=C.refetchOnFocus,w=C.pollingInterval,b=w===void 0?0:w,D=e.endpoints[h].initiate,I=i(),S=_.useState(Fu),O=S[0],T=S[1],M=_.useRef(),P=Ru({refetchOnReconnect:y,refetchOnFocus:x,pollingInterval:b});u(function(){var N,U,Y=(N=M.current)==null?void 0:N.subscriptionOptions;P!==Y&&((U=M.current)==null||U.updateSubscriptionOptions(P))},[P]);var R=_.useRef(P);u(function(){R.current=P},[P]);var W=_.useCallback(function(N,U){U===void 0&&(U=!1);var Y;return r(function(){var G;(G=M.current)==null||G.unsubscribe(),M.current=Y=I(D(N,{subscriptionOptions:R.current,forceRefetch:!U})),T(N)}),Y},[I,D]);return _.useEffect(function(){return function(){var N;(N=M==null?void 0:M.current)==null||N.unsubscribe()}},[]),_.useEffect(function(){O!==Fu&&!M.current&&W(O,!0)},[O,W]),_.useMemo(function(){return[W,O]},[W,O])},m=function(v,C){var y=C===void 0?{}:C,x=y.skip,w=x===void 0?!1:x,b=y.selectFromResult,D=e.endpoints[h].select,I=ag(w?ii:v,l,c.endpointDefinitions[h],h),S=_.useRef(),O=_.useMemo(function(){return xi([D(I),function(W,N){return N},function(W){return I}],A)},[D,I]),T=_.useMemo(function(){return b?xi([O],b):O},[O,b]),M=a(function(W){return T(W,S.current)},Yo),P=s(),R=O(P.getState(),S.current);return eO(function(){S.current=R},[R]),M};return{useQueryState:m,useQuerySubscription:g,useLazyQuerySubscription:E,useLazyQuery:function(v){var C=E(v),y=C[0],x=C[1],w=m(x,Bo(jn({},v),{skip:x===Fu})),b=_.useMemo(function(){return{lastArg:x}},[x]);return _.useMemo(function(){return[y,w,b]},[y,w,b])},useQuery:function(v,C){var y=g(v,C),x=m(v,jn({selectFromResult:v===ii||C!=null&&C.skip?void 0:nO},C)),w=x.data,b=x.status,D=x.isLoading,I=x.isSuccess,S=x.isError,O=x.error;return _.useDebugValue({data:w,status:b,isLoading:D,isSuccess:I,isError:S,error:O}),_.useMemo(function(){return jn(jn({},x),y)},[x,y])}}}function p(h){return function(g){var E=g===void 0?{}:g,m=E.selectFromResult,v=m===void 0?tO:m,C=E.fixedCacheKey,y=e.endpoints[h],x=y.select,w=y.initiate,b=i(),D=_.useState(),I=D[0],S=D[1];_.useEffect(function(){return function(){I!=null&&I.arg.fixedCacheKey||I==null||I.reset()}},[I]);var O=_.useCallback(function(z){var q=b(w(z,{fixedCacheKey:C}));return S(q),q},[b,w,C]),T=(I||{}).requestId,M=_.useMemo(function(){return xi([x({fixedCacheKey:C,requestId:I==null?void 0:I.requestId})],v)},[x,I,v,C]),P=a(M,Yo),R=C==null?I==null?void 0:I.arg.originalArgs:void 0,W=_.useCallback(function(){r(function(){I&&S(void 0),C&&b(e.internalActions.removeMutationResult({requestId:T,fixedCacheKey:C}))})},[b,C,I,T]),N=P.endpointName,U=P.data,Y=P.status,G=P.isLoading,H=P.isSuccess,L=P.isError,B=P.error;_.useDebugValue({endpointName:N,data:U,status:Y,isLoading:G,isSuccess:H,isError:L,error:B});var X=_.useMemo(function(){return Bo(jn({},P),{originalArgs:R,reset:W})},[P,R,W]);return _.useMemo(function(){return[O,X]},[O,X])}}}var dl;(function(t){t.query="query",t.mutation="mutation"})(dl||(dl={}));function iO(t){return t.type===dl.query}function aO(t){return t.type===dl.mutation}function Nu(t){return t.replace(t[0],t[0].toUpperCase())}function Ao(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];Object.assign.apply(Object,q2([t],e))}var sO=Symbol(),oO=function(t){var e={},n=e.batch,r=n===void 0?h1.unstable_batchedUpdates:n,i=e.useDispatch,a=i===void 0?tC:i,s=e.useSelector,o=s===void 0?t1:s,l=e.useStore,c=l===void 0?eC:l,u=e.unstable__sideEffectsInRender,A=u===void 0?!1:u;return{name:sO,init:function(d,f,p){var h=f.serializeQueryArgs,g=d,E=rO({api:d,moduleOptions:{batch:r,useDispatch:a,useSelector:o,useStore:c,unstable__sideEffectsInRender:A},serializeQueryArgs:h,context:p}),m=E.buildQueryHooks,v=E.buildMutationHook,C=E.usePrefetch;return Ao(g,{usePrefetch:C}),Ao(p,{batch:r}),{injectEndpoint:function(y,x){if(iO(x)){var w=m(y),b=w.useQuery,D=w.useLazyQuery,I=w.useLazyQuerySubscription,S=w.useQueryState,O=w.useQuerySubscription;Ao(g.endpoints[y],{useQuery:b,useLazyQuery:D,useLazyQuerySubscription:I,useQueryState:S,useQuerySubscription:O}),d["use"+Nu(y)+"Query"]=b,d["useLazy"+Nu(y)+"Query"]=D}else if(aO(x)){var T=v(y);Ao(g.endpoints[y],{useMutation:T}),d["use"+Nu(y)+"Mutation"]=T}}}}}},lO=P2(z2(),oO()),vn=(t=>(t[t.none=0]="none",t[t.second=1]="second",t[t.minute=60]="minute",t[t.fiveMinutes=300]="fiveMinutes",t[t.hour=3600]="hour",t[t.day=86400]="day",t[t.week=604800]="week",t))(vn||{}),DE=(t=>(t[t.short=1e3]="short",t[t.medium=15e3]="medium",t[t.long=3e4]="long",t))(DE||{});const TE=t=>new Promise(e=>setTimeout(e,t)),cO=(t,{getState:e})=>{const n=e(),{environment:r}=cE(n),i=zy[r];return i?t.set("X-API-KEY",i):kf(`No API key in .env for environment ${r}.`),t.set("releaseVersion",ky),t},uO=async(t,e,n)=>Mu(async()=>{var f;const{slug:r,afterError:i,afterSuccess:a,prepareHeaders:s=p=>p}=t,o=DT(r)(e.getState()),l=`${e.endpoint}: ${t.method??"GET"} ${o}${t.url}`;$h(`Request started: ${l}`);const c=await I2({baseUrl:o,prepareHeaders:(p,h)=>cO(s(p,h),h),timeout:DE.long})(t,e,n),{error:u,meta:A}=c,d=((f=A==null?void 0:A.response)==null?void 0:f.status)??(u==null?void 0:u.status)??0;return u?kf(`Request failed (${d}): ${l}, ${JSON.stringify(u.data)}`):$h(`Request success: ${l}`),d===404&&Mu.fail(u),((u==null?void 0:u.status)==="FETCH_ERROR"||(u==null?void 0:u.status)==="TIMEOUT_ERROR"||(u==null?void 0:u.status)===502)&&await TE(100),u?await(i==null?void 0:i(c,e,Mu.fail)):await(a==null?void 0:a(c,e)),c},{maxRetries:2})(t,e,n),ru=lO({baseQuery:uO,endpoints:()=>({}),reducerPath:"api",tagTypes:["Articles","FollowedProjects","Modules","Notifications","Projects"]}),dO=ru.injectEndpoints({endpoints:t=>({[CE.getRedirectUrls]:t.query({query:()=>({slug:Ke.contact,url:"/links"}),keepUnusedDataFor:vn.hour})}),overrideExisting:!0}),{useGetRedirectUrlsQuery:AO}=dO,fO=()=>{const{setIsMenuOpen:t,headerHeight:e,isMenuOpen:n}=Ri(),r=Nn(),i=Hm(Mf.normal),a=Ls(),s=hO(r,e,a),{addDownloadedTranscriptId:o,endChat:l}=_.useContext(dn),c=Gm(),{data:u,isLoading:A,isError:d}=AO(),f=Hc();return n?k.jsx($t.View,{entering:th.duration(r.duration.transition.short),exiting:nh.duration(r.duration.transition.short),style:s.container,children:k.jsxs(Dn,{halign:"start",children:[k.jsx(gs,{color:"link",label:"Chat downloaden",onPress:()=>{t(!1),mE().then(p=>p&&o(p))},ref:i,testID:"ChatMenuPressableDownloadChat"}),!A&&!d&&k.jsx(gs,{color:"link",label:"Privacy",onPress:()=>{u!=null&&u.chatPrivacy?(t(!1),c(u.chatPrivacy)):(Jn.alert("Sorry, deze functie is nu niet beschikbaar. Probeer het later nog eens."),f(Zn.getRedirectsUrl,"ChatMenu.ts",{redirectsKey:"chatPrivacy"}))},testID:"ChatMenuPressableStopChat"}),k.jsx(gs,{color:"warning",label:"Chat stoppen",onPress:()=>{t(!1),l()},testID:"ChatMenuPressableStopChat"})]})}):null},hO=({color:t,z:e,size:n},r,i)=>he.create({container:{position:"absolute",left:n.spacing.sm,top:r+i.top,backgroundColor:t.box.distinct,zIndex:e.tooltip,elevation:2,shadowColor:t.shadow.default,shadowOffset:{width:0,height:2},shadowRadius:4,shadowOpacity:.3}}),pO=He({name:le.bottomSheet,initialState:{isOpen:!1,isPresentAtRouteNames:[]},reducers:{closeBottomSheet:t=>({...t,isOpen:!1}),openBottomSheet:t=>({...t,isOpen:!0}),addIsPresentAtRouteName:(t,{payload:e})=>{t.isPresentAtRouteNames.push(e)},removeIsPresentAtRouteName:(t,{payload:e})=>({...t,isPresentAtRouteNames:t.isPresentAtRouteNames.filter(n=>n!==e)}),toggleBottomSheet:t=>({...t,isOpen:!t.isOpen})}}),{closeBottomSheet:gO,openBottomSheet:vO,addIsPresentAtRouteName:mO,removeIsPresentAtRouteName:CO,toggleBottomSheet:EO}=pO.actions,xO=()=>{const t=Bn();return{isOpen:et(n=>n[le.bottomSheet].isOpen),..._.useMemo(()=>({close:()=>t(gO()),open:()=>t(vO()),addIsPresentAtRouteName:n=>t(mO(n)),removeIsPresentAtRouteName:n=>t(CO(n)),toggle:()=>t(EO())}),[t])}},sg={spaceBottom:0,isContentHiddenFromAccessibility:!1,isHiddenFromAccessibility:!1},yO=He({name:le.screen,initialState:sg,reducers:{resetScreen:()=>sg,setHideScreenFromAccessibility:(t,{payload:e})=>{t.isHiddenFromAccessibility=e},setHideScreenContentFromAccessibility:(t,{payload:e})=>{t.isContentHiddenFromAccessibility=e},setExtraSpaceBottom:(t,{payload:e})=>{t.spaceBottom=e}}}),{setExtraSpaceBottom:IO,setHideScreenFromAccessibility:wO,setHideScreenContentFromAccessibility:SO}=yO.actions,bO=t=>t[le.screen].spaceBottom,_O=t=>t[le.screen].isHiddenFromAccessibility,DO=t=>t[le.screen].isContentHiddenFromAccessibility,ph=()=>{const t=Bn(),e=et(bO),n=et(DO),r=et(_O),i=_.useCallback(o=>t(IO(o)),[t]),a=_.useCallback(o=>t(wO(o)),[t]),s=_.useCallback(o=>t(SO(o)),[t]);return{isContentHiddenFromAccessibility:n,isHiddenFromAccessibility:r,spaceBottom:e,setHideContentFromAccessibility:s,setHideFromAccessibility:a,setSpaceBottom:i}},TO=60,OO=8,kO=25,DA=({children:t})=>{const e=Nn(),{isOpen:n}=xO(),{isMaximized:r}=Ri(),[i,a]=_.useState(0),s=ct(0),o=ct(0),l=ct(r?1:0),c=Ls(),{fontScale:u}=Vm(),{newMessagesCount:A}=_.useContext(dn),{setSpaceBottom:d}=ph(),f=MO(e,c),p=TO*u+c.bottom;_.useEffect(()=>{l.value=j(r?1:0)},[r,l]),_.useEffect(()=>(d(p-OO),()=>{d(0)}),[p,d]),_.useEffect(()=>{A>0&&!r&&!n?o.value=Zf(Fe(j(-kO,{duration:400}),Qf(0,{duration:1e3,dampingRatio:.3}),j(0,{duration:3e3})),-1):o.value=0},[o,r,n,A]),_.useEffect(()=>{s.value=j(r?0:i-(n?0:p))},[r,s,i,n,p]);const h=Fn(()=>({transform:[{translateY:s.value+o.value}],backgroundColor:EA(l.value,[0,1],[e.color.chat.minimized.background,e.color.chat.maximized.background]),borderTopColor:EA(l.value,[0,1],[e.color.chat.border,"transparent"]),borderTopWidth:Lt(l.value,[0,1],[e.border.width.md,0])})),g=Fn(()=>({transform:[{translateY:Lt(l.value,[0,1],[-c.top,0])}]}));return k.jsxs($t.View,{entering:_i,exiting:Is,onLayout:E=>{a(E.nativeEvent.layout.height)},style:[he.absoluteFill,f.container,h],children:[k.jsx(fO,{}),k.jsx($t.View,{style:[f.inner,g],children:t})]})},MO=({z:t},e)=>he.create({container:{flexGrow:1,paddingTop:e.top,paddingRight:e.right,paddingBottom:e.bottom,paddingLeft:e.left,zIndex:t.overlay-1},inner:{flexGrow:1}});try{DA.displayName="ChatAnimatedWrapper",DA.__docgenInfo={description:"",displayName:"ChatAnimatedWrapper",props:{}}}catch{}const Al=({accessibilityLanguage:t="nl-NL",text:e})=>k.jsx(Wm,{accessibilityLanguage:t,level:"h5",numberOfLines:1,testID:"HeaderTitle",text:e,textAlign:"center"});try{Al.displayName="ScreenHeaderTitle",Al.__docgenInfo={description:"",displayName:"ScreenHeaderTitle",props:{accessibilityLanguage:{defaultValue:{value:"nl-NL"},description:"",name:"accessibilityLanguage",required:!1,type:{name:"string"}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}}}}}catch{}const og=28,TA=({color:t,width:e=og,height:n=og,...r})=>{const{fontScale:i}=Vm();return k.jsxs(Pf,{...r,fill:"none",height:Number(n)*i,viewBox:"0 0 28 28",width:Number(e)*i,children:[k.jsx(_r,{"clip-rule":"evenodd",d:"M14 2C7.37258 2 2 7.37258 2 14C2 20.6274 7.37258 26 14 26C20.6274 26 26 20.6274 26 14C26 7.37258 20.6274 2 14 2ZM0 14C0 6.26801 6.26801 0 14 0C21.732 0 28 6.26801 28 14C28 21.732 21.732 28 14 28C6.26801 28 0 21.732 0 14Z",fill:t,"fill-rule":"evenodd"}),k.jsx(_r,{d:"M16 14C16 15.1046 15.1046 16 14 16C12.8954 16 12 15.1046 12 14C12 12.8954 12.8954 12 14 12C15.1046 12 16 12.8954 16 14Z",fill:t}),k.jsx(_r,{d:"M10 14C10 15.1046 9.10457 16 8 16C6.89543 16 6 15.1046 6 14C6 12.8954 6.89543 12 8 12C9.10457 12 10 12.8954 10 14Z",fill:t}),k.jsx(_r,{d:"M22 14C22 15.1046 21.1046 16 20 16C18.8954 16 18 15.1046 18 14C18 12.8954 18.8954 12 20 12C21.1046 12 22 12.8954 22 14Z",fill:t})]})};try{TA.displayName="MeatballsMenu",TA.__docgenInfo={description:"",displayName:"MeatballsMenu",props:{}}}catch{}var PO=function(t,...e){const n=[],{isArray:r}=Array;e.forEach((s,o)=>{if(typeof s=="number")e[o]=[s,s];else if(r(s))if(typeof s[0]=="number")e[o]=[s[0],typeof s[1]=="function"?s[1](s[0]):null];else throw TypeError("First item in array must be a Number")});let i=e.find(r),a;for(let s of t){if(r(a)&&a[1]==null&&(s=s.replace(/^\s+/,"")),i?n.push(s.replace(/\[([^|]*)\|([^\]]*)\]/g,i[0]==1?"$1":"$2")):n.push(s),!e.length)break;i=e.find(r)||i,a=e.shift(),n.push(a===i?i[1]:a)}return n.join("")};const OE=Ur(PO),FO=()=>{const{newMessagesCount:t}=_.useContext(dn);return t?k.jsx(Ym,{accessibilityLabel:t+" "+OE`[nieuw bericht|nieuwe berichten]${[t]} `,testID:"ChatNewMessageIndicatorBadge",value:t,variant:"small"}):null},RO=({children:t,isMaximized:e,onPress:n,style:r,...i})=>e?k.jsx(k.Fragment,{children:t}):k.jsx(p1,{...i,onPress:n,style:r,children:t}),NO=()=>{const{isMaximized:t,isMenuOpen:e,setHeaderHeight:n,setIsMenuOpen:r,toggleVisibility:i}=Ri(),{setHideFromAccessibility:a}=ph(),{color:s}=Nn(),o=BO(),l=Fn(()=>({transform:[{rotate:j(t?"0deg":"-180deg")}]})),c=Fn(()=>({opacity:j(t?1:0)})),u=()=>{i(),ua.dismiss(),r(!1)};return _.useEffect(()=>(a(t),()=>{a(!1)}),[t,a]),k.jsx(pe,{onLayout:A=>n(A.nativeEvent.layout.height),style:o.container,children:k.jsx(RO,{accessibilityHint:"Activeer om de chat te maximaliseren",isMaximized:t,onPress:i,style:o.pressableWhenMinimized,children:k.jsx(hr,{testID:"ChatHeader",children:k.jsxs(ln,{align:"between",valign:"center",children:[k.jsx($t.View,{style:c,children:k.jsx(bi,{accessibilityLabel:`Chat menu ${e?"sluiten":"openen"}.`,icon:k.jsx(TA,{color:s.pressable.secondary.default.icon}),onPress:()=>r(!e),pointerEvents:t?"auto":"none",testID:"ChatHeaderMeatballsMenuButton"})}),k.jsx(pe,{accessible:!0,children:k.jsxs(ln,{gutter:"xs",valign:"center",children:[k.jsx(Al,{text:"Chat"}),k.jsx(FO,{})]})}),k.jsx($t.View,{style:l,children:k.jsx(bi,{accessibilityLabel:`Chat ${t?"minimaliseren":"maximaliseren"}`,icon:k.jsx(Mn,{color:"link",name:"chevron-down",size:"lg",testID:"ChatHeaderToggleVisibilityButtonIcon"}),onPress:u,testID:"ChatHeaderToggleVisibilityButton"})})]})})})})},BO=()=>he.create({container:{zIndex:1},pressableWhenMinimized:{flexGrow:1}}),OA=({firstMessage:t})=>k.jsx(Yc,{icon:"chat",testID:"ChatStartingTime",text:`Chat gestart om ${dh((t==null?void 0:t.timestamp)??nu().unix()).format("HH:mm")}`});try{OA.displayName="ChatStartTime",OA.__docgenInfo={description:"",displayName:"ChatStartTime",props:{firstMessage:{defaultValue:null,description:"",name:"firstMessage",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const GO="Chatbot Gemeente Amsterdam",LO=(t,e,n)=>{const r=dh(n).format("HH:mm");return e===tt.user?r:e===tt.chatbot?`${GO} - ${r}`:`${t} - ${r}`},kA=({message:{sender:{role:t},senderDisplayName:e,timestamp:n},isLastOfRole:r})=>{const i=On(a=>HO(a,t===tt.user));return t===tt.system?null:!!r&&k.jsxs(k.Fragment,{children:[k.jsx(Xc,{height:"xs"}),k.jsx(pe,{style:i.container,children:k.jsx(kn,{color:"secondary",testID:`ChatHistoryGroupName${t}`,variant:"extraSmall",children:LO(e,t,n)})})]})},VO=40,HO=({size:t},e)=>he.create({container:{paddingLeft:e?void 0:VO+t.spacing.sm,alignItems:e?"flex-end":"flex-start"}});try{kA.displayName="ChatAgentInfo",kA.__docgenInfo={description:"",displayName:"ChatAgentInfo",props:{isLast:{defaultValue:null,description:"",name:"isLast",required:!0,type:{name:"boolean"}},isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const UO=()=>{const{color:t}=Nn();return k.jsxs(Pf,{fill:"none",height:"40",viewBox:"0 0 40 40",width:"40",children:[k.jsx(Xm,{cx:"20",cy:"20",fill:t.chat.avatar.background,r:"19.5",stroke:t.chat.avatar.border}),k.jsx(_r,{d:"M16.3604 30.9196L18.5404 28.7396L16.3604 26.5396L17.8204 25.0996L20.0004 27.2796L22.1804 25.0996L23.6404 26.5396L21.4604 28.7396L23.6404 30.9196L22.1804 32.3596L20.0004 30.1796L17.8204 32.3596L16.3604 30.9196Z",fill:t.logo}),k.jsx(_r,{d:"M16.3604 22.1799L18.5404 19.9999L16.3604 17.8199L17.8204 16.3799L20.0004 18.5599L22.1804 16.3799L23.6404 17.8199L21.4604 19.9999L23.6404 22.1799L22.1804 23.6399L20.0004 21.4599L17.8204 23.6399L16.3604 22.1799Z",fill:t.logo}),k.jsx(_r,{d:"M16.3604 13.4596L18.5404 11.2596L16.3604 9.07965L17.8204 7.63965L20.0004 9.81965L22.1804 7.63965L23.6404 9.07965L21.4604 11.2596L23.6404 13.4596L22.1804 14.8996L20.0004 12.7196L17.8204 14.8996L16.3604 13.4596Z",fill:t.logo})]})},WO=()=>{const{color:t}=Nn();return k.jsxs(Pf,{fill:"none",height:"40",viewBox:"0 0 40 40",width:"40",children:[k.jsx(Xm,{cx:"20",cy:"20",fill:t.chat.avatar.background,r:"19.5",stroke:t.chat.avatar.border}),k.jsx(_r,{"clip-rule":"evenodd",d:"M20 35C13.5 35 9 30.5 9 30.1981C9 24.5731 12.15 21.625 16.5 21.625H24C28.35 21.625 31.5 24.0062 31.5 29.6312C31.5 30.1981 26.5 35 20 35ZM20.25 19.75C23.3397 19.7096 25.8346 17.2147 25.875 14.125C25.875 11.0184 23.3566 8.5 20.25 8.5C17.1434 8.5 14.625 11.0184 14.625 14.125C14.6654 17.2147 17.1603 19.7096 20.25 19.75Z",fill:t.chat.avatar.foreground,"fill-rule":"evenodd"})]})},MA=({children:t,senderRole:e})=>{const n=On(r=>XO(r,e));return k.jsx(pe,{accessible:!0,style:n.bubble,children:t})},XO=({color:t,size:e},n)=>{const r=n===tt.user,i=12;return he.create({bubble:{flexShrink:1,borderRadius:i,borderBottomRightRadius:r?0:i,borderBottomLeftRadius:r?i:0,backgroundColor:t.chat.message[n].background,paddingHorizontal:e.spacing.md,paddingVertical:e.spacing.sm}})};try{MA.displayName="ChatMessageBubble",MA.__docgenInfo={description:"",displayName:"ChatMessageBubble",props:{senderRole:{defaultValue:null,description:"",name:"senderRole",required:!0,type:{name:"enum",value:[{value:'"Chatbot"'},{value:'"Agent"'},{value:'"System"'},{value:'"USER"'}]}}}}}catch{}const Lr=({message:t,children:e,isText:n=!0})=>{const r=t.sender.role===tt.user;return k.jsxs(ln,{align:r?"end":"start",gutter:"sm",valign:"end",children:[t.sender.role===tt.chatbot&&k.jsx(UO,{}),t.sender.role===tt.employee&&k.jsx(WO,{}),n?k.jsx(MA,{senderRole:t.sender.role,children:e}):e]})};try{Lr.displayName="ChatMessageEntry",Lr.__docgenInfo={description:"",displayName:"ChatMessageEntry",props:{isText:{defaultValue:{value:"true"},description:"",name:"isText",required:!1,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const PA=({accessibilityLabel:t="Afbeelding, miniatuurweergave.",fileName:e="afbeelding.jpg",imageSource:n,thumbnailSize:r,headerTitle:i,...a})=>{const[s,o]=_.useState(!1),[l,c]=_.useState(),u=Ls(),A=()=>{o(!s)},d=_.useMemo(()=>{if(typeof n!="number")return n&&typeof n=="object"&&"uri"in n?n.uri:void 0},[n]);_.useEffect(()=>{fs.getSize(d??"",(h,g)=>c(h/g),h=>Wc(h))},[d]);const f=On(h=>YO(h,r,u,l)),p=d==null?void 0:d.startsWith("file://");return k.jsxs(pe,{children:[k.jsx(Of,{...a,accessibilityLabel:t,onPress:A,testID:"ThumbnailViewerThumbnailPressable",children:k.jsx(fs,{source:n,style:f.thumbnail,testID:"ThumbnailViewerThumbnailImage"})}),k.jsx(i1,{animationType:"fade",onRequestClose:A,supportedOrientations:["portrait","landscape"],testID:"ThumbnailViewerModal",transparent:!0,visible:s,children:k.jsxs(pe,{style:f.overlay,children:[k.jsx(hr,{children:k.jsxs(ln,{align:"between",children:[k.jsx(bi,{accessibilityLabel:"Terug",icon:k.jsx(Mn,{color:"link",name:"chevron-left",size:"lg",testID:"ThumbnailViewerCloseIcon"}),onPress:A,testID:"ThumbnailViewerCloseButton"}),!!i&&k.jsx(Al,{text:i}),k.jsx(bi,{accessibilityLabel:"Download de afbeelding.",icon:k.jsx(Mn,{color:"link",name:"download",size:"lg",testID:"ThumbnailViewerDownloadIcon"}),onPress:()=>uh({localUri:p?d:void 0,downloadUri:p?void 0:d,fileName:e}),testID:"ThumbnailViewerDownloadButton"})]})}),k.jsx(fs,{accessibilityLabel:"Afbeelding",accessible:!0,resizeMode:"contain",source:n,style:f.fullImage,testID:"ThumbnailViewerFullImage"})]})})]})},YO=({color:t,size:e,z:n},r,i,a)=>he.create({thumbnail:{width:r,height:r},overlay:{flex:1,backgroundColor:t.box.distinct,justifyContent:"center",zIndex:n.overlay,paddingTop:ue.OS==="android"?0:i.top,paddingRight:i.right,paddingBottom:e.spacing.md+i.bottom,paddingLeft:i.left},fullImage:{aspectRatio:a,alignSelf:"center",maxWidth:"100%",maxHeight:"100%",flex:1}});try{PA.displayName="ThumbnailViewer",PA.__docgenInfo={description:"",displayName:"ThumbnailViewer",props:{fileName:{defaultValue:{value:"afbeelding.jpg"},description:"",name:"fileName",required:!1,type:{name:"string"}},headerTitle:{defaultValue:null,description:"",name:"headerTitle",required:!1,type:{name:"string"}},imageSource:{defaultValue:null,description:"",name:"imageSource",required:!0,type:{name:"ImageSourcePropType | undefined"}},thumbnailSize:{defaultValue:null,description:"",name:"thumbnailSize",required:!0,type:{name:"DimensionValue"}},"logging-label":{defaultValue:null,description:"",name:"logging-label",required:!1,type:{name:"string"}},logAction:{defaultValue:null,description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial<Record<CustomDimensionKeys, string>>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"tertiary"'},{value:'"transparent"'}]}},inset:{defaultValue:null,description:"The amount of inner spacing.",name:"inset",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetHorizontal:{defaultValue:null,description:"The amount of inner spacing at the left and right.",name:"insetHorizontal",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},insetVertical:{defaultValue:null,description:"The amount of inner spacing at the top and bottom.",name:"insetVertical",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}}}}}catch{}const zO=220,FA=({image:t,message:{sender:e,senderDisplayName:n}})=>{const r=e.role===tt.user,i=qO(r);return k.jsx(pe,{style:i.container,children:k.jsx(PA,{accessibilityLabel:`Miniatuurweergave van door ${r?"u":n} gedeelde afbeelding.`,fileName:t.name,imageSource:{uri:t.url},thumbnailSize:zO})})},qO=t=>he.create({container:{overflow:"hidden",alignItems:"center",justifyContent:"center",borderRadius:12,borderBottomRightRadius:t?0:12,borderBottomLeftRadius:t?12:0}});try{FA.displayName="ChatMessageImage",FA.__docgenInfo={description:"",displayName:"ChatMessageImage",props:{image:{defaultValue:null,description:"",name:"image",required:!0,type:{name:"Attachment"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const RA=({message:t})=>{const e=t.attachments[0].mimeType.startsWith("image"),n=t.sender.role===tt.employee;return k.jsx(k.Fragment,{children:t.attachments.map(r=>e?k.jsx(Lr,{isText:!1,message:t,children:k.jsx(FA,{image:r,message:t})},r.id):k.jsx(Lr,{message:t,children:k.jsxs(ln,{grow:1,gutter:"sm",valign:"center",children:[k.jsx(Mn,{color:n?"link":"inverse",name:"document",size:"lg",testID:""}),n?k.jsx(Df,{accessibilityLabel:`Bijlage gedeeld door ${t.senderDisplayName}. Dubbeltik om bijlage te downloaden.`,ellipsizeMode:"middle",emphasis:"strong",inverse:t.sender.role===tt.user,numberOfLines:1,onPress:()=>{uh({downloadUri:r.url,fileName:r.name})},testID:"ChatEntryAttachmentsInlineLink",children:r.name}):k.jsx(kn,{color:"inverse",testID:"ChatEntryAttachmentFileName",textAlign:"center",children:r.name})]})},r.id))})};try{RA.displayName="EntryAttachments",RA.__docgenInfo={description:"",displayName:"EntryAttachments",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryAttachments"}}}}}catch{}const zt=({isLastOfRole:t})=>k.jsx(Xc,{height:t?"md":"sm"});try{zt.displayName="EntryGutter",zt.__docgenInfo={description:"",displayName:"EntryGutter",props:{isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}}}}}catch{}const fl=({message:{choices:t},isLastOfRole:e})=>{const[n,r]=_.useState(!1),i=_.useCallback(a=>{CI(a).then(()=>r(!0))},[]);return t&&!n?k.jsxs(k.Fragment,{children:[k.jsx(Xc,{height:"sm"}),k.jsx(ln,{align:"end",gutter:"sm",wrap:!0,children:t.map(({optionId:a,title:s,optionValue:o,parentEntryId:l})=>k.jsx(zd,{accessibilityLabel:`Keuzeknop: ${s}`,label:s,onPress:()=>i({optionId:a,title:s,optionValue:o,parentEntryId:l}),testID:`ChatHistoryChoices${s}`,variant:"secondary"},a))}),k.jsx(zt,{isLastOfRole:e})]}):null};try{fl.displayName="EntryChoices",fl.__docgenInfo={description:"",displayName:"EntryChoices",props:{isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryQuickReplies"}}}}}catch{}const NA=({message:t,isLastOfRole:e})=>t.operations.some(r=>r.type===Om.add&&r.participant.role===tt.employee)?k.jsxs(k.Fragment,{children:[k.jsx(Yc,{icon:"person",testID:`ChatSystemMessage${t.format}`,text:"U chat nu met een medewerker"}),k.jsx(zt,{isLastOfRole:e})]}):null;try{NA.displayName="EntryParticipantChanged",NA.__docgenInfo={description:"",displayName:"EntryParticipantChanged",props:{isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryParticipantChanged"}}}}}catch{}const KO=(t,e,n=r=>r)=>{const r=/((?:(?:https?:\/\/)|(?:www.))[^\s]+)/g;return t.split(r).filter(a=>a.length>0).map(a=>r.test(a)?e(a.startsWith("http")?a:`http://${a}`):n(a))},$O=(t,e,n)=>KO(t,r=>k.jsx(Df,{inverse:n,onPress:()=>e(r),testID:`InlineLink${r}`,children:r})),Os=({children:t,message:e,testID:n,...r})=>{const i=Gm();return k.jsx(kn,{...r,color:e.sender.role===tt.user?"inverse":void 0,testID:n,children:$O(t,i,e.sender.role===tt.user)})};try{Os.displayName="MessagePhrase",Os.__docgenInfo={description:"",displayName:"MessagePhrase",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}},testID:{defaultValue:null,description:"Used to locate this view in end-to-end tests.",name:"testID",required:!1,type:{name:"string"}},color:{defaultValue:null,description:"Defines the color of the phrase. Maps with the text color tokens.",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"inverse"'},{value:'"warning"'}]}},emphasis:{defaultValue:null,description:"Allows the phrase to convey more emphasis.",name:"emphasis",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"strong"'}]}},flexShrink:{defaultValue:null,description:"Defines how to shrink the phrase in case the parent container is smaller than the phrase.",name:"flexShrink",required:!1,type:{name:"number"}},"logging-label":{defaultValue:null,description:"Label used for logging to Piwik and AppInsights.",name:"logging-label",required:!1,type:{name:"string"}},textAlign:{defaultValue:null,description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"center"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},underline:{defaultValue:null,description:"Whether the phrase is underlined. Use this for a link only.",name:"underline",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"Which variation of a phrase to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}}}}}catch{}const jO=t=>{if(!t)return null;const n=RegExp(/https?:\/\/([^/?]+)/).exec(t);return n!=null&&n[1]?n[1]:t},BA=({message:t})=>{const e=a1(),{title:n,url:r}=t,i=jO(r);return k.jsxs(Lr,{message:t,children:[k.jsx(Df,{emphasis:"strong",inverse:t.sender.role===tt.user,onPress:()=>r&&e(r),testID:"ChatMessageRichLinkUrl",children:n}),!!i&&k.jsx(Os,{message:t,testID:"ChatRichLinkTitle",children:i})]})};try{BA.displayName="EntryRichLink",BA.__docgenInfo={description:"",displayName:"EntryRichLink",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryRichLink"}}}}}catch{}const QO=10,ZO=8,lg=8,JO=({activeSize:t,inactiveSize:e,index:n,sharedValue:r})=>{const{color:i}=Nn(),a=e4(t,e),s=Fn(()=>{const o=n===Math.floor(r.value);return{backgroundColor:o?i.chat.loading.active:i.chat.loading.inactive,height:j(o?t:e),width:j(o?t:e)}},[n,r]);return k.jsx(pe,{style:a.loadingDot,children:k.jsx($t.View,{style:[a.loadingDotInner,s]})})},ks=({dotActiveSize:t=QO,dotInactiveSize:e=ZO})=>{const n=ct(0);return _.useEffect(()=>{n.value=Zf(j(4,{duration:1e3,easing:Ze.bezier(.5,.5,.5,1)}),-1)},[n]),k.jsx(ln,{align:"center",gutter:"xs",valign:"center",children:Array.from({length:3}).map((r,i)=>k.jsx(JO,{activeSize:t,inactiveSize:e,index:i,sharedValue:n},i))})},e4=(t,e)=>he.create({loadingDot:{justifyContent:"center",alignItems:"center",marginHorizontal:e*3/4-t/2,borderRadius:lg,height:t,width:t},loadingDotInner:{borderRadius:lg}});try{ks.displayName="LoadingDots",ks.__docgenInfo={description:"",displayName:"LoadingDots",props:{dotActiveSize:{defaultValue:{value:"10"},description:"",name:"dotActiveSize",required:!1,type:{name:"number"}},dotInactiveSize:{defaultValue:{value:"8"},description:"",name:"dotInactiveSize",required:!1,type:{name:"number"}}}}}catch{}const t4=t=>t<=60?"minder dan een minuut":`${Math.ceil(t/60)} minuten`,GA=({message:{isEWTAvailable:t,estimatedWaitTime:e,routingType:n},isLastOfRole:r})=>{const{isWaitingForAgent:i}=_.useContext(dn);return n!==km.transfer||!i?null:k.jsxs(k.Fragment,{children:[k.jsxs(Dn,{gutter:"sm",halign:"center",children:[k.jsx(ks,{dotActiveSize:15,dotInactiveSize:12}),k.jsx(kn,{emphasis:"strong",testID:"ChatEntryRoutingResultPhrase",children:"Een medewerker neemt het gesprek over."}),!!t&&k.jsxs(kn,{testID:"ChatEntryRoutingResultEstimatedWaitingTimePhrase",children:["Geschatte wachttijd: ",t4(e)]})]}),k.jsx(zt,{isLastOfRole:r})]})};try{GA.displayName="EntryRoutingResult",GA.__docgenInfo={description:"",displayName:"EntryRoutingResult",props:{isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryRoutingResult"}}}}}catch{}const LA=({message:t,isLastOfRole:e})=>{const{messages:n,isEnded:r}=_.useContext(dn);return t.workType!==Mm.closed||!r||n.filter(i=>i.format===ve.routingWorkResult).slice(-1)[0].entryId!==t.entryId?null:k.jsxs(k.Fragment,{children:[k.jsx(Yc,{icon:"chat",testID:"ChatEntryRoutingWorkResult",text:`Chat gestopt om ${dh((t==null?void 0:t.timestamp)??nu().unix()).format("HH:mm")}`}),k.jsx(zt,{isLastOfRole:e})]})};try{LA.displayName="EntryRoutingWorkResult",LA.__docgenInfo={description:"",displayName:"EntryRoutingWorkResult",props:{isLast:{defaultValue:null,description:"",name:"isLast",required:!0,type:{name:"boolean"}},isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryRoutingWorkResult"}}}}}catch{}const VA=({message:t})=>{var e;return k.jsx(Lr,{message:t,children:k.jsx(Os,{message:t,testID:"ChatEntrySelections",children:(e=t.selections)==null?void 0:e.map(n=>n.title).join(", ")})})};try{VA.displayName="EntrySelections",VA.__docgenInfo={description:"",displayName:"EntrySelections",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntrySelections"}}}}}catch{}const vs=({message:t})=>{const e=t.sender.role===tt.user;return k.jsx(Lr,{message:t,children:k.jsx(Os,{accessibilityLabel:e?`Uw bericht: ${t.text}`:`${t.text} ontvangen van ${t.senderDisplayName}`,message:t,testID:"ChatEntryText",children:t.text})})};try{vs.displayName="EntryText",vs.__docgenInfo={description:"",displayName:"EntryText",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryText"}}}}}catch{}const HA=({message:t})=>{const{downloadedTranscriptIds:e}=_.useContext(dn);return e.includes(t.entryId)?k.jsx(Yc,{icon:"download",testID:"ChatEntryTranscript",text:"Chat gedownload"}):null};try{HA.displayName="EntryTranscript",HA.__docgenInfo={description:"",displayName:"EntryTranscript",props:{message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const UA=({dotActiveSize:t,dotInactiveSize:e,message:n})=>k.jsx(Lr,{message:n,children:k.jsx(hr,{insetVertical:"xs",children:k.jsx(ks,{dotActiveSize:t,dotInactiveSize:e})})});try{UA.displayName="EntryTypingIndicator",UA.__docgenInfo={description:"",displayName:"EntryTypingIndicator",props:{dotActiveSize:{defaultValue:null,description:"",name:"dotActiveSize",required:!1,type:{name:"number"}},dotInactiveSize:{defaultValue:null,description:"",name:"dotInactiveSize",required:!1,type:{name:"number"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntryTypingStartedIndicator"}}}}}catch{}const n4={[ve.selections]:{Component:VA,agentInfo:!0,LastComponent:zt},[ve.text]:{Component:vs,agentInfo:!0,LastComponent:zt},[ve.attachments]:{Component:RA,agentInfo:!1,LastComponent:zt},[ve.carousel]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.deliveryAcknowledgement]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.imageMessage]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.inputs]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.listPicker]:{Component:vs,LastComponent:fl,agentInfo:!0},[ve.participantChanged]:{Component:NA,agentInfo:!1},[ve.quickReplies]:{Component:vs,LastComponent:fl,agentInfo:!0},[ve.result]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.richLink]:{Component:BA,agentInfo:!0,LastComponent:zt},[ve.routingResult]:{Component:GA,agentInfo:!1},[ve.routingWorkResult]:{Component:LA,agentInfo:!1},[ve.typingStartedIndicator]:{Component:UA,agentInfo:!1,LastComponent:zt},[ve.typingStoppedIndicator]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.unspecified]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.webview]:{Component:void 0,LastComponent:void 0,agentInfo:void 0},[ve.transcript]:{Component:HA,LastComponent:zt}},WA=({message:t,isLast:e,isLastOfRole:n})=>{const r=n4[t.format];if(!r)return null;const{Component:i,agentInfo:a,LastComponent:s}=r;return!i&&!s&&!a?null:k.jsxs($t.View,{entering:_i,children:[!!i&&k.jsx(i,{isLast:e,isLastOfRole:n,message:t}),!!a&&k.jsx(kA,{isLast:e,isLastOfRole:n,message:t}),!!s&&k.jsx(s,{isLast:e,isLastOfRole:n,message:t})]})};try{WA.displayName="Entry",WA.__docgenInfo={description:"",displayName:"Entry",props:{isLast:{defaultValue:null,description:"",name:"isLast",required:!0,type:{name:"boolean"}},isLastOfRole:{defaultValue:null,description:"",name:"isLastOfRole",required:!0,type:{name:"boolean"}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"ConversationEntry"}}}}}catch{}const r4=()=>{const t=_.useRef(null),e=i4(),{messages:n}=_.useContext(dn);return k.jsx(ya,{contentContainerStyle:e.contentContainer,keyboardShouldPersistTaps:"handled",onContentSizeChange:()=>{var r;return(r=t==null?void 0:t.current)==null?void 0:r.scrollToEnd()},onScrollBeginDrag:ua.dismiss,ref:t,style:e.scrollView,testID:"ChatHistoryScrollView",children:k.jsx(hr,{grow:!0,insetHorizontal:"md",children:k.jsxs(Dn,{children:[k.jsx(OA,{firstMessage:n[0]}),k.jsx(Xc,{height:"md"}),n.map((r,i)=>{var s;const a=((s=n[i+1])==null?void 0:s.sender.role)!==r.sender.role;return k.jsx(WA,{isLast:i===n.length-1,isLastOfRole:a,message:r},r.entryId+i)})]})})})},i4=()=>he.create({contentContainer:{flexGrow:1},scrollView:{flex:1}}),a4=()=>{const[t,e]=_.useState(0),[n,r]=_.useState(!1);return _.useEffect(()=>{const i=l=>{e(l.endCoordinates.height)},a=()=>{r(!1)},s=ua.addListener("keyboardDidShow",i),o=ua.addListener("keyboardDidHide",a);return()=>{s.remove(),o.remove()}},[]),{height:t,visible:n}},s4={async getDocumentAsync({type:t="*/*",multiple:e=!1}){if(!Di.isDOMAvailable)return{canceled:!0,assets:null};const n=document.createElement("input");return n.style.display="none",n.setAttribute("type","file"),n.setAttribute("accept",Array.isArray(t)?t.join(","):t),n.setAttribute("id",String(Math.random())),e&&n.setAttribute("multiple","multiple"),document.body.appendChild(n),new Promise((r,i)=>{n.addEventListener("change",async()=>{if(n.files){const s=[];for(let o=0;o<n.files.length;o++)s.push(o4(n.files[o]));try{const o=await Promise.all(s);r({canceled:!1,assets:o,output:n.files})}catch(o){i(o)}}else r({canceled:!0,assets:null});document.body.removeChild(n)}),n.addEventListener("cancel",()=>{r({canceled:!0,assets:null})});const a=new MouseEvent("click");n.dispatchEvent(a)})}};function o4(t){return new Promise((e,n)=>{const r=t.type,i=new FileReader;i.onerror=()=>{n(new Error("Failed to read the selected media because the operation failed."))},i.onload=({target:a})=>{const s=a.result;e({uri:s,mimeType:r,name:t.name,lastModified:t.lastModified,size:t.size,file:t})},i.readAsDataURL(t)})}async function l4({type:t="*/*",copyToCacheDirectory:e=!0,multiple:n=!1}={}){return typeof t=="string"&&(t=[t]),await s4.getDocumentAsync({type:t,copyToCacheDirectory:e,multiple:n})}var or;(function(t){t.All="All",t.Videos="Videos",t.Images="Images"})(or||(or={}));var cg;(function(t){t[t.Passthrough=0]="Passthrough",t[t.LowQuality=1]="LowQuality",t[t.MediumQuality=2]="MediumQuality",t[t.HighestQuality=3]="HighestQuality",t[t.H264_640x480=4]="H264_640x480",t[t.H264_960x540=5]="H264_960x540",t[t.H264_1280x720=6]="H264_1280x720",t[t.H264_1920x1080=7]="H264_1920x1080",t[t.H264_3840x2160=8]="H264_3840x2160",t[t.HEVC_1920x1080=9]="HEVC_1920x1080",t[t.HEVC_3840x2160=10]="HEVC_3840x2160"})(cg||(cg={}));var ug;(function(t){t[t.High=0]="High",t[t.Medium=1]="Medium",t[t.Low=2]="Low",t[t.VGA640x480=3]="VGA640x480",t[t.IFrame1280x720=4]="IFrame1280x720",t[t.IFrame960x540=5]="IFrame960x540"})(ug||(ug={}));var dg;(function(t){t.FULL_SCREEN="fullScreen",t.PAGE_SHEET="pageSheet",t.FORM_SHEET="formSheet",t.CURRENT_CONTEXT="currentContext",t.OVER_FULL_SCREEN="overFullScreen",t.OVER_CURRENT_CONTEXT="overCurrentContext",t.POPOVER="popover",t.AUTOMATIC="automatic"})(dg||(dg={}));var Ag;(function(t){t.Automatic="automatic",t.Compatible="compatible",t.Current="current"})(Ag||(Ag={}));var fg;(function(t){t.back="back",t.front="front"})(fg||(fg={}));const c4={[or.All]:"video/mp4,video/quicktime,video/x-m4v,video/*,image/*",[or.Images]:"image/*",[or.Videos]:"video/mp4,video/quicktime,video/x-m4v,video/*"},hl={async launchImageLibraryAsync({mediaTypes:t=or.Images,allowsMultipleSelection:e=!1,base64:n=!1}){return Di.isDOMAvailable?await hg({mediaTypes:t,allowsMultipleSelection:e,base64:n}):{canceled:!0,assets:null}},async launchCameraAsync({mediaTypes:t=or.Images,allowsMultipleSelection:e=!1,base64:n=!1}){return Di.isDOMAvailable?await hg({mediaTypes:t,allowsMultipleSelection:e,capture:!0,base64:n}):{canceled:!0,assets:null}},async getCameraPermissionsAsync(){return fo()},async requestCameraPermissionsAsync(){return fo()},async getMediaLibraryPermissionsAsync(t){return fo()},async requestMediaLibraryPermissionsAsync(t){return fo()}};function fo(){return{status:wA.GRANTED,expires:"never",granted:!0,canAskAgain:!0}}function hg({mediaTypes:t,capture:e=!1,allowsMultipleSelection:n=!1,base64:r}){const i=c4[t],a=document.createElement("input");return a.style.display="none",a.setAttribute("type","file"),a.setAttribute("accept",i),a.setAttribute("id",String(Math.random())),n&&a.setAttribute("multiple","multiple"),e&&a.setAttribute("capture","camera"),document.body.appendChild(a),new Promise(s=>{a.addEventListener("change",async()=>{if(a.files){const l=n?a.files:[a.files[0]],c=await Promise.all(Array.from(l).map(u=>u4(u,{base64:r})));s({canceled:!1,assets:c})}else s({canceled:!0,assets:null});document.body.removeChild(a)});const o=new MouseEvent("click");a.dispatchEvent(o)})}function u4(t,e){return new Promise((n,r)=>{const i=new FileReader;i.onerror=()=>{r(new Error("Failed to read the selected media because the operation failed."))},i.onload=({target:a})=>{const s=a.result,o=()=>n({uri:s,width:0,height:0});if(typeof s=="string"){const l=new Image;l.src=s,l.onload=()=>{n({uri:s,width:l.naturalWidth??l.width,height:l.naturalHeight??l.height,mimeType:t.type,fileName:t.name,...e.base64&&{base64:s.substr(s.indexOf(",")+1)}})},l.onerror=()=>o()}else o()},i.readAsDataURL(t)})}function d4(t){const{aspect:e,quality:n,videoMaxDuration:r}=t;if(e!=null){const[i,a]=e;if(i<=0||a<=0)throw new Ro("ERR_INVALID_ARGUMENT",`Invalid aspect ratio values ${i}:${a}. Provide positive numbers.`)}if(n&&(n<0||n>1))throw new Ro("ERR_INVALID_ARGUMENT",`Invalid 'quality' value ${n}. Provide a value between 0 and 1.`);if(r&&r<0)throw new Ro("ERR_INVALID_ARGUMENT",`Invalid 'videoMaxDuration' value ${r}. Provide a non-negative number.`);return t}async function A4(t={}){if(!hl.launchCameraAsync)throw new lt("ImagePicker","launchCameraAsync");return await hl.launchCameraAsync(d4(t))}async function f4(t){if(!hl.launchImageLibraryAsync)throw new lt("ImagePicker","launchImageLibraryAsync");return t!=null&&t.allowsEditing&&t.allowsMultipleSelection&&console.warn("[expo-image-picker] `allowsEditing` is not supported when `allowsMultipleSelection` is enabled and will be ignored.Disable either 'allowsEditing' or 'allowsMultipleSelection' in 'launchImageLibraryAsync' to fix this warning."),await hl.launchImageLibraryAsync(t??{})}const h4=async t=>t===ti.notifications?(await dI(["alert","badge","carPlay","sound"])).status:uI(t),kE=t=>{const e=et(sI(t)),n=Bn(),r=Hc(),i=_.useCallback(()=>new Promise((a,s)=>{h4(t).then(o=>{const l=o===zc.GRANTED;n(ip({permission:t,granted:l})),a(l)}).catch(o=>{n(ip({permission:t,granted:!1})),r(Zn.updatePermission,"usePermission.ts",{error:o,permission:t,request:!0}),s(o)})}),[n,t,r]);return{hasPermission:e,requestPermission:i}},ms=_.forwardRef(({onPress:t,iconName:e,testID:n,label:r},i)=>{const a=On(p4);return k.jsx(zm,{onPress:t,ref:i,testID:n,children:k.jsxs(Dn,{gutter:"xs",halign:"center",children:[k.jsx(pe,{style:a.circle,children:k.jsx(Mn,{color:"link",name:e,size:"xl",testID:n+"Icon"})}),k.jsx(kn,{testID:n+"Phrase",children:r})]})})}),p4=({color:t,size:e})=>he.create({circle:{backgroundColor:t.chat.attachmentButtonCircle.background,borderRadius:50,padding:e.spacing.md}});try{ms.displayName="ChatAttachmentButton",ms.__docgenInfo={description:"",displayName:"ChatAttachmentButton",props:{iconName:{defaultValue:null,description:"",name:"iconName",required:!0,type:{name:"enum",value:[{value:'"accessCode"'},{value:'"alarm"'},{value:'"alarmFilled"'},{value:'"alert"'},{value:'"announcement"'},{value:'"api"'},{value:'"asterisk"'},{value:'"attachment"'},{value:'"chat"'},{value:'"circle-check-mark"'},{value:'"backspace"'},{value:'"camera"'},{value:'"car"'},{value:'"card"'},{value:'"chatting"'},{value:'"check-mark"'},{value:'"chevron-down"'},{value:'"chevron-left"'},{value:'"chevron-right"'},{value:'"chevron-up"'},{value:'"child"'},{value:'"circle"'},{value:'"city-office"'},{value:'"city-pass-pass"'},{value:'"city-pass"'},{value:'"clock"'},{value:'"close"'},{value:'"collaborate"'},{value:'"construction-work"'},{value:'"copy"'},{value:'"document"'},{value:'"document-text"'},{value:'"download"'},{value:'"edit"'},{value:'"email"'},{value:'"enlarge"'},{value:'"error"'},{value:'"external-link"'},{value:'"eye"'},{value:'"facade"'},{value:'"housing"'},{value:'"park-sign"'},{value:'"info"'},{value:'"keyboard"'},{value:'"list"'},{value:'"location"'},{value:'"lock"'},{value:'"login"'},{value:'"organic-waste-container"'},{value:'"person"'},{value:'"person-desk"'},{value:'"phone"'},{value:'"picture"'},{value:'"pointer"'},{value:'"question-mark-solid"'},{value:'"question-mark-circle"'},{value:'"search"'},{value:'"settings"'},{value:'"spinner"'},{value:'"trash-bin"'},{value:'"two-persons"'},{value:'"vote"'},{value:'"whatsapp"'},{value:'"wifi-disconnect"'}]}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},onPress:{defaultValue:null,description:"",name:"onPress",required:!0,type:{name:"() => void"}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const zi="ChatAttachment.tsx",XA=({onSelect:t,minHeight:e})=>{const n=Hm(Mf.long),r=On(g4),i=Hc(),{hasPermission:a,requestPermission:s}=kE(ti.camera),o=_.useCallback(()=>{f4({mediaTypes:or.Images,allowsMultipleSelection:!1,allowsEditing:!1,base64:!0}).then(u=>{var A,d;if((A=u.assets)!=null&&A[0].uri){const f=(d=u.assets)==null?void 0:d[0];cp(f.base64,f.fileName??"image.png",f.uri).then(t,p=>{Jn.alert("Sorry, opsturen van de afbeelding is mislukt. Probeer het later nog eens."),i(Zn.chatSendImageFromLibrary,zi,{error:p})})}},u=>{Jn.alert("Afbeelding kiezen is mislukt","Sorry, kiezen van een afbeelding is mislukt. Probeer het later nog eens."),i(Zn.chatPickImageFromLibrary,zi,{error:u})})},[t,i]),l=_.useCallback(async()=>{a||await s(),A4({mediaTypes:or.Images,allowsMultipleSelection:!1,allowsEditing:!1,base64:!0}).then(u=>{var A,d;if((A=u.assets)!=null&&A[0].uri){const f=(d=u.assets)==null?void 0:d[0];cp(f.base64,f.fileName??"image.png",f.uri).then(t,p=>{Jn.alert("Foto opsturen is niet gelukt","Sorry, opsturen van de afbeelding is mislukt. Probeer het later nog eens."),i(Zn.chatSendImageFromCamera,zi,{error:p})})}},u=>{Jn.alert("Foto maken is niet gelukt","Sorry, maken van een foto is mislukt. Probeer het later nog eens."),i(Zn.chatTakeImageWithCamera,zi,{error:u})})},[a,s,t,i]),c=_.useCallback(()=>{l4({type:"application/pdf"}).then(u=>{var d;const A=(d=u.assets)==null?void 0:d[0];if(A){const{uri:f,name:p}=A;xI(f,p).then(t,h=>{Jn.alert("PDF opsturen is mislukt","Sorry, opsturen van het PDF document is mislukt. Probeer het later nog eens."),i(Zn.chatSendPDF,zi,{error:h})})}},u=>{Jn.alert("PDF kiezen is mislukt","Sorry, kiezen van een PDF document is mislukt. Probeer het later nog eens."),i(Zn.chatPickPDF,zi,{error:u})})},[t,i]);return k.jsx($t.View,{entering:_i,style:[r.attachments,{minHeight:Math.round(e??0)}],children:k.jsx(hr,{children:k.jsxs(ln,{align:"evenly",gutter:"sm",children:[k.jsx(ms,{iconName:"picture",label:"Foto",onPress:o,ref:n,testID:"pdf"}),k.jsx(ms,{iconName:"camera",label:"Camera",onPress:l,testID:"pdf"}),k.jsx(ms,{iconName:"document",label:"PDF",onPress:c,testID:"pdf"})]})})})},g4=({color:t})=>he.create({attachments:{backgroundColor:t.chat.attachment.background}});try{XA.displayName="ChatAttachment",XA.__docgenInfo={description:"",displayName:"ChatAttachment",props:{minHeight:{defaultValue:null,description:"",name:"minHeight",required:!1,type:{name:"number"}},onSelect:{defaultValue:null,description:"",name:"onSelect",required:!0,type:{name:"() => void"}}}}}catch{}const v4=()=>{const{close:t}=Ri(),{addDownloadedTranscriptId:e}=_.useContext(dn);return k.jsx(hr,{children:k.jsxs(Dn,{gutter:"smd",children:[k.jsx(zd,{label:"Chat downloaden",onPress:()=>{mE().then(n=>n&&e(n))},testID:"ChatEndedDownloadButton",variant:"secondary"}),k.jsx(zd,{label:"Chat sluiten",onPress:t,testID:"ChatEndedCloseButton"})]})})},YA=({onSubmit:t})=>{const e=Ff(),n=Ls(),r=On(m4),i=On(C4),[a,s]=_.useState(""),o=_.useRef(null),{value:l,disable:c,enable:u}=lE(!1),A=_.useCallback(E=>{s(E),EI()},[]),d=_.useCallback(E=>{t(E),s("")},[t]),{height:f,visible:p}=a4(),{employeeInChat:h,isEnded:g}=_.useContext(dn);return g?k.jsx(v4,{}):k.jsxs(k.Fragment,{children:[k.jsx(s1,{behavior:ue.OS==="ios"?"padding":"height",keyboardVerticalOffset:n.top,children:k.jsx(hr,{children:k.jsxs(ln,{gutter:"sm",children:[!!h&&k.jsx(bi,{accessibilityLabel:l?"Naar toetsenbord":"Naar bijlages",hitSlop:16,icon:k.jsx(Mn,{color:"link",name:l?"keyboard":"attachment",size:"xl",testID:"ChatAttachmentsIcon"}),onPress:()=>{var E;l?((E=o.current)==null||E.focus(),c()):(ua.dismiss(),setTimeout(u,300))},testID:"ChatAttachmentsButton"}),k.jsxs(pe,{style:r.container,testID:"ChatTextInputContainer",children:[k.jsx(Rf,{...i,autoFocus:e,multiline:!0,onChangeText:A,onFocus:c,placeholder:"Typ uw bericht",ref:o,style:r.textInput,testID:"ChatTextInput",value:a}),a.length>0&&k.jsxs(pe,{style:r.buttonWrapper,children:[k.jsx(pe,{style:r.spacePlaceholder}),k.jsx(zm,{onPress:()=>d(a),style:r.button,testID:"ChatTextInputSendButton",children:k.jsx(Mn,{color:"inverse",name:"chevron-right",testID:"ChatTextInputSendButtonIcon"})})]})]})]})})}),!!l&&!p&&k.jsx(XA,{minHeight:f,onSelect:c})]})},pg=40,m4=({border:t,color:e,text:n,size:r})=>he.create({button:{backgroundColor:e.pressable.primary.default.background,alignItems:"center",justifyContent:"center",height:pg,width:pg},buttonWrapper:{height:"100%"},spacePlaceholder:{flexGrow:1},container:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderWidth:t.width.sm,padding:r.spacing.xs,columnGap:r.spacing.sm,flex:1},textInput:{flex:1,color:e.text.default,fontFamily:n.fontFamily.regular,fontSize:n.fontSize.body,padding:0,paddingLeft:r.spacing.md,paddingTop:r.spacing.sm,paddingBottom:r.spacing.sm}}),C4=({color:t})=>({placeholderTextColor:t.text.secondary});try{YA.displayName="ChatInput",YA.__docgenInfo={description:"",displayName:"ChatInput",props:{onSubmit:{defaultValue:null,description:"",name:"onSubmit",required:!0,type:{name:"(message: string) => void"}}}}}catch{}const E4=1e3,zA=({children:t})=>{const{ready:e}=_.useContext(dn),[n,r]=_.useState(!1);return _.useEffect(()=>{TE(E4).then(()=>{r(!0)})},[]),k.jsx(k.Fragment,{children:n&&!e?k.jsx(g1,{grow:!0,children:k.jsxs(Dn,{gutter:"sm",children:[k.jsx(ks,{dotActiveSize:15,dotInactiveSize:12}),k.jsx(Wm,{level:"h4",testID:"ChatWaitToStartTitle",text:"De chat wordt geladen",textAlign:"center"})]})}):t})};try{zA.displayName="ChatWaitToStart",zA.__docgenInfo={description:"",displayName:"ChatWaitToStart",props:{}}}catch{}const x4=()=>{const{isOpen:t}=Ri();return t?k.jsx(IA,{children:k.jsxs(DA,{children:[k.jsx(NO,{}),k.jsxs(zA,{children:[k.jsx(yA,{children:k.jsx(r4,{})}),k.jsx(YA,{onSubmit:mI})]})]})}):null},y4=["conversationId"],I4={hiddenInMenu:!0,name:"ChatModule",PostRenderComponent:x4,reduxConfigs:[{key:le.chat,persistVersion:0,persistWhitelist:y4,slice:oE}],slug:Ke.chat,alwaysEnabled:!0},gg={seenTips:[]},w4=He({name:le.productTour,initialState:gg,reducers:{resetSeenTips:()=>gg,addSeenTip:(t,{payload:e})=>{const{seenTips:n}=t;!n.includes(e)&&n.push(e)}}}),{addSeenTip:S4,resetSeenTips:W6}=w4.actions,b4=t=>{var e;return(e=t[le.productTour])==null?void 0:e.seenTips};var ME=(t=>(t.cityPassSecurityCode="cityPassSecurityCode",t.cityPassShowPassesButton="cityPassShowPassesButton",t.constructionWorkProjectFollowButton="constructionWorkProjectFollowButton",t))(ME||{}),qA=(t=>(t.cityPassSecurityCode="Je hebt de beveiligingscode nodig om betalingen te doen met hoge bedragen",t.cityPassShowPassesButton="Druk op de knop om je Stadspas te laten zien",t.constructionWorkProjectFollowButton="Volg een project en blijf op de hoogte van onze werkzaamheden",t))(qA||{});const _4=ya,PE=_.createContext(null),FE=(t,e="ref")=>{const n=({children:r,...i})=>{const a=_.useRef(null),[s,o]=_.useState(null),[l,c]=_.useState(!1),u=_.useCallback(async()=>{if(!(a!=null&&a.current)||!s)return!1;const[f,p]=await Promise.all([jh(a.current),jh(s)]);c(m1(f,p))},[a,s]),A={...i,onLayout:u,onScroll:u,[e]:a,scrollEventThrottle:16},d=_.useMemo(()=>({isElementVisible:l,setElementRef:o}),[l,o]);return _.useEffect(()=>{u()},[u]),k.jsx(t,{...A,children:k.jsx(PE.Provider,{value:d,children:r})})};return _.forwardRef((r,i)=>k.jsx(n,{...r,childRef:i}))},vg=FE(_4,"innerRef"),mg=FE(ya);try{vg.displayName="KeyboardAwareTrackScrollView",vg.__docgenInfo={description:"",displayName:"KeyboardAwareTrackScrollView",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},withBottomInset:{defaultValue:null,description:"",name:"withBottomInset",required:!1,type:{name:"boolean"}},childRef:{defaultValue:null,description:"",name:"childRef",required:!1,type:{name:"ForwardedRef<ScrollViewRef>"}}}}}catch{}try{mg.displayName="TrackScrollView",mg.__docgenInfo={description:"",displayName:"TrackScrollView",props:{grow:{defaultValue:null,description:"",name:"grow",required:!1,type:{name:"boolean"}},withBottomInset:{defaultValue:null,description:"",name:"withBottomInset",required:!1,type:{name:"boolean"}},childRef:{defaultValue:null,description:"",name:"childRef",required:!1,type:{name:"ForwardedRef<ScrollViewRef>"}}}}}catch{}const KA=({children:t,extraSpace:e,tipSlug:n,placement:r,testID:i})=>{const a=Bn(),o=et(b4).includes(n),l=Ff(),c=_.useContext(PE),u=c===null,{setElementRef:A,isElementVisible:d}=c??{},f=_.useRef(null),{layout:p,measureTarget:h}=C1(f),g=_.useCallback(()=>{(u||d)&&!o&&a(S4(n))},[a,u,o,d,n]);return E1(g),k.jsxs(pe,{testID:"ProductTourTipWrapper",children:[!o&&!l&&!!p&&k.jsx(x1,{accessibilityLabel:qA[n],extraSpace:e,fadeIn:!0,onPress:g,placement:r,productTourTipTargetLayout:p,ref:A,startFadeIn:d??u,testID:i,text:qA[n]}),k.jsx(pe,{collapsable:!1,onLayout:h,ref:f,children:t})]})};try{KA.displayName="ProductTourTipWrapper",KA.__docgenInfo={description:"",displayName:"ProductTourTipWrapper",props:{extraSpace:{defaultValue:null,description:"",name:"extraSpace",required:!1,type:{name:"enum",value:[{value:'"no"'},{value:'"xs"'},{value:'"sm"'},{value:'"smd"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"xxl"'}]}},placement:{defaultValue:null,description:"",name:"placement",required:!0,type:{name:"enum",value:[{value:'"above"'},{value:'"after"'},{value:'"before"'},{value:'"below"'}]}},tipSlug:{defaultValue:null,description:"",name:"tipSlug",required:!0,type:{name:"enum",value:[{value:'"cityPassSecurityCode"'},{value:'"cityPassShowPassesButton"'},{value:'"constructionWorkProjectFollowButton"'}]}},testID:{defaultValue:null,description:"",name:"testID",required:!0,type:{name:"string"}}}}}catch{}const D4=He({name:le.secureStorage,initialState:{},reducers:{setSecureItemUpdatedTimestamp:(t,{payload:e})=>{Object.assign(t,{[e]:Date.now()})},deleteSecureItemUpdatedTimestamp:(t,{payload:e})=>{t[e]&&delete t[e]}}});D4.actions;const T4=t=>e=>e[le.secureStorage][t],O4={setItem:()=>{}};var RE=(t=>(t.accessCode="accessCode",t.cityPassAccessToken="cityPassAccessToken",t.cityPassRefreshToken="cityPassRefreshToken",t.cityPasses="cityPasses",t))(RE||{});const k4=t=>new Promise((e,n)=>{O4.getItem(t).then(r=>e(r)).catch(n)}),M4=t=>{const[e,n]=_.useState(!0),[r,i]=_.useState(null),a=et(T4(t));return _.useEffect(()=>{k4(t).then(s=>{i(s),n(!1)}).catch(()=>{i(null),n(!1)})},[t,a]),{item:r,isLoading:e}},P4=t=>t.map(e=>({dateEndFormatted:e.d,firstname:e.f,infix:e.i,lastname:e.l,passNumberComplete:e.p})),NE=()=>{const{item:t}=M4(RE.cityPasses);return _.useMemo(()=>t?P4(JSON.parse(t)):[],[t])},F4={isCityPassesVisible:!1,isCityPassOwnerRegistered:!1,startIndex:0},BE=He({name:le.cityPass,initialState:F4,reducers:{hideCityPasses:t=>{t.isCityPassesVisible=!1},setIsCityPassOwnerRegistered:(t,{payload:e})=>{t.isCityPassOwnerRegistered=e},showCityPasses:(t,{payload:e})=>{t.isCityPassesVisible=!0,t.startIndex=e??0}}}),{hideCityPasses:R4,setIsCityPassOwnerRegistered:X6,showCityPasses:N4}=BE.actions,B4=t=>t[le.cityPass].isCityPassesVisible,G4=t=>t[le.cityPass].startIndex,L4=()=>{const t=Bn(),e=NE();return e!=null&&e.length?k.jsx(KA,{extraSpace:"md",placement:I1.below,testID:"HeaderShowCityPassesTooltip",tipSlug:ME.cityPassShowPassesButton,children:k.jsx(bi,{accessibilityLabel:"Toon Stadspas",icon:k.jsx(Mn,{color:"link",name:"city-pass-pass",size:"lg",testID:"HeaderCityPassIcon"}),onPress:()=>t(N4()),testID:"HeaderCityPassButton"})}):null};var ai;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.PORTRAIT_UP=1]="PORTRAIT_UP",t[t.PORTRAIT_DOWN=2]="PORTRAIT_DOWN",t[t.LANDSCAPE_LEFT=3]="LANDSCAPE_LEFT",t[t.LANDSCAPE_RIGHT=4]="LANDSCAPE_RIGHT"})(ai||(ai={}));var vt;(function(t){t[t.DEFAULT=0]="DEFAULT",t[t.ALL=1]="ALL",t[t.PORTRAIT=2]="PORTRAIT",t[t.PORTRAIT_UP=3]="PORTRAIT_UP",t[t.PORTRAIT_DOWN=4]="PORTRAIT_DOWN",t[t.LANDSCAPE=5]="LANDSCAPE",t[t.LANDSCAPE_LEFT=6]="LANDSCAPE_LEFT",t[t.LANDSCAPE_RIGHT=7]="LANDSCAPE_RIGHT",t[t.OTHER=8]="OTHER",t[t.UNKNOWN=9]="UNKNOWN"})(vt||(vt={}));var Cg;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.COMPACT=1]="COMPACT",t[t.REGULAR=2]="REGULAR"})(Cg||(Cg={}));var mt;(function(t){t.PORTRAIT_PRIMARY="portrait-primary",t.PORTRAIT_SECONDARY="portrait-secondary",t.PORTRAIT="portrait",t.LANDSCAPE_PRIMARY="landscape-primary",t.LANDSCAPE_SECONDARY="landscape-secondary",t.LANDSCAPE="landscape",t.ANY="any",t.NATURAL="natural",t.UNKNOWN="unknown"})(mt||(mt={}));var ea;(function(t){t.PORTRAIT_PRIMARY="portrait-primary",t.PORTRAIT_SECONDARY="portrait-secondary",t.LANDSCAPE_PRIMARY="landscape-primary",t.LANDSCAPE_SECONDARY="landscape-secondary"})(ea||(ea={}));const Eg={[vt.DEFAULT]:mt.NATURAL,[vt.ALL]:mt.ANY,[vt.PORTRAIT]:mt.PORTRAIT,[vt.PORTRAIT_UP]:mt.PORTRAIT_PRIMARY,[vt.PORTRAIT_DOWN]:mt.PORTRAIT_SECONDARY,[vt.LANDSCAPE]:mt.LANDSCAPE,[vt.LANDSCAPE_LEFT]:mt.LANDSCAPE_PRIMARY,[vt.LANDSCAPE_RIGHT]:mt.LANDSCAPE_SECONDARY},V4={[ea.PORTRAIT_PRIMARY]:ai.PORTRAIT_UP,[ea.PORTRAIT_SECONDARY]:ai.PORTRAIT_DOWN,[ea.LANDSCAPE_PRIMARY]:ai.LANDSCAPE_LEFT,[ea.LANDSCAPE_SECONDARY]:ai.LANDSCAPE_RIGHT},Me=Di.canUseViewport?window.screen:{},Bu=Di.canUseViewport&&(Me.orientation||Me.msOrientation)||null;async function xg(){const[t,e]=await Promise.all([Y4(),X4()]);Xd.emit("expoDidUpdateDimensions",{orientationLock:t,orientationInfo:{orientation:e}})}Di.canUseEventListeners&&(Bu&&Bu.addEventListener?Bu.addEventListener("change",xg):window.addEventListener("orientationchange",xg));function H4(t){switch(t){case mt.UNKNOWN:throw new Error("expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock to be converted.");case mt.ANY:return["portrait","landscape"];case mt.NATURAL:return"default";default:return t}}async function yg(t){if(t===mt.UNKNOWN)throw new Error("expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock that can be applied to the device.");if(Me.orientation&&Me.orientation.lock)await Me.orientation.lock(t);else if(Me.lockOrientation||Me.mozLockOrientation||Me.msLockOrientation){const e=H4(t);if(!(Me.lockOrientation||Me.mozLockOrientation||Me.msLockOrientation).call(Me,e))throw new Error(`Applying orientation lock: ${JSON.stringify(t)} to device was denied`)}else throw new Error("expo-screen-orientation: The browser doesn't support locking screen orientation.")}let Ig=mt.UNKNOWN;const fr={async supportsOrientationLockAsync(t){return t in Eg},async getPlatformOrientationLockAsync(){return Ig},async getOrientationAsync(){const t=Me.msOrientation||(Me.orientation||Me.mozOrientation||{}).type;return t?V4[t]:ai.UNKNOWN},async lockAsync(t){const e=Eg[t];if(!e)throw new TypeError(`Invalid Orientation Lock: ${t}`);await yg(e)},async lockPlatformAsync(t){await yg(t),Ig=t},async unlockAsync(){if(Me.orientation&&Me.orientation.unlock)Me.orientation.unlock();else if(Me.unlockOrientation||Me.mozUnlockOrientation||Me.msUnlockOrientation){if(!(Me.unlockOrientation||Me.mozUnlockOrientation||Me.msUnlockOrientation).call(Me))throw new Error("Unlocking screen orientation on device was denied")}else throw new Error("expo-screen-orientation: The browser doesn't support unlocking screen orientation.")}};new uE(fr);let GE=vt.UNKNOWN;async function U4(t){if(!fr.lockAsync)throw new lt("ScreenOrientation","lockAsync");if(!Object.values(vt).includes(t))throw new TypeError(`Invalid Orientation Lock: ${t}`);t!==vt.OTHER&&(await fr.lockAsync(t),GE=t)}async function W4(){if(!fr.lockAsync)throw new lt("ScreenOrientation","lockAsync");await fr.lockAsync(vt.DEFAULT)}async function X4(){if(!fr.getOrientationAsync)throw new lt("ScreenOrientation","getOrientationAsync");return await fr.getOrientationAsync()}async function Y4(){return fr.getOrientationLockAsync?await fr.getOrientationLockAsync():GE}const z4=He({name:le.overlay,initialState:{isOpen:!1},reducers:{closeOverlay:t=>{t.isOpen=!1},openOverlay:t=>{t.isOpen=!0},toggleOverlay:t=>{t.isOpen=!t.isOpen}}}),{closeOverlay:q4,openOverlay:K4,toggleOverlay:$4}=z4.actions,j4=()=>{const t=Bn();return{isOpen:et(n=>n[le.overlay].isOpen),..._.useMemo(()=>({close:()=>t(q4()),open:()=>t(K4()),toggle:()=>t($4())}),[t])}},$A=({backgroundColor:t,children:e,closeButtonContainerWidth:n,onClose:r,...i})=>{const a=Bn(),{close:s,isOpen:o,open:l}=j4(),{setHideFromAccessibility:c}=ph(),u=On(A=>Q4(A,n));return _.useEffect(()=>(l(),()=>{s()}),[s,a,l]),_.useEffect(()=>(c(o),()=>{c(!1)}),[o,c]),k.jsx($t.View,{...i,entering:_i,exiting:Is,style:[i.style,he.absoluteFill,u.container,{backgroundColor:t}],children:k.jsxs(Dn,{gutter:"md",children:[k.jsx(Of,{onPress:r,testID:"OverlayCloseButton",variant:"transparent",children:k.jsx(ln,{align:"center",children:k.jsx(pe,{style:u.closeButtonInnerContainer,children:k.jsxs(ln,{gutter:"md",valign:"center",children:[k.jsx(Mn,{color:"inverse",name:"close",size:"lg",testID:"OverlayCloseButtonIcon"}),k.jsx(kn,{color:"inverse",testID:"OverlayCloseButtonPhrase",children:"Sluiten"})]})})})}),e]})})},Q4=({z:t},e)=>he.create({container:{flex:1,justifyContent:"center",alignItems:"center",zIndex:t.overlay},closeButtonInnerContainer:{width:e}});try{$A.displayName="Overlay",$A.__docgenInfo={description:"",displayName:"Overlay",props:{backgroundColor:{defaultValue:null,description:"",name:"backgroundColor",required:!0,type:{name:"string"}},closeButtonContainerWidth:{defaultValue:null,description:"Used to outline close-button on top of another component",name:"closeButtonContainerWidth",required:!1,type:{name:"number"}},onClose:{defaultValue:null,description:"",name:"onClose",required:!0,type:{name:"() => void"}}}}}catch{}const Z4=`The package 'react-native-block-screenshot' doesn't seem to be linked. Make sure: `+ue.select({ios:`- You have run 'pod install' `,default:""})+`- You rebuilt the app after installing the package diff --git a/assets/preview-DimCL9bU.js b/assets/preview-1KpdE0wR.js similarity index 93% rename from assets/preview-DimCL9bU.js rename to assets/preview-1KpdE0wR.js index 1cc1873d..53078fa8 100644 --- a/assets/preview-DimCL9bU.js +++ b/assets/preview-1KpdE0wR.js @@ -1,2 +1,2 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./axe-Ct0p1Ykl.js","./_commonjsHelpers-BosuxZz1.js"])))=>i.map(i=>d[i]); -import{_ as S}from"./iframe-Cwt7ez56.js";import"../sb-preview/runtime.js";const{addons:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:U}=__STORYBOOK_MODULE_GLOBAL__;var o="storybook/a11y",y=`${o}/result`,L=`${o}/request`,d=`${o}/running`,A=`${o}/error`,T=`${o}/manual`,r={RESULT:y,REQUEST:L,RUNNING:d,ERROR:A,MANUAL:T},{document:g}=U,a=f.getChannel(),l=!1,_,R={config:{},options:{}},v=async(n,e)=>{e!=null&&e.manual||await i(n,e??R)},i=async(n,e=R)=>{_=n;try{if(!l){l=!0,a.emit(r.RUNNING);let{default:t}=await S(()=>import("./axe-Ct0p1Ykl.js").then(N=>N.a),__vite__mapDeps([0,1]),import.meta.url),{element:m="#storybook-root",config:s,options:O={}}=e,E=g.querySelector(m);if(!E)return;t.reset(),s&&t.configure(s);let c=await t.run(E,O),u=JSON.parse(JSON.stringify(c));_===n?a.emit(r.RESULT,u):(l=!1,i(_))}}catch(t){a.emit(r.ERROR,t)}finally{l=!1}};a.on(r.REQUEST,v);a.on(r.MANUAL,i); +import{_ as S}from"./iframe-oMwCeC19.js";import"../sb-preview/runtime.js";const{addons:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:U}=__STORYBOOK_MODULE_GLOBAL__;var o="storybook/a11y",y=`${o}/result`,L=`${o}/request`,d=`${o}/running`,A=`${o}/error`,T=`${o}/manual`,r={RESULT:y,REQUEST:L,RUNNING:d,ERROR:A,MANUAL:T},{document:g}=U,a=f.getChannel(),l=!1,_,R={config:{},options:{}},v=async(n,e)=>{e!=null&&e.manual||await i(n,e??R)},i=async(n,e=R)=>{_=n;try{if(!l){l=!0,a.emit(r.RUNNING);let{default:t}=await S(()=>import("./axe-Ct0p1Ykl.js").then(N=>N.a),__vite__mapDeps([0,1]),import.meta.url),{element:m="#storybook-root",config:s,options:O={}}=e,E=g.querySelector(m);if(!E)return;t.reset(),s&&t.configure(s);let c=await t.run(E,O),u=JSON.parse(JSON.stringify(c));_===n?a.emit(r.RESULT,u):(l=!1,i(_))}}catch(t){a.emit(r.ERROR,t)}finally{l=!1}};a.on(r.REQUEST,v);a.on(r.MANUAL,i); diff --git a/assets/preview-DZzZa8Fn.js b/assets/preview-Buiu3RNa.js similarity index 79% rename from assets/preview-DZzZa8Fn.js rename to assets/preview-Buiu3RNa.js index 8b7b3fb6..9df7c742 100644 --- a/assets/preview-DZzZa8Fn.js +++ b/assets/preview-Buiu3RNa.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DocsRenderer-CFRXHY34-CH-eIvHo.js","./iframe-Cwt7ez56.js","./index-mfbfsM12.js","./_commonjsHelpers-BosuxZz1.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./jsx-runtime-Bxcv0yjW.js","./index-DFkxGuuM.js","./index-kifaGmES.js","./index-DrFu-skq.js","./react-18-ClY32pUF.js","./client-BGlHIwA3.js"])))=>i.map(i=>d[i]); -import{_ as a}from"./iframe-Cwt7ez56.js";import"../sb-preview/runtime.js";var i=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-CH-eIvHo.js").then(r=>r.ak),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>i[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DocsRenderer-CFRXHY34-CB3m3uCJ.js","./iframe-oMwCeC19.js","./index-mfbfsM12.js","./_commonjsHelpers-BosuxZz1.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./jsx-runtime-Bxcv0yjW.js","./index-DFkxGuuM.js","./index-kifaGmES.js","./index-DrFu-skq.js","./react-18-ClY32pUF.js","./client-BGlHIwA3.js"])))=>i.map(i=>d[i]); +import{_ as a}from"./iframe-oMwCeC19.js";import"../sb-preview/runtime.js";var i=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-CB3m3uCJ.js").then(r=>r.ak),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>i[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; diff --git a/assets/preview-57qoK5dq.js b/assets/preview-Dad1TSsD.js similarity index 97% rename from assets/preview-57qoK5dq.js rename to assets/preview-Dad1TSsD.js index 4873a255..11a06f9b 100644 --- a/assets/preview-57qoK5dq.js +++ b/assets/preview-Dad1TSsD.js @@ -1 +1 @@ -import{j as $}from"./jsx-runtime-Bxcv0yjW.js";import{D as nt}from"./useDeviceContext-Cm8FgCCV.js";import{g as ot,R as it,i as st,c as J,b as I,t as at,d as ut,e as lt}from"./useThemable-ua4U8LzO.js";import{f as q,v as Ce,g as Ie,a as je,L as ct,D as dt,b as ft,e as pt,h as mt,i as ht,o as vt,p as gt,j as yt,s as bt,k as St,l as te,m as xt,c as wt}from"./modules-JDQiHpSw.js";import{e as Pt,A as Ot}from"./useTrackException-Cm6KdDpO.js";import{g as ke,c as Et}from"./_commonjsHelpers-BosuxZz1.js";import{c as Rt,A as Ct}from"./development-LhlsWDYu.js";import{r as s}from"./index-mfbfsM12.js";import{i as It}from"./Fader-CBhy3bI5.js";import{L as fe}from"./useOpenUrl-BebUyU0w.js";import{b as D}from"./base-color-B2rPH-Aj.js";import{N as pe,r as jt,C as me,q as kt}from"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import{N as At,a as Lt}from"./Tooltip-BzAIIzXz.js";import"./index-8JwjhRSi.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./index-BXDkY5MO.js";import"./index-DFkxGuuM.js";import"./index-CAyeAlm6.js";import"./index-BP1Ij_Cs.js";import"./Animated-CFNSbqHF.js";import"./extends-CF3RwP-h.js";import"./index-2SHDvLR_.js";import"./useTheme-ChTiG3MC.js";import"./index-DbcoTUCW.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useAccessibilityFocus-jeKlJ74P.js";import"./index-DEfxrPnc.js";import"./index-CDv7s-w8.js";import"./useIsScreenReaderEnabled-A65pchNu.js";import"./duration-A4BOymd5.js";import"./Pressable-kwatEfDj.js";import"./PressableBase-C7VxqMV9.js";import"./index-LDRWBpq_.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./Size-ByzkQpGs.js";import"./Phrase-Dnv5p-ah.js";import"./index-Ce74jbsy.js";import"./IconButton-C0GLYfe-.js";import"./config-BZnShabN.js";import"./Badge-BAkGihjF.js";import"./Row-D-wvv0CV.js";import"./types-BJ_48vsK.js";import"./Icon-BD3fFj_K.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Title-DSiraCpB.js";import"./Gutter-BrZ2VZou.js";import"./ChatSystemEntry-hHuktGEM.js";import"./Button-jNQoxaXU.js";import"./index-DZxzYa9i.js";import"./Center-2_hcwEx9.js";import"./index-k6NSpe5t.js";import"./HideFromAccessibility-B6TCA_vV.js";import"./PleaseWait-DtPz9rW0.js";import"./Paragraph-C4zYzItT.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-CkqLweLe.js";import"./client-BGlHIwA3.js";import"./index-DgmJIe7t.js";import"./useOpenMailUrl-hiSWEozv.js";import"./useOpenPhoneUrl-C5nkLsXz.js";import"./Triangle-rmeRPZtY.js";import"./SingleSelectable-BAFROorM.js";let Nt="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",he=(e=21)=>{let t="",r=e;for(;r--;)t+=Nt[Math.random()*64|0];return t};const _t='Another navigator is already registered for this container. You likely have multiple navigators under a single "NavigationContainer" or "Screen". Make sure each navigator is under a separate "Screen" container. See https://reactnavigation.org/docs/nesting-navigators for a guide on nesting.',Tt=s.createContext(void 0);function Mt(e){let{children:t}=e;const r=s.useRef(),n=s.useMemo(()=>({register(o){const i=r.current;if(i!==void 0&&o!==i)throw new Error(_t);r.current=o},unregister(o){const i=r.current;o===i&&(r.current=void 0)}}),[]);return s.createElement(Tt.Provider,{value:n},t)}const Ae=s.createContext({onDispatchAction:()=>{},onOptionsChange:()=>{}}),Ft=s.createContext(void 0),V="Couldn't find a navigation context. Have you wrapped your app with 'NavigationContainer'? See https://reactnavigation.org/docs/getting-started for setup instructions.",re=s.createContext({isDefault:!0,get getKey(){throw new Error(V)},get setKey(){throw new Error(V)},get getState(){throw new Error(V)},get setState(){throw new Error(V)},get getIsInitial(){throw new Error(V)}}),Dt=s.createContext(void 0);function Ut(){const{current:e}=s.useRef({action:[],focus:[]}),t=s.useCallback((r,n)=>{e[r].push(n);let o=!1;return()=>{const i=e[r].indexOf(n);!o&&i>-1&&(o=!0,e[r].splice(i,1))}},[e]);return{listeners:e,addListener:t}}function $t(e){const t=s.useRef(e);s.useEffect(()=>{t.current=e});const r=s.useRef(Object.create(null)),n=s.useCallback(i=>{const u=(l,c)=>{const f=r.current[l]?r.current[l][i]:void 0;if(!f)return;const d=f.indexOf(c);d>-1&&f.splice(d,1)};return{addListener:(l,c)=>{r.current[l]=r.current[l]||{},r.current[l][i]=r.current[l][i]||[],r.current[l][i].push(c);let f=!1;return()=>{f||(f=!0,u(l,c))}},removeListener:u}},[]),o=s.useCallback(i=>{var u,a;let{type:l,data:c,target:f,canPreventDefault:d}=i;const h=r.current[l]||{},p=f!==void 0?(u=h[f])===null||u===void 0?void 0:u.slice():[].concat(...Object.keys(h).map(y=>h[y])).filter((y,v,S)=>S.lastIndexOf(y)===v),g={get type(){return l}};if(f!==void 0&&Object.defineProperty(g,"target",{enumerable:!0,get(){return f}}),c!==void 0&&Object.defineProperty(g,"data",{enumerable:!0,get(){return c}}),d){let y=!1;Object.defineProperties(g,{defaultPrevented:{enumerable:!0,get(){return y}},preventDefault:{enumerable:!0,value(){y=!0}}})}return(a=t.current)===null||a===void 0||a.call(t,g),p==null||p.forEach(y=>y(g)),g},[]);return s.useMemo(()=>({create:n,emit:o}),[n,o])}function Kt(){const{current:e}=s.useRef(Object.assign(Object.create(null),{getState:{},beforeRemove:{}})),t=s.useCallback((r,n,o)=>(e[r][n]=o,()=>{e[r][n]=void 0}),[e]);return{keyedListeners:e,addKeyedListener:t}}function Gt(e){let{key:t,options:r,navigation:n}=e;const o=s.useRef(r),i=s.useRef({}),{onOptionsChange:u}=s.useContext(Ae),{addOptionsGetter:a}=s.useContext(re),l=s.useCallback(()=>{const h=(n==null?void 0:n.isFocused())??!0,p=Object.keys(i.current).length;h&&!p&&u(o.current??{})},[n,u]);s.useEffect(()=>(o.current=r,l(),n==null?void 0:n.addListener("focus",l)),[n,r,l]);const c=s.useCallback(()=>{for(let g in i.current)if(i.current.hasOwnProperty(g)){var h,p;const y=(h=(p=i.current)[g])===null||h===void 0?void 0:h.call(p);if(y!==null)return y}return null},[]),f=s.useCallback(()=>{if(!((n==null?void 0:n.isFocused())??!0))return null;const p=c();return p!==null?p:o.current},[n,c]);return s.useEffect(()=>a==null?void 0:a(t,f),[f,a,t]),{addOptionsGetter:s.useCallback((h,p)=>(i.current[h]=p,l(),()=>{delete i.current[h],l()}),[l]),getCurrentOptions:f}}const ve="Couldn't find a schedule context.",Vt=s.createContext({scheduleUpdate(){throw new Error(ve)},flushUpdates(){throw new Error(ve)}}),ge={};function zt(e){const t=s.useRef(ge),r=s.useRef(!1),n=s.useRef(!0);s.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),t.current===ge&&(t.current=typeof e=="function"?e():e);const[o,i]=s.useState(t.current),u=s.useCallback(()=>t.current,[]),a=s.useCallback(d=>{d===t.current||!n.current||(t.current=d,r.current||i(d))},[]),l=s.useCallback(d=>{r.current=!0;try{d()}finally{r.current=!1}},[]),c=s.useCallback(()=>{n.current&&i(t.current)},[]);o!==t.current&&i(t.current);const f=t.current;return s.useDebugValue(f),[f,u,a,l,c]}const Le=e=>{if(e===void 0)return;const{key:t,routeNames:r,...n}=e;return{...n,stale:!0,routes:e.routes.map(o=>o.state===void 0?o:{...o,state:Le(o.state)})}},Wt=s.forwardRef(function(t,r){let{initialState:n,onStateChange:o,onUnhandledAction:i,independent:u,children:a}=t;if(!s.useContext(re).isDefault&&!u)throw new Error("Looks like you have nested a 'NavigationContainer' inside another. Normally you need only one container at the root of the app, so this was probably an error. If this was intentional, pass 'independent={true}' explicitly. Note that this will make the child navigators disconnected from the parent and you won't be able to navigate between them.");const[c,f,d,h,p]=zt(()=>Le(n??void 0)),g=s.useRef(!0),y=s.useRef(),v=s.useCallback(()=>y.current,[]),S=s.useCallback(P=>{y.current=P},[]),{listeners:O,addListener:x}=Ut(),{keyedListeners:b,addKeyedListener:E}=Kt(),m=s.useCallback(P=>{O.focus[0]==null?console.error(pe):O.focus[0](k=>k.dispatch(P))},[O.focus]),j=s.useCallback(()=>{if(O.focus[0]==null)return!1;const{result:P,handled:k}=O.focus[0](W=>W.canGoBack());return k?P:!1},[O.focus]),w=s.useCallback(P=>{var k,W;const de=(P==null?void 0:P.key)??((k=(W=b.getState).root)===null||k===void 0?void 0:k.call(W).key);de==null?console.error(pe):O.focus[0](rt=>rt.dispatch({...jt(P),target:de}))},[b.getState,O.focus]),R=s.useCallback(()=>{var P,k;return(P=(k=b.getState).root)===null||P===void 0?void 0:P.call(k)},[b.getState]),L=s.useCallback(()=>{const P=R();return P==null?void 0:q(P)},[R]),C=$t(),{addOptionsGetter:A,getCurrentOptions:_}=Gt({}),T=s.useMemo(()=>({...Object.keys(me).reduce((P,k)=>(P[k]=function(){return m(me[k](...arguments))},P),{}),...C.create("root"),dispatch:m,resetRoot:w,isFocused:()=>!0,canGoBack:j,getParent:()=>{},getState:()=>ce.current,getRootState:R,getCurrentRoute:L,getCurrentOptions:_,isReady:()=>O.focus[0]!=null,setOptions:()=>{throw new Error("Cannot call setOptions outside a screen")}}),[j,m,C,_,L,R,O.focus,w]);s.useImperativeHandle(r,()=>T,[T]);const M=s.useCallback((P,k)=>{C.emit({type:"__unsafe_action__",data:{action:P,noop:k,stack:ae.current}})},[C]),F=s.useRef(),Z=s.useCallback(P=>{F.current!==P&&(F.current=P,C.emit({type:"options",data:{options:P}}))},[C]),ae=s.useRef(),Ze=s.useMemo(()=>({addListener:x,addKeyedListener:E,onDispatchAction:M,onOptionsChange:Z,stackRef:ae}),[x,E,M,Z]),Qe=s.useMemo(()=>({scheduleUpdate:h,flushUpdates:p}),[h,p]),ue=s.useRef(!0),le=s.useCallback(()=>ue.current,[]),et=s.useMemo(()=>({state:c,getState:f,setState:d,getKey:v,setKey:S,getIsInitial:le,addOptionsGetter:A}),[c,f,d,v,S,le,A]),Q=s.useRef(o),ce=s.useRef(c);s.useEffect(()=>{ue.current=!1,Q.current=o,ce.current=c}),s.useEffect(()=>{const P=R();C.emit({type:"state",data:{state:c}}),!g.current&&Q.current&&Q.current(P),g.current=!1},[R,C,c]);const tt=s.useCallback(P=>{},[]);let ee=s.createElement(At.Provider,{value:T},s.createElement(Vt.Provider,{value:Qe},s.createElement(Ae.Provider,{value:Ze},s.createElement(re.Provider,{value:et},s.createElement(Dt.Provider,{value:i??tt},s.createElement(Mt,null,a))))));return u&&(ee=s.createElement(Ft.Provider,{value:void 0},s.createElement(Lt.Provider,{value:void 0},ee))),ee});function Ne(e){return e.reduce((t,r)=>{let[n,o]=r;if(t.hasOwnProperty(n))throw new Error(`A value for key '${n}' already exists in the object.`);return t[n]=o,t},{})}const _e=e=>{const t=typeof e.index=="number"?e.routes[e.index]:e.routes[e.routes.length-1];return t.state?_e(t.state):t};function Te(e,t){if(e==null)throw Error("Got 'undefined' for the navigation state. You must pass a valid state object.");t&&Ce(t);const r=t!=null&&t.screens?Me(t==null?void 0:t.screens):{};let n="/",o=e;const i={};for(;o;){let l=typeof o.index=="number"?o.index:0,c=o.routes[l],f,d,h=_e(e),p=r,g=[],y=!0;for(;c.name in p&&y;){if(f=p[c.name].pattern,g.push(c.name),c.params){var u;const v=(u=p[c.name])===null||u===void 0?void 0:u.stringify,S=Ne(Object.entries(c.params).map(O=>{let[x,b]=O;return[x,v!=null&&v[x]?v[x](b):String(b)]}));if(f&&Object.assign(i,S),h===c){var a;d={...S},(a=f)===null||a===void 0||a.split("/").filter(O=>O.startsWith(":")).forEach(O=>{const x=ye(O);d&&delete d[x]})}}if(!p[c.name].screens||c.state===void 0)y=!1;else{l=typeof c.state.index=="number"?c.state.index:c.state.routes.length-1;const v=c.state.routes[l],S=p[c.name].screens;S&&v.name in S?(c=v,p=S):y=!1}}if(f===void 0&&(f=g.join("/")),p[c.name]!==void 0?n+=f.split("/").map(v=>{const S=ye(v);if(v==="*")return c.name;if(v.startsWith(":")){const O=i[S];return O===void 0&&v.endsWith("?")?"":encodeURIComponent(O)}return encodeURIComponent(v)}).join("/"):n+=encodeURIComponent(c.name),d||(d=h.params),c.state)n+="/";else if(d){for(let S in d)d[S]==="undefined"&&delete d[S];const v=kt.stringify(d,{sort:!1});v&&(n+=`?${v}`)}o=c.state}return n=n.replace(/\/+/g,"/"),n=n.length>1?n.replace(/\/$/,""):n,n}const ye=e=>e.replace(/^:/,"").replace(/\?$/,""),be=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return[].concat(...t.map(n=>n.split("/"))).filter(Boolean).join("/")},Ht=(e,t)=>{var r;if(typeof e=="string")return{pattern:t?be(t,e):e};let n;if(e.exact&&e.path===void 0)throw new Error("A 'path' needs to be specified when specifying 'exact: true'. If you don't want this screen in the URL, specify it as empty string, e.g. `path: ''`.");n=e.exact!==!0?be(t||"",e.path||""):e.path||"";const o=e.screens?Me(e.screens,n):void 0;return{pattern:(r=n)===null||r===void 0?void 0:r.split("/").filter(Boolean).join("/"),stringify:e.stringify,screens:o}},Me=(e,t)=>Ne(Object.entries(e).map(r=>{let[n,o]=r;const i=Ht(o,t);return[n,i]}));function qt(){const e=ot();let t=null,r=null;return{clear(){t=null,r=null},notify(){e(()=>{let n=t;for(;n;)n.callback(),n=n.next})},get(){let n=[],o=t;for(;o;)n.push(o),o=o.next;return n},subscribe(n){let o=!0,i=r={callback:n,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){!o||t===null||(o=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}const Se={notify(){},get:()=>[]};function Bt(e,t){let r,n=Se,o=0,i=!1;function u(y){f();const v=n.subscribe(y);let S=!1;return()=>{S||(S=!0,v(),d())}}function a(){n.notify()}function l(){g.onStateChange&&g.onStateChange()}function c(){return i}function f(){o++,r||(r=e.subscribe(l),n=qt())}function d(){o--,r&&o===0&&(r(),r=void 0,n.clear(),n=Se)}function h(){i||(i=!0,f())}function p(){i&&(i=!1,d())}const g={addNestedSub:u,notifyNestedSubs:a,handleChangeWrapper:l,isSubscribed:c,trySubscribe:h,tryUnsubscribe:p,getListeners:()=>n};return g}const Xt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Jt=Xt?s.useLayoutEffect:s.useEffect;function Yt({store:e,context:t,children:r,serverState:n,stabilityCheck:o="once",noopCheck:i="once"}){const u=s.useMemo(()=>{const c=Bt(e);return{store:e,subscription:c,getServerState:n?()=>n:void 0,stabilityCheck:o,noopCheck:i}},[e,n,o,i]),a=s.useMemo(()=>e.getState(),[e]);Jt(()=>{const{subscription:c}=u;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),a!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[u,a]);const l=t||it;return s.createElement(l.Provider,{value:u},r)}const Fe={dark:!1,colors:{primary:"rgb(0, 122, 255)",background:"rgb(242, 242, 242)",card:"rgb(255, 255, 255)",text:"rgb(28, 28, 30)",border:"rgb(216, 216, 216)",notification:"rgb(255, 59, 48)"}},De=s.createContext(Fe);De.displayName="ThemeContext";function Zt(e){let{value:t,children:r}=e;return s.createElement(De.Provider,{value:t},r)}function Qt(e){let{enabled:t=!0,formatter:r=(n,o)=>(n==null?void 0:n.title)??(o==null?void 0:o.name)}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};s.useEffect(()=>{if(!t)return;const n=e.current;if(n){const o=r(n.getCurrentOptions(),n.getCurrentRoute());document.title=o}return n==null?void 0:n.addListener("options",o=>{const i=r(o.data.options,n==null?void 0:n.getCurrentRoute());document.title=i})})}var er=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(o=n;o--!==0;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(i=Object.keys(t),n=i.length,n!==Object.keys(r).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;o--!==0;){var u=i[o];if(!e(t[u],r[u]))return!1}return!0}return t!==t&&r!==r};const tr=ke(er);function rr(){let e=0,t=[];const r=[],n=()=>{r.forEach(i=>{const u=i.cb;i.cb=()=>u(!0)})};return{get index(){var i;const u=(i=window.history.state)===null||i===void 0?void 0:i.id;if(u){const a=t.findIndex(l=>l.id===u);return a>-1?a:0}return 0},get(i){return t[i]},backIndex(i){let{path:u}=i;for(let a=e-1;a>=0;a--)if(t[a].path===u)return a;return-1},push(i){let{path:u,state:a}=i;n();const l=he();t=t.slice(0,e+1),t.push({path:u,state:a,id:l}),e=t.length-1,window.history.pushState({id:l},"",u)},replace(i){var u;let{path:a,state:l}=i;n();const c=((u=window.history.state)===null||u===void 0?void 0:u.id)??he();let f=a;!t.length||t.findIndex(d=>d.id===c)<0?(f=f+location.hash,t=[{path:f,state:l,id:c}],e=0):(t[e].path===a&&(f=f+location.hash),t[e]={path:a,state:l,id:c}),window.history.replaceState({id:c},"",f)},go(i){n();const u=e+i,a=t.length-1;if(i<0&&!t[u]?(i=-e,e=0):i>0&&u>a?(i=a-e,e=a):e=u,i!==0)return new Promise((l,c)=>{const f=p=>{if(clearTimeout(d),p){c(new Error("History was changed during navigation."));return}const{title:g}=window.document;window.document.title="",window.document.title=g,l()};r.push({ref:f,cb:f});const d=setTimeout(()=>{const p=r.findIndex(g=>g.ref===f);p>-1&&(r[p].cb(),r.splice(p,1))},100),h=()=>{var p;const g=(p=window.history.state)===null||p===void 0?void 0:p.id,y=t.findIndex(S=>S.id===g);e=Math.max(y,0);const v=r.pop();window.removeEventListener("popstate",h),v==null||v.cb()};window.addEventListener("popstate",h),window.history.go(i)})},listen(i){const u=()=>{r.length||i()};return window.addEventListener("popstate",u),()=>window.removeEventListener("popstate",u)}}}const nr=s.createContext(void 0),Ue=(e,t)=>{if(e===void 0||t===void 0||e.key!==t.key)return[void 0,void 0];const r=e.history?e.history.length:e.routes.length,n=t.history?t.history.length:t.routes.length,o=e.routes[e.index],i=t.routes[t.index],u=o.state,a=i.state;return r!==n||o.key!==i.key||u===void 0||a===void 0||u.key!==a.key?[e,t]:Ue(u,a)},or=e=>{let t=Promise.resolve();return()=>{t=t.then(e)}};function ir(e,t){let{independent:r,enabled:n=!0,config:o,getStateFromPath:i=Ie,getPathFromState:u=Te,getActionFromState:a=je}=t;s.useEffect(()=>{},[n,r]);const[l]=s.useState(rr),c=s.useRef(n),f=s.useRef(o),d=s.useRef(i),h=s.useRef(u),p=s.useRef(a);s.useEffect(()=>{c.current=n,f.current=o,d.current=i,h.current=u,p.current=a});const g=s.useContext(nr),y=s.useCallback(()=>{let x;if(c.current){const E=(g==null?void 0:g.location)??(typeof window<"u"?window.location:void 0),m=E?E.pathname+E.search:void 0;m&&(x=d.current(m,f.current))}const b={then(E){return Promise.resolve(E?E(x):x)},catch(){return b}};return b},[]),v=s.useRef(void 0),S=s.useRef(void 0),O=s.useRef(void 0);return s.useEffect(()=>(v.current=l.index,l.listen(()=>{const x=e.current;if(!x||!n)return;const{location:b}=window,E=b.pathname+b.search,m=l.index,j=v.current??0;v.current=m,O.current=E;const w=l.get(m);if((w==null?void 0:w.path)===E&&w!==null&&w!==void 0&&w.state){x.resetRoot(w.state);return}const R=d.current(E,f.current);if(R){const L=x.getRootState();if(R.routes.some(C=>!(L!=null&&L.routeNames.includes(C.name)))){console.warn("The navigation state parsed from the URL contains routes not present in the root navigator. This usually means that the linking configuration doesn't match the navigation structure. See https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.");return}if(m>j){const C=p.current(R,f.current);if(C!==void 0)try{x.dispatch(C)}catch(A){console.warn(`An error occurred when trying to handle the link '${E}': ${typeof A=="object"&&A!=null&&"message"in A?A.message:A}`)}else x.resetRoot(R)}else x.resetRoot(R)}else x.resetRoot(R)})),[n,l,e]),s.useEffect(()=>{var x;if(!n)return;const b=(m,j)=>{if(m!=null&&m.path){const w=d.current(m.path,f.current);if(w){const R=q(w);if(R&&R.name===m.name&&tr(R.params,m.params))return m.path}}return h.current(j,f.current)};if(e.current){const m=e.current.getRootState();if(m){const j=q(m),w=b(j,m);S.current===void 0&&(S.current=m),l.replace({path:w,state:m})}}const E=async()=>{const m=e.current;if(!m||!n)return;const j=S.current,w=m.getRootState();if(!w)return;const R=O.current,L=q(w),C=b(L,w);S.current=w,O.current=void 0;const[A,_]=Ue(j,w);if(A&&_&&C!==R){const T=(_.history?_.history.length:_.routes.length)-(A.history?A.history.length:A.routes.length);if(T>0)l.push({path:C,state:w});else if(T<0){const M=l.backIndex({path:C}),F=l.index;try{M!==-1&&M<F&&l.get(M-F)?await l.go(M-F):await l.go(T),l.replace({path:C,state:w})}catch{}}else l.replace({path:C,state:w})}else l.replace({path:C,state:w})};return(x=e.current)===null||x===void 0?void 0:x.addListener("state",or(E))},[n,l,e]),{getInitialState:y}}function sr(e){const[t]=s.useState(e);let r=[!1,void 0];t.then(u=>{r=[!0,u]});const[n,o]=s.useState(r),[i]=n;return s.useEffect(()=>{let u=!1;return i||(async()=>{let l;try{l=await t}finally{u||o([!0,l])}})(),()=>{u=!0}},[t,i]),n}function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ne.apply(this,arguments)}global.REACT_NAVIGATION_DEVTOOLS=new WeakMap;function ar(e,t){let{theme:r=Fe,linking:n,fallback:o=null,documentTitle:i,onReady:u,...a}=e;const l=n?n.enabled!==!1:!1;n!=null&&n.config&&Ce(n.config);const c=s.useRef(null);Qt(c,i);const{getInitialState:f}=ir(c,{independent:a.independent,enabled:l,prefixes:[],...n});s.useEffect(()=>{c.current&&REACT_NAVIGATION_DEVTOOLS.set(c.current,{get linking(){return{...n,enabled:l,prefixes:(n==null?void 0:n.prefixes)??[],getStateFromPath:(n==null?void 0:n.getStateFromPath)??Ie,getPathFromState:(n==null?void 0:n.getPathFromState)??Te,getActionFromState:(n==null?void 0:n.getActionFromState)??je}}})});const[d,h]=sr(f);s.useImperativeHandle(t,()=>c.current);const p=s.useMemo(()=>({options:n}),[n]),g=a.initialState!=null||!l||d,y=s.useRef(u);return s.useEffect(()=>{y.current=u}),s.useEffect(()=>{if(g){var v;(v=y.current)===null||v===void 0||v.call(y)}},[g]),g?s.createElement(ct.Provider,{value:p},s.createElement(Zt,{value:r},s.createElement(Wt,ne({},a,{initialState:a.initialState==null?h:a.initialState,ref:c})))):o}const ur=s.forwardRef(ar);var lr={iphone5:{name:"iPhone 5",styles:{height:"568px",width:"320px"},type:"mobile"},iphone6:{name:"iPhone 6",styles:{height:"667px",width:"375px"},type:"mobile"},iphone6p:{name:"iPhone 6 Plus",styles:{height:"736px",width:"414px"},type:"mobile"},iphone8p:{name:"iPhone 8 Plus",styles:{height:"736px",width:"414px"},type:"mobile"},iphonex:{name:"iPhone X",styles:{height:"812px",width:"375px"},type:"mobile"},iphonexr:{name:"iPhone XR",styles:{height:"896px",width:"414px"},type:"mobile"},iphonexsmax:{name:"iPhone XS Max",styles:{height:"896px",width:"414px"},type:"mobile"},iphonese2:{name:"iPhone SE (2nd generation)",styles:{height:"667px",width:"375px"},type:"mobile"},iphone12mini:{name:"iPhone 12 mini",styles:{height:"812px",width:"375px"},type:"mobile"},iphone12:{name:"iPhone 12",styles:{height:"844px",width:"390px"},type:"mobile"},iphone12promax:{name:"iPhone 12 Pro Max",styles:{height:"926px",width:"428px"},type:"mobile"},iphoneSE3:{name:"iPhone SE 3rd generation",styles:{height:"667px",width:"375px"},type:"mobile"},iphone13:{name:"iPhone 13",styles:{height:"844px",width:"390px"},type:"mobile"},iphone13pro:{name:"iPhone 13 Pro",styles:{height:"844px",width:"390px"},type:"mobile"},iphone13promax:{name:"iPhone 13 Pro Max",styles:{height:"926px",width:"428px"},type:"mobile"},iphone14:{name:"iPhone 14",styles:{height:"844px",width:"390px"},type:"mobile"},iphone14pro:{name:"iPhone 14 Pro",styles:{height:"852px",width:"393px"},type:"mobile"},iphone14promax:{name:"iPhone 14 Pro Max",styles:{height:"932px",width:"430px"},type:"mobile"},ipad:{name:"iPad",styles:{height:"1024px",width:"768px"},type:"tablet"},ipad10p:{name:"iPad Pro 10.5-in",styles:{height:"1112px",width:"834px"},type:"tablet"},ipad11p:{name:"iPad Pro 11-in",styles:{height:"1194px",width:"834px"},type:"tablet"},ipad12p:{name:"iPad Pro 12.9-in",styles:{height:"1366px",width:"1024px"},type:"tablet"},galaxys5:{name:"Galaxy S5",styles:{height:"640px",width:"360px"},type:"mobile"},galaxys9:{name:"Galaxy S9",styles:{height:"740px",width:"360px"},type:"mobile"},nexus5x:{name:"Nexus 5X",styles:{height:"660px",width:"412px"},type:"mobile"},nexus6p:{name:"Nexus 6P",styles:{height:"732px",width:"412px"},type:"mobile"},pixel:{name:"Pixel",styles:{height:"960px",width:"540px"},type:"mobile"},pixelxl:{name:"Pixel XL",styles:{height:"1280px",width:"720px"},type:"mobile"}},cr=lr,se="persist:",$e="persist/FLUSH",Ke="persist/REHYDRATE",Ge="persist/PAUSE",Ve="persist/PERSIST",ze="persist/PURGE",dr="persist/REGISTER",We=-1;function B(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?B=function(r){return typeof r}:B=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},B(e)}function xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function fr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xe(r,!0).forEach(function(n){pr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xe(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mr(e,t,r,n){n.debug;var o=fr({},r);return e&&B(e)==="object"&&Object.keys(e).forEach(function(i){i!=="_persist"&&t[i]===r[i]&&(o[i]=e[i])}),o}function hr(e){var t=e.blacklist||null,r=e.whitelist||null,n=e.transforms||[],o=e.throttle||0,i="".concat(e.keyPrefix!==void 0?e.keyPrefix:se).concat(e.key),u=e.storage,a;e.serialize===!1?a=function(E){return E}:typeof e.serialize=="function"?a=e.serialize:a=vr;var l=e.writeFailHandler||null,c={},f={},d=[],h=null,p=null,g=function(E){Object.keys(E).forEach(function(m){S(m)&&c[m]!==E[m]&&d.indexOf(m)===-1&&d.push(m)}),Object.keys(c).forEach(function(m){E[m]===void 0&&S(m)&&d.indexOf(m)===-1&&c[m]!==void 0&&d.push(m)}),h===null&&(h=setInterval(y,o)),c=E};function y(){if(d.length===0){h&&clearInterval(h),h=null;return}var b=d.shift(),E=n.reduce(function(m,j){return j.in(m,b,c)},c[b]);if(E!==void 0)try{f[b]=a(E)}catch(m){console.error("redux-persist/createPersistoid: error serializing state",m)}else delete f[b];d.length===0&&v()}function v(){Object.keys(f).forEach(function(b){c[b]===void 0&&delete f[b]}),p=u.setItem(i,a(f)).catch(O)}function S(b){return!(r&&r.indexOf(b)===-1&&b!=="_persist"||t&&t.indexOf(b)!==-1)}function O(b){l&&l(b)}var x=function(){for(;d.length!==0;)y();return p||Promise.resolve()};return{update:g,flush:x}}function vr(e){return JSON.stringify(e)}function gr(e){var t=e.transforms||[],r="".concat(e.keyPrefix!==void 0?e.keyPrefix:se).concat(e.key),n=e.storage;e.debug;var o;return e.deserialize===!1?o=function(u){return u}:typeof e.deserialize=="function"?o=e.deserialize:o=yr,n.getItem(r).then(function(i){if(i)try{var u={},a=o(i);return Object.keys(a).forEach(function(l){u[l]=t.reduceRight(function(c,f){return f.out(c,l,a)},o(a[l]))}),u}catch(l){throw l}else return})}function yr(e){return JSON.parse(e)}function br(e){var t=e.storage,r="".concat(e.keyPrefix!==void 0?e.keyPrefix:se).concat(e.key);return t.removeItem(r,Sr)}function Sr(e){}function we(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?we(r,!0).forEach(function(n){xr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wr(e,t){if(e==null)return{};var r=Pr(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Pr(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}var Or=5e3;function Er(e,t){var r=e.version!==void 0?e.version:We;e.debug;var n=e.stateReconciler===void 0?mr:e.stateReconciler,o=e.getStoredState||gr,i=e.timeout!==void 0?e.timeout:Or,u=null,a=!1,l=!0,c=function(d){return d._persist.rehydrated&&u&&!l&&u.update(d),d};return function(f,d){var h=f||{},p=h._persist,g=wr(h,["_persist"]),y=g;if(d.type===Ve){var v=!1,S=function(w,R){v||(d.rehydrate(e.key,w,R),v=!0)};if(i&&setTimeout(function(){!v&&S(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},i),l=!1,u||(u=hr(e)),p)return N({},t(y,d),{_persist:p});if(typeof d.rehydrate!="function"||typeof d.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return d.register(e.key),o(e).then(function(j){var w=e.migrate||function(R,L){return Promise.resolve(R)};w(j,r).then(function(R){S(R)},function(R){S(void 0,R)})},function(j){S(void 0,j)}),N({},t(y,d),{_persist:{version:r,rehydrated:!1}})}else{if(d.type===ze)return a=!0,d.result(br(e)),N({},t(y,d),{_persist:p});if(d.type===$e)return d.result(u&&u.flush()),N({},t(y,d),{_persist:p});if(d.type===Ge)l=!0;else if(d.type===Ke){if(a)return N({},y,{_persist:N({},p,{rehydrated:!0})});if(d.key===e.key){var O=t(y,d),x=d.payload,b=n!==!1&&x!==void 0?n(x,f,O,e):O,E=N({},b,{_persist:N({},p,{rehydrated:!0})});return c(E)}}}if(!p)return t(f,d);var m=t(y,d);return m===y?f:c(N({},m,{_persist:p}))}}function Rr(e,t){return function(r,n){if(!r)return Promise.resolve(void 0);var o=r._persist&&r._persist.version!==void 0?r._persist.version:We;if(o===n||o>n)return Promise.resolve(r);var i=Object.keys(e).map(function(a){return parseInt(a)}).filter(function(a){return n>=a&&a>o}).sort(function(a,l){return a-l});try{var u=i.reduce(function(a,l){return e[l](a)},r);return Promise.resolve(u)}catch(a){return Promise.reject(a)}}}const Cr=(e,t)=>e===dt.unregisterDevice&&(t==null?void 0:t.status)===404&&(t==null?void 0:t.data)==="No record found",Ir=[0,"0"],jr=e=>e!==void 0&&!Ir.includes(e),kr=e=>{var a,l,c,f,d,h,p,g;const t=(l=(a=e.meta)==null?void 0:a.arg)==null?void 0:l.endpointName,r=(c=e.payload)==null?void 0:c.originalStatus,n=(f=e.payload)==null?void 0:f.status;if(!jr(r??n)||Cr(t,e.payload))return;let o="Rejected RTK action";t&&(o=`${r??n??"Error"} for ${t}`);const i=`All request retries failed: ${o}`,u=(p=(h=(d=e.meta)==null?void 0:d.baseQueryMeta)==null?void 0:h.request)==null?void 0:p.url;u&&!u.startsWith("http://localhost")&&Pt.trackException({exception:new Error(i),properties:{endpoint:t,originalStatus:r,status:n,error:(g=e.payload)==null?void 0:g.error,url:u}})},Ar=()=>e=>t=>(st(t)&&kr(t),e(t));var Lr=e=>{if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype};const X=Lr,{hasOwnProperty:He}=Object.prototype,{propertyIsEnumerable:Nr}=Object,K=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}),_r=Et,Pe={concatArrays:!1,ignoreUndefined:!1},Y=e=>{const t=[];for(const r in e)He.call(e,r)&&t.push(r);if(Object.getOwnPropertySymbols){const r=Object.getOwnPropertySymbols(e);for(const n of r)Nr.call(e,n)&&t.push(n)}return t};function G(e){return Array.isArray(e)?Tr(e):X(e)?Mr(e):e}function Tr(e){const t=e.slice(0,0);return Y(e).forEach(r=>{K(t,r,G(e[r]))}),t}function Mr(e){const t=Object.getPrototypeOf(e)===null?Object.create(null):{};return Y(e).forEach(r=>{K(t,r,G(e[r]))}),t}const qe=(e,t,r,n)=>(r.forEach(o=>{typeof t[o]>"u"&&n.ignoreUndefined||(o in e&&e[o]!==Object.getPrototypeOf(e)?K(e,o,oe(e[o],t[o],n)):K(e,o,G(t[o])))}),e),Fr=(e,t,r)=>{let n=e.slice(0,0),o=0;return[e,t].forEach(i=>{const u=[];for(let a=0;a<i.length;a++)He.call(i,a)&&(u.push(String(a)),i===e?K(n,o++,i[a]):K(n,o++,G(i[a])));n=qe(n,i,Y(i).filter(a=>!u.includes(a)),r)}),n};function oe(e,t,r){return r.concatArrays&&Array.isArray(e)&&Array.isArray(t)?Fr(e,t,r):!X(t)||!X(e)?G(t):qe(e,t,Y(t),r)}var Dr=function(...e){const t=oe(G(Pe),this!==_r&&this||{},Pe);let r={_:{}};for(const n of e)if(n!==void 0){if(!X(n))throw new TypeError("`"+n+"` is not an Option Object");r=oe(r,{_:n},t)}return r._};const Ur=ke(Dr),$r=Ur.bind({concatArrays:!0,ignoreUndefined:!0});function Kr(e,t){const r=window.localStorage.getItem(e);if(r){const n=JSON.parse(r),o=JSON.parse(t),i=JSON.stringify($r(n,o));window.localStorage.setItem(e,i)}else window.localStorage.setItem(e,t)}function U(e,t){return new Promise((r,n)=>{try{const o=e();t==null||t(null,o),r(o)}catch(o){t==null||t(o),n(o)}})}function H(e,t,r){return Promise.all(e).then(n=>{const o=(r==null?void 0:r(n))??null;return t==null||t(null,o),Promise.resolve(o)},n=>(t==null||t(n),Promise.reject(n)))}const z={getItem:(e,t)=>U(()=>window.localStorage.getItem(e),t),setItem:(e,t,r)=>U(()=>window.localStorage.setItem(e,t),r),removeItem:(e,t)=>U(()=>window.localStorage.removeItem(e),t),mergeItem:(e,t,r)=>U(()=>Kr(e,t),r),clear:e=>U(()=>window.localStorage.clear(),e),getAllKeys:e=>U(()=>{const t=window.localStorage.length,r=[];for(let n=0;n<t;n+=1){const o=window.localStorage.key(n)||"";r.push(o)}return r},e),flushGetRequests:()=>{},multiGet:(e,t)=>{const r=e.map(o=>z.getItem(o));return H(r,t,o=>o.map((i,u)=>[e[u],i]))},multiSet:(e,t)=>{const r=e.map(n=>z.setItem(n[0],n[1]));return H(r,t)},multiRemove:(e,t)=>{const r=e.map(n=>z.removeItem(n));return H(r,t)},multiMerge:(e,t)=>{const r=e.map(n=>z.mergeItem(n[0],n[1]));return H(r,t)}},Oe=e=>e.reduce((t,{reduxConfigs:r})=>r?[...t,...r]:t,[]),Gr=e=>{const t={};return e.forEach(r=>{const{key:n,migrations:o,slice:i,persistWhitelist:u,persistVersion:a}=r;if(a===void 0){t[n]=i.reducer;return}t[n]=Er({key:n,storage:z,migrate:o?Rr(o,{debug:Rt===Ct.local}):void 0,version:a,whitelist:u},i.reducer)}),t},Ee={},Be=J({name:I.alert,initialState:Ee,reducers:{resetAlert:()=>Ee,setAlert:(e,{payload:t})=>(It||fe.configureNext(fe.Presets.easeInEaseOut),t)}});Be.actions;const Vr={isConnected:null,isInternetReachable:null,isNoInternetFullScreenErrorVisible:!1},Xe=J({name:I.internetConnection,initialState:Vr,reducers:{setInternetState:(e,{payload:{isConnected:t,isInternetReachable:r}})=>{e.isConnected=t,e.isInternetReachable=r},setIsNoInternetFullScreenErrorVisible:(e,{payload:t})=>{e.isNoInternetFullScreenErrorVisible=t}}});Xe.actions;const Re={disabledModules:[],authorizedModules:[],cachedServerModules:void 0},Je=J({name:I.modules,initialState:Re,reducers:{resetModules:()=>Re,toggleModule:(e,{payload:t})=>{const{disabledModules:r}=e;if(r!=null&&r.includes(t))return{...e,disabledModules:r.filter(n=>n!==t)};e.disabledModules=[...e.disabledModules,t]},addAuthorizedModule:(e,{payload:t})=>{const{authorizedModules:r}=e;r!=null&&r.includes(t)||(e.authorizedModules=[...e.authorizedModules,t])},removeAuthorizedModule:(e,{payload:t})=>{const{authorizedModules:r}=e;r!=null&&r.includes(t)&&(e.authorizedModules=r.filter(n=>n!==t))},setCachedServerModules:(e,{payload:t})=>{e.cachedServerModules=t}}});Je.actions;const Ye=J({name:I.updateApp,initialState:{},reducers:{setLastSeenTimestamp:(e,{payload:t})=>({...e,lastSeenTimestamp:t})}});Ye.actions.setLastSeenTimestamp(Date.now());const zr=[{key:I.accessCode,slice:ft},{key:I.alert,slice:Be},{key:I.bottomSheet,slice:pt},{key:I.chat,slice:mt},{key:I.environment,slice:ht,persistVersion:0},{key:I.internetConnection,slice:Xe},{key:I.modules,slice:Je,persistVersion:0},{key:I.overlay,slice:vt},{key:I.permissions,slice:gt},{key:I.productTour,slice:yt,persistVersion:0},{key:I.secureStorage,slice:bt,persistVersion:0},{key:I.theme,slice:at},{key:I.screen,slice:St},{key:I.updateApp,slice:Ye,persistVersion:0}],Wr=Gr([...zr,...Oe(xt),...Oe(wt)]),Hr=ut({enhancers:e=>e,reducer:lt({[te.reducerPath]:te.reducer,...Wr}),middleware:e=>e({serializableCheck:{ignoredActions:[$e,Ke,Ge,Ve,ze,dr],warnAfter:256},immutableCheck:{warnAfter:256}}).concat([te.middleware,Ar])}),ie=({children:e})=>$.jsx(Yt,{store:Hr,children:e});try{ie.displayName="StoreProvider",ie.__docgenInfo={description:"",displayName:"StoreProvider",props:{}}}catch{}const qr=e=>$.jsx(Ot,{children:$.jsx(ur,{children:$.jsx(ie,{children:$.jsx(nt,{children:$.jsx(e,{})})})})}),fo={decorators:[qr],parameters:{backgrounds:{values:[{name:"custom-grey0",value:D.custom.grey0},{name:"primary-blue",value:D.primary.blue},{name:"primary-red",value:D.primary.red},{name:"primary-black",value:D.primary.black},{name:"secondary-yellow",value:D.secondary.yellow},{name:"secondary-purple",value:D.secondary.purple}]},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}},viewport:{viewports:cr,defaultViewport:"iphonex"}},tags:["autodocs"]};export{fo as default}; +import{j as $}from"./jsx-runtime-Bxcv0yjW.js";import{D as nt}from"./useDeviceContext-Cm8FgCCV.js";import{g as ot,R as it,i as st,c as J,b as I,t as at,d as ut,e as lt}from"./useThemable-ua4U8LzO.js";import{f as q,v as Ce,g as Ie,a as je,L as ct,D as dt,b as ft,e as pt,h as mt,i as ht,o as vt,p as gt,j as yt,s as bt,k as St,l as te,m as xt,c as wt}from"./modules-CEymqiYN.js";import{e as Pt,A as Ot}from"./useTrackException-Cm6KdDpO.js";import{g as ke,c as Et}from"./_commonjsHelpers-BosuxZz1.js";import{c as Rt,A as Ct}from"./development-LhlsWDYu.js";import{r as s}from"./index-mfbfsM12.js";import{i as It}from"./Fader-CBhy3bI5.js";import{L as fe}from"./useOpenUrl-DkzqnrRX.js";import{b as D}from"./base-color-B2rPH-Aj.js";import{N as pe,r as jt,C as me,q as kt}from"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import{N as At,a as Lt}from"./Tooltip-Dddt_hel.js";import"./index-8JwjhRSi.js";import"./index-BowPbij1.js";import"./NativeEventEmitter-MQ3wzVGe.js";import"./index-DSI0shHu.js";import"./TextAncestorContext-Dg3XKfar.js";import"./index-kbHxBZ_W.js";import"./index-BXDkY5MO.js";import"./index-DFkxGuuM.js";import"./index-CAyeAlm6.js";import"./index-BP1Ij_Cs.js";import"./Animated-CFNSbqHF.js";import"./extends-CF3RwP-h.js";import"./index-2SHDvLR_.js";import"./useTheme-ChTiG3MC.js";import"./index-DbcoTUCW.js";import"./Column-CFK5NdwL.js";import"./mapCrossAxisAlignment-DpnuLLqj.js";import"./mapMainAxisAlignment-BOa0GzUh.js";import"./useAccessibilityFocus-jeKlJ74P.js";import"./index-DEfxrPnc.js";import"./index-CDv7s-w8.js";import"./useIsScreenReaderEnabled-A65pchNu.js";import"./duration-A4BOymd5.js";import"./Pressable-0Of7HZos.js";import"./PressableBase-DhkKVuqd.js";import"./index-CIcog7m4.js";import"./Box-CEQ9kk6v.js";import"./layoutStyles-hLwHoe51.js";import"./Size-ByzkQpGs.js";import"./Phrase-FY7SqhHh.js";import"./index-Ce74jbsy.js";import"./IconButton-S0EpSLVW.js";import"./config-BZnShabN.js";import"./Badge-BAkGihjF.js";import"./Row-D-wvv0CV.js";import"./types-BJ_48vsK.js";import"./Icon-DzTBkJ4u.js";import"./index-BtN4QjYR.js";import"./index-Dk74W0Oi.js";import"./Title-CLDk-249.js";import"./Gutter-BrZ2VZou.js";import"./ChatSystemEntry-BaHEjUy7.js";import"./Button-DKrj2h9O.js";import"./index-DZxzYa9i.js";import"./Center-2_hcwEx9.js";import"./index-k6NSpe5t.js";import"./HideFromAccessibility-B6TCA_vV.js";import"./PleaseWait-D1f8b25a.js";import"./Paragraph-DU14yVhW.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./index-CkqLweLe.js";import"./client-BGlHIwA3.js";import"./index-BW2XZOZc.js";import"./useOpenMailUrl-Blrf_PL9.js";import"./useOpenPhoneUrl-TB9t0oDt.js";import"./Triangle-rmeRPZtY.js";import"./SingleSelectable-BAFROorM.js";let Nt="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",he=(e=21)=>{let t="",r=e;for(;r--;)t+=Nt[Math.random()*64|0];return t};const _t='Another navigator is already registered for this container. You likely have multiple navigators under a single "NavigationContainer" or "Screen". Make sure each navigator is under a separate "Screen" container. See https://reactnavigation.org/docs/nesting-navigators for a guide on nesting.',Tt=s.createContext(void 0);function Mt(e){let{children:t}=e;const r=s.useRef(),n=s.useMemo(()=>({register(o){const i=r.current;if(i!==void 0&&o!==i)throw new Error(_t);r.current=o},unregister(o){const i=r.current;o===i&&(r.current=void 0)}}),[]);return s.createElement(Tt.Provider,{value:n},t)}const Ae=s.createContext({onDispatchAction:()=>{},onOptionsChange:()=>{}}),Ft=s.createContext(void 0),V="Couldn't find a navigation context. Have you wrapped your app with 'NavigationContainer'? See https://reactnavigation.org/docs/getting-started for setup instructions.",re=s.createContext({isDefault:!0,get getKey(){throw new Error(V)},get setKey(){throw new Error(V)},get getState(){throw new Error(V)},get setState(){throw new Error(V)},get getIsInitial(){throw new Error(V)}}),Dt=s.createContext(void 0);function Ut(){const{current:e}=s.useRef({action:[],focus:[]}),t=s.useCallback((r,n)=>{e[r].push(n);let o=!1;return()=>{const i=e[r].indexOf(n);!o&&i>-1&&(o=!0,e[r].splice(i,1))}},[e]);return{listeners:e,addListener:t}}function $t(e){const t=s.useRef(e);s.useEffect(()=>{t.current=e});const r=s.useRef(Object.create(null)),n=s.useCallback(i=>{const u=(l,c)=>{const f=r.current[l]?r.current[l][i]:void 0;if(!f)return;const d=f.indexOf(c);d>-1&&f.splice(d,1)};return{addListener:(l,c)=>{r.current[l]=r.current[l]||{},r.current[l][i]=r.current[l][i]||[],r.current[l][i].push(c);let f=!1;return()=>{f||(f=!0,u(l,c))}},removeListener:u}},[]),o=s.useCallback(i=>{var u,a;let{type:l,data:c,target:f,canPreventDefault:d}=i;const h=r.current[l]||{},p=f!==void 0?(u=h[f])===null||u===void 0?void 0:u.slice():[].concat(...Object.keys(h).map(y=>h[y])).filter((y,v,S)=>S.lastIndexOf(y)===v),g={get type(){return l}};if(f!==void 0&&Object.defineProperty(g,"target",{enumerable:!0,get(){return f}}),c!==void 0&&Object.defineProperty(g,"data",{enumerable:!0,get(){return c}}),d){let y=!1;Object.defineProperties(g,{defaultPrevented:{enumerable:!0,get(){return y}},preventDefault:{enumerable:!0,value(){y=!0}}})}return(a=t.current)===null||a===void 0||a.call(t,g),p==null||p.forEach(y=>y(g)),g},[]);return s.useMemo(()=>({create:n,emit:o}),[n,o])}function Kt(){const{current:e}=s.useRef(Object.assign(Object.create(null),{getState:{},beforeRemove:{}})),t=s.useCallback((r,n,o)=>(e[r][n]=o,()=>{e[r][n]=void 0}),[e]);return{keyedListeners:e,addKeyedListener:t}}function Gt(e){let{key:t,options:r,navigation:n}=e;const o=s.useRef(r),i=s.useRef({}),{onOptionsChange:u}=s.useContext(Ae),{addOptionsGetter:a}=s.useContext(re),l=s.useCallback(()=>{const h=(n==null?void 0:n.isFocused())??!0,p=Object.keys(i.current).length;h&&!p&&u(o.current??{})},[n,u]);s.useEffect(()=>(o.current=r,l(),n==null?void 0:n.addListener("focus",l)),[n,r,l]);const c=s.useCallback(()=>{for(let g in i.current)if(i.current.hasOwnProperty(g)){var h,p;const y=(h=(p=i.current)[g])===null||h===void 0?void 0:h.call(p);if(y!==null)return y}return null},[]),f=s.useCallback(()=>{if(!((n==null?void 0:n.isFocused())??!0))return null;const p=c();return p!==null?p:o.current},[n,c]);return s.useEffect(()=>a==null?void 0:a(t,f),[f,a,t]),{addOptionsGetter:s.useCallback((h,p)=>(i.current[h]=p,l(),()=>{delete i.current[h],l()}),[l]),getCurrentOptions:f}}const ve="Couldn't find a schedule context.",Vt=s.createContext({scheduleUpdate(){throw new Error(ve)},flushUpdates(){throw new Error(ve)}}),ge={};function zt(e){const t=s.useRef(ge),r=s.useRef(!1),n=s.useRef(!0);s.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),t.current===ge&&(t.current=typeof e=="function"?e():e);const[o,i]=s.useState(t.current),u=s.useCallback(()=>t.current,[]),a=s.useCallback(d=>{d===t.current||!n.current||(t.current=d,r.current||i(d))},[]),l=s.useCallback(d=>{r.current=!0;try{d()}finally{r.current=!1}},[]),c=s.useCallback(()=>{n.current&&i(t.current)},[]);o!==t.current&&i(t.current);const f=t.current;return s.useDebugValue(f),[f,u,a,l,c]}const Le=e=>{if(e===void 0)return;const{key:t,routeNames:r,...n}=e;return{...n,stale:!0,routes:e.routes.map(o=>o.state===void 0?o:{...o,state:Le(o.state)})}},Wt=s.forwardRef(function(t,r){let{initialState:n,onStateChange:o,onUnhandledAction:i,independent:u,children:a}=t;if(!s.useContext(re).isDefault&&!u)throw new Error("Looks like you have nested a 'NavigationContainer' inside another. Normally you need only one container at the root of the app, so this was probably an error. If this was intentional, pass 'independent={true}' explicitly. Note that this will make the child navigators disconnected from the parent and you won't be able to navigate between them.");const[c,f,d,h,p]=zt(()=>Le(n??void 0)),g=s.useRef(!0),y=s.useRef(),v=s.useCallback(()=>y.current,[]),S=s.useCallback(P=>{y.current=P},[]),{listeners:O,addListener:x}=Ut(),{keyedListeners:b,addKeyedListener:E}=Kt(),m=s.useCallback(P=>{O.focus[0]==null?console.error(pe):O.focus[0](k=>k.dispatch(P))},[O.focus]),j=s.useCallback(()=>{if(O.focus[0]==null)return!1;const{result:P,handled:k}=O.focus[0](W=>W.canGoBack());return k?P:!1},[O.focus]),w=s.useCallback(P=>{var k,W;const de=(P==null?void 0:P.key)??((k=(W=b.getState).root)===null||k===void 0?void 0:k.call(W).key);de==null?console.error(pe):O.focus[0](rt=>rt.dispatch({...jt(P),target:de}))},[b.getState,O.focus]),R=s.useCallback(()=>{var P,k;return(P=(k=b.getState).root)===null||P===void 0?void 0:P.call(k)},[b.getState]),L=s.useCallback(()=>{const P=R();return P==null?void 0:q(P)},[R]),C=$t(),{addOptionsGetter:A,getCurrentOptions:_}=Gt({}),T=s.useMemo(()=>({...Object.keys(me).reduce((P,k)=>(P[k]=function(){return m(me[k](...arguments))},P),{}),...C.create("root"),dispatch:m,resetRoot:w,isFocused:()=>!0,canGoBack:j,getParent:()=>{},getState:()=>ce.current,getRootState:R,getCurrentRoute:L,getCurrentOptions:_,isReady:()=>O.focus[0]!=null,setOptions:()=>{throw new Error("Cannot call setOptions outside a screen")}}),[j,m,C,_,L,R,O.focus,w]);s.useImperativeHandle(r,()=>T,[T]);const M=s.useCallback((P,k)=>{C.emit({type:"__unsafe_action__",data:{action:P,noop:k,stack:ae.current}})},[C]),F=s.useRef(),Z=s.useCallback(P=>{F.current!==P&&(F.current=P,C.emit({type:"options",data:{options:P}}))},[C]),ae=s.useRef(),Ze=s.useMemo(()=>({addListener:x,addKeyedListener:E,onDispatchAction:M,onOptionsChange:Z,stackRef:ae}),[x,E,M,Z]),Qe=s.useMemo(()=>({scheduleUpdate:h,flushUpdates:p}),[h,p]),ue=s.useRef(!0),le=s.useCallback(()=>ue.current,[]),et=s.useMemo(()=>({state:c,getState:f,setState:d,getKey:v,setKey:S,getIsInitial:le,addOptionsGetter:A}),[c,f,d,v,S,le,A]),Q=s.useRef(o),ce=s.useRef(c);s.useEffect(()=>{ue.current=!1,Q.current=o,ce.current=c}),s.useEffect(()=>{const P=R();C.emit({type:"state",data:{state:c}}),!g.current&&Q.current&&Q.current(P),g.current=!1},[R,C,c]);const tt=s.useCallback(P=>{},[]);let ee=s.createElement(At.Provider,{value:T},s.createElement(Vt.Provider,{value:Qe},s.createElement(Ae.Provider,{value:Ze},s.createElement(re.Provider,{value:et},s.createElement(Dt.Provider,{value:i??tt},s.createElement(Mt,null,a))))));return u&&(ee=s.createElement(Ft.Provider,{value:void 0},s.createElement(Lt.Provider,{value:void 0},ee))),ee});function Ne(e){return e.reduce((t,r)=>{let[n,o]=r;if(t.hasOwnProperty(n))throw new Error(`A value for key '${n}' already exists in the object.`);return t[n]=o,t},{})}const _e=e=>{const t=typeof e.index=="number"?e.routes[e.index]:e.routes[e.routes.length-1];return t.state?_e(t.state):t};function Te(e,t){if(e==null)throw Error("Got 'undefined' for the navigation state. You must pass a valid state object.");t&&Ce(t);const r=t!=null&&t.screens?Me(t==null?void 0:t.screens):{};let n="/",o=e;const i={};for(;o;){let l=typeof o.index=="number"?o.index:0,c=o.routes[l],f,d,h=_e(e),p=r,g=[],y=!0;for(;c.name in p&&y;){if(f=p[c.name].pattern,g.push(c.name),c.params){var u;const v=(u=p[c.name])===null||u===void 0?void 0:u.stringify,S=Ne(Object.entries(c.params).map(O=>{let[x,b]=O;return[x,v!=null&&v[x]?v[x](b):String(b)]}));if(f&&Object.assign(i,S),h===c){var a;d={...S},(a=f)===null||a===void 0||a.split("/").filter(O=>O.startsWith(":")).forEach(O=>{const x=ye(O);d&&delete d[x]})}}if(!p[c.name].screens||c.state===void 0)y=!1;else{l=typeof c.state.index=="number"?c.state.index:c.state.routes.length-1;const v=c.state.routes[l],S=p[c.name].screens;S&&v.name in S?(c=v,p=S):y=!1}}if(f===void 0&&(f=g.join("/")),p[c.name]!==void 0?n+=f.split("/").map(v=>{const S=ye(v);if(v==="*")return c.name;if(v.startsWith(":")){const O=i[S];return O===void 0&&v.endsWith("?")?"":encodeURIComponent(O)}return encodeURIComponent(v)}).join("/"):n+=encodeURIComponent(c.name),d||(d=h.params),c.state)n+="/";else if(d){for(let S in d)d[S]==="undefined"&&delete d[S];const v=kt.stringify(d,{sort:!1});v&&(n+=`?${v}`)}o=c.state}return n=n.replace(/\/+/g,"/"),n=n.length>1?n.replace(/\/$/,""):n,n}const ye=e=>e.replace(/^:/,"").replace(/\?$/,""),be=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return[].concat(...t.map(n=>n.split("/"))).filter(Boolean).join("/")},Ht=(e,t)=>{var r;if(typeof e=="string")return{pattern:t?be(t,e):e};let n;if(e.exact&&e.path===void 0)throw new Error("A 'path' needs to be specified when specifying 'exact: true'. If you don't want this screen in the URL, specify it as empty string, e.g. `path: ''`.");n=e.exact!==!0?be(t||"",e.path||""):e.path||"";const o=e.screens?Me(e.screens,n):void 0;return{pattern:(r=n)===null||r===void 0?void 0:r.split("/").filter(Boolean).join("/"),stringify:e.stringify,screens:o}},Me=(e,t)=>Ne(Object.entries(e).map(r=>{let[n,o]=r;const i=Ht(o,t);return[n,i]}));function qt(){const e=ot();let t=null,r=null;return{clear(){t=null,r=null},notify(){e(()=>{let n=t;for(;n;)n.callback(),n=n.next})},get(){let n=[],o=t;for(;o;)n.push(o),o=o.next;return n},subscribe(n){let o=!0,i=r={callback:n,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){!o||t===null||(o=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}const Se={notify(){},get:()=>[]};function Bt(e,t){let r,n=Se,o=0,i=!1;function u(y){f();const v=n.subscribe(y);let S=!1;return()=>{S||(S=!0,v(),d())}}function a(){n.notify()}function l(){g.onStateChange&&g.onStateChange()}function c(){return i}function f(){o++,r||(r=e.subscribe(l),n=qt())}function d(){o--,r&&o===0&&(r(),r=void 0,n.clear(),n=Se)}function h(){i||(i=!0,f())}function p(){i&&(i=!1,d())}const g={addNestedSub:u,notifyNestedSubs:a,handleChangeWrapper:l,isSubscribed:c,trySubscribe:h,tryUnsubscribe:p,getListeners:()=>n};return g}const Xt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Jt=Xt?s.useLayoutEffect:s.useEffect;function Yt({store:e,context:t,children:r,serverState:n,stabilityCheck:o="once",noopCheck:i="once"}){const u=s.useMemo(()=>{const c=Bt(e);return{store:e,subscription:c,getServerState:n?()=>n:void 0,stabilityCheck:o,noopCheck:i}},[e,n,o,i]),a=s.useMemo(()=>e.getState(),[e]);Jt(()=>{const{subscription:c}=u;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),a!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[u,a]);const l=t||it;return s.createElement(l.Provider,{value:u},r)}const Fe={dark:!1,colors:{primary:"rgb(0, 122, 255)",background:"rgb(242, 242, 242)",card:"rgb(255, 255, 255)",text:"rgb(28, 28, 30)",border:"rgb(216, 216, 216)",notification:"rgb(255, 59, 48)"}},De=s.createContext(Fe);De.displayName="ThemeContext";function Zt(e){let{value:t,children:r}=e;return s.createElement(De.Provider,{value:t},r)}function Qt(e){let{enabled:t=!0,formatter:r=(n,o)=>(n==null?void 0:n.title)??(o==null?void 0:o.name)}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};s.useEffect(()=>{if(!t)return;const n=e.current;if(n){const o=r(n.getCurrentOptions(),n.getCurrentRoute());document.title=o}return n==null?void 0:n.addListener("options",o=>{const i=r(o.data.options,n==null?void 0:n.getCurrentRoute());document.title=i})})}var er=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(o=n;o--!==0;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(i=Object.keys(t),n=i.length,n!==Object.keys(r).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;o--!==0;){var u=i[o];if(!e(t[u],r[u]))return!1}return!0}return t!==t&&r!==r};const tr=ke(er);function rr(){let e=0,t=[];const r=[],n=()=>{r.forEach(i=>{const u=i.cb;i.cb=()=>u(!0)})};return{get index(){var i;const u=(i=window.history.state)===null||i===void 0?void 0:i.id;if(u){const a=t.findIndex(l=>l.id===u);return a>-1?a:0}return 0},get(i){return t[i]},backIndex(i){let{path:u}=i;for(let a=e-1;a>=0;a--)if(t[a].path===u)return a;return-1},push(i){let{path:u,state:a}=i;n();const l=he();t=t.slice(0,e+1),t.push({path:u,state:a,id:l}),e=t.length-1,window.history.pushState({id:l},"",u)},replace(i){var u;let{path:a,state:l}=i;n();const c=((u=window.history.state)===null||u===void 0?void 0:u.id)??he();let f=a;!t.length||t.findIndex(d=>d.id===c)<0?(f=f+location.hash,t=[{path:f,state:l,id:c}],e=0):(t[e].path===a&&(f=f+location.hash),t[e]={path:a,state:l,id:c}),window.history.replaceState({id:c},"",f)},go(i){n();const u=e+i,a=t.length-1;if(i<0&&!t[u]?(i=-e,e=0):i>0&&u>a?(i=a-e,e=a):e=u,i!==0)return new Promise((l,c)=>{const f=p=>{if(clearTimeout(d),p){c(new Error("History was changed during navigation."));return}const{title:g}=window.document;window.document.title="",window.document.title=g,l()};r.push({ref:f,cb:f});const d=setTimeout(()=>{const p=r.findIndex(g=>g.ref===f);p>-1&&(r[p].cb(),r.splice(p,1))},100),h=()=>{var p;const g=(p=window.history.state)===null||p===void 0?void 0:p.id,y=t.findIndex(S=>S.id===g);e=Math.max(y,0);const v=r.pop();window.removeEventListener("popstate",h),v==null||v.cb()};window.addEventListener("popstate",h),window.history.go(i)})},listen(i){const u=()=>{r.length||i()};return window.addEventListener("popstate",u),()=>window.removeEventListener("popstate",u)}}}const nr=s.createContext(void 0),Ue=(e,t)=>{if(e===void 0||t===void 0||e.key!==t.key)return[void 0,void 0];const r=e.history?e.history.length:e.routes.length,n=t.history?t.history.length:t.routes.length,o=e.routes[e.index],i=t.routes[t.index],u=o.state,a=i.state;return r!==n||o.key!==i.key||u===void 0||a===void 0||u.key!==a.key?[e,t]:Ue(u,a)},or=e=>{let t=Promise.resolve();return()=>{t=t.then(e)}};function ir(e,t){let{independent:r,enabled:n=!0,config:o,getStateFromPath:i=Ie,getPathFromState:u=Te,getActionFromState:a=je}=t;s.useEffect(()=>{},[n,r]);const[l]=s.useState(rr),c=s.useRef(n),f=s.useRef(o),d=s.useRef(i),h=s.useRef(u),p=s.useRef(a);s.useEffect(()=>{c.current=n,f.current=o,d.current=i,h.current=u,p.current=a});const g=s.useContext(nr),y=s.useCallback(()=>{let x;if(c.current){const E=(g==null?void 0:g.location)??(typeof window<"u"?window.location:void 0),m=E?E.pathname+E.search:void 0;m&&(x=d.current(m,f.current))}const b={then(E){return Promise.resolve(E?E(x):x)},catch(){return b}};return b},[]),v=s.useRef(void 0),S=s.useRef(void 0),O=s.useRef(void 0);return s.useEffect(()=>(v.current=l.index,l.listen(()=>{const x=e.current;if(!x||!n)return;const{location:b}=window,E=b.pathname+b.search,m=l.index,j=v.current??0;v.current=m,O.current=E;const w=l.get(m);if((w==null?void 0:w.path)===E&&w!==null&&w!==void 0&&w.state){x.resetRoot(w.state);return}const R=d.current(E,f.current);if(R){const L=x.getRootState();if(R.routes.some(C=>!(L!=null&&L.routeNames.includes(C.name)))){console.warn("The navigation state parsed from the URL contains routes not present in the root navigator. This usually means that the linking configuration doesn't match the navigation structure. See https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.");return}if(m>j){const C=p.current(R,f.current);if(C!==void 0)try{x.dispatch(C)}catch(A){console.warn(`An error occurred when trying to handle the link '${E}': ${typeof A=="object"&&A!=null&&"message"in A?A.message:A}`)}else x.resetRoot(R)}else x.resetRoot(R)}else x.resetRoot(R)})),[n,l,e]),s.useEffect(()=>{var x;if(!n)return;const b=(m,j)=>{if(m!=null&&m.path){const w=d.current(m.path,f.current);if(w){const R=q(w);if(R&&R.name===m.name&&tr(R.params,m.params))return m.path}}return h.current(j,f.current)};if(e.current){const m=e.current.getRootState();if(m){const j=q(m),w=b(j,m);S.current===void 0&&(S.current=m),l.replace({path:w,state:m})}}const E=async()=>{const m=e.current;if(!m||!n)return;const j=S.current,w=m.getRootState();if(!w)return;const R=O.current,L=q(w),C=b(L,w);S.current=w,O.current=void 0;const[A,_]=Ue(j,w);if(A&&_&&C!==R){const T=(_.history?_.history.length:_.routes.length)-(A.history?A.history.length:A.routes.length);if(T>0)l.push({path:C,state:w});else if(T<0){const M=l.backIndex({path:C}),F=l.index;try{M!==-1&&M<F&&l.get(M-F)?await l.go(M-F):await l.go(T),l.replace({path:C,state:w})}catch{}}else l.replace({path:C,state:w})}else l.replace({path:C,state:w})};return(x=e.current)===null||x===void 0?void 0:x.addListener("state",or(E))},[n,l,e]),{getInitialState:y}}function sr(e){const[t]=s.useState(e);let r=[!1,void 0];t.then(u=>{r=[!0,u]});const[n,o]=s.useState(r),[i]=n;return s.useEffect(()=>{let u=!1;return i||(async()=>{let l;try{l=await t}finally{u||o([!0,l])}})(),()=>{u=!0}},[t,i]),n}function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ne.apply(this,arguments)}global.REACT_NAVIGATION_DEVTOOLS=new WeakMap;function ar(e,t){let{theme:r=Fe,linking:n,fallback:o=null,documentTitle:i,onReady:u,...a}=e;const l=n?n.enabled!==!1:!1;n!=null&&n.config&&Ce(n.config);const c=s.useRef(null);Qt(c,i);const{getInitialState:f}=ir(c,{independent:a.independent,enabled:l,prefixes:[],...n});s.useEffect(()=>{c.current&&REACT_NAVIGATION_DEVTOOLS.set(c.current,{get linking(){return{...n,enabled:l,prefixes:(n==null?void 0:n.prefixes)??[],getStateFromPath:(n==null?void 0:n.getStateFromPath)??Ie,getPathFromState:(n==null?void 0:n.getPathFromState)??Te,getActionFromState:(n==null?void 0:n.getActionFromState)??je}}})});const[d,h]=sr(f);s.useImperativeHandle(t,()=>c.current);const p=s.useMemo(()=>({options:n}),[n]),g=a.initialState!=null||!l||d,y=s.useRef(u);return s.useEffect(()=>{y.current=u}),s.useEffect(()=>{if(g){var v;(v=y.current)===null||v===void 0||v.call(y)}},[g]),g?s.createElement(ct.Provider,{value:p},s.createElement(Zt,{value:r},s.createElement(Wt,ne({},a,{initialState:a.initialState==null?h:a.initialState,ref:c})))):o}const ur=s.forwardRef(ar);var lr={iphone5:{name:"iPhone 5",styles:{height:"568px",width:"320px"},type:"mobile"},iphone6:{name:"iPhone 6",styles:{height:"667px",width:"375px"},type:"mobile"},iphone6p:{name:"iPhone 6 Plus",styles:{height:"736px",width:"414px"},type:"mobile"},iphone8p:{name:"iPhone 8 Plus",styles:{height:"736px",width:"414px"},type:"mobile"},iphonex:{name:"iPhone X",styles:{height:"812px",width:"375px"},type:"mobile"},iphonexr:{name:"iPhone XR",styles:{height:"896px",width:"414px"},type:"mobile"},iphonexsmax:{name:"iPhone XS Max",styles:{height:"896px",width:"414px"},type:"mobile"},iphonese2:{name:"iPhone SE (2nd generation)",styles:{height:"667px",width:"375px"},type:"mobile"},iphone12mini:{name:"iPhone 12 mini",styles:{height:"812px",width:"375px"},type:"mobile"},iphone12:{name:"iPhone 12",styles:{height:"844px",width:"390px"},type:"mobile"},iphone12promax:{name:"iPhone 12 Pro Max",styles:{height:"926px",width:"428px"},type:"mobile"},iphoneSE3:{name:"iPhone SE 3rd generation",styles:{height:"667px",width:"375px"},type:"mobile"},iphone13:{name:"iPhone 13",styles:{height:"844px",width:"390px"},type:"mobile"},iphone13pro:{name:"iPhone 13 Pro",styles:{height:"844px",width:"390px"},type:"mobile"},iphone13promax:{name:"iPhone 13 Pro Max",styles:{height:"926px",width:"428px"},type:"mobile"},iphone14:{name:"iPhone 14",styles:{height:"844px",width:"390px"},type:"mobile"},iphone14pro:{name:"iPhone 14 Pro",styles:{height:"852px",width:"393px"},type:"mobile"},iphone14promax:{name:"iPhone 14 Pro Max",styles:{height:"932px",width:"430px"},type:"mobile"},ipad:{name:"iPad",styles:{height:"1024px",width:"768px"},type:"tablet"},ipad10p:{name:"iPad Pro 10.5-in",styles:{height:"1112px",width:"834px"},type:"tablet"},ipad11p:{name:"iPad Pro 11-in",styles:{height:"1194px",width:"834px"},type:"tablet"},ipad12p:{name:"iPad Pro 12.9-in",styles:{height:"1366px",width:"1024px"},type:"tablet"},galaxys5:{name:"Galaxy S5",styles:{height:"640px",width:"360px"},type:"mobile"},galaxys9:{name:"Galaxy S9",styles:{height:"740px",width:"360px"},type:"mobile"},nexus5x:{name:"Nexus 5X",styles:{height:"660px",width:"412px"},type:"mobile"},nexus6p:{name:"Nexus 6P",styles:{height:"732px",width:"412px"},type:"mobile"},pixel:{name:"Pixel",styles:{height:"960px",width:"540px"},type:"mobile"},pixelxl:{name:"Pixel XL",styles:{height:"1280px",width:"720px"},type:"mobile"}},cr=lr,se="persist:",$e="persist/FLUSH",Ke="persist/REHYDRATE",Ge="persist/PAUSE",Ve="persist/PERSIST",ze="persist/PURGE",dr="persist/REGISTER",We=-1;function B(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?B=function(r){return typeof r}:B=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},B(e)}function xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function fr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xe(r,!0).forEach(function(n){pr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xe(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mr(e,t,r,n){n.debug;var o=fr({},r);return e&&B(e)==="object"&&Object.keys(e).forEach(function(i){i!=="_persist"&&t[i]===r[i]&&(o[i]=e[i])}),o}function hr(e){var t=e.blacklist||null,r=e.whitelist||null,n=e.transforms||[],o=e.throttle||0,i="".concat(e.keyPrefix!==void 0?e.keyPrefix:se).concat(e.key),u=e.storage,a;e.serialize===!1?a=function(E){return E}:typeof e.serialize=="function"?a=e.serialize:a=vr;var l=e.writeFailHandler||null,c={},f={},d=[],h=null,p=null,g=function(E){Object.keys(E).forEach(function(m){S(m)&&c[m]!==E[m]&&d.indexOf(m)===-1&&d.push(m)}),Object.keys(c).forEach(function(m){E[m]===void 0&&S(m)&&d.indexOf(m)===-1&&c[m]!==void 0&&d.push(m)}),h===null&&(h=setInterval(y,o)),c=E};function y(){if(d.length===0){h&&clearInterval(h),h=null;return}var b=d.shift(),E=n.reduce(function(m,j){return j.in(m,b,c)},c[b]);if(E!==void 0)try{f[b]=a(E)}catch(m){console.error("redux-persist/createPersistoid: error serializing state",m)}else delete f[b];d.length===0&&v()}function v(){Object.keys(f).forEach(function(b){c[b]===void 0&&delete f[b]}),p=u.setItem(i,a(f)).catch(O)}function S(b){return!(r&&r.indexOf(b)===-1&&b!=="_persist"||t&&t.indexOf(b)!==-1)}function O(b){l&&l(b)}var x=function(){for(;d.length!==0;)y();return p||Promise.resolve()};return{update:g,flush:x}}function vr(e){return JSON.stringify(e)}function gr(e){var t=e.transforms||[],r="".concat(e.keyPrefix!==void 0?e.keyPrefix:se).concat(e.key),n=e.storage;e.debug;var o;return e.deserialize===!1?o=function(u){return u}:typeof e.deserialize=="function"?o=e.deserialize:o=yr,n.getItem(r).then(function(i){if(i)try{var u={},a=o(i);return Object.keys(a).forEach(function(l){u[l]=t.reduceRight(function(c,f){return f.out(c,l,a)},o(a[l]))}),u}catch(l){throw l}else return})}function yr(e){return JSON.parse(e)}function br(e){var t=e.storage,r="".concat(e.keyPrefix!==void 0?e.keyPrefix:se).concat(e.key);return t.removeItem(r,Sr)}function Sr(e){}function we(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?we(r,!0).forEach(function(n){xr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wr(e,t){if(e==null)return{};var r=Pr(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Pr(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}var Or=5e3;function Er(e,t){var r=e.version!==void 0?e.version:We;e.debug;var n=e.stateReconciler===void 0?mr:e.stateReconciler,o=e.getStoredState||gr,i=e.timeout!==void 0?e.timeout:Or,u=null,a=!1,l=!0,c=function(d){return d._persist.rehydrated&&u&&!l&&u.update(d),d};return function(f,d){var h=f||{},p=h._persist,g=wr(h,["_persist"]),y=g;if(d.type===Ve){var v=!1,S=function(w,R){v||(d.rehydrate(e.key,w,R),v=!0)};if(i&&setTimeout(function(){!v&&S(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},i),l=!1,u||(u=hr(e)),p)return N({},t(y,d),{_persist:p});if(typeof d.rehydrate!="function"||typeof d.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return d.register(e.key),o(e).then(function(j){var w=e.migrate||function(R,L){return Promise.resolve(R)};w(j,r).then(function(R){S(R)},function(R){S(void 0,R)})},function(j){S(void 0,j)}),N({},t(y,d),{_persist:{version:r,rehydrated:!1}})}else{if(d.type===ze)return a=!0,d.result(br(e)),N({},t(y,d),{_persist:p});if(d.type===$e)return d.result(u&&u.flush()),N({},t(y,d),{_persist:p});if(d.type===Ge)l=!0;else if(d.type===Ke){if(a)return N({},y,{_persist:N({},p,{rehydrated:!0})});if(d.key===e.key){var O=t(y,d),x=d.payload,b=n!==!1&&x!==void 0?n(x,f,O,e):O,E=N({},b,{_persist:N({},p,{rehydrated:!0})});return c(E)}}}if(!p)return t(f,d);var m=t(y,d);return m===y?f:c(N({},m,{_persist:p}))}}function Rr(e,t){return function(r,n){if(!r)return Promise.resolve(void 0);var o=r._persist&&r._persist.version!==void 0?r._persist.version:We;if(o===n||o>n)return Promise.resolve(r);var i=Object.keys(e).map(function(a){return parseInt(a)}).filter(function(a){return n>=a&&a>o}).sort(function(a,l){return a-l});try{var u=i.reduce(function(a,l){return e[l](a)},r);return Promise.resolve(u)}catch(a){return Promise.reject(a)}}}const Cr=(e,t)=>e===dt.unregisterDevice&&(t==null?void 0:t.status)===404&&(t==null?void 0:t.data)==="No record found",Ir=[0,"0"],jr=e=>e!==void 0&&!Ir.includes(e),kr=e=>{var a,l,c,f,d,h,p,g;const t=(l=(a=e.meta)==null?void 0:a.arg)==null?void 0:l.endpointName,r=(c=e.payload)==null?void 0:c.originalStatus,n=(f=e.payload)==null?void 0:f.status;if(!jr(r??n)||Cr(t,e.payload))return;let o="Rejected RTK action";t&&(o=`${r??n??"Error"} for ${t}`);const i=`All request retries failed: ${o}`,u=(p=(h=(d=e.meta)==null?void 0:d.baseQueryMeta)==null?void 0:h.request)==null?void 0:p.url;u&&!u.startsWith("http://localhost")&&Pt.trackException({exception:new Error(i),properties:{endpoint:t,originalStatus:r,status:n,error:(g=e.payload)==null?void 0:g.error,url:u}})},Ar=()=>e=>t=>(st(t)&&kr(t),e(t));var Lr=e=>{if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype};const X=Lr,{hasOwnProperty:He}=Object.prototype,{propertyIsEnumerable:Nr}=Object,K=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}),_r=Et,Pe={concatArrays:!1,ignoreUndefined:!1},Y=e=>{const t=[];for(const r in e)He.call(e,r)&&t.push(r);if(Object.getOwnPropertySymbols){const r=Object.getOwnPropertySymbols(e);for(const n of r)Nr.call(e,n)&&t.push(n)}return t};function G(e){return Array.isArray(e)?Tr(e):X(e)?Mr(e):e}function Tr(e){const t=e.slice(0,0);return Y(e).forEach(r=>{K(t,r,G(e[r]))}),t}function Mr(e){const t=Object.getPrototypeOf(e)===null?Object.create(null):{};return Y(e).forEach(r=>{K(t,r,G(e[r]))}),t}const qe=(e,t,r,n)=>(r.forEach(o=>{typeof t[o]>"u"&&n.ignoreUndefined||(o in e&&e[o]!==Object.getPrototypeOf(e)?K(e,o,oe(e[o],t[o],n)):K(e,o,G(t[o])))}),e),Fr=(e,t,r)=>{let n=e.slice(0,0),o=0;return[e,t].forEach(i=>{const u=[];for(let a=0;a<i.length;a++)He.call(i,a)&&(u.push(String(a)),i===e?K(n,o++,i[a]):K(n,o++,G(i[a])));n=qe(n,i,Y(i).filter(a=>!u.includes(a)),r)}),n};function oe(e,t,r){return r.concatArrays&&Array.isArray(e)&&Array.isArray(t)?Fr(e,t,r):!X(t)||!X(e)?G(t):qe(e,t,Y(t),r)}var Dr=function(...e){const t=oe(G(Pe),this!==_r&&this||{},Pe);let r={_:{}};for(const n of e)if(n!==void 0){if(!X(n))throw new TypeError("`"+n+"` is not an Option Object");r=oe(r,{_:n},t)}return r._};const Ur=ke(Dr),$r=Ur.bind({concatArrays:!0,ignoreUndefined:!0});function Kr(e,t){const r=window.localStorage.getItem(e);if(r){const n=JSON.parse(r),o=JSON.parse(t),i=JSON.stringify($r(n,o));window.localStorage.setItem(e,i)}else window.localStorage.setItem(e,t)}function U(e,t){return new Promise((r,n)=>{try{const o=e();t==null||t(null,o),r(o)}catch(o){t==null||t(o),n(o)}})}function H(e,t,r){return Promise.all(e).then(n=>{const o=(r==null?void 0:r(n))??null;return t==null||t(null,o),Promise.resolve(o)},n=>(t==null||t(n),Promise.reject(n)))}const z={getItem:(e,t)=>U(()=>window.localStorage.getItem(e),t),setItem:(e,t,r)=>U(()=>window.localStorage.setItem(e,t),r),removeItem:(e,t)=>U(()=>window.localStorage.removeItem(e),t),mergeItem:(e,t,r)=>U(()=>Kr(e,t),r),clear:e=>U(()=>window.localStorage.clear(),e),getAllKeys:e=>U(()=>{const t=window.localStorage.length,r=[];for(let n=0;n<t;n+=1){const o=window.localStorage.key(n)||"";r.push(o)}return r},e),flushGetRequests:()=>{},multiGet:(e,t)=>{const r=e.map(o=>z.getItem(o));return H(r,t,o=>o.map((i,u)=>[e[u],i]))},multiSet:(e,t)=>{const r=e.map(n=>z.setItem(n[0],n[1]));return H(r,t)},multiRemove:(e,t)=>{const r=e.map(n=>z.removeItem(n));return H(r,t)},multiMerge:(e,t)=>{const r=e.map(n=>z.mergeItem(n[0],n[1]));return H(r,t)}},Oe=e=>e.reduce((t,{reduxConfigs:r})=>r?[...t,...r]:t,[]),Gr=e=>{const t={};return e.forEach(r=>{const{key:n,migrations:o,slice:i,persistWhitelist:u,persistVersion:a}=r;if(a===void 0){t[n]=i.reducer;return}t[n]=Er({key:n,storage:z,migrate:o?Rr(o,{debug:Rt===Ct.local}):void 0,version:a,whitelist:u},i.reducer)}),t},Ee={},Be=J({name:I.alert,initialState:Ee,reducers:{resetAlert:()=>Ee,setAlert:(e,{payload:t})=>(It||fe.configureNext(fe.Presets.easeInEaseOut),t)}});Be.actions;const Vr={isConnected:null,isInternetReachable:null,isNoInternetFullScreenErrorVisible:!1},Xe=J({name:I.internetConnection,initialState:Vr,reducers:{setInternetState:(e,{payload:{isConnected:t,isInternetReachable:r}})=>{e.isConnected=t,e.isInternetReachable=r},setIsNoInternetFullScreenErrorVisible:(e,{payload:t})=>{e.isNoInternetFullScreenErrorVisible=t}}});Xe.actions;const Re={disabledModules:[],authorizedModules:[],cachedServerModules:void 0},Je=J({name:I.modules,initialState:Re,reducers:{resetModules:()=>Re,toggleModule:(e,{payload:t})=>{const{disabledModules:r}=e;if(r!=null&&r.includes(t))return{...e,disabledModules:r.filter(n=>n!==t)};e.disabledModules=[...e.disabledModules,t]},addAuthorizedModule:(e,{payload:t})=>{const{authorizedModules:r}=e;r!=null&&r.includes(t)||(e.authorizedModules=[...e.authorizedModules,t])},removeAuthorizedModule:(e,{payload:t})=>{const{authorizedModules:r}=e;r!=null&&r.includes(t)&&(e.authorizedModules=r.filter(n=>n!==t))},setCachedServerModules:(e,{payload:t})=>{e.cachedServerModules=t}}});Je.actions;const Ye=J({name:I.updateApp,initialState:{},reducers:{setLastSeenTimestamp:(e,{payload:t})=>({...e,lastSeenTimestamp:t})}});Ye.actions.setLastSeenTimestamp(Date.now());const zr=[{key:I.accessCode,slice:ft},{key:I.alert,slice:Be},{key:I.bottomSheet,slice:pt},{key:I.chat,slice:mt},{key:I.environment,slice:ht,persistVersion:0},{key:I.internetConnection,slice:Xe},{key:I.modules,slice:Je,persistVersion:0},{key:I.overlay,slice:vt},{key:I.permissions,slice:gt},{key:I.productTour,slice:yt,persistVersion:0},{key:I.secureStorage,slice:bt,persistVersion:0},{key:I.theme,slice:at},{key:I.screen,slice:St},{key:I.updateApp,slice:Ye,persistVersion:0}],Wr=Gr([...zr,...Oe(xt),...Oe(wt)]),Hr=ut({enhancers:e=>e,reducer:lt({[te.reducerPath]:te.reducer,...Wr}),middleware:e=>e({serializableCheck:{ignoredActions:[$e,Ke,Ge,Ve,ze,dr],warnAfter:256},immutableCheck:{warnAfter:256}}).concat([te.middleware,Ar])}),ie=({children:e})=>$.jsx(Yt,{store:Hr,children:e});try{ie.displayName="StoreProvider",ie.__docgenInfo={description:"",displayName:"StoreProvider",props:{}}}catch{}const qr=e=>$.jsx(Ot,{children:$.jsx(ur,{children:$.jsx(ie,{children:$.jsx(nt,{children:$.jsx(e,{})})})})}),fo={decorators:[qr],parameters:{backgrounds:{values:[{name:"custom-grey0",value:D.custom.grey0},{name:"primary-blue",value:D.primary.blue},{name:"primary-red",value:D.primary.red},{name:"primary-black",value:D.primary.black},{name:"secondary-yellow",value:D.secondary.yellow},{name:"secondary-purple",value:D.secondary.purple}]},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}},viewport:{viewports:cr,defaultViewport:"iphonex"}},tags:["autodocs"]};export{fo as default}; diff --git a/assets/useOpenMailUrl-hiSWEozv.js b/assets/useOpenMailUrl-Blrf_PL9.js similarity index 87% rename from assets/useOpenMailUrl-hiSWEozv.js rename to assets/useOpenMailUrl-Blrf_PL9.js index c73cc481..99009ada 100644 --- a/assets/useOpenMailUrl-hiSWEozv.js +++ b/assets/useOpenMailUrl-Blrf_PL9.js @@ -1 +1 @@ -import{r as i}from"./index-mfbfsM12.js";import{b as n}from"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import{u as s,E as c}from"./useTrackException-Cm6KdDpO.js";import{L as l,A as p}from"./index-Ce74jbsy.js";const E=()=>{const r=s(),{trackOutlink:t}=n();return i.useCallback((a,o)=>{let e=`mailto:${a}`;o&&(e+=`?subject=${encodeURIComponent(o)}`),t(e),l.openURL(e).catch(()=>{p.alert("Sorry, deze functie is niet beschikbaar."),r(c.openMailUrl,"useOpenMailUrl.ts")})},[r,t])};export{E as u}; +import{r as i}from"./index-mfbfsM12.js";import{b as n}from"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import{u as s,E as c}from"./useTrackException-Cm6KdDpO.js";import{L as l,A as p}from"./index-Ce74jbsy.js";const E=()=>{const r=s(),{trackOutlink:t}=n();return i.useCallback((a,o)=>{let e=`mailto:${a}`;o&&(e+=`?subject=${encodeURIComponent(o)}`),t(e),l.openURL(e).catch(()=>{p.alert("Sorry, deze functie is niet beschikbaar."),r(c.openMailUrl,"useOpenMailUrl.ts")})},[r,t])};export{E as u}; diff --git a/assets/useOpenPhoneUrl-C5nkLsXz.js b/assets/useOpenPhoneUrl-TB9t0oDt.js similarity index 87% rename from assets/useOpenPhoneUrl-C5nkLsXz.js rename to assets/useOpenPhoneUrl-TB9t0oDt.js index 46f989e3..5be89cc1 100644 --- a/assets/useOpenPhoneUrl-C5nkLsXz.js +++ b/assets/useOpenPhoneUrl-TB9t0oDt.js @@ -1 +1 @@ -import{r as s}from"./index-mfbfsM12.js";import{b as a}from"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import{u as n,E as i}from"./useTrackException-Cm6KdDpO.js";import{P as c}from"./index-DSI0shHu.js";import{L as p,A as l}from"./index-Ce74jbsy.js";const h=()=>{const r=n(),{trackOutlink:t}=a();return s.useCallback(o=>{let e="";c.OS==="ios"?e=`telprompt:${o}`:e=`tel:${o}`,t(e),p.openURL(e).catch(()=>{l.alert("Sorry, deze functie is niet beschikbaar."),r(i.openPhoneUrl,"useOpenPhoneUrl.ts")})},[r,t])};export{h as u}; +import{r as s}from"./index-mfbfsM12.js";import{b as a}from"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import{u as n,E as i}from"./useTrackException-Cm6KdDpO.js";import{P as c}from"./index-DSI0shHu.js";import{L as p,A as l}from"./index-Ce74jbsy.js";const h=()=>{const r=n(),{trackOutlink:t}=a();return s.useCallback(o=>{let e="";c.OS==="ios"?e=`telprompt:${o}`:e=`tel:${o}`,t(e),p.openURL(e).catch(()=>{l.alert("Sorry, deze functie is niet beschikbaar."),r(i.openPhoneUrl,"useOpenPhoneUrl.ts")})},[r,t])};export{h as u}; diff --git a/assets/useOpenUrl-BebUyU0w.js b/assets/useOpenUrl-DkzqnrRX.js similarity index 98% rename from assets/useOpenUrl-BebUyU0w.js rename to assets/useOpenUrl-DkzqnrRX.js index a4dbc5c5..e81cb754 100644 --- a/assets/useOpenUrl-BebUyU0w.js +++ b/assets/useOpenUrl-DkzqnrRX.js @@ -1,2 +1,2 @@ -import{a as ft}from"./_commonjsHelpers-BosuxZz1.js";import{e as re,c as A,s as f,_ as T,a as U,b as O,n as St,A as pt,p as _t,u as gt}from"./index-kbHxBZ_W.js";import{f as Pt}from"./index-DEfxrPnc.js";import{r as me,F as yt}from"./index-DFkxGuuM.js";import{h as Tt,c as bt}from"./client-BGlHIwA3.js";import{i as L,P as Be,D as Ot,N as Nt}from"./index-DSI0shHu.js";import{A as Ct}from"./index-CDv7s-w8.js";import{A as We,L as $e}from"./index-Ce74jbsy.js";import{_ as b}from"./extends-CF3RwP-h.js";import{r as i,R as M}from"./index-mfbfsM12.js";import{V as m}from"./index-BP1Ij_Cs.js";import{A as Dt}from"./index-CkqLweLe.js";import{d as At,I as fe,A as It,E as Lt,F as Mt,R as wt,a as kt,S as Vt,V as xt}from"./Animated-CFNSbqHF.js";import{I as qe,P as Gt}from"./index-2SHDvLR_.js";import{U as G,g as Se,e as Ht,p as Ut}from"./TextAncestorContext-Dg3XKfar.js";import{c as Xe,u as Yt,a as Ft,m as jt,b as Ke,g as zt}from"./usePiwikTrackCustomEventFromProps-DOnnRsC6.js";import{T as Ze}from"./index-CAyeAlm6.js";import{M as Bt}from"./index-LDRWBpq_.js";import{S as Wt}from"./index-k6NSpe5t.js";import{T as $t}from"./index-DZxzYa9i.js";import{M as qt}from"./index-DgmJIe7t.js";import{R as Xt,N as Kt}from"./NativeEventEmitter-MQ3wzVGe.js";import{u as Zt}from"./index-BXDkY5MO.js";import{j as Jt}from"./jsx-runtime-Bxcv0yjW.js";import{P as Qt}from"./Phrase-Dnv5p-ah.js";import{u as ea}from"./useOpenMailUrl-hiSWEozv.js";import{u as ta}from"./useOpenPhoneUrl-C5nkLsXz.js";import{u as aa,E as na}from"./useTrackException-Cm6KdDpO.js";const oe=me.unmountComponentAtNode;function ra(e,t){return re(t),Tt(t,e)}function oa(e,t){re(t);var a=bt(t);return a.render(e),a}function ia(e,t,a){return re(t),me.hydrate(e,t,a),{unmount:function(){return oe(t)}}}function Je(e,t,a){return re(t),me.render(e,t,a),{unmount:function(){return oe(t)}}}function sa(){return A&&window.matchMedia!=null?window.matchMedia("(prefers-color-scheme: dark)"):null}var k=sa(),$=new WeakMap,Ee={getColorScheme(){return k&&k.matches?"dark":"light"},addChangeListener(e){var t=$.get(e);t||(t=r=>{var n=r.matches;e({colorScheme:n?"dark":"light"})},$.set(e,t)),k&&k.addListener(t);function a(){var r=$.get(e);k&&r&&k.removeListener(r),$.delete(e)}return{remove:a}}},la=i.createContext(null),pe=i.forwardRef((e,t)=>{var a=e.children,r=e.WrapperComponent,n=i.createElement(m,{children:a,key:1,style:Ce.appContainer});return r&&(n=i.createElement(r,null,n)),i.createElement(la.Provider,{value:e.rootTag},i.createElement(m,{ref:t,style:Ce.appContainer},n))});pe.displayName="AppContainer";var Ce=f.create({appContainer:{flex:1,pointerEvents:"box-none"}});function ua(e,t,a,r){var n=r.hydrate,o=r.initialProps,s=r.mode,u=r.rootTag,c=n?s==="concurrent"?ra:ia:s==="concurrent"?oa:Je;return L(u,"Expect to have a valid rootTag, instead got ",u),c(M.createElement(pe,{WrapperComponent:t,ref:a,rootTag:u},M.createElement(e,o)),u)}function ca(e,t,a){var r=M.createElement(pe,{WrapperComponent:a,rootTag:{}},M.createElement(e,t)),n=o=>{var s=f.getSheet();return M.createElement("style",b({},o,{dangerouslySetInnerHTML:{__html:s.textContent},id:s.id}))};return{element:r,getStyleElement:n}}var De={},D={},le=e=>e(),F;class ae{static getAppKeys(){return Object.keys(D)}static getApplication(t,a){return L(D[t]&&D[t].getApplication,"Application "+t+" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent."),D[t].getApplication(a)}static registerComponent(t,a){return D[t]={getApplication:r=>ca(le(a),r?r.initialProps:De,F&&F(r)),run:r=>ua(le(a),F&&F(r),r.callback,{hydrate:r.hydrate||!1,initialProps:r.initialProps||De,mode:r.mode||"concurrent",rootTag:r.rootTag})},t}static registerConfig(t){t.forEach(a=>{var r=a.appKey,n=a.component,o=a.run;o?ae.registerRunnable(r,o):(L(n,"No component provider passed in"),ae.registerComponent(r,n))})}static registerRunnable(t,a){return D[t]={run:a},t}static runApplication(t,a){return L(D[t]&&D[t].run,'Application "'+t+'" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.'),D[t].run(a)}static setComponentProviderInstrumentationHook(t){le=t}static setWrapperComponentProvider(t){F=t}static unmountApplicationComponentAtRootTag(t){oe(t)}}function ue(){}var da={exitApp:ue,addEventListener(){return console.error("BackHandler is not supported on web and should not be used."),{remove:ue}},removeEventListener:ue},ce;class Ea{static isAvailable(){return ce===void 0&&(ce=typeof document.queryCommandSupported=="function"&&document.queryCommandSupported("copy")),ce}static getString(){return Promise.resolve("")}static setString(t){var a=!1,r=document.body;if(r){var n=document.createElement("span");n.textContent=t,n.style.opacity="0",n.style.position="absolute",n.style.whiteSpace="pre-wrap",n.style.userSelect="auto",r.appendChild(n);var o=window.getSelection();o.removeAllRanges();var s=document.createRange();s.selectNodeContents(n),o.addRange(s);try{document.execCommand("copy"),a=!0}catch{}o.removeAllRanges(),r.removeChild(n)}return a}}var ha={allowRTL(){},forceRTL(){},getConstants(){return{isRTL:!1}}},Ra={isVisible(){return!1},addListener(){return{remove:()=>{}}},dismiss(){At()},removeAllListeners(){},removeListener(){}};function q(e,t){Be.isTesting||G.configureNextLayoutAnimation(e,t??function(){},function(){})}function he(e,t,a){return{duration:e,create:{type:t,property:a},update:{type:t},delete:{type:t,property:a}}}var X={easeInEaseOut:he(300,"easeInEaseOut","opacity"),linear:he(500,"linear","opacity"),spring:{duration:700,create:{type:"linear",property:"opacity"},update:{type:"spring",springDamping:.4},delete:{type:"linear",property:"opacity"}}},va={configureNext:q,create:he,Types:Object.freeze({spring:"spring",linear:"linear",easeInEaseOut:"easeInEaseOut",easeIn:"easeIn",easeOut:"easeOut",keyboard:"keyboard"}),Properties:Object.freeze({opacity:"opacity",scaleX:"scaleX",scaleY:"scaleY",scaleXY:"scaleXY"}),checkConfig(){console.error("LayoutAnimation.checkConfig(...) has been disabled.")},Presets:X,easeInEaseOut:q.bind(null,X.easeInEaseOut),linear:q.bind(null,X.linear),spring:q.bind(null,X.spring)},g={centroidDimension:function(t,a,r,n){var o=t.touchBank,s=0,u=0,c=t.numberActiveTouches===1?t.touchBank[t.indexOfSingleActiveTouch]:null;if(c!==null)c.touchActive&&c.currentTimeStamp>a&&(s+=n&&r?c.currentPageX:n&&!r?c.currentPageY:!n&&r?c.previousPageX:c.previousPageY,u=1);else for(var d=0;d<o.length;d++){var E=o[d];if(E!=null&&E.touchActive&&E.currentTimeStamp>=a){var h=void 0;n&&r?h=E.currentPageX:n&&!r?h=E.currentPageY:!n&&r?h=E.previousPageX:h=E.previousPageY,s+=h,u++}}return u>0?s/u:g.noCentroid},currentCentroidXOfTouchesChangedAfter:function(t,a){return g.centroidDimension(t,a,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(t,a){return g.centroidDimension(t,a,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(t,a){return g.centroidDimension(t,a,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(t,a){return g.centroidDimension(t,a,!1,!1)},currentCentroidX:function(t){return g.centroidDimension(t,0,!0,!0)},currentCentroidY:function(t){return g.centroidDimension(t,0,!1,!0)},noCentroid:-1},Ae=g.currentCentroidXOfTouchesChangedAfter,Ie=g.currentCentroidYOfTouchesChangedAfter,ma=g.previousCentroidXOfTouchesChangedAfter,fa=g.previousCentroidYOfTouchesChangedAfter,Sa=g.currentCentroidX,pa=g.currentCentroidY,V={_initializeGestureState(e){e.moveX=0,e.moveY=0,e.x0=0,e.y0=0,e.dx=0,e.dy=0,e.vx=0,e.vy=0,e.numberActiveTouches=0,e._accountsForMovesUpTo=0},_updateGestureStateOnMove(e,t){e.numberActiveTouches=t.numberActiveTouches,e.moveX=Ae(t,e._accountsForMovesUpTo),e.moveY=Ie(t,e._accountsForMovesUpTo);var a=e._accountsForMovesUpTo,r=ma(t,a),n=Ae(t,a),o=fa(t,a),s=Ie(t,a),u=e.dx+(n-r),c=e.dy+(s-o),d=t.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(u-e.dx)/d,e.vy=(c-e.dy)/d,e.dx=u,e.dy=c,e._accountsForMovesUpTo=t.mostRecentTimeStamp},create(e){var t={handle:null,shouldCancelClick:!1,timeout:null},a={stateID:Math.random(),moveX:0,moveY:0,x0:0,y0:0,dx:0,dy:0,vx:0,vy:0,numberActiveTouches:0,_accountsForMovesUpTo:0},r={onStartShouldSetResponder(n){return e.onStartShouldSetPanResponder==null?!1:e.onStartShouldSetPanResponder(n,a)},onMoveShouldSetResponder(n){return e.onMoveShouldSetPanResponder==null?!1:e.onMoveShouldSetPanResponder(n,a)},onStartShouldSetResponderCapture(n){return n.nativeEvent.touches.length===1&&V._initializeGestureState(a),a.numberActiveTouches=n.touchHistory.numberActiveTouches,e.onStartShouldSetPanResponderCapture!=null?e.onStartShouldSetPanResponderCapture(n,a):!1},onMoveShouldSetResponderCapture(n){var o=n.touchHistory;return a._accountsForMovesUpTo===o.mostRecentTimeStamp?!1:(V._updateGestureStateOnMove(a,o),e.onMoveShouldSetPanResponderCapture?e.onMoveShouldSetPanResponderCapture(n,a):!1)},onResponderGrant(n){return t.handle||(t.handle=fe.createInteractionHandle()),t.timeout&&_a(t),t.shouldCancelClick=!0,a.x0=Sa(n.touchHistory),a.y0=pa(n.touchHistory),a.dx=0,a.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(n,a),e.onShouldBlockNativeResponder==null?!0:e.onShouldBlockNativeResponder(n,a)},onResponderReject(n){K(t,e.onPanResponderReject,n,a)},onResponderRelease(n){K(t,e.onPanResponderRelease,n,a),Le(t),V._initializeGestureState(a)},onResponderStart(n){var o=n.touchHistory;a.numberActiveTouches=o.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(n,a)},onResponderMove(n){var o=n.touchHistory;a._accountsForMovesUpTo!==o.mostRecentTimeStamp&&(V._updateGestureStateOnMove(a,o),e.onPanResponderMove&&e.onPanResponderMove(n,a))},onResponderEnd(n){var o=n.touchHistory;a.numberActiveTouches=o.numberActiveTouches,K(t,e.onPanResponderEnd,n,a)},onResponderTerminate(n){K(t,e.onPanResponderTerminate,n,a),Le(t),V._initializeGestureState(a)},onResponderTerminationRequest(n){return e.onPanResponderTerminationRequest==null?!0:e.onPanResponderTerminationRequest(n,a)},onClickCapture:n=>{t.shouldCancelClick===!0&&(n.stopPropagation(),n.preventDefault())}};return{panHandlers:r,getInteractionHandle(){return t.handle}}}};function K(e,t,a,r){e.handle&&(fe.clearInteractionHandle(e.handle),e.handle=null),t&&t(a,r)}function _a(e){clearTimeout(e.timeout)}function Le(e){e.timeout=setTimeout(()=>{e.shouldCancelClick=!1},250)}class ga{static share(t,a){return a===void 0&&(a={}),L(typeof t=="object"&&t!==null,"Content to share must be a valid object"),L(typeof t.url=="string"||typeof t.message=="string","At least one of URL and message is required"),L(typeof a=="object"&&a!==null,"Options must be a valid object"),L(!t.title||typeof t.title=="string","Invalid title: title should be a string."),window.navigator.share!==void 0?window.navigator.share({title:t.title,text:t.message,url:t.url}):Promise.reject(new Error("Share is not supported in this browser"))}static get sharedAction(){return"sharedAction"}static get dismissedAction(){return"dismissedAction"}}var Me=e=>{"vibrate"in window.navigator&&window.navigator.vibrate(e)},Pa={cancel(){Me(0)},vibrate(e){e===void 0&&(e=400),Me(e)}},ya=["animating","color","hidesWhenStopped","size","style"],we=e=>i.createElement("circle",{cx:"16",cy:"16",fill:"none",r:"14",strokeWidth:"4",style:e}),Qe=i.forwardRef((e,t)=>{var a=e.animating,r=a===void 0?!0:a,n=e.color,o=n===void 0?"#1976D2":n,s=e.hidesWhenStopped,u=s===void 0?!0:s,c=e.size,d=c===void 0?"small":c,E=e.style,h=T(e,ya),R=i.createElement("svg",{height:"100%",viewBox:"0 0 32 32",width:"100%"},we({stroke:o,opacity:.2}),we({stroke:o,strokeDasharray:80,strokeDashoffset:60}));return i.createElement(m,b({},h,{"aria-valuemax":1,"aria-valuemin":0,ref:t,role:"progressbar",style:[Z.container,E]}),i.createElement(m,{children:R,style:[typeof d=="number"?{height:d,width:d}:Ta[d],Z.animation,!r&&Z.animationPause,!r&&u&&Z.hidesWhenStopped]}))});Qe.displayName="ActivityIndicator";var Z=f.create({container:{alignItems:"center",justifyContent:"center"},hidesWhenStopped:{visibility:"hidden"},animation:{animationDuration:"0.75s",animationKeyframes:[{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"},animationPause:{animationPlayState:"paused"}}),Ta=f.create({small:{width:20,height:20},large:{width:36,height:36}}),ba=["activeOpacity","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onLongPress","onPress","onPressIn","onPressOut","rejectResponderTermination","style"];function Oa(e,t){var a=e.activeOpacity,r=e.delayPressIn,n=e.delayPressOut,o=e.delayLongPress,s=e.disabled,u=e.focusable,c=e.onLongPress,d=e.onPress,E=e.onPressIn,h=e.onPressOut,R=e.rejectResponderTermination,v=e.style,_=T(e,ba),S=i.useRef(null),N=Se(t,S),C=i.useState("0s"),se=C[0],Pe=C[1],ye=i.useState(null),Te=ye[0],be=ye[1],B=i.useCallback((P,W)=>{be(P),Pe(W?W/1e3+"s":"0s")},[be,Pe]),Oe=i.useCallback(P=>{B(a??.2,P)},[a,B]),Ne=i.useCallback(P=>{B(null,P)},[B]),vt=i.useMemo(()=>({cancelable:!R,disabled:s,delayLongPress:o,delayPressStart:r,delayPressEnd:n,onLongPress:c,onPress:d,onPressStart(P){var W=P.dispatchConfig!=null?P.dispatchConfig.registrationName==="onResponderGrant":P.type==="keydown";Oe(W?0:150),E!=null&&E(P)},onPressEnd(P){Ne(250),h!=null&&h(P)}}),[o,r,n,s,c,d,E,h,R,Oe,Ne]),mt=Xe(S,vt);return i.createElement(m,b({},_,mt,{accessibilityDisabled:s,focusable:!s&&u!==!1,pointerEvents:s?"box-none":void 0,ref:N,style:[ke.root,!s&&ke.actionable,v,Te!=null&&{opacity:Te},{transitionDuration:se}]}))}var ke=f.create({root:{transitionProperty:"opacity",transitionDuration:"0.15s",userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}}),_e=i.memo(i.forwardRef(Oa));_e.displayName="TouchableOpacity";var et=i.forwardRef((e,t)=>{var a=e.accessibilityLabel,r=e.color,n=e.disabled,o=e.onPress,s=e.testID,u=e.title;return i.createElement(_e,{accessibilityLabel:a,accessibilityRole:"button",disabled:n,focusable:!n,onPress:o,ref:t,style:[J.button,r&&{backgroundColor:r},n&&J.buttonDisabled],testID:s},i.createElement(Ze,{style:[J.text,n&&J.textDisabled]},u))});et.displayName="Button";var J=f.create({button:{backgroundColor:"#2196F3",borderRadius:2},text:{color:"#fff",fontWeight:"500",padding:8,textAlign:"center",textTransform:"uppercase"},buttonDisabled:{backgroundColor:"#dfdfdf"},textDisabled:{color:"#a1a1a1"}}),Na=["aria-readonly","color","disabled","onChange","onValueChange","readOnly","style","value"],tt=i.forwardRef((e,t)=>{var a=e["aria-readonly"],r=e.color,n=e.disabled,o=e.onChange,s=e.onValueChange,u=e.readOnly,c=e.style,d=e.value,E=T(e,Na);function h(_){var S=_.nativeEvent.target.checked;_.nativeEvent.value=S,o&&o(_),s&&s(S)}var R=i.createElement(m,{style:[I.fakeControl,d&&I.fakeControlChecked,d&&r&&{backgroundColor:r,borderColor:r},n&&I.fakeControlDisabled,d&&n&&I.fakeControlCheckedAndDisabled]}),v=U("input",{checked:d,disabled:n,onChange:h,readOnly:u===!0||a===!0||E.accessibilityReadOnly===!0,ref:t,style:[I.nativeControl,I.cursorInherit],type:"checkbox"});return i.createElement(m,b({},E,{"aria-disabled":n,"aria-readonly":a,style:[I.root,c,n&&I.cursorDefault]}),R,v)});tt.displayName="CheckBox";var I=f.create({root:{cursor:"pointer",height:16,userSelect:"none",width:16},cursorDefault:{cursor:"default"},cursorInherit:{cursor:"inherit"},fakeControl:{alignItems:"center",backgroundColor:"#fff",borderColor:"#657786",borderRadius:2,borderStyle:"solid",borderWidth:2,height:"100%",justifyContent:"center",width:"100%"},fakeControlChecked:{backgroundColor:"#009688",backgroundImage:'url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K")',backgroundRepeat:"no-repeat",borderColor:"#009688"},fakeControlDisabled:{borderColor:"#CCD6DD"},fakeControlCheckedAndDisabled:{backgroundColor:"#AAB8C2",borderColor:"#AAB8C2"},nativeControl:O(O({},f.absoluteFillObject),{},{height:"100%",margin:0,appearance:"none",padding:0,width:"100%"})}),Ca=["children","style","imageStyle","imageRef"],Da={},at=i.forwardRef((e,t)=>{var a=e.children,r=e.style,n=r===void 0?Da:r,o=e.imageStyle,s=e.imageRef,u=T(e,Ca),c=f.flatten(n),d=c.height,E=c.width;return i.createElement(m,{ref:t,style:n},i.createElement(qe,b({},u,{ref:s,style:[{width:E,height:d,zIndex:-1},f.absoluteFill,o]})),a)});at.displayName="ImageBackground";var Aa=["behavior","contentContainerStyle","keyboardVerticalOffset"];class Ia extends i.Component{constructor(){super(...arguments),this.frame=null,this.onLayout=t=>{this.frame=t.nativeEvent.layout}}relativeKeyboardHeight(t){var a=this.frame;if(!a||!t)return 0;var r=t.screenY-(this.props.keyboardVerticalOffset||0);return Math.max(a.y+a.height-r,0)}onKeyboardChange(t){}render(){var t=this.props;t.behavior,t.contentContainerStyle,t.keyboardVerticalOffset;var a=T(t,Aa);return i.createElement(m,b({onLayout:this.onLayout},a))}}function La(e){var t=e.children,a=i.useRef(null);if(A&&!a.current){var r=document.createElement("div");r&&document.body&&(document.body.appendChild(r),a.current=r)}return i.useEffect(()=>{if(A)return()=>{document.body&&a.current&&(document.body.removeChild(a.current),a.current=null)}},[]),a.current&&A?yt.createPortal(t,a.current):null}var Ve=300;function Ma(e,t){return e==="slide"?t?ka:Va:e==="fade"?t?xa:Ga:t?p.container:p.hidden}function wa(e){var t=e.animationType,a=e.children,r=e.onDismiss,n=e.onShow,o=e.visible,s=i.useState(!1),u=s[0],c=s[1],d=i.useRef(!1),E=i.useRef(!1),h=t&&t!=="none",R=i.useCallback(v=>{v&&v.currentTarget!==v.target||(o?n&&n():c(!1))},[n,o]);return i.useEffect(()=>{E.current&&!u&&r&&r(),E.current=u},[u,r]),i.useEffect(()=>{o&&c(!0),o!==d.current&&!h&&R(),d.current=o},[h,o,R]),u||o?U("div",{style:u?Ma(t,o):p.hidden,onAnimationEnd:R,children:a}):null}var p=f.create({container:{position:"fixed",top:0,right:0,bottom:0,left:0,zIndex:9999},animatedIn:{animationDuration:Ve+"ms",animationTimingFunction:"ease-in"},animatedOut:{pointerEvents:"none",animationDuration:Ve+"ms",animationTimingFunction:"ease-out"},fadeIn:{opacity:1,animationKeyframes:{"0%":{opacity:0},"100%":{opacity:1}}},fadeOut:{opacity:0,animationKeyframes:{"0%":{opacity:1},"100%":{opacity:0}}},slideIn:{transform:"translateY(0%)",animationKeyframes:{"0%":{transform:"translateY(100%)"},"100%":{transform:"translateY(0%)"}}},slideOut:{transform:"translateY(100%)",animationKeyframes:{"0%":{transform:"translateY(0%)"},"100%":{transform:"translateY(100%)"}}},hidden:{opacity:0}}),ka=[p.container,p.animatedIn,p.slideIn],Va=[p.container,p.animatedOut,p.slideOut],xa=[p.container,p.animatedIn,p.fadeIn],Ga=[p.container,p.animatedOut,p.fadeOut],Ha=["active","children","onRequestClose","transparent"],Ua=i.forwardRef((e,t)=>{var a=e.active,r=e.children,n=e.onRequestClose,o=e.transparent,s=T(e,Ha);i.useEffect(()=>{if(A){var c=d=>{a&&d.key==="Escape"&&(d.stopPropagation(),n&&n())};return document.addEventListener("keyup",c,!1),()=>document.removeEventListener("keyup",c,!1)}},[a,n]);var u=i.useMemo(()=>[Q.modal,o?Q.modalTransparent:Q.modalOpaque],[o]);return i.createElement(m,b({},s,{"aria-modal":!0,ref:t,role:a?"dialog":null,style:u}),i.createElement(m,{style:Q.container},r))}),Q=f.create({modal:{position:"fixed",top:0,right:0,bottom:0,left:0},modalTransparent:{backgroundColor:"transparent"},modalOpaque:{backgroundColor:"white"},container:{top:0,flex:1}}),xe=()=>U("div",{role:"none",tabIndex:0,style:Fa.focusBracket});function nt(e){if(!A)return!1;try{e.focus()}catch{}return document.activeElement===e}function rt(e){for(var t=0;t<e.childNodes.length;t++){var a=e.childNodes[t];if(nt(a)||rt(a))return!0}return!1}function ot(e){for(var t=e.childNodes.length-1;t>=0;t--){var a=e.childNodes[t];if(nt(a)||ot(a))return!0}return!1}var Ya=e=>{var t=e.active,a=e.children,r=i.useRef(),n=i.useRef({trapFocusInProgress:!1,lastFocusedElement:null});return i.useEffect(()=>{if(A){var o=()=>{if(!(r.current==null||n.current.trapFocusInProgress||!t)){try{if(n.current.trapFocusInProgress=!0,document.activeElement instanceof Node&&!r.current.contains(document.activeElement)){var s=rt(r.current);n.current.lastFocusedElement===document.activeElement&&(s=ot(r.current)),!s&&r.current!=null&&document.activeElement&&G.focus(r.current)}}finally{n.current.trapFocusInProgress=!1}n.current.lastFocusedElement=document.activeElement}};return o(),document.addEventListener("focus",o,!0),()=>document.removeEventListener("focus",o,!0)}},[t]),i.useEffect(function(){if(A){var o=document.activeElement;return function(){o&&document.contains(o)&&G.focus(o)}}},[]),i.createElement(i.Fragment,null,i.createElement(xe,null),i.createElement(m,{ref:r},a),i.createElement(xe,null))},Fa=f.create({focusBracket:{outlineStyle:"none"}}),ja=["animationType","children","onDismiss","onRequestClose","onShow","transparent","visible"],za=0,w=[],x={};function it(){if(w.length!==0){var e=w[w.length-1];w.forEach(t=>{t in x&&x[t](t===e)})}}function Re(e){e in x&&(x[e](!1),delete x[e]);var t=w.indexOf(e);t!==-1&&(w.splice(t,1),it())}function Ba(e,t){Re(e),w.push(e),x[e]=t,it()}var Wa=i.forwardRef((e,t)=>{var a=e.animationType,r=e.children,n=e.onDismiss,o=e.onRequestClose,s=e.onShow,u=e.transparent,c=e.visible,d=c===void 0?!0:c,E=T(e,ja),h=i.useMemo(()=>za++,[]),R=i.useState(!1),v=R[0],_=R[1],S=i.useCallback(()=>{Re(h),n&&n()},[h,n]),N=i.useCallback(()=>{Ba(h,_),s&&s()},[h,s]);return i.useEffect(()=>()=>Re(h),[h]),i.createElement(La,null,i.createElement(wa,{animationType:a,onDismiss:S,onShow:N,visible:d},i.createElement(Ya,{active:v},i.createElement(Ua,b({},E,{active:v,onRequestClose:o,ref:t,transparent:u}),r))))});function $a(e){var t=e.color,a=e.label,r=e.testID,n=e.value,o={color:t};return U("option",{children:a,style:o,testID:r,value:n})}var qa=["children","enabled","onValueChange","selectedValue","style","testID","itemStyle","mode","prompt"],st=i.forwardRef((e,t)=>{var a=e.children,r=e.enabled,n=e.onValueChange,o=e.selectedValue,s=e.style,u=e.testID;e.itemStyle,e.mode,e.prompt;var c=T(e,qa),d=i.useRef(null);function E(_){var S=_.target,N=S.selectedIndex,C=S.value;n&&n(C,N)}var h=O({children:a,disabled:r===!1?!0:void 0,onChange:E,style:[Xa.initial,s],testID:u,value:o},c),R=Ht(h),v=Se(d,R,t);return h.ref=v,U("select",h)});st.Item=$a;var Xa=f.create({initial:{fontFamily:"System",fontSize:"inherit",margin:0}}),Ka=["color","indeterminate","progress","trackColor","style"],lt=i.forwardRef((e,t)=>{var a=e.color,r=a===void 0?"#1976D2":a,n=e.indeterminate,o=n===void 0?!1:n,s=e.progress,u=s===void 0?0:s,c=e.trackColor,d=c===void 0?"transparent":c,E=e.style,h=T(e,Ka),R=u*100,v=o?"25%":R+"%";return i.createElement(m,b({},h,{"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":o?null:R,ref:t,role:"progressbar",style:[de.track,E,{backgroundColor:d}]}),i.createElement(m,{style:[{backgroundColor:r,width:v},de.progress,o&&de.animation]}))});lt.displayName="ProgressBar";var de=f.create({track:{forcedColorAdjust:"none",height:5,overflow:"hidden",userSelect:"none",zIndex:0},progress:{forcedColorAdjust:"none",height:"100%",zIndex:-1},animation:{animationDuration:"1s",animationKeyframes:[{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(400%)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"}}),Za=["style"],ee=function(){return A&&window.CSS&&window.CSS.supports&&window.CSS.supports("top: constant(safe-area-inset-top)")?"constant":"env"}(),ut=i.forwardRef((e,t)=>{var a=e.style,r=T(e,Za);return i.createElement(m,b({},r,{ref:t,style:[Ja.root,a]}))});ut.displayName="SafeAreaView";var Ja=f.create({root:{paddingTop:ee+"(safe-area-inset-top)",paddingRight:ee+"(safe-area-inset-right)",paddingBottom:ee+"(safe-area-inset-bottom)",paddingLeft:ee+"(safe-area-inset-left)"}}),j=()=>{};function Y(){return null}Y.setBackgroundColor=j;Y.setBarStyle=j;Y.setHidden=j;Y.setNetworkActivityIndicatorVisible=j;Y.setTranslucent=j;var ct=function(t,a){var r=this;if(r.instancePool.length){var n=r.instancePool.pop();return r.call(n,t,a),n}else return new r(t,a)},Qa=function(t){var a=this;t.destructor(),a.instancePool.length<a.poolSize&&a.instancePool.push(t)},en=10,tn=ct,an=function(t,a){var r=t;return r.instancePool=[],r.getPooled=a||tn,r.poolSize||(r.poolSize=en),r.release=Qa,r},ie={addPoolingTo:an,twoArgumentPooler:ct},nn=ie.twoArgumentPooler;function H(e,t){this.width=e,this.height=t}H.prototype.destructor=function(){this.width=null,this.height=null};H.getPooledFromElement=function(e){return H.getPooled(e.offsetWidth,e.offsetHeight)};ie.addPoolingTo(H,nn);var rn=ie.twoArgumentPooler;function ne(e,t){this.left=e,this.top=t}ne.prototype.destructor=function(){this.left=null,this.top=null};ie.addPoolingTo(ne,rn);var Ge=e=>{var t=e.touches,a=e.changedTouches,r=t&&t.length>0,n=a&&a.length>0;return!r&&n?a[0]:r?t[0]:e},l={NOT_RESPONDER:"NOT_RESPONDER",RESPONDER_INACTIVE_PRESS_IN:"RESPONDER_INACTIVE_PRESS_IN",RESPONDER_INACTIVE_PRESS_OUT:"RESPONDER_INACTIVE_PRESS_OUT",RESPONDER_ACTIVE_PRESS_IN:"RESPONDER_ACTIVE_PRESS_IN",RESPONDER_ACTIVE_PRESS_OUT:"RESPONDER_ACTIVE_PRESS_OUT",RESPONDER_ACTIVE_LONG_PRESS_IN:"RESPONDER_ACTIVE_LONG_PRESS_IN",RESPONDER_ACTIVE_LONG_PRESS_OUT:"RESPONDER_ACTIVE_LONG_PRESS_OUT",ERROR:"ERROR"},ge={NOT_RESPONDER:!1,RESPONDER_INACTIVE_PRESS_IN:!1,RESPONDER_INACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_PRESS_IN:!1,RESPONDER_ACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_LONG_PRESS_IN:!1,RESPONDER_ACTIVE_LONG_PRESS_OUT:!1,ERROR:!1},He=O(O({},ge),{},{RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0}),Ue=O(O({},ge),{},{RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),Ye=O(O({},ge),{},{RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),y={DELAY:"DELAY",RESPONDER_GRANT:"RESPONDER_GRANT",RESPONDER_RELEASE:"RESPONDER_RELEASE",RESPONDER_TERMINATED:"RESPONDER_TERMINATED",ENTER_PRESS_RECT:"ENTER_PRESS_RECT",LEAVE_PRESS_RECT:"LEAVE_PRESS_RECT",LONG_PRESS_DETECTED:"LONG_PRESS_DETECTED"},Fe={NOT_RESPONDER:{DELAY:l.ERROR,RESPONDER_GRANT:l.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:l.ERROR,RESPONDER_TERMINATED:l.ERROR,ENTER_PRESS_RECT:l.ERROR,LEAVE_PRESS_RECT:l.ERROR,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_INACTIVE_PRESS_IN:{DELAY:l.RESPONDER_ACTIVE_PRESS_IN,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:l.RESPONDER_ACTIVE_PRESS_OUT,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_ACTIVE_PRESS_IN:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:l.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},error:{DELAY:l.NOT_RESPONDER,RESPONDER_GRANT:l.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.NOT_RESPONDER,LEAVE_PRESS_RECT:l.NOT_RESPONDER,LONG_PRESS_DETECTED:l.NOT_RESPONDER}},ve=130,te=20,on=500,je=on-ve,sn=10,z={componentDidMount:function(){var t=this.getTouchableNode&&this.getTouchableNode();t&&t.addEventListener&&(this._touchableBlurListener=a=>{this._isTouchableKeyboardActive&&(this.state.touchable.touchState&&this.state.touchable.touchState!==l.NOT_RESPONDER&&this.touchableHandleResponderTerminate({nativeEvent:a}),this._isTouchableKeyboardActive=!1)},t.addEventListener("blur",this._touchableBlurListener))},componentWillUnmount:function(){var t=this.getTouchableNode&&this.getTouchableNode();t&&t.addEventListener&&t.removeEventListener("blur",this._touchableBlurListener),this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressInLocation=null,this.state.touchable.responderID=null},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(t){var a=t.currentTarget;t.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=l.NOT_RESPONDER,this.state.touchable.responderID=a,this._receiveSignal(y.RESPONDER_GRANT,t);var r=this.touchableGetHighlightDelayMS!==void 0?Math.max(this.touchableGetHighlightDelayMS(),0):ve;r=isNaN(r)?ve:r,r!==0?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,t),r):this._handleDelay(t);var n=this.touchableGetLongPressDelayMS!==void 0?Math.max(this.touchableGetLongPressDelayMS(),10):je;n=isNaN(n)?je:n,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,t),n+r)},touchableHandleResponderRelease:function(t){this.pressInLocation=null,this._receiveSignal(y.RESPONDER_RELEASE,t)},touchableHandleResponderTerminate:function(t){this.pressInLocation=null,this._receiveSignal(y.RESPONDER_TERMINATED,t)},touchableHandleResponderMove:function(t){if(this.state.touchable.positionOnActivate){var a=this.state.touchable.positionOnActivate,r=this.state.touchable.dimensionsOnActivate,n=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:te,right:te,top:te,bottom:te},o=n.left,s=n.top,u=n.right,c=n.bottom,d=this.touchableGetHitSlop?this.touchableGetHitSlop():null;d&&(o+=d.left||0,s+=d.top||0,u+=d.right||0,c+=d.bottom||0);var E=Ge(t.nativeEvent),h=E&&E.pageX,R=E&&E.pageY;if(this.pressInLocation){var v=this._getDistanceBetweenPoints(h,R,this.pressInLocation.pageX,this.pressInLocation.pageY);v>sn&&this._cancelLongPressDelayTimeout()}var _=h>a.left-o&&R>a.top-s&&h<a.left+r.width+u&&R<a.top+r.height+c;if(_){var S=this.state.touchable.touchState;this._receiveSignal(y.ENTER_PRESS_RECT,t);var N=this.state.touchable.touchState;N===l.RESPONDER_INACTIVE_PRESS_IN&&S!==l.RESPONDER_INACTIVE_PRESS_IN&&this._cancelLongPressDelayTimeout()}else this._cancelLongPressDelayTimeout(),this._receiveSignal(y.LEAVE_PRESS_RECT,t)}},touchableHandleFocus:function(t){this.props.onFocus&&this.props.onFocus(t)},touchableHandleBlur:function(t){this.props.onBlur&&this.props.onBlur(t)},_remeasureMetricsOnActivation:function(){var t=this.state.touchable.responderID;t!=null&&G.measure(t,this._handleQueryLayout)},_handleQueryLayout:function(t,a,r,n,o,s){!t&&!a&&!r&&!n&&!o&&!s||(this.state.touchable.positionOnActivate&&ne.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&H.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=ne.getPooled(o,s),this.state.touchable.dimensionsOnActivate=H.getPooled(r,n))},_handleDelay:function(t){this.touchableDelayTimeout=null,this._receiveSignal(y.DELAY,t)},_handleLongDelay:function(t){this.longPressDelayTimeout=null;var a=this.state.touchable.touchState;a!==l.RESPONDER_ACTIVE_PRESS_IN&&a!==l.RESPONDER_ACTIVE_LONG_PRESS_IN?console.error("Attempted to transition from state `"+a+"` to `"+l.RESPONDER_ACTIVE_LONG_PRESS_IN+"`, which is not supported. This is most likely due to `Touchable.longPressDelayTimeout` not being cancelled."):this._receiveSignal(y.LONG_PRESS_DETECTED,t)},_receiveSignal:function(t,a){var r=this.state.touchable.responderID,n=this.state.touchable.touchState,o=Fe[n]&&Fe[n][t];if(!(!r&&t===y.RESPONDER_RELEASE)){if(!o)throw new Error("Unrecognized signal `"+t+"` or state `"+n+"` for Touchable responder `"+r+"`");if(o===l.ERROR)throw new Error("Touchable cannot transition from `"+n+"` to `"+t+"` for responder `"+r+"`");n!==o&&(this._performSideEffectsForTransition(n,o,t,a),this.state.touchable.touchState=o)}},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(t){return t===l.RESPONDER_ACTIVE_PRESS_IN||t===l.RESPONDER_ACTIVE_LONG_PRESS_IN},_savePressInLocation:function(t){var a=Ge(t.nativeEvent),r=a&&a.pageX,n=a&&a.pageY,o=a&&a.locationX,s=a&&a.locationY;this.pressInLocation={pageX:r,pageY:n,locationX:o,locationY:s}},_getDistanceBetweenPoints:function(t,a,r,n){var o=t-r,s=a-n;return Math.sqrt(o*o+s*s)},_performSideEffectsForTransition:function(t,a,r,n){var o=this._isHighlight(t),s=this._isHighlight(a),u=r===y.RESPONDER_TERMINATED||r===y.RESPONDER_RELEASE;u&&this._cancelLongPressDelayTimeout();var c=t===l.NOT_RESPONDER&&a===l.RESPONDER_INACTIVE_PRESS_IN,d=!He[t]&&He[a];if((c||d)&&this._remeasureMetricsOnActivation(),Ue[t]&&r===y.LONG_PRESS_DETECTED&&this.touchableHandleLongPress&&this.touchableHandleLongPress(n),s&&!o?this._startHighlight(n):!s&&o&&this._endHighlight(n),Ue[t]&&r===y.RESPONDER_RELEASE){var E=!!this.props.onLongPress,h=Ye[t]&&(!E||!this.touchableLongPressCancelsPress()),R=!Ye[t]||h;R&&this.touchableHandlePress&&(!s&&!o&&(this._startHighlight(n),this._endHighlight(n)),this.touchableHandlePress(n))}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null},_playTouchSound:function(){G.playTouchSound()},_startHighlight:function(t){this._savePressInLocation(t),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(t)},_endHighlight:function(t){this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=setTimeout(()=>{this.touchableHandleActivePressOut(t)},this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut(t))},touchableHandleKeyEvent:function(t){var a=t.type,r=t.key;(r==="Enter"||r===" ")&&(a==="keydown"?this._isTouchableKeyboardActive||(!this.state.touchable.touchState||this.state.touchable.touchState===l.NOT_RESPONDER)&&(this.touchableHandleResponderGrant(t),this._isTouchableKeyboardActive=!0):a==="keyup"&&this._isTouchableKeyboardActive&&this.state.touchable.touchState&&this.state.touchable.touchState!==l.NOT_RESPONDER&&(this.touchableHandleResponderRelease(t),this._isTouchableKeyboardActive=!1),t.stopPropagation(),r==="Enter"&&pt.propsToAriaRole(this.props)==="link"||t.preventDefault())},withoutDefaultFocusAndBlur:{}};z.touchableHandleFocus;z.touchableHandleBlur;var ln=T(z,["touchableHandleFocus","touchableHandleBlur"]);z.withoutDefaultFocusAndBlur=ln;var dt={Mixin:z,TOUCH_TARGET_DEBUG:!1,renderDebugView:e=>{var t=e.color,a=e.hitSlop;if(!dt.TOUCH_TARGET_DEBUG)return null;var r={};a=a||{top:0,bottom:0,left:0,right:0};for(var n in a)r[n]=-a[n];var o=St(t);if(typeof o!="number")return null;var s="#"+("00000000"+o.toString(16)).substr(-8);return M.createElement(m,{pointerEvents:"none",style:O({position:"absolute",borderColor:s.slice(0,-2)+"55",borderWidth:1,borderStyle:"dashed",backgroundColor:s.slice(0,-2)+"0F"},r)})}},un=["style"];function Et(e){var t=e.style,a=T(e,un);return M.createElement(m,b({},a,{style:[cn,t]}))}var cn={},dn={accessibilityDisabled:!0,accessibilityLabel:!0,accessibilityLiveRegion:!0,accessibilityRole:!0,accessibilityState:!0,accessibilityValue:!0,children:!0,disabled:!0,focusable:!0,nativeID:!0,onBlur:!0,onFocus:!0,onLayout:!0,testID:!0},En=e=>Ut(e,dn);function hn(e,t){var a=e.delayPressIn,r=e.delayPressOut,n=e.delayLongPress,o=e.disabled,s=e.focusable,u=e.onLongPress,c=e.onPress,d=e.onPressIn,E=e.onPressOut,h=e.rejectResponderTermination,R=i.useRef(null),v=i.useMemo(()=>({cancelable:!h,disabled:o,delayLongPress:n,delayPressStart:a,delayPressEnd:r,onLongPress:u,onPress:c,onPressStart:d,onPressEnd:E}),[o,a,r,n,u,c,d,E,h]),_=Xe(R,v),S=i.Children.only(e.children),N=[S.props.children],C=En(e);C.accessibilityDisabled=o,C.focusable=!o&&s!==!1,C.ref=Se(t,R,S.ref);var se=Object.assign(C,_);return i.cloneElement(S,se,...N)}var ht=i.memo(i.forwardRef(hn));ht.displayName="TouchableWithoutFeedback";function Rt(e){return M.createElement(Et,e)}Rt.ignoreWarnings=()=>{};var Rn={ignoreLogs(){},ignoreAllLogs(){},uninstall(){},install(){}};function vn(){var e=i.useState(Ee.getColorScheme()),t=e[0],a=e[1];return i.useEffect(()=>{function r(s){a(s.colorScheme)}var n=Ee.addChangeListener(r),o=n.remove;return o}),t}const mn=Object.freeze(Object.defineProperty({__proto__:null,AccessibilityInfo:Ct,ActivityIndicator:Qe,Alert:We,Animated:It,AppRegistry:ae,AppState:Dt,Appearance:Ee,BackHandler:da,Button:et,CheckBox:tt,Clipboard:Ea,DeviceEventEmitter:Xt,Dimensions:Ot,Easing:Lt,FlatList:Mt,I18nManager:ha,Image:qe,ImageBackground:at,InteractionManager:fe,Keyboard:Ra,KeyboardAvoidingView:Ia,LayoutAnimation:va,Linking:$e,LogBox:Rn,Modal:Wa,NativeEventEmitter:Kt,NativeModules:Nt,PanResponder:V,Picker:st,PixelRatio:Gt,Platform:Be,Pressable:Bt,ProgressBar:lt,RefreshControl:wt,SafeAreaView:ut,ScrollView:kt,SectionList:Vt,Share:ga,StatusBar:Y,StyleSheet:f,Switch:Wt,Text:Ze,TextInput:$t,Touchable:dt,TouchableHighlight:qt,TouchableNativeFeedback:Et,TouchableOpacity:_e,TouchableWithoutFeedback:ht,UIManager:G,Vibration:Pa,View:m,VirtualizedList:xt,YellowBox:Rt,findNodeHandle:Pt,processColor:_t,render:Je,unmountComponentAtNode:oe,unstable_createElement:U,useColorScheme:vn,useLocaleContext:gt,useWindowDimensions:Zt},Symbol.toStringTag,{value:"Module"})),qn=ft(mn),ze=({children:e,emphasis:t,inverse:a,onPress:r,phraseVariant:n,logAction:o=Ft.buttonPress,...s})=>{const u=Yt({...s,logAction:o,onEvent:r});return Jt.jsx(Qt,{accessibilityRole:"link",color:a?"inverse":"link",emphasis:t,onPress:u,underline:!0,variant:n,...s,children:e})};try{ze.displayName="InlineLink",ze.__docgenInfo={description:"",displayName:"InlineLink",props:{emphasis:{defaultValue:null,description:"Allows the phrase to convey more emphasis.",name:"emphasis",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"strong"'}]}},inverse:{defaultValue:null,description:"",name:"inverse",required:!1,type:{name:"boolean"}},onPress:{defaultValue:null,description:`This function is called on press. -Text intrinsically supports press handling with a default highlight state (which can be disabled with suppressHighlighting).`,name:"onPress",required:!1,type:{name:"(() => void) & ((event: GestureResponderEvent) => void)"}},phraseVariant:{defaultValue:null,description:"",name:"phraseVariant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}},testID:{defaultValue:null,description:"Used to locate this view in end-to-end tests.",name:"testID",required:!1,type:{name:"string"}},color:{defaultValue:null,description:"Defines the color of the phrase. Maps with the text color tokens.",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"inverse"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"warning"'}]}},flexShrink:{defaultValue:null,description:"Defines how to shrink the phrase in case the parent container is smaller than the phrase.",name:"flexShrink",required:!1,type:{name:"number"}},"logging-label":{defaultValue:null,description:"Label used for logging to Piwik and AppInsights.",name:"logging-label",required:!1,type:{name:"string"}},textAlign:{defaultValue:null,description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"auto"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},underline:{defaultValue:null,description:"Whether the phrase is underlined. Use this for a link only.",name:"underline",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"Which variation of a phrase to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}},logAction:{defaultValue:{value:"PiwikAction.buttonPress"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial<Record<CustomDimensionKeys, string>>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const fn=e=>/^https?:\/\/([\w-.]+.)?amsterdam\.nl/.test(e),Sn=(e,t)=>{if(!fn(e))return e;const a=jt.stringify({app_from:1,app_module:t}),[r,n]=e.split("#"),o=n?`#${n}`:"",s=`${r.includes("?")?"&":"?"}${a}`;return`${r}${s}${o}`},pn=()=>{const e=aa(),{trackOutlink:t}=Ke();return i.useCallback(a=>{const r=Sn(a,zt());t(r),$e.openURL(r).catch(()=>{We.alert("Sorry, deze functie is niet beschikbaar."),e(na.openWebUrl,"useOpenWebUrl.ts",{url:a})})},[e,t])},Xn=()=>{const e=ea(),t=ta(),a=pn(),{trackOutlink:r}=Ke();return i.useCallback(n=>{if(r(n),n.startsWith("mailto:")){const[o,s]=n.substring(7).split("?subject=");e(o,s);return}if(n.startsWith("tel:")){t(n.substring(4));return}a(n)},[e,t,a,r])};export{ze as I,Ra as K,va as L,Wa as M,Y as S,Et as U,Rn as a,Xn as b,Ia as c,ha as d,qn as r,pn as u}; +import{a as ft}from"./_commonjsHelpers-BosuxZz1.js";import{e as re,c as A,s as f,_ as T,a as U,b as O,n as St,A as pt,p as _t,u as gt}from"./index-kbHxBZ_W.js";import{f as Pt}from"./index-DEfxrPnc.js";import{r as me,F as yt}from"./index-DFkxGuuM.js";import{h as Tt,c as bt}from"./client-BGlHIwA3.js";import{i as L,P as Be,D as Ot,N as Nt}from"./index-DSI0shHu.js";import{A as Ct}from"./index-CDv7s-w8.js";import{A as We,L as $e}from"./index-Ce74jbsy.js";import{_ as b}from"./extends-CF3RwP-h.js";import{r as i,R as M}from"./index-mfbfsM12.js";import{V as m}from"./index-BP1Ij_Cs.js";import{A as Dt}from"./index-CkqLweLe.js";import{d as At,I as fe,A as It,E as Lt,F as Mt,R as wt,a as kt,S as Vt,V as xt}from"./Animated-CFNSbqHF.js";import{I as qe,P as Gt}from"./index-2SHDvLR_.js";import{U as G,g as Se,e as Ht,p as Ut}from"./TextAncestorContext-Dg3XKfar.js";import{c as Xe,u as Yt,a as Ft,m as jt,b as Ke,g as zt}from"./usePiwikTrackCustomEventFromProps-CT_KpUEz.js";import{T as Ze}from"./index-CAyeAlm6.js";import{M as Bt}from"./index-CIcog7m4.js";import{S as Wt}from"./index-k6NSpe5t.js";import{T as $t}from"./index-DZxzYa9i.js";import{M as qt}from"./index-BW2XZOZc.js";import{R as Xt,N as Kt}from"./NativeEventEmitter-MQ3wzVGe.js";import{u as Zt}from"./index-BXDkY5MO.js";import{j as Jt}from"./jsx-runtime-Bxcv0yjW.js";import{P as Qt}from"./Phrase-FY7SqhHh.js";import{u as ea}from"./useOpenMailUrl-Blrf_PL9.js";import{u as ta}from"./useOpenPhoneUrl-TB9t0oDt.js";import{u as aa,E as na}from"./useTrackException-Cm6KdDpO.js";const oe=me.unmountComponentAtNode;function ra(e,t){return re(t),Tt(t,e)}function oa(e,t){re(t);var a=bt(t);return a.render(e),a}function ia(e,t,a){return re(t),me.hydrate(e,t,a),{unmount:function(){return oe(t)}}}function Je(e,t,a){return re(t),me.render(e,t,a),{unmount:function(){return oe(t)}}}function sa(){return A&&window.matchMedia!=null?window.matchMedia("(prefers-color-scheme: dark)"):null}var k=sa(),$=new WeakMap,Ee={getColorScheme(){return k&&k.matches?"dark":"light"},addChangeListener(e){var t=$.get(e);t||(t=r=>{var n=r.matches;e({colorScheme:n?"dark":"light"})},$.set(e,t)),k&&k.addListener(t);function a(){var r=$.get(e);k&&r&&k.removeListener(r),$.delete(e)}return{remove:a}}},la=i.createContext(null),pe=i.forwardRef((e,t)=>{var a=e.children,r=e.WrapperComponent,n=i.createElement(m,{children:a,key:1,style:Ce.appContainer});return r&&(n=i.createElement(r,null,n)),i.createElement(la.Provider,{value:e.rootTag},i.createElement(m,{ref:t,style:Ce.appContainer},n))});pe.displayName="AppContainer";var Ce=f.create({appContainer:{flex:1,pointerEvents:"box-none"}});function ua(e,t,a,r){var n=r.hydrate,o=r.initialProps,s=r.mode,u=r.rootTag,c=n?s==="concurrent"?ra:ia:s==="concurrent"?oa:Je;return L(u,"Expect to have a valid rootTag, instead got ",u),c(M.createElement(pe,{WrapperComponent:t,ref:a,rootTag:u},M.createElement(e,o)),u)}function ca(e,t,a){var r=M.createElement(pe,{WrapperComponent:a,rootTag:{}},M.createElement(e,t)),n=o=>{var s=f.getSheet();return M.createElement("style",b({},o,{dangerouslySetInnerHTML:{__html:s.textContent},id:s.id}))};return{element:r,getStyleElement:n}}var De={},D={},le=e=>e(),F;class ae{static getAppKeys(){return Object.keys(D)}static getApplication(t,a){return L(D[t]&&D[t].getApplication,"Application "+t+" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent."),D[t].getApplication(a)}static registerComponent(t,a){return D[t]={getApplication:r=>ca(le(a),r?r.initialProps:De,F&&F(r)),run:r=>ua(le(a),F&&F(r),r.callback,{hydrate:r.hydrate||!1,initialProps:r.initialProps||De,mode:r.mode||"concurrent",rootTag:r.rootTag})},t}static registerConfig(t){t.forEach(a=>{var r=a.appKey,n=a.component,o=a.run;o?ae.registerRunnable(r,o):(L(n,"No component provider passed in"),ae.registerComponent(r,n))})}static registerRunnable(t,a){return D[t]={run:a},t}static runApplication(t,a){return L(D[t]&&D[t].run,'Application "'+t+'" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.'),D[t].run(a)}static setComponentProviderInstrumentationHook(t){le=t}static setWrapperComponentProvider(t){F=t}static unmountApplicationComponentAtRootTag(t){oe(t)}}function ue(){}var da={exitApp:ue,addEventListener(){return console.error("BackHandler is not supported on web and should not be used."),{remove:ue}},removeEventListener:ue},ce;class Ea{static isAvailable(){return ce===void 0&&(ce=typeof document.queryCommandSupported=="function"&&document.queryCommandSupported("copy")),ce}static getString(){return Promise.resolve("")}static setString(t){var a=!1,r=document.body;if(r){var n=document.createElement("span");n.textContent=t,n.style.opacity="0",n.style.position="absolute",n.style.whiteSpace="pre-wrap",n.style.userSelect="auto",r.appendChild(n);var o=window.getSelection();o.removeAllRanges();var s=document.createRange();s.selectNodeContents(n),o.addRange(s);try{document.execCommand("copy"),a=!0}catch{}o.removeAllRanges(),r.removeChild(n)}return a}}var ha={allowRTL(){},forceRTL(){},getConstants(){return{isRTL:!1}}},Ra={isVisible(){return!1},addListener(){return{remove:()=>{}}},dismiss(){At()},removeAllListeners(){},removeListener(){}};function q(e,t){Be.isTesting||G.configureNextLayoutAnimation(e,t??function(){},function(){})}function he(e,t,a){return{duration:e,create:{type:t,property:a},update:{type:t},delete:{type:t,property:a}}}var X={easeInEaseOut:he(300,"easeInEaseOut","opacity"),linear:he(500,"linear","opacity"),spring:{duration:700,create:{type:"linear",property:"opacity"},update:{type:"spring",springDamping:.4},delete:{type:"linear",property:"opacity"}}},va={configureNext:q,create:he,Types:Object.freeze({spring:"spring",linear:"linear",easeInEaseOut:"easeInEaseOut",easeIn:"easeIn",easeOut:"easeOut",keyboard:"keyboard"}),Properties:Object.freeze({opacity:"opacity",scaleX:"scaleX",scaleY:"scaleY",scaleXY:"scaleXY"}),checkConfig(){console.error("LayoutAnimation.checkConfig(...) has been disabled.")},Presets:X,easeInEaseOut:q.bind(null,X.easeInEaseOut),linear:q.bind(null,X.linear),spring:q.bind(null,X.spring)},g={centroidDimension:function(t,a,r,n){var o=t.touchBank,s=0,u=0,c=t.numberActiveTouches===1?t.touchBank[t.indexOfSingleActiveTouch]:null;if(c!==null)c.touchActive&&c.currentTimeStamp>a&&(s+=n&&r?c.currentPageX:n&&!r?c.currentPageY:!n&&r?c.previousPageX:c.previousPageY,u=1);else for(var d=0;d<o.length;d++){var E=o[d];if(E!=null&&E.touchActive&&E.currentTimeStamp>=a){var h=void 0;n&&r?h=E.currentPageX:n&&!r?h=E.currentPageY:!n&&r?h=E.previousPageX:h=E.previousPageY,s+=h,u++}}return u>0?s/u:g.noCentroid},currentCentroidXOfTouchesChangedAfter:function(t,a){return g.centroidDimension(t,a,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(t,a){return g.centroidDimension(t,a,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(t,a){return g.centroidDimension(t,a,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(t,a){return g.centroidDimension(t,a,!1,!1)},currentCentroidX:function(t){return g.centroidDimension(t,0,!0,!0)},currentCentroidY:function(t){return g.centroidDimension(t,0,!1,!0)},noCentroid:-1},Ae=g.currentCentroidXOfTouchesChangedAfter,Ie=g.currentCentroidYOfTouchesChangedAfter,ma=g.previousCentroidXOfTouchesChangedAfter,fa=g.previousCentroidYOfTouchesChangedAfter,Sa=g.currentCentroidX,pa=g.currentCentroidY,V={_initializeGestureState(e){e.moveX=0,e.moveY=0,e.x0=0,e.y0=0,e.dx=0,e.dy=0,e.vx=0,e.vy=0,e.numberActiveTouches=0,e._accountsForMovesUpTo=0},_updateGestureStateOnMove(e,t){e.numberActiveTouches=t.numberActiveTouches,e.moveX=Ae(t,e._accountsForMovesUpTo),e.moveY=Ie(t,e._accountsForMovesUpTo);var a=e._accountsForMovesUpTo,r=ma(t,a),n=Ae(t,a),o=fa(t,a),s=Ie(t,a),u=e.dx+(n-r),c=e.dy+(s-o),d=t.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(u-e.dx)/d,e.vy=(c-e.dy)/d,e.dx=u,e.dy=c,e._accountsForMovesUpTo=t.mostRecentTimeStamp},create(e){var t={handle:null,shouldCancelClick:!1,timeout:null},a={stateID:Math.random(),moveX:0,moveY:0,x0:0,y0:0,dx:0,dy:0,vx:0,vy:0,numberActiveTouches:0,_accountsForMovesUpTo:0},r={onStartShouldSetResponder(n){return e.onStartShouldSetPanResponder==null?!1:e.onStartShouldSetPanResponder(n,a)},onMoveShouldSetResponder(n){return e.onMoveShouldSetPanResponder==null?!1:e.onMoveShouldSetPanResponder(n,a)},onStartShouldSetResponderCapture(n){return n.nativeEvent.touches.length===1&&V._initializeGestureState(a),a.numberActiveTouches=n.touchHistory.numberActiveTouches,e.onStartShouldSetPanResponderCapture!=null?e.onStartShouldSetPanResponderCapture(n,a):!1},onMoveShouldSetResponderCapture(n){var o=n.touchHistory;return a._accountsForMovesUpTo===o.mostRecentTimeStamp?!1:(V._updateGestureStateOnMove(a,o),e.onMoveShouldSetPanResponderCapture?e.onMoveShouldSetPanResponderCapture(n,a):!1)},onResponderGrant(n){return t.handle||(t.handle=fe.createInteractionHandle()),t.timeout&&_a(t),t.shouldCancelClick=!0,a.x0=Sa(n.touchHistory),a.y0=pa(n.touchHistory),a.dx=0,a.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(n,a),e.onShouldBlockNativeResponder==null?!0:e.onShouldBlockNativeResponder(n,a)},onResponderReject(n){K(t,e.onPanResponderReject,n,a)},onResponderRelease(n){K(t,e.onPanResponderRelease,n,a),Le(t),V._initializeGestureState(a)},onResponderStart(n){var o=n.touchHistory;a.numberActiveTouches=o.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(n,a)},onResponderMove(n){var o=n.touchHistory;a._accountsForMovesUpTo!==o.mostRecentTimeStamp&&(V._updateGestureStateOnMove(a,o),e.onPanResponderMove&&e.onPanResponderMove(n,a))},onResponderEnd(n){var o=n.touchHistory;a.numberActiveTouches=o.numberActiveTouches,K(t,e.onPanResponderEnd,n,a)},onResponderTerminate(n){K(t,e.onPanResponderTerminate,n,a),Le(t),V._initializeGestureState(a)},onResponderTerminationRequest(n){return e.onPanResponderTerminationRequest==null?!0:e.onPanResponderTerminationRequest(n,a)},onClickCapture:n=>{t.shouldCancelClick===!0&&(n.stopPropagation(),n.preventDefault())}};return{panHandlers:r,getInteractionHandle(){return t.handle}}}};function K(e,t,a,r){e.handle&&(fe.clearInteractionHandle(e.handle),e.handle=null),t&&t(a,r)}function _a(e){clearTimeout(e.timeout)}function Le(e){e.timeout=setTimeout(()=>{e.shouldCancelClick=!1},250)}class ga{static share(t,a){return a===void 0&&(a={}),L(typeof t=="object"&&t!==null,"Content to share must be a valid object"),L(typeof t.url=="string"||typeof t.message=="string","At least one of URL and message is required"),L(typeof a=="object"&&a!==null,"Options must be a valid object"),L(!t.title||typeof t.title=="string","Invalid title: title should be a string."),window.navigator.share!==void 0?window.navigator.share({title:t.title,text:t.message,url:t.url}):Promise.reject(new Error("Share is not supported in this browser"))}static get sharedAction(){return"sharedAction"}static get dismissedAction(){return"dismissedAction"}}var Me=e=>{"vibrate"in window.navigator&&window.navigator.vibrate(e)},Pa={cancel(){Me(0)},vibrate(e){e===void 0&&(e=400),Me(e)}},ya=["animating","color","hidesWhenStopped","size","style"],we=e=>i.createElement("circle",{cx:"16",cy:"16",fill:"none",r:"14",strokeWidth:"4",style:e}),Qe=i.forwardRef((e,t)=>{var a=e.animating,r=a===void 0?!0:a,n=e.color,o=n===void 0?"#1976D2":n,s=e.hidesWhenStopped,u=s===void 0?!0:s,c=e.size,d=c===void 0?"small":c,E=e.style,h=T(e,ya),R=i.createElement("svg",{height:"100%",viewBox:"0 0 32 32",width:"100%"},we({stroke:o,opacity:.2}),we({stroke:o,strokeDasharray:80,strokeDashoffset:60}));return i.createElement(m,b({},h,{"aria-valuemax":1,"aria-valuemin":0,ref:t,role:"progressbar",style:[Z.container,E]}),i.createElement(m,{children:R,style:[typeof d=="number"?{height:d,width:d}:Ta[d],Z.animation,!r&&Z.animationPause,!r&&u&&Z.hidesWhenStopped]}))});Qe.displayName="ActivityIndicator";var Z=f.create({container:{alignItems:"center",justifyContent:"center"},hidesWhenStopped:{visibility:"hidden"},animation:{animationDuration:"0.75s",animationKeyframes:[{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"},animationPause:{animationPlayState:"paused"}}),Ta=f.create({small:{width:20,height:20},large:{width:36,height:36}}),ba=["activeOpacity","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onLongPress","onPress","onPressIn","onPressOut","rejectResponderTermination","style"];function Oa(e,t){var a=e.activeOpacity,r=e.delayPressIn,n=e.delayPressOut,o=e.delayLongPress,s=e.disabled,u=e.focusable,c=e.onLongPress,d=e.onPress,E=e.onPressIn,h=e.onPressOut,R=e.rejectResponderTermination,v=e.style,_=T(e,ba),S=i.useRef(null),N=Se(t,S),C=i.useState("0s"),se=C[0],Pe=C[1],ye=i.useState(null),Te=ye[0],be=ye[1],B=i.useCallback((P,W)=>{be(P),Pe(W?W/1e3+"s":"0s")},[be,Pe]),Oe=i.useCallback(P=>{B(a??.2,P)},[a,B]),Ne=i.useCallback(P=>{B(null,P)},[B]),vt=i.useMemo(()=>({cancelable:!R,disabled:s,delayLongPress:o,delayPressStart:r,delayPressEnd:n,onLongPress:c,onPress:d,onPressStart(P){var W=P.dispatchConfig!=null?P.dispatchConfig.registrationName==="onResponderGrant":P.type==="keydown";Oe(W?0:150),E!=null&&E(P)},onPressEnd(P){Ne(250),h!=null&&h(P)}}),[o,r,n,s,c,d,E,h,R,Oe,Ne]),mt=Xe(S,vt);return i.createElement(m,b({},_,mt,{accessibilityDisabled:s,focusable:!s&&u!==!1,pointerEvents:s?"box-none":void 0,ref:N,style:[ke.root,!s&&ke.actionable,v,Te!=null&&{opacity:Te},{transitionDuration:se}]}))}var ke=f.create({root:{transitionProperty:"opacity",transitionDuration:"0.15s",userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}}),_e=i.memo(i.forwardRef(Oa));_e.displayName="TouchableOpacity";var et=i.forwardRef((e,t)=>{var a=e.accessibilityLabel,r=e.color,n=e.disabled,o=e.onPress,s=e.testID,u=e.title;return i.createElement(_e,{accessibilityLabel:a,accessibilityRole:"button",disabled:n,focusable:!n,onPress:o,ref:t,style:[J.button,r&&{backgroundColor:r},n&&J.buttonDisabled],testID:s},i.createElement(Ze,{style:[J.text,n&&J.textDisabled]},u))});et.displayName="Button";var J=f.create({button:{backgroundColor:"#2196F3",borderRadius:2},text:{color:"#fff",fontWeight:"500",padding:8,textAlign:"center",textTransform:"uppercase"},buttonDisabled:{backgroundColor:"#dfdfdf"},textDisabled:{color:"#a1a1a1"}}),Na=["aria-readonly","color","disabled","onChange","onValueChange","readOnly","style","value"],tt=i.forwardRef((e,t)=>{var a=e["aria-readonly"],r=e.color,n=e.disabled,o=e.onChange,s=e.onValueChange,u=e.readOnly,c=e.style,d=e.value,E=T(e,Na);function h(_){var S=_.nativeEvent.target.checked;_.nativeEvent.value=S,o&&o(_),s&&s(S)}var R=i.createElement(m,{style:[I.fakeControl,d&&I.fakeControlChecked,d&&r&&{backgroundColor:r,borderColor:r},n&&I.fakeControlDisabled,d&&n&&I.fakeControlCheckedAndDisabled]}),v=U("input",{checked:d,disabled:n,onChange:h,readOnly:u===!0||a===!0||E.accessibilityReadOnly===!0,ref:t,style:[I.nativeControl,I.cursorInherit],type:"checkbox"});return i.createElement(m,b({},E,{"aria-disabled":n,"aria-readonly":a,style:[I.root,c,n&&I.cursorDefault]}),R,v)});tt.displayName="CheckBox";var I=f.create({root:{cursor:"pointer",height:16,userSelect:"none",width:16},cursorDefault:{cursor:"default"},cursorInherit:{cursor:"inherit"},fakeControl:{alignItems:"center",backgroundColor:"#fff",borderColor:"#657786",borderRadius:2,borderStyle:"solid",borderWidth:2,height:"100%",justifyContent:"center",width:"100%"},fakeControlChecked:{backgroundColor:"#009688",backgroundImage:'url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K")',backgroundRepeat:"no-repeat",borderColor:"#009688"},fakeControlDisabled:{borderColor:"#CCD6DD"},fakeControlCheckedAndDisabled:{backgroundColor:"#AAB8C2",borderColor:"#AAB8C2"},nativeControl:O(O({},f.absoluteFillObject),{},{height:"100%",margin:0,appearance:"none",padding:0,width:"100%"})}),Ca=["children","style","imageStyle","imageRef"],Da={},at=i.forwardRef((e,t)=>{var a=e.children,r=e.style,n=r===void 0?Da:r,o=e.imageStyle,s=e.imageRef,u=T(e,Ca),c=f.flatten(n),d=c.height,E=c.width;return i.createElement(m,{ref:t,style:n},i.createElement(qe,b({},u,{ref:s,style:[{width:E,height:d,zIndex:-1},f.absoluteFill,o]})),a)});at.displayName="ImageBackground";var Aa=["behavior","contentContainerStyle","keyboardVerticalOffset"];class Ia extends i.Component{constructor(){super(...arguments),this.frame=null,this.onLayout=t=>{this.frame=t.nativeEvent.layout}}relativeKeyboardHeight(t){var a=this.frame;if(!a||!t)return 0;var r=t.screenY-(this.props.keyboardVerticalOffset||0);return Math.max(a.y+a.height-r,0)}onKeyboardChange(t){}render(){var t=this.props;t.behavior,t.contentContainerStyle,t.keyboardVerticalOffset;var a=T(t,Aa);return i.createElement(m,b({onLayout:this.onLayout},a))}}function La(e){var t=e.children,a=i.useRef(null);if(A&&!a.current){var r=document.createElement("div");r&&document.body&&(document.body.appendChild(r),a.current=r)}return i.useEffect(()=>{if(A)return()=>{document.body&&a.current&&(document.body.removeChild(a.current),a.current=null)}},[]),a.current&&A?yt.createPortal(t,a.current):null}var Ve=300;function Ma(e,t){return e==="slide"?t?ka:Va:e==="fade"?t?xa:Ga:t?p.container:p.hidden}function wa(e){var t=e.animationType,a=e.children,r=e.onDismiss,n=e.onShow,o=e.visible,s=i.useState(!1),u=s[0],c=s[1],d=i.useRef(!1),E=i.useRef(!1),h=t&&t!=="none",R=i.useCallback(v=>{v&&v.currentTarget!==v.target||(o?n&&n():c(!1))},[n,o]);return i.useEffect(()=>{E.current&&!u&&r&&r(),E.current=u},[u,r]),i.useEffect(()=>{o&&c(!0),o!==d.current&&!h&&R(),d.current=o},[h,o,R]),u||o?U("div",{style:u?Ma(t,o):p.hidden,onAnimationEnd:R,children:a}):null}var p=f.create({container:{position:"fixed",top:0,right:0,bottom:0,left:0,zIndex:9999},animatedIn:{animationDuration:Ve+"ms",animationTimingFunction:"ease-in"},animatedOut:{pointerEvents:"none",animationDuration:Ve+"ms",animationTimingFunction:"ease-out"},fadeIn:{opacity:1,animationKeyframes:{"0%":{opacity:0},"100%":{opacity:1}}},fadeOut:{opacity:0,animationKeyframes:{"0%":{opacity:1},"100%":{opacity:0}}},slideIn:{transform:"translateY(0%)",animationKeyframes:{"0%":{transform:"translateY(100%)"},"100%":{transform:"translateY(0%)"}}},slideOut:{transform:"translateY(100%)",animationKeyframes:{"0%":{transform:"translateY(0%)"},"100%":{transform:"translateY(100%)"}}},hidden:{opacity:0}}),ka=[p.container,p.animatedIn,p.slideIn],Va=[p.container,p.animatedOut,p.slideOut],xa=[p.container,p.animatedIn,p.fadeIn],Ga=[p.container,p.animatedOut,p.fadeOut],Ha=["active","children","onRequestClose","transparent"],Ua=i.forwardRef((e,t)=>{var a=e.active,r=e.children,n=e.onRequestClose,o=e.transparent,s=T(e,Ha);i.useEffect(()=>{if(A){var c=d=>{a&&d.key==="Escape"&&(d.stopPropagation(),n&&n())};return document.addEventListener("keyup",c,!1),()=>document.removeEventListener("keyup",c,!1)}},[a,n]);var u=i.useMemo(()=>[Q.modal,o?Q.modalTransparent:Q.modalOpaque],[o]);return i.createElement(m,b({},s,{"aria-modal":!0,ref:t,role:a?"dialog":null,style:u}),i.createElement(m,{style:Q.container},r))}),Q=f.create({modal:{position:"fixed",top:0,right:0,bottom:0,left:0},modalTransparent:{backgroundColor:"transparent"},modalOpaque:{backgroundColor:"white"},container:{top:0,flex:1}}),xe=()=>U("div",{role:"none",tabIndex:0,style:Fa.focusBracket});function nt(e){if(!A)return!1;try{e.focus()}catch{}return document.activeElement===e}function rt(e){for(var t=0;t<e.childNodes.length;t++){var a=e.childNodes[t];if(nt(a)||rt(a))return!0}return!1}function ot(e){for(var t=e.childNodes.length-1;t>=0;t--){var a=e.childNodes[t];if(nt(a)||ot(a))return!0}return!1}var Ya=e=>{var t=e.active,a=e.children,r=i.useRef(),n=i.useRef({trapFocusInProgress:!1,lastFocusedElement:null});return i.useEffect(()=>{if(A){var o=()=>{if(!(r.current==null||n.current.trapFocusInProgress||!t)){try{if(n.current.trapFocusInProgress=!0,document.activeElement instanceof Node&&!r.current.contains(document.activeElement)){var s=rt(r.current);n.current.lastFocusedElement===document.activeElement&&(s=ot(r.current)),!s&&r.current!=null&&document.activeElement&&G.focus(r.current)}}finally{n.current.trapFocusInProgress=!1}n.current.lastFocusedElement=document.activeElement}};return o(),document.addEventListener("focus",o,!0),()=>document.removeEventListener("focus",o,!0)}},[t]),i.useEffect(function(){if(A){var o=document.activeElement;return function(){o&&document.contains(o)&&G.focus(o)}}},[]),i.createElement(i.Fragment,null,i.createElement(xe,null),i.createElement(m,{ref:r},a),i.createElement(xe,null))},Fa=f.create({focusBracket:{outlineStyle:"none"}}),ja=["animationType","children","onDismiss","onRequestClose","onShow","transparent","visible"],za=0,w=[],x={};function it(){if(w.length!==0){var e=w[w.length-1];w.forEach(t=>{t in x&&x[t](t===e)})}}function Re(e){e in x&&(x[e](!1),delete x[e]);var t=w.indexOf(e);t!==-1&&(w.splice(t,1),it())}function Ba(e,t){Re(e),w.push(e),x[e]=t,it()}var Wa=i.forwardRef((e,t)=>{var a=e.animationType,r=e.children,n=e.onDismiss,o=e.onRequestClose,s=e.onShow,u=e.transparent,c=e.visible,d=c===void 0?!0:c,E=T(e,ja),h=i.useMemo(()=>za++,[]),R=i.useState(!1),v=R[0],_=R[1],S=i.useCallback(()=>{Re(h),n&&n()},[h,n]),N=i.useCallback(()=>{Ba(h,_),s&&s()},[h,s]);return i.useEffect(()=>()=>Re(h),[h]),i.createElement(La,null,i.createElement(wa,{animationType:a,onDismiss:S,onShow:N,visible:d},i.createElement(Ya,{active:v},i.createElement(Ua,b({},E,{active:v,onRequestClose:o,ref:t,transparent:u}),r))))});function $a(e){var t=e.color,a=e.label,r=e.testID,n=e.value,o={color:t};return U("option",{children:a,style:o,testID:r,value:n})}var qa=["children","enabled","onValueChange","selectedValue","style","testID","itemStyle","mode","prompt"],st=i.forwardRef((e,t)=>{var a=e.children,r=e.enabled,n=e.onValueChange,o=e.selectedValue,s=e.style,u=e.testID;e.itemStyle,e.mode,e.prompt;var c=T(e,qa),d=i.useRef(null);function E(_){var S=_.target,N=S.selectedIndex,C=S.value;n&&n(C,N)}var h=O({children:a,disabled:r===!1?!0:void 0,onChange:E,style:[Xa.initial,s],testID:u,value:o},c),R=Ht(h),v=Se(d,R,t);return h.ref=v,U("select",h)});st.Item=$a;var Xa=f.create({initial:{fontFamily:"System",fontSize:"inherit",margin:0}}),Ka=["color","indeterminate","progress","trackColor","style"],lt=i.forwardRef((e,t)=>{var a=e.color,r=a===void 0?"#1976D2":a,n=e.indeterminate,o=n===void 0?!1:n,s=e.progress,u=s===void 0?0:s,c=e.trackColor,d=c===void 0?"transparent":c,E=e.style,h=T(e,Ka),R=u*100,v=o?"25%":R+"%";return i.createElement(m,b({},h,{"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":o?null:R,ref:t,role:"progressbar",style:[de.track,E,{backgroundColor:d}]}),i.createElement(m,{style:[{backgroundColor:r,width:v},de.progress,o&&de.animation]}))});lt.displayName="ProgressBar";var de=f.create({track:{forcedColorAdjust:"none",height:5,overflow:"hidden",userSelect:"none",zIndex:0},progress:{forcedColorAdjust:"none",height:"100%",zIndex:-1},animation:{animationDuration:"1s",animationKeyframes:[{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(400%)"}}],animationTimingFunction:"linear",animationIterationCount:"infinite"}}),Za=["style"],ee=function(){return A&&window.CSS&&window.CSS.supports&&window.CSS.supports("top: constant(safe-area-inset-top)")?"constant":"env"}(),ut=i.forwardRef((e,t)=>{var a=e.style,r=T(e,Za);return i.createElement(m,b({},r,{ref:t,style:[Ja.root,a]}))});ut.displayName="SafeAreaView";var Ja=f.create({root:{paddingTop:ee+"(safe-area-inset-top)",paddingRight:ee+"(safe-area-inset-right)",paddingBottom:ee+"(safe-area-inset-bottom)",paddingLeft:ee+"(safe-area-inset-left)"}}),j=()=>{};function Y(){return null}Y.setBackgroundColor=j;Y.setBarStyle=j;Y.setHidden=j;Y.setNetworkActivityIndicatorVisible=j;Y.setTranslucent=j;var ct=function(t,a){var r=this;if(r.instancePool.length){var n=r.instancePool.pop();return r.call(n,t,a),n}else return new r(t,a)},Qa=function(t){var a=this;t.destructor(),a.instancePool.length<a.poolSize&&a.instancePool.push(t)},en=10,tn=ct,an=function(t,a){var r=t;return r.instancePool=[],r.getPooled=a||tn,r.poolSize||(r.poolSize=en),r.release=Qa,r},ie={addPoolingTo:an,twoArgumentPooler:ct},nn=ie.twoArgumentPooler;function H(e,t){this.width=e,this.height=t}H.prototype.destructor=function(){this.width=null,this.height=null};H.getPooledFromElement=function(e){return H.getPooled(e.offsetWidth,e.offsetHeight)};ie.addPoolingTo(H,nn);var rn=ie.twoArgumentPooler;function ne(e,t){this.left=e,this.top=t}ne.prototype.destructor=function(){this.left=null,this.top=null};ie.addPoolingTo(ne,rn);var Ge=e=>{var t=e.touches,a=e.changedTouches,r=t&&t.length>0,n=a&&a.length>0;return!r&&n?a[0]:r?t[0]:e},l={NOT_RESPONDER:"NOT_RESPONDER",RESPONDER_INACTIVE_PRESS_IN:"RESPONDER_INACTIVE_PRESS_IN",RESPONDER_INACTIVE_PRESS_OUT:"RESPONDER_INACTIVE_PRESS_OUT",RESPONDER_ACTIVE_PRESS_IN:"RESPONDER_ACTIVE_PRESS_IN",RESPONDER_ACTIVE_PRESS_OUT:"RESPONDER_ACTIVE_PRESS_OUT",RESPONDER_ACTIVE_LONG_PRESS_IN:"RESPONDER_ACTIVE_LONG_PRESS_IN",RESPONDER_ACTIVE_LONG_PRESS_OUT:"RESPONDER_ACTIVE_LONG_PRESS_OUT",ERROR:"ERROR"},ge={NOT_RESPONDER:!1,RESPONDER_INACTIVE_PRESS_IN:!1,RESPONDER_INACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_PRESS_IN:!1,RESPONDER_ACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_LONG_PRESS_IN:!1,RESPONDER_ACTIVE_LONG_PRESS_OUT:!1,ERROR:!1},He=O(O({},ge),{},{RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0}),Ue=O(O({},ge),{},{RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),Ye=O(O({},ge),{},{RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),y={DELAY:"DELAY",RESPONDER_GRANT:"RESPONDER_GRANT",RESPONDER_RELEASE:"RESPONDER_RELEASE",RESPONDER_TERMINATED:"RESPONDER_TERMINATED",ENTER_PRESS_RECT:"ENTER_PRESS_RECT",LEAVE_PRESS_RECT:"LEAVE_PRESS_RECT",LONG_PRESS_DETECTED:"LONG_PRESS_DETECTED"},Fe={NOT_RESPONDER:{DELAY:l.ERROR,RESPONDER_GRANT:l.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:l.ERROR,RESPONDER_TERMINATED:l.ERROR,ENTER_PRESS_RECT:l.ERROR,LEAVE_PRESS_RECT:l.ERROR,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_INACTIVE_PRESS_IN:{DELAY:l.RESPONDER_ACTIVE_PRESS_IN,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:l.RESPONDER_ACTIVE_PRESS_OUT,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_ACTIVE_PRESS_IN:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:l.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},error:{DELAY:l.NOT_RESPONDER,RESPONDER_GRANT:l.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.NOT_RESPONDER,LEAVE_PRESS_RECT:l.NOT_RESPONDER,LONG_PRESS_DETECTED:l.NOT_RESPONDER}},ve=130,te=20,on=500,je=on-ve,sn=10,z={componentDidMount:function(){var t=this.getTouchableNode&&this.getTouchableNode();t&&t.addEventListener&&(this._touchableBlurListener=a=>{this._isTouchableKeyboardActive&&(this.state.touchable.touchState&&this.state.touchable.touchState!==l.NOT_RESPONDER&&this.touchableHandleResponderTerminate({nativeEvent:a}),this._isTouchableKeyboardActive=!1)},t.addEventListener("blur",this._touchableBlurListener))},componentWillUnmount:function(){var t=this.getTouchableNode&&this.getTouchableNode();t&&t.addEventListener&&t.removeEventListener("blur",this._touchableBlurListener),this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressInLocation=null,this.state.touchable.responderID=null},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(t){var a=t.currentTarget;t.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=l.NOT_RESPONDER,this.state.touchable.responderID=a,this._receiveSignal(y.RESPONDER_GRANT,t);var r=this.touchableGetHighlightDelayMS!==void 0?Math.max(this.touchableGetHighlightDelayMS(),0):ve;r=isNaN(r)?ve:r,r!==0?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,t),r):this._handleDelay(t);var n=this.touchableGetLongPressDelayMS!==void 0?Math.max(this.touchableGetLongPressDelayMS(),10):je;n=isNaN(n)?je:n,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,t),n+r)},touchableHandleResponderRelease:function(t){this.pressInLocation=null,this._receiveSignal(y.RESPONDER_RELEASE,t)},touchableHandleResponderTerminate:function(t){this.pressInLocation=null,this._receiveSignal(y.RESPONDER_TERMINATED,t)},touchableHandleResponderMove:function(t){if(this.state.touchable.positionOnActivate){var a=this.state.touchable.positionOnActivate,r=this.state.touchable.dimensionsOnActivate,n=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:te,right:te,top:te,bottom:te},o=n.left,s=n.top,u=n.right,c=n.bottom,d=this.touchableGetHitSlop?this.touchableGetHitSlop():null;d&&(o+=d.left||0,s+=d.top||0,u+=d.right||0,c+=d.bottom||0);var E=Ge(t.nativeEvent),h=E&&E.pageX,R=E&&E.pageY;if(this.pressInLocation){var v=this._getDistanceBetweenPoints(h,R,this.pressInLocation.pageX,this.pressInLocation.pageY);v>sn&&this._cancelLongPressDelayTimeout()}var _=h>a.left-o&&R>a.top-s&&h<a.left+r.width+u&&R<a.top+r.height+c;if(_){var S=this.state.touchable.touchState;this._receiveSignal(y.ENTER_PRESS_RECT,t);var N=this.state.touchable.touchState;N===l.RESPONDER_INACTIVE_PRESS_IN&&S!==l.RESPONDER_INACTIVE_PRESS_IN&&this._cancelLongPressDelayTimeout()}else this._cancelLongPressDelayTimeout(),this._receiveSignal(y.LEAVE_PRESS_RECT,t)}},touchableHandleFocus:function(t){this.props.onFocus&&this.props.onFocus(t)},touchableHandleBlur:function(t){this.props.onBlur&&this.props.onBlur(t)},_remeasureMetricsOnActivation:function(){var t=this.state.touchable.responderID;t!=null&&G.measure(t,this._handleQueryLayout)},_handleQueryLayout:function(t,a,r,n,o,s){!t&&!a&&!r&&!n&&!o&&!s||(this.state.touchable.positionOnActivate&&ne.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&H.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=ne.getPooled(o,s),this.state.touchable.dimensionsOnActivate=H.getPooled(r,n))},_handleDelay:function(t){this.touchableDelayTimeout=null,this._receiveSignal(y.DELAY,t)},_handleLongDelay:function(t){this.longPressDelayTimeout=null;var a=this.state.touchable.touchState;a!==l.RESPONDER_ACTIVE_PRESS_IN&&a!==l.RESPONDER_ACTIVE_LONG_PRESS_IN?console.error("Attempted to transition from state `"+a+"` to `"+l.RESPONDER_ACTIVE_LONG_PRESS_IN+"`, which is not supported. This is most likely due to `Touchable.longPressDelayTimeout` not being cancelled."):this._receiveSignal(y.LONG_PRESS_DETECTED,t)},_receiveSignal:function(t,a){var r=this.state.touchable.responderID,n=this.state.touchable.touchState,o=Fe[n]&&Fe[n][t];if(!(!r&&t===y.RESPONDER_RELEASE)){if(!o)throw new Error("Unrecognized signal `"+t+"` or state `"+n+"` for Touchable responder `"+r+"`");if(o===l.ERROR)throw new Error("Touchable cannot transition from `"+n+"` to `"+t+"` for responder `"+r+"`");n!==o&&(this._performSideEffectsForTransition(n,o,t,a),this.state.touchable.touchState=o)}},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(t){return t===l.RESPONDER_ACTIVE_PRESS_IN||t===l.RESPONDER_ACTIVE_LONG_PRESS_IN},_savePressInLocation:function(t){var a=Ge(t.nativeEvent),r=a&&a.pageX,n=a&&a.pageY,o=a&&a.locationX,s=a&&a.locationY;this.pressInLocation={pageX:r,pageY:n,locationX:o,locationY:s}},_getDistanceBetweenPoints:function(t,a,r,n){var o=t-r,s=a-n;return Math.sqrt(o*o+s*s)},_performSideEffectsForTransition:function(t,a,r,n){var o=this._isHighlight(t),s=this._isHighlight(a),u=r===y.RESPONDER_TERMINATED||r===y.RESPONDER_RELEASE;u&&this._cancelLongPressDelayTimeout();var c=t===l.NOT_RESPONDER&&a===l.RESPONDER_INACTIVE_PRESS_IN,d=!He[t]&&He[a];if((c||d)&&this._remeasureMetricsOnActivation(),Ue[t]&&r===y.LONG_PRESS_DETECTED&&this.touchableHandleLongPress&&this.touchableHandleLongPress(n),s&&!o?this._startHighlight(n):!s&&o&&this._endHighlight(n),Ue[t]&&r===y.RESPONDER_RELEASE){var E=!!this.props.onLongPress,h=Ye[t]&&(!E||!this.touchableLongPressCancelsPress()),R=!Ye[t]||h;R&&this.touchableHandlePress&&(!s&&!o&&(this._startHighlight(n),this._endHighlight(n)),this.touchableHandlePress(n))}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null},_playTouchSound:function(){G.playTouchSound()},_startHighlight:function(t){this._savePressInLocation(t),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(t)},_endHighlight:function(t){this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=setTimeout(()=>{this.touchableHandleActivePressOut(t)},this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut(t))},touchableHandleKeyEvent:function(t){var a=t.type,r=t.key;(r==="Enter"||r===" ")&&(a==="keydown"?this._isTouchableKeyboardActive||(!this.state.touchable.touchState||this.state.touchable.touchState===l.NOT_RESPONDER)&&(this.touchableHandleResponderGrant(t),this._isTouchableKeyboardActive=!0):a==="keyup"&&this._isTouchableKeyboardActive&&this.state.touchable.touchState&&this.state.touchable.touchState!==l.NOT_RESPONDER&&(this.touchableHandleResponderRelease(t),this._isTouchableKeyboardActive=!1),t.stopPropagation(),r==="Enter"&&pt.propsToAriaRole(this.props)==="link"||t.preventDefault())},withoutDefaultFocusAndBlur:{}};z.touchableHandleFocus;z.touchableHandleBlur;var ln=T(z,["touchableHandleFocus","touchableHandleBlur"]);z.withoutDefaultFocusAndBlur=ln;var dt={Mixin:z,TOUCH_TARGET_DEBUG:!1,renderDebugView:e=>{var t=e.color,a=e.hitSlop;if(!dt.TOUCH_TARGET_DEBUG)return null;var r={};a=a||{top:0,bottom:0,left:0,right:0};for(var n in a)r[n]=-a[n];var o=St(t);if(typeof o!="number")return null;var s="#"+("00000000"+o.toString(16)).substr(-8);return M.createElement(m,{pointerEvents:"none",style:O({position:"absolute",borderColor:s.slice(0,-2)+"55",borderWidth:1,borderStyle:"dashed",backgroundColor:s.slice(0,-2)+"0F"},r)})}},un=["style"];function Et(e){var t=e.style,a=T(e,un);return M.createElement(m,b({},a,{style:[cn,t]}))}var cn={},dn={accessibilityDisabled:!0,accessibilityLabel:!0,accessibilityLiveRegion:!0,accessibilityRole:!0,accessibilityState:!0,accessibilityValue:!0,children:!0,disabled:!0,focusable:!0,nativeID:!0,onBlur:!0,onFocus:!0,onLayout:!0,testID:!0},En=e=>Ut(e,dn);function hn(e,t){var a=e.delayPressIn,r=e.delayPressOut,n=e.delayLongPress,o=e.disabled,s=e.focusable,u=e.onLongPress,c=e.onPress,d=e.onPressIn,E=e.onPressOut,h=e.rejectResponderTermination,R=i.useRef(null),v=i.useMemo(()=>({cancelable:!h,disabled:o,delayLongPress:n,delayPressStart:a,delayPressEnd:r,onLongPress:u,onPress:c,onPressStart:d,onPressEnd:E}),[o,a,r,n,u,c,d,E,h]),_=Xe(R,v),S=i.Children.only(e.children),N=[S.props.children],C=En(e);C.accessibilityDisabled=o,C.focusable=!o&&s!==!1,C.ref=Se(t,R,S.ref);var se=Object.assign(C,_);return i.cloneElement(S,se,...N)}var ht=i.memo(i.forwardRef(hn));ht.displayName="TouchableWithoutFeedback";function Rt(e){return M.createElement(Et,e)}Rt.ignoreWarnings=()=>{};var Rn={ignoreLogs(){},ignoreAllLogs(){},uninstall(){},install(){}};function vn(){var e=i.useState(Ee.getColorScheme()),t=e[0],a=e[1];return i.useEffect(()=>{function r(s){a(s.colorScheme)}var n=Ee.addChangeListener(r),o=n.remove;return o}),t}const mn=Object.freeze(Object.defineProperty({__proto__:null,AccessibilityInfo:Ct,ActivityIndicator:Qe,Alert:We,Animated:It,AppRegistry:ae,AppState:Dt,Appearance:Ee,BackHandler:da,Button:et,CheckBox:tt,Clipboard:Ea,DeviceEventEmitter:Xt,Dimensions:Ot,Easing:Lt,FlatList:Mt,I18nManager:ha,Image:qe,ImageBackground:at,InteractionManager:fe,Keyboard:Ra,KeyboardAvoidingView:Ia,LayoutAnimation:va,Linking:$e,LogBox:Rn,Modal:Wa,NativeEventEmitter:Kt,NativeModules:Nt,PanResponder:V,Picker:st,PixelRatio:Gt,Platform:Be,Pressable:Bt,ProgressBar:lt,RefreshControl:wt,SafeAreaView:ut,ScrollView:kt,SectionList:Vt,Share:ga,StatusBar:Y,StyleSheet:f,Switch:Wt,Text:Ze,TextInput:$t,Touchable:dt,TouchableHighlight:qt,TouchableNativeFeedback:Et,TouchableOpacity:_e,TouchableWithoutFeedback:ht,UIManager:G,Vibration:Pa,View:m,VirtualizedList:xt,YellowBox:Rt,findNodeHandle:Pt,processColor:_t,render:Je,unmountComponentAtNode:oe,unstable_createElement:U,useColorScheme:vn,useLocaleContext:gt,useWindowDimensions:Zt},Symbol.toStringTag,{value:"Module"})),qn=ft(mn),ze=({children:e,emphasis:t,inverse:a,onPress:r,phraseVariant:n,logAction:o=Ft.buttonPress,...s})=>{const u=Yt({...s,logAction:o,onEvent:r});return Jt.jsx(Qt,{accessibilityRole:"link",color:a?"inverse":"link",emphasis:t,onPress:u,underline:!0,variant:n,...s,children:e})};try{ze.displayName="InlineLink",ze.__docgenInfo={description:"",displayName:"InlineLink",props:{emphasis:{defaultValue:null,description:"Allows the phrase to convey more emphasis.",name:"emphasis",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"strong"'}]}},inverse:{defaultValue:null,description:"",name:"inverse",required:!1,type:{name:"boolean"}},onPress:{defaultValue:null,description:`This function is called on press. +Text intrinsically supports press handling with a default highlight state (which can be disabled with suppressHighlighting).`,name:"onPress",required:!1,type:{name:"(() => void) & ((event: GestureResponderEvent) => void)"}},phraseVariant:{defaultValue:null,description:"",name:"phraseVariant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}},testID:{defaultValue:null,description:"Used to locate this view in end-to-end tests.",name:"testID",required:!1,type:{name:"string"}},color:{defaultValue:null,description:"Defines the color of the phrase. Maps with the text color tokens.",name:"color",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"link"'},{value:'"cityPass"'},{value:'"confirm"'},{value:'"inverse"'},{value:'"warning"'}]}},flexShrink:{defaultValue:null,description:"Defines how to shrink the phrase in case the parent container is smaller than the phrase.",name:"flexShrink",required:!1,type:{name:"number"}},"logging-label":{defaultValue:null,description:"Label used for logging to Piwik and AppInsights.",name:"logging-label",required:!1,type:{name:"string"}},textAlign:{defaultValue:null,description:"Defines the alignment of the text. Maps with the textAlign style prop options.",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"auto"'},{value:'"center"'},{value:'"left"'},{value:'"right"'},{value:'"justify"'}]}},underline:{defaultValue:null,description:"Whether the phrase is underlined. Use this for a link only.",name:"underline",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"Which variation of a phrase to display.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"body"'},{value:'"intro"'},{value:'"quote"'},{value:'"extraSmall"'}]}},logAction:{defaultValue:{value:"PiwikAction.buttonPress"},description:"",name:"logAction",required:!1,type:{name:"enum",value:[{value:'"accessibilityAction"'},{value:'"accessibilityChange"'},{value:'"addressAdd"'},{value:'"addressChange"'},{value:'"blur"'},{value:'"buttonPress"'},{value:'"deviceInfoChange"'},{value:'"finishedReport"'},{value:'"locationOrAddressSelectionChange"'},{value:'"moduleChange"'},{value:'"pushNotificationDisplay"'},{value:'"pushNotificationTap"'},{value:'"radioChange"'},{value:'"startUp"'},{value:'"swipeOut"'},{value:'"toForeground"'},{value:'"toggle"'}]}},logCategory:{defaultValue:null,description:"",name:"logCategory",required:!1,type:{name:"enum",value:[{value:'"about"'},{value:'"access-code"'},{value:'"address"'},{value:'"chat"'},{value:'"city-pass"'},{value:'"construction-work"'},{value:'"construction-work-editor"'},{value:'"contact"'},{value:'"home"'},{value:'"notification-history"'},{value:'"onboarding"'},{value:'"open-waste-container"'},{value:'"redirects"'},{value:'"report-problem"'},{value:'"user"'},{value:'"waste-guide"'},{value:'"general"'}]}},logDimensions:{defaultValue:null,description:"Custom dimensions to log with the event.",name:"logDimensions",required:!1,type:{name:"Partial<Record<CustomDimensionKeys, string>>"}},logName:{defaultValue:null,description:"",name:"logName",required:!1,type:{name:"string"}},logValue:{defaultValue:null,description:"",name:"logValue",required:!1,type:{name:"number"}}}}}catch{}const fn=e=>/^https?:\/\/([\w-.]+.)?amsterdam\.nl/.test(e),Sn=(e,t)=>{if(!fn(e))return e;const a=jt.stringify({app_from:1,app_module:t}),[r,n]=e.split("#"),o=n?`#${n}`:"",s=`${r.includes("?")?"&":"?"}${a}`;return`${r}${s}${o}`},pn=()=>{const e=aa(),{trackOutlink:t}=Ke();return i.useCallback(a=>{const r=Sn(a,zt());t(r),$e.openURL(r).catch(()=>{We.alert("Sorry, deze functie is niet beschikbaar."),e(na.openWebUrl,"useOpenWebUrl.ts",{url:a})})},[e,t])},Xn=()=>{const e=ea(),t=ta(),a=pn(),{trackOutlink:r}=Ke();return i.useCallback(n=>{if(r(n),n.startsWith("mailto:")){const[o,s]=n.substring(7).split("?subject=");e(o,s);return}if(n.startsWith("tel:")){t(n.substring(4));return}a(n)},[e,t,a,r])};export{ze as I,Ra as K,va as L,Wa as M,Y as S,Et as U,Rn as a,Xn as b,Ia as c,ha as d,qn as r,pn as u}; diff --git a/assets/usePiwikTrackCustomEventFromProps-DOnnRsC6.js b/assets/usePiwikTrackCustomEventFromProps-CT_KpUEz.js similarity index 94% rename from assets/usePiwikTrackCustomEventFromProps-DOnnRsC6.js rename to assets/usePiwikTrackCustomEventFromProps-CT_KpUEz.js index cf5aebca..d66db51c 100644 --- a/assets/usePiwikTrackCustomEventFromProps-DOnnRsC6.js +++ b/assets/usePiwikTrackCustomEventFromProps-CT_KpUEz.js @@ -1,4 +1,4 @@ -import{r as A}from"./index-mfbfsM12.js";import"./index-8JwjhRSi.js";import{E as K,P as He,a as Ye,b as We,c as ke,u as Le,M as qe,d as Xe}from"./useTrackException-Cm6KdDpO.js";import{a as Qe,b as Je}from"./index-BowPbij1.js";import{b as Ze,a as et,d as tt}from"./development-LhlsWDYu.js";import{c as z}from"./_commonjsHelpers-BosuxZz1.js";import{j as rt}from"./jsx-runtime-Bxcv0yjW.js";import{P as at,N as me}from"./index-DSI0shHu.js";var pe="DELAY",I="ERROR",Re="LONG_PRESS_DETECTED",P="NOT_RESPONDER",$="RESPONDER_ACTIVE_LONG_PRESS_START",ie="RESPONDER_ACTIVE_PRESS_START",de="RESPONDER_INACTIVE_PRESS_START",nt="RESPONDER_GRANT",ee="RESPONDER_RELEASE",Me="RESPONDER_TERMINATED",be=Object.freeze({NOT_RESPONDER:{DELAY:I,RESPONDER_GRANT:de,RESPONDER_RELEASE:I,RESPONDER_TERMINATED:I,LONG_PRESS_DETECTED:I},RESPONDER_INACTIVE_PRESS_START:{DELAY:ie,RESPONDER_GRANT:I,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,LONG_PRESS_DETECTED:I},RESPONDER_ACTIVE_PRESS_START:{DELAY:I,RESPONDER_GRANT:I,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,LONG_PRESS_DETECTED:$},RESPONDER_ACTIVE_LONG_PRESS_START:{DELAY:I,RESPONDER_GRANT:I,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,LONG_PRESS_DETECTED:$},ERROR:{DELAY:P,RESPONDER_GRANT:de,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,LONG_PRESS_DETECTED:P}}),Ve=e=>e.getAttribute("role"),he=e=>e.tagName.toLowerCase(),Se=e=>e===ie||e===$,te=e=>Ve(e)==="button",Oe=e=>e===de||e===ie||e===$,st=e=>e===Me||e===ee,Te=e=>{var t=e.key,r=e.target,c=t===" "||t==="Spacebar",a=he(r)==="button"||te(r);return t==="Enter"||c&&a},ct=450,it=50;class ut{constructor(t){this._eventHandlers=null,this._isPointerTouch=!1,this._longPressDelayTimeout=null,this._longPressDispatched=!1,this._pressDelayTimeout=null,this._pressOutDelayTimeout=null,this._touchState=P,this._responderElement=null,this.configure(t)}configure(t){this._config=t}reset(){this._cancelLongPressDelayTimeout(),this._cancelPressDelayTimeout(),this._cancelPressOutDelayTimeout()}getEventHandlers(){return this._eventHandlers==null&&(this._eventHandlers=this._createEventHandlers()),this._eventHandlers}_createEventHandlers(){var t=(a,s)=>{a.persist(),this._cancelPressOutDelayTimeout(),this._longPressDispatched=!1,this._selectionTerminated=!1,this._touchState=P,this._isPointerTouch=a.nativeEvent.type==="touchstart",this._receiveSignal(nt,a);var f=le(this._config.delayPressStart,0,it);s!==!1&&f>0?this._pressDelayTimeout=setTimeout(()=>{this._receiveSignal(pe,a)},f):this._receiveSignal(pe,a);var l=le(this._config.delayLongPress,10,ct);this._longPressDelayTimeout=setTimeout(()=>{this._handleLongPress(a)},l+f)},r=a=>{this._receiveSignal(ee,a)},c=a=>{var s=this._config.onPress,f=a.target;if(this._touchState!==P&&Te(a)){r(a),document.removeEventListener("keyup",c);var l=f.getAttribute("role"),g=he(f),_=l==="link"||g==="a"||g==="button"||g==="input"||g==="select"||g==="textarea",h=this._responderElement===f;s!=null&&!_&&h&&s(a),this._responderElement=null}};return{onStartShouldSetResponder:a=>{var s=this._config.disabled;return s&&te(a.currentTarget)&&a.stopPropagation(),s==null?!0:!s},onKeyDown:a=>{var s=this._config.disabled,f=a.key,l=a.target;if(!s&&Te(a)){this._touchState===P&&(t(a,!1),this._responderElement=l,document.addEventListener("keyup",c));var g=f===" "||f==="Spacebar",_=Ve(l),h=_==="button"||_==="menuitem";g&&h&&he(l)!=="button"&&a.preventDefault(),a.stopPropagation()}},onResponderGrant:a=>t(a),onResponderMove:a=>{this._config.onPressMove!=null&&this._config.onPressMove(a);var s=ve(a);if(this._touchActivatePosition!=null){var f=this._touchActivatePosition.pageX-s.pageX,l=this._touchActivatePosition.pageY-s.pageY;Math.hypot(f,l)>10&&this._cancelLongPressDelayTimeout()}},onResponderRelease:a=>r(a),onResponderTerminate:a=>{a.nativeEvent.type==="selectionchange"&&(this._selectionTerminated=!0),this._receiveSignal(Me,a)},onResponderTerminationRequest:a=>{var s=this._config,f=s.cancelable,l=s.disabled,g=s.onLongPress;return!l&&g!=null&&this._isPointerTouch&&a.nativeEvent.type==="contextmenu"?!1:f??!0},onClick:a=>{var s=this._config,f=s.disabled,l=s.onPress;f?te(a.currentTarget)&&a.stopPropagation():(a.stopPropagation(),this._longPressDispatched||this._selectionTerminated?a.preventDefault():l!=null&&a.altKey===!1&&l(a))},onContextMenu:a=>{var s=this._config,f=s.disabled,l=s.onLongPress;f?te(a.currentTarget)&&a.stopPropagation():l!=null&&this._isPointerTouch&&!a.defaultPrevented&&(a.preventDefault(),a.stopPropagation())}}}_receiveSignal(t,r){var c=this._touchState,a=null;be[c]!=null&&(a=be[c][t]),!(this._touchState===P&&t===ee)&&(a==null||a===I?console.error("PressResponder: Invalid signal "+t+" for state "+c+" on responder"):c!==a&&(this._performTransitionSideEffects(c,a,t,r),this._touchState=a))}_performTransitionSideEffects(t,r,c,a){if(st(c)&&(setTimeout(()=>{this._isPointerTouch=!1},0),this._touchActivatePosition=null,this._cancelLongPressDelayTimeout()),Oe(t)&&c===Re){var s=this._config.onLongPress;s!=null&&a.nativeEvent.key==null&&(s(a),this._longPressDispatched=!0)}var f=Se(t),l=Se(r);if(!f&&l?this._activate(a):f&&!l&&this._deactivate(a),Oe(t)&&c===ee){var g=this._config,_=g.onLongPress,h=g.onPress;if(h!=null){var p=_!=null&&t===$;p||!l&&!f&&(this._activate(a),this._deactivate(a))}}this._cancelPressDelayTimeout()}_activate(t){var r=this._config,c=r.onPressChange,a=r.onPressStart,s=ve(t);this._touchActivatePosition={pageX:s.pageX,pageY:s.pageY},a!=null&&a(t),c!=null&&c(!0)}_deactivate(t){var r=this._config,c=r.onPressChange,a=r.onPressEnd;function s(){a!=null&&a(t),c!=null&&c(!1)}var f=le(this._config.delayPressEnd);f>0?this._pressOutDelayTimeout=setTimeout(()=>{s()},f):s()}_handleLongPress(t){(this._touchState===ie||this._touchState===$)&&this._receiveSignal(Re,t)}_cancelLongPressDelayTimeout(){this._longPressDelayTimeout!=null&&(clearTimeout(this._longPressDelayTimeout),this._longPressDelayTimeout=null)}_cancelPressDelayTimeout(){this._pressDelayTimeout!=null&&(clearTimeout(this._pressDelayTimeout),this._pressDelayTimeout=null)}_cancelPressOutDelayTimeout(){this._pressOutDelayTimeout!=null&&(clearTimeout(this._pressOutDelayTimeout),this._pressOutDelayTimeout=null)}}function le(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=0),Math.max(t,e??r)}function ve(e){var t=e.nativeEvent,r=t.changedTouches,c=t.touches;return c!=null&&c.length>0?c[0]:r!=null&&r.length>0?r[0]:e.nativeEvent}function ua(e,t){var r=A.useRef(null);r.current==null&&(r.current=new ut(t));var c=r.current;return A.useEffect(()=>{c.configure(t)},[t,c]),A.useEffect(()=>()=>{c.reset()},[c]),A.useDebugValue(t),c.getEventHandlers()}function ot(){return{type:"GO_BACK"}}function lt(){if(typeof(arguments.length<=0?void 0:arguments[0])=="string")return{type:"NAVIGATE",payload:{name:arguments.length<=0?void 0:arguments[0],params:arguments.length<=1?void 0:arguments[1]}};{const e=(arguments.length<=0?void 0:arguments[0])||{};if(!e.hasOwnProperty("key")&&!e.hasOwnProperty("name"))throw new Error("You need to specify name or key when calling navigate with an object as the argument. See https://reactnavigation.org/docs/navigation-actions#navigate for usage.");return{type:"NAVIGATE",payload:e}}}function ft(e){return{type:"RESET",payload:e}}function dt(e){return{type:"SET_PARAMS",payload:{params:e}}}const ht=Object.freeze(Object.defineProperty({__proto__:null,goBack:ot,navigate:lt,reset:ft,setParams:dt},Symbol.toStringTag,{value:"Module"})),gt="The 'navigation' object hasn't been initialized yet. This might happen if you don't have a navigator mounted, or if the navigator hasn't finished mounting. See https://reactnavigation.org/docs/navigating-without-navigation-prop#handling-initialization for more details.";function Et(){const e=[...Object.keys(ht),"addListener","removeListener","resetRoot","dispatch","isFocused","canGoBack","getRootState","getState","getParent","getCurrentRoute","getCurrentOptions"],t={},r=(s,f)=>{t[s]&&(t[s]=t[s].filter(l=>l!==f))};let c=null;return{get current(){return c},set current(s){c=s,s!=null&&Object.entries(t).forEach(f=>{let[l,g]=f;g.forEach(_=>{s.addListener(l,_)})})},isReady:()=>c==null?!1:c.isReady(),...e.reduce((s,f)=>(s[f]=function(){for(var l=arguments.length,g=new Array(l),_=0;_<l;_++)g[_]=arguments[_];if(c==null)switch(f){case"addListener":{const[h,p]=g;return t[h]=t[h]||[],t[h].push(p),()=>r(h,p)}case"removeListener":{const[h,p]=g;r(h,p);break}default:console.error(gt)}else return c[f](...g)},s),{})}}var yt={},_t=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),Ue="%[a-f0-9]{2}",Pe=new RegExp("("+Ue+")|([^%]+?)","gi"),Ce=new RegExp("("+Ue+")+","gi");function ge(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),c=e.slice(t);return Array.prototype.concat.call([],ge(r),ge(c))}function mt(e){try{return decodeURIComponent(e)}catch{for(var t=e.match(Pe)||[],r=1;r<t.length;r++)e=ge(t,r).join(""),t=e.match(Pe)||[];return e}}function pt(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=Ce.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch{var c=mt(r[0]);c!==r[0]&&(t[r[0]]=c)}r=Ce.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var f=a[s];e=e.replace(new RegExp(f,"g"),t[f])}return e}var Rt=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch{return pt(e)}},bt=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]},St=function(e,t){for(var r={},c=Object.keys(e),a=Array.isArray(t),s=0;s<c.length;s++){var f=c[s],l=e[f];(a?t.indexOf(f)!==-1:t(f,l,e))&&(r[f]=l)}return r};(function(e){const t=_t,r=Rt,c=bt,a=St,s=n=>n==null,f=Symbol("encodeFragmentIdentifier");function l(n){switch(n.arrayFormat){case"index":return i=>(u,o)=>{const d=u.length;return o===void 0||n.skipNull&&o===null||n.skipEmptyString&&o===""?u:o===null?[...u,[h(i,n),"[",d,"]"].join("")]:[...u,[h(i,n),"[",h(d,n),"]=",h(o,n)].join("")]};case"bracket":return i=>(u,o)=>o===void 0||n.skipNull&&o===null||n.skipEmptyString&&o===""?u:o===null?[...u,[h(i,n),"[]"].join("")]:[...u,[h(i,n),"[]=",h(o,n)].join("")];case"colon-list-separator":return i=>(u,o)=>o===void 0||n.skipNull&&o===null||n.skipEmptyString&&o===""?u:o===null?[...u,[h(i,n),":list="].join("")]:[...u,[h(i,n),":list=",h(o,n)].join("")];case"comma":case"separator":case"bracket-separator":{const i=n.arrayFormat==="bracket-separator"?"[]=":"=";return u=>(o,d)=>d===void 0||n.skipNull&&d===null||n.skipEmptyString&&d===""?o:(d=d===null?"":d,o.length===0?[[h(u,n),i,h(d,n)].join("")]:[[o,h(d,n)].join(n.arrayFormatSeparator)])}default:return i=>(u,o)=>o===void 0||n.skipNull&&o===null||n.skipEmptyString&&o===""?u:o===null?[...u,h(i,n)]:[...u,[h(i,n),"=",h(o,n)].join("")]}}function g(n){let i;switch(n.arrayFormat){case"index":return(u,o,d)=>{if(i=/\[(\d*)\]$/.exec(u),u=u.replace(/\[\d*\]$/,""),!i){d[u]=o;return}d[u]===void 0&&(d[u]={}),d[u][i[1]]=o};case"bracket":return(u,o,d)=>{if(i=/(\[\])$/.exec(u),u=u.replace(/\[\]$/,""),!i){d[u]=o;return}if(d[u]===void 0){d[u]=[o];return}d[u]=[].concat(d[u],o)};case"colon-list-separator":return(u,o,d)=>{if(i=/(:list)$/.exec(u),u=u.replace(/:list$/,""),!i){d[u]=o;return}if(d[u]===void 0){d[u]=[o];return}d[u]=[].concat(d[u],o)};case"comma":case"separator":return(u,o,d)=>{const m=typeof o=="string"&&o.includes(n.arrayFormatSeparator),y=typeof o=="string"&&!m&&p(o,n).includes(n.arrayFormatSeparator);o=y?p(o,n):o;const O=m||y?o.split(n.arrayFormatSeparator).map(L=>p(L,n)):o===null?o:p(o,n);d[u]=O};case"bracket-separator":return(u,o,d)=>{const m=/(\[\])$/.test(u);if(u=u.replace(/\[\]$/,""),!m){d[u]=o&&p(o,n);return}const y=o===null?[]:o.split(n.arrayFormatSeparator).map(O=>p(O,n));if(d[u]===void 0){d[u]=y;return}d[u]=[].concat(d[u],y)};default:return(u,o,d)=>{if(d[u]===void 0){d[u]=o;return}d[u]=[].concat(d[u],o)}}}function _(n){if(typeof n!="string"||n.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function h(n,i){return i.encode?i.strict?t(n):encodeURIComponent(n):n}function p(n,i){return i.decode?r(n):n}function x(n){return Array.isArray(n)?n.sort():typeof n=="object"?x(Object.keys(n)).sort((i,u)=>Number(i)-Number(u)).map(i=>n[i]):n}function v(n){const i=n.indexOf("#");return i!==-1&&(n=n.slice(0,i)),n}function N(n){let i="";const u=n.indexOf("#");return u!==-1&&(i=n.slice(u)),i}function R(n){n=v(n);const i=n.indexOf("?");return i===-1?"":n.slice(i+1)}function S(n,i){return i.parseNumbers&&!Number.isNaN(Number(n))&&typeof n=="string"&&n.trim()!==""?n=Number(n):i.parseBooleans&&n!==null&&(n.toLowerCase()==="true"||n.toLowerCase()==="false")&&(n=n.toLowerCase()==="true"),n}function b(n,i){i=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},i),_(i.arrayFormatSeparator);const u=g(i),o=Object.create(null);if(typeof n!="string"||(n=n.trim().replace(/^[?#&]/,""),!n))return o;for(const d of n.split("&")){if(d==="")continue;let[m,y]=c(i.decode?d.replace(/\+/g," "):d,"=");y=y===void 0?null:["comma","separator","bracket-separator"].includes(i.arrayFormat)?y:p(y,i),u(p(m,i),y,o)}for(const d of Object.keys(o)){const m=o[d];if(typeof m=="object"&&m!==null)for(const y of Object.keys(m))m[y]=S(m[y],i);else o[d]=S(m,i)}return i.sort===!1?o:(i.sort===!0?Object.keys(o).sort():Object.keys(o).sort(i.sort)).reduce((d,m)=>{const y=o[m];return y&&typeof y=="object"&&!Array.isArray(y)?d[m]=x(y):d[m]=y,d},Object.create(null))}e.extract=R,e.parse=b,e.stringify=(n,i)=>{if(!n)return"";i=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},i),_(i.arrayFormatSeparator);const u=y=>i.skipNull&&s(n[y])||i.skipEmptyString&&n[y]==="",o=l(i),d={};for(const y of Object.keys(n))u(y)||(d[y]=n[y]);const m=Object.keys(d);return i.sort!==!1&&m.sort(i.sort),m.map(y=>{const O=n[y];return O===void 0?"":O===null?h(y,i):Array.isArray(O)?O.length===0&&i.arrayFormat==="bracket-separator"?h(y,i)+"[]":O.reduce(o(y),[]).join("&"):h(y,i)+"="+h(O,i)}).filter(y=>y.length>0).join("&")},e.parseUrl=(n,i)=>{i=Object.assign({decode:!0},i);const[u,o]=c(n,"#");return Object.assign({url:u.split("?")[0]||"",query:b(R(n),i)},i&&i.parseFragmentIdentifier&&o?{fragmentIdentifier:p(o,i)}:{})},e.stringifyUrl=(n,i)=>{i=Object.assign({encode:!0,strict:!0,[f]:!0},i);const u=v(n.url).split("?")[0]||"",o=e.extract(n.url),d=e.parse(o,{sort:!1}),m=Object.assign(d,n.query);let y=e.stringify(m,i);y&&(y=`?${y}`);let O=N(n.url);return n.fragmentIdentifier&&(O=`#${i[f]?h(n.fragmentIdentifier,i):n.fragmentIdentifier}`),`${u}${y}${O}`},e.pick=(n,i,u)=>{u=Object.assign({parseFragmentIdentifier:!0,[f]:!1},u);const{url:o,query:d,fragmentIdentifier:m}=e.parseUrl(n,u);return e.stringifyUrl({url:o,query:a(d,i),fragmentIdentifier:m},u)},e.exclude=(n,i,u)=>{const o=Array.isArray(i)?d=>!i.includes(d):(d,m)=>!i(d,m);return e.pick(n,o,u)}})(yt);var ze={};Object.defineProperty(ze,"__esModule",{value:!0});var Ne=A,Ot=typeof document<"u"?Ne.useLayoutEffect:Ne.useEffect;ze.default=Ot;const ae=Et();var Y=(e=>(e[e.searchTerm=3]="searchTerm",e[e.searchResultAmount=4]="searchResultAmount",e[e.searchType=5]="searchType",e[e.searchResultTitle=6]="searchResultTitle",e[e.searchResultUrl=7]="searchResultUrl",e[e.searchResultType=8]="searchResultType",e[e.searchResultSelected=9]="searchResultSelected",e[e.contentTitle=10]="contentTitle",e[e.contentSubject=11]="contentSubject",e[e.contentTeam=12]="contentTeam",e[e.contentPublicationDate=13]="contentPublicationDate",e[e.contentType=14]="contentType",e[e.userIntext=15]="userIntext",e[e.searchMachine=16]="searchMachine",e[e.pageType=17]="pageType",e[e.contentId=20]="contentId",e[e.newState=36]="newState",e[e.routeName=43]="routeName",e[e.pushTitle=44]="pushTitle",e[e.pushContent=45]="pushContent",e[e.isPushNotificationDeeplink=47]="isPushNotificationDeeplink",e))(Y||{}),ne=(e=>(e[e.userType=1]="userType",e[e.userCity=2]="userCity",e[e.appVersion=18]="appVersion",e[e.appVersionWithBuild=19]="appVersionWithBuild",e[e.reduceMotionEnabled=21]="reduceMotionEnabled",e[e.screenReaderEnabled=22]="screenReaderEnabled",e[e.accessibilityServiceEnabled=23]="accessibilityServiceEnabled",e[e.boldTextEnabled=24]="boldTextEnabled",e[e.grayscaleEnabled=25]="grayscaleEnabled",e[e.invertColorsEnabled=26]="invertColorsEnabled",e[e.reduceTransparencyEnabled=27]="reduceTransparencyEnabled",e[e.fontScale=28]="fontScale",e[e.isLandscape=29]="isLandscape",e[e.isPortrait=30]="isPortrait",e[e.isTablet=31]="isTablet",e[e.hasCameraPermission=32]="hasCameraPermission",e[e.hasPhotosPermission=33]="hasPhotosPermission",e[e.hasLocationPermission=34]="hasLocationPermission",e[e.hasNotificationPermission=35]="hasNotificationPermission",e[e.contactModule=37]="contactModule",e[e.redirectsModule=38]="redirectsModule",e[e.wasteGuideModule=39]="wasteGuideModule",e[e.reportProblemModule=40]="reportProblemModule",e[e.constructionWorkModule=41]="constructionWorkModule",e[e.constructionWorkEditorModule=42]="constructionWorkEditorModule",e[e.cityPassModule=46]="cityPassModule",e))(ne||{}),Tt=(e=>(e.accessibilityAction="accessibilityAction",e.accessibilityChange="accessibilityChange",e.addressAdd="addressAdd",e.addressChange="addressChange",e.blur="blur",e.buttonPress="buttonPress",e.deviceInfoChange="deviceInfoChange",e.finishedReport="finishedReport",e.locationOrAddressSelectionChange="locationOrAddressSelectionChange",e.moduleChange="moduleChange",e.pushNotificationDisplay="pushNotificationDisplay",e.pushNotificationTap="pushNotificationTap",e.radioChange="radioChange",e.startUp="startUp",e.swipeOut="swipeOut",e.toForeground="toForeground",e.toggle="toggle",e))(Tt||{}),se=(e=>(e.alreadyInitialized="Piwik Pro SDK has been already initialized",e.missingEnvVars="PIWIK_PRO_URL or PIWIK_PRO_ID are not defined in env",e))(se||{});const vt=e=>{if(e)return Object.keys(e).filter(t=>e[t]!==void 0).reduce((t,r)=>({...t,[r]:e[r]}),{})},Pt="1.10.0",Ct=Qe(),$e=Ze?Pt:Je(),Nt=`${$e}.${Ct}`,It={[ne.appVersion]:$e,[ne.appVersionWithBuild]:Nt},At=(e,t=!1)=>t?Object.keys(e).reduce((r,c)=>{const a=ne[c]??Y[c];return a&&(r[a]=e[c]),r},{}):e,F=(e,t=!1)=>vt(At({...It,...e},t)),Dt=e=>{const t={};return e&&Object.keys(e).forEach(r=>{if(typeof e[r]!="string"&&typeof e[r]!="number")return;const c=r==="id"?"contentId":r;Object.values(Y).includes(c)&&(t[Y[c]]=e[r].toString())}),{appInsights:F(t,!0),piwik:F(t,!1)}},Ie=e=>{const t=(e==null?void 0:e.screenTitle)??(e==null?void 0:e.screenHeaderTitle);if(t)return decodeURIComponent(t)};var Ee={},U={},W={},ue={},oe={};Object.defineProperty(oe,"__esModule",{value:!0});oe.encodeString=jt;const D=Array.from({length:256},(e,t)=>"%"+((t<16?"0":"")+t.toString(16)).toUpperCase()),xt=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function jt(e){const t=e.length;if(t===0)return"";let r="",c=0,a=0;e:for(;a<t;a++){let s=e.charCodeAt(a);for(;s<128;){if(xt[s]!==1&&(c<a&&(r+=e.slice(c,a)),c=a+1,r+=D[s]),++a===t)break e;s=e.charCodeAt(a)}if(c<a&&(r+=e.slice(c,a)),s<2048){c=a+1,r+=D[192|s>>6]+D[128|s&63];continue}if(s<55296||s>=57344){c=a+1,r+=D[224|s>>12]+D[128|s>>6&63]+D[128|s&63];continue}if(++a,a>=t)throw new Error("URI malformed");const f=e.charCodeAt(a)&1023;c=a+1,s=65536+((s&1023)<<10|f),r+=D[240|s>>18]+D[128|s>>12&63]+D[128|s>>6&63]+D[128|s&63]}return c===0?e:c<t?r+e.slice(c):r}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;const t=oe,r=s=>{switch(typeof s){case"string":return(0,t.encodeString)(s);case"bigint":case"boolean":return""+s;case"number":if(Number.isFinite(s))return s<1e21?""+s:(0,t.encodeString)(""+s);break}return s instanceof Date?(0,t.encodeString)(s.toISOString()):""};e.defaultValueSerializer=r;const c=s=>s instanceof Date;e.defaultShouldSerializeObject=c;const a=s=>s;e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:a,valueSerializer:e.defaultValueSerializer,keyDeserializer:a,shouldSerializeObject:e.defaultShouldSerializeObject}})(ue);Object.defineProperty(W,"__esModule",{value:!0});W.getDeepObject=Mt;W.stringifyObject=we;const M=ue,Ft=oe;function Lt(e){return e==="__proto__"||e==="constructor"||e==="prototype"}function Mt(e,t,r,c,a){if(Lt(t))return e;const s=e[t];return typeof s=="object"&&s!==null?s:!c&&(a||typeof r=="number"||typeof r=="string"&&r*0===0&&r.indexOf(".")===-1)?e[t]=[]:e[t]={}}const Vt=20,Ut="[]",zt="[",$t="]",wt=".";function we(e,t,r=0,c,a){const{nestingSyntax:s=M.defaultOptions.nestingSyntax,arrayRepeat:f=M.defaultOptions.arrayRepeat,arrayRepeatSyntax:l=M.defaultOptions.arrayRepeatSyntax,nesting:g=M.defaultOptions.nesting,delimiter:_=M.defaultOptions.delimiter,valueSerializer:h=M.defaultOptions.valueSerializer,shouldSerializeObject:p=M.defaultOptions.shouldSerializeObject}=t,x=typeof _=="number"?String.fromCharCode(_):_,v=a===!0&&f,N=s==="dot"||s==="js"&&!a;if(r>Vt)return"";let R="",S=!0,b=!1;for(const n in e){const i=e[n];if(i===void 0)continue;let u;c?(u=c,v?l==="bracket"&&(u+=Ut):N?(u+=wt,u+=n):(u+=zt,u+=n,u+=$t)):u=n,S||(R+=x),typeof i=="object"&&i!==null&&!p(i)?(b=i.pop!==void 0,(g||f&&b)&&(R+=we(i,t,r+1,u,b))):(R+=(0,Ft.encodeString)(u),R+="=",R+=h(i,n)),S&&(S=!1)}return R}var Ae=12,Gt=0,fe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function Bt(e){var t=e.indexOf("%");if(t===-1)return e;for(var r=e.length,c="",a=0,s=0,f=t,l=Ae;t>-1&&t<r;){var g=De(e[t+1],4),_=De(e[t+2],0),h=g|_,p=fe[h];if(l=fe[256+l+p],s=s<<6|h&fe[364+p],l===Ae)c+=e.slice(a,f),c+=s<=65535?String.fromCharCode(s):String.fromCharCode(55232+(s>>10),56320+(s&1023)),s=0,a=t+3,t=f=e.indexOf("%",a);else{if(l===Gt)return null;if(t+=3,t<r&&e.charCodeAt(t)===37)continue;return null}}return c+e.slice(a)}var Kt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function De(e,t){var r=Kt[e];return r===void 0?255:r<<t}var Ht=Bt,Yt=z&&z.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(U,"__esModule",{value:!0});U.numberValueDeserializer=U.numberKeyDeserializer=void 0;U.parse=qt;const Q=W,V=ue,Ge=Yt(Ht),Wt=e=>{const t=Number(e);return Number.isNaN(t)?e:t};U.numberKeyDeserializer=Wt;const kt=e=>{const t=Number(e);return Number.isNaN(t)?e:t};U.numberValueDeserializer=kt;const Be=/\+/g,Ke=function(){};Ke.prototype=Object.create(null);function J(e,t,r,c,a){let s=e.substring(t,r);return c&&(s=s.replace(Be," ")),a&&(s=(0,Ge.default)(s)||s),s}function qt(e,t){const{valueDeserializer:r=V.defaultOptions.valueDeserializer,keyDeserializer:c=V.defaultOptions.keyDeserializer,arrayRepeatSyntax:a=V.defaultOptions.arrayRepeatSyntax,nesting:s=V.defaultOptions.nesting,arrayRepeat:f=V.defaultOptions.arrayRepeat,nestingSyntax:l=V.defaultOptions.nestingSyntax,delimiter:g=V.defaultOptions.delimiter}=t??{},_=typeof g=="string"?g.charCodeAt(0):g,h=l==="js",p=new Ke;if(typeof e!="string")return p;const x=e.length;let v="",N=-1,R=-1,S=-1,b=p,n,i="",u="",o=!1,d=!1,m=!1,y=!1,O=!1,L=!1,q=!1,j=0,w=-1,G=-1,_e=-1;for(let T=0;T<x+1;T++){if(j=T!==x?e.charCodeAt(T):_,j===_){if(q=R>N,q||(R=T),S!==R-1&&(u=J(e,S+1,w>-1?w:R,m,o),i=c(u),n!==void 0&&(b=(0,Q.getDeepObject)(b,n,i,h&&O,h&&L))),q||i!==""){q&&(v=e.slice(R+1,T),y&&(v=v.replace(Be," ")),d&&(v=(0,Ge.default)(v)||v));const B=r(v,i);if(f){const X=b[i];X===void 0?w>-1?b[i]=[B]:b[i]=B:X.pop?X.push(B):b[i]=[X,B]}else b[i]=B}v="",N=T,R=T,o=!1,d=!1,m=!1,y=!1,O=!1,L=!1,w=-1,S=T,b=p,n=void 0,i=""}else j===93?(f&&a==="bracket"&&_e===91&&(w=G),s&&(l==="index"||h)&&R<=N&&(S!==G&&(u=J(e,S+1,T,m,o),i=c(u),n!==void 0&&(b=(0,Q.getDeepObject)(b,n,i,void 0,h)),n=i,m=!1,o=!1),S=T,L=!0,O=!1)):j===46?s&&(l==="dot"||h)&&R<=N&&(S!==G&&(u=J(e,S+1,T,m,o),i=c(u),n!==void 0&&(b=(0,Q.getDeepObject)(b,n,i,h)),n=i,m=!1,o=!1),O=!0,L=!1,S=T):j===91?s&&(l==="index"||h)&&R<=N&&(S!==G&&(u=J(e,S+1,T,m,o),i=c(u),h&&n!==void 0&&(b=(0,Q.getDeepObject)(b,n,i,h)),n=i,m=!1,o=!1,O=!1,L=!0),S=T):j===61?R<=N?R=T:d=!0:j===43?R>N?y=!0:m=!0:j===37&&(R>N?d=!0:o=!0);G=T,_e=j}return p}var ye={};Object.defineProperty(ye,"__esModule",{value:!0});ye.stringify=Qt;const Xt=W;function Qt(e,t){if(e===null||typeof e!="object")return"";const r=t??{};return(0,Xt.stringifyObject)(e,r)}(function(e){var t=z&&z.__createBinding||(Object.create?function(s,f,l,g){g===void 0&&(g=l);var _=Object.getOwnPropertyDescriptor(f,l);(!_||("get"in _?!f.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return f[l]}}),Object.defineProperty(s,g,_)}:function(s,f,l,g){g===void 0&&(g=l),s[g]=f[l]}),r=z&&z.__exportStar||function(s,f){for(var l in s)l!=="default"&&!Object.prototype.hasOwnProperty.call(f,l)&&t(f,s,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var c=U;Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return c.parse}});var a=ye;Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return a.stringify}}),r(ue,e)})(Ee);const Jt=e=>{if(!e)return"";const t={};return Object.keys(Ee.parse(e)).forEach(r=>{t[r]="___"}),`?${Ee.stringify(t)}`},Zt=e=>e?`#${e.split("/").map(()=>"___").join("/")}`:"",er=(e="")=>{const[t,r,...c]=e.split("#"),[a,s,...f]=t.split("?");if(c.length||f.length)return a;const l=Jt(s),g=Zt(r);return`${a}${l}${g}`},Z="useTrackEvents.ts",tr=(e,t,r,c,a,s)=>({ready:!!c,trackCustomEvent:(f,l,g,_=t,h=void 0)=>{c&&c.trackCustomEvent(_,l,{path:a,customDimensions:F(g),value:h}).catch(()=>{e(K.piwikTrackCustomEvent,Z,{category:_,action:l,name:f,routeName:a,value:h})}),r.trackEvent({name:l,properties:{...F(g,!0),value:h,routeName:a,category:_}})},trackOutlink:(f,l)=>{const g=er(f);c&&c.trackOutlink(g,{...l,customDimensions:F({...l==null?void 0:l.customDimensions,[Y.routeName]:a})}).catch(()=>{e(K.piwikTrackOutlink,Z,{url:g})}),r.trackEvent({name:"outlink",properties:{...F(l==null?void 0:l.customDimensions,!0),url:g,routeName:a,category:t}})},trackScreen:f=>{const l=f??a;if(!l)return;const{appInsights:g,piwik:_}=Dt(s);c&&c.trackScreen(l,{title:Ie(s),customDimensions:_}).catch(()=>{e(K.piwikTrackScreen,Z,{path:f})}),r.trackPageView({name:l},{...g,title:Ie(s)})},trackSearch:(f,l)=>{c&&c.trackSearch(f,{...l,customDimensions:F(l==null?void 0:l.customDimensions)}).catch(()=>{e(K.piwikTrackSearch,Z)}),r.trackEvent({name:"search",properties:{...F(l==null?void 0:l.customDimensions,!0),keyword:f,routeName:a,category:t}})}});function rr(e){if(!Number.isInteger(e))throw new Error("Parameter must be an integer number")}function re(e){e&&Object.entries(e).forEach(t=>{let[r,c]=t;const a=parseInt(r,10);if(r!==a.toString())throw new Error("ID (key) must be an integer");if(a<1)throw new Error("ID (key) must be an integer greater than 0")})}function k(e){e.forEach(t=>{let r=t.customDimensions;if(r){if(Object.keys(r).length>20)throw new Error("Max 20 product custom dimensions, 20 is max ID.");re(r)}})}function ar(e){if(!/^[0-9a-f]{16}$/.test(e))throw new Error(`Visitor ID ${e} has invalid format. The format must match the regular expression: ^[0-9a-f]{16}$`)}const nr="1.1.0",sr=`The package 'react-native-piwik-pro-sdk' doesn't seem to be linked. Make sure: +import{r as A}from"./index-mfbfsM12.js";import"./index-8JwjhRSi.js";import{E as K,P as He,a as Ye,b as We,c as ke,u as Le,M as qe,d as Xe}from"./useTrackException-Cm6KdDpO.js";import{a as Qe,b as Je}from"./index-BowPbij1.js";import{b as Ze,a as et,d as tt}from"./development-LhlsWDYu.js";import{c as z}from"./_commonjsHelpers-BosuxZz1.js";import{j as rt}from"./jsx-runtime-Bxcv0yjW.js";import{P as at,N as me}from"./index-DSI0shHu.js";var pe="DELAY",I="ERROR",Re="LONG_PRESS_DETECTED",P="NOT_RESPONDER",$="RESPONDER_ACTIVE_LONG_PRESS_START",ie="RESPONDER_ACTIVE_PRESS_START",de="RESPONDER_INACTIVE_PRESS_START",nt="RESPONDER_GRANT",ee="RESPONDER_RELEASE",Me="RESPONDER_TERMINATED",be=Object.freeze({NOT_RESPONDER:{DELAY:I,RESPONDER_GRANT:de,RESPONDER_RELEASE:I,RESPONDER_TERMINATED:I,LONG_PRESS_DETECTED:I},RESPONDER_INACTIVE_PRESS_START:{DELAY:ie,RESPONDER_GRANT:I,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,LONG_PRESS_DETECTED:I},RESPONDER_ACTIVE_PRESS_START:{DELAY:I,RESPONDER_GRANT:I,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,LONG_PRESS_DETECTED:$},RESPONDER_ACTIVE_LONG_PRESS_START:{DELAY:I,RESPONDER_GRANT:I,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,LONG_PRESS_DETECTED:$},ERROR:{DELAY:P,RESPONDER_GRANT:de,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,LONG_PRESS_DETECTED:P}}),Ve=e=>e.getAttribute("role"),he=e=>e.tagName.toLowerCase(),Se=e=>e===ie||e===$,te=e=>Ve(e)==="button",Oe=e=>e===de||e===ie||e===$,st=e=>e===Me||e===ee,Te=e=>{var t=e.key,r=e.target,c=t===" "||t==="Spacebar",a=he(r)==="button"||te(r);return t==="Enter"||c&&a},ct=450,it=50;class ut{constructor(t){this._eventHandlers=null,this._isPointerTouch=!1,this._longPressDelayTimeout=null,this._longPressDispatched=!1,this._pressDelayTimeout=null,this._pressOutDelayTimeout=null,this._touchState=P,this._responderElement=null,this.configure(t)}configure(t){this._config=t}reset(){this._cancelLongPressDelayTimeout(),this._cancelPressDelayTimeout(),this._cancelPressOutDelayTimeout()}getEventHandlers(){return this._eventHandlers==null&&(this._eventHandlers=this._createEventHandlers()),this._eventHandlers}_createEventHandlers(){var t=(a,s)=>{a.persist(),this._cancelPressOutDelayTimeout(),this._longPressDispatched=!1,this._selectionTerminated=!1,this._touchState=P,this._isPointerTouch=a.nativeEvent.type==="touchstart",this._receiveSignal(nt,a);var f=le(this._config.delayPressStart,0,it);s!==!1&&f>0?this._pressDelayTimeout=setTimeout(()=>{this._receiveSignal(pe,a)},f):this._receiveSignal(pe,a);var l=le(this._config.delayLongPress,10,ct);this._longPressDelayTimeout=setTimeout(()=>{this._handleLongPress(a)},l+f)},r=a=>{this._receiveSignal(ee,a)},c=a=>{var s=this._config.onPress,f=a.target;if(this._touchState!==P&&Te(a)){r(a),document.removeEventListener("keyup",c);var l=f.getAttribute("role"),g=he(f),_=l==="link"||g==="a"||g==="button"||g==="input"||g==="select"||g==="textarea",h=this._responderElement===f;s!=null&&!_&&h&&s(a),this._responderElement=null}};return{onStartShouldSetResponder:a=>{var s=this._config.disabled;return s&&te(a.currentTarget)&&a.stopPropagation(),s==null?!0:!s},onKeyDown:a=>{var s=this._config.disabled,f=a.key,l=a.target;if(!s&&Te(a)){this._touchState===P&&(t(a,!1),this._responderElement=l,document.addEventListener("keyup",c));var g=f===" "||f==="Spacebar",_=Ve(l),h=_==="button"||_==="menuitem";g&&h&&he(l)!=="button"&&a.preventDefault(),a.stopPropagation()}},onResponderGrant:a=>t(a),onResponderMove:a=>{this._config.onPressMove!=null&&this._config.onPressMove(a);var s=ve(a);if(this._touchActivatePosition!=null){var f=this._touchActivatePosition.pageX-s.pageX,l=this._touchActivatePosition.pageY-s.pageY;Math.hypot(f,l)>10&&this._cancelLongPressDelayTimeout()}},onResponderRelease:a=>r(a),onResponderTerminate:a=>{a.nativeEvent.type==="selectionchange"&&(this._selectionTerminated=!0),this._receiveSignal(Me,a)},onResponderTerminationRequest:a=>{var s=this._config,f=s.cancelable,l=s.disabled,g=s.onLongPress;return!l&&g!=null&&this._isPointerTouch&&a.nativeEvent.type==="contextmenu"?!1:f??!0},onClick:a=>{var s=this._config,f=s.disabled,l=s.onPress;f?te(a.currentTarget)&&a.stopPropagation():(a.stopPropagation(),this._longPressDispatched||this._selectionTerminated?a.preventDefault():l!=null&&a.altKey===!1&&l(a))},onContextMenu:a=>{var s=this._config,f=s.disabled,l=s.onLongPress;f?te(a.currentTarget)&&a.stopPropagation():l!=null&&this._isPointerTouch&&!a.defaultPrevented&&(a.preventDefault(),a.stopPropagation())}}}_receiveSignal(t,r){var c=this._touchState,a=null;be[c]!=null&&(a=be[c][t]),!(this._touchState===P&&t===ee)&&(a==null||a===I?console.error("PressResponder: Invalid signal "+t+" for state "+c+" on responder"):c!==a&&(this._performTransitionSideEffects(c,a,t,r),this._touchState=a))}_performTransitionSideEffects(t,r,c,a){if(st(c)&&(setTimeout(()=>{this._isPointerTouch=!1},0),this._touchActivatePosition=null,this._cancelLongPressDelayTimeout()),Oe(t)&&c===Re){var s=this._config.onLongPress;s!=null&&a.nativeEvent.key==null&&(s(a),this._longPressDispatched=!0)}var f=Se(t),l=Se(r);if(!f&&l?this._activate(a):f&&!l&&this._deactivate(a),Oe(t)&&c===ee){var g=this._config,_=g.onLongPress,h=g.onPress;if(h!=null){var p=_!=null&&t===$;p||!l&&!f&&(this._activate(a),this._deactivate(a))}}this._cancelPressDelayTimeout()}_activate(t){var r=this._config,c=r.onPressChange,a=r.onPressStart,s=ve(t);this._touchActivatePosition={pageX:s.pageX,pageY:s.pageY},a!=null&&a(t),c!=null&&c(!0)}_deactivate(t){var r=this._config,c=r.onPressChange,a=r.onPressEnd;function s(){a!=null&&a(t),c!=null&&c(!1)}var f=le(this._config.delayPressEnd);f>0?this._pressOutDelayTimeout=setTimeout(()=>{s()},f):s()}_handleLongPress(t){(this._touchState===ie||this._touchState===$)&&this._receiveSignal(Re,t)}_cancelLongPressDelayTimeout(){this._longPressDelayTimeout!=null&&(clearTimeout(this._longPressDelayTimeout),this._longPressDelayTimeout=null)}_cancelPressDelayTimeout(){this._pressDelayTimeout!=null&&(clearTimeout(this._pressDelayTimeout),this._pressDelayTimeout=null)}_cancelPressOutDelayTimeout(){this._pressOutDelayTimeout!=null&&(clearTimeout(this._pressOutDelayTimeout),this._pressOutDelayTimeout=null)}}function le(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=0),Math.max(t,e??r)}function ve(e){var t=e.nativeEvent,r=t.changedTouches,c=t.touches;return c!=null&&c.length>0?c[0]:r!=null&&r.length>0?r[0]:e.nativeEvent}function ua(e,t){var r=A.useRef(null);r.current==null&&(r.current=new ut(t));var c=r.current;return A.useEffect(()=>{c.configure(t)},[t,c]),A.useEffect(()=>()=>{c.reset()},[c]),A.useDebugValue(t),c.getEventHandlers()}function ot(){return{type:"GO_BACK"}}function lt(){if(typeof(arguments.length<=0?void 0:arguments[0])=="string")return{type:"NAVIGATE",payload:{name:arguments.length<=0?void 0:arguments[0],params:arguments.length<=1?void 0:arguments[1]}};{const e=(arguments.length<=0?void 0:arguments[0])||{};if(!e.hasOwnProperty("key")&&!e.hasOwnProperty("name"))throw new Error("You need to specify name or key when calling navigate with an object as the argument. See https://reactnavigation.org/docs/navigation-actions#navigate for usage.");return{type:"NAVIGATE",payload:e}}}function ft(e){return{type:"RESET",payload:e}}function dt(e){return{type:"SET_PARAMS",payload:{params:e}}}const ht=Object.freeze(Object.defineProperty({__proto__:null,goBack:ot,navigate:lt,reset:ft,setParams:dt},Symbol.toStringTag,{value:"Module"})),gt="The 'navigation' object hasn't been initialized yet. This might happen if you don't have a navigator mounted, or if the navigator hasn't finished mounting. See https://reactnavigation.org/docs/navigating-without-navigation-prop#handling-initialization for more details.";function Et(){const e=[...Object.keys(ht),"addListener","removeListener","resetRoot","dispatch","isFocused","canGoBack","getRootState","getState","getParent","getCurrentRoute","getCurrentOptions"],t={},r=(s,f)=>{t[s]&&(t[s]=t[s].filter(l=>l!==f))};let c=null;return{get current(){return c},set current(s){c=s,s!=null&&Object.entries(t).forEach(f=>{let[l,g]=f;g.forEach(_=>{s.addListener(l,_)})})},isReady:()=>c==null?!1:c.isReady(),...e.reduce((s,f)=>(s[f]=function(){for(var l=arguments.length,g=new Array(l),_=0;_<l;_++)g[_]=arguments[_];if(c==null)switch(f){case"addListener":{const[h,p]=g;return t[h]=t[h]||[],t[h].push(p),()=>r(h,p)}case"removeListener":{const[h,p]=g;r(h,p);break}default:console.error(gt)}else return c[f](...g)},s),{})}}var yt={},_t=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),Ue="%[a-f0-9]{2}",Pe=new RegExp("("+Ue+")|([^%]+?)","gi"),Ce=new RegExp("("+Ue+")+","gi");function ge(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),c=e.slice(t);return Array.prototype.concat.call([],ge(r),ge(c))}function mt(e){try{return decodeURIComponent(e)}catch{for(var t=e.match(Pe)||[],r=1;r<t.length;r++)e=ge(t,r).join(""),t=e.match(Pe)||[];return e}}function pt(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=Ce.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch{var c=mt(r[0]);c!==r[0]&&(t[r[0]]=c)}r=Ce.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var f=a[s];e=e.replace(new RegExp(f,"g"),t[f])}return e}var Rt=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch{return pt(e)}},bt=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]},St=function(e,t){for(var r={},c=Object.keys(e),a=Array.isArray(t),s=0;s<c.length;s++){var f=c[s],l=e[f];(a?t.indexOf(f)!==-1:t(f,l,e))&&(r[f]=l)}return r};(function(e){const t=_t,r=Rt,c=bt,a=St,s=n=>n==null,f=Symbol("encodeFragmentIdentifier");function l(n){switch(n.arrayFormat){case"index":return i=>(u,o)=>{const d=u.length;return o===void 0||n.skipNull&&o===null||n.skipEmptyString&&o===""?u:o===null?[...u,[h(i,n),"[",d,"]"].join("")]:[...u,[h(i,n),"[",h(d,n),"]=",h(o,n)].join("")]};case"bracket":return i=>(u,o)=>o===void 0||n.skipNull&&o===null||n.skipEmptyString&&o===""?u:o===null?[...u,[h(i,n),"[]"].join("")]:[...u,[h(i,n),"[]=",h(o,n)].join("")];case"colon-list-separator":return i=>(u,o)=>o===void 0||n.skipNull&&o===null||n.skipEmptyString&&o===""?u:o===null?[...u,[h(i,n),":list="].join("")]:[...u,[h(i,n),":list=",h(o,n)].join("")];case"comma":case"separator":case"bracket-separator":{const i=n.arrayFormat==="bracket-separator"?"[]=":"=";return u=>(o,d)=>d===void 0||n.skipNull&&d===null||n.skipEmptyString&&d===""?o:(d=d===null?"":d,o.length===0?[[h(u,n),i,h(d,n)].join("")]:[[o,h(d,n)].join(n.arrayFormatSeparator)])}default:return i=>(u,o)=>o===void 0||n.skipNull&&o===null||n.skipEmptyString&&o===""?u:o===null?[...u,h(i,n)]:[...u,[h(i,n),"=",h(o,n)].join("")]}}function g(n){let i;switch(n.arrayFormat){case"index":return(u,o,d)=>{if(i=/\[(\d*)\]$/.exec(u),u=u.replace(/\[\d*\]$/,""),!i){d[u]=o;return}d[u]===void 0&&(d[u]={}),d[u][i[1]]=o};case"bracket":return(u,o,d)=>{if(i=/(\[\])$/.exec(u),u=u.replace(/\[\]$/,""),!i){d[u]=o;return}if(d[u]===void 0){d[u]=[o];return}d[u]=[].concat(d[u],o)};case"colon-list-separator":return(u,o,d)=>{if(i=/(:list)$/.exec(u),u=u.replace(/:list$/,""),!i){d[u]=o;return}if(d[u]===void 0){d[u]=[o];return}d[u]=[].concat(d[u],o)};case"comma":case"separator":return(u,o,d)=>{const m=typeof o=="string"&&o.includes(n.arrayFormatSeparator),y=typeof o=="string"&&!m&&p(o,n).includes(n.arrayFormatSeparator);o=y?p(o,n):o;const O=m||y?o.split(n.arrayFormatSeparator).map(L=>p(L,n)):o===null?o:p(o,n);d[u]=O};case"bracket-separator":return(u,o,d)=>{const m=/(\[\])$/.test(u);if(u=u.replace(/\[\]$/,""),!m){d[u]=o&&p(o,n);return}const y=o===null?[]:o.split(n.arrayFormatSeparator).map(O=>p(O,n));if(d[u]===void 0){d[u]=y;return}d[u]=[].concat(d[u],y)};default:return(u,o,d)=>{if(d[u]===void 0){d[u]=o;return}d[u]=[].concat(d[u],o)}}}function _(n){if(typeof n!="string"||n.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function h(n,i){return i.encode?i.strict?t(n):encodeURIComponent(n):n}function p(n,i){return i.decode?r(n):n}function x(n){return Array.isArray(n)?n.sort():typeof n=="object"?x(Object.keys(n)).sort((i,u)=>Number(i)-Number(u)).map(i=>n[i]):n}function v(n){const i=n.indexOf("#");return i!==-1&&(n=n.slice(0,i)),n}function N(n){let i="";const u=n.indexOf("#");return u!==-1&&(i=n.slice(u)),i}function R(n){n=v(n);const i=n.indexOf("?");return i===-1?"":n.slice(i+1)}function S(n,i){return i.parseNumbers&&!Number.isNaN(Number(n))&&typeof n=="string"&&n.trim()!==""?n=Number(n):i.parseBooleans&&n!==null&&(n.toLowerCase()==="true"||n.toLowerCase()==="false")&&(n=n.toLowerCase()==="true"),n}function b(n,i){i=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},i),_(i.arrayFormatSeparator);const u=g(i),o=Object.create(null);if(typeof n!="string"||(n=n.trim().replace(/^[?#&]/,""),!n))return o;for(const d of n.split("&")){if(d==="")continue;let[m,y]=c(i.decode?d.replace(/\+/g," "):d,"=");y=y===void 0?null:["comma","separator","bracket-separator"].includes(i.arrayFormat)?y:p(y,i),u(p(m,i),y,o)}for(const d of Object.keys(o)){const m=o[d];if(typeof m=="object"&&m!==null)for(const y of Object.keys(m))m[y]=S(m[y],i);else o[d]=S(m,i)}return i.sort===!1?o:(i.sort===!0?Object.keys(o).sort():Object.keys(o).sort(i.sort)).reduce((d,m)=>{const y=o[m];return y&&typeof y=="object"&&!Array.isArray(y)?d[m]=x(y):d[m]=y,d},Object.create(null))}e.extract=R,e.parse=b,e.stringify=(n,i)=>{if(!n)return"";i=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},i),_(i.arrayFormatSeparator);const u=y=>i.skipNull&&s(n[y])||i.skipEmptyString&&n[y]==="",o=l(i),d={};for(const y of Object.keys(n))u(y)||(d[y]=n[y]);const m=Object.keys(d);return i.sort!==!1&&m.sort(i.sort),m.map(y=>{const O=n[y];return O===void 0?"":O===null?h(y,i):Array.isArray(O)?O.length===0&&i.arrayFormat==="bracket-separator"?h(y,i)+"[]":O.reduce(o(y),[]).join("&"):h(y,i)+"="+h(O,i)}).filter(y=>y.length>0).join("&")},e.parseUrl=(n,i)=>{i=Object.assign({decode:!0},i);const[u,o]=c(n,"#");return Object.assign({url:u.split("?")[0]||"",query:b(R(n),i)},i&&i.parseFragmentIdentifier&&o?{fragmentIdentifier:p(o,i)}:{})},e.stringifyUrl=(n,i)=>{i=Object.assign({encode:!0,strict:!0,[f]:!0},i);const u=v(n.url).split("?")[0]||"",o=e.extract(n.url),d=e.parse(o,{sort:!1}),m=Object.assign(d,n.query);let y=e.stringify(m,i);y&&(y=`?${y}`);let O=N(n.url);return n.fragmentIdentifier&&(O=`#${i[f]?h(n.fragmentIdentifier,i):n.fragmentIdentifier}`),`${u}${y}${O}`},e.pick=(n,i,u)=>{u=Object.assign({parseFragmentIdentifier:!0,[f]:!1},u);const{url:o,query:d,fragmentIdentifier:m}=e.parseUrl(n,u);return e.stringifyUrl({url:o,query:a(d,i),fragmentIdentifier:m},u)},e.exclude=(n,i,u)=>{const o=Array.isArray(i)?d=>!i.includes(d):(d,m)=>!i(d,m);return e.pick(n,o,u)}})(yt);var ze={};Object.defineProperty(ze,"__esModule",{value:!0});var Ne=A,Ot=typeof document<"u"?Ne.useLayoutEffect:Ne.useEffect;ze.default=Ot;const ae=Et();var Y=(e=>(e[e.searchTerm=3]="searchTerm",e[e.searchResultAmount=4]="searchResultAmount",e[e.searchType=5]="searchType",e[e.searchResultTitle=6]="searchResultTitle",e[e.searchResultUrl=7]="searchResultUrl",e[e.searchResultType=8]="searchResultType",e[e.searchResultSelected=9]="searchResultSelected",e[e.contentTitle=10]="contentTitle",e[e.contentSubject=11]="contentSubject",e[e.contentTeam=12]="contentTeam",e[e.contentPublicationDate=13]="contentPublicationDate",e[e.contentType=14]="contentType",e[e.userIntext=15]="userIntext",e[e.searchMachine=16]="searchMachine",e[e.pageType=17]="pageType",e[e.contentId=20]="contentId",e[e.newState=36]="newState",e[e.routeName=43]="routeName",e[e.pushTitle=44]="pushTitle",e[e.pushContent=45]="pushContent",e[e.isPushNotificationDeeplink=47]="isPushNotificationDeeplink",e))(Y||{}),ne=(e=>(e[e.userType=1]="userType",e[e.userCity=2]="userCity",e[e.appVersion=18]="appVersion",e[e.appVersionWithBuild=19]="appVersionWithBuild",e[e.reduceMotionEnabled=21]="reduceMotionEnabled",e[e.screenReaderEnabled=22]="screenReaderEnabled",e[e.accessibilityServiceEnabled=23]="accessibilityServiceEnabled",e[e.boldTextEnabled=24]="boldTextEnabled",e[e.grayscaleEnabled=25]="grayscaleEnabled",e[e.invertColorsEnabled=26]="invertColorsEnabled",e[e.reduceTransparencyEnabled=27]="reduceTransparencyEnabled",e[e.fontScale=28]="fontScale",e[e.isLandscape=29]="isLandscape",e[e.isPortrait=30]="isPortrait",e[e.isTablet=31]="isTablet",e[e.hasCameraPermission=32]="hasCameraPermission",e[e.hasPhotosPermission=33]="hasPhotosPermission",e[e.hasLocationPermission=34]="hasLocationPermission",e[e.hasNotificationPermission=35]="hasNotificationPermission",e[e.contactModule=37]="contactModule",e[e.redirectsModule=38]="redirectsModule",e[e.wasteGuideModule=39]="wasteGuideModule",e[e.reportProblemModule=40]="reportProblemModule",e[e.constructionWorkModule=41]="constructionWorkModule",e[e.constructionWorkEditorModule=42]="constructionWorkEditorModule",e[e.cityPassModule=46]="cityPassModule",e))(ne||{}),Tt=(e=>(e.accessibilityAction="accessibilityAction",e.accessibilityChange="accessibilityChange",e.addressAdd="addressAdd",e.addressChange="addressChange",e.blur="blur",e.buttonPress="buttonPress",e.deviceInfoChange="deviceInfoChange",e.finishedReport="finishedReport",e.locationOrAddressSelectionChange="locationOrAddressSelectionChange",e.moduleChange="moduleChange",e.pushNotificationDisplay="pushNotificationDisplay",e.pushNotificationTap="pushNotificationTap",e.radioChange="radioChange",e.startUp="startUp",e.swipeOut="swipeOut",e.toForeground="toForeground",e.toggle="toggle",e))(Tt||{}),se=(e=>(e.alreadyInitialized="Piwik Pro SDK has been already initialized",e.missingEnvVars="PIWIK_PRO_URL or PIWIK_PRO_ID are not defined in env",e))(se||{});const vt=e=>{if(e)return Object.keys(e).filter(t=>e[t]!==void 0).reduce((t,r)=>({...t,[r]:e[r]}),{})},Pt="1.10.0",Ct=Qe(),$e=Ze?Pt:Je(),Nt=`${$e}.${Ct}`,It={[ne.appVersion]:$e,[ne.appVersionWithBuild]:Nt},At=(e,t=!1)=>t?Object.keys(e).reduce((r,c)=>{const a=ne[c]??Y[c];return a&&(r[a]=e[c]),r},{}):e,F=(e,t=!1)=>vt(At({...It,...e},t)),Dt=e=>{const t={};return e&&Object.keys(e).forEach(r=>{if(typeof e[r]!="string"&&typeof e[r]!="number")return;const c=r==="id"?"contentId":r;Object.values(Y).includes(c)&&(t[Y[c]]=e[r].toString())}),{appInsights:F(t,!0),piwik:F(t,!1)}},Ie=e=>{const t=(e==null?void 0:e.screenTitle)??(e==null?void 0:e.screenHeaderTitle);if(t)return decodeURIComponent(t)};var Ee={},U={},W={},ue={},oe={};Object.defineProperty(oe,"__esModule",{value:!0});oe.encodeString=jt;const D=Array.from({length:256},(e,t)=>"%"+((t<16?"0":"")+t.toString(16)).toUpperCase()),xt=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function jt(e){const t=e.length;if(t===0)return"";let r="",c=0,a=0;e:for(;a<t;a++){let s=e.charCodeAt(a);for(;s<128;){if(xt[s]!==1&&(c<a&&(r+=e.slice(c,a)),c=a+1,r+=D[s]),++a===t)break e;s=e.charCodeAt(a)}if(c<a&&(r+=e.slice(c,a)),s<2048){c=a+1,r+=D[192|s>>6]+D[128|s&63];continue}if(s<55296||s>=57344){c=a+1,r+=D[224|s>>12]+D[128|s>>6&63]+D[128|s&63];continue}if(++a,a>=t)throw new Error("URI malformed");const f=e.charCodeAt(a)&1023;c=a+1,s=65536+((s&1023)<<10|f),r+=D[240|s>>18]+D[128|s>>12&63]+D[128|s>>6&63]+D[128|s&63]}return c===0?e:c<t?r+e.slice(c):r}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;const t=oe,r=s=>{switch(typeof s){case"string":return(0,t.encodeString)(s);case"bigint":case"boolean":return""+s;case"number":if(Number.isFinite(s))return s<1e21?""+s:(0,t.encodeString)(""+s);break}return s instanceof Date?(0,t.encodeString)(s.toISOString()):""};e.defaultValueSerializer=r;const c=s=>s instanceof Date;e.defaultShouldSerializeObject=c;const a=s=>s;e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:a,valueSerializer:e.defaultValueSerializer,keyDeserializer:a,shouldSerializeObject:e.defaultShouldSerializeObject}})(ue);Object.defineProperty(W,"__esModule",{value:!0});W.getDeepObject=Mt;W.stringifyObject=we;const M=ue,Ft=oe;function Lt(e){return e==="__proto__"||e==="constructor"||e==="prototype"}function Mt(e,t,r,c,a){if(Lt(t))return e;const s=e[t];return typeof s=="object"&&s!==null?s:!c&&(a||typeof r=="number"||typeof r=="string"&&r*0===0&&r.indexOf(".")===-1)?e[t]=[]:e[t]={}}const Vt=20,Ut="[]",zt="[",$t="]",wt=".";function we(e,t,r=0,c,a){const{nestingSyntax:s=M.defaultOptions.nestingSyntax,arrayRepeat:f=M.defaultOptions.arrayRepeat,arrayRepeatSyntax:l=M.defaultOptions.arrayRepeatSyntax,nesting:g=M.defaultOptions.nesting,delimiter:_=M.defaultOptions.delimiter,valueSerializer:h=M.defaultOptions.valueSerializer,shouldSerializeObject:p=M.defaultOptions.shouldSerializeObject}=t,x=typeof _=="number"?String.fromCharCode(_):_,v=a===!0&&f,N=s==="dot"||s==="js"&&!a;if(r>Vt)return"";let R="",S=!0,b=!1;for(const n in e){const i=e[n];if(i===void 0)continue;let u;c?(u=c,v?l==="bracket"&&(u+=Ut):N?(u+=wt,u+=n):(u+=zt,u+=n,u+=$t)):u=n,S||(R+=x),typeof i=="object"&&i!==null&&!p(i)?(b=i.pop!==void 0,(g||f&&b)&&(R+=we(i,t,r+1,u,b))):(R+=(0,Ft.encodeString)(u),R+="=",R+=h(i,n)),S&&(S=!1)}return R}var Ae=12,Gt=0,fe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function Bt(e){var t=e.indexOf("%");if(t===-1)return e;for(var r=e.length,c="",a=0,s=0,f=t,l=Ae;t>-1&&t<r;){var g=De(e[t+1],4),_=De(e[t+2],0),h=g|_,p=fe[h];if(l=fe[256+l+p],s=s<<6|h&fe[364+p],l===Ae)c+=e.slice(a,f),c+=s<=65535?String.fromCharCode(s):String.fromCharCode(55232+(s>>10),56320+(s&1023)),s=0,a=t+3,t=f=e.indexOf("%",a);else{if(l===Gt)return null;if(t+=3,t<r&&e.charCodeAt(t)===37)continue;return null}}return c+e.slice(a)}var Kt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function De(e,t){var r=Kt[e];return r===void 0?255:r<<t}var Ht=Bt,Yt=z&&z.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(U,"__esModule",{value:!0});U.numberValueDeserializer=U.numberKeyDeserializer=void 0;U.parse=qt;const Q=W,V=ue,Ge=Yt(Ht),Wt=e=>{const t=Number(e);return Number.isNaN(t)?e:t};U.numberKeyDeserializer=Wt;const kt=e=>{const t=Number(e);return Number.isNaN(t)?e:t};U.numberValueDeserializer=kt;const Be=/\+/g,Ke=function(){};Ke.prototype=Object.create(null);function J(e,t,r,c,a){let s=e.substring(t,r);return c&&(s=s.replace(Be," ")),a&&(s=(0,Ge.default)(s)||s),s}function qt(e,t){const{valueDeserializer:r=V.defaultOptions.valueDeserializer,keyDeserializer:c=V.defaultOptions.keyDeserializer,arrayRepeatSyntax:a=V.defaultOptions.arrayRepeatSyntax,nesting:s=V.defaultOptions.nesting,arrayRepeat:f=V.defaultOptions.arrayRepeat,nestingSyntax:l=V.defaultOptions.nestingSyntax,delimiter:g=V.defaultOptions.delimiter}=t??{},_=typeof g=="string"?g.charCodeAt(0):g,h=l==="js",p=new Ke;if(typeof e!="string")return p;const x=e.length;let v="",N=-1,R=-1,S=-1,b=p,n,i="",u="",o=!1,d=!1,m=!1,y=!1,O=!1,L=!1,q=!1,j=0,w=-1,G=-1,_e=-1;for(let T=0;T<x+1;T++){if(j=T!==x?e.charCodeAt(T):_,j===_){if(q=R>N,q||(R=T),S!==R-1&&(u=J(e,S+1,w>-1?w:R,m,o),i=c(u),n!==void 0&&(b=(0,Q.getDeepObject)(b,n,i,h&&O,h&&L))),q||i!==""){q&&(v=e.slice(R+1,T),y&&(v=v.replace(Be," ")),d&&(v=(0,Ge.default)(v)||v));const B=r(v,i);if(f){const X=b[i];X===void 0?w>-1?b[i]=[B]:b[i]=B:X.pop?X.push(B):b[i]=[X,B]}else b[i]=B}v="",N=T,R=T,o=!1,d=!1,m=!1,y=!1,O=!1,L=!1,w=-1,S=T,b=p,n=void 0,i=""}else j===93?(f&&a==="bracket"&&_e===91&&(w=G),s&&(l==="index"||h)&&R<=N&&(S!==G&&(u=J(e,S+1,T,m,o),i=c(u),n!==void 0&&(b=(0,Q.getDeepObject)(b,n,i,void 0,h)),n=i,m=!1,o=!1),S=T,L=!0,O=!1)):j===46?s&&(l==="dot"||h)&&R<=N&&(S!==G&&(u=J(e,S+1,T,m,o),i=c(u),n!==void 0&&(b=(0,Q.getDeepObject)(b,n,i,h)),n=i,m=!1,o=!1),O=!0,L=!1,S=T):j===91?s&&(l==="index"||h)&&R<=N&&(S!==G&&(u=J(e,S+1,T,m,o),i=c(u),h&&n!==void 0&&(b=(0,Q.getDeepObject)(b,n,i,h)),n=i,m=!1,o=!1,O=!1,L=!0),S=T):j===61?R<=N?R=T:d=!0:j===43?R>N?y=!0:m=!0:j===37&&(R>N?d=!0:o=!0);G=T,_e=j}return p}var ye={};Object.defineProperty(ye,"__esModule",{value:!0});ye.stringify=Qt;const Xt=W;function Qt(e,t){if(e===null||typeof e!="object")return"";const r=t??{};return(0,Xt.stringifyObject)(e,r)}(function(e){var t=z&&z.__createBinding||(Object.create?function(s,f,l,g){g===void 0&&(g=l);var _=Object.getOwnPropertyDescriptor(f,l);(!_||("get"in _?!f.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return f[l]}}),Object.defineProperty(s,g,_)}:function(s,f,l,g){g===void 0&&(g=l),s[g]=f[l]}),r=z&&z.__exportStar||function(s,f){for(var l in s)l!=="default"&&!Object.prototype.hasOwnProperty.call(f,l)&&t(f,s,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var c=U;Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return c.parse}});var a=ye;Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return a.stringify}}),r(ue,e)})(Ee);const Jt=e=>{if(!e)return"";const t={};return Object.keys(Ee.parse(e)).forEach(r=>{t[r]="___"}),`?${Ee.stringify(t)}`},Zt=e=>e?`#${e.split("/").map(()=>"___").join("/")}`:"",er=(e="")=>{const[t,r,...c]=e.split("#"),[a,s,...f]=t.split("?");if(c.length||f.length)return a;const l=Jt(s),g=Zt(r);return`${a}${l}${g}`},Z="useTrackEvents.ts",tr=(e,t,r,c,a,s)=>({ready:!!c,trackCustomEvent:(f,l,g,_=t,h=void 0)=>{c&&c.trackCustomEvent(_,l,{path:a,customDimensions:F(g),value:h,name:f}).catch(()=>{e(K.piwikTrackCustomEvent,Z,{category:_,action:l,name:f,routeName:a,value:h})}),r.trackEvent({name:l,properties:{...F(g,!0),value:h,name:f,routeName:a,category:_}})},trackOutlink:(f,l)=>{const g=er(f);c&&c.trackOutlink(g,{...l,customDimensions:F({...l==null?void 0:l.customDimensions,[Y.routeName]:a})}).catch(()=>{e(K.piwikTrackOutlink,Z,{url:g})}),r.trackEvent({name:"outlink",properties:{...F(l==null?void 0:l.customDimensions,!0),url:g,routeName:a,category:t}})},trackScreen:f=>{const l=f??a;if(!l)return;const{appInsights:g,piwik:_}=Dt(s);c&&c.trackScreen(l,{title:Ie(s),customDimensions:_}).catch(()=>{e(K.piwikTrackScreen,Z,{path:f})}),r.trackPageView({name:l},{...g,title:Ie(s)})},trackSearch:(f,l)=>{c&&c.trackSearch(f,{...l,customDimensions:F(l==null?void 0:l.customDimensions)}).catch(()=>{e(K.piwikTrackSearch,Z)}),r.trackEvent({name:"search",properties:{...F(l==null?void 0:l.customDimensions,!0),keyword:f,routeName:a,category:t}})}});function rr(e){if(!Number.isInteger(e))throw new Error("Parameter must be an integer number")}function re(e){e&&Object.entries(e).forEach(t=>{let[r,c]=t;const a=parseInt(r,10);if(r!==a.toString())throw new Error("ID (key) must be an integer");if(a<1)throw new Error("ID (key) must be an integer greater than 0")})}function k(e){e.forEach(t=>{let r=t.customDimensions;if(r){if(Object.keys(r).length>20)throw new Error("Max 20 product custom dimensions, 20 is max ID.");re(r)}})}function ar(e){if(!/^[0-9a-f]{16}$/.test(e))throw new Error(`Visitor ID ${e} has invalid format. The format must match the regular expression: ^[0-9a-f]{16}$`)}const nr="1.1.0",sr=`The package 'react-native-piwik-pro-sdk' doesn't seem to be linked. Make sure: `+at.select({ios:`- You have run 'pod install' `,default:""})+`- You rebuilt the app after installing the package diff --git a/iframe.html b/iframe.html index 823197e4..9cfd1881 100644 --- a/iframe.html +++ b/iframe.html @@ -509,7 +509,7 @@ } </script> - <script type="module" crossorigin src="./assets/iframe-Cwt7ez56.js"></script> + <script type="module" crossorigin src="./assets/iframe-oMwCeC19.js"></script> </head> <body> diff --git a/project.json b/project.json index f8581c9b..d78323b4 100644 --- a/project.json +++ b/project.json @@ -1 +1 @@ -{"generatedAt":1733760128765,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@types/jest":"29.5.12","babel-jest":"29.7.0","eslint-plugin-jest":"27.9.0","jest":"29.7.0","jest-matcher-deep-close-to":"3.0.2","jest-trx-results-processor":"3.0.2"},"packageManager":{"type":"npm","version":"10.8.1"},"typescriptOptions":{"reactDocgen":"react-docgen-typescript"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"language":"typescript","storybookPackages":{"@storybook/react-vite":{"version":"8.4.2"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.4.2"}},"addons":{"@storybook/addon-essentials":{"version":"8.4.2"},"@storybook/addon-a11y":{"version":"8.4.2"}}} \ No newline at end of file +{"generatedAt":1733842742875,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@types/jest":"29.5.12","babel-jest":"29.7.0","eslint-plugin-jest":"27.9.0","jest":"29.7.0","jest-matcher-deep-close-to":"3.0.2","jest-trx-results-processor":"3.0.2"},"packageManager":{"type":"npm","version":"10.8.1"},"typescriptOptions":{"reactDocgen":"react-docgen-typescript"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"language":"typescript","storybookPackages":{"@storybook/react-vite":{"version":"8.4.2"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.4.2"}},"addons":{"@storybook/addon-essentials":{"version":"8.4.2"},"@storybook/addon-a11y":{"version":"8.4.2"}}} \ No newline at end of file diff --git a/version.txt b/version.txt index 1c3b8816..ee723a6f 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.10.0.20241209.1 +1.10.0.20241210.1