@opensite/ui 2.5.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/registry.cjs CHANGED
@@ -12,7 +12,6 @@ var PopoverPrimitive = require('@radix-ui/react-popover');
12
12
  var icon = require('@page-speed/icon');
13
13
  var usePlatformFromUrl = require('@opensite/hooks/usePlatformFromUrl');
14
14
  var TabsPrimitive = require('@radix-ui/react-tabs');
15
- var forms = require('@page-speed/forms');
16
15
  var integration = require('@page-speed/forms/integration');
17
16
  var framerMotion = require('framer-motion');
18
17
  var lightbox = require('@page-speed/lightbox');
@@ -28,6 +27,7 @@ var CheckboxPrimitive = require('@radix-ui/react-checkbox');
28
27
  var LabelPrimitive = require('@radix-ui/react-label');
29
28
  var dateFns = require('date-fns');
30
29
  var DialogPrimitive = require('@radix-ui/react-dialog');
30
+ var forms = require('@page-speed/forms');
31
31
  var TooltipPrimitive = require('@radix-ui/react-tooltip');
32
32
  var NavigationMenuPrimitive = require('@radix-ui/react-navigation-menu');
33
33
  var SwitchPrimitive = require('@radix-ui/react-switch');
@@ -4396,12 +4396,18 @@ function FooterLinksGrid({
4396
4396
  }
4397
4397
  );
4398
4398
  }
