wjec-one 4.0.1 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
- package/test/setupTests.ts +1 -4
- package/test/wjecOneMocks.ts +0 -189
- package/umd/index.js +1 -1
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";import t,{forwardRef as n,useMemo as o,useState as r,useRef as i,useEffect as a,useLayoutEffect as c,useImperativeHandle as l,useContext as s}from"react";import{css as d,jsx as g,keyframes as u,Global as b}from"@emotion/core";import{renderToStaticMarkup as p}from"react-dom/server";import{createSimpleAction as I,createContext as h}from"wjec-one/store";import{isCallableFunction as C}from"wjec-one/utils";import{useId as f,useButton as v}from"react-aria";import{useSwipeable as m}from"react-swipeable";import y from"react-dom";import{DragDropContext as A,Droppable as x,Draggable as G}from"react-beautiful-dnd";import{disableBodyScroll as X,clearAllBodyScrollLocks as Z,enableBodyScroll as w}from"body-scroll-lock";import{useWjecOneThemeStyles as W}from"wjec-one/theme";function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function H(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},B.apply(null,arguments)}function k(e){if(null==e)throw new TypeError("Cannot destructure "+e)}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function N(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Y(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 o,r,i,a,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(c.push(o.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return c}}(e,t)||j(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function F(e){return function(e){if(Array.isArray(e))return J(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||j(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function j(e,t){if(e){if("string"==typeof e)return J(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)?J(e,t):void 0}}var S,O=Object.freeze({border:"#BCCBD1",entryLevel:"#6B994D",error:"#D32F2F",errorBackground:"#FBEBEB",errorDark:"#A82424",errorDarker:"#661616",font:"#2E3638",fontLight:"#606A6C",gceALevel:"#516FA2",gceASLevel:"#4D9995",gcse:"#81994D",highlight:"#FFEDC1",neutral:"#F1F3F4",neutralDark:"#2D3538",neutralLight:"#56666C",offBlack:"#001B26",offWhite:"#FAFCFC",otherQualifications:"#A55395",secondary:"#47BAD1",secondaryDark:"#1F6B7A",secondaryDarkActive:"#103840",secondaryLight:"#C0E8F0",secondaryLightActive:"#96CBD6",success:"#43A047",successBackground:"#EDF6ED",successDark:"#3C9040",successDarker:"#2A662D",tertiary:"#FFEDC1",vQAward:"#D86C8B",warning:"#F57C00",warningBackground:"#FEF2E6",warningDark:"#EF6C00",welshBaccAdvanced:"#6E81DC",welshBaccFoundation:"#BF8660",welshBaccNational:"#B4C160",welshBaccKS4:"#B25A6C"}),P=Object.freeze(V(V({},O),{},{primary:"#007DB2",primaryDark:"#00628C",primaryDarkActive:"#004766",primaryLight:"#E5F8FF",primaryLightActive:"#CCF1FF"})),E=Object.freeze(V(V({},O),{},{primary:"#F1511B",primaryDark:"#BF3608",primaryDarkActive:"#BF3608",primaryLight:"#FDB8A1",primaryLightActive:"#FDB8A1"})),M=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];"development"===process.env.NODE_ENV&&t&&function(e){console.error(e)}(e)},T=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];"development"===process.env.NODE_ENV&&t&&function(e){console.warn(e)}(e)},D=["a[href]","button","details","input",'[tabIndex]:not([tabIndex="-1"])',"textArea","select","summary"].map((function(e){return"".concat(e,":not([disabled])")})),Q=["date","format"],U=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],K=["January","February","March","April","May","June","July","August","September","October","November","December"],q="dd/MM/yyyy",_="HH:mm",$=function(e){var t,n=e.date,o=e.format,r=void 0===o?q:o,i=e.days,a=void 0===i?U:i,c=e.months,l=void 0===c?K:c,s=n.getDate(),d=n.getDay(),g=n.getMonth()+1,u=n.getFullYear().toString(),b=/(dddd)|(ddd)|(dd)|(d)|(MMMM)|(MMM)|(MM)|(M)|(yyyy)|(yy)/g;return(b.test(r)?r:q).replace(b,(function(e){switch(e){case"dddd":t=a[d];break;case"ddd":t=a[d].slice(0,3);break;case"dd":t=s.toString().padStart(2,"0");break;case"d":t=s.toString();break;case"MMMM":t=l[g-1];break;case"MMM":t=l[g-1].slice(0,3);break;case"MM":t=g.toString().padStart(2,"0");break;case"M":t=g.toString();break;case"yyyy":t=u;break;case"yy":t=u.slice(2)}return t}))},ee=function(e){var t=e.date,n=e.format,o=void 0===n?"".concat(q," ").concat(_):n,r=N(e,Q),i=function(e){var t=e.date,n=e.format,o=void 0===n?_:n,r=e.meridianStrings,i=void 0===r?{am:"am",pm:"pm"}:r,a=/h{1,2}/.test(o),c=a?t.getHours()%12||12:t.getHours();return o.replace(/HH/i,c.toString().padStart(2,"0")).replace(/H/i,c.toString()).replace(/mm/,t.getMinutes().toString().padStart(2,"0")).replace(/SS/,t.getSeconds().toString().padStart(2,"0")).replace(/AM/,a?t.getHours()<12?i.am:i.pm:"")}(V(V({},r),{},{date:t,format:o}));return $(V(V({},r),{},{date:t,format:i}))},te=function(e,t,n){var o=e&&e.toString();if(t)if("function"==typeof t)o=t(e,n);else if("string"==typeof t&&"object"===L(e)&&Object.hasOwn(e,t)){var r=e[t];o="number"==typeof r?r:r.toString()}return o},ne=function(e,t,n){var o=e;return t&&("function"==typeof t?o=t(e,n):"string"==typeof t&&"object"===L(e)&&Object.hasOwn(e,t)&&(o=e[t])),o},oe=function(e,t){var n=getComputedStyle(e),o=t?/(auto|scroll|hidden)/:/(auto|scroll)/,r="absolute"===n.position,i=function(e){var t=getComputedStyle(e);return(!(r=r&&"static"===t.position)||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX)||"fixed"===t.position?e:e.parentElement===document.documentElement?document.documentElement:i(e.parentElement)};return"fixed"===n.position||e.parentElement===document.documentElement?document.documentElement:i(e.parentElement)},re=function(e){var n=[],o=function(e){var r;r=e,t.isValidElement(r)?t.Children.forEach(e.props.children,o):n.push(null==e?void 0:e.toString())};return o(e),n.join("")},ie=function(e,t){return e&&t.includes(e)?e:t.length?t[0]:void 0},ae=function(e){return"function"==typeof e},ce=function(e){return"object"===L(e)&&2===Object.keys(e).length&&Object.hasOwn(e,"key")&&Object.hasOwn(e,"label")},le=function(e){return Array.isArray(e)&&e.every(ce)},se=function(e){return["boolean","number","string"].includes(L(e))},de=function(e){return Array.isArray(e)&&e.every(se)},ge=function(e){var t=p(e);return/^<svg(.*)<\/svg>$/i.test(t)},ue=function(e){return e.preventDefault(),e.stopPropagation(),!1},be=function(e){if(!ge(e))throw new Error("Only a component that returns SVG markup can be converted to a dataURL");return"url('data:image/svg+xml,".concat(encodeURIComponent(p(e)),"')")},pe=function(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{limit:500},r=o.beforeDelay,i=o.limit,a=void 0===i?500:i;return function(){for(var o=arguments.length,i=new Array(o),c=0;c<o;c++)i[c]=arguments[c];n?(self.clearTimeout(t),ae(r)&&r.apply(void 0,i),t=self.setTimeout((function(){Date.now()-n>=a&&(e.apply(void 0,i),n=Date.now())}),a-(Date.now()-n))):(e.apply(void 0,i),n=Date.now())}},Ie=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function he(){return he=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},he.apply(null,arguments)}var Ce,fe=n((function(t,n){return e.createElement("svg",he({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),S||(S=e.createElement("path",{d:"M6.767 7.742 10 10.975l3.233-3.233a.83.83 0 1 1 1.175 1.175l-3.825 3.825a.83.83 0 0 1-1.175 0L5.583 8.917a.83.83 0 0 1 0-1.175.848.848 0 0 1 1.184 0Z",fill:"currentColor"})))}));function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ve.apply(null,arguments)}var me,ye=n((function(t,n){return e.createElement("svg",ve({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Ce||(Ce=e.createElement("path",{d:"M12.258 13.233 9.025 10l3.233-3.233a.83.83 0 1 0-1.175-1.175L7.258 9.417a.83.83 0 0 0 0 1.175l3.825 3.825a.83.83 0 0 0 1.175 0 .848.848 0 0 0 0-1.184Z",fill:"currentColor"})))}));function Ae(){return Ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ae.apply(null,arguments)}var xe,Ge=n((function(t,n){return e.createElement("svg",Ae({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),me||(me=e.createElement("path",{d:"M7.742 13.233 10.975 10 7.742 6.767a.83.83 0 1 1 1.175-1.175l3.825 3.825a.83.83 0 0 1 0 1.175l-3.825 3.825a.83.83 0 0 1-1.175 0 .848.848 0 0 1 0-1.184Z",fill:"currentColor"})))}));function Xe(){return Xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Xe.apply(null,arguments)}var Ze=n((function(t,n){return e.createElement("svg",Xe({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),xe||(xe=e.createElement("path",{d:"M6.767 12.258 10 9.025l3.233 3.233a.83.83 0 1 0 1.175-1.175l-3.825-3.825a.83.83 0 0 0-1.175 0l-3.825 3.825a.83.83 0 0 0 0 1.175.848.848 0 0 0 1.184 0Z",fill:"currentColor"})))})),we=Object.freeze({borderRadius:"4px",borderRadiusMedium:"8px",dropShadow:"0px 2px 10px ".concat(P.border),scrollbar:d("&::-webkit-scrollbar{height:14px;width:",14,"px;}&::-webkit-scrollbar-button:single-button{display:block;height:16px;&:horizontal{&:decrement{background:",be(t.createElement(ye,{color:P.fontLight}))," 0 -3px / 20px no-repeat;&:hover{background-image:",be(t.createElement(ye,{color:P.font})),";}}&:increment{background:",be(t.createElement(Ge,{color:P.fontLight}))," center -3px / 20px no-repeat;&:hover{background-image:",be(t.createElement(Ge,{color:P.font})),";}}}&:vertical{&:decrement{background:",be(t.createElement(Ze,{color:P.fontLight}))," center 0 / 20px no-repeat;&:hover{background-image:",be(t.createElement(Ze,{color:P.font})),";}}&:increment{background:",be(t.createElement(fe,{color:P.fontLight}))," center -3px / 20px no-repeat;&:hover{background-image:",be(t.createElement(fe,{color:P.font})),";}}}}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:",P.border,";border:3px solid transparent;border-radius:7px;&:hover{background-color:",P.fontLight,";}}&::-webkit-scrollbar-track{background-clip:padding-box;background-color:",P.neutral,";border:3px solid transparent;border-radius:7px;}"),visiblyHidden:{name:"1dw21dg",styles:"border-width:0;flex:0;height:0;margin:0;max-height:0;max-width:0;min-height:0;min-width:0;opacity:0;overflow:hidden;padding:0;position:absolute;width:0;"}}),We={name:"1bhjuxx",styles:"box-sizing:border-box;&::after,&::before,& *,& *::after,& *::before{box-sizing:inherit;}"},Je=d("&::selection{background-color:",P.highlight,";}"),He=d("color:",P.neutralDark,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;line-height:16px;"),Be={name:"8uhtka",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"},ke=I("SELECT_BRAND"),Re=function(e,t){var n=t.payload;return"SELECT_BRAND"===t.type?e.merge({brand:n,colorPalette:"wjec"===n?P:E}):e},Ve={brand:"wjec",colorPalette:P},Ne=function(){var e=h(Re,Ve,(function(e,t){var n=e.brand,o=t.colorPalette;return{colorPalette:"eduqas"===n?E:o}})),t=e.context,n=e.hook,r=e.provider;return{selectBrand:ke,themeContext:t,WjecOneThemeProvider:r,useWjecOneTheme:n,useWjecOneThemeStyles:function(e){var t=Y(n(),1)[0];return o((function(){return C(e)?e(t):e}),[t.brand])}}}(),Ye=Ne.useWjecOneTheme,ze=Ne.useWjecOneThemeStyles,Fe=function(e){var t=e.children,n=e.expanded,l=void 0!==n&&n,s=e.id,u=e.onClick,b=e.spacing,p=void 0===b?"normal":b,I=e.title,h=Y(r(l),2),C=h[0],v=h[1],m=i(),y=i(),A=f(s),x=o((function(){return"small"===p?16:20}),[p]);a((function(){l!==C&&(l?X():G())}),[l]),c((function(){y.current.style.height=C?"".concat(y.current.scrollHeight,"px"):"0",C&&m.current.setAttribute("open","open")}),[C]);var G=function(){v(!1),ae(u)&&u(!1)},X=function(){v(!0),ae(u)&&u(!0)},Z=ze(Pe),w=o((function(){return{"--opacity":C?1:0,"--padding-top":C?"".concat(x,"px"):0,"--padding-bottom":C?"".concat(x,"px"):0}}),[C]);return g("details",{css:d([Z.container,C&&Z.containerExpanded],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlEcUIiLCJmaWxlIjoiQWNjb3JkaW9uQ29udGVudC5qc3giLCJzb3VyY2VzQ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90dG9tIDAuMnMgbGluZWFyO1xyXG5gLFxyXG4gICAgY29udGVudERlbGF5czogY3NzIGBcclxuICAgIHRyYW5zaXRpb24tZGVsYXk6IDAuMDVzLCAwcywgMC4wNXMsIDAuMDVzO1xyXG5gLFxyXG4gICAgc3VtbWFyeTogY3NzIGBcclxuICAgIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XHJcbiAgICBib3JkZXI6IG5vbmU7XHJcbiAgICBib3JkZXItYm90dG9tOiAwIHNvbGlkIHRyYW5zcGFyZW50O1xyXG4gICAgY29sb3I6ICR7Y29sb3JQYWxldHRlLmZvbnR9O1xyXG4gICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgZGlzcGxheTogZmxleDtcclxuICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XHJcbiAgICBmb250LWZhbWlseTogJ01vbnRzZXJyYXQnLCBzYW5zLXNlcmlmO1xyXG4gICAgZm9udC1zaXplOiAxNnB4O1xyXG4gICAgbGluZS1oZWlnaHQ6IDI0cHg7XHJcbiAgICBvdXRsaW5lOiBub25lO1xyXG4gICAgcGFkZGluZzogMTZweDtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgIHRleHQtYWxpZ246IGxlZnQ7XHJcbiAgICB0cmFuc2l0aW9uOiBib3JkZXItYm90dG9tIDAuMDVzIGxpbmVhciAwLjJzO1xyXG5cclxuICAgICY6OmFmdGVyIHtcclxuICAgICAgYmFja2dyb3VuZDogJHtzdmdDb21wb25lbnRUb0RhdGFVUkwoPENhcmV0RG93biAvPil9XHJcbiAgICAgICAgICAgICAgICAgIGNlbnRlciBjZW50ZXIgLyAyNHB4XHJcbiAgICAgICAgICAgICAgICAgIG5vLXJlcGVhdDtcclxuICAgICAgY29udGVudDogJyc7XHJcbiAgICAgIGhlaWdodDogMjRweDtcclxuICAgICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgICByaWdodDogMTBweDtcclxuICAgICAgdG9wOiA1MCU7XHJcbiAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKSBzY2FsZVkoMSk7XHJcbiAgICAgIHRyYW5zaXRpb246IHRyYW5zZm9ybSAwLjNzIGVhc2UtaW4tb3V0O1xyXG4gICAgICB3aWR0aDogMjRweDtcclxuICAgIH1cclxuICBgLFxyXG4gICAgc3VtbWFyeUV4cGFuZGVkOiBjc3MgYFxyXG4gICAgYm9yZGVyLWJvdHRvbTogMnB4IHNvbGlkICR7Y29sb3JQYWxldHRlLmJvcmRlcn07XHJcbiAgICB0cmFuc2l0aW9uOiBib3JkZXItYm90dG9tIDAuM3MgZWFzZS1pbi1vdXQ7XHJcblxyXG4gICAgJjo6YWZ0ZXIge1xyXG4gICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoLTUwJSkgc2NhbGVZKC0xKTtcclxuICAgIH1cclxuICBgLFxyXG4gICAgc3VtbWFyeVNwYWNpbmdTbWFsbDogY3NzIGBcclxuICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgIGxpbmUtaGVpZ2h0OiAxNnB4O1xyXG4gICAgcGFkZGluZzogMTJweCAxNnB4O1xyXG4gIGBcclxufSk7XHJcbiJdfQ== */"),"data-accordion-container":!0,id:A,ref:m},g("summary",{css:d([Z.summary,"small"===p&&Z.summarySpacingSmall,C&&Z.summaryExpanded],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFEZSIsImZpbGUiOiJBY2NvcmRpb25Db250ZW50LmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VFZmZlY3QsIHVzZUxheW91dEVmZmVjdCwgdXNlTWVtbywgdXNlU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IDUwJTtcclxuICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC01MCUpIHNjYWxlWSgxKTtcclxuICAgICAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuM3MgZWFzZS1pbi1vdXQ7XHJcbiAgICAgIHdpZHRoOiAyNHB4O1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5RXhwYW5kZWQ6IGNzcyBgXHJcbiAgICBib3JkZXItYm90dG9tOiAycHggc29saWQgJHtjb2xvclBhbGV0dGUuYm9yZGVyfTtcclxuICAgIHRyYW5zaXRpb246IGJvcmRlci1ib3R0b20gMC4zcyBlYXNlLWluLW91dDtcclxuXHJcbiAgICAmOjphZnRlciB7XHJcbiAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKSBzY2FsZVkoLTEpO1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5U3BhY2luZ1NtYWxsOiBjc3MgYFxyXG4gICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgbGluZS1oZWlnaHQ6IDE2cHg7XHJcbiAgICBwYWRkaW5nOiAxMnB4IDE2cHg7XHJcbiAgYFxyXG59KTtcclxuIl19 */"),onClick:function(e){e.preventDefault(),!C?X():G()}},I),g("div",{css:d([Z.contentContainer,Z.content,!C&&Z.contentDelays],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZEVyIsImZpbGUiOiJBY2NvcmRpb25Db250ZW50LmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VFZmZlY3QsIHVzZUxheW91dEVmZmVjdCwgdXNlTWVtbywgdXNlUmVmLCB1c2VTdGF0ZSB9IGZyb20gJ3JlYWN0JztcclxuaW1wb3J0IHs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HNjYWxlWSgxKTtcclxuICAgICAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuM3MgZWFzZS1pbi1vdXQ7XHJcbiAgICAgIHdpZHRoOiAyNHB4O1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5RXhwYW5kZWQ6IGNzcyBgXHJcbiAgICBib3JkZXItYm90dG9tOiAycHggc29saWQgJHtjb2xvclBhbGV0dGUuYm9yZGVyfTtcclxuICAgIHRyYW5zaXRpb246IGJvcmRlci1ib3R0b20gMC4zcyBlYXNlLWluLW91dDtcclxuXHJcbiAgICAmOjphZnRlciB7XHJcbiAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKSBzY2FsZVkoLTEpO1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5U3BhY2luZ1NtYWxsOiBjc3MgYFxyXG4gICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgbGluZS1oZWlnaHQ6IDE2cHg7XHJcbiAgICBwYWRkaW5nOiAxMnB4IDE2cHg7XHJcbiAgYFxyXG59KTtcclxuIl19 */"),style:w},g("div",{css:d([Z.content,!C&&Z.contentDelays],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtFYSIsImZpbGUiOiJBY2NvcmRpb25Db250ZW50LmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VFZmZlY3QsIHVzZUxheW91dEVmZmVjdCwgdXNlTWVtbywgdXNlUmVmLCB1c2VTdGF0ZSB9IGZyb20gJ3JlYWN0JztcclxuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XHJcbmltcG9ydCB7IGlzQ2FsbGFibGVGdW5jdGlvbiwgc3ZnQ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gIHdpZHRoOiAyNHB4O1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5RXhwYW5kZWQ6IGNzcyBgXHJcbiAgICBib3JkZXItYm90dG9tOiAycHggc29saWQgJHtjb2xvclBhbGV0dGUuYm9yZGVyfTtcclxuICAgIHRyYW5zaXRpb246IGJvcmRlci1ib3R0b20gMC4zcyBlYXNlLWluLW91dDtcclxuXHJcbiAgICAmOjphZnRlciB7XHJcbiAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKSBzY2FsZVkoLTEpO1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5U3BhY2luZ1NtYWxsOiBjc3MgYFxyXG4gICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgbGluZS1oZWlnaHQ6IDE2cHg7XHJcbiAgICBwYWRkaW5nOiAxMnB4IDE2cHg7XHJcbiAgYFxyXG59KTtcclxuIl19 */"),"data-accordion-content":!0,ref:y},t)))};Fe.displayName="AccordionContent";var Le={name:"w2zbrk",styles:"opacity:var(--opacity);overflow:hidden;padding:var(--padding-top) 16px var(--padding-bottom) 16px;"},je={name:"8194xo",styles:"overflow:hidden;transition:height 0.2s linear,opacity 0.1s linear 0.15s,padding-top 0.2s linear,padding-bottom 0.2s linear;"},Se={name:"114c0jv",styles:"transition-delay:0.05s,0s,0.05s,0.05s;"},Oe={name:"1o9q230",styles:"font-size:14px;line-height:16px;padding:12px 16px;"},Pe=function(e){var t=e.colorPalette;return{container:d(We,";border-bottom:2px solid ",t.border,";font-family:'Montserrat',sans-serif;font-size:16px;line-height:24px;position:relative;color:",t.font,";transition:border-bottom 0.3s ease-in-out;&:hover{border-bottom:2px solid ",t.primary,";}"),contentContainer:Le,containerExpanded:d("border-bottom:2px solid ",t.secondary,";&:hover > summary{border-bottom:2px solid ",t.primary,";transition:border-bottom-color 0.3s ease-in-out;}"),content:je,contentDelays:Se,summary:d("align-items:flex-start;background-color:transparent;border:none;border-bottom:0 solid transparent;color:",t.font,";cursor:pointer;display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:16px;line-height:24px;outline:none;padding:16px;position:relative;text-align:left;transition:border-bottom 0.05s linear 0.2s;&::after{background:",be(g(fe,null))," center center / 24px no-repeat;content:'';height:24px;position:absolute;right:10px;top:50%;transform:translateY(-50%) scaleY(1);transition:transform 0.3s ease-in-out;width:24px;}"),summaryExpanded:d("border-bottom:2px solid ",t.border,";transition:border-bottom 0.3s ease-in-out;&::after{transform:translateY(-50%) scaleY(-1);}"),summarySpacingSmall:Oe}},Ee=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.Children.toArray(e).map((function(e,t){return t<n.length?n[t]:e.props.expanded}))},Me=function(e){var n=e.children,o=e.exclusive,i=e.id,c=e.spacing,l=void 0===c?"normal":c,s=Y(r(Ee(n)),2),d=s[0],u=s[1];a((function(){!function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=0,r=!1;if(t.Children.forEach(e,(function(e){e.props.expanded&&o++,("object"!==L(e)||"AccordionContent"!==e.type.name&&"AccordionContent"!==e.type.displayName)&&(r=!0)})),n&&o>1)throw new Error('Accordion with "exclusive" flag can only have one expanded content section');if(r)throw new Error("Accordion content must be wrapped in an Accordion.Content component")}(n,o),u((function(e){return Ee(n,e)}))}),[n,o]);var b=function(e,t){return function(n){u((function(t){var r=o&&n?Array(t.length).fill(!1):F(t);return r[e]=n,r})),ae(t)&&t(n)}};return g("div",{id:i,css:De},t.Children.map(n,(function(e,n){return t.cloneElement(e,{expanded:d[n],onClick:b(n,e.props.onClick),spacing:e.props.spacing||l})})))};Me.Content=Fe;var Te,De=d(We,";width:100%;");function Qe(){return Qe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Qe.apply(null,arguments)}var Ue,Ke,qe=n((function(t,n){return e.createElement("svg",Qe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",ref:n},t),Te||(Te=e.createElement("path",{d:"M13.333 2.667V3.6c0 2.24 0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748C10.294 10 9.174 10 6.933 10H2.667m0 0L6 6.667M2.667 10 6 13.333",stroke:"#004766",strokeWidth:1.333,strokeLinecap:"round",strokeLinejoin:"round"})))})),_e=function(e){var n=e.breadcrumbs,o=e.id,r=e.keyExtractor,i=e.labelExtractor,a=e.onClick,c=e.showCurrent,l=void 0===c||c,s=ze(et);return g("ul",{css:s.list,id:o},n.map((function(e,o){var c,u=function(e,t){return ce(e)?e.key:te(e,r,t)}(e,o),b=o===n.length-1;return g(t.Fragment,{key:u},(l||!b)&&g("li",{css:s.listItem},g("a",{"aria-current":!!b&&"page",css:d([s.breadCrumb,!b&&s.hoverEffect],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJyZWFkY3J1bWIuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCNkQiLCJmaWxlIjoiQnJlYWRjcnVtYi5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xyXG5pbXBvcnQgeyBpc0tleUxhYmVsUGFpciwgZXh0cmFjdENvbnRlbnQsIGV4dHJhY3RLZXksIHN2Z0NvbXBvbmVudFRvRGF0YVVSTCwgaXNDYWxsYWJsZUZ1bmN0aW9uIH0gZnJvbSBcIi4uLy4uL3V0aWxzXCI7XHJcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL2NvcmUnO1xyXG4vLyBAdHJhbnNmb3JtLXBhdGggLi4vYXNzZXRzL2ljb25zL2NhcmV0X3JpZ2h0LnN2Z1xyXG5pbXBvcnQgQ2FyZXRSaWdodCBmcm9tIFwiLi4vYXNzZXRzL2ljb25zL2NhcmV0X3JpZ2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AgJjo6YmVmb3JlLCAmOjphZnRlciB7XHJcbiAgICAgIGJhY2tncm91bmQtcmVwZWF0OiBuby1yZXBlYXQ7XHJcbiAgICAgIGJhY2tncm91bmQtc2l6ZTogY29udGFpbjtcclxuICAgICAgaGVpZ2h0OiAxNnB4O1xyXG4gICAgICB3aWR0aDogMTZweDtcclxuICAgIH1cclxuXHJcbiAgICAmOmZpcnN0LW9mLXR5cGU6bm90KDpsYXN0LW9mLXR5cGUpOjpiZWZvcmUge1xyXG4gICAgICBiYWNrZ3JvdW5kLWltYWdlOiAke3N2Z0NvbXBvbmVudFRvRGF0YVVSTCg8TGluZUNvcm5lckRvd25MZWZ0IGNvbG9yPXtjb2xvclBhbGV0dGUucHJpbWFyeURhcmtBY3RpdmV9Lz4pfTtcclxuICAgICAgY29udGVudDogJyc7XHJcbiAgICB9XHJcblxyXG4gICAgJjpub3QoOmxhc3Qtb2YtdHlwZSk6OmFmdGVyIHtcclxuICAgICAgYmFja2dyb3VuZC1pbWFnZTogJHtzdmdDb21wb25lbnRUb0RhdGFVUkwoPENhcmV0UmlnaHQgY29sb3I9e2NvbG9yUGFsZXR0ZS5wcmltYXJ5RGFya0FjdGl2ZX0vPil9O1xyXG4gICAgICBjb250ZW50OiAnJztcclxuICAgICAgbWFyZ2luLXJpZ2h0OiAxMnB4O1xyXG4gICAgfVxyXG4gIGBcclxufSk7XHJcbiJdfQ== */"),"data-current-crumb":ce(e)?e.label:ne(e,i,o),href:"#",onClick:b?void 0:(c=u,function(){return ae(a)&&a(c)})},ce(e)?e.label:ne(e,i,o))))})))},$e={name:"1c386kp",styles:"display:flex;font-family:'Montserrat',sans-serif;font-size:12px;list-style:none;margin:0;padding:0;"},et=function(e){var t=e.colorPalette;return{breadCrumb:d("color:",t.neutralDark,";display:inline-block;font-size:16px;line-height:16px;padding:4px 12px;text-decoration:none;text-decoration-color:transparent;&::before{content:attr(data-current-crumb);display:block;font-weight:700;height:0;overflow:hidden;visibility:hidden;}"),hoverEffect:d("&:hover{cursor:pointer;font-weight:700;text-decoration:underline;text-decoration-color:",t.neutralDark,";}"),list:$e,listItem:d("align-items:center;display:flex;gap:12px;&::before,&::after{background-repeat:no-repeat;background-size:contain;height:16px;width:16px;}&:first-of-type:not(:last-of-type)::before{background-image:",be(g(qe,{color:t.primaryDarkActive})),";content:'';}&:not(:last-of-type)::after{background-image:",be(g(Ge,{color:t.primaryDarkActive})),";content:'';margin-right:12px;}")}},tt=function(e,t){a((function(){if(t())throw new Error(e)}),arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])},nt=126,ot=function(e){var t=e.color,n=e.id,r=e.progress,i=void 0===r,a=o((function(){return r&&nt-Math.min(Math.max(r,0),100)/100*nt}),[r]),c=ze(lt);return g("div",{css:d([c.container,i?c.containerIndeterminate:c.containerStatic]),id:n},g("svg",{"aria-label":"loading",css:c.svgContainer,style:{"--color":t},viewBox:"22 22 44 44"},g("circle",{css:d([c.circle,i?c.circleIndeterminate:c.circleStatic]),cx:"44",cy:"44",fill:"none",r:"20.2",strokeWidth:"3.6",style:{"--dashoffset":a}})))},rt=u(Ue||(Ue=z(["\n 100% { transform: rotate(360deg); }\n"]))),it=u(Ke||(Ke=z(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n"]))),at={name:"1uu7u3w",styles:"height:20px;width:20px;"},ct={name:"4dsd3s",styles:"transform:rotate(-90deg);"},lt=function(e){var t=e.colorPalette;return{circle:d("--dashoffset:",nt,";stroke:currentColor;stroke-dasharray:80px,200px;stroke-dashoffset:var(--dashoffset);"),circleIndeterminate:d("animation:",it," 1.4s ease-in-out infinite;"),circleStatic:d("stroke-dasharray:",nt,"px;transition:stroke-dashoffset 0.3s ease-out;"),container:at,containerIndeterminate:d("animation:",rt," 1.4s linear infinite;"),containerStatic:ct,svgContainer:d("--color:",t.secondary,";color:var(--color);")}},st=function(e,t){a((function(){t()&&T(e)}),arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])},dt=function(e){var n=e.buttonStyle,o=void 0===n?"filled":n,r=e.iconSize,a=void 0===r?"normal":r,c=e.loadingColor,l=e.onClick,s=e.showOutline,u=e.activeColor,b=e.allowEventPropagation,p=void 0!==b&&b,I=e.ariaLabel,h=e.borderColor,C=e.buttonType,f=void 0===C?"button":C,m=e.color,y=e.children,A=e.disabled,x=e.focusColor,G=e.hoverColor,X=e.icon,Z=e.iconColor,w=e.iconColorActive,W=e.iconPosition,J=void 0===W?"left":W,H=e.id,k=e.label,R=e.labelColor,V=e.labelColorActive,N=e.loading,z=e.loadingProgress,F=e.onPress,L=void 0===F?l:F,j=e.outlineColor,S=e.size,O=void 0===S?"normal":S;!function(e){var t=e.buttonStyle,n=e.iconSize,o=e.loadingColor,r=e.onClick,i=e.showOutline;st('WJEC One Button: The "iconSize" prop has been deprecated for design reasons and will be removed in a future version of the library. Button components will now always behave as though `iconSize="normal"`',(function(){return"filled"!==t}),[t]),st('WJEC One Button: The "buttonStyle" prop has been deprecated for design reasons and will be removed in a future version of the library. Button components will now always behave as though `buttonStyle="filled"`',(function(){return"normal"!==n}),[n]),st('WJEC One Button: The "loadingColor" prop has been deprecated for design reasons and will be removed in a future version of the library. Button components will now render with a suitable loading color depending on whether the background color is light/dark',(function(){return void 0!==o}),[o]),st('WJEC One Button: The "onClick" prop has been deprecated in favor of "onPress" for accessibility reasons and will be removed in a future version of the library. Switch to using "onPress" instead of "onClick" as soon as possible in order to avoid unexpected behavior in future',(function(){return void 0!==r}),[r]),st('WJEC One Button: The "showOutline" prop has been deprecated for accessibility reasons and will be removed in a future version of the library. The Button component will now behave as though "showOutline={true}" in all cases',(function(){return void 0!==i}),[i])}({buttonStyle:o,iconSize:a,loadingColor:c,onClick:l,showOutline:s}),tt("WJEC One Button: Icon must be a valid SVGComponent",(function(){return X&&!ge(t.createElement(X))}),[X]),tt("WJEC One Button: A Button must have a label and/or icon",(function(){return!y&&!X&&!k}),[y,X,k]);var P=i(),E=Y(Ye(),1)[0].colorPalette,M={"--active-background-color":u,"--background-color":m,"--border-color":h,"--focus-background-color":x,"--hover-background-color":G,"--icon-color":Z,"--icon-color-active":w,"--label-color":R,"--label-color-active":V,"--outline-color":j,"--padding":"large"===O?"8px 24px":"small"===O?"2px 8px":void 0},T=ze(It),D=function(){return g(X,{"aria-hidden":!0,css:d([T.icon,(k||y)&&X&&("left"===J?T.iconLeft:T.iconRight)])})},Q=v({id:H,isDisabled:A,onPress:L,type:f},P).buttonProps;return g("button",B({"aria-label":I},Q,{ref:P,css:T.button,onClick:function(e){p||e.stopPropagation()},style:M,"data-loading":N||void 0}),X&&"left"===J&&D(),k||y,X&&"right"===J&&D(),N&&g("div",{css:T.loading},g(ot,{color:R||E.neutralDark,progress:z})))},gt={name:"18kopw8",styles:"color:var(--icon-color);flex-shrink:0;height:24px;opacity:0.6;transition:inherit;width:24px;"},ut={name:"15ro776",styles:"margin-right:4px;"},bt={name:"15fzge",styles:"margin-left:4px;"},pt={name:"c524f5",styles:"left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"},It=function(e){var t=e.colorPalette;return{button:d("--active-background-color:",t.neutralLight,";--background-color:",t.neutral,";--border-color:transparent;--focus-background-color:var(--background-color);--hover-background-color:",t.border,";--label-color:",t.neutralDark,";--label-color-active:#FFFFFF;--outline-color:",t.primary,";--padding:8px;--icon-color:var(--label-color);--icon-color-active:var(--label-color-active);",We,";align-items:center;background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",we.borderRadius,";color:var(--label-color);cursor:pointer;display:flex;font-family:'Montserrat',sans-serif;font-size:16px;font-weight:600;height:40px;justify-content:center;letter-spacing:0.5px;line-height:24px;padding:var(--padding);position:relative;transition:background-color 0.05s linear,color 0.05s linear;white-space:pre-wrap;&:disabled{background-color:",t.neutral,";color:",t.border,";cursor:not-allowed;& > svg{color:",t.border,';}}&:focus{background-color:var(--focus-background-color);outline:1px solid var(--outline-color);outline-offset:-3px;}&:not(:disabled,[data-loading="true"]):hover{background-color:var(--hover-background-color);}&:not(:disabled,[data-loading="true"]):active{background-color:var(--active-background-color);color:var(--label-color-active);& > svg{color:var(--icon-color-active);}}&[data-loading="true"]{color:transparent;& > svg{color:transparent;}}'),icon:gt,iconLeft:ut,iconRight:bt,loading:pt}},ht=function(e){var t=Object.assign({},(k(e),e)),n=Y(Ye(),1)[0].colorPalette;return g(dt,B({},t,{activeColor:n.errorDarker,color:n.error,hoverColor:n.errorDark,iconColor:"#FFFFFF",labelColor:"#FFFFFF",outlineColor:"#FFFFFF"}))},Ct=["icon","iconColor","loading"],ft=function(e){var t=e.icon,n=e.iconColor,o=e.loading,r=N(e,Ct),i=Y(Ye(),1)[0].colorPalette;return g(dt,B({},r,{color:o?i.neutral:"transparent",loading:o}),g(t,{css:vt.icon,style:{"--icon-color":n},"aria-hidden":!0}))},vt={icon:{name:"1s88svv",styles:"color:var(--icon-color);flex-shrink:0;height:24px;transition:inherit;width:24px;"}},mt=["loading"],yt=function(e){var t=e.loading,n=N(e,mt),o=Y(Ye(),1)[0].colorPalette;return tt("WJEC One LinkButton: A LinkButton cannot have an unaccompanied icon",(function(){return n.icon&&!(n.children||n.label)}),[n]),g(dt,B({},n,{loading:t,color:t?o.neutral:"transparent",iconColor:o.fontLight,labelColor:o.primaryDark}))},At=function(e){var t=Object.assign({},(k(e),e)),n=Y(Ye(),1)[0].colorPalette;return g(dt,B({},t,{activeColor:n.primaryDarkActive,color:n.primary,hoverColor:n.primaryDark,iconColor:"#FFFFFF",labelColor:"#FFFFFF",outlineColor:"#FFFFFF"}))},xt=function(e){var t=Object.assign({},(k(e),e)),n=Y(Ye(),1)[0].colorPalette;return g(dt,B({},t,{activeColor:n.secondary,borderColor:t.disabled?"none":n.secondaryDark,color:"#FFFFFF",focusColor:n.secondaryLight,hoverColor:n.secondaryLight,labelColor:n.secondaryDark,labelColorActive:n.secondaryDark,outlineColor:"#FFFFFF"}))},Gt=function(e,t,n){c((function(){var o,r,i,a,c,l;(null==n||null===(o=n.current)||void 0===o||null===(r=o.style)||void 0===r?void 0:r.getPropertyValue(e))!==t&&(null==t?null==n||null===(i=n.current)||void 0===i||null===(a=i.style)||void 0===a||a.removeProperty(e):null==n||null===(c=n.current)||void 0===c||null===(l=c.style)||void 0===l||l.setProperty(e,t.toString()))}))};const Xt="undefined"!=typeof document?t.useLayoutEffect:()=>{};let Zt=0;const wt=new Map;function Wt(e){let[t,n]=r();return Xt((()=>{if(!e)return;let t=wt.get(e);if(t)n(t.element.id);else{let o="react-aria-description-"+Zt++;n(o);let r=document.createElement("div");r.id=o,r.style.display="none",r.textContent=e,document.body.appendChild(r),t={refCount:0,element:r},wt.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),wt.delete(e))}}),[e]),{"aria-describedby":e?t:void 0}}var Jt,Ht=function(e){var t=e.ariaDescription,n=e.borderColor,o=e.children,r=e.id,a=e.padding,c=i(),l=Wt(t);return Gt("--padding",a,c),Gt("--border-color",n,c),g("div",B({css:Bt.cardMain,id:r,ref:c},l),o)},Bt={cardMain:d("--border-color:none;--padding:30px 30px;background-color:#ffffff;border:1px solid var(--border-color);border-radius:",we.borderRadius,";box-shadow:",we.dropShadow,";padding:var(--padding);position:relative;")},kt={name:"fup5xt",styles:"align-items:center;display:flex;justify-content:space-between;margin:30px 30px 0;"},Rt={name:"hv8m74",styles:"display:flex;justify-content:center;list-style:none;margin:0;padding:0;width:100%;"},Vt={name:"1fyoaf7",styles:"display:inline-block;flex-shrink:0;height:100%;width:100%;"},Nt={name:"103tnj5",styles:"--transition-duration:200ms;--translate-x:unset;display:flex;height:100%;position:relative;transform:translateX(var(--translate-x));width:100%;&[data-animating]{transition:transform ease-out var(--transition-duration);}&[data-swiping]{user-select:none;}& > *{flex-shrink:0;}"},Yt=function(e){var t=e.colorPalette;return{container:d(We,";display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%;"),controls:kt,dot:d("cursor:pointer;padding:5px;&::before{background-color:",t.border,";border:1px solid transparent;border-radius:3px;content:'';display:block;height:5px;transition:background-color 150ms linear,border-color 150ms linear;width:20px;}"),dotActive:d("&::before{background-color:",t.secondary,";border-color:",t.secondary,";}"),dots:Rt,navigationButton:d("align-items:center;background-color:",t.neutral,";border:none;border-radius:10px;cursor:pointer;display:flex;flex-shrink:0;height:20px;justify-content:center;outline:none;transition:opacity 100ms linear;width:40px;&:disabled{cursor:default;opacity:0;}"),navigationIcon:d("color:",t.fontLight,";height:15px;"),slide:Vt,slides:Nt}};function zt(){return zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},zt.apply(null,arguments)}var Ft,Lt=n((function(t,n){return e.createElement("svg",zt({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Jt||(Jt=e.createElement("path",{d:"M9.412 3.921a.831.831 0 0 1 1.176 1.175l-4.063 4.07h9.308a.833.833 0 1 1 0 1.667H6.525l4.063 4.07a.831.831 0 0 1-1.176 1.176L4.04 10.707a1 1 0 0 1 0-1.414L9.412 3.92Z",fill:"currentColor"})))}));function jt(){return jt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},jt.apply(null,arguments)}var St,Ot,Pt,Et=n((function(t,n){return e.createElement("svg",jt({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Ft||(Ft=e.createElement("path",{d:"M10.588 3.921a.831.831 0 0 0-1.176 1.175l4.063 4.07H4.167a.833.833 0 1 0 0 1.667h9.308l-4.063 4.07a.831.831 0 0 0 1.176 1.176l5.372-5.372a1 1 0 0 0 0-1.414L10.588 3.92Z",fill:"currentColor"})))})),Mt=function(e){var t=e.direction,n=e.disabled,o=e.onClick,r=ze(Yt);return g("button",{css:r.navigationButton,disabled:n,onClick:o,type:"button"},g("next"===t?Et:Lt,{css:r.navigationIcon}))},Tt=function(e){var t=e.active,n=e.onClick,o=ze(Yt);return g("li",{css:d([o.dot,t&&o.dotActive]),onClick:n})},Dt=function(e,t){return(e+1)%t},Qt=function(e,t){return(e+t-1)%t},Ut=function(e,t,n){var o=n-t+Math.floor((n-1)/2)+e;return o>n-1?o%n:o},Kt=function(e,t,n){var o=function(e,t){var n=t.children[e];return Math.round(t.offsetWidth/2-n.offsetLeft-n.offsetWidth/2)}(e+t,n);n.style.setProperty("--translate-x","".concat(o,"px"))},qt=n((function(e,n){var s=e.buffer,d=void 0===s?1:s,u=e.children,b=e.id,p=e.infinite,I=e.onChange,h=e.showNavigationButtons,C=void 0===h||h,f=e.showNavigationDots,v=void 0===f||f,y=e.simulateMouseSwipe,A=e.slideIndex,x=void 0===A?0:A,G=e.slideTransitionDuration,X=void 0===G?200:G,Z=i(),w=i(),W=Y(r(x),2),J=W[0],H=W[1],k=o((function(){return p?d:0}),[d,p]),R=o((function(){return t.Children.toArray(u)}),[u]),V=o((function(){return R.length}),[R]),N=o((function(){return V>0&&(C||v)}),[C,v,V]),z=o((function(){var e=Object.keys(R).map((function(e){return parseInt(e)}));return p&&e.sort((function(e,t){return Ut(e,J,V)-Ut(t,J,V)})),e}),[J,R,p,V]);c((function(){V>0&&Kt(z.indexOf(J),k,null==w?void 0:w.current)}),[J,k,V,z]),a((function(){var e,t=Math.max(0,Math.min(V-1,x));null!=w&&null!==(e=w.current)&&void 0!==e&&e.hasAttribute("data-animating")||t===J||j(t)}),[x]),a((function(){var e=Z.current.offsetHeight,t=Z.current.offsetWidth,n=new ResizeObserver((function(n){var o=Y(n,1)[0].contentRect,r=o.height,i=o.width;r===e&&i===t||(e=r,t=i,Kt(z.indexOf(J),k,null==w?void 0:w.current))}));return n.observe(Z.current),function(){n.disconnect()}}),[J,k,z]);var F=pe((function(){if(p||J<V-1){var e=Dt(J,V);j(e)}}),{limit:X+1}),L=pe((function(){if(p||J>0){var e=Qt(J,V);j(e)}}),{limit:X+1}),j=function(e){if(e!==J){var t=function(){w.current.removeAttribute("data-animating"),w.current.removeAttribute("data-swiping"),H(e),ae(I)&&I(e)};X>0?(w.current.setAttribute("data-animating","true"),w.current.addEventListener("transitionend",t,{once:!0}),Kt(z.indexOf(e),k,null==w?void 0:w.current)):t()}};l(n,(function(){return{goToNextSlide:F,goToPreviousSlide:L,goToSlide:j}}));var S=function(e){for(var n=[],o="before"===e?z[0]:z[V-1],r=0;r<k;r++)"before"===e&&(o=Qt(o,V),n.unshift(o)),"after"===e&&(o=Dt(o,V),n.push(o));return n.map((function(n){return t.cloneElement(R[n],{key:"buffer_".concat(e,"_").concat(n)})}))},O=m({onSwiped:function(e){var t,n=e.deltaX,o=e.dir;if(w.current.hasAttribute("data-swiping")){var r=(t=z.indexOf(J)+k,(null==w?void 0:w.current).children[t].offsetWidth/3);Math.abs(n)>=r?"Left"===o?F():L():w.current.removeAttribute("data-swiping")}},onSwiping:function(e){var t=e.velocity;!w.current.hasAttribute("data-swiping")&&t>.33&&w.current.setAttribute("data-swiping","true")},trackMouse:y}),P=ze(Yt);return Gt("--transition-duration","".concat(X,"ms"),w),g("div",{ref:Z,css:P.container,id:b,"data-carousel-container":!0},g("div",B({},O,{ref:function(e){w.current=e,O.ref(e)},css:P.slides,"data-carousel-slides-container":!0}),S("before"),z.map((function(e){return R[e]})),S("after")),N&&g("div",{css:P.controls},C&&g(Mt,{direction:"previous",disabled:0===J&&!p,onClick:L}),v&&g("ol",{css:P.dots},R.map((function(e,t){return g(Tt,{key:"slide_".concat(t),active:t===J,onClick:function(){return j(t)}})}))),C&&g(Mt,{direction:"next",disabled:J===V-1&&!p,onClick:F})))}));function _t(){return _t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},_t.apply(null,arguments)}var $t,en=n((function(t,n){return e.createElement("svg",_t({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),St||(St=e.createElement("path",{d:"M9.167 15h1.666v-1.667H9.167V15Z",fill:"currentColor"})),Ot||(Ot=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.667 10C1.667 5.4 5.4 1.667 10 1.667S18.333 5.4 18.333 10 14.6 18.333 10 18.333A8.336 8.336 0 0 1 1.667 10Zm1.666 0A6.675 6.675 0 0 0 10 16.667 6.675 6.675 0 0 0 16.667 10 6.676 6.676 0 0 0 10 3.333 6.676 6.676 0 0 0 3.333 10Z",fill:"currentColor"})),Pt||(Pt=e.createElement("path",{d:"M10 5a3.332 3.332 0 0 0-3.333 3.333h1.666c0-.916.75-1.666 1.667-1.666s1.667.75 1.667 1.666c0 1.667-2.5 1.459-2.5 4.167h1.666c0-1.875 2.5-2.083 2.5-4.167A3.332 3.332 0 0 0 10 5Z",fill:"currentColor"})))})),tn={name:"115actz",styles:"display:inline-flex;position:relative;"},nn={name:"1ixbp0l",styles:"pointer-events:none;"},on={name:"13v3rg8",styles:"overflow-y:auto;"},rn={name:"17ju33v",styles:"--cursor:pointer;cursor:var(--cursor);display:inline-flex;"},an=function(e){var t=e.colorPalette;return{container:tn,popup:d("--background-color:#fff;--color:",t.font,";--margin:10px;--max-height:300px;--max-width:300px;--padding:10px;--position-x:0;--position-y:0;font-family:'Montserrat',sans-serif;font-size:14px;left:var(--position-x);line-height:20px;margin:var(--margin);max-height:var(--max-height);max-width:var(--max-width);min-width:",175,"px;opacity:0;outline:none;pointer-events:none;position:absolute;text-align:left;top:var(--position-y);transition:opacity ",100,"ms linear;width:max-content;z-index:1;"),popupContent:d("--translate-x:0;--translate-y:0;",We,";",we.scrollbar,";background-color:var(--background-color);border-radius:",we.borderRadius,";box-shadow:",we.dropShadow,";color:var(--color);padding:var(--padding);pointer-events:auto;overflow-x:hidden;overflow-y:hidden;transform:translate(var(--translate-x),var(--translate-y));"),popupOnHover:nn,popupContentScrollable:on,toggle:rn,toggleString:d("border-bottom:2px dotted ",t.secondary,";")}},cn=function(e,t,n,o,r){var i;if("bottom"===e){var a=o.clientHeight-(n.top+t.offsetHeight);i="floating"===r?a:a+(o.scrollTop+o.offsetTop)}if("left"===e&&(i="floating"===r?n.left:n.left-o.scrollLeft-o.offsetLeft),"right"===e){var c=o.clientWidth-(n.left+t.offsetWidth);i="floating"===r?c:c+(o.scrollLeft+o.offsetLeft)}return"top"===e&&(i="floating"===r?n.top:n.top-o.scrollTop-o.offsetTop),i},ln=function(e){var t=window.getComputedStyle(e);return{bottom:parseInt(t.marginBottom),left:parseInt(t.marginLeft),right:parseInt(t.marginRight),top:parseInt(t.marginTop)}},sn=function(e,t){var n;if("sibling"===t)n={left:e.offsetLeft,top:e.offsetTop};else{var o=e.getBoundingClientRect();n={left:Math.floor(o.left),top:Math.floor(o.top)}}return n},dn=function(e,t,n,o){if(e&&t){var r=0,i=0,a=o.startsWith("bottom")||o.startsWith("top")?"vertical":"horizontal",c={height:e.offsetHeight,width:e.offsetWidth},l=oe(e),s={height:t.offsetHeight,width:t.offsetWidth},d=sn(t,n),g=ln(e),u=g.bottom,b=g.left,p=g.right,I=g.top;"horizontal"===a&&(i=d.top+s.height/2-c.height/2-I,o.startsWith("left")&&(r=d.left-c.width-b-p),o.startsWith("right")&&(r=d.left+s.width),o.endsWith("-end")&&(i=d.top+s.height-c.height-I),o.endsWith("-start")&&(i=d.top-I)),"vertical"===a&&(r=d.left+s.width/2-c.width/2-b,o.startsWith("bottom")&&(i=d.top+s.height),o.startsWith("top")&&(i=d.top-c.height-u-I),o.endsWith("-end")&&(r=d.left+s.width-c.width-b),o.endsWith("-start")&&(r=d.left-b)),"floating"===n&&(r+=l.scrollLeft,i+=l.scrollTop),e.style.setProperty("--position-x","".concat(r,"px")),e.style.setProperty("--position-y","".concat(i,"px"))}},gn=function(e,t,n,r,i,c){var l=o((function(){return"sibling"===n&&null!=t&&t.current?oe(t.current):null}),[n,null==t?void 0:t.current]);a((function(){var o,a;i&&(o=new IntersectionObserver((function(o){o.forEach((function(o){var i,a=o.isIntersecting,l=o.target;l===(null==e?void 0:e.current)&&a&&function(e,t,n,o){var r=o.startsWith("bottom")||o.startsWith("top")?"vertical":"horizontal",i=oe(e),a=sn(t.parentElement,n),c=0,l=0,s=ln(e),d=s.bottom,g=s.left,u=s.right,b=s.top;if("horizontal"===r){var p=cn("left",t,a,i,n),I=cn("right",t,a,i,n),h=p<e.offsetWidth+u,C=I<e.offsetWidth+g;(o.startsWith("left")&&h&&!C||o.startsWith("right")&&C&&!h)&&(c=(t.offsetWidth+e.offsetWidth+g+u)*(o.startsWith("left")?1:-1)),e.firstElementChild.style.setProperty("--translate-x","".concat(c,"px"))}if("vertical"===r){var f=cn("top",t,a,i,n),v=cn("bottom",t,a,i,n),m=f<e.offsetHeight+d,y=v<e.offsetHeight+b;(o.startsWith("bottom")&&y&&!m||o.startsWith("top")&&m&&!y)&&(l=(t.offsetHeight+e.offsetHeight+b+d)*(o.startsWith("top")?1:-1)),e.firstElementChild.style.setProperty("--translate-y","".concat(l,"px"))}}(null==e?void 0:e.current,null==t?void 0:t.current,n,r),l!==(null==e||null===(i=e.current)||void 0===i?void 0:i.firstElementChild)||a||c()}))}),{root:l,threshold:[0,1]}),o.observe(e.current),o.observe(null==e||null===(a=e.current)||void 0===a?void 0:a.firstElementChild));return function(){o&&o.disconnect()}}),[n,i,r,l])},un=function(e){var t=e.attachment,n=e.backgroundColor,o=e.children,l=e.margin,s=e.maxHeight,u=e.maxWidth,b=e.onOutOfView,p=e.open,I=e.padding,h=e.placement,C=e.scrollable,f=e.setPopupRef,v=e.textColor,m=e.toggleRef,A=e.trigger,x=i(),G=Y(r(p),2),X=G[0],Z=G[1];!function(e,t,n,o,r){c((function(){r&&dn(null==e?void 0:e.current,null==t?void 0:t.current,n,o)}),[n,r,o,null==e?void 0:e.current])}(x,m,t,h,p),gn(x,m,t,h,p,b),function(e,t,n,o,r){var c=i(!1);a((function(){var i,a,l,s,d,g=function(){dn(null==e?void 0:e.current,null==t?void 0:t.current,n,o)};if(r){if(!c.current){var u=t.current.getBoundingClientRect(),b=u.height,p=u.left,I=u.top,h=u.width;a=b,l=p,s=I,d=h,c.current=!0}"floating"===n&&window.addEventListener("resize",g),i=new ResizeObserver((function(r){var i=Y(r,1)[0].contentRect,c=i.height,g=i.left,u=i.top,b=i.width;c===a&&g===l&&u===s&&b===d||(dn(null==e?void 0:e.current,null==t?void 0:t.current,n,o),a=c,l=g,s=u,d=b)})),i.observe(null==t?void 0:t.current)}return function(){window.removeEventListener("resize",g),i&&i.disconnect()}}),[n,r,o])}(x,m,t,h,p),function(e,t,n,o){a((function(){var r,i,a,c=0,l=0,s=function(t){var n,o,r,i,a,s,d,g,u=t.target,b=u.scrollLeft,p=u.scrollTop,I=c-b,h=l-p,C=parseInt(null==e||null===(n=e.current)||void 0===n||null===(o=n.style)||void 0===o?void 0:o.getPropertyValue("--position-x")),f=parseInt(null==e||null===(r=e.current)||void 0===r||null===(i=r.style)||void 0===i?void 0:i.getPropertyValue("--position-y"));null==e||null===(a=e.current)||void 0===a||null===(s=a.style)||void 0===s||s.setProperty("--position-x","".concat(C+I,"px")),null==e||null===(d=e.current)||void 0===d||null===(g=d.style)||void 0===g||g.setProperty("--position-y","".concat(f+h,"px")),c=b,l=p};return o&&"floating"===n&&(r=oe(null==t?void 0:t.current),c=null===(i=r)||void 0===i?void 0:i.scrollLeft,l=null===(a=r)||void 0===a?void 0:a.scrollTop,r!==document.documentElement&&r.addEventListener("scroll",s)),function(){r&&r.removeEventListener("scroll",s)}}),[n,o])}(x,m,t,p),a((function(){var e,t,n,o,r,i=function(){Z(!1)};p?(Z(!0),null==x||null===(e=x.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("opacity","1")):(null==x||null===(n=x.current)||void 0===n||n.addEventListener("transitionend",i,{once:!0}),null==x||null===(o=x.current)||void 0===o||null===(r=o.style)||void 0===r||r.removeProperty("opacity"));return function(){var e;null==x||null===(e=x.current)||void 0===e||e.removeEventListener("transitionend",i)}}),[p]);var w=ze(an),W=g("div",{ref:function(e){x.current=e,f(e)},css:w.popup,style:{"--background-color":n,"--color":v,"--margin":l,"--max-height":s,"--max-width":u,"--padding":I}},g("div",{css:d([w.popupContent,C&&w.popupContentScrollable,"hover"===A&&w.popupOnHover])},o));return(p||X)&&("sibling"===t?W:y.createPortal(W,document.body))},bn=function(e){var t=e.ariaDescription,n=e.ariaLabel,c=e.attachment,l=void 0===c?"sibling":c,s=e.backgroundColor,u=e.children,b=e.closeDelay,p=void 0===b?0:b,I=e.closeOnClickOutside,h=void 0===I||I,C=e.closeOnOutOfView,f=void 0!==C&&C,v=e.gapSize,m=e.id,y=e.margin,A=void 0===y?v:y,x=e.maxHeight,G=e.maxWidth,X=e.onHide,Z=e.onShow,w=e.open,W=void 0!==w&&w,J=e.openDelay,H=void 0===J?0:J,k=e.padding,R=e.placement,V=void 0===R?"bottom":R,N=e.popupPositionX,z=void 0===N?"right":N,F=e.popupPositionY,L=void 0===F?"below":F,j=e.position,S=void 0===j?{left:"auto",top:"auto"}:j,O=e.positionType,P=void 0===O?"relative":O,E=e.scrollable,M=void 0===E||E,T=e.setRef,D=e.textColor,Q=e.toggle,U=e.toggleCursor,K=e.trigger,q=void 0===K?"press":K,_=e.width;!function(e,t,n,o,r,i,a,c){st('WJEC One Popup: The "gapSize" prop has been deprecated in favor of the more standard "margin" prop, and will be removed in a future version of the library',(function(){return void 0!==e}),[e]),st('WJEC One Popup: The "popupPositionX" and "popupPositionY" props have been deprecated in favor of the new placement prop, which encompasses both. Please switch to using "placement" to avoid unexpected behavior in future versions of the library',(function(){return"right"!==t}),[t]),st('WJEC One Popup: The "popupPositionX" and "popupPositionY" props have been deprecated in favor of the new placement prop, which encompasses both. Please switch to using "placement" to avoid unexpected behavior in future versions of the library',(function(){return"below"!==n}),[n]),st('WJEC One Popup: The "position" prop has been deprecated because WJEC One components are intended to be layout agnostic; it will be removed in a future version of the library',(function(){return'{"left":"auto","top":"auto"}'!==JSON.stringify(o)}),[o]),st('WJEC One Popup: The "positionType" prop has been deprecated because WJEC One components are intended to be layout agnostic; it will be removed in a future version of the library',(function(){return"relative"!==r}),[r]),st('WJEC One Popup: The "setRef" prop has been deprecated as it is no longer required internally',(function(){return void 0!==i}),[i]),st('WJEC One Popup: The "click" value for the "trigger" prop has been deprecated in favor of "press", which maintains the same functionality. The "click" option will be removed in a future version of the library, so switch to using "press" to avoid unexpected behavior',(function(){return"click"===a}),[a]),st('WJEC One Popup: The "width" prop has been deprecated because WJEC One components are intended to be layout agnostic; it will be removed in a future version of the library',(function(){return"auto"!==c}),[c])}(v,z,L,S,P,T,q,void 0===_?"auto":_);var $=i(),ee=i(),te=i(),ne=Y(r(W),2),oe=ne[0],re=ne[1],ie=i(),ce=i(),le=Wt(t),se=o((function(){return"right"!==z||"below"!==L?function(e,t){switch("".concat(e,"-").concat(t)){case"after-bottom":return"right-end";case"after-top":return"right-start";case"before-bottom":return"left-end";case"before-top":return"left-start";case"left-above":return"top-start";case"left-below":return"bottom-start";case"right-above":return"top-end";default:return"bottom"}}(z,L):V}),[V,z,L]);a((function(){W&&!oe&&ue(),!W&&oe&&ge()}),[W]),a((function(){return"hover"!==q&&h&&oe&&h&&window.addEventListener("click",de),function(){window.removeEventListener("click",de)}}),[h,oe,q]);var de=function(e){var t=e.target;t===$.current||$.current.contains(t)||ee.current.contains(t)||ge()},ge=function(){window.clearTimeout(ce.current),oe&&(ie.current=window.setTimeout((function(){re(!1),ae(X)&&X()}),p))},ue=function(){window.clearTimeout(ie.current),oe||(ce.current=window.setTimeout((function(){ae(Z)&&Z(),re(!0)}),H))},be=ze(an);return Gt("--cursor",U,$),g("div",B({"aria-label":n,ref:$,css:be.container,id:m},le),g("span",{ref:te,css:d([be.toggle,"string"==typeof Q&&be.toggleString]),onClick:"click"===q||"press"===q?function(){oe?ge():ue()}:null,onMouseEnter:"hover"===q?ue:null,onMouseLeave:"hover"===q?ge:null},Q),g(un,{attachment:l,backgroundColor:s,margin:A,maxHeight:x,maxWidth:G,onOutOfView:function(){return f&&re(!1)},open:oe,padding:k,placement:se,scrollable:M,setPopupRef:function(e){return ee.current=e},textColor:D,toggleRef:te,trigger:q},u))},pn=["ariaDescription","ariaLabel","children","id","toggle"],In=function(e){var t=e.ariaDescription,n=e.ariaLabel,o=e.children,r=e.id,i=e.toggle,a=void 0===i?g(en,{css:hn.defaultToggle}):i,c=N(e,pn),l=Y(Ye(),1)[0].colorPalette;return g(bn,B({ariaDescription:t,ariaLabel:n},c,{backgroundColor:l.secondaryDark,id:r,openDelay:500,popupPositionX:"after",popupPositionY:"top",scrollable:!1,textColor:"#FFFFFF",toggle:a,toggleCursor:"help",trigger:"hover"}),o)},hn={defaultToggle:{name:"1pg8bi",styles:"height:20px;"}};function Cn(){return Cn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Cn.apply(null,arguments)}var fn,vn=n((function(t,n){return e.createElement("svg",Cn({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),$t||($t=e.createElement("path",{d:"M10 6.667c.917 0 1.667-.75 1.667-1.667S10.917 3.333 10 3.333 8.333 4.083 8.333 5 9.083 6.667 10 6.667Zm0 1.666c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667 1.667-.75 1.667-1.667-.75-1.667-1.667-1.667Zm0 5c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667 1.667-.75 1.667-1.667-.75-1.667-1.667-1.667Z",fill:"currentColor"})))})),mn=function(e){var t=e.children,n=e.color,o=e.id,r=i(),a=ze(yn);return Gt("--color",n,r),g("span",{css:a.emphasis,id:o,ref:r},t)},yn=function(e){var t=e.colorPalette;return{emphasis:d("--color:",t.neutralDark,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:16px;font-weight:700;line-height:24px;")}},An=function(e){var t=e.children,n=e.color,o=e.id,r=i(),a=ze(xn);return Gt("--color",n,r),g("p",{css:a.paragraph,id:o,ref:r},t)},xn=function(e){var t=e.colorPalette;return{paragraph:d("--color:",t.font,';color:var(--color);font-family:"Montserrat",sans-serif;font-size:14px;font-weight:400;line-height:20px;margin:0 0 20px 0;white-space:pre-line;')}},Gn=["ariaLabel","description","options","title","toggle"],Xn=function(e){return e&&e.length&&Object.hasOwn(e[0],"label")},Zn=function(e){var n=e.ariaLabel,o=e.description,r=e.options,i=e.title,c=e.toggle,l=void 0===c?g(ft,{allowEventPropagation:!0,icon:vn,ariaLabel:n}):c,s=N(e,Gn),u=Y(Ye(),1)[0].colorPalette;a((function(){return function(e){var n=Xn(e)?e:e.reduce((function(e,t){var n=t.sectionOptions;return[].concat(F(e),F(n))}),[]);n.some((function(e){var n=e.icon,o=e.label;if(n&&!ge(t.createElement(n)))throw new Error('Icon for option "'.concat(o,'" must be a valid SVGComponent'))}))}(r)}),[r]);var b=function(e){return function(){ae(e.onClick)&&e.onClick()}},p=ze(Hn),I=function(e){var t=e.additionalInfo,n=e.label,o=e.icon;return g("li",{key:n.toString(),css:p.menuItem,onClick:b(e)},o&&g(o,{css:p.menuItemIcon}),g("span",{css:p.menuItemLabel},n),t&&g("span",{css:"string"==typeof t?p.menuItemInfo:p.menuItemAction},t))};return g(bn,B({},s,{padding:0,popupPositionX:"right",popupPositionY:"below",toggle:l,ariaLabel:n}),(i||o)&&g("header",{css:p.header},i&&g(mn,null,i),o&&g(An,{color:u.fontLight},o)),g("ul",{css:d([We,we.scrollbar,p.menu])},r&&r.length&&(Xn(r)?r.map(I):r.map((function(e,t){var n=e.sectionTitle,o=e.sectionOptions;return g("li",{key:"section_".concat(n&&n.replace(/\s/g,"_")||t),css:p.section},n&&g("h4",{css:p.sectionTitle},n),g("ul",{css:d([p.subMenu,!n&&p.subMenuWithoutTitle])},o.map(I)))})))))},wn=10,Wn={name:"jvw5bw",styles:"margin-right:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"},Jn={name:"1dacand",styles:"padding-top:0;"},Hn=function(e){var t=e.colorPalette;return{header:d("border-bottom:1px solid ",t.border,";margin:",wn,"px;margin-bottom:0;min-width:250px;"),menu:d("font-family:'Montserrat',sans-serif;list-style:none;margin:0;overflow-x:hidden;overflow-y:auto;padding:",wn,"px;"),menuItem:d("align-items:center;border-radius:",we.borderRadius,";color:",t.font,";cursor:pointer;display:flex;font-size:14px;line-height:20px;padding:",5,"px ",wn,"px;&:hover{background-color:",t.neutral,";& > svg{color:",t.secondary,";}}&:not(:last-child){margin-bottom:",5,"px;}"),menuItemAction:d("display:inline-flex;margin-left:",20,"px;pointer-events:none;"),menuItemIcon:d("color:",t.fontLight,";flex-shrink:0;height:20px;margin-right:",wn,"px;"),menuItemInfo:d("color:",t.fontLight,";font-size:11px;line-height:20px;margin-left:",20,"px;"),menuItemLabel:Wn,section:d("margin:0 -",wn,"px;&:last-child{margin-bottom:-",wn,"px;}&:not(:last-child){border-bottom:1px solid ",t.border,";margin-bottom:",wn,"px;}"),sectionTitle:d("color:",t.fontLight,";font-size:11px;font-weight:600;letter-spacing:1px;line-height:20px;margin:0;padding:0 ",20,"px;text-transform:uppercase;"),subMenu:d("list-style:none;padding:",wn,"px;"),subMenuWithoutTitle:Jn}},Bn=function(e){var t=e.gap,n=void 0===t?0:t,o=e.id,i=e.items,c=e.onDrop,l=e.template,s=void 0===l?function(e){var t=e.Handle,n=e.item;return g(t,null,n.toString())}:l,u=Y(r(),2),b=u[0],p=u[1],I=Y(r(F(i)),2),h=I[0],C=I[1];a((function(){C(F(i))}),[i]);var f=function(e,t,n){var o=document.querySelector("[data-rbd-draggable-id='".concat(n,"']"));if(o){var r=o.clientHeight,i=o.clientWidth,a=o.parentElement,c=parseFloat(window.getComputedStyle(a).paddingTop),l=Array.from(a.children),s=[].concat(l);s.splice(e,1);var d=[].concat(F(s.slice(0,t)),[o],F(s.slice(t+1)));p({height:r,left:parseFloat(window.getComputedStyle(a).paddingLeft),top:c+d.slice(0,t).reduce((function(e,t){var n=window.getComputedStyle(t),o=parseFloat(n.marginBottom);return e+t.clientHeight+o}),0),width:i})}},v=ze(Yn),m=function(e,t){return g(G,{key:i.indexOf(e),draggableId:i.indexOf(e).toString(),index:t},(function(o,r){var i=o.dragHandleProps,a=o.draggableProps,c=o.innerRef;return g("li",B({ref:c},a,{css:d([v.item,t<h.length-1&&{marginBottom:n}])}),s({item:e,Handle:function(e){var t=e.children,n=e.positionType,o=void 0===n?"relative":n,a=e.position,c=void 0===a?{}:a;return g("div",B({},i,{css:d([v.handle,V({position:o},c),r.isDragging&&v.handleGrabbing])}),t)},index:t,sortedItems:F(h)}))}))};return g(A,{onDragEnd:function(e){var t=e.destination,n=e.source;if(p(void 0),t){var o=F(h),r=o[n.index];o.splice(n.index,1),o.splice(t.index,0,r),ae(c)&&c(o),C(o)}},onDragStart:function(e){var t=e.draggableId,n=e.source;f(n.index,n.index,t)},onDragUpdate:function(e){var t=e.destination,n=e.draggableId,o=e.source;t&&f(o.index,t.index,n)}},g(x,{droppableId:"DragAndDropListDropZone"},(function(e,t){var n=e.droppableProps,r=e.innerRef,i=e.placeholder;return g("ul",B({ref:r},n,{css:d([v.list,t.isDraggingOver&&v.listDragging]),id:o}),h.map(m),i,b&&t.isDraggingOver&&g("div",{css:d([v.placeholder,b])}))})))},kn={name:"ehba41",styles:"cursor:grab;"},Rn={name:"m2aufq",styles:"cursor:grabbing;"},Vn={name:"79elbk",styles:"position:relative;"},Nn={name:"9y6172",styles:"user-select:none;"},Yn=function(e){var t=e.colorPalette;return{handle:kn,handleGrabbing:Rn,item:Vn,list:d(We,";list-style:none;margin:0;padding:0;position:relative;"),listDragging:Nn,placeholder:d("border:2px dashed ",t.secondary,";border-radius:",we.borderRadius,";position:absolute;")}},zn={description:d("color:",P.neutralDark,";display:block;font-family:'Montserrat',sans-serif;font-size:12px;font-weight:400;line-height:16px;margin-top:4px;")},Fn=function(e){var t=e.children;return t?g("span",{css:zn.description},t):null};function Ln(){return Ln=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ln.apply(null,arguments)}var jn,Sn=n((function(t,n){return e.createElement("svg",Ln({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),fn||(fn=e.createElement("path",{d:"M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function On(){return On=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},On.apply(null,arguments)}var Pn,En=n((function(t,n){return e.createElement("svg",On({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),jn||(jn=e.createElement("path",{d:"m7.5 12 3 3 6-6m5.5 3c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Mn.apply(null,arguments)}var Tn,Dn,Qn=n((function(t,n){return e.createElement("svg",Mn({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Pn||(Pn=e.createElement("path",{d:"M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.718.191 1.629.191h16.45c.91 0 1.365 0 1.628-.191a1 1 0 0 0 .407-.705c.034-.324-.195-.718-.65-1.506L13.383 3.892c-.454-.785-.681-1.178-.978-1.31a1 1 0 0 0-.813 0c-.296.132-.523.525-.978 1.31Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Un={name:"13tmt62",styles:"display:block;font-family:'Montserrat',sans-serif;font-size:12px;font-weight:600;line-height:16px;margin-top:4px;padding-left:24px;position:relative;white-space:pre-line;"},Kn={name:"196io73",styles:"left:0;position:absolute;top:0;width:16px;"},qn=function(e){var t=e.colorPalette;return{status:Un,statusError:d("color:",t.error,";"),statusIcon:Kn,statusSuccess:d("color:",t.success,";"),statusWarning:d("color:",t.warning,";")}},_n=function(e){var t=e.children,n=e.status,r=ze(qn),i=o((function(){var e;switch(n){case"error":e=Sn;break;case"success":e=En;break;case"warning":e=Qn}return e}),[n]),a=o((function(){var e;switch(n){case"error":e=r.statusError;break;case"success":e=r.statusSuccess;break;case"warning":e=r.statusWarning}return e}),[n]);return n&&t?g("span",{css:d([r.status,a],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZpZWxkU3RhdHVzLmpzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwQ2lCIiwiZmlsZSI6IkZpZWxkU3RhdHVzLmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VNZW1vIH0gZnJvbSAncmVhY3QnO1xyXG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcclxuaW1wb3J0IHsgdXNlV2plY09uZVRoZW1lU3R5bGVzIH0gZnJvbSBcIi4uLy4uLy4uL3RoZW1lXCI7XHJcbi8vIEB0cmFuc2Zvcm0tcGF0aCAuLi8uLi9hc3NldHMvaWNvbnMvbGluZV9hbGVydC1jaXJjbGUuc3ZnXHJcbmltcG9ydCBFcnJvckljb24gZnJvbSBcIi4uLy4uL2Fzc2V0cy9pY29ucy9saW5lX2FsZXJ0LWNpcmNsZS5zdmdcIjtcclxuLy8gQHRyYW5zZm9ybS1wYXRoIC4uLy4uL2Fzc2V0cy9pY29ucy9saW5lX2NoZWNrLWNpcmNsZS5zdmdcclxuaW1wb3J0IFN1Y2Nlc3NJY29uIGZyb20gXCIuLi8uLi9hc3NldHMvaWNvbnMvbGluZV9jaGVjay1jaXJjbGUuc3ZnXCI7XHJcbi8vIEB0cmFuc2Zvcm0tcGF0aCAuLi8uLi9hc3NldHMvaWNvbnMvbGluZV9hbGVydC10cmlhbmdsZS5zdmdcclxuaW1wb3J0IFdhcm5pbmdJY29uIGZyb20gXCIuLi8uLi9hc3NldHMvaWNvbnMvbGluZV9hbGVydC10cmlhbmdsZS5zdmdcIjtcclxuY29uc3QgRmllbGRTdGF0dXMgPSAoeyBjaGlsZHJlbiwgc3RhdHVzIH0pID0+IHtcclxuICAgIGNvbnN0IHN0eWxlcyA9IHVzZVdqZWNPbmVUaGVtZVN0eWxlcyhnZXRTdHlsZXMpO1xyXG4gICAgY29uc3QgU3RhdHVzSWNvbiA9IHVzZU1lbW8oKCkgPT4ge1xyXG4gICAgICAgIGxldCBpY29uO1xyXG4gICAgICAgIHN3aXRjaCAoc3RhdHVzKSB7XHJcbiAgICAgICAgICAgIGNhc2UgJ2Vycm9yJzpcclxuICAgICAgICAgICAgICAgIGljb24gPSBFcnJvckljb247XHJcbiAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgY2FzZSAnc3VjY2Vzcyc6XHJcbiAgICAgICAgICAgICAgICBpY29uID0gU3VjY2Vzc0ljb247XHJcbiAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgY2FzZSAnd2FybmluZyc6XHJcbiAgICAgICAgICAgICAgICBpY29uID0gV2FybmluZ0ljb247XHJcbiAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIGljb247XHJcbiAgICB9LCBbc3RhdHVzXSk7XHJcbiAgICBjb25zdCBzdGF0dXNTdHlsZSA9IHVzZU1lbW8oKCkgPT4ge1xyXG4gICAgICAgIGxldCBzdHlsZTtcclxuICAgICAgICBzd2l0Y2ggKHN0YXR1cykge1xyXG4gICAgICAgICAgICBjYXNlICdlcnJvcic6XHJcbiAgICAgICAgICAgICAgICBzdHlsZSA9IHN0eWxlcy5zdGF0dXNFcnJvcjtcclxuICAgICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgICAgICBjYXNlICdzdWNjZXNzJzpcclxuICAgICAgICAgICAgICAgIHN0eWxlID0gc3R5bGVzLnN0YXR1c1N1Y2Nlc3M7XHJcbiAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgY2FzZSAnd2FybmluZyc6XHJcbiAgICAgICAgICAgICAgICBzdHlsZSA9IHN0eWxlcy5zdGF0dXNXYXJuaW5nO1xyXG4gICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHJldHVybiBzdHlsZTtcclxuICAgIH0sIFtzdGF0dXNdKTtcclxuICAgIHJldHVybiAoc3RhdHVzICYmIGNoaWxkcmVuXHJcbiAgICAgICAgPyAoPHNwYW4gY3NzPXtbc3R5bGVzLnN0YXR1cywgc3RhdHVzU3R5bGVdfT5cclxuICAgICAgICAgIDxTdGF0dXNJY29uIGNzcz17c3R5bGVzLnN0YXR1c0ljb259Lz5cclxuICAgICAgICAgIHtjaGlsZHJlbn1cclxuICAgICAgICA8L3NwYW4+KVxyXG4gICAgICAgIDogbnVsbCk7XHJcbn07XHJcbmNvbnN0IGdldFN0eWxlcyA9ICh7IGNvbG9yUGFsZXR0ZSB9KSA9PiAoe1xyXG4gICAgc3RhdHVzOiBjc3MgYFxyXG4gICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICBmb250LWZhbWlseTogJ01vbnRzZXJyYXQnLCBzYW5zLXNlcmlmO1xyXG4gICAgZm9udC1zaXplOiAxMnB4O1xyXG4gICAgZm9udC13ZWlnaHQ6IDYwMDtcclxuICAgIGxpbmUtaGVpZ2h0OiAxNnB4O1xyXG4gICAgbWFyZ2luLXRvcDogNHB4O1xyXG4gICAgcGFkZGluZy1sZWZ0OiAyNHB4O1xyXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gICAgd2hpdGUtc3BhY2U6IHByZS1saW5lO1xyXG4gIGAsXHJcbiAgICBzdGF0dXNFcnJvcjogY3NzIGBcclxuICAgIGNvbG9yOiAke2NvbG9yUGFsZXR0ZS5lcnJvcn07XHJcbiAgYCxcclxuICAgIHN0YXR1c0ljb246IGNzcyBgXHJcbiAgICBsZWZ0OiAwO1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgdG9wOiAwO1xyXG4gICAgd2lkdGg6IDE2cHg7XHJcbiAgYCxcclxuICAgIHN0YXR1c1N1Y2Nlc3M6IGNzcyBgXHJcbiAgICBjb2xvcjogJHtjb2xvclBhbGV0dGUuc3VjY2Vzc307XHJcbiAgYCxcclxuICAgIHN0YXR1c1dhcm5pbmc6IGNzcyBgXHJcbiAgICBjb2xvcjogJHtjb2xvclBhbGV0dGUud2FybmluZ307XHJcbiAgYFxyXG59KTtcclxuZXhwb3J0IGRlZmF1bHQgRmllbGRTdGF0dXM7XHJcbiJdfQ== */")},g(i,{css:r.statusIcon}),t):null};function $n(){return $n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},$n.apply(null,arguments)}var eo,to,no=n((function(t,n){return e.createElement("svg",$n({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Tn||(Tn=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Dn||(Dn=e.createElement("path",{d:"M12 8v4m0 4h.01",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function oo(){return oo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},oo.apply(null,arguments)}var ro,io,ao=n((function(t,n){return e.createElement("svg",oo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),eo||(eo=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),to||(to=e.createElement("path",{d:"m7.5 12 3 3 6-6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function co(){return co=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},co.apply(null,arguments)}var lo,so=n((function(t,n){return e.createElement("svg",co({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),ro||(ro=e.createElement("path",{opacity:.4,d:"m2.39 18.098 8.225-14.206c.455-.785.682-1.178.979-1.31a1 1 0 0 1 .812 0c.297.132.524.525.979 1.31l8.225 14.206c.456.788.684 1.182.65 1.506a1 1 0 0 1-.406.705c-.263.191-.719.191-1.63.191H3.776c-.91 0-1.366 0-1.629-.191a1 1 0 0 1-.406-.705c-.034-.324.194-.718.65-1.506Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),io||(io=e.createElement("path",{d:"M12 9v4m0 4h.01",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),go=function(e){var n=e.gridArea,r=e.invalid,a=e.onPickSuggestion,l=e.validationMessage,s=e.validationPattern,u=e.ariaLabel,b=e.autoComplete,p=e.description,I=e.disabled,h=e.icon,C=e.id,v=e.inputMode,m=e.label,y=e.maxCharacters,A=e.name,x=e.onBlur,G=e.onChange,X=e.onFocus,Z=e.placeholder,w=e.readonly,W=e.required,J=e.status,H=void 0===J?r?"error":void 0:J,B=e.statusIcon,k=void 0===B?"error"===H?no:"success"===H?ao:"warning"===H?so:void 0:B,R=e.statusIconBehavior,V=void 0===R?"status":R,N=e.statusMessage,z=void 0===N?l:N,F=e.suggestions,L=e.value,j=void 0===L?"":L,S=e.width;!function(e){var t=e.gridArea,n=e.invalid,o=e.onPickSuggestion,r=e.validationMessage,i=e.validationPattern;st('WJEC One Input: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==t}),[t]),st('WJEC One Input: The "invalid" prop has been deprecated due to the introduction of the new "status" prop, and is equivalent to `status="error"`',(function(){return void 0!==n}),[n]),st('WJEC One Input: The "onPickSuggestion" prop has been deprecated because its functionality relies on non-standard implementation and will no longer be invoked. The previous behavior can be replicated by manually matching the `onChange()` value against the provided "suggestions" in the parent component',(function(){return void 0!==o}),[o]),st('WJEC One Input: The "validationMessage" prop has been deprecated due to the introduction of the new "statusMessage" prop, which functions similarly but is more semantically related to the associated "status" prop',(function(){return void 0!==r}),[r]),st('WJEC One Input: The "validationPattern" prop has been deprecated due to the introduction of the new "status" prop. Validation should now be performed by the parent component, and the appropriate "status" and "statusMessage" values should be explicitly provided',(function(){return void 0!==i}),[i])}({gridArea:n,invalid:r,onPickSuggestion:a,validationMessage:l,validationPattern:s}),tt("WJEC-One Input: Icon must be a valid SVGComponent",(function(){return h&&!ge(t.createElement(h))}),[h]),tt("WJEC-One Input: Status icon must be a valid SVGComponent",(function(){return k&&!ge(t.createElement(k))}),[k]);var O=f(),P=i(),E=o((function(){return C||O}),[O,C]),M=i(),T=i(),D=o((function(){return"wjecOneInputSuggestions_".concat(E)}),[E]),Q=Y(Ye(),1)[0],U=Q.brand,K=Q.colorPalette,q=ze(uo);c((function(){var e,t,n,o;null===(e=P.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("--offset-top","".concat(M.current.offsetTop,"px")),null===(n=T.current)||void 0===n||null===(o=n.style)||void 0===o||o.setProperty("--offset-top","".concat(M.current.offsetTop,"px"))})),c((function(){M.current.value=j}),[j]);var _=o((function(){switch(H){case"error":return{background:K.errorBackground,border:K.error};case"success":return{background:K.successBackground,border:K.success};case"warning":return{background:K.warningBackground,border:K.warning};default:return{background:"#FFFFFF",border:K.border}}}),[U,H]),$=o((function(){return void 0!==k&&("custom"===V||void 0!==H)?k:void 0}),[H,k,V]),ee=o((function(){return{"--background-color":_.background,"--border-color":_.border,"--margin-top":m&&"4px","--padding-left":h&&"40px","--padding-right":k&&"40px"}}),[h,m,_,k]);return g("label",{"aria-label":u,css:q.label,htmlFor:E,style:{width:S},"data-disabled":I},m,g("input",{ref:M,autoComplete:b,css:q.input,defaultValue:j,disabled:I,id:E,inputMode:v,list:F&&D,maxLength:y,name:A,onBlur:function(e){var t=e.relatedTarget;ae(x)&&x(t)},onChange:function(e){var t=e.target.value;ae(G)&&G(t)},onFocus:function(){ae(X)&&X()},placeholder:Z,readOnly:w,required:W,style:ee,type:"text"}),h&&g(h,{"aria-hidden":!0,css:q.icon,"data-disabled":I,ref:P}),$&&g($,{"aria-hidden":!0,css:d([q.icon,q.statusIcon]),"data-disabled":I,"data-status":"status"===V?H:void 0,ref:T}),g(Fn,null,p),g(_n,{status:H},z),F&&g("datalist",{id:D},F.map((function(e,t){return g("option",{key:"".concat(e,"_").concat(t),value:e})}))))},uo=function(e){var t=e.colorPalette;return{icon:d("--offset-top:0;color:",t.neutralLight,';height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:40px;&[data-disabled="true"]{color:',t.border,";}"),input:d("--background-color:#FFFFFF;--border-color:",t.border,";--margin-top:0;--padding-left:8px;--padding-right:8px;",Je,";background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",we.borderRadius,";font-family:inherit;font-size:16px;height:40px;line-height:24px;margin-top:var(--margin-top);max-width:100%;outline:none;padding:4px var(--padding-right) 4px var(--padding-left);width:100%;&:disabled{background-color:",t.neutral,";border-color:",t.border,";color:",t.border,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&:read-only:not(:disabled){background-image:none;background-color:transparent;border-color:transparent;overflow:hidden;padding-left:0;padding-right:0;text-overflow:ellipsis;white-space:nowrap;}&::placeholder{color:",t.neutralLight,";}&::-webkit-calendar-picker-indicator{opacity:0;}"),label:d(We,";",He,';display:inline-flex;flex-direction:column;position:relative;&[data-disabled="true"]{color:',t.border,";}"),statusIcon:d('left:unset;right:0;&[data-disabled="true"]{opacity:0.5;}&[data-status="error"]{color:',t.error,';}&[data-status="success"]{color:',t.success,';}&[data-status="warning"]{color:',t.warning,";}")}};function bo(){return bo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},bo.apply(null,arguments)}var po,Io,ho,Co=n((function(t,n){return e.createElement("svg",bo({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),lo||(lo=e.createElement("path",{d:"M15.25 4.758a.83.83 0 0 0-1.175 0L10 8.825 5.925 4.75A.83.83 0 1 0 4.75 5.925L8.825 10 4.75 14.075a.83.83 0 1 0 1.175 1.175L10 11.175l4.075 4.075a.83.83 0 1 0 1.175-1.175L11.175 10l4.075-4.075a.835.835 0 0 0 0-1.167Z",fill:"currentColor"})))}));function fo(){return fo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},fo.apply(null,arguments)}var vo,mo=n((function(t,n){return e.createElement("svg",fo({viewBox:"0 0 91 83",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),po||(po=e.createElement("path",{opacity:.4,d:"M50.74 68.314 8.455 56.983c-3.017-.809-4.562-4.155-3.222-6.976l21.62-45.491a5 5 0 0 1 6.662-2.37l45.998 21.86c2.824 1.343 3.737 4.918 1.903 7.45L56.081 66.418a5 5 0 0 1-5.343 1.896Z",fill:"#B0C600"})),Io||(Io=e.createElement("path",{opacity:.4,d:"M0 38.726V26.507a5 5 0 0 1 4.079-4.914l53.991-10.12a5 5 0 0 1 4.381 1.305l26.221 25.134a5 5 0 0 1 1.256 5.272l-3.187 9.044a5 5 0 0 1-3.312 3.137l-50.593 14.8a5 5 0 0 1-4.953-1.278L1.45 42.247A5 5 0 0 1 0 38.728Z",fill:"#47BAD1"})),ho||(ho=e.createElement("path",{opacity:.8,d:"M53.75 46h-1.975l-.7-.675A16.178 16.178 0 0 0 55 34.75c0-8.975-7.275-16.25-16.25-16.25S22.5 25.775 22.5 34.75 29.775 51 38.75 51c4.025 0 7.725-1.475 10.575-3.925l.675.7v1.975l12.288 12.263a.3.3 0 0 0 .424 0l3.301-3.301a.3.3 0 0 0 0-.424L53.75 46Zm-15 0A11.235 11.235 0 0 1 27.5 34.75c0-6.225 5.025-11.25 11.25-11.25S50 28.525 50 34.75 44.975 46 38.75 46Z",fill:"#fff"})))})),yo=function(e){var n=e.ariaLabel,c=e.ariaCloseLabel,l=e.ariaMultiselectable,s=e.ariaPosInSet,u=e.ariaSetSize,b=e.clearButtonBehaviour,p=void 0===b?"clear":b,I=e.expanded,h=e.filter,C=void 0===h||h,f=e.floatingList,v=e.floatingListPosition,m=void 0===v?{top:10}:v,y=e.icon,A=e.id,x=e.label,G=e.loading,X=e.maxHeight,Z=void 0===X?150:X,w=e.noMatchesMessage,W=void 0===w?"No matches were found":w,J=e.onChange,H=e.onFilter,B=e.optionKeyExtractor,k=e.optionTemplate,R=void 0===k?function(e){var n=e.option;return g(t.Fragment,null,n)}:k,N=e.options,z=e.placeholder,L=e.value,j=void 0===L?"":L,S=Y(Ye(),1)[0].colorPalette;tt("WJEC-One FilterList: You must specify a keyExtractor if the options array contains non-primitive entry types",(function(){return!de(N)&&!le(N)&&!B}),[B,N]);var O=i(),P=i(),E=i(),M=Y(r(j),2),T=M[0],D=M[1],Q=Y(r(0),2),U=Q[0],K=Q[1],q=Y(r(0),2),_=q[0],$=q[1],ee=Y(r("below"),2),ne=ee[0],oe=ee[1],re=Y(r(0),2),ie=re[0],se=re[1],ge=Y(r(F(N)),2),ue=ge[0],Ie=ge[1],he=Y(r(),2),Ce=he[0],fe=he[1],ve=Y(r([]),2),me=ve[0],ye=ve[1],Ae=Y(r(1),2),xe=Ae[0],Ge=Ae[1],Xe=o((function(){return y&&be(t.createElement(y,{color:S.fontLight}))}),[y]);a((function(){var e;(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.length===t.length&&e.every((function(e,o){return n?t[o]===e:t.includes(e)}))})(e=C&&T?N.filter((function(e,t){return He(e,t).toString().toLowerCase().includes(T.toLowerCase())})):F(N),ue)||(ae(H)&&H(e),Ie(e))}),[T,C,N]),a((function(){!Ce||N.length||T||We(),O.current.querySelector('input[type="text"]')===document.activeElement&&Je()}),[T,N]),a((function(){I!==Ce&&(I?Je():We())}),[I]),a((function(){j!==T&&D(j)}),[j]),a((function(){return Ce?(document.addEventListener("scroll",We,!0),window.addEventListener("click",Ze),window.addEventListener("resize",we)):(document.removeEventListener("scroll",We,!0),window.removeEventListener("click",Ze),window.removeEventListener("resize",we)),function(){document.removeEventListener("scroll",We,!0),window.removeEventListener("click",Ze),window.removeEventListener("resize",we)}}),[Ce]),a((function(){Ge(1),P.current&&P.current.scrollTo({top:0})}),[ue]),a((function(){ye((function(e){var t=xe>1?F(e):[],n=50*xe-50,o=n+50;return t.length=50*(xe-1),[].concat(F(t),F(ue.slice(n,o).map(Ne)))}))}),[ue,xe]);var Ze=function(e){var t=e.target;t===O.current||O.current.contains(t)||We()},we=pe((function(){return Je()}),{limit:250}),We=function(){E.current===document.activeElement&&O.current.querySelector('input[type="text"]').focus(),fe(!1),Ge(1)},Je=function(){if(N.length>0||!!T){var e=O.current.getBoundingClientRect(),t=e.top+e.height,n=window.innerHeight-t,o="below";if(!f){if(n<Z){var r=e.top;(r>Z||r>n)&&(o="above")}"below"===o?(K(Math.min(Z,window.innerHeight-t-10)),$(e.top+O.current.querySelector('input[type="text"]').offsetTop)):(K(Math.min(Z,e.top-10)),$(window.innerHeight-t-1))}oe(o),se(e.width),fe(!0)}},He=function(e,t){return ce(e)?e.key:te(e,B,t)},Be=function(e){var t="string"==typeof e?e:e.currentTarget.value;ae(J)&&J(t),D(t)},ke=pe((function(e){var t=e.target;e.nativeEvent.stopImmediatePropagation(),t.scrollTop+2*t.clientHeight>t.scrollHeight&&50*xe<ue.length&&Ge((function(e){return e+1}))}),{beforeDelay:function(e){e.nativeEvent.stopImmediatePropagation(),e.persist()},limit:250}),Re=ze(Vo),Ve=function(){return g("input",{ref:E,css:d([Re.listInput,Xe&&[Re.listInputWithIcon,{backgroundImage:Xe}]]),autoFocus:!0,onChange:Be,placeholder:z,value:T})},Ne=function(e){var t=N.indexOf(e);return g("li",{"aria-posinset":s,"aria-setsize":u,key:He(e,t)},R({option:e,index:t,filteredOptions:F(ue)}))};return g("div",{ref:O,css:Re.container,id:A,onClick:function(e){var t=e.target;Ce||t!==O.current.querySelector('input[type="text"]')||t!==document.activeElement||Je()}},g(go,{"aria-label":n,"aria-multiselectable":l,icon:y,label:x,onChange:Be,onFocus:Je,placeholder:z,value:T}),Ce&&g("div",{"aria-expanded":!0,css:d([Re.expandedContainer,"above"===ne?[Re.expandedContainerAbove,{bottom:_}]:{top:_},{width:ie},f&&[Re.expandedContainerFloating,V(V({},m),{},{maxHeight:"calc(100% - ".concat(2*m.top,"px)")})]])},"below"===ne&&Ve(),g(Co,{"aria-label":c,css:d([Re.clearIcon,"above"===ne&&Re.clearIconAbove]),onClick:function(){"clear"!==p&&"clearAndClose"!==p||D(""),"clear"===p&&E.current.focus(),"clearAndClose"!==p&&"close"!==p||We()}}),g("div",{css:d([Re.listContainer,"above"===ne&&Re.listContainerAbove]),onScroll:ke},g("ul",{ref:P,css:d([Re.list,f&&Re.listFloating,!f&&{maxHeight:U}])},ue.length?me:g("li",{css:Re.noResults},g(mo,{css:Re.noResultsIcon,"aria-hidden":!0}),W)),G&&g("div",{css:d([Re.loading,"above"===ne&&Re.loadingAbove,!f&&{maxHeight:U}])},g(ot,null))),"above"===ne&&Ve()))},Ao={name:"10eevtr",styles:"bottom:0;top:auto;"},xo={name:"oxdg22",styles:"&::before{bottom:30px;top:auto;}"},Go={name:"j7qwjs",styles:"display:flex;flex-direction:column;"},Xo={name:"yp8oic",styles:"display:flex;margin:2px 0 1px;min-height:0px;position:relative;"},Zo={name:"p49ge0",styles:"margin:1px 0 2px;"},wo={name:"11cgomd",styles:"max-height:initial;"},Wo={name:"1ireg3o",styles:"background:center left 6px / 20px no-repeat;border:none;font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;margin-top:-1px;outline:none;padding:5px 35px 5px 10px;width:100%;"},Jo={name:"267yq8",styles:"padding-left:35px;"},Ho={name:"1fk9trn",styles:"align-items:center;background-color:rgba(255,255,255,0.75);bottom:0;display:flex;height:100%;justify-content:center;left:0;position:absolute;right:0;"},Bo={name:"9cuppe",styles:"bottom:auto;top:0;"},ko={name:"m2y6eh",styles:"align-items:center;display:flex;flex-direction:column;justify-content:center;padding:10px 0;"},Ro={name:"1bkzip4",styles:"width:91px;"},Vo=function(e){var t=e.colorPalette;return{clearIcon:d("color:",t.fontLight,";cursor:pointer;height:30px;padding:5px;position:absolute;right:0;top:0;&:hover{color:",t.font,";}"),clearIconAbove:Ao,container:d(We,";display:inline-block;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;position:relative;& > label{width:100%;}"),expandedContainer:d("background-color:#fff;border:1px solid ",t.border,";border-radius:",we.borderRadius,";box-shadow:",we.dropShadow,";position:fixed;z-index:1;&::before{border-bottom:1px solid ",t.border,";content:'';left:8px;position:absolute;right:8px;top:30px;}"),expandedContainerAbove:xo,expandedContainerFloating:Go,list:d(we.scrollbar,";list-style:none;margin:0;overflow:auto;padding:8px 10px 9px;width:100%;"),listContainer:Xo,listContainerAbove:Zo,listFloating:wo,listInput:Wo,listInputWithIcon:Jo,loading:Ho,loadingAbove:Bo,noResults:ko,noResultsIcon:Ro}},No=function(e){var t=e.ariaDescription,n=e.ariaLabel,o=e.children,r=e.clearButton,i=void 0===r?"Clear":r,a=e.clearId,c=e.id,l=e.onClear,s=e.onSubmit,u=e.otherActions,b=e.submitButton,p=void 0===b?"Submit":b,I=e.submitId,h=e.width,C=Wt(t);return g("form",B({"aria-label":n,css:d({width:h}),id:c,onReset:function(e){e.preventDefault(),ae(l)&&l()},onSubmit:function(e){e.preventDefault(),ae(s)&&s()}},C),o,g("section",{css:Yo.controls},i&&g(dt,{buttonType:"reset",id:a,label:i}),g("div",{css:Yo.submit},p&&g(At,{buttonType:"submit",id:I,label:p})),u&&g(Zn,{options:u})))},Yo={controls:{name:"7zpthm",styles:"display:flex;justify-content:space-between;margin-top:30px;"},submit:{name:"5prljc",styles:"margin-left:auto;&:not(:last-of-type){margin-right:5px;}"}};function zo(){return zo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},zo.apply(null,arguments)}var Fo,Lo,jo=n((function(t,n){return e.createElement("svg",zo({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),vo||(vo=e.createElement("path",{d:"m7.5 13.475-2.892-2.892a.83.83 0 1 0-1.175 1.175l3.484 3.484a.83.83 0 0 0 1.175 0l8.816-8.817a.83.83 0 1 0-1.175-1.175L7.5 13.475Z",fill:"currentColor"})))})),So=function(e){var t=e.ariaLabel,n=e.checked,r=void 0!==n&&n,a=e.children,l=e.description,s=e.disabled,d=e.gridArea,u=e.highlighted,b=e.id,p=e.label,I=e.labelOverflow,h=void 0===I?"wrap":I,C=e.loading,v=e.onChange,m=e.readonly,y=e.status,A=e.statusMessage;st('WJEC One CheckBox: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==d}),[d]),st("WJEC One CheckBox: This prop has been deprecated because highlighting an checkbox component with a border color does not fit with the latest WJEC One design. Please use an alternative approach or CSS override",(function(){return void 0!==u}),[u]),st('WJEC One Select: The "readonly" prop has been deprecated because the underlying HTML element does not support a "readonly" attribute, and therefore behavior cannot be guaranteed. An alternative such as `<Input readonly value="..." />` can be used',(function(){return void 0!==m}),[m]);var x=f(),G=o((function(){return b||x}),[x,b]),X=Y(Ye(),1)[0],Z=X.brand,w=X.colorPalette,W=ze(Eo),J=i();c((function(){J.current.checked=r}),[r]);var H=o((function(){switch(y){case"error":return{background:w.errorBackground,border:w.error};case"success":return{background:w.successBackground,border:w.success};case"warning":return{background:w.warningBackground,border:w.warning};default:return{}}}),[Z,y]),B=o((function(){return{"--background-color":H.background,"--border-color":H.border,"--margin-right":p&&"8px"}}),[p,H]);return g("div",{css:W.container},g("input",{id:G,type:"checkbox",css:W.checkbox,defaultChecked:r,onChange:function(e){var t=e.target.checked;ae(v)&&v(t)},disabled:s,ref:J}),g("label",{"aria-label":t,css:W.label,htmlFor:G,onClick:function(e){return e.stopPropagation()},style:B},C&&g("div",{css:W.loadingIcon},g(ot,{color:w.primary})),g("span",{css:W.labelContent,"data-overflow":h},p||a)),g(Fn,null,l),g(_n,{status:y},A))},Oo={name:"7n37re",styles:"display:inline-flex;flex-direction:column;min-width:0;"},Po={name:"kynfrz",styles:'display:inline-block;font-family:inherit;&[data-overflow="ellipsis"]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}'},Eo=function(e){var t=e.colorPalette;return{checkbox:d(we.visiblyHidden," &:checked + label::before{background-image:",be(g(jo,{color:t.primary})),";background-size:cover;}&:checked:disabled + label::before{background-image:",be(g(jo,{color:t.border})),";}&:disabled + label{color:",t.border,";cursor:not-allowed;&::before{background-color:",t.neutral,";border-color:",t.border,";}}&:focus + label::before{border-color:",t.primary,";}"),container:Oo,label:d("--background-color:#FFFFFF;--border-color:",t.border,";--margin-right:0;--text-overflow:'wrap';",We,";align-items:center;color:",t.font,";cursor:pointer;display:inline-flex;font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;line-height:16px;position:relative;&:active::before,&:focus-within::before{border-color:",t.primary,"}&::before{background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",we.borderRadius,";content:'';display:inline-block;flex-shrink:0;height:40px;margin-right:var(--margin-right);width:40px;}"),labelContent:Po,loadingIcon:d("align-items:center;background-color:var(--background-color);border-radius:",we.borderRadius,";display:flex;height:30px;justify-content:center;left:1px;position:absolute;top:1px;width:30px;")}};function Mo(){return Mo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Mo.apply(null,arguments)}var To,Do,Qo=n((function(t,n){return e.createElement("svg",Mo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Fo||(Fo=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Lo||(Lo=e.createElement("path",{d:"M12 6v6l4 2",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function Uo(){return Uo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Uo.apply(null,arguments)}var Ko,qo=n((function(t,n){return e.createElement("svg",Uo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),To||(To=e.createElement("path",{opacity:.4,d:"M21 10H3",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Do||(Do=e.createElement("path",{d:"M16 2v4M8 2v4m-.2 16h8.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 19.72 21 18.88 21 17.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C18.72 4 17.88 4 16.2 4H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 6.28 3 7.12 3 8.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 22 6.12 22 7.8 22Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),_o=function(e){var t=e.date,n=e.disabled,l=e.id,s=e.label,u=e.maxDate,b=e.maxTime,p=void 0===b?"":b,I=e.minDate,h=e.minTime,C=void 0===h?"":h,f=e.onChangeDate,v=e.onChangeTime,m=e.placeholder,y=e.readonly,A=e.required,x=e.time,G=e.type,X=void 0===G?"dateTime":G,Z=e.validationMessage,w=e.width,W=Y(r(""),2),J=W[0],H=W[1],B=ze($o),k=i(),R=i();a((function(){H("dateTime"===X?t?ee({date:t,format:"yyyy-MM-ddT".concat(x||"HH:mm")}):"":"date"===X?t?$({date:t,format:"yyyy-MM-dd"}):"":x||"")}),[t,x,X]),c((function(){var e,t;null===(e=k.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("--offset-top","".concat(R.current.offsetTop,"px"))}));var V=o((function(){return"time"===X?Qo:qo}),[X]),N=o((function(){return"dateTime"===X?"datetime-local":X}),[X]),z=o((function(){return!(!u||!I)&&("00:00:00"===u.toTimeString().substring(0,8)&&"00:00:00"===I.toTimeString().substring(0,8))}),[u,I]),F=o((function(){if("date"===X||"dateTime"===X){var e=u||("dateTime"===X&&p?new Date:void 0),t="dateTime"===X?"yyyy-MM-ddT".concat(p||(z?"23:59":"HH:mm")):"yyyy-MM-dd";return e?ee({date:e,format:t}):p}return p}),[u,p,X]),L=o((function(){if("date"===X||"dateTime"===X){var e=I||("dateTime"===X&&C?new Date:void 0),t="dateTime"===X?"yyyy-MM-ddT".concat(C||(z?"00:00":"HH:mm")):"yyyy-MM-dd";return e?ee({date:e,format:t}):C}return C}),[I,C,X]);return g("label",{css:d([B.label,w&&{width:w}])},s,g("input",{css:B.input,disabled:n,id:l,max:F,min:L,onChange:function(e){var t=e.target,n=t.value,o=t.valueAsNumber,r=new Date(o),i=n.substring(n.indexOf("T")+1);Z&&t.setCustomValidity(""),H(n),Z&&!t.checkValidity()&&(t.setCustomValidity(Z),t.reportValidity()),"date"!==X&&"dateTime"!==X||!ae(f)||f(r),"dateTime"!==X&&"time"!==X||!ae(v)||v(i)},placeholder:m,readOnly:y,ref:R,required:A,type:N,value:J}),!n&&g(V,{"aria-hidden":!0,css:B.icon,"data-disabled":n,ref:k}))},$o=function(e){var t=e.colorPalette;return{icon:d("--offset-top:0;color:",t.neutralLight,";cursor:pointer;height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:40px;&:hover{color:",t.neutralDark,';}&[data-disabled="true"]{color:',t.border,";}"),input:d("background-color:#fff;border:1px solid ",t.border,";border-radius:",we.borderRadius,";font-family:'Montserrat',sans-serif;font-size:16px;height:40px;max-width:100%;outline:none;padding:4px 8px 4px 40px;position:relative;transition:border-color 0.05s linear,padding 0.05s linear;width:100%;&:disabled{background-color:",t.neutral,";color:",t.fontLight,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&:invalid{border-color:",t.error,";}&:read-only{background-color:transparent;background-image:none;border-color:transparent;overflow:hidden;padding-left:0;padding-right:0;pointer-events:none;text-overflow:ellipsis;white-space:nowrap;}&::placeholder{color:",t.fontLight,";}&::-webkit-calendar-picker-indicator{background-color:pink;cursor:pointer;height:40px;left:0;opacity:0;padding:0;position:absolute;top:0;width:40px;}"),label:d(We,";",He,";display:inline-flex;flex-direction:column;position:relative;width:100%;")}},er=function(e){var t=e.ariaLabel,n=e.breadcrumb,o=e.children,r=e.href,i=e.id,a=e.target,c=ze(tr),l=V({},"newTab"===a?{target:"_blank",rel:"noopener noreferrer"}:{});return g("a",B({"aria-label":t,href:r,css:d([c.link,n&&c.withBreadcrumb]),id:i},l),o||r)},tr=function(e){var t=e.colorPalette;return{link:d("color:",t.primaryDark,";font-family:'Montserrat',sans-serif;font-size:16px;font-weight:500;line-height:24px;"),withBreadcrumb:d("color:",t.fontLight,";margin-right:40px;text-decoration:none;position:relative;&:not(:last-of-type)::after{background-image:",be(g(Ge,{color:t.fontLight})),";background-repeat:no-repeat;background-size:contain;bottom:5px;content:'';height:20px;margin-bottom:-6px;margin-left:10px;position:absolute;right:-30px;width:20px;}&:hover{border-bottom:1px solid ",t.fontLight,";}")}},nr=["gridArea","id","label","readonly","value"],or=function(e){var t=e.gridArea,n=e.id,o=e.label,r=e.readonly,i=e.value,a=N(e,nr);st('WJEC One Email: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==t}),[t]);var c=ze(ir);return r?g("label",{css:d([c.label,t&&{gridArea:t}]),id:n},g("span",{css:c.labelText},o),g(er,{href:"mailto:".concat(i)},i)):g(go,B({gridArea:t,label:o,value:i},a))},rr={name:"r7q7qr",styles:"margin-bottom:5px;"},ir=function(e){var t=e.colorPalette;return{label:d(We,";color:",t.font,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;"),labelText:rr}};function ar(){return ar=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ar.apply(null,arguments)}var cr,lr=n((function(t,n){return e.createElement("svg",ar({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Ko||(Ko=e.createElement("path",{d:"M12 5v14m-7-7h14",stroke:"#FAFCFC",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",opacity:.6})))}));function sr(){return sr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},sr.apply(null,arguments)}var dr,gr=n((function(t,n){return e.createElement("svg",sr({viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),cr||(cr=e.createElement("path",{d:"M5.333 21.656a6 6 0 0 1 2.773-10.964 8.002 8.002 0 0 1 15.788 0 6 6 0 0 1 2.773 10.964m-16-.323L16 16m0 0 5.333 5.333M16 16v12",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),ur=function(e){var t=e.files,n=e.height,o=e.placeholderTitle,r=e.width,a=e.ariaLabel,c=e.browseLabel,l=void 0===c?"Browse":c,s=e.description,d=e.displaySize,u=void 0===d?"medium":d,b=e.id,p=e.label,I=void 0===p?o:p,h=e.max,C=e.maxFileSize,v=e.multiple,m=e.onError,y=e.onSelect,A=e.placeholderDescription,x=void 0===A?"large"===u?"Drag & drop ".concat(v?"files":"a file"):"Drag & drop ".concat(v?"files":"a file"," or click to upload"):A,G=e.status,X=e.statusMessage,Z=e.validExtensions,w=e.validTypes;st('WJEC One FileInput: The "files" prop has been deprecated because this component no longer persists/displays a list of selected files',(function(){return void 0!==t}),[t]),st('WJEC One FileInput: The "height" prop has been deprecated because the component now has preset sizes as determined by the "displaySize" prop',(function(){return void 0!==n}),[n]),st('WJEC One FileInput: The "placeholderTitle" prop has been deprecated in favor of the new "label" prop',(function(){return void 0!==o}),[o]),st('WJEC One FileInput: The "width" prop has been deprecated because the component now has preset sizes as determined by the "displaySize" prop',(function(){return void 0!==r}),[r]);var W=i(),J=i(),H=f(b),B=function(e){return v?void 0===h||e<=h:e<=1},k=function(e){var t=e.length,n=[],o=[],r=[],i=[];B(t)?(e.forEach((function(e){var t=function(e){var t=e.name,n=t.substring(t.lastIndexOf("."));return void 0===Z||Z.includes(n)}(e),a=function(e){var t=e.size;return void 0===C||t<=C}(e),c=function(e){var t=e.type;return void 0===w||w.includes(t)}(e);t&&a&&c&&i.push(e),t||n.push(e),a||o.push(e),c||r.push(e)})),i.length>0&&ae(y)&&y(i)):ae(m)&&m([{code:"MAX_FILES_EXCEEDED",details:{maxCount:h||1,selectedCount:t}}]),(n.length||o.length||r.length)&&ae(m)&&m([n.length&&{code:"INVALID_FILE_EXTENSION",details:{files:n}},o.length&&{code:"INVALID_FILE_SIZE",details:{files:o}},r.length&&{code:"INVALID_FILE_TYPE",details:{files:r}}].filter((function(e){return e})))},R=ze(pr);return g("label",{css:R.label,htmlFor:H},I,g("div",{css:R.container,onDragEnter:function(e){var t=e.dataTransfer.items.length,n=B(t);ue(e.nativeEvent),W.current.setAttribute("data-drag-state",n?"valid":"invalid")},onDragLeave:function(e){ue(e.nativeEvent),W.current.removeAttribute("data-drag-state")},onDragOver:function(e){ue(e.nativeEvent)},onDrop:function(e){ue(e);var t=Array.from(e.dataTransfer.files);k(t),W.current.removeAttribute("data-drag-state")},ref:W,"data-display-size":u,"data-status":G},g("input",{"aria-label":a,css:we.visiblyHidden,id:H,multiple:v,onChange:function(e){var t=Array.from(e.currentTarget.files);k(t)},ref:J,type:"file",value:""}),g(gr,{css:R.uploadIcon,"aria-hidden":!0}),x&&g("p",{css:R.description},x),"large"===u&&g(At,{icon:lr,label:l,onPress:function(){J.current.click()}})),g(Fn,null,s),g(_n,{status:G},X))},br={name:"o1srjj",styles:"display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:14px;gap:4px;line-height:16px;& > span{margin-top:0;}"},pr=function(e){var t=e.colorPalette;return{container:d("--icon-size:32px;",We,";align-items:center;border:2px dashed ",t.border,";border-radius:",we.borderRadius,";cursor:pointer;display:flex;flex-direction:column;font-size:16px;font-weight:600;gap:8px;justify-content:center;line-height:24px;max-height:var(--max-height);max-width:var(--max-width);padding:16px;position:relative;transition:border-color 0.1s linear;&:focus-within{outline:2px solid ",t.primary,";outline-offset:-2px;}&:hover{background-color:",t.neutral,";border-color:",t.secondary,';}&[data-display-size="small"]{--icon-size:24px;display:inline-flex;flex-direction:row;font-weight:400;height:40px;padding:8px;}&[data-status="error"]{background-color:',t.errorBackground,";border-color:",t.error,';}&[data-status="success"]{background-color:',t.successBackground,";border-color:",t.success,';}&[data-status="warning"]{background-color:',t.warningBackground,";border-color:",t.warning,';}&[data-drag-state="valid"]{border-color:',t.secondary,';}&[data-drag-state="invalid"]{border-color:',t.error,";}"),description:d("color:",t.neutralLight,";margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"),label:br,uploadIcon:d("color:",t.neutralLight,";flex-shrink:0;width:var(--icon-size);")}};function Ir(){return Ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ir.apply(null,arguments)}var hr,Cr,fr=n((function(t,n){return e.createElement("svg",Ir({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),dr||(dr=e.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function vr(){return vr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},vr.apply(null,arguments)}var mr,yr,Ar,xr=n((function(t,n){return e.createElement("svg",vr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),hr||(hr=e.createElement("path",{opacity:.12,d:"M9 12a3 3 0 0 0 5.121 2.121L9.88 9.88A2.99 2.99 0 0 0 9 12Z",fill:"currentColor"})),Cr||(Cr=e.createElement("path",{d:"M10.742 5.092C11.15 5.032 11.569 5 12 5c5.105 0 8.455 4.505 9.58 6.287.137.215.205.323.243.49.028.125.028.322 0 .447-.038.166-.107.274-.244.492-.3.474-.757 1.141-1.363 1.865M6.724 6.715c-2.162 1.467-3.63 3.504-4.303 4.57-.137.217-.206.325-.244.492a1.173 1.173 0 0 0 0 .446c.038.167.107.274.243.49C3.545 14.495 6.895 19 12 19c2.058 0 3.832-.732 5.288-1.723M3 3l18 18M9.879 9.879a3 3 0 1 0 4.243 4.243",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function Gr(){return Gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Gr.apply(null,arguments)}var Xr,Zr=n((function(t,n){return e.createElement("svg",Gr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),mr||(mr=e.createElement("path",{opacity:.12,d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",fill:"currentColor"})),yr||(yr=e.createElement("path",{d:"M2.42 12.713c-.136-.215-.205-.323-.243-.49a1.173 1.173 0 0 1 0-.446c.038-.167.107-.274.243-.49C3.545 9.505 6.895 5 12 5s8.455 4.505 9.58 6.287c.137.215.205.323.243.49.028.125.028.322 0 .446-.038.167-.107.274-.243.49C20.455 14.495 17.105 19 12 19s-8.455-4.505-9.58-6.287Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Ar||(Ar=e.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),wr=function(e){var t=e.gridArea,n=e.highlightColor,r=e.highlighted,a=e.show,l=e.ariaLabel,s=e.autoComplete,d=void 0===s?"current-password":s,u=e.description,b=e.disabled,p=e.id,I=e.label,h=e.name,C=e.onChange,m=e.onToggleRevealPassword,y=e.placeholder,A=e.revealPassword,x=void 0===A?void 0!==a&&a:A,G=e.showIcon,X=void 0===G||G,Z=e.status,w=e.statusMessage,W=e.value,J=void 0===W?"":W;!function(e){var t=e.gridArea,n=e.highlighted,o=e.highlightColor,r=e.show;st('WJEC One Password: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==t}),[t]),st('WJEC One Password: The "highlighted" prop has been deprecated because highlighting an input component with a border color does not fit with the latest WJEC One design. Please use an alternative approach or CSS override',(function(){return void 0!==n}),[n]),st('WJEC One Password: The "highlightColor" prop has been deprecated due to its association with the deprecated `highlighted` prop',(function(){return void 0!==o}),[o]),st('WJEC One Password: The "show" prop has been replaced with the new "revealPassword" prop, which has identical functionality but more clearly represents its intent',(function(){return void 0!==r}),[r])}({gridArea:t,highlightColor:n,highlighted:r,show:a});var H=i(),k=i(),R=i(),V=Y(Ye(),1)[0],N=V.brand,z=V.colorPalette,F=f(),L=o((function(){return p||F}),[F,p]);c((function(){var e=!b&&x;R.current.setAttribute("aria-pressed",e.toString()),k.current.setAttribute("type",e?"text":"password")}),[b,x]),c((function(){k.current.value=J}),[J]),c((function(){var e,t;null===(e=H.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("--offset-top","".concat(k.current.offsetTop,"px")),R.current.style.setProperty("--offset-top","".concat(k.current.offsetTop,"px"))}));var j=o((function(){switch(Z){case"error":return{background:z.errorBackground,border:z.error};case"success":return{background:z.successBackground,border:z.success};case"warning":return{background:z.warningBackground,border:z.warning};default:return{}}}),[N,Z]),S=ze(Jr),O=o((function(){return{"--background-color":j.background,"--border-color":j.border,"--margin-top":I&&"4px","--padding-left":!X&&"8px"}}),[I,X,j]),P=v({"aria-label":l,"aria-pressed":!b&&x,isDisabled:b,onPress:function(){var e=!b&&"true"!==R.current.getAttribute("aria-pressed");R.current.setAttribute("aria-pressed",e.toString()),k.current.setAttribute("type",e?"text":"password"),ae(m)&&m(e)},type:"button"},R).buttonProps;return g("label",{"aria-label":l,css:S.label,htmlFor:L,"data-disabled":b},I,g("input",{ref:k,autoComplete:d,css:S.input,defaultValue:J,disabled:b,id:L,name:h,onChange:function(e){var t=e.target.value;ae(C)&&C(t)},placeholder:y,style:O,type:!b&&x?"text":"password"}),X&&g(fr,{"aria-hidden":!0,css:S.icon,"data-disabled":b,ref:H}),g("button",B({},P,{css:S.revealPassword,name:"Reveal password",ref:R})),g(Fn,null,u),g(_n,{status:Z},w))},Wr={name:"1ynvfur",styles:"font-size:12px;margin-top:4px;"},Jr=function(e){var t=e.colorPalette;return{description:Wr,icon:d("--offset-top:0;color:",t.neutralLight,';height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:40px;&[data-disabled="true"]{color:',t.border,";}"),input:d("--background-color:#FFFFFF;--border-color:",t.border,";--margin-top:0;--padding-left:40px;",Je,";background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",we.borderRadius,";font-family:inherit;font-size:16px;height:40px;line-height:24px;margin-top:var(--margin-top);max-width:100%;outline:none;padding:4px 40px 4px var(--padding-left);width:100%;&:disabled{background-color:",t.neutral,";border-color:",t.border,";color:",t.border,";cursor:not-allowed;+ button{background-image:",be(g(xr,{color:t.border})),';&[aria-pressed="true"]{background-image:',be(g(Zr,{color:t.border})),";}}}&:focus{border-color:",t.primary,";}&::placeholder{color:",t.neutralLight,";}"),label:d(We,";",He,';display:inline-flex;flex-direction:column;position:relative;&[data-disabled="true"]{color:',t.border,";}"),revealPassword:d("--offset-top:0;background:transparent ",be(g(xr,{color:t.neutralLight}))," center / 24px no-repeat;border:none;color:",t.neutralLight,";cursor:pointer;position:absolute;height:40px;padding:4px 8px;right:0;top:var(--offset-top);width:40px;&:disabled{background-image:",be(g(xr,{color:t.border})),";pointer-events:none;}&:focus{outline-color:",t.primary,';outline-width:1px;}&[aria-pressed="true"]{background-image:',be(g(Zr,{color:t.primary})),";color:",t.primary,";}")}},Hr=function(e){var n=e.ariaLabel,r=e.description,a=e.disabled,l=e.gridArea,s=e.keyExtractor,d=e.highlightedOption,u=e.id,b=e.label,p=e.labelExtractor,I=e.name,h=e.onSelect,C=e.options,v=e.orientation,m=void 0===v?"horizontal":v,y=e.selectedOption,A=e.status,x=e.statusMessage;st('WJEC One RadioGroup: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==l}),[l]),tt("WJEC-One RadioGroup: You must specify a keyExtractor if the options array contains non-primitive entry type",(function(){return!de(C)&&!le(C)&&!s}),[s]),st("WJEC One CheckBox: This prop has been deprecated because highlighting options within a RadioGroup component with a border color does not fit with the latest WJEC One design. Please use an alternative approach or CSS override",(function(){return void 0!==d}),[d]);var G=f(u),X=i();c((function(){if(y){var e=X.current.querySelectorAll('input[type="radio"]'),t=C.indexOf(y),n=H(y,t),o=Array.from(e).find((function(e){return e.value===n}));o&&(o.checked=!0)}}),[C,y]);var Z=Y(Ye(),1)[0],w=Z.brand,W=Z.colorPalette,J=o((function(){switch(A){case"error":return{background:W.errorBackground,border:W.error};case"success":return{background:W.successBackground,border:W.success};case"warning":return{background:W.warningBackground,border:W.warning};default:return{}}}),[w,A]),H=function(e,t){return ce(e)?e.key:te(e,s,t)},B=function(e){return function(){ae(h)&&h(e)}},k=ze(kr),R=o((function(){return{"--background-color":J.background,"--border-color":J.border,"--flex-direction":"vertical"===m&&"column","--flex-gap":"vertical"===m&&"16px 8px","--margin-top":b&&"4px"}}),[b,m,J]);return g("label",{css:k.label,id:G,"data-disabled":a||void 0},b,g("fieldset",{css:k.container,ref:X,style:R},C.map((function(e,o){var r=H(e,o),i=o===C.indexOf(y);return g(t.Fragment,{key:r},g("input",{css:k.radioButton,defaultChecked:i,disabled:a,id:"".concat(G,"_").concat(o),name:I||G,onChange:B(e),type:"radio",value:r}),g("label",{"aria-label":n,css:k.radioButtonContainer,htmlFor:"".concat(G,"_").concat(o)},ce(e)?e.label:ne(e,p,o)))}))),g(Fn,null,r),g(_n,{status:A},x))},Br={name:"14uy2ws",styles:"align-items:center;cursor:pointer;display:flex;&::before{background-clip:content-box;border:1px solid var(--border-color);border-radius:50%;box-shadow:0 0 0 var(--shadow-size) var(--shadow-color) inset;content:'';display:inline-block;height:40px;margin-right:8px;padding:8px;width:40px;}"},kr=function(e){var t=e.colorPalette;return{container:d("--background-color:#FFFFFF;--border-color:",t.border,";--flex-direction:row;--flex-gap:8px 16px;--margin-top:0;--shadow-color:var(--background-color);--shadow-size:16px;",We,";align-items:flex-start;border:none;display:flex;flex-direction:var(--flex-direction);flex-wrap:wrap;gap:var(--flex-gap);margin:var(--margin-top) 0 0;padding:0;"),label:d(He,';&[data-disabled="true"]{color:',t.border,";}"),radioButton:d(we.visiblyHidden," position:absolute;&:checked + label::before{--shadow-size:8px;background-color:",t.primary,";padding:6px;}&:disabled + label{--border-color:",t.border,";--shadow-color:",t.neutral,";color:",t.border,";cursor:not-allowed;&::before{background-color:",t.border,";}}&:focus + label::before{--border-color:",t.primary,";}"),radioButtonContainer:Br}};function Rr(){return Rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Rr.apply(null,arguments)}var Vr,Nr=n((function(t,n){return e.createElement("svg",Rr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Xr||(Xr=e.createElement("path",{d:"m6 9 6 6 6-6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Yr={name:"1ynvfur",styles:"font-size:12px;margin-top:4px;"},zr={name:"801txx",styles:"font-size:12px;font-weight:600;margin-top:4px;padding-left:24px;position:relative;"},Fr={name:"ezpkst",styles:"left:0;position:absolute;top:50%;transform:translateY(-50%);width:16px;"},Lr=function(e){var t=e.colorPalette;return{description:Yr,label:d(We,";",He,';display:flex;flex-direction:column;position:relative;&[data-disabled="true"]{color:',t.border,";}"),select:d("--background-color:#FFFFFF;--border-color:",t.border,";--margin-top:0;appearance:none;background:var(--background-color) ",be(g(Nr,{color:t.neutralLight}))," calc(100% - 8px) center / 24px no-repeat;border:1px solid var(--border-color);border-radius:",we.borderRadius,";color:",t.neutralDark,";font-family:'Montserrat',sans-serif;font-size:16px;height:40px;line-height:24px;margin-top:var(--margin-top);outline:none;padding:4px 40px 4px 8px;width:100%;&:disabled{background-color:",t.neutral,";background-image:",be(g(Nr,{color:t.border})),";border-color:",t.border,";color:",t.border,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&::placeholder{color:",t.neutralLight,";}"),status:zr,statusError:d("color:",t.error,";"),statusIcon:Fr,statusSuccess:d("color:",t.success,";"),statusWarning:d("color:",t.warning,";")}},jr=function(e,t,n){var o;return ce(e)?e.key:null===(o=te(e,t,function(e,t){return t.findIndex((function(t){return t===e||Sr(t)&&t.options.includes(e)}))}(e,n)))||void 0===o?void 0:o.toString()},Sr=function(e){return Ie(e)&&Object.hasOwn(e,"options")&&Object.hasOwn(e,"label")&&"string"==typeof e.label},Or=function(e){var t=e.gridArea,n=e.highlightColor,r=e.highlighted,a=e.optionComparator,l=e.readonly,s=e.sortOptions,d=e.blankOption,u=e.description,b=e.disabled,p=e.id,I=e.label,h=e.name,C=e.onSelect,v=e.optionKeyExtractor,m=e.optionLabelExtractor,y=e.options,A=e.placeholder,x=e.selectedOption,G=e.status,X=e.statusMessage;!function(e){var t=e.gridArea,n=e.highlightColor,o=e.highlighted,r=e.optionComparator,i=e.readonly,a=e.sortOptions;st('WJEC One Select: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==t}),[t]),st('WJEC One Select: The "highlighted" prop has been deprecated because highlighting an input component with a border color does not fit with the latest WJEC One design. Please use an alternative approach or CSS override',(function(){return void 0!==o}),[o]),st('WJEC One Select: The "highlightColor" prop has been deprecated due to its association with the deprecated `highlighted` prop',(function(){return void 0!==n}),[n]),st('WJEC One Select: The "optionComparator" prop has been deprecated because the component no longer provides sorting functionality. Sorting should be performed in the parent component, and the sorted list provided via the "options" prop',(function(){return void 0!==r}),[r]),st('WJEC One Select: The "readonly" prop has been deprecated because the underlying HTML element does not support a "readonly" attribute, and therefore behavior cannot be guaranteed. An alternative such as `<Input readonly value="..." />` can be used',(function(){return void 0!==i}),[i]),st('WJEC One Select: The "sortOptions" prop has been deprecated because the component no longer provides sorting functionality. Sorting should be performed in the parent component, and the sorted list provided via the "options" prop',(function(){return void 0!==a}),[a])}({gridArea:t,highlightColor:n,highlighted:r,optionComparator:a,readonly:l,sortOptions:s}),st("WJEC One Select: You have provided a list of options that contains duplicate primitive values. This is not recommended and may lead to unexpected behavior, but if you really want to do this then you need to supply a keyExtractor so that it is possible to differentiate between the duplicate options (doing so will also suppress this warning)",(function(){var e=new Set;return y.some((function(t){return!(!Sr(t)||!de(t.options)||(n=t.options,new Set(n).size===n.length))||(!!e.has(t)||(e.add(t),!1));var n}))&&!v}),[v,y]),tt("WJEC One Select: You must specify a keyExtractor if the options array contains non-primitive entry types",(function(){return y.some((function(e){if(Sr(e)){var t=e.options,n=de(t),o=le(t);return!(n||o||v)}return!(se(e)||ce(e)||v)}))}),[v,y]);var Z=Y(Ye(),1)[0],w=Z.brand,W=Z.colorPalette,J=i(),H=f(),B=o((function(){return p||H}),[H,p]),k=o((function(){return x?jr(x,v,y):""}),[v,y,x]);c((function(){J.current.value=k}),[k]);var R=o((function(){switch(G){case"error":return{background:W.errorBackground,border:W.error};case"success":return{background:W.successBackground,border:W.success};case"warning":return{background:W.warningBackground,border:W.warning};default:return{}}}),[w,G]),V=function(e,t){var n=jr(e,v,y);return g("option",{key:n,value:n},ce(e)?e.label:ne(e,m,t))},N=ze(Lr),z=o((function(){return{"--background-color":R.background,"--border-color":R.border,"--margin-top":I&&"4px"}}),[I,R]);return g("label",{css:N.label,htmlFor:B,"data-disabled":b},I,g("select",{ref:J,css:N.select,defaultValue:k,disabled:b,id:B,name:h,onChange:function(e){var t=function(e,t,n){var o;return n.find((function(r){if(Sr(r))o=r.options.find((function(o){return jr(o,t,n)===e}));else{var i=jr(r,t,n);o=i===e?r:void 0}return void 0!==o})),o}(e.target.value,v,y);ae(C)&&C(t)},style:z},A&&g("option",{disabled:!0,hidden:!0,value:""},A),d&&g("option",{value:""}),y.map((function(e,t){return Sr(e)?g("optgroup",{key:e.label,label:e.label},e.options.map((function(e){return V(e,t)}))):V(e,t)}))),g(Fn,null,u),g(_n,{status:G},X))},Pr=function(e){var t=e.ariaDescription,n=e.ariaLabel,i=e.disabled,c=e.gridArea,l=e.height,s=void 0===l?"auto":l,u=e.id,b=e.label,p=e.maxCharacters,I=e.maxHeight,h=void 0===I?"100%":I,C=e.maxWidth,f=void 0===C?"100%":C,v=e.onChange,m=e.placeholder,y=e.readonly,A=e.resizable,x=void 0!==A&&A,G=e.showCount,X=void 0===G||G,Z=e.value,w=void 0===Z?"":Z,W=e.width,J=void 0===W?"100%":W;st('WJEC One TextArea: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==c}),[c]);var k=Y(r(w),2),R=k[0],N=k[1],z=Wt(t);a((function(){w!==R&&N(w)}),[w]);var F=ze(Er),L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeIfFalse,r=t.excludeIfFalsy,i=t.excludeIfNull,a=void 0===i||i,c=t.excludeIfUndefined,l=void 0===c||c,s=o((function(){return Object.entries(e).reduce((function(e,t){var o=Y(t,2),i=o[0],c=o[1];return n&&!1===c||r&&!c||a&&null===c||l&&void 0===c?e:V(V({},e),{},H({},function(e){var t=e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase();return t.startsWith("data-")||(t="data-".concat(t)),t}(i),String(c)))}),{})}),[e]);return s}({"data-current-value-length":null==R?void 0:R.length},{excludeIfFalse:!0});return g("label",B({"aria-label":n},L,{css:d([F.label,c&&{gridArea:c},X&&d("&::after{content:attr(data-current-value-length) '",void 0!==p&&"/".concat(p),"';}"),{maxWidth:f,width:J}]),"data-max-count":p}),b,g("textarea",B({id:u,css:d([we.scrollbar,F.textarea,{height:s,maxHeight:h,resize:x?"both":"none"}]),value:R,placeholder:m,onChange:function(e){var t=e.target.value;N(t),ae(v)&&v(t)},readOnly:y,disabled:i,maxLength:p},y?{tabIndex:-1}:{},z)))},Er=function(e){var t=e.colorPalette;return{label:d(We,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:11px;line-height:20px;&::after{color:",t.fontLight,";display:inline-block;font-size:12px;font-family:'Montserrat',sans-serif;margin:5px 5px 0 0;text-align:right;}"),textarea:d("border:1px solid ",t.border,";border-radius:",we.borderRadius,";color:",t.font,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;line-height:20px;outline:none;padding:10px;text-overflow:ellipsis;white-space:nowrap;&:disabled{background-color:",t.neutral,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&:not(:read-only){transition:border-color 0.05s linear;}")}},Mr=function(e){var t=e.gridArea,n=e.offLabel,r=e.onLabel,a=e.ariaLabel,l=e.disabled,s=e.id,d=e.label,u=e.on,b=void 0!==u&&u,p=e.onChange,I=e.value,h=void 0===I?r:I;st('WJEC One Toggle: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==t}),[t]),st('WJEC One Toggle: The "offLabel" prop has been deprecated because the latest v4 design has no off label',(function(){return void 0!==n}),[n]),st('WJEC One Toggle: The "onLabel" prop has been deprecated because the latest v4 design has solely an on label, therefore this has been replaced with label',(function(){return void 0!==r}),[r]);var C=i(),m=f(s);c((function(){C.current.setAttribute("aria-pressed",b.toString())}),[b]);var y=ze(Tr),A=o((function(){return{"--margin-top":d&&"4px","--toggle-margin-right":h&&"8px"}}),[d,h]),x=v({"aria-label":a,"aria-pressed":b,id:m,isDisabled:l,onPress:function(){var e="true"===C.current.getAttribute("aria-pressed");C.current.setAttribute("aria-pressed",(!e).toString()),ae(p)&&p(!e)}},C).buttonProps;return g("label",{css:y.label,htmlFor:m,"data-disabled":l||void 0},d,g("button",B({},x,{css:y.toggleButton,ref:C,style:A}),h))},Tr=function(e){var t=e.colorPalette;return{label:d(We,";",He,';cursor:pointer;display:inline-block;&[data-disabled="true"]{color:',t.border,";cursor:not-allowed;}"),toggleButton:d("--margin-top:0;--toggle-margin-right:0;align-items:flex-start;background-color:transparent;border:0;border-radius:12px;color:",t.neutralDark,";cursor:inherit;display:flex;font-family:'Montserrat',sans-serif;font-size:16px;font-weight:400;line-height:24px;margin-top:var(--margin-top);outline-color:",t.primary,";outline-offset:3px;padding:0;position:relative;text-align:left;&:disabled{color:",t.border,";&::after{background-color:",t.border,";}}&:after{background-color:",t.neutralLight,";border-radius:12px;content:'';display:block;height:",18,"px;left:0;margin:",3,"px;position:absolute;top:0;transition:color 0.1s linear,transform 0.1s linear;width:",18,"px;}&:before{background-color:#FFFFFF;border:1px solid ",t.border,";border-radius:",12,"px;content:'';display:block;flex-shrink:0;height:",24,"px;margin-right:var(--toggle-margin-right);position:relative;width:",48,'px;}&[aria-pressed="true"]{&::after{background-color:',t.primary,";transform:translateX(",24,"px);}&::before{border-color:",t.primary,";}}")}};function Dr(){return Dr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Dr.apply(null,arguments)}var Qr,Ur,Kr,qr,_r,$r=n((function(t,n){return e.createElement("svg",Dr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Vr||(Vr=e.createElement("path",{d:"M12 12h.005M17 12h.005M7 12h.005M5.2 7h13.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C22 8.52 22 9.08 22 10.2v3.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C20.48 17 19.92 17 18.8 17H5.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C2 15.48 2 14.92 2 13.8v-3.6c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 7 4.08 7 5.2 7Zm7.05 5a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0Zm5 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0Zm-10 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),ei=function(e){var t=e.description,n=e.disabled,o=e.id,r=e.label,l=e.maxLength,s=void 0===l?6:l,d=e.onChange,u=e.placeholder,b=void 0===u?"e.g. 123456":u,p=e.showIcon,I=void 0===p||p,h=e.status,C=e.statusMessage,v=i(),m=i(),y=i(0),A=i(""),x=f(o);a((function(){var e=function(){document.activeElement===m.current&&(y.current=m.current.selectionEnd)};return document.addEventListener("selectionchange",e),function(){document.removeEventListener("selectionchange",e)}}),[]),c((function(){var e,t;null===(e=v.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("--offset-top","".concat(m.current.offsetTop,"px"))}));var G=ze(ti);return g("label",{css:G.label,"data-disabled":n},r,I&&g($r,{"aria-hidden":!0,css:G.icon,"data-disabled":n,ref:v}),g("input",{autoComplete:"one-time-code",css:G.input,disabled:n,id:x,inputMode:"numeric",maxLength:s,onChange:function(e){var t=e.target.value;ae(d)&&d(t)},onInput:function(){if(/[^0-9]/g.test(m.current.value)){var e=m.current.value.replace(/[^0-9]/g,""),t=e.length-A.current.length,n=y.current+t;m.current.value=e,m.current.setSelectionRange(n,n)}y.current=m.current.selectionEnd,A.current=m.current.value},placeholder:b,ref:m,type:"text","data-status":h}),g(Fn,null,t),g(_n,{status:h},C))},ti=function(e){var t=e.colorPalette;return{icon:d("--offset-top:0;color:",t.neutralLight,';height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:40px;&[data-disabled="true"]{color:',t.border,";}& + input{padding-left:40px;}"),input:d(Je,";background-color:#FFFFFF;border:1px solid ",t.border,";border-radius:",we.borderRadius,";font-family:inherit;font-feature-settings:'tnum';font-size:16px;height:40px;line-height:24px;max-width:100%;outline:none;padding:4px 8px;width:100%;&:disabled{background-color:",t.neutral,";border-color:",t.border,";color:",t.border,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&::placeholder{color:",t.neutralLight,';}&:not(:placeholder-shown){letter-spacing:8px;}&[data-status="error"]{background-color:',t.errorBackground,";border-color:",t.error,';}&[data-status="success"]{background-color:',t.successBackground,";border-color:",t.success,';}&[data-status="warning"]{background-color:',t.warningBackground,";border-color:",t.warning,";}"),label:d(We,";",He,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;gap:4px;position:relative;&[data-disabled=\"true\"]{color:",t.border,";}")}},ni=function(e){var t=e.ariaDescription,n=e.borderColor,r=e.children,a=e.icon,c=void 0===a?no:a,l=e.iconColor,s=e.id,d=e.title,u=e.titleColor,b=Y(Ye(),1)[0],p=b.brand,I=b.colorPalette,h=i(),C=Wt(t),f=ze(ai),v=o((function(){return n||I.secondary}),[p,n]),m=o((function(){return l||I.secondaryDark}),[p,l]),y=o((function(){return u||I.secondaryDark}),[p,u]);return Gt("--border-color",v,h),Gt("--icon-color",m,h),Gt("--title-color",y,h),g("div",B({css:f.infoCardMain,id:s,ref:h},C),g(c,{css:f.icon,"aria-hidden":!0}),g("div",null,d&&g("h3",{css:f.title},d),g("p",{css:f.message},r)))},oi={name:"1i9s3a8",styles:"color:var(--icon-color);flex-shrink:0;height:24px;width:24px;"},ri={name:"1uk1gs8",styles:"margin:0;"},ii={name:"172fn9d",styles:"color:var(--title-color);font-weight:600;margin:0 0 4px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"},ai=function(e){var t=e.colorPalette;return{icon:oi,infoCardMain:d("--border-color:",t.secondary,";--icon-color:",t.secondaryDark,";--title-color:",t.secondaryDark,";background-color:#ffffff;border:1px solid var(--border-color);border-radius:",we.borderRadius,";box-shadow:",we.dropShadow,";display:flex;font-family:'Montserrat',sans-serif;font-size:16px;gap:16px;line-height:24px;padding:16px;"),message:ri,title:ii}},ci=function(e){var t=Y(Ye(),1)[0].colorPalette;return g(ni,B({},e,{borderColor:t.error,icon:so,iconColor:t.error,titleColor:t.errorDark}))},li=function(e){var t=Y(Ye(),1)[0].colorPalette;return g(ni,B({},e,{borderColor:t.success,icon:ao,iconColor:t.success,titleColor:t.successDark}))},si=function(e){var t=Y(Ye(),1)[0].colorPalette;return g(ni,B({},e,{borderColor:t.warning,icon:so,iconColor:t.warning,titleColor:t.warningDark}))};function di(){return di=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},di.apply(null,arguments)}var gi,ui,bi,pi,Ii,hi=n((function(t,n){return e.createElement("svg",di({viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Qr||(Qr=e.createElement("path",{d:"M27.565 14.13c-.134-10.058-10.33-8.59-11.991-8.283a.203.203 0 0 0-.156.262l2.16 6.588c.1.303.417.479.726.4 5.147-1.298 8.369.613 9.102 1.118a.101.101 0 0 0 .16-.085",fill:"#BDBCBC"})),Ur||(Ur=e.createElement("path",{d:"M27.858 14.13C27.992 4.072 38.19 5.54 39.85 5.848c.121.022.194.145.123.363l-2.22 6.77c-.033.102-.248.218-.456.163-5.25-1.388-8.537.562-9.279 1.072a.101.101 0 0 1-.159-.085",fill:"#E65000"})),Kr||(Kr=e.createElement("path",{d:"M28.851 8.37c2.36-6.255 9.127-6.033 10.522-5.918.13.01.216.14.175.265l-.692 2.11a.101.101 0 0 1-.107.069c-6.007-.667-8.716 2.088-9.72 3.566-.067.1-.22.02-.178-.092",fill:"#69B3E6"})),qr||(qr=e.createElement("path",{d:"m38.78.266-.415 1.267a.102.102 0 0 1-.096.07c-4.79.048-7.351 2.563-8.428 4.005-.074.099-.227.005-.172-.105.923-1.859 3.414-5.44 8.915-5.503a.203.203 0 0 1 .196.266Z",fill:"#FABD34"})),_r||(_r=e.createElement("path",{d:"M4.325 40C1.485 40 0 37.687 0 35.4c0-2.27 1.486-4.57 4.325-4.57 2.15 0 3.383 1.331 3.435 1.388a.716.716 0 0 1-1.057.966c-.042-.045-.888-.922-2.378-.922-1.988 0-2.893 1.627-2.893 3.139 0 1.526.905 3.167 2.893 3.167 1.494 0 2.36-.93 2.369-.94a.716.716 0 0 1 1.071.95C7.714 38.636 6.48 40 4.325 40ZM32.96 40c-2.84 0-4.325-2.313-4.325-4.6 0-2.27 1.485-4.57 4.324-4.57 2.15 0 3.384 1.331 3.435 1.388a.716.716 0 0 1-1.056.966c-.042-.045-.888-.922-2.379-.922-1.988 0-2.893 1.627-2.893 3.139 0 1.526.905 3.167 2.893 3.167 1.495 0 2.361-.93 2.37-.94a.716.716 0 0 1 1.07.95c-.05.058-1.284 1.422-3.44 1.422ZM14.142 28.887a.715.715 0 0 1-.409-1.304c1.24-.86 1.345-2.47 1.332-3.122v-7.402a.716.716 0 0 1 1.432 0v7.354c.016.904-.14 3.093-1.948 4.346a.71.71 0 0 1-.407.128ZM33.002 25.513c-2.839 0-4.325-2.313-4.325-4.599 0-2.271 1.486-4.571 4.325-4.571 2.15 0 3.384 1.331 3.435 1.388a.716.716 0 0 1-1.056.966c-.043-.046-.89-.922-2.379-.922-1.987 0-2.893 1.627-2.893 3.14 0 1.525.906 3.167 2.893 3.167 1.492 0 2.338-.906 2.373-.945a.718.718 0 0 1 1.01-.05c.291.263.319.71.058 1.004-.052.058-1.286 1.422-3.44 1.422M11.539 16.34a.716.716 0 0 0-.716.716v5.207c0 1.007-.82 1.826-1.826 1.826h-.053a1.828 1.828 0 0 1-1.826-1.826v-5.207a.716.716 0 1 0-1.432 0v5.207c0 1.007-.819 1.826-1.825 1.826h-.054a1.828 1.828 0 0 1-1.825-1.826v-5.207a.716.716 0 0 0-1.432 0v5.207a3.261 3.261 0 0 0 3.257 3.257h.054c1.027 0 1.944-.48 2.541-1.225a3.251 3.251 0 0 0 2.542 1.225h.053a3.261 3.261 0 0 0 3.258-3.257v-5.207a.716.716 0 0 0-.716-.716ZM13.314 30.822c-.891 0-1.605.262-2.154.663v-3.314a.715.715 0 1 0-1.43 0v9.72a.71.71 0 0 0 .082.33c.038.072.95 1.76 3.502 1.76 1.32 0 2.44-.508 3.238-1.466.696-.835 1.08-1.946 1.08-3.126 0-1.064-.35-2.14-.957-2.953-.55-.736-1.581-1.614-3.361-1.614Zm0 7.729c-.905 0-1.49-.301-1.817-.551a.866.866 0 0 1-.337-.693v-3.038c0-.659.526-2.017 2.154-2.017 2.284 0 2.888 2.052 2.888 3.137 0 1.523-.904 3.162-2.888 3.162M22.885 16.347c-1.774 0-2.773.87-3.297 1.598-.78 1.082-.896 2.325-.896 2.97 0 1.18.384 2.29 1.08 3.126.799.958 1.918 1.465 3.238 1.465 2.152 0 3.384-1.362 3.435-1.42a.714.714 0 0 0-1.07-.948c-.008.01-.873.938-2.365.938-1.669 0-2.574-1.159-2.82-2.434h5.98c.396 0 .716-.32.716-.714 0-2.28-1.238-4.58-4-4.58Zm-2.716 3.866c.33-2.31 2.294-2.436 2.716-2.436 1.835 0 2.364 1.476 2.514 2.436h-5.23ZM26.877 32.586c-.038-.072-.95-1.759-3.502-1.759-2.834 0-4.318 2.297-4.318 4.567 0 1.18.384 2.29 1.08 3.126.799.959 1.918 1.465 3.238 1.465l.034-.001c.876-.007 1.58-.268 2.122-.666a.715.715 0 0 0 1.427-.047v-6.353a.719.719 0 0 0-.081-.332Zm-1.348 3.953c0 .658-.527 2.017-2.154 2.017-2.285 0-2.888-2.052-2.888-3.137 0-1.523.904-3.162 2.888-3.162.905 0 1.489.3 1.817.55a.868.868 0 0 1 .337.694v3.038Z",fill:"#009FE3"})))}));function Ci(){return Ci=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ci.apply(null,arguments)}var fi,vi=n((function(t,n){return e.createElement("svg",Ci({viewBox:"0 0 298 154",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),gi||(gi=e.createElement("path",{d:"M235.171 71.957c-.671-50.518-51.708-43.14-60.018-41.605a1.02 1.02 0 0 0-.781 1.318l10.817 33.09a3.034 3.034 0 0 0 3.629 2.007c25.761-6.52 41.889 3.08 45.557 5.613.339.234.8-.01.796-.423Z",fill:"#BDBCBC"})),ui||(ui=e.createElement("path",{d:"M236.637 71.957c.671-50.518 51.709-43.14 60.019-41.605.603.112.971.732.613 1.826l-11.109 34c-.17.515-1.242 1.095-2.283.818-26.278-6.969-42.732 2.822-46.443 5.384a.508.508 0 0 1-.797-.423Z",fill:"#F1511B"})),bi||(bi=e.createElement("path",{d:"M241.607 43.024C253.419 11.61 287.286 12.723 294.27 13.3c.654.055 1.082.708.879 1.332l-3.463 10.597a.507.507 0 0 1-.54.346c-30.062-3.348-43.624 10.49-48.645 17.914-.336.497-1.106.097-.894-.466Z",fill:"#69B3E6"})),pi||(pi=e.createElement("path",{d:"m291.304 2.325-2.08 6.363a.51.51 0 0 1-.477.35c-23.975.245-36.795 12.875-42.185 20.115-.369.496-1.134.025-.859-.527 4.619-9.335 17.083-27.32 44.621-27.637.696-.01 1.197.671.98 1.336Z",fill:"#FABD34"})),Ii||(Ii=e.createElement("path",{d:"M223.864 112.447c0 3.308-2.635 10.135-10.779 10.135-11.435 0-14.454-10.307-14.454-15.757 0-7.65 4.522-15.883 14.454-15.883 4.528 0 7.452 1.514 9.095 2.766 1.078.821 1.684 2.124 1.684 3.481v15.258Zm-10.779-28.685c-14.186 0-21.61 11.54-21.61 22.937 0 5.93 1.919 11.507 5.401 15.701 3.999 4.814 9.602 7.36 16.209 7.36.058 0 .113-.007.173-.01 4.383-.033 7.905-1.343 10.618-3.343a3.581 3.581 0 0 0 3.565 3.353 3.583 3.583 0 0 0 3.577-3.589V94.262c0-.579-.142-1.151-.408-1.665-.187-.359-4.753-8.835-17.525-8.835ZM7.8 103.21c1.655-11.596 11.482-12.232 13.596-12.232 9.184 0 11.83 7.41 12.582 12.232H7.8Zm13.596-19.412c-8.88 0-13.878 4.365-16.504 8.023C.992 97.256.41 103.5.41 106.736c0 5.929 1.919 11.505 5.4 15.699 4.001 4.815 9.604 7.361 16.21 7.361 10.77 0 16.938-6.842 17.195-7.131a3.597 3.597 0 0 0-.306-5.066 3.565 3.565 0 0 0-5.046.306c-.043.048-4.376 4.713-11.843 4.713-8.353 0-12.883-5.825-14.11-12.227h29.932a3.58 3.58 0 0 0 3.577-3.589c0-11.449-6.192-23.004-20.022-23.004Zm237.237 19.499a48.905 48.905 0 0 1-1.565-.412c-7.068-2.034-9.221-3.672-9.221-7.011 0-3.09 3.077-4.933 8.237-4.933 4.615 0 9.241 2.6 9.294 2.633a3.574 3.574 0 0 0 4.877-1.33 3.596 3.596 0 0 0-1.319-4.9c-.255-.146-6.29-3.583-12.852-3.583-7.664 0-15.392 3.747-15.392 12.113 0 9.765 9.368 12.463 14.404 13.911.539.156 1.14.307 1.778.471 5.852 1.488 8.462 2.819 8.462 6.78 0 1.513-.447 2.623-1.411 3.483-2.062 1.846-6.037 2.321-9.065 1.977-5.52-.634-9.229-3.095-9.918-3.582-1.506-1.07-3.628-.844-4.828.563a3.598 3.598 0 0 0 .757 5.34c1.391.977 6.202 4.012 13.178 4.812.834.093 1.726.149 2.653.149 4.054 0 8.759-1.013 11.985-3.902 2.487-2.226 3.804-5.284 3.804-8.84 0-10.216-9.362-12.595-13.858-13.739ZM131.276 83.762a3.585 3.585 0 0 0-3.577 3.591v24.193c0 6.084-4.934 11.036-10.998 11.036-6.067 0-11.001-4.952-11.001-11.036V87.353a3.585 3.585 0 0 0-3.576-3.591 3.585 3.585 0 0 0-3.578 3.591v24.193c0 10.042 8.144 18.214 18.155 18.214 10.01 0 18.152-8.172 18.152-18.214V87.353a3.584 3.584 0 0 0-3.577-3.591Zm44.481 28.699c0 3.306-2.635 10.136-10.777 10.136-11.438 0-14.46-10.31-14.46-15.759 0-7.652 4.526-15.881 14.46-15.881 4.528 0 7.452 1.512 9.092 2.765 1.079.82 1.685 2.123 1.685 3.48v15.259ZM164.98 83.776c-6.607 0-12.211 2.546-16.21 7.362-3.484 4.192-5.403 9.771-5.403 15.7 0 5.344 1.744 10.75 4.787 14.829 2.758 3.695 7.916 8.107 16.826 8.107 4.456 0 8.031-1.315 10.777-3.334v16.65a3.583 3.583 0 0 0 3.578 3.589 3.583 3.583 0 0 0 3.576-3.589V94.275c0-.58-.139-1.15-.407-1.665-.188-.358-4.754-8.834-17.524-8.834Zm-83.114 32.558c0 1.358-.606 2.659-1.687 3.48-1.641 1.254-4.563 2.768-9.093 2.768-9.932 0-14.457-8.232-14.457-15.883 0-5.448 3.022-15.757 14.458-15.757 8.144 0 10.779 6.826 10.779 10.133v15.259Zm3.576-49.477a3.586 3.586 0 0 0-3.576 3.59v16.65c-2.75-2.02-6.321-3.335-10.78-3.335-8.909 0-14.068 4.411-16.826 8.11-3.04 4.079-4.784 9.483-4.784 14.827 0 5.93 1.917 11.507 5.401 15.701 3.997 4.814 9.604 7.36 16.21 7.36 12.772 0 17.338-8.473 17.525-8.833a3.6 3.6 0 0 0 .407-1.664V70.448a3.585 3.585 0 0 0-3.577-3.591ZM9.443 147.001c1.86 0 3.02-1.045 3.02-2.511v-.039c0-1.648-1.179-2.509-3.02-2.509H6.582v5.059h2.86Zm-5.323-6.063c0-.704.54-1.248 1.24-1.248h4.283c3.282 0 5.323 1.87 5.323 4.7v.041c0 3.151-2.522 4.797-5.604 4.797h-2.78v3.396c0 .681-.54 1.224-1.221 1.224a1.22 1.22 0 0 1-1.241-1.224v-11.686ZM23.553 149.933v-.723a6.715 6.715 0 0 0-2.4-.421c-1.563 0-2.483.661-2.483 1.767v.04c0 1.024.9 1.605 2.06 1.605 1.601 0 2.823-.923 2.823-2.268Zm-7.244.764v-.043c0-2.288 1.78-3.412 4.363-3.412 1.18 0 2.021.179 2.842.441v-.262c0-1.504-.921-2.307-2.622-2.307-.921 0-1.68.158-2.343.42a1.28 1.28 0 0 1-.38.06 1.01 1.01 0 0 1-1.021-1.004c0-.441.3-.823.661-.961.999-.383 2.02-.622 3.402-.622 1.58 0 2.762.417 3.504 1.183.779.763 1.138 1.886 1.138 3.273v5.221c0 .661-.521 1.163-1.18 1.163-.7 0-1.181-.483-1.181-1.023v-.402c-.719.863-1.82 1.546-3.441 1.546-1.983 0-3.742-1.144-3.742-3.271ZM28.758 144.25c0-.683.52-1.225 1.198-1.225.681 0 1.223.542 1.223 1.225v1.083c.56-1.325 1.6-2.328 2.661-2.328.76 0 1.2.502 1.2 1.206 0 .64-.42 1.063-.96 1.163-1.721.302-2.9 1.627-2.9 4.136v3.134c0 .661-.543 1.205-1.224 1.205-.66 0-1.198-.525-1.198-1.205v-8.394ZM37.524 150.816v-5.583h-.401c-.58 0-1.04-.46-1.04-1.044 0-.583.46-1.043 1.04-1.043h.4v-1.809a1.21 1.21 0 0 1 2.423 0v1.809h1.9c.58 0 1.06.46 1.06 1.043 0 .584-.48 1.044-1.06 1.044h-1.9v5.201c0 .946.478 1.326 1.3 1.326.279 0 .519-.06.6-.06.539 0 1.02.44 1.02 1.003 0 .439-.3.802-.64.945-.52.179-1.02.28-1.66.28-1.78 0-3.042-.786-3.042-3.112ZM59.518 148.507v-.039c0-1.87-1.341-3.416-3.243-3.416-1.94 0-3.181 1.527-3.181 3.374v.042c0 1.847 1.34 3.39 3.223 3.39 1.96 0 3.2-1.523 3.2-3.351Zm-8.843 0v-.039c0-3.034 2.4-5.544 5.642-5.544 3.24 0 5.623 2.471 5.623 5.502v.042c0 3.01-2.402 5.52-5.665 5.52-3.22 0-5.6-2.47-5.6-5.481ZM64.942 145.233h-.42c-.56 0-1.02-.44-1.02-1.004 0-.561.46-1.024 1.02-1.024h.42v-.782c0-1.165.3-2.048.86-2.611.562-.56 1.342-.845 2.383-.845.481 0 .882.041 1.22.103.44.058.84.459.84 1.002a.996.996 0 0 1-1.02 1.004 4.279 4.279 0 0 0-.5-.039c-.921 0-1.401.502-1.401 1.604v.587h1.882c.579 0 1.02.44 1.02 1.001 0 .564-.46 1.004-1.02 1.004h-1.841v7.409c0 .664-.542 1.205-1.221 1.205a1.205 1.205 0 0 1-1.202-1.205v-7.409ZM77.352 141.278a1.3 1.3 0 0 1-.1-.483c0-.683.58-1.205 1.26-1.205.6 0 1.06.382 1.22.905l3.223 9.656 3.162-9.615c.2-.583.62-.984 1.24-.984h.18c.62 0 1.061.401 1.241.984l3.162 9.615 3.223-9.676c.178-.503.599-.885 1.199-.885.66 0 1.22.522 1.22 1.186 0 .162-.058.36-.119.502l-4.143 11.645c-.22.622-.679 1.026-1.28 1.026H91.8c-.599 0-1.04-.382-1.26-1.026l-3.124-9.176-3.12 9.176c-.22.644-.68 1.026-1.28 1.026h-.24c-.601 0-1.04-.382-1.28-1.026l-4.144-11.645ZM97.526 152.402a1.297 1.297 0 0 1-.42-.923c0-.664.52-1.185 1.18-1.185.322 0 .542.099.761.281.681.703 1.34 1.085 2.281 1.085 1.362 0 2.261-.884 2.261-2.773v-8.069a1.23 1.23 0 0 1 1.24-1.225c.682 0 1.243.54 1.243 1.225v8.15c0 1.669-.501 2.912-1.322 3.736-.819.823-2.001 1.244-3.403 1.244-1.7 0-2.939-.661-3.82-1.546ZM109.455 152.503v-11.567c0-.702.54-1.245 1.24-1.245h8.145c.602 0 1.102.503 1.102 1.104a1.1 1.1 0 0 1-1.102 1.107h-6.924v3.653h6.024c.6 0 1.1.502 1.1 1.124 0 .602-.5 1.085-1.1 1.085h-6.024v3.776h7.025c.6 0 1.101.5 1.101 1.103 0 .625-.501 1.105-1.101 1.105h-8.246c-.7 0-1.24-.542-1.24-1.245ZM122.244 146.759v-.039c0-3.996 2.982-7.271 7.224-7.271 2.161 0 3.581.644 4.803 1.587.261.201.481.542.481.985 0 .683-.542 1.205-1.222 1.205-.34 0-.579-.121-.742-.242-.959-.784-1.998-1.264-3.339-1.264-2.662 0-4.624 2.207-4.624 4.958v.042c0 2.751 1.941 4.978 4.624 4.978 1.48 0 2.481-.48 3.502-1.344.18-.16.439-.279.74-.279.62 0 1.161.518 1.161 1.143 0 .382-.18.681-.399.884-1.322 1.166-2.824 1.887-5.084 1.887-4.082 0-7.125-3.195-7.125-7.23Z",fill:"#706D6E"})))})),mi=function(e){var t=e.copyrightMessage,n=void 0===t?"Copyright WJEC CBAC Ltd ".concat((new Date).getFullYear()):t,o=e.logos,r=void 0===o?[hi,vi]:o,i=e.maxWidth,a=void 0===i?1280:i,c=ze(xi);return g("footer",{css:c.footer},g("div",{css:d([c.container,{maxWidth:"".concat(a,"px")}])},r.map((function(e,t){return g(e,{key:"logo_".concat(t),css:c.logo})})),g("span",{css:c.copyright},n)))},yi={name:"8zn5ov",styles:"align-items:center;display:flex;margin:0 auto;width:100%;"},Ai={name:"eeoqsk",styles:"height:25px;margin-right:10px;"},xi=function(e){var t=e.colorPalette;return{container:yi,copyright:d("border-left:1px solid ",t.border,";color:",t.fontLight,";font-size:12px;padding-left:10px;"),footer:d(We,";align-items:center;display:flex;justify-content:flex-start;padding:24px 30px 22px;width:100%;"),logo:Ai}};function Gi(){return Gi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Gi.apply(null,arguments)}var Xi,Zi,wi,Wi=n((function(t,n){return e.createElement("svg",Gi({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),fi||(fi=e.createElement("path",{d:"m10 4.742 4.167 3.75V15H12.5v-5h-5v5H5.833V8.492L10 4.742ZM10 2.5 1.667 10h2.5v6.667h5v-5h1.666v5h5V10h2.5L10 2.5Z",fill:"currentColor"})))})),Ji={height:"40px",padding:"0"},Hi=function(e){var n=e.logo,r=void 0===n?{eduqas:vi,wjec:hi}:n,i=e.logoId,a=e.logoStyles,c=e.maxWidth,l=void 0===c?1280:c,s=e.menus,u=e.onClickPageIcon,b=e.pageIcon,p=void 0===b?Wi:b,I=e.pageIconHref,h=e.pageTitle,C=e.showPageTitle,f=void 0===C||C,v=Y(Ye(),1)[0].brand,m=ze(Vi),y=o((function(){return Ie(e=r)&&Object.hasOwn(e,"eduqas")&&Object.hasOwn(e,"wjec")?r[v]:r;var e}),[v,r]);return g("header",{css:m.header},g("div",{css:d([m.container,{maxWidth:"".concat(l,"px")}])},g("div",{css:m.titleContainer},f&&g(t.Fragment,null,g("a",{css:m.pageLink,href:I,onClick:u},g(p,{css:m.pageIcon})),g("h1",{css:m.title},h))),g(y,{css:d(V(V({},Ji),a)),id:i}),g("section",{css:m.menuContainer},s)))},Bi={name:"f7hwxs",styles:"align-items:center;display:grid;grid-gap:30px;grid-template-columns:1fr 100px 1fr;justify-items:center;margin:0 auto;"},ki={name:"euyatf",styles:"align-items:center;display:flex;flex:1;justify-content:flex-end;justify-self:end;min-width:175px;"},Ri={name:"6o7adr",styles:"align-items:center;display:flex;justify-self:flex-start;"},Vi=function(e){var t=e.colorPalette;return{container:Bi,header:d(We,";background-color:#fff;border-bottom:1px solid ",t.border,";padding:15px 30px;position:sticky;top:0;width:100%;z-index:1;"),menuContainer:ki,pageIcon:d("color:",t.fontLight,";height:20px;margin-right:10px;"),pageLink:d("cursor:pointer;:hover > svg{color:",t.font,";}"),title:d(Be,";border-left:1px solid ",t.border,";color:",t.fontLight,";font-size:14px;font-weight:500;margin:0;max-width:100%;padding:5px 0 5px 10px;"),titleContainer:Ri}},Ni=function(e){var t=e.children,n=e.footerProps,o=e.headerProps,r=e.maxWidth,i=void 0===r?1280:r;return g("div",{css:Yi.pageWrapper},g(Hi,B({},o,{maxWidth:i})),g("main",{css:d([Yi.content,{maxWidth:"".concat(i+60,"px")}])},t),g(mi,B({},n,{maxWidth:i})))},Yi={content:d("flex:1;margin:0 auto;min-height:100%;padding:40px ",30,"px 0;width:100%;"),pageWrapper:d(We,";display:flex;flex-direction:column;min-height:100vh;")},zi=function(e){var t=e.color,n=e.id,o=e.progress,r=i(),a=void 0===o,c=ze(ji);return Gt("--background-color",t,r),g("progress",{"aria-label":"loading",css:d([c.progress,a&&c.progressIndeterminate]),id:n,max:100,ref:r,value:o})},Fi=u(Xi||(Xi=z(["\n 0% {\n left: -35%;\n right: 100%;\n }\n 60% {\n left: 100%;\n right: -90%;\n }\n 100% {\n left: 100%;\n right: -90%;\n }\n"]))),Li=u(Zi||(Zi=z(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"]))),ji=function(e){var t=e.colorPalette;return{progress:d("--background-color:",t.secondary,";appearance:none;border-radius:2px;height:4px;overflow:hidden;position:relative;width:100%;&::-webkit-progress-bar{background-color:var(--background-color);border-radius:2px;opacity:0.3;}&::-webkit-progress-value{background-color:var(--background-color);border-radius:2px;transition:width 0.3s ease-out;}"),progressIndeterminate:d("&::before,&::after{background-color:var(--background-color);border-radius:2px;bottom:0;content:'';left:0;position:absolute;top:0;}&::after{animation:",Fi," 2.1s cubic-bezier(0.65,0.815,0.735,0.395) infinite;}&::before{animation:",Li," 2.1s cubic-bezier(0.165,0.84,0.44,1) infinite 1.15s;}")}},Si=function(e){var t=e.ariaLabel,n=e.context,o=e.icons,i=e.id,c=e.keySuffix,l=void 0===c?"":c,d=e.open,u=void 0!==d&&d,b=e.selectLocaleAction,p=e.showLocaleNameInList,I=void 0===p||p,h=e.showSelectedLocaleName,C=Y(Ye(),1)[0].colorPalette,f=Y(s(n),2),v=f[0],m=v.availableLocales,y=v.locale,A=v.strings,x=f[1],G=Y(r(u),2),X=G[0],Z=G[1],w=Y(r(y),2),W=w[0],J=w[1];a((function(){u!==X&&Z(u)}),[u]),a((function(){y!==W&&J(y)}),[y]),a((function(){x(b(W))}),[W]);var H=function(e){return function(){return Z(e)}};return g(Zn,{"aria-label":t,id:i,open:X,options:null==m?void 0:m.map((function(e){return{icon:o&&o[e],label:I&&(A["".concat(String(e)).concat(l)]||"".concat(String(e)).concat(l)),onClick:(t=e,function(){J(t),Z(!1)})};var t})),onHide:H(!1),onShow:H(!0),toggle:g(dt,{allowEventPropagation:!0,color:"transparent",icon:o&&o[y],labelColor:C.fontLight},h&&(A["".concat(String(y)).concat(l)]||"".concat(String(y)).concat(l)),g(fe,{css:Oi.icon}))})},Oi={icon:{name:"198hkja",styles:"display:flex;height:20px;width:20px;"}},Pi={dependencies:[],eventTarget:document.documentElement,shouldAddListener:!0},Ei=new WeakMap,Mi=function(e,t,n){var o=function(n){var o,r=Object.values(Ei.get(t)[e].instances).map((function(e){return e.callback})),i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=j(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}(r);try{for(i.s();!(o=i.n()).done;){(0,o.value)(n)}}catch(e){i.e(e)}finally{i.f()}};return t.addEventListener(e,o,n),o},Ti=function(e,t,n){var o=V(V({},Pi),n),r=o.dependencies,i=o.eventOptions,c=o.eventTarget,l=o.shouldAddListener,s="function"==typeof l?l():l;a((function(){var n,o={callback:t},r=(n=c,Object.hasOwn(n,"current")?c.current:c);return s&&r&&(Ei.has(r)||Ei.set(r,{}),Ei.get(r)[e]||(Ei.get(r)[e]={instances:[],listener:Mi(e,r,i)}),Ei.get(r)[e].instances.push(o)),function(){var t,n=null===(t=Ei.get(r))||void 0===t?void 0:t[e];n&&(n.instances=n.instances.filter((function(e){return e!==o})),0===Ei.get(r)[e].instances.length&&function(e,t){var n=Ei.get(t);t.removeEventListener("keydown",Ei.get(t)[e].listener),delete n[e],0===Object.keys(n).length&&Ei.delete(t)}(e,r))}}),[s,e,c].concat(F(r)))},Di={name:"14loat4",styles:"align-items:flex-end;display:flex;gap:16px;justify-content:space-between;&:not(:first-child){margin-top:40px;}"},Qi={name:"14u07wc",styles:"align-items:flex-start;display:flex;gap:16px;"},Ui={name:"11hv2i6",styles:"align-items:center;display:flex;margin-left:auto;"},Ki=function(e){var t=e.colorPalette;return{closeButton:d("background-color:transparent;border:none;cursor:pointer;display:inline-flex;margin-left:auto;outline-color:",t.primary,";padding:0;"),closeIcon:d("color:",t.neutralDark,";width:40px;"),content:d(we.scrollbar,";flex-grow:1;overflow:auto;&:not(:first-child){margin-top:40px;}"),description:d("color:",t.neutralLight,";margin:0;&:not(:first-child){margin-top:8px;}"),footer:Di,header:Qi,modal:d("--max-height:90vh;--max-width:60vw;--min-height:200px;--min-width:200px;--padding:32px;",We,";border:none;border-radius:",we.borderRadiusMedium,";box-shadow:",we.dropShadow,";display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:16px;max-height:var(--max-height);max-width:var(--max-width);min-height:var(--min-height);min-width:var(--min-width);outline:none;padding:var(--padding);&:not([data-open=\"true\"]){display:none;}&::backdrop{backdrop-filter:blur(5px);background-color:rgba(241,243,244,0.80);}"),otherActions:Ui,title:d("color:",t.neutralDark,";font-size:28px;font-weight:400;line-height:40px;margin:0;"),titleIcon:d("color:",t.secondaryDark,";flex-shrink:0;width:40px;& > path{stroke-width:1;}")}};function qi(){return qi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},qi.apply(null,arguments)}var _i,$i=n((function(t,n){return e.createElement("svg",qi({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),wi||(wi=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.293 5.293a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414L13.586 12 8.293 6.707a1 1 0 0 1 0-1.414Z",fill:"currentColor"})))}));function ea(){return ea=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ea.apply(null,arguments)}var ta,na=n((function(t,n){return e.createElement("svg",ea({viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),_i||(_i=e.createElement("path",{d:"M30 10 10 30m0-20 20 20",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function oa(){return oa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},oa.apply(null,arguments)}var ra,ia,aa=n((function(t,n){return e.createElement("svg",oa({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),ta||(ta=e.createElement("path",{d:"M8 12h8m6 0c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),ca=["option"],la=function(e){var n=e.actionType,r=void 0===n?"positive":n,l=e.actionButton,s=void 0===l?"Confirm":l,d=e.actionButtonIcon,u=void 0===d?"negative"===r?aa:$i:d,b=e.actionButtonId,p=e.actionDisabled,I=e.actionLoading,h=e.actionLoadingProgress,C=e.blockScroll,f=void 0===C||C,v=e.cancelButton,m=void 0===v?"Cancel":v,y=e.cancelButtonIcon,A=void 0===y?na:y,x=e.cancelButtonId,G=e.children,W=e.closeOnCancel,J=void 0===W||W,H=e.closeOnClickOutside,k=void 0===H||H,R=e.closeOnEscape,V=void 0===R||R,N=e.description,Y=e.fullscreen,z=e.id,F=e.maxHeight,L=void 0===F?Y&&"95vh":F,j=e.maxWidth,S=void 0===j?Y&&"100vw":j,O=e.minHeight,P=void 0===O?Y&&"95vh":O,E=e.minWidth,M=void 0===E?Y&&"100vw":E,T=e.onAction,Q=e.onCancel,U=e.onClose,K=e.onOpen,q=e.open,_=e.otherActions,$=e.padding,ee=e.showCloseIcon,te=void 0===ee||ee,ne=e.title,oe=e.titleIcon,ie=e.ariaCloseLabel,ce=void 0===ie?"close":ie,le=e.ariaDescription,se=void 0===le?N:le,de=e.ariaLabel;st("WJEC One Modal: The fullscreen prop has been deprecated because a Modal can now be sized situationally using the maxHeight, maxWidth, minHeight and minWidth props",(function(){return void 0!==Y}),[Y]);var ge,ue,be=i(),pe=i(),Ie=o((function(){return re(se)}),[se]),he=Wt(re(Ie));ge="escape",ue=function(e){return e.preventDefault()},Ti("keydown",(function(e){var t;(null===(t=void 0===e.code?e.key:e.code)||void 0===t?void 0:t.toLowerCase())===(null==ge?void 0:ge.toLowerCase())&&ue(e)}),{shouldAddListener:q&&!V}),a((function(){f&&q&&X(pe.current,{reserveScrollBarGap:!0,allowTouchMove:function(e){return pe.current.contains(e)}})}),[f,q]),c((function(){q?fe():Ce()}),[q]),function(e){a((function(){return e}),[])}((function(){Z()}));var Ce=function(){pe.current.close()},fe=function(){var e,t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.documentElement;return Array.from(e.querySelectorAll(D.join(","))).filter((function(e){return!e.hasAttribute("disabled")&&!e.getAttribute("aria-hidden")}))}(be.current);null==t||null===(e=t[0])||void 0===e||e.setAttribute("autofocus","true"),pe.current.showModal(),ae(K)&&K()},ve=ze(Ki),me=o((function(){return{"--max-height":L,"--max-width":S,"--min-height":P,"--min-width":M,"--padding":$}}),[L,L,P,M,$]),ye=o((function(){return"negative"===r?ht:At}),[r]),Ae=s||m||_,xe=te||ne||oe;return g("dialog",B({"aria-label":de,css:ve.modal,id:z,onClick:function(e){var t,n=e.nativeEvent.pointerType,o=e.target,r=null==o||null===(t=o.tagName)||void 0===t?void 0:t.toLowerCase();if(k&&n&&!ca.includes(r)){var i=pe.current.getBoundingClientRect();(e.clientX<i.left||e.clientX>i.right||e.clientY<i.top||e.clientY>i.bottom)&&Ce()}},onClose:function(){w(pe.current),pe.current.setAttribute("data-open","false"),ae(U)&&U()},ref:pe,style:me,"data-open":q},he),q&&g(t.Fragment,null,xe&&g("header",{css:ve.header},oe&&g(oe,{css:ve.titleIcon}),ne&&g("h3",{css:ve.title},ne),te&&g("button",{"aria-label":ce,css:ve.closeButton,onClick:Ce},g(na,{"aria-hidden":!0,css:ve.closeIcon}))),N&&g("p",{css:ve.description},N),g("div",{css:ve.content,ref:be},G),Ae&&g("footer",{css:ve.footer},m&&(t.isValidElement(m)?m:g(dt,{icon:A,id:x,label:m,onPress:function(){ae(Q)&&Q(),J&&Ce()}})),g("section",{css:ve.otherActions},_&&(t.isValidElement(_)?_:g(Zn,{options:_}))),s&&(t.isValidElement(s)?s:g(ye,{disabled:p,icon:u,iconPosition:"right",id:b,label:s,loading:I,loadingProgress:h,onPress:T})))))},sa=function(e){var t=e.children,n=e.color,r=Y(Ye(),1)[0],a=r.brand,c=r.colorPalette,l=ze(da),s=i(),d=o((function(){return n||c.font}),[a,n]);return Gt("--title-color",d,s),g("h3",{css:l.title,ref:s},t)},da=function(e){var t=e.colorPalette;return{title:d("--title-color:",t.font,";color:var(--title-color);font-family:'Montserrat',sans-serif;font-size:16px;font-weight:600;margin:0 0 4px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;")}};function ga(){return ga=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ga.apply(null,arguments)}var ua,ba=n((function(t,n){return e.createElement("svg",ga({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),ra||(ra=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),ia||(ia=e.createElement("path",{d:"M12 16v-4m0-4h.01",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),pa=function(e){var n=e.ariaDescription,l=e.ariaCloseLabel,s=e.autoClose,u=e.borderColor,b=e.children,p=e.icon,I=void 0===p?ba:p,h=e.iconColor,C=e.id,f=e.maxWidth,v=e.message,m=e.onClose,y=e.onOpen,A=e.open,x=void 0===A||A,G=e.openedTimestamp,X=e.position,Z=e.positionType,w=e.showImmediately,W=e.title,J=e.titleColor,H=i(x?w?"open":"opening":"closed"),k=i(),R=i(m),N=i(),z=Y(r((function(){return void 0!==G?s-(Date.now()-G):s})),1)[0],F=Y(r((function(){return-1*(100-z/s*100)})),1)[0],L=Wt(n);tt("WJEC-One Notification: Icon must be a valid SVGComponent",(function(){return I&&"none"!==I&&!ge(t.createElement(I))}),[I]),a((function(){R.current=m}),[m]),c((function(){x&&"open"!==H.current&&S(w?"open":"opening")}),[x,w]),a((function(){x&&(ae(y)&&y(),"open"!==H.current&&O()),x||"closed"===H.current||j()}),[x]),a((function(){var e=function(){j()};return x&&s&&k.current.addEventListener("animationend",e),function(){var t;null===(t=k.current)||void 0===t||t.removeEventListener("animationend",e)}}),[s,x]),a((function(){var e=function(e){"opacity"===e.propertyName&&"closing"===H.current&&(S("closed"),ae(R.current)&&R.current())};return N.current.addEventListener("transitionend",e),function(){var t;null===(t=N.current)||void 0===t||t.removeEventListener("transitionend",e)}}),[]);var j=function(){requestAnimationFrame((function(){S("closing")}))},S=function(e){var t;H.current=e,null===(t=N.current)||void 0===t||t.setAttribute("data-state",e)},O=function(){requestAnimationFrame((function(){S("open")}))},P=ze(ma),E=o((function(){return I&&"none"!==I?g(I,{css:d([P.icon]),"aria-hidden":!0}):null}),[I]),M=o((function(){return{"--border-color":u,"--icon-color":h,"--max-width":f,"--position":Z,"--title-color":J}}),[u,h,f,Z,J]);return g("div",B({css:P.container,id:C,ref:N,style:V(V({},M),X),"data-state":H.current},L),E,g(sa,{color:J},W),g("p",{css:P.message},v||b),x&&s&&g("svg",{css:P.autoClose,viewBox:"0 0 20 20","aria-hidden":!0},g("circle",{css:P.autoCloseCircle,cx:"10",cy:"10",r:"9",ref:k,pathLength:"100",style:{"--auto-close-duration":"".concat(z,"ms"),"--auto-close-offset":F}})),g(Co,{"aria-label":l,css:P.close,id:"close",onClick:j}))},Ia=u(ua||(ua=z(["\n to { stroke-dashoffset: -100; }\n"]))),ha={name:"9xvvt0",styles:"height:20px;position:absolute;right:8px;top:8px;width:20px;"},Ca={name:"oofjv5",styles:"cursor:pointer;height:36px;outline:none;padding:10px;position:absolute;right:0;top:0;width:36px;"},fa={name:"wvqk7n",styles:"color:var(--icon-color);flex-shrink:0;height:24px;left:16px;position:absolute;width:24px;"},va={name:"1ytxr68",styles:"font-size:14px;line-height:20px;margin:0;white-space:pre-line;"},ma=function(e){var t=e.colorPalette;return{autoClose:ha,autoCloseCircle:d("--auto-close-duration:initial;--auto-close-offset:0;animation:var(--auto-close-duration) ",Ia," linear forwards;fill:transparent;stroke:",P.fontLight,";stroke-dasharray:100;stroke-dashoffset:var(--auto-close-offset);stroke-width:1;transform:rotate(-90deg);transform-origin:50%;"),close:Ca,container:d("--border-color:",t.border,";--easing:ease-out;--fade-duration:500ms;--icon-color:",t.border,";--max-width:375px;--offset-y:0;--opacity:1;--position:relative;--title-color:",t.font,";",We,";background-color:#ffffff;border:1px solid var(--border-color);border-radius:",we.borderRadius,";box-shadow:",we.dropShadow,';font-family:\'Montserrat\',sans-serif;font-size:16px;gap:16px;line-height:24px;margin-bottom:16px;max-width:var(--max-width);opacity:var(--opacity);padding:16px 40px 16px 56px;position:var(--position);transform:translateY(var(--offset-y));transition:opacity var(--fade-duration) linear,transform var(--fade-duration) var(--easing);z-index:999;&[data-state="closed"]{display:none;}&[data-state="closing"]{--easing:ease-in;--opacity:0;--offset-y:-60px;}&[data-state="opening"]{--opacity:0;--offset-y:-60px;}'),icon:fa,message:va}},ya=["title"],Aa=function(e){var t=e.title,n=void 0===t?"Error":t,o=N(e,ya),r=Y(Ye(),1)[0].colorPalette;return g(pa,B({},o,{borderColor:P.error,icon:so,iconColor:r.error,id:o.id||"errorNotification",title:n,titleColor:P.error}))},xa=["title"],Ga=function(e){var t=e.title,n=void 0===t?"Information":t,o=N(e,xa),r=Y(Ye(),1)[0].colorPalette;return g(pa,B({},o,{borderColor:r.primary,iconColor:r.primary,id:o.id||"infoNotification",title:n,titleColor:r.primary}))},Xa=["title"],Za=function(e){var t=e.title,n=void 0===t?"Success":t,o=N(e,Xa),r=Y(Ye(),1)[0].colorPalette;return g(pa,B({},o,{borderColor:P.success,icon:ao,iconColor:r.success,id:o.id||"successNotification",title:n,titleColor:P.success}))},wa=function(e){var t=e.children,n=e.color,o=e.id,r=i(),a=ze(Wa);return Gt("--color",n,r),g("h1",{css:a.heading,id:o,ref:r},t)},Wa=function(e){var t=e.colorPalette;return{heading:d("--color:",t.font,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:28px;font-weight:400;line-height:40px;margin:0 0 30px 0;")}},Ja=function(e){var n=e.ariaCurrent,r=e.ariaLabel,i=e.compact,a=void 0!==i&&i,c=e.current,l=void 0===c?1:c,s=e.id,u=e.onSelect,b=e.total,p=function(e){return function(){e>0&&e<b+1&&ae(u)&&u(e)}},I=o((function(){return b>5?l<4?[2,3,4,"..."]:l>b-3?["...",b-3,b-2,b-1]:["...",l-1,l,l+1,"..."]:F(Array(Math.max(0,b-2)).keys()).map((function(e){return e+2}))}),[l,b]),h=ze(Ra);return g("ol",{"aria-label":r,css:h.container,id:s},g("li",{"aria-current":n,css:d([h.option,h.optionNextPrevious,1===l&&h.optionDisabled]),onClick:p(l-1)},g(ye,{height:"100%",width:"100%"})),a?g("li",{css:h.compact},l," of ",b):g(t.Fragment,null,g("li",{css:d([h.option,1===l&&h.optionSelected]),onClick:p(1)},"1"),I.map((function(e,t){return g("li",{key:t,css:d([h.option,e===l&&h.optionSelected,"string"==typeof e&&h.optionSeparator]),onClick:"number"==typeof e?p(e):null},e)})),b>1&&g("li",{css:d([h.option,l===b&&h.optionSelected]),onClick:p(b)},b)),g("li",{css:d([h.option,h.optionNextPrevious,l===b&&h.optionDisabled]),onClick:p(l+1)},g(Ge,{height:"100%",width:"100%"})))},Ha={name:"1qje5jb",styles:"margin:0 15px;text-align:center;user-select:none;width:50px;"},Ba={name:"1x05hl3",styles:"opacity:0.33;pointer-events:none;"},ka={name:"1ixbp0l",styles:"pointer-events:none;"},Ra=function(e){var t=e.colorPalette;return{compact:Ha,container:d(We,";display:flex;font-family:'Montserrat',sans-serif;font-size:14px;justify-content:center;line-height:20px;list-style:none;margin:0;padding:0;width:100%;"),option:d("align-items:center;border-radius:",we.borderRadius,";color:",t.fontLight,";cursor:pointer;display:flex;height:20px;justify-content:center;margin:0 5px;user-select:none;width:20px;&:first-of-type{margin-left:0;}&:last-of-type{margin-right:0;}"),optionDisabled:Ba,optionNextPrevious:d("border:1px solid ",t.border,";"),optionSelected:d("background-color:",t.primary,";color:#FFFFFF;pointer-events:none;"),optionSeparator:ka}},Va=function(e){var n=e.ariaLabel,o=e.children,i=e.isLoadingStyles,c=e.onOpen,l=e.popupWindow,s=Y(r(!1),2),d=s[0],u=s[1];return a((function(){d||i||(ae(c)&&c(l),u(!0))}),[i]),g(t.Fragment,null,o,i&&g("div",{"aria-label":n,css:Ya.wrapper},g(zi,null)))},Na=function(e){var t=e.children,n=e.height,o=void 0===n?500:n,c=e.id,l=void 0===c?"":c,s=e.onClose,d=e.onOpen,u=e.open,b=e.position,p=void 0===b?{x:50,y:200}:b,I=e.title,h=void 0===I?"":I,C=e.width,f=void 0===C?500:C,v=Y(r(),2),m=v[0],A=v[1],x=i(),G=i(document.querySelectorAll("[data-emotion]")),X=Y(r(!1),2),Z=X[0],w=X[1],W=Y(r(u),2),J=W[0],H=W[1],B=Y(r(!1),2),k=B[0],R=B[1];a((function(){var e=document.querySelectorAll("[data-emotion]");J&&x.current&&Array.from(e).some((function(e,t){return e!==G.current[t]}))&&(G.current=e,N())})),a((function(){return function(){return x.current&&x.current.close()}}),[]),a((function(){J&&z(),!x.current||x.current.closed||J||x.current.close()}),[t,J]),a((function(){x.current&&(x.current.document.title=h)}),[h]),a((function(){return H(u)}),[u]);var V=function(){w(!1),H(!1),R(!1),ae(s)&&s()},N=function(){var e=x.current.document,t=e.head,n=t.querySelectorAll("style");Array.from(n).forEach((function(e){return t.removeChild(e)})),G.current.forEach((function(n){var o=n.textContent,r=n.sheet,i=e.createElement("style");if(i.appendChild(e.createTextNode("")),t.appendChild(i),o)i.appendChild(e.createTextNode(o));else{var a=i.sheet;[].forEach.call(r.cssRules,(function(e){a.insertRule(e.cssText)}))}})),requestAnimationFrame((function(){w(!0)}))},z=function(){if(!J||!x.current||x.current.closed)if(w(!1),x.current=window.open("",l,"left=".concat(p.x,",height=").concat(o,",top=").concat(p.y,",width=").concat(f)),x.current){var e=x.current.document.createElement("main");e.setAttribute("id",l),A(e),x.current.onbeforeunload=V,x.current.document.body.appendChild(e),x.current.document.title=h,requestAnimationFrame((function(){N(),H(!0),R(!0)}))}else M("A PopupWindow failed to open")};return J&&k&&x.current&&m?y.createPortal(g(Va,{isLoadingStyles:!Z,onOpen:d,popupWindow:x.current},t),m):null},Ya={wrapper:{name:"z2hlcz",styles:"background-color:#fff;bottom:0;left:0;padding:30px 10px;position:absolute;right:0;top:0;"}},za=function(e){var n=e.ariaLabel,c=e.children,l=e.footer,s=void 0===l?t.Fragment:l,u=e.header,p=void 0===u?t.Fragment:u,I=e.id,h=e.isNested,C=e.margin,f=void 0===C?"auto":C,v=e.onLayout,m=e.orientation,y=void 0===m?"portrait":m,A=e.parentFooterHeight,x=void 0===A?0:A,G=e.parentHeaderHeight,X=void 0===G?0:G,Z=e.verticalAlign,w=void 0===Z?"top":Z,W=Y(r("auto"),2),J=W[0],H=W[1],B=Y(r("auto"),2),k=B[0],R=B[1],N=i(),z=i(),F=o((function(){return("auto"===J?0:J)+("auto"===k?0:k)+x+X}),[J,k,x,X]);return a((function(){N.current&&H(N.current.offsetHeight),z.current&&R(z.current.offsetHeight)}),[p,s,z.current,N.current]),a((function(){"auto"!==J&&"auto"!==k&&ae(v)&&v()}),[J,k]),g(t.Fragment,null,!h&&g(b,{styles:d("@media print{*{-webkit-print-color-adjust:exact;}@page{margin:",f,";size:",y,";}}")}),g("table",{"aria-label":n,cellPadding:0,cellSpacing:0,css:ja.printLayoutTable,id:I},g("thead",null,g("tr",null,g("td",{css:ja.printLayoutTableCell,style:{height:k}},g("header",{ref:z,css:d([ja.header,!h&&ja.printHeader])},g(p,null))))),g("tbody",null,g("tr",null,g("td",{css:d([ja.printLayoutTableCell,ja.content]),style:{height:h?"calc(100vh - ".concat(F,"px)"):"auto",verticalAlign:w}},t.Children.map(c,(function(e){return e&&e.type&&("PrintLayout"===e.type.displayName||"PrintLayout"===e.type.name)?t.cloneElement(e,V(V({},e.props),{},{isNested:!0,parentFooterHeight:J,parentHeaderHeight:k})):e}))))),g("tfoot",null,g("tr",null,g("td",{css:ja.printLayoutTableCell,style:{height:J}},g("footer",{ref:N,css:d([ja.footer,!h&&ja.printFooter])},g(s,null)))))))};za.displayName="PrintLayout";var Fa,La,ja={content:{name:"10klw3m",styles:"height:100%;"},footer:{name:"1tqge2o",styles:"background-color:#fff;overflow:hidden;"},header:{name:"1tqge2o",styles:"background-color:#fff;overflow:hidden;"},printFooter:{name:"oo54uf",styles:"@media print{bottom:0;left:0;position:fixed;width:100%;}"},printHeader:{name:"134o4pi",styles:"@media print{left:0;position:fixed;top:0;width:100%;}"},printLayoutTable:d(We,";width:100%;/* Margin will be provided by @page rule in global when printing */ @media print{padding:0;page-break-after:always;page-break-before:always;page-break-inside:avoid;}"),printLayoutTableCell:{name:"y8aj3r",styles:"padding:0;"}},Sa=["ariaLabel","autoPrint","children","closeOnPrint","id","onClose","onOpen"],Oa=function(e){var t=e.ariaLabel,n=e.autoPrint,o=e.children,c=e.closeOnPrint,l=e.id,s=e.onClose,d=e.onOpen,u=N(e,Sa),b=Y(r(!1),2),p=b[0],I=b[1],h=Y(r(!1),2),C=h[0],f=h[1],v=i();a((function(){p&&C&&m()}),[p,C]);var m=function(){ae(d)&&d(v.current),n&&v.current.print()},y=function(){c&&v.current.close()};return g(Na,B({},u,{id:l,onClose:function(){I(!1),f(!1),ae(s)&&s()},onOpen:function(e){(v.current=e,v.current.document.body.style.margin="0",v.current.document.body.style.padding="0","onafterprint"in v.current)?v.current.onafterprint=y:window.matchMedia("print").addListener((function(e){return e.matches&&y()}));f(!0)}}),g(za,B({ariaLabel:t},u,{onLayout:function(){I(!0)}}),o))},Pa=function(e){var t=e.children,n=e.element,o=void 0===n?"div":n,r=e.horizontal,i=void 0!==r&&r,a=e.styles,c=e.vertical,l=void 0===c||c;return g(o,{css:[a,we.scrollbar,{overflowX:i?"auto":"hidden",overflowY:l?"auto":"hidden"}]},t)},Ea=function(e){var t=e.children,n=e.color,o=e.id,r=i(),a=ze(Ma);return Gt("--border-left-color",n,r),g("h3",{css:a.sectionHeading,id:o},t)},Ma=function(e){var t=e.colorPalette;return{sectionHeading:d("--border-left-color:",t.secondary,";border-left:2px solid var(--border-left-color);color:",t.font,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:500;line-height:20px;margin:0;padding-left:7px;")}},Ta=function(e){var t=e.children,n=e.color,o=e.id,r=i(),a=ze(Da);return Gt("--color",n,r),g("h3",{css:a.title,id:o,ref:r},t)},Da=function(e){var t=e.colorPalette;return{title:d("--color:",t.font,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:18px;font-weight:400;line-height:30px;margin-top:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;")}};function Qa(){return Qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Qa.apply(null,arguments)}var Ua,Ka=n((function(t,n){return e.createElement("svg",Qa({viewBox:"0 0 1440 150",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Fa||(Fa=e.createElement("mask",{id:"a","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:0,y:0,width:1440,height:150},e.createElement("path",{fill:"#fff",d:"M0 0h1440v150H0z"}))),La||(La=e.createElement("g",{mask:"url(#a)"},e.createElement("path",{opacity:.4,d:"M4.093 21.192 1.725-50.176a5 5 0 0 1 3.923-5.05l249.66-54.934a4.999 4.999 0 0 1 4.394 1.144L388.786 5.551a5.002 5.002 0 0 1 1.444 5.26L372.279 67.06a5 5 0 0 1-3.215 3.233L138.73 145.341a5 5 0 0 1-4.961-1.098L5.679 24.681a5 5 0 0 1-1.586-3.49ZM1438.64 11.165l5.18-83.581a5 5 0 0 0-3.78-5.16l-286.09-71.608a4.986 4.986 0 0 0-4.42 1.017L995.649-19.287a4.998 4.998 0 0 0-1.719 2.995L970.938 118.98a5 5 0 0 0 4.653 5.83l370.079 20.533a5.005 5.005 0 0 0 4.42-2.188l87.7-129.495c.5-.74.8-1.602.85-2.495Z",fill:"#47BAD1"}),e.createElement("path",{opacity:.4,d:"m341.147 35.262 214.851 26.282a5.003 5.003 0 0 0 4.313-1.605l92.293-101.841c3.011-3.322.465-8.622-4.01-8.349L337.991-31.26a5 5 0 0 0-4.686 5.296l3.459 56.569a5 5 0 0 0 4.383 4.657Z",fill:"#A55896"}),e.createElement("path",{opacity:.4,d:"m636.066 94.071-192.7-231.608c-1.998-2.401-1.329-6.026 1.393-7.556l302.76-170.202a5 5 0 0 1 6.809 1.908L926.159-7.729c1.532 2.725.215 6.173-2.744 7.182L641.524 95.605a5 5 0 0 1-5.458-1.534Z",fill:"#2855A2"}),e.createElement("path",{opacity:.4,d:"M983.494 89.93 703.798 14.977c-3.017-.808-4.562-4.154-3.221-6.975l143.28-301.486a5 5 0 0 1 6.662-2.37l304.371 144.653c2.83 1.342 3.74 4.918 1.91 7.45L988.837 88.035a5 5 0 0 1-5.343 1.895Z",fill:"#B0C600"}))))})),qa={cancel:"Cancel",code:"Code",forgotPassword:"Forgot your password?",newPassword:"New password",password:"Password",repeatNewPassword:"Re-enter new password",username:"Username",changePasswordPrompt:"Enter a new password below",changePasswordSubmit:"Change password",changePasswordTitle:"Change your password",changePasswordWarning:"Passwords do not match",forceChangePasswordPrompt:"You must enter a new password",forceChangePasswordTitle:"Change your password",mfaPrompt:"A code has been sent to the email address associated with your account. Enter the code below to continue",mfaSubmit:"Submit code",mfaTitle:"Verify signin",confirmResetPasswordPrompt:"Enter the provided code along with your new password below",requestResetPasswordPrompt:"Enter your email address below and we will send a code to reset your password",resetPasswordHaveCode:"Already have a reset code?",resetPasswordSubmit:"Request reset",resetPasswordTitle:"Reset your password",signin:"Sign in",signinPrompt:"Please sign in to access your account",signout:"Sign out",signup:"Sign up now",signupPrompt:"Don't have an account?",welcomeMessage:"Hello, {username}",welcomeMessageNotSignedIn:"Welcome",welcomeMessagePunctuation:"."},_a=function(e){var n=e.ariaDescription,i=e.ariaLabel,c=e.allowForgotPassword,l=void 0===c||c,s=e.allowSignup,u=void 0===s||s,b=e.autocomplete,p=void 0===b||b,I=e.enforceFormCompletion,h=e.id,C=e.padding,f=void 0===C?"50px 30px 30px":C,v=e.passwordValidator,m=void 0===v?function(e,t){return e===t}:v,y=e.profileActions,A=e.repeatNewPassword,x=e.type,G=void 0===x?"external":x,X=e.onCancel,Z=e.onChangePassword,w=e.onConfirmResetPassword,W=e.onForceChangePassword,J=e.onForgotPassword,H=e.onHaveResetCode,k=e.onRequestResetPassword,R=e.onSignin,N=e.onSignout,z=e.onSignup,F=e.onSubmitMfa,L=e.loading,j=e.isSignedIn,S=void 0!==j&&j,O=e.username,P=e.i18n,E=Y(Ye(),1)[0].colorPalette,M=ze(sc),T=V(V({},qa),P),D=Y(r(!0),2),Q=D[0],U=D[1],K=Y(r("confirmResetPassword"===G),2),q=K[0],_=K[1],$=Y(r(""),2),ee=$[0],te=$[1],ne=Y(r(""),2),oe=ne[0],re=ne[1],ie=Y(r(""),2),ce=ie[0],le=ie[1],se=Y(r(""),2),de=se[0],ge=se[1],ue=Y(r(""),2),be=ue[0],pe=ue[1],Ie=Y(r(""),2),he=Ie[0],Ce=Ie[1],fe=Wt(n);a((function(){te(""),re(""),le(""),ge(""),pe(""),Ce("")}),[S]),a((function(){"confirmResetPassword"===G?_(!0):q&&(_(!1),pe(""))}),[G]),a((function(){A||Q||U(!0)}),[A]);var ve=function(){ae(W)&&W(oe)},me=function(){ae(Z)&&Z(be,oe)},ye=function(){ae(w)&&w(he,oe,de)},Ae=function(){ae(k)&&k(he)},xe=function(){ae(R)&&R(he,be)},Ge=function(){ae(F)&&F(ee)},Xe=o((function(){switch(G){case"changePassword":return T.changePasswordPrompt;case"confirmResetPassword":return T.confirmResetPasswordPrompt;case"forceChangePassword":return T.forceChangePasswordPrompt;case"mfa":return T.mfaPrompt;case"requestResetPassword":return T.requestResetPasswordPrompt;default:return T.signinPrompt}}),[P,G]),Ze=o((function(){return"changePassword"!==G&&"confirmResetPassword"!==G&&"requestResetPassword"!==G&&(S||l||u)}),[l,u,S,G]),we=o((function(){if(!I)return!1;switch(G){case"changePassword":case"forceChangePassword":return""===oe||!Q;case"confirmResetPassword":return""===de||""===oe||!Q;case"mfa":return""===ee;case"requestResetPassword":return""===he;default:return""===be||""===he}}),[Q,ee,oe,de,ce,be,he,G]),We=o((function(){switch(G){case"changePassword":case"forceChangePassword":return T.changePasswordSubmit;case"mfa":return T.mfaSubmit;case"confirmResetPassword":case"requestResetPassword":return T.resetPasswordSubmit;default:return T.signin}}),[P,G]),Je=o((function(){switch(G){case"changePassword":return T.changePasswordTitle;case"confirmResetPassword":case"requestResetPassword":return T.resetPasswordTitle;case"forceChangePassword":return T.forceChangePasswordTitle;case"mfa":return T.mfaTitle;default:return g(t.Fragment,null,S?"string"==typeof T.welcomeMessage?T.welcomeMessage.replace(/\{username\}/g,O):T.welcomeMessage:T.welcomeMessageNotSignedIn,T.welcomeMessagePunctuation&&g("span",{css:M.welcomeMessagePunctuation},T.welcomeMessagePunctuation))}}),[P,S,G]);return g("div",B({"aria-label":i,id:h,css:d([M.container,{padding:f}])},fe),g(Ka,{css:M.headerShapes,"aria-hidden":!0}),g("h1",{css:M.welcomeMessage},Je),g("section",{css:M.formContainer},S?g("ul",{css:M.actionsList},y&&y.map((function(e,t){var n=e.icon,o=e.label,r=e.onClick;return g("li",{key:t,css:M.action,onClick:r},n&&g(n,{css:M.actionIcon}),o)}))):g(t.Fragment,null,g("h2",{css:M.prompt},Xe),g("form",{autoComplete:p?"on":"off",css:M.form,onSubmit:function(e){e.preventDefault()}},("internal"===G||"requestResetPassword"===G||"confirmResetPassword"===G)&&g(go,{label:T.username,name:"username",onChange:Ce,value:he,width:"100%"}),("changePassword"===G||"forceChangePassword"===G||"confirmResetPassword"===G)&&g(t.Fragment,null,"changePassword"===G&&g(wr,{label:T.password,name:"password",onChange:pe,value:be}),"confirmResetPassword"===G&&g(go,{label:T.code,name:"code",onChange:ge,value:de,width:"100%"}),g(wr,{label:T.newPassword,name:"password",onChange:function(e){re(e),A&&U(m(e,ce))},value:oe}),A&&g(wr,{highlightColor:E.error,highlighted:!Q,label:T.repeatNewPassword,name:"confirmPassword",onChange:function(e){le(e),U(m(oe,e))},value:ce}),!Q&&g("span",{css:M.changePasswordWarning},T.changePasswordWarning)),"internal"===G&&g(wr,{label:T.password,name:"password",onChange:pe,value:be}),"mfa"===G&&g(go,{name:"code",onChange:te,value:ee}),g("div",{css:M.formActions},g(At,{buttonType:"submit",disabled:we,icon:Et,label:We,onClick:function(){switch(G){case"changePassword":return me;case"confirmResetPassword":return ye;case"forceChangePassword":return ve;case"mfa":return Ge;case"requestResetPassword":return Ae;default:return xe}}()}),("changePassword"===G||"confirmResetPassword"===G||"mfa"===G||"requestResetPassword"===G)&&g("a",{css:M.cancel,onClick:function(){ae(X)&&X()}},T.cancel),"requestResetPassword"===G&&g("a",{css:d([M.actionLink,M.haveResetCode]),onClick:function(){ae(H)&&H()}},T.resetPasswordHaveCode))))),Ze&&g("footer",{css:M.userDetails},S?g(dt,{color:"transparent",icon:Lt,iconColor:E.fontLight,label:T.signout,labelColor:E.font,onClick:function(){ae(N)&&N()}}):g(t.Fragment,null,l&&g("a",{css:M.actionLink,onClick:function(){ae(J)&&J()}},g("h2",{css:M.prompt},T.forgotPassword)),u&&g("div",null,g("h2",{css:M.prompt},T.signupPrompt),g("a",{css:M.actionLink,onClick:function(){ae(z)&&z()}},T.signup)))),L&&g("div",{css:M.loading},g(ot,null)))},$a={name:"yh3jvl",styles:"height:20px;margin-right:5px;width:20px;"},ec={name:"10w3nmc",styles:"list-style:none;margin:20px 0;padding:0;"},tc={name:"vl8ak5",styles:"font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;position:relative;"},nc={name:"1ajcev4",styles:"& >:not(:last-child){margin-top:10px;}"},oc={name:"79elbk",styles:"position:relative;"},rc={name:"w5in9r",styles:"align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:20px;"},ic={name:"1xxqlwe",styles:"display:inline-block;flex:0 1 100%;margin-top:10px;"},ac={name:"19hbn8x",styles:"left:0;position:absolute;top:0;width:100%;"},cc={name:"zhwjfn",styles:"align-items:center;background-color:rgba(255,255,255,0.85);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;"},lc={name:"1vnyfz6",styles:"font-size:18px;font-weight:normal;line-height:40px;margin:0;"},sc=function(e){var t=e.colorPalette;return{action:d("border-radius:",we.borderRadius,";cursor:pointer;display:flex;padding:10px;&:hover{background-color:",t.neutral,";}&:not(:last-child){margin-bottom:10px;}"),actionIcon:$a,actionLink:d("color:",t.primaryDark,";cursor:pointer;text-decoration:none;&:hover{text-decoration:underline;}"),actionsList:ec,cancel:d("color:",t.secondaryDark,";cursor:pointer;font-size:12px;margin-left:10px;:hover{text-decoration:underline;}"),changePasswordWarning:d("color:",t.errorDark,";font-size:12px;"),container:tc,form:nc,formContainer:oc,formActions:rc,haveResetCode:ic,headerShapes:ac,loading:cc,prompt:d("color:",t.fontLight,";font-size:14px;font-weight:normal;margin:0;"),userDetails:d("border-top:1px solid ",t.border,";display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:30px;padding-top:20px;& > *{white-space:nowrap;:not(:last-child){margin:0 15px 15px 0;}}"),welcomeMessage:lc,welcomeMessagePunctuation:d("color:",t.secondary,";")}};function dc(){return dc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},dc.apply(null,arguments)}var gc,uc=n((function(t,n){return e.createElement("svg",dc({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Ua||(Ua=e.createElement("g",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor"},e.createElement("path",{d:"M6.667 6.667A3.332 3.332 0 1 1 10 10a3.332 3.332 0 0 1-3.333-3.333Zm5 0C11.667 5.75 10.917 5 10 5s-1.667.75-1.667 1.667c0 .916.75 1.666 1.667 1.666s1.667-.75 1.667-1.666ZM3.333 15c0-2.217 4.442-3.333 6.667-3.333 2.225 0 6.667 1.116 6.667 3.333v1.667H3.333V15ZM15 15c-.167-.592-2.75-1.667-5-1.667-2.242 0-4.808 1.067-5 1.667h10Z"}))))})),bc=["ariaLabel","id","onClose","onOpen","open"],pc=function(e){var t=e.ariaLabel,n=e.id,o=e.onClose,i=e.onOpen,c=e.open,l=void 0!==c&&c,s=N(e,bc),d=Y(Ye(),1)[0].colorPalette,u=Y(r(l),2),b=u[0],p=u[1];a((function(){l!==b&&p(l)}),[l]);var I=ze(hc);return g(bn,{"aria-label":t,id:n,maxHeight:"425px",onHide:o,onShow:i,open:b,padding:"0",toggle:g(dt,{allowEventPropagation:!0,color:"transparent",icon:function(e){return g(uc,B({css:I.avatar},e))},id:"signinMenu",labelColor:d.fontLight},g(fe,{css:I.arrow})),width:"276px"},g(_a,s))},Ic={name:"198hkja",styles:"display:flex;height:20px;width:20px;"},hc=function(e){var t=e.colorPalette;return{arrow:Ic,avatar:d("background-color:",t.neutral,";border-radius:50%;padding:1px;")}},Cc=function(e){var t=e.children,n=e.color,o=e.id,r=i(),a=ze(fc);return Gt("--color",n,r),g("p",{css:a.subParagraph,id:o,ref:r},t)},fc=function(e){var t=e.colorPalette;return{subParagraph:d("--color:",t.font,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:12px;font-weight:400;line-height:20px;margin:0;")}},vc=function(e){var t=e.children,n=e.id,o=ze(mc);return g("h2",{css:o.heading,id:n},t)},mc=function(e){var t=e.colorPalette;return{heading:d("color:",t.font,";font-family:'Montserrat',sans-serif;font-size:24px;font-weight:400;line-height:40px;margin:0 0 30px 0;")}},yc={name:"ylhn2c",styles:"padding:0 calc(var(--column-gap,16px) / 2) 0;text-align:var(--align,left);width:var(--width,auto);&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;}"},Ac={name:"mu2c9m",styles:"align-items:center;display:flex;flex-wrap:nowrap;gap:8px;&:not(:empty){min-height:32px;padding-bottom:var(--row-gap,8px);}"},xc={name:"5h0m38",styles:"display:inline-flex;flex-direction:column;"},Gc=function(e){var t=e.colorPalette;return{cell:yc,header:d("color:",t.neutralDark,';font-weight:500;padding-top:0;&[data-sortable="true"]{cursor:pointer;}'),headerContainer:Ac,row:d("--highlight-color:",t.highlight,';position:relative;&:not(:last-of-type){border-bottom:var(--row-gap,8px) solid transparent;}&[data-highlight="hover"]:hover,&[data-highlight="hover"][data-selected="true"],&[data-highlight="selected"][data-selected="true"]{&::after{background-color:var(--highlight-color);border-radius:4px;content:\'\';height:calc(100% + 16px);inset:calc(var(--row-gap,8px) / 2 - 8px) -8px auto;position:absolute;z-index:-1;}&:first-of-type::after{height:calc(100% + 16px + calc(var(--row-gap,8px) / 2));top:-8px;}&:last-of-type::after{height:calc(100% + 16px - calc(var(--row-gap,8px) / 2));}}&[data-interactive="true"]{cursor:pointer;}'),sortableIcon:d("color:",t.border,';width:20px;& > path{stroke-width:2.5;}&[data-active="true"]{color:',t.neutralDark,";}"),sortableIndicators:xc,table:d("border-collapse:collapse;border-spacing:0;color:",t.font,";font-family:'Montserrat',sans-serif;font-size:16px;line-height:24px;position:relative;z-index:0;")}},Xc=function(e,t){var n=e.displayValue;return"function"==typeof n?n(t):n};function Zc(){return Zc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Zc.apply(null,arguments)}var wc=n((function(t,n){return e.createElement("svg",Zc({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),gc||(gc=e.createElement("path",{d:"m18 15-6-6-6 6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Wc=t.memo((function(e){var t=e.columnOptions,n=e.column,o=e.row,r=e.styles,i="max"===n.width?"100%":"min"===n.width?"1px":n.width;return g("td",{css:d([r.cell,{"--align":n.align||(null==t?void 0:t.align),"--width":i}],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN1YkNvbXBvbmVudHMuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVlnQiIsImZpbGUiOiJzdWJDb21wb25lbnRzLmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XHJcbmltcG9ydCB7IGdldERpc3BsYXlWYWx1ZSB9IGZyb20gJy4vdXRpbHMnO1xyXG4vLyBAdHJhbnNmb3JtLXBhdGggLi4vLi4vYXNzZXRzL2ljb25zL2xpbmVfY2hldnJvbi1kb3duLnN2Z1xyXG5pbXBvcnQgQ2hldnJvbkRvd24gZnJvbSBcIi4uLy4uL2Fzc2V0cy9pY29ucy9saW5lX2N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ydGFibGUgfHwgaXNTb3J0ZWQpICYmICg8c3BhbiBjc3M9e3N0eWxlcy5zb3J0YWJsZUluZGljYXRvcnN9PlxyXG4gICAgICAgICAgICA8Q2hldnJvblVwIGNzcz17c3R5bGVzLnNvcnRhYmxlSWNvbn0gZGF0YS1hY3RpdmU9e2lzU29ydGVkICYmIHNvcnRlZERpcmVjdGlvbiA9PT0gJ2FzY2VuZGluZyd9Lz5cclxuICAgICAgICAgICAgPENoZXZyb25Eb3duIGNzcz17c3R5bGVzLnNvcnRhYmxlSWNvbn0gZGF0YS1hY3RpdmU9e2lzU29ydGVkICYmIHNvcnRlZERpcmVjdGlvbiA9PT0gJ2Rlc2NlbmRpbmcnfS8+XHJcbiAgICAgICAgICA8L3NwYW4+KX1cclxuXHJcbiAgICAgICAge2NvbHVtbi50aXRsZX1cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L3RoPik7XHJcbmV4cG9ydCBjb25zdCBUYWJsZVJvdyA9ICh7IGNoaWxkcmVuLCBpc0ludGVyYWN0aXZlLCBpc1NlbGVjdGVkLCBvblByZXNzLCByb3dPcHRpb25zLCBzdHlsZXMgfSkgPT4gKDx0ciBjc3M9e1tzdHlsZXMucm93LCB7ICctLWhpZ2hsaWdodC1jb2xvcic6IHJvd09wdGlvbnM/LmhpZ2hsaWdodENvbG9yIH1dfSBvbkNsaWNrPXtvblByZXNzfSBkYXRhLWhpZ2hsaWdodD17cm93T3B0aW9ucz8uaGlnaGxpZ2h0fSBkYXRhLWludGVyYWN0aXZlPXtpc0ludGVyYWN0aXZlfSBkYXRhLXNlbGVjdGVkPXtpc1NlbGVjdGVkfT5cclxuICAgIHtjaGlsZHJlbn1cclxuICA8L3RyPik7XHJcbiJdfQ== */")},Xc(n,o))})),Jc=function(e){var t=e.column,n=e.isSortable,o=e.isSorted,r=e.onPress,i=e.sortedDirection,a=e.styles;return g("th",{css:d([a.cell,a.header],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;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JvdywgeyAnLS1oaWdobGlnaHQtY29sb3InOiByb3dPcHRpb25zPy5oaWdobGlnaHRDb2xvciB9XX0gb25DbGljaz17b25QcmVzc30gZGF0YS1oaWdobGlnaHQ9e3Jvd09wdGlvbnM/LmhpZ2hsaWdodH0gZGF0YS1pbnRlcmFjdGl2ZT17aXNJbnRlcmFjdGl2ZX0gZGF0YS1zZWxlY3RlZD17aXNTZWxlY3RlZH0+XHJcbiAgICB7Y2hpbGRyZW59XHJcbiAgPC90cj4pO1xyXG4iXX0= */"),onClick:r,scope:"col","data-sortable":n},g("div",{css:a.headerContainer},(n||o)&&g("span",{css:a.sortableIndicators},g(wc,{css:a.sortableIcon,"data-active":o&&"ascending"===i}),g(Nr,{css:a.sortableIcon,"data-active":o&&"descending"===i})),t.title))},Hc=function(e){var t=e.children,n=e.isInteractive,o=e.isSelected,r=e.onPress,i=e.rowOptions,a=e.styles;return g("tr",{css:d([a.row,{"--highlight-color":null==i?void 0:i.highlightColor}],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN1YkNvbXBvbmVudHMuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTBCdUciLCJmaWxlIjoic3ViQ29tcG9uZW50cy5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xyXG5pbXBvcnQgeyBnZXREaXNwbGF5VmFsdWUgfSBmcm9tICcuL3V0aWxzJztcclxuLy8gQHRyYW5zZm9ybS1wYXRoIC4uLy4uL2Fzc2V0cy9pY29ucy9saW5lX2NoZXZyb24tZG93bi5zdmdcclxuaW1wb3J0IENoZXZyb25Eb3duIGZyb20gXCIuLi8uLi9hc3NldHMvaWNvbnMvbGluZV9jaGV2cm9uLWRvd24uc3ZnXCI7XHJcbi8vIEB0cmFuc2Zvcm0tcGF0aCAuLi8uLi9hc3NldHMvaWNvb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RpY2F0b3JzfT5cclxuICAgICAgICAgICAgPENoZXZyb25VcCBjc3M9e3N0eWxlcy5zb3J0YWJsZUljb259IGRhdGEtYWN0aXZlPXtpc1NvcnRlZCAmJiBzb3J0ZWREaXJlY3Rpb24gPT09ICdhc2NlbmRpbmcnfS8+XHJcbiAgICAgICAgICAgIDxDaGV2cm9uRG93biBjc3M9e3N0eWxlcy5zb3J0YWJsZUljb259IGRhdGEtYWN0aXZlPXtpc1NvcnRlZCAmJiBzb3J0ZWREaXJlY3Rpb24gPT09ICdkZXNjZW5kaW5nJ30vPlxyXG4gICAgICAgICAgPC9zcGFuPil9XHJcblxyXG4gICAgICAgIHtjb2x1bW4udGl0bGV9XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgPC90aD4pO1xyXG5leHBvcnQgY29uc3QgVGFibGVSb3cgPSAoeyBjaGlsZHJlbiwgaXNJbnRlcmFjdGl2ZSwgaXNTZWxlY3RlZCwgb25QcmVzcywgcm93T3B0aW9ucywgc3R5bGVzIH0pID0+ICg8dHIgY3NzPXtbc3R5bGVzLnJvdywgeyAnLS1oaWdobGlnaHQtY29sb3InOiByb3dPcHRpb25zPy5oaWdobGlnaHRDb2xvciB9XX0gb25DbGljaz17b25QcmVzc30gZGF0YS1oaWdobGlnaHQ9e3Jvd09wdGlvbnM/LmhpZ2hsaWdodH0gZGF0YS1pbnRlcmFjdGl2ZT17aXNJbnRlcmFjdGl2ZX0gZGF0YS1zZWxlY3RlZD17aXNTZWxlY3RlZH0+XHJcbiAgICB7Y2hpbGRyZW59XHJcbiAgPC90cj4pO1xyXG4iXX0= */"),onClick:r,"data-highlight":null==i?void 0:i.highlight,"data-interactive":n,"data-selected":o},t)},Bc=function(e){var t=i(e),n=Y(r(e),2);n[0];var o=n[1],a=i(e);e!==t.current&&(t.current=e,a.current=e);return[a.current,function(e){var t="function"==typeof e?e(a.current):e;a.current=t,o(t)}]},kc=function(e){var t=e.columnOptions,n=e.columns,r=e.data,i=e.id,c=e.keyExtractor,l=void 0===c?function(e){return r.indexOf(e)}:c,s=e.onPressRow,u=e.onSort,b=e.rowOptions,p=e.selectedRow,I=e.sortable,h=e.sorted,C=e.sortedColumn,f=e.sortedDirection,v=void 0===f?"ascending":f,m=o((function(){return n.filter((function(e){return e})).filter((function(e){return I&&!1!==(null==e?void 0:e.sortable)||!1!==I&&(null==e?void 0:e.sortable)}))}),[n,I]),y=m.length>0,A=Y(Bc(C||n.indexOf(m[0])),2),x=A[0],G=A[1],X=Y(Bc(v),2),Z=X[0],w=X[1],J=o((function(){return"string"==typeof x?n.findIndex((function(e){return(null==e?void 0:e.name)===x})):x}),[n,x]),H=o((function(){return y&&!h?function(e,t,n){var o=t.sortableValue,r=F(e);return r.sort((function(e,r){var i,a=o?o(e):Xc(t,e),c=o?o(r):Xc(t,r);return void 0===a?1:void 0===c?-1:("number"==typeof a&&"number"==typeof c?a-c:null==a||null===(i=a.toString())||void 0===i?void 0:i.localeCompare(null==c?void 0:c.toString()))*("ascending"===n?1:-1)})),r}(r,n[J],Z):r}),[n,r,y,h,J,Z]);a((function(){var e;h||(null==u||u(null===(e=n[J])||void 0===e?void 0:e.name,J,Z))}),[h,J,Z]);var B=W(Gc);return g("table",{css:d([B.table,{"--column-gap":null==t?void 0:t.gap,"--row-gap":null==b?void 0:b.gap}],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyQ21CIiwiZmlsZSI6ImluZGV4LmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VFZmZlY3QsIHVzZU1lbW8gfSBmcm9tICdyZWFjdCc7XHJcbmltcG9ydCB7IHVzZVdqZWNPbmVUaGVtZVN0eWxlcyB9IGZyb20gJ3dqZWMtb25lL3RoZW1lJztcclxuaW1wb3J0IHsgZ2V0U3R5bGVzIH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dfJHtyb3dLZXl9YH0gb25QcmVzcz17KCkgPT4gb25QcmVzc1Jvdz8uKHJvdyl9IHJvd09wdGlvbnM9e3Jvd09wdGlvbnN9IHN0eWxlcz17c3R5bGVzfT5cclxuICAgICAgICAgICAgICB7Y29sdW1ucy5tYXAoKGNvbHVtbiwgY29sdW1uSW5kZXgpID0+IChjb2x1bW4gJiYgKDxUYWJsZUNlbGwgY29sdW1uT3B0aW9ucz17Y29sdW1uT3B0aW9uc30gY29sdW1uPXtjb2x1bW59IGtleT17YHJvd18ke3Jvd0tleX1fY29sdW1uXyR7Y29sdW1uLm5hbWUgfHwgY29sdW1uSW5kZXh9YH0gcm93PXtyb3d9IHN0eWxlcz17c3R5bGVzfS8+KSkpfVxyXG4gICAgICAgICAgICA8L1RhYmxlUm93Pik7XHJcbiAgICAgICAgfSl9XHJcbiAgICAgIDwvdGJvZHk+XHJcbiAgICA8L3RhYmxlPik7XHJcbn07XHJcbiJdfQ== */"),id:i},g("colgroup",null,n.map((function(e,t){return e&&g("col",{key:"column_definition_".concat(e.name||t)})}))),g("thead",null,g("tr",null,n.map((function(e,t){return e&&g(Jc,{column:e,isSortable:m.includes(e),isSorted:t===J,key:"column_".concat(e.name||t,"_header"),onPress:function(){return function(e){var t,o=n.indexOf(e);m.includes(e)&&!h&&(G(o),w((function(e){return o===J&&"ascending"===e?"descending":"ascending"}))),null===(t=e.onPressHeader)||void 0===t||t.call(e)}(e)},sortedDirection:Z,styles:B})})))),g("tbody",null,H.map((function(e){var o=l(e);return g(Hc,{isInteractive:"function"==typeof s,isSelected:e===p,key:"row_".concat(o),onPress:function(){return null==s?void 0:s(e)},rowOptions:b,styles:B},n.map((function(n,r){return n&&g(Wc,{columnOptions:t,column:n,key:"row_".concat(o,"_column_").concat(n.name||r),row:e,styles:B})})))}))))},Rc=function(e){var t=e.ariaLabel,n=e.backgroundStyle,c=void 0===n?"filled":n,l=e.disabledTabs,s=void 0===l?[]:l,u=e.id,b=e.keyExtractor,p=e.labelExtractor,I=e.onSelect,h=e.scrollable,C=e.selectedTab,f=e.selectedTabColor,v=e.tabs,m=Y(r(ie(C,v)),2),y=m[0],A=m[1],x=i(),G=ze(Vc),X=o((function(){return s.map((function(e){return ce(e)?e.key:te(e,b,v.indexOf(e))}))}),[s]),Z=o((function(){return ce(y)?y.key:te(y,b,v.indexOf(y))}),[y]);tt("WJEC-One Tabs: You must specify a keyExtractor if the tabs array contains non-primitive entry types",(function(){return!de(v)&&!le(v)&&!b}),[b,v]),a((function(){void 0!==h&&T('WJEC One Tabs: The "scrollable" prop has been deprecated and will be removed in a future version of the library. The Tabs component will now behave as though "scrollable={true}" in all cases')}),[h]),a((function(){A(ie(C,v))}),[C,v]),a((function(){if(x.current){var e=x.current.querySelector("[data-selected]");e&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}}),[x.current,y]);return g("div",{"aria-label":t,ref:x,css:d([G.container,"filled"===c&&G.containerFilled,"transparent"===c&&G.containerTransparent,f&&{"--highlight-color":f}]),id:u},g("div",{css:G.innerContainer},v.map((function(e,t){var n=(ce(e)?e.key:te(e,b,t)).toString(),o=n===Z,r=X.includes(n);return g("button",B({key:n,css:d([G.tab,"filled"===c&&G.tabFilled,"transparent"===c&&G.tabTransparent]),disabled:r,onClick:function(t){var n=t.target;return function(e,t){var n=x.current.querySelector("[data-selected]");ae(I)&&I(e),x.current.style.setProperty("--anim-height","".concat(n.offsetHeight,"px")),x.current.style.setProperty("--anim-left","".concat(n.offsetLeft,"px")),x.current.style.setProperty("--anim-width","".concat(n.offsetWidth,"px")),t.setAttribute("data-animating","true"),n.removeAttribute("data-selected"),t.setAttribute("data-selected","true"),requestAnimationFrame((function(){x.current.style.setProperty("--anim-duration","".concat(150,"ms")),x.current.style.setProperty("--anim-height","".concat(t.offsetHeight,"px")),x.current.style.setProperty("--anim-left","".concat(t.offsetLeft,"px")),x.current.style.setProperty("--anim-width","".concat(t.offsetWidth,"px")),t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"}),window.setTimeout((function(){t.removeAttribute("data-animating"),x.current.style.removeProperty("--anim-duration"),x.current.style.removeProperty("--anim-height"),x.current.style.removeProperty("--anim-left"),x.current.style.removeProperty("--anim-width"),A(e)}),150)}))}(e,n)},type:"button"},o?{"data-selected":!0}:null),ce(e)?e.label:ne(e,p,t))}))))},Vc=function(e){var t=e.colorPalette;return{container:d("--anim-duration:0ms;--anim-height:0;--anim-left:0;--anim-width:0;--highlight-color:",t.secondary,";flex-shrink:0;max-width:100%;position:relative;"),containerFilled:d("--anim-left:10px;--highlight-color:",t.primary,";border-radius:",we.borderRadius,";background-color:",t.neutral,";& > div{padding:10px;&::before{border-radius:",we.borderRadius,";height:var(--anim-height);top:10px;}}"),containerTransparent:d("& > div{padding-bottom:1px;}&::before{border-bottom:1px solid ",t.border,";content:'';left:0;position:absolute;top:28px;width:100%;}"),innerContainer:d(we.scrollbar,";display:flex;overflow-x:auto;position:relative;&::before{background-color:var(--highlight-color);content:'';height:2px;left:var(--anim-left);position:absolute;top:27px;transition:height var(--anim-duration) linear,left var(--anim-duration) ease-in-out,top var(--anim-duration) ease-in-out,width var(--anim-duration) linear;width:var(--anim-width);}"),tab:d("align-items:center;background-color:transparent;border:none;color:",t.font,';cursor:pointer;display:flex;font-family:"Montserrat",sans-serif;font-size:14px;font-weight:400;justify-content:center;line-height:20px;margin:0;outline:none;padding:0;position:relative;scroll-margin:10px;transition:color 100ms linear;white-space:pre;&:not(:last-child){margin-right:20px;}&:disabled{opacity:0.5;}&[data-selected]{font-weight:500;}'),tabFilled:d("border-radius:",we.borderRadius,";padding:5px 10px;&[data-selected]:not([data-animating]){background-color:var(--highlight-color);color:#fff;}&:hover:not([data-animating]):not([data-selected]){background-color:",t.border,";}"),tabTransparent:d("padding:4px 0;&[data-selected]:not([data-animating]){&::after{background-color:var(--highlight-color);border-radius:",we.borderRadius,";content:'';height:2px;left:0;position:absolute;top:calc(100% - 1px);width:100%;}}")}};export{Me as Accordion,_e as Breadcrumb,dt as Button,Ht as Card,qt as Carousel,So as CheckBox,ot as CircularProgress,P as ColorPalette,E as ColorPaletteEduqas,In as ContextHelp,Zn as ContextMenu,_o as DateTimePicker,ht as DestructiveButton,Bn as DragAndDropList,or as Email,mn as Emphasis,ci as ErrorCard,Aa as ErrorNotification,ur as FileInput,yo as FilterList,mi as Footer,No as Form,Hi as Header,ft as IconButton,Ga as InfoNotification,ni as InformationCard,go as Input,zi as LinearProgress,er as Link,yt as LinkButton,Si as LocalizationMenu,la as Modal,pa as Notification,Ni as Page,wa as PageTitle,Ja as Pagination,An as Paragraph,wr as Password,bn as Popup,Na as PopupWindow,At as PrimaryButton,za as PrintLayout,Oa as PrintWindow,Hr as RadioGroup,Pa as ScrollableContainer,xt as SecondaryButton,Ea as SectionHeading,Ta as SectionTitle,Or as Select,_a as SigninForm,pc as SigninMenu,we as StylePalette,Cc as SubParagraph,vc as SubTitle,li as SuccessCard,Za as SuccessNotification,kc as Table,Rc as Tabs,Pr as TextArea,Mr as Toggle,ei as VerificationCodeInput,si as WarningCard};
|
|
1
|
+
import*as e from"react";import t,{forwardRef as n,useMemo as o,useState as r,useRef as i,useEffect as a,useLayoutEffect as c,useImperativeHandle as l,useContext as s}from"react";import{css as d,jsx as g,keyframes as u,Global as b}from"@emotion/core";import{renderToStaticMarkup as p}from"react-dom/server";import{createSimpleAction as I,createContext as h}from"wjec-one/store";import{isCallableFunction as C}from"wjec-one/utils";import{useId as f,useButton as v}from"react-aria";import{useSwipeable as m}from"react-swipeable";import y from"react-dom";import{DragDropContext as A,Droppable as x,Draggable as G}from"react-beautiful-dnd";import{disableBodyScroll as X,clearAllBodyScrollLocks as Z,enableBodyScroll as w}from"body-scroll-lock";import{useWjecOneThemeStyles as W}from"wjec-one/theme";import{StylePalette as H}from"wjec-one";function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function B(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},k.apply(null,arguments)}function R(e){if(null==e)throw new TypeError("Cannot destructure "+e)}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Y(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function z(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 o,r,i,a,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(c.push(o.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return c}}(e,t)||S(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function L(e){return function(e){if(Array.isArray(e))return J(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||S(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function S(e,t){if(e){if("string"==typeof e)return J(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)?J(e,t):void 0}}var O,P=Object.freeze({border:"#BCCBD1",entryLevel:"#6B994D",error:"#D32F2F",errorBackground:"#FBEBEB",errorDark:"#A82424",errorDarker:"#661616",font:"#2E3638",fontLight:"#606A6C",gceALevel:"#516FA2",gceASLevel:"#4D9995",gcse:"#81994D",highlight:"#FFEDC1",neutral:"#F1F3F4",neutralDark:"#2D3538",neutralLight:"#56666C",offBlack:"#001B26",offWhite:"#FAFCFC",otherQualifications:"#A55395",secondary:"#47BAD1",secondaryDark:"#1F6B7A",secondaryDarkActive:"#103840",secondaryLight:"#C0E8F0",secondaryLightActive:"#96CBD6",success:"#43A047",successBackground:"#EDF6ED",successDark:"#3C9040",successDarker:"#2A662D",tertiary:"#FFEDC1",vQAward:"#D86C8B",warning:"#F57C00",warningBackground:"#FEF2E6",warningDark:"#EF6C00",welshBaccAdvanced:"#6E81DC",welshBaccFoundation:"#BF8660",welshBaccNational:"#B4C160",welshBaccKS4:"#B25A6C"}),E=Object.freeze(V(V({},P),{},{primary:"#007DB2",primaryDark:"#00628C",primaryDarkActive:"#004766",primaryLight:"#E5F8FF",primaryLightActive:"#CCF1FF"})),M=Object.freeze(V(V({},P),{},{primary:"#F1511B",primaryDark:"#BF3608",primaryDarkActive:"#BF3608",primaryLight:"#FDB8A1",primaryLightActive:"#FDB8A1"})),T=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];"development"===process.env.NODE_ENV&&t&&function(e){console.error(e)}(e)},D=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];"development"===process.env.NODE_ENV&&t&&function(e){console.warn(e)}(e)},Q=["a[href]","button","details","input",'[tabIndex]:not([tabIndex="-1"])',"textArea","select","summary"].map((function(e){return"".concat(e,":not([disabled])")})),U=["date","format"],K=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],q=["January","February","March","April","May","June","July","August","September","October","November","December"],_="dd/MM/yyyy",$="HH:mm",ee=function(e){var t,n=e.date,o=e.format,r=void 0===o?_:o,i=e.days,a=void 0===i?K:i,c=e.months,l=void 0===c?q:c,s=n.getDate(),d=n.getDay(),g=n.getMonth()+1,u=n.getFullYear().toString(),b=/(dddd)|(ddd)|(dd)|(d)|(MMMM)|(MMM)|(MM)|(M)|(yyyy)|(yy)/g;return(b.test(r)?r:_).replace(b,(function(e){switch(e){case"dddd":t=a[d];break;case"ddd":t=a[d].slice(0,3);break;case"dd":t=s.toString().padStart(2,"0");break;case"d":t=s.toString();break;case"MMMM":t=l[g-1];break;case"MMM":t=l[g-1].slice(0,3);break;case"MM":t=g.toString().padStart(2,"0");break;case"M":t=g.toString();break;case"yyyy":t=u;break;case"yy":t=u.slice(2)}return t}))},te=function(e){var t=e.date,n=e.format,o=void 0===n?"".concat(_," ").concat($):n,r=Y(e,U),i=function(e){var t=e.date,n=e.format,o=void 0===n?$:n,r=e.meridianStrings,i=void 0===r?{am:"am",pm:"pm"}:r,a=/h{1,2}/.test(o),c=a?t.getHours()%12||12:t.getHours();return o.replace(/HH/i,c.toString().padStart(2,"0")).replace(/H/i,c.toString()).replace(/mm/,t.getMinutes().toString().padStart(2,"0")).replace(/SS/,t.getSeconds().toString().padStart(2,"0")).replace(/AM/,a?t.getHours()<12?i.am:i.pm:"")}(V(V({},r),{},{date:t,format:o}));return ee(V(V({},r),{},{date:t,format:i}))},ne=function(e,t,n){var o=e&&e.toString();if(t)if("function"==typeof t)o=t(e,n);else if("string"==typeof t&&"object"===j(e)&&Object.hasOwn(e,t)){var r=e[t];o="number"==typeof r?r:r.toString()}return o},oe=function(e,t,n){var o=e;return t&&("function"==typeof t?o=t(e,n):"string"==typeof t&&"object"===j(e)&&Object.hasOwn(e,t)&&(o=e[t])),o},re=function(e,t){var n=getComputedStyle(e),o=t?/(auto|scroll|hidden)/:/(auto|scroll)/,r="absolute"===n.position,i=function(e){var t=getComputedStyle(e);return(!(r=r&&"static"===t.position)||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX)||"fixed"===t.position?e:e.parentElement===document.documentElement?document.documentElement:i(e.parentElement)};return"fixed"===n.position||e.parentElement===document.documentElement?document.documentElement:i(e.parentElement)},ie=function(e){var n=[],o=function(e){var r;r=e,t.isValidElement(r)?t.Children.forEach(e.props.children,o):n.push(null==e?void 0:e.toString())};return o(e),n.join("")},ae=function(e,t){return e&&t.includes(e)?e:t.length?t[0]:void 0},ce=function(e){return"function"==typeof e},le=function(e){return"object"===j(e)&&2===Object.keys(e).length&&Object.hasOwn(e,"key")&&Object.hasOwn(e,"label")},se=function(e){return Array.isArray(e)&&e.every(le)},de=function(e){return["boolean","number","string"].includes(j(e))},ge=function(e){return Array.isArray(e)&&e.every(de)},ue=function(e){var t=p(e);return/^<svg(.*)<\/svg>$/i.test(t)},be=function(e){return e.preventDefault(),e.stopPropagation(),!1},pe=function(e){if(!ue(e))throw new Error("Only a component that returns SVG markup can be converted to a dataURL");return"url('data:image/svg+xml,".concat(encodeURIComponent(p(e)),"')")},Ie=function(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{limit:500},r=o.beforeDelay,i=o.limit,a=void 0===i?500:i;return function(){for(var o=arguments.length,i=new Array(o),c=0;c<o;c++)i[c]=arguments[c];n?(self.clearTimeout(t),ce(r)&&r.apply(void 0,i),t=self.setTimeout((function(){Date.now()-n>=a&&(e.apply(void 0,i),n=Date.now())}),a-(Date.now()-n))):(e.apply(void 0,i),n=Date.now())}},he=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ce.apply(null,arguments)}var fe,ve=n((function(t,n){return e.createElement("svg",Ce({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),O||(O=e.createElement("path",{d:"M6.767 7.742 10 10.975l3.233-3.233a.83.83 0 1 1 1.175 1.175l-3.825 3.825a.83.83 0 0 1-1.175 0L5.583 8.917a.83.83 0 0 1 0-1.175.848.848 0 0 1 1.184 0Z",fill:"currentColor"})))}));function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},me.apply(null,arguments)}var ye,Ae=n((function(t,n){return e.createElement("svg",me({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),fe||(fe=e.createElement("path",{d:"M12.258 13.233 9.025 10l3.233-3.233a.83.83 0 1 0-1.175-1.175L7.258 9.417a.83.83 0 0 0 0 1.175l3.825 3.825a.83.83 0 0 0 1.175 0 .848.848 0 0 0 0-1.184Z",fill:"currentColor"})))}));function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},xe.apply(null,arguments)}var Ge,Xe=n((function(t,n){return e.createElement("svg",xe({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),ye||(ye=e.createElement("path",{d:"M7.742 13.233 10.975 10 7.742 6.767a.83.83 0 1 1 1.175-1.175l3.825 3.825a.83.83 0 0 1 0 1.175l-3.825 3.825a.83.83 0 0 1-1.175 0 .848.848 0 0 1 0-1.184Z",fill:"currentColor"})))}));function Ze(){return Ze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ze.apply(null,arguments)}var we=n((function(t,n){return e.createElement("svg",Ze({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Ge||(Ge=e.createElement("path",{d:"M6.767 12.258 10 9.025l3.233 3.233a.83.83 0 1 0 1.175-1.175l-3.825-3.825a.83.83 0 0 0-1.175 0l-3.825 3.825a.83.83 0 0 0 0 1.175.848.848 0 0 0 1.184 0Z",fill:"currentColor"})))})),We=Object.freeze({borderRadius:"4px",borderRadiusMedium:"8px",dropShadow:"0px 2px 10px ".concat(E.border),scrollbar:d("&::-webkit-scrollbar{height:14px;width:",14,"px;}&::-webkit-scrollbar-button:single-button{display:block;height:16px;&:horizontal{&:decrement{background:",pe(t.createElement(Ae,{color:E.fontLight}))," 0 -3px / 20px no-repeat;&:hover{background-image:",pe(t.createElement(Ae,{color:E.font})),";}}&:increment{background:",pe(t.createElement(Xe,{color:E.fontLight}))," center -3px / 20px no-repeat;&:hover{background-image:",pe(t.createElement(Xe,{color:E.font})),";}}}&:vertical{&:decrement{background:",pe(t.createElement(we,{color:E.fontLight}))," center 0 / 20px no-repeat;&:hover{background-image:",pe(t.createElement(we,{color:E.font})),";}}&:increment{background:",pe(t.createElement(ve,{color:E.fontLight}))," center -3px / 20px no-repeat;&:hover{background-image:",pe(t.createElement(ve,{color:E.font})),";}}}}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:",E.border,";border:3px solid transparent;border-radius:7px;&:hover{background-color:",E.fontLight,";}}&::-webkit-scrollbar-track{background-clip:padding-box;background-color:",E.neutral,";border:3px solid transparent;border-radius:7px;}"),visiblyHidden:{name:"1dw21dg",styles:"border-width:0;flex:0;height:0;margin:0;max-height:0;max-width:0;min-height:0;min-width:0;opacity:0;overflow:hidden;padding:0;position:absolute;width:0;"}}),He={name:"1bhjuxx",styles:"box-sizing:border-box;&::after,&::before,& *,& *::after,& *::before{box-sizing:inherit;}"},Je=d("&::selection{background-color:",E.highlight,";}"),Be=d("color:",E.neutralDark,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;line-height:16px;"),ke={name:"8uhtka",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"},Re=I("SELECT_BRAND"),Ne=function(e,t){var n=t.payload;return"SELECT_BRAND"===t.type?e.merge({brand:n,colorPalette:"wjec"===n?E:M}):e},Ve={brand:"wjec",colorPalette:E},Ye=function(){var e=h(Ne,Ve,(function(e,t){var n=e.brand,o=t.colorPalette;return{colorPalette:"eduqas"===n?M:o}})),t=e.context,n=e.hook,r=e.provider;return{selectBrand:Re,themeContext:t,WjecOneThemeProvider:r,useWjecOneTheme:n,useWjecOneThemeStyles:function(e){var t=z(n(),1)[0];return o((function(){return C(e)?e(t):e}),[t.brand])}}}(),ze=Ye.useWjecOneTheme,Fe=Ye.useWjecOneThemeStyles,Le=function(e){var t=e.children,n=e.expanded,l=void 0!==n&&n,s=e.id,u=e.onClick,b=e.spacing,p=void 0===b?"normal":b,I=e.title,h=z(r(l),2),C=h[0],v=h[1],m=i(),y=i(),A=f(s),x=o((function(){return"small"===p?16:20}),[p]);a((function(){l!==C&&(l?X():G())}),[l]),c((function(){y.current.style.height=C?"".concat(y.current.scrollHeight,"px"):"0",C&&m.current.setAttribute("open","open")}),[C]);var G=function(){v(!1),ce(u)&&u(!1)},X=function(){v(!0),ce(u)&&u(!0)},Z=Fe(Ee),w=o((function(){return{"--opacity":C?1:0,"--padding-top":C?"".concat(x,"px"):0,"--padding-bottom":C?"".concat(x,"px"):0}}),[C]);return g("details",{css:d([Z.container,C&&Z.containerExpanded],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlEcUIiLCJmaWxlIjoiQWNjb3JkaW9uQ29udGVudC5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgdXNlRWZmZWN0LCB1c2VMYXlvdXRFZmZlY3QsIHVzZU1lbW8sIHVzZVJlZiwgdXNlU3RhdGUgfSBmcm9tICdyZWFjdCc7XHJcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL2NvcmUnO1xyXG5pbXBvcnQgeyBpc0NhbGxhYmxlRnVuY3Rpb24sIHN2Z0NvbXBvbmVudFRvRGF0YVVSTCB9IGZyb20gXCIuLi8uLi91dGlsc1wiO1xyXG4vLyBAdHJhbnNmb3JtLXBhdGggLi4vYXNzZXRzL2ljb25zL2NhcmV0X2Rvd24uc3ZnXHJcbmltcG9ydCBDYXJldERvd24gZnJvbSBcIi4uL2Fzc2V0cy9pY29ucy9jYXJldF9kb3duLnN2Z1wiO1xyXG5pbXBvcnQgeyBib3JkZXJCb3ggfSBmcm9tIFwiLi4vc3R5bGVzL2NvbW1vbi1zdHlsZXNcIjtcclxuaW1wb3J0IHsgdXNlV2plY09uZVRoZW1lU3R5bGVzIH0gZnJvbSBcIi4uLy4uL3RoZW1lXCI7XHJcbmltcG9ydCB7IHVzZUlkIH0gZnJvbSAncmVhY3QtYXJpYSc7XHJcbmNvbnN0IENPTlRFTlRfUEFERElO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clxufSk7XHJcbiJdfQ== */"),"data-accordion-container":!0,id:A,ref:m},g("summary",{css:d([Z.summary,"small"===p&&Z.summarySpacingSmall,C&&Z.summaryExpanded],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFEZSIsImZpbGUiOiJBY2NvcmRpb25Db250ZW50LmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VFZmZlY3QsIHVzZUxheW91dEVmZmVjdCwgdXNlTWVtbywgdXNlUmVmLCB1c2VTdGF0ZSB9IGZyb20gJ3JlYWN0JztcclxuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XHJcbmltcG9ydCB7IGlzQ2FsbGFibGVGdW5jdGlvbiwgc3ZnQ29tcG9uZW50VG9EYXRhVVJMIH0gZnJvbSBcIi4uLy4uL3V0aWxzXCI7XHJcbi8vIEB0cmFuc2Zvcm0tcGF0aCAuLi9hc3NldHMvaWNvbnMvY2FyZXRfZG93bi5zdmdcclxuaW1wb3J0IENhcmV0RG93biBmcm9tIFwiLi4vYXNzZXRzL2ljb25zL2NhcmV0X2Rvd24uc3ZnXCI7XHJcbmltcG9ydCB7IGJvcmRlckJveCB9IGZyb20gXCIuLi9zdHlsZXMvY29tbW9uLXN0eWxlc1wiO1xyXG5pbXBvcnQgeyB1c2VXamVjT25lVGhlbWVTdHlsZXMgfSBmcm9tIFwiLi4vLi4vdGhlbWVcIjtcclxuaW1wb3J0IHsgdXNlSWQgfSBmcm9tICdyZWFjdC1hcmlhJztcclxuY29uc3QgQ09OVEVOVF9QQURESU5HX05PUk1BTCA9IDIwO1xyXG5jb25zdCBDT05URU5UX1BBRERJTkdfU01BTEwgPSAxNjtcclxuZXhwb3J0IGNvbnN0IEFjY29y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aXRpb246IGJvcmRlci1ib3R0b20gMC4wNXMgbGluZWFyIDAuMnM7XHJcblxyXG4gICAgJjo6YWZ0ZXIge1xyXG4gICAgICBiYWNrZ3JvdW5kOiAke3N2Z0NvbXBvbmVudFRvRGF0YVVSTCg8Q2FyZXREb3duIC8+KX1cclxuICAgICAgICAgICAgICAgICAgY2VudGVyIGNlbnRlciAvIDI0cHhcclxuICAgICAgICAgICAgICAgICAgbm8tcmVwZWF0O1xyXG4gICAgICBjb250ZW50OiAnJztcclxuICAgICAgaGVpZ2h0OiAyNHB4O1xyXG4gICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgIHJpZ2h0OiAxMHB4O1xyXG4gICAgICB0b3A6IDUwJTtcclxuICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC01MCUpIHNjYWxlWSgxKTtcclxuICAgICAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuM3MgZWFzZS1pbi1vdXQ7XHJcbiAgICAgIHdpZHRoOiAyNHB4O1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5RXhwYW5kZWQ6IGNzcyBgXHJcbiAgICBib3JkZXItYm90dG9tOiAycHggc29saWQgJHtjb2xvclBhbGV0dGUuYm9yZGVyfTtcclxuICAgIHRyYW5zaXRpb246IGJvcmRlci1ib3R0b20gMC4zcyBlYXNlLWluLW91dDtcclxuXHJcbiAgICAmOjphZnRlciB7XHJcbiAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKSBzY2FsZVkoLTEpO1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5U3BhY2luZ1NtYWxsOiBjc3MgYFxyXG4gICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgbGluZS1oZWlnaHQ6IDE2cHg7XHJcbiAgICBwYWRkaW5nOiAxMnB4IDE2cHg7XHJcbiAgYFxyXG59KTtcclxuIl19 */"),onClick:function(e){e.preventDefault(),!C?X():G()}},I),g("div",{css:d([Z.contentContainer,Z.content,!C&&Z.contentDelays],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZEVyIsImZpbGUiOiJBY2NvcmRpb25Db250ZW50LmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VFZmZlY3QsIHVzZUxheW91dEVmZmVjdCwgdXNlTWVtbywgdXNlUmVmLCB1c2VTdGF0ZSB9IGZyb20gJ3JlYWN0JztcclxuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XHJcbmltcG9ydCB7IGlzQ2FsbGFibGVGdW5jdGlvbiwgc3ZnQ29tcG9uZW50VG9EYXRhVVJMIH0gZnJvbSBcIi4uLy4uL3V0aWxzXCI7XHJcbi8vIEB0cmFuc2Zvcm0tcGF0aCAuLi9hc3NldHMvaWNvbnMvY2FyZXRfZG93bi5zdmdcclxuaW1wb3J0IENhcmV0RG93biBmcm9tIFwiLi4vYXNzZXRzL2ljb25zL2NhcmV0X2Rvd24uc3ZnXCI7XHJcbmltcG9ydCB7IGJvcmRlckJveCB9IGZyb20gXCIuLi9zdHlsZXMvY29tbW9uLXN0eWxlc1wiO1xyXG5pbXBvcnQgeyB1c2VXamVjT25lVGhlbWVTdHlsZXMgfSBmcm9tIFwiLi4vLi4vdGhlbWVcIjtcclxuaW1wb3J0IHsgdXNlSWQgfSBmcm9tICdyZWFjdC1hcmlhJztcclxuY29uc3QgQ09OVEVOVF9QQURESU5HX05PUk1BTCA9IDIwO1xyXG5jb25zdCBDT05URU5UX1BBRERJTkdfU01BTEwgPSAxNjtcclxuZXhwb3J0IGNvbnN0IEFjY29yZGlvbkNvbnRlbnQgPSAoeyBjaGlsZHJlbiwgZXhwYW5kZWQgPSBmY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yXG4gICAgJjo6YWZ0ZXIge1xyXG4gICAgICBiYWNrZ3JvdW5kOiAke3N2Z0NvbXBvbmVudFRvRGF0YVVSTCg8Q2FyZXREb3duIC8+KX1cclxuICAgICAgICAgICAgICAgICAgY2VudGVyIGNlbnRlciAvIDI0cHhcclxuICAgICAgICAgICAgICAgICAgbm8tcmVwZWF0O1xyXG4gICAgICBjb250ZW50OiAnJztcclxuICAgICAgaGVpZ2h0OiAyNHB4O1xyXG4gICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgIHJpZ2h0OiAxMHB4O1xyXG4gICAgICB0b3A6IDUwJTtcclxuICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC01MCUpIHNjYWxlWSgxKTtcclxuICAgICAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuM3MgZWFzZS1pbi1vdXQ7XHJcbiAgICAgIHdpZHRoOiAyNHB4O1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5RXhwYW5kZWQ6IGNzcyBgXHJcbiAgICBib3JkZXItYm90dG9tOiAycHggc29saWQgJHtjb2xvclBhbGV0dGUuYm9yZGVyfTtcclxuICAgIHRyYW5zaXRpb246IGJvcmRlci1ib3R0b20gMC4zcyBlYXNlLWluLW91dDtcclxuXHJcbiAgICAmOjphZnRlciB7XHJcbiAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKSBzY2FsZVkoLTEpO1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5U3BhY2luZ1NtYWxsOiBjc3MgYFxyXG4gICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgbGluZS1oZWlnaHQ6IDE2cHg7XHJcbiAgICBwYWRkaW5nOiAxMnB4IDE2cHg7XHJcbiAgYFxyXG59KTtcclxuIl19 */"),style:w},g("div",{css:d([Z.content,!C&&Z.contentDelays],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64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FyZXREb3duIC8+KX1cclxuICAgICAgICAgICAgICAgICAgY2VudGVyIGNlbnRlciAvIDI0cHhcclxuICAgICAgICAgICAgICAgICAgbm8tcmVwZWF0O1xyXG4gICAgICBjb250ZW50OiAnJztcclxuICAgICAgaGVpZ2h0OiAyNHB4O1xyXG4gICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgIHJpZ2h0OiAxMHB4O1xyXG4gICAgICB0b3A6IDUwJTtcclxuICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC01MCUpIHNjYWxlWSgxKTtcclxuICAgICAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuM3MgZWFzZS1pbi1vdXQ7XHJcbiAgICAgIHdpZHRoOiAyNHB4O1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5RXhwYW5kZWQ6IGNzcyBgXHJcbiAgICBib3JkZXItYm90dG9tOiAycHggc29saWQgJHtjb2xvclBhbGV0dGUuYm9yZGVyfTtcclxuICAgIHRyYW5zaXRpb246IGJvcmRlci1ib3R0b20gMC4zcyBlYXNlLWluLW91dDtcclxuXHJcbiAgICAmOjphZnRlciB7XHJcbiAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKSBzY2FsZVkoLTEpO1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5U3BhY2luZ1NtYWxsOiBjc3MgYFxyXG4gICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgbGluZS1oZWlnaHQ6IDE2cHg7XHJcbiAgICBwYWRkaW5nOiAxMnB4IDE2cHg7XHJcbiAgYFxyXG59KTtcclxuIl19 */"),"data-accordion-content":!0,ref:y},t)))};Le.displayName="AccordionContent";var je={name:"w2zbrk",styles:"opacity:var(--opacity);overflow:hidden;padding:var(--padding-top) 16px var(--padding-bottom) 16px;"},Se={name:"8194xo",styles:"overflow:hidden;transition:height 0.2s linear,opacity 0.1s linear 0.15s,padding-top 0.2s linear,padding-bottom 0.2s linear;"},Oe={name:"114c0jv",styles:"transition-delay:0.05s,0s,0.05s,0.05s;"},Pe={name:"1o9q230",styles:"font-size:14px;line-height:16px;padding:12px 16px;"},Ee=function(e){var t=e.colorPalette;return{container:d(He,";border-bottom:2px solid ",t.border,";font-family:'Montserrat',sans-serif;font-size:16px;line-height:24px;position:relative;color:",t.font,";transition:border-bottom 0.3s ease-in-out;&:hover{border-bottom:2px solid ",t.primary,";}"),contentContainer:je,containerExpanded:d("border-bottom:2px solid ",t.secondary,";&:hover > summary{border-bottom:2px solid ",t.primary,";transition:border-bottom-color 0.3s ease-in-out;}"),content:Se,contentDelays:Oe,summary:d("align-items:flex-start;background-color:transparent;border:none;border-bottom:0 solid transparent;color:",t.font,";cursor:pointer;display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:16px;line-height:24px;outline:none;padding:16px;position:relative;text-align:left;transition:border-bottom 0.05s linear 0.2s;&::after{background:",pe(g(ve,null))," center center / 24px no-repeat;content:'';height:24px;position:absolute;right:10px;top:50%;transform:translateY(-50%) scaleY(1);transition:transform 0.3s ease-in-out;width:24px;}"),summaryExpanded:d("border-bottom:2px solid ",t.border,";transition:border-bottom 0.3s ease-in-out;&::after{transform:translateY(-50%) scaleY(-1);}"),summarySpacingSmall:Pe}},Me=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.Children.toArray(e).map((function(e,t){return t<n.length?n[t]:e.props.expanded}))},Te=function(e){var n=e.children,o=e.exclusive,i=e.id,c=e.spacing,l=void 0===c?"normal":c,s=z(r(Me(n)),2),d=s[0],u=s[1];a((function(){!function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=0,r=!1;if(t.Children.forEach(e,(function(e){e.props.expanded&&o++,("object"!==j(e)||"AccordionContent"!==e.type.name&&"AccordionContent"!==e.type.displayName)&&(r=!0)})),n&&o>1)throw new Error('Accordion with "exclusive" flag can only have one expanded content section');if(r)throw new Error("Accordion content must be wrapped in an Accordion.Content component")}(n,o),u((function(e){return Me(n,e)}))}),[n,o]);var b=function(e,t){return function(n){u((function(t){var r=o&&n?Array(t.length).fill(!1):L(t);return r[e]=n,r})),ce(t)&&t(n)}};return g("div",{id:i,css:Qe},t.Children.map(n,(function(e,n){return t.cloneElement(e,{expanded:d[n],onClick:b(n,e.props.onClick),spacing:e.props.spacing||l})})))};Te.Content=Le;var De,Qe=d(He,";width:100%;");function Ue(){return Ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ue.apply(null,arguments)}var Ke,qe,_e=n((function(t,n){return e.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",ref:n},t),De||(De=e.createElement("path",{d:"M13.333 2.667V3.6c0 2.24 0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748C10.294 10 9.174 10 6.933 10H2.667m0 0L6 6.667M2.667 10 6 13.333",stroke:"#004766",strokeWidth:1.333,strokeLinecap:"round",strokeLinejoin:"round"})))})),$e=function(e){var n=e.breadcrumbs,o=e.id,r=e.keyExtractor,i=e.labelExtractor,a=e.onClick,c=e.showCurrent,l=void 0===c||c,s=Fe(tt);return g("ul",{css:s.list,id:o},n.map((function(e,o){var c,u=function(e,t){return le(e)?e.key:ne(e,r,t)}(e,o),b=o===n.length-1;return g(t.Fragment,{key:u},(l||!b)&&g("li",{css:s.listItem},g("a",{"aria-current":!!b&&"page",css:d([s.breadCrumb,!b&&s.hoverEffect],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJyZWFkY3J1bWIuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCNkQiLCJmaWxlIjoiQnJlYWRjcnVtYi5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZn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bWFyZ2luLXJpZ2h0OiAxMnB4O1xyXG4gICAgfVxyXG4gIGBcclxufSk7XHJcbiJdfQ== */"),"data-current-crumb":le(e)?e.label:oe(e,i,o),href:"#",onClick:b?void 0:(c=u,function(){return ce(a)&&a(c)})},le(e)?e.label:oe(e,i,o))))})))},et={name:"1c386kp",styles:"display:flex;font-family:'Montserrat',sans-serif;font-size:12px;list-style:none;margin:0;padding:0;"},tt=function(e){var t=e.colorPalette;return{breadCrumb:d("color:",t.neutralDark,";display:inline-block;font-size:16px;line-height:16px;padding:4px 12px;text-decoration:none;text-decoration-color:transparent;&::before{content:attr(data-current-crumb);display:block;font-weight:700;height:0;overflow:hidden;visibility:hidden;}"),hoverEffect:d("&:hover{cursor:pointer;font-weight:700;text-decoration:underline;text-decoration-color:",t.neutralDark,";}"),list:et,listItem:d("align-items:center;display:flex;gap:12px;&::before,&::after{background-repeat:no-repeat;background-size:contain;height:16px;width:16px;}&:first-of-type:not(:last-of-type)::before{background-image:",pe(g(_e,{color:t.primaryDarkActive})),";content:'';}&:not(:last-of-type)::after{background-image:",pe(g(Xe,{color:t.primaryDarkActive})),";content:'';margin-right:12px;}")}},nt=function(e,t){a((function(){if(t())throw new Error(e)}),arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])},ot=126,rt=function(e){var t=e.color,n=e.id,r=e.progress,i=void 0===r,a=o((function(){return r&&ot-Math.min(Math.max(r,0),100)/100*ot}),[r]),c=Fe(st);return g("div",{css:d([c.container,i?c.containerIndeterminate:c.containerStatic]),id:n},g("svg",{"aria-label":"loading",css:c.svgContainer,style:{"--color":t},viewBox:"22 22 44 44"},g("circle",{css:d([c.circle,i?c.circleIndeterminate:c.circleStatic]),cx:"44",cy:"44",fill:"none",r:"20.2",strokeWidth:"3.6",style:{"--dashoffset":a}})))},it=u(Ke||(Ke=F(["\n 100% { transform: rotate(360deg); }\n"]))),at=u(qe||(qe=F(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n"]))),ct={name:"1uu7u3w",styles:"height:20px;width:20px;"},lt={name:"4dsd3s",styles:"transform:rotate(-90deg);"},st=function(e){var t=e.colorPalette;return{circle:d("--dashoffset:",ot,";stroke:currentColor;stroke-dasharray:80px,200px;stroke-dashoffset:var(--dashoffset);"),circleIndeterminate:d("animation:",at," 1.4s ease-in-out infinite;"),circleStatic:d("stroke-dasharray:",ot,"px;transition:stroke-dashoffset 0.3s ease-out;"),container:ct,containerIndeterminate:d("animation:",it," 1.4s linear infinite;"),containerStatic:lt,svgContainer:d("--color:",t.secondary,";color:var(--color);")}},dt=function(e,t){a((function(){t()&&D(e)}),arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])},gt=function(e){var n=e.buttonStyle,o=void 0===n?"filled":n,r=e.iconSize,a=void 0===r?"normal":r,c=e.loadingColor,l=e.onClick,s=e.showOutline,u=e.activeColor,b=e.allowEventPropagation,p=void 0!==b&&b,I=e.ariaLabel,h=e.borderColor,C=e.buttonType,f=void 0===C?"button":C,m=e.color,y=e.children,A=e.disabled,x=e.focusColor,G=e.hoverColor,X=e.icon,Z=e.iconColor,w=e.iconColorActive,W=e.iconPosition,H=void 0===W?"left":W,J=e.id,B=e.label,R=e.labelColor,N=e.labelColorActive,V=e.loading,Y=e.loadingProgress,F=e.onPress,L=void 0===F?l:F,j=e.outlineColor,S=e.size,O=void 0===S?"normal":S;!function(e){var t=e.buttonStyle,n=e.iconSize,o=e.loadingColor,r=e.onClick,i=e.showOutline;dt('WJEC One Button: The "iconSize" prop has been deprecated for design reasons and will be removed in a future version of the library. Button components will now always behave as though `iconSize="normal"`',(function(){return"filled"!==t}),[t]),dt('WJEC One Button: The "buttonStyle" prop has been deprecated for design reasons and will be removed in a future version of the library. Button components will now always behave as though `buttonStyle="filled"`',(function(){return"normal"!==n}),[n]),dt('WJEC One Button: The "loadingColor" prop has been deprecated for design reasons and will be removed in a future version of the library. Button components will now render with a suitable loading color depending on whether the background color is light/dark',(function(){return void 0!==o}),[o]),dt('WJEC One Button: The "onClick" prop has been deprecated in favor of "onPress" for accessibility reasons and will be removed in a future version of the library. Switch to using "onPress" instead of "onClick" as soon as possible in order to avoid unexpected behavior in future',(function(){return void 0!==r}),[r]),dt('WJEC One Button: The "showOutline" prop has been deprecated for accessibility reasons and will be removed in a future version of the library. The Button component will now behave as though "showOutline={true}" in all cases',(function(){return void 0!==i}),[i])}({buttonStyle:o,iconSize:a,loadingColor:c,onClick:l,showOutline:s}),nt("WJEC One Button: Icon must be a valid SVGComponent",(function(){return X&&!ue(t.createElement(X))}),[X]),nt("WJEC One Button: A Button must have a label and/or icon",(function(){return!y&&!X&&!B}),[y,X,B]);var P=i(),E=z(ze(),1)[0].colorPalette,M={"--active-background-color":u,"--background-color":m,"--border-color":h,"--focus-background-color":x,"--hover-background-color":G,"--icon-color":Z,"--icon-color-active":w,"--label-color":R,"--label-color-active":N,"--outline-color":j,"--padding":"large"===O?"8px 24px":"small"===O?"2px 8px":void 0},T=Fe(ht),D=function(){return g(X,{"aria-hidden":!0,css:d([T.icon,(B||y)&&X&&("left"===H?T.iconLeft:T.iconRight)])})},Q=v({id:J,isDisabled:A,onPress:L,type:f},P).buttonProps;return g("button",k({"aria-label":I},Q,{ref:P,css:T.button,onClick:function(e){p||e.stopPropagation()},style:M,"data-loading":V||void 0}),X&&"left"===H&&D(),B||y,X&&"right"===H&&D(),V&&g("div",{css:T.loading},g(rt,{color:R||E.neutralDark,progress:Y})))},ut={name:"18kopw8",styles:"color:var(--icon-color);flex-shrink:0;height:24px;opacity:0.6;transition:inherit;width:24px;"},bt={name:"15ro776",styles:"margin-right:4px;"},pt={name:"15fzge",styles:"margin-left:4px;"},It={name:"c524f5",styles:"left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"},ht=function(e){var t=e.colorPalette;return{button:d("--active-background-color:",t.neutralLight,";--background-color:",t.neutral,";--border-color:transparent;--focus-background-color:var(--background-color);--hover-background-color:",t.border,";--label-color:",t.neutralDark,";--label-color-active:#FFFFFF;--outline-color:",t.primary,";--padding:8px;--icon-color:var(--label-color);--icon-color-active:var(--label-color-active);",He,";align-items:center;background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",We.borderRadius,";color:var(--label-color);cursor:pointer;display:flex;font-family:'Montserrat',sans-serif;font-size:16px;font-weight:600;height:40px;justify-content:center;letter-spacing:0.5px;line-height:24px;padding:var(--padding);position:relative;transition:background-color 0.05s linear,color 0.05s linear;white-space:pre-wrap;&:disabled{background-color:",t.neutral,";color:",t.border,";cursor:not-allowed;& > svg{color:",t.border,';}}&:focus{background-color:var(--focus-background-color);outline:1px solid var(--outline-color);outline-offset:-3px;}&:not(:disabled,[data-loading="true"]):hover{background-color:var(--hover-background-color);}&:not(:disabled,[data-loading="true"]):active{background-color:var(--active-background-color);color:var(--label-color-active);& > svg{color:var(--icon-color-active);}}&[data-loading="true"]{color:transparent;& > svg{color:transparent;}}'),icon:ut,iconLeft:bt,iconRight:pt,loading:It}},Ct=function(e){var t=Object.assign({},(R(e),e)),n=z(ze(),1)[0].colorPalette;return g(gt,k({},t,{activeColor:n.errorDarker,color:n.error,hoverColor:n.errorDark,iconColor:"#FFFFFF",labelColor:"#FFFFFF",outlineColor:"#FFFFFF"}))},ft=["icon","iconColor","loading"],vt=function(e){var t=e.icon,n=e.iconColor,o=e.loading,r=Y(e,ft),i=z(ze(),1)[0].colorPalette;return g(gt,k({},r,{color:o?i.neutral:"transparent",loading:o}),g(t,{css:mt.icon,style:{"--icon-color":n},"aria-hidden":!0}))},mt={icon:{name:"1s88svv",styles:"color:var(--icon-color);flex-shrink:0;height:24px;transition:inherit;width:24px;"}},yt=["loading"],At=function(e){var t=e.loading,n=Y(e,yt),o=z(ze(),1)[0].colorPalette;return nt("WJEC One LinkButton: A LinkButton cannot have an unaccompanied icon",(function(){return n.icon&&!(n.children||n.label)}),[n]),g(gt,k({},n,{loading:t,color:t?o.neutral:"transparent",iconColor:o.fontLight,labelColor:o.primaryDark}))},xt=function(e){var t=Object.assign({},(R(e),e)),n=z(ze(),1)[0].colorPalette;return g(gt,k({},t,{activeColor:n.primaryDarkActive,color:n.primary,hoverColor:n.primaryDark,iconColor:"#FFFFFF",labelColor:"#FFFFFF",outlineColor:"#FFFFFF"}))},Gt=function(e){var t=Object.assign({},(R(e),e)),n=z(ze(),1)[0].colorPalette;return g(gt,k({},t,{activeColor:n.secondary,borderColor:t.disabled?"none":n.secondaryDark,color:"#FFFFFF",focusColor:n.secondaryLight,hoverColor:n.secondaryLight,labelColor:n.secondaryDark,labelColorActive:n.secondaryDark,outlineColor:"#FFFFFF"}))},Xt=function(e,t,n){c((function(){var o,r,i,a,c,l;(null==n||null===(o=n.current)||void 0===o||null===(r=o.style)||void 0===r?void 0:r.getPropertyValue(e))!==t&&(null==t?null==n||null===(i=n.current)||void 0===i||null===(a=i.style)||void 0===a||a.removeProperty(e):null==n||null===(c=n.current)||void 0===c||null===(l=c.style)||void 0===l||l.setProperty(e,t.toString()))}))};const Zt="undefined"!=typeof document?t.useLayoutEffect:()=>{};let wt=0;const Wt=new Map;function Ht(e){let[t,n]=r();return Zt((()=>{if(!e)return;let t=Wt.get(e);if(t)n(t.element.id);else{let o="react-aria-description-"+wt++;n(o);let r=document.createElement("div");r.id=o,r.style.display="none",r.textContent=e,document.body.appendChild(r),t={refCount:0,element:r},Wt.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),Wt.delete(e))}}),[e]),{"aria-describedby":e?t:void 0}}var Jt,Bt=function(e){var t=e.ariaDescription,n=e.borderColor,o=e.children,r=e.id,a=e.padding,c=i(),l=Ht(t);return Xt("--padding",a,c),Xt("--border-color",n,c),g("div",k({css:kt.cardMain,id:r,ref:c},l),o)},kt={cardMain:d("--border-color:none;--padding:30px 30px;background-color:#ffffff;border:1px solid var(--border-color);border-radius:",We.borderRadius,";box-shadow:",We.dropShadow,";padding:var(--padding);position:relative;")},Rt={name:"fup5xt",styles:"align-items:center;display:flex;justify-content:space-between;margin:30px 30px 0;"},Nt={name:"hv8m74",styles:"display:flex;justify-content:center;list-style:none;margin:0;padding:0;width:100%;"},Vt={name:"1fyoaf7",styles:"display:inline-block;flex-shrink:0;height:100%;width:100%;"},Yt={name:"103tnj5",styles:"--transition-duration:200ms;--translate-x:unset;display:flex;height:100%;position:relative;transform:translateX(var(--translate-x));width:100%;&[data-animating]{transition:transform ease-out var(--transition-duration);}&[data-swiping]{user-select:none;}& > *{flex-shrink:0;}"},zt=function(e){var t=e.colorPalette;return{container:d(He,";display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%;"),controls:Rt,dot:d("cursor:pointer;padding:5px;&::before{background-color:",t.border,";border:1px solid transparent;border-radius:3px;content:'';display:block;height:5px;transition:background-color 150ms linear,border-color 150ms linear;width:20px;}"),dotActive:d("&::before{background-color:",t.secondary,";border-color:",t.secondary,";}"),dots:Nt,navigationButton:d("align-items:center;background-color:",t.neutral,";border:none;border-radius:10px;cursor:pointer;display:flex;flex-shrink:0;height:20px;justify-content:center;outline:none;transition:opacity 100ms linear;width:40px;&:disabled{cursor:default;opacity:0;}"),navigationIcon:d("color:",t.fontLight,";height:15px;"),slide:Vt,slides:Yt}};function Ft(){return Ft=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ft.apply(null,arguments)}var Lt,jt=n((function(t,n){return e.createElement("svg",Ft({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Jt||(Jt=e.createElement("path",{d:"M9.412 3.921a.831.831 0 0 1 1.176 1.175l-4.063 4.07h9.308a.833.833 0 1 1 0 1.667H6.525l4.063 4.07a.831.831 0 0 1-1.176 1.176L4.04 10.707a1 1 0 0 1 0-1.414L9.412 3.92Z",fill:"currentColor"})))}));function St(){return St=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},St.apply(null,arguments)}var Ot,Pt,Et,Mt=n((function(t,n){return e.createElement("svg",St({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Lt||(Lt=e.createElement("path",{d:"M10.588 3.921a.831.831 0 0 0-1.176 1.175l4.063 4.07H4.167a.833.833 0 1 0 0 1.667h9.308l-4.063 4.07a.831.831 0 0 0 1.176 1.176l5.372-5.372a1 1 0 0 0 0-1.414L10.588 3.92Z",fill:"currentColor"})))})),Tt=function(e){var t=e.direction,n=e.disabled,o=e.onClick,r=Fe(zt);return g("button",{css:r.navigationButton,disabled:n,onClick:o,type:"button"},g("next"===t?Mt:jt,{css:r.navigationIcon}))},Dt=function(e){var t=e.active,n=e.onClick,o=Fe(zt);return g("li",{css:d([o.dot,t&&o.dotActive]),onClick:n})},Qt=function(e,t){return(e+1)%t},Ut=function(e,t){return(e+t-1)%t},Kt=function(e,t,n){var o=n-t+Math.floor((n-1)/2)+e;return o>n-1?o%n:o},qt=function(e,t,n){var o=function(e,t){var n=t.children[e];return Math.round(t.offsetWidth/2-n.offsetLeft-n.offsetWidth/2)}(e+t,n);n.style.setProperty("--translate-x","".concat(o,"px"))},_t=n((function(e,n){var s=e.buffer,d=void 0===s?1:s,u=e.children,b=e.id,p=e.infinite,I=e.onChange,h=e.showNavigationButtons,C=void 0===h||h,f=e.showNavigationDots,v=void 0===f||f,y=e.simulateMouseSwipe,A=e.slideIndex,x=void 0===A?0:A,G=e.slideTransitionDuration,X=void 0===G?200:G,Z=i(),w=i(),W=z(r(x),2),H=W[0],J=W[1],B=o((function(){return p?d:0}),[d,p]),R=o((function(){return t.Children.toArray(u)}),[u]),N=o((function(){return R.length}),[R]),V=o((function(){return N>0&&(C||v)}),[C,v,N]),Y=o((function(){var e=Object.keys(R).map((function(e){return parseInt(e)}));return p&&e.sort((function(e,t){return Kt(e,H,N)-Kt(t,H,N)})),e}),[H,R,p,N]);c((function(){N>0&&qt(Y.indexOf(H),B,null==w?void 0:w.current)}),[H,B,N,Y]),a((function(){var e,t=Math.max(0,Math.min(N-1,x));null!=w&&null!==(e=w.current)&&void 0!==e&&e.hasAttribute("data-animating")||t===H||j(t)}),[x]),a((function(){var e=Z.current.offsetHeight,t=Z.current.offsetWidth,n=new ResizeObserver((function(n){var o=z(n,1)[0].contentRect,r=o.height,i=o.width;r===e&&i===t||(e=r,t=i,qt(Y.indexOf(H),B,null==w?void 0:w.current))}));return n.observe(Z.current),function(){n.disconnect()}}),[H,B,Y]);var F=Ie((function(){if(p||H<N-1){var e=Qt(H,N);j(e)}}),{limit:X+1}),L=Ie((function(){if(p||H>0){var e=Ut(H,N);j(e)}}),{limit:X+1}),j=function(e){if(e!==H){var t=function(){w.current.removeAttribute("data-animating"),w.current.removeAttribute("data-swiping"),J(e),ce(I)&&I(e)};X>0?(w.current.setAttribute("data-animating","true"),w.current.addEventListener("transitionend",t,{once:!0}),qt(Y.indexOf(e),B,null==w?void 0:w.current)):t()}};l(n,(function(){return{goToNextSlide:F,goToPreviousSlide:L,goToSlide:j}}));var S=function(e){for(var n=[],o="before"===e?Y[0]:Y[N-1],r=0;r<B;r++)"before"===e&&(o=Ut(o,N),n.unshift(o)),"after"===e&&(o=Qt(o,N),n.push(o));return n.map((function(n){return t.cloneElement(R[n],{key:"buffer_".concat(e,"_").concat(n)})}))},O=m({onSwiped:function(e){var t,n=e.deltaX,o=e.dir;if(w.current.hasAttribute("data-swiping")){var r=(t=Y.indexOf(H)+B,(null==w?void 0:w.current).children[t].offsetWidth/3);Math.abs(n)>=r?"Left"===o?F():L():w.current.removeAttribute("data-swiping")}},onSwiping:function(e){var t=e.velocity;!w.current.hasAttribute("data-swiping")&&t>.33&&w.current.setAttribute("data-swiping","true")},trackMouse:y}),P=Fe(zt);return Xt("--transition-duration","".concat(X,"ms"),w),g("div",{ref:Z,css:P.container,id:b,"data-carousel-container":!0},g("div",k({},O,{ref:function(e){w.current=e,O.ref(e)},css:P.slides,"data-carousel-slides-container":!0}),S("before"),Y.map((function(e){return R[e]})),S("after")),V&&g("div",{css:P.controls},C&&g(Tt,{direction:"previous",disabled:0===H&&!p,onClick:L}),v&&g("ol",{css:P.dots},R.map((function(e,t){return g(Dt,{key:"slide_".concat(t),active:t===H,onClick:function(){return j(t)}})}))),C&&g(Tt,{direction:"next",disabled:H===N-1&&!p,onClick:F})))}));function $t(){return $t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},$t.apply(null,arguments)}var en,tn=n((function(t,n){return e.createElement("svg",$t({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Ot||(Ot=e.createElement("path",{d:"M9.167 15h1.666v-1.667H9.167V15Z",fill:"currentColor"})),Pt||(Pt=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.667 10C1.667 5.4 5.4 1.667 10 1.667S18.333 5.4 18.333 10 14.6 18.333 10 18.333A8.336 8.336 0 0 1 1.667 10Zm1.666 0A6.675 6.675 0 0 0 10 16.667 6.675 6.675 0 0 0 16.667 10 6.676 6.676 0 0 0 10 3.333 6.676 6.676 0 0 0 3.333 10Z",fill:"currentColor"})),Et||(Et=e.createElement("path",{d:"M10 5a3.332 3.332 0 0 0-3.333 3.333h1.666c0-.916.75-1.666 1.667-1.666s1.667.75 1.667 1.666c0 1.667-2.5 1.459-2.5 4.167h1.666c0-1.875 2.5-2.083 2.5-4.167A3.332 3.332 0 0 0 10 5Z",fill:"currentColor"})))})),nn={name:"115actz",styles:"display:inline-flex;position:relative;"},on={name:"1ixbp0l",styles:"pointer-events:none;"},rn={name:"13v3rg8",styles:"overflow-y:auto;"},an={name:"17ju33v",styles:"--cursor:pointer;cursor:var(--cursor);display:inline-flex;"},cn=function(e){var t=e.colorPalette;return{container:nn,popup:d("--background-color:#fff;--color:",t.font,";--margin:10px;--max-height:300px;--max-width:300px;--padding:10px;--position-x:0;--position-y:0;font-family:'Montserrat',sans-serif;font-size:14px;left:var(--position-x);line-height:20px;margin:var(--margin);max-height:var(--max-height);max-width:var(--max-width);min-width:",175,"px;opacity:0;outline:none;pointer-events:none;position:absolute;text-align:left;top:var(--position-y);transition:opacity ",100,"ms linear;width:max-content;z-index:1;"),popupContent:d("--translate-x:0;--translate-y:0;",He,";",We.scrollbar,";background-color:var(--background-color);border-radius:",We.borderRadius,";box-shadow:",We.dropShadow,";color:var(--color);padding:var(--padding);pointer-events:auto;overflow-x:hidden;overflow-y:hidden;transform:translate(var(--translate-x),var(--translate-y));"),popupOnHover:on,popupContentScrollable:rn,toggle:an,toggleString:d("border-bottom:2px dotted ",t.secondary,";")}},ln=function(e,t,n,o,r){var i;if("bottom"===e){var a=o.clientHeight-(n.top+t.offsetHeight);i="floating"===r?a:a+(o.scrollTop+o.offsetTop)}if("left"===e&&(i="floating"===r?n.left:n.left-o.scrollLeft-o.offsetLeft),"right"===e){var c=o.clientWidth-(n.left+t.offsetWidth);i="floating"===r?c:c+(o.scrollLeft+o.offsetLeft)}return"top"===e&&(i="floating"===r?n.top:n.top-o.scrollTop-o.offsetTop),i},sn=function(e){var t=window.getComputedStyle(e);return{bottom:parseInt(t.marginBottom),left:parseInt(t.marginLeft),right:parseInt(t.marginRight),top:parseInt(t.marginTop)}},dn=function(e,t){var n;if("sibling"===t)n={left:e.offsetLeft,top:e.offsetTop};else{var o=e.getBoundingClientRect();n={left:Math.floor(o.left),top:Math.floor(o.top)}}return n},gn=function(e,t,n,o){if(e&&t){var r=0,i=0,a=o.startsWith("bottom")||o.startsWith("top")?"vertical":"horizontal",c={height:e.offsetHeight,width:e.offsetWidth},l=re(e),s={height:t.offsetHeight,width:t.offsetWidth},d=dn(t,n),g=sn(e),u=g.bottom,b=g.left,p=g.right,I=g.top;"horizontal"===a&&(i=d.top+s.height/2-c.height/2-I,o.startsWith("left")&&(r=d.left-c.width-b-p),o.startsWith("right")&&(r=d.left+s.width),o.endsWith("-end")&&(i=d.top+s.height-c.height-I),o.endsWith("-start")&&(i=d.top-I)),"vertical"===a&&(r=d.left+s.width/2-c.width/2-b,o.startsWith("bottom")&&(i=d.top+s.height),o.startsWith("top")&&(i=d.top-c.height-u-I),o.endsWith("-end")&&(r=d.left+s.width-c.width-b),o.endsWith("-start")&&(r=d.left-b)),"floating"===n&&(r+=l.scrollLeft,i+=l.scrollTop),e.style.setProperty("--position-x","".concat(r,"px")),e.style.setProperty("--position-y","".concat(i,"px"))}},un=function(e,t,n,r,i,c){var l=o((function(){return"sibling"===n&&null!=t&&t.current?re(t.current):null}),[n,null==t?void 0:t.current]);a((function(){var o,a;i&&(o=new IntersectionObserver((function(o){o.forEach((function(o){var i,a=o.isIntersecting,l=o.target;l===(null==e?void 0:e.current)&&a&&function(e,t,n,o){var r=o.startsWith("bottom")||o.startsWith("top")?"vertical":"horizontal",i=re(e),a=dn(t.parentElement,n),c=0,l=0,s=sn(e),d=s.bottom,g=s.left,u=s.right,b=s.top;if("horizontal"===r){var p=ln("left",t,a,i,n),I=ln("right",t,a,i,n),h=p<e.offsetWidth+u,C=I<e.offsetWidth+g;(o.startsWith("left")&&h&&!C||o.startsWith("right")&&C&&!h)&&(c=(t.offsetWidth+e.offsetWidth+g+u)*(o.startsWith("left")?1:-1)),e.firstElementChild.style.setProperty("--translate-x","".concat(c,"px"))}if("vertical"===r){var f=ln("top",t,a,i,n),v=ln("bottom",t,a,i,n),m=f<e.offsetHeight+d,y=v<e.offsetHeight+b;(o.startsWith("bottom")&&y&&!m||o.startsWith("top")&&m&&!y)&&(l=(t.offsetHeight+e.offsetHeight+b+d)*(o.startsWith("top")?1:-1)),e.firstElementChild.style.setProperty("--translate-y","".concat(l,"px"))}}(null==e?void 0:e.current,null==t?void 0:t.current,n,r),l!==(null==e||null===(i=e.current)||void 0===i?void 0:i.firstElementChild)||a||c()}))}),{root:l,threshold:[0,1]}),o.observe(e.current),o.observe(null==e||null===(a=e.current)||void 0===a?void 0:a.firstElementChild));return function(){o&&o.disconnect()}}),[n,i,r,l])},bn=function(e){var t=e.attachment,n=e.backgroundColor,o=e.children,l=e.margin,s=e.maxHeight,u=e.maxWidth,b=e.onOutOfView,p=e.open,I=e.padding,h=e.placement,C=e.scrollable,f=e.setPopupRef,v=e.textColor,m=e.toggleRef,A=e.trigger,x=i(),G=z(r(p),2),X=G[0],Z=G[1];!function(e,t,n,o,r){c((function(){r&&gn(null==e?void 0:e.current,null==t?void 0:t.current,n,o)}),[n,r,o,null==e?void 0:e.current])}(x,m,t,h,p),un(x,m,t,h,p,b),function(e,t,n,o,r){var c=i(!1);a((function(){var i,a,l,s,d,g=function(){gn(null==e?void 0:e.current,null==t?void 0:t.current,n,o)};if(r){if(!c.current){var u=t.current.getBoundingClientRect(),b=u.height,p=u.left,I=u.top,h=u.width;a=b,l=p,s=I,d=h,c.current=!0}"floating"===n&&window.addEventListener("resize",g),i=new ResizeObserver((function(r){var i=z(r,1)[0].contentRect,c=i.height,g=i.left,u=i.top,b=i.width;c===a&&g===l&&u===s&&b===d||(gn(null==e?void 0:e.current,null==t?void 0:t.current,n,o),a=c,l=g,s=u,d=b)})),i.observe(null==t?void 0:t.current)}return function(){window.removeEventListener("resize",g),i&&i.disconnect()}}),[n,r,o])}(x,m,t,h,p),function(e,t,n,o){a((function(){var r,i,a,c=0,l=0,s=function(t){var n,o,r,i,a,s,d,g,u=t.target,b=u.scrollLeft,p=u.scrollTop,I=c-b,h=l-p,C=parseInt(null==e||null===(n=e.current)||void 0===n||null===(o=n.style)||void 0===o?void 0:o.getPropertyValue("--position-x")),f=parseInt(null==e||null===(r=e.current)||void 0===r||null===(i=r.style)||void 0===i?void 0:i.getPropertyValue("--position-y"));null==e||null===(a=e.current)||void 0===a||null===(s=a.style)||void 0===s||s.setProperty("--position-x","".concat(C+I,"px")),null==e||null===(d=e.current)||void 0===d||null===(g=d.style)||void 0===g||g.setProperty("--position-y","".concat(f+h,"px")),c=b,l=p};return o&&"floating"===n&&(r=re(null==t?void 0:t.current),c=null===(i=r)||void 0===i?void 0:i.scrollLeft,l=null===(a=r)||void 0===a?void 0:a.scrollTop,r!==document.documentElement&&r.addEventListener("scroll",s)),function(){r&&r.removeEventListener("scroll",s)}}),[n,o])}(x,m,t,p),a((function(){var e,t,n,o,r,i=function(){Z(!1)};p?(Z(!0),null==x||null===(e=x.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("opacity","1")):(null==x||null===(n=x.current)||void 0===n||n.addEventListener("transitionend",i,{once:!0}),null==x||null===(o=x.current)||void 0===o||null===(r=o.style)||void 0===r||r.removeProperty("opacity"));return function(){var e;null==x||null===(e=x.current)||void 0===e||e.removeEventListener("transitionend",i)}}),[p]);var w=Fe(cn),W=g("div",{ref:function(e){x.current=e,f(e)},css:w.popup,style:{"--background-color":n,"--color":v,"--margin":l,"--max-height":s,"--max-width":u,"--padding":I}},g("div",{css:d([w.popupContent,C&&w.popupContentScrollable,"hover"===A&&w.popupOnHover])},o));return(p||X)&&("sibling"===t?W:y.createPortal(W,document.body))},pn=function(e){var t=e.ariaDescription,n=e.ariaLabel,c=e.attachment,l=void 0===c?"sibling":c,s=e.backgroundColor,u=e.children,b=e.closeDelay,p=void 0===b?0:b,I=e.closeOnClickOutside,h=void 0===I||I,C=e.closeOnOutOfView,f=void 0!==C&&C,v=e.gapSize,m=e.id,y=e.margin,A=void 0===y?v:y,x=e.maxHeight,G=e.maxWidth,X=e.onHide,Z=e.onShow,w=e.open,W=void 0!==w&&w,H=e.openDelay,J=void 0===H?0:H,B=e.padding,R=e.placement,N=void 0===R?"bottom":R,V=e.popupPositionX,Y=void 0===V?"right":V,F=e.popupPositionY,L=void 0===F?"below":F,j=e.position,S=void 0===j?{left:"auto",top:"auto"}:j,O=e.positionType,P=void 0===O?"relative":O,E=e.scrollable,M=void 0===E||E,T=e.setRef,D=e.textColor,Q=e.toggle,U=e.toggleCursor,K=e.trigger,q=void 0===K?"press":K,_=e.width;!function(e,t,n,o,r,i,a,c){dt('WJEC One Popup: The "gapSize" prop has been deprecated in favor of the more standard "margin" prop, and will be removed in a future version of the library',(function(){return void 0!==e}),[e]),dt('WJEC One Popup: The "popupPositionX" and "popupPositionY" props have been deprecated in favor of the new placement prop, which encompasses both. Please switch to using "placement" to avoid unexpected behavior in future versions of the library',(function(){return"right"!==t}),[t]),dt('WJEC One Popup: The "popupPositionX" and "popupPositionY" props have been deprecated in favor of the new placement prop, which encompasses both. Please switch to using "placement" to avoid unexpected behavior in future versions of the library',(function(){return"below"!==n}),[n]),dt('WJEC One Popup: The "position" prop has been deprecated because WJEC One components are intended to be layout agnostic; it will be removed in a future version of the library',(function(){return'{"left":"auto","top":"auto"}'!==JSON.stringify(o)}),[o]),dt('WJEC One Popup: The "positionType" prop has been deprecated because WJEC One components are intended to be layout agnostic; it will be removed in a future version of the library',(function(){return"relative"!==r}),[r]),dt('WJEC One Popup: The "setRef" prop has been deprecated as it is no longer required internally',(function(){return void 0!==i}),[i]),dt('WJEC One Popup: The "click" value for the "trigger" prop has been deprecated in favor of "press", which maintains the same functionality. The "click" option will be removed in a future version of the library, so switch to using "press" to avoid unexpected behavior',(function(){return"click"===a}),[a]),dt('WJEC One Popup: The "width" prop has been deprecated because WJEC One components are intended to be layout agnostic; it will be removed in a future version of the library',(function(){return"auto"!==c}),[c])}(v,Y,L,S,P,T,q,void 0===_?"auto":_);var $=i(),ee=i(),te=i(),ne=z(r(W),2),oe=ne[0],re=ne[1],ie=i(),ae=i(),le=Ht(t),se=o((function(){return"right"!==Y||"below"!==L?function(e,t){switch("".concat(e,"-").concat(t)){case"after-bottom":return"right-end";case"after-top":return"right-start";case"before-bottom":return"left-end";case"before-top":return"left-start";case"left-above":return"top-start";case"left-below":return"bottom-start";case"right-above":return"top-end";default:return"bottom"}}(Y,L):N}),[N,Y,L]);a((function(){W&&!oe&&ue(),!W&&oe&&ge()}),[W]),a((function(){return"hover"!==q&&h&&oe&&h&&window.addEventListener("click",de),function(){window.removeEventListener("click",de)}}),[h,oe,q]);var de=function(e){var t,n,o=e.target;o===$.current||null!==(t=$.current)&&void 0!==t&&t.contains(o)||null!==(n=ee.current)&&void 0!==n&&n.contains(o)||ge()},ge=function(){window.clearTimeout(ae.current),oe&&(ie.current=window.setTimeout((function(){re(!1),ce(X)&&X()}),p))},ue=function(){window.clearTimeout(ie.current),oe||(ae.current=window.setTimeout((function(){ce(Z)&&Z(),re(!0)}),J))},be=Fe(cn);return Xt("--cursor",U,$),g("div",k({"aria-label":n,ref:$,css:be.container,id:m},le),g("span",{ref:te,css:d([be.toggle,"string"==typeof Q&&be.toggleString]),onClick:"click"===q||"press"===q?function(){oe?ge():ue()}:null,onMouseEnter:"hover"===q?ue:null,onMouseLeave:"hover"===q?ge:null},Q),g(bn,{attachment:l,backgroundColor:s,margin:A,maxHeight:x,maxWidth:G,onOutOfView:function(){return f&&re(!1)},open:oe,padding:B,placement:se,scrollable:M,setPopupRef:function(e){return ee.current=e},textColor:D,toggleRef:te,trigger:q},u))},In=["ariaDescription","ariaLabel","children","id","toggle"],hn=function(e){var t=e.ariaDescription,n=e.ariaLabel,o=e.children,r=e.id,i=e.toggle,a=void 0===i?g(tn,{css:Cn.defaultToggle}):i,c=Y(e,In),l=z(ze(),1)[0].colorPalette;return g(pn,k({ariaDescription:t,ariaLabel:n},c,{backgroundColor:l.secondaryDark,id:r,openDelay:500,popupPositionX:"after",popupPositionY:"top",scrollable:!1,textColor:"#FFFFFF",toggle:a,toggleCursor:"help",trigger:"hover"}),o)},Cn={defaultToggle:{name:"1pg8bi",styles:"height:20px;"}};function fn(){return fn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},fn.apply(null,arguments)}var vn,mn=n((function(t,n){return e.createElement("svg",fn({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),en||(en=e.createElement("path",{d:"M10 6.667c.917 0 1.667-.75 1.667-1.667S10.917 3.333 10 3.333 8.333 4.083 8.333 5 9.083 6.667 10 6.667Zm0 1.666c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667 1.667-.75 1.667-1.667-.75-1.667-1.667-1.667Zm0 5c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667 1.667-.75 1.667-1.667-.75-1.667-1.667-1.667Z",fill:"currentColor"})))})),yn=function(e){var t=e.children,n=e.color,o=e.id,r=i(),a=Fe(An);return Xt("--color",n,r),g("span",{css:a.emphasis,id:o,ref:r},t)},An=function(e){var t=e.colorPalette;return{emphasis:d("--color:",t.neutralDark,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:16px;font-weight:700;line-height:24px;")}},xn=function(e){var t=e.children,n=e.color,o=e.id,r=i(),a=Fe(Gn);return Xt("--color",n,r),g("p",{css:a.paragraph,id:o,ref:r},t)},Gn=function(e){var t=e.colorPalette;return{paragraph:d("--color:",t.font,';color:var(--color);font-family:"Montserrat",sans-serif;font-size:14px;font-weight:400;line-height:20px;margin:0 0 20px 0;white-space:pre-line;')}},Xn=["ariaLabel","description","options","title","toggle"],Zn=function(e){return e&&e.length&&Object.hasOwn(e[0],"label")},wn=function(e){var n=e.ariaLabel,o=e.description,r=e.options,i=e.title,c=e.toggle,l=void 0===c?g(vt,{allowEventPropagation:!0,icon:mn,ariaLabel:n}):c,s=Y(e,Xn),u=z(ze(),1)[0].colorPalette;a((function(){return function(e){var n=Zn(e)?e:e.reduce((function(e,t){var n=t.sectionOptions;return[].concat(L(e),L(n))}),[]);n.some((function(e){var n=e.icon,o=e.label;if(n&&!ue(t.createElement(n)))throw new Error('Icon for option "'.concat(o,'" must be a valid SVGComponent'))}))}(r)}),[r]);var b=function(e){return function(){ce(e.onClick)&&e.onClick()}},p=Fe(Bn),I=function(e){var t=e.additionalInfo,n=e.label,o=e.icon;return g("li",{key:n.toString(),css:p.menuItem,onClick:b(e)},o&&g(o,{css:p.menuItemIcon}),g("span",{css:p.menuItemLabel},n),t&&g("span",{css:"string"==typeof t?p.menuItemInfo:p.menuItemAction},t))};return g(pn,k({},s,{padding:0,popupPositionX:"right",popupPositionY:"below",toggle:l,ariaLabel:n}),(i||o)&&g("header",{css:p.header},i&&g(yn,null,i),o&&g(xn,{color:u.fontLight},o)),g("ul",{css:d([He,We.scrollbar,p.menu])},r&&r.length&&(Zn(r)?r.map(I):r.map((function(e,t){var n=e.sectionTitle,o=e.sectionOptions;return g("li",{key:"section_".concat(n&&n.replace(/\s/g,"_")||t),css:p.section},n&&g("h4",{css:p.sectionTitle},n),g("ul",{css:d([p.subMenu,!n&&p.subMenuWithoutTitle])},o.map(I)))})))))},Wn=10,Hn={name:"jvw5bw",styles:"margin-right:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"},Jn={name:"1dacand",styles:"padding-top:0;"},Bn=function(e){var t=e.colorPalette;return{header:d("border-bottom:1px solid ",t.border,";margin:",Wn,"px;margin-bottom:0;min-width:250px;"),menu:d("font-family:'Montserrat',sans-serif;list-style:none;margin:0;overflow-x:hidden;overflow-y:auto;padding:",Wn,"px;"),menuItem:d("align-items:center;border-radius:",We.borderRadius,";color:",t.font,";cursor:pointer;display:flex;font-size:14px;line-height:20px;padding:",5,"px ",Wn,"px;&:hover{background-color:",t.neutral,";& > svg{color:",t.secondary,";}}&:not(:last-child){margin-bottom:",5,"px;}"),menuItemAction:d("display:inline-flex;margin-left:",20,"px;pointer-events:none;"),menuItemIcon:d("color:",t.fontLight,";flex-shrink:0;height:20px;margin-right:",Wn,"px;"),menuItemInfo:d("color:",t.fontLight,";font-size:11px;line-height:20px;margin-left:",20,"px;"),menuItemLabel:Hn,section:d("margin:0 -",Wn,"px;&:last-child{margin-bottom:-",Wn,"px;}&:not(:last-child){border-bottom:1px solid ",t.border,";margin-bottom:",Wn,"px;}"),sectionTitle:d("color:",t.fontLight,";font-size:11px;font-weight:600;letter-spacing:1px;line-height:20px;margin:0;padding:0 ",20,"px;text-transform:uppercase;"),subMenu:d("list-style:none;padding:",Wn,"px;"),subMenuWithoutTitle:Jn}},kn=function(e){var t=e.gap,n=void 0===t?0:t,o=e.id,i=e.items,c=e.onDrop,l=e.template,s=void 0===l?function(e){var t=e.Handle,n=e.item;return g(t,null,n.toString())}:l,u=z(r(),2),b=u[0],p=u[1],I=z(r(L(i)),2),h=I[0],C=I[1];a((function(){C(L(i))}),[i]);var f=function(e,t,n){var o=document.querySelector("[data-rbd-draggable-id='".concat(n,"']"));if(o){var r=o.clientHeight,i=o.clientWidth,a=o.parentElement,c=parseFloat(window.getComputedStyle(a).paddingTop),l=Array.from(a.children),s=[].concat(l);s.splice(e,1);var d=[].concat(L(s.slice(0,t)),[o],L(s.slice(t+1)));p({height:r,left:parseFloat(window.getComputedStyle(a).paddingLeft),top:c+d.slice(0,t).reduce((function(e,t){var n=window.getComputedStyle(t),o=parseFloat(n.marginBottom);return e+t.clientHeight+o}),0),width:i})}},v=Fe(zn),m=function(e,t){return g(G,{key:i.indexOf(e),draggableId:i.indexOf(e).toString(),index:t},(function(o,r){var i=o.dragHandleProps,a=o.draggableProps,c=o.innerRef;return g("li",k({ref:c},a,{css:d([v.item,t<h.length-1&&{marginBottom:n}])}),s({item:e,Handle:function(e){var t=e.children,n=e.positionType,o=void 0===n?"relative":n,a=e.position,c=void 0===a?{}:a;return g("div",k({},i,{css:d([v.handle,V({position:o},c),r.isDragging&&v.handleGrabbing])}),t)},index:t,sortedItems:L(h)}))}))};return g(A,{onDragEnd:function(e){var t=e.destination,n=e.source;if(p(void 0),t){var o=L(h),r=o[n.index];o.splice(n.index,1),o.splice(t.index,0,r),ce(c)&&c(o),C(o)}},onDragStart:function(e){var t=e.draggableId,n=e.source;f(n.index,n.index,t)},onDragUpdate:function(e){var t=e.destination,n=e.draggableId,o=e.source;t&&f(o.index,t.index,n)}},g(x,{droppableId:"DragAndDropListDropZone"},(function(e,t){var n=e.droppableProps,r=e.innerRef,i=e.placeholder;return g("ul",k({ref:r},n,{css:d([v.list,t.isDraggingOver&&v.listDragging]),id:o}),h.map(m),i,b&&t.isDraggingOver&&g("div",{css:d([v.placeholder,b])}))})))},Rn={name:"ehba41",styles:"cursor:grab;"},Nn={name:"m2aufq",styles:"cursor:grabbing;"},Vn={name:"79elbk",styles:"position:relative;"},Yn={name:"9y6172",styles:"user-select:none;"},zn=function(e){var t=e.colorPalette;return{handle:Rn,handleGrabbing:Nn,item:Vn,list:d(He,";list-style:none;margin:0;padding:0;position:relative;"),listDragging:Yn,placeholder:d("border:2px dashed ",t.secondary,";border-radius:",We.borderRadius,";position:absolute;")}},Fn={description:d("color:",E.neutralDark,";display:block;font-family:'Montserrat',sans-serif;font-size:12px;font-weight:400;line-height:16px;margin-top:4px;")},Ln=function(e){var t=e.children;return t?g("span",{css:Fn.description},t):null};function jn(){return jn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},jn.apply(null,arguments)}var Sn,On=n((function(t,n){return e.createElement("svg",jn({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),vn||(vn=e.createElement("path",{d:"M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function Pn(){return Pn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Pn.apply(null,arguments)}var En,Mn=n((function(t,n){return e.createElement("svg",Pn({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Sn||(Sn=e.createElement("path",{d:"m7.5 12 3 3 6-6m5.5 3c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function Tn(){return Tn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Tn.apply(null,arguments)}var Dn,Qn,Un=n((function(t,n){return e.createElement("svg",Tn({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),En||(En=e.createElement("path",{d:"M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.718.191 1.629.191h16.45c.91 0 1.365 0 1.628-.191a1 1 0 0 0 .407-.705c.034-.324-.195-.718-.65-1.506L13.383 3.892c-.454-.785-.681-1.178-.978-1.31a1 1 0 0 0-.813 0c-.296.132-.523.525-.978 1.31Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Kn={name:"13tmt62",styles:"display:block;font-family:'Montserrat',sans-serif;font-size:12px;font-weight:600;line-height:16px;margin-top:4px;padding-left:24px;position:relative;white-space:pre-line;"},qn={name:"196io73",styles:"left:0;position:absolute;top:0;width:16px;"},_n=function(e){var t=e.colorPalette;return{status:Kn,statusError:d("color:",t.error,";"),statusIcon:qn,statusSuccess:d("color:",t.success,";"),statusWarning:d("color:",t.warning,";")}},$n=function(e){var t=e.children,n=e.status,r=Fe(_n),i=o((function(){var e;switch(n){case"error":e=On;break;case"success":e=Mn;break;case"warning":e=Un}return e}),[n]),a=o((function(){var e;switch(n){case"error":e=r.statusError;break;case"success":e=r.statusSuccess;break;case"warning":e=r.statusWarning}return e}),[n]);return n&&t?g("span",{css:d([r.status,a],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZpZWxkU3RhdH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Y29uO1xyXG4gICAgICAgIHN3aXRjaCAoc3RhdHVzKSB7XHJcbiAgICAgICAgICAgIGNhc2UgJ2Vycm9yJzpcclxuICAgICAgICAgICAgICAgIGljb24gPSBFcnJvckljb247XHJcbiAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgY2FzZSAnc3VjY2Vzcyc6XHJcbiAgICAgICAgICAgICAgICBpY29uID0gU3VjY2Vzc0ljb247XHJcbiAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgY2FzZSAnd2FybmluZyc6XHJcbiAgICAgICAgICAgICAgICBpY29uID0gV2FybmluZ0ljb247XHJcbiAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIGljb247XHJcbiAgICB9LCBbc3RhdHVzXSk7XHJcbiAgICBjb25zdCBzdGF0dXNTdHlsZSA9IHVzZU1lbW8oKCkgPT4ge1xyXG4gICAgICAgIGxldCBzdHlsZTtcclxuICAgICAgICBzd2l0Y2ggKHN0YXR1cykge1xyXG4gICAgICAgICAgICBjYXNlICdlcnJvcic6XHJcbiAgICAgICAgICAgICAgICBzdHlsZSA9IHN0eWxlcy5zdGF0dXNFcnJvcjtcclxuICAgICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgICAgICBjYXNlICdzdWNjZXNzJzpcclxuICAgICAgICAgICAgICAgIHN0eWxlID0gc3R5bGVzLnN0YXR1c1N1Y2Nlc3M7XHJcbiAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgY2FzZSAnd2FybmluZyc6XHJcbiAgICAgICAgICAgICAgICBzdHlsZSA9IHN0eWxlcy5zdGF0dXNXYXJuaW5nO1xyXG4gICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHJldHVybiBzdHlsZTtcclxuICAgIH0sIFtzdGF0dXNdKTtcclxuICAgIHJldHVybiAoc3RhdHVzICYmIGNoaWxkcmVuXHJcbiA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HJcbiAgYFxyXG59KTtcclxuZXhwb3J0IGRlZmF1bHQgRmllbGRTdGF0dXM7XHJcbiJdfQ== */")},g(i,{css:r.statusIcon}),t):null};function eo(){return eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},eo.apply(null,arguments)}var to,no,oo=n((function(t,n){return e.createElement("svg",eo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Dn||(Dn=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Qn||(Qn=e.createElement("path",{d:"M12 8v4m0 4h.01",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function ro(){return ro=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ro.apply(null,arguments)}var io,ao,co=n((function(t,n){return e.createElement("svg",ro({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),to||(to=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),no||(no=e.createElement("path",{d:"m7.5 12 3 3 6-6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function lo(){return lo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},lo.apply(null,arguments)}var so,go=n((function(t,n){return e.createElement("svg",lo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),io||(io=e.createElement("path",{opacity:.4,d:"m2.39 18.098 8.225-14.206c.455-.785.682-1.178.979-1.31a1 1 0 0 1 .812 0c.297.132.524.525.979 1.31l8.225 14.206c.456.788.684 1.182.65 1.506a1 1 0 0 1-.406.705c-.263.191-.719.191-1.63.191H3.776c-.91 0-1.366 0-1.629-.191a1 1 0 0 1-.406-.705c-.034-.324.194-.718.65-1.506Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),ao||(ao=e.createElement("path",{d:"M12 9v4m0 4h.01",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),uo=function(e){var n=e.gridArea,r=e.invalid,a=e.onPickSuggestion,l=e.validationMessage,s=e.validationPattern,u=e.ariaLabel,b=e.autoComplete,p=e.description,I=e.disabled,h=e.icon,C=e.id,v=e.inputMode,m=e.label,y=e.maxCharacters,A=e.name,x=e.onBlur,G=e.onChange,X=e.onFocus,Z=e.placeholder,w=e.readonly,W=e.required,H=e.status,J=void 0===H?r?"error":void 0:H,B=e.statusIcon,k=void 0===B?"error"===J?oo:"success"===J?co:"warning"===J?go:void 0:B,R=e.statusIconBehavior,N=void 0===R?"status":R,V=e.statusMessage,Y=void 0===V?l:V,F=e.suggestions,L=e.value,j=void 0===L?"":L,S=e.width;!function(e){var t=e.gridArea,n=e.invalid,o=e.onPickSuggestion,r=e.validationMessage,i=e.validationPattern;dt('WJEC One Input: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==t}),[t]),dt('WJEC One Input: The "invalid" prop has been deprecated due to the introduction of the new "status" prop, and is equivalent to `status="error"`',(function(){return void 0!==n}),[n]),dt('WJEC One Input: The "onPickSuggestion" prop has been deprecated because its functionality relies on non-standard implementation and will no longer be invoked. The previous behavior can be replicated by manually matching the `onChange()` value against the provided "suggestions" in the parent component',(function(){return void 0!==o}),[o]),dt('WJEC One Input: The "validationMessage" prop has been deprecated due to the introduction of the new "statusMessage" prop, which functions similarly but is more semantically related to the associated "status" prop',(function(){return void 0!==r}),[r]),dt('WJEC One Input: The "validationPattern" prop has been deprecated due to the introduction of the new "status" prop. Validation should now be performed by the parent component, and the appropriate "status" and "statusMessage" values should be explicitly provided',(function(){return void 0!==i}),[i])}({gridArea:n,invalid:r,onPickSuggestion:a,validationMessage:l,validationPattern:s}),nt("WJEC-One Input: Icon must be a valid SVGComponent",(function(){return h&&!ue(t.createElement(h))}),[h]),nt("WJEC-One Input: Status icon must be a valid SVGComponent",(function(){return k&&!ue(t.createElement(k))}),[k]);var O=f(),P=i(),E=o((function(){return C||O}),[O,C]),M=i(),T=i(),D=o((function(){return"wjecOneInputSuggestions_".concat(E)}),[E]),Q=z(ze(),1)[0],U=Q.brand,K=Q.colorPalette,q=Fe(bo);c((function(){var e,t,n,o;null===(e=P.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("--offset-top","".concat(M.current.offsetTop,"px")),null===(n=T.current)||void 0===n||null===(o=n.style)||void 0===o||o.setProperty("--offset-top","".concat(M.current.offsetTop,"px"))})),c((function(){M.current.value=j}),[j]);var _=o((function(){switch(J){case"error":return{background:K.errorBackground,border:K.error};case"success":return{background:K.successBackground,border:K.success};case"warning":return{background:K.warningBackground,border:K.warning};default:return{background:"#FFFFFF",border:K.border}}}),[U,J]),$=o((function(){return void 0!==k&&("custom"===N||void 0!==J)?k:void 0}),[J,k,N]),ee=o((function(){return{"--background-color":_.background,"--border-color":_.border,"--margin-top":m&&"4px","--padding-left":h&&"40px","--padding-right":k&&"40px"}}),[h,m,_,k]);return g("label",{"aria-label":u,css:q.label,htmlFor:E,style:{width:S},"data-disabled":I},m,g("input",{ref:M,autoComplete:b,css:q.input,defaultValue:j,disabled:I,id:E,inputMode:v,list:F&&D,maxLength:y,name:A,onBlur:function(e){var t=e.relatedTarget;ce(x)&&x(t)},onChange:function(e){var t=e.target.value;ce(G)&&G(t)},onFocus:function(){ce(X)&&X()},placeholder:Z,readOnly:w,required:W,style:ee,type:"text"}),h&&g(h,{"aria-hidden":!0,css:q.icon,"data-disabled":I,ref:P}),$&&g($,{"aria-hidden":!0,css:d([q.icon,q.statusIcon]),"data-disabled":I,"data-status":"status"===N?J:void 0,ref:T}),g(Ln,null,p),g($n,{status:J},Y),F&&g("datalist",{id:D},F.map((function(e,t){return g("option",{key:"".concat(e,"_").concat(t),value:e})}))))},bo=function(e){var t=e.colorPalette;return{icon:d("--offset-top:0;color:",t.neutralLight,';height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:40px;&[data-disabled="true"]{color:',t.border,";}"),input:d("--background-color:#FFFFFF;--border-color:",t.border,";--margin-top:0;--padding-left:8px;--padding-right:8px;",Je,";background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",We.borderRadius,";font-family:inherit;font-size:16px;height:40px;line-height:24px;margin-top:var(--margin-top);max-width:100%;outline:none;padding:4px var(--padding-right) 4px var(--padding-left);width:100%;&:disabled{background-color:",t.neutral,";border-color:",t.border,";color:",t.border,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&:read-only:not(:disabled){background-image:none;background-color:transparent;border-color:transparent;overflow:hidden;padding-left:0;padding-right:0;text-overflow:ellipsis;white-space:nowrap;}&::placeholder{color:",t.neutralLight,";}&::-webkit-calendar-picker-indicator{opacity:0;}"),label:d(He,";",Be,';display:inline-flex;flex-direction:column;position:relative;&[data-disabled="true"]{color:',t.border,";}"),statusIcon:d('left:unset;right:0;&[data-disabled="true"]{opacity:0.5;}&[data-status="error"]{color:',t.error,';}&[data-status="success"]{color:',t.success,';}&[data-status="warning"]{color:',t.warning,";}")}};function po(){return po=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},po.apply(null,arguments)}var Io,ho,Co,fo=n((function(t,n){return e.createElement("svg",po({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),so||(so=e.createElement("path",{d:"M15.25 4.758a.83.83 0 0 0-1.175 0L10 8.825 5.925 4.75A.83.83 0 1 0 4.75 5.925L8.825 10 4.75 14.075a.83.83 0 1 0 1.175 1.175L10 11.175l4.075 4.075a.83.83 0 1 0 1.175-1.175L11.175 10l4.075-4.075a.835.835 0 0 0 0-1.167Z",fill:"currentColor"})))}));function vo(){return vo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},vo.apply(null,arguments)}var mo,yo=n((function(t,n){return e.createElement("svg",vo({viewBox:"0 0 91 83",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Io||(Io=e.createElement("path",{opacity:.4,d:"M50.74 68.314 8.455 56.983c-3.017-.809-4.562-4.155-3.222-6.976l21.62-45.491a5 5 0 0 1 6.662-2.37l45.998 21.86c2.824 1.343 3.737 4.918 1.903 7.45L56.081 66.418a5 5 0 0 1-5.343 1.896Z",fill:"#B0C600"})),ho||(ho=e.createElement("path",{opacity:.4,d:"M0 38.726V26.507a5 5 0 0 1 4.079-4.914l53.991-10.12a5 5 0 0 1 4.381 1.305l26.221 25.134a5 5 0 0 1 1.256 5.272l-3.187 9.044a5 5 0 0 1-3.312 3.137l-50.593 14.8a5 5 0 0 1-4.953-1.278L1.45 42.247A5 5 0 0 1 0 38.728Z",fill:"#47BAD1"})),Co||(Co=e.createElement("path",{opacity:.8,d:"M53.75 46h-1.975l-.7-.675A16.178 16.178 0 0 0 55 34.75c0-8.975-7.275-16.25-16.25-16.25S22.5 25.775 22.5 34.75 29.775 51 38.75 51c4.025 0 7.725-1.475 10.575-3.925l.675.7v1.975l12.288 12.263a.3.3 0 0 0 .424 0l3.301-3.301a.3.3 0 0 0 0-.424L53.75 46Zm-15 0A11.235 11.235 0 0 1 27.5 34.75c0-6.225 5.025-11.25 11.25-11.25S50 28.525 50 34.75 44.975 46 38.75 46Z",fill:"#fff"})))})),Ao=function(e){var n=e.ariaLabel,c=e.ariaCloseLabel,l=e.ariaMultiselectable,s=e.ariaPosInSet,u=e.ariaSetSize,b=e.clearButtonBehaviour,p=void 0===b?"clear":b,I=e.expanded,h=e.filter,C=void 0===h||h,f=e.floatingList,v=e.floatingListPosition,m=void 0===v?{top:10}:v,y=e.icon,A=e.id,x=e.label,G=e.loading,X=e.maxHeight,Z=void 0===X?150:X,w=e.noMatchesMessage,W=void 0===w?"No matches were found":w,H=e.onChange,J=e.onFilter,B=e.optionKeyExtractor,k=e.optionTemplate,R=void 0===k?function(e){var n=e.option;return g(t.Fragment,null,n)}:k,N=e.options,Y=e.placeholder,F=e.value,j=void 0===F?"":F,S=z(ze(),1)[0].colorPalette;nt("WJEC-One FilterList: You must specify a keyExtractor if the options array contains non-primitive entry types",(function(){return!ge(N)&&!se(N)&&!B}),[B,N]);var O=i(),P=i(),E=i(),M=z(r(j),2),T=M[0],D=M[1],Q=z(r(0),2),U=Q[0],K=Q[1],q=z(r(0),2),_=q[0],$=q[1],ee=z(r("below"),2),te=ee[0],oe=ee[1],re=z(r(0),2),ie=re[0],ae=re[1],de=z(r(L(N)),2),ue=de[0],be=de[1],he=z(r(),2),Ce=he[0],fe=he[1],ve=z(r([]),2),me=ve[0],ye=ve[1],Ae=z(r(1),2),xe=Ae[0],Ge=Ae[1],Xe=o((function(){return y&&pe(t.createElement(y,{color:S.fontLight}))}),[y]);a((function(){var e;(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.length===t.length&&e.every((function(e,o){return n?t[o]===e:t.includes(e)}))})(e=C&&T?N.filter((function(e,t){return Je(e,t).toString().toLowerCase().includes(T.toLowerCase())})):L(N),ue)||(ce(J)&&J(e),be(e))}),[T,C,N]),a((function(){!Ce||N.length||T||We(),O.current.querySelector('input[type="text"]')===document.activeElement&&He()}),[T,N]),a((function(){I!==Ce&&(I?He():We())}),[I]),a((function(){j!==T&&D(j)}),[j]),a((function(){return Ce?(document.addEventListener("scroll",We,!0),window.addEventListener("click",Ze),window.addEventListener("resize",we)):(document.removeEventListener("scroll",We,!0),window.removeEventListener("click",Ze),window.removeEventListener("resize",we)),function(){document.removeEventListener("scroll",We,!0),window.removeEventListener("click",Ze),window.removeEventListener("resize",we)}}),[Ce]),a((function(){Ge(1),P.current&&P.current.scrollTo({top:0})}),[ue]),a((function(){ye((function(e){var t=xe>1?L(e):[],n=50*xe-50,o=n+50;return t.length=50*(xe-1),[].concat(L(t),L(ue.slice(n,o).map(Ve)))}))}),[ue,xe]);var Ze=function(e){var t=e.target;t===O.current||O.current.contains(t)||We()},we=Ie((function(){return He()}),{limit:250}),We=function(){E.current===document.activeElement&&O.current.querySelector('input[type="text"]').focus(),fe(!1),Ge(1)},He=function(){if(N.length>0||!!T){var e=O.current.getBoundingClientRect(),t=e.top+e.height,n=window.innerHeight-t,o="below";if(!f){if(n<Z){var r=e.top;(r>Z||r>n)&&(o="above")}"below"===o?(K(Math.min(Z,window.innerHeight-t-10)),$(e.top+O.current.querySelector('input[type="text"]').offsetTop)):(K(Math.min(Z,e.top-10)),$(window.innerHeight-t-1))}oe(o),ae(e.width),fe(!0)}},Je=function(e,t){return le(e)?e.key:ne(e,B,t)},Be=function(e){var t="string"==typeof e?e:e.currentTarget.value;ce(H)&&H(t),D(t)},ke=Ie((function(e){var t=e.target;e.nativeEvent.stopImmediatePropagation(),t.scrollTop+2*t.clientHeight>t.scrollHeight&&50*xe<ue.length&&Ge((function(e){return e+1}))}),{beforeDelay:function(e){e.nativeEvent.stopImmediatePropagation(),e.persist()},limit:250}),Re=Fe(Vo),Ne=function(){return g("input",{ref:E,css:d([Re.listInput,Xe&&[Re.listInputWithIcon,{backgroundImage:Xe}]]),autoFocus:!0,onChange:Be,placeholder:Y,value:T})},Ve=function(e){var t=N.indexOf(e);return g("li",{"aria-posinset":s,"aria-setsize":u,key:Je(e,t)},R({option:e,index:t,filteredOptions:L(ue)}))};return g("div",{ref:O,css:Re.container,id:A,onClick:function(e){var t=e.target;Ce||t!==O.current.querySelector('input[type="text"]')||t!==document.activeElement||He()}},g(uo,{"aria-label":n,"aria-multiselectable":l,icon:y,label:x,onChange:Be,onFocus:He,placeholder:Y,value:T}),Ce&&g("div",{"aria-expanded":!0,css:d([Re.expandedContainer,"above"===te?[Re.expandedContainerAbove,{bottom:_}]:{top:_},{width:ie},f&&[Re.expandedContainerFloating,V(V({},m),{},{maxHeight:"calc(100% - ".concat(2*m.top,"px)")})]])},"below"===te&&Ne(),g(fo,{"aria-label":c,css:d([Re.clearIcon,"above"===te&&Re.clearIconAbove]),onClick:function(){"clear"!==p&&"clearAndClose"!==p||D(""),"clear"===p&&E.current.focus(),"clearAndClose"!==p&&"close"!==p||We()}}),g("div",{css:d([Re.listContainer,"above"===te&&Re.listContainerAbove]),onScroll:ke},g("ul",{ref:P,css:d([Re.list,f&&Re.listFloating,!f&&{maxHeight:U}])},ue.length?me:g("li",{css:Re.noResults},g(yo,{css:Re.noResultsIcon,"aria-hidden":!0}),W)),G&&g("div",{css:d([Re.loading,"above"===te&&Re.loadingAbove,!f&&{maxHeight:U}])},g(rt,null))),"above"===te&&Ne()))},xo={name:"10eevtr",styles:"bottom:0;top:auto;"},Go={name:"oxdg22",styles:"&::before{bottom:30px;top:auto;}"},Xo={name:"j7qwjs",styles:"display:flex;flex-direction:column;"},Zo={name:"yp8oic",styles:"display:flex;margin:2px 0 1px;min-height:0px;position:relative;"},wo={name:"p49ge0",styles:"margin:1px 0 2px;"},Wo={name:"11cgomd",styles:"max-height:initial;"},Ho={name:"1ireg3o",styles:"background:center left 6px / 20px no-repeat;border:none;font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;margin-top:-1px;outline:none;padding:5px 35px 5px 10px;width:100%;"},Jo={name:"267yq8",styles:"padding-left:35px;"},Bo={name:"1fk9trn",styles:"align-items:center;background-color:rgba(255,255,255,0.75);bottom:0;display:flex;height:100%;justify-content:center;left:0;position:absolute;right:0;"},ko={name:"9cuppe",styles:"bottom:auto;top:0;"},Ro={name:"m2y6eh",styles:"align-items:center;display:flex;flex-direction:column;justify-content:center;padding:10px 0;"},No={name:"1bkzip4",styles:"width:91px;"},Vo=function(e){var t=e.colorPalette;return{clearIcon:d("color:",t.fontLight,";cursor:pointer;height:30px;padding:5px;position:absolute;right:0;top:0;&:hover{color:",t.font,";}"),clearIconAbove:xo,container:d(He,";display:inline-block;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;position:relative;& > label{width:100%;}"),expandedContainer:d("background-color:#fff;border:1px solid ",t.border,";border-radius:",We.borderRadius,";box-shadow:",We.dropShadow,";position:fixed;z-index:1;&::before{border-bottom:1px solid ",t.border,";content:'';left:8px;position:absolute;right:8px;top:30px;}"),expandedContainerAbove:Go,expandedContainerFloating:Xo,list:d(We.scrollbar,";list-style:none;margin:0;overflow:auto;padding:8px 10px 9px;width:100%;"),listContainer:Zo,listContainerAbove:wo,listFloating:Wo,listInput:Ho,listInputWithIcon:Jo,loading:Bo,loadingAbove:ko,noResults:Ro,noResultsIcon:No}},Yo=function(e){var t=e.ariaDescription,n=e.ariaLabel,o=e.children,r=e.clearButton,i=void 0===r?"Clear":r,a=e.clearId,c=e.id,l=e.onClear,s=e.onSubmit,u=e.otherActions,b=e.submitButton,p=void 0===b?"Submit":b,I=e.submitId,h=e.width,C=Ht(t);return g("form",k({"aria-label":n,css:d({width:h}),id:c,onReset:function(e){e.preventDefault(),ce(l)&&l()},onSubmit:function(e){e.preventDefault(),ce(s)&&s()}},C),o,g("section",{css:zo.controls},i&&g(gt,{buttonType:"reset",id:a,label:i}),g("div",{css:zo.submit},p&&g(xt,{buttonType:"submit",id:I,label:p})),u&&g(wn,{options:u})))},zo={controls:{name:"7zpthm",styles:"display:flex;justify-content:space-between;margin-top:30px;"},submit:{name:"5prljc",styles:"margin-left:auto;&:not(:last-of-type){margin-right:5px;}"}};function Fo(){return Fo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Fo.apply(null,arguments)}var Lo,jo,So=n((function(t,n){return e.createElement("svg",Fo({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),mo||(mo=e.createElement("path",{d:"m7.5 13.475-2.892-2.892a.83.83 0 1 0-1.175 1.175l3.484 3.484a.83.83 0 0 0 1.175 0l8.816-8.817a.83.83 0 1 0-1.175-1.175L7.5 13.475Z",fill:"currentColor"})))})),Oo=function(e){var t=e.ariaLabel,n=e.checked,r=void 0!==n&&n,a=e.children,l=e.description,s=e.disabled,d=e.gridArea,u=e.highlighted,b=e.id,p=e.label,I=e.labelOverflow,h=void 0===I?"wrap":I,C=e.loading,v=e.onChange,m=e.readonly,y=e.status,A=e.statusMessage;dt('WJEC One CheckBox: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==d}),[d]),dt("WJEC One CheckBox: This prop has been deprecated because highlighting an checkbox component with a border color does not fit with the latest WJEC One design. Please use an alternative approach or CSS override",(function(){return void 0!==u}),[u]),dt('WJEC One Select: The "readonly" prop has been deprecated because the underlying HTML element does not support a "readonly" attribute, and therefore behavior cannot be guaranteed. An alternative such as `<Input readonly value="..." />` can be used',(function(){return void 0!==m}),[m]);var x=f(),G=o((function(){return b||x}),[x,b]),X=z(ze(),1)[0],Z=X.brand,w=X.colorPalette,W=Fe(Mo),H=i();c((function(){H.current.checked=r}),[r]);var J=o((function(){switch(y){case"error":return{background:w.errorBackground,border:w.error};case"success":return{background:w.successBackground,border:w.success};case"warning":return{background:w.warningBackground,border:w.warning};default:return{}}}),[Z,y]),B=o((function(){return{"--background-color":J.background,"--border-color":J.border,"--margin-right":p&&"8px"}}),[p,J]);return g("div",{css:W.container},g("input",{id:G,type:"checkbox",css:W.checkbox,defaultChecked:r,onChange:function(e){var t=e.target.checked;ce(v)&&v(t)},disabled:s,ref:H}),g("label",{"aria-label":t,css:W.label,htmlFor:G,onClick:function(e){return e.stopPropagation()},style:B},C&&g("div",{css:W.loadingIcon},g(rt,{color:w.primary})),g("span",{css:W.labelContent,"data-overflow":h},p||a)),g(Ln,null,l),g($n,{status:y},A))},Po={name:"7n37re",styles:"display:inline-flex;flex-direction:column;min-width:0;"},Eo={name:"kynfrz",styles:'display:inline-block;font-family:inherit;&[data-overflow="ellipsis"]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}'},Mo=function(e){var t=e.colorPalette;return{checkbox:d(We.visiblyHidden," &:checked + label::before{background-image:",pe(g(So,{color:t.primary})),";background-size:cover;}&:checked:disabled + label::before{background-image:",pe(g(So,{color:t.border})),";}&:disabled + label{color:",t.border,";cursor:not-allowed;&::before{background-color:",t.neutral,";border-color:",t.border,";}}&:focus + label::before{border-color:",t.primary,";}"),container:Po,label:d("--background-color:#FFFFFF;--border-color:",t.border,";--margin-right:0;--text-overflow:'wrap';",He,";align-items:center;color:",t.font,";cursor:pointer;display:inline-flex;font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;line-height:16px;position:relative;&:active::before,&:focus-within::before{border-color:",t.primary,"}&::before{background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",We.borderRadius,";content:'';display:inline-block;flex-shrink:0;height:40px;margin-right:var(--margin-right);width:40px;}"),labelContent:Eo,loadingIcon:d("align-items:center;background-color:var(--background-color);border-radius:",We.borderRadius,";display:flex;height:30px;justify-content:center;left:1px;position:absolute;top:1px;width:30px;")}};function To(){return To=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},To.apply(null,arguments)}var Do,Qo,Uo=n((function(t,n){return e.createElement("svg",To({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Lo||(Lo=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),jo||(jo=e.createElement("path",{d:"M12 6v6l4 2",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function Ko(){return Ko=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ko.apply(null,arguments)}var qo,_o=n((function(t,n){return e.createElement("svg",Ko({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Do||(Do=e.createElement("path",{opacity:.4,d:"M21 10H3",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Qo||(Qo=e.createElement("path",{d:"M16 2v4M8 2v4m-.2 16h8.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 19.72 21 18.88 21 17.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C18.72 4 17.88 4 16.2 4H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 6.28 3 7.12 3 8.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 22 6.12 22 7.8 22Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),$o=function(e){var t=e.date,n=e.disabled,l=e.id,s=e.label,u=e.maxDate,b=e.maxTime,p=void 0===b?"":b,I=e.minDate,h=e.minTime,C=void 0===h?"":h,f=e.onChangeDate,v=e.onChangeTime,m=e.placeholder,y=e.readonly,A=e.required,x=e.time,G=e.type,X=void 0===G?"dateTime":G,Z=e.validationMessage,w=e.width,W=z(r(""),2),H=W[0],J=W[1],B=Fe(er),k=i(),R=i();a((function(){J("dateTime"===X?t?te({date:t,format:"yyyy-MM-ddT".concat(x||"HH:mm")}):"":"date"===X?t?ee({date:t,format:"yyyy-MM-dd"}):"":x||"")}),[t,x,X]),c((function(){var e,t;null===(e=k.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("--offset-top","".concat(R.current.offsetTop,"px"))}));var N=o((function(){return"time"===X?Uo:_o}),[X]),V=o((function(){return"dateTime"===X?"datetime-local":X}),[X]),Y=o((function(){return!(!u||!I)&&("00:00:00"===u.toTimeString().substring(0,8)&&"00:00:00"===I.toTimeString().substring(0,8))}),[u,I]),F=o((function(){if("date"===X||"dateTime"===X){var e=u||("dateTime"===X&&p?new Date:void 0),t="dateTime"===X?"yyyy-MM-ddT".concat(p||(Y?"23:59":"HH:mm")):"yyyy-MM-dd";return e?te({date:e,format:t}):p}return p}),[u,p,X]),L=o((function(){if("date"===X||"dateTime"===X){var e=I||("dateTime"===X&&C?new Date:void 0),t="dateTime"===X?"yyyy-MM-ddT".concat(C||(Y?"00:00":"HH:mm")):"yyyy-MM-dd";return e?te({date:e,format:t}):C}return C}),[I,C,X]);return g("label",{css:d([B.label,w&&{width:w}])},s,g("input",{css:B.input,disabled:n,id:l,max:F,min:L,onChange:function(e){var t=e.target,n=t.value,o=t.valueAsNumber,r=new Date(o),i=n.substring(n.indexOf("T")+1);Z&&t.setCustomValidity(""),J(n),Z&&!t.checkValidity()&&(t.setCustomValidity(Z),t.reportValidity()),"date"!==X&&"dateTime"!==X||!ce(f)||f(r),"dateTime"!==X&&"time"!==X||!ce(v)||v(i)},placeholder:m,readOnly:y,ref:R,required:A,type:V,value:H}),!n&&g(N,{"aria-hidden":!0,css:B.icon,"data-disabled":n,ref:k}))},er=function(e){var t=e.colorPalette;return{icon:d("--offset-top:0;color:",t.neutralLight,";cursor:pointer;height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:40px;&:hover{color:",t.neutralDark,';}&[data-disabled="true"]{color:',t.border,";}"),input:d("background-color:#fff;border:1px solid ",t.border,";border-radius:",We.borderRadius,";font-family:'Montserrat',sans-serif;font-size:16px;height:40px;max-width:100%;outline:none;padding:4px 8px 4px 40px;position:relative;transition:border-color 0.05s linear,padding 0.05s linear;width:100%;&:disabled{background-color:",t.neutral,";color:",t.fontLight,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&:invalid{border-color:",t.error,";}&:read-only{background-color:transparent;background-image:none;border-color:transparent;overflow:hidden;padding-left:0;padding-right:0;pointer-events:none;text-overflow:ellipsis;white-space:nowrap;}&::placeholder{color:",t.fontLight,";}&::-webkit-calendar-picker-indicator{background-color:pink;cursor:pointer;height:40px;left:0;opacity:0;padding:0;position:absolute;top:0;width:40px;}"),label:d(He,";",Be,";display:inline-flex;flex-direction:column;position:relative;width:100%;")}},tr=function(e){var t=e.ariaLabel,n=e.breadcrumb,o=e.children,r=e.href,i=e.id,a=e.target,c=Fe(nr),l=V({},"newTab"===a?{target:"_blank",rel:"noopener noreferrer"}:{});return g("a",k({"aria-label":t,href:r,css:d([c.link,n&&c.withBreadcrumb]),id:i},l),o||r)},nr=function(e){var t=e.colorPalette;return{link:d("color:",t.primaryDark,";font-family:'Montserrat',sans-serif;font-size:16px;font-weight:500;line-height:24px;"),withBreadcrumb:d("color:",t.fontLight,";margin-right:40px;text-decoration:none;position:relative;&:not(:last-of-type)::after{background-image:",pe(g(Xe,{color:t.fontLight})),";background-repeat:no-repeat;background-size:contain;bottom:5px;content:'';height:20px;margin-bottom:-6px;margin-left:10px;position:absolute;right:-30px;width:20px;}&:hover{border-bottom:1px solid ",t.fontLight,";}")}},or=["gridArea","id","label","readonly","value"],rr=function(e){var t=e.gridArea,n=e.id,o=e.label,r=e.readonly,i=e.value,a=Y(e,or);dt('WJEC One Email: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==t}),[t]);var c=Fe(ar);return r?g("label",{css:d([c.label,t&&{gridArea:t}]),id:n},g("span",{css:c.labelText},o),g(tr,{href:"mailto:".concat(i)},i)):g(uo,k({gridArea:t,label:o,value:i},a))},ir={name:"r7q7qr",styles:"margin-bottom:5px;"},ar=function(e){var t=e.colorPalette;return{label:d(He,";color:",t.font,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;"),labelText:ir}};function cr(){return cr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},cr.apply(null,arguments)}var lr,sr=n((function(t,n){return e.createElement("svg",cr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),qo||(qo=e.createElement("path",{d:"M12 5v14m-7-7h14",stroke:"#FAFCFC",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",opacity:.6})))}));function dr(){return dr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},dr.apply(null,arguments)}var gr,ur=n((function(t,n){return e.createElement("svg",dr({viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),lr||(lr=e.createElement("path",{d:"M5.333 21.656a6 6 0 0 1 2.773-10.964 8.002 8.002 0 0 1 15.788 0 6 6 0 0 1 2.773 10.964m-16-.323L16 16m0 0 5.333 5.333M16 16v12",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),br=function(e){var t=e.files,n=e.height,o=e.placeholderTitle,r=e.width,a=e.ariaLabel,c=e.browseLabel,l=void 0===c?"Browse":c,s=e.description,d=e.displaySize,u=void 0===d?"medium":d,b=e.id,p=e.label,I=void 0===p?o:p,h=e.max,C=e.maxFileSize,v=e.multiple,m=e.onError,y=e.onSelect,A=e.placeholderDescription,x=void 0===A?"large"===u?"Drag & drop ".concat(v?"files":"a file"):"Drag & drop ".concat(v?"files":"a file"," or click to upload"):A,G=e.status,X=e.statusMessage,Z=e.validExtensions,w=e.validTypes;dt('WJEC One FileInput: The "files" prop has been deprecated because this component no longer persists/displays a list of selected files',(function(){return void 0!==t}),[t]),dt('WJEC One FileInput: The "height" prop has been deprecated because the component now has preset sizes as determined by the "displaySize" prop',(function(){return void 0!==n}),[n]),dt('WJEC One FileInput: The "placeholderTitle" prop has been deprecated in favor of the new "label" prop',(function(){return void 0!==o}),[o]),dt('WJEC One FileInput: The "width" prop has been deprecated because the component now has preset sizes as determined by the "displaySize" prop',(function(){return void 0!==r}),[r]);var W=i(),H=i(),J=f(b),B=function(e){return v?void 0===h||e<=h:e<=1},k=function(e){var t=e.length,n=[],o=[],r=[],i=[];B(t)?(e.forEach((function(e){var t=function(e){var t=e.name,n=t.substring(t.lastIndexOf("."));return void 0===Z||Z.includes(n)}(e),a=function(e){var t=e.size;return void 0===C||t<=C}(e),c=function(e){var t=e.type;return void 0===w||w.includes(t)}(e);t&&a&&c&&i.push(e),t||n.push(e),a||o.push(e),c||r.push(e)})),i.length>0&&ce(y)&&y(i)):ce(m)&&m([{code:"MAX_FILES_EXCEEDED",details:{maxCount:h||1,selectedCount:t}}]),(n.length||o.length||r.length)&&ce(m)&&m([n.length&&{code:"INVALID_FILE_EXTENSION",details:{files:n}},o.length&&{code:"INVALID_FILE_SIZE",details:{files:o}},r.length&&{code:"INVALID_FILE_TYPE",details:{files:r}}].filter((function(e){return e})))},R=Fe(Ir);return g("label",{css:R.label,htmlFor:J},I,g("div",{css:R.container,onDragEnter:function(e){var t=e.dataTransfer.items.length,n=B(t);be(e.nativeEvent),W.current.setAttribute("data-drag-state",n?"valid":"invalid")},onDragLeave:function(e){be(e.nativeEvent),W.current.removeAttribute("data-drag-state")},onDragOver:function(e){be(e.nativeEvent)},onDrop:function(e){be(e);var t=Array.from(e.dataTransfer.files);k(t),W.current.removeAttribute("data-drag-state")},ref:W,"data-display-size":u,"data-status":G},g("input",{"aria-label":a,css:We.visiblyHidden,id:J,multiple:v,onChange:function(e){var t=Array.from(e.currentTarget.files);k(t)},ref:H,type:"file",value:""}),g(ur,{css:R.uploadIcon,"aria-hidden":!0}),x&&g("p",{css:R.description},x),"large"===u&&g(xt,{icon:sr,label:l,onPress:function(){H.current.click()}})),g(Ln,null,s),g($n,{status:G},X))},pr={name:"o1srjj",styles:"display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:14px;gap:4px;line-height:16px;& > span{margin-top:0;}"},Ir=function(e){var t=e.colorPalette;return{container:d("--icon-size:32px;",He,";align-items:center;border:2px dashed ",t.border,";border-radius:",We.borderRadius,";cursor:pointer;display:flex;flex-direction:column;font-size:16px;font-weight:600;gap:8px;justify-content:center;line-height:24px;max-height:var(--max-height);max-width:var(--max-width);padding:16px;position:relative;transition:border-color 0.1s linear;&:focus-within{outline:2px solid ",t.primary,";outline-offset:-2px;}&:hover{background-color:",t.neutral,";border-color:",t.secondary,';}&[data-display-size="small"]{--icon-size:24px;display:inline-flex;flex-direction:row;font-weight:400;height:40px;padding:8px;}&[data-status="error"]{background-color:',t.errorBackground,";border-color:",t.error,';}&[data-status="success"]{background-color:',t.successBackground,";border-color:",t.success,';}&[data-status="warning"]{background-color:',t.warningBackground,";border-color:",t.warning,';}&[data-drag-state="valid"]{border-color:',t.secondary,';}&[data-drag-state="invalid"]{border-color:',t.error,";}"),description:d("color:",t.neutralLight,";margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"),label:pr,uploadIcon:d("color:",t.neutralLight,";flex-shrink:0;width:var(--icon-size);")}};function hr(){return hr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},hr.apply(null,arguments)}var Cr,fr,vr=n((function(t,n){return e.createElement("svg",hr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),gr||(gr=e.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function mr(){return mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},mr.apply(null,arguments)}var yr,Ar,xr,Gr=n((function(t,n){return e.createElement("svg",mr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Cr||(Cr=e.createElement("path",{opacity:.12,d:"M9 12a3 3 0 0 0 5.121 2.121L9.88 9.88A2.99 2.99 0 0 0 9 12Z",fill:"currentColor"})),fr||(fr=e.createElement("path",{d:"M10.742 5.092C11.15 5.032 11.569 5 12 5c5.105 0 8.455 4.505 9.58 6.287.137.215.205.323.243.49.028.125.028.322 0 .447-.038.166-.107.274-.244.492-.3.474-.757 1.141-1.363 1.865M6.724 6.715c-2.162 1.467-3.63 3.504-4.303 4.57-.137.217-.206.325-.244.492a1.173 1.173 0 0 0 0 .446c.038.167.107.274.243.49C3.545 14.495 6.895 19 12 19c2.058 0 3.832-.732 5.288-1.723M3 3l18 18M9.879 9.879a3 3 0 1 0 4.243 4.243",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Xr.apply(null,arguments)}var Zr,wr=n((function(t,n){return e.createElement("svg",Xr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),yr||(yr=e.createElement("path",{opacity:.12,d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",fill:"currentColor"})),Ar||(Ar=e.createElement("path",{d:"M2.42 12.713c-.136-.215-.205-.323-.243-.49a1.173 1.173 0 0 1 0-.446c.038-.167.107-.274.243-.49C3.545 9.505 6.895 5 12 5s8.455 4.505 9.58 6.287c.137.215.205.323.243.49.028.125.028.322 0 .446-.038.167-.107.274-.243.49C20.455 14.495 17.105 19 12 19s-8.455-4.505-9.58-6.287Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),xr||(xr=e.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Wr=function(e){var t=e.gridArea,n=e.highlightColor,r=e.highlighted,a=e.show,l=e.ariaLabel,s=e.autoComplete,d=void 0===s?"current-password":s,u=e.description,b=e.disabled,p=e.id,I=e.label,h=e.name,C=e.onChange,m=e.onToggleRevealPassword,y=e.placeholder,A=e.revealPassword,x=void 0===A?void 0!==a&&a:A,G=e.showIcon,X=void 0===G||G,Z=e.status,w=e.statusMessage,W=e.value,H=void 0===W?"":W;!function(e){var t=e.gridArea,n=e.highlighted,o=e.highlightColor,r=e.show;dt('WJEC One Password: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==t}),[t]),dt('WJEC One Password: The "highlighted" prop has been deprecated because highlighting an input component with a border color does not fit with the latest WJEC One design. Please use an alternative approach or CSS override',(function(){return void 0!==n}),[n]),dt('WJEC One Password: The "highlightColor" prop has been deprecated due to its association with the deprecated `highlighted` prop',(function(){return void 0!==o}),[o]),dt('WJEC One Password: The "show" prop has been replaced with the new "revealPassword" prop, which has identical functionality but more clearly represents its intent',(function(){return void 0!==r}),[r])}({gridArea:t,highlightColor:n,highlighted:r,show:a});var J=i(),B=i(),R=i(),N=z(ze(),1)[0],V=N.brand,Y=N.colorPalette,F=f(),L=o((function(){return p||F}),[F,p]);c((function(){var e=!b&&x;R.current.setAttribute("aria-pressed",e.toString()),B.current.setAttribute("type",e?"text":"password")}),[b,x]),c((function(){B.current.value=H}),[H]),c((function(){var e,t;null===(e=J.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("--offset-top","".concat(B.current.offsetTop,"px")),R.current.style.setProperty("--offset-top","".concat(B.current.offsetTop,"px"))}));var j=o((function(){switch(Z){case"error":return{background:Y.errorBackground,border:Y.error};case"success":return{background:Y.successBackground,border:Y.success};case"warning":return{background:Y.warningBackground,border:Y.warning};default:return{}}}),[V,Z]),S=Fe(Jr),O=o((function(){return{"--background-color":j.background,"--border-color":j.border,"--margin-top":I&&"4px","--padding-left":!X&&"8px"}}),[I,X,j]),P=v({"aria-label":l,"aria-pressed":!b&&x,isDisabled:b,onPress:function(){var e=!b&&"true"!==R.current.getAttribute("aria-pressed");R.current.setAttribute("aria-pressed",e.toString()),B.current.setAttribute("type",e?"text":"password"),ce(m)&&m(e)},type:"button"},R).buttonProps;return g("label",{"aria-label":l,css:S.label,htmlFor:L,"data-disabled":b},I,g("input",{ref:B,autoComplete:d,css:S.input,defaultValue:H,disabled:b,id:L,name:h,onChange:function(e){var t=e.target.value;ce(C)&&C(t)},placeholder:y,style:O,type:!b&&x?"text":"password"}),X&&g(vr,{"aria-hidden":!0,css:S.icon,"data-disabled":b,ref:J}),g("button",k({},P,{css:S.revealPassword,name:"Reveal password",ref:R})),g(Ln,null,u),g($n,{status:Z},w))},Hr={name:"1ynvfur",styles:"font-size:12px;margin-top:4px;"},Jr=function(e){var t=e.colorPalette;return{description:Hr,icon:d("--offset-top:0;color:",t.neutralLight,';height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:40px;&[data-disabled="true"]{color:',t.border,";}"),input:d("--background-color:#FFFFFF;--border-color:",t.border,";--margin-top:0;--padding-left:40px;",Je,";background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",We.borderRadius,";font-family:inherit;font-size:16px;height:40px;line-height:24px;margin-top:var(--margin-top);max-width:100%;outline:none;padding:4px 40px 4px var(--padding-left);width:100%;&:disabled{background-color:",t.neutral,";border-color:",t.border,";color:",t.border,";cursor:not-allowed;+ button{background-image:",pe(g(Gr,{color:t.border})),';&[aria-pressed="true"]{background-image:',pe(g(wr,{color:t.border})),";}}}&:focus{border-color:",t.primary,";}&::placeholder{color:",t.neutralLight,";}"),label:d(He,";",Be,';display:inline-flex;flex-direction:column;position:relative;&[data-disabled="true"]{color:',t.border,";}"),revealPassword:d("--offset-top:0;background:transparent ",pe(g(Gr,{color:t.neutralLight}))," center / 24px no-repeat;border:none;color:",t.neutralLight,";cursor:pointer;position:absolute;height:40px;padding:4px 8px;right:0;top:var(--offset-top);width:40px;&:disabled{background-image:",pe(g(Gr,{color:t.border})),";pointer-events:none;}&:focus{outline-color:",t.primary,';outline-width:1px;}&[aria-pressed="true"]{background-image:',pe(g(wr,{color:t.primary})),";color:",t.primary,";}")}},Br=function(e){var n=e.ariaLabel,r=e.description,a=e.disabled,l=e.gridArea,s=e.keyExtractor,d=e.highlightedOption,u=e.id,b=e.label,p=e.labelExtractor,I=e.name,h=e.onSelect,C=e.options,v=e.orientation,m=void 0===v?"horizontal":v,y=e.selectedOption,A=e.status,x=e.statusMessage;dt('WJEC One RadioGroup: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==l}),[l]),nt("WJEC-One RadioGroup: You must specify a keyExtractor if the options array contains non-primitive entry type",(function(){return!ge(C)&&!se(C)&&!s}),[s]),dt("WJEC One CheckBox: This prop has been deprecated because highlighting options within a RadioGroup component with a border color does not fit with the latest WJEC One design. Please use an alternative approach or CSS override",(function(){return void 0!==d}),[d]);var G=f(u),X=i();c((function(){if(y){var e=X.current.querySelectorAll('input[type="radio"]'),t=C.indexOf(y),n=J(y,t),o=Array.from(e).find((function(e){return e.value===n}));o&&(o.checked=!0)}}),[C,y]);var Z=z(ze(),1)[0],w=Z.brand,W=Z.colorPalette,H=o((function(){switch(A){case"error":return{background:W.errorBackground,border:W.error};case"success":return{background:W.successBackground,border:W.success};case"warning":return{background:W.warningBackground,border:W.warning};default:return{}}}),[w,A]),J=function(e,t){return le(e)?e.key:ne(e,s,t)},B=function(e){return function(){ce(h)&&h(e)}},k=Fe(Rr),R=o((function(){return{"--background-color":H.background,"--border-color":H.border,"--flex-direction":"vertical"===m&&"column","--flex-gap":"vertical"===m&&"16px 8px","--margin-top":b&&"4px"}}),[b,m,H]);return g("label",{css:k.label,id:G,"data-disabled":a||void 0},b,g("fieldset",{css:k.container,ref:X,style:R},C.map((function(e,o){var r=J(e,o),i=o===C.indexOf(y);return g(t.Fragment,{key:r},g("input",{css:k.radioButton,defaultChecked:i,disabled:a,id:"".concat(G,"_").concat(o),name:I||G,onChange:B(e),type:"radio",value:r}),g("label",{"aria-label":n,css:k.radioButtonContainer,htmlFor:"".concat(G,"_").concat(o)},le(e)?e.label:oe(e,p,o)))}))),g(Ln,null,r),g($n,{status:A},x))},kr={name:"14uy2ws",styles:"align-items:center;cursor:pointer;display:flex;&::before{background-clip:content-box;border:1px solid var(--border-color);border-radius:50%;box-shadow:0 0 0 var(--shadow-size) var(--shadow-color) inset;content:'';display:inline-block;height:40px;margin-right:8px;padding:8px;width:40px;}"},Rr=function(e){var t=e.colorPalette;return{container:d("--background-color:#FFFFFF;--border-color:",t.border,";--flex-direction:row;--flex-gap:8px 16px;--margin-top:0;--shadow-color:var(--background-color);--shadow-size:16px;",He,";align-items:flex-start;border:none;display:flex;flex-direction:var(--flex-direction);flex-wrap:wrap;gap:var(--flex-gap);margin:var(--margin-top) 0 0;padding:0;"),label:d(Be,';&[data-disabled="true"]{color:',t.border,";}"),radioButton:d(We.visiblyHidden," position:absolute;&:checked + label::before{--shadow-size:8px;background-color:",t.primary,";padding:6px;}&:disabled + label{--border-color:",t.border,";--shadow-color:",t.neutral,";color:",t.border,";cursor:not-allowed;&::before{background-color:",t.border,";}}&:focus + label::before{--border-color:",t.primary,";}"),radioButtonContainer:kr}};function Nr(){return Nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Nr.apply(null,arguments)}var Vr,Yr=n((function(t,n){return e.createElement("svg",Nr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Zr||(Zr=e.createElement("path",{d:"m6 9 6 6 6-6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),zr={name:"1ynvfur",styles:"font-size:12px;margin-top:4px;"},Fr={name:"801txx",styles:"font-size:12px;font-weight:600;margin-top:4px;padding-left:24px;position:relative;"},Lr={name:"ezpkst",styles:"left:0;position:absolute;top:50%;transform:translateY(-50%);width:16px;"},jr=function(e){var t=e.colorPalette;return{description:zr,label:d(He,";",Be,';display:flex;flex-direction:column;position:relative;&[data-disabled="true"]{color:',t.border,";}"),select:d("--background-color:#FFFFFF;--border-color:",t.border,";--margin-top:0;appearance:none;background:var(--background-color) ",pe(g(Yr,{color:t.neutralLight}))," calc(100% - 8px) center / 24px no-repeat;border:1px solid var(--border-color);border-radius:",We.borderRadius,";color:",t.neutralDark,";font-family:'Montserrat',sans-serif;font-size:16px;height:40px;line-height:24px;margin-top:var(--margin-top);outline:none;padding:4px 40px 4px 8px;width:100%;&:disabled{background-color:",t.neutral,";background-image:",pe(g(Yr,{color:t.border})),";border-color:",t.border,";color:",t.border,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&::placeholder{color:",t.neutralLight,";}"),status:Fr,statusError:d("color:",t.error,";"),statusIcon:Lr,statusSuccess:d("color:",t.success,";"),statusWarning:d("color:",t.warning,";")}},Sr=function(e,t,n){var o;return le(e)?e.key:null===(o=ne(e,t,function(e,t){return t.findIndex((function(t){return t===e||Or(t)&&t.options.includes(e)}))}(e,n)))||void 0===o?void 0:o.toString()},Or=function(e){return he(e)&&Object.hasOwn(e,"options")&&Object.hasOwn(e,"label")&&"string"==typeof e.label},Pr=function(e){var t=e.gridArea,n=e.highlightColor,r=e.highlighted,a=e.optionComparator,l=e.readonly,s=e.sortOptions,d=e.blankOption,u=e.description,b=e.disabled,p=e.id,I=e.label,h=e.name,C=e.onSelect,v=e.optionKeyExtractor,m=e.optionLabelExtractor,y=e.options,A=e.placeholder,x=e.selectedOption,G=e.status,X=e.statusMessage;!function(e){var t=e.gridArea,n=e.highlightColor,o=e.highlighted,r=e.optionComparator,i=e.readonly,a=e.sortOptions;dt('WJEC One Select: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==t}),[t]),dt('WJEC One Select: The "highlighted" prop has been deprecated because highlighting an input component with a border color does not fit with the latest WJEC One design. Please use an alternative approach or CSS override',(function(){return void 0!==o}),[o]),dt('WJEC One Select: The "highlightColor" prop has been deprecated due to its association with the deprecated `highlighted` prop',(function(){return void 0!==n}),[n]),dt('WJEC One Select: The "optionComparator" prop has been deprecated because the component no longer provides sorting functionality. Sorting should be performed in the parent component, and the sorted list provided via the "options" prop',(function(){return void 0!==r}),[r]),dt('WJEC One Select: The "readonly" prop has been deprecated because the underlying HTML element does not support a "readonly" attribute, and therefore behavior cannot be guaranteed. An alternative such as `<Input readonly value="..." />` can be used',(function(){return void 0!==i}),[i]),dt('WJEC One Select: The "sortOptions" prop has been deprecated because the component no longer provides sorting functionality. Sorting should be performed in the parent component, and the sorted list provided via the "options" prop',(function(){return void 0!==a}),[a])}({gridArea:t,highlightColor:n,highlighted:r,optionComparator:a,readonly:l,sortOptions:s}),dt("WJEC One Select: You have provided a list of options that contains duplicate primitive values. This is not recommended and may lead to unexpected behavior, but if you really want to do this then you need to supply a keyExtractor so that it is possible to differentiate between the duplicate options (doing so will also suppress this warning)",(function(){var e=new Set;return y.some((function(t){return!(!Or(t)||!ge(t.options)||(n=t.options,new Set(n).size===n.length))||(!!e.has(t)||(e.add(t),!1));var n}))&&!v}),[v,y]),nt("WJEC One Select: You must specify a keyExtractor if the options array contains non-primitive entry types",(function(){return y.some((function(e){if(Or(e)){var t=e.options,n=ge(t),o=se(t);return!(n||o||v)}return!(de(e)||le(e)||v)}))}),[v,y]);var Z=z(ze(),1)[0],w=Z.brand,W=Z.colorPalette,H=i(),J=f(),B=o((function(){return p||J}),[J,p]),k=o((function(){return x?Sr(x,v,y):""}),[v,y,x]);c((function(){H.current.value=k}),[k]);var R=o((function(){switch(G){case"error":return{background:W.errorBackground,border:W.error};case"success":return{background:W.successBackground,border:W.success};case"warning":return{background:W.warningBackground,border:W.warning};default:return{}}}),[w,G]),N=function(e,t){var n=Sr(e,v,y);return g("option",{key:n,value:n},le(e)?e.label:oe(e,m,t))},V=Fe(jr),Y=o((function(){return{"--background-color":R.background,"--border-color":R.border,"--margin-top":I&&"4px"}}),[I,R]);return g("label",{css:V.label,htmlFor:B,"data-disabled":b},I,g("select",{ref:H,css:V.select,defaultValue:k,disabled:b,id:B,name:h,onChange:function(e){var t=function(e,t,n){var o;return n.find((function(r){if(Or(r))o=r.options.find((function(o){return Sr(o,t,n)===e}));else{var i=Sr(r,t,n);o=i===e?r:void 0}return void 0!==o})),o}(e.target.value,v,y);ce(C)&&C(t)},style:Y},A&&g("option",{disabled:!0,hidden:!0,value:""},A),d&&g("option",{value:""}),y.map((function(e,t){return Or(e)?g("optgroup",{key:e.label,label:e.label},e.options.map((function(e){return N(e,t)}))):N(e,t)}))),g(Ln,null,u),g($n,{status:G},X))},Er=function(e){var t=e.ariaDescription,n=e.ariaLabel,i=e.disabled,c=e.gridArea,l=e.height,s=void 0===l?"auto":l,u=e.id,b=e.label,p=e.maxCharacters,I=e.maxHeight,h=void 0===I?"100%":I,C=e.maxWidth,f=void 0===C?"100%":C,v=e.onChange,m=e.placeholder,y=e.readonly,A=e.resizable,x=void 0!==A&&A,G=e.showCount,X=void 0===G||G,Z=e.value,w=void 0===Z?"":Z,W=e.width,H=void 0===W?"100%":W;dt('WJEC One TextArea: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==c}),[c]);var J=z(r(w),2),R=J[0],N=J[1],Y=Ht(t);a((function(){w!==R&&N(w)}),[w]);var F=Fe(Mr),L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeIfFalse,r=t.excludeIfFalsy,i=t.excludeIfNull,a=void 0===i||i,c=t.excludeIfUndefined,l=void 0===c||c,s=o((function(){return Object.entries(e).reduce((function(e,t){var o=z(t,2),i=o[0],c=o[1];return n&&!1===c||r&&!c||a&&null===c||l&&void 0===c?e:V(V({},e),{},B({},function(e){var t=e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase();return t.startsWith("data-")||(t="data-".concat(t)),t}(i),String(c)))}),{})}),[e]);return s}({"data-current-value-length":null==R?void 0:R.length},{excludeIfFalse:!0});return g("label",k({"aria-label":n},L,{css:d([F.label,c&&{gridArea:c},X&&d("&::after{content:attr(data-current-value-length) '",void 0!==p&&"/".concat(p),"';}"),{maxWidth:f,width:H}]),"data-max-count":p}),b,g("textarea",k({id:u,css:d([We.scrollbar,F.textarea,{height:s,maxHeight:h,resize:x?"both":"none"}]),value:R,placeholder:m,onChange:function(e){var t=e.target.value;N(t),ce(v)&&v(t)},readOnly:y,disabled:i,maxLength:p},y?{tabIndex:-1}:{},Y)))},Mr=function(e){var t=e.colorPalette;return{label:d(He,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:11px;line-height:20px;&::after{color:",t.fontLight,";display:inline-block;font-size:12px;font-family:'Montserrat',sans-serif;margin:5px 5px 0 0;text-align:right;}"),textarea:d("border:1px solid ",t.border,";border-radius:",We.borderRadius,";color:",t.font,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;line-height:20px;outline:none;padding:10px;text-overflow:ellipsis;white-space:nowrap;&:disabled{background-color:",t.neutral,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&:not(:read-only){transition:border-color 0.05s linear;}")}},Tr=function(e){var t=e.gridArea,n=e.offLabel,r=e.onLabel,a=e.ariaLabel,l=e.disabled,s=e.id,d=e.label,u=e.on,b=void 0!==u&&u,p=e.onChange,I=e.value,h=void 0===I?r:I;dt('WJEC One Toggle: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==t}),[t]),dt('WJEC One Toggle: The "offLabel" prop has been deprecated because the latest v4 design has no off label',(function(){return void 0!==n}),[n]),dt('WJEC One Toggle: The "onLabel" prop has been deprecated because the latest v4 design has solely an on label, therefore this has been replaced with label',(function(){return void 0!==r}),[r]);var C=i(),m=f(s);c((function(){C.current.setAttribute("aria-pressed",b.toString())}),[b]);var y=Fe(Dr),A=o((function(){return{"--margin-top":d&&"4px","--toggle-margin-right":h&&"8px"}}),[d,h]),x=v({"aria-label":a,"aria-pressed":b,id:m,isDisabled:l,onPress:function(){var e="true"===C.current.getAttribute("aria-pressed");C.current.setAttribute("aria-pressed",(!e).toString()),ce(p)&&p(!e)}},C).buttonProps;return g("label",{css:y.label,htmlFor:m,"data-disabled":l||void 0},d,g("button",k({},x,{css:y.toggleButton,ref:C,style:A}),h))},Dr=function(e){var t=e.colorPalette;return{label:d(He,";",Be,';cursor:pointer;display:inline-block;&[data-disabled="true"]{color:',t.border,";cursor:not-allowed;}"),toggleButton:d("--margin-top:0;--toggle-margin-right:0;align-items:flex-start;background-color:transparent;border:0;border-radius:12px;color:",t.neutralDark,";cursor:inherit;display:flex;font-family:'Montserrat',sans-serif;font-size:16px;font-weight:400;line-height:24px;margin-top:var(--margin-top);outline-color:",t.primary,";outline-offset:3px;padding:0;position:relative;text-align:left;&:disabled{color:",t.border,";&::after{background-color:",t.border,";}}&:after{background-color:",t.neutralLight,";border-radius:12px;content:'';display:block;height:",18,"px;left:0;margin:",3,"px;position:absolute;top:0;transition:color 0.1s linear,transform 0.1s linear;width:",18,"px;}&:before{background-color:#FFFFFF;border:1px solid ",t.border,";border-radius:",12,"px;content:'';display:block;flex-shrink:0;height:",24,"px;margin-right:var(--toggle-margin-right);position:relative;width:",48,'px;}&[aria-pressed="true"]{&::after{background-color:',t.primary,";transform:translateX(",24,"px);}&::before{border-color:",t.primary,";}}")}};function Qr(){return Qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Qr.apply(null,arguments)}var Ur,Kr,qr,_r,$r,ei=n((function(t,n){return e.createElement("svg",Qr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Vr||(Vr=e.createElement("path",{d:"M12 12h.005M17 12h.005M7 12h.005M5.2 7h13.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C22 8.52 22 9.08 22 10.2v3.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C20.48 17 19.92 17 18.8 17H5.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C2 15.48 2 14.92 2 13.8v-3.6c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 7 4.08 7 5.2 7Zm7.05 5a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0Zm5 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0Zm-10 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),ti=function(e){var t=e.description,n=e.disabled,o=e.id,r=e.label,l=e.maxLength,s=void 0===l?6:l,d=e.onChange,u=e.placeholder,b=void 0===u?"e.g. 123456":u,p=e.showIcon,I=void 0===p||p,h=e.status,C=e.statusMessage,v=i(),m=i(),y=i(0),A=i(""),x=f(o);a((function(){var e=function(){document.activeElement===m.current&&(y.current=m.current.selectionEnd)};return document.addEventListener("selectionchange",e),function(){document.removeEventListener("selectionchange",e)}}),[]),c((function(){var e,t;null===(e=v.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("--offset-top","".concat(m.current.offsetTop,"px"))}));var G=Fe(ni);return g("label",{css:G.label,"data-disabled":n},r,I&&g(ei,{"aria-hidden":!0,css:G.icon,"data-disabled":n,ref:v}),g("input",{autoComplete:"one-time-code",css:G.input,disabled:n,id:x,inputMode:"numeric",maxLength:s,onChange:function(e){var t=e.target.value;ce(d)&&d(t)},onInput:function(){if(/[^0-9]/g.test(m.current.value)){var e=m.current.value.replace(/[^0-9]/g,""),t=e.length-A.current.length,n=y.current+t;m.current.value=e,m.current.setSelectionRange(n,n)}y.current=m.current.selectionEnd,A.current=m.current.value},placeholder:b,ref:m,type:"text","data-status":h}),g(Ln,null,t),g($n,{status:h},C))},ni=function(e){var t=e.colorPalette;return{icon:d("--offset-top:0;color:",t.neutralLight,';height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:40px;&[data-disabled="true"]{color:',t.border,";}& + input{padding-left:40px;}"),input:d(Je,";background-color:#FFFFFF;border:1px solid ",t.border,";border-radius:",We.borderRadius,";font-family:inherit;font-feature-settings:'tnum';font-size:16px;height:40px;line-height:24px;max-width:100%;outline:none;padding:4px 8px;width:100%;&:disabled{background-color:",t.neutral,";border-color:",t.border,";color:",t.border,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&::placeholder{color:",t.neutralLight,';}&:not(:placeholder-shown){letter-spacing:8px;}&[data-status="error"]{background-color:',t.errorBackground,";border-color:",t.error,';}&[data-status="success"]{background-color:',t.successBackground,";border-color:",t.success,';}&[data-status="warning"]{background-color:',t.warningBackground,";border-color:",t.warning,";}"),label:d(He,";",Be,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;gap:4px;position:relative;&[data-disabled=\"true\"]{color:",t.border,";}")}},oi=function(e){var t=e.ariaDescription,n=e.borderColor,r=e.children,a=e.icon,c=void 0===a?oo:a,l=e.iconColor,s=e.id,d=e.title,u=e.titleColor,b=z(ze(),1)[0],p=b.brand,I=b.colorPalette,h=i(),C=Ht(t),f=Fe(ci),v=o((function(){return n||I.secondary}),[p,n]),m=o((function(){return l||I.secondaryDark}),[p,l]),y=o((function(){return u||I.secondaryDark}),[p,u]);return Xt("--border-color",v,h),Xt("--icon-color",m,h),Xt("--title-color",y,h),g("div",k({css:f.infoCardMain,id:s,ref:h},C),g(c,{css:f.icon,"aria-hidden":!0}),g("div",null,d&&g("h3",{css:f.title},d),g("p",{css:f.message},r)))},ri={name:"1i9s3a8",styles:"color:var(--icon-color);flex-shrink:0;height:24px;width:24px;"},ii={name:"1uk1gs8",styles:"margin:0;"},ai={name:"172fn9d",styles:"color:var(--title-color);font-weight:600;margin:0 0 4px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"},ci=function(e){var t=e.colorPalette;return{icon:ri,infoCardMain:d("--border-color:",t.secondary,";--icon-color:",t.secondaryDark,";--title-color:",t.secondaryDark,";background-color:#ffffff;border:1px solid var(--border-color);border-radius:",We.borderRadius,";box-shadow:",We.dropShadow,";display:flex;font-family:'Montserrat',sans-serif;font-size:16px;gap:16px;line-height:24px;padding:16px;"),message:ii,title:ai}},li=function(e){var t=z(ze(),1)[0].colorPalette;return g(oi,k({},e,{borderColor:t.error,icon:go,iconColor:t.error,titleColor:t.errorDark}))},si=function(e){var t=z(ze(),1)[0].colorPalette;return g(oi,k({},e,{borderColor:t.success,icon:co,iconColor:t.success,titleColor:t.successDark}))},di=function(e){var t=z(ze(),1)[0].colorPalette;return g(oi,k({},e,{borderColor:t.warning,icon:go,iconColor:t.warning,titleColor:t.warningDark}))};function gi(){return gi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},gi.apply(null,arguments)}var ui,bi,pi,Ii,hi,Ci=n((function(t,n){return e.createElement("svg",gi({viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Ur||(Ur=e.createElement("path",{d:"M27.565 14.13c-.134-10.058-10.33-8.59-11.991-8.283a.203.203 0 0 0-.156.262l2.16 6.588c.1.303.417.479.726.4 5.147-1.298 8.369.613 9.102 1.118a.101.101 0 0 0 .16-.085",fill:"#BDBCBC"})),Kr||(Kr=e.createElement("path",{d:"M27.858 14.13C27.992 4.072 38.19 5.54 39.85 5.848c.121.022.194.145.123.363l-2.22 6.77c-.033.102-.248.218-.456.163-5.25-1.388-8.537.562-9.279 1.072a.101.101 0 0 1-.159-.085",fill:"#E65000"})),qr||(qr=e.createElement("path",{d:"M28.851 8.37c2.36-6.255 9.127-6.033 10.522-5.918.13.01.216.14.175.265l-.692 2.11a.101.101 0 0 1-.107.069c-6.007-.667-8.716 2.088-9.72 3.566-.067.1-.22.02-.178-.092",fill:"#69B3E6"})),_r||(_r=e.createElement("path",{d:"m38.78.266-.415 1.267a.102.102 0 0 1-.096.07c-4.79.048-7.351 2.563-8.428 4.005-.074.099-.227.005-.172-.105.923-1.859 3.414-5.44 8.915-5.503a.203.203 0 0 1 .196.266Z",fill:"#FABD34"})),$r||($r=e.createElement("path",{d:"M4.325 40C1.485 40 0 37.687 0 35.4c0-2.27 1.486-4.57 4.325-4.57 2.15 0 3.383 1.331 3.435 1.388a.716.716 0 0 1-1.057.966c-.042-.045-.888-.922-2.378-.922-1.988 0-2.893 1.627-2.893 3.139 0 1.526.905 3.167 2.893 3.167 1.494 0 2.36-.93 2.369-.94a.716.716 0 0 1 1.071.95C7.714 38.636 6.48 40 4.325 40ZM32.96 40c-2.84 0-4.325-2.313-4.325-4.6 0-2.27 1.485-4.57 4.324-4.57 2.15 0 3.384 1.331 3.435 1.388a.716.716 0 0 1-1.056.966c-.042-.045-.888-.922-2.379-.922-1.988 0-2.893 1.627-2.893 3.139 0 1.526.905 3.167 2.893 3.167 1.495 0 2.361-.93 2.37-.94a.716.716 0 0 1 1.07.95c-.05.058-1.284 1.422-3.44 1.422ZM14.142 28.887a.715.715 0 0 1-.409-1.304c1.24-.86 1.345-2.47 1.332-3.122v-7.402a.716.716 0 0 1 1.432 0v7.354c.016.904-.14 3.093-1.948 4.346a.71.71 0 0 1-.407.128ZM33.002 25.513c-2.839 0-4.325-2.313-4.325-4.599 0-2.271 1.486-4.571 4.325-4.571 2.15 0 3.384 1.331 3.435 1.388a.716.716 0 0 1-1.056.966c-.043-.046-.89-.922-2.379-.922-1.987 0-2.893 1.627-2.893 3.14 0 1.525.906 3.167 2.893 3.167 1.492 0 2.338-.906 2.373-.945a.718.718 0 0 1 1.01-.05c.291.263.319.71.058 1.004-.052.058-1.286 1.422-3.44 1.422M11.539 16.34a.716.716 0 0 0-.716.716v5.207c0 1.007-.82 1.826-1.826 1.826h-.053a1.828 1.828 0 0 1-1.826-1.826v-5.207a.716.716 0 1 0-1.432 0v5.207c0 1.007-.819 1.826-1.825 1.826h-.054a1.828 1.828 0 0 1-1.825-1.826v-5.207a.716.716 0 0 0-1.432 0v5.207a3.261 3.261 0 0 0 3.257 3.257h.054c1.027 0 1.944-.48 2.541-1.225a3.251 3.251 0 0 0 2.542 1.225h.053a3.261 3.261 0 0 0 3.258-3.257v-5.207a.716.716 0 0 0-.716-.716ZM13.314 30.822c-.891 0-1.605.262-2.154.663v-3.314a.715.715 0 1 0-1.43 0v9.72a.71.71 0 0 0 .082.33c.038.072.95 1.76 3.502 1.76 1.32 0 2.44-.508 3.238-1.466.696-.835 1.08-1.946 1.08-3.126 0-1.064-.35-2.14-.957-2.953-.55-.736-1.581-1.614-3.361-1.614Zm0 7.729c-.905 0-1.49-.301-1.817-.551a.866.866 0 0 1-.337-.693v-3.038c0-.659.526-2.017 2.154-2.017 2.284 0 2.888 2.052 2.888 3.137 0 1.523-.904 3.162-2.888 3.162M22.885 16.347c-1.774 0-2.773.87-3.297 1.598-.78 1.082-.896 2.325-.896 2.97 0 1.18.384 2.29 1.08 3.126.799.958 1.918 1.465 3.238 1.465 2.152 0 3.384-1.362 3.435-1.42a.714.714 0 0 0-1.07-.948c-.008.01-.873.938-2.365.938-1.669 0-2.574-1.159-2.82-2.434h5.98c.396 0 .716-.32.716-.714 0-2.28-1.238-4.58-4-4.58Zm-2.716 3.866c.33-2.31 2.294-2.436 2.716-2.436 1.835 0 2.364 1.476 2.514 2.436h-5.23ZM26.877 32.586c-.038-.072-.95-1.759-3.502-1.759-2.834 0-4.318 2.297-4.318 4.567 0 1.18.384 2.29 1.08 3.126.799.959 1.918 1.465 3.238 1.465l.034-.001c.876-.007 1.58-.268 2.122-.666a.715.715 0 0 0 1.427-.047v-6.353a.719.719 0 0 0-.081-.332Zm-1.348 3.953c0 .658-.527 2.017-2.154 2.017-2.285 0-2.888-2.052-2.888-3.137 0-1.523.904-3.162 2.888-3.162.905 0 1.489.3 1.817.55a.868.868 0 0 1 .337.694v3.038Z",fill:"#009FE3"})))}));function fi(){return fi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},fi.apply(null,arguments)}var vi,mi=n((function(t,n){return e.createElement("svg",fi({viewBox:"0 0 298 154",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),ui||(ui=e.createElement("path",{d:"M235.171 71.957c-.671-50.518-51.708-43.14-60.018-41.605a1.02 1.02 0 0 0-.781 1.318l10.817 33.09a3.034 3.034 0 0 0 3.629 2.007c25.761-6.52 41.889 3.08 45.557 5.613.339.234.8-.01.796-.423Z",fill:"#BDBCBC"})),bi||(bi=e.createElement("path",{d:"M236.637 71.957c.671-50.518 51.709-43.14 60.019-41.605.603.112.971.732.613 1.826l-11.109 34c-.17.515-1.242 1.095-2.283.818-26.278-6.969-42.732 2.822-46.443 5.384a.508.508 0 0 1-.797-.423Z",fill:"#F1511B"})),pi||(pi=e.createElement("path",{d:"M241.607 43.024C253.419 11.61 287.286 12.723 294.27 13.3c.654.055 1.082.708.879 1.332l-3.463 10.597a.507.507 0 0 1-.54.346c-30.062-3.348-43.624 10.49-48.645 17.914-.336.497-1.106.097-.894-.466Z",fill:"#69B3E6"})),Ii||(Ii=e.createElement("path",{d:"m291.304 2.325-2.08 6.363a.51.51 0 0 1-.477.35c-23.975.245-36.795 12.875-42.185 20.115-.369.496-1.134.025-.859-.527 4.619-9.335 17.083-27.32 44.621-27.637.696-.01 1.197.671.98 1.336Z",fill:"#FABD34"})),hi||(hi=e.createElement("path",{d:"M223.864 112.447c0 3.308-2.635 10.135-10.779 10.135-11.435 0-14.454-10.307-14.454-15.757 0-7.65 4.522-15.883 14.454-15.883 4.528 0 7.452 1.514 9.095 2.766 1.078.821 1.684 2.124 1.684 3.481v15.258Zm-10.779-28.685c-14.186 0-21.61 11.54-21.61 22.937 0 5.93 1.919 11.507 5.401 15.701 3.999 4.814 9.602 7.36 16.209 7.36.058 0 .113-.007.173-.01 4.383-.033 7.905-1.343 10.618-3.343a3.581 3.581 0 0 0 3.565 3.353 3.583 3.583 0 0 0 3.577-3.589V94.262c0-.579-.142-1.151-.408-1.665-.187-.359-4.753-8.835-17.525-8.835ZM7.8 103.21c1.655-11.596 11.482-12.232 13.596-12.232 9.184 0 11.83 7.41 12.582 12.232H7.8Zm13.596-19.412c-8.88 0-13.878 4.365-16.504 8.023C.992 97.256.41 103.5.41 106.736c0 5.929 1.919 11.505 5.4 15.699 4.001 4.815 9.604 7.361 16.21 7.361 10.77 0 16.938-6.842 17.195-7.131a3.597 3.597 0 0 0-.306-5.066 3.565 3.565 0 0 0-5.046.306c-.043.048-4.376 4.713-11.843 4.713-8.353 0-12.883-5.825-14.11-12.227h29.932a3.58 3.58 0 0 0 3.577-3.589c0-11.449-6.192-23.004-20.022-23.004Zm237.237 19.499a48.905 48.905 0 0 1-1.565-.412c-7.068-2.034-9.221-3.672-9.221-7.011 0-3.09 3.077-4.933 8.237-4.933 4.615 0 9.241 2.6 9.294 2.633a3.574 3.574 0 0 0 4.877-1.33 3.596 3.596 0 0 0-1.319-4.9c-.255-.146-6.29-3.583-12.852-3.583-7.664 0-15.392 3.747-15.392 12.113 0 9.765 9.368 12.463 14.404 13.911.539.156 1.14.307 1.778.471 5.852 1.488 8.462 2.819 8.462 6.78 0 1.513-.447 2.623-1.411 3.483-2.062 1.846-6.037 2.321-9.065 1.977-5.52-.634-9.229-3.095-9.918-3.582-1.506-1.07-3.628-.844-4.828.563a3.598 3.598 0 0 0 .757 5.34c1.391.977 6.202 4.012 13.178 4.812.834.093 1.726.149 2.653.149 4.054 0 8.759-1.013 11.985-3.902 2.487-2.226 3.804-5.284 3.804-8.84 0-10.216-9.362-12.595-13.858-13.739ZM131.276 83.762a3.585 3.585 0 0 0-3.577 3.591v24.193c0 6.084-4.934 11.036-10.998 11.036-6.067 0-11.001-4.952-11.001-11.036V87.353a3.585 3.585 0 0 0-3.576-3.591 3.585 3.585 0 0 0-3.578 3.591v24.193c0 10.042 8.144 18.214 18.155 18.214 10.01 0 18.152-8.172 18.152-18.214V87.353a3.584 3.584 0 0 0-3.577-3.591Zm44.481 28.699c0 3.306-2.635 10.136-10.777 10.136-11.438 0-14.46-10.31-14.46-15.759 0-7.652 4.526-15.881 14.46-15.881 4.528 0 7.452 1.512 9.092 2.765 1.079.82 1.685 2.123 1.685 3.48v15.259ZM164.98 83.776c-6.607 0-12.211 2.546-16.21 7.362-3.484 4.192-5.403 9.771-5.403 15.7 0 5.344 1.744 10.75 4.787 14.829 2.758 3.695 7.916 8.107 16.826 8.107 4.456 0 8.031-1.315 10.777-3.334v16.65a3.583 3.583 0 0 0 3.578 3.589 3.583 3.583 0 0 0 3.576-3.589V94.275c0-.58-.139-1.15-.407-1.665-.188-.358-4.754-8.834-17.524-8.834Zm-83.114 32.558c0 1.358-.606 2.659-1.687 3.48-1.641 1.254-4.563 2.768-9.093 2.768-9.932 0-14.457-8.232-14.457-15.883 0-5.448 3.022-15.757 14.458-15.757 8.144 0 10.779 6.826 10.779 10.133v15.259Zm3.576-49.477a3.586 3.586 0 0 0-3.576 3.59v16.65c-2.75-2.02-6.321-3.335-10.78-3.335-8.909 0-14.068 4.411-16.826 8.11-3.04 4.079-4.784 9.483-4.784 14.827 0 5.93 1.917 11.507 5.401 15.701 3.997 4.814 9.604 7.36 16.21 7.36 12.772 0 17.338-8.473 17.525-8.833a3.6 3.6 0 0 0 .407-1.664V70.448a3.585 3.585 0 0 0-3.577-3.591ZM9.443 147.001c1.86 0 3.02-1.045 3.02-2.511v-.039c0-1.648-1.179-2.509-3.02-2.509H6.582v5.059h2.86Zm-5.323-6.063c0-.704.54-1.248 1.24-1.248h4.283c3.282 0 5.323 1.87 5.323 4.7v.041c0 3.151-2.522 4.797-5.604 4.797h-2.78v3.396c0 .681-.54 1.224-1.221 1.224a1.22 1.22 0 0 1-1.241-1.224v-11.686ZM23.553 149.933v-.723a6.715 6.715 0 0 0-2.4-.421c-1.563 0-2.483.661-2.483 1.767v.04c0 1.024.9 1.605 2.06 1.605 1.601 0 2.823-.923 2.823-2.268Zm-7.244.764v-.043c0-2.288 1.78-3.412 4.363-3.412 1.18 0 2.021.179 2.842.441v-.262c0-1.504-.921-2.307-2.622-2.307-.921 0-1.68.158-2.343.42a1.28 1.28 0 0 1-.38.06 1.01 1.01 0 0 1-1.021-1.004c0-.441.3-.823.661-.961.999-.383 2.02-.622 3.402-.622 1.58 0 2.762.417 3.504 1.183.779.763 1.138 1.886 1.138 3.273v5.221c0 .661-.521 1.163-1.18 1.163-.7 0-1.181-.483-1.181-1.023v-.402c-.719.863-1.82 1.546-3.441 1.546-1.983 0-3.742-1.144-3.742-3.271ZM28.758 144.25c0-.683.52-1.225 1.198-1.225.681 0 1.223.542 1.223 1.225v1.083c.56-1.325 1.6-2.328 2.661-2.328.76 0 1.2.502 1.2 1.206 0 .64-.42 1.063-.96 1.163-1.721.302-2.9 1.627-2.9 4.136v3.134c0 .661-.543 1.205-1.224 1.205-.66 0-1.198-.525-1.198-1.205v-8.394ZM37.524 150.816v-5.583h-.401c-.58 0-1.04-.46-1.04-1.044 0-.583.46-1.043 1.04-1.043h.4v-1.809a1.21 1.21 0 0 1 2.423 0v1.809h1.9c.58 0 1.06.46 1.06 1.043 0 .584-.48 1.044-1.06 1.044h-1.9v5.201c0 .946.478 1.326 1.3 1.326.279 0 .519-.06.6-.06.539 0 1.02.44 1.02 1.003 0 .439-.3.802-.64.945-.52.179-1.02.28-1.66.28-1.78 0-3.042-.786-3.042-3.112ZM59.518 148.507v-.039c0-1.87-1.341-3.416-3.243-3.416-1.94 0-3.181 1.527-3.181 3.374v.042c0 1.847 1.34 3.39 3.223 3.39 1.96 0 3.2-1.523 3.2-3.351Zm-8.843 0v-.039c0-3.034 2.4-5.544 5.642-5.544 3.24 0 5.623 2.471 5.623 5.502v.042c0 3.01-2.402 5.52-5.665 5.52-3.22 0-5.6-2.47-5.6-5.481ZM64.942 145.233h-.42c-.56 0-1.02-.44-1.02-1.004 0-.561.46-1.024 1.02-1.024h.42v-.782c0-1.165.3-2.048.86-2.611.562-.56 1.342-.845 2.383-.845.481 0 .882.041 1.22.103.44.058.84.459.84 1.002a.996.996 0 0 1-1.02 1.004 4.279 4.279 0 0 0-.5-.039c-.921 0-1.401.502-1.401 1.604v.587h1.882c.579 0 1.02.44 1.02 1.001 0 .564-.46 1.004-1.02 1.004h-1.841v7.409c0 .664-.542 1.205-1.221 1.205a1.205 1.205 0 0 1-1.202-1.205v-7.409ZM77.352 141.278a1.3 1.3 0 0 1-.1-.483c0-.683.58-1.205 1.26-1.205.6 0 1.06.382 1.22.905l3.223 9.656 3.162-9.615c.2-.583.62-.984 1.24-.984h.18c.62 0 1.061.401 1.241.984l3.162 9.615 3.223-9.676c.178-.503.599-.885 1.199-.885.66 0 1.22.522 1.22 1.186 0 .162-.058.36-.119.502l-4.143 11.645c-.22.622-.679 1.026-1.28 1.026H91.8c-.599 0-1.04-.382-1.26-1.026l-3.124-9.176-3.12 9.176c-.22.644-.68 1.026-1.28 1.026h-.24c-.601 0-1.04-.382-1.28-1.026l-4.144-11.645ZM97.526 152.402a1.297 1.297 0 0 1-.42-.923c0-.664.52-1.185 1.18-1.185.322 0 .542.099.761.281.681.703 1.34 1.085 2.281 1.085 1.362 0 2.261-.884 2.261-2.773v-8.069a1.23 1.23 0 0 1 1.24-1.225c.682 0 1.243.54 1.243 1.225v8.15c0 1.669-.501 2.912-1.322 3.736-.819.823-2.001 1.244-3.403 1.244-1.7 0-2.939-.661-3.82-1.546ZM109.455 152.503v-11.567c0-.702.54-1.245 1.24-1.245h8.145c.602 0 1.102.503 1.102 1.104a1.1 1.1 0 0 1-1.102 1.107h-6.924v3.653h6.024c.6 0 1.1.502 1.1 1.124 0 .602-.5 1.085-1.1 1.085h-6.024v3.776h7.025c.6 0 1.101.5 1.101 1.103 0 .625-.501 1.105-1.101 1.105h-8.246c-.7 0-1.24-.542-1.24-1.245ZM122.244 146.759v-.039c0-3.996 2.982-7.271 7.224-7.271 2.161 0 3.581.644 4.803 1.587.261.201.481.542.481.985 0 .683-.542 1.205-1.222 1.205-.34 0-.579-.121-.742-.242-.959-.784-1.998-1.264-3.339-1.264-2.662 0-4.624 2.207-4.624 4.958v.042c0 2.751 1.941 4.978 4.624 4.978 1.48 0 2.481-.48 3.502-1.344.18-.16.439-.279.74-.279.62 0 1.161.518 1.161 1.143 0 .382-.18.681-.399.884-1.322 1.166-2.824 1.887-5.084 1.887-4.082 0-7.125-3.195-7.125-7.23Z",fill:"#706D6E"})))})),yi=function(e){var t=e.copyrightMessage,n=void 0===t?"Copyright WJEC CBAC Ltd ".concat((new Date).getFullYear()):t,o=e.logos,r=void 0===o?[Ci,mi]:o,i=e.maxWidth,a=void 0===i?1280:i,c=Fe(Gi);return g("footer",{css:c.footer},g("div",{css:d([c.container,{maxWidth:"".concat(a,"px")}])},r.map((function(e,t){return g(e,{key:"logo_".concat(t),css:c.logo})})),g("span",{css:c.copyright},n)))},Ai={name:"8zn5ov",styles:"align-items:center;display:flex;margin:0 auto;width:100%;"},xi={name:"eeoqsk",styles:"height:25px;margin-right:10px;"},Gi=function(e){var t=e.colorPalette;return{container:Ai,copyright:d("border-left:1px solid ",t.border,";color:",t.fontLight,";font-size:12px;padding-left:10px;"),footer:d(He,";align-items:center;display:flex;justify-content:flex-start;padding:24px 30px 22px;width:100%;"),logo:xi}};function Xi(){return Xi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Xi.apply(null,arguments)}var Zi,wi,Wi,Hi=n((function(t,n){return e.createElement("svg",Xi({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),vi||(vi=e.createElement("path",{d:"m10 4.742 4.167 3.75V15H12.5v-5h-5v5H5.833V8.492L10 4.742ZM10 2.5 1.667 10h2.5v6.667h5v-5h1.666v5h5V10h2.5L10 2.5Z",fill:"currentColor"})))})),Ji={height:"40px",padding:"0"},Bi=function(e){var n=e.logo,r=void 0===n?{eduqas:mi,wjec:Ci}:n,i=e.logoId,a=e.logoStyles,c=e.maxWidth,l=void 0===c?1280:c,s=e.menus,u=e.onClickPageIcon,b=e.pageIcon,p=void 0===b?Hi:b,I=e.pageIconHref,h=e.pageTitle,C=e.showPageTitle,f=void 0===C||C,v=z(ze(),1)[0].brand,m=Fe(Vi),y=o((function(){return he(e=r)&&Object.hasOwn(e,"eduqas")&&Object.hasOwn(e,"wjec")?r[v]:r;var e}),[v,r]);return g("header",{css:m.header},g("div",{css:d([m.container,{maxWidth:"".concat(l,"px")}])},g("div",{css:m.titleContainer},f&&g(t.Fragment,null,g("a",{css:m.pageLink,href:I,onClick:u},g(p,{css:m.pageIcon})),g("h1",{css:m.title},h))),g(y,{css:d(V(V({},Ji),a)),id:i}),g("section",{css:m.menuContainer},s)))},ki={name:"f7hwxs",styles:"align-items:center;display:grid;grid-gap:30px;grid-template-columns:1fr 100px 1fr;justify-items:center;margin:0 auto;"},Ri={name:"euyatf",styles:"align-items:center;display:flex;flex:1;justify-content:flex-end;justify-self:end;min-width:175px;"},Ni={name:"6o7adr",styles:"align-items:center;display:flex;justify-self:flex-start;"},Vi=function(e){var t=e.colorPalette;return{container:ki,header:d(He,";background-color:#fff;border-bottom:1px solid ",t.border,";padding:15px 30px;position:sticky;top:0;width:100%;z-index:1;"),menuContainer:Ri,pageIcon:d("color:",t.fontLight,";height:20px;margin-right:10px;"),pageLink:d("cursor:pointer;:hover > svg{color:",t.font,";}"),title:d(ke,";border-left:1px solid ",t.border,";color:",t.fontLight,";font-size:14px;font-weight:500;margin:0;max-width:100%;padding:5px 0 5px 10px;"),titleContainer:Ni}},Yi=function(e){var t=e.children,n=e.footerProps,o=e.headerProps,r=e.maxWidth,i=void 0===r?1280:r;return g("div",{css:zi.pageWrapper},g(Bi,k({},o,{maxWidth:i})),g("main",{css:d([zi.content,{maxWidth:"".concat(i+60,"px")}])},t),g(yi,k({},n,{maxWidth:i})))},zi={content:d("flex:1;margin:0 auto;min-height:100%;padding:40px ",30,"px 0;width:100%;"),pageWrapper:d(He,";display:flex;flex-direction:column;min-height:100vh;")},Fi=function(e){var t=e.color,n=e.id,o=e.progress,r=i(),a=void 0===o,c=Fe(Si);return Xt("--background-color",t,r),g("progress",{"aria-label":"loading",css:d([c.progress,a&&c.progressIndeterminate]),id:n,max:100,ref:r,value:o})},Li=u(Zi||(Zi=F(["\n 0% {\n left: -35%;\n right: 100%;\n }\n 60% {\n left: 100%;\n right: -90%;\n }\n 100% {\n left: 100%;\n right: -90%;\n }\n"]))),ji=u(wi||(wi=F(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"]))),Si=function(e){var t=e.colorPalette;return{progress:d("--background-color:",t.secondary,";appearance:none;border-radius:2px;height:4px;overflow:hidden;position:relative;width:100%;&::-webkit-progress-bar{background-color:var(--background-color);border-radius:2px;opacity:0.3;}&::-webkit-progress-value{background-color:var(--background-color);border-radius:2px;transition:width 0.3s ease-out;}"),progressIndeterminate:d("&::before,&::after{background-color:var(--background-color);border-radius:2px;bottom:0;content:'';left:0;position:absolute;top:0;}&::after{animation:",Li," 2.1s cubic-bezier(0.65,0.815,0.735,0.395) infinite;}&::before{animation:",ji," 2.1s cubic-bezier(0.165,0.84,0.44,1) infinite 1.15s;}")}},Oi=function(e){var t=e.ariaLabel,n=e.context,o=e.icons,i=e.id,c=e.keySuffix,l=void 0===c?"":c,d=e.open,u=void 0!==d&&d,b=e.selectLocaleAction,p=e.showLocaleNameInList,I=void 0===p||p,h=e.showSelectedLocaleName,C=z(ze(),1)[0].colorPalette,f=z(s(n),2),v=f[0],m=v.availableLocales,y=v.locale,A=v.strings,x=f[1],G=z(r(u),2),X=G[0],Z=G[1],w=z(r(y),2),W=w[0],H=w[1];a((function(){u!==X&&Z(u)}),[u]),a((function(){y!==W&&H(y)}),[y]),a((function(){x(b(W))}),[W]);var J=function(e){return function(){return Z(e)}};return g(wn,{"aria-label":t,id:i,open:X,options:null==m?void 0:m.map((function(e){return{icon:o&&o[e],label:I&&(A["".concat(String(e)).concat(l)]||"".concat(String(e)).concat(l)),onClick:(t=e,function(){H(t),Z(!1)})};var t})),onHide:J(!1),onShow:J(!0),toggle:g(gt,{allowEventPropagation:!0,color:"transparent",icon:o&&o[y],labelColor:C.fontLight},h&&(A["".concat(String(y)).concat(l)]||"".concat(String(y)).concat(l)),g(ve,{css:Pi.icon}))})},Pi={icon:{name:"198hkja",styles:"display:flex;height:20px;width:20px;"}},Ei={dependencies:[],eventTarget:document.documentElement,shouldAddListener:!0},Mi=new WeakMap,Ti=function(e,t,n){var o=function(n){var o,r=Object.values(Mi.get(t)[e].instances).map((function(e){return e.callback})),i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=S(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}(r);try{for(i.s();!(o=i.n()).done;){(0,o.value)(n)}}catch(e){i.e(e)}finally{i.f()}};return t.addEventListener(e,o,n),o},Di=function(e,t,n){var o=V(V({},Ei),n),r=o.dependencies,i=o.eventOptions,c=o.eventTarget,l=o.shouldAddListener,s="function"==typeof l?l():l;a((function(){var n,o={callback:t},r=(n=c,Object.hasOwn(n,"current")?c.current:c);return s&&r&&(Mi.has(r)||Mi.set(r,{}),Mi.get(r)[e]||(Mi.get(r)[e]={instances:[],listener:Ti(e,r,i)}),Mi.get(r)[e].instances.push(o)),function(){var t,n=null===(t=Mi.get(r))||void 0===t?void 0:t[e];n&&(n.instances=n.instances.filter((function(e){return e!==o})),0===Mi.get(r)[e].instances.length&&function(e,t){var n=Mi.get(t);t.removeEventListener("keydown",Mi.get(t)[e].listener),delete n[e],0===Object.keys(n).length&&Mi.delete(t)}(e,r))}}),[s,e,c].concat(L(r)))},Qi={name:"14loat4",styles:"align-items:flex-end;display:flex;gap:16px;justify-content:space-between;&:not(:first-child){margin-top:40px;}"},Ui={name:"14u07wc",styles:"align-items:flex-start;display:flex;gap:16px;"},Ki={name:"11hv2i6",styles:"align-items:center;display:flex;margin-left:auto;"},qi=function(e){var t=e.colorPalette;return{closeButton:d("background-color:transparent;border:none;cursor:pointer;display:inline-flex;margin-left:auto;outline-color:",t.primary,";padding:0;"),closeIcon:d("color:",t.neutralDark,";width:40px;"),content:d(We.scrollbar,";flex-grow:1;overflow:auto;&:not(:first-child){margin-top:40px;}"),description:d("color:",t.neutralLight,";margin:0;&:not(:first-child){margin-top:8px;}"),footer:Qi,header:Ui,modal:d("--max-height:90vh;--max-width:60vw;--min-height:200px;--min-width:200px;--padding:32px;",He,";border:none;border-radius:",We.borderRadiusMedium,";box-shadow:",We.dropShadow,";display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:16px;max-height:var(--max-height);max-width:var(--max-width);min-height:var(--min-height);min-width:var(--min-width);outline:none;padding:var(--padding);&:not([data-open=\"true\"]){display:none;}&::backdrop{backdrop-filter:blur(5px);background-color:rgba(241,243,244,0.80);}"),otherActions:Ki,title:d("color:",t.neutralDark,";font-size:28px;font-weight:400;line-height:40px;margin:0;"),titleIcon:d("color:",t.secondaryDark,";flex-shrink:0;width:40px;& > path{stroke-width:1;}")}};function _i(){return _i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},_i.apply(null,arguments)}var $i,ea=n((function(t,n){return e.createElement("svg",_i({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Wi||(Wi=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.293 5.293a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414L13.586 12 8.293 6.707a1 1 0 0 1 0-1.414Z",fill:"currentColor"})))}));function ta(){return ta=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ta.apply(null,arguments)}var na,oa=n((function(t,n){return e.createElement("svg",ta({viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),$i||($i=e.createElement("path",{d:"M30 10 10 30m0-20 20 20",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function ra(){return ra=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ra.apply(null,arguments)}var ia,aa,ca=n((function(t,n){return e.createElement("svg",ra({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),na||(na=e.createElement("path",{d:"M8 12h8m6 0c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),la=["option"],sa=function(e){var n=e.actionType,r=void 0===n?"positive":n,l=e.actionButton,s=void 0===l?"Confirm":l,d=e.actionButtonIcon,u=void 0===d?"negative"===r?ca:ea:d,b=e.actionButtonId,p=e.actionDisabled,I=e.actionLoading,h=e.actionLoadingProgress,C=e.blockScroll,f=void 0===C||C,v=e.cancelButton,m=void 0===v?"Cancel":v,y=e.cancelButtonIcon,A=void 0===y?oa:y,x=e.cancelButtonId,G=e.children,W=e.closeOnCancel,H=void 0===W||W,J=e.closeOnClickOutside,B=void 0===J||J,R=e.closeOnEscape,N=void 0===R||R,V=e.description,Y=e.fullscreen,z=e.id,F=e.maxHeight,L=void 0===F?Y&&"95vh":F,j=e.maxWidth,S=void 0===j?Y&&"100vw":j,O=e.minHeight,P=void 0===O?Y&&"95vh":O,E=e.minWidth,M=void 0===E?Y&&"100vw":E,T=e.onAction,D=e.onCancel,U=e.onClose,K=e.onOpen,q=e.open,_=e.otherActions,$=e.padding,ee=e.showCloseIcon,te=void 0===ee||ee,ne=e.title,oe=e.titleIcon,re=e.ariaCloseLabel,ae=void 0===re?"close":re,le=e.ariaDescription,se=void 0===le?V:le,de=e.ariaLabel;dt("WJEC One Modal: The fullscreen prop has been deprecated because a Modal can now be sized situationally using the maxHeight, maxWidth, minHeight and minWidth props",(function(){return void 0!==Y}),[Y]);var ge,ue,be=i(),pe=i(),Ie=o((function(){return ie(se)}),[se]),he=Ht(ie(Ie));ge="escape",ue=function(e){return e.preventDefault()},Di("keydown",(function(e){var t;(null===(t=void 0===e.code?e.key:e.code)||void 0===t?void 0:t.toLowerCase())===(null==ge?void 0:ge.toLowerCase())&&ue(e)}),{shouldAddListener:q&&!N}),a((function(){f&&q&&X(pe.current,{reserveScrollBarGap:!0,allowTouchMove:function(e){return pe.current.contains(e)}})}),[f,q]),c((function(){q?fe():Ce()}),[q]),function(e){a((function(){return e}),[])}((function(){Z()}));var Ce=function(){pe.current.close()},fe=function(){var e,t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.documentElement;return Array.from(e.querySelectorAll(Q.join(","))).filter((function(e){return!e.hasAttribute("disabled")&&!e.getAttribute("aria-hidden")}))}(be.current);null==t||null===(e=t[0])||void 0===e||e.setAttribute("autofocus","true"),pe.current.showModal(),ce(K)&&K()},ve=Fe(qi),me=o((function(){return{"--max-height":L,"--max-width":S,"--min-height":P,"--min-width":M,"--padding":$}}),[L,L,P,M,$]),ye=o((function(){return"negative"===r?Ct:xt}),[r]),Ae=s||m||_,xe=te||ne||oe;return g("dialog",k({"aria-label":de,css:ve.modal,id:z,onClick:function(e){var t,n=e.nativeEvent.pointerType,o=e.target,r=null==o||null===(t=o.tagName)||void 0===t?void 0:t.toLowerCase();if(B&&n&&!la.includes(r)){var i=pe.current.getBoundingClientRect();(e.clientX<i.left||e.clientX>i.right||e.clientY<i.top||e.clientY>i.bottom)&&Ce()}},onClose:function(){w(pe.current),pe.current.setAttribute("data-open","false"),ce(U)&&U()},ref:pe,style:me,"data-open":q},he),q&&g(t.Fragment,null,xe&&g("header",{css:ve.header},oe&&g(oe,{css:ve.titleIcon}),ne&&g("h3",{css:ve.title},ne),te&&g("button",{"aria-label":ae,css:ve.closeButton,onClick:Ce},g(oa,{"aria-hidden":!0,css:ve.closeIcon}))),V&&g("p",{css:ve.description},V),g("div",{css:ve.content,ref:be},G),Ae&&g("footer",{css:ve.footer},m&&(t.isValidElement(m)?m:g(gt,{icon:A,id:x,label:m,onPress:function(){ce(D)&&D(),H&&Ce()}})),g("section",{css:ve.otherActions},_&&(t.isValidElement(_)?_:g(wn,{options:_}))),s&&(t.isValidElement(s)?s:g(ye,{disabled:p,icon:u,iconPosition:"right",id:b,label:s,loading:I,loadingProgress:h,onPress:T})))))},da=function(e){var t=e.children,n=e.color,r=z(ze(),1)[0],a=r.brand,c=r.colorPalette,l=Fe(ga),s=i(),d=o((function(){return n||c.font}),[a,n]);return Xt("--title-color",d,s),g("h3",{css:l.title,ref:s},t)},ga=function(e){var t=e.colorPalette;return{title:d("--title-color:",t.font,";color:var(--title-color);font-family:'Montserrat',sans-serif;font-size:16px;font-weight:600;margin:0 0 4px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;")}};function ua(){return ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ua.apply(null,arguments)}var ba,pa=n((function(t,n){return e.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),ia||(ia=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),aa||(aa=e.createElement("path",{d:"M12 16v-4m0-4h.01",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Ia=function(e){var n=e.ariaDescription,l=e.ariaCloseLabel,s=e.autoClose,u=e.borderColor,b=e.children,p=e.icon,I=void 0===p?pa:p,h=e.iconColor,C=e.id,f=e.maxWidth,v=e.message,m=e.onClose,y=e.onOpen,A=e.open,x=void 0===A||A,G=e.openedTimestamp,X=e.position,Z=e.positionType,w=e.showImmediately,W=e.title,H=e.titleColor,J=i(x?w?"open":"opening":"closed"),B=i(),R=i(m),N=i(),Y=z(r((function(){return void 0!==G?s-(Date.now()-G):s})),1)[0],F=z(r((function(){return-1*(100-Y/s*100)})),1)[0],L=Ht(n);nt("WJEC-One Notification: Icon must be a valid SVGComponent",(function(){return I&&"none"!==I&&!ue(t.createElement(I))}),[I]),a((function(){R.current=m}),[m]),c((function(){x&&"open"!==J.current&&S(w?"open":"opening")}),[x,w]),a((function(){x&&(ce(y)&&y(),"open"!==J.current&&O()),x||"closed"===J.current||j()}),[x]),a((function(){var e=function(){j()};return x&&s&&B.current.addEventListener("animationend",e),function(){var t;null===(t=B.current)||void 0===t||t.removeEventListener("animationend",e)}}),[s,x]),a((function(){var e=function(e){"opacity"===e.propertyName&&"closing"===J.current&&(S("closed"),ce(R.current)&&R.current())};return N.current.addEventListener("transitionend",e),function(){var t;null===(t=N.current)||void 0===t||t.removeEventListener("transitionend",e)}}),[]);var j=function(){requestAnimationFrame((function(){S("closing")}))},S=function(e){var t;J.current=e,null===(t=N.current)||void 0===t||t.setAttribute("data-state",e)},O=function(){requestAnimationFrame((function(){S("open")}))},P=Fe(ya),E=o((function(){return I&&"none"!==I?g(I,{css:d([P.icon]),"aria-hidden":!0}):null}),[I]),M=o((function(){return{"--border-color":u,"--icon-color":h,"--max-width":f,"--position":Z,"--title-color":H}}),[u,h,f,Z,H]);return g("div",k({css:P.container,id:C,ref:N,style:V(V({},M),X),"data-state":J.current},L),E,g(da,{color:H},W),g("p",{css:P.message},v||b),x&&s&&g("svg",{css:P.autoClose,viewBox:"0 0 20 20","aria-hidden":!0},g("circle",{css:P.autoCloseCircle,cx:"10",cy:"10",r:"9",ref:B,pathLength:"100",style:{"--auto-close-duration":"".concat(Y,"ms"),"--auto-close-offset":F}})),g(fo,{"aria-label":l,css:P.close,id:"close",onClick:j}))},ha=u(ba||(ba=F(["\n to { stroke-dashoffset: -100; }\n"]))),Ca={name:"9xvvt0",styles:"height:20px;position:absolute;right:8px;top:8px;width:20px;"},fa={name:"oofjv5",styles:"cursor:pointer;height:36px;outline:none;padding:10px;position:absolute;right:0;top:0;width:36px;"},va={name:"wvqk7n",styles:"color:var(--icon-color);flex-shrink:0;height:24px;left:16px;position:absolute;width:24px;"},ma={name:"1ytxr68",styles:"font-size:14px;line-height:20px;margin:0;white-space:pre-line;"},ya=function(e){var t=e.colorPalette;return{autoClose:Ca,autoCloseCircle:d("--auto-close-duration:initial;--auto-close-offset:0;animation:var(--auto-close-duration) ",ha," linear forwards;fill:transparent;stroke:",E.fontLight,";stroke-dasharray:100;stroke-dashoffset:var(--auto-close-offset);stroke-width:1;transform:rotate(-90deg);transform-origin:50%;"),close:fa,container:d("--border-color:",t.border,";--easing:ease-out;--fade-duration:500ms;--icon-color:",t.border,";--max-width:375px;--offset-y:0;--opacity:1;--position:relative;--title-color:",t.font,";",He,";background-color:#ffffff;border:1px solid var(--border-color);border-radius:",We.borderRadius,";box-shadow:",We.dropShadow,';font-family:\'Montserrat\',sans-serif;font-size:16px;gap:16px;line-height:24px;margin-bottom:16px;max-width:var(--max-width);opacity:var(--opacity);padding:16px 40px 16px 56px;position:var(--position);transform:translateY(var(--offset-y));transition:opacity var(--fade-duration) linear,transform var(--fade-duration) var(--easing);z-index:999;&[data-state="closed"]{display:none;}&[data-state="closing"]{--easing:ease-in;--opacity:0;--offset-y:-60px;}&[data-state="opening"]{--opacity:0;--offset-y:-60px;}'),icon:va,message:ma}},Aa=["title"],xa=function(e){var t=e.title,n=void 0===t?"Error":t,o=Y(e,Aa),r=z(ze(),1)[0].colorPalette;return g(Ia,k({},o,{borderColor:E.error,icon:go,iconColor:r.error,id:o.id||"errorNotification",title:n,titleColor:E.error}))},Ga=["title"],Xa=function(e){var t=e.title,n=void 0===t?"Information":t,o=Y(e,Ga),r=z(ze(),1)[0].colorPalette;return g(Ia,k({},o,{borderColor:r.primary,iconColor:r.primary,id:o.id||"infoNotification",title:n,titleColor:r.primary}))},Za=["title"],wa=function(e){var t=e.title,n=void 0===t?"Success":t,o=Y(e,Za),r=z(ze(),1)[0].colorPalette;return g(Ia,k({},o,{borderColor:E.success,icon:co,iconColor:r.success,id:o.id||"successNotification",title:n,titleColor:E.success}))},Wa=function(e){var t=e.children,n=e.color,o=e.id,r=i(),a=Fe(Ha);return Xt("--color",n,r),g("h1",{css:a.heading,id:o,ref:r},t)},Ha=function(e){var t=e.colorPalette;return{heading:d("--color:",t.font,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:28px;font-weight:400;line-height:40px;margin:0 0 30px 0;")}},Ja=function(e){var n=e.ariaCurrent,r=e.ariaLabel,i=e.compact,a=void 0!==i&&i,c=e.current,l=void 0===c?1:c,s=e.id,u=e.onSelect,b=e.total,p=function(e){return function(){e>0&&e<b+1&&ce(u)&&u(e)}},I=o((function(){return b>5?l<4?[2,3,4,"..."]:l>b-3?["...",b-3,b-2,b-1]:["...",l-1,l,l+1,"..."]:L(Array(Math.max(0,b-2)).keys()).map((function(e){return e+2}))}),[l,b]),h=Fe(Na);return g("ol",{"aria-label":r,css:h.container,id:s},g("li",{"aria-current":n,css:d([h.option,h.optionNextPrevious,1===l&&h.optionDisabled]),onClick:p(l-1)},g(Ae,{height:"100%",width:"100%"})),a?g("li",{css:h.compact},l," of ",b):g(t.Fragment,null,g("li",{css:d([h.option,1===l&&h.optionSelected]),onClick:p(1)},"1"),I.map((function(e,t){return g("li",{key:t,css:d([h.option,e===l&&h.optionSelected,"string"==typeof e&&h.optionSeparator]),onClick:"number"==typeof e?p(e):null},e)})),b>1&&g("li",{css:d([h.option,l===b&&h.optionSelected]),onClick:p(b)},b)),g("li",{css:d([h.option,h.optionNextPrevious,l===b&&h.optionDisabled]),onClick:p(l+1)},g(Xe,{height:"100%",width:"100%"})))},Ba={name:"1qje5jb",styles:"margin:0 15px;text-align:center;user-select:none;width:50px;"},ka={name:"1x05hl3",styles:"opacity:0.33;pointer-events:none;"},Ra={name:"1ixbp0l",styles:"pointer-events:none;"},Na=function(e){var t=e.colorPalette;return{compact:Ba,container:d(He,";display:flex;font-family:'Montserrat',sans-serif;font-size:14px;justify-content:center;line-height:20px;list-style:none;margin:0;padding:0;width:100%;"),option:d("align-items:center;border-radius:",We.borderRadius,";color:",t.fontLight,";cursor:pointer;display:flex;height:20px;justify-content:center;margin:0 5px;user-select:none;width:20px;&:first-of-type{margin-left:0;}&:last-of-type{margin-right:0;}"),optionDisabled:ka,optionNextPrevious:d("border:1px solid ",t.border,";"),optionSelected:d("background-color:",t.primary,";color:#FFFFFF;pointer-events:none;"),optionSeparator:Ra}},Va=function(e){var n=e.ariaLabel,o=e.children,i=e.isLoadingStyles,c=e.onOpen,l=e.popupWindow,s=z(r(!1),2),d=s[0],u=s[1];return a((function(){d||i||(ce(c)&&c(l),u(!0))}),[i]),g(t.Fragment,null,o,i&&g("div",{"aria-label":n,css:za.wrapper},g(Fi,null)))},Ya=function(e){var t=e.children,n=e.height,o=void 0===n?500:n,c=e.id,l=void 0===c?"":c,s=e.onClose,d=e.onOpen,u=e.open,b=e.position,p=void 0===b?{x:50,y:200}:b,I=e.title,h=void 0===I?"":I,C=e.width,f=void 0===C?500:C,v=z(r(),2),m=v[0],A=v[1],x=i(),G=i(document.querySelectorAll("[data-emotion]")),X=z(r(!1),2),Z=X[0],w=X[1],W=z(r(u),2),H=W[0],J=W[1],B=z(r(!1),2),k=B[0],R=B[1];a((function(){var e=document.querySelectorAll("[data-emotion]");H&&x.current&&Array.from(e).some((function(e,t){return e!==G.current[t]}))&&(G.current=e,V())})),a((function(){return function(){return x.current&&x.current.close()}}),[]),a((function(){H&&Y(),!x.current||x.current.closed||H||x.current.close()}),[t,H]),a((function(){x.current&&(x.current.document.title=h)}),[h]),a((function(){return J(u)}),[u]);var N=function(){w(!1),J(!1),R(!1),ce(s)&&s()},V=function(){var e=x.current.document,t=e.head,n=t.querySelectorAll("style");Array.from(n).forEach((function(e){return t.removeChild(e)})),G.current.forEach((function(n){var o=n.textContent,r=n.sheet,i=e.createElement("style");if(i.appendChild(e.createTextNode("")),t.appendChild(i),o)i.appendChild(e.createTextNode(o));else{var a=i.sheet;[].forEach.call(r.cssRules,(function(e){a.insertRule(e.cssText)}))}})),requestAnimationFrame((function(){w(!0)}))},Y=function(){if(!H||!x.current||x.current.closed)if(w(!1),x.current=window.open("",l,"left=".concat(p.x,",height=").concat(o,",top=").concat(p.y,",width=").concat(f)),x.current){var e=x.current.document.createElement("main");e.setAttribute("id",l),A(e),x.current.onbeforeunload=N,x.current.document.body.appendChild(e),x.current.document.title=h,requestAnimationFrame((function(){V(),J(!0),R(!0)}))}else T("A PopupWindow failed to open")};return H&&k&&x.current&&m?y.createPortal(g(Va,{isLoadingStyles:!Z,onOpen:d,popupWindow:x.current},t),m):null},za={wrapper:{name:"z2hlcz",styles:"background-color:#fff;bottom:0;left:0;padding:30px 10px;position:absolute;right:0;top:0;"}},Fa=function(e){var n=e.ariaLabel,c=e.children,l=e.footer,s=void 0===l?t.Fragment:l,u=e.header,p=void 0===u?t.Fragment:u,I=e.id,h=e.isNested,C=e.margin,f=void 0===C?"auto":C,v=e.onLayout,m=e.orientation,y=void 0===m?"portrait":m,A=e.parentFooterHeight,x=void 0===A?0:A,G=e.parentHeaderHeight,X=void 0===G?0:G,Z=e.verticalAlign,w=void 0===Z?"top":Z,W=z(r("auto"),2),H=W[0],J=W[1],B=z(r("auto"),2),k=B[0],R=B[1],N=i(),Y=i(),F=o((function(){return("auto"===H?0:H)+("auto"===k?0:k)+x+X}),[H,k,x,X]);return a((function(){N.current&&J(N.current.offsetHeight),Y.current&&R(Y.current.offsetHeight)}),[p,s,Y.current,N.current]),a((function(){"auto"!==H&&"auto"!==k&&ce(v)&&v()}),[H,k]),g(t.Fragment,null,!h&&g(b,{styles:d("@media print{*{-webkit-print-color-adjust:exact;}@page{margin:",f,";size:",y,";}}")}),g("table",{"aria-label":n,cellPadding:0,cellSpacing:0,css:Sa.printLayoutTable,id:I},g("thead",null,g("tr",null,g("td",{css:Sa.printLayoutTableCell,style:{height:k}},g("header",{ref:Y,css:d([Sa.header,!h&&Sa.printHeader])},g(p,null))))),g("tbody",null,g("tr",null,g("td",{css:d([Sa.printLayoutTableCell,Sa.content]),style:{height:h?"calc(100vh - ".concat(F,"px)"):"auto",verticalAlign:w}},t.Children.map(c,(function(e){return e&&e.type&&("PrintLayout"===e.type.displayName||"PrintLayout"===e.type.name)?t.cloneElement(e,V(V({},e.props),{},{isNested:!0,parentFooterHeight:H,parentHeaderHeight:k})):e}))))),g("tfoot",null,g("tr",null,g("td",{css:Sa.printLayoutTableCell,style:{height:H}},g("footer",{ref:N,css:d([Sa.footer,!h&&Sa.printFooter])},g(s,null)))))))};Fa.displayName="PrintLayout";var La,ja,Sa={content:{name:"10klw3m",styles:"height:100%;"},footer:{name:"1tqge2o",styles:"background-color:#fff;overflow:hidden;"},header:{name:"1tqge2o",styles:"background-color:#fff;overflow:hidden;"},printFooter:{name:"oo54uf",styles:"@media print{bottom:0;left:0;position:fixed;width:100%;}"},printHeader:{name:"134o4pi",styles:"@media print{left:0;position:fixed;top:0;width:100%;}"},printLayoutTable:d(He,";width:100%;/* Margin will be provided by @page rule in global when printing */ @media print{padding:0;page-break-after:always;page-break-before:always;page-break-inside:avoid;}"),printLayoutTableCell:{name:"y8aj3r",styles:"padding:0;"}},Oa=["ariaLabel","autoPrint","children","closeOnPrint","id","onClose","onOpen"],Pa=function(e){var t=e.ariaLabel,n=e.autoPrint,o=e.children,c=e.closeOnPrint,l=e.id,s=e.onClose,d=e.onOpen,u=Y(e,Oa),b=z(r(!1),2),p=b[0],I=b[1],h=z(r(!1),2),C=h[0],f=h[1],v=i();a((function(){p&&C&&m()}),[p,C]);var m=function(){ce(d)&&d(v.current),n&&v.current.print()},y=function(){c&&v.current.close()};return g(Ya,k({},u,{id:l,onClose:function(){I(!1),f(!1),ce(s)&&s()},onOpen:function(e){(v.current=e,v.current.document.body.style.margin="0",v.current.document.body.style.padding="0","onafterprint"in v.current)?v.current.onafterprint=y:window.matchMedia("print").addListener((function(e){return e.matches&&y()}));f(!0)}}),g(Fa,k({ariaLabel:t},u,{onLayout:function(){I(!0)}}),o))},Ea=function(e){var t=e.children,n=e.element,o=void 0===n?"div":n,r=e.horizontal,i=void 0!==r&&r,a=e.styles,c=e.vertical,l=void 0===c||c;return g(o,{css:[a,We.scrollbar,{overflowX:i?"auto":"hidden",overflowY:l?"auto":"hidden"}]},t)},Ma=function(e){var t=e.children,n=e.color,o=e.id,r=i(),a=Fe(Ta);return Xt("--border-left-color",n,r),g("h3",{css:a.sectionHeading,id:o},t)},Ta=function(e){var t=e.colorPalette;return{sectionHeading:d("--border-left-color:",t.secondary,";border-left:2px solid var(--border-left-color);color:",t.font,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:500;line-height:20px;margin:0;padding-left:7px;")}},Da=function(e){var t=e.children,n=e.color,o=e.id,r=i(),a=Fe(Qa);return Xt("--color",n,r),g("h3",{css:a.title,id:o,ref:r},t)},Qa=function(e){var t=e.colorPalette;return{title:d("--color:",t.font,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:18px;font-weight:400;line-height:30px;margin-top:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;")}};function Ua(){return Ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ua.apply(null,arguments)}var Ka,qa=n((function(t,n){return e.createElement("svg",Ua({viewBox:"0 0 1440 150",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),La||(La=e.createElement("mask",{id:"a","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:0,y:0,width:1440,height:150},e.createElement("path",{fill:"#fff",d:"M0 0h1440v150H0z"}))),ja||(ja=e.createElement("g",{mask:"url(#a)"},e.createElement("path",{opacity:.4,d:"M4.093 21.192 1.725-50.176a5 5 0 0 1 3.923-5.05l249.66-54.934a4.999 4.999 0 0 1 4.394 1.144L388.786 5.551a5.002 5.002 0 0 1 1.444 5.26L372.279 67.06a5 5 0 0 1-3.215 3.233L138.73 145.341a5 5 0 0 1-4.961-1.098L5.679 24.681a5 5 0 0 1-1.586-3.49ZM1438.64 11.165l5.18-83.581a5 5 0 0 0-3.78-5.16l-286.09-71.608a4.986 4.986 0 0 0-4.42 1.017L995.649-19.287a4.998 4.998 0 0 0-1.719 2.995L970.938 118.98a5 5 0 0 0 4.653 5.83l370.079 20.533a5.005 5.005 0 0 0 4.42-2.188l87.7-129.495c.5-.74.8-1.602.85-2.495Z",fill:"#47BAD1"}),e.createElement("path",{opacity:.4,d:"m341.147 35.262 214.851 26.282a5.003 5.003 0 0 0 4.313-1.605l92.293-101.841c3.011-3.322.465-8.622-4.01-8.349L337.991-31.26a5 5 0 0 0-4.686 5.296l3.459 56.569a5 5 0 0 0 4.383 4.657Z",fill:"#A55896"}),e.createElement("path",{opacity:.4,d:"m636.066 94.071-192.7-231.608c-1.998-2.401-1.329-6.026 1.393-7.556l302.76-170.202a5 5 0 0 1 6.809 1.908L926.159-7.729c1.532 2.725.215 6.173-2.744 7.182L641.524 95.605a5 5 0 0 1-5.458-1.534Z",fill:"#2855A2"}),e.createElement("path",{opacity:.4,d:"M983.494 89.93 703.798 14.977c-3.017-.808-4.562-4.154-3.221-6.975l143.28-301.486a5 5 0 0 1 6.662-2.37l304.371 144.653c2.83 1.342 3.74 4.918 1.91 7.45L988.837 88.035a5 5 0 0 1-5.343 1.895Z",fill:"#B0C600"}))))})),_a={cancel:"Cancel",code:"Code",forgotPassword:"Forgot your password?",newPassword:"New password",password:"Password",repeatNewPassword:"Re-enter new password",username:"Username",changePasswordPrompt:"Enter a new password below",changePasswordSubmit:"Change password",changePasswordTitle:"Change your password",changePasswordWarning:"Passwords do not match",forceChangePasswordPrompt:"You must enter a new password",forceChangePasswordTitle:"Change your password",mfaPrompt:"A code has been sent to the email address associated with your account. Enter the code below to continue",mfaSubmit:"Submit code",mfaTitle:"Verify signin",confirmResetPasswordPrompt:"Enter the provided code along with your new password below",requestResetPasswordPrompt:"Enter your email address below and we will send a code to reset your password",resetPasswordHaveCode:"Already have a reset code?",resetPasswordSubmit:"Request reset",resetPasswordTitle:"Reset your password",signin:"Sign in",signinPrompt:"Please sign in to access your account",signout:"Sign out",signup:"Sign up now",signupPrompt:"Don't have an account?",welcomeMessage:"Hello, {username}",welcomeMessageNotSignedIn:"Welcome",welcomeMessagePunctuation:"."},$a=function(e){var n=e.ariaDescription,i=e.ariaLabel,c=e.allowForgotPassword,l=void 0===c||c,s=e.allowSignup,u=void 0===s||s,b=e.autocomplete,p=void 0===b||b,I=e.enforceFormCompletion,h=e.id,C=e.padding,f=void 0===C?"50px 30px 30px":C,v=e.passwordValidator,m=void 0===v?function(e,t){return e===t}:v,y=e.profileActions,A=e.repeatNewPassword,x=e.type,G=void 0===x?"external":x,X=e.onCancel,Z=e.onChangePassword,w=e.onConfirmResetPassword,W=e.onForceChangePassword,H=e.onForgotPassword,J=e.onHaveResetCode,B=e.onRequestResetPassword,R=e.onSignin,N=e.onSignout,Y=e.onSignup,F=e.onSubmitMfa,L=e.loading,j=e.isSignedIn,S=void 0!==j&&j,O=e.username,P=e.i18n,E=z(ze(),1)[0].colorPalette,M=Fe(dc),T=V(V({},_a),P),D=z(r(!0),2),Q=D[0],U=D[1],K=z(r("confirmResetPassword"===G),2),q=K[0],_=K[1],$=z(r(""),2),ee=$[0],te=$[1],ne=z(r(""),2),oe=ne[0],re=ne[1],ie=z(r(""),2),ae=ie[0],le=ie[1],se=z(r(""),2),de=se[0],ge=se[1],ue=z(r(""),2),be=ue[0],pe=ue[1],Ie=z(r(""),2),he=Ie[0],Ce=Ie[1],fe=Ht(n);a((function(){te(""),re(""),le(""),ge(""),pe(""),Ce("")}),[S]),a((function(){"confirmResetPassword"===G?_(!0):q&&(_(!1),pe(""))}),[G]),a((function(){A||Q||U(!0)}),[A]);var ve=function(){ce(W)&&W(oe)},me=function(){ce(Z)&&Z(be,oe)},ye=function(){ce(w)&&w(he,oe,de)},Ae=function(){ce(B)&&B(he)},xe=function(){ce(R)&&R(he,be)},Ge=function(){ce(F)&&F(ee)},Xe=o((function(){switch(G){case"changePassword":return T.changePasswordPrompt;case"confirmResetPassword":return T.confirmResetPasswordPrompt;case"forceChangePassword":return T.forceChangePasswordPrompt;case"mfa":return T.mfaPrompt;case"requestResetPassword":return T.requestResetPasswordPrompt;default:return T.signinPrompt}}),[P,G]),Ze=o((function(){return"changePassword"!==G&&"confirmResetPassword"!==G&&"requestResetPassword"!==G&&(S||l||u)}),[l,u,S,G]),we=o((function(){if(!I)return!1;switch(G){case"changePassword":case"forceChangePassword":return""===oe||!Q;case"confirmResetPassword":return""===de||""===oe||!Q;case"mfa":return""===ee;case"requestResetPassword":return""===he;default:return""===be||""===he}}),[Q,ee,oe,de,ae,be,he,G]),We=o((function(){switch(G){case"changePassword":case"forceChangePassword":return T.changePasswordSubmit;case"mfa":return T.mfaSubmit;case"confirmResetPassword":case"requestResetPassword":return T.resetPasswordSubmit;default:return T.signin}}),[P,G]),He=o((function(){switch(G){case"changePassword":return T.changePasswordTitle;case"confirmResetPassword":case"requestResetPassword":return T.resetPasswordTitle;case"forceChangePassword":return T.forceChangePasswordTitle;case"mfa":return T.mfaTitle;default:return g(t.Fragment,null,S?"string"==typeof T.welcomeMessage?T.welcomeMessage.replace(/\{username\}/g,O):T.welcomeMessage:T.welcomeMessageNotSignedIn,T.welcomeMessagePunctuation&&g("span",{css:M.welcomeMessagePunctuation},T.welcomeMessagePunctuation))}}),[P,S,G]);return g("div",k({"aria-label":i,id:h,css:d([M.container,{padding:f}])},fe),g(qa,{css:M.headerShapes,"aria-hidden":!0}),g("h1",{css:M.welcomeMessage},He),g("section",{css:M.formContainer},S?g("ul",{css:M.actionsList},y&&y.map((function(e,t){var n=e.icon,o=e.label,r=e.onClick;return g("li",{key:t,css:M.action,onClick:r},n&&g(n,{css:M.actionIcon}),o)}))):g(t.Fragment,null,g("h2",{css:M.prompt},Xe),g("form",{autoComplete:p?"on":"off",css:M.form,onSubmit:function(e){e.preventDefault()}},("internal"===G||"requestResetPassword"===G||"confirmResetPassword"===G)&&g(uo,{label:T.username,name:"username",onChange:Ce,value:he,width:"100%"}),("changePassword"===G||"forceChangePassword"===G||"confirmResetPassword"===G)&&g(t.Fragment,null,"changePassword"===G&&g(Wr,{label:T.password,name:"password",onChange:pe,value:be}),"confirmResetPassword"===G&&g(uo,{label:T.code,name:"code",onChange:ge,value:de,width:"100%"}),g(Wr,{label:T.newPassword,name:"password",onChange:function(e){re(e),A&&U(m(e,ae))},value:oe}),A&&g(Wr,{highlightColor:E.error,highlighted:!Q,label:T.repeatNewPassword,name:"confirmPassword",onChange:function(e){le(e),U(m(oe,e))},value:ae}),!Q&&g("span",{css:M.changePasswordWarning},T.changePasswordWarning)),"internal"===G&&g(Wr,{label:T.password,name:"password",onChange:pe,value:be}),"mfa"===G&&g(uo,{name:"code",onChange:te,value:ee}),g("div",{css:M.formActions},g(xt,{buttonType:"submit",disabled:we,icon:Mt,label:We,onClick:function(){switch(G){case"changePassword":return me;case"confirmResetPassword":return ye;case"forceChangePassword":return ve;case"mfa":return Ge;case"requestResetPassword":return Ae;default:return xe}}()}),("changePassword"===G||"confirmResetPassword"===G||"mfa"===G||"requestResetPassword"===G)&&g("a",{css:M.cancel,onClick:function(){ce(X)&&X()}},T.cancel),"requestResetPassword"===G&&g("a",{css:d([M.actionLink,M.haveResetCode]),onClick:function(){ce(J)&&J()}},T.resetPasswordHaveCode))))),Ze&&g("footer",{css:M.userDetails},S?g(gt,{color:"transparent",icon:jt,iconColor:E.fontLight,label:T.signout,labelColor:E.font,onClick:function(){ce(N)&&N()}}):g(t.Fragment,null,l&&g("a",{css:M.actionLink,onClick:function(){ce(H)&&H()}},g("h2",{css:M.prompt},T.forgotPassword)),u&&g("div",null,g("h2",{css:M.prompt},T.signupPrompt),g("a",{css:M.actionLink,onClick:function(){ce(Y)&&Y()}},T.signup)))),L&&g("div",{css:M.loading},g(rt,null)))},ec={name:"yh3jvl",styles:"height:20px;margin-right:5px;width:20px;"},tc={name:"10w3nmc",styles:"list-style:none;margin:20px 0;padding:0;"},nc={name:"vl8ak5",styles:"font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;position:relative;"},oc={name:"1ajcev4",styles:"& >:not(:last-child){margin-top:10px;}"},rc={name:"79elbk",styles:"position:relative;"},ic={name:"w5in9r",styles:"align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:20px;"},ac={name:"1xxqlwe",styles:"display:inline-block;flex:0 1 100%;margin-top:10px;"},cc={name:"19hbn8x",styles:"left:0;position:absolute;top:0;width:100%;"},lc={name:"zhwjfn",styles:"align-items:center;background-color:rgba(255,255,255,0.85);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;"},sc={name:"1vnyfz6",styles:"font-size:18px;font-weight:normal;line-height:40px;margin:0;"},dc=function(e){var t=e.colorPalette;return{action:d("border-radius:",We.borderRadius,";cursor:pointer;display:flex;padding:10px;&:hover{background-color:",t.neutral,";}&:not(:last-child){margin-bottom:10px;}"),actionIcon:ec,actionLink:d("color:",t.primaryDark,";cursor:pointer;text-decoration:none;&:hover{text-decoration:underline;}"),actionsList:tc,cancel:d("color:",t.secondaryDark,";cursor:pointer;font-size:12px;margin-left:10px;:hover{text-decoration:underline;}"),changePasswordWarning:d("color:",t.errorDark,";font-size:12px;"),container:nc,form:oc,formContainer:rc,formActions:ic,haveResetCode:ac,headerShapes:cc,loading:lc,prompt:d("color:",t.fontLight,";font-size:14px;font-weight:normal;margin:0;"),userDetails:d("border-top:1px solid ",t.border,";display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:30px;padding-top:20px;& > *{white-space:nowrap;:not(:last-child){margin:0 15px 15px 0;}}"),welcomeMessage:sc,welcomeMessagePunctuation:d("color:",t.secondary,";")}};function gc(){return gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},gc.apply(null,arguments)}var uc,bc=n((function(t,n){return e.createElement("svg",gc({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Ka||(Ka=e.createElement("g",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor"},e.createElement("path",{d:"M6.667 6.667A3.332 3.332 0 1 1 10 10a3.332 3.332 0 0 1-3.333-3.333Zm5 0C11.667 5.75 10.917 5 10 5s-1.667.75-1.667 1.667c0 .916.75 1.666 1.667 1.666s1.667-.75 1.667-1.666ZM3.333 15c0-2.217 4.442-3.333 6.667-3.333 2.225 0 6.667 1.116 6.667 3.333v1.667H3.333V15ZM15 15c-.167-.592-2.75-1.667-5-1.667-2.242 0-4.808 1.067-5 1.667h10Z"}))))})),pc=["ariaLabel","id","onClose","onOpen","open"],Ic=function(e){var t=e.ariaLabel,n=e.id,o=e.onClose,i=e.onOpen,c=e.open,l=void 0!==c&&c,s=Y(e,pc),d=z(ze(),1)[0].colorPalette,u=z(r(l),2),b=u[0],p=u[1];a((function(){l!==b&&p(l)}),[l]);var I=Fe(Cc);return g(pn,{"aria-label":t,id:n,maxHeight:"425px",onHide:o,onShow:i,open:b,padding:"0",toggle:g(gt,{allowEventPropagation:!0,color:"transparent",icon:function(e){return g(bc,k({css:I.avatar},e))},id:"signinMenu",labelColor:d.fontLight},g(ve,{css:I.arrow})),width:"276px"},g($a,s))},hc={name:"198hkja",styles:"display:flex;height:20px;width:20px;"},Cc=function(e){var t=e.colorPalette;return{arrow:hc,avatar:d("background-color:",t.neutral,";border-radius:50%;padding:1px;")}},fc=function(e){var t=e.children,n=e.color,o=e.id,r=i(),a=Fe(vc);return Xt("--color",n,r),g("p",{css:a.subParagraph,id:o,ref:r},t)},vc=function(e){var t=e.colorPalette;return{subParagraph:d("--color:",t.font,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:12px;font-weight:400;line-height:20px;margin:0;")}},mc=function(e){var t=e.children,n=e.id,o=Fe(yc);return g("h2",{css:o.heading,id:n},t)},yc=function(e){var t=e.colorPalette;return{heading:d("color:",t.font,";font-family:'Montserrat',sans-serif;font-size:24px;font-weight:400;line-height:40px;margin:0 0 30px 0;")}},Ac={name:"1vuy4hm",styles:"padding:0 calc(var(--column-gap,16px) / 2);text-align:var(--align,left);vertical-align:middle;width:var(--width,auto);&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;}"},xc={name:"k008qs",styles:"display:flex;"},Gc={name:"5xt1kf",styles:"align-items:center;display:flex;flex-wrap:nowrap;gap:8px;&:not(:empty){min-height:32px;}"},Xc={name:"5h0m38",styles:"display:inline-flex;flex-direction:column;"},Zc=function(e){var t=e.colorPalette;return{cell:Ac,container:xc,header:d("color:",t.neutralDark,';font-weight:500;padding-top:0;&[data-sortable="true"]{cursor:pointer;}'),headerContainer:Gc,row:d("--highlight-color:",t.highlight,";border-radius:calc(",H.borderRadius,' / 2);&[data-highlight="hover"]:hover,&[data-highlight="hover"][data-selected="true"],&[data-highlight="selected"][data-selected="true"]{background-color:var(--highlight-color);box-shadow:0 0 0 8px var(--highlight-color);}&[data-interactive="true"]{cursor:pointer;}'),sortableIcon:d("color:",t.border,';width:20px;& > path{stroke-width:2.5;}&[data-active="true"]{color:',t.neutralDark,";}"),sortableIndicators:Xc,table:d("border-spacing:0 var(--row-gap,8px);color:",t.font,";flex-basis:100%;font-family:'Montserrat',sans-serif;font-size:16px;line-height:24px;margin:calc(var(--row-gap,8px) * -1) 0;")}},wc=function(e,t){var n=e.displayValue;return"function"==typeof n?n(t):n};function Wc(){return Wc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Wc.apply(null,arguments)}var Hc=n((function(t,n){return e.createElement("svg",Wc({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),uc||(uc=e.createElement("path",{d:"m18 15-6-6-6 6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Jc=t.memo((function(e){var t=e.columnOptions,n=e.column,o=e.row,r=e.styles,i="max"===n.width?"100%":"min"===n.width?"1px":n.width;return g("td",{css:d([r.cell,{"--align":n.align||(null==t?void 0:t.align),"--width":i}],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN1YkNvbXBvbmVudHMuanN4Il0sIm5h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ctLWhpZ2hsaWdodC1jb2xvcic6IHJvd09wdGlvbnM/LmhpZ2hsaWdodENvbG9yIH1dfSBvbkNsaWNrPXtvblByZXNzfSBkYXRhLWhpZ2hsaWdodD17cm93T3B0aW9ucz8uaGlnaGxpZ2h0fSBkYXRhLWludGVyYWN0aXZlPXtpc0ludGVyYWN0aXZlfSBkYXRhLXNlbGVjdGVkPXtpc1NlbGVjdGVkfT5cclxuICAgIHtjaGlsZHJlbn1cclxuICA8L3RyPik7XHJcbiJdfQ== */")},wc(n,o))})),Bc=function(e){var t=e.column,n=e.isSortable,o=e.isSorted,r=e.onPress,i=e.sortedDirection,a=e.styles;return g("th",{"aria-sort":o?i:void 0,css:d([a.cell,a.header],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN1YkNvbXBvbmVudHMuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdCMkoiLCJmaWxlIjoic3ViQ29tcG9uZW50cy5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xyXG5pbXBvcnQgeyBnZXREaXNwbGF5VmFsdWUgfSBmcm9tICcuL3V0aWxzJztcclxuLy8gQHRyYW5zZm9ybS1wYXRoIC4uLy4uL2Fzc2V0cy9pY29ucy9saW5lX2NoZXZyb24tZG93bi5zdmdcclxuaW1wb3J0IENoZXZyb25Eb3duIGZyb20gXCIuLi8uLi9hc3NldHMvaWNvbnMvbGluZV9jaGV2cm9uLWRvd24uc3ZnXCI7XHJcbi8vIEB0cmFuc2Zvcm0tcGF0aCAuLi8uLi9hc3NldHMvaWNvbnMvbGluZV9jaGV2cm9uLXVwLnN2Z1xyXG5pbXBvcnQgQ2hldnJvblVwIGZyb20gXCIuLi8uLi9hc3NldHMvaWNvbnMvbGluZV9jaGV2cm9uLXVwLnN2Z1wiO1xyXG5leHBvcnQgY29uc3Q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IGRhdGEtYWN0aXZlPXtpc1NvcnRlZCAmJiBzb3J0ZWREaXJlY3Rpb24gPT09ICdhc2NlbmRpbmcnfS8+XHJcbiAgICAgICAgICAgIDxDaGV2cm9uRG93biBjc3M9e3N0eWxlcy5zb3J0YWJsZUljb259IGRhdGEtYWN0aXZlPXtpc1NvcnRlZCAmJiBzb3J0ZWREaXJlY3Rpb24gPT09ICdkZXNjZW5kaW5nJ30vPlxyXG4gICAgICAgICAgPC9zcGFuPil9XHJcblxyXG4gICAgICAgIHtjb2x1bW4udGl0bGV9XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgPC90aD4pO1xyXG5leHBvcnQgY29uc3QgVGFibGVSb3cgPSAoeyBjaGlsZHJlbiwgaXNJbnRlcmFjdGl2ZSwgaXNTZWxlY3RlZCwgb25QcmVzcywgcm93T3B0aW9ucywgc3R5bGVzIH0pID0+ICg8dHIgY3NzPXtbc3R5bGVzLnJvdywgeyAnLS1oaWdobGlnaHQtY29sb3InOiByb3dPcHRpb25zPy5oaWdobGlnaHRDb2xvciB9XX0gb25DbGljaz17b25QcmVzc30gZGF0YS1oaWdobGlnaHQ9e3Jvd09wdGlvbnM/LmhpZ2hsaWdodH0gZGF0YS1pbnRlcmFjdGl2ZT17aXNJbnRlcmFjdGl2ZX0gZGF0YS1zZWxlY3RlZD17aXNTZWxlY3RlZH0+XHJcbiAgICB7Y2hpbGRyZW59XHJcbiAgPC90cj4pO1xyXG4iXX0= */"),onClick:r,scope:"col","data-sortable":n},g("div",{css:a.headerContainer},(n||o)&&g("span",{css:a.sortableIndicators},g(Hc,{css:a.sortableIcon,"data-active":o&&"ascending"===i}),g(Yr,{css:a.sortableIcon,"data-active":o&&"descending"===i})),t.title))},kc=function(e){var t=e.children,n=e.isInteractive,o=e.isSelected,r=e.onPress,i=e.rowOptions,a=e.styles;return g("tr",{css:d([a.row,{"--highlight-color":null==i?void 0:i.highlightColor}],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=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ZCwgb25QcmVzcywgcm93T3B0aW9ucywgc3R5bGVzIH0pID0+ICg8dHIgY3NzPXtbc3R5bGVzLnJvdywgeyAnLS1oaWdobGlnaHQtY29sb3InOiByb3dPcHRpb25zPy5oaWdobGlnaHRDb2xvciB9XX0gb25DbGljaz17b25QcmVzc30gZGF0YS1oaWdobGlnaHQ9e3Jvd09wdGlvbnM/LmhpZ2hsaWdodH0gZGF0YS1pbnRlcmFjdGl2ZT17aXNJbnRlcmFjdGl2ZX0gZGF0YS1zZWxlY3RlZD17aXNTZWxlY3RlZH0+XHJcbiAgICB7Y2hpbGRyZW59XHJcbiAgPC90cj4pO1xyXG4iXX0= */"),onClick:r,"data-highlight":null==i?void 0:i.highlight,"data-interactive":n,"data-selected":o},t)},Rc=function(e){var t=i(e),n=z(r(e),2);n[0];var o=n[1],a=i(e);e!==t.current&&(t.current=e,a.current=e);return[a.current,function(e){var t="function"==typeof e?e(a.current):e;a.current=t,o(t)}]},Nc=function(e){var t=e.columnOptions,n=e.columns,r=e.data,i=e.id,c=e.keyExtractor,l=void 0===c?function(e){return r.indexOf(e)}:c,s=e.onPressRow,u=e.onSort,b=e.rowOptions,p=e.selectedRow,I=e.sortable,h=e.sorted,C=e.sortedColumn,f=e.sortedDirection,v=void 0===f?"ascending":f,m=o((function(){return n.filter((function(e){return e})).filter((function(e){return I&&!1!==(null==e?void 0:e.sortable)||!1!==I&&(null==e?void 0:e.sortable)}))}),[n,I]),y=m.length>0,A=z(Rc(C||n.indexOf(m[0])),2),x=A[0],G=A[1],X=z(Rc(v),2),Z=X[0],w=X[1],H=o((function(){return"string"==typeof x?n.findIndex((function(e){return(null==e?void 0:e.name)===x})):x}),[n,x]),J=o((function(){return y&&!h?function(e,t,n){var o=t.sortableValue,r=L(e);return r.sort((function(e,r){var i,a=o?o(e):wc(t,e),c=o?o(r):wc(t,r);return void 0===a?1:void 0===c?-1:("number"==typeof a&&"number"==typeof c?a-c:null==a||null===(i=a.toString())||void 0===i?void 0:i.localeCompare(null==c?void 0:c.toString()))*("ascending"===n?1:-1)})),r}(r,n[H],Z):r}),[n,r,y,h,H,Z]),B=o((function(){return y||h&&H>-1||n.some((function(e){return e.title}))}),[n,y,h,H]);a((function(){var e;h||(null==u||u(null===(e=n[H])||void 0===e?void 0:e.name,H,Z))}),[h,H,Z]);var k=W(Zc);return g("div",{css:k.container},g("table",{css:d([k.table,{"--column-gap":null==t?void 0:t.gap,"--row-gap":null==b?void 0:b.gap}],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE2Q2EiLCJmaWxlIjoiaW5kZXguanN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0LCB7IHVzZUVmZmVjdCwgdXNlTWVtbyB9IGZyb20gJ3JlYWN0JztcclxuaW1wb3J0IHsgdXNlV2plY09uZVRoZW1lU3R5bGVzIH0gZnJvbSAnd2plYy1vbmUvdGhlbWUnO1xyXG5pbXBvcnQgeyBnZXRTdHlsZXMgfSBmcm9tICcuL3N0eWxlcyc7XHJcbmltcG9ydCB7IFRhYmxlQ2VsbCwgVGFibGVIZWFkZXIsIFRhYmxlUm93IH0gZnJvbSAnLi9zdWJDb21wb25lbnRzJztcclxuaW1wb3J0IHsgZ2V0U29ydGVkRGF0YSB9IGZyb20gJy4vdXRpbHMnO1xyXG5pbXBvcnQgeyB1c2VTdGF0ZVdpdGhQcm9wIH0gZnJvbSBcIi4uLy4uL2hvb2tzL3VzZVN0YXRlV2l0aFByb3BcIjtcclxuZXhwb3J0IGNvbnN0IFRhYmxlID0gKHsgY29sdW1uT3B0aW9ucywgY29sdW1ucywgZGF0YSwgaWQsIGtleUV4dHJhY3RvciA9IChyb3cpID0+IGRhdGEuaW5kZXhPZihyb3cpLCBvblByZXNzUm93LCBvblNvcnQsIHJvd09wdGlvbnMsIH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N0eWxlcz17c3R5bGVzfT5cclxuICAgICAgICAgICAgICAgIHtjb2x1bW5zLm1hcCgoY29sdW1uLCBjb2x1bW5JbmRleCkgPT4gKGNvbHVtbiAmJiAoPFRhYmxlQ2VsbCBjb2x1bW5PcHRpb25zPXtjb2x1bW5PcHRpb25zfSBjb2x1bW49e2NvbHVtbn0ga2V5PXtgcm93XyR7cm93S2V5fV9jb2x1bW5fJHtjb2x1bW4ubmFtZSB8fCBjb2x1bW5JbmRleH1gfSByb3c9e3Jvd30gc3R5bGVzPXtzdHlsZXN9Lz4pKSl9XHJcbiAgICAgICAgICAgICAgPC9UYWJsZVJvdz4pO1xyXG4gICAgICAgIH0pfVxyXG4gICAgICAgIDwvdGJvZHk+XHJcbiAgICAgIDwvdGFibGU+XHJcbiAgICA8L2Rpdj4pO1xyXG59O1xyXG4iXX0= */"),id:i},g("colgroup",null,n.map((function(e,t){return e&&g("col",{key:"column_definition_".concat(e.name||t)})}))),B&&g("thead",null,g("tr",null,n.map((function(e,t){return e&&g(Bc,{column:e,isSortable:m.includes(e),isSorted:t===H,key:"column_".concat(e.name||t,"_header"),onPress:function(){return function(e){var t,o=n.indexOf(e);m.includes(e)&&!h&&(G(o),w((function(e){return o===H&&"ascending"===e?"descending":"ascending"}))),null===(t=e.onPressHeader)||void 0===t||t.call(e)}(e)},sortedDirection:Z,styles:k})})))),g("tbody",null,J.map((function(e){var o=l(e);return g(kc,{isInteractive:"function"==typeof s,isSelected:e===p,key:"row_".concat(o),onPress:function(){return null==s?void 0:s(e)},rowOptions:b,styles:k},n.map((function(n,r){return n&&g(Jc,{columnOptions:t,column:n,key:"row_".concat(o,"_column_").concat(n.name||r),row:e,styles:k})})))})))))},Vc=function(e){var t=e.ariaLabel,n=e.backgroundStyle,c=void 0===n?"filled":n,l=e.disabledTabs,s=void 0===l?[]:l,u=e.id,b=e.keyExtractor,p=e.labelExtractor,I=e.onSelect,h=e.scrollable,C=e.selectedTab,f=e.selectedTabColor,v=e.tabs,m=z(r(ae(C,v)),2),y=m[0],A=m[1],x=i(),G=Fe(Yc),X=o((function(){return s.map((function(e){return le(e)?e.key:ne(e,b,v.indexOf(e))}))}),[s]),Z=o((function(){return le(y)?y.key:ne(y,b,v.indexOf(y))}),[y]);nt("WJEC-One Tabs: You must specify a keyExtractor if the tabs array contains non-primitive entry types",(function(){return!ge(v)&&!se(v)&&!b}),[b,v]),a((function(){void 0!==h&&D('WJEC One Tabs: The "scrollable" prop has been deprecated and will be removed in a future version of the library. The Tabs component will now behave as though "scrollable={true}" in all cases')}),[h]),a((function(){A(ae(C,v))}),[C,v]),a((function(){if(x.current){var e=x.current.querySelector("[data-selected]");e&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}}),[x.current,y]);return g("div",{"aria-label":t,ref:x,css:d([G.container,"filled"===c&&G.containerFilled,"transparent"===c&&G.containerTransparent,f&&{"--highlight-color":f}]),id:u},g("div",{css:G.innerContainer},v.map((function(e,t){var n=(le(e)?e.key:ne(e,b,t)).toString(),o=n===Z,r=X.includes(n);return g("button",k({key:n,css:d([G.tab,"filled"===c&&G.tabFilled,"transparent"===c&&G.tabTransparent]),disabled:r,onClick:function(t){var n=t.target;return function(e,t){var n=x.current.querySelector("[data-selected]");ce(I)&&I(e),x.current.style.setProperty("--anim-height","".concat(n.offsetHeight,"px")),x.current.style.setProperty("--anim-left","".concat(n.offsetLeft,"px")),x.current.style.setProperty("--anim-width","".concat(n.offsetWidth,"px")),t.setAttribute("data-animating","true"),n.removeAttribute("data-selected"),t.setAttribute("data-selected","true"),requestAnimationFrame((function(){x.current.style.setProperty("--anim-duration","".concat(150,"ms")),x.current.style.setProperty("--anim-height","".concat(t.offsetHeight,"px")),x.current.style.setProperty("--anim-left","".concat(t.offsetLeft,"px")),x.current.style.setProperty("--anim-width","".concat(t.offsetWidth,"px")),t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"}),window.setTimeout((function(){t.removeAttribute("data-animating"),x.current.style.removeProperty("--anim-duration"),x.current.style.removeProperty("--anim-height"),x.current.style.removeProperty("--anim-left"),x.current.style.removeProperty("--anim-width"),A(e)}),150)}))}(e,n)},type:"button"},o?{"data-selected":!0}:null),le(e)?e.label:oe(e,p,t))}))))},Yc=function(e){var t=e.colorPalette;return{container:d("--anim-duration:0ms;--anim-height:0;--anim-left:0;--anim-width:0;--highlight-color:",t.secondary,";flex-shrink:0;max-width:100%;position:relative;"),containerFilled:d("--anim-left:10px;--highlight-color:",t.primary,";border-radius:",We.borderRadius,";background-color:",t.neutral,";& > div{padding:10px;&::before{border-radius:",We.borderRadius,";height:var(--anim-height);top:10px;}}"),containerTransparent:d("& > div{padding-bottom:1px;}&::before{border-bottom:1px solid ",t.border,";content:'';left:0;position:absolute;top:28px;width:100%;}"),innerContainer:d(We.scrollbar,";display:flex;overflow-x:auto;position:relative;&::before{background-color:var(--highlight-color);content:'';height:2px;left:var(--anim-left);position:absolute;top:27px;transition:height var(--anim-duration) linear,left var(--anim-duration) ease-in-out,top var(--anim-duration) ease-in-out,width var(--anim-duration) linear;width:var(--anim-width);}"),tab:d("align-items:center;background-color:transparent;border:none;color:",t.font,';cursor:pointer;display:flex;font-family:"Montserrat",sans-serif;font-size:14px;font-weight:400;justify-content:center;line-height:20px;margin:0;outline:none;padding:0;position:relative;scroll-margin:10px;transition:color 100ms linear;white-space:pre;&:not(:last-child){margin-right:20px;}&:disabled{opacity:0.5;}&[data-selected]{font-weight:500;}'),tabFilled:d("border-radius:",We.borderRadius,";padding:5px 10px;&[data-selected]:not([data-animating]){background-color:var(--highlight-color);color:#fff;}&:hover:not([data-animating]):not([data-selected]){background-color:",t.border,";}"),tabTransparent:d("padding:4px 0;&[data-selected]:not([data-animating]){&::after{background-color:var(--highlight-color);border-radius:",We.borderRadius,";content:'';height:2px;left:0;position:absolute;top:calc(100% - 1px);width:100%;}}")}};export{Te as Accordion,$e as Breadcrumb,gt as Button,Bt as Card,_t as Carousel,Oo as CheckBox,rt as CircularProgress,E as ColorPalette,M as ColorPaletteEduqas,hn as ContextHelp,wn as ContextMenu,$o as DateTimePicker,Ct as DestructiveButton,kn as DragAndDropList,rr as Email,yn as Emphasis,li as ErrorCard,xa as ErrorNotification,br as FileInput,Ao as FilterList,yi as Footer,Yo as Form,Bi as Header,vt as IconButton,Xa as InfoNotification,oi as InformationCard,uo as Input,Fi as LinearProgress,tr as Link,At as LinkButton,Oi as LocalizationMenu,sa as Modal,Ia as Notification,Yi as Page,Wa as PageTitle,Ja as Pagination,xn as Paragraph,Wr as Password,pn as Popup,Ya as PopupWindow,xt as PrimaryButton,Fa as PrintLayout,Pa as PrintWindow,Br as RadioGroup,Ea as ScrollableContainer,Gt as SecondaryButton,Ma as SectionHeading,Da as SectionTitle,Pr as Select,$a as SigninForm,Ic as SigninMenu,We as StylePalette,fc as SubParagraph,mc as SubTitle,si as SuccessCard,wa as SuccessNotification,Nc as Table,Vc as Tabs,Er as TextArea,Tr as Toggle,ti as VerificationCodeInput,di as WarningCard};
|