(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[7113,7840],{33540:(e,t,n)=>{"use strict";n.d(t,{Bv:()=>J,yQ:()=>Y});var o=n(58168),i=n(80045),r=n(89379),a=n(96540),l=n(46942),s=n.n(l),c=n(69247),u=n(33734),d=n(81023),p=n(97987),f=n(1246),h=n(73620),m=n(8494),v=n(85690),g=n(3959),b=n(98746),y=n(42206),T=n(83611),w=n(82071),A=n(7267),C=n(18993),_=n(44896),E=n(23444),x={module:"@andes/floating-menu",locale:"en-US",translations:{"andes-floating-menuNo hay resultados":[null,"No results"],"andes-floating-menuAbrir buscador":[null,"Open search tool"],"andes-floating-menuBuscar":[null,"Search"],"andes-floating-menuBorrar":[null,"Delete search"]}},S={module:"@andes/floating-menu",locale:"es-AR",translations:{"andes-floating-menuNo hay resultados":[null,"No hay resultados"],"andes-floating-menuAbrir buscador":[null,"Abrir buscador"],"andes-floating-menuBuscar":[null,"Buscar"],"andes-floating-menuBorrar":[null,"Borrar"]}},N={module:"@andes/floating-menu",locale:"pt-BR",translations:{"andes-floating-menuNo hay resultados":[null,"Sem resultados"],"andes-floating-menuAbrir buscador":[null,"Abrir mecanismo de busca"],"andes-floating-menuBuscar":[null,"Procurar"],"andes-floating-menuBorrar":[null,"Excluir"]}};const k="FloatingMenuGroup",L=["FloatingMenuGroup","DropdownGroup"],P="menu",O="andes-floating-menu-item-hover";var R=(e,t,n,o)=>{const{allowUnselect:i,children:l,defaultOpen:s,defaultValue:c,listId:u,menuMaxHeight:h,multiple:m,offset:v,onChange:g,onClose:b,onOpen:y,open:T,popperOptions:w,searchConfig:A,style:C,type:_,value:E,width:x}=o,S=(0,a.useMemo)((()=>{var e;if(!l)return!1;const t=a.Children.toArray(l)[0];return(0,p.A)(L,null==t||null===(e=t.type)||void 0===e?void 0:e.displayName)}),[l]),[N,k]=(0,a.useState)(E||c),[R,M]=(0,a.useState)(!1),[I,D]=(0,a.useState)(void 0),[F,B]=(0,a.useState)("object"==typeof A&&(null==A?void 0:A.defaultValue));(0,f.A)({isDisabled:_===P||"select"===_&&!R});const j=(0,a.useMemo)((()=>void 0===E),[]);(0,a.useEffect)((()=>{j||k(E)}),[E,j]);const z=(0,a.useMemo)((()=>void 0===T),[]),V=(e,t)=>{if(!(i||m||void 0!==t&&null!=t&&t.length||void 0===N))return;j&&k(t);let n=t;!m&&Array.isArray(t)&&([n]=t),A&&D((e=>Array.isArray(n)?e:n)),"function"==typeof g&&g(e,n)},H=()=>{if(A){var e;const t=null==n||null===(e=n.current)||void 0===e?void 0:e.querySelector("label");return void setTimeout((()=>null==t?void 0:t.focus()),0)}const o=t.current;if(o){const e=(e=>{const t=Array.prototype.slice.call(e.querySelectorAll(".andes-list__item"));if(t.length){let e;return _===P&&(e=t[0].querySelector(".andes-list__item-action")||t[0].querySelector(".andes-list__item-anchor"),e)||(e=t.find((e=>0===e.tabIndex)),e||(e=t.find((e=>-1!==e.className.indexOf("andes-list__item--selected")))),e||([e]=t)),e}return null})(o);e&&(e.focus(),o.scrollTop=e.offsetTop-48)}},U=(0,a.useCallback)((e=>{if(!F)return!0;const t=e.props.primary||e.props.title;return"object"==typeof A&&"function"==typeof A.filterCondition?A.filterCondition(F,t,e):t&&(0,p.A)(t.toLowerCase(),F.toLowerCase())}),[F,"object"==typeof A&&(null==A?void 0:A.filterCondition)]),X=(0,a.useMemo)((()=>{if(!l)return null;if(S){let e=0;const t=[];return a.Children.forEach(l,((n,o)=>{const i=[];a.Children.forEach(null==n?void 0:n.props.children,(t=>{U(t)&&i.push((0,a.cloneElement)(t,{index:e,groupIndex:o})),e+=1})),i.length>0&&t.push((0,a.cloneElement)(n,{children:i}))})),t}const e=[];return a.Children.forEach(l,((t,n)=>{U(t)&&e.push((0,a.cloneElement)(t,{index:n}))})),e}),[l,S,U]);(0,a.useEffect)((()=>{if(R&&A&&void 0!==I){const n=t.current;if(n){var e;const t=null===(e=document)||void 0===e?void 0:e.getElementById("".concat(u,"-option-").concat(I));if(t&&h){const e=h-52,o=Math.floor(e/48)-1;n.scrollTop=t.offsetTop-48*o}}}}),[A,t,I,u,R]);const W=e=>{M(!0),setTimeout(H,0),"function"==typeof y&&y(e)},G=(t,o)=>{const i=e.current;M(!1),A&&(()=>{var e;const t=null==n||null===(e=n.current)||void 0===e?void 0:e.querySelector("label");null!=t&&t.control&&(t.control.value="");B(""),"object"==typeof A&&"function"==typeof A.onChange&&A.onChange("")})(),i&&!o&&setTimeout((()=>i.focus()),0),"function"==typeof b&&b()};(0,a.useEffect)((()=>{s&&setTimeout(W,0)}),[]),(0,a.useEffect)((()=>{z||(T?setTimeout(W,0):R&&G())}),[T]);return{menuProps:{visible:R,onSelectionChange:V,options:X,selectedKeys:Array.isArray(N)?N:"string"==typeof N||"number"==typeof N?[N]:[],style:(0,r.A)((0,r.A)({},h?{maxHeight:h,overflowY:"auto"}:{}),{},{width:x},C),popperOptions:w,offset:v,onClickOutside:z?e=>{G(0,!0)}:b,closeMenu:z?G:b,onSearchFocus:A?e=>{setTimeout((()=>{var e;return null===(e=n.current)||void 0===e?void 0:e.focus()}),0);const o=S?null==X?void 0:X.reduce(((e,t)=>[...e,...t.props.children]),[]):X||[];if(!o)return;const i=o.length;D((n=>{var r,a;let l=o.findIndex((e=>{let{props:t}=e;return t.value===n}));switch(null==e?void 0:e.code){case d.Jd:l+=1;break;case d.il:if(-1===l||0===l){l=i-1;break}l-=1;break;default:l=0}const s=l%i;return((e,t)=>{const n=(e,n,o)=>{e[n].classList.contains(O)&&e[n].classList.remove(O),t===(void 0===o?n:o)&&e[n].classList.add(O)};if(S){let t=0;for(let o=0;o{I&&((m||i)&&Array.isArray(N)&&(N||[]).indexOf(I)>-1?V(e,N.filter((e=>e!==I))):V(e,m?[...N||[],I]:[I]))}:void 0,onSearchChangeText:A?e=>B(e):void 0,getFocusedItem:A?()=>I:void 0,onMount:A?o.onMount:void 0},triggerProps:{"aria-expanded":R,"aria-haspopup":A||"menu"===_&&!m?"dialog":"listbox",onClick:e=>{z?R?G():W(e):T?"function"==typeof b&&b():"function"==typeof y&&y(e)},onKeyDown:e=>{switch(e.code){case d._f:if(z){G();break}"function"==typeof b&&b();break;case d.Jd:case d.il:case d.Fm:case d.t6:if(e.preventDefault(),z){W(e);break}"function"==typeof y&&y(e)}}}}};const M="andes-floating-menu",I="".concat(M,"--multiple"),D="andes-form-control",F="".concat(M,"--search");var B,j,z,V;var H=function(){const e=(0,a.forwardRef)(((e,t)=>{let{className:n,defaultValue:i,inputProps:r={},onChange:l,onClear:u,onKeyDown:d,placeholder:p,size:f="small",srLabel:v,value:A}=e;const C=(0,c.UO)(c.Ri,x,S,N),_=(0,a.useRef)(null),E=(0,a.useMemo)((()=>void 0!==A),[]),[k,L]=(0,a.useState)(!1),[P,O]=(0,a.useState)(!1),R=(0,a.useRef)(!0),{device:I}=(0,a.useContext)(c.Ri),H="ios"===(null==I?void 0:I.osName);(0,a.useEffect)((()=>{!E&&i&&O(!0),R.current=!1}),[]),(0,a.useEffect)((()=>{if(E){const e=!!A&&(null==A?void 0:A.length)>0;O(e)}}),[E,A,O]),(0,a.useEffect)((()=>{var e;k&&(null===(e=_.current)||void 0===e||e.focus())}),[k]);const U=()=>"small"===f?B||(B=(0,h.A)(y.A,{})):j||(j=(0,h.A)(w.A,{})),X=()=>"small"===f?z||(z=(0,h.A)(b.A,{})):V||(V=(0,h.A)(T.A,{})),W=e=>{var t;e.preventDefault(),!E&&_.current&&(_.current.value=""),e.target.value="",O(!1),"function"==typeof u&&u(e),"function"==typeof l&&l(e),null===(t=_.current)||void 0===t||t.focus()},G=s()("".concat(D,"__close-icon"),{["".concat(D,"__close-icon-visible")]:P}),q=s()(F,"".concat(F,"--size-").concat(f),n,{["".concat(F,"--web-mobile-ios")]:H,["".concat(F,"--focused")]:k,["".concat(F,"--disabled")]:r.disabled});return a.createElement("div",{ref:t},(0,h.A)(m.v,{within:!0,isTextInput:!0,focusRingClass:"focus-visible"},void 0,(0,h.A)("div",{className:q},void 0,(0,h.A)("label",{},void 0,(0,h.A)(g.s6,{},void 0,v||C.pgettext(M,"Buscar")),a.createElement("input",(0,o.A)({},r,{className:"".concat(D,"__field"),value:A,defaultValue:i,placeholder:p||"".concat(C.pgettext(M,"Buscar")),onChange:e=>{var t,n;const o=!(null==_||null===(t=_.current)||void 0===t||!t.value)&&(null==_||null===(n=_.current)||void 0===n?void 0:n.value.length)>0;O(o),"function"==typeof l&&l(e)},onBlur:e=>{const{onBlur:t}=r;L(!1),"function"==typeof t&&t(e)},onFocus:e=>{const{onFocus:t}=r;L(!0),"function"==typeof t&&t(e)},ref:_,onKeyDown:d}))),(0,h.A)("button",{className:G,onClick:W,onMouseDown:W,"aria-label":"".concat(C.pgettext(M,"Borrar")),type:"button"},void 0,(0,h.A)(X,{})),(0,h.A)("div",{className:"".concat(D,"__search-icon")},void 0,(0,h.A)(U,{})))))}));return e.displayName="SearchBox",e}();var U,X=function(){const e=(0,a.forwardRef)(((e,t)=>{let{defaultValue:n,getFocusedItem:o,handleKeyDown:i,list:r,listId:l,onChange:s,placeholder:c,visible:u}=e;const d={role:"combobox","aria-label":c,"aria-autocomplete":"list","aria-controls":l,"aria-activedescendant":o()?"".concat(l,"-option-").concat(o()):void 0,"aria-expanded":!0};return(0,h.A)("div",{role:"dialog","aria-modal":"true"},void 0,(0,h.A)(v.n1,{contain:u,restoreFocus:!0,autoFocus:!0},void 0,(0,h.A)("div",{className:"".concat(M,"__search-box")},void 0,a.createElement(H,{ref:t,defaultValue:n,onChange:s,placeholder:c,onKeyDown:i,inputProps:d})),r))}));return e.displayName="FloatingMenuSearch",e}();const W=["children","className","defaultValue","onSelect","value"];var G=function(){const e=(0,a.forwardRef)(((e,t)=>{let{children:n,className:r,defaultValue:l,onSelect:c,value:u}=e,d=(0,i.A)(e,W);const[p,f]=(0,a.useState)(u||l),m=(0,a.useMemo)((()=>void 0===u),[]);(0,a.useEffect)((()=>{m||f(u)}),[u]);const v=()=>Array.isArray(p)?p:[],g={};m?l&&(g.defaultSelectedKeys=v()):g.selectedKeys=v();const b=s()(I,r);return a.createElement(C.q,(0,o.A)({className:b,selectionComponent:U||(U=(0,h.A)(A.A,{srHidden:!0})),selectionMode:"multiple",ref:t,onSelect:(e,t,n)=>{m&&f(t),"function"==typeof c&&c(e,t,n)}},d,g),n)}));return e.displayName="FloatingMenuMultiple",e}();var q=function(){const e=(0,a.forwardRef)(((e,t)=>{let{i18n:n,id:i,multiple:r=!1,onKeyDown:l,onSelect:s,options:c,search:u=!1,selectedKeys:d,srLabel:p,type:f="menu",visible:m}=e;if(!c||!c.length)return(0,h.A)("div",{className:"".concat(M,"__no-results")},void 0,n.pgettext(M,"No hay resultados"));const g={id:i,ref:t,className:M,onKeyDown:l,srLabel:p};if(r)return a.createElement(G,(0,o.A)({},g,{onSelect:s,value:d,shouldUseVirtualFocus:!!u}),c);if("select"===f||u)return a.createElement(C.q,(0,o.A)({},g,{onSelect:s,selectionMode:r?"multiple":"single",selectedKeys:d,shouldUseVirtualFocus:!!u}),c);const b=e=>(0,a.cloneElement)(e,{onClick:(t,n)=>((e,t,n)=>{"function"==typeof e&&e(t,n),"function"==typeof s&&s(t,n)})(e.props.onClick,t,n),tabIndex:void 0});return(0,h.A)("div",{role:"dialog","aria-modal":"true"},void 0,(0,h.A)(v.n1,{contain:m,restoreFocus:!0,autoFocus:!0},void 0,a.createElement(_.B8,g,a.Children.map(c,(e=>{var t;if((null==e||null===(t=e.type)||void 0===t?void 0:t.displayName)===k){const t=a.Children.map(e.props.children,b);return(0,a.cloneElement)(e,{children:t})}return b(e)})))))}));return e.displayName="FloatingMenuList",e}();var K=e=>{let{search:t,defaultSearchValue:n,filterCondition:o,onSearchChange:i,searchPlaceholder:r}=e;if(!t)return;if("boolean"==typeof t)return{defaultValue:n,placeholder:r,onChange:i,filterCondition:o,search:!0};const{defaultValue:a,filterCondition:l,onChange:s,placeholder:c}=t;return{defaultValue:a||n,placeholder:c||r,onChange:s||i,filterCondition:l||o,search:!0}};const $=["closeMenu","getFocusedItem","onSearchChangeText","onSearchFocus","onSearchSelectionChange","onSelectionChange","options","selectedKeys"];var Y=function(){const e=(0,a.forwardRef)(((e,t)=>{const{allowUnselect:n=!1,appendTo:l,"aria-label":p,className:f,closable:h,defaultOpen:m=!1,defaultSearchValue:v,filterCondition:g,id:b,menuMaxHeight:y,multiple:T=!1,onSearchChange:w,placement:A="bottom",search:C=!1,searchPlaceholder:_,srLabel:E,trigger:k,type:L="menu",width:P=280}=e,O=(0,c.Bi)(b),I=K({search:C,defaultSearchValue:v,onSearchChange:w,searchPlaceholder:_,filterCondition:g}),D=(0,c.UO)(c.Ri,x,S,N),F="".concat(O,"-list"),B=(0,a.useRef)(null),j=(0,a.useRef)(null),z=(0,a.useRef)(null),V=(0,a.useRef)(!1),{menuProps:H,triggerProps:U}=R(B,j,z,(0,r.A)((0,r.A)({},e),{},{allowUnselect:n,defaultOpen:m,multiple:T,placement:A,search:C,type:L,width:P,listId:F,id:O,searchConfig:I})),{closeMenu:W,getFocusedItem:G,onSearchChangeText:Y,onSearchFocus:Z,onSearchSelectionChange:J,onSelectionChange:Q,options:ee,selectedKeys:te}=H,ne=(0,i.A)(H,$);(0,a.useEffect)((()=>{V.current&&(V.current=!1,"function"==typeof Z&&Z())}),[V.current]),(0,a.useEffect)((()=>{const e=j.current;e&&I&&requestAnimationFrame((()=>{e.style.maxHeight=y?"".concat(y-52,"px"):"",e.style.overflowY="auto"}))}),[j.current,y,I]);const oe=(e,t)=>{t?Q(e,t):J(e),T||!1===h||"function"!=typeof W||W()},ie=e=>{switch(e.code){case d.wn:"menu"!==L&&e.preventDefault();break;case d._f:"function"==typeof W&&W();break;case d.il:case d.Jd:I&&Z(e);break;case d.Fm:I&&oe(e)}},re=e=>{const{value:t}=e.target;V.current=!0,"function"==typeof Y&&Y(t),"function"==typeof(null==I?void 0:I.onChange)&&I.onChange(t)},ae=s()(M,f,{["".concat(M,"--multiple")]:T});return a.createElement("div",{className:ae,ref:t},a.createElement(u.N,(0,o.A)({appendTo:l,content:(()=>{const e=a.createElement(q,{id:F,multiple:T,onKeyDown:ie,onSelect:oe,options:ee,ref:j,selectedKeys:te,type:L,search:null==I?void 0:I.search,srLabel:E||p,visible:H.visible,i18n:D});return I?a.createElement(X,(0,o.A)({getFocusedItem:G,handleKeyDown:ie,list:e,listId:F,ref:z,visible:H.visible},I,{onChange:re})):e})(),interactive:!0,placement:A,id:"".concat(O,"-popper"),focusScope:!0},ne),(0,a.cloneElement)(k,(0,r.A)({ref:B},U))))}));return e.displayName="FloatingMenu",e}();const Z=["description","disabled","groupIndex","index","onSelect","primary","rightContent","secondary","selected","tertiary","title","value"];var J=function(){const e=e=>{let{description:t,disabled:n=!1,groupIndex:l,index:s,onSelect:c,primary:u,rightContent:d,secondary:p,selected:f=!1,tertiary:h,title:m,value:v}=e,g=(0,i.A)(e,Z);const b=(0,r.A)({index:s,groupIndex:l,disabled:n,title:m||u,description:t||p,rightContent:d||h,value:v,selected:f},g);return a.createElement(_.ck,(0,o.A)({},b,{onClick:e=>{var t;n||("function"==typeof b.onClick&&b.onClick(e,v),"function"==typeof c&&c(e,"object"!=typeof(t={value:v})?t:null==t?void 0:t.value))}}))};return e.getCollectionNode=E.A,e.displayName="FloatingMenuItem",e}()},44896:(e,t,n)=>{"use strict";n.d(t,{B8:()=>E,be:()=>I,ck:()=>z,yq:()=>O});var o=n(73620),i=n(58168),r=n(80045),a=n(96540),l=n(46942),s=n.n(l),c=n(69247),u=n(88460),d=n(32217),p=n(89379),f=n(95382),h=n(46956),m=n(3959),v=n(97987);const g="andes-list",b="andes-list__group",y="andes-list__item",T='A with size="small" does not allow Buttons or Switches as\nrightContent. Please, use a bigger instead',w=(0,a.createContext)(!1);function A(){return(0,a.useContext)(w)}function C(e){let{children:t}=e;return(0,o.A)(w.Provider,{value:{}},void 0,t)}const _=["children","className","id","type","selectable","withDividers","component","srLabel","aria-label"];var E=function(){const e=(0,a.forwardRef)(((e,t)=>{const{children:n,className:l,id:d,type:p="default",selectable:f=!0,withDividers:h=!1,component:m="ul",srLabel:v,"aria-label":b}=e,y=(0,r.A)(e,_);(0,u.A)(v," needs some text contents for accessibility reasons. Please add an `srLabel` prop.");const T=(0,c.Bi)(d),w=v||b,A=s()(g,l,"".concat(g,"--").concat(p),{["".concat(g,"--selectable")]:f,["".concat(g,"-with-dividers")]:h});return(0,o.A)(C,{},void 0,a.createElement(m,(0,i.A)({className:A,id:T,ref:t},y,{"aria-label":w}),a.Children.map(n,((t,n)=>{let o;if("listbox"!==e.role){var i;const e=null==t||null===(i=t.props)||void 0===i?void 0:i.id;e?o=e:T&&(o="".concat(T,"-").concat(n))}return t&&a.cloneElement(t,{id:o})}))))}));return e.displayName="List",e}();const x=e=>{let{label:t,children:n}=e;return t&&a.Children.count(n)>0};var S=function*(e){const{children:t,label:n,"aria-label":o}=e,i=n||t,r=("string"==typeof i?i:"")||o||"";(0,u.A)(r," needs some plain text contents for accessibility reasons. Please add a `label` or `aria-label` prop."),yield{type:"section",props:e,rendered:i,textValue:r,"aria-label":o||n,hasChildNodes:x,*childNodes(){if(n){const e=[];a.Children.forEach(t,(t=>{e.push({type:"item",element:t})})),yield*e}}}};const N="medium",k="top",L={small:18,medium:20,large:22},P=["children","className","id","label","paddingSize","size","component","itemProps","headingProps","groupProps"];var O=function(){const e=e=>{const{children:t,className:n,id:o,label:l,paddingSize:c,size:p=N,component:f="ul",itemProps:h,headingProps:m,groupProps:v}=e,g=(0,r.A)(e,P),y=A(),T=s()(b,n,"".concat(b,"--size-").concat(p),{["".concat(b,"--padding-").concat(c)]:c});return(0,a.useEffect)((()=>{(0,u.A)(!!y," needs to be wrapped in a '' for accessibility reasons. \nAdd the '' component.")}),[]),a.createElement("li",(0,i.A)({className:T},(0,d.v)(h,g)),a.createElement("span",(0,i.A)({className:"".concat(b,"--header"),id:o},m),l),a.createElement(f,(0,i.A)({className:"".concat(b,"--sublist"),"aria-labelledby":o},v),a.Children.map(t,((e,t)=>{var n;let i;const r=null===(n=e.props)||void 0===n?void 0:n.id;return r?i=r:o&&(i="".concat(o,"-").concat(t)),(0,a.cloneElement)(e,{id:i})}))))};return e.getCollectionNode=S,e.displayName="ListGroup",e}();var R,M=(e,t)=>{if((0,a.isValidElement)(e)){var n,o,i,r;if("Button"===(null===(n=e.type)||void 0===n?void 0:n.displayName)){var l;if("small"===t)return void(0,u.A)(!1,T);if("medium"!==(null===(l=e.props)||void 0===l?void 0:l.size))return(0,u.A)(!1,' only supports Buttons with size="medium"'),(0,a.cloneElement)(e,{size:"medium"})}if((0,v.A)(["Notification","Pill"],null===(o=e.type)||void 0===o?void 0:o.displayName)&&"small"!==(null==e||null===(i=e.props)||void 0===i?void 0:i.size))return(0,u.A)(!1,' only supports Badges with size="small"'),(0,a.cloneElement)(e,{size:"small"});if("Switch"===(null===(r=e.type)||void 0===r?void 0:r.displayName)&&"small"===t)return void(0,u.A)(!1,T)}return e};var I=function(){const e=e=>{var t;const{children:n,baseList:r=!1,title:l="",description:c="",rightContent:u="",leftContent:d,maxLines:p,value:f,size:v=N,rightContentPosition:g="top",chevron:b=!1,id:T,addPrimaryLabel:w=!1}=e,A=(0,a.isValidElement)(d)&&"Thumbnail"===(null==d||null===(t=d.type)||void 0===t?void 0:t.displayName),C=(null==d?void 0:d.src)&&"string"==typeof d.src,_=c&&"small"!==v,E="string"==typeof u,x=C||A,S=(0,a.useRef)(null),[k,P]=(0,a.useState)();(0,a.useEffect)((()=>{var e;x||P(null===(e=S.current)||void 0===e?void 0:e.clientHeight)}),[]);const O=w,I=s()("".concat(y,"-primary"),{["".concat(y,"-primary--max-lines-").concat(p)]:p}),D=s()("".concat(y,"-second-column"),{["".concat(y,"-second-column-with-centered-text")]:x&&E}),F=s()("".concat(y,"-tertiary"),"".concat(y,"-tertiary--").concat(x?"centered":g)),B=s()("".concat(y,"-asset"),{["".concat(y,"-asset--icon")]:!x,["".concat(y,"-asset--icon-one-line")]:!_&&k&&k<=L[v]}),j=s()("".concat(y,"-chevron"),"".concat(y,"-chevron--").concat(x?"centered":g));return a.createElement(a.Fragment,null,(l||c)&&(0,o.A)("div",{className:"".concat(y,"-first-column")},void 0,d&&(0,o.A)("div",{className:B,"aria-hidden":!(A&&d.props.srLabel)||void 0},void 0,C?a.createElement(m._V,(0,i.A)({className:"".concat(y,"-image")},d,{"aria-hidden":!0})):d),(0,o.A)("div",{className:"".concat(y,"-text")},void 0,l&&(O?a.createElement("label",{onClick:e=>e.stopPropagation(),htmlFor:"".concat(T,"-selection-component-").concat(f),className:I,ref:S},l):a.createElement("span",{className:I,ref:S},l)),_&&(0,o.A)("span",{className:"".concat(y,"-secondary")},void 0,c))),!r&&(u||b)&&(0,o.A)("div",{className:D},void 0,u&&(0,o.A)("span",{className:F},void 0,M(u,v)),b&&(0,o.A)("div",{className:j,"aria-hidden":!0},void 0,R||(R=(0,o.A)(h.A,{color:"rgba(0, 0, 0, 0.55)","aria-hidden":!0})))),n)};return e.displayName="ListItemContent",e}();var D=e=>{let{rightContent:t,_willdeprecate$tertiary:n,rightContentPosition:o,_willdeprecate$tertiaryPosition:i}=e;if(!t&&!n)return{position:k};const r={position:o||i||k};var a,l;return void 0!==(null==(l=t)?void 0:l.content)?(0,p.A)((0,p.A)({},r),{},{content:null==t?void 0:t.content,description:null!==(a=null==t?void 0:t.description)&&void 0!==a?a:void 0}):(0,p.A)((0,p.A)({},r),{},{content:t||n||null,position:o||i||k})};var F,B=e=>{var t;const{className:n,size:o=N,selected:i,paddingSize:r,disabled:l,leftContent:c,description:u}=e,d=(0,a.isValidElement)(c)&&"Thumbnail"===(null==c||null===(t=c.type)||void 0===t?void 0:t.displayName),p=(null==c?void 0:c.src)&&"string"==typeof c.src;return s()(y,n,"".concat(y,"--size-").concat(o),{["".concat(y,"--selected-padding-0")]:i&&"0"===r,["".concat(y,"--padding-").concat(r)]:r,["".concat(y,"--disabled")]:l,["".concat(y,"--selected")]:i,["".concat(y,"-with-image")]:p||d,["".concat(y,"-with-secondary")]:u&&"small"!==o})};const j=["children","className","disabled","primary","secondary","tertiary","selected","onClick","onSelect","href","image","groupIndex","value","size","maxLines","tertiaryPosition","chevron","paddingSize","id","target","component","title","description","rightContent","leftContent","rightContentPosition"];var z=function(){const e=(0,a.forwardRef)(((e,t)=>{var n;const{children:l,className:c,disabled:d=!1,primary:m,secondary:v,tertiary:g,selected:b=!1,onClick:T,onSelect:w,href:C,image:_,groupIndex:E,value:x,size:S=N,maxLines:k,tertiaryPosition:L,chevron:P=!1,paddingSize:O,id:R,target:z,component:V="li",title:H,description:U,rightContent:X,leftContent:W,rightContentPosition:G="top"}=e,q=(0,r.A)(e,j),K=A(),$=H||m,Y=U||v,Z=D({rightContent:X,_willdeprecate$tertiary:g,rightContentPosition:G,_willdeprecate$tertiaryPosition:L}),J=W||_,Q=(0,a.isValidElement)(J)&&"Thumbnail"===(null==J||null===(n=J.type)||void 0===n?void 0:n.displayName),ee=(null==J?void 0:J.src)&&"string"==typeof J.src,te="string"==typeof(null==Z?void 0:Z.content),ne=ee||Q,{focusProps:oe,isFocusVisible:ie}=(0,f.o)({within:!0}),{focusProps:re,isFocusVisible:ae}=(0,f.o)({within:!0}),le=B((0,p.A)((0,p.A)({},e),{},{className:c,selected:b,title:$,description:Y,rightContent:null==Z?void 0:Z.content,leftContent:J,rightContentPosition:null==Z?void 0:Z.position})),se=s()(le,{["".concat(y,"--visible-focused")]:ie&&!ae}),ce=s()("".concat(y,"-second-column"),{["".concat(y,"-second-column-with-centered-text")]:ne&&te}),ue=s()("".concat(y,"-tertiary-container"),"".concat(y,"-tertiary-container--").concat(ne?"centered":null==Z?void 0:Z.position)),de=s()("".concat(y,"-tertiary"),"".concat(y,"-tertiary--").concat(ne?"centered":null==Z?void 0:Z.position)),pe=s()("".concat(y,"-chevron"),"".concat(y,"-chevron--").concat(ne?"centered":null==Z?void 0:Z.position)),{ActionWrapper:fe,actionWrapperProps:he}=(()=>{let e=a.Fragment,t={};return C?(e="a",t=(0,p.A)((0,p.A)({className:"".concat(y,"-anchor"),target:z},d?{role:"link","aria-disabled":!0}:{href:C}),{},{onClick:T})):T&&(e="button",t={className:"".concat(y,"-action"),disabled:d,onClick:T,type:"button"}),{ActionWrapper:e,actionWrapperProps:t}})();return(0,a.useEffect)((()=>{(0,u.A)(!!K," needs to be wrapped in a '' for accessibility reasons. \nAdd the '' component.")}),[]),a.createElement(V,(0,i.A)({className:se,ref:t,id:R},q,oe),a.createElement(a.Fragment,null,a.createElement(fe,he,a.createElement(I,(0,i.A)({},e,{baseList:!0,title:$,description:Y,rightContent:null==Z?void 0:Z.content,leftContent:J,rightContentPosition:null==Z?void 0:Z.position}))),((null==Z?void 0:Z.content)||P)&&(0,o.A)("div",{className:ce},void 0,(null==Z?void 0:Z.content)&&(0,o.A)("div",{className:ue},void 0,a.createElement("span",(0,i.A)({className:de},re),M(null==Z?void 0:Z.content,S)),te&&(null==Z?void 0:Z.description)&&"small"!==S&&(0,o.A)("span",{className:"".concat(y,"-tertiary-description")},void 0,null==Z?void 0:Z.description)),P&&(0,o.A)("div",{className:pe,"aria-hidden":!0},void 0,F||(F=(0,o.A)(h.A,{color:"rgba(0, 0, 0, 0.55)","aria-hidden":!0}))))))}));return e.displayName="ListItem",e}()},57051:(e,t,n)=>{"use strict";n.d(t,{A:()=>V});var o=n(58168),i=n(73620),r=n(96540),a=n(46942),l=n.n(a),s=n(3959),c=n(69247),u=n(25925),d=n(89379),p=n(92275),f=n(33734),h=n(81023),m=n(3411),v=n(85690),g=n(60510),b=n(92278),y=n(97987);const T="fill",w="andes-progress-indicator-linear",A="".concat(w,"__segment");var C={module:"@andes/tooltip",locale:"en-US",translations:{"andes-tooltipcerrar":[null,"Close"]}},_={module:"@andes/tooltip",locale:"es-AR",translations:{"andes-tooltipcerrar":[null,"Cerrar"]}},E={module:"@andes/tooltip",locale:"pt-BR",translations:{"andes-tooltipcerrar":[null,"Fechar"]}};const x="andes-tooltip",S="bottom",N="left",k="right",L="top";var P,O;const R=e=>"pill"===(null==e?void 0:e.badge)?(0,i.A)(g.ab,{},void 0,e.pillContent):"notification"===(null==e?void 0:e.badge)?P||(P=(0,i.A)(g.ab,{contentType:"icon"})):"pill-icon"===(null==e?void 0:e.badge)?O||(O=(0,i.A)(g.ab,{contentType:"icon"})):void 0;var M=e=>{let{actions:t,closable:n=!1,closeIconLabel:a,closeTooltip:u,content:d,focusScope:p=!1,icons:f,id:h,image:m,onMouseEnter:g,onMouseLeave:y,open:T,placement:w=L,thumbnail:A,title:S}=e;const N=(0,c.UO)(c.Ri,C,_,E),k=l()("".concat(x,"-data"),{["".concat(x,"-data-image")]:m||f}),P=l()("".concat(x,"-data__arrow"),{["".concat(x,"-data__arrow--").concat(w)]:w});return(0,i.A)("div",{onMouseEnter:g,onMouseLeave:y},void 0,(0,i.A)(v.n1,{contain:T&&p,restoreFocus:!0,autoFocus:!0},void 0,(0,i.A)("div",{className:k,tabIndex:-1},void 0,p&&(0,i.A)("div",{tabIndex:0,className:"".concat(x,"__focus-retainer")}),n&&(0,i.A)("button",{className:"".concat(x,"-button-close"),onClick:e=>{e.preventDefault(),e.stopPropagation(),u(e)},"aria-label":a||N.pgettext(x,"close"),type:"button"}),A&&(0,i.A)("div",{className:"".concat(x,"__image-container")},void 0,((e,t,n)=>{const i={badge:R(e),className:"".concat(x,"__image")};return"image"===(null==e?void 0:e.type)?r.createElement(b.Vz,(0,o.A)({},i,{srLabel:null==t?void 0:t.title}),r.createElement(s._V,t)):"icons"===(null==e?void 0:e.type)&&n?r.createElement(b.Vz,(0,o.A)({hierarchy:e.hierarchy,disabled:e.disabled},i),n):void 0})(A,m,f)),(0,i.A)("div",{className:"".concat(x,"__content")},void 0,S&&(0,i.A)("span",{id:h?"".concat(h,"-title"):void 0,className:"".concat(x,"__title")},void 0,S),d&&(0,i.A)("div",{className:"".concat(x,"__text")},void 0,d),t&&(0,i.A)("div",{className:"".concat(x,"__actions")},void 0,t)),(0,i.A)("div",{className:P,"data-popper-arrow":!0}))))},I={top:[0,16],topLeft:[-10,16],topRight:[10,16],bottom:[0,16],bottomLeft:[-10,16],bottomRight:[10,16],left:[0,16],leftTop:[-10,16],right:[0,16],rightTop:[-10,16]};const D="hover",F="light",B={topLeft:"top-start",top:L,topRight:"top-end",bottomLeft:"bottom-start",bottom:S,bottomRight:"bottom-end",leftTop:"left-start",left:N,rightTop:"right-start",right:k},j=function(){const e=(0,r.forwardRef)(((e,t)=>{let{actions:n,afterVisibleChange:o,autoHideDelay:a,children:p,className:v,closable:g=!1,closeIconLabel:b,content:T,defaultOpen:w,disableClickOutside:A=!1,focusScope:C=!0,icons:_,id:E,image:P,mouseEnterDelay:O=0,mouseLeaveDelay:R=.1,offsetX:j=0,offsetY:z=0,onClickOutside:V,onClose:H,onCloseTooltip:U,onOpen:X,onVisibleChange:W,open:G,showCloseButton:q,side:K=L,thumbnail:$,title:Y,trigger:Z=D,type:J=F,visible:Q}=e;const ee=(0,c.Bi)(E),te=(0,u.A)(),{device:ne}=(0,r.useContext)(c.Ri),oe=null==ne?void 0:ne.mobile,ie=l()(v,x,{["".concat(x,"--").concat(J)]:J}),re=q||g,ae="click"===Z,le=Z===D,se=!!n||ae||re,ce=se?"dialog":"tooltip",ue="dialog"===ce,[de,pe]=(0,r.useState)(!1),[fe,he]=(0,r.useState)(""),me=(0,r.useMemo)((()=>void 0!==G),[]),ve=(0,r.useRef)(),ge=(0,r.useRef)(),be=(0,r.useRef)(),ye=(0,r.useRef)(),Te=(0,r.useRef)(!0),we=(0,r.useRef)(),Ae=()=>{"function"==typeof X&&X(),me||(ge.current=setTimeout((()=>pe(!0)),1e3*O),clearTimeout(be.current))},Ce=e=>{"function"==typeof H&&H(e),me||(be.current=setTimeout((()=>pe(!1)),1e3*R),clearTimeout(ge.current))};(0,r.useEffect)((()=>{var e;Te.current?Te.current=!1:((e=de)&&a&&(ve.current=setTimeout((()=>pe(!1)),a)),e||clearTimeout(ve.current),"function"!=typeof U||e||U(),"function"==typeof W&&W(e),"function"==typeof o&&o(e))}),[de]),(0,r.useEffect)((()=>{void 0!==Q&&pe(Q)}),[Q]),(0,r.useEffect)((()=>{w&&(ge.current=setTimeout((()=>pe(!0)),1e3*O),clearTimeout(be.current))}),[]),(0,r.useEffect)((()=>{me&&(G?(ge.current=setTimeout((()=>pe(!0)),1e3*O),clearTimeout(be.current)):(be.current=setTimeout((()=>pe(!1)),1e3*R),clearTimeout(ge.current)))}),[G]);const _e=()=>{clearTimeout(ye.current),clearTimeout(be.current)},Ee=se?()=>{ye.current=setTimeout((e=>Ce(e)),300),de||(clearTimeout(ye.current),clearTimeout(ge.current))}:Ce,xe=de?Ce:Ae,Se=e=>{e.code===h._f&&Ce(e)},Ne=0!==j&&0!==z?(0,m.A)(K,S)?[j,z]:(0,m.A)(K,N)?[z,-j]:(0,m.A)(K,k)?[z,j]:[j,-z]:I["".concat(K)],ke=oe?{options:{fallbackPlacements:fe?[fe]:[L,S]}}:{enabled:!1};return r.createElement("div",{ref:t},(0,i.A)(f.N,{placement:fe||B["".concat(K)],className:ie,interactive:se,interactiveDebounce:75,offset:Ne,onClickOutside:(e,t)=>{"function"==typeof V&&V(t),A||Ce(t)},visible:de,popperOptions:{modifiers:[(0,d.A)({name:"flip"},ke)]},role:ce,plugins:[{name:"hideOnEsc",defaultValue:!0,fn(e){let{popper:t}=e;function n(e){Se(e)}return{onShow(){t.addEventListener("keydown",n)},onHide(){t.removeEventListener("keydown",n)}}}},{name:"hideOnPopperBlur",defaultValue:le&&se,fn:e=>({onMount(){e.popper.addEventListener("focusout",(t=>{e.props.hideOnPopperBlur&&(t.relatedTarget&&!e.popper.contains(t.relatedTarget)||!t.relatedTarget)&&Ce(t)}))}})}],content:(0,i.A)(M,{title:Y,content:T,thumbnail:$,image:P,icons:_,closable:re||ae,actions:n,placement:fe||B["".concat(K)],closeTooltip:Ce,onMouseEnter:le?_e:void 0,onMouseLeave:le?Ce:void 0,focusScope:se&&ae&&C,open:de,id:ee,closeIconLabel:b}),onMount:e=>{var t;if(e.popper.setAttribute("role",ce),he(null===(t=e.popperInstance)||void 0===t?void 0:t.state.placement),ue){if(e.reference.removeAttribute("aria-expanded"),ae||!C){e.popper.setAttribute("aria-modal",C.toString()),e.popper.focus();const t=[].slice.call(e.popper.querySelectorAll(".".concat(x,"__focus-retainer")));t.length&&t[0].focus()}e.popper.setAttribute("aria-labelledby","".concat(ee,"-title"))}e.reference.removeAttribute("aria-describedby")},onHidden:(e,t)=>{let{preventFocus:n}=t;ue&&(e.reference.removeAttribute("aria-expanded"),e.popper.removeAttribute("aria-modal"),e.popper.removeAttribute("aria-label"),e.popper.removeAttribute("aria-labelledby"),ae&&e.reference.children[0]instanceof HTMLElement&&!n&&e.reference.children[0].focus()),e.popper.removeAttribute("role")},reference:we.current,aria:{expanded:void 0},focusScope:C}),r.createElement("div",{ref:e=>{we.current=e},className:"".concat(x,"__trigger"),onMouseEnter:le?Ae:void 0,onMouseLeave:le?Ee:void 0,onFocus:le?Ae:void 0,onBlur:le&&!se?Ee:void 0,onClick:ae?xe:void 0,onKeyDown:ae?Se:void 0},"string"==typeof p?p:r.Children.map(p,(e=>{var t,n,o,i;const a={"aria-describedby":se?void 0:"informative-".concat(ee),"aria-expanded":ae?de:void 0,"aria-haspopup":ae||void 0},l=(0,y.A)(["AmountField","Checkbox","FileUploader","InlineEdit","Password","SearchBox","SearchboxSplit","SplitTextfield","Switch","TextField"],(null==e||null===(t=e.type)||void 0===t?void 0:t.displayName)||(null==e||null===(n=e.type)||void 0===n?void 0:n.name));return e&&(0,r.isValidElement)(e)?r.cloneElement(e,(0,d.A)({},l?{inputProps:(0,d.A)((0,d.A)({},"object"==typeof(null==e||null===(o=e.props)||void 0===o?void 0:o.inputProps)&&((null==e||null===(i=e.props)||void 0===i?void 0:i.inputProps)||{})),a)}:a)):null}))),!se&&(0,i.A)(s.s6,{id:"informative-".concat(ee),"aria-hidden":!0},void 0,te&&r.createElement(r.Fragment,null,Y," ",T)))}));return e.displayName="Tooltip",e}();delete(0,d.A)({},j.propTypes).children;var z=e=>{let{id:t,size:n="small",srLabel:a,value:c=0,tooltipConfig:u,label:d}=e;const f="".concat(w,"--comparison"),h=l()(f,{["".concat(f,"--").concat(n)]:n}),m={left:"".concat(c,"%")},v=()=>r.createElement(r.Fragment,null,(0,i.A)("span",{className:"".concat(h,"-upper-row")}),(0,i.A)("span",{className:"".concat(h,"-lower-row")}));return(0,i.A)("div",{className:"".concat(w,"--comparison"),style:m},void 0,u?r.createElement(p.m_,(0,o.A)({},u,{className:"".concat(h,"-tooltip")}),(0,i.A)("button",{className:"".concat(h,"-container"),"aria-labelledby":"".concat(t,"-label"),"aria-label":a,type:"button"},void 0,v())):(0,i.A)("div",{className:"".concat(h,"-notooltip-container")},void 0,a&&(0,i.A)(s.s6,{},void 0,a),v()),d&&(0,i.A)("span",{className:"".concat(h,"-value"),id:"".concat(t,"-label")},void 0,d))};var V=function(){const e=(0,r.forwardRef)(((e,t)=>{const{id:n,className:a,size:d="small",color:p,value:f=0,highlight:h=!1,inverted:m=!1,segments:v,srLabel:g,srValueText:b,srAnnouncement:y,"aria-label":C,notificationsLabel:_,comparison:E}=e,x=!!v,S=(0,c.Bi)(n),N=(0,u.A)(),k=(0,r.useRef)(),L=y||_,[P,O]=(0,r.useState)(L);(0,r.useEffect)((()=>{O(L),k.current=setTimeout((()=>O("")),30)}),[L]),(0,r.useEffect)((()=>()=>clearTimeout(k.current)),[]);const R=x?{}:{width:"".concat(f,"%"),backgroundColor:p},M={["".concat(w,"--").concat(d)]:d,["".concat(w,"--segmented")]:x},I=l()(w,a,M),D=l()(T,x?{["".concat(T,"--segmented")]:x}:{["".concat(T,"--empty")]:0===f,["".concat(T,"--highlighted")]:h,["".concat(T,"--inverted")]:m});return r.createElement("div",{className:I,ref:t},(0,i.A)(s.s6,{role:"status","aria-live":"polite","aria-atomic":"true"},void 0,N&&P),(0,i.A)("div",{id:S,style:R,className:D,role:"progressbar","aria-valuenow":f,"aria-valuemin":0,"aria-valuemax":v||100,"aria-valuetext":x?b:void 0,"aria-label":g||C},void 0,x&&(()=>{const e=[];for(let t=0;t<(v||0);t+=1){const n=t{"use strict";n.d(t,{Ay:()=>E,uC:()=>N,vw:()=>E});var o=n(58168),i=n(73620),r=n(96540),a=n(46942),l=n.n(a),s=n(69247),c=n(3959),u=n(64467),d=n(81023),p=n(33734);const f="1",h="12",m="16";var v=e=>{let{namespace:t,size:n,opacity:o=f}=e;return(0,i.A)("svg",{className:"".concat(t,"__close-icon ").concat(t,"__svg-fill"),width:n,height:n,viewBox:"0 0 16 16"},void 0,(0,i.A)("path",{transform:"translate(3 3)",fillOpacity:o,d:"M8.594.552l.855.842L5.87 5.022 9.45 8.6l-.849.848-3.572-3.572-3.521 3.572-.855-.842L4.18 5.028.552 1.4l.849-.848 3.621 3.62L8.594.553z"}))};var g=e=>{let{namespace:t,size:n,opacity:o=f}=e;return(0,i.A)("svg",{width:n,height:n,viewBox:"0 0 16 16"},void 0,(0,i.A)("path",{className:"".concat(t,"__svg-fill"),fillRule:"nonzero",fillOpacity:o,d:"M6.788 9.396l4.577-4.577 1.028 1.029-5.605 5.605-3.181-3.181 1.028-1.029z"}))},b={module:"@andes/tag",locale:"en-US",translations:{"andes-tagquitar {0}":[null,"remove {0}"],"andes-tagerror":[null,"error"],"andes-tagdeshabilitado":[null,"disabled"],"andes-tagmostrar {0} mas":[null,"show {0} more"]}},y={module:"@andes/tag",locale:"es-AR",translations:{"andes-tagquitar {0}":[null,"quitar {0}"],"andes-tagerror":[null,"error"],"andes-tagdeshabilitado":[null,"deshabilitado"],"andes-tagmostrar {0} mas":[null,"mostrar {0} más"]}},T={module:"@andes/tag",locale:"pt-BR",translations:{"andes-tagquitar {0}":[null,"tirar {0}"],"andes-tagerror":[null,"erro"],"andes-tagdeshabilitado":[null,"desativado"],"andes-tagmostrar {0} mas":[null,"mostrar mais {0}"]}};const w="andes-tag",A="".concat(w,"-collapsed");var C=e=>{switch(e){case"default":return;case"error":return"red";case"warning":return"orange";case"success":return"green";default:return e}};var _=e=>{let{asset:t,label:n}=e;const[o,a]=(0,r.useState)(!1),[s,c]=(0,r.useState)(!1),[u,d]=(0,r.useState)(!1);if(!t)return null;const p=t.imageUrl&&!o,f=p?l()("".concat(w,"__avatar-image"),{["".concat(w,"__avatar-image--landscape")]:s,["".concat(w,"__avatar-image--loaded")]:u}):void 0;return(0,i.A)("div",{className:"".concat(w,"__avatar")},void 0,p&&(0,i.A)("img",{onError:()=>{a(!0)},className:f,onLoad:e=>{const{naturalWidth:t,naturalHeight:n}=e.target;c(t>n),d(!0)},src:t.imageUrl,alt:n}),!p&&t.icon&&(0,i.A)("div",{"aria-hidden":!0,className:"".concat(w,"__avatar-icon-container")},void 0,t.icon),!p&&!t.icon&&t.text&&(0,i.A)("div",{className:"".concat(w,"__avatar-text-container")},void 0,t.text))};var E=function(){const e=(0,r.forwardRef)(((e,t)=>{var n;let{asset:a,avatar:u,children:d,className:p,clickable:A=!1,closeButtonLabel:E,closeButtonSrLabel:x,color:S,component:N,disabled:k=!1,error:L,id:P,label:O,onClick:R,onClose:M,selected:I,size:D="large",srLabel:F}=e;const B=(0,s.Bi)(P),j=(0,s.UO)(s.Ri,b,y,T),z=a||u,V=C(S),H=e=>{e.stopPropagation(),k||"function"!=typeof M||M(e)},U=()=>k?"0.25":V?f:"0.45",X=l()(w,p,{["".concat(w,"--").concat(D)]:D,["".concat(w,"__color--").concat(V)]:V,["".concat(w,"--disabled")]:k,["".concat(w,"--clickable")]:("function"==typeof R||A)&&!k,["".concat(w,"--selected")]:I}),W=()=>L&&(0,i.A)(c.s6,{},void 0,j.pgettext(w,"error"),":"),G=()=>k&&(0,i.A)(c.s6,{},void 0,j.pgettext(w,"deshabilitado"),":"),q=()=>F&&(n||(n=(0,i.A)(c.s6,{},void 0,F))),K=d?(0,i.A)("div",{className:"".concat(w,"__child")},void 0,W(),G(),q(),d):(0,i.A)("div",{className:"".concat(w,"__label")},void 0,W(),G(),q(),O);let $,Y;return"function"!=typeof R||k?($={className:X},Y=N||"div"):($={className:X,onClick:R,type:"button","aria-pressed":!!I},Y=N||"button"),r.createElement(Y,(0,o.A)({},$,{ref:t,id:B}),r.createElement(r.Fragment,null,z&&"large"===D&&(0,i.A)(_,{asset:z,label:O}),K,I&&(0,i.A)("span",{"aria-hidden":!0,className:"".concat(w,"__icon-container")},void 0,(0,i.A)(g,{namespace:w,size:"large"===D?m:h,opacity:U()})),"function"==typeof M&&(0,i.A)("button",{type:"button",className:"".concat(w,"__close"),onClick:H,disabled:k,"aria-label":x||E||j.pgettext(w,"quitar {0}",O)},void 0,(0,i.A)("span",{"aria-hidden":!0,className:"".concat(w,"__icon-container")},void 0,(0,i.A)(v,{namespace:w,size:"large"===D?m:h,opacity:U()})))))}));return e.displayName="Tag",e}();class x extends r.Component{constructor(e){super(e),(0,u.A)(this,"getKeyByIndex",(e=>{const{id:t}=this.props;return"".concat(t,"-item-").concat(e)})),this.state={moreTagsVisible:!1},this.buttonRef=r.createRef(),this.showMoreTags=this.showMoreTags.bind(this),this.hideMoreTags=this.hideMoreTags.bind(this),this.onBlur=this.onBlur.bind(this),this.onKeyDown=this.onKeyDown.bind(this)}getVisibleTags(e){const{limit:t=2}=this.props;return e.slice(0,t)}getEllipseTag(e){var t;const{limit:n=2,disabled:o=!1,i18n:a}=this.props,{moreTagsVisible:s}=this.state,c=(null===(t=e[0])||void 0===t||null===(t=t.props)||void 0===t?void 0:t.size)||"large",u="+".concat(e.length-n),d=l()(w,"".concat(w,"--").concat(c),{["".concat(w,"--selectable")]:!o,["".concat(w,"--clickable")]:!o,["".concat(w,"--disabled")]:o}),f=l()("".concat(A,"__wrap"),"".concat(A,"__list-item"));return(0,i.A)("li",{className:f,onKeyDown:this.onKeyDown},void 0,(0,i.A)(p.N,{interactive:!0,placement:"bottom-start",trigger:"click",visible:s,popperOptions:{modifiers:[{name:"offset",options:{offset:[0,6]}}]},onClickOutside:this.hideMoreTags,zIndex:1e4,content:(0,i.A)("div",{className:"".concat(A,"__more"),role:"dialog",onBlur:this.onBlur},void 0,(0,i.A)("ul",{className:"".concat(A,"__list")},void 0,e.slice(n).map(((e,t)=>(0,i.A)("li",{className:"".concat(A,"__list-item")},this.getKeyByIndex(t),e))))),focusScope:!0},void 0,r.createElement("button",{onClick:s?this.hideMoreTags:this.showMoreTags,"aria-haspopup":"dialog","aria-expanded":s,"aria-label":a.pgettext(w,"mostrar {0} mas",e.length-n),className:d,ref:this.buttonRef,disabled:o,type:"button"},(0,i.A)("span",{className:"".concat(w,"__label")},void 0,u))))}showMoreTags(){const{disabled:e=!1}=this.props;e||this.setState({moreTagsVisible:!0})}hideMoreTags(){this.setState({moreTagsVisible:!1})}focusInCurrentTarget(e){const{relatedTarget:t,currentTarget:n}=e;if(null===t)return!1;let o=t.parentNode;for(;null!==o;){if(o===n)return!0;o=o.parentNode}return!1}onBlur(e){this.focusInCurrentTarget(e)||this.hideMoreTags()}onKeyDown(e){var t;const{code:n}=e,o=null===(t=this.buttonRef)||void 0===t?void 0:t.current;n===d._f&&o&&(this.hideMoreTags(),o.focus())}render(){const{children:e,limit:t=2,"aria-label":n,srLabel:o,innerRef:a}=this.props,s=l()("".concat(A),"".concat(A,"__list"),"".concat(A,"__list-main")),c=r.Children.toArray(e),u=c.length>t;return r.createElement("ul",{className:s,"aria-label":o||n,ref:a},this.getVisibleTags(c).map(((e,t)=>(0,i.A)("li",{className:"".concat(A,"__list-item")},this.getKeyByIndex(t),e))),u&&this.getEllipseTag(c))}}x.displayName="TagCollapsed";var S=x;var N=function(){const e=(0,r.forwardRef)(((e,t)=>{const n=(0,s.Bi)(e.id),i=(0,s.UO)(s.Ri,b,y,T);return r.createElement(S,(0,o.A)({},e,{id:n,i18n:i,innerRef:t}))}));return e.displayName="TagCollapsedContainer",e}()},92278:(e,t,n)=>{"use strict";n.d(t,{Vz:()=>g});var o=n(73620),i=n(89379),r=n(96540),a=n(46942),l=n.n(a),s=n(88460),c=n(69247),u=n(3959);var d=e=>{let{badge:t}=e;if(!t)return;const{type:n,color:o}=t;if(o)return o;switch(n){case"neutral":default:return"accent";case"generic":return"gray";case"success":return"green";case"warning":return"orange";case"error":return"red"}};const p="andes-thumbnail",f={neutral:"rgba(0, 0, 0, 0.9)",loud:"#fff",quiet:"#3483fa",disabled:"rgba(0, 0, 0, 0.25)"},h=e=>"80"===e||"72"===e||"64"===e?"large":"small";function m(e){return!(!(0,r.isValidElement)(e)||"function"!=typeof e.type)&&"Asset"===e.type.name}function v(e){return!!(0,r.isValidElement)(e)&&(!e.props.src&&!m(e))}var g=function(){const e=(0,r.forwardRef)(((e,t)=>{let{"aria-label":n,badge:a,children:g,className:b,disabled:y=!1,hierarchy:T="neutral",id:w,modifier:A="circle",size:C="48",srLabel:_}=e;const E=(0,c.Bi)(w),x=d({badge:null==a?void 0:a.props}),S=_||n,N="default"===T?"neutral":T,k=l()(p,"".concat(p,"--").concat(A),"".concat(p,"--").concat(C),{["".concat(p,"__badge")]:a,["".concat(p,"__badge-").concat(x)]:x,["".concat(p,"--").concat(N)]:m(g)||v(g),["".concat(p,"--").concat(N,"-disabled")]:(m(g)||v(g))&&y},b,{}),L=(0,i.A)((0,i.A)({},!(e=>!!(0,r.isValidElement)(e)&&"img"===e.type)(g)&&{"aria-hidden":!!S}),{},{title:S});return r.createElement("div",{className:"".concat(p,"-container"),ref:t},(0,o.A)("div",{className:k},void 0,r.Children.only(m(g)?r.cloneElement(g,(0,i.A)({color:(()=>{const{color:e}=g.props;return e&&"rgba(0, 0, 0, 0.9)"!==e?e:f[y?"disabled":N]})()},L)):r.cloneElement(g,(0,i.A)({},L))),S&&(0,o.A)(u.s6,{},void 0,S)),a&&((e,t)=>{const n="Dot"===t.type.displayName;return n&&("24"===e||"32"===e)||!n&&"24"!==e&&"32"!==e?t:((0,s.A)(!n,"".concat(e," should use Notification or Pill Badges")),!1)})(C,a)&&r.cloneElement(a,{size:h(C),id:a.props.id||"".concat(E,"-thumbnail-badge")}))}));return e.displayName="Thumbnail",e}()},67113:(e,t,n)=>{"use strict";n.d(t,{UI:()=>_,n0:()=>q,nc:()=>G});var o,i=n(96540),r=n(37808),a=n(46942),l=n.n(a),s=n(48911),c=n(33829),u=n(58497),d=n(44170);function p(e,t,n,i){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=i;else if(a>1){for(var l=Array(a),s=0;se.length)&&(t=e.length);for(var n=0,o=Array(t);n1){for(var a=Array(r),l=0;l{let{color:t="rgba(0, 0, 0, 0.9)",i18n:n,srLabel:o}=e;return N("svg",{"aria-hidden":o?void 0:!o,"aria-label":o||void 0,role:o?"img":void 0,width:"20",height:"20",viewBox:"0 0 20 20",fill:t},void 0,o&&N("title",{},void 0,o),N("path",{d:"M8.27686 4.34644L7.42834 5.19496L12.224 9.99059L7.42334 14.7912L8.27187 15.6397L13.921 9.99059L8.27686 4.34644Z",fill:t}))},L=e=>{let{color:t="rgba(0, 0, 0, 0.9)",i18n:n,srLabel:o}=e;return N("svg",{"aria-hidden":o?void 0:!o,"aria-label":o||void 0,role:o?"img":void 0,width:"12",height:"12",viewBox:"0 0 12 12",fill:t},void 0,o&&N("title",{},void 0,o),N("path",{d:"M4.89779 1.85229L4.10229 2.64779L7.45455 6.00004L4.10229 9.35229L4.89779 10.1478L9.04554 6.00004L4.89779 1.85229Z",fill:t}))};var P=function(e){var t=e.tabs,n=e.activeTab,o=e.handleTabs,i=e.layoutTheme;return p("ul",{className:"carousel-with-tabs__tabs-list products-gallery-with-tabs__tabs-list"},void 0,null==t?void 0:t.map((function(e){var r=n===e.id&&t.length>1,a=l()("tabs-list__item",{"tabs-list__item--without-underline":1===t.length,"tabs-list__item--active":r,"header--custom-background":r&&"explorer"===i}),s=l()("tab-item-label",{"header--custom-text":r&&"explorer"===i});return 0===e.items.length?null:p("li",{className:a,id:e.id,onClick:function(t){return o(t,e.id)},role:"button",tabIndex:"-1"},(0,c.A)(),p("div",{className:s},void 0,e.label))})))};P.defaultProps={layoutTheme:"",handleTabs:function(){},activeTab:"",tabs:[]};var O=P,R=function(e){var t=e.tabs,n=e.type,o=e.layoutTheme,i=e.handleTabs,r=e.activeTabId;return p(s.wn,{type:n,className:"products-gallery-section"},void 0,p("div",{className:"row container carousel-with-tabs products-gallery-container"},void 0,p("div",{className:"section-header products-gallery-with-tabs"},void 0,(null==t?void 0:t.length)>1&&p(O,{tabs:t,layoutTheme:o,activeTab:r,handleTabs:i}))))};R.defaultProps={layoutTheme:"",handleTabs:function(){},activeTab:"",tabs:[]};var M,I,D,F=R,B="products-gallery";var j=function(){const e=function(e){var t,n=e.children,o=e.display,r=e.highlight_seeds,a=e.title,c=e.type,u=e.view_more_action,d=e.categories,f=e.updateGrid,h=e.show_title,m=e.eshopType,v=e.deviceType,b=e.withoutTabsCategory,y=e.layoutTheme,w=e.isEshops,A=e.isPolycard,C=e.isEditable,_=Boolean(null==d?void 0:d.length),x=T.includes(m),N=g.includes(m),P=x||!_,O=x?null==d||null===(t=d[0])||void 0===t?void 0:t.view_more_action:u,R=S((0,i.useState)(d[0]?d[0].id:null),2),j=R[0],z=R[1],V=d.find((function(e){return e.id===j})),H="explorer"===y,U="legend"===y,X=!H&&!U,W="mobile"===v,G="desktop"===v,q=l()("section-header-products-gallery","section-header section-header__".concat(o),{"section-header__title-container":_}),K=l()("row container ui-ms-products-gallery__container",{"highlight-seeds":r}),$=l()("ui-ms-products-gallery-section ui-ms-products-gallery-section--".concat(y," ui-ms-products-gallery-section--").concat(v),{"section-center":_,"ui-ms-section-eshops":x,"ui-ms-section-eshops--seller":"seller"===m||"brand"===m||"landing"===m,"ui-ms-products-gallery__polycard":A,"ui-ms-products-gallery__polycard--editable":C&&A}),Y=l()("products-gallery-title","section-header__title--base",{"section-header__title":_}),Z=l()("section-eshop__title--layout",{"section-eshop__title":_}),J=function(e){return W&&N?i.createElement(s.rc,E({},e,{label:null,isSelf:!0}),M||(M=p(k,{}))):i.createElement(s.rc,E({},e,{isSelf:!0}))},Q=function(){var e,t,n,o=I||(I=i.createElement(i.Fragment,null)),r=null==V||null===(e=V.view_more_action)||void 0===e?void 0:e.label,a=null==V||null===(t=V.view_more_action)||void 0===t?void 0:t.target;return w||(o=p("div",{className:"".concat(B,"-action")},void 0,p("a",{className:"".concat(B,"-action__label"),alt:r,href:a},void 0,r||"",(n=!1,U&&(n=!0),X&&W&&(n=!0),n&&r&&(D||(D=p(L,{}))))))),o},ee=_&&!b;return p(s.wn,{type:c,className:$,eshopType:m},void 0,p("div",{className:K},void 0,p("div",{className:x?Z:q},void 0,h&&p("h2",{className:Y},void 0,a),w&&P&&O&&i.createElement(J,O)),p("div",{className:"ui-ms-products-gallery__tab-list--container"},void 0,ee&&p(F,{tabs:d,activeTabId:j,handleTabs:function(e,t){var n=e.currentTarget.getAttribute("id");z(n),f(t)},type:"recommendations",layoutTheme:y}),(X&&G||U&&G||H)&&Q()),n,W&&!H&&Q()))};return e.defaultProps={display:"original",highlight_seeds:!1,view_more_action:null,show_title:!0,eshopType:"",type:"",withoutTabsCategory:!1,categories:[],isPolycard:!1,isEditable:!1},e}();function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function V(e){for(var t=1;t0?1:0)>0?Array.from(Array(p).keys()):[]).map((function(e){return d.slice(e*l,l+e*l)}))},U=function(e,t){return e.find((function(e){return e.id===t}))},X=function(e,t){var n=e.items,o=e.categories;if(e.isPolycard){var i,r=o.length?null===(i=U(o,o[0].id))||void 0===i?void 0:i.polycards:[];return H(r,e,t)}var a=o.length?U(o,o[0].id).items:n;return H(a,e,t)},W=function(e,t){var n=S((0,i.useState)(X(e,t)),2),o=n[0],r=n[1];return{grid:o,newGrid:function(n){var o,i=[];null!=e&&e.isPolycard?i=null===(o=U(e.categories,n))||void 0===o?void 0:o.polycards:i=U(e.categories,n).items;r(H(i,e,t))},reloadGrid:function(e){r(X(e,t))}}};var G=function(){const e=function(e){var t=e.items_per_row,n=e.itemsPerRow,o=e.max_items,r=e.maxItems,a=e.display,s=e.shippingTitle,f=e.categories,h=e.items,m=e.eshopType,v=e.deviceType,g=e.ftNewComponentsV2,w=e.isPolycard,A=e.ComponentCard,C=t||n,_=o||r,x=h.length>0?h.length:f.length>0?f[0].items.length:0,S=W(e,v),N=S.grid,k=S.newGrid,L=S.reloadGrid;(0,i.useEffect)((function(){L(e)}),[_,C,f,h]);var P={action_card:!y.includes(m)},O=l()("grid-container",{"grid-container__items-per-row-one":C<2,"ui-ms-grid-container__eshops":T.includes(m),"ui-ms-grid-container__eshops--seller":"seller"===m}),R=l()({"ui-item-grid__six":x>=6&&5===C,"ui-item-grid__five":x>=5&&4===C,"ui-item-grid__four":x>=4&&3===C}),M=b.includes(m);return i.createElement(j,E({},e,{updateGrid:function(e){k(e)}}),N.map((function(e){return p("div",{className:O},(0,c.A)(),e.map((function(e){var t,n=M&&(null==e?void 0:e.isFakeCard);return(M&&!w||n)&&d.A?p(d.A,{item:e,deviceType:v,seeElements:P,eshopType:m},(0,c.A)()):w&&A?p(A,{polycard:e},null==e||null===(t=e.metadata)||void 0===t?void 0:t.id):i.createElement(u.Y,E({},e,{key:(0,c.A)(),display:a,shippingTitle:s,itemsPerRow:C,ftNewComponentsV2:g,className:R,deviceType:v}))})))})))};return e.defaultProps={display:"original",shippingTitle:"",lazyLoad:"on",withoutTabsCategory:!1,eshopType:"",categories:[],ftNewComponentsV2:!1,isPolycard:!1},e}();var q=function(){const e=function(e){var t=e.action_button,n=e.items_per_row_mobile,o=e.itemsPerRowMobile,a=e.max_items_mobile,s=e.maxItemsMobile,f=e.display,h=e.shippingTitle,m=e.categories,v=e.items,g=e.lazyLoad,w=e.eshopType,A=e.deviceType,C=e.ftNewComponentsV2,_=e.isPolycard,x=e.ComponentCard,S=n||o,N=a||s,k=W(e,A),L=k.grid,P=k.newGrid,O=k.reloadGrid,R={action_card:!y.includes(w)};(0,i.useEffect)((function(){O(e)}),[N,S,m,v]);var M=l()("grid-container",{"ui-ms-grid-container__eshops":T.includes(w),"ui-ms-grid-container__eshops--seller":"seller"===w}),I=b.includes(w);return i.createElement(j,E({},e,{updateGrid:function(e){P(e)}}),L.map((function(e){return p("div",{className:M},(0,c.A)(),e.map((function(e){var t,n=I&&(null==e?void 0:e.isFakeCard);return(I&&!_||n)&&d.A?p(d.A,{item:e,deviceType:A,seeElements:R,eshopType:w},(0,c.A)()):_&&x?p(x,{polycard:e},null==e||null===(t=e.metadata)||void 0===t?void 0:t.id):i.createElement(u.W,E({},e,{key:(0,c.A)(),display:f,lazyLoad:g,"data-testid":"item-component",shippingTitle:h,itemsPerRow:S,ftNewComponentsV2:C,deviceType:A}))})))})),t&&p(r.$n,{id:t.id,className:"grid-recommendations-button",href:t.target},void 0,t.label))};return e.defaultProps={display:"original",shippingTitle:"",lazyLoad:"on",withoutTabsCategory:!1,eshopType:"",categories:[],ftNewComponentsV2:!1,itemsPerRowMobile:0,items_per_row_mobile:0,maxItemsMobile:0,max_items_mobile:0,isPolycard:!1},e}()},16951:(e,t,n)=>{"use strict";n.d(t,{U:()=>Y,e:()=>Ie});var o=n(96540),i=n(58168),r=n(73620),a=n(64467),l=n(46942),s=n.n(l),c=n(81023),u=n(69247);const d="control-arrow";var p=e=>{let{disabled:t=!1,onClick:n}=e;return(0,r.A)("svg",{className:s()(d,t&&"".concat(d,"--disabled")),onClick:t?void 0:n,width:"20",height:"20",viewBox:"0 0 20 20"},void 0,(0,r.A)("g",{fill:"none",fillRule:"evenodd"},void 0,(0,r.A)("path",{fill:"#000",fillOpacity:t?".25":".9",fillRule:"nonzero",d:"M7.833 9.99l4.796-4.795-.849-.849-5.644 5.645 5.65 5.649.848-.849z"})))};const f="control-arrow";var h=e=>{let{disabled:t=!1,onClick:n}=e;return(0,r.A)("svg",{className:s()(f,t&&"".concat(f,"--disabled")),onClick:t?void 0:n,width:"20",height:"20",viewBox:"0 0 20 20"},void 0,(0,r.A)("g",{fill:"none",fillRule:"evenodd"},void 0,(0,r.A)("path",{fill:"#000",fillOpacity:t?".25":".9",fillRule:"nonzero",d:"M7.428 5.195l.849-.849 5.644 5.645-5.65 5.649-.848-.849 4.801-4.8z"})))};const m="andes-tabs",v="andes-tab",g="".concat(m,"__swipeable-content"),b="".concat(g,"-scroll"),y=300,T=e=>{const{selected:t}=e.state;return e.enabledTabsIndexes.indexOf(t)},w=e=>{var t;"function"==typeof(null==e||null===(t=e.props)||void 0===t?void 0:t.onSelect)&&e.props.onSelect()},A=e=>{requestAnimationFrame((()=>{var t;null===(t=e.swipeContainer)||void 0===t||t.setAttribute("style","")}))},C=e=>{e.avoidTouches=!0,requestAnimationFrame((()=>{var t;const n=e.initialTranslate+e.containerWidth;null===(t=e.swipeContainer)||void 0===t||t.setAttribute("style","transition-duration: ".concat(y,"ms; transform: translateX(calc(").concat(n,"px - 1.5em))"))}));const t=T(e)-1,n=e.tabsContent[t];clearTimeout(e.swipeTimeout),e.swipeTimeout=setTimeout((()=>{e.avoidTouches=!1,e.setSelectedTab(e.enabledTabsIndexes[t],(()=>{A(e),n&&w(n)}))}),y)},_=e=>{e.avoidTouches=!0,requestAnimationFrame((()=>{var t;const n=-e.containerWidth+e.initialTranslate;null===(t=e.swipeContainer)||void 0===t||t.setAttribute("style","transition-duration: ".concat(y,"ms; transform: translateX(calc(").concat(n,"px + 1.5em))"))}));const t=T(e)+1,n=e.tabsContent[t];clearTimeout(e.swipeTimeout),e.swipeTimeout=setTimeout((()=>{e.avoidTouches=!1,e.setSelectedTab(e.enabledTabsIndexes[t],(()=>{A(e),n&&w(n)}))}),y)},E=e=>{e.avoidTouches=!0,requestAnimationFrame((()=>{var t;null===(t=e.swipeContainer)||void 0===t||t.setAttribute("style","transition-duration: ".concat(y,"ms; transform: translateX(").concat(e.initialTranslate,"px)"))})),clearTimeout(e.swipeTimeout),e.swipeTimeout=setTimeout((()=>{e.avoidTouches=!1,A(e)}),y)},x=(e,t)=>{var n;t.avoidTouches||(t.initialX=e.touches[0].clientX,t.initialY=e.touches[0].clientY,t.initialTranslate=(e=>{const t=window.getComputedStyle(e.swipeContainer).transform;let n=0;if("string"==typeof t&&t.includes("matrix")){var o;const e=null===(o=t.match(/matrix.*\((.+)\)/))||void 0===o?void 0:o[1].split(", "),i=null==e?void 0:e[4];n=Number(i)}return n})(t),t.containerWidth=(null===(n=t.swipeContainer)||void 0===n||null===(n=n.parentElement)||void 0===n?void 0:n.clientWidth)||0,t.totalTranslate=0,t.currentTouchTranslate=0,t.avoidTouches=!1,t.approvedTouchAngle=!1,t.touchAngleCalculated=!1)},S=(e,t)=>{if(t.avoidTouches)return;const{clientX:n,clientY:o}=e.changedTouches[0];if(!t.touchAngleCalculated){const e=((e,t,n)=>{const o=Math.abs(t-e.initialX),i=Math.abs(n-e.initialY);return Math.atan2(i,o)*(180/Math.PI)})(t,n,o);t.touchAngleCalculated=!0,t.approvedTouchAngle=Boolean(e<=45)}t.approvedTouchAngle&&e.cancelable&&(e.preventDefault(),t.currentTouchTranslate=t.initialX-n,t.totalTranslate=t.currentTouchTranslate-t.initialTranslate,Math.abs(t.currentTouchTranslate)<=t.containerWidth&&requestAnimationFrame((()=>{var e;null===(e=t.swipeContainer)||void 0===e||e.setAttribute("style","transform: translateX(".concat(-t.totalTranslate,"px)"))})))};var N=e=>{let{behavior:t,centered:n,leftAligned:o,fullWidth:i}=e;return t||(i?"fullWidth":n?"centered":o?"leftAligned":void 0)};class k extends o.Component{constructor(e){super(e),(0,a.A)(this,"handleSubcontainerTouchStart",(e=>x(e,this))),(0,a.A)(this,"handleSubcontainerTouchMove",(e=>S(e,this))),(0,a.A)(this,"handleSubcontainerTouchEnd",(()=>(e=>{if(e.avoidTouches)return;const{selected:t}=e.state;if(Math.abs(e.currentTouchTranslate)>e.containerWidth/2)switch(!0){case t===e.enabledTabsIndexes[0]:e.currentTouchTranslate<0?E(e):_(e);break;case t===e.enabledTabsIndexes[e.enabledTabsIndexes.length-1]:e.currentTouchTranslate<0?C(e):E(e);break;default:e.currentTouchTranslate<0?C(e):_(e)}else E(e)})(this))),this.tabsContent=[],this.approvedTouchAngle=!1,this.avoidTouches=!1,this.containerWidth=0,this.currentTouchTranslate=0,this.enabledTabsIndexes=[],this.initialTranslate=0,this.initialX=0,this.initialY=0,this.swipeContainer=void 0,this.swipeTimeout=void 0,this.totalTranslate=0,this.touchAngleCalculated=!1,this.state={selected:e.selected||e.selectedTab||e.defaultSelectedTab||0,showScrollTool:!1,wrapperScroll:0},this.isControlled=void 0!==e.selectedTab,this.setSelectedTab=this.setSelectedTab.bind(this),this.moveScrollToSelectedTab=this.moveScrollToSelectedTab.bind(this),this.onScroll=this.onScroll.bind(this),this.onTabClick=this.onTabClick.bind(this),this.tabRef=this.tabRef.bind(this),this.getScrollTool=this.getScrollTool.bind(this),this.scrollToNextTab=this.scrollToNextTab.bind(this),this.scrollToPreviousTab=this.scrollToPreviousTab.bind(this),this.onMoveFocusTab=this.onMoveFocusTab.bind(this),this.checkScrollToolDisplay=this.checkScrollToolDisplay.bind(this)}componentDidMount(){(e=>{if("undefined"==typeof document)return;const t=document.querySelector(".".concat(b));t&&(e.swipeContainer=t,e.swipeContainer.addEventListener("touchstart",e.handleSubcontainerTouchStart),e.swipeContainer.addEventListener("touchmove",e.handleSubcontainerTouchMove),e.swipeContainer.addEventListener("touchend",e.handleSubcontainerTouchEnd))})(this),window.addEventListener("resize",this.checkScrollToolDisplay),this.wrapper&&this.wrapper.addEventListener("scroll",this.onScroll),this.checkScrollToolDisplay()}UNSAFE_componentWillReceiveProps(e){const{selected:t,selectedTab:n}=this.props;e.selected!==t?this.setSelectedTab(e.selected):e.selectedTab!==n&&this.setSelectedTab(e.selectedTab)}componentDidUpdate(e,t){const{children:n,selected:i,selectedTab:r}=this.props,{selected:a,showScrollTool:l}=this.state,{selected:s,showScrollTool:c}=t;o.Children.count(n)!==o.Children.count(e.children)&&this.setSelectedTab(i||r);(s!==a&&null!=a||c!==l)&&this.selectedTab&&!this.isElementInScrollViewport(this.selectedTab)&&this.moveScrollToSelectedTab()}componentWillUnmount(){var e;window.removeEventListener("resize",this.checkScrollToolDisplay),this.wrapper&&this.wrapper.removeEventListener("scroll",this.onScroll),(e=this).swipeContainer&&(e.swipeContainer.removeEventListener("touchstart",e.handleSubcontainerTouchStart),e.swipeContainer.removeEventListener("touchmove",e.handleSubcontainerTouchMove),e.swipeContainer.removeEventListener("touchend",e.handleSubcontainerTouchEnd))}onTabClick(e,t,n){const{onChange:o}=this.props;if(this.isControlled||this.setSelectedTab(t),"function"==typeof o){const i=e.target;i.value=t,i.id=n,o(e)}}checkScrollToolDisplay(){const e=this.wrapper&&this.wrapper.scrollWidth>this.wrapper.clientWidth||!1;this.setState({showScrollTool:e})}onScroll(e){const t=e.target;if(t&&null!=t&&t.scrollLeft){const{scrollLeft:e}=t;this.setState({wrapperScroll:e})}}getTabs(e){const{id:t,children:n}=this.props,{selected:i}=this.state;return o.Children.map(n,((r,a)=>{var l,c,u,d,p,f,h;const m=(null==r||null===(l=r.props)||void 0===l?void 0:l.id)||"".concat(t,"-tab-").concat(a),v=null==r||null===(c=r.props)||void 0===c?void 0:c.children;return this.tabsContent[a]=(0,o.isValidElement)(v)?(0,o.cloneElement)(v,{tabId:m,disabled:null==r||null===(u=r.props)||void 0===u?void 0:u.disabled,index:a,onSelect:null==r||null===(d=r.props)||void 0===d?void 0:d.onClick,id:v.props.id||"".concat(t,"-tab-content-").concat(a)}):null,this.enabledTabsIndexes=Object.values(this.tabsContent).filter((e=>{var t;return!(null!=e&&null!==(t=e.props)&&void 0!==t&&t.disabled)})).map((e=>{var t;return null==e||null===(t=e.props)||void 0===t?void 0:t.index})),(0,o.isValidElement)(r)&&(0,o.cloneElement)(r,{id:m,title:null==r||null===(p=r.props)||void 0===p?void 0:p.title,className:s()(null==r||null===(f=r.props)||void 0===f?void 0:f.className,{["andes-tab--".concat(e)]:e},{"andes-tab--first":0===a,"andes-tab--last":a===o.Children.count(n)-1}),onMoveFocusTab:this.onMoveFocusTab,onClick:e=>{var t,n;null!=r&&null!==(t=r.props)&&void 0!==t&&t.href||this.onTabClick(e,a,m),null!=r&&null!==(n=r.props)&&void 0!==n&&n.onClick&&r.props.onClick(e,a,m)},tabIndex:a,tabRef:this.tabRef,selected:a===i,tabContentId:this.tabsContent[a]?(null==v||null===(h=v.props)||void 0===h?void 0:h.id)||"".concat(t,"-tab-content-").concat(a):void 0})}))}onMoveFocusTab(e){var t;e.preventDefault();const{wrapper:n}=this,o=null==n||null===(t=n.firstElementChild)||void 0===t?void 0:t.children;if(o){const t=[...o].filter((e=>e&&"false"===e.getAttribute("aria-disabled"))),n=e.target;let i=t.findIndex((e=>e===n));e.code===c.RJ?(i+=1,i>=t.length&&(i=0)):e.code===c.eR&&(i-=1,i<0&&(i=t.length-1)),t[i].focus()}}setSelectedTab(e,t){this.setState({selected:e},t)}getScrollTool(){const{state:{wrapperScroll:e},wrapper:t}=this,n=0===e,o=!t||t.scrollLeft+t.clientWidth>=t.scrollWidth-5;return(0,r.A)("div",{className:"".concat(m,"__scroll-tool")},void 0,(0,r.A)("div",{className:"".concat(m,"__scroll-tool--fade")}),(0,r.A)("div",{className:"".concat(m,"__scroll-tool--controls")},void 0,(0,r.A)(p,{onClick:this.scrollToPreviousTab,disabled:n}),(0,r.A)(h,{onClick:this.scrollToNextTab,disabled:o})))}scrollToNextTab(){const{wrapper:e,getScrollDifference:t}=this;e&&(e.scrollLeft+=t(e))}scrollToPreviousTab(){const{wrapper:e,getScrollDifference:t}=this;e&&(e.scrollLeft-=t(e))}getScrollDifference(e){return e.clientWidth-80}moveScrollToSelectedTab(){var e;const t=null===(e=this.selectedTab)||void 0===e?void 0:e.offsetLeft;this.wrapper&&void 0!==t&&(this.wrapper.scrollLeft=t)}isElementInScrollViewport(e){var t,n;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.7;const i=(null===(t=this.wrapper)||void 0===t?void 0:t.clientWidth)||0,r=(null===(n=this.wrapper)||void 0===n?void 0:n.scrollLeft)||0,a=e.clientWidth,l=e.offsetLeft,s=r,c=s+i,u=l,d=l+a;let p;switch(!0){case us:p=d-s;break;case u>s&&d>s&&d<=c:p=d-u;break;case u<=c&&d>c:p=c-u;break;default:p=0}return!(p&&p<=0)&&(p&&p>=a*o)}getTabsContent(){var e,t;const{swipeable:n=!1}=this.props,{selected:i}=this.state;if(!n)return this.tabsContent[Number(i)];const a=Object.values(this.tabsContent),l=a.filter((e=>{var t;return!(null!=e&&null!==(t=e.props)&&void 0!==t&&t.disabled)})),c=l[0],u=l[l.length-1];let d=0;for(let e=0;e{this.wrapper=e}},(0,r.A)("div",{className:f,role:"tablist","aria-label":u||e},void 0,this.getTabs(p))),d&&this.getScrollTool(),(0,r.A)("div",{className:"".concat(m,"__border")}),this.getTabsContent())}}k.displayName="Tabs";var L=k;var P=function(){const e=(0,o.forwardRef)(((e,t)=>{const n=(0,u.Bi)(e.id);return o.createElement(L,(0,i.A)({},e,{innerRef:t,id:n}))}));return e.displayName="TabsContainer",e}();var O=function(){const e=e=>{let{className:t,disabled:n=!1,href:i,id:a,onClick:l,onMoveFocusTab:u,selected:d=!1,tabContentId:p,tabIndex:f,tabRef:h,title:m}=e;const g=e=>{i||e.preventDefault(),d||n||"function"!=typeof l||l(e)},b=s()(v,t,{["".concat(v,"--selected")]:d,["".concat(v,"--disabled")]:n}),y=i&&!n?"a":"button";return o.createElement(y,{"aria-controls":p,"aria-disabled":n,"aria-selected":d,className:b,disabled:n,href:n?void 0:i||"#",id:a,onClick:g,onKeyDown:e=>{switch(e.code){case c.Fm:case c.t6:g(e);break;case c.eR:case c.RJ:"function"==typeof u&&u(e,f)}},ref:e=>{"function"==typeof h&&h(e,f,d)},role:"tab",tabIndex:d&&!n?0:-1,type:i||n?"button":void 0},(0,r.A)("div",{className:"".concat(v,"__link")},void 0,"string"==typeof m?(0,r.A)("span",{},void 0,m):m))};return e.displayName="Tab",e}();const R=e=>{let{"aria-hidden":t,children:n,className:o,id:i,srHidden:a,tabId:l}=e;return(0,r.A)("div",{"aria-hidden":a||t,"aria-labelledby":l,className:s()("andes-tab-content",o),id:i,role:"tabpanel",tabIndex:0},void 0,n)};R.displayName="TabContent";var M,I=R,D=n(33829),F=n(28188),B=n(89874),j=n(37808),z=n(61056);function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}function H(e){var t=function(e,t){if("object"!=V(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=V(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==V(t)?t:t+""}function U(e,t,n){return(t=H(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function W(e,t,n,o){M||(M="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var i=e&&e.defaultProps,r=arguments.length-3;if(t||0===r||(t={children:void 0}),1===r)t.children=o;else if(r>1){for(var a=Array(r),l=0;le.length)&&(t=e.length);for(var n=0,o=Array(t);n=n.length?h(0):h(f))}),[n]),n.length&&1!==n.length?W("div",{className:u},void 0,W(P,{selectedTab:f,behavior:d},void 0,n.map((function(t,n){return W(O,{onClick:function(){return function(e){h(e),i(e)}(n)},title:t.props.node.properties.label},n,W(I,{},void 0,(0,o.cloneElement)(t,function(e){for(var t=1;t{},isEditable:!1},e}();var $,Y=K;function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t1){for(var a=Array(r),l=0;l{let{color:t="rgba(0, 0, 0, 0.9)",i18n:n,srLabel:o}=e;return J("svg",{"aria-hidden":o?void 0:!o,"aria-label":o||void 0,role:o?"img":void 0,width:"16",height:"16",viewBox:"0 0 16 16",fill:t},void 0,o&&J("title",{},void 0,o),J("path",{d:"M5.95028 4.40041L9.54667 7.9968L5.94653 11.5969L6.79506 12.4455L11.2437 7.9968L6.79881 3.55188L5.95028 4.40041Z",fill:t}))};var ee,te,ne,oe,ie,re,ae,le,se,ce,ue,de,pe,fe,he,me,ve,ge,be,ye,Te,we,Ae={DEVICE_TYPE_MOBILE:"mobile",IMG_SIZE_SMALL:"160",IMG_SIZE_LARGE:"224",FAKE_CONTAINER_PRODUCTS:{desktop:4,mobile:4,tablet:4},MOBILE_MAX_ITEMS_LENGTH:4,EXPLORER_THEME:"explorer",LEGEND_THEME:"legend",POSITION_PREVIOUS_ARROW:"left",POSITION_NEXT_ARROW:"right"},Ce="chevron",_e="arrow",Ee="bold_chevron",xe=function(){return se||(se=W("svg",{width:"12",height:"26",viewBox:"0 0 12 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},void 0,W("path",{d:"M1.64092e-06 12.9998L0.510303 13.6064L10.5576 25.5L12 24.2872L2.46296 13L12 1.71278L10.5576 0.500001L0.510303 12.3936L1.64088e-06 13.0002L1.64092e-06 12.9998Z",fill:"#232732"})))},Se=function(){return ce||(ce=W("svg",{width:"12",height:"26",viewBox:"0 0 12 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},void 0,W("path",{d:"M12 13.0002L11.4897 12.3936L1.44244 0.5L9.00495e-07 1.71278L9.53704 13L-8.93746e-08 24.2872L1.44244 25.5L11.4897 13.6064L12 12.9998L12 13.0002Z",fill:"#232732"})))},Ne=function(){return ue||(ue=W("svg",{width:"18",height:"15",viewBox:"0 0 18 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},void 0,W("path",{d:"M0.260529 8.1173L5.79868 14.47C6.15532 14.9035 6.86015 14.9422 7.2735 14.5648C7.68684 14.1874 7.72865 13.4675 7.34545 13.0584L3.34325 8.47028H16.9615C17.5349 8.47028 18 7.99614 18 7.41144C18 6.82674 17.5352 6.35259 16.9615 6.35259H3.34325L7.34545 1.76448C7.72865 1.35532 7.67698 0.636684 7.26336 0.259304C6.84998 -0.118095 6.15528 -0.0806721 5.79868 0.352855L0.260529 6.70554C-0.101181 7.21908 -0.0722028 7.68019 0.260529 8.11713V8.1173Z",fill:"#737373"}),W("path",{d:"M0.260529 8.1173L5.79868 14.47C6.15532 14.9035 6.86015 14.9422 7.2735 14.5648C7.68684 14.1874 7.72865 13.4675 7.34545 13.0584L3.34325 8.47028H16.9615C17.5349 8.47028 18 7.99614 18 7.41144C18 6.82674 17.5352 6.35259 16.9615 6.35259H3.34325L7.34545 1.76448C7.72865 1.35532 7.67698 0.636684 7.26336 0.259304C6.84998 -0.118095 6.15528 -0.0806721 5.79868 0.352855L0.260529 6.70554C-0.101181 7.21908 -0.0722028 7.68019 0.260529 8.11713V8.1173Z",fill:"#737373"})))},ke=function(){return de||(de=W("svg",{width:"18",height:"15",viewBox:"0 0 18 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},void 0,W("path",{d:"M17.7395 6.8827L12.2013 0.530014C11.8447 0.0964872 11.1399 0.057835 10.7265 0.435234C10.3132 0.812633 10.2713 1.53246 10.6545 1.9416L14.6567 6.52972L1.03853 6.52972C0.465069 6.52972 1.55258e-07 7.00386 1.55258e-07 7.58856C1.55258e-07 8.17326 0.464809 8.64741 1.03853 8.64741L14.6567 8.64741L10.6545 13.2355C10.2713 13.6447 10.323 14.3633 10.7366 14.7407C11.15 15.1181 11.8447 15.0807 12.2013 14.6471L17.7395 8.29446C18.1012 7.78092 18.0722 7.31981 17.7395 6.88287V6.8827Z",fill:"#737373"}),W("path",{d:"M17.7395 6.8827L12.2013 0.530014C11.8447 0.0964872 11.1399 0.057835 10.7265 0.435234C10.3132 0.812633 10.2713 1.53246 10.6545 1.9416L14.6567 6.52972L1.03853 6.52972C0.465069 6.52972 1.55258e-07 7.00386 1.55258e-07 7.58856C1.55258e-07 8.17326 0.464809 8.64741 1.03853 8.64741L14.6567 8.64741L10.6545 13.2355C10.2713 13.6447 10.323 14.3633 10.7366 14.7407C11.15 15.1181 11.8447 15.0807 12.2013 14.6471L17.7395 8.29446C18.1012 7.78092 18.0722 7.31981 17.7395 6.88287V6.8827Z",fill:"#737373"})))},Le=function(){return pe||(pe=W("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},void 0,W("path",{d:"M13.0588 4.9375L10.9375 7.05882L19.8768 15.9982L10.9375 24.9375L13.0588 27.0588L24.1195 15.9982L13.0588 4.9375Z",fill:"#3483FA"})))},Pe=function(){return fe||(fe=W("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},void 0,W("path",{d:"M21.0599 24.9395L12.1206 16.0001L21.0599 7.06077L18.9386 4.93945L7.87793 16.0001L18.9386 27.0608L21.0599 24.9395Z",fill:"#3483FA"})))},Oe=function(e){switch(e){case Ae.EXPLORER_THEME:return{previous:he||(he=W(Ne,{})),next:me||(me=W(ke,{})),previousOffsetX:-32,nextOffsetX:32};case Ae.LEGEND_THEME:return{previous:ve||(ve=W(xe,{})),next:ge||(ge=W(Se,{})),previousOffsetX:-57,nextOffsetX:57};default:return{previous:be||(be=W(Pe,{})),next:ye||(ye=W(Le,{})),previousOffsetX:0,nextOffsetX:0}}},Re="ProductsGallery",Me="ProductsCarousel";var Ie=function(){const e=function(e){var t,n=e.layoutTheme,i=e.deviceType,r=e.variation,a=e.children,l=e.view_more_action,c=e.componentType,u=e.itemsPerRowMobile,d=e.itemsPerRow,p=e.styles,f=void 0===p?{arrow:{background:!1},navigation_pagination:"dots"}:p,h=e.globalConfig,m=e.elements_alignment,v=e.isCustomHtml,g="ui-ms-tab-with-items__view-more-action",b="mobile"===i,y="desktop"===i,T=n===Ae.EXPLORER_THEME,w=n===Ae.LEGEND_THEME,A=b?u:d,C=f.arrow,_=f.navigation_pagination,E=s()("ui-ms-gallery-tab__content grid-container",["ui-ms-gallery-tab__content--variation-".concat(A)],["ui-ms-gallery-tab__content--".concat(a.length,"-children")],{"ui-ms-gallery-tab__content--mobile":b}),x=s()("".concat(g,"--").concat(i),U({},"".concat(g,"--").concat(m),m)),S=function(){return v?Oe(n):C.background?{previousOffsetX:-25,nextOffsetX:25}:{previousOffsetX:-24,nextOffsetX:24}},N=function(e){var t=s()("ui-ms-carousel-pagination",U({},"ui-ms-carousel-pagination--".concat(_),_));return o.createElement(B.i,Z({className:t},e))},k=Me===c,L=Re===c,P=y&&l,O=b&&l,R=s()("ui-ms-products-carousel"),M=v&&k;return W("div",{},void 0,W("div",{className:"ui-ms-products-carousel__show-link--container"},void 0,!(v&&L)&&P&&W(j.$n,{className:x,hierarchy:"transparent",href:l.target},void 0,l.label,!M&&(Te||(Te=W(Q,{}))))),a.length&&(k?o.createElement(F.G,Z({extend:!0,key:(0,D.A)(),variableWidth:!1,srLabel:"products-carousel",pagination:(t=y||"tablet"===i?r:2,!!((null==a?void 0:a.length)>t)&&{custom:{component:N,offsetY:T||w?0:32}}),scroll:b?"visible":"hidden",className:R},function(e){var t=e.CustomArrow;return{desktop:{slidesPerView:r,thresholdSlide:0,spacing:16,arrows:{previous:{component:t,position:Ae.POSITION_PREVIOUS_ARROW,offsetX:S().previousOffsetX},next:{component:t,position:Ae.POSITION_NEXT_ARROW,offsetX:S().nextOffsetX}},visibility:n===Ae.EXPLORER_THEME||n===Ae.LEGEND_THEME},mobile:{slidesPerView:2,thresholdSlide:n===Ae.LEGEND_THEME?20:5,spacing:8,arrows:!1}}}({CustomArrow:function(e){var t,o="ui-ms-products-carousel__control",i=e.type,r=e.disabled,a=s()(o,U(U(U(U(U({},"".concat(o,"--").concat(i),i),"".concat(o,"--").concat(n),n),"".concat(o,"--disabled"),r),"".concat(o,"--background"),C.background),"".concat(o,"--empty"),!C.background));return W(B.Pb,{className:a,type:i},void 0,v?Oe(n)[i]:function(e){switch(e){case _e:return{previous:ee||(ee=W(z.nk,{})),next:te||(te=W(z.Qp,{}))};case Ce:return{previous:ne||(ne=W(z.JG,{})),next:oe||(oe=W(z.c_,{}))};case Ee:return{previous:ie||(ie=W(z.Ey,{})),next:re||(re=W(z.VX,{}))};default:return{previous:ae||(ae=W(z.JG,{})),next:le||(le=W(z.c_,{}))}}}(null==h||null===(t=h.arrow)||void 0===t?void 0:t.icon)[i])},backgroundContentArrow:C.background,layoutTheme:n,variation:r,isCustomHtml:v})[i]),null==a?void 0:a.map((function(e){return W(F.j5,{},(0,D.A)(),e)}))):W("div",{className:E},void 0,a)),O&&W(j.$n,{className:x,hierarchy:"transparent",href:l.target},void 0,l.label,we||(we=W(Q,{}))))};return e.defaultProps={viewMoreAction:null,componentType:"ProductsCarousel",itemsPerRowMobile:2,itemsPerRow:4},e}()},45413:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},41141:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,i)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var r=n(45413),a=n(36957);i(n(36957),t);var l={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},s=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?r.ElementType.Tag:void 0,o=new a.Element(e,t,void 0,n);this.addNode(o),this.tagStack.push(o)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===r.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=s,t.default=s},36957:function(e,t,n){"use strict";var o,i=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=p;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(p);t.CDATA=f;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(p);t.Document=h;var m=function(e){function t(t,n,o,i){void 0===o&&(o=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var r=e.call(this,o)||this;return r.name=t,r.attribs=n,r.type=i,r}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,o;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(o=e["x-attribsPrefix"])||void 0===o?void 0:o[t]}}))},enumerable:!1,configurable:!0}),t}(p);function v(e){return(0,a.isTag)(e)}function g(e){return e.type===a.ElementType.CDATA}function b(e){return e.type===a.ElementType.Text}function y(e){return e.type===a.ElementType.Comment}function T(e){return e.type===a.ElementType.Directive}function w(e){return e.type===a.ElementType.Root}function A(e,t){var n;if(void 0===t&&(t=!1),b(e))n=new c(e.data);else if(y(e))n=new u(e.data);else if(v(e)){var o=t?C(e.children):[],i=new m(e.name,r({},e.attribs),o);o.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=r({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=r({},e["x-attribsPrefix"])),n=i}else if(g(e)){o=t?C(e.children):[];var a=new f(o);o.forEach((function(e){return e.parent=a})),n=a}else if(w(e)){o=t?C(e.children):[];var l=new h(o);o.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else{if(!T(e))throw new Error("Not implemented yet: ".concat(e.type));var s=new d(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),n=s}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function C(e){for(var t=e.map((function(e){return A(e,!0)})),n=1;n{t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]},65496:e=>{var t="html",n="head",o="body",i=/<([a-zA-Z]+[0-9]?)/,r=//i,a=//i,l=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},s=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"==typeof window&&window.DOMParser;if("function"==typeof c){var u=new c;l=s=function(e,t){return t&&(e="<"+t+">"+e+""),u.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var d=document.implementation.createHTMLDocument();l=function(e,t){return t?(d.documentElement.querySelector(t).innerHTML=e,d):(d.documentElement.innerHTML=e,d)}}var p,f="object"==typeof document?document.createElement("template"):{};f.content&&(p=function(e){return f.innerHTML=e,f.content.childNodes}),e.exports=function(e){var c,u,d,f,h=e.match(i);switch(h&&h[1]&&(c=h[1].toLowerCase()),c){case t:return u=s(e),r.test(e)||(d=u.querySelector(n))&&d.parentNode.removeChild(d),a.test(e)||(d=u.querySelector(o))&&d.parentNode.removeChild(d),u.querySelectorAll(t);case n:case o:return f=(u=l(e)).querySelectorAll(c),a.test(e)&&r.test(e)?f[0].parentNode.childNodes:f;default:return p?p(e):(d=l(e,o).querySelector(o)).childNodes}}},92471:(e,t,n)=>{var o=n(65496),i=n(67731).formatDOM,r=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(r);return n&&n[1]&&(t=n[1]),i(o(e),null,t)}},67731:(e,t,n)=>{for(var o,i=n(41141),r=n(15270).CASE_SENSITIVE_TAG_NAMES,a=i.Comment,l=i.Element,s=i.ProcessingInstruction,c=i.Text,u={},d=0,p=r.length;d{var o=n(41141),i=n(92471),r=n(20840),a=n(10308);i="function"==typeof i.default?i.default:i;var l={lowerCaseAttributeNames:!1};function s(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:a(i(e,(t=t||{}).htmlparser2||l),t)}s.domToReact=a,s.htmlToDOM=i,s.attributesToProps=r,s.Comment=o.Comment,s.Element=o.Element,s.ProcessingInstruction=o.ProcessingInstruction,s.Text=o.Text,e.exports=s,s.default=s},20840:(e,t,n)=>{var o=n(14210),i=n(74958),r=["checked","value"],a=["input","select","textarea"],l={reset:!0,submit:!0};function s(e){return o.possibleStandardNames[e]}e.exports=function(e,t){var n,c,u,d,p,f={},h=(e=e||{}).type&&l[e.type];for(n in e)if(u=e[n],o.isCustomAttribute(n))f[n]=u;else if(d=s(c=n.toLowerCase()))switch(p=o.getPropertyInfo(d),-1===r.indexOf(d)||-1===a.indexOf(t)||h||(d=s("default"+c)),f[d]=u,p&&p.type){case o.BOOLEAN:f[d]=!0;break;case o.OVERLOADED_BOOLEAN:""===u&&(f[d]=!0)}else i.PRESERVE_CUSTOM_ATTRIBUTES&&(f[n]=u);return i.setStyleProp(e.style,f),f}},10308:(e,t,n)=>{var o=n(96540),i=n(20840),r=n(74958),a=r.setStyleProp,l=r.canTextBeChildOfNode;function s(e){return r.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&r.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,n){for(var r,c,u,d,p,f=(n=n||{}).library||o,h=f.cloneElement,m=f.createElement,v=f.isValidElement,g=[],b="function"==typeof n.replace,y=n.trim,T=0,w=t.length;T1&&(u=h(u,{key:u.key||T})),g.push(u);else if("text"!==r.type){switch(d=r.attribs,s(r)?a(d.style,d):d&&(d=i(d,r.name)),p=null,r.type){case"script":case"style":r.children[0]&&(d.dangerouslySetInnerHTML={__html:r.children[0].data});break;case"tag":"textarea"===r.name&&r.children[0]?d.defaultValue=r.children[0].data:r.children&&r.children.length&&(p=e(r.children,n));break;default:continue}w>1&&(d.key=T),g.push(m(r.name,d,p))}else{if((c=!r.data.trim().length)&&r.parent&&!l(r.parent))continue;if(y&&c)continue;g.push(r.data)}return 1===g.length?g[0]:g}},74958:(e,t,n)=>{var o=n(96540),i=n(35229).default;var r={reactCompat:!0};var a=o.version.split(".")[0]>=16,l=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,o,i="function"==typeof t,r={},a={};for(n in e)o=e[n],i&&(r=t(n,o))&&2===r.length?a[r[0]]=r[1]:"string"==typeof o&&(a[o]=n);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=i(e,r)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!l.has(e.name)},elementsWithNoTextChildren:l}},19788:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,o=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(s,c):c}e.exports=function(e,s){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];s=s||{};var d=1,p=1;function f(e){var t=e.match(n);t&&(d+=t.length);var o=e.lastIndexOf("\n");p=~o?e.length-o:p+e.length}function h(){var e={line:d,column:p};return function(t){return t.position=new m(e),y(),t}}function m(e){this.start=e,this.end={line:d,column:p},this.source=s.source}m.prototype.content=e;var v=[];function g(t){var n=new Error(s.source+":"+d+":"+p+": "+t);if(n.reason=t,n.filename=s.source,n.line=d,n.column=p,n.source=e,!s.silent)throw n;v.push(n)}function b(t){var n=t.exec(e);if(n){var o=n[0];return f(o),e=e.slice(o.length),n}}function y(){b(o)}function T(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return g("End of comment missing");var o=e.slice(2,n-2);return p+=2,f(o),e=e.slice(n),p+=2,t({type:"comment",comment:o})}}function A(){var e=h(),n=b(i);if(n){if(w(),!b(r))return g("property missing ':'");var o=b(a),s=e({type:"declaration",property:u(n[0].replace(t,c)),value:o?u(o[0].replace(t,c)):c});return b(l),s}}return y(),function(){var e,t=[];for(T(t);e=A();)!1!==e&&(t.push(e),T(t));return t}()}},54036:(e,t,n)=>{e.exports=n(65890)},24386:(e,t,n)=>{e.exports=n(97505)},24582:(e,t,n)=>{e.exports=n(28635)},14210:(e,t,n)=>{"use strict";function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n{t.SAME=0;t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},35229:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var i=o(n(9108)),r=n(98917);t.default=function(e,t){var n={};return e&&"string"==typeof e?((0,i.default)(e,(function(e,o){e&&o&&(n[(0,r.camelCase)(e,t)]=o)})),n):n}},98917:(e,t)=>{"use strict";t.__esModule=!0,t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,o=/-([a-z])/g,i=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||i.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,s):e.replace(r,s)).replace(o,l))}},9108:(e,t,n)=>{var o=n(19788);function i(e,t){var n,i=null;if(!e||"string"!=typeof e)return i;for(var r,a,l=o(e),s="function"==typeof t,c=0,u=l.length;c{"use strict";var o=n(46518),i=n(96395),r=n(80550),a=n(79039),l=n(97751),s=n(94901),c=n(2293),u=n(93438),d=n(36840),p=r&&r.prototype;if(o({target:"Promise",proto:!0,real:!0,forced:!!r&&a((function(){p.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,l("Promise")),n=s(e);return this.then(n?function(n){return u(t,e()).then((function(){return n}))}:e,n?function(n){return u(t,e()).then((function(){throw n}))}:e)}}),!i&&s(r)){var f=l("Promise").prototype.finally;p.finally!==f&&d(p,"finally",f,{unsafe:!0})}},25440:(e,t,n)=>{"use strict";var o=n(18745),i=n(69565),r=n(79504),a=n(89228),l=n(79039),s=n(28551),c=n(94901),u=n(64117),d=n(91291),p=n(18014),f=n(655),h=n(67750),m=n(57829),v=n(55966),g=n(2478),b=n(56682),y=n(78227)("replace"),T=Math.max,w=Math.min,A=r([].concat),C=r([].push),_=r("".indexOf),E=r("".slice),x="$0"==="a".replace(/./,"$0"),S=!!/./[y]&&""===/./[y]("a","$0");a("replace",(function(e,t,n){var r=S?"$":"$0";return[function(e,n){var o=h(this),r=u(e)?void 0:v(e,y);return r?i(r,e,o,n):i(t,f(o),e,n)},function(e,i){var a=s(this),l=f(e);if("string"==typeof i&&-1===_(i,r)&&-1===_(i,"$<")){var u=n(t,a,l,i);if(u.done)return u.value}var h=c(i);h||(i=f(i));var v,y=a.global;y&&(v=a.unicode,a.lastIndex=0);for(var x,S=[];null!==(x=b(a,l))&&(C(S,x),y);){""===f(x[0])&&(a.lastIndex=m(l,p(a.lastIndex),v))}for(var N,k="",L=0,P=0;P=L&&(k+=E(l,L,M)+O,L=M+R.length)}return k+E(l,L)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!x||S)},89463:(e,t,n)=>{"use strict";var o=n(46518),i=n(43724),r=n(44576),a=n(79504),l=n(39297),s=n(94901),c=n(1625),u=n(655),d=n(62106),p=n(77740),f=r.Symbol,h=f&&f.prototype;if(i&&s(f)&&(!("description"in h)||void 0!==f().description)){var m={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=c(h,this)?new f(e):void 0===e?f():f(e);return""===e&&(m[t]=!0),t};p(v,f),v.prototype=h,h.constructor=v;var g="Symbol(description detection)"===String(f("description detection")),b=a(h.valueOf),y=a(h.toString),T=/^Symbol\((.*)\)[^)]+$/,w=a("".replace),A=a("".slice);d(h,"description",{configurable:!0,get:function(){var e=b(this);if(l(m,e))return"";var t=y(e),n=g?A(t,7,-1):w(t,T,"$1");return""===n?void 0:n}}),o({global:!0,constructor:!0,forced:!0},{Symbol:v})}},25232:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i});var o=n(86614);o.domToReact,o.htmlToDOM,o.attributesToProps,o.Comment,o.Element,o.ProcessingInstruction,o.Text;const i=o}}]); //# sourceMappingURL=7840.0dc7b281.js.map