@undrr/undrr-mangrove 1.8.1 → 2.0.0-alpha.1

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 (146) hide show
  1. package/README.md +4 -4
  2. package/components/BookCard.js +2 -2
  3. package/components/BookCard.js.LICENSE.txt +1 -1
  4. package/components/Breadcrumbs.js +2 -2
  5. package/components/Checkbox.js +2 -2
  6. package/components/Chips.js +2 -2
  7. package/components/CtaButton.js +2 -2
  8. package/components/EmbedContainer.js +2 -2
  9. package/components/Footer.js +2 -2
  10. package/components/FormErrorSummary.js +2 -2
  11. package/components/FormGroup.js +2 -2
  12. package/components/FullWidth.js +2 -2
  13. package/components/Gallery.js +2 -2
  14. package/components/Hero.js +2 -2
  15. package/components/HighlightBox.js +2 -2
  16. package/components/HorizontalBookCard.js +2 -2
  17. package/components/HorizontalBookCard.js.LICENSE.txt +1 -1
  18. package/components/HorizontalCard.js +2 -2
  19. package/components/HorizontalCard.js.LICENSE.txt +1 -1
  20. package/components/IconCard.js +2 -2
  21. package/components/IconCard.js.LICENSE.txt +1 -1
  22. package/components/Loader.js +2 -2
  23. package/components/MegaMenu.js +2 -2
  24. package/components/PageHeader.js +2 -2
  25. package/components/Pager.js +2 -2
  26. package/components/QuoteHighlight.js +2 -2
  27. package/components/Radio.js +2 -2
  28. package/components/ScrollContainer.js +2 -2
  29. package/components/Select.js +2 -2
  30. package/components/ShareButtons.js +2 -2
  31. package/components/ShowMore.js +2 -2
  32. package/components/StatsCard.js +2 -2
  33. package/components/StatsCard.js.LICENSE.txt +1 -1
  34. package/components/SyndicationSearchWidget.js +2 -2
  35. package/components/Tab.js +2 -2
  36. package/components/TextCta.js +2 -2
  37. package/components/TextCta.js.LICENSE.txt +1 -1
  38. package/components/TextInput.js +2 -2
  39. package/components/Textarea.js +2 -2
  40. package/components/VerticalCard.js +2 -2
  41. package/components/VerticalCard.js.LICENSE.txt +1 -1
  42. package/components/hydrate.js +1 -1
  43. package/css/style-all.css +384 -0
  44. package/css/style-all.css.map +1 -0
  45. package/css/style-delta.css +82 -169
  46. package/css/style-delta.css.map +1 -1
  47. package/css/style-gutenberg.css +14 -85
  48. package/css/style-gutenberg.css.map +1 -1
  49. package/css/style-irp.css +82 -159
  50. package/css/style-irp.css.map +1 -1
  51. package/css/style-mcr.css +82 -159
  52. package/css/style-mcr.css.map +1 -1
  53. package/css/style-preventionweb.css +82 -159
  54. package/css/style-preventionweb.css.map +1 -1
  55. package/css/style.css +80 -151
  56. package/css/style.css.map +1 -1
  57. package/error-pages/401.html +1 -1
  58. package/error-pages/403.html +1 -1
  59. package/error-pages/404.html +1 -1
  60. package/error-pages/429.html +1 -1
  61. package/error-pages/500.html +1 -1
  62. package/error-pages/502.html +1 -1
  63. package/error-pages/503.html +1 -1
  64. package/error-pages/504.html +1 -1
  65. package/error-pages/5xx.html +1 -1
  66. package/error-pages/challenge.html +1 -1
  67. package/error-pages/managed-challenge.html +1 -1
  68. package/package.json +1 -1
  69. package/scss/Atom/BaseTypography/Abbr/abbr.scss +1 -1
  70. package/scss/Atom/BaseTypography/Code/code.scss +34 -34
  71. package/scss/Atom/BaseTypography/Mark/mark.scss +2 -2
  72. package/scss/Atom/Icons/_icon-definitions.scss +2 -2
  73. package/scss/Atom/Images/AuthorImage/author-image.scss +8 -8
  74. package/scss/Atom/Images/ImageCaptionCredit/image-caption-credit.scss +9 -9
  75. package/scss/Atom/Layout/Container/container.scss +2 -4
  76. package/scss/Atom/Layout/Grid/grid.scss +46 -15
  77. package/scss/Atom/Navigation/MenuItems/menu-items.scss +3 -3
  78. package/scss/Atom/ReachElement/Details/details.scss +7 -7
  79. package/scss/Atom/Table/table.scss +8 -8
  80. package/scss/Atom/Tag/tag.scss +32 -32
  81. package/scss/Components/Boilerplate/boilerplate.scss +7 -7
  82. package/scss/Components/Breadcrumbs/breadcrumbs.scss +9 -9
  83. package/scss/Components/Buttons/Chips/chips.scss +8 -8
  84. package/scss/Components/Buttons/CtaButton/cta-button.scss +43 -16
  85. package/scss/Components/Buttons/ShareButtons/share-buttons.scss +16 -16
  86. package/scss/Components/Cards/Card/card.scss +48 -47
  87. package/scss/Components/Cards/StatsCard/stats-card.scss +32 -32
  88. package/scss/Components/CookieConsentBanner/cookie-consent-banner.scss +27 -27
  89. package/scss/Components/ErrorPages/error-pages.scss +7 -7
  90. package/scss/Components/Footer/footer.scss +12 -12
  91. package/scss/Components/Forms/FormGroup/form-group.scss +3 -3
  92. package/scss/Components/Forms/Select/select.scss +1 -1
  93. package/scss/Components/Forms/TextInput/text-input.scss +1 -1
  94. package/scss/Components/Forms/_form-base.scss +54 -54
  95. package/scss/Components/Gallery/gallery.scss +69 -69
  96. package/scss/Components/Hero/hero.scss +52 -52
  97. package/scss/Components/HighlightBox/highlight-box.scss +3 -3
  98. package/scss/Components/MegaMenu/mega-menu.scss +70 -70
  99. package/scss/Components/OnThisPageNav/on-this-page-nav.scss +30 -30
  100. package/scss/Components/PageHeader/page-header.scss +7 -7
  101. package/scss/Components/Pager/pager.scss +43 -43
  102. package/scss/Components/Pagination/pagination.scss +2 -2
  103. package/scss/Components/PreviewAccess/preview-access.scss +35 -35
  104. package/scss/Components/QuoteHighlight/quote-highlight.scss +32 -32
  105. package/scss/Components/ScrollContainer/scroll-container.scss +16 -16
  106. package/scss/Components/Snackbar/snackbar.scss +20 -24
  107. package/scss/Components/SyndicationSearchWidget/_deprecated-teaser-hide.scss +19 -0
  108. package/scss/Components/SyndicationSearchWidget/syndication-search-widget.scss +140 -150
  109. package/scss/Components/Tab/tab.scss +34 -34
  110. package/scss/Components/TableOfContents/table-of-contents.scss +6 -6
  111. package/scss/Components/TextCta/text-cta.scss +21 -21
  112. package/scss/Molecules/ImageCaption/image-caption.scss +16 -16
  113. package/scss/Molecules/SectionHeader/section-header.scss +1 -1
  114. package/scss/Utilities/FullWidth/full-width.scss +1 -1
  115. package/scss/Utilities/Loader/loader.scss +4 -4
  116. package/scss/assets/scss/_components.scss +0 -1
  117. package/scss/assets/scss/_foundational.scss +20 -25
  118. package/scss/assets/scss/_mixins.scss +1 -1
  119. package/scss/assets/scss/_theme-delta.scss +68 -0
  120. package/scss/assets/scss/_theme-irp.scss +39 -0
  121. package/scss/assets/scss/_theme-mcr.scss +56 -0
  122. package/scss/assets/scss/_theme-preventionweb.scss +37 -0
  123. package/scss/assets/scss/_utility.scss +112 -112
  124. package/scss/assets/scss/_variables.scss +289 -348
  125. package/scss/assets/scss/style-all.scss +19 -0
  126. package/scss/assets/scss/style-delta.scss +1 -1
  127. package/scss/assets/scss/style-irp.scss +1 -1
  128. package/scss/assets/scss/style-mcr.scss +1 -1
  129. package/scss/assets/scss/style-preventionweb.scss +1 -1
  130. package/css/style-irp-legacy.css +0 -476
  131. package/css/style-irp-legacy.css.map +0 -1
  132. package/css/style-legacy.css +0 -469
  133. package/css/style-legacy.css.map +0 -1
  134. package/css/style-mcr-legacy.css +0 -476
  135. package/css/style-mcr-legacy.css.map +0 -1
  136. package/css/style-preventionweb-legacy.css +0 -476
  137. package/css/style-preventionweb-legacy.css.map +0 -1
  138. package/scss/Components/Forms/_form-legacy.scss +0 -152
  139. package/scss/assets/scss/_variables-delta.scss +0 -110
  140. package/scss/assets/scss/_variables-irp.scss +0 -50
  141. package/scss/assets/scss/_variables-mcr.scss +0 -65
  142. package/scss/assets/scss/_variables-preventionweb.scss +0 -48
  143. package/scss/assets/scss/style-irp-legacy.scss +0 -20
  144. package/scss/assets/scss/style-legacy.scss +0 -20
  145. package/scss/assets/scss/style-mcr-legacy.scss +0 -20
  146. package/scss/assets/scss/style-preventionweb-legacy.scss +0 -20
package/README.md CHANGED
@@ -293,9 +293,9 @@ Production sites should pin to a specific version:
293
293
  ```
294
294
  https://assets.undrr.org/static/sitemap.html#mangrove-1-2-10
295
295
  https://assets.undrr.org/static/mangrove/README.md
296
- https://assets.undrr.org/static/mangrove/1.8.1/css/style.css
297
- https://assets.undrr.org/static/mangrove/1.8.1/components/MegaMenu.js
298
- https://assets.undrr.org/static/mangrove/1.8.1/js/tabs.js
296
+ https://assets.undrr.org/static/mangrove/1.8.2/css/style.css
297
+ https://assets.undrr.org/static/mangrove/1.8.2/components/MegaMenu.js
298
+ https://assets.undrr.org/static/mangrove/1.8.2/js/tabs.js
299
299
  ```
300
300
 
301
301
  #### Bleeding edge test rep
@@ -303,7 +303,7 @@ https://assets.undrr.org/static/mangrove/1.8.1/js/tabs.js
303
303
  ```
304
304
  https://assets.undrr.org/testing/static/sitemap.html#mangrove-1-2-4
305
305
  https://assets.undrr.org/testing/static/mangrove/latest/css/style.css
306
- https://assets.undrr.org/static/mangrove/1.8.1/css/style.css
306
+ https://assets.undrr.org/static/mangrove/1.8.2/css/style.css
307
307
  ... etc
308
308
  ```
309
309
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * This is a UNDRR Mangrove component: https://github.com/unisdr/undrr-mangrove?tab=readme-ov-file
3
- * Compiled on: 2026-07-06T14:31:03.210Z
3
+ * Compiled on: 2026-08-31T15:14:38.056Z
4
4
  */
5
5
  /*! For license information please see BookCard.js.LICENSE.txt */