4399
+ var DEFAULT_STYLE_RULES = {
4400
+ formContainer: "flex items-stretch w-full",
4401
+ fieldsContainer: "",
4402
+ fieldClassName: "",
4403
+ formClassName: ""
4404
+ };
4399
4405
  var DEFAULT_FORM_FIELDS = [
4400
4406
  {
4401
4407
  name: "email",
4402
4408
  type: "email",
4403
4409
  label: "Email Address",
4404
- placeholder: "Enter your email",
4410
+ placeholder: "Email Address",
4405
4411
  required: true,
4406
4412
  columnSpan: 12
4407
4413
  }
@@ -4414,7 +4420,6 @@ function FooterSocialNewsletter({
4414
4420
  className,
4415
4421
  contentClassName,
4416
4422
  logoWrapperClassName,
4417
- logoClassName,
4418
4423
  gridClassName,
4419
4424
  navSectionClassName,
4420
4425
  navTitleClassName,
@@ -4423,16 +4428,7 @@ function FooterSocialNewsletter({
4423
4428
  socialColumnClassName,
4424
4429
  socialLinksClassName,
4425
4430
  socialLinkClassName,
4426
- formFields = DEFAULT_FORM_FIELDS,
4427
- formConfig,
4428
- onSubmit,
4429
- onSuccess,
4430
- onError,
4431
- successMessage,
4432
- buttonAction,
4433
- helperText,
4434
- formSlot,
4435
- privacyClassName,
4431
+ formEngineSetup,
4436
4432
  bottomClassName,
4437
4433
  copyrightClassName,
4438
4434
  background,
@@ -4442,104 +4438,36 @@ function FooterSocialNewsletter({
4442
4438
  patternOpacity,
4443
4439
  optixFlowConfig
4444
4440
  }) {
4445
- const {
4446
- uploadTokens,
4447
- uploadProgress,
4448
- isUploading,
4449
- uploadFiles,
4450
- removeFile,
4451
- resetUpload
4452
- } = integration.useFileUpload({ onError });
4453
- const { form, submissionError, formMethod, resetSubmissionState } = integration.useContactForm({
4454
- formFields,
4455
- formConfig,
4456
- onSubmit,
4457
- onSuccess: (data) => {
4458
- resetUpload();
4459
- onSuccess?.(data);
4460
- },
4461
- onError,
4462
- uploadTokens
4463
- });
4464
4441
  const renderForm = React30__namespace.useMemo(() => {
4465
- if (formSlot) return formSlot;
4466
- const defaultButtonAction = {
4467
- label: "Subscribe",
4442
+ if (!formEngineSetup) return null;
4443
+ const action = {
4468
4444
  variant: "default",
4469
- className: "h-12"
4445
+ icon: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-right", size: 16 })
4470
4446
  };
4471
- const action = buttonAction || defaultButtonAction;
4472
- return /* @__PURE__ */ jsxRuntime.jsxs(
4473
- forms.Form,
4447
+ return /* @__PURE__ */ jsxRuntime.jsx(
4448
+ integration.FormEngine,
4474
4449
  {
4475
- form,
4476
- fields: formFields,
4477
- notificationConfig: {
4478
- submissionError,
4479
- successMessage
4480
- },
4481
- formConfig: {
4482
- endpoint: formConfig?.endpoint,
4483
- method: formMethod,
4484
- submissionConfig: formConfig?.submissionConfig,
4485
- formLayout: "button-group",
4486
- buttonGroupSize: "sm",
4487
- submitLabel: action.label,
4488
- submitVariant: action.variant || "default",
4489
- submitIconComponent: action.icon || /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/send" })
4490
- },
4491
- onNewSubmission: () => {
4492
- resetUpload();
4493
- resetSubmissionState();
4450
+ formEngineSetup: {
4451
+ ...formEngineSetup,
4452
+ formLayoutSettings: {
4453
+ ...formEngineSetup.formLayoutSettings,
4454
+ formLayout: "button-group",
4455
+ buttonGroupSetup: {
4456
+ ...formEngineSetup.formLayoutSettings?.buttonGroupSetup,
4457
+ size: "default",
4458
+ submitLabel: action.icon || action.label,
4459
+ submitVariant: action.variant
4460
+ }
4461
+ }
4494
4462
  },
4495
- children: [
4496
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 sm:flex-row", children: [
4497
- formFields.map((field) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
4498
- integration.DynamicFormField,
4499
- {
4500
- field,
4501
- uploadProgress,
4502
- onFileUpload: uploadFiles,
4503
- onFileRemove: removeFile,
4504
- isUploading
4505
- }
4506
- ) }, field.name)),
4507
- /* @__PURE__ */ jsxRuntime.jsxs(
4508
- Pressable,
4509
- {
4510
- onClick: form.handleSubmit,
4511
- asButton: true,
4512
- variant: action.variant,
4513
- className: cn("h-12", action.className),
4514
- disabled: form.isSubmitting,
4515
- children: [
4516
- action.label,
4517
- action.iconAfter
4518
- ]
4519
- }
4520
- )
4521
- ] }),
4522
- helperText && (typeof helperText === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm mt-2"), children: helperText }) : helperText)
4523
- ]
4463
+ defaultFields: DEFAULT_FORM_FIELDS,
4464
+ defaultStyleRules: {
4465
+ ...DEFAULT_STYLE_RULES,
4466
+ formContainer: cn(DEFAULT_STYLE_RULES.formContainer)
4467
+ }
4524
4468
  }
4525
4469
  );
4526
- }, [
4527
- formSlot,
4528
- formFields,
4529
- form,
4530
- formConfig,
4531
- formMethod,
4532
- buttonAction,
4533
- uploadProgress,
4534
- uploadFiles,
4535
- removeFile,
4536
- isUploading,
4537
- submissionError,
4538
- successMessage,
4539
- helperText,
4540
- resetUpload,
4541
- resetSubmissionState
4542
- ]);
4470
+ }, [formEngineSetup]);
4543
4471
  return /* @__PURE__ */ jsxRuntime.jsx(
4544
4472
  Section,
4545
4473
  {
@@ -4547,20 +4475,26 @@ function FooterSocialNewsletter({
4547
4475
  spacing,
4548
4476
  pattern,
4549
4477
  patternOpacity,
4550
- className: cn(className),
4478
+ className,
4551
4479
  containerClassName,
4552
4480
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(contentClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("footer", { children: [
4553
4481
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-20", children: [
4554
4482
  logo && /* @__PURE__ */ jsxRuntime.jsx(
4555
- FooterLogo,
4483
+ Pressable,
4556
4484
  {
4557
- logo,
4558
- logoClassName: cn(
4559
- "flex items-center gap-2",
4560
- logoWrapperClassName
4561
- ),
4562
- logoImageClassName: cn("h-10", logoClassName),
4563
- optixFlowConfig
4485
+ href: logo.url || "/",
4486
+ className: cn("block mb-8 md:mb-12", logoWrapperClassName),
4487
+ children: /* @__PURE__ */ jsxRuntime.jsx(
4488
+ img.Img,
4489
+ {
4490
+ src: logo.src,
4491
+ className: cn(
4492
+ "h-16 object-contain w-auto max-w-full",
4493
+ logo.className
4494
+ ),
4495
+ optixFlowConfig
4496
+ }
4497
+ )
4564
4498
  }
4565
4499
  ),
4566
4500
  socialLinks && socialLinks.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-6", socialColumnClassName), children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -4573,10 +4507,9 @@ function FooterSocialNewsletter({
4573
4507
  children: socialLinks.map((social, idx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
4574
4508
  SocialLinkIcon,
4575
4509
  {
4576
- href: social.href,
4577
- label: social.label,
4578
- iconNameOverride: social.iconNameOverride,
4579
- iconSize: 20,
4510
+ size: "icon-lg",
4511
+ variant: "ghost",
4512
+ ...social,
4580
4513
  className: cn(
4581
4514
  "opacity-80 transition-colors hover:opacity-100",
4582
4515
  socialLinkClassName
@@ -6086,7 +6019,7 @@ function FooterAnimatedSocial({
6086
6019
  }
6087
6020
  );
6088
6021
  }
6089
- var DEFAULT_STYLE_RULES = {
6022
+ var DEFAULT_STYLE_RULES2 = {
6090
6023
  formContainer: "flex w-full items-end border-b border-b-foreground/10",
6091
6024
  fieldsContainer: "",
6092
6025
  fieldClassName: "",
@@ -6209,9 +6142,9 @@ function FooterNewsletterMinimal({
6209
6142
  },
6210
6143
  defaultFields: DEFAULT_FORM_FIELDS2,
6211
6144
  defaultStyleRules: {
6212
- ...DEFAULT_STYLE_RULES,
6145
+ ...DEFAULT_STYLE_RULES2,
6213
6146
  formContainer: cn(
6214
- DEFAULT_STYLE_RULES.formContainer,
6147
+ DEFAULT_STYLE_RULES2.formContainer,
6215
6148
  newsletterFormClassName
6216
6149
  )
6217
6150
  }
@@ -11623,7 +11556,7 @@ function CtaImageOverlayArrow({
11623
11556
  }
11624
11557
  );
11625
11558
  }
11626
- var DEFAULT_STYLE_RULES2 = {
11559
+ var DEFAULT_STYLE_RULES3 = {
11627
11560
  formContainer: "flex items-stretch w-full",
11628
11561
  fieldsContainer: "",
11629
11562
  fieldClassName: "",
@@ -11694,8 +11627,8 @@ function CtaAppDownloadNewsletter({
11694
11627
  },
11695
11628
  defaultFields: DEFAULT_FORM_FIELDS3,
11696
11629
  defaultStyleRules: {
11697
- ...DEFAULT_STYLE_RULES2,
11698
- formContainer: cn(DEFAULT_STYLE_RULES2.formContainer, formClassName)
11630
+ ...DEFAULT_STYLE_RULES3,
11631
+ formContainer: cn(DEFAULT_STYLE_RULES3.formContainer, formClassName)
11699
11632
  }
11700
11633
  }
11701
11634
  );
@@ -11803,7 +11736,7 @@ function CtaAppDownloadNewsletter({
11803
11736
  }
11804
11737
  );
11805
11738
  }
11806
- var DEFAULT_STYLE_RULES3 = {
11739
+ var DEFAULT_STYLE_RULES4 = {
11807
11740
  formContainer: "mx-auto mb-8 flex max-w-md items-stretch w-full",
11808
11741
  fieldsContainer: "",
11809
11742
  fieldClassName: "",
@@ -11868,8 +11801,8 @@ function CtaNewsletterFeatures({
11868
11801
  },
11869
11802
  defaultFields: DEFAULT_FORM_FIELDS4,
11870
11803
  defaultStyleRules: {
11871
- ...DEFAULT_STYLE_RULES3,
11872
- formContainer: cn(DEFAULT_STYLE_RULES3.formContainer, formClassName)
11804
+ ...DEFAULT_STYLE_RULES4,
11805
+ formContainer: cn(DEFAULT_STYLE_RULES4.formContainer, formClassName)
11873
11806
  }
11874
11807
  }
11875
11808
  );
@@ -13545,7 +13478,7 @@ function ContactFloatingBanner({
13545
13478
  }
13546
13479
  );
13547
13480
  }
13548
- var DEFAULT_STYLE_RULES4 = {
13481
+ var DEFAULT_STYLE_RULES5 = {
13549
13482
  formContainer: "",
13550
13483
  fieldsContainer: "",
13551
13484
  fieldClassName: "",
@@ -13720,7 +13653,7 @@ function ContactCallback({
13720
13653
  {
13721
13654
  formEngineSetup,
13722
13655
  defaultFields: DEFAULT_FORM_FIELDS5,
13723
- defaultStyleRules: DEFAULT_STYLE_RULES4
13656
+ defaultStyleRules: DEFAULT_STYLE_RULES5
13724
13657
  }
13725
13658
  ) : null
13726
13659
  ] }) })
@@ -13728,7 +13661,7 @@ function ContactCallback({
13728
13661
  }
13729
13662
  );
13730
13663
  }
13731
- var DEFAULT_STYLE_RULES5 = {
13664
+ var DEFAULT_STYLE_RULES6 = {
13732
13665
  formContainer: "",
13733
13666
  fieldsContainer: "",
13734
13667
  fieldClassName: "",
@@ -13857,7 +13790,7 @@ function ContactCard({
13857
13790
  {
13858
13791
  formEngineSetup,
13859
13792
  defaultFields: DEFAULT_FORM_FIELDS6,
13860
- defaultStyleRules: DEFAULT_STYLE_RULES5
13793
+ defaultStyleRules: DEFAULT_STYLE_RULES6
13861
13794
  }
13862
13795
  ) : null }) }),
13863
13796
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -13917,7 +13850,7 @@ function ContactCard({
13917
13850
  }
13918
13851
  );
13919
13852
  }
13920
- var DEFAULT_STYLE_RULES6 = {
13853
+ var DEFAULT_STYLE_RULES7 = {
13921
13854
  formContainer: "",
13922
13855
  fieldsContainer: "",
13923
13856
  fieldClassName: "",
@@ -14075,14 +14008,14 @@ function ContactCareers({
14075
14008
  {
14076
14009
  formEngineSetup,
14077
14010
  defaultFields: DEFAULT_FORM_FIELDS7,
14078
- defaultStyleRules: DEFAULT_STYLE_RULES6
14011
+ defaultStyleRules: DEFAULT_STYLE_RULES7
14079
14012
  }
14080
14013
  ) : null }) })
14081
14014
  ] })
14082
14015
  }
14083
14016
  );
14084
14017
  }
14085
- var DEFAULT_STYLE_RULES7 = {
14018
+ var DEFAULT_STYLE_RULES8 = {
14086
14019
  formContainer: "",
14087
14020
  fieldsContainer: "",
14088
14021
  fieldClassName: "",
@@ -14303,14 +14236,14 @@ function ContactCatering({
14303
14236
  {
14304
14237
  formEngineSetup,
14305
14238
  defaultFields: DEFAULT_FORM_FIELDS8,
14306
- defaultStyleRules: DEFAULT_STYLE_RULES7
14239
+ defaultStyleRules: DEFAULT_STYLE_RULES8
14307
14240
  }
14308
14241
  ) : null }) })
14309
14242
  ] })
