@cntrl-site/components 1.0.100 → 1.0.102
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/README.md +25 -1
- package/dist/Burger-C6jI6C1c.js +661 -0
- package/dist/Burger-EMSn7TPB.mjs +1807 -0
- package/dist/ClickGallerie-D_O1XhAO.mjs +270 -0
- package/dist/ClickGallerie-M9xdGR1G.js +36 -0
- package/dist/Components/Burger/BurgerComponent.d.ts +0 -1
- package/dist/Components/ClickGallerie/ClickGallerieComponent.d.ts +0 -1
- package/dist/Components/FAQ/FAQComponent.d.ts +0 -1
- package/dist/Components/Form/FormComponent.d.ts +0 -1
- package/dist/Components/Grid/GridComponent.d.ts +0 -1
- package/dist/Components/Helix/HelixComponent.d.ts +0 -1
- package/dist/Components/Hive/HiveComponent.d.ts +0 -1
- package/dist/Components/LightboxJournal/LightboxJournalComponent.d.ts +0 -1
- package/dist/Components/LightboxStrip/LightboxStripComponent.d.ts +0 -1
- package/dist/Components/List/ListComponent.d.ts +0 -1
- package/dist/Components/Marquee/MarqueeComponent.d.ts +0 -1
- package/dist/Components/MarqueeText/MarqueeTextComponent.d.ts +0 -1
- package/dist/Components/Mercury/MercuryComponent.d.ts +0 -1
- package/dist/Components/OnelinerForm/OnelinerFormComponent.d.ts +0 -1
- package/dist/Components/Pretext/PretextComponent.d.ts +0 -1
- package/dist/Components/Scale/ScaleComponent.d.ts +0 -1
- package/dist/Components/SimpleButton/SimpleButtonComponent.d.ts +0 -1
- package/dist/Components/Slider20/Slider20Component.d.ts +0 -1
- package/dist/Components/TestimonialGrid/TestimonialGridComponent.d.ts +0 -1
- package/dist/Components/TestimonialSingle/TestimonialSingleComponent.d.ts +0 -1
- package/dist/Components/Waterfall/WaterfallComponent.d.ts +0 -1
- package/dist/ControlSlider-SiOt22l_.js +1 -0
- package/dist/ControlSlider-pZv7H6BU.mjs +334 -0
- package/dist/FAQ-C7823fyi.js +166 -0
- package/dist/FAQ-CZ39u4m8.mjs +588 -0
- package/dist/Form-BX5_41nb.mjs +472 -0
- package/dist/Form-Dn-6A1He.js +153 -0
- package/dist/Grid-CemGhf3F.js +374 -0
- package/dist/Grid-cfQsXW3b.mjs +1553 -0
- package/dist/Helix-2Vr-9WBa.js +43 -0
- package/dist/Helix-BmkAKT1G.mjs +315 -0
- package/dist/Hive-BC6zQBsv.js +321 -0
- package/dist/Hive-BGMWinrW.mjs +1425 -0
- package/dist/HiveLightboxTitles-DhEeFKWs.mjs +507 -0
- package/dist/HiveLightboxTitles-DlyptAaK.js +1 -0
- package/dist/ImageRevealSlider-BBWtFjUF.js +1 -0
- package/dist/ImageRevealSlider-BdFGyVEP.mjs +184 -0
- package/dist/Lightbox-CIss_nOG.js +1 -0
- package/dist/Lightbox-eP9qAZzL.mjs +665 -0
- package/dist/LightboxJournal-D59ex6wH.mjs +1613 -0
- package/dist/LightboxJournal-DAEZOPDi.js +523 -0
- package/dist/LightboxStrip-BDjI1jyH.js +386 -0
- package/dist/LightboxStrip-YspzBP8N.mjs +1574 -0
- package/dist/List-C32WImI3.js +377 -0
- package/dist/List-DW7fyJbf.mjs +1891 -0
- package/dist/Marquee-BYClHHws.mjs +551 -0
- package/dist/Marquee-vmHaTGIP.js +133 -0
- package/dist/MarqueeText-4Rip_sQX.mjs +515 -0
- package/dist/MarqueeText-E6OubMOG.js +132 -0
- package/dist/Mercury-BwF_XW2w.js +267 -0
- package/dist/Mercury-DuKJQ1Zo.mjs +1701 -0
- package/dist/OnelinerForm-BEu7_sho.mjs +434 -0
- package/dist/OnelinerForm-C2Y_XMCY.js +194 -0
- package/dist/Pretext-10CcyP1E.mjs +2762 -0
- package/dist/Pretext-DvQ3xsni.js +231 -0
- package/dist/PretextComponent-C3YFICy8.js +1 -0
- package/dist/PretextComponent-Ct0newmn.mjs +11624 -0
- package/dist/RichTextRenderer-B6WtTYlR.mjs +32 -0
- package/dist/RichTextRenderer-CIy6yI8U.js +1 -0
- package/dist/Scale-976sjO8e.js +111 -0
- package/dist/Scale-rLNT4KAk.mjs +345 -0
- package/dist/SimpleButton-C-o2W9bS.mjs +451 -0
- package/dist/SimpleButton-nGEcO2gB.js +243 -0
- package/dist/Slider20-C9o2REDl.js +272 -0
- package/dist/Slider20-Dm8BeCli.mjs +851 -0
- package/dist/SvgImage-B5mR9y6q.mjs +51 -0
- package/dist/SvgImage-DFlmxAoL.js +1 -0
- package/dist/TestimonialGrid-CPu4qQ6B.mjs +492 -0
- package/dist/TestimonialGrid-D4ieiz9e.js +90 -0
- package/dist/TestimonialSingle-CVu15ZtV.js +125 -0
- package/dist/TestimonialSingle-DLdnAVF7.mjs +391 -0
- package/dist/Waterfall-A0FjM2my.mjs +1400 -0
- package/dist/Waterfall-DnPDHbCL.js +287 -0
- package/dist/buildColorVars-CE2D5cQV.js +1 -0
- package/dist/buildColorVars-CLyWQm5K.mjs +21 -0
- package/dist/components-OE3ac1dr.js +1 -0
- package/dist/components-w-jHX-2U.mjs +2053 -0
- package/dist/components.css +1 -1
- package/dist/elements.d.ts +7 -0
- package/dist/elements.js +1 -0
- package/dist/elements.mjs +63 -0
- package/dist/elements.node.d.ts +6 -0
- package/dist/elements.node.js +1 -0
- package/dist/elements.node.mjs +21 -0
- package/dist/forking.d.ts +1 -0
- package/dist/formFieldValidation-DZl2KVaF.js +1 -0
- package/dist/formFieldValidation-DvihFrq5.mjs +21 -0
- package/dist/getColorAlpha-BVBY0N5x.mjs +39 -0
- package/dist/getColorAlpha-CoSseoCn.js +1 -0
- package/dist/getImageRect-BQhQXvT8.js +1 -0
- package/dist/getImageRect-CBMhFNHM.mjs +109 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -28866
- package/dist/index.mjs +16 -62477
- package/dist/loadSvgMaskUrl-DfF7ay6h.js +1 -0
- package/dist/loadSvgMaskUrl-xHgGYgPe.mjs +20 -0
- package/dist/panelAvailability-D179wwJx.mjs +27 -0
- package/dist/panelAvailability-DnOe0rQ4.js +1 -0
- package/dist/react-splide.esm-CabaEmHi.js +6 -0
- package/dist/react-splide.esm-DQqds4PL.mjs +1750 -0
- package/dist/readTestimonialTextMeasure-BIXpGFEt.mjs +13 -0
- package/dist/readTestimonialTextMeasure-CEPaB4Sy.js +1 -0
- package/dist/scalingValue-C9JH5L6O.mjs +6 -0
- package/dist/scalingValue-CSHYgTZl.js +1 -0
- package/dist/sources.d.ts +1 -0
- package/dist/sources.js +23753 -0
- package/dist/sources.mjs +23779 -0
- package/dist/textStylesToCss-05Mn6I_2.mjs +32 -0
- package/dist/textStylesToCss-CNN3zZTV.js +1 -0
- package/dist/types/Component.d.ts +0 -1
- package/dist/useLightboxScrollLock-Hf16Eq4g.js +1 -0
- package/dist/useLightboxScrollLock-VQ07s7EJ.mjs +18 -0
- package/dist/useLightboxSwipeDismiss-Br9uE5G0.js +1 -0
- package/dist/useLightboxSwipeDismiss-SGv6Ra33.mjs +95 -0
- package/dist/useScopedStyles-Bf6yohVQ.js +1 -0
- package/dist/useScopedStyles-DhBG3557.mjs +11 -0
- package/dist/utils-033j3qNL.js +1 -0
- package/dist/utils-FxC9rcxw.mjs +247 -0
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +17 -11
- package/package.json +31 -2
- package/dist/index-2JTNRDR1.js +0 -1
- package/dist/index-DA8t6EZ4.mjs +0 -255
- package/dist/panelAvailability-CgSic84c.mjs +0 -126
- package/dist/panelAvailability-D8c7cdbu.js +0 -1
package/dist/components.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ControlSlider-module__wrapper___sHEkd{position:relative;width:100%;height:100%}.ControlSlider-module__wrapper___sHEkd:hover .ControlSlider-module__hoverArrow___A-dOH{opacity:1!important}.ControlSlider-module__slider___R3i9-{width:100%;height:100%}.ControlSlider-module__sliderItems___1MgPL{display:flex;overflow:hidden;width:100%;height:100%;transition:transform .3s ease-in-out}.ControlSlider-module__sliderItem___QQSkR{width:100%;height:100%;display:flex;position:relative}.ControlSlider-module__sliderImage___9hRl-{width:100%;height:100%;object-fit:cover}.ControlSlider-module__arrow___05ghY{position:absolute;display:flex;align-items:center;justify-content:center;border:none;background-color:transparent;top:50%;left:calc(var(--is-editor, 0) * -1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -1.3888888889vw);z-index:1;transform:translate3d(-50%,-50%,0);padding:0;width:calc(var(--is-editor, 0) * 2.0833333333vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.0833333333vw);height:calc(var(--is-editor, 0) * 2.0833333333vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.0833333333vw)}.ControlSlider-module__arrow___05ghY.ControlSlider-module__arrowVertical___tBfVN{left:50%;top:calc(var(--is-editor, 0) * -1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -1.3888888889vw);transform:translate3d(-50%,-50%,0)}.ControlSlider-module__nextArrow___-30Yc{left:unset;right:calc(var(--is-editor, 0) * -1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -1.3888888889vw);transform:translate3d(50%,-50%,0)}.ControlSlider-module__nextArrow___-30Yc.ControlSlider-module__arrowVertical___tBfVN{left:50%;right:unset;top:unset;bottom:calc(var(--is-editor, 0) * -1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -1.3888888889vw);transform:translate3d(-50%,50%,0)}.ControlSlider-module__arrowInner___aEra3{all:unset;cursor:pointer;width:100%;height:100%}.ControlSlider-module__arrowInner___aEra3:hover .ControlSlider-module__arrowIcon___S4ztF path{fill:var(--arrow-hover-color)!important}.ControlSlider-module__arrowImg___2dwJW{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ControlSlider-module__arrowIcon___S4ztF{width:100%;height:100%;overflow:visible}.ControlSlider-module__arrowIcon___S4ztF path{transition:fill .15s ease-in-out}.ControlSlider-module__mirror___brd6U{transform:translate(-50%,-50%) scaleX(-1)!important}.ControlSlider-module__arrowVertical___tBfVN.ControlSlider-module__mirror___brd6U{transform:translate(-50%,-50%) scaleY(-1)!important}.ControlSlider-module__hoverArrow___A-dOH{opacity:0;transition:opacity .15s ease-in-out}.ControlSlider-module__hoverArrow___A-dOH:hover{opacity:1}.ControlSlider-module__pagination___bicLF{position:absolute;z-index:1;border-radius:50%}.ControlSlider-module__paginationInner___bT-P-{display:flex;gap:calc(var(--is-editor, 0) * 1.1111111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.1111111111vw);padding-top:calc(var(--is-editor, 0) * .6944444444vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * .6944444444vw);padding-bottom:calc(var(--is-editor, 0) * .6944444444vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * .6944444444vw);padding-left:calc(var(--is-editor, 0) * 1.25vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.25vw);padding-right:calc(var(--is-editor, 0) * 1.25vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.25vw);border-radius:calc(var(--is-editor, 0) * 2.3611111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.3611111111vw)}.ControlSlider-module__paginationVertical___zYqKw{flex-direction:column}.ControlSlider-module__paginationItem___nTRbk{all:unset;flex-shrink:0;position:relative;width:calc(var(--is-editor, 0) * 1.1111111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.1111111111vw);height:calc(var(--is-editor, 0) * 1.1111111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.1111111111vw);cursor:pointer}.ControlSlider-module__paginationItem___nTRbk:hover .ControlSlider-module__dot___p1Qun{background-color:var(--pagination-hover-color)!important}.ControlSlider-module__dot___p1Qun{border-radius:50%;scale:.5;transition:background-color .3s ease-in-out,transform .3s ease-in-out;width:calc(var(--is-editor, 0) * 1.1111111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.1111111111vw);height:calc(var(--is-editor, 0) * 1.1111111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.1111111111vw)}.ControlSlider-module__activeDot___LHFaj{transform:scale(2)}.ControlSlider-module__paginationInsideBottom___R3FWn{bottom:0;left:50%;transform:translate3d(-50%,0,0)}.ControlSlider-module__paginationInsideTop___V-qb-{left:50%;transform:translate3d(-50%,0,0);top:0}.ControlSlider-module__paginationOutsideBottom___14w8D{left:50%;transform:translate3d(-50%,0,0);bottom:calc(var(--is-editor, 0) * -2.4305555556vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -2.4305555556vw)}.ControlSlider-module__paginationOutsideTop___SCLqB{left:50%;transform:translate3d(-50%,0,0);top:calc(var(--is-editor, 0) * -2.4305555556vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -2.4305555556vw)}.ControlSlider-module__paginationInsideLeft___yOBRZ{top:50%;transform:translate3d(0,-50%,0);left:calc(var(--is-editor, 0) * -2.4305555556vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -2.4305555556vw)}.ControlSlider-module__paginationInsideRight___Rtt3o{top:50%;transform:translate3d(0,-50%,0);right:calc(var(--is-editor, 0) * -2.4305555556vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -2.4305555556vw)}.ControlSlider-module__paginationOutsideLeft___lahaw{top:50%;transform:translate3d(0,-50%,0);left:calc(var(--is-editor, 0) * -5.4861111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -5.4861111111vw)}.ControlSlider-module__paginationOutsideRight___EtuQa{top:50%;transform:translate3d(0,-50%,0);right:calc(var(--is-editor, 0) * -5.4861111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -5.4861111111vw)}.ControlSlider-module__imgWrapper___UjEgB,.ControlSlider-module__wrapperInner___DLAWV{width:100%;height:100%}.ControlSlider-module__captionBlock___dJ6-j{pointer-events:none;position:absolute;top:0;z-index:1;left:0;right:0;bottom:0}.ControlSlider-module__captionTextWrapper___HFlpf{position:relative;width:100%;height:100%}.ControlSlider-module__captionText___uGBVc{pointer-events:none;max-width:100%;transition-property:opacity;transition-timing-function:ease-in-out;position:absolute;display:inline-block;white-space:pre-wrap;overflow-wrap:break-word;opacity:0}.ControlSlider-module__captionText___uGBVc.ControlSlider-module__active___WZK4G{opacity:1}.ControlSlider-module__withPointerEvents___t-18M{pointer-events:auto}.ControlSlider-module__absolute___KxmYB{position:absolute}.ControlSlider-module__topLeftAlignment___zjnGM{top:0;left:0}.ControlSlider-module__topCenterAlignment___gD1xW{top:0;left:50%;transform:translate(-50%)}.ControlSlider-module__topRightAlignment___NMapS{top:0;right:0}.ControlSlider-module__middleLeftAlignment___OnUrY{top:50%;transform:translateY(-50%);left:0}.ControlSlider-module__middleCenterAlignment___Tdkl0{top:50%;transform:translate(-50%,-50%);left:50%}.ControlSlider-module__middleRightAlignment___wEbfX{top:50%;transform:translateY(-50%);right:0}.ControlSlider-module__bottomLeftAlignment___cTP2-{bottom:0;left:0}.ControlSlider-module__bottomCenterAlignment___c54fB{bottom:0;left:50%;transform:translate(-50%)}.ControlSlider-module__bottomRightAlignment___kEwrz{bottom:0;right:0}.ControlSlider-module__clickOverlay___DZA28{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}.ControlSlider-module__contain___pLyq7{object-fit:contain}.ControlSlider-module__cover___KdDat{object-fit:cover}@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.splide__track--fade>.splide__list>.splide__slide{margin:0!important;opacity:0;z-index:0}.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;z-index:1}.splide--rtl{direction:rtl}.splide__track--ttb>.splide__list{display:block}.splide__container{box-sizing:border-box;position:relative}.splide__list{backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}.splide.is-initialized:not(.is-active) .splide__list{display:block}.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}.splide:not(.is-overflow) .splide__pagination{display:none}.splide__progress__bar{width:0}.splide{position:relative;visibility:hidden}.splide.is-initialized,.splide.is-rendered{visibility:visible}.splide__slide{backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}.splide__slide img{vertical-align:bottom}.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #999;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}.splide__toggle.is-active .splide__toggle__pause{display:inline}.splide__track{overflow:hidden;position:relative;z-index:0}.RichTextRenderer-module__link___BWeZ2{color:var(--link-color);cursor:pointer;pointer-events:auto;transition:color .2s ease}.RichTextRenderer-module__link___BWeZ2:hover{color:var(--link-hover-color)}.SvgImage-module__svg___q3xE-{width:100%;height:100%;color:transparent;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:var(--fill);transition:background-color .2s;-webkit-mask:var(--svg) no-repeat center/contain;mask:var(--svg) no-repeat center/contain}.SvgImage-module__svg___q3xE-:hover{background-color:var(--hover-fill)}.SvgImage-module__img___VsTm-{width:100%;height:100%;object-fit:contain}.ImageRevealSlider-module__imageRevealSlider___UE5Ob{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.ImageRevealSlider-module__image___Qjt-e{display:block;width:100%;height:100%;object-fit:cover;position:relative;-webkit-user-select:none;user-select:none;pointer-events:none}.ImageRevealSlider-module__link___N-iLG{width:100%;height:100%;display:block}.ImageRevealSlider-module__cursor___2U03d{position:absolute;top:0;left:0;pointer-events:none;width:32px;height:32px}.LightBox-module__hidden___9s-9x{display:none}.LightBox-module__heroImage___sTxNF{width:100%;height:100%;cursor:pointer;object-fit:cover}.LightBox-module__background___rm9ml{position:fixed;z-index:9997;top:var(--cntrl-article-top, 0);left:var(--cntrl-article-left, 0);width:var(--cntrl-article-width, 100vw)!important;height:var(--cntrl-viewport-height, 100vh)!important}.LightBox-module__editor___4ACaY{width:var(--cntrl-article-width)!important;margin-left:auto;margin-right:auto}.LightBox-module__contentStyle___Bgnsq{position:fixed;z-index:9999;top:var(--cntrl-article-top, 0);left:var(--cntrl-article-left, 0);width:var(--cntrl-article-width, 100vw)!important;height:var(--cntrl-viewport-height, 100vh)!important;overflow:hidden;background:transparent;box-sizing:border-box}.LightBox-module__imageStyle___tLIlB{position:relative;display:block;cursor:pointer;background-color:transparent;max-width:100%;max-height:100%;width:auto;height:auto}.LightBox-module__imgWrapper___LuFUp{position:relative;display:flex;width:100%;height:100%;overflow:hidden;box-sizing:border-box}.LightBox-module__contain___8-yaS{object-fit:contain;max-width:100%;max-height:100%}.LightBox-module__cover___hNvOG{width:100%;height:100%;object-fit:cover}.LightBox-module__caption___b6L2I{z-index:9999;position:absolute;display:flex}.LightBox-module__captionTextInner___rCGNH{position:relative}.LightBox-module__lightboxSplide___XFuWC.splide,.LightBox-module__lightboxSplide___XFuWC .splide__track{height:100%}.LightBox-module__arrow___iz38X{position:absolute;display:flex;align-items:center;justify-content:center;cursor:pointer;border:none;background-color:transparent;top:50%;z-index:1;transform:translate(-50%,-50%);padding:0;left:calc(var(--is-editor, 0) * 1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.3888888889vw);width:calc(var(--is-editor, 0) * 2.0833333333vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.0833333333vw);height:calc(var(--is-editor, 0) * 2.0833333333vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.0833333333vw)}.LightBox-module__arrow___iz38X.LightBox-module__arrowVertical___Zfz81{left:50%;top:calc(var(--is-editor, 0) * 1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.3888888889vw);transform:translate(-50%,-50%)}.LightBox-module__nextArrow___zkAQN{left:unset;right:calc(var(--is-editor, 0) * 1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.3888888889vw);transform:translate(50%,-50%)}.LightBox-module__nextArrow___zkAQN.LightBox-module__arrowVertical___Zfz81{left:50%;right:unset;top:unset;bottom:calc(var(--is-editor, 0) * 1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.3888888889vw);transform:translate(-50%,50%)}.LightBox-module__arrowInner___p48sW{all:unset;cursor:pointer;width:100%;height:100%}.LightBox-module__arrowInner___p48sW:hover .LightBox-module__arrowIcon___3VaFf path{fill:var(--arrow-hover-color)!important}.LightBox-module__arrowImg___pNV88{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.LightBox-module__arrowIcon___3VaFf{width:100%;height:100%;overflow:visible}.LightBox-module__arrowIcon___3VaFf path{transition:fill .15s ease-in-out}.LightBox-module__mirror___pjeXc{transform:translate(-50%,-50%) scaleX(-1)!important}.LightBox-module__arrowVertical___Zfz81.LightBox-module__mirror___pjeXc{transform:translate(-50%,-50%) scaleY(-1)!important}.LightBox-module__thumbsWrapper___GB-nU{height:auto;width:auto;max-height:100vh;max-width:100%;overflow:auto;position:absolute;top:0;-webkit-overflow-scrolling:touch}.LightBox-module__thumbsWrapper___GB-nU::-webkit-scrollbar{padding:10px;scrollbar-width:none}.LightBox-module__thumbsContainerVertical___wttk5{flex-direction:column;display:flex}.LightBox-module__thumbsContainer___osSma{display:flex;pointer-events:none}.LightBox-module__thumbsAlignStart___MO6tY{align-items:flex-start}.LightBox-module__thumbsAlignCenter___Q4sUx{align-items:center}.LightBox-module__thumbsAlignEnd___p4y9R{align-items:flex-end}.LightBox-module__thumbItem___HvnF3{all:unset;display:inline-flex;align-items:center;justify-content:center;pointer-events:all;flex:0 0 auto;cursor:pointer;overflow:hidden}.LightBox-module__thumbItem___HvnF3:hover{opacity:var(--thumb-hover)!important}.LightBox-module__thumbsContainerVertical___wttk5 .LightBox-module__thumbItem___HvnF3{flex:1 1 auto}.LightBox-module__closeButton___g2khP{all:unset;cursor:pointer;position:absolute;width:calc(var(--is-editor, 0) * 2.0833333333vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.0833333333vw);height:calc(var(--is-editor, 0) * 2.0833333333vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.0833333333vw)}@keyframes LightBox-module__lbFadeIn___P8mx0{0%{opacity:0}to{opacity:1}}.LightBox-module__fadeIn___0m5GW{animation-name:LightBox-module__lbFadeIn___P8mx0}@keyframes LightBox-module__lbSlideInLeft___ygsXZ{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes LightBox-module__lbSlideInRight___w2YKV{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes LightBox-module__lbSlideInTop___W7CSQ{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes LightBox-module__lbSlideInBottom___7kiT2{0%{transform:translateY(100%)}to{transform:translateY(0)}}.LightBox-module__slideInLeft___gPYwC{animation-name:LightBox-module__lbSlideInLeft___ygsXZ}.LightBox-module__slideInRight___S-pPp{animation-name:LightBox-module__lbSlideInRight___w2YKV}.LightBox-module__slideInTop___DFdAj{animation-name:LightBox-module__lbSlideInTop___W7CSQ}.LightBox-module__slideInBottom___m27kZ{animation-name:LightBox-module__lbSlideInBottom___7kiT2}@keyframes LightBox-module__lbFadeOut___MhEeN{0%{opacity:1}to{opacity:0}}.LightBox-module__fadeOut___55qBR{animation-name:LightBox-module__lbFadeOut___MhEeN!important}@keyframes LightBox-module__lbSlideOutLeft___xM4sO{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes LightBox-module__lbSlideOutRight___Jppgj{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes LightBox-module__lbSlideOutTop___pvscE{0%{transform:translateY(0)}to{transform:translateY(-100%)}}@keyframes LightBox-module__lbSlideOutBottom___oFjPG{0%{transform:translateY(0)}to{transform:translateY(100%)}}.LightBox-module__slideOutLeft___NvU7P{animation-name:LightBox-module__lbSlideOutLeft___xM4sO!important}.LightBox-module__slideOutRight___SK7eC{animation-name:LightBox-module__lbSlideOutRight___Jppgj!important}.LightBox-module__slideOutTop___Vgg0z{animation-name:LightBox-module__lbSlideOutTop___pvscE!important}.LightBox-module__slideOutBottom___nJ0Ef{animation-name:LightBox-module__lbSlideOutBottom___oFjPG!important}.LightBox-module__lightboxSplide___XFuWC.splide--fade .LightBox-module__scaleSlide___vZriG{opacity:0!important;transform:var(--position-transform, none) scale(.9)!important;transition:opacity var(--splide-speed, .5s) ease,transform var(--splide-speed, .5s) ease!important}.LightBox-module__lightboxSplide___XFuWC.splide--fade .splide__slide.is-active .LightBox-module__scaleSlide___vZriG{opacity:1!important;transform:var(--position-transform, none) scale(1)!important}.LightBox-module__lightboxSplide___XFuWC.splide--fade .splide__slide:not(.is-active) .LightBox-module__scaleSlide___vZriG{opacity:0!important;transform:var(--position-transform, none) scale(1.1)!important}
|
|
1
|
+
@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.splide__track--fade>.splide__list>.splide__slide{margin:0!important;opacity:0;z-index:0}.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;z-index:1}.splide--rtl{direction:rtl}.splide__track--ttb>.splide__list{display:block}.splide__container{box-sizing:border-box;position:relative}.splide__list{backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}.splide.is-initialized:not(.is-active) .splide__list{display:block}.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}.splide:not(.is-overflow) .splide__pagination{display:none}.splide__progress__bar{width:0}.splide{position:relative;visibility:hidden}.splide.is-initialized,.splide.is-rendered{visibility:visible}.splide__slide{backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}.splide__slide img{vertical-align:bottom}.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #999;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}.splide__toggle.is-active .splide__toggle__pause{display:inline}.splide__track{overflow:hidden;position:relative;z-index:0}.RichTextRenderer-module__link___BWeZ2{color:var(--link-color);cursor:pointer;pointer-events:auto;transition:color .2s ease}.RichTextRenderer-module__link___BWeZ2:hover{color:var(--link-hover-color)}.SvgImage-module__svg___q3xE-{width:100%;height:100%;color:transparent;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:var(--fill);transition:background-color .2s;-webkit-mask:var(--svg) no-repeat center/contain;mask:var(--svg) no-repeat center/contain}.SvgImage-module__svg___q3xE-:hover{background-color:var(--hover-fill)}.SvgImage-module__img___VsTm-{width:100%;height:100%;object-fit:contain}.ControlSlider-module__wrapper___sHEkd{position:relative;width:100%;height:100%}.ControlSlider-module__wrapper___sHEkd:hover .ControlSlider-module__hoverArrow___A-dOH{opacity:1!important}.ControlSlider-module__slider___R3i9-{width:100%;height:100%}.ControlSlider-module__sliderItems___1MgPL{display:flex;overflow:hidden;width:100%;height:100%;transition:transform .3s ease-in-out}.ControlSlider-module__sliderItem___QQSkR{width:100%;height:100%;display:flex;position:relative}.ControlSlider-module__sliderImage___9hRl-{width:100%;height:100%;object-fit:cover}.ControlSlider-module__arrow___05ghY{position:absolute;display:flex;align-items:center;justify-content:center;border:none;background-color:transparent;top:50%;left:calc(var(--is-editor, 0) * -1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -1.3888888889vw);z-index:1;transform:translate3d(-50%,-50%,0);padding:0;width:calc(var(--is-editor, 0) * 2.0833333333vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.0833333333vw);height:calc(var(--is-editor, 0) * 2.0833333333vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.0833333333vw)}.ControlSlider-module__arrow___05ghY.ControlSlider-module__arrowVertical___tBfVN{left:50%;top:calc(var(--is-editor, 0) * -1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -1.3888888889vw);transform:translate3d(-50%,-50%,0)}.ControlSlider-module__nextArrow___-30Yc{left:unset;right:calc(var(--is-editor, 0) * -1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -1.3888888889vw);transform:translate3d(50%,-50%,0)}.ControlSlider-module__nextArrow___-30Yc.ControlSlider-module__arrowVertical___tBfVN{left:50%;right:unset;top:unset;bottom:calc(var(--is-editor, 0) * -1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -1.3888888889vw);transform:translate3d(-50%,50%,0)}.ControlSlider-module__arrowInner___aEra3{all:unset;cursor:pointer;width:100%;height:100%}.ControlSlider-module__arrowInner___aEra3:hover .ControlSlider-module__arrowIcon___S4ztF path{fill:var(--arrow-hover-color)!important}.ControlSlider-module__arrowImg___2dwJW{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ControlSlider-module__arrowIcon___S4ztF{width:100%;height:100%;overflow:visible}.ControlSlider-module__arrowIcon___S4ztF path{transition:fill .15s ease-in-out}.ControlSlider-module__mirror___brd6U{transform:translate(-50%,-50%) scaleX(-1)!important}.ControlSlider-module__arrowVertical___tBfVN.ControlSlider-module__mirror___brd6U{transform:translate(-50%,-50%) scaleY(-1)!important}.ControlSlider-module__hoverArrow___A-dOH{opacity:0;transition:opacity .15s ease-in-out}.ControlSlider-module__hoverArrow___A-dOH:hover{opacity:1}.ControlSlider-module__pagination___bicLF{position:absolute;z-index:1;border-radius:50%}.ControlSlider-module__paginationInner___bT-P-{display:flex;gap:calc(var(--is-editor, 0) * 1.1111111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.1111111111vw);padding-top:calc(var(--is-editor, 0) * .6944444444vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * .6944444444vw);padding-bottom:calc(var(--is-editor, 0) * .6944444444vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * .6944444444vw);padding-left:calc(var(--is-editor, 0) * 1.25vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.25vw);padding-right:calc(var(--is-editor, 0) * 1.25vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.25vw);border-radius:calc(var(--is-editor, 0) * 2.3611111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.3611111111vw)}.ControlSlider-module__paginationVertical___zYqKw{flex-direction:column}.ControlSlider-module__paginationItem___nTRbk{all:unset;flex-shrink:0;position:relative;width:calc(var(--is-editor, 0) * 1.1111111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.1111111111vw);height:calc(var(--is-editor, 0) * 1.1111111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.1111111111vw);cursor:pointer}.ControlSlider-module__paginationItem___nTRbk:hover .ControlSlider-module__dot___p1Qun{background-color:var(--pagination-hover-color)!important}.ControlSlider-module__dot___p1Qun{border-radius:50%;scale:.5;transition:background-color .3s ease-in-out,transform .3s ease-in-out;width:calc(var(--is-editor, 0) * 1.1111111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.1111111111vw);height:calc(var(--is-editor, 0) * 1.1111111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.1111111111vw)}.ControlSlider-module__activeDot___LHFaj{transform:scale(2)}.ControlSlider-module__paginationInsideBottom___R3FWn{bottom:0;left:50%;transform:translate3d(-50%,0,0)}.ControlSlider-module__paginationInsideTop___V-qb-{left:50%;transform:translate3d(-50%,0,0);top:0}.ControlSlider-module__paginationOutsideBottom___14w8D{left:50%;transform:translate3d(-50%,0,0);bottom:calc(var(--is-editor, 0) * -2.4305555556vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -2.4305555556vw)}.ControlSlider-module__paginationOutsideTop___SCLqB{left:50%;transform:translate3d(-50%,0,0);top:calc(var(--is-editor, 0) * -2.4305555556vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -2.4305555556vw)}.ControlSlider-module__paginationInsideLeft___yOBRZ{top:50%;transform:translate3d(0,-50%,0);left:calc(var(--is-editor, 0) * -2.4305555556vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -2.4305555556vw)}.ControlSlider-module__paginationInsideRight___Rtt3o{top:50%;transform:translate3d(0,-50%,0);right:calc(var(--is-editor, 0) * -2.4305555556vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -2.4305555556vw)}.ControlSlider-module__paginationOutsideLeft___lahaw{top:50%;transform:translate3d(0,-50%,0);left:calc(var(--is-editor, 0) * -5.4861111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -5.4861111111vw)}.ControlSlider-module__paginationOutsideRight___EtuQa{top:50%;transform:translate3d(0,-50%,0);right:calc(var(--is-editor, 0) * -5.4861111111vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * -5.4861111111vw)}.ControlSlider-module__imgWrapper___UjEgB,.ControlSlider-module__wrapperInner___DLAWV{width:100%;height:100%}.ControlSlider-module__captionBlock___dJ6-j{pointer-events:none;position:absolute;top:0;z-index:1;left:0;right:0;bottom:0}.ControlSlider-module__captionTextWrapper___HFlpf{position:relative;width:100%;height:100%}.ControlSlider-module__captionText___uGBVc{pointer-events:none;max-width:100%;transition-property:opacity;transition-timing-function:ease-in-out;position:absolute;display:inline-block;white-space:pre-wrap;overflow-wrap:break-word;opacity:0}.ControlSlider-module__captionText___uGBVc.ControlSlider-module__active___WZK4G{opacity:1}.ControlSlider-module__withPointerEvents___t-18M{pointer-events:auto}.ControlSlider-module__absolute___KxmYB{position:absolute}.ControlSlider-module__topLeftAlignment___zjnGM{top:0;left:0}.ControlSlider-module__topCenterAlignment___gD1xW{top:0;left:50%;transform:translate(-50%)}.ControlSlider-module__topRightAlignment___NMapS{top:0;right:0}.ControlSlider-module__middleLeftAlignment___OnUrY{top:50%;transform:translateY(-50%);left:0}.ControlSlider-module__middleCenterAlignment___Tdkl0{top:50%;transform:translate(-50%,-50%);left:50%}.ControlSlider-module__middleRightAlignment___wEbfX{top:50%;transform:translateY(-50%);right:0}.ControlSlider-module__bottomLeftAlignment___cTP2-{bottom:0;left:0}.ControlSlider-module__bottomCenterAlignment___c54fB{bottom:0;left:50%;transform:translate(-50%)}.ControlSlider-module__bottomRightAlignment___kEwrz{bottom:0;right:0}.ControlSlider-module__clickOverlay___DZA28{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}.ControlSlider-module__contain___pLyq7{object-fit:contain}.ControlSlider-module__cover___KdDat{object-fit:cover}.ImageRevealSlider-module__imageRevealSlider___UE5Ob{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.ImageRevealSlider-module__image___Qjt-e{display:block;width:100%;height:100%;object-fit:cover;position:relative;-webkit-user-select:none;user-select:none;pointer-events:none}.ImageRevealSlider-module__link___N-iLG{width:100%;height:100%;display:block}.ImageRevealSlider-module__cursor___2U03d{position:absolute;top:0;left:0;pointer-events:none;width:32px;height:32px}.LightBox-module__hidden___9s-9x{display:none}.LightBox-module__heroImage___sTxNF{width:100%;height:100%;cursor:pointer;object-fit:cover}.LightBox-module__background___rm9ml{position:fixed;z-index:9997;top:var(--cntrl-article-top, 0);left:var(--cntrl-article-left, 0);width:var(--cntrl-article-width, 100vw)!important;height:var(--cntrl-viewport-height, 100vh)!important}.LightBox-module__editor___4ACaY{width:var(--cntrl-article-width)!important;margin-left:auto;margin-right:auto}.LightBox-module__contentStyle___Bgnsq{position:fixed;z-index:9999;top:var(--cntrl-article-top, 0);left:var(--cntrl-article-left, 0);width:var(--cntrl-article-width, 100vw)!important;height:var(--cntrl-viewport-height, 100vh)!important;overflow:hidden;background:transparent;box-sizing:border-box}.LightBox-module__imageStyle___tLIlB{position:relative;display:block;cursor:pointer;background-color:transparent;max-width:100%;max-height:100%;width:auto;height:auto}.LightBox-module__imgWrapper___LuFUp{position:relative;display:flex;width:100%;height:100%;overflow:hidden;box-sizing:border-box}.LightBox-module__contain___8-yaS{object-fit:contain;max-width:100%;max-height:100%}.LightBox-module__cover___hNvOG{width:100%;height:100%;object-fit:cover}.LightBox-module__caption___b6L2I{z-index:9999;position:absolute;display:flex}.LightBox-module__captionTextInner___rCGNH{position:relative}.LightBox-module__lightboxSplide___XFuWC.splide,.LightBox-module__lightboxSplide___XFuWC .splide__track{height:100%}.LightBox-module__arrow___iz38X{position:absolute;display:flex;align-items:center;justify-content:center;cursor:pointer;border:none;background-color:transparent;top:50%;z-index:1;transform:translate(-50%,-50%);padding:0;left:calc(var(--is-editor, 0) * 1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.3888888889vw);width:calc(var(--is-editor, 0) * 2.0833333333vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.0833333333vw);height:calc(var(--is-editor, 0) * 2.0833333333vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.0833333333vw)}.LightBox-module__arrow___iz38X.LightBox-module__arrowVertical___Zfz81{left:50%;top:calc(var(--is-editor, 0) * 1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.3888888889vw);transform:translate(-50%,-50%)}.LightBox-module__nextArrow___zkAQN{left:unset;right:calc(var(--is-editor, 0) * 1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.3888888889vw);transform:translate(50%,-50%)}.LightBox-module__nextArrow___zkAQN.LightBox-module__arrowVertical___Zfz81{left:50%;right:unset;top:unset;bottom:calc(var(--is-editor, 0) * 1.3888888889vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 1.3888888889vw);transform:translate(-50%,50%)}.LightBox-module__arrowInner___p48sW{all:unset;cursor:pointer;width:100%;height:100%}.LightBox-module__arrowInner___p48sW:hover .LightBox-module__arrowIcon___3VaFf path{fill:var(--arrow-hover-color)!important}.LightBox-module__arrowImg___pNV88{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.LightBox-module__arrowIcon___3VaFf{width:100%;height:100%;overflow:visible}.LightBox-module__arrowIcon___3VaFf path{transition:fill .15s ease-in-out}.LightBox-module__mirror___pjeXc{transform:translate(-50%,-50%) scaleX(-1)!important}.LightBox-module__arrowVertical___Zfz81.LightBox-module__mirror___pjeXc{transform:translate(-50%,-50%) scaleY(-1)!important}.LightBox-module__thumbsWrapper___GB-nU{height:auto;width:auto;max-height:100vh;max-width:100%;overflow:auto;position:absolute;top:0;-webkit-overflow-scrolling:touch}.LightBox-module__thumbsWrapper___GB-nU::-webkit-scrollbar{padding:10px;scrollbar-width:none}.LightBox-module__thumbsContainerVertical___wttk5{flex-direction:column;display:flex}.LightBox-module__thumbsContainer___osSma{display:flex;pointer-events:none}.LightBox-module__thumbsAlignStart___MO6tY{align-items:flex-start}.LightBox-module__thumbsAlignCenter___Q4sUx{align-items:center}.LightBox-module__thumbsAlignEnd___p4y9R{align-items:flex-end}.LightBox-module__thumbItem___HvnF3{all:unset;display:inline-flex;align-items:center;justify-content:center;pointer-events:all;flex:0 0 auto;cursor:pointer;overflow:hidden}.LightBox-module__thumbItem___HvnF3:hover{opacity:var(--thumb-hover)!important}.LightBox-module__thumbsContainerVertical___wttk5 .LightBox-module__thumbItem___HvnF3{flex:1 1 auto}.LightBox-module__closeButton___g2khP{all:unset;cursor:pointer;position:absolute;width:calc(var(--is-editor, 0) * 2.0833333333vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.0833333333vw);height:calc(var(--is-editor, 0) * 2.0833333333vw / var(--cntrl-reverse-layout-deviation, 1) + (1 - var(--is-editor, 0)) * 2.0833333333vw)}@keyframes LightBox-module__lbFadeIn___P8mx0{0%{opacity:0}to{opacity:1}}.LightBox-module__fadeIn___0m5GW{animation-name:LightBox-module__lbFadeIn___P8mx0}@keyframes LightBox-module__lbSlideInLeft___ygsXZ{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes LightBox-module__lbSlideInRight___w2YKV{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes LightBox-module__lbSlideInTop___W7CSQ{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes LightBox-module__lbSlideInBottom___7kiT2{0%{transform:translateY(100%)}to{transform:translateY(0)}}.LightBox-module__slideInLeft___gPYwC{animation-name:LightBox-module__lbSlideInLeft___ygsXZ}.LightBox-module__slideInRight___S-pPp{animation-name:LightBox-module__lbSlideInRight___w2YKV}.LightBox-module__slideInTop___DFdAj{animation-name:LightBox-module__lbSlideInTop___W7CSQ}.LightBox-module__slideInBottom___m27kZ{animation-name:LightBox-module__lbSlideInBottom___7kiT2}@keyframes LightBox-module__lbFadeOut___MhEeN{0%{opacity:1}to{opacity:0}}.LightBox-module__fadeOut___55qBR{animation-name:LightBox-module__lbFadeOut___MhEeN!important}@keyframes LightBox-module__lbSlideOutLeft___xM4sO{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes LightBox-module__lbSlideOutRight___Jppgj{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes LightBox-module__lbSlideOutTop___pvscE{0%{transform:translateY(0)}to{transform:translateY(-100%)}}@keyframes LightBox-module__lbSlideOutBottom___oFjPG{0%{transform:translateY(0)}to{transform:translateY(100%)}}.LightBox-module__slideOutLeft___NvU7P{animation-name:LightBox-module__lbSlideOutLeft___xM4sO!important}.LightBox-module__slideOutRight___SK7eC{animation-name:LightBox-module__lbSlideOutRight___Jppgj!important}.LightBox-module__slideOutTop___Vgg0z{animation-name:LightBox-module__lbSlideOutTop___pvscE!important}.LightBox-module__slideOutBottom___nJ0Ef{animation-name:LightBox-module__lbSlideOutBottom___oFjPG!important}.LightBox-module__lightboxSplide___XFuWC.splide--fade .LightBox-module__scaleSlide___vZriG{opacity:0!important;transform:var(--position-transform, none) scale(.9)!important;transition:opacity var(--splide-speed, .5s) ease,transform var(--splide-speed, .5s) ease!important}.LightBox-module__lightboxSplide___XFuWC.splide--fade .splide__slide.is-active .LightBox-module__scaleSlide___vZriG{opacity:1!important;transform:var(--position-transform, none) scale(1)!important}.LightBox-module__lightboxSplide___XFuWC.splide--fade .splide__slide:not(.is-active) .LightBox-module__scaleSlide___vZriG{opacity:0!important;transform:var(--position-transform, none) scale(1.1)!important}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
export type ComponentElement = ComponentType<any>;
|
|
3
|
+
export declare const componentElementIds: string[];
|
|
4
|
+
export declare function hasComponentElement(id: string): boolean;
|
|
5
|
+
export declare function getComponentElement(id: string): ComponentElement | undefined;
|
|
6
|
+
export declare function hasComponentElementFailed(id: string): boolean;
|
|
7
|
+
export declare function loadComponentElement(id: string): Promise<ComponentElement | undefined>;
|
package/dist/elements.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var h=Object.create;var a=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var d=(e,r,n,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of c(r))!f.call(e,i)&&i!==n&&a(e,i,{get:()=>r[i],enumerable:!(o=u(r,i))||o.enumerable});return e};var t=(e,r,n)=>(n=e!=null?h(g(e)):{},d(r||!e||!e.__esModule?a(n,"default",{value:e,enumerable:!0}):n,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m={"basic-burger":()=>import(/* webpackFetchPriority: "high" */ "./Burger-C6jI6C1c.js").then(e=>e.Burger),"click-gallerie":()=>import(/* webpackFetchPriority: "high" */ "./ClickGallerie-M9xdGR1G.js").then(e=>e.ClickGallerie),"control-slider":()=>import(/* webpackFetchPriority: "high" */ "./ControlSlider-SiOt22l_.js").then(e=>e.ControlSlider),faq:()=>import(/* webpackFetchPriority: "high" */ "./FAQ-C7823fyi.js").then(e=>e.FAQ),form:()=>import(/* webpackFetchPriority: "high" */ "./Form-Dn-6A1He.js").then(e=>e.Form),grid:()=>import(/* webpackFetchPriority: "high" */ "./Grid-CemGhf3F.js").then(e=>e.Grid),helix:()=>import(/* webpackFetchPriority: "high" */ "./Helix-2Vr-9WBa.js").then(e=>e.Helix),hive:()=>import(/* webpackFetchPriority: "high" */ "./Hive-BC6zQBsv.js").then(e=>e.Hive),"control-image-reveal":()=>import(/* webpackFetchPriority: "high" */ "./ImageRevealSlider-BBWtFjUF.js").then(e=>e.ImageRevealSlider),lightbox:()=>import(/* webpackFetchPriority: "high" */ "./Lightbox-CIss_nOG.js").then(e=>e.LightboxGallery),"lightbox-journal":()=>import(/* webpackFetchPriority: "high" */ "./LightboxJournal-DAEZOPDi.js").then(e=>e.LightboxJournal),"lightbox-strip":()=>import(/* webpackFetchPriority: "high" */ "./LightboxStrip-BDjI1jyH.js").then(e=>e.LightboxStrip),list:()=>import(/* webpackFetchPriority: "high" */ "./List-C32WImI3.js").then(e=>e.List),marquee:()=>import(/* webpackFetchPriority: "high" */ "./Marquee-vmHaTGIP.js").then(e=>e.Marquee),"marquee-text":()=>import(/* webpackFetchPriority: "high" */ "./MarqueeText-E6OubMOG.js").then(e=>e.MarqueeText),mercury:()=>import(/* webpackFetchPriority: "high" */ "./Mercury-BwF_XW2w.js").then(e=>e.Mercury),"oneliner-form":()=>import(/* webpackFetchPriority: "high" */ "./OnelinerForm-C2Y_XMCY.js").then(e=>e.OnelinerForm),pretext:()=>import(/* webpackFetchPriority: "high" */ "./Pretext-DvQ3xsni.js").then(e=>e.Pretext),scale:()=>import(/* webpackFetchPriority: "high" */ "./Scale-976sjO8e.js").then(e=>e.Scale),"simple-button":()=>import(/* webpackFetchPriority: "high" */ "./SimpleButton-nGEcO2gB.js").then(e=>e.SimpleButton),"slider-2-0":()=>import(/* webpackFetchPriority: "high" */ "./Slider20-C9o2REDl.js").then(e=>e.Slider20),testimonials:()=>import(/* webpackFetchPriority: "high" */ "./TestimonialGrid-D4ieiz9e.js").then(e=>e.TestimonialGrid),"testimonial-single":()=>import(/* webpackFetchPriority: "high" */ "./TestimonialSingle-CVu15ZtV.js").then(e=>e.TestimonialSingle),waterfall:()=>import(/* webpackFetchPriority: "high" */ "./Waterfall-DnPDHbCL.js").then(e=>e.Waterfall)},b=Object.keys(m),y=3,E=2e3,s=new Map,l=new Map;function p(e){return Object.prototype.hasOwnProperty.call(m,e)}function x(e){return s.get(e)}function S(e){var r;return(((r=l.get(e))==null?void 0:r.failures)??0)>0}const C=e=>!e.loading&&e.failures>0&&e.failures<y&&Date.now()>=e.retryAt;function M(e){if(!p(e))return Promise.resolve(void 0);const r=l.get(e);if(r&&!C(r))return r.request;const n={loading:!0,failures:(r==null?void 0:r.failures)??0,retryAt:0,request:m[e]().then(o=>(s.set(e,o),n.failures=0,o),o=>{throw n.failures+=1,n.retryAt=Date.now()+E*2**(n.failures-1),o}).finally(()=>{n.loading=!1})};return l.set(e,n),n.request}exports.componentElementIds=b;exports.getComponentElement=x;exports.hasComponentElement=p;exports.hasComponentElementFailed=S;exports.loadComponentElement=M;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
const i = {
|
|
2
|
+
"basic-burger": () => import(/* webpackFetchPriority: "high" */ "./Burger-EMSn7TPB.mjs").then((e) => e.Burger),
|
|
3
|
+
"click-gallerie": () => import(/* webpackFetchPriority: "high" */ "./ClickGallerie-D_O1XhAO.mjs").then((e) => e.ClickGallerie),
|
|
4
|
+
"control-slider": () => import(/* webpackFetchPriority: "high" */ "./ControlSlider-pZv7H6BU.mjs").then((e) => e.ControlSlider),
|
|
5
|
+
faq: () => import(/* webpackFetchPriority: "high" */ "./FAQ-CZ39u4m8.mjs").then((e) => e.FAQ),
|
|
6
|
+
form: () => import(/* webpackFetchPriority: "high" */ "./Form-BX5_41nb.mjs").then((e) => e.Form),
|
|
7
|
+
grid: () => import(/* webpackFetchPriority: "high" */ "./Grid-cfQsXW3b.mjs").then((e) => e.Grid),
|
|
8
|
+
helix: () => import(/* webpackFetchPriority: "high" */ "./Helix-BmkAKT1G.mjs").then((e) => e.Helix),
|
|
9
|
+
hive: () => import(/* webpackFetchPriority: "high" */ "./Hive-BGMWinrW.mjs").then((e) => e.Hive),
|
|
10
|
+
"control-image-reveal": () => import(/* webpackFetchPriority: "high" */ "./ImageRevealSlider-BdFGyVEP.mjs").then((e) => e.ImageRevealSlider),
|
|
11
|
+
lightbox: () => import(/* webpackFetchPriority: "high" */ "./Lightbox-eP9qAZzL.mjs").then((e) => e.LightboxGallery),
|
|
12
|
+
"lightbox-journal": () => import(/* webpackFetchPriority: "high" */ "./LightboxJournal-D59ex6wH.mjs").then((e) => e.LightboxJournal),
|
|
13
|
+
"lightbox-strip": () => import(/* webpackFetchPriority: "high" */ "./LightboxStrip-YspzBP8N.mjs").then((e) => e.LightboxStrip),
|
|
14
|
+
list: () => import(/* webpackFetchPriority: "high" */ "./List-DW7fyJbf.mjs").then((e) => e.List),
|
|
15
|
+
marquee: () => import(/* webpackFetchPriority: "high" */ "./Marquee-BYClHHws.mjs").then((e) => e.Marquee),
|
|
16
|
+
"marquee-text": () => import(/* webpackFetchPriority: "high" */ "./MarqueeText-4Rip_sQX.mjs").then((e) => e.MarqueeText),
|
|
17
|
+
mercury: () => import(/* webpackFetchPriority: "high" */ "./Mercury-DuKJQ1Zo.mjs").then((e) => e.Mercury),
|
|
18
|
+
"oneliner-form": () => import(/* webpackFetchPriority: "high" */ "./OnelinerForm-BEu7_sho.mjs").then((e) => e.OnelinerForm),
|
|
19
|
+
pretext: () => import(/* webpackFetchPriority: "high" */ "./Pretext-10CcyP1E.mjs").then((e) => e.Pretext),
|
|
20
|
+
scale: () => import(/* webpackFetchPriority: "high" */ "./Scale-rLNT4KAk.mjs").then((e) => e.Scale),
|
|
21
|
+
"simple-button": () => import(/* webpackFetchPriority: "high" */ "./SimpleButton-C-o2W9bS.mjs").then((e) => e.SimpleButton),
|
|
22
|
+
"slider-2-0": () => import(/* webpackFetchPriority: "high" */ "./Slider20-Dm8BeCli.mjs").then((e) => e.Slider20),
|
|
23
|
+
testimonials: () => import(/* webpackFetchPriority: "high" */ "./TestimonialGrid-CPu4qQ6B.mjs").then((e) => e.TestimonialGrid),
|
|
24
|
+
"testimonial-single": () => import(/* webpackFetchPriority: "high" */ "./TestimonialSingle-DLdnAVF7.mjs").then((e) => e.TestimonialSingle),
|
|
25
|
+
waterfall: () => import(/* webpackFetchPriority: "high" */ "./Waterfall-A0FjM2my.mjs").then((e) => e.Waterfall)
|
|
26
|
+
}, h = Object.keys(i), a = 3, m = 2e3, l = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
27
|
+
function s(e) {
|
|
28
|
+
return Object.prototype.hasOwnProperty.call(i, e);
|
|
29
|
+
}
|
|
30
|
+
function u(e) {
|
|
31
|
+
return l.get(e);
|
|
32
|
+
}
|
|
33
|
+
function c(e) {
|
|
34
|
+
var t;
|
|
35
|
+
return (((t = o.get(e)) == null ? void 0 : t.failures) ?? 0) > 0;
|
|
36
|
+
}
|
|
37
|
+
const p = (e) => !e.loading && e.failures > 0 && e.failures < a && Date.now() >= e.retryAt;
|
|
38
|
+
function f(e) {
|
|
39
|
+
if (!s(e)) return Promise.resolve(void 0);
|
|
40
|
+
const t = o.get(e);
|
|
41
|
+
if (t && !p(t)) return t.request;
|
|
42
|
+
const r = {
|
|
43
|
+
loading: !0,
|
|
44
|
+
failures: (t == null ? void 0 : t.failures) ?? 0,
|
|
45
|
+
retryAt: 0,
|
|
46
|
+
request: i[e]().then(
|
|
47
|
+
(n) => (l.set(e, n), r.failures = 0, n),
|
|
48
|
+
(n) => {
|
|
49
|
+
throw r.failures += 1, r.retryAt = Date.now() + m * 2 ** (r.failures - 1), n;
|
|
50
|
+
}
|
|
51
|
+
).finally(() => {
|
|
52
|
+
r.loading = !1;
|
|
53
|
+
})
|
|
54
|
+
};
|
|
55
|
+
return o.set(e, r), r.request;
|
|
56
|
+
}
|
|
57
|
+
export {
|
|
58
|
+
h as componentElementIds,
|
|
59
|
+
u as getComponentElement,
|
|
60
|
+
s as hasComponentElement,
|
|
61
|
+
c as hasComponentElementFailed,
|
|
62
|
+
f as loadComponentElement
|
|
63
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentElement } from './elements';
|
|
2
|
+
export declare const componentElementIds: string[];
|
|
3
|
+
export declare function hasComponentElement(id: string): boolean;
|
|
4
|
+
export declare function getComponentElement(id: string): ComponentElement | undefined;
|
|
5
|
+
export declare function hasComponentElementFailed(_id: string): boolean;
|
|
6
|
+
export declare function loadComponentElement(id: string): Promise<ComponentElement | undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./components-OE3ac1dr.js"),n=new Map(t.components.map(e=>[e.id,e.element])),o=[...n.keys()];function m(e){return n.has(e)}function l(e){return n.get(e)}function s(e){return!1}function r(e){return Promise.resolve(n.get(e))}exports.componentElementIds=o;exports.getComponentElement=l;exports.hasComponentElement=m;exports.hasComponentElementFailed=s;exports.loadComponentElement=r;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { c as t } from "./components-w-jHX-2U.mjs";
|
|
2
|
+
const n = new Map(t.map((e) => [e.id, e.element])), m = [...n.keys()];
|
|
3
|
+
function r(e) {
|
|
4
|
+
return n.has(e);
|
|
5
|
+
}
|
|
6
|
+
function s(e) {
|
|
7
|
+
return n.get(e);
|
|
8
|
+
}
|
|
9
|
+
function l(e) {
|
|
10
|
+
return !1;
|
|
11
|
+
}
|
|
12
|
+
function a(e) {
|
|
13
|
+
return Promise.resolve(n.get(e));
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
m as componentElementIds,
|
|
17
|
+
s as getComponentElement,
|
|
18
|
+
r as hasComponentElement,
|
|
19
|
+
l as hasComponentElementFailed,
|
|
20
|
+
a as loadComponentElement
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const nonForkableComponentIds: readonly string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,n=e=>l.test(e.trim()),o=e=>{const t=e.replace(/\D/g,"");return t.length>=7&&t.length<=15},s=(e,t)=>{var a;for(const i of e){const r=((a=t[i.name])==null?void 0:a.trim())??"";if(r){if(i.type==="email"&&!n(r))return"Please enter a valid email address.";if(i.type==="phone"&&!o(r))return"Please enter a valid phone number."}}return null};exports.getFormFieldValidationError=s;exports.isValidEmailFormat=n;exports.isValidPhoneFormat=o;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const i = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, s = (e) => i.test(e.trim()), o = (e) => {
|
|
2
|
+
const t = e.replace(/\D/g, "");
|
|
3
|
+
return t.length >= 7 && t.length <= 15;
|
|
4
|
+
}, l = (e, t) => {
|
|
5
|
+
var a;
|
|
6
|
+
for (const n of e) {
|
|
7
|
+
const r = ((a = t[n.name]) == null ? void 0 : a.trim()) ?? "";
|
|
8
|
+
if (r) {
|
|
9
|
+
if (n.type === "email" && !s(r))
|
|
10
|
+
return "Please enter a valid email address.";
|
|
11
|
+
if (n.type === "phone" && !o(r))
|
|
12
|
+
return "Please enter a valid phone number.";
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return null;
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
o as a,
|
|
19
|
+
l as g,
|
|
20
|
+
s as i
|
|
21
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
function l(n) {
|
|
2
|
+
const t = n.trim();
|
|
3
|
+
if (!t || t === "none") return 1;
|
|
4
|
+
if (t.endsWith("%")) {
|
|
5
|
+
const a = parseFloat(t);
|
|
6
|
+
return Number.isFinite(a) ? a / 100 : 1;
|
|
7
|
+
}
|
|
8
|
+
const r = parseFloat(t);
|
|
9
|
+
return Number.isFinite(r) ? r : 1;
|
|
10
|
+
}
|
|
11
|
+
function c(n) {
|
|
12
|
+
const t = n.lastIndexOf("/");
|
|
13
|
+
if (t !== -1)
|
|
14
|
+
return l(n.slice(t + 1));
|
|
15
|
+
}
|
|
16
|
+
function h(n) {
|
|
17
|
+
const t = n.trim().toLowerCase();
|
|
18
|
+
if (!t || t === "transparent") return 0;
|
|
19
|
+
const r = t.match(/^(?:oklch|oklab|rgba?|hsla?|hwb|lab|lch|color)\((.+)\)$/);
|
|
20
|
+
if (r) {
|
|
21
|
+
const e = r[1], s = c(e);
|
|
22
|
+
if (s !== void 0) return s;
|
|
23
|
+
if (/^(?:rgba|hsla)$/.test(t.slice(0, 4))) {
|
|
24
|
+
const i = e.split(",").map((o) => parseFloat(o.trim()));
|
|
25
|
+
if (i.length === 4 && Number.isFinite(i[3]))
|
|
26
|
+
return i[3];
|
|
27
|
+
}
|
|
28
|
+
return 1;
|
|
29
|
+
}
|
|
30
|
+
const a = t.match(/^#([0-9a-f]{4}|[0-9a-f]{8})$/);
|
|
31
|
+
if (a) {
|
|
32
|
+
const e = a[1], s = e.length === 4 ? e[3] + e[3] : e.slice(6, 8);
|
|
33
|
+
return parseInt(s, 16) / 255;
|
|
34
|
+
}
|
|
35
|
+
return 1;
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
h as g
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function o(n){const t=n.trim();if(!t||t==="none")return 1;if(t.endsWith("%")){const a=parseFloat(t);return Number.isFinite(a)?a/100:1}const r=parseFloat(t);return Number.isFinite(r)?r:1}function c(n){const t=n.lastIndexOf("/");if(t!==-1)return o(n.slice(t+1))}function h(n){const t=n.trim().toLowerCase();if(!t||t==="transparent")return 0;const r=t.match(/^(?:oklch|oklab|rgba?|hsla?|hwb|lab|lch|color)\((.+)\)$/);if(r){const e=r[1],s=c(e);if(s!==void 0)return s;if(/^(?:rgba|hsla)$/.test(t.slice(0,4))){const i=e.split(",").map(l=>parseFloat(l.trim()));if(i.length===4&&Number.isFinite(i[3]))return i[3]}return 1}const a=t.match(/^#([0-9a-f]{4}|[0-9a-f]{8})$/);if(a){const e=a[1],s=e.length===4?e[3]+e[3]:e.slice(6,8);return parseInt(s,16)/255}return 1}exports.getColorAlpha=h;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function p(t){const e=window.getComputedStyle(t);return{top:parseFloat(e.paddingTop)||0,right:parseFloat(e.paddingRight)||0,bottom:parseFloat(e.paddingBottom)||0,left:parseFloat(e.paddingLeft)||0}}function C(t){const e=t.trim().split(/\s+/),n=o=>{if(o.endsWith("%"))return parseFloat(o)/100;switch(o){case"left":case"top":return 0;case"right":case"bottom":return 1;case"center":return .5;default:return .5}};if(e.length===1){const o=e[0];return o==="center"?{x:.5,y:.5}:o==="top"||o==="bottom"?{x:.5,y:n(o)}:o==="left"||o==="right"?{x:n(o),y:.5}:{x:n(o),y:.5}}return{x:n(e[0]),y:n(e[1])}}function h(t,e,n,o){if(!n||!o||!t||!e)return{renderedW:t,renderedH:e};const d=t/e,r=n/o;if(r>d){const s=t;return{renderedW:s,renderedH:s/r}}const i=e;return{renderedW:i*r,renderedH:i}}function b(t,e,n,o){if(!n||!o||!t||!e)return{renderedW:t,renderedH:e};const d=t/e,r=n/o;if(r>d){const s=e;return{renderedW:s*r,renderedH:s}}const i=t;return{renderedW:i,renderedH:i/r}}function R(t,e,n,o,d){const{x:r,y:i}=C(d);return{offsetX:r*(t-n),offsetY:i*(e-o)}}function m(t){const e=t.getBoundingClientRect(),n=e.width,o=e.height;if(!n||!o)return"center center";const d=t instanceof HTMLVideoElement?t.videoWidth:t.naturalWidth,r=t instanceof HTMLVideoElement?t.videoHeight:t.naturalHeight,{objectFit:i,objectPosition:s}=window.getComputedStyle(t),c=i==="cover"?b:h,{renderedW:a,renderedH:f}=c(n,o,d,r),{offsetX:g,offsetY:u}=R(n,o,a,f,s),l=(g+a/2)/n*100,y=(u+f/2)/o*100;return`${l}% ${y}%`}function w(t){return m(t)}function x(t){const e=t.getBoundingClientRect(),n=p(t),o=Math.max(0,e.width-n.left-n.right),d=Math.max(0,e.height-n.top-n.bottom),r=t.naturalWidth,i=t.naturalHeight,{renderedW:s,renderedH:c}=h(o,d,r,i),a=window.getComputedStyle(t).objectPosition,{offsetX:f,offsetY:g}=R(o,d,s,c,a),u=e.left+n.left,l=e.top+n.top;return{x:f+u,y:g+l,width:s,height:c}}function H(t){const e=t.getBoundingClientRect(),n=p(t);return{left:e.left+n.left,right:e.right-n.right,top:e.top+n.top,bottom:e.bottom-n.bottom}}exports.getContainedMediaTransformOrigin=w;exports.getDisplayedImageRect=x;exports.getPaddedContainerBounds=H;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
function p(t) {
|
|
2
|
+
const e = window.getComputedStyle(t);
|
|
3
|
+
return {
|
|
4
|
+
top: parseFloat(e.paddingTop) || 0,
|
|
5
|
+
right: parseFloat(e.paddingRight) || 0,
|
|
6
|
+
bottom: parseFloat(e.paddingBottom) || 0,
|
|
7
|
+
left: parseFloat(e.paddingLeft) || 0
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
function y(t) {
|
|
11
|
+
const e = t.trim().split(/\s+/), n = (o) => {
|
|
12
|
+
if (o.endsWith("%"))
|
|
13
|
+
return parseFloat(o) / 100;
|
|
14
|
+
switch (o) {
|
|
15
|
+
case "left":
|
|
16
|
+
case "top":
|
|
17
|
+
return 0;
|
|
18
|
+
case "right":
|
|
19
|
+
case "bottom":
|
|
20
|
+
return 1;
|
|
21
|
+
case "center":
|
|
22
|
+
return 0.5;
|
|
23
|
+
default:
|
|
24
|
+
return 0.5;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
if (e.length === 1) {
|
|
28
|
+
const o = e[0];
|
|
29
|
+
return o === "center" ? { x: 0.5, y: 0.5 } : o === "top" || o === "bottom" ? { x: 0.5, y: n(o) } : o === "left" || o === "right" ? { x: n(o), y: 0.5 } : { x: n(o), y: 0.5 };
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
x: n(e[0]),
|
|
33
|
+
y: n(e[1])
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function h(t, e, n, o) {
|
|
37
|
+
if (!n || !o || !t || !e)
|
|
38
|
+
return { renderedW: t, renderedH: e };
|
|
39
|
+
const s = t / e, r = n / o;
|
|
40
|
+
if (r > s) {
|
|
41
|
+
const d = t;
|
|
42
|
+
return { renderedW: d, renderedH: d / r };
|
|
43
|
+
}
|
|
44
|
+
const i = e;
|
|
45
|
+
return { renderedW: i * r, renderedH: i };
|
|
46
|
+
}
|
|
47
|
+
function C(t, e, n, o) {
|
|
48
|
+
if (!n || !o || !t || !e)
|
|
49
|
+
return { renderedW: t, renderedH: e };
|
|
50
|
+
const s = t / e, r = n / o;
|
|
51
|
+
if (r > s) {
|
|
52
|
+
const d = e;
|
|
53
|
+
return { renderedW: d * r, renderedH: d };
|
|
54
|
+
}
|
|
55
|
+
const i = t;
|
|
56
|
+
return { renderedW: i, renderedH: i / r };
|
|
57
|
+
}
|
|
58
|
+
function b(t, e, n, o, s) {
|
|
59
|
+
const { x: r, y: i } = y(s);
|
|
60
|
+
return {
|
|
61
|
+
offsetX: r * (t - n),
|
|
62
|
+
offsetY: i * (e - o)
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function w(t) {
|
|
66
|
+
const e = t.getBoundingClientRect(), n = e.width, o = e.height;
|
|
67
|
+
if (!n || !o)
|
|
68
|
+
return "center center";
|
|
69
|
+
const s = t instanceof HTMLVideoElement ? t.videoWidth : t.naturalWidth, r = t instanceof HTMLVideoElement ? t.videoHeight : t.naturalHeight, { objectFit: i, objectPosition: d } = window.getComputedStyle(t), c = i === "cover" ? C : h, { renderedW: a, renderedH: f } = c(n, o, s, r), { offsetX: u, offsetY: g } = b(
|
|
70
|
+
n,
|
|
71
|
+
o,
|
|
72
|
+
a,
|
|
73
|
+
f,
|
|
74
|
+
d
|
|
75
|
+
), l = (u + a / 2) / n * 100, R = (g + f / 2) / o * 100;
|
|
76
|
+
return `${l}% ${R}%`;
|
|
77
|
+
}
|
|
78
|
+
function x(t) {
|
|
79
|
+
return w(t);
|
|
80
|
+
}
|
|
81
|
+
function m(t) {
|
|
82
|
+
const e = t.getBoundingClientRect(), n = p(t), o = Math.max(0, e.width - n.left - n.right), s = Math.max(0, e.height - n.top - n.bottom), r = t.naturalWidth, i = t.naturalHeight, { renderedW: d, renderedH: c } = h(o, s, r, i), a = window.getComputedStyle(t).objectPosition, { offsetX: f, offsetY: u } = b(
|
|
83
|
+
o,
|
|
84
|
+
s,
|
|
85
|
+
d,
|
|
86
|
+
c,
|
|
87
|
+
a
|
|
88
|
+
), g = e.left + n.left, l = e.top + n.top;
|
|
89
|
+
return {
|
|
90
|
+
x: f + g,
|
|
91
|
+
y: u + l,
|
|
92
|
+
width: d,
|
|
93
|
+
height: c
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
function H(t) {
|
|
97
|
+
const e = t.getBoundingClientRect(), n = p(t);
|
|
98
|
+
return {
|
|
99
|
+
left: e.left + n.left,
|
|
100
|
+
right: e.right - n.right,
|
|
101
|
+
top: e.top + n.top,
|
|
102
|
+
bottom: e.bottom - n.bottom
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
export {
|
|
106
|
+
x as a,
|
|
107
|
+
H as b,
|
|
108
|
+
m as g
|
|
109
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -3,3 +3,4 @@ export type { ComponentSchemaV1, SchemaProperty, PropertyScope, LayoutItem, Layo
|
|
|
3
3
|
export { components } from './Components/components';
|
|
4
4
|
export { getAvailableStatePanels, getUnavailableStates, isPanelAvailable, } from './Components/utils/panelAvailability';
|
|
5
5
|
export type { PanelAvailabilityContext } from './Components/utils/panelAvailability';
|
|
6
|
+
export { nonForkableComponentIds } from './forking';
|