@ilo-org/react 0.24.0 → 0.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/lib/cjs/_store/Breadcrumb-chunk-BFveDqpn.js +1 -0
  2. package/lib/cjs/_store/{Breadcrumb-entry-BroW68u4.js → Breadcrumb-entry-Cf-EAu2Z.js} +1 -1
  3. package/lib/cjs/_store/{Button-chunk-B65FgSLG.js → Button-chunk-BPxitLjn.js} +1 -1
  4. package/lib/cjs/_store/{Button-entry-Ddk5OCD-.js → Button-entry-C7Z6wido.js} +1 -1
  5. package/lib/cjs/_store/{Callout-chunk-CS-b8vev.js → Callout-chunk-Cmnm5uzu.js} +1 -1
  6. package/lib/cjs/_store/{Callout-entry-Ddp2XRRc.js → Callout-entry-CE3NvW4J.js} +1 -1
  7. package/lib/cjs/_store/{Cards-entry-D_M0rUf1.js → Cards-entry-obHzo6Lq.js} +1 -1
  8. package/lib/cjs/_store/{Checkbox-chunk-C0TreicR.js → Checkbox-chunk-CDFIXTn9.js} +1 -1
  9. package/lib/cjs/_store/{Checkbox-entry-DSo6zQ9X.js → Checkbox-entry-DNbcaLP7.js} +1 -1
  10. package/lib/cjs/_store/{DatePicker-chunk-Dl0GaODr.js → DatePicker-chunk-DouvjE3X.js} +1 -1
  11. package/lib/cjs/_store/{DatePicker-entry-D0ZGNOBa.js → DatePicker-entry-Ci2NFgfR.js} +1 -1
  12. package/lib/cjs/_store/{Dropdown-chunk-DyCHTZMD.js → Dropdown-chunk-BjeJjYZD.js} +1 -1
  13. package/lib/cjs/_store/{Dropdown-entry-BaMzO6Kv.js → Dropdown-entry-BpdKN773.js} +1 -1
  14. package/lib/cjs/_store/Fieldset-chunk-Dykzn_3y.js +1 -0
  15. package/lib/cjs/_store/{Fieldset-entry-BXHX9lh2.js → Fieldset-entry-CgUV-ElS.js} +1 -1
  16. package/lib/cjs/_store/{FileUpload-chunk-DASUCDJs.js → FileUpload-chunk-CC1oePLc.js} +1 -1
  17. package/lib/cjs/_store/{FileUpload-entry-DohgXShA.js → FileUpload-entry-DwKrIcA0.js} +1 -1
  18. package/lib/cjs/_store/{Footer-chunk-BUjFj4bf.js → Footer-chunk-CGR-tiim.js} +1 -1
  19. package/lib/cjs/_store/{Footer-entry-D55F4ET9.js → Footer-entry-BTlHhSKi.js} +1 -1
  20. package/lib/cjs/_store/Form-chunk-Bhz_CsMf.js +1 -0
  21. package/lib/cjs/_store/{Form-entry-BAkn3BkW.js → Form-entry-DkAB5Wzc.js} +1 -1
  22. package/lib/cjs/_store/FormControl-chunk-Bv623HDr.js +1 -0
  23. package/lib/cjs/_store/{FormControl-entry-B3EdY4s4.js → FormControl-entry-Bu1yj8yC.js} +1 -1
  24. package/lib/cjs/_store/{Hero-chunk-Blm775AV.js → Hero-chunk-BgeQPg_6.js} +1 -1
  25. package/lib/cjs/_store/{Hero-entry-Dym2gQ5h.js → Hero-entry-BDFK6TqZ.js} +1 -1
  26. package/lib/cjs/_store/{Input-chunk-sjstsyZQ.js → Input-chunk-DUdxvEKw.js} +1 -1
  27. package/lib/cjs/_store/{Input-entry-CHQay_-X.js → Input-entry-C3vOeYic.js} +1 -1
  28. package/lib/cjs/_store/Link-chunk-BcVWiDXw.js +1 -0
  29. package/lib/cjs/_store/{Link-entry-Ds4pg91u.js → Link-entry-70094UjI.js} +1 -1
  30. package/lib/cjs/_store/{Notification-chunk-DkfLXJhu.js → Notification-chunk-BDC2i-2V.js} +1 -1
  31. package/lib/cjs/_store/{Notification-entry-D9KwV5qV.js → Notification-entry-BQ1Dbfgd.js} +1 -1
  32. package/lib/cjs/_store/{NumberPicker-chunk-BuYxdQBu.js → NumberPicker-chunk-kaW8wv3h.js} +1 -1
  33. package/lib/cjs/_store/{NumberPicker-entry-CP8qKRH4.js → NumberPicker-entry-CwXGzUsE.js} +1 -1
  34. package/lib/cjs/_store/Pagination-chunk-D3Ve2ASf.js +1 -0
  35. package/lib/cjs/_store/{Pagination-entry-578nR00W.js → Pagination-entry-B-PLD6Os.js} +1 -1
  36. package/lib/cjs/_store/{Radio-chunk-U-ZyTPH7.js → Radio-chunk-DoLctty-.js} +1 -1
  37. package/lib/cjs/_store/{Radio-entry-hNkJLhk7.js → Radio-entry-rG2UfQcr.js} +1 -1
  38. package/lib/cjs/_store/{ReadMore-chunk-D36Ibsoy.js → ReadMore-chunk-Cz3Dc9Cz.js} +1 -1
  39. package/lib/cjs/_store/{ReadMore-entry-o6NAV4k0.js → ReadMore-entry-DoeHMibd.js} +1 -1
  40. package/lib/cjs/_store/RichText-chunk-CLfo33Pr.js +1 -0
  41. package/lib/cjs/_store/{RichText-entry-BAqZEwbl.js → RichText-entry-BMEaokVO.js} +1 -1
  42. package/lib/cjs/_store/ScoreCard-chunk-B9OFfe4F.js +1 -0
  43. package/lib/cjs/_store/{SearchField-chunk-CUGa67lu.js → SearchField-chunk-BuB-C9aK.js} +1 -1
  44. package/lib/cjs/_store/{SearchField-entry-Bo7Zww4C.js → SearchField-entry-CZ0XwZwr.js} +1 -1
  45. package/lib/cjs/_store/{TextInput-entry-kwL7qsH7.js → TextInput-entry-D5kHzQCt.js} +1 -1
  46. package/lib/cjs/_store/{TextInput.args-chunk-DIxsZT_y.js → TextInput.args-chunk-Bs7YIRuJ.js} +1 -1
  47. package/lib/cjs/_store/{Textarea-chunk-Gr_D4IfG.js → Textarea-chunk-XYsrIeDn.js} +1 -1
  48. package/lib/cjs/_store/{Textarea-entry-ChgzYZSz.js → Textarea-entry-rsUP7-OD.js} +1 -1
  49. package/lib/cjs/_store/{Toggle-entry-BuFM2YXY.js → Toggle-entry-CrF6OlKl.js} +1 -1
  50. package/lib/cjs/_store/{Tooltip-chunk-Dk0E60Nc.js → Tooltip-chunk-CQu5vz01.js} +1 -1
  51. package/lib/cjs/_store/{Tooltip-entry-D5w7X3z_.js → Tooltip-entry-B52nIoTe.js} +1 -1
  52. package/lib/cjs/_store/{components-entry-SC5Q2qUz.js → components-entry-BV3j4LPg.js} +1 -1
  53. package/lib/cjs/index.js +1 -1
  54. package/lib/esm/_store/Breadcrumb-chunk-DjN2sOwo.js +132 -0
  55. package/lib/esm/_store/Breadcrumb-entry-BdsMn8X1.js +4 -0
  56. package/lib/esm/_store/{Button-chunk-DG7cL6tj.js → Button-chunk-3RMfjmYT.js} +1 -1
  57. package/lib/esm/_store/Button-entry-BMva-FAn.js +4 -0
  58. package/lib/esm/_store/{Callout-chunk-D3zivwvj.js → Callout-chunk-Com68klk.js} +1 -1
  59. package/lib/esm/_store/Callout-entry-Cy0_T9cE.js +4 -0
  60. package/lib/esm/_store/{Cards-entry-BsTiPrJs.js → Cards-entry-BsJZAO89.js} +1 -1
  61. package/lib/esm/_store/{Checkbox-chunk-OsF35mGH.js → Checkbox-chunk-lwnCSzbU.js} +2 -2
  62. package/lib/esm/_store/{Checkbox-entry-fyDheYn3.js → Checkbox-entry-iDYW3mII.js} +1 -1
  63. package/lib/esm/_store/{DatePicker-chunk-BUOrwC0Y.js → DatePicker-chunk-Dh48mMAP.js} +1 -1
  64. package/lib/esm/_store/DatePicker-entry-DA2mnr5y.js +4 -0
  65. package/lib/esm/_store/{Dropdown-chunk-fpN7RweM.js → Dropdown-chunk-DaOJI8GU.js} +1 -1
  66. package/lib/esm/_store/Dropdown-entry-yIppvxFB.js +4 -0
  67. package/lib/esm/_store/Fieldset-chunk-JT4tXIzJ.js +61 -0
  68. package/lib/esm/_store/Fieldset-entry-BU1iTqO6.js +4 -0
  69. package/lib/esm/_store/{FileUpload-chunk-Dw6vDrtN.js → FileUpload-chunk-Cfr5vOip.js} +1 -1
  70. package/lib/esm/_store/FileUpload-entry-B_cQHX8H.js +4 -0
  71. package/lib/esm/_store/{Footer-chunk-BI6r73Bm.js → Footer-chunk-DcFDdukr.js} +1 -1
  72. package/lib/esm/_store/Footer-entry-DR2tq2kQ.js +4 -0
  73. package/lib/esm/_store/Form-chunk-BUqXdVaD.js +14 -0
  74. package/lib/esm/_store/{Form-entry-z2FiIQ-u.js → Form-entry-D0WjXxpC.js} +1 -1
  75. package/lib/esm/_store/FormControl-chunk-CJhnDujX.js +81 -0
  76. package/lib/esm/_store/FormControl-entry-ShYwA_1H.js +4 -0
  77. package/lib/esm/_store/{Hero-chunk-CqARzKwt.js → Hero-chunk-rnL21UKu.js} +2 -2
  78. package/lib/esm/_store/Hero-entry-prlmncq4.js +4 -0
  79. package/lib/esm/_store/{Input-chunk-CCDILCqo.js → Input-chunk-XCiBTjUt.js} +1 -1
  80. package/lib/esm/_store/Input-entry-hEad-fr1.js +4 -0
  81. package/lib/esm/_store/Link-chunk-5QxYwhDk.js +34 -0
  82. package/lib/esm/_store/Link-entry-B7IbEhwb.js +4 -0
  83. package/lib/esm/_store/{Notification-chunk-CQvSf6dK.js → Notification-chunk-BHNEwEo8.js} +1 -1
  84. package/lib/esm/_store/Notification-entry-cjXsm4yI.js +4 -0
  85. package/lib/esm/_store/{NumberPicker-chunk-CaNDffBy.js → NumberPicker-chunk-j6uKlj6R.js} +1 -1
  86. package/lib/esm/_store/NumberPicker-entry-DLV6zbka.js +4 -0
  87. package/lib/esm/_store/{Pagination-chunk-B5541Ksz.js → Pagination-chunk-CRESCE8P.js} +37 -38
  88. package/lib/esm/_store/Pagination-entry-DDD4AfVJ.js +4 -0
  89. package/lib/esm/_store/{Radio-chunk-DE_LEr18.js → Radio-chunk-6JgiY5AT.js} +2 -2
  90. package/lib/esm/_store/{Radio-entry-g1635wr3.js → Radio-entry-CEkjEsjC.js} +1 -1
  91. package/lib/esm/_store/{ReadMore-chunk-pjNnS8Ji.js → ReadMore-chunk-CyCJMFw8.js} +1 -1
  92. package/lib/esm/_store/ReadMore-entry-D7Qpu2o4.js +4 -0
  93. package/lib/esm/_store/RichText-chunk-BWOoOlCR.js +20 -0
  94. package/lib/esm/_store/RichText-entry-BjufLWsb.js +4 -0
  95. package/lib/esm/_store/ScoreCard-chunk-BzQ8y5d7.js +491 -0
  96. package/lib/esm/_store/{SearchField-chunk-C1BKjgFA.js → SearchField-chunk-C7r7Ectd.js} +1 -1
  97. package/lib/esm/_store/SearchField-entry-MVIyW8fs.js +4 -0
  98. package/lib/esm/_store/TextInput-entry-CpSwj1ey.js +5 -0
  99. package/lib/esm/_store/{TextInput.args-chunk-gw5WCsYI.js → TextInput.args-chunk-DCwrQ9lS.js} +1 -1
  100. package/lib/esm/_store/{Textarea-chunk-BjZncFjh.js → Textarea-chunk-CEAOC4yE.js} +1 -1
  101. package/lib/esm/_store/{Textarea-entry-DVlbgKTT.js → Textarea-entry-Bh6ZxG82.js} +1 -1
  102. package/lib/esm/_store/{Toggle-entry-RwBHvx2w.js → Toggle-entry-BdxawvoW.js} +1 -1
  103. package/lib/esm/_store/{Tooltip-chunk-BIPZucx0.js → Tooltip-chunk-CC5huzaB.js} +49 -50
  104. package/lib/esm/_store/Tooltip-entry-DyEW_ai7.js +4 -0
  105. package/lib/esm/_store/{components-entry-DmqFkNrv.js → components-entry-C3_1dWKW.js} +23 -23
  106. package/lib/esm/index.js +23 -23
  107. package/lib/styles/components/breadcrumb.css +1 -1
  108. package/lib/styles/components/card.css +1 -1
  109. package/lib/styles/components/datacard.css +1 -1
  110. package/lib/styles/components/detailcard.css +1 -1
  111. package/lib/styles/components/featurecard.css +1 -1
  112. package/lib/styles/components/fieldset.css +1 -1
  113. package/lib/styles/components/form.css +1 -1
  114. package/lib/styles/components/formcontrol.css +1 -1
  115. package/lib/styles/components/link.css +1 -1
  116. package/lib/styles/components/multilinkcard.css +1 -1
  117. package/lib/styles/components/pagination.css +1 -1
  118. package/lib/styles/components/richtext.css +1 -1
  119. package/lib/styles/components/table.css +1 -1
  120. package/lib/styles/global.css +1 -1
  121. package/lib/styles/global.css.map +1 -1
  122. package/lib/styles/index.css +2 -2
  123. package/lib/styles/index.css.map +1 -1
  124. package/lib/styles/monorepo.css +2 -2
  125. package/lib/styles/monorepo.css.map +1 -1
  126. package/lib/types/components/Breadcrumb/Breadcrumb.d.ts +5 -0
  127. package/lib/types/components/Fieldset/Fieldset.props.d.ts +4 -0
  128. package/lib/types/components/Form/Form.d.ts +5 -0
  129. package/lib/types/components/Form/Form.props.d.ts +1 -1
  130. package/lib/types/components/FormControl/FormControl.props.d.ts +5 -0
  131. package/lib/types/components/Link/Link.d.ts +3 -3
  132. package/lib/types/components/Pagination/Pagination.props.d.ts +4 -0
  133. package/lib/types/components/RichText/RichText.props.d.ts +7 -0
  134. package/lib/types/types/index.d.ts +0 -1
  135. package/package.json +4 -4
  136. package/lib/cjs/_store/Breadcrumb-chunk-BV3TmRn5.js +0 -1
  137. package/lib/cjs/_store/Fieldset-chunk-ChX_vSBT.js +0 -1
  138. package/lib/cjs/_store/Form-chunk-BJA6abAs.js +0 -1
  139. package/lib/cjs/_store/FormControl-chunk-CTRPINwt.js +0 -1
  140. package/lib/cjs/_store/Link-chunk-DuZiglb_.js +0 -1
  141. package/lib/cjs/_store/Pagination-chunk-DYcRUXLg.js +0 -1
  142. package/lib/cjs/_store/RichText-chunk-B8HoKl_2.js +0 -1
  143. package/lib/cjs/_store/ScoreCard-chunk-CdqvfjmP.js +0 -1
  144. package/lib/esm/_store/Breadcrumb-chunk-DxH8m_ti.js +0 -126
  145. package/lib/esm/_store/Breadcrumb-entry-DCWVKCJk.js +0 -4
  146. package/lib/esm/_store/Button-entry-BYzboMV8.js +0 -4
  147. package/lib/esm/_store/Callout-entry-B0N_qxJ-.js +0 -4
  148. package/lib/esm/_store/DatePicker-entry-iTkl-QSl.js +0 -4
  149. package/lib/esm/_store/Dropdown-entry-cEgUhErA.js +0 -4
  150. package/lib/esm/_store/Fieldset-chunk-BYqbIcGY.js +0 -57
  151. package/lib/esm/_store/Fieldset-entry-BuAubc6Z.js +0 -4
  152. package/lib/esm/_store/FileUpload-entry-BS-_F8ZK.js +0 -4
  153. package/lib/esm/_store/Footer-entry-Db7ByESM.js +0 -4
  154. package/lib/esm/_store/Form-chunk-CnI3CSpO.js +0 -13
  155. package/lib/esm/_store/FormControl-chunk-k6iX88xc.js +0 -77
  156. package/lib/esm/_store/FormControl-entry-DxxbHspw.js +0 -4
  157. package/lib/esm/_store/Hero-entry-xdofG0qk.js +0 -4
  158. package/lib/esm/_store/Input-entry-DZN_IP5o.js +0 -4
  159. package/lib/esm/_store/Link-chunk-DNHgQ3lF.js +0 -33
  160. package/lib/esm/_store/Link-entry-sY9wid1q.js +0 -4
  161. package/lib/esm/_store/Notification-entry-D9sUbaSJ.js +0 -4
  162. package/lib/esm/_store/NumberPicker-entry-gJSmumaB.js +0 -4
  163. package/lib/esm/_store/Pagination-entry-CTafIaXw.js +0 -4
  164. package/lib/esm/_store/ReadMore-entry-Be7_PncI.js +0 -4
  165. package/lib/esm/_store/RichText-chunk-BQLMR58V.js +0 -18
  166. package/lib/esm/_store/RichText-entry-B5WFlH5n.js +0 -4
  167. package/lib/esm/_store/ScoreCard-chunk-T3fANZpV.js +0 -480
  168. package/lib/esm/_store/SearchField-entry-HNmMCvOI.js +0 -4
  169. package/lib/esm/_store/TextInput-entry-C1VYOhZw.js +0 -5
  170. package/lib/esm/_store/Tooltip-entry-BdZs-1tq.js +0 -4