14310
14243
  }
14311
14244
  );
14312
14245
  }
14313
- var DEFAULT_STYLE_RULES8 = {
14246
+ var DEFAULT_STYLE_RULES9 = {
14314
14247
  formContainer: "",
14315
14248
  fieldsContainer: "",
14316
14249
  fieldClassName: "",
@@ -14484,14 +14417,14 @@ function ContactConsultation({
14484
14417
  {
14485
14418
  formEngineSetup,
14486
14419
  defaultFields: DEFAULT_FORM_FIELDS9,
14487
- defaultStyleRules: DEFAULT_STYLE_RULES8
14420
+ defaultStyleRules: DEFAULT_STYLE_RULES9
14488
14421
  }
14489
14422
  ) : null }) })
14490
14423
  ] })
14491
14424
  }
14492
14425
  );
14493
14426
  }
14494
- var DEFAULT_STYLE_RULES9 = {
14427
+ var DEFAULT_STYLE_RULES10 = {
14495
14428
  formContainer: "",
14496
14429
  fieldsContainer: "",
14497
14430
  fieldClassName: "",
@@ -14624,7 +14557,7 @@ function ContactDark({
14624
14557
  {
14625
14558
  formEngineSetup,
14626
14559
  defaultFields: DEFAULT_FORM_FIELDS10,
14627
- defaultStyleRules: DEFAULT_STYLE_RULES9
14560
+ defaultStyleRules: DEFAULT_STYLE_RULES10
14628
14561
  }
14629
14562
  ) : null }),
14630
14563
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -14815,7 +14748,7 @@ var BlurText = ({
14815
14748
  }
14816
14749
  );
14817
14750
  };
14818
- var DEFAULT_STYLE_RULES10 = {
14751
+ var DEFAULT_STYLE_RULES11 = {
14819
14752
  formContainer: "",
14820
14753
  fieldsContainer: "",
14821
14754
  fieldClassName: "",
@@ -14930,14 +14863,14 @@ function ContactDemo({
14930
14863
  {
14931
14864
  formEngineSetup,
14932
14865
  defaultFields: DEFAULT_FORM_FIELDS11,
14933
- defaultStyleRules: DEFAULT_STYLE_RULES10
14866
+ defaultStyleRules: DEFAULT_STYLE_RULES11
14934
14867
  }
14935
14868
  ) : null }) })
14936
14869
  ] })
14937
14870
  }
14938
14871
  );
14939
14872
  }
14940
- var DEFAULT_STYLE_RULES11 = {
14873
+ var DEFAULT_STYLE_RULES12 = {
14941
14874
  formContainer: "",
14942
14875
  fieldsContainer: "",
14943
14876
  fieldClassName: "",
@@ -15117,14 +15050,14 @@ function ContactEmergency({
15117
15050
  {
15118
15051
  formEngineSetup,
15119
15052
  defaultFields: DEFAULT_FORM_FIELDS12,
15120
- defaultStyleRules: DEFAULT_STYLE_RULES11
15053
+ defaultStyleRules: DEFAULT_STYLE_RULES12
15121
15054
  }
15122
15055
  ) : null })
15123
15056
  ] })
15124
15057
  }
15125
15058
  );
15126
15059
  }
15127
- var DEFAULT_STYLE_RULES12 = {
15060
+ var DEFAULT_STYLE_RULES13 = {
15128
15061
  formContainer: "",
15129
15062
  fieldsContainer: "",
15130
15063
  fieldClassName: "",
@@ -15226,7 +15159,7 @@ function ContactEvent({
15226
15159
  {
15227
15160
  formEngineSetup,
15228
15161
  defaultFields: DEFAULT_FORM_FIELDS13,
15229
- defaultStyleRules: DEFAULT_STYLE_RULES12
15162
+ defaultStyleRules: DEFAULT_STYLE_RULES13
15230
15163
  }
15231
15164
  ) : null }) })
15232
15165
  ] })
@@ -15293,7 +15226,7 @@ function AccordionContent({
15293
15226
  }
15294
15227
  );
15295
15228
  }
15296
- var DEFAULT_STYLE_RULES13 = {
15229
+ var DEFAULT_STYLE_RULES14 = {
15297
15230
  formContainer: "",
15298
15231
  fieldsContainer: "",
15299
15232
  fieldClassName: "",
@@ -15461,7 +15394,7 @@ function ContactFaq({
15461
15394
  {
15462
15395
  formEngineSetup,
15463
15396
  defaultFields: DEFAULT_FORM_FIELDS14,
15464
- defaultStyleRules: DEFAULT_STYLE_RULES13
15397
+ defaultStyleRules: DEFAULT_STYLE_RULES14
15465
15398
  }
15466
15399
  ) : null
15467
15400
  ] }) }),
@@ -15485,7 +15418,7 @@ function ContactFaq({
15485
15418
  }
15486
15419
  );
15487
15420
  }
15488
- var DEFAULT_STYLE_RULES14 = {
15421
+ var DEFAULT_STYLE_RULES15 = {
15489
15422
  formContainer: "",
15490
15423
  fieldsContainer: "",
15491
15424
  fieldClassName: "",
@@ -15587,14 +15520,14 @@ function ContactFeedback({
15587
15520
  {
15588
15521
  formEngineSetup,
15589
15522
  defaultFields: DEFAULT_FORM_FIELDS15,
15590
- defaultStyleRules: DEFAULT_STYLE_RULES14
15523
+ defaultStyleRules: DEFAULT_STYLE_RULES15
15591
15524
  }
15592
15525
  ) : null }) })
15593
15526
  ] })
15594
15527
  }
15595
15528
  );
15596
15529
  }
15597
- var DEFAULT_STYLE_RULES15 = {
15530
+ var DEFAULT_STYLE_RULES16 = {
15598
15531
  formContainer: "",
15599
15532
  fieldsContainer: "",
15600
15533
  fieldClassName: "",
@@ -15696,14 +15629,14 @@ function ContactFitness({
15696
15629
  {
15697
15630
  formEngineSetup,
15698
15631
  defaultFields: DEFAULT_FORM_FIELDS16,
15699
- defaultStyleRules: DEFAULT_STYLE_RULES15
15632
+ defaultStyleRules: DEFAULT_STYLE_RULES16
15700
15633
  }
15701
15634
  ) : null }) })
15702
15635
  ] })
15703
15636
  }
15704
15637
  );
15705
15638
  }