6
- import*as e from"react";var t={6145(e,t,n){n(1649);var r=n(5556),o=n.n(r);n(4848),o().string.isRequired,o().oneOf(["Primary","Secondary"]),o().oneOf(["Default","Disabled"])},2694(e,t,n){var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5556(e,t,n){e.exports=n(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,t){var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var a in r={},t)"key"!==a&&(r[a]=t[a]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o},4848(e,t,n){e.exports=n(9698)},1649(e,t,n){var r;e.exports=(r={},n.d(r,{}),r)}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r(1649);var o=r(5556),a=r.n(o);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t);else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const c=Object.entries,s=Object.setPrototypeOf,u=Object.isFrozen,f=Object.getPrototypeOf,p=Object.getOwnPropertyDescriptor;let m=Object.freeze,d=Object.seal,h=Object.create,y="undefined"!=typeof Reflect&&Reflect,g=y.apply,T=y.construct;m||(m=function(e){return e}),d||(d=function(e){return e}),g||(g=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return e.apply(t,r)}),T||(T=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const b=j(Array.prototype.forEach),S=j(Array.prototype.lastIndexOf),E=j(Array.prototype.pop),_=j(Array.prototype.push),N=j(Array.prototype.splice),A=Array.isArray,v=j(String.prototype.toLowerCase),O=j(String.prototype.toString),w=j(String.prototype.match),x=j(String.prototype.replace),R=j(String.prototype.indexOf),k=j(String.prototype.trim),D=j(Number.prototype.toString),C=j(Boolean.prototype.toString),I="undefined"==typeof BigInt?null:j(BigInt.prototype.toString),L="undefined"==typeof Symbol?null:j(Symbol.prototype.toString),M=j(Object.prototype.hasOwnProperty),P=j(Object.prototype.toString),z=j(RegExp.prototype.test),U=(F=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return T(F,t)});var F;function j(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return g(e,t,r)}}function H(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;if(s&&s(e,null),!A(t))return e;let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(u(t)||(t[r]=e),o=e)}e[o]=!0}return e}function B(e){for(let t=0;t<e.length;t++)M(e,t)||(e[t]=null);return e}function W(e){const t=h(null);for(const r of c(e)){var n=l(r,2);const o=n[0],a=n[1];M(e,o)&&(A(a)?t[o]=B(a):a&&"object"==typeof a&&a.constructor===Object?t[o]=W(a):t[o]=a)}return t}function G(e,t){for(;null!==e;){const n=p(e,t);if(n){if(n.get)return j(n.get);if("function"==typeof n.value)return j(n.value)}e=f(e)}return function(){return null}}const Y=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),q=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),$=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),X=m(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),K=m(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),V=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Z=m(["#text"]),J=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Q=m(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ee=m(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),te=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ne=d(/{{[\w\W]*|^[\w\W]*}}/g),re=d(/<%[\w\W]*|^[\w\W]*%>/g),oe=d(/\${[\w\W]*/g),ae=d(/^data-[\-\w.\u00B7-\uFFFF]+$/),ie=d(/^aria-[\-\w]+$/),le=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ce=d(/^(?:\w+script|data):/i),se=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ue=d(/^html$/i),fe=d(/^[a-z][.\w]*(-[.\w]+)+$/i),pe=d(/<[/\w!]/g),me=d(/<[/\w]/g),de=d(/<\/no(script|embed|frames)/i),he=d(/\/>/i),ye=function(){return"undefined"==typeof window?null:window},ge=function(e,t,n,r){return M(e,t)&&A(e[t])?H(r.base?W(r.base):{},e[t],r.transform):n};(function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ye();const n=t=>e(t);if(n.version="3.4.11",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let r=t.document;const o=r,a=o.currentScript;t.DocumentFragment;const i=t.HTMLTemplateElement,l=t.Node,s=t.Element,u=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const f=t.DOMParser,p=t.trustedTypes,y=s.prototype,g=G(y,"cloneNode"),T=G(y,"remove"),F=G(y,"nextSibling"),j=G(y,"childNodes"),B=G(y,"parentNode"),Te=G(y,"shadowRoot"),be=G(y,"attributes"),Se=l&&l.prototype?G(l.prototype,"nodeType"):null,Ee=l&&l.prototype?G(l.prototype,"nodeName"):null;if("function"==typeof i){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let _e,Ne,Ae="",ve=!1,Oe=0;const we=function(){if(Oe>0)throw U('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},xe=function(e){we(),Oe++;try{return _e.createHTML(e)}finally{Oe--}},Re=r,ke=Re.implementation,De=Re.createNodeIterator,Ce=Re.createDocumentFragment,Ie=Re.getElementsByTagName,Le=o.importNode;let Me={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof c&&"function"==typeof B&&ke&&void 0!==ke.createHTMLDocument;const Pe=ne,ze=re,Ue=oe,Fe=ae,je=ie,He=ce,Be=se,We=fe;let Ge=le,Ye=null;const qe=H({},[...Y,...q,...$,...K,...Z]);let $e=null;const Xe=H({},[...J,...Q,...ee,...te]);let Ke=Object.seal(h(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ve=null,Ze=null;const Je=Object.seal(h(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Qe=!0,et=!0,tt=!1,nt=!0,rt=!1,ot=!0,at=!1,it=!1,lt=null,ct=null,st=!1,ut=!1,ft=!1,pt=!1,mt=!0,dt=!1;const ht="user-content-";let yt=!0,gt=!1,Tt={},bt=null;const St=H({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Et=null;const _t=H({},["audio","video","img","source","image","track"]);let Nt=null;const At=H({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),vt="http://www.w3.org/1998/Math/MathML",Ot="http://www.w3.org/2000/svg",wt="http://www.w3.org/1999/xhtml";let xt=wt,Rt=!1,kt=null;const Dt=H({},[vt,Ot,wt],O),Ct=m(["mi","mo","mn","ms","mtext"]);let It=H({},Ct);const Lt=m(["annotation-xml"]);let Mt=H({},Lt);const Pt=H({},["title","style","font","a","script"]);let zt=null;const Ut=["application/xhtml+xml","text/html"];let Ft=null,jt=null;const Ht=r.createElement("form"),Bt=function(e){return e instanceof RegExp||e instanceof Function},Wt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(jt&&jt===e)return;e&&"object"==typeof e||(e={}),e=W(e),zt=-1===Ut.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ft="application/xhtml+xml"===zt?O:v,Ye=ge(e,"ALLOWED_TAGS",qe,{transform:Ft}),$e=ge(e,"ALLOWED_ATTR",Xe,{transform:Ft}),kt=ge(e,"ALLOWED_NAMESPACES",Dt,{transform:O}),Nt=ge(e,"ADD_URI_SAFE_ATTR",At,{transform:Ft,base:At}),Et=ge(e,"ADD_DATA_URI_TAGS",_t,{transform:Ft,base:_t}),bt=ge(e,"FORBID_CONTENTS",St,{transform:Ft}),Ve=ge(e,"FORBID_TAGS",W({}),{transform:Ft}),Ze=ge(e,"FORBID_ATTR",W({}),{transform:Ft}),Tt=!!M(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?W(e.USE_PROFILES):e.USE_PROFILES),Qe=!1!==e.ALLOW_ARIA_ATTR,et=!1!==e.ALLOW_DATA_ATTR,tt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,nt=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,rt=e.SAFE_FOR_TEMPLATES||!1,ot=!1!==e.SAFE_FOR_XML,at=e.WHOLE_DOCUMENT||!1,ut=e.RETURN_DOM||!1,ft=e.RETURN_DOM_FRAGMENT||!1,pt=e.RETURN_TRUSTED_TYPE||!1,st=e.FORCE_BODY||!1,mt=!1!==e.SANITIZE_DOM,dt=e.SANITIZE_NAMED_PROPS||!1,yt=!1!==e.KEEP_CONTENT,gt=e.IN_PLACE||!1,Ge=function(e){try{return z(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:le,xt="string"==typeof e.NAMESPACE?e.NAMESPACE:wt,It=M(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?W(e.MATHML_TEXT_INTEGRATION_POINTS):H({},Ct),Mt=M(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?W(e.HTML_INTEGRATION_POINTS):H({},Lt);const t=M(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?W(e.CUSTOM_ELEMENT_HANDLING):h(null);if(Ke=h(null),M(t,"tagNameCheck")&&Bt(t.tagNameCheck)&&(Ke.tagNameCheck=t.tagNameCheck),M(t,"attributeNameCheck")&&Bt(t.attributeNameCheck)&&(Ke.attributeNameCheck=t.attributeNameCheck),M(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(Ke.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),d(Ke),rt&&(et=!1),ft&&(ut=!0),Tt&&(Ye=H({},Z),$e=h(null),!0===Tt.html&&(H(Ye,Y),H($e,J)),!0===Tt.svg&&(H(Ye,q),H($e,Q),H($e,te)),!0===Tt.svgFilters&&(H(Ye,$),H($e,Q),H($e,te)),!0===Tt.mathMl&&(H(Ye,K),H($e,ee),H($e,te))),Je.tagCheck=null,Je.attributeCheck=null,M(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?Je.tagCheck=e.ADD_TAGS:A(e.ADD_TAGS)&&(Ye===qe&&(Ye=W(Ye)),H(Ye,e.ADD_TAGS,Ft))),M(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?Je.attributeCheck=e.ADD_ATTR:A(e.ADD_ATTR)&&($e===Xe&&($e=W($e)),H($e,e.ADD_ATTR,Ft))),M(e,"ADD_URI_SAFE_ATTR")&&A(e.ADD_URI_SAFE_ATTR)&&H(Nt,e.ADD_URI_SAFE_ATTR,Ft),M(e,"FORBID_CONTENTS")&&A(e.FORBID_CONTENTS)&&(bt===St&&(bt=W(bt)),H(bt,e.FORBID_CONTENTS,Ft)),M(e,"ADD_FORBID_CONTENTS")&&A(e.ADD_FORBID_CONTENTS)&&(bt===St&&(bt=W(bt)),H(bt,e.ADD_FORBID_CONTENTS,Ft)),yt&&(Ye["#text"]=!0),at&&H(Ye,["html","head","body"]),Ye.table&&(H(Ye,["tbody"]),delete Ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw U('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw U('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=_e;_e=e.TRUSTED_TYPES_POLICY;try{Ae=xe("")}catch(e){throw _e=t,e}}else null===e.TRUSTED_TYPES_POLICY?(_e=void 0,Ae=""):(void 0===_e&&(ve||(Ne=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(p,a),ve=!0),_e=Ne),_e&&"string"==typeof Ae&&(Ae=xe("")));m&&m(e),jt=e},Gt=H({},[...q,...$,...X]),Yt=H({},[...K,...V]),qt=function(e){_(n.removed,{element:e});try{B(e).removeChild(e)}catch(t){if(T(e),!B(e))throw U("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},$t=function(e){const t=j(e);if(t){const e=[];b(t,t=>{_(e,t)}),b(e,e=>{try{T(e)}catch(e){}})}const n=be(e);if(n)for(let t=n.length-1;t>=0;--t){const r=n[t],o=r&&r.name;if("string"==typeof o)try{e.removeAttribute(o)}catch(e){}}},Xt=function(e,t){try{_(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){_(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ut||ft)try{qt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Kt=function(e){const t=be(e);if(t)for(let n=t.length-1;n>=0;--n){const r=t[n],o=r&&r.name;if("string"==typeof o&&!$e[Ft(o)])try{e.removeAttribute(o)}catch(e){}}},Vt=function(e){let t=null,n=null;if(st)e="<remove></remove>"+e;else{const t=w(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===zt&&xt===wt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=_e?xe(e):e;if(xt===wt)try{t=(new f).parseFromString(o,zt)}catch(e){}if(!t||!t.documentElement){t=ke.createDocument(xt,"template",null);try{t.documentElement.innerHTML=Rt?Ae:o}catch(e){}}const a=t.body||t.documentElement;return e&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),xt===wt?Ie.call(t,at?"html":"body")[0]:at?t.documentElement:a},Zt=function(e){return De.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Jt=function(e){return e=x(e,Pe," "),e=x(e,ze," "),x(e,Ue," ")},Qt=function(e){var t;e.normalize();const n=De.call(e.ownerDocument||e,e,u.SHOW_TEXT|u.SHOW_COMMENT|u.SHOW_CDATA_SECTION|u.SHOW_PROCESSING_INSTRUCTION,null);let r=n.nextNode();for(;r;)r.data=Jt(r.data),r=n.nextNode();const o=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");o&&b(o,e=>{tn(e.content)&&Qt(e.content)})},en=function(e){const t=Ee?Ee(e):null;return"string"==typeof t&&"form"===Ft(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==be(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==Se(e)||e.childNodes!==j(e))},tn=function(e){if(!Se||"object"!=typeof e||null===e)return!1;try{return 11===Se(e)}catch(e){return!1}},nn=function(e){if(!Se||"object"!=typeof e||null===e)return!1;try{return"number"==typeof Se(e)}catch(e){return!1}};function rn(e,t,r){0!==e.length&&b(e,e=>{e.call(n,t,r,jt)})}const on=function(e){if(rn(Me.beforeSanitizeElements,e,null),en(e))return qt(e),!0;const t=Ft(Ee?Ee(e):e.nodeName);if(rn(Me.uponSanitizeElement,e,{tagName:t,allowedTags:Ye}),function(e,t){return!!(ot&&e.hasChildNodes()&&!nn(e.firstElementChild)&&z(pe,e.textContent)&&z(pe,e.innerHTML))||!(!ot||e.namespaceURI!==wt||"style"!==t||!nn(e.firstElementChild))||7===e.nodeType||!(!ot||8!==e.nodeType||!z(me,e.data))}(e,t))return qt(e),!0;if(Ve[t]||!(Je.tagCheck instanceof Function&&Je.tagCheck(t))&&!Ye[t])return function(e,t){if(!Ve[t]&&cn(t)){if(Ke.tagNameCheck instanceof RegExp&&z(Ke.tagNameCheck,t))return!1;if(Ke.tagNameCheck instanceof Function&&Ke.tagNameCheck(t))return!1}if(yt&&!bt[t]){const t=B(e),n=j(e);if(n&&t)for(let r=n.length-1;r>=0;--r){const o=gt?n[r]:g(n[r],!0);t.insertBefore(o,F(e))}}return qt(e),!0}(e,t);if(1===(Se?Se(e):e.nodeType)&&!function(e){let t=B(e);t&&t.tagName||(t={namespaceURI:xt,tagName:"template"});const n=v(e.tagName),r=v(t.tagName);return!!kt[e.namespaceURI]&&(e.namespaceURI===Ot?function(e,t,n){return t.namespaceURI===wt?"svg"===e:t.namespaceURI===vt?"svg"===e&&("annotation-xml"===n||It[n]):Boolean(Gt[e])}(n,t,r):e.namespaceURI===vt?function(e,t,n){return t.namespaceURI===wt?"math"===e:t.namespaceURI===Ot?"math"===e&&Mt[n]:Boolean(Yt[e])}(n,t,r):e.namespaceURI===wt?function(e,t,n){return!(t.namespaceURI===Ot&&!Mt[n])&&!(t.namespaceURI===vt&&!It[n])&&!Yt[e]&&(Pt[e]||!Gt[e])}(n,t,r):!("application/xhtml+xml"!==zt||!kt[e.namespaceURI]))}(e))return qt(e),!0;if(("noscript"===t||"noembed"===t||"noframes"===t)&&z(de,e.innerHTML))return qt(e),!0;if(rt&&3===e.nodeType){const t=Jt(e.textContent);e.textContent!==t&&(_(n.removed,{element:e.cloneNode()}),e.textContent=t)}return rn(Me.afterSanitizeElements,e,null),!1},an=function(e,t,n){if(Ze[t])return!1;if(mt&&("id"===t||"name"===t)&&(n in r||n in Ht))return!1;const o=$e[t]||Je.attributeCheck instanceof Function&&Je.attributeCheck(t,e);if(et&&z(Fe,t));else if(Qe&&z(je,t));else if(o){if(Nt[t]);else if(z(Ge,x(n,Be,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==R(n,"data:")||!Et[e])if(tt&&!z(He,x(n,Be,"")));else if(n)return!1}else if(!(cn(e)&&(Ke.tagNameCheck instanceof RegExp&&z(Ke.tagNameCheck,e)||Ke.tagNameCheck instanceof Function&&Ke.tagNameCheck(e))&&(Ke.attributeNameCheck instanceof RegExp&&z(Ke.attributeNameCheck,t)||Ke.attributeNameCheck instanceof Function&&Ke.attributeNameCheck(t,e))||"is"===t&&Ke.allowCustomizedBuiltInElements&&(Ke.tagNameCheck instanceof RegExp&&z(Ke.tagNameCheck,n)||Ke.tagNameCheck instanceof Function&&Ke.tagNameCheck(n))))return!1;return!0},ln=H({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),cn=function(e){return!ln[v(e)]&&z(We,e)},sn=function(e,t,n,r){if(_e&&"object"==typeof p&&"function"==typeof p.getAttributeType&&!n)switch(p.getAttributeType(e,t)){case"TrustedHTML":return xe(r);case"TrustedScriptURL":return function(e){we(),Oe++;try{return _e.createScriptURL(e)}finally{Oe--}}(r)}return r},un=function(e,t,r,o){try{r?e.setAttributeNS(r,t,o):e.setAttribute(t,o),en(e)?qt(e):E(n.removed)}catch(n){Xt(t,e)}},fn=function(e){rn(Me.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||en(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:$e,forceKeepAttr:void 0};let r=t.length;const o=Ft(e.nodeName);for(;r--;){const a=t[r],i=a.name,l=a.namespaceURI,c=a.value,s=Ft(i),u=c;let f="value"===i?u:k(u);n.attrName=s,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,rn(Me.uponSanitizeAttribute,e,n),f=n.attrValue,!dt||"id"!==s&&"name"!==s||0===R(f,ht)||(Xt(i,e),f=ht+f),ot&&z(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)||"attributename"===s&&w(f,"href")?Xt(i,e):n.forceKeepAttr||(!n.keepAttr||!nt&&z(he,f)?Xt(i,e):(rt&&(f=Jt(f)),an(o,s,f)?(f=sn(o,s,l,f),f!==u&&un(e,i,l,f)):Xt(i,e)))}rn(Me.afterSanitizeAttributes,e,null)},pn=function(e){let t=null;const n=Zt(e);for(rn(Me.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(rn(Me.uponSanitizeShadowNode,t,null),on(t),fn(t),tn(t.content)&&pn(t.content),1===(Se?Se(t):t.nodeType)){const e=Te(t);tn(e)&&(mn(e),pn(e))}rn(Me.afterSanitizeShadowDOM,e,null)},mn=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){pn(e.shadow);continue}const n=e.node,r=1===(Se?Se(n):n.nodeType),o=j(n);if(o)for(let e=o.length-1;e>=0;--e)t.push({node:o[e],shadow:null});if(r){const e=Ee?Ee(n):null;if("string"==typeof e&&"template"===Ft(e)){const e=n.content;tn(e)&&t.push({node:e,shadow:null})}}if(r){const e=Te(n);tn(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,a=null,i=null,l=null;if(Rt=!e,Rt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!nn(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return D(e);case"boolean":return C(e);case"bigint":return I?I(e):"0";case"symbol":return L?L(e):"Symbol()";case"undefined":default:return P(e);case"function":case"object":{if(null===e)return P(e);const t=e,n=G(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:P(e)}return P(e)}}}(e)))throw U("dirty is not a string, aborting");if(!n.isSupported)return e;it?(Ye=lt,$e=ct):Wt(t),(Me.uponSanitizeElement.length>0||Me.uponSanitizeAttribute.length>0)&&(Ye=W(Ye)),Me.uponSanitizeAttribute.length>0&&($e=W($e)),n.removed=[];const c=gt&&"string"!=typeof e&&nn(e);if(c){const t=Ee?Ee(e):e.nodeName;if("string"==typeof t){const e=Ft(t);if(!Ye[e]||Ve[e])throw U("root node is forbidden and cannot be sanitized in-place")}if(en(e))throw U("root node is clobbered and cannot be sanitized in-place");try{mn(e)}catch(t){throw $t(e),t}}else if(nn(e))r=Vt("\x3c!----\x3e"),a=r.ownerDocument.importNode(e,!0),1===a.nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?r=a:r.appendChild(a),mn(a);else{if(!ut&&!rt&&!at&&-1===e.indexOf("<"))return _e&&pt?xe(e):e;if(r=Vt(e),!r)return ut?null:pt?Ae:""}r&&st&&qt(r.firstChild);const s=Zt(c?e:r);try{for(;i=s.nextNode();)on(i),fn(i),tn(i.content)&&pn(i.content)}catch(t){throw c&&$t(e),t}if(c)return b(n.removed,e=>{e.element&&function(e){const t=[e];for(;t.length>0;){const e=t.pop();1===(Se?Se(e):e.nodeType)&&Kt(e);const n=j(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}}(e.element)}),rt&&Qt(e),e;if(ut){if(rt&&Qt(r),ft)for(l=Ce.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return($e.shadowroot||$e.shadowrootmode)&&(l=Le.call(o,l,!0)),l}let u=at?r.outerHTML:r.innerHTML;return at&&Ye["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&z(ue,r.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+u),rt&&(u=Jt(u)),_e&&pt?xe(u):u},n.setConfig=function(){Wt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),it=!0,lt=Ye,ct=$e},n.clearConfig=function(){jt=null,it=!1,lt=null,ct=null,_e=Ne,Ae=""},n.isValidAttribute=function(e,t,n){jt||Wt({});const r=Ft(e),o=Ft(t);return an(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&M(Me,e)&&_(Me[e],t)},n.removeHook=function(e,t){if(M(Me,e)){if(void 0!==t){const n=S(Me[e],t);return-1===n?void 0:N(Me[e],n,1)[0]}return E(Me[e])}},n.removeHooks=function(e){M(Me,e)&&(Me[e]=[])},n.removeAllHooks=function(){Me={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n})(),r(6145);var Te=r(4848);const be=(...e)=>e.filter(Boolean).length>0?e.filter(Boolean).join(" "):null;function Se({data:e,variant:t="primary",className:n}){const r=t&&"primary"!==t?`mg-card--${t}`:null;return(0,Te.jsx)(Te.Fragment,{children:e.map((e,t)=>(0,Te.jsxs)("article",{className:be("mg-card","mg-card__vc","mg-card__book",r,n),children:[(0,Te.jsx)("div",{className:"mg-card__visual",children:(0,Te.jsx)("img",{src:e.imgback,alt:e.imgalt,className:"mg-card__image"})}),(0,Te.jsx)("div",{className:"mg-card__content",children:(0,Te.jsx)("header",{className:"mg-card__title",children:(0,Te.jsx)("a",{href:e.link,children:e.title?.trim()})})})]},t))})}Se.propTypes={data:a().array.isRequired,variant:a().oneOf(["primary","secondary","tertiary","quaternary"]),className:a().string};export{Se as BookCard};
6
+ import*as e from"react";var t={6145(e,t,n){n(1649);var r=n(5556),o=n.n(r);n(4848),o().string.isRequired,o().oneOf(["Primary","Secondary"]),o().bool,o().oneOf(["Default","Disabled"])},2694(e,t,n){var r=n(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5556(e,t,n){e.exports=n(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,t){var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o},4848(e,t,n){e.exports=n(9698)},1649(e,t,n){e.exports=(()=>{const e={};return n.d(e,{}),e})()}};const n={};function r(e){const o=n[e];if(void 0!==o)return o.exports;const i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{if(Array.isArray(t))for(var n=0;n<t.length;){var o=t[n++],i=t[n++];r.o(e,o)?0===i&&n++:0===i?Object.defineProperty(e,o,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,o,{enumerable:!0,get:i})}else for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r(1649);var o=r(5556),i=r.n(o);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t);else for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const c=Object.entries,s=Object.setPrototypeOf,u=Object.isFrozen,f=Object.getPrototypeOf,p=Object.getOwnPropertyDescriptor;let m=Object.freeze,d=Object.seal,h=Object.create,y="undefined"!=typeof Reflect&&Reflect,g=y.apply,b=y.construct;m||(m=function(e){return e}),d||(d=function(e){return e}),g||(g=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return e.apply(t,r)}),b||(b=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const S=F(Array.prototype.forEach),T=F(Array.prototype.lastIndexOf),v=F(Array.prototype.pop),A=F(Array.prototype.push),E=F(Array.prototype.splice),w=Array.isArray,_=F(String.prototype.toLowerCase),x=F(String.prototype.toString),O=F(String.prototype.match),N=F(String.prototype.replace),k=F(String.prototype.indexOf),D=F(String.prototype.trim),R=F(Number.prototype.toString),C=F(Boolean.prototype.toString),I="undefined"==typeof BigInt?null:F(BigInt.prototype.toString),L="undefined"==typeof Symbol?null:F(Symbol.prototype.toString),P=F(Object.prototype.hasOwnProperty),z=F(Object.prototype.toString),M=F(RegExp.prototype.test),U=(j=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b(j,t)});var j;function F(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return g(e,t,r)}}function H(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_;if(s&&s(e,null),!w(t))return e;let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(u(t)||(t[r]=e),o=e)}e[o]=!0}return e}function B(e){for(let t=0;t<e.length;t++)P(e,t)||(e[t]=null);return e}function W(e){const t=h(null);for(const r of c(e)){var n=l(r,2);const o=n[0],i=n[1];P(e,o)&&(w(i)?t[o]=B(i):i&&"object"==typeof i&&i.constructor===Object?t[o]=W(i):t[o]=i)}return t}function Y(e,t){for(;null!==e;){const n=p(e,t);if(n){if(n.get)return F(n.get);if("function"==typeof n.value)return F(n.value)}e=f(e)}return function(){return null}}const G=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),q=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),$=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),X=m(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),K=m(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),V=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Z=m(["#text"]),J=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Q=m(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ee=m(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),te=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ne=d(/{{[\w\W]*|^[\w\W]*}}/g),re=d(/<%[\w\W]*|^[\w\W]*%>/g),oe=d(/\${[\w\W]*/g),ie=d(/^data-[\-\w.\u00B7-\uFFFF]+$/),ae=d(/^aria-[\-\w]+$/),le=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ce=d(/^(?:\w+script|data):/i),se=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ue=d(/^html$/i),fe=d(/^[a-z][.\w]*(-[.\w]+)+$/i),pe=d(/<[/\w!]/g),me=d(/<[/\w]/g),de=d(/<\/no(script|embed|frames)/i),he=d(/\/>/i),ye=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],ge=m(H({},ye)),be=function(){const e={};return S(ye,t=>{e[t]=d(new RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))}),m(e)}(),Se=function(){return"undefined"==typeof window?null:window},Te=function(e,t,n,r){return P(e,t)&&w(e[t])?H(r.base?W(r.base):{},e[t],r.transform):n},ve=function(e,t,n){const r=P(e,t)?e[t]:void 0;return r&&"object"==typeof r?W(r):n()};(function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Se();const n=t=>e(t);if(n.version="3.4.14",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let r=t.document;const o=r,i=o.currentScript;t.DocumentFragment;const a=t.HTMLTemplateElement,l=t.Node,s=t.Element,u=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const f=t.DOMParser,p=t.trustedTypes,y=s.prototype,g=Y(y,"cloneNode"),b=Y(y,"remove"),j=Y(y,"nextSibling"),F=Y(y,"childNodes"),B=Y(y,"parentNode"),ye=Y(y,"shadowRoot"),Ae=Y(y,"attributes"),Ee=l&&l.prototype?Y(l.prototype,"nodeType"):null,we=l&&l.prototype?Y(l.prototype,"nodeName"):null,_e=l&&l.prototype?Y(l.prototype,"ownerDocument"):null,xe=function(e){return Ee?Ee(e):e.nodeType},Oe=function(e){return we?we(e):e.nodeName};if("function"==typeof a){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let Ne,ke,De="",Re=!1,Ce=0;const Ie=function(){if(Ce>0)throw U('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Le=function(e){Ie(),Ce++;try{return Ne.createHTML(e)}finally{Ce--}},Pe=r,ze=Pe.implementation,Me=Pe.createNodeIterator,Ue=Pe.createDocumentFragment,je=Pe.getElementsByTagName,Fe=o.importNode;let He={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof c&&"function"==typeof B&&ze&&void 0!==ze.createHTMLDocument;const Be=ne,We=re,Ye=oe,Ge=ie,qe=ae,$e=ce,Xe=se,Ke=fe;let Ve=le,Ze=null;const Je=H({},[...G,...q,...$,...K,...Z]);let Qe=null;const et=H({},[...J,...Q,...ee,...te]);let tt=Object.seal(h(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),nt=null,rt=null;const ot=Object.seal(h(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let it=!0,at=!0,lt=!1,ct=!0,st=!1,ut=!0,ft=!1,pt=!1,mt=null,dt=null,ht=!1,yt=!1,gt=!1,bt=!1,St=!0,Tt=!1;const vt="user-content-";let At=!0,Et=!1,wt={},_t=null;const xt=H({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Ot=null;const Nt=H({},["audio","video","img","source","image","track"]);let kt=null;const Dt=H({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Rt="http://www.w3.org/1998/Math/MathML",Ct="http://www.w3.org/2000/svg",It="http://www.w3.org/1999/xhtml";let Lt=It,Pt=!1,zt=null;const Mt=H({},[Rt,Ct,It],x),Ut=m(["mi","mo","mn","ms","mtext"]);let jt=H({},Ut);const Ft=m(["annotation-xml"]);let Ht=H({},Ft);const Bt=H({},["title","style","font","a","script"]);let Wt=null;const Yt=["application/xhtml+xml","text/html"];let Gt=null,qt=null;const $t=r.createElement("form"),Xt=function(e){return e instanceof RegExp||e instanceof Function},Kt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(qt&&qt===e)return;e&&"object"==typeof e||(e={}),e=W(e),Wt=-1===Yt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Gt="application/xhtml+xml"===Wt?x:_,Ze=Te(e,"ALLOWED_TAGS",Je,{transform:Gt}),Qe=Te(e,"ALLOWED_ATTR",et,{transform:Gt}),zt=Te(e,"ALLOWED_NAMESPACES",Mt,{transform:x}),kt=Te(e,"ADD_URI_SAFE_ATTR",Dt,{transform:Gt,base:Dt}),Ot=Te(e,"ADD_DATA_URI_TAGS",Nt,{transform:Gt,base:Nt}),_t=Te(e,"FORBID_CONTENTS",xt,{transform:Gt}),nt=Te(e,"FORBID_TAGS",W({}),{transform:Gt}),rt=Te(e,"FORBID_ATTR",W({}),{transform:Gt}),wt=!!P(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?W(e.USE_PROFILES):e.USE_PROFILES),it=!1!==e.ALLOW_ARIA_ATTR,at=!1!==e.ALLOW_DATA_ATTR,lt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ct=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,st=e.SAFE_FOR_TEMPLATES||!1,ut=!1!==e.SAFE_FOR_XML,ft=e.WHOLE_DOCUMENT||!1,yt=e.RETURN_DOM||!1,gt=e.RETURN_DOM_FRAGMENT||!1,bt=e.RETURN_TRUSTED_TYPE||!1,ht=e.FORCE_BODY||!1,St=!1!==e.SANITIZE_DOM,Tt=e.SANITIZE_NAMED_PROPS||!1,At=!1!==e.KEEP_CONTENT,Et=e.IN_PLACE||!1,Ve=function(e){try{return M(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:le,Lt="string"==typeof e.NAMESPACE?e.NAMESPACE:It,jt=ve(e,"MATHML_TEXT_INTEGRATION_POINTS",()=>H({},Ut)),Ht=ve(e,"HTML_INTEGRATION_POINTS",()=>H({},Ft));const t=ve(e,"CUSTOM_ELEMENT_HANDLING",()=>h(null));if(tt=h(null),P(t,"tagNameCheck")&&Xt(t.tagNameCheck)&&(tt.tagNameCheck=t.tagNameCheck),P(t,"attributeNameCheck")&&Xt(t.attributeNameCheck)&&(tt.attributeNameCheck=t.attributeNameCheck),P(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(tt.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),d(tt),st&&(at=!1),gt&&(yt=!0),wt&&(Ze=H({},Z),Qe=h(null),!0===wt.html&&(H(Ze,G),H(Qe,J)),!0===wt.svg&&(H(Ze,q),H(Qe,Q),H(Qe,te)),!0===wt.svgFilters&&(H(Ze,$),H(Qe,Q),H(Qe,te)),!0===wt.mathMl&&(H(Ze,K),H(Qe,ee),H(Qe,te))),ot.tagCheck=null,ot.attributeCheck=null,P(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?ot.tagCheck=e.ADD_TAGS:w(e.ADD_TAGS)&&(Ze===Je&&(Ze=W(Ze)),H(Ze,e.ADD_TAGS,Gt))),P(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?ot.attributeCheck=e.ADD_ATTR:w(e.ADD_ATTR)&&(Qe===et&&(Qe=W(Qe)),H(Qe,e.ADD_ATTR,Gt))),P(e,"ADD_FORBID_CONTENTS")&&w(e.ADD_FORBID_CONTENTS)&&(_t===xt&&(_t=W(_t)),H(_t,e.ADD_FORBID_CONTENTS,Gt)),At&&(Ze["#text"]=!0),ft&&H(Ze,["html","head","body"]),Ze.table&&(H(Ze,["tbody"]),delete nt.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw U('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw U('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=Ne;Ne=e.TRUSTED_TYPES_POLICY;try{De=Le("")}catch(e){throw Ne=t,e}}else null===e.TRUSTED_TYPES_POLICY?(Ne=void 0,De=""):(void 0===Ne&&(Re||(ke=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(p,i),Re=!0),Ne=ke),Ne&&"string"==typeof De&&(De=Le("")));m&&m(e),qt=e},Vt=H({},[...q,...$,...X]),Zt=H({},[...K,...V]),Jt=function(e){A(n.removed,{element:e});try{B(e).removeChild(e)}catch(t){if(b(e),!B(e))throw U("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Qt=function(e,t,n){try{e.removeAttributeNode(t)}catch(t){try{e.removeAttribute(n)}catch(e){}}},en=function(e){rn(e);const t=F(e);if(t){const e=[];S(t,t=>{A(e,t)}),S(e,e=>{try{b(e)}catch(e){}})}const n=Ae(e);if(n)for(let t=n.length-1;t>=0;--t){const r=n[t],o=r&&r.name;"string"==typeof o&&Qt(e,r,o)}},tn=function(e,t,r){if(!r)try{r=t.getAttributeNode(e)}catch(e){r=null}A(n.removed,{attribute:r||null,from:t});try{r?t.removeAttributeNode(r):t.removeAttribute(e)}catch(n){try{t.removeAttribute(e)}catch(e){}}if("is"===e)if(yt||gt)try{Jt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},nn=function(e){const t=Ae(e);if(t)for(let n=t.length-1;n>=0;--n){const r=t[n],o=r&&r.name;"string"!=typeof o||Qe[Gt(o)]||Qt(e,r,o)}},rn=function(e){const t=[e];for(;t.length>0;){const e=t.pop();1===xe(e)&&nn(e);const n=F(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},on=function(e,t){return!!ut&&("patchsrc"===e||"for"===e&&"label"!==t&&"output"!==t)},an=function(e){let t=null,n=null;if(ht)e="<remove></remove>"+e;else{const t=O(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Wt&&Lt===It&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=Ne?Le(e):e;if(Lt===It)try{t=(new f).parseFromString(o,Wt)}catch(e){}if(!t||!t.documentElement){t=ze.createDocument(Lt,"template",null);try{t.documentElement.innerHTML=Pt?De:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),Lt===It?je.call(t,ft?"html":"body")[0]:ft?t.documentElement:i},ln=function(e){const t=_e?_e(e):e.ownerDocument;return Me.call(t||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},cn=function(e){return e=N(e,Be," "),e=N(e,We," "),N(e,Ye," ")},sn=function(e){var t;e.normalize();const n=_e?_e(e):e.ownerDocument,r=Me.call(n||e,e,u.SHOW_TEXT|u.SHOW_COMMENT|u.SHOW_CDATA_SECTION|u.SHOW_PROCESSING_INSTRUCTION,null);let o=r.nextNode();for(;o;)o.data=cn(o.data),o=r.nextNode();const i=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");i&&S(i,e=>{fn(e.content)&&sn(e.content)})},un=function(e){const t=we?we(e):null;return"string"==typeof t&&"form"===Gt(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==Ae(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==Ee(e)||e.childNodes!==F(e))},fn=function(e){if(!Ee||"object"!=typeof e||null===e)return!1;try{return 11===Ee(e)}catch(e){return!1}},pn=function(e){if(!Ee||"object"!=typeof e||null===e)return!1;try{return"number"==typeof Ee(e)}catch(e){return!1}};function mn(e,t,r){0!==e.length&&S(e,e=>{e.call(n,t,r,qt)})}const dn=function(e,t){if(e instanceof RegExp)return M(e,t);if(e instanceof Function){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return Boolean(e(t,...r))}return!1},hn=function(e,t,n,r){return 0===e.length?t:t===n||t===r?W(t):t},yn=function(e,t){return e!==t&&null===B(e)&&(Et&&rn(e),!0)},gn=function(e,t){if(mn(He.beforeSanitizeElements,e,null),yn(e,t))return!0;if(un(e))return Jt(e),!0;const r=Gt(Oe(e));if(Ze=hn(He.uponSanitizeElement,Ze,Je,mt),mn(He.uponSanitizeElement,e,{tagName:r,allowedTags:Ze}),yn(e,t))return!0;if(function(e,t){return!!(ut&&e.hasChildNodes()&&!pn(e.firstElementChild)&&M(pe,e.textContent)&&M(pe,e.innerHTML))||!!(ut&&e.namespaceURI===It&&ge[t]&&(pn(e.firstElementChild)||"string"==typeof e.textContent&&M(be[t],e.textContent)))||7===e.nodeType||!(!ut||8!==e.nodeType||!M(me,e.data))}(e,r))return Jt(e),!0;if(nt[r]||!(ot.tagCheck instanceof Function&&ot.tagCheck(r))&&!Ze[r]){const n=function(e,t,n){if(!nt[t]&&Tn(t)&&dn(tt.tagNameCheck,t))return!1;if(At&&!_t[t]){const t=B(e),r=F(e);if(r&&t)for(let o=r.length-1;o>=0;--o){const i=e===n?g(r[o],!0):r[o];t.insertBefore(i,j(e))}}return Jt(e),!0}(e,r,t);return!1===n&&mn(He.afterSanitizeElements,e,null),n}if(1===xe(e)&&!function(e){let t=B(e);t&&t.tagName||(t={namespaceURI:Lt,tagName:"template"});const n=_(e.tagName),r=_(t.tagName);return!!zt[e.namespaceURI]&&(e.namespaceURI===Ct?function(e,t,n){return t.namespaceURI===It?"svg"===e:t.namespaceURI===Rt?"svg"===e&&("annotation-xml"===n||jt[n]):Boolean(Vt[e])}(n,t,r):e.namespaceURI===Rt?function(e,t,n){return t.namespaceURI===It?"math"===e:t.namespaceURI===Ct?"math"===e&&Ht[n]:Boolean(Zt[e])}(n,t,r):e.namespaceURI===It?function(e,t,n){return!(t.namespaceURI===Ct&&!Ht[n])&&!(t.namespaceURI===Rt&&!jt[n])&&!Zt[e]&&(Bt[e]||!Vt[e])}(n,t,r):!("application/xhtml+xml"!==Wt||!zt[e.namespaceURI]))}(e))return Jt(e),!0;if(("noscript"===r||"noembed"===r||"noframes"===r)&&M(de,e.innerHTML))return Jt(e),!0;if(st&&3===e.nodeType){const t=cn(e.textContent);e.textContent!==t&&(A(n.removed,{element:e.cloneNode()}),e.textContent=t)}return mn(He.afterSanitizeElements,e,null),!1},bn=function(e,t,n){if(rt[t])return!1;if(on(t,e))return!1;if(St&&("id"===t||"name"===t)&&(n in r||n in $t))return!1;const o=Qe[t]||ot.attributeCheck instanceof Function&&ot.attributeCheck(t,e);return!(!at||!M(Ge,t))||!(!it||!M(qe,t))||(o?!(!kt[t]&&!M(Ve,N(n,Xe,""))&&("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==k(n,"data:")||!Ot[e])&&(!lt||M($e,N(n,Xe,"")))&&n):Tn(e)&&dn(tt.tagNameCheck,e)&&dn(tt.attributeNameCheck,t,e)||"is"===t&&tt.allowCustomizedBuiltInElements&&dn(tt.tagNameCheck,n))},Sn=H({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Tn=function(e){return!Sn[_(e)]&&M(Ke,e)},vn=function(e,t,n,r){if(Ne&&"object"==typeof p&&"function"==typeof p.getAttributeType&&!n)switch(p.getAttributeType(e,t)){case"TrustedHTML":return Le(r);case"TrustedScriptURL":return function(e){Ie(),Ce++;try{return Ne.createScriptURL(e)}finally{Ce--}}(r)}return r},An=function(e,t,r,o){try{r?e.setAttributeNS(r,t,o):e.setAttribute(t,o),un(e)?Jt(e):v(n.removed)}catch(n){tn(t,e)}},En=function(e){mn(He.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||un(e))return;Qe=hn(He.uponSanitizeAttribute,Qe,et,dt);const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Qe,forceKeepAttr:void 0};let r=t.length;const o=Gt(e.nodeName);for(;r--;){const i=t[r],a=i.name,l=i.namespaceURI,c=i.value,s=Gt(a),u=c;let f="value"===a?u:D(u);n.attrName=s,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,mn(He.uponSanitizeAttribute,e,n),f=n.attrValue,!Tt||"id"!==s&&"name"!==s||0===k(f,vt)||(tn(a,e,i),f=vt+f),ut&&M(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)||"attributename"===s&&O(f,"href")?tn(a,e,i):n.forceKeepAttr||(!n.keepAttr||!ct&&M(he,f)?tn(a,e,i):(st&&(f=cn(f)),bn(o,s,f)?(f=vn(o,s,l,f),f!==u&&An(e,a,l,f)):tn(a,e,i)))}mn(He.afterSanitizeAttributes,e,null)},wn=function(e){let t=null;const n=ln(e);for(mn(He.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(mn(He.uponSanitizeShadowNode,t,null),gn(t,e),En(t),fn(t.content)&&wn(t.content),1===xe(t)){const e=ye(t);fn(e)&&(_n(e),wn(e))}mn(He.afterSanitizeShadowDOM,e,null)},_n=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){wn(e.shadow);continue}const n=e.node,r=1===xe(n),o=F(n);if(o)for(let e=o.length-1;e>=0;--e)t.push({node:o[e],shadow:null});if(r){const e=we?we(n):null;if("string"==typeof e&&"template"===Gt(e)){const e=n.content;fn(e)&&t.push({node:e,shadow:null})}}if(r){const e=ye(n);fn(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,a=null,l=null;if(Pt=!e,Pt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!pn(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return R(e);case"boolean":return C(e);case"bigint":return I?I(e):"0";case"symbol":return L?L(e):"Symbol()";case"undefined":default:return z(e);case"function":case"object":{if(null===e)return z(e);const t=e,n=Y(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:z(e)}return z(e)}}}(e)))throw U("dirty is not a string, aborting");if(!n.isSupported)return e;pt?(Ze=mt,Qe=dt):Kt(t),(He.uponSanitizeElement.length>0||He.uponSanitizeAttribute.length>0)&&(Ze=W(Ze)),He.uponSanitizeAttribute.length>0&&(Qe=W(Qe)),n.removed=[];const c=Et&&"string"!=typeof e&&pn(e);if(c){!function(e){if(!ut)return;const t=[e];for(;t.length>0;){const e=t.pop(),n=xe(e);if(7===n||8===n&&M(me,e.data)){try{b(e)}catch(e){}continue}if(1===n){const t=e,n=Gt(Oe(e));try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&on("for",n)&&t.removeAttribute("for")}catch(e){}}const r=F(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}}(e);const t=Oe(e);if("string"==typeof t){const n=Gt(t);if(!Ze[n]||nt[n])throw en(e),U("root node is forbidden and cannot be sanitized in-place")}if(un(e))throw en(e),U("root node is clobbered and cannot be sanitized in-place");try{_n(e)}catch(t){throw en(e),t}}else if(pn(e))r=an("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i),_n(i);else{if(!yt&&!st&&!ft&&-1===e.indexOf("<"))return Ne&&bt?Le(e):e;if(r=an(e),!r)return yt?null:bt?De:""}r&&ht&&Jt(r.firstChild);const s=c?e:r;try{const e=ln(s);for(;a=e.nextNode();)gn(a,s),En(a),fn(a.content)&&wn(a.content)}catch(t){throw c&&(en(e),S(n.removed,e=>{e.element&&rn(e.element)})),t}if(c)return S(n.removed,e=>{e.element&&rn(e.element)}),st&&sn(e),e;if(yt){if(st&&sn(r),gt)for(l=Ue.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(Qe.shadowroot||Qe.shadowrootmode)&&(l=Fe.call(o,l,!0)),l}let u=ft?r.outerHTML:r.innerHTML;return ft&&Ze["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&M(ue,r.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+u),st&&(u=cn(u)),Ne&&bt?Le(u):u},n.setConfig=function(){Kt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),pt=!0,mt=Ze,dt=Qe},n.clearConfig=function(){qt=null,pt=!1,mt=null,dt=null,Ne=ke,De=""},n.isValidAttribute=function(e,t,n){qt||Kt({});const r=Gt(e),o=Gt(t);return bn(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&P(He,e)&&A(He[e],t)},n.removeHook=function(e,t){if(P(He,e)){if(void 0!==t){const n=T(He[e],t);return-1===n?void 0:E(He[e],n,1)[0]}return v(He[e])}},n.removeHooks=function(e){P(He,e)&&(He[e]=[])},n.removeAllHooks=function(){He={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n})(),r(6145);var Ae=r(4848);const Ee=(...e)=>e.filter(Boolean).length>0?e.filter(Boolean).join(" "):null;function we({data:e,variant:t="primary",className:n}){const r=t&&"primary"!==t?`mg-card--${t}`:null;return(0,Ae.jsx)(Ae.Fragment,{children:e.map((e,t)=>(0,Ae.jsxs)("article",{className:Ee("mg-card","mg-card__vc","mg-card__book",r,n),children:[(0,Ae.jsx)("div",{className:"mg-card__visual",children:(0,Ae.jsx)("img",{src:e.imgback,alt:e.imgalt,className:"mg-card__image"})}),(0,Ae.jsx)("div",{className:"mg-card__content",children:(0,Ae.jsx)("header",{className:"mg-card__title",children:(0,Ae.jsx)("a",{href:e.link,children:e.title?.trim()})})})]},t))})}we.propTypes={data:i().array.isRequired,variant:i().oneOf(["primary","secondary","tertiary","quaternary"]),className:i().string};export{we as BookCard};
@@ -1,4 +1,4 @@
1
- /*! @license DOMPurify 3.4.11 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.11/LICENSE */
1
+ /*! @license DOMPurify 3.4.14 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.14/LICENSE */
2
2
 
3
3
  /**
4
4
  * @license React
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * This is a UNDRR Mangrove component: https://github.com/unisdr/undrr-mangrove?tab=readme-ov-file
3
- * Compiled on: 2026-07-06T14:31:03.210Z
3
+ * Compiled on: 2026-08-31T15:14:38.056Z
4
4
  */
5
5
  /*! For license information please see Breadcrumbs.js.LICENSE.txt */
6
- import"react";var e={2694(e,r,t){var n=t(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,r,t,a,o,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:o,resetWarningCache:a};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),r.jsx=function(e,r,n){var a=null;if(void 0!==n&&(a=""+n),void 0!==r.key&&(a=""+r.key),"key"in r)for(var o in n={},r)"key"!==o&&(n[o]=r[o]);else n=r;return r=n.ref,{$$typeof:t,type:e,key:a,ref:void 0!==r?r:null,props:n}}},4848(e,r,t){e.exports=t(9698)}},r={};function t(n){var a=r[n];if(void 0!==a)return a.exports;var o=r[n]={exports:{}};return e[n](o,o.exports,t),o.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var n=t(5556),a=t.n(n),o=t(4848);function i({data:e,Color:r,navLabel:t="breadcrumbs",...n}){const a=e.length-1;let i="";return"White"==r&&(i="mg-breadcrumb--white"),(0,o.jsx)("nav",{"aria-label":t,className:["mg-breadcrumb",`${i}`].join(" ").trim(),children:(0,o.jsx)("ul",{children:e.map((e,r)=>r===a?(0,o.jsx)("li",{"aria-current":"page",children:e.text},r):(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:"#",children:e.text})},r))})})}i.propTypes={data:a().arrayOf(a().shape({text:a().string.isRequired})).isRequired,Color:a().string,navLabel:a().string};export{i as Breadcrumbcomponent};
6
+ import"react";var e={2694(e,r,t){var n=t(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,r,t,o,a,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:o};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),r.jsx=function(e,r,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==r.key&&(o=""+r.key),"key"in r)for(var a in n={},r)"key"!==a&&(n[a]=r[a]);else n=r;return r=n.ref,{$$typeof:t,type:e,key:o,ref:void 0!==r?r:null,props:n}}},4848(e,r,t){e.exports=t(9698)}};const r={};function t(n){const o=r[n];if(void 0!==o)return o.exports;const a=r[n]={exports:{}};return e[n](a,a.exports,t),a.exports}t.n=e=>{const r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{if(Array.isArray(r))for(var n=0;n<r.length;){var o=r[n++],a=r[n++];t.o(e,o)?0===a&&n++:0===a?Object.defineProperty(e,o,{enumerable:!0,value:r[n++]}):Object.defineProperty(e,o,{enumerable:!0,get:a})}else for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var n=t(5556),o=t.n(n),a=t(4848);function i({data:e,Color:r,navLabel:t="breadcrumbs",...n}){const o=e.length-1;let i="";return"White"==r&&(i="mg-breadcrumb--white"),(0,a.jsx)("nav",{"aria-label":t,className:["mg-breadcrumb",`${i}`].join(" ").trim(),children:(0,a.jsx)("ul",{children:e.map((e,r)=>r===o?(0,a.jsx)("li",{"aria-current":"page",children:e.text},r):(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"#",children:e.text})},r))})})}i.propTypes={data:o().arrayOf(o().shape({text:o().string.isRequired})).isRequired,Color:o().string,navLabel:o().string};export{i as Breadcrumbcomponent};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * This is a UNDRR Mangrove component: https://github.com/unisdr/undrr-mangrove?tab=readme-ov-file
3
- * Compiled on: 2026-07-06T14:31:03.210Z
3
+ * Compiled on: 2026-08-31T15:14:38.056Z
4
4
  */
5
5
  /*! For license information please see Checkbox.js.LICENSE.txt */
6
- import{useId as e}from"react";var r={2694(e,r,o){var a=o(6925);function t(){}function n(){}n.resetWarningCache=t,e.exports=function(){function e(e,r,o,t,n,i){if(i!==a){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function r(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o}},5556(e,r,o){e.exports=o(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var o=Symbol.for("react.transitional.element");function a(e,r,a){var t=null;if(void 0!==a&&(t=""+a),void 0!==r.key&&(t=""+r.key),"key"in r)for(var n in a={},r)"key"!==n&&(a[n]=r[n]);else a=r;return r=a.ref,{$$typeof:o,type:e,key:t,ref:void 0!==r?r:null,props:a}}Symbol.for("react.fragment"),r.jsx=a,r.jsxs=a},4848(e,r,o){e.exports=o(9698)}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var o in r)a.o(r,o)&&!a.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var t=a(5556),n=a.n(t),i=a(4848);function l({id:r,name:o,label:a,value:t,checked:n,defaultChecked:l,onChange:s,disabled:c=!1,error:p=!1,errorText:f,labelPosition:d="after",className:m,...u}){const b=e(),h=r||b,y=p&&f?`${h}-error`:void 0,v=["mg-form-check__input","mg-form-check__input--checkbox",c&&"mg-form-check__input--disabled",p&&"mg-form-check__input--error"].filter(Boolean).join(" "),g=a&&(0,i.jsx)("label",{className:"mg-form-check__label",htmlFor:h,children:a});return(0,i.jsxs)("div",{className:["mg-form-check",m].filter(Boolean).join(" "),children:["before"===d&&g,(0,i.jsx)("input",{className:v,type:"checkbox",id:h,name:o,value:t,checked:n,defaultChecked:l,onChange:s,disabled:c,"aria-invalid":p||void 0,"aria-describedby":y,...a?{}:{"aria-label":t},...u}),"after"===d&&g,p&&f&&(0,i.jsx)("p",{className:"mg-form-error",id:y,role:"alert",children:f})]})}l.propTypes={id:n().string,name:n().string,label:n().string,value:n().string,checked:n().bool,defaultChecked:n().bool,onChange:n().func,disabled:n().bool,error:n().bool,errorText:n().string,labelPosition:n().oneOf(["before","after"]),className:n().string};const s=l;export{l as Checkbox,s as default};
6
+ import{useId as e}from"react";var r={2694(e,r,o){var t=o(6925);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,r,o,n,a,i){if(i!==t){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:n};return o.PropTypes=o,o}},5556(e,r,o){e.exports=o(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var o=Symbol.for("react.transitional.element");function t(e,r,t){var n=null;if(void 0!==t&&(n=""+t),void 0!==r.key&&(n=""+r.key),"key"in r)for(var a in t={},r)"key"!==a&&(t[a]=r[a]);else t=r;return r=t.ref,{$$typeof:o,type:e,key:n,ref:void 0!==r?r:null,props:t}}Symbol.for("react.fragment"),r.jsx=t,r.jsxs=t},4848(e,r,o){e.exports=o(9698)}};const o={};function t(e){const n=o[e];if(void 0!==n)return n.exports;const a=o[e]={exports:{}};return r[e](a,a.exports,t),a.exports}t.n=e=>{const r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{if(Array.isArray(r))for(var o=0;o<r.length;){var n=r[o++],a=r[o++];t.o(e,n)?0===a&&o++:0===a?Object.defineProperty(e,n,{enumerable:!0,value:r[o++]}):Object.defineProperty(e,n,{enumerable:!0,get:a})}else for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var n=t(5556),a=t.n(n),i=t(4848);function s({id:r,name:o,label:t,value:n,checked:a,defaultChecked:s,onChange:l,disabled:c=!1,error:f=!1,errorText:p,labelPosition:d="after",className:u,...m}){const b=e(),y=r||b,h=f&&p?`${y}-error`:void 0,g=["mg-form-check__input","mg-form-check__input--checkbox",c&&"mg-form-check__input--disabled",f&&"mg-form-check__input--error"].filter(Boolean).join(" "),v=t&&(0,i.jsx)("label",{className:"mg-form-check__label",htmlFor:y,children:t});return(0,i.jsxs)("div",{className:["mg-form-check",u].filter(Boolean).join(" "),children:["before"===d&&v,(0,i.jsx)("input",{className:g,type:"checkbox",id:y,name:o,value:n,checked:a,defaultChecked:s,onChange:l,disabled:c,"aria-invalid":f||void 0,"aria-describedby":h,...t?{}:{"aria-label":n},...m}),"after"===d&&v,f&&p&&(0,i.jsx)("p",{className:"mg-form-error",id:h,role:"alert",children:p})]})}s.propTypes={id:a().string,name:a().string,label:a().string,value:a().string,checked:a().bool,defaultChecked:a().bool,onChange:a().func,disabled:a().bool,error:a().bool,errorText:a().string,labelPosition:a().oneOf(["before","after"]),className:a().string};const l=s;export{s as Checkbox,l as default};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * This is a UNDRR Mangrove component: https://github.com/unisdr/undrr-mangrove?tab=readme-ov-file
3
- * Compiled on: 2026-07-06T14:31:03.210Z
3
+ * Compiled on: 2026-08-31T15:14:38.056Z
4
4
  */
5
5
  /*! For license information please see Chips.js.LICENSE.txt */
6
- import"react";var e={2694(e,r,t){var o=t(6925);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,r,t,n,a,p){if(p!==o){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:n};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),r.jsx=function(e,r,o){var n=null;if(void 0!==o&&(n=""+o),void 0!==r.key&&(n=""+r.key),"key"in r)for(var a in o={},r)"key"!==a&&(o[a]=r[a]);else o=r;return r=o.ref,{$$typeof:t,type:e,key:n,ref:void 0!==r?r:null,props:o}}},4848(e,r,t){e.exports=t(9698)}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var o=t(5556),n=t.n(o),a=t(4848);function p({label:e,Type:r="Default"}){return"With X"===r?(0,a.jsx)("button",{type:"button",className:"mg-chip mg-chip__cross","aria-label":`Remove filter: ${e}`,children:e}):(0,a.jsx)("a",{className:"mg-chip",href:"#",children:e})}p.propTypes={label:n().string.isRequired,Type:n().oneOf(["Default","With X"])};export{p as Chips};
6
+ import"react";var e={2694(e,r,t){var o=t(6925);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,r,t,n,a,i){if(i!==o){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:n};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),r.jsx=function(e,r,o){var n=null;if(void 0!==o&&(n=""+o),void 0!==r.key&&(n=""+r.key),"key"in r)for(var a in o={},r)"key"!==a&&(o[a]=r[a]);else o=r;return r=o.ref,{$$typeof:t,type:e,key:n,ref:void 0!==r?r:null,props:o}}},4848(e,r,t){e.exports=t(9698)}};const r={};function t(o){const n=r[o];if(void 0!==n)return n.exports;const a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}t.n=e=>{const r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{if(Array.isArray(r))for(var o=0;o<r.length;){var n=r[o++],a=r[o++];t.o(e,n)?0===a&&o++:0===a?Object.defineProperty(e,n,{enumerable:!0,value:r[o++]}):Object.defineProperty(e,n,{enumerable:!0,get:a})}else for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var o=t(5556),n=t.n(o),a=t(4848);function i({label:e,Type:r="Default"}){return"With X"===r?(0,a.jsx)("button",{type:"button",className:"mg-chip mg-chip__cross","aria-label":`Remove filter: ${e}`,children:e}):(0,a.jsx)("a",{className:"mg-chip",href:"#",children:e})}i.propTypes={label:n().string.isRequired,Type:n().oneOf(["Default","With X"])};export{i as Chips};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * This is a UNDRR Mangrove component: https://github.com/unisdr/undrr-mangrove?tab=readme-ov-file
3
- * Compiled on: 2026-07-06T14:31:03.210Z
3
+ * Compiled on: 2026-08-31T15:14:38.056Z
4
4
  */
5
5
  /*! For license information please see CtaButton.js.LICENSE.txt */
6
- import*as e from"react";var r={2694(e,r,t){var o=t(6925);function a(){}function n(){}n.resetWarningCache=a,e.exports=function(){function e(e,r,t,a,n,i){if(i!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:a};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),r.jsx=function(e,r,o){var a=null;if(void 0!==o&&(a=""+o),void 0!==r.key&&(a=""+r.key),"key"in r)for(var n in o={},r)"key"!==n&&(o[n]=r[n]);else o=r;return r=o.ref,{$$typeof:t,type:e,key:a,ref:void 0!==r?r:null,props:o}}},4848(e,r,t){e.exports=t(9698)},1649(e,r,t){var o;e.exports=(o={},t.d(o,{}),o)}},t={};function o(e){var a=t[e];if(void 0!==a)return a.exports;var n=t[e]={exports:{}};return r[e](n,n.exports,o),n.exports}o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var a={};o.d(a,{F:()=>p}),o(1649);var n=o(5556),i=o.n(n),s=o(4848);function p({label:e,Type:r="Primary",State:t="Default",...o}){const a="Disabled"===t,n=["mg-button","mg-button-"+("Secondary"===r?"secondary":"primary"),a&&"disabled"].filter(Boolean).join(" ");return(0,s.jsx)("a",{className:n,...a?{"aria-disabled":"true"}:{href:"#"},...o,children:e})}p.propTypes={label:i().string.isRequired,Type:i().oneOf(["Primary","Secondary"]),State:i().oneOf(["Default","Disabled"])};const l=a.F;export{l as CtaButton};
6
+ import*as e from"react";var r={2694(e,r,t){var o=t(6925);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,r,t,n,a,i){if(i!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:n};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),r.jsx=function(e,r,o){var n=null;if(void 0!==o&&(n=""+o),void 0!==r.key&&(n=""+r.key),"key"in r)for(var a in o={},r)"key"!==a&&(o[a]=r[a]);else o=r;return r=o.ref,{$$typeof:t,type:e,key:n,ref:void 0!==r?r:null,props:o}}},4848(e,r,t){e.exports=t(9698)},1649(e,r,t){e.exports=(()=>{const e={};return t.d(e,{}),e})()}};const t={};function o(e){const n=t[e];if(void 0!==n)return n.exports;const a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.n=e=>{const r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{if(Array.isArray(r))for(var t=0;t<r.length;){var n=r[t++],a=r[t++];o.o(e,n)?0===a&&t++:0===a?Object.defineProperty(e,n,{enumerable:!0,value:r[t++]}):Object.defineProperty(e,n,{enumerable:!0,get:a})}else for(var n in r)o.o(r,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.d({},{F:()=>s}),o(1649);var n=o(5556),a=o.n(n),i=o(4848);function s({label:e,Type:r="Primary",Outline:t=!1,State:o="Default",...n}){const a="Disabled"===o,s=["mg-button","mg-button-"+("Secondary"===r?"secondary":"primary"),t&&"mg-button-outline",a&&"disabled"].filter(Boolean).join(" ");return(0,i.jsx)("a",{className:s,...a?{"aria-disabled":"true"}:{href:"#"},...n,children:e})}s.propTypes={label:a().string.isRequired,Type:a().oneOf(["Primary","Secondary"]),Outline:a().bool,State:a().oneOf(["Default","Disabled"])};export{s as CtaButton};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * This is a UNDRR Mangrove component: https://github.com/unisdr/undrr-mangrove?tab=readme-ov-file
3
- * Compiled on: 2026-07-06T14:31:03.210Z
3
+ * Compiled on: 2026-08-31T15:14:38.056Z
4
4
  */
5
5
  /*! For license information please see EmbedContainer.js.LICENSE.txt */
6
- import"react";var e={2694(e,r,t){var n=t(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,r,t,o,a,s){if(s!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:o};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),r.jsx=function(e,r,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==r.key&&(o=""+r.key),"key"in r)for(var a in n={},r)"key"!==a&&(n[a]=r[a]);else n=r;return r=n.ref,{$$typeof:t,type:e,key:o,ref:void 0!==r?r:null,props:n}}},4848(e,r,t){e.exports=t(9698)}},r={};function t(n){var o=r[n];if(void 0!==o)return o.exports;var a=r[n]={exports:{}};return e[n](a,a.exports,t),a.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var n=t(5556),o=t.n(n),a=t(4848);function s({children:e,aspectRatio:r="16x9",className:t="",as:n="div"}){const o=["mg-embed-container","16x9"!==r&&`mg-embed-container--${r}`,t].filter(Boolean).join(" ");return(0,a.jsx)(n,{className:o,children:e})}s.propTypes={children:o().node,aspectRatio:o().oneOf(["16x9","4x3","1x1","21x9"]),className:o().string,as:o().string};const i=s;export{s as EmbedContainer,i as default};
6
+ import"react";var e={2694(e,r,t){var n=t(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,r,t,o,a,s){if(s!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:o};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),r.jsx=function(e,r,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==r.key&&(o=""+r.key),"key"in r)for(var a in n={},r)"key"!==a&&(n[a]=r[a]);else n=r;return r=n.ref,{$$typeof:t,type:e,key:o,ref:void 0!==r?r:null,props:n}}},4848(e,r,t){e.exports=t(9698)}};const r={};function t(n){const o=r[n];if(void 0!==o)return o.exports;const a=r[n]={exports:{}};return e[n](a,a.exports,t),a.exports}t.n=e=>{const r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{if(Array.isArray(r))for(var n=0;n<r.length;){var o=r[n++],a=r[n++];t.o(e,o)?0===a&&n++:0===a?Object.defineProperty(e,o,{enumerable:!0,value:r[n++]}):Object.defineProperty(e,o,{enumerable:!0,get:a})}else for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var n=t(5556),o=t.n(n),a=t(4848);function s({children:e,aspectRatio:r="16x9",className:t="",as:n="div"}){const o=["mg-embed-container","16x9"!==r&&`mg-embed-container--${r}`,t].filter(Boolean).join(" ");return(0,a.jsx)(n,{className:o,children:e})}s.propTypes={children:o().node,aspectRatio:o().oneOf(["16x9","4x3","1x1","21x9"]),className:o().string,as:o().string};const i=s;export{s as EmbedContainer,i as default};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * This is a UNDRR Mangrove component: https://github.com/unisdr/undrr-mangrove?tab=readme-ov-file
3
- * Compiled on: 2026-07-06T14:31:03.210Z
3
+ * Compiled on: 2026-08-31T15:14:38.056Z
4
4
  */
5
5
  /*! For license information please see Footer.js.LICENSE.txt */
6
- import{useEffect as e,useMemo as n,useRef as t}from"react";var r={2694(e,n,t){var r=t(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t}},5556(e,n,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,n){var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,n,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==n.key&&(o=""+n.key),"key"in n)for(var i in r={},n)"key"!==i&&(r[i]=n[i]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:o,ref:void 0!==n?n:null,props:r}}n.Fragment=r,n.jsx=o,n.jsxs=o},4848(e,n,t){e.exports=t(9698)}},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var t=o[e]={exports:{}};return r[e](t,t.exports,i),t.exports}i.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return i.d(n,{a:n}),n},i.d=(e,n)=>{for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var a=i(5556),s=i.n(a),c=i(4848);const l=(...e)=>e.filter(Boolean).length>0?e.filter(Boolean).join(" "):null,d={contenttype:"landingpage",pageid:"83835",includemetatags:!1,includecss:!1,suffixID:"footer",activedomain:"www.undrr.org"},p={};function u({variant:r="default",enableSyndication:o=!0,syndicationConfig:i=p,complementaryContent:a=null,children:s,className:u,...f}){const y=t(null),m=n(()=>({...d,...i}),[i]);return e(()=>{if(!o)return;const e=document.querySelector('script[src*="preventionweb.net/widget.js"]'),n=()=>{const e=document.createElement("script");e.type="text/javascript",e.innerHTML=`\n if (window.PW_Widget) {\n new PW_Widget.initialize({\n contenttype: "${m.contenttype}",\n pageid: "${m.pageid}",\n includemetatags: ${m.includemetatags},\n includecss: ${m.includecss},\n suffixID: "${m.suffixID}",\n activedomain: "${m.activedomain}"\n });\n }\n `,document.head.appendChild(e)};if(e)n();else{const e=document.createElement("script");e.type="text/javascript",e.src="https://publish.preventionweb.net/widget.js?rand=3d797b",document.head.appendChild(e),e.onload=()=>{n()},e.onerror=()=>{console.warn("Failed to load UNDRR syndication widget"),y.current&&(y.current.innerHTML="<p>Unable to load syndicated footer content.</p>")}}return()=>{y.current&&(y.current.innerHTML="")}},[o,m]),(0,c.jsxs)("footer",{className:l("mg-footer",u),...f,children:[(a||s)&&(0,c.jsx)(c.Fragment,{children:a||s}),o&&(0,c.jsx)("div",{className:`pw-widget-${m.suffixID}`,ref:y,children:"Loading UNDRR footer content…"})]})}u.propTypes={variant:s().string,enableSyndication:s().bool,syndicationConfig:s().shape({contenttype:s().string,pageid:s().string,includemetatags:s().bool,includecss:s().bool,suffixID:s().string,activedomain:s().string}),complementaryContent:s().node,children:s().node,className:s().string};export{u as Footer};
6
+ import{useEffect as e,useMemo as n,useRef as t}from"react";var r={2694(e,n,t){var r=t(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t}},5556(e,n,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,n){var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,n,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==n.key&&(o=""+n.key),"key"in n)for(var i in r={},n)"key"!==i&&(r[i]=n[i]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:o,ref:void 0!==n?n:null,props:r}}n.Fragment=r,n.jsx=o,n.jsxs=o},4848(e,n,t){e.exports=t(9698)}};const o={};function i(e){const n=o[e];if(void 0!==n)return n.exports;const t=o[e]={exports:{}};return r[e](t,t.exports,i),t.exports}i.n=e=>{const n=e&&e.__esModule?()=>e.default:()=>e;return i.d(n,{a:n}),n},i.d=(e,n)=>{if(Array.isArray(n))for(var t=0;t<n.length;){var r=n[t++],o=n[t++];i.o(e,r)?0===o&&t++:0===o?Object.defineProperty(e,r,{enumerable:!0,value:n[t++]}):Object.defineProperty(e,r,{enumerable:!0,get:o})}else for(var r in n)i.o(n,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var a=i(5556),s=i.n(a),c=i(4848);const l=(...e)=>e.filter(Boolean).length>0?e.filter(Boolean).join(" "):null,d={contenttype:"landingpage",pageid:"83835",includemetatags:!1,includecss:!1,suffixID:"footer",activedomain:"www.undrr.org"},p={};function u({variant:r="default",enableSyndication:o=!0,syndicationConfig:i=p,complementaryContent:a=null,children:s,className:u,...f}){const y=t(null),m=n(()=>({...d,...i}),[i]);return e(()=>{if(!o)return;const e=document.querySelector('script[src*="preventionweb.net/widget.js"]'),n=()=>{const e=document.createElement("script");e.type="text/javascript",e.innerHTML=`\n if (window.PW_Widget) {\n new PW_Widget.initialize({\n contenttype: "${m.contenttype}",\n pageid: "${m.pageid}",\n includemetatags: ${m.includemetatags},\n includecss: ${m.includecss},\n suffixID: "${m.suffixID}",\n activedomain: "${m.activedomain}"\n });\n }\n `,document.head.appendChild(e)};if(e)n();else{const e=document.createElement("script");e.type="text/javascript",e.src="https://publish.preventionweb.net/widget.js?rand=3d797b",document.head.appendChild(e),e.onload=()=>{n()},e.onerror=()=>{console.warn("Failed to load UNDRR syndication widget"),y.current&&(y.current.innerHTML="<p>Unable to load syndicated footer content.</p>")}}return()=>{y.current&&(y.current.innerHTML="")}},[o,m]),(0,c.jsxs)("footer",{className:l("mg-footer",u),...f,children:[(a||s)&&(0,c.jsx)(c.Fragment,{children:a||s}),o&&(0,c.jsx)("div",{className:`pw-widget-${m.suffixID}`,ref:y,children:"Loading UNDRR footer content…"})]})}u.propTypes={variant:s().string,enableSyndication:s().bool,syndicationConfig:s().shape({contenttype:s().string,pageid:s().string,includemetatags:s().bool,includecss:s().bool,suffixID:s().string,activedomain:s().string}),complementaryContent:s().node,children:s().node,className:s().string};export{u as Footer};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * This is a UNDRR Mangrove component: https://github.com/unisdr/undrr-mangrove?tab=readme-ov-file
3
- * Compiled on: 2026-07-06T14:31:03.210Z
3
+ * Compiled on: 2026-08-31T15:14:38.056Z
4
4
  */
5
5
  /*! For license information please see FormErrorSummary.js.LICENSE.txt */
6
- import{useEffect as e,useRef as r}from"react";var t={2694(e,r,t){var n=t(6925);function o(){}function s(){}s.resetWarningCache=o,e.exports=function(){function e(e,r,t,o,s,a){if(a!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:s,resetWarningCache:o};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");function n(e,r,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==r.key&&(o=""+r.key),"key"in r)for(var s in n={},r)"key"!==s&&(n[s]=r[s]);else n=r;return r=n.ref,{$$typeof:t,type:e,key:o,ref:void 0!==r?r:null,props:n}}Symbol.for("react.fragment"),r.jsx=n,r.jsxs=n},4848(e,r,t){e.exports=t(9698)}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var s=n[e]={exports:{}};return t[e](s,s.exports,o),s.exports}o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var s=o(5556),a=o.n(s),i=o(4848);function l({title:t="There is a problem",errors:n,className:o,...s}){const a=r(null),l=r(!1);return e(()=>{n?.length>0&&a.current&&!l.current&&(a.current.focus(),l.current=!0)},[n]),n&&0!==n.length?(0,i.jsxs)("div",{className:["mg-form-error-summary",o].filter(Boolean).join(" "),role:"alert",tabIndex:-1,ref:a,...s,children:[(0,i.jsx)("h2",{className:"mg-form-error-summary__title",children:t}),(0,i.jsx)("ul",{className:"mg-form-error-summary__list",children:n.map(e=>(0,i.jsx)("li",{children:(0,i.jsx)("a",{href:`#${e.id}`,children:e.message})},e.id))})]}):null}l.propTypes={title:a().string,errors:a().arrayOf(a().shape({id:a().string.isRequired,message:a().string.isRequired})).isRequired,className:a().string};const c=l;export{l as FormErrorSummary,c as default};
6
+ import{useEffect as e,useRef as r}from"react";var t={2694(e,r,t){var n=t(6925);function o(){}function s(){}s.resetWarningCache=o,e.exports=function(){function e(e,r,t,o,s,a){if(a!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:s,resetWarningCache:o};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");function n(e,r,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==r.key&&(o=""+r.key),"key"in r)for(var s in n={},r)"key"!==s&&(n[s]=r[s]);else n=r;return r=n.ref,{$$typeof:t,type:e,key:o,ref:void 0!==r?r:null,props:n}}Symbol.for("react.fragment"),r.jsx=n,r.jsxs=n},4848(e,r,t){e.exports=t(9698)}};const n={};function o(e){const r=n[e];if(void 0!==r)return r.exports;const s=n[e]={exports:{}};return t[e](s,s.exports,o),s.exports}o.n=e=>{const r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{if(Array.isArray(r))for(var t=0;t<r.length;){var n=r[t++],s=r[t++];o.o(e,n)?0===s&&t++:0===s?Object.defineProperty(e,n,{enumerable:!0,value:r[t++]}):Object.defineProperty(e,n,{enumerable:!0,get:s})}else for(var n in r)o.o(r,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var s=o(5556),a=o.n(s),i=o(4848);function l({title:t="There is a problem",errors:n,className:o,...s}){const a=r(null),l=r(!1);return e(()=>{n?.length>0&&a.current&&!l.current&&(a.current.focus(),l.current=!0)},[n]),n&&0!==n.length?(0,i.jsxs)("div",{className:["mg-form-error-summary",o].filter(Boolean).join(" "),role:"alert",tabIndex:-1,ref:a,...s,children:[(0,i.jsx)("h2",{className:"mg-form-error-summary__title",children:t}),(0,i.jsx)("ul",{className:"mg-form-error-summary__list",children:n.map(e=>(0,i.jsx)("li",{children:(0,i.jsx)("a",{href:`#${e.id}`,children:e.message})},e.id))})]}):null}l.propTypes={title:a().string,errors:a().arrayOf(a().shape({id:a().string.isRequired,message:a().string.isRequired})).isRequired,className:a().string};const c=l;export{l as FormErrorSummary,c as default};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * This is a UNDRR Mangrove component: https://github.com/unisdr/undrr-mangrove?tab=readme-ov-file
3
- * Compiled on: 2026-07-06T14:31:03.210Z
3
+ * Compiled on: 2026-08-31T15:14:38.056Z
4
4
  */
5
5
  /*! For license information please see FormGroup.js.LICENSE.txt */
6
- import{useId as e}from"react";var r={2694(e,r,o){var n=o(6925);function t(){}function a(){}a.resetWarningCache=t,e.exports=function(){function e(e,r,o,t,a,s){if(s!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:t};return o.PropTypes=o,o}},5556(e,r,o){e.exports=o(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var o=Symbol.for("react.transitional.element");function n(e,r,n){var t=null;if(void 0!==n&&(t=""+n),void 0!==r.key&&(t=""+r.key),"key"in r)for(var a in n={},r)"key"!==a&&(n[a]=r[a]);else n=r;return r=n.ref,{$$typeof:o,type:e,key:t,ref:void 0!==r?r:null,props:n}}Symbol.for("react.fragment"),r.jsx=n,r.jsxs=n},4848(e,r,o){e.exports=o(9698)}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={exports:{}};return r[e](a,a.exports,n),a.exports}n.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{for(var o in r)n.o(r,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var t=n(5556),a=n.n(t),s=n(4848);function i({children:r,legend:o,disabled:n=!1,error:t=!1,errorText:a,hideLegend:i=!1,className:l,...p}){const d=e(),c=t&&a?`${d}-error`:void 0,f=["mg-form-group",n&&"mg-form-group--disabled",t&&"mg-form-group--error",l].filter(Boolean).join(" "),u=["mg-form-group__legend",i&&"mg-u-sr-only"].filter(Boolean).join(" ");return(0,s.jsxs)("fieldset",{className:f,disabled:n,"aria-describedby":c,...p,children:[(0,s.jsx)("legend",{className:u,children:o}),r,t&&a&&(0,s.jsx)("p",{className:"mg-form-error",id:c,role:"alert",children:a})]})}i.propTypes={children:a().node.isRequired,legend:a().string.isRequired,disabled:a().bool,error:a().bool,errorText:a().string,hideLegend:a().bool,className:a().string};const l=i;export{i as FormGroup,l as default};
6
+ import{useId as e}from"react";var r={2694(e,r,o){var n=o(6925);function t(){}function a(){}a.resetWarningCache=t,e.exports=function(){function e(e,r,o,t,a,s){if(s!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:t};return o.PropTypes=o,o}},5556(e,r,o){e.exports=o(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var o=Symbol.for("react.transitional.element");function n(e,r,n){var t=null;if(void 0!==n&&(t=""+n),void 0!==r.key&&(t=""+r.key),"key"in r)for(var a in n={},r)"key"!==a&&(n[a]=r[a]);else n=r;return r=n.ref,{$$typeof:o,type:e,key:t,ref:void 0!==r?r:null,props:n}}Symbol.for("react.fragment"),r.jsx=n,r.jsxs=n},4848(e,r,o){e.exports=o(9698)}};const o={};function n(e){const t=o[e];if(void 0!==t)return t.exports;const a=o[e]={exports:{}};return r[e](a,a.exports,n),a.exports}n.n=e=>{const r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{if(Array.isArray(r))for(var o=0;o<r.length;){var t=r[o++],a=r[o++];n.o(e,t)?0===a&&o++:0===a?Object.defineProperty(e,t,{enumerable:!0,value:r[o++]}):Object.defineProperty(e,t,{enumerable:!0,get:a})}else for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var t=n(5556),a=n.n(t),s=n(4848);function i({children:r,legend:o,disabled:n=!1,error:t=!1,errorText:a,hideLegend:i=!1,className:l,...p}){const c=e(),d=t&&a?`${c}-error`:void 0,f=["mg-form-group",n&&"mg-form-group--disabled",t&&"mg-form-group--error",l].filter(Boolean).join(" "),u=["mg-form-group__legend",i&&"mg-u-sr-only"].filter(Boolean).join(" ");return(0,s.jsxs)("fieldset",{className:f,disabled:n,"aria-describedby":d,...p,children:[(0,s.jsx)("legend",{className:u,children:o}),r,t&&a&&(0,s.jsx)("p",{className:"mg-form-error",id:d,role:"alert",children:a})]})}i.propTypes={children:a().node.isRequired,legend:a().string.isRequired,disabled:a().bool,error:a().bool,errorText:a().string,hideLegend:a().bool,className:a().string};const l=i;export{i as FormGroup,l as default};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * This is a UNDRR Mangrove component: https://github.com/unisdr/undrr-mangrove?tab=readme-ov-file
3
- * Compiled on: 2026-07-06T14:31:03.210Z
3
+ * Compiled on: 2026-08-31T15:14:38.056Z
4
4
  */
5
5
  /*! For license information please see FullWidth.js.LICENSE.txt */
6
- import"react";var e={2694(e,r,t){var n=t(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,r,t,o,a,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:o};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),r.jsx=function(e,r,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==r.key&&(o=""+r.key),"key"in r)for(var a in n={},r)"key"!==a&&(n[a]=r[a]);else n=r;return r=n.ref,{$$typeof:t,type:e,key:o,ref:void 0!==r?r:null,props:n}}},4848(e,r,t){e.exports=t(9698)}},r={};function t(n){var o=r[n];if(void 0!==o)return o.exports;var a=r[n]={exports:{}};return e[n](a,a.exports,t),a.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var n=t(5556),o=t.n(n),a=t(4848);function i({children:e,className:r=""}){const t=["mg-container-full-width",r].filter(Boolean).join(" ");return(0,a.jsx)("section",{className:t,children:e})}i.propTypes={children:o().node,className:o().string};const s=i;export{i as FullWidth,s as default};
6
+ import"react";var e={2694(e,r,t){var n=t(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,r,t,o,a,s){if(s!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:o};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),r.jsx=function(e,r,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==r.key&&(o=""+r.key),"key"in r)for(var a in n={},r)"key"!==a&&(n[a]=r[a]);else n=r;return r=n.ref,{$$typeof:t,type:e,key:o,ref:void 0!==r?r:null,props:n}}},4848(e,r,t){e.exports=t(9698)}};const r={};function t(n){const o=r[n];if(void 0!==o)return o.exports;const a=r[n]={exports:{}};return e[n](a,a.exports,t),a.exports}t.n=e=>{const r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{if(Array.isArray(r))for(var n=0;n<r.length;){var o=r[n++],a=r[n++];t.o(e,o)?0===a&&n++:0===a?Object.defineProperty(e,o,{enumerable:!0,value:r[n++]}):Object.defineProperty(e,o,{enumerable:!0,get:a})}else for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var n=t(5556),o=t.n(n),a=t(4848);function s({children:e,className:r=""}){const t=["mg-container-full-width",r].filter(Boolean).join(" ");return(0,a.jsx)("section",{className:t,children:e})}s.propTypes={children:o().node,className:o().string};const i=s;export{s as FullWidth,i as default};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * This is a UNDRR Mangrove component: https://github.com/unisdr/undrr-mangrove?tab=readme-ov-file
3
- * Compiled on: 2026-07-06T14:31:03.210Z
3
+ * Compiled on: 2026-08-31T15:14:38.056Z
4
4
  */
5
5
  /*! For license information please see Gallery.js.LICENSE.txt */
6
- import{default as e,useCallback as r,useEffect as a,useRef as l,useState as t}from"react";var n={2694(e,r,a){var l=a(6925);function t(){}function n(){}n.resetWarningCache=t,e.exports=function(){function e(e,r,a,t,n,i){if(i!==l){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function r(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}},5556(e,r,a){e.exports=a(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var a=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function t(e,r,l){var t=null;if(void 0!==l&&(t=""+l),void 0!==r.key&&(t=""+r.key),"key"in r)for(var n in l={},r)"key"!==n&&(l[n]=r[n]);else l=r;return r=l.ref,{$$typeof:a,type:e,key:t,ref:void 0!==r?r:null,props:l}}r.Fragment=l,r.jsx=t,r.jsxs=t},4848(e,r,a){e.exports=a(9698)}},i={};function o(e){var r=i[e];if(void 0!==r)return r.exports;var a=i[e]={exports:{}};return n[e](a,a.exports,o),a.exports}o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var a in r)o.o(r,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:r[a]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var s=o(5556),c=o.n(s),d=o(4848);const m=(...e)=>e.filter(Boolean).length>0?e.filter(Boolean).join(" "):null,g={galleryAriaLabel:"Gallery",prevLabel:"Previous item",nextLabel:"Next item",loadingLabel:"Loading media"};function b({media:e,initialIndex:n=0,showThumbnails:i=!0,thumbnailPosition:o="left",showArrows:s=!0,arrowStyle:c="overlay",showDescription:b=!0,enableKeyboard:u=!0,loop:p=!1,onMediaChange:y,labels:h={}}){const{galleryAriaLabel:_,prevLabel:f,nextLabel:v,loadingLabel:x}={...g,...h},[w,j]=t(n),[N,k]=t(!1),L=l(null),T=l(null),O=l(null),S=l([]),I=l(null),P=l(null),C=e[w];a(()=>{"video"===C.type||"embed"===C.type?k(!0):k(!1)},[w,C.type]);const D=r(r=>{j(r),y&&y(r,e[r]),S.current[r]&&S.current[r].scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},[e,y]),A=r(()=>{w<e.length-1?D(w+1):p&&D(0)},[w,e.length,D,p]),E=r(()=>{w>0?D(w-1):p&&D(e.length-1)},[w,D,p,e.length]),R=r(r=>{if(u)switch(r.key){case"ArrowLeft":r.preventDefault(),E();break;case"ArrowRight":r.preventDefault(),A();break;case"Home":r.preventDefault(),D(0);break;case"End":r.preventDefault(),D(e.length-1)}},[u,A,E,D,e.length]),M=m("mg-gallery","bottom"===o&&"mg-gallery--thumbnails-bottom");return(0,d.jsxs)("div",{ref:L,className:M,role:"region","aria-label":_,tabIndex:u?0:void 0,onKeyDown:R,children:[(0,d.jsxs)("div",{className:"mg-gallery__main",role:"group",children:[(0,d.jsxs)("div",{className:"mg-gallery__image-wrapper",onTouchStart:e=>{I.current=e.touches[0].clientX,P.current=null},onTouchMove:e=>{P.current=e.touches[0].clientX},onTouchEnd:()=>{if(!I.current||!P.current)return;const e=I.current-P.current;Math.abs(e)>50&&(e>0?A():E()),I.current=null,P.current=null},children:[(!C.type||"image"===C.type)&&(0,d.jsx)("img",{ref:T,src:C.src,alt:C.alt,className:"mg-gallery__image","aria-describedby":b&&C.description?"gallery-description":void 0}),"video"===C.type&&(0,d.jsxs)("video",{ref:T,src:C.src,className:"mg-gallery__image mg-gallery__video",controls:!0,poster:C.poster,onLoadedData:()=>k(!1),onLoadStart:()=>k(!0),"aria-describedby":b&&C.description?"gallery-description":void 0,children:[(0,d.jsx)("track",{kind:"captions"}),"Your browser does not support the video tag."]}),"embed"===C.type&&(0,d.jsx)("iframe",{ref:T,src:C.embedUrl||C.src,className:"mg-gallery__image mg-gallery__embed",title:C.title||C.alt,allowFullScreen:!0,onLoad:()=>k(!1),"aria-describedby":b&&C.description?"gallery-description":void 0}),"html"===C.type&&(0,d.jsx)("div",{ref:T,className:"mg-gallery__image mg-gallery__html",dangerouslySetInnerHTML:{__html:C.html},"aria-describedby":b&&C.description?"gallery-description":void 0}),N&&(0,d.jsx)("div",{className:"mg-gallery__loading","aria-live":"polite","aria-label":x,children:(0,d.jsx)("div",{className:"mg-gallery__spinner"})})]}),s&&"overlay"===c&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{className:"mg-gallery__arrow mg-gallery__arrow--prev",onClick:E,disabled:!p&&0===w,"aria-label":f,type:"button",children:"‹"}),(0,d.jsx)("button",{className:"mg-gallery__arrow mg-gallery__arrow--next",onClick:A,disabled:!p&&w===e.length-1,"aria-label":v,type:"button",children:"›"})]}),s&&"corner"===c&&(0,d.jsxs)("div",{className:"mg-gallery__arrow-controls",children:[(0,d.jsx)("button",{className:"mg-gallery__arrow-button mg-gallery__arrow-button--prev",onClick:E,disabled:!p&&0===w,"aria-label":f,type:"button",children:"‹"}),(0,d.jsx)("button",{className:"mg-gallery__arrow-button mg-gallery__arrow-button--next",onClick:A,disabled:!p&&w===e.length-1,"aria-label":v,type:"button",children:"›"})]})]}),b&&(C.title||C.description)&&(0,d.jsxs)("div",{className:"mg-gallery__description",id:"gallery-description",children:[C.title&&(0,d.jsx)("div",{className:"mg-gallery__title",children:C.title}),C.description&&(0,d.jsx)("p",{className:"mg-gallery__caption",children:C.description})]}),i&&(0,d.jsx)("div",{ref:O,className:"mg-gallery__thumbnails",role:"tablist","aria-label":"Gallery thumbnails",children:e.map((e,r)=>(0,d.jsxs)("button",{ref:e=>S.current[r]=e,className:m("mg-gallery__thumbnail",r===w&&"mg-gallery__thumbnail--active","html"===e.type&&!e.thumbnail&&"mg-gallery__thumbnail--html"),onClick:()=>D(r),role:"tab","aria-selected":r===w,"aria-current":r===w?"true":void 0,"aria-label":`View ${e.title||e.alt||"content"}`,type:"button",children:["html"===e.type&&!e.thumbnail&&e.html?(0,d.jsx)("div",{className:"mg-gallery__thumbnail-html-preview","aria-hidden":"true",children:(0,d.jsx)("div",{className:"mg-gallery__thumbnail-html-content",dangerouslySetInnerHTML:{__html:e.html}})}):e.thumbnail||e.src?(0,d.jsx)("img",{src:e.thumbnail||e.src,alt:"",loading:"lazy"}):(0,d.jsx)("span",{className:"mg-gallery__thumbnail-placeholder","aria-hidden":"true",children:"◫"}),("video"===e.type||"embed"===e.type)&&(0,d.jsx)("span",{className:"mg-gallery__thumbnail-indicator","aria-hidden":"true",children:"▶"})]},e.id))})]})}b.propTypes={media:c().arrayOf(c().shape({id:c().string.isRequired,type:c().oneOf(["image","video","embed","html"]),src:c().string,alt:c().string,title:c().string,description:c().string,thumbnail:c().string,poster:c().string,embedUrl:c().string,html:c().string})).isRequired,initialIndex:c().number,showThumbnails:c().bool,thumbnailPosition:c().oneOf(["left","bottom"]),showArrows:c().bool,arrowStyle:c().oneOf(["overlay","corner"]),showDescription:c().bool,enableKeyboard:c().bool,loop:c().bool,onMediaChange:c().func,labels:c().shape({galleryAriaLabel:c().string,prevLabel:c().string,nextLabel:c().string,loadingLabel:c().string})};const u=e.memo(b);function p(e){const{dataset:r}=e,a={initialIndex:r.initialIndex?parseInt(r.initialIndex,10):0,showThumbnails:"false"!==r.showThumbnails,thumbnailPosition:r.thumbnailPosition||"left",showArrows:"false"!==r.showArrows,arrowStyle:r.arrowStyle||"overlay",showDescription:"false"!==r.showDescription,enableKeyboard:"false"!==r.enableKeyboard,loop:"true"===r.loop};try{a.media=r.media?JSON.parse(r.media):[]}catch{a.media=[]}return a}export{u as Gallery,u as default,p as fromElement};
6
+ import{default as e,useCallback as r,useEffect as a,useRef as l,useState as t}from"react";var n={2694(e,r,a){var l=a(6925);function t(){}function n(){}n.resetWarningCache=t,e.exports=function(){function e(e,r,a,t,n,i){if(i!==l){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function r(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}},5556(e,r,a){e.exports=a(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var a=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function t(e,r,l){var t=null;if(void 0!==l&&(t=""+l),void 0!==r.key&&(t=""+r.key),"key"in r)for(var n in l={},r)"key"!==n&&(l[n]=r[n]);else l=r;return r=l.ref,{$$typeof:a,type:e,key:t,ref:void 0!==r?r:null,props:l}}r.Fragment=l,r.jsx=t,r.jsxs=t},4848(e,r,a){e.exports=a(9698)}};const i={};function o(e){const r=i[e];if(void 0!==r)return r.exports;const a=i[e]={exports:{}};return n[e](a,a.exports,o),a.exports}o.n=e=>{const r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{if(Array.isArray(r))for(var a=0;a<r.length;){var l=r[a++],t=r[a++];o.o(e,l)?0===t&&a++:0===t?Object.defineProperty(e,l,{enumerable:!0,value:r[a++]}):Object.defineProperty(e,l,{enumerable:!0,get:t})}else for(var l in r)o.o(r,l)&&!o.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:r[l]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var s=o(5556),c=o.n(s),d=o(4848);const m=(...e)=>e.filter(Boolean).length>0?e.filter(Boolean).join(" "):null,g={galleryAriaLabel:"Gallery",prevLabel:"Previous item",nextLabel:"Next item",loadingLabel:"Loading media"};function b({media:e,initialIndex:n=0,showThumbnails:i=!0,thumbnailPosition:o="left",showArrows:s=!0,arrowStyle:c="overlay",showDescription:b=!0,enableKeyboard:u=!0,loop:p=!1,onMediaChange:y,labels:h={}}){const{galleryAriaLabel:_,prevLabel:f,nextLabel:v,loadingLabel:x}={...g,...h},[w,j]=t(n),[N,k]=t(!1),L=l(null),T=l(null),O=l(null),S=l([]),P=l(null),I=l(null),A=e[w];a(()=>{"video"===A.type||"embed"===A.type?k(!0):k(!1)},[w,A.type]);const C=r(r=>{j(r),y&&y(r,e[r]),S.current[r]&&S.current[r].scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},[e,y]),D=r(()=>{w<e.length-1?C(w+1):p&&C(0)},[w,e.length,C,p]),E=r(()=>{w>0?C(w-1):p&&C(e.length-1)},[w,C,p,e.length]),R=r(r=>{if(u)switch(r.key){case"ArrowLeft":r.preventDefault(),E();break;case"ArrowRight":r.preventDefault(),D();break;case"Home":r.preventDefault(),C(0);break;case"End":r.preventDefault(),C(e.length-1)}},[u,D,E,C,e.length]),M=m("mg-gallery","bottom"===o&&"mg-gallery--thumbnails-bottom");return(0,d.jsxs)("div",{ref:L,className:M,role:"region","aria-label":_,tabIndex:u?0:void 0,onKeyDown:R,children:[(0,d.jsxs)("div",{className:"mg-gallery__main",role:"group",children:[(0,d.jsxs)("div",{className:"mg-gallery__image-wrapper",onTouchStart:e=>{P.current=e.touches[0].clientX,I.current=null},onTouchMove:e=>{I.current=e.touches[0].clientX},onTouchEnd:()=>{if(!P.current||!I.current)return;const e=P.current-I.current;Math.abs(e)>50&&(e>0?D():E()),P.current=null,I.current=null},children:[(!A.type||"image"===A.type)&&(0,d.jsx)("img",{ref:T,src:A.src,alt:A.alt,className:"mg-gallery__image","aria-describedby":b&&A.description?"gallery-description":void 0}),"video"===A.type&&(0,d.jsxs)("video",{ref:T,src:A.src,className:"mg-gallery__image mg-gallery__video",controls:!0,poster:A.poster,onLoadedData:()=>k(!1),onLoadStart:()=>k(!0),"aria-describedby":b&&A.description?"gallery-description":void 0,children:[(0,d.jsx)("track",{kind:"captions"}),"Your browser does not support the video tag."]}),"embed"===A.type&&(0,d.jsx)("iframe",{ref:T,src:A.embedUrl||A.src,className:"mg-gallery__image mg-gallery__embed",title:A.title||A.alt,allowFullScreen:!0,onLoad:()=>k(!1),"aria-describedby":b&&A.description?"gallery-description":void 0}),"html"===A.type&&(0,d.jsx)("div",{ref:T,className:"mg-gallery__image mg-gallery__html",dangerouslySetInnerHTML:{__html:A.html},"aria-describedby":b&&A.description?"gallery-description":void 0}),N&&(0,d.jsx)("div",{className:"mg-gallery__loading","aria-live":"polite","aria-label":x,children:(0,d.jsx)("div",{className:"mg-gallery__spinner"})})]}),s&&"overlay"===c&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{className:"mg-gallery__arrow mg-gallery__arrow--prev",onClick:E,disabled:!p&&0===w,"aria-label":f,type:"button",children:"‹"}),(0,d.jsx)("button",{className:"mg-gallery__arrow mg-gallery__arrow--next",onClick:D,disabled:!p&&w===e.length-1,"aria-label":v,type:"button",children:"›"})]}),s&&"corner"===c&&(0,d.jsxs)("div",{className:"mg-gallery__arrow-controls",children:[(0,d.jsx)("button",{className:"mg-gallery__arrow-button mg-gallery__arrow-button--prev",onClick:E,disabled:!p&&0===w,"aria-label":f,type:"button",children:"‹"}),(0,d.jsx)("button",{className:"mg-gallery__arrow-button mg-gallery__arrow-button--next",onClick:D,disabled:!p&&w===e.length-1,"aria-label":v,type:"button",children:"›"})]})]}),b&&(A.title||A.description)&&(0,d.jsxs)("div",{className:"mg-gallery__description",id:"gallery-description",children:[A.title&&(0,d.jsx)("div",{className:"mg-gallery__title",children:A.title}),A.description&&(0,d.jsx)("p",{className:"mg-gallery__caption",children:A.description})]}),i&&(0,d.jsx)("div",{ref:O,className:"mg-gallery__thumbnails",role:"tablist","aria-label":"Gallery thumbnails",children:e.map((e,r)=>(0,d.jsxs)("button",{ref:e=>S.current[r]=e,className:m("mg-gallery__thumbnail",r===w&&"mg-gallery__thumbnail--active","html"===e.type&&!e.thumbnail&&"mg-gallery__thumbnail--html"),onClick:()=>C(r),role:"tab","aria-selected":r===w,"aria-current":r===w?"true":void 0,"aria-label":`View ${e.title||e.alt||"content"}`,type:"button",children:["html"===e.type&&!e.thumbnail&&e.html?(0,d.jsx)("div",{className:"mg-gallery__thumbnail-html-preview","aria-hidden":"true",children:(0,d.jsx)("div",{className:"mg-gallery__thumbnail-html-content",dangerouslySetInnerHTML:{__html:e.html}})}):e.thumbnail||e.src?(0,d.jsx)("img",{src:e.thumbnail||e.src,alt:"",loading:"lazy"}):(0,d.jsx)("span",{className:"mg-gallery__thumbnail-placeholder","aria-hidden":"true",children:"◫"}),("video"===e.type||"embed"===e.type)&&(0,d.jsx)("span",{className:"mg-gallery__thumbnail-indicator","aria-hidden":"true",children:"▶"})]},e.id))})]})}b.propTypes={media:c().arrayOf(c().shape({id:c().string.isRequired,type:c().oneOf(["image","video","embed","html"]),src:c().string,alt:c().string,title:c().string,description:c().string,thumbnail:c().string,poster:c().string,embedUrl:c().string,html:c().string})).isRequired,initialIndex:c().number,showThumbnails:c().bool,thumbnailPosition:c().oneOf(["left","bottom"]),showArrows:c().bool,arrowStyle:c().oneOf(["overlay","corner"]),showDescription:c().bool,enableKeyboard:c().bool,loop:c().bool,onMediaChange:c().func,labels:c().shape({galleryAriaLabel:c().string,prevLabel:c().string,nextLabel:c().string,loadingLabel:c().string})};const u=e.memo(b);function p(e){const{dataset:r}=e,a={initialIndex:r.initialIndex?parseInt(r.initialIndex,10):0,showThumbnails:"false"!==r.showThumbnails,thumbnailPosition:r.thumbnailPosition||"left",showArrows:"false"!==r.showArrows,arrowStyle:r.arrowStyle||"overlay",showDescription:"false"!==r.showDescription,enableKeyboard:"false"!==r.enableKeyboard,loop:"true"===r.loop};try{a.media=r.media?JSON.parse(r.media):[]}catch{a.media=[]}return a}export{u as Gallery,u as default,p as fromElement};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * This is a UNDRR Mangrove component: https://github.com/unisdr/undrr-mangrove?tab=readme-ov-file
3
- * Compiled on: 2026-07-06T14:31:03.210Z
3
+ * Compiled on: 2026-08-31T15:14:38.056Z
4
4
  */
5
5
  /*! For license information please see Hero.js.LICENSE.txt */
6
- import*as e from"react";var r={6145(e,r,a){a.d(r,{F:()=>s}),a(1649);var t=a(5556),n=a.n(t),i=a(4848);function s({label:e,Type:r="Primary",State:a="Default",...t}){const n="Disabled"===a,s=["mg-button","mg-button-"+("Secondary"===r?"secondary":"primary"),n&&"disabled"].filter(Boolean).join(" ");return(0,i.jsx)("a",{className:s,...n?{"aria-disabled":"true"}:{href:"#"},...t,children:e})}s.propTypes={label:n().string.isRequired,Type:n().oneOf(["Primary","Secondary"]),State:n().oneOf(["Default","Disabled"])}},2694(e,r,a){var t=a(6925);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,r,a,n,i,s){if(s!==t){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function r(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:n};return a.PropTypes=a,a}},5556(e,r,a){e.exports=a(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var a=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(e,r,t){var n=null;if(void 0!==t&&(n=""+t),void 0!==r.key&&(n=""+r.key),"key"in r)for(var i in t={},r)"key"!==i&&(t[i]=r[i]);else t=r;return r=t.ref,{$$typeof:a,type:e,key:n,ref:void 0!==r?r:null,props:t}}r.Fragment=t,r.jsx=n,r.jsxs=n},4848(e,r,a){e.exports=a(9698)},1649(e,r,a){var t;e.exports=(t={},a.d(t,{}),t)}},a={};function t(e){var n=a[e];if(void 0!==n)return n.exports;var i=a[e]={exports:{}};return r[e](i,i.exports,t),i.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var a in r)t.o(r,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:r[a]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var n={};t.d(n,{M:()=>c,l:()=>h}),t(1649);var i=t(5556),s=t.n(i),o=t(6145),l=t(4848);const m=(...e)=>e.filter(Boolean).length>0?e.filter(Boolean).join(" "):null,c={primary:"",secondary:"secondary",tertiary:"tertiary",quaternary:"quaternary"},d={"2/3":"2-3","1/2":"1-2","1/3":"1-3"};function p({item:e,HeadingTag:r}){return(0,l.jsx)("header",{className:"mg-hero__title",children:(0,l.jsx)(r,{className:"text-xxl",children:e.link?(0,l.jsx)("a",{href:e.link,children:(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}})}):(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}})})})}function g({media:e}){if(!e)return null;const r=e.type||"image";return"video"===r?(0,l.jsx)("div",{className:"mg-hero__media mg-hero__media--video",children:(0,l.jsx)("iframe",{src:e.src,title:e.title||"Embedded video",className:"mg-hero__media-iframe",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})}):"html"===r?(0,l.jsx)("div",{className:"mg-hero__media mg-hero__media--html",dangerouslySetInnerHTML:{__html:e.html||""}}):(0,l.jsx)("div",{className:"mg-hero__media",children:(0,l.jsx)("img",{src:e.src,alt:e.alt||"",className:"mg-hero__media-img"})})}function y({item:e,HeadingTag:r}){return(0,l.jsxs)("article",{className:"mg-hero__content",children:[(0,l.jsx)("div",{className:"mg-hero__meta",children:e.label&&(0,l.jsx)("span",{className:"mg-hero__label",children:e.label})}),(0,l.jsx)(p,{item:e,HeadingTag:r}),(0,l.jsx)("div",{className:"mg-hero__summaryText",children:(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e.summaryText}})}),(0,l.jsx)("div",{className:"mg-hero__meta meta-detail",children:e.detail&&(0,l.jsx)("span",{className:"mg-hero__label detail",children:e.detail})}),(0,l.jsxs)("div",{className:"mg-hero__buttons",children:[e.primary_button&&(0,l.jsx)(o.F,{Type:"Primary",label:e.primary_button}),e.secondary_button&&(0,l.jsx)(o.F,{Type:"Secondary",label:e.secondary_button})]})]})}function h({data:e,variant:r="primary",layout:a="background",headingLevel:t="h1",split:n="2/3"}){const i=c[r],s=t;if("split"===a){const r=d[n]||"2-3";return(0,l.jsx)(l.Fragment,{children:e.map((e,a)=>(0,l.jsx)("section",{className:m("mg-hero","mg-hero--split",`mg-hero--split-${r}`,i&&`mg-hero--${i}`),children:(0,l.jsxs)("div",{className:"mg-hero__split-grid",children:[(0,l.jsx)(y,{item:e,HeadingTag:s}),(0,l.jsx)(g,{media:e.media})]})},a))})}return(0,l.jsx)(l.Fragment,{children:e.map((e,r)=>(0,l.jsx)("section",{className:m("mg-hero",`mg-hero--${i}`),style:{backgroundImage:`url(${e.imgback})`},children:(0,l.jsx)("div",{className:"mg-hero__overlay",children:(0,l.jsx)(y,{item:e,HeadingTag:s})})},r))})}h.propTypes={data:s().arrayOf(s().shape({imgback:s().string,label:s().string,title:s().string.isRequired,link:s().string,summaryText:s().string,detail:s().string,primary_button:s().string,secondary_button:s().string,media:s().shape({type:s().oneOf(["image","video","html"]),src:s().string,alt:s().string,title:s().string,html:s().string})})).isRequired,variant:s().oneOf(["primary","secondary","tertiary","quaternary"]),layout:s().oneOf(["background","split"]),headingLevel:s().oneOf(["h1","h2","h3"]),split:s().oneOf(["2/3","1/2","1/3"])};const u=n.l,_=n.M;export{u as Hero,_ as variantOptions};
6
+ import*as e from"react";var r={6145(e,r,a){a.d(r,{F:()=>s}),a(1649);var t=a(5556),n=a.n(t),i=a(4848);function s({label:e,Type:r="Primary",Outline:a=!1,State:t="Default",...n}){const s="Disabled"===t,o=["mg-button","mg-button-"+("Secondary"===r?"secondary":"primary"),a&&"mg-button-outline",s&&"disabled"].filter(Boolean).join(" ");return(0,i.jsx)("a",{className:o,...s?{"aria-disabled":"true"}:{href:"#"},...n,children:e})}s.propTypes={label:n().string.isRequired,Type:n().oneOf(["Primary","Secondary"]),Outline:n().bool,State:n().oneOf(["Default","Disabled"])}},2694(e,r,a){var t=a(6925);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,r,a,n,i,s){if(s!==t){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function r(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:n};return a.PropTypes=a,a}},5556(e,r,a){e.exports=a(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var a=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(e,r,t){var n=null;if(void 0!==t&&(n=""+t),void 0!==r.key&&(n=""+r.key),"key"in r)for(var i in t={},r)"key"!==i&&(t[i]=r[i]);else t=r;return r=t.ref,{$$typeof:a,type:e,key:n,ref:void 0!==r?r:null,props:t}}r.Fragment=t,r.jsx=n,r.jsxs=n},4848(e,r,a){e.exports=a(9698)},1649(e,r,a){e.exports=(()=>{const e={};return a.d(e,{}),e})()}};const a={};function t(e){const n=a[e];if(void 0!==n)return n.exports;const i=a[e]={exports:{}};return r[e](i,i.exports,t),i.exports}t.n=e=>{const r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{if(Array.isArray(r))for(var a=0;a<r.length;){var n=r[a++],i=r[a++];t.o(e,n)?0===i&&a++:0===i?Object.defineProperty(e,n,{enumerable:!0,value:r[a++]}):Object.defineProperty(e,n,{enumerable:!0,get:i})}else for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);let n={};t.d(n,{l:()=>y}),t(1649);var i=t(5556),s=t.n(i),o=t(6145),l=t(4848);const m=(...e)=>e.filter(Boolean).length>0?e.filter(Boolean).join(" "):null,c={primary:"",secondary:"secondary",tertiary:"tertiary",quaternary:"quaternary"},d={"2/3":"2-3","1/2":"1-2","1/3":"1-3"};function p({item:e,HeadingTag:r}){return(0,l.jsx)("header",{className:"mg-hero__title",children:(0,l.jsx)(r,{className:"text-xxl",children:e.link?(0,l.jsx)("a",{href:e.link,children:(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}})}):(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}})})})}function g({media:e}){if(!e)return null;const r=e.type||"image";return"video"===r?(0,l.jsx)("div",{className:"mg-hero__media mg-hero__media--video",children:(0,l.jsx)("iframe",{src:e.src,title:e.title||"Embedded video",className:"mg-hero__media-iframe",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})}):"html"===r?(0,l.jsx)("div",{className:"mg-hero__media mg-hero__media--html",dangerouslySetInnerHTML:{__html:e.html||""}}):(0,l.jsx)("div",{className:"mg-hero__media",children:(0,l.jsx)("img",{src:e.src,alt:e.alt||"",className:"mg-hero__media-img"})})}function u({item:e,HeadingTag:r}){return(0,l.jsxs)("article",{className:"mg-hero__content",children:[(0,l.jsx)("div",{className:"mg-hero__meta",children:e.label&&(0,l.jsx)("span",{className:"mg-hero__label",children:e.label})}),(0,l.jsx)(p,{item:e,HeadingTag:r}),(0,l.jsx)("div",{className:"mg-hero__summaryText",children:(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e.summaryText}})}),(0,l.jsx)("div",{className:"mg-hero__meta meta-detail",children:e.detail&&(0,l.jsx)("span",{className:"mg-hero__label detail",children:e.detail})}),(0,l.jsxs)("div",{className:"mg-hero__buttons",children:[e.primary_button&&(0,l.jsx)(o.F,{Type:"Primary",label:e.primary_button}),e.secondary_button&&(0,l.jsx)(o.F,{Type:"Secondary",label:e.secondary_button})]})]})}function y({data:e,variant:r="primary",layout:a="background",headingLevel:t="h1",split:n="2/3"}){const i=c[r],s=t;if("split"===a){const r=d[n]||"2-3";return(0,l.jsx)(l.Fragment,{children:e.map((e,a)=>(0,l.jsx)("section",{className:m("mg-hero","mg-hero--split",`mg-hero--split-${r}`,i&&`mg-hero--${i}`),children:(0,l.jsxs)("div",{className:"mg-hero__split-grid",children:[(0,l.jsx)(u,{item:e,HeadingTag:s}),(0,l.jsx)(g,{media:e.media})]})},a))})}return(0,l.jsx)(l.Fragment,{children:e.map((e,r)=>(0,l.jsx)("section",{className:m("mg-hero",`mg-hero--${i}`),style:{backgroundImage:`url(${e.imgback})`},children:(0,l.jsx)("div",{className:"mg-hero__overlay",children:(0,l.jsx)(u,{item:e,HeadingTag:s})})},r))})}y.propTypes={data:s().arrayOf(s().shape({imgback:s().string,label:s().string,title:s().string.isRequired,link:s().string,summaryText:s().string,detail:s().string,primary_button:s().string,secondary_button:s().string,media:s().shape({type:s().oneOf(["image","video","html"]),src:s().string,alt:s().string,title:s().string,html:s().string})})).isRequired,variant:s().oneOf(["primary","secondary","tertiary","quaternary"]),layout:s().oneOf(["background","split"]),headingLevel:s().oneOf(["h1","h2","h3"]),split:s().oneOf(["2/3","1/2","1/3"])},t.d(n,["M",0,c]);export{y as Hero,c as variantOptions};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * This is a UNDRR Mangrove component: https://github.com/unisdr/undrr-mangrove?tab=readme-ov-file
3
- * Compiled on: 2026-07-06T14:31:03.210Z
3
+ * Compiled on: 2026-08-31T15:14:38.056Z
4
4
  */
5
5
  /*! For license information please see HighlightBox.js.LICENSE.txt */
6
- import"react";var e={2694(e,r,t){var o=t(6925);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,r,t,n,a,i){if(i!==o){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:n};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),r.jsx=function(e,r,o){var n=null;if(void 0!==o&&(n=""+o),void 0!==r.key&&(n=""+r.key),"key"in r)for(var a in o={},r)"key"!==a&&(o[a]=r[a]);else o=r;return r=o.ref,{$$typeof:t,type:e,key:n,ref:void 0!==r?r:null,props:o}}},4848(e,r,t){e.exports=t(9698)}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var o=t(5556),n=t.n(o),a=t(4848);function i({children:e,variant:r="default",centered:t=!1,float:o=null,className:n=""}){const i=["mg-highlight-box","default"!==r&&`mg-highlight-box--${r}`,t&&"mg-highlight-box--centered",o&&`mg-highlight-box--float-${o}`,n].filter(Boolean).join(" ");return(0,a.jsx)("div",{className:i,children:e})}i.propTypes={children:n().node,variant:n().oneOf(["default","primary","secondary"]),centered:n().bool,float:n().oneOf(["start","end"]),className:n().string};const l=i;export{i as HighlightBox,l as default};
6
+ import"react";var e={2694(e,r,t){var o=t(6925);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,r,t,n,a,i){if(i!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:n};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9698(e,r){var t=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),r.jsx=function(e,r,o){var n=null;if(void 0!==o&&(n=""+o),void 0!==r.key&&(n=""+r.key),"key"in r)for(var a in o={},r)"key"!==a&&(o[a]=r[a]);else o=r;return r=o.ref,{$$typeof:t,type:e,key:n,ref:void 0!==r?r:null,props:o}}},4848(e,r,t){e.exports=t(9698)}};const r={};function t(o){const n=r[o];if(void 0!==n)return n.exports;const a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}t.n=e=>{const r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{if(Array.isArray(r))for(var o=0;o<r.length;){var n=r[o++],a=r[o++];t.o(e,n)?0===a&&o++:0===a?Object.defineProperty(e,n,{enumerable:!0,value:r[o++]}):Object.defineProperty(e,n,{enumerable:!0,get:a})}else for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var o=t(5556),n=t.n(o),a=t(4848);function i({children:e,variant:r="default",centered:t=!1,float:o=null,className:n=""}){const i=["mg-highlight-box","default"!==r&&`mg-highlight-box--${r}`,t&&"mg-highlight-box--centered",o&&`mg-highlight-box--float-${o}`,n].filter(Boolean).join(" ");return(0,a.jsx)("div",{className:i,children:e})}i.propTypes={children:n().node,variant:n().oneOf(["default","primary","secondary"]),centered:n().bool,float:n().oneOf(["start","end"]),className:n().string};const s=i;export{i as HighlightBox,s as default};