@@ -0,0 +1 @@
1
+ "use strict";const t=require("react/jsx-runtime"),r=require("react"),x=require("./index-chunk-D921N0ug.js"),p=require("./useGlobalSettings-chunk-DEacV16j.js"),E=require("./ContextMenu-chunk-LNOPuIui.js"),S=({component:o,componentProps:c,first:i,label:l,url:b})=>{const{prefix:e}=p.useGlobalSettings(),n=t.jsx("span",{className:`${e}--breadcrumb--link--label`,children:l}),u={href:b,className:`${e}--breadcrumb--link`,"aria-label":l};return o?t.jsx(o,{...u,...c,children:!i&&n}):t.jsx("a",{...u,children:!i&&n})},R=r.forwardRef(({url:o,label:c,className:i,first:l,...b},e)=>{const{prefix:n}=p.useGlobalSettings();return t.jsx("li",{className:x.classnames({[`${n}--breadcrumb--item`]:!0,[`${n}--breadcrumb--item__first`]:l,className:i}),ref:e,children:t.jsx(S,{label:c,url:o,first:l,...b})})}),y=r.forwardRef(({className:o,links:c,buttonLabel:i,theme:l="light"},b)=>{const{prefix:e}=p.useGlobalSettings(),n=r.useId(),[u,C]=r.useState(!1),[B,M]=r.useState(!1),g=r.useRef(0),m=r.useRef(null),a=r.useRef(null),w=r.useRef(null),q=x.classnames(`${e}--breadcrumb`,o,{[`${e}--breadcrumb__theme__${l}`]:l});if(r.useEffect(()=>{g.current=w.current.offsetWidth},[]),r.useEffect(()=>{function s(d){m.current&&a.current&&!m.current.contains(d.target)&&!a.current.contains(d.target)&&C(!1)}const $=new ResizeObserver(d=>{const j=d.at(0),f=g.current>=j.contentRect.width/1.5;M(v=>v!==f?f:v)});return document.addEventListener("mousedown",s),$.observe(document.body),()=>{document.removeEventListener("mousedown",s),$.disconnect()}},[n,e]),r.useEffect(()=>{if(!(!m.current||!a.current)&&u){const s=m.current.getBoundingClientRect(),d=a.current.firstChild.getBoundingClientRect(),j=s.left+s.width/2-d.width/2-5,f=s.bottom+16;a.current.style.left=`${j}px`,a.current.style.top=`${f}px`}},[u]),c.length<2)throw new Error(`Breadcrumb component requires at least two links, but received ${c.length}`);const N=c.at(0),h=c.slice(1,-1),_=c.at(-1);return t.jsxs("nav",{className:q,ref:b,children:[t.jsx("div",{className:`${e}--breadcrumb--inner`,children:t.jsxs("ol",{className:`${e}--breadcrumb--items`,id:`${e}--breadcrumb--items-${n}`,ref:w,children:[t.jsx(R,{first:!0,url:N.url,label:N.label}),h.length>0&&t.jsxs("li",{className:x.classnames(`${e}--breadcrumb--context`,{[`${e}--breadcrumb--context__collapse`]:B}),children:[t.jsx("ol",{className:`${e}--breadcrumb--items`,children:h.map(s=>t.jsx(R,{url:s.url,label:s.label},`${s.label}-${s.url}`))}),t.jsx("button",{onClick:()=>C(!u),"aria-label":i,"aria-expanded":u,"aria-controls":`${e}--breadcrumb--menu-${n}`,className:`${e}--breadcrumb--context--button`,ref:m})]}),t.jsx(R,{url:_.url,label:_.label})]})}),t.jsx("div",{className:x.classnames(`${e}--breadcrumb--context--menu`,{[`${e}--breadcrumb--context--menu__visible`]:u}),id:`${e}--breadcrumb--menu-${n}`,ref:a,children:t.jsx(E.ContextMenu,{links:h})})]})});exports.Breadcrumb=y;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Breadcrumb-chunk-BV3TmRn5.js");exports.Breadcrumb=e.Breadcrumb;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Breadcrumb-chunk-BFveDqpn.js");exports.Breadcrumb=e.Breadcrumb;
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),g=require("react"),p=require("./index-chunk-D921N0ug.js"),d=require("./useGlobalSettings-chunk-DEacV16j.js"),I=require("./Link-chunk-DuZiglb_.js"),b=require("./Icon-chunk-QFryHTpy.js"),N=g.forwardRef(({children:a,className:$,disabled:x=!1,icon:t,size:n="large",type:o="primary",style:u,name:_,link:r,iconPosition:f="left",icononly:l=!1,submit:m=!1,...j},c)=>{const{prefix:q}=d.useGlobalSettings(),s=`${q}--button`,i=p.classnames($,{[s]:!0,[`${s}__${n}`]:n,[`${s}__${o}`]:o,[`${s}--icon ${s}--icon--position__${f}`]:t&&!l,[`${s}--icon ${s}--icon--only`]:t&&l});return r?e.jsxs(I.Link,{ref:c,className:i,target:r.target,url:r.url,label:r.label,style:u,children:[t&&e.jsx(b.Icon,{...t}),a]}):e.jsxs("button",{ref:c,className:i,disabled:x,style:u,name:_,...j,type:m?"submit":"button",children:[t&&e.jsx(b.Icon,{...t}),e.jsx("span",{className:"button__label",children:a})]})});exports.Button=N;
1
+ "use strict";const e=require("react/jsx-runtime"),g=require("react"),p=require("./index-chunk-D921N0ug.js"),d=require("./useGlobalSettings-chunk-DEacV16j.js"),I=require("./Link-chunk-BcVWiDXw.js"),b=require("./Icon-chunk-QFryHTpy.js"),N=g.forwardRef(({children:a,className:$,disabled:x=!1,icon:t,size:n="large",type:o="primary",style:u,name:_,link:r,iconPosition:f="left",icononly:l=!1,submit:m=!1,...j},c)=>{const{prefix:q}=d.useGlobalSettings(),s=`${q}--button`,i=p.classnames($,{[s]:!0,[`${s}__${n}`]:n,[`${s}__${o}`]:o,[`${s}--icon ${s}--icon--position__${f}`]:t&&!l,[`${s}--icon ${s}--icon--only`]:t&&l});return r?e.jsxs(I.Link,{ref:c,className:i,target:r.target,url:r.url,label:r.label,style:u,children:[t&&e.jsx(b.Icon,{...t}),a]}):e.jsxs("button",{ref:c,className:i,disabled:x,style:u,name:_,...j,type:m?"submit":"button",children:[t&&e.jsx(b.Icon,{...t}),e.jsx("span",{className:"button__label",children:a})]})});exports.Button=N;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Button-chunk-B65FgSLG.js");exports.Button=t.Button;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Button-chunk-BPxitLjn.js");exports.Button=t.Button;
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),_=require("./index-chunk-D921N0ug.js"),r=require("react"),p=require("./useGlobalSettings-chunk-DEacV16j.js"),g=require("./Button-chunk-B65FgSLG.js"),b=r.forwardRef(({className:i,copy:d,cta:l,isCollapsible:n,isOpen:u=!0,toggleOpenLabel:c="Less",toggleClosedLabel:o="More",headline:$,type:a},x)=>{const{prefix:m}=p.useGlobalSettings(),s=`${m}--callout`,[t,j]=r.useState(u),h=_.classnames(s,i,{[`${s}__${a}`]:a,[`${s}__open`]:t,[`${s}__collapse`]:n}),N=t?c:o;return e.jsxs("div",{className:h,ref:x,children:[e.jsx("div",{className:`${s}--sidebar`,children:e.jsx("span",{className:`${s}--icon ${s}--icon__alert__${a}`})}),e.jsxs("div",{className:`${s}--content`,children:[e.jsxs("div",{className:`${s}--header`,children:[e.jsx("h5",{className:`${s}--title`,children:$}),n&&e.jsxs("button",{className:`${s}--toggle`,onClick:()=>j(!t),"data-open":c,"data-closed":o,children:[e.jsx("span",{className:`${s}--button-text`,children:N}),e.jsx("span",{className:`${s}--toggle--icon`,role:"presentation"})]})]}),e.jsx("p",{className:`${s}--description`,children:d}),l&&e.jsx("div",{className:`${s}--footer`,children:e.jsx(g.Button,{type:"secondary",size:"small",link:{url:l.url,label:l.label}})})]})]})});exports.Callout=b;
1
+ "use strict";const e=require("react/jsx-runtime"),_=require("./index-chunk-D921N0ug.js"),r=require("react"),p=require("./useGlobalSettings-chunk-DEacV16j.js"),g=require("./Button-chunk-BPxitLjn.js"),b=r.forwardRef(({className:i,copy:d,cta:l,isCollapsible:n,isOpen:u=!0,toggleOpenLabel:c="Less",toggleClosedLabel:o="More",headline:$,type:a},x)=>{const{prefix:m}=p.useGlobalSettings(),s=`${m}--callout`,[t,j]=r.useState(u),h=_.classnames(s,i,{[`${s}__${a}`]:a,[`${s}__open`]:t,[`${s}__collapse`]:n}),N=t?c:o;return e.jsxs("div",{className:h,ref:x,children:[e.jsx("div",{className:`${s}--sidebar`,children:e.jsx("span",{className:`${s}--icon ${s}--icon__alert__${a}`})}),e.jsxs("div",{className:`${s}--content`,children:[e.jsxs("div",{className:`${s}--header`,children:[e.jsx("h5",{className:`${s}--title`,children:$}),n&&e.jsxs("button",{className:`${s}--toggle`,onClick:()=>j(!t),"data-open":c,"data-closed":o,children:[e.jsx("span",{className:`${s}--button-text`,children:N}),e.jsx("span",{className:`${s}--toggle--icon`,role:"presentation"})]})]}),e.jsx("p",{className:`${s}--description`,children:d}),l&&e.jsx("div",{className:`${s}--footer`,children:e.jsx(g.Button,{type:"secondary",size:"small",link:{url:l.url,label:l.label}})})]})]})});exports.Callout=b;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Callout-chunk-CS-b8vev.js");exports.Callout=t.Callout;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Callout-chunk-Cmnm5uzu.js");exports.Callout=t.Callout;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ScoreCard-chunk-CdqvfjmP.js");exports.CardGroup=r.CardGroup;exports.DataCard=r.DataCard;exports.DetailCard=r.DetailCard;exports.FactListCard=r.FactListCard;exports.FeatureCard=r.FeatureCard;exports.MultiLinkCard=r.MultiLinkCard;exports.PromoCard=r.PromoCard;exports.ScoreCard=r.ScoreCard;exports.StatCard=r.StatCard;exports.TextCard=r.TextCard;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ScoreCard-chunk-B9OFfe4F.js");exports.CardGroup=r.CardGroup;exports.DataCard=r.DataCard;exports.DetailCard=r.DetailCard;exports.FactListCard=r.FactListCard;exports.FeatureCard=r.FeatureCard;exports.MultiLinkCard=r.MultiLinkCard;exports.PromoCard=r.PromoCard;exports.ScoreCard=r.ScoreCard;exports.StatCard=r.StatCard;exports.TextCard=r.TextCard;
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),d=require("react"),E=require("./index-chunk-D921N0ug.js"),R=require("./useGlobalSettings-chunk-DEacV16j.js"),S=require("./Fieldset-chunk-ChX_vSBT.js"),f=require("./FormControl-chunk-CTRPINwt.js"),L=require("./usePrevious-chunk-DENrwKF1.js"),P=d.forwardRef((s,c)=>{const{onChange:r,onBlur:l,disabled:a=!1,error:e,id:o,name:t,required:n,defaultChecked:h=!1,checked:x,value:m}=s,{prefix:k}=R.useGlobalSettings(),{setHasError:u}=S.useFieldsetError(),q=f.useFormControl(),{ariaDescribedBy:y}=q,b=`${k}--checkbox`,g=`${b}__error`,F=E.classnames(b,{[g]:e}),C=L.usePrevious(e);d.useEffect(()=>{e!==C&&u(!!e)},[e,C,u]);const j=v=>{r&&r(v)};return i.jsx("input",{ref:c,id:o||t,name:t,onChange:j,onBlur:l,disabled:a,required:n,type:"checkbox",className:F,defaultChecked:h,"aria-describedby":y,checked:x,value:m})}),$=d.forwardRef((s,c)=>{const r=s.id?s.id:s.name,{style:l,inputStyle:a,className:e,labelPlacement:o="end",labelSize:t="small",...n}=s;return i.jsx(f.FormControl,{fieldId:r,style:l,className:e,labelPlacement:o,labelSize:t,...n,children:i.jsx(P,{ref:c,style:a,...n})})}),w=$;exports.LabelledCheckbox=w;
1
+ "use strict";const i=require("react/jsx-runtime"),d=require("react"),E=require("./index-chunk-D921N0ug.js"),R=require("./useGlobalSettings-chunk-DEacV16j.js"),S=require("./Fieldset-chunk-Dykzn_3y.js"),f=require("./FormControl-chunk-Bv623HDr.js"),L=require("./usePrevious-chunk-DENrwKF1.js"),P=d.forwardRef((s,c)=>{const{onChange:r,onBlur:l,disabled:a=!1,error:e,id:o,name:t,required:n,defaultChecked:h=!1,checked:x,value:m}=s,{prefix:k}=R.useGlobalSettings(),{setHasError:u}=S.useFieldsetError(),q=f.useFormControl(),{ariaDescribedBy:y}=q,b=`${k}--checkbox`,g=`${b}__error`,F=E.classnames(b,{[g]:e}),C=L.usePrevious(e);d.useEffect(()=>{e!==C&&u(!!e)},[e,C,u]);const j=v=>{r&&r(v)};return i.jsx("input",{ref:c,id:o||t,name:t,onChange:j,onBlur:l,disabled:a,required:n,type:"checkbox",className:F,defaultChecked:h,"aria-describedby":y,checked:x,value:m})}),$=d.forwardRef((s,c)=>{const r=s.id?s.id:s.name,{style:l,inputStyle:a,className:e,labelPlacement:o="end",labelSize:t="small",...n}=s;return i.jsx(f.FormControl,{fieldId:r,style:l,className:e,labelPlacement:o,labelSize:t,...n,children:i.jsx(P,{ref:c,style:a,...n})})}),w=$;exports.LabelledCheckbox=w;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Checkbox-chunk-C0TreicR.js"),o=3,e={label:"Checkbox",className:"checkbox",name:"checkbox"},b=Array(o).map((s,c)=>({...e,id:`checkbox-${c}`})),h={...e,defaultChecked:!0},r={...e,error:!0},k=Array(o).map((s,c)=>({...r,id:`checkbox-${c}`})),a={basic:e,basicCheckBoxes:b,errorCheckBoxes:k,checked:h,error:r},x=a;exports.Checkbox=t.LabelledCheckbox;exports.CheckboxArgs=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Checkbox-chunk-CDFIXTn9.js"),o=3,e={label:"Checkbox",className:"checkbox",name:"checkbox"},b=Array(o).map((s,c)=>({...e,id:`checkbox-${c}`})),h={...e,defaultChecked:!0},r={...e,error:!0},k=Array(o).map((s,c)=>({...r,id:`checkbox-${c}`})),a={basic:e,basicCheckBoxes:b,errorCheckBoxes:k,checked:h,error:r},x=a;exports.Checkbox=t.LabelledCheckbox;exports.CheckboxArgs=x;
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),d=require("react"),j=require("./index-chunk-D921N0ug.js"),R=require("./useGlobalSettings-chunk-DEacV16j.js"),u=require("./FormControl-chunk-CTRPINwt.js"),p=d.forwardRef((e,n)=>{const{onChange:t,onBlur:a,disabled:o=!1,error:s,id:r,name:c,placeholder:m,required:C,max:b,min:f,step:x}=e,{prefix:l}=R.useGlobalSettings(),h=u.useFormControl(),{ariaDescribedBy:k}=h,q=`${l}--input`,y=`${l}--datepicker`,g=j.classnames(q,y,{error:s}),D=P=>{t&&t(P)};return i.jsx("input",{ref:n,type:"date",id:r||c,name:c,onChange:D,onBlur:a,disabled:o,placeholder:m,required:C,className:g,max:b,min:f,step:x,"aria-describedby":k})}),F=d.forwardRef((e,n)=>{const{style:t,inputStyle:a,className:o,...s}=e,r=e.id?e.id:e.name;return i.jsx(u.FormControl,{fieldId:r,style:t,className:o,...s,children:i.jsx(p,{ref:n,style:a,...s})})}),L=F;exports.LabelledDatePicker=L;
1
+ "use strict";const i=require("react/jsx-runtime"),d=require("react"),j=require("./index-chunk-D921N0ug.js"),R=require("./useGlobalSettings-chunk-DEacV16j.js"),u=require("./FormControl-chunk-Bv623HDr.js"),p=d.forwardRef((e,n)=>{const{onChange:t,onBlur:a,disabled:o=!1,error:s,id:r,name:c,placeholder:m,required:C,max:b,min:f,step:x}=e,{prefix:l}=R.useGlobalSettings(),h=u.useFormControl(),{ariaDescribedBy:k}=h,q=`${l}--input`,y=`${l}--datepicker`,g=j.classnames(q,y,{error:s}),D=P=>{t&&t(P)};return i.jsx("input",{ref:n,type:"date",id:r||c,name:c,onChange:D,onBlur:a,disabled:o,placeholder:m,required:C,className:g,max:b,min:f,step:x,"aria-describedby":k})}),F=d.forwardRef((e,n)=>{const{style:t,inputStyle:a,className:o,...s}=e,r=e.id?e.id:e.name;return i.jsx(u.FormControl,{fieldId:r,style:t,className:o,...s,children:i.jsx(p,{ref:n,style:a,...s})})}),L=F;exports.LabelledDatePicker=L;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./DatePicker-chunk-Dl0GaODr.js");exports.DatePicker=e.LabelledDatePicker;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./DatePicker-chunk-DouvjE3X.js");exports.DatePicker=e.LabelledDatePicker;
@@ -1 +1 @@
1
- "use strict";const l=require("react/jsx-runtime"),i=require("react"),F=require("./index-chunk-D921N0ug.js"),L=require("./useGlobalSettings-chunk-DEacV16j.js"),f=require("./FormControl-chunk-CTRPINwt.js"),N=i.forwardRef((s,t)=>{const{autocomplete:a,onChange:r,onBlur:n,disabled:o=!1,error:d,id:u,name:m,options:b,required:C,value:w,defaultValue:x,form:h,multiple:p,selectSize:v}=s,{prefix:g}=L.useGlobalSettings(),j=f.useFormControl(),{ariaDescribedBy:q}=j,c=`${g}--dropdown`,y=F.classnames(c,{error:d}),[D,S]=i.useState(w),$=e=>{S(e.target.value),r&&r(e)};return l.jsx("div",{className:`${c}--wrapper`,children:l.jsx("select",{ref:t,id:u||m,autoComplete:a,name:m,required:C,onChange:$,onBlur:n,disabled:o,defaultValue:x,className:y,value:D,form:h,multiple:p,size:v,"aria-describedby":q,children:b&&b.map((e,R)=>l.jsx("option",{disabled:e.disabled,label:e.label,value:e.value,children:e.label},`${c}--option--${R}`))})})}),z=i.forwardRef((s,t)=>{const{style:a,inputStyle:r,className:n,...o}=s,d=s.id?s.id:s.name;return l.jsx(f.FormControl,{fieldId:d,style:a,className:n,...o,children:l.jsx(N,{ref:t,style:r,...o})})}),B=z;exports.LabelledDropdown=B;
1
+ "use strict";const l=require("react/jsx-runtime"),i=require("react"),F=require("./index-chunk-D921N0ug.js"),L=require("./useGlobalSettings-chunk-DEacV16j.js"),f=require("./FormControl-chunk-Bv623HDr.js"),N=i.forwardRef((s,t)=>{const{autocomplete:a,onChange:r,onBlur:n,disabled:o=!1,error:d,id:u,name:m,options:b,required:C,value:w,defaultValue:x,form:h,multiple:p,selectSize:v}=s,{prefix:g}=L.useGlobalSettings(),j=f.useFormControl(),{ariaDescribedBy:q}=j,c=`${g}--dropdown`,y=F.classnames(c,{error:d}),[D,S]=i.useState(w),$=e=>{S(e.target.value),r&&r(e)};return l.jsx("div",{className:`${c}--wrapper`,children:l.jsx("select",{ref:t,id:u||m,autoComplete:a,name:m,required:C,onChange:$,onBlur:n,disabled:o,defaultValue:x,className:y,value:D,form:h,multiple:p,size:v,"aria-describedby":q,children:b&&b.map((e,R)=>l.jsx("option",{disabled:e.disabled,label:e.label,value:e.value,children:e.label},`${c}--option--${R}`))})})}),z=i.forwardRef((s,t)=>{const{style:a,inputStyle:r,className:n,...o}=s,d=s.id?s.id:s.name;return l.jsx(f.FormControl,{fieldId:d,style:a,className:n,...o,children:l.jsx(N,{ref:t,style:r,...o})})}),B=z;exports.LabelledDropdown=B;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Dropdown-chunk-DyCHTZMD.js");exports.Dropdown=e.LabelledDropdown;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Dropdown-chunk-BjeJjYZD.js");exports.Dropdown=e.LabelledDropdown;
@@ -0,0 +1 @@
1
+ "use strict";const s=require("react/jsx-runtime"),a=require("react"),i=require("./index-chunk-D921N0ug.js"),G=require("./useGlobalSettings-chunk-DEacV16j.js"),R=require("./Tooltip-chunk-CQu5vz01.js"),M=require("./Form-chunk-Bhz_CsMf.js"),d=a.createContext({hasError:!1,setHasError:r=>r}),P=()=>a.useContext(d),V=({children:r,className:m,legend:l,helper:o,tooltip:c,errorMessage:u,disabled:h=!1,wrap:x="nowrap",direction:$="column",theme:C="light",...p})=>{const{prefix:_}=G.useGlobalSettings(),{theme:f}=M.useFormContext(),n=f||C,[t,j]=a.useState(!1),e=`${_}--fieldset`,F=`${e}--wrap__${x}`,E=`${e}--direction__${$}`,b=`${e}--helper`,g=`${e}__error`,q=`${e}__disabled`,N=`${e}__theme__${n}`,w=i.classnames(m,e,F,E,N,{[q]:h}),T=i.classnames(b,{[g]:t}),v={hasError:t,setHasError:j},H=!!o||t,S=t?u:o;return s.jsxs("fieldset",{className:w,...p,children:[l||o?s.jsxs("div",{className:`${e}--legend-wrapper`,children:[l&&s.jsxs("legend",{className:`${e}--legend`,children:[l,c&&s.jsx(R.Tooltip,{className:`${e}--legend--tooltip`,icon:!0,label:c,theme:n,iconTheme:n})]}),H&&s.jsx("span",{className:T,children:S})]}):null,s.jsx("div",{className:`${e}--elements`,children:s.jsx(d.Provider,{value:v,children:r})})]})},k=V;exports.Fieldset=k;exports.useFieldsetError=P;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Fieldset-chunk-ChX_vSBT.js");exports.Fieldset=e.Fieldset;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Fieldset-chunk-Dykzn_3y.js");exports.Fieldset=e.Fieldset;
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),m=require("react"),q=require("./index-chunk-D921N0ug.js"),M=require("./useGlobalSettings-chunk-DEacV16j.js"),x=require("./FormControl-chunk-CTRPINwt.js");function N(e,l=2){if(!+e)return"0 Bytes";const n=1024,a=l<0?0:l,o=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],t=Math.floor(Math.log(e)/Math.log(n));return`${parseFloat((e/Math.pow(n,t)).toFixed(a))} ${o[t]}`}const R=m.forwardRef(({onChange:e,onBlur:l,disabled:n=!1,error:a,id:o,multiple:t,name:c,placeholder:d,required:B,accept:h},F)=>{const{prefix:$}=M.useGlobalSettings(),p=x.useFormControl(),{ariaDescribedBy:b}=p,i=`${$}--file-upload`,j=q.classnames(i,{error:a}),C=`${i}--input`,[u,g]=m.useState(null),y=r=>{const f=r.target.files;g(f),e&&e(r)},U=o||c;return s.jsxs(s.Fragment,{children:[s.jsx("div",{className:j,children:s.jsxs("label",{className:C,children:[d,s.jsx("input",{ref:F,id:U,name:c,accept:h,onChange:y,onBlur:l,disabled:n,multiple:t,placeholder:d,required:B,type:"file","data-label":d,"aria-describedby":b})]})}),u&&u.length>0&&s.jsx("ul",{className:`${i}--list`,children:[...u].map((r,f)=>s.jsx("li",{className:`${i}--list-item`,children:`${r.name} (${N(r.size)})`},`${i}--list-item-${f}`))})]})}),S=m.forwardRef((e,l)=>{const{style:n,inputStyle:a,className:o,...t}=e,c=e.id?e.id:e.name;return s.jsx(x.FormControl,{fieldId:c,style:n,className:o,...t,children:s.jsx(R,{ref:l,style:a,...t})})}),w=S;exports.LabelledFileUpload=w;
1
+ "use strict";const s=require("react/jsx-runtime"),m=require("react"),q=require("./index-chunk-D921N0ug.js"),M=require("./useGlobalSettings-chunk-DEacV16j.js"),x=require("./FormControl-chunk-Bv623HDr.js");function N(e,l=2){if(!+e)return"0 Bytes";const n=1024,a=l<0?0:l,o=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],t=Math.floor(Math.log(e)/Math.log(n));return`${parseFloat((e/Math.pow(n,t)).toFixed(a))} ${o[t]}`}const R=m.forwardRef(({onChange:e,onBlur:l,disabled:n=!1,error:a,id:o,multiple:t,name:c,placeholder:d,required:B,accept:h},F)=>{const{prefix:$}=M.useGlobalSettings(),p=x.useFormControl(),{ariaDescribedBy:b}=p,i=`${$}--file-upload`,j=q.classnames(i,{error:a}),C=`${i}--input`,[u,g]=m.useState(null),y=r=>{const f=r.target.files;g(f),e&&e(r)},U=o||c;return s.jsxs(s.Fragment,{children:[s.jsx("div",{className:j,children:s.jsxs("label",{className:C,children:[d,s.jsx("input",{ref:F,id:U,name:c,accept:h,onChange:y,onBlur:l,disabled:n,multiple:t,placeholder:d,required:B,type:"file","data-label":d,"aria-describedby":b})]})}),u&&u.length>0&&s.jsx("ul",{className:`${i}--list`,children:[...u].map((r,f)=>s.jsx("li",{className:`${i}--list-item`,children:`${r.name} (${N(r.size)})`},`${i}--list-item-${f}`))})]})}),S=m.forwardRef((e,l)=>{const{style:n,inputStyle:a,className:o,...t}=e,c=e.id?e.id:e.name;return s.jsx(x.FormControl,{fieldId:c,style:n,className:o,...t,children:s.jsx(R,{ref:l,style:a,...t})})}),w=S;exports.LabelledFileUpload=w;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./FileUpload-chunk-DASUCDJs.js");exports.FileUpload=e.LabelledFileUpload;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./FileUpload-chunk-CC1oePLc.js");exports.FileUpload=e.LabelledFileUpload;
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),$=require("react"),k=require("./index-chunk-D921N0ug.js"),f=require("./LinkList-chunk-AT26ZVEG.js"),y=require("./SocialMedia-chunk-BnyEyk0Y.js"),q=require("./useGlobalSettings-chunk-DEacV16j.js"),b=require("./Button-chunk-B65FgSLG.js"),L=$.forwardRef(({className:N,logo:n,tagline:d,subtagline:t,address:o,linkgroup:m,socialmedia:h,subscribe:l,legal:x,secondarylinks:j,anchorlink:i},u)=>{const{prefix:c}=q.useGlobalSettings(),e=`${c}--footer`,v=k.classnames(N,e);return s.jsxs("footer",{className:v,ref:u,children:[s.jsxs("div",{className:`${e}--main ${c}--container`,children:[s.jsxs("div",{className:"site--info",children:[n&&s.jsx("img",{className:`${e}--logo`,src:n,alt:"ILO Logo"}),d&&s.jsx("h3",{className:`${e}--headline`,children:d}),t&&s.jsx("h4",{className:`${e}--subhead`,children:t})]}),o&&s.jsx("div",{className:"address",children:o.map((a,r)=>s.jsx("p",{className:"address--line",children:a},`address-line-${r}`))}),m&&s.jsx("nav",{className:"links",children:s.jsx(f.LinkList,{linkgroup:m,theme:"dark"})}),h&&s.jsx("div",{className:"connect",children:s.jsx("div",{className:"social--links",children:s.jsx(y.SocialMedia,{...h,theme:"dark"})})}),l&&s.jsx("div",{className:"subscribe",children:s.jsx(b.Button,{link:{url:l.url,label:l.label,target:"_blank"},type:"primary",size:"large"})})]}),s.jsx("div",{className:`${e}--secondary`,children:s.jsxs("div",{className:`${c}--container`,children:[s.jsxs("div",{className:`${e}--secondary--details`,children:[x&&s.jsx("div",{className:"legal",children:x}),j&&s.jsx("nav",{className:"secondarylinks",children:s.jsx("ul",{className:"secondarylinks--list",children:j.map((a,r)=>s.jsx("li",{className:"secondarylinks--list--item",children:s.jsx("a",{href:a.url,className:"secondarylinks--list--link",children:a.label})},`secondary-link-${r}`))})})]}),i&&s.jsx("a",{href:i.url,className:"anchorlink",children:i.label})]})})]})});exports.Footer=L;
1
+ "use strict";const s=require("react/jsx-runtime"),$=require("react"),k=require("./index-chunk-D921N0ug.js"),f=require("./LinkList-chunk-AT26ZVEG.js"),y=require("./SocialMedia-chunk-BnyEyk0Y.js"),q=require("./useGlobalSettings-chunk-DEacV16j.js"),b=require("./Button-chunk-BPxitLjn.js"),L=$.forwardRef(({className:N,logo:n,tagline:d,subtagline:t,address:o,linkgroup:m,socialmedia:h,subscribe:l,legal:x,secondarylinks:j,anchorlink:i},u)=>{const{prefix:c}=q.useGlobalSettings(),e=`${c}--footer`,v=k.classnames(N,e);return s.jsxs("footer",{className:v,ref:u,children:[s.jsxs("div",{className:`${e}--main ${c}--container`,children:[s.jsxs("div",{className:"site--info",children:[n&&s.jsx("img",{className:`${e}--logo`,src:n,alt:"ILO Logo"}),d&&s.jsx("h3",{className:`${e}--headline`,children:d}),t&&s.jsx("h4",{className:`${e}--subhead`,children:t})]}),o&&s.jsx("div",{className:"address",children:o.map((a,r)=>s.jsx("p",{className:"address--line",children:a},`address-line-${r}`))}),m&&s.jsx("nav",{className:"links",children:s.jsx(f.LinkList,{linkgroup:m,theme:"dark"})}),h&&s.jsx("div",{className:"connect",children:s.jsx("div",{className:"social--links",children:s.jsx(y.SocialMedia,{...h,theme:"dark"})})}),l&&s.jsx("div",{className:"subscribe",children:s.jsx(b.Button,{link:{url:l.url,label:l.label,target:"_blank"},type:"primary",size:"large"})})]}),s.jsx("div",{className:`${e}--secondary`,children:s.jsxs("div",{className:`${c}--container`,children:[s.jsxs("div",{className:`${e}--secondary--details`,children:[x&&s.jsx("div",{className:"legal",children:x}),j&&s.jsx("nav",{className:"secondarylinks",children:s.jsx("ul",{className:"secondarylinks--list",children:j.map((a,r)=>s.jsx("li",{className:"secondarylinks--list--item",children:s.jsx("a",{href:a.url,className:"secondarylinks--list--link",children:a.label})},`secondary-link-${r}`))})})]}),i&&s.jsx("a",{href:i.url,className:"anchorlink",children:i.label})]})})]})});exports.Footer=L;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Footer-chunk-BUjFj4bf.js");exports.Footer=e.Footer;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Footer-chunk-CGR-tiim.js");exports.Footer=e.Footer;
@@ -0,0 +1 @@
1
+ "use strict";const n=require("react/jsx-runtime"),e=require("react"),i=require("./useGlobalSettings-chunk-DEacV16j.js"),x=require("./index-chunk-D921N0ug.js"),r=e.createContext({theme:null}),C=()=>e.useContext(r),f=e.forwardRef(({children:t,theme:s=null,...c},u)=>{const{prefix:l}=i.useGlobalSettings(),o=`${l}--form`,a=`${o}__theme__${s}`,m=x.classnames(o,a);return n.jsx("form",{ref:u,className:m,...c,children:n.jsx(r.Provider,{value:{theme:s},children:t})})}),F=f;exports.Form=F;exports.useFormContext=C;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Form-chunk-BJA6abAs.js"),o={theme:"light"},r=Object.freeze(Object.defineProperty({__proto__:null,basic:o},Symbol.toStringTag,{value:"Module"}));exports.Form=e.Form;exports.FormArgs=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Form-chunk-Bhz_CsMf.js"),o={theme:"light"},r=Object.freeze(Object.defineProperty({__proto__:null,basic:o},Symbol.toStringTag,{value:"Module"}));exports.Form=e.Form;exports.FormArgs=r;
@@ -0,0 +1 @@
1
+ "use strict";const l=require("react/jsx-runtime"),h=require("./index-chunk-D921N0ug.js"),a=require("react"),U=require("./useGlobalSettings-chunk-DEacV16j.js"),V=require("./Tooltip-chunk-CQu5vz01.js"),E=require("./Form-chunk-Bhz_CsMf.js");let $=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((e,s)=>(s&=63,s<36?e+=s.toString(36):s<62?e+=(s-26).toString(36).toUpperCase():s>62?e+="-":e+="_",e),"");function H(t="",{tooltip:e,helper:s,errorMessage:n}={}){return{tooltipId:e&&`${t}--tooltip--${$()}`,helperId:s&&`${t}--helper--${$()}`,errorId:n&&`${t}--error--${$()}`}}function J(t,e){const{tooltipId:s,helperId:n,errorId:c}=t,r=h.classnames(s,{[`${n}`]:!e,[`${c}`]:e});if(!(!r||r==="undefined"))return r}const f=a.createContext({}),K=()=>a.useContext(f),L=({children:t,className:e,label:s,helper:n,errorMessage:c,tooltip:r,style:F,error:i,disabled:b,fieldId:I,theme:j="light",labelSize:g="medium",labelPlacement:v="top"})=>{const{prefix:q}=U.useGlobalSettings(),{theme:S}=E.useFormContext(),d=S||j,o=`${q}--form-control`,B=a.useMemo(()=>H(o,{helper:n,errorMessage:c,tooltip:r}),[o,n,c,r]),{tooltipId:m,helperId:u,errorId:C}=B,[N,T]=a.useState(void 0);a.useEffect(()=>{T(J({tooltipId:m,helperId:u,errorId:C},i))},[m,u,C,i]);const A={ariaDescribedBy:N},D=`${o}__error`,w=`${o}__disabled`,y=`${o}__label-placement__${v}`,R=`${o}__theme__${d}`,k=h.classnames(o,e,y,R,[{[D]:i},{[w]:b}]),p=`${o}--label`,z=`${p}__size__${g}`,G=h.classnames(p,z),_=`${o}--helper`,x=!!i&&!!c,P=!x&&!!n;return l.jsx(f.Provider,{value:A,children:l.jsxs("div",{className:k,style:F,children:[l.jsxs("span",{className:G,children:[l.jsx("label",{htmlFor:I,children:s}),r&&l.jsx(V.Tooltip,{id:m,className:`${o}--legend--tooltip`,icon:!0,label:r,theme:d==="dark"?"light":"dark",iconTheme:d})]}),t,P&&l.jsx("span",{id:u,className:_,children:n}),x&&l.jsx("span",{id:C,className:_,"aria-live":"assertive",children:c})]})})},O=L;exports.FormControl=O;exports.useFormControl=K;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./FormControl-chunk-CTRPINwt.js");exports.FormControl=o.FormControl;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./FormControl-chunk-Bv623HDr.js");exports.FormControl=o.FormControl;
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),d=require("react"),h=require("./index-chunk-D921N0ug.js"),N=require("./useGlobalSettings-chunk-DEacV16j.js"),f=require("./Breadcrumb-chunk-BV3TmRn5.js"),v=require("./Tooltip-chunk-Dk0E60Nc.js"),q=require("./HeroCard-chunk-Dx88UJpE.js"),k=d.forwardRef(({className:l,justify:o="start",align:u="baseline",cardSize:_="small",posterSize:$="large",theme:x="dark",image:e,breadcrumb:c,heroCard:j,caption:t,gap:i},p)=>{const{prefix:m}=N.useGlobalSettings(),s="hero",n=d.useMemo(()=>e?e==null?void 0:e.url.sort((a,b)=>a.breakpoint-b.breakpoint):[],[e]);return r.jsxs("div",{ref:p,className:h.classnames(s,`${s}__card-justify__${o}`,`${s}__card-align__${u}`,`${s}__card-size__${_}`,`${s}__poster-size__${$}`,`${s}__card-theme__${x}`,{[`${s}__gap__${i}`]:i},l),children:[r.jsx("div",{className:`${s}--background`,children:e&&r.jsx("figure",{className:`${s}--image`,children:r.jsxs("picture",{children:[n.map(a=>r.jsx("source",{srcSet:a.src,media:`(min-width: ${a.breakpoint}px)`},a.breakpoint)),r.jsx("img",{className:`${m}-${s}--image`,src:n.at(-1).src,alt:e.alt})]})})}),c&&r.jsx("div",{className:`${s}--breadcrumbs`,children:r.jsx("div",{className:`${s}--breadcrumbs--wrapper`,children:r.jsx(f.Breadcrumb,{...c})})}),r.jsx("div",{className:`${s}--card-offset`}),r.jsx("div",{className:`${s}--card`,children:r.jsx(q.HeroCard,{...j})}),t&&r.jsx("div",{className:`${s}--caption`,children:r.jsx("div",{className:`${s}--caption--wrapper`,children:r.jsx(v.Tooltip,{...t})})})]})});exports.Hero=k;
1
+ "use strict";const r=require("react/jsx-runtime"),d=require("react"),h=require("./index-chunk-D921N0ug.js"),N=require("./useGlobalSettings-chunk-DEacV16j.js"),f=require("./Breadcrumb-chunk-BFveDqpn.js"),v=require("./Tooltip-chunk-CQu5vz01.js"),q=require("./HeroCard-chunk-Dx88UJpE.js"),k=d.forwardRef(({className:l,justify:o="start",align:u="baseline",cardSize:_="small",posterSize:$="large",theme:x="dark",image:e,breadcrumb:c,heroCard:j,caption:t,gap:i},p)=>{const{prefix:m}=N.useGlobalSettings(),s="hero",n=d.useMemo(()=>e?e==null?void 0:e.url.sort((a,b)=>a.breakpoint-b.breakpoint):[],[e]);return r.jsxs("div",{ref:p,className:h.classnames(s,`${s}__card-justify__${o}`,`${s}__card-align__${u}`,`${s}__card-size__${_}`,`${s}__poster-size__${$}`,`${s}__card-theme__${x}`,{[`${s}__gap__${i}`]:i},l),children:[r.jsx("div",{className:`${s}--background`,children:e&&r.jsx("figure",{className:`${s}--image`,children:r.jsxs("picture",{children:[n.map(a=>r.jsx("source",{srcSet:a.src,media:`(min-width: ${a.breakpoint}px)`},a.breakpoint)),r.jsx("img",{className:`${m}-${s}--image`,src:n.at(-1).src,alt:e.alt})]})})}),c&&r.jsx("div",{className:`${s}--breadcrumbs`,children:r.jsx("div",{className:`${s}--breadcrumbs--wrapper`,children:r.jsx(f.Breadcrumb,{...c})})}),r.jsx("div",{className:`${s}--card-offset`}),r.jsx("div",{className:`${s}--card`,children:r.jsx(q.HeroCard,{...j})}),t&&r.jsx("div",{className:`${s}--caption`,children:r.jsx("div",{className:`${s}--caption--wrapper`,children:r.jsx(v.Tooltip,{...t})})})]})});exports.Hero=k;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Hero-chunk-Blm775AV.js");exports.Hero=e.Hero;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Hero-chunk-BgeQPg_6.js");exports.Hero=e.Hero;
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),j=require("react"),C=require("./index-chunk-D921N0ug.js"),F=require("./useGlobalSettings-chunk-DEacV16j.js"),I=require("./Fieldset-chunk-ChX_vSBT.js"),R=require("./FormElement-chunk-B8x3bzQh.js"),b=j.forwardRef(({callback:t,disabled:o=!1,error:n,helper:u,id:r,label:c,name:e,placeholder:l,required:i,tooltip:a,value:d,type:p="text"},x)=>{const{prefix:m}=F.useGlobalSettings(),f=`${m}--input`,h=C.classnames("",{[f]:!0,error:n}),q=g=>{t&&t(g)};return s.jsx(I.Fieldset,{children:s.jsx(R.FormElement,{elemid:e,label:c,helper:u,error:n,required:i,tooltip:a,children:s.jsx("input",{id:r||e,name:e,onChange:q,disabled:o,placeholder:l,required:i,type:p,value:d,className:h,ref:x})})})}),E=b;exports.Input=E;
1
+ "use strict";const s=require("react/jsx-runtime"),j=require("react"),C=require("./index-chunk-D921N0ug.js"),F=require("./useGlobalSettings-chunk-DEacV16j.js"),I=require("./Fieldset-chunk-Dykzn_3y.js"),R=require("./FormElement-chunk-B8x3bzQh.js"),b=j.forwardRef(({callback:t,disabled:o=!1,error:n,helper:u,id:r,label:c,name:e,placeholder:l,required:i,tooltip:a,value:d,type:p="text"},x)=>{const{prefix:m}=F.useGlobalSettings(),f=`${m}--input`,h=C.classnames("",{[f]:!0,error:n}),q=g=>{t&&t(g)};return s.jsx(I.Fieldset,{children:s.jsx(R.FormElement,{elemid:e,label:c,helper:u,error:n,required:i,tooltip:a,children:s.jsx("input",{id:r||e,name:e,onChange:q,disabled:o,placeholder:l,required:i,type:p,value:d,className:h,ref:x})})})}),E=b;exports.Input=E;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Input-chunk-sjstsyZQ.js");exports.Input=t.Input;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Input-chunk-DUdxvEKw.js");exports.Input=t.Input;
@@ -0,0 +1 @@
1
+ "use strict";const i=require("react/jsx-runtime"),_=require("react"),h=require("./index-chunk-D921N0ug.js"),k=require("./useGlobalSettings-chunk-DEacV16j.js"),x=_.forwardRef(({children:t,className:e,label:r,target:s,theme:o="light",url:l,...u},c)=>{const{prefix:d}=k.useGlobalSettings();let n=`${d}--link`;e!=null&&e.includes("button")&&(n="");const f=h.classnames(n,`${n}__theme__${o}`,e);return i.jsxs("a",{ref:c,className:f,href:l,target:s,rel:s?"noopener noreferrer":void 0,...u,children:[r&&i.jsx("span",{className:"link__label",children:r}),t]})});exports.Link=x;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Link-chunk-DuZiglb_.js");exports.Link=e.Link;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Link-chunk-BcVWiDXw.js");exports.Link=e.Link;
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),l=require("react"),f=require("./index-chunk-D921N0ug.js"),m=require("./useGlobalSettings-chunk-DEacV16j.js"),N=require("./Button-chunk-B65FgSLG.js"),b=l.forwardRef(({className:o,closelabel:c="Close",copy:r,cta:i,headline:d,placement:t,timestamp:n,type:a},u)=>{const{prefix:x}=m.useGlobalSettings(),[h,j]=l.useState(!0),e=`${x}--notification`,$=f.classnames(e,o,{[`${e}--${t}`]:t,[`icon icon--${a}`]:a});return s.jsx(s.Fragment,{children:h&&s.jsxs("div",{className:$,role:"status","aria-live":"polite","aria-relevant":"additions",ref:u,children:[s.jsxs("div",{className:`${e}--content`,children:[s.jsx("h2",{className:`${e}--headline`,children:d}),s.jsx("p",{className:`${e}--copy`,children:r}),n&&s.jsx("time",{className:`${e}--date`,dateTime:n.unix,children:n.human}),i&&s.jsx("div",{className:`${e}__footer`,children:s.jsx(N.Button,{type:"secondary",size:"small",link:{url:i.url,label:i.label}})})]}),s.jsx("button",{className:`${e}--close`,type:"button",onClick:()=>j(!1),children:s.jsx("span",{children:c})})]})})});exports.Notification=b;
1
+ "use strict";const s=require("react/jsx-runtime"),l=require("react"),f=require("./index-chunk-D921N0ug.js"),m=require("./useGlobalSettings-chunk-DEacV16j.js"),N=require("./Button-chunk-BPxitLjn.js"),b=l.forwardRef(({className:o,closelabel:c="Close",copy:r,cta:i,headline:d,placement:t,timestamp:n,type:a},u)=>{const{prefix:x}=m.useGlobalSettings(),[h,j]=l.useState(!0),e=`${x}--notification`,$=f.classnames(e,o,{[`${e}--${t}`]:t,[`icon icon--${a}`]:a});return s.jsx(s.Fragment,{children:h&&s.jsxs("div",{className:$,role:"status","aria-live":"polite","aria-relevant":"additions",ref:u,children:[s.jsxs("div",{className:`${e}--content`,children:[s.jsx("h2",{className:`${e}--headline`,children:d}),s.jsx("p",{className:`${e}--copy`,children:r}),n&&s.jsx("time",{className:`${e}--date`,dateTime:n.unix,children:n.human}),i&&s.jsx("div",{className:`${e}__footer`,children:s.jsx(N.Button,{type:"secondary",size:"small",link:{url:i.url,label:i.label}})})]}),s.jsx("button",{className:`${e}--close`,type:"button",onClick:()=>j(!1),children:s.jsx("span",{children:c})})]})})});exports.Notification=b;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Notification-chunk-DkfLXJhu.js");exports.Notification=i.Notification;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Notification-chunk-BDC2i-2V.js");exports.Notification=i.Notification;
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),l=require("react"),R=require("./index-chunk-D921N0ug.js"),g=require("./useGlobalSettings-chunk-DEacV16j.js"),u=require("./FormControl-chunk-CTRPINwt.js"),p=l.forwardRef(({onChange:e,onBlur:n,disabled:s=!1,error:o,id:t,name:r,placeholder:c,required:m,max:b,min:d,step:f},C)=>{const{prefix:a}=g.useGlobalSettings(),x=u.useFormControl(),{ariaDescribedBy:k}=x,y=`${a}--input`,N=`${a}--numberpicker`,q=!s&&!!o,P=R.classnames(y,N,{error:q}),h=j=>{e&&e(j)};return i.jsx("input",{ref:C,id:t||r,name:r,onChange:h,onBlur:n,disabled:s,placeholder:c,required:m,type:"number",className:P,pattern:"[0-9]*",inputMode:"numeric","aria-describedby":k,max:b,min:d,step:f})}),F=l.forwardRef((e,n)=>{const{style:s,inputStyle:o,className:t,...r}=e,c=e.id?e.id:e.name;return i.jsx(u.FormControl,{fieldId:c,style:s,className:t,...r,children:i.jsx(p,{ref:n,style:o,...r})})}),L=F;exports.LabelledNumberPicker=L;
1
+ "use strict";const i=require("react/jsx-runtime"),l=require("react"),R=require("./index-chunk-D921N0ug.js"),g=require("./useGlobalSettings-chunk-DEacV16j.js"),u=require("./FormControl-chunk-Bv623HDr.js"),p=l.forwardRef(({onChange:e,onBlur:n,disabled:s=!1,error:o,id:t,name:r,placeholder:c,required:m,max:b,min:d,step:f},C)=>{const{prefix:a}=g.useGlobalSettings(),x=u.useFormControl(),{ariaDescribedBy:k}=x,y=`${a}--input`,N=`${a}--numberpicker`,q=!s&&!!o,P=R.classnames(y,N,{error:q}),h=j=>{e&&e(j)};return i.jsx("input",{ref:C,id:t||r,name:r,onChange:h,onBlur:n,disabled:s,placeholder:c,required:m,type:"number",className:P,pattern:"[0-9]*",inputMode:"numeric","aria-describedby":k,max:b,min:d,step:f})}),F=l.forwardRef((e,n)=>{const{style:s,inputStyle:o,className:t,...r}=e,c=e.id?e.id:e.name;return i.jsx(u.FormControl,{fieldId:c,style:s,className:t,...r,children:i.jsx(p,{ref:n,style:o,...r})})}),L=F;exports.LabelledNumberPicker=L;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NumberPicker-chunk-BuYxdQBu.js");exports.NumberPicker=e.LabelledNumberPicker;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NumberPicker-chunk-kaW8wv3h.js");exports.NumberPicker=e.LabelledNumberPicker;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),a=require("./index-chunk-D921N0ug.js"),G=require("./useGlobalSettings-chunk-DEacV16j.js"),L=({className:i,callback:c,currentPage:l,firstPageUrl:u,firstPageTitle:r="First page",lastPageUrl:j,lastPageTitle:o="Last page",nextPageUrl:m,nextPageTitle:d="Next page",pageCountPreposition:C="of",prevPageUrl:g,prevPageTitle:h="Previous page",totalPages:$,theme:f="light"})=>{const{prefix:k}=G.useGlobalSettings(),s=`${k}--pagination`,b=`${s}__theme__${f}`,v=a.classnames(i,s,b),p=l===0,x=l+1===$,N=a.classnames(i,{[`${s}--first-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:p}),_=a.classnames(i,{[`${s}--prev-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:p}),q=a.classnames(i,{[`${s}--next-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:x}),F=a.classnames(i,{[`${s}--last-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:x}),t=n=>{c&&c(n)};return e.jsxs("div",{className:v,children:[e.jsxs("div",{className:`${s}--previous-set`,children:[e.jsx("a",{className:N,onClick:n=>t(n),href:u,title:r,children:r}),e.jsx("a",{className:_,onClick:n=>t(n),href:g,title:h,children:h})]}),e.jsxs("p",{className:`${s}--page`,children:[e.jsx("span",{children:l+1}),e.jsx("span",{children:C}),e.jsx("span",{children:$})]}),e.jsxs("div",{className:`${s}--next-set`,children:[e.jsx("a",{className:q,onClick:n=>t(n),href:m,title:d,children:d}),e.jsx("a",{className:F,onClick:n=>t(n),href:j,title:o,children:o})]})]})},S=L;exports.Pagination=S;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Pagination-chunk-DYcRUXLg.js");exports.Pagination=i.Pagination;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Pagination-chunk-D3Ve2ASf.js");exports.Pagination=i.Pagination;
@@ -1 +1 @@
1
- "use strict";const t=require("react/jsx-runtime"),u=require("react"),S=require("./index-chunk-D921N0ug.js"),$=require("./useGlobalSettings-chunk-DEacV16j.js"),g=require("./usePrevious-chunk-DENrwKF1.js"),L=require("./Fieldset-chunk-ChX_vSBT.js"),m=require("./FormControl-chunk-CTRPINwt.js"),N=u.forwardRef(({onChange:e,onBlur:a,disabled:l=!1,error:s,id:o,name:r,required:i,checked:n,defaultChecked:c=!1,value:C},x)=>{const{prefix:R}=$.useGlobalSettings(),{setHasError:f}=L.useFieldsetError(),q=m.useFormControl(),b=g.usePrevious(s);u.useEffect(()=>{s!==b&&f(!!s)},[s,b,f]);const{ariaDescribedBy:j}=q,y=E=>{e&&e(E)},d=`${R}--radio`,F=`${d}--control`,h=`${d}__error`,v=S.classnames(d,{[h]:s});return t.jsxs("div",{className:v,children:[t.jsx("input",{ref:x,id:o||r,name:r,onChange:y,onBlur:a,disabled:l,required:i,type:"radio",defaultChecked:c,"aria-describedby":j,checked:n,value:C}),t.jsx("span",{className:F})]})}),P=u.forwardRef((e,a)=>{const{style:l,inputStyle:s,className:o,labelPlacement:r="end",labelSize:i="small",...n}=e,c=e.id?e.id:e.name;return t.jsx(m.FormControl,{fieldId:c,style:l,className:o,labelPlacement:r,labelSize:i,...n,children:t.jsx(N,{ref:a,style:s,...n})})}),w=P;exports.LabelledRadio=w;
1
+ "use strict";const t=require("react/jsx-runtime"),u=require("react"),S=require("./index-chunk-D921N0ug.js"),$=require("./useGlobalSettings-chunk-DEacV16j.js"),g=require("./usePrevious-chunk-DENrwKF1.js"),L=require("./Fieldset-chunk-Dykzn_3y.js"),m=require("./FormControl-chunk-Bv623HDr.js"),N=u.forwardRef(({onChange:e,onBlur:a,disabled:l=!1,error:s,id:o,name:r,required:i,checked:n,defaultChecked:c=!1,value:C},x)=>{const{prefix:R}=$.useGlobalSettings(),{setHasError:f}=L.useFieldsetError(),q=m.useFormControl(),b=g.usePrevious(s);u.useEffect(()=>{s!==b&&f(!!s)},[s,b,f]);const{ariaDescribedBy:j}=q,y=E=>{e&&e(E)},d=`${R}--radio`,F=`${d}--control`,h=`${d}__error`,v=S.classnames(d,{[h]:s});return t.jsxs("div",{className:v,children:[t.jsx("input",{ref:x,id:o||r,name:r,onChange:y,onBlur:a,disabled:l,required:i,type:"radio",defaultChecked:c,"aria-describedby":j,checked:n,value:C}),t.jsx("span",{className:F})]})}),P=u.forwardRef((e,a)=>{const{style:l,inputStyle:s,className:o,labelPlacement:r="end",labelSize:i="small",...n}=e,c=e.id?e.id:e.name;return t.jsx(m.FormControl,{fieldId:c,style:l,className:o,labelPlacement:r,labelSize:i,...n,children:t.jsx(N,{ref:a,style:s,...n})})}),w=P;exports.LabelledRadio=w;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Radio-chunk-U-ZyTPH7.js"),a={className:"Radio",name:"radio"},e={basic:a},i=e;exports.Radio=o.LabelledRadio;exports.RadioArgs=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Radio-chunk-DoLctty-.js"),a={className:"Radio",name:"radio"},e={basic:a},i=e;exports.Radio=o.LabelledRadio;exports.RadioArgs=i;
@@ -1 +1 @@
1
- "use strict";const o=require("react/jsx-runtime"),d=require("react"),u=require("./index-chunk-D921N0ug.js"),q=require("./useGlobalSettings-chunk-DEacV16j.js"),j=require("./RichText-chunk-B8HoKl_2.js"),p=({buttonlabel:s,className:c,excerpt:t,fulltext:r,openatstart:a,...l})=>{const{prefix:x}=q.useGlobalSettings(),n=`${x}--read-more`,[i,R]=d.useState(a?r:t),[e,$]=d.useState(a),m=u.classnames(c,{[n]:!0,[`${n}--open`]:e}),C=u.classnames(c,{[`${n}--button`]:!0,[`${n}--button--open`]:e}),h=()=>{R(i===t?r:t),$(!e)};return o.jsxs("div",{className:m,children:[o.jsx(j.RichText,{content:i,...l}),o.jsx("button",{className:C,"aria-expanded":e,onClick:()=>h(),children:e?`${s&&s.opened}`:`${s&&s.closed}`})]})},M=p;exports.ReadMore=M;
1
+ "use strict";const o=require("react/jsx-runtime"),d=require("react"),u=require("./index-chunk-D921N0ug.js"),q=require("./useGlobalSettings-chunk-DEacV16j.js"),j=require("./RichText-chunk-CLfo33Pr.js"),p=({buttonlabel:s,className:c,excerpt:t,fulltext:r,openatstart:a,...l})=>{const{prefix:x}=q.useGlobalSettings(),n=`${x}--read-more`,[i,R]=d.useState(a?r:t),[e,$]=d.useState(a),m=u.classnames(c,{[n]:!0,[`${n}--open`]:e}),C=u.classnames(c,{[`${n}--button`]:!0,[`${n}--button--open`]:e}),h=()=>{R(i===t?r:t),$(!e)};return o.jsxs("div",{className:m,children:[o.jsx(j.RichText,{content:i,...l}),o.jsx("button",{className:C,"aria-expanded":e,onClick:()=>h(),children:e?`${s&&s.opened}`:`${s&&s.closed}`})]})},M=p;exports.ReadMore=M;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ReadMore-chunk-D36Ibsoy.js");exports.ReadMore=e.ReadMore;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ReadMore-chunk-Cz3Dc9Cz.js");exports.ReadMore=e.ReadMore;
@@ -0,0 +1 @@
1
+ "use strict";const l=require("react/jsx-runtime"),o=require("./index-chunk-D921N0ug.js"),a=require("./useGlobalSettings-chunk-DEacV16j.js"),h=({className:s,content:t,theme:n="light"})=>{const{prefix:c}=a.useGlobalSettings(),e=`${c}--richtext`,i=`${e}__theme__${n}`,r=o.classnames(s,e,i);return l.jsx("div",{className:r,dangerouslySetInnerHTML:{__html:t}})},u=h;exports.RichText=u;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./RichText-chunk-B8HoKl_2.js");exports.RichText=e.RichText;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./RichText-chunk-CLfo33Pr.js");exports.RichText=e.RichText;
@@ -0,0 +1 @@
1
+ "use strict";const s=require("react/jsx-runtime"),N=require("react"),u=require("./index-chunk-D921N0ug.js"),v=require("./useGlobalSettings-chunk-DEacV16j.js"),C=require("./Button-chunk-BPxitLjn.js"),L=require("./Link-chunk-BcVWiDXw.js"),g=require("./LinkList-chunk-AT26ZVEG.js"),I=require("./Profile-chunk-Du8HEAQA.js"),S=require("./Icon-chunk-QFryHTpy.js"),y=require("./List-entry-DRGsrQZi.js"),M=require("./Picture-chunk-CK6tJPnd.js"),V=require("./Status-chunk-3GZXo15N.js"),G=N.forwardRef(({className:p,title:c,theme:r="light",size:e="standard",color:m,intro:o,source:n,titleLevel:x="p"},i)=>{const{prefix:a}=v.useGlobalSettings(),t=`${a}--card`,$=u.classnames(`${t}--wrapper`,p),d=u.classnames(t,`${t}__type__stat`,{[`${t}__size__${String(e)}`]:e,[`${t}__theme__${r}`]:r,[`${t}__color__${m}`]:m});return s.jsx("div",{className:$,ref:i,children:s.jsx("div",{className:d,children:s.jsx("div",{className:`${t}--wrap`,children:s.jsxs("div",{className:`${t}--content`,children:[s.jsx(x,{className:`${t}--title`,children:c}),o&&s.jsx("p",{className:`${t}--intro`,children:o}),n&&s.jsx(L.Link,{className:`${t}--source`,url:n.url,label:n.label})]})})})})}),R=N.forwardRef(({className:p,title:c,size:r="standard",alignment:e,intro:m,link:o,linklist:n,image:x,titleLevel:i="p",eyebrow:a,isVideo:t,theme:$="light"},d)=>{const{prefix:l}=v.useGlobalSettings(),_=`${l}--card`,h=u.classnames(_,p,`${_}__type__multilink`,{[`${_}__align__${e}`]:e,[`${_}__size__${r}`]:r,[`${_}__isvideo`]:t,[`${_}--no-image`]:!x,[`${_}__theme__${$}`]:$});return s.jsxs("div",{className:h,ref:d,children:[o&&s.jsx("a",{className:`${_}--link`,href:o,title:c,children:s.jsx("span",{className:`${_}--link--text`,children:c})}),s.jsxs("div",{className:`${_}--wrap`,children:[x&&s.jsx("div",{className:`${_}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:x,alt:c,className:`${_}--picture`})})}),s.jsxs("div",{className:`${_}--content`,children:[a&&s.jsx("p",{className:`${_}--eyebrow`,children:a}),s.jsx(i,{className:`${_}--title`,children:c}),x&&s.jsx("div",{className:`${_}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:x,alt:c,className:`${_}--picture`})})}),m&&(N.isValidElement(m)?s.jsx("div",{className:`${_}--intro`,children:m}):s.jsx("p",{className:`${_}--intro`,children:m})),n&&s.jsx(g.LinkList,{...n})]})]})]})}),q=N.forwardRef(({className:p,title:c,theme:r="light",size:e="narrow",date:m,profile:o,link:n,titleLevel:x="p",eyebrow:i},a)=>{const{prefix:t}=v.useGlobalSettings(),$=`${t}--card`,d=u.classnames(`${$}--wrapper`,p),l=u.classnames($,`${$}__type__text`,{[`${$}__size__${String(e)}`]:e,[`${$}__theme__${r}`]:r});return s.jsx("div",{className:d,ref:a,children:s.jsxs("div",{className:l,children:[s.jsx("a",{className:`${$}--link`,href:n,title:c,children:s.jsx("span",{className:`${$}--link--text`,children:c})}),s.jsx("div",{className:`${$}--wrap`,children:s.jsxs("div",{className:`${$}--content`,children:[i&&s.jsx("p",{className:`${$}--eyebrow`,children:i}),s.jsx(x,{className:`${$}--title`,children:c}),m&&s.jsx("time",{className:`${$}--date`,dateTime:m.unix,children:m.human}),o&&s.jsx(I.Profile,{avatar:o.avatar,description:o.description,link:o.link,name:o.name,role:o.role,theme:r})]})})]})})}),T=N.forwardRef(({className:p,title:c,theme:r="light",size:e="narrow",cornercut:m,intro:o,link:n,cta:x,titleLevel:i="p",eyebrow:a},t)=>{const{prefix:$}=v.useGlobalSettings(),d=`${$}--card`,l=u.classnames(`${d}--wrapper`,p,`${d}--wrapper__type__promo`,`${d}--wrapper__type__promo__size__${e}`),_=u.classnames(d,`${d}__type__promo`,{[`${d}__size__${String(e)}`]:e,[`${d}__theme__${r}`]:r,[`${d}__cornercut`]:m});return s.jsx("div",{className:l,ref:t,children:s.jsxs("div",{className:_,children:[s.jsx("a",{className:`${d}--link`,href:n,title:c,children:s.jsx("span",{className:`${d}--link--text`,children:c})}),s.jsx("div",{className:`${d}--wrap`,children:s.jsxs("div",{className:`${d}--content`,children:[a&&s.jsx("p",{className:`${d}--eyebrow`,children:a}),s.jsx(i,{className:`${d}--title`,children:c}),o&&s.jsx("p",{className:`${d}--intro`,children:o}),(x==null?void 0:x.label)&&s.jsx("div",{className:`${d}--cta`,children:s.jsx(C.Button,{link:{url:x.url,label:x.label},size:"medium",type:"primary"})})]})})]})})}),P=N.forwardRef(({className:p,title:c,theme:r="light",size:e="narrow",date:m,link:o,linklist:n,image:x,titleLevel:i="p",eyebrow:a,isVideo:t},$)=>{const{prefix:d}=v.useGlobalSettings(),l=`${d}--card`,_=u.classnames(l,p,`${l}__type__feature`,{[`${l}__size__${String(e)}`]:e,[`${l}__theme__${r}`]:r,[`${l}__isvideo`]:t,[`${l}__linklist`]:n});return s.jsxs("div",{className:_,ref:$,children:[o&&s.jsx("a",{className:`${l}--link`,href:o,title:c,children:s.jsx("span",{className:`${l}--link--text`,children:c})}),s.jsxs("div",{className:`${l}--wrap`,children:[x&&s.jsx("div",{className:`${l}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:x,alt:c,className:`${l}--picture`})})}),s.jsxs("div",{className:`${l}--content`,children:[a&&s.jsx("p",{className:`${l}--eyebrow`,children:a}),s.jsx(i,{className:`${l}--title`,children:c}),m&&s.jsx("time",{className:`${l}--date`,dateTime:m.unix,children:m.human}),n&&e==="narrow"&&s.jsx(g.LinkList,{headline:n.headline,linkgroup:n.linkgroup,theme:r})]})]}),n&&(e==="wide"||e==="fluid")&&s.jsx(g.LinkList,{headline:n.headline,linkgroup:n.linkgroup,theme:r})]})}),B=N.forwardRef(({className:p,title:c,theme:r="light",size:e="narrow",date:m,details:o,link:n,titleLevel:x="p",eyebrow:i,intro:a,image:t,isVideo:$=!1,linkComponent:d},l)=>{const{prefix:_}=v.useGlobalSettings(),h=`${_}--card`,j=u.classnames(h,`${h}__type__detail`,p,{[`${h}__size__${String(e)}`]:e,[`${h}__theme__${r}`]:r,[`${h}__isvideo`]:$}),w=N.createElement(d||"a",{className:`${h}--link`,href:n,title:c},s.jsx("span",{className:`${h}--link--text`,children:c}));return s.jsxs("div",{className:j,ref:l,children:[n&&w,s.jsxs("div",{className:`${h}--wrap`,children:[t&&s.jsx("div",{className:`${h}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${h}--picture`,src:t,alt:c})})}),s.jsxs("div",{className:`${h}--content`,children:[i&&s.jsx("p",{className:`${h}--eyebrow`,children:i}),c&&s.jsx(x,{className:`${h}--title`,children:c}),a&&(N.isValidElement(a)?s.jsx("div",{className:`${h}--intro`,children:a}):s.jsx("p",{className:`${h}--intro`,children:a})),m&&!o&&s.jsx("time",{className:`${h}--date`,dateTime:m.unix,children:m.human}),o&&s.jsxs("p",{className:`${h}--date-extra`,children:[s.jsx(S.Icon,{name:"TriangleRight",size:20}),o]})]})]})]})}),F=N.forwardRef(({title:p,theme:c="light",size:r="narrow",list:e,titleLevel:m="p",className:o},n)=>{const{prefix:x}=v.useGlobalSettings(),i=`${x}--card`,a=u.classnames(i,`${i}__type__factlist`,o,{[`${i}__size__${r}`]:r,[`${i}__theme__${c}`]:c});return s.jsx("div",{className:a,ref:n,children:s.jsx("div",{className:`${i}--wrap`,children:s.jsxs("div",{className:`${i}--content`,children:[p&&s.jsx(m,{className:`${x}--card--title`,children:p}),s.jsx(y.List,{alignment:"default",ordered:"unordered",theme:c,children:e.map(t=>s.jsx(y.List.Item,{children:s.jsx("p",{children:t})},t))})]})})})}),D=N.forwardRef(({eyebrow:p,size:c="narrow",image:r,dataset:e,columns:m="one",className:o},n)=>{var d;const{prefix:x}=v.useGlobalSettings(),i=c==="narrow"?"one":m,a=`${x}--card`,t=u.classnames(a,`${a}__type__data`,o,{[`${a}__size__${String(c)}`]:c,[`${a}__type__data__columns__${i}`]:i}),$=u.classnames(`${a}--content`,{[`${a}--content__with-image`]:r,[`${a}--content__no-image-with-links`]:!r&&(e==null?void 0:e.links),[`${a}--content__default`]:!r&&!(e!=null&&e.links)});return s.jsx("div",{className:t,ref:n,children:s.jsxs("div",{className:`${a}--wrap`,children:[!r&&p&&s.jsx("div",{className:`${a}--eyebrow`,children:p}),s.jsxs("div",{className:$,children:[r&&s.jsxs("div",{className:`${a}--area--image`,children:[p&&s.jsx("div",{className:`${a}--eyebrow`,children:p}),s.jsx("div",{className:`${a}--image`,children:s.jsx("picture",{children:s.jsx("img",{className:`${a}--picture`,src:r,alt:p})})})]}),(d=e==null?void 0:e.content)==null?void 0:d.items.map((l,_)=>s.jsxs("div",{className:`${a}--area--content`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:l.label}),s.jsx("p",{className:`${a}__type__data--content-copy`,children:l.copy})]},_)),(e==null?void 0:e.files)&&s.jsx("div",{className:`${a}--area--files`,children:s.jsxs("div",{className:`${a}__type__data--content-files`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:e.files.headline}),e.files.items.map((l,_)=>s.jsx(C.Button,{link:{url:l.url,label:l.label,target:l.target||"_self"},size:"small"},_))]})}),(e==null?void 0:e.cta)&&s.jsx("div",{className:`${a}--area--cta`,children:s.jsxs("div",{className:`${a}__type__data--content-cta`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:e.cta.headline}),e.cta.items.map(l=>s.jsx(C.Button,{type:"secondary",size:"small",link:{url:l.url,label:l.label,target:l.target}},l.label))]})}),(e==null?void 0:e.links)&&s.jsx("div",{className:`${a}--area--links`,children:s.jsxs("div",{className:`${a}__type__data--content-links`,children:[s.jsx("p",{className:`${a}__type__data--content-label`,children:e.links.headline}),s.jsx("div",{className:`${a}__type__data--content-links-list`,children:e.links.items.map(l=>s.jsx(N.Fragment,{children:s.jsx(L.Link,{url:l.url,label:l.label,className:`${a}__type__data--content-link`})},l.label+l.url))})]})})]})]})})}),z={stat:G,multilink:R,text:q,promo:T,feature:P,detail:B,factlist:F,data:D},A=N.forwardRef(({type:p,group:c,cardCount:r="one",cta:e,collapsed:m=!1},o)=>{const n=z[p],{prefix:x}=v.useGlobalSettings(),i=`${x}--cardgroup`,a=u.classnames(i,`${i}__count__${r}`,{[`${i}__collapsed`]:m});return s.jsxs("div",{className:a,ref:o,children:[s.jsx("div",{className:`${i}--inner`,children:c.map((t,$)=>s.jsx(n,{...t},$))}),e&&s.jsx("div",{className:`${i}--button-wrap`,children:s.jsx(C.Button,{link:{url:e.url,label:e.label},type:"secondary",size:"medium"})})]})}),H=N.forwardRef(({className:p,theme:c="light",titleLevel:r="p",size:e="narrow",link:m,linkComponent:o,title:n,isVideo:x=!1,image:i,status:a,eyebrow:t,content:$,cta:d},l)=>{var k;const{prefix:_}=v.useGlobalSettings(),h=c==="dark"?"var(--ilo-color-white)":"var(--ilo-color-gray-accessible)",j=`${_}--card`,w=u.classnames(j,`${j}__type__score`,{[`${j}__theme__${c}`]:c,[`${j}__size__${e}`]:e,[`${j}__isvideo`]:x}),E=N.createElement(o||"a",{href:m,title:n,className:`${j}--link`},s.jsx("span",{className:`${j}--link--text`,children:n}));return s.jsxs("div",{className:u.classnames(w,p),ref:l,children:[E,s.jsxs("div",{className:`${j}--wrap`,children:[i&&e!=="simple"&&s.jsx("div",{className:`${j}--image--wrapper`,children:s.jsx(M.Picture,{...i})}),s.jsxs("div",{className:`${j}--content`,children:[a&&s.jsx(V.Status,{content:a.content,statusType:a.statusType}),t&&e!=="simple"&&s.jsx("p",{className:`${j}--eyebrow`,children:t}),n&&s.jsx(r,{className:`${j}--title`,children:n}),$&&s.jsx("div",{className:`${j}--area--content`,children:(k=$.items)==null?void 0:k.map((f,b)=>s.jsxs("div",{className:`${j}--content--item`,children:[s.jsx(S.Icon,{name:f.icon,size:20,color:h}),s.jsx("span",{children:f.label})]},b))}),d&&s.jsx("div",{className:`${j}--area--cta`,children:d.items.map((f,b)=>s.jsx("div",{className:`${j}--cta`,children:f},b))})]})]})]})});exports.CardGroup=A;exports.DataCard=D;exports.DetailCard=B;exports.FactListCard=F;exports.FeatureCard=P;exports.MultiLinkCard=R;exports.PromoCard=T;exports.ScoreCard=H;exports.StatCard=G;exports.TextCard=q;
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),b=require("react"),F=require("./index-chunk-D921N0ug.js"),I=require("./useGlobalSettings-chunk-DEacV16j.js"),N=require("./Input-chunk-sjstsyZQ.js"),k=require("./Icon-chunk-QFryHTpy.js"),v=b.forwardRef(({action:m,callback:c,className:t,input:e},C)=>{const[o,d]=b.useState(""),{prefix:l}=I.useGlobalSettings(),a=`${l}--searchfield`,S=`${a}--button`,f=`${a}--clear-button ${o.trim()!==""&&"show"}`,x=`${l}--fieldset`,j=F.classnames(t,{[a]:!0,haslabel:e==null?void 0:e.label}),y=r=>{c&&c(r)},$=()=>{d("")},q=r=>{d(r.target.value)},h=!!(e!=null&&e.type);if(!h)throw new Error("SearchField: Input must have type prop");return h?s.jsxs("form",{className:j,action:m,children:[s.jsxs("div",{className:x,children:[s.jsx(N.Input,{id:e==null?void 0:e.id,name:e==null?void 0:e.name,disabled:e==null?void 0:e.disabled,callback:q,error:e==null?void 0:e.error,helper:e==null?void 0:e.helper,label:e==null?void 0:e.label,placeholder:e==null?void 0:e.placeholder,type:e==null?void 0:e.type,value:o,className:`${l}--input`,ref:C}),s.jsx("span",{onClick:$,className:f,role:"presentation",children:s.jsx(k.Icon,{name:"close",hidden:!0})})]}),s.jsx("input",{className:S,disabled:e==null?void 0:e.disabled,type:"submit",onClick:y})]}):null}),w=v;exports.SearchField=w;
1
+ "use strict";const s=require("react/jsx-runtime"),b=require("react"),F=require("./index-chunk-D921N0ug.js"),I=require("./useGlobalSettings-chunk-DEacV16j.js"),N=require("./Input-chunk-DUdxvEKw.js"),k=require("./Icon-chunk-QFryHTpy.js"),v=b.forwardRef(({action:m,callback:c,className:t,input:e},C)=>{const[o,d]=b.useState(""),{prefix:l}=I.useGlobalSettings(),a=`${l}--searchfield`,S=`${a}--button`,f=`${a}--clear-button ${o.trim()!==""&&"show"}`,x=`${l}--fieldset`,j=F.classnames(t,{[a]:!0,haslabel:e==null?void 0:e.label}),y=r=>{c&&c(r)},$=()=>{d("")},q=r=>{d(r.target.value)},h=!!(e!=null&&e.type);if(!h)throw new Error("SearchField: Input must have type prop");return h?s.jsxs("form",{className:j,action:m,children:[s.jsxs("div",{className:x,children:[s.jsx(N.Input,{id:e==null?void 0:e.id,name:e==null?void 0:e.name,disabled:e==null?void 0:e.disabled,callback:q,error:e==null?void 0:e.error,helper:e==null?void 0:e.helper,label:e==null?void 0:e.label,placeholder:e==null?void 0:e.placeholder,type:e==null?void 0:e.type,value:o,className:`${l}--input`,ref:C}),s.jsx("span",{onClick:$,className:f,role:"presentation",children:s.jsx(k.Icon,{name:"close",hidden:!0})})]}),s.jsx("input",{className:S,disabled:e==null?void 0:e.disabled,type:"submit",onClick:y})]}):null}),w=v;exports.SearchField=w;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SearchField-chunk-CUGa67lu.js");exports.SearchField=e.SearchField;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SearchField-chunk-BuB-C9aK.js");exports.SearchField=e.SearchField;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./TextInput.args-chunk-DIxsZT_y.js");exports.TextInput=t.LabelledTextInput;exports.TextInputArgs=t.TextInput_args;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./TextInput.args-chunk-Bs7YIRuJ.js");exports.TextInput=t.LabelledTextInput;exports.TextInputArgs=t.TextInput_args;
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),c=require("react"),g=require("./index-chunk-D921N0ug.js"),q=require("./useGlobalSettings-chunk-DEacV16j.js"),u=require("./FormControl-chunk-CTRPINwt.js"),I=c.forwardRef(({onChange:t,onBlur:a,error:o,id:s,name:r,placeholder:l,required:n,pattern:p,value:h,disabled:b=!1,type:m="text"},x)=>{const{prefix:y}=q.useGlobalSettings(),f=u.useFormControl(),{ariaDescribedBy:T}=f,d=`${y}--text-input`,w=g.classnames(d,{[`${d}__error`]:o});return i.jsx("input",{value:h,ref:x,id:s||r,name:r,onChange:t,onBlur:a,disabled:b,placeholder:l,required:n,type:m,className:w,pattern:p,"aria-describedby":T})}),_=c.forwardRef((t,a)=>{const{style:o,inputStyle:s,className:r,...l}=t,n=t.id?t.id:t.name;return i.jsx(u.FormControl,{fieldId:n,style:o,className:r,...l,children:i.jsx(I,{ref:a,style:s,...l})})}),C=_,e={disabled:!1,errorMessage:"This is an error message",error:!1,style:{width:"100%"},id:"text-input",label:"Insert your name here",labelPlacement:"top",labelSize:"medium",name:"text",placeholder:"This is a text field",required:!1,type:"text"},j={...e,disabled:!0,placeholder:"Disabled Text Field"},S={...e,placeholder:"This has a helper text"},E={...e,placeholder:"This has an error",error:!0},F={...e,placeholder:"This has an tooltip",tooltip:"This is a tooltip"},R={...e,label:"Enter your email address",placeholder:"my@email.com",type:"email",id:"email-input"},L={...e,label:"Enter your password",placeholder:"Must be 8 digits long",type:"password",id:"password-input"},M={...e,name:"tel",label:"Enter your telephone number",placeholder:"###-###-####",required:!1,type:"tel",pattern:"[0-9]{3}-[0-9]{3}-[0-9]{4}"},$={...e,label:"Enter website address",id:"url-input",name:"url",placeholder:"https://www.example.com",required:!1,type:"url"},z=Object.freeze(Object.defineProperty({__proto__:null,basic:e,email:R,haserror:E,hashelper:S,hastooltip:F,isdisabled:j,password:L,telephone:M,url:$},Symbol.toStringTag,{value:"Module"}));exports.LabelledTextInput=C;exports.TextInput_args=z;
1
+ "use strict";const i=require("react/jsx-runtime"),c=require("react"),g=require("./index-chunk-D921N0ug.js"),q=require("./useGlobalSettings-chunk-DEacV16j.js"),u=require("./FormControl-chunk-Bv623HDr.js"),I=c.forwardRef(({onChange:t,onBlur:a,error:o,id:s,name:r,placeholder:l,required:n,pattern:p,value:h,disabled:b=!1,type:m="text"},x)=>{const{prefix:y}=q.useGlobalSettings(),f=u.useFormControl(),{ariaDescribedBy:T}=f,d=`${y}--text-input`,w=g.classnames(d,{[`${d}__error`]:o});return i.jsx("input",{value:h,ref:x,id:s||r,name:r,onChange:t,onBlur:a,disabled:b,placeholder:l,required:n,type:m,className:w,pattern:p,"aria-describedby":T})}),_=c.forwardRef((t,a)=>{const{style:o,inputStyle:s,className:r,...l}=t,n=t.id?t.id:t.name;return i.jsx(u.FormControl,{fieldId:n,style:o,className:r,...l,children:i.jsx(I,{ref:a,style:s,...l})})}),C=_,e={disabled:!1,errorMessage:"This is an error message",error:!1,style:{width:"100%"},id:"text-input",label:"Insert your name here",labelPlacement:"top",labelSize:"medium",name:"text",placeholder:"This is a text field",required:!1,type:"text"},j={...e,disabled:!0,placeholder:"Disabled Text Field"},S={...e,placeholder:"This has a helper text"},E={...e,placeholder:"This has an error",error:!0},F={...e,placeholder:"This has an tooltip",tooltip:"This is a tooltip"},R={...e,label:"Enter your email address",placeholder:"my@email.com",type:"email",id:"email-input"},L={...e,label:"Enter your password",placeholder:"Must be 8 digits long",type:"password",id:"password-input"},M={...e,name:"tel",label:"Enter your telephone number",placeholder:"###-###-####",required:!1,type:"tel",pattern:"[0-9]{3}-[0-9]{3}-[0-9]{4}"},$={...e,label:"Enter website address",id:"url-input",name:"url",placeholder:"https://www.example.com",required:!1,type:"url"},z=Object.freeze(Object.defineProperty({__proto__:null,basic:e,email:R,haserror:E,hashelper:S,hastooltip:F,isdisabled:j,password:L,telephone:M,url:$},Symbol.toStringTag,{value:"Module"}));exports.LabelledTextInput=C;exports.TextInput_args=z;
@@ -1 +1 @@
1
- "use strict";const l=require("react/jsx-runtime"),i=require("react"),C=require("./index-chunk-D921N0ug.js"),f=require("./useGlobalSettings-chunk-DEacV16j.js"),d=require("./FormControl-chunk-CTRPINwt.js"),q=i.forwardRef(({error:e,className:a,name:t,id:r,...o},s)=>{const{prefix:n}=f.useGlobalSettings(),x=d.useFormControl(),{ariaDescribedBy:u}=x,c=`${n}--textarea`,b=`${c}__error`,m=C.classnames(c,a,{[b]:e});return l.jsx("textarea",{ref:s,className:m,name:t,id:r||t,"aria-describedby":u,...o})}),y=i.forwardRef((e,a)=>{const{style:t,inputStyle:r,className:o,...s}=e,n=e.id?e.id:e.name;return l.jsx(d.FormControl,{fieldId:n,style:t,className:o,...s,children:l.jsx(q,{ref:a,style:r,...s})})}),j=y;exports.LabelledTextarea=j;
1
+ "use strict";const l=require("react/jsx-runtime"),i=require("react"),C=require("./index-chunk-D921N0ug.js"),f=require("./useGlobalSettings-chunk-DEacV16j.js"),d=require("./FormControl-chunk-Bv623HDr.js"),q=i.forwardRef(({error:e,className:a,name:t,id:r,...o},s)=>{const{prefix:n}=f.useGlobalSettings(),x=d.useFormControl(),{ariaDescribedBy:u}=x,c=`${n}--textarea`,b=`${c}__error`,m=C.classnames(c,a,{[b]:e});return l.jsx("textarea",{ref:s,className:m,name:t,id:r||t,"aria-describedby":u,...o})}),y=i.forwardRef((e,a)=>{const{style:t,inputStyle:r,className:o,...s}=e,n=e.id?e.id:e.name;return l.jsx(d.FormControl,{fieldId:n,style:t,className:o,...s,children:l.jsx(q,{ref:a,style:r,...s})})}),j=y;exports.LabelledTextarea=j;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./Textarea-chunk-Gr_D4IfG.js"),a="It was a cold day in April and the clocks were striking thirteen....",e={id:"textarea",disabled:!1,name:"textarea",placeholder:a,required:!1,spellcheck:!1,label:"Insert your life story here",labelPlacement:"top",labelSize:"medium",style:{width:"100%"},errorMessage:"This is an error message"},t={...e,error:!0},s={...e,disabled:!0},l={basic:e,haserror:t,disabled:s};exports.Textarea=r.LabelledTextarea;exports.TextareaArgs=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./Textarea-chunk-XYsrIeDn.js"),a="It was a cold day in April and the clocks were striking thirteen....",e={id:"textarea",disabled:!1,name:"textarea",placeholder:a,required:!1,spellcheck:!1,label:"Insert your life story here",labelPlacement:"top",labelSize:"medium",style:{width:"100%"},errorMessage:"This is an error message"},t={...e,error:!0},s={...e,disabled:!0},l={basic:e,haserror:t,disabled:s};exports.Textarea=r.LabelledTextarea;exports.TextareaArgs=l;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),d=require("react"),k=require("./useGlobalSettings-chunk-DEacV16j.js"),z=require("./index-chunk-D921N0ug.js"),u=require("./FormControl-chunk-CTRPINwt.js"),$=d.forwardRef(({size:s="medium",error:c=!1,disabled:t=!1,defaultChecked:a=!1,required:i=!1,id:n,name:l,onChange:m,onBlur:f,onClick:b,checked:h,className:C},_)=>{const{prefix:x}=k.useGlobalSettings(),y=u.useFormControl(),{ariaDescribedBy:T}=y,p=!t&&!!c,o=`${x}--input--toggle`,S=`${o}--slider`,j=z.classnames(o,C,`${o}__size__${s}`,[{[`${o}__error`]:p},{[`${o}__disabled`]:t}]);return r.jsxs("div",{className:j,children:[r.jsx("input",{ref:_,checked:h,disabled:t,defaultChecked:a,name:l,id:n||l,type:"checkbox",role:"switch",required:i,onChange:m,onBlur:f,onClick:b,"aria-describedby":T}),r.jsx("span",{className:S})]})}),q=d.forwardRef((s,c)=>{const t=s.id?s.id:s.name,{style:a,inputStyle:i,className:n,...l}=s;return r.jsx(u.FormControl,{fieldId:t,style:a,className:n,...l,children:r.jsx($,{ref:c,style:i,...l})})}),v=q,e={defaultChecked:!1,errorMessage:"Invalid option",name:"my-toggle",size:"medium",label:"Show details",labelPlacement:"end",labelSize:"small"},w={...e,defaultChecked:!0},D={...e,disabled:!0},g={...e,helper:"This is a helper text"},M={...g,tooltip:"This is a tooltip"},R={...e,error:!0},F={...e,defaultChecked:!0},L={...e,onClick:()=>console.log("clicked"),checked:!0},N={...e,size:"large"},O={...e,size:"medium"},P={...e,size:"small"},E=Object.freeze(Object.defineProperty({__proto__:null,Checked:w,Controlled:L,Default:e,DefaultChecked:F,Disabled:D,Error:R,Helper:g,Large:N,Medium:O,Small:P,Tooltip:M},Symbol.toStringTag,{value:"Module"}));exports.Toggle=v;exports.ToggleArgs=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),d=require("react"),k=require("./useGlobalSettings-chunk-DEacV16j.js"),z=require("./index-chunk-D921N0ug.js"),u=require("./FormControl-chunk-Bv623HDr.js"),$=d.forwardRef(({size:s="medium",error:c=!1,disabled:t=!1,defaultChecked:a=!1,required:i=!1,id:n,name:l,onChange:m,onBlur:f,onClick:b,checked:h,className:C},_)=>{const{prefix:x}=k.useGlobalSettings(),y=u.useFormControl(),{ariaDescribedBy:T}=y,p=!t&&!!c,o=`${x}--input--toggle`,S=`${o}--slider`,j=z.classnames(o,C,`${o}__size__${s}`,[{[`${o}__error`]:p},{[`${o}__disabled`]:t}]);return r.jsxs("div",{className:j,children:[r.jsx("input",{ref:_,checked:h,disabled:t,defaultChecked:a,name:l,id:n||l,type:"checkbox",role:"switch",required:i,onChange:m,onBlur:f,onClick:b,"aria-describedby":T}),r.jsx("span",{className:S})]})}),q=d.forwardRef((s,c)=>{const t=s.id?s.id:s.name,{style:a,inputStyle:i,className:n,...l}=s;return r.jsx(u.FormControl,{fieldId:t,style:a,className:n,...l,children:r.jsx($,{ref:c,style:i,...l})})}),v=q,e={defaultChecked:!1,errorMessage:"Invalid option",name:"my-toggle",size:"medium",label:"Show details",labelPlacement:"end",labelSize:"small"},w={...e,defaultChecked:!0},D={...e,disabled:!0},g={...e,helper:"This is a helper text"},M={...g,tooltip:"This is a tooltip"},R={...e,error:!0},F={...e,defaultChecked:!0},L={...e,onClick:()=>console.log("clicked"),checked:!0},N={...e,size:"large"},O={...e,size:"medium"},P={...e,size:"small"},E=Object.freeze(Object.defineProperty({__proto__:null,Checked:w,Controlled:L,Default:e,DefaultChecked:F,Disabled:D,Error:R,Helper:g,Large:N,Medium:O,Small:P,Tooltip:M},Symbol.toStringTag,{value:"Module"}));exports.Toggle=v;exports.ToggleArgs=E;
@@ -1 +1 @@
1
- "use strict";const Ee=require("react/jsx-runtime"),F=require("react"),Ie=require("./index-chunk-D921N0ug.js"),dt=require("./useGlobalSettings-chunk-DEacV16j.js");var D="top",k="bottom",L="right",C="left",Re="auto",ce=[D,k,L,C],Q="start",se="end",ht="clippingParents",Ze="viewport",ae="popper",mt="reference",Xe=ce.reduce(function(e,t){return e.concat([t+"-"+Q,t+"-"+se])},[]),et=[].concat(ce,[Re]).reduce(function(e,t){return e.concat([t,t+"-"+Q,t+"-"+se])},[]),gt="beforeRead",yt="read",bt="afterRead",wt="beforeMain",xt="main",Ot="afterMain",At="beforeWrite",Et="write",$t="afterWrite",Pt=[gt,yt,bt,wt,xt,Ot,At,Et,$t];function N(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function J(e){var t=S(e).Element;return e instanceof t||e instanceof Element}function T(e){var t=S(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function je(e){if(typeof ShadowRoot>"u")return!1;var t=S(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Rt(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!T(o)||!N(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(c){var i=a[c];i===!1?o.removeAttribute(c):o.setAttribute(c,i===!0?"":i)}))})}function jt(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),i=c.reduce(function(s,p){return s[p]="",s},{});!T(a)||!N(a)||(Object.assign(a.style,i),Object.keys(o).forEach(function(s){a.removeAttribute(s)}))})}}const Dt={name:"applyStyles",enabled:!0,phase:"write",fn:Rt,effect:jt,requires:["computeStyles"]};function H(e){return e.split("-")[0]}var _=Math.max,ye=Math.min,Z=Math.round;function $e(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function tt(){return!/^((?!chrome|android).)*safari/i.test($e())}function ee(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&T(e)&&(a=e.offsetWidth>0&&Z(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Z(n.height)/e.offsetHeight||1);var c=J(e)?S(e):window,i=c.visualViewport,s=!tt()&&r,p=(n.left+(s&&i?i.offsetLeft:0))/a,f=(n.top+(s&&i?i.offsetTop:0))/o,v=n.width/a,m=n.height/o;return{width:v,height:m,top:f,right:p+v,bottom:f+m,left:p,x:p,y:f}}function De(e){var t=ee(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function rt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&je(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function V(e){return S(e).getComputedStyle(e)}function Ct(e){return["table","td","th"].indexOf(N(e))>=0}function I(e){return((J(e)?e.ownerDocument:e.document)||window.document).documentElement}function be(e){return N(e)==="html"?e:e.assignedSlot||e.parentNode||(je(e)?e.host:null)||I(e)}function Ye(e){return!T(e)||V(e).position==="fixed"?null:e.offsetParent}function Bt(e){var t=/firefox/i.test($e()),r=/Trident/i.test($e());if(r&&T(e)){var n=V(e);if(n.position==="fixed")return null}var a=be(e);for(je(a)&&(a=a.host);T(a)&&["html","body"].indexOf(N(a))<0;){var o=V(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function pe(e){for(var t=S(e),r=Ye(e);r&&Ct(r)&&V(r).position==="static";)r=Ye(r);return r&&(N(r)==="html"||N(r)==="body"&&V(r).position==="static")?t:r||Bt(e)||t}function Ce(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function oe(e,t,r){return _(e,ye(t,r))}function St(e,t,r){var n=oe(e,t,r);return n>r?r:n}function nt(){return{top:0,right:0,bottom:0,left:0}}function at(e){return Object.assign({},nt(),e)}function ot(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Tt=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,at(typeof t!="number"?t:ot(t,ce))};function kt(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,c=r.modifiersData.popperOffsets,i=H(r.placement),s=Ce(i),p=[C,L].indexOf(i)>=0,f=p?"height":"width";if(!(!o||!c)){var v=Tt(a.padding,r),m=De(o),u=s==="y"?D:C,w=s==="y"?k:L,h=r.rects.reference[f]+r.rects.reference[s]-c[s]-r.rects.popper[f],d=c[s]-r.rects.reference[s],y=pe(o),O=y?s==="y"?y.clientHeight||0:y.clientWidth||0:0,x=h/2-d/2,l=v[u],g=O-m[f]-v[w],b=O/2-m[f]/2+x,A=oe(l,b,g),P=s;r.modifiersData[n]=(t={},t[P]=A,t.centerOffset=A-b,t)}}function Lt(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||rt(t.elements.popper,a)&&(t.elements.arrow=a))}const Mt={name:"arrow",enabled:!0,phase:"main",fn:kt,effect:Lt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(e){return e.split("-")[1]}var Wt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ht(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Z(r*a)/a||0,y:Z(n*a)/a||0}}function ze(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,c=e.offsets,i=e.position,s=e.gpuAcceleration,p=e.adaptive,f=e.roundOffsets,v=e.isFixed,m=c.x,u=m===void 0?0:m,w=c.y,h=w===void 0?0:w,d=typeof f=="function"?f({x:u,y:h}):{x:u,y:h};u=d.x,h=d.y;var y=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),x=C,l=D,g=window;if(p){var b=pe(r),A="clientHeight",P="clientWidth";if(b===S(r)&&(b=I(r),V(b).position!=="static"&&i==="absolute"&&(A="scrollHeight",P="scrollWidth")),b=b,a===D||(a===C||a===L)&&o===se){l=k;var $=v&&b===g&&g.visualViewport?g.visualViewport.height:b[A];h-=$-n.height,h*=s?1:-1}if(a===C||(a===D||a===k)&&o===se){x=L;var E=v&&b===g&&g.visualViewport?g.visualViewport.width:b[P];u-=E-n.width,u*=s?1:-1}}var R=Object.assign({position:i},p&&Wt),M=f===!0?Ht({x:u,y:h},S(r)):{x:u,y:h};if(u=M.x,h=M.y,s){var j;return Object.assign({},R,(j={},j[l]=O?"0":"",j[x]=y?"0":"",j.transform=(g.devicePixelRatio||1)<=1?"translate("+u+"px, "+h+"px)":"translate3d("+u+"px, "+h+"px, 0)",j))}return Object.assign({},R,(t={},t[l]=O?h+"px":"",t[x]=y?u+"px":"",t.transform="",t))}function Nt(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,c=o===void 0?!0:o,i=r.roundOffsets,s=i===void 0?!0:i,p={placement:H(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ze(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ze(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Vt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}};var me={passive:!0};function qt(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,c=n.resize,i=c===void 0?!0:c,s=S(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&p.forEach(function(f){f.addEventListener("scroll",r.update,me)}),i&&s.addEventListener("resize",r.update,me),function(){o&&p.forEach(function(f){f.removeEventListener("scroll",r.update,me)}),i&&s.removeEventListener("resize",r.update,me)}}const Ft={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qt,data:{}};var It={left:"right",right:"left",bottom:"top",top:"bottom"};function ge(e){return e.replace(/left|right|bottom|top/g,function(t){return It[t]})}var Xt={start:"end",end:"start"};function Ue(e){return e.replace(/start|end/g,function(t){return Xt[t]})}function Be(e){var t=S(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Se(e){return ee(I(e)).left+Be(e).scrollLeft}function Yt(e,t){var r=S(e),n=I(e),a=r.visualViewport,o=n.clientWidth,c=n.clientHeight,i=0,s=0;if(a){o=a.width,c=a.height;var p=tt();(p||!p&&t==="fixed")&&(i=a.offsetLeft,s=a.offsetTop)}return{width:o,height:c,x:i+Se(e),y:s}}function zt(e){var t,r=I(e),n=Be(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=_(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),c=_(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),i=-n.scrollLeft+Se(e),s=-n.scrollTop;return V(a||r).direction==="rtl"&&(i+=_(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:c,x:i,y:s}}function Te(e){var t=V(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function it(e){return["html","body","#document"].indexOf(N(e))>=0?e.ownerDocument.body:T(e)&&Te(e)?e:it(be(e))}function ie(e,t){var r;t===void 0&&(t=[]);var n=it(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=S(n),c=a?[o].concat(o.visualViewport||[],Te(n)?n:[]):n,i=t.concat(c);return a?i:i.concat(ie(be(c)))}function Pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ut(e,t){var r=ee(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Ge(e,t,r){return t===Ze?Pe(Yt(e,r)):J(t)?Ut(t,r):Pe(zt(I(e)))}function Gt(e){var t=ie(be(e)),r=["absolute","fixed"].indexOf(V(e).position)>=0,n=r&&T(e)?pe(e):e;return J(n)?t.filter(function(a){return J(a)&&rt(a,n)&&N(a)!=="body"}):[]}function _t(e,t,r,n){var a=t==="clippingParents"?Gt(e):[].concat(t),o=[].concat(a,[r]),c=o[0],i=o.reduce(function(s,p){var f=Ge(e,p,n);return s.top=_(f.top,s.top),s.right=ye(f.right,s.right),s.bottom=ye(f.bottom,s.bottom),s.left=_(f.left,s.left),s},Ge(e,c,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function st(e){var t=e.reference,r=e.element,n=e.placement,a=n?H(n):null,o=n?te(n):null,c=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,s;switch(a){case D:s={x:c,y:t.y-r.height};break;case k:s={x:c,y:t.y+t.height};break;case L:s={x:t.x+t.width,y:i};break;case C:s={x:t.x-r.width,y:i};break;default:s={x:t.x,y:t.y}}var p=a?Ce(a):null;if(p!=null){var f=p==="y"?"height":"width";switch(o){case Q:s[p]=s[p]-(t[f]/2-r[f]/2);break;case se:s[p]=s[p]+(t[f]/2-r[f]/2);break}}return s}function fe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,c=o===void 0?e.strategy:o,i=r.boundary,s=i===void 0?ht:i,p=r.rootBoundary,f=p===void 0?Ze:p,v=r.elementContext,m=v===void 0?ae:v,u=r.altBoundary,w=u===void 0?!1:u,h=r.padding,d=h===void 0?0:h,y=at(typeof d!="number"?d:ot(d,ce)),O=m===ae?mt:ae,x=e.rects.popper,l=e.elements[w?O:m],g=_t(J(l)?l:l.contextElement||I(e.elements.popper),s,f,c),b=ee(e.elements.reference),A=st({reference:b,element:x,strategy:"absolute",placement:a}),P=Pe(Object.assign({},x,A)),$=m===ae?P:b,E={top:g.top-$.top+y.top,bottom:$.bottom-g.bottom+y.bottom,left:g.left-$.left+y.left,right:$.right-g.right+y.right},R=e.modifiersData.offset;if(m===ae&&R){var M=R[a];Object.keys(E).forEach(function(j){var X=[L,k].indexOf(j)>=0?1:-1,Y=[D,k].indexOf(j)>=0?"y":"x";E[j]+=M[Y]*X})}return E}function Jt(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,c=r.padding,i=r.flipVariations,s=r.allowedAutoPlacements,p=s===void 0?et:s,f=te(n),v=f?i?Xe:Xe.filter(function(w){return te(w)===f}):ce,m=v.filter(function(w){return p.indexOf(w)>=0});m.length===0&&(m=v);var u=m.reduce(function(w,h){return w[h]=fe(e,{placement:h,boundary:a,rootBoundary:o,padding:c})[H(h)],w},{});return Object.keys(u).sort(function(w,h){return u[w]-u[h]})}function Kt(e){if(H(e)===Re)return[];var t=ge(e);return[Ue(e),t,Ue(t)]}function Qt(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!0:c,s=r.fallbackPlacements,p=r.padding,f=r.boundary,v=r.rootBoundary,m=r.altBoundary,u=r.flipVariations,w=u===void 0?!0:u,h=r.allowedAutoPlacements,d=t.options.placement,y=H(d),O=y===d,x=s||(O||!w?[ge(d)]:Kt(d)),l=[d].concat(x).reduce(function(K,q){return K.concat(H(q)===Re?Jt(t,{placement:q,boundary:f,rootBoundary:v,padding:p,flipVariations:w,allowedAutoPlacements:h}):q)},[]),g=t.rects.reference,b=t.rects.popper,A=new Map,P=!0,$=l[0],E=0;E<l.length;E++){var R=l[E],M=H(R),j=te(R)===Q,X=[D,k].indexOf(M)>=0,Y=X?"width":"height",B=fe(t,{placement:R,boundary:f,rootBoundary:v,altBoundary:m,padding:p}),W=X?j?L:C:j?k:D;g[Y]>b[Y]&&(W=ge(W));var ue=ge(W),z=[];if(o&&z.push(B[M]<=0),i&&z.push(B[W]<=0,B[ue]<=0),z.every(function(K){return K})){$=R,P=!1;break}A.set(R,z)}if(P)for(var le=w?3:1,we=function(q){var ne=l.find(function(de){var U=A.get(de);if(U)return U.slice(0,q).every(function(xe){return xe})});if(ne)return $=ne,"break"},re=le;re>0;re--){var ve=we(re);if(ve==="break")break}t.placement!==$&&(t.modifiersData[n]._skip=!0,t.placement=$,t.reset=!0)}}const Zt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function _e(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Je(e){return[D,L,k,C].some(function(t){return e[t]>=0})}function er(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,c=fe(t,{elementContext:"reference"}),i=fe(t,{altBoundary:!0}),s=_e(c,n),p=_e(i,a,o),f=Je(s),v=Je(p);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:p,isReferenceHidden:f,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":v})}const tr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:er};function rr(e,t,r){var n=H(e),a=[C,D].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=o[0],i=o[1];return c=c||0,i=(i||0)*a,[C,L].indexOf(n)>=0?{x:i,y:c}:{x:c,y:i}}function nr(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,c=et.reduce(function(f,v){return f[v]=rr(v,t.rects,o),f},{}),i=c[t.placement],s=i.x,p=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=c}const ar={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nr};function or(e){var t=e.state,r=e.name;t.modifiersData[r]=st({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ir={name:"popperOffsets",enabled:!0,phase:"read",fn:or,data:{}};function sr(e){return e==="x"?"y":"x"}function fr(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!1:c,s=r.boundary,p=r.rootBoundary,f=r.altBoundary,v=r.padding,m=r.tether,u=m===void 0?!0:m,w=r.tetherOffset,h=w===void 0?0:w,d=fe(t,{boundary:s,rootBoundary:p,padding:v,altBoundary:f}),y=H(t.placement),O=te(t.placement),x=!O,l=Ce(y),g=sr(l),b=t.modifiersData.popperOffsets,A=t.rects.reference,P=t.rects.popper,$=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,E=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(b){if(o){var j,X=l==="y"?D:C,Y=l==="y"?k:L,B=l==="y"?"height":"width",W=b[l],ue=W+d[X],z=W-d[Y],le=u?-P[B]/2:0,we=O===Q?A[B]:P[B],re=O===Q?-P[B]:-A[B],ve=t.elements.arrow,K=u&&ve?De(ve):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nt(),ne=q[X],de=q[Y],U=oe(0,A[B],K[B]),xe=x?A[B]/2-le-U-ne-E.mainAxis:we-U-ne-E.mainAxis,ft=x?-A[B]/2+le+U+de+E.mainAxis:re+U+de+E.mainAxis,Oe=t.elements.arrow&&pe(t.elements.arrow),ct=Oe?l==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,ke=(j=R==null?void 0:R[l])!=null?j:0,pt=W+xe-ke-ct,ut=W+ft-ke,Le=oe(u?ye(ue,pt):ue,W,u?_(z,ut):z);b[l]=Le,M[l]=Le-W}if(i){var Me,lt=l==="x"?D:C,vt=l==="x"?k:L,G=b[g],he=g==="y"?"height":"width",We=G+d[lt],He=G-d[vt],Ae=[D,C].indexOf(y)!==-1,Ne=(Me=R==null?void 0:R[g])!=null?Me:0,Ve=Ae?We:G-A[he]-P[he]-Ne+E.altAxis,qe=Ae?G+A[he]+P[he]-Ne-E.altAxis:He,Fe=u&&Ae?St(Ve,G,qe):oe(u?Ve:We,G,u?qe:He);b[g]=Fe,M[g]=Fe-G}t.modifiersData[n]=M}}const cr={name:"preventOverflow",enabled:!0,phase:"main",fn:fr,requiresIfExists:["offset"]};function pr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ur(e){return e===S(e)||!T(e)?Be(e):pr(e)}function lr(e){var t=e.getBoundingClientRect(),r=Z(t.width)/e.offsetWidth||1,n=Z(t.height)/e.offsetHeight||1;return r!==1||n!==1}function vr(e,t,r){r===void 0&&(r=!1);var n=T(t),a=T(t)&&lr(t),o=I(t),c=ee(e,a,r),i={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((N(t)!=="body"||Te(o))&&(i=ur(t)),T(t)?(s=ee(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=Se(o))),{x:c.left+i.scrollLeft-s.x,y:c.top+i.scrollTop-s.y,width:c.width,height:c.height}}function dr(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var c=[].concat(o.requires||[],o.requiresIfExists||[]);c.forEach(function(i){if(!r.has(i)){var s=t.get(i);s&&a(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||a(o)}),n}function hr(e){var t=dr(e);return Pt.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function mr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function gr(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ke={placement:"bottom",modifiers:[],strategy:"absolute"};function Qe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function yr(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,o=a===void 0?Ke:a;return function(i,s,p){p===void 0&&(p=o);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ke,o),modifiersData:{},elements:{reference:i,popper:s},attributes:{},styles:{}},v=[],m=!1,u={state:f,setOptions:function(y){var O=typeof y=="function"?y(f.options):y;h(),f.options=Object.assign({},o,f.options,O),f.scrollParents={reference:J(i)?ie(i):i.contextElement?ie(i.contextElement):[],popper:ie(s)};var x=hr(gr([].concat(n,f.options.modifiers)));return f.orderedModifiers=x.filter(function(l){return l.enabled}),w(),u.update()},forceUpdate:function(){if(!m){var y=f.elements,O=y.reference,x=y.popper;if(Qe(O,x)){f.rects={reference:vr(O,pe(x),f.options.strategy==="fixed"),popper:De(x)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(E){return f.modifiersData[E.name]=Object.assign({},E.data)});for(var l=0;l<f.orderedModifiers.length;l++){if(f.reset===!0){f.reset=!1,l=-1;continue}var g=f.orderedModifiers[l],b=g.fn,A=g.options,P=A===void 0?{}:A,$=g.name;typeof b=="function"&&(f=b({state:f,options:P,name:$,instance:u})||f)}}}},update:mr(function(){return new Promise(function(d){u.forceUpdate(),d(f)})}),destroy:function(){h(),m=!0}};if(!Qe(i,s))return u;u.setOptions(p).then(function(d){!m&&p.onFirstUpdate&&p.onFirstUpdate(d)});function w(){f.orderedModifiers.forEach(function(d){var y=d.name,O=d.options,x=O===void 0?{}:O,l=d.effect;if(typeof l=="function"){var g=l({state:f,name:y,instance:u,options:x}),b=function(){};v.push(g||b)}})}function h(){v.forEach(function(d){return d()}),v=[]}return u}}var br=[Ft,ir,Vt,Dt,ar,Zt,cr,Mt,tr],wr=yr({defaultModifiers:br});const xr=F.forwardRef(({icon:e=!0,iconTheme:t="light",theme:r="dark",className:n,children:a,label:o,isVisible:c,id:i},s)=>{const{prefix:p}=dt.useGlobalSettings(),f=`${p}--tooltip`,v=F.useRef(null),m=F.useRef(null),[u,w]=F.useState(!!c),h=F.useId(),d=F.useCallback(x=>{const l=x.currentTarget;l&&v.current&&(m.current=wr(l,v.current,{placement:"top",modifiers:[{name:"offset",options:{offset:[0,12]}},{name:"flip",enabled:!0},{name:"preventOverflow",enabled:!0}]}),w(!0))},[]),y=F.useCallback(()=>{m.current&&(m.current.destroy(),m.current=null),v.current&&w(!1)},[]),O=F.useCallback(()=>{var l,g;return(((g=(l=v.current)==null?void 0:l.textContent)==null?void 0:g.trim())||"").length>50},[]);return Ee.jsxs("div",{ref:s,className:Ie.classnames(`${f}--wrapper`,{[`${f}--wrapper__icon`]:e,[`${f}--wrapper__icon__theme__${r}`]:e&&r,[`${f}--wrapper__icon__theme__${t}`]:t},n),onMouseEnter:d,onMouseLeave:y,onFocus:d,onBlur:y,id:i||`tooltip-${h}`,children:[!e&&a,Ee.jsxs("span",{ref:v,className:Ie.classnames(f,{[`${f}--${r}`]:r,[`${f}--visible`]:u,[`${f}--long`]:O()}),"data-id":i||`tooltip-${h}`,role:"tooltip","aria-hidden":!u,children:[Ee.jsx("span",{"data-popper-arrow":!0,className:`${f}--arrow ${f}--arrow--placement-negative`,"data-placement":"negative",role:"presentation"}),o]})]})});exports.Tooltip=xr;
1
+ "use strict";const Ee=require("react/jsx-runtime"),F=require("react"),Ie=require("./index-chunk-D921N0ug.js"),dt=require("./useGlobalSettings-chunk-DEacV16j.js");var D="top",k="bottom",L="right",C="left",Re="auto",ce=[D,k,L,C],Z="start",se="end",ht="clippingParents",_e="viewport",ae="popper",mt="reference",Xe=ce.reduce(function(e,t){return e.concat([t+"-"+Z,t+"-"+se])},[]),et=[].concat(ce,[Re]).reduce(function(e,t){return e.concat([t,t+"-"+Z,t+"-"+se])},[]),gt="beforeRead",yt="read",bt="afterRead",wt="beforeMain",xt="main",Ot="afterMain",At="beforeWrite",Et="write",$t="afterWrite",Pt=[gt,yt,bt,wt,xt,Ot,At,Et,$t];function N(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function K(e){var t=S(e).Element;return e instanceof t||e instanceof Element}function T(e){var t=S(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function je(e){if(typeof ShadowRoot>"u")return!1;var t=S(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Rt(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!T(o)||!N(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(c){var i=a[c];i===!1?o.removeAttribute(c):o.setAttribute(c,i===!0?"":i)}))})}function jt(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),i=c.reduce(function(s,p){return s[p]="",s},{});!T(a)||!N(a)||(Object.assign(a.style,i),Object.keys(o).forEach(function(s){a.removeAttribute(s)}))})}}const Dt={name:"applyStyles",enabled:!0,phase:"write",fn:Rt,effect:jt,requires:["computeStyles"]};function H(e){return e.split("-")[0]}var J=Math.max,ye=Math.min,_=Math.round;function $e(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function tt(){return!/^((?!chrome|android).)*safari/i.test($e())}function ee(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&T(e)&&(a=e.offsetWidth>0&&_(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&_(n.height)/e.offsetHeight||1);var c=K(e)?S(e):window,i=c.visualViewport,s=!tt()&&r,p=(n.left+(s&&i?i.offsetLeft:0))/a,f=(n.top+(s&&i?i.offsetTop:0))/o,v=n.width/a,m=n.height/o;return{width:v,height:m,top:f,right:p+v,bottom:f+m,left:p,x:p,y:f}}function De(e){var t=ee(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function rt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&je(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function V(e){return S(e).getComputedStyle(e)}function Ct(e){return["table","td","th"].indexOf(N(e))>=0}function I(e){return((K(e)?e.ownerDocument:e.document)||window.document).documentElement}function be(e){return N(e)==="html"?e:e.assignedSlot||e.parentNode||(je(e)?e.host:null)||I(e)}function Ye(e){return!T(e)||V(e).position==="fixed"?null:e.offsetParent}function Bt(e){var t=/firefox/i.test($e()),r=/Trident/i.test($e());if(r&&T(e)){var n=V(e);if(n.position==="fixed")return null}var a=be(e);for(je(a)&&(a=a.host);T(a)&&["html","body"].indexOf(N(a))<0;){var o=V(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function pe(e){for(var t=S(e),r=Ye(e);r&&Ct(r)&&V(r).position==="static";)r=Ye(r);return r&&(N(r)==="html"||N(r)==="body"&&V(r).position==="static")?t:r||Bt(e)||t}function Ce(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function oe(e,t,r){return J(e,ye(t,r))}function St(e,t,r){var n=oe(e,t,r);return n>r?r:n}function nt(){return{top:0,right:0,bottom:0,left:0}}function at(e){return Object.assign({},nt(),e)}function ot(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Tt=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,at(typeof t!="number"?t:ot(t,ce))};function kt(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,c=r.modifiersData.popperOffsets,i=H(r.placement),s=Ce(i),p=[C,L].indexOf(i)>=0,f=p?"height":"width";if(!(!o||!c)){var v=Tt(a.padding,r),m=De(o),u=s==="y"?D:C,w=s==="y"?k:L,h=r.rects.reference[f]+r.rects.reference[s]-c[s]-r.rects.popper[f],d=c[s]-r.rects.reference[s],y=pe(o),O=y?s==="y"?y.clientHeight||0:y.clientWidth||0:0,x=h/2-d/2,l=v[u],g=O-m[f]-v[w],b=O/2-m[f]/2+x,A=oe(l,b,g),P=s;r.modifiersData[n]=(t={},t[P]=A,t.centerOffset=A-b,t)}}function Lt(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||rt(t.elements.popper,a)&&(t.elements.arrow=a))}const Mt={name:"arrow",enabled:!0,phase:"main",fn:kt,effect:Lt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(e){return e.split("-")[1]}var Wt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ht(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:_(r*a)/a||0,y:_(n*a)/a||0}}function ze(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,c=e.offsets,i=e.position,s=e.gpuAcceleration,p=e.adaptive,f=e.roundOffsets,v=e.isFixed,m=c.x,u=m===void 0?0:m,w=c.y,h=w===void 0?0:w,d=typeof f=="function"?f({x:u,y:h}):{x:u,y:h};u=d.x,h=d.y;var y=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),x=C,l=D,g=window;if(p){var b=pe(r),A="clientHeight",P="clientWidth";if(b===S(r)&&(b=I(r),V(b).position!=="static"&&i==="absolute"&&(A="scrollHeight",P="scrollWidth")),b=b,a===D||(a===C||a===L)&&o===se){l=k;var $=v&&b===g&&g.visualViewport?g.visualViewport.height:b[A];h-=$-n.height,h*=s?1:-1}if(a===C||(a===D||a===k)&&o===se){x=L;var E=v&&b===g&&g.visualViewport?g.visualViewport.width:b[P];u-=E-n.width,u*=s?1:-1}}var R=Object.assign({position:i},p&&Wt),M=f===!0?Ht({x:u,y:h},S(r)):{x:u,y:h};if(u=M.x,h=M.y,s){var j;return Object.assign({},R,(j={},j[l]=O?"0":"",j[x]=y?"0":"",j.transform=(g.devicePixelRatio||1)<=1?"translate("+u+"px, "+h+"px)":"translate3d("+u+"px, "+h+"px, 0)",j))}return Object.assign({},R,(t={},t[l]=O?h+"px":"",t[x]=y?u+"px":"",t.transform="",t))}function Nt(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,c=o===void 0?!0:o,i=r.roundOffsets,s=i===void 0?!0:i,p={placement:H(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ze(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ze(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Vt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}};var me={passive:!0};function qt(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,c=n.resize,i=c===void 0?!0:c,s=S(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&p.forEach(function(f){f.addEventListener("scroll",r.update,me)}),i&&s.addEventListener("resize",r.update,me),function(){o&&p.forEach(function(f){f.removeEventListener("scroll",r.update,me)}),i&&s.removeEventListener("resize",r.update,me)}}const Ft={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qt,data:{}};var It={left:"right",right:"left",bottom:"top",top:"bottom"};function ge(e){return e.replace(/left|right|bottom|top/g,function(t){return It[t]})}var Xt={start:"end",end:"start"};function Ue(e){return e.replace(/start|end/g,function(t){return Xt[t]})}function Be(e){var t=S(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Se(e){return ee(I(e)).left+Be(e).scrollLeft}function Yt(e,t){var r=S(e),n=I(e),a=r.visualViewport,o=n.clientWidth,c=n.clientHeight,i=0,s=0;if(a){o=a.width,c=a.height;var p=tt();(p||!p&&t==="fixed")&&(i=a.offsetLeft,s=a.offsetTop)}return{width:o,height:c,x:i+Se(e),y:s}}function zt(e){var t,r=I(e),n=Be(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=J(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),c=J(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),i=-n.scrollLeft+Se(e),s=-n.scrollTop;return V(a||r).direction==="rtl"&&(i+=J(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:c,x:i,y:s}}function Te(e){var t=V(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function it(e){return["html","body","#document"].indexOf(N(e))>=0?e.ownerDocument.body:T(e)&&Te(e)?e:it(be(e))}function ie(e,t){var r;t===void 0&&(t=[]);var n=it(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=S(n),c=a?[o].concat(o.visualViewport||[],Te(n)?n:[]):n,i=t.concat(c);return a?i:i.concat(ie(be(c)))}function Pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ut(e,t){var r=ee(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Ge(e,t,r){return t===_e?Pe(Yt(e,r)):K(t)?Ut(t,r):Pe(zt(I(e)))}function Gt(e){var t=ie(be(e)),r=["absolute","fixed"].indexOf(V(e).position)>=0,n=r&&T(e)?pe(e):e;return K(n)?t.filter(function(a){return K(a)&&rt(a,n)&&N(a)!=="body"}):[]}function Jt(e,t,r,n){var a=t==="clippingParents"?Gt(e):[].concat(t),o=[].concat(a,[r]),c=o[0],i=o.reduce(function(s,p){var f=Ge(e,p,n);return s.top=J(f.top,s.top),s.right=ye(f.right,s.right),s.bottom=ye(f.bottom,s.bottom),s.left=J(f.left,s.left),s},Ge(e,c,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function st(e){var t=e.reference,r=e.element,n=e.placement,a=n?H(n):null,o=n?te(n):null,c=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,s;switch(a){case D:s={x:c,y:t.y-r.height};break;case k:s={x:c,y:t.y+t.height};break;case L:s={x:t.x+t.width,y:i};break;case C:s={x:t.x-r.width,y:i};break;default:s={x:t.x,y:t.y}}var p=a?Ce(a):null;if(p!=null){var f=p==="y"?"height":"width";switch(o){case Z:s[p]=s[p]-(t[f]/2-r[f]/2);break;case se:s[p]=s[p]+(t[f]/2-r[f]/2);break}}return s}function fe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,c=o===void 0?e.strategy:o,i=r.boundary,s=i===void 0?ht:i,p=r.rootBoundary,f=p===void 0?_e:p,v=r.elementContext,m=v===void 0?ae:v,u=r.altBoundary,w=u===void 0?!1:u,h=r.padding,d=h===void 0?0:h,y=at(typeof d!="number"?d:ot(d,ce)),O=m===ae?mt:ae,x=e.rects.popper,l=e.elements[w?O:m],g=Jt(K(l)?l:l.contextElement||I(e.elements.popper),s,f,c),b=ee(e.elements.reference),A=st({reference:b,element:x,strategy:"absolute",placement:a}),P=Pe(Object.assign({},x,A)),$=m===ae?P:b,E={top:g.top-$.top+y.top,bottom:$.bottom-g.bottom+y.bottom,left:g.left-$.left+y.left,right:$.right-g.right+y.right},R=e.modifiersData.offset;if(m===ae&&R){var M=R[a];Object.keys(E).forEach(function(j){var X=[L,k].indexOf(j)>=0?1:-1,Y=[D,k].indexOf(j)>=0?"y":"x";E[j]+=M[Y]*X})}return E}function Kt(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,c=r.padding,i=r.flipVariations,s=r.allowedAutoPlacements,p=s===void 0?et:s,f=te(n),v=f?i?Xe:Xe.filter(function(w){return te(w)===f}):ce,m=v.filter(function(w){return p.indexOf(w)>=0});m.length===0&&(m=v);var u=m.reduce(function(w,h){return w[h]=fe(e,{placement:h,boundary:a,rootBoundary:o,padding:c})[H(h)],w},{});return Object.keys(u).sort(function(w,h){return u[w]-u[h]})}function Qt(e){if(H(e)===Re)return[];var t=ge(e);return[Ue(e),t,Ue(t)]}function Zt(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!0:c,s=r.fallbackPlacements,p=r.padding,f=r.boundary,v=r.rootBoundary,m=r.altBoundary,u=r.flipVariations,w=u===void 0?!0:u,h=r.allowedAutoPlacements,d=t.options.placement,y=H(d),O=y===d,x=s||(O||!w?[ge(d)]:Qt(d)),l=[d].concat(x).reduce(function(Q,q){return Q.concat(H(q)===Re?Kt(t,{placement:q,boundary:f,rootBoundary:v,padding:p,flipVariations:w,allowedAutoPlacements:h}):q)},[]),g=t.rects.reference,b=t.rects.popper,A=new Map,P=!0,$=l[0],E=0;E<l.length;E++){var R=l[E],M=H(R),j=te(R)===Z,X=[D,k].indexOf(M)>=0,Y=X?"width":"height",B=fe(t,{placement:R,boundary:f,rootBoundary:v,altBoundary:m,padding:p}),W=X?j?L:C:j?k:D;g[Y]>b[Y]&&(W=ge(W));var ue=ge(W),z=[];if(o&&z.push(B[M]<=0),i&&z.push(B[W]<=0,B[ue]<=0),z.every(function(Q){return Q})){$=R,P=!1;break}A.set(R,z)}if(P)for(var le=w?3:1,we=function(q){var ne=l.find(function(de){var U=A.get(de);if(U)return U.slice(0,q).every(function(xe){return xe})});if(ne)return $=ne,"break"},re=le;re>0;re--){var ve=we(re);if(ve==="break")break}t.placement!==$&&(t.modifiersData[n]._skip=!0,t.placement=$,t.reset=!0)}}const _t={name:"flip",enabled:!0,phase:"main",fn:Zt,requiresIfExists:["offset"],data:{_skip:!1}};function Je(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ke(e){return[D,L,k,C].some(function(t){return e[t]>=0})}function er(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,c=fe(t,{elementContext:"reference"}),i=fe(t,{altBoundary:!0}),s=Je(c,n),p=Je(i,a,o),f=Ke(s),v=Ke(p);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:p,isReferenceHidden:f,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":v})}const tr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:er};function rr(e,t,r){var n=H(e),a=[C,D].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=o[0],i=o[1];return c=c||0,i=(i||0)*a,[C,L].indexOf(n)>=0?{x:i,y:c}:{x:c,y:i}}function nr(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,c=et.reduce(function(f,v){return f[v]=rr(v,t.rects,o),f},{}),i=c[t.placement],s=i.x,p=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=c}const ar={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nr};function or(e){var t=e.state,r=e.name;t.modifiersData[r]=st({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ir={name:"popperOffsets",enabled:!0,phase:"read",fn:or,data:{}};function sr(e){return e==="x"?"y":"x"}function fr(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!1:c,s=r.boundary,p=r.rootBoundary,f=r.altBoundary,v=r.padding,m=r.tether,u=m===void 0?!0:m,w=r.tetherOffset,h=w===void 0?0:w,d=fe(t,{boundary:s,rootBoundary:p,padding:v,altBoundary:f}),y=H(t.placement),O=te(t.placement),x=!O,l=Ce(y),g=sr(l),b=t.modifiersData.popperOffsets,A=t.rects.reference,P=t.rects.popper,$=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,E=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(b){if(o){var j,X=l==="y"?D:C,Y=l==="y"?k:L,B=l==="y"?"height":"width",W=b[l],ue=W+d[X],z=W-d[Y],le=u?-P[B]/2:0,we=O===Z?A[B]:P[B],re=O===Z?-P[B]:-A[B],ve=t.elements.arrow,Q=u&&ve?De(ve):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nt(),ne=q[X],de=q[Y],U=oe(0,A[B],Q[B]),xe=x?A[B]/2-le-U-ne-E.mainAxis:we-U-ne-E.mainAxis,ft=x?-A[B]/2+le+U+de+E.mainAxis:re+U+de+E.mainAxis,Oe=t.elements.arrow&&pe(t.elements.arrow),ct=Oe?l==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,ke=(j=R==null?void 0:R[l])!=null?j:0,pt=W+xe-ke-ct,ut=W+ft-ke,Le=oe(u?ye(ue,pt):ue,W,u?J(z,ut):z);b[l]=Le,M[l]=Le-W}if(i){var Me,lt=l==="x"?D:C,vt=l==="x"?k:L,G=b[g],he=g==="y"?"height":"width",We=G+d[lt],He=G-d[vt],Ae=[D,C].indexOf(y)!==-1,Ne=(Me=R==null?void 0:R[g])!=null?Me:0,Ve=Ae?We:G-A[he]-P[he]-Ne+E.altAxis,qe=Ae?G+A[he]+P[he]-Ne-E.altAxis:He,Fe=u&&Ae?St(Ve,G,qe):oe(u?Ve:We,G,u?qe:He);b[g]=Fe,M[g]=Fe-G}t.modifiersData[n]=M}}const cr={name:"preventOverflow",enabled:!0,phase:"main",fn:fr,requiresIfExists:["offset"]};function pr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ur(e){return e===S(e)||!T(e)?Be(e):pr(e)}function lr(e){var t=e.getBoundingClientRect(),r=_(t.width)/e.offsetWidth||1,n=_(t.height)/e.offsetHeight||1;return r!==1||n!==1}function vr(e,t,r){r===void 0&&(r=!1);var n=T(t),a=T(t)&&lr(t),o=I(t),c=ee(e,a,r),i={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((N(t)!=="body"||Te(o))&&(i=ur(t)),T(t)?(s=ee(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=Se(o))),{x:c.left+i.scrollLeft-s.x,y:c.top+i.scrollTop-s.y,width:c.width,height:c.height}}function dr(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var c=[].concat(o.requires||[],o.requiresIfExists||[]);c.forEach(function(i){if(!r.has(i)){var s=t.get(i);s&&a(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||a(o)}),n}function hr(e){var t=dr(e);return Pt.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function mr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function gr(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Qe={placement:"bottom",modifiers:[],strategy:"absolute"};function Ze(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function yr(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,o=a===void 0?Qe:a;return function(i,s,p){p===void 0&&(p=o);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qe,o),modifiersData:{},elements:{reference:i,popper:s},attributes:{},styles:{}},v=[],m=!1,u={state:f,setOptions:function(y){var O=typeof y=="function"?y(f.options):y;h(),f.options=Object.assign({},o,f.options,O),f.scrollParents={reference:K(i)?ie(i):i.contextElement?ie(i.contextElement):[],popper:ie(s)};var x=hr(gr([].concat(n,f.options.modifiers)));return f.orderedModifiers=x.filter(function(l){return l.enabled}),w(),u.update()},forceUpdate:function(){if(!m){var y=f.elements,O=y.reference,x=y.popper;if(Ze(O,x)){f.rects={reference:vr(O,pe(x),f.options.strategy==="fixed"),popper:De(x)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(E){return f.modifiersData[E.name]=Object.assign({},E.data)});for(var l=0;l<f.orderedModifiers.length;l++){if(f.reset===!0){f.reset=!1,l=-1;continue}var g=f.orderedModifiers[l],b=g.fn,A=g.options,P=A===void 0?{}:A,$=g.name;typeof b=="function"&&(f=b({state:f,options:P,name:$,instance:u})||f)}}}},update:mr(function(){return new Promise(function(d){u.forceUpdate(),d(f)})}),destroy:function(){h(),m=!0}};if(!Ze(i,s))return u;u.setOptions(p).then(function(d){!m&&p.onFirstUpdate&&p.onFirstUpdate(d)});function w(){f.orderedModifiers.forEach(function(d){var y=d.name,O=d.options,x=O===void 0?{}:O,l=d.effect;if(typeof l=="function"){var g=l({state:f,name:y,instance:u,options:x}),b=function(){};v.push(g||b)}})}function h(){v.forEach(function(d){return d()}),v=[]}return u}}var br=[Ft,ir,Vt,Dt,ar,_t,cr,Mt,tr],wr=yr({defaultModifiers:br});const xr=F.forwardRef(({icon:e=!0,iconTheme:t="light",theme:r="dark",className:n,children:a,label:o,isVisible:c,id:i},s)=>{const{prefix:p}=dt.useGlobalSettings(),f=`${p}--tooltip`,v=F.useRef(null),m=F.useRef(null),[u,w]=F.useState(!!c),h=F.useId(),d=F.useCallback(x=>{const l=x.currentTarget;l&&v.current&&(m.current=wr(l,v.current,{placement:"top",modifiers:[{name:"offset",options:{offset:[0,12]}},{name:"flip",enabled:!0},{name:"preventOverflow",enabled:!0}]}),w(!0))},[]),y=F.useCallback(()=>{m.current&&(m.current.destroy(),m.current=null),v.current&&w(!1)},[]),O=F.useCallback(()=>{var l,g;return(((g=(l=v.current)==null?void 0:l.textContent)==null?void 0:g.trim())||"").length>50},[]);return Ee.jsxs("div",{ref:s,className:Ie.classnames(`${f}--wrapper`,{[`${f}--wrapper__icon`]:e,[`${f}--wrapper__icon__theme__${t}`]:t},n),onMouseEnter:d,onMouseLeave:y,onFocus:d,onBlur:y,id:i||`tooltip-${h}`,children:[!e&&a,Ee.jsxs("span",{ref:v,className:Ie.classnames(f,{[`${f}--${r}`]:r,[`${f}--visible`]:u,[`${f}--long`]:O()}),"data-id":i||`tooltip-${h}`,role:"tooltip","aria-hidden":!u,children:[Ee.jsx("span",{"data-popper-arrow":!0,className:`${f}--arrow ${f}--arrow--placement-negative`,"data-placement":"negative",role:"presentation"}),o]})]})});exports.Tooltip=xr;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Tooltip-chunk-Dk0E60Nc.js");exports.Tooltip=o.Tooltip;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Tooltip-chunk-CQu5vz01.js");exports.Tooltip=o.Tooltip;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Accordion-entry-Du65VJ-p.js"),t=require("./Form-chunk-BJA6abAs.js"),i=require("./Collapse-chunk-CKRYA3G0.js"),a=require("./Empty-chunk-D15nltyD.js"),n=require("./Image-chunk-DrH5JX6G.js"),c=require("./Loading-chunk-BceLroFu.js"),u=require("./Radio-chunk-U-ZyTPH7.js"),d=require("./Tag-chunk-C_r4zGEh.js"),s=require("./Button-chunk-B65FgSLG.js"),l=require("./ContextMenu-chunk-LNOPuIui.js"),q=require("./Fieldset-chunk-ChX_vSBT.js"),C=require("./GlobalProvider-chunk-Bt1vmswv.js"),b=require("./GlobalCtx-chunk-D_GlGcgw.js"),r=require("./TextInput.args-chunk-DIxsZT_y.js"),g=require("./Notification-chunk-DkfLXJhu.js"),L=require("./ReadMore-chunk-D36Ibsoy.js"),T=require("./Textarea-chunk-Gr_D4IfG.js"),x=require("./Callout-chunk-CS-b8vev.js"),p=require("./Credit-chunk-cffOG8ho.js"),P=require("./FileUpload-chunk-DASUCDJs.js"),F=require("./Heading-chunk-COxtDw0v.js"),m=require("./Link-chunk-DuZiglb_.js"),k=require("./NumberPicker-chunk-BuYxdQBu.js"),S=require("./RichText-chunk-B8HoKl_2.js"),v=require("./Tooltip-chunk-Dk0E60Nc.js"),I=require("./Checkbox-chunk-C0TreicR.js"),N=require("./DatePicker-chunk-Dl0GaODr.js"),f=require("./Hero-chunk-Blm775AV.js"),D=require("./HeroCard-chunk-Dx88UJpE.js"),h=require("./LinkList-chunk-AT26ZVEG.js"),H=require("./Pagination-chunk-DYcRUXLg.js"),M=require("./SearchField-chunk-CUGa67lu.js"),R=require("./Video-chunk-UuPc6ufz.js"),G=require("./Dropdown-chunk-DyCHTZMD.js"),B=require("./Icon-chunk-QFryHTpy.js"),y=require("./List-entry-DRGsrQZi.js"),O=require("./Profile-chunk-Du8HEAQA.js"),w=require("./TableOfContents-chunk-ZubRLGF3.js"),A=require("./Footer-chunk-BUjFj4bf.js"),E=require("./Navigation-entry-C6dI5Dpf.js"),e=require("./ScoreCard-chunk-CdqvfjmP.js"),U=require("./Breadcrumb-chunk-BV3TmRn5.js"),V=require("./Tabs-chunk-n0swxLit.js"),_=require("./LanguageToggle-chunk-DdIPnYuL.js"),$=require("./SubsiteNav-chunk-CVWgp2ti.js");exports.Accordion=o.Accordion;exports.Form=t.Form;exports.Collapse=i.Collapse;exports.Empty=a.Empty;exports.Image=n.Image;exports.Loading=c.Loading;exports.Radio=u.LabelledRadio;exports.Tag=d.Tag;exports.Button=s.Button;exports.ContextMenu=l.ContextMenu;exports.Fieldset=q.Fieldset;exports.GlobalProvider=C.GlobalProvider;exports.GlobalProviderContext=b.GlobalProviderContext;exports.TextInput=r.LabelledTextInput;exports.TextInputArgs=r.TextInput_args;exports.Notification=g.Notification;exports.ReadMore=L.ReadMore;exports.Textarea=T.LabelledTextarea;exports.Callout=x.Callout;exports.Credit=p.Credit;exports.FileUpload=P.LabelledFileUpload;exports.Heading=F.Heading;exports.Link=m.Link;exports.NumberPicker=k.LabelledNumberPicker;exports.RichText=S.RichText;exports.Tooltip=v.Tooltip;exports.Checkbox=I.LabelledCheckbox;exports.DatePicker=N.LabelledDatePicker;exports.Hero=f.Hero;exports.HeroCard=D.HeroCard;exports.LinkList=h.LinkList;exports.Pagination=H.Pagination;exports.SearchField=M.SearchField;exports.Video=R.Video;exports.Dropdown=G.LabelledDropdown;exports.Icon=B.Icon;exports.List=y.List;exports.Profile=O.Profile;exports.TableOfContents=w.TableOfContents;exports.Footer=A.Footer;exports.Navigation=E.Navigation;exports.CardGroup=e.CardGroup;exports.DataCard=e.DataCard;exports.DetailCard=e.DetailCard;exports.FactListCard=e.FactListCard;exports.FeatureCard=e.FeatureCard;exports.MultiLinkCard=e.MultiLinkCard;exports.PromoCard=e.PromoCard;exports.ScoreCard=e.ScoreCard;exports.StatCard=e.StatCard;exports.TextCard=e.TextCard;exports.Breadcrumb=U.Breadcrumb;exports.Tabs=V.Tabs;exports.LanguageToggle=_.LanguageToggle;exports.SubsiteNav=$.SubsiteNav;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Accordion-entry-Du65VJ-p.js"),t=require("./Form-chunk-Bhz_CsMf.js"),i=require("./Collapse-chunk-CKRYA3G0.js"),a=require("./Empty-chunk-D15nltyD.js"),n=require("./Image-chunk-DrH5JX6G.js"),c=require("./Loading-chunk-BceLroFu.js"),u=require("./Radio-chunk-DoLctty-.js"),d=require("./Tag-chunk-C_r4zGEh.js"),s=require("./Button-chunk-BPxitLjn.js"),l=require("./ContextMenu-chunk-LNOPuIui.js"),q=require("./Fieldset-chunk-Dykzn_3y.js"),C=require("./GlobalProvider-chunk-Bt1vmswv.js"),b=require("./GlobalCtx-chunk-D_GlGcgw.js"),r=require("./TextInput.args-chunk-Bs7YIRuJ.js"),g=require("./Notification-chunk-BDC2i-2V.js"),L=require("./ReadMore-chunk-Cz3Dc9Cz.js"),T=require("./Textarea-chunk-XYsrIeDn.js"),x=require("./Callout-chunk-Cmnm5uzu.js"),p=require("./Credit-chunk-cffOG8ho.js"),P=require("./FileUpload-chunk-CC1oePLc.js"),F=require("./Heading-chunk-COxtDw0v.js"),m=require("./Link-chunk-BcVWiDXw.js"),k=require("./NumberPicker-chunk-kaW8wv3h.js"),S=require("./RichText-chunk-CLfo33Pr.js"),v=require("./Tooltip-chunk-CQu5vz01.js"),I=require("./Checkbox-chunk-CDFIXTn9.js"),N=require("./DatePicker-chunk-DouvjE3X.js"),f=require("./Hero-chunk-BgeQPg_6.js"),D=require("./HeroCard-chunk-Dx88UJpE.js"),h=require("./LinkList-chunk-AT26ZVEG.js"),H=require("./Pagination-chunk-D3Ve2ASf.js"),M=require("./SearchField-chunk-BuB-C9aK.js"),R=require("./Video-chunk-UuPc6ufz.js"),G=require("./Dropdown-chunk-BjeJjYZD.js"),B=require("./Icon-chunk-QFryHTpy.js"),y=require("./List-entry-DRGsrQZi.js"),O=require("./Profile-chunk-Du8HEAQA.js"),w=require("./TableOfContents-chunk-ZubRLGF3.js"),A=require("./Footer-chunk-CGR-tiim.js"),E=require("./Navigation-entry-C6dI5Dpf.js"),e=require("./ScoreCard-chunk-B9OFfe4F.js"),U=require("./Breadcrumb-chunk-BFveDqpn.js"),V=require("./Tabs-chunk-n0swxLit.js"),_=require("./LanguageToggle-chunk-DdIPnYuL.js"),$=require("./SubsiteNav-chunk-CVWgp2ti.js");exports.Accordion=o.Accordion;exports.Form=t.Form;exports.Collapse=i.Collapse;exports.Empty=a.Empty;exports.Image=n.Image;exports.Loading=c.Loading;exports.Radio=u.LabelledRadio;exports.Tag=d.Tag;exports.Button=s.Button;exports.ContextMenu=l.ContextMenu;exports.Fieldset=q.Fieldset;exports.GlobalProvider=C.GlobalProvider;exports.GlobalProviderContext=b.GlobalProviderContext;exports.TextInput=r.LabelledTextInput;exports.TextInputArgs=r.TextInput_args;exports.Notification=g.Notification;exports.ReadMore=L.ReadMore;exports.Textarea=T.LabelledTextarea;exports.Callout=x.Callout;exports.Credit=p.Credit;exports.FileUpload=P.LabelledFileUpload;exports.Heading=F.Heading;exports.Link=m.Link;exports.NumberPicker=k.LabelledNumberPicker;exports.RichText=S.RichText;exports.Tooltip=v.Tooltip;exports.Checkbox=I.LabelledCheckbox;exports.DatePicker=N.LabelledDatePicker;exports.Hero=f.Hero;exports.HeroCard=D.HeroCard;exports.LinkList=h.LinkList;exports.Pagination=H.Pagination;exports.SearchField=M.SearchField;exports.Video=R.Video;exports.Dropdown=G.LabelledDropdown;exports.Icon=B.Icon;exports.List=y.List;exports.Profile=O.Profile;exports.TableOfContents=w.TableOfContents;exports.Footer=A.Footer;exports.Navigation=E.Navigation;exports.CardGroup=e.CardGroup;exports.DataCard=e.DataCard;exports.DetailCard=e.DetailCard;exports.FactListCard=e.FactListCard;exports.FeatureCard=e.FeatureCard;exports.MultiLinkCard=e.MultiLinkCard;exports.PromoCard=e.PromoCard;exports.ScoreCard=e.ScoreCard;exports.StatCard=e.StatCard;exports.TextCard=e.TextCard;exports.Breadcrumb=U.Breadcrumb;exports.Tabs=V.Tabs;exports.LanguageToggle=_.LanguageToggle;exports.SubsiteNav=$.SubsiteNav;
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./_store/Accordion-entry-Du65VJ-p.js"),t=require("./_store/Form-chunk-BJA6abAs.js"),i=require("./_store/Collapse-chunk-CKRYA3G0.js"),a=require("./_store/Empty-chunk-D15nltyD.js"),n=require("./_store/Image-chunk-DrH5JX6G.js"),u=require("./_store/Loading-chunk-BceLroFu.js"),s=require("./_store/Radio-chunk-U-ZyTPH7.js"),c=require("./_store/Tag-chunk-C_r4zGEh.js"),d=require("./_store/Button-chunk-B65FgSLG.js"),l=require("./_store/ContextMenu-chunk-LNOPuIui.js"),q=require("./_store/Fieldset-chunk-ChX_vSBT.js"),C=require("./_store/GlobalProvider-chunk-Bt1vmswv.js"),b=require("./_store/GlobalCtx-chunk-D_GlGcgw.js"),r=require("./_store/TextInput.args-chunk-DIxsZT_y.js"),g=require("./_store/Notification-chunk-DkfLXJhu.js"),L=require("./_store/ReadMore-chunk-D36Ibsoy.js"),T=require("./_store/Textarea-chunk-Gr_D4IfG.js"),p=require("./_store/Callout-chunk-CS-b8vev.js"),x=require("./_store/Credit-chunk-cffOG8ho.js"),P=require("./_store/FileUpload-chunk-DASUCDJs.js"),k=require("./_store/Heading-chunk-COxtDw0v.js"),F=require("./_store/Link-chunk-DuZiglb_.js"),m=require("./_store/NumberPicker-chunk-BuYxdQBu.js"),S=require("./_store/RichText-chunk-B8HoKl_2.js"),v=require("./_store/Tooltip-chunk-Dk0E60Nc.js"),G=require("./_store/Checkbox-chunk-C0TreicR.js"),I=require("./_store/DatePicker-chunk-Dl0GaODr.js"),N=require("./_store/Hero-chunk-Blm775AV.js"),f=require("./_store/HeroCard-chunk-Dx88UJpE.js"),D=require("./_store/LinkList-chunk-AT26ZVEG.js"),h=require("./_store/Pagination-chunk-DYcRUXLg.js"),B=require("./_store/SearchField-chunk-CUGa67lu.js"),H=require("./_store/Video-chunk-UuPc6ufz.js"),M=require("./_store/Dropdown-chunk-DyCHTZMD.js"),R=require("./_store/Icon-chunk-QFryHTpy.js"),y=require("./_store/List-entry-DRGsrQZi.js"),O=require("./_store/Profile-chunk-Du8HEAQA.js"),w=require("./_store/TableOfContents-chunk-ZubRLGF3.js"),A=require("./_store/Footer-chunk-BUjFj4bf.js"),E=require("./_store/Navigation-entry-C6dI5Dpf.js"),e=require("./_store/ScoreCard-chunk-CdqvfjmP.js"),U=require("./_store/Breadcrumb-chunk-BV3TmRn5.js"),V=require("./_store/Tabs-chunk-n0swxLit.js"),_=require("./_store/LanguageToggle-chunk-DdIPnYuL.js"),$=require("./_store/SubsiteNav-chunk-CVWgp2ti.js"),j=require("./_store/useGlobalSettings-chunk-DEacV16j.js"),z=require("./_store/usePrevious-chunk-DENrwKF1.js"),J=require("./_store/useBreakpoint-chunk-B5MpfIru.js");exports.Accordion=o.Accordion;exports.Form=t.Form;exports.Collapse=i.Collapse;exports.Empty=a.Empty;exports.Image=n.Image;exports.Loading=u.Loading;exports.Radio=s.LabelledRadio;exports.Tag=c.Tag;exports.Button=d.Button;exports.ContextMenu=l.ContextMenu;exports.Fieldset=q.Fieldset;exports.GlobalProvider=C.GlobalProvider;exports.GlobalProviderContext=b.GlobalProviderContext;exports.TextInput=r.LabelledTextInput;exports.TextInputArgs=r.TextInput_args;exports.Notification=g.Notification;exports.ReadMore=L.ReadMore;exports.Textarea=T.LabelledTextarea;exports.Callout=p.Callout;exports.Credit=x.Credit;exports.FileUpload=P.LabelledFileUpload;exports.Heading=k.Heading;exports.Link=F.Link;exports.NumberPicker=m.LabelledNumberPicker;exports.RichText=S.RichText;exports.Tooltip=v.Tooltip;exports.Checkbox=G.LabelledCheckbox;exports.DatePicker=I.LabelledDatePicker;exports.Hero=N.Hero;exports.HeroCard=f.HeroCard;exports.LinkList=D.LinkList;exports.Pagination=h.Pagination;exports.SearchField=B.SearchField;exports.Video=H.Video;exports.Dropdown=M.LabelledDropdown;exports.Icon=R.Icon;exports.List=y.List;exports.Profile=O.Profile;exports.TableOfContents=w.TableOfContents;exports.Footer=A.Footer;exports.Navigation=E.Navigation;exports.CardGroup=e.CardGroup;exports.DataCard=e.DataCard;exports.DetailCard=e.DetailCard;exports.FactListCard=e.FactListCard;exports.FeatureCard=e.FeatureCard;exports.MultiLinkCard=e.MultiLinkCard;exports.PromoCard=e.PromoCard;exports.ScoreCard=e.ScoreCard;exports.StatCard=e.StatCard;exports.TextCard=e.TextCard;exports.Breadcrumb=U.Breadcrumb;exports.Tabs=V.Tabs;exports.LanguageToggle=_.LanguageToggle;exports.SubsiteNav=$.SubsiteNav;exports.useGlobalSettings=j.useGlobalSettings;exports.usePrevious=z.usePrevious;exports.useBreakpoint=J.useBreakpoint;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./_store/Accordion-entry-Du65VJ-p.js"),t=require("./_store/Form-chunk-Bhz_CsMf.js"),i=require("./_store/Collapse-chunk-CKRYA3G0.js"),a=require("./_store/Empty-chunk-D15nltyD.js"),n=require("./_store/Image-chunk-DrH5JX6G.js"),u=require("./_store/Loading-chunk-BceLroFu.js"),s=require("./_store/Radio-chunk-DoLctty-.js"),c=require("./_store/Tag-chunk-C_r4zGEh.js"),d=require("./_store/Button-chunk-BPxitLjn.js"),l=require("./_store/ContextMenu-chunk-LNOPuIui.js"),q=require("./_store/Fieldset-chunk-Dykzn_3y.js"),C=require("./_store/GlobalProvider-chunk-Bt1vmswv.js"),b=require("./_store/GlobalCtx-chunk-D_GlGcgw.js"),r=require("./_store/TextInput.args-chunk-Bs7YIRuJ.js"),g=require("./_store/Notification-chunk-BDC2i-2V.js"),L=require("./_store/ReadMore-chunk-Cz3Dc9Cz.js"),T=require("./_store/Textarea-chunk-XYsrIeDn.js"),p=require("./_store/Callout-chunk-Cmnm5uzu.js"),x=require("./_store/Credit-chunk-cffOG8ho.js"),P=require("./_store/FileUpload-chunk-CC1oePLc.js"),k=require("./_store/Heading-chunk-COxtDw0v.js"),F=require("./_store/Link-chunk-BcVWiDXw.js"),m=require("./_store/NumberPicker-chunk-kaW8wv3h.js"),S=require("./_store/RichText-chunk-CLfo33Pr.js"),v=require("./_store/Tooltip-chunk-CQu5vz01.js"),G=require("./_store/Checkbox-chunk-CDFIXTn9.js"),I=require("./_store/DatePicker-chunk-DouvjE3X.js"),N=require("./_store/Hero-chunk-BgeQPg_6.js"),f=require("./_store/HeroCard-chunk-Dx88UJpE.js"),D=require("./_store/LinkList-chunk-AT26ZVEG.js"),h=require("./_store/Pagination-chunk-D3Ve2ASf.js"),B=require("./_store/SearchField-chunk-BuB-C9aK.js"),H=require("./_store/Video-chunk-UuPc6ufz.js"),M=require("./_store/Dropdown-chunk-BjeJjYZD.js"),R=require("./_store/Icon-chunk-QFryHTpy.js"),y=require("./_store/List-entry-DRGsrQZi.js"),O=require("./_store/Profile-chunk-Du8HEAQA.js"),w=require("./_store/TableOfContents-chunk-ZubRLGF3.js"),A=require("./_store/Footer-chunk-CGR-tiim.js"),E=require("./_store/Navigation-entry-C6dI5Dpf.js"),e=require("./_store/ScoreCard-chunk-B9OFfe4F.js"),U=require("./_store/Breadcrumb-chunk-BFveDqpn.js"),V=require("./_store/Tabs-chunk-n0swxLit.js"),_=require("./_store/LanguageToggle-chunk-DdIPnYuL.js"),$=require("./_store/SubsiteNav-chunk-CVWgp2ti.js"),j=require("./_store/useGlobalSettings-chunk-DEacV16j.js"),z=require("./_store/usePrevious-chunk-DENrwKF1.js"),J=require("./_store/useBreakpoint-chunk-B5MpfIru.js");exports.Accordion=o.Accordion;exports.Form=t.Form;exports.Collapse=i.Collapse;exports.Empty=a.Empty;exports.Image=n.Image;exports.Loading=u.Loading;exports.Radio=s.LabelledRadio;exports.Tag=c.Tag;exports.Button=d.Button;exports.ContextMenu=l.ContextMenu;exports.Fieldset=q.Fieldset;exports.GlobalProvider=C.GlobalProvider;exports.GlobalProviderContext=b.GlobalProviderContext;exports.TextInput=r.LabelledTextInput;exports.TextInputArgs=r.TextInput_args;exports.Notification=g.Notification;exports.ReadMore=L.ReadMore;exports.Textarea=T.LabelledTextarea;exports.Callout=p.Callout;exports.Credit=x.Credit;exports.FileUpload=P.LabelledFileUpload;exports.Heading=k.Heading;exports.Link=F.Link;exports.NumberPicker=m.LabelledNumberPicker;exports.RichText=S.RichText;exports.Tooltip=v.Tooltip;exports.Checkbox=G.LabelledCheckbox;exports.DatePicker=I.LabelledDatePicker;exports.Hero=N.Hero;exports.HeroCard=f.HeroCard;exports.LinkList=D.LinkList;exports.Pagination=h.Pagination;exports.SearchField=B.SearchField;exports.Video=H.Video;exports.Dropdown=M.LabelledDropdown;exports.Icon=R.Icon;exports.List=y.List;exports.Profile=O.Profile;exports.TableOfContents=w.TableOfContents;exports.Footer=A.Footer;exports.Navigation=E.Navigation;exports.CardGroup=e.CardGroup;exports.DataCard=e.DataCard;exports.DetailCard=e.DetailCard;exports.FactListCard=e.FactListCard;exports.FeatureCard=e.FeatureCard;exports.MultiLinkCard=e.MultiLinkCard;exports.PromoCard=e.PromoCard;exports.ScoreCard=e.ScoreCard;exports.StatCard=e.StatCard;exports.TextCard=e.TextCard;exports.Breadcrumb=U.Breadcrumb;exports.Tabs=V.Tabs;exports.LanguageToggle=_.LanguageToggle;exports.SubsiteNav=$.SubsiteNav;exports.useGlobalSettings=j.useGlobalSettings;exports.usePrevious=z.usePrevious;exports.useBreakpoint=J.useBreakpoint;