quirk-ui 0.0.571 → 0.0.573
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index67.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/next/blocks/ContentBlock/index.cjs +1 -1
- package/dist/next/blocks/ContentBlock/index.mjs +44 -44
- package/dist/next/blocks/FeaturedDocumentsBlock/index.cjs +1 -1
- package/dist/next/blocks/FeaturedDocumentsBlock/index.mjs +62 -62
- package/dist/next/blocks/HeroBlock/index.cjs +2 -2
- package/dist/next/blocks/HeroBlock/index.mjs +121 -121
- package/dist/next/blocks/StickyScrollBlock/index.cjs +1 -1
- package/dist/next/blocks/StickyScrollBlock/index.mjs +21 -21
- package/dist/next/blocks/TabsBlock/index.cjs +1 -1
- package/dist/next/blocks/TabsBlock/index.mjs +57 -57
- package/dist/styles.css +10 -10
- package/package.json +1 -1
package/dist/assets/index13.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._content_bkivt_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_bkivt_7{display:flex;align-items:center;justify-content:space-between;flex-direction:column;width:100%;max-width:var(--container-max-width, var(--layout-width));margin:0 auto;padding-left:var(--spacing-md);padding-right:var(--spacing-md)}._container_bkivt_7 h1,._container_bkivt_7 h2,._container_bkivt_7 h3,._container_bkivt_7 h4,._container_bkivt_7 h5,._container_bkivt_7 h6{width:100%;margin-block:0}@media (max-width: 767px){._container_bkivt_7{gap:var(--spacing-xl)}}._metrics_bkivt_34{display:flex;align-items:flex-start;flex-wrap:wrap;gap:var(--spacing-md);padding:var(--spacing-md)}@media (max-width: 767px){._metrics_bkivt_34{flex-direction:column}}._metric_bkivt_34{flex:1}._metricValue_bkivt_50{font-size:2.5rem;font-weight:var(--font-weight-bold);position:relative;z-index:1;color:var(--color-text-primary)}._metricValue_bkivt_50:after{content:"";display:block;background-color:var(--color-primary-100);width:35px;height:35px;position:absolute;top:-3px;left:-.5rem;z-index:-1;border-radius:var(--radius-md)}._disclaimer_bkivt_71{color:var(--color-text-primary);font-size:var(--font-size-sm)}._layoutHImageRight_bkivt_76{flex-direction:row;gap:var(--gap, 5rem)}._layoutHImageRight_bkivt_76 ._heading_bkivt_80{gap:var(--spacing-sm);flex:.65}._layoutHImageRight_bkivt_76 ._image_bkivt_85{flex:.5}@media (max-width: 768px){._layoutHImageRight_bkivt_76{flex-direction:column-reverse;gap:var(--spacing-lg)}}._noImage_bkivt_95{flex-direction:column}._layoutHImageLeft_bkivt_99{flex-direction:row-reverse;gap:var(--gap, 5rem)}._layoutHImageLeft_bkivt_99 ._heading_bkivt_80{gap:var(--spacing-sm);flex:.65}._layoutHImageLeft_bkivt_99 ._image_bkivt_85{flex:.5}@media (max-width: 768px){._layoutHImageLeft_bkivt_99{flex-direction:column-reverse;gap:var(--spacing-lg)}}._layoutVImageTop_bkivt_118{flex-direction:column-reverse;gap:var(--gap, var(--spacing-md))}._layoutVImageTop_bkivt_118 ._heading_bkivt_80{gap:var(--spacing-sm)}@media (max-width: 768px){._layoutVImageTop_bkivt_118{gap:var(--spacing-lg)}}._layoutVImageBottom_bkivt_131{flex-direction:column;gap:var(--gap, var(--spacing-md))}._layoutVImageBottom_bkivt_131 ._heading_bkivt_80{gap:var(--spacing-sm)}@media (max-width: 768px){._layoutVImageBottom_bkivt_131{gap:var(--spacing-lg)}}._heading_bkivt_80{display:flex;flex-direction:column;width:100%;gap:var(--spacing-sm)}._title_bkivt_151{text-wrap:pretty}._text_bkivt_156{flex:1;display:flex;justify-content:center;flex-direction:column;gap:var(--spacing-lg)}@media (max-width: 767px){._text_bkivt_156{flex:1;width:100%;align-items:flex-start}}._cta_bkivt_170{width:100%}@media (max-width: 767px){._cta_bkivt_170{justify-content:flex-start}}._headingHorizontal_bkivt_178{flex-direction:row;justify-content:space-between;gap:5rem}@media (max-width: 767px){._headingHorizontal_bkivt_178{gap:var(--spacing-md)}}._headingHorizontal_bkivt_178 ._titleWrapper_bkivt_187,._headingHorizontal_bkivt_178 .portableTextContainer{flex:1}._headingHorizontal_bkivt_178 ._title_bkivt_151{margin-bottom:0}._headingHorizontal_bkivt_178 p._title_bkivt_151{margin-top:1rem}@media (max-width: 768px){._headingHorizontal_bkivt_178{flex-direction:column}}._headingVertical_bkivt_208{flex-direction:column;justify-content:flex-start}._image_bkivt_85{display:flex;align-items:center;justify-content:center;flex:1;width:100%;margin:0 auto;line-height:0}._image_bkivt_85 img{width:100%;height:auto}._videoWrapper_bkivt_229{position:relative;width:100%;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:var(--radius-md);flex:1}._videoWrapper_bkivt_229 iframe,._videoWrapper_bkivt_229 video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}._default_bkivt_249{display:block}._default_bkivt_249 img{border-radius:var(--radius-md)}._maxWidth_bkivt_257{margin:0 auto}._maxWidth_bkivt_257 img{max-width:var(--max-width, var(--layout-width));border-radius:var(--radius-md);height:auto}._fullBleed_bkivt_267{width:100%;max-width:unset;border-radius:var(--radius-md);overflow:hidden}.blog ._container_bkivt_7{max-width:var(--blog-width)}.centered ._heading_bkivt_80{gap:var(--spacing-sm);align-items:center;justify-content:center}.centered ._text_bkivt_156{align-items:center}.centered ._cta_bkivt_170{justify-content:center}.backgroundPrimary ._text_bkivt_156 p,.backgroundPrimary ._text_bkivt_156 p a,.backgroundPrimary ._metricValue_bkivt_50{color:#fff}.backgroundPrimary ._metricValue_bkivt_50:after{background-color:var(--color-secondary-100)}.backgroundPrimary ._cta_bkivt_170 ._secondary_bkivt_308{background-color:#fff}.split-35-65 ._heading_bkivt_80{flex:.35}
|
package/dist/assets/index4.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._tabs_193fp_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_193fp_7{width:100%;max-width:var(--layout-width);margin:0 auto;padding-left:var(--spacing-md);padding-right:var(--spacing-md)}._container_193fp_7 h1,._container_193fp_7 h2,._container_193fp_7 h3,._container_193fp_7 h4,._container_193fp_7 h5,._container_193fp_7 h6{width:100%;margin-block:0}._heading_193fp_25{position:relative;display:flex;flex-direction:column;gap:var(--spacing-sm)}._text_193fp_32{flex:1;display:flex;justify-content:center;flex-direction:column;gap:var(--spacing-lg)}@media (max-width: 767px){._text_193fp_32{flex:1;width:100%;align-items:flex-start}}._headingHorizontal_193fp_46{flex-direction:row;justify-content:space-between}._headingHorizontal_193fp_46 ._container_193fp_7{flex:1}._headingHorizontal_193fp_46 ._title_193fp_54{margin-bottom:0;text-wrap:pretty}@media (max-width: 768px){._headingHorizontal_193fp_46{flex-direction:column}}._headingVertical_193fp_64{flex-direction:column;justify-content:flex-start}._tabContent_193fp_74{display:flex;align-items:center;justify-content:space-between;gap:4rem;max-width:800px;margin:0 auto}._tabContent_193fp_74 ul{columns:1}._tabContent_193fp_74 .textPrimary{font-weight:var(--font-weight-semibold);font-size:var(--font-size-lg)}@media (max-width: 767px){._tabContent_193fp_74{flex-direction:column;gap:var(--spacing-lg);align-items:flex-start}}._tabContent_193fp_74._vertical_193fp_97{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:var(--spacing-lg)}@media (max-width: 767px){._tabContent_193fp_74._vertical_193fp_97{flex-direction:column}}._tabContent_193fp_74._vertical_193fp_97 ._tabsContainer_193fp_69{padding-top:var(--spacing-lg);padding-bottom:var(--spacing-lg)}._tabContent_193fp_74._vertical_193fp_97 ._tabImage_193fp_112 img{width:auto}._tabText_193fp_120{display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-md);flex:1}._tabImage_193fp_112{width:100%;height:auto;max-width:175px;align-items:center}._tabImage_193fp_112 img{position:relative;width:100%;height:auto}._gridItems_193fp_141{display:grid;width:100%;grid-template-columns:1fr;gap:var(--spacing-md)}@media (min-width: 480px){._gridItems_193fp_141{grid-template-columns:repeat(2,1fr)}}@media (min-width: 768px){._gridItems_193fp_141{grid-template-columns:repeat(4,1fr)}}._gridItem_193fp_141 img{width:100%;height:auto;aspect-ratio:15/9;object-fit:cover;border-radius:var(--radius-md)}._default_193fp_166 ._container_193fp_7{display:flex;flex-direction:column;gap:var(--spacing-md)}.orientationVertical ._tabsContainer_193fp_69{padding-top:var(--spacing-lg);padding-bottom:var(--spacing-lg)}._fullBleed_193fp_181{position:relative;padding-top:var(--spacing-md);padding-left:var(--spacing-md);padding-right:var(--spacing-md)}._fullBleed_193fp_181 ._container_193fp_7{max-width:var(--layout-width);position:relative;display:flex;align-items:flex-end;width:100%;min-height:650px;height:100%;overflow:hidden;flex-grow:1;padding:var(--nav-height) 0 0;border-radius:var(--radius-md)}._fullBleed_193fp_181 ._container_193fp_7 img{transition:width .3s ease-in-out,height .3s ease-in-out}._fullBleed_193fp_181 ._overlay_193fp_206{width:100%;max-width:var(--layout-width);margin:0 auto;z-index:3;position:relative;padding-left:var(--spacing-md);padding-right:var(--spacing-md)}._fullBleed_193fp_181 ._heading_193fp_25{z-index:3;position:relative;max-width:665px;display:flex;flex-direction:column;gap:var(--spacing-md);background-color:#fff;padding:var(--spacing-xl);border-radius:var(--radius-md)}._fullBleed_193fp_181 ._text_193fp_32{flex:1;display:flex;justify-content:center;flex-direction:column;gap:var(--spacing-lg)}@media (max-width: 767px){._fullBleed_193fp_181 ._text_193fp_32{flex:1;width:100%;align-items:flex-start}}._fullBleed_193fp_181.paddingTopBanner,._fullBleed_193fp_181.paddingTop4,._fullBleed_193fp_181.paddingTop2,._fullBleed_193fp_181.paddingTop1{padding-top:0}._fullBleed_193fp_181.paddingBottomBanner,._fullBleed_193fp_181.paddingBottom4,._fullBleed_193fp_181.paddingBottom2,._fullBleed_193fp_181.paddingBottom1{padding-bottom:0}._fullBleed_193fp_181.paddingTopBanner ._overlay_193fp_206{padding-top:8rem}._fullBleed_193fp_181.paddingBottomBanner ._overlay_193fp_206{padding-bottom:8rem}._fullBleed_193fp_181.paddingTop4 ._overlay_193fp_206{padding-top:4rem}._fullBleed_193fp_181.paddingBottom4 ._overlay_193fp_206{padding-bottom:4rem}._fullBleed_193fp_181.paddingTop2 ._overlay_193fp_206{padding-top:2rem}._fullBleed_193fp_181.paddingBottom2 ._overlay_193fp_206{padding-bottom:2rem}._fullBleed_193fp_181.paddingTop1 ._overlay_193fp_206{padding-top:1rem}._fullBleed_193fp_181.paddingBottom1 ._overlay_193fp_206{padding-bottom:1rem}
|
package/dist/assets/index5.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._layout_1cjcd_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_1cjcd_7{display:flex;flex-direction:column;width:100%;max-width:var(--layout-width);margin:0 auto;gap:var(--spacing-xl);position:relative;padding-left:var(--spacing-md);padding-right:var(--spacing-md)}._heading_1cjcd_19{display:flex;flex-direction:column;gap:var(--spacing-md)}._heading_1cjcd_19 h1,._heading_1cjcd_19 h2,._heading_1cjcd_19 h3,._heading_1cjcd_19 h4,._heading_1cjcd_19 h5,._heading_1cjcd_19 h6{width:100%;margin-bottom:0}._scroll_1cjcd_35{display:flex;gap:var(--spacing-xl)}._sidebar_1cjcd_40{flex:.5;position:sticky;top:20%;align-self:flex-start;min-height:60vh;display:flex;align-items:center;padding:0 var(--spacing-xl)}@media (max-width: 767px){._sidebar_1cjcd_40{display:none}}._sidebar_1cjcd_40 ul{list-style:none;padding:0;margin:0;columns:1;display:flex;flex-direction:column;gap:var(--spacing-lg)}._sidebar_1cjcd_40 ul li ._number_1cjcd_65{border-radius:var(--radius-full);background-color:var(--color-secondary-50);color:var(--color-text-primary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-lg);width:35px;height:35px;flex:1 0 35px;display:flex;align-items:center;justify-content:center;transition:color .3s ease-in-out,background-color .3s ease-in-out}._sidebar_1cjcd_40 ul li ._link_1cjcd_80{display:flex;align-items:center;justify-content:flex-start;gap:var(--spacing-sm);text-align:left;font-size:var(--font-size-md);text-decoration:none;color:var(--color-text-primary);background-color:transparent;border:none;font-weight:var(--font-weight-semibold);transition:color .3s ease-in-out}._sidebar_1cjcd_40 ul li ._link_1cjcd_80._active_1cjcd_94{color:var(--color-primary-100)}._sidebar_1cjcd_40 ul li ._link_1cjcd_80._active_1cjcd_94 ._number_1cjcd_65{background-color:var(--color-primary-100);color:#fff}._content_1cjcd_106{flex:1}._item_1cjcd_110{scroll-margin-top:100px;margin-bottom:6rem;height:60vh;display:flex;align-items:center;gap:2rem}._item_1cjcd_110:last-of-type{margin-bottom:0}._item_1cjcd_110 ._text_1cjcd_122{flex:1;display:flex;flex-direction:column;gap:var(--spacing-xs)}._item_1cjcd_110 ._title_1cjcd_129{margin-block-end:0}._item_1cjcd_110 ._image_1cjcd_133{flex:.5 0;display:flex;align-items:center;justify-content:center}._item_1cjcd_110 ._image_1cjcd_133 img{width:100%;max-width:200px;height:auto}@media (max-width: 767px){._item_1cjcd_110{flex-direction:column-reverse;height:auto}._item_1cjcd_110 ._image_1cjcd_133{flex:1;width:100%;max-width:150px;align-self:flex-start}}
|
package/dist/assets/index67.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._hero_n29ot_1{width:100%;padding-top:calc(var(--nav-height) + var(--spacing-md));padding-bottom:var(--spacing-xl)}._container_n29ot_7{width:100%;max-width:var(--layout-width);margin:0 auto;padding:var(--spacing-md)}._container_n29ot_7 h1,._container_n29ot_7 h2,._container_n29ot_7 h3,._container_n29ot_7 h4,._container_n29ot_7 h5,._container_n29ot_7 h6{width:100%;margin-block:0}._eyebrow_n29ot_24{font-weight:var(--font-weight-bold)}._disclaimer_n29ot_28{color:var(--color-text-primary);font-size:var(--font-size-sm)}._text_n29ot_33{flex:1;display:flex;flex-direction:column;gap:var(--spacing-lg)}._articleDetails_n29ot_40{color:var(--color-secondary-75);display:flex;align-items:center;margin-bottom:var(--spacing-md);gap:var(--spacing-md)}@media (max-width: 767px){._articleDetails_n29ot_40{flex-wrap:wrap;gap:var(--spacing-md)}}._articleType_n29ot_53{display:flex;align-items:center;justify-content:center;background-color:var(--color-secondary-75);padding:0 var(--spacing-md);color:#fff;width:auto;height:36px;border-radius:var(--radius-full);text-transform:capitalize;text-decoration:none}._articleCategories_n29ot_67{display:flex;flex-wrap:wrap;gap:var(--spacing-sm)}._category_n29ot_73{border:1px solid var(--color-secondary-75);display:flex;align-items:center;justify-content:center;background-color:transparent;padding:0 var(--spacing-md);color:var(--color-secondary-75);width:auto;height:36px;border-radius:var(--radius-full);text-transform:capitalize;text-decoration:none}._number_n29ot_89{display:inline-flex;align-items:center;justify-content:center;background-color:var(--color-secondary-75);color:#fff;width:25px;height:25px;border-radius:var(--radius-full);text-transform:capitalize;margin-right:var(--spacing-xs)}._pipe_n29ot_102{margin:0 var(--spacing-sm)}@media (max-width: 767px){._pipe_n29ot_102._hide_n29ot_105{display:none}}._default_n29ot_112{position:relative}._blog_n29ot_116{position:relative;padding:0 var(--spacing-md)}._blog_n29ot_116 ._container_n29ot_7{max-width:var(--layout-width);position:relative;display:flex;align-items:flex-end;width:100%;min-height:450px;height:100%;overflow:hidden;flex-grow:1;padding:var(--nav-height) 0 0;border-radius:var(--radius-md)}._blog_n29ot_116 ._container_n29ot_7 img{z-index:1;transition:width .3s ease-in-out,height .3s ease-in-out}@media (max-width: 767px){._blog_n29ot_116 ._overlay_n29ot_140{width:100%;padding:4rem var(--spacing-md) var(--spacing-xl)}}._blog_n29ot_116 ._text_n29ot_33{z-index:3;position:relative;max-width:650px;background-color:#fff;padding:var(--spacing-xl);border-radius:var(--radius-md)}@media (min-width: 768px){._blog_n29ot_116 ._text_n29ot_33{border-radius:var(--radius-md) var(--radius-md) 0 0}._blog_n29ot_116 ._text_n29ot_33:before{content:"";position:absolute;top:-25px;left:0;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:-20px 20px 0 20px #fff}._blog_n29ot_116 ._text_n29ot_33:after{content:"";position:absolute;bottom:0;right:-20px;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:0 10px #fff}}._fullBleed_n29ot_210{position:relative;padding:var(--spacing-md)}._fullBleed_n29ot_210 ._container_n29ot_7{max-width:var(--layout-width);position:relative;display:flex;align-items:flex-end;width:100%;min-height:650px;height:100%;overflow:hidden;flex-grow:1;padding:var(--nav-height) 0 0;border-radius:var(--radius-md)}._fullBleed_n29ot_210 ._container_n29ot_7 img{z-index:1;transition:width .3s ease-in-out,height .3s ease-in-out}@media (max-width: 767px){._fullBleed_n29ot_210 ._overlay_n29ot_140{width:100%;padding:4rem var(--spacing-md)}}._fullBleed_n29ot_210 ._text_n29ot_33{z-index:3;position:relative;max-width:650px;background-color:#fff;padding:var(--spacing-xl);border-radius:var(--radius-md)}@media (min-width: 768px){._fullBleed_n29ot_210 ._text_n29ot_33{border-radius:var(--radius-md) var(--radius-md) 0 0}._fullBleed_n29ot_210 ._text_n29ot_33:before{content:"";position:absolute;top:-25px;left:0;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:-20px 20px 0 20px #fff}._fullBleed_n29ot_210 ._text_n29ot_33:after{content:"";position:absolute;bottom:0;right:-20px;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:0 10px #fff}}._split_n29ot_304 ._container_n29ot_7{display:flex;align-items:center;gap:5rem}._split_n29ot_304 ._container_n29ot_7 ._image_n29ot_309{flex:1}._split_n29ot_304 ._container_n29ot_7 ._image_n29ot_309 img{border-radius:var(--radius-md);width:100%;height:auto;max-height:500px;object-fit:contain}@media (max-width: 767px){._split_n29ot_304 ._container_n29ot_7{flex-direction:column-reverse;gap:var(--spacing-xl)}._split_n29ot_304 ._container_n29ot_7 ._image_n29ot_309{width:100%;max-width:500px}}._videoControl_n29ot_332{position:absolute;bottom:1rem;right:1rem;z-index:5;background:#00000080;border:none;border-radius:50%;padding:var(--spacing-sm);cursor:pointer;color:#fff;display:flex;align-items:center;justify-content:center;transition:color .3s ease-in-out}._videoControl_n29ot_332:hover{color:var(--color-primary-100)}._videoWrapper_n29ot_353{position:relative;width:100%;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:var(--radius-md);flex:1}._videoWrapper_n29ot_353 iframe,._videoWrapper_n29ot_353 video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}._videoBackground_n29ot_373,._iframe_n29ot_374{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}._iframe_n29ot_374{border:none}.split-35-65 ._text_n29ot_33{flex:.65}
|
package/dist/assets/index8.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._featuredDocuments_u6blh_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_u6blh_7{width:100%;max-width:var(--layout-width);margin:0 auto;display:flex;flex-direction:column;gap:var(--spacing-md);padding-left:var(--spacing-md);padding-right:var(--spacing-md)}._container_u6blh_7:has(._carousel_u6blh_17){padding-left:var(--spacing-md);padding-right:var(--spacing-md)}@media (max-width: 767px){._container_u6blh_7:has(._carousel_u6blh_17){padding-left:0;padding-right:0}}@media (max-width: 767px){._container_u6blh_7:has(._carousel_u6blh_17) ._heading_u6blh_25{padding-left:var(--spacing-md);padding-right:var(--spacing-md)}}._heading_u6blh_25{display:flex;flex-direction:column;gap:5rem;width:100%;min-height:2.4rem}@media (max-width: 767px){._heading_u6blh_25{gap:2rem}}._flex_u6blh_46{display:flex;align-items:center;justify-content:space-between}@media (max-width: 767px){._flex_u6blh_46{flex-direction:column;align-items:flex-start;gap:var(--spacing-md)}}._flex_u6blh_46>div{flex:1}._flex_u6blh_46 a{display:flex;align-items:center;gap:var(--spacing-sm);color:var(--color-primary-100);font-weight:var(--font-weight-semibold);text-decoration:none;transition:color .3s ease-in-out}._flex_u6blh_46 a:hover{color:var(--color-secondary)}._title_u6blh_76{flex:1;text-wrap:balance}._text_u6blh_81{flex:1;display:flex;justify-content:center;flex-direction:column;gap:var(--spacing-lg)}@media (max-width: 767px){._text_u6blh_81{flex:1;width:100%;align-items:flex-start}}._disclaimer_u6blh_95{color:var(--color-text-primary);font-size:var(--font-size-sm)}._carousel_u6blh_17{display:block}._carousel_u6blh_17 ._document_u6blh_103{margin:0 auto;flex:0 0 300px;min-height:350px}@media (max-width: 767px){._carousel_u6blh_17 ._document_u6blh_103{flex:0 0 100%}}._documents_u6blh_122{display:grid;gap:var(--spacing-md)}._documents_u6blh_122._col1_u6blh_126{display:block}._documents_u6blh_122._col1_u6blh_126 ._document_u6blh_103{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--spacing-lg)}@media (max-width: 767px){._documents_u6blh_122._col1_u6blh_126 ._document_u6blh_103{flex-direction:column;gap:var(--spacing-md)}}._documents_u6blh_122._col2_u6blh_143{grid-template-columns:repeat(2,1fr)}._documents_u6blh_122._col2_u6blh_143 ._document_u6blh_103{display:flex;flex-direction:column;gap:var(--spacing-md)}._documents_u6blh_122._col3_u6blh_153{grid-template-columns:repeat(3,1fr)}._documents_u6blh_122._col3_u6blh_153 ._document_u6blh_103{display:flex;flex-direction:column;gap:var(--spacing-md)}._documents_u6blh_122._col4_u6blh_163{grid-template-columns:repeat(4,1fr)}._documents_u6blh_122._col4_u6blh_163 ._document_u6blh_103{display:flex;flex-direction:column;gap:var(--spacing-md)}._documents_u6blh_122._featuredTop_u6blh_173{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);row-gap:var(--spacing-xl)}@media (max-width: 767px){._documents_u6blh_122._featuredTop_u6blh_173{row-gap:var(--spacing-xl)}}._documents_u6blh_122._featuredTop_u6blh_173 ._document_u6blh_103:not(:first-of-type) ._documentExcerpt_u6blh_183{display:none}@media (max-width: 767px){._documents_u6blh_122._featuredTop_u6blh_173 ._document_u6blh_103:not(:first-of-type) ._documentExcerpt_u6blh_183{display:block}}._documents_u6blh_122._featuredTop_u6blh_173 ._document_u6blh_103:first-of-type{grid-column:1/4;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--spacing-lg)}@media (max-width: 767px){._documents_u6blh_122._featuredTop_u6blh_173 ._document_u6blh_103:first-of-type{flex-direction:column;gap:var(--spacing-md)}}._documents_u6blh_122._featuredTop_u6blh_173 ._document_u6blh_103:first-of-type ._documentContent_u6blh_207{flex:.4}._documents_u6blh_122._featuredLeft_u6blh_213{grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(2,1fr);column-gap:var(--spacing-xl)}@media (max-width: 767px){._documents_u6blh_122._featuredLeft_u6blh_213{column-gap:var(--spacing-md)}}._documents_u6blh_122._featuredLeft_u6blh_213 ._document_u6blh_103:not(:first-of-type){flex-direction:row;gap:var(--spacing-md)}@media (max-width: 767px){._documents_u6blh_122._featuredLeft_u6blh_213 ._document_u6blh_103:not(:first-of-type){flex-direction:column}}._documents_u6blh_122._featuredLeft_u6blh_213 ._document_u6blh_103:not(:first-of-type) ._documentContent_u6blh_207{flex:1}@media (max-width: 767px){._documents_u6blh_122._featuredLeft_u6blh_213 ._document_u6blh_103:not(:first-of-type) ._documentExcerpt_u6blh_183{display:block}}._documents_u6blh_122._featuredLeft_u6blh_213 ._document_u6blh_103:first-of-type{grid-row:1/4;display:flex;flex-direction:column;align-items:center;justify-content:center}._documents_u6blh_122._featuredLeft_u6blh_213 ._document_u6blh_103:first-of-type ._documentContent_u6blh_207{flex:.4}._documents_u6blh_122._twoColumn_u6blh_254{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr)}._documents_u6blh_122._twoColumn_u6blh_254 ._document_u6blh_103{flex-direction:row;gap:var(--spacing-md);align-items:center}@media (max-width: 767px){._documents_u6blh_122._col1_u6blh_126,._documents_u6blh_122._col2_u6blh_143,._documents_u6blh_122._col3_u6blh_153,._documents_u6blh_122._col4_u6blh_163,._documents_u6blh_122._featuredTop_u6blh_173,._documents_u6blh_122._featuredLeft_u6blh_213,._documents_u6blh_122._twoColumn_u6blh_254{display:flex;flex-direction:column}._documents_u6blh_122._col1_u6blh_126 ._document_u6blh_103:first-of-type,._documents_u6blh_122._col1_u6blh_126 ._document_u6blh_103:not(:first-of-type),._documents_u6blh_122._col2_u6blh_143 ._document_u6blh_103:first-of-type,._documents_u6blh_122._col2_u6blh_143 ._document_u6blh_103:not(:first-of-type),._documents_u6blh_122._col3_u6blh_153 ._document_u6blh_103:first-of-type,._documents_u6blh_122._col3_u6blh_153 ._document_u6blh_103:not(:first-of-type),._documents_u6blh_122._col4_u6blh_163 ._document_u6blh_103:first-of-type,._documents_u6blh_122._col4_u6blh_163 ._document_u6blh_103:not(:first-of-type),._documents_u6blh_122._featuredTop_u6blh_173 ._document_u6blh_103:first-of-type,._documents_u6blh_122._featuredTop_u6blh_173 ._document_u6blh_103:not(:first-of-type),._documents_u6blh_122._featuredLeft_u6blh_213 ._document_u6blh_103:first-of-type,._documents_u6blh_122._featuredLeft_u6blh_213 ._document_u6blh_103:not(:first-of-type),._documents_u6blh_122._twoColumn_u6blh_254 ._document_u6blh_103:first-of-type,._documents_u6blh_122._twoColumn_u6blh_254 ._document_u6blh_103:not(:first-of-type){flex-direction:column;gap:var(--spacing-md)}}@media (max-width: 767px){._documents_u6blh_122{gap:var(--spacing-xl)}}._multiple_u6blh_289 ._documents_u6blh_122{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--spacing-md)}._multiple_u6blh_289 ._document_u6blh_103{display:flex;flex-direction:column}._document_u6blh_103{display:flex;text-decoration:none;overflow:hidden;transition:border-color .3s ease-in-out}._document_u6blh_103:hover{border-color:var(--color-primary-100)}._document_u6blh_103:hover ._documentTitle_u6blh_313 h3{color:var(--color-primary-100)}._document_u6blh_103:hover ._callToAction_u6blh_319 ._label_u6blh_320{opacity:1;transform:translateY(0);color:#fff}._document_u6blh_103:hover ._callToAction_u6blh_319 ._icon_u6blh_326{color:var(--color-primary-100)}._documentEyebrow_u6blh_333{font-size:var(--font-size-sm);color:var(--color-secondary)}._documentImage_u6blh_338{width:100%;height:100%;aspect-ratio:16/9;position:relative;overflow:hidden;border-radius:var(--radius-md);line-height:0}._documentImage_u6blh_338 img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease-in-out}._documentTitle_u6blh_313{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-lg)}._documentContent_u6blh_207{display:flex;flex-direction:column;gap:var(--spacing-sm);width:100%;color:var(--color-text-primary)}._documentContent_u6blh_207 h3{flex:1;font-size:var(--font-size-lg);margin-bottom:0;transition:color .3s ease-in-out}._documentContent_u6blh_207 p{text-decoration:none}._callToAction_u6blh_319{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:var(--spacing-sm)}._callToAction_u6blh_319 ._icon_u6blh_326{display:flex;align-items:center;justify-content:center;width:25px;height:25px;background-color:transparent;color:var(--color-text-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out}._callToAction_u6blh_319 ._label_u6blh_320{color:var(--color-primary-100);font-weight:var(--font-weight-semibold);opacity:0;transform:translateY(10px);transition:opacity .3s ease-in-out,transform .3s ease-in-out}.blog ._container_u6blh_7{max-width:var(--blog-width)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index13.css');const e=require("react/jsx-runtime"),a=require("../../ui/PortableTextRenderer/index.cjs"),$=require("../../ui/CallToActions/index.cjs"),H=require("next/image"),C=require("../../hooks/useStyleClasses.cjs"),T=require("../../contexts/ThemeContext.cjs"),z=require("../../hooks/useMediaQuery.cjs"),q="
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index13.css');const e=require("react/jsx-runtime"),a=require("../../ui/PortableTextRenderer/index.cjs"),$=require("../../ui/CallToActions/index.cjs"),H=require("next/image"),C=require("../../hooks/useStyleClasses.cjs"),T=require("../../contexts/ThemeContext.cjs"),z=require("../../hooks/useMediaQuery.cjs"),q="_content_bkivt_1",B="_container_bkivt_7",L="_metrics_bkivt_34",S="_metric_bkivt_34",U="_metricValue_bkivt_50",F="_disclaimer_bkivt_71",M="_layoutHImageRight_bkivt_76",P="_heading_bkivt_80",D="_image_bkivt_85",Q="_noImage_bkivt_95",Y="_layoutHImageLeft_bkivt_99",E="_layoutVImageTop_bkivt_118",G="_layoutVImageBottom_bkivt_131",J="_title_bkivt_151",K="_text_bkivt_156",X="_cta_bkivt_170",Z="_headingHorizontal_bkivt_178",A="_titleWrapper_bkivt_187",O="_headingVertical_bkivt_208",g="_videoWrapper_bkivt_229",s={content:q,container:B,metrics:L,metric:S,metricValue:U,disclaimer:F,layoutHImageRight:M,heading:P,image:D,noImage:Q,layoutHImageLeft:Y,layoutVImageTop:E,layoutVImageBottom:G,title:J,text:K,cta:X,headingHorizontal:Z,titleWrapper:A,headingVertical:O,videoWrapper:g};function tt({layout:o,heading:i,image:t,video:c,metrics:p,callToAction:l,disclaimer:b,styleOptions:d}){var k,m,j,I,f;const{mode:u}=T.useTheme(),V=C.useStyleClasses(d),h=z.useMediaQuery("(max-width: 768px)"),v={"--container-max-width":(d==null?void 0:d.maxWidth)??"unset","--gap":o==null?void 0:o.gap},y={"--max-width":(t==null?void 0:t.width)==="inset"?t==null?void 0:t.maxWidth:"unset"},W={"no-image":s.noImage,"horizontal-image-right":s.layoutHImageRight,"horizontal-image-left":s.layoutHImageLeft,"vertical-image-top":s.layoutVImageTop,"vertical-image-bottom":s.layoutVImageBottom}[(o==null?void 0:o.orientation)??"horizontal-image-right"],w={horizontal:s.headingHorizontal,vertical:s.headingVertical}[i.headingLayout??"horizontal"],n={};if((t==null?void 0:t.layout)==="cover")n.objectFit="cover",t!=null&&t.position&&(n.objectPosition=h?"top":t==null?void 0:t.position);else if((t==null?void 0:t.layout)==="contain"){if(n.objectFit="contain",(t==null?void 0:t.width)==="half"?n.width=h?"100%":"50%":(t==null?void 0:t.width)==="inset"?(n.width=h?"100%":"75%",n.maxWidth=t.maxWidth??"unset"):n.width="100%",t!=null&&t.aspectRatio){const[r,x]=t==null?void 0:t.aspectRatio.split(":").map(Number);n.aspectRatio=`${r}/${x}`}}else n.objectFit="none";let _;t!=null&&t.imageUrls&&(_=u==="dark"&&((k=t.imageUrls.dark)==null?void 0:k.medium)||t.imageUrls.default.medium);let N=((j=(m=t==null?void 0:t[u==="dark"?"darkImage":"defaultImage"])==null?void 0:m.asset)==null?void 0:j.altText)||((f=(I=t==null?void 0:t[u==="dark"?"darkImage":"defaultImage"])==null?void 0:I.asset)==null?void 0:f.description)||"Card image";const R=()=>{if(!c)return null;const r=c.includes("vimeo.com"),x=c.includes("youtube.com")||c.includes("youtu.be");return r||x?e.jsx("div",{style:{maxWidth:(t==null?void 0:t.maxWidth)??"unset",flex:.65},children:e.jsx("div",{className:s.videoWrapper,children:e.jsx("iframe",{src:r?`${c}?autoplay=0&muted=0&loop=0`:`${c}?autoplay=0&mute=0&loop=0}`,allow:"autoplay; fullscreen",allowFullScreen:!0})})}):e.jsx("div",{style:{maxWidth:(t==null?void 0:t.maxWidth)??"unset",width:"100%",flex:.65},children:e.jsx("div",{className:s.videoWrapper,children:e.jsx("video",{src:c,controls:!0,poster:_||void 0})})})};return e.jsx("section",{className:`${V} ${s.content}`,children:e.jsxs("article",{className:`${s.container} ${W}`,style:v||{},children:[e.jsxs("div",{className:`${s.heading} ${w}`,children:[e.jsxs("div",{className:s.titleWrapper,children:[i.eyebrow&&e.jsx(a.RichText,{blocks:i.eyebrow}),i.title&&e.jsx(a.RichText,{className:s.title,blocks:i.title})]}),((i==null?void 0:i.description)||(l==null?void 0:l.items))&&e.jsxs("div",{className:s.text,children:[i.description&&e.jsx(a.RichText,{blocks:i.description}),p&&e.jsx("div",{className:s.metrics,children:p.map(r=>e.jsxs("div",{className:s.metric,children:[e.jsx("div",{className:s.metricValue,children:r.metricValue}),r.metricDescription&&e.jsx(a.RichText,{blocks:r.metricDescription})]},r._key))}),l&&e.jsx($.CallToActions,{className:s.cta,items:l.items,alignment:l.alignment}),b&&e.jsx(a.RichText,{className:s.disclaimer,blocks:b})]})]}),(o==null?void 0:o.orientation)!=="no-image"&&c?R():(o==null?void 0:o.orientation)!=="no-image"&&t&&_&&e.jsx("div",{className:`${s.image}`,style:y,children:e.jsx(H,{src:_,alt:N,width:600,height:400,priority:!0,style:n})})]})})}exports.ContentBlock=tt;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import { RichText as d } from "../../ui/PortableTextRenderer/index.mjs";
|
|
3
3
|
import { CallToActions as R } from "../../ui/CallToActions/index.mjs";
|
|
4
4
|
import C from "next/image";
|
|
5
5
|
import { useStyleClasses as j } from "../../hooks/useStyleClasses.mjs";
|
|
6
6
|
import { useTheme as B } from "../../contexts/ThemeContext.mjs";
|
|
7
7
|
import { useMediaQuery as L } from "../../hooks/useMediaQuery.mjs";
|
|
8
|
-
import '../../../assets/index13.css';const U = "
|
|
8
|
+
import '../../../assets/index13.css';const U = "_content_bkivt_1", F = "_container_bkivt_7", S = "_metrics_bkivt_34", T = "_metric_bkivt_34", D = "_metricValue_bkivt_50", M = "_disclaimer_bkivt_71", P = "_layoutHImageRight_bkivt_76", Q = "_heading_bkivt_80", Y = "_image_bkivt_85", q = "_noImage_bkivt_95", E = "_layoutHImageLeft_bkivt_99", G = "_layoutVImageTop_bkivt_118", J = "_layoutVImageBottom_bkivt_131", K = "_title_bkivt_151", X = "_text_bkivt_156", Z = "_cta_bkivt_170", A = "_headingHorizontal_bkivt_178", O = "_titleWrapper_bkivt_187", g = "_headingVertical_bkivt_208", tt = "_videoWrapper_bkivt_229", e = {
|
|
9
9
|
content: U,
|
|
10
10
|
container: F,
|
|
11
11
|
metrics: S,
|
|
@@ -28,20 +28,20 @@ import '../../../assets/index13.css';const U = "_content_1mrw9_1", F = "_contain
|
|
|
28
28
|
videoWrapper: tt
|
|
29
29
|
};
|
|
30
30
|
function lt({
|
|
31
|
-
layout:
|
|
32
|
-
heading:
|
|
31
|
+
layout: s,
|
|
32
|
+
heading: r,
|
|
33
33
|
image: t,
|
|
34
|
-
video:
|
|
35
|
-
metrics:
|
|
34
|
+
video: n,
|
|
35
|
+
metrics: v,
|
|
36
36
|
callToAction: l,
|
|
37
|
-
disclaimer:
|
|
38
|
-
styleOptions:
|
|
37
|
+
disclaimer: b,
|
|
38
|
+
styleOptions: _
|
|
39
39
|
}) {
|
|
40
|
-
var
|
|
41
|
-
const { mode:
|
|
42
|
-
"--container-max-width": (
|
|
43
|
-
"--gap":
|
|
44
|
-
},
|
|
40
|
+
var f, I, x, V, W;
|
|
41
|
+
const { mode: p } = B(), w = j(_), u = L("(max-width: 768px)"), k = {
|
|
42
|
+
"--container-max-width": (_ == null ? void 0 : _.maxWidth) ?? "unset",
|
|
43
|
+
"--gap": s == null ? void 0 : s.gap
|
|
44
|
+
}, N = {
|
|
45
45
|
"--max-width": (t == null ? void 0 : t.width) === "inset" ? t == null ? void 0 : t.maxWidth : "unset"
|
|
46
46
|
}, y = {
|
|
47
47
|
"no-image": e.noImage,
|
|
@@ -49,33 +49,33 @@ function lt({
|
|
|
49
49
|
"horizontal-image-left": e.layoutHImageLeft,
|
|
50
50
|
"vertical-image-top": e.layoutVImageTop,
|
|
51
51
|
"vertical-image-bottom": e.layoutVImageBottom
|
|
52
|
-
}[(
|
|
52
|
+
}[(s == null ? void 0 : s.orientation) ?? "horizontal-image-right"], H = {
|
|
53
53
|
horizontal: e.headingHorizontal,
|
|
54
54
|
vertical: e.headingVertical
|
|
55
|
-
}[
|
|
55
|
+
}[r.headingLayout ?? "horizontal"], i = {};
|
|
56
56
|
if ((t == null ? void 0 : t.layout) === "cover")
|
|
57
|
-
|
|
57
|
+
i.objectFit = "cover", t != null && t.position && (i.objectPosition = u ? "top" : t == null ? void 0 : t.position);
|
|
58
58
|
else if ((t == null ? void 0 : t.layout) === "contain") {
|
|
59
|
-
if (
|
|
60
|
-
const [
|
|
61
|
-
|
|
59
|
+
if (i.objectFit = "contain", (t == null ? void 0 : t.width) === "half" ? i.width = u ? "100%" : "50%" : (t == null ? void 0 : t.width) === "inset" ? (i.width = u ? "100%" : "75%", i.maxWidth = t.maxWidth ?? "unset") : i.width = "100%", t != null && t.aspectRatio) {
|
|
60
|
+
const [c, m] = t == null ? void 0 : t.aspectRatio.split(":").map(Number);
|
|
61
|
+
i.aspectRatio = `${c}/${m}`;
|
|
62
62
|
}
|
|
63
63
|
} else
|
|
64
|
-
|
|
65
|
-
let
|
|
66
|
-
t != null && t.imageUrls && (
|
|
67
|
-
let $ = ((
|
|
64
|
+
i.objectFit = "none";
|
|
65
|
+
let h;
|
|
66
|
+
t != null && t.imageUrls && (h = p === "dark" && ((f = t.imageUrls.dark) == null ? void 0 : f.medium) || t.imageUrls.default.medium);
|
|
67
|
+
let $ = ((x = (I = t == null ? void 0 : t[p === "dark" ? "darkImage" : "defaultImage"]) == null ? void 0 : I.asset) == null ? void 0 : x.altText) || ((W = (V = t == null ? void 0 : t[p === "dark" ? "darkImage" : "defaultImage"]) == null ? void 0 : V.asset) == null ? void 0 : W.description) || "Card image";
|
|
68
68
|
const z = () => {
|
|
69
|
-
if (!
|
|
70
|
-
const
|
|
71
|
-
return
|
|
69
|
+
if (!n) return null;
|
|
70
|
+
const c = n.includes("vimeo.com"), m = n.includes("youtube.com") || n.includes("youtu.be");
|
|
71
|
+
return c || m ? /* @__PURE__ */ o("div", { style: { maxWidth: (t == null ? void 0 : t.maxWidth) ?? "unset", flex: 0.65 }, children: /* @__PURE__ */ o("div", { className: e.videoWrapper, children: /* @__PURE__ */ o(
|
|
72
72
|
"iframe",
|
|
73
73
|
{
|
|
74
|
-
src:
|
|
74
|
+
src: c ? `${n}?autoplay=0&muted=0&loop=0` : `${n}?autoplay=0&mute=0&loop=0}`,
|
|
75
75
|
allow: "autoplay; fullscreen",
|
|
76
76
|
allowFullScreen: !0
|
|
77
77
|
}
|
|
78
|
-
) }) }) : /* @__PURE__ */
|
|
78
|
+
) }) }) : /* @__PURE__ */ o(
|
|
79
79
|
"div",
|
|
80
80
|
{
|
|
81
81
|
style: {
|
|
@@ -83,28 +83,28 @@ function lt({
|
|
|
83
83
|
width: "100%",
|
|
84
84
|
flex: 0.65
|
|
85
85
|
},
|
|
86
|
-
children: /* @__PURE__ */
|
|
86
|
+
children: /* @__PURE__ */ o("div", { className: e.videoWrapper, children: /* @__PURE__ */ o("video", { src: n, controls: !0, poster: h || void 0 }) })
|
|
87
87
|
}
|
|
88
88
|
);
|
|
89
89
|
};
|
|
90
|
-
return /* @__PURE__ */
|
|
90
|
+
return /* @__PURE__ */ o("section", { className: `${w} ${e.content}`, children: /* @__PURE__ */ a(
|
|
91
91
|
"article",
|
|
92
92
|
{
|
|
93
93
|
className: `${e.container} ${y}`,
|
|
94
|
-
style:
|
|
94
|
+
style: k || {},
|
|
95
95
|
children: [
|
|
96
96
|
/* @__PURE__ */ a("div", { className: `${e.heading} ${H}`, children: [
|
|
97
97
|
/* @__PURE__ */ a("div", { className: e.titleWrapper, children: [
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
r.eyebrow && /* @__PURE__ */ o(d, { blocks: r.eyebrow }),
|
|
99
|
+
r.title && /* @__PURE__ */ o(d, { className: e.title, blocks: r.title })
|
|
100
100
|
] }),
|
|
101
|
-
((
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
/* @__PURE__ */
|
|
105
|
-
|
|
106
|
-
] },
|
|
107
|
-
l && /* @__PURE__ */
|
|
101
|
+
((r == null ? void 0 : r.description) || (l == null ? void 0 : l.items)) && /* @__PURE__ */ a("div", { className: e.text, children: [
|
|
102
|
+
r.description && /* @__PURE__ */ o(d, { blocks: r.description }),
|
|
103
|
+
v && /* @__PURE__ */ o("div", { className: e.metrics, children: v.map((c) => /* @__PURE__ */ a("div", { className: e.metric, children: [
|
|
104
|
+
/* @__PURE__ */ o("div", { className: e.metricValue, children: c.metricValue }),
|
|
105
|
+
c.metricDescription && /* @__PURE__ */ o(d, { blocks: c.metricDescription })
|
|
106
|
+
] }, c._key)) }),
|
|
107
|
+
l && /* @__PURE__ */ o(
|
|
108
108
|
R,
|
|
109
109
|
{
|
|
110
110
|
className: e.cta,
|
|
@@ -112,18 +112,18 @@ function lt({
|
|
|
112
112
|
alignment: l.alignment
|
|
113
113
|
}
|
|
114
114
|
),
|
|
115
|
-
|
|
115
|
+
b && /* @__PURE__ */ o(d, { className: e.disclaimer, blocks: b })
|
|
116
116
|
] })
|
|
117
117
|
] }),
|
|
118
|
-
(
|
|
118
|
+
(s == null ? void 0 : s.orientation) !== "no-image" && n ? z() : (s == null ? void 0 : s.orientation) !== "no-image" && t && h && /* @__PURE__ */ o("div", { className: `${e.image}`, style: N, children: /* @__PURE__ */ o(
|
|
119
119
|
C,
|
|
120
120
|
{
|
|
121
|
-
src:
|
|
121
|
+
src: h,
|
|
122
122
|
alt: $,
|
|
123
123
|
width: 600,
|
|
124
124
|
height: 400,
|
|
125
125
|
priority: !0,
|
|
126
|
-
style:
|
|
126
|
+
style: i
|
|
127
127
|
}
|
|
128
128
|
) })
|
|
129
129
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index8.css');const s=require("react/jsx-runtime"),F=require("react"),Q=require("../../../core/components/Carousel/index.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index8.css');const s=require("react/jsx-runtime"),F=require("react"),Q=require("../../../core/components/Carousel/index.cjs"),q=require("../../cards/BlogArticleCard/index.cjs"),d=require("../../ui/PortableTextRenderer/index.cjs"),Y=require("../../ui/LocaleLink/index.cjs"),z=require("../../hooks/useStyleClasses.cjs"),I=require("../../hooks/useMediaQuery.cjs"),E=require("../../../arrow-right-DO6S4vfx.cjs"),G="_featuredDocuments_u6blh_1",H="_container_u6blh_7",J="_carousel_u6blh_17",K="_heading_u6blh_25",V="_flex_u6blh_46",W="_title_u6blh_76",X="_disclaimer_u6blh_95",Z="_document_u6blh_103",T="_documents_u6blh_122",A="_col1_u6blh_126",ee="_col2_u6blh_143",se="_col3_u6blh_153",te="_col4_u6blh_163",re="_featuredTop_u6blh_173",ne="_featuredLeft_u6blh_213",le="_twoColumn_u6blh_254",e={featuredDocuments:G,container:H,carousel:J,heading:K,flex:V,title:W,disclaimer:X,document:Z,documents:T,col1:A,col2:ee,col3:se,col4:te,featuredTop:re,featuredLeft:ne,twoColumn:le};function oe({heading:n,selectionMode:x,layout:a="default",limit:$=4,articles:v,manualArticles:_,documentType:f,sortBy:S,callToAction:t,styleOptions:B}){var w,k,L,R,N;const b=F.useRef(null),m=I.useMediaQuery("(max-width: 768px)"),l=x==="manual"?_:v,c=x==="manual"?_==null?void 0:_.length:$,D=z.useStyleClasses(B),M={featuredTop:e.featuredTop,featuredLeft:e.featuredLeft,twoColumn:e.twoColumn}[a??"default"],P={1:e.col1,2:e.col2,3:e.col3,4:e.col4}[c??"1"],y=t==null?void 0:t.label,p=(w=t==null?void 0:t.linkOptions)==null?void 0:w.linkType,C=p=="internal"?(R=(L=(k=t==null?void 0:t.linkOptions)==null?void 0:k.internalUrl)==null?void 0:L.slug)==null?void 0:R.current:void 0,O=p==="external"?(N=t==null?void 0:t.linkOptions)==null?void 0:N.externalUrl:void 0,U=(r,i="newest")=>[...r].sort((u,h)=>{switch(i){case"title":return(u.title||"").localeCompare(h.title||"");case"popular":return(h.helpfulYesCount||0)-(u.helpfulYesCount||0);case"newest":default:return(h.publishDate||"").localeCompare(u.publishDate||"")}}),g=f?(r=>{switch(r==null?void 0:r.toLowerCase()){case"blog":return q.BlogArticleCard;default:return null}})(f):null,o=l!=null&&l.length?U(l,S):[],j=g&&o?o.slice(0,c).map((r,i)=>s.jsx(g,{article:r,className:e.document,index:i,layout:a,limit:c},r._id)):[];return(l==null?void 0:l.length)&&s.jsx("section",{className:`${e.featuredDocuments} ${D}`,children:s.jsxs("article",{className:e.container,children:[s.jsxs("div",{className:`${e.heading}`,children:[s.jsxs("div",{className:e.flex,children:[s.jsxs("div",{children:[n.eyebrow&&s.jsx(d.RichText,{blocks:n.eyebrow}),s.jsx(d.RichText,{className:e.title,blocks:n.title})]}),(t==null?void 0:t.label)&&s.jsxs(Y.LocaleLink,{href:C?`/${C}`:O??"/",children:[y,s.jsx(E.ArrowRight,{size:18})]})]}),n.description&&s.jsx(d.RichText,{blocks:n.description}),n.disclaimer&&s.jsx(d.RichText,{className:e.disclaimer,blocks:n.disclaimer})]}),a==="carousel"&&j.length>1?s.jsx("div",{className:e.carousel,ref:b,children:s.jsx(Q.Carousel,{autoplay:!1,itemsPerPage:m?1:4,itemsPerRow:m?1:4,items:j??[],isSplit:!1,externalRef:b},m?"mobile":"desktop")}):s.jsx("div",{className:`${e.documents} ${M} ${P}`,children:(o==null?void 0:o.length)&&o.slice(0,c).map((r,i)=>{var u;return((u=r==null?void 0:r._type)==null?void 0:u.toLowerCase())==="blog"&&s.jsx(q.BlogArticleCard,{article:r,className:e.document,index:i,layout:a,limit:c},r._id)})})]})})}exports.FeaturedDocumentsBlock=oe;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { Carousel as
|
|
4
|
-
import { BlogArticleCard as
|
|
5
|
-
import { RichText as
|
|
6
|
-
import { LocaleLink as
|
|
1
|
+
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as I } from "react";
|
|
3
|
+
import { Carousel as Q } from "../../../core/components/Carousel/index.mjs";
|
|
4
|
+
import { BlogArticleCard as D } from "../../cards/BlogArticleCard/index.mjs";
|
|
5
|
+
import { RichText as d } from "../../ui/PortableTextRenderer/index.mjs";
|
|
6
|
+
import { LocaleLink as q } from "../../ui/LocaleLink/index.mjs";
|
|
7
7
|
import { useStyleClasses as y } from "../../hooks/useStyleClasses.mjs";
|
|
8
8
|
import { useMediaQuery as E } from "../../hooks/useMediaQuery.mjs";
|
|
9
9
|
import { A as G } from "../../../arrow-right-QEwnX3Sk.js";
|
|
10
|
-
import '../../../assets/index8.css';const H = "
|
|
10
|
+
import '../../../assets/index8.css';const H = "_featuredDocuments_u6blh_1", J = "_container_u6blh_7", K = "_carousel_u6blh_17", V = "_heading_u6blh_25", W = "_flex_u6blh_46", X = "_title_u6blh_76", Z = "_disclaimer_u6blh_95", T = "_document_u6blh_103", A = "_documents_u6blh_122", ee = "_col1_u6blh_126", te = "_col2_u6blh_143", se = "_col3_u6blh_153", re = "_col4_u6blh_163", le = "_featuredTop_u6blh_173", oe = "_featuredLeft_u6blh_213", ne = "_twoColumn_u6blh_254", e = {
|
|
11
11
|
featuredDocuments: H,
|
|
12
12
|
container: J,
|
|
13
13
|
carousel: K,
|
|
@@ -21,114 +21,114 @@ import '../../../assets/index8.css';const H = "_featuredDocuments_fpg8q_1", J =
|
|
|
21
21
|
col2: te,
|
|
22
22
|
col3: se,
|
|
23
23
|
col4: re,
|
|
24
|
-
featuredTop:
|
|
25
|
-
featuredLeft:
|
|
26
|
-
twoColumn:
|
|
24
|
+
featuredTop: le,
|
|
25
|
+
featuredLeft: oe,
|
|
26
|
+
twoColumn: ne
|
|
27
27
|
};
|
|
28
|
-
function
|
|
29
|
-
heading:
|
|
30
|
-
selectionMode:
|
|
31
|
-
layout:
|
|
32
|
-
limit:
|
|
33
|
-
articles:
|
|
34
|
-
manualArticles:
|
|
35
|
-
documentType:
|
|
36
|
-
sortBy:
|
|
28
|
+
function be({
|
|
29
|
+
heading: l,
|
|
30
|
+
selectionMode: p,
|
|
31
|
+
layout: i = "default",
|
|
32
|
+
limit: M = 4,
|
|
33
|
+
articles: O,
|
|
34
|
+
manualArticles: _,
|
|
35
|
+
documentType: b,
|
|
36
|
+
sortBy: P,
|
|
37
37
|
// filterMode,
|
|
38
38
|
callToAction: t,
|
|
39
|
-
styleOptions:
|
|
39
|
+
styleOptions: S
|
|
40
40
|
}) {
|
|
41
|
-
var
|
|
42
|
-
const
|
|
41
|
+
var N, L, v, $, R;
|
|
42
|
+
const C = I(null), f = E("(max-width: 768px)"), o = p === "manual" ? _ : O, a = p === "manual" ? _ == null ? void 0 : _.length : M, U = y(S), j = {
|
|
43
43
|
//default: styles.default,
|
|
44
44
|
featuredTop: e.featuredTop,
|
|
45
45
|
featuredLeft: e.featuredLeft,
|
|
46
46
|
twoColumn: e.twoColumn
|
|
47
|
-
}[
|
|
47
|
+
}[i ?? "default"], B = {
|
|
48
48
|
1: e.col1,
|
|
49
49
|
2: e.col2,
|
|
50
50
|
3: e.col3,
|
|
51
51
|
4: e.col4
|
|
52
|
-
}[
|
|
52
|
+
}[a ?? "1"], Y = t == null ? void 0 : t.label, w = (N = t == null ? void 0 : t.linkOptions) == null ? void 0 : N.linkType, x = w == "internal" ? ($ = (v = (L = t == null ? void 0 : t.linkOptions) == null ? void 0 : L.internalUrl) == null ? void 0 : v.slug) == null ? void 0 : $.current : void 0, z = w === "external" ? (R = t == null ? void 0 : t.linkOptions) == null ? void 0 : R.externalUrl : void 0, F = (s, m = "newest") => [...s].sort((u, h) => {
|
|
53
53
|
switch (m) {
|
|
54
54
|
case "title":
|
|
55
|
-
return (
|
|
55
|
+
return (u.title || "").localeCompare(h.title || "");
|
|
56
56
|
case "popular":
|
|
57
|
-
return (
|
|
57
|
+
return (h.helpfulYesCount || 0) - (u.helpfulYesCount || 0);
|
|
58
58
|
case "newest":
|
|
59
59
|
default:
|
|
60
|
-
return (
|
|
60
|
+
return (h.publishDate || "").localeCompare(u.publishDate || "");
|
|
61
61
|
}
|
|
62
|
-
}),
|
|
62
|
+
}), g = b ? ((s) => {
|
|
63
63
|
switch (s == null ? void 0 : s.toLowerCase()) {
|
|
64
64
|
case "blog":
|
|
65
|
-
return
|
|
65
|
+
return D;
|
|
66
66
|
default:
|
|
67
67
|
return null;
|
|
68
68
|
}
|
|
69
|
-
})(
|
|
70
|
-
|
|
69
|
+
})(b) : null, n = o != null && o.length ? F(o, P) : [], k = g && n ? n.slice(0, a).map((s, m) => /* @__PURE__ */ r(
|
|
70
|
+
g,
|
|
71
71
|
{
|
|
72
72
|
article: s,
|
|
73
73
|
className: e.document,
|
|
74
74
|
index: m,
|
|
75
|
-
layout:
|
|
76
|
-
limit:
|
|
75
|
+
layout: i,
|
|
76
|
+
limit: a
|
|
77
77
|
},
|
|
78
78
|
s._id
|
|
79
79
|
)) : [];
|
|
80
|
-
return (
|
|
81
|
-
/* @__PURE__ */
|
|
82
|
-
/* @__PURE__ */
|
|
83
|
-
/* @__PURE__ */
|
|
84
|
-
|
|
85
|
-
/* @__PURE__ */ r(
|
|
80
|
+
return (o == null ? void 0 : o.length) && /* @__PURE__ */ r("section", { className: `${e.featuredDocuments} ${U}`, children: /* @__PURE__ */ c("article", { className: e.container, children: [
|
|
81
|
+
/* @__PURE__ */ c("div", { className: `${e.heading}`, children: [
|
|
82
|
+
/* @__PURE__ */ c("div", { className: e.flex, children: [
|
|
83
|
+
/* @__PURE__ */ c("div", { children: [
|
|
84
|
+
l.eyebrow && /* @__PURE__ */ r(d, { blocks: l.eyebrow }),
|
|
85
|
+
/* @__PURE__ */ r(d, { className: e.title, blocks: l.title })
|
|
86
86
|
] }),
|
|
87
|
-
(t == null ? void 0 : t.label) && /* @__PURE__ */
|
|
88
|
-
|
|
87
|
+
(t == null ? void 0 : t.label) && /* @__PURE__ */ c(
|
|
88
|
+
q,
|
|
89
89
|
{
|
|
90
|
-
href:
|
|
90
|
+
href: x ? `/${x}` : z ?? "/",
|
|
91
91
|
children: [
|
|
92
|
-
|
|
92
|
+
Y,
|
|
93
93
|
/* @__PURE__ */ r(G, { size: 18 })
|
|
94
94
|
]
|
|
95
95
|
}
|
|
96
96
|
)
|
|
97
97
|
] }),
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
l.description && /* @__PURE__ */ r(d, { blocks: l.description }),
|
|
99
|
+
l.disclaimer && /* @__PURE__ */ r(
|
|
100
|
+
d,
|
|
101
101
|
{
|
|
102
102
|
className: e.disclaimer,
|
|
103
|
-
blocks:
|
|
103
|
+
blocks: l.disclaimer
|
|
104
104
|
}
|
|
105
105
|
)
|
|
106
106
|
] }),
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
i === "carousel" && k.length > 1 ? /* @__PURE__ */ r("div", { className: e.carousel, ref: C, children: /* @__PURE__ */ r(
|
|
108
|
+
Q,
|
|
109
109
|
{
|
|
110
110
|
autoplay: !1,
|
|
111
|
-
itemsPerPage:
|
|
112
|
-
itemsPerRow:
|
|
113
|
-
items:
|
|
111
|
+
itemsPerPage: f ? 1 : 4,
|
|
112
|
+
itemsPerRow: f ? 1 : 4,
|
|
113
|
+
items: k ?? [],
|
|
114
114
|
isSplit: !1,
|
|
115
|
-
externalRef:
|
|
115
|
+
externalRef: C
|
|
116
116
|
},
|
|
117
|
-
|
|
117
|
+
f ? "mobile" : "desktop"
|
|
118
118
|
) }) : /* @__PURE__ */ r(
|
|
119
119
|
"div",
|
|
120
120
|
{
|
|
121
|
-
className: `${e.documents} ${
|
|
122
|
-
children: (
|
|
123
|
-
var
|
|
124
|
-
return ((
|
|
125
|
-
|
|
121
|
+
className: `${e.documents} ${j} ${B}`,
|
|
122
|
+
children: (n == null ? void 0 : n.length) && n.slice(0, a).map((s, m) => {
|
|
123
|
+
var u;
|
|
124
|
+
return ((u = s == null ? void 0 : s._type) == null ? void 0 : u.toLowerCase()) === "blog" && /* @__PURE__ */ r(
|
|
125
|
+
D,
|
|
126
126
|
{
|
|
127
127
|
article: s,
|
|
128
128
|
className: e.document,
|
|
129
129
|
index: m,
|
|
130
|
-
layout:
|
|
131
|
-
limit:
|
|
130
|
+
layout: i,
|
|
131
|
+
limit: a
|
|
132
132
|
},
|
|
133
133
|
s._id
|
|
134
134
|
);
|
|
@@ -138,5 +138,5 @@ function Ce({
|
|
|
138
138
|
] }) });
|
|
139
139
|
}
|
|
140
140
|
export {
|
|
141
|
-
|
|
141
|
+
be as FeaturedDocumentsBlock
|
|
142
142
|
};
|