josenanodev-react-components-library 1.9.4 → 1.9.5
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/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),n=require("react-icons/bs"),t=require("react-icons/io5"),l=require("react-icons/ai"),a=require("react-dom"),o=require("react-icons/go");function r(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var l=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===t&&l.firstChild?l.insertBefore(a,l.firstChild):l.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}var i="BubbleMenu-module_menu-container__xrNNC",c="BubbleMenu-module_menu-button__I5R0w";r(".BubbleMenu-module_menu-container__xrNNC {\n position: fixed;\n z-index: -1;\n top: 0px;\n padding-top: 80px;\n box-sizing: border-box;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=visible] {\n z-index: 100;\n width: 100vw;\n height: 100vh;\n animation: BubbleMenu-module_show-background__Qz4-v 300ms ease-in-out forwards;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=visible] ul li {\n opacity: 1;\n transform: translateX(5px);\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=hidden] {\n animation: BubbleMenu-module_hide-background__ESkim 300ms ease-in-out forwards;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=hidden] ul li {\n opacity: 0;\n transform: translateX(-110px);\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=idle] {\n width: 0vw;\n height: 0vh;\n background-color: transparent;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=idle] ul li {\n opacity: 0;\n transform: translateX(-110px);\n}\n.BubbleMenu-module_menu-container__xrNNC ul {\n list-style: none;\n padding-inline-start: 0px;\n margin: 0;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li {\n width: -moz-fit-content;\n width: fit-content;\n transition: all 300ms ease-in-out;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li button {\n border-width: 3px;\n border-style: solid;\n border-color: #959595;\n box-shadow: 3px 3px 4px 1px rgba(90, 90, 90, 0.3);\n color: #959595;\n background-color: rgba(255, 255, 255, 0.9);\n -webkit-tap-highlight-color: transparent;\n -webkit-user-select: none;\n user-select: none;\n cursor: pointer;\n transition: all 100ms ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100px;\n height: 100px;\n margin: 15px 0px;\n border-radius: 50px;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li button svg {\n min-width: 40px;\n min-height: 40px;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li button:active {\n transform: translate(1px, 1px);\n box-shadow: 1px 1px 2px rgba(90, 90, 90, 0.3);\n}\n\n.BubbleMenu-module_menu-button__I5R0w {\n position: fixed;\n z-index: 101;\n top: 30px;\n left: 10px;\n width: 50px;\n height: 50px;\n background-color: rgba(255, 255, 255, 0.7);\n border-radius: 25px;\n border-width: 3px;\n border-style: solid;\n border-color: #959595;\n box-shadow: 3px 3px 4px 1px rgba(90, 90, 90, 0.3);\n color: #959595;\n background-color: rgba(255, 255, 255, 0.9);\n -webkit-tap-highlight-color: transparent;\n -webkit-user-select: none;\n user-select: none;\n cursor: pointer;\n transition: all 100ms ease-in-out;\n}\n.BubbleMenu-module_menu-button__I5R0w svg {\n position: absolute;\n top: 2px;\n left: 0;\n width: 100%;\n height: 34px;\n color: #0d280b;\n}\n.BubbleMenu-module_menu-button__I5R0w svg path {\n transition: all 0.3s ease-in-out;\n}\n.BubbleMenu-module_menu-button__I5R0w p {\n position: absolute;\n top: 30px;\n left: 0;\n width: 100%;\n margin: 0;\n text-align: center;\n color: #0d280b;\n font-size: 10px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n}\n.BubbleMenu-module_menu-button__I5R0w:active {\n transform: translate(1px, 1px);\n box-shadow: 1px 1px 2px rgba(90, 90, 90, 0.3);\n}\n\n@keyframes BubbleMenu-module_show-background__Qz4-v {\n 0% {\n background-color: transparent;\n min-width: 0vw;\n }\n 1% {\n background-color: transparent;\n min-width: 100vw;\n }\n 100% {\n background-color: rgba(0, 0, 0, 0.3);\n min-width: 100vw;\n }\n}\n@keyframes BubbleMenu-module_hide-background__ESkim {\n 0% {\n background-color: rgba(0, 0, 0, 0.3);\n min-width: 100vw;\n }\n 99% {\n background-color: transparent;\n min-width: 100vw;\n }\n 100% {\n background-color: transparent;\n min-width: 0vw;\n }\n}");const d={en:{menu:"menu",close:"close"},es:{menu:"menú",close:"cerrar"}};var s="CalendarDatePicker-module_calendar-date-picker__-G7aY",u="CalendarDatePicker-module_today-button__YgI7t",_="CalendarDatePicker-module_month-and-year__LHJ8I",m="CalendarDatePicker-module_month-input__sFUHA",p="CalendarDatePicker-module_week-days__j2XJ-";r('@property --angle {\n sintax: "<angle>";\n inherits: false;\n initial-value: 270deg;\n}\n@property --color-default {\n sintax: "<color>";\n inherits: false;\n initial-value: white;\n}\n@property --color-selected {\n sintax: "<color>";\n inherits: false;\n initial-value: #e3f3e3;\n}\n@property --percentage-default {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --percentage-selected {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 0%;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY {\n position: relative;\n font-family: Arial, Helvetica, sans-serif;\n width: 390px;\n color: #959595;\n font-weight: 600;\n font-style: normal;\n line-height: normal;\n -webkit-tap-highlight-color: transparent;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_today-button__YgI7t {\n position: absolute;\n top: 0px;\n right: 5px;\n border: solid 2px #787878;\n border-radius: 6px;\n padding: 4px 8px;\n font-size: 18px;\n background-color: white;\n color: #787878;\n transition: all 0.1s ease-in-out;\n cursor: pointer;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_today-button__YgI7t:hover {\n background-color: #f3f3f3;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_today-button__YgI7t:active {\n background-color: #cfcfcf;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n text-align: center;\n font-size: 22px;\n padding: 10px 0px;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA {\n width: fit-content;\n background-color: transparent;\n border: transparent;\n text-align: right;\n font-size: 24px;\n margin-right: 10px;\n color: #959595;\n cursor: pointer;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA:focus {\n outline: transparent;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA option {\n background-color: white;\n color: #959595;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA option:disabled {\n color: #cfcfcf;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_week-days__j2XJ- {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #ebebeb;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_week-days__j2XJ- p {\n width: 14.2857142857%;\n margin: 0px;\n text-align: center;\n}');var b="InputBoxWithConfirmation-module_div-wrapper__DdQ1-",g="InputBoxWithConfirmation-module_focused__C6kd0",h="InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN",f="InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y";function S(n,t,l=[]){e.useEffect((()=>{function e(e){n.current&&!n.current.contains(e.target)&&l.every((n=>n.current!==e.target))&&t()}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[n,t,l])}r(".InputBoxWithConfirmation-module_div-wrapper__DdQ1- {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n border: solid 1px rgb(184, 184, 184);\n background-color: rgb(250, 250, 250);\n border-radius: 8px;\n transition: border 0.3s;\n cursor: text;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1-.InputBoxWithConfirmation-module_focused__C6kd0 {\n border-color: #218dec;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN {\n box-sizing: border-box;\n padding: 10px 2ch;\n min-width: 10ch;\n text-align: center;\n border: none;\n background-color: transparent;\n font-size: 16px;\n font-weight: 600;\n color: dimgray;\n transition: all 0.2s;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN::-webkit-inner-spin-button {\n display: none;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN:focus {\n outline: none;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y {\n position: absolute;\n right: 0px;\n background-color: transparent;\n color: rgb(158, 158, 158);\n width: 32px;\n height: 32px;\n border-radius: 16px;\n font-size: 16px;\n border: none;\n cursor: pointer;\n transition: all 0.2s;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y:focus {\n outline: none;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y:hover {\n background-color: rgb(241, 241, 241);\n color: var(--primary-color);\n}");const y=({onConfirmAction:t,inputType:l="text",minimumValue:a="",maximumValue:o="",maxLength:r,placeholder:i="",divWrapperCustomStyle:c,inputBoxCustomStyle:d,defaultValue:s,overrideCurrentValue:u,showConfirmationButton:_,disabled:m})=>{const p=e.useRef(null),y=e.useRef(null),[x,v]=e.useState(void 0!==s?String(s):""),[w,C]=e.useState(void 0!==s?String(s):""),[k,E]=e.useState(!1),M=()=>{if(!w&&"0"!==w&&""!==w)return x;if("number"===l){let e=Number(w);return""!==a&&e<Number(a)?e=Number(a):""!==o&&e>Number(o)&&(e=Number(o)),String(e)}return w},D=()=>{const e=M();C(e),e&&(t(e),v(e))};return S(y,(()=>{k&&(_?C(x):D(),E(!1))})),e.useEffect((()=>{void 0!==u?(C(String(u)),v(String(u))):null===u&&(C(""),v(""))}),[u]),e.createElement("div",{ref:y,style:c,className:`${b} ${k?g:""}`,onClick:()=>{p.current&&p.current.focus()}},e.createElement("input",{ref:p,disabled:m,className:h,type:l,style:Object.assign({width:`${((null==w?void 0:w.length)?w.length:0)+7}ch`},d),min:a,max:o,maxLength:r,placeholder:i,value:k?w:x,onClick:e=>{e.stopPropagation()},onChange:e=>{let n=e.target.value;r&&n.length>r&&(n=n.slice(0,r)),C(n)},onFocus:e=>{v(e.target.value),C(e.target.value),E(!0)},onKeyDown:e=>{"Enter"===e.key||"NumpadEnter"===e.key||"Tab"===e.key?(D(),E(!1),p.current&&p.current.blur()):"Escape"!==e.key&&"Esc"!==e.key||(C(x),E(!1),p.current&&p.current.blur())}}),!m&&_&&e.createElement(e.Fragment,null,k?e.createElement("button",{title:"Confirm",type:"button",className:f,onClick:()=>{D(),E(!1)}},e.createElement(n.BsCheckLg,null)):e.createElement("button",{title:"Edit",type:"button",className:f,onClick:()=>{p.current&&p.current.focus()}},e.createElement(n.BsPencil,null))))};var x={"calendar-scrollable-section":"CalendarScrollableSection-module_calendar-scrollable-section__uzWbW","days-grid":"CalendarScrollableSection-module_days-grid__lN--o","days-row":"CalendarScrollableSection-module_days-row__wqsnT","day-cell":"CalendarScrollableSection-module_day-cell__CvovF",day:"CalendarScrollableSection-module_day__dS5iz",background:"CalendarScrollableSection-module_background__EwVgU","first-half":"CalendarScrollableSection-module_first-half__p9Eie","second-half":"CalendarScrollableSection-module_second-half__fyESG",today:"CalendarScrollableSection-module_today__zqpHy","in-month":"CalendarScrollableSection-module_in-month__vbbx-","not-in-month":"CalendarScrollableSection-module_not-in-month__-3eLq",selected:"CalendarScrollableSection-module_selected__y4L6S","check-in":"CalendarScrollableSection-module_check-in__Nl1mo","check-out":"CalendarScrollableSection-module_check-out__ShFpZ","not-selectable":"CalendarScrollableSection-module_not-selectable__mba-l","out-of-selection":"CalendarScrollableSection-module_out-of-selection__Upoeg","cross-line":"CalendarScrollableSection-module_cross-line__lsB3g",crossed:"CalendarScrollableSection-module_crossed__trZeE"};function v(e){return 0===e.getDay()?6:e.getDay()-1}function w(e){const n=e=>Number(e)<10?"-0":"-";return e.getFullYear().toString().concat(n(e.getMonth()+1),(e.getMonth()+1).toString().concat(n(e.getDate()),e.getDate().toString()))}r('@property --angle {\n sintax: "<angle>";\n inherits: false;\n initial-value: 270deg;\n}\n@property --color-default {\n sintax: "<color>";\n inherits: false;\n initial-value: white;\n}\n@property --color-selected {\n sintax: "<color>";\n inherits: false;\n initial-value: #e3f3e3;\n}\n@property --percentage-default {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --percentage-selected {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 0%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW {\n width: 100%;\n aspect-ratio: 1/1;\n overflow-y: scroll;\n -ms-overflow-style: none;\n scrollbar-width: none;\n border-bottom: 1px solid #ebebeb;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW::-webkit-scrollbar {\n display: none;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o {\n width: 100%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 14.2857142857%;\n aspect-ratio: 1/1;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz {\n position: relative;\n --angle: 270deg;\n --color-default: #f3f3f3;\n --color-selected: #b7d4b6;\n --percentage-default: 100%;\n --percentage-selected: 0%;\n display: flex;\n align-items: center;\n justify-content: center;\n width: calc(100% - 8px);\n height: calc(100% - 8px);\n margin: 0px;\n border-radius: 1000px;\n overflow: hidden;\n user-select: none;\n transition: all 0.5s ease-in-out;\n cursor: pointer;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz p {\n z-index: 2;\n margin: 0px;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz .CalendarScrollableSection-module_background__EwVgU {\n z-index: 1;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n transform: rotate(var(--angle));\n transition: all 0.5s ease-in-out;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz .CalendarScrollableSection-module_background__EwVgU .CalendarScrollableSection-module_first-half__p9Eie {\n width: var(--percentage-default);\n height: 100%;\n background-color: var(--color-default);\n transition: all 0.3s ease-in-out;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz .CalendarScrollableSection-module_background__EwVgU .CalendarScrollableSection-module_second-half__fyESG {\n width: var(--percentage-selected);\n height: 100%;\n background-color: var(--color-selected);\n transition: all 0.3s ease-in-out;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_today__zqpHy {\n outline: solid 2px #787878;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_in-month__vbbx- {\n color: var(--medium-gray, #787878);\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_not-in-month__-3eLq {\n opacity: 0.35;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_selected__y4L6S {\n --percentage-default: 0%;\n --percentage-selected: 100%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_check-in__Nl1mo {\n --angle: 405deg;\n --color-default: #f3f3f3;\n --percentage-default: 50%;\n --percentage-selected: 50%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_check-out__ShFpZ {\n --angle: 225deg;\n --color-default: #f3f3f3;\n --percentage-default: 50%;\n --percentage-selected: 50%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_not-selectable__mba-l {\n cursor: not-allowed;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_out-of-selection__Upoeg {\n opacity: 0.1;\n cursor: not-allowed;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_cross-line__lsB3g {\n z-index: 2;\n position: absolute;\n width: 120%;\n height: 3px;\n background-color: #bbb;\n transform: rotate(-45deg);\n display: none;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF.CalendarScrollableSection-module_crossed__trZeE .CalendarScrollableSection-module_cross-line__lsB3g {\n display: block;\n}');const C=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],k=["january","february","march","april","may","june","july","august","september","october","november","december"];function E(e,n){return`${("es_ES"===n?C:k)[e.getMonth()]} ${e.getFullYear()}`}function M(e){const n=(t=e,new Date(t.getFullYear(),t.getMonth()+1,0).getDate());var t;const l=e.getFullYear(),a=e.getMonth(),o=n-(7-v(new Date(l,a,1)));return Math.ceil(o/7)+1}const D=(e,n)=>{const t=(n,t)=>{const l=new Date(n,t,1),a=new Date(e.minimumDate.getFullYear(),e.minimumDate.getMonth(),1),o=new Date(e.maximumDate.getFullYear(),e.maximumDate.getMonth()+1,0),r=l.valueOf()<a.valueOf(),i=l.valueOf()>o.valueOf();return!r&&!i},l={setMonth:()=>t(e.year,n.value)?Object.assign(Object.assign({},e),{month:n.value}):Object.assign({},e),setYear:()=>t(n.value,e.month)?Object.assign(Object.assign({},e),{year:n.value}):Object.assign({},e),setMinimumDate:()=>Object.assign(Object.assign({},e),{minimumDate:new Date(n.value)}),setMaximumdate:()=>Object.assign(Object.assign({},e),{maximumDate:new Date(n.value)}),changeByMonthOffset:()=>{const l=new Date(e.year,e.month+n.value,1);return t(e.year,e.month+n.value)?Object.assign(Object.assign({},e),{year:l.getFullYear(),month:l.getMonth()}):Object.assign({},e)}}[n.type]();return l||Object.assign({},e)},N=({dates:n,month:t,year:l,mode:a,onSelectedDatesChange:o,onFocusedMonth:r,customDates:i=[],minimumDate:c=new Date(1970,0,1),maximumDate:d=new Date((new Date).getFullYear()+100,1,1)})=>{const[s,u]=e.useReducer(D,{month:t,year:l,minimumDate:c,maximumDate:d}),_=e.useRef(null),m=e=>!i.some((n=>n.dates.some((n=>n.valueOf()===e.valueOf()))&&!n.selectable)),p=e=>{let n=x["day-cell"];return i.some((n=>n.dates.some((n=>n.valueOf()===e.valueOf()))&&n.crossed))&&(n+=` ${x.crossed}`),n},b=e=>{let t=x.day;w(e)===w(new Date)&&(t+=` ${x.today}`),e.getMonth()===s.month?t+=` ${x["in-month"]}`:t+=` ${x["not-in-month"]}`;const l=n.some((n=>n.valueOf()===e.valueOf())),o=("range"===a||"booking"===a)&&2===n.length&&n[0].valueOf()<e.valueOf()&&e.valueOf()<n[1].valueOf();if((l||o)&&(t+=` ${x.selected}`),"booking"===a){2===n.length&&e.valueOf()===n[0].valueOf()&&(t+=` ${x["check-in"]}`);2===n.length&&e.valueOf()===n[1].valueOf()&&(t+=` ${x["check-out"]}`)}m(e)?t+=` ${x.selectable}`:t+=` ${x["not-selectable"]}`;return(e.valueOf()<c.valueOf()||e.valueOf()>d.valueOf())&&(t+=` ${x["out-of-selection"]}`),t},g=e=>{const n=i.find((n=>n.dates.some((n=>n.valueOf()===e.valueOf()))));return n?{backgroundColor:n.color}:void 0};return e.useEffect((()=>{_.current&&(_.current.scrollTop=_.current.scrollHeight/5*2)}),[]),e.useEffect((()=>{r(s.month,s.year)}),[s.year,s.month,r]),e.createElement("section",{ref:_,className:x["calendar-scrollable-section"],onScroll:e=>{const n=e.target,t=n.scrollHeight/5,l=1.25*t,a=2.75*t;n.scrollTop<l&&u({type:"changeByMonthOffset",value:-1}),n.scrollTop>a&&u({type:"changeByMonthOffset",value:1})}},Array(5).fill(0).map(((t,l)=>{const r=l-2,u=new Date(s.year,s.month+r,1),_=0===new Date(s.year,s.month+r+1,0).getDay();let h=M(u);_||(h-=1);const f=v(u);return e.createElement("div",{className:x["days-grid"],key:`grid:${w(u)}}`},Array(h).fill(0).map(((t,l)=>e.createElement("div",{className:x["days-row"],key:`grid:${w(u)}-row:${l}`},Array(7).fill(0).map(((t,u)=>{const _=s.month+r,h=7*l+u+1-f,S=new Date(s.year,_,h);return e.createElement("div",{className:p(S),key:w(S),onClick:()=>(e=>{if(i.forEach((n=>{n.dates.some((n=>n.valueOf()===e.valueOf()))&&n.clickSideEffect&&n.clickSideEffect(e)})),!m(e))return;if(e.valueOf()<c.valueOf()||e.valueOf()>d.valueOf())return;let t=[...n];"single"===a&&(t=[e]),"multiple"===a&&(t=n.some((n=>n.valueOf()===e.valueOf()))?n.filter((n=>n.valueOf()!==e.valueOf())):[...n,e]),"range"===a&&(t=0===n.length?[e]:1===n.length?n[0].valueOf()<e.valueOf()?[...n,e]:[e,n[0]]:[]),"booking"===a&&(t=0===n.length?[e]:n[0].valueOf()===e.valueOf()?[]:1===n.length?n[0].valueOf()<e.valueOf()?[...n,e]:[e,n[0]]:[]),o(t)})(S)},e.createElement("div",{className:x["cross-line"]}),e.createElement("div",{className:b(S)},e.createElement("div",{className:x.background},e.createElement("div",{className:x["first-half"],style:g(S)}),e.createElement("div",{className:x["second-half"],style:g(S)})),e.createElement("p",null,S.getDate())))}))))))})))},z={en:{january:"january",february:"february",march:"march",april:"april",may:"may",june:"june",july:"july",august:"august",september:"september",october:"october",november:"november",december:"december",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday",today:"today"},es:{january:"enero",february:"febrero",march:"marzo",april:"abril",may:"mayo",june:"junio",july:"julio",august:"agosto",september:"septiembre",october:"octubre",november:"noviembre",december:"diciembre",monday:"lunes",tuesday:"martes",wednesday:"miércoles",thursday:"jueves",friday:"viernes",saturday:"sábado",sunday:"domingo",today:"hoy"}},I=(e,n)=>{switch(e){case 0:return z[n].january;case 1:return z[n].february;case 2:return z[n].march;case 3:return z[n].april;case 4:return z[n].may;case 5:return z[n].june;case 6:return z[n].july;case 7:return z[n].august;case 8:return z[n].september;case 9:return z[n].october;case 10:return z[n].november;case 11:return z[n].december;default:return""}};var W="IntegerControl-module_integer-control__-tzTl",F="IntegerControl-module_default__FJoED";r(".IntegerControl-module_integer-control__-tzTl {\n display: flex;\n align-items: center;\n -webkit-tap-highlight-color: transparent;\n}\n.IntegerControl-module_integer-control__-tzTl button {\n border: none;\n background: none;\n padding: 0;\n margin: 0;\n}\n.IntegerControl-module_integer-control__-tzTl button svg {\n height: 44px;\n width: 44px;\n fill: #c9c9c9;\n transition: fill 100ms ease-in-out;\n cursor: pointer;\n}\n.IntegerControl-module_integer-control__-tzTl button svg:active {\n fill: #787878;\n}\n.IntegerControl-module_integer-control__-tzTl input {\n border: none;\n background: none;\n padding: 0;\n color: #414141;\n text-align: center;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 32px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n min-width: 50px;\n transition: color 300ms ease-in-out;\n}\n.IntegerControl-module_integer-control__-tzTl input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.IntegerControl-module_integer-control__-tzTl input:focus {\n outline: transparent;\n}\n.IntegerControl-module_integer-control__-tzTl.IntegerControl-module_default__FJoED input {\n color: #787878;\n}");var T="LabeledInput-module_labeled-input__xzE4h",O="LabeledInput-module_error-message__5-9lv";r(".LabeledInput-module_labeled-input__xzE4h {\n position: relative;\n border-radius: 8px;\n border: 2px solid #959595;\n padding: 0px 28px;\n background: #fff;\n box-sizing: border-box;\n transition: all 200ms ease-in-out;\n cursor: pointer;\n}\n.LabeledInput-module_labeled-input__xzE4h label {\n z-index: 1;\n position: absolute;\n color: #959595;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n top: 50%;\n left: 28px;\n padding: 0;\n height: 2px;\n display: flex;\n align-items: center;\n transition: all 250ms ease-in-out;\n -webkit-user-select: none;\n user-select: none;\n}\n.LabeledInput-module_labeled-input__xzE4h label[data-is-shrinked=true] {\n top: -2px;\n left: 10px;\n font-weight: 600;\n font-size: 12px;\n padding: 0px 5px;\n}\n.LabeledInput-module_labeled-input__xzE4h input {\n z-index: 2;\n position: absolute;\n top: calc(50% - 12px);\n height: 24px;\n width: calc(100% - 56px);\n border: none;\n outline: transparent;\n background: transparent;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n color: #959595;\n padding: 0;\n cursor: pointer;\n}\n.LabeledInput-module_labeled-input__xzE4h input:focus {\n outline: transparent;\n cursor: text;\n}\n.LabeledInput-module_labeled-input__xzE4h[data-has-error=true] {\n border-color: #f34d1b;\n}\n.LabeledInput-module_labeled-input__xzE4h[data-has-error=true] label {\n color: #e17959;\n}\n.LabeledInput-module_labeled-input__xzE4h .LabeledInput-module_error-message__5-9lv {\n position: absolute;\n margin: 0;\n top: calc(100% + 5px);\n left: 5px;\n color: #f34d1b;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n padding: 0;\n transition: all 200ms ease-in-out;\n}");var G={"blured-background":"Modal-module_blured-background__Vw4vW","modal-appear":"Modal-module_modal-appear__XBiM-","modal-disappear":"Modal-module_modal-disappear__Ik1hU"};r(".Modal-module_blured-background__Vw4vW {\n position: fixed;\n width: 100vw;\n height: 100vh;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n top: 0;\n left: 0;\n z-index: 1010;\n opacity: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n animation-duration: 450ms;\n animation-fill-mode: forwards;\n}\n.Modal-module_blured-background__Vw4vW[data-is-visible=true] {\n animation-name: Modal-module_modal-appear__XBiM-;\n}\n.Modal-module_blured-background__Vw4vW[data-is-visible=false] {\n animation-name: Modal-module_modal-disappear__Ik1hU;\n}\n\n@keyframes Modal-module_modal-appear__XBiM- {\n 0% {\n opacity: 0;\n -webkit-backdrop-filter: blur(0px);\n backdrop-filter: blur(0px);\n }\n 100% {\n opacity: 1;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n }\n}\n@keyframes Modal-module_modal-disappear__Ik1hU {\n 0% {\n opacity: 1;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n }\n 100% {\n opacity: 0;\n -webkit-backdrop-filter: blur(0px);\n backdrop-filter: blur(0px);\n }\n}");const L=864e5;function R(e,n,t,l){null!==n.current&&(n.current.scrollLeft=(Date.parse(e.toString())-(Date.parse((new Date).toString())-t*L))/L*l)}function B(n,t,l){let a=Date.parse((new Date).toString())-n*L,o=Date.parse((new Date).toString())+t*L,r=[],i=[];for(let n=0;n*L+a<o;n++){let t=new Date(L*n+a),o=t;o.setDate(1),o.setHours(12,0,0,0);let c=E(t,l);i.includes(c)||(i.push(c),r.push(e.createElement("option",{key:w(o),value:w(o)},c)))}return r}var j={multicalendar:"Multicalendar-module_multicalendar__koIJg","div-upper-left-component":"Multicalendar-module_div-upper-left-component__BL2vu",controls:"Multicalendar-module_controls__Ryigr","div-dates-navigation":"Multicalendar-module_div-dates-navigation__N4Dna","div-aditional-controls-components":"Multicalendar-module_div-aditional-controls-components__ElQQF","vertical-axis":"Multicalendar-module_vertical-axis__otLXf","div-list-element-column":"Multicalendar-module_div-list-element-column__MSfNT","horizontal-axis":"Multicalendar-module_horizontal-axis__cn4Nh","div-weeks-buttons":"Multicalendar-module_div-weeks-buttons__37T5W","past-week-button":"Multicalendar-module_past-week-button__X8k5t","next-week-button":"Multicalendar-module_next-week-button__l1DCS","div-dates-row":"Multicalendar-module_div-dates-row__5CKuX","div-main-container":"Multicalendar-module_div-main-container__wMIlM","main-container":"Multicalendar-module_main-container__DZjT2"};r('.Multicalendar-module_multicalendar__koIJg {\n display: grid;\n color: black;\n width: 100%;\n height: 100%;\n grid-template-areas: "fil con" "fil hor" "ver gri";\n text-align: center;\n transition: 0.5s;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_div-upper-left-component__BL2vu {\n grid-area: fil;\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 2;\n background-color: white;\n border-bottom: 1px solid rgb(235, 235, 235);\n border-right: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr {\n grid-area: con;\n height: 100%;\n padding: 2px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap-reverse;\n box-sizing: border-box;\n border-bottom: var(--border-tenues);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr .Multicalendar-module_div-dates-navigation__N4Dna {\n display: flex;\n align-items: center;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr .Multicalendar-module_div-dates-navigation__N4Dna button {\n cursor: pointer;\n margin: 0px;\n position: relative;\n text-align: center;\n text-decoration: none;\n border: 1px solid rgb(216, 216, 216);\n padding: 4px 8px;\n box-sizing: border-box;\n color: black;\n font-size: 14px;\n touch-action: manipulation;\n border-radius: 6px;\n background: rgb(255, 255, 255);\n font-weight: normal;\n height: calc(100% - 16px);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr .Multicalendar-module_div-aditional-controls-components__ElQQF {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n flex-grow: 1;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_div-upper-left-component__BL2vu {\n grid-area: fil;\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 2;\n background-color: white;\n border-bottom: 1px solid rgb(235, 235, 235);\n border-right: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n display: flex;\n flex-flow: column;\n justify-content: flex-end;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_vertical-axis__otLXf {\n grid-area: ver;\n position: relative;\n width: 100%;\n height: 100%;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 16px 5px;\n z-index: 1;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_vertical-axis__otLXf .Multicalendar-module_div-list-element-column__MSfNT {\n height: 100%;\n overflow-y: scroll;\n box-sizing: border-box;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh {\n grid-area: hor;\n position: relative;\n max-width: 100%;\n height: 90px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 74px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t,\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS {\n z-index: 2;\n position: absolute;\n background-color: transparent;\n border: none;\n height: 100%;\n width: 32px;\n font-size: 1em;\n color: var(--primary-color);\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.3s;\n height: 75%;\n background: rgb(255, 255, 255);\n box-shadow: 0px 0px 8px 8px white;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t:hover,\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS:hover {\n background: rgb(247, 247, 247);\n box-shadow: 0px 0px 8px 8px rgb(247, 247, 247);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t:active,\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS:active {\n background: rgb(167, 167, 167);\n box-shadow: 0px 0px 8px 8px rgb(167, 167, 167);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t {\n left: 5px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS {\n right: 5px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-dates-row__5CKuX {\n position: absolute;\n bottom: 0;\n width: 100%;\n overflow-x: scroll;\n border-bottom: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_div-main-container__wMIlM {\n grid-area: gri;\n height: 100%;\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_main-container__DZjT2 {\n position: relative;\n min-width: 100%;\n height: 100%;\n overflow-x: scroll;\n}');var Y="DatesRow-module_dates-row__roAc0",A="DatesRow-module_date-cell__xzHPT",H="DatesRow-module_div-date-cell__M2v60",P="DatesRow-module_month-start__5FSLx";r(".DatesRow-module_dates-row__roAc0 {\n box-sizing: border-box;\n display: flex;\n flex-flow: row;\n overflow-y: hidden;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT {\n position: relative;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60 {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 48px;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60[data-is-today=true] {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 48px;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60[data-is-today=true] div {\n border-radius: 4px;\n background: var(--primary-color, dimgray);\n color: rgb(255, 255, 255);\n font-size: 14px;\n line-height: 18px;\n font-weight: 800;\n width: 40px;\n height: 40px;\n padding: 1px 0;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60 p {\n margin: 0;\n font-size: 14px;\n line-height: 18px;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_month-start__5FSLx {\n position: absolute;\n top: 0;\n height: 100%;\n box-sizing: border-box;\n border-left: 1px solid rgb(235, 235, 235);\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_month-start__5FSLx p {\n margin: 0;\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n white-space: nowrap;\n padding-left: 8px;\n padding-top: 8px;\n}");const J=({visibleDates:n,width:t,height:l,cellsWidth:a,cellsHeight:o,offset:r,language:i})=>{const c={en_EN:{sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December"},es_ES:{sunday:"Domingo",monday:"Lunes",tuesday:"Martes",wednesday:"Miércoles",thursday:"Jueves",friday:"Viernes",saturday:"Sábado",january:"Enero",february:"Febrero",march:"Marzo",april:"Abril",may:"Mayo",june:"Junio",july:"Julio",august:"Agosto",september:"Septiembre",october:"Octubre",november:"Noviembre",december:"Diciembre"}},d=[c[i].sunday.slice(0,2),c[i].monday.slice(0,2),c[i].tuesday.slice(0,2),c[i].wednesday.slice(0,2),c[i].thursday.slice(0,2),c[i].friday.slice(0,2),c[i].saturday.slice(0,2)],s=[c[i].january,c[i].february,c[i].march,c[i].april,c[i].may,c[i].june,c[i].july,c[i].august,c[i].september,c[i].october,c[i].november,c[i].december];return e.createElement("div",{className:Y,style:{width:t,height:l,paddingLeft:r*a}},n.length>0&&n.map((n=>e.createElement("div",{key:n.toString(),className:A,style:{width:a,height:o}},e.createElement("div",{className:H,"data-is-today":n.getDate()===(new Date).getDate()&&n.getMonth()===(new Date).getMonth()&&n.getFullYear()===(new Date).getFullYear()},e.createElement("div",null,e.createElement("p",null,d[n.getDay()]),e.createElement("p",null,n.getDate()))),1===n.getDate()&&e.createElement("div",{className:P},e.createElement("p",null,s[n.getMonth()]," ",n.getFullYear()))))))};var $="ListElementsColumn-module_list-element-column__46wTg";r(".ListElementsColumn-module_list-element-column__46wTg {\n box-sizing: border-box;\n}");var X="ListElement-module_list-element__t9ZwR";r(".ListElement-module_list-element__t9ZwR {\n position: relative;\n border-bottom: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n background-color: white;\n cursor: pointer;\n overflow: hidden;\n}\n.ListElement-module_list-element__t9ZwR:hover {\n background-color: rgb(240, 240, 240);\n}");var Z=e.memo((({listElementId:n,ReactListElementChildren:t,height:l})=>e.createElement("div",{className:X,style:{height:l}},e.createElement(t,{listElementId:n}))));const q=({ReactListElementChildren:n,listHeight:t,yOffset:l,elementsHeight:a,idsArray:o})=>e.createElement("div",{className:$,style:{height:t,paddingTop:l*a}},o.map((t=>e.createElement(Z,{key:t,height:a,listElementId:t,ReactListElementChildren:n}))));var V="DatesGrid-module_dates-grid__GvBcr",U="DatesGrid-module_div-cells-row-height__eRcXw";r(".DatesGrid-module_dates-grid__GvBcr {\n box-sizing: border-box;\n}\n.DatesGrid-module_dates-grid__GvBcr .DatesGrid-module_div-cells-row-height__eRcXw {\n box-sizing: border-box;\n}");var Q="CellsRow-module_cells-row__TJvv8";r(".CellsRow-module_cells-row__TJvv8 {\n display: flex;\n flex-flow: row;\n}");var K="Cell-module_cell__FNVcp";r(".Cell-module_cell__FNVcp {\n position: relative;\n border: 1px solid rgb(200, 200, 200);\n border-radius: 6px;\n}");var ee=e.memo((({date:n,listElementId:t,width:l,heigth:a,ReactCellChildren:o})=>e.createElement("div",{className:K,style:{width:l,height:a}},e.createElement(o,{date:n,listElementId:t}))));const ne=({listElementId:n,visibleDatesArray:t,width:l,height:a,cellsWidth:o,cellsHeight:r,ReactCellChildren:i})=>e.createElement("div",{className:Q,style:{width:l,height:a}},t.length>0&&t.map((t=>e.createElement(ee,{key:n+t.toString(),date:w(t),listElementId:n,width:o,heigth:r,ReactCellChildren:i})))),te=({gridWidth:n,gridHeight:t,xOffset:l,yOffset:a,cellsWidth:o,cellsHeight:r,visibleListElementsIdsArray:i,visibleDates:c,ReactCellChildren:d})=>{const s=n-c.length*o,u=l*o>s?s:l*o;return e.createElement("div",{className:V,style:{width:n}},e.createElement("div",{className:U,style:{height:t,paddingTop:a*r,paddingLeft:u}},i.map((n=>e.createElement(ne,{key:n,listElementId:n,visibleDatesArray:c,width:c.length*o,height:r,cellsWidth:o,cellsHeight:r,ReactCellChildren:d})))))};var le="DropdownMonthNavigation-module_dropdown-month-navigation__M-YCF";r(".DropdownMonthNavigation-module_dropdown-month-navigation__M-YCF {\n position: relative;\n display: flex;\n width: 200px;\n margin: 0px 10px;\n border: 1px solid rgb(216, 216, 216);\n color: black;\n background-color: white;\n border-radius: 6px;\n white-space: nowrap;\n font-size: 14px;\n line-height: 18px;\n height: 28px;\n}");const ae=({visibleMonth:n,visibleYear:t,onChangeAction:l,options:a})=>e.createElement("select",{title:"Select a month",className:le,value:w(new Date(t,n,1,12,0,0,0)),onChange:e=>l(e.target.value)},a);function oe(){const[n,t]=e.useState([0,0]);return e.useLayoutEffect((()=>{function e(){t([window.innerWidth,window.innerHeight])}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),n}const re=e=>sessionStorage.getItem(`MulticalendarScrollTopPosition-${e}`),ie=e=>sessionStorage.getItem(`MulticalendarScrollLeftPosition-${e}`),ce={en_EN:{Today:"Today"},es_ES:{Today:"Hoy"}};var de="ScreenSteps-module_screen-steps__AX-nZ",se="ScreenSteps-module_steps__AuZhk",ue="ScreenSteps-module_step__2kFuY",_e="ScreenSteps-module_outer-text__akI1y",me="ScreenSteps-module_frame__3J2mc",pe="ScreenSteps-module_steps-content__-Yj-E",be="ScreenSteps-module_step-component__Lu3G5";function ge(n){const[t,l]=e.useState(0),[a,o]=e.useState(0),r=e.useRef(new ResizeObserver((e=>{const{width:n,height:t}=e[0].contentRect;l(n),o(t)})));return e.useEffect((()=>{null!==n.current&&r.current.observe(n.current);const e=r.current,t=n.current;return()=>{null!==t&&e.unobserve(t)}}),[n,r]),[t,a]}r(".ScreenSteps-module_screen-steps__AX-nZ {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk .ScreenSteps-module_step__2kFuY {\n width: 62px;\n height: 62px;\n border-radius: 31px;\n background-color: hsla(0, 0%, 58%, 0.2);\n display: flex;\n align-items: center;\n justify-content: center;\n color: rgba(65, 65, 65, 0.4);\n text-align: center;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 15px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n cursor: pointer;\n transition: all 300ms ease-in-out;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk .ScreenSteps-module_step__2kFuY[data-is-complete=true] {\n background-color: rgba(112, 90, 0, 0.4);\n color: rgba(65, 65, 65, 0.4);\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk .ScreenSteps-module_step__2kFuY[data-is-current=true] {\n background-color: rgba(112, 90, 0, 0.6);\n color: rgb(65, 65, 65);\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_outer-text__akI1y {\n color: #787878;\n text-align: center;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n margin: 0;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc {\n width: 100%;\n overflow: hidden;\n transition: height 300ms ease-in-out;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc .ScreenSteps-module_steps-content__-Yj-E {\n display: flex;\n justify-content: flex-start;\n transition: all 300ms ease-in-out;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc .ScreenSteps-module_step-component__Lu3G5 {\n max-height: 0px;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc .ScreenSteps-module_step-component__Lu3G5[data-is-current=true] {\n max-height: max-content;\n}");var he="ScrollSnapGallery-module_scroll-snap-gallery__CR-GS",fe="ScrollSnapGallery-module_frame__267TC",Se="ScrollSnapGallery-module_arrow-controls__yw2Zl",ye="ScrollSnapGallery-module_arrow__1ueyq",xe="ScrollSnapGallery-module_position-indicator__3Y7Mh",ve="ScrollSnapGallery-module_indicator-icon__YrYF2",we="ScrollSnapGallery-module_current__ckZrA",Ce="ScrollSnapGallery-module_medium-shrunken__DuED2",ke="ScrollSnapGallery-module_full-shrunken__VSbF7",Ee="ScrollSnapGallery-module_hidden__c0w-O";r(".ScrollSnapGallery-module_scroll-snap-gallery__CR-GS {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_frame__267TC {\n display: flex;\n align-items: center;\n scroll-snap-type: x mandatory;\n scroll-snap-stop: always;\n scroll-behavior: smooth;\n overflow-x: auto;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: none;\n scrollbar-width: none;\n -webkit-user-select: none;\n user-select: none;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_frame__267TC::-webkit-scrollbar {\n display: none;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_frame__267TC img {\n scroll-snap-align: center;\n min-width: 100%;\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 10px;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_arrow__1ueyq {\n width: 24px;\n height: 24px;\n fill: #959595;\n transition: all 100ms ease-in-out;\n z-index: 2;\n cursor: pointer;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_arrow__1ueyq:active {\n fill: #0d280b;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh {\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all 0.3s ease-in-out;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2 {\n fill: #959595;\n transition: all 0.3s ease-in-out;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_current__ckZrA {\n fill: #0d280b;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_medium-shrunken__DuED2 {\n transform: scale(0.75);\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_full-shrunken__VSbF7 {\n transform: scale(0.5);\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_hidden__c0w-O {\n transform: scale(0);\n}");var Me="StackedCards-module_stacked-cards__8IiBF",De="StackedCards-module_card__4cF-v",Ne="StackedCards-module_title__GYDch",ze="StackedCards-module_content__6WDlF";r(".StackedCards-module_stacked-cards__8IiBF {\n position: relative;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v {\n position: absolute;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 80%;\n height: 80%;\n background-color: #fff;\n border-radius: 10px;\n border: 2px solid #e2e2e2;\n transition: all 0.4s ease-out;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v .StackedCards-module_title__GYDch {\n width: 100%;\n overflow: hidden;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v .StackedCards-module_content__6WDlF {\n flex-grow: 1;\n width: 100%;\n overflow: auto;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v .StackedCards-module_content__6WDlF::-webkit-scrollbar {\n display: none;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v[data-is-selectable=true] {\n cursor: pointer;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v[data-is-selectable=true][data-should-card-rise=true]:hover {\n transform: translateY(-20px);\n}");const Ie=360;exports.BubbleMenu=({options:l,language:a="en"})=>{const[o,r]=e.useState(null);return e.createElement(e.Fragment,null,e.createElement("button",{type:"button",title:"menu",className:c,onClick:()=>r(!o)},o?e.createElement(n.BsX,null):e.createElement(t.IoMenu,null),e.createElement("p",null,o?d[a].close:d[a].menu)),e.createElement("section",{className:i,"data-status":!0===o?"visible":!1===o?"hidden":"idle",onClick:()=>r(!1)},e.createElement("ul",null,l.filter((e=>e.visible)).map(((n,t)=>e.createElement("li",{key:n.text,style:{transitionDelay:100*t+"ms"}},e.createElement("button",{onClick:()=>setTimeout(n.optionCallback,300+100*l.length)},n.icon,n.text)))))))},exports.CalendarDatePicker=({mode:n,onSelectedDatesChange:t=(()=>{}),language:l="en",customDates:a=[],minimumDate:o=new Date(1970,0,1),maximumDate:r=new Date((new Date).getFullYear()+100,1,1),customStyle:i})=>{const[c,d]=e.useState([]),[b,g]=e.useState((new Date).getFullYear()),[h,f]=e.useState((new Date).getMonth()),[S,x]=e.useState(Math.random()),v=e=>{const n=new Date(o.getFullYear(),o.getMonth(),1),t=new Date(r.getFullYear(),r.getMonth()+1,0),l=e.valueOf()>=n.valueOf(),a=e.valueOf()<=t.valueOf();return l&&a};return e.createElement("div",{className:s,style:i},e.createElement("button",{className:u,onClick:()=>{const e=new Date;v(e)&&(f(e.getMonth()),g(e.getFullYear()),x(Math.random()))}},z[l].today.slice(0,1).toUpperCase()+z[l].today.slice(1)),e.createElement("section",{className:_},e.createElement("select",{style:{fontFamily:null==i?void 0:i.fontFamily},className:m,value:h,onChange:e=>{const n=Number(e.target.value);f(n),x(Math.random())}},Array(12).fill(0).map(((n,t)=>{const a=new Date(b,t,1),o=!v(a);return e.createElement("option",{key:I(t,l),value:t,disabled:o},I(t,l))}))),e.createElement(y,{inputType:"number",divWrapperCustomStyle:{width:"4ch",border:"none",backgroundColor:"transparent",fontFamily:null==i?void 0:i.fontFamily},inputBoxCustomStyle:{padding:0,fontFamily:null==i?void 0:i.fontFamily,fontSize:24},maxLength:4,defaultValue:b.toString(),overrideCurrentValue:b.toString(),minimumValue:o.getFullYear().toString(),maximumValue:r.getFullYear().toString(),onConfirmAction:e=>{let n=Number(e);const t=new Date(n,h,1);v(t)?(g(n),x(Math.random())):t.valueOf()<o.valueOf()?(g(o.getFullYear()),f(o.getMonth()),x(Math.random())):t.valueOf()>r.valueOf()&&(g(r.getFullYear()),f(r.getMonth()),x(Math.random()))}})),e.createElement("section",{className:p},e.createElement("p",null,z[l].monday.slice(0,1).toUpperCase()),e.createElement("p",null,z[l].tuesday.slice(0,1).toUpperCase()),e.createElement("p",null,z[l].wednesday.slice(0,1).toUpperCase()),e.createElement("p",null,z[l].thursday.slice(0,1).toUpperCase()),e.createElement("p",null,z[l].friday.slice(0,1).toUpperCase()),e.createElement("p",null,z[l].saturday.slice(0,1).toUpperCase()),e.createElement("p",null,z[l].sunday.slice(0,1).toUpperCase())),e.createElement(N,{key:S,dates:c,year:b,month:h,mode:n,onSelectedDatesChange:e=>{t(e),d(e)},onFocusedMonth:(e,n)=>{f(e),g(n)},customDates:a,minimumDate:o,maximumDate:r}))},exports.InputBoxWithConfirmation=y,exports.IntegerControl=({onChange:n=(()=>{}),defaultValue:t=0,minimumValue:a,maximumValue:o,customStyle:r})=>{const[i,c]=e.useState(t),d=e=>{let t=e;(a||0===a)&&e<a?t=a:(o||0===o)&&e>o&&(t=o),c(t),n(t)};return e.createElement("div",{className:`${W} ${i===t?F:""}`,style:r},e.createElement("button",{onClick:()=>d(i-1)},e.createElement(l.AiFillMinusCircle,null)),e.createElement("input",{onChange:e=>d(Number(e.target.value)),value:i,type:"number",min:String(a),max:String(o),style:{width:i.toString().length+1+"ch"}}),e.createElement("button",{onClick:()=>d(i+1)},e.createElement(l.AiFillPlusCircle,null)))},exports.LabeledInput=({label:n,defaultValue:t,onChange:l=(()=>{}),width:a="328px",height:o="66px",backgroundColor:r="white",textAlign:i="left",highlightError:c=!1,errorMessage:d,inputProps:s,specialType:u})=>{const _=e.useRef(null),[m,p]=e.useState(!1);return e.useEffect((()=>{t&&p(!0)}),[t]),e.createElement("div",{className:T,"data-has-error":c,onClick:()=>{_.current&&_.current.focus()},style:{width:a,height:o,backgroundColor:r}},e.createElement("label",{"data-is-shrinked":m,style:{backgroundColor:r}},n),e.createElement("input",Object.assign({ref:_},s,{onFocus:()=>p(!0),onBlur:e=>{e.target.value||p(!1)},defaultValue:t,onChange:e=>{let n=e.target.value;switch(u){case"credit-card-number":n=(e=>{var n;const t=e.replace(/\D/g,"").slice(0,16);let l=t.match(/.{1,4}/g);return 15===t.length&&(l=[t.slice(0,5),t.slice(5,11),t.slice(11,16)]),null!==(n=null==l?void 0:l.join(" "))&&void 0!==n?n:""})(n);break;case"expiration-date":n=(e=>{var n;const t=e.replace(/\D/g,"").slice(0,4).match(/.{1,2}/g);return null!==(n=null==t?void 0:t.join(" / "))&&void 0!==n?n:""})(n);break;case"cvv":n=(e=>e.replace(/\D/g,"").slice(0,4))(n);break;case"phone":n=(e=>(e.startsWith("+")?"+":"")+e.replace(/\D/g,"").slice(0,15))(n)}e.target.value=n,l(n)},style:{textAlign:i}})),c&&d&&e.createElement("p",{className:O},d))},exports.Modal=({children:n,overrideOpenState:t=!1,forced:l=!1,onOpen:o,onClose:r})=>{const[i,c]=e.useState(t),[d,s]=e.useState(t);return e.useEffect((()=>{t?(c(!0),o&&o()):t||(c(!1),r&&r())}),[t,o,r]),e.useEffect((()=>{i?s(!0):i||setTimeout((()=>{s(!1)}),500)}),[i]),d?a.createPortal(e.createElement("div",{className:G["blured-background"],"data-is-visible":i,onClick:()=>{l||(c(!1),r&&r())}},e.createElement("div",null,e.createElement("div",{className:G.modal,"data-closed":!t,onClick:e=>{e.stopPropagation()}},n))),document.getElementById("root")||document.body):e.createElement(e.Fragment,null)},exports.Multicalendar=({multicalendarId:t,ReactCellChildren:l,ReactListElementChildren:a,listElementsIdsArray:o,language:r="en_EN",pastDatesVisible:i=!0,cellsWidth:c=120,cellsHeight:d=80,verticalAxisWidth:s=280,pastDaysInitialQuantity:u=365,futureDaysInitialQuantity:_=365,chunkRenderX:m=0,chunkRenderY:p=0,dynamicDaysQuantity:b=!1,authomaticScrollOnDraggingOverEdges:g=!1,waitTimeForCalls:h=500,callsOnInitialView:f,callsOnScrollingStops:S,aditionalControlsComponents:y,upperLeftComponent:x,autoSavePosition:v,onScrollTopChanges:w,onScrollLeftChanges:C})=>{var k,E;const M=1+m,D=e.useRef(null),N=e.useRef(null),z=e.useRef(null),I=e.useRef(null),W=e.useRef(null),[F,T]=e.useState(!1),[O,G]=oe(),[Y,A]=e.useState(Math.ceil(_)),[H,P]=e.useState(i?Math.ceil(u):0),[$,X]=e.useState(0),[Z,V]=e.useState(0),[U,Q]=e.useState(1),[K,ee]=e.useState(0),[ne,le]=e.useState([]),[de,se]=e.useState([]),[ue,_e]=e.useState(!1),[me,pe]=e.useState({x:ie(t)?Number(ie(t)):i?Math.ceil(u)*c:0,y:re(t)?Number(re(t)):0}),[be,ge]=e.useState(me.x),[he,fe]=e.useState(me.y),[Se,ye]=e.useState({x:me.x,y:me.y}),[xe,ve]=e.useState(!1),[we,Ce]=e.useState(new Date),[ke,Ee]=e.useState(void 0),[Me,De]=e.useState(void 0),[Ne,ze]=e.useState(void 0),[Ie,We]=e.useState(!1),[Fe,Te]=e.useState((null===(k=I.current)||void 0===k?void 0:k.clientHeight)?I.current.clientHeight:0),[Oe,Ge]=e.useState((null===(E=W.current)||void 0===E?void 0:E.clientHeight)?W.current.clientHeight:0),[Le,Re]=e.useState(!1);return e.useEffect((()=>{pe({x:i?Math.ceil(u)*c:0,y:0})}),[i,u,c]),e.useEffect((()=>{z.current&&!1===xe&&(z.current.scrollTop=me.y,z.current.scrollLeft=me.x,ve(!0))}),[me.y,me.x,xe]),e.useEffect((()=>(C&&C(be),w&&w(he),()=>{v&&(he!==me.y&&((e,n)=>{sessionStorage.setItem(`MulticalendarScrollTopPosition-${e}`,n)})(t,String(he)),be!==me.x&&((e,n)=>{sessionStorage.setItem(`MulticalendarScrollLeftPosition-${e}`,n)})(t,String(be)))})),[v,he,be,me.y,me.x]),e.useEffect((()=>{P(i?Math.ceil(u):0)}),[i,u]),e.useEffect((()=>{!F&&de.length>0&&ne.length>0&&f&&(T(!0),f(de,ne))}),[F,de,ne,f]),e.useEffect((()=>{var e,n;const t=(null===(e=I.current)||void 0===e?void 0:e.clientHeight)?I.current.clientHeight:0,l=(null===(n=W.current)||void 0===n?void 0:n.clientHeight)?W.current.clientHeight:0;Te(t),Ge(l),_e(!0),X(Math.ceil((O-s)/c)+1),V(Math.ceil((G-t-l)/d)+1),null!==z.current&&(ge(z.current.scrollLeft),ye({x:z.current.scrollLeft,y:z.current.scrollTop}),Q(Math.floor(z.current.scrollLeft/c)-m))}),[O,G,s,d,c,m]),e.useEffect((()=>{if(Se.x===me.x&&Se.y===me.y||Math.abs(Se.y-he)/d>p||ue){Se.x===me.x&&Se.y===me.y||null!==z.current&&ye({x:z.current.scrollLeft,y:z.current.scrollTop});let e=function(e,n,t){let l=Math.floor(e/n)-t;return l<0&&(l=0),l}(he,d,p);ee(e),se(function(e,n,t,l){let a=[];for(let o=0;o<e+2*n;o++)l[o+t]&&o+t>=0&&(a[o]=l[o+t]);return a}(Z,p,e,o)),ue&&_e(!1)}}),[ue,he,d,p,me.x,me.y,Z,Se.x,Se.y,o]),e.useEffect((()=>{if(Se.x===me.x&&Se.y===me.y||be<c||Math.abs(Se.x-be)/c>m||ue){le([]),Se.x===me.x&&Se.y===me.y||null!==z.current&&ye({x:z.current.scrollLeft,y:z.current.scrollTop}),Q(function(e,n,t){return Math.floor(e/n)-t}(be,c,m));const e=function(e,n,t,l){let a=new Date(Date.parse((new Date).toString())+L*(Math.floor(e/n)-t-l));return a.setHours(12,0,0,0),Date.parse(a.toString())}(be,c,H,M);Ce(function(e,n){return new Date(e+n*L)}(e,M)),ue&&_e(!1),le(function(e,n,t){let l=[];for(let a=0;a<e+2*n;a++)l[a]=new Date(t+L*(a+1));return l}($,m,e))}}),[ue,$,be,m,c,M,H,Se.x,Se.y,me.x,me.y]),e.useEffect((()=>{We(!0),clearTimeout(ke),Ee(void 0)}),[be,he]),e.useEffect((()=>{if(void 0===ke){let e=setTimeout((()=>We(!1)),h);Ee(e)}}),[be,he,ke,h]),e.useEffect((()=>{!Ie&&S&&S(de,ne)}),[Ie,de,ne]),e.useEffect((()=>{g||(void 0!==Me&&De(void 0),void 0!==Ne&&ze(void 0))}),[g,Me,Ne]),e.useEffect((()=>(document.body.addEventListener("mousedown",(()=>{Re(!0)})),document.body.addEventListener("mouseup",(()=>{Re(!1)})),()=>{document.body.removeEventListener("mousedown",(()=>{Re(!0)})),document.body.removeEventListener("mouseup",(()=>{Re(!1)}))})),[g]),e.createElement("div",{key:t,id:t,"data-testid":t,className:j.multicalendar,style:{gridTemplateColumns:`${s}px`,gridTemplateRows:`auto auto calc(100% - ${Fe+Oe}px`}},e.createElement("div",{ref:I,className:j.controls},e.createElement("div",{className:j["div-dates-navigation"]},e.createElement(ae,{visibleYear:we.getFullYear(),visibleMonth:we.getMonth(),onChangeAction:e=>{R(new Date(Number(Date.parse(function(e){if(!/^\d{4}-\d{2}-\d{2}$/.test(e))throw new Error("Invalid SQL date format");let n=e.split("-");return new Date(Number(n[0]),Number(n[1])-1,Number(n[2]))}(e).toString()))),z,H,c)},options:B(H,Y,r)}),e.createElement("button",{type:"button",className:j["today-button"],onClick:()=>R(new Date,z,H,c)},ce[r].Today)),y&&e.createElement("div",{className:j["div-aditional-controls-components"]},y)),e.createElement("div",{className:j["div-upper-left-component"]},x),e.createElement("div",{className:j["vertical-axis"]},e.createElement("div",{ref:N,className:j["div-list-element-column"],onScroll:e=>{null!==z.current&&(z.current.scrollTop=e.target.scrollTop)}},e.createElement(q,{listHeight:d*o.length,yOffset:K,elementsHeight:d,idsArray:de,ReactListElementChildren:a}))),e.createElement("div",{ref:W,className:j["horizontal-axis"]},e.createElement("div",{className:j["div-weeks-buttons"]},e.createElement("button",{type:"button",title:"Past Week",className:j["past-week-button"],onClick:()=>{null!==D.current&&D.current.scroll({left:D.current.scrollLeft-7*c})}},e.createElement(n.BsChevronLeft,null)),e.createElement("button",{type:"button",title:"Next Week",onClick:()=>{null!==D.current&&D.current.scroll({left:D.current.scrollLeft+7*c})},className:j["next-week-button"]},e.createElement(n.BsChevronRight,null))),e.createElement("div",{ref:D,className:j["div-dates-row"],onScroll:e=>{null!==z.current&&(z.current.scrollLeft=e.target.scrollLeft)}},e.createElement(J,{visibleDates:ne,width:(H+Y)*c,height:74,cellsWidth:c,cellsHeight:74,offset:U,language:r}))),e.createElement("div",{className:j["div-main-container"]},e.createElement("div",{ref:z,className:j["main-container"],onScroll:e=>{if(null!==D.current){const n=e.target.scrollLeft;D.current.scrollLeft=n,ge(n)}if(null!==N.current){const n=e.target.scrollTop;N.current.scrollTop=n,fe(n)}var n,t,l,a,o,r;b&&e.target.scrollLeft+e.target.offsetWidth>(H+Y)*c-c&&A(Y+1),i&&b&&e.target.scrollLeft<c&&(P(H+1),e.target.scrollLeft=3*c),n=Le,t=Me,l=Ne,a=.8*c,o=.8*d,r=e.target,n&&(t&&(t<a&&(r.scrollLeft-=a-t),t>r.offsetWidth-a&&(r.scrollLeft+=t+a-r.offsetWidth)),l&&(l<o&&(r.scrollTop-=o-l),l>r.offsetHeight-o&&(r.scrollTop+=l+o-r.offsetHeight)))},onMouseMove:e=>{if(null!==z.current&&Le){let r=e.clientX-z.current.getBoundingClientRect().left,i=e.clientY-z.current.getBoundingClientRect().top;De(r),ze(i),n=r,t=i,l=.8*c,a=.8*d,o=z,Le&&null!==o.current&&(n<l&&(o.current.scrollLeft-=10),n>o.current.offsetWidth-l&&(o.current.scrollLeft+=10),t<a&&(o.current.scrollTop-=10),t>o.current.offsetHeight-a&&(o.current.scrollTop+=10))}var n,t,l,a,o}},e.createElement(te,{gridWidth:(H+Y)*c,gridHeight:d*o.length,xOffset:U,yOffset:K,cellsWidth:c,cellsHeight:d,visibleListElementsIdsArray:de,visibleDates:ne,ReactCellChildren:l}))))},exports.ScreenSteps=({steps:n,defaultStep:t=0,onStepChange:l=(()=>{}),canNavigate:a,overrideStep:o})=>{const r=e.useRef(null),[i,c]=e.useState(t),[d,s]=ge(r);e.useEffect((()=>{void 0!==o&&o<n.length&&o>=0&&o!==i&&c(o)}),[o]);return e.createElement("section",{className:de},e.createElement("nav",{className:se},n.map(((n,t)=>e.createElement("div",{key:n.innerText,className:ue,"data-is-completed":t<i,"data-is-current":t===i,"data-can-navigate":a,onClick:()=>{a&&(c(t),l(t))}},n.innerText)))),e.createElement("p",{className:_e},n[i].outterText),e.createElement("div",{className:me,style:{height:s||"100%"}},e.createElement("div",{ref:r,className:pe,style:(()=>{const e=100/n.length;return{width:100*n.length+"%",transform:`translateX(-${e*i}%)`}})()},n.map(((t,l)=>e.createElement("div",{key:t.innerText,className:be,"data-is-current":l===i,style:{width:100/n.length+"%"}},t.component))))))},exports.ScrollSnapGallery=({urls:t=[],alts:l,width:a="400px",height:r="300px",IndicatorIcon:i=o.GoDotFill,positionIndicatorSize:c=Math.min(t.length,6),iconSize:d=16,showArrows:s=!1,frameStyle:u={},onSlideChange:_=(()=>{}),autoChange:m=!1})=>{const p=e.useRef(null),[b,g]=e.useState(0),[h,f]=e.useState(0),[S,y]=e.useState(c-1),[x,v]=e.useState(0),[w,C]=e.useState(0),k=e=>{let n=ve;b===e&&(n+=` ${we}`);const l=0!==h&&e===h,a=S!==t.length-1&&e===S;(l||a)&&(n+=` ${ke}`);const o=0!==h&&e===h+1,r=S!==t.length-1&&e===S-1;return(o||r)&&(n+=` ${Ce}`),(e<h||e>S)&&(n+=` ${Ee}`),n};return e.useEffect((()=>{v(h*d)}),[h]),e.useEffect((()=>{_(b)}),[b]),e.useEffect((()=>{if(m){const e=setInterval((()=>{C((e=>e+1))}),3e3);return()=>clearInterval(e)}}),[m]),e.useEffect((()=>{if(m){const e=p.current;e&&e.scrollLeft===e.scrollWidth-e.clientWidth?e.scrollLeft=0:e&&(e.scrollLeft+=e.clientWidth)}}),[m,w]),e.createElement("section",{className:he},e.createElement("div",{ref:p,className:fe,style:Object.assign(Object.assign({},u),{width:a,height:r}),onScroll:e=>{const{scrollLeft:n,clientWidth:l}=e.target,a=l,o=Math.round(n/a);if(g(o),o<=h){const e=Math.max(o-1,0),n=e+c-1;f(e),y(n)}else if(o>=S){const e=Math.min(o+1,t.length-1),n=e-c+1;y(e),f(n)}}},t.map(((n,t)=>e.createElement("img",{key:n+t,src:n,alt:l?l[t]:"gallery picture"})))),e.createElement("div",{className:Se},s&&e.createElement(n.BsArrowLeftCircle,{className:ye,onClick:()=>{const e=p.current;e&&(e.scrollLeft-=e.clientWidth)}}),e.createElement("div",{className:xe,style:{transform:`translateX(calc(50% - ${x}px - ${d*c/2}px))`}},t.map(((n,t)=>e.createElement(i,{key:n+t,className:k(t),style:{width:d,height:d}})))),s&&e.createElement(n.BsArrowRightCircle,{className:ye,onClick:()=>{const e=p.current;e&&(e.scrollLeft+=e.clientWidth)}})))},exports.StackedCards=({cards:n,initialCard:t,onCardChangeByUser:l,overrideSelectedCard:a,stackingOrientation:o=60,cardWidth:r=300,cardHeight:i=350})=>{const[c,d]=e.useState(t),s=o>0?o%Ie:Ie+o%Ie,u=Math.PI/180*o,_=e=>({horizontalOffset:80*Math.cos(u)/n.length*e,verticalOffset:80*Math.sin(u)/n.length*e}),m=e=>{const t={};let l=0,a=0,o=0;const r=_(e<c?e+1:e);e===c?o=n.length+1:(l=r.horizontalOffset,a=r.verticalOffset,o=n.length-e),t.zIndex=o;const i=e=>{t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.top=e.top},d=s>90&&s<=180,u=s>180&&s<=270,m=s>270&&s<=Ie;return s>=0&&s<=90?i({right:`${l}px`,bottom:`${a}px`,left:"",top:""}):d?i({right:"",bottom:`${a}px`,left:-l+"px",top:""}):u?i({right:"",bottom:"",left:-l+"px",top:-a+"px"}):m&&i({right:`${l}px`,bottom:"",left:"",top:-a+"px"}),t};return e.useEffect((()=>{void 0!==a&&a>=0&&a<n.length&&d(a)}),[a]),e.createElement("div",{className:Me,style:(()=>{const e=_(n.length-1).horizontalOffset+4,t=_(n.length-1).verticalOffset+4;return{width:r+Math.abs(e),height:i+Math.abs(t)}})()},n.map(((n,t)=>e.createElement("div",{className:De,key:t,"data-is-selectable":t!==c,"data-should-card-rise":s>=0&&s<=180,style:Object.assign({height:i,width:r},m(t)),onClick:()=>{c!==t&&(d(t),l&&l(t))}},e.createElement("div",{className:Ne},n.title),e.createElement("div",{className:ze},n.content)))))},exports.useIntersectionObserver=function(n,t){const[l,a]=e.useState(!1),o=e.useRef(null);return e.useEffect((()=>(o.current&&o.current.disconnect(),o.current=new IntersectionObserver((([e])=>{a(e.isIntersecting)}),t),n.current&&o.current.observe(n.current),()=>{o.current&&o.current.disconnect()})),[n,t]),l},exports.useOutsideClick=S,exports.useResizeObserver=ge,exports.useWindowsSize=oe;
|
|
1
|
+
"use strict";var e=require("react"),n=require("react-icons/bs"),t=require("react-icons/io5"),l=require("react-icons/ai"),a=require("react-dom"),o=require("react-icons/go");function r(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var l=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===t&&l.firstChild?l.insertBefore(a,l.firstChild):l.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}var i="BubbleMenu-module_menu-container__xrNNC",c="BubbleMenu-module_menu-button__I5R0w";r(".BubbleMenu-module_menu-container__xrNNC {\n position: fixed;\n z-index: -1;\n top: 0px;\n padding-top: 80px;\n box-sizing: border-box;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=visible] {\n z-index: 100;\n width: 100vw;\n height: 100vh;\n animation: BubbleMenu-module_show-background__Qz4-v 300ms ease-in-out forwards;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=visible] ul li {\n opacity: 1;\n transform: translateX(5px);\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=hidden] {\n animation: BubbleMenu-module_hide-background__ESkim 300ms ease-in-out forwards;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=hidden] ul li {\n opacity: 0;\n transform: translateX(-110px);\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=idle] {\n width: 0vw;\n height: 0vh;\n background-color: transparent;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=idle] ul li {\n opacity: 0;\n transform: translateX(-110px);\n}\n.BubbleMenu-module_menu-container__xrNNC ul {\n list-style: none;\n padding-inline-start: 0px;\n margin: 0;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li {\n width: -moz-fit-content;\n width: fit-content;\n transition: all 300ms ease-in-out;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li button {\n border-width: 3px;\n border-style: solid;\n border-color: #959595;\n box-shadow: 3px 3px 4px 1px rgba(90, 90, 90, 0.3);\n color: #959595;\n background-color: rgba(255, 255, 255, 0.9);\n -webkit-tap-highlight-color: transparent;\n -webkit-user-select: none;\n user-select: none;\n cursor: pointer;\n transition: all 100ms ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100px;\n height: 100px;\n margin: 15px 0px;\n border-radius: 50px;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li button svg {\n min-width: 40px;\n min-height: 40px;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li button:active {\n transform: translate(1px, 1px);\n box-shadow: 1px 1px 2px rgba(90, 90, 90, 0.3);\n}\n\n.BubbleMenu-module_menu-button__I5R0w {\n position: fixed;\n z-index: 101;\n top: 30px;\n left: 10px;\n width: 50px;\n height: 50px;\n background-color: rgba(255, 255, 255, 0.7);\n border-radius: 25px;\n border-width: 3px;\n border-style: solid;\n border-color: #959595;\n box-shadow: 3px 3px 4px 1px rgba(90, 90, 90, 0.3);\n color: #959595;\n background-color: rgba(255, 255, 255, 0.9);\n -webkit-tap-highlight-color: transparent;\n -webkit-user-select: none;\n user-select: none;\n cursor: pointer;\n transition: all 100ms ease-in-out;\n}\n.BubbleMenu-module_menu-button__I5R0w svg {\n position: absolute;\n top: 2px;\n left: 0;\n width: 100%;\n height: 34px;\n color: #0d280b;\n}\n.BubbleMenu-module_menu-button__I5R0w svg path {\n transition: all 0.3s ease-in-out;\n}\n.BubbleMenu-module_menu-button__I5R0w p {\n position: absolute;\n top: 30px;\n left: 0;\n width: 100%;\n margin: 0;\n text-align: center;\n color: #0d280b;\n font-size: 10px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n}\n.BubbleMenu-module_menu-button__I5R0w:active {\n transform: translate(1px, 1px);\n box-shadow: 1px 1px 2px rgba(90, 90, 90, 0.3);\n}\n\n@keyframes BubbleMenu-module_show-background__Qz4-v {\n 0% {\n background-color: transparent;\n min-width: 0vw;\n }\n 1% {\n background-color: transparent;\n min-width: 100vw;\n }\n 100% {\n background-color: rgba(0, 0, 0, 0.3);\n min-width: 100vw;\n }\n}\n@keyframes BubbleMenu-module_hide-background__ESkim {\n 0% {\n background-color: rgba(0, 0, 0, 0.3);\n min-width: 100vw;\n }\n 99% {\n background-color: transparent;\n min-width: 100vw;\n }\n 100% {\n background-color: transparent;\n min-width: 0vw;\n }\n}");const d={en:{menu:"menu",close:"close"},es:{menu:"menú",close:"cerrar"}};var s="CalendarDatePicker-module_calendar-date-picker__-G7aY",u="CalendarDatePicker-module_today-button__YgI7t",_="CalendarDatePicker-module_month-and-year__LHJ8I",m="CalendarDatePicker-module_month-input__sFUHA",p="CalendarDatePicker-module_week-days__j2XJ-";r('@property --angle {\n sintax: "<angle>";\n inherits: false;\n initial-value: 270deg;\n}\n@property --color-default {\n sintax: "<color>";\n inherits: false;\n initial-value: white;\n}\n@property --color-selected {\n sintax: "<color>";\n inherits: false;\n initial-value: #e3f3e3;\n}\n@property --percentage-default {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --percentage-selected {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 0%;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY {\n position: relative;\n font-family: Arial, Helvetica, sans-serif;\n width: 390px;\n color: #959595;\n font-weight: 600;\n font-style: normal;\n line-height: normal;\n -webkit-tap-highlight-color: transparent;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_today-button__YgI7t {\n position: absolute;\n top: 0px;\n right: 5px;\n border: solid 2px #787878;\n border-radius: 6px;\n padding: 4px 8px;\n font-size: 18px;\n background-color: white;\n color: #787878;\n transition: all 0.1s ease-in-out;\n cursor: pointer;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_today-button__YgI7t:hover {\n background-color: #f3f3f3;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_today-button__YgI7t:active {\n background-color: #cfcfcf;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n text-align: center;\n font-size: 22px;\n padding: 10px 0px;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA {\n width: fit-content;\n background-color: transparent;\n border: transparent;\n text-align: right;\n font-size: 24px;\n margin-right: 10px;\n color: #959595;\n cursor: pointer;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA:focus {\n outline: transparent;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA option {\n background-color: white;\n color: #959595;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA option:disabled {\n color: #cfcfcf;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_week-days__j2XJ- {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #ebebeb;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_week-days__j2XJ- p {\n width: 14.2857142857%;\n margin: 0px;\n text-align: center;\n}');var b="InputBoxWithConfirmation-module_div-wrapper__DdQ1-",g="InputBoxWithConfirmation-module_focused__C6kd0",h="InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN",f="InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y";function S(n,t,l=[]){e.useEffect((()=>{function e(e){n.current&&!n.current.contains(e.target)&&l.every((n=>n.current!==e.target))&&t()}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[n,t,l])}r(".InputBoxWithConfirmation-module_div-wrapper__DdQ1- {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n border: solid 1px rgb(184, 184, 184);\n background-color: rgb(250, 250, 250);\n border-radius: 8px;\n transition: border 0.3s;\n cursor: text;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1-.InputBoxWithConfirmation-module_focused__C6kd0 {\n border-color: #218dec;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN {\n box-sizing: border-box;\n padding: 10px 2ch;\n min-width: 10ch;\n text-align: center;\n border: none;\n background-color: transparent;\n font-size: 16px;\n font-weight: 600;\n color: dimgray;\n transition: all 0.2s;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN::-webkit-inner-spin-button {\n display: none;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN:focus {\n outline: none;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y {\n position: absolute;\n right: 0px;\n background-color: transparent;\n color: rgb(158, 158, 158);\n width: 32px;\n height: 32px;\n border-radius: 16px;\n font-size: 16px;\n border: none;\n cursor: pointer;\n transition: all 0.2s;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y:focus {\n outline: none;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y:hover {\n background-color: rgb(241, 241, 241);\n color: var(--primary-color);\n}");const y=({onConfirmAction:t,inputType:l="text",minimumValue:a="",maximumValue:o="",maxLength:r,placeholder:i="",divWrapperCustomStyle:c,inputBoxCustomStyle:d,defaultValue:s,overrideCurrentValue:u,showConfirmationButton:_,disabled:m})=>{const p=e.useRef(null),y=e.useRef(null),[x,v]=e.useState(void 0!==s?String(s):""),[w,C]=e.useState(void 0!==s?String(s):""),[k,E]=e.useState(!1),M=()=>{if(!w&&"0"!==w&&""!==w)return x;if("number"===l){let e=Number(w);return""!==a&&e<Number(a)?e=Number(a):""!==o&&e>Number(o)&&(e=Number(o)),String(e)}return w},D=()=>{const e=M();C(e),e&&(t(e),v(e))};return S(y,(()=>{k&&(_?C(x):D(),E(!1))})),e.useEffect((()=>{void 0!==u?(C(String(u)),v(String(u))):null===u&&(C(""),v(""))}),[u]),e.createElement("div",{ref:y,style:c,className:`${b} ${k?g:""}`,onClick:()=>{p.current&&p.current.focus()}},e.createElement("input",{ref:p,disabled:m,className:h,type:l,style:Object.assign({width:`${((null==w?void 0:w.length)?w.length:0)+7}ch`},d),min:a,max:o,maxLength:r,placeholder:i,value:k?w:x,onClick:e=>{e.stopPropagation()},onChange:e=>{let n=e.target.value;r&&n.length>r&&(n=n.slice(0,r)),C(n)},onFocus:e=>{v(e.target.value),C(e.target.value),E(!0)},onKeyDown:e=>{"Enter"===e.key||"NumpadEnter"===e.key||"Tab"===e.key?(D(),E(!1),p.current&&p.current.blur()):"Escape"!==e.key&&"Esc"!==e.key||(C(x),E(!1),p.current&&p.current.blur())}}),!m&&_&&e.createElement(e.Fragment,null,k?e.createElement("button",{title:"Confirm",type:"button",className:f,onClick:()=>{D(),E(!1)}},e.createElement(n.BsCheckLg,null)):e.createElement("button",{title:"Edit",type:"button",className:f,onClick:()=>{p.current&&p.current.focus()}},e.createElement(n.BsPencil,null))))};var x={"calendar-scrollable-section":"CalendarScrollableSection-module_calendar-scrollable-section__uzWbW","days-grid":"CalendarScrollableSection-module_days-grid__lN--o","days-row":"CalendarScrollableSection-module_days-row__wqsnT","day-cell":"CalendarScrollableSection-module_day-cell__CvovF",day:"CalendarScrollableSection-module_day__dS5iz",background:"CalendarScrollableSection-module_background__EwVgU","first-half":"CalendarScrollableSection-module_first-half__p9Eie","second-half":"CalendarScrollableSection-module_second-half__fyESG",today:"CalendarScrollableSection-module_today__zqpHy","in-month":"CalendarScrollableSection-module_in-month__vbbx-","not-in-month":"CalendarScrollableSection-module_not-in-month__-3eLq",selected:"CalendarScrollableSection-module_selected__y4L6S","check-in":"CalendarScrollableSection-module_check-in__Nl1mo","check-out":"CalendarScrollableSection-module_check-out__ShFpZ","not-selectable":"CalendarScrollableSection-module_not-selectable__mba-l","out-of-selection":"CalendarScrollableSection-module_out-of-selection__Upoeg","cross-line":"CalendarScrollableSection-module_cross-line__lsB3g",crossed:"CalendarScrollableSection-module_crossed__trZeE"};function v(e){return 0===e.getDay()?6:e.getDay()-1}function w(e){const n=e=>Number(e)<10?"-0":"-";return e.getFullYear().toString().concat(n(e.getMonth()+1),(e.getMonth()+1).toString().concat(n(e.getDate()),e.getDate().toString()))}r('@property --angle {\n sintax: "<angle>";\n inherits: false;\n initial-value: 270deg;\n}\n@property --color-default {\n sintax: "<color>";\n inherits: false;\n initial-value: white;\n}\n@property --color-selected {\n sintax: "<color>";\n inherits: false;\n initial-value: #e3f3e3;\n}\n@property --percentage-default {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --percentage-selected {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 0%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW {\n width: 100%;\n aspect-ratio: 1/1;\n overflow-y: scroll;\n -ms-overflow-style: none;\n scrollbar-width: none;\n border-bottom: 1px solid #ebebeb;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW::-webkit-scrollbar {\n display: none;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o {\n width: 100%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 14.2857142857%;\n aspect-ratio: 1/1;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz {\n position: relative;\n --angle: 270deg;\n --color-default: #f3f3f3;\n --color-selected: #b7d4b6;\n --percentage-default: 100%;\n --percentage-selected: 0%;\n display: flex;\n align-items: center;\n justify-content: center;\n width: calc(100% - 8px);\n height: calc(100% - 8px);\n margin: 0px;\n border-radius: 1000px;\n overflow: hidden;\n user-select: none;\n transition: all 0.5s ease-in-out;\n cursor: pointer;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz p {\n z-index: 2;\n margin: 0px;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz .CalendarScrollableSection-module_background__EwVgU {\n z-index: 1;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n transform: rotate(var(--angle));\n transition: all 0.5s ease-in-out;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz .CalendarScrollableSection-module_background__EwVgU .CalendarScrollableSection-module_first-half__p9Eie {\n width: var(--percentage-default);\n height: 100%;\n background-color: var(--color-default);\n transition: all 0.3s ease-in-out;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz .CalendarScrollableSection-module_background__EwVgU .CalendarScrollableSection-module_second-half__fyESG {\n width: var(--percentage-selected);\n height: 100%;\n background-color: var(--color-selected);\n transition: all 0.3s ease-in-out;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_today__zqpHy {\n outline: solid 2px #787878;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_in-month__vbbx- {\n color: var(--medium-gray, #787878);\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_not-in-month__-3eLq {\n opacity: 0.35;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_selected__y4L6S {\n --percentage-default: 0%;\n --percentage-selected: 100%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_check-in__Nl1mo {\n --angle: 405deg;\n --color-default: #f3f3f3;\n --percentage-default: 50%;\n --percentage-selected: 50%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_check-out__ShFpZ {\n --angle: 225deg;\n --color-default: #f3f3f3;\n --percentage-default: 50%;\n --percentage-selected: 50%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_not-selectable__mba-l {\n cursor: not-allowed;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_out-of-selection__Upoeg {\n opacity: 0.1;\n cursor: not-allowed;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_cross-line__lsB3g {\n z-index: 2;\n position: absolute;\n width: 120%;\n height: 3px;\n background-color: #bbb;\n transform: rotate(-45deg);\n display: none;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF.CalendarScrollableSection-module_crossed__trZeE .CalendarScrollableSection-module_cross-line__lsB3g {\n display: block;\n}');const C=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],k=["january","february","march","april","may","june","july","august","september","october","november","december"];function E(e,n){return`${("es_ES"===n?C:k)[e.getMonth()]} ${e.getFullYear()}`}function M(e){const n=(t=e,new Date(t.getFullYear(),t.getMonth()+1,0).getDate());var t;const l=e.getFullYear(),a=e.getMonth(),o=n-(7-v(new Date(l,a,1)));return Math.ceil(o/7)+1}const D=(e,n)=>{const t=(n,t)=>{const l=new Date(n,t,1),a=new Date(e.minimumDate.getFullYear(),e.minimumDate.getMonth(),1),o=new Date(e.maximumDate.getFullYear(),e.maximumDate.getMonth()+1,0),r=l.valueOf()<a.valueOf(),i=l.valueOf()>o.valueOf();return!r&&!i},l={setMonth:()=>t(e.year,n.value)?Object.assign(Object.assign({},e),{month:n.value}):Object.assign({},e),setYear:()=>t(n.value,e.month)?Object.assign(Object.assign({},e),{year:n.value}):Object.assign({},e),setMinimumDate:()=>Object.assign(Object.assign({},e),{minimumDate:new Date(n.value)}),setMaximumdate:()=>Object.assign(Object.assign({},e),{maximumDate:new Date(n.value)}),changeByMonthOffset:()=>{const l=new Date(e.year,e.month+n.value,1);return t(e.year,e.month+n.value)?Object.assign(Object.assign({},e),{year:l.getFullYear(),month:l.getMonth()}):Object.assign({},e)}}[n.type]();return l||Object.assign({},e)},N=({dates:n,month:t,year:l,mode:a,onSelectedDatesChange:o,onFocusedMonth:r,customDates:i=[],minimumDate:c=new Date(1970,0,1),maximumDate:d=new Date((new Date).getFullYear()+100,1,1)})=>{const[s,u]=e.useReducer(D,{month:t,year:l,minimumDate:c,maximumDate:d}),_=e.useRef(null),m=e=>!i.some((n=>n.dates.some((n=>n.valueOf()===e.valueOf()))&&!n.selectable)),p=e=>{let n=x["day-cell"];return i.some((n=>n.dates.some((n=>n.valueOf()===e.valueOf()))&&n.crossed))&&(n+=` ${x.crossed}`),n},b=e=>{let t=x.day;w(e)===w(new Date)&&(t+=` ${x.today}`),e.getMonth()===s.month?t+=` ${x["in-month"]}`:t+=` ${x["not-in-month"]}`;const l=n.some((n=>n.valueOf()===e.valueOf())),o=("range"===a||"booking"===a)&&2===n.length&&n[0].valueOf()<e.valueOf()&&e.valueOf()<n[1].valueOf();if((l||o)&&(t+=` ${x.selected}`),"booking"===a){2===n.length&&e.valueOf()===n[0].valueOf()&&(t+=` ${x["check-in"]}`);2===n.length&&e.valueOf()===n[1].valueOf()&&(t+=` ${x["check-out"]}`)}m(e)?t+=` ${x.selectable}`:t+=` ${x["not-selectable"]}`;return(e.valueOf()<c.valueOf()||e.valueOf()>d.valueOf())&&(t+=` ${x["out-of-selection"]}`),t},g=e=>{const n=i.find((n=>n.dates.some((n=>n.valueOf()===e.valueOf()))));return n?{backgroundColor:n.color}:void 0};return e.useEffect((()=>{_.current&&(_.current.scrollTop=_.current.scrollHeight/5*2)}),[]),e.useEffect((()=>{r(s.month,s.year)}),[s.year,s.month,r]),e.createElement("section",{ref:_,className:x["calendar-scrollable-section"],onScroll:e=>{const n=e.target,t=n.scrollHeight/5,l=1.25*t,a=2.75*t;n.scrollTop<l&&u({type:"changeByMonthOffset",value:-1}),n.scrollTop>a&&u({type:"changeByMonthOffset",value:1})}},Array(5).fill(0).map(((t,l)=>{const r=l-2,u=new Date(s.year,s.month+r,1),_=0===new Date(s.year,s.month+r+1,0).getDay();let h=M(u);_||(h-=1);const f=v(u);return e.createElement("div",{className:x["days-grid"],key:`grid:${w(u)}}`},Array(h).fill(0).map(((t,l)=>e.createElement("div",{className:x["days-row"],key:`grid:${w(u)}-row:${l}`},Array(7).fill(0).map(((t,u)=>{const _=s.month+r,h=7*l+u+1-f,S=new Date(s.year,_,h);return e.createElement("div",{className:p(S),key:w(S),onClick:()=>(e=>{if(i.forEach((n=>{n.dates.some((n=>n.valueOf()===e.valueOf()))&&(n.clickSideEffect&&n.clickSideEffect(e),n.clearSelectionIfClicked)&&o([])})),!m(e))return;if(e.valueOf()<c.valueOf()||e.valueOf()>d.valueOf())return;let t=[...n];"single"===a&&(t=[e]),"multiple"===a&&(t=n.some((n=>n.valueOf()===e.valueOf()))?n.filter((n=>n.valueOf()!==e.valueOf())):[...n,e]),"range"===a&&(t=0===n.length?[e]:1===n.length?n[0].valueOf()<e.valueOf()?[...n,e]:[e,n[0]]:[]),"booking"===a&&(t=0===n.length?[e]:n[0].valueOf()===e.valueOf()?[]:1===n.length?n[0].valueOf()<e.valueOf()?[...n,e]:[e,n[0]]:[]),o(t)})(S)},e.createElement("div",{className:x["cross-line"]}),e.createElement("div",{className:b(S)},e.createElement("div",{className:x.background},e.createElement("div",{className:x["first-half"],style:g(S)}),e.createElement("div",{className:x["second-half"],style:g(S)})),e.createElement("p",null,S.getDate())))}))))))})))},z={en:{january:"january",february:"february",march:"march",april:"april",may:"may",june:"june",july:"july",august:"august",september:"september",october:"october",november:"november",december:"december",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday",today:"today"},es:{january:"enero",february:"febrero",march:"marzo",april:"abril",may:"mayo",june:"junio",july:"julio",august:"agosto",september:"septiembre",october:"octubre",november:"noviembre",december:"diciembre",monday:"lunes",tuesday:"martes",wednesday:"miércoles",thursday:"jueves",friday:"viernes",saturday:"sábado",sunday:"domingo",today:"hoy"}},I=(e,n)=>{switch(e){case 0:return z[n].january;case 1:return z[n].february;case 2:return z[n].march;case 3:return z[n].april;case 4:return z[n].may;case 5:return z[n].june;case 6:return z[n].july;case 7:return z[n].august;case 8:return z[n].september;case 9:return z[n].october;case 10:return z[n].november;case 11:return z[n].december;default:return""}};var W="IntegerControl-module_integer-control__-tzTl",F="IntegerControl-module_default__FJoED";r(".IntegerControl-module_integer-control__-tzTl {\n display: flex;\n align-items: center;\n -webkit-tap-highlight-color: transparent;\n}\n.IntegerControl-module_integer-control__-tzTl button {\n border: none;\n background: none;\n padding: 0;\n margin: 0;\n}\n.IntegerControl-module_integer-control__-tzTl button svg {\n height: 44px;\n width: 44px;\n fill: #c9c9c9;\n transition: fill 100ms ease-in-out;\n cursor: pointer;\n}\n.IntegerControl-module_integer-control__-tzTl button svg:active {\n fill: #787878;\n}\n.IntegerControl-module_integer-control__-tzTl input {\n border: none;\n background: none;\n padding: 0;\n color: #414141;\n text-align: center;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 32px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n min-width: 50px;\n transition: color 300ms ease-in-out;\n}\n.IntegerControl-module_integer-control__-tzTl input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.IntegerControl-module_integer-control__-tzTl input:focus {\n outline: transparent;\n}\n.IntegerControl-module_integer-control__-tzTl.IntegerControl-module_default__FJoED input {\n color: #787878;\n}");var T="LabeledInput-module_labeled-input__xzE4h",O="LabeledInput-module_error-message__5-9lv";r(".LabeledInput-module_labeled-input__xzE4h {\n position: relative;\n border-radius: 8px;\n border: 2px solid #959595;\n padding: 0px 28px;\n background: #fff;\n box-sizing: border-box;\n transition: all 200ms ease-in-out;\n cursor: pointer;\n}\n.LabeledInput-module_labeled-input__xzE4h label {\n z-index: 1;\n position: absolute;\n color: #959595;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n top: 50%;\n left: 28px;\n padding: 0;\n height: 2px;\n display: flex;\n align-items: center;\n transition: all 250ms ease-in-out;\n -webkit-user-select: none;\n user-select: none;\n}\n.LabeledInput-module_labeled-input__xzE4h label[data-is-shrinked=true] {\n top: -2px;\n left: 10px;\n font-weight: 600;\n font-size: 12px;\n padding: 0px 5px;\n}\n.LabeledInput-module_labeled-input__xzE4h input {\n z-index: 2;\n position: absolute;\n top: calc(50% - 12px);\n height: 24px;\n width: calc(100% - 56px);\n border: none;\n outline: transparent;\n background: transparent;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n color: #959595;\n padding: 0;\n cursor: pointer;\n}\n.LabeledInput-module_labeled-input__xzE4h input:focus {\n outline: transparent;\n cursor: text;\n}\n.LabeledInput-module_labeled-input__xzE4h[data-has-error=true] {\n border-color: #f34d1b;\n}\n.LabeledInput-module_labeled-input__xzE4h[data-has-error=true] label {\n color: #e17959;\n}\n.LabeledInput-module_labeled-input__xzE4h .LabeledInput-module_error-message__5-9lv {\n position: absolute;\n margin: 0;\n top: calc(100% + 5px);\n left: 5px;\n color: #f34d1b;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n padding: 0;\n transition: all 200ms ease-in-out;\n}");var G={"blured-background":"Modal-module_blured-background__Vw4vW","modal-appear":"Modal-module_modal-appear__XBiM-","modal-disappear":"Modal-module_modal-disappear__Ik1hU"};r(".Modal-module_blured-background__Vw4vW {\n position: fixed;\n width: 100vw;\n height: 100vh;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n top: 0;\n left: 0;\n z-index: 1010;\n opacity: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n animation-duration: 450ms;\n animation-fill-mode: forwards;\n}\n.Modal-module_blured-background__Vw4vW[data-is-visible=true] {\n animation-name: Modal-module_modal-appear__XBiM-;\n}\n.Modal-module_blured-background__Vw4vW[data-is-visible=false] {\n animation-name: Modal-module_modal-disappear__Ik1hU;\n}\n\n@keyframes Modal-module_modal-appear__XBiM- {\n 0% {\n opacity: 0;\n -webkit-backdrop-filter: blur(0px);\n backdrop-filter: blur(0px);\n }\n 100% {\n opacity: 1;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n }\n}\n@keyframes Modal-module_modal-disappear__Ik1hU {\n 0% {\n opacity: 1;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n }\n 100% {\n opacity: 0;\n -webkit-backdrop-filter: blur(0px);\n backdrop-filter: blur(0px);\n }\n}");const L=864e5;function R(e,n,t,l){null!==n.current&&(n.current.scrollLeft=(Date.parse(e.toString())-(Date.parse((new Date).toString())-t*L))/L*l)}function B(n,t,l){let a=Date.parse((new Date).toString())-n*L,o=Date.parse((new Date).toString())+t*L,r=[],i=[];for(let n=0;n*L+a<o;n++){let t=new Date(L*n+a),o=t;o.setDate(1),o.setHours(12,0,0,0);let c=E(t,l);i.includes(c)||(i.push(c),r.push(e.createElement("option",{key:w(o),value:w(o)},c)))}return r}var j={multicalendar:"Multicalendar-module_multicalendar__koIJg","div-upper-left-component":"Multicalendar-module_div-upper-left-component__BL2vu",controls:"Multicalendar-module_controls__Ryigr","div-dates-navigation":"Multicalendar-module_div-dates-navigation__N4Dna","div-aditional-controls-components":"Multicalendar-module_div-aditional-controls-components__ElQQF","vertical-axis":"Multicalendar-module_vertical-axis__otLXf","div-list-element-column":"Multicalendar-module_div-list-element-column__MSfNT","horizontal-axis":"Multicalendar-module_horizontal-axis__cn4Nh","div-weeks-buttons":"Multicalendar-module_div-weeks-buttons__37T5W","past-week-button":"Multicalendar-module_past-week-button__X8k5t","next-week-button":"Multicalendar-module_next-week-button__l1DCS","div-dates-row":"Multicalendar-module_div-dates-row__5CKuX","div-main-container":"Multicalendar-module_div-main-container__wMIlM","main-container":"Multicalendar-module_main-container__DZjT2"};r('.Multicalendar-module_multicalendar__koIJg {\n display: grid;\n color: black;\n width: 100%;\n height: 100%;\n grid-template-areas: "fil con" "fil hor" "ver gri";\n text-align: center;\n transition: 0.5s;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_div-upper-left-component__BL2vu {\n grid-area: fil;\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 2;\n background-color: white;\n border-bottom: 1px solid rgb(235, 235, 235);\n border-right: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr {\n grid-area: con;\n height: 100%;\n padding: 2px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap-reverse;\n box-sizing: border-box;\n border-bottom: var(--border-tenues);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr .Multicalendar-module_div-dates-navigation__N4Dna {\n display: flex;\n align-items: center;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr .Multicalendar-module_div-dates-navigation__N4Dna button {\n cursor: pointer;\n margin: 0px;\n position: relative;\n text-align: center;\n text-decoration: none;\n border: 1px solid rgb(216, 216, 216);\n padding: 4px 8px;\n box-sizing: border-box;\n color: black;\n font-size: 14px;\n touch-action: manipulation;\n border-radius: 6px;\n background: rgb(255, 255, 255);\n font-weight: normal;\n height: calc(100% - 16px);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr .Multicalendar-module_div-aditional-controls-components__ElQQF {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n flex-grow: 1;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_div-upper-left-component__BL2vu {\n grid-area: fil;\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 2;\n background-color: white;\n border-bottom: 1px solid rgb(235, 235, 235);\n border-right: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n display: flex;\n flex-flow: column;\n justify-content: flex-end;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_vertical-axis__otLXf {\n grid-area: ver;\n position: relative;\n width: 100%;\n height: 100%;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 16px 5px;\n z-index: 1;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_vertical-axis__otLXf .Multicalendar-module_div-list-element-column__MSfNT {\n height: 100%;\n overflow-y: scroll;\n box-sizing: border-box;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh {\n grid-area: hor;\n position: relative;\n max-width: 100%;\n height: 90px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 74px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t,\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS {\n z-index: 2;\n position: absolute;\n background-color: transparent;\n border: none;\n height: 100%;\n width: 32px;\n font-size: 1em;\n color: var(--primary-color);\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.3s;\n height: 75%;\n background: rgb(255, 255, 255);\n box-shadow: 0px 0px 8px 8px white;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t:hover,\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS:hover {\n background: rgb(247, 247, 247);\n box-shadow: 0px 0px 8px 8px rgb(247, 247, 247);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t:active,\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS:active {\n background: rgb(167, 167, 167);\n box-shadow: 0px 0px 8px 8px rgb(167, 167, 167);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t {\n left: 5px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS {\n right: 5px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-dates-row__5CKuX {\n position: absolute;\n bottom: 0;\n width: 100%;\n overflow-x: scroll;\n border-bottom: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_div-main-container__wMIlM {\n grid-area: gri;\n height: 100%;\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_main-container__DZjT2 {\n position: relative;\n min-width: 100%;\n height: 100%;\n overflow-x: scroll;\n}');var Y="DatesRow-module_dates-row__roAc0",A="DatesRow-module_date-cell__xzHPT",H="DatesRow-module_div-date-cell__M2v60",P="DatesRow-module_month-start__5FSLx";r(".DatesRow-module_dates-row__roAc0 {\n box-sizing: border-box;\n display: flex;\n flex-flow: row;\n overflow-y: hidden;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT {\n position: relative;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60 {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 48px;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60[data-is-today=true] {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 48px;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60[data-is-today=true] div {\n border-radius: 4px;\n background: var(--primary-color, dimgray);\n color: rgb(255, 255, 255);\n font-size: 14px;\n line-height: 18px;\n font-weight: 800;\n width: 40px;\n height: 40px;\n padding: 1px 0;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60 p {\n margin: 0;\n font-size: 14px;\n line-height: 18px;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_month-start__5FSLx {\n position: absolute;\n top: 0;\n height: 100%;\n box-sizing: border-box;\n border-left: 1px solid rgb(235, 235, 235);\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_month-start__5FSLx p {\n margin: 0;\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n white-space: nowrap;\n padding-left: 8px;\n padding-top: 8px;\n}");const J=({visibleDates:n,width:t,height:l,cellsWidth:a,cellsHeight:o,offset:r,language:i})=>{const c={en_EN:{sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December"},es_ES:{sunday:"Domingo",monday:"Lunes",tuesday:"Martes",wednesday:"Miércoles",thursday:"Jueves",friday:"Viernes",saturday:"Sábado",january:"Enero",february:"Febrero",march:"Marzo",april:"Abril",may:"Mayo",june:"Junio",july:"Julio",august:"Agosto",september:"Septiembre",october:"Octubre",november:"Noviembre",december:"Diciembre"}},d=[c[i].sunday.slice(0,2),c[i].monday.slice(0,2),c[i].tuesday.slice(0,2),c[i].wednesday.slice(0,2),c[i].thursday.slice(0,2),c[i].friday.slice(0,2),c[i].saturday.slice(0,2)],s=[c[i].january,c[i].february,c[i].march,c[i].april,c[i].may,c[i].june,c[i].july,c[i].august,c[i].september,c[i].october,c[i].november,c[i].december];return e.createElement("div",{className:Y,style:{width:t,height:l,paddingLeft:r*a}},n.length>0&&n.map((n=>e.createElement("div",{key:n.toString(),className:A,style:{width:a,height:o}},e.createElement("div",{className:H,"data-is-today":n.getDate()===(new Date).getDate()&&n.getMonth()===(new Date).getMonth()&&n.getFullYear()===(new Date).getFullYear()},e.createElement("div",null,e.createElement("p",null,d[n.getDay()]),e.createElement("p",null,n.getDate()))),1===n.getDate()&&e.createElement("div",{className:P},e.createElement("p",null,s[n.getMonth()]," ",n.getFullYear()))))))};var $="ListElementsColumn-module_list-element-column__46wTg";r(".ListElementsColumn-module_list-element-column__46wTg {\n box-sizing: border-box;\n}");var X="ListElement-module_list-element__t9ZwR";r(".ListElement-module_list-element__t9ZwR {\n position: relative;\n border-bottom: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n background-color: white;\n cursor: pointer;\n overflow: hidden;\n}\n.ListElement-module_list-element__t9ZwR:hover {\n background-color: rgb(240, 240, 240);\n}");var Z=e.memo((({listElementId:n,ReactListElementChildren:t,height:l})=>e.createElement("div",{className:X,style:{height:l}},e.createElement(t,{listElementId:n}))));const q=({ReactListElementChildren:n,listHeight:t,yOffset:l,elementsHeight:a,idsArray:o})=>e.createElement("div",{className:$,style:{height:t,paddingTop:l*a}},o.map((t=>e.createElement(Z,{key:t,height:a,listElementId:t,ReactListElementChildren:n}))));var V="DatesGrid-module_dates-grid__GvBcr",U="DatesGrid-module_div-cells-row-height__eRcXw";r(".DatesGrid-module_dates-grid__GvBcr {\n box-sizing: border-box;\n}\n.DatesGrid-module_dates-grid__GvBcr .DatesGrid-module_div-cells-row-height__eRcXw {\n box-sizing: border-box;\n}");var Q="CellsRow-module_cells-row__TJvv8";r(".CellsRow-module_cells-row__TJvv8 {\n display: flex;\n flex-flow: row;\n}");var K="Cell-module_cell__FNVcp";r(".Cell-module_cell__FNVcp {\n position: relative;\n border: 1px solid rgb(200, 200, 200);\n border-radius: 6px;\n}");var ee=e.memo((({date:n,listElementId:t,width:l,heigth:a,ReactCellChildren:o})=>e.createElement("div",{className:K,style:{width:l,height:a}},e.createElement(o,{date:n,listElementId:t}))));const ne=({listElementId:n,visibleDatesArray:t,width:l,height:a,cellsWidth:o,cellsHeight:r,ReactCellChildren:i})=>e.createElement("div",{className:Q,style:{width:l,height:a}},t.length>0&&t.map((t=>e.createElement(ee,{key:n+t.toString(),date:w(t),listElementId:n,width:o,heigth:r,ReactCellChildren:i})))),te=({gridWidth:n,gridHeight:t,xOffset:l,yOffset:a,cellsWidth:o,cellsHeight:r,visibleListElementsIdsArray:i,visibleDates:c,ReactCellChildren:d})=>{const s=n-c.length*o,u=l*o>s?s:l*o;return e.createElement("div",{className:V,style:{width:n}},e.createElement("div",{className:U,style:{height:t,paddingTop:a*r,paddingLeft:u}},i.map((n=>e.createElement(ne,{key:n,listElementId:n,visibleDatesArray:c,width:c.length*o,height:r,cellsWidth:o,cellsHeight:r,ReactCellChildren:d})))))};var le="DropdownMonthNavigation-module_dropdown-month-navigation__M-YCF";r(".DropdownMonthNavigation-module_dropdown-month-navigation__M-YCF {\n position: relative;\n display: flex;\n width: 200px;\n margin: 0px 10px;\n border: 1px solid rgb(216, 216, 216);\n color: black;\n background-color: white;\n border-radius: 6px;\n white-space: nowrap;\n font-size: 14px;\n line-height: 18px;\n height: 28px;\n}");const ae=({visibleMonth:n,visibleYear:t,onChangeAction:l,options:a})=>e.createElement("select",{title:"Select a month",className:le,value:w(new Date(t,n,1,12,0,0,0)),onChange:e=>l(e.target.value)},a);function oe(){const[n,t]=e.useState([0,0]);return e.useLayoutEffect((()=>{function e(){t([window.innerWidth,window.innerHeight])}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),n}const re=e=>sessionStorage.getItem(`MulticalendarScrollTopPosition-${e}`),ie=e=>sessionStorage.getItem(`MulticalendarScrollLeftPosition-${e}`),ce={en_EN:{Today:"Today"},es_ES:{Today:"Hoy"}};var de="ScreenSteps-module_screen-steps__AX-nZ",se="ScreenSteps-module_steps__AuZhk",ue="ScreenSteps-module_step__2kFuY",_e="ScreenSteps-module_outer-text__akI1y",me="ScreenSteps-module_frame__3J2mc",pe="ScreenSteps-module_steps-content__-Yj-E",be="ScreenSteps-module_step-component__Lu3G5";function ge(n){const[t,l]=e.useState(0),[a,o]=e.useState(0),r=e.useRef(new ResizeObserver((e=>{const{width:n,height:t}=e[0].contentRect;l(n),o(t)})));return e.useEffect((()=>{null!==n.current&&r.current.observe(n.current);const e=r.current,t=n.current;return()=>{null!==t&&e.unobserve(t)}}),[n,r]),[t,a]}r(".ScreenSteps-module_screen-steps__AX-nZ {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk .ScreenSteps-module_step__2kFuY {\n width: 62px;\n height: 62px;\n border-radius: 31px;\n background-color: hsla(0, 0%, 58%, 0.2);\n display: flex;\n align-items: center;\n justify-content: center;\n color: rgba(65, 65, 65, 0.4);\n text-align: center;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 15px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n cursor: pointer;\n transition: all 300ms ease-in-out;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk .ScreenSteps-module_step__2kFuY[data-is-complete=true] {\n background-color: rgba(112, 90, 0, 0.4);\n color: rgba(65, 65, 65, 0.4);\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk .ScreenSteps-module_step__2kFuY[data-is-current=true] {\n background-color: rgba(112, 90, 0, 0.6);\n color: rgb(65, 65, 65);\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_outer-text__akI1y {\n color: #787878;\n text-align: center;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n margin: 0;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc {\n width: 100%;\n overflow: hidden;\n transition: height 300ms ease-in-out;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc .ScreenSteps-module_steps-content__-Yj-E {\n display: flex;\n justify-content: flex-start;\n transition: all 300ms ease-in-out;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc .ScreenSteps-module_step-component__Lu3G5 {\n max-height: 0px;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc .ScreenSteps-module_step-component__Lu3G5[data-is-current=true] {\n max-height: max-content;\n}");var he="ScrollSnapGallery-module_scroll-snap-gallery__CR-GS",fe="ScrollSnapGallery-module_frame__267TC",Se="ScrollSnapGallery-module_arrow-controls__yw2Zl",ye="ScrollSnapGallery-module_arrow__1ueyq",xe="ScrollSnapGallery-module_position-indicator__3Y7Mh",ve="ScrollSnapGallery-module_indicator-icon__YrYF2",we="ScrollSnapGallery-module_current__ckZrA",Ce="ScrollSnapGallery-module_medium-shrunken__DuED2",ke="ScrollSnapGallery-module_full-shrunken__VSbF7",Ee="ScrollSnapGallery-module_hidden__c0w-O";r(".ScrollSnapGallery-module_scroll-snap-gallery__CR-GS {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_frame__267TC {\n display: flex;\n align-items: center;\n scroll-snap-type: x mandatory;\n scroll-snap-stop: always;\n scroll-behavior: smooth;\n overflow-x: auto;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: none;\n scrollbar-width: none;\n -webkit-user-select: none;\n user-select: none;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_frame__267TC::-webkit-scrollbar {\n display: none;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_frame__267TC img {\n scroll-snap-align: center;\n min-width: 100%;\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 10px;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_arrow__1ueyq {\n width: 24px;\n height: 24px;\n fill: #959595;\n transition: all 100ms ease-in-out;\n z-index: 2;\n cursor: pointer;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_arrow__1ueyq:active {\n fill: #0d280b;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh {\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all 0.3s ease-in-out;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2 {\n fill: #959595;\n transition: all 0.3s ease-in-out;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_current__ckZrA {\n fill: #0d280b;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_medium-shrunken__DuED2 {\n transform: scale(0.75);\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_full-shrunken__VSbF7 {\n transform: scale(0.5);\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_hidden__c0w-O {\n transform: scale(0);\n}");var Me="StackedCards-module_stacked-cards__8IiBF",De="StackedCards-module_card__4cF-v",Ne="StackedCards-module_title__GYDch",ze="StackedCards-module_content__6WDlF";r(".StackedCards-module_stacked-cards__8IiBF {\n position: relative;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v {\n position: absolute;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 80%;\n height: 80%;\n background-color: #fff;\n border-radius: 10px;\n border: 2px solid #e2e2e2;\n transition: all 0.4s ease-out;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v .StackedCards-module_title__GYDch {\n width: 100%;\n overflow: hidden;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v .StackedCards-module_content__6WDlF {\n flex-grow: 1;\n width: 100%;\n overflow: auto;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v .StackedCards-module_content__6WDlF::-webkit-scrollbar {\n display: none;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v[data-is-selectable=true] {\n cursor: pointer;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v[data-is-selectable=true][data-should-card-rise=true]:hover {\n transform: translateY(-20px);\n}");const Ie=360;exports.BubbleMenu=({options:l,language:a="en"})=>{const[o,r]=e.useState(null);return e.createElement(e.Fragment,null,e.createElement("button",{type:"button",title:"menu",className:c,onClick:()=>r(!o)},o?e.createElement(n.BsX,null):e.createElement(t.IoMenu,null),e.createElement("p",null,o?d[a].close:d[a].menu)),e.createElement("section",{className:i,"data-status":!0===o?"visible":!1===o?"hidden":"idle",onClick:()=>r(!1)},e.createElement("ul",null,l.filter((e=>e.visible)).map(((n,t)=>e.createElement("li",{key:n.text,style:{transitionDelay:100*t+"ms"}},e.createElement("button",{onClick:()=>setTimeout(n.optionCallback,300+100*l.length)},n.icon,n.text)))))))},exports.CalendarDatePicker=({mode:n,onSelectedDatesChange:t=(()=>{}),language:l="en",customDates:a=[],minimumDate:o=new Date(1970,0,1),maximumDate:r=new Date((new Date).getFullYear()+100,1,1),customStyle:i})=>{const[c,d]=e.useState([]),[b,g]=e.useState((new Date).getFullYear()),[h,f]=e.useState((new Date).getMonth()),[S,x]=e.useState(Math.random()),v=e=>{const n=new Date(o.getFullYear(),o.getMonth(),1),t=new Date(r.getFullYear(),r.getMonth()+1,0),l=e.valueOf()>=n.valueOf(),a=e.valueOf()<=t.valueOf();return l&&a};return e.createElement("div",{className:s,style:i},e.createElement("button",{className:u,onClick:()=>{const e=new Date;v(e)&&(f(e.getMonth()),g(e.getFullYear()),x(Math.random()))}},z[l].today.slice(0,1).toUpperCase()+z[l].today.slice(1)),e.createElement("section",{className:_},e.createElement("select",{style:{fontFamily:null==i?void 0:i.fontFamily},className:m,value:h,onChange:e=>{const n=Number(e.target.value);f(n),x(Math.random())}},Array(12).fill(0).map(((n,t)=>{const a=new Date(b,t,1),o=!v(a);return e.createElement("option",{key:I(t,l),value:t,disabled:o},I(t,l))}))),e.createElement(y,{inputType:"number",divWrapperCustomStyle:{width:"4ch",border:"none",backgroundColor:"transparent",fontFamily:null==i?void 0:i.fontFamily},inputBoxCustomStyle:{padding:0,fontFamily:null==i?void 0:i.fontFamily,fontSize:24},maxLength:4,defaultValue:b.toString(),overrideCurrentValue:b.toString(),minimumValue:o.getFullYear().toString(),maximumValue:r.getFullYear().toString(),onConfirmAction:e=>{let n=Number(e);const t=new Date(n,h,1);v(t)?(g(n),x(Math.random())):t.valueOf()<o.valueOf()?(g(o.getFullYear()),f(o.getMonth()),x(Math.random())):t.valueOf()>r.valueOf()&&(g(r.getFullYear()),f(r.getMonth()),x(Math.random()))}})),e.createElement("section",{className:p},e.createElement("p",null,z[l].monday.slice(0,1).toUpperCase()),e.createElement("p",null,z[l].tuesday.slice(0,1).toUpperCase()),e.createElement("p",null,z[l].wednesday.slice(0,1).toUpperCase()),e.createElement("p",null,z[l].thursday.slice(0,1).toUpperCase()),e.createElement("p",null,z[l].friday.slice(0,1).toUpperCase()),e.createElement("p",null,z[l].saturday.slice(0,1).toUpperCase()),e.createElement("p",null,z[l].sunday.slice(0,1).toUpperCase())),e.createElement(N,{key:S,dates:c,year:b,month:h,mode:n,onSelectedDatesChange:e=>{t(e),d(e)},onFocusedMonth:(e,n)=>{f(e),g(n)},customDates:a,minimumDate:o,maximumDate:r}))},exports.InputBoxWithConfirmation=y,exports.IntegerControl=({onChange:n=(()=>{}),defaultValue:t=0,minimumValue:a,maximumValue:o,customStyle:r})=>{const[i,c]=e.useState(t),d=e=>{let t=e;(a||0===a)&&e<a?t=a:(o||0===o)&&e>o&&(t=o),c(t),n(t)};return e.createElement("div",{className:`${W} ${i===t?F:""}`,style:r},e.createElement("button",{onClick:()=>d(i-1)},e.createElement(l.AiFillMinusCircle,null)),e.createElement("input",{onChange:e=>d(Number(e.target.value)),value:i,type:"number",min:String(a),max:String(o),style:{width:i.toString().length+1+"ch"}}),e.createElement("button",{onClick:()=>d(i+1)},e.createElement(l.AiFillPlusCircle,null)))},exports.LabeledInput=({label:n,defaultValue:t,onChange:l=(()=>{}),width:a="328px",height:o="66px",backgroundColor:r="white",textAlign:i="left",highlightError:c=!1,errorMessage:d,inputProps:s,specialType:u})=>{const _=e.useRef(null),[m,p]=e.useState(!1);return e.useEffect((()=>{t&&p(!0)}),[t]),e.createElement("div",{className:T,"data-has-error":c,onClick:()=>{_.current&&_.current.focus()},style:{width:a,height:o,backgroundColor:r}},e.createElement("label",{"data-is-shrinked":m,style:{backgroundColor:r}},n),e.createElement("input",Object.assign({ref:_},s,{onFocus:()=>p(!0),onBlur:e=>{e.target.value||p(!1)},defaultValue:t,onChange:e=>{let n=e.target.value;switch(u){case"credit-card-number":n=(e=>{var n;const t=e.replace(/\D/g,"").slice(0,16);let l=t.match(/.{1,4}/g);return 15===t.length&&(l=[t.slice(0,5),t.slice(5,11),t.slice(11,16)]),null!==(n=null==l?void 0:l.join(" "))&&void 0!==n?n:""})(n);break;case"expiration-date":n=(e=>{var n;const t=e.replace(/\D/g,"").slice(0,4).match(/.{1,2}/g);return null!==(n=null==t?void 0:t.join(" / "))&&void 0!==n?n:""})(n);break;case"cvv":n=(e=>e.replace(/\D/g,"").slice(0,4))(n);break;case"phone":n=(e=>(e.startsWith("+")?"+":"")+e.replace(/\D/g,"").slice(0,15))(n)}e.target.value=n,l(n)},style:{textAlign:i}})),c&&d&&e.createElement("p",{className:O},d))},exports.Modal=({children:n,overrideOpenState:t=!1,forced:l=!1,onOpen:o,onClose:r})=>{const[i,c]=e.useState(t),[d,s]=e.useState(t);return e.useEffect((()=>{t?(c(!0),o&&o()):t||(c(!1),r&&r())}),[t,o,r]),e.useEffect((()=>{i?s(!0):i||setTimeout((()=>{s(!1)}),500)}),[i]),d?a.createPortal(e.createElement("div",{className:G["blured-background"],"data-is-visible":i,onClick:()=>{l||(c(!1),r&&r())}},e.createElement("div",null,e.createElement("div",{className:G.modal,"data-closed":!t,onClick:e=>{e.stopPropagation()}},n))),document.getElementById("root")||document.body):e.createElement(e.Fragment,null)},exports.Multicalendar=({multicalendarId:t,ReactCellChildren:l,ReactListElementChildren:a,listElementsIdsArray:o,language:r="en_EN",pastDatesVisible:i=!0,cellsWidth:c=120,cellsHeight:d=80,verticalAxisWidth:s=280,pastDaysInitialQuantity:u=365,futureDaysInitialQuantity:_=365,chunkRenderX:m=0,chunkRenderY:p=0,dynamicDaysQuantity:b=!1,authomaticScrollOnDraggingOverEdges:g=!1,waitTimeForCalls:h=500,callsOnInitialView:f,callsOnScrollingStops:S,aditionalControlsComponents:y,upperLeftComponent:x,autoSavePosition:v,onScrollTopChanges:w,onScrollLeftChanges:C})=>{var k,E;const M=1+m,D=e.useRef(null),N=e.useRef(null),z=e.useRef(null),I=e.useRef(null),W=e.useRef(null),[F,T]=e.useState(!1),[O,G]=oe(),[Y,A]=e.useState(Math.ceil(_)),[H,P]=e.useState(i?Math.ceil(u):0),[$,X]=e.useState(0),[Z,V]=e.useState(0),[U,Q]=e.useState(1),[K,ee]=e.useState(0),[ne,le]=e.useState([]),[de,se]=e.useState([]),[ue,_e]=e.useState(!1),[me,pe]=e.useState({x:ie(t)?Number(ie(t)):i?Math.ceil(u)*c:0,y:re(t)?Number(re(t)):0}),[be,ge]=e.useState(me.x),[he,fe]=e.useState(me.y),[Se,ye]=e.useState({x:me.x,y:me.y}),[xe,ve]=e.useState(!1),[we,Ce]=e.useState(new Date),[ke,Ee]=e.useState(void 0),[Me,De]=e.useState(void 0),[Ne,ze]=e.useState(void 0),[Ie,We]=e.useState(!1),[Fe,Te]=e.useState((null===(k=I.current)||void 0===k?void 0:k.clientHeight)?I.current.clientHeight:0),[Oe,Ge]=e.useState((null===(E=W.current)||void 0===E?void 0:E.clientHeight)?W.current.clientHeight:0),[Le,Re]=e.useState(!1);return e.useEffect((()=>{pe({x:i?Math.ceil(u)*c:0,y:0})}),[i,u,c]),e.useEffect((()=>{z.current&&!1===xe&&(z.current.scrollTop=me.y,z.current.scrollLeft=me.x,ve(!0))}),[me.y,me.x,xe]),e.useEffect((()=>(C&&C(be),w&&w(he),()=>{v&&(he!==me.y&&((e,n)=>{sessionStorage.setItem(`MulticalendarScrollTopPosition-${e}`,n)})(t,String(he)),be!==me.x&&((e,n)=>{sessionStorage.setItem(`MulticalendarScrollLeftPosition-${e}`,n)})(t,String(be)))})),[v,he,be,me.y,me.x]),e.useEffect((()=>{P(i?Math.ceil(u):0)}),[i,u]),e.useEffect((()=>{!F&&de.length>0&&ne.length>0&&f&&(T(!0),f(de,ne))}),[F,de,ne,f]),e.useEffect((()=>{var e,n;const t=(null===(e=I.current)||void 0===e?void 0:e.clientHeight)?I.current.clientHeight:0,l=(null===(n=W.current)||void 0===n?void 0:n.clientHeight)?W.current.clientHeight:0;Te(t),Ge(l),_e(!0),X(Math.ceil((O-s)/c)+1),V(Math.ceil((G-t-l)/d)+1),null!==z.current&&(ge(z.current.scrollLeft),ye({x:z.current.scrollLeft,y:z.current.scrollTop}),Q(Math.floor(z.current.scrollLeft/c)-m))}),[O,G,s,d,c,m]),e.useEffect((()=>{if(Se.x===me.x&&Se.y===me.y||Math.abs(Se.y-he)/d>p||ue){Se.x===me.x&&Se.y===me.y||null!==z.current&&ye({x:z.current.scrollLeft,y:z.current.scrollTop});let e=function(e,n,t){let l=Math.floor(e/n)-t;return l<0&&(l=0),l}(he,d,p);ee(e),se(function(e,n,t,l){let a=[];for(let o=0;o<e+2*n;o++)l[o+t]&&o+t>=0&&(a[o]=l[o+t]);return a}(Z,p,e,o)),ue&&_e(!1)}}),[ue,he,d,p,me.x,me.y,Z,Se.x,Se.y,o]),e.useEffect((()=>{if(Se.x===me.x&&Se.y===me.y||be<c||Math.abs(Se.x-be)/c>m||ue){le([]),Se.x===me.x&&Se.y===me.y||null!==z.current&&ye({x:z.current.scrollLeft,y:z.current.scrollTop}),Q(function(e,n,t){return Math.floor(e/n)-t}(be,c,m));const e=function(e,n,t,l){let a=new Date(Date.parse((new Date).toString())+L*(Math.floor(e/n)-t-l));return a.setHours(12,0,0,0),Date.parse(a.toString())}(be,c,H,M);Ce(function(e,n){return new Date(e+n*L)}(e,M)),ue&&_e(!1),le(function(e,n,t){let l=[];for(let a=0;a<e+2*n;a++)l[a]=new Date(t+L*(a+1));return l}($,m,e))}}),[ue,$,be,m,c,M,H,Se.x,Se.y,me.x,me.y]),e.useEffect((()=>{We(!0),clearTimeout(ke),Ee(void 0)}),[be,he]),e.useEffect((()=>{if(void 0===ke){let e=setTimeout((()=>We(!1)),h);Ee(e)}}),[be,he,ke,h]),e.useEffect((()=>{!Ie&&S&&S(de,ne)}),[Ie,de,ne]),e.useEffect((()=>{g||(void 0!==Me&&De(void 0),void 0!==Ne&&ze(void 0))}),[g,Me,Ne]),e.useEffect((()=>(document.body.addEventListener("mousedown",(()=>{Re(!0)})),document.body.addEventListener("mouseup",(()=>{Re(!1)})),()=>{document.body.removeEventListener("mousedown",(()=>{Re(!0)})),document.body.removeEventListener("mouseup",(()=>{Re(!1)}))})),[g]),e.createElement("div",{key:t,id:t,"data-testid":t,className:j.multicalendar,style:{gridTemplateColumns:`${s}px`,gridTemplateRows:`auto auto calc(100% - ${Fe+Oe}px`}},e.createElement("div",{ref:I,className:j.controls},e.createElement("div",{className:j["div-dates-navigation"]},e.createElement(ae,{visibleYear:we.getFullYear(),visibleMonth:we.getMonth(),onChangeAction:e=>{R(new Date(Number(Date.parse(function(e){if(!/^\d{4}-\d{2}-\d{2}$/.test(e))throw new Error("Invalid SQL date format");let n=e.split("-");return new Date(Number(n[0]),Number(n[1])-1,Number(n[2]))}(e).toString()))),z,H,c)},options:B(H,Y,r)}),e.createElement("button",{type:"button",className:j["today-button"],onClick:()=>R(new Date,z,H,c)},ce[r].Today)),y&&e.createElement("div",{className:j["div-aditional-controls-components"]},y)),e.createElement("div",{className:j["div-upper-left-component"]},x),e.createElement("div",{className:j["vertical-axis"]},e.createElement("div",{ref:N,className:j["div-list-element-column"],onScroll:e=>{null!==z.current&&(z.current.scrollTop=e.target.scrollTop)}},e.createElement(q,{listHeight:d*o.length,yOffset:K,elementsHeight:d,idsArray:de,ReactListElementChildren:a}))),e.createElement("div",{ref:W,className:j["horizontal-axis"]},e.createElement("div",{className:j["div-weeks-buttons"]},e.createElement("button",{type:"button",title:"Past Week",className:j["past-week-button"],onClick:()=>{null!==D.current&&D.current.scroll({left:D.current.scrollLeft-7*c})}},e.createElement(n.BsChevronLeft,null)),e.createElement("button",{type:"button",title:"Next Week",onClick:()=>{null!==D.current&&D.current.scroll({left:D.current.scrollLeft+7*c})},className:j["next-week-button"]},e.createElement(n.BsChevronRight,null))),e.createElement("div",{ref:D,className:j["div-dates-row"],onScroll:e=>{null!==z.current&&(z.current.scrollLeft=e.target.scrollLeft)}},e.createElement(J,{visibleDates:ne,width:(H+Y)*c,height:74,cellsWidth:c,cellsHeight:74,offset:U,language:r}))),e.createElement("div",{className:j["div-main-container"]},e.createElement("div",{ref:z,className:j["main-container"],onScroll:e=>{if(null!==D.current){const n=e.target.scrollLeft;D.current.scrollLeft=n,ge(n)}if(null!==N.current){const n=e.target.scrollTop;N.current.scrollTop=n,fe(n)}var n,t,l,a,o,r;b&&e.target.scrollLeft+e.target.offsetWidth>(H+Y)*c-c&&A(Y+1),i&&b&&e.target.scrollLeft<c&&(P(H+1),e.target.scrollLeft=3*c),n=Le,t=Me,l=Ne,a=.8*c,o=.8*d,r=e.target,n&&(t&&(t<a&&(r.scrollLeft-=a-t),t>r.offsetWidth-a&&(r.scrollLeft+=t+a-r.offsetWidth)),l&&(l<o&&(r.scrollTop-=o-l),l>r.offsetHeight-o&&(r.scrollTop+=l+o-r.offsetHeight)))},onMouseMove:e=>{if(null!==z.current&&Le){let r=e.clientX-z.current.getBoundingClientRect().left,i=e.clientY-z.current.getBoundingClientRect().top;De(r),ze(i),n=r,t=i,l=.8*c,a=.8*d,o=z,Le&&null!==o.current&&(n<l&&(o.current.scrollLeft-=10),n>o.current.offsetWidth-l&&(o.current.scrollLeft+=10),t<a&&(o.current.scrollTop-=10),t>o.current.offsetHeight-a&&(o.current.scrollTop+=10))}var n,t,l,a,o}},e.createElement(te,{gridWidth:(H+Y)*c,gridHeight:d*o.length,xOffset:U,yOffset:K,cellsWidth:c,cellsHeight:d,visibleListElementsIdsArray:de,visibleDates:ne,ReactCellChildren:l}))))},exports.ScreenSteps=({steps:n,defaultStep:t=0,onStepChange:l=(()=>{}),canNavigate:a,overrideStep:o})=>{const r=e.useRef(null),[i,c]=e.useState(t),[d,s]=ge(r);e.useEffect((()=>{void 0!==o&&o<n.length&&o>=0&&o!==i&&c(o)}),[o]);return e.createElement("section",{className:de},e.createElement("nav",{className:se},n.map(((n,t)=>e.createElement("div",{key:n.innerText,className:ue,"data-is-completed":t<i,"data-is-current":t===i,"data-can-navigate":a,onClick:()=>{a&&(c(t),l(t))}},n.innerText)))),e.createElement("p",{className:_e},n[i].outterText),e.createElement("div",{className:me,style:{height:s||"100%"}},e.createElement("div",{ref:r,className:pe,style:(()=>{const e=100/n.length;return{width:100*n.length+"%",transform:`translateX(-${e*i}%)`}})()},n.map(((t,l)=>e.createElement("div",{key:t.innerText,className:be,"data-is-current":l===i,style:{width:100/n.length+"%"}},t.component))))))},exports.ScrollSnapGallery=({urls:t=[],alts:l,width:a="400px",height:r="300px",IndicatorIcon:i=o.GoDotFill,positionIndicatorSize:c=Math.min(t.length,6),iconSize:d=16,showArrows:s=!1,frameStyle:u={},onSlideChange:_=(()=>{}),autoChange:m=!1})=>{const p=e.useRef(null),[b,g]=e.useState(0),[h,f]=e.useState(0),[S,y]=e.useState(c-1),[x,v]=e.useState(0),[w,C]=e.useState(0),k=e=>{let n=ve;b===e&&(n+=` ${we}`);const l=0!==h&&e===h,a=S!==t.length-1&&e===S;(l||a)&&(n+=` ${ke}`);const o=0!==h&&e===h+1,r=S!==t.length-1&&e===S-1;return(o||r)&&(n+=` ${Ce}`),(e<h||e>S)&&(n+=` ${Ee}`),n};return e.useEffect((()=>{v(h*d)}),[h]),e.useEffect((()=>{_(b)}),[b]),e.useEffect((()=>{if(m){const e=setInterval((()=>{C((e=>e+1))}),3e3);return()=>clearInterval(e)}}),[m]),e.useEffect((()=>{if(m){const e=p.current;e&&e.scrollLeft===e.scrollWidth-e.clientWidth?e.scrollLeft=0:e&&(e.scrollLeft+=e.clientWidth)}}),[m,w]),e.createElement("section",{className:he},e.createElement("div",{ref:p,className:fe,style:Object.assign(Object.assign({},u),{width:a,height:r}),onScroll:e=>{const{scrollLeft:n,clientWidth:l}=e.target,a=l,o=Math.round(n/a);if(g(o),o<=h){const e=Math.max(o-1,0),n=e+c-1;f(e),y(n)}else if(o>=S){const e=Math.min(o+1,t.length-1),n=e-c+1;y(e),f(n)}}},t.map(((n,t)=>e.createElement("img",{key:n+t,src:n,alt:l?l[t]:"gallery picture"})))),e.createElement("div",{className:Se},s&&e.createElement(n.BsArrowLeftCircle,{className:ye,onClick:()=>{const e=p.current;e&&(e.scrollLeft-=e.clientWidth)}}),e.createElement("div",{className:xe,style:{transform:`translateX(calc(50% - ${x}px - ${d*c/2}px))`}},t.map(((n,t)=>e.createElement(i,{key:n+t,className:k(t),style:{width:d,height:d}})))),s&&e.createElement(n.BsArrowRightCircle,{className:ye,onClick:()=>{const e=p.current;e&&(e.scrollLeft+=e.clientWidth)}})))},exports.StackedCards=({cards:n,initialCard:t,onCardChangeByUser:l,overrideSelectedCard:a,stackingOrientation:o=60,cardWidth:r=300,cardHeight:i=350})=>{const[c,d]=e.useState(t),s=o>0?o%Ie:Ie+o%Ie,u=Math.PI/180*o,_=e=>({horizontalOffset:80*Math.cos(u)/n.length*e,verticalOffset:80*Math.sin(u)/n.length*e}),m=e=>{const t={};let l=0,a=0,o=0;const r=_(e<c?e+1:e);e===c?o=n.length+1:(l=r.horizontalOffset,a=r.verticalOffset,o=n.length-e),t.zIndex=o;const i=e=>{t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.top=e.top},d=s>90&&s<=180,u=s>180&&s<=270,m=s>270&&s<=Ie;return s>=0&&s<=90?i({right:`${l}px`,bottom:`${a}px`,left:"",top:""}):d?i({right:"",bottom:`${a}px`,left:-l+"px",top:""}):u?i({right:"",bottom:"",left:-l+"px",top:-a+"px"}):m&&i({right:`${l}px`,bottom:"",left:"",top:-a+"px"}),t};return e.useEffect((()=>{void 0!==a&&a>=0&&a<n.length&&d(a)}),[a]),e.createElement("div",{className:Me,style:(()=>{const e=_(n.length-1).horizontalOffset+4,t=_(n.length-1).verticalOffset+4;return{width:r+Math.abs(e),height:i+Math.abs(t)}})()},n.map(((n,t)=>e.createElement("div",{className:De,key:t,"data-is-selectable":t!==c,"data-should-card-rise":s>=0&&s<=180,style:Object.assign({height:i,width:r},m(t)),onClick:()=>{c!==t&&(d(t),l&&l(t))}},e.createElement("div",{className:Ne},n.title),e.createElement("div",{className:ze},n.content)))))},exports.useIntersectionObserver=function(n,t){const[l,a]=e.useState(!1),o=e.useRef(null);return e.useEffect((()=>(o.current&&o.current.disconnect(),o.current=new IntersectionObserver((([e])=>{a(e.isIntersecting)}),t),n.current&&o.current.observe(n.current),()=>{o.current&&o.current.disconnect()})),[n,t]),l},exports.useOutsideClick=S,exports.useResizeObserver=ge,exports.useWindowsSize=oe;
|
package/dist/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e,{useState as n,Fragment as l,useEffect as t,useRef as a,useReducer as o,useLayoutEffect as r}from"react";import{BsX as i,BsCheckLg as d,BsPencil as c,BsChevronLeft as s,BsChevronRight as u,BsArrowLeftCircle as _,BsArrowRightCircle as m}from"react-icons/bs";import{IoMenu as p}from"react-icons/io5";import{AiFillMinusCircle as b,AiFillPlusCircle as g}from"react-icons/ai";import h from"react-dom";import{GoDotFill as f}from"react-icons/go";function y(e,n){void 0===n&&(n={});var l=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===l&&t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}var S="BubbleMenu-module_menu-container__xrNNC",v="BubbleMenu-module_menu-button__I5R0w";y(".BubbleMenu-module_menu-container__xrNNC {\n position: fixed;\n z-index: -1;\n top: 0px;\n padding-top: 80px;\n box-sizing: border-box;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=visible] {\n z-index: 100;\n width: 100vw;\n height: 100vh;\n animation: BubbleMenu-module_show-background__Qz4-v 300ms ease-in-out forwards;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=visible] ul li {\n opacity: 1;\n transform: translateX(5px);\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=hidden] {\n animation: BubbleMenu-module_hide-background__ESkim 300ms ease-in-out forwards;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=hidden] ul li {\n opacity: 0;\n transform: translateX(-110px);\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=idle] {\n width: 0vw;\n height: 0vh;\n background-color: transparent;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=idle] ul li {\n opacity: 0;\n transform: translateX(-110px);\n}\n.BubbleMenu-module_menu-container__xrNNC ul {\n list-style: none;\n padding-inline-start: 0px;\n margin: 0;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li {\n width: -moz-fit-content;\n width: fit-content;\n transition: all 300ms ease-in-out;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li button {\n border-width: 3px;\n border-style: solid;\n border-color: #959595;\n box-shadow: 3px 3px 4px 1px rgba(90, 90, 90, 0.3);\n color: #959595;\n background-color: rgba(255, 255, 255, 0.9);\n -webkit-tap-highlight-color: transparent;\n -webkit-user-select: none;\n user-select: none;\n cursor: pointer;\n transition: all 100ms ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100px;\n height: 100px;\n margin: 15px 0px;\n border-radius: 50px;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li button svg {\n min-width: 40px;\n min-height: 40px;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li button:active {\n transform: translate(1px, 1px);\n box-shadow: 1px 1px 2px rgba(90, 90, 90, 0.3);\n}\n\n.BubbleMenu-module_menu-button__I5R0w {\n position: fixed;\n z-index: 101;\n top: 30px;\n left: 10px;\n width: 50px;\n height: 50px;\n background-color: rgba(255, 255, 255, 0.7);\n border-radius: 25px;\n border-width: 3px;\n border-style: solid;\n border-color: #959595;\n box-shadow: 3px 3px 4px 1px rgba(90, 90, 90, 0.3);\n color: #959595;\n background-color: rgba(255, 255, 255, 0.9);\n -webkit-tap-highlight-color: transparent;\n -webkit-user-select: none;\n user-select: none;\n cursor: pointer;\n transition: all 100ms ease-in-out;\n}\n.BubbleMenu-module_menu-button__I5R0w svg {\n position: absolute;\n top: 2px;\n left: 0;\n width: 100%;\n height: 34px;\n color: #0d280b;\n}\n.BubbleMenu-module_menu-button__I5R0w svg path {\n transition: all 0.3s ease-in-out;\n}\n.BubbleMenu-module_menu-button__I5R0w p {\n position: absolute;\n top: 30px;\n left: 0;\n width: 100%;\n margin: 0;\n text-align: center;\n color: #0d280b;\n font-size: 10px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n}\n.BubbleMenu-module_menu-button__I5R0w:active {\n transform: translate(1px, 1px);\n box-shadow: 1px 1px 2px rgba(90, 90, 90, 0.3);\n}\n\n@keyframes BubbleMenu-module_show-background__Qz4-v {\n 0% {\n background-color: transparent;\n min-width: 0vw;\n }\n 1% {\n background-color: transparent;\n min-width: 100vw;\n }\n 100% {\n background-color: rgba(0, 0, 0, 0.3);\n min-width: 100vw;\n }\n}\n@keyframes BubbleMenu-module_hide-background__ESkim {\n 0% {\n background-color: rgba(0, 0, 0, 0.3);\n min-width: 100vw;\n }\n 99% {\n background-color: transparent;\n min-width: 100vw;\n }\n 100% {\n background-color: transparent;\n min-width: 0vw;\n }\n}");const x={en:{menu:"menu",close:"close"},es:{menu:"menú",close:"cerrar"}},w=({options:t,language:a="en"})=>{const[o,r]=n(null);return e.createElement(l,null,e.createElement("button",{type:"button",title:"menu",className:v,onClick:()=>r(!o)},o?e.createElement(i,null):e.createElement(p,null),e.createElement("p",null,o?x[a].close:x[a].menu)),e.createElement("section",{className:S,"data-status":!0===o?"visible":!1===o?"hidden":"idle",onClick:()=>r(!1)},e.createElement("ul",null,t.filter((e=>e.visible)).map(((n,l)=>e.createElement("li",{key:n.text,style:{transitionDelay:100*l+"ms"}},e.createElement("button",{onClick:()=>setTimeout(n.optionCallback,300+100*t.length)},n.icon,n.text)))))))};var C="CalendarDatePicker-module_calendar-date-picker__-G7aY",k="CalendarDatePicker-module_today-button__YgI7t",M="CalendarDatePicker-module_month-and-year__LHJ8I",E="CalendarDatePicker-module_month-input__sFUHA",D="CalendarDatePicker-module_week-days__j2XJ-";y('@property --angle {\n sintax: "<angle>";\n inherits: false;\n initial-value: 270deg;\n}\n@property --color-default {\n sintax: "<color>";\n inherits: false;\n initial-value: white;\n}\n@property --color-selected {\n sintax: "<color>";\n inherits: false;\n initial-value: #e3f3e3;\n}\n@property --percentage-default {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --percentage-selected {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 0%;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY {\n position: relative;\n font-family: Arial, Helvetica, sans-serif;\n width: 390px;\n color: #959595;\n font-weight: 600;\n font-style: normal;\n line-height: normal;\n -webkit-tap-highlight-color: transparent;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_today-button__YgI7t {\n position: absolute;\n top: 0px;\n right: 5px;\n border: solid 2px #787878;\n border-radius: 6px;\n padding: 4px 8px;\n font-size: 18px;\n background-color: white;\n color: #787878;\n transition: all 0.1s ease-in-out;\n cursor: pointer;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_today-button__YgI7t:hover {\n background-color: #f3f3f3;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_today-button__YgI7t:active {\n background-color: #cfcfcf;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n text-align: center;\n font-size: 22px;\n padding: 10px 0px;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA {\n width: fit-content;\n background-color: transparent;\n border: transparent;\n text-align: right;\n font-size: 24px;\n margin-right: 10px;\n color: #959595;\n cursor: pointer;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA:focus {\n outline: transparent;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA option {\n background-color: white;\n color: #959595;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA option:disabled {\n color: #cfcfcf;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_week-days__j2XJ- {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #ebebeb;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_week-days__j2XJ- p {\n width: 14.2857142857%;\n margin: 0px;\n text-align: center;\n}');var N="InputBoxWithConfirmation-module_div-wrapper__DdQ1-",z="InputBoxWithConfirmation-module_focused__C6kd0",I="InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN",W="InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y";function F(e,n,l=[]){t((()=>{function t(t){e.current&&!e.current.contains(t.target)&&l.every((e=>e.current!==t.target))&&n()}return document.addEventListener("mousedown",t),()=>{document.removeEventListener("mousedown",t)}}),[e,n,l])}y(".InputBoxWithConfirmation-module_div-wrapper__DdQ1- {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n border: solid 1px rgb(184, 184, 184);\n background-color: rgb(250, 250, 250);\n border-radius: 8px;\n transition: border 0.3s;\n cursor: text;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1-.InputBoxWithConfirmation-module_focused__C6kd0 {\n border-color: #218dec;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN {\n box-sizing: border-box;\n padding: 10px 2ch;\n min-width: 10ch;\n text-align: center;\n border: none;\n background-color: transparent;\n font-size: 16px;\n font-weight: 600;\n color: dimgray;\n transition: all 0.2s;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN::-webkit-inner-spin-button {\n display: none;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN:focus {\n outline: none;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y {\n position: absolute;\n right: 0px;\n background-color: transparent;\n color: rgb(158, 158, 158);\n width: 32px;\n height: 32px;\n border-radius: 16px;\n font-size: 16px;\n border: none;\n cursor: pointer;\n transition: all 0.2s;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y:focus {\n outline: none;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y:hover {\n background-color: rgb(241, 241, 241);\n color: var(--primary-color);\n}");const T=({onConfirmAction:o,inputType:r="text",minimumValue:i="",maximumValue:s="",maxLength:u,placeholder:_="",divWrapperCustomStyle:m,inputBoxCustomStyle:p,defaultValue:b,overrideCurrentValue:g,showConfirmationButton:h,disabled:f})=>{const y=a(null),S=a(null),[v,x]=n(void 0!==b?String(b):""),[w,C]=n(void 0!==b?String(b):""),[k,M]=n(!1),E=()=>{if(!w&&"0"!==w&&""!==w)return v;if("number"===r){let e=Number(w);return""!==i&&e<Number(i)?e=Number(i):""!==s&&e>Number(s)&&(e=Number(s)),String(e)}return w},D=()=>{const e=E();C(e),e&&(o(e),x(e))};return F(S,(()=>{k&&(h?C(v):D(),M(!1))})),t((()=>{void 0!==g?(C(String(g)),x(String(g))):null===g&&(C(""),x(""))}),[g]),e.createElement("div",{ref:S,style:m,className:`${N} ${k?z:""}`,onClick:()=>{y.current&&y.current.focus()}},e.createElement("input",{ref:y,disabled:f,className:I,type:r,style:Object.assign({width:`${((null==w?void 0:w.length)?w.length:0)+7}ch`},p),min:i,max:s,maxLength:u,placeholder:_,value:k?w:v,onClick:e=>{e.stopPropagation()},onChange:e=>{let n=e.target.value;u&&n.length>u&&(n=n.slice(0,u)),C(n)},onFocus:e=>{x(e.target.value),C(e.target.value),M(!0)},onKeyDown:e=>{"Enter"===e.key||"NumpadEnter"===e.key||"Tab"===e.key?(D(),M(!1),y.current&&y.current.blur()):"Escape"!==e.key&&"Esc"!==e.key||(C(v),M(!1),y.current&&y.current.blur())}}),!f&&h&&e.createElement(l,null,k?e.createElement("button",{title:"Confirm",type:"button",className:W,onClick:()=>{D(),M(!1)}},e.createElement(d,null)):e.createElement("button",{title:"Edit",type:"button",className:W,onClick:()=>{y.current&&y.current.focus()}},e.createElement(c,null))))};var O={"calendar-scrollable-section":"CalendarScrollableSection-module_calendar-scrollable-section__uzWbW","days-grid":"CalendarScrollableSection-module_days-grid__lN--o","days-row":"CalendarScrollableSection-module_days-row__wqsnT","day-cell":"CalendarScrollableSection-module_day-cell__CvovF",day:"CalendarScrollableSection-module_day__dS5iz",background:"CalendarScrollableSection-module_background__EwVgU","first-half":"CalendarScrollableSection-module_first-half__p9Eie","second-half":"CalendarScrollableSection-module_second-half__fyESG",today:"CalendarScrollableSection-module_today__zqpHy","in-month":"CalendarScrollableSection-module_in-month__vbbx-","not-in-month":"CalendarScrollableSection-module_not-in-month__-3eLq",selected:"CalendarScrollableSection-module_selected__y4L6S","check-in":"CalendarScrollableSection-module_check-in__Nl1mo","check-out":"CalendarScrollableSection-module_check-out__ShFpZ","not-selectable":"CalendarScrollableSection-module_not-selectable__mba-l","out-of-selection":"CalendarScrollableSection-module_out-of-selection__Upoeg","cross-line":"CalendarScrollableSection-module_cross-line__lsB3g",crossed:"CalendarScrollableSection-module_crossed__trZeE"};function G(e){return 0===e.getDay()?6:e.getDay()-1}function L(e){const n=e=>Number(e)<10?"-0":"-";return e.getFullYear().toString().concat(n(e.getMonth()+1),(e.getMonth()+1).toString().concat(n(e.getDate()),e.getDate().toString()))}y('@property --angle {\n sintax: "<angle>";\n inherits: false;\n initial-value: 270deg;\n}\n@property --color-default {\n sintax: "<color>";\n inherits: false;\n initial-value: white;\n}\n@property --color-selected {\n sintax: "<color>";\n inherits: false;\n initial-value: #e3f3e3;\n}\n@property --percentage-default {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --percentage-selected {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 0%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW {\n width: 100%;\n aspect-ratio: 1/1;\n overflow-y: scroll;\n -ms-overflow-style: none;\n scrollbar-width: none;\n border-bottom: 1px solid #ebebeb;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW::-webkit-scrollbar {\n display: none;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o {\n width: 100%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 14.2857142857%;\n aspect-ratio: 1/1;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz {\n position: relative;\n --angle: 270deg;\n --color-default: #f3f3f3;\n --color-selected: #b7d4b6;\n --percentage-default: 100%;\n --percentage-selected: 0%;\n display: flex;\n align-items: center;\n justify-content: center;\n width: calc(100% - 8px);\n height: calc(100% - 8px);\n margin: 0px;\n border-radius: 1000px;\n overflow: hidden;\n user-select: none;\n transition: all 0.5s ease-in-out;\n cursor: pointer;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz p {\n z-index: 2;\n margin: 0px;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz .CalendarScrollableSection-module_background__EwVgU {\n z-index: 1;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n transform: rotate(var(--angle));\n transition: all 0.5s ease-in-out;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz .CalendarScrollableSection-module_background__EwVgU .CalendarScrollableSection-module_first-half__p9Eie {\n width: var(--percentage-default);\n height: 100%;\n background-color: var(--color-default);\n transition: all 0.3s ease-in-out;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz .CalendarScrollableSection-module_background__EwVgU .CalendarScrollableSection-module_second-half__fyESG {\n width: var(--percentage-selected);\n height: 100%;\n background-color: var(--color-selected);\n transition: all 0.3s ease-in-out;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_today__zqpHy {\n outline: solid 2px #787878;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_in-month__vbbx- {\n color: var(--medium-gray, #787878);\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_not-in-month__-3eLq {\n opacity: 0.35;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_selected__y4L6S {\n --percentage-default: 0%;\n --percentage-selected: 100%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_check-in__Nl1mo {\n --angle: 405deg;\n --color-default: #f3f3f3;\n --percentage-default: 50%;\n --percentage-selected: 50%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_check-out__ShFpZ {\n --angle: 225deg;\n --color-default: #f3f3f3;\n --percentage-default: 50%;\n --percentage-selected: 50%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_not-selectable__mba-l {\n cursor: not-allowed;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_out-of-selection__Upoeg {\n opacity: 0.1;\n cursor: not-allowed;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_cross-line__lsB3g {\n z-index: 2;\n position: absolute;\n width: 120%;\n height: 3px;\n background-color: #bbb;\n transform: rotate(-45deg);\n display: none;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF.CalendarScrollableSection-module_crossed__trZeE .CalendarScrollableSection-module_cross-line__lsB3g {\n display: block;\n}');const j=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],R=["january","february","march","april","may","june","july","august","september","october","november","december"];function Y(e,n){return`${("es_ES"===n?j:R)[e.getMonth()]} ${e.getFullYear()}`}function B(e){const n=(l=e,new Date(l.getFullYear(),l.getMonth()+1,0).getDate());var l;const t=e.getFullYear(),a=e.getMonth(),o=n-(7-G(new Date(t,a,1)));return Math.ceil(o/7)+1}const A=(e,n)=>{const l=(n,l)=>{const t=new Date(n,l,1),a=new Date(e.minimumDate.getFullYear(),e.minimumDate.getMonth(),1),o=new Date(e.maximumDate.getFullYear(),e.maximumDate.getMonth()+1,0),r=t.valueOf()<a.valueOf(),i=t.valueOf()>o.valueOf();return!r&&!i},t={setMonth:()=>l(e.year,n.value)?Object.assign(Object.assign({},e),{month:n.value}):Object.assign({},e),setYear:()=>l(n.value,e.month)?Object.assign(Object.assign({},e),{year:n.value}):Object.assign({},e),setMinimumDate:()=>Object.assign(Object.assign({},e),{minimumDate:new Date(n.value)}),setMaximumdate:()=>Object.assign(Object.assign({},e),{maximumDate:new Date(n.value)}),changeByMonthOffset:()=>{const t=new Date(e.year,e.month+n.value,1);return l(e.year,e.month+n.value)?Object.assign(Object.assign({},e),{year:t.getFullYear(),month:t.getMonth()}):Object.assign({},e)}}[n.type]();return t||Object.assign({},e)},H=({dates:n,month:l,year:r,mode:i,onSelectedDatesChange:d,onFocusedMonth:c,customDates:s=[],minimumDate:u=new Date(1970,0,1),maximumDate:_=new Date((new Date).getFullYear()+100,1,1)})=>{const[m,p]=o(A,{month:l,year:r,minimumDate:u,maximumDate:_}),b=a(null),g=e=>!s.some((n=>n.dates.some((n=>n.valueOf()===e.valueOf()))&&!n.selectable)),h=e=>{let n=O["day-cell"];return s.some((n=>n.dates.some((n=>n.valueOf()===e.valueOf()))&&n.crossed))&&(n+=` ${O.crossed}`),n},f=e=>{let l=O.day;L(e)===L(new Date)&&(l+=` ${O.today}`),e.getMonth()===m.month?l+=` ${O["in-month"]}`:l+=` ${O["not-in-month"]}`;const t=n.some((n=>n.valueOf()===e.valueOf())),a=("range"===i||"booking"===i)&&2===n.length&&n[0].valueOf()<e.valueOf()&&e.valueOf()<n[1].valueOf();if((t||a)&&(l+=` ${O.selected}`),"booking"===i){2===n.length&&e.valueOf()===n[0].valueOf()&&(l+=` ${O["check-in"]}`);2===n.length&&e.valueOf()===n[1].valueOf()&&(l+=` ${O["check-out"]}`)}g(e)?l+=` ${O.selectable}`:l+=` ${O["not-selectable"]}`;return(e.valueOf()<u.valueOf()||e.valueOf()>_.valueOf())&&(l+=` ${O["out-of-selection"]}`),l},y=e=>{const n=s.find((n=>n.dates.some((n=>n.valueOf()===e.valueOf()))));return n?{backgroundColor:n.color}:void 0};return t((()=>{b.current&&(b.current.scrollTop=b.current.scrollHeight/5*2)}),[]),t((()=>{c(m.month,m.year)}),[m.year,m.month,c]),e.createElement("section",{ref:b,className:O["calendar-scrollable-section"],onScroll:e=>{const n=e.target,l=n.scrollHeight/5,t=1.25*l,a=2.75*l;n.scrollTop<t&&p({type:"changeByMonthOffset",value:-1}),n.scrollTop>a&&p({type:"changeByMonthOffset",value:1})}},Array(5).fill(0).map(((l,t)=>{const a=t-2,o=new Date(m.year,m.month+a,1),r=0===new Date(m.year,m.month+a+1,0).getDay();let c=B(o);r||(c-=1);const p=G(o);return e.createElement("div",{className:O["days-grid"],key:`grid:${L(o)}}`},Array(c).fill(0).map(((l,t)=>e.createElement("div",{className:O["days-row"],key:`grid:${L(o)}-row:${t}`},Array(7).fill(0).map(((l,o)=>{const r=m.month+a,c=7*t+o+1-p,b=new Date(m.year,r,c);return e.createElement("div",{className:h(b),key:L(b),onClick:()=>(e=>{if(s.forEach((n=>{n.dates.some((n=>n.valueOf()===e.valueOf()))&&n.clickSideEffect&&n.clickSideEffect(e)})),!g(e))return;if(e.valueOf()<u.valueOf()||e.valueOf()>_.valueOf())return;let l=[...n];"single"===i&&(l=[e]),"multiple"===i&&(l=n.some((n=>n.valueOf()===e.valueOf()))?n.filter((n=>n.valueOf()!==e.valueOf())):[...n,e]),"range"===i&&(l=0===n.length?[e]:1===n.length?n[0].valueOf()<e.valueOf()?[...n,e]:[e,n[0]]:[]),"booking"===i&&(l=0===n.length?[e]:n[0].valueOf()===e.valueOf()?[]:1===n.length?n[0].valueOf()<e.valueOf()?[...n,e]:[e,n[0]]:[]),d(l)})(b)},e.createElement("div",{className:O["cross-line"]}),e.createElement("div",{className:f(b)},e.createElement("div",{className:O.background},e.createElement("div",{className:O["first-half"],style:y(b)}),e.createElement("div",{className:O["second-half"],style:y(b)})),e.createElement("p",null,b.getDate())))}))))))})))},P={en:{january:"january",february:"february",march:"march",april:"april",may:"may",june:"june",july:"july",august:"august",september:"september",october:"october",november:"november",december:"december",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday",today:"today"},es:{january:"enero",february:"febrero",march:"marzo",april:"abril",may:"mayo",june:"junio",july:"julio",august:"agosto",september:"septiembre",october:"octubre",november:"noviembre",december:"diciembre",monday:"lunes",tuesday:"martes",wednesday:"miércoles",thursday:"jueves",friday:"viernes",saturday:"sábado",sunday:"domingo",today:"hoy"}},J=(e,n)=>{switch(e){case 0:return P[n].january;case 1:return P[n].february;case 2:return P[n].march;case 3:return P[n].april;case 4:return P[n].may;case 5:return P[n].june;case 6:return P[n].july;case 7:return P[n].august;case 8:return P[n].september;case 9:return P[n].october;case 10:return P[n].november;case 11:return P[n].december;default:return""}},$=({mode:l,onSelectedDatesChange:t=(()=>{}),language:a="en",customDates:o=[],minimumDate:r=new Date(1970,0,1),maximumDate:i=new Date((new Date).getFullYear()+100,1,1),customStyle:d})=>{const[c,s]=n([]),[u,_]=n((new Date).getFullYear()),[m,p]=n((new Date).getMonth()),[b,g]=n(Math.random()),h=e=>{const n=new Date(r.getFullYear(),r.getMonth(),1),l=new Date(i.getFullYear(),i.getMonth()+1,0),t=e.valueOf()>=n.valueOf(),a=e.valueOf()<=l.valueOf();return t&&a};return e.createElement("div",{className:C,style:d},e.createElement("button",{className:k,onClick:()=>{const e=new Date;h(e)&&(p(e.getMonth()),_(e.getFullYear()),g(Math.random()))}},P[a].today.slice(0,1).toUpperCase()+P[a].today.slice(1)),e.createElement("section",{className:M},e.createElement("select",{style:{fontFamily:null==d?void 0:d.fontFamily},className:E,value:m,onChange:e=>{const n=Number(e.target.value);p(n),g(Math.random())}},Array(12).fill(0).map(((n,l)=>{const t=new Date(u,l,1),o=!h(t);return e.createElement("option",{key:J(l,a),value:l,disabled:o},J(l,a))}))),e.createElement(T,{inputType:"number",divWrapperCustomStyle:{width:"4ch",border:"none",backgroundColor:"transparent",fontFamily:null==d?void 0:d.fontFamily},inputBoxCustomStyle:{padding:0,fontFamily:null==d?void 0:d.fontFamily,fontSize:24},maxLength:4,defaultValue:u.toString(),overrideCurrentValue:u.toString(),minimumValue:r.getFullYear().toString(),maximumValue:i.getFullYear().toString(),onConfirmAction:e=>{let n=Number(e);const l=new Date(n,m,1);h(l)?(_(n),g(Math.random())):l.valueOf()<r.valueOf()?(_(r.getFullYear()),p(r.getMonth()),g(Math.random())):l.valueOf()>i.valueOf()&&(_(i.getFullYear()),p(i.getMonth()),g(Math.random()))}})),e.createElement("section",{className:D},e.createElement("p",null,P[a].monday.slice(0,1).toUpperCase()),e.createElement("p",null,P[a].tuesday.slice(0,1).toUpperCase()),e.createElement("p",null,P[a].wednesday.slice(0,1).toUpperCase()),e.createElement("p",null,P[a].thursday.slice(0,1).toUpperCase()),e.createElement("p",null,P[a].friday.slice(0,1).toUpperCase()),e.createElement("p",null,P[a].saturday.slice(0,1).toUpperCase()),e.createElement("p",null,P[a].sunday.slice(0,1).toUpperCase())),e.createElement(H,{key:b,dates:c,year:u,month:m,mode:l,onSelectedDatesChange:e=>{t(e),s(e)},onFocusedMonth:(e,n)=>{p(e),_(n)},customDates:o,minimumDate:r,maximumDate:i}))};var Z="IntegerControl-module_integer-control__-tzTl",X="IntegerControl-module_default__FJoED";y(".IntegerControl-module_integer-control__-tzTl {\n display: flex;\n align-items: center;\n -webkit-tap-highlight-color: transparent;\n}\n.IntegerControl-module_integer-control__-tzTl button {\n border: none;\n background: none;\n padding: 0;\n margin: 0;\n}\n.IntegerControl-module_integer-control__-tzTl button svg {\n height: 44px;\n width: 44px;\n fill: #c9c9c9;\n transition: fill 100ms ease-in-out;\n cursor: pointer;\n}\n.IntegerControl-module_integer-control__-tzTl button svg:active {\n fill: #787878;\n}\n.IntegerControl-module_integer-control__-tzTl input {\n border: none;\n background: none;\n padding: 0;\n color: #414141;\n text-align: center;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 32px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n min-width: 50px;\n transition: color 300ms ease-in-out;\n}\n.IntegerControl-module_integer-control__-tzTl input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.IntegerControl-module_integer-control__-tzTl input:focus {\n outline: transparent;\n}\n.IntegerControl-module_integer-control__-tzTl.IntegerControl-module_default__FJoED input {\n color: #787878;\n}");const q=({onChange:l=(()=>{}),defaultValue:t=0,minimumValue:a,maximumValue:o,customStyle:r})=>{const[i,d]=n(t),c=e=>{let n=e;(a||0===a)&&e<a?n=a:(o||0===o)&&e>o&&(n=o),d(n),l(n)};return e.createElement("div",{className:`${Z} ${i===t?X:""}`,style:r},e.createElement("button",{onClick:()=>c(i-1)},e.createElement(b,null)),e.createElement("input",{onChange:e=>c(Number(e.target.value)),value:i,type:"number",min:String(a),max:String(o),style:{width:i.toString().length+1+"ch"}}),e.createElement("button",{onClick:()=>c(i+1)},e.createElement(g,null)))};var V="LabeledInput-module_labeled-input__xzE4h",U="LabeledInput-module_error-message__5-9lv";y(".LabeledInput-module_labeled-input__xzE4h {\n position: relative;\n border-radius: 8px;\n border: 2px solid #959595;\n padding: 0px 28px;\n background: #fff;\n box-sizing: border-box;\n transition: all 200ms ease-in-out;\n cursor: pointer;\n}\n.LabeledInput-module_labeled-input__xzE4h label {\n z-index: 1;\n position: absolute;\n color: #959595;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n top: 50%;\n left: 28px;\n padding: 0;\n height: 2px;\n display: flex;\n align-items: center;\n transition: all 250ms ease-in-out;\n -webkit-user-select: none;\n user-select: none;\n}\n.LabeledInput-module_labeled-input__xzE4h label[data-is-shrinked=true] {\n top: -2px;\n left: 10px;\n font-weight: 600;\n font-size: 12px;\n padding: 0px 5px;\n}\n.LabeledInput-module_labeled-input__xzE4h input {\n z-index: 2;\n position: absolute;\n top: calc(50% - 12px);\n height: 24px;\n width: calc(100% - 56px);\n border: none;\n outline: transparent;\n background: transparent;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n color: #959595;\n padding: 0;\n cursor: pointer;\n}\n.LabeledInput-module_labeled-input__xzE4h input:focus {\n outline: transparent;\n cursor: text;\n}\n.LabeledInput-module_labeled-input__xzE4h[data-has-error=true] {\n border-color: #f34d1b;\n}\n.LabeledInput-module_labeled-input__xzE4h[data-has-error=true] label {\n color: #e17959;\n}\n.LabeledInput-module_labeled-input__xzE4h .LabeledInput-module_error-message__5-9lv {\n position: absolute;\n margin: 0;\n top: calc(100% + 5px);\n left: 5px;\n color: #f34d1b;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n padding: 0;\n transition: all 200ms ease-in-out;\n}");const Q=({label:l,defaultValue:o,onChange:r=(()=>{}),width:i="328px",height:d="66px",backgroundColor:c="white",textAlign:s="left",highlightError:u=!1,errorMessage:_,inputProps:m,specialType:p})=>{const b=a(null),[g,h]=n(!1);return t((()=>{o&&h(!0)}),[o]),e.createElement("div",{className:V,"data-has-error":u,onClick:()=>{b.current&&b.current.focus()},style:{width:i,height:d,backgroundColor:c}},e.createElement("label",{"data-is-shrinked":g,style:{backgroundColor:c}},l),e.createElement("input",Object.assign({ref:b},m,{onFocus:()=>h(!0),onBlur:e=>{e.target.value||h(!1)},defaultValue:o,onChange:e=>{let n=e.target.value;switch(p){case"credit-card-number":n=(e=>{var n;const l=e.replace(/\D/g,"").slice(0,16);let t=l.match(/.{1,4}/g);return 15===l.length&&(t=[l.slice(0,5),l.slice(5,11),l.slice(11,16)]),null!==(n=null==t?void 0:t.join(" "))&&void 0!==n?n:""})(n);break;case"expiration-date":n=(e=>{var n;const l=e.replace(/\D/g,"").slice(0,4).match(/.{1,2}/g);return null!==(n=null==l?void 0:l.join(" / "))&&void 0!==n?n:""})(n);break;case"cvv":n=(e=>e.replace(/\D/g,"").slice(0,4))(n);break;case"phone":n=(e=>(e.startsWith("+")?"+":"")+e.replace(/\D/g,"").slice(0,15))(n)}e.target.value=n,r(n)},style:{textAlign:s}})),u&&_&&e.createElement("p",{className:U},_))};var K={"blured-background":"Modal-module_blured-background__Vw4vW","modal-appear":"Modal-module_modal-appear__XBiM-","modal-disappear":"Modal-module_modal-disappear__Ik1hU"};y(".Modal-module_blured-background__Vw4vW {\n position: fixed;\n width: 100vw;\n height: 100vh;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n top: 0;\n left: 0;\n z-index: 1010;\n opacity: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n animation-duration: 450ms;\n animation-fill-mode: forwards;\n}\n.Modal-module_blured-background__Vw4vW[data-is-visible=true] {\n animation-name: Modal-module_modal-appear__XBiM-;\n}\n.Modal-module_blured-background__Vw4vW[data-is-visible=false] {\n animation-name: Modal-module_modal-disappear__Ik1hU;\n}\n\n@keyframes Modal-module_modal-appear__XBiM- {\n 0% {\n opacity: 0;\n -webkit-backdrop-filter: blur(0px);\n backdrop-filter: blur(0px);\n }\n 100% {\n opacity: 1;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n }\n}\n@keyframes Modal-module_modal-disappear__Ik1hU {\n 0% {\n opacity: 1;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n }\n 100% {\n opacity: 0;\n -webkit-backdrop-filter: blur(0px);\n backdrop-filter: blur(0px);\n }\n}");const ee=({children:l,overrideOpenState:a=!1,forced:o=!1,onOpen:r,onClose:i})=>{const[d,c]=n(a),[s,u]=n(a);return t((()=>{a?(c(!0),r&&r()):a||(c(!1),i&&i())}),[a,r,i]),t((()=>{d?u(!0):d||setTimeout((()=>{u(!1)}),500)}),[d]),s?h.createPortal(e.createElement("div",{className:K["blured-background"],"data-is-visible":d,onClick:()=>{o||(c(!1),i&&i())}},e.createElement("div",null,e.createElement("div",{className:K.modal,"data-closed":!a,onClick:e=>{e.stopPropagation()}},l))),document.getElementById("root")||document.body):e.createElement(e.Fragment,null)},ne=864e5;function le(e,n,l,t){null!==n.current&&(n.current.scrollLeft=(Date.parse(e.toString())-(Date.parse((new Date).toString())-l*ne))/ne*t)}function te(n,l,t){let a=Date.parse((new Date).toString())-n*ne,o=Date.parse((new Date).toString())+l*ne,r=[],i=[];for(let n=0;n*ne+a<o;n++){let l=new Date(ne*n+a),o=l;o.setDate(1),o.setHours(12,0,0,0);let d=Y(l,t);i.includes(d)||(i.push(d),r.push(e.createElement("option",{key:L(o),value:L(o)},d)))}return r}var ae={multicalendar:"Multicalendar-module_multicalendar__koIJg","div-upper-left-component":"Multicalendar-module_div-upper-left-component__BL2vu",controls:"Multicalendar-module_controls__Ryigr","div-dates-navigation":"Multicalendar-module_div-dates-navigation__N4Dna","div-aditional-controls-components":"Multicalendar-module_div-aditional-controls-components__ElQQF","vertical-axis":"Multicalendar-module_vertical-axis__otLXf","div-list-element-column":"Multicalendar-module_div-list-element-column__MSfNT","horizontal-axis":"Multicalendar-module_horizontal-axis__cn4Nh","div-weeks-buttons":"Multicalendar-module_div-weeks-buttons__37T5W","past-week-button":"Multicalendar-module_past-week-button__X8k5t","next-week-button":"Multicalendar-module_next-week-button__l1DCS","div-dates-row":"Multicalendar-module_div-dates-row__5CKuX","div-main-container":"Multicalendar-module_div-main-container__wMIlM","main-container":"Multicalendar-module_main-container__DZjT2"};y('.Multicalendar-module_multicalendar__koIJg {\n display: grid;\n color: black;\n width: 100%;\n height: 100%;\n grid-template-areas: "fil con" "fil hor" "ver gri";\n text-align: center;\n transition: 0.5s;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_div-upper-left-component__BL2vu {\n grid-area: fil;\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 2;\n background-color: white;\n border-bottom: 1px solid rgb(235, 235, 235);\n border-right: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr {\n grid-area: con;\n height: 100%;\n padding: 2px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap-reverse;\n box-sizing: border-box;\n border-bottom: var(--border-tenues);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr .Multicalendar-module_div-dates-navigation__N4Dna {\n display: flex;\n align-items: center;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr .Multicalendar-module_div-dates-navigation__N4Dna button {\n cursor: pointer;\n margin: 0px;\n position: relative;\n text-align: center;\n text-decoration: none;\n border: 1px solid rgb(216, 216, 216);\n padding: 4px 8px;\n box-sizing: border-box;\n color: black;\n font-size: 14px;\n touch-action: manipulation;\n border-radius: 6px;\n background: rgb(255, 255, 255);\n font-weight: normal;\n height: calc(100% - 16px);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr .Multicalendar-module_div-aditional-controls-components__ElQQF {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n flex-grow: 1;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_div-upper-left-component__BL2vu {\n grid-area: fil;\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 2;\n background-color: white;\n border-bottom: 1px solid rgb(235, 235, 235);\n border-right: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n display: flex;\n flex-flow: column;\n justify-content: flex-end;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_vertical-axis__otLXf {\n grid-area: ver;\n position: relative;\n width: 100%;\n height: 100%;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 16px 5px;\n z-index: 1;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_vertical-axis__otLXf .Multicalendar-module_div-list-element-column__MSfNT {\n height: 100%;\n overflow-y: scroll;\n box-sizing: border-box;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh {\n grid-area: hor;\n position: relative;\n max-width: 100%;\n height: 90px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 74px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t,\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS {\n z-index: 2;\n position: absolute;\n background-color: transparent;\n border: none;\n height: 100%;\n width: 32px;\n font-size: 1em;\n color: var(--primary-color);\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.3s;\n height: 75%;\n background: rgb(255, 255, 255);\n box-shadow: 0px 0px 8px 8px white;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t:hover,\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS:hover {\n background: rgb(247, 247, 247);\n box-shadow: 0px 0px 8px 8px rgb(247, 247, 247);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t:active,\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS:active {\n background: rgb(167, 167, 167);\n box-shadow: 0px 0px 8px 8px rgb(167, 167, 167);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t {\n left: 5px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS {\n right: 5px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-dates-row__5CKuX {\n position: absolute;\n bottom: 0;\n width: 100%;\n overflow-x: scroll;\n border-bottom: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_div-main-container__wMIlM {\n grid-area: gri;\n height: 100%;\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_main-container__DZjT2 {\n position: relative;\n min-width: 100%;\n height: 100%;\n overflow-x: scroll;\n}');var oe="DatesRow-module_dates-row__roAc0",re="DatesRow-module_date-cell__xzHPT",ie="DatesRow-module_div-date-cell__M2v60",de="DatesRow-module_month-start__5FSLx";y(".DatesRow-module_dates-row__roAc0 {\n box-sizing: border-box;\n display: flex;\n flex-flow: row;\n overflow-y: hidden;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT {\n position: relative;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60 {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 48px;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60[data-is-today=true] {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 48px;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60[data-is-today=true] div {\n border-radius: 4px;\n background: var(--primary-color, dimgray);\n color: rgb(255, 255, 255);\n font-size: 14px;\n line-height: 18px;\n font-weight: 800;\n width: 40px;\n height: 40px;\n padding: 1px 0;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60 p {\n margin: 0;\n font-size: 14px;\n line-height: 18px;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_month-start__5FSLx {\n position: absolute;\n top: 0;\n height: 100%;\n box-sizing: border-box;\n border-left: 1px solid rgb(235, 235, 235);\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_month-start__5FSLx p {\n margin: 0;\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n white-space: nowrap;\n padding-left: 8px;\n padding-top: 8px;\n}");const ce=({visibleDates:n,width:l,height:t,cellsWidth:a,cellsHeight:o,offset:r,language:i})=>{const d={en_EN:{sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December"},es_ES:{sunday:"Domingo",monday:"Lunes",tuesday:"Martes",wednesday:"Miércoles",thursday:"Jueves",friday:"Viernes",saturday:"Sábado",january:"Enero",february:"Febrero",march:"Marzo",april:"Abril",may:"Mayo",june:"Junio",july:"Julio",august:"Agosto",september:"Septiembre",october:"Octubre",november:"Noviembre",december:"Diciembre"}},c=[d[i].sunday.slice(0,2),d[i].monday.slice(0,2),d[i].tuesday.slice(0,2),d[i].wednesday.slice(0,2),d[i].thursday.slice(0,2),d[i].friday.slice(0,2),d[i].saturday.slice(0,2)],s=[d[i].january,d[i].february,d[i].march,d[i].april,d[i].may,d[i].june,d[i].july,d[i].august,d[i].september,d[i].october,d[i].november,d[i].december];return e.createElement("div",{className:oe,style:{width:l,height:t,paddingLeft:r*a}},n.length>0&&n.map((n=>e.createElement("div",{key:n.toString(),className:re,style:{width:a,height:o}},e.createElement("div",{className:ie,"data-is-today":n.getDate()===(new Date).getDate()&&n.getMonth()===(new Date).getMonth()&&n.getFullYear()===(new Date).getFullYear()},e.createElement("div",null,e.createElement("p",null,c[n.getDay()]),e.createElement("p",null,n.getDate()))),1===n.getDate()&&e.createElement("div",{className:de},e.createElement("p",null,s[n.getMonth()]," ",n.getFullYear()))))))};var se="ListElementsColumn-module_list-element-column__46wTg";y(".ListElementsColumn-module_list-element-column__46wTg {\n box-sizing: border-box;\n}");var ue="ListElement-module_list-element__t9ZwR";y(".ListElement-module_list-element__t9ZwR {\n position: relative;\n border-bottom: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n background-color: white;\n cursor: pointer;\n overflow: hidden;\n}\n.ListElement-module_list-element__t9ZwR:hover {\n background-color: rgb(240, 240, 240);\n}");var _e=e.memo((({listElementId:n,ReactListElementChildren:l,height:t})=>e.createElement("div",{className:ue,style:{height:t}},e.createElement(l,{listElementId:n}))));const me=({ReactListElementChildren:n,listHeight:l,yOffset:t,elementsHeight:a,idsArray:o})=>e.createElement("div",{className:se,style:{height:l,paddingTop:t*a}},o.map((l=>e.createElement(_e,{key:l,height:a,listElementId:l,ReactListElementChildren:n}))));var pe="DatesGrid-module_dates-grid__GvBcr",be="DatesGrid-module_div-cells-row-height__eRcXw";y(".DatesGrid-module_dates-grid__GvBcr {\n box-sizing: border-box;\n}\n.DatesGrid-module_dates-grid__GvBcr .DatesGrid-module_div-cells-row-height__eRcXw {\n box-sizing: border-box;\n}");var ge="CellsRow-module_cells-row__TJvv8";y(".CellsRow-module_cells-row__TJvv8 {\n display: flex;\n flex-flow: row;\n}");var he="Cell-module_cell__FNVcp";y(".Cell-module_cell__FNVcp {\n position: relative;\n border: 1px solid rgb(200, 200, 200);\n border-radius: 6px;\n}");var fe=e.memo((({date:n,listElementId:l,width:t,heigth:a,ReactCellChildren:o})=>e.createElement("div",{className:he,style:{width:t,height:a}},e.createElement(o,{date:n,listElementId:l}))));const ye=({listElementId:n,visibleDatesArray:l,width:t,height:a,cellsWidth:o,cellsHeight:r,ReactCellChildren:i})=>e.createElement("div",{className:ge,style:{width:t,height:a}},l.length>0&&l.map((l=>e.createElement(fe,{key:n+l.toString(),date:L(l),listElementId:n,width:o,heigth:r,ReactCellChildren:i})))),Se=({gridWidth:n,gridHeight:l,xOffset:t,yOffset:a,cellsWidth:o,cellsHeight:r,visibleListElementsIdsArray:i,visibleDates:d,ReactCellChildren:c})=>{const s=n-d.length*o,u=t*o>s?s:t*o;return e.createElement("div",{className:pe,style:{width:n}},e.createElement("div",{className:be,style:{height:l,paddingTop:a*r,paddingLeft:u}},i.map((n=>e.createElement(ye,{key:n,listElementId:n,visibleDatesArray:d,width:d.length*o,height:r,cellsWidth:o,cellsHeight:r,ReactCellChildren:c})))))};var ve="DropdownMonthNavigation-module_dropdown-month-navigation__M-YCF";y(".DropdownMonthNavigation-module_dropdown-month-navigation__M-YCF {\n position: relative;\n display: flex;\n width: 200px;\n margin: 0px 10px;\n border: 1px solid rgb(216, 216, 216);\n color: black;\n background-color: white;\n border-radius: 6px;\n white-space: nowrap;\n font-size: 14px;\n line-height: 18px;\n height: 28px;\n}");const xe=({visibleMonth:n,visibleYear:l,onChangeAction:t,options:a})=>e.createElement("select",{title:"Select a month",className:ve,value:L(new Date(l,n,1,12,0,0,0)),onChange:e=>t(e.target.value)},a);function we(){const[e,l]=n([0,0]);return r((()=>{function e(){l([window.innerWidth,window.innerHeight])}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),e}const Ce=e=>sessionStorage.getItem(`MulticalendarScrollTopPosition-${e}`),ke=e=>sessionStorage.getItem(`MulticalendarScrollLeftPosition-${e}`),Me={en_EN:{Today:"Today"},es_ES:{Today:"Hoy"}},Ee=({multicalendarId:l,ReactCellChildren:o,ReactListElementChildren:r,listElementsIdsArray:i,language:d="en_EN",pastDatesVisible:c=!0,cellsWidth:_=120,cellsHeight:m=80,verticalAxisWidth:p=280,pastDaysInitialQuantity:b=365,futureDaysInitialQuantity:g=365,chunkRenderX:h=0,chunkRenderY:f=0,dynamicDaysQuantity:y=!1,authomaticScrollOnDraggingOverEdges:S=!1,waitTimeForCalls:v=500,callsOnInitialView:x,callsOnScrollingStops:w,aditionalControlsComponents:C,upperLeftComponent:k,autoSavePosition:M,onScrollTopChanges:E,onScrollLeftChanges:D})=>{var N,z;const I=1+h,W=a(null),F=a(null),T=a(null),O=a(null),G=a(null),[L,j]=n(!1),[R,Y]=we(),[B,A]=n(Math.ceil(g)),[H,P]=n(c?Math.ceil(b):0),[J,$]=n(0),[Z,X]=n(0),[q,V]=n(1),[U,Q]=n(0),[K,ee]=n([]),[oe,re]=n([]),[ie,de]=n(!1),[se,ue]=n({x:ke(l)?Number(ke(l)):c?Math.ceil(b)*_:0,y:Ce(l)?Number(Ce(l)):0}),[_e,pe]=n(se.x),[be,ge]=n(se.y),[he,fe]=n({x:se.x,y:se.y}),[ye,ve]=n(!1),[Ee,De]=n(new Date),[Ne,ze]=n(void 0),[Ie,We]=n(void 0),[Fe,Te]=n(void 0),[Oe,Ge]=n(!1),[Le,je]=n((null===(N=O.current)||void 0===N?void 0:N.clientHeight)?O.current.clientHeight:0),[Re,Ye]=n((null===(z=G.current)||void 0===z?void 0:z.clientHeight)?G.current.clientHeight:0),[Be,Ae]=n(!1);return t((()=>{ue({x:c?Math.ceil(b)*_:0,y:0})}),[c,b,_]),t((()=>{T.current&&!1===ye&&(T.current.scrollTop=se.y,T.current.scrollLeft=se.x,ve(!0))}),[se.y,se.x,ye]),t((()=>(D&&D(_e),E&&E(be),()=>{M&&(be!==se.y&&((e,n)=>{sessionStorage.setItem(`MulticalendarScrollTopPosition-${e}`,n)})(l,String(be)),_e!==se.x&&((e,n)=>{sessionStorage.setItem(`MulticalendarScrollLeftPosition-${e}`,n)})(l,String(_e)))})),[M,be,_e,se.y,se.x]),t((()=>{P(c?Math.ceil(b):0)}),[c,b]),t((()=>{!L&&oe.length>0&&K.length>0&&x&&(j(!0),x(oe,K))}),[L,oe,K,x]),t((()=>{var e,n;const l=(null===(e=O.current)||void 0===e?void 0:e.clientHeight)?O.current.clientHeight:0,t=(null===(n=G.current)||void 0===n?void 0:n.clientHeight)?G.current.clientHeight:0;je(l),Ye(t),de(!0),$(Math.ceil((R-p)/_)+1),X(Math.ceil((Y-l-t)/m)+1),null!==T.current&&(pe(T.current.scrollLeft),fe({x:T.current.scrollLeft,y:T.current.scrollTop}),V(Math.floor(T.current.scrollLeft/_)-h))}),[R,Y,p,m,_,h]),t((()=>{if(he.x===se.x&&he.y===se.y||Math.abs(he.y-be)/m>f||ie){he.x===se.x&&he.y===se.y||null!==T.current&&fe({x:T.current.scrollLeft,y:T.current.scrollTop});let e=function(e,n,l){let t=Math.floor(e/n)-l;return t<0&&(t=0),t}(be,m,f);Q(e),re(function(e,n,l,t){let a=[];for(let o=0;o<e+2*n;o++)t[o+l]&&o+l>=0&&(a[o]=t[o+l]);return a}(Z,f,e,i)),ie&&de(!1)}}),[ie,be,m,f,se.x,se.y,Z,he.x,he.y,i]),t((()=>{if(he.x===se.x&&he.y===se.y||_e<_||Math.abs(he.x-_e)/_>h||ie){ee([]),he.x===se.x&&he.y===se.y||null!==T.current&&fe({x:T.current.scrollLeft,y:T.current.scrollTop}),V(function(e,n,l){return Math.floor(e/n)-l}(_e,_,h));const e=function(e,n,l,t){let a=new Date(Date.parse((new Date).toString())+ne*(Math.floor(e/n)-l-t));return a.setHours(12,0,0,0),Date.parse(a.toString())}(_e,_,H,I);De(function(e,n){return new Date(e+n*ne)}(e,I)),ie&&de(!1),ee(function(e,n,l){let t=[];for(let a=0;a<e+2*n;a++)t[a]=new Date(l+ne*(a+1));return t}(J,h,e))}}),[ie,J,_e,h,_,I,H,he.x,he.y,se.x,se.y]),t((()=>{Ge(!0),clearTimeout(Ne),ze(void 0)}),[_e,be]),t((()=>{if(void 0===Ne){let e=setTimeout((()=>Ge(!1)),v);ze(e)}}),[_e,be,Ne,v]),t((()=>{!Oe&&w&&w(oe,K)}),[Oe,oe,K]),t((()=>{S||(void 0!==Ie&&We(void 0),void 0!==Fe&&Te(void 0))}),[S,Ie,Fe]),t((()=>(document.body.addEventListener("mousedown",(()=>{Ae(!0)})),document.body.addEventListener("mouseup",(()=>{Ae(!1)})),()=>{document.body.removeEventListener("mousedown",(()=>{Ae(!0)})),document.body.removeEventListener("mouseup",(()=>{Ae(!1)}))})),[S]),e.createElement("div",{key:l,id:l,"data-testid":l,className:ae.multicalendar,style:{gridTemplateColumns:`${p}px`,gridTemplateRows:`auto auto calc(100% - ${Le+Re}px`}},e.createElement("div",{ref:O,className:ae.controls},e.createElement("div",{className:ae["div-dates-navigation"]},e.createElement(xe,{visibleYear:Ee.getFullYear(),visibleMonth:Ee.getMonth(),onChangeAction:e=>{le(new Date(Number(Date.parse(function(e){if(!/^\d{4}-\d{2}-\d{2}$/.test(e))throw new Error("Invalid SQL date format");let n=e.split("-");return new Date(Number(n[0]),Number(n[1])-1,Number(n[2]))}(e).toString()))),T,H,_)},options:te(H,B,d)}),e.createElement("button",{type:"button",className:ae["today-button"],onClick:()=>le(new Date,T,H,_)},Me[d].Today)),C&&e.createElement("div",{className:ae["div-aditional-controls-components"]},C)),e.createElement("div",{className:ae["div-upper-left-component"]},k),e.createElement("div",{className:ae["vertical-axis"]},e.createElement("div",{ref:F,className:ae["div-list-element-column"],onScroll:e=>{null!==T.current&&(T.current.scrollTop=e.target.scrollTop)}},e.createElement(me,{listHeight:m*i.length,yOffset:U,elementsHeight:m,idsArray:oe,ReactListElementChildren:r}))),e.createElement("div",{ref:G,className:ae["horizontal-axis"]},e.createElement("div",{className:ae["div-weeks-buttons"]},e.createElement("button",{type:"button",title:"Past Week",className:ae["past-week-button"],onClick:()=>{null!==W.current&&W.current.scroll({left:W.current.scrollLeft-7*_})}},e.createElement(s,null)),e.createElement("button",{type:"button",title:"Next Week",onClick:()=>{null!==W.current&&W.current.scroll({left:W.current.scrollLeft+7*_})},className:ae["next-week-button"]},e.createElement(u,null))),e.createElement("div",{ref:W,className:ae["div-dates-row"],onScroll:e=>{null!==T.current&&(T.current.scrollLeft=e.target.scrollLeft)}},e.createElement(ce,{visibleDates:K,width:(H+B)*_,height:74,cellsWidth:_,cellsHeight:74,offset:q,language:d}))),e.createElement("div",{className:ae["div-main-container"]},e.createElement("div",{ref:T,className:ae["main-container"],onScroll:e=>{if(null!==W.current){const n=e.target.scrollLeft;W.current.scrollLeft=n,pe(n)}if(null!==F.current){const n=e.target.scrollTop;F.current.scrollTop=n,ge(n)}var n,l,t,a,o,r;y&&e.target.scrollLeft+e.target.offsetWidth>(H+B)*_-_&&A(B+1),c&&y&&e.target.scrollLeft<_&&(P(H+1),e.target.scrollLeft=3*_),n=Be,l=Ie,t=Fe,a=.8*_,o=.8*m,r=e.target,n&&(l&&(l<a&&(r.scrollLeft-=a-l),l>r.offsetWidth-a&&(r.scrollLeft+=l+a-r.offsetWidth)),t&&(t<o&&(r.scrollTop-=o-t),t>r.offsetHeight-o&&(r.scrollTop+=t+o-r.offsetHeight)))},onMouseMove:e=>{if(null!==T.current&&Be){let r=e.clientX-T.current.getBoundingClientRect().left,i=e.clientY-T.current.getBoundingClientRect().top;We(r),Te(i),n=r,l=i,t=.8*_,a=.8*m,o=T,Be&&null!==o.current&&(n<t&&(o.current.scrollLeft-=10),n>o.current.offsetWidth-t&&(o.current.scrollLeft+=10),l<a&&(o.current.scrollTop-=10),l>o.current.offsetHeight-a&&(o.current.scrollTop+=10))}var n,l,t,a,o}},e.createElement(Se,{gridWidth:(H+B)*_,gridHeight:m*i.length,xOffset:q,yOffset:U,cellsWidth:_,cellsHeight:m,visibleListElementsIdsArray:oe,visibleDates:K,ReactCellChildren:o}))))};var De="ScreenSteps-module_screen-steps__AX-nZ",Ne="ScreenSteps-module_steps__AuZhk",ze="ScreenSteps-module_step__2kFuY",Ie="ScreenSteps-module_outer-text__akI1y",We="ScreenSteps-module_frame__3J2mc",Fe="ScreenSteps-module_steps-content__-Yj-E",Te="ScreenSteps-module_step-component__Lu3G5";function Oe(e,l){const[o,r]=n(!1),i=a(null);return t((()=>(i.current&&i.current.disconnect(),i.current=new IntersectionObserver((([e])=>{r(e.isIntersecting)}),l),e.current&&i.current.observe(e.current),()=>{i.current&&i.current.disconnect()})),[e,l]),o}function Ge(e){const[l,o]=n(0),[r,i]=n(0),d=a(new ResizeObserver((e=>{const{width:n,height:l}=e[0].contentRect;o(n),i(l)})));return t((()=>{null!==e.current&&d.current.observe(e.current);const n=d.current,l=e.current;return()=>{null!==l&&n.unobserve(l)}}),[e,d]),[l,r]}y(".ScreenSteps-module_screen-steps__AX-nZ {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk .ScreenSteps-module_step__2kFuY {\n width: 62px;\n height: 62px;\n border-radius: 31px;\n background-color: hsla(0, 0%, 58%, 0.2);\n display: flex;\n align-items: center;\n justify-content: center;\n color: rgba(65, 65, 65, 0.4);\n text-align: center;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 15px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n cursor: pointer;\n transition: all 300ms ease-in-out;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk .ScreenSteps-module_step__2kFuY[data-is-complete=true] {\n background-color: rgba(112, 90, 0, 0.4);\n color: rgba(65, 65, 65, 0.4);\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk .ScreenSteps-module_step__2kFuY[data-is-current=true] {\n background-color: rgba(112, 90, 0, 0.6);\n color: rgb(65, 65, 65);\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_outer-text__akI1y {\n color: #787878;\n text-align: center;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n margin: 0;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc {\n width: 100%;\n overflow: hidden;\n transition: height 300ms ease-in-out;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc .ScreenSteps-module_steps-content__-Yj-E {\n display: flex;\n justify-content: flex-start;\n transition: all 300ms ease-in-out;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc .ScreenSteps-module_step-component__Lu3G5 {\n max-height: 0px;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc .ScreenSteps-module_step-component__Lu3G5[data-is-current=true] {\n max-height: max-content;\n}");const Le=({steps:l,defaultStep:o=0,onStepChange:r=(()=>{}),canNavigate:i,overrideStep:d})=>{const c=a(null),[s,u]=n(o),[_,m]=Ge(c);t((()=>{void 0!==d&&d<l.length&&d>=0&&d!==s&&u(d)}),[d]);return e.createElement("section",{className:De},e.createElement("nav",{className:Ne},l.map(((n,l)=>e.createElement("div",{key:n.innerText,className:ze,"data-is-completed":l<s,"data-is-current":l===s,"data-can-navigate":i,onClick:()=>{i&&(u(l),r(l))}},n.innerText)))),e.createElement("p",{className:Ie},l[s].outterText),e.createElement("div",{className:We,style:{height:m||"100%"}},e.createElement("div",{ref:c,className:Fe,style:(()=>{const e=100/l.length;return{width:100*l.length+"%",transform:`translateX(-${e*s}%)`}})()},l.map(((n,t)=>e.createElement("div",{key:n.innerText,className:Te,"data-is-current":t===s,style:{width:100/l.length+"%"}},n.component))))))};var je="ScrollSnapGallery-module_scroll-snap-gallery__CR-GS",Re="ScrollSnapGallery-module_frame__267TC",Ye="ScrollSnapGallery-module_arrow-controls__yw2Zl",Be="ScrollSnapGallery-module_arrow__1ueyq",Ae="ScrollSnapGallery-module_position-indicator__3Y7Mh",He="ScrollSnapGallery-module_indicator-icon__YrYF2",Pe="ScrollSnapGallery-module_current__ckZrA",Je="ScrollSnapGallery-module_medium-shrunken__DuED2",$e="ScrollSnapGallery-module_full-shrunken__VSbF7",Ze="ScrollSnapGallery-module_hidden__c0w-O";y(".ScrollSnapGallery-module_scroll-snap-gallery__CR-GS {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_frame__267TC {\n display: flex;\n align-items: center;\n scroll-snap-type: x mandatory;\n scroll-snap-stop: always;\n scroll-behavior: smooth;\n overflow-x: auto;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: none;\n scrollbar-width: none;\n -webkit-user-select: none;\n user-select: none;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_frame__267TC::-webkit-scrollbar {\n display: none;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_frame__267TC img {\n scroll-snap-align: center;\n min-width: 100%;\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 10px;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_arrow__1ueyq {\n width: 24px;\n height: 24px;\n fill: #959595;\n transition: all 100ms ease-in-out;\n z-index: 2;\n cursor: pointer;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_arrow__1ueyq:active {\n fill: #0d280b;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh {\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all 0.3s ease-in-out;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2 {\n fill: #959595;\n transition: all 0.3s ease-in-out;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_current__ckZrA {\n fill: #0d280b;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_medium-shrunken__DuED2 {\n transform: scale(0.75);\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_full-shrunken__VSbF7 {\n transform: scale(0.5);\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_hidden__c0w-O {\n transform: scale(0);\n}");const Xe=({urls:l=[],alts:o,width:r="400px",height:i="300px",IndicatorIcon:d=f,positionIndicatorSize:c=Math.min(l.length,6),iconSize:s=16,showArrows:u=!1,frameStyle:p={},onSlideChange:b=(()=>{}),autoChange:g=!1})=>{const h=a(null),[y,S]=n(0),[v,x]=n(0),[w,C]=n(c-1),[k,M]=n(0),[E,D]=n(0),N=e=>{let n=He;y===e&&(n+=` ${Pe}`);const t=0!==v&&e===v,a=w!==l.length-1&&e===w;(t||a)&&(n+=` ${$e}`);const o=0!==v&&e===v+1,r=w!==l.length-1&&e===w-1;return(o||r)&&(n+=` ${Je}`),(e<v||e>w)&&(n+=` ${Ze}`),n};return t((()=>{M(v*s)}),[v]),t((()=>{b(y)}),[y]),t((()=>{if(g){const e=setInterval((()=>{D((e=>e+1))}),3e3);return()=>clearInterval(e)}}),[g]),t((()=>{if(g){const e=h.current;e&&e.scrollLeft===e.scrollWidth-e.clientWidth?e.scrollLeft=0:e&&(e.scrollLeft+=e.clientWidth)}}),[g,E]),e.createElement("section",{className:je},e.createElement("div",{ref:h,className:Re,style:Object.assign(Object.assign({},p),{width:r,height:i}),onScroll:e=>{const{scrollLeft:n,clientWidth:t}=e.target,a=t,o=Math.round(n/a);if(S(o),o<=v){const e=Math.max(o-1,0),n=e+c-1;x(e),C(n)}else if(o>=w){const e=Math.min(o+1,l.length-1),n=e-c+1;C(e),x(n)}}},l.map(((n,l)=>e.createElement("img",{key:n+l,src:n,alt:o?o[l]:"gallery picture"})))),e.createElement("div",{className:Ye},u&&e.createElement(_,{className:Be,onClick:()=>{const e=h.current;e&&(e.scrollLeft-=e.clientWidth)}}),e.createElement("div",{className:Ae,style:{transform:`translateX(calc(50% - ${k}px - ${s*c/2}px))`}},l.map(((n,l)=>e.createElement(d,{key:n+l,className:N(l),style:{width:s,height:s}})))),u&&e.createElement(m,{className:Be,onClick:()=>{const e=h.current;e&&(e.scrollLeft+=e.clientWidth)}})))};var qe="StackedCards-module_stacked-cards__8IiBF",Ve="StackedCards-module_card__4cF-v",Ue="StackedCards-module_title__GYDch",Qe="StackedCards-module_content__6WDlF";y(".StackedCards-module_stacked-cards__8IiBF {\n position: relative;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v {\n position: absolute;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 80%;\n height: 80%;\n background-color: #fff;\n border-radius: 10px;\n border: 2px solid #e2e2e2;\n transition: all 0.4s ease-out;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v .StackedCards-module_title__GYDch {\n width: 100%;\n overflow: hidden;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v .StackedCards-module_content__6WDlF {\n flex-grow: 1;\n width: 100%;\n overflow: auto;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v .StackedCards-module_content__6WDlF::-webkit-scrollbar {\n display: none;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v[data-is-selectable=true] {\n cursor: pointer;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v[data-is-selectable=true][data-should-card-rise=true]:hover {\n transform: translateY(-20px);\n}");const Ke=360,en=({cards:l,initialCard:a,onCardChangeByUser:o,overrideSelectedCard:r,stackingOrientation:i=60,cardWidth:d=300,cardHeight:c=350})=>{const[s,u]=n(a),_=i>0?i%Ke:Ke+i%Ke,m=Math.PI/180*i,p=e=>({horizontalOffset:80*Math.cos(m)/l.length*e,verticalOffset:80*Math.sin(m)/l.length*e}),b=e=>{const n={};let t=0,a=0,o=0;const r=p(e<s?e+1:e);e===s?o=l.length+1:(t=r.horizontalOffset,a=r.verticalOffset,o=l.length-e),n.zIndex=o;const i=e=>{n.right=e.right,n.bottom=e.bottom,n.left=e.left,n.top=e.top},d=_>90&&_<=180,c=_>180&&_<=270,u=_>270&&_<=Ke;return _>=0&&_<=90?i({right:`${t}px`,bottom:`${a}px`,left:"",top:""}):d?i({right:"",bottom:`${a}px`,left:-t+"px",top:""}):c?i({right:"",bottom:"",left:-t+"px",top:-a+"px"}):u&&i({right:`${t}px`,bottom:"",left:"",top:-a+"px"}),n};return t((()=>{void 0!==r&&r>=0&&r<l.length&&u(r)}),[r]),e.createElement("div",{className:qe,style:(()=>{const e=p(l.length-1).horizontalOffset+4,n=p(l.length-1).verticalOffset+4;return{width:d+Math.abs(e),height:c+Math.abs(n)}})()},l.map(((n,l)=>e.createElement("div",{className:Ve,key:l,"data-is-selectable":l!==s,"data-should-card-rise":_>=0&&_<=180,style:Object.assign({height:c,width:d},b(l)),onClick:()=>{s!==l&&(u(l),o&&o(l))}},e.createElement("div",{className:Ue},n.title),e.createElement("div",{className:Qe},n.content)))))};export{w as BubbleMenu,$ as CalendarDatePicker,T as InputBoxWithConfirmation,q as IntegerControl,Q as LabeledInput,ee as Modal,Ee as Multicalendar,Le as ScreenSteps,Xe as ScrollSnapGallery,en as StackedCards,Oe as useIntersectionObserver,F as useOutsideClick,Ge as useResizeObserver,we as useWindowsSize};
|
|
1
|
+
import e,{useState as n,Fragment as l,useEffect as t,useRef as a,useReducer as o,useLayoutEffect as r}from"react";import{BsX as i,BsCheckLg as d,BsPencil as c,BsChevronLeft as s,BsChevronRight as u,BsArrowLeftCircle as _,BsArrowRightCircle as m}from"react-icons/bs";import{IoMenu as p}from"react-icons/io5";import{AiFillMinusCircle as b,AiFillPlusCircle as g}from"react-icons/ai";import h from"react-dom";import{GoDotFill as f}from"react-icons/go";function y(e,n){void 0===n&&(n={});var l=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===l&&t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}var S="BubbleMenu-module_menu-container__xrNNC",v="BubbleMenu-module_menu-button__I5R0w";y(".BubbleMenu-module_menu-container__xrNNC {\n position: fixed;\n z-index: -1;\n top: 0px;\n padding-top: 80px;\n box-sizing: border-box;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=visible] {\n z-index: 100;\n width: 100vw;\n height: 100vh;\n animation: BubbleMenu-module_show-background__Qz4-v 300ms ease-in-out forwards;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=visible] ul li {\n opacity: 1;\n transform: translateX(5px);\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=hidden] {\n animation: BubbleMenu-module_hide-background__ESkim 300ms ease-in-out forwards;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=hidden] ul li {\n opacity: 0;\n transform: translateX(-110px);\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=idle] {\n width: 0vw;\n height: 0vh;\n background-color: transparent;\n}\n.BubbleMenu-module_menu-container__xrNNC[data-status=idle] ul li {\n opacity: 0;\n transform: translateX(-110px);\n}\n.BubbleMenu-module_menu-container__xrNNC ul {\n list-style: none;\n padding-inline-start: 0px;\n margin: 0;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li {\n width: -moz-fit-content;\n width: fit-content;\n transition: all 300ms ease-in-out;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li button {\n border-width: 3px;\n border-style: solid;\n border-color: #959595;\n box-shadow: 3px 3px 4px 1px rgba(90, 90, 90, 0.3);\n color: #959595;\n background-color: rgba(255, 255, 255, 0.9);\n -webkit-tap-highlight-color: transparent;\n -webkit-user-select: none;\n user-select: none;\n cursor: pointer;\n transition: all 100ms ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100px;\n height: 100px;\n margin: 15px 0px;\n border-radius: 50px;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li button svg {\n min-width: 40px;\n min-height: 40px;\n}\n.BubbleMenu-module_menu-container__xrNNC ul li button:active {\n transform: translate(1px, 1px);\n box-shadow: 1px 1px 2px rgba(90, 90, 90, 0.3);\n}\n\n.BubbleMenu-module_menu-button__I5R0w {\n position: fixed;\n z-index: 101;\n top: 30px;\n left: 10px;\n width: 50px;\n height: 50px;\n background-color: rgba(255, 255, 255, 0.7);\n border-radius: 25px;\n border-width: 3px;\n border-style: solid;\n border-color: #959595;\n box-shadow: 3px 3px 4px 1px rgba(90, 90, 90, 0.3);\n color: #959595;\n background-color: rgba(255, 255, 255, 0.9);\n -webkit-tap-highlight-color: transparent;\n -webkit-user-select: none;\n user-select: none;\n cursor: pointer;\n transition: all 100ms ease-in-out;\n}\n.BubbleMenu-module_menu-button__I5R0w svg {\n position: absolute;\n top: 2px;\n left: 0;\n width: 100%;\n height: 34px;\n color: #0d280b;\n}\n.BubbleMenu-module_menu-button__I5R0w svg path {\n transition: all 0.3s ease-in-out;\n}\n.BubbleMenu-module_menu-button__I5R0w p {\n position: absolute;\n top: 30px;\n left: 0;\n width: 100%;\n margin: 0;\n text-align: center;\n color: #0d280b;\n font-size: 10px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n}\n.BubbleMenu-module_menu-button__I5R0w:active {\n transform: translate(1px, 1px);\n box-shadow: 1px 1px 2px rgba(90, 90, 90, 0.3);\n}\n\n@keyframes BubbleMenu-module_show-background__Qz4-v {\n 0% {\n background-color: transparent;\n min-width: 0vw;\n }\n 1% {\n background-color: transparent;\n min-width: 100vw;\n }\n 100% {\n background-color: rgba(0, 0, 0, 0.3);\n min-width: 100vw;\n }\n}\n@keyframes BubbleMenu-module_hide-background__ESkim {\n 0% {\n background-color: rgba(0, 0, 0, 0.3);\n min-width: 100vw;\n }\n 99% {\n background-color: transparent;\n min-width: 100vw;\n }\n 100% {\n background-color: transparent;\n min-width: 0vw;\n }\n}");const x={en:{menu:"menu",close:"close"},es:{menu:"menú",close:"cerrar"}},w=({options:t,language:a="en"})=>{const[o,r]=n(null);return e.createElement(l,null,e.createElement("button",{type:"button",title:"menu",className:v,onClick:()=>r(!o)},o?e.createElement(i,null):e.createElement(p,null),e.createElement("p",null,o?x[a].close:x[a].menu)),e.createElement("section",{className:S,"data-status":!0===o?"visible":!1===o?"hidden":"idle",onClick:()=>r(!1)},e.createElement("ul",null,t.filter((e=>e.visible)).map(((n,l)=>e.createElement("li",{key:n.text,style:{transitionDelay:100*l+"ms"}},e.createElement("button",{onClick:()=>setTimeout(n.optionCallback,300+100*t.length)},n.icon,n.text)))))))};var C="CalendarDatePicker-module_calendar-date-picker__-G7aY",k="CalendarDatePicker-module_today-button__YgI7t",M="CalendarDatePicker-module_month-and-year__LHJ8I",E="CalendarDatePicker-module_month-input__sFUHA",D="CalendarDatePicker-module_week-days__j2XJ-";y('@property --angle {\n sintax: "<angle>";\n inherits: false;\n initial-value: 270deg;\n}\n@property --color-default {\n sintax: "<color>";\n inherits: false;\n initial-value: white;\n}\n@property --color-selected {\n sintax: "<color>";\n inherits: false;\n initial-value: #e3f3e3;\n}\n@property --percentage-default {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --percentage-selected {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 0%;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY {\n position: relative;\n font-family: Arial, Helvetica, sans-serif;\n width: 390px;\n color: #959595;\n font-weight: 600;\n font-style: normal;\n line-height: normal;\n -webkit-tap-highlight-color: transparent;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_today-button__YgI7t {\n position: absolute;\n top: 0px;\n right: 5px;\n border: solid 2px #787878;\n border-radius: 6px;\n padding: 4px 8px;\n font-size: 18px;\n background-color: white;\n color: #787878;\n transition: all 0.1s ease-in-out;\n cursor: pointer;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_today-button__YgI7t:hover {\n background-color: #f3f3f3;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_today-button__YgI7t:active {\n background-color: #cfcfcf;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n text-align: center;\n font-size: 22px;\n padding: 10px 0px;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA {\n width: fit-content;\n background-color: transparent;\n border: transparent;\n text-align: right;\n font-size: 24px;\n margin-right: 10px;\n color: #959595;\n cursor: pointer;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA:focus {\n outline: transparent;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA option {\n background-color: white;\n color: #959595;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_month-and-year__LHJ8I .CalendarDatePicker-module_month-input__sFUHA option:disabled {\n color: #cfcfcf;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_week-days__j2XJ- {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #ebebeb;\n}\n.CalendarDatePicker-module_calendar-date-picker__-G7aY .CalendarDatePicker-module_week-days__j2XJ- p {\n width: 14.2857142857%;\n margin: 0px;\n text-align: center;\n}');var N="InputBoxWithConfirmation-module_div-wrapper__DdQ1-",z="InputBoxWithConfirmation-module_focused__C6kd0",I="InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN",W="InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y";function F(e,n,l=[]){t((()=>{function t(t){e.current&&!e.current.contains(t.target)&&l.every((e=>e.current!==t.target))&&n()}return document.addEventListener("mousedown",t),()=>{document.removeEventListener("mousedown",t)}}),[e,n,l])}y(".InputBoxWithConfirmation-module_div-wrapper__DdQ1- {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n border: solid 1px rgb(184, 184, 184);\n background-color: rgb(250, 250, 250);\n border-radius: 8px;\n transition: border 0.3s;\n cursor: text;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1-.InputBoxWithConfirmation-module_focused__C6kd0 {\n border-color: #218dec;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN {\n box-sizing: border-box;\n padding: 10px 2ch;\n min-width: 10ch;\n text-align: center;\n border: none;\n background-color: transparent;\n font-size: 16px;\n font-weight: 600;\n color: dimgray;\n transition: all 0.2s;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN::-webkit-inner-spin-button {\n display: none;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_input-box-with-confirmation__W4NkN:focus {\n outline: none;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y {\n position: absolute;\n right: 0px;\n background-color: transparent;\n color: rgb(158, 158, 158);\n width: 32px;\n height: 32px;\n border-radius: 16px;\n font-size: 16px;\n border: none;\n cursor: pointer;\n transition: all 0.2s;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y:focus {\n outline: none;\n}\n.InputBoxWithConfirmation-module_div-wrapper__DdQ1- .InputBoxWithConfirmation-module_button-for-input-box-with-confirmation__qUi-Y:hover {\n background-color: rgb(241, 241, 241);\n color: var(--primary-color);\n}");const T=({onConfirmAction:o,inputType:r="text",minimumValue:i="",maximumValue:s="",maxLength:u,placeholder:_="",divWrapperCustomStyle:m,inputBoxCustomStyle:p,defaultValue:b,overrideCurrentValue:g,showConfirmationButton:h,disabled:f})=>{const y=a(null),S=a(null),[v,x]=n(void 0!==b?String(b):""),[w,C]=n(void 0!==b?String(b):""),[k,M]=n(!1),E=()=>{if(!w&&"0"!==w&&""!==w)return v;if("number"===r){let e=Number(w);return""!==i&&e<Number(i)?e=Number(i):""!==s&&e>Number(s)&&(e=Number(s)),String(e)}return w},D=()=>{const e=E();C(e),e&&(o(e),x(e))};return F(S,(()=>{k&&(h?C(v):D(),M(!1))})),t((()=>{void 0!==g?(C(String(g)),x(String(g))):null===g&&(C(""),x(""))}),[g]),e.createElement("div",{ref:S,style:m,className:`${N} ${k?z:""}`,onClick:()=>{y.current&&y.current.focus()}},e.createElement("input",{ref:y,disabled:f,className:I,type:r,style:Object.assign({width:`${((null==w?void 0:w.length)?w.length:0)+7}ch`},p),min:i,max:s,maxLength:u,placeholder:_,value:k?w:v,onClick:e=>{e.stopPropagation()},onChange:e=>{let n=e.target.value;u&&n.length>u&&(n=n.slice(0,u)),C(n)},onFocus:e=>{x(e.target.value),C(e.target.value),M(!0)},onKeyDown:e=>{"Enter"===e.key||"NumpadEnter"===e.key||"Tab"===e.key?(D(),M(!1),y.current&&y.current.blur()):"Escape"!==e.key&&"Esc"!==e.key||(C(v),M(!1),y.current&&y.current.blur())}}),!f&&h&&e.createElement(l,null,k?e.createElement("button",{title:"Confirm",type:"button",className:W,onClick:()=>{D(),M(!1)}},e.createElement(d,null)):e.createElement("button",{title:"Edit",type:"button",className:W,onClick:()=>{y.current&&y.current.focus()}},e.createElement(c,null))))};var O={"calendar-scrollable-section":"CalendarScrollableSection-module_calendar-scrollable-section__uzWbW","days-grid":"CalendarScrollableSection-module_days-grid__lN--o","days-row":"CalendarScrollableSection-module_days-row__wqsnT","day-cell":"CalendarScrollableSection-module_day-cell__CvovF",day:"CalendarScrollableSection-module_day__dS5iz",background:"CalendarScrollableSection-module_background__EwVgU","first-half":"CalendarScrollableSection-module_first-half__p9Eie","second-half":"CalendarScrollableSection-module_second-half__fyESG",today:"CalendarScrollableSection-module_today__zqpHy","in-month":"CalendarScrollableSection-module_in-month__vbbx-","not-in-month":"CalendarScrollableSection-module_not-in-month__-3eLq",selected:"CalendarScrollableSection-module_selected__y4L6S","check-in":"CalendarScrollableSection-module_check-in__Nl1mo","check-out":"CalendarScrollableSection-module_check-out__ShFpZ","not-selectable":"CalendarScrollableSection-module_not-selectable__mba-l","out-of-selection":"CalendarScrollableSection-module_out-of-selection__Upoeg","cross-line":"CalendarScrollableSection-module_cross-line__lsB3g",crossed:"CalendarScrollableSection-module_crossed__trZeE"};function G(e){return 0===e.getDay()?6:e.getDay()-1}function L(e){const n=e=>Number(e)<10?"-0":"-";return e.getFullYear().toString().concat(n(e.getMonth()+1),(e.getMonth()+1).toString().concat(n(e.getDate()),e.getDate().toString()))}y('@property --angle {\n sintax: "<angle>";\n inherits: false;\n initial-value: 270deg;\n}\n@property --color-default {\n sintax: "<color>";\n inherits: false;\n initial-value: white;\n}\n@property --color-selected {\n sintax: "<color>";\n inherits: false;\n initial-value: #e3f3e3;\n}\n@property --percentage-default {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --percentage-selected {\n sintax: "<percentage>";\n inherits: false;\n initial-value: 0%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW {\n width: 100%;\n aspect-ratio: 1/1;\n overflow-y: scroll;\n -ms-overflow-style: none;\n scrollbar-width: none;\n border-bottom: 1px solid #ebebeb;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW::-webkit-scrollbar {\n display: none;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o {\n width: 100%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 14.2857142857%;\n aspect-ratio: 1/1;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz {\n position: relative;\n --angle: 270deg;\n --color-default: #f3f3f3;\n --color-selected: #b7d4b6;\n --percentage-default: 100%;\n --percentage-selected: 0%;\n display: flex;\n align-items: center;\n justify-content: center;\n width: calc(100% - 8px);\n height: calc(100% - 8px);\n margin: 0px;\n border-radius: 1000px;\n overflow: hidden;\n user-select: none;\n transition: all 0.5s ease-in-out;\n cursor: pointer;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz p {\n z-index: 2;\n margin: 0px;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz .CalendarScrollableSection-module_background__EwVgU {\n z-index: 1;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n transform: rotate(var(--angle));\n transition: all 0.5s ease-in-out;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz .CalendarScrollableSection-module_background__EwVgU .CalendarScrollableSection-module_first-half__p9Eie {\n width: var(--percentage-default);\n height: 100%;\n background-color: var(--color-default);\n transition: all 0.3s ease-in-out;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz .CalendarScrollableSection-module_background__EwVgU .CalendarScrollableSection-module_second-half__fyESG {\n width: var(--percentage-selected);\n height: 100%;\n background-color: var(--color-selected);\n transition: all 0.3s ease-in-out;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_today__zqpHy {\n outline: solid 2px #787878;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_in-month__vbbx- {\n color: var(--medium-gray, #787878);\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_not-in-month__-3eLq {\n opacity: 0.35;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_selected__y4L6S {\n --percentage-default: 0%;\n --percentage-selected: 100%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_check-in__Nl1mo {\n --angle: 405deg;\n --color-default: #f3f3f3;\n --percentage-default: 50%;\n --percentage-selected: 50%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_check-out__ShFpZ {\n --angle: 225deg;\n --color-default: #f3f3f3;\n --percentage-default: 50%;\n --percentage-selected: 50%;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_not-selectable__mba-l {\n cursor: not-allowed;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_day__dS5iz.CalendarScrollableSection-module_out-of-selection__Upoeg {\n opacity: 0.1;\n cursor: not-allowed;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF .CalendarScrollableSection-module_cross-line__lsB3g {\n z-index: 2;\n position: absolute;\n width: 120%;\n height: 3px;\n background-color: #bbb;\n transform: rotate(-45deg);\n display: none;\n}\n.CalendarScrollableSection-module_calendar-scrollable-section__uzWbW .CalendarScrollableSection-module_days-grid__lN--o .CalendarScrollableSection-module_days-row__wqsnT .CalendarScrollableSection-module_day-cell__CvovF.CalendarScrollableSection-module_crossed__trZeE .CalendarScrollableSection-module_cross-line__lsB3g {\n display: block;\n}');const j=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],R=["january","february","march","april","may","june","july","august","september","october","november","december"];function Y(e,n){return`${("es_ES"===n?j:R)[e.getMonth()]} ${e.getFullYear()}`}function B(e){const n=(l=e,new Date(l.getFullYear(),l.getMonth()+1,0).getDate());var l;const t=e.getFullYear(),a=e.getMonth(),o=n-(7-G(new Date(t,a,1)));return Math.ceil(o/7)+1}const A=(e,n)=>{const l=(n,l)=>{const t=new Date(n,l,1),a=new Date(e.minimumDate.getFullYear(),e.minimumDate.getMonth(),1),o=new Date(e.maximumDate.getFullYear(),e.maximumDate.getMonth()+1,0),r=t.valueOf()<a.valueOf(),i=t.valueOf()>o.valueOf();return!r&&!i},t={setMonth:()=>l(e.year,n.value)?Object.assign(Object.assign({},e),{month:n.value}):Object.assign({},e),setYear:()=>l(n.value,e.month)?Object.assign(Object.assign({},e),{year:n.value}):Object.assign({},e),setMinimumDate:()=>Object.assign(Object.assign({},e),{minimumDate:new Date(n.value)}),setMaximumdate:()=>Object.assign(Object.assign({},e),{maximumDate:new Date(n.value)}),changeByMonthOffset:()=>{const t=new Date(e.year,e.month+n.value,1);return l(e.year,e.month+n.value)?Object.assign(Object.assign({},e),{year:t.getFullYear(),month:t.getMonth()}):Object.assign({},e)}}[n.type]();return t||Object.assign({},e)},H=({dates:n,month:l,year:r,mode:i,onSelectedDatesChange:d,onFocusedMonth:c,customDates:s=[],minimumDate:u=new Date(1970,0,1),maximumDate:_=new Date((new Date).getFullYear()+100,1,1)})=>{const[m,p]=o(A,{month:l,year:r,minimumDate:u,maximumDate:_}),b=a(null),g=e=>!s.some((n=>n.dates.some((n=>n.valueOf()===e.valueOf()))&&!n.selectable)),h=e=>{let n=O["day-cell"];return s.some((n=>n.dates.some((n=>n.valueOf()===e.valueOf()))&&n.crossed))&&(n+=` ${O.crossed}`),n},f=e=>{let l=O.day;L(e)===L(new Date)&&(l+=` ${O.today}`),e.getMonth()===m.month?l+=` ${O["in-month"]}`:l+=` ${O["not-in-month"]}`;const t=n.some((n=>n.valueOf()===e.valueOf())),a=("range"===i||"booking"===i)&&2===n.length&&n[0].valueOf()<e.valueOf()&&e.valueOf()<n[1].valueOf();if((t||a)&&(l+=` ${O.selected}`),"booking"===i){2===n.length&&e.valueOf()===n[0].valueOf()&&(l+=` ${O["check-in"]}`);2===n.length&&e.valueOf()===n[1].valueOf()&&(l+=` ${O["check-out"]}`)}g(e)?l+=` ${O.selectable}`:l+=` ${O["not-selectable"]}`;return(e.valueOf()<u.valueOf()||e.valueOf()>_.valueOf())&&(l+=` ${O["out-of-selection"]}`),l},y=e=>{const n=s.find((n=>n.dates.some((n=>n.valueOf()===e.valueOf()))));return n?{backgroundColor:n.color}:void 0};return t((()=>{b.current&&(b.current.scrollTop=b.current.scrollHeight/5*2)}),[]),t((()=>{c(m.month,m.year)}),[m.year,m.month,c]),e.createElement("section",{ref:b,className:O["calendar-scrollable-section"],onScroll:e=>{const n=e.target,l=n.scrollHeight/5,t=1.25*l,a=2.75*l;n.scrollTop<t&&p({type:"changeByMonthOffset",value:-1}),n.scrollTop>a&&p({type:"changeByMonthOffset",value:1})}},Array(5).fill(0).map(((l,t)=>{const a=t-2,o=new Date(m.year,m.month+a,1),r=0===new Date(m.year,m.month+a+1,0).getDay();let c=B(o);r||(c-=1);const p=G(o);return e.createElement("div",{className:O["days-grid"],key:`grid:${L(o)}}`},Array(c).fill(0).map(((l,t)=>e.createElement("div",{className:O["days-row"],key:`grid:${L(o)}-row:${t}`},Array(7).fill(0).map(((l,o)=>{const r=m.month+a,c=7*t+o+1-p,b=new Date(m.year,r,c);return e.createElement("div",{className:h(b),key:L(b),onClick:()=>(e=>{if(s.forEach((n=>{n.dates.some((n=>n.valueOf()===e.valueOf()))&&(n.clickSideEffect&&n.clickSideEffect(e),n.clearSelectionIfClicked)&&d([])})),!g(e))return;if(e.valueOf()<u.valueOf()||e.valueOf()>_.valueOf())return;let l=[...n];"single"===i&&(l=[e]),"multiple"===i&&(l=n.some((n=>n.valueOf()===e.valueOf()))?n.filter((n=>n.valueOf()!==e.valueOf())):[...n,e]),"range"===i&&(l=0===n.length?[e]:1===n.length?n[0].valueOf()<e.valueOf()?[...n,e]:[e,n[0]]:[]),"booking"===i&&(l=0===n.length?[e]:n[0].valueOf()===e.valueOf()?[]:1===n.length?n[0].valueOf()<e.valueOf()?[...n,e]:[e,n[0]]:[]),d(l)})(b)},e.createElement("div",{className:O["cross-line"]}),e.createElement("div",{className:f(b)},e.createElement("div",{className:O.background},e.createElement("div",{className:O["first-half"],style:y(b)}),e.createElement("div",{className:O["second-half"],style:y(b)})),e.createElement("p",null,b.getDate())))}))))))})))},P={en:{january:"january",february:"february",march:"march",april:"april",may:"may",june:"june",july:"july",august:"august",september:"september",october:"october",november:"november",december:"december",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday",today:"today"},es:{january:"enero",february:"febrero",march:"marzo",april:"abril",may:"mayo",june:"junio",july:"julio",august:"agosto",september:"septiembre",october:"octubre",november:"noviembre",december:"diciembre",monday:"lunes",tuesday:"martes",wednesday:"miércoles",thursday:"jueves",friday:"viernes",saturday:"sábado",sunday:"domingo",today:"hoy"}},J=(e,n)=>{switch(e){case 0:return P[n].january;case 1:return P[n].february;case 2:return P[n].march;case 3:return P[n].april;case 4:return P[n].may;case 5:return P[n].june;case 6:return P[n].july;case 7:return P[n].august;case 8:return P[n].september;case 9:return P[n].october;case 10:return P[n].november;case 11:return P[n].december;default:return""}},$=({mode:l,onSelectedDatesChange:t=(()=>{}),language:a="en",customDates:o=[],minimumDate:r=new Date(1970,0,1),maximumDate:i=new Date((new Date).getFullYear()+100,1,1),customStyle:d})=>{const[c,s]=n([]),[u,_]=n((new Date).getFullYear()),[m,p]=n((new Date).getMonth()),[b,g]=n(Math.random()),h=e=>{const n=new Date(r.getFullYear(),r.getMonth(),1),l=new Date(i.getFullYear(),i.getMonth()+1,0),t=e.valueOf()>=n.valueOf(),a=e.valueOf()<=l.valueOf();return t&&a};return e.createElement("div",{className:C,style:d},e.createElement("button",{className:k,onClick:()=>{const e=new Date;h(e)&&(p(e.getMonth()),_(e.getFullYear()),g(Math.random()))}},P[a].today.slice(0,1).toUpperCase()+P[a].today.slice(1)),e.createElement("section",{className:M},e.createElement("select",{style:{fontFamily:null==d?void 0:d.fontFamily},className:E,value:m,onChange:e=>{const n=Number(e.target.value);p(n),g(Math.random())}},Array(12).fill(0).map(((n,l)=>{const t=new Date(u,l,1),o=!h(t);return e.createElement("option",{key:J(l,a),value:l,disabled:o},J(l,a))}))),e.createElement(T,{inputType:"number",divWrapperCustomStyle:{width:"4ch",border:"none",backgroundColor:"transparent",fontFamily:null==d?void 0:d.fontFamily},inputBoxCustomStyle:{padding:0,fontFamily:null==d?void 0:d.fontFamily,fontSize:24},maxLength:4,defaultValue:u.toString(),overrideCurrentValue:u.toString(),minimumValue:r.getFullYear().toString(),maximumValue:i.getFullYear().toString(),onConfirmAction:e=>{let n=Number(e);const l=new Date(n,m,1);h(l)?(_(n),g(Math.random())):l.valueOf()<r.valueOf()?(_(r.getFullYear()),p(r.getMonth()),g(Math.random())):l.valueOf()>i.valueOf()&&(_(i.getFullYear()),p(i.getMonth()),g(Math.random()))}})),e.createElement("section",{className:D},e.createElement("p",null,P[a].monday.slice(0,1).toUpperCase()),e.createElement("p",null,P[a].tuesday.slice(0,1).toUpperCase()),e.createElement("p",null,P[a].wednesday.slice(0,1).toUpperCase()),e.createElement("p",null,P[a].thursday.slice(0,1).toUpperCase()),e.createElement("p",null,P[a].friday.slice(0,1).toUpperCase()),e.createElement("p",null,P[a].saturday.slice(0,1).toUpperCase()),e.createElement("p",null,P[a].sunday.slice(0,1).toUpperCase())),e.createElement(H,{key:b,dates:c,year:u,month:m,mode:l,onSelectedDatesChange:e=>{t(e),s(e)},onFocusedMonth:(e,n)=>{p(e),_(n)},customDates:o,minimumDate:r,maximumDate:i}))};var Z="IntegerControl-module_integer-control__-tzTl",X="IntegerControl-module_default__FJoED";y(".IntegerControl-module_integer-control__-tzTl {\n display: flex;\n align-items: center;\n -webkit-tap-highlight-color: transparent;\n}\n.IntegerControl-module_integer-control__-tzTl button {\n border: none;\n background: none;\n padding: 0;\n margin: 0;\n}\n.IntegerControl-module_integer-control__-tzTl button svg {\n height: 44px;\n width: 44px;\n fill: #c9c9c9;\n transition: fill 100ms ease-in-out;\n cursor: pointer;\n}\n.IntegerControl-module_integer-control__-tzTl button svg:active {\n fill: #787878;\n}\n.IntegerControl-module_integer-control__-tzTl input {\n border: none;\n background: none;\n padding: 0;\n color: #414141;\n text-align: center;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 32px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n min-width: 50px;\n transition: color 300ms ease-in-out;\n}\n.IntegerControl-module_integer-control__-tzTl input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.IntegerControl-module_integer-control__-tzTl input:focus {\n outline: transparent;\n}\n.IntegerControl-module_integer-control__-tzTl.IntegerControl-module_default__FJoED input {\n color: #787878;\n}");const q=({onChange:l=(()=>{}),defaultValue:t=0,minimumValue:a,maximumValue:o,customStyle:r})=>{const[i,d]=n(t),c=e=>{let n=e;(a||0===a)&&e<a?n=a:(o||0===o)&&e>o&&(n=o),d(n),l(n)};return e.createElement("div",{className:`${Z} ${i===t?X:""}`,style:r},e.createElement("button",{onClick:()=>c(i-1)},e.createElement(b,null)),e.createElement("input",{onChange:e=>c(Number(e.target.value)),value:i,type:"number",min:String(a),max:String(o),style:{width:i.toString().length+1+"ch"}}),e.createElement("button",{onClick:()=>c(i+1)},e.createElement(g,null)))};var V="LabeledInput-module_labeled-input__xzE4h",U="LabeledInput-module_error-message__5-9lv";y(".LabeledInput-module_labeled-input__xzE4h {\n position: relative;\n border-radius: 8px;\n border: 2px solid #959595;\n padding: 0px 28px;\n background: #fff;\n box-sizing: border-box;\n transition: all 200ms ease-in-out;\n cursor: pointer;\n}\n.LabeledInput-module_labeled-input__xzE4h label {\n z-index: 1;\n position: absolute;\n color: #959595;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n top: 50%;\n left: 28px;\n padding: 0;\n height: 2px;\n display: flex;\n align-items: center;\n transition: all 250ms ease-in-out;\n -webkit-user-select: none;\n user-select: none;\n}\n.LabeledInput-module_labeled-input__xzE4h label[data-is-shrinked=true] {\n top: -2px;\n left: 10px;\n font-weight: 600;\n font-size: 12px;\n padding: 0px 5px;\n}\n.LabeledInput-module_labeled-input__xzE4h input {\n z-index: 2;\n position: absolute;\n top: calc(50% - 12px);\n height: 24px;\n width: calc(100% - 56px);\n border: none;\n outline: transparent;\n background: transparent;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n color: #959595;\n padding: 0;\n cursor: pointer;\n}\n.LabeledInput-module_labeled-input__xzE4h input:focus {\n outline: transparent;\n cursor: text;\n}\n.LabeledInput-module_labeled-input__xzE4h[data-has-error=true] {\n border-color: #f34d1b;\n}\n.LabeledInput-module_labeled-input__xzE4h[data-has-error=true] label {\n color: #e17959;\n}\n.LabeledInput-module_labeled-input__xzE4h .LabeledInput-module_error-message__5-9lv {\n position: absolute;\n margin: 0;\n top: calc(100% + 5px);\n left: 5px;\n color: #f34d1b;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n padding: 0;\n transition: all 200ms ease-in-out;\n}");const Q=({label:l,defaultValue:o,onChange:r=(()=>{}),width:i="328px",height:d="66px",backgroundColor:c="white",textAlign:s="left",highlightError:u=!1,errorMessage:_,inputProps:m,specialType:p})=>{const b=a(null),[g,h]=n(!1);return t((()=>{o&&h(!0)}),[o]),e.createElement("div",{className:V,"data-has-error":u,onClick:()=>{b.current&&b.current.focus()},style:{width:i,height:d,backgroundColor:c}},e.createElement("label",{"data-is-shrinked":g,style:{backgroundColor:c}},l),e.createElement("input",Object.assign({ref:b},m,{onFocus:()=>h(!0),onBlur:e=>{e.target.value||h(!1)},defaultValue:o,onChange:e=>{let n=e.target.value;switch(p){case"credit-card-number":n=(e=>{var n;const l=e.replace(/\D/g,"").slice(0,16);let t=l.match(/.{1,4}/g);return 15===l.length&&(t=[l.slice(0,5),l.slice(5,11),l.slice(11,16)]),null!==(n=null==t?void 0:t.join(" "))&&void 0!==n?n:""})(n);break;case"expiration-date":n=(e=>{var n;const l=e.replace(/\D/g,"").slice(0,4).match(/.{1,2}/g);return null!==(n=null==l?void 0:l.join(" / "))&&void 0!==n?n:""})(n);break;case"cvv":n=(e=>e.replace(/\D/g,"").slice(0,4))(n);break;case"phone":n=(e=>(e.startsWith("+")?"+":"")+e.replace(/\D/g,"").slice(0,15))(n)}e.target.value=n,r(n)},style:{textAlign:s}})),u&&_&&e.createElement("p",{className:U},_))};var K={"blured-background":"Modal-module_blured-background__Vw4vW","modal-appear":"Modal-module_modal-appear__XBiM-","modal-disappear":"Modal-module_modal-disappear__Ik1hU"};y(".Modal-module_blured-background__Vw4vW {\n position: fixed;\n width: 100vw;\n height: 100vh;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n top: 0;\n left: 0;\n z-index: 1010;\n opacity: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n animation-duration: 450ms;\n animation-fill-mode: forwards;\n}\n.Modal-module_blured-background__Vw4vW[data-is-visible=true] {\n animation-name: Modal-module_modal-appear__XBiM-;\n}\n.Modal-module_blured-background__Vw4vW[data-is-visible=false] {\n animation-name: Modal-module_modal-disappear__Ik1hU;\n}\n\n@keyframes Modal-module_modal-appear__XBiM- {\n 0% {\n opacity: 0;\n -webkit-backdrop-filter: blur(0px);\n backdrop-filter: blur(0px);\n }\n 100% {\n opacity: 1;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n }\n}\n@keyframes Modal-module_modal-disappear__Ik1hU {\n 0% {\n opacity: 1;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n }\n 100% {\n opacity: 0;\n -webkit-backdrop-filter: blur(0px);\n backdrop-filter: blur(0px);\n }\n}");const ee=({children:l,overrideOpenState:a=!1,forced:o=!1,onOpen:r,onClose:i})=>{const[d,c]=n(a),[s,u]=n(a);return t((()=>{a?(c(!0),r&&r()):a||(c(!1),i&&i())}),[a,r,i]),t((()=>{d?u(!0):d||setTimeout((()=>{u(!1)}),500)}),[d]),s?h.createPortal(e.createElement("div",{className:K["blured-background"],"data-is-visible":d,onClick:()=>{o||(c(!1),i&&i())}},e.createElement("div",null,e.createElement("div",{className:K.modal,"data-closed":!a,onClick:e=>{e.stopPropagation()}},l))),document.getElementById("root")||document.body):e.createElement(e.Fragment,null)},ne=864e5;function le(e,n,l,t){null!==n.current&&(n.current.scrollLeft=(Date.parse(e.toString())-(Date.parse((new Date).toString())-l*ne))/ne*t)}function te(n,l,t){let a=Date.parse((new Date).toString())-n*ne,o=Date.parse((new Date).toString())+l*ne,r=[],i=[];for(let n=0;n*ne+a<o;n++){let l=new Date(ne*n+a),o=l;o.setDate(1),o.setHours(12,0,0,0);let d=Y(l,t);i.includes(d)||(i.push(d),r.push(e.createElement("option",{key:L(o),value:L(o)},d)))}return r}var ae={multicalendar:"Multicalendar-module_multicalendar__koIJg","div-upper-left-component":"Multicalendar-module_div-upper-left-component__BL2vu",controls:"Multicalendar-module_controls__Ryigr","div-dates-navigation":"Multicalendar-module_div-dates-navigation__N4Dna","div-aditional-controls-components":"Multicalendar-module_div-aditional-controls-components__ElQQF","vertical-axis":"Multicalendar-module_vertical-axis__otLXf","div-list-element-column":"Multicalendar-module_div-list-element-column__MSfNT","horizontal-axis":"Multicalendar-module_horizontal-axis__cn4Nh","div-weeks-buttons":"Multicalendar-module_div-weeks-buttons__37T5W","past-week-button":"Multicalendar-module_past-week-button__X8k5t","next-week-button":"Multicalendar-module_next-week-button__l1DCS","div-dates-row":"Multicalendar-module_div-dates-row__5CKuX","div-main-container":"Multicalendar-module_div-main-container__wMIlM","main-container":"Multicalendar-module_main-container__DZjT2"};y('.Multicalendar-module_multicalendar__koIJg {\n display: grid;\n color: black;\n width: 100%;\n height: 100%;\n grid-template-areas: "fil con" "fil hor" "ver gri";\n text-align: center;\n transition: 0.5s;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_div-upper-left-component__BL2vu {\n grid-area: fil;\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 2;\n background-color: white;\n border-bottom: 1px solid rgb(235, 235, 235);\n border-right: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr {\n grid-area: con;\n height: 100%;\n padding: 2px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap-reverse;\n box-sizing: border-box;\n border-bottom: var(--border-tenues);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr .Multicalendar-module_div-dates-navigation__N4Dna {\n display: flex;\n align-items: center;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr .Multicalendar-module_div-dates-navigation__N4Dna button {\n cursor: pointer;\n margin: 0px;\n position: relative;\n text-align: center;\n text-decoration: none;\n border: 1px solid rgb(216, 216, 216);\n padding: 4px 8px;\n box-sizing: border-box;\n color: black;\n font-size: 14px;\n touch-action: manipulation;\n border-radius: 6px;\n background: rgb(255, 255, 255);\n font-weight: normal;\n height: calc(100% - 16px);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_controls__Ryigr .Multicalendar-module_div-aditional-controls-components__ElQQF {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n flex-grow: 1;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_div-upper-left-component__BL2vu {\n grid-area: fil;\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 2;\n background-color: white;\n border-bottom: 1px solid rgb(235, 235, 235);\n border-right: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n display: flex;\n flex-flow: column;\n justify-content: flex-end;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_vertical-axis__otLXf {\n grid-area: ver;\n position: relative;\n width: 100%;\n height: 100%;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 16px 5px;\n z-index: 1;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_vertical-axis__otLXf .Multicalendar-module_div-list-element-column__MSfNT {\n height: 100%;\n overflow-y: scroll;\n box-sizing: border-box;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh {\n grid-area: hor;\n position: relative;\n max-width: 100%;\n height: 90px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 74px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t,\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS {\n z-index: 2;\n position: absolute;\n background-color: transparent;\n border: none;\n height: 100%;\n width: 32px;\n font-size: 1em;\n color: var(--primary-color);\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.3s;\n height: 75%;\n background: rgb(255, 255, 255);\n box-shadow: 0px 0px 8px 8px white;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t:hover,\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS:hover {\n background: rgb(247, 247, 247);\n box-shadow: 0px 0px 8px 8px rgb(247, 247, 247);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t:active,\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS:active {\n background: rgb(167, 167, 167);\n box-shadow: 0px 0px 8px 8px rgb(167, 167, 167);\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_past-week-button__X8k5t {\n left: 5px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-weeks-buttons__37T5W .Multicalendar-module_next-week-button__l1DCS {\n right: 5px;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_horizontal-axis__cn4Nh .Multicalendar-module_div-dates-row__5CKuX {\n position: absolute;\n bottom: 0;\n width: 100%;\n overflow-x: scroll;\n border-bottom: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_div-main-container__wMIlM {\n grid-area: gri;\n height: 100%;\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n.Multicalendar-module_multicalendar__koIJg .Multicalendar-module_main-container__DZjT2 {\n position: relative;\n min-width: 100%;\n height: 100%;\n overflow-x: scroll;\n}');var oe="DatesRow-module_dates-row__roAc0",re="DatesRow-module_date-cell__xzHPT",ie="DatesRow-module_div-date-cell__M2v60",de="DatesRow-module_month-start__5FSLx";y(".DatesRow-module_dates-row__roAc0 {\n box-sizing: border-box;\n display: flex;\n flex-flow: row;\n overflow-y: hidden;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT {\n position: relative;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60 {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 48px;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60[data-is-today=true] {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 48px;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60[data-is-today=true] div {\n border-radius: 4px;\n background: var(--primary-color, dimgray);\n color: rgb(255, 255, 255);\n font-size: 14px;\n line-height: 18px;\n font-weight: 800;\n width: 40px;\n height: 40px;\n padding: 1px 0;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_div-date-cell__M2v60 p {\n margin: 0;\n font-size: 14px;\n line-height: 18px;\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_month-start__5FSLx {\n position: absolute;\n top: 0;\n height: 100%;\n box-sizing: border-box;\n border-left: 1px solid rgb(235, 235, 235);\n}\n.DatesRow-module_dates-row__roAc0 .DatesRow-module_date-cell__xzHPT .DatesRow-module_month-start__5FSLx p {\n margin: 0;\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n white-space: nowrap;\n padding-left: 8px;\n padding-top: 8px;\n}");const ce=({visibleDates:n,width:l,height:t,cellsWidth:a,cellsHeight:o,offset:r,language:i})=>{const d={en_EN:{sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December"},es_ES:{sunday:"Domingo",monday:"Lunes",tuesday:"Martes",wednesday:"Miércoles",thursday:"Jueves",friday:"Viernes",saturday:"Sábado",january:"Enero",february:"Febrero",march:"Marzo",april:"Abril",may:"Mayo",june:"Junio",july:"Julio",august:"Agosto",september:"Septiembre",october:"Octubre",november:"Noviembre",december:"Diciembre"}},c=[d[i].sunday.slice(0,2),d[i].monday.slice(0,2),d[i].tuesday.slice(0,2),d[i].wednesday.slice(0,2),d[i].thursday.slice(0,2),d[i].friday.slice(0,2),d[i].saturday.slice(0,2)],s=[d[i].january,d[i].february,d[i].march,d[i].april,d[i].may,d[i].june,d[i].july,d[i].august,d[i].september,d[i].october,d[i].november,d[i].december];return e.createElement("div",{className:oe,style:{width:l,height:t,paddingLeft:r*a}},n.length>0&&n.map((n=>e.createElement("div",{key:n.toString(),className:re,style:{width:a,height:o}},e.createElement("div",{className:ie,"data-is-today":n.getDate()===(new Date).getDate()&&n.getMonth()===(new Date).getMonth()&&n.getFullYear()===(new Date).getFullYear()},e.createElement("div",null,e.createElement("p",null,c[n.getDay()]),e.createElement("p",null,n.getDate()))),1===n.getDate()&&e.createElement("div",{className:de},e.createElement("p",null,s[n.getMonth()]," ",n.getFullYear()))))))};var se="ListElementsColumn-module_list-element-column__46wTg";y(".ListElementsColumn-module_list-element-column__46wTg {\n box-sizing: border-box;\n}");var ue="ListElement-module_list-element__t9ZwR";y(".ListElement-module_list-element__t9ZwR {\n position: relative;\n border-bottom: 1px solid rgb(235, 235, 235);\n box-sizing: border-box;\n background-color: white;\n cursor: pointer;\n overflow: hidden;\n}\n.ListElement-module_list-element__t9ZwR:hover {\n background-color: rgb(240, 240, 240);\n}");var _e=e.memo((({listElementId:n,ReactListElementChildren:l,height:t})=>e.createElement("div",{className:ue,style:{height:t}},e.createElement(l,{listElementId:n}))));const me=({ReactListElementChildren:n,listHeight:l,yOffset:t,elementsHeight:a,idsArray:o})=>e.createElement("div",{className:se,style:{height:l,paddingTop:t*a}},o.map((l=>e.createElement(_e,{key:l,height:a,listElementId:l,ReactListElementChildren:n}))));var pe="DatesGrid-module_dates-grid__GvBcr",be="DatesGrid-module_div-cells-row-height__eRcXw";y(".DatesGrid-module_dates-grid__GvBcr {\n box-sizing: border-box;\n}\n.DatesGrid-module_dates-grid__GvBcr .DatesGrid-module_div-cells-row-height__eRcXw {\n box-sizing: border-box;\n}");var ge="CellsRow-module_cells-row__TJvv8";y(".CellsRow-module_cells-row__TJvv8 {\n display: flex;\n flex-flow: row;\n}");var he="Cell-module_cell__FNVcp";y(".Cell-module_cell__FNVcp {\n position: relative;\n border: 1px solid rgb(200, 200, 200);\n border-radius: 6px;\n}");var fe=e.memo((({date:n,listElementId:l,width:t,heigth:a,ReactCellChildren:o})=>e.createElement("div",{className:he,style:{width:t,height:a}},e.createElement(o,{date:n,listElementId:l}))));const ye=({listElementId:n,visibleDatesArray:l,width:t,height:a,cellsWidth:o,cellsHeight:r,ReactCellChildren:i})=>e.createElement("div",{className:ge,style:{width:t,height:a}},l.length>0&&l.map((l=>e.createElement(fe,{key:n+l.toString(),date:L(l),listElementId:n,width:o,heigth:r,ReactCellChildren:i})))),Se=({gridWidth:n,gridHeight:l,xOffset:t,yOffset:a,cellsWidth:o,cellsHeight:r,visibleListElementsIdsArray:i,visibleDates:d,ReactCellChildren:c})=>{const s=n-d.length*o,u=t*o>s?s:t*o;return e.createElement("div",{className:pe,style:{width:n}},e.createElement("div",{className:be,style:{height:l,paddingTop:a*r,paddingLeft:u}},i.map((n=>e.createElement(ye,{key:n,listElementId:n,visibleDatesArray:d,width:d.length*o,height:r,cellsWidth:o,cellsHeight:r,ReactCellChildren:c})))))};var ve="DropdownMonthNavigation-module_dropdown-month-navigation__M-YCF";y(".DropdownMonthNavigation-module_dropdown-month-navigation__M-YCF {\n position: relative;\n display: flex;\n width: 200px;\n margin: 0px 10px;\n border: 1px solid rgb(216, 216, 216);\n color: black;\n background-color: white;\n border-radius: 6px;\n white-space: nowrap;\n font-size: 14px;\n line-height: 18px;\n height: 28px;\n}");const xe=({visibleMonth:n,visibleYear:l,onChangeAction:t,options:a})=>e.createElement("select",{title:"Select a month",className:ve,value:L(new Date(l,n,1,12,0,0,0)),onChange:e=>t(e.target.value)},a);function we(){const[e,l]=n([0,0]);return r((()=>{function e(){l([window.innerWidth,window.innerHeight])}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),e}const Ce=e=>sessionStorage.getItem(`MulticalendarScrollTopPosition-${e}`),ke=e=>sessionStorage.getItem(`MulticalendarScrollLeftPosition-${e}`),Me={en_EN:{Today:"Today"},es_ES:{Today:"Hoy"}},Ee=({multicalendarId:l,ReactCellChildren:o,ReactListElementChildren:r,listElementsIdsArray:i,language:d="en_EN",pastDatesVisible:c=!0,cellsWidth:_=120,cellsHeight:m=80,verticalAxisWidth:p=280,pastDaysInitialQuantity:b=365,futureDaysInitialQuantity:g=365,chunkRenderX:h=0,chunkRenderY:f=0,dynamicDaysQuantity:y=!1,authomaticScrollOnDraggingOverEdges:S=!1,waitTimeForCalls:v=500,callsOnInitialView:x,callsOnScrollingStops:w,aditionalControlsComponents:C,upperLeftComponent:k,autoSavePosition:M,onScrollTopChanges:E,onScrollLeftChanges:D})=>{var N,z;const I=1+h,W=a(null),F=a(null),T=a(null),O=a(null),G=a(null),[L,j]=n(!1),[R,Y]=we(),[B,A]=n(Math.ceil(g)),[H,P]=n(c?Math.ceil(b):0),[J,$]=n(0),[Z,X]=n(0),[q,V]=n(1),[U,Q]=n(0),[K,ee]=n([]),[oe,re]=n([]),[ie,de]=n(!1),[se,ue]=n({x:ke(l)?Number(ke(l)):c?Math.ceil(b)*_:0,y:Ce(l)?Number(Ce(l)):0}),[_e,pe]=n(se.x),[be,ge]=n(se.y),[he,fe]=n({x:se.x,y:se.y}),[ye,ve]=n(!1),[Ee,De]=n(new Date),[Ne,ze]=n(void 0),[Ie,We]=n(void 0),[Fe,Te]=n(void 0),[Oe,Ge]=n(!1),[Le,je]=n((null===(N=O.current)||void 0===N?void 0:N.clientHeight)?O.current.clientHeight:0),[Re,Ye]=n((null===(z=G.current)||void 0===z?void 0:z.clientHeight)?G.current.clientHeight:0),[Be,Ae]=n(!1);return t((()=>{ue({x:c?Math.ceil(b)*_:0,y:0})}),[c,b,_]),t((()=>{T.current&&!1===ye&&(T.current.scrollTop=se.y,T.current.scrollLeft=se.x,ve(!0))}),[se.y,se.x,ye]),t((()=>(D&&D(_e),E&&E(be),()=>{M&&(be!==se.y&&((e,n)=>{sessionStorage.setItem(`MulticalendarScrollTopPosition-${e}`,n)})(l,String(be)),_e!==se.x&&((e,n)=>{sessionStorage.setItem(`MulticalendarScrollLeftPosition-${e}`,n)})(l,String(_e)))})),[M,be,_e,se.y,se.x]),t((()=>{P(c?Math.ceil(b):0)}),[c,b]),t((()=>{!L&&oe.length>0&&K.length>0&&x&&(j(!0),x(oe,K))}),[L,oe,K,x]),t((()=>{var e,n;const l=(null===(e=O.current)||void 0===e?void 0:e.clientHeight)?O.current.clientHeight:0,t=(null===(n=G.current)||void 0===n?void 0:n.clientHeight)?G.current.clientHeight:0;je(l),Ye(t),de(!0),$(Math.ceil((R-p)/_)+1),X(Math.ceil((Y-l-t)/m)+1),null!==T.current&&(pe(T.current.scrollLeft),fe({x:T.current.scrollLeft,y:T.current.scrollTop}),V(Math.floor(T.current.scrollLeft/_)-h))}),[R,Y,p,m,_,h]),t((()=>{if(he.x===se.x&&he.y===se.y||Math.abs(he.y-be)/m>f||ie){he.x===se.x&&he.y===se.y||null!==T.current&&fe({x:T.current.scrollLeft,y:T.current.scrollTop});let e=function(e,n,l){let t=Math.floor(e/n)-l;return t<0&&(t=0),t}(be,m,f);Q(e),re(function(e,n,l,t){let a=[];for(let o=0;o<e+2*n;o++)t[o+l]&&o+l>=0&&(a[o]=t[o+l]);return a}(Z,f,e,i)),ie&&de(!1)}}),[ie,be,m,f,se.x,se.y,Z,he.x,he.y,i]),t((()=>{if(he.x===se.x&&he.y===se.y||_e<_||Math.abs(he.x-_e)/_>h||ie){ee([]),he.x===se.x&&he.y===se.y||null!==T.current&&fe({x:T.current.scrollLeft,y:T.current.scrollTop}),V(function(e,n,l){return Math.floor(e/n)-l}(_e,_,h));const e=function(e,n,l,t){let a=new Date(Date.parse((new Date).toString())+ne*(Math.floor(e/n)-l-t));return a.setHours(12,0,0,0),Date.parse(a.toString())}(_e,_,H,I);De(function(e,n){return new Date(e+n*ne)}(e,I)),ie&&de(!1),ee(function(e,n,l){let t=[];for(let a=0;a<e+2*n;a++)t[a]=new Date(l+ne*(a+1));return t}(J,h,e))}}),[ie,J,_e,h,_,I,H,he.x,he.y,se.x,se.y]),t((()=>{Ge(!0),clearTimeout(Ne),ze(void 0)}),[_e,be]),t((()=>{if(void 0===Ne){let e=setTimeout((()=>Ge(!1)),v);ze(e)}}),[_e,be,Ne,v]),t((()=>{!Oe&&w&&w(oe,K)}),[Oe,oe,K]),t((()=>{S||(void 0!==Ie&&We(void 0),void 0!==Fe&&Te(void 0))}),[S,Ie,Fe]),t((()=>(document.body.addEventListener("mousedown",(()=>{Ae(!0)})),document.body.addEventListener("mouseup",(()=>{Ae(!1)})),()=>{document.body.removeEventListener("mousedown",(()=>{Ae(!0)})),document.body.removeEventListener("mouseup",(()=>{Ae(!1)}))})),[S]),e.createElement("div",{key:l,id:l,"data-testid":l,className:ae.multicalendar,style:{gridTemplateColumns:`${p}px`,gridTemplateRows:`auto auto calc(100% - ${Le+Re}px`}},e.createElement("div",{ref:O,className:ae.controls},e.createElement("div",{className:ae["div-dates-navigation"]},e.createElement(xe,{visibleYear:Ee.getFullYear(),visibleMonth:Ee.getMonth(),onChangeAction:e=>{le(new Date(Number(Date.parse(function(e){if(!/^\d{4}-\d{2}-\d{2}$/.test(e))throw new Error("Invalid SQL date format");let n=e.split("-");return new Date(Number(n[0]),Number(n[1])-1,Number(n[2]))}(e).toString()))),T,H,_)},options:te(H,B,d)}),e.createElement("button",{type:"button",className:ae["today-button"],onClick:()=>le(new Date,T,H,_)},Me[d].Today)),C&&e.createElement("div",{className:ae["div-aditional-controls-components"]},C)),e.createElement("div",{className:ae["div-upper-left-component"]},k),e.createElement("div",{className:ae["vertical-axis"]},e.createElement("div",{ref:F,className:ae["div-list-element-column"],onScroll:e=>{null!==T.current&&(T.current.scrollTop=e.target.scrollTop)}},e.createElement(me,{listHeight:m*i.length,yOffset:U,elementsHeight:m,idsArray:oe,ReactListElementChildren:r}))),e.createElement("div",{ref:G,className:ae["horizontal-axis"]},e.createElement("div",{className:ae["div-weeks-buttons"]},e.createElement("button",{type:"button",title:"Past Week",className:ae["past-week-button"],onClick:()=>{null!==W.current&&W.current.scroll({left:W.current.scrollLeft-7*_})}},e.createElement(s,null)),e.createElement("button",{type:"button",title:"Next Week",onClick:()=>{null!==W.current&&W.current.scroll({left:W.current.scrollLeft+7*_})},className:ae["next-week-button"]},e.createElement(u,null))),e.createElement("div",{ref:W,className:ae["div-dates-row"],onScroll:e=>{null!==T.current&&(T.current.scrollLeft=e.target.scrollLeft)}},e.createElement(ce,{visibleDates:K,width:(H+B)*_,height:74,cellsWidth:_,cellsHeight:74,offset:q,language:d}))),e.createElement("div",{className:ae["div-main-container"]},e.createElement("div",{ref:T,className:ae["main-container"],onScroll:e=>{if(null!==W.current){const n=e.target.scrollLeft;W.current.scrollLeft=n,pe(n)}if(null!==F.current){const n=e.target.scrollTop;F.current.scrollTop=n,ge(n)}var n,l,t,a,o,r;y&&e.target.scrollLeft+e.target.offsetWidth>(H+B)*_-_&&A(B+1),c&&y&&e.target.scrollLeft<_&&(P(H+1),e.target.scrollLeft=3*_),n=Be,l=Ie,t=Fe,a=.8*_,o=.8*m,r=e.target,n&&(l&&(l<a&&(r.scrollLeft-=a-l),l>r.offsetWidth-a&&(r.scrollLeft+=l+a-r.offsetWidth)),t&&(t<o&&(r.scrollTop-=o-t),t>r.offsetHeight-o&&(r.scrollTop+=t+o-r.offsetHeight)))},onMouseMove:e=>{if(null!==T.current&&Be){let r=e.clientX-T.current.getBoundingClientRect().left,i=e.clientY-T.current.getBoundingClientRect().top;We(r),Te(i),n=r,l=i,t=.8*_,a=.8*m,o=T,Be&&null!==o.current&&(n<t&&(o.current.scrollLeft-=10),n>o.current.offsetWidth-t&&(o.current.scrollLeft+=10),l<a&&(o.current.scrollTop-=10),l>o.current.offsetHeight-a&&(o.current.scrollTop+=10))}var n,l,t,a,o}},e.createElement(Se,{gridWidth:(H+B)*_,gridHeight:m*i.length,xOffset:q,yOffset:U,cellsWidth:_,cellsHeight:m,visibleListElementsIdsArray:oe,visibleDates:K,ReactCellChildren:o}))))};var De="ScreenSteps-module_screen-steps__AX-nZ",Ne="ScreenSteps-module_steps__AuZhk",ze="ScreenSteps-module_step__2kFuY",Ie="ScreenSteps-module_outer-text__akI1y",We="ScreenSteps-module_frame__3J2mc",Fe="ScreenSteps-module_steps-content__-Yj-E",Te="ScreenSteps-module_step-component__Lu3G5";function Oe(e,l){const[o,r]=n(!1),i=a(null);return t((()=>(i.current&&i.current.disconnect(),i.current=new IntersectionObserver((([e])=>{r(e.isIntersecting)}),l),e.current&&i.current.observe(e.current),()=>{i.current&&i.current.disconnect()})),[e,l]),o}function Ge(e){const[l,o]=n(0),[r,i]=n(0),d=a(new ResizeObserver((e=>{const{width:n,height:l}=e[0].contentRect;o(n),i(l)})));return t((()=>{null!==e.current&&d.current.observe(e.current);const n=d.current,l=e.current;return()=>{null!==l&&n.unobserve(l)}}),[e,d]),[l,r]}y(".ScreenSteps-module_screen-steps__AX-nZ {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk .ScreenSteps-module_step__2kFuY {\n width: 62px;\n height: 62px;\n border-radius: 31px;\n background-color: hsla(0, 0%, 58%, 0.2);\n display: flex;\n align-items: center;\n justify-content: center;\n color: rgba(65, 65, 65, 0.4);\n text-align: center;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 15px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n cursor: pointer;\n transition: all 300ms ease-in-out;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk .ScreenSteps-module_step__2kFuY[data-is-complete=true] {\n background-color: rgba(112, 90, 0, 0.4);\n color: rgba(65, 65, 65, 0.4);\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_steps__AuZhk .ScreenSteps-module_step__2kFuY[data-is-current=true] {\n background-color: rgba(112, 90, 0, 0.6);\n color: rgb(65, 65, 65);\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_outer-text__akI1y {\n color: #787878;\n text-align: center;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n margin: 0;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc {\n width: 100%;\n overflow: hidden;\n transition: height 300ms ease-in-out;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc .ScreenSteps-module_steps-content__-Yj-E {\n display: flex;\n justify-content: flex-start;\n transition: all 300ms ease-in-out;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc .ScreenSteps-module_step-component__Lu3G5 {\n max-height: 0px;\n}\n.ScreenSteps-module_screen-steps__AX-nZ .ScreenSteps-module_frame__3J2mc .ScreenSteps-module_step-component__Lu3G5[data-is-current=true] {\n max-height: max-content;\n}");const Le=({steps:l,defaultStep:o=0,onStepChange:r=(()=>{}),canNavigate:i,overrideStep:d})=>{const c=a(null),[s,u]=n(o),[_,m]=Ge(c);t((()=>{void 0!==d&&d<l.length&&d>=0&&d!==s&&u(d)}),[d]);return e.createElement("section",{className:De},e.createElement("nav",{className:Ne},l.map(((n,l)=>e.createElement("div",{key:n.innerText,className:ze,"data-is-completed":l<s,"data-is-current":l===s,"data-can-navigate":i,onClick:()=>{i&&(u(l),r(l))}},n.innerText)))),e.createElement("p",{className:Ie},l[s].outterText),e.createElement("div",{className:We,style:{height:m||"100%"}},e.createElement("div",{ref:c,className:Fe,style:(()=>{const e=100/l.length;return{width:100*l.length+"%",transform:`translateX(-${e*s}%)`}})()},l.map(((n,t)=>e.createElement("div",{key:n.innerText,className:Te,"data-is-current":t===s,style:{width:100/l.length+"%"}},n.component))))))};var je="ScrollSnapGallery-module_scroll-snap-gallery__CR-GS",Re="ScrollSnapGallery-module_frame__267TC",Ye="ScrollSnapGallery-module_arrow-controls__yw2Zl",Be="ScrollSnapGallery-module_arrow__1ueyq",Ae="ScrollSnapGallery-module_position-indicator__3Y7Mh",He="ScrollSnapGallery-module_indicator-icon__YrYF2",Pe="ScrollSnapGallery-module_current__ckZrA",Je="ScrollSnapGallery-module_medium-shrunken__DuED2",$e="ScrollSnapGallery-module_full-shrunken__VSbF7",Ze="ScrollSnapGallery-module_hidden__c0w-O";y(".ScrollSnapGallery-module_scroll-snap-gallery__CR-GS {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_frame__267TC {\n display: flex;\n align-items: center;\n scroll-snap-type: x mandatory;\n scroll-snap-stop: always;\n scroll-behavior: smooth;\n overflow-x: auto;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: none;\n scrollbar-width: none;\n -webkit-user-select: none;\n user-select: none;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_frame__267TC::-webkit-scrollbar {\n display: none;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_frame__267TC img {\n scroll-snap-align: center;\n min-width: 100%;\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 10px;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_arrow__1ueyq {\n width: 24px;\n height: 24px;\n fill: #959595;\n transition: all 100ms ease-in-out;\n z-index: 2;\n cursor: pointer;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_arrow__1ueyq:active {\n fill: #0d280b;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh {\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all 0.3s ease-in-out;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2 {\n fill: #959595;\n transition: all 0.3s ease-in-out;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_current__ckZrA {\n fill: #0d280b;\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_medium-shrunken__DuED2 {\n transform: scale(0.75);\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_full-shrunken__VSbF7 {\n transform: scale(0.5);\n}\n.ScrollSnapGallery-module_scroll-snap-gallery__CR-GS .ScrollSnapGallery-module_arrow-controls__yw2Zl .ScrollSnapGallery-module_position-indicator__3Y7Mh .ScrollSnapGallery-module_indicator-icon__YrYF2.ScrollSnapGallery-module_hidden__c0w-O {\n transform: scale(0);\n}");const Xe=({urls:l=[],alts:o,width:r="400px",height:i="300px",IndicatorIcon:d=f,positionIndicatorSize:c=Math.min(l.length,6),iconSize:s=16,showArrows:u=!1,frameStyle:p={},onSlideChange:b=(()=>{}),autoChange:g=!1})=>{const h=a(null),[y,S]=n(0),[v,x]=n(0),[w,C]=n(c-1),[k,M]=n(0),[E,D]=n(0),N=e=>{let n=He;y===e&&(n+=` ${Pe}`);const t=0!==v&&e===v,a=w!==l.length-1&&e===w;(t||a)&&(n+=` ${$e}`);const o=0!==v&&e===v+1,r=w!==l.length-1&&e===w-1;return(o||r)&&(n+=` ${Je}`),(e<v||e>w)&&(n+=` ${Ze}`),n};return t((()=>{M(v*s)}),[v]),t((()=>{b(y)}),[y]),t((()=>{if(g){const e=setInterval((()=>{D((e=>e+1))}),3e3);return()=>clearInterval(e)}}),[g]),t((()=>{if(g){const e=h.current;e&&e.scrollLeft===e.scrollWidth-e.clientWidth?e.scrollLeft=0:e&&(e.scrollLeft+=e.clientWidth)}}),[g,E]),e.createElement("section",{className:je},e.createElement("div",{ref:h,className:Re,style:Object.assign(Object.assign({},p),{width:r,height:i}),onScroll:e=>{const{scrollLeft:n,clientWidth:t}=e.target,a=t,o=Math.round(n/a);if(S(o),o<=v){const e=Math.max(o-1,0),n=e+c-1;x(e),C(n)}else if(o>=w){const e=Math.min(o+1,l.length-1),n=e-c+1;C(e),x(n)}}},l.map(((n,l)=>e.createElement("img",{key:n+l,src:n,alt:o?o[l]:"gallery picture"})))),e.createElement("div",{className:Ye},u&&e.createElement(_,{className:Be,onClick:()=>{const e=h.current;e&&(e.scrollLeft-=e.clientWidth)}}),e.createElement("div",{className:Ae,style:{transform:`translateX(calc(50% - ${k}px - ${s*c/2}px))`}},l.map(((n,l)=>e.createElement(d,{key:n+l,className:N(l),style:{width:s,height:s}})))),u&&e.createElement(m,{className:Be,onClick:()=>{const e=h.current;e&&(e.scrollLeft+=e.clientWidth)}})))};var qe="StackedCards-module_stacked-cards__8IiBF",Ve="StackedCards-module_card__4cF-v",Ue="StackedCards-module_title__GYDch",Qe="StackedCards-module_content__6WDlF";y(".StackedCards-module_stacked-cards__8IiBF {\n position: relative;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v {\n position: absolute;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 80%;\n height: 80%;\n background-color: #fff;\n border-radius: 10px;\n border: 2px solid #e2e2e2;\n transition: all 0.4s ease-out;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v .StackedCards-module_title__GYDch {\n width: 100%;\n overflow: hidden;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v .StackedCards-module_content__6WDlF {\n flex-grow: 1;\n width: 100%;\n overflow: auto;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v .StackedCards-module_content__6WDlF::-webkit-scrollbar {\n display: none;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v[data-is-selectable=true] {\n cursor: pointer;\n}\n.StackedCards-module_stacked-cards__8IiBF .StackedCards-module_card__4cF-v[data-is-selectable=true][data-should-card-rise=true]:hover {\n transform: translateY(-20px);\n}");const Ke=360,en=({cards:l,initialCard:a,onCardChangeByUser:o,overrideSelectedCard:r,stackingOrientation:i=60,cardWidth:d=300,cardHeight:c=350})=>{const[s,u]=n(a),_=i>0?i%Ke:Ke+i%Ke,m=Math.PI/180*i,p=e=>({horizontalOffset:80*Math.cos(m)/l.length*e,verticalOffset:80*Math.sin(m)/l.length*e}),b=e=>{const n={};let t=0,a=0,o=0;const r=p(e<s?e+1:e);e===s?o=l.length+1:(t=r.horizontalOffset,a=r.verticalOffset,o=l.length-e),n.zIndex=o;const i=e=>{n.right=e.right,n.bottom=e.bottom,n.left=e.left,n.top=e.top},d=_>90&&_<=180,c=_>180&&_<=270,u=_>270&&_<=Ke;return _>=0&&_<=90?i({right:`${t}px`,bottom:`${a}px`,left:"",top:""}):d?i({right:"",bottom:`${a}px`,left:-t+"px",top:""}):c?i({right:"",bottom:"",left:-t+"px",top:-a+"px"}):u&&i({right:`${t}px`,bottom:"",left:"",top:-a+"px"}),n};return t((()=>{void 0!==r&&r>=0&&r<l.length&&u(r)}),[r]),e.createElement("div",{className:qe,style:(()=>{const e=p(l.length-1).horizontalOffset+4,n=p(l.length-1).verticalOffset+4;return{width:d+Math.abs(e),height:c+Math.abs(n)}})()},l.map(((n,l)=>e.createElement("div",{className:Ve,key:l,"data-is-selectable":l!==s,"data-should-card-rise":_>=0&&_<=180,style:Object.assign({height:c,width:d},b(l)),onClick:()=>{s!==l&&(u(l),o&&o(l))}},e.createElement("div",{className:Ue},n.title),e.createElement("div",{className:Qe},n.content)))))};export{w as BubbleMenu,$ as CalendarDatePicker,T as InputBoxWithConfirmation,q as IntegerControl,Q as LabeledInput,ee as Modal,Ee as Multicalendar,Le as ScreenSteps,Xe as ScrollSnapGallery,en as StackedCards,Oe as useIntersectionObserver,F as useOutsideClick,Ge as useResizeObserver,we as useWindowsSize};
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "josenanodev-react-components-library",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Jose Carlos Cardenas Martinez"
|
|
6
6
|
},
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
22
22
|
"@babel/preset-typescript": "^7.24.1",
|
|
23
23
|
"@babel/runtime": "^7.24.1",
|
|
24
|
-
"@rollup/plugin-commonjs": "^25.0.
|
|
25
|
-
"@rollup/plugin-node-resolve": "^15.
|
|
24
|
+
"@rollup/plugin-commonjs": "^25.0.8",
|
|
25
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
26
26
|
"@rollup/plugin-terser": "^0.4.4",
|
|
27
27
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
28
28
|
"@storybook/addon-essentials": "^8.0.5",
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
"react": "^18.2.0",
|
|
50
50
|
"react-dom": "^18.2.0",
|
|
51
51
|
"react-icons": "^5.0.1",
|
|
52
|
-
"rollup": "^4.
|
|
53
|
-
"rollup-plugin-dts": "^6.1.
|
|
52
|
+
"rollup": "^4.24.0",
|
|
53
|
+
"rollup-plugin-dts": "^6.1.1",
|
|
54
54
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
55
55
|
"rollup-plugin-postcss": "^4.0.2",
|
|
56
56
|
"sass": "^1.72.0",
|
|
57
57
|
"storybook": "^8.0.5",
|
|
58
|
-
"tslib": "^2.
|
|
58
|
+
"tslib": "^2.8.0",
|
|
59
59
|
"typescript": "^5.4.3"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|