@sasindi/patient-registration 1.0.0
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/LICENSE +401 -0
- package/README.md +37 -0
- package/dist/184.js +2 -0
- package/dist/184.js.LICENSE.txt +14 -0
- package/dist/184.js.map +1 -0
- package/dist/197.js +1 -0
- package/dist/282.js +2 -0
- package/dist/282.js.LICENSE.txt +32 -0
- package/dist/282.js.map +1 -0
- package/dist/300.js +1 -0
- package/dist/335.js +1 -0
- package/dist/353.js +1 -0
- package/dist/353.js.map +1 -0
- package/dist/389.js +1 -0
- package/dist/389.js.map +1 -0
- package/dist/465.js +1 -0
- package/dist/465.js.map +1 -0
- package/dist/488.js +1 -0
- package/dist/488.js.map +1 -0
- package/dist/496.js +2 -0
- package/dist/496.js.LICENSE.txt +14 -0
- package/dist/496.js.map +1 -0
- package/dist/540.js +2 -0
- package/dist/540.js.LICENSE.txt +9 -0
- package/dist/540.js.map +1 -0
- package/dist/55.js +1 -0
- package/dist/5507d804948ae4a0.png +0 -0
- package/dist/614.js +1 -0
- package/dist/614.js.map +1 -0
- package/dist/652.js +1 -0
- package/dist/70.js +1 -0
- package/dist/70.js.map +1 -0
- package/dist/844.js +1 -0
- package/dist/844.js.map +1 -0
- package/dist/895.js +2 -0
- package/dist/895.js.LICENSE.txt +39 -0
- package/dist/895.js.map +1 -0
- package/dist/91.js +1 -0
- package/dist/91.js.map +1 -0
- package/dist/961.js +2 -0
- package/dist/961.js.LICENSE.txt +19 -0
- package/dist/961.js.map +1 -0
- package/dist/970.js +1 -0
- package/dist/970.js.map +1 -0
- package/dist/99.js +1 -0
- package/dist/main.js +1 -0
- package/dist/main.js.map +1 -0
- package/dist/patient-registration.js +1 -0
- package/dist/patient-registration.js.buildmanifest.json +657 -0
- package/dist/patient-registration.js.map +1 -0
- package/dist/routes.json +1 -0
- package/package.json +115 -0
- package/src/index.ts +50 -0
package/dist/895.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 895.js.LICENSE.txt */
|
|
2
|
+
(globalThis.webpackChunk_sasindi_patient_registration=globalThis.webpackChunk_sasindi_patient_registration||[]).push([[895],{2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5104:(e,t,n)=>{"use strict";n.d(t,{kZS:()=>gr,$nd:()=>Vt,t3h:()=>Yr,KXP:()=>Fn,lRv:()=>Un,Y9Y:()=>to,V8d:()=>no,wdv:()=>ro,dJ2:()=>lo,bCw:()=>fo,K0:()=>zt,OuH:()=>fn,Wdr:()=>Zt,cwr:()=>Vn,jlY:()=>mn,rQ0:()=>Gt,aaP:()=>br,zWQ:()=>Er,Psq:()=>vr,vji:()=>_r,f8J:()=>yo,ryE:()=>$r,vwO:()=>Mr,FAs:()=>Gr});var r={};try{process.env.CARBON_ENABLE_CSS_CUSTOM_PROPERTIES&&"true"===process.env.CARBON_ENABLE_CSS_CUSTOM_PROPERTIES?r.enableCssCustomProperties=!0:r.enableCssCustomProperties=!1,process.env.CARBON_ENABLE_CSS_GRID&&"true"===process.env.CARBON_ENABLE_CSS_GRID?r.enableCssGrid=!0:r.enableCssGrid=!1,process.env.CARBON_ENABLE_V11_RELEASE?"true"===process.env.CARBON_ENABLE_V11_RELEASE?r.enableV11Release=!0:r.enableV11Release=!1:r.enableV11Release=!0,process.env.CARBON_ENABLE_EXPERIMENTAL_TILE_CONTRAST&&"true"===process.env.CARBON_ENABLE_EXPERIMENTAL_TILE_CONTRAST?r.enableExperimentalTileContrast=!0:r.enableExperimentalTileContrast=!1,process.env.CARBON_ENABLE_V12_TILE_DEFAULT_ICONS&&"true"===process.env.CARBON_ENABLE_V12_TILE_DEFAULT_ICONS?r.enableV12TileDefaultIcons=!0:r.enableV12TileDefaultIcons=!1,process.env.CARBON_ENABLE_V12_TILE_RADIO_ICONS&&"true"===process.env.CARBON_ENABLE_V12_TILE_RADIO_ICONS?r.enableV12TileRadioIcons=!0:r.enableV12TileRadioIcons=!1,process.env.CARBON_ENABLE_V12_OVERFLOWMENU&&"true"===process.env.CARBON_ENABLE_V12_OVERFLOWMENU?r.enableV12Overflowmenu=!0:r.enableV12Overflowmenu=!1,process.env.CARBON_ENABLE_TREEVIEW_CONTROLLABLE&&"true"===process.env.CARBON_ENABLE_TREEVIEW_CONTROLLABLE?r.enableTreeviewControllable=!0:r.enableTreeviewControllable=!1,process.env.CARBON_ENABLE_V12_STRUCTURED_LIST_VISIBLE_ICONS&&"true"===process.env.CARBON_ENABLE_V12_STRUCTURED_LIST_VISIBLE_ICONS?r.enableV12StructuredListVisibleIcons=!0:r.enableV12StructuredListVisibleIcons=!1,process.env.CARBON_ENABLE_EXPERIMENTAL_FOCUS_WRAP_WITHOUT_SENTINELS&&"true"===process.env.CARBON_ENABLE_EXPERIMENTAL_FOCUS_WRAP_WITHOUT_SENTINELS?r.enableExperimentalFocusWrapWithoutSentinels=!0:r.enableExperimentalFocusWrapWithoutSentinels=!1,process.env.CARBON_ENABLE_DIALOG_ELEMENT&&"true"===process.env.CARBON_ENABLE_DIALOG_ELEMENT?r.enableDialogElement=!0:r.enableDialogElement=!1,process.env.CARBON_ENABLE_V12_DYNAMIC_FLOATING_STYLES&&"true"===process.env.CARBON_ENABLE_V12_DYNAMIC_FLOATING_STYLES?r.enableV12DynamicFloatingStyles=!0:r.enableV12DynamicFloatingStyles=!1}catch(e){r.enableCssCustomProperties=!1,r.enableCssGrid=!1,r.enableV11Release=!0,r.enableExperimentalTileContrast=!1,r.enableV12TileDefaultIcons=!1,r.enableV12TileRadioIcons=!1,r.enableV12Overflowmenu=!1,r.enableTreeviewControllable=!1,r.enableV12StructuredListVisibleIcons=!1,r.enableExperimentalFocusWrapWithoutSentinels=!1,r.enableDialogElement=!1,r.enableV12DynamicFloatingStyles=!1}var o=[{name:"enable-css-custom-properties",description:"Describe what the flag does",enabled:r.enableCssCustomProperties},{name:"enable-css-grid",description:"Enable CSS Grid Layout in the Grid and Column React components\n",enabled:r.enableCssGrid},{name:"enable-v11-release",description:"Enable the features and functionality for the v11 Release\n",enabled:r.enableV11Release},{name:"enable-experimental-tile-contrast",description:"Enable the experimental tile improved contrast styles\n",enabled:r.enableExperimentalTileContrast},{name:"enable-v12-tile-default-icons",description:"Enable rendering of default icons in the tile components\n",enabled:r.enableV12TileDefaultIcons},{name:"enable-v12-tile-radio-icons",description:"Enable rendering of radio icons in the RadioTile component\n",enabled:r.enableV12TileRadioIcons},{name:"enable-v12-overflowmenu",description:"Enable the use of the v12 OverflowMenu leveraging the Menu subcomponents\n",enabled:r.enableV12Overflowmenu},{name:"enable-treeview-controllable",description:"Enable the new TreeView controllable API\n",enabled:r.enableTreeviewControllable},{name:"enable-v12-structured-list-visible-icons",description:"Enable rendering of radio icons in the StructuredList component\n",enabled:r.enableV12StructuredListVisibleIcons},{name:"enable-experimental-focus-wrap-without-sentinels",description:"Enable the new focus wrap behavior that doesn't use sentinel nodes\n",enabled:r.enableExperimentalFocusWrapWithoutSentinels},{name:"enable-dialog-element",description:"Enable components to utilize the native dialog element\n",enabled:r.enableDialogElement},{name:"enable-v12-dynamic-floating-styles",description:"Enable dynamic setting of floating styles for components like Popover, Tooltip, etc.\n",enabled:r.enableV12DynamicFloatingStyles}];function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||c(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 s(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function c(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}for(var u=function(){return e=function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.flags=new Map,t&&Object.keys(t).forEach((function(e){n.flags.set(e,t[e])}))},t=[{key:"checkForFlag",value:function(e){if(!this.flags.has(e))throw new Error("Unable to find a feature flag with the name: `".concat(e,"`"))}},{key:"add",value:function(e,t){if(this.flags.has(e))throw new Error("The feature flag: ".concat(e," already exists"));this.flags.set(e,t)}},{key:"enable",value:function(e){this.checkForFlag(e),this.flags.set(e,!0)}},{key:"disable",value:function(e){this.checkForFlag(e),this.flags.set(e,!1)}},{key:"merge",value:function(e){var t=this;Object.keys(e).forEach((function(n){t.flags.set(n,e[n])}))}},{key:"mergeWithScope",value:function(e){var t,n=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=c(e))){t&&(e=t);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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 o,a=!0,i=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){i=!0,o=e},f:function(){try{a||null==t.return||t.return()}finally{if(i)throw o}}}}(e.flags);try{for(n.s();!(t=n.n()).done;){var r=l(t.value,2),o=r[0],a=r[1];this.flags.has(o)||this.flags.set(o,a)}}catch(e){n.e(e)}finally{n.f()}}},{key:"enabled",value:function(e){return this.checkForFlag(e),this.flags.get(e)}}],t&&i(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),d=new u(void 0),f=0;f<o.length;f++){var p=o[f];d.add(p.name,p.enabled)}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(null,arguments)}!function(){d.merge.apply(d,arguments)}({"enable-css-custom-properties":!0,"enable-css-grid":!0,"enable-v11-release":!0,"enable-experimental-tile-contrast":!1,"enable-v12-tile-radio-icons":!1,"enable-v12-structured-list-visible-icons":!1,"enable-v12-dynamic-floating-styles":!1});var h=n(5556),g=n.n(h),b=n(16072),v=n.t(b,2),y=n.n(b),w=n(46942),E=n.n(w);const N={};function x(e,t,n){return function(r,o,a){if(void 0!==r[o]){if(!N[a]||!N[a][o]){N[a]={...N[a],[o]:!0};const e=r[o];n&&n(e);t&&!t.includes(e)&&(n||t.join(", "))}for(var i=arguments.length,l=new Array(i>3?i-3:0),s=3;s<i;s++)l[s-3]=arguments[s];return e(r,o,a,...l)}}}const C="undefined"!=typeof window?b.useLayoutEffect:b.useEffect,T=e=>(0,b.useCallback)((t=>{e.forEach((e=>{"function"==typeof e?e(t):e&&(e.current=t)}))}),[e]),R=y().createContext("cds");function _(){return y().useContext(R)}const S=(e,t)=>{const n=(0,b.useRef)(null);(0,b.useEffect)((()=>{n.current=t}),[t]),(0,b.useEffect)((()=>{const t=e=>{n.current&&n.current(e)};return window.addEventListener(e,t),()=>{window.removeEventListener(e,t)}}),[e])},$={"top-left":"top-start","top-right":"top-end","bottom-left":"bottom-start","bottom-right":"bottom-end","left-bottom":"left-end","left-top":"left-start","right-bottom":"right-end","right-top":"right-start"},O=e=>$[e]??e;var A="undefined"!=typeof document?b.useLayoutEffect:b.useEffect;const L={...v}.useInsertionEffect||(e=>e());function M(){return"undefined"!=typeof window}function k(e){return D(e)?(e.nodeName||"").toLowerCase():"#document"}function I(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function B(e){var t;return null==(t=(D(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function D(e){return!!M()&&(e instanceof Node||e instanceof I(e).Node)}function z(e){return!!M()&&(e instanceof Element||e instanceof I(e).Element)}function P(e){return!!M()&&(e instanceof HTMLElement||e instanceof I(e).HTMLElement)}function V(e){return!(!M()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof I(e).ShadowRoot)}function H(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Z(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function F(e){return["table","td","th"].includes(k(e))}function j(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function q(e){const t=W(),n=z(e)?Z(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function W(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function U(e){return["html","body","#document"].includes(k(e))}function Z(e){return I(e).getComputedStyle(e)}function K(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function G(e){if("html"===k(e))return e;const t=e.assignedSlot||e.parentNode||V(e)&&e.host||B(e);return V(t)?t.host:t}function Y(e){const t=G(e);return U(t)?e.ownerDocument?e.ownerDocument.body:e.body:P(t)&&H(t)?t:Y(t)}function X(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Y(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=I(o);if(a){const e=J(i);return t.concat(i,i.visualViewport||[],H(o)?o:[],e&&n?X(e):[])}return t.concat(o,X(o,[],n))}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}n(74848);var Q=n(40961);const ee=["top","right","bottom","left"],te=Math.min,ne=Math.max,re=Math.round,oe=Math.floor,ae=e=>({x:e,y:e}),ie={left:"right",right:"left",bottom:"top",top:"bottom"},le={start:"end",end:"start"};function se(e,t){return"function"==typeof e?e(t):e}function ce(e){return e.split("-")[0]}function ue(e){return e.split("-")[1]}function de(e){return"y"===e?"height":"width"}function fe(e){return["top","bottom"].includes(ce(e))?"y":"x"}function pe(e){return"x"===fe(e)?"y":"x"}function me(e){return e.replace(/start|end/g,(e=>le[e]))}function he(e){return e.replace(/left|right|bottom|top/g,(e=>ie[e]))}function ge(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function be(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ve(e,t,n){let{reference:r,floating:o}=e;const a=fe(t),i=pe(t),l=de(i),s=ce(t),c="y"===a,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[l]/2-o[l]/2;let p;switch(s){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(ue(t)){case"start":p[i]-=f*(n&&c?-1:1);break;case"end":p[i]+=f*(n&&c?-1:1)}return p}async function ye(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:a,rects:i,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=se(t,e),m=ge(p),h=l[f?"floating"===d?"reference":"floating":d],g=be(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(h)))||n?h:h.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),b="floating"===d?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),y=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},w=be(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:v,strategy:s}):b);return{top:(g.top-w.top+m.top)/y.y,bottom:(w.bottom-g.bottom+m.bottom)/y.y,left:(g.left-w.left+m.left)/y.x,right:(w.right-g.right+m.right)/y.x}}function we(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ee(e){return ee.some((t=>e[t]>=0))}function Ne(e){const t=Z(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=P(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=re(n)!==a||re(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function xe(e){return z(e)?e:e.contextElement}function Ce(e){const t=xe(e);if(!P(t))return ae(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=Ne(t);let i=(a?re(n.width):n.width)/r,l=(a?re(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const Te=ae(0);function Re(e){const t=I(e);return W()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Te}function _e(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),a=xe(e);let i=ae(1);t&&(r?z(r)&&(i=Ce(r)):i=Ce(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==I(e))&&t}(a,n,r)?Re(a):ae(0);let s=(o.left+l.x)/i.x,c=(o.top+l.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(a){const e=I(a),t=r&&z(r)?I(r):r;let n=e,o=J(n);for(;o&&r&&t!==n;){const e=Ce(o),t=o.getBoundingClientRect(),r=Z(o),a=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=a,c+=i,n=I(o),o=J(n)}}return be({width:u,height:d,x:s,y:c})}function Se(e,t){const n=K(e).scrollLeft;return t?t.left+n:_e(B(e)).left+n}function $e(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:Se(e,r)),y:r.top+t.scrollTop}}function Oe(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=I(e),r=B(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;const e=W();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l,y:s}}(e,n);else if("document"===t)r=function(e){const t=B(e),n=K(e),r=e.ownerDocument.body,o=ne(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=ne(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Se(e);const l=-n.scrollTop;return"rtl"===Z(r).direction&&(i+=ne(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:l}}(B(e));else if(z(t))r=function(e,t){const n=_e(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=P(e)?Ce(e):ae(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:r*a.y}}(t,n);else{const n=Re(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return be(r)}function Ae(e,t){const n=G(e);return!(n===t||!z(n)||U(n))&&("fixed"===Z(n).position||Ae(n,t))}function Le(e,t,n){const r=P(t),o=B(t),a="fixed"===n,i=_e(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=ae(0);function c(){s.x=Se(o)}if(r||!r&&!a)if(("body"!==k(t)||H(o))&&(l=K(t)),r){const e=_e(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&c();a&&!r&&o&&c();const u=!o||r||a?ae(0):$e(o,l);return{x:i.left+l.scrollLeft-s.x-u.x,y:i.top+l.scrollTop-s.y-u.y,width:i.width,height:i.height}}function Me(e){return"static"===Z(e).position}function ke(e,t){if(!P(e)||"fixed"===Z(e).position)return null;if(t)return t(e);let n=e.offsetParent;return B(e)===n&&(n=n.ownerDocument.body),n}function Ie(e,t){const n=I(e);if(j(e))return n;if(!P(e)){let t=G(e);for(;t&&!U(t);){if(z(t)&&!Me(t))return t;t=G(t)}return n}let r=ke(e,t);for(;r&&F(r)&&Me(r);)r=ke(r,t);return r&&U(r)&&Me(r)&&!q(r)?n:r||function(e){let t=G(e);for(;P(t)&&!U(t);){if(q(t))return t;if(j(t))return null;t=G(t)}return null}(e)||n}const Be={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a="fixed"===o,i=B(r),l=!!t&&j(t.floating);if(r===i||l&&a)return n;let s={scrollLeft:0,scrollTop:0},c=ae(1);const u=ae(0),d=P(r);if((d||!d&&!a)&&(("body"!==k(r)||H(i))&&(s=K(r)),P(r))){const e=_e(r);c=Ce(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!i||d||a?ae(0):$e(i,s,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-s.scrollTop*c.y+u.y+f.y}},getDocumentElement:B,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[..."clippingAncestors"===n?j(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=X(e,[],!1).filter((e=>z(e)&&"body"!==k(e))),o=null;const a="fixed"===Z(e).position;let i=a?G(e):e;for(;z(i)&&!U(i);){const t=Z(i),n=q(i);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||H(i)&&!n&&Ae(e,i))?r=r.filter((e=>e!==i)):o=t,i=G(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],i=a[0],l=a.reduce(((e,n)=>{const r=Oe(t,n,o);return e.top=ne(r.top,e.top),e.right=te(r.right,e.right),e.bottom=te(r.bottom,e.bottom),e.left=ne(r.left,e.left),e}),Oe(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ie,getElementRects:async function(e){const t=this.getOffsetParent||Ie,n=this.getDimensions,r=await n(e.floating);return{reference:Le(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Ne(e);return{width:t,height:n}},getScale:Ce,isElement:z,isRTL:function(e){return"rtl"===Z(e).direction}};function De(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ze(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,c=xe(e),u=o||a?[...c?X(c):[],...X(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const d=c&&l?function(e,t){let n,r=null;const o=B(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function i(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),a();const c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=c;if(l||t(),!f||!p)return;const m={rootMargin:-oe(d)+"px "+-oe(o.clientWidth-(u+f))+"px "+-oe(o.clientHeight-(d+p))+"px "+-oe(u)+"px",threshold:ne(0,te(1,s))||1};let h=!0;function g(t){const r=t[0].intersectionRatio;if(r!==s){if(!h)return i();r?i(!1,r):n=setTimeout((()=>{i(!1,1e-7)}),1e3)}1!==r||De(c,e.getBoundingClientRect())||i(),h=!1}try{r=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),a}(c,n):null;let f,p=-1,m=null;i&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),n()})),c&&!s&&m.observe(c),m.observe(t));let h=s?_e(e):null;return s&&function t(){const r=_e(e);h&&!De(h,r)&&n(),h=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=m)||e.disconnect(),m=null,s&&cancelAnimationFrame(f)}}const Pe=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:a,placement:i,middlewareData:l}=t,s=await async function(e,t){const{placement:n,platform:r,elements:o}=e,a=await(null==r.isRTL?void 0:r.isRTL(o.floating)),i=ce(n),l=ue(n),s="y"===fe(n),c=["left","top"].includes(i)?-1:1,u=a&&s?-1:1,d=se(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof m&&(p="end"===l?-1*m:m),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return i===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:a+s.y,data:{...s,placement:i}}}}},Ve=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:a,rects:i,initialPlacement:l,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...g}=se(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};const b=ce(o),v=fe(l),y=ce(l)===l,w=await(null==s.isRTL?void 0:s.isRTL(c.floating)),E=f||(y||!h?[he(l)]:function(e){const t=he(e);return[me(e),t,me(t)]}(l)),N="none"!==m;!f&&N&&E.push(...function(e,t,n,r){const o=ue(e);let a=function(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}(ce(e),"start"===n,r);return o&&(a=a.map((e=>e+"-"+o)),t&&(a=a.concat(a.map(me)))),a}(l,h,m,w));const x=[l,...E],C=await ye(t,g),T=[];let R=(null==(r=a.flip)?void 0:r.overflows)||[];if(u&&T.push(C[b]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=ue(e),o=pe(e),a=de(o);let i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=he(i)),[i,he(i)]}(o,i,w);T.push(C[e[0]],C[e[1]])}if(R=[...R,{placement:o,overflows:T}],!T.every((e=>e<=0))){var _,S;const e=((null==(_=a.flip)?void 0:_.index)||0)+1,t=x[e];if(t){var $;const n="alignment"===d&&v!==fe(t),r=(null==($=R[0])?void 0:$.overflows[0])>0;if(!n||r)return{data:{index:e,overflows:R},reset:{placement:t}}}let n=null==(S=R.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:S.placement;if(!n)switch(p){case"bestFit":{var O;const e=null==(O=R.filter((e=>{if(N){const t=fe(e.placement);return t===v||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:O[0];e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}},He=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=se(e,t);switch(r){case"referenceHidden":{const e=we(await ye(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Ee(e)}}}case"escaped":{const e=we(await ye(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Ee(e)}}}default:return{}}}}},Fe=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:i,elements:l,middlewareData:s}=t,{element:c,padding:u=0}=se(e,t)||{};if(null==c)return{};const d=ge(u),f={x:n,y:r},p=pe(o),m=de(p),h=await i.getDimensions(c),g="y"===p,b=g?"top":"left",v=g?"bottom":"right",y=g?"clientHeight":"clientWidth",w=a.reference[m]+a.reference[p]-f[p]-a.floating[m],E=f[p]-a.reference[p],N=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let x=N?N[y]:0;x&&await(null==i.isElement?void 0:i.isElement(N))||(x=l.floating[y]||a.floating[m]);const C=w/2-E/2,T=x/2-h[m]/2-1,R=te(d[b],T),_=te(d[v],T),S=R,$=x-h[m]-_,O=x/2-h[m]/2+C,A=ne(S,te(O,$)),L=!s.arrow&&null!=ue(o)&&O!==A&&a.reference[m]/2-(O<S?R:_)-h[m]/2<0,M=L?O<S?O-S:O-$:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:O-A-M,...L&&{alignmentOffset:M}},reset:L}}}),je=(e,t,n)=>{const r=new Map,o={platform:Be,...n},a={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),s=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=ve(c,r,s),f=r,p={},m=0;for(let n=0;n<l.length;n++){const{name:a,fn:h}=l[n],{x:g,y:b,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=b?b:d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,"object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):y.rects),({x:u,y:d}=ve(c,f,s))),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}})(e,t,{...o,platform:a})};var qe="undefined"!=typeof document?b.useLayoutEffect:b.useEffect;function We(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!We(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||We(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function Ue(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ze(e,t){const n=Ue(e);return Math.round(t*n)/n}function Ke(e){const t=b.useRef(e);return qe((()=>{t.current=e})),t}const Ge=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?Fe({element:n.current,padding:r}).fn(t):{}:n?Fe({element:n,padding:r}).fn(t):{};var o}}),Ye=(e,t)=>({...Ve(e),options:[e,t]}),Xe=(e,t)=>({...He(e),options:[e,t]}),Je=(e,t)=>({...Ge(e),options:[e,t]}),Qe={...v};let et=!1,tt=0;const nt=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+tt++,rt=Qe.useId||function(){const[e,t]=b.useState((()=>et?nt():void 0));return A((()=>{null==e&&t(nt())}),[]),b.useEffect((()=>{et=!0}),[]),e};const ot=b.createContext(null),at=b.createContext(null);function it(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=rt(),a=b.useRef({}),[i]=b.useState((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;null==(r=e.get(t))||r.delete(n)}}}())),l=null!=((null==(s=b.useContext(ot))?void 0:s.id)||null);var s;const[c,u]=b.useState(r.reference),d=function(e){const t=b.useRef((()=>{}));return L((()=>{t.current=e})),b.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}(((e,t,r)=>{a.current.openEvent=e?t:void 0,i.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)})),f=b.useMemo((()=>({setPositionReference:u})),[]),p=b.useMemo((()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference})),[c,r.reference,r.floating]);return b.useMemo((()=>({dataRef:a,open:t,onOpenChange:d,elements:p,events:i,floatingId:o,refs:f})),[t,d,p,i,o,f])}function lt(e){void 0===e&&(e={});const{nodeId:t}=e,n=it({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[a,i]=b.useState(null),[l,s]=b.useState(null),c=(null==o?void 0:o.domReference)||a,u=b.useRef(null),d=b.useContext(at);A((()=>{c&&(u.current=c)}),[c]);const f=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:l=!0,whileElementsMounted:s,open:c}=e,[u,d]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=b.useState(r);We(f,r)||p(r);const[m,h]=b.useState(null),[g,v]=b.useState(null),y=b.useCallback((e=>{e!==x.current&&(x.current=e,h(e))}),[]),w=b.useCallback((e=>{e!==C.current&&(C.current=e,v(e))}),[]),E=a||m,N=i||g,x=b.useRef(null),C=b.useRef(null),T=b.useRef(u),R=null!=s,_=Ke(s),S=Ke(o),$=Ke(c),O=b.useCallback((()=>{if(!x.current||!C.current)return;const e={placement:t,strategy:n,middleware:f};S.current&&(e.platform=S.current),je(x.current,C.current,e).then((e=>{const t={...e,isPositioned:!1!==$.current};A.current&&!We(T.current,t)&&(T.current=t,Q.flushSync((()=>{d(t)})))}))}),[f,t,n,S,$]);qe((()=>{!1===c&&T.current.isPositioned&&(T.current.isPositioned=!1,d((e=>({...e,isPositioned:!1}))))}),[c]);const A=b.useRef(!1);qe((()=>(A.current=!0,()=>{A.current=!1})),[]),qe((()=>{if(E&&(x.current=E),N&&(C.current=N),E&&N){if(_.current)return _.current(E,N,O);O()}}),[E,N,O,_,R]);const L=b.useMemo((()=>({reference:x,floating:C,setReference:y,setFloating:w})),[y,w]),M=b.useMemo((()=>({reference:E,floating:N})),[E,N]),k=b.useMemo((()=>{const e={position:n,left:0,top:0};if(!M.floating)return e;const t=Ze(M.floating,u.x),r=Ze(M.floating,u.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...Ue(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,l,M.floating,u.x,u.y]);return b.useMemo((()=>({...u,update:O,refs:L,elements:M,floatingStyles:k})),[u,O,L,M,k])}({...e,elements:{...o,...l&&{reference:l}}}),p=b.useCallback((e=>{const t=z(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;s(t),f.refs.setReference(t)}),[f.refs]),m=b.useCallback((e=>{(z(e)||null===e)&&(u.current=e,i(e)),(z(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!z(e))&&f.refs.setReference(e)}),[f.refs]),h=b.useMemo((()=>({...f.refs,setReference:m,setPositionReference:p,domReference:u})),[f.refs,m,p]),g=b.useMemo((()=>({...f.elements,domReference:c})),[f.elements,c]),v=b.useMemo((()=>({...f,...r,refs:h,elements:g,nodeId:t})),[f,h,g,t,r]);return A((()=>{r.dataRef.current.floatingContext=v;const e=null==d?void 0:d.nodesRef.current.find((e=>e.id===t));e&&(e.context=v)})),b.useMemo((()=>({...f,context:v,refs:h,elements:g})),[f,h,g,v])}const st={};function ct(e,t){return function(t,n,r){if(void 0!==t[n]){st[r]&&st[r][n]||(st[r]={...st[r],[n]:!0});for(var o=arguments.length,a=new Array(o>3?o-3:0),i=3;i<o;i++)a[i-3]=arguments[i];return e(t,n,r,...a)}}}const ut=(0,b.createContext)(d);function dt(e){return(0,b.useContext)(ut).enabled(e)}g().node,ct(g().objectOf(g().bool)),g().bool,g().bool,g().bool,g().bool,g().bool,g().bool,g().bool;const ft=y().createContext({setFloating:{current:null},caretRef:{current:null},autoAlign:null}),pt=y().forwardRef((function(e,t){let{isTabTip:n,align:r=(n?"bottom-start":"bottom"),as:o="span",autoAlign:a=!1,autoAlignBoundary:i,caret:l=!n,className:s,children:c,dropShadow:u=!0,highContrast:d=!1,onRequestClose:f,open:p,alignmentAxisOffset:h,...g}=e;const v=_(),w=(0,b.useRef)(null),N=(0,b.useRef)(null),x=(0,b.useRef)(null),R=dt("enable-v12-dynamic-floating-styles")||a;let $=O(r);S("blur",(()=>{p&&f?.()})),S("click",(e=>{let{target:t}=e;p&&t instanceof Node&&!x.current?.contains(t)&&f?.()}));const A=y().Children.toArray(c).some((e=>e?.props?.className?.includes("slug")||e?.props?.className?.includes("ai-label")))?7:6,L=(0,b.useRef)({offset:10,caretHeight:A});C((()=>{if(l&&x.current){const e=window.getComputedStyle(x.current,null),t=e.getPropertyValue("--cds-popover-offset"),n=e.getPropertyValue("--cds-popover-caret-height");t&&(L.current.offset=t.includes("px")?1*Number(t.split("px",1)[0]):16*Number(t.split("rem",1)[0])),n&&(L.current.caretHeight=n.includes("px")?1*Number(n.split("px",1)[0]):16*Number(n.split("rem",1)[0]))}}));const{refs:M,floatingStyles:k,placement:I,middlewareData:B}=lt(R?{placement:$,strategy:"fixed",middleware:[(D=n?0:{alignmentAxis:h,mainAxis:L?.current?.offset},{...Pe(D),options:[D,undefined]}),a&&Ye({fallbackPlacements:n?$.includes("bottom")?["bottom-start","bottom-end","top-start","top-end"]:["top-start","top-end","bottom-start","bottom-end"]:$.includes("bottom")?["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"]:["top","top-start","top-end","left","left-start","left-end","right","right-start","right-end","bottom","bottom-start","bottom-end"],fallbackStrategy:"initialPlacement",fallbackAxisSideDirection:"start",boundary:i}),Je({element:N}),a&&Xe()],whileElementsMounted:ze}:{});var D;const z=(0,b.useMemo)((()=>({floating:w,setFloating:M.setFloating,caretRef:N,autoAlign:a})),[M.setFloating,a]);n&&(["bottom-start","bottom-end"].includes($)||($="bottom-start")),(0,b.useEffect)((()=>{if(R){const e={...k,visibility:B.hide?.referenceHidden?"hidden":"visible"};if(Object.keys(e).forEach((t=>{M.floating.current&&(M.floating.current.style[t]=e[t])})),l&&B&&B.arrow&&N?.current){const{x:e,y:t}=B.arrow,n={top:"bottom",right:"left",bottom:"top",left:"right"}[I.split("-")[0]];N.current.style.left=null!=e?`${e}px`:"",N.current.style.top=null!=t?`${t}px`:"",N.current.style.right="",N.current.style.bottom="",n&&(N.current.style[n]=-L?.current?.caretHeight+"px")}}}),[k,M.floating,R,B,I,l]);const P=T([t,x]),V=a&&I!==$?I:$,H=E()({[`${v}--popover-container`]:!0,[`${v}--popover--caret`]:l,[`${v}--popover--drop-shadow`]:u,[`${v}--popover--high-contrast`]:d,[`${v}--popover--open`]:p,[`${v}--popover--auto-align ${v}--autoalign`]:R,[`${v}--popover--${V}`]:!0,[`${v}--popover--tab-tip`]:n},s),F=y().Children.map(c,(e=>{const t=e,r=t?.type?.displayName,o="button"===t?.type,a=R&&r&&["ToggletipButton"].includes(r),i=R&&!["ToggletipContent","PopoverContent"].includes(r);if(y().isValidElement(t)&&(o||a||i)){const e=t?.props?.className,r=(t?.props).ref,o=E()(`${v}--popover--tab-tip__button`,e);return y().cloneElement(t,{className:n&&"button"===t?.type?o:e||"",ref:e=>{(R&&"PopoverContent"!==t?.type?.displayName||R&&"ToggletipButton"===t?.type?.displayName)&&M.setReference(e),"function"==typeof r?r(e):null!=r&&(r.current=e)}})}return t})),j=o;return y().createElement(ft.Provider,{value:z},y().createElement(j,m({},g,{className:H,ref:P}),R||n?F:c))}));function mt(e,t){let{className:n,children:r,...o}=e;const a=_(),{setFloating:i,caretRef:l,autoAlign:s}=y().useContext(ft),c=T([i,t]),u=dt("enable-v12-dynamic-floating-styles")||s;return y().createElement("span",m({},o,{className:`${a}--popover`}),y().createElement("span",{className:E()(`${a}--popover-content`,n),ref:c},r,u&&y().createElement("span",{className:E()({[`${a}--popover-caret`]:!0,[`${a}--popover--auto-align`]:!0}),ref:l})),!u&&y().createElement("span",{className:E()({[`${a}--popover-caret`]:!0}),ref:l}))}pt.propTypes={align:x(g().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top","top-start","top-end","bottom-start","bottom-end","left-end","left-start","right-end","right-start"]),["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"],O),as:g().oneOfType([g().string,g().elementType]),autoAlign:g().bool,autoAlignBoundary:g().oneOfType([g().oneOf(["clippingAncestors"]),g().elementType,g().arrayOf(g().elementType),g().exact({x:g().number.isRequired,y:g().number.isRequired,width:g().number.isRequired,height:g().number.isRequired})]),caret:g().bool,children:g().node,className:g().string,dropShadow:g().bool,highContrast:g().bool,isTabTip:g().bool,onRequestClose:g().func,open:g().bool.isRequired};const ht=y().forwardRef(mt);ht.displayName="PopoverContent",ht.propTypes={children:g().node,className:g().string};const gt={key:"Tab",which:9,keyCode:9,code:"Tab"},bt={key:"Enter",which:13,keyCode:13,code:"Enter"},vt={key:["Escape","Esc"],which:27,keyCode:27,code:"Esc"},yt={key:" ",which:32,keyCode:32,code:"Space"},wt=(e,t)=>{for(let n=0;n<t.length;n++)if(Et(e,t[n]))return!0;return!1},Et=(e,t)=>{let{key:n,which:r,keyCode:o,code:a}=t;return"string"==typeof e?e===n:"number"==typeof e?e===r||e===o:e.key&&Array.isArray(n)?n.includes(e.key):e.key===n||e.which===r||e.keyCode===o||e.code===a};function Nt(e){const[t,n]=(0,b.useState)(e),r=(0,b.useRef)(null),o=(0,b.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;window.clearTimeout(r.current??void 0),r.current=null,0!==t?r.current=window.setTimeout((()=>{n(e),r.current=null}),t):n(e)}),[]);return(0,b.useEffect)((()=>()=>{window.clearTimeout(r.current??void 0)}),[]),[t,o]}const xt=!("undefined"==typeof window||!window.document||!window.document.createElement),Ct=y().createContext(null);function Tt(){return y().useContext(Ct)}const Rt={...y()},_t=(()=>{let e=0;return()=>++e})(),St=xt?b.useLayoutEffect:b.useEffect;let $t=!1;const Ot=Rt.useId?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";const t=Tt();return`${t?`${t}-`:""}${e}-${Rt.useId()}`}:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";const t=Tt(),[n,r]=(0,b.useState)((()=>$t?`${t?`${t}-`:""}${e}-${_t()}`:null));return St((()=>{null===n&&r(`${t?`${t}-`:""}${e}-${_t()}`)}),[_t]),(0,b.useEffect)((()=>{!1===$t&&($t=!0)}),[]),n};function At(e){if(!e||!e.childNodes)return null;if(function(e){if(void 0===e.tabIndex||e.tabIndex<0)return!1;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type;default:return!0}}(e))return e;for(const t of e.childNodes){const e=At(t);if(e)return e}return null}function Lt(e){if(!e||!e.childNodes)return null;if(e?.getAttribute?.("role")&&""!==e.getAttribute("role"))return e;for(const t of e.childNodes){const e=Lt(t);if(e)return e}return null}const Mt=new Set(["mouseup","touchend","touchcancel"]),kt=y().forwardRef(((e,t)=>{let{as:n,align:r="top",className:o,children:a,label:i,description:l,enterDelayMs:s=100,leaveDelayMs:c=300,defaultOpen:u=!1,closeOnActivation:d=!1,dropShadow:f=!1,highContrast:p=!0,...h}=e;(0,b.useRef)(null);const[g,v]=Nt(u),[w,N]=(0,b.useState)(!1),[x,T]=(0,b.useState)(!1),[R,S]=(0,b.useState)(!1),$=Ot("tooltip"),O=_(),A=y().Children.only(a),{"aria-label":L,"aria-labelledby":M,"aria-describedby":k}=A?.props??{},I=!!i,B="string"==typeof L&&""!==L.trim(),D={onFocus:()=>!x&&v(!0),onBlur:()=>{v(!1),T(!1)},onClick:()=>d&&v(!1),onMouseEnter:P,onMouseLeave:V,onMouseDown:function(){T(!0),H()},onMouseMove:function(e){1===e.buttons?N(!0):N(!1)},onTouchStart:H,"aria-labelledby":B?null:I?M??$:void 0,"aria-describedby":B?k:k??(I||M?void 0:$)},z=(0,b.useCallback)((e=>{g&&Et(e,vt)&&(e.stopPropagation(),v(!1)),g&&d&&(Et(e,bt)||Et(e,yt))&&v(!1)}),[d,g,v]);function P(){h?.onMouseEnter||(S(!0),v(!0,s))}function V(){S(!1),w||v(!1,c)}function H(){N(!0)}C((()=>{if(g)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){Et(e,vt)&&z(e)}}),[g,z]);const F=(0,b.useCallback)((()=>{N(!1),R||v(!1,c)}),[R,c,v]);return(0,b.useEffect)((()=>(w&&Mt.forEach((e=>{document.addEventListener(e,F)})),()=>{Mt.forEach((e=>{document.removeEventListener(e,F)}))})),[w,F]),y().createElement(pt,m({as:n,ref:t},h,{align:r,className:E()(`${O}--tooltip`,o),dropShadow:f,highContrast:p,onKeyDown:z,onMouseLeave:V,open:g}),y().createElement("div",{className:`${O}--tooltip-trigger__wrapper`},void 0!==A?y().cloneElement(A,{...D,...function(e){const t=Object.keys(D).filter((e=>e.startsWith("on"))),n={};return t.forEach((t=>{n[t]=n=>{D[t](n),e?.[t]&&e?.[t](n)}})),n}(A.props)}):null),y().createElement(ht,{"aria-hidden":g?"false":"true",className:`${O}--tooltip-content`,id:$,onMouseEnter:P,role:"tooltip"},i||l))}));kt.propTypes={align:g().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top","top-start","top-end","bottom-start","bottom-end","left-end","left-start","right-end","right-start"]),children:g().node,className:g().string,closeOnActivation:g().bool,defaultOpen:g().bool,description:g().node,dropShadow:g().bool,enterDelayMs:g().number,highContrast:g().bool,label:g().node,leaveDelayMs:g().number};const It=y().forwardRef((function(e,t){let{as:n,children:r,className:o,dangerDescription:a="danger",disabled:i=!1,hasIconOnly:l=!1,href:s,iconDescription:c,isExpressive:u=!1,isSelected:d,kind:f="primary",onBlur:p,onClick:m,onFocus:h,onMouseEnter:g,onMouseLeave:b,renderIcon:v,size:w,tabIndex:N,type:x="button",...C}=e;const T=_(),R={tabIndex:N,className:E()(o,{[`${T}--btn`]:!0,[`${T}--btn--sm`]:"sm"===w&&!u,[`${T}--btn--md`]:"md"===w&&!u,[`${T}--btn--lg`]:"lg"===w&&!u,[`${T}--btn--xl`]:"xl"===w,[`${T}--btn--2xl`]:"2xl"===w,[`${T}--layout--size-${w}`]:w,[`${T}--btn--${f}`]:f,[`${T}--btn--disabled`]:i,[`${T}--btn--expressive`]:u,[`${T}--btn--icon-only`]:l,[`${T}--btn--selected`]:l&&d&&"ghost"===f}),ref:t},S=v?y().createElement(v,{"aria-label":c,className:`${T}--btn__icon`,"aria-hidden":"true"}):null,$=["danger","danger--tertiary","danger--ghost"];let O="button";const A=Ot("danger-description"),{"aria-pressed":L,"aria-describedby":M}=C;let k={disabled:i,type:x,"aria-describedby":$.includes(f)?A:M||void 0,"aria-pressed":L??(l&&"ghost"===f?d:void 0)};const I={href:s};let B=null;return $.includes(f)&&(B=y().createElement("span",{id:A,className:`${T}--visually-hidden`},a)),n?(O=n,k={...k,...I}):s&&!i&&(O="a",k=I),y().createElement(O,{onMouseEnter:g,onMouseLeave:b,onFocus:h,onBlur:p,onClick:m,...C,...R,...k},B,r,S)})),Bt=y().forwardRef((function(e,t){let{className:n,count:r,...o}=e;const a=_(),i=E()(`${a}--badge-indicator`,n,{[`${a}--badge-indicator--count`]:r}),l=r&&r>999?"999+":r;return y().createElement("div",m({className:i,ref:t},o),l)}));Bt.propTypes={className:g().string,count:g().number,id:g().string};const Dt=["primary","secondary","ghost","tertiary"],zt=y().forwardRef((function(e,t){let{align:n,autoAlign:r=!1,badgeCount:o,children:a,className:i,closeOnActivation:l=!0,defaultOpen:s=!1,disabled:c,dropShadow:u=!1,enterDelayMs:d=100,highContrast:f=!0,kind:p,label:h,leaveDelayMs:g=100,wrapperClasses:b,size:v,isSelected:w,...N}=e;const x=_(),C=E()(b,`${x}--icon-tooltip`,{[`${x}--icon-tooltip--disabled`]:c});!o||"ghost"===p&&"lg"===v||console.warn("The prop BadgeCount must be used with hasIconOnly=true, kind='ghost' and size='lg'");const T=Ot("badge-indicator");return y().createElement(kt,{align:n,autoAlign:r,closeOnActivation:l,className:C,defaultOpen:s,dropShadow:u,enterDelayMs:d,highContrast:f,label:h,leaveDelayMs:g},y().createElement(It,m({},N,{disabled:c,kind:p,ref:t,size:v,isSelected:w,hasIconOnly:!0,className:i,"aria-describedby":N["aria-describedby"]||o&&T}),a,!c&&void 0!==o&&y().createElement(Bt,{id:T,count:o>0?o:void 0})))}));zt.propTypes={align:x(g().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top","top-start","top-end","bottom-start","bottom-end","left-end","left-start","right-end","right-start"]),["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"],O),autoAlign:g().bool,badgeCount:g().number,href:g().string,children:g().node,className:g().string,closeOnActivation:g().bool,defaultOpen:g().bool,dropShadow:g().bool,disabled:g().bool,enterDelayMs:g().number,isSelected:g().bool,highContrast:g().bool,kind:g().oneOf(Dt),label:g().node.isRequired,leaveDelayMs:g().number,rel:g().string,size:g().oneOf(["sm","md","lg"]),target:g().string,wrapperClasses:g().string};const Pt=["primary","secondary","danger","ghost","danger--primary","danger--ghost","danger--tertiary","tertiary"],Vt=y().forwardRef(((e,t)=>{const{as:n,autoAlign:r=!1,children:o,hasIconOnly:a=!1,tooltipHighContrast:i=!0,tooltipDropShadow:l=!1,iconDescription:s,kind:c="primary",onBlur:u,onClick:d,onFocus:f,onMouseEnter:p,onMouseLeave:h,renderIcon:g,size:b,tooltipAlignment:v="center",tooltipPosition:w="top",...E}=e;!g||o||s||console.error("Button: renderIcon property specified without also providing an iconDescription property. This may impact accessibility for screen reader users.");const N=g?y().createElement(g,null):null;if(function(e){return!0===e}(a)){let e;return"top"!==w&&"bottom"!==w||("center"===v&&(e=w),"end"===v&&(e=`${w}-end`),"start"===v&&(e=`${w}-start`)),"right"!==w&&"left"!==w||(e=w),y().createElement(zt,m({},E,{ref:t,as:n,align:e,label:s,kind:c,size:b,highContrast:i,dropShadow:l,onMouseEnter:p,onMouseLeave:h,onFocus:f,onBlur:u,autoAlign:r,onClick:d,renderIcon:N?null:g}),N??o)}{const{tooltipAlignment:n,...r}=e;return y().createElement(It,m({ref:t},r))}}));Vt.displayName="Button",Vt.propTypes={as:g().oneOfType([g().func,g().string,g().elementType]),autoAlign:g().bool,children:g().node,className:g().string,dangerDescription:g().string,disabled:g().bool,hasIconOnly:g().bool,href:g().string,iconDescription:e=>!e.renderIcon||e.children||e.iconDescription?null:new Error("renderIcon property specified without also providing an iconDescription property."),isExpressive:g().bool,isSelected:g().bool,kind:(e,t,n)=>{const{hasIconOnly:r}=e,o=r?Dt:Pt;return void 0===e[t]||o.includes(e[t])?null:new Error(`Invalid prop \`${t}\` supplied to \`${n}\`. Expected one of ${o.join(", ")}.`)},onBlur:g().func,onClick:g().func,onFocus:g().func,onMouseEnter:g().func,onMouseLeave:g().func,rel:g().string,renderIcon:g().oneOfType([g().func,g().object]),role:g().string,size:g().oneOf(["sm","md","lg","xl","2xl"]),tabIndex:g().number,target:g().string,tooltipAlignment:g().oneOf(["start","center","end"]),tooltipDropShadow:g().bool,tooltipHighContrast:g().bool,tooltipPosition:g().oneOf(["top","right","bottom","left"]),type:g().oneOf(["button","reset","submit"])};var Ht=n(44363);const Ft=y().createContext(1),jt=["one","two","three"],qt=[0,1,2],Wt=qt[0],Ut=qt[qt.length-1],Zt=y().forwardRef(((e,t)=>{let{as:n,className:r,children:o,level:a,withBackground:i=!1,...l}=e;const s=y().useContext(Ft),c=a??s,u=_(),d=E()(`${u}--layer-${jt[c]}`,{[`${u}--layer__with-background`]:i},r),f=(h=c+1,g=Wt,b=Ut,Math.min(b,Math.max(g,h))),p=n||"div";var h,g,b;return y().createElement(Ft.Provider,{value:f},y().createElement(p,m({ref:t},l,{className:d}),o))}));Zt.displayName="Layer",Zt.propTypes={as:g().oneOfType([g().func,g().string,g().elementType]),children:g().node,className:g().string,level:g().oneOf([0,1,2]),withBackground:g().bool};var Kt=n(59184);const Gt=y().forwardRef((function(e,t){let{buttonOnClick:n,children:r,className:o,closeClassName:a,closeIconClassName:i,closeModal:l,iconDescription:s="Close",label:c,labelClassName:u,title:d,titleClassName:f,...p}=e;const h=_(),g=E()(`${h}--modal-header`,o),b=E()(`${h}--modal-header__label ${h}--type-delta`,u),v=E()(`${h}--modal-header__heading ${h}--type-beta`,f),w=E()(`${h}--modal-close`,a),N=E()(`${h}--modal-close__icon`,i);return y().createElement("div",m({className:g},p,{ref:t}),c&&y().createElement("h2",{className:b},c),d&&y().createElement("h2",{className:v},d),r,y().createElement("div",{className:`${h}--modal-close-button`},y().createElement(zt,{className:w,label:s,onClick:function(e){l?.(e),n?.(e)},"aria-label":s,align:"left"},y().createElement(Kt.bm,{size:20,"aria-hidden":"true",tabIndex:"-1",className:N}))))}));Gt.propTypes={buttonOnClick:g().func,children:g().node,className:g().string,closeClassName:g().string,closeIconClassName:g().string,closeModal:g().func,iconDescription:g().string,label:g().node,labelClassName:g().string,title:g().node,titleClassName:g().string};const Yt=(0,b.forwardRef)(((e,t)=>{const{children:n,className:r,stacked:o,...a}=e,i=_(),l=E()(r,`${i}--btn-set`,{[`${i}--btn-set--stacked`]:o});return y().createElement("div",m({},a,{className:l,ref:t}),n)}));Yt.displayName="ButtonSet",Yt.propTypes={children:g().node,className:g().string,stacked:g().bool};const Xt=()=>{};var Jt,Qt,en,tn,nn,rn,on,an,ln,sn=n(60428);const cn=y().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},Jt||(Jt=y().createElement("path",{d:"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z"})),n)})),un=y().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return 16===r||"16"===r||"16px"===r?y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...o},Qt||(Qt=y().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"})),en||(en=y().createElement("path",{fill:"none",d:"M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z","data-icon-path":"inner-path",opacity:"0"})),n):20===r||"20"===r||"20px"===r?y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...o},tn||(tn=y().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z"})),nn||(nn=y().createElement("path",{d:"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z","data-icon-path":"inner-path",opacity:"0"})),n):24===r||"24"===r||"24px"===r?y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...o},rn||(rn=y().createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11S18.1,1,12,1z M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z"})),on||(on=y().createElement("path",{fill:"none",d:"M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z","data-icon-path":"inner-path",opacity:"0"})),n):y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},an||(an=y().createElement("path",{fill:"none",d:"M14.9 7.2H17.1V24.799H14.9z","data-icon-path":"inner-path",transform:"rotate(-45 16 16)"})),ln||(ln=y().createElement("path",{d:"M16,2A13.914,13.914,0,0,0,2,16,13.914,13.914,0,0,0,16,30,13.914,13.914,0,0,0,30,16,13.914,13.914,0,0,0,16,2Zm5.4449,21L9,10.5557,10.5557,9,23,21.4448Z"})),n)}));function dn(e){let{active:t=!0,className:n,withOverlay:r=!0,small:o=!1,description:a="loading",...i}=e;const l=_(),s=E()(n,{[`${l}--loading`]:!0,[`${l}--loading--small`]:o,[`${l}--loading--stop`]:!t}),c=E()({[`${l}--loading-overlay`]:!0,[`${l}--loading-overlay--stop`]:!t}),u=y().createElement("div",m({},i,{"aria-atomic":"true","aria-live":t?"assertive":"off",className:s}),y().createElement("svg",{className:`${l}--loading__svg`,viewBox:"0 0 100 100"},y().createElement("title",null,a),o?y().createElement("circle",{className:`${l}--loading__background`,cx:"50%",cy:"50%",r:"42"}):null,y().createElement("circle",{className:`${l}--loading__stroke`,cx:"50%",cy:"50%",r:o?"42":"44"})));return r?y().createElement("div",{className:c},u):u}dn.propTypes={active:g().bool,className:g().string,description:g().string,id:ct(g().string),small:g().bool,withOverlay:g().bool};const fn=e=>{let{className:t,status:n="active",iconDescription:r,description:o,onSuccess:a,successDelay:i=1500,...l}=e;const s=_(),c=E()(`${s}--inline-loading`,t),u=(0,b.useRef)(null);(0,b.useEffect)((()=>("finished"===n&&(u.current=setTimeout((()=>{a&&a()}),i)),()=>{u.current&&(clearTimeout(u.current),u.current=null)})),[n,a,i]);const d=o&&y().createElement("div",{className:`${s}--inline-loading__text`},o),f=(()=>{let e=r||n;return"error"===n?y().createElement(un,{className:`${s}--inline-loading--error`},y().createElement("title",null,e)):"finished"===n?y().createElement(Kt._j,{className:`${s}--inline-loading__checkmark-container`},y().createElement("title",null,e)):"active"===n?(r||(e="loading"),y().createElement(dn,{small:!0,description:e,withOverlay:!1,active:"active"===n})):"inactive"===n?(r||(e="not loading"),y().createElement("title",{className:`${s}--inline-loading__inactive-status`},e)):void 0})(),p=f&&y().createElement("div",{className:`${s}--inline-loading__animation`},f);return y().createElement("div",m({className:c},l,{"aria-live":l["aria-live"]??"assertive"}),p,d)};function pn(e){let{secondaryButtons:t,secondaryButtonText:n,secondaryClassName:r,closeModal:o,onRequestClose:a,disabled:i}=e;function l(e){o(e),a(e)}return Array.isArray(t)&&t.length<=2?y().createElement(y().Fragment,null,t.map(((e,t)=>{let{buttonText:n,onClick:o}=e;return y().createElement(Vt,{key:`${n}-${t}`,className:r,kind:"secondary",onClick:o||l},n)}))):n?y().createElement(Vt,{disabled:i,className:r,onClick:l,kind:"secondary"},n):null}fn.propTypes={className:g().string,description:g().node,iconDescription:g().string,onSuccess:g().func,status:g().oneOf(["inactive","active","finished","error"]),successDelay:g().number},pn.propTypes={closeModal:g().func,disabled:g().bool,onRequestClose:g().func,secondaryButtonText:g().string,secondaryButtons:(e,t,n)=>{if(e.secondaryButtons){if(!Array.isArray(e.secondaryButtons)||2!==e.secondaryButtons.length)return new Error(`${t} needs to be an array of two button config objects`);const r={buttonText:g().node,onClick:g().func};e[t].forEach((e=>{g().checkPropTypes(r,e,t,n)}))}return null},secondaryClassName:g().string};const mn=y().forwardRef((function(e,t){let{children:n,className:r,closeModal:o=Xt,danger:a,inputref:i,onRequestClose:l=Xt,onRequestSubmit:s=Xt,primaryButtonDisabled:c,primaryButtonText:u,primaryClassName:d,secondaryButtonText:f,secondaryButtons:p,secondaryClassName:h,loadingStatus:g="inactive",loadingDescription:b,loadingIconDescription:v,onLoadingSuccess:w=Xt,...N}=e;const x=_(),C=E()(`${x}--modal-footer`,r,Array.isArray(p)&&2===p.length?`${x}--modal-footer--three-button`:null),T=E()(d,"inactive"!==g?`${x}--btn--loading`:null),R="inactive"!==g,S={closeModal:o,secondaryButtons:p,secondaryButtonText:f,secondaryClassName:h,onRequestClose:l,disabled:R};return y().createElement(Yt,m({className:C},N,{ref:t,"aria-busy":R}),y().createElement(pn,S),u&&y().createElement(Vt,{onClick:s,className:T,disabled:R||c,kind:a?"danger":"primary",ref:i},"inactive"===g?u:y().createElement(fn,{status:g,description:b,iconDescription:v,className:`${x}--inline-loading--btn`,onSuccess:w})),n)}));mn.propTypes={children:g().node,className:g().string,closeModal:g().func,danger:g().bool,inputref:g().oneOfType([g().func,g().shape({current:g().any})]),loadingDescription:g().string,loadingIconDescription:g().string,loadingStatus:g().oneOf(["inactive","active","finished","error"]),onLoadingSuccess:g().func,onRequestClose:g().func,onRequestSubmit:g().func,primaryButtonDisabled:g().bool,primaryButtonText:g().string,primaryClassName:g().string,secondaryButtonText:g().string,secondaryButtons:(e,t,n)=>{if(e.secondaryButtons){if(!Array.isArray(e.secondaryButtons)||2!==e.secondaryButtons.length)return new Error(`${t} needs to be an array of two button config objects`);const r={buttonText:g().node,onClick:g().func};e[t].forEach((e=>{g().checkPropTypes(r,e,t,n)}))}return null},secondaryClassName:g().string};var hn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach((t=>{"function"==typeof t?t(e):Object(t)===t&&(t.current=e)}))}};const gn=(e,t,n)=>{e.classList.toggle(t,n)};var bn=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),vn="undefined"==typeof Element,yn=vn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,wn=!vn&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},En=function e(t,n){var r;void 0===n&&(n=!0);var o=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},Nn=function e(t,n,r){for(var o=[],a=Array.from(t);a.length;){var i=a.shift();if(!En(i,!1))if("SLOT"===i.tagName){var l=i.assignedElements(),s=e(l.length?l:i.children,!0,r);r.flatten?o.push.apply(o,s):o.push({scopeParent:i,candidates:s})}else{yn.call(i,bn)&&r.filter(i)&&(n||!t.includes(i))&&o.push(i);var c=i.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(i),u=!En(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(c&&u){var d=e(!0===c?i.children:c.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:i,candidates:d})}else a.unshift.apply(a,i.children)}}return o},xn=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Cn=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!xn(e)?0:e.tabIndex},Tn=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Rn=function(e){return"INPUT"===e.tagName},_n=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},Sn=function(e,t){return!(t.disabled||En(t)||function(e){return Rn(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=yn.call(e,"details>summary:first-of-type")?e.parentElement:e;if(yn.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return _n(e)}else{if("function"==typeof r){for(var a=e;e;){var i=e.parentElement,l=wn(e);if(i&&!i.shadowRoot&&!0===r(i))return _n(e);e=e.assignedSlot?e.assignedSlot:i||l===e.ownerDocument?i:l.host}e=a}if(function(e){var t,n,r,o,a=e&&wn(e),i=null===(t=a)||void 0===t?void 0:t.host,l=!1;if(a&&a!==e)for(l=!!(null!==(n=i)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(i)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!l&&i;){var s,c,u;l=!(null===(c=i=null===(s=a=wn(i))||void 0===s?void 0:s.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(i))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!yn.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},$n=function(e,t){return!(function(e){return function(e){return Rn(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||wn(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)}(t)||Cn(t)<0||!Sn(e,t))},On=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},An=function e(t){var n=[],r=[];return t.forEach((function(t,o){var a=!!t.scopeParent,i=a?t.scopeParent:t,l=function(e,t){var n=Cn(e);return n<0&&t&&!xn(e)?0:n}(i,a),s=a?e(t.candidates):i;0===l?a?n.push.apply(n,s):n.push(i):r.push({documentOrder:o,tabIndex:l,item:t,isScope:a,content:s})})),r.sort(Tn).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)};const Ln="\n a[href], area[href], input:not([disabled]):not([tabindex='-1']),\n button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),\n textarea:not([disabled]):not([tabindex='-1']),\n iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true]\n",Mn="undefined"!=typeof Node?Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINS:0,kn="undefined"!=typeof Node?Node.DOCUMENT_POSITION_FOLLOWING|Node.DOCUMENT_POSITION_CONTAINED_BY:0,In=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e instanceof Element&&"function"==typeof e.closest&&[".cds--overflow-menu-options",".cds--tooltip",".flatpickr-calendar",...t].some((t=>!!e.closest(t)))},Bn=e=>{let{bodyNode:t,startTrapNode:n,endTrapNode:r,currentActiveNode:o,oldActiveNode:a,selectorsFloatingMenus:i}=e;if(t&&o&&a&&!t.contains(o)&&!In(o,i)){const e=a.compareDocumentPosition(o);if(o===n||e&Mn){const e=Array.from(t.querySelectorAll(Ln)).reverse().find((e=>{let{offsetParent:t}=e;return Boolean(t)}));e?e.focus():t!==a&&t.focus()}else if(o===r||e&kn){const e=Array.from(t.querySelectorAll(Ln)).find((e=>{let{offsetParent:t}=e;return Boolean(t)}));e?e.focus():t!==a&&t.focus()}}},Dn=e=>{let{containerNode:t,currentActiveNode:n,event:r}=e;if(!t)return;["blur","focusout","focusin","focus"].includes(r.type);const o=(l=t,c=(s=s||{}).getShadowRoot?Nn([l],s.includeContainer,{filter:$n.bind(null,s),flatten:!1,getShadowRoot:s.getShadowRoot,shadowRootFilter:On}):function(e,t,n){if(En(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(bn));return t&&yn.call(e,bn)&&r.unshift(e),r.filter(n)}(l,s.includeContainer,$n.bind(null,s)),An(c)),a=o[0],i=o[o.length-1];var l,s,c;n!==i||r.shiftKey||(r.preventDefault(),a.focus()),n===a&&r.shiftKey&&(r.preventDefault(),i.focus())},zn=e=>function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(const n of e){if(t.defaultPrevented)break;"function"==typeof n&&n(t,...r)}},Pn=y().forwardRef(((e,t)=>{let{children:n,className:r,modal:o,onCancel:a=Xt,onClick:i=Xt,onClose:l=Xt,onRequestClose:s=Xt,open:c=!1,...u}=e;const d=_(),f=(0,b.useRef)(null),p=t??f;return(0,b.useEffect)((()=>{p.current&&(c?o?p.current.showModal():p.current.show():p.current.close())}),[o,c]),y().createElement("dialog",m({},u,{className:E()(`${d}--dialog`,{[`${d}--dialog--modal`]:o},r),ref:p,onCancel:a,onClick:function(e){!function(e){c&&o&&e.target===p.current&&s(e)}(e),i(e)},onClose:l}),n)}));Pn.displayName="Dialog",Pn.propTypes={children:g().node,className:g().string,modal:g().bool,onRequestClose:g().func,open:g().bool},y().forwardRef(((e,t)=>{let{children:n,...r}=e;const o=_();return y().createElement("div",m({className:`${o}--dialog__header`,ref:t},r),n)})).propTypes={children:g().node},y().forwardRef(((e,t)=>{let{children:n,...r}=e;const o=_();return y().createElement("div",m({className:`${o}--dialog__header-controls`,ref:t},r),n)})).propTypes={children:g().node},y().forwardRef(((e,t)=>{let{onClick:n,...r}=e;const o=_();return y().createElement(zt,m({kind:"ghost",className:`${o}--dialog__close`,label:"Close",title:"Close","aria-label":"Close",align:"left",onClick:n},r),y().createElement(Kt.bm,{size:20,"aria-hidden":"true",tabIndex:"-1",className:`${o}--icon__close`}))})).propTypes={onClick:g().func};const Vn=y().forwardRef((function(e,t){let{className:n,children:r,hasForm:o,hasScrollingContent:a,...i}=e;const l=_(),s=(0,b.useRef)(null),[c,u]=(0,b.useState)(!1),d=E()({[`${l}--modal-content`]:!0,[`${l}--modal-content--with-form`]:o,[`${l}--modal-scroll-content`]:a||c},n);C((()=>{s.current&&u(s.current.scrollHeight>s.current.clientHeight);const e=function(e,t=0,n={}){"object"!=typeof n&&(n={});const{signal:r,leading:o=!1,trailing:a=!0,maxWait:i}=n,l=Array(2);let s;o&&(l[0]="leading"),a&&(l[1]="trailing");let c=null;const u=function(e,t,{signal:n,edges:r}={}){let o,a=null;const i=null!=r&&r.includes("leading"),l=null==r||r.includes("trailing"),s=()=>{null!==a&&(e.apply(o,a),o=void 0,a=null)};let c=null;const u=()=>{null!=c&&clearTimeout(c),c=setTimeout((()=>{c=null,l&&s(),f()}),t)},d=()=>{null!==c&&(clearTimeout(c),c=null)},f=()=>{d(),o=void 0,a=null},p=function(...e){if(n?.aborted)return;o=this,a=e;const t=null==c;u(),i&&t&&s()};return p.schedule=u,p.cancel=f,p.flush=()=>{d(),s()},n?.addEventListener("abort",f,{once:!0}),p}((function(...t){s=e.apply(this,t),c=null}),t,{signal:r,edges:l}),d=function(...t){if(null!=i)if(null===c)c=Date.now();else if(Date.now()-c>=i)return s=e.apply(this,t),c=Date.now(),u.cancel(),u.schedule(),s;return u.apply(this,t),s};return d.cancel=u.cancel,d.flush=()=>(u.flush(),s),d}((function(){s.current&&u(s.current.scrollHeight>s.current.clientHeight)}),200);return window.addEventListener("resize",e),()=>{e.cancel(),window.removeEventListener("resize",e)}}),[]);const f=a||c?{tabIndex:0,role:"region"}:{};return y().createElement(Zt,m({className:d},f,i,{ref:hn(s,t)}),r)}));var Hn;Vn.propTypes={"aria-label":(Hn=g().string,function(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),a=3;a<r;a++)o[a-3]=arguments[a];return Hn(e,t,n,...o)}),children:g().node,className:g().string,hasForm:g().bool,hasScrollingContent:g().bool};const Fn=y().forwardRef((function(e,t){let{"aria-labelledby":n,"aria-label":r,children:o,className:a,containerClassName:i,danger:l,decorator:s,isFullWidth:c,onClose:u,onKeyDown:d,open:f,preventCloseOnClickOutside:p,selectorPrimaryFocus:h="[data-modal-primary-focus]",selectorsFloatingMenus:g,size:v,launcherButtonRef:w,slug:N,...x}=e;const C=_(),[T,R]=(0,b.useState)(!!f),[S,$]=(0,b.useState)(!!f),O=(0,b.useRef)(null),A=(0,b.useRef)(null),L=(0,b.useRef)(null),M=(0,b.useRef)(null),k=(0,b.useRef)(null),I=dt("enable-dialog-element"),B=dt("enable-experimental-focus-wrap-without-sentinels");function D(e){u&&!1===u(e)||R(!1)}(0,b.useEffect)((()=>{I||f===S||(R(!!f),$(!!f),gn(document.body,`${C}--body--with-modal-open`,!!f))}),[f,S,C]),(0,b.useEffect)((()=>{if(!I)return()=>{gn(document.body,`${C}--body--with-modal-open`,!1)}}),[]);const z=E()(`${C}--modal`,{"is-visible":T,[`${C}--modal--danger`]:l,[`${C}--modal--slug`]:N,[`${C}--modal--decorator`]:s},a),P=E()(`${C}--modal-container`,v&&`${C}--modal-container--${v}`,c&&`${C}--modal-container--full-width`,i);let V;const H=y().Children.toArray(o).map((e=>{switch(!0){case(0,Ht.isElement)(e)&&e.type===y().createElement(Gt).type:{const t=e;return V=t.props.label,y().cloneElement(t,{closeModal:D})}case(0,Ht.isElement)(e)&&e.type===y().createElement(mn).type:{const t=e;return y().cloneElement(t,{closeModal:D,inputref:A,danger:l})}default:return e}}));(0,b.useEffect)((()=>{I||f||!w||setTimeout((()=>{w?.current?.focus()}))}),[f,w]),(0,b.useEffect)((()=>{if(!I){const e=e=>{const t=e||O.current;return(t?t.querySelector(l?`.${C}--btn--secondary`:h):null)||A&&A.current};f&&T&&(t=>{const n=e(t),r=t.querySelector(`.${C}--modal-close`);n?n.focus():!n&&r&&r?.focus()})(O.current)}}),[f,h,T]);let F=y().isValidElement(N??s)?N??s:null;F&&"AILabel"===F.type?.displayName&&(F=y().cloneElement(F,{size:"sm"}));const j=I?y().createElement(Pn,{open:f,modal:!0,className:P,"aria-label":r||V,"aria-labelledby":n},y().createElement("div",{ref:O,className:`${C}--modal-container-body`},N?F:s?y().createElement("div",{className:`${C}--modal--inner__decorator`},F):"",H)):y().createElement("div",{className:P,role:"dialog","aria-modal":"true","aria-label":r||V,"aria-labelledby":n},!B&&y().createElement("button",{type:"button",ref:L,className:`${C}--visually-hidden`},"Focus sentinel"),y().createElement("div",{ref:O,className:`${C}--modal-container-body`},N?F:s?y().createElement("div",{className:`${C}--modal--inner__decorator`},F):"",H),!B&&y().createElement("button",{type:"button",ref:M,className:`${C}--visually-hidden`},"Focus sentinel"));return y().createElement(Zt,m({},x,{level:0,role:"presentation",ref:t,"aria-hidden":!f,onBlur:I||B?()=>{}:function(e){let{target:t,relatedTarget:n}=e;if(f&&n&&t&&O.current){const{current:e}=O,{current:r}=L,{current:o}=M;Bn({bodyNode:e,startTrapNode:r,endTrapNode:o,currentActiveNode:n,oldActiveNode:t,selectorsFloatingMenus:g?.filter(Boolean)})}},onClick:zn([x?.onClick,function(e){const{target:t}=e,n=k.current;e.stopPropagation(),!p&&t instanceof Node&&!In(t,g)&&O.current&&!O.current.contains(t)&&!O.current.contains(n)&&D(e)}]),onMouseDown:zn([x?.onMouseDown,function(e){const t=e.target;k.current=t}]),onKeyDown:function(e){I||(e.stopPropagation(),Et(e,vt)&&D(e),B&&f&&Et(e,gt)&&O.current&&Dn({containerNode:O.current,currentActiveNode:e.target,event:e})),d?.(e)},className:z}),j)}));Fn.propTypes={"aria-label":g().string,"aria-labelledby":g().string,children:g().node,className:g().string,containerClassName:g().string,danger:g().bool,decorator:g().node,isFullWidth:g().bool,launcherButtonRef:g().oneOfType([g().func,g().shape({current:g().any})]),onClose:g().func,onKeyDown:g().func,open:g().bool,preventCloseOnClickOutside:g().bool,selectorPrimaryFocus:g().string,selectorsFloatingMenus:g().arrayOf(g().string.isRequired),size:g().oneOf(["xs","sm","md","lg"]),slug:ct(g().node)};const jn=(0,b.createContext)({direction:"auto",getTextDirection:{current:void 0}}),qn=y().forwardRef(((e,t)=>{let{as:n,children:r,dir:o="auto",...a}=e;const i=(0,b.useContext)(jn),l={},s=n??"span",c={...i};if(i){const{direction:e,getTextDirection:t}=i;if(t&&t.current){const n=Wn(r),o=t.current(n);e!==o?(l.dir=o,c.direction=o):"auto"===e&&(l.dir=o)}else e!==o?(l.dir=o,c.direction=o):"auto"===e&&(l.dir=o)}else l.dir=o,c.direction=o;return y().createElement(jn.Provider,{value:c},y().createElement(s,m({ref:t},a,l),r))}));qn.propTypes={as:g().oneOfType([g().func,g().string,g().elementType]),children:g().node.isRequired,dir:g().oneOf(["ltr","rtl","auto"])};const Wn=e=>{if("string"==typeof e)return e;const t=b.Children.map(e,(e=>"string"==typeof e?e:null))?.filter((e=>null!==e));return 1===t?.length?t[0]:t};function Un(e){let{className:t,children:n,id:r,...o}=e;const a=_(),i=E()(`${a}--label`,`${a}--label--no-margin`,t);return y().createElement(qn,m({as:"label",htmlFor:r,className:i},o),n)}var Zn,Kn,Gn,Yn,Xn,Jn,Qn,er,tr,nr,rr;Un.propTypes={children:g().node,className:g().string,id:g().string};const or=y().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},Zn||(Zn=y().createElement("path",{fill:"none",d:"M16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Zm-1.125-5h2.25V12h-2.25Z","data-icon-path":"inner-path"})),Kn||(Kn=y().createElement("path",{d:"M16.002,6.1714h-.004L4.6487,27.9966,4.6506,28H27.3494l.0019-.0034ZM14.875,12h2.25v9h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z"})),Gn||(Gn=y().createElement("path",{d:"M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z"})),n)})),ar=y().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return 16===r||"16"===r||"16px"===r?y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...o},Yn||(Yn=y().createElement("path",{d:"M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2 c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z"})),Xn||(Xn=y().createElement("path",{d:"M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8 c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z","data-icon-path":"inner-path",opacity:"0"})),n):20===r||"20"===r||"20px"===r?y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...o},Jn||(Jn=y().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1 s1,0.4,1,1S10.6,16,10,16z"})),Qn||(Qn=y().createElement("path",{d:"M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1s1,0.4,1,1S10.6,16,10,16z","data-icon-path":"inner-path",opacity:"0"})),n):24===r||"24"===r||"24px"===r?y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...o},er||(er=y().createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11C23,5.9,18.1,1,12,1z M11.1,6h1.8v8h-1.8V6z M12,19.2 c-0.7,0-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2s1.2,0.6,1.2,1.2S12.7,19.2,12,19.2z"})),tr||(tr=y().createElement("path",{fill:"none",d:"M13.2,18c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2S13.2,17.3,13.2,18z M12.9,6 h-1.8v8h1.8V6z","data-icon-path":"inner-path",opacity:"0"})),n):y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},nr||(nr=y().createElement("path",{d:"M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14C30,8.3,23.7,2,16,2z M14.9,8h2.2v11h-2.2V8z M16,25 c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22c0.8,0,1.5,0.7,1.5,1.5S16.8,25,16,25z"})),rr||(rr=y().createElement("path",{fill:"none",d:"M17.5,23.5c0,0.8-0.7,1.5-1.5,1.5c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22 C16.8,22,17.5,22.7,17.5,23.5z M17.1,8h-2.2v11h2.2V8z","data-icon-path":"inner-path",opacity:"0"})),n)}));var ir,lr,sr,cr;const ur=y().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},ir||(ir=y().createElement("path",{fill:"none",d:"M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z","data-icon-path":"inner-path"})),lr||(lr=y().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,6a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"})),n)})),dr=y().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},sr||(sr=y().createElement("path",{fill:"none",d:"M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z","data-icon-path":"inner-path"})),cr||(cr=y().createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"})),n)}));function fr(e){let{children:t,className:n,onClick:r,inline:o,...a}=e;const i=_(),l=E()(n,{[`${i}--actionable-notification__action-button`]:!0});return y().createElement(Vt,m({className:l,kind:o?"ghost":"tertiary",onClick:r,size:"sm"},a),t)}function pr(e){let{"aria-label":t="close notification",ariaLabel:n,className:r,type:o="button",renderIcon:a=Kt.bm,name:i,notificationType:l="toast",...s}=e;const c=_(),u=E()(r,{[`${c}--${l}-notification__close-button`]:l}),d=E()({[`${c}--${l}-notification__close-icon`]:l});return y().createElement("button",m({},s,{type:o,"aria-label":n||t,title:n||t,className:u}),a&&y().createElement(a,{className:d,name:i}))}fr.propTypes={children:g().node,className:g().string,inline:g().bool,onClick:g().func},pr.propTypes={"aria-label":g().string,ariaLabel:ct(g().string),className:g().string,name:g().string,notificationType:g().oneOf(["toast","inline","actionable"]),renderIcon:g().oneOfType([g().func,g().object]),type:g().string};const mr={error:un,success:Kt._j,warning:ar,"warning-alt":or,info:ur,"info-square":dr};function hr(e){let{iconDescription:t,kind:n,notificationType:r}=e;const o=_(),a=mr[n];return a?y().createElement(a,{className:`${o}--${r}-notification__icon`,size:20},y().createElement("title",null,t)):null}function gr(e){let{actionButtonLabel:t,"aria-label":n,ariaLabel:r,children:o,role:a="alertdialog",onActionButtonClick:i,onClose:l,onCloseButtonClick:s=Xt,statusIconDescription:c,className:u,inline:d=!1,kind:f="error",lowContrast:p,hideCloseButton:h=!1,hasFocus:g=!0,closeOnEscape:v=!0,title:w,subtitle:N,...x}=e;const[T,R]=(0,b.useState)(!0),S=_(),$=Ot("actionable-notification"),O=Ot("actionable-notification-subtitle"),A=E()(u,{[`${S}--actionable-notification`]:!0,[`${S}--actionable-notification--toast`]:!d,[`${S}--actionable-notification--low-contrast`]:p,[`${S}--actionable-notification--${f}`]:f,[`${S}--actionable-notification--hide-close-button`]:h}),L=(0,b.useRef)(null),M=(0,b.useRef)(null),k=(0,b.useRef)(null),I=(0,b.useRef)(null),B=dt("enable-experimental-focus-wrap-without-sentinels");function D(e){s(e),l&&!1===l(e)||R(!1)}return C((()=>{if(g&&"alertdialog"===a){const e=document.querySelector("button.cds--actionable-notification__action-button");e?.focus()}})),function(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=r=>{const o=e.current&&document.activeElement===e.current||e.current?.contains(document.activeElement);wt(r,[vt])&&n&&o&&t(r)};C((()=>(null!==e.current&&document.addEventListener("keydown",r,!1),()=>document.removeEventListener("keydown",r,!1))))}(I,D,v),T?y().createElement("div",m({},x,{ref:I,role:a,className:A,"aria-labelledby":w?$:O,onBlur:B?()=>{}:function(e){let{target:t,relatedTarget:n}=e;if(T&&n&&t&&"alertdialog"===a){const{current:e}=L,{current:r}=M,{current:o}=k;Bn({bodyNode:e,startTrapNode:r,endTrapNode:o,currentActiveNode:n,oldActiveNode:t})}},onKeyDown:B?function(e){T&&Et(e,gt)&&I.current&&"alertdialog"===a&&Dn({containerNode:I.current,currentActiveNode:e.target,event:e})}:()=>{}}),!B&&y().createElement("span",{ref:M,tabIndex:0,role:"link",className:`${S}--visually-hidden`},"Focus sentinel"),y().createElement("div",{className:`${S}--actionable-notification__details`},y().createElement(hr,{notificationType:d?"inline":"toast",kind:f,iconDescription:c||`${f} icon`}),y().createElement("div",{className:`${S}--actionable-notification__text-wrapper`},y().createElement("div",{className:`${S}--actionable-notification__content`},w&&y().createElement(qn,{as:"div",className:`${S}--actionable-notification__title`,id:$},w),N&&y().createElement(qn,{as:"div",className:`${S}--actionable-notification__subtitle`,id:O},N),o))),y().createElement("div",{className:`${S}--actionable-notification__button-wrapper`,ref:L},t&&y().createElement(fr,{onClick:i,inline:d},t),!h&&y().createElement(pr,{"aria-label":r||n,notificationType:"actionable",onClick:D})),!B&&y().createElement("span",{ref:k,tabIndex:0,role:"link",className:`${S}--visually-hidden`},"Focus sentinel")):null}hr.propTypes={iconDescription:g().string.isRequired,kind:g().oneOf(["error","success","warning","warning-alt","info","info-square"]).isRequired,notificationType:g().oneOf(["inline","toast"]).isRequired},g().string,ct(g().string),g().string,g().node,g().string,g().bool,g().oneOf(["error","info","info-square","success","warning","warning-alt"]),g().bool,g().func,g().func,g().oneOf(["alert","log","status"]),g().string,g().string,g().number,g().string,g().string,g().node,g().string,g().bool,g().oneOf(["error","info","info-square","success","warning","warning-alt"]),g().bool,g().func,g().func,g().oneOf(["alert","log","status"]),g().string,g().string,g().string,gr.propTypes={actionButtonLabel:g().string,"aria-label":g().string,ariaLabel:ct(g().string),children:g().node,className:g().string,closeOnEscape:g().bool,hasFocus:ct(g().bool),hideCloseButton:g().bool,inline:g().bool,kind:g().oneOf(["error","info","info-square","success","warning","warning-alt"]),lowContrast:g().bool,onActionButtonClick:g().func,onClose:g().func,onCloseButtonClick:g().func,role:g().string,statusIconDescription:g().string,subtitle:g().node,title:g().string},g().string,g().node,g().string,x(g().oneOf(["error","info","info-square","success","warning","warning-alt"]),["warning","info"],(e=>({error:"warning",success:"info"}[e]))),g().bool,g().func,g().string,g().node,g().string,g().string;const br=y().forwardRef(((e,t)=>{const{className:n,decorator:r,disabled:o,hideLabel:a,id:i,labelPosition:l="right",labelText:s="",name:c,onChange:u=()=>{},value:d="",slug:f,required:p,...h}=e,g=_(),v=Ot("radio-button"),w=i||v,N=E()(`${g}--radio-button__label-text`,{[`${g}--visually-hidden`]:a}),x=E()(n,`${g}--radio-button-wrapper`,{[`${g}--radio-button-wrapper--label-${l}`]:"right"!==l,[`${g}--radio-button-wrapper--slug`]:f,[`${g}--radio-button-wrapper--decorator`]:r}),C=(0,b.useRef)(null);let T=y().isValidElement(f??r)?f??r:null;if(T&&"AILabel"===T.type?.displayName){const e="inline"===T.props?.kind?"md":"mini";T=y().cloneElement(T,{size:e})}return y().createElement("div",{className:x},y().createElement("input",m({},h,{type:"radio",className:`${g}--radio-button`,onChange:function(e){u(d,c,e)},id:w,ref:hn(C,t),disabled:o,value:d,name:c,required:p})),y().createElement("label",{htmlFor:w,className:`${g}--radio-button__label`},y().createElement("span",{className:`${g}--radio-button__appearance`}),s&&y().createElement(qn,{className:N},s,f?T:r?y().createElement("div",{className:`${g}--radio-button-wrapper-inner--decorator`},T):"")))}));function vr(e){const{className:t,...n}=e,r=_();return y().createElement("div",m({className:E()(`${r}--radio-button-wrapper`,t)},n),y().createElement("div",{className:`${r}--radio-button ${r}--skeleton`}),y().createElement("span",{className:`${r}--radio-button__label ${r}--skeleton`}))}br.displayName="RadioButton",br.propTypes={checked:g().bool,className:g().string,decorator:g().node,defaultChecked:g().bool,disabled:g().bool,hideLabel:g().bool,id:g().string,labelPosition:g().oneOf(["right","left"]),labelText:g().node.isRequired,name:g().string,onChange:g().func,onClick:g().func,required:g().bool,slug:ct(g().node),value:g().oneOfType([g().string,g().number])},vr.propTypes={className:g().string};const yr=(e,t)=>t=>y().createElement(qn,m({as:e},t));yr("label");const wr=yr("legend"),Er=y().forwardRef(((e,t)=>{const{children:n,className:r,decorator:o,defaultSelected:a,disabled:i,helperText:l,invalid:s=!1,invalidText:c,labelPosition:u="right",legendText:d,name:f,onChange:p=()=>{},orientation:h="horizontal",readOnly:g,valueSelected:v,warn:w=!1,warnText:N,slug:x,required:C,...T}=e,R=_(),[S,$]=(0,b.useState)(v??a),[O,A]=(0,b.useState)(v),L=Ot();function M(e,t,n){g||e!==S&&($(e),p(e,f,n))}v!==O&&($(v),A(v));const k=!g&&!s&&w,I=!s&&!i&&!w,B=E()(`${R}--form-item`,r),D=E()(`${R}--radio-button-group`,{[`${R}--radio-button-group--${h}`]:"vertical"===h,[`${R}--radio-button-group--label-${u}`]:u,[`${R}--radio-button-group--readonly`]:g,[`${R}--radio-button-group--invalid`]:!g&&s,[`${R}--radio-button-group--warning`]:k,[`${R}--radio-button-group--slug`]:x,[`${R}--radio-button-group--decorator`]:o}),z=E()(`${R}--form__helper-text`,{[`${R}--form__helper-text--disabled`]:i}),P=l?`radio-button-group-helper-text-${L}`:void 0,V=l?y().createElement("div",{id:P,className:z},l):null,H=(0,b.useRef)(null);let F=y().isValidElement(x??o)?x??o:null;return F&&"AILabel"===F.type?.displayName&&(F=y().cloneElement(F,{size:"mini",kind:"default"})),y().createElement("div",{className:B,ref:hn(H,t)},y().createElement("fieldset",m({className:D,disabled:i,"data-invalid":!!s||void 0,"aria-describedby":I&&l?P:void 0},T),d&&y().createElement(wr,{className:`${R}--label`},d,x?F:o?y().createElement("div",{className:`${R}--radio-button-group-inner--decorator`},F):""),y().Children.map(n,(e=>{if(!e)return;const t={name:f,key:e.props.value,value:e.props.value,onChange:M,checked:e.props.value===S,required:C};return!S&&e.props.checked&&(t.checked=!0),y().cloneElement(e,t)}))),y().createElement("div",{className:`${R}--radio-button__validation-msg`},!g&&s&&y().createElement(y().Fragment,null,y().createElement(ar,{className:`${R}--radio-button__invalid-icon`}),y().createElement("div",{className:`${R}--form-requirement`},c)),k&&y().createElement(y().Fragment,null,y().createElement(or,{className:`${R}--radio-button__invalid-icon ${R}--radio-button__invalid-icon--warning`}),y().createElement("div",{className:`${R}--form-requirement`},N))),I&&V)}));var Nr,xr;Er.propTypes={children:g().node,className:g().string,decorator:g().node,defaultSelected:g().oneOfType([g().string,g().number]),disabled:g().bool,helperText:g().node,invalid:g().bool,invalidText:g().node,labelPosition:g().oneOf(["left","right"]),legendText:g().node,name:g().string.isRequired,onChange:g().func,orientation:g().oneOf(["horizontal","vertical"]),readOnly:g().bool,required:g().bool,slug:ct(g().node),valueSelected:g().oneOfType([g().string,g().number]),warn:g().bool,warnText:g().node},Er.displayName="RadioButtonGroup";const Cr=y().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return 16===r||"16"===r||"16px"===r?y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...o},Nr||(Nr=y().createElement("path",{d:"M15,14.3L10.7,10c1.9-2.3,1.6-5.8-0.7-7.7S4.2,0.7,2.3,3S0.7,8.8,3,10.7c2,1.7,5,1.7,7,0l4.3,4.3L15,14.3z M2,6.5 C2,4,4,2,6.5,2S11,4,11,6.5S9,11,6.5,11S2,9,2,6.5z"})),n):y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},xr||(xr=y().createElement("path",{d:"M29,27.5859l-7.5521-7.5521a11.0177,11.0177,0,1,0-1.4141,1.4141L27.5859,29ZM4,13a9,9,0,1,1,9,9A9.01,9.01,0,0,1,4,13Z"})),n)})),Tr=(0,b.createContext)({isFluid:!1});var Rr;const _r=y().forwardRef((function(e,t){let{autoComplete:n="off",className:r,closeButtonLabelText:o="Clear search input",defaultValue:a,disabled:i,isExpanded:l=!0,id:s,labelText:c,light:u,onChange:d=()=>{},onClear:f=()=>{},onKeyDown:p,onExpand:h,placeholder:g="Search",renderIcon:v,role:w="searchbox",size:N="md",type:x="text",value:C,...R}=e;const S=!(!C&&!a),$=_(),{isFluid:O}=(0,b.useContext)(Tr),A=(0,b.useRef)(null),L=T([t,A]),M=(0,b.useRef)(null),k=Ot("search-input"),I=s||k,B=`${I}-search`,[D,z]=(0,b.useState)(S||!1),[P,V]=(0,b.useState)(C),H=E()({[`${$}--search`]:!0,[`${$}--search--sm`]:"sm"===N,[`${$}--search--md`]:"md"===N,[`${$}--search--lg`]:"lg"===N,[`${$}--search--light`]:u,[`${$}--search--disabled`]:i,[`${$}--search--fluid`]:O},r),F=E()({[`${$}--search-close`]:!0,[`${$}--search-close--hidden`]:!D||!l});function j(){if(!C&&A.current&&(A.current.value=""),A.current){const e=Object.assign({},A.current,{value:""}),t={bubbles:!1,cancelable:!1,currentTarget:A.current,defaultPrevented:!1,eventPhase:0,isDefaultPrevented:()=>!1,isPropagationStopped:()=>!1,isTrusted:!1,nativeEvent:new Event("change"),persist:Xt,preventDefault:Xt,stopPropagation:Xt,target:e,timeStamp:0,type:"change"};d(t)}f(),z(!1),A.current?.focus()}return C!==P&&(z(!!C),V(C)),y().createElement("div",{role:"search","aria-label":g,className:H},y().createElement("div",{"aria-label":h?"button":void 0,"aria-labelledby":h?B:void 0,role:h?"button":void 0,className:`${$}--search-magnifier`,onClick:h,onKeyDown:function(e){(Et(e,bt)||Et(e,yt))&&(e.stopPropagation(),h&&h(e))},tabIndex:h&&!l?0:-1,ref:M,"aria-expanded":!(!h||!l)||!(h&&!l)&&void 0,"aria-controls":h?I:void 0},y().createElement(Sr,{icon:v})),y().createElement("label",{id:B,htmlFor:I,className:`${$}--label`},c),y().createElement("input",m({autoComplete:n,className:`${$}--search-input`,defaultValue:a,disabled:i,role:w,ref:L,id:I,onChange:zn([d,function(e){z(""!==e.target.value)}]),onKeyDown:zn([p,function(e){Et(e,vt)&&(e.stopPropagation(),A.current?.value?j():h&&l&&M.current?.focus())}]),placeholder:g,type:x,value:C,tabIndex:h&&!l?-1:void 0},R)),y().createElement("button",{"aria-label":o,className:F,disabled:i,onClick:j,title:o,type:"button"},Rr||(Rr=y().createElement(Kt.bm,null))))}));function Sr(e){let{icon:t}=e;const n=_();return t?y().createElement(t,{className:`${n}--search-magnifier-icon`}):y().createElement(Cr,{className:`${n}--search-magnifier-icon`})}_r.displayName="Search",_r.propTypes={autoComplete:g().string,className:g().string,closeButtonLabelText:g().string,defaultValue:g().oneOfType([g().string,g().number]),disabled:g().bool,id:g().string,isExpanded:g().bool,labelText:g().node.isRequired,light:ct(g().bool),onChange:g().func,onClear:g().func,onExpand:g().func,onKeyDown:g().func,placeholder:g().string,renderIcon:g().oneOfType([g().func,g().object]),role:g().string,size:g().oneOf(["sm","md","lg"]),type:g().string,value:g().oneOfType([g().string,g().number])},Sr.propTypes={icon:g().oneOfType([g().func,g().object])};const $r=e=>{let{className:t,...n}=e;const r=_(),o=E()(t,{[`${r}--icon--skeleton`]:!0});return y().createElement("div",m({className:o},n))};$r.propTypes={className:g().string};const Or=e=>{let{align:t="bottom",autoAlign:n,className:r,children:o,definition:a,defaultOpen:i=!1,id:l,openOnHover:s,tooltipText:c,triggerClassName:u,...d}=e;const[f,p]=(0,b.useState)(i),h=_(),g=function(e){const t=Ot();return e??t}(l);return y().createElement(pt,{align:t,className:r,autoAlign:n,dropShadow:!1,highContrast:!0,onMouseLeave:()=>{p(!1)},onMouseEnter:()=>{s&&p(!0)},onFocus:()=>{p(!0)},open:f},y().createElement("button",m({},d,{className:E()(`${h}--definition-term`,u),"aria-controls":g,"aria-expanded":f,onBlur:()=>{p(!1)},onMouseDown:e=>{0===e.button&&p(!f)},onKeyDown:function(e){f&&Et(e,vt)&&(e.stopPropagation(),p(!1))},type:"button"}),o),y().createElement(ht,{className:`${h}--definition-tooltip`,id:g},c??a))};var Ar;Or.propTypes={align:g().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top","top-start","top-end","bottom-start","bottom-end","left-end","left-start","right-end","right-start"]),autoAlign:g().bool,children:g().node.isRequired,className:g().string,defaultOpen:g().bool,definition:g().node.isRequired,id:g().string,openOnHover:g().bool,tooltipText:ct(g().node),triggerClassName:g().string};const Lr={red:"Red",magenta:"Magenta",purple:"Purple",blue:"Blue",cyan:"Cyan",teal:"Teal",green:"Green",gray:"Gray","cool-gray":"Cool-Gray","warm-gray":"Warm-Gray","high-contrast":"High-Contrast",outline:"Outline"},Mr=y().forwardRef(((e,t)=>{let{children:n,className:r,decorator:o,id:a,type:i,filter:l,renderIcon:s,title:c="Clear filter",disabled:u,onClose:d,size:f,as:p,slug:h,...g}=e;const v=_(),w=(0,b.useRef)(null);l&&console.warn("The `filter` prop for Tag has been deprecated and will be removed in the next major version. Use DismissibleTag instead."),d&&console.warn("The `onClose` prop for Tag has been deprecated and will be removed in the next major version. Use DismissibleTag instead.");const N=T([t,w]),x=a||`tag-${Ot()}`,[C,R]=(0,b.useState)(!1);(0,b.useLayoutEffect)((()=>{const e=w.current?.getElementsByClassName(`${v}--tag__label`)[0];var t;R(!!(t=e)&&t?.offsetWidth<t?.scrollWidth)}),[v,w]);const S=[`${v}--tag--selectable`,`${v}--tag--filter`,`${v}--tag--operational`].some((e=>r?.includes(e))),$=E()(`${v}--tag`,r,{[`${v}--tag--disabled`]:u,[`${v}--tag--filter`]:l,[`${v}--tag--${f}`]:f,[`${v}--layout--size-${f}`]:f,[`${v}--tag--${i}`]:i,[`${v}--tag--interactive`]:g.onClick&&!S&&C}),O=void 0!==i&&i in Object.keys(Lr)?Lr[i]:"",A=e=>{d&&(e.stopPropagation(),d(e))};let L=y().isValidElement(h??o)?h??o:null;if(L&&"AILabel"===L.type?.displayName&&!S&&(L=y().cloneElement(L,{size:"sm",kind:"inline"})),l){const e=p??"div";return y().createElement(e,m({className:$,id:x},g),s&&"sm"!==f?y().createElement("div",{className:`${v}--tag__custom-icon`},y().createElement(s,null)):"",y().createElement(qn,{title:"string"==typeof n?n:void 0,className:`${v}--tag__label`},null!=n?n:O),L,y().createElement("button",{type:"button",className:`${v}--tag__close-icon`,onClick:A,disabled:u,"aria-label":c,title:c},Ar||(Ar=y().createElement(Kt.bm,null))))}const M=p??(g.onClick||r?.includes(`${v}--tag--operational`)?"button":"div"),k=E()({[`${v}--tag__label`]:!S});return y().createElement(M,m({ref:N,disabled:u,className:$,id:x,type:"button"===M?"button":void 0},g),s&&"sm"!==f?y().createElement("div",{className:`${v}--tag__custom-icon`},y().createElement(s,null)):"",C&&!S?y().createElement(Or,{openOnHover:!1,definition:null!=n?n:O,className:`${v}--definition--tooltip--tag`},y().createElement(qn,{title:null!=n&&"string"==typeof n?n:O,className:k},null!=n?n:O)):y().createElement(qn,{title:null!=n&&"string"==typeof n?n:O,className:k},null!=n?n:O),h?L:o?y().createElement("div",{className:`${v}--tag__decorator`},L):"")}));var kr,Ir,Br,Dr,zr,Pr;Mr.propTypes={as:g().elementType,children:g().node,className:g().string,decorator:g().node,disabled:g().bool,filter:ct(g().bool),id:g().string,onClose:ct(g().func),renderIcon:g().oneOfType([g().func,g().object]),size:g().oneOf(Object.keys({sm:"sm",md:"md",lg:"lg"})),slug:ct(g().node),title:ct(g().string),type:g().oneOf(Object.keys(Lr))};const Vr=y().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},kr||(kr=y().createElement("path",{d:"M19 21v-2h1v-7h-1v-2h4v2h-1v7h1v2h-4zM15.5005 21h2l-3.5005-11h-3l-3.4966 11h1.9988l.6018-2h4.7781l.6184 2zM10.7058 17l1.6284-5.4111.2559-.0024 1.6736 5.4136h-3.5579z"})),Ir||(Ir=y().createElement("path",{d:"M32,32H0V0h32v32ZM2,30h28V2H2v28Z"})),n)})),Hr=y().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return 16===r||"16"===r||"16px"===r?y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...o},Br||(Br=y().createElement("path",{d:"M9.3 3.7L13.1 7.5 1 7.5 1 8.5 13.1 8.5 9.3 12.3 10 13 15 8 10 3z"})),n):20===r||"20"===r||"20px"===r?y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...o},Dr||(Dr=y().createElement("path",{d:"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z"})),n):24===r||"24"===r||"24px"===r?y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...o},zr||(zr=y().createElement("path",{d:"M14 4L12.9 5.1 18.9 11.2 2 11.2 2 12.8 18.9 12.8 12.9 18.9 14 20 22 12z"})),n):y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},Pr||(Pr=y().createElement("path",{d:"M18 6L16.57 7.393 24.15 15 4 15 4 17 24.15 17 16.57 24.573 18 26 28 16 18 6z"})),n)}));var Fr;const jr=y().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return y().createElement(sn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},Fr||(Fr=y().createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z"})),n)})),qr=y().forwardRef(((e,t)=>{let{as:n,children:r,className:o,href:a,disabled:i=!1,inline:l=!1,visited:s=!1,renderIcon:c,size:u,target:d,...f}=e;const p=_(),h={className:E()(`${p}--link`,o,{[`${p}--link--disabled`]:i,[`${p}--link--inline`]:l,[`${p}--link--visited`]:s,[`${p}--link--${u}`]:u}),rel:"_blank"===d?"noopener":void 0,target:d};i?(h.role="link",h["aria-disabled"]=!0):h.href=a;const g=n??"a";return y().createElement(g,m({ref:t},h,f),r,!l&&c&&y().createElement("div",{className:`${p}--link__icon`},y().createElement(c,null)))}));var Wr,Ur,Zr,Kr;qr.displayName="Link",qr.propTypes={as:g().elementType,children:g().node,className:g().string,disabled:g().bool,href:g().string,inline:g().bool,renderIcon:g().oneOfType([g().func,g().object]),size:g().oneOf(["sm","md","lg"]),visited:g().bool};const Gr=y().forwardRef((function(e,t){let{children:n,className:r,decorator:o,light:a=!1,slug:i,hasRoundedCorners:l=!1,...s}=e;const c=_(),u=E()(`${c}--tile`,{[`${c}--tile--light`]:a,[`${c}--tile--slug`]:i,[`${c}--tile--slug-rounded`]:i&&l,[`${c}--tile--decorator`]:o,[`${c}--tile--decorator-rounded`]:o&&l},r);return y().createElement("div",m({className:u,ref:t},s),n,i,o&&y().createElement("div",{className:`${c}--tile--inner-decorator`},o))}));Gr.displayName="Tile",Gr.propTypes={children:g().node,className:g().string,decorator:g().node,hasRoundedCorners:g().bool,light:ct(g().bool),slug:ct(g().node)};const Yr=y().forwardRef((function(e,t){let{children:n,className:r,clicked:o=!1,decorator:a,disabled:i,href:l,light:s,onClick:c=()=>{},onKeyDown:u=()=>{},renderIcon:d,hasRoundedCorners:f,slug:p,...h}=e;const g=_(),v=E()(`${g}--tile`,`${g}--tile--clickable`,{[`${g}--tile--is-clicked`]:o,[`${g}--tile--light`]:s,[`${g}--tile--slug`]:p,[`${g}--tile--slug-rounded`]:p&&f,[`${g}--tile--decorator`]:a,[`${g}--tile--decorator-rounded`]:a&&f},r),[w,N]=(0,b.useState)(o),x=dt("enable-v12-tile-default-icons");x&&(d||(d=Hr),i&&(d=cn));const C=E()({[`${g}--tile--icon`]:!x||x&&!i,[`${g}--tile--disabled-icon`]:x&&i});return y().createElement(qr,m({className:v,href:l,tabIndex:l||i?void 0:0,onClick:i?void 0:function(e){e?.persist?.(),N(!w),c(e)},onKeyDown:function(e){e?.persist?.(),wt(e,[bt,yt])&&N(!w),u(e)},ref:t,disabled:i},h),p||a?y().createElement("div",{className:`${g}--tile-content`},n):n,(!0===p||!0===a)&&y().createElement(Vr,{size:"24",className:`${g}--tile--ai-label-icon`}),y().isValidElement(a)&&y().createElement("div",{className:`${g}--tile--inner-decorator`},a),d&&y().createElement(d,{className:C,"aria-hidden":"true"}))}));Yr.displayName="ClickableTile",Yr.propTypes={children:g().node,className:g().string,clicked:g().bool,decorator:g().oneOfType([g().bool,g().node]),disabled:g().bool,hasRoundedCorners:g().bool,href:g().string,light:ct(g().bool),onClick:g().func,onKeyDown:g().func,rel:g().string,renderIcon:g().oneOfType([g().func,g().object])},y().forwardRef((function(e,t){let{children:n,className:r,decorator:o,disabled:a,id:i,light:l,onClick:s=()=>{},onChange:c=()=>{},onKeyDown:u=()=>{},selected:d=!1,tabIndex:f=0,title:p="title",slug:h,hasRoundedCorners:g,...v}=e;const w=_(),N=s,x=u,[C,T]=(0,b.useState)(d),[R,S]=(0,b.useState)(d),$=E()(`${w}--tile`,`${w}--tile--selectable`,{[`${w}--tile--is-selected`]:C,[`${w}--tile--light`]:l,[`${w}--tile--disabled`]:a,[`${w}--tile--slug`]:h,[`${w}--tile--slug-rounded`]:h&&g,[`${w}--tile--decorator`]:o,[`${w}--tile--decorator-rounded`]:o&&g},r);d!==R&&(T(d),S(d));const O=(0,b.useRef)(null);let A=y().isValidElement(h??o)?h??o:null;return A&&"AILabel"===A.type?.displayName&&(A=y().cloneElement(A,{size:"xs",ref:O})),y().createElement("div",m({className:$,onClick:a?void 0:function(e){e.preventDefault(),e?.persist?.(),A&&O.current&&O.current.contains(e.target)||(T((t=>{const n=!t;return c(e,n,i),n})),N(e))},role:"checkbox","aria-checked":C,onKeyDown:a?void 0:function(e){e?.persist?.(),wt(e,[bt,yt])&&(e.preventDefault(),T((t=>{const n=!t;return c(e,n,i),n}))),x(e)},tabIndex:a?void 0:f,ref:t,id:i,onChange:a?void 0:function(e){const t=e.target.checked;T(t),c(e,t,i)},title:p},v),y().createElement("span",{className:`${w}--tile__checkmark ${w}--tile__checkmark--persistent`},C?Wr||(Wr=y().createElement(Kt.NW,null)):Ur||(Ur=y().createElement(jr,null))),y().createElement(qn,{as:"label",htmlFor:i,className:`${w}--tile-content`},n),h?A:o?y().createElement("div",{className:`${w}--tile--inner-decorator`},A):"")})).propTypes={children:g().node,className:g().string,decorator:g().node,disabled:g().bool,hasRoundedCorners:g().bool,id:g().string,light:ct(g().bool),name:ct(g().string),onChange:g().func,onClick:g().func,onKeyDown:g().func,selected:g().bool,slug:ct(g().node),tabIndex:g().number,title:g().string,value:ct(g().oneOfType([g().string,g().number]))};const Xr=y().forwardRef((function(e,t){let{tabIndex:n=0,className:r,children:o,decorator:a,expanded:i=!1,tileMaxHeight:l=0,tilePadding:s=0,onClick:c,onKeyUp:u,tileCollapsedIconText:d="Interact to expand Tile",tileExpandedIconText:f="Interact to collapse Tile",tileCollapsedLabel:p,tileExpandedLabel:h,light:g,slug:v,hasRoundedCorners:w,...N}=e;const[x,R]=(0,b.useState)(l),[S,$]=(0,b.useState)(s),[O,A]=(0,b.useState)(i),[L,M]=(0,b.useState)(l),[k,I]=(0,b.useState)(s),[B,D]=(0,b.useState)(i),[z,P]=(0,b.useState)(!0),V=(0,b.useRef)(null),H=(0,b.useRef)(null),F=(0,b.useRef)(null),j=(0,b.useRef)(null),q=(0,b.useRef)(null),W=T([t,q]),U=_();function Z(){B&&j.current&&R(j.current.getBoundingClientRect()?.height),V.current&&R(V.current.getBoundingClientRect().height)}function K(e){e?.persist?.(),D(!B),Z()}function G(e){e.target!==q.current&&e.target!==F.current&&wt(e,[bt,yt])&&e.preventDefault()}i!==O&&(D(i),A(i),Z()),l!==L&&(R(l),M(l)),s!==k&&($(s),I(s));const Y=E()(`${U}--tile`,`${U}--tile--expandable`,{[`${U}--tile--is-expanded`]:B,[`${U}--tile--light`]:g},r),X=E()(`${U}--tile`,`${U}--tile--expandable`,`${U}--tile--expandable--interactive`,{[`${U}--tile--is-expanded`]:B,[`${U}--tile--light`]:g,[`${U}--tile--slug`]:v,[`${U}--tile--slug-rounded`]:v&&w,[`${U}--tile--decorator`]:a,[`${U}--tile--decorator-rounded`]:a&&w},r),J=E()(`${U}--tile__chevron`,`${U}--tile__chevron--interactive`),Q=y().Children.toArray(o);C((()=>{if(!q.current||!V.current)return;const e=window.getComputedStyle(q.current,null),{current:t}=V,{height:n}=t.getBoundingClientRect(),r=parseInt(e.getPropertyValue("padding-top"),10),o=parseInt(e.getPropertyValue("padding-bottom"),10);R(n),$(r+o)}),[x]),C((()=>{V.current&&H.current&&(At(H.current)||Lt(H.current)||At(V.current)||Lt(V.current)||v||a||P(!1))}),[v,a]),C((()=>{q.current&&(q.current.style.maxHeight=B?"":x+S+"px")}),[B,x,S]),(0,b.useEffect)((()=>{if(!V.current)return;const e=new ResizeObserver((e=>{const[t]=e;R(t.contentRect.height)}));return e.observe(V.current),()=>e.disconnect()}),[]);const ee=Ot("expandable-tile-interactive");let te=y().isValidElement(v??a)?v??a:null;return te&&"AILabel"===te.type?.displayName&&(te=y().cloneElement(te,{size:"xs"})),z?y().createElement("div",m({ref:W,className:X},N),y().createElement("div",{ref:j},v?te:a?y().createElement("div",{className:`${U}--tile--inner-decorator`},te):"",y().createElement("div",{ref:V,className:`${U}--tile-content`},Q[0]),y().createElement("button",{type:"button","aria-expanded":B,"aria-controls":ee,onKeyUp:zn([u,G]),onClick:zn([c,K]),"aria-label":B?f:d,ref:F,className:J},Zr||(Zr=y().createElement(Kt.yQ,null))),y().createElement("div",{ref:H,className:`${U}--tile-content`,id:ee},Q[1]))):y().createElement("button",m({type:"button",ref:W,className:Y,"aria-expanded":B,title:B?f:d},N,{onKeyUp:zn([u,G]),onClick:zn([c,K]),tabIndex:n}),y().createElement("div",{ref:j},y().createElement("div",{ref:V,className:`${U}--tile-content`},Q[0]),y().createElement("div",{className:`${U}--tile__chevron`},y().createElement("span",null,B?h:p),Kr||(Kr=y().createElement(Kt.yQ,null))),y().createElement("div",{ref:H,className:`${U}--tile-content`},Q[1])))}));Xr.propTypes={children:g().node,className:g().string,decorator:g().node,expanded:g().bool,hasRoundedCorners:g().bool,id:g().string,light:ct(g().bool),onClick:g().func,onKeyUp:g().func,slug:ct(g().node),tabIndex:g().number,tileCollapsedIconText:g().string,tileCollapsedLabel:g().string,tileExpandedIconText:g().string,tileExpandedLabel:g().string},Xr.displayName="ExpandableTile";const Jr=y().forwardRef((function(e,t){let{children:n}=e;const r=_();return y().createElement("div",{ref:t,className:`${r}--tile-content__above-the-fold`},n)}));Jr.propTypes={children:g().node},Jr.displayName="TileAboveTheFoldContent";const Qr=y().forwardRef((function(e,t){let{children:n}=e;const r=_();return y().createElement("div",{ref:t,className:`${r}--tile-content__below-the-fold`},n)}));Qr.propTypes={children:g().node},Qr.displayName="TileBelowTheFoldContent";const eo=(e=>{const t=Object.keys(e),n=e=>function(t,n,r){for(var o=arguments.length,a=new Array(o>3?o-3:0),i=3;i<o;i++)a[i-3]=arguments[i];return e(t,n,r,...a)};return t.reduce(((t,r)=>({...t,[r]:n(e[r])})),{})})({"aria-label":g().string,"aria-labelledby":g().string}),to=e=>{let{className:t,children:n,...r}=e;const o=_(),a=E()(`${o}--header`,t);return y().createElement("header",m({},r,{className:a}),n)};to.propTypes={...eo,className:g().string};const no=y().forwardRef((function(e,t){let{"aria-label":n,"aria-labelledby":r,children:o,className:a,onClick:i,tooltipHighContrast:l=!0,tooltipDropShadow:s,isActive:c,tooltipAlignment:u,...d}=e;const f=_(),p=E()({[a]:!!a,[`${f}--header__action`]:!0,[`${f}--header__action--active`]:c}),h={"aria-label":n,"aria-labelledby":r};return y().createElement(Vt,m({},d,h,{className:p,onClick:i,type:"button",hasIconOnly:!0,size:"lg",kind:"ghost",iconDescription:n,tooltipPosition:"bottom",tooltipAlignment:u,tooltipDropShadow:s,tooltipHighContrast:l,ref:t}),o)}));no.propTypes={...eo,children:g().node.isRequired,className:g().string,isActive:g().bool,onClick:g().func,tooltipAlignment:g().oneOf(["start","center","end"]),tooltipDropShadow:g().bool,tooltipHighContrast:g().bool},no.displayName="HeaderGlobalAction";const ro=(()=>{let{name:e,className:t,type:n}={name:"HeaderGlobalBar",className:e=>`${e}--header__global`,type:"div"};function r(e){let{className:r,...o}=e;const a=_(),i=E()("function"==typeof t?t(a):t,r);return y().createElement(n,{...o,className:i||void 0})}return r.displayName=e,r.propTypes={className:g().string},r})();var oo,ao,io=n(54535);function lo(e){let{"aria-label":t,"aria-labelledby":n,className:r,renderMenuIcon:o,renderCloseIcon:a,isActive:i,isCollapsible:l,...s}=e;const c=_(),u=E()({..."string"==typeof r&&{[r]:!!r},[`${c}--header__action`]:!0,[`${c}--header__menu-trigger`]:!0,[`${c}--header__action--active`]:i,[`${c}--header__menu-toggle`]:!0,[`${c}--header__menu-toggle__hidden`]:!l}),d=o||oo||(oo=y().createElement(io.DE,{size:20})),f=a||ao||(ao=y().createElement(Kt.bm,{size:20}));return y().createElement("button",m({},s,{"aria-label":t,"aria-labelledby":n,className:u,title:t,type:"button"}),i?f:d)}lo.propTypes={...eo,className:g().string,isActive:g().bool,isCollapsible:g().bool,onClick:g().func};const so=(e,t)=>{let{element:n,as:r,isSideNavExpanded:o,...a}=e;const i=r??n??"a";return y().createElement(i,m({ref:t},a))},co=y().forwardRef(so),uo={as:g().elementType,element:ct(g().elementType),isSideNavExpanded:g().bool};function fo(e){let{children:t,className:n,prefix:r="IBM",...o}=e;const a=_(),i=E()(`${a}--header__name`,n);return y().createElement(co,m({},o,{className:i}),r&&y().createElement(y().Fragment,null,y().createElement("span",{className:`${a}--header__name--prefix`},r)," "),t)}co.displayName="Link",co.propTypes=uo,fo.propTypes={...uo,children:g().node.isRequired,className:g().string,href:g().string,prefix:g().string};const po=["SideNavFooter","SideNavHeader","SideNavItems","SideNavMenu","SideNavLink"];function mo(e){return"".concat(e/16,"rem")}mo(320),mo(672),mo(16);var ho={width:mo(1056),columns:16,margin:mo(16)};mo(1312),mo(16),mo(1584),mo(24);function go(e){return mo(8*e)}go(.25),go(.5),go(1),go(1.5),go(2),go(3),go(4),go(5),go(6),go(8),go(10),go(12),go(20),go(2),go(3),go(4),go(6),go(8),go(12),go(20),go(3),go(4),go(5),go(6),go(8),mo(24),mo(32),mo(40),mo(48),mo(64),mo(80);const bo=(0,b.createContext)({});function vo(e,t){let{expanded:n,defaultExpanded:r=!1,isChildOfHeader:o=!0,"aria-label":a,"aria-labelledby":i,children:l,onToggle:s,className:c,href:u,isFixedNav:d=!1,isRail:f,isPersistent:p=!0,addFocusListeners:h=!0,addMouseListeners:g=!0,onOverlayClick:v,onSideNavBlur:w,enterDelayMs:N=100,...x}=e;const C=_(),{current:R}=(0,b.useRef)(void 0!==n),[$,O]=Nt(r),[A,L]=Nt(r),M=R?n:$,k=(0,b.useRef)(null),I=T([k,t]),B=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:!M;R||O(t,N),s&&s(e,t),(R||f)&&L(t,N)},D={"aria-label":a,"aria-labelledby":i},z=E()(c,{[`${C}--side-nav`]:!0,[`${C}--side-nav--expanded`]:M||A,[`${C}--side-nav--collapsed`]:!M&&d,[`${C}--side-nav--rail`]:f,[`${C}--side-nav--ux`]:o,[`${C}--side-nav--hidden`]:!p}),P=E()({[`${C}--side-nav__overlay`]:!0,[`${C}--side-nav__overlay-active`]:M||A});let V=l;V=y().Children.map(l,(e=>{const t=R&&A||M;if((0,b.isValidElement)(e)){const n=e;return y().cloneElement(n,{...po.includes(n.type?.displayName??n.type?.name)?{isSideNavExpanded:t}:{}})}return e}));const H={};h&&(H.onFocus=e=>{!e.currentTarget.contains(e.relatedTarget)&&f&&B(e,!0)},H.onBlur=e=>{e.currentTarget.contains(e.relatedTarget)||B(e,!1),e.currentTarget.contains(e.relatedTarget)||!M||d||w&&w()},H.onKeyDown=e=>{Et(e,vt)&&(B(e,!1),u&&(window.location.href=u))}),g&&f&&(H.onMouseEnter=()=>{B(!0,!0)},H.onMouseLeave=()=>{O(!1),L(!1),B(!1,!1)},H.onClick=()=>{O(!0),L(!0),B(!0,!0)}),S("keydown",(e=>{const t=document.activeElement;Et(e,gt)&&M&&!d&&k.current&&t?.classList.contains(`${C}--header__menu-toggle`)&&!t.closest("nav")&&k.current.focus()}));const F=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const[n,r]=(0,b.useState)(t);return(0,b.useEffect)((()=>{const t=e=>{r(e.matches)},n=window.matchMedia(e);return n.addEventListener("change",t),r(n.matches),()=>{n.removeEventListener("change",t)}}),[e]),n}(`(min-width: ${ho.width})`);return y().createElement(bo.Provider,{value:{isRail:f}},d?null:y().createElement("div",{className:P,onClick:v}),y().createElement("nav",m({tabIndex:-1,ref:I,className:`${C}--side-nav__navigation ${z}`,inert:f?void 0:!(M||F)},D,H,x),V))}const yo=y().forwardRef(vo);yo.displayName="SideNav",yo.propTypes={...eo,addFocusListeners:g().bool,addMouseListeners:g().bool,className:g().string,defaultExpanded:g().bool,enterDelayMs:g().number,expanded:g().bool,href:g().string,isChildOfHeader:g().bool,isFixedNav:g().bool,isPersistent:g().bool,isRail:g().bool,onOverlayClick:g().func,onSideNavBlur:g().func,onToggle:g().func}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},10540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},14993:(e,t,n)=>{"use strict";n.d(t,{BE:()=>W,Es:()=>$,Ht:()=>Q,PP:()=>V,Tn:()=>s,X3:()=>_,ZH:()=>a,aw:()=>J,b0:()=>l,bZ:()=>m,bu:()=>B,dO:()=>R,lK:()=>L,lg:()=>k,mF:()=>D,mf:()=>S,q9:()=>U,qm:()=>X,qv:()=>i,r9:()=>w,rL:()=>c,sb:()=>F});var r=n(16072);const o=()=>{},a=o(),i=Object,l=e=>e===a,s=e=>"function"==typeof e,c=(e,t)=>({...e,...t}),u=e=>s(e.then),d=new WeakMap;let f=0;const p=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,a;if(i(e)!==e||r||n==RegExp)o=r?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(o=d.get(e),o)return o;if(o=++f+"~",d.set(e,o),n==Array){for(o="@",a=0;a<e.length;a++)o+=p(e[a])+",";d.set(e,o)}if(n==i){o="#";const t=i.keys(e).sort();for(;!l(a=t.pop());)l(e[a])||(o+=a+":"+p(e[a])+",");d.set(e,o)}}return o},m=new WeakMap,h={},g={},b="undefined",v=typeof window!=b,y=typeof document!=b,w=(e,t)=>{const n=m.get(e);return[()=>!l(t)&&e.get(t)||h,r=>{if(!l(t)){const o=e.get(t);t in g||(g[t]=o),n[5](t,c(o,r),o||h)}},n[6],()=>!l(t)&&t in g?g[t]:!l(t)&&e.get(t)||h]};let E=!0;const[N,x]=v&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],C={isOnline:()=>E,isVisible:()=>{const e=y&&document.visibilityState;return l(e)||"hidden"!==e}},T={initFocus:e=>(y&&document.addEventListener("visibilitychange",e),N("focus",e),()=>{y&&document.removeEventListener("visibilitychange",e),x("focus",e)}),initReconnect:e=>{const t=()=>{E=!0,e()},n=()=>{E=!1};return N("online",t),N("offline",n),()=>{x("online",t),x("offline",n)}}},R=!r.useId,_=!v||"Deno"in window,S=e=>v&&typeof window.requestAnimationFrame!=b?window.requestAnimationFrame(e):setTimeout(e,1),$=_?r.useEffect:r.useLayoutEffect,O="undefined"!=typeof navigator&&navigator.connection,A=!_&&O&&(["slow-2g","2g"].includes(O.effectiveType)||O.saveData),L=e=>{if(s(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?p(e):"",t]};let M=0;const k=()=>++M,I=2;var B={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:I,RECONNECT_EVENT:1};async function D(...e){const[t,n,r,o]=e,i=c({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{});let d=i.populateCache;const f=i.rollbackOnError;let p=i.optimisticData;const h=i.throwOnError;if(s(n)){const e=n,r=[],o=t.keys();for(const n of o)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(g))}return g(n);async function g(n){const[o]=L(n);if(!o)return;const[c,g]=w(t,o),[b,v,y,E]=m.get(t),N=()=>{const e=b[o];return(s(i.revalidate)?i.revalidate(c().data,n):!1!==i.revalidate)&&(delete y[o],delete E[o],e&&e[0])?e[0](I).then((()=>c().data)):c().data};if(e.length<3)return N();let x,C=r;const T=k();v[o]=[T,0];const R=!l(p),_=c(),S=_.data,$=_._c,O=l($)?S:$;if(R&&(p=s(p)?p(O,S):p,g({data:p,_c:O})),s(C))try{C=C(O)}catch(e){x=e}if(C&&u(C)){if(C=await C.catch((e=>{x=e})),T!==v[o][0]){if(x)throw x;return C}x&&R&&(e=>"function"==typeof f?f(e):!1!==f)(x)&&(d=!0,g({data:O,_c:a}))}if(d&&!x)if(s(d)){const e=d(C,O);g({data:e,error:a,_c:a})}else g({data:C,error:a,_c:a});if(v[o][1]=k(),Promise.resolve(N()).then((()=>{g({_c:a})})),!x)return C;if(h)throw x}}const z=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},P=(e,t)=>{if(!m.has(e)){const n=c(T,t),r={},i=D.bind(a,e);let l=o;const s={},u=(e,t)=>{const n=s[e]||[];return s[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},d=(t,n,r)=>{e.set(t,n);const o=s[t];if(o)for(const e of o)e(n,r)},f=()=>{if(!m.has(e)&&(m.set(e,[r,{},{},{},i,d,u]),!_)){const t=n.initFocus(setTimeout.bind(a,z.bind(a,r,0))),o=n.initReconnect(setTimeout.bind(a,z.bind(a,r,1)));l=()=>{t&&t(),o&&o(),m.delete(e)}}};return f(),[e,i,f,l]}return[e,m.get(e)[4]]},[V,H]=P(new Map),F=c({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:(e,t,n,r,o)=>{const a=n.errorRetryCount,i=o.retryCount,s=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!l(a)&&i>a||setTimeout(r,s,o)},onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:A?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:A?5e3:3e3,compare:(e,t)=>p(e)==p(t),isPaused:()=>!1,cache:V,mutate:H,fallback:{}},C),j=(e,t)=>{const n=c(e,t);if(t){const{use:r,fallback:o}=e,{use:a,fallback:i}=t;r&&a&&(n.use=r.concat(a)),o&&i&&(n.fallback=c(o,i))}return n},q=(0,r.createContext)({}),W=e=>{const{value:t}=e,n=(0,r.useContext)(q),o=s(t),i=(0,r.useMemo)((()=>o?t(n):t),[o,n,t]),l=(0,r.useMemo)((()=>o?i:j(n,i)),[o,n,i]),u=i&&i.provider,d=(0,r.useRef)(a);u&&!d.current&&(d.current=P(u(l.cache||V),i));const f=d.current;return f&&(l.cache=f[0],l.mutate=f[1]),$((()=>{if(f)return f[2]&&f[2](),f[3]}),[]),(0,r.createElement)(q.Provider,c(e,{value:l}))},U="$inf$",Z=v&&window.__SWR_DEVTOOLS_USE__,K=Z?window.__SWR_DEVTOOLS_USE__:[],G=e=>s(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],Y=K.concat((e=>(t,n,r)=>e(t,n&&((...e)=>{const[r]=L(t),[,,,o]=m.get(V);if(r.startsWith(U))return n(...e);const a=o[r];return l(a)?n(...e):(delete o[r],a)}),r))),X=e=>function(...t){const n=c(F,(0,r.useContext)(q)),[o,a,i]=G(t),l=j(n,i);let s=e;const{use:u}=l,d=(u||[]).concat(Y);for(let e=d.length;e--;)s=d[e](s);return s(o,a||l.fetcher||null,l)},J=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},Q=(e,t)=>(...n)=>{const[r,o,a]=G(n),i=(a.use||[]).concat(t);return e(r,o,{...a,use:i})};Z&&(window.__SWR_DEVTOOLS_REACT__=r)},19888:(e,t,n)=>{"use strict";e.exports=n(58493)},21020:(e,t,n)=>{"use strict";var r=n(16072);Symbol.for("react.element"),Symbol.for("react.fragment"),Object.prototype.hasOwnProperty,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner},22799:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103;n&&Symbol.for("react.portal"),n&&Symbol.for("react.fragment"),n&&Symbol.for("react.strict_mode"),n&&Symbol.for("react.profiler"),n&&Symbol.for("react.provider"),n&&Symbol.for("react.context"),n&&Symbol.for("react.async_mode"),n&&Symbol.for("react.concurrent_mode"),n&&Symbol.for("react.forward_ref"),n&&Symbol.for("react.suspense"),n&&Symbol.for("react.suspense_list"),n&&Symbol.for("react.memo"),n&&Symbol.for("react.lazy"),n&&Symbol.for("react.block"),n&&Symbol.for("react.fundamental"),n&&Symbol.for("react.responder"),n&&Symbol.for("react.scope");t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}},41113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},44363:(e,t,n)=>{"use strict";e.exports=n(22799)},46942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,a(n)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=i(t,n));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},54535:(e,t,n)=>{"use strict";n.d(t,{DE:()=>h,Xj:()=>g,hz:()=>m});var r,o,a,i,l,s,c,u,d=n(16072),f=n.n(d),p=n(60428);const m=f().forwardRef((function(e,t){let{children:n,size:a=16,...i}=e;return 16===a||"16"===a||"16px"===a?f().createElement(p.A,{width:a,height:a,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...i},r||(r=f().createElement("path",{d:"M6 15L6 14 2.7 14 7 9.7 6.3 9 2 13.3 2 10 1 10 1 15zM10 1L10 2 13.3 2 9 6.3 9.7 7 14 2.7 14 6 15 6 15 1z"})),n):f().createElement(p.A,{width:a,height:a,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},o||(o=f().createElement("path",{d:"M20 2L20 4 26.586 4 18 12.582 19.414 14 28 5.414 28 12 30 12 30 2 20 2zM14 19.416L12.592 18 4 26.586 4 20 2 20 2 30 12 30 12 28 5.414 28 14 19.416z"})),n)})),h=f().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return 16===r||"16"===r||"16px"===r?f().createElement(p.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...o},a||(a=f().createElement("path",{d:"M2 12H14V13H2zM2 9H14V10H2zM2 6H14V7H2zM2 3H14V4H2z"})),n):20===r||"20"===r||"20px"===r?f().createElement(p.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...o},i||(i=f().createElement("path",{d:"M2 14.8H18V16H2zM2 11.2H18V12.399999999999999H2zM2 7.6H18V8.799999999999999H2zM2 4H18V5.2H2z"})),n):24===r||"24"===r||"24px"===r?f().createElement(p.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...o},l||(l=f().createElement("path",{d:"M3 18H21V19.5H3zM3 13.5H21V15H3zM3 9H21V10.5H3zM3 4.5H21V6H3z"})),n):f().createElement(p.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},s||(s=f().createElement("path",{d:"M4 6H28V8H4zM4 24H28V26H4zM4 12H28V14H4zM4 18H28V20H4z"})),n)})),g=f().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return 16===r||"16"===r||"16px"===r?f().createElement(p.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...o},c||(c=f().createElement("path",{d:"M2 9L2 10 5.3 10 1 14.3 1.7 15 6 10.7 6 14 7 14 7 9zM14 7L14 6 10.7 6 15 1.7 14.3 1 10 5.3 10 2 9 2 9 7z"})),n):f().createElement(p.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},u||(u=f().createElement("path",{d:"M4 18L4 20 10.586 20 2 28.582 3.414 30 12 21.414 12 28 14 28 14 18 4 18zM30 3.416L28.592 2 20 10.586 20 4 18 4 18 14 28 14 28 12 21.414 12 30 3.416z"})),n)}))},55056:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},58493:(e,t,n)=>{"use strict";var r=n(16072),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,i=r.useEffect,l=r.useLayoutEffect,s=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return l((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),i((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},59184:(e,t,n)=>{"use strict";n.d(t,{NW:()=>x,_j:()=>C,bm:()=>_,c_:()=>R,yQ:()=>T});var r,o,a,i,l,s,c,u,d,f,p,m,h,g,b,v,y,w=n(16072),E=n.n(w),N=n(60428);const x=E().forwardRef((function(e,t){let{children:n,size:a=16,...i}=e;return E().createElement(N.A,{width:a,height:a,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},r||(r=E().createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z"})),o||(o=E().createElement("path",{fill:"none",d:"M14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z","data-icon-path":"inner-path"})),n)})),C=E().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return 16===r||"16"===r||"16px"===r?E().createElement(N.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...o},a||(a=E().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z"})),i||(i=E().createElement("path",{d:"M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z","data-icon-path":"inner-path",opacity:"0"})),n):20===r||"20"===r||"20px"===r?E().createElement(N.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...o},l||(l=E().createElement("path",{d:"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z"})),s||(s=E().createElement("path",{fill:"none",d:"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z","data-icon-path":"inner-path",opacity:"0"})),n):24===r||"24"===r||"24px"===r?E().createElement(N.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...o},c||(c=E().createElement("path",{d:"M12,1C6,1,1,6,1,12s5,11,11,11s11-4.9,11-11S18.1,1,12,1z M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z"})),u||(u=E().createElement("path",{fill:"none",d:"M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z","data-icon-path":"inner-path",opacity:"0"})),n):E().createElement(N.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},d||(d=E().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z"})),f||(f=E().createElement("path",{fill:"none",d:"M14 21.591L9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z","data-icon-path":"inner-path"})),n)})),T=E().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return"glyph"===r||"glyph"===r||"glyphpx"===r?E().createElement(N.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 6",fill:"currentColor",...o},p||(p=E().createElement("path",{d:"M5 6L0 1 0.7 0.3 5 4.6 9.3 0.3 10 1z"})),n):16===r||"16"===r||"16px"===r?E().createElement(N.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...o},m||(m=E().createElement("path",{d:"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z"})),n):E().createElement(N.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},h||(h=E().createElement("path",{d:"M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z"})),n)})),R=E().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return"glyph"===r||"glyph"===r||"glyphpx"===r?E().createElement(N.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 10",fill:"currentColor",...o},g||(g=E().createElement("path",{d:"M6 5L1 10 0.3 9.3 4.6 5 0.3 0.7 1 0z"})),n):16===r||"16"===r||"16px"===r?E().createElement(N.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...o},b||(b=E().createElement("path",{d:"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z"})),n):E().createElement(N.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},v||(v=E().createElement("path",{d:"M22 16L12 26 10.6 24.6 19.2 16 10.6 7.4 12 6z"})),n)})),_=E().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return E().createElement(N.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},y||(y=E().createElement("path",{d:"M17.4141 16L24 9.4141 22.5859 8 16 14.5859 9.4143 8 8 9.4141 14.5859 16 8 22.5859 9.4143 24 16 17.4141 22.5859 24 24 22.5859 17.4141 16z"})),n)}))},59324:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,BE:()=>s});var r=n(16072),o=n(19888),a=n(14993);const i=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),l={dedupe:!0},s=a.qv.defineProperty(a.BE,"defaultValue",{value:a.sb}),c=(0,a.qm)(((e,t,n)=>{const{cache:s,compare:c,suspense:u,fallbackData:d,revalidateOnMount:f,revalidateIfStale:p,refreshInterval:m,refreshWhenHidden:h,refreshWhenOffline:g,keepPreviousData:b}=n,[v,y,w,E]=a.bZ.get(s),[N,x]=(0,a.lK)(e),C=(0,r.useRef)(!1),T=(0,r.useRef)(!1),R=(0,r.useRef)(N),_=(0,r.useRef)(t),S=(0,r.useRef)(n),$=()=>S.current,O=()=>$().isVisible()&&$().isOnline(),[A,L,M,k]=(0,a.r9)(s,N),I=(0,r.useRef)({}).current,B=(0,a.b0)(d)?n.fallback[N]:d,D=(e,t)=>{for(const n in I){const r=n;if("data"===r){if(!c(e[r],t[r])){if(!(0,a.b0)(e[r]))return!1;if(!c(U,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},z=(0,r.useMemo)((()=>{const e=!!N&&!!t&&((0,a.b0)(f)?!$().isPaused()&&!u&&(!!(0,a.b0)(p)||p):f),n=t=>{const n=(0,a.rL)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=A(),o=k(),i=n(r),l=r===o?i:n(o);let s=i;return[()=>{const e=n(A());return D(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>l]}),[s,N]),P=(0,o.useSyncExternalStore)((0,r.useCallback)((e=>M(N,((t,n)=>{D(n,t)||e()}))),[s,N]),z[0],z[1]),V=!C.current,H=v[N]&&v[N].length>0,F=P.data,j=(0,a.b0)(F)?B:F,q=P.error,W=(0,r.useRef)(j),U=b?(0,a.b0)(F)?W.current:F:j,Z=!(H&&!(0,a.b0)(q))&&(V&&!(0,a.b0)(f)?f:!$().isPaused()&&(u?!(0,a.b0)(j)&&p:(0,a.b0)(j)||p)),K=!!(N&&t&&V&&Z),G=(0,a.b0)(P.isValidating)?K:P.isValidating,Y=(0,a.b0)(P.isLoading)?K:P.isLoading,X=(0,r.useCallback)((async e=>{const t=_.current;if(!N||!t||T.current||$().isPaused())return!1;let r,o,i=!0;const l=e||{},s=!w[N]||!l.dedupe,u=()=>a.dO?!T.current&&N===R.current&&C.current:N===R.current,d={isValidating:!1,isLoading:!1},f=()=>{L(d)},p=()=>{const e=w[N];e&&e[1]===o&&delete w[N]},m={isValidating:!0};(0,a.b0)(A().data)&&(m.isLoading=!0);try{if(s&&(L(m),n.loadingTimeout&&(0,a.b0)(A().data)&&setTimeout((()=>{i&&u()&&$().onLoadingSlow(N,n)}),n.loadingTimeout),w[N]=[t(x),(0,a.lg)()]),[r,o]=w[N],r=await r,s&&setTimeout(p,n.dedupingInterval),!w[N]||w[N][1]!==o)return s&&u()&&$().onDiscarded(N),!1;d.error=a.ZH;const e=y[N];if(!(0,a.b0)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return f(),s&&u()&&$().onDiscarded(N),!1;const l=A().data;d.data=c(l,r)?l:r,s&&u()&&$().onSuccess(r,N,n)}catch(e){p();const t=$(),{shouldRetryOnError:n}=t;t.isPaused()||(d.error=e,s&&u()&&(t.onError(e,N,t),(!0===n||(0,a.Tn)(n)&&n(e))&&($().revalidateOnFocus&&$().revalidateOnReconnect&&!O()||t.onErrorRetry(e,N,t,(e=>{const t=v[N];t&&t[0]&&t[0](a.bu.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(l.retryCount||0)+1,dedupe:!0}))))}return i=!1,f(),!0}),[N,s]),J=(0,r.useCallback)(((...e)=>(0,a.mF)(s,R.current,...e)),[]);if((0,a.Es)((()=>{_.current=t,S.current=n,(0,a.b0)(F)||(W.current=F)})),(0,a.Es)((()=>{if(!N)return;const e=X.bind(a.ZH,l);let t=0;const n=(0,a.aw)(N,v,((n,r={})=>{if(n==a.bu.FOCUS_EVENT){const n=Date.now();$().revalidateOnFocus&&n>t&&O()&&(t=n+$().focusThrottleInterval,e())}else if(n==a.bu.RECONNECT_EVENT)$().revalidateOnReconnect&&O()&&e();else{if(n==a.bu.MUTATE_EVENT)return X();if(n==a.bu.ERROR_REVALIDATE_EVENT)return X(r)}}));return T.current=!1,R.current=N,C.current=!0,L({_k:x}),Z&&((0,a.b0)(j)||a.X3?e():(0,a.mf)(e)),()=>{T.current=!0,n()}}),[N]),(0,a.Es)((()=>{let e;function t(){const t=(0,a.Tn)(m)?m(A().data):m;t&&-1!==e&&(e=setTimeout(n,t))}function n(){A().error||!h&&!$().isVisible()||!g&&!$().isOnline()?t():X(l).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[m,h,g,N]),(0,r.useDebugValue)(U),u&&(0,a.b0)(j)&&N){if(!a.dO&&a.X3)throw new Error("Fallback data is required when using suspense in SSR.");_.current=t,S.current=n,T.current=!1;const e=E[N];if(!(0,a.b0)(e)){const t=J(e);i(t)}if(!(0,a.b0)(q))throw q;{const e=X(l);(0,a.b0)(U)||(e.status="fulfilled",e.value=!0),i(e)}}return{mutate:J,get data(){return I.data=!0,U},get error(){return I.error=!0,q},get isValidating(){return I.isValidating=!0,G},get isLoading(){return I.isLoading=!0,Y}}}))},60428:(e,t,n)=>{"use strict";function r(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);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 o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{A:()=>m});var l=["width","height","viewBox"],s=["tabindex"],c={focusable:"false",preserveAspectRatio:"xMidYMid meet"};var u=n(5556),d=n.n(u),f=n(16072),p=n.n(f);const m=p().forwardRef((function(e,t){let{className:n,children:r,tabIndex:o,xmlns:u="http://www.w3.org/2000/svg",preserveAspectRatio:d="xMidYMid meet",...f}=e;const{tabindex:m,...h}=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,n=e.height,r=e.viewBox,o=void 0===r?"0 0 ".concat(t," ").concat(n):r,u=i(e,l),d=u.tabindex,f=i(u,s),p=a(a(a({},c),f),{},{width:t,height:n,viewBox:o});return p["aria-label"]||p["aria-labelledby"]||p.title?(p.role="img",null!=d&&(p.focusable="true",p.tabindex=d)):p["aria-hidden"]=!0,p}({...f,tabindex:o}),g=h;return n&&(g.className=n),null!=m&&(g.tabIndex="number"==typeof m?m:Number(o)),t&&(g.ref=t),u&&(g.xmlns=u),d&&(g.preserveAspectRatio=d),p().createElement("svg",g,r)}));m.displayName="Icon",m.propTypes={"aria-hidden":d().oneOfType([d().bool,d().oneOf(["true","false"])]),"aria-label":d().string,"aria-labelledby":d().string,children:d().node,className:d().string,height:d().oneOfType([d().number,d().string]),preserveAspectRatio:d().string,tabIndex:d().oneOfType([d().number,d().string]),viewBox:d().string,width:d().oneOfType([d().number,d().string]),xmlns:d().string}},70159:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);r&&o[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},72996:e=>{"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=function(e){var n,r,o=(r=4,function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}}(n,r)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(n,r)||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.")}()),a=o[1],i=o[3];if(!i)return a;if("function"==typeof btoa){var l=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),c="/*# ".concat(s," */"),u=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[a].concat(u).concat([c]).join("\n")}return[a].join("\n")}},74848:(e,t,n)=>{"use strict";n(21020)},77659:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},85072:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},i=[],l=0;l<e.length;l++){var s=e[l],c=r.base?s[0]+r.base:s[0],u=a[c]||0,d="".concat(c," ").concat(u);a[c]=u+1;var f=n(d),p={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var m=o(p,r);r.byIndex=l,t.splice(l,0,{identifier:d,updater:m,references:1})}i.push(d)}return i}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var l=n(a[i]);t[l].references--}for(var s=r(e,o),c=0;c<a.length;c++){var u=n(a[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=s}}},97825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}}}]);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
Copyright (c) 2018 Jed Watson.
|
|
3
|
+
Licensed under the MIT License (MIT), see
|
|
4
|
+
http://jedwatson.github.io/classnames
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/*!
|
|
8
|
+
* tabbable 6.2.0
|
|
9
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @license React
|
|
14
|
+
* react-jsx-runtime.production.min.js
|
|
15
|
+
*
|
|
16
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
17
|
+
*
|
|
18
|
+
* This source code is licensed under the MIT license found in the
|
|
19
|
+
* LICENSE file in the root directory of this source tree.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @license React
|
|
24
|
+
* use-sync-external-store-shim.production.js
|
|
25
|
+
*
|
|
26
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
27
|
+
*
|
|
28
|
+
* This source code is licensed under the MIT license found in the
|
|
29
|
+
* LICENSE file in the root directory of this source tree.
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
/** @license React v16.13.1
|
|
33
|
+
* react-is.production.min.js
|
|
34
|
+
*
|
|
35
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
36
|
+
*
|
|
37
|
+
* This source code is licensed under the MIT license found in the
|
|
38
|
+
* LICENSE file in the root directory of this source tree.
|
|
39
|
+
*/
|