@randstad-uca/design-system 1.0.114 → 1.0.116

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/index.js CHANGED
@@ -36,7 +36,7 @@ const O={attribute:!0,type:String,converter:D,reflect:!1,hasChanged:E},F=(t=O,e,
36
36
  * Copyright 2017 Google LLC
37
37
  * SPDX-License-Identifier: BSD-3-Clause
38
38
  */
39
- function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,i),i))(e,i,{get(){return(e=>e.renderRoot?.querySelector(t)??null)(this)}})}let V=class extends t{constructor(){super(...arguments),this.label="",this.placeholder="",this.labelColor="",this.value="",this.required=!1,this.optional=!1,this.disabled=!1,this.error=!1,this.errorMessage=null,this.helper=null,this.helperAlign="left",this.helpClickable=!1,this._tooltipOpen=!1,this._lastClickTime=0,this._boundCloseTooltip=this._closeTooltip.bind(this)}_handleTooltipClick(t){t.stopPropagation(),t.preventDefault(),this._lastClickTime=Date.now(),this._tooltipOpen=!this._tooltipOpen}_closeTooltip(){this.helpClickable&&this._tooltipOpen&&Date.now()-this._lastClickTime>50&&(this._tooltipOpen=!1)}updated(t){super.updated(t),t.has("helpClickable")&&(this.helpClickable?document.addEventListener("click",this._boundCloseTooltip):document.removeEventListener("click",this._boundCloseTooltip))}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._boundCloseTooltip)}renderLabelContainer(){return e`
39
+ function V(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,i),i))(e,i,{get(){return(e=>e.renderRoot?.querySelector(t)??null)(this)}})}let T=class extends t{constructor(){super(...arguments),this.label="",this.placeholder="",this.labelColor="",this.value="",this.required=!1,this.optional=!1,this.disabled=!1,this.error=!1,this.errorMessage=null,this.helper=null,this.helperAlign="left",this.helpClickable=!1,this._tooltipOpen=!1,this._lastClickTime=0,this._boundCloseTooltip=this._closeTooltip.bind(this)}_handleTooltipClick(t){t.stopPropagation(),t.preventDefault(),this._lastClickTime=Date.now(),this._tooltipOpen=!this._tooltipOpen}_closeTooltip(){this.helpClickable&&this._tooltipOpen&&Date.now()-this._lastClickTime>50&&(this._tooltipOpen=!1)}updated(t){super.updated(t),t.has("helpClickable")&&(this.helpClickable?document.addEventListener("click",this._boundCloseTooltip):document.removeEventListener("click",this._boundCloseTooltip))}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._boundCloseTooltip)}renderLabelContainer(){return e`
40
40
  ${this.label?e`
41
41
  <div class="label-container">
42
42
  ${this.renderLabel()}
@@ -85,7 +85,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
85
85
  ${this.helper}
86
86
  </p>
87
87
  `:i}
88
- `}};n([L({type:String}),s("design:type",Object)],V.prototype,"label",void 0),n([L({type:String}),s("design:type",Object)],V.prototype,"placeholder",void 0),n([L({type:String}),s("design:type",Object)],V.prototype,"labelColor",void 0),n([L(),s("design:type",Object)],V.prototype,"value",void 0),n([L({type:Boolean}),s("design:type",Object)],V.prototype,"required",void 0),n([L({type:Boolean}),s("design:type",Object)],V.prototype,"optional",void 0),n([L({type:Boolean}),s("design:type",Object)],V.prototype,"disabled",void 0),n([L({type:Boolean,reflect:!0}),s("design:type",Object)],V.prototype,"error",void 0),n([L({type:String}),s("design:type",Object)],V.prototype,"errorMessage",void 0),n([L({type:String}),s("design:type",Object)],V.prototype,"helper",void 0),n([L({type:String}),s("design:type",String)],V.prototype,"helperAlign",void 0),n([L({type:String}),s("design:type",String)],V.prototype,"help",void 0),n([L({type:Boolean}),s("design:type",Object)],V.prototype,"helpClickable",void 0),n([L({type:String}),s("design:type",String)],V.prototype,"helpLink",void 0),n([L({type:String}),s("design:type",String)],V.prototype,"helpLinkTooltipMessage",void 0),n([B(),s("design:type",Object)],V.prototype,"_tooltipOpen",void 0),V=n([a("base-control")],V);const P=o`
88
+ `}};n([L({type:String}),s("design:type",Object)],T.prototype,"label",void 0),n([L({type:String}),s("design:type",Object)],T.prototype,"placeholder",void 0),n([L({type:String}),s("design:type",Object)],T.prototype,"labelColor",void 0),n([L(),s("design:type",Object)],T.prototype,"value",void 0),n([L({type:Boolean}),s("design:type",Object)],T.prototype,"required",void 0),n([L({type:Boolean}),s("design:type",Object)],T.prototype,"optional",void 0),n([L({type:Boolean}),s("design:type",Object)],T.prototype,"disabled",void 0),n([L({type:Boolean,reflect:!0}),s("design:type",Object)],T.prototype,"error",void 0),n([L({type:String}),s("design:type",Object)],T.prototype,"errorMessage",void 0),n([L({type:String}),s("design:type",Object)],T.prototype,"helper",void 0),n([L({type:String}),s("design:type",String)],T.prototype,"helperAlign",void 0),n([L({type:String}),s("design:type",String)],T.prototype,"help",void 0),n([L({type:Boolean}),s("design:type",Object)],T.prototype,"helpClickable",void 0),n([L({type:String}),s("design:type",String)],T.prototype,"helpLink",void 0),n([L({type:String}),s("design:type",String)],T.prototype,"helpLinkTooltipMessage",void 0),n([B(),s("design:type",Object)],T.prototype,"_tooltipOpen",void 0),T=n([a("base-control")],T);const P=o`
89
89
  font-family: 'Graphik', sans-serif;
90
90
  font-weight: 400;
91
91
  font-size: 12px;
@@ -123,14 +123,14 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
123
123
  line-height: 30px;
124
124
  letter-spacing: -1%;
125
125
  vertical-align: middle;
126
- `,N=o`
126
+ `,I=o`
127
127
  font-family: 'Graphik', sans-serif;
128
128
  font-weight: 400;
129
129
  font-size: 26px;
130
130
  line-height: 30px;
131
131
  letter-spacing: -1%;
132
132
  vertical-align: middle;
133
- `,I="(min-width: 501px)";let W=class extends t{constructor(){super(...arguments),this.title="",this.isOpen=!1,this.isDesktop=window.matchMedia(I).matches,this.handleMediaQueryChange=t=>{this.isDesktop=t.matches}}static{this.styles=o`
133
+ `,N="(min-width: 501px)";let W=class extends t{constructor(){super(...arguments),this.title="",this.isOpen=!1,this.isDesktop=window.matchMedia(N).matches,this.handleMediaQueryChange=t=>{this.isDesktop=t.matches}}static{this.styles=o`
134
134
  :host {
135
135
  display: flex;
136
136
  flex-direction: column;
@@ -214,7 +214,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
214
214
  max-width: 90%;
215
215
  }
216
216
  }
217
- `}connectedCallback(){super.connectedCallback(),this.mediaQueryList=window.matchMedia(I),this.mediaQueryList.addEventListener("change",this.handleMediaQueryChange)}disconnectedCallback(){super.disconnectedCallback(),this.mediaQueryList.removeEventListener("change",this.handleMediaQueryChange)}toggle(){this.isOpen=!this.isOpen}render(){const t=e`
217
+ `}connectedCallback(){super.connectedCallback(),this.mediaQueryList=window.matchMedia(N),this.mediaQueryList.addEventListener("change",this.handleMediaQueryChange)}disconnectedCallback(){super.disconnectedCallback(),this.mediaQueryList.removeEventListener("change",this.handleMediaQueryChange)}toggle(){this.isOpen=!this.isOpen}render(){const t=e`
218
218
  <randstad-icon
219
219
  name="${this.isOpen?"arrow_up":"arrow_down"}"
220
220
  size="24"
@@ -1025,7 +1025,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1025
1025
  ::-webkit-scrollbar-button {
1026
1026
  display: none;
1027
1027
  }
1028
- `,tt=/[\p{Extended_Pictographic}\u{FE0F}\u{1F3FB}-\u{1F3FF}\u{1F9B0}-\u{1F9B3}\u{200D}]/gu;let et=class extends V{constructor(){super(...arguments),this.keydown=void 0,this.size="md",this.icon=null,this.typing=!1,this.type="text",this.isPasswordVisible=!1,this.cleanButton=!1}static{this.styles=[J,o`
1028
+ `,tt=/[\p{Extended_Pictographic}\u{FE0F}\u{1F3FB}-\u{1F3FF}\u{1F9B0}-\u{1F9B3}\u{200D}]/gu;let et=class extends T{constructor(){super(...arguments),this.keydown=void 0,this.size="md",this.icon=null,this.typing=!1,this.type="text",this.isPasswordVisible=!1,this.cleanButton=!1}static{this.styles=[J,o`
1029
1029
  ${X}
1030
1030
  ${Q}
1031
1031
  ${G}
@@ -1262,7 +1262,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1262
1262
 
1263
1263
  ${this.renderHelper()}
1264
1264
  </div>
1265
- `}};n([L({type:String}),s("design:type",Object)],et.prototype,"keydown",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"keydownRegex",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"size",void 0),n([L({type:String}),s("design:type",Object)],et.prototype,"icon",void 0),n([L({type:Boolean}),s("design:type",Boolean)],et.prototype,"typing",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"type",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"linkText",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"linkRoute",void 0),n([L({type:Boolean,reflect:!0}),s("design:type",Object)],et.prototype,"isPasswordVisible",void 0),n([L({type:Boolean}),s("design:type",Boolean)],et.prototype,"cleanButton",void 0),n([L({type:Number}),s("design:type",Number)],et.prototype,"maxLength",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"heightTextArea",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"maxHeightTextArea",void 0),et=n([a("randstad-form")],et);let it=class extends V{constructor(){super(...arguments),this.rows=""}static{this.styles=o`
1265
+ `}};n([L({type:String}),s("design:type",Object)],et.prototype,"keydown",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"keydownRegex",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"size",void 0),n([L({type:String}),s("design:type",Object)],et.prototype,"icon",void 0),n([L({type:Boolean}),s("design:type",Boolean)],et.prototype,"typing",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"type",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"linkText",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"linkRoute",void 0),n([L({type:Boolean,reflect:!0}),s("design:type",Object)],et.prototype,"isPasswordVisible",void 0),n([L({type:Boolean}),s("design:type",Boolean)],et.prototype,"cleanButton",void 0),n([L({type:Number}),s("design:type",Number)],et.prototype,"maxLength",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"heightTextArea",void 0),n([L({type:String}),s("design:type",String)],et.prototype,"maxHeightTextArea",void 0),et=n([a("randstad-form")],et);let it=class extends T{constructor(){super(...arguments),this.rows=""}static{this.styles=o`
1266
1266
  ${X}
1267
1267
  ${Q}
1268
1268
  ${G}
@@ -1323,7 +1323,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1323
1323
  <div class="custom-icon" style="color: ${this.color};">
1324
1324
  ${this.svgTemplate}
1325
1325
  </div>
1326
- `:e``}}n([L({type:String}),s("design:type",Object)],rt.prototype,"name",void 0),n([L({type:String}),s("design:type",Object)],rt.prototype,"size",void 0),n([L({type:String}),s("design:type",Object)],rt.prototype,"color",void 0),n([B(),s("design:type",Object)],rt.prototype,"svgTemplate",void 0),customElements.define("randstad-icon",rt);const nt=/[\p{Extended_Pictographic}\u{FE0F}\u{1F3FB}-\u{1F3FF}\u{1F9B0}-\u{1F9B3}\u{200D}]/gu;let st=class extends V{constructor(){super(...arguments),this.platform="linkedin",this.size="md",this.maxLength=100,this.isPasswordVisible=!1,this.customSanitizeRegex=void 0,this.customUrlValidationRegex=void 0,this.value="",this._inputValue="",this._showFormatError=!1,this._onChangeFn=()=>{},this._onTouchedFn=()=>{}}static{this.styles=[J,o`
1326
+ `:e``}}n([L({type:String}),s("design:type",Object)],rt.prototype,"name",void 0),n([L({type:String}),s("design:type",Object)],rt.prototype,"size",void 0),n([L({type:String}),s("design:type",Object)],rt.prototype,"color",void 0),n([B(),s("design:type",Object)],rt.prototype,"svgTemplate",void 0),customElements.define("randstad-icon",rt);const nt=/[\p{Extended_Pictographic}\u{FE0F}\u{1F3FB}-\u{1F3FF}\u{1F9B0}-\u{1F9B3}\u{200D}]/gu;let st=class extends T{constructor(){super(...arguments),this.platform="linkedin",this.size="md",this.maxLength=100,this.isPasswordVisible=!1,this.customSanitizeRegex=void 0,this.customUrlValidationRegex=void 0,this.value="",this._inputValue="",this._showFormatError=!1,this._onChangeFn=()=>{},this._onTouchedFn=()=>{}}static{this.styles=[J,o`
1327
1327
  ${X}
1328
1328
  ${Q}
1329
1329
  ${G}
@@ -1562,6 +1562,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1562
1562
  :host {
1563
1563
  font-family: 'Graphik', sans-serif;
1564
1564
  display: none;
1565
+ --modal-body-padding: 24px;
1565
1566
  }
1566
1567
 
1567
1568
  :host([open]) {
@@ -1661,7 +1662,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1661
1662
  display: flex;
1662
1663
  justify-content: space-between;
1663
1664
  align-items: center;
1664
- ${N}
1665
+ ${I}
1665
1666
  font-style: regular;
1666
1667
  font-size: 24px;
1667
1668
  line-height: 32px;
@@ -1701,7 +1702,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1701
1702
  .modal-body {
1702
1703
  display: flex;
1703
1704
  flex-direction: column;
1704
- padding: 24px;
1705
+ padding: var(--modal-body-padding, 24px);
1705
1706
  gap: 16px;
1706
1707
  }
1707
1708
 
@@ -1797,7 +1798,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1797
1798
  `}
1798
1799
  </div>
1799
1800
  </div>
1800
- `}};n([L({type:Boolean,reflect:!0}),s("design:type",Object)],lt.prototype,"open",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"title",void 0),n([L({type:String}),s("design:type",String)],lt.prototype,"subtitle",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"showNotice",void 0),n([L({type:String}),s("design:type",String)],lt.prototype,"noticeType",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"noticeMessage",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"noticeIcon",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"showPrimaryButton",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"primaryButtonLabel",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"showSecondaryButton",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"secondaryButtonLabel",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"isFooterCustom",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"isPrimaryLoader",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"isPrimaryDisabled",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"modalWidth",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"modalHeight",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"maxHeight",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"hideFooter",void 0),n([B(),s("design:type",Object)],lt.prototype,"scrollable",void 0),n([B(),s("design:type",Object)],lt.prototype,"hasDropdownOpen",void 0),n([B(),s("design:type",Object)],lt.prototype,"hasCalendarOpen",void 0),lt=n([a("custom-modal")],lt);let dt=class extends t{constructor(){super(...arguments),this.open=!1,this.type="default",this.icon="warning",this.title="",this.description="",this.width="400px",this.height="",this.buttonText="Aceptar",this.confirmText="Sí",this.cancelText="No",this.closeOnOutsideClick=!1,this.stackedActions=[],this._onBackgroundClick=t=>{if(!this.closeOnOutsideClick)return;const e=t.composedPath(),i=this.renderRoot.querySelector(".popup");i&&!e.includes(i)&&(this.dispatchEvent(new CustomEvent("popup-close",{detail:null})),this.open=!1)}}static{this.styles=o`
1801
+ `}};n([L({type:Boolean,reflect:!0}),s("design:type",Object)],lt.prototype,"open",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"title",void 0),n([L({type:String}),s("design:type",String)],lt.prototype,"subtitle",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"showNotice",void 0),n([L({type:String}),s("design:type",String)],lt.prototype,"noticeType",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"noticeMessage",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"noticeIcon",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"showPrimaryButton",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"primaryButtonLabel",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"showSecondaryButton",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"secondaryButtonLabel",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"isFooterCustom",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"isPrimaryLoader",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"isPrimaryDisabled",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"modalWidth",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"modalHeight",void 0),n([L({type:String}),s("design:type",Object)],lt.prototype,"maxHeight",void 0),n([L({type:Boolean}),s("design:type",Object)],lt.prototype,"hideFooter",void 0),n([L({type:String}),s("design:type",String)],lt.prototype,"paddingModalBody",void 0),n([B(),s("design:type",Object)],lt.prototype,"scrollable",void 0),n([B(),s("design:type",Object)],lt.prototype,"hasDropdownOpen",void 0),n([B(),s("design:type",Object)],lt.prototype,"hasCalendarOpen",void 0),lt=n([a("custom-modal")],lt);let dt=class extends t{constructor(){super(...arguments),this.open=!1,this.type="default",this.icon="warning",this.iconColor="var(--primary-color)",this.title="",this.description="",this.width="400px",this.height="",this.buttonText="Aceptar",this.confirmText="Sí",this.cancelText="No",this.closeOnOutsideClick=!1,this.stackedActions=[],this._onBackgroundClick=t=>{if(!this.closeOnOutsideClick)return;const e=t.composedPath(),i=this.renderRoot.querySelector(".popup");i&&!e.includes(i)&&(this.dispatchEvent(new CustomEvent("popup-close",{detail:null})),this.open=!1)}}static{this.styles=o`
1801
1802
  :host {
1802
1803
  display: none;
1803
1804
  position: fixed;
@@ -1859,7 +1860,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1859
1860
  display: flex;
1860
1861
  flex-direction: column;
1861
1862
  gap: 8px;
1862
- align-items: center;
1863
+ align-items: center;
1863
1864
  }
1864
1865
 
1865
1866
  .popup-title {
@@ -1915,7 +1916,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1915
1916
  .icon-circle {
1916
1917
  width: 32px;
1917
1918
  height: 32px;
1918
- background: var(--primary-color-20, #D3E3F7);
1919
+ background: rgb(from var(--icon-color) r g b / 0.2);
1919
1920
  border-radius: 50%;
1920
1921
  display: flex;
1921
1922
  align-items: center;
@@ -1931,12 +1932,12 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1931
1932
  ${"default"!==this.type?e`aria-labelledby="popup-title"`:i}
1932
1933
  aria-describedby="popup-description"
1933
1934
  >
1934
- ${"stacked"!==this.type&&this.icon?e`<randstad-icon name=${this.icon} size="56px" color="#D3E3F7" />`:i}
1935
+ ${"stacked"!==this.type&&this.icon?e`<randstad-icon name=${this.icon} size="56px" color=${this.iconColor} />`:i}
1935
1936
 
1936
1937
  <div class="popup-content">
1937
1938
  ${"default"===this.type?e`
1938
1939
  ${this.title?e`<h2 id="popup-title" class="popup-title">${this.title}</h2>`:i}
1939
-
1940
+
1940
1941
  ${this.description?e`<p id="popup-description" class="popup-description">${this.description}</p>`:i}
1941
1942
 
1942
1943
  <div class="buttons-container">
@@ -1954,11 +1955,11 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1954
1955
  class="action-item"
1955
1956
  @click=${()=>this.closePopup(t.value)}
1956
1957
  >
1957
- <div class="icon-circle">
1958
+ <div class="icon-circle" style="--icon-color:${t.iconColor}">
1958
1959
  <randstad-icon
1959
1960
  name=${t.icon}
1960
1961
  size="24px"
1961
- .color=${"var( --primary-color )"}
1962
+ color=${t.iconColor}
1962
1963
  >
1963
1964
  </randstad-icon>
1964
1965
  </div>
@@ -1969,7 +1970,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1969
1970
  `:e`
1970
1971
  <div class="titles-container">
1971
1972
  <h2 id="popup-title" class="popup-title">${this.title}</h2>
1972
-
1973
+
1973
1974
  ${this.description?e`<p id="popup-description" class="popup-description">${this.description}</p>`:i}
1974
1975
  </div>
1975
1976
 
@@ -1993,7 +1994,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1993
1994
  `}
1994
1995
  </div>
1995
1996
  </div>
1996
- `}};n([L({type:Boolean,reflect:!0}),s("design:type",Object)],dt.prototype,"open",void 0),n([L({type:String}),s("design:type",String)],dt.prototype,"type",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"icon",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"title",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"description",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"width",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"height",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"buttonText",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"confirmText",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"cancelText",void 0),n([L({type:Boolean}),s("design:type",Object)],dt.prototype,"closeOnOutsideClick",void 0),n([L({type:Array}),s("design:type",Array)],dt.prototype,"stackedActions",void 0),dt=n([a("custom-popup")],dt);let ct=class extends t{constructor(){super(...arguments),this.value=0,this.max=5}static{this.styles=o`
1997
+ `}};n([L({type:Boolean,reflect:!0}),s("design:type",Object)],dt.prototype,"open",void 0),n([L({type:String}),s("design:type",String)],dt.prototype,"type",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"icon",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"iconColor",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"title",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"description",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"width",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"height",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"buttonText",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"confirmText",void 0),n([L({type:String}),s("design:type",Object)],dt.prototype,"cancelText",void 0),n([L({type:Boolean}),s("design:type",Object)],dt.prototype,"closeOnOutsideClick",void 0),n([L({type:Array}),s("design:type",Array)],dt.prototype,"stackedActions",void 0),dt=n([a("custom-popup")],dt);let ct=class extends t{constructor(){super(...arguments),this.value=0,this.max=5}static{this.styles=o`
1997
1998
  :host {
1998
1999
  display: inline-block;
1999
2000
  width: 64px;
@@ -2198,7 +2199,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
2198
2199
 
2199
2200
  <span> ${o} </span>
2200
2201
  </label>
2201
- `}};n([L({type:String}),s("design:type",Object)],ht.prototype,"name",void 0),n([L({type:Boolean}),s("design:type",Object)],ht.prototype,"checked",void 0),n([L({type:Boolean}),s("design:type",Object)],ht.prototype,"disabled",void 0),n([L({type:Boolean}),s("design:type",Object)],ht.prototype,"error",void 0),n([L({type:String}),s("design:type",Object)],ht.prototype,"label",void 0),n([L({type:String}),s("design:type",Object)],ht.prototype,"value",void 0),ht=n([a("custom-radio")],ht);const pt=/[\p{Extended_Pictographic}\u{FE0F}\u{1F3FB}-\u{1F3FF}\u{1F9B0}-\u{1F9B3}\u{200D}]/gu;let ut=class extends V{constructor(){super(...arguments),this.value="",this.defaultValue="",this.options=[],this.textLabelFilterNotResult="",this.textLabelMobileSearch="",this.isRenderClearButton=!1,this.sortable=!0,this.isMobile=!1,this.highlightedIndex=-1,this._isCleared=!1,this.originalHtmlOverflow="",this.originalHtmlPaddingRight="",this.filteredOptions=[],this.filterValue="",this.isOpen=!1,this.mobileFilterValue="",this.showNoResults=!1,this.lastElement=!1,this.debounceTimeout=null,this.getOptionLabel=t=>"string"==typeof t?t:t.label,this.handleGlobalOverlayOpen=t=>{t.detail!==this&&this.isOpen&&(this.isOpen=!1,this.lastElement&&!this.isMobile&&this.dispatchEvent(new CustomEvent("dropdown-toggle",{detail:{open:!1},bubbles:!0,composed:!0})))},this.updateResponsiveModeBound=this.updateResponsiveMode.bind(this)}get _effectiveFilterable(){const t=this.getAttribute("filterable");return null!==t?"false"!==t:void 0!==this.filterable?this.filterable:this.options.length>5}static{this.styles=[J,o`
2202
+ `}};n([L({type:String}),s("design:type",Object)],ht.prototype,"name",void 0),n([L({type:Boolean}),s("design:type",Object)],ht.prototype,"checked",void 0),n([L({type:Boolean}),s("design:type",Object)],ht.prototype,"disabled",void 0),n([L({type:Boolean}),s("design:type",Object)],ht.prototype,"error",void 0),n([L({type:String}),s("design:type",Object)],ht.prototype,"label",void 0),n([L({type:String}),s("design:type",Object)],ht.prototype,"value",void 0),ht=n([a("custom-radio")],ht);const pt=/[\p{Extended_Pictographic}\u{FE0F}\u{1F3FB}-\u{1F3FF}\u{1F9B0}-\u{1F9B3}\u{200D}]/gu;let ut=class extends T{constructor(){super(...arguments),this.value="",this.defaultValue="",this.options=[],this.textLabelFilterNotResult="",this.textLabelMobileSearch="",this.isRenderClearButton=!1,this.sortable=!0,this.isMobile=!1,this.highlightedIndex=-1,this._isCleared=!1,this.originalHtmlOverflow="",this.originalHtmlPaddingRight="",this.filteredOptions=[],this.filterValue="",this.isOpen=!1,this.mobileFilterValue="",this.showNoResults=!1,this.lastElement=!1,this.debounceTimeout=null,this.getOptionLabel=t=>"string"==typeof t?t:t.label,this.handleGlobalOverlayOpen=t=>{t.detail!==this&&this.isOpen&&(this.isOpen=!1,this.lastElement&&!this.isMobile&&this.dispatchEvent(new CustomEvent("dropdown-toggle",{detail:{open:!1},bubbles:!0,composed:!0})))},this.updateResponsiveModeBound=this.updateResponsiveMode.bind(this)}get _effectiveFilterable(){const t=this.getAttribute("filterable");return null!==t?"false"!==t:void 0!==this.filterable?this.filterable:this.options.length>5}static{this.styles=[J,o`
2202
2203
  ${X}
2203
2204
  ${Q}
2204
2205
  ${G}
@@ -2740,7 +2741,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
2740
2741
  </div>
2741
2742
  </div>
2742
2743
  `:i}
2743
- `}};n([L({type:Object}),s("design:type",Object)],ut.prototype,"value",void 0),n([L({type:String,attribute:"default-value"}),s("design:type",Object)],ut.prototype,"defaultValue",void 0),n([L({type:Array}),s("design:type",Array)],ut.prototype,"options",void 0),n([L({type:Boolean}),s("design:type",Object)],ut.prototype,"filterable",void 0),n([L({type:Number}),s("design:type",Number)],ut.prototype,"maxLength",void 0),n([L({type:String}),s("design:type",String)],ut.prototype,"textLabelFilterNotResult",void 0),n([L({type:String}),s("design:type",String)],ut.prototype,"textLabelMobileSearch",void 0),n([L({type:Boolean}),s("design:type",Object)],ut.prototype,"isRenderClearButton",void 0),n([L({type:Boolean}),s("design:type",Object)],ut.prototype,"sortable",void 0),n([B(),s("design:type",Boolean)],ut.prototype,"isMobile",void 0),n([B(),s("design:type",Object)],ut.prototype,"highlightedIndex",void 0),n([B(),s("design:type",Boolean)],ut.prototype,"_isCleared",void 0),n([B(),s("design:type",Array)],ut.prototype,"filteredOptions",void 0),n([B(),s("design:type",Object)],ut.prototype,"filterValue",void 0),n([B(),s("design:type",Object)],ut.prototype,"isOpen",void 0),n([B(),s("design:type",Object)],ut.prototype,"mobileFilterValue",void 0),n([B(),s("design:type",Boolean)],ut.prototype,"showNoResults",void 0),n([L({type:Boolean,attribute:"last-element"}),s("design:type",Object)],ut.prototype,"lastElement",void 0),n([T(".mobile-modal .filter-input"),s("design:type",HTMLInputElement)],ut.prototype,"mobileInputRef",void 0),ut=n([a("filterable-select")],ut);const gt=new CSSStyleSheet;gt.replaceSync("\n @font-face {\n font-family: 'Graphik';\n src: url('/src/assets/font/Graphik-Regular.woff2') format('woff2'),\n url('/src/assets/font/Graphik-Regular.woff') format('woff'),\n url('/src/assets/font/Graphik-Regular.eot') format('embedded-opentype');\n font-weight: normal;\n font-style: normal;\n }\n\n .body-s {\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n letter-spacing: 0%;\n color: green;\n }\n\n .body-l {\n font-family: Graphik;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px;\n }\n");class bt extends t{static{this.styles=[gt,o`
2744
+ `}};n([L({type:Object}),s("design:type",Object)],ut.prototype,"value",void 0),n([L({type:String,attribute:"default-value"}),s("design:type",Object)],ut.prototype,"defaultValue",void 0),n([L({type:Array}),s("design:type",Array)],ut.prototype,"options",void 0),n([L({type:Boolean}),s("design:type",Object)],ut.prototype,"filterable",void 0),n([L({type:Number}),s("design:type",Number)],ut.prototype,"maxLength",void 0),n([L({type:String}),s("design:type",String)],ut.prototype,"textLabelFilterNotResult",void 0),n([L({type:String}),s("design:type",String)],ut.prototype,"textLabelMobileSearch",void 0),n([L({type:Boolean}),s("design:type",Object)],ut.prototype,"isRenderClearButton",void 0),n([L({type:Boolean}),s("design:type",Object)],ut.prototype,"sortable",void 0),n([B(),s("design:type",Boolean)],ut.prototype,"isMobile",void 0),n([B(),s("design:type",Object)],ut.prototype,"highlightedIndex",void 0),n([B(),s("design:type",Boolean)],ut.prototype,"_isCleared",void 0),n([B(),s("design:type",Array)],ut.prototype,"filteredOptions",void 0),n([B(),s("design:type",Object)],ut.prototype,"filterValue",void 0),n([B(),s("design:type",Object)],ut.prototype,"isOpen",void 0),n([B(),s("design:type",Object)],ut.prototype,"mobileFilterValue",void 0),n([B(),s("design:type",Boolean)],ut.prototype,"showNoResults",void 0),n([L({type:Boolean,attribute:"last-element"}),s("design:type",Object)],ut.prototype,"lastElement",void 0),n([V(".mobile-modal .filter-input"),s("design:type",HTMLInputElement)],ut.prototype,"mobileInputRef",void 0),ut=n([a("filterable-select")],ut);const gt=new CSSStyleSheet;gt.replaceSync("\n @font-face {\n font-family: 'Graphik';\n src: url('/src/assets/font/Graphik-Regular.woff2') format('woff2'),\n url('/src/assets/font/Graphik-Regular.woff') format('woff'),\n url('/src/assets/font/Graphik-Regular.eot') format('embedded-opentype');\n font-weight: normal;\n font-style: normal;\n }\n\n .body-s {\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n letter-spacing: 0%;\n color: green;\n }\n\n .body-l {\n font-family: Graphik;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px;\n }\n");class bt extends t{static{this.styles=[gt,o`
2744
2745
  :host {
2745
2746
  display: flex;
2746
2747
  position: fixed;
@@ -3119,7 +3120,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
3119
3120
  </button>
3120
3121
  `:null}
3121
3122
  </div>
3122
- `}};n([L({type:Array}),s("design:type",Array)],yt.prototype,"tabs",void 0),n([L({type:String}),s("design:type",String)],yt.prototype,"selected",void 0),n([B(),s("design:type",String)],yt.prototype,"internalSelected",void 0),n([B(),s("design:type",Object)],yt.prototype,"showPrev",void 0),n([B(),s("design:type",Object)],yt.prototype,"showNext",void 0),yt=n([a("tabs-bar")],yt);let vt=class extends V{constructor(){super(...arguments),this.files=[],this.simulatedDelay=0,this.showAlertInError=!1,this.typeTextFile="",this.loading=!1,this.progress=0,this.errorTextMessage=null,this.isMultiple=!1,this.TEXT_SNACKBAR_ERROR_TYPE=()=>"El formato del archivo no es válido",this.TEXT_SNACKBAR_ERROR_SIZE=t=>`El archivo es muy grande. Máximo ${t}`,this.TEXT_SNACKBAR_ERROR_DELETE=t=>`Tu ${this.typeTextFile?this.typeTextFile:"file"===t?"archivo":"imagen"} fue ${"file"===t?"eliminado":"eliminada"}`}showSnackbar(t,e=5e3,i){const o=document.querySelector("randstad-snackbar");o?(clearTimeout(o.timer),o.open&&(o.open=!1),setTimeout((()=>{o.type=i,o.icon="error"===i?"warning":"check",o.message=t,o.open=!0,o.timer=setTimeout((()=>o.open=!1),e)}),150)):console.warn("randstad-snackbar component not found in the DOM. Cannot show alert.")}baseGetTextMaxFileSize(t){const e=1048576;if(t>=e){return`${parseFloat((t/e).toPrecision(3)).toString()} MB`}return`${Math.round(t/1024)} KB`}getReadableFileTypes(t,e){const i=t.map((t=>e[t]||t));if(i.length<=1)return i.join("");const o=i.pop();return`${i.join(", ")} y ${o}`}validateFiles(t,e,i,o,r,n){const s=e>0,a=i.length>0;for(const l of t){const t="."+l.name.split(".").pop()?.toLowerCase(),d=i.includes(l.type),c=i.some((e=>{const i=e.split("/")[1];return"jpeg"===i?".jpeg"===t||".jpg"===t:t===`.${i}`}));if(a&&(!d||!c))return this.setError(n,o,this.TEXT_SNACKBAR_ERROR_TYPE()),!1;if(s&&l.size>e)return this.setError(n,r,this.TEXT_SNACKBAR_ERROR_SIZE(this.baseGetTextMaxFileSize(e))),!1}return!0}async baseHandleFiles(t,e){const{baseMaxFiles:i,maxFileSize:o,acceptedFileTypes:r,errorMessageType:n,errorMessageSize:s,typeError:a}=e;if(this.setError(a,null,null),!t||this.disabled||this.loading)return;const l=Array.isArray(this.files)?this.files:[],d=(Number.isFinite(i)&&i>0?i:1)-l.length;if(d<=0){const t="Alcanzaste el número máximo de archivos";return void this.setError(a,t,t)}const c=Array.from(t).slice(0,d);if(0===c.length)return;if(!this.validateFiles(c,o,r,n,s,a))return;const h=this.simulatedDelay??0;if(h<=0)return this.files=[...l,...c],void this.dispatchEvent(new CustomEvent("files-changed",{detail:this.files}));this.loading=!0,this.progress=0,await this.updateComplete;const p=Date.now(),u=setInterval((()=>{const t=Date.now()-p,e=Math.min(Math.round(t/h*100),100);this.progress=e,this.progress>=100&&(clearInterval(u),this.files=[...l,...c],this.loading=!1,this.progress=0,this.dispatchEvent(new CustomEvent("files-changed",{detail:this.files})))}),10);this.fileInput&&(this.fileInput.value="")}baseOnFileInputChange(t,e){const i=t.target;this.baseHandleFiles(i.files,e),this.fileInput&&(this.fileInput.value="")}removeFile(t,e){this.files=this.files.filter(((e,i)=>i!==t)),this.dispatchEvent(new CustomEvent("files-changed",{detail:this.files})),0===this.files.length&&this.setError(e,null,null),this.showAlertInError&&this.showSnackbar(this.TEXT_SNACKBAR_ERROR_DELETE(e),5e3,"success")}setError(t="file",e,i){"file"===t&&(this.error=!!e,this.errorMessage=e),"image"===t&&(this.errorTextMessage=e),this.showAlertInError&&i&&this.showSnackbar(i,5e3,"error")}renderLoadingContainer(t){return e`
3123
+ `}};n([L({type:Array}),s("design:type",Array)],yt.prototype,"tabs",void 0),n([L({type:String}),s("design:type",String)],yt.prototype,"selected",void 0),n([B(),s("design:type",String)],yt.prototype,"internalSelected",void 0),n([B(),s("design:type",Object)],yt.prototype,"showPrev",void 0),n([B(),s("design:type",Object)],yt.prototype,"showNext",void 0),yt=n([a("tabs-bar")],yt);let vt=class extends T{constructor(){super(...arguments),this.files=[],this.simulatedDelay=0,this.showAlertInError=!1,this.typeTextFile="",this.loading=!1,this.progress=0,this.errorTextMessage=null,this.isMultiple=!1,this.TEXT_SNACKBAR_ERROR_TYPE=()=>"El formato del archivo no es válido",this.TEXT_SNACKBAR_ERROR_SIZE=t=>`El archivo es muy grande. Máximo ${t}`,this.TEXT_SNACKBAR_ERROR_DELETE=t=>`Tu ${this.typeTextFile?this.typeTextFile:"file"===t?"archivo":"imagen"} fue ${"file"===t?"eliminado":"eliminada"}`}showSnackbar(t,e=5e3,i){const o=document.querySelector("randstad-snackbar");o?(clearTimeout(o.timer),o.open&&(o.open=!1),setTimeout((()=>{o.type=i,o.icon="error"===i?"warning":"check",o.message=t,o.open=!0,o.timer=setTimeout((()=>o.open=!1),e)}),150)):console.warn("randstad-snackbar component not found in the DOM. Cannot show alert.")}baseGetTextMaxFileSize(t){const e=1048576;if(t>=e){return`${parseFloat((t/e).toPrecision(3)).toString()} MB`}return`${Math.round(t/1024)} KB`}getReadableFileTypes(t,e){const i=t.map((t=>e[t]||t));if(i.length<=1)return i.join("");const o=i.pop();return`${i.join(", ")} y ${o}`}validateFiles(t,e,i,o,r,n){const s=e>0,a=i.length>0;for(const l of t){const t="."+l.name.split(".").pop()?.toLowerCase(),d=i.includes(l.type),c=i.some((e=>{const i=e.split("/")[1];return"jpeg"===i?".jpeg"===t||".jpg"===t:t===`.${i}`}));if(a&&(!d||!c))return this.setError(n,o,this.TEXT_SNACKBAR_ERROR_TYPE()),!1;if(s&&l.size>e)return this.setError(n,r,this.TEXT_SNACKBAR_ERROR_SIZE(this.baseGetTextMaxFileSize(e))),!1}return!0}async baseHandleFiles(t,e){const{baseMaxFiles:i,maxFileSize:o,acceptedFileTypes:r,errorMessageType:n,errorMessageSize:s,typeError:a}=e;if(this.setError(a,null,null),!t||this.disabled||this.loading)return;const l=Array.isArray(this.files)?this.files:[],d=(Number.isFinite(i)&&i>0?i:1)-l.length;if(d<=0){const t="Alcanzaste el número máximo de archivos";return void this.setError(a,t,t)}const c=Array.from(t).slice(0,d);if(0===c.length)return;if(!this.validateFiles(c,o,r,n,s,a))return;const h=this.simulatedDelay??0;if(h<=0)return this.files=[...l,...c],void this.dispatchEvent(new CustomEvent("files-changed",{detail:this.files}));this.loading=!0,this.progress=0,await this.updateComplete;const p=Date.now(),u=setInterval((()=>{const t=Date.now()-p,e=Math.min(Math.round(t/h*100),100);this.progress=e,this.progress>=100&&(clearInterval(u),this.files=[...l,...c],this.loading=!1,this.progress=0,this.dispatchEvent(new CustomEvent("files-changed",{detail:this.files})))}),10);this.fileInput&&(this.fileInput.value="")}baseOnFileInputChange(t,e){const i=t.target;this.baseHandleFiles(i.files,e),this.fileInput&&(this.fileInput.value="")}removeFile(t,e){this.files=this.files.filter(((e,i)=>i!==t)),this.dispatchEvent(new CustomEvent("files-changed",{detail:this.files})),0===this.files.length&&this.setError(e,null,null),this.showAlertInError&&this.showSnackbar(this.TEXT_SNACKBAR_ERROR_DELETE(e),5e3,"success")}setError(t="file",e,i){"file"===t&&(this.error=!!e,this.errorMessage=e),"image"===t&&(this.errorTextMessage=e),this.showAlertInError&&i&&this.showSnackbar(i,5e3,"error")}renderLoadingContainer(t){return e`
3123
3124
  ${this.loading?e`
3124
3125
  <div class="progress-bar-container">
3125
3126
  <div class="progress-bar" role="progressbar" aria-label="Subiendo archivo…">
@@ -3129,7 +3130,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
3129
3130
  `:e`
3130
3131
  ${t}
3131
3132
  `}
3132
- `}};n([L({type:Array}),s("design:type",Array)],vt.prototype,"files",void 0),n([L({type:Number}),s("design:type",Object)],vt.prototype,"simulatedDelay",void 0),n([L({type:Boolean}),s("design:type",Object)],vt.prototype,"showAlertInError",void 0),n([L({type:String}),s("design:type",Object)],vt.prototype,"typeTextFile",void 0),n([B(),s("design:type",Object)],vt.prototype,"loading",void 0),n([B(),s("design:type",Object)],vt.prototype,"progress",void 0),n([B(),s("design:type",Object)],vt.prototype,"errorTextMessage",void 0),n([T('input[ type="file" ]'),s("design:type",HTMLInputElement)],vt.prototype,"fileInput",void 0),vt=n([a("base-upload")],vt);const ft={"image/jpg":".jpg","image/jpeg":".jpeg","image/png":".png"},wt={"application/pdf":".pdf","application/msword":".doc","application/vnd.openxmlformats-officedocument.wordprocessingml.document":".docx",...ft,"text/plain":".txt"},xt=o`
3133
+ `}};n([L({type:Array}),s("design:type",Array)],vt.prototype,"files",void 0),n([L({type:Number}),s("design:type",Object)],vt.prototype,"simulatedDelay",void 0),n([L({type:Boolean}),s("design:type",Object)],vt.prototype,"showAlertInError",void 0),n([L({type:String}),s("design:type",Object)],vt.prototype,"typeTextFile",void 0),n([B(),s("design:type",Object)],vt.prototype,"loading",void 0),n([B(),s("design:type",Object)],vt.prototype,"progress",void 0),n([B(),s("design:type",Object)],vt.prototype,"errorTextMessage",void 0),n([V('input[ type="file" ]'),s("design:type",HTMLInputElement)],vt.prototype,"fileInput",void 0),vt=n([a("base-upload")],vt);const ft={"image/jpg":".jpg","image/jpeg":".jpeg","image/png":".png"},wt={"application/pdf":".pdf","application/msword":".doc","application/vnd.openxmlformats-officedocument.wordprocessingml.document":".docx",...ft,"text/plain":".txt"},xt=o`
3133
3134
  .progress-bar-container {
3134
3135
  min-height: 23px;
3135
3136
  display: flex;
@@ -3344,7 +3345,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
3344
3345
  </div>
3345
3346
  </div>
3346
3347
  </div>
3347
- `}};n([L({type:Array}),s("design:type",Array)],Ct.prototype,"acceptedFileTypes",void 0),n([L({type:Number}),s("design:type",Object)],Ct.prototype,"maxFiles",void 0),n([L({type:Number}),s("design:type",Object)],Ct.prototype,"maxFileSize",void 0),n([L({type:Boolean}),s("design:type",Object)],Ct.prototype,"isShowInfoSize",void 0),n([L({type:Boolean}),s("design:type",Object)],Ct.prototype,"isChangeStyleError",void 0),n([B(),s("design:type",Object)],Ct.prototype,"isDragging",void 0),n([B(),s("design:type",Array)],Ct.prototype,"imageUrls",void 0),n([B(),s("design:type",Boolean)],Ct.prototype,"isMaxFilesReached",void 0),Ct=n([a("upload-image")],Ct);const kt=6048e5,$t=Symbol.for("constructDateFrom");function St(t,e){return"function"==typeof t?t(e):t&&"object"==typeof t&&$t in t?t[$t](e):t instanceof Date?new t.constructor(e):new Date(e)}function Dt(t,e){return St(e||t,t)}function Et(t,e,i){const o=Dt(t,i?.in);if(isNaN(e))return St(t,NaN);if(!e)return o;const r=o.getDate(),n=St(t,o.getTime());n.setMonth(o.getMonth()+e+1,0);return r>=n.getDate()?n:(o.setFullYear(n.getFullYear(),n.getMonth(),r),o)}let _t={};function Mt(){return _t}function Ot(t,e){const i=Mt(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,r=Dt(t,e?.in),n=r.getDay(),s=(n<o?7:0)+n-o;return r.setDate(r.getDate()-s),r.setHours(0,0,0,0),r}function Ft(t,e){return Ot(t,{...e,weekStartsOn:1})}function Lt(t,e){const i=Dt(t,e?.in),o=i.getFullYear(),r=St(i,0);r.setFullYear(o+1,0,4),r.setHours(0,0,0,0);const n=Ft(r),s=St(i,0);s.setFullYear(o,0,4),s.setHours(0,0,0,0);const a=Ft(s);return i.getTime()>=n.getTime()?o+1:i.getTime()>=a.getTime()?o:o-1}function Bt(t){const e=Dt(t),i=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return i.setUTCFullYear(e.getFullYear()),+t-+i}function Tt(t,...e){const i=St.bind(null,e.find((t=>"object"==typeof t)));return e.map(i)}function Vt(t,e){const i=Dt(t,e?.in);return i.setHours(0,0,0,0),i}function Pt(t,e,i){return Et(t,12*e,i)}function Rt(t){return!(!((e=t)instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof t||isNaN(+Dt(t)));var e}function jt(t,e){const i=Dt(t,e?.in);return i.setDate(1),i.setHours(0,0,0,0),i}const At={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Ht(t){return(e={})=>{const i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}const zt={date:Ht({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Ht({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Ht({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Nt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function It(t){return(e,i)=>{let o;if("formatting"===(i?.context?String(i.context):"standalone")&&t.formattingValues){const e=t.defaultFormattingWidth||t.defaultWidth,r=i?.width?String(i.width):e;o=t.formattingValues[r]||t.formattingValues[e]}else{const e=t.defaultWidth,r=i?.width?String(i.width):t.defaultWidth;o=t.values[r]||t.values[e]}return o[t.argumentCallback?t.argumentCallback(e):e]}}function Wt(t){return(e,i={})=>{const o=i.width,r=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],n=e.match(r);if(!n)return null;const s=n[0],a=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?function(t,e){for(let i=0;i<t.length;i++)if(e(t[i]))return i;return}(a,(t=>t.test(s))):function(t,e){for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&e(t[i]))return i;return}(a,(t=>t.test(s)));let d;d=t.valueCallback?t.valueCallback(l):l,d=i.valueCallback?i.valueCallback(d):d;return{value:d,rest:e.slice(s.length)}}}var qt;const Zt={code:"en-US",formatDistance:(t,e,i)=>{let o;const r=At[t];return o="string"==typeof r?r:1===e?r.one:r.other.replace("{{count}}",e.toString()),i?.addSuffix?i.comparison&&i.comparison>0?"in "+o:o+" ago":o},formatLong:zt,formatRelative:(t,e,i,o)=>Nt[t],localize:{ordinalNumber:(t,e)=>{const i=Number(t),o=i%100;if(o>20||o<10)switch(o%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:It({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:It({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:It({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:It({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:It({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(qt={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)},(t,e={})=>{const i=t.match(qt.matchPattern);if(!i)return null;const o=i[0],r=t.match(qt.parsePattern);if(!r)return null;let n=qt.valueCallback?qt.valueCallback(r[0]):r[0];return n=e.valueCallback?e.valueCallback(n):n,{value:n,rest:t.slice(o.length)}}),era:Wt({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Wt({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:Wt({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Wt({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Wt({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function Ut(t,e){const i=Dt(t,e?.in),o=function(t,e){const[i,o]=Tt(0,t,e),r=Vt(i),n=Vt(o),s=+r-Bt(r),a=+n-Bt(n);return Math.round((s-a)/864e5)}(i,function(t,e){const i=Dt(t,e?.in);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}(i));return o+1}function Yt(t,e){const i=Dt(t,e?.in),o=+Ft(i)-+function(t,e){const i=Lt(t,e),o=St(t,0);return o.setFullYear(i,0,4),o.setHours(0,0,0,0),Ft(o)}(i);return Math.round(o/kt)+1}function Gt(t,e){const i=Dt(t,e?.in),o=i.getFullYear(),r=Mt(),n=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=St(e?.in||t,0);s.setFullYear(o+1,0,n),s.setHours(0,0,0,0);const a=Ot(s,e),l=St(e?.in||t,0);l.setFullYear(o,0,n),l.setHours(0,0,0,0);const d=Ot(l,e);return+i>=+a?o+1:+i>=+d?o:o-1}function Kt(t,e){const i=Dt(t,e?.in),o=+Ot(i,e)-+function(t,e){const i=Mt(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,r=Gt(t,e),n=St(e?.in||t,0);return n.setFullYear(r,0,o),n.setHours(0,0,0,0),Ot(n,e)}(i,e);return Math.round(o/kt)+1}function Xt(t,e){return(t<0?"-":"")+Math.abs(t).toString().padStart(e,"0")}const Qt={y(t,e){const i=t.getFullYear(),o=i>0?i:1-i;return Xt("yy"===e?o%100:o,e.length)},M(t,e){const i=t.getMonth();return"M"===e?String(i+1):Xt(i+1,2)},d:(t,e)=>Xt(t.getDate(),e.length),a(t,e){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];default:return"am"===i?"a.m.":"p.m."}},h:(t,e)=>Xt(t.getHours()%12||12,e.length),H:(t,e)=>Xt(t.getHours(),e.length),m:(t,e)=>Xt(t.getMinutes(),e.length),s:(t,e)=>Xt(t.getSeconds(),e.length),S(t,e){const i=e.length,o=t.getMilliseconds();return Xt(Math.trunc(o*Math.pow(10,i-3)),e.length)}},Jt="midnight",te="noon",ee="morning",ie="afternoon",oe="evening",re="night",ne={G:function(t,e,i){const o=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(o,{width:"abbreviated"});case"GGGGG":return i.era(o,{width:"narrow"});default:return i.era(o,{width:"wide"})}},y:function(t,e,i){if("yo"===e){const e=t.getFullYear(),o=e>0?e:1-e;return i.ordinalNumber(o,{unit:"year"})}return Qt.y(t,e)},Y:function(t,e,i,o){const r=Gt(t,o),n=r>0?r:1-r;if("YY"===e){return Xt(n%100,2)}return"Yo"===e?i.ordinalNumber(n,{unit:"year"}):Xt(n,e.length)},R:function(t,e){return Xt(Lt(t),e.length)},u:function(t,e){return Xt(t.getFullYear(),e.length)},Q:function(t,e,i){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(o);case"QQ":return Xt(o,2);case"Qo":return i.ordinalNumber(o,{unit:"quarter"});case"QQQ":return i.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(o,{width:"narrow",context:"formatting"});default:return i.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,e,i){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(o);case"qq":return Xt(o,2);case"qo":return i.ordinalNumber(o,{unit:"quarter"});case"qqq":return i.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(o,{width:"narrow",context:"standalone"});default:return i.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,e,i){const o=t.getMonth();switch(e){case"M":case"MM":return Qt.M(t,e);case"Mo":return i.ordinalNumber(o+1,{unit:"month"});case"MMM":return i.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(o,{width:"narrow",context:"formatting"});default:return i.month(o,{width:"wide",context:"formatting"})}},L:function(t,e,i){const o=t.getMonth();switch(e){case"L":return String(o+1);case"LL":return Xt(o+1,2);case"Lo":return i.ordinalNumber(o+1,{unit:"month"});case"LLL":return i.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(o,{width:"narrow",context:"standalone"});default:return i.month(o,{width:"wide",context:"standalone"})}},w:function(t,e,i,o){const r=Kt(t,o);return"wo"===e?i.ordinalNumber(r,{unit:"week"}):Xt(r,e.length)},I:function(t,e,i){const o=Yt(t);return"Io"===e?i.ordinalNumber(o,{unit:"week"}):Xt(o,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getDate(),{unit:"date"}):Qt.d(t,e)},D:function(t,e,i){const o=Ut(t);return"Do"===e?i.ordinalNumber(o,{unit:"dayOfYear"}):Xt(o,e.length)},E:function(t,e,i){const o=t.getDay();switch(e){case"E":case"EE":case"EEE":return i.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},e:function(t,e,i,o){const r=t.getDay(),n=(r-o.weekStartsOn+8)%7||7;switch(e){case"e":return String(n);case"ee":return Xt(n,2);case"eo":return i.ordinalNumber(n,{unit:"day"});case"eee":return i.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,i,o){const r=t.getDay(),n=(r-o.weekStartsOn+8)%7||7;switch(e){case"c":return String(n);case"cc":return Xt(n,e.length);case"co":return i.ordinalNumber(n,{unit:"day"});case"ccc":return i.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(r,{width:"narrow",context:"standalone"});case"cccccc":return i.day(r,{width:"short",context:"standalone"});default:return i.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,i){const o=t.getDay(),r=0===o?7:o;switch(e){case"i":return String(r);case"ii":return Xt(r,e.length);case"io":return i.ordinalNumber(r,{unit:"day"});case"iii":return i.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},a:function(t,e,i){const o=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,e,i){const o=t.getHours();let r;switch(r=12===o?te:0===o?Jt:o/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,i){const o=t.getHours();let r;switch(r=o>=17?oe:o>=12?ie:o>=4?ee:re,e){case"B":case"BB":case"BBB":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,i){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),i.ordinalNumber(e,{unit:"hour"})}return Qt.h(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getHours(),{unit:"hour"}):Qt.H(t,e)},K:function(t,e,i){const o=t.getHours()%12;return"Ko"===e?i.ordinalNumber(o,{unit:"hour"}):Xt(o,e.length)},k:function(t,e,i){let o=t.getHours();return 0===o&&(o=24),"ko"===e?i.ordinalNumber(o,{unit:"hour"}):Xt(o,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getMinutes(),{unit:"minute"}):Qt.m(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getSeconds(),{unit:"second"}):Qt.s(t,e)},S:function(t,e){return Qt.S(t,e)},X:function(t,e,i){const o=t.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return ae(o);case"XXXX":case"XX":return le(o);default:return le(o,":")}},x:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"x":return ae(o);case"xxxx":case"xx":return le(o);default:return le(o,":")}},O:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+se(o,":");default:return"GMT"+le(o,":")}},z:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+se(o,":");default:return"GMT"+le(o,":")}},t:function(t,e,i){return Xt(Math.trunc(+t/1e3),e.length)},T:function(t,e,i){return Xt(+t,e.length)}};function se(t,e=""){const i=t>0?"-":"+",o=Math.abs(t),r=Math.trunc(o/60),n=o%60;return 0===n?i+String(r):i+String(r)+e+Xt(n,2)}function ae(t,e){if(t%60==0){return(t>0?"-":"+")+Xt(Math.abs(t)/60,2)}return le(t,e)}function le(t,e=""){const i=t>0?"-":"+",o=Math.abs(t);return i+Xt(Math.trunc(o/60),2)+e+Xt(o%60,2)}const de=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},ce=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},he={p:ce,P:(t,e)=>{const i=t.match(/(P+)(p+)?/)||[],o=i[1],r=i[2];if(!r)return de(t,e);let n;switch(o){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",de(o,e)).replace("{{time}}",ce(r,e))}},pe=/^D+$/,ue=/^Y+$/,ge=["D","DD","YY","YYYY"];const be=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,me=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ye=/^'([^]*?)'?$/,ve=/''/g,fe=/[a-zA-Z]/;function we(t,e,i){const o=Mt(),r=o.locale??Zt,n=o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,s=o.weekStartsOn??o.locale?.options?.weekStartsOn??0,a=Dt(t,i?.in);if(!Rt(a))throw new RangeError("Invalid time value");let l=e.match(me).map((t=>{const e=t[0];if("p"===e||"P"===e){return(0,he[e])(t,r.formatLong)}return t})).join("").match(be).map((t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:xe(t)};if(ne[e])return{isToken:!0,value:t};if(e.match(fe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}}));r.localize.preprocessor&&(l=r.localize.preprocessor(a,l));const d={firstWeekContainsDate:n,weekStartsOn:s,locale:r};return l.map((i=>{if(!i.isToken)return i.value;const o=i.value;(function(t){return ue.test(t)}(o)||function(t){return pe.test(t)}(o))&&function(t,e,i){const o=function(t,e,i){const o="Y"===t[0]?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(t,e,i);if(console.warn(o),ge.includes(t))throw new RangeError(o)}(o,e,String(t));return(0,ne[o[0]])(a,o,r.localize,d)})).join("")}function xe(t){const e=t.match(ye);return e?e[1].replace(ve,"'"):t}function Ce(t,e){return Dt(t,e?.in).getDate()}function ke(t,e){const i=Dt(t,e?.in),o=i.getFullYear(),r=i.getMonth(),n=St(i,0);return n.setFullYear(o,r+1,0),n.setHours(0,0,0,0),n.getDate()}function $e(t,e){return+Dt(t)>+Dt(e)}function Se(t,e){return+Dt(t)<+Dt(e)}function De(t,e,i){const[o,r]=Tt(0,t,e);return o.getFullYear()===r.getFullYear()&&o.getMonth()===r.getMonth()}function Ee(t,e,i){const[o,r]=Tt(0,t,e);return o.getFullYear()===r.getFullYear()}function _e(t,e){return function(t,e){const[i,o]=Tt(0,t,e);return+Vt(i)===+Vt(o)}(St(t,t),function(t){return St(t,Date.now())}(t))}function Me(t,e,i){const o=Dt(t,i?.in);return o.setDate(e),o}let Oe=class extends t{static{this.styles=[J,o`
3348
+ `}};n([L({type:Array}),s("design:type",Array)],Ct.prototype,"acceptedFileTypes",void 0),n([L({type:Number}),s("design:type",Object)],Ct.prototype,"maxFiles",void 0),n([L({type:Number}),s("design:type",Object)],Ct.prototype,"maxFileSize",void 0),n([L({type:Boolean}),s("design:type",Object)],Ct.prototype,"isShowInfoSize",void 0),n([L({type:Boolean}),s("design:type",Object)],Ct.prototype,"isChangeStyleError",void 0),n([B(),s("design:type",Object)],Ct.prototype,"isDragging",void 0),n([B(),s("design:type",Array)],Ct.prototype,"imageUrls",void 0),n([B(),s("design:type",Boolean)],Ct.prototype,"isMaxFilesReached",void 0),Ct=n([a("upload-image")],Ct);const kt=6048e5,$t=Symbol.for("constructDateFrom");function St(t,e){return"function"==typeof t?t(e):t&&"object"==typeof t&&$t in t?t[$t](e):t instanceof Date?new t.constructor(e):new Date(e)}function Dt(t,e){return St(e||t,t)}function Et(t,e,i){const o=Dt(t,i?.in);if(isNaN(e))return St(t,NaN);if(!e)return o;const r=o.getDate(),n=St(t,o.getTime());n.setMonth(o.getMonth()+e+1,0);return r>=n.getDate()?n:(o.setFullYear(n.getFullYear(),n.getMonth(),r),o)}let _t={};function Mt(){return _t}function Ot(t,e){const i=Mt(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,r=Dt(t,e?.in),n=r.getDay(),s=(n<o?7:0)+n-o;return r.setDate(r.getDate()-s),r.setHours(0,0,0,0),r}function Ft(t,e){return Ot(t,{...e,weekStartsOn:1})}function Lt(t,e){const i=Dt(t,e?.in),o=i.getFullYear(),r=St(i,0);r.setFullYear(o+1,0,4),r.setHours(0,0,0,0);const n=Ft(r),s=St(i,0);s.setFullYear(o,0,4),s.setHours(0,0,0,0);const a=Ft(s);return i.getTime()>=n.getTime()?o+1:i.getTime()>=a.getTime()?o:o-1}function Bt(t){const e=Dt(t),i=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return i.setUTCFullYear(e.getFullYear()),+t-+i}function Vt(t,...e){const i=St.bind(null,e.find((t=>"object"==typeof t)));return e.map(i)}function Tt(t,e){const i=Dt(t,e?.in);return i.setHours(0,0,0,0),i}function Pt(t,e,i){return Et(t,12*e,i)}function Rt(t){return!(!((e=t)instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof t||isNaN(+Dt(t)));var e}function jt(t,e){const i=Dt(t,e?.in);return i.setDate(1),i.setHours(0,0,0,0),i}const At={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Ht(t){return(e={})=>{const i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}const zt={date:Ht({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Ht({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Ht({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},It={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Nt(t){return(e,i)=>{let o;if("formatting"===(i?.context?String(i.context):"standalone")&&t.formattingValues){const e=t.defaultFormattingWidth||t.defaultWidth,r=i?.width?String(i.width):e;o=t.formattingValues[r]||t.formattingValues[e]}else{const e=t.defaultWidth,r=i?.width?String(i.width):t.defaultWidth;o=t.values[r]||t.values[e]}return o[t.argumentCallback?t.argumentCallback(e):e]}}function Wt(t){return(e,i={})=>{const o=i.width,r=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],n=e.match(r);if(!n)return null;const s=n[0],a=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?function(t,e){for(let i=0;i<t.length;i++)if(e(t[i]))return i;return}(a,(t=>t.test(s))):function(t,e){for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&e(t[i]))return i;return}(a,(t=>t.test(s)));let d;d=t.valueCallback?t.valueCallback(l):l,d=i.valueCallback?i.valueCallback(d):d;return{value:d,rest:e.slice(s.length)}}}var qt;const Zt={code:"en-US",formatDistance:(t,e,i)=>{let o;const r=At[t];return o="string"==typeof r?r:1===e?r.one:r.other.replace("{{count}}",e.toString()),i?.addSuffix?i.comparison&&i.comparison>0?"in "+o:o+" ago":o},formatLong:zt,formatRelative:(t,e,i,o)=>It[t],localize:{ordinalNumber:(t,e)=>{const i=Number(t),o=i%100;if(o>20||o<10)switch(o%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:Nt({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Nt({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:Nt({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Nt({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Nt({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(qt={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)},(t,e={})=>{const i=t.match(qt.matchPattern);if(!i)return null;const o=i[0],r=t.match(qt.parsePattern);if(!r)return null;let n=qt.valueCallback?qt.valueCallback(r[0]):r[0];return n=e.valueCallback?e.valueCallback(n):n,{value:n,rest:t.slice(o.length)}}),era:Wt({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Wt({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:Wt({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Wt({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Wt({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function Ut(t,e){const i=Dt(t,e?.in),o=function(t,e){const[i,o]=Vt(0,t,e),r=Tt(i),n=Tt(o),s=+r-Bt(r),a=+n-Bt(n);return Math.round((s-a)/864e5)}(i,function(t,e){const i=Dt(t,e?.in);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}(i));return o+1}function Yt(t,e){const i=Dt(t,e?.in),o=+Ft(i)-+function(t,e){const i=Lt(t,e),o=St(t,0);return o.setFullYear(i,0,4),o.setHours(0,0,0,0),Ft(o)}(i);return Math.round(o/kt)+1}function Gt(t,e){const i=Dt(t,e?.in),o=i.getFullYear(),r=Mt(),n=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=St(e?.in||t,0);s.setFullYear(o+1,0,n),s.setHours(0,0,0,0);const a=Ot(s,e),l=St(e?.in||t,0);l.setFullYear(o,0,n),l.setHours(0,0,0,0);const d=Ot(l,e);return+i>=+a?o+1:+i>=+d?o:o-1}function Kt(t,e){const i=Dt(t,e?.in),o=+Ot(i,e)-+function(t,e){const i=Mt(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,r=Gt(t,e),n=St(e?.in||t,0);return n.setFullYear(r,0,o),n.setHours(0,0,0,0),Ot(n,e)}(i,e);return Math.round(o/kt)+1}function Xt(t,e){return(t<0?"-":"")+Math.abs(t).toString().padStart(e,"0")}const Qt={y(t,e){const i=t.getFullYear(),o=i>0?i:1-i;return Xt("yy"===e?o%100:o,e.length)},M(t,e){const i=t.getMonth();return"M"===e?String(i+1):Xt(i+1,2)},d:(t,e)=>Xt(t.getDate(),e.length),a(t,e){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];default:return"am"===i?"a.m.":"p.m."}},h:(t,e)=>Xt(t.getHours()%12||12,e.length),H:(t,e)=>Xt(t.getHours(),e.length),m:(t,e)=>Xt(t.getMinutes(),e.length),s:(t,e)=>Xt(t.getSeconds(),e.length),S(t,e){const i=e.length,o=t.getMilliseconds();return Xt(Math.trunc(o*Math.pow(10,i-3)),e.length)}},Jt="midnight",te="noon",ee="morning",ie="afternoon",oe="evening",re="night",ne={G:function(t,e,i){const o=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(o,{width:"abbreviated"});case"GGGGG":return i.era(o,{width:"narrow"});default:return i.era(o,{width:"wide"})}},y:function(t,e,i){if("yo"===e){const e=t.getFullYear(),o=e>0?e:1-e;return i.ordinalNumber(o,{unit:"year"})}return Qt.y(t,e)},Y:function(t,e,i,o){const r=Gt(t,o),n=r>0?r:1-r;if("YY"===e){return Xt(n%100,2)}return"Yo"===e?i.ordinalNumber(n,{unit:"year"}):Xt(n,e.length)},R:function(t,e){return Xt(Lt(t),e.length)},u:function(t,e){return Xt(t.getFullYear(),e.length)},Q:function(t,e,i){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(o);case"QQ":return Xt(o,2);case"Qo":return i.ordinalNumber(o,{unit:"quarter"});case"QQQ":return i.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(o,{width:"narrow",context:"formatting"});default:return i.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,e,i){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(o);case"qq":return Xt(o,2);case"qo":return i.ordinalNumber(o,{unit:"quarter"});case"qqq":return i.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(o,{width:"narrow",context:"standalone"});default:return i.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,e,i){const o=t.getMonth();switch(e){case"M":case"MM":return Qt.M(t,e);case"Mo":return i.ordinalNumber(o+1,{unit:"month"});case"MMM":return i.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(o,{width:"narrow",context:"formatting"});default:return i.month(o,{width:"wide",context:"formatting"})}},L:function(t,e,i){const o=t.getMonth();switch(e){case"L":return String(o+1);case"LL":return Xt(o+1,2);case"Lo":return i.ordinalNumber(o+1,{unit:"month"});case"LLL":return i.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(o,{width:"narrow",context:"standalone"});default:return i.month(o,{width:"wide",context:"standalone"})}},w:function(t,e,i,o){const r=Kt(t,o);return"wo"===e?i.ordinalNumber(r,{unit:"week"}):Xt(r,e.length)},I:function(t,e,i){const o=Yt(t);return"Io"===e?i.ordinalNumber(o,{unit:"week"}):Xt(o,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getDate(),{unit:"date"}):Qt.d(t,e)},D:function(t,e,i){const o=Ut(t);return"Do"===e?i.ordinalNumber(o,{unit:"dayOfYear"}):Xt(o,e.length)},E:function(t,e,i){const o=t.getDay();switch(e){case"E":case"EE":case"EEE":return i.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},e:function(t,e,i,o){const r=t.getDay(),n=(r-o.weekStartsOn+8)%7||7;switch(e){case"e":return String(n);case"ee":return Xt(n,2);case"eo":return i.ordinalNumber(n,{unit:"day"});case"eee":return i.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,i,o){const r=t.getDay(),n=(r-o.weekStartsOn+8)%7||7;switch(e){case"c":return String(n);case"cc":return Xt(n,e.length);case"co":return i.ordinalNumber(n,{unit:"day"});case"ccc":return i.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(r,{width:"narrow",context:"standalone"});case"cccccc":return i.day(r,{width:"short",context:"standalone"});default:return i.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,i){const o=t.getDay(),r=0===o?7:o;switch(e){case"i":return String(r);case"ii":return Xt(r,e.length);case"io":return i.ordinalNumber(r,{unit:"day"});case"iii":return i.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},a:function(t,e,i){const o=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,e,i){const o=t.getHours();let r;switch(r=12===o?te:0===o?Jt:o/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,i){const o=t.getHours();let r;switch(r=o>=17?oe:o>=12?ie:o>=4?ee:re,e){case"B":case"BB":case"BBB":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,i){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),i.ordinalNumber(e,{unit:"hour"})}return Qt.h(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getHours(),{unit:"hour"}):Qt.H(t,e)},K:function(t,e,i){const o=t.getHours()%12;return"Ko"===e?i.ordinalNumber(o,{unit:"hour"}):Xt(o,e.length)},k:function(t,e,i){let o=t.getHours();return 0===o&&(o=24),"ko"===e?i.ordinalNumber(o,{unit:"hour"}):Xt(o,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getMinutes(),{unit:"minute"}):Qt.m(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getSeconds(),{unit:"second"}):Qt.s(t,e)},S:function(t,e){return Qt.S(t,e)},X:function(t,e,i){const o=t.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return ae(o);case"XXXX":case"XX":return le(o);default:return le(o,":")}},x:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"x":return ae(o);case"xxxx":case"xx":return le(o);default:return le(o,":")}},O:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+se(o,":");default:return"GMT"+le(o,":")}},z:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+se(o,":");default:return"GMT"+le(o,":")}},t:function(t,e,i){return Xt(Math.trunc(+t/1e3),e.length)},T:function(t,e,i){return Xt(+t,e.length)}};function se(t,e=""){const i=t>0?"-":"+",o=Math.abs(t),r=Math.trunc(o/60),n=o%60;return 0===n?i+String(r):i+String(r)+e+Xt(n,2)}function ae(t,e){if(t%60==0){return(t>0?"-":"+")+Xt(Math.abs(t)/60,2)}return le(t,e)}function le(t,e=""){const i=t>0?"-":"+",o=Math.abs(t);return i+Xt(Math.trunc(o/60),2)+e+Xt(o%60,2)}const de=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},ce=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},he={p:ce,P:(t,e)=>{const i=t.match(/(P+)(p+)?/)||[],o=i[1],r=i[2];if(!r)return de(t,e);let n;switch(o){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",de(o,e)).replace("{{time}}",ce(r,e))}},pe=/^D+$/,ue=/^Y+$/,ge=["D","DD","YY","YYYY"];const be=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,me=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ye=/^'([^]*?)'?$/,ve=/''/g,fe=/[a-zA-Z]/;function we(t,e,i){const o=Mt(),r=o.locale??Zt,n=o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,s=o.weekStartsOn??o.locale?.options?.weekStartsOn??0,a=Dt(t,i?.in);if(!Rt(a))throw new RangeError("Invalid time value");let l=e.match(me).map((t=>{const e=t[0];if("p"===e||"P"===e){return(0,he[e])(t,r.formatLong)}return t})).join("").match(be).map((t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:xe(t)};if(ne[e])return{isToken:!0,value:t};if(e.match(fe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}}));r.localize.preprocessor&&(l=r.localize.preprocessor(a,l));const d={firstWeekContainsDate:n,weekStartsOn:s,locale:r};return l.map((i=>{if(!i.isToken)return i.value;const o=i.value;(function(t){return ue.test(t)}(o)||function(t){return pe.test(t)}(o))&&function(t,e,i){const o=function(t,e,i){const o="Y"===t[0]?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(t,e,i);if(console.warn(o),ge.includes(t))throw new RangeError(o)}(o,e,String(t));return(0,ne[o[0]])(a,o,r.localize,d)})).join("")}function xe(t){const e=t.match(ye);return e?e[1].replace(ve,"'"):t}function Ce(t,e){return Dt(t,e?.in).getDate()}function ke(t,e){const i=Dt(t,e?.in),o=i.getFullYear(),r=i.getMonth(),n=St(i,0);return n.setFullYear(o,r+1,0),n.setHours(0,0,0,0),n.getDate()}function $e(t,e){return+Dt(t)>+Dt(e)}function Se(t,e){return+Dt(t)<+Dt(e)}function De(t,e,i){const[o,r]=Vt(0,t,e);return o.getFullYear()===r.getFullYear()&&o.getMonth()===r.getMonth()}function Ee(t,e,i){const[o,r]=Vt(0,t,e);return o.getFullYear()===r.getFullYear()}function _e(t,e){return function(t,e){const[i,o]=Vt(0,t,e);return+Tt(i)===+Tt(o)}(St(t,t),function(t){return St(t,Date.now())}(t))}function Me(t,e,i){const o=Dt(t,i?.in);return o.setDate(e),o}let Oe=class extends t{static{this.styles=[J,o`
3348
3349
  ${K}
3349
3350
 
3350
3351
  /* Estilos generales del contenedor del calendario (escritorio) */
@@ -3823,7 +3824,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
3823
3824
 
3824
3825
  <div class="days-grid">
3825
3826
  ${n.map((()=>e`<div></div>`))}
3826
- ${s.map((t=>{const i=Vt(t),o=this.selectedDate?Vt(this.selectedDate):null,r=this.minDate&&Se(i,Vt(this.minDate))||this.maxDate&&$e(i,Vt(this.maxDate)),n=_e(i),s=o&&Ce(i)===Ce(o),a=s&&o&&De(i,o)&&Ee(i,o);return e`
3827
+ ${s.map((t=>{const i=Tt(t),o=this.selectedDate?Tt(this.selectedDate):null,r=this.minDate&&Se(i,Tt(this.minDate))||this.maxDate&&$e(i,Tt(this.maxDate)),n=_e(i),s=o&&Ce(i)===Ce(o),a=s&&o&&De(i,o)&&Ee(i,o);return e`
3827
3828
  <button
3828
3829
  class="${`day ${n?"today":""} ${a?"selected":s&&!a?"secondary-selected":""}`}"
3829
3830
  ?disabled=${r}
@@ -3847,7 +3848,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
3847
3848
  <div class="calendar-container" style="width: ${this.calendarWidth}px;">
3848
3849
  ${r}
3849
3850
  </div>
3850
- `}};n([L({type:Object}),s("design:type",Object)],Oe.prototype,"selectedDate",void 0),n([L({type:Object}),s("design:type",Date)],Oe.prototype,"viewDate",void 0),n([L({type:Boolean}),s("design:type",Object)],Oe.prototype,"isMobile",void 0),n([L({type:Number}),s("design:type",Number)],Oe.prototype,"calendarWidth",void 0),n([L({type:Object}),s("design:type",Object)],Oe.prototype,"minDate",void 0),n([L({type:Object}),s("design:type",Object)],Oe.prototype,"maxDate",void 0),n([L({type:String}),s("design:type",String)],Oe.prototype,"type",void 0),n([L({type:Boolean}),s("design:type",Object)],Oe.prototype,"lastElement",void 0),n([B(),s("design:type",String)],Oe.prototype,"currentView",void 0),n([T(".day.selected, .day.today:not(.selected)"),s("design:type",HTMLButtonElement)],Oe.prototype,"initialFocusElement",void 0),Oe=n([a("calendar-overlay"),s("design:paramtypes",[])],Oe);let Fe=class extends V{constructor(){super(...arguments),this.isRenderClearButton=!0,this.readonly=!1,this.type="date",this.eighteenOrOlder=!1,this.maxLength=10,this.isOpen=!1,this.selectedDate=null,this.viewDate=new Date,this.isMobile=!1,this.calendarWidth=0,this.inputValue=null,this.lastElement=!1,this.handleGlobalOverlayOpen=t=>{t.detail!==this&&this.isOpen&&(this.isOpen=!1,this._emitDropdownToggle(!1))},this.updateResponsiveModeBound=this.updateResponsiveMode.bind(this),this.handleClickOutside=t=>{t.composedPath().includes(this)||(this.isOpen&&(this._emitToggle(!1),this._emitDropdownToggle(!1)),this.isOpen=!1)}}static{this.styles=o`
3851
+ `}};n([L({type:Object}),s("design:type",Object)],Oe.prototype,"selectedDate",void 0),n([L({type:Object}),s("design:type",Date)],Oe.prototype,"viewDate",void 0),n([L({type:Boolean}),s("design:type",Object)],Oe.prototype,"isMobile",void 0),n([L({type:Number}),s("design:type",Number)],Oe.prototype,"calendarWidth",void 0),n([L({type:Object}),s("design:type",Object)],Oe.prototype,"minDate",void 0),n([L({type:Object}),s("design:type",Object)],Oe.prototype,"maxDate",void 0),n([L({type:String}),s("design:type",String)],Oe.prototype,"type",void 0),n([L({type:Boolean}),s("design:type",Object)],Oe.prototype,"lastElement",void 0),n([B(),s("design:type",String)],Oe.prototype,"currentView",void 0),n([V(".day.selected, .day.today:not(.selected)"),s("design:type",HTMLButtonElement)],Oe.prototype,"initialFocusElement",void 0),Oe=n([a("calendar-overlay"),s("design:paramtypes",[])],Oe);let Fe=class extends T{constructor(){super(...arguments),this.isRenderClearButton=!0,this.readonly=!1,this.type="date",this.eighteenOrOlder=!1,this.maxLength=10,this.isOpen=!1,this.selectedDate=null,this.viewDate=new Date,this.isMobile=!1,this.calendarWidth=0,this.inputValue=null,this.lastElement=!1,this.handleGlobalOverlayOpen=t=>{t.detail!==this&&this.isOpen&&(this.isOpen=!1,this._emitDropdownToggle(!1))},this.updateResponsiveModeBound=this.updateResponsiveMode.bind(this),this.handleClickOutside=t=>{t.composedPath().includes(this)||(this.isOpen&&(this._emitToggle(!1),this._emitDropdownToggle(!1)),this.isOpen=!1)}}static{this.styles=o`
3851
3852
  ${X}
3852
3853
  ${Q}
3853
3854
  ${G}
@@ -4051,7 +4052,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
4051
4052
 
4052
4053
  ${this.renderHelper()}
4053
4054
  </div>
4054
- `}};n([L({type:String}),s("design:type",String)],Fe.prototype,"width",void 0),n([L({type:Boolean}),s("design:type",Object)],Fe.prototype,"isRenderClearButton",void 0),n([L({type:Boolean}),s("design:type",Object)],Fe.prototype,"readonly",void 0),n([L({type:String}),s("design:type",String)],Fe.prototype,"minDate",void 0),n([L({type:String}),s("design:type",String)],Fe.prototype,"maxDate",void 0),n([L({type:String}),s("design:type",String)],Fe.prototype,"type",void 0),n([L({type:Boolean}),s("design:type",Object)],Fe.prototype,"eighteenOrOlder",void 0),n([L({type:Number}),s("design:type",Number)],Fe.prototype,"maxLength",void 0),n([B(),s("design:type",Object)],Fe.prototype,"isOpen",void 0),n([B(),s("design:type",Object)],Fe.prototype,"selectedDate",void 0),n([B(),s("design:type",Date)],Fe.prototype,"viewDate",void 0),n([B(),s("design:type",Object)],Fe.prototype,"isMobile",void 0),n([B(),s("design:type",Number)],Fe.prototype,"calendarWidth",void 0),n([B(),s("design:type",Object)],Fe.prototype,"inputValue",void 0),n([T(".input-container"),s("design:type",HTMLDivElement)],Fe.prototype,"inputContainer",void 0),n([L({type:Boolean,attribute:"last-element"}),s("design:type",Object)],Fe.prototype,"lastElement",void 0),Fe=n([a("datepicker-component")],Fe);let Le=class extends vt{constructor(){super(...arguments),this.maxFiles=1,this.acceptedFileTypes=[],this.maxFileSize=0,this.buttonText="Agregar archivo",this.showDeleteConfirmation=!1,this.showInternalError=!0,this.isRemovePopupOpen=!1,this.fileIndexToRemove=-1,this.fileNameToRemove=""}static{this.styles=o`
4055
+ `}};n([L({type:String}),s("design:type",String)],Fe.prototype,"width",void 0),n([L({type:Boolean}),s("design:type",Object)],Fe.prototype,"isRenderClearButton",void 0),n([L({type:Boolean}),s("design:type",Object)],Fe.prototype,"readonly",void 0),n([L({type:String}),s("design:type",String)],Fe.prototype,"minDate",void 0),n([L({type:String}),s("design:type",String)],Fe.prototype,"maxDate",void 0),n([L({type:String}),s("design:type",String)],Fe.prototype,"type",void 0),n([L({type:Boolean}),s("design:type",Object)],Fe.prototype,"eighteenOrOlder",void 0),n([L({type:Number}),s("design:type",Number)],Fe.prototype,"maxLength",void 0),n([B(),s("design:type",Object)],Fe.prototype,"isOpen",void 0),n([B(),s("design:type",Object)],Fe.prototype,"selectedDate",void 0),n([B(),s("design:type",Date)],Fe.prototype,"viewDate",void 0),n([B(),s("design:type",Object)],Fe.prototype,"isMobile",void 0),n([B(),s("design:type",Number)],Fe.prototype,"calendarWidth",void 0),n([B(),s("design:type",Object)],Fe.prototype,"inputValue",void 0),n([V(".input-container"),s("design:type",HTMLDivElement)],Fe.prototype,"inputContainer",void 0),n([L({type:Boolean,attribute:"last-element"}),s("design:type",Object)],Fe.prototype,"lastElement",void 0),Fe=n([a("datepicker-component")],Fe);let Le=class extends vt{constructor(){super(...arguments),this.maxFiles=1,this.acceptedFileTypes=[],this.maxFileSize=0,this.buttonText="Agregar archivo",this.showDeleteConfirmation=!1,this.showInternalError=!0,this.isRemovePopupOpen=!1,this.fileIndexToRemove=-1,this.fileNameToRemove=""}static{this.styles=o`
4055
4056
  ${X}
4056
4057
  ${Q}
4057
4058
  ${G}
@@ -4498,7 +4499,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
4498
4499
 
4499
4500
  ${this.renderNavButtons()}
4500
4501
  </div>
4501
- `}};n([L({type:Array}),s("design:type",Array)],Be.prototype,"cards",void 0),n([L({type:String}),s("design:type",String)],Be.prototype,"cardWidth",void 0),n([L({type:String}),s("design:type",String)],Be.prototype,"cardHeight",void 0),n([L({type:Number}),s("design:type",Number)],Be.prototype,"navWidth",void 0),n([L({type:Boolean}),s("design:type",Boolean)],Be.prototype,"showNavButtons",void 0),n([L({type:Boolean}),s("design:type",Boolean)],Be.prototype,"isDynamicWidth",void 0),n([L({type:Boolean}),s("design:type",Boolean)],Be.prototype,"isInfiniteScrollPartial",void 0),n([L({type:Number}),s("design:type",Number)],Be.prototype,"autoPlayDelayMs",void 0),n([B(),s("design:type",Object)],Be.prototype,"showPrevButton",void 0),n([B(),s("design:type",Object)],Be.prototype,"showNextButton",void 0),n([T(".carousel-wrapper"),s("design:type",HTMLElement)],Be.prototype,"slider",void 0),n([T("slot"),s("design:type",HTMLSlotElement)],Be.prototype,"slotElement",void 0),Be=n([a("carousel-component"),s("design:paramtypes",[])],Be);let Te=class extends t{constructor(){super(...arguments),this.message="",this.position="top",this.variant="bubble",this.visible=!0,this.arrowAlign="15px",this.isAnimating=!1}static{this.styles=o`
4502
+ `}};n([L({type:Array}),s("design:type",Array)],Be.prototype,"cards",void 0),n([L({type:String}),s("design:type",String)],Be.prototype,"cardWidth",void 0),n([L({type:String}),s("design:type",String)],Be.prototype,"cardHeight",void 0),n([L({type:Number}),s("design:type",Number)],Be.prototype,"navWidth",void 0),n([L({type:Boolean}),s("design:type",Boolean)],Be.prototype,"showNavButtons",void 0),n([L({type:Boolean}),s("design:type",Boolean)],Be.prototype,"isDynamicWidth",void 0),n([L({type:Boolean}),s("design:type",Boolean)],Be.prototype,"isInfiniteScrollPartial",void 0),n([L({type:Number}),s("design:type",Number)],Be.prototype,"autoPlayDelayMs",void 0),n([B(),s("design:type",Object)],Be.prototype,"showPrevButton",void 0),n([B(),s("design:type",Object)],Be.prototype,"showNextButton",void 0),n([V(".carousel-wrapper"),s("design:type",HTMLElement)],Be.prototype,"slider",void 0),n([V("slot"),s("design:type",HTMLSlotElement)],Be.prototype,"slotElement",void 0),Be=n([a("carousel-component"),s("design:paramtypes",[])],Be);let Ve=class extends t{constructor(){super(...arguments),this.message="",this.position="top",this.variant="bubble",this.visible=!0,this.arrowAlign="15px",this.isAnimating=!1}static{this.styles=o`
4502
4503
  :host {
4503
4504
  display: inline-block;
4504
4505
  position: relative;
@@ -4610,7 +4611,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
4610
4611
  <slot></slot>
4611
4612
  `:""}
4612
4613
  </div>
4613
- `}};n([L({type:String}),s("design:type",Object)],Te.prototype,"message",void 0),n([L({type:Number}),s("design:type",Number)],Te.prototype,"duration",void 0),n([L({type:String}),s("design:type",String)],Te.prototype,"position",void 0),n([L({type:String}),s("design:type",String)],Te.prototype,"variant",void 0),n([L({type:Boolean}),s("design:type",Object)],Te.prototype,"visible",void 0),n([L({type:String}),s("design:type",String)],Te.prototype,"icon",void 0),n([L({type:String}),s("design:type",Object)],Te.prototype,"arrowAlign",void 0),n([L({type:String}),s("design:type",String)],Te.prototype,"backgroundColor",void 0),n([L({type:String}),s("design:type",String)],Te.prototype,"textColor",void 0),n([L({type:String}),s("design:type",String)],Te.prototype,"fontFamily",void 0),n([L({type:String}),s("design:type",String)],Te.prototype,"width",void 0),n([L({type:String}),s("design:type",String)],Te.prototype,"height",void 0),n([L({type:String}),s("design:type",String)],Te.prototype,"top",void 0),n([L({type:String}),s("design:type",String)],Te.prototype,"left",void 0),n([B(),s("design:type",Object)],Te.prototype,"isAnimating",void 0),Te=n([a("randstad-bubble")],Te);let Ve=class extends t{constructor(){super(...arguments),this.open=!1,this.title="verificación de seguridad",this.email="[correo electrónico]",this.loading=!1,this.showError=!1,this.showSuccessNotice=!1,this.successMessage="",this.helperMessage="",this.resendCooldown=60,this._resendDisabled=!1,this._resendRemaining=0,this._pinValues=Array(6).fill(""),this.modalWidth="450px",this.modalHeight="auto",this.maxHeight="90dvh"}static{this.styles=[K,o`
4614
+ `}};n([L({type:String}),s("design:type",Object)],Ve.prototype,"message",void 0),n([L({type:Number}),s("design:type",Number)],Ve.prototype,"duration",void 0),n([L({type:String}),s("design:type",String)],Ve.prototype,"position",void 0),n([L({type:String}),s("design:type",String)],Ve.prototype,"variant",void 0),n([L({type:Boolean}),s("design:type",Object)],Ve.prototype,"visible",void 0),n([L({type:String}),s("design:type",String)],Ve.prototype,"icon",void 0),n([L({type:String}),s("design:type",Object)],Ve.prototype,"arrowAlign",void 0),n([L({type:String}),s("design:type",String)],Ve.prototype,"backgroundColor",void 0),n([L({type:String}),s("design:type",String)],Ve.prototype,"textColor",void 0),n([L({type:String}),s("design:type",String)],Ve.prototype,"fontFamily",void 0),n([L({type:String}),s("design:type",String)],Ve.prototype,"width",void 0),n([L({type:String}),s("design:type",String)],Ve.prototype,"height",void 0),n([L({type:String}),s("design:type",String)],Ve.prototype,"top",void 0),n([L({type:String}),s("design:type",String)],Ve.prototype,"left",void 0),n([B(),s("design:type",Object)],Ve.prototype,"isAnimating",void 0),Ve=n([a("randstad-bubble")],Ve);let Te=class extends t{constructor(){super(...arguments),this.open=!1,this.title="verificación de seguridad",this.email="[correo electrónico]",this.loading=!1,this.inputMode="numeric",this.showError=!1,this.showSuccessNotice=!1,this.successMessage="",this.helperMessage="",this.resendCooldown=60,this._resendDisabled=!1,this._resendRemaining=0,this._pinValues=Array(6).fill(""),this.modalWidth="450px",this.modalHeight="auto",this.maxHeight="90dvh"}static{this.styles=[K,o`
4614
4615
  :host {
4615
4616
  font-family: 'Graphik', sans-serif;
4616
4617
  }
@@ -4620,6 +4621,12 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
4620
4621
  flex-direction: column;
4621
4622
  gap: 16px;
4622
4623
  }
4624
+
4625
+ .content-wrapper {
4626
+ display: flex;
4627
+ flex-direction: column;
4628
+ gap: 8px;
4629
+ }
4623
4630
 
4624
4631
  .mfa-instruction {
4625
4632
  ${j}
@@ -4636,7 +4643,8 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
4636
4643
  width: 60.33px;
4637
4644
  height: 62px;
4638
4645
  text-align: center;
4639
- font-size: 20px;
4646
+ font-size: 18px;
4647
+ line-height: 30px;
4640
4648
  font-family: 'Graphik', sans-serif;
4641
4649
  font-weight: 400;
4642
4650
  border: 1px solid var(--secondary-color-20);
@@ -4692,14 +4700,31 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
4692
4700
  opacity: 0.6;
4693
4701
  }
4694
4702
 
4695
- @media (max-width: 576px) {
4703
+ .confirm-button {
4704
+ margin-top: 8px;
4705
+ }
4706
+
4707
+ @media (max-width: 940px) {
4708
+ .pin-group {
4709
+ gap: 8px;
4710
+ width: 100%;
4711
+ }
4712
+
4696
4713
  .pin-input {
4697
- width: 40px;
4698
- height: 40px;
4699
- font-size: 16px;
4714
+ flex: 1;
4715
+ min-width: 0;
4716
+ height: 62px;
4717
+ font-size: 18px;
4700
4718
  }
4701
- .pin-group {
4702
- gap: 6px;
4719
+ }
4720
+
4721
+ :host {
4722
+ --modal-body-padding: 24px;
4723
+ }
4724
+
4725
+ @media (min-width: 501px) and (max-width: 940px) {
4726
+ :host {
4727
+ --modal-body-padding: 50px;
4703
4728
  }
4704
4729
  }
4705
4730
 
@@ -4708,12 +4733,12 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
4708
4733
  transition: none;
4709
4734
  }
4710
4735
  }
4711
- `]}disconnectedCallback(){super.disconnectedCallback(),this._clearResendTimer()}updated(t){t.has("open")&&this.open&&requestAnimationFrame((()=>this._focusInput(0)))}reset(){this._pinValues=Array(6).fill(""),this.showError=!1,this.showSuccessNotice=!1,this._resendDisabled=!1,this._clearResendTimer(),this.requestUpdate()}focusFirstInput(){this._focusInput(0)}_clearResendTimer(){void 0!==this._resendTimer&&(clearInterval(this._resendTimer),this._resendTimer=void 0)}_getPinInputs(){return this.renderRoot.querySelectorAll(".pin-input")}_focusInput(t){const e=this._getPinInputs(),i=e?.[t];i&&(i.focus(),i.select())}get _isComplete(){return this._pinValues.every((t=>""!==t))}_onPinInput(t,e){let i=(t.target.value||"").replace(/\D/g,"");if(i){if(i.length>1){const t=i.split("");for(let i=e;i<6&&t.length>0;i++)this._pinValues[i]=t.shift();const o=Math.min(5,e+i.length);return setTimeout((()=>this._focusInput(o))),void this.requestUpdate()}this._pinValues[e]=i,this.requestUpdate(),e<5&&this._focusInput(e+1)}else this._pinValues[e]=""}_onPinKeyDown(t,e){"Enter"===t.key&&this._isComplete?this._onConfirm():"Backspace"!==t.key?1!==t.key.length||!/\D/.test(t.key)||t.ctrlKey||t.metaKey||"v"===t.key||t.preventDefault():!this._pinValues[e]&&e>0&&(this._pinValues[e-1]="",this.requestUpdate(),this._focusInput(e-1),t.preventDefault())}_onPinPaste(t){const e=((t.clipboardData??window.clipboardData)?.getData("text")||"").replace(/\D/g,"").slice(0,6).split("");if(0===e.length)return;for(let t=0;t<6;t++)this._pinValues[t]=e[t]||"";t.preventDefault(),this.requestUpdate();const i=this._pinValues.findIndex((t=>!t));setTimeout((()=>this._focusInput(i>=0?i:5)))}_onClose(){this.dispatchEvent(new CustomEvent("mfa-close"))}_onConfirm(){this._isComplete&&!this.loading&&this.dispatchEvent(new CustomEvent("mfa-confirm",{detail:{code:this._pinValues.join("")}}))}_onResend(){this._resendDisabled||(this.dispatchEvent(new CustomEvent("resend-code")),this._startResendCountdown())}_startResendCountdown(){this._clearResendTimer(),this._resendDisabled=!0,this._resendRemaining=this.resendCooldown,this._resendTimer=window.setInterval((()=>{this._resendRemaining-=1,this._resendRemaining<=0&&(this._resendDisabled=!1,this._clearResendTimer()),this.requestUpdate()}),1e3)}_renderPinInputs(){return Array.from({length:6},((t,i)=>e`
4736
+ `]}disconnectedCallback(){super.disconnectedCallback(),this._clearResendTimer()}updated(t){t.has("open")&&this.open&&requestAnimationFrame((()=>this._focusInput(0))),(t.has("loading")||t.has("open"))&&requestAnimationFrame((()=>this._syncCloseButtonDisabled()))}reset(){this._pinValues=Array(6).fill(""),this.showError=!1,this.showSuccessNotice=!1,this._resendDisabled=!1,this._clearResendTimer(),this.requestUpdate()}focusFirstInput(){this._focusInput(0)}_clearResendTimer(){void 0!==this._resendTimer&&(clearInterval(this._resendTimer),this._resendTimer=void 0)}get _resolvedInputMode(){return"numeric"===this.inputMode?"numeric":"text"}_sanitizeValue(t){return"numeric"===this.inputMode?t.replace(/[^0-9]/g,""):t.replace(/[^a-zA-Z0-9]/g,"")}_getCloseButton(){const t=this.renderRoot.querySelector("custom-modal");return t?.shadowRoot?.querySelector(".modal-close")}_syncCloseButtonDisabled(){const t=this._getCloseButton();if(!t)return;const e=t.querySelector("randstad-icon");this.loading?(t.setAttribute("disabled",""),t.setAttribute("aria-disabled","true"),t.style.cursor="default",t.style.pointerEvents="none",e&&(e.style.filter="grayscale(1)",e.style.opacity="0.5")):(t.removeAttribute("disabled"),t.removeAttribute("aria-disabled"),t.style.cursor="",t.style.pointerEvents="",e&&(e.style.filter="",e.style.opacity=""))}_clearForwardFromIndex(t){for(let e=t+1;e<6;e++)if(this._pinValues[e])return this._pinValues[e]="",this.requestUpdate(),void this._focusInput(e)}_getPinInputs(){return this.renderRoot.querySelectorAll(".pin-input")}_focusInput(t){const e=this._getPinInputs(),i=e?.[t];i&&(i.focus(),i.select())}get _isComplete(){return this._pinValues.every((t=>""!==t))}_onPinInput(t,e){const i=t.target;let o=this._sanitizeValue(i.value||"");if(o){if(o.length>1){const t=o.split("");for(let i=e;i<6&&t.length>0;i++)this._pinValues[i]=t.shift();const i=Math.min(5,e+o.length);return setTimeout((()=>this._focusInput(i))),void this.requestUpdate()}this._pinValues[e]=o,this.requestUpdate(),e<5&&this._focusInput(e+1)}else this._pinValues[e]=""}_onPinKeyDown(t,e){if("Enter"===t.key&&this._isComplete)this._onConfirm();else if("Backspace"!==t.key){if("Delete"===t.key)return this._pinValues[e]?(this._pinValues[e]="",this.requestUpdate()):this._clearForwardFromIndex(e),void t.preventDefault();if(1===t.key.length&&!t.ctrlKey&&!t.metaKey&&"v"!==t.key){("numeric"===this.inputMode?/\D/.test(t.key):/[^a-zA-Z0-9]/.test(t.key))&&t.preventDefault()}}else this._pinValues[e]?(this._pinValues[e]="",this.requestUpdate(),t.preventDefault()):e>0?(this._pinValues[e-1]="",this.requestUpdate(),this._focusInput(e-1),t.preventDefault()):(this._clearForwardFromIndex(0),t.preventDefault())}_onPinPaste(t){const e=(t.clipboardData??window.clipboardData)?.getData("text")||"",i=this._sanitizeValue(e).slice(0,6).split("");if(0===i.length)return;for(let t=0;t<6;t++)this._pinValues[t]=i[t]||"";t.preventDefault(),this.requestUpdate();const o=this._pinValues.findIndex((t=>!t));setTimeout((()=>this._focusInput(o>=0?o:5)))}_onClose(){this.loading||this.dispatchEvent(new CustomEvent("mfa-close"))}_onConfirm(){this._isComplete&&!this.loading&&this.dispatchEvent(new CustomEvent("mfa-confirm",{detail:{code:this._pinValues.join("")}}))}_onResend(){this._resendDisabled||(this.dispatchEvent(new CustomEvent("resend-code")),this._startResendCountdown())}_startResendCountdown(){this._clearResendTimer(),this._resendDisabled=!0,this._resendRemaining=this.resendCooldown,this._resendTimer=window.setInterval((()=>{this._resendRemaining-=1,this._resendRemaining<=0&&(this._resendDisabled=!1,this._clearResendTimer()),this.requestUpdate()}),1e3)}_renderPinInputs(){return Array.from({length:6},((t,i)=>e`
4712
4737
  <input
4713
4738
  class="pin-input ${this.showError?"error":""}"
4714
4739
  type="text"
4715
- inputmode="numeric"
4716
- pattern="\\d*"
4740
+ inputmode=${this._resolvedInputMode}
4741
+ pattern=${"numeric"===this.inputMode?"\\d*":"[a-zA-Z0-9]*"}
4717
4742
  maxlength="1"
4718
4743
  autocomplete="one-time-code"
4719
4744
  .value=${this._pinValues[i]}
@@ -4725,10 +4750,10 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
4725
4750
  `))}_renderResendSection(){return e`
4726
4751
  <p class="resend-line">
4727
4752
  ¿no lo recibiste?&nbsp;
4728
- ${this._resendDisabled?e`<span role="status" aria-live="polite">Reenviar en (${this._resendRemaining}s)</span>`:e`<button
4753
+ ${this._resendDisabled?e`<span role="status" aria-live="polite">reenviar en (${this._resendRemaining}s)</span>`:e`<button
4729
4754
  class="resend-link"
4730
4755
  @click=${this._onResend}
4731
- >Reenviar código</button>`}
4756
+ >reenviar ahora</button>`}
4732
4757
  </p>
4733
4758
  `}render(){return e`
4734
4759
  <custom-modal
@@ -4741,25 +4766,27 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
4741
4766
  @modal-close=${this._onClose}
4742
4767
  >
4743
4768
  <div slot="content" class="mfa-content" role="status" aria-live="polite" aria-describedby="mfa-notice-message">
4744
- <randstad-notice
4745
- id="mfa-notice-message"
4746
- .open=${!0}
4747
- .type=${this.showSuccessNotice?"success":"informative"}
4748
- .icon=${this.showSuccessNotice?"check":"info"}
4749
- .message=${this.showSuccessNotice?this.successMessage:this.helperMessage}
4750
- ></randstad-notice>
4751
-
4752
- <randstad-form-group
4753
- label="ingresá el código que recibiste"
4754
- .error=${this.showError}
4755
- errorMessage="el código ingresado es incorrecto"
4756
- >
4757
- <div class="pin-group" @paste=${this._onPinPaste}>
4758
- ${this._renderPinInputs()}
4759
- </div>
4760
- </randstad-form-group>
4761
-
4769
+ <div class="content-wrapper">
4770
+ <randstad-notice
4771
+ id="mfa-notice-message"
4772
+ .open=${!0}
4773
+ .type=${this.showSuccessNotice?"success":"informative"}
4774
+ .icon=${this.showSuccessNotice?"check":"info"}
4775
+ .message=${this.showSuccessNotice?this.successMessage:this.helperMessage}
4776
+ ></randstad-notice>
4777
+
4778
+ <randstad-form-group
4779
+ label="ingresá el código que recibiste"
4780
+ .error=${this.showError}
4781
+ errorMessage="el código ingresado es incorrecto"
4782
+ >
4783
+ <div class="pin-group" @paste=${this._onPinPaste}>
4784
+ ${this._renderPinInputs()}
4785
+ </div>
4786
+ </randstad-form-group>
4787
+ </div>
4762
4788
  <randstad-button
4789
+ class="confirm-button"
4763
4790
  variant="button-primary"
4764
4791
  size="md"
4765
4792
  label="actualizar"
@@ -4771,7 +4798,7 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
4771
4798
  ${this._renderResendSection()}
4772
4799
  </div>
4773
4800
  </custom-modal>
4774
- `}};n([L({type:Boolean,reflect:!0}),s("design:type",Object)],Ve.prototype,"open",void 0),n([L({type:String}),s("design:type",Object)],Ve.prototype,"title",void 0),n([L({type:String}),s("design:type",Object)],Ve.prototype,"email",void 0),n([L({type:Boolean}),s("design:type",Object)],Ve.prototype,"loading",void 0),n([L({type:Boolean}),s("design:type",Object)],Ve.prototype,"showError",void 0),n([L({type:Boolean}),s("design:type",Object)],Ve.prototype,"showSuccessNotice",void 0),n([L({type:String}),s("design:type",Object)],Ve.prototype,"successMessage",void 0),n([L({type:String}),s("design:type",Object)],Ve.prototype,"helperMessage",void 0),n([L({type:Number}),s("design:type",Object)],Ve.prototype,"resendCooldown",void 0),n([B(),s("design:type",Object)],Ve.prototype,"_resendDisabled",void 0),n([B(),s("design:type",Object)],Ve.prototype,"_resendRemaining",void 0),n([B(),s("design:type",Array)],Ve.prototype,"_pinValues",void 0),n([L({type:String}),s("design:type",Object)],Ve.prototype,"modalWidth",void 0),n([L({type:String}),s("design:type",Object)],Ve.prototype,"modalHeight",void 0),n([L({type:String}),s("design:type",Object)],Ve.prototype,"maxHeight",void 0),Ve=n([a("randstad-mfa-modal")],Ve);let Pe=class extends t{constructor(){super(),this.centerIcon="search",this.centerLabel="",this.hidden=!1,this.desktop=!1,this.selectedIndex=-1,this._rafId=null,this.handleScroll=()=>{const t=window.innerHeight+window.scrollY,e=document.documentElement.scrollHeight;this.hidden=t>=e-50},this.handleScrollThrottled=()=>{null==this._rafId&&(this._rafId=requestAnimationFrame((()=>{this._rafId=null,this.handleScroll()})))},this.items=[{icon:"home",label:"Home"},{icon:"postulation",label:"Applications"},{icon:"user",label:"Users"},{icon:"settings",label:"Settings"}]}connectedCallback(){super.connectedCallback(),window.addEventListener("scroll",this.handleScrollThrottled,{passive:!0}),this.handleScroll()}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("scroll",this.handleScrollThrottled),null!=this._rafId&&(cancelAnimationFrame(this._rafId),this._rafId=null)}handleItemClick(t,e){this.selectedIndex=t,this.dispatchEvent(new CustomEvent("nav-item-click",{detail:{index:t,item:e},bubbles:!0,composed:!0}))}handleCenterClick(){this.dispatchEvent(new CustomEvent("center-click",{bubbles:!0,composed:!0}))}static{this.styles=o`
4801
+ `}};n([L({type:Boolean,reflect:!0}),s("design:type",Object)],Te.prototype,"open",void 0),n([L({type:String}),s("design:type",Object)],Te.prototype,"title",void 0),n([L({type:String}),s("design:type",Object)],Te.prototype,"email",void 0),n([L({type:Boolean,reflect:!0}),s("design:type",Object)],Te.prototype,"loading",void 0),n([L({type:String}),s("design:type",String)],Te.prototype,"inputMode",void 0),n([L({type:Boolean}),s("design:type",Object)],Te.prototype,"showError",void 0),n([L({type:Boolean}),s("design:type",Object)],Te.prototype,"showSuccessNotice",void 0),n([L({type:String}),s("design:type",Object)],Te.prototype,"successMessage",void 0),n([L({type:String}),s("design:type",Object)],Te.prototype,"helperMessage",void 0),n([L({type:Number}),s("design:type",Object)],Te.prototype,"resendCooldown",void 0),n([B(),s("design:type",Object)],Te.prototype,"_resendDisabled",void 0),n([B(),s("design:type",Object)],Te.prototype,"_resendRemaining",void 0),n([B(),s("design:type",Array)],Te.prototype,"_pinValues",void 0),n([L({type:String}),s("design:type",Object)],Te.prototype,"modalWidth",void 0),n([L({type:String}),s("design:type",Object)],Te.prototype,"modalHeight",void 0),n([L({type:String}),s("design:type",Object)],Te.prototype,"maxHeight",void 0),Te=n([a("randstad-mfa-modal")],Te);let Pe=class extends t{constructor(){super(),this.centerIcon="search",this.centerLabel="",this.hidden=!1,this.desktop=!1,this.selectedIndex=-1,this._rafId=null,this.handleScroll=()=>{const t=window.innerHeight+window.scrollY,e=document.documentElement.scrollHeight;this.hidden=t>=e-50},this.handleScrollThrottled=()=>{null==this._rafId&&(this._rafId=requestAnimationFrame((()=>{this._rafId=null,this.handleScroll()})))},this.items=[{icon:"home",label:"Home"},{icon:"postulation",label:"Applications"},{icon:"user",label:"Users"},{icon:"settings",label:"Settings"}]}connectedCallback(){super.connectedCallback(),window.addEventListener("scroll",this.handleScrollThrottled,{passive:!0}),this.handleScroll()}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("scroll",this.handleScrollThrottled),null!=this._rafId&&(cancelAnimationFrame(this._rafId),this._rafId=null)}handleItemClick(t,e){this.selectedIndex=t,this.dispatchEvent(new CustomEvent("nav-item-click",{detail:{index:t,item:e},bubbles:!0,composed:!0}))}handleCenterClick(){this.dispatchEvent(new CustomEvent("center-click",{bubbles:!0,composed:!0}))}static{this.styles=o`
4775
4802
  :host {
4776
4803
  display: none;
4777
4804
  position: fixed;
@@ -4940,5 +4967,5 @@ function T(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
4940
4967
 
4941
4968
  ${o.map(((t,e)=>n(t,e+2)))}
4942
4969
  </nav>
4943
- `}};n([L({type:Array}),s("design:type",Array)],Pe.prototype,"items",void 0),n([L({type:String}),s("design:type",Object)],Pe.prototype,"centerIcon",void 0),n([L({type:String}),s("design:type",Object)],Pe.prototype,"centerLabel",void 0),n([L({type:Boolean,reflect:!0}),s("design:type",Object)],Pe.prototype,"hidden",void 0),n([L({type:Boolean,reflect:!0}),s("design:type",Object)],Pe.prototype,"desktop",void 0),n([L({type:Number}),s("design:type",Object)],Pe.prototype,"selectedIndex",void 0),Pe=n([a("randstad-navbar"),s("design:paramtypes",[])],Pe);export{q as AccordionList,W as AccordionPanel,V as BaseControl,Oe as CalendarOverlay,Be as Carousel,U as CarouselCard,Y as Checkbox,lt as CustomModal,dt as CustomPopup,ht as CustomRadio,mt as CustomStepper,Fe as DatePickerComponent,ut as FilterableSelect,it as FormGroup,rt as IconComponent,Ve as MfaModal,ct as ProgressCircle,Te as RandstadBubble,Z as RandstadButton,et as RandstadForm,Pe as RandstadNavbar,at as RandstadNotice,st as RandstadSocialMediaInput,yt as TabsBar,Le as UploadFile,Ct as UploadImage,J as scrollbarStyles};
4970
+ `}};n([L({type:Array}),s("design:type",Array)],Pe.prototype,"items",void 0),n([L({type:String}),s("design:type",Object)],Pe.prototype,"centerIcon",void 0),n([L({type:String}),s("design:type",Object)],Pe.prototype,"centerLabel",void 0),n([L({type:Boolean,reflect:!0}),s("design:type",Object)],Pe.prototype,"hidden",void 0),n([L({type:Boolean,reflect:!0}),s("design:type",Object)],Pe.prototype,"desktop",void 0),n([L({type:Number}),s("design:type",Object)],Pe.prototype,"selectedIndex",void 0),Pe=n([a("randstad-navbar"),s("design:paramtypes",[])],Pe);export{q as AccordionList,W as AccordionPanel,T as BaseControl,Oe as CalendarOverlay,Be as Carousel,U as CarouselCard,Y as Checkbox,lt as CustomModal,dt as CustomPopup,ht as CustomRadio,mt as CustomStepper,Fe as DatePickerComponent,ut as FilterableSelect,it as FormGroup,rt as IconComponent,Te as MfaModal,ct as ProgressCircle,Ve as RandstadBubble,Z as RandstadButton,et as RandstadForm,Pe as RandstadNavbar,at as RandstadNotice,st as RandstadSocialMediaInput,yt as TabsBar,Le as UploadFile,Ct as UploadImage,J as scrollbarStyles};
4944
4971
  //# sourceMappingURL=index.js.map