15706
- var DEFAULT_STYLE_RULES16 = {
15639
+ var DEFAULT_STYLE_RULES17 = {
15707
15640
  formContainer: "",
15708
15641
  fieldsContainer: "",
15709
15642
  fieldClassName: "",
@@ -15805,14 +15738,14 @@ function ContactGuest({
15805
15738
  {
15806
15739
  formEngineSetup,
15807
15740
  defaultFields: DEFAULT_FORM_FIELDS17,
15808
- defaultStyleRules: DEFAULT_STYLE_RULES16
15741
+ defaultStyleRules: DEFAULT_STYLE_RULES17
15809
15742
  }
15810
15743
  ) : null }) })
15811
15744
  ] })
15812
15745
  }
15813
15746
  );
15814
15747
  }
15815
- var DEFAULT_STYLE_RULES17 = {
15748
+ var DEFAULT_STYLE_RULES18 = {
15816
15749
  formContainer: "",
15817
15750
  fieldsContainer: "",
15818
15751
  fieldClassName: "",
@@ -16028,7 +15961,7 @@ function ContactImage({
16028
15961
  {
16029
15962
  formEngineSetup,
16030
15963
  defaultFields: DEFAULT_FORM_FIELDS18,
16031
- defaultStyleRules: DEFAULT_STYLE_RULES17
15964
+ defaultStyleRules: DEFAULT_STYLE_RULES18
16032
15965
  }
16033
15966
  ) : null })
16034
15967
  ]
@@ -16040,7 +15973,7 @@ function ContactImage({
16040
15973
  }
16041
15974
  );
16042
15975
  }
16043
- var DEFAULT_STYLE_RULES18 = {
15976
+ var DEFAULT_STYLE_RULES19 = {
16044
15977
  formContainer: "",
16045
15978
  fieldsContainer: "",
16046
15979
  fieldClassName: "",
@@ -16142,14 +16075,14 @@ function ContactInsurance({
16142
16075
  {
16143
16076
  formEngineSetup,
16144
16077
  defaultFields: DEFAULT_FORM_FIELDS19,
16145
- defaultStyleRules: DEFAULT_STYLE_RULES18
16078
+ defaultStyleRules: DEFAULT_STYLE_RULES19
16146
16079
  }
16147
16080
  ) : null }) })
16148
16081
  ] })
16149
16082
  }
16150
16083
  );
16151
16084
  }
16152
- var DEFAULT_STYLE_RULES19 = {
16085
+ var DEFAULT_STYLE_RULES20 = {
16153
16086
  formContainer: "",
16154
16087
  fieldsContainer: "",
16155
16088
  fieldClassName: "",
@@ -16273,14 +16206,14 @@ function ContactInterview({
16273
16206
  {
16274
16207
  formEngineSetup,
16275
16208
  defaultFields: DEFAULT_FORM_FIELDS20,
16276
- defaultStyleRules: DEFAULT_STYLE_RULES19
16209
+ defaultStyleRules: DEFAULT_STYLE_RULES20
16277
16210
  }
16278
16211
  ) : null
16279
16212
  ] }) }) })
16280
16213
  }
16281
16214
  );
16282
16215
  }
16283
- var DEFAULT_STYLE_RULES20 = {
16216
+ var DEFAULT_STYLE_RULES21 = {
16284
16217
  formContainer: "",
16285
16218
  fieldsContainer: "",
16286
16219
  fieldClassName: "",
@@ -16382,14 +16315,14 @@ function ContactLocations({
16382
16315
  {
16383
16316
  formEngineSetup,
16384
16317
  defaultFields: DEFAULT_FORM_FIELDS21,
16385
- defaultStyleRules: DEFAULT_STYLE_RULES20
16318
+ defaultStyleRules: DEFAULT_STYLE_RULES21
16386
16319
  }
16387
16320
  ) : null }) })
16388
16321
  ] })
16389
16322
  }
16390
16323
  );
16391
16324
  }
16392
- var DEFAULT_STYLE_RULES21 = {
16325
+ var DEFAULT_STYLE_RULES22 = {
16393
16326
  formContainer: "",
16394
16327
  fieldsContainer: "",
16395
16328
  fieldClassName: "",
@@ -16491,14 +16424,14 @@ function ContactMaintenance({
16491
16424
  {
16492
16425
  formEngineSetup,
16493
16426
  defaultFields: DEFAULT_FORM_FIELDS22,
16494
- defaultStyleRules: DEFAULT_STYLE_RULES21
16427
+ defaultStyleRules: DEFAULT_STYLE_RULES22
16495
16428
  }
16496
16429
  ) : null }) })
16497
16430
  ] })
16498
16431
  }
16499
16432
  );
16500
16433
  }
16501
- var DEFAULT_STYLE_RULES22 = {
16434
+ var DEFAULT_STYLE_RULES23 = {
16502
16435
  formContainer: "",
16503
16436
  fieldsContainer: "",
16504
16437
  fieldClassName: "",
@@ -16600,14 +16533,14 @@ function ContactMap({
16600
16533
  {
16601
16534
  formEngineSetup,
16602
16535
  defaultFields: DEFAULT_FORM_FIELDS23,
16603
- defaultStyleRules: DEFAULT_STYLE_RULES22
16536
+ defaultStyleRules: DEFAULT_STYLE_RULES23
16604
16537
  }
16605
16538
  ) : null }) })
16606
16539
  ] })
16607
16540
  }
16608
16541
  );
16609
16542
  }
16610
- var DEFAULT_STYLE_RULES23 = {
16543
+ var DEFAULT_STYLE_RULES24 = {
16611
16544
  formContainer: "",
16612
16545
  fieldsContainer: "",
16613
16546
  fieldClassName: "",
@@ -16709,14 +16642,14 @@ function ContactMinimal({
16709
16642
  {
16710
16643
  formEngineSetup,
16711
16644
  defaultFields: DEFAULT_FORM_FIELDS24,
16712
- defaultStyleRules: DEFAULT_STYLE_RULES23
16645
+ defaultStyleRules: DEFAULT_STYLE_RULES24
16713
16646
  }
16714
16647
  ) : null }) })
16715
16648
  ] })
16716
16649
  }
16717
16650
  );
16718
16651
  }
16719
- var DEFAULT_STYLE_RULES24 = {
16652
+ var DEFAULT_STYLE_RULES25 = {
16720
16653
  formContainer: "",
16721
16654
  fieldsContainer: "",
16722
16655
  fieldClassName: "",
@@ -16818,14 +16751,14 @@ function ContactMoving({
16818
16751
  {
16819
16752
  formEngineSetup,
16820
16753
  defaultFields: DEFAULT_FORM_FIELDS25,
16821
- defaultStyleRules: DEFAULT_STYLE_RULES24
16754
+ defaultStyleRules: DEFAULT_STYLE_RULES25
16822
16755
  }
16823
16756
  ) : null }) })
16824
16757
  ] })
16825
16758
  }
16826
16759
  );
16827
16760
  }
16828
- var DEFAULT_STYLE_RULES25 = {
16761
+ var DEFAULT_STYLE_RULES26 = {
16829
16762
  formContainer: "",
16830
16763
  fieldsContainer: "",
16831
16764
  fieldClassName: "",
@@ -16927,14 +16860,14 @@ function ContactMultistep({
16927
16860
  {
16928
16861
  formEngineSetup,
16929
16862
  defaultFields: DEFAULT_FORM_FIELDS26,
16930
- defaultStyleRules: DEFAULT_STYLE_RULES25
16863
+ defaultStyleRules: DEFAULT_STYLE_RULES26
16931
16864
  }
16932
16865
  ) : null }) })
16933
16866
  ] })
16934
16867
  }
16935
16868
  );
16936
16869
  }
16937
- var DEFAULT_STYLE_RULES26 = {
16870
+ var DEFAULT_STYLE_RULES27 = {
16938
16871
  formContainer: "",
16939
16872
  fieldsContainer: "",
16940
16873
  fieldClassName: "",
@@ -17036,14 +16969,14 @@ function ContactPartnership({
17036
16969
  {
17037
16970
  formEngineSetup,
17038
16971
  defaultFields: DEFAULT_FORM_FIELDS27,
17039
- defaultStyleRules: DEFAULT_STYLE_RULES26
16972
+ defaultStyleRules: DEFAULT_STYLE_RULES27
17040
16973
  }
17041
16974
  ) : null }) })
17042
16975
  ] })
17043
16976
  }
17044
16977
  );
17045
16978
  }
17046
- var DEFAULT_STYLE_RULES27 = {
16979
+ var DEFAULT_STYLE_RULES28 = {
17047
16980
  formContainer: "",
17048
16981
  fieldsContainer: "",
17049
16982
  fieldClassName: "",
@@ -17178,7 +17111,7 @@ function ContactPhotography({
17178
17111
  {
17179
17112
  formEngineSetup,
17180
17113
  defaultFields: DEFAULT_FORM_FIELDS28,
17181
- defaultStyleRules: DEFAULT_STYLE_RULES27
17114
+ defaultStyleRules: DEFAULT_STYLE_RULES28
17182
17115
  }
17183
17116
  ) : null
17184
17117
  ] }) })
@@ -17200,7 +17133,7 @@ function ContactPhotography({
17200
17133
  }
17201
17134
  );
17202
17135
  }
17203
- var DEFAULT_STYLE_RULES28 = {
17136
+ var DEFAULT_STYLE_RULES29 = {
17204
17137
  formContainer: "",
17205
17138
  fieldsContainer: "",
17206
17139
  fieldClassName: "",
@@ -17302,14 +17235,14 @@ function ContactPress({
17302
17235
  {
17303
17236
  formEngineSetup,
17304
17237
  defaultFields: DEFAULT_FORM_FIELDS29,
17305
- defaultStyleRules: DEFAULT_STYLE_RULES28
17238
+ defaultStyleRules: DEFAULT_STYLE_RULES29
17306
17239
  }
17307
17240
  ) : null }) })
17308
17241
  ] })
17309
17242
  }
17310
17243
  );
17311
17244
  }
17312
- var DEFAULT_STYLE_RULES29 = {
17245
+ var DEFAULT_STYLE_RULES30 = {
17313
17246
  formContainer: "",
17314
17247
  fieldsContainer: "",
17315
17248
  fieldClassName: "",
@@ -17411,14 +17344,14 @@ function ContactQuote({
17411
17344
  {
17412
17345
  formEngineSetup,
17413
17346
  defaultFields: DEFAULT_FORM_FIELDS30,
17414
- defaultStyleRules: DEFAULT_STYLE_RULES29
17347
+ defaultStyleRules: DEFAULT_STYLE_RULES30
17415
17348
  }
17416
17349
  ) : null }) })
17417
17350
  ] })
17418
17351
  }
17419
17352
  );
17420
17353
  }
17421
- var DEFAULT_STYLE_RULES30 = {
17354
+ var DEFAULT_STYLE_RULES31 = {
17422
17355
  formContainer: "",
17423
17356
  fieldsContainer: "",
17424
17357
  fieldClassName: "",
@@ -17520,14 +17453,14 @@ function ContactReferral({
17520
17453
  {
17521
17454
  formEngineSetup,
17522
17455
  defaultFields: DEFAULT_FORM_FIELDS31,
17523
- defaultStyleRules: DEFAULT_STYLE_RULES30
17456
+ defaultStyleRules: DEFAULT_STYLE_RULES31
17524
17457
  }
17525
17458
  ) : null }) })
17526
17459
  ] })
17527
17460
  }
17528
17461
  );
17529
17462
  }
17530
- var DEFAULT_STYLE_RULES31 = {
17463
+ var DEFAULT_STYLE_RULES32 = {
17531
17464
  formContainer: "",
17532
17465
  fieldsContainer: "",
17533
17466
  fieldClassName: "",
@@ -17629,14 +17562,14 @@ function ContactReport({
17629
17562
  {
17630
17563
  formEngineSetup,
17631
17564
  defaultFields: DEFAULT_FORM_FIELDS32,
17632
- defaultStyleRules: DEFAULT_STYLE_RULES31
17565
+ defaultStyleRules: DEFAULT_STYLE_RULES32
17633
17566
  }
17634
17567
  ) : null }) })
17635
17568
  ] })
17636
17569
  }
17637
17570
  );
17638
17571
  }
17639
- var DEFAULT_STYLE_RULES32 = {
17572
+ var DEFAULT_STYLE_RULES33 = {
17640
17573
  formContainer: "",
17641
17574
  fieldsContainer: "",
17642
17575
  fieldClassName: "",
@@ -17738,14 +17671,14 @@ function ContactReservation({
17738
17671
  {
17739
17672
  formEngineSetup,
17740
17673
  defaultFields: DEFAULT_FORM_FIELDS33,
17741
- defaultStyleRules: DEFAULT_STYLE_RULES32
17674
+ defaultStyleRules: DEFAULT_STYLE_RULES33
17742
17675
  }
17743
17676
  ) : null }) })
17744
17677
  ] })
17745
17678
  }
17746
17679
  );
17747
17680
  }
17748
- var DEFAULT_STYLE_RULES33 = {
17681
+ var DEFAULT_STYLE_RULES34 = {
17749
17682
  formContainer: "",
17750
17683
  fieldsContainer: "",
17751
17684
  fieldClassName: "",
@@ -17863,14 +17796,14 @@ function ContactRetreat({
17863
17796
  {
17864
17797
  formEngineSetup,
17865
17798
  defaultFields: DEFAULT_FORM_FIELDS34,
17866
- defaultStyleRules: DEFAULT_STYLE_RULES33
17799
+ defaultStyleRules: DEFAULT_STYLE_RULES34
17867
17800
  }
17868
17801
  ) : null }) })
17869
17802
  ] })
17870
17803
  }
17871
17804
  );
17872
17805
  }
17873
- var DEFAULT_STYLE_RULES34 = {
17806
+ var DEFAULT_STYLE_RULES35 = {
17874
17807
  formContainer: "",
17875
17808
  fieldsContainer: "",
17876
17809
  fieldClassName: "",
@@ -17972,14 +17905,14 @@ function ContactRsvp({
17972
17905
  {
17973
17906
  formEngineSetup,
17974
17907
  defaultFields: DEFAULT_FORM_FIELDS35,
17975
- defaultStyleRules: DEFAULT_STYLE_RULES34
17908
+ defaultStyleRules: DEFAULT_STYLE_RULES35
17976
17909
  }
17977
17910
  ) : null }) })
17978
17911
  ] })
17979
17912
  }
17980
17913
  );
17981
17914
  }
17982
- var DEFAULT_STYLE_RULES35 = {
17915
+ var DEFAULT_STYLE_RULES36 = {
17983
17916
  formContainer: "",
17984
17917
  fieldsContainer: "",
17985
17918
  fieldClassName: "",
@@ -18081,14 +18014,14 @@ function ContactSales({
18081
18014
  {
18082
18015
  formEngineSetup,
18083
18016
  defaultFields: DEFAULT_FORM_FIELDS36,
18084
- defaultStyleRules: DEFAULT_STYLE_RULES35
18017
+ defaultStyleRules: DEFAULT_STYLE_RULES36
18085
18018
  }
18086
18019
  ) : null }) })
18087
18020
  ] })
18088
18021
  }
18089
18022
  );
18090
18023
  }
18091
- var DEFAULT_STYLE_RULES36 = {
18024
+ var DEFAULT_STYLE_RULES37 = {
18092
18025
  formContainer: "",
18093
18026
  fieldsContainer: "",
18094
18027
  fieldClassName: "",
@@ -18190,14 +18123,14 @@ function ContactSchedule({
18190
18123
  {
18191
18124
  formEngineSetup,
18192
18125
  defaultFields: DEFAULT_FORM_FIELDS37,
18193
- defaultStyleRules: DEFAULT_STYLE_RULES36
18126
+ defaultStyleRules: DEFAULT_STYLE_RULES37
18194
18127
  }
18195
18128
  ) : null }) })
18196
18129
  ] })
18197
18130
  }
18198
18131
  );
18199
18132
  }
18200
- var DEFAULT_STYLE_RULES37 = {
18133
+ var DEFAULT_STYLE_RULES38 = {
18201
18134
  formContainer: "",
18202
18135
  fieldsContainer: "",
18203
18136
  fieldClassName: "",
@@ -18299,14 +18232,14 @@ function ContactSponsorship({
18299
18232
  {
18300
18233
  formEngineSetup,
18301
18234
  defaultFields: DEFAULT_FORM_FIELDS38,
18302
- defaultStyleRules: DEFAULT_STYLE_RULES37
18235
+ defaultStyleRules: DEFAULT_STYLE_RULES38
18303
18236
  }
18304
18237
  ) : null }) })
18305
18238
  ] })
18306
18239
  }
18307
18240
  );
18308
18241
  }
18309
- var DEFAULT_STYLE_RULES38 = {
18242
+ var DEFAULT_STYLE_RULES39 = {
18310
18243
  formContainer: "",
18311
18244
  fieldsContainer: "",
18312
18245
  fieldClassName: "",
@@ -18408,14 +18341,14 @@ function ContactSupport({
18408
18341
  {
18409
18342
  formEngineSetup,
18410
18343
  defaultFields: DEFAULT_FORM_FIELDS39,
18411
- defaultStyleRules: DEFAULT_STYLE_RULES38
18344
+ defaultStyleRules: DEFAULT_STYLE_RULES39
18412
18345
  }
18413
18346
  ) : null }) })
18414
18347
  ] })
18415
18348
  }
18416
18349
  );
18417
18350
  }
18418
- var DEFAULT_STYLE_RULES39 = {
18351
+ var DEFAULT_STYLE_RULES40 = {
18419
18352
  formContainer: "",
18420
18353
  fieldsContainer: "",
18421
18354
  fieldClassName: "",
@@ -18517,14 +18450,14 @@ function ContactTenant({
18517
18450
  {
18518
18451
  formEngineSetup,
18519
18452
  defaultFields: DEFAULT_FORM_FIELDS40,
18520
- defaultStyleRules: DEFAULT_STYLE_RULES39
18453
+ defaultStyleRules: DEFAULT_STYLE_RULES40
18521
18454
  }
18522
18455
  ) : null }) })
18523
18456
  ] })
18524
18457
  }
18525
18458
  );
18526
18459
  }
18527
- var DEFAULT_STYLE_RULES40 = {
18460
+ var DEFAULT_STYLE_RULES41 = {
18528
18461
  formContainer: "",
18529
18462
  fieldsContainer: "",
18530
18463
  fieldClassName: "",
@@ -18626,14 +18559,14 @@ function ContactVendor({
18626
18559
  {
18627
18560
  formEngineSetup,
18628
18561
  defaultFields: DEFAULT_FORM_FIELDS41,
18629
- defaultStyleRules: DEFAULT_STYLE_RULES40
18562
+ defaultStyleRules: DEFAULT_STYLE_RULES41
18630
18563
  }
18631
18564
  ) : null }) })
18632
18565
  ] })
18633
18566
  }
18634
18567
  );
18635
18568
  }
18636
- var DEFAULT_STYLE_RULES41 = {
18569
+ var DEFAULT_STYLE_RULES42 = {
18637
18570
  formContainer: "",
18638
18571
  fieldsContainer: "",
18639
18572
  fieldClassName: "",
@@ -18735,14 +18668,14 @@ function ContactVolunteer({
18735
18668
  {
18736
18669
  formEngineSetup,
18737
18670
  defaultFields: DEFAULT_FORM_FIELDS42,
18738
- defaultStyleRules: DEFAULT_STYLE_RULES41
18671
+ defaultStyleRules: DEFAULT_STYLE_RULES42
18739
18672
  }
18740
18673
  ) : null }) })
18741
18674
  ] })
18742
18675
  }
18743
18676
  );
18744
18677
  }
18745
- var DEFAULT_STYLE_RULES42 = {
18678
+ var DEFAULT_STYLE_RULES43 = {
18746
18679
  formContainer: "",
18747
18680
  fieldsContainer: "",
18748
18681
  fieldClassName: "",
@@ -18844,14 +18777,14 @@ function ContactWarranty({
18844
18777
  {
18845
18778
  formEngineSetup,
18846
18779
  defaultFields: DEFAULT_FORM_FIELDS43,
18847
- defaultStyleRules: DEFAULT_STYLE_RULES42
18780
+ defaultStyleRules: DEFAULT_STYLE_RULES43
18848
18781
  }
18849
18782
  ) : null }) })
18850
18783
  ] })
18851
18784
  }
18852
18785
  );
18853
18786
  }
18854
- var DEFAULT_STYLE_RULES43 = {
18787
+ var DEFAULT_STYLE_RULES44 = {
18855
18788
  formContainer: "",
18856
18789
  fieldsContainer: "",
18857
18790
  fieldClassName: "",
@@ -18953,7 +18886,7 @@ function ContactWedding({
18953
18886
  {
18954
18887
  formEngineSetup,
18955
18888
  defaultFields: DEFAULT_FORM_FIELDS44,
18956
- defaultStyleRules: DEFAULT_STYLE_RULES43
18889
+ defaultStyleRules: DEFAULT_STYLE_RULES44
18957
18890
  }
18958
18891
  ) : null }) })
18959
18892
  ] })
@@ -41833,7 +41766,7 @@ function FeatureAnimatedCarousel({
41833
41766
  }
41834
41767
  );
41835
41768
  }
41836
- var DEFAULT_STYLE_RULES44 = {
41769
+ var DEFAULT_STYLE_RULES45 = {
41837
41770
  formContainer: "space-y-4",
41838
41771
  fieldsContainer: "",
41839
41772
  fieldClassName: "",
@@ -41885,14 +41818,14 @@ function FooterNewsletterContact({
41885
41818
  }, [footerLinks]);
41886
41819
  const contactDetailsContent = React30__namespace.useMemo(() => {
41887
41820
  if (!contactDetails || contactDetails.length === 0) return null;
41888
- return contactDetails.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "flex items-center gap-3", children: [
41889
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 16, className: "shrink-0" }),
41890
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1", children: item.type === "none" ? /* @__PURE__ */ jsxRuntime.jsx("p", { children: item.text }) : /* @__PURE__ */ jsxRuntime.jsx(
41821
+ return contactDetails.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "flex items-start gap-3", children: [
41822
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center shrink-0 mt-1", children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 16 }) }),
41823
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
41891
41824
  Pressable,
41892
41825
  {
41893
- href: item.type === "email" ? `mailto:${item.link}` : `tel:${item.link}`,
41826
+ href: item.link,
41894
41827
  className: "underline-offset-4 hover:underline",
41895
- children: item.text
41828
+ children: item.label
41896
41829
  }
41897
41830
  ) })
41898
41831
  ] }, idx));
@@ -41938,9 +41871,9 @@ function FooterNewsletterContact({
41938
41871
  },
41939
41872
  defaultFields: DEFAULT_FORM_FIELDS45,
41940
41873
  defaultStyleRules: {
41941
- ...DEFAULT_STYLE_RULES44,
41874
+ ...DEFAULT_STYLE_RULES45,
41942
41875
  formContainer: cn(
41943
- DEFAULT_STYLE_RULES44.formContainer,
41876
+ DEFAULT_STYLE_RULES45.formContainer,
41944
41877
  newsletterFormClassName
41945
41878
  )
41946
41879
  }
@@ -41957,9 +41890,9 @@ function FooterNewsletterContact({
41957
41890
  className,
41958
41891
  containerClassName,
41959
41892
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-10", children: [
41960
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-x-16 gap-y-8 md:grid-cols-2 xl:grid-cols-4", children: [
41961
- formEngineSetup && (newsletterTitle || newsletterDescription) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-6 col-span-2 md:col-span-1", children: [
41962
- newsletterTitle && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-3xl font-medium font-serif leading-none", children: newsletterTitle }),
41893
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-x-6 md:gap-x-8 lg:gap-x-12 xl:gap-x-16 gap-y-8 md:grid-cols-2 lg:grid-cols-4", children: [
41894
+ formEngineSetup && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4 md:space-y-6 col-span-2 md:col-span-1", children: [
41895
+ newsletterTitle && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-2xl md:text-3xl font-medium leading-none", children: newsletterTitle }),
41963
41896
  newsletterDescription && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-light leading-normal", children: newsletterDescription }),
41964
41897
  renderForm
41965
41898
  ] }),
@@ -42004,7 +41937,7 @@ function FooterNewsletterContact({
42004
41937
  }
42005
41938
  );
42006
41939
  }
42007
- var DEFAULT_STYLE_RULES45 = {
41940
+ var DEFAULT_STYLE_RULES46 = {
42008
41941
  formContainer: "flex items-stretch w-full",
42009
41942
  fieldsContainer: "",
42010
41943
  fieldClassName: "",
@@ -42083,9 +42016,9 @@ function FooterSplitImageAccordion({
42083
42016
  },
42084
42017
  defaultFields: DEFAULT_FORM_FIELDS46,
42085
42018
  defaultStyleRules: {
42086
- ...DEFAULT_STYLE_RULES45,
42019
+ ...DEFAULT_STYLE_RULES46,
42087
42020
  formContainer: cn(
42088
- DEFAULT_STYLE_RULES45.formContainer,
42021
+ DEFAULT_STYLE_RULES46.formContainer,
42089
42022
  newsletterFormClassName
42090
42023
  )
42091
42024
  }
@@ -42284,7 +42217,7 @@ function FooterSplitImageAccordion({
42284
42217
  }
42285
42218
  );
42286
42219
  }
42287
- var DEFAULT_STYLE_RULES46 = {
42220
+ var DEFAULT_STYLE_RULES47 = {
42288
42221
  formContainer: "flex items-stretch w-full",
42289
42222
  fieldsContainer: "",
42290
42223
  fieldClassName: "",
@@ -42315,20 +42248,15 @@ function FooterAccordionSocial({
42315
42248
  pattern,
42316
42249
  patternOpacity,
42317
42250
  patternClassName,
42318
- formEngineSetup,
42319
- buttonAction,
42320
- formSlot,
42321
- newsletterFormClassName
42251
+ formEngineSetup
42322
42252
  }) {
42323
42253
  const renderForm = React30__namespace.useMemo(() => {
42324
- if (formSlot) return formSlot;
42325
42254
  if (!formEngineSetup) return null;
42326
- const defaultButtonAction = {
42255
+ const action = {
42327
42256
  label: "",
42328
42257
  variant: "default",
42329
42258
  icon: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-right", size: 16 })
42330
42259
  };
42331
- const action = buttonAction || defaultButtonAction;
42332
42260
  return /* @__PURE__ */ jsxRuntime.jsx(
42333
42261
  integration.FormEngine,
42334
42262
  {
@@ -42341,21 +42269,18 @@ function FooterAccordionSocial({
42341
42269
  ...formEngineSetup.formLayoutSettings?.buttonGroupSetup,
42342
42270
  size: "default",
42343
42271
  submitLabel: action.icon || action.label,
42344
- submitVariant: action.variant || "default"
42272
+ submitVariant: action.variant
42345
42273
  }
42346
42274
  }
42347
42275
  },
42348
42276
  defaultFields: DEFAULT_FORM_FIELDS47,
42349
42277
  defaultStyleRules: {
42350
- ...DEFAULT_STYLE_RULES46,
42351
- formContainer: cn(
42352
- DEFAULT_STYLE_RULES46.formContainer,
42353
- newsletterFormClassName
42354
- )
42278
+ ...DEFAULT_STYLE_RULES47,
42279
+ formContainer: cn(DEFAULT_STYLE_RULES47.formContainer)
42355
42280
  }
42356
42281
  }
42357
42282
  );
42358
- }, [formSlot, formEngineSetup, buttonAction, newsletterFormClassName]);
42283
+ }, [formEngineSetup]);
42359
42284
  return /* @__PURE__ */ jsxRuntime.jsx(
42360
42285
  Section,
42361
42286
  {
@@ -42369,19 +42294,19 @@ function FooterAccordionSocial({
42369
42294
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-10", children: [
42370
42295
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-10 lg:grid-cols-2 lg:gap-20", children: [
42371
42296
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-6", children: [
42372
- logo && /* @__PURE__ */ jsxRuntime.jsx(
42373
- FooterLogo,
42297
+ logo && /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: logo.url || "/", className: "block mb-8 md:mb-12", children: /* @__PURE__ */ jsxRuntime.jsx(
42298
+ img.Img,
42374
42299
  {
42375
- logo,
42376
- logoClassName: "inline-block max-w-48",
42300
+ src: logo.src,
42301
+ className: "h-16 object-contain w-auto max-w-full",
42377
42302
  optixFlowConfig
42378
42303
  }
42379
- ),
42380
- formEngineSetup && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
42381
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
42382
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-2xl font-semibold", children: newsletterTitle }),
42383
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "opacity-80", children: newsletterDescription })
42384
- ] }),
42304
+ ) }),
42305
+ formEngineSetup && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
42306
+ newsletterTitle || newsletterDescription ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
42307
+ newsletterTitle ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xl font-semibold", children: newsletterTitle }) : null,
42308
+ newsletterDescription ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "opacity-70", children: newsletterDescription }) : null
42309
+ ] }) : null,
42385
42310
  renderForm
42386
42311
  ] })
42387
42312
  ] }),
@@ -42399,27 +42324,24 @@ function FooterAccordionSocial({
42399
42324
  ] }),
42400
42325
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center justify-between gap-6 border-t pt-8", children: [
42401
42326
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 text-sm opacity-80 md:flex-row md:items-center md:gap-4", children: [
42402
- /* @__PURE__ */ jsxRuntime.jsx(FooterCopyright, { copyright }),
42327
+ /* @__PURE__ */ jsxRuntime.jsx(FooterCopyright, { copyright, className: "opacity-50" }),
42403
42328
  /* @__PURE__ */ jsxRuntime.jsx(
42404
42329
  BrandAttribution,
42405
42330
  {
42406
42331
  internalBrandSlug: "open_site_ai",
42407
42332
  optionIndex: 1,
42408
42333
  variant: "span",
42409
- linkClassName: "hover:opacity-100"
42334
+ linkClassName: "opacity-50 hover:opacity-100"
42410
42335
  }
42411
42336
  )
42412
42337
  ] }),
42413
42338
  socialLinks && socialLinks.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex flex-wrap gap-4", children: socialLinks.map((social, idx) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
42414
42339
  SocialLinkIcon,
42415
42340
  {
42416
- href: social.href,
42417
- label: social.label,
42418
- iconNameOverride: social.iconNameOverride,
42419
- variant: "outline",
42420
- size: "icon",
42421
- asButton: true,
42422
- className: "rounded-full"
42341
+ ...social,
42342
+ variant: "ghost",
42343
+ size: "icon-lg",
42344
+ asButton: true
42423
42345
  }
42424
42346
  ) }, idx)) })
42425
42347
  ] })
@@ -47851,7 +47773,7 @@ function HeroImageLeftContent({
47851
47773
  }
47852
47774
  );
47853
47775
  }
47854
- var DEFAULT_STYLE_RULES47 = {
47776
+ var DEFAULT_STYLE_RULES48 = {
47855
47777
  formContainer: "",
47856
47778
  fieldsContainer: "",
47857
47779
  fieldClassName: "",
@@ -48095,7 +48017,7 @@ function HeroImageSlider({
48095
48017
  }
48096
48018
  },
48097
48019
  defaultFields: DEFAULT_FORM_FIELDS48,
48098
- defaultStyleRules: DEFAULT_STYLE_RULES47
48020
+ defaultStyleRules: DEFAULT_STYLE_RULES48
48099
48021
  }
48100
48022
  ),
48101
48023
  privacyNotice && /* @__PURE__ */ jsxRuntime.jsx(
@@ -57906,7 +57828,7 @@ function HeroPricingComparison({
57906
57828
  }
57907
57829
  );
57908
57830
  }
57909
- var DEFAULT_STYLE_RULES48 = {
57831
+ var DEFAULT_STYLE_RULES49 = {
57910
57832
  formContainer: "mt-10 flex justify-center items-center w-full max-w-md flex-col gap-4 sm:flex-row",
57911
57833
  fieldsContainer: "",
57912
57834
  fieldClassName: "",
@@ -57999,7 +57921,7 @@ function HeroNewsletterMinimal({
57999
57921
  }
58000
57922
  },
58001
57923
  defaultFields: DEFAULT_FORM_FIELDS51,
58002
- defaultStyleRules: DEFAULT_STYLE_RULES48
57924
+ defaultStyleRules: DEFAULT_STYLE_RULES49
58003
57925
  }
58004
57926
  ),
58005
57927
  helperText && (typeof helperText === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm mt-2 text-center"), children: helperText }) : helperText)
@@ -82059,7 +81981,7 @@ function ListSearchableGrid({
82059
81981
  }
82060
81982
  );
82061
81983
  }
82062
- var DEFAULT_STYLE_RULES49 = {
81984
+ var DEFAULT_STYLE_RULES50 = {
82063
81985
  formContainer: "flex items-stretch w-full",
82064
81986
  fieldsContainer: "",
82065
81987
  fieldClassName: "",
@@ -82154,8 +82076,8 @@ function OfferModalNewsletterDiscount({
82154
82076
  },
82155
82077
  defaultFields: DEFAULT_FORM_FIELDS53,
82156
82078
  defaultStyleRules: {
82157
- ...DEFAULT_STYLE_RULES49,
82158
- formContainer: cn(DEFAULT_STYLE_RULES49.formContainer, formClassName)
82079
+ ...DEFAULT_STYLE_RULES50,
82080
+ formContainer: cn(DEFAULT_STYLE_RULES50.formContainer, formClassName)
82159
82081
  }
82160
82082
  }
82161
82083
  );
@@ -82181,7 +82103,7 @@ function OfferModalNewsletterDiscount({
82181
82103
  }
82182
82104
  ) });
82183
82105
  }
82184
- var DEFAULT_STYLE_RULES50 = {
82106
+ var DEFAULT_STYLE_RULES51 = {
82185
82107
  formContainer: "flex items-stretch w-full",
82186
82108
  fieldsContainer: "",
82187
82109
  fieldClassName: "",
@@ -82299,8 +82221,8 @@ function OfferModalMembershipImage({
82299
82221
  },
82300
82222
  defaultFields: DEFAULT_FORM_FIELDS54,
82301
82223
  defaultStyleRules: {
82302
- ...DEFAULT_STYLE_RULES50,
82303
- formContainer: cn(DEFAULT_STYLE_RULES50.formContainer, formClassName)
82224
+ ...DEFAULT_STYLE_RULES51,
82225
+ formContainer: cn(DEFAULT_STYLE_RULES51.formContainer, formClassName)
82304
82226
  }
82305
82227
  }
82306
82228
  );
@@ -82461,7 +82383,7 @@ function SheetDescription({
82461
82383
  }
82462
82384
  );
82463
82385
  }
82464
- var DEFAULT_STYLE_RULES51 = {
82386
+ var DEFAULT_STYLE_RULES52 = {
82465
82387
  formContainer: "flex items-stretch w-full",
82466
82388
  fieldsContainer: "",
82467
82389
  fieldClassName: "",
@@ -82585,8 +82507,8 @@ function OfferModalSheetNewsletter({
82585
82507
  },
82586
82508
  defaultFields: DEFAULT_FORM_FIELDS55,
82587
82509
  defaultStyleRules: {
82588
- ...DEFAULT_STYLE_RULES51,
82589
- formContainer: cn(DEFAULT_STYLE_RULES51.formContainer, formClassName)
82510
+ ...DEFAULT_STYLE_RULES52,
82511
+ formContainer: cn(DEFAULT_STYLE_RULES52.formContainer, formClassName)
82590
82512
  }
82591
82513
  }
82592
82514
  );
@@ -99138,7 +99060,7 @@ function LinkPageMinimalProfile({
99138
99060
  }
99139
99061
  );
99140
99062
  }
99141
- var DEFAULT_STYLE_RULES52 = {
99063
+ var DEFAULT_STYLE_RULES53 = {
99142
99064
  formContainer: "w-full flex flex-col gap-3 justify-center items-center",
99143
99065
  fieldsContainer: "",
99144
99066
  fieldClassName: "",
@@ -99316,7 +99238,7 @@ function LinkPageNewsletterSocial({
99316
99238
  }
99317
99239
  },
99318
99240
  defaultFields: DEFAULT_FORM_FIELDS56,
99319
- defaultStyleRules: DEFAULT_STYLE_RULES52
99241
+ defaultStyleRules: DEFAULT_STYLE_RULES53
99320
99242
  }
99321
99243
  ),
99322
99244
  helperText && (typeof helperText === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm mt-2 text-center"), children: helperText }) : helperText)