@spfx-extensions/package 1.4.17 → 1.4.19
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/config/package-solution.json +2 -2
- package/config/serve.json +1 -1
- package/dist/8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.manifest.json +2 -2
- package/dist/d6ca1fc2-0591-4c6d-8a25-cae3262c017b.manifest.json +2 -2
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/Extension_8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.xml +1 -1
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/WebPart_d6ca1fc2-0591-4c6d-8a25-cae3262c017b.xml +1 -1
- package/dist/debug/AppManifest.xml +1 -1
- package/dist/debug/ClientSideAssets/{spfx-extension-application-customizer_b581c8ababb3f0a60f0f.js → spfx-extension-application-customizer_7877a22a7a80deecfb68.js} +1 -1
- package/dist/debug/ClientSideAssets/spfx-extension-core.js +1 -1
- package/dist/debug/ClientSideAssets/spfx-extension-coreconfigurator.js +65 -63
- package/dist/{spfx-extension-loader_0f561cec7fb720b81f80.js → debug/ClientSideAssets/spfx-extension-loader_a0d23da51f784ed5bf85.js} +1 -1
- package/dist/{spfx-extensionloader-web-part_28c32d069e6020bb0978.js → debug/ClientSideAssets/spfx-extensionloader-web-part_0fd44bac09f301704429.js} +1 -1
- package/dist/debug/ClientSideAssets.xml +1 -1
- package/dist/debug/ClientSideAssets.xml.config.xml +1 -1
- package/dist/debug/_rels/ClientSideAssets.xml.rels +1 -1
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml +1 -1
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml.config.xml +1 -1
- package/dist/deploy/sp-fx-extensions.sppkg +0 -0
- package/dist/{spfx-extension-application-customizer_b581c8ababb3f0a60f0f.js → spfx-extension-application-customizer_7877a22a7a80deecfb68.js} +1 -1
- package/dist/spfx-extension-core.js +1 -1
- package/dist/spfx-extension-coreconfigurator.js +65 -63
- package/dist/{debug/ClientSideAssets/spfx-extension-loader_0f561cec7fb720b81f80.js → spfx-extension-loader_a0d23da51f784ed5bf85.js} +1 -1
- package/dist/{debug/ClientSideAssets/spfx-extensionloader-web-part_28c32d069e6020bb0978.js → spfx-extensionloader-web-part_0fd44bac09f301704429.js} +1 -1
- package/package.json +3 -2
- package/src/extensions/spfxExtension/SpfxExtensionApplicationCustomizer.ts +1 -1
- package/src/webparts/spfxExtensionloader/SpfxExtensionloaderWebPart.ts +119 -75
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
var JL=Object.create;var{getPrototypeOf:$L,defineProperty:EZ,getOwnPropertyNames:XL}=Object;var YL=Object.prototype.hasOwnProperty;var Q4=(a,l,c)=>{c=a!=null?JL($L(a)):{};let e=l||!a||!a.__esModule?EZ(c,"default",{value:a,enumerable:!0}):c;for(let h of XL(a))if(!YL.call(e,h))EZ(e,h,{get:()=>a[h],enumerable:!0});return e};var K2=(a,l)=>()=>(l||a((l={exports:{}}).exports,l),l.exports);var yc=(a,l)=>{for(var c in l)EZ(a,c,{get:l[c],enumerable:!0,configurable:!0,set:(e)=>l[c]=()=>e})};var GZ=(a,l)=>()=>(a&&(l=a(a=0)),l);function Q2(a,l){for(var c in l)a[c]=l[c];return a}function $Z(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function q(a,l,c){var e,h,Z,o={};for(Z in l)Z=="key"?e=l[Z]:Z=="ref"?h=l[Z]:o[Z]=l[Z];if(arguments.length>2&&(o.children=arguments.length>3?k8.call(arguments,2):c),typeof a=="function"&&a.defaultProps!=null)for(Z in a.defaultProps)o[Z]==null&&(o[Z]=a.defaultProps[Z]);return D8(a,o,e,h,null)}function D8(a,l,c,e,h){var Z={type:a,props:l,key:c,ref:e,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:h==null?++Nm:h,__i:-1,__u:0};return h==null&&d1.vnode!=null&&d1.vnode(Z),Z}function Z5(){return{current:null}}function n1(a){return a.children}function h5(a,l){this.props=a,this.context=l}function J4(a,l){if(l==null)return a.__?J4(a.__,a.__i+1):null;for(var c;l<a.__k.length;l++)if((c=a.__k[l])!=null&&c.__e!=null)return c.__e;return typeof a.type=="function"?J4(a):null}function eM(a){var l,c;if((a=a.__)!=null&&a.__c!=null){for(a.__e=a.__c.base=null,l=0;l<a.__k.length;l++)if((c=a.__k[l])!=null&&c.__e!=null){a.__e=a.__c.base=c.__e;break}return eM(a)}}function KZ(a){(!a.__d&&(a.__d=!0)&&U7.push(a)&&!Uc.__r++||$m!=d1.debounceRendering)&&(($m=d1.debounceRendering)||jm)(Uc)}function Uc(){for(var a,l,c,e,h,Z,o,r=1;U7.length;)U7.length>r&&U7.sort(_m),a=U7.shift(),r=U7.length,a.__d&&(c=void 0,h=(e=(l=a).__v).__e,Z=[],o=[],l.__P&&((c=Q2({},e)).__v=e.__v+1,d1.vnode&&d1.vnode(c),XZ(l.__P,c,e,l.__n,l.__P.namespaceURI,32&e.__u?[h]:null,Z,h==null?J4(e):h,!!(32&e.__u),o),c.__v=e.__v,c.__.__k[c.__i]=c,oM(Z,c,o),c.__e!=h&&eM(c)));Uc.__r=0}function hM(a,l,c,e,h,Z,o,r,v,t,M){var m,H,i,n,A,u,d=e&&e.__k||cM,C=l.length;for(v=jL(c,l,d,v,C),m=0;m<C;m++)(i=c.__k[m])!=null&&(H=i.__i==-1?w8:d[i.__i]||w8,i.__i=m,u=XZ(a,i,H,h,Z,o,r,v,t,M),n=i.__e,i.ref&&H.ref!=i.ref&&(H.ref&&YZ(H.ref,null,i),M.push(i.ref,i.__c||n,i)),A==null&&n!=null&&(A=n),4&i.__u||H.__k===i.__k?v=ZM(i,v,a):typeof i.type=="function"&&u!==void 0?v=u:n&&(v=n.nextSibling),i.__u&=-7);return c.__e=A,v}function jL(a,l,c,e,h){var Z,o,r,v,t,M=c.length,m=M,H=0;for(a.__k=new Array(h),Z=0;Z<h;Z++)(o=l[Z])!=null&&typeof o!="boolean"&&typeof o!="function"?(v=Z+H,(o=a.__k[Z]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?D8(null,o,null,null,null):S8(o)?D8(n1,{children:o},null,null,null):o.constructor==null&&o.__b>0?D8(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=a,o.__b=a.__b+1,r=null,(t=o.__i=_L(o,c,v,m))!=-1&&(m--,(r=c[t])&&(r.__u|=2)),r==null||r.__v==null?(t==-1&&(h>M?H--:h<M&&H++),typeof o.type!="function"&&(o.__u|=4)):t!=v&&(t==v-1?H--:t==v+1?H++:(t>v?H--:H++,o.__u|=4))):a.__k[Z]=null;if(m)for(Z=0;Z<M;Z++)(r=c[Z])!=null&&(2&r.__u)==0&&(r.__e==e&&(e=J4(r)),vM(r,r));return e}function ZM(a,l,c){var e,h;if(typeof a.type=="function"){for(e=a.__k,h=0;e&&h<e.length;h++)e[h]&&(e[h].__=a,l=ZM(e[h],l,c));return l}a.__e!=l&&(l&&a.type&&!c.contains(l)&&(l=J4(a)),c.insertBefore(a.__e,l||null),l=a.__e);do l=l&&l.nextSibling;while(l!=null&&l.nodeType==8);return l}function J2(a,l){return l=l||[],a==null||typeof a=="boolean"||(S8(a)?a.some(function(c){J2(c,l)}):l.push(a)),l}function _L(a,l,c,e){var h,Z,o=a.key,r=a.type,v=l[c];if(v===null&&a.key==null||v&&o==v.key&&r==v.type&&(2&v.__u)==0)return c;if(e>(v!=null&&(2&v.__u)==0?1:0))for(h=c-1,Z=c+1;h>=0||Z<l.length;){if(h>=0){if((v=l[h])&&(2&v.__u)==0&&o==v.key&&r==v.type)return h;h--}if(Z<l.length){if((v=l[Z])&&(2&v.__u)==0&&o==v.key&&r==v.type)return Z;Z++}}return-1}function Xm(a,l,c){l[0]=="-"?a.setProperty(l,c==null?"":c):a[l]=c==null?"":typeof c!="number"||NL.test(l)?c:c+"px"}function Ic(a,l,c,e,h){var Z;a:if(l=="style")if(typeof c=="string")a.style.cssText=c;else{if(typeof e=="string"&&(a.style.cssText=e=""),e)for(l in e)c&&l in c||Xm(a.style,l,"");if(c)for(l in c)e&&c[l]==e[l]||Xm(a.style,l,c[l])}else if(l[0]=="o"&&l[1]=="n")Z=l!=(l=l.replace(aM,"$1")),l=l.toLowerCase()in a||l=="onFocusOut"||l=="onFocusIn"?l.toLowerCase().slice(2):l.slice(2),a.l||(a.l={}),a.l[l+Z]=c,c?e?c.u=e.u:(c.u=JZ,a.addEventListener(l,Z?zZ:qZ,Z)):a.removeEventListener(l,Z?zZ:qZ,Z);else{if(h=="http://www.w3.org/2000/svg")l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(l!="width"&&l!="height"&&l!="href"&&l!="list"&&l!="form"&&l!="tabIndex"&&l!="download"&&l!="rowSpan"&&l!="colSpan"&&l!="role"&&l!="popover"&&l in a)try{a[l]=c==null?"":c;break a}catch(o){}typeof c=="function"||(c==null||c===!1&&l[4]!="-"?a.removeAttribute(l):a.setAttribute(l,l=="popover"&&c==1?"":c))}}function Ym(a){return function(l){if(this.l){var c=this.l[l.type+a];if(l.t==null)l.t=JZ++;else if(l.t<c.u)return;return c(d1.event?d1.event(l):l)}}}function XZ(a,l,c,e,h,Z,o,r,v,t){var M,m,H,i,n,A,u,d,C,L,F,R,f,x,O,I,o1,r1=l.type;if(l.constructor!=null)return null;128&c.__u&&(v=!!(32&c.__u),Z=[r=l.__e=c.__e]),(M=d1.__b)&&M(l);a:if(typeof r1=="function")try{if(d=l.props,C="prototype"in r1&&r1.prototype.render,L=(M=r1.contextType)&&e[M.__c],F=M?L?L.props.value:M.__:e,c.__c?u=(m=l.__c=c.__c).__=m.__E:(C?l.__c=m=new r1(d,F):(l.__c=m=new h5(d,F),m.constructor=r1,m.render=lF),L&&L.sub(m),m.props=d,m.state||(m.state={}),m.context=F,m.__n=e,H=m.__d=!0,m.__h=[],m._sb=[]),C&&m.__s==null&&(m.__s=m.state),C&&r1.getDerivedStateFromProps!=null&&(m.__s==m.state&&(m.__s=Q2({},m.__s)),Q2(m.__s,r1.getDerivedStateFromProps(d,m.__s))),i=m.props,n=m.state,m.__v=l,H)C&&r1.getDerivedStateFromProps==null&&m.componentWillMount!=null&&m.componentWillMount(),C&&m.componentDidMount!=null&&m.__h.push(m.componentDidMount);else{if(C&&r1.getDerivedStateFromProps==null&&d!==i&&m.componentWillReceiveProps!=null&&m.componentWillReceiveProps(d,F),!m.__e&&m.shouldComponentUpdate!=null&&m.shouldComponentUpdate(d,m.__s,F)===!1||l.__v==c.__v){for(l.__v!=c.__v&&(m.props=d,m.state=m.__s,m.__d=!1),l.__e=c.__e,l.__k=c.__k,l.__k.some(function(j){j&&(j.__=l)}),R=0;R<m._sb.length;R++)m.__h.push(m._sb[R]);m._sb=[],m.__h.length&&o.push(m);break a}m.componentWillUpdate!=null&&m.componentWillUpdate(d,m.__s,F),C&&m.componentDidUpdate!=null&&m.__h.push(function(){m.componentDidUpdate(i,n,A)})}if(m.context=F,m.props=d,m.__P=a,m.__e=!1,f=d1.__r,x=0,C){for(m.state=m.__s,m.__d=!1,f&&f(l),M=m.render(m.props,m.state,m.context),O=0;O<m._sb.length;O++)m.__h.push(m._sb[O]);m._sb=[]}else do m.__d=!1,f&&f(l),M=m.render(m.props,m.state,m.context),m.state=m.__s;while(m.__d&&++x<25);m.state=m.__s,m.getChildContext!=null&&(e=Q2(Q2({},e),m.getChildContext())),C&&!H&&m.getSnapshotBeforeUpdate!=null&&(A=m.getSnapshotBeforeUpdate(i,n)),I=M,M!=null&&M.type===n1&&M.key==null&&(I=rM(M.props.children)),r=hM(a,S8(I)?I:[I],l,c,e,h,Z,o,r,v,t),m.base=l.__e,l.__u&=-161,m.__h.length&&o.push(m),u&&(m.__E=m.__=null)}catch(j){if(l.__v=null,v||Z!=null)if(j.then){for(l.__u|=v?160:128;r&&r.nodeType==8&&r.nextSibling;)r=r.nextSibling;Z[Z.indexOf(r)]=null,l.__e=r}else for(o1=Z.length;o1--;)$Z(Z[o1]);else l.__e=c.__e,l.__k=c.__k;d1.__e(j,l,c)}else Z==null&&l.__v==c.__v?(l.__k=c.__k,l.__e=c.__e):r=l.__e=aF(c.__e,l,c,e,h,Z,o,v,t);return(M=d1.diffed)&&M(l),128&l.__u?void 0:r}function oM(a,l,c){for(var e=0;e<c.length;e++)YZ(c[e],c[++e],c[++e]);d1.__c&&d1.__c(l,a),a.some(function(h){try{a=h.__h,h.__h=[],a.some(function(Z){Z.call(h)})}catch(Z){d1.__e(Z,h.__v)}})}function rM(a){return typeof a!="object"||a==null||a.__b&&a.__b>0?a:S8(a)?a.map(rM):Q2({},a)}function aF(a,l,c,e,h,Z,o,r,v){var t,M,m,H,i,n,A,u=c.props,d=l.props,C=l.type;if(C=="svg"?h="http://www.w3.org/2000/svg":C=="math"?h="http://www.w3.org/1998/Math/MathML":h||(h="http://www.w3.org/1999/xhtml"),Z!=null){for(t=0;t<Z.length;t++)if((i=Z[t])&&"setAttribute"in i==!!C&&(C?i.localName==C:i.nodeType==3)){a=i,Z[t]=null;break}}if(a==null){if(C==null)return document.createTextNode(d);a=document.createElementNS(h,C,d.is&&d),r&&(d1.__m&&d1.__m(l,Z),r=!1),Z=null}if(C==null)u===d||r&&a.data==d||(a.data=d);else{if(Z=Z&&k8.call(a.childNodes),u=c.props||w8,!r&&Z!=null)for(u={},t=0;t<a.attributes.length;t++)u[(i=a.attributes[t]).name]=i.value;for(t in u)if(i=u[t],t=="children");else if(t=="dangerouslySetInnerHTML")m=i;else if(!(t in d)){if(t=="value"&&"defaultValue"in d||t=="checked"&&"defaultChecked"in d)continue;Ic(a,t,null,i,h)}for(t in d)i=d[t],t=="children"?H=i:t=="dangerouslySetInnerHTML"?M=i:t=="value"?n=i:t=="checked"?A=i:r&&typeof i!="function"||u[t]===i||Ic(a,t,i,u[t],h);if(M)r||m&&(M.__html==m.__html||M.__html==a.innerHTML)||(a.innerHTML=M.__html),l.__k=[];else if(m&&(a.innerHTML=""),hM(l.type=="template"?a.content:a,S8(H)?H:[H],l,c,e,C=="foreignObject"?"http://www.w3.org/1999/xhtml":h,Z,o,Z?Z[0]:c.__k&&J4(c,0),r,v),Z!=null)for(t=Z.length;t--;)$Z(Z[t]);r||(t="value",C=="progress"&&n==null?a.removeAttribute("value"):n!=null&&(n!==a[t]||C=="progress"&&!n||C=="option"&&n!=u[t])&&Ic(a,t,n,u[t],h),t="checked",A!=null&&A!=a[t]&&Ic(a,t,A,u[t],h))}return a}function YZ(a,l,c){try{if(typeof a=="function"){var e=typeof a.__u=="function";e&&a.__u(),e&&l==null||(a.__u=a(l))}else a.current=l}catch(h){d1.__e(h,c)}}function vM(a,l,c){var e,h;if(d1.unmount&&d1.unmount(a),(e=a.ref)&&(e.current&&e.current!=a.__e||YZ(e,null,l)),(e=a.__c)!=null){if(e.componentWillUnmount)try{e.componentWillUnmount()}catch(Z){d1.__e(Z,l)}e.base=e.__P=null}if(e=a.__k)for(h=0;h<e.length;h++)e[h]&&vM(e[h],l,c||typeof a.type!="function");c||$Z(a.__e),a.__c=a.__=a.__e=void 0}function lF(a,l,c){return this.constructor(a,c)}function $4(a,l,c){var e,h,Z,o;l==document&&(l=document.documentElement),d1.__&&d1.__(a,l),h=(e=typeof c=="function")?null:c&&c.__k||l.__k,Z=[],o=[],XZ(l,a=(!e&&c||l).__k=q(n1,null,[a]),h||w8,w8,l.namespaceURI,!e&&c?[c]:h?null:l.firstChild?k8.call(l.childNodes):null,Z,!e&&c?c:h?h.__e:l.firstChild,e,o),oM(Z,a,o)}function NZ(a,l){$4(a,l,NZ)}function tM(a,l,c){var e,h,Z,o,r=Q2({},a.props);for(Z in a.type&&a.type.defaultProps&&(o=a.type.defaultProps),l)Z=="key"?e=l[Z]:Z=="ref"?h=l[Z]:r[Z]=l[Z]==null&&o!=null?o[Z]:l[Z];return arguments.length>2&&(r.children=arguments.length>3?k8.call(arguments,2):c),D8(a.type,r,e||a.key,h||a.ref,null)}function J(a){function l(c){var e,h;return this.getChildContext||(e=/*@__PURE__*/new Set,(h={})[l.__c]=this,this.getChildContext=function(){return h},this.componentWillUnmount=function(){e=null},this.shouldComponentUpdate=function(Z){this.props.value!=Z.value&&e.forEach(function(o){o.__e=!0,KZ(o)})},this.sub=function(Z){e.add(Z);var o=Z.componentWillUnmount;Z.componentWillUnmount=function(){e&&e.delete(Z),o&&o.call(Z)}}),c.children}return l.__c="__cC"+lM++,l.__=a,l.Provider=l.__l=(l.Consumer=function(c,e){return c.children(e)}).contextType=l,l}var k8,d1,Nm,QZ,U7,$m,jm,_m,aM,JZ,qZ,zZ,lM,w8,cM,NL,S8;var E7=GZ(()=>{w8={},cM=[],NL=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,S8=Array.isArray;k8=cM.slice,d1={__e:function(a,l,c,e){for(var h,Z,o;l=l.__;)if((h=l.__c)&&!h.__)try{if((Z=h.constructor)&&Z.getDerivedStateFromError!=null&&(h.setState(Z.getDerivedStateFromError(a)),o=h.__d),h.componentDidCatch!=null&&(h.componentDidCatch(a,e||{}),o=h.__d),o)return h.__E=h}catch(r){a=r}throw a}},Nm=0,QZ=function(a){return a!=null&&a.constructor==null},h5.prototype.setState=function(a,l){var c;c=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=Q2({},this.state),typeof a=="function"&&(a=a(Q2({},c),this.props)),a&&Q2(c,a),a!=null&&this.__v&&(l&&this._sb.push(l),KZ(this))},h5.prototype.forceUpdate=function(a){this.__v&&(this.__e=!0,a&&this.__h.push(a),KZ(this))},h5.prototype.render=n1,U7=[],jm=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_m=function(a,l){return a.__v.__b-l.__v.__b},Uc.__r=0,aM=/(PointerCapture)$|Capture$/i,JZ=0,qZ=Ym(!1),zZ=Ym(!0),lM=0});function G7(a,l){r0.__h&&r0.__h(X1,a,X4||l),X4=0;var c=X1.__H||(X1.__H={__:[],__h:[]});return a>=c.__.length&&c.__.push({}),c.__[a]}function m1(a){return X4=1,K5(CM,a)}function K5(a,l,c){var e=G7(C3++,2);if(e.t=a,!e.__c&&(e.__=[c?c(l):CM(void 0,l),function(r){var v=e.__N?e.__N[0]:e.__[0],t=e.t(v,r);v!==t&&(e.__N=[t,e.__[1]],e.__c.setState({}))}],e.__c=X1,!X1.__f)){var h=function(r,v,t){if(!e.__c.__H)return!0;var M=e.__c.__H.__.filter(function(H){return!!H.__c});if(M.every(function(H){return!H.__N}))return!Z||Z.call(this,r,v,t);var m=e.__c.props!==r;return M.forEach(function(H){if(H.__N){var i=H.__[0];H.__=H.__N,H.__N=void 0,i!==H.__[0]&&(m=!0)}}),Z&&Z.call(this,r,v,t)||m};X1.__f=!0;var{shouldComponentUpdate:Z,componentWillUpdate:o}=X1;X1.componentWillUpdate=function(r,v,t){if(this.__e){var M=Z;Z=void 0,h(r,v,t),Z=M}o&&o.call(this,r,v,t)},X1.shouldComponentUpdate=h}return e.__N||e.__}function t1(a,l){var c=G7(C3++,3);!r0.__s&&ao(c.__H,l)&&(c.__=a,c.u=l,X1.__H.__h.push(c))}function H2(a,l){var c=G7(C3++,4);!r0.__s&&ao(c.__H,l)&&(c.__=a,c.u=l,X1.__h.push(c))}function U(a){return X4=5,C1(function(){return{current:a}},[])}function A5(a,l,c){X4=6,H2(function(){if(typeof a=="function"){var e=a(l());return function(){a(null),e&&typeof e=="function"&&e()}}if(a)return a.current=l(),function(){return a.current=null}},c==null?c:c.concat(a))}function C1(a,l){var c=G7(C3++,7);return ao(c.__H,l)&&(c.__=a(),c.__H=l,c.__h=a),c.__}function a1(a,l){return X4=8,C1(function(){return a},l)}function E(a){var l=X1.context[a.__c],c=G7(C3++,9);return c.c=a,l?(c.__==null&&(c.__=!0,l.sub(X1)),l.props.value):a.__}function f8(a,l){r0.useDebugValue&&r0.useDebugValue(l?l(a):a)}function Gc(a){var l=G7(C3++,10),c=m1();return l.__=a,X1.componentDidCatch||(X1.componentDidCatch=function(e,h){l.__&&l.__(e,h),c[1](e)}),[c[0],function(){c[1](void 0)}]}function q7(){var a=G7(C3++,11);if(!a.__){for(var l=X1.__v;l!==null&&!l.__m&&l.__!==null;)l=l.__;var c=l.__m||(l.__m=[0,0]);a.__="P"+c[0]+"-"+c[1]++}return a.__}function cF(){for(var a;a=dM.shift();)if(a.__P&&a.__H)try{a.__H.__h.forEach(Ec),a.__H.__h.forEach(_Z),a.__H.__h=[]}catch(l){a.__H.__h=[],r0.__e(l,a.__v)}}function eF(a){var l,c=function(){clearTimeout(e),uM&&cancelAnimationFrame(l),setTimeout(a)},e=setTimeout(c,100);uM&&(l=requestAnimationFrame(c))}function Ec(a){var l=X1,c=a.__c;typeof c=="function"&&(a.__c=void 0,c()),X1=l}function _Z(a){var l=X1;a.__c=a.__(),X1=l}function ao(a,l){return!a||a.length!==l.length||l.some(function(c,e){return c!==a[e]})}function CM(a,l){return typeof l=="function"?l(a):l}var C3,X1,jZ,mM,X4=0,dM,r0,MM,HM,iM,nM,AM,VM,uM;var $2=GZ(()=>{E7();dM=[],r0=d1,MM=r0.__b,HM=r0.__r,iM=r0.diffed,nM=r0.__c,AM=r0.unmount,VM=r0.__;r0.__b=function(a){X1=null,MM&&MM(a)},r0.__=function(a,l){a&&l.__k&&l.__k.__m&&(a.__m=l.__k.__m),VM&&VM(a,l)},r0.__r=function(a){HM&&HM(a),C3=0;var l=(X1=a.__c).__H;l&&(jZ===X1?(l.__h=[],X1.__h=[],l.__.forEach(function(c){c.__N&&(c.__=c.__N),c.u=c.__N=void 0})):(l.__h.forEach(Ec),l.__h.forEach(_Z),l.__h=[],C3=0)),jZ=X1},r0.diffed=function(a){iM&&iM(a);var l=a.__c;l&&l.__H&&(l.__H.__h.length&&(dM.push(l)!==1&&mM===r0.requestAnimationFrame||((mM=r0.requestAnimationFrame)||eF)(cF)),l.__H.__.forEach(function(c){c.u&&(c.__H=c.u),c.u=void 0})),jZ=X1=null},r0.__c=function(a,l){l.some(function(c){try{c.__h.forEach(Ec),c.__h=c.__h.filter(function(e){return!e.__||_Z(e)})}catch(e){l.some(function(h){h.__h&&(h.__h=[])}),l=[],r0.__e(e,c.__v)}}),nM&&nM(a,l)},r0.unmount=function(a){AM&&AM(a);var l,c=a.__c;c&&c.__H&&(c.__H.__.forEach(function(e){try{Ec(e)}catch(h){l=h}}),c.__H=void 0,l&&r0.__e(l,c.__v))};uM=typeof requestAnimationFrame=="function"});var p={};yc(p,{version:()=>K7,useTransition:()=>Qc,useSyncExternalStore:()=>qc,useState:()=>m1,useRef:()=>U,useReducer:()=>K5,useMemo:()=>C1,useLayoutEffect:()=>H2,useInsertionEffect:()=>Q5,useImperativeHandle:()=>A5,useId:()=>q7,useErrorBoundary:()=>Gc,useEffect:()=>t1,useDeferredValue:()=>Kc,useDebugValue:()=>f8,useContext:()=>E,useCallback:()=>a1,unstable_batchedUpdates:()=>to,unmountComponentAtNode:()=>O8,startTransition:()=>zc,render:()=>W8,memo:()=>b8,lazy:()=>eo,isValidElement:()=>o5,isMemo:()=>ro,isFragment:()=>oo,isElement:()=>Ho,hydrate:()=>Jc,forwardRef:()=>T,flushSync:()=>mo,findDOMNode:()=>vo,default:()=>y8,createRef:()=>Z5,createPortal:()=>T8,createFactory:()=>Zo,createElement:()=>q,createContext:()=>J,cloneElement:()=>N3,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>P8,SuspenseList:()=>z7,Suspense:()=>Y4,StrictMode:()=>Mo,PureComponent:()=>B8,Fragment:()=>n1,Component:()=>h5,Children:()=>g3});function wM(a,l){for(var c in l)a[c]=l[c];return a}function co(a,l){for(var c in a)if(c!=="__source"&&!(c in l))return!0;for(var e in l)if(e!=="__source"&&a[e]!==l[e])return!0;return!1}function qc(a,l){var c=l(),e=m1({t:{__:c,u:l}}),h=e[0].t,Z=e[1];return H2(function(){h.__=c,h.u=l,lo(h)&&Z({t:h})},[a,c,l]),t1(function(){return lo(h)&&Z({t:h}),a(function(){lo(h)&&Z({t:h})})},[a]),c}function lo(a){var l,c,e=a.u,h=a.__;try{var Z=e();return!((l=h)===(c=Z)&&(l!==0||1/l==1/c)||l!=l&&c!=c)}catch(o){return!0}}function zc(a){a()}function Kc(a){return a}function Qc(){return[!1,zc]}function B8(a,l){this.props=a,this.context=l}function b8(a,l){function c(h){var Z=this.props.ref,o=Z==h.ref;return!o&&Z&&(Z.call?Z(null):Z.current=null),l?!l(this.props,h)||!o:co(this.props,h)}function e(h){return this.shouldComponentUpdate=c,q(a,h)}return e.displayName="Memo("+(a.displayName||a.name)+")",e.prototype.isReactComponent=!0,e.__f=!0,e}function T(a){function l(c){var e=wM({},c);return delete e.ref,a(e,c.ref||null)}return l.$$typeof=hF,l.render=l,l.prototype.isReactComponent=l.__f=!0,l.displayName="ForwardRef("+(a.displayName||a.name)+")",l}function kM(a,l,c){return a&&(a.__c&&a.__c.__H&&(a.__c.__H.__.forEach(function(e){typeof e.__c=="function"&&e.__c()}),a.__c.__H=null),(a=wM({},a)).__c!=null&&(a.__c.__P===c&&(a.__c.__P=l),a.__c.__e=!0,a.__c=null),a.__k=a.__k&&a.__k.map(function(e){return kM(e,l,c)})),a}function SM(a,l,c){return a&&c&&(a.__v=null,a.__k=a.__k&&a.__k.map(function(e){return SM(e,l,c)}),a.__c&&a.__c.__P===l&&(a.__e&&c.appendChild(a.__e),a.__c.__e=!0,a.__c.__P=c)),a}function Y4(){this.__u=0,this.o=null,this.__b=null}function fM(a){var l=a.__.__c;return l&&l.__a&&l.__a(a)}function eo(a){var l,c,e;function h(Z){if(l||(l=a()).then(function(o){c=o.default||o},function(o){e=o}),e)throw e;if(!c)throw l;return q(c,Z)}return h.displayName="Lazy",h.__f=!0,h}function z7(){this.i=null,this.l=null}function oF(a){return this.getChildContext=function(){return a.context},a.children}function rF(a){var l=this,c=a.h;if(l.componentWillUnmount=function(){$4(null,l.v),l.v=null,l.h=null},l.h&&l.h!==c&&l.componentWillUnmount(),!l.v){for(var e=l.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;l.h=c,l.v={nodeType:1,parentNode:c,childNodes:[],__k:{__m:e.__m},contains:function(){return!0},appendChild:function(h){this.childNodes.push(h),l.h.appendChild(h)},insertBefore:function(h,Z){this.childNodes.push(h),l.h.insertBefore(h,Z)},removeChild:function(h){this.childNodes.splice(this.childNodes.indexOf(h)>>>1,1),l.h.removeChild(h)}}}$4(q(oF,{context:l.context},a.__v),l.v)}function T8(a,l){var c=q(rF,{__v:a,h:l});return c.containerInfo=l,c}function W8(a,l,c){return l.__k==null&&(l.textContent=""),$4(a,l),typeof c=="function"&&c(),a?a.__c:null}function Jc(a,l,c){return NZ(a,l),typeof c=="function"&&c(),a?a.__c:null}function iF(){}function nF(){return this.cancelBubble}function AF(){return this.defaultPrevented}function Zo(a){return q.bind(null,a)}function o5(a){return!!a&&a.$$typeof===BM}function oo(a){return o5(a)&&a.type===n1}function ro(a){return!!a&&!!a.displayName&&(typeof a.displayName=="string"||a.displayName instanceof String)&&a.displayName.startsWith("Memo(")}function N3(a){return o5(a)?tM.apply(null,arguments):a}function O8(a){return!!a.__k&&($4(null,a),!0)}function vo(a){return a&&(a.base||a.nodeType===1&&a)||null}var Q5,gM,hF,pM=function(a,l){return a==null?null:J2(J2(a).map(l))},g3,ZF,LM,FM=function(a,l,c){if(++c[1]===c[0]&&a.l.delete(l),a.props.revealOrder&&(a.props.revealOrder[0]!=="t"||!a.l.size))for(c=a.i;c;){for(;c.length>3;)c.pop()();if(c[1]<c[0])break;a.i=c=c[2]}},BM,vF,tF,mF,MF,HF=function(a){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(a)},RM,ho,VF,xM,sM,DM,P8,K7="18.3.1",to=function(a,l){return a(l)},mo=function(a,l){return a(l)},Mo,Ho,y8;var g=GZ(()=>{E7();E7();$2();$2();Q5=H2;(B8.prototype=new h5).isPureReactComponent=!0,B8.prototype.shouldComponentUpdate=function(a,l){return co(this.props,a)||co(this.state,l)};gM=d1.__b;d1.__b=function(a){a.type&&a.type.__f&&a.ref&&(a.props.ref=a.ref,a.ref=null),gM&&gM(a)};hF=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;g3={map:pM,forEach:pM,count:function(a){return a?J2(a).length:0},only:function(a){var l=J2(a);if(l.length!==1)throw"Children.only";return l[0]},toArray:J2},ZF=d1.__e;d1.__e=function(a,l,c,e){if(a.then){for(var h,Z=l;Z=Z.__;)if((h=Z.__c)&&h.__c)return l.__e==null&&(l.__e=c.__e,l.__k=c.__k),h.__c(a,l)}ZF(a,l,c,e)};LM=d1.unmount;d1.unmount=function(a){var l=a.__c;l&&l.__R&&l.__R(),l&&32&a.__u&&(a.type=null),LM&&LM(a)},(Y4.prototype=new h5).__c=function(a,l){var c=l.__c,e=this;e.o==null&&(e.o=[]),e.o.push(c);var h=fM(e.__v),Z=!1,o=function(){Z||(Z=!0,c.__R=null,h?h(r):r())};c.__R=o;var r=function(){if(!--e.__u){if(e.state.__a){var v=e.state.__a;e.__v.__k[0]=SM(v,v.__c.__P,v.__c.__O)}var t;for(e.setState({__a:e.__b=null});t=e.o.pop();)t.forceUpdate()}};e.__u++||32&l.__u||e.setState({__a:e.__b=e.__v.__k[0]}),a.then(o,o)},Y4.prototype.componentWillUnmount=function(){this.o=[]},Y4.prototype.render=function(a,l){if(this.__b){if(this.__v.__k){var c=document.createElement("div"),e=this.__v.__k[0].__c;this.__v.__k[0]=kM(this.__b,c,e.__O=e.__P)}this.__b=null}var h=l.__a&&q(n1,null,a.fallback);return h&&(h.__u&=-33),[q(n1,null,l.__a?null:a.children),h]};(z7.prototype=new h5).__a=function(a){var l=this,c=fM(l.__v),e=l.l.get(a);return e[0]++,function(h){var Z=function(){l.props.revealOrder?(e.push(h),FM(l,a,e)):h()};c?c(Z):Z()}},z7.prototype.render=function(a){this.i=null,this.l=/*@__PURE__*/new Map;var l=J2(a.children);a.revealOrder&&a.revealOrder[0]==="b"&&l.reverse();for(var c=l.length;c--;)this.l.set(l[c],this.i=[1,0,this.i]);return a.children},z7.prototype.componentDidUpdate=z7.prototype.componentDidMount=function(){var a=this;this.l.forEach(function(l,c){FM(a,c,l)})};BM=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,vF=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,tF=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,mF=/[A-Z0-9]/g,MF=typeof document!="undefined";h5.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(a){Object.defineProperty(h5.prototype,a,{configurable:!0,get:function(){return this["UNSAFE_"+a]},set:function(l){Object.defineProperty(this,a,{configurable:!0,writable:!0,value:l})}})});RM=d1.event;d1.event=function(a){return RM&&(a=RM(a)),a.persist=iF,a.isPropagationStopped=nF,a.isDefaultPrevented=AF,a.nativeEvent=a};VF={enumerable:!1,configurable:!0,get:function(){return this.class}},xM=d1.vnode;d1.vnode=function(a){typeof a.type=="string"&&function(l){var{props:c,type:e}=l,h={},Z=e.indexOf("-")===-1;for(var o in c){var r=c[o];if(!(o==="value"&&("defaultValue"in c)&&r==null||MF&&o==="children"&&e==="noscript"||o==="class"||o==="className")){var v=o.toLowerCase();o==="defaultValue"&&"value"in c&&c.value==null?o="value":o==="download"&&r===!0?r="":v==="translate"&&r==="no"?r=!1:v[0]==="o"&&v[1]==="n"?v==="ondoubleclick"?o="ondblclick":v!=="onchange"||e!=="input"&&e!=="textarea"||HF(c.type)?v==="onfocus"?o="onfocusin":v==="onblur"?o="onfocusout":tF.test(o)&&(o=v):v=o="oninput":Z&&vF.test(o)?o=o.replace(mF,"-$&").toLowerCase():r===null&&(r=void 0),v==="oninput"&&h[o=v]&&(o="oninputCapture"),h[o]=r}}e=="select"&&h.multiple&&Array.isArray(h.value)&&(h.value=J2(c.children).forEach(function(t){t.props.selected=h.value.indexOf(t.props.value)!=-1})),e=="select"&&h.defaultValue!=null&&(h.value=J2(c.children).forEach(function(t){t.props.selected=h.multiple?h.defaultValue.indexOf(t.props.value)!=-1:h.defaultValue==t.props.value})),c.class&&!c.className?(h.class=c.class,Object.defineProperty(h,"className",VF)):(c.className&&!c.class||c.class&&c.className)&&(h.class=h.className=c.className),l.props=h}(a),a.$$typeof=BM,xM&&xM(a)};sM=d1.__r;d1.__r=function(a){sM&&sM(a),ho=a.__c};DM=d1.diffed;d1.diffed=function(a){DM&&DM(a);var{props:l,__e:c}=a;c!=null&&a.type==="textarea"&&"value"in l&&l.value!==c.value&&(c.value=l.value==null?"":l.value),ho=null};P8={ReactCurrentDispatcher:{current:{readContext:function(a){return ho.__n[a.__c].props.value},useCallback:a1,useContext:E,useDebugValue:f8,useDeferredValue:Kc,useEffect:t1,useId:q7,useImperativeHandle:A5,useInsertionEffect:Q5,useLayoutEffect:H2,useMemo:C1,useReducer:K5,useRef:U,useState:m1,useSyncExternalStore:qc,useTransition:Qc}}};Mo=n1,Ho=o5,y8={useState:m1,useId:q7,useReducer:K5,useEffect:t1,useLayoutEffect:H2,useInsertionEffect:Q5,useTransition:Qc,useDeferredValue:Kc,useSyncExternalStore:qc,startTransition:zc,useRef:U,useImperativeHandle:A5,useMemo:C1,useCallback:a1,useContext:E,useDebugValue:f8,version:"18.3.1",Children:g3,render:W8,hydrate:Jc,unmountComponentAtNode:O8,createPortal:T8,createElement:q,createContext:J,createFactory:Zo,cloneElement:N3,createRef:Z5,Fragment:n1,isValidElement:o5,isElement:Ho,isFragment:oo,isMemo:ro,findDOMNode:vo,Component:h5,PureComponent:B8,memo:b8,forwardRef:T,flushSync:mo,unstable_batchedUpdates:to,StrictMode:Mo,Suspense:Y4,SuspenseList:z7,lazy:eo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:P8}});var fi=K2((CR)=>{(function(){var a=60103,l=60106,c=60107,e=60108,h=60114,Z=60109,o=60110,r=60112,v=60113,t=60120,M=60115,m=60116,H=60121,i=60122,n=60117,A=60119,u=60128,d=60129,C=60130,L=60131;if(typeof Symbol==="function"&&Symbol.for){var F=Symbol.for;a=F("react.element"),l=F("react.portal"),c=F("react.fragment"),e=F("react.strict_mode"),h=F("react.profiler"),Z=F("react.provider"),o=F("react.context"),r=F("react.forward_ref"),v=F("react.suspense"),t=F("react.suspense_list"),M=F("react.memo"),m=F("react.lazy"),H=F("react.block"),i=F("react.server.block"),n=F("react.fundamental"),A=F("react.scope"),u=F("react.opaque.id"),d=F("react.debug_trace_mode"),C=F("react.offscreen"),L=F("react.legacy_hidden")}var R=!1;function f(M1){if(typeof M1==="string"||typeof M1==="function")return!0;if(M1===c||M1===h||M1===d||M1===e||M1===v||M1===t||M1===L||R)return!0;if(typeof M1==="object"&&M1!==null){if(M1.$$typeof===m||M1.$$typeof===M||M1.$$typeof===Z||M1.$$typeof===o||M1.$$typeof===r||M1.$$typeof===n||M1.$$typeof===H||M1[0]===i)return!0}return!1}function x(M1){if(typeof M1==="object"&&M1!==null){var g5=M1.$$typeof;switch(g5){case a:var M2=M1.type;switch(M2){case c:case h:case e:case v:case t:return M2;default:var W5=M2&&M2.$$typeof;switch(W5){case o:case r:case m:case M:case Z:return W5;default:return g5}}case l:return g5}}return}var O=o,I=Z,o1=a,r1=r,j=c,s=m,k=M,y=l,Y=h,l1=e,H1=v,K=!1,A1=!1;function Q(M1){if(!K)K=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");return!1}function X(M1){if(!A1)A1=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");return!1}function h1(M1){return x(M1)===o}function S1(M1){return x(M1)===Z}function G1(M1){return typeof M1==="object"&&M1!==null&&M1.$$typeof===a}function e0(M1){return x(M1)===r}function q5(M1){return x(M1)===c}function t2(M1){return x(M1)===m}function m2(M1){return x(M1)===M}function z5(M1){return x(M1)===l}function b5(M1){return x(M1)===h}function Z1(M1){return x(M1)===e}function T5(M1){return x(M1)===v}CR.ContextConsumer=O,CR.ContextProvider=I,CR.Element=o1,CR.ForwardRef=r1,CR.Fragment=j,CR.Lazy=s,CR.Memo=k,CR.Portal=y,CR.Profiler=Y,CR.StrictMode=l1,CR.Suspense=H1,CR.isAsyncMode=Q,CR.isConcurrentMode=X,CR.isContextConsumer=h1,CR.isContextProvider=S1,CR.isElement=G1,CR.isForwardRef=e0,CR.isFragment=q5,CR.isLazy=t2,CR.isMemo=m2,CR.isPortal=z5,CR.isProfiler=b5,CR.isStrictMode=Z1,CR.isSuspense=T5,CR.isValidElementType=f,CR.typeOf=x})()});var yA=K2((es)=>{(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var a=!1,l=!1,c=5;function e(e1,u1){var w1=e1.length;e1.push(u1),o(e1,u1,w1)}function h(e1){return e1.length===0?null:e1[0]}function Z(e1){if(e1.length===0)return null;var u1=e1[0],w1=e1.pop();if(w1!==u1)e1[0]=w1,r(e1,w1,0);return u1}function o(e1,u1,w1){var q1=w1;while(q1>0){var Z0=q1-1>>>1,n5=e1[Z0];if(v(n5,u1)>0)e1[Z0]=u1,e1[q1]=n5,q1=Z0;else return}}function r(e1,u1,w1){var q1=w1,Z0=e1.length,n5=Z0>>>1;while(q1<n5){var P0=(q1+1)*2-1,z2=e1[P0],e5=P0+1,Oc=e1[e5];if(v(z2,u1)<0)if(e5<Z0&&v(Oc,z2)<0)e1[q1]=Oc,e1[e5]=u1,q1=e5;else e1[q1]=z2,e1[P0]=u1,q1=P0;else if(e5<Z0&&v(Oc,u1)<0)e1[q1]=Oc,e1[e5]=u1,q1=e5;else return}}function v(e1,u1){var w1=e1.sortIndex-u1.sortIndex;return w1!==0?w1:e1.id-u1.id}var t=1,M=2,m=3,H=4,i=5;function n(e1,u1){}var A=typeof performance==="object"&&typeof performance.now==="function";if(A){var u=performance;es.unstable_now=function(){return u.now()}}else{var d=Date,C=d.now();es.unstable_now=function(){return d.now()-C}}var L=1073741823,F=-1,R=250,f=5000,x=1e4,O=L,I=[],o1=[],r1=1,j=null,s=m,k=!1,y=!1,Y=!1,l1=typeof setTimeout==="function"?setTimeout:null,H1=typeof clearTimeout==="function"?clearTimeout:null,K=typeof setImmediate!=="undefined"?setImmediate:null,A1=typeof navigator!=="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function Q(e1){var u1=h(o1);while(u1!==null){if(u1.callback===null)Z(o1);else if(u1.startTime<=e1)Z(o1),u1.sortIndex=u1.expirationTime,e(I,u1);else return;u1=h(o1)}}function X(e1){if(Y=!1,Q(e1),!y)if(h(I)!==null)y=!0,h0(h1);else{var u1=h(o1);if(u1!==null)n0(X,u1.startTime-e1)}}function h1(e1,u1){if(y=!1,Y)Y=!1,c5();k=!0;var w1=s;try{if(l)try{return S1(e1,u1)}catch(Z0){if(j!==null){var q1=es.unstable_now();n(j,q1),j.isQueued=!1}throw Z0}else return S1(e1,u1)}finally{j=null,s=w1,k=!1}}function S1(e1,u1){var w1=u1;Q(w1),j=h(I);while(j!==null&&!a){if(j.expirationTime>w1&&(!e1||O7()))break;var q1=j.callback;if(typeof q1==="function"){j.callback=null,s=j.priorityLevel;var Z0=j.expirationTime<=w1,n5=q1(Z0);if(w1=es.unstable_now(),typeof n5==="function")j.callback=n5;else if(j===h(I))Z(I);Q(w1)}else Z(I);j=h(I)}if(j!==null)return!0;else{var P0=h(o1);if(P0!==null)n0(X,P0.startTime-w1);return!1}}function G1(e1,u1){switch(e1){case t:case M:case m:case H:case i:break;default:e1=m}var w1=s;s=e1;try{return u1()}finally{s=w1}}function e0(e1){var u1;switch(s){case t:case M:case m:u1=m;break;default:u1=s;break}var w1=s;s=u1;try{return e1()}finally{s=w1}}function q5(e1){var u1=s;return function(){var w1=s;s=u1;try{return e1.apply(this,arguments)}finally{s=w1}}}function t2(e1,u1,w1){var q1=es.unstable_now(),Z0;if(typeof w1==="object"&&w1!==null){var n5=w1.delay;if(typeof n5==="number"&&n5>0)Z0=q1+n5;else Z0=q1}else Z0=q1;var P0;switch(e1){case t:P0=F;break;case M:P0=R;break;case i:P0=O;break;case H:P0=x;break;case m:default:P0=f;break}var z2=Z0+P0,e5={id:r1++,callback:u1,priorityLevel:e1,startTime:Z0,expirationTime:z2,sortIndex:-1};if(Z0>q1){if(e5.sortIndex=Z0,e(o1,e5),h(I)===null&&e5===h(o1)){if(Y)c5();else Y=!0;n0(X,Z0-q1)}}else if(e5.sortIndex=z2,e(I,e5),!y&&!k)y=!0,h0(h1);return e5}function m2(){}function z5(){if(!y&&!k)y=!0,h0(h1)}function b5(){return h(I)}function Z1(e1){e1.callback=null}function T5(){return s}var M1=!1,g5=null,M2=-1,W5=c,z4=-1;function O7(){var e1=es.unstable_now()-z4;if(e1<W5)return!1;return!0}function K4(){}function UZ(e1){if(e1<0||e1>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}if(e1>0)W5=Math.floor(1000/e1);else W5=c}var s8=function(){if(g5!==null){var e1=es.unstable_now();z4=e1;var u1=!0,w1=!0;try{w1=g5(u1,e1)}finally{if(w1)y7();else M1=!1,g5=null}}else M1=!1},y7;if(typeof K==="function")y7=function(){K(s8)};else if(typeof MessageChannel!=="undefined"){var _=new MessageChannel,g1=_.port2;_.port1.onmessage=s8,y7=function(){g1.postMessage(null)}}else y7=function(){l1(s8,0)};function h0(e1){if(g5=e1,!M1)M1=!0,y7()}function n0(e1,u1){M2=l1(function(){e1(es.unstable_now())},u1)}function c5(){H1(M2),M2=-1}var I7=K4,Y3=null;if(es.unstable_IdlePriority=i,es.unstable_ImmediatePriority=t,es.unstable_LowPriority=H,es.unstable_NormalPriority=m,es.unstable_Profiling=Y3,es.unstable_UserBlockingPriority=M,es.unstable_cancelCallback=Z1,es.unstable_continueExecution=z5,es.unstable_forceFrameRate=UZ,es.unstable_getCurrentPriorityLevel=T5,es.unstable_getFirstCallbackNode=b5,es.unstable_next=e0,es.unstable_pauseExecution=m2,es.unstable_requestPaint=I7,es.unstable_runWithPriority=G1,es.unstable_scheduleCallback=t2,es.unstable_shouldYield=O7,es.unstable_wrapCallback=q5,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Uv=K2((Tk)=>{(function(){var a=typeof Symbol==="function"&&Symbol.for,l=a?Symbol.for("react.element"):60103,c=a?Symbol.for("react.portal"):60106,e=a?Symbol.for("react.fragment"):60107,h=a?Symbol.for("react.strict_mode"):60108,Z=a?Symbol.for("react.profiler"):60114,o=a?Symbol.for("react.provider"):60109,r=a?Symbol.for("react.context"):60110,v=a?Symbol.for("react.async_mode"):60111,t=a?Symbol.for("react.concurrent_mode"):60111,M=a?Symbol.for("react.forward_ref"):60112,m=a?Symbol.for("react.suspense"):60113,H=a?Symbol.for("react.suspense_list"):60120,i=a?Symbol.for("react.memo"):60115,n=a?Symbol.for("react.lazy"):60116,A=a?Symbol.for("react.block"):60121,u=a?Symbol.for("react.fundamental"):60117,d=a?Symbol.for("react.responder"):60118,C=a?Symbol.for("react.scope"):60119;function L(Z1){return typeof Z1==="string"||typeof Z1==="function"||Z1===e||Z1===t||Z1===Z||Z1===h||Z1===m||Z1===H||typeof Z1==="object"&&Z1!==null&&(Z1.$$typeof===n||Z1.$$typeof===i||Z1.$$typeof===o||Z1.$$typeof===r||Z1.$$typeof===M||Z1.$$typeof===u||Z1.$$typeof===d||Z1.$$typeof===C||Z1.$$typeof===A)}function F(Z1){if(typeof Z1==="object"&&Z1!==null){var T5=Z1.$$typeof;switch(T5){case l:var M1=Z1.type;switch(M1){case v:case t:case e:case Z:case h:case m:return M1;default:var g5=M1&&M1.$$typeof;switch(g5){case r:case M:case n:case i:case o:return g5;default:return T5}}case c:return T5}}return}var R=v,f=t,x=r,O=o,I=l,o1=M,r1=e,j=n,s=i,k=c,y=Z,Y=h,l1=m,H1=!1;function K(Z1){if(!H1)H1=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");return A1(Z1)||F(Z1)===v}function A1(Z1){return F(Z1)===t}function Q(Z1){return F(Z1)===r}function X(Z1){return F(Z1)===o}function h1(Z1){return typeof Z1==="object"&&Z1!==null&&Z1.$$typeof===l}function S1(Z1){return F(Z1)===M}function G1(Z1){return F(Z1)===e}function e0(Z1){return F(Z1)===n}function q5(Z1){return F(Z1)===i}function t2(Z1){return F(Z1)===c}function m2(Z1){return F(Z1)===Z}function z5(Z1){return F(Z1)===h}function b5(Z1){return F(Z1)===m}Tk.AsyncMode=R,Tk.ConcurrentMode=f,Tk.ContextConsumer=x,Tk.ContextProvider=O,Tk.Element=I,Tk.ForwardRef=o1,Tk.Fragment=r1,Tk.Lazy=j,Tk.Memo=s,Tk.Portal=k,Tk.Profiler=y,Tk.StrictMode=Y,Tk.Suspense=l1,Tk.isAsyncMode=K,Tk.isConcurrentMode=A1,Tk.isContextConsumer=Q,Tk.isContextProvider=X,Tk.isElement=h1,Tk.isForwardRef=S1,Tk.isFragment=G1,Tk.isLazy=e0,Tk.isMemo=q5,Tk.isPortal=t2,Tk.isProfiler=m2,Tk.isStrictMode=z5,Tk.isSuspense=b5,Tk.isValidElementType=L,Tk.typeOf=F})()});var Ud=K2((uv1,Id)=>{var yd=Object.getOwnPropertySymbols,Wk=Object.prototype.hasOwnProperty,Pk=Object.prototype.propertyIsEnumerable;function Ok(a){if(a===null||a===void 0)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function yk(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;var l={};for(var c=0;c<10;c++)l["_"+String.fromCharCode(c)]=c;var e=Object.getOwnPropertyNames(l).map(function(Z){return l[Z]});if(e.join("")!=="0123456789")return!1;var h={};if("abcdefghijklmnopqrst".split("").forEach(function(Z){h[Z]=Z}),Object.keys(Object.assign({},h)).join("")!=="abcdefghijklmnopqrst")return!1;return!0}catch(Z){return!1}}Id.exports=yk()?Object.assign:function(a,l){var c,e=Ok(a),h;for(var Z=1;Z<arguments.length;Z++){c=Object(arguments[Z]);for(var o in c)if(Wk.call(c,o))e[o]=c[o];if(yd){h=yd(c);for(var r=0;r<h.length;r++)if(Pk.call(c,h[r]))e[h[r]]=c[h[r]]}}return e}});var Ev=K2((dv1,Ed)=>{var Ik="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Ed.exports=Ik});var Gv=K2((Cv1,Gd)=>{Gd.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var Kd=K2((gv1,zd)=>{var qv=function(){};zv=Ev(),ql={},Kv=Gv(),qv=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};var zv,ql,Kv;function qd(a,l,c,e,h){for(var Z in a)if(Kv(a,Z)){var o;try{if(typeof a[Z]!=="function"){var r=Error((e||"React class")+": "+c+" type `"+Z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[Z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw r.name="Invariant Violation",r}o=a[Z](l,Z,e,c,null,zv)}catch(t){o=t}if(o&&!(o instanceof Error))qv((e||"React class")+": type specification of "+c+" `"+Z+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof o+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(o instanceof Error&&!(o.message in ql)){ql[o.message]=!0;var v=h?h():"";qv("Failed "+c+" type: "+o.message+(v!=null?v:""))}}}qd.resetWarningCache=function(){ql={}};zd.exports=qd});var Xd=K2((pv1,$d)=>{var Jd=Q4(Uv(),1),Uk=Ud(),K6=Ev(),Qv=Gv(),Qd=Kd(),Q6=function(){};Q6=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};function wh(){return null}$d.exports=function(a,l){var c=typeof Symbol==="function"&&Symbol.iterator,e="@@iterator";function h(s){var k=s&&(c&&s[c]||s[e]);if(typeof k==="function")return k}var Z="<<anonymous>>",o={array:M("array"),bigint:M("bigint"),bool:M("boolean"),func:M("function"),number:M("number"),object:M("object"),string:M("string"),symbol:M("symbol"),any:m(),arrayOf:H,element:i(),elementType:n(),instanceOf:A,node:L(),objectOf:d,oneOf:u,oneOfType:C,shape:R,exact:f};function r(s,k){if(s===k)return s!==0||1/s===1/k;else return s!==s&&k!==k}function v(s,k){this.message=s,this.data=k&&typeof k==="object"?k:{},this.stack=""}v.prototype=Error.prototype;function t(s){var k={},y=0;function Y(H1,K,A1,Q,X,h1,S1){if(Q=Q||Z,h1=h1||A1,S1!==K6){if(l){var G1=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 G1.name="Invariant Violation",G1}else if(typeof console!=="undefined"){var e0=Q+":"+A1;if(!k[e0]&&y<3)Q6("You are manually calling a React.PropTypes validation function for the `"+h1+"` prop on `"+Q+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),k[e0]=!0,y++}}if(K[A1]==null){if(H1){if(K[A1]===null)return new v("The "+X+" `"+h1+"` is marked as required "+("in `"+Q+"`, but its value is `null`."));return new v("The "+X+" `"+h1+"` is marked as required in "+("`"+Q+"`, but its value is `undefined`."))}return null}else return s(K,A1,Q,X,h1)}var l1=Y.bind(null,!1);return l1.isRequired=Y.bind(null,!0),l1}function M(s){function k(y,Y,l1,H1,K,A1){var Q=y[Y],X=I(Q);if(X!==s){var h1=o1(Q);return new v("Invalid "+H1+" `"+K+"` of type "+("`"+h1+"` supplied to `"+l1+"`, expected ")+("`"+s+"`."),{expectedType:s})}return null}return t(k)}function m(){return t(wh)}function H(s){function k(y,Y,l1,H1,K){if(typeof s!=="function")return new v("Property `"+K+"` of component `"+l1+"` has invalid PropType notation inside arrayOf.");var A1=y[Y];if(!Array.isArray(A1)){var Q=I(A1);return new v("Invalid "+H1+" `"+K+"` of type "+("`"+Q+"` supplied to `"+l1+"`, expected an array."))}for(var X=0;X<A1.length;X++){var h1=s(A1,X,l1,H1,K+"["+X+"]",K6);if(h1 instanceof Error)return h1}return null}return t(k)}function i(){function s(k,y,Y,l1,H1){var K=k[y];if(!a(K)){var A1=I(K);return new v("Invalid "+l1+" `"+H1+"` of type "+("`"+A1+"` supplied to `"+Y+"`, expected a single ReactElement."))}return null}return t(s)}function n(){function s(k,y,Y,l1,H1){var K=k[y];if(!Jd.isValidElementType(K)){var A1=I(K);return new v("Invalid "+l1+" `"+H1+"` of type "+("`"+A1+"` supplied to `"+Y+"`, expected a single ReactElement type."))}return null}return t(s)}function A(s){function k(y,Y,l1,H1,K){if(!(y[Y]instanceof s)){var A1=s.name||Z,Q=j(y[Y]);return new v("Invalid "+H1+" `"+K+"` of type "+("`"+Q+"` supplied to `"+l1+"`, expected ")+("instance of `"+A1+"`."))}return null}return t(k)}function u(s){if(!Array.isArray(s)){if(arguments.length>1)Q6("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).");else Q6("Invalid argument supplied to oneOf, expected an array.");return wh}function k(y,Y,l1,H1,K){var A1=y[Y];for(var Q=0;Q<s.length;Q++)if(r(A1,s[Q]))return null;var X=JSON.stringify(s,function h1(S1,G1){var e0=o1(G1);if(e0==="symbol")return String(G1);return G1});return new v("Invalid "+H1+" `"+K+"` of value `"+String(A1)+"` "+("supplied to `"+l1+"`, expected one of "+X+"."))}return t(k)}function d(s){function k(y,Y,l1,H1,K){if(typeof s!=="function")return new v("Property `"+K+"` of component `"+l1+"` has invalid PropType notation inside objectOf.");var A1=y[Y],Q=I(A1);if(Q!=="object")return new v("Invalid "+H1+" `"+K+"` of type "+("`"+Q+"` supplied to `"+l1+"`, expected an object."));for(var X in A1)if(Qv(A1,X)){var h1=s(A1,X,l1,H1,K+"."+X,K6);if(h1 instanceof Error)return h1}return null}return t(k)}function C(s){if(!Array.isArray(s))return Q6("Invalid argument supplied to oneOfType, expected an instance of array."),wh;for(var k=0;k<s.length;k++){var y=s[k];if(typeof y!=="function")return Q6("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+r1(y)+" at index "+k+"."),wh}function Y(l1,H1,K,A1,Q){var X=[];for(var h1=0;h1<s.length;h1++){var S1=s[h1],G1=S1(l1,H1,K,A1,Q,K6);if(G1==null)return null;if(G1.data&&Qv(G1.data,"expectedType"))X.push(G1.data.expectedType)}var e0=X.length>0?", expected one of type ["+X.join(", ")+"]":"";return new v("Invalid "+A1+" `"+Q+"` supplied to "+("`"+K+"`"+e0+"."))}return t(Y)}function L(){function s(k,y,Y,l1,H1){if(!x(k[y]))return new v("Invalid "+l1+" `"+H1+"` supplied to "+("`"+Y+"`, expected a ReactNode."));return null}return t(s)}function F(s,k,y,Y,l1){return new v((s||"React class")+": "+k+" type `"+y+"."+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+l1+"`.")}function R(s){function k(y,Y,l1,H1,K){var A1=y[Y],Q=I(A1);if(Q!=="object")return new v("Invalid "+H1+" `"+K+"` of type `"+Q+"` "+("supplied to `"+l1+"`, expected `object`."));for(var X in s){var h1=s[X];if(typeof h1!=="function")return F(l1,H1,K,X,o1(h1));var S1=h1(A1,X,l1,H1,K+"."+X,K6);if(S1)return S1}return null}return t(k)}function f(s){function k(y,Y,l1,H1,K){var A1=y[Y],Q=I(A1);if(Q!=="object")return new v("Invalid "+H1+" `"+K+"` of type `"+Q+"` "+("supplied to `"+l1+"`, expected `object`."));var X=Uk({},y[Y],s);for(var h1 in X){var S1=s[h1];if(Qv(s,h1)&&typeof S1!=="function")return F(l1,H1,K,h1,o1(S1));if(!S1)return new v("Invalid "+H1+" `"+K+"` key `"+h1+"` supplied to `"+l1+"`.\nBad object: "+JSON.stringify(y[Y],null," ")+`
|
|
2
|
-
Valid keys: `+JSON.stringify(Object.keys(
|
|
3
|
-
Source string: ${
|
|
4
|
-
`),l=bF(a);if(l===void 0)return;let c=NM(l);return c===null||c===void 0?void 0:c.loc}function bF(a){for(let l=a.length-1;l>=0;--l)if(a[l].includes("at getSourceURLfromError"))return a[l+3];return}var _4=()=>{let a={};return function l(c,e){if(a[c.id]===void 0)c.insertCSSRules(e),a[c.id]=!0}};function Fo(a){return a.reduce(function(l,c){var e=c[0],h=c[1];return l[e]=h,l[h]=e,l},{})}function jM(a){return typeof a==="boolean"}function _M(a){return typeof a==="function"}function a6(a){return typeof a==="number"}function aH(a){return a===null||typeof a==="undefined"}function lH(a){return a&&typeof a==="object"}function cH(a){return typeof a==="string"}function q8(a,l){return a.indexOf(l)!==-1}function eH(a){if(parseFloat(a)===0)return a;if(a[0]==="-")return a.slice(1);return"-"+a}function l6(a,l,c,e){return l+eH(c)+e}function hH(a){var l=a.indexOf(".");if(l===-1)a=100-parseFloat(a)+"%";else{var c=a.length-l-2;a=100-parseFloat(a),a=a.toFixed(c)+"%"}return a}function Ro(a){return a.replace(/ +/g," ").split(" ").map(function(l){return l.trim()}).filter(Boolean).reduce(function(l,c){var{list:e,state:h}=l,Z=(c.match(/\(/g)||[]).length,o=(c.match(/\)/g)||[]).length;if(h.parensDepth>0)e[e.length-1]=e[e.length-1]+" "+c;else e.push(c);return h.parensDepth+=Z-o,{list:e,state:h}},{list:[],state:{parensDepth:0}}).list}function po(a){var l=Ro(a);if(l.length<=3||l.length>4)return a;var c=l[0],e=l[1],h=l[2],Z=l[3];return[c,Z,h,e].join(" ")}function ZH(a){return!jM(a)&&!aH(a)}function oH(a){var l=[],c=0,e=0,h=!1;while(e<a.length)if(!h&&a[e]===",")l.push(a.substring(c,e).trim()),e++,c=e;else if(a[e]==="(")h=!0,e++;else if(a[e]===")")h=!1,e++;else e++;if(c!=e)l.push(a.substring(c,e+1));return l}var W={padding:function a(l){var c=l.value;if(a6(c))return c;return po(c)},textShadow:function a(l){var c=l.value,e=oH(c).map(function(h){return h.replace(/(^|\s)(-*)([.|\d]+)/,function(Z,o,r,v){if(v==="0")return Z;var t=r===""?"-":"";return""+o+t+v})});return e.join(",")},borderColor:function a(l){var c=l.value;return po(c)},borderRadius:function a(l){var c=l.value;if(a6(c))return c;if(q8(c,"/")){var e=c.split("/"),h=e[0],Z=e[1],o=W.borderRadius({value:h.trim()}),r=W.borderRadius({value:Z.trim()});return o+" / "+r}var v=Ro(c);switch(v.length){case 2:return v.reverse().join(" ");case 4:{var t=v[0],M=v[1],m=v[2],H=v[3];return[M,t,H,m].join(" ")}default:return c}},background:function a(l){var{value:c,valuesToConvert:e,isRtl:h,bgImgDirectionRegex:Z,bgPosDirectionRegex:o}=l;if(a6(c))return c;var r=c.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return c=c.replace(r,W.backgroundPosition({value:r,valuesToConvert:e,isRtl:h,bgPosDirectionRegex:o})),W.backgroundImage({value:c,valuesToConvert:e,bgImgDirectionRegex:Z})},backgroundImage:function a(l){var{value:c,valuesToConvert:e,bgImgDirectionRegex:h}=l;if(!q8(c,"url(")&&!q8(c,"linear-gradient("))return c;return c.replace(h,function(Z,o,r){return Z.replace(r,e[r])})},backgroundPosition:function a(l){var{value:c,valuesToConvert:e,isRtl:h,bgPosDirectionRegex:Z}=l;return c.replace(h?/^((-|\d|\.)+%)/:null,function(o,r){return hH(r)}).replace(Z,function(o){return e[o]})},backgroundPositionX:function a(l){var{value:c,valuesToConvert:e,isRtl:h,bgPosDirectionRegex:Z}=l;if(a6(c))return c;return W.backgroundPosition({value:c,valuesToConvert:e,isRtl:h,bgPosDirectionRegex:Z})},transition:function a(l){var{value:c,propertiesToConvert:e}=l;return c.split(/,\s*/g).map(function(h){var Z=h.split(" ");return Z[0]=e[Z[0]]||Z[0],Z.join(" ")}).join(", ")},transitionProperty:function a(l){var{value:c,propertiesToConvert:e}=l;return c.split(/,\s*/g).map(function(h){return e[h]||h}).join(", ")},transform:function a(l){var c=l.value,e="[^\\u0020-\\u007e]",h="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",Z="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+e+"|"+h+")")+("(?:[_a-z0-9-]|"+e+"|"+h+")")+"*")+")?")+")|(?:inherit|auto))",o=new RegExp("(translateX\\s*\\(\\s*)"+Z+"(\\s*\\))","gi"),r=new RegExp("(translate\\s*\\(\\s*)"+Z+"((?:\\s*,\\s*"+Z+"){0,1}\\s*\\))","gi"),v=new RegExp("(translate3d\\s*\\(\\s*)"+Z+"((?:\\s*,\\s*"+Z+"){0,2}\\s*\\))","gi"),t=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+Z+"(\\s*\\))","gi");return c.replace(o,l6).replace(r,l6).replace(v,l6).replace(t,l6)}};W.objectPosition=W.backgroundPosition;W.margin=W.padding;W.borderWidth=W.padding;W.boxShadow=W.textShadow;W.webkitBoxShadow=W.boxShadow;W.mozBoxShadow=W.boxShadow;W.WebkitBoxShadow=W.boxShadow;W.MozBoxShadow=W.boxShadow;W.borderStyle=W.borderColor;W.webkitTransform=W.transform;W.mozTransform=W.transform;W.WebkitTransform=W.transform;W.MozTransform=W.transform;W.transformOrigin=W.backgroundPosition;W.webkitTransformOrigin=W.transformOrigin;W.mozTransformOrigin=W.transformOrigin;W.WebkitTransformOrigin=W.transformOrigin;W.MozTransformOrigin=W.transformOrigin;W.webkitTransition=W.transition;W.mozTransition=W.transition;W.WebkitTransition=W.transition;W.MozTransition=W.transition;W.webkitTransitionProperty=W.transitionProperty;W.mozTransitionProperty=W.transitionProperty;W.WebkitTransitionProperty=W.transitionProperty;W.MozTransitionProperty=W.transitionProperty;W["text-shadow"]=W.textShadow;W["border-color"]=W.borderColor;W["border-radius"]=W.borderRadius;W["background-image"]=W.backgroundImage;W["background-position"]=W.backgroundPosition;W["background-position-x"]=W.backgroundPositionX;W["object-position"]=W.objectPosition;W["border-width"]=W.padding;W["box-shadow"]=W.textShadow;W["-webkit-box-shadow"]=W.textShadow;W["-moz-box-shadow"]=W.textShadow;W["border-style"]=W.borderColor;W["-webkit-transform"]=W.transform;W["-moz-transform"]=W.transform;W["transform-origin"]=W.transformOrigin;W["-webkit-transform-origin"]=W.transformOrigin;W["-moz-transform-origin"]=W.transformOrigin;W["-webkit-transition"]=W.transition;W["-moz-transition"]=W.transition;W["transition-property"]=W.transitionProperty;W["-webkit-transition-property"]=W.transitionProperty;W["-moz-transition-property"]=W.transitionProperty;var xo=Fo([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),rH=["content"],Lo=Fo([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),TF=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),WF=new RegExp("(left)|(right)");function Nc(a){return Object.keys(a).reduce(function(l,c){var e=a[c];if(cH(e))e=e.trim();if(q8(rH,c))return l[c]=e,l;var h=z8(c,e),Z=h.key,o=h.value;return l[Z]=o,l},Array.isArray(a)?[]:{})}function z8(a,l){var c=/\/\*\s?@noflip\s?\*\//.test(l),e=c?a:vH(a),h=c?l:tH(e,l);return{key:e,value:h}}function vH(a){return xo[a]||a}function tH(a,l){if(!ZH(l))return l;if(lH(l))return Nc(l);var c=a6(l),e=_M(l),h=c||e?l:l.replace(/ !important.*?$/,""),Z=!c&&h.length!==l.length,o=W[a],r;if(o)r=o({value:h,valuesToConvert:Lo,propertiesToConvert:xo,isRtl:!0,bgImgDirectionRegex:TF,bgPosDirectionRegex:WF});else r=Lo[h]||h;if(Z)return r+" !important";return r}var PF=/[A-Z]/g,OF=/^ms-/,so={};function yF(a){return"-"+a.toLowerCase()}function a7(a){if(Object.prototype.hasOwnProperty.call(so,a))return so[a];if(a.substr(0,2)==="--")return a;let l=a.replace(PF,yF);return so[a]=OF.test(l)?"-"+l:l}function jc(a){if(a.charAt(0)==="&")return a.slice(1);return a}var c6="-moz-",X5="-webkit-",_c="comm",l7="rule",e6="decl";var mH="@media",MH="@import";var HH="@supports";var iH="@namespace",nH="@keyframes";var ae="@layer";var Do=Math.abs,h6=String.fromCharCode,wo=Object.assign;function AH(a,l){return R0(a,0)^45?(((l<<2^R0(a,0))<<2^R0(a,1))<<2^R0(a,2))<<2^R0(a,3):0}function le(a){return a.trim()}function ce(a,l){return(a=l.exec(a))?a[0]:a}function Q0(a,l,c){return a.replace(l,c)}function ee(a,l,c){return a.indexOf(l,c)}function R0(a,l){return a.charCodeAt(l)|0}function L3(a,l,c){return a.slice(l,c)}function r5(a){return a.length}function he(a){return a.length}function F3(a,l){return l.push(a),a}function ko(a,l){return a.map(l).join("")}var Ze=1,Z6=1,VH=0,P5=0,v0=0,o6="";function K8(a,l,c,e,h,Z,o,r){return{value:a,root:l,parent:c,type:e,props:h,children:Z,line:Ze,column:Z6,length:o,return:"",siblings:r}}function oe(a,l){return wo(K8("",null,null,"",null,null,0,a.siblings),a,{length:-a.length},l)}function uH(){return v0}function dH(){if(v0=P5>0?R0(o6,--P5):0,Z6--,v0===10)Z6=1,Ze--;return v0}function O5(){if(v0=P5<VH?R0(o6,P5++):0,Z6++,v0===10)Z6=1,Ze++;return v0}function R3(){return R0(o6,P5)}function Q8(){return P5}function re(a,l){return L3(o6,a,l)}function J7(a){switch(a){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function fo(a){return Ze=Z6=1,VH=r5(o6=a),P5=0,[]}function Bo(a){return o6="",a}function J8(a){return le(re(P5-1,So(a===91?a+2:a===40?a+1:a)))}function CH(a){return Bo(IF(fo(a)))}function gH(a){while(v0=R3())if(v0<33)O5();else break;return J7(a)>2||J7(v0)>3?"":" "}function IF(a){while(O5())switch(J7(v0)){case 0:F3(bo(P5-1),a);break;case 2:F3(J8(v0),a);break;default:F3(h6(v0),a)}return a}function pH(a,l){while(--l&&O5())if(v0<48||v0>102||v0>57&&v0<65||v0>70&&v0<97)break;return re(a,Q8()+(l<6&&R3()==32&&O5()==32))}function So(a){while(O5())switch(v0){case a:return P5;case 34:case 39:if(a!==34&&a!==39)So(v0);break;case 40:if(a===41)So(a);break;case 92:O5();break}return P5}function LH(a,l){while(O5())if(a+v0===57)break;else if(a+v0===84&&R3()===47)break;return"/*"+re(l,P5-1)+"*"+h6(a===47?a:O5())}function bo(a){while(!J7(R3()))O5();return re(a,P5)}function te(a){return Bo(ve("",null,null,null,[""],a=fo(a),0,[0],a))}function ve(a,l,c,e,h,Z,o,r,v){var t=0,M=0,m=o,H=0,i=0,n=0,A=1,u=1,d=1,C=0,L="",F=h,R=Z,f=e,x=L;while(u)switch(n=C,C=O5()){case 40:if(n!=108&&R0(x,m-1)==58){if(ee(x+=Q0(J8(C),"&","&\f"),"&\f",Do(t?r[t-1]:0))!=-1)d=-1;break}case 34:case 39:case 91:x+=J8(C);break;case 9:case 10:case 13:case 32:x+=gH(n);break;case 92:x+=pH(Q8()-1,7);continue;case 47:switch(R3()){case 42:case 47:if(F3(UF(LH(O5(),Q8()),l,c,v),v),(J7(n||1)==5||J7(R3()||1)==5)&&r5(x)&&L3(x,-1,void 0)!==" ")x+=" ";break;default:x+="/"}break;case 123*A:r[t++]=r5(x)*d;case 125*A:case 59:case 0:switch(C){case 0:case 125:u=0;case 59+M:if(d==-1)x=Q0(x,/\f/g,"");if(i>0&&(r5(x)-m||A===0&&n===47))F3(i>32?RH(x+";",e,c,m-1,v):RH(Q0(x," ","")+";",e,c,m-2,v),v);break;case 59:x+=";";default:if(F3(f=FH(x,l,c,t,M,h,r,L,F=[],R=[],m,Z),Z),C===123)if(M===0)ve(x,l,f,f,F,Z,m,r,R);else{switch(H){case 99:if(R0(x,3)===110)break;case 108:if(R0(x,2)===97)break;default:M=0;case 100:case 109:case 115:}if(M)ve(a,f,f,e&&F3(FH(a,f,f,0,0,h,r,L,h,F=[],m,R),R),h,R,m,r,e?F:R);else ve(x,f,f,f,[""],R,0,r,R)}}t=M=i=0,A=d=1,L=x="",m=o;break;case 58:m=1+r5(x),i=n;default:if(A<1){if(C==123)--A;else if(C==125&&A++==0&&dH()==125)continue}switch(x+=h6(C),C*A){case 38:d=M>0?1:(x+="\f",-1);break;case 44:r[t++]=(r5(x)-1)*d,d=1;break;case 64:if(R3()===45)x+=J8(O5());H=R3(),M=m=r5(L=x+=bo(Q8())),C++;break;case 45:if(n===45&&r5(x)==2)A=0}}return Z}function FH(a,l,c,e,h,Z,o,r,v,t,M,m){var H=h-1,i=h===0?Z:[""],n=he(i);for(var A=0,u=0,d=0;A<e;++A)for(var C=0,L=L3(a,H+1,H=Do(u=o[A])),F=a;C<n;++C)if(F=le(u>0?i[C]+" "+L:Q0(L,/&\f/g,i[C])))v[d++]=F;return K8(a,l,c,h===0?l7:r,v,t,M,m)}function UF(a,l,c,e){return K8(a,l,c,_c,h6(uH()),L3(a,2,-2),0,e)}function RH(a,l,c,e,h){return K8(a,l,c,e6,L3(a,0,e),L3(a,e+1,-1),e,h)}function x3(a,l){var c="";for(var e=0;e<a.length;e++)c+=l(a[e],e,a,l)||"";return c}function me(a,l,c,e){switch(a.type){case ae:if(a.children.length)break;case MH:case iH:case e6:return a.return=a.return||a.value;case _c:return"";case nH:return a.return=a.value+"{"+x3(a.children,e)+"}";case l7:if(!r5(a.value=a.props.join(",")))return""}return r5(c=x3(a.children,e))?a.return=a.value+"{"+c+"}":""}function Me(a){var l=he(a);return function(c,e,h,Z){var o="";for(var r=0;r<l;r++)o+=a[r](c,e,h,Z)||"";return o}}function He(a){return function(l){if(!l.root){if(l=l.return)a(l)}}}var xH=(a)=>{switch(a.type){case l7:if(typeof a.props==="string")throw new Error(`"element.props" has type "string" (${JSON.stringify(a.props,null,2)}), it's not expected. Please report a bug if it happens.`);a.props=a.props.map((l)=>{if(l.indexOf(":global(")===-1)return l;return CH(l).reduce((c,e,h,Z)=>{if(e==="")return c;if(e===":"&&Z[h+1]==="global"){let o=Z[h+2].slice(1,-1)+" ";return c.unshift(o),Z[h+1]="",Z[h+2]="",c}return c.push(e),c},[]).join("")})}};function sH(a,l,c){switch(AH(a,l)){case 5103:return X5+"print-"+a+a;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return X5+a+a;case 4215:if(R0(a,9)===102)return X5+a+a;if(R0(a,l+1)===116)return X5+a+a;break;case 4789:return c6+a+a;case 5349:case 4246:case 6968:return X5+a+c6+a+a;case 6187:if(!ce(a,/grab/))return Q0(Q0(Q0(a,/(zoom-|grab)/,X5+"$1"),/(image-set)/,X5+"$1"),a,"")+a;case 5495:case 3959:return Q0(a,/(image-set\([^]*)/,X5+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return Q0(a,/(.+)-inline(.+)/,X5+"$1$2")+a;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(r5(a)-1-l>6)switch(R0(a,l+1)){case 102:if(R0(a,l+3)===108)return Q0(a,/(.+:)(.+)-([^]+)/,"$1"+X5+"$2-$3$1"+c6+(R0(a,l+3)==108?"$3":"$2-$3"))+a;case 115:return~ee(a,"stretch")?sH(Q0(a,"stretch","fill-available"),l)+a:a}break}return a}function ie(a,l,c,e){if(a.length>-1){if(!a.return)switch(a.type){case e6:a.return=sH(a.value,a.length);return;case l7:if(a.length)return ko(a.props,function(h){switch(ce(h,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return x3([oe(a,{props:[Q0(h,/:(read-\w+)/,":"+c6+"$1")]})],e);case"::placeholder":return x3([oe(a,{props:[Q0(h,/:(plac\w+)/,":"+X5+"input-$1")]}),oe(a,{props:[Q0(h,/:(plac\w+)/,":"+c6+"$1")]})],e)}return""})}}return}function DH(a){switch(a.type){case"@container":case mH:case HH:case ae:return!0}return!1}var wH=(a)=>{if(DH(a)&&Array.isArray(a.children))a.children.sort((l,c)=>l.props[0]>c.props[0]?1:-1)};function EF(){}function kH(a,l){let c=[];return x3(te(a),Me([xH,l?wH:EF,ie,me,He((e)=>c.push(e))])),c}var GF=/,( *[^ &])/g;function qF(a){return"&"+jc(a.replace(GF,",&$1"))}function SH(a,l,c){let e=l;if(c.length>0)e=c.reduceRight((h,Z)=>{return`${qF(Z)} { ${h} }`},l);return`${a}{${e}}`}function To(a,l){let{className:c,selectors:e,property:h,rtlClassName:Z,rtlProperty:o,rtlValue:r,value:v}=a,{container:t,layer:M,media:m,supports:H}=l,i=`.${c}`,n=Array.isArray(v)?`${v.map((u)=>`${a7(h)}: ${u}`).join(";")};`:`${a7(h)}: ${v};`,A=SH(i,n,e);if(o&&Z){let u=`.${Z}`,d=Array.isArray(r)?`${r.map((C)=>`${a7(o)}: ${C}`).join(";")};`:`${a7(o)}: ${r};`;A+=SH(u,d,e)}if(m)A=`@media ${m} { ${A} }`;if(M)A=`@layer ${M} { ${A} }`;if(H)A=`@supports ${H} { ${A} }`;if(t)A=`@container ${t} { ${A} }`;return kH(A,!0)}function fH(a){let l="";for(let c in a){let e=a[c];if(typeof e==="string"||typeof e==="number"){l+=a7(c)+":"+e+";";continue}if(Array.isArray(e))for(let h of e)l+=a7(c)+":"+h+";"}return l}function Wo(a){let l="";for(let c in a)l+=`${c}{${fH(a[c])}}`;return l}function Po(a,l){let c=`@keyframes ${a} {${l}}`,e=[];return x3(te(c),Me([me,ie,He((h)=>e.push(h))])),e}var BH={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function Oo(a,l){if(a.length===0)return l;return`${a} and ${l}`}function bH(a){return a.substr(0,6)==="@media"}function TH(a){return a.substr(0,6)==="@layer"}var zF=/^(:|\[|>|&)/;function WH(a){return zF.test(a)}function PH(a){return a.substr(0,9)==="@supports"}function OH(a){return a.substring(0,10)==="@container"}function yH(a){return a!=null&&typeof a==="object"&&Array.isArray(a)===!1}var IH={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function yo(a,l){if(l.media)return"m";if(l.layer||l.supports)return"t";if(l.container)return"c";if(a.length>0){let c=a[0].trim();if(c.charCodeAt(0)===58)return IH[c.slice(4,8)]||IH[c.slice(3,5)]||"d"}return"d"}function ne(a,l){return a?l+a:a}function Io(a){return ne(a.container,"c")+ne(a.media,"m")+ne(a.layer,"l")+ne(a.supports,"s")}function Ae(a,l,c){let e=a+Io(c)+l,h=X2(e),Z=h.charCodeAt(0);if(Z>=48&&Z<=57)return String.fromCharCode(Z+17)+h.slice(1);return h}function $8({property:a,selector:l,salt:c,value:e},h){return U8+X2(c+l+Io(h)+a+e.trim())}function UH(a){return a===N4}function Ve(a){return a.replace(/>\s+/g,">")}function ue(...a){if(typeof document!=="undefined")console.error(...a)}function EH(a,l){ue(/*@__PURE__*/(()=>{let e=JSON.stringify(l,null,2),h=["@griffel/react: A rule was not resolved to CSS properly. Please check your `makeStyles` or `makeResetStyles` calls for following:"," ".repeat(2)+"makeStyles({"," ".repeat(4)+"[slot]: {"," ".repeat(6)+`"${a}": ${e.split(`
|
|
5
|
-
`).map((
|
|
6
|
-
`)}`," ".repeat(4)+"}"," ".repeat(2)+"})",""];if(a.indexOf("&")===-1)
|
|
7
|
-
`)})())}function
|
|
8
|
-
`))())}function
|
|
1
|
+
var HF=Object.create;var{getPrototypeOf:AF,defineProperty:Wo,getOwnPropertyNames:VF}=Object;var iF=Object.prototype.hasOwnProperty;var G4=(a,l,c)=>{c=a!=null?HF(AF(a)):{};let h=l||!a||!a.__esModule?Wo(c,"default",{value:a,enumerable:!0}):c;for(let Z of VF(a))if(!iF.call(h,Z))Wo(h,Z,{get:()=>a[Z],enumerable:!0});return h};var J2=(a,l)=>()=>(l||a((l={exports:{}}).exports,l),l.exports);var bo=(a,l)=>{for(var c in l)Wo(a,c,{get:l[c],enumerable:!0,configurable:!0,set:(h)=>l[c]=()=>h})};var Io=(a,l)=>()=>(a&&(l=a(a=0)),l);function K2(a,l){for(var c in l)a[c]=l[c];return a}function zo(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function m1(a,l,c){var h,Z,o,v={};for(o in l)o=="key"?h=l[o]:o=="ref"?Z=l[o]:v[o]=l[o];if(arguments.length>2&&(v.children=arguments.length>3?F8.call(arguments,2):c),typeof a=="function"&&a.defaultProps!=null)for(o in a.defaultProps)v[o]==null&&(v[o]=a.defaultProps[o]);return g8(a,v,h,Z,null)}function g8(a,l,c,h,Z){var o={type:a,props:l,key:c,ref:h,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:Z==null?++UM:Z,__i:-1,__u:0};return Z==null&&d1.vnode!=null&&d1.vnode(o),o}function A5(){return{current:null}}function V1(a){return a.children}function H5(a,l){this.props=a,this.context=l}function P4(a,l){if(l==null)return a.__?P4(a.__,a.__i+1):null;for(var c;l<a.__k.length;l++)if((c=a.__k[l])!=null&&c.__e!=null)return c.__e;return typeof a.type=="function"?P4(a):null}function QM(a){var l,c;if((a=a.__)!=null&&a.__c!=null){for(a.__e=a.__c.base=null,l=0;l<a.__k.length;l++)if((c=a.__k[l])!=null&&c.__e!=null){a.__e=a.__c.base=c.__e;break}return QM(a)}}function Go(a){(!a.__d&&(a.__d=!0)&&O3.push(a)&&!xc.__r++||WM!=d1.debounceRendering)&&((WM=d1.debounceRendering)||OM)(xc)}function xc(){for(var a,l,c,h,Z,o,v,r=1;O3.length;)O3.length>r&&O3.sort(GM),a=O3.shift(),r=O3.length,a.__d&&(c=void 0,Z=(h=(l=a).__v).__e,o=[],v=[],l.__P&&((c=K2({},h)).__v=h.__v+1,d1.vnode&&d1.vnode(c),Qo(l.__P,c,h,l.__n,l.__P.namespaceURI,32&h.__u?[Z]:null,o,Z==null?P4(h):Z,!!(32&h.__u),v),c.__v=h.__v,c.__.__k[c.__i]=c,XM(o,c,v),c.__e!=Z&&QM(c)));xc.__r=0}function JM(a,l,c,h,Z,o,v,r,e,m,t){var M,H,A,V,i,u,d=h&&h.__k||zM,L=l.length;for(e=uF(c,l,d,e,L),M=0;M<L;M++)(A=c.__k[M])!=null&&(H=A.__i==-1?C8:d[A.__i]||C8,A.__i=M,u=Qo(a,A,H,Z,o,v,r,e,m,t),V=A.__e,A.ref&&H.ref!=A.ref&&(H.ref&&Jo(H.ref,null,A),t.push(A.ref,A.__c||V,A)),i==null&&V!=null&&(i=V),4&A.__u||H.__k===A.__k?e=KM(A,e,a):typeof A.type=="function"&&u!==void 0?e=u:V&&(e=V.nextSibling),A.__u&=-7);return c.__e=i,e}function uF(a,l,c,h,Z){var o,v,r,e,m,t=c.length,M=t,H=0;for(a.__k=new Array(Z),o=0;o<Z;o++)(v=l[o])!=null&&typeof v!="boolean"&&typeof v!="function"?(e=o+H,(v=a.__k[o]=typeof v=="string"||typeof v=="number"||typeof v=="bigint"||v.constructor==String?g8(null,v,null,null,null):R8(v)?g8(V1,{children:v},null,null,null):v.constructor==null&&v.__b>0?g8(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v).__=a,v.__b=a.__b+1,r=null,(m=v.__i=dF(v,c,e,M))!=-1&&(M--,(r=c[m])&&(r.__u|=2)),r==null||r.__v==null?(m==-1&&(Z>t?H--:Z<t&&H++),typeof v.type!="function"&&(v.__u|=4)):m!=e&&(m==e-1?H--:m==e+1?H++:(m>e?H--:H++,v.__u|=4))):a.__k[o]=null;if(M)for(o=0;o<t;o++)(r=c[o])!=null&&(2&r.__u)==0&&(r.__e==h&&(h=P4(r)),$M(r,r));return h}function KM(a,l,c){var h,Z;if(typeof a.type=="function"){for(h=a.__k,Z=0;h&&Z<h.length;Z++)h[Z]&&(h[Z].__=a,l=KM(h[Z],l,c));return l}a.__e!=l&&(l&&a.type&&!c.contains(l)&&(l=P4(a)),c.insertBefore(a.__e,l||null),l=a.__e);do l=l&&l.nextSibling;while(l!=null&&l.nodeType==8);return l}function X2(a,l){return l=l||[],a==null||typeof a=="boolean"||(R8(a)?a.some(function(c){X2(c,l)}):l.push(a)),l}function dF(a,l,c,h){var Z,o,v=a.key,r=a.type,e=l[c];if(e===null&&a.key==null||e&&v==e.key&&r==e.type&&(2&e.__u)==0)return c;if(h>(e!=null&&(2&e.__u)==0?1:0))for(Z=c-1,o=c+1;Z>=0||o<l.length;){if(Z>=0){if((e=l[Z])&&(2&e.__u)==0&&v==e.key&&r==e.type)return Z;Z--}if(o<l.length){if((e=l[o])&&(2&e.__u)==0&&v==e.key&&r==e.type)return o;o++}}return-1}function bM(a,l,c){l[0]=="-"?a.setProperty(l,c==null?"":c):a[l]=c==null?"":typeof c!="number"||nF.test(l)?c:c+"px"}function Rc(a,l,c,h,Z){var o;a:if(l=="style")if(typeof c=="string")a.style.cssText=c;else{if(typeof h=="string"&&(a.style.cssText=h=""),h)for(l in h)c&&l in c||bM(a.style,l,"");if(c)for(l in c)h&&c[l]==h[l]||bM(a.style,l,c[l])}else if(l[0]=="o"&&l[1]=="n")o=l!=(l=l.replace(PM,"$1")),l=l.toLowerCase()in a||l=="onFocusOut"||l=="onFocusIn"?l.toLowerCase().slice(2):l.slice(2),a.l||(a.l={}),a.l[l+o]=c,c?h?c.u=h.u:(c.u=qo,a.addEventListener(l,o?Oo:Uo,o)):a.removeEventListener(l,o?Oo:Uo,o);else{if(Z=="http://www.w3.org/2000/svg")l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(l!="width"&&l!="height"&&l!="href"&&l!="list"&&l!="form"&&l!="tabIndex"&&l!="download"&&l!="rowSpan"&&l!="colSpan"&&l!="role"&&l!="popover"&&l in a)try{a[l]=c==null?"":c;break a}catch(v){}typeof c=="function"||(c==null||c===!1&&l[4]!="-"?a.removeAttribute(l):a.setAttribute(l,l=="popover"&&c==1?"":c))}}function IM(a){return function(l){if(this.l){var c=this.l[l.type+a];if(l.t==null)l.t=qo++;else if(l.t<c.u)return;return c(d1.event?d1.event(l):l)}}}function Qo(a,l,c,h,Z,o,v,r,e,m){var t,M,H,A,V,i,u,d,L,g,R,x,S,p,I,G,r1,l1=l.type;if(l.constructor!=null)return null;128&c.__u&&(e=!!(32&c.__u),o=[r=l.__e=c.__e]),(t=d1.__b)&&t(l);a:if(typeof l1=="function")try{if(d=l.props,L="prototype"in l1&&l1.prototype.render,g=(t=l1.contextType)&&h[t.__c],R=t?g?g.props.value:t.__:h,c.__c?u=(M=l.__c=c.__c).__=M.__E:(L?l.__c=M=new l1(d,R):(l.__c=M=new H5(d,R),M.constructor=l1,M.render=gF),g&&g.sub(M),M.props=d,M.state||(M.state={}),M.context=R,M.__n=h,H=M.__d=!0,M.__h=[],M._sb=[]),L&&M.__s==null&&(M.__s=M.state),L&&l1.getDerivedStateFromProps!=null&&(M.__s==M.state&&(M.__s=K2({},M.__s)),K2(M.__s,l1.getDerivedStateFromProps(d,M.__s))),A=M.props,V=M.state,M.__v=l,H)L&&l1.getDerivedStateFromProps==null&&M.componentWillMount!=null&&M.componentWillMount(),L&&M.componentDidMount!=null&&M.__h.push(M.componentDidMount);else{if(L&&l1.getDerivedStateFromProps==null&&d!==A&&M.componentWillReceiveProps!=null&&M.componentWillReceiveProps(d,R),!M.__e&&M.shouldComponentUpdate!=null&&M.shouldComponentUpdate(d,M.__s,R)===!1||l.__v==c.__v){for(l.__v!=c.__v&&(M.props=d,M.state=M.__s,M.__d=!1),l.__e=c.__e,l.__k=c.__k,l.__k.some(function(Y){Y&&(Y.__=l)}),x=0;x<M._sb.length;x++)M.__h.push(M._sb[x]);M._sb=[],M.__h.length&&v.push(M);break a}M.componentWillUpdate!=null&&M.componentWillUpdate(d,M.__s,R),L&&M.componentDidUpdate!=null&&M.__h.push(function(){M.componentDidUpdate(A,V,i)})}if(M.context=R,M.props=d,M.__P=a,M.__e=!1,S=d1.__r,p=0,L){for(M.state=M.__s,M.__d=!1,S&&S(l),t=M.render(M.props,M.state,M.context),I=0;I<M._sb.length;I++)M.__h.push(M._sb[I]);M._sb=[]}else do M.__d=!1,S&&S(l),t=M.render(M.props,M.state,M.context),M.state=M.__s;while(M.__d&&++p<25);M.state=M.__s,M.getChildContext!=null&&(h=K2(K2({},h),M.getChildContext())),L&&!H&&M.getSnapshotBeforeUpdate!=null&&(i=M.getSnapshotBeforeUpdate(A,V)),G=t,t!=null&&t.type===V1&&t.key==null&&(G=EM(t.props.children)),r=JM(a,R8(G)?G:[G],l,c,h,Z,o,v,r,e,m),M.base=l.__e,l.__u&=-161,M.__h.length&&v.push(M),u&&(M.__E=M.__=null)}catch(Y){if(l.__v=null,e||o!=null)if(Y.then){for(l.__u|=e?160:128;r&&r.nodeType==8&&r.nextSibling;)r=r.nextSibling;o[o.indexOf(r)]=null,l.__e=r}else for(r1=o.length;r1--;)zo(o[r1]);else l.__e=c.__e,l.__k=c.__k;d1.__e(Y,l,c)}else o==null&&l.__v==c.__v?(l.__k=c.__k,l.__e=c.__e):r=l.__e=LF(c.__e,l,c,h,Z,o,v,e,m);return(t=d1.diffed)&&t(l),128&l.__u?void 0:r}function XM(a,l,c){for(var h=0;h<c.length;h++)Jo(c[h],c[++h],c[++h]);d1.__c&&d1.__c(l,a),a.some(function(Z){try{a=Z.__h,Z.__h=[],a.some(function(o){o.call(Z)})}catch(o){d1.__e(o,Z.__v)}})}function EM(a){return typeof a!="object"||a==null||a.__b&&a.__b>0?a:R8(a)?a.map(EM):K2({},a)}function LF(a,l,c,h,Z,o,v,r,e){var m,t,M,H,A,V,i,u=c.props,d=l.props,L=l.type;if(L=="svg"?Z="http://www.w3.org/2000/svg":L=="math"?Z="http://www.w3.org/1998/Math/MathML":Z||(Z="http://www.w3.org/1999/xhtml"),o!=null){for(m=0;m<o.length;m++)if((A=o[m])&&"setAttribute"in A==!!L&&(L?A.localName==L:A.nodeType==3)){a=A,o[m]=null;break}}if(a==null){if(L==null)return document.createTextNode(d);a=document.createElementNS(Z,L,d.is&&d),r&&(d1.__m&&d1.__m(l,o),r=!1),o=null}if(L==null)u===d||r&&a.data==d||(a.data=d);else{if(o=o&&F8.call(a.childNodes),u=c.props||C8,!r&&o!=null)for(u={},m=0;m<a.attributes.length;m++)u[(A=a.attributes[m]).name]=A.value;for(m in u)if(A=u[m],m=="children");else if(m=="dangerouslySetInnerHTML")M=A;else if(!(m in d)){if(m=="value"&&"defaultValue"in d||m=="checked"&&"defaultChecked"in d)continue;Rc(a,m,null,A,Z)}for(m in d)A=d[m],m=="children"?H=A:m=="dangerouslySetInnerHTML"?t=A:m=="value"?V=A:m=="checked"?i=A:r&&typeof A!="function"||u[m]===A||Rc(a,m,A,u[m],Z);if(t)r||M&&(t.__html==M.__html||t.__html==a.innerHTML)||(a.innerHTML=t.__html),l.__k=[];else if(M&&(a.innerHTML=""),JM(l.type=="template"?a.content:a,R8(H)?H:[H],l,c,h,L=="foreignObject"?"http://www.w3.org/1999/xhtml":Z,o,v,o?o[0]:c.__k&&P4(c,0),r,e),o!=null)for(m=o.length;m--;)zo(o[m]);r||(m="value",L=="progress"&&V==null?a.removeAttribute("value"):V!=null&&(V!==a[m]||L=="progress"&&!V||L=="option"&&V!=u[m])&&Rc(a,m,V,u[m],Z),m="checked",i!=null&&i!=a[m]&&Rc(a,m,i,u[m],Z))}return a}function Jo(a,l,c){try{if(typeof a=="function"){var h=typeof a.__u=="function";h&&a.__u(),h&&l==null||(a.__u=a(l))}else a.current=l}catch(Z){d1.__e(Z,c)}}function $M(a,l,c){var h,Z;if(d1.unmount&&d1.unmount(a),(h=a.ref)&&(h.current&&h.current!=a.__e||Jo(h,null,l)),(h=a.__c)!=null){if(h.componentWillUnmount)try{h.componentWillUnmount()}catch(o){d1.__e(o,l)}h.base=h.__P=null}if(h=a.__k)for(Z=0;Z<h.length;Z++)h[Z]&&$M(h[Z],l,c||typeof a.type!="function");c||zo(a.__e),a.__c=a.__=a.__e=void 0}function gF(a,l,c){return this.constructor(a,c)}function q4(a,l,c){var h,Z,o,v;l==document&&(l=document.documentElement),d1.__&&d1.__(a,l),Z=(h=typeof c=="function")?null:c&&c.__k||l.__k,o=[],v=[],Qo(l,a=(!h&&c||l).__k=m1(V1,null,[a]),Z||C8,C8,l.namespaceURI,!h&&c?[c]:Z?null:l.firstChild?F8.call(l.childNodes):null,o,!h&&c?c:Z?Z.__e:l.firstChild,h,v),XM(o,a,v)}function Ko(a,l){q4(a,l,Ko)}function YM(a,l,c){var h,Z,o,v,r=K2({},a.props);for(o in a.type&&a.type.defaultProps&&(v=a.type.defaultProps),l)o=="key"?h=l[o]:o=="ref"?Z=l[o]:r[o]=l[o]==null&&v!=null?v[o]:l[o];return arguments.length>2&&(r.children=arguments.length>3?F8.call(arguments,2):c),g8(a.type,r,h||a.key,Z||a.ref,null)}function o1(a){function l(c){var h,Z;return this.getChildContext||(h=/*@__PURE__*/new Set,(Z={})[l.__c]=this,this.getChildContext=function(){return Z},this.componentWillUnmount=function(){h=null},this.shouldComponentUpdate=function(o){this.props.value!=o.value&&h.forEach(function(v){v.__e=!0,Go(v)})},this.sub=function(o){h.add(o);var v=o.componentWillUnmount;o.componentWillUnmount=function(){h&&h.delete(o),v&&v.call(o)}}),c.children}return l.__c="__cC"+qM++,l.__=a,l.Provider=l.__l=(l.Consumer=function(c,h){return c.children(h)}).contextType=l,l}var F8,d1,UM,Po,O3,WM,OM,GM,PM,qo,Uo,Oo,qM,C8,zM,nF,R8;var G3=Io(()=>{C8={},zM=[],nF=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,R8=Array.isArray;F8=zM.slice,d1={__e:function(a,l,c,h){for(var Z,o,v;l=l.__;)if((Z=l.__c)&&!Z.__)try{if((o=Z.constructor)&&o.getDerivedStateFromError!=null&&(Z.setState(o.getDerivedStateFromError(a)),v=Z.__d),Z.componentDidCatch!=null&&(Z.componentDidCatch(a,h||{}),v=Z.__d),v)return Z.__E=Z}catch(r){a=r}throw a}},UM=0,Po=function(a){return a!=null&&a.constructor==null},H5.prototype.setState=function(a,l){var c;c=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=K2({},this.state),typeof a=="function"&&(a=a(K2({},c),this.props)),a&&K2(c,a),a!=null&&this.__v&&(l&&this._sb.push(l),Go(this))},H5.prototype.forceUpdate=function(a){this.__v&&(this.__e=!0,a&&this.__h.push(a),Go(this))},H5.prototype.render=V1,O3=[],OM=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,GM=function(a,l){return a.__v.__b-l.__v.__b},xc.__r=0,PM=/(PointerCapture)$|Capture$/i,qo=0,Uo=IM(!1),Oo=IM(!0),qM=0});function P3(a,l){r0.__h&&r0.__h(y1,a,z4||l),z4=0;var c=y1.__H||(y1.__H={__:[],__h:[]});return a>=c.__.length&&c.__.push({}),c.__[a]}function e1(a){return z4=1,M2(ot,a)}function M2(a,l,c){var h=P3(L7++,2);if(h.t=a,!h.__c&&(h.__=[c?c(l):ot(void 0,l),function(r){var e=h.__N?h.__N[0]:h.__[0],m=h.t(e,r);e!==m&&(h.__N=[m,h.__[1]],h.__c.setState({}))}],h.__c=y1,!y1.__f)){var Z=function(r,e,m){if(!h.__c.__H)return!0;var t=h.__c.__H.__.filter(function(H){return!!H.__c});if(t.every(function(H){return!H.__N}))return!o||o.call(this,r,e,m);var M=h.__c.props!==r;return t.forEach(function(H){if(H.__N){var A=H.__[0];H.__=H.__N,H.__N=void 0,A!==H.__[0]&&(M=!0)}}),o&&o.call(this,r,e,m)||M};y1.__f=!0;var{shouldComponentUpdate:o,componentWillUpdate:v}=y1;y1.componentWillUpdate=function(r,e,m){if(this.__e){var t=o;o=void 0,Z(r,e,m),o=t}v&&v.call(this,r,e,m)},y1.shouldComponentUpdate=Z}return h.__N||h.__}function t1(a,l){var c=P3(L7++,3);!r0.__s&&Yo(c.__H,l)&&(c.__=a,c.u=l,y1.__H.__h.push(c))}function E2(a,l){var c=P3(L7++,4);!r0.__s&&Yo(c.__H,l)&&(c.__=a,c.u=l,y1.__h.push(c))}function q(a){return z4=5,x1(function(){return{current:a}},[])}function g5(a,l,c){z4=6,E2(function(){if(typeof a=="function"){var h=a(l());return function(){a(null),h&&typeof h=="function"&&h()}}if(a)return a.current=l(),function(){return a.current=null}},c==null?c:c.concat(a))}function x1(a,l){var c=P3(L7++,7);return Yo(c.__H,l)&&(c.__=a(),c.__H=l,c.__h=a),c.__}function y(a,l){return z4=8,x1(function(){return a},l)}function c1(a){var l=y1.context[a.__c],c=P3(L7++,9);return c.c=a,l?(c.__==null&&(c.__=!0,l.sub(y1)),l.props.value):a.__}function wc(a,l){r0.useDebugValue&&r0.useDebugValue(l?l(a):a)}function $o(a){var l=P3(L7++,10),c=e1();return l.__=a,y1.componentDidCatch||(y1.componentDidCatch=function(h,Z){l.__&&l.__(h,Z),c[1](h)}),[c[0],function(){c[1](void 0)}]}function Q4(){var a=P3(L7++,11);if(!a.__){for(var l=y1.__v;l!==null&&!l.__m&&l.__!==null;)l=l.__;var c=l.__m||(l.__m=[0,0]);a.__="P"+c[0]+"-"+c[1]++}return a.__}function CF(){for(var a;a=Zt.shift();)if(a.__P&&a.__H)try{a.__H.__h.forEach(pc),a.__H.__h.forEach(Eo),a.__H.__h=[]}catch(l){a.__H.__h=[],r0.__e(l,a.__v)}}function FF(a){var l,c=function(){clearTimeout(h),ht&&cancelAnimationFrame(l),setTimeout(a)},h=setTimeout(c,100);ht&&(l=requestAnimationFrame(c))}function pc(a){var l=y1,c=a.__c;typeof c=="function"&&(a.__c=void 0,c()),y1=l}function Eo(a){var l=y1;a.__c=a.__(),y1=l}function Yo(a,l){return!a||a.length!==l.length||l.some(function(c,h){return c!==a[h]})}function ot(a,l){return typeof l=="function"?l(a):l}var L7,y1,Xo,yM,z4=0,Zt,r0,NM,jM,_M,at,lt,ct,ht;var $2=Io(()=>{G3();Zt=[],r0=d1,NM=r0.__b,jM=r0.__r,_M=r0.diffed,at=r0.__c,lt=r0.unmount,ct=r0.__;r0.__b=function(a){y1=null,NM&&NM(a)},r0.__=function(a,l){a&&l.__k&&l.__k.__m&&(a.__m=l.__k.__m),ct&&ct(a,l)},r0.__r=function(a){jM&&jM(a),L7=0;var l=(y1=a.__c).__H;l&&(Xo===y1?(l.__h=[],y1.__h=[],l.__.forEach(function(c){c.__N&&(c.__=c.__N),c.u=c.__N=void 0})):(l.__h.forEach(pc),l.__h.forEach(Eo),l.__h=[],L7=0)),Xo=y1},r0.diffed=function(a){_M&&_M(a);var l=a.__c;l&&l.__H&&(l.__H.__h.length&&(Zt.push(l)!==1&&yM===r0.requestAnimationFrame||((yM=r0.requestAnimationFrame)||FF)(CF)),l.__H.__.forEach(function(c){c.u&&(c.__H=c.u),c.u=void 0})),Xo=y1=null},r0.__c=function(a,l){l.some(function(c){try{c.__h.forEach(pc),c.__h=c.__h.filter(function(h){return!h.__||Eo(h)})}catch(h){l.some(function(Z){Z.__h&&(Z.__h=[])}),l=[],r0.__e(h,c.__v)}}),at&&at(a,l)},r0.unmount=function(a){lt&<(a);var l,c=a.__c;c&&c.__H&&(c.__H.__.forEach(function(h){try{pc(h)}catch(Z){l=Z}}),c.__H=void 0,l&&r0.__e(l,c.__v))};ht=typeof requestAnimationFrame=="function"});var F={};bo(F,{version:()=>Zv,useTransition:()=>lv,useSyncExternalStore:()=>jo,useState:()=>e1,useRef:()=>q,useReducer:()=>M2,useMemo:()=>x1,useLayoutEffect:()=>E2,useInsertionEffect:()=>t2,useImperativeHandle:()=>g5,useId:()=>Q4,useErrorBoundary:()=>$o,useEffect:()=>t1,useDeferredValue:()=>av,useDebugValue:()=>wc,useContext:()=>c1,useCallback:()=>y,unstable_batchedUpdates:()=>xt,unmountComponentAtNode:()=>fc,startTransition:()=>_o,render:()=>Sc,memo:()=>sc,lazy:()=>dt,isValidElement:()=>V5,isMemo:()=>Ft,isFragment:()=>Ct,isElement:()=>Dt,hydrate:()=>cv,forwardRef:()=>U,flushSync:()=>pt,findDOMNode:()=>Rt,default:()=>ov,createRef:()=>A5,createPortal:()=>kc,createFactory:()=>gt,createElement:()=>m1,createContext:()=>o1,cloneElement:()=>q3,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>Bc,SuspenseList:()=>J4,Suspense:()=>x8,StrictMode:()=>wt,PureComponent:()=>Dc,Fragment:()=>V1,Component:()=>H5,Children:()=>y7});function Vt(a,l){for(var c in l)a[c]=l[c];return a}function No(a,l){for(var c in a)if(c!=="__source"&&!(c in l))return!0;for(var h in l)if(h!=="__source"&&a[h]!==l[h])return!0;return!1}function jo(a,l){var c=l(),h=e1({t:{__:c,u:l}}),Z=h[0].t,o=h[1];return E2(function(){Z.__=c,Z.u=l,yo(Z)&&o({t:Z})},[a,c,l]),t1(function(){return yo(Z)&&o({t:Z}),a(function(){yo(Z)&&o({t:Z})})},[a]),c}function yo(a){var l,c,h=a.u,Z=a.__;try{var o=h();return!((l=Z)===(c=o)&&(l!==0||1/l==1/c)||l!=l&&c!=c)}catch(v){return!0}}function _o(a){a()}function av(a){return a}function lv(){return[!1,_o]}function Dc(a,l){this.props=a,this.context=l}function sc(a,l){function c(Z){var o=this.props.ref,v=o==Z.ref;return!v&&o&&(o.call?o(null):o.current=null),l?!l(this.props,Z)||!v:No(this.props,Z)}function h(Z){return this.shouldComponentUpdate=c,m1(a,Z)}return h.displayName="Memo("+(a.displayName||a.name)+")",h.prototype.isReactComponent=!0,h.__f=!0,h}function U(a){function l(c){var h=Vt({},c);return delete h.ref,a(h,c.ref||null)}return l.$$typeof=RF,l.render=l,l.prototype.isReactComponent=l.__f=!0,l.displayName="ForwardRef("+(a.displayName||a.name)+")",l}function it(a,l,c){return a&&(a.__c&&a.__c.__H&&(a.__c.__H.__.forEach(function(h){typeof h.__c=="function"&&h.__c()}),a.__c.__H=null),(a=Vt({},a)).__c!=null&&(a.__c.__P===c&&(a.__c.__P=l),a.__c.__e=!0,a.__c=null),a.__k=a.__k&&a.__k.map(function(h){return it(h,l,c)})),a}function nt(a,l,c){return a&&c&&(a.__v=null,a.__k=a.__k&&a.__k.map(function(h){return nt(h,l,c)}),a.__c&&a.__c.__P===l&&(a.__e&&c.appendChild(a.__e),a.__c.__e=!0,a.__c.__P=c)),a}function x8(){this.__u=0,this.o=null,this.__b=null}function ut(a){var l=a.__.__c;return l&&l.__a&&l.__a(a)}function dt(a){var l,c,h;function Z(o){if(l||(l=a()).then(function(v){c=v.default||v},function(v){h=v}),h)throw h;if(!c)throw l;return m1(c,o)}return Z.displayName="Lazy",Z.__f=!0,Z}function J4(){this.i=null,this.l=null}function pF(a){return this.getChildContext=function(){return a.context},a.children}function wF(a){var l=this,c=a.h;if(l.componentWillUnmount=function(){q4(null,l.v),l.v=null,l.h=null},l.h&&l.h!==c&&l.componentWillUnmount(),!l.v){for(var h=l.__v;h!==null&&!h.__m&&h.__!==null;)h=h.__;l.h=c,l.v={nodeType:1,parentNode:c,childNodes:[],__k:{__m:h.__m},contains:function(){return!0},appendChild:function(Z){this.childNodes.push(Z),l.h.appendChild(Z)},insertBefore:function(Z,o){this.childNodes.push(Z),l.h.insertBefore(Z,o)},removeChild:function(Z){this.childNodes.splice(this.childNodes.indexOf(Z)>>>1,1),l.h.removeChild(Z)}}}q4(m1(pF,{context:l.context},a.__v),l.v)}function kc(a,l){var c=m1(wF,{__v:a,h:l});return c.containerInfo=l,c}function Sc(a,l,c){return l.__k==null&&(l.textContent=""),q4(a,l),typeof c=="function"&&c(),a?a.__c:null}function cv(a,l,c){return Ko(a,l),typeof c=="function"&&c(),a?a.__c:null}function fF(){}function TF(){return this.cancelBubble}function WF(){return this.defaultPrevented}function gt(a){return m1.bind(null,a)}function V5(a){return!!a&&a.$$typeof===Lt}function Ct(a){return V5(a)&&a.type===V1}function Ft(a){return!!a&&!!a.displayName&&(typeof a.displayName=="string"||a.displayName instanceof String)&&a.displayName.startsWith("Memo(")}function q3(a){return V5(a)?YM.apply(null,arguments):a}function fc(a){return!!a.__k&&(q4(null,a),!0)}function Rt(a){return a&&(a.base||a.nodeType===1&&a)||null}var t2,vt,RF,rt=function(a,l){return a==null?null:X2(X2(a).map(l))},y7,xF,et,mt=function(a,l,c){if(++c[1]===c[0]&&a.l.delete(l),a.props.revealOrder&&(a.props.revealOrder[0]!=="t"||!a.l.size))for(c=a.i;c;){for(;c.length>3;)c.pop()();if(c[1]<c[0])break;a.i=c=c[2]}},Lt,DF,sF,kF,SF,BF=function(a){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(a)},Mt,hv,bF,tt,Ht,At,Bc,Zv="18.3.1",xt=function(a,l){return a(l)},pt=function(a,l){return a(l)},wt,Dt,ov;var C=Io(()=>{G3();G3();$2();$2();t2=E2;(Dc.prototype=new H5).isPureReactComponent=!0,Dc.prototype.shouldComponentUpdate=function(a,l){return No(this.props,a)||No(this.state,l)};vt=d1.__b;d1.__b=function(a){a.type&&a.type.__f&&a.ref&&(a.props.ref=a.ref,a.ref=null),vt&&vt(a)};RF=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;y7={map:rt,forEach:rt,count:function(a){return a?X2(a).length:0},only:function(a){var l=X2(a);if(l.length!==1)throw"Children.only";return l[0]},toArray:X2},xF=d1.__e;d1.__e=function(a,l,c,h){if(a.then){for(var Z,o=l;o=o.__;)if((Z=o.__c)&&Z.__c)return l.__e==null&&(l.__e=c.__e,l.__k=c.__k),Z.__c(a,l)}xF(a,l,c,h)};et=d1.unmount;d1.unmount=function(a){var l=a.__c;l&&l.__R&&l.__R(),l&&32&a.__u&&(a.type=null),et&&et(a)},(x8.prototype=new H5).__c=function(a,l){var c=l.__c,h=this;h.o==null&&(h.o=[]),h.o.push(c);var Z=ut(h.__v),o=!1,v=function(){o||(o=!0,c.__R=null,Z?Z(r):r())};c.__R=v;var r=function(){if(!--h.__u){if(h.state.__a){var e=h.state.__a;h.__v.__k[0]=nt(e,e.__c.__P,e.__c.__O)}var m;for(h.setState({__a:h.__b=null});m=h.o.pop();)m.forceUpdate()}};h.__u++||32&l.__u||h.setState({__a:h.__b=h.__v.__k[0]}),a.then(v,v)},x8.prototype.componentWillUnmount=function(){this.o=[]},x8.prototype.render=function(a,l){if(this.__b){if(this.__v.__k){var c=document.createElement("div"),h=this.__v.__k[0].__c;this.__v.__k[0]=it(this.__b,c,h.__O=h.__P)}this.__b=null}var Z=l.__a&&m1(V1,null,a.fallback);return Z&&(Z.__u&=-33),[m1(V1,null,l.__a?null:a.children),Z]};(J4.prototype=new H5).__a=function(a){var l=this,c=ut(l.__v),h=l.l.get(a);return h[0]++,function(Z){var o=function(){l.props.revealOrder?(h.push(Z),mt(l,a,h)):Z()};c?c(o):o()}},J4.prototype.render=function(a){this.i=null,this.l=/*@__PURE__*/new Map;var l=X2(a.children);a.revealOrder&&a.revealOrder[0]==="b"&&l.reverse();for(var c=l.length;c--;)this.l.set(l[c],this.i=[1,0,this.i]);return a.children},J4.prototype.componentDidUpdate=J4.prototype.componentDidMount=function(){var a=this;this.l.forEach(function(l,c){mt(a,c,l)})};Lt=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,DF=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,sF=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,kF=/[A-Z0-9]/g,SF=typeof document!="undefined";H5.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(a){Object.defineProperty(H5.prototype,a,{configurable:!0,get:function(){return this["UNSAFE_"+a]},set:function(l){Object.defineProperty(this,a,{configurable:!0,writable:!0,value:l})}})});Mt=d1.event;d1.event=function(a){return Mt&&(a=Mt(a)),a.persist=fF,a.isPropagationStopped=TF,a.isDefaultPrevented=WF,a.nativeEvent=a};bF={enumerable:!1,configurable:!0,get:function(){return this.class}},tt=d1.vnode;d1.vnode=function(a){typeof a.type=="string"&&function(l){var{props:c,type:h}=l,Z={},o=h.indexOf("-")===-1;for(var v in c){var r=c[v];if(!(v==="value"&&("defaultValue"in c)&&r==null||SF&&v==="children"&&h==="noscript"||v==="class"||v==="className")){var e=v.toLowerCase();v==="defaultValue"&&"value"in c&&c.value==null?v="value":v==="download"&&r===!0?r="":e==="translate"&&r==="no"?r=!1:e[0]==="o"&&e[1]==="n"?e==="ondoubleclick"?v="ondblclick":e!=="onchange"||h!=="input"&&h!=="textarea"||BF(c.type)?e==="onfocus"?v="onfocusin":e==="onblur"?v="onfocusout":sF.test(v)&&(v=e):e=v="oninput":o&&DF.test(v)?v=v.replace(kF,"-$&").toLowerCase():r===null&&(r=void 0),e==="oninput"&&Z[v=e]&&(v="oninputCapture"),Z[v]=r}}h=="select"&&Z.multiple&&Array.isArray(Z.value)&&(Z.value=X2(c.children).forEach(function(m){m.props.selected=Z.value.indexOf(m.props.value)!=-1})),h=="select"&&Z.defaultValue!=null&&(Z.value=X2(c.children).forEach(function(m){m.props.selected=Z.multiple?Z.defaultValue.indexOf(m.props.value)!=-1:Z.defaultValue==m.props.value})),c.class&&!c.className?(Z.class=c.class,Object.defineProperty(Z,"className",bF)):(c.className&&!c.class||c.class&&c.className)&&(Z.class=Z.className=c.className),l.props=Z}(a),a.$$typeof=Lt,tt&&tt(a)};Ht=d1.__r;d1.__r=function(a){Ht&&Ht(a),hv=a.__c};At=d1.diffed;d1.diffed=function(a){At&&At(a);var{props:l,__e:c}=a;c!=null&&a.type==="textarea"&&"value"in l&&l.value!==c.value&&(c.value=l.value==null?"":l.value),hv=null};Bc={ReactCurrentDispatcher:{current:{readContext:function(a){return hv.__n[a.__c].props.value},useCallback:y,useContext:c1,useDebugValue:wc,useDeferredValue:av,useEffect:t1,useId:Q4,useImperativeHandle:g5,useInsertionEffect:t2,useLayoutEffect:E2,useMemo:x1,useReducer:M2,useRef:q,useState:e1,useSyncExternalStore:jo,useTransition:lv}}};wt=V1,Dt=V5,ov={useState:e1,useId:Q4,useReducer:M2,useEffect:t1,useLayoutEffect:E2,useInsertionEffect:t2,useTransition:lv,useDeferredValue:av,useSyncExternalStore:jo,startTransition:_o,useRef:q,useImperativeHandle:g5,useMemo:x1,useCallback:y,useContext:c1,useDebugValue:wc,version:"18.3.1",Children:y7,render:Sc,hydrate:cv,unmountComponentAtNode:fc,createPortal:kc,createElement:m1,createContext:o1,createFactory:gt,cloneElement:q3,createRef:A5,Fragment:V1,isValidElement:V5,isElement:Dt,isFragment:Ct,isMemo:Ft,findDOMNode:Rt,Component:H5,PureComponent:Dc,memo:sc,forwardRef:U,flushSync:pt,unstable_batchedUpdates:xt,StrictMode:wt,Suspense:x8,SuspenseList:J4,lazy:dt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Bc}});var wA=J2((OR)=>{(function(){var a=60103,l=60106,c=60107,h=60108,Z=60114,o=60109,v=60110,r=60112,e=60113,m=60120,t=60115,M=60116,H=60121,A=60122,V=60117,i=60119,u=60128,d=60129,L=60130,g=60131;if(typeof Symbol==="function"&&Symbol.for){var R=Symbol.for;a=R("react.element"),l=R("react.portal"),c=R("react.fragment"),h=R("react.strict_mode"),Z=R("react.profiler"),o=R("react.provider"),v=R("react.context"),r=R("react.forward_ref"),e=R("react.suspense"),m=R("react.suspense_list"),t=R("react.memo"),M=R("react.lazy"),H=R("react.block"),A=R("react.server.block"),V=R("react.fundamental"),i=R("react.scope"),u=R("react.opaque.id"),d=R("react.debug_trace_mode"),L=R("react.offscreen"),g=R("react.legacy_hidden")}var x=!1;function S(M1){if(typeof M1==="string"||typeof M1==="function")return!0;if(M1===c||M1===Z||M1===d||M1===h||M1===e||M1===m||M1===g||x)return!0;if(typeof M1==="object"&&M1!==null){if(M1.$$typeof===M||M1.$$typeof===t||M1.$$typeof===o||M1.$$typeof===v||M1.$$typeof===r||M1.$$typeof===V||M1.$$typeof===H||M1[0]===A)return!0}return!1}function p(M1){if(typeof M1==="object"&&M1!==null){var L5=M1.$$typeof;switch(L5){case a:var m2=M1.type;switch(m2){case c:case Z:case h:case e:case m:return m2;default:var b5=m2&&m2.$$typeof;switch(b5){case v:case r:case M:case t:case o:return b5;default:return L5}}case l:return L5}}return}var I=v,G=o,r1=a,l1=r,Y=c,w=M,s=t,O=l,E=Z,j=h,H1=e,Q=!1,i1=!1;function J(M1){if(!Q)Q=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");return!1}function X(M1){if(!i1)i1=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");return!1}function h1(M1){return p(M1)===v}function B1(M1){return p(M1)===o}function Q1(M1){return typeof M1==="object"&&M1!==null&&M1.$$typeof===a}function h0(M1){return p(M1)===r}function Q5(M1){return p(M1)===c}function r2(M1){return p(M1)===M}function e2(M1){return p(M1)===t}function J5(M1){return p(M1)===l}function T5(M1){return p(M1)===Z}function Z1(M1){return p(M1)===h}function W5(M1){return p(M1)===e}OR.ContextConsumer=I,OR.ContextProvider=G,OR.Element=r1,OR.ForwardRef=l1,OR.Fragment=Y,OR.Lazy=w,OR.Memo=s,OR.Portal=O,OR.Profiler=E,OR.StrictMode=j,OR.Suspense=H1,OR.isAsyncMode=J,OR.isConcurrentMode=X,OR.isContextConsumer=h1,OR.isContextProvider=B1,OR.isElement=Q1,OR.isForwardRef=h0,OR.isFragment=Q5,OR.isLazy=r2,OR.isMemo=e2,OR.isPortal=J5,OR.isProfiler=T5,OR.isStrictMode=Z1,OR.isSuspense=W5,OR.isValidElementType=S,OR.typeOf=p})()});var fi=J2((Fp)=>{(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var a=!1,l=!1,c=5;function h(a1,u1){var k1=a1.length;a1.push(u1),v(a1,u1,k1)}function Z(a1){return a1.length===0?null:a1[0]}function o(a1){if(a1.length===0)return null;var u1=a1[0],k1=a1.pop();if(k1!==u1)a1[0]=k1,r(a1,k1,0);return u1}function v(a1,u1,k1){var J1=k1;while(J1>0){var o0=J1-1>>>1,t5=a1[o0];if(e(t5,u1)>0)a1[o0]=u1,a1[J1]=t5,J1=o0;else return}}function r(a1,u1,k1){var J1=k1,o0=a1.length,t5=o0>>>1;while(J1<t5){var I0=(J1+1)*2-1,Q2=a1[I0],h5=I0+1,Fc=a1[h5];if(e(Q2,u1)<0)if(h5<o0&&e(Fc,Q2)<0)a1[J1]=Fc,a1[h5]=u1,J1=h5;else a1[J1]=Q2,a1[I0]=u1,J1=I0;else if(h5<o0&&e(Fc,u1)<0)a1[J1]=Fc,a1[h5]=u1,J1=h5;else return}}function e(a1,u1){var k1=a1.sortIndex-u1.sortIndex;return k1!==0?k1:a1.id-u1.id}var m=1,t=2,M=3,H=4,A=5;function V(a1,u1){}var i=typeof performance==="object"&&typeof performance.now==="function";if(i){var u=performance;Fp.unstable_now=function(){return u.now()}}else{var d=Date,L=d.now();Fp.unstable_now=function(){return d.now()-L}}var g=1073741823,R=-1,x=250,S=5000,p=1e4,I=g,G=[],r1=[],l1=1,Y=null,w=M,s=!1,O=!1,E=!1,j=typeof setTimeout==="function"?setTimeout:null,H1=typeof clearTimeout==="function"?clearTimeout:null,Q=typeof setImmediate!=="undefined"?setImmediate:null,i1=typeof navigator!=="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function J(a1){var u1=Z(r1);while(u1!==null){if(u1.callback===null)o(r1);else if(u1.startTime<=a1)o(r1),u1.sortIndex=u1.expirationTime,h(G,u1);else return;u1=Z(r1)}}function X(a1){if(E=!1,J(a1),!O)if(Z(G)!==null)O=!0,Z0(h1);else{var u1=Z(r1);if(u1!==null)V0(X,u1.startTime-a1)}}function h1(a1,u1){if(O=!1,E)E=!1,c5();s=!0;var k1=w;try{if(l)try{return B1(a1,u1)}catch(o0){if(Y!==null){var J1=Fp.unstable_now();V(Y,J1),Y.isQueued=!1}throw o0}else return B1(a1,u1)}finally{Y=null,w=k1,s=!1}}function B1(a1,u1){var k1=u1;J(k1),Y=Z(G);while(Y!==null&&!a){if(Y.expirationTime>k1&&(!a1||b3()))break;var J1=Y.callback;if(typeof J1==="function"){Y.callback=null,w=Y.priorityLevel;var o0=Y.expirationTime<=k1,t5=J1(o0);if(k1=Fp.unstable_now(),typeof t5==="function")Y.callback=t5;else if(Y===Z(G))o(G);J(k1)}else o(G);Y=Z(G)}if(Y!==null)return!0;else{var I0=Z(r1);if(I0!==null)V0(X,I0.startTime-k1);return!1}}function Q1(a1,u1){switch(a1){case m:case t:case M:case H:case A:break;default:a1=M}var k1=w;w=a1;try{return u1()}finally{w=k1}}function h0(a1){var u1;switch(w){case m:case t:case M:u1=M;break;default:u1=w;break}var k1=w;w=u1;try{return a1()}finally{w=k1}}function Q5(a1){var u1=w;return function(){var k1=w;w=u1;try{return a1.apply(this,arguments)}finally{w=k1}}}function r2(a1,u1,k1){var J1=Fp.unstable_now(),o0;if(typeof k1==="object"&&k1!==null){var t5=k1.delay;if(typeof t5==="number"&&t5>0)o0=J1+t5;else o0=J1}else o0=J1;var I0;switch(a1){case m:I0=R;break;case t:I0=x;break;case A:I0=I;break;case H:I0=p;break;case M:default:I0=S;break}var Q2=o0+I0,h5={id:l1++,callback:u1,priorityLevel:a1,startTime:o0,expirationTime:Q2,sortIndex:-1};if(o0>J1){if(h5.sortIndex=o0,h(r1,h5),Z(G)===null&&h5===Z(r1)){if(E)c5();else E=!0;V0(X,o0-J1)}}else if(h5.sortIndex=Q2,h(G,h5),!O&&!s)O=!0,Z0(h1);return h5}function e2(){}function J5(){if(!O&&!s)O=!0,Z0(h1)}function T5(){return Z(G)}function Z1(a1){a1.callback=null}function W5(){return w}var M1=!1,L5=null,m2=-1,b5=c,U4=-1;function b3(){var a1=Fp.unstable_now()-U4;if(a1<b5)return!1;return!0}function O4(){}function To(a1){if(a1<0||a1>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}if(a1>0)b5=Math.floor(1000/a1);else b5=c}var L8=function(){if(L5!==null){var a1=Fp.unstable_now();U4=a1;var u1=!0,k1=!0;try{k1=L5(u1,a1)}finally{if(k1)I3();else M1=!1,L5=null}}else M1=!1},I3;if(typeof Q==="function")I3=function(){Q(L8)};else if(typeof MessageChannel!=="undefined"){var N=new MessageChannel,L1=N.port2;N.port1.onmessage=L8,I3=function(){L1.postMessage(null)}}else I3=function(){j(L8,0)};function Z0(a1){if(L5=a1,!M1)M1=!0,I3()}function V0(a1,u1){m2=j(function(){a1(Fp.unstable_now())},u1)}function c5(){H1(m2),m2=-1}var U3=O4,Y7=null;if(Fp.unstable_IdlePriority=A,Fp.unstable_ImmediatePriority=m,Fp.unstable_LowPriority=H,Fp.unstable_NormalPriority=M,Fp.unstable_Profiling=Y7,Fp.unstable_UserBlockingPriority=t,Fp.unstable_cancelCallback=Z1,Fp.unstable_continueExecution=J5,Fp.unstable_forceFrameRate=To,Fp.unstable_getCurrentPriorityLevel=W5,Fp.unstable_getFirstCallbackNode=T5,Fp.unstable_next=h0,Fp.unstable_pauseExecution=e2,Fp.unstable_requestPaint=U3,Fp.unstable_runWithPriority=Q1,Fp.unstable_scheduleCallback=r2,Fp.unstable_shouldYield=b3,Fp.unstable_wrapCallback=Q5,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var De=J2((qs)=>{(function(){var a=typeof Symbol==="function"&&Symbol.for,l=a?Symbol.for("react.element"):60103,c=a?Symbol.for("react.portal"):60106,h=a?Symbol.for("react.fragment"):60107,Z=a?Symbol.for("react.strict_mode"):60108,o=a?Symbol.for("react.profiler"):60114,v=a?Symbol.for("react.provider"):60109,r=a?Symbol.for("react.context"):60110,e=a?Symbol.for("react.async_mode"):60111,m=a?Symbol.for("react.concurrent_mode"):60111,t=a?Symbol.for("react.forward_ref"):60112,M=a?Symbol.for("react.suspense"):60113,H=a?Symbol.for("react.suspense_list"):60120,A=a?Symbol.for("react.memo"):60115,V=a?Symbol.for("react.lazy"):60116,i=a?Symbol.for("react.block"):60121,u=a?Symbol.for("react.fundamental"):60117,d=a?Symbol.for("react.responder"):60118,L=a?Symbol.for("react.scope"):60119;function g(Z1){return typeof Z1==="string"||typeof Z1==="function"||Z1===h||Z1===m||Z1===o||Z1===Z||Z1===M||Z1===H||typeof Z1==="object"&&Z1!==null&&(Z1.$$typeof===V||Z1.$$typeof===A||Z1.$$typeof===v||Z1.$$typeof===r||Z1.$$typeof===t||Z1.$$typeof===u||Z1.$$typeof===d||Z1.$$typeof===L||Z1.$$typeof===i)}function R(Z1){if(typeof Z1==="object"&&Z1!==null){var W5=Z1.$$typeof;switch(W5){case l:var M1=Z1.type;switch(M1){case e:case m:case h:case o:case Z:case M:return M1;default:var L5=M1&&M1.$$typeof;switch(L5){case r:case t:case V:case A:case v:return L5;default:return W5}}case c:return W5}}return}var x=e,S=m,p=r,I=v,G=l,r1=t,l1=h,Y=V,w=A,s=c,O=o,E=Z,j=M,H1=!1;function Q(Z1){if(!H1)H1=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");return i1(Z1)||R(Z1)===e}function i1(Z1){return R(Z1)===m}function J(Z1){return R(Z1)===r}function X(Z1){return R(Z1)===v}function h1(Z1){return typeof Z1==="object"&&Z1!==null&&Z1.$$typeof===l}function B1(Z1){return R(Z1)===t}function Q1(Z1){return R(Z1)===h}function h0(Z1){return R(Z1)===V}function Q5(Z1){return R(Z1)===A}function r2(Z1){return R(Z1)===c}function e2(Z1){return R(Z1)===o}function J5(Z1){return R(Z1)===Z}function T5(Z1){return R(Z1)===M}qs.AsyncMode=x,qs.ConcurrentMode=S,qs.ContextConsumer=p,qs.ContextProvider=I,qs.Element=G,qs.ForwardRef=r1,qs.Fragment=l1,qs.Lazy=Y,qs.Memo=w,qs.Portal=s,qs.Profiler=O,qs.StrictMode=E,qs.Suspense=j,qs.isAsyncMode=Q,qs.isConcurrentMode=i1,qs.isContextConsumer=J,qs.isContextProvider=X,qs.isElement=h1,qs.isForwardRef=B1,qs.isFragment=Q1,qs.isLazy=h0,qs.isMemo=Q5,qs.isPortal=r2,qs.isProfiler=e2,qs.isStrictMode=J5,qs.isSuspense=T5,qs.isValidElementType=g,qs.typeOf=R})()});var ud=J2((Tv1,nd)=>{var id=Object.getOwnPropertySymbols,zs=Object.prototype.hasOwnProperty,Qs=Object.prototype.propertyIsEnumerable;function Js(a){if(a===null||a===void 0)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function Ks(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;var l={};for(var c=0;c<10;c++)l["_"+String.fromCharCode(c)]=c;var h=Object.getOwnPropertyNames(l).map(function(o){return l[o]});if(h.join("")!=="0123456789")return!1;var Z={};if("abcdefghijklmnopqrst".split("").forEach(function(o){Z[o]=o}),Object.keys(Object.assign({},Z)).join("")!=="abcdefghijklmnopqrst")return!1;return!0}catch(o){return!1}}nd.exports=Ks()?Object.assign:function(a,l){var c,h=Js(a),Z;for(var o=1;o<arguments.length;o++){c=Object(arguments[o]);for(var v in c)if(zs.call(c,v))h[v]=c[v];if(id){Z=id(c);for(var r=0;r<Z.length;r++)if(Qs.call(c,Z[r]))h[Z[r]]=c[Z[r]]}}return h}});var se=J2((Wv1,dd)=>{var Xs="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";dd.exports=Xs});var ke=J2((bv1,Ld)=>{Ld.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var Fd=J2((Iv1,Cd)=>{var Se=function(){};Be=se(),sl={},fe=ke(),Se=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};var Be,sl,fe;function gd(a,l,c,h,Z){for(var o in a)if(fe(a,o)){var v;try{if(typeof a[o]!=="function"){var r=Error((h||"React class")+": "+c+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw r.name="Invariant Violation",r}v=a[o](l,o,h,c,null,Be)}catch(m){v=m}if(v&&!(v instanceof Error))Se((h||"React class")+": type specification of "+c+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof v+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(v instanceof Error&&!(v.message in sl)){sl[v.message]=!0;var e=Z?Z():"";Se("Failed "+c+" type: "+v.message+(e!=null?e:""))}}}gd.resetWarningCache=function(){sl={}};Cd.exports=gd});var wd=J2((Uv1,pd)=>{var xd=G4(De(),1),Es=ud(),P6=se(),Te=ke(),Rd=Fd(),q6=function(){};q6=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};function FZ(){return null}pd.exports=function(a,l){var c=typeof Symbol==="function"&&Symbol.iterator,h="@@iterator";function Z(w){var s=w&&(c&&w[c]||w[h]);if(typeof s==="function")return s}var o="<<anonymous>>",v={array:t("array"),bigint:t("bigint"),bool:t("boolean"),func:t("function"),number:t("number"),object:t("object"),string:t("string"),symbol:t("symbol"),any:M(),arrayOf:H,element:A(),elementType:V(),instanceOf:i,node:g(),objectOf:d,oneOf:u,oneOfType:L,shape:x,exact:S};function r(w,s){if(w===s)return w!==0||1/w===1/s;else return w!==w&&s!==s}function e(w,s){this.message=w,this.data=s&&typeof s==="object"?s:{},this.stack=""}e.prototype=Error.prototype;function m(w){var s={},O=0;function E(H1,Q,i1,J,X,h1,B1){if(J=J||o,h1=h1||i1,B1!==P6){if(l){var Q1=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 Q1.name="Invariant Violation",Q1}else if(typeof console!=="undefined"){var h0=J+":"+i1;if(!s[h0]&&O<3)q6("You are manually calling a React.PropTypes validation function for the `"+h1+"` prop on `"+J+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),s[h0]=!0,O++}}if(Q[i1]==null){if(H1){if(Q[i1]===null)return new e("The "+X+" `"+h1+"` is marked as required "+("in `"+J+"`, but its value is `null`."));return new e("The "+X+" `"+h1+"` is marked as required in "+("`"+J+"`, but its value is `undefined`."))}return null}else return w(Q,i1,J,X,h1)}var j=E.bind(null,!1);return j.isRequired=E.bind(null,!0),j}function t(w){function s(O,E,j,H1,Q,i1){var J=O[E],X=G(J);if(X!==w){var h1=r1(J);return new e("Invalid "+H1+" `"+Q+"` of type "+("`"+h1+"` supplied to `"+j+"`, expected ")+("`"+w+"`."),{expectedType:w})}return null}return m(s)}function M(){return m(FZ)}function H(w){function s(O,E,j,H1,Q){if(typeof w!=="function")return new e("Property `"+Q+"` of component `"+j+"` has invalid PropType notation inside arrayOf.");var i1=O[E];if(!Array.isArray(i1)){var J=G(i1);return new e("Invalid "+H1+" `"+Q+"` of type "+("`"+J+"` supplied to `"+j+"`, expected an array."))}for(var X=0;X<i1.length;X++){var h1=w(i1,X,j,H1,Q+"["+X+"]",P6);if(h1 instanceof Error)return h1}return null}return m(s)}function A(){function w(s,O,E,j,H1){var Q=s[O];if(!a(Q)){var i1=G(Q);return new e("Invalid "+j+" `"+H1+"` of type "+("`"+i1+"` supplied to `"+E+"`, expected a single ReactElement."))}return null}return m(w)}function V(){function w(s,O,E,j,H1){var Q=s[O];if(!xd.isValidElementType(Q)){var i1=G(Q);return new e("Invalid "+j+" `"+H1+"` of type "+("`"+i1+"` supplied to `"+E+"`, expected a single ReactElement type."))}return null}return m(w)}function i(w){function s(O,E,j,H1,Q){if(!(O[E]instanceof w)){var i1=w.name||o,J=Y(O[E]);return new e("Invalid "+H1+" `"+Q+"` of type "+("`"+J+"` supplied to `"+j+"`, expected ")+("instance of `"+i1+"`."))}return null}return m(s)}function u(w){if(!Array.isArray(w)){if(arguments.length>1)q6("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).");else q6("Invalid argument supplied to oneOf, expected an array.");return FZ}function s(O,E,j,H1,Q){var i1=O[E];for(var J=0;J<w.length;J++)if(r(i1,w[J]))return null;var X=JSON.stringify(w,function h1(B1,Q1){var h0=r1(Q1);if(h0==="symbol")return String(Q1);return Q1});return new e("Invalid "+H1+" `"+Q+"` of value `"+String(i1)+"` "+("supplied to `"+j+"`, expected one of "+X+"."))}return m(s)}function d(w){function s(O,E,j,H1,Q){if(typeof w!=="function")return new e("Property `"+Q+"` of component `"+j+"` has invalid PropType notation inside objectOf.");var i1=O[E],J=G(i1);if(J!=="object")return new e("Invalid "+H1+" `"+Q+"` of type "+("`"+J+"` supplied to `"+j+"`, expected an object."));for(var X in i1)if(Te(i1,X)){var h1=w(i1,X,j,H1,Q+"."+X,P6);if(h1 instanceof Error)return h1}return null}return m(s)}function L(w){if(!Array.isArray(w))return q6("Invalid argument supplied to oneOfType, expected an instance of array."),FZ;for(var s=0;s<w.length;s++){var O=w[s];if(typeof O!=="function")return q6("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+l1(O)+" at index "+s+"."),FZ}function E(j,H1,Q,i1,J){var X=[];for(var h1=0;h1<w.length;h1++){var B1=w[h1],Q1=B1(j,H1,Q,i1,J,P6);if(Q1==null)return null;if(Q1.data&&Te(Q1.data,"expectedType"))X.push(Q1.data.expectedType)}var h0=X.length>0?", expected one of type ["+X.join(", ")+"]":"";return new e("Invalid "+i1+" `"+J+"` supplied to "+("`"+Q+"`"+h0+"."))}return m(E)}function g(){function w(s,O,E,j,H1){if(!p(s[O]))return new e("Invalid "+j+" `"+H1+"` supplied to "+("`"+E+"`, expected a ReactNode."));return null}return m(w)}function R(w,s,O,E,j){return new e((w||"React class")+": "+s+" type `"+O+"."+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+j+"`.")}function x(w){function s(O,E,j,H1,Q){var i1=O[E],J=G(i1);if(J!=="object")return new e("Invalid "+H1+" `"+Q+"` of type `"+J+"` "+("supplied to `"+j+"`, expected `object`."));for(var X in w){var h1=w[X];if(typeof h1!=="function")return R(j,H1,Q,X,r1(h1));var B1=h1(i1,X,j,H1,Q+"."+X,P6);if(B1)return B1}return null}return m(s)}function S(w){function s(O,E,j,H1,Q){var i1=O[E],J=G(i1);if(J!=="object")return new e("Invalid "+H1+" `"+Q+"` of type `"+J+"` "+("supplied to `"+j+"`, expected `object`."));var X=Es({},O[E],w);for(var h1 in X){var B1=w[h1];if(Te(w,h1)&&typeof B1!=="function")return R(j,H1,Q,h1,r1(B1));if(!B1)return new e("Invalid "+H1+" `"+Q+"` key `"+h1+"` supplied to `"+j+"`.\nBad object: "+JSON.stringify(O[E],null," ")+`
|
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(w),null," "));var Q1=B1(i1,h1,j,H1,Q+"."+h1,P6);if(Q1)return Q1}return null}return m(s)}function p(w){switch(typeof w){case"number":case"string":case"undefined":return!0;case"boolean":return!w;case"object":if(Array.isArray(w))return w.every(p);if(w===null||a(w))return!0;var s=Z(w);if(s){var O=s.call(w),E;if(s!==w.entries){while(!(E=O.next()).done)if(!p(E.value))return!1}else while(!(E=O.next()).done){var j=E.value;if(j){if(!p(j[1]))return!1}}}else return!1;return!0;default:return!1}}function I(w,s){if(w==="symbol")return!0;if(!s)return!1;if(s["@@toStringTag"]==="Symbol")return!0;if(typeof Symbol==="function"&&s instanceof Symbol)return!0;return!1}function G(w){var s=typeof w;if(Array.isArray(w))return"array";if(w instanceof RegExp)return"object";if(I(s,w))return"symbol";return s}function r1(w){if(typeof w==="undefined"||w===null)return""+w;var s=G(w);if(s==="object"){if(w instanceof Date)return"date";else if(w instanceof RegExp)return"regexp"}return s}function l1(w){var s=r1(w);switch(s){case"array":case"object":return"an "+s;case"boolean":case"date":case"regexp":return"a "+s;default:return s}}function Y(w){if(!w.constructor||!w.constructor.name)return o;return w.constructor.name}return v.checkPropTypes=Rd,v.resetWarningCache=Rd.resetWarningCache,v.PropTypes=v,v}});var sd=J2((Ov1,Dd)=>{var be=G4(De(),1);We=!0,Dd.exports=wd()(be.isElement,We);var We});var AC=J2((iB)=>{iB.__esModule=!0;iB.default=function(a,l){if(a&&l){var c=Array.isArray(l)?l:l.split(",");if(c.length===0)return!0;var h=a.name||"",Z=(a.type||"").toLowerCase(),o=Z.replace(/\/.*$/,"");return c.some(function(v){var r=v.trim().toLowerCase();if(r.charAt(0)===".")return h.toLowerCase().endsWith(r);else if(r.endsWith("/*"))return o===r.replace(/\/.*$/,"");return Z===r})}return!0}});C();function st(a){return{render:function(l){Sc(l,a)},unmount:function(){fc(a)}}}var vv=typeof window==="undefined"?global:window;function kt(a,l){if(!vv[Symbol.for("@griffel/"+a)])vv[Symbol.for("@griffel/"+a)]=l;return vv[Symbol.for("@griffel/"+a)]}var N7=/*@__PURE__*/kt("DEBUG_RESET_CLASSES",{}),j7=/*@__PURE__*/kt("DEFINITION_LOOKUP_TABLE",{}),z3="data-make-styles-bucket",rv="data-priority",w8="f",St="r",p8=7,K5="___",ev="_",Tc=K5.length+p8+ev.length+p8,Bt=0,mv=1,ft={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},K4="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Y2(a){var l=0,c,h=0,Z=a.length;for(;Z>=4;++h,Z-=4)c=a.charCodeAt(h)&255|(a.charCodeAt(++h)&255)<<8|(a.charCodeAt(++h)&255)<<16|(a.charCodeAt(++h)&255)<<24,c=(c&65535)*1540483477+((c>>>16)*59797<<16),c^=c>>>24,l=(c&65535)*1540483477+((c>>>16)*59797<<16)^(l&65535)*1540483477+((l>>>16)*59797<<16);switch(Z){case 3:l^=(a.charCodeAt(h+2)&255)<<16;case 2:l^=(a.charCodeAt(h+1)&255)<<8;case 1:l^=a.charCodeAt(h)&255,l=(l&65535)*1540483477+((l>>>16)*59797<<16)}return l^=l>>>13,l=(l&65535)*1540483477+((l>>>16)*59797<<16),((l^l>>>15)>>>0).toString(36)}function Tt(a){let l=a.length;if(l===p8)return a;for(let c=l;c<p8;c++)a+="0";return a}function Wc(a,l,c=[]){return K5+Tt(Y2(a+l))+ev+Tt(Y2(c.join("")))}function Mv(a,l){let c="",h="";for(let Z in a){let o=a[Z];if(o===0){h+=Z+" ";continue}let v=Array.isArray(o),r=l==="rtl"?(v?o[1]:o)+" ":(v?o[0]:o)+" ";c+=r,h+=r}return[c.slice(0,-1),h.slice(0,-1)]}function X4(a,l){let c={};for(let h in a){let[Z,o]=Mv(a[h],l);if(o===""){c[h]="";continue}let v=Wc(o,l),r=v+(Z===""?"":" "+Z);j7[v]=[a[h],l],c[h]=r}return c}var D8={};function k(){let a=null,l="",c="",h=new Array(arguments.length),Z="";for(let H=0;H<arguments.length;H++){let A=arguments[H];if(typeof A==="string"&&A!==""){let V=A.indexOf(K5);if(V===-1)A.split(" ").forEach((i)=>{if(i.startsWith(St)&&N7[i])if(Z)console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${A} & ${l}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
|
|
3
|
+
Source string: ${A}`);else Z=i}),l+=A+" ";else{let i=A.substr(V,Tc);if(V>0)l+=A.slice(0,V);c+=i,h[H]=i}if(A.indexOf(K5,V+1)!==-1)console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${K5}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${A}`)}}if(c==="")return l.slice(0,-1);let o=D8[c];if(o!==void 0)return l+o;let v=[];for(let H=0;H<arguments.length;H++){let A=h[H];if(A){let V=j7[A];if(V){if(v.push(V[Bt]),a!==null&&a!==V[mv])console.error(`mergeClasses(): a passed string contains an identifier (${A}) that has different direction (dir="${V[1]?"rtl":"ltr"}") setting than other classes. This is not supported. Source string: ${arguments[H]}`);a=V[mv]}else console.error(`mergeClasses(): a passed string contains an identifier (${A}) that does not match any entry in cache. Source string: ${arguments[H]}`)}}let r=Object.assign.apply(Object,[{}].concat(v)),[e,m]=Mv(r,a),t=Wc(m,a,h),M=t+" "+e;return D8[c]=M,j7[t]=[r,a],l+M}var Wt={},bt=/*@__PURE__*/new Set,X5={getChildrenSequences:(a)=>{let l=Object.keys(D8).find((c)=>D8[c].startsWith(a));if(l)return l.split(K5).filter((c)=>c.length).map((c)=>K5+c);return[]},addCSSRule:(a)=>{bt.add(a)},addSequenceDetails:(a,l)=>{Object.entries(a).forEach(([c,h])=>{Wt[h.substring(0,Tc)]={slotName:c,sourceURL:l}})},getCSSRules:()=>{return Array.from(bt)},getSequenceDetails:(a)=>{return Wt[a]}};function It(a,l){return Array.isArray(a)?l==="rtl"?a[1]:a[0]:a||""}function Ut(a,l,c,h){let Z=a[0],o=a[1];return Object.entries(Z).map(([v,r])=>{let e=It(r,o),m;if(c&&l){let t=c.find(({className:M})=>M===e);if(!t&&l[0][v])m=It(l[0][v],l[1]);else if(t&&l[0][v])m=(h?h.filter(({debugClassNames:H})=>H.filter(({className:A})=>A===e).length>0).length>0:!1)?t.className:t.overriddenBy;else if(!t&&!l[0][v])m=void 0;else if(t&&!l[0][v])m=void 0}return{className:e,overriddenBy:m}})}function tv(a,l){let c=j7[a];if(c===void 0)return;let h=l?j7[l.sequenceHash]:void 0,Z=Ut(c,h,l===null||l===void 0?void 0:l.debugClassNames,l===null||l===void 0?void 0:l.children),o={sequenceHash:a,direction:c[1],children:[],debugClassNames:Z};if(X5.getChildrenSequences(o.sequenceHash).reverse().forEach((r)=>{let e=tv(r,o);if(e)o.children.push(e)}),!o.children.length)o.rules={},o.debugClassNames.forEach(({className:r})=>{let e=X5.getSequenceDetails(a);if(e)o.slot=e.slotName,o.sourceURL=e.sourceURL;let m=X5.getCSSRules().find((t)=>{return t.includes(r)});o.rules[r]=m});return o}function Ot(a){if(N7[a]===void 0)return;let h={sequenceHash:a,direction:"ltr",children:[],debugClassNames:[{className:a}]};h.rules={},h.slot="makeResetStyles()";let[{className:Z}]=h.debugClassNames,o=X5.getCSSRules().filter((v)=>{return v.includes(`.${Z}`)});return h.rules[Z]=o.join(""),h}function Gt(a,l){let c=a?tv(a):void 0,h=l?Ot(l):void 0;if(!c&&!h)return;if(!c)return h;if(!h)return c;return{sequenceHash:c.sequenceHash+h.sequenceHash,direction:c.direction,children:[c,h],debugClassNames:[...c.debugClassNames,...h.debugClassNames]}}function Pt(a){let l=a.defaultView;if(!l||l.__GRIFFEL_DEVTOOLS__)return;let c={getInfo:(h)=>{let Z,o;for(let v of h.classList){if(v.startsWith(K5))Z=v;if(N7[v])o=v}return Gt(Z,o)}};Object.defineProperty(l,"__GRIFFEL_DEVTOOLS__",{configurable:!1,enumerable:!1,get(){return c}})}var g7=/*@__PURE__*/(()=>{var a;try{return Boolean(typeof window!=="undefined"&&((a=window.sessionStorage)===null||a===void 0?void 0:a.getItem("__GRIFFEL_DEVTOOLS__")))}catch(l){return!1}})();function qt(a){if(!Array.isArray(a))return[a];if(a.length>2)throw new Error("CSS Bucket contains an entry with greater than 2 items, please report this to https://github.com/microsoft/griffel/issues");return a}function zt(a,l,c,h){let Z=[];if(h[z3]=l,h[rv]=String(c),a)for(let v in h)a.setAttribute(v,h[v]);function o(v){if(a===null||a===void 0?void 0:a.sheet)return a.sheet.insertRule(v,a.sheet.cssRules.length);return Z.push(v)}return{elementAttributes:h,insertRule:o,element:a,bucketName:l,cssRules(){if(a===null||a===void 0?void 0:a.sheet)return Array.from(a.sheet.cssRules).map((v)=>v.cssText);return Z}}}var IF=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],Qt=/*@__PURE__*/IF.reduce((a,l,c)=>{return a[l]=c,a},{});function UF(a,l,c){return(a==="m"?a+l:a)+c}function Jt(a,l,c,h,Z={}){var o,v;let r=a==="m",e=(o=Z.m)!==null&&o!==void 0?o:"0",m=(v=Z.p)!==null&&v!==void 0?v:0,t=UF(a,e,m);if(!h.stylesheets[t]){let M=l&&l.createElement("style"),H=zt(M,a,m,Object.assign({},h.styleElementAttributes,r&&{media:e}));if(h.stylesheets[t]=H,(l===null||l===void 0?void 0:l.head)&&M)l.head.insertBefore(M,GF(l,c,a,h,Z))}return h.stylesheets[t]}function OF(a,l,c){var h,Z;let o=l+((h=c.m)!==null&&h!==void 0?h:""),v=a.getAttribute(z3)+((Z=a.media)!==null&&Z!==void 0?Z:"");return o===v}function GF(a,l,c,h,Z={}){var o,v;let r=Qt[c],e=(o=Z.m)!==null&&o!==void 0?o:"",m=(v=Z.p)!==null&&v!==void 0?v:0,t=(i)=>r-Qt[i.getAttribute(z3)],M=a.head.querySelectorAll(`[${z3}]`);if(c==="m"){let i=a.head.querySelectorAll(`[${z3}="${c}"]`);if(i.length)M=i,t=(u)=>h.compareMediaQueries(e,u.media)}let H=(i)=>{if(OF(i,c,Z))return m-Number(i.getAttribute("data-priority"));return t(i)},A=M.length,V=A-1;while(V>=0){let i=M.item(V);if(H(i)>0)return i.nextSibling;V--}if(A>0)return M.item(0);return l?l.nextSibling:null}var PF=/*@__PURE__*/["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),qF=/*@__PURE__*/new RegExp(`:(${PF})`);function Hv(a,l){try{a.insertRule(l)}catch(c){if(!qF.test(l))console.error(`There was a problem inserting the following rule: "${l}"`,c)}}var zF=0,Kt=(a,l)=>a<l?-1:a>l?1:0;function s8(a=typeof document==="undefined"?void 0:document,l={}){let{classNameHashSalt:c,unstable_filterCSSRule:h,insertionPoint:Z,styleElementAttributes:o,compareMediaQueries:v=Kt}=l,r={classNameHashSalt:c,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(o),compareMediaQueries:v,id:`d${zF++}`,insertCSSRules(e){for(let m in e){let t=e[m];for(let M=0,H=t.length;M<H;M++){let[A,V]=qt(t[M]),i=Jt(m,a,Z||null,r,V);if(r.insertionCache[A])continue;if(r.insertionCache[A]=m,g7)X5.addCSSRule(A);if(h){if(h(A))Hv(i,A)}else Hv(i,A)}}}};if(a&&!0&&g7)Pt(a);return r}function Xt(a){return XF(a)||YF(a)||NF(a)}var QF=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i,JF=/^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i,KF=/\((\S*)\)/;function XF(a){let l=QF.exec(a)||JF.exec(a);if(!l)return null;let c=l[2],h=c&&c.indexOf("native")===0,Z=c&&c.indexOf("eval")===0,o=KF.exec(c);if(Z&&o!=null)c=o[1];return{loc:!h?l[2]:null,name:l[1]||"<unknown>"}}var EF=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i,$F=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function YF(a){let l=EF.exec(a);if(!l)return null;let c=l[3],h=c&&c.indexOf(" > eval")>-1,Z=$F.exec(c);if(h&&Z!=null)c=Z[1];return{loc:l[3],name:l[1]||"<unknown>"}}var yF=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;function NF(a){let l=yF.exec(a);if(!l)return null;return{loc:l[3],name:l[1]||"<unknown>"}}function bc(){let a=String(new Error().stack).split(`
|
|
4
|
+
`),l=jF(a);if(l===void 0)return;let c=Xt(l);return c===null||c===void 0?void 0:c.loc}function jF(a){for(let l=a.length-1;l>=0;--l)if(a[l].includes("at getSourceURLfromError"))return a[l+3];return}var E4=()=>{let a={};return function l(c,h){if(a[c.id]===void 0)c.insertCSSRules(h),a[c.id]=!0}};function iv(a){return a.reduce(function(l,c){var h=c[0],Z=c[1];return l[h]=Z,l[Z]=h,l},{})}function Et(a){return typeof a==="boolean"}function $t(a){return typeof a==="function"}function $4(a){return typeof a==="number"}function Yt(a){return a===null||typeof a==="undefined"}function yt(a){return a&&typeof a==="object"}function Nt(a){return typeof a==="string"}function k8(a,l){return a.indexOf(l)!==-1}function jt(a){if(parseFloat(a)===0)return a;if(a[0]==="-")return a.slice(1);return"-"+a}function Y4(a,l,c,h){return l+jt(c)+h}function _t(a){var l=a.indexOf(".");if(l===-1)a=100-parseFloat(a)+"%";else{var c=a.length-l-2;a=100-parseFloat(a),a=a.toFixed(c)+"%"}return a}function nv(a){return a.replace(/ +/g," ").split(" ").map(function(l){return l.trim()}).filter(Boolean).reduce(function(l,c){var{list:h,state:Z}=l,o=(c.match(/\(/g)||[]).length,v=(c.match(/\)/g)||[]).length;if(Z.parensDepth>0)h[h.length-1]=h[h.length-1]+" "+c;else h.push(c);return Z.parensDepth+=o-v,{list:h,state:Z}},{list:[],state:{parensDepth:0}}).list}function Av(a){var l=nv(a);if(l.length<=3||l.length>4)return a;var c=l[0],h=l[1],Z=l[2],o=l[3];return[c,o,Z,h].join(" ")}function aH(a){return!Et(a)&&!Yt(a)}function lH(a){var l=[],c=0,h=0,Z=!1;while(h<a.length)if(!Z&&a[h]===",")l.push(a.substring(c,h).trim()),h++,c=h;else if(a[h]==="(")Z=!0,h++;else if(a[h]===")")Z=!1,h++;else h++;if(c!=h)l.push(a.substring(c,h+1));return l}var W={padding:function a(l){var c=l.value;if($4(c))return c;return Av(c)},textShadow:function a(l){var c=l.value,h=lH(c).map(function(Z){return Z.replace(/(^|\s)(-*)([.|\d]+)/,function(o,v,r,e){if(e==="0")return o;var m=r===""?"-":"";return""+v+m+e})});return h.join(",")},borderColor:function a(l){var c=l.value;return Av(c)},borderRadius:function a(l){var c=l.value;if($4(c))return c;if(k8(c,"/")){var h=c.split("/"),Z=h[0],o=h[1],v=W.borderRadius({value:Z.trim()}),r=W.borderRadius({value:o.trim()});return v+" / "+r}var e=nv(c);switch(e.length){case 2:return e.reverse().join(" ");case 4:{var m=e[0],t=e[1],M=e[2],H=e[3];return[t,m,H,M].join(" ")}default:return c}},background:function a(l){var{value:c,valuesToConvert:h,isRtl:Z,bgImgDirectionRegex:o,bgPosDirectionRegex:v}=l;if($4(c))return c;var r=c.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return c=c.replace(r,W.backgroundPosition({value:r,valuesToConvert:h,isRtl:Z,bgPosDirectionRegex:v})),W.backgroundImage({value:c,valuesToConvert:h,bgImgDirectionRegex:o})},backgroundImage:function a(l){var{value:c,valuesToConvert:h,bgImgDirectionRegex:Z}=l;if(!k8(c,"url(")&&!k8(c,"linear-gradient("))return c;return c.replace(Z,function(o,v,r){return o.replace(r,h[r])})},backgroundPosition:function a(l){var{value:c,valuesToConvert:h,isRtl:Z,bgPosDirectionRegex:o}=l;return c.replace(Z?/^((-|\d|\.)+%)/:null,function(v,r){return _t(r)}).replace(o,function(v){return h[v]})},backgroundPositionX:function a(l){var{value:c,valuesToConvert:h,isRtl:Z,bgPosDirectionRegex:o}=l;if($4(c))return c;return W.backgroundPosition({value:c,valuesToConvert:h,isRtl:Z,bgPosDirectionRegex:o})},transition:function a(l){var{value:c,propertiesToConvert:h}=l;return c.split(/,\s*/g).map(function(Z){var o=Z.split(" ");return o[0]=h[o[0]]||o[0],o.join(" ")}).join(", ")},transitionProperty:function a(l){var{value:c,propertiesToConvert:h}=l;return c.split(/,\s*/g).map(function(Z){return h[Z]||Z}).join(", ")},transform:function a(l){var c=l.value,h="[^\\u0020-\\u007e]",Z="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",o="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+h+"|"+Z+")")+("(?:[_a-z0-9-]|"+h+"|"+Z+")")+"*")+")?")+")|(?:inherit|auto))",v=new RegExp("(translateX\\s*\\(\\s*)"+o+"(\\s*\\))","gi"),r=new RegExp("(translate\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,1}\\s*\\))","gi"),e=new RegExp("(translate3d\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,2}\\s*\\))","gi"),m=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+o+"(\\s*\\))","gi");return c.replace(v,Y4).replace(r,Y4).replace(e,Y4).replace(m,Y4)}};W.objectPosition=W.backgroundPosition;W.margin=W.padding;W.borderWidth=W.padding;W.boxShadow=W.textShadow;W.webkitBoxShadow=W.boxShadow;W.mozBoxShadow=W.boxShadow;W.WebkitBoxShadow=W.boxShadow;W.MozBoxShadow=W.boxShadow;W.borderStyle=W.borderColor;W.webkitTransform=W.transform;W.mozTransform=W.transform;W.WebkitTransform=W.transform;W.MozTransform=W.transform;W.transformOrigin=W.backgroundPosition;W.webkitTransformOrigin=W.transformOrigin;W.mozTransformOrigin=W.transformOrigin;W.WebkitTransformOrigin=W.transformOrigin;W.MozTransformOrigin=W.transformOrigin;W.webkitTransition=W.transition;W.mozTransition=W.transition;W.WebkitTransition=W.transition;W.MozTransition=W.transition;W.webkitTransitionProperty=W.transitionProperty;W.mozTransitionProperty=W.transitionProperty;W.WebkitTransitionProperty=W.transitionProperty;W.MozTransitionProperty=W.transitionProperty;W["text-shadow"]=W.textShadow;W["border-color"]=W.borderColor;W["border-radius"]=W.borderRadius;W["background-image"]=W.backgroundImage;W["background-position"]=W.backgroundPosition;W["background-position-x"]=W.backgroundPositionX;W["object-position"]=W.objectPosition;W["border-width"]=W.padding;W["box-shadow"]=W.textShadow;W["-webkit-box-shadow"]=W.textShadow;W["-moz-box-shadow"]=W.textShadow;W["border-style"]=W.borderColor;W["-webkit-transform"]=W.transform;W["-moz-transform"]=W.transform;W["transform-origin"]=W.transformOrigin;W["-webkit-transform-origin"]=W.transformOrigin;W["-moz-transform-origin"]=W.transformOrigin;W["-webkit-transition"]=W.transition;W["-moz-transition"]=W.transition;W["transition-property"]=W.transitionProperty;W["-webkit-transition-property"]=W.transitionProperty;W["-moz-transition-property"]=W.transitionProperty;var uv=iv([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),cH=["content"],Vv=iv([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),_F=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),aR=new RegExp("(left)|(right)");function Ic(a){return Object.keys(a).reduce(function(l,c){var h=a[c];if(Nt(h))h=h.trim();if(k8(cH,c))return l[c]=h,l;var Z=S8(c,h),o=Z.key,v=Z.value;return l[o]=v,l},Array.isArray(a)?[]:{})}function S8(a,l){var c=/\/\*\s?@noflip\s?\*\//.test(l),h=c?a:hH(a),Z=c?l:ZH(h,l);return{key:h,value:Z}}function hH(a){return uv[a]||a}function ZH(a,l){if(!aH(l))return l;if(yt(l))return Ic(l);var c=$4(l),h=$t(l),Z=c||h?l:l.replace(/ !important.*?$/,""),o=!c&&Z.length!==l.length,v=W[a],r;if(v)r=v({value:Z,valuesToConvert:Vv,propertiesToConvert:uv,isRtl:!0,bgImgDirectionRegex:_F,bgPosDirectionRegex:aR});else r=Vv[Z]||Z;if(o)return r+" !important";return r}var lR=/[A-Z]/g,cR=/^ms-/,dv={};function hR(a){return"-"+a.toLowerCase()}function _7(a){if(Object.prototype.hasOwnProperty.call(dv,a))return dv[a];if(a.substr(0,2)==="--")return a;let l=a.replace(lR,hR);return dv[a]=cR.test(l)?"-"+l:l}function Uc(a){if(a.charAt(0)==="&")return a.slice(1);return a}var y4="-moz-",E5="-webkit-",Oc="comm",a3="rule",N4="decl";var oH="@media",vH="@import";var rH="@supports";var eH="@namespace",mH="@keyframes";var Gc="@layer";var Lv=Math.abs,j4=String.fromCharCode,gv=Object.assign;function MH(a,l){return x0(a,0)^45?(((l<<2^x0(a,0))<<2^x0(a,1))<<2^x0(a,2))<<2^x0(a,3):0}function Pc(a){return a.trim()}function qc(a,l){return(a=l.exec(a))?a[0]:a}function X0(a,l,c){return a.replace(l,c)}function zc(a,l,c){return a.indexOf(l,c)}function x0(a,l){return a.charCodeAt(l)|0}function C7(a,l,c){return a.slice(l,c)}function Z5(a){return a.length}function Qc(a){return a.length}function F7(a,l){return l.push(a),a}function Cv(a,l){return a.map(l).join("")}var Jc=1,_4=1,tH=0,I5=0,e0=0,a6="";function B8(a,l,c,h,Z,o,v,r){return{value:a,root:l,parent:c,type:h,props:Z,children:o,line:Jc,column:_4,length:v,return:"",siblings:r}}function Kc(a,l){return gv(B8("",null,null,"",null,null,0,a.siblings),a,{length:-a.length},l)}function HH(){return e0}function AH(){if(e0=I5>0?x0(a6,--I5):0,_4--,e0===10)_4=1,Jc--;return e0}function U5(){if(e0=I5<tH?x0(a6,I5++):0,_4++,e0===10)_4=1,Jc++;return e0}function R7(){return x0(a6,I5)}function f8(){return I5}function Xc(a,l){return C7(a6,a,l)}function Q3(a){switch(a){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Rv(a){return Jc=_4=1,tH=Z5(a6=a),I5=0,[]}function xv(a){return a6="",a}function T8(a){return Pc(Xc(I5-1,Fv(a===91?a+2:a===40?a+1:a)))}function VH(a){return xv(ZR(Rv(a)))}function iH(a){while(e0=R7())if(e0<33)U5();else break;return Q3(a)>2||Q3(e0)>3?"":" "}function ZR(a){while(U5())switch(Q3(e0)){case 0:F7(pv(I5-1),a);break;case 2:F7(T8(e0),a);break;default:F7(j4(e0),a)}return a}function nH(a,l){while(--l&&U5())if(e0<48||e0>102||e0>57&&e0<65||e0>70&&e0<97)break;return Xc(a,f8()+(l<6&&R7()==32&&U5()==32))}function Fv(a){while(U5())switch(e0){case a:return I5;case 34:case 39:if(a!==34&&a!==39)Fv(e0);break;case 40:if(a===41)Fv(a);break;case 92:U5();break}return I5}function uH(a,l){while(U5())if(a+e0===57)break;else if(a+e0===84&&R7()===47)break;return"/*"+Xc(l,I5-1)+"*"+j4(a===47?a:U5())}function pv(a){while(!Q3(R7()))U5();return Xc(a,I5)}function $c(a){return xv(Ec("",null,null,null,[""],a=Rv(a),0,[0],a))}function Ec(a,l,c,h,Z,o,v,r,e){var m=0,t=0,M=v,H=0,A=0,V=0,i=1,u=1,d=1,L=0,g="",R=Z,x=o,S=h,p=g;while(u)switch(V=L,L=U5()){case 40:if(V!=108&&x0(p,M-1)==58){if(zc(p+=X0(T8(L),"&","&\f"),"&\f",Lv(m?r[m-1]:0))!=-1)d=-1;break}case 34:case 39:case 91:p+=T8(L);break;case 9:case 10:case 13:case 32:p+=iH(V);break;case 92:p+=nH(f8()-1,7);continue;case 47:switch(R7()){case 42:case 47:if(F7(oR(uH(U5(),f8()),l,c,e),e),(Q3(V||1)==5||Q3(R7()||1)==5)&&Z5(p)&&C7(p,-1,void 0)!==" ")p+=" ";break;default:p+="/"}break;case 123*i:r[m++]=Z5(p)*d;case 125*i:case 59:case 0:switch(L){case 0:case 125:u=0;case 59+t:if(d==-1)p=X0(p,/\f/g,"");if(A>0&&(Z5(p)-M||i===0&&V===47))F7(A>32?LH(p+";",h,c,M-1,e):LH(X0(p," ","")+";",h,c,M-2,e),e);break;case 59:p+=";";default:if(F7(S=dH(p,l,c,m,t,Z,r,g,R=[],x=[],M,o),o),L===123)if(t===0)Ec(p,l,S,S,R,o,M,r,x);else{switch(H){case 99:if(x0(p,3)===110)break;case 108:if(x0(p,2)===97)break;default:t=0;case 100:case 109:case 115:}if(t)Ec(a,S,S,h&&F7(dH(a,S,S,0,0,Z,r,g,Z,R=[],M,x),x),Z,x,M,r,h?R:x);else Ec(p,S,S,S,[""],x,0,r,x)}}m=t=A=0,i=d=1,g=p="",M=v;break;case 58:M=1+Z5(p),A=V;default:if(i<1){if(L==123)--i;else if(L==125&&i++==0&&AH()==125)continue}switch(p+=j4(L),L*i){case 38:d=t>0?1:(p+="\f",-1);break;case 44:r[m++]=(Z5(p)-1)*d,d=1;break;case 64:if(R7()===45)p+=T8(U5());H=R7(),t=M=Z5(g=p+=pv(f8())),L++;break;case 45:if(V===45&&Z5(p)==2)i=0}}return o}function dH(a,l,c,h,Z,o,v,r,e,m,t,M){var H=Z-1,A=Z===0?o:[""],V=Qc(A);for(var i=0,u=0,d=0;i<h;++i)for(var L=0,g=C7(a,H+1,H=Lv(u=v[i])),R=a;L<V;++L)if(R=Pc(u>0?A[L]+" "+g:X0(g,/&\f/g,A[L])))e[d++]=R;return B8(a,l,c,Z===0?a3:r,e,m,t,M)}function oR(a,l,c,h){return B8(a,l,c,Oc,j4(HH()),C7(a,2,-2),0,h)}function LH(a,l,c,h,Z){return B8(a,l,c,N4,C7(a,0,h),C7(a,h+1,-1),h,Z)}function x7(a,l){var c="";for(var h=0;h<a.length;h++)c+=l(a[h],h,a,l)||"";return c}function Yc(a,l,c,h){switch(a.type){case Gc:if(a.children.length)break;case vH:case eH:case N4:return a.return=a.return||a.value;case Oc:return"";case mH:return a.return=a.value+"{"+x7(a.children,h)+"}";case a3:if(!Z5(a.value=a.props.join(",")))return""}return Z5(c=x7(a.children,h))?a.return=a.value+"{"+c+"}":""}function yc(a){var l=Qc(a);return function(c,h,Z,o){var v="";for(var r=0;r<l;r++)v+=a[r](c,h,Z,o)||"";return v}}function Nc(a){return function(l){if(!l.root){if(l=l.return)a(l)}}}var gH=(a)=>{switch(a.type){case a3:if(typeof a.props==="string")throw new Error(`"element.props" has type "string" (${JSON.stringify(a.props,null,2)}), it's not expected. Please report a bug if it happens.`);a.props=a.props.map((l)=>{if(l.indexOf(":global(")===-1)return l;return VH(l).reduce((c,h,Z,o)=>{if(h==="")return c;if(h===":"&&o[Z+1]==="global"){let v=o[Z+2].slice(1,-1)+" ";return c.unshift(v),o[Z+1]="",o[Z+2]="",c}return c.push(h),c},[]).join("")})}};function CH(a,l,c){switch(MH(a,l)){case 5103:return E5+"print-"+a+a;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return E5+a+a;case 4215:if(x0(a,9)===102)return E5+a+a;if(x0(a,l+1)===116)return E5+a+a;break;case 4789:return y4+a+a;case 5349:case 4246:case 6968:return E5+a+y4+a+a;case 6187:if(!qc(a,/grab/))return X0(X0(X0(a,/(zoom-|grab)/,E5+"$1"),/(image-set)/,E5+"$1"),a,"")+a;case 5495:case 3959:return X0(a,/(image-set\([^]*)/,E5+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return X0(a,/(.+)-inline(.+)/,E5+"$1$2")+a;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Z5(a)-1-l>6)switch(x0(a,l+1)){case 102:if(x0(a,l+3)===108)return X0(a,/(.+:)(.+)-([^]+)/,"$1"+E5+"$2-$3$1"+y4+(x0(a,l+3)==108?"$3":"$2-$3"))+a;case 115:return~zc(a,"stretch")?CH(X0(a,"stretch","fill-available"),l)+a:a}break}return a}function jc(a,l,c,h){if(a.length>-1){if(!a.return)switch(a.type){case N4:a.return=CH(a.value,a.length);return;case a3:if(a.length)return Cv(a.props,function(Z){switch(qc(Z,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return x7([Kc(a,{props:[X0(Z,/:(read-\w+)/,":"+y4+"$1")]})],h);case"::placeholder":return x7([Kc(a,{props:[X0(Z,/:(plac\w+)/,":"+E5+"input-$1")]}),Kc(a,{props:[X0(Z,/:(plac\w+)/,":"+y4+"$1")]})],h)}return""})}}return}function FH(a){switch(a.type){case"@container":case oH:case rH:case Gc:return!0}return!1}var RH=(a)=>{if(FH(a)&&Array.isArray(a.children))a.children.sort((l,c)=>l.props[0]>c.props[0]?1:-1)};function vR(){}function xH(a,l){let c=[];return x7($c(a),yc([gH,l?RH:vR,jc,Yc,Nc((h)=>c.push(h))])),c}var rR=/,( *[^ &])/g;function eR(a){return"&"+Uc(a.replace(rR,",&$1"))}function pH(a,l,c){let h=l;if(c.length>0)h=c.reduceRight((Z,o)=>{return`${eR(o)} { ${Z} }`},l);return`${a}{${h}}`}function wv(a,l){let{className:c,selectors:h,property:Z,rtlClassName:o,rtlProperty:v,rtlValue:r,value:e}=a,{container:m,layer:t,media:M,supports:H}=l,A=`.${c}`,V=Array.isArray(e)?`${e.map((u)=>`${_7(Z)}: ${u}`).join(";")};`:`${_7(Z)}: ${e};`,i=pH(A,V,h);if(v&&o){let u=`.${o}`,d=Array.isArray(r)?`${r.map((L)=>`${_7(v)}: ${L}`).join(";")};`:`${_7(v)}: ${r};`;i+=pH(u,d,h)}if(M)i=`@media ${M} { ${i} }`;if(t)i=`@layer ${t} { ${i} }`;if(H)i=`@supports ${H} { ${i} }`;if(m)i=`@container ${m} { ${i} }`;return xH(i,!0)}function wH(a){let l="";for(let c in a){let h=a[c];if(typeof h==="string"||typeof h==="number"){l+=_7(c)+":"+h+";";continue}if(Array.isArray(h))for(let Z of h)l+=_7(c)+":"+Z+";"}return l}function Dv(a){let l="";for(let c in a)l+=`${c}{${wH(a[c])}}`;return l}function sv(a,l){let c=`@keyframes ${a} {${l}}`,h=[];return x7($c(c),yc([Yc,jc,Nc((Z)=>h.push(Z))])),h}var DH={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function kv(a,l){if(a.length===0)return l;return`${a} and ${l}`}function sH(a){return a.substr(0,6)==="@media"}function kH(a){return a.substr(0,6)==="@layer"}var mR=/^(:|\[|>|&)/;function SH(a){return mR.test(a)}function BH(a){return a.substr(0,9)==="@supports"}function fH(a){return a.substring(0,10)==="@container"}function TH(a){return a!=null&&typeof a==="object"&&Array.isArray(a)===!1}var WH={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function Sv(a,l){if(l.media)return"m";if(l.layer||l.supports)return"t";if(l.container)return"c";if(a.length>0){let c=a[0].trim();if(c.charCodeAt(0)===58)return WH[c.slice(4,8)]||WH[c.slice(3,5)]||"d"}return"d"}function _c(a,l){return a?l+a:a}function Bv(a){return _c(a.container,"c")+_c(a.media,"m")+_c(a.layer,"l")+_c(a.supports,"s")}function ah(a,l,c){let h=a+Bv(c)+l,Z=Y2(h),o=Z.charCodeAt(0);if(o>=48&&o<=57)return String.fromCharCode(o+17)+Z.slice(1);return Z}function W8({property:a,selector:l,salt:c,value:h},Z){return w8+Y2(c+l+Bv(Z)+a+h.trim())}function bH(a){return a===K4}function lh(a){return a.replace(/>\s+/g,">")}function ch(...a){if(typeof document!=="undefined")console.error(...a)}function IH(a,l){ch(/*@__PURE__*/(()=>{let h=JSON.stringify(l,null,2),Z=["@griffel/react: A rule was not resolved to CSS properly. Please check your `makeStyles` or `makeResetStyles` calls for following:"," ".repeat(2)+"makeStyles({"," ".repeat(4)+"[slot]: {"," ".repeat(6)+`"${a}": ${h.split(`
|
|
5
|
+
`).map((o,v)=>" ".repeat(v===0?0:6)+o).join(`
|
|
6
|
+
`)}`," ".repeat(4)+"}"," ".repeat(2)+"})",""];if(a.indexOf("&")===-1)Z.push("It looks that you're are using a nested selector, but it is missing an ampersand placeholder where the generated class name should be injected."),Z.push(`Try to update a property to include it i.e "${a}" => "&${a}".`);else Z.push(""),Z.push("If it's not obvious what triggers a problem, please report an issue at https://github.com/microsoft/griffel/issues");return Z.join(`
|
|
7
|
+
`)})())}function UH(a,l){ch(/*@__PURE__*/(()=>[`@griffel/react: You are using unsupported shorthand CSS property "${a}". Please check your "makeStyles" calls, there *should not* be following:`," ".repeat(2)+"makeStyles({"," ".repeat(4)+`[slot]: { ${a}: "${l}" }`," ".repeat(2)+"})","","Learn why CSS shorthands are not supported: https://aka.ms/griffel-css-shorthands"].join(`
|
|
8
|
+
`))())}function OH(a){return DH[a]}function GH(a){var l;return(l=a===null||a===void 0?void 0:a[0])!==null&&l!==void 0?l:0}function fv(a,l,c,h){a[l]=h?[c,h]:c}function PH(a,l){if(l.length>0)return[a,Object.fromEntries(l)];return a}function Tv(a,l,c,h,Z,o){var v;let r=[];if(o!==0)r.push(["p",o]);if(l==="m"&&Z)r.push(["m",Z]);if((v=a[l])!==null&&v!==void 0||(a[l]=[]),c)a[l].push(PH(c,r));if(h)a[l].push(PH(h,r))}function y2(a,l="",c=[],h={container:"",layer:"",media:"",supports:""},Z={},o={},v){for(let r in a){if(ft.hasOwnProperty(r)){UH(r,a[r]);continue}let e=a[r];if(e==null)continue;if(bH(e)){let m=lh(c.join("")),t=ah(m,r,h);fv(Z,t,0,void 0);continue}if(typeof e==="string"||typeof e==="number"){let m=lh(c.join("")),t=OH(r);if(t){let R=t[1],x=Object.fromEntries(R.map((S)=>[S,K4]));y2(x,l,c,h,Z,o)}let M=ah(m,r,h),H=W8({value:e.toString(),salt:l,selector:m,property:r},h),A=v&&{key:r,value:v}||S8(r,e),V=A.key!==r||A.value!==e,i=V?W8({value:A.value.toString(),property:A.key,salt:l,selector:m},h):void 0,u=V?{rtlClassName:i,rtlProperty:A.key,rtlValue:A.value}:void 0,d=Sv(c,h),[L,g]=wv(Object.assign({className:H,selectors:c,property:r,value:e},u),h);fv(Z,M,H,i),Tv(o,d,L,g,h.media,GH(t))}else if(r==="animationName"){let m=Array.isArray(e)?e:[e],t=[],M=[];for(let H of m){let A=Dv(H),V=Dv(Ic(H)),i=w8+Y2(A),u,d=sv(i,A),L=[];if(A===V)u=i;else u=w8+Y2(V),L=sv(u,V);for(let g=0;g<d.length;g++)Tv(o,"k",d[g],L[g],h.media,0);t.push(i),M.push(u)}y2({animationName:t.join(", ")},l,c,h,Z,o,M.join(", "))}else if(Array.isArray(e)){if(e.length===0){console.warn(`makeStyles(): An empty array was passed as input to "${r}", the property will be omitted in the styles.`);continue}let m=lh(c.join("")),t=OH(r);if(t){let x=t[1],S=Object.fromEntries(x.map((p)=>[p,K4]));y2(S,l,c,h,Z,o)}let M=ah(m,r,h),H=W8({value:e.map((x)=>(x!==null&&x!==void 0?x:"").toString()).join(";"),salt:l,selector:m,property:r},h),A=e.map((x)=>S8(r,x));if(!!A.some((x)=>x.key!==A[0].key)){console.error("makeStyles(): mixing CSS fallback values which result in multiple CSS properties in RTL is not supported.");continue}let i=A[0].key!==r||A.some((x,S)=>x.value!==e[S]),u=i?W8({value:A.map((x)=>{var S;return((S=x===null||x===void 0?void 0:x.value)!==null&&S!==void 0?S:"").toString()}).join(";"),salt:l,property:A[0].key,selector:m},h):void 0,d=i?{rtlClassName:u,rtlProperty:A[0].key,rtlValue:A.map((x)=>x.value)}:void 0,L=Sv(c,h),[g,R]=wv(Object.assign({className:H,selectors:c,property:r,value:e},d),h);fv(Z,M,H,u),Tv(o,L,g,R,h.media,GH(t))}else if(TH(e))if(SH(r))y2(e,l,c.concat(Uc(r)),h,Z,o);else if(sH(r)){let m=kv(h.media,r.slice(6).trim());y2(e,l,c,Object.assign({},h,{media:m}),Z,o)}else if(kH(r)){let m=(h.layer?`${h.layer}.`:"")+r.slice(6).trim();y2(e,l,c,Object.assign({},h,{layer:m}),Z,o)}else if(BH(r)){let m=kv(h.supports,r.slice(9).trim());y2(e,l,c,Object.assign({},h,{supports:m}),Z,o)}else if(fH(r)){let m=r.slice(10).trim();y2(e,l,c,Object.assign({},h,{container:m}),Z,o)}else IH(r,e)}return[Z,o]}function qH(a,l=""){let c={},h={};for(let Z in a){let o=a[Z],[v,r]=y2(o,l);c[Z]=v,Object.keys(r).forEach((e)=>{h[e]=(h[e]||[]).concat(r[e])})}return[c,h]}function Wv(a,l=E4){let c=l(),h=null,Z=null,o=null,v=null,r;if(g7)r=bc();let e;function m(t){let{dir:M,renderer:H}=t;if(h===null){if([h,Z]=qH(a,H.classNameHashSalt),H.classNameHashSalt){if(e!==H.classNameHashSalt)console.error(["@griffel/core:",`
|
|
9
9
|
|
|
10
|
-
`,'A provided renderer has different "classNameHashSalt".',"This is not supported and WILL cause issues with classnames generation.",'Ensure that all renderers created with "createDOMRenderer()" have the same "classNameHashSalt".'].join(" "));
|
|
10
|
+
`,'A provided renderer has different "classNameHashSalt".',"This is not supported and WILL cause issues with classnames generation.",'Ensure that all renderers created with "createDOMRenderer()" have the same "classNameHashSalt".'].join(" "));e=H.classNameHashSalt}}let A=M==="ltr";if(A){if(o===null)o=X4(h,M)}else if(v===null)v=X4(h,M);c(H,Z);let V=A?o:v;if(g7)X5.addSequenceDetails(V,r);return V}return m}function b8(a,l,c=E4){let h=c(),Z=null,o=null,v;if(g7)v=bc();function r(e){let{dir:m,renderer:t}=e,M=m==="ltr";if(M){if(Z===null)Z=X4(a,m)}else if(o===null)o=X4(a,m);h(t,l);let H=M?Z:o;if(g7)X5.addSequenceDetails(H,v);return H}return r}function bv(a,l,c,h=E4){let Z=h();function o(v){let{dir:r,renderer:e}=v,m=r==="ltr"?a:l||a;return Z(e,Array.isArray(c)?{r:c}:c),N7[m]=1,m}return o}function zH(){return typeof window!=="undefined"&&!!(window.document&&window.document.createElement)}C();var Iv=t2?t2:void 0;var l6=()=>{let a={};return function l(c,h){if(Iv&&zH()){Iv(()=>{c.insertCSSRules(h)},[c,h]);return}if(a[c.id]===void 0)c.insertCSSRules(h),a[c.id]=!0}};C();var MR=/*@__PURE__*/o1(/*@__PURE__*/s8());function H2(){return c1(MR)}C();var QH=/*@__PURE__*/o1("ltr"),Uv=({children:a,dir:l})=>{return/*@__PURE__*/m1(QH.Provider,{value:l},a)};function c6(){return c1(QH)}C();function JH(){try{let a=Bc.ReactCurrentDispatcher.current;if(a===null||a===void 0)return!1;return a.useContext({}),!0}catch(a){return!1}}function h6(a){let l=Wv(a,l6);if(JH())throw new Error(["makeStyles(): this function cannot be called in component's scope.","All makeStyles() calls should be top level i.e. in a root scope of a file."].join(" "));return function c(){let h=c6(),Z=H2();return l({dir:h,renderer:Z})}}function f(a,l){let c=b8(a,l,l6);return function h(){let Z=c6(),o=H2();return c({dir:Z,renderer:o})}}function $(a,l,c){let h=bv(a,l,c,l6);return function Z(){let o=c6(),v=H2();return h({dir:o,renderer:v})}}function I8(a,l){if(l){let c=Object.keys(l).reduce((h,Z)=>{return`${h}--${Z}: ${l[Z]}; `},"");return`${a} { ${c} }`}return`${a} {}`}C();var B={};bo(B,{resolveShorthand:()=>Ov,optional:()=>HR,always:()=>hh});C();var p7=Symbol.for("fui.slotRenderFunction"),o5=Symbol.for("fui.slotElementType"),Z6=Symbol.for("fui.slotClassNameProp");function hh(a,l){let{defaultProps:c,elementType:h}=l,Z=Ov(a),o={...c,...Z,[o5]:h,[Z6]:Z===null||Z===void 0?void 0:Z.className};if(Z&&typeof Z.children==="function")o[p7]=Z.children,o.children=c===null||c===void 0?void 0:c.children;return o}function HR(a,l){if(a===null||a===void 0&&!l.renderByDefault)return;return hh(a,l)}function Ov(a){if(typeof a==="string"||typeof a==="number"||Array.isArray(a)||V5(a))return{children:a};if(a&&typeof a!=="object")console.error(`@fluentui/react-utilities [slot.${Ov.name}]:
|
|
11
11
|
A slot got an invalid value "${a}" (${typeof a}).
|
|
12
12
|
A valid value for a slot is a slot shorthand or slot properties object.
|
|
13
|
-
Slot shorthands can be strings, numbers, arrays or JSX elements`);return a}
|
|
13
|
+
Slot shorthands can be strings, numbers, arrays or JSX elements`);return a}C();function Zh(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&!V5(a)}function J3(a){return Boolean(a===null||a===void 0?void 0:a.hasOwnProperty(o5))}C();function P(a){{let l=a;for(let c of Object.keys(l.components)){let h=l[c];if(h===void 0)continue;if(!J3(h))l[c]=hh(h,{elementType:l.components[c]}),console.warn(`@fluentui/react-utilities [${P.name}]:
|
|
14
14
|
"state.${c}" is not a slot!
|
|
15
|
-
Be sure to create slots properly by using "slot.always" or "slot.optional".`);else{let{[
|
|
15
|
+
Be sure to create slots properly by using "slot.always" or "slot.optional".`);else{let{[o5]:Z}=h;if(Z!==l.components[c])h[o5]=l.components[c],console.warn(`@fluentui/react-utilities [${P.name}]:
|
|
16
16
|
"state.${c}" element type differs from "state.components.${c}",
|
|
17
|
-
${
|
|
18
|
-
Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`)}}}}
|
|
17
|
+
${Z} !== ${l.components[c]}.
|
|
18
|
+
Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`)}}}}C();C();var a0=(...a)=>{let l={};for(let c of a){let h=Array.isArray(c)?c:Object.keys(c);for(let Z of h)l[Z]=1}return l},AR=a0(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),VR=a0(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),iR=a0(["itemID","itemProp","itemRef","itemScope","itemType"]),L0=a0(VR,AR,iR),KH=a0(L0,["form"]),Gv=a0(L0,["height","loop","muted","preload","src","width"]),XH=a0(Gv,["poster"]),EH=a0(L0,["start"]),$H=a0(L0,["value"]),YH=a0(L0,["download","href","hrefLang","media","rel","target","type"]),yH=a0(L0,["dateTime"]),U8=a0(L0,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),NH=a0(U8,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),jH=a0(U8,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),_H=a0(U8,["form","multiple","required"]),aA=a0(L0,["selected","value"]),lA=a0(L0,["cellPadding","cellSpacing"]),cA=L0,hA=a0(L0,["colSpan","rowSpan","scope"]),ZA=a0(L0,["colSpan","headers","rowSpan","scope"]),oA=a0(L0,["span"]),vA=a0(L0,["span"]),rA=a0(L0,["disabled","form"]),eA=a0(L0,["acceptCharset","action","encType","encType","method","noValidate","target"]),mA=a0(L0,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),MA=a0(L0,["alt","crossOrigin","height","src","srcSet","useMap","width"]),tA=a0(L0,["open","onCancel","onClose"]);function HA(a,l,c){let h=Array.isArray(l),Z={},o=Object.keys(a);for(let v of o)if((!h&&l[v]||h&&l.indexOf(v)>=0||v.indexOf("data-")===0||v.indexOf("aria-")===0)&&(!c||(c===null||c===void 0?void 0:c.indexOf(v))===-1))Z[v]=a[v];return Z}var nR={label:KH,audio:Gv,video:XH,ol:EH,li:$H,a:YH,button:U8,input:NH,textarea:jH,select:_H,option:aA,table:lA,tr:cA,th:hA,td:ZA,colGroup:oA,col:vA,fieldset:rA,form:eA,iframe:mA,img:MA,time:yH,dialog:tA};function O8(a,l,c){let h=a&&nR[a]||L0;return h.as=1,HA(l,h,c)}var c3=({primarySlotTagName:a,props:l,excludedPropNames:c})=>{return{root:{style:l.style,className:l.className},primary:O8(a,l,[...c||[],"style","className"])}};var _=(a,l,c)=>{var h;return O8((h=l.as)!==null&&h!==void 0?h:a,l,c)};C();function oh(a,l){let c=q(void 0),h=y((o,v)=>{if(c.current!==void 0)l(c.current);return c.current=a(o,v),c.current},[l,a]),Z=y(()=>{if(c.current!==void 0)l(c.current),c.current=void 0},[l]);return t1(()=>Z,[Z]),[h,Z]}C();var o6=o1(void 0),G8=o6.Provider;C();var AA=o1(void 0),uR="",P8=AA.Provider;function q8(){var a;return(a=c1(AA))!==null&&a!==void 0?a:uR}C();var dR=o1(void 0);var z8=dR.Provider;C();var iA=o1(void 0),LR={targetDocument:typeof document==="object"?document:void 0,dir:"ltr"},Q8=iA.Provider;function g1(){var a;return(a=c1(iA))!==null&&a!==void 0?a:LR}C();var Pv=o1(void 0),vh=Pv.Provider;function v6(){var a;return(a=c1(Pv))!==null&&a!==void 0?a:{}}C();var K3=o1(void 0),gR=()=>{},J8=K3.Provider,z=(a)=>{var l,c;return(c=(l=c1(K3))===null||l===void 0?void 0:l[a])!==null&&c!==void 0?c:gR};C();var qv=o1(void 0),rh=qv.Provider;function r6(){return c1(qv)}C();var nA=o1(void 0),CR=nA.Provider;function zv(){return c1(nA)}C();var uA=o1(void 0),Qv=uA.Provider;function K8(){var a;return(a=c1(uA))!==null&&a!==void 0?a:{announce:()=>{return}}}var FR=(a)=>{return a(0),0},RR=(a)=>a;function eh(){let{targetDocument:a}=g1(),l=a===null||a===void 0?void 0:a.defaultView,c=l?l.requestAnimationFrame:FR,h=l?l.cancelAnimationFrame:RR;return oh(c,h)}C();function xR(a){return typeof a==="function"}var $5=(a)=>{if(a.state!==void 0&&a.defaultState!==void 0)console.error(`@fluentui/react-utilities [useControllableState]:
|
|
19
19
|
A component must be either controlled or uncontrolled (specify either the state or the defaultState, but not both).
|
|
20
20
|
Decide between using a controlled or uncontrolled component and remove one of this props.
|
|
21
21
|
More info: https://reactjs.org/link/controlled-components
|
|
22
|
-
${new Error().stack}`);let[l,c]=
|
|
22
|
+
${new Error().stack}`);let[l,c]=e1(()=>{if(a.defaultState===void 0)return a.initialState;return pR(a.defaultState)?a.defaultState():a.defaultState}),h=q(a.state);t1(()=>{h.current=a.state},[a.state]);let Z=y((o)=>{if(xR(o))o(h.current)},[]);return wR(a.state)?[a.state,Z]:[l,c]};function pR(a){return typeof a==="function"}var wR=(a)=>{let[l]=e1(()=>a!==void 0);return t1(()=>{if(l!==(a!==void 0)){let c=new Error;console.error(`@fluentui/react-utilities [useControllableState]:
|
|
23
23
|
A component is changing ${l?"a controlled value to be uncontrolled":"an uncontrolled value to be controlled"}. This is likely caused by the value changing from ${l?"defined to an undefined":"undefined to a defined"} value, which should not happen.
|
|
24
24
|
Decide between using a controlled or uncontrolled input element for the lifetime of the component.
|
|
25
25
|
More info: https://reactjs.org/link/controlled-components
|
|
26
|
-
${c.stack}`)}},[l,a]),l};
|
|
26
|
+
${c.stack}`)}},[l,a]),l};C();C();function h3(){return typeof window!=="undefined"&&!!(window.document&&window.document.createElement)}C();var Jv={current:0},dA=/*@__PURE__*/o1(void 0);function Kv(){var a;return(a=c1(dA))!==null&&a!==void 0?a:Jv}var K1=h3()?E2:t1;var A1=(a)=>{let l=q(()=>{throw new Error("Cannot call an event handler while rendering")});return K1(()=>{l.current=a},[a]),y((...c)=>{let h=l.current;return h(...c)},[l])};C();function mh(){let a=q(!0);if(a.current)return a.current=!1,!0;return a.current}C();function e6(){return M2((a)=>a+1,0)[1]}C();var LA=o1(void 0),gA=LA.Provider;function kR(){return c1(LA)||""}function m0(a="fui-",l){let c=Kv(),h=kR(),Z=Q4;if(Z){let o=Z(),v=x1(()=>o.replace(/:/g,""),[o]);return l||`${h}${a}${v}`}return x1(()=>{if(l)return l;return`${h}${a}${++c.current}`},[h,a,l,c])}C();function X1(...a){let l=y((c)=>{l.current=c;for(let h of a)if(typeof h==="function")h(c);else if(h)h.current=c},[...a]);return l}C();var CA=(a,l)=>!!(a===null||a===void 0?void 0:a.contains(l)),Mh=(a)=>{let{targetDocument:l}=g1(),c=l===null||l===void 0?void 0:l.defaultView,{refs:h,callback:Z,element:o,disabled:v,disabledFocusOnIframe:r,contains:e=CA}=a,m=q(void 0);BR({element:o,disabled:r||v,callback:Z,refs:h,contains:e});let t=q(!1),M=A1((A)=>{if(t.current){t.current=!1;return}let V=A.composedPath()[0];if(h.every((u)=>!e(u.current||null,V))&&!v)Z(A)}),H=A1((A)=>{t.current=h.some((V)=>e(V.current||null,A.target))});t1(()=>{if(v)return;let A=SR(c),V=(i)=>{if(i===A){A=void 0;return}M(i)};return o===null||o===void 0||o.addEventListener("click",V,!0),o===null||o===void 0||o.addEventListener("touchstart",V,!0),o===null||o===void 0||o.addEventListener("contextmenu",V,!0),o===null||o===void 0||o.addEventListener("mousedown",H,!0),m.current=c===null||c===void 0?void 0:c.setTimeout(()=>{A=void 0},1),()=>{o===null||o===void 0||o.removeEventListener("click",V,!0),o===null||o===void 0||o.removeEventListener("touchstart",V,!0),o===null||o===void 0||o.removeEventListener("contextmenu",V,!0),o===null||o===void 0||o.removeEventListener("mousedown",H,!0),c===null||c===void 0||c.clearTimeout(m.current),A=void 0}},[M,o,v,H,c])},SR=(a)=>{if(a){var l,c;if(typeof a.window==="object"&&a.window===a)return a.event;var h;return(h=(c=a.ownerDocument)===null||c===void 0?void 0:(l=c.defaultView)===null||l===void 0?void 0:l.event)!==null&&h!==void 0?h:void 0}return},Xv="fuiframefocus",BR=(a)=>{let{disabled:l,element:c,callback:h,contains:Z=CA,pollDuration:o=1000,refs:v}=a,r=q(),e=A1((m)=>{if(v.every((M)=>!Z(M.current||null,m.target))&&!l)h(m)});t1(()=>{if(l)return;return c===null||c===void 0||c.addEventListener(Xv,e,!0),()=>{c===null||c===void 0||c.removeEventListener(Xv,e,!0)}},[c,l,e]),t1(()=>{var m;if(l)return;return r.current=c===null||c===void 0?void 0:(m=c.defaultView)===null||m===void 0?void 0:m.setInterval(()=>{let t=c===null||c===void 0?void 0:c.activeElement;if((t===null||t===void 0?void 0:t.tagName)==="IFRAME"||(t===null||t===void 0?void 0:t.tagName)==="WEBVIEW"){let M=new CustomEvent(Xv,{bubbles:!0});t.dispatchEvent(M)}},o),()=>{var t;c===null||c===void 0||(t=c.defaultView)===null||t===void 0||t.clearTimeout(r.current)}},[c,l,o])};C();var th=(a)=>{let{refs:l,callback:c,element:h,disabled:Z,contains:o}=a,v=A1((r)=>{let e=o||((M,H)=>!!(M===null||M===void 0?void 0:M.contains(H))),m=r.composedPath()[0];if(l.every((M)=>!e(M.current||null,m))&&!Z)c(r)});t1(()=>{if(Z)return;return h===null||h===void 0||h.addEventListener("wheel",v),h===null||h===void 0||h.addEventListener("touchmove",v),()=>{h===null||h===void 0||h.removeEventListener("wheel",v),h===null||h===void 0||h.removeEventListener("touchmove",v)}},[v,h,Z])};C();var Hh=(a)=>{let l=q(null);return t1(()=>{l.current=a},[a]),l.current};var fR=(a)=>-1,TR=(a)=>{return};function N2(){let{targetDocument:a}=g1(),l=a===null||a===void 0?void 0:a.defaultView,c=l?l.setTimeout:fR,h=l?l.clearTimeout:TR;return oh(c,h)}function Y5(a,l){return(...c)=>{a===null||a===void 0||a(...c),l===null||l===void 0||l(...c)}}function P1(a,l){var c;let h=a;var Z;return Boolean((h===null||h===void 0?void 0:(c=h.ownerDocument)===null||c===void 0?void 0:c.defaultView)&&h instanceof h.ownerDocument.defaultView[(Z=l===null||l===void 0?void 0:l.constructorName)!==null&&Z!==void 0?Z:"HTMLElement"])}function m6(a){let l=[],c=0,h=(H,A)=>{let V=l[H];l[H]=l[A],l[A]=V},Z=(H)=>{let A=H,V=bR(H),i=IR(H);if(V<c&&a(l[V],l[A])<0)A=V;if(i<c&&a(l[i],l[A])<0)A=i;if(A!==H)h(A,H),Z(A)};return{all:()=>{return l.slice(0,c)},clear:()=>{c=0},contains:(H)=>{let A=l.indexOf(H);return A>=0&&A<c},dequeue:()=>{if(c===0)throw new Error("Priority queue empty");let H=l[0];return l[0]=l[--c],Z(0),H},enqueue:(H)=>{l[c++]=H;let A=c-1,V=FA(A);while(A>0&&a(l[V],l[A])>0)h(V,A),A=V,V=FA(A)},peek:()=>{if(c===0)return null;return l[0]},remove:(H)=>{let A=l.indexOf(H);if(A===-1||A>=c)return;l[A]=l[--c],Z(A)},size:()=>c}}var bR=(a)=>{return 2*a+1},IR=(a)=>{return 2*a+2},FA=(a)=>{return Math.floor((a-1)/2)};C();C();function X8(a){return Boolean(a.type.isFluentTriggerComponent)}function M6(a,l){if(typeof a==="function")return a(l);else if(a)return RA(a,l);return a||null}function RA(a,l){if(!V5(a)||a.type===V1)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(X8(a)){let c=RA(a.props.children,l);return q3(a,void 0,c)}else return q3(a,l)}C();function X3(a){if(!V5(a))return null;return X8(a)?X3(a.props.children):a}function xA(a){return a&&!!a._virtual}function UR(a){return xA(a)?a._virtual.parent||null:null}function t6(a,l={}){if(!a)return null;if(!l.skipVirtual){let h=UR(a);if(h)return h}let c=a.parentNode;if(c&&c.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return c.host;return c}function E8(a,l){if(!a||!l)return!1;if(a===l)return!0;else{let c=/*@__PURE__*/new WeakSet;while(l){let h=t6(l,{skipVirtual:c.has(l)});if(c.add(l),h===a)return!0;l=h}}return!1}function $8(a,l){if(!a)return;let c=a;if(!c._virtual)c._virtual={};c._virtual.parent=l}C();C();function pA(a,l){return{...l,[o5]:a}}C();var DA=G4(wA(),1);function sA(a){if(typeof a==="object"&&!DA.isValidElementType(a))console.error(`@fluentui/react-jsx-runtime:
|
|
27
27
|
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${a}.
|
|
28
28
|
|
|
29
29
|
If this happened in a slot of Fluent UI component, you might be facing package resolution issues.
|
|
30
30
|
Please make sure you don't have multiple versions of "@fluentui/react-utilities" installed in your dependencies or sub-dependencies.
|
|
31
|
-
You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).`)}function lr(a,l){return function c(e,h,Z,o,r){if($7(h))return l(Si(e,h),null,Z,o,r);if($7(e))return l(e,h,Z,o,r);return bi(e),a(e,h,Z,o,r)}}g();function we(a){let{as:l,[m6]:c,[v5]:e,[s3]:h,...Z}=a,o=Z,r=typeof e==="string"?l!==null&&l!==void 0?l:e:e;if(typeof r!=="string"&&l)o.as=l;return{elementType:r,props:o,renderFunction:h}}var cr={};yc(cr,{jsxs:()=>V,jsxTemplate:()=>RR,jsxEscape:()=>Pi,jsxDEV:()=>V,jsxAttr:()=>sR,jsx:()=>V,Fragment:()=>n1});E7();E7();var gR=/["&<]/;function Wi(a){if(a.length===0||gR.test(a)===!1)return a;for(var l=0,c=0,e="",h="";c<a.length;c++){switch(a.charCodeAt(c)){case 34:h=""";break;case 38:h="&";break;case 60:h="<";break;default:continue}c!==l&&(e+=a.slice(l,c)),e+=h,l=c+1}return c!==l&&(e+=a.slice(l,c)),e}var pR=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,LR=0,FR=Array.isArray;function V(a,l,c,e,h,Z){l||(l={});var o,r,v=l;if("ref"in v)for(r in v={},l)r=="ref"?o=l[r]:v[r]=l[r];var t={type:a,props:v,key:c,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--LR,__i:-1,__u:0,__source:h,__self:Z};if(typeof a=="function"&&(o=a.defaultProps))for(r in o)v[r]===void 0&&(v[r]=o[r]);return d1.vnode&&d1.vnode(t),t}function RR(a){var l=V(n1,{tpl:a,exprs:[].slice.call(arguments,1)});return l.key=l.__v,l}var Ti={},xR=/[A-Z]/g;function sR(a,l){if(d1.attr){var c=d1.attr(a,l);if(typeof c=="string")return c}if(a==="ref"||a==="key")return"";if(a==="style"&&typeof l=="object"){var e="";for(var h in l){var Z=l[h];if(Z!=null&&Z!==""){var o=h[0]=="-"?h:Ti[h]||(Ti[h]=h.replace(xR,"-$&").toLowerCase()),r=";";typeof Z!="number"||o.startsWith("--")||pR.test(o)||(r="px;"),e=e+o+":"+Z+r}}return a+'="'+e+'"'}return l==null||l===!1||typeof l=="function"||typeof l=="object"?"":l===!0?a:a+'="'+Wi(l)+'"'}function Pi(a){if(a==null||typeof a=="boolean"||typeof a=="function")return null;if(typeof a=="object"){if(a.constructor===void 0)return a;if(FR(a)){for(var l=0;l<a.length;l++)a[l]=Pi(a[l]);return a}}return Wi(""+a)}var j2=cr;var Oi=(a,l,c)=>{let{elementType:e,renderFunction:h,props:Z}=we(a),o={...Z,...l};if(h)return j2.jsx(n1,{children:h(e,o)},c);return j2.jsx(e,o,c)};g();var yi=(a,l,c)=>{let{elementType:e,renderFunction:h,props:Z}=we(a),o={...Z,...l};if(h)return j2.jsx(n1,{children:h(e,{...o,children:j2.jsxs(n1,{children:o.children},void 0)})},c);return j2.jsxs(e,o,c)};g();var w=lr(j2.jsx,Oi),R1=lr(j2.jsxs,yi);g();var DR=J(void 0);var er=DR.Provider;var ta=(a,l)=>{return G(a),/*@__PURE__*/w(ea,{value:l.provider,children:/*@__PURE__*/w(_8,{value:l.theme,children:/*@__PURE__*/w(aa,{value:l.themeClassName,children:/*@__PURE__*/w(ha,{value:l.customStyleHooks_unstable,children:/*@__PURE__*/w(ca,{value:l.tooltip,children:/*@__PURE__*/w(Ko,{dir:l.textDirection,children:/*@__PURE__*/w(er,{value:l.iconDirection,children:/*@__PURE__*/w(pe,{value:l.overrides_unstable,children:/*@__PURE__*/R1(a.root,{children:[h7()?null:/*@__PURE__*/w("style",{dangerouslySetInnerHTML:{__html:a.serverStyleProps.cssRule},...a.serverStyleProps.attributes}),a.root.children]})})})})})})})})})};var wR=typeof WeakRef!=="undefined",Ii=class{constructor(a){if(wR&&typeof a==="object")this._weakRef=new WeakRef(a);else this._instance=a}deref(){var a,l;let c;if(this._weakRef){if(c=(a=this._weakRef)==null?void 0:a.deref(),!c)delete this._weakRef}else if(c=this._instance,(l=c==null?void 0:c.isDisposed)==null?void 0:l.call(c))delete this._instance;return c}},p5="keyborg:focusin",d6="keyborg:focusout";function kR(a){let l=a.HTMLElement,c=l.prototype.focus,e=!1;return l.prototype.focus=function Z(){e=!0},a.document.createElement("button").focus(),l.prototype.focus=c,e}var hr=!1;function n2(a){let l=a.focus;if(l.__keyborgNativeFocus)l.__keyborgNativeFocus.call(a);else a.focus()}function SR(a){let l=a;if(!hr)hr=kR(l);let c=l.HTMLElement.prototype.focus;if(c.__keyborgNativeFocus)return;l.HTMLElement.prototype.focus=v;let e=/*@__PURE__*/new Set,h=(M)=>{let m=M.target;if(!m)return;let H=new CustomEvent(d6,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:M}});m.dispatchEvent(H)},Z=(M)=>{let m=M.target;if(!m)return;let H=M.composedPath()[0],i=/*@__PURE__*/new Set;while(H)if(H.nodeType===Node.DOCUMENT_FRAGMENT_NODE)i.add(H),H=H.host;else H=H.parentNode;for(let n of e){let A=n.deref();if(!A||!i.has(A)){if(e.delete(n),A)A.removeEventListener("focusin",Z,!0),A.removeEventListener("focusout",h,!0)}}o(m,M.relatedTarget||void 0)},o=(M,m,H)=>{var i;let n=M.shadowRoot;if(n){for(let d of e)if(d.deref()===n)return;n.addEventListener("focusin",Z,!0),n.addEventListener("focusout",h,!0),e.add(new Ii(n));return}let A={relatedTarget:m,originalEvent:H},u=new CustomEvent(p5,{cancelable:!0,bubbles:!0,composed:!0,detail:A});if(u.details=A,hr||r.lastFocusedProgrammatically)A.isFocusedProgrammatically=M===((i=r.lastFocusedProgrammatically)==null?void 0:i.deref()),r.lastFocusedProgrammatically=void 0;M.dispatchEvent(u)},r=l.__keyborgData={focusInHandler:Z,focusOutHandler:h,shadowTargets:e};l.document.addEventListener("focusin",l.__keyborgData.focusInHandler,!0),l.document.addEventListener("focusout",l.__keyborgData.focusOutHandler,!0);function v(){let M=l.__keyborgData;if(M)M.lastFocusedProgrammatically=new Ii(this);return c.apply(this,arguments)}let t=l.document.activeElement;while(t&&t.shadowRoot)o(t),t=t.shadowRoot.activeElement;v.__keyborgNativeFocus=c}function fR(a){let l=a,c=l.HTMLElement.prototype,e=c.focus.__keyborgNativeFocus,h=l.__keyborgData;if(h){l.document.removeEventListener("focusin",h.focusInHandler,!0),l.document.removeEventListener("focusout",h.focusOutHandler,!0);for(let Z of h.shadowTargets){let o=Z.deref();if(o)o.removeEventListener("focusin",h.focusInHandler,!0),o.removeEventListener("focusout",h.focusOutHandler,!0)}h.shadowTargets.clear(),delete l.__keyborgData}if(e)c.focus=e}var BR=500,Ui=0,bR=class{constructor(a,l){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=(e)=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;let h=e.detail;if(!h.relatedTarget)return;if(h.isFocusedProgrammatically||h.isFocusedProgrammatically===void 0)return;this.isNavigatingWithKeyboard=!0},this._onMouseDown=(e)=>{if(e.buttons===0||e.clientX===0&&e.clientY===0&&e.screenX===0&&e.screenY===0)return;this._onMouseOrTouch()},this._onMouseOrTouch=()=>{let e=this._win;if(e){if(this._isMouseOrTouchUsedTimer)e.clearTimeout(this._isMouseOrTouchUsedTimer);this._isMouseOrTouchUsedTimer=e.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1000)}this.isNavigatingWithKeyboard=!1},this._onKeyDown=(e)=>{if(this.isNavigatingWithKeyboard){if(this._shouldDismissKeyboardNavigation(e))this._scheduleDismiss()}else if(this._shouldTriggerKeyboardNavigation(e))this.isNavigatingWithKeyboard=!0},this.id="c"+ ++Ui,this._win=a;let c=a.document;if(l){let{triggerKeys:e,dismissKeys:h}=l;if(e==null?void 0:e.length)this._triggerKeys=new Set(e);if(h==null?void 0:h.length)this._dismissKeys=new Set(h)}c.addEventListener(p5,this._onFocusIn,!0),c.addEventListener("mousedown",this._onMouseDown,!0),a.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener("touchstart",this._onMouseOrTouch,!0),c.addEventListener("touchend",this._onMouseOrTouch,!0),c.addEventListener("touchcancel",this._onMouseOrTouch,!0),SR(a)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(a){if(this._isNavigatingWithKeyboard_DO_NOT_USE!==a)this._isNavigatingWithKeyboard_DO_NOT_USE=a,this.update()}dispose(){let a=this._win;if(a){if(this._isMouseOrTouchUsedTimer)a.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0;if(this._dismissTimer)a.clearTimeout(this._dismissTimer),this._dismissTimer=void 0;fR(a);let l=a.document;l.removeEventListener(p5,this._onFocusIn,!0),l.removeEventListener("mousedown",this._onMouseDown,!0),a.removeEventListener("keydown",this._onKeyDown,!0),l.removeEventListener("touchstart",this._onMouseOrTouch,!0),l.removeEventListener("touchend",this._onMouseOrTouch,!0),l.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var a,l;let c=(l=(a=this._win)==null?void 0:a.__keyborg)==null?void 0:l.refs;if(c)for(let e of Object.keys(c))Zr.update(c[e],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(a){var l;if(a.key==="Tab")return!0;let c=(l=this._win)==null?void 0:l.document.activeElement,e=!this._triggerKeys||this._triggerKeys.has(a.keyCode),h=c&&(c.tagName==="INPUT"||c.tagName==="TEXTAREA"||c.isContentEditable);return e&&!h}_shouldDismissKeyboardNavigation(a){var l;return(l=this._dismissKeys)==null?void 0:l.has(a.keyCode)}_scheduleDismiss(){let a=this._win;if(a){if(this._dismissTimer)a.clearTimeout(this._dismissTimer),this._dismissTimer=void 0;let l=a.document.activeElement;this._dismissTimer=a.setTimeout(()=>{this._dismissTimer=void 0;let c=a.document.activeElement;if(l&&c&&l===c)this.isNavigatingWithKeyboard=!1},BR)}}},Zr=class a{constructor(l,c){this._cb=[],this._id="k"+ ++Ui,this._win=l;let e=l.__keyborg;if(e)this._core=e.core,e.refs[this._id]=this;else this._core=new bR(l,c),l.__keyborg={core:this._core,refs:{[this._id]:this}}}static create(l,c){return new a(l,c)}static dispose(l){l.dispose()}static update(l,c){l._cb.forEach((e)=>e(c))}dispose(){var l;let c=(l=this._win)==null?void 0:l.__keyborg;if(c==null?void 0:c.refs[this._id]){if(delete c.refs[this._id],Object.keys(c.refs).length===0)c.core.dispose(),delete this._win.__keyborg}else console.error(`Keyborg instance ${this._id} is being disposed incorrectly.`);this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var l;return!!((l=this._core)==null?void 0:l.isNavigatingWithKeyboard)}subscribe(l){this._cb.push(l)}unsubscribe(l){let c=this._cb.indexOf(l);if(c>=0)this._cb.splice(c,1)}setVal(l){if(this._core)this._core.isNavigatingWithKeyboard=l}};function C6(a,l){return Zr.create(a,l)}function g6(a){Zr.dispose(a)}/*!
|
|
31
|
+
You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).`)}function Ev(a,l){return function c(h,Z,o,v,r){if(J3(Z))return l(pA(h,Z),null,o,v,r);if(J3(h))return l(h,Z,o,v,r);return sA(h),a(h,Z,o,v,r)}}C();function Ah(a){let{as:l,[Z6]:c,[o5]:h,[p7]:Z,...o}=a,v=o,r=typeof h==="string"?l!==null&&l!==void 0?l:h:h;if(typeof r!=="string"&&l)v.as=l;return{elementType:r,props:v,renderFunction:Z}}var $v={};bo($v,{jsxs:()=>n,jsxTemplate:()=>QR,jsxEscape:()=>BA,jsxDEV:()=>n,jsxAttr:()=>KR,jsx:()=>n,Fragment:()=>V1});G3();G3();var GR=/["&<]/;function SA(a){if(a.length===0||GR.test(a)===!1)return a;for(var l=0,c=0,h="",Z="";c<a.length;c++){switch(a.charCodeAt(c)){case 34:Z=""";break;case 38:Z="&";break;case 60:Z="<";break;default:continue}c!==l&&(h+=a.slice(l,c)),h+=Z,l=c+1}return c!==l&&(h+=a.slice(l,c)),h}var PR=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,qR=0,zR=Array.isArray;function n(a,l,c,h,Z,o){l||(l={});var v,r,e=l;if("ref"in e)for(r in e={},l)r=="ref"?v=l[r]:e[r]=l[r];var m={type:a,props:e,key:c,ref:v,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--qR,__i:-1,__u:0,__source:Z,__self:o};if(typeof a=="function"&&(v=a.defaultProps))for(r in v)e[r]===void 0&&(e[r]=v[r]);return d1.vnode&&d1.vnode(m),m}function QR(a){var l=n(V1,{tpl:a,exprs:[].slice.call(arguments,1)});return l.key=l.__v,l}var kA={},JR=/[A-Z]/g;function KR(a,l){if(d1.attr){var c=d1.attr(a,l);if(typeof c=="string")return c}if(a==="ref"||a==="key")return"";if(a==="style"&&typeof l=="object"){var h="";for(var Z in l){var o=l[Z];if(o!=null&&o!==""){var v=Z[0]=="-"?Z:kA[Z]||(kA[Z]=Z.replace(JR,"-$&").toLowerCase()),r=";";typeof o!="number"||v.startsWith("--")||PR.test(v)||(r="px;"),h=h+v+":"+o+r}}return a+'="'+h+'"'}return l==null||l===!1||typeof l=="function"||typeof l=="object"?"":l===!0?a:a+'="'+SA(l)+'"'}function BA(a){if(a==null||typeof a=="boolean"||typeof a=="function")return null;if(typeof a=="object"){if(a.constructor===void 0)return a;if(zR(a)){for(var l=0;l<a.length;l++)a[l]=BA(a[l]);return a}}return SA(""+a)}var j2=$v;var fA=(a,l,c)=>{let{elementType:h,renderFunction:Z,props:o}=Ah(a),v={...o,...l};if(Z)return j2.jsx(V1,{children:Z(h,v)},c);return j2.jsx(h,v,c)};C();var TA=(a,l,c)=>{let{elementType:h,renderFunction:Z,props:o}=Ah(a),v={...o,...l};if(Z)return j2.jsx(V1,{children:Z(h,{...v,children:j2.jsxs(V1,{children:v.children},void 0)})},c);return j2.jsxs(h,v,c)};C();var D=Ev(j2.jsx,fA),R1=Ev(j2.jsxs,TA);C();var Yv=o1(void 0),XR={},yv=Yv.Provider,Nv=()=>c1(Yv)?c1(Yv):XR;var Y8=(a,l)=>{return P(a),/*@__PURE__*/D(Q8,{value:l.provider,children:/*@__PURE__*/D(G8,{value:l.theme,children:/*@__PURE__*/D(P8,{value:l.themeClassName,children:/*@__PURE__*/D(J8,{value:l.customStyleHooks_unstable,children:/*@__PURE__*/D(z8,{value:l.tooltip,children:/*@__PURE__*/D(Uv,{dir:l.textDirection,children:/*@__PURE__*/D(yv,{value:l.iconDirection,children:/*@__PURE__*/D(vh,{value:l.overrides_unstable,children:/*@__PURE__*/R1(a.root,{children:[h3()?null:/*@__PURE__*/D("style",{dangerouslySetInnerHTML:{__html:a.serverStyleProps.cssRule},...a.serverStyleProps.attributes}),a.root.children]})})})})})})})})})};var ER=typeof WeakRef!=="undefined",WA=class{constructor(a){if(ER&&typeof a==="object")this._weakRef=new WeakRef(a);else this._instance=a}deref(){var a,l;let c;if(this._weakRef){if(c=(a=this._weakRef)==null?void 0:a.deref(),!c)delete this._weakRef}else if(c=this._instance,(l=c==null?void 0:c.isDisposed)==null?void 0:l.call(c))delete this._instance;return c}},C5="keyborg:focusin",H6="keyborg:focusout";function $R(a){let l=a.HTMLElement,c=l.prototype.focus,h=!1;return l.prototype.focus=function o(){h=!0},a.document.createElement("button").focus(),l.prototype.focus=c,h}var jv=!1;function A2(a){let l=a.focus;if(l.__keyborgNativeFocus)l.__keyborgNativeFocus.call(a);else a.focus()}function YR(a){let l=a;if(!jv)jv=$R(l);let c=l.HTMLElement.prototype.focus;if(c.__keyborgNativeFocus)return;l.HTMLElement.prototype.focus=e;let h=/*@__PURE__*/new Set,Z=(t)=>{let M=t.target;if(!M)return;let H=new CustomEvent(H6,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:t}});M.dispatchEvent(H)},o=(t)=>{let M=t.target;if(!M)return;let H=t.composedPath()[0],A=/*@__PURE__*/new Set;while(H)if(H.nodeType===Node.DOCUMENT_FRAGMENT_NODE)A.add(H),H=H.host;else H=H.parentNode;for(let V of h){let i=V.deref();if(!i||!A.has(i)){if(h.delete(V),i)i.removeEventListener("focusin",o,!0),i.removeEventListener("focusout",Z,!0)}}v(M,t.relatedTarget||void 0)},v=(t,M,H)=>{var A;let V=t.shadowRoot;if(V){for(let d of h)if(d.deref()===V)return;V.addEventListener("focusin",o,!0),V.addEventListener("focusout",Z,!0),h.add(new WA(V));return}let i={relatedTarget:M,originalEvent:H},u=new CustomEvent(C5,{cancelable:!0,bubbles:!0,composed:!0,detail:i});if(u.details=i,jv||r.lastFocusedProgrammatically)i.isFocusedProgrammatically=t===((A=r.lastFocusedProgrammatically)==null?void 0:A.deref()),r.lastFocusedProgrammatically=void 0;t.dispatchEvent(u)},r=l.__keyborgData={focusInHandler:o,focusOutHandler:Z,shadowTargets:h};l.document.addEventListener("focusin",l.__keyborgData.focusInHandler,!0),l.document.addEventListener("focusout",l.__keyborgData.focusOutHandler,!0);function e(){let t=l.__keyborgData;if(t)t.lastFocusedProgrammatically=new WA(this);return c.apply(this,arguments)}let m=l.document.activeElement;while(m&&m.shadowRoot)v(m),m=m.shadowRoot.activeElement;e.__keyborgNativeFocus=c}function yR(a){let l=a,c=l.HTMLElement.prototype,h=c.focus.__keyborgNativeFocus,Z=l.__keyborgData;if(Z){l.document.removeEventListener("focusin",Z.focusInHandler,!0),l.document.removeEventListener("focusout",Z.focusOutHandler,!0);for(let o of Z.shadowTargets){let v=o.deref();if(v)v.removeEventListener("focusin",Z.focusInHandler,!0),v.removeEventListener("focusout",Z.focusOutHandler,!0)}Z.shadowTargets.clear(),delete l.__keyborgData}if(h)c.focus=h}var NR=500,bA=0,jR=class{constructor(a,l){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=(h)=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;let Z=h.detail;if(!Z.relatedTarget)return;if(Z.isFocusedProgrammatically||Z.isFocusedProgrammatically===void 0)return;this.isNavigatingWithKeyboard=!0},this._onMouseDown=(h)=>{if(h.buttons===0||h.clientX===0&&h.clientY===0&&h.screenX===0&&h.screenY===0)return;this._onMouseOrTouch()},this._onMouseOrTouch=()=>{let h=this._win;if(h){if(this._isMouseOrTouchUsedTimer)h.clearTimeout(this._isMouseOrTouchUsedTimer);this._isMouseOrTouchUsedTimer=h.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1000)}this.isNavigatingWithKeyboard=!1},this._onKeyDown=(h)=>{if(this.isNavigatingWithKeyboard){if(this._shouldDismissKeyboardNavigation(h))this._scheduleDismiss()}else if(this._shouldTriggerKeyboardNavigation(h))this.isNavigatingWithKeyboard=!0},this.id="c"+ ++bA,this._win=a;let c=a.document;if(l){let{triggerKeys:h,dismissKeys:Z}=l;if(h==null?void 0:h.length)this._triggerKeys=new Set(h);if(Z==null?void 0:Z.length)this._dismissKeys=new Set(Z)}c.addEventListener(C5,this._onFocusIn,!0),c.addEventListener("mousedown",this._onMouseDown,!0),a.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener("touchstart",this._onMouseOrTouch,!0),c.addEventListener("touchend",this._onMouseOrTouch,!0),c.addEventListener("touchcancel",this._onMouseOrTouch,!0),YR(a)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(a){if(this._isNavigatingWithKeyboard_DO_NOT_USE!==a)this._isNavigatingWithKeyboard_DO_NOT_USE=a,this.update()}dispose(){let a=this._win;if(a){if(this._isMouseOrTouchUsedTimer)a.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0;if(this._dismissTimer)a.clearTimeout(this._dismissTimer),this._dismissTimer=void 0;yR(a);let l=a.document;l.removeEventListener(C5,this._onFocusIn,!0),l.removeEventListener("mousedown",this._onMouseDown,!0),a.removeEventListener("keydown",this._onKeyDown,!0),l.removeEventListener("touchstart",this._onMouseOrTouch,!0),l.removeEventListener("touchend",this._onMouseOrTouch,!0),l.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var a,l;let c=(l=(a=this._win)==null?void 0:a.__keyborg)==null?void 0:l.refs;if(c)for(let h of Object.keys(c))_v.update(c[h],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(a){var l;if(a.key==="Tab")return!0;let c=(l=this._win)==null?void 0:l.document.activeElement,h=!this._triggerKeys||this._triggerKeys.has(a.keyCode),Z=c&&(c.tagName==="INPUT"||c.tagName==="TEXTAREA"||c.isContentEditable);return h&&!Z}_shouldDismissKeyboardNavigation(a){var l;return(l=this._dismissKeys)==null?void 0:l.has(a.keyCode)}_scheduleDismiss(){let a=this._win;if(a){if(this._dismissTimer)a.clearTimeout(this._dismissTimer),this._dismissTimer=void 0;let l=a.document.activeElement;this._dismissTimer=a.setTimeout(()=>{this._dismissTimer=void 0;let c=a.document.activeElement;if(l&&c&&l===c)this.isNavigatingWithKeyboard=!1},NR)}}},_v=class a{constructor(l,c){this._cb=[],this._id="k"+ ++bA,this._win=l;let h=l.__keyborg;if(h)this._core=h.core,h.refs[this._id]=this;else this._core=new jR(l,c),l.__keyborg={core:this._core,refs:{[this._id]:this}}}static create(l,c){return new a(l,c)}static dispose(l){l.dispose()}static update(l,c){l._cb.forEach((h)=>h(c))}dispose(){var l;let c=(l=this._win)==null?void 0:l.__keyborg;if(c==null?void 0:c.refs[this._id]){if(delete c.refs[this._id],Object.keys(c.refs).length===0)c.core.dispose(),delete this._win.__keyborg}else console.error(`Keyborg instance ${this._id} is being disposed incorrectly.`);this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var l;return!!((l=this._core)==null?void 0:l.isNavigatingWithKeyboard)}subscribe(l){this._cb.push(l)}unsubscribe(l){let c=this._cb.indexOf(l);if(c>=0)this._cb.splice(c,1)}setVal(l){if(this._core)this._core.isNavigatingWithKeyboard=l}};function A6(a,l){return _v.create(a,l)}function V6(a){_v.dispose(a)}/*!
|
|
32
32
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
33
33
|
* Licensed under the MIT License.
|
|
34
34
|
*//*!
|
|
35
35
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
36
36
|
* Licensed under the MIT License.
|
|
37
|
-
*/var _2="data-tabster"
|
|
37
|
+
*/var _2="data-tabster",$A="data-tabster-dummy",YA=/*@__PURE__*/["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),w7={EscapeGroupper:1,Restorer:2,Deloser:3};var Z3={Invisible:0,PartiallyVisible:1,Visible:2},s7={Source:0,Target:1},y5={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},g0={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},N8={Unlimited:0,Limited:1,LimitedTrapFocus:2},IA={Enter:1,Escape:2},_R={Auto:0,Inside:1,Outside:2};/*!
|
|
38
38
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
39
39
|
* Licensed under the MIT License.
|
|
40
|
-
*/function
|
|
40
|
+
*/function E0(a,l){var c;return(c=a.storageEntry(l))===null||c===void 0?void 0:c.tabster}function yA(a,l,c){var h,Z;let o=c||a._noop?void 0:l.getAttribute(_2),v=a.storageEntry(l),r;if(o)if(o!==((h=v===null||v===void 0?void 0:v.attr)===null||h===void 0?void 0:h.string))try{let M=JSON.parse(o);if(typeof M!=="object")throw new Error(`Value is not a JSON object, got '${o}'.`);r={string:o,object:M}}catch(M){console.error(`data-tabster attribute error: ${M}`,l)}else return;else if(!v)return;if(!v)v=a.storageEntry(l,!0);if(!v.tabster)v.tabster={};let e=v.tabster||{},m=((Z=v.attr)===null||Z===void 0?void 0:Z.object)||{},t=(r===null||r===void 0?void 0:r.object)||{};for(let M of Object.keys(m))if(!t[M]){if(M==="root"){let H=e[M];if(H)a.root.onRoot(H,!0)}switch(M){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":let H=e[M];if(H)H.dispose(),delete e[M];break;case"observed":if(delete e[M],a.observedElement)a.observedElement.onObservedElementUpdate(l);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete e[M];break}}for(let M of Object.keys(t)){let H=t.sys;switch(M){case"deloser":if(e.deloser)e.deloser.setProps(t.deloser);else if(a.deloser)e.deloser=a.deloser.createDeloser(l,t.deloser);else console.error("Deloser API used before initialization, please call `getDeloser()`");break;case"root":if(e.root)e.root.setProps(t.root);else e.root=a.root.createRoot(l,t.root,H);a.root.onRoot(e.root);break;case"modalizer":if(e.modalizer)e.modalizer.setProps(t.modalizer);else if(a.modalizer)e.modalizer=a.modalizer.createModalizer(l,t.modalizer,H);else console.error("Modalizer API used before initialization, please call `getModalizer()`");break;case"restorer":if(e.restorer)e.restorer.setProps(t.restorer);else if(a.restorer){if(t.restorer)e.restorer=a.restorer.createRestorer(l,t.restorer)}else console.error("Restorer API used before initialization, please call `getRestorer()`");break;case"focusable":e.focusable=t.focusable;break;case"groupper":if(e.groupper)e.groupper.setProps(t.groupper);else if(a.groupper)e.groupper=a.groupper.createGroupper(l,t.groupper,H);else console.error("Groupper API used before initialization, please call `getGroupper()`");break;case"mover":if(e.mover)e.mover.setProps(t.mover);else if(a.mover)e.mover=a.mover.createMover(l,t.mover,H);else console.error("Mover API used before initialization, please call `getMover()`");break;case"observed":if(a.observedElement)e.observed=t.observed,a.observedElement.onObservedElementUpdate(l);else console.error("ObservedElement API used before initialization, please call `getObservedElement()`");break;case"uncontrolled":e.uncontrolled=t.uncontrolled;break;case"outline":if(a.outline)e.outline=t.outline;else console.error("Outline API used before initialization, please call `getOutline()`");break;case"sys":e.sys=t.sys;break;default:console.error(`Unknown key '${M}' in data-tabster attribute value.`)}}if(r)v.attr=r;else{if(Object.keys(e).length===0)delete v.tabster,delete v.attr;a.storageEntry(l,!1)}}/*!
|
|
41
41
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
42
42
|
* Licensed under the MIT License.
|
|
43
|
-
*/var
|
|
43
|
+
*/var ax="tabster:focusin",lx="tabster:focusout",cx="tabster:movefocus";var hx="tabster:modalizer:active",Zx="tabster:modalizer:inactive";var ox="tabster:mover:state",UA="tabster:mover:movefocus",OA="tabster:mover:memorized-element",GA="tabster:groupper:movefocus",or="tabster:restorer:restore-focus",vx="tabster:root:focus",rx="tabster:root:blur",ex=typeof CustomEvent!=="undefined"?CustomEvent:function(){};class a7 extends ex{constructor(a,l){super(a,{bubbles:!0,cancelable:!0,composed:!0,detail:l});this.details=l}}class NA extends a7{constructor(a){super(ax,a)}}class jA extends a7{constructor(a){super(lx,a)}}class D7 extends a7{constructor(a){super(cx,a)}}class vr extends a7{constructor(a){super(ox,a)}}class _A extends a7{constructor(a){super(hx,a)}}class aV extends a7{constructor(a){super(Zx,a)}}class rr extends a7{constructor(){super(or)}}class lV extends a7{constructor(a){super(vx,a)}}class cV extends a7{constructor(a){super(rx,a)}}/*!
|
|
44
44
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
45
45
|
* Licensed under the MIT License.
|
|
46
|
-
*/var
|
|
46
|
+
*/var mx=(a)=>new MutationObserver(a),Mx=(a,l,c,h)=>a.createTreeWalker(l,c,h),tx=(a)=>a?a.parentNode:null,Hx=(a)=>a?a.parentElement:null,Ax=(a,l)=>!!(l&&(a===null||a===void 0?void 0:a.contains(l))),Vx=(a)=>a.activeElement,ix=(a,l)=>a.querySelector(l),nx=(a,l)=>Array.prototype.slice.call(a.querySelectorAll(l),0),ux=(a,l)=>a.getElementById(l),dx=(a)=>(a===null||a===void 0?void 0:a.firstChild)||null,Lx=(a)=>(a===null||a===void 0?void 0:a.lastChild)||null,gx=(a)=>(a===null||a===void 0?void 0:a.nextSibling)||null,Cx=(a)=>(a===null||a===void 0?void 0:a.previousSibling)||null,Fx=(a)=>(a===null||a===void 0?void 0:a.firstElementChild)||null,Rx=(a)=>(a===null||a===void 0?void 0:a.lastElementChild)||null,xx=(a)=>(a===null||a===void 0?void 0:a.nextElementSibling)||null,px=(a)=>(a===null||a===void 0?void 0:a.previousElementSibling)||null,wx=(a,l)=>a.appendChild(l),Dx=(a,l,c)=>a.insertBefore(l,c),sx=(a)=>{var l;return((l=a.ownerDocument)===null||l===void 0?void 0:l.getSelection())||null},kx=(a,l)=>a.ownerDocument.getElementsByName(l),b={createMutationObserver:mx,createTreeWalker:Mx,getParentNode:tx,getParentElement:Hx,nodeContains:Ax,getActiveElement:Vx,querySelector:ix,querySelectorAll:nx,getElementById:ux,getFirstChild:dx,getLastChild:Lx,getNextSibling:gx,getPreviousSibling:Cx,getFirstElementChild:Fx,getLastElementChild:Rx,getNextElementSibling:xx,getPreviousElementSibling:px,appendChild:wx,insertBefore:Dx,getSelection:sx,getElementsByName:kx};function Sx(a){for(let l of Object.keys(a))b[l]=a[l]}/*!
|
|
47
47
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
48
48
|
* Licensed under the MIT License.
|
|
49
|
-
*/var nr,Ki=typeof DOMRect!=="undefined"?DOMRect:class{constructor(a,l,c,e){this.left=a||0,this.top=l||0,this.right=(a||0)+(c||0),this.bottom=(l||0)+(e||0)}},Hx=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),nr=!1}catch(a){nr=!0}var or=100;function S3(a){let l=a(),c=l.__tabsterInstanceContext;if(!c)c={elementByUId:{},basics:{Promise:l.Promise||void 0,WeakRef:l.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},l.__tabsterInstanceContext=c;return c}function ix(a){let l=a.__tabsterInstanceContext;if(l){if(l.elementByUId={},delete l.WeakRef,l.containerBoundingRectCache={},l.containerBoundingRectCacheTimer)a.clearTimeout(l.containerBoundingRectCacheTimer);if(l.fakeWeakRefsTimer)a.clearTimeout(l.fakeWeakRefsTimer);l.fakeWeakRefs=[],delete a.__tabsterInstanceContext}}function nx(a){let l=a.__tabsterInstanceContext;return new((l===null||l===void 0?void 0:l.basics.WeakMap)||WeakMap)}function Ax(a){return!!a.querySelector(an)}class ur{constructor(a){this._target=a}deref(){return this._target}static cleanup(a,l){if(!a._target)return!0;if(l||!Cr(a._target.ownerDocument,a._target))return delete a._target,!0;return!1}}class L5{constructor(a,l,c){let e=S3(a),h;if(e.WeakRef)h=new e.WeakRef(l);else h=new ur(l),e.fakeWeakRefs.push(h);this._ref=h,this._data=c}get(){let a=this._ref,l;if(a){if(l=a.deref(),!l)delete this._ref}return l}getData(){return this._data}}function vn(a,l){let c=S3(a);c.fakeWeakRefs=c.fakeWeakRefs.filter((e)=>!ur.cleanup(e,l))}function tn(a){let l=S3(a);if(!l.fakeWeakRefsStarted)l.fakeWeakRefsStarted=!0,l.WeakRef=px(l);if(!l.fakeWeakRefsTimer)l.fakeWeakRefsTimer=a().setTimeout(()=>{l.fakeWeakRefsTimer=void 0,vn(a),tn(a)},120000)}function Vx(a){let l=S3(a);if(l.fakeWeakRefsStarted=!1,l.fakeWeakRefsTimer)a().clearTimeout(l.fakeWeakRefsTimer),l.fakeWeakRefsTimer=void 0,l.fakeWeakRefs=[]}function dr(a,l,c){if(l.nodeType!==Node.ELEMENT_NODE)return;let e=nr?c:{acceptNode:c};return P.createTreeWalker(a,l,NodeFilter.SHOW_ELEMENT,e,!1)}function mn(a,l){let c=l.__tabsterCacheId,e=S3(a),h=c?e.containerBoundingRectCache[c]:void 0;if(h)return h.rect;let Z=l.ownerDocument&&l.ownerDocument.documentElement;if(!Z)return new Ki;let o=0,r=0,v=Z.clientWidth,t=Z.clientHeight;if(l!==Z){let m=l.getBoundingClientRect();o=Math.max(o,m.left),r=Math.max(r,m.top),v=Math.min(v,m.right),t=Math.min(t,m.bottom)}let M=new Ki(o<v?o:-1,r<t?r:-1,o<v?v-o:0,r<t?t-r:0);if(!c)c="r-"+ ++e.lastContainerBoundingRectCacheId,l.__tabsterCacheId=c;if(e.containerBoundingRectCache[c]={rect:M,element:l},!e.containerBoundingRectCacheTimer)e.containerBoundingRectCacheTimer=window.setTimeout(()=>{e.containerBoundingRectCacheTimer=void 0;for(let m of Object.keys(e.containerBoundingRectCache))delete e.containerBoundingRectCache[m].element.__tabsterCacheId;e.containerBoundingRectCache={}},50);return M}function Qi(a,l,c){let e=Mn(l);if(!e)return!1;let h=mn(a,e),Z=l.getBoundingClientRect(),o=Z.height*(1-c),r=Math.max(0,h.top-Z.top),v=Math.max(0,Z.bottom-h.bottom),t=r+v;return t===0||t<=o}function ux(a,l,c){let e=Mn(l);if(e){let h=mn(a,e),Z=l.getBoundingClientRect();if(c)e.scrollTop+=Z.top-h.top;else e.scrollTop+=Z.bottom-h.bottom}}function Mn(a){let l=a.ownerDocument;if(l){for(let c=P.getParentElement(a);c;c=P.getParentElement(c))if(c.scrollWidth>c.clientWidth||c.scrollHeight>c.clientHeight)return c;return l.documentElement}return null}function dx(a){a.__shouldIgnoreFocus=!0}function Hn(a){return!!a.__shouldIgnoreFocus}function Cx(a){let l=new Uint32Array(4);if(a.crypto&&a.crypto.getRandomValues)a.crypto.getRandomValues(l);else if(a.msCrypto&&a.msCrypto.getRandomValues)a.msCrypto.getRandomValues(l);else for(let e=0;e<l.length;e++)l[e]=4294967295*Math.random();let c=[];for(let e=0;e<l.length;e++)c.push(l[e].toString(36));return c.push("|"),c.push((++Hx).toString(36)),c.push("|"),c.push(Date.now().toString(36)),c.join("")}function ke(a,l){let c=S3(a),e=l.__tabsterElementUID;if(!e)e=l.__tabsterElementUID=Cx(a());if(!c.elementByUId[e]&&Cr(l.ownerDocument,l))c.elementByUId[e]=new L5(a,l);return e}function Ji(a,l){let c=S3(a);for(let e of Object.keys(c.elementByUId)){let h=c.elementByUId[e],Z=h&&h.get();if(Z&&l){if(!P.nodeContains(l,Z))continue}delete c.elementByUId[e]}}function Cr(a,l){return P.nodeContains(a===null||a===void 0?void 0:a.body,l)}function nn(a,l){let c=a.matches||a.matchesSelector||a.msMatchesSelector||a.webkitMatchesSelector;return c&&c.call(a,l)}function gx(a){let l=S3(a);if(l.basics.Promise)return l.basics.Promise;throw new Error("No Promise defined.")}function px(a){return a.basics.WeakRef}var Lx=0;class F6{constructor(a,l,c){let e=a.getWindow;this._tabster=a,this._element=new L5(e,l),this._props={...c},this.id="i"+ ++Lx}getElement(){return this._element.get()}getProps(){return this._props}setProps(a){this._props={...a}}}class ma{constructor(a,l,c,e,h){var Z;this._focusIn=(t)=>{if(this._fixedTarget){let m=this._fixedTarget.get();if(m)n2(m);return}let M=this.input;if(this.onFocusIn&&M){let m=t.relatedTarget;this.onFocusIn(this,this._isBackward(!0,M,m),m)}},this._focusOut=(t)=>{if(this._fixedTarget)return;this.useDefaultAction=!1;let M=this.input;if(this.onFocusOut&&M){let m=t.relatedTarget;this.onFocusOut(this,this._isBackward(!1,M,m),m)}};let o=a(),r=o.document.createElement("i");r.tabIndex=0,r.setAttribute("role","none"),r.setAttribute(_i,""),r.setAttribute("aria-hidden","true");let v=r.style;if(v.position="fixed",v.width=v.height="1px",v.opacity="0.001",v.zIndex="-1",v.setProperty("content-visibility","hidden"),dx(r),this.input=r,this.isFirst=c.isFirst,this.isOutside=l,this._isPhantom=(Z=c.isPhantom)!==null&&Z!==void 0?Z:!1,this._fixedTarget=h,r.addEventListener("focusin",this._focusIn),r.addEventListener("focusout",this._focusOut),r.__tabsterDummyContainer=e,this._isPhantom)this._disposeTimer=o.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{if(this._disposeTimer)o.clearTimeout(this._disposeTimer),delete this._disposeTimer;delete this._clearDisposeTimeout}}dispose(){var a;if(this._clearDisposeTimeout)this._clearDisposeTimeout();let l=this.input;if(!l)return;delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,l.removeEventListener("focusin",this._focusIn),l.removeEventListener("focusout",this._focusOut),delete l.__tabsterDummyContainer,(a=P.getParentNode(l))===null||a===void 0||a.removeChild(l)}setTopLeft(a,l){var c;let e=(c=this.input)===null||c===void 0?void 0:c.style;if(e)e.top=`${a}px`,e.left=`${l}px`}_isBackward(a,l,c){return a&&!c?!this.isFirst:!!(c&&l.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_FOLLOWING)}}var Se={Root:1,Modalizer:2,Mover:3,Groupper:4};class N7{constructor(a,l,c,e,h,Z){this._element=l,this._instance=new Vn(a,l,this,c,e,h,Z)}_setHandlers(a,l){this._onFocusIn=a,this._onFocusOut=l}moveOut(a){var l;(l=this._instance)===null||l===void 0||l.moveOut(a)}moveOutWithDefaultAction(a,l){var c;(c=this._instance)===null||c===void 0||c.moveOutWithDefaultAction(a,l)}getHandler(a){return a?this._onFocusIn:this._onFocusOut}setTabbable(a){var l;(l=this._instance)===null||l===void 0||l.setTabbable(this,a)}dispose(){if(this._instance)this._instance.dispose(this),delete this._instance;delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(a,l,c,e,h){let o=new ma(a.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(o){let r,v;if(l.tagName==="BODY")r=l,v=c&&e||!c&&!e?P.getFirstElementChild(l):null;else{if(c&&(!e||e&&!a.focusable.isFocusable(l,!1,!0,!0)))r=l,v=e?l.firstElementChild:null;else r=P.getParentElement(l),v=c&&e||!c&&!e?l:P.getNextElementSibling(l);let t,M;do if(t=c&&e||!c&&!e?P.getPreviousElementSibling(v):v,M=L6(t),M===l)v=c&&e||!c&&!e?t:P.getNextElementSibling(t);else M=null;while(M)}if(r===null||r===void 0?void 0:r.dispatchEvent(new w3({by:"root",owner:r,next:null,relatedEvent:h})))P.insertBefore(r,o,v),n2(o)}}static addPhantomDummyWithTarget(a,l,c,e){let Z=new ma(a.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new L5(a.getWindow,e)).input;if(Z){let o,r;if(Ax(l)&&!c)o=l,r=P.getFirstElementChild(l);else o=P.getParentElement(l),r=c?l:P.getNextElementSibling(l);if(o)P.insertBefore(o,Z,r)}}}function o7(a,l){var c;let e={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(c=a.input)===null||c===void 0||c.setAttribute(_i,[`isFirst=${a.isFirst}`,`isOutside=${a.isOutside}`,...l.map((h)=>`(${e[h.priority]}, tabbable=${h.tabbable})`)].join(", "))}class An{constructor(a){this._updateQueue=/*@__PURE__*/new Set,this._lastUpdateQueueTime=0,this._changedParents=/*@__PURE__*/new WeakSet,this._dummyElements=[],this._dummyCallbacks=/*@__PURE__*/new WeakMap,this._domChanged=(l)=>{var c;if(this._changedParents.has(l))return;if(this._changedParents.add(l),this._updateDummyInputsTimer)return;this._updateDummyInputsTimer=(c=this._win)===null||c===void 0?void 0:c.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(let e of this._dummyElements){let h=e.get();if(h){let Z=this._dummyCallbacks.get(h);if(Z){let o=P.getParentNode(h);if(!o||this._changedParents.has(o))Z()}}}this._changedParents=/*@__PURE__*/new WeakSet},or)},this._win=a}add(a,l){if(!this._dummyCallbacks.has(a)&&this._win)this._dummyElements.push(new L5(this._win,a)),this._dummyCallbacks.set(a,l),this.domChanged=this._domChanged}remove(a){if(this._dummyElements=this._dummyElements.filter((l)=>{let c=l.get();return c&&c!==a}),this._dummyCallbacks.delete(a),this._dummyElements.length===0)delete this.domChanged}dispose(){var a;let l=(a=this._win)===null||a===void 0?void 0:a.call(this);if(this._updateTimer)l===null||l===void 0||l.clearTimeout(this._updateTimer),delete this._updateTimer;if(this._updateDummyInputsTimer)l===null||l===void 0||l.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer;this._changedParents=/*@__PURE__*/new WeakSet,this._dummyCallbacks=/*@__PURE__*/new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(a){if(!this._win)return;this._updateQueue.add(a),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions()}_scheduledUpdatePositions(){var a;if(this._updateTimer)return;this._updateTimer=(a=this._win)===null||a===void 0?void 0:a.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+or<=Date.now()){let l=/*@__PURE__*/new Map,c=[];for(let e of this._updateQueue)c.push(e(l));this._updateQueue.clear();for(let e of c)e();l.clear()}else this._scheduledUpdatePositions()},or)}}class Vn{constructor(a,l,c,e,h,Z,o){this._wrappers=[],this._isOutside=!1,this._transformElements=/*@__PURE__*/new Set,this._onFocusIn=(H,i,n)=>{this._onFocus(!0,H,i,n)},this._onFocusOut=(H,i,n)=>{this._onFocus(!1,H,i,n)},this.moveOut=(H)=>{var i;let n=this._firstDummy,A=this._lastDummy;if(n&&A){this._ensurePosition();let u=n.input,d=A.input,C=(i=this._element)===null||i===void 0?void 0:i.get();if(u&&d&&C){let L;if(H)u.tabIndex=0,L=u;else d.tabIndex=0,L=d;if(L)n2(L)}}},this.moveOutWithDefaultAction=(H,i)=>{var n;let A=this._firstDummy,u=this._lastDummy;if(A&&u){this._ensurePosition();let d=A.input,C=u.input,L=(n=this._element)===null||n===void 0?void 0:n.get();if(d&&C&&L){let F;if(H)if(!A.isOutside&&this._tabster.focusable.isFocusable(L,!0,!0,!0))F=L;else A.useDefaultAction=!0,d.tabIndex=0,F=d;else u.useDefaultAction=!0,C.tabIndex=0,F=C;if(F&&L.dispatchEvent(new w3({by:"root",owner:L,next:null,relatedEvent:i})))n2(F)}}},this.setTabbable=(H,i)=>{var n,A;for(let d of this._wrappers)if(d.manager===H){d.tabbable=i;break}let u=this._getCurrent();if(u){let d=u.tabbable?0:-1,C=(n=this._firstDummy)===null||n===void 0?void 0:n.input;if(C)C.tabIndex=d;if(C=(A=this._lastDummy)===null||A===void 0?void 0:A.input,C)C.tabIndex=d}this._firstDummy&&o7(this._firstDummy,this._wrappers),this._lastDummy&&o7(this._lastDummy,this._wrappers)},this._addDummyInputs=()=>{if(this._addTimer)return;this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._firstDummy&&o7(this._firstDummy,this._wrappers),this._lastDummy&&o7(this._lastDummy,this._wrappers),this._addTransformOffsets()},0)},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=(H)=>{var i,n;let A=((i=this._firstDummy)===null||i===void 0?void 0:i.input)||((n=this._lastDummy)===null||n===void 0?void 0:n.input),u=this._transformElements,d=/*@__PURE__*/new Set,C=0,L=0,F=this._getWindow();for(let R=A;R&&R.nodeType===Node.ELEMENT_NODE;R=P.getParentElement(R)){let f=H.get(R);if(f===void 0){let x=F.getComputedStyle(R).transform;if(x&&x!=="none")f={scrollTop:R.scrollTop,scrollLeft:R.scrollLeft};H.set(R,f||null)}if(f){if(d.add(R),!u.has(R))R.addEventListener("scroll",this._addTransformOffsets);C+=f.scrollTop,L+=f.scrollLeft}}for(let R of u)if(!d.has(R))R.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=d,()=>{var R,f;(R=this._firstDummy)===null||R===void 0||R.setTopLeft(C,L),(f=this._lastDummy)===null||f===void 0||f.setTopLeft(C,L)}};let r=l.get();if(!r)throw new Error("No element");this._tabster=a,this._getWindow=a.getWindow,this._callForDefaultAction=o;let v=r.__tabsterDummy;if((v||this)._wrappers.push({manager:c,priority:e,tabbable:!0}),v)return this._firstDummy&&o7(this._firstDummy,v._wrappers),this._lastDummy&&o7(this._lastDummy,v._wrappers),v;r.__tabsterDummy=this;let t=h===null||h===void 0?void 0:h.dummyInputsPosition,M=r.tagName;this._isOutside=!t?(Z||M==="UL"||M==="OL"||M==="TABLE")&&!(M==="LI"||M==="TD"||M==="TH"):t===TR.Outside,this._firstDummy=new ma(this._getWindow,this._isOutside,{isFirst:!0},l),this._lastDummy=new ma(this._getWindow,this._isOutside,{isFirst:!1},l);let m=this._firstDummy.input;m&&a._dummyObserver.add(m,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=l,this._addDummyInputs()}dispose(a,l){var c,e,h,Z;let o=this._wrappers=this._wrappers.filter((r)=>r.manager!==a&&!l);if(this._firstDummy&&o7(this._firstDummy,o),this._lastDummy&&o7(this._lastDummy,o),o.length===0){delete((c=this._element)===null||c===void 0?void 0:c.get()).__tabsterDummy;for(let t of this._transformElements)t.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();let r=this._getWindow();if(this._addTimer)r.clearTimeout(this._addTimer),delete this._addTimer;let v=(e=this._firstDummy)===null||e===void 0?void 0:e.input;v&&this._tabster._dummyObserver.remove(v),(h=this._firstDummy)===null||h===void 0||h.dispose(),(Z=this._lastDummy)===null||Z===void 0||Z.dispose()}}_onFocus(a,l,c,e){var h;let Z=this._getCurrent();if(Z&&(!l.useDefaultAction||this._callForDefaultAction))(h=Z.manager.getHandler(a))===null||h===void 0||h(l,c,e)}_getCurrent(){return this._wrappers.sort((a,l)=>{if(a.tabbable!==l.tabbable)return a.tabbable?-1:1;return a.priority-l.priority}),this._wrappers[0]}_ensurePosition(){var a,l,c;let e=(a=this._element)===null||a===void 0?void 0:a.get(),h=(l=this._firstDummy)===null||l===void 0?void 0:l.input,Z=(c=this._lastDummy)===null||c===void 0?void 0:c.input;if(!e||!h||!Z)return;if(this._isOutside){let o=P.getParentNode(e);if(o){let r=P.getNextSibling(e);if(r!==Z)P.insertBefore(o,Z,r);if(P.getPreviousElementSibling(e)!==h)P.insertBefore(o,h,e)}}else{if(P.getLastElementChild(e)!==Z)P.appendChild(e,Z);let o=P.getFirstElementChild(e);if(o&&o!==h&&o.parentNode)P.insertBefore(o.parentNode,h,o)}}}function un(a){let l=null;for(let c=P.getLastElementChild(a);c;c=P.getLastElementChild(c))l=c;return l||void 0}function Fx(a,l){let c=a,e=null;while(c&&!e)e=l?P.getPreviousElementSibling(c):P.getNextElementSibling(c),c=P.getParentElement(c);return e||void 0}function rr(a,l,c,e){let h=a.storageEntry(l,!0),Z=!1;if(!h.aug){if(e===void 0)return Z;h.aug={}}if(e===void 0){if(c in h.aug){let o=h.aug[c];if(delete h.aug[c],o===null)l.removeAttribute(c);else l.setAttribute(c,o);Z=!0}}else{let o;if(!(c in h.aug))o=l.getAttribute(c);if(o!==void 0&&o!==e){if(h.aug[c]=o,e===null)l.removeAttribute(c);else l.setAttribute(c,e);Z=!0}}if(e===void 0&&Object.keys(h.aug).length===0)delete h.aug,a.storageEntry(l,!1);return Z}function Rx(a){var l,c;let e=a.ownerDocument,h=(l=e.defaultView)===null||l===void 0?void 0:l.getComputedStyle(a);if(a.offsetParent===null&&e.body!==a&&(h===null||h===void 0?void 0:h.position)!=="fixed")return!0;if((h===null||h===void 0?void 0:h.visibility)==="hidden")return!0;if((h===null||h===void 0?void 0:h.position)==="fixed"){if(h.display==="none")return!0;if(((c=a.parentElement)===null||c===void 0?void 0:c.offsetParent)===null&&e.body!==a.parentElement)return!0}return!1}function Ar(a){return a.tagName==="INPUT"&&!!a.name&&a.type==="radio"}function xx(a){if(!Ar(a))return;let l=a.name,c=Array.from(P.getElementsByName(a,l)),e;return c=c.filter((h)=>{if(Ar(h)){if(h.checked)e=h;return!0}return!1}),{name:l,buttons:new Set(c),checked:e}}function L6(a){var l;return((l=a===null||a===void 0?void 0:a.__tabsterDummyContainer)===null||l===void 0?void 0:l.get())||null}/*!
|
|
49
|
+
*/var er,PA=typeof DOMRect!=="undefined"?DOMRect:class{constructor(a,l,c,h){this.left=a||0,this.top=l||0,this.right=(a||0)+(c||0),this.bottom=(l||0)+(h||0)}},Bx=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),er=!1}catch(a){er=!0}var ar=100;function k7(a){let l=a(),c=l.__tabsterInstanceContext;if(!c)c={elementByUId:{},basics:{Promise:l.Promise||void 0,WeakRef:l.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},l.__tabsterInstanceContext=c;return c}function fx(a){let l=a.__tabsterInstanceContext;if(l){if(l.elementByUId={},delete l.WeakRef,l.containerBoundingRectCache={},l.containerBoundingRectCacheTimer)a.clearTimeout(l.containerBoundingRectCacheTimer);if(l.fakeWeakRefsTimer)a.clearTimeout(l.fakeWeakRefsTimer);l.fakeWeakRefs=[],delete a.__tabsterInstanceContext}}function Tx(a){let l=a.__tabsterInstanceContext;return new((l===null||l===void 0?void 0:l.basics.WeakMap)||WeakMap)}function Wx(a){return!!a.querySelector(YA)}class tr{constructor(a){this._target=a}deref(){return this._target}static cleanup(a,l){if(!a._target)return!0;if(l||!Ar(a._target.ownerDocument,a._target))return delete a._target,!0;return!1}}class F5{constructor(a,l,c){let h=k7(a),Z;if(h.WeakRef)Z=new h.WeakRef(l);else Z=new tr(l),h.fakeWeakRefs.push(Z);this._ref=Z,this._data=c}get(){let a=this._ref,l;if(a){if(l=a.deref(),!l)delete this._ref}return l}getData(){return this._data}}function hV(a,l){let c=k7(a);c.fakeWeakRefs=c.fakeWeakRefs.filter((h)=>!tr.cleanup(h,l))}function ZV(a){let l=k7(a);if(!l.fakeWeakRefsStarted)l.fakeWeakRefsStarted=!0,l.WeakRef=Px(l);if(!l.fakeWeakRefsTimer)l.fakeWeakRefsTimer=a().setTimeout(()=>{l.fakeWeakRefsTimer=void 0,hV(a),ZV(a)},120000)}function bx(a){let l=k7(a);if(l.fakeWeakRefsStarted=!1,l.fakeWeakRefsTimer)a().clearTimeout(l.fakeWeakRefsTimer),l.fakeWeakRefsTimer=void 0,l.fakeWeakRefs=[]}function Hr(a,l,c){if(l.nodeType!==Node.ELEMENT_NODE)return;let h=er?c:{acceptNode:c};return b.createTreeWalker(a,l,NodeFilter.SHOW_ELEMENT,h,!1)}function oV(a,l){let c=l.__tabsterCacheId,h=k7(a),Z=c?h.containerBoundingRectCache[c]:void 0;if(Z)return Z.rect;let o=l.ownerDocument&&l.ownerDocument.documentElement;if(!o)return new PA;let v=0,r=0,e=o.clientWidth,m=o.clientHeight;if(l!==o){let M=l.getBoundingClientRect();v=Math.max(v,M.left),r=Math.max(r,M.top),e=Math.min(e,M.right),m=Math.min(m,M.bottom)}let t=new PA(v<e?v:-1,r<m?r:-1,v<e?e-v:0,r<m?m-r:0);if(!c)c="r-"+ ++h.lastContainerBoundingRectCacheId,l.__tabsterCacheId=c;if(h.containerBoundingRectCache[c]={rect:t,element:l},!h.containerBoundingRectCacheTimer)h.containerBoundingRectCacheTimer=window.setTimeout(()=>{h.containerBoundingRectCacheTimer=void 0;for(let M of Object.keys(h.containerBoundingRectCache))delete h.containerBoundingRectCache[M].element.__tabsterCacheId;h.containerBoundingRectCache={}},50);return t}function qA(a,l,c){let h=vV(l);if(!h)return!1;let Z=oV(a,h),o=l.getBoundingClientRect(),v=o.height*(1-c),r=Math.max(0,Z.top-o.top),e=Math.max(0,o.bottom-Z.bottom),m=r+e;return m===0||m<=v}function Ix(a,l,c){let h=vV(l);if(h){let Z=oV(a,h),o=l.getBoundingClientRect();if(c)h.scrollTop+=o.top-Z.top;else h.scrollTop+=o.bottom-Z.bottom}}function vV(a){let l=a.ownerDocument;if(l){for(let c=b.getParentElement(a);c;c=b.getParentElement(c))if(c.scrollWidth>c.clientWidth||c.scrollHeight>c.clientHeight)return c;return l.documentElement}return null}function Ux(a){a.__shouldIgnoreFocus=!0}function rV(a){return!!a.__shouldIgnoreFocus}function Ox(a){let l=new Uint32Array(4);if(a.crypto&&a.crypto.getRandomValues)a.crypto.getRandomValues(l);else if(a.msCrypto&&a.msCrypto.getRandomValues)a.msCrypto.getRandomValues(l);else for(let h=0;h<l.length;h++)l[h]=4294967295*Math.random();let c=[];for(let h=0;h<l.length;h++)c.push(l[h].toString(36));return c.push("|"),c.push((++Bx).toString(36)),c.push("|"),c.push(Date.now().toString(36)),c.join("")}function Vh(a,l){let c=k7(a),h=l.__tabsterElementUID;if(!h)h=l.__tabsterElementUID=Ox(a());if(!c.elementByUId[h]&&Ar(l.ownerDocument,l))c.elementByUId[h]=new F5(a,l);return h}function zA(a,l){let c=k7(a);for(let h of Object.keys(c.elementByUId)){let Z=c.elementByUId[h],o=Z&&Z.get();if(o&&l){if(!b.nodeContains(l,o))continue}delete c.elementByUId[h]}}function Ar(a,l){return b.nodeContains(a===null||a===void 0?void 0:a.body,l)}function eV(a,l){let c=a.matches||a.matchesSelector||a.msMatchesSelector||a.webkitMatchesSelector;return c&&c.call(a,l)}function Gx(a){let l=k7(a);if(l.basics.Promise)return l.basics.Promise;throw new Error("No Promise defined.")}function Px(a){return a.basics.WeakRef}var qx=0;class u6{constructor(a,l,c){let h=a.getWindow;this._tabster=a,this._element=new F5(h,l),this._props={...c},this.id="i"+ ++qx}getElement(){return this._element.get()}getProps(){return this._props}setProps(a){this._props={...a}}}class y8{constructor(a,l,c,h,Z){var o;this._focusIn=(m)=>{if(this._fixedTarget){let M=this._fixedTarget.get();if(M)A2(M);return}let t=this.input;if(this.onFocusIn&&t){let M=m.relatedTarget;this.onFocusIn(this,this._isBackward(!0,t,M),M)}},this._focusOut=(m)=>{if(this._fixedTarget)return;this.useDefaultAction=!1;let t=this.input;if(this.onFocusOut&&t){let M=m.relatedTarget;this.onFocusOut(this,this._isBackward(!1,t,M),M)}};let v=a(),r=v.document.createElement("i");r.tabIndex=0,r.setAttribute("role","none"),r.setAttribute($A,""),r.setAttribute("aria-hidden","true");let e=r.style;if(e.position="fixed",e.width=e.height="1px",e.opacity="0.001",e.zIndex="-1",e.setProperty("content-visibility","hidden"),Ux(r),this.input=r,this.isFirst=c.isFirst,this.isOutside=l,this._isPhantom=(o=c.isPhantom)!==null&&o!==void 0?o:!1,this._fixedTarget=Z,r.addEventListener("focusin",this._focusIn),r.addEventListener("focusout",this._focusOut),r.__tabsterDummyContainer=h,this._isPhantom)this._disposeTimer=v.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{if(this._disposeTimer)v.clearTimeout(this._disposeTimer),delete this._disposeTimer;delete this._clearDisposeTimeout}}dispose(){var a;if(this._clearDisposeTimeout)this._clearDisposeTimeout();let l=this.input;if(!l)return;delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,l.removeEventListener("focusin",this._focusIn),l.removeEventListener("focusout",this._focusOut),delete l.__tabsterDummyContainer,(a=b.getParentNode(l))===null||a===void 0||a.removeChild(l)}setTopLeft(a,l){var c;let h=(c=this.input)===null||c===void 0?void 0:c.style;if(h)h.top=`${a}px`,h.left=`${l}px`}_isBackward(a,l,c){return a&&!c?!this.isFirst:!!(c&&l.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_FOLLOWING)}}var ih={Root:1,Modalizer:2,Mover:3,Groupper:4};class E3{constructor(a,l,c,h,Z,o){this._element=l,this._instance=new MV(a,l,this,c,h,Z,o)}_setHandlers(a,l){this._onFocusIn=a,this._onFocusOut=l}moveOut(a){var l;(l=this._instance)===null||l===void 0||l.moveOut(a)}moveOutWithDefaultAction(a,l){var c;(c=this._instance)===null||c===void 0||c.moveOutWithDefaultAction(a,l)}getHandler(a){return a?this._onFocusIn:this._onFocusOut}setTabbable(a){var l;(l=this._instance)===null||l===void 0||l.setTabbable(this,a)}dispose(){if(this._instance)this._instance.dispose(this),delete this._instance;delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(a,l,c,h,Z){let v=new y8(a.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(v){let r,e;if(l.tagName==="BODY")r=l,e=c&&h||!c&&!h?b.getFirstElementChild(l):null;else{if(c&&(!h||h&&!a.focusable.isFocusable(l,!1,!0,!0)))r=l,e=h?l.firstElementChild:null;else r=b.getParentElement(l),e=c&&h||!c&&!h?l:b.getNextElementSibling(l);let m,t;do if(m=c&&h||!c&&!h?b.getPreviousElementSibling(e):e,t=n6(m),t===l)e=c&&h||!c&&!h?m:b.getNextElementSibling(m);else t=null;while(t)}if(r===null||r===void 0?void 0:r.dispatchEvent(new D7({by:"root",owner:r,next:null,relatedEvent:Z})))b.insertBefore(r,v,e),A2(v)}}static addPhantomDummyWithTarget(a,l,c,h){let o=new y8(a.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new F5(a.getWindow,h)).input;if(o){let v,r;if(Wx(l)&&!c)v=l,r=b.getFirstElementChild(l);else v=b.getParentElement(l),r=c?l:b.getNextElementSibling(l);if(v)b.insertBefore(v,o,r)}}}function o3(a,l){var c;let h={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(c=a.input)===null||c===void 0||c.setAttribute($A,[`isFirst=${a.isFirst}`,`isOutside=${a.isOutside}`,...l.map((Z)=>`(${h[Z.priority]}, tabbable=${Z.tabbable})`)].join(", "))}class mV{constructor(a){this._updateQueue=/*@__PURE__*/new Set,this._lastUpdateQueueTime=0,this._changedParents=/*@__PURE__*/new WeakSet,this._dummyElements=[],this._dummyCallbacks=/*@__PURE__*/new WeakMap,this._domChanged=(l)=>{var c;if(this._changedParents.has(l))return;if(this._changedParents.add(l),this._updateDummyInputsTimer)return;this._updateDummyInputsTimer=(c=this._win)===null||c===void 0?void 0:c.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(let h of this._dummyElements){let Z=h.get();if(Z){let o=this._dummyCallbacks.get(Z);if(o){let v=b.getParentNode(Z);if(!v||this._changedParents.has(v))o()}}}this._changedParents=/*@__PURE__*/new WeakSet},ar)},this._win=a}add(a,l){if(!this._dummyCallbacks.has(a)&&this._win)this._dummyElements.push(new F5(this._win,a)),this._dummyCallbacks.set(a,l),this.domChanged=this._domChanged}remove(a){if(this._dummyElements=this._dummyElements.filter((l)=>{let c=l.get();return c&&c!==a}),this._dummyCallbacks.delete(a),this._dummyElements.length===0)delete this.domChanged}dispose(){var a;let l=(a=this._win)===null||a===void 0?void 0:a.call(this);if(this._updateTimer)l===null||l===void 0||l.clearTimeout(this._updateTimer),delete this._updateTimer;if(this._updateDummyInputsTimer)l===null||l===void 0||l.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer;this._changedParents=/*@__PURE__*/new WeakSet,this._dummyCallbacks=/*@__PURE__*/new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(a){if(!this._win)return;this._updateQueue.add(a),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions()}_scheduledUpdatePositions(){var a;if(this._updateTimer)return;this._updateTimer=(a=this._win)===null||a===void 0?void 0:a.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+ar<=Date.now()){let l=/*@__PURE__*/new Map,c=[];for(let h of this._updateQueue)c.push(h(l));this._updateQueue.clear();for(let h of c)h();l.clear()}else this._scheduledUpdatePositions()},ar)}}class MV{constructor(a,l,c,h,Z,o,v){this._wrappers=[],this._isOutside=!1,this._transformElements=/*@__PURE__*/new Set,this._onFocusIn=(H,A,V)=>{this._onFocus(!0,H,A,V)},this._onFocusOut=(H,A,V)=>{this._onFocus(!1,H,A,V)},this.moveOut=(H)=>{var A;let V=this._firstDummy,i=this._lastDummy;if(V&&i){this._ensurePosition();let u=V.input,d=i.input,L=(A=this._element)===null||A===void 0?void 0:A.get();if(u&&d&&L){let g;if(H)u.tabIndex=0,g=u;else d.tabIndex=0,g=d;if(g)A2(g)}}},this.moveOutWithDefaultAction=(H,A)=>{var V;let i=this._firstDummy,u=this._lastDummy;if(i&&u){this._ensurePosition();let d=i.input,L=u.input,g=(V=this._element)===null||V===void 0?void 0:V.get();if(d&&L&&g){let R;if(H)if(!i.isOutside&&this._tabster.focusable.isFocusable(g,!0,!0,!0))R=g;else i.useDefaultAction=!0,d.tabIndex=0,R=d;else u.useDefaultAction=!0,L.tabIndex=0,R=L;if(R&&g.dispatchEvent(new D7({by:"root",owner:g,next:null,relatedEvent:A})))A2(R)}}},this.setTabbable=(H,A)=>{var V,i;for(let d of this._wrappers)if(d.manager===H){d.tabbable=A;break}let u=this._getCurrent();if(u){let d=u.tabbable?0:-1,L=(V=this._firstDummy)===null||V===void 0?void 0:V.input;if(L)L.tabIndex=d;if(L=(i=this._lastDummy)===null||i===void 0?void 0:i.input,L)L.tabIndex=d}this._firstDummy&&o3(this._firstDummy,this._wrappers),this._lastDummy&&o3(this._lastDummy,this._wrappers)},this._addDummyInputs=()=>{if(this._addTimer)return;this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._firstDummy&&o3(this._firstDummy,this._wrappers),this._lastDummy&&o3(this._lastDummy,this._wrappers),this._addTransformOffsets()},0)},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=(H)=>{var A,V;let i=((A=this._firstDummy)===null||A===void 0?void 0:A.input)||((V=this._lastDummy)===null||V===void 0?void 0:V.input),u=this._transformElements,d=/*@__PURE__*/new Set,L=0,g=0,R=this._getWindow();for(let x=i;x&&x.nodeType===Node.ELEMENT_NODE;x=b.getParentElement(x)){let S=H.get(x);if(S===void 0){let p=R.getComputedStyle(x).transform;if(p&&p!=="none")S={scrollTop:x.scrollTop,scrollLeft:x.scrollLeft};H.set(x,S||null)}if(S){if(d.add(x),!u.has(x))x.addEventListener("scroll",this._addTransformOffsets);L+=S.scrollTop,g+=S.scrollLeft}}for(let x of u)if(!d.has(x))x.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=d,()=>{var x,S;(x=this._firstDummy)===null||x===void 0||x.setTopLeft(L,g),(S=this._lastDummy)===null||S===void 0||S.setTopLeft(L,g)}};let r=l.get();if(!r)throw new Error("No element");this._tabster=a,this._getWindow=a.getWindow,this._callForDefaultAction=v;let e=r.__tabsterDummy;if((e||this)._wrappers.push({manager:c,priority:h,tabbable:!0}),e)return this._firstDummy&&o3(this._firstDummy,e._wrappers),this._lastDummy&&o3(this._lastDummy,e._wrappers),e;r.__tabsterDummy=this;let m=Z===null||Z===void 0?void 0:Z.dummyInputsPosition,t=r.tagName;this._isOutside=!m?(o||t==="UL"||t==="OL"||t==="TABLE")&&!(t==="LI"||t==="TD"||t==="TH"):m===_R.Outside,this._firstDummy=new y8(this._getWindow,this._isOutside,{isFirst:!0},l),this._lastDummy=new y8(this._getWindow,this._isOutside,{isFirst:!1},l);let M=this._firstDummy.input;M&&a._dummyObserver.add(M,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=l,this._addDummyInputs()}dispose(a,l){var c,h,Z,o;let v=this._wrappers=this._wrappers.filter((r)=>r.manager!==a&&!l);if(this._firstDummy&&o3(this._firstDummy,v),this._lastDummy&&o3(this._lastDummy,v),v.length===0){delete((c=this._element)===null||c===void 0?void 0:c.get()).__tabsterDummy;for(let m of this._transformElements)m.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();let r=this._getWindow();if(this._addTimer)r.clearTimeout(this._addTimer),delete this._addTimer;let e=(h=this._firstDummy)===null||h===void 0?void 0:h.input;e&&this._tabster._dummyObserver.remove(e),(Z=this._firstDummy)===null||Z===void 0||Z.dispose(),(o=this._lastDummy)===null||o===void 0||o.dispose()}}_onFocus(a,l,c,h){var Z;let o=this._getCurrent();if(o&&(!l.useDefaultAction||this._callForDefaultAction))(Z=o.manager.getHandler(a))===null||Z===void 0||Z(l,c,h)}_getCurrent(){return this._wrappers.sort((a,l)=>{if(a.tabbable!==l.tabbable)return a.tabbable?-1:1;return a.priority-l.priority}),this._wrappers[0]}_ensurePosition(){var a,l,c;let h=(a=this._element)===null||a===void 0?void 0:a.get(),Z=(l=this._firstDummy)===null||l===void 0?void 0:l.input,o=(c=this._lastDummy)===null||c===void 0?void 0:c.input;if(!h||!Z||!o)return;if(this._isOutside){let v=b.getParentNode(h);if(v){let r=b.getNextSibling(h);if(r!==o)b.insertBefore(v,o,r);if(b.getPreviousElementSibling(h)!==Z)b.insertBefore(v,Z,h)}}else{if(b.getLastElementChild(h)!==o)b.appendChild(h,o);let v=b.getFirstElementChild(h);if(v&&v!==Z&&v.parentNode)b.insertBefore(v.parentNode,Z,v)}}}function tV(a){let l=null;for(let c=b.getLastElementChild(a);c;c=b.getLastElementChild(c))l=c;return l||void 0}function zx(a,l){let c=a,h=null;while(c&&!h)h=l?b.getPreviousElementSibling(c):b.getNextElementSibling(c),c=b.getParentElement(c);return h||void 0}function lr(a,l,c,h){let Z=a.storageEntry(l,!0),o=!1;if(!Z.aug){if(h===void 0)return o;Z.aug={}}if(h===void 0){if(c in Z.aug){let v=Z.aug[c];if(delete Z.aug[c],v===null)l.removeAttribute(c);else l.setAttribute(c,v);o=!0}}else{let v;if(!(c in Z.aug))v=l.getAttribute(c);if(v!==void 0&&v!==h){if(Z.aug[c]=v,h===null)l.removeAttribute(c);else l.setAttribute(c,h);o=!0}}if(h===void 0&&Object.keys(Z.aug).length===0)delete Z.aug,a.storageEntry(l,!1);return o}function Qx(a){var l,c;let h=a.ownerDocument,Z=(l=h.defaultView)===null||l===void 0?void 0:l.getComputedStyle(a);if(a.offsetParent===null&&h.body!==a&&(Z===null||Z===void 0?void 0:Z.position)!=="fixed")return!0;if((Z===null||Z===void 0?void 0:Z.visibility)==="hidden")return!0;if((Z===null||Z===void 0?void 0:Z.position)==="fixed"){if(Z.display==="none")return!0;if(((c=a.parentElement)===null||c===void 0?void 0:c.offsetParent)===null&&h.body!==a.parentElement)return!0}return!1}function mr(a){return a.tagName==="INPUT"&&!!a.name&&a.type==="radio"}function Jx(a){if(!mr(a))return;let l=a.name,c=Array.from(b.getElementsByName(a,l)),h;return c=c.filter((Z)=>{if(mr(Z)){if(Z.checked)h=Z;return!0}return!1}),{name:l,buttons:new Set(c),checked:h}}function n6(a){var l;return((l=a===null||a===void 0?void 0:a.__tabsterDummyContainer)===null||l===void 0?void 0:l.get())||null}/*!
|
|
50
50
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
51
51
|
* Licensed under the MIT License.
|
|
52
|
-
*/function
|
|
52
|
+
*/function j8(a,l){let c=JSON.stringify(a);if(l===!0)return c;return{[_2]:c}}function Kx(a,l){for(let c of Object.keys(l)){let h=l[c];if(h)a[c]=h;else delete a[c]}}function Xx(a,l,c){let h;if(c){let Z=a.getAttribute(_2);if(Z)try{h=JSON.parse(Z)}catch(o){console.error(`data-tabster attribute error: ${o}`,a)}}if(!h)h={};if(Kx(h,l),Object.keys(h).length>0)a.setAttribute(_2,j8(h,!0));else a.removeAttribute(_2)}/*!
|
|
53
53
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
54
54
|
* Licensed under the MIT License.
|
|
55
|
-
*/function
|
|
55
|
+
*/function QA(a,l,c){{let h=a.get();if(h)if(l)h.style.removeProperty("--tabster-root");else h.style.setProperty("--tabster-root",c+",")}}class Mr extends E3{constructor(a,l,c,h){super(a,l,ih.Root,h,void 0,!0);this._onDummyInputFocus=(Z)=>{var o;if(Z.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);let v=this._element.get();if(v){this._setFocused(!0);let r=this._tabster.focusedElement.getFirstOrLastTabbable(Z.isFirst,{container:v,ignoreAccessibility:!0});if(r){A2(r);return}}(o=Z.input)===null||o===void 0||o.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=a,this._setFocused=c}}class HV extends u6{constructor(a,l,c,h,Z){super(a,l,h);this._isFocused=!1,this._setFocused=(e)=>{var m;if(this._setFocusedTimer)this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer;if(this._isFocused===e)return;let t=this._element.get();if(t)if(e)this._isFocused=!0,(m=this._dummyManager)===null||m===void 0||m.setTabbable(!1),t.dispatchEvent(new lV({element:t}));else this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var M;delete this._setFocusedTimer,this._isFocused=!1,(M=this._dummyManager)===null||M===void 0||M.setTabbable(!0),t.dispatchEvent(new cV({element:t}))},0)},this._onFocusIn=(e)=>{let m=this._tabster.getParent,t=this._element.get(),M=e.composedPath()[0];do{if(M===t){this._setFocused(!0);return}M=M&&m(M)}while(M)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=c;let o=a.getWindow;if(this.uid=Vh(o,l),this._sys=Z,a.controlTab||a.rootDummyInputs)this.addDummyInputs();let r=o().document;r.addEventListener(C5,this._onFocusIn),r.addEventListener(H6,this._onFocusOut),this._add()}addDummyInputs(){if(!this._dummyManager)this._dummyManager=new Mr(this._tabster,this._element,this._setFocused,this._sys)}dispose(){var a;this._onDispose(this);let l=this._tabster.getWindow(),c=l.document;if(c.removeEventListener(C5,this._onFocusIn),c.removeEventListener(H6,this._onFocusOut),this._setFocusedTimer)l.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer;(a=this._dummyManager)===null||a===void 0||a.dispose(),this._remove()}moveOutWithDefaultAction(a,l){let c=this._dummyManager;if(c)c.moveOutWithDefaultAction(a,l);else{let h=this.getElement();if(h)Mr.moveWithPhantomDummy(this._tabster,h,!0,a,l)}}_add(){QA(this._element,!1,this.uid)}_remove(){QA(this._element,!0)}}class q1{constructor(a,l){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var c;let h=this._win().document,Z=h.body;if(Z){this._autoRootUnwait(h);let o=this._autoRoot;if(o)return Xx(Z,{root:o},!0),yA(this._tabster,Z),(c=E0(this._tabster,Z))===null||c===void 0?void 0:c.root}else if(!this._autoRootWaiting)this._autoRootWaiting=!0,h.addEventListener("readystatechange",this._autoRootCreate);return},this._onRootDispose=(c)=>{delete this._roots[c.id]},this._tabster=a,this._win=a.getWindow,this._autoRoot=l,a.queueInit(()=>{if(this._autoRoot)this._autoRootCreate()})}_autoRootUnwait(a){a.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){let a=this._win();this._autoRootUnwait(a.document),delete this._autoRoot,Object.keys(this._roots).forEach((l)=>{if(this._roots[l])this._roots[l].dispose(),delete this._roots[l]}),this.rootById={}}createRoot(a,l,c){let h=new HV(this._tabster,a,this._onRootDispose,l,c);if(this._roots[h.id]=h,this._forceDummy)h.addDummyInputs();return h}addDummyInputs(){this._forceDummy=!0;let a=this._roots;for(let l of Object.keys(a))a[l].addDummyInputs()}static getRootByUId(a,l){let c=a().__tabsterInstance;return c&&c.root.rootById[l]}static getTabsterContext(a,l,c){if(c===void 0)c={};var h,Z,o,v;if(!l.ownerDocument)return;let{checkRtl:r,referenceElement:e}=c,m=a.getParent;a.drainInitQueue();let t,M,H,A,V=!1,i,u,d,L,g=e||l,R={};while(g&&(!t||r)){let S=E0(a,g);if(r&&d===void 0){let l1=g.dir;if(l1)d=l1.toLowerCase()==="rtl"}if(!S){g=m(g);continue}let p=g.tagName;if((S.uncontrolled||p==="IFRAME"||p==="WEBVIEW")&&a.focusable.isVisible(g))L=g;if(!A&&((h=S.focusable)===null||h===void 0?void 0:h.excludeFromMover)&&!H)V=!0;let{modalizer:I,groupper:G,mover:r1}=S;if(!M&&I)M=I;if(!H&&G&&(!M||I))if(M){if(!G.isActive()&&G.getProps().tabbability&&M.userId!==((Z=a.modalizer)===null||Z===void 0?void 0:Z.activeId))M=void 0,H=G;u=G}else H=G;if(!A&&r1&&(!M||I)&&(!G||g!==l)&&g.contains(l))A=r1,i=!!H&&H!==G;if(S.root)t=S.root;if((o=S.focusable)===null||o===void 0?void 0:o.ignoreKeydown)Object.assign(R,S.focusable.ignoreKeydown);g=m(g)}if(!t){let S=a.root;if(S._autoRoot){if((v=l.ownerDocument)===null||v===void 0?void 0:v.body)t=S._autoRootCreate()}}if(H&&!A)i=!0;if(!t){if(M||H||A)console.error("Tabster Root is required for Mover, Groupper and Modalizer to work.")}return t?{root:t,modalizer:M,groupper:H,mover:A,groupperBeforeMover:i,modalizerInGroupper:u,rtl:r?!!d:void 0,uncontrolled:L,excludedFromMover:V,ignoreKeydown:(S)=>!!R[S.key]}:void 0}static getRoot(a,l){var c;let h=a.getParent;for(let Z=l;Z;Z=h(Z)){let o=(c=E0(a,Z))===null||c===void 0?void 0:c.root;if(o)return o}return}onRoot(a,l){if(l)delete this.rootById[a.uid];else this.rootById[a.uid]=a}}/*!
|
|
56
56
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
57
57
|
* Licensed under the MIT License.
|
|
58
58
|
*//*!
|
|
59
59
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
60
60
|
* Licensed under the MIT License.
|
|
61
|
-
*/class
|
|
61
|
+
*/class Vr{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(a){let l=this._callbacks;if(l.indexOf(a)<0)l.push(a)}subscribeFirst(a){let l=this._callbacks,c=l.indexOf(a);if(c>=0)l.splice(c,1);l.unshift(a)}unsubscribe(a){let l=this._callbacks.indexOf(a);if(l>=0)this._callbacks.splice(l,1)}setVal(a,l){if(this._val===a)return;this._val=a,this._callCallbacks(a,l)}getVal(){return this._val}trigger(a,l){this._callCallbacks(a,l)}_callCallbacks(a,l){this._callbacks.forEach((c)=>c(a,l))}}/*!
|
|
62
62
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
63
63
|
* Licensed under the MIT License.
|
|
64
64
|
*//*!
|
|
65
65
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
66
66
|
* Licensed under the MIT License.
|
|
67
|
-
*/class
|
|
67
|
+
*/class AV{constructor(a){this._tabster=a}dispose(){}getProps(a){let l=E0(this._tabster,a);return l&&l.focusable||{}}isFocusable(a,l,c,h){if(eV(a,YA)&&(l||a.tabIndex!==-1))return(c||this.isVisible(a))&&(h||this.isAccessible(a));return!1}isVisible(a){if(!a.ownerDocument||a.nodeType!==Node.ELEMENT_NODE)return!1;if(Qx(a))return!1;let l=a.ownerDocument.body.getBoundingClientRect();if(l.width===0&&l.height===0)return!1;return!0}isAccessible(a){var l;for(let c=a;c;c=b.getParentElement(c)){let h=E0(this._tabster,c);if(this._isHidden(c))return!1;if(!((l=h===null||h===void 0?void 0:h.focusable)===null||l===void 0?void 0:l.ignoreAriaDisabled)&&this._isDisabled(c))return!1}return!0}_isDisabled(a){return a.hasAttribute("disabled")}_isHidden(a){var l;let c=a.getAttribute("aria-hidden");if(c&&c.toLowerCase()==="true"){if(!((l=this._tabster.modalizer)===null||l===void 0?void 0:l.isAugmented(a)))return!0}return!1}findFirst(a,l){return this.findElement({...a},l)}findLast(a,l){return this.findElement({isBackward:!0,...a},l)}findNext(a,l){return this.findElement({...a},l)}findPrev(a,l){return this.findElement({...a,isBackward:!0},l)}findDefault(a,l){return this.findElement({...a,acceptCondition:(c)=>this.isFocusable(c,a.includeProgrammaticallyFocusable)&&!!this.getProps(c).isDefault},l)||null}findAll(a){return this._findElements(!0,a)||[]}findElement(a,l){let c=this._findElements(!1,a,l);return c?c[0]:c}_findElements(a,l,c){var h,Z,o;let{container:v,currentElement:r=null,includeProgrammaticallyFocusable:e,useActiveModalizer:m,ignoreAccessibility:t,modalizerId:M,isBackward:H,onElement:A}=l;if(!c)c={};let V=[],{acceptCondition:i}=l,u=!!i;if(!v)return null;if(!i)i=(R)=>this.isFocusable(R,e,!1,t);let d={container:v,modalizerUserId:M===void 0&&m?(h=this._tabster.modalizer)===null||h===void 0?void 0:h.activeId:M||((o=(Z=q1.getTabsterContext(this._tabster,v))===null||Z===void 0?void 0:Z.modalizer)===null||o===void 0?void 0:o.userId),from:r||v,isBackward:H,isFindAll:a,acceptCondition:i,hasCustomCondition:u,includeProgrammaticallyFocusable:e,ignoreAccessibility:t,cachedGrouppers:{},cachedRadioGroups:{}},L=Hr(v.ownerDocument,v,(R)=>this._acceptElement(R,d));if(!L)return null;let g=(R)=>{var x,S;let p=(x=d.foundElement)!==null&&x!==void 0?x:d.foundBackward;if(p)V.push(p);if(a){if(p){if(d.found=!1,delete d.foundElement,delete d.foundBackward,delete d.fromCtx,d.from=p,A&&!A(p))return!1}return!!(p||R)}else{if(p&&c)c.uncontrolled=(S=q1.getTabsterContext(this._tabster,p))===null||S===void 0?void 0:S.uncontrolled;return!!(R&&!p)}};if(!r)c.outOfDOMOrder=!0;if(r&&b.nodeContains(v,r))L.currentNode=r;else if(H){let R=tV(v);if(!R)return null;if(this._acceptElement(R,d)===NodeFilter.FILTER_ACCEPT&&!g(!0)){if(d.skippedFocusable)c.outOfDOMOrder=!0;return V}L.currentNode=R}do if(H)L.previousNode();else L.nextNode();while(g());if(d.skippedFocusable)c.outOfDOMOrder=!0;return V.length?V:null}_acceptElement(a,l){var c,h,Z;if(l.found)return NodeFilter.FILTER_ACCEPT;let o=l.foundBackward;if(o&&(a===o||!b.nodeContains(o,a)))return l.found=!0,l.foundElement=o,NodeFilter.FILTER_ACCEPT;let v=l.container;if(a===v)return NodeFilter.FILTER_SKIP;if(!b.nodeContains(v,a))return NodeFilter.FILTER_REJECT;if(n6(a))return NodeFilter.FILTER_REJECT;if(b.nodeContains(l.rejectElementsFrom,a))return NodeFilter.FILTER_REJECT;let r=l.currentCtx=q1.getTabsterContext(this._tabster,a);if(!r)return NodeFilter.FILTER_SKIP;if(rV(a)){if(this.isFocusable(a,void 0,!0,!0))l.skippedFocusable=!0;return NodeFilter.FILTER_SKIP}if(!l.hasCustomCondition&&(a.tagName==="IFRAME"||a.tagName==="WEBVIEW"))if(this.isVisible(a)&&((c=r.modalizer)===null||c===void 0?void 0:c.userId)===((h=this._tabster.modalizer)===null||h===void 0?void 0:h.activeId))return l.found=!0,l.rejectElementsFrom=l.foundElement=a,NodeFilter.FILTER_ACCEPT;else return NodeFilter.FILTER_REJECT;if(!l.ignoreAccessibility&&!this.isAccessible(a)){if(this.isFocusable(a,!1,!0,!0))l.skippedFocusable=!0;return NodeFilter.FILTER_REJECT}let e,m=l.fromCtx;if(!m)m=l.fromCtx=q1.getTabsterContext(this._tabster,l.from);let t=m===null||m===void 0?void 0:m.mover,M=r.groupper,H=r.mover;if(e=(Z=this._tabster.modalizer)===null||Z===void 0?void 0:Z.acceptElement(a,l),e!==void 0)l.skippedFocusable=!0;if(e===void 0&&(M||H||t)){let A=M===null||M===void 0?void 0:M.getElement(),V=t===null||t===void 0?void 0:t.getElement(),i=H===null||H===void 0?void 0:H.getElement();if(i&&b.nodeContains(V,i)&&b.nodeContains(v,V)&&(!A||!H||b.nodeContains(V,A)))H=t,i=V;if(A){if(A===v||!b.nodeContains(v,A))M=void 0;else if(!b.nodeContains(A,a))return NodeFilter.FILTER_REJECT}if(i){if(!b.nodeContains(v,i))H=void 0;else if(!b.nodeContains(i,a))return NodeFilter.FILTER_REJECT}if(M&&H)if(i&&A&&!b.nodeContains(A,i))H=void 0;else M=void 0;if(M)e=M.acceptElement(a,l);if(H)e=H.acceptElement(a,l)}if(e===void 0){if(e=l.acceptCondition(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,e===NodeFilter.FILTER_SKIP&&this.isFocusable(a,!1,!0,!0))l.skippedFocusable=!0}if(e===NodeFilter.FILTER_ACCEPT&&!l.found){if(!l.isFindAll&&mr(a)&&!a.checked){let A=a.name,V=l.cachedRadioGroups[A];if(!V){if(V=Jx(a),V)l.cachedRadioGroups[A]=V}if((V===null||V===void 0?void 0:V.checked)&&V.checked!==a)return NodeFilter.FILTER_SKIP}if(l.isBackward)l.foundBackward=a,e=NodeFilter.FILTER_SKIP;else l.found=!0,l.foundElement=a}return e}}/*!
|
|
68
68
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
69
69
|
* Licensed under the MIT License.
|
|
70
|
-
*/var
|
|
70
|
+
*/var i0={Tab:"Tab",Enter:"Enter",Escape:"Escape",Space:" ",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};/*!
|
|
71
71
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
72
72
|
* Licensed under the MIT License.
|
|
73
|
-
*/function
|
|
73
|
+
*/function Ex(a,l){var c;let h=a.getParent,Z=l;do{let o=(c=E0(a,Z))===null||c===void 0?void 0:c.uncontrolled;if(o&&a.uncontrolled.isUncontrolledCompletely(Z,!!o.completely))return Z;Z=h(Z)}while(Z);return}var JA={[w7.Restorer]:0,[w7.Deloser]:1,[w7.EscapeGroupper]:2};class n0 extends Vr{constructor(a,l){super();this._init=()=>{let c=this._win(),h=c.document;h.addEventListener(C5,this._onFocusIn,!0),h.addEventListener(H6,this._onFocusOut,!0),c.addEventListener("keydown",this._onKeyDown,!0);let Z=b.getActiveElement(h);if(Z&&Z!==h.body)this._setFocusedElement(Z);this.subscribe(this._onChanged)},this._onFocusIn=(c)=>{let h=c.composedPath()[0];if(h)this._setFocusedElement(h,c.detail.relatedTarget,c.detail.isFocusedProgrammatically)},this._onFocusOut=(c)=>{var h;this._setFocusedElement(void 0,(h=c.detail)===null||h===void 0?void 0:h.originalEvent.relatedTarget)},this._validateFocusedElement=(c)=>{},this._onKeyDown=(c)=>{if(c.key!==i0.Tab||c.ctrlKey)return;let h=this.getVal();if(!h||!h.ownerDocument||h.contentEditable==="true")return;let Z=this._tabster,o=Z.controlTab,v=q1.getTabsterContext(Z,h);if(!v||v.ignoreKeydown(c))return;let r=c.shiftKey,e=n0.findNextTabbable(Z,v,void 0,h,void 0,r,!0),m=v.root.getElement();if(!m)return;let t=e===null||e===void 0?void 0:e.element,M=Ex(Z,h);if(t){let H=e.uncontrolled;if(v.uncontrolled||b.nodeContains(H,h)){if(!e.outOfDOMOrder&&H===v.uncontrolled||M&&!b.nodeContains(M,t))return;E3.addPhantomDummyWithTarget(Z,h,r,t);return}if(H&&Z.focusable.isVisible(H)||t.tagName==="IFRAME"&&Z.focusable.isVisible(t)){if(m.dispatchEvent(new D7({by:"root",owner:m,next:t,relatedEvent:c})))E3.moveWithPhantomDummy(Z,H!==null&&H!==void 0?H:t,!1,r,c);return}if(o||(e===null||e===void 0?void 0:e.outOfDOMOrder)){if(m.dispatchEvent(new D7({by:"root",owner:m,next:t,relatedEvent:c})))c.preventDefault(),c.stopImmediatePropagation(),A2(t)}}else if(!M&&m.dispatchEvent(new D7({by:"root",owner:m,next:null,relatedEvent:c})))v.root.moveOutWithDefaultAction(r,c)},this._onChanged=(c,h)=>{var Z,o;if(c)c.dispatchEvent(new NA(h));else{let v=(Z=this._lastVal)===null||Z===void 0?void 0:Z.get();if(v){let r={...h},e=q1.getTabsterContext(this._tabster,v),m=(o=e===null||e===void 0?void 0:e.modalizer)===null||o===void 0?void 0:o.userId;if(m)r.modalizerId=m;v.dispatchEvent(new jA(r))}}},this._tabster=a,this._win=l,a.queueInit(this._init)}dispose(){super.dispose();let a=this._win(),l=a.document;l.removeEventListener(C5,this._onFocusIn,!0),l.removeEventListener(H6,this._onFocusOut,!0),a.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);let c=this._asyncFocus;if(c)a.clearTimeout(c.timeout),delete this._asyncFocus;delete n0._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(a,l){var c,h;let Z=n0._lastResetElement,o=Z&&Z.get();if(o&&b.nodeContains(l,o))delete n0._lastResetElement;if(o=(h=(c=a._nextVal)===null||c===void 0?void 0:c.element)===null||h===void 0?void 0:h.get(),o&&b.nodeContains(l,o))delete a._nextVal;if(Z=a._lastVal,o=Z&&Z.get(),o&&b.nodeContains(l,o))delete a._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var a;let l=(a=this._lastVal)===null||a===void 0?void 0:a.get();if(!l||l&&!Ar(l.ownerDocument,l))this._lastVal=l=void 0;return l}focus(a,l,c,h){if(!this._tabster.focusable.isFocusable(a,l,!1,c))return!1;return a.focus({preventScroll:h}),!0}focusDefault(a){let l=this._tabster.focusable.findDefault({container:a});if(l)return this._tabster.focusedElement.focus(l),!0;return!1}getFirstOrLastTabbable(a,l){var c;let{container:h,ignoreAccessibility:Z}=l,o;if(h){let v=q1.getTabsterContext(this._tabster,h);if(v)o=(c=n0.findNextTabbable(this._tabster,v,h,void 0,void 0,!a,Z))===null||c===void 0?void 0:c.element}if(o&&!b.nodeContains(h,o))o=void 0;return o||void 0}_focusFirstOrLast(a,l){let c=this.getFirstOrLastTabbable(a,l);if(c)return this.focus(c,!1,!0),!0;return!1}focusFirst(a){return this._focusFirstOrLast(!0,a)}focusLast(a){return this._focusFirstOrLast(!1,a)}resetFocus(a){if(!this._tabster.focusable.isVisible(a))return!1;if(!this._tabster.focusable.isFocusable(a,!0,!0,!0)){let l=a.getAttribute("tabindex"),c=a.getAttribute("aria-hidden");a.tabIndex=-1,a.setAttribute("aria-hidden","true"),n0._lastResetElement=new F5(this._win,a),this.focus(a,!0,!0),this._setOrRemoveAttribute(a,"tabindex",l),this._setOrRemoveAttribute(a,"aria-hidden",c)}else this.focus(a);return!0}requestAsyncFocus(a,l,c){let h=this._tabster.getWindow(),Z=this._asyncFocus;if(Z){if(JA[a]>JA[Z.source])return;h.clearTimeout(Z.timeout)}this._asyncFocus={source:a,callback:l,timeout:h.setTimeout(()=>{this._asyncFocus=void 0,l()},c)}}cancelAsyncFocus(a){let l=this._asyncFocus;if((l===null||l===void 0?void 0:l.source)===a)this._tabster.getWindow().clearTimeout(l.timeout),this._asyncFocus=void 0}_setOrRemoveAttribute(a,l,c){if(c===null)a.removeAttribute(l);else a.setAttribute(l,c)}_setFocusedElement(a,l,c){var h,Z;if(this._tabster._noop)return;let o={relatedTarget:l};if(a){let r=(h=n0._lastResetElement)===null||h===void 0?void 0:h.get();if(n0._lastResetElement=void 0,r===a||rV(a))return;o.isFocusedProgrammatically=c;let e=q1.getTabsterContext(this._tabster,a),m=(Z=e===null||e===void 0?void 0:e.modalizer)===null||Z===void 0?void 0:Z.userId;if(m)o.modalizerId=m}let v=this._nextVal={element:a?new F5(this._win,a):void 0,detail:o};if(a&&a!==this._val)this._validateFocusedElement(a);if(this._nextVal===v)this.setVal(a,o);this._nextVal=void 0}setVal(a,l){if(super.setVal(a,l),a)this._lastVal=new F5(this._win,a)}static findNextTabbable(a,l,c,h,Z,o,v){let r=c||l.root.getElement();if(!r)return null;let e=null,m=n0._isTabbingTimer,t=a.getWindow();if(m)t.clearTimeout(m);n0.isTabbing=!0,n0._isTabbingTimer=t.setTimeout(()=>{delete n0._isTabbingTimer,n0.isTabbing=!1},0);let{modalizer:M,groupper:H,mover:A}=l,V=(i)=>{if(e=i.findNextTabbable(h,Z,o,v),h&&!(e===null||e===void 0?void 0:e.element)){let u=i!==M&&b.getParentElement(i.getElement());if(u){let d=q1.getTabsterContext(a,h,{referenceElement:u});if(d){let L=i.getElement(),g=o?L:L&&tV(L)||L;if(g){if(e=n0.findNextTabbable(a,d,c,g,u,o,v),e)e.outOfDOMOrder=!0}}}}};if(H&&A)V(l.groupperBeforeMover?H:A);else if(H)V(H);else if(A)V(A);else if(M)V(M);else{let i={container:r,currentElement:h,referenceElement:Z,ignoreAccessibility:v,useActiveModalizer:!0},u={};e={element:a.focusable[o?"findPrev":"findNext"](i,u),outOfDOMOrder:u.outOfDOMOrder,uncontrolled:u.uncontrolled}}return e}}n0.isTabbing=!1;/*!
|
|
74
74
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
75
75
|
* Licensed under the MIT License.
|
|
76
|
-
*/class
|
|
76
|
+
*/class VV extends E3{constructor(a,l,c,h){super(c,a,ih.Groupper,h,!0);this._setHandlers((Z,o,v)=>{var r,e;let m=a.get(),t=Z.input;if(m&&t){let M=q1.getTabsterContext(c,t);if(M){let H;if(H=(r=l.findNextTabbable(v||void 0,void 0,o,!0))===null||r===void 0?void 0:r.element,!H)H=(e=n0.findNextTabbable(c,M,void 0,Z.isOutside?t:zx(m,!o),void 0,o,!0))===null||e===void 0?void 0:e.element;if(H)A2(H)}}})}}class iV extends u6{constructor(a,l,c,h,Z){super(a,l,h);if(this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=c,!a.controlTab)this.dummyManager=new VV(this._element,this,a,Z)}dispose(){var a;this._onDispose(this);let l=this._element.get();if((a=this.dummyManager)===null||a===void 0||a.dispose(),delete this.dummyManager,l)KA(this._element,!0);delete this._first}findNextTabbable(a,l,c,h){let Z=this.getElement();if(!Z)return null;let o=n6(a)===Z;if(!this._shouldTabInside&&a&&b.nodeContains(Z,a)&&!o)return{element:void 0,outOfDOMOrder:!0};let v=this.getFirst(!0);if(!a||!b.nodeContains(Z,a)||o)return{element:v,outOfDOMOrder:!0};let r=this._tabster,e=null,m=!1,t;if(this._shouldTabInside&&v){let M={container:Z,currentElement:a,referenceElement:l,ignoreAccessibility:h,useActiveModalizer:!0},H={};if(e=r.focusable[c?"findPrev":"findNext"](M,H),m=!!H.outOfDOMOrder,!e&&this._props.tabbability===N8.LimitedTrapFocus)e=r.focusable[c?"findLast":"findFirst"]({container:Z,ignoreAccessibility:h,useActiveModalizer:!0},H),m=!0;t=H.uncontrolled}return{element:e,uncontrolled:t,outOfDOMOrder:m}}makeTabbable(a){this._shouldTabInside=a||!this._props.tabbability,KA(this._element,!this._shouldTabInside)}isActive(a){var l;let c=this.getElement()||null,h=!0;for(let o=b.getParentElement(c);o;o=b.getParentElement(o)){let v=(l=E0(this._tabster,o))===null||l===void 0?void 0:l.groupper;if(v){if(!v._shouldTabInside)h=!1}}let Z=h?this._props.tabbability?this._shouldTabInside:!1:void 0;if(Z&&a){let o=this._tabster.focusedElement.getFocusedElement();if(o)Z=o!==this.getFirst(!0)}return Z}getFirst(a){var l;let c=this.getElement(),h;if(c){if(a&&this._tabster.focusable.isFocusable(c))return c;if(h=(l=this._first)===null||l===void 0?void 0:l.get(),!h){if(h=this._tabster.focusable.findFirst({container:c,useActiveModalizer:!0})||void 0,h)this.setFirst(h)}}return h}setFirst(a){if(a)this._first=new F5(this._tabster.getWindow,a);else delete this._first}acceptElement(a,l){let c=l.cachedGrouppers,h=b.getParentElement(this.getElement()),Z=h&&q1.getTabsterContext(this._tabster,h),o=Z===null||Z===void 0?void 0:Z.groupper,v=(Z===null||Z===void 0?void 0:Z.groupperBeforeMover)?o:void 0,r,e=(M)=>{let H=c[M.id],A;if(H)A=H.isActive;else A=this.isActive(!0),H=c[M.id]={isActive:A};return A};if(v){if(r=v.getElement(),!e(v)&&r&&l.container!==r&&b.nodeContains(l.container,r))return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT}let m=e(this),t=this.getElement();if(t){if(m!==!0){if(t===a&&o){if(!r)r=o.getElement();if(r&&!e(o)&&b.nodeContains(l.container,r)&&r!==l.container)return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT}if(t!==a&&b.nodeContains(t,a))return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT;let M=c[this.id],H;if("first"in M)H=M.first;else H=M.first=this.getFirst(!0);if(H&&l.acceptCondition(H))if(l.rejectElementsFrom=t,l.skippedFocusable=!0,H!==l.from)return l.found=!0,l.foundElement=H,NodeFilter.FILTER_ACCEPT;else return NodeFilter.FILTER_REJECT}}return}}class nV{constructor(a,l){this._current={},this._grouppers={},this._init=()=>{let c=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);let h=c.document,Z=b.getActiveElement(h);if(Z)this._onFocus(Z);h.addEventListener("mousedown",this._onMouseDown,!0),c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(GA,this._onMoveFocus)},this._onGroupperDispose=(c)=>{delete this._grouppers[c.id]},this._onFocus=(c)=>{if(c)this._updateCurrent(c)},this._onMouseDown=(c)=>{let h=c.target;while(h&&!this._tabster.focusable.isFocusable(h))h=this._tabster.getParent(h);if(h)this._updateCurrent(h)},this._onKeyDown=(c)=>{if(c.key!==i0.Enter&&c.key!==i0.Escape)return;if(c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let h=this._tabster.focusedElement.getFocusedElement();if(h)this.handleKeyPress(h,c)},this._onMoveFocus=(c)=>{var h;let Z=c.composedPath()[0],o=(h=c.detail)===null||h===void 0?void 0:h.action;if(Z&&o!==void 0&&!c.defaultPrevented){if(o===IA.Enter)this._enterGroupper(Z);else this._escapeGroupper(Z);c.stopImmediatePropagation()}},this._tabster=a,this._win=l,a.queueInit(this._init)}dispose(){let a=this._win();if(this._tabster.focusedElement.cancelAsyncFocus(w7.EscapeGroupper),this._current={},this._updateTimer)a.clearTimeout(this._updateTimer),delete this._updateTimer;this._tabster.focusedElement.unsubscribe(this._onFocus),a.document.removeEventListener("mousedown",this._onMouseDown,!0),a.removeEventListener("keydown",this._onKeyDown,!0),a.removeEventListener(GA,this._onMoveFocus),Object.keys(this._grouppers).forEach((l)=>{if(this._grouppers[l])this._grouppers[l].dispose(),delete this._grouppers[l]})}createGroupper(a,l,c){let h=this._tabster,Z=new iV(h,a,this._onGroupperDispose,l,c);this._grouppers[Z.id]=Z;let o=h.focusedElement.getFocusedElement();if(o&&b.nodeContains(a,o)&&!this._updateTimer)this._updateTimer=this._win().setTimeout(()=>{if(delete this._updateTimer,o===h.focusedElement.getFocusedElement())this._updateCurrent(o)},0);return Z}forgetCurrentGrouppers(){this._current={}}_updateCurrent(a){var l;if(this._updateTimer)this._win().clearTimeout(this._updateTimer),delete this._updateTimer;let c=this._tabster,h={};for(let Z=c.getParent(a);Z;Z=c.getParent(Z)){let o=(l=E0(c,Z))===null||l===void 0?void 0:l.groupper;if(o){h[o.id]=!0,this._current[o.id]=o;let v=o.isActive()||a!==Z&&(!o.getProps().delegated||o.getFirst(!1)!==a);o.makeTabbable(v)}}for(let Z of Object.keys(this._current)){let o=this._current[Z];if(!(o.id in h))o.makeTabbable(!1),o.setFirst(void 0),delete this._current[Z]}}_enterGroupper(a,l){let c=this._tabster,h=q1.getTabsterContext(c,a),Z=(h===null||h===void 0?void 0:h.groupper)||(h===null||h===void 0?void 0:h.modalizerInGroupper),o=Z===null||Z===void 0?void 0:Z.getElement();if(Z&&o&&(a===o||Z.getProps().delegated&&a===Z.getFirst(!1))){let v=c.focusable.findNext({container:o,currentElement:a,useActiveModalizer:!0});if(v&&(!l||l&&o.dispatchEvent(new D7({by:"groupper",owner:o,next:v,relatedEvent:l})))){if(l)l.preventDefault(),l.stopImmediatePropagation();return v.focus(),v}}return null}_escapeGroupper(a,l,c){let h=this._tabster,Z=q1.getTabsterContext(h,a),o=(Z===null||Z===void 0?void 0:Z.groupper)||(Z===null||Z===void 0?void 0:Z.modalizerInGroupper),v=o===null||o===void 0?void 0:o.getElement();if(o&&v&&b.nodeContains(v,a)){let r;if(a!==v||c)r=o.getFirst(!0);else{let e=b.getParentElement(v),m=e?q1.getTabsterContext(h,e):void 0;o=m===null||m===void 0?void 0:m.groupper,r=o===null||o===void 0?void 0:o.getFirst(!0)}if(r&&(!l||l&&v.dispatchEvent(new D7({by:"groupper",owner:v,next:r,relatedEvent:l})))){if(o)o.makeTabbable(!1);return r.focus(),r}}return null}moveFocus(a,l){return l===IA.Enter?this._enterGroupper(a):this._escapeGroupper(a)}handleKeyPress(a,l,c){let h=this._tabster,Z=q1.getTabsterContext(h,a);if(Z&&((Z===null||Z===void 0?void 0:Z.groupper)||(Z===null||Z===void 0?void 0:Z.modalizerInGroupper))){if(h.focusedElement.cancelAsyncFocus(w7.EscapeGroupper),Z.ignoreKeydown(l))return;if(l.key===i0.Enter)this._enterGroupper(a,l);else if(l.key===i0.Escape){let o=h.focusedElement.getFocusedElement();h.focusedElement.requestAsyncFocus(w7.EscapeGroupper,()=>{if(o!==h.focusedElement.getFocusedElement()&&(c&&!o||!c))return;this._escapeGroupper(a,l,c)},0)}}}}function KA(a,l){{let c=a.get();if(c)if(l)c.style.removeProperty("--tabster-groupper");else c.style.setProperty("--tabster-groupper","unlimited")}}/*!
|
|
77
77
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
78
78
|
* Licensed under the MIT License.
|
|
79
|
-
*/class
|
|
79
|
+
*/class uV extends Vr{constructor(a){super();this._onChange=(l)=>{this.setVal(l,void 0)},this._keyborg=A6(a()),this._keyborg.subscribe(this._onChange)}dispose(){if(super.dispose(),this._keyborg)this._keyborg.unsubscribe(this._onChange),V6(this._keyborg),delete this._keyborg}setNavigatingWithKeyboard(a){var l;(l=this._keyborg)===null||l===void 0||l.setVal(a)}isNavigatingWithKeyboard(){var a;return!!((a=this._keyborg)===null||a===void 0?void 0:a.isNavigatingWithKeyboard())}}/*!
|
|
80
80
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
81
81
|
* Licensed under the MIT License.
|
|
82
|
-
*/var
|
|
82
|
+
*/var $x=0,cr="aria-hidden";function hr(a,l,c,h,Z,o){{let v=a.get();if(v)if(l)v.style.removeProperty("--tabster-modalizer");else v.style.setProperty("--tabster-modalizer",c+","+h+","+(Z?"active":"inactive")+",,"+(o?`focused(${o})`:"not-focused"))}}class dV extends E3{constructor(a,l,c){super(l,a,ih.Modalizer,c);this._setHandlers((h,Z)=>{var o,v;let r=a.get(),e=r&&((o=q1.getRoot(l,r))===null||o===void 0?void 0:o.getElement()),m=h.input,t;if(e&&m){let M=n6(m),H=q1.getTabsterContext(l,M||m);if(H)t=(v=n0.findNextTabbable(l,H,e,m,void 0,Z,!0))===null||v===void 0?void 0:v.element;if(t)A2(t)}})}}class LV extends u6{constructor(a,l,c,h,Z,o){super(a,l,h);if(this._wasFocused=0,this.userId=h.id,this._onDispose=c,this._activeElements=o,!a.controlTab)this.dummyManager=new dV(this._element,a,Z);hr(this._element,!1,this.id,this.userId,this._isActive,this._wasFocused)}makeActive(a){if(this._isActive!==a){this._isActive=a;let l=this.getElement();if(l){let c=this._activeElements,h=c.map((Z)=>Z.get()).indexOf(l);if(a){if(h<0)c.push(new F5(this._tabster.getWindow,l))}else if(h>=0)c.splice(h,1)}hr(this._element,!1,this.id,this.userId,this._isActive,this._wasFocused),this._dispatchEvent(a)}}focused(a){if(!a)this._wasFocused=++$x;return this._wasFocused}setProps(a){if(a.id)this.userId=a.id;this._props={...a}}dispose(){var a;this.makeActive(!1),this._onDispose(this),(a=this.dummyManager)===null||a===void 0||a.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(a){return b.nodeContains(this.getElement(),a)}findNextTabbable(a,l,c,h){var Z,o;if(!this.getElement())return null;let r=this._tabster,e=null,m=!1,t,M=a&&((Z=q1.getRoot(r,a))===null||Z===void 0?void 0:Z.getElement());if(M){let H={container:M,currentElement:a,referenceElement:l,ignoreAccessibility:h,useActiveModalizer:!0},A={};if(e=r.focusable[c?"findPrev":"findNext"](H,A),!e&&this._props.isTrapped&&((o=r.modalizer)===null||o===void 0?void 0:o.activeId)){if(e=r.focusable[c?"findLast":"findFirst"]({container:M,ignoreAccessibility:h,useActiveModalizer:!0},A),e===null)e=a;m=!0}else m=!!A.outOfDOMOrder;t=A.uncontrolled}return{element:e,uncontrolled:t,outOfDOMOrder:m}}_dispatchEvent(a,l){let c=this.getElement(),h=!1;if(c){let Z=l?this._activeElements.map((o)=>o.get()):[c];for(let o of Z)if(o){let v={id:this.userId,element:c},r=a?new _A(v):new aV(v);if(o.dispatchEvent(r),r.defaultPrevented)h=!0}}return h}_remove(){hr(this._element,!0)}}class gV{constructor(a,l,c){if(this._onModalizerDispose=(Z)=>{let{id:o,userId:v}=Z,r=this._parts[v];if(delete this._modalizers[o],r){if(delete r[o],Object.keys(r).length===0){delete this._parts[v];let e=this._activationHistory,m=[],t;for(let M=e.length;M--;){let H=e[M];if(H===v)continue;if(H!==t){if(t=H,H||m.length>0)m.unshift(H)}}if(this._activationHistory=m,this.activeId===v){let M=m[0],H=M?Object.values(this._parts[M])[0]:void 0;this.setActive(H)}}}},this._onKeyDown=(Z)=>{var o;if(Z.key!==i0.Escape)return;let v=this._tabster,r=v.focusedElement.getFocusedElement();if(r){let e=q1.getTabsterContext(v,r),m=e===null||e===void 0?void 0:e.modalizer;if(e&&!e.groupper&&(m===null||m===void 0?void 0:m.isActive())&&!e.ignoreKeydown(Z)){let t=m.userId;if(t){let M=this._parts[t];if(M){let H=Object.keys(M).map((A)=>{var V;let i=M[A],u=i.getElement(),d;if(u)d=(V=E0(v,u))===null||V===void 0?void 0:V.groupper;return i&&u&&d?{el:u,focusedSince:i.focused(!0)}:{focusedSince:0}}).filter((A)=>A.focusedSince>0).sort((A,V)=>A.focusedSince>V.focusedSince?-1:A.focusedSince<V.focusedSince?1:0);if(H.length){let A=H[0].el;if(A)(o=v.groupper)===null||o===void 0||o.handleKeyPress(A,Z,!0)}}}}}},this._onFocus=(Z,o)=>{var v;let r=this._tabster,e=Z&&q1.getTabsterContext(r,Z);if(!e||!Z)return;let m=this._augMap;for(let A=Z;A;A=r.getParent(A))if(m.has(A))m.delete(A),lr(r,A,cr);let t=e.modalizer,M=E0(r,Z),H=M===null||M===void 0?void 0:M.modalizer;if(H){if(H.focused(),H.userId===this.activeId&&M.groupper){let A=r.getParent(Z),V=A&&((v=q1.getTabsterContext(r,A))===null||v===void 0?void 0:v.modalizer);if(V)t=V;else{this.setActive(void 0);return}}}if(t===null||t===void 0||t.focused(),(t===null||t===void 0?void 0:t.userId)===this.activeId){this.currentIsOthersAccessible=t===null||t===void 0?void 0:t.getProps().isOthersAccessible;return}if(o.isFocusedProgrammatically||this.currentIsOthersAccessible||(t===null||t===void 0?void 0:t.getProps().isAlwaysAccessible))this.setActive(t);else{let A=this._win();A.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=A.setTimeout(()=>this._restoreModalizerFocus(Z),100)}},this._tabster=a,this._win=a.getWindow,this._modalizers={},this._parts={},this._augMap=/*@__PURE__*/new WeakMap,this._aug=[],this._alwaysAccessibleSelector=l,this._accessibleCheck=c,this._activationHistory=[],this.activeElements=[],!a.controlTab)a.root.addDummyInputs();this._win().addEventListener("keydown",this._onKeyDown,!0),a.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){let a=this._win();a.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach((l)=>{if(this._modalizers[l])this._modalizers[l].dispose(),delete this._modalizers[l]}),a.clearTimeout(this._restoreModalizerFocusTimer),a.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=/*@__PURE__*/new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(a,l,c){var h;let Z=new LV(this._tabster,a,this._onModalizerDispose,l,c,this.activeElements),o=Z.id,v=l.id;this._modalizers[o]=Z;let r=this._parts[v];if(!r)r=this._parts[v]={};r[o]=Z;let e=(h=this._tabster.focusedElement.getFocusedElement())!==null&&h!==void 0?h:null;if(a!==e&&b.nodeContains(a,e))if(v!==this.activeId)this.setActive(Z);else Z.makeActive(!0);return Z}isAugmented(a){return this._augMap.has(a)}hiddenUpdate(){if(this._hiddenUpdateTimer)return;this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250)}setActive(a){let l=a===null||a===void 0?void 0:a.userId,c=this.activeId;if(c===l)return;if(this.activeId=l,c){let Z=this._parts[c];if(Z)for(let o of Object.keys(Z))Z[o].makeActive(!1)}if(l){let Z=this._parts[l];if(Z)for(let o of Object.keys(Z))Z[o].makeActive(!0)}this.currentIsOthersAccessible=a===null||a===void 0?void 0:a.getProps().isOthersAccessible,this.hiddenUpdate();let h=this._activationHistory;if(h[0]!==l&&(l!==void 0||h.length>0))h.unshift(l)}focus(a,l,c){let h=this._tabster,Z=q1.getTabsterContext(h,a),o=Z===null||Z===void 0?void 0:Z.modalizer;if(o){this.setActive(o);let v=o.getProps(),r=o.getElement();if(r){if(l===void 0)l=v.isNoFocusFirst;if(!l&&h.keyboardNavigation.isNavigatingWithKeyboard()&&h.focusedElement.focusFirst({container:r}))return!0;if(c===void 0)c=v.isNoFocusDefault;if(!c&&h.focusedElement.focusDefault(r))return!0;h.focusedElement.resetFocus(r)}}else console.error("Element is not in Modalizer.",a);return!1}activate(a){var l;let c=a?(l=q1.getTabsterContext(this._tabster,a))===null||l===void 0?void 0:l.modalizer:void 0;if(!a||c)return this.setActive(c),!0;return!1}acceptElement(a,l){var c;let h=l.modalizerUserId,Z=(c=l.currentCtx)===null||c===void 0?void 0:c.modalizer;if(h)for(let v of this.activeElements){let r=v.get();if(r&&(b.nodeContains(a,r)||r===a))return NodeFilter.FILTER_SKIP}let o=h===(Z===null||Z===void 0?void 0:Z.userId)||!h&&(Z===null||Z===void 0?void 0:Z.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;if(o!==void 0)l.skippedFocusable=!0;return o}_hiddenUpdate(){var a;let l=this._tabster,c=l.getWindow().document.body,h=this.activeId,Z=this._parts,o=[],v=[],r=this._alwaysAccessibleSelector,e=r?Array.from(b.querySelectorAll(c,r)):[],m=[];for(let u of Object.keys(Z)){let d=Z[u];for(let L of Object.keys(d)){let g=d[L],R=g.getElement(),S=g.getProps().isAlwaysAccessible;if(R)if(u===h){if(m.push(R),!this.currentIsOthersAccessible)o.push(R)}else if(S)e.push(R);else v.push(R)}}let t=this._augMap,M=o.length>0?[...o,...e]:void 0,H=[],A=/*@__PURE__*/new WeakMap,V=(u,d)=>{var L;let g=u.tagName;if(g==="SCRIPT"||g==="STYLE")return;let R=!1;if(t.has(u))if(d)R=!0;else t.delete(u),lr(l,u,cr);else if(d&&!((L=this._accessibleCheck)===null||L===void 0?void 0:L.call(this,u,m))&&lr(l,u,cr,"true"))t.set(u,!0),R=!0;if(R)H.push(new F5(l.getWindow,u)),A.set(u,!0)},i=(u)=>{var d;for(let L=b.getFirstElementChild(u);L;L=b.getNextElementSibling(L)){let g=!1,R=!1,x=!1;if(M){let S=l.getParent(L);for(let p of M){if(L===p){g=!0;break}if(b.nodeContains(L,p)){R=!0;break}else if(b.nodeContains(p,S))x=!0}if(R||((d=L.__tabsterElementFlags)===null||d===void 0?void 0:d.noDirectAriaHidden))i(L);else if(!g&&!x)V(L,!0)}else V(L,!1)}};if(!M)e.forEach((u)=>V(u,!1));if(v.forEach((u)=>V(u,!0)),c)i(c);(a=this._aug)===null||a===void 0||a.map((u)=>u.get()).forEach((u)=>{if(u&&!A.get(u))V(u,!1)}),this._aug=H,this._augMap=A}_restoreModalizerFocus(a){var l;let c=a===null||a===void 0?void 0:a.ownerDocument;if(!a||!c)return;let h=this._tabster.focusedElement.getFocusedElement(),Z=h&&((l=q1.getTabsterContext(this._tabster,h))===null||l===void 0?void 0:l.modalizer);if(!h||h&&(Z===null||Z===void 0?void 0:Z.userId)===this.activeId)return;let o=this._tabster,v=q1.getTabsterContext(o,a),r=v===null||v===void 0?void 0:v.modalizer,e=this.activeId;if(!r&&!e||r&&e===r.userId)return;let m=v===null||v===void 0?void 0:v.root.getElement();if(m){let t=o.focusable.findFirst({container:m,useActiveModalizer:!0});if(t){if(a.compareDocumentPosition(t)&document.DOCUMENT_POSITION_PRECEDING){if(t=o.focusable.findLast({container:m,useActiveModalizer:!0}),!t)throw new Error("Something went wrong.")}o.focusedElement.focus(t);return}}a.blur()}}/*!
|
|
83
83
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
84
84
|
* Licensed under the MIT License.
|
|
85
|
-
*/var Sx=/*@__PURE__*/["input","textarea","*[contenteditable]"].join(", ");class Dn extends N7{constructor(a,l,c,e){super(l,a,Se.Mover,e);this._onFocusDummyInput=(h)=>{var Z,o;let r=this._element.get(),v=h.input;if(r&&v){let t=U1.getTabsterContext(this._tabster,r),M;if(t)M=(Z=V0.findNextTabbable(this._tabster,t,void 0,v,void 0,!h.isFirst,!0))===null||Z===void 0?void 0:Z.element;let m=(o=this._getMemorized())===null||o===void 0?void 0:o.get();if(m&&this._tabster.focusable.isFocusable(m))M=m;if(M)n2(M)}},this._tabster=l,this._getMemorized=c,this._setHandlers(this._onFocusDummyInput)}}var mr=1,Ni=2,ji=3;class wn extends F6{constructor(a,l,c,e,h){var Z;super(a,l,e);if(this._visible={},this._onIntersection=(r)=>{for(let v of r){let t=v.target,M=ke(this._win,t),m,H=this._fullyVisible;if(v.intersectionRatio>=0.25){if(m=v.intersectionRatio>=0.75?Z7.Visible:Z7.PartiallyVisible,m===Z7.Visible)H=M}else m=Z7.Invisible;if(this._visible[M]!==m){if(m===void 0){if(delete this._visible[M],H===M)delete this._fullyVisible}else this._visible[M]=m,this._fullyVisible=H;let i=this.getState(t);if(i)t.dispatchEvent(new Hr(i))}}},this._win=a.getWindow,this.visibilityTolerance=(Z=e.visibilityTolerance)!==null&&Z!==void 0?Z:0.8,this._props.trackState||this._props.visibilityAware)this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,0.25,0.5,0.75,1]}),this._observeState();this._onDispose=c;let o=()=>e.memorizeCurrent?this._current:void 0;if(!a.controlTab)this.dummyManager=new Dn(this._element,a,o,h)}dispose(){var a;if(this._onDispose(this),this._intersectionObserver)this._intersectionObserver.disconnect(),delete this._intersectionObserver;if(delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve)this._unobserve(),delete this._unobserve;let l=this._win();if(this._setCurrentTimer)l.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer;if(this._updateTimer)l.clearTimeout(this._updateTimer),delete this._updateTimer;(a=this.dummyManager)===null||a===void 0||a.dispose(),delete this.dummyManager}setCurrent(a){if(a)this._current=new L5(this._win,a);else this._current=void 0;if((this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer)this._setCurrentTimer=this._win().setTimeout(()=>{var l;delete this._setCurrentTimer;let c=[];if(this._current!==this._prevCurrent)c.push(this._current),c.push(this._prevCurrent),this._prevCurrent=this._current;for(let e of c){let h=e===null||e===void 0?void 0:e.get();if(h&&((l=this._allElements)===null||l===void 0?void 0:l.get(h))===this){let Z=this._props;if(h&&(Z.visibilityAware!==void 0||Z.trackState)){let o=this.getState(h);if(o)h.dispatchEvent(new Hr(o))}}}})}getCurrent(){var a;return((a=this._current)===null||a===void 0?void 0:a.get())||null}findNextTabbable(a,l,c,e){let h=this.getElement(),Z=h&&L6(a)===h;if(!h)return null;let o=null,r=!1,v;if(this._props.tabbable||Z||a&&!P.nodeContains(h,a)){let t={currentElement:a,referenceElement:l,container:h,ignoreAccessibility:e,useActiveModalizer:!0},M={};o=this._tabster.focusable[c?"findPrev":"findNext"](t,M),r=!!M.outOfDOMOrder,v=M.uncontrolled}return{element:o,uncontrolled:v,outOfDOMOrder:r}}acceptElement(a,l){var c,e;if(!V0.isTabbing)return((c=l.currentCtx)===null||c===void 0?void 0:c.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;let{memorizeCurrent:h,visibilityAware:Z,hasDefault:o=!0}=this._props,r=this.getElement();if(r&&(h||Z||o)&&(!P.nodeContains(r,l.from)||L6(l.from)===r)){let v;if(h){let t=(e=this._current)===null||e===void 0?void 0:e.get();if(t&&l.acceptCondition(t))v=t}if(!v&&o)v=this._tabster.focusable.findDefault({container:r,useActiveModalizer:!0});if(!v&&Z)v=this._tabster.focusable.findElement({container:r,useActiveModalizer:!0,isBackward:l.isBackward,acceptCondition:(t)=>{var M;let m=ke(this._win,t),H=this._visible[m];return r!==t&&!!((M=this._allElements)===null||M===void 0?void 0:M.get(t))&&l.acceptCondition(t)&&(H===Z7.Visible||H===Z7.PartiallyVisible&&(Z===Z7.PartiallyVisible||!this._fullyVisible))}});if(v)return l.found=!0,l.foundElement=v,l.rejectElementsFrom=r,l.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}return}_observeState(){let a=this.getElement();if(this._unobserve||!a||typeof MutationObserver==="undefined")return;let l=this._win(),c=this._allElements=/*@__PURE__*/new WeakMap,e=this._tabster.focusable,h=this._updateQueue=[],Z=P.createMutationObserver((H)=>{for(let i of H){let{target:n,removedNodes:A,addedNodes:u}=i;if(i.type==="attributes"){if(i.attributeName==="tabindex")h.push({element:n,type:Ni})}else{for(let d=0;d<A.length;d++)h.push({element:A[d],type:ji});for(let d=0;d<u.length;d++)h.push({element:u[d],type:mr})}}M()}),o=(H,i)=>{var n,A;let u=c.get(H);if(u&&i)(n=this._intersectionObserver)===null||n===void 0||n.unobserve(H),c.delete(H);if(!u&&!i)c.set(H,this),(A=this._intersectionObserver)===null||A===void 0||A.observe(H)},r=(H)=>{let i=e.isFocusable(H);if(c.get(H)){if(!i)o(H,!0)}else if(i)o(H)},v=(H)=>{let{mover:i}=m(H);if(i&&i!==this)if(i.getElement()===H&&e.isFocusable(H))o(H);else return;let n=dr(l.document,H,(A)=>{let{mover:u,groupper:d}=m(A);if(u&&u!==this)return NodeFilter.FILTER_REJECT;let C=d===null||d===void 0?void 0:d.getFirst(!0);if(d&&d.getElement()!==A&&C&&C!==A)return NodeFilter.FILTER_REJECT;if(e.isFocusable(A))o(A);return NodeFilter.FILTER_SKIP});if(n){n.currentNode=H;while(n.nextNode());}},t=(H)=>{if(c.get(H))o(H,!0);for(let n=P.getFirstElementChild(H);n;n=P.getNextElementSibling(n))t(n)},M=()=>{if(!this._updateTimer&&h.length)this._updateTimer=l.setTimeout(()=>{delete this._updateTimer;for(let{element:H,type:i}of h)switch(i){case Ni:r(H);break;case mr:v(H);break;case ji:t(H);break}h=this._updateQueue=[]},0)},m=(H)=>{let i={};for(let n=H;n;n=P.getParentElement(n)){let A=J0(this._tabster,n);if(A){if(A.groupper&&!i.groupper)i.groupper=A.groupper;if(A.mover){i.mover=A.mover;break}}}return i};h.push({element:a,type:mr}),M(),Z.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{Z.disconnect()}}getState(a){let l=ke(this._win,a);if(l in this._visible){let c=this._visible[l]||Z7.Invisible;return{isCurrent:this._current?this._current.get()===a:void 0,visibility:c}}return}}function fx(a,l,c,e,h,Z,o,r){let v=c<h?h-c:o<a?a-o:0,t=e<Z?Z-e:r<l?l-r:0;return v===0?t:t===0?v:Math.sqrt(v*v+t*t)}class kn{constructor(a,l){this._init=()=>{let c=this._win();c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(Gi,this._onMoveFocus),c.addEventListener(qi,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=(c)=>{delete this._movers[c.id]},this._onFocus=(c)=>{var e;let h=c,Z=c;for(let o=P.getParentElement(c);o;o=P.getParentElement(o)){let r=(e=J0(this._tabster,o))===null||e===void 0?void 0:e.mover;if(r)r.setCurrent(Z),h=void 0;if(!h&&this._tabster.focusable.isFocusable(o))h=Z=o}},this._onKeyDown=async(c)=>{var e;if(this._ignoredInputTimer)this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer;if((e=this._ignoredInputResolve)===null||e===void 0||e.call(this,!1),c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let h=c.key,Z;if(h===A0.ArrowDown)Z=g0.ArrowDown;else if(h===A0.ArrowRight)Z=g0.ArrowRight;else if(h===A0.ArrowUp)Z=g0.ArrowUp;else if(h===A0.ArrowLeft)Z=g0.ArrowLeft;else if(h===A0.PageDown)Z=g0.PageDown;else if(h===A0.PageUp)Z=g0.PageUp;else if(h===A0.Home)Z=g0.Home;else if(h===A0.End)Z=g0.End;if(!Z)return;let o=this._tabster.focusedElement.getFocusedElement();if(!o||await this._isIgnoredInput(o,h))return;this._moveFocus(o,Z,c)},this._onMoveFocus=(c)=>{var e;let h=c.composedPath()[0],Z=(e=c.detail)===null||e===void 0?void 0:e.key;if(h&&Z!==void 0&&!c.defaultPrevented)this._moveFocus(h,Z),c.stopImmediatePropagation()},this._onMemorizedElement=(c)=>{var e;let h=c.composedPath()[0],Z=(e=c.detail)===null||e===void 0?void 0:e.memorizedElement;if(h){let o=U1.getTabsterContext(this._tabster,h),r=o===null||o===void 0?void 0:o.mover;if(r){if(Z&&!P.nodeContains(r.getElement(),Z))Z=void 0;r.setCurrent(Z),c.stopImmediatePropagation()}}},this._tabster=a,this._win=l,this._movers={},a.queueInit(this._init)}dispose(){var a;let l=this._win();if(this._tabster.focusedElement.unsubscribe(this._onFocus),(a=this._ignoredInputResolve)===null||a===void 0||a.call(this,!1),this._ignoredInputTimer)l.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer;l.removeEventListener("keydown",this._onKeyDown,!0),l.removeEventListener(Gi,this._onMoveFocus),l.removeEventListener(qi,this._onMemorizedElement),Object.keys(this._movers).forEach((c)=>{if(this._movers[c])this._movers[c].dispose(),delete this._movers[c]})}createMover(a,l,c){let e=new wn(this._tabster,a,this._onMoverDispose,l,c);return this._movers[e.id]=e,e}moveFocus(a,l){return this._moveFocus(a,l)}_moveFocus(a,l,c){var e,h;let Z=this._tabster,o=U1.getTabsterContext(Z,a,{checkRtl:!0});if(!o||!o.mover||o.excludedFromMover||c&&o.ignoreKeydown(c))return null;let r=o.mover,v=r.getElement();if(o.groupperBeforeMover){let x=o.groupper;if(x&&!x.isActive(!0)){for(let O=P.getParentElement(x.getElement());O&&O!==v;O=P.getParentElement(O))if((h=(e=J0(Z,O))===null||e===void 0?void 0:e.groupper)===null||h===void 0?void 0:h.isActive(!0))return null}else return null}if(!v)return null;let t=Z.focusable,M=r.getProps(),m=M.direction||j5.Both,H=m===j5.Both,i=H||m===j5.Vertical,n=H||m===j5.Horizontal,A=m===j5.GridLinear,u=A||m===j5.Grid,d=M.cyclic,C,L,F,R=0,f=0;if(u)F=a.getBoundingClientRect(),R=Math.ceil(F.left),f=Math.floor(F.right);if(o.rtl){if(l===g0.ArrowRight)l=g0.ArrowLeft;else if(l===g0.ArrowLeft)l=g0.ArrowRight}if(l===g0.ArrowDown&&i||l===g0.ArrowRight&&(n||u)){if(C=t.findNext({currentElement:a,container:v,useActiveModalizer:!0}),C&&u){let x=Math.ceil(C.getBoundingClientRect().left);if(!A&&f>x)C=void 0}else if(!C&&d)C=t.findFirst({container:v,useActiveModalizer:!0})}else if(l===g0.ArrowUp&&i||l===g0.ArrowLeft&&(n||u)){if(C=t.findPrev({currentElement:a,container:v,useActiveModalizer:!0}),C&&u){let x=Math.floor(C.getBoundingClientRect().right);if(!A&&x>R)C=void 0}else if(!C&&d)C=t.findLast({container:v,useActiveModalizer:!0})}else if(l===g0.Home)if(u)t.findElement({container:v,currentElement:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:(x)=>{var O;if(!t.isFocusable(x))return!1;let I=Math.ceil((O=x.getBoundingClientRect().left)!==null&&O!==void 0?O:0);if(x!==a&&R<=I)return!0;return C=x,!1}});else C=t.findFirst({container:v,useActiveModalizer:!0});else if(l===g0.End)if(u)t.findElement({container:v,currentElement:a,useActiveModalizer:!0,acceptCondition:(x)=>{var O;if(!t.isFocusable(x))return!1;let I=Math.ceil((O=x.getBoundingClientRect().left)!==null&&O!==void 0?O:0);if(x!==a&&R>=I)return!0;return C=x,!1}});else C=t.findLast({container:v,useActiveModalizer:!0});else if(l===g0.PageUp){if(t.findElement({currentElement:a,container:v,useActiveModalizer:!0,isBackward:!0,acceptCondition:(x)=>{if(!t.isFocusable(x))return!1;if(Qi(this._win,x,r.visibilityTolerance))return C=x,!1;return!0}}),u&&C){let x=Math.ceil(C.getBoundingClientRect().left);t.findElement({currentElement:C,container:v,useActiveModalizer:!0,acceptCondition:(O)=>{if(!t.isFocusable(O))return!1;let I=Math.ceil(O.getBoundingClientRect().left);if(R<I||x>=I)return!0;return C=O,!1}})}L=!1}else if(l===g0.PageDown){if(t.findElement({currentElement:a,container:v,useActiveModalizer:!0,acceptCondition:(x)=>{if(!t.isFocusable(x))return!1;if(Qi(this._win,x,r.visibilityTolerance))return C=x,!1;return!0}}),u&&C){let x=Math.ceil(C.getBoundingClientRect().left);t.findElement({currentElement:C,container:v,useActiveModalizer:!0,isBackward:!0,acceptCondition:(O)=>{if(!t.isFocusable(O))return!1;let I=Math.ceil(O.getBoundingClientRect().left);if(R>I||x<=I)return!0;return C=O,!1}})}L=!0}else if(u){let x=l===g0.ArrowUp,O=R,I=Math.ceil(F.top),o1=f,r1=Math.floor(F.bottom),j,s,k=0;t.findAll({container:v,currentElement:a,isBackward:x,onElement:(y)=>{let Y=y.getBoundingClientRect(),l1=Math.ceil(Y.left),H1=Math.ceil(Y.top),K=Math.floor(Y.right),A1=Math.floor(Y.bottom);if(x&&I<A1||!x&&r1>H1)return!0;let Q=Math.ceil(Math.min(o1,K))-Math.floor(Math.max(O,l1)),X=Math.ceil(Math.min(o1-O,K-l1));if(Q>0&&X>=Q){let h1=Q/X;if(h1>k)j=y,k=h1}else if(k===0){let h1=fx(O,I,o1,r1,l1,H1,K,A1);if(s===void 0||h1<s)s=h1,j=y}else if(k>0)return!1;return!0}}),C=j}if(C&&(!c||c&&v.dispatchEvent(new w3({by:"mover",owner:v,next:C,relatedEvent:c})))){if(L!==void 0)ux(this._win,C,L);if(c)c.preventDefault(),c.stopImmediatePropagation();return n2(C),C}return null}async _isIgnoredInput(a,l){if(a.getAttribute("aria-expanded")==="true"&&a.hasAttribute("aria-activedescendant"))return!0;if(nn(a,Sx)){let c=0,e=0,h=0,Z;if(a.tagName==="INPUT"||a.tagName==="TEXTAREA"){let o=a.type;if(h=(a.value||"").length,o==="email"||o==="number"){if(h){let v=P.getSelection(a);if(v){let t=v.toString().length,M=l===A0.ArrowLeft||l===A0.ArrowUp;if(v.modify("extend",M?"backward":"forward","character"),t!==v.toString().length)return v.modify("extend",M?"forward":"backward","character"),!0;else h=0}}}else{let v=a.selectionStart;if(v===null)return o==="hidden";c=v||0,e=a.selectionEnd||0}}else if(a.contentEditable==="true")Z=new(gx(this._win))((o)=>{this._ignoredInputResolve=(H)=>{delete this._ignoredInputResolve,o(H)};let r=this._win();if(this._ignoredInputTimer)r.clearTimeout(this._ignoredInputTimer);let{anchorNode:v,focusNode:t,anchorOffset:M,focusOffset:m}=P.getSelection(a)||{};this._ignoredInputTimer=r.setTimeout(()=>{var H,i,n;delete this._ignoredInputTimer;let{anchorNode:A,focusNode:u,anchorOffset:d,focusOffset:C}=P.getSelection(a)||{};if(A!==v||u!==t||d!==M||C!==m){(H=this._ignoredInputResolve)===null||H===void 0||H.call(this,!1);return}if(c=d||0,e=C||0,h=((i=a.textContent)===null||i===void 0?void 0:i.length)||0,A&&u){if(P.nodeContains(a,A)&&P.nodeContains(a,u)){if(A!==a){let L=!1,F=(R)=>{if(R===A)L=!0;else if(R===u)return!0;let f=R.textContent;if(f&&!P.getFirstChild(R)){let O=f.length;if(L){if(u!==A)e+=O}else c+=O,e+=O}let x=!1;for(let O=P.getFirstChild(R);O&&!x;O=O.nextSibling)x=F(O);return x};F(a)}}}(n=this._ignoredInputResolve)===null||n===void 0||n.call(this,!0)},0)});if(Z&&!await Z)return!0;if(c!==e)return!0;if(c>0&&(l===A0.ArrowLeft||l===A0.ArrowUp||l===A0.Home))return!0;if(c<h&&(l===A0.ArrowRight||l===A0.ArrowDown||l===A0.End))return!0}return!1}}/*!
|
|
85
|
+
*/var Yx=/*@__PURE__*/["input","textarea","*[contenteditable]"].join(", ");class CV extends E3{constructor(a,l,c,h){super(l,a,ih.Mover,h);this._onFocusDummyInput=(Z)=>{var o,v;let r=this._element.get(),e=Z.input;if(r&&e){let m=q1.getTabsterContext(this._tabster,r),t;if(m)t=(o=n0.findNextTabbable(this._tabster,m,void 0,e,void 0,!Z.isFirst,!0))===null||o===void 0?void 0:o.element;let M=(v=this._getMemorized())===null||v===void 0?void 0:v.get();if(M&&this._tabster.focusable.isFocusable(M))t=M;if(t)A2(t)}},this._tabster=l,this._getMemorized=c,this._setHandlers(this._onFocusDummyInput)}}var Zr=1,XA=2,EA=3;class FV extends u6{constructor(a,l,c,h,Z){var o;super(a,l,h);if(this._visible={},this._onIntersection=(r)=>{for(let e of r){let m=e.target,t=Vh(this._win,m),M,H=this._fullyVisible;if(e.intersectionRatio>=0.25){if(M=e.intersectionRatio>=0.75?Z3.Visible:Z3.PartiallyVisible,M===Z3.Visible)H=t}else M=Z3.Invisible;if(this._visible[t]!==M){if(M===void 0){if(delete this._visible[t],H===t)delete this._fullyVisible}else this._visible[t]=M,this._fullyVisible=H;let A=this.getState(m);if(A)m.dispatchEvent(new vr(A))}}},this._win=a.getWindow,this.visibilityTolerance=(o=h.visibilityTolerance)!==null&&o!==void 0?o:0.8,this._props.trackState||this._props.visibilityAware)this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,0.25,0.5,0.75,1]}),this._observeState();this._onDispose=c;let v=()=>h.memorizeCurrent?this._current:void 0;if(!a.controlTab)this.dummyManager=new CV(this._element,a,v,Z)}dispose(){var a;if(this._onDispose(this),this._intersectionObserver)this._intersectionObserver.disconnect(),delete this._intersectionObserver;if(delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve)this._unobserve(),delete this._unobserve;let l=this._win();if(this._setCurrentTimer)l.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer;if(this._updateTimer)l.clearTimeout(this._updateTimer),delete this._updateTimer;(a=this.dummyManager)===null||a===void 0||a.dispose(),delete this.dummyManager}setCurrent(a){if(a)this._current=new F5(this._win,a);else this._current=void 0;if((this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer)this._setCurrentTimer=this._win().setTimeout(()=>{var l;delete this._setCurrentTimer;let c=[];if(this._current!==this._prevCurrent)c.push(this._current),c.push(this._prevCurrent),this._prevCurrent=this._current;for(let h of c){let Z=h===null||h===void 0?void 0:h.get();if(Z&&((l=this._allElements)===null||l===void 0?void 0:l.get(Z))===this){let o=this._props;if(Z&&(o.visibilityAware!==void 0||o.trackState)){let v=this.getState(Z);if(v)Z.dispatchEvent(new vr(v))}}}})}getCurrent(){var a;return((a=this._current)===null||a===void 0?void 0:a.get())||null}findNextTabbable(a,l,c,h){let Z=this.getElement(),o=Z&&n6(a)===Z;if(!Z)return null;let v=null,r=!1,e;if(this._props.tabbable||o||a&&!b.nodeContains(Z,a)){let m={currentElement:a,referenceElement:l,container:Z,ignoreAccessibility:h,useActiveModalizer:!0},t={};v=this._tabster.focusable[c?"findPrev":"findNext"](m,t),r=!!t.outOfDOMOrder,e=t.uncontrolled}return{element:v,uncontrolled:e,outOfDOMOrder:r}}acceptElement(a,l){var c,h;if(!n0.isTabbing)return((c=l.currentCtx)===null||c===void 0?void 0:c.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;let{memorizeCurrent:Z,visibilityAware:o,hasDefault:v=!0}=this._props,r=this.getElement();if(r&&(Z||o||v)&&(!b.nodeContains(r,l.from)||n6(l.from)===r)){let e;if(Z){let m=(h=this._current)===null||h===void 0?void 0:h.get();if(m&&l.acceptCondition(m))e=m}if(!e&&v)e=this._tabster.focusable.findDefault({container:r,useActiveModalizer:!0});if(!e&&o)e=this._tabster.focusable.findElement({container:r,useActiveModalizer:!0,isBackward:l.isBackward,acceptCondition:(m)=>{var t;let M=Vh(this._win,m),H=this._visible[M];return r!==m&&!!((t=this._allElements)===null||t===void 0?void 0:t.get(m))&&l.acceptCondition(m)&&(H===Z3.Visible||H===Z3.PartiallyVisible&&(o===Z3.PartiallyVisible||!this._fullyVisible))}});if(e)return l.found=!0,l.foundElement=e,l.rejectElementsFrom=r,l.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}return}_observeState(){let a=this.getElement();if(this._unobserve||!a||typeof MutationObserver==="undefined")return;let l=this._win(),c=this._allElements=/*@__PURE__*/new WeakMap,h=this._tabster.focusable,Z=this._updateQueue=[],o=b.createMutationObserver((H)=>{for(let A of H){let{target:V,removedNodes:i,addedNodes:u}=A;if(A.type==="attributes"){if(A.attributeName==="tabindex")Z.push({element:V,type:XA})}else{for(let d=0;d<i.length;d++)Z.push({element:i[d],type:EA});for(let d=0;d<u.length;d++)Z.push({element:u[d],type:Zr})}}t()}),v=(H,A)=>{var V,i;let u=c.get(H);if(u&&A)(V=this._intersectionObserver)===null||V===void 0||V.unobserve(H),c.delete(H);if(!u&&!A)c.set(H,this),(i=this._intersectionObserver)===null||i===void 0||i.observe(H)},r=(H)=>{let A=h.isFocusable(H);if(c.get(H)){if(!A)v(H,!0)}else if(A)v(H)},e=(H)=>{let{mover:A}=M(H);if(A&&A!==this)if(A.getElement()===H&&h.isFocusable(H))v(H);else return;let V=Hr(l.document,H,(i)=>{let{mover:u,groupper:d}=M(i);if(u&&u!==this)return NodeFilter.FILTER_REJECT;let L=d===null||d===void 0?void 0:d.getFirst(!0);if(d&&d.getElement()!==i&&L&&L!==i)return NodeFilter.FILTER_REJECT;if(h.isFocusable(i))v(i);return NodeFilter.FILTER_SKIP});if(V){V.currentNode=H;while(V.nextNode());}},m=(H)=>{if(c.get(H))v(H,!0);for(let V=b.getFirstElementChild(H);V;V=b.getNextElementSibling(V))m(V)},t=()=>{if(!this._updateTimer&&Z.length)this._updateTimer=l.setTimeout(()=>{delete this._updateTimer;for(let{element:H,type:A}of Z)switch(A){case XA:r(H);break;case Zr:e(H);break;case EA:m(H);break}Z=this._updateQueue=[]},0)},M=(H)=>{let A={};for(let V=H;V;V=b.getParentElement(V)){let i=E0(this._tabster,V);if(i){if(i.groupper&&!A.groupper)A.groupper=i.groupper;if(i.mover){A.mover=i.mover;break}}}return A};Z.push({element:a,type:Zr}),t(),o.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{o.disconnect()}}getState(a){let l=Vh(this._win,a);if(l in this._visible){let c=this._visible[l]||Z3.Invisible;return{isCurrent:this._current?this._current.get()===a:void 0,visibility:c}}return}}function yx(a,l,c,h,Z,o,v,r){let e=c<Z?Z-c:v<a?a-v:0,m=h<o?o-h:r<l?l-r:0;return e===0?m:m===0?e:Math.sqrt(e*e+m*m)}class RV{constructor(a,l){this._init=()=>{let c=this._win();c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(UA,this._onMoveFocus),c.addEventListener(OA,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=(c)=>{delete this._movers[c.id]},this._onFocus=(c)=>{var h;let Z=c,o=c;for(let v=b.getParentElement(c);v;v=b.getParentElement(v)){let r=(h=E0(this._tabster,v))===null||h===void 0?void 0:h.mover;if(r)r.setCurrent(o),Z=void 0;if(!Z&&this._tabster.focusable.isFocusable(v))Z=o=v}},this._onKeyDown=async(c)=>{var h;if(this._ignoredInputTimer)this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer;if((h=this._ignoredInputResolve)===null||h===void 0||h.call(this,!1),c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let Z=c.key,o;if(Z===i0.ArrowDown)o=g0.ArrowDown;else if(Z===i0.ArrowRight)o=g0.ArrowRight;else if(Z===i0.ArrowUp)o=g0.ArrowUp;else if(Z===i0.ArrowLeft)o=g0.ArrowLeft;else if(Z===i0.PageDown)o=g0.PageDown;else if(Z===i0.PageUp)o=g0.PageUp;else if(Z===i0.Home)o=g0.Home;else if(Z===i0.End)o=g0.End;if(!o)return;let v=this._tabster.focusedElement.getFocusedElement();if(!v||await this._isIgnoredInput(v,Z))return;this._moveFocus(v,o,c)},this._onMoveFocus=(c)=>{var h;let Z=c.composedPath()[0],o=(h=c.detail)===null||h===void 0?void 0:h.key;if(Z&&o!==void 0&&!c.defaultPrevented)this._moveFocus(Z,o),c.stopImmediatePropagation()},this._onMemorizedElement=(c)=>{var h;let Z=c.composedPath()[0],o=(h=c.detail)===null||h===void 0?void 0:h.memorizedElement;if(Z){let v=q1.getTabsterContext(this._tabster,Z),r=v===null||v===void 0?void 0:v.mover;if(r){if(o&&!b.nodeContains(r.getElement(),o))o=void 0;r.setCurrent(o),c.stopImmediatePropagation()}}},this._tabster=a,this._win=l,this._movers={},a.queueInit(this._init)}dispose(){var a;let l=this._win();if(this._tabster.focusedElement.unsubscribe(this._onFocus),(a=this._ignoredInputResolve)===null||a===void 0||a.call(this,!1),this._ignoredInputTimer)l.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer;l.removeEventListener("keydown",this._onKeyDown,!0),l.removeEventListener(UA,this._onMoveFocus),l.removeEventListener(OA,this._onMemorizedElement),Object.keys(this._movers).forEach((c)=>{if(this._movers[c])this._movers[c].dispose(),delete this._movers[c]})}createMover(a,l,c){let h=new FV(this._tabster,a,this._onMoverDispose,l,c);return this._movers[h.id]=h,h}moveFocus(a,l){return this._moveFocus(a,l)}_moveFocus(a,l,c){var h,Z;let o=this._tabster,v=q1.getTabsterContext(o,a,{checkRtl:!0});if(!v||!v.mover||v.excludedFromMover||c&&v.ignoreKeydown(c))return null;let r=v.mover,e=r.getElement();if(v.groupperBeforeMover){let p=v.groupper;if(p&&!p.isActive(!0)){for(let I=b.getParentElement(p.getElement());I&&I!==e;I=b.getParentElement(I))if((Z=(h=E0(o,I))===null||h===void 0?void 0:h.groupper)===null||Z===void 0?void 0:Z.isActive(!0))return null}else return null}if(!e)return null;let m=o.focusable,t=r.getProps(),M=t.direction||y5.Both,H=M===y5.Both,A=H||M===y5.Vertical,V=H||M===y5.Horizontal,i=M===y5.GridLinear,u=i||M===y5.Grid,d=t.cyclic,L,g,R,x=0,S=0;if(u)R=a.getBoundingClientRect(),x=Math.ceil(R.left),S=Math.floor(R.right);if(v.rtl){if(l===g0.ArrowRight)l=g0.ArrowLeft;else if(l===g0.ArrowLeft)l=g0.ArrowRight}if(l===g0.ArrowDown&&A||l===g0.ArrowRight&&(V||u)){if(L=m.findNext({currentElement:a,container:e,useActiveModalizer:!0}),L&&u){let p=Math.ceil(L.getBoundingClientRect().left);if(!i&&S>p)L=void 0}else if(!L&&d)L=m.findFirst({container:e,useActiveModalizer:!0})}else if(l===g0.ArrowUp&&A||l===g0.ArrowLeft&&(V||u)){if(L=m.findPrev({currentElement:a,container:e,useActiveModalizer:!0}),L&&u){let p=Math.floor(L.getBoundingClientRect().right);if(!i&&p>x)L=void 0}else if(!L&&d)L=m.findLast({container:e,useActiveModalizer:!0})}else if(l===g0.Home)if(u)m.findElement({container:e,currentElement:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:(p)=>{var I;if(!m.isFocusable(p))return!1;let G=Math.ceil((I=p.getBoundingClientRect().left)!==null&&I!==void 0?I:0);if(p!==a&&x<=G)return!0;return L=p,!1}});else L=m.findFirst({container:e,useActiveModalizer:!0});else if(l===g0.End)if(u)m.findElement({container:e,currentElement:a,useActiveModalizer:!0,acceptCondition:(p)=>{var I;if(!m.isFocusable(p))return!1;let G=Math.ceil((I=p.getBoundingClientRect().left)!==null&&I!==void 0?I:0);if(p!==a&&x>=G)return!0;return L=p,!1}});else L=m.findLast({container:e,useActiveModalizer:!0});else if(l===g0.PageUp){if(m.findElement({currentElement:a,container:e,useActiveModalizer:!0,isBackward:!0,acceptCondition:(p)=>{if(!m.isFocusable(p))return!1;if(qA(this._win,p,r.visibilityTolerance))return L=p,!1;return!0}}),u&&L){let p=Math.ceil(L.getBoundingClientRect().left);m.findElement({currentElement:L,container:e,useActiveModalizer:!0,acceptCondition:(I)=>{if(!m.isFocusable(I))return!1;let G=Math.ceil(I.getBoundingClientRect().left);if(x<G||p>=G)return!0;return L=I,!1}})}g=!1}else if(l===g0.PageDown){if(m.findElement({currentElement:a,container:e,useActiveModalizer:!0,acceptCondition:(p)=>{if(!m.isFocusable(p))return!1;if(qA(this._win,p,r.visibilityTolerance))return L=p,!1;return!0}}),u&&L){let p=Math.ceil(L.getBoundingClientRect().left);m.findElement({currentElement:L,container:e,useActiveModalizer:!0,isBackward:!0,acceptCondition:(I)=>{if(!m.isFocusable(I))return!1;let G=Math.ceil(I.getBoundingClientRect().left);if(x>G||p<=G)return!0;return L=I,!1}})}g=!0}else if(u){let p=l===g0.ArrowUp,I=x,G=Math.ceil(R.top),r1=S,l1=Math.floor(R.bottom),Y,w,s=0;m.findAll({container:e,currentElement:a,isBackward:p,onElement:(O)=>{let E=O.getBoundingClientRect(),j=Math.ceil(E.left),H1=Math.ceil(E.top),Q=Math.floor(E.right),i1=Math.floor(E.bottom);if(p&&G<i1||!p&&l1>H1)return!0;let J=Math.ceil(Math.min(r1,Q))-Math.floor(Math.max(I,j)),X=Math.ceil(Math.min(r1-I,Q-j));if(J>0&&X>=J){let h1=J/X;if(h1>s)Y=O,s=h1}else if(s===0){let h1=yx(I,G,r1,l1,j,H1,Q,i1);if(w===void 0||h1<w)w=h1,Y=O}else if(s>0)return!1;return!0}}),L=Y}if(L&&(!c||c&&e.dispatchEvent(new D7({by:"mover",owner:e,next:L,relatedEvent:c})))){if(g!==void 0)Ix(this._win,L,g);if(c)c.preventDefault(),c.stopImmediatePropagation();return A2(L),L}return null}async _isIgnoredInput(a,l){if(a.getAttribute("aria-expanded")==="true"&&a.hasAttribute("aria-activedescendant"))return!0;if(eV(a,Yx)){let c=0,h=0,Z=0,o;if(a.tagName==="INPUT"||a.tagName==="TEXTAREA"){let v=a.type;if(Z=(a.value||"").length,v==="email"||v==="number"){if(Z){let e=b.getSelection(a);if(e){let m=e.toString().length,t=l===i0.ArrowLeft||l===i0.ArrowUp;if(e.modify("extend",t?"backward":"forward","character"),m!==e.toString().length)return e.modify("extend",t?"forward":"backward","character"),!0;else Z=0}}}else{let e=a.selectionStart;if(e===null)return v==="hidden";c=e||0,h=a.selectionEnd||0}}else if(a.contentEditable==="true")o=new(Gx(this._win))((v)=>{this._ignoredInputResolve=(H)=>{delete this._ignoredInputResolve,v(H)};let r=this._win();if(this._ignoredInputTimer)r.clearTimeout(this._ignoredInputTimer);let{anchorNode:e,focusNode:m,anchorOffset:t,focusOffset:M}=b.getSelection(a)||{};this._ignoredInputTimer=r.setTimeout(()=>{var H,A,V;delete this._ignoredInputTimer;let{anchorNode:i,focusNode:u,anchorOffset:d,focusOffset:L}=b.getSelection(a)||{};if(i!==e||u!==m||d!==t||L!==M){(H=this._ignoredInputResolve)===null||H===void 0||H.call(this,!1);return}if(c=d||0,h=L||0,Z=((A=a.textContent)===null||A===void 0?void 0:A.length)||0,i&&u){if(b.nodeContains(a,i)&&b.nodeContains(a,u)){if(i!==a){let g=!1,R=(x)=>{if(x===i)g=!0;else if(x===u)return!0;let S=x.textContent;if(S&&!b.getFirstChild(x)){let I=S.length;if(g){if(u!==i)h+=I}else c+=I,h+=I}let p=!1;for(let I=b.getFirstChild(x);I&&!p;I=I.nextSibling)p=R(I);return p};R(a)}}}(V=this._ignoredInputResolve)===null||V===void 0||V.call(this,!0)},0)});if(o&&!await o)return!0;if(c!==h)return!0;if(c>0&&(l===i0.ArrowLeft||l===i0.ArrowUp||l===i0.Home))return!0;if(c<Z&&(l===i0.ArrowRight||l===i0.ArrowDown||l===i0.End))return!0}return!1}}/*!
|
|
86
86
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
87
87
|
* Licensed under the MIT License.
|
|
88
|
-
*/function
|
|
88
|
+
*/function Nx(a,l,c,h){if(typeof MutationObserver==="undefined")return()=>{};let Z=l.getWindow,o,v=(t)=>{var M,H,A,V,i;let u=/*@__PURE__*/new Set;for(let d of t){let{target:L,removedNodes:g,addedNodes:R}=d;if(d.type==="attributes"){if(d.attributeName===_2){if(!u.has(L))c(l,L)}}else{for(let x=0;x<g.length;x++){let S=g[x];u.add(S),r(S,!0),(H=(M=l._dummyObserver).domChanged)===null||H===void 0||H.call(M,L)}for(let x=0;x<R.length;x++)r(R[x]),(V=(A=l._dummyObserver).domChanged)===null||V===void 0||V.call(A,L)}}u.clear(),(i=l.modalizer)===null||i===void 0||i.hiddenUpdate()};function r(t,M){if(!o)o=k7(Z).elementByUId;e(t,M);let H=Hr(a,t,(A)=>{return e(A,M)});if(H)while(H.nextNode());}function e(t,M){var H;if(!t.getAttribute)return NodeFilter.FILTER_SKIP;let A=t.__tabsterElementUID;if(A&&o)if(M)delete o[A];else(H=o[A])!==null&&H!==void 0||(o[A]=new F5(Z,t));if(E0(l,t)||t.hasAttribute(_2))c(l,t,M);return NodeFilter.FILTER_SKIP}let m=b.createMutationObserver(v);if(h)r(Z().document.body);return m.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[_2]}),()=>{m.disconnect()}}/*!
|
|
89
89
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
90
90
|
* Licensed under the MIT License.
|
|
91
91
|
*//*!
|
|
@@ -94,19 +94,19 @@ You can check this by searching up for matching entries in a lockfile produced b
|
|
|
94
94
|
*//*!
|
|
95
95
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
96
96
|
* Licensed under the MIT License.
|
|
97
|
-
*/class
|
|
97
|
+
*/class xV{constructor(a){this._isUncontrolledCompletely=a}isUncontrolledCompletely(a,l){var c;let h=(c=this._isUncontrolledCompletely)===null||c===void 0?void 0:c.call(this,a,l);return h===void 0?l:h}}/*!
|
|
98
98
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
99
99
|
* Licensed under the MIT License.
|
|
100
|
-
*/class
|
|
100
|
+
*/class pV extends u6{constructor(a,l,c){var h;super(a,l,c);if(this._hasFocus=!1,this._onFocusOut=(Z)=>{var o;let v=(o=this._element)===null||o===void 0?void 0:o.get();if(v&&Z.relatedTarget===null)v.dispatchEvent(new rr);if(v&&!b.nodeContains(v,Z.relatedTarget))this._hasFocus=!1},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===s7.Source){let Z=(h=this._element)===null||h===void 0?void 0:h.get();Z===null||Z===void 0||Z.addEventListener("focusout",this._onFocusOut),Z===null||Z===void 0||Z.addEventListener("focusin",this._onFocusIn),this._hasFocus=b.nodeContains(Z,Z&&b.getActiveElement(Z.ownerDocument))}}dispose(){var a;if(this._props.type===s7.Source){let l=(a=this._element)===null||a===void 0?void 0:a.get();if(l===null||l===void 0||l.removeEventListener("focusout",this._onFocusOut),l===null||l===void 0||l.removeEventListener("focusin",this._onFocusIn),this._hasFocus)this._tabster.getWindow().document.body.dispatchEvent(new rr)}}}class nh{constructor(a){this._stack=[],this._getWindow=a}push(a){var l;if(((l=this._stack[this._stack.length-1])===null||l===void 0?void 0:l.get())===a)return;if(this._stack.length>nh.DEPTH)this._stack.shift();this._stack.push(new F5(this._getWindow,a))}pop(a){if(a===void 0)a=()=>!0;var l;let c=this._getWindow().document;for(let h=this._stack.length-1;h>=0;h--){let Z=(l=this._stack.pop())===null||l===void 0?void 0:l.get();if(Z&&b.nodeContains(c.body,b.getParentElement(Z))&&a(Z))return Z}return}}nh.DEPTH=10;class wV{constructor(a){this._onRestoreFocus=(l)=>{var c,h;this._focusedElementState.cancelAsyncFocus(w7.Restorer);let Z=l.composedPath()[0];if(Z){let o=(h=(c=E0(this._tabster,Z))===null||c===void 0?void 0:c.restorer)===null||h===void 0?void 0:h.getProps().id;this._focusedElementState.requestAsyncFocus(w7.Restorer,()=>this._restoreFocus(Z,o),0)}},this._onFocusIn=(l)=>{var c;if(!l)return;let h=E0(this._tabster,l);if(((c=h===null||h===void 0?void 0:h.restorer)===null||c===void 0?void 0:c.getProps().type)!==s7.Target)return;this._history.push(l)},this._restoreFocus=(l,c)=>{var h;let Z=this._getWindow().document;if(b.getActiveElement(Z)!==Z.body)return;if(!this._keyboardNavState.isNavigatingWithKeyboard()&&b.nodeContains(Z.body,l))return;let o=(v)=>{var r,e;let m=(e=(r=E0(this._tabster,v))===null||r===void 0?void 0:r.restorer)===null||e===void 0?void 0:e.getProps();return m?m.id:null};(h=this._history.pop((v)=>c===o(v)))===null||h===void 0||h.focus()},this._tabster=a,this._getWindow=a.getWindow,this._getWindow().addEventListener(or,this._onRestoreFocus),this._history=new nh(this._getWindow),this._keyboardNavState=a.keyboardNavigation,this._focusedElementState=a.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){let a=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(w7.Restorer),a.removeEventListener(or,this._onRestoreFocus)}createRestorer(a,l){let c=new pV(this._tabster,a,l);if(l.type===s7.Target&&b.getActiveElement(a.ownerDocument)===a)this._history.push(a);return c}}/*!
|
|
101
101
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
102
102
|
* Licensed under the MIT License.
|
|
103
|
-
*/function
|
|
103
|
+
*/function jx(a,l){var c,h;if(!a||!l)return!1;let Z=l;while(Z){if(Z===a)return!0;if(typeof Z.assignedElements!=="function"&&((c=Z.assignedSlot)===null||c===void 0?void 0:c.parentNode))Z=(h=Z.assignedSlot)===null||h===void 0?void 0:h.parentNode;else if(Z.nodeType===document.DOCUMENT_FRAGMENT_NODE)Z=Z.host;else Z=Z.parentNode}return!1}/*!
|
|
104
104
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
105
105
|
* Licensed under the MIT License.
|
|
106
106
|
*//*!
|
|
107
107
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
108
108
|
* Licensed under the MIT License.
|
|
109
|
-
*/class
|
|
109
|
+
*/class i6{static _overrideAttachShadow(a){let l=a.Element.prototype.attachShadow;if(l.__origAttachShadow)return;Element.prototype.attachShadow=function(c){let h=l.call(this,c);for(let Z of i6._shadowObservers)Z._addSubObserver(h);return h},Element.prototype.attachShadow.__origAttachShadow=l}constructor(a){this._isObserving=!1,this._callbackWrapper=(l,c)=>{for(let h of l)if(h.type==="childList"){let{removedNodes:Z,addedNodes:o}=h;for(let v=0;v<Z.length;v++)this._walkShadows(Z[v],!0);for(let v=0;v<o.length;v++)this._walkShadows(o[v])}this._callback(l,c)},this._callback=a,this._observer=new MutationObserver(this._callbackWrapper),this._subObservers=/*@__PURE__*/new Map}_addSubObserver(a){if(!this._options||!this._callback||this._subObservers.has(a))return;if(this._options.subtree&&jx(this._root,a)){let l=new MutationObserver(this._callbackWrapper);if(this._subObservers.set(a,l),this._isObserving)l.observe(a,this._options);this._walkShadows(a)}}disconnect(){this._isObserving=!1,delete this._options,i6._shadowObservers.delete(this);for(let a of this._subObservers.values())a.disconnect();this._subObservers.clear(),this._observer.disconnect()}observe(a,l){let c=a.nodeType===Node.DOCUMENT_NODE?a:a.ownerDocument,h=c===null||c===void 0?void 0:c.defaultView;if(!c||!h)return;i6._overrideAttachShadow(h),i6._shadowObservers.add(this),this._root=a,this._options=l,this._isObserving=!0,this._observer.observe(a,l),this._walkShadows(a)}_walkShadows(a,l){let c=a.nodeType===Node.DOCUMENT_NODE?a:a.ownerDocument;if(!c)return;if(a===c)a=c.body;else{let Z=a.shadowRoot;if(Z){this._addSubObserver(Z);return}}c.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:(Z)=>{if(Z.nodeType===Node.ELEMENT_NODE)if(l){let o=this._subObservers.get(Z);if(o)o.disconnect(),this._subObservers.delete(Z)}else{let o=Z.shadowRoot;if(o)this._addSubObserver(o)}return NodeFilter.FILTER_SKIP}}).nextNode()}takeRecords(){let a=this._observer.takeRecords();for(let l of this._subObservers.values())a.push(...l.takeRecords());return a}}i6._shadowObservers=/*@__PURE__*/new Set;/*!
|
|
110
110
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
111
111
|
* Licensed under the MIT License.
|
|
112
112
|
*//*!
|
|
@@ -115,7 +115,7 @@ You can check this by searching up for matching entries in a lockfile produced b
|
|
|
115
115
|
*//*!
|
|
116
116
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
117
117
|
* Licensed under the MIT License.
|
|
118
|
-
*/class
|
|
118
|
+
*/class DV{constructor(a){this.keyboardNavigation=a.keyboardNavigation,this.focusedElement=a.focusedElement,this.focusable=a.focusable,this.root=a.root,this.uncontrolled=a.uncontrolled,this.core=a}}class sV{constructor(a,l){var c,h;this._forgetMemorizedElements=[],this._wrappers=/*@__PURE__*/new Set,this._initQueue=[],this._version="8.5.4",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=Tx(a),this._win=a;let Z=this.getWindow;if(l===null||l===void 0?void 0:l.DOMAPI)Sx({...l.DOMAPI});this.keyboardNavigation=new uV(Z),this.focusedElement=new n0(this,Z),this.focusable=new AV(this),this.root=new q1(this,l===null||l===void 0?void 0:l.autoRoot),this.uncontrolled=new xV((l===null||l===void 0?void 0:l.checkUncontrolledCompletely)||(l===null||l===void 0?void 0:l.checkUncontrolledTrappingFocus)),this.controlTab=(c=l===null||l===void 0?void 0:l.controlTab)!==null&&c!==void 0?c:!0,this.rootDummyInputs=!!(l===null||l===void 0?void 0:l.rootDummyInputs),this._dummyObserver=new mV(Z),this.getParent=(h=l===null||l===void 0?void 0:l.getParent)!==null&&h!==void 0?h:b.getParentNode,this.internal={stopObserver:()=>{if(this._unobserve)this._unobserve(),delete this._unobserve},resumeObserver:(o)=>{if(!this._unobserve){let v=Z().document;this._unobserve=Nx(v,this,yA,o)}}},ZV(Z),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(a){var l;if(!a)return;this.getParent=(l=a.getParent)!==null&&l!==void 0?l:this.getParent}createTabster(a,l){let c=new DV(this);if(!a)this._wrappers.add(c);return this._mergeProps(l),c}disposeTabster(a,l){if(l)this._wrappers.clear();else this._wrappers.delete(a);if(this._wrappers.size===0)this.dispose()}dispose(){var a,l,c,h,Z,o,v,r;this.internal.stopObserver();let e=this._win;if(e===null||e===void 0||e.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],e&&this._forgetMemorizedTimer)e.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer;if((a=this.outline)===null||a===void 0||a.dispose(),(l=this.crossOrigin)===null||l===void 0||l.dispose(),(c=this.deloser)===null||c===void 0||c.dispose(),(h=this.groupper)===null||h===void 0||h.dispose(),(Z=this.mover)===null||Z===void 0||Z.dispose(),(o=this.modalizer)===null||o===void 0||o.dispose(),(v=this.observedElement)===null||v===void 0||v.dispose(),(r=this.restorer)===null||r===void 0||r.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),bx(this.getWindow),zA(this.getWindow),this._storage=/*@__PURE__*/new WeakMap,this._wrappers.clear(),e)fx(e),delete e.__tabsterInstance,delete this._win}storageEntry(a,l){let c=this._storage,h=c.get(a);if(h){if(l===!1&&Object.keys(h).length===0)c.delete(a)}else if(l===!0)h={},c.set(a,h);return h}forceCleanup(){if(!this._win)return;if(this._forgetMemorizedElements.push(this._win.document.body),this._forgetMemorizedTimer)return;this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let a=this._forgetMemorizedElements.shift();a;a=this._forgetMemorizedElements.shift())zA(this.getWindow,a),n0.forgetMemorized(this.focusedElement,a)},0),hV(this.getWindow,!0)}queueInit(a){var l;if(!this._win)return;if(this._initQueue.push(a),!this._initTimer)this._initTimer=(l=this._win)===null||l===void 0?void 0:l.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)}drainInitQueue(){if(!this._win)return;let a=this._initQueue;this._initQueue=[],a.forEach((l)=>l())}}function kV(a,l){let c=_x(a);if(c)return c.createTabster(!1,l);return c=new sV(a,l),a.__tabsterInstance=c,c.createTabster()}function SV(a){let l=a.core;if(!l.groupper)l.groupper=new nV(l,l.getWindow);return l.groupper}function BV(a){let l=a.core;if(!l.mover)l.mover=new RV(l,l.getWindow);return l.mover}function uh(a,l,c){let h=a.core;if(!h.modalizer)h.modalizer=new gV(h,l,c);return h.modalizer}function dh(a){let l=a.core;if(!l.restorer)l.restorer=new wV(l);return l.restorer}function fV(a,l){a.core.disposeTabster(a,l)}function _x(a){return a.__tabsterInstance}/*!
|
|
119
119
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
120
120
|
* Licensed under the MIT License.
|
|
121
121
|
*//*!
|
|
@@ -124,15 +124,17 @@ You can check this by searching up for matching entries in a lockfile produced b
|
|
|
124
124
|
*//*!
|
|
125
125
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
126
126
|
* Licensed under the MIT License.
|
|
127
|
-
*/
|
|
128
|
-
`))}return c}g();var r7=(a)=>{F5();let l=Ha(a,!0);return C1(()=>({[_2]:l}),[l])};var ia=(a={})=>{let{circular:l,axis:c,memorizeCurrent:e=!0,tabbable:h,ignoreDefaultKeydown:Z,unstable_hasDefault:o}=a;return F5(On),r7({mover:{cyclic:!!l,direction:Ox(c!==null&&c!==void 0?c:"vertical"),memorizeCurrent:e,tabbable:h,hasDefault:o},...Z&&{focusable:{ignoreKeydown:Z}}})};function Ox(a){switch(a){case"horizontal":return j5.Horizontal;case"grid":return j5.Grid;case"grid-linear":return j5.GridLinear;case"both":return j5.Both;case"vertical":default:return j5.Vertical}}var j7=(a)=>{return F5(Pn),r7({groupper:{tabbability:yx(a===null||a===void 0?void 0:a.tabBehavior)},focusable:{ignoreKeydown:a===null||a===void 0?void 0:a.ignoreDefaultKeydown}})},yx=(a)=>{switch(a){case"unlimited":return Ma.Unlimited;case"limited":return Ma.Limited;case"limited-trap-focus":return Ma.LimitedTrapFocus;default:return}};g();var f3=()=>{let a=F5(),{targetDocument:l}=p1(),c=a1((r,v)=>{var t;return((t=a.current)===null||t===void 0?void 0:t.focusable.findAll({container:r,acceptCondition:v}))||[]},[a]),e=a1((r)=>{var v;return(v=a.current)===null||v===void 0?void 0:v.focusable.findFirst({container:r})},[a]),h=a1((r)=>{var v;return(v=a.current)===null||v===void 0?void 0:v.focusable.findLast({container:r})},[a]),Z=a1((r,v={})=>{if(!a.current||!l)return null;let{container:t=l.body}=v;return a.current.focusable.findNext({currentElement:r,container:t})},[a,l]),o=a1((r,v={})=>{if(!a.current||!l)return null;let{container:t=l.body}=v;return a.current.focusable.findPrev({currentElement:r,container:t})},[a,l]);return{findAllFocusable:c,findFirstFocusable:e,findLastFocusable:h,findNextFocusable:Z,findPrevFocusable:o}};g();var pr="data-fui-focus-visible",Lr="data-fui-focus-within";function In(a,l){if(Un(a))return()=>{return};let c={current:void 0},e=C6(l);function h(v){if(e.isNavigatingWithKeyboard()&&I1(v))c.current=v,v.setAttribute(pr,"")}function Z(){if(c.current)c.current.removeAttribute(pr),c.current=void 0}e.subscribe((v)=>{if(!v)Z()});let o=(v)=>{Z();let t=v.composedPath()[0];h(t)},r=(v)=>{if(!v.relatedTarget||I1(v.relatedTarget)&&!a.contains(v.relatedTarget))Z()};if(a.addEventListener(p5,o),a.addEventListener("focusout",r),a.focusVisible=!0,a.contains(l.document.activeElement))h(l.document.activeElement);return()=>{Z(),a.removeEventListener(p5,o),a.removeEventListener("focusout",r),delete a.focusVisible,g6(e)}}function Un(a){if(!a)return!1;if(a.focusVisible)return!0;return Un(a===null||a===void 0?void 0:a.parentElement)}function B3(a={}){let l=p1(),c=U(null);var e;let h=(e=a.targetDocument)!==null&&e!==void 0?e:l.targetDocument;return t1(()=>{if((h===null||h===void 0?void 0:h.defaultView)&&c.current)return In(c.current,h.defaultView)},[c,h]),c}g();function qn(a,l){let c=C6(l);c.subscribe((Z)=>{if(!Z)En(a)});let e=(Z)=>{if(c.isNavigatingWithKeyboard()&&Gn(Z.target))Ix(a)},h=(Z)=>{if(!Z.relatedTarget||Gn(Z.relatedTarget)&&!a.contains(Z.relatedTarget))En(a)};return a.addEventListener(p5,e),a.addEventListener("focusout",h),()=>{a.removeEventListener(p5,e),a.removeEventListener("focusout",h),g6(c)}}function Ix(a){a.setAttribute(Lr,"")}function En(a){a.removeAttribute(Lr)}function Gn(a){if(!a)return!1;return Boolean(a&&typeof a==="object"&&"classList"in a&&"contains"in a)}function A2(){let{targetDocument:a}=p1(),l=U(null);return t1(()=>{if((a===null||a===void 0?void 0:a.defaultView)&&l.current)return qn(l.current,a.defaultView)},[l,a]),l}var zn="data-tabster-never-hide",sE={[zn]:""};var Ux=(a)=>{return a.hasAttribute(zn)};function Ex(a){Be(a,void 0,Ux),be(a)}var V2=(a={})=>{let{trapFocus:l,alwaysFocusable:c,legacyTrapFocus:e}=a;F5(Ex);let h=t0("modal-",a.id),Z=r7({restorer:{type:k3.Source},...l&&{modalizer:{id:h,isOthersAccessible:!l,isAlwaysAccessible:c,isTrapped:e&&l}}}),o=r7({restorer:{type:k3.Target}});return{modalAttributes:Z,triggerAttributes:o}};function b3(){return F5(be),Ha({restorer:{type:k3.Source}})}g();function Te(){let a=F5(Be),[l]=N2();return a1((e)=>{l(()=>{var h;(h=a.current)===null||h===void 0||h.activate(e)},0)},[a,l])}var b={"2":"#050505","4":"#0a0a0a","6":"#0f0f0f","8":"#141414","10":"#1a1a1a","12":"#1f1f1f","14":"#242424","16":"#292929","18":"#2e2e2e","20":"#333333","22":"#383838","24":"#3d3d3d","26":"#424242","28":"#474747","30":"#4d4d4d","32":"#525252","34":"#575757","36":"#5c5c5c","38":"#616161","40":"#666666","42":"#6b6b6b","44":"#707070","46":"#757575","48":"#7a7a7a","50":"#808080","52":"#858585","54":"#8a8a8a","56":"#8f8f8f","58":"#949494","60":"#999999","62":"#9e9e9e","64":"#a3a3a3","66":"#a8a8a8","68":"#adadad","70":"#b3b3b3","72":"#b8b8b8","74":"#bdbdbd","76":"#c2c2c2","78":"#c7c7c7","80":"#cccccc","82":"#d1d1d1","84":"#d6d6d6","86":"#dbdbdb","88":"#e0e0e0","90":"#e6e6e6","92":"#ebebeb","94":"#f0f0f0","96":"#f5f5f5","98":"#fafafa"},O0={"5":"rgba(255, 255, 255, 0.05)","10":"rgba(255, 255, 255, 0.1)","20":"rgba(255, 255, 255, 0.2)","30":"rgba(255, 255, 255, 0.3)","40":"rgba(255, 255, 255, 0.4)","50":"rgba(255, 255, 255, 0.5)","60":"rgba(255, 255, 255, 0.6)","70":"rgba(255, 255, 255, 0.7)","80":"rgba(255, 255, 255, 0.8)","90":"rgba(255, 255, 255, 0.9)"},R5={"5":"rgba(0, 0, 0, 0.05)","10":"rgba(0, 0, 0, 0.1)","20":"rgba(0, 0, 0, 0.2)","30":"rgba(0, 0, 0, 0.3)","40":"rgba(0, 0, 0, 0.4)","50":"rgba(0, 0, 0, 0.5)","60":"rgba(0, 0, 0, 0.6)","70":"rgba(0, 0, 0, 0.7)","80":"rgba(0, 0, 0, 0.8)","90":"rgba(0, 0, 0, 0.9)"},Qn={"5":"rgba(26, 26, 26, 0.05)","10":"rgba(26, 26, 26, 0.1)","20":"rgba(26, 26, 26, 0.2)","30":"rgba(26, 26, 26, 0.3)","40":"rgba(26, 26, 26, 0.4)","50":"rgba(26, 26, 26, 0.5)","60":"rgba(26, 26, 26, 0.6)","70":"rgba(26, 26, 26, 0.7)","80":"rgba(26, 26, 26, 0.8)","90":"rgba(26, 26, 26, 0.9)"},Jn={"5":"rgba(31, 31, 31, 0.05)","10":"rgba(31, 31, 31, 0.1)","20":"rgba(31, 31, 31, 0.2)","30":"rgba(31, 31, 31, 0.3)","40":"rgba(31, 31, 31, 0.4)","50":"rgba(31, 31, 31, 0.5)","60":"rgba(31, 31, 31, 0.6)","70":"rgba(31, 31, 31, 0.7)","80":"rgba(31, 31, 31, 0.8)","90":"rgba(31, 31, 31, 0.9)"},Fr={"5":"rgba(36, 36, 36, 0.05)","10":"rgba(36, 36, 36, 0.1)","20":"rgba(36, 36, 36, 0.2)","30":"rgba(36, 36, 36, 0.3)","40":"rgba(36, 36, 36, 0.4)","50":"rgba(36, 36, 36, 0.5)","60":"rgba(36, 36, 36, 0.6)","70":"rgba(36, 36, 36, 0.7)","80":"rgba(36, 36, 36, 0.8)","90":"rgba(36, 36, 36, 0.9)"},x1="#ffffff",R6="#000000";var $n={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"};var Rr={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},Xn={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},Yn={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"};var Nn={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},jn={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},_n={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},aA={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},lA={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},cA={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},eA={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},hA={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"};var ZA={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},oA={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},rA={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},xr={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},vA={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},tA={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},mA={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"};var MA={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"};var HA={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},iA={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"};var nA={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},AA={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},VA={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},uA={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"};var dA={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},CA={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},gA={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},pA={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"};var LA={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},FA={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},RA={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},xA={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"};var sA={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},DA={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"};var W1={red:Xn,green:xr,darkOrange:Yn,yellow:lA,berry:CA,lightGreen:rA,marigold:aA},l3={darkRed:$n,cranberry:Rr,pumpkin:Nn,peach:_n,gold:cA,brass:eA,brown:hA,forest:ZA,seafoam:oA,darkGreen:vA,lightTeal:tA,teal:mA,steel:MA,blue:HA,royalBlue:iA,cornflower:nA,navy:AA,lavender:VA,purple:uA,grape:dA,lilac:gA,pink:pA,magenta:LA,plum:FA,beige:RA,mink:xA,platinum:sA,anchor:DA},T1={cranberry:Rr,green:xr,orange:jn};var We=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Pe=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"];var t5={success:"green",warning:"orange",danger:"cranberry"};var na=We.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),e={[`colorPalette${c}Background1`]:W1[l].tint60,[`colorPalette${c}Background2`]:W1[l].tint40,[`colorPalette${c}Background3`]:W1[l].primary,[`colorPalette${c}Foreground1`]:W1[l].shade10,[`colorPalette${c}Foreground2`]:W1[l].shade30,[`colorPalette${c}Foreground3`]:W1[l].primary,[`colorPalette${c}BorderActive`]:W1[l].primary,[`colorPalette${c}Border1`]:W1[l].tint40,[`colorPalette${c}Border2`]:W1[l].primary};return Object.assign(a,e)},{});na.colorPaletteYellowForeground1=W1.yellow.shade30;na.colorPaletteRedForegroundInverted=W1.red.tint20;na.colorPaletteGreenForegroundInverted=W1.green.tint20;na.colorPaletteYellowForegroundInverted=W1.yellow.tint40;var qx=Pe.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),e={[`colorPalette${c}Background2`]:l3[l].tint40,[`colorPalette${c}Foreground2`]:l3[l].shade30,[`colorPalette${c}BorderActive`]:l3[l].primary};return Object.assign(a,e)},{}),wA={...na,...qx},_7=Object.entries(t5).reduce((a,[l,c])=>{let e=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorStatus${e}Background1`]:T1[c].tint60,[`colorStatus${e}Background2`]:T1[c].tint40,[`colorStatus${e}Background3`]:T1[c].primary,[`colorStatus${e}Foreground1`]:T1[c].shade10,[`colorStatus${e}Foreground2`]:T1[c].shade30,[`colorStatus${e}Foreground3`]:T1[c].primary,[`colorStatus${e}ForegroundInverted`]:T1[c].tint30,[`colorStatus${e}BorderActive`]:T1[c].primary,[`colorStatus${e}Border1`]:T1[c].tint40,[`colorStatus${e}Border2`]:T1[c].primary};return Object.assign(a,h)},{});_7.colorStatusDangerBackground3Hover=T1[t5.danger].shade10;_7.colorStatusDangerBackground3Pressed=T1[t5.danger].shade20;_7.colorStatusWarningForeground1=T1[t5.warning].shade20;_7.colorStatusWarningForeground3=T1[t5.warning].shade20;_7.colorStatusWarningBorder2=T1[t5.warning].shade20;var kA=(a)=>({colorNeutralForeground1:b[14],colorNeutralForeground1Hover:b[14],colorNeutralForeground1Pressed:b[14],colorNeutralForeground1Selected:b[14],colorNeutralForeground2:b[26],colorNeutralForeground2Hover:b[14],colorNeutralForeground2Pressed:b[14],colorNeutralForeground2Selected:b[14],colorNeutralForeground2BrandHover:a[80],colorNeutralForeground2BrandPressed:a[70],colorNeutralForeground2BrandSelected:a[80],colorNeutralForeground3:b[38],colorNeutralForeground3Hover:b[26],colorNeutralForeground3Pressed:b[26],colorNeutralForeground3Selected:b[26],colorNeutralForeground3BrandHover:a[80],colorNeutralForeground3BrandPressed:a[70],colorNeutralForeground3BrandSelected:a[80],colorNeutralForeground4:b[44],colorNeutralForegroundDisabled:b[74],colorNeutralForegroundInvertedDisabled:O0[40],colorBrandForegroundLink:a[70],colorBrandForegroundLinkHover:a[60],colorBrandForegroundLinkPressed:a[40],colorBrandForegroundLinkSelected:a[70],colorNeutralForeground2Link:b[26],colorNeutralForeground2LinkHover:b[14],colorNeutralForeground2LinkPressed:b[14],colorNeutralForeground2LinkSelected:b[14],colorCompoundBrandForeground1:a[80],colorCompoundBrandForeground1Hover:a[70],colorCompoundBrandForeground1Pressed:a[60],colorBrandForeground1:a[80],colorBrandForeground2:a[70],colorBrandForeground2Hover:a[60],colorBrandForeground2Pressed:a[30],colorNeutralForeground1Static:b[14],colorNeutralForegroundStaticInverted:x1,colorNeutralForegroundInverted:x1,colorNeutralForegroundInvertedHover:x1,colorNeutralForegroundInvertedPressed:x1,colorNeutralForegroundInvertedSelected:x1,colorNeutralForegroundInverted2:x1,colorNeutralForegroundOnBrand:x1,colorNeutralForegroundInvertedLink:x1,colorNeutralForegroundInvertedLinkHover:x1,colorNeutralForegroundInvertedLinkPressed:x1,colorNeutralForegroundInvertedLinkSelected:x1,colorBrandForegroundInverted:a[100],colorBrandForegroundInvertedHover:a[110],colorBrandForegroundInvertedPressed:a[100],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:x1,colorNeutralBackground1Hover:b[96],colorNeutralBackground1Pressed:b[88],colorNeutralBackground1Selected:b[92],colorNeutralBackground2:b[98],colorNeutralBackground2Hover:b[94],colorNeutralBackground2Pressed:b[86],colorNeutralBackground2Selected:b[90],colorNeutralBackground3:b[96],colorNeutralBackground3Hover:b[92],colorNeutralBackground3Pressed:b[84],colorNeutralBackground3Selected:b[88],colorNeutralBackground4:b[94],colorNeutralBackground4Hover:b[98],colorNeutralBackground4Pressed:b[96],colorNeutralBackground4Selected:x1,colorNeutralBackground5:b[92],colorNeutralBackground5Hover:b[96],colorNeutralBackground5Pressed:b[94],colorNeutralBackground5Selected:b[98],colorNeutralBackground6:b[90],colorNeutralBackgroundInverted:b[16],colorNeutralBackgroundStatic:b[20],colorNeutralBackgroundAlpha:O0[50],colorNeutralBackgroundAlpha2:O0[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:b[96],colorSubtleBackgroundPressed:b[88],colorSubtleBackgroundSelected:b[92],colorSubtleBackgroundLightAlphaHover:O0[70],colorSubtleBackgroundLightAlphaPressed:O0[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:R5[10],colorSubtleBackgroundInvertedPressed:R5[30],colorSubtleBackgroundInvertedSelected:R5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:b[94],colorNeutralBackgroundInvertedDisabled:O0[10],colorNeutralStencil1:b[90],colorNeutralStencil2:b[98],colorNeutralStencil1Alpha:R5[10],colorNeutralStencil2Alpha:R5[5],colorBackgroundOverlay:R5[40],colorScrollbarOverlay:R5[50],colorBrandBackground:a[80],colorBrandBackgroundHover:a[70],colorBrandBackgroundPressed:a[40],colorBrandBackgroundSelected:a[60],colorCompoundBrandBackground:a[80],colorCompoundBrandBackgroundHover:a[70],colorCompoundBrandBackgroundPressed:a[60],colorBrandBackgroundStatic:a[80],colorBrandBackground2:a[160],colorBrandBackground2Hover:a[150],colorBrandBackground2Pressed:a[130],colorBrandBackground3Static:a[60],colorBrandBackground4Static:a[40],colorBrandBackgroundInverted:x1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:b[98],colorNeutralCardBackgroundHover:x1,colorNeutralCardBackgroundPressed:b[96],colorNeutralCardBackgroundSelected:b[92],colorNeutralCardBackgroundDisabled:b[94],colorNeutralStrokeAccessible:b[38],colorNeutralStrokeAccessibleHover:b[34],colorNeutralStrokeAccessiblePressed:b[30],colorNeutralStrokeAccessibleSelected:a[80],colorNeutralStroke1:b[82],colorNeutralStroke1Hover:b[78],colorNeutralStroke1Pressed:b[70],colorNeutralStroke1Selected:b[74],colorNeutralStroke2:b[88],colorNeutralStroke3:b[94],colorNeutralStrokeSubtle:b[88],colorNeutralStrokeOnBrand:x1,colorNeutralStrokeOnBrand2:x1,colorNeutralStrokeOnBrand2Hover:x1,colorNeutralStrokeOnBrand2Pressed:x1,colorNeutralStrokeOnBrand2Selected:x1,colorBrandStroke1:a[80],colorBrandStroke2:a[140],colorBrandStroke2Hover:a[120],colorBrandStroke2Pressed:a[80],colorBrandStroke2Contrast:a[140],colorCompoundBrandStroke:a[80],colorCompoundBrandStrokeHover:a[70],colorCompoundBrandStrokePressed:a[60],colorNeutralStrokeDisabled:b[88],colorNeutralStrokeInvertedDisabled:O0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:R5[5],colorNeutralStrokeAlpha2:O0[20],colorStrokeFocus1:x1,colorStrokeFocus2:R6,colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"});var Aa={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"};var Oe={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"};var ye={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"};var Va={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},ua={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},da={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Ca={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"};var u0={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},Ie={spacingHorizontalNone:u0.none,spacingHorizontalXXS:u0.xxs,spacingHorizontalXS:u0.xs,spacingHorizontalSNudge:u0.sNudge,spacingHorizontalS:u0.s,spacingHorizontalMNudge:u0.mNudge,spacingHorizontalM:u0.m,spacingHorizontalL:u0.l,spacingHorizontalXL:u0.xl,spacingHorizontalXXL:u0.xxl,spacingHorizontalXXXL:u0.xxxl},Ue={spacingVerticalNone:u0.none,spacingVerticalXXS:u0.xxs,spacingVerticalXS:u0.xs,spacingVerticalSNudge:u0.sNudge,spacingVerticalS:u0.s,spacingVerticalMNudge:u0.mNudge,spacingVerticalM:u0.m,spacingVerticalL:u0.l,spacingVerticalXL:u0.xl,spacingVerticalXXL:u0.xxl,spacingVerticalXXXL:u0.xxxl};var ga={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};var Q1={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackground3Static:"var(--colorBrandBackground3Static)",colorBrandBackground4Static:"var(--colorBrandBackground4Static)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralCardBackground:"var(--colorNeutralCardBackground)",colorNeutralCardBackgroundHover:"var(--colorNeutralCardBackgroundHover)",colorNeutralCardBackgroundPressed:"var(--colorNeutralCardBackgroundPressed)",colorNeutralCardBackgroundSelected:"var(--colorNeutralCardBackgroundSelected)",colorNeutralCardBackgroundDisabled:"var(--colorNeutralCardBackgroundDisabled)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)",zIndexBackground:"var(--zIndexBackground, 0)",zIndexContent:"var(--zIndexContent, 1)",zIndexOverlay:"var(--zIndexOverlay, 1000)",zIndexPopup:"var(--zIndexPopup, 2000)",zIndexMessages:"var(--zIndexMessages, 3000)",zIndexFloating:"var(--zIndexFloating, 4000)",zIndexPriority:"var(--zIndexPriority, 5000)",zIndexDebug:"var(--zIndexDebug, 6000)"};function x6(a,l,c=""){return{[`shadow2${c}`]:`0 0 2px ${a}, 0 1px 2px ${l}`,[`shadow4${c}`]:`0 0 2px ${a}, 0 2px 4px ${l}`,[`shadow8${c}`]:`0 0 2px ${a}, 0 4px 8px ${l}`,[`shadow16${c}`]:`0 0 2px ${a}, 0 8px 16px ${l}`,[`shadow28${c}`]:`0 0 8px ${a}, 0 14px 28px ${l}`,[`shadow64${c}`]:`0 0 8px ${a}, 0 32px 64px ${l}`}}var v7=(a)=>{let l=kA(a);return{...Aa,...Va,...ua,...Ca,...da,...ga,...Ie,...Ue,...ye,...Oe,...l,...wA,..._7,...x6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...x6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};var SA={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"};var c3=We.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),e={[`colorPalette${c}Background1`]:W1[l].shade40,[`colorPalette${c}Background2`]:W1[l].shade30,[`colorPalette${c}Background3`]:W1[l].primary,[`colorPalette${c}Foreground1`]:W1[l].tint30,[`colorPalette${c}Foreground2`]:W1[l].tint40,[`colorPalette${c}Foreground3`]:W1[l].tint20,[`colorPalette${c}BorderActive`]:W1[l].tint30,[`colorPalette${c}Border1`]:W1[l].primary,[`colorPalette${c}Border2`]:W1[l].tint20};return Object.assign(a,e)},{});c3.colorPaletteRedForeground3=W1.red.tint30;c3.colorPaletteRedBorder2=W1.red.tint30;c3.colorPaletteGreenForeground3=W1.green.tint40;c3.colorPaletteGreenBorder2=W1.green.tint40;c3.colorPaletteDarkOrangeForeground3=W1.darkOrange.tint30;c3.colorPaletteDarkOrangeBorder2=W1.darkOrange.tint30;c3.colorPaletteRedForegroundInverted=W1.red.primary;c3.colorPaletteGreenForegroundInverted=W1.green.primary;c3.colorPaletteYellowForegroundInverted=W1.yellow.shade30;var sr=Pe.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),e={[`colorPalette${c}Background2`]:l3[l].shade30,[`colorPalette${c}Foreground2`]:l3[l].tint40,[`colorPalette${c}BorderActive`]:l3[l].tint30};return Object.assign(a,e)},{});sr.colorPaletteDarkRedBackground2=l3.darkRed.shade20;sr.colorPalettePlumBackground2=l3.plum.shade20;var fA={...c3,...sr},T3=Object.entries(t5).reduce((a,[l,c])=>{let e=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorStatus${e}Background1`]:T1[c].shade40,[`colorStatus${e}Background2`]:T1[c].shade30,[`colorStatus${e}Background3`]:T1[c].primary,[`colorStatus${e}Foreground1`]:T1[c].tint30,[`colorStatus${e}Foreground2`]:T1[c].tint40,[`colorStatus${e}Foreground3`]:T1[c].tint20,[`colorStatus${e}BorderActive`]:T1[c].tint30,[`colorStatus${e}ForegroundInverted`]:T1[c].shade10,[`colorStatus${e}Border1`]:T1[c].primary,[`colorStatus${e}Border2`]:T1[c].tint20};return Object.assign(a,h)},{});T3.colorStatusDangerBackground3Hover=T1[t5.danger].shade10;T3.colorStatusDangerBackground3Pressed=T1[t5.danger].shade20;T3.colorStatusDangerForeground3=T1[t5.danger].tint40;T3.colorStatusDangerBorder2=T1[t5.danger].tint30;T3.colorStatusSuccessForeground3=T1[t5.success].tint40;T3.colorStatusSuccessBorder2=T1[t5.success].tint40;T3.colorStatusWarningForegroundInverted=T1[t5.warning].shade20;var u2=v7(SA);var BA=(a)=>({colorNeutralForeground1:x1,colorNeutralForeground1Hover:x1,colorNeutralForeground1Pressed:x1,colorNeutralForeground1Selected:x1,colorNeutralForeground2:b[84],colorNeutralForeground2Hover:x1,colorNeutralForeground2Pressed:x1,colorNeutralForeground2Selected:x1,colorNeutralForeground2BrandHover:a[100],colorNeutralForeground2BrandPressed:a[90],colorNeutralForeground2BrandSelected:a[100],colorNeutralForeground3:b[68],colorNeutralForeground3Hover:b[84],colorNeutralForeground3Pressed:b[84],colorNeutralForeground3Selected:b[84],colorNeutralForeground3BrandHover:a[100],colorNeutralForeground3BrandPressed:a[90],colorNeutralForeground3BrandSelected:a[100],colorNeutralForeground4:b[60],colorNeutralForegroundDisabled:b[36],colorNeutralForegroundInvertedDisabled:O0[40],colorBrandForegroundLink:a[100],colorBrandForegroundLinkHover:a[110],colorBrandForegroundLinkPressed:a[90],colorBrandForegroundLinkSelected:a[100],colorNeutralForeground2Link:b[84],colorNeutralForeground2LinkHover:x1,colorNeutralForeground2LinkPressed:x1,colorNeutralForeground2LinkSelected:x1,colorCompoundBrandForeground1:a[100],colorCompoundBrandForeground1Hover:a[110],colorCompoundBrandForeground1Pressed:a[90],colorBrandForeground1:a[100],colorBrandForeground2:a[110],colorBrandForeground2Hover:a[130],colorBrandForeground2Pressed:a[160],colorNeutralForeground1Static:b[14],colorNeutralForegroundStaticInverted:x1,colorNeutralForegroundInverted:b[14],colorNeutralForegroundInvertedHover:b[14],colorNeutralForegroundInvertedPressed:b[14],colorNeutralForegroundInvertedSelected:b[14],colorNeutralForegroundInverted2:b[14],colorNeutralForegroundOnBrand:x1,colorNeutralForegroundInvertedLink:x1,colorNeutralForegroundInvertedLinkHover:x1,colorNeutralForegroundInvertedLinkPressed:x1,colorNeutralForegroundInvertedLinkSelected:x1,colorBrandForegroundInverted:a[80],colorBrandForegroundInvertedHover:a[70],colorBrandForegroundInvertedPressed:a[60],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:b[16],colorNeutralBackground1Hover:b[24],colorNeutralBackground1Pressed:b[12],colorNeutralBackground1Selected:b[22],colorNeutralBackground2:b[12],colorNeutralBackground2Hover:b[20],colorNeutralBackground2Pressed:b[8],colorNeutralBackground2Selected:b[18],colorNeutralBackground3:b[8],colorNeutralBackground3Hover:b[16],colorNeutralBackground3Pressed:b[4],colorNeutralBackground3Selected:b[14],colorNeutralBackground4:b[4],colorNeutralBackground4Hover:b[12],colorNeutralBackground4Pressed:R6,colorNeutralBackground4Selected:b[10],colorNeutralBackground5:R6,colorNeutralBackground5Hover:b[8],colorNeutralBackground5Pressed:b[2],colorNeutralBackground5Selected:b[6],colorNeutralBackground6:b[20],colorNeutralBackgroundInverted:x1,colorNeutralBackgroundStatic:b[24],colorNeutralBackgroundAlpha:Qn[50],colorNeutralBackgroundAlpha2:Jn[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:b[22],colorSubtleBackgroundPressed:b[18],colorSubtleBackgroundSelected:b[20],colorSubtleBackgroundLightAlphaHover:Fr[80],colorSubtleBackgroundLightAlphaPressed:Fr[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:R5[10],colorSubtleBackgroundInvertedPressed:R5[30],colorSubtleBackgroundInvertedSelected:R5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:b[8],colorNeutralBackgroundInvertedDisabled:O0[10],colorNeutralStencil1:b[34],colorNeutralStencil2:b[20],colorNeutralStencil1Alpha:O0[10],colorNeutralStencil2Alpha:O0[5],colorBackgroundOverlay:R5[50],colorScrollbarOverlay:O0[60],colorBrandBackground:a[70],colorBrandBackgroundHover:a[80],colorBrandBackgroundPressed:a[40],colorBrandBackgroundSelected:a[60],colorCompoundBrandBackground:a[100],colorCompoundBrandBackgroundHover:a[110],colorCompoundBrandBackgroundPressed:a[90],colorBrandBackgroundStatic:a[80],colorBrandBackground2:a[20],colorBrandBackground2Hover:a[40],colorBrandBackground2Pressed:a[10],colorBrandBackground3Static:a[60],colorBrandBackground4Static:a[40],colorBrandBackgroundInverted:x1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:b[20],colorNeutralCardBackgroundHover:b[24],colorNeutralCardBackgroundPressed:b[18],colorNeutralCardBackgroundSelected:b[22],colorNeutralCardBackgroundDisabled:b[8],colorNeutralStrokeAccessible:b[68],colorNeutralStrokeAccessibleHover:b[74],colorNeutralStrokeAccessiblePressed:b[70],colorNeutralStrokeAccessibleSelected:a[100],colorNeutralStroke1:b[40],colorNeutralStroke1Hover:b[46],colorNeutralStroke1Pressed:b[42],colorNeutralStroke1Selected:b[44],colorNeutralStroke2:b[32],colorNeutralStroke3:b[24],colorNeutralStrokeSubtle:b[4],colorNeutralStrokeOnBrand:b[16],colorNeutralStrokeOnBrand2:x1,colorNeutralStrokeOnBrand2Hover:x1,colorNeutralStrokeOnBrand2Pressed:x1,colorNeutralStrokeOnBrand2Selected:x1,colorBrandStroke1:a[100],colorBrandStroke2:a[50],colorBrandStroke2Hover:a[50],colorBrandStroke2Pressed:a[30],colorBrandStroke2Contrast:a[50],colorCompoundBrandStroke:a[100],colorCompoundBrandStrokeHover:a[110],colorCompoundBrandStrokePressed:a[90],colorNeutralStrokeDisabled:b[26],colorNeutralStrokeInvertedDisabled:O0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:O0[10],colorNeutralStrokeAlpha2:O0[20],colorStrokeFocus1:R6,colorStrokeFocus2:x1,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"});var s6=(a)=>{let l=BA(a);return{...Aa,...Va,...ua,...Ca,...da,...ga,...Ie,...Ue,...ye,...Oe,...l,...fA,...T3,...x6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...x6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};g();g();var a4={root:"fui-FluentProvider"},Xx=/*@__PURE__*/X8({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),pa=(a)=>{let l=i2(),c=Xx({dir:a.dir,renderer:l});return a.root.className=D(a4.root,a.themeClassName,c.root,a.root.className),a};var Yx=Q5?Q5:z1,Nx=(a,l)=>{if(!(a===null||a===void 0?void 0:a.head))return;let c=a.createElement("style");return Object.keys(l).forEach((e)=>{c.setAttribute(e,l[e])}),a.head.appendChild(c),c},jx=(a,l)=>{let c=a.sheet;if(c){if(c.cssRules.length>0)c.deleteRule(0);c.insertRule(l,0)}else console.error("FluentProvider: No sheet available on styleTag, styles will not be inserted into DOM.")},La=(a)=>{let{targetDocument:l,theme:c,rendererAttributes:e}=a,h=U(),Z=t0(a4.root),o=e,r=C1(()=>Y8(`.${Z}`,c),[c,Z]);return C1(()=>{if(l){let v=`.${a4.root}.${Z}`,t=l.querySelectorAll(v),m=l.querySelector(`${v} > style[id="${Z}"]`)!==null?1:0;if(t.length>m)console.error(["@fluentui/react-provider: There are conflicting ids in your DOM.","Please make sure that you configured your application properly.",`
|
|
127
|
+
*/C();var ap=(a)=>{return a};function lp(a){let l=(a===null||a===void 0?void 0:a.defaultView)||void 0,c=l===null||l===void 0?void 0:l.__tabsterShadowDOMAPI;if(l)return kV(l,{autoRoot:{},controlTab:!1,getParent:t6,checkUncontrolledTrappingFocus:(h)=>{var Z;return!!((Z=h.firstElementChild)===null||Z===void 0?void 0:Z.hasAttribute("data-is-focus-trap-zone-bumper"))},DOMAPI:c})}function R5(a=ap){let{targetDocument:l}=g1(),c=q(null);K1(()=>{let h=lp(l);if(h)return c.current=a(h),()=>{fV(h),c.current=null}},[l,a]);{let h=Hh(a);if(h!==null&&h!==a)throw new Error(["@fluentui/react-tabster: ","The factory function passed to useTabster has changed. This should not ever happen."].join(`
|
|
128
|
+
`))}return c}C();var v3=(a)=>{R5();let l=j8(a,!0);return x1(()=>({[_2]:l}),[l])};var _8=(a={})=>{let{circular:l,axis:c,memorizeCurrent:h=!0,tabbable:Z,ignoreDefaultKeydown:o,unstable_hasDefault:v}=a;return R5(BV),v3({mover:{cyclic:!!l,direction:cp(c!==null&&c!==void 0?c:"vertical"),memorizeCurrent:h,tabbable:Z,hasDefault:v},...o&&{focusable:{ignoreKeydown:o}}})};function cp(a){switch(a){case"horizontal":return y5.Horizontal;case"grid":return y5.Grid;case"grid-linear":return y5.GridLinear;case"both":return y5.Both;case"vertical":default:return y5.Vertical}}var $3=(a)=>{return R5(SV),v3({groupper:{tabbability:hp(a===null||a===void 0?void 0:a.tabBehavior)},focusable:{ignoreKeydown:a===null||a===void 0?void 0:a.ignoreDefaultKeydown}})},hp=(a)=>{switch(a){case"unlimited":return N8.Unlimited;case"limited":return N8.Limited;case"limited-trap-focus":return N8.LimitedTrapFocus;default:return}};C();var S7=()=>{let a=R5(),{targetDocument:l}=g1(),c=y((r,e)=>{var m;return((m=a.current)===null||m===void 0?void 0:m.focusable.findAll({container:r,acceptCondition:e}))||[]},[a]),h=y((r)=>{var e;return(e=a.current)===null||e===void 0?void 0:e.focusable.findFirst({container:r})},[a]),Z=y((r)=>{var e;return(e=a.current)===null||e===void 0?void 0:e.focusable.findLast({container:r})},[a]),o=y((r,e={})=>{if(!a.current||!l)return null;let{container:m=l.body}=e;return a.current.focusable.findNext({currentElement:r,container:m})},[a,l]),v=y((r,e={})=>{if(!a.current||!l)return null;let{container:m=l.body}=e;return a.current.focusable.findPrev({currentElement:r,container:m})},[a,l]);return{findAllFocusable:c,findFirstFocusable:h,findLastFocusable:Z,findNextFocusable:o,findPrevFocusable:v}};C();var ir="data-fui-focus-visible",nr="data-fui-focus-within";function TV(a,l){if(WV(a))return()=>{return};let c={current:void 0},h=A6(l);function Z(e){if(h.isNavigatingWithKeyboard()&&P1(e))c.current=e,e.setAttribute(ir,"")}function o(){if(c.current)c.current.removeAttribute(ir),c.current=void 0}h.subscribe((e)=>{if(!e)o();else Z(l.document.activeElement)});let v=(e)=>{o();let m=e.composedPath()[0];Z(m)},r=(e)=>{if(!e.relatedTarget||P1(e.relatedTarget)&&!a.contains(e.relatedTarget))o()};if(a.addEventListener(C5,v),a.addEventListener("focusout",r),a.focusVisible=!0,a.contains(l.document.activeElement))Z(l.document.activeElement);return()=>{o(),a.removeEventListener(C5,v),a.removeEventListener("focusout",r),delete a.focusVisible,V6(h)}}function WV(a){if(!a)return!1;if(a.focusVisible)return!0;return WV(a===null||a===void 0?void 0:a.parentElement)}function B7(a={}){let l=g1(),c=q(null);var h;let Z=(h=a.targetDocument)!==null&&h!==void 0?h:l.targetDocument;return t1(()=>{if((Z===null||Z===void 0?void 0:Z.defaultView)&&c.current)return TV(c.current,Z.defaultView)},[c,Z]),c}C();function UV(a,l){let c=A6(l);c.subscribe((o)=>{if(!o)bV(a)});let h=(o)=>{if(c.isNavigatingWithKeyboard()&&IV(o.target))Zp(a)},Z=(o)=>{if(!o.relatedTarget||IV(o.relatedTarget)&&!a.contains(o.relatedTarget))bV(a)};return a.addEventListener(C5,h),a.addEventListener("focusout",Z),()=>{a.removeEventListener(C5,h),a.removeEventListener("focusout",Z),V6(c)}}function Zp(a){a.setAttribute(nr,"")}function bV(a){a.removeAttribute(nr)}function IV(a){if(!a)return!1;return Boolean(a&&typeof a==="object"&&"classList"in a&&"contains"in a)}function V2(){let{targetDocument:a}=g1(),l=q(null);return t1(()=>{if((a===null||a===void 0?void 0:a.defaultView)&&l.current)return UV(l.current,a.defaultView)},[l,a]),l}var OV="data-tabster-never-hide",SP={[OV]:""};var op=(a)=>{return a.hasAttribute(OV)};function vp(a){uh(a,void 0,op),dh(a)}var i2=(a={})=>{let{trapFocus:l,alwaysFocusable:c,legacyTrapFocus:h}=a;R5(vp);let Z=m0("modal-",a.id),o=v3({restorer:{type:s7.Source},...l&&{modalizer:{id:Z,isOthersAccessible:!l,isAlwaysAccessible:c,isTrapped:h&&l}}}),v=v3({restorer:{type:s7.Target}});return{modalAttributes:o,triggerAttributes:v}};function f7(){return R5(dh),j8({restorer:{type:s7.Source}})}C();function Lh(){let a=R5(uh),[l]=N2();return y((h)=>{l(()=>{var Z;(Z=a.current)===null||Z===void 0||Z.activate(h)},0)},[a,l])}var T={"2":"#050505","4":"#0a0a0a","6":"#0f0f0f","8":"#141414","10":"#1a1a1a","12":"#1f1f1f","14":"#242424","16":"#292929","18":"#2e2e2e","20":"#333333","22":"#383838","24":"#3d3d3d","26":"#424242","28":"#474747","30":"#4d4d4d","32":"#525252","34":"#575757","36":"#5c5c5c","38":"#616161","40":"#666666","42":"#6b6b6b","44":"#707070","46":"#757575","48":"#7a7a7a","50":"#808080","52":"#858585","54":"#8a8a8a","56":"#8f8f8f","58":"#949494","60":"#999999","62":"#9e9e9e","64":"#a3a3a3","66":"#a8a8a8","68":"#adadad","70":"#b3b3b3","72":"#b8b8b8","74":"#bdbdbd","76":"#c2c2c2","78":"#c7c7c7","80":"#cccccc","82":"#d1d1d1","84":"#d6d6d6","86":"#dbdbdb","88":"#e0e0e0","90":"#e6e6e6","92":"#ebebeb","94":"#f0f0f0","96":"#f5f5f5","98":"#fafafa"},U0={"5":"rgba(255, 255, 255, 0.05)","10":"rgba(255, 255, 255, 0.1)","20":"rgba(255, 255, 255, 0.2)","30":"rgba(255, 255, 255, 0.3)","40":"rgba(255, 255, 255, 0.4)","50":"rgba(255, 255, 255, 0.5)","60":"rgba(255, 255, 255, 0.6)","70":"rgba(255, 255, 255, 0.7)","80":"rgba(255, 255, 255, 0.8)","90":"rgba(255, 255, 255, 0.9)"},x5={"5":"rgba(0, 0, 0, 0.05)","10":"rgba(0, 0, 0, 0.1)","20":"rgba(0, 0, 0, 0.2)","30":"rgba(0, 0, 0, 0.3)","40":"rgba(0, 0, 0, 0.4)","50":"rgba(0, 0, 0, 0.5)","60":"rgba(0, 0, 0, 0.6)","70":"rgba(0, 0, 0, 0.7)","80":"rgba(0, 0, 0, 0.8)","90":"rgba(0, 0, 0, 0.9)"},PV={"5":"rgba(26, 26, 26, 0.05)","10":"rgba(26, 26, 26, 0.1)","20":"rgba(26, 26, 26, 0.2)","30":"rgba(26, 26, 26, 0.3)","40":"rgba(26, 26, 26, 0.4)","50":"rgba(26, 26, 26, 0.5)","60":"rgba(26, 26, 26, 0.6)","70":"rgba(26, 26, 26, 0.7)","80":"rgba(26, 26, 26, 0.8)","90":"rgba(26, 26, 26, 0.9)"},qV={"5":"rgba(31, 31, 31, 0.05)","10":"rgba(31, 31, 31, 0.1)","20":"rgba(31, 31, 31, 0.2)","30":"rgba(31, 31, 31, 0.3)","40":"rgba(31, 31, 31, 0.4)","50":"rgba(31, 31, 31, 0.5)","60":"rgba(31, 31, 31, 0.6)","70":"rgba(31, 31, 31, 0.7)","80":"rgba(31, 31, 31, 0.8)","90":"rgba(31, 31, 31, 0.9)"},ur={"5":"rgba(36, 36, 36, 0.05)","10":"rgba(36, 36, 36, 0.1)","20":"rgba(36, 36, 36, 0.2)","30":"rgba(36, 36, 36, 0.3)","40":"rgba(36, 36, 36, 0.4)","50":"rgba(36, 36, 36, 0.5)","60":"rgba(36, 36, 36, 0.6)","70":"rgba(36, 36, 36, 0.7)","80":"rgba(36, 36, 36, 0.8)","90":"rgba(36, 36, 36, 0.9)"},p1="#ffffff",d6="#000000";var zV={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"};var dr={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},QV={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},JV={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"};var KV={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},XV={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},EV={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},$V={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},YV={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},yV={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},NV={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},jV={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"};var _V={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},ai={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},li={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Lr={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},ci={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},hi={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},Zi={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"};var oi={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"};var vi={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},ri={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"};var ei={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},mi={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},Mi={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},ti={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"};var Hi={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},Ai={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},Vi={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},ii={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"};var ni={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},ui={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},di={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},Li={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"};var gi={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},Ci={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"};var I1={red:QV,green:Lr,darkOrange:JV,yellow:YV,berry:Ai,lightGreen:li,marigold:$V},l7={darkRed:zV,cranberry:dr,pumpkin:KV,peach:EV,gold:yV,brass:NV,brown:jV,forest:_V,seafoam:ai,darkGreen:ci,lightTeal:hi,teal:Zi,steel:oi,blue:vi,royalBlue:ri,cornflower:ei,navy:mi,lavender:Mi,purple:ti,grape:Hi,lilac:Vi,pink:ii,magenta:ni,plum:ui,beige:di,mink:Li,platinum:gi,anchor:Ci},b1={cranberry:dr,green:Lr,orange:XV};var gh=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Ch=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"];var v5={success:"green",warning:"orange",danger:"cranberry"};var aa=gh.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorPalette${c}Background1`]:I1[l].tint60,[`colorPalette${c}Background2`]:I1[l].tint40,[`colorPalette${c}Background3`]:I1[l].primary,[`colorPalette${c}Foreground1`]:I1[l].shade10,[`colorPalette${c}Foreground2`]:I1[l].shade30,[`colorPalette${c}Foreground3`]:I1[l].primary,[`colorPalette${c}BorderActive`]:I1[l].primary,[`colorPalette${c}Border1`]:I1[l].tint40,[`colorPalette${c}Border2`]:I1[l].primary};return Object.assign(a,h)},{});aa.colorPaletteYellowForeground1=I1.yellow.shade30;aa.colorPaletteRedForegroundInverted=I1.red.tint20;aa.colorPaletteGreenForegroundInverted=I1.green.tint20;aa.colorPaletteYellowForegroundInverted=I1.yellow.tint40;var ep=Ch.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorPalette${c}Background2`]:l7[l].tint40,[`colorPalette${c}Foreground2`]:l7[l].shade30,[`colorPalette${c}BorderActive`]:l7[l].primary};return Object.assign(a,h)},{}),Fi={...aa,...ep},Y3=Object.entries(v5).reduce((a,[l,c])=>{let h=l.slice(0,1).toUpperCase()+l.slice(1),Z={[`colorStatus${h}Background1`]:b1[c].tint60,[`colorStatus${h}Background2`]:b1[c].tint40,[`colorStatus${h}Background3`]:b1[c].primary,[`colorStatus${h}Foreground1`]:b1[c].shade10,[`colorStatus${h}Foreground2`]:b1[c].shade30,[`colorStatus${h}Foreground3`]:b1[c].primary,[`colorStatus${h}ForegroundInverted`]:b1[c].tint30,[`colorStatus${h}BorderActive`]:b1[c].primary,[`colorStatus${h}Border1`]:b1[c].tint40,[`colorStatus${h}Border2`]:b1[c].primary};return Object.assign(a,Z)},{});Y3.colorStatusDangerBackground3Hover=b1[v5.danger].shade10;Y3.colorStatusDangerBackground3Pressed=b1[v5.danger].shade20;Y3.colorStatusWarningForeground1=b1[v5.warning].shade20;Y3.colorStatusWarningForeground3=b1[v5.warning].shade20;Y3.colorStatusWarningBorder2=b1[v5.warning].shade20;var Ri=(a)=>({colorNeutralForeground1:T[14],colorNeutralForeground1Hover:T[14],colorNeutralForeground1Pressed:T[14],colorNeutralForeground1Selected:T[14],colorNeutralForeground2:T[26],colorNeutralForeground2Hover:T[14],colorNeutralForeground2Pressed:T[14],colorNeutralForeground2Selected:T[14],colorNeutralForeground2BrandHover:a[80],colorNeutralForeground2BrandPressed:a[70],colorNeutralForeground2BrandSelected:a[80],colorNeutralForeground3:T[38],colorNeutralForeground3Hover:T[26],colorNeutralForeground3Pressed:T[26],colorNeutralForeground3Selected:T[26],colorNeutralForeground3BrandHover:a[80],colorNeutralForeground3BrandPressed:a[70],colorNeutralForeground3BrandSelected:a[80],colorNeutralForeground4:T[44],colorNeutralForegroundDisabled:T[74],colorNeutralForegroundInvertedDisabled:U0[40],colorBrandForegroundLink:a[70],colorBrandForegroundLinkHover:a[60],colorBrandForegroundLinkPressed:a[40],colorBrandForegroundLinkSelected:a[70],colorNeutralForeground2Link:T[26],colorNeutralForeground2LinkHover:T[14],colorNeutralForeground2LinkPressed:T[14],colorNeutralForeground2LinkSelected:T[14],colorCompoundBrandForeground1:a[80],colorCompoundBrandForeground1Hover:a[70],colorCompoundBrandForeground1Pressed:a[60],colorBrandForeground1:a[80],colorBrandForeground2:a[70],colorBrandForeground2Hover:a[60],colorBrandForeground2Pressed:a[30],colorNeutralForeground1Static:T[14],colorNeutralForegroundStaticInverted:p1,colorNeutralForegroundInverted:p1,colorNeutralForegroundInvertedHover:p1,colorNeutralForegroundInvertedPressed:p1,colorNeutralForegroundInvertedSelected:p1,colorNeutralForegroundInverted2:p1,colorNeutralForegroundOnBrand:p1,colorNeutralForegroundInvertedLink:p1,colorNeutralForegroundInvertedLinkHover:p1,colorNeutralForegroundInvertedLinkPressed:p1,colorNeutralForegroundInvertedLinkSelected:p1,colorBrandForegroundInverted:a[100],colorBrandForegroundInvertedHover:a[110],colorBrandForegroundInvertedPressed:a[100],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:p1,colorNeutralBackground1Hover:T[96],colorNeutralBackground1Pressed:T[88],colorNeutralBackground1Selected:T[92],colorNeutralBackground2:T[98],colorNeutralBackground2Hover:T[94],colorNeutralBackground2Pressed:T[86],colorNeutralBackground2Selected:T[90],colorNeutralBackground3:T[96],colorNeutralBackground3Hover:T[92],colorNeutralBackground3Pressed:T[84],colorNeutralBackground3Selected:T[88],colorNeutralBackground4:T[94],colorNeutralBackground4Hover:T[98],colorNeutralBackground4Pressed:T[96],colorNeutralBackground4Selected:p1,colorNeutralBackground5:T[92],colorNeutralBackground5Hover:T[96],colorNeutralBackground5Pressed:T[94],colorNeutralBackground5Selected:T[98],colorNeutralBackground6:T[90],colorNeutralBackgroundInverted:T[16],colorNeutralBackgroundStatic:T[20],colorNeutralBackgroundAlpha:U0[50],colorNeutralBackgroundAlpha2:U0[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:T[96],colorSubtleBackgroundPressed:T[88],colorSubtleBackgroundSelected:T[92],colorSubtleBackgroundLightAlphaHover:U0[70],colorSubtleBackgroundLightAlphaPressed:U0[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:x5[10],colorSubtleBackgroundInvertedPressed:x5[30],colorSubtleBackgroundInvertedSelected:x5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:T[94],colorNeutralBackgroundInvertedDisabled:U0[10],colorNeutralStencil1:T[90],colorNeutralStencil2:T[98],colorNeutralStencil1Alpha:x5[10],colorNeutralStencil2Alpha:x5[5],colorBackgroundOverlay:x5[40],colorScrollbarOverlay:x5[50],colorBrandBackground:a[80],colorBrandBackgroundHover:a[70],colorBrandBackgroundPressed:a[40],colorBrandBackgroundSelected:a[60],colorCompoundBrandBackground:a[80],colorCompoundBrandBackgroundHover:a[70],colorCompoundBrandBackgroundPressed:a[60],colorBrandBackgroundStatic:a[80],colorBrandBackground2:a[160],colorBrandBackground2Hover:a[150],colorBrandBackground2Pressed:a[130],colorBrandBackground3Static:a[60],colorBrandBackground4Static:a[40],colorBrandBackgroundInverted:p1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:T[98],colorNeutralCardBackgroundHover:p1,colorNeutralCardBackgroundPressed:T[96],colorNeutralCardBackgroundSelected:T[92],colorNeutralCardBackgroundDisabled:T[94],colorNeutralStrokeAccessible:T[38],colorNeutralStrokeAccessibleHover:T[34],colorNeutralStrokeAccessiblePressed:T[30],colorNeutralStrokeAccessibleSelected:a[80],colorNeutralStroke1:T[82],colorNeutralStroke1Hover:T[78],colorNeutralStroke1Pressed:T[70],colorNeutralStroke1Selected:T[74],colorNeutralStroke2:T[88],colorNeutralStroke3:T[94],colorNeutralStrokeSubtle:T[88],colorNeutralStrokeOnBrand:p1,colorNeutralStrokeOnBrand2:p1,colorNeutralStrokeOnBrand2Hover:p1,colorNeutralStrokeOnBrand2Pressed:p1,colorNeutralStrokeOnBrand2Selected:p1,colorBrandStroke1:a[80],colorBrandStroke2:a[140],colorBrandStroke2Hover:a[120],colorBrandStroke2Pressed:a[80],colorBrandStroke2Contrast:a[140],colorCompoundBrandStroke:a[80],colorCompoundBrandStrokeHover:a[70],colorCompoundBrandStrokePressed:a[60],colorNeutralStrokeDisabled:T[88],colorNeutralStrokeInvertedDisabled:U0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:x5[5],colorNeutralStrokeAlpha2:U0[20],colorStrokeFocus1:p1,colorStrokeFocus2:d6,colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"});var la={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"};var Fh={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"};var Rh={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"};var ca={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},ha={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},Za={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},oa={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"};var u0={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},xh={spacingHorizontalNone:u0.none,spacingHorizontalXXS:u0.xxs,spacingHorizontalXS:u0.xs,spacingHorizontalSNudge:u0.sNudge,spacingHorizontalS:u0.s,spacingHorizontalMNudge:u0.mNudge,spacingHorizontalM:u0.m,spacingHorizontalL:u0.l,spacingHorizontalXL:u0.xl,spacingHorizontalXXL:u0.xxl,spacingHorizontalXXXL:u0.xxxl},ph={spacingVerticalNone:u0.none,spacingVerticalXXS:u0.xxs,spacingVerticalXS:u0.xs,spacingVerticalSNudge:u0.sNudge,spacingVerticalS:u0.s,spacingVerticalMNudge:u0.mNudge,spacingVerticalM:u0.m,spacingVerticalL:u0.l,spacingVerticalXL:u0.xl,spacingVerticalXXL:u0.xxl,spacingVerticalXXXL:u0.xxxl};var va={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};var E1={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackground3Static:"var(--colorBrandBackground3Static)",colorBrandBackground4Static:"var(--colorBrandBackground4Static)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralCardBackground:"var(--colorNeutralCardBackground)",colorNeutralCardBackgroundHover:"var(--colorNeutralCardBackgroundHover)",colorNeutralCardBackgroundPressed:"var(--colorNeutralCardBackgroundPressed)",colorNeutralCardBackgroundSelected:"var(--colorNeutralCardBackgroundSelected)",colorNeutralCardBackgroundDisabled:"var(--colorNeutralCardBackgroundDisabled)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)",zIndexBackground:"var(--zIndexBackground, 0)",zIndexContent:"var(--zIndexContent, 1)",zIndexOverlay:"var(--zIndexOverlay, 1000)",zIndexPopup:"var(--zIndexPopup, 2000)",zIndexMessages:"var(--zIndexMessages, 3000)",zIndexFloating:"var(--zIndexFloating, 4000)",zIndexPriority:"var(--zIndexPriority, 5000)",zIndexDebug:"var(--zIndexDebug, 6000)"};function L6(a,l,c=""){return{[`shadow2${c}`]:`0 0 2px ${a}, 0 1px 2px ${l}`,[`shadow4${c}`]:`0 0 2px ${a}, 0 2px 4px ${l}`,[`shadow8${c}`]:`0 0 2px ${a}, 0 4px 8px ${l}`,[`shadow16${c}`]:`0 0 2px ${a}, 0 8px 16px ${l}`,[`shadow28${c}`]:`0 0 8px ${a}, 0 14px 28px ${l}`,[`shadow64${c}`]:`0 0 8px ${a}, 0 32px 64px ${l}`}}var r3=(a)=>{let l=Ri(a);return{...la,...ca,...ha,...oa,...Za,...va,...xh,...ph,...Rh,...Fh,...l,...Fi,...Y3,...L6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...L6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};var xi={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"};var c7=gh.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorPalette${c}Background1`]:I1[l].shade40,[`colorPalette${c}Background2`]:I1[l].shade30,[`colorPalette${c}Background3`]:I1[l].primary,[`colorPalette${c}Foreground1`]:I1[l].tint30,[`colorPalette${c}Foreground2`]:I1[l].tint40,[`colorPalette${c}Foreground3`]:I1[l].tint20,[`colorPalette${c}BorderActive`]:I1[l].tint30,[`colorPalette${c}Border1`]:I1[l].primary,[`colorPalette${c}Border2`]:I1[l].tint20};return Object.assign(a,h)},{});c7.colorPaletteRedForeground3=I1.red.tint30;c7.colorPaletteRedBorder2=I1.red.tint30;c7.colorPaletteGreenForeground3=I1.green.tint40;c7.colorPaletteGreenBorder2=I1.green.tint40;c7.colorPaletteDarkOrangeForeground3=I1.darkOrange.tint30;c7.colorPaletteDarkOrangeBorder2=I1.darkOrange.tint30;c7.colorPaletteRedForegroundInverted=I1.red.primary;c7.colorPaletteGreenForegroundInverted=I1.green.primary;c7.colorPaletteYellowForegroundInverted=I1.yellow.shade30;var gr=Ch.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorPalette${c}Background2`]:l7[l].shade30,[`colorPalette${c}Foreground2`]:l7[l].tint40,[`colorPalette${c}BorderActive`]:l7[l].tint30};return Object.assign(a,h)},{});gr.colorPaletteDarkRedBackground2=l7.darkRed.shade20;gr.colorPalettePlumBackground2=l7.plum.shade20;var pi={...c7,...gr},T7=Object.entries(v5).reduce((a,[l,c])=>{let h=l.slice(0,1).toUpperCase()+l.slice(1),Z={[`colorStatus${h}Background1`]:b1[c].shade40,[`colorStatus${h}Background2`]:b1[c].shade30,[`colorStatus${h}Background3`]:b1[c].primary,[`colorStatus${h}Foreground1`]:b1[c].tint30,[`colorStatus${h}Foreground2`]:b1[c].tint40,[`colorStatus${h}Foreground3`]:b1[c].tint20,[`colorStatus${h}BorderActive`]:b1[c].tint30,[`colorStatus${h}ForegroundInverted`]:b1[c].shade10,[`colorStatus${h}Border1`]:b1[c].primary,[`colorStatus${h}Border2`]:b1[c].tint20};return Object.assign(a,Z)},{});T7.colorStatusDangerBackground3Hover=b1[v5.danger].shade10;T7.colorStatusDangerBackground3Pressed=b1[v5.danger].shade20;T7.colorStatusDangerForeground3=b1[v5.danger].tint40;T7.colorStatusDangerBorder2=b1[v5.danger].tint30;T7.colorStatusSuccessForeground3=b1[v5.success].tint40;T7.colorStatusSuccessBorder2=b1[v5.success].tint40;T7.colorStatusWarningForegroundInverted=b1[v5.warning].shade20;var n2=r3(xi);var wi=(a)=>({colorNeutralForeground1:p1,colorNeutralForeground1Hover:p1,colorNeutralForeground1Pressed:p1,colorNeutralForeground1Selected:p1,colorNeutralForeground2:T[84],colorNeutralForeground2Hover:p1,colorNeutralForeground2Pressed:p1,colorNeutralForeground2Selected:p1,colorNeutralForeground2BrandHover:a[100],colorNeutralForeground2BrandPressed:a[90],colorNeutralForeground2BrandSelected:a[100],colorNeutralForeground3:T[68],colorNeutralForeground3Hover:T[84],colorNeutralForeground3Pressed:T[84],colorNeutralForeground3Selected:T[84],colorNeutralForeground3BrandHover:a[100],colorNeutralForeground3BrandPressed:a[90],colorNeutralForeground3BrandSelected:a[100],colorNeutralForeground4:T[60],colorNeutralForegroundDisabled:T[36],colorNeutralForegroundInvertedDisabled:U0[40],colorBrandForegroundLink:a[100],colorBrandForegroundLinkHover:a[110],colorBrandForegroundLinkPressed:a[90],colorBrandForegroundLinkSelected:a[100],colorNeutralForeground2Link:T[84],colorNeutralForeground2LinkHover:p1,colorNeutralForeground2LinkPressed:p1,colorNeutralForeground2LinkSelected:p1,colorCompoundBrandForeground1:a[100],colorCompoundBrandForeground1Hover:a[110],colorCompoundBrandForeground1Pressed:a[90],colorBrandForeground1:a[100],colorBrandForeground2:a[110],colorBrandForeground2Hover:a[130],colorBrandForeground2Pressed:a[160],colorNeutralForeground1Static:T[14],colorNeutralForegroundStaticInverted:p1,colorNeutralForegroundInverted:T[14],colorNeutralForegroundInvertedHover:T[14],colorNeutralForegroundInvertedPressed:T[14],colorNeutralForegroundInvertedSelected:T[14],colorNeutralForegroundInverted2:T[14],colorNeutralForegroundOnBrand:p1,colorNeutralForegroundInvertedLink:p1,colorNeutralForegroundInvertedLinkHover:p1,colorNeutralForegroundInvertedLinkPressed:p1,colorNeutralForegroundInvertedLinkSelected:p1,colorBrandForegroundInverted:a[80],colorBrandForegroundInvertedHover:a[70],colorBrandForegroundInvertedPressed:a[60],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:T[16],colorNeutralBackground1Hover:T[24],colorNeutralBackground1Pressed:T[12],colorNeutralBackground1Selected:T[22],colorNeutralBackground2:T[12],colorNeutralBackground2Hover:T[20],colorNeutralBackground2Pressed:T[8],colorNeutralBackground2Selected:T[18],colorNeutralBackground3:T[8],colorNeutralBackground3Hover:T[16],colorNeutralBackground3Pressed:T[4],colorNeutralBackground3Selected:T[14],colorNeutralBackground4:T[4],colorNeutralBackground4Hover:T[12],colorNeutralBackground4Pressed:d6,colorNeutralBackground4Selected:T[10],colorNeutralBackground5:d6,colorNeutralBackground5Hover:T[8],colorNeutralBackground5Pressed:T[2],colorNeutralBackground5Selected:T[6],colorNeutralBackground6:T[20],colorNeutralBackgroundInverted:p1,colorNeutralBackgroundStatic:T[24],colorNeutralBackgroundAlpha:PV[50],colorNeutralBackgroundAlpha2:qV[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:T[22],colorSubtleBackgroundPressed:T[18],colorSubtleBackgroundSelected:T[20],colorSubtleBackgroundLightAlphaHover:ur[80],colorSubtleBackgroundLightAlphaPressed:ur[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:x5[10],colorSubtleBackgroundInvertedPressed:x5[30],colorSubtleBackgroundInvertedSelected:x5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:T[8],colorNeutralBackgroundInvertedDisabled:U0[10],colorNeutralStencil1:T[34],colorNeutralStencil2:T[20],colorNeutralStencil1Alpha:U0[10],colorNeutralStencil2Alpha:U0[5],colorBackgroundOverlay:x5[50],colorScrollbarOverlay:U0[60],colorBrandBackground:a[70],colorBrandBackgroundHover:a[80],colorBrandBackgroundPressed:a[40],colorBrandBackgroundSelected:a[60],colorCompoundBrandBackground:a[100],colorCompoundBrandBackgroundHover:a[110],colorCompoundBrandBackgroundPressed:a[90],colorBrandBackgroundStatic:a[80],colorBrandBackground2:a[20],colorBrandBackground2Hover:a[40],colorBrandBackground2Pressed:a[10],colorBrandBackground3Static:a[60],colorBrandBackground4Static:a[40],colorBrandBackgroundInverted:p1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:T[20],colorNeutralCardBackgroundHover:T[24],colorNeutralCardBackgroundPressed:T[18],colorNeutralCardBackgroundSelected:T[22],colorNeutralCardBackgroundDisabled:T[8],colorNeutralStrokeAccessible:T[68],colorNeutralStrokeAccessibleHover:T[74],colorNeutralStrokeAccessiblePressed:T[70],colorNeutralStrokeAccessibleSelected:a[100],colorNeutralStroke1:T[40],colorNeutralStroke1Hover:T[46],colorNeutralStroke1Pressed:T[42],colorNeutralStroke1Selected:T[44],colorNeutralStroke2:T[32],colorNeutralStroke3:T[24],colorNeutralStrokeSubtle:T[4],colorNeutralStrokeOnBrand:T[16],colorNeutralStrokeOnBrand2:p1,colorNeutralStrokeOnBrand2Hover:p1,colorNeutralStrokeOnBrand2Pressed:p1,colorNeutralStrokeOnBrand2Selected:p1,colorBrandStroke1:a[100],colorBrandStroke2:a[50],colorBrandStroke2Hover:a[50],colorBrandStroke2Pressed:a[30],colorBrandStroke2Contrast:a[50],colorCompoundBrandStroke:a[100],colorCompoundBrandStrokeHover:a[110],colorCompoundBrandStrokePressed:a[90],colorNeutralStrokeDisabled:T[26],colorNeutralStrokeInvertedDisabled:U0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:U0[10],colorNeutralStrokeAlpha2:U0[20],colorStrokeFocus1:d6,colorStrokeFocus2:p1,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"});var g6=(a)=>{let l=wi(a);return{...la,...ca,...ha,...oa,...Za,...va,...xh,...ph,...Rh,...Fh,...l,...pi,...T7,...L6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...L6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};C();C();var y3={root:"fui-FluentProvider"},Vp=/*@__PURE__*/b8({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),ra=(a)=>{let l=H2(),c=Vp({dir:a.dir,renderer:l});return a.root.className=k(y3.root,a.themeClassName,c.root,a.root.className),a};var ip=t2?t2:K1,np=(a,l)=>{if(!(a===null||a===void 0?void 0:a.head))return;let c=a.createElement("style");return Object.keys(l).forEach((h)=>{c.setAttribute(h,l[h])}),a.head.appendChild(c),c},up=(a,l)=>{let c=a.sheet;if(c){if(c.cssRules.length>0)c.deleteRule(0);c.insertRule(l,0)}else console.error("FluentProvider: No sheet available on styleTag, styles will not be inserted into DOM.")},ea=(a)=>{let{targetDocument:l,theme:c,rendererAttributes:h}=a,Z=q(),o=m0(y3.root),v=h,r=x1(()=>I8(`.${o}`,c),[c,o]);return x1(()=>{if(l){var e;let t=`.${y3.root}.${o}`,M=l.querySelectorAll(t),H=`style[id="${o}"]`,A=l.querySelectorAll(H);if(A.length>1){console.error(["@fluentui/react-provider: We found multiple <style> elements with same IDs in your DOM.","Please make sure that you configured your application properly.",`
|
|
129
129
|
`,`
|
|
130
|
-
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "))
|
|
131
|
-
`,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function ms(a){if(ts)return a.props.ref;return a.ref}function QA(a,l=!0){let c=U(null);t1(()=>{if(l&&!c.current)console.error(KA)},[l]);try{let e=g3.only(a);if(o5(e))return[N3(e,{ref:K1(c,ms(e))}),c]}catch{}throw new Error(KA)}g();var JA=J(void 0),WX=JA.Provider,$A=()=>{var a;return(a=E(JA))!==null&&a!==void 0?a:"default"};g();g();var XA=J(void 0);g();function YA(a=!1,l=!1){let c=U(l?a:!0),e=n6(),h=a1((Z)=>{if(c.current!==Z)c.current=Z,e()},[e]);return t1(()=>{if(a)c.current=a}),[a||c.current,h]}var Ms=Symbol("MOTION_DEFINITION"),Hs=Symbol.for("interruptablePresence");function m5(a){return Object.assign((l)=>{let e={...E(XA),...l},h=$A()==="skip",{appear:Z,children:o,imperativeRef:r,onExit:v,onMotionFinish:t,onMotionStart:M,onMotionCancel:m,visible:H,unmountOnExit:i,...n}=e,A=n,[u,d]=YA(H,i),[C,L]=QA(o,u),F=qA(r),R=U({appear:Z,params:A,skipMotions:h}),f=GA(),x=Re(),O=zA(),I=i1((j)=>{M===null||M===void 0||M(null,{direction:j})}),o1=i1((j)=>{if(t===null||t===void 0||t(null,{direction:j}),j==="exit"&&i)d(!1),v===null||v===void 0||v()}),r1=i1((j)=>{m===null||m===void 0||m(null,{direction:j})});if(z1(()=>{R.current={appear:Z,params:A,skipMotions:h}}),z1(()=>{let j=L.current;if(!j)return;let s;function k(){if(!s)return;if(Y&&s.isRunning())return;s.cancel(),F.current=void 0}let y=typeof a==="function"?a({element:j,...R.current.params}):a,Y=y[Hs];if(Y){if(s=F.current,s&&s.isRunning())return s.reverse(),k}let l1=H?y.enter:y.exit,H1=H?"enter":"exit",K=!R.current.appear&&x,A1=R.current.skipMotions;if(!K)I(H1);if(s=f(j,l1,{isReducedMotion:O()}),K)return s.finish(),k;if(F.current=s,s.setMotionEndCallbacks(()=>o1(H1),()=>r1(H1)),A1)s.finish();return k},[f,L,F,O,o1,I,r1,H]),u)return C;return null},{[Ms]:typeof a==="function"?a:()=>a})}g();function o4(a,l){let{as:c,children:e,...h}=a!==null&&a!==void 0?a:{};if(typeof c!=="undefined")throw new Error('@fluentui/react-motion: "as" property is not supported on motion slots.');if(a===null){let o=!l.defaultProps.visible&&l.defaultProps.unmountOnExit,r=(v,t)=>o?null:/*@__PURE__*/q(n1,null,t.children);return{[s3]:r,[v5]:l.elementType}}let Z={...l.defaultProps,...h,[v5]:l.elementType};if(typeof e==="function")Z[s3]=e;return Z}var NA=(a,l)=>{let c=a==="horizontal"?"maxWidth":"maxHeight",e=a==="horizontal"?"overflowX":"overflowY",Z=`${a==="horizontal"?l.scrollWidth:l.scrollHeight}px`;return{sizeName:c,overflowName:e,toSize:Z}},jA=({orientation:a,duration:l,easing:c,element:e,fromSize:h="0"})=>{let{sizeName:Z,overflowName:o,toSize:r}=NA(a,e);return{keyframes:[{[Z]:h,[o]:"hidden"},{[Z]:r,offset:0.9999,[o]:"hidden"},{[Z]:"unset",[o]:"unset"}],duration:l,easing:c}},_A=({orientation:a,duration:l,easing:c,element:e,delay:h=0,fromSize:Z="0"})=>{let{sizeName:o,overflowName:r,toSize:v}=NA(a,e);return{keyframes:[{[o]:v,[r]:"hidden"},{[o]:Z,[r]:"hidden"}],duration:l,easing:c,fill:"both",delay:h}},is=(a)=>{if(a==="horizontal")return{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"};return{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"}},Wr=({direction:a,orientation:l,duration:c,easing:e,delay:h=0})=>{let{paddingStart:Z,paddingEnd:o,marginStart:r,marginEnd:v}=is(l),t=a==="enter"?0:1,m={keyframes:[{[Z]:"0",[o]:"0",[r]:"0",[v]:"0",offset:t}],duration:c,easing:e,delay:h};if(a==="exit")m.fill="forwards";return m};var w6=({direction:a,duration:l,easing:c=B1.curveLinear,fromValue:e=0})=>{let h=[{opacity:e},{opacity:1}];if(a==="exit")h.reverse();return{keyframes:h,duration:l,easing:c}};var Ge=({enterSizeDuration:a=B1.durationNormal,enterOpacityDuration:l=a,enterEasing:c=B1.curveEasyEaseMax,enterDelay:e=0,exitSizeDuration:h=a,exitOpacityDuration:Z=l,exitEasing:o=c,exitDelay:r=0}={})=>({element:v,animateOpacity:t=!0,orientation:M="vertical"})=>{let m=[jA({orientation:M,duration:a,easing:c,element:v}),Wr({direction:"enter",orientation:M,duration:a,easing:c})];if(t)m.push({...w6({direction:"enter",duration:l,easing:c}),delay:e,fill:"both"});let H=[];if(t)H.push(w6({direction:"exit",duration:Z,easing:o}));return H.push(_A({orientation:M,duration:h,easing:o,element:v,delay:r}),Wr({direction:"exit",orientation:M,duration:h,easing:o,delay:r})),{enter:m,exit:H}},xa=({enterDuration:a=B1.durationNormal,enterEasing:l=B1.curveEasyEaseMax,exitDuration:c=a,exitEasing:e=l}={})=>Ge({enterSizeDuration:a,enterEasing:l,exitSizeDuration:c,exitEasing:e}),aV=m5(xa()),lV=m5(xa({enterDuration:B1.durationFast})),cV=m5(xa({enterDuration:B1.durationSlower})),qe=m5(Ge({enterSizeDuration:B1.durationNormal,enterOpacityDuration:B1.durationSlower,enterDelay:B1.durationNormal,exitDelay:B1.durationSlower,enterEasing:B1.curveEasyEase}));var sa=({enterDuration:a=B1.durationNormal,enterEasing:l=B1.curveEasyEase,exitDuration:c=a,exitEasing:e=l}={})=>({enter:w6({direction:"enter",duration:a,easing:l}),exit:w6({direction:"exit",duration:c,easing:e})}),eV=m5(sa()),hV=m5(sa({enterDuration:B1.durationFast})),ze=m5(sa({enterDuration:B1.durationGentle}));g();g();var Da=(a,l)=>{let{shape:c="circular",size:e="medium",iconPosition:h="before",appearance:Z="filled",color:o="brand"}=a;return{shape:c,size:e,iconPosition:h,appearance:Z,color:o,components:{root:"div",icon:"span"},root:B.always(c1("div",{ref:l,...a}),{elementType:"div"}),icon:B.optional(a.icon,{elementType:"span"})}};var wa={root:"fui-Badge",icon:"fui-Badge__icon"},LY=Q1.spacingHorizontalXXS,ns=/*@__PURE__*/N("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),As=/*@__PURE__*/S({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),Vs=/*@__PURE__*/N("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),us=/*@__PURE__*/S({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),ka=(a)=>{let l=ns(),c=As(),e=a.size==="small"||a.size==="extra-small"||a.size==="tiny";a.root.className=D(wa.root,l,e&&c.fontSmallToTiny,c[a.size],c[a.shape],a.shape==="rounded"&&e&&c.roundedSmallToTiny,a.appearance==="ghost"&&c.borderGhost,c[a.appearance],c[`${a.appearance}-${a.color}`],a.root.className);let h=Vs(),Z=us();if(a.icon){let o;if(a.root.children)if(a.size==="extra-large")o=a.iconPosition==="after"?Z.afterTextXL:Z.beforeTextXL;else o=a.iconPosition==="after"?Z.afterText:Z.beforeText;a.icon.className=D(wa.icon,h,o,Z[a.size],a.icon.className)}return a};var Sa=(a)=>{return G(a),/*@__PURE__*/R1(a.root,{children:[a.iconPosition==="before"&&a.icon&&/*@__PURE__*/w(a.icon,{}),a.root.children,a.iconPosition==="after"&&a.icon&&/*@__PURE__*/w(a.icon,{})]})};var $0=/*@__PURE__*/T((a,l)=>{let c=Da(a,l);return ka(c),z("useBadgeStyles_unstable")(c),Sa(c)});$0.displayName="Badge";g();var ds=J(void 0);var Ke=ds.Provider;g();g();function ZV(a){let{clientX:l,clientY:c}=a,e=l+1,h=c+1;function Z(){return{left:l,top:c,right:e,bottom:h,x:l,y:c,height:1,width:1}}return{getBoundingClientRect:Z}}var Pr="data-popper-is-intersecting",Or="data-popper-escaped",yr="data-popper-reference-hidden",oV="data-popper-placement",fa="fui-positioningend";var rV=["top","right","bottom","left"];var{min:W3,max:x5,round:ba}=Math;var C2=(a)=>({x:a,y:a}),Cs={left:"right",right:"left",bottom:"top",top:"bottom"},gs={start:"end",end:"start"};function Je(a,l,c){return x5(a,W3(l,c))}function e3(a,l){return typeof a==="function"?a(l):a}function h3(a){return a.split("-")[0]}function r4(a){return a.split("-")[1]}function $e(a){return a==="x"?"y":"x"}function Xe(a){return a==="y"?"height":"width"}function P3(a){return["top","bottom"].includes(h3(a))?"y":"x"}function Ye(a){return $e(P3(a))}function vV(a,l,c){if(c===void 0)c=!1;let e=r4(a),h=Ye(a),Z=Xe(h),o=h==="x"?e===(c?"end":"start")?"right":"left":e==="start"?"bottom":"top";if(l.reference[Z]>l.floating[Z])o=Ba(o);return[o,Ba(o)]}function tV(a){let l=Ba(a);return[Qe(a),l,Qe(l)]}function Qe(a){return a.replace(/start|end/g,(l)=>gs[l])}function ps(a,l,c){let e=["left","right"],h=["right","left"],Z=["top","bottom"],o=["bottom","top"];switch(a){case"top":case"bottom":if(c)return l?h:e;return l?e:h;case"left":case"right":return l?Z:o;default:return[]}}function mV(a,l,c,e){let h=r4(a),Z=ps(h3(a),c==="start",e);if(h){if(Z=Z.map((o)=>o+"-"+h),l)Z=Z.concat(Z.map(Qe))}return Z}function Ba(a){return a.replace(/left|right|bottom|top/g,(l)=>Cs[l])}function Ls(a){return{top:0,right:0,bottom:0,left:0,...a}}function Ir(a){return typeof a!=="number"?Ls(a):{top:a,right:a,bottom:a,left:a}}function v4(a){let{x:l,y:c,width:e,height:h}=a;return{width:e,height:h,top:c,left:l,right:l+e,bottom:c+h,x:l,y:c}}function MV(a,l,c){let{reference:e,floating:h}=a,Z=P3(l),o=Ye(l),r=Xe(o),v=h3(l),t=Z==="y",M=e.x+e.width/2-h.width/2,m=e.y+e.height/2-h.height/2,H=e[r]/2-h[r]/2,i;switch(v){case"top":i={x:M,y:e.y-h.height};break;case"bottom":i={x:M,y:e.y+e.height};break;case"right":i={x:e.x+e.width,y:m};break;case"left":i={x:e.x-h.width,y:m};break;default:i={x:e.x,y:e.y}}switch(r4(l)){case"start":i[o]-=H*(c&&t?-1:1);break;case"end":i[o]+=H*(c&&t?-1:1);break}return i}var nV=async(a,l,c)=>{let{placement:e="bottom",strategy:h="absolute",middleware:Z=[],platform:o}=c,r=Z.filter(Boolean),v=await(o.isRTL==null?void 0:o.isRTL(l)),t=await o.getElementRects({reference:a,floating:l,strategy:h}),{x:M,y:m}=MV(t,e,v),H=e,i={},n=0;for(let A=0;A<r.length;A++){let{name:u,fn:d}=r[A],{x:C,y:L,data:F,reset:R}=await d({x:M,y:m,initialPlacement:e,placement:H,strategy:h,middlewareData:i,rects:t,platform:o,elements:{reference:a,floating:l}});if(M=C!=null?C:M,m=L!=null?L:m,i={...i,[u]:{...i[u],...F}},R&&n<=50){if(n++,typeof R==="object"){if(R.placement)H=R.placement;if(R.rects)t=R.rects===!0?await o.getElementRects({reference:a,floating:l,strategy:h}):R.rects;({x:M,y:m}=MV(t,H,v))}A=-1}}return{x:M,y:m,placement:H,strategy:h,middlewareData:i}};async function t4(a,l){var c;if(l===void 0)l={};let{x:e,y:h,platform:Z,rects:o,elements:r,strategy:v}=a,{boundary:t="clippingAncestors",rootBoundary:M="viewport",elementContext:m="floating",altBoundary:H=!1,padding:i=0}=e3(l,a),n=Ir(i),u=r[H?m==="floating"?"reference":"floating":m],d=v4(await Z.getClippingRect({element:((c=await(Z.isElement==null?void 0:Z.isElement(u)))!=null?c:!0)?u:u.contextElement||await(Z.getDocumentElement==null?void 0:Z.getDocumentElement(r.floating)),boundary:t,rootBoundary:M,strategy:v})),C=m==="floating"?{x:e,y:h,width:o.floating.width,height:o.floating.height}:o.reference,L=await(Z.getOffsetParent==null?void 0:Z.getOffsetParent(r.floating)),F=await(Z.isElement==null?void 0:Z.isElement(L))?await(Z.getScale==null?void 0:Z.getScale(L))||{x:1,y:1}:{x:1,y:1},R=v4(Z.convertOffsetParentRelativeRectToViewportRelativeRect?await Z.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:C,offsetParent:L,strategy:v}):C);return{top:(d.top-R.top+n.top)/F.y,bottom:(R.bottom-d.bottom+n.bottom)/F.y,left:(d.left-R.left+n.left)/F.x,right:(R.right-d.right+n.right)/F.x}}var AV=(a)=>({name:"arrow",options:a,async fn(l){let{x:c,y:e,placement:h,rects:Z,platform:o,elements:r,middlewareData:v}=l,{element:t,padding:M=0}=e3(a,l)||{};if(t==null)return{};let m=Ir(M),H={x:c,y:e},i=Ye(h),n=Xe(i),A=await o.getDimensions(t),u=i==="y",d=u?"top":"left",C=u?"bottom":"right",L=u?"clientHeight":"clientWidth",F=Z.reference[n]+Z.reference[i]-H[i]-Z.floating[n],R=H[i]-Z.reference[i],f=await(o.getOffsetParent==null?void 0:o.getOffsetParent(t)),x=f?f[L]:0;if(!x||!await(o.isElement==null?void 0:o.isElement(f)))x=r.floating[L]||Z.floating[n];let O=F/2-R/2,I=x/2-A[n]/2-1,o1=W3(m[d],I),r1=W3(m[C],I),j=o1,s=x-A[n]-r1,k=x/2-A[n]/2+O,y=Je(j,k,s),Y=!v.arrow&&r4(h)!=null&&k!==y&&Z.reference[n]/2-(k<j?o1:r1)-A[n]/2<0,l1=Y?k<j?k-j:k-s:0;return{[i]:H[i]+l1,data:{[i]:y,centerOffset:k-y-l1,...Y&&{alignmentOffset:l1}},reset:Y}}});var VV=function(a){if(a===void 0)a={};return{name:"flip",options:a,async fn(l){var c,e;let{placement:h,middlewareData:Z,rects:o,initialPlacement:r,platform:v,elements:t}=l,{mainAxis:M=!0,crossAxis:m=!0,fallbackPlacements:H,fallbackStrategy:i="bestFit",fallbackAxisSideDirection:n="none",flipAlignment:A=!0,...u}=e3(a,l);if((c=Z.arrow)!=null&&c.alignmentOffset)return{};let d=h3(h),C=P3(r),L=h3(r)===r,F=await(v.isRTL==null?void 0:v.isRTL(t.floating)),R=H||(L||!A?[Ba(r)]:tV(r)),f=n!=="none";if(!H&&f)R.push(...mV(r,A,n,F));let x=[r,...R],O=await t4(l,u),I=[],o1=((e=Z.flip)==null?void 0:e.overflows)||[];if(M)I.push(O[d]);if(m){let k=vV(h,o,F);I.push(O[k[0]],O[k[1]])}if(o1=[...o1,{placement:h,overflows:I}],!I.every((k)=>k<=0)){var r1,j;let k=(((r1=Z.flip)==null?void 0:r1.index)||0)+1,y=x[k];if(y)return{data:{index:k,overflows:o1},reset:{placement:y}};let Y=(j=o1.filter((l1)=>l1.overflows[0]<=0).sort((l1,H1)=>l1.overflows[1]-H1.overflows[1])[0])==null?void 0:j.placement;if(!Y)switch(i){case"bestFit":{var s;let l1=(s=o1.filter((H1)=>{if(f){let K=P3(H1.placement);return K===C||K==="y"}return!0}).map((H1)=>[H1.placement,H1.overflows.filter((K)=>K>0).reduce((K,A1)=>K+A1,0)]).sort((H1,K)=>H1[1]-K[1])[0])==null?void 0:s[0];if(l1)Y=l1;break}case"initialPlacement":Y=r;break}if(h!==Y)return{reset:{placement:Y}}}return{}}}};function HV(a,l){return{top:a.top-l.height,right:a.right-l.width,bottom:a.bottom-l.height,left:a.left-l.width}}function iV(a){return rV.some((l)=>a[l]>=0)}var uV=function(a){if(a===void 0)a={};return{name:"hide",options:a,async fn(l){let{rects:c}=l,{strategy:e="referenceHidden",...h}=e3(a,l);switch(e){case"referenceHidden":{let Z=await t4(l,{...h,elementContext:"reference"}),o=HV(Z,c.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:iV(o)}}}case"escaped":{let Z=await t4(l,{...h,altBoundary:!0}),o=HV(Z,c.floating);return{data:{escapedOffsets:o,escaped:iV(o)}}}default:return{}}}}};async function Fs(a,l){let{placement:c,platform:e,elements:h}=a,Z=await(e.isRTL==null?void 0:e.isRTL(h.floating)),o=h3(c),r=r4(c),v=P3(c)==="y",t=["left","top"].includes(o)?-1:1,M=Z&&v?-1:1,m=e3(l,a),{mainAxis:H,crossAxis:i,alignmentAxis:n}=typeof m==="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};if(r&&typeof n==="number")i=r==="end"?n*-1:n;return v?{x:i*M,y:H*t}:{x:H*t,y:i*M}}var dV=function(a){if(a===void 0)a=0;return{name:"offset",options:a,async fn(l){var c,e;let{x:h,y:Z,placement:o,middlewareData:r}=l,v=await Fs(l,a);if(o===((c=r.offset)==null?void 0:c.placement)&&(e=r.arrow)!=null&&e.alignmentOffset)return{};return{x:h+v.x,y:Z+v.y,data:{...v,placement:o}}}}},CV=function(a){if(a===void 0)a={};return{name:"shift",options:a,async fn(l){let{x:c,y:e,placement:h}=l,{mainAxis:Z=!0,crossAxis:o=!1,limiter:r={fn:(u)=>{let{x:d,y:C}=u;return{x:d,y:C}}},...v}=e3(a,l),t={x:c,y:e},M=await t4(l,v),m=P3(h3(h)),H=$e(m),i=t[H],n=t[m];if(Z){let u=H==="y"?"top":"left",d=H==="y"?"bottom":"right",C=i+M[u],L=i-M[d];i=Je(C,i,L)}if(o){let u=m==="y"?"top":"left",d=m==="y"?"bottom":"right",C=n+M[u],L=n-M[d];n=Je(C,n,L)}let A=r.fn({...l,[H]:i,[m]:n});return{...A,data:{x:A.x-c,y:A.y-e,enabled:{[H]:Z,[m]:o}}}}}},gV=function(a){if(a===void 0)a={};return{options:a,fn(l){let{x:c,y:e,placement:h,rects:Z,middlewareData:o}=l,{offset:r=0,mainAxis:v=!0,crossAxis:t=!0}=e3(a,l),M={x:c,y:e},m=P3(h),H=$e(m),i=M[H],n=M[m],A=e3(r,l),u=typeof A==="number"?{mainAxis:A,crossAxis:0}:{mainAxis:0,crossAxis:0,...A};if(v){let L=H==="y"?"height":"width",F=Z.reference[H]-Z.floating[L]+u.mainAxis,R=Z.reference[H]+Z.reference[L]-u.mainAxis;if(i<F)i=F;else if(i>R)i=R}if(t){var d,C;let L=H==="y"?"width":"height",F=["top","left"].includes(h3(h)),R=Z.reference[m]-Z.floating[L]+(F?((d=o.offset)==null?void 0:d[m])||0:0)+(F?0:u.crossAxis),f=Z.reference[m]+Z.reference[L]+(F?0:((C=o.offset)==null?void 0:C[m])||0)-(F?u.crossAxis:0);if(n<R)n=R;else if(n>f)n=f}return{[H]:i,[m]:n}}}},pV=function(a){if(a===void 0)a={};return{name:"size",options:a,async fn(l){var c,e;let{placement:h,rects:Z,platform:o,elements:r}=l,{apply:v=()=>{},...t}=e3(a,l),M=await t4(l,t),m=h3(h),H=r4(h),i=P3(h)==="y",{width:n,height:A}=Z.floating,u,d;if(m==="top"||m==="bottom")u=m,d=H===(await(o.isRTL==null?void 0:o.isRTL(r.floating))?"start":"end")?"left":"right";else d=m,u=H==="end"?"top":"bottom";let C=A-M.top-M.bottom,L=n-M.left-M.right,F=W3(A-M[u],C),R=W3(n-M[d],L),f=!l.middlewareData.shift,x=F,O=R;if((c=l.middlewareData.shift)!=null&&c.enabled.x)O=L;if((e=l.middlewareData.shift)!=null&&e.enabled.y)x=C;if(f&&!H){let o1=x5(M.left,0),r1=x5(M.right,0),j=x5(M.top,0),s=x5(M.bottom,0);if(i)O=n-2*(o1!==0||r1!==0?o1+r1:x5(M.left,M.right));else x=A-2*(j!==0||s!==0?j+s:x5(M.top,M.bottom))}await v({...l,availableWidth:O,availableHeight:x});let I=await o.getDimensions(r.floating);if(n!==I.width||A!==I.height)return{reset:{rects:!0}};return{}}}};function je(){return typeof window!=="undefined"}function m4(a){if(FV(a))return(a.nodeName||"").toLowerCase();return"#document"}function s5(a){var l;return(a==null||(l=a.ownerDocument)==null?void 0:l.defaultView)||window}function Z3(a){var l;return(l=(FV(a)?a.ownerDocument:a.document)||window.document)==null?void 0:l.documentElement}function FV(a){if(!je())return!1;return a instanceof Node||a instanceof s5(a).Node}function _5(a){if(!je())return!1;return a instanceof Element||a instanceof s5(a).Element}function g2(a){if(!je())return!1;return a instanceof HTMLElement||a instanceof s5(a).HTMLElement}function LV(a){if(!je()||typeof ShadowRoot==="undefined")return!1;return a instanceof ShadowRoot||a instanceof s5(a).ShadowRoot}function k6(a){let{overflow:l,overflowX:c,overflowY:e,display:h}=a2(a);return/auto|scroll|overlay|hidden|clip/.test(l+e+c)&&!["inline","contents"].includes(h)}function RV(a){return["table","td","th"].includes(m4(a))}function Ta(a){return[":popover-open",":modal"].some((l)=>{try{return a.matches(l)}catch(c){return!1}})}function _e(a){let l=ah(),c=_5(a)?a2(a):a;return["transform","translate","scale","rotate","perspective"].some((e)=>c[e]?c[e]!=="none":!1)||(c.containerType?c.containerType!=="normal":!1)||!l&&(c.backdropFilter?c.backdropFilter!=="none":!1)||!l&&(c.filter?c.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some((e)=>(c.willChange||"").includes(e))||["paint","layout","strict","content"].some((e)=>(c.contain||"").includes(e))}function xV(a){let l=O3(a);while(g2(l)&&!M4(l)){if(_e(l))return l;else if(Ta(l))return null;l=O3(l)}return null}function ah(){if(typeof CSS==="undefined"||!CSS.supports)return!1;return CSS.supports("-webkit-backdrop-filter","none")}function M4(a){return["html","body","#document"].includes(m4(a))}function a2(a){return s5(a).getComputedStyle(a)}function Wa(a){if(_5(a))return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop};return{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function O3(a){if(m4(a)==="html")return a;let l=a.assignedSlot||a.parentNode||LV(a)&&a.host||Z3(a);return LV(l)?l.host:l}function sV(a){let l=O3(a);if(M4(l))return a.ownerDocument?a.ownerDocument.body:a.body;if(g2(l)&&k6(l))return l;return sV(l)}function Ne(a,l,c){var e;if(l===void 0)l=[];if(c===void 0)c=!0;let h=sV(a),Z=h===((e=a.ownerDocument)==null?void 0:e.body),o=s5(h);if(Z){let r=lh(o);return l.concat(o,o.visualViewport||[],k6(h)?h:[],r&&c?Ne(r):[])}return l.concat(h,Ne(h,[],c))}function lh(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function kV(a){let l=a2(a),c=parseFloat(l.width)||0,e=parseFloat(l.height)||0,h=g2(a),Z=h?a.offsetWidth:c,o=h?a.offsetHeight:e,r=ba(c)!==Z||ba(e)!==o;if(r)c=Z,e=o;return{width:c,height:e,$:r}}function SV(a){return!_5(a)?a.contextElement:a}function S6(a){let l=SV(a);if(!g2(l))return C2(1);let c=l.getBoundingClientRect(),{width:e,height:h,$:Z}=kV(l),o=(Z?ba(c.width):c.width)/e,r=(Z?ba(c.height):c.height)/h;if(!o||!Number.isFinite(o))o=1;if(!r||!Number.isFinite(r))r=1;return{x:o,y:r}}var Rs=/*@__PURE__*/C2(0);function fV(a){let l=s5(a);if(!ah()||!l.visualViewport)return Rs;return{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function xs(a,l,c){if(l===void 0)l=!1;if(!c||l&&c!==s5(a))return!1;return l}function Pa(a,l,c,e){if(l===void 0)l=!1;if(c===void 0)c=!1;let h=a.getBoundingClientRect(),Z=SV(a),o=C2(1);if(l)if(e){if(_5(e))o=S6(e)}else o=S6(a);let r=xs(Z,c,e)?fV(Z):C2(0),v=(h.left+r.x)/o.x,t=(h.top+r.y)/o.y,M=h.width/o.x,m=h.height/o.y;if(Z){let H=s5(Z),i=e&&_5(e)?s5(e):e,n=H,A=lh(n);while(A&&e&&i!==n){let u=S6(A),d=A.getBoundingClientRect(),C=a2(A),L=d.left+(A.clientLeft+parseFloat(C.paddingLeft))*u.x,F=d.top+(A.clientTop+parseFloat(C.paddingTop))*u.y;v*=u.x,t*=u.y,M*=u.x,m*=u.y,v+=L,t+=F,n=s5(A),A=lh(n)}}return v4({width:M,height:m,x:v,y:t})}function Er(a,l){let c=Wa(a).scrollLeft;if(!l)return Pa(Z3(a)).left+c;return l.left+c}function BV(a,l,c){if(c===void 0)c=!1;let e=a.getBoundingClientRect(),h=e.left+l.scrollLeft-(c?0:Er(a,e)),Z=e.top+l.scrollTop;return{x:h,y:Z}}function ss(a){let{elements:l,rect:c,offsetParent:e,strategy:h}=a,Z=h==="fixed",o=Z3(e),r=l?Ta(l.floating):!1;if(e===o||r&&Z)return c;let v={scrollLeft:0,scrollTop:0},t=C2(1),M=C2(0),m=g2(e);if(m||!m&&!Z){if(m4(e)!=="body"||k6(o))v=Wa(e);if(g2(e)){let i=Pa(e);t=S6(e),M.x=i.x+e.clientLeft,M.y=i.y+e.clientTop}}let H=o&&!m&&!Z?BV(o,v,!0):C2(0);return{width:c.width*t.x,height:c.height*t.y,x:c.x*t.x-v.scrollLeft*t.x+M.x+H.x,y:c.y*t.y-v.scrollTop*t.y+M.y+H.y}}function Ds(a){return Array.from(a.getClientRects())}function ws(a){let l=Z3(a),c=Wa(a),e=a.ownerDocument.body,h=x5(l.scrollWidth,l.clientWidth,e.scrollWidth,e.clientWidth),Z=x5(l.scrollHeight,l.clientHeight,e.scrollHeight,e.clientHeight),o=-c.scrollLeft+Er(a),r=-c.scrollTop;if(a2(e).direction==="rtl")o+=x5(l.clientWidth,e.clientWidth)-h;return{width:h,height:Z,x:o,y:r}}function ks(a,l){let c=s5(a),e=Z3(a),h=c.visualViewport,Z=e.clientWidth,o=e.clientHeight,r=0,v=0;if(h){Z=h.width,o=h.height;let t=ah();if(!t||t&&l==="fixed")r=h.offsetLeft,v=h.offsetTop}return{width:Z,height:o,x:r,y:v}}function Ss(a,l){let c=Pa(a,!0,l==="fixed"),e=c.top+a.clientTop,h=c.left+a.clientLeft,Z=g2(a)?S6(a):C2(1),o=a.clientWidth*Z.x,r=a.clientHeight*Z.y,v=h*Z.x,t=e*Z.y;return{width:o,height:r,x:v,y:t}}function DV(a,l,c){let e;if(l==="viewport")e=ks(a,c);else if(l==="document")e=ws(Z3(a));else if(_5(l))e=Ss(l,c);else{let h=fV(a);e={x:l.x-h.x,y:l.y-h.y,width:l.width,height:l.height}}return v4(e)}function bV(a,l){let c=O3(a);if(c===l||!_5(c)||M4(c))return!1;return a2(c).position==="fixed"||bV(c,l)}function fs(a,l){let c=l.get(a);if(c)return c;let e=Ne(a,[],!1).filter((r)=>_5(r)&&m4(r)!=="body"),h=null,Z=a2(a).position==="fixed",o=Z?O3(a):a;while(_5(o)&&!M4(o)){let r=a2(o),v=_e(o);if(!v&&r.position==="fixed")h=null;if(Z?!v&&!h:!v&&r.position==="static"&&!!h&&["absolute","fixed"].includes(h.position)||k6(o)&&!v&&bV(a,o))e=e.filter((M)=>M!==o);else h=r;o=O3(o)}return l.set(a,e),e}function Bs(a){let{element:l,boundary:c,rootBoundary:e,strategy:h}=a,o=[...c==="clippingAncestors"?Ta(l)?[]:fs(l,this._c):[].concat(c),e],r=o[0],v=o.reduce((t,M)=>{let m=DV(l,M,h);return t.top=x5(m.top,t.top),t.right=W3(m.right,t.right),t.bottom=W3(m.bottom,t.bottom),t.left=x5(m.left,t.left),t},DV(l,r,h));return{width:v.right-v.left,height:v.bottom-v.top,x:v.left,y:v.top}}function bs(a){let{width:l,height:c}=kV(a);return{width:l,height:c}}function Ts(a,l,c){let e=g2(l),h=Z3(l),Z=c==="fixed",o=Pa(a,!0,Z,l),r={scrollLeft:0,scrollTop:0},v=C2(0);if(e||!e&&!Z){if(m4(l)!=="body"||k6(h))r=Wa(l);if(e){let H=Pa(l,!0,Z,l);v.x=H.x+l.clientLeft,v.y=H.y+l.clientTop}else if(h)v.x=Er(h)}let t=h&&!e&&!Z?BV(h,r):C2(0),M=o.left+r.scrollLeft-v.x-t.x,m=o.top+r.scrollTop-v.y-t.y;return{x:M,y:m,width:o.width,height:o.height}}function Ur(a){return a2(a).position==="static"}function wV(a,l){if(!g2(a)||a2(a).position==="fixed")return null;if(l)return l(a);let c=a.offsetParent;if(Z3(a)===c)c=c.ownerDocument.body;return c}function TV(a,l){let c=s5(a);if(Ta(a))return c;if(!g2(a)){let h=O3(a);while(h&&!M4(h)){if(_5(h)&&!Ur(h))return h;h=O3(h)}return c}let e=wV(a,l);while(e&&RV(e)&&Ur(e))e=wV(e,l);if(e&&M4(e)&&Ur(e)&&!_e(e))return c;return e||xV(a)||c}var Ws=async function(a){let l=this.getOffsetParent||TV,c=this.getDimensions,e=await c(a.floating);return{reference:Ts(a.reference,await l(a.floating),a.strategy),floating:{x:0,y:0,width:e.width,height:e.height}}};function Ps(a){return a2(a).direction==="rtl"}var Os={convertOffsetParentRelativeRectToViewportRelativeRect:ss,getDocumentElement:Z3,getClippingRect:Bs,getOffsetParent:TV,getElementRects:Ws,getClientRects:Ds,getDimensions:bs,getScale:S6,isElement:_5,isRTL:Ps};var WV=t4,PV=dV;var OV=CV,yV=VV,IV=pV,Gr=uV,UV=AV;var qr=gV,EV=(a,l,c)=>{let e=/*@__PURE__*/new Map,h={platform:Os,...c},Z={...h.platform,_c:e};return nV(a,l,{...h,platform:Z})};g();function Oa(a){let l=a.split("-");return{side:l[0],alignment:l[1]}}var GV=(a)=>{if(a.nodeName==="HTML")return a;return a.parentNode||a.host},ys=(a)=>{var l;if(a.nodeType!==1)return{};let c=(l=a.ownerDocument)===null||l===void 0?void 0:l.defaultView;if(c)return c.getComputedStyle(a,null);return{}},H4=(a)=>{let l=a&&GV(a);if(!l)return document.body;switch(l.nodeName){case"HTML":case"BODY":return l.ownerDocument.body;case"#document":return l.body}let{overflow:c,overflowX:e,overflowY:h}=ys(l);if(/(auto|scroll|overlay)/.test(c+h+e))return l;return H4(l)},zr=(a)=>{var l;let c=H4(a);return c?c!==((l=c.ownerDocument)===null||l===void 0?void 0:l.body):!1};function i4(a,l){if(l==="window")return a===null||a===void 0?void 0:a.ownerDocument.documentElement;if(l==="clippingParents")return"clippingAncestors";if(l==="scrollParent"){let c=H4(a);if(c.nodeName==="BODY")c=a===null||a===void 0?void 0:a.ownerDocument.documentElement;return c}return l}g();var qV;(function(a){a[a.FunctionComponent=0]="FunctionComponent",a[a.ClassComponent=1]="ClassComponent",a[a.IndeterminateComponent=2]="IndeterminateComponent",a[a.HostRoot=3]="HostRoot",a[a.HostPortal=4]="HostPortal",a[a.HostComponent=5]="HostComponent",a[a.HostText=6]="HostText",a[a.Fragment=7]="Fragment",a[a.Mode=8]="Mode",a[a.ContextConsumer=9]="ContextConsumer",a[a.ContextProvider=10]="ContextProvider",a[a.ForwardRef=11]="ForwardRef",a[a.Profiler=12]="Profiler",a[a.SuspenseComponent=13]="SuspenseComponent",a[a.MemoComponent=14]="MemoComponent",a[a.SimpleMemoComponent=15]="SimpleMemoComponent",a[a.LazyComponent=16]="LazyComponent",a[a.IncompleteClassComponent=17]="IncompleteClassComponent",a[a.DehydratedFragment=18]="DehydratedFragment",a[a.SuspenseListComponent=19]="SuspenseListComponent",a[a.FundamentalComponent=20]="FundamentalComponent",a[a.ScopeComponent=21]="ScopeComponent"})(qV||(qV={}));function zV(a){if(!a)return null;for(let l in a)if(l.indexOf("__reactInternalInstance$")===0||l.indexOf("__reactFiber$")===0)return a[l];throw new Error("getReactFiber(): Failed to find a React Fiber on a node")}function ch(a,l){if(typeof a==="number")return Kr(a,l);if(typeof a==="object"&&a!==null)return Kr(a,l);if(typeof a==="function")return(c)=>{let e=a(c);return Kr(e,l)};return{mainAxis:l}}var Kr=(a,l)=>{if(typeof a==="number")return{mainAxis:a+l};var c;return{...a,mainAxis:((c=a.mainAxis)!==null&&c!==void 0?c:0)+l}};function ya(a,l){if(typeof a==="number")return a;let{start:c,end:e,...h}=a,Z=h,o=l?"end":"start",r=l?"start":"end";if(a[o])Z.left=a[o];if(a[r])Z.right=a[r];return Z}var Is=(a)=>({above:"top",below:"bottom",before:a?"right":"left",after:a?"left":"right"}),Us=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),Es=(a,l)=>{let c=a==="above"||a==="below",e=l==="top"||l==="bottom";return c&&e||!c&&!e},Ia=(a,l,c)=>{let e=Es(l,a)?"center":a,h=l&&Is(c)[l],Z=e&&Us()[e];if(h&&Z)return`${h}-${Z}`;return h};var Gs=()=>({top:"above",bottom:"below",right:"after",left:"before"}),qs=(a)=>{if(a==="above"||a==="below")return{start:"start",end:"end"};return{start:"top",end:"bottom"}},Ua=(a)=>{let{side:l,alignment:c}=Oa(a),e=Gs()[l],h=c&&qs(e)[c];return{position:e,alignment:h}};var zs={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function f6(a){if(a===void 0||a===null)return{};if(typeof a==="string")return zs[a];return a}g();function Ea(a,l,c){let e=U(!0),[h]=m1(()=>({value:a,callback:l,facade:{get current(){return h.value},set current(Z){let o=h.value;if(o!==Z){if(h.value=Z,c&&e.current)return;h.callback(Z,o)}}}}));return z1(()=>{e.current=!1},[]),h.callback=l,h.facade}function Qr(a){let l;return()=>{if(!l)l=new Promise((c)=>{Promise.resolve().then(()=>{l=void 0,c(a())})});return l}}function Ks(a){if(a.nodeName==="BUTTON"||a.nodeName==="INPUT"||a.nodeName==="SELECT"||a.nodeName==="TEXTAREA"){var c;return!!((c=zV(a))===null||c===void 0?void 0:c.pendingProps.autoFocus)}return!1}function Jr(a){return Ks(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function $r(a){let{arrow:l,middlewareData:c}=a;if(!c.arrow||!l)return;let{x:e,y:h}=c.arrow;Object.assign(l.style,{left:e!==null&&e!==void 0?`${e}px`:"",top:h!==null&&h!==void 0?`${h}px`:""})}function Xr(a){var l,c,e;let{container:h,placement:Z,middlewareData:o,strategy:r,lowPPI:v,coordinates:t,useTransform:M=!0}=a;if(!h)return;if(h.setAttribute(oV,Z),h.removeAttribute(Pr),o.intersectionObserver.intersecting)h.setAttribute(Pr,"");if(h.removeAttribute(Or),(l=o.hide)===null||l===void 0?void 0:l.escaped)h.setAttribute(Or,"");if(h.removeAttribute(yr),(c=o.hide)===null||c===void 0?void 0:c.referenceHidden)h.setAttribute(yr,"");let m=((e=h.ownerDocument.defaultView)===null||e===void 0?void 0:e.devicePixelRatio)||1,H=Math.round(t.x*m)/m,i=Math.round(t.y*m)/m;if(Object.assign(h.style,{position:r}),M){Object.assign(h.style,{transform:v?`translate(${H}px, ${i}px)`:`translate3d(${H}px, ${i}px, 0)`});return}Object.assign(h.style,{left:`${H}px`,top:`${i}px`})}var Yr=(a)=>{switch(a){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function Nr(){return{name:"coverTarget",fn:(a)=>{let{placement:l,rects:c,x:e,y:h}=a,Z=Oa(l).side,o={x:e,y:h};switch(Z){case"bottom":o.y-=c.reference.height;break;case"top":o.y+=c.reference.height;break;case"left":o.x+=c.reference.width;break;case"right":o.x-=c.reference.width;break}return o}}}function jr(a){let{hasScrollableElement:l,flipBoundary:c,container:e,fallbackPositions:h=[],isRtl:Z}=a,o=h.reduce((r,v)=>{let{position:t,align:M}=f6(v),m=Ia(M,t,Z);if(m)r.push(m);return r},[]);return yV({...l&&{boundary:"clippingAncestors"},...c&&{altBoundary:!0,boundary:i4(e,c)},fallbackStrategy:"bestFit",...o.length&&{fallbackPlacements:o}})}function _r(){return{name:"intersectionObserver",fn:async(a)=>{let l=a.rects.floating,c=await WV(a,{altBoundary:!0}),e=c.top<l.height&&c.top>0,h=c.bottom<l.height&&c.bottom>0;return{data:{intersecting:e||h}}}}}var av=(a)=>({name:"resetMaxSize",fn({middlewareData:l,elements:c}){var e;if((e=l.resetMaxSize)===null||e===void 0?void 0:e.maxSizeAlreadyReset)return{};let{applyMaxWidth:h,applyMaxHeight:Z}=a;if(h)c.floating.style.removeProperty("box-sizing"),c.floating.style.removeProperty("max-width"),c.floating.style.removeProperty("width");if(Z)c.floating.style.removeProperty("box-sizing"),c.floating.style.removeProperty("max-height"),c.floating.style.removeProperty("height");return{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function lv(a,l){let{container:c,overflowBoundary:e,overflowBoundaryPadding:h,isRtl:Z}=l;return IV({...h&&{padding:ya(h,Z)},...e&&{altBoundary:!0,boundary:i4(c,e)},apply({availableHeight:o,availableWidth:r,elements:v,rects:t}){let M=(i,n,A)=>{if(!i)return;if(v.floating.style.setProperty("box-sizing","border-box"),v.floating.style.setProperty(`max-${n}`,`${A}px`),t.floating[n]>A){v.floating.style.setProperty(n,`${A}px`);let u=n==="width"?"x":"y";if(!v.floating.style.getPropertyValue(`overflow-${u}`))v.floating.style.setProperty(`overflow-${u}`,"auto")}},{applyMaxWidth:m,applyMaxHeight:H}=a;M(m,"width",r),M(H,"height",o)}})}function KV(a){if(!a)return a;if(typeof a==="number"||typeof a==="object")return a;return({rects:{floating:l,reference:c},placement:e})=>{let{position:h,alignment:Z}=Ua(e);return a({positionedRect:l,targetRect:c,position:h,alignment:Z})}}function cv(a){let l=KV(a);return PV(l)}function ev(a){let{hasScrollableElement:l,shiftToCoverTarget:c,disableTether:e,overflowBoundary:h,container:Z,overflowBoundaryPadding:o,isRtl:r}=a;return OV({...l&&{boundary:"clippingAncestors"},...c&&{crossAxis:!0,limiter:qr({crossAxis:!0,mainAxis:!1})},...e&&{crossAxis:e==="all",limiter:qr({crossAxis:e!=="all",mainAxis:!1})},...o&&{padding:ya(o,r)},...h&&{altBoundary:!0,boundary:i4(Z,h)}})}function hv(){return{name:"matchTargetSize",fn:async(a)=>{let{rects:{reference:l,floating:c},elements:{floating:e},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:h=!1}={}}}=a;if(l.width===c.width||h)return{};let{width:Z}=l;if(e.style.setProperty("--fui-match-target-size",`${Z}px`),!e.style.width)e.style.width="var(--fui-match-target-size)";return{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function B6(a){let l=[],c=a;while(c){let e=H4(c);if(a.ownerDocument.body===e){l.push(e);break}if(e.nodeName==="BODY"&&e!==a.ownerDocument.body){console.error("@fluentui/react-positioning: You are comparing two different documents! This is an unexpected error, please report this as a bug to the Fluent UI team ");break}l.push(e),c=e}return l}function QV(a,l){return new a.ResizeObserver(l)}function JV(a){let l=!1,{container:c,target:e,arrow:h,strategy:Z,middleware:o,placement:r,useTransform:v=!0,disableUpdateOnResize:t=!1}=a,M=c.ownerDocument.defaultView;if(!e||!c||!M)return{updatePosition:()=>{return},dispose:()=>{return}};let m=t?null:QV(M,(d)=>{if(d.every((L)=>{return L.contentRect.width>0&&L.contentRect.height>0}))A()}),H=!0,i=/*@__PURE__*/new Set;Object.assign(c.style,{position:"fixed",left:0,top:0,margin:0});let n=()=>{if(l)return;if(H){if(B6(c).forEach((d)=>i.add(d)),I1(e))B6(e).forEach((d)=>i.add(d));if(i.forEach((d)=>{d.addEventListener("scroll",A,{passive:!0})}),m===null||m===void 0||m.observe(c),I1(e))m===null||m===void 0||m.observe(e);H=!1}Object.assign(c.style,{position:Z}),EV(e,c,{placement:r,middleware:o,strategy:Z}).then(({x:d,y:C,middlewareData:L,placement:F})=>{if(l)return;$r({arrow:h,middlewareData:L}),Xr({container:c,middlewareData:L,placement:F,coordinates:{x:d,y:C},lowPPI:((M===null||M===void 0?void 0:M.devicePixelRatio)||1)<=1,strategy:Z,useTransform:v}),c.dispatchEvent(new CustomEvent(fa))}).catch((d)=>{console.error("[usePositioning]: Failed to calculate position",d)})},A=Qr(()=>n()),u=()=>{if(l=!0,M)M.removeEventListener("scroll",A),M.removeEventListener("resize",A);i.forEach((d)=>{d.removeEventListener("scroll",A)}),i.clear(),m===null||m===void 0||m.disconnect()};if(M)M.addEventListener("scroll",A,{passive:!0}),M.addEventListener("resize",A);return A(),{updatePosition:A,dispose:u}}function $V(a,l){var c,e;let h=a;return Boolean((h==null||(c=h.ownerDocument)==null?void 0:c.defaultView)&&h instanceof h.ownerDocument.defaultView[(e=l==null?void 0:l.constructorName)!=null?e:"HTMLElement"])}var XV=(a)=>Boolean($V(a)&&"__FUIDT_ELEMENT_METADATA__"in a&&a.parentElement!==null),Qs=(a)=>{let l=null,c=new MutationObserver((h)=>{if(!l)return;for(let Z of h)if(Z.type==="childList"&&Array.from(Z.removedNodes).includes(l))e.withdraw()}),e={get selectedElement(){return l},select:(h)=>{if(XV(h))l=h,c.observe(h.parentElement,{childList:!0,subtree:!1});if(l&&h){if(l.__FUIDT_ELEMENT_METADATA__.references.has(h))return l}return e.withdraw(),l},withdraw:()=>{l=null,c.disconnect(),a.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}};return e},Js=(a)=>{let{defaultView:l}=a;if(!l)return;if(!l.__FUIDT_CONTROLLER__)l.__FUIDT_CONTROLLER__=Qs(l)},$s=(a)=>{var l,c;return Js(a),(l=(c=a.defaultView)==null?void 0:c.__FUIDT_CONTROLLER__)!=null?l:null},Xs=(a,l)=>{return JSON.parse(JSON.stringify(a,(e,h)=>{if($V(h))return l.add(h);if(typeof h==="object"&&h&&Object.getPrototypeOf(h)!==Object.prototype&&Object.getPrototypeOf(h)!==Array.prototype){if("toString"in h)return h.toString();return}return h}))},Ys=0,Ns=()=>"__FUIDT_HTML_ELEMENT_REFERENCE__:"+Ys++,js=()=>{let a=/*@__PURE__*/new Map,l=/*@__PURE__*/new WeakMap;return{add:(e)=>{if(l.has(e))return l.get(e);let h=Ns();return a.set(h,e),l.set(e,h),h},get:(e)=>{let h=a.get(e);if(h&&l.has(h))return h},has:(e)=>{return l.has(e)}}},YV=function(a,l){if(a===void 0)a=document;if(l===void 0)l=_s;return{name:"@floating-ui/devtools",fn:(c)=>{let{["__FUIDT_ELEMENT_METADATA__"]:e}=XV(c.elements.floating)?c.elements.floating:Object.assign(c.elements.floating,{["__FUIDT_ELEMENT_METADATA__"]:{references:js(),serializedData:[]}}),h=Xs(l(c),e.references);e.serializedData.unshift(h);let Z=$s(a);if(e.serializedData.length>1&&c.elements.floating===(Z==null?void 0:Z.selectedElement)){var o;(o=a.defaultView)==null||o.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}return{}}}},_s=(a)=>({...a,type:"FloatingUIMiddleware"});var NV=(a)=>(l)=>{let{elements:{floating:c,reference:e}}=l,h=/*@__PURE__*/new Set;if(I1(e))B6(e).forEach((r)=>h.add(r));B6(c).forEach((r)=>h.add(r));let Z=Array.isArray(a.flipBoundary)?a.flipBoundary:I1(a.flipBoundary)?[a.flipBoundary]:[],o=Array.isArray(a.overflowBoundary)?a.overflowBoundary:I1(a.overflowBoundary)?[a.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:l,options:a,initialPlacement:Ua(l.initialPlacement),placement:Ua(l.placement),flipBoundaries:Z,overflowBoundaries:o,scrollParents:Array.from(h)}};function Zv(a){let l=U(null),c=U(null),e=U(null),h=U(null),Z=U(null),{enabled:o=!0}=a,r=aD(a),v=a1(()=>{if(l.current)l.current.dispose();l.current=null;var n;let A=(n=e.current)!==null&&n!==void 0?n:c.current;if(o&&h7()&&A&&h.current)l.current=JV({container:h.current,target:A,arrow:Z.current,...r(h.current,Z.current)})},[o,r]),t=i1((n)=>{e.current=n,v()});A5(a.positioningRef,()=>({updatePosition:()=>{var n;return(n=l.current)===null||n===void 0?void 0:n.updatePosition()},setTarget:(n)=>{if(a.target){let A=new Error;console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(A.stack)}t(n)}}),[a.target,t]),z1(()=>{var n;t((n=a.target)!==null&&n!==void 0?n:null)},[a.target,t]),z1(()=>{v()},[v]),t1(()=>{if(h.current){var n;let A=h.current,u=(n=A.ownerDocument)===null||n===void 0?void 0:n.createTreeWalker(A,NodeFilter.SHOW_ELEMENT,{acceptNode:Jr});while(u.nextNode()){let d=u.currentNode;console.warn("<Popper>:",d),console.warn(['<Popper>: ^ this node contains "autoFocus" prop on a React element. This can break the initial',"positioning of an element and cause a window jump effect. This issue occurs because React polyfills",'"autoFocus" behavior to solve inconsistencies between different browsers:',"https://github.com/facebook/react/issues/11851#issuecomment-351787078",`
|
|
130
|
+
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "));return}let V=A.item(0);var m;let u=((m=V===null||V===void 0?void 0:(e=V.textContent)===null||e===void 0?void 0:e.length)!==null&&m!==void 0?m:0)>0?1:0;if(M.length>u)console.error(["@fluentui/react-provider: There are conflicting ids in your DOM.","Please make sure that you configured your application properly.",`
|
|
131
|
+
`,`
|
|
132
|
+
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "))}},[]),dp(l,o),ip(()=>{let e=l===null||l===void 0?void 0:l.getElementById(o);if(e)Z.current=e;else if(Z.current=np(l,{...v,id:o}),Z.current)up(Z.current,r);return()=>{var m;(m=Z.current)===null||m===void 0||m.remove()}},[o,l,r,v]),{styleTagId:o,rule:r}};function dp(a,l){e1(()=>{if(!a)return;let c=a.getElementById(l);if(c)a.head.append(c)})}var Lp={},gp={},ma=(a,l)=>{let c=g1(),h=Cp(),Z=v6(),o=c1(K3)||Lp,{applyStylesToPortals:v=!0,customStyleHooks_unstable:r,dir:e=c.dir,targetDocument:m=c.targetDocument,theme:t,overrides_unstable:M={}}=a,H=Rr(h,t),A=Rr(Z,M),V=Rr(o,r),i=H2();var u;let{styleTagId:d,rule:L}=ea({theme:H,targetDocument:m,rendererAttributes:(u=i.styleElementAttributes)!==null&&u!==void 0?u:gp});return t1(()=>{if(H===void 0)console.warn(['@fluentui/react-provider: FluentProvider does not have your "theme" defined.',"Make sure that your top-level FluentProvider has set a `theme` prop or you're setting the theme in your child FluentProvider."].join(" "))},[]),{applyStylesToPortals:v,customStyleHooks_unstable:V,dir:e,targetDocument:m,theme:H,overrides_unstable:A,themeClassName:d,components:{root:"div"},root:B.always(_("div",{...a,dir:e,ref:X1(l,B7({targetDocument:m}))}),{elementType:"div"}),serverStyleProps:{cssRule:L,attributes:{...i.styleElementAttributes,id:d}}}};function Rr(a,l){if(a&&l)return{...a,...l};if(a)return a;return l}function Cp(){return c1(o6)}C();function Ma(a){let{applyStylesToPortals:l,customStyleHooks_unstable:c,dir:h,root:Z,targetDocument:o,theme:v,themeClassName:r,overrides_unstable:e}=a,m=x1(()=>({dir:h,targetDocument:o}),[h,o]),[t]=e1(()=>({})),M=x1(()=>({textDirection:h}),[h]);return{customStyleHooks_unstable:c,overrides_unstable:e,provider:m,textDirection:h,iconDirection:M,tooltip:t,theme:v,themeClassName:l?Z.className:r}}var N3=/*@__PURE__*/U((a,l)=>{let c=ma(a,l);ra(c);let h=Ma(c);return Y8(c,h)});N3.displayName="FluentProvider";C();var wh=G4(fi(),1),Rp=(a)=>{let l=(c)=>{let h=q(c.value),Z=q(0),o=q();if(!o.current)o.current={value:h,version:Z,listeners:[]};return K1(()=>{h.current=c.value,Z.current+=1,wh.unstable_runWithPriority(wh.unstable_NormalPriority,()=>{o.current.listeners.forEach((v)=>{v([Z.current,c.value])})})},[c.value]),m1(a,{value:o.current},c.children)};return l.displayName="ContextSelector.Provider",l},_3=(a)=>{let l=o1({value:{current:a},version:{current:-1},listeners:[]});return l.Provider=Rp(l.Provider),delete l.Consumer,l};C();var C6=(a,l)=>{let c=c1(a),{value:{current:h},version:{current:Z},listeners:o}=c,v=l(h),[r,e]=e1([h,v]),m=(M)=>{e((H)=>{if(!M)return[h,v];if(M[0]<=Z){if(Object.is(H[1],v))return H;return[h,v]}try{if(Object.is(H[0],M[1]))return H;let A=l(M[1]);if(Object.is(H[1],A))return H;return[M[1],A]}catch(A){}return[H[0],H[1]]})};if(!Object.is(r[1],v))m(void 0);let t=A1(m);return K1(()=>{return o.push(t),()=>{let M=o.indexOf(t);o.splice(M,1)}},[t,o]),r[1]};C();function xr(a){let l=c1(a);if(l.version)return l.version.current!==-1;return!1}var a4="Enter",e3=" ",pr="Tab",wr="ArrowDown";var Dr="ArrowUp";var sr="Delete";var l4="Escape";C();function u2(a,l){let{disabled:c,disabledFocusable:h=!1,["aria-disabled"]:Z,onClick:o,onKeyDown:v,onKeyUp:r,...e}=l!==null&&l!==void 0?l:{},m=typeof Z==="string"?Z==="true":Z,t=c||h||m,M=A1((V)=>{if(t)V.preventDefault(),V.stopPropagation();else o===null||o===void 0||o(V)}),H=A1((V)=>{if(v===null||v===void 0||v(V),V.isDefaultPrevented())return;let i=V.key;if(t&&(i===a4||i===e3)){V.preventDefault(),V.stopPropagation();return}if(i===e3){V.preventDefault();return}else if(i===a4)V.preventDefault(),V.currentTarget.click()}),A=A1((V)=>{if(r===null||r===void 0||r(V),V.isDefaultPrevented())return;let i=V.key;if(t&&(i===a4||i===e3)){V.preventDefault(),V.stopPropagation();return}if(i===e3)V.preventDefault(),V.currentTarget.click()});if(a==="button"||a===void 0)return{...e,disabled:c&&!h,"aria-disabled":h?!0:m,onClick:h?void 0:M,onKeyUp:h?void 0:r,onKeyDown:h?void 0:v};else{let V=!!e.href,i=V?void 0:"button";if(!i&&t)i="link";let u={role:i,tabIndex:h||!V&&!c?0:void 0,...e,onClick:M,onKeyUp:A,onKeyDown:H,"aria-disabled":t};if(a==="a"&&t)u.href=void 0;return u}}C();var xp=f({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),Ti=(a,l)=>{let{title:c,primaryFill:h="currentColor",...Z}=a,o={...Z,title:void 0,fill:h},v=xp(),r=Nv();if(o.className=k(v.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(r===null||r===void 0?void 0:r.textDirection)==="rtl"&&v.rtl,o.className),c)o["aria-label"]=c;if(!o["aria-label"]&&!o["aria-labelledby"])o["aria-hidden"]=!0;else o.role="img";return o};var D1=(a,l,c,h)=>{let Z=l==="1em"?"20":l,o=U((v,r)=>{let e={...Ti(v,{flipInRtl:h===null||h===void 0?void 0:h.flipInRtl}),ref:r,width:l,height:l,viewBox:`0 0 ${Z} ${Z}`,xmlns:"http://www.w3.org/2000/svg"};return m1("svg",e,...c.map((m)=>m1("path",{d:m,fill:e.fill})))});return o.displayName=a,o};var Wi=/*@__PURE__*/D1("ArrowDownRegular","1em",["M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0l6.32-6.91Z"]);var Dh=/*@__PURE__*/D1("ArrowRightRegular","1em",["M10.84 3.13a.5.5 0 0 0-.68.74l6.17 5.63H2.5a.5.5 0 0 0 0 1h13.83l-6.17 5.63a.5.5 0 0 0 .68.74l6.91-6.32a.75.75 0 0 0 0-1.1l-6.91-6.32Z"]);var F6=/*@__PURE__*/D1("ArrowTurnDownRightRegular","1em",["M11.15 16.85c.2.2.5.2.7 0l4-4a.5.5 0 0 0 0-.7l-4-4a.5.5 0 0 0-.7.7L14.29 12H8a2 2 0 0 1-2-2V3.5a.5.5 0 0 0-1 0V10a3 3 0 0 0 3 3h6.3l-3.15 3.15a.5.5 0 0 0 0 .7Z"]);var bi=/*@__PURE__*/D1("ArrowUpRegular","1em",["M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0L3.13 9.16Z"],{flipInRtl:!0});var sh=/*@__PURE__*/D1("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]);var kh=/*@__PURE__*/D1("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]);var Sh=/*@__PURE__*/D1("DismissCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"]);var Ii=/*@__PURE__*/D1("EditRegular","1em",["M17.18 2.93a2.97 2.97 0 0 0-4.26-.06l-9.37 9.38c-.33.33-.56.74-.66 1.2l-.88 3.94a.5.5 0 0 0 .6.6l3.93-.87c.46-.1.9-.34 1.23-.68l9.36-9.36a2.97 2.97 0 0 0 .05-4.15Zm-3.55.65a1.97 1.97 0 1 1 2.8 2.8l-.68.66-2.8-2.79.68-.67Zm-1.38 1.38 2.8 2.8-7.99 7.97c-.2.2-.46.35-.74.41l-3.16.7.7-3.18c.07-.27.2-.51.4-.7l8-8Z"]);var Ui=/*@__PURE__*/D1("FolderRegular","1em",["M4.5 3A2.5 2.5 0 0 0 2 5.5v9A2.5 2.5 0 0 0 4.5 17h11a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 15.5 5H9.7L8.23 3.51A1.75 1.75 0 0 0 6.98 3H4.5ZM3 5.5C3 4.67 3.67 4 4.5 4h2.48c.2 0 .4.08.53.22L8.8 5.5 7.44 6.85a.5.5 0 0 1-.35.15H3V5.5ZM3 8h4.09c.4 0 .78-.16 1.06-.44L9.7 6h5.79c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-11A1.5 1.5 0 0 1 3 14.5V8Z"]);var Bh=/*@__PURE__*/D1("InfoFilled","1em",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM9.5 8.91a.5.5 0 0 1 1 0V13.6a.5.5 0 0 1-1 0V8.9Zm-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Z"]);var fh=/*@__PURE__*/D1("WarningFilled","1em",["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]);var R6=/*@__PURE__*/D1("Add16Regular","16",["M8 2c.28 0 .5.22.5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5c0-.28.22-.5.5-.5Z"]);var Oi=/*@__PURE__*/D1("AppFolder20Regular","20",["M5 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6Zm3 0H6v2h2V6Zm-3 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-2Zm3 0H6v2h2v-2Zm4-7a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2Zm0 1h2v2h-2V6Zm-1 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-2Zm3 0h-2v2h2v-2ZM5 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H5ZM3 5c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Z"]);var Gi=/*@__PURE__*/D1("ArrowLeft16Regular","16",["M13.5 8.5a.5.5 0 0 0 0-1H3.8l4.03-3.63a.5.5 0 1 0-.66-.74l-5 4.5a.5.5 0 0 0 0 .74l5 4.5a.5.5 0 1 0 .66-.74L3.8 8.5h9.7Z"]);var Pi=/*@__PURE__*/D1("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]);var qi=/*@__PURE__*/D1("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]);var zi=/*@__PURE__*/D1("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]);var Qi=/*@__PURE__*/D1("CheckmarkCircle24Regular","24",["M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm-1.25 9.94 4.47-4.47a.75.75 0 0 1 1.13.98l-.07.08-5 5a.75.75 0 0 1-.98.07l-.08-.07-2.5-2.5a.75.75 0 0 1 .98-1.13l.08.07 1.97 1.97 4.47-4.47-4.47 4.47Z"]);var Ji=/*@__PURE__*/D1("Copy16Regular","16",["M4 4.09v6.41A2.5 2.5 0 0 0 6.34 13h4.57c-.2.58-.76 1-1.41 1H6a3 3 0 0 1-3-3V5.5c0-.65.42-1.2 1-1.41ZM11.5 2c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-5A1.5 1.5 0 0 1 5 10.5v-7C5 2.67 5.67 2 6.5 2h5Zm0 1h-5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5Z"]);var m3=/*@__PURE__*/D1("Delete16Regular","16",["M7 3h2a1 1 0 0 0-2 0ZM6 3a2 2 0 1 1 4 0h4a.5.5 0 0 1 0 1h-.56l-1.2 8.84A2.5 2.5 0 0 1 9.74 15h-3.5a2.5 2.5 0 0 1-2.48-2.16L2.57 4H2a.5.5 0 0 1 0-1h4Zm1 3.5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0v-5ZM9.5 6c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0v-5c0-.28.22-.5.5-.5Zm-4.74 6.7c.1.75.74 1.3 1.49 1.3h3.5a1.5 1.5 0 0 0 1.5-1.3L12.42 4H3.57l1.19 8.7Z"]);var Ki=/*@__PURE__*/D1("Delete20Regular","20",["M8.5 4h3a1.5 1.5 0 0 0-3 0Zm-1 0a2.5 2.5 0 0 1 5 0h5a.5.5 0 0 1 0 1h-1.05l-1.2 10.34A3 3 0 0 1 12.27 18H7.73a3 3 0 0 1-2.98-2.66L3.55 5H2.5a.5.5 0 0 1 0-1h5ZM5.74 15.23A2 2 0 0 0 7.73 17h4.54a2 2 0 0 0 1.99-1.77L15.44 5H4.56l1.18 10.23ZM8.5 7.5c.28 0 .5.22.5.5v6a.5.5 0 0 1-1 0V8c0-.28.22-.5.5-.5ZM12 8a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V8Z"]);var Xi=/*@__PURE__*/D1("Dismiss20Regular","20",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]);var h7=/*@__PURE__*/D1("Dismiss24Regular","24",["m4.4 4.55.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l6.47-6.47a.75.75 0 1 1 1.06 1.06L13.06 12l6.47 6.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-6.47 6.47a.75.75 0 0 1-1.06-1.06L10.94 12 4.47 5.53a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]);var Ei=/*@__PURE__*/D1("DismissCircle24Regular","24",["M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm3.45 4.9.08.07c.27.27.3.68.07.98l-.07.08L13.06 12l2.47 2.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-2.47 2.47a.75.75 0 0 1-.98.07l-.08-.07a.75.75 0 0 1-.07-.98l.07-.08L10.94 12 8.47 9.53a.75.75 0 0 1-.07-.98l.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l2.47-2.47a.75.75 0 0 1 .98-.07Z"]);var $i=/*@__PURE__*/D1("ErrorCircle12Filled","12",["M6 11A5 5 0 1 0 6 1a5 5 0 0 0 0 10Zm-.75-2.75a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Zm.26-4.84a.5.5 0 0 1 .98 0l.01.09v2.59a.5.5 0 0 1-1 0V3.41Z"]);var Th=/*@__PURE__*/D1("Info16Regular","16",["M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3Zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]);var Yi=/*@__PURE__*/D1("Javascript24Regular","24",["M14 11.25c0-.97.78-1.75 1.75-1.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v1.5c0 .14.11.25.25.25h.5c.97 0 1.75.78 1.75 1.75v1.5c0 .97-.78 1.75-1.75 1.75h-1.5a.75.75 0 0 1 0-1.5h1.5c.14 0 .25-.11.25-.25v-1.5a.25.25 0 0 0-.25-.25h-.5c-.97 0-1.75-.78-1.75-1.75v-1.5Zm-1.25-1a.75.75 0 0 0-1.5 0v6c0 .14-.11.25-.25.25H9.75a.75.75 0 0 0 0 1.5H11c.97 0 1.75-.78 1.75-1.75v-6ZM3 6.25v11.5C3 19.55 4.46 21 6.25 21h11.5c1.8 0 3.25-1.46 3.25-3.25V6.25C21 4.45 19.54 3 17.75 3H6.25A3.25 3.25 0 0 0 3 6.25ZM6.25 4.5h11.5c.97 0 1.75.78 1.75 1.75v11.5c0 .97-.78 1.75-1.75 1.75H6.25c-.97 0-1.75-.78-1.75-1.75V6.25c0-.97.78-1.75 1.75-1.75Z"]);var yi=/*@__PURE__*/D1("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]);var Ni=/*@__PURE__*/D1("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]);var ji=/*@__PURE__*/D1("Warning12Filled","12",["M5.21 1.46a.9.9 0 0 1 1.58 0l4.09 7.17a.92.92 0 0 1-.79 1.37H1.91a.92.92 0 0 1-.79-1.37l4.1-7.17ZM5.5 4.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]);var _i=/*@__PURE__*/D1("WebAsset16Regular","16",["M4.5 2A2.5 2.5 0 0 0 2 4.5v7A2.5 2.5 0 0 0 4.5 14h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 11.5 2h-7ZM3 4.5C3 3.67 3.67 3 4.5 3h7c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-7A1.5 1.5 0 0 1 3 11.5v-7ZM5 5a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H5Z"]);var an={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},ln={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},T1={...an,...ln};C();function cn(a){if(a.playState==="running"){var l;if(a.overallProgress!==void 0){var c;let r=(c=a.overallProgress)!==null&&c!==void 0?c:0;return r>0&&r<1}var h;let o=Number((h=a.currentTime)!==null&&h!==void 0?h:0);var Z;let v=Number((Z=(l=a.effect)===null||l===void 0?void 0:l.getTiming().duration)!==null&&Z!==void 0?Z:0);return o>0&&o<v}return!1}var pp={fill:"forwards"},wp={duration:1};function Dp(){var a;let l=typeof window!=="undefined"&&typeof((a=window.Animation)===null||a===void 0?void 0:a.prototype.persist)==="function";return y((c,h,Z)=>{let o=Array.isArray(h)?h:[h],{isReducedMotion:v}=Z,r=o.map((e)=>{let{keyframes:m,reducedMotion:t=wp,...M}=e,{keyframes:H=m,...A}=t,V=v?H:m,i={...pp,...M,...v&&A};try{let d=c.animate(V,i);if(l)d===null||d===void 0||d.persist();else{let L=V[V.length-1];var u;Object.assign((u=c.style)!==null&&u!==void 0?u:{},L)}return d}catch(d){return null}}).filter((e)=>!!e);return{set playbackRate(e){r.forEach((m)=>{m.playbackRate=e})},setMotionEndCallbacks(e,m){let t=r.map((M)=>{return new Promise((H,A)=>{M.onfinish=()=>H(),M.oncancel=()=>A()})});Promise.all(t).then(()=>{e()}).catch(()=>{m()})},isRunning(){return r.some((e)=>cn(e))},cancel:()=>{r.forEach((e)=>{e.cancel()})},pause:()=>{r.forEach((e)=>{e.pause()})},play:()=>{r.forEach((e)=>{e.play()})},finish:()=>{r.forEach((e)=>{e.finish()})},reverse:()=>{r.forEach((e)=>{e.reverse()})}}},[l])}function hn(){return Dp()}C();function Zn(a){let l=q();return g5(a,()=>({setPlayState:(c)=>{if(c==="running"){var h;(h=l.current)===null||h===void 0||h.play()}if(c==="paused"){var Z;(Z=l.current)===null||Z===void 0||Z.pause()}},setPlaybackRate:(c)=>{if(l.current)l.current.playbackRate=c}})),l}C();var sp="screen and (prefers-reduced-motion: reduce)";function on(){let{targetDocument:a}=g1();var l;let c=(l=a===null||a===void 0?void 0:a.defaultView)!==null&&l!==void 0?l:null,h=q(!1),Z=y(()=>h.current,[]);return K1(()=>{if(c===null||typeof c.matchMedia!=="function")return;let o=c.matchMedia(sp);if(o.matches)h.current=!0;let v=(r)=>{h.current=r.matches};return o.addEventListener("change",v),()=>{o.removeEventListener("change",v)}},[c]),Z}C();var kp=Zv.startsWith("19."),vn=["@fluentui/react-motion: Invalid child element.",`
|
|
133
|
+
`,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function Sp(a){if(kp)return a.props.ref;return a.ref}function rn(a,l=!0){let c=q(null);t1(()=>{if(l&&!c.current)console.error(vn)},[l]);try{let h=y7.only(a);if(V5(h))return[q3(h,{ref:X1(c,Sp(h))}),c]}catch{}throw new Error(vn)}C();var en=o1(void 0),nY=en.Provider,mn=()=>{var a;return(a=c1(en))!==null&&a!==void 0?a:"default"};C();C();var kr=o1(void 0),dY=kr.Provider;C();function Mn(a=!1,l=!1){let c=q(l?a:!0),h=e6(),Z=y((o)=>{if(c.current!==o)c.current=o,h()},[h]);return t1(()=>{if(a)c.current=a}),[a||c.current,Z]}var Sr=Symbol("MOTION_DEFINITION"),Bp=Symbol.for("interruptablePresence");function r5(a){return Object.assign((l)=>{let h={...c1(kr),...l},Z=mn()==="skip",{appear:o,children:v,imperativeRef:r,onExit:e,onMotionFinish:m,onMotionStart:t,onMotionCancel:M,visible:H,unmountOnExit:A,...V}=h,i=V,[u,d]=Mn(H,A),[L,g]=rn(v,u),R=Zn(r),x=q({appear:o,params:i,skipMotions:Z}),S=hn(),p=mh(),I=on(),G=A1((Y)=>{t===null||t===void 0||t(null,{direction:Y})}),r1=A1((Y)=>{if(m===null||m===void 0||m(null,{direction:Y}),Y==="exit"&&A)d(!1),e===null||e===void 0||e()}),l1=A1((Y)=>{M===null||M===void 0||M(null,{direction:Y})});if(K1(()=>{x.current={appear:o,params:i,skipMotions:Z}}),K1(()=>{let Y=g.current;if(!Y)return;let w;function s(){if(!w)return;if(E&&w.isRunning())return;w.cancel(),R.current=void 0}let O=typeof a==="function"?a({element:Y,...x.current.params}):a,E=O[Bp];if(E){if(w=R.current,w&&w.isRunning())return w.reverse(),s}let j=H?O.enter:O.exit,H1=H?"enter":"exit",Q=!x.current.appear&&p,i1=x.current.skipMotions;if(!Q)G(H1);if(w=S(Y,j,{isReducedMotion:I()}),Q)return w.finish(),s;if(R.current=w,w.setMotionEndCallbacks(()=>r1(H1),()=>l1(H1)),i1)w.finish();return s},[S,g,R,I,r1,G,l1,H]),u)return L;return null},{[Sr]:typeof a==="function"?a:()=>a})}function fp(a,l){return(h)=>a({...l,...h})}function Wh(a,l){let c=a[Sr],h=fp(c,l);return r5(h)}C();function c4(a,l){let{as:c,children:h,...Z}=a!==null&&a!==void 0?a:{};if(typeof c!=="undefined")throw new Error('@fluentui/react-motion: "as" property is not supported on motion slots.');if(a===null){let v=!l.defaultProps.visible&&l.defaultProps.unmountOnExit,r=(e,m)=>v?null:/*@__PURE__*/m1(V1,null,m.children);return{[p7]:r,[o5]:l.elementType}}let o={...l.defaultProps,...Z,[o5]:l.elementType};if(typeof h==="function")o[p7]=h;return o}var tn=(a,l)=>{let c=a==="horizontal"?"maxWidth":"maxHeight",h=a==="horizontal"?"overflowX":"overflowY",o=`${a==="horizontal"?l.scrollWidth:l.scrollHeight}px`;return{sizeName:c,overflowName:h,toSize:o}},Hn=({orientation:a,duration:l,easing:c,element:h,fromSize:Z="0"})=>{let{sizeName:o,overflowName:v,toSize:r}=tn(a,h);return{keyframes:[{[o]:Z,[v]:"hidden"},{[o]:r,offset:0.9999,[v]:"hidden"},{[o]:"unset",[v]:"unset"}],duration:l,easing:c}},An=({orientation:a,duration:l,easing:c,element:h,delay:Z=0,fromSize:o="0"})=>{let{sizeName:v,overflowName:r,toSize:e}=tn(a,h);return{keyframes:[{[v]:e,[r]:"hidden"},{[v]:o,[r]:"hidden"}],duration:l,easing:c,fill:"both",delay:Z}},Tp=(a)=>{if(a==="horizontal")return{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"};return{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"}},Br=({direction:a,orientation:l,duration:c,easing:h,delay:Z=0})=>{let{paddingStart:o,paddingEnd:v,marginStart:r,marginEnd:e}=Tp(l),m=a==="enter"?0:1,M={keyframes:[{[o]:"0",[v]:"0",[r]:"0",[e]:"0",offset:m}],duration:c,easing:h,delay:Z};if(a==="exit")M.fill="forwards";return M};var x6=({direction:a,duration:l,easing:c=T1.curveLinear,fromValue:h=0})=>{let Z=[{opacity:h},{opacity:1}];if(a==="exit")Z.reverse();return{keyframes:Z,duration:l,easing:c}};var bh=({enterSizeDuration:a=T1.durationNormal,enterOpacityDuration:l=a,enterEasing:c=T1.curveEasyEaseMax,enterDelay:h=0,exitSizeDuration:Z=a,exitOpacityDuration:o=l,exitEasing:v=c,exitDelay:r=0}={})=>({element:e,animateOpacity:m=!0,orientation:t="vertical"})=>{let M=[Hn({orientation:t,duration:a,easing:c,element:e}),Br({direction:"enter",orientation:t,duration:a,easing:c})];if(m)M.push({...x6({direction:"enter",duration:l,easing:c}),delay:h,fill:"both"});let H=[];if(m)H.push(x6({direction:"exit",duration:o,easing:v}));return H.push(An({orientation:t,duration:Z,easing:v,element:e,delay:r}),Br({direction:"exit",orientation:t,duration:Z,easing:v,delay:r})),{enter:M,exit:H}},ta=({enterDuration:a=T1.durationNormal,enterEasing:l=T1.curveEasyEaseMax,exitDuration:c=a,exitEasing:h=l}={})=>bh({enterSizeDuration:a,enterEasing:l,exitSizeDuration:c,exitEasing:h}),Vn=r5(ta()),nn=r5(ta({enterDuration:T1.durationFast})),un=r5(ta({enterDuration:T1.durationSlower})),Ih=r5(bh({enterSizeDuration:T1.durationNormal,enterOpacityDuration:T1.durationSlower,enterDelay:T1.durationNormal,exitDelay:T1.durationSlower,enterEasing:T1.curveEasyEase}));var Wp=({duration:a=T1.durationNormal,easing:l=T1.curveEasyEase,exitDuration:c=a,exitEasing:h=l})=>{return{enter:x6({direction:"enter",duration:a,easing:l}),exit:x6({direction:"exit",duration:c,easing:h})}},Uh=r5(Wp),dn=Wh(Uh,{duration:T1.durationFast}),Oh=Wh(Uh,{duration:T1.durationGentle});C();C();var Ha=(a,l)=>{let{shape:c="circular",size:h="medium",iconPosition:Z="before",appearance:o="filled",color:v="brand"}=a;return{shape:c,size:h,iconPosition:Z,appearance:o,color:v,components:{root:"div",icon:"span"},root:B.always(_("div",{ref:l,...a}),{elementType:"div"}),icon:B.optional(a.icon,{elementType:"span"})}};var Aa={root:"fui-Badge",icon:"fui-Badge__icon"},ry=E1.spacingHorizontalXXS,bp=/*@__PURE__*/$("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),Ip=/*@__PURE__*/f({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),Up=/*@__PURE__*/$("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),Op=/*@__PURE__*/f({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),Va=(a)=>{let l=bp(),c=Ip(),h=a.size==="small"||a.size==="extra-small"||a.size==="tiny";a.root.className=k(Aa.root,l,h&&c.fontSmallToTiny,c[a.size],c[a.shape],a.shape==="rounded"&&h&&c.roundedSmallToTiny,a.appearance==="ghost"&&c.borderGhost,c[a.appearance],c[`${a.appearance}-${a.color}`],a.root.className);let Z=Up(),o=Op();if(a.icon){let v;if(a.root.children)if(a.size==="extra-large")v=a.iconPosition==="after"?o.afterTextXL:o.beforeTextXL;else v=a.iconPosition==="after"?o.afterText:o.beforeText;a.icon.className=k(Aa.icon,Z,v,o[a.size],a.icon.className)}return a};var ia=(a)=>{return P(a),/*@__PURE__*/R1(a.root,{children:[a.iconPosition==="before"&&a.icon&&/*@__PURE__*/D(a.icon,{}),a.root.children,a.iconPosition==="after"&&a.icon&&/*@__PURE__*/D(a.icon,{})]})};var $0=/*@__PURE__*/U((a,l)=>{let c=Ha(a,l);return Va(c),z("useBadgeStyles_unstable")(c),ia(c)});$0.displayName="Badge";C();var Gp=o1(void 0);var Gh=Gp.Provider;C();C();function Ln(a){let{clientX:l,clientY:c}=a,h=l+1,Z=c+1;function o(){return{left:l,top:c,right:h,bottom:Z,x:l,y:c,height:1,width:1}}return{getBoundingClientRect:o}}var fr="data-popper-is-intersecting",Tr="data-popper-escaped",Wr="data-popper-reference-hidden",gn="data-popper-placement",na="fui-positioningend";C();var Pp=({options:a})=>{return a},Cn=o1(void 0),wy=Cn.Provider,Fn=()=>{var a;return(a=c1(Cn))!==null&&a!==void 0?a:Pp};C();var Rn=["top","right","bottom","left"];var{min:W7,max:p5,round:da}=Math;var d2=(a)=>({x:a,y:a}),qp={left:"right",right:"left",bottom:"top",top:"bottom"},zp={start:"end",end:"start"};function qh(a,l,c){return p5(a,W7(l,c))}function Z7(a,l){return typeof a==="function"?a(l):a}function o7(a){return a.split("-")[0]}function h4(a){return a.split("-")[1]}function zh(a){return a==="x"?"y":"x"}function Qh(a){return a==="y"?"height":"width"}function b7(a){return["top","bottom"].includes(o7(a))?"y":"x"}function Jh(a){return zh(b7(a))}function xn(a,l,c){if(c===void 0)c=!1;let h=h4(a),Z=Jh(a),o=Qh(Z),v=Z==="x"?h===(c?"end":"start")?"right":"left":h==="start"?"bottom":"top";if(l.reference[o]>l.floating[o])v=ua(v);return[v,ua(v)]}function pn(a){let l=ua(a);return[Ph(a),l,Ph(l)]}function Ph(a){return a.replace(/start|end/g,(l)=>zp[l])}function Qp(a,l,c){let h=["left","right"],Z=["right","left"],o=["top","bottom"],v=["bottom","top"];switch(a){case"top":case"bottom":if(c)return l?Z:h;return l?h:Z;case"left":case"right":return l?o:v;default:return[]}}function wn(a,l,c,h){let Z=h4(a),o=Qp(o7(a),c==="start",h);if(Z){if(o=o.map((v)=>v+"-"+Z),l)o=o.concat(o.map(Ph))}return o}function ua(a){return a.replace(/left|right|bottom|top/g,(l)=>qp[l])}function Jp(a){return{top:0,right:0,bottom:0,left:0,...a}}function br(a){return typeof a!=="number"?Jp(a):{top:a,right:a,bottom:a,left:a}}function Z4(a){let{x:l,y:c,width:h,height:Z}=a;return{width:h,height:Z,top:c,left:l,right:l+h,bottom:c+Z,x:l,y:c}}function Dn(a,l,c){let{reference:h,floating:Z}=a,o=b7(l),v=Jh(l),r=Qh(v),e=o7(l),m=o==="y",t=h.x+h.width/2-Z.width/2,M=h.y+h.height/2-Z.height/2,H=h[r]/2-Z[r]/2,A;switch(e){case"top":A={x:t,y:h.y-Z.height};break;case"bottom":A={x:t,y:h.y+h.height};break;case"right":A={x:h.x+h.width,y:M};break;case"left":A={x:h.x-Z.width,y:M};break;default:A={x:h.x,y:h.y}}switch(h4(l)){case"start":A[v]-=H*(c&&m?-1:1);break;case"end":A[v]+=H*(c&&m?-1:1);break}return A}var Sn=async(a,l,c)=>{let{placement:h="bottom",strategy:Z="absolute",middleware:o=[],platform:v}=c,r=o.filter(Boolean),e=await(v.isRTL==null?void 0:v.isRTL(l)),m=await v.getElementRects({reference:a,floating:l,strategy:Z}),{x:t,y:M}=Dn(m,h,e),H=h,A={},V=0;for(let i=0;i<r.length;i++){let{name:u,fn:d}=r[i],{x:L,y:g,data:R,reset:x}=await d({x:t,y:M,initialPlacement:h,placement:H,strategy:Z,middlewareData:A,rects:m,platform:v,elements:{reference:a,floating:l}});if(t=L!=null?L:t,M=g!=null?g:M,A={...A,[u]:{...A[u],...R}},x&&V<=50){if(V++,typeof x==="object"){if(x.placement)H=x.placement;if(x.rects)m=x.rects===!0?await v.getElementRects({reference:a,floating:l,strategy:Z}):x.rects;({x:t,y:M}=Dn(m,H,e))}i=-1}}return{x:t,y:M,placement:H,strategy:Z,middlewareData:A}};async function o4(a,l){var c;if(l===void 0)l={};let{x:h,y:Z,platform:o,rects:v,elements:r,strategy:e}=a,{boundary:m="clippingAncestors",rootBoundary:t="viewport",elementContext:M="floating",altBoundary:H=!1,padding:A=0}=Z7(l,a),V=br(A),u=r[H?M==="floating"?"reference":"floating":M],d=Z4(await o.getClippingRect({element:((c=await(o.isElement==null?void 0:o.isElement(u)))!=null?c:!0)?u:u.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(r.floating)),boundary:m,rootBoundary:t,strategy:e})),L=M==="floating"?{x:h,y:Z,width:v.floating.width,height:v.floating.height}:v.reference,g=await(o.getOffsetParent==null?void 0:o.getOffsetParent(r.floating)),R=await(o.isElement==null?void 0:o.isElement(g))?await(o.getScale==null?void 0:o.getScale(g))||{x:1,y:1}:{x:1,y:1},x=Z4(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:L,offsetParent:g,strategy:e}):L);return{top:(d.top-x.top+V.top)/R.y,bottom:(x.bottom-d.bottom+V.bottom)/R.y,left:(d.left-x.left+V.left)/R.x,right:(x.right-d.right+V.right)/R.x}}var Bn=(a)=>({name:"arrow",options:a,async fn(l){let{x:c,y:h,placement:Z,rects:o,platform:v,elements:r,middlewareData:e}=l,{element:m,padding:t=0}=Z7(a,l)||{};if(m==null)return{};let M=br(t),H={x:c,y:h},A=Jh(Z),V=Qh(A),i=await v.getDimensions(m),u=A==="y",d=u?"top":"left",L=u?"bottom":"right",g=u?"clientHeight":"clientWidth",R=o.reference[V]+o.reference[A]-H[A]-o.floating[V],x=H[A]-o.reference[A],S=await(v.getOffsetParent==null?void 0:v.getOffsetParent(m)),p=S?S[g]:0;if(!p||!await(v.isElement==null?void 0:v.isElement(S)))p=r.floating[g]||o.floating[V];let I=R/2-x/2,G=p/2-i[V]/2-1,r1=W7(M[d],G),l1=W7(M[L],G),Y=r1,w=p-i[V]-l1,s=p/2-i[V]/2+I,O=qh(Y,s,w),E=!e.arrow&&h4(Z)!=null&&s!==O&&o.reference[V]/2-(s<Y?r1:l1)-i[V]/2<0,j=E?s<Y?s-Y:s-w:0;return{[A]:H[A]+j,data:{[A]:O,centerOffset:s-O-j,...E&&{alignmentOffset:j}},reset:E}}});var fn=function(a){if(a===void 0)a={};return{name:"flip",options:a,async fn(l){var c,h;let{placement:Z,middlewareData:o,rects:v,initialPlacement:r,platform:e,elements:m}=l,{mainAxis:t=!0,crossAxis:M=!0,fallbackPlacements:H,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:V="none",flipAlignment:i=!0,...u}=Z7(a,l);if((c=o.arrow)!=null&&c.alignmentOffset)return{};let d=o7(Z),L=b7(r),g=o7(r)===r,R=await(e.isRTL==null?void 0:e.isRTL(m.floating)),x=H||(g||!i?[ua(r)]:pn(r)),S=V!=="none";if(!H&&S)x.push(...wn(r,i,V,R));let p=[r,...x],I=await o4(l,u),G=[],r1=((h=o.flip)==null?void 0:h.overflows)||[];if(t)G.push(I[d]);if(M){let s=xn(Z,v,R);G.push(I[s[0]],I[s[1]])}if(r1=[...r1,{placement:Z,overflows:G}],!G.every((s)=>s<=0)){var l1,Y;let s=(((l1=o.flip)==null?void 0:l1.index)||0)+1,O=p[s];if(O)return{data:{index:s,overflows:r1},reset:{placement:O}};let E=(Y=r1.filter((j)=>j.overflows[0]<=0).sort((j,H1)=>j.overflows[1]-H1.overflows[1])[0])==null?void 0:Y.placement;if(!E)switch(A){case"bestFit":{var w;let j=(w=r1.filter((H1)=>{if(S){let Q=b7(H1.placement);return Q===L||Q==="y"}return!0}).map((H1)=>[H1.placement,H1.overflows.filter((Q)=>Q>0).reduce((Q,i1)=>Q+i1,0)]).sort((H1,Q)=>H1[1]-Q[1])[0])==null?void 0:w[0];if(j)E=j;break}case"initialPlacement":E=r;break}if(Z!==E)return{reset:{placement:E}}}return{}}}};function sn(a,l){return{top:a.top-l.height,right:a.right-l.width,bottom:a.bottom-l.height,left:a.left-l.width}}function kn(a){return Rn.some((l)=>a[l]>=0)}var Tn=function(a){if(a===void 0)a={};return{name:"hide",options:a,async fn(l){let{rects:c}=l,{strategy:h="referenceHidden",...Z}=Z7(a,l);switch(h){case"referenceHidden":{let o=await o4(l,{...Z,elementContext:"reference"}),v=sn(o,c.reference);return{data:{referenceHiddenOffsets:v,referenceHidden:kn(v)}}}case"escaped":{let o=await o4(l,{...Z,altBoundary:!0}),v=sn(o,c.floating);return{data:{escapedOffsets:v,escaped:kn(v)}}}default:return{}}}}};async function Kp(a,l){let{placement:c,platform:h,elements:Z}=a,o=await(h.isRTL==null?void 0:h.isRTL(Z.floating)),v=o7(c),r=h4(c),e=b7(c)==="y",m=["left","top"].includes(v)?-1:1,t=o&&e?-1:1,M=Z7(l,a),{mainAxis:H,crossAxis:A,alignmentAxis:V}=typeof M==="number"?{mainAxis:M,crossAxis:0,alignmentAxis:null}:{mainAxis:M.mainAxis||0,crossAxis:M.crossAxis||0,alignmentAxis:M.alignmentAxis};if(r&&typeof V==="number")A=r==="end"?V*-1:V;return e?{x:A*t,y:H*m}:{x:H*m,y:A*t}}var Wn=function(a){if(a===void 0)a=0;return{name:"offset",options:a,async fn(l){var c,h;let{x:Z,y:o,placement:v,middlewareData:r}=l,e=await Kp(l,a);if(v===((c=r.offset)==null?void 0:c.placement)&&(h=r.arrow)!=null&&h.alignmentOffset)return{};return{x:Z+e.x,y:o+e.y,data:{...e,placement:v}}}}},bn=function(a){if(a===void 0)a={};return{name:"shift",options:a,async fn(l){let{x:c,y:h,placement:Z}=l,{mainAxis:o=!0,crossAxis:v=!1,limiter:r={fn:(u)=>{let{x:d,y:L}=u;return{x:d,y:L}}},...e}=Z7(a,l),m={x:c,y:h},t=await o4(l,e),M=b7(o7(Z)),H=zh(M),A=m[H],V=m[M];if(o){let u=H==="y"?"top":"left",d=H==="y"?"bottom":"right",L=A+t[u],g=A-t[d];A=qh(L,A,g)}if(v){let u=M==="y"?"top":"left",d=M==="y"?"bottom":"right",L=V+t[u],g=V-t[d];V=qh(L,V,g)}let i=r.fn({...l,[H]:A,[M]:V});return{...i,data:{x:i.x-c,y:i.y-h,enabled:{[H]:o,[M]:v}}}}}},In=function(a){if(a===void 0)a={};return{options:a,fn(l){let{x:c,y:h,placement:Z,rects:o,middlewareData:v}=l,{offset:r=0,mainAxis:e=!0,crossAxis:m=!0}=Z7(a,l),t={x:c,y:h},M=b7(Z),H=zh(M),A=t[H],V=t[M],i=Z7(r,l),u=typeof i==="number"?{mainAxis:i,crossAxis:0}:{mainAxis:0,crossAxis:0,...i};if(e){let g=H==="y"?"height":"width",R=o.reference[H]-o.floating[g]+u.mainAxis,x=o.reference[H]+o.reference[g]-u.mainAxis;if(A<R)A=R;else if(A>x)A=x}if(m){var d,L;let g=H==="y"?"width":"height",R=["top","left"].includes(o7(Z)),x=o.reference[M]-o.floating[g]+(R?((d=v.offset)==null?void 0:d[M])||0:0)+(R?0:u.crossAxis),S=o.reference[M]+o.reference[g]+(R?0:((L=v.offset)==null?void 0:L[M])||0)-(R?u.crossAxis:0);if(V<x)V=x;else if(V>S)V=S}return{[H]:A,[M]:V}}}},Un=function(a){if(a===void 0)a={};return{name:"size",options:a,async fn(l){var c,h;let{placement:Z,rects:o,platform:v,elements:r}=l,{apply:e=()=>{},...m}=Z7(a,l),t=await o4(l,m),M=o7(Z),H=h4(Z),A=b7(Z)==="y",{width:V,height:i}=o.floating,u,d;if(M==="top"||M==="bottom")u=M,d=H===(await(v.isRTL==null?void 0:v.isRTL(r.floating))?"start":"end")?"left":"right";else d=M,u=H==="end"?"top":"bottom";let L=i-t.top-t.bottom,g=V-t.left-t.right,R=W7(i-t[u],L),x=W7(V-t[d],g),S=!l.middlewareData.shift,p=R,I=x;if((c=l.middlewareData.shift)!=null&&c.enabled.x)I=g;if((h=l.middlewareData.shift)!=null&&h.enabled.y)p=L;if(S&&!H){let r1=p5(t.left,0),l1=p5(t.right,0),Y=p5(t.top,0),w=p5(t.bottom,0);if(A)I=V-2*(r1!==0||l1!==0?r1+l1:p5(t.left,t.right));else p=i-2*(Y!==0||w!==0?Y+w:p5(t.top,t.bottom))}await e({...l,availableWidth:I,availableHeight:p});let G=await v.getDimensions(r.floating);if(V!==G.width||i!==G.height)return{reset:{rects:!0}};return{}}}};function Xh(){return typeof window!=="undefined"}function v4(a){if(Gn(a))return(a.nodeName||"").toLowerCase();return"#document"}function w5(a){var l;return(a==null||(l=a.ownerDocument)==null?void 0:l.defaultView)||window}function v7(a){var l;return(l=(Gn(a)?a.ownerDocument:a.document)||window.document)==null?void 0:l.documentElement}function Gn(a){if(!Xh())return!1;return a instanceof Node||a instanceof w5(a).Node}function N5(a){if(!Xh())return!1;return a instanceof Element||a instanceof w5(a).Element}function L2(a){if(!Xh())return!1;return a instanceof HTMLElement||a instanceof w5(a).HTMLElement}function On(a){if(!Xh()||typeof ShadowRoot==="undefined")return!1;return a instanceof ShadowRoot||a instanceof w5(a).ShadowRoot}function p6(a){let{overflow:l,overflowX:c,overflowY:h,display:Z}=j5(a);return/auto|scroll|overlay|hidden|clip/.test(l+h+c)&&!["inline","contents"].includes(Z)}function Pn(a){return["table","td","th"].includes(v4(a))}function La(a){return[":popover-open",":modal"].some((l)=>{try{return a.matches(l)}catch(c){return!1}})}function Eh(a){let l=$h(),c=N5(a)?j5(a):a;return["transform","translate","scale","rotate","perspective"].some((h)=>c[h]?c[h]!=="none":!1)||(c.containerType?c.containerType!=="normal":!1)||!l&&(c.backdropFilter?c.backdropFilter!=="none":!1)||!l&&(c.filter?c.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some((h)=>(c.willChange||"").includes(h))||["paint","layout","strict","content"].some((h)=>(c.contain||"").includes(h))}function qn(a){let l=I7(a);while(L2(l)&&!r4(l)){if(Eh(l))return l;else if(La(l))return null;l=I7(l)}return null}function $h(){if(typeof CSS==="undefined"||!CSS.supports)return!1;return CSS.supports("-webkit-backdrop-filter","none")}function r4(a){return["html","body","#document"].includes(v4(a))}function j5(a){return w5(a).getComputedStyle(a)}function ga(a){if(N5(a))return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop};return{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function I7(a){if(v4(a)==="html")return a;let l=a.assignedSlot||a.parentNode||On(a)&&a.host||v7(a);return On(l)?l.host:l}function zn(a){let l=I7(a);if(r4(l))return a.ownerDocument?a.ownerDocument.body:a.body;if(L2(l)&&p6(l))return l;return zn(l)}function Kh(a,l,c){var h;if(l===void 0)l=[];if(c===void 0)c=!0;let Z=zn(a),o=Z===((h=a.ownerDocument)==null?void 0:h.body),v=w5(Z);if(o){let r=Yh(v);return l.concat(v,v.visualViewport||[],p6(Z)?Z:[],r&&c?Kh(r):[])}return l.concat(Z,Kh(Z,[],c))}function Yh(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function Kn(a){let l=j5(a),c=parseFloat(l.width)||0,h=parseFloat(l.height)||0,Z=L2(a),o=Z?a.offsetWidth:c,v=Z?a.offsetHeight:h,r=da(c)!==o||da(h)!==v;if(r)c=o,h=v;return{width:c,height:h,$:r}}function Xn(a){return!N5(a)?a.contextElement:a}function w6(a){let l=Xn(a);if(!L2(l))return d2(1);let c=l.getBoundingClientRect(),{width:h,height:Z,$:o}=Kn(l),v=(o?da(c.width):c.width)/h,r=(o?da(c.height):c.height)/Z;if(!v||!Number.isFinite(v))v=1;if(!r||!Number.isFinite(r))r=1;return{x:v,y:r}}var Xp=/*@__PURE__*/d2(0);function En(a){let l=w5(a);if(!$h()||!l.visualViewport)return Xp;return{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function Ep(a,l,c){if(l===void 0)l=!1;if(!c||l&&c!==w5(a))return!1;return l}function Ca(a,l,c,h){if(l===void 0)l=!1;if(c===void 0)c=!1;let Z=a.getBoundingClientRect(),o=Xn(a),v=d2(1);if(l)if(h){if(N5(h))v=w6(h)}else v=w6(a);let r=Ep(o,c,h)?En(o):d2(0),e=(Z.left+r.x)/v.x,m=(Z.top+r.y)/v.y,t=Z.width/v.x,M=Z.height/v.y;if(o){let H=w5(o),A=h&&N5(h)?w5(h):h,V=H,i=Yh(V);while(i&&h&&A!==V){let u=w6(i),d=i.getBoundingClientRect(),L=j5(i),g=d.left+(i.clientLeft+parseFloat(L.paddingLeft))*u.x,R=d.top+(i.clientTop+parseFloat(L.paddingTop))*u.y;e*=u.x,m*=u.y,t*=u.x,M*=u.y,e+=g,m+=R,V=w5(i),i=Yh(V)}}return Z4({width:t,height:M,x:e,y:m})}function Ur(a,l){let c=ga(a).scrollLeft;if(!l)return Ca(v7(a)).left+c;return l.left+c}function $n(a,l,c){if(c===void 0)c=!1;let h=a.getBoundingClientRect(),Z=h.left+l.scrollLeft-(c?0:Ur(a,h)),o=h.top+l.scrollTop;return{x:Z,y:o}}function $p(a){let{elements:l,rect:c,offsetParent:h,strategy:Z}=a,o=Z==="fixed",v=v7(h),r=l?La(l.floating):!1;if(h===v||r&&o)return c;let e={scrollLeft:0,scrollTop:0},m=d2(1),t=d2(0),M=L2(h);if(M||!M&&!o){if(v4(h)!=="body"||p6(v))e=ga(h);if(L2(h)){let A=Ca(h);m=w6(h),t.x=A.x+h.clientLeft,t.y=A.y+h.clientTop}}let H=v&&!M&&!o?$n(v,e,!0):d2(0);return{width:c.width*m.x,height:c.height*m.y,x:c.x*m.x-e.scrollLeft*m.x+t.x+H.x,y:c.y*m.y-e.scrollTop*m.y+t.y+H.y}}function Yp(a){return Array.from(a.getClientRects())}function yp(a){let l=v7(a),c=ga(a),h=a.ownerDocument.body,Z=p5(l.scrollWidth,l.clientWidth,h.scrollWidth,h.clientWidth),o=p5(l.scrollHeight,l.clientHeight,h.scrollHeight,h.clientHeight),v=-c.scrollLeft+Ur(a),r=-c.scrollTop;if(j5(h).direction==="rtl")v+=p5(l.clientWidth,h.clientWidth)-Z;return{width:Z,height:o,x:v,y:r}}function Np(a,l){let c=w5(a),h=v7(a),Z=c.visualViewport,o=h.clientWidth,v=h.clientHeight,r=0,e=0;if(Z){o=Z.width,v=Z.height;let m=$h();if(!m||m&&l==="fixed")r=Z.offsetLeft,e=Z.offsetTop}return{width:o,height:v,x:r,y:e}}function jp(a,l){let c=Ca(a,!0,l==="fixed"),h=c.top+a.clientTop,Z=c.left+a.clientLeft,o=L2(a)?w6(a):d2(1),v=a.clientWidth*o.x,r=a.clientHeight*o.y,e=Z*o.x,m=h*o.y;return{width:v,height:r,x:e,y:m}}function Qn(a,l,c){let h;if(l==="viewport")h=Np(a,c);else if(l==="document")h=yp(v7(a));else if(N5(l))h=jp(l,c);else{let Z=En(a);h={x:l.x-Z.x,y:l.y-Z.y,width:l.width,height:l.height}}return Z4(h)}function Yn(a,l){let c=I7(a);if(c===l||!N5(c)||r4(c))return!1;return j5(c).position==="fixed"||Yn(c,l)}function _p(a,l){let c=l.get(a);if(c)return c;let h=Kh(a,[],!1).filter((r)=>N5(r)&&v4(r)!=="body"),Z=null,o=j5(a).position==="fixed",v=o?I7(a):a;while(N5(v)&&!r4(v)){let r=j5(v),e=Eh(v);if(!e&&r.position==="fixed")Z=null;if(o?!e&&!Z:!e&&r.position==="static"&&!!Z&&["absolute","fixed"].includes(Z.position)||p6(v)&&!e&&Yn(a,v))h=h.filter((t)=>t!==v);else Z=r;v=I7(v)}return l.set(a,h),h}function aw(a){let{element:l,boundary:c,rootBoundary:h,strategy:Z}=a,v=[...c==="clippingAncestors"?La(l)?[]:_p(l,this._c):[].concat(c),h],r=v[0],e=v.reduce((m,t)=>{let M=Qn(l,t,Z);return m.top=p5(M.top,m.top),m.right=W7(M.right,m.right),m.bottom=W7(M.bottom,m.bottom),m.left=p5(M.left,m.left),m},Qn(l,r,Z));return{width:e.right-e.left,height:e.bottom-e.top,x:e.left,y:e.top}}function lw(a){let{width:l,height:c}=Kn(a);return{width:l,height:c}}function cw(a,l,c){let h=L2(l),Z=v7(l),o=c==="fixed",v=Ca(a,!0,o,l),r={scrollLeft:0,scrollTop:0},e=d2(0);if(h||!h&&!o){if(v4(l)!=="body"||p6(Z))r=ga(l);if(h){let H=Ca(l,!0,o,l);e.x=H.x+l.clientLeft,e.y=H.y+l.clientTop}else if(Z)e.x=Ur(Z)}let m=Z&&!h&&!o?$n(Z,r):d2(0),t=v.left+r.scrollLeft-e.x-m.x,M=v.top+r.scrollTop-e.y-m.y;return{x:t,y:M,width:v.width,height:v.height}}function Ir(a){return j5(a).position==="static"}function Jn(a,l){if(!L2(a)||j5(a).position==="fixed")return null;if(l)return l(a);let c=a.offsetParent;if(v7(a)===c)c=c.ownerDocument.body;return c}function yn(a,l){let c=w5(a);if(La(a))return c;if(!L2(a)){let Z=I7(a);while(Z&&!r4(Z)){if(N5(Z)&&!Ir(Z))return Z;Z=I7(Z)}return c}let h=Jn(a,l);while(h&&Pn(h)&&Ir(h))h=Jn(h,l);if(h&&r4(h)&&Ir(h)&&!Eh(h))return c;return h||qn(a)||c}var hw=async function(a){let l=this.getOffsetParent||yn,c=this.getDimensions,h=await c(a.floating);return{reference:cw(a.reference,await l(a.floating),a.strategy),floating:{x:0,y:0,width:h.width,height:h.height}}};function Zw(a){return j5(a).direction==="rtl"}var ow={convertOffsetParentRelativeRectToViewportRelativeRect:$p,getDocumentElement:v7,getClippingRect:aw,getOffsetParent:yn,getElementRects:hw,getClientRects:Yp,getDimensions:lw,getScale:w6,isElement:N5,isRTL:Zw};var Nn=o4,jn=Wn;var _n=bn,au=fn,lu=Un,Or=Tn,cu=Bn;var Gr=In,hu=(a,l,c)=>{let h=/*@__PURE__*/new Map,Z={platform:ow,...c},o={...Z.platform,_c:h};return Sn(a,l,{...Z,platform:o})};function Fa(a){let l=a.split("-");return{side:l[0],alignment:l[1]}}var Zu=(a)=>{if(a.nodeName==="HTML")return a;return a.parentNode||a.host},vw=(a)=>{var l;if(a.nodeType!==1)return{};let c=(l=a.ownerDocument)===null||l===void 0?void 0:l.defaultView;if(c)return c.getComputedStyle(a,null);return{}},e4=(a)=>{let l=a&&Zu(a);if(!l)return document.body;switch(l.nodeName){case"HTML":case"BODY":return l.ownerDocument.body;case"#document":return l.body}let{overflow:c,overflowX:h,overflowY:Z}=vw(l);if(/(auto|scroll|overlay)/.test(c+Z+h))return l;return e4(l)},Pr=(a)=>{var l;let c=e4(a);return c?c!==((l=c.ownerDocument)===null||l===void 0?void 0:l.body):!1};function m4(a,l){if(l==="window")return a===null||a===void 0?void 0:a.ownerDocument.documentElement;if(l==="clippingParents")return"clippingAncestors";if(l==="scrollParent"){let c=e4(a);if(c.nodeName==="BODY")c=a===null||a===void 0?void 0:a.ownerDocument.documentElement;return c}return l}C();var ou;(function(a){a[a.FunctionComponent=0]="FunctionComponent",a[a.ClassComponent=1]="ClassComponent",a[a.IndeterminateComponent=2]="IndeterminateComponent",a[a.HostRoot=3]="HostRoot",a[a.HostPortal=4]="HostPortal",a[a.HostComponent=5]="HostComponent",a[a.HostText=6]="HostText",a[a.Fragment=7]="Fragment",a[a.Mode=8]="Mode",a[a.ContextConsumer=9]="ContextConsumer",a[a.ContextProvider=10]="ContextProvider",a[a.ForwardRef=11]="ForwardRef",a[a.Profiler=12]="Profiler",a[a.SuspenseComponent=13]="SuspenseComponent",a[a.MemoComponent=14]="MemoComponent",a[a.SimpleMemoComponent=15]="SimpleMemoComponent",a[a.LazyComponent=16]="LazyComponent",a[a.IncompleteClassComponent=17]="IncompleteClassComponent",a[a.DehydratedFragment=18]="DehydratedFragment",a[a.SuspenseListComponent=19]="SuspenseListComponent",a[a.FundamentalComponent=20]="FundamentalComponent",a[a.ScopeComponent=21]="ScopeComponent"})(ou||(ou={}));function vu(a){if(!a)return null;for(let l in a)if(l.indexOf("__reactInternalInstance$")===0||l.indexOf("__reactFiber$")===0)return a[l];throw new Error("getReactFiber(): Failed to find a React Fiber on a node")}function yh(a,l){if(typeof a==="number")return qr(a,l);if(typeof a==="object"&&a!==null)return qr(a,l);if(typeof a==="function")return(c)=>{let h=a(c);return qr(h,l)};return{mainAxis:l}}var qr=(a,l)=>{if(typeof a==="number")return{mainAxis:a+l};var c;return{...a,mainAxis:((c=a.mainAxis)!==null&&c!==void 0?c:0)+l}};function Ra(a,l){if(typeof a==="number")return a;let{start:c,end:h,...Z}=a,o=Z,v=l?"end":"start",r=l?"start":"end";if(a[v])o.left=a[v];if(a[r])o.right=a[r];return o}var rw=(a)=>({above:"top",below:"bottom",before:a?"right":"left",after:a?"left":"right"}),ew=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),mw=(a,l)=>{let c=a==="above"||a==="below",h=l==="top"||l==="bottom";return c&&h||!c&&!h},xa=(a,l,c)=>{let h=mw(l,a)?"center":a,Z=l&&rw(c)[l],o=h&&ew()[h];if(Z&&o)return`${Z}-${o}`;return Z};var Mw=()=>({top:"above",bottom:"below",right:"after",left:"before"}),tw=(a)=>{if(a==="above"||a==="below")return{start:"start",end:"end"};return{start:"top",end:"bottom"}},pa=(a)=>{let{side:l,alignment:c}=Fa(a),h=Mw()[l],Z=c&&tw(h)[c];return{position:h,alignment:Z}};var Hw={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function D6(a){if(a===void 0||a===null)return{};if(typeof a==="string")return Hw[a];return a}C();function wa(a,l,c){let h=q(!0),[Z]=e1(()=>({value:a,callback:l,facade:{get current(){return Z.value},set current(o){let v=Z.value;if(v!==o){if(Z.value=o,c&&h.current)return;Z.callback(o,v)}}}}));return K1(()=>{h.current=!1},[]),Z.callback=l,Z.facade}function zr(a){let l;return()=>{if(!l)l=new Promise((c)=>{Promise.resolve().then(()=>{l=void 0,c(a())})});return l}}function Aw(a){if(a.nodeName==="BUTTON"||a.nodeName==="INPUT"||a.nodeName==="SELECT"||a.nodeName==="TEXTAREA"){var c;return!!((c=vu(a))===null||c===void 0?void 0:c.pendingProps.autoFocus)}return!1}function Qr(a){return Aw(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function Jr(a){let{arrow:l,middlewareData:c}=a;if(!c.arrow||!l)return;let{x:h,y:Z}=c.arrow;Object.assign(l.style,{left:h!==null&&h!==void 0?`${h}px`:"",top:Z!==null&&Z!==void 0?`${Z}px`:""})}function Kr(a){var l,c,h;let{container:Z,placement:o,middlewareData:v,strategy:r,lowPPI:e,coordinates:m,useTransform:t=!0}=a;if(!Z)return;if(Z.setAttribute(gn,o),Z.removeAttribute(fr),v.intersectionObserver.intersecting)Z.setAttribute(fr,"");if(Z.removeAttribute(Tr),(l=v.hide)===null||l===void 0?void 0:l.escaped)Z.setAttribute(Tr,"");if(Z.removeAttribute(Wr),(c=v.hide)===null||c===void 0?void 0:c.referenceHidden)Z.setAttribute(Wr,"");let M=((h=Z.ownerDocument.defaultView)===null||h===void 0?void 0:h.devicePixelRatio)||1,H=Math.round(m.x*M)/M,A=Math.round(m.y*M)/M;if(Object.assign(Z.style,{position:r}),t){Object.assign(Z.style,{transform:e?`translate(${H}px, ${A}px)`:`translate3d(${H}px, ${A}px, 0)`});return}Object.assign(Z.style,{left:`${H}px`,top:`${A}px`})}var Xr=(a)=>{switch(a){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function s6(a){let l=[],c=a;while(c){let h=e4(c);if(a.ownerDocument.body===h){l.push(h);break}if(h.nodeName==="BODY"&&h!==a.ownerDocument.body){console.error("@fluentui/react-positioning: You are comparing two different documents! This is an unexpected error, please report this as a bug to the Fluent UI team ");break}l.push(h),c=h}return l}function ru(a,l){return new a.ResizeObserver(l)}function eu(a){let l=!1,{container:c,target:h,arrow:Z,strategy:o,middleware:v,placement:r,useTransform:e=!0,disableUpdateOnResize:m=!1}=a,t=c.ownerDocument.defaultView;if(!h||!c||!t)return{updatePosition:()=>{return},dispose:()=>{return}};let M=m?null:ru(t,(d)=>{if(d.every((g)=>{return g.contentRect.width>0&&g.contentRect.height>0}))i()}),H=!0,A=/*@__PURE__*/new Set;Object.assign(c.style,{position:"fixed",left:0,top:0,margin:0});let V=()=>{if(l)return;if(H){if(s6(c).forEach((d)=>A.add(d)),P1(h))s6(h).forEach((d)=>A.add(d));if(A.forEach((d)=>{d.addEventListener("scroll",i,{passive:!0})}),M===null||M===void 0||M.observe(c),P1(h))M===null||M===void 0||M.observe(h);H=!1}Object.assign(c.style,{position:o}),hu(h,c,{placement:r,middleware:v,strategy:o}).then(({x:d,y:L,middlewareData:g,placement:R})=>{if(l)return;Jr({arrow:Z,middlewareData:g}),Kr({container:c,middlewareData:g,placement:R,coordinates:{x:d,y:L},lowPPI:((t===null||t===void 0?void 0:t.devicePixelRatio)||1)<=1,strategy:o,useTransform:e}),c.dispatchEvent(new CustomEvent(na))}).catch((d)=>{console.error("[usePositioning]: Failed to calculate position",d)})},i=zr(()=>V()),u=()=>{if(l=!0,t)t.removeEventListener("scroll",i),t.removeEventListener("resize",i);A.forEach((d)=>{d.removeEventListener("scroll",i)}),A.clear(),M===null||M===void 0||M.disconnect()};if(t)t.addEventListener("scroll",i,{passive:!0}),t.addEventListener("resize",i);return i(),{updatePosition:i,dispose:u}}function mu(a,l){var c,h;let Z=a;return Boolean((Z==null||(c=Z.ownerDocument)==null?void 0:c.defaultView)&&Z instanceof Z.ownerDocument.defaultView[(h=l==null?void 0:l.constructorName)!=null?h:"HTMLElement"])}var Mu=(a)=>Boolean(mu(a)&&"__FUIDT_ELEMENT_METADATA__"in a&&a.parentElement!==null),Vw=(a)=>{let l=null,c=new MutationObserver((Z)=>{if(!l)return;for(let o of Z)if(o.type==="childList"&&Array.from(o.removedNodes).includes(l))h.withdraw()}),h={get selectedElement(){return l},select:(Z)=>{if(Mu(Z))l=Z,c.observe(Z.parentElement,{childList:!0,subtree:!1});if(l&&Z){if(l.__FUIDT_ELEMENT_METADATA__.references.has(Z))return l}return h.withdraw(),l},withdraw:()=>{l=null,c.disconnect(),a.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}};return h},iw=(a)=>{let{defaultView:l}=a;if(!l)return;if(!l.__FUIDT_CONTROLLER__)l.__FUIDT_CONTROLLER__=Vw(l)},nw=(a)=>{var l,c;return iw(a),(l=(c=a.defaultView)==null?void 0:c.__FUIDT_CONTROLLER__)!=null?l:null},uw=(a,l)=>{return JSON.parse(JSON.stringify(a,(h,Z)=>{if(mu(Z))return l.add(Z);if(typeof Z==="object"&&Z&&Object.getPrototypeOf(Z)!==Object.prototype&&Object.getPrototypeOf(Z)!==Array.prototype){if("toString"in Z)return Z.toString();return}return Z}))},dw=0,Lw=()=>"__FUIDT_HTML_ELEMENT_REFERENCE__:"+dw++,gw=()=>{let a=/*@__PURE__*/new Map,l=/*@__PURE__*/new WeakMap;return{add:(h)=>{if(l.has(h))return l.get(h);let Z=Lw();return a.set(Z,h),l.set(h,Z),Z},get:(h)=>{let Z=a.get(h);if(Z&&l.has(Z))return Z},has:(h)=>{return l.has(h)}}},tu=function(a,l){if(a===void 0)a=document;if(l===void 0)l=Cw;return{name:"@floating-ui/devtools",fn:(c)=>{let{["__FUIDT_ELEMENT_METADATA__"]:h}=Mu(c.elements.floating)?c.elements.floating:Object.assign(c.elements.floating,{["__FUIDT_ELEMENT_METADATA__"]:{references:gw(),serializedData:[]}}),Z=uw(l(c),h.references);h.serializedData.unshift(Z);let o=nw(a);if(h.serializedData.length>1&&c.elements.floating===(o==null?void 0:o.selectedElement)){var v;(v=a.defaultView)==null||v.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}return{}}}},Cw=(a)=>({...a,type:"FloatingUIMiddleware"});C();function Er(){return{name:"coverTarget",fn:(a)=>{let{placement:l,rects:c,x:h,y:Z}=a,o=Fa(l).side,v={x:h,y:Z};switch(o){case"bottom":v.y-=c.reference.height;break;case"top":v.y+=c.reference.height;break;case"left":v.x+=c.reference.width;break;case"right":v.x-=c.reference.width;break}return v}}}function $r(a){let{hasScrollableElement:l,flipBoundary:c,container:h,fallbackPositions:Z=[],isRtl:o}=a,v=Z.reduce((r,e)=>{let{position:m,align:t}=D6(e),M=xa(t,m,o);if(M)r.push(M);return r},[]);return au({...l&&{boundary:"clippingAncestors"},...c&&{altBoundary:!0,boundary:m4(h,c)},fallbackStrategy:"bestFit",...v.length&&{fallbackPlacements:v}})}function Yr(){return{name:"intersectionObserver",fn:async(a)=>{let l=a.rects.floating,c=await Nn(a,{altBoundary:!0}),h=c.top<l.height&&c.top>0,Z=c.bottom<l.height&&c.bottom>0;return{data:{intersecting:h||Z}}}}}var yr=(a)=>({name:"resetMaxSize",fn({middlewareData:l,elements:c}){var h;if((h=l.resetMaxSize)===null||h===void 0?void 0:h.maxSizeAlreadyReset)return{};let{applyMaxWidth:Z,applyMaxHeight:o}=a;if(Z)c.floating.style.removeProperty("box-sizing"),c.floating.style.removeProperty("max-width"),c.floating.style.removeProperty("width");if(o)c.floating.style.removeProperty("box-sizing"),c.floating.style.removeProperty("max-height"),c.floating.style.removeProperty("height");return{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function Nr(a,l){let{container:c,overflowBoundary:h,overflowBoundaryPadding:Z,isRtl:o}=l;return lu({...Z&&{padding:Ra(Z,o)},...h&&{altBoundary:!0,boundary:m4(c,h)},apply({availableHeight:v,availableWidth:r,elements:e,rects:m}){let t=(A,V,i)=>{if(!A)return;if(e.floating.style.setProperty("box-sizing","border-box"),e.floating.style.setProperty(`max-${V}`,`${i}px`),m.floating[V]>i){e.floating.style.setProperty(V,`${i}px`);let u=V==="width"?"x":"y";if(!e.floating.style.getPropertyValue(`overflow-${u}`))e.floating.style.setProperty(`overflow-${u}`,"auto")}},{applyMaxWidth:M,applyMaxHeight:H}=a;t(M,"width",r),t(H,"height",v)}})}function Hu(a){if(!a)return a;if(typeof a==="number"||typeof a==="object")return a;return({rects:{floating:l,reference:c},placement:h})=>{let{position:Z,alignment:o}=pa(h);return a({positionedRect:l,targetRect:c,position:Z,alignment:o})}}function jr(a){let l=Hu(a);return jn(l)}function _r(a){let{hasScrollableElement:l,shiftToCoverTarget:c,disableTether:h,overflowBoundary:Z,container:o,overflowBoundaryPadding:v,isRtl:r}=a;return _n({...l&&{boundary:"clippingAncestors"},...c&&{crossAxis:!0,limiter:Gr({crossAxis:!0,mainAxis:!1})},...h&&{crossAxis:h==="all",limiter:Gr({crossAxis:h!=="all",mainAxis:!1})},...v&&{padding:Ra(v,r)},...Z&&{altBoundary:!0,boundary:m4(o,Z)}})}function ae(){return{name:"matchTargetSize",fn:async(a)=>{let{rects:{reference:l,floating:c},elements:{floating:h},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:Z=!1}={}}}=a;if(l.width===c.width||Z)return{};let{width:o}=l;if(h.style.setProperty("--fui-match-target-size",`${o}px`),!h.style.width)h.style.width="var(--fui-match-target-size)";return{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}var Au=(a)=>(l)=>{let{elements:{floating:c,reference:h}}=l,Z=/*@__PURE__*/new Set;if(P1(h))s6(h).forEach((r)=>Z.add(r));s6(c).forEach((r)=>Z.add(r));let o=Array.isArray(a.flipBoundary)?a.flipBoundary:P1(a.flipBoundary)?[a.flipBoundary]:[],v=Array.isArray(a.overflowBoundary)?a.overflowBoundary:P1(a.overflowBoundary)?[a.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:l,options:a,initialPlacement:pa(l.initialPlacement),placement:pa(l.placement),flipBoundaries:o,overflowBoundaries:v,scrollParents:Array.from(Z)}};function Fw(a,l){let{align:c,arrowPadding:h,autoSize:Z,coverTarget:o,disableUpdateOnResize:v,flipBoundary:r,offset:e,overflowBoundary:m,pinned:t,position:M,unstable_disableTether:H,strategy:A,overflowBoundaryPadding:V,fallbackPositions:i,useTransform:u,matchTargetSize:d,shiftToCoverTarget:L}=l;return y((g,R)=>{return a({container:g,arrow:R,options:{autoSize:Z,disableUpdateOnResize:v,matchTargetSize:d,offset:e,strategy:A,coverTarget:o,flipBoundary:r,overflowBoundary:m,useTransform:u,overflowBoundaryPadding:V,pinned:t,arrowPadding:h,align:c,fallbackPositions:i,shiftToCoverTarget:L,position:M,unstable_disableTether:H}})},[Z,v,d,e,A,o,r,m,u,V,t,h,c,i,L,M,H,a])}function Vu(a){let{dir:l,targetDocument:c}=g1(),h=l==="rtl",Z=Fw(Fn(),a),{positionFixed:o}=a;return y((v,r)=>{let e=Pr(v),m=Z(v,r),{autoSize:t,disableUpdateOnResize:M,matchTargetSize:H,offset:A,coverTarget:V,flipBoundary:i,overflowBoundary:u,useTransform:d,overflowBoundaryPadding:L,pinned:g,position:R,arrowPadding:x,strategy:S,align:p,fallbackPositions:I,shiftToCoverTarget:G,unstable_disableTether:r1}=m,l1=Xr(t),Y=[l1&&yr(l1),H&&ae(),A&&jr(A),V&&Er(),!g&&$r({container:v,flipBoundary:i,hasScrollableElement:e,isRtl:h,fallbackPositions:I}),_r({container:v,hasScrollableElement:e,overflowBoundary:u,disableTether:r1,overflowBoundaryPadding:L,isRtl:h,shiftToCoverTarget:G}),l1&&Nr(l1,{container:v,overflowBoundary:u,overflowBoundaryPadding:L,isRtl:h}),Yr(),r&&cu({element:r,padding:x}),Or({strategy:"referenceHidden"}),Or({strategy:"escaped"}),c&&tu(c,Au(m))].filter(Boolean);return{placement:xa(p,R,h),middleware:Y,strategy:(S!==null&&S!==void 0?S:o)?"fixed":"absolute",disableUpdateOnResize:M,useTransform:d}},[Z,h,c,o])}function le(a){let l=q(null),c=q(null),h=q(null),Z=q(null),o=q(null),{enabled:v=!0}=a,r=Vu(a),e=y(()=>{if(l.current)l.current.dispose();l.current=null;var V;let i=(V=h.current)!==null&&V!==void 0?V:c.current;if(v&&h3()&&i&&Z.current)l.current=eu({container:Z.current,target:i,arrow:o.current,...r(Z.current,o.current)})},[v,r]),m=A1((V)=>{h.current=V,e()});g5(a.positioningRef,()=>({updatePosition:()=>{var V;return(V=l.current)===null||V===void 0?void 0:V.updatePosition()},setTarget:(V)=>{if(a.target){let i=new Error;console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(i.stack)}m(V)}}),[a.target,m]),K1(()=>{var V;m((V=a.target)!==null&&V!==void 0?V:null)},[a.target,m]),K1(()=>{e()},[e]),t1(()=>{if(Z.current){var V;let i=Z.current,u=(V=i.ownerDocument)===null||V===void 0?void 0:V.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,{acceptNode:Qr});while(u.nextNode()){let d=u.currentNode;console.warn("usePositioning():",d),console.warn(['usePositioning(): ^ this node contains "autoFocus" prop on a React element. This can break the initial',"positioning of an element and cause a window jump effect. This issue occurs because React polyfills",'"autoFocus" behavior to solve inconsistencies between different browsers:',"https://github.com/facebook/react/issues/11851#issuecomment-351787078",`
|
|
132
134
|
`,'However, ".focus()" in this case occurs before any other React effects will be executed',"(React.useEffect(), componentDidMount(), etc.) and we can not prevent this behavior. If you really",'want to use "autoFocus" please add "position: fixed" to styles of the element that is wrapped by','"Popper".',`In general, it's not recommended to use "autoFocus" as it may break accessibility aspects:`,"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-autofocus.md",`
|
|
133
|
-
`,'We suggest to use the "trapFocus" prop on Fluent components or a catch "ref" and then use','"ref.current.focus" in React.useEffect():',"https://reactjs.org/docs/refs-and-the-dom.html#adding-a-ref-to-a-dom-element"].join(" "))}}},[]);let M=Ea(null,(n)=>{if(c.current!==n)c.current=n,v()}),m=i1(()=>{var n;return(n=a.onPositioningEnd)===null||n===void 0?void 0:n.call(a)}),H=Ea(null,(n)=>{if(h.current!==n){var A;(A=h.current)===null||A===void 0||A.removeEventListener(fa,m),n===null||n===void 0||n.addEventListener(fa,m),h.current=n,v()}}),i=Ea(null,(n)=>{if(Z.current!==n)Z.current=n,v()});return{targetRef:M,containerRef:H,arrowRef:i}}function aD(a){let{align:l,arrowPadding:c,autoSize:e,coverTarget:h,flipBoundary:Z,offset:o,overflowBoundary:r,pinned:v,position:t,unstable_disableTether:M,positionFixed:m,strategy:H,overflowBoundaryPadding:i,fallbackPositions:n,useTransform:A,matchTargetSize:u,disableUpdateOnResize:d=!1,shiftToCoverTarget:C}=a,{dir:L,targetDocument:F}=p1(),R=L==="rtl",f=(H!==null&&H!==void 0?H:m)?"fixed":"absolute",x=Yr(e);return a1((O,I)=>{let o1=zr(O),r1=[x&&av(x),u&&hv(),o&&cv(o),h&&Nr(),!v&&jr({container:O,flipBoundary:Z,hasScrollableElement:o1,isRtl:R,fallbackPositions:n}),ev({container:O,hasScrollableElement:o1,overflowBoundary:r,disableTether:M,overflowBoundaryPadding:i,isRtl:R,shiftToCoverTarget:C}),x&&lv(x,{container:O,overflowBoundary:r,overflowBoundaryPadding:i,isRtl:R}),_r(),I&&UV({element:I,padding:c}),Gr({strategy:"referenceHidden"}),Gr({strategy:"escaped"}),F&&YV(F,NV(a))].filter(Boolean);return{placement:Ia(l,t,R),middleware:r1,strategy:f,useTransform:A,disableUpdateOnResize:d}},[l,c,x,h,M,Z,R,o,r,v,t,f,i,n,A,u,F,d])}g();var ov=(a)=>{let[l,c]=m1(a);return[l,(h)=>{if(h===void 0||h===null){c(void 0);return}let Z;if(!(h instanceof MouseEvent))Z=h.nativeEvent;else Z=h;if(!(Z instanceof MouseEvent))console.error("usePositioningMouseTarget should only be used with MouseEvent");let o=ZV(Z);c(o)}]};g();g();var eh=e4(void 0),lD={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1},cD=eh.Provider,x0=(a)=>D6(eh,(l=lD)=>a(l));var Ga=(a,l)=>{let c=x0((C)=>C.contentRef),e=x0((C)=>C.openOnHover),h=x0((C)=>C.setOpen),Z=x0((C)=>C.mountNode),o=x0((C)=>C.arrowRef),r=x0((C)=>C.size),v=x0((C)=>C.withArrow),t=x0((C)=>C.appearance),M=x0((C)=>C.trapFocus),m=x0((C)=>C.inertTrapFocus),H=x0((C)=>C.inline),{modalAttributes:i}=V2({trapFocus:M,legacyTrapFocus:!m,alwaysFocusable:!M}),n={inline:H,appearance:t,withArrow:v,size:r,arrowRef:o,mountNode:Z,components:{root:"div"},root:B.always(c1("div",{ref:K1(l,c),role:M?"dialog":"group","aria-modal":M?!0:void 0,...i,...a}),{elementType:"div"})},{onMouseEnter:A,onMouseLeave:u,onKeyDown:d}=n.root;return n.root.onMouseEnter=(C)=>{if(e)h(C,!0);A===null||A===void 0||A(C)},n.root.onMouseLeave=(C)=>{if(e)h(C,!1);u===null||u===void 0||u(C)},n.root.onKeyDown=(C)=>{var L;if(C.key==="Escape"&&((L=c.current)===null||L===void 0?void 0:L.contains(C.target)))C.preventDefault(),h(C,!1);d===null||d===void 0||d(C)},n};g();g();function qa(a){if(I1(a))return{element:a};if(typeof a==="object"){if(a===null)return{element:null};return a}return{}}g();var n4={};yc(n4,{version:()=>K7,useTransition:()=>Qc,useSyncExternalStore:()=>qc,useState:()=>m1,useRef:()=>U,useReducer:()=>K5,useMemo:()=>C1,useLayoutEffect:()=>H2,useInsertionEffect:()=>Q5,useImperativeHandle:()=>A5,useId:()=>q7,useErrorBoundary:()=>Gc,useEffect:()=>t1,useDeferredValue:()=>Kc,useDebugValue:()=>f8,useContext:()=>E,useCallback:()=>a1,unstable_batchedUpdates:()=>to,unmountComponentAtNode:()=>O8,startTransition:()=>zc,render:()=>W8,memo:()=>b8,lazy:()=>eo,isValidElement:()=>o5,isMemo:()=>ro,isFragment:()=>oo,isElement:()=>Ho,hydrate:()=>Jc,forwardRef:()=>T,flushSync:()=>mo,findDOMNode:()=>vo,default:()=>y8,createRef:()=>Z5,createPortal:()=>T8,createFactory:()=>Zo,createElement:()=>q,createContext:()=>J,cloneElement:()=>N3,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>P8,SuspenseList:()=>z7,Suspense:()=>Y4,StrictMode:()=>Mo,PureComponent:()=>B8,Fragment:()=>n1,Component:()=>h5,Children:()=>g3});g();g();var rv=()=>{try{return n4["".concat("__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE")].A.getOwner()}catch{}try{return n4["".concat("__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED")].ReactCurrentOwner.current}catch{console.error("use-disposable: failed to get current fiber, please report this bug to maintainers")}},jV=/*@__PURE__*/Symbol.for("react.strict_mode"),eD=()=>{let a=U(void 0),l=C1(()=>{return Number(K7.split(".")[0])},[K7]);if(isNaN(l)||l<18)return!1;if(a.current===void 0){let c=rv();while(c&&c.return)if(c=c.return,c.type===jV||c.elementType===jV)a.current=!0}return!!a.current},_V=/*@__PURE__*/new WeakSet;function hD(a,l){let c=rv();t1(()=>{if(!_V.has(c)){_V.add(c),a();return}return a()},l)}var au=/*@__PURE__*/new WeakSet;function ZD(a,l){return C1(()=>{let c=rv();if(!au.has(c))return au.add(c),null;return a()},l)}function lu(a,l){var c;let e=eD()&&!0,h=e?ZD:C1,Z=e?hD:t1,[o,r]=(c=h(()=>a(),l))!=null?c:[null,()=>null];return Z(()=>{return r},l),o}var cu=/*@__PURE__*/S({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]});var eu=Q5,hu=(a)=>{let{targetDocument:l,dir:c}=p1(),e=Yo(),h=B3(),Z=cu(),o=la(),r=D(o,Z.root,a.className),v=e!==null&&e!==void 0?e:l===null||l===void 0?void 0:l.body,t=lu(()=>{if(v===void 0||a.disabled)return[null,()=>null];let M=v.ownerDocument.createElement("div");return v.appendChild(M),[M,()=>M.remove()]},[v]);if(eu)eu(()=>{if(!t)return;let M=r.split(" ").filter(Boolean);return t.classList.add(...M),t.setAttribute("dir",c),t.setAttribute("data-portal-node","true"),h.current=t,()=>{t.classList.remove(...M),t.removeAttribute("dir")}},[r,c,t,h]);else C1(()=>{if(!t)return;t.className=r,t.setAttribute("dir",c),t.setAttribute("data-portal-node","true"),h.current=t},[r,c,t,h]);return t};var vv=(a)=>{let{element:l,className:c}=qa(a.mountNode),e=U(null),h=hu({disabled:!!l,className:c}),Z=l!==null&&l!==void 0?l:h,o={children:a.children,mountNode:Z,virtualParentRootRef:e};return t1(()=>{if(!Z)return;let r=e.current,v=Z.contains(r);if(r&&!v)return va(Z,r),()=>{va(Z,void 0)}},[e,Z]),o};g();g();var tv=(a)=>{return/*@__PURE__*/q("span",{hidden:!0,ref:a.virtualParentRootRef},a.mountNode&&/*@__PURE__*/T8(a.children,a.mountNode))};var y3=(a)=>{let l=vv(a);return tv(l)};y3.displayName="Portal";var za=(a)=>{G(a);let l=/*@__PURE__*/R1(a.root,{children:[a.withArrow&&/*@__PURE__*/w("div",{ref:a.arrowRef,className:a.arrowClassName}),a.root.children]});if(a.inline)return l;return/*@__PURE__*/w(y3,{mountNode:a.mountNode,children:l})};var Ka={root:"fui-PopoverSurface"},b6={small:6,medium:8,large:8},oD=/*@__PURE__*/S({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"f1noc5he",z0t1cu:"fi19xcv",Bks05zx:"f1mxk9aa",Bvtglag:"ffzg62k",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".f1noc5he{animation-name:f1m0q9mo,f79suad;}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}'],k:["@keyframes f1m0q9mo{from{opacity:-1;}to{opacity:0;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mxk9aa[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.ffzg62k[data-popper-placement]{animation-name:f1m0q9mo;}}"]}),T6=(a)=>{let l=oD();return a.root.className=D(Ka.root,l.root,a.inline&&l.inline,a.size==="small"&&l.smallPadding,a.size==="medium"&&l.mediumPadding,a.size==="large"&&l.largePadding,a.appearance==="inverted"&&l.inverted,a.appearance==="brand"&&l.brand,a.root.className),a.arrowClassName=D(l.arrow,a.size==="small"?l.smallArrow:l.mediumLargeArrow),a};var p2=/*@__PURE__*/T((a,l)=>{let c=Ga(a,l);return T6(c),z("usePopoverSurfaceStyles_unstable")(c),za(c)});p2.displayName="PopoverSurface";var Zu=4;var Qa=(a)=>{let[l,c]=ov(),e={size:"medium",contextTarget:l,setContextTarget:c,...a},h=g3.toArray(a.children);if(h.length===0)console.warn("Popover must contain at least one child");if(h.length>2)console.warn("Popover must contain at most two children");let Z=void 0,o=void 0;if(h.length===2)Z=h[0],o=h[1];else if(h.length===1)o=h[0];let[r,v]=rD(e),[t,M]=N2(),m=i1((R,f)=>{if(M(),!(R instanceof Event)&&R.persist)R.persist();if(R.type==="mouseleave"){var x;t(()=>{v(R,f)},(x=a.mouseLeaveDelay)!==null&&x!==void 0?x:500)}else v(R,f)}),H=a1((R)=>{m(R,!r)},[m,r]),i=vD(e),{targetDocument:n}=p1();var A;xe({contains:ra,element:n,callback:(R)=>m(R,!1),refs:[i.triggerRef,i.contentRef],disabled:!r,disabledFocusOnIframe:!((A=a.closeOnIframeFocus)!==null&&A!==void 0?A:!0)});let u=e.openOnContext||e.closeOnScroll;se({contains:ra,element:n,callback:(R)=>m(R,!1),refs:[i.triggerRef,i.contentRef],disabled:!r||!u});let{findFirstFocusable:d}=f3(),C=Te();t1(()=>{if(a.unstable_disableAutoFocus)return;let R=i.contentRef.current;if(r&&R){var f;let x=!isNaN((f=R.getAttribute("tabIndex"))!==null&&f!==void 0?f:void 0),O=x?R:d(R);if(O===null||O===void 0||O.focus(),x)C(R)}},[d,C,r,i.contentRef,a.unstable_disableAutoFocus]);var L,F;return{...e,...i,inertTrapFocus:(L=a.inertTrapFocus)!==null&&L!==void 0?L:a.legacyTrapFocus===void 0?!1:!a.legacyTrapFocus,popoverTrigger:Z,popoverSurface:o,open:r,setOpen:m,toggleOpen:H,setContextTarget:c,contextTarget:l,inline:(F=a.inline)!==null&&F!==void 0?F:!1}};function rD(a){let l=i1((o,r)=>{var v;return(v=a.onOpenChange)===null||v===void 0?void 0:v.call(a,o,r)}),[c,e]=Y5({state:a.open,defaultState:a.defaultOpen,initialState:!1});a.open=c!==void 0?c:a.open;let h=a.setContextTarget,Z=a1((o,r)=>{if(r&&o.type==="contextmenu")h(o);if(!r)h(void 0);e(r),l===null||l===void 0||l(o,{open:r})},[e,l,h]);return[c,Z]}function vD(a){let l={position:"above",align:"center",arrowPadding:2*Zu,target:a.openOnContext?a.contextTarget:void 0,...f6(a.positioning)};if(l.coverTarget)a.withArrow=!1;if(a.withArrow)l.offset=ch(l.offset,b6[a.size]);let{targetRef:c,containerRef:e,arrowRef:h}=Zv(l);return{triggerRef:c,contentRef:e,arrowRef:h}}g();var Ja=(a)=>{let{appearance:l,arrowRef:c,contentRef:e,inline:h,mountNode:Z,open:o,openOnContext:r,openOnHover:v,setOpen:t,size:M,toggleOpen:m,trapFocus:H,triggerRef:i,withArrow:n,inertTrapFocus:A}=a;return/*@__PURE__*/q(eh.Provider,{value:{appearance:l,arrowRef:c,contentRef:e,inline:h,mountNode:Z,open:o,openOnContext:r,openOnHover:v,setOpen:t,toggleOpen:m,triggerRef:i,size:M,trapFocus:H,inertTrapFocus:A,withArrow:n}},a.popoverTrigger,a.open&&a.popoverSurface)};var L2=(a)=>{let l=Qa(a);return Ja(l)};L2.displayName="Popover";g();g();var $a=(a)=>{let{children:l,disableButtonEnhancement:c=!1}=a,e=Y7(l),h=x0((L)=>L.open),Z=x0((L)=>L.setOpen),o=x0((L)=>L.toggleOpen),r=x0((L)=>L.triggerRef),v=x0((L)=>L.openOnHover),t=x0((L)=>L.openOnContext),{triggerAttributes:M}=V2(),m=(L)=>{if(t)L.preventDefault(),Z(L,!0)},H=(L)=>{if(!t)o(L)},i=(L)=>{if(L.key===Z4&&h&&!L.isDefaultPrevented())Z(L,!1),L.preventDefault()},n=(L)=>{if(v)Z(L,!0)},A=(L)=>{if(v)Z(L,!1)},u={...M,"aria-expanded":`${h}`,...e===null||e===void 0?void 0:e.props,onMouseEnter:i1(N5(e===null||e===void 0?void 0:e.props.onMouseEnter,n)),onMouseLeave:i1(N5(e===null||e===void 0?void 0:e.props.onMouseLeave,A)),onContextMenu:i1(N5(e===null||e===void 0?void 0:e.props.onContextMenu,m)),ref:K1(r,e===null||e===void 0?void 0:e.ref)},d={...u,onClick:i1(N5(e===null||e===void 0?void 0:e.props.onClick,H)),onKeyDown:i1(N5(e===null||e===void 0?void 0:e.props.onKeyDown,i))},C=d2((e===null||e===void 0?void 0:e.type)==="button"||(e===null||e===void 0?void 0:e.type)==="a"?e.type:"div",d);return{children:V6(a.children,d2((e===null||e===void 0?void 0:e.type)==="button"||(e===null||e===void 0?void 0:e.type)==="a"?e.type:"div",t?u:c?d:C))}};var Xa=(a)=>{return a.children};var l2=(a)=>{let l=$a(a);return Xa(l)};l2.displayName="PopoverTrigger";l2.isFluentTriggerComponent=!0;g();var I3=(a)=>{G(a);let{iconOnly:l,iconPosition:c}=a;return/*@__PURE__*/R1(a.root,{children:[c!=="after"&&a.icon&&/*@__PURE__*/w(a.icon,{}),!l&&a.root.children,c==="after"&&a.icon&&/*@__PURE__*/w(a.icon,{})]})};g();g();var ou=J(void 0),mD={},R11=ou.Provider,ru=()=>{var a;return(a=E(ou))!==null&&a!==void 0?a:mD};var m7=(a,l)=>{let{size:c}=ru(),{appearance:e="secondary",as:h="button",disabled:Z=!1,disabledFocusable:o=!1,icon:r,iconPosition:v="before",shape:t="rounded",size:M=c!==null&&c!==void 0?c:"medium"}=a,m=B.optional(r,{elementType:"span"});return{appearance:e,disabled:Z,disabledFocusable:o,iconPosition:v,shape:t,size:M,iconOnly:Boolean((m===null||m===void 0?void 0:m.children)&&!a.children),components:{root:"button",icon:"span"},root:B.always(c1(h,d2(a.as,a)),{elementType:"button",defaultProps:{ref:l,type:h==="button"?"button":void 0}}),icon:m}};var W6={root:"fui-Button",icon:"fui-Button__icon"};var B11=`calc(${Q1.strokeWidthThin} + 0.25px)`,MD=/*@__PURE__*/N("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),HD=/*@__PURE__*/N("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),iD=/*@__PURE__*/S({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),nD=/*@__PURE__*/S({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",Bm2fdqk:"fuigjrg",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",Bx3q9su:"f4dhi0o",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x",xd2cci:"fequ9m0"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fuigjrg .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4dhi0o:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fequ9m0:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),AD=/*@__PURE__*/S({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f12k37oa[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fdnykm2[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),VD=/*@__PURE__*/S({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),uD=/*@__PURE__*/S({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),M7=(a)=>{let l=MD(),c=HD(),e=iD(),h=nD(),Z=AD(),o=VD(),r=uD(),{appearance:v,disabled:t,disabledFocusable:M,icon:m,iconOnly:H,iconPosition:i,shape:n,size:A}=a;if(a.root.className=D(W6.root,l,v&&e[v],e[A],m&&A==="small"&&e.smallWithIcon,m&&A==="large"&&e.largeWithIcon,e[n],(t||M)&&h.base,(t||M)&&h.highContrast,v&&(t||M)&&h[v],v==="primary"&&Z.primary,Z[A],Z[n],H&&o[A],a.root.className),a.icon)a.icon.className=D(W6.icon,c,!!a.root.children&&r[i],r[A],a.icon.className);return a};var L1=/*@__PURE__*/T((a,l)=>{let c=m7(a,l);return M7(c),z("useButtonStyles_unstable")(c),I3(c)});L1.displayName="Button";g();g();g();g();var vu=J(void 0),Ya=vu.Provider,A4=()=>E(vu);g();var Na=(a)=>{var l,c,e,h;let{generatedControlId:Z,orientation:o,required:r,size:v,validationState:t}=a,M=(l=a.label)===null||l===void 0?void 0:l.htmlFor,m=(c=a.label)===null||c===void 0?void 0:c.id,H=(e=a.validationMessage)===null||e===void 0?void 0:e.id,i=(h=a.hint)===null||h===void 0?void 0:h.id;return{field:C1(()=>({generatedControlId:Z,hintId:i,labelFor:M,labelId:m,orientation:o,required:r,size:v,validationMessageId:H,validationState:t}),[Z,i,M,m,o,r,v,H,t])}};function U3(a,l){return hh(A4(),a,l)}function hh(a,l,c){if(!a)return l;l={...l};let{generatedControlId:e,hintId:h,labelFor:Z,labelId:o,required:r,validationMessageId:v,validationState:t}=a;if(e){var M,m;(m=(M=l).id)!==null&&m!==void 0||(M.id=e)}if(o&&(!(c===null||c===void 0?void 0:c.supportsLabelFor)||Z!==l.id)){var H,i,n;(n=(H=l)[i="aria-labelledby"])!==null&&n!==void 0||(H[i]=o)}if(v||h)l["aria-describedby"]=[v,h,l===null||l===void 0?void 0:l["aria-describedby"]].filter(Boolean).join(" ");if(t==="error"){var A,u,d;(d=(A=l)[u="aria-invalid"])!==null&&d!==void 0||(A[u]=!0)}if(r)if(c===null||c===void 0?void 0:c.supportsRequired){var C,L;(L=(C=l).required)!==null&&L!==void 0||(C.required=!0)}else{var F,R,f;(f=(F=l)[R="aria-required"])!==null&&f!==void 0||(F[R]=!0)}if(c===null||c===void 0?void 0:c.supportsSize){var x,O;(O=(x=l).size)!==null&&O!==void 0||(x.size=a.size)}return l}var ja=(a,l)=>{G(a);let{children:c}=a;if(typeof c==="function")c=c(hh(l.field)||{});return/*@__PURE__*/w(Ya,{value:l===null||l===void 0?void 0:l.field,children:/*@__PURE__*/R1(a.root,{children:[a.label&&/*@__PURE__*/w(a.label,{}),c,a.validationMessage&&/*@__PURE__*/R1(a.validationMessage,{children:[a.validationMessageIcon&&/*@__PURE__*/w(a.validationMessageIcon,{}),a.validationMessage.children]}),a.hint&&/*@__PURE__*/w(a.hint,{})]})})};g();g();g();var mv=J(void 0),dD={},o01=mv.Provider,tu=()=>E(mv)?E(mv):dD;var CD=S({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),mu=(a,l)=>{let{title:c,primaryFill:e="currentColor",...h}=a,Z={...h,title:void 0,fill:e},o=CD(),r=tu();if(Z.className=D(o.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(r===null||r===void 0?void 0:r.textDirection)==="rtl"&&o.rtl,Z.className),c)Z["aria-label"]=c;if(!Z["aria-label"]&&!Z["aria-labelledby"])Z["aria-hidden"]=!0;else Z.role="img";return Z};var P6=(a,l,c,e)=>{let h=l==="1em"?"20":l,Z=T((o,r)=>{let v={...mu(o,{flipInRtl:e===null||e===void 0?void 0:e.flipInRtl}),ref:r,width:l,height:l,viewBox:`0 0 ${h} ${h}`,xmlns:"http://www.w3.org/2000/svg"};return q("svg",v,...c.map((t)=>q("path",{d:t,fill:v.fill})))});return Z.displayName=a,Z};var Mu=/*@__PURE__*/P6("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]);var Hu=/*@__PURE__*/P6("ErrorCircle12Filled","12",["M6 11A5 5 0 1 0 6 1a5 5 0 0 0 0 10Zm-.75-2.75a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Zm.26-4.84a.5.5 0 0 1 .98 0l.01.09v2.59a.5.5 0 0 1-1 0V3.41Z"]);var iu=/*@__PURE__*/P6("Warning12Filled","12",["M5.21 1.46a.9.9 0 0 1 1.58 0l4.09 7.17a.92.92 0 0 1-.79 1.37H1.91a.92.92 0 0 1-.79-1.37l4.1-7.17ZM5.5 4.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]);g();g();var _a=(a,l)=>{let{disabled:c=!1,required:e=!1,weight:h="regular",size:Z="medium"}=a;return{disabled:c,required:B.optional(e===!0?"*":e||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:h,size:Z,components:{root:"label",required:"span"},root:B.always(c1("label",{ref:l,...a}),{elementType:"label"})}};var a9=(a)=>{return G(a),/*@__PURE__*/R1(a.root,{children:[a.root.children,a.required&&/*@__PURE__*/w(a.required,{})]})};var l9={root:"fui-Label",required:"fui-Label__required"},gD=/*@__PURE__*/S({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),c9=(a)=>{let l=gD();if(a.root.className=D(l9.root,l.root,a.disabled&&l.disabled,l[a.size],a.weight==="semibold"&&l.semibold,a.root.className),a.required)a.required.className=D(l9.required,l.required,a.disabled&&l.disabled,a.required.className);return a};var k0=/*@__PURE__*/T((a,l)=>{let c=_a(a,l);return c9(c),z("useLabelStyles_unstable")(c),a9(c)});k0.displayName="Label";var pD={error:/*@__PURE__*/q(Hu,null),warning:/*@__PURE__*/q(iu,null),success:/*@__PURE__*/q(Mu,null),none:void 0},e9=(a,l)=>{let{children:c,orientation:e="vertical",required:h=!1,validationState:Z=a.validationMessage?"error":"none",size:o="medium"}=a,r=t0("field-"),v=r+"__control",t=B.always(c1("div",{...a,ref:l},["children"]),{elementType:"div"}),M=B.optional(a.label,{defaultProps:{htmlFor:v,id:r+"__label",required:h,size:o},elementType:k0}),m=B.optional(a.validationMessage,{defaultProps:{id:r+"__validationMessage",role:Z==="error"||Z==="warning"?"alert":void 0},elementType:"div"}),H=B.optional(a.hint,{defaultProps:{id:r+"__hint"},elementType:"div"}),i=pD[Z],n=B.optional(a.validationMessageIcon,{renderByDefault:!!i,defaultProps:{children:i},elementType:"span"});return{children:c,generatedControlId:v,orientation:e,required:h,size:o,validationState:Z,components:{root:"div",label:k0,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:t,label:M,validationMessageIcon:n,validationMessage:m,hint:H}};var H7={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"};var LD=/*@__PURE__*/S({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),FD=/*@__PURE__*/S({vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),RD=/*@__PURE__*/N("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),xD=/*@__PURE__*/S({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),sD=/*@__PURE__*/N("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),DD=/*@__PURE__*/S({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),h9=(a)=>{let{validationState:l,size:c}=a,e=a.orientation==="horizontal",h=LD();a.root.className=D(H7.root,h.base,e&&h.horizontal,e&&!a.label&&h.horizontalNoLabel,a.root.className);let Z=FD();if(a.label)a.label.className=D(H7.label,e&&Z.horizontal,e&&c==="small"&&Z.horizontalSmall,e&&c==="large"&&Z.horizontalLarge,!e&&Z.vertical,!e&&c==="large"&&Z.verticalLarge,a.label.className);let o=sD(),r=DD();if(a.validationMessageIcon)a.validationMessageIcon.className=D(H7.validationMessageIcon,o,l!=="none"&&r[l],a.validationMessageIcon.className);let v=RD(),t=xD();if(a.validationMessage)a.validationMessage.className=D(H7.validationMessage,v,l==="error"&&t.error,!!a.validationMessageIcon&&t.withIcon,a.validationMessage.className);if(a.hint)a.hint.className=D(H7.hint,v,a.hint.className);return a};var V4=/*@__PURE__*/T((a,l)=>{let c=e9(a,l);h9(c),z("useFieldStyles_unstable")(c);let e=Na(c);return ja(c,e)});V4.displayName="Field";g();g();var Mv=J(void 0),wD={},c51=Mv.Provider,nu=()=>E(Mv)?E(Mv):wD;var kD=S({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),Au=(a,l)=>{let{title:c,primaryFill:e="currentColor",...h}=a,Z={...h,title:void 0,fill:e},o=kD(),r=nu();if(Z.className=D(o.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(r===null||r===void 0?void 0:r.textDirection)==="rtl"&&o.rtl,Z.className),c)Z["aria-label"]=c;if(!Z["aria-label"]&&!Z["aria-labelledby"])Z["aria-hidden"]=!0;else Z.role="img";return Z};var i7=(a,l,c,e)=>{let h=l==="1em"?"20":l,Z=T((o,r)=>{let v={...Au(o,{flipInRtl:e===null||e===void 0?void 0:e.flipInRtl}),ref:r,width:l,height:l,viewBox:`0 0 ${h} ${h}`,xmlns:"http://www.w3.org/2000/svg"};return q("svg",v,...c.map((t)=>q("path",{d:t,fill:v.fill})))});return Z.displayName=a,Z};var Vu=/*@__PURE__*/i7("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]);var uu=/*@__PURE__*/i7("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]);var du=/*@__PURE__*/i7("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]);var Cu=/*@__PURE__*/i7("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]);var gu=/*@__PURE__*/i7("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]);var Z9=(a,l)=>{a=U3(a,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:c=!1,required:e,shape:h="square",size:Z="medium",labelPosition:o="after",onChange:r}=a,[v,t]=Y5({defaultState:a.defaultChecked,state:a.checked,initialState:!1}),M=e7({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),m=v==="mixed",H=t0("checkbox-",M.primary.id),i;if(m)if(h==="circular")i=/*@__PURE__*/q(Vu,null);else i=Z==="large"?/*@__PURE__*/q(gu,null):/*@__PURE__*/q(Cu,null);else if(v)i=Z==="large"?/*@__PURE__*/q(du,null):/*@__PURE__*/q(uu,null);let n={shape:h,checked:v,disabled:c,size:Z,labelPosition:o,components:{root:"span",input:"input",indicator:"div",label:k0},root:B.always(a.root,{defaultProps:{ref:A2(),...M.root},elementType:"span"}),input:B.always(a.input,{defaultProps:{type:"checkbox",id:H,ref:l,checked:v===!0,...M.primary},elementType:"input"}),label:B.optional(a.label,{defaultProps:{htmlFor:H,disabled:c,required:e,size:"medium"},elementType:k0}),indicator:B.optional(a.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:i},elementType:"div"})};n.input.onChange=i1((u)=>{let d=u.currentTarget.indeterminate?"mixed":u.currentTarget.checked;r===null||r===void 0||r(u,{checked:d}),t(d)});let A=K1(n.input.ref);return n.input.ref=A,z1(()=>{if(A.current)A.current.indeterminate=m},[A,m]),n};var o9=(a)=>{return G(a),/*@__PURE__*/R1(a.root,{children:[/*@__PURE__*/w(a.input,{}),a.labelPosition==="before"&&a.label&&/*@__PURE__*/w(a.label,{}),a.indicator&&/*@__PURE__*/w(a.indicator,{}),a.labelPosition==="after"&&a.label&&/*@__PURE__*/w(a.label,{})]})};var u4={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"};var SD=/*@__PURE__*/N("r1q22k1j","r18ze4k2",{r:[".r1q22k1j{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1q22k1j:focus{outline-style:none;}",".r1q22k1j:focus-visible{outline-style:none;}",".r1q22k1j[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1q22k1j[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r18ze4k2{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r18ze4k2:focus{outline-style:none;}",".r18ze4k2:focus-visible{outline-style:none;}",".r18ze4k2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r18ze4k2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1q22k1j[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r18ze4k2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),fD=/*@__PURE__*/S({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",Bbusuzp:"f1dcs8yz",mrqfp9:"fxb3eh3"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxb3eh3{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),BD=/*@__PURE__*/N("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),bD=/*@__PURE__*/S({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),TD=/*@__PURE__*/N("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),WD=/*@__PURE__*/S({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),PD=/*@__PURE__*/S({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),r9=(a)=>{let{checked:l,disabled:c,labelPosition:e,shape:h,size:Z}=a,o=SD(),r=fD();a.root.className=D(u4.root,o,c?r.disabled:l==="mixed"?r.mixed:l?r.checked:r.unchecked,a.root.className);let v=BD(),t=bD();a.input.className=D(u4.input,v,Z==="large"&&t.large,t[e],a.input.className);let M=TD(),m=WD();if(a.indicator)a.indicator.className=D(u4.indicator,M,Z==="large"&&m.large,h==="circular"&&m.circular,a.indicator.className);let H=PD();if(a.label)a.label.className=D(u4.label,H.base,H[Z],H[e],a.label.className);return a};var d4=/*@__PURE__*/T((a,l)=>{let c=Z9(a,l);return r9(c),z("useCheckboxStyles_unstable")(c),o9(c)});d4.displayName="Checkbox";g();var v9=(a)=>{return G(a),/*@__PURE__*/w(a.root,{children:a.root.children!==void 0&&/*@__PURE__*/w(a.wrapper,{children:a.root.children})})};g();var t9=(a,l)=>{let{alignContent:c="center",appearance:e="default",inset:h=!1,vertical:Z=!1,wrapper:o}=a,r=t0("divider-");return{alignContent:c,appearance:e,inset:h,vertical:Z,components:{root:"div",wrapper:"div"},root:B.always(c1("div",{role:"separator","aria-orientation":Z?"vertical":"horizontal","aria-labelledby":a.children?r:void 0,...a,ref:l}),{elementType:"div"}),wrapper:B.always(o,{defaultProps:{id:r,children:a.children},elementType:"div"})}};var m9={root:"fui-Divider",wrapper:"fui-Divider__wrapper"};var OD=/*@__PURE__*/S({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"]}),yD=/*@__PURE__*/S({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),ID=/*@__PURE__*/S({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),M9=(a)=>{let l=OD(),c=yD(),e=ID(),{alignContent:h,appearance:Z,inset:o,vertical:r}=a;if(a.root.className=D(m9.root,l.base,l[h],Z&&l[Z],!r&&c.base,!r&&o&&c.inset,!r&&c[h],r&&e.base,r&&o&&e.inset,r&&e[h],r&&a.root.children!==void 0&&e.withChildren,a.root.children===void 0&&l.childless,a.root.className),a.wrapper)a.wrapper.className=D(m9.wrapper,a.wrapper.className);return a};var y5=/*@__PURE__*/T((a,l)=>{let c=t9(a,l);return M9(c),z("useDividerStyles_unstable")(c),v9(c)});y5.displayName="Divider";g();g();var H9=(a,l)=>{a=U3(a,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let c=H6();var e;let{size:h="medium",appearance:Z=(e=c.inputDefaultAppearance)!==null&&e!==void 0?e:"outline",onChange:o}=a;if(Z==="filled-darker-shadow"||Z==="filled-lighter-shadow")console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the future.");let[r,v]=Y5({state:a.value,defaultState:a.defaultValue,initialState:""}),t=e7({props:a,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),M={size:h,appearance:Z,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:B.always(a.input,{defaultProps:{type:"text",ref:l,...t.primary},elementType:"input"}),contentAfter:B.optional(a.contentAfter,{elementType:"span"}),contentBefore:B.optional(a.contentBefore,{elementType:"span"}),root:B.always(a.root,{defaultProps:t.root,elementType:"span"})};return M.input.value=r,M.input.onChange=i1((m)=>{let H=m.target.value;o===null||o===void 0||o(m,{value:H}),v(H)}),M};var i9=(a)=>{return G(a),/*@__PURE__*/R1(a.root,{children:[a.contentBefore&&/*@__PURE__*/w(a.contentBefore,{}),/*@__PURE__*/w(a.input,{}),a.contentAfter&&/*@__PURE__*/w(a.contentAfter,{})]})};var C4={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"};var m21={root:{small:Q1.spacingHorizontalSNudge,medium:Q1.spacingHorizontalMNudge,large:Q1.spacingHorizontalM},input:{small:Q1.spacingHorizontalXXS,medium:Q1.spacingHorizontalXXS,large:Q1.spacingHorizontalSNudge},combined:{small:Q1.spacingHorizontalS,medium:Q1.spacingHorizontalM,large:`calc(${Q1.spacingHorizontalM} + ${Q1.spacingHorizontalSNudge})`}},UD=/*@__PURE__*/N("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),ED=/*@__PURE__*/S({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),GD=/*@__PURE__*/N("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),qD=/*@__PURE__*/S({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),zD=/*@__PURE__*/N("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),KD=/*@__PURE__*/S({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),n9=(a)=>{let{size:l,appearance:c}=a,e=a.input.disabled,h=`${a.input["aria-invalid"]}`==="true",Z=c.startsWith("filled"),o=ED(),r=qD(),v=KD();a.root.className=D(C4.root,UD(),o[l],a.contentBefore&&o[`${l}WithContentBefore`],a.contentAfter&&o[`${l}WithContentAfter`],o[c],!e&&c==="outline"&&o.outlineInteractive,!e&&c==="underline"&&o.underlineInteractive,!e&&Z&&o.filledInteractive,Z&&o.filled,!e&&h&&o.invalid,e&&o.disabled,a.root.className),a.input.className=D(C4.input,GD(),r[l],a.contentBefore&&r[`${l}WithContentBefore`],a.contentAfter&&r[`${l}WithContentAfter`],e&&r.disabled,a.input.className);let t=[zD(),e&&v.disabled,v[l]];if(a.contentBefore)a.contentBefore.className=D(C4.contentBefore,...t,a.contentBefore.className);if(a.contentAfter)a.contentAfter.className=D(C4.contentAfter,...t,a.contentAfter.className);return a};var V5=/*@__PURE__*/T((a,l)=>{let c=H9(a,l);return n9(c),z("useInputStyles_unstable")(c),i9(c)});V5.displayName="Input";g();g();g();var A9=(a)=>{let{disabled:l,disabledFocusable:c}=a,{onClick:e,onKeyDown:h,role:Z,tabIndex:o}=a.root;if(a.root.as==="a"){if(a.root.href=l?void 0:a.root.href,l||c)a.root.role=Z||"link"}if(a.root.as==="a"||a.root.as==="span")a.root.tabIndex=o!==null&&o!==void 0?o:l&&!c?void 0:0;if(a.root.onClick=(r)=>{if(l||c)r.preventDefault();else e===null||e===void 0||e(r)},a.root.onKeyDown=(r)=>{let v=r.key===h4||r.key===t7;if((l||c)&&v)r.preventDefault(),r.stopPropagation();else if(h===null||h===void 0||h(r),a.root.as==="span"&&!!a.root.onClick&&!h&&v)r.preventDefault(),r.currentTarget.click()},a.disabled=l||c,a.root["aria-disabled"]=l||c||void 0,a.root.as==="button")a.root.disabled=l&&!c;return a};g();var pu=J(void 0),Hv={inline:!1},Zh=pu.Provider,oh=()=>{var a;return(a=E(pu))!==null&&a!==void 0?a:Hv};var V9=(a,l)=>{let c=i6(),{inline:e}=oh(),{appearance:h="default",disabled:Z=!1,disabledFocusable:o=!1,inline:r=!1}=a,v=a.as||(a.href?"a":"button"),t={role:v==="span"?"button":void 0,type:v==="button"?"button":void 0,...a,as:v},M={appearance:h,disabled:Z,disabledFocusable:o,inline:r!==null&&r!==void 0?r:!!e,components:{root:v},root:B.always(c1(v,{ref:l,...t}),{elementType:v}),backgroundAppearance:c};return A9(M),M};var rh={root:"fui-Link"},QD=/*@__PURE__*/S({focusIndicator:{Bttzg6e:"fhgqx19",B3uz8dt:"f1olyrje",B6ihwck:"f1p93eir",g9k6zt:"f1nev41a"},root:{B486eqv:"f2hkw1w",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"fyind8e",Bceei9c:"f1k6fduh",mc9l5x:"f1w7gpdv",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",B68tc82:0,Bmxbyg5:0,Bpg54ce:"fnbmjn9",fsow6f:["f1o700av","fes3tcz"],w71qe1:"f1iuv45f",Bkioxbp:"f1cmlufx",ygn44y:"f9n3di6",famaaq:"f1ids18y",Bde5pd6:"f1tx3yz7",Bi91k9c:"f1deo86v",i089h6:"f1eh06m1",lj723h:"f1iescvh"},button:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"]},href:{Be2twd7:"fjoy568"},subtle:{sj55zd:"fkfq4zb",Bde5pd6:"f1tx3yz7",Bi91k9c:"fnwyq0v",i089h6:"f1eh06m1",lj723h:"flvvhsy"},inline:{w71qe1:"f13mvf36"},disabled:{w71qe1:"f1iuv45f",sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bde5pd6:"fbnuktb",Bi91k9c:"fvgxktp",i089h6:"fljg2da",lj723h:"f19wldhg"},inverted:{sj55zd:"f1qz2gb0",Bi91k9c:"f1mlt8il",lj723h:"f1hsd4st"}},{d:[".fhgqx19[data-fui-focus-visible]{text-decoration-color:var(--colorStrokeFocus2);}",".f1olyrje[data-fui-focus-visible]{text-decoration-line:underline;}",".f1p93eir[data-fui-focus-visible]{text-decoration-style:double;}",".f1nev41a[data-fui-focus-visible]{outline-style:none;}",".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".fyind8e{color:var(--colorBrandForegroundLink);}",".f1k6fduh{cursor:pointer;}",".f1w7gpdv{display:inline;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".fnbmjn9{overflow:inherit;}",{p:-1}],".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".f1iuv45f{text-decoration-line:none;}",".f1cmlufx{text-decoration-thickness:var(--strokeWidthThin);}",".f9n3di6{text-overflow:inherit;}",".f1ids18y{-webkit-user-select:text;-moz-user-select:text;user-select:text;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",".fjoy568{font-size:inherit;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f13mvf36{text-decoration-line:underline;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1tx3yz7:hover{text-decoration-line:underline;}",".f1deo86v:hover{color:var(--colorBrandForegroundLinkHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".fbnuktb:hover{text-decoration-line:none;}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1mlt8il:hover{color:var(--colorBrandForegroundInvertedHover);}"],a:[".f1eh06m1:active{text-decoration-line:underline;}",".f1iescvh:active{color:var(--colorBrandForegroundLinkPressed);}",".flvvhsy:active{color:var(--colorNeutralForeground2Pressed);}",".fljg2da:active{text-decoration-line:none;}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1hsd4st:active{color:var(--colorBrandForegroundInvertedPressed);}"]}),u9=(a)=>{let l=QD(),{appearance:c,disabled:e,inline:h,root:Z,backgroundAppearance:o}=a;return a.root.className=D(rh.root,l.root,l.focusIndicator,Z.as==="a"&&Z.href&&l.href,Z.as==="button"&&l.button,c==="subtle"&&l.subtle,o==="inverted"&&l.inverted,h&&l.inline,e&&l.disabled,a.root.className),a};var d9=(a)=>{return G(a),/*@__PURE__*/w(a.root,{})};var y0=/*@__PURE__*/T((a,l)=>{let c=V9(a,l);return u9(c),z("useLinkStyles_unstable")(c),d9(c)});y0.displayName="Link";g();g();g();var Lu=J(void 0),JD={},Y21=Lu.Provider,Fu=()=>{var a;return(a=E(Lu))!==null&&a!==void 0?a:JD};var C9=(a,l)=>{let{size:c}=Fu(),{appearance:e="primary",labelPosition:h="after",size:Z=c!==null&&c!==void 0?c:"medium",delay:o=0}=a,r=t0("spinner"),{role:v="progressbar",...t}=a,M=B.always(c1("div",{ref:l,role:v,...t},["size"]),{elementType:"div"}),[m,H]=m1(!1),[i,n]=N2();t1(()=>{if(o<=0)return;return i(()=>{H(!0)},o),()=>{n()}},[i,n,o]);let A=B.optional(a.label,{defaultProps:{id:r},renderByDefault:!1,elementType:k0}),u=B.optional(a.spinner,{renderByDefault:!0,elementType:"span"});if(A&&M&&!M["aria-labelledby"])M["aria-labelledby"]=A.id;return{appearance:e,delay:o,labelPosition:h,size:Z,shouldRenderSpinner:!o||m,components:{root:"div",spinner:"span",spinnerTail:"span",label:k0},root:M,spinner:u,spinnerTail:B.always(a.spinnerTail,{elementType:"span"}),label:A}};var g9=(a)=>{G(a);let{labelPosition:l,shouldRenderSpinner:c}=a;return/*@__PURE__*/R1(a.root,{children:[a.label&&c&&(l==="above"||l==="before")&&/*@__PURE__*/w(a.label,{}),a.spinner&&c&&/*@__PURE__*/w(a.spinner,{children:a.spinnerTail&&/*@__PURE__*/w(a.spinnerTail,{})}),a.label&&c&&(l==="below"||l==="after")&&/*@__PURE__*/w(a.label,{})]})};var g4={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"};var $D=/*@__PURE__*/N("r82apo5",null,[".r82apo5{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;}"]),XD=/*@__PURE__*/S({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),YD=/*@__PURE__*/N("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),ND=/*@__PURE__*/N("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),jD=/*@__PURE__*/S({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Br2kee7:"f1wkkxo7"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1wkkxo7{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),_D=/*@__PURE__*/S({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),p9=(a)=>{let{labelPosition:l,size:c,appearance:e}=a,{dir:h}=p1(),Z=$D(),o=XD(),r=YD(),v=jD(),t=ND(),M=_D();if(a.root.className=D(g4.root,Z,(l==="above"||l==="below")&&o.vertical,a.root.className),a.spinner)a.spinner.className=D(g4.spinner,r,v[c],e==="inverted"&&v.inverted,a.spinner.className);if(a.spinnerTail)a.spinnerTail.className=D(g4.spinnerTail,t,h==="rtl"&&v.rtlTail,a.spinnerTail.className);if(a.label)a.label.className=D(g4.label,M[c],e==="inverted"&&M.inverted,a.label.className);return a};var I5=/*@__PURE__*/T((a,l)=>{let c=C9(a,l);return p9(c),z("useSpinnerStyles_unstable")(c),g9(c)});I5.displayName="Spinner";g();g();g();g();var iv=J(void 0),aw={},C31=iv.Provider,Ru=()=>E(iv)?E(iv):aw;var lw=S({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),xu=(a,l)=>{let{title:c,primaryFill:e="currentColor",...h}=a,Z={...h,title:void 0,fill:e},o=lw(),r=Ru();if(Z.className=D(o.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(r===null||r===void 0?void 0:r.textDirection)==="rtl"&&o.rtl,Z.className),c)Z["aria-label"]=c;if(!Z["aria-label"]&&!Z["aria-labelledby"])Z["aria-hidden"]=!0;else Z.role="img";return Z};var su=(a,l,c,e)=>{let h=l==="1em"?"20":l,Z=T((o,r)=>{let v={...xu(o,{flipInRtl:e===null||e===void 0?void 0:e.flipInRtl}),ref:r,width:l,height:l,viewBox:`0 0 ${h} ${h}`,xmlns:"http://www.w3.org/2000/svg"};return q("svg",v,...c.map((t)=>q("path",{d:t,fill:v.fill})))});return Z.displayName=a,Z};var Du=/*@__PURE__*/su("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]);var L9=(a,l)=>{a=U3(a,{supportsLabelFor:!0,supportsRequired:!0});let{checked:c,defaultChecked:e,disabled:h,labelPosition:Z="after",onChange:o,required:r}=a,v=e7({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),t=t0("switch-",v.primary.id),M=B.always(a.root,{defaultProps:{ref:A2(),...v.root},elementType:"div"}),m=B.always(a.indicator,{defaultProps:{"aria-hidden":!0,children:/*@__PURE__*/q(Du,null)},elementType:"div"}),H=B.always(a.input,{defaultProps:{checked:c,defaultChecked:e,id:t,ref:l,role:"switch",type:"checkbox",...v.primary},elementType:"input"});H.onChange=N5(H.onChange,(n)=>o===null||o===void 0?void 0:o(n,{checked:n.currentTarget.checked}));let i=B.optional(a.label,{defaultProps:{disabled:h,htmlFor:t,required:r,size:"medium"},elementType:k0});return{labelPosition:Z,components:{root:"div",indicator:"div",input:"input",label:k0},root:M,indicator:m,input:H,label:i}};var F9=(a)=>{G(a);let{labelPosition:l}=a;return/*@__PURE__*/R1(a.root,{children:[/*@__PURE__*/w(a.input,{}),l!=="after"&&a.label&&/*@__PURE__*/w(a.label,{}),/*@__PURE__*/w(a.indicator,{}),l==="after"&&a.label&&/*@__PURE__*/w(a.label,{})]})};var n7={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},wu=n7.root,cw=2,ew=20;var y31=ew-cw,hw=/*@__PURE__*/N("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),Zw=/*@__PURE__*/S({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),ow=/*@__PURE__*/N("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),rw=/*@__PURE__*/S({labelAbove:{B6of3ja:"f1hu3pq6"}},{d:[".f1hu3pq6{margin-top:0;}"]}),vw=/*@__PURE__*/N("rsji9ng","r15xih98",{r:[".rsji9ng{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rsji9ng:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",".rsji9ng:disabled{cursor:default;}",".rsji9ng:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".rsji9ng:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".rsji9ng:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".rsji9ng:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}",".r15xih98{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r15xih98:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",".r15xih98:disabled{cursor:default;}",".r15xih98:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".r15xih98:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".r15xih98:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".r15xih98:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".r15xih98:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".r15xih98:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".r15xih98:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".r15xih98:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}"],s:["@media (forced-colors: active){.rsji9ng:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rsji9ng:disabled~.fui-Switch__label{color:GrayText;}.rsji9ng:hover{color:CanvasText;}.rsji9ng:hover:active{color:CanvasText;}.rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}","@media (forced-colors: active){.r15xih98:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r15xih98:disabled~.fui-Switch__label{color:GrayText;}.r15xih98:hover{color:CanvasText;}.r15xih98:hover:active{color:CanvasText;}.r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}"]}),tw=/*@__PURE__*/S({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}"]}),mw=/*@__PURE__*/S({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),R9=(a)=>{let l=hw(),c=Zw(),e=ow(),h=rw(),Z=vw(),o=tw(),r=mw(),{label:v,labelPosition:t}=a;if(a.root.className=D(n7.root,l,t==="above"&&c.vertical,a.root.className),a.indicator.className=D(n7.indicator,e,v&&t==="above"&&h.labelAbove,a.indicator.className),a.input.className=D(n7.input,Z,v&&o[t],a.input.className),a.label)a.label.className=D(n7.label,r.base,r[t],a.label.className);return a};var p0=/*@__PURE__*/T((a,l)=>{let c=L9(a,l);return R9(c),z("useSwitchStyles_unstable")(c),F9(c)});p0.displayName="Switch";g();g();var A7=(a,l)=>{let{wrap:c,truncate:e,block:h,italic:Z,underline:o,strikethrough:r,size:v,font:t,weight:M,align:m}=a;return{align:m!==null&&m!==void 0?m:"start",block:h!==null&&h!==void 0?h:!1,font:t!==null&&t!==void 0?t:"base",italic:Z!==null&&Z!==void 0?Z:!1,size:v!==null&&v!==void 0?v:300,strikethrough:r!==null&&r!==void 0?r:!1,truncate:e!==null&&e!==void 0?e:!1,underline:o!==null&&o!==void 0?o:!1,weight:M!==null&&M!==void 0?M:"regular",wrap:c!==null&&c!==void 0?c:!0,components:{root:"span"},root:B.always(c1("span",{ref:l,...a}),{elementType:"span"})}};var V7=(a)=>{return G(a),/*@__PURE__*/w(a.root,{})};var x9={root:"fui-Text"},Mw=/*@__PURE__*/S({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),u7=(a)=>{let l=Mw();return a.root.className=D(x9.root,l.root,a.wrap===!1&&l.nowrap,a.truncate&&l.truncate,a.block&&l.block,a.italic&&l.italic,a.underline&&l.underline,a.strikethrough&&l.strikethrough,a.underline&&a.strikethrough&&l.strikethroughUnderline,a.size===100&&l.base100,a.size===200&&l.base200,a.size===400&&l.base400,a.size===500&&l.base500,a.size===600&&l.base600,a.size===700&&l.hero700,a.size===800&&l.hero800,a.size===900&&l.hero900,a.size===1000&&l.hero1000,a.font==="monospace"&&l.monospace,a.font==="numeric"&&l.numeric,a.weight==="medium"&&l.weightMedium,a.weight==="semibold"&&l.weightSemibold,a.weight==="bold"&&l.weightBold,a.align==="center"&&l.alignCenter,a.align==="end"&&l.alignEnd,a.align==="justify"&&l.alignJustify,a.root.className),a};var o3=/*@__PURE__*/T((a,l)=>{let c=A7(a,l);return u7(c),z("useTextStyles_unstable")(c),V7(c)});o3.displayName="Text";g();g();function r3(a){let{useStyles:l,className:c,displayName:e}=a,h=T((Z,o)=>{let r=l(),v=A7(Z,o);return u7(v),v.root.className=D(c,v.root.className,r.root,Z.className),V7(v)});return h.displayName=e,h}var s9={root:"fui-Body1"},ku=/*@__PURE__*/S({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]});var c2=r3({useStyles:ku,className:s9.root,displayName:"Body1"});g();var D9={root:"fui-Body1Strong"},Su=/*@__PURE__*/S({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]});var O6=r3({useStyles:Su,className:D9.root,displayName:"Body1Strong"});g();var w9={root:"fui-Subtitle1"},fu=/*@__PURE__*/S({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f106mvju{line-height:var(--lineHeightBase500);}"]});var y6=r3({useStyles:fu,className:w9.root,displayName:"Subtitle1"});g();var k9={root:"fui-Subtitle2"},Bu=/*@__PURE__*/S({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]});var M5=r3({useStyles:Bu,className:k9.root,displayName:"Subtitle2"});g();var S9={root:"fui-Title2"},bu=/*@__PURE__*/S({root:{Bahqtrf:"fk6fouc",Be2twd7:"fojgt09",Bhrd7zp:"fl43uef",Bg96gwp:"fcen8rp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcen8rp{line-height:var(--lineHeightHero700);}"]});var I6=r3({useStyles:bu,className:S9.root,displayName:"Title2"});g();g();g();var Tu=/*@__PURE__*/N("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),Wu=/*@__PURE__*/N("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function Pu(){let a=Tu(),l=Wu(),{targetDocument:c}=p1(),e=a1(()=>{var Z;if(!c)return;var o;if(!(Math.floor(c.body.getBoundingClientRect().height)>((o=(Z=c.defaultView)===null||Z===void 0?void 0:Z.innerHeight)!==null&&o!==void 0?o:0)))return;c.documentElement.classList.add(a),c.body.classList.add(l);return},[c,a,l]),h=a1(()=>{if(!c)return;c.documentElement.classList.remove(a),c.body.classList.remove(l)},[c,a,l]);return{disableBodyScroll:e,enableBodyScroll:h}}g();function nv(a,l){let{findFirstFocusable:c}=f3(),{targetDocument:e}=p1(),h=U(null);return t1(()=>{if(!a)return;let Z=h.current&&c(h.current);if(Z)Z.focus();else{var o;(o=h.current)===null||o===void 0||o.focus(),console.warn("@fluentui/react-dialog [useFocusFirstElement]:\nA Dialog should have at least one focusable element inside DialogSurface.\nPlease add at least a close button either on `DialogTitle` action slot or inside `DialogActions`")}},[c,a,l,e]),h}g();var Hw={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},f9=e4(void 0),B9=f9.Provider,I0=(a)=>D6(f9,(l=Hw)=>a(l));g();var iw=!1,Av=J(void 0),U6=Av.Provider,b9=()=>{var a;return(a=E(Av))!==null&&a!==void 0?a:iw};var Ou=[{opacity:0,boxShadow:"0px 0px 0px 0px rgba(0, 0, 0, 0.1)",transform:"scale(0.85) translateZ(0)"},{boxShadow:Q1.shadow64,transform:"scale(1) translateZ(0)",opacity:1}],Vv=m5({enter:{keyframes:Ou,easing:B1.curveDecelerateMid,duration:B1.durationGentle},exit:{keyframes:[...Ou].reverse(),easing:B1.curveAccelerateMin,duration:B1.durationGentle}});var T9=(a)=>{let{children:l,modalType:c="modal",onOpenChange:e,inertTrapFocus:h=!1}=a,[Z,o]=nw(l),[r,v]=Y5({state:a.open,defaultState:a.defaultOpen,initialState:!1}),t=i1((n)=>{if(e===null||e===void 0||e(n.event,n),!n.event.isDefaultPrevented())v(n.open)}),M=nv(r,c),{modalAttributes:m,triggerAttributes:H}=V2({trapFocus:c!=="non-modal",legacyTrapFocus:!h}),i=Sr(f9);return{components:{surfaceMotion:Vv},inertTrapFocus:h,open:r,modalType:c,content:o,trigger:Z,requestOpenChange:t,dialogTitleId:t0("dialog-title-"),isNestedDialog:i,dialogRef:M,modalAttributes:m,triggerAttributes:H,surfaceMotion:o4(a.surfaceMotion,{elementType:Vv,defaultProps:{appear:!0,visible:r,unmountOnExit:!0}})}};function nw(a){let l=g3.toArray(a);if(l.length!==1&&l.length!==2)console.warn(`@fluentui/react-dialog [useDialog]:
|
|
135
|
+
`,'We suggest to use the "trapFocus" prop on Fluent components or a catch "ref" and then use','"ref.current.focus" in React.useEffect():',"https://reactjs.org/docs/refs-and-the-dom.html#adding-a-ref-to-a-dom-element"].join(" "))}}},[]);let t=wa(null,(V)=>{if(c.current!==V)c.current=V,e()}),M=A1(()=>{var V;return(V=a.onPositioningEnd)===null||V===void 0?void 0:V.call(a)}),H=wa(null,(V)=>{if(Z.current!==V){var i;(i=Z.current)===null||i===void 0||i.removeEventListener(na,M),V===null||V===void 0||V.addEventListener(na,M),Z.current=V,e()}}),A=wa(null,(V)=>{if(o.current!==V)o.current=V,e()});return{targetRef:t,containerRef:H,arrowRef:A}}C();var ce=(a)=>{let[l,c]=e1(a);return[l,(Z)=>{if(Z===void 0||Z===null){c(void 0);return}let o;if(!(Z instanceof MouseEvent))o=Z.nativeEvent;else o=Z;if(!(o instanceof MouseEvent))console.error("usePositioningMouseTarget should only be used with MouseEvent");let v=Ln(o);c(v)}]};C();C();var Nh=_3(void 0),Rw={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1},xw=Nh.Provider,p0=(a)=>C6(Nh,(l=Rw)=>a(l));var Da=(a,l)=>{let c=p0((L)=>L.contentRef),h=p0((L)=>L.openOnHover),Z=p0((L)=>L.setOpen),o=p0((L)=>L.mountNode),v=p0((L)=>L.arrowRef),r=p0((L)=>L.size),e=p0((L)=>L.withArrow),m=p0((L)=>L.appearance),t=p0((L)=>L.trapFocus),M=p0((L)=>L.inertTrapFocus),H=p0((L)=>L.inline),{modalAttributes:A}=i2({trapFocus:t,legacyTrapFocus:!M,alwaysFocusable:!t}),V={inline:H,appearance:m,withArrow:e,size:r,arrowRef:v,mountNode:o,components:{root:"div"},root:B.always(_("div",{ref:X1(l,c),role:t?"dialog":"group","aria-modal":t?!0:void 0,...A,...a}),{elementType:"div"})},{onMouseEnter:i,onMouseLeave:u,onKeyDown:d}=V.root;return V.root.onMouseEnter=(L)=>{if(h)Z(L,!0);i===null||i===void 0||i(L)},V.root.onMouseLeave=(L)=>{if(h)Z(L,!1);u===null||u===void 0||u(L)},V.root.onKeyDown=(L)=>{var g;if(L.key==="Escape"&&((g=c.current)===null||g===void 0?void 0:g.contains(L.target)))L.preventDefault(),Z(L,!1);d===null||d===void 0||d(L)},V};C();C();function sa(a){if(P1(a))return{element:a};if(typeof a==="object"){if(a===null)return{element:null};return a}return{}}C();var iu=/*@__PURE__*/f({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]});var nu=t2,pw=(a)=>{let{className:l,dir:c,focusVisibleRef:h,targetNode:Z}=a,o=x1(()=>{if(Z===void 0||a.disabled)return null;let v=Z.ownerDocument.createElement("div");return Z.appendChild(v),v},[Z,a.disabled]);return x1(()=>{if(!o)return;o.className=l,o.setAttribute("dir",c),o.setAttribute("data-portal-node","true"),h.current=o},[l,c,o,h]),t1(()=>{return()=>{o===null||o===void 0||o.remove()}},[o]),o},ww=(a)=>{let{className:l,dir:c,focusVisibleRef:h,targetNode:Z}=a,[o]=e1(()=>{let r=void 0;function e(t,M){if(r)return r;if(M)r=t.ownerDocument.createElement("div"),t.appendChild(r);return r}function m(){if(r)r.remove(),r=void 0}return{get:e,dispose:m}}),v=x1(()=>{if(Z===void 0||a.disabled)return null;return new Proxy({},{get(r,e){if(e==="remove"){let M=o.get(Z,!1);if(M){if(M.childNodes.length===0)return M.remove.bind(M)}return()=>{}}let m=o.get(Z,!0),t=m[e];if(typeof t==="function")return t.bind(m);return t},set(r,e,m){let t=o.get(Z,!0);if(t)return Object.assign(t,{[e]:m}),!0;return!1}})},[o,Z,a.disabled]);return t1(()=>{return()=>{v===null||v===void 0||v.remove()}},[v]),nu(()=>{if(!v)return;let r=l.split(" ").filter(Boolean);return v.classList.add(...r),v.setAttribute("dir",c),v.setAttribute("data-portal-node","true"),h.current=v,()=>{v.classList.remove(...r),v.removeAttribute("dir")}},[l,c,v,h]),v},uu=(a)=>{let{targetDocument:l,dir:c}=g1(),h=zv(),Z=B7(),o=iu(),v=q8(),r={dir:c,disabled:a.disabled,focusVisibleRef:Z,className:k(v,o.root,a.className),targetNode:h!==null&&h!==void 0?h:l===null||l===void 0?void 0:l.body};if(nu)return ww(r);return pw(r)};var he=(a)=>{let{element:l,className:c}=sa(a.mountNode),h=q(null),Z=uu({disabled:!!l,className:c}),o=l!==null&&l!==void 0?l:Z,v={children:a.children,mountNode:o,virtualParentRootRef:h};return t1(()=>{if(!o)return;let r=h.current,e=o.contains(r);if(r&&!e)return $8(o,r),()=>{$8(o,void 0)}},[o]),v};C();C();var Ze=(a)=>{return/*@__PURE__*/m1("span",{hidden:!0,ref:a.virtualParentRootRef},a.mountNode&&/*@__PURE__*/kc(a.children,a.mountNode))};var U7=(a)=>{let l=he(a);return Ze(l)};U7.displayName="Portal";var ka=(a)=>{P(a);let l=/*@__PURE__*/R1(a.root,{children:[a.withArrow&&/*@__PURE__*/D("div",{ref:a.arrowRef,className:a.arrowClassName}),a.root.children]});if(a.inline)return l;return/*@__PURE__*/D(U7,{mountNode:a.mountNode,children:l})};var Sa={root:"fui-PopoverSurface"},k6={small:6,medium:8,large:8},Dw=/*@__PURE__*/f({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"f1noc5he",z0t1cu:"fi19xcv",Bks05zx:"f1mxk9aa",Bvtglag:"ffzg62k",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".f1noc5he{animation-name:f1m0q9mo,f79suad;}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}'],k:["@keyframes f1m0q9mo{from{opacity:-1;}to{opacity:0;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mxk9aa[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.ffzg62k[data-popper-placement]{animation-name:f1m0q9mo;}}"]}),S6=(a)=>{let l=Dw();return a.root.className=k(Sa.root,l.root,a.inline&&l.inline,a.size==="small"&&l.smallPadding,a.size==="medium"&&l.mediumPadding,a.size==="large"&&l.largePadding,a.appearance==="inverted"&&l.inverted,a.appearance==="brand"&&l.brand,a.root.className),a.arrowClassName=k(l.arrow,a.size==="small"?l.smallArrow:l.mediumLargeArrow),a};var g2=/*@__PURE__*/U((a,l)=>{let c=Da(a,l);return S6(c),z("usePopoverSurfaceStyles_unstable")(c),ka(c)});g2.displayName="PopoverSurface";var du=4;var Ba=(a)=>{let[l,c]=ce(),h={size:"medium",contextTarget:l,setContextTarget:c,...a},Z=y7.toArray(a.children);if(Z.length===0)console.warn("Popover must contain at least one child");if(Z.length>2)console.warn("Popover must contain at most two children");let o=void 0,v=void 0;if(Z.length===2)o=Z[0],v=Z[1];else if(Z.length===1)v=Z[0];let[r,e]=sw(h),[m,t]=N2(),M=A1((x,S)=>{if(t(),!(x instanceof Event)&&x.persist)x.persist();if(x.type==="mouseleave"){var p;m(()=>{e(x,S)},(p=a.mouseLeaveDelay)!==null&&p!==void 0?p:500)}else e(x,S)}),H=y((x)=>{M(x,!r)},[M,r]),A=kw(h),{targetDocument:V}=g1();var i;Mh({contains:E8,element:V,callback:(x)=>M(x,!1),refs:[A.triggerRef,A.contentRef],disabled:!r,disabledFocusOnIframe:!((i=a.closeOnIframeFocus)!==null&&i!==void 0?i:!0)});let u=h.openOnContext||h.closeOnScroll;th({contains:E8,element:V,callback:(x)=>M(x,!1),refs:[A.triggerRef,A.contentRef],disabled:!r||!u});let{findFirstFocusable:d}=S7(),L=Lh();t1(()=>{if(a.unstable_disableAutoFocus)return;let x=A.contentRef.current;if(r&&x){var S;let p=!isNaN((S=x.getAttribute("tabIndex"))!==null&&S!==void 0?S:void 0),I=p?x:d(x);if(I===null||I===void 0||I.focus(),p)L(x)}},[d,L,r,A.contentRef,a.unstable_disableAutoFocus]);var g,R;return{...h,...A,inertTrapFocus:(g=a.inertTrapFocus)!==null&&g!==void 0?g:a.legacyTrapFocus===void 0?!1:!a.legacyTrapFocus,popoverTrigger:o,popoverSurface:v,open:r,setOpen:M,toggleOpen:H,setContextTarget:c,contextTarget:l,inline:(R=a.inline)!==null&&R!==void 0?R:!1}};function sw(a){let l=A1((v,r)=>{var e;return(e=a.onOpenChange)===null||e===void 0?void 0:e.call(a,v,r)}),[c,h]=$5({state:a.open,defaultState:a.defaultOpen,initialState:!1});a.open=c!==void 0?c:a.open;let Z=a.setContextTarget,o=y((v,r)=>{if(r&&v.type==="contextmenu")Z(v);if(!r)Z(void 0);h(r),l===null||l===void 0||l(v,{open:r})},[h,l,Z]);return[c,o]}function kw(a){let l={position:"above",align:"center",arrowPadding:2*du,target:a.openOnContext?a.contextTarget:void 0,...D6(a.positioning)};if(l.coverTarget)a.withArrow=!1;if(a.withArrow)l.offset=yh(l.offset,k6[a.size]);let{targetRef:c,containerRef:h,arrowRef:Z}=le(l);return{triggerRef:c,contentRef:h,arrowRef:Z}}C();var fa=(a)=>{let{appearance:l,arrowRef:c,contentRef:h,inline:Z,mountNode:o,open:v,openOnContext:r,openOnHover:e,setOpen:m,size:t,toggleOpen:M,trapFocus:H,triggerRef:A,withArrow:V,inertTrapFocus:i}=a;return/*@__PURE__*/m1(Nh.Provider,{value:{appearance:l,arrowRef:c,contentRef:h,inline:Z,mountNode:o,open:v,openOnContext:r,openOnHover:e,setOpen:m,toggleOpen:M,triggerRef:A,size:t,trapFocus:H,inertTrapFocus:i,withArrow:V}},a.popoverTrigger,a.open&&a.popoverSurface)};var C2=(a)=>{let l=Ba(a);return fa(l)};C2.displayName="Popover";C();C();var Ta=(a)=>{let{children:l,disableButtonEnhancement:c=!1}=a,h=X3(l),Z=p0((g)=>g.open),o=p0((g)=>g.setOpen),v=p0((g)=>g.toggleOpen),r=p0((g)=>g.triggerRef),e=p0((g)=>g.openOnHover),m=p0((g)=>g.openOnContext),{triggerAttributes:t}=i2(),M=(g)=>{if(m)g.preventDefault(),o(g,!0)},H=(g)=>{if(!m)v(g)},A=(g)=>{if(g.key===l4&&Z&&!g.isDefaultPrevented())o(g,!1),g.preventDefault()},V=(g)=>{if(e)o(g,!0)},i=(g)=>{if(e)o(g,!1)},u={...t,"aria-expanded":`${Z}`,...h===null||h===void 0?void 0:h.props,onMouseEnter:A1(Y5(h===null||h===void 0?void 0:h.props.onMouseEnter,V)),onMouseLeave:A1(Y5(h===null||h===void 0?void 0:h.props.onMouseLeave,i)),onContextMenu:A1(Y5(h===null||h===void 0?void 0:h.props.onContextMenu,M)),ref:X1(r,h===null||h===void 0?void 0:h.ref)},d={...u,onClick:A1(Y5(h===null||h===void 0?void 0:h.props.onClick,H)),onKeyDown:A1(Y5(h===null||h===void 0?void 0:h.props.onKeyDown,A))},L=u2((h===null||h===void 0?void 0:h.type)==="button"||(h===null||h===void 0?void 0:h.type)==="a"?h.type:"div",d);return{children:M6(a.children,u2((h===null||h===void 0?void 0:h.type)==="button"||(h===null||h===void 0?void 0:h.type)==="a"?h.type:"div",m?u:c?d:L))}};var Wa=(a)=>{return a.children};var _5=(a)=>{let l=Ta(a);return Wa(l)};_5.displayName="PopoverTrigger";_5.isFluentTriggerComponent=!0;C();var O7=(a)=>{P(a);let{iconOnly:l,iconPosition:c}=a;return/*@__PURE__*/R1(a.root,{children:[c!=="after"&&a.icon&&/*@__PURE__*/D(a.icon,{}),!l&&a.root.children,c==="after"&&a.icon&&/*@__PURE__*/D(a.icon,{})]})};C();C();var Lu=o1(void 0),Bw={},t11=Lu.Provider,gu=()=>{var a;return(a=c1(Lu))!==null&&a!==void 0?a:Bw};var M3=(a,l)=>{let{size:c}=gu(),{appearance:h="secondary",as:Z="button",disabled:o=!1,disabledFocusable:v=!1,icon:r,iconPosition:e="before",shape:m="rounded",size:t=c!==null&&c!==void 0?c:"medium"}=a,M=B.optional(r,{elementType:"span"});return{appearance:h,disabled:o,disabledFocusable:v,iconPosition:e,shape:m,size:t,iconOnly:Boolean((M===null||M===void 0?void 0:M.children)&&!a.children),components:{root:"button",icon:"span"},root:B.always(_(Z,u2(a.as,a)),{elementType:"button",defaultProps:{ref:l,type:Z==="button"?"button":void 0}}),icon:M}};var B6={root:"fui-Button",icon:"fui-Button__icon"};var L11=`calc(${E1.strokeWidthThin} + 0.25px)`,fw=/*@__PURE__*/$("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),Tw=/*@__PURE__*/$("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),Ww=/*@__PURE__*/f({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),bw=/*@__PURE__*/f({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",Bm2fdqk:"fuigjrg",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",Bx3q9su:"f4dhi0o",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x",xd2cci:"fequ9m0"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fuigjrg .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4dhi0o:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fequ9m0:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Iw=/*@__PURE__*/f({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f12k37oa[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fdnykm2[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),Uw=/*@__PURE__*/f({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),Ow=/*@__PURE__*/f({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),t3=(a)=>{let l=fw(),c=Tw(),h=Ww(),Z=bw(),o=Iw(),v=Uw(),r=Ow(),{appearance:e,disabled:m,disabledFocusable:t,icon:M,iconOnly:H,iconPosition:A,shape:V,size:i}=a;if(a.root.className=k(B6.root,l,e&&h[e],h[i],M&&i==="small"&&h.smallWithIcon,M&&i==="large"&&h.largeWithIcon,h[V],(m||t)&&Z.base,(m||t)&&Z.highContrast,e&&(m||t)&&Z[e],e==="primary"&&o.primary,o[i],o[V],H&&v[i],a.root.className),a.icon)a.icon.className=k(B6.icon,c,!!a.root.children&&r[A],r[i],a.icon.className);return a};var C1=/*@__PURE__*/U((a,l)=>{let c=M3(a,l);return t3(c),z("useButtonStyles_unstable")(c),O7(c)});C1.displayName="Button";C();C();C();C();var Cu=o1(void 0),ba=Cu.Provider,M4=()=>c1(Cu);C();var Ia=(a)=>{var l,c,h,Z;let{generatedControlId:o,orientation:v,required:r,size:e,validationState:m}=a,t=(l=a.label)===null||l===void 0?void 0:l.htmlFor,M=(c=a.label)===null||c===void 0?void 0:c.id,H=(h=a.validationMessage)===null||h===void 0?void 0:h.id,A=(Z=a.hint)===null||Z===void 0?void 0:Z.id;return{field:x1(()=>({generatedControlId:o,hintId:A,labelFor:t,labelId:M,orientation:v,required:r,size:e,validationMessageId:H,validationState:m}),[o,A,t,M,v,r,e,H,m])}};function G7(a,l){return jh(M4(),a,l)}function jh(a,l,c){if(!a)return l;l={...l};let{generatedControlId:h,hintId:Z,labelFor:o,labelId:v,required:r,validationMessageId:e,validationState:m}=a;if(h){var t,M;(M=(t=l).id)!==null&&M!==void 0||(t.id=h)}if(v&&(!(c===null||c===void 0?void 0:c.supportsLabelFor)||o!==l.id)){var H,A,V;(V=(H=l)[A="aria-labelledby"])!==null&&V!==void 0||(H[A]=v)}if(e||Z)l["aria-describedby"]=[e,Z,l===null||l===void 0?void 0:l["aria-describedby"]].filter(Boolean).join(" ");if(m==="error"){var i,u,d;(d=(i=l)[u="aria-invalid"])!==null&&d!==void 0||(i[u]=!0)}if(r)if(c===null||c===void 0?void 0:c.supportsRequired){var L,g;(g=(L=l).required)!==null&&g!==void 0||(L.required=!0)}else{var R,x,S;(S=(R=l)[x="aria-required"])!==null&&S!==void 0||(R[x]=!0)}if(c===null||c===void 0?void 0:c.supportsSize){var p,I;(I=(p=l).size)!==null&&I!==void 0||(p.size=a.size)}return l}var Ua=(a,l)=>{P(a);let{children:c}=a;if(typeof c==="function")c=c(jh(l.field)||{});return/*@__PURE__*/D(ba,{value:l===null||l===void 0?void 0:l.field,children:/*@__PURE__*/R1(a.root,{children:[a.label&&/*@__PURE__*/D(a.label,{}),c,a.validationMessage&&/*@__PURE__*/R1(a.validationMessage,{children:[a.validationMessageIcon&&/*@__PURE__*/D(a.validationMessageIcon,{}),a.validationMessage.children]}),a.hint&&/*@__PURE__*/D(a.hint,{})]})})};C();C();C();var Oa=(a,l)=>{let{disabled:c=!1,required:h=!1,weight:Z="regular",size:o="medium"}=a;return{disabled:c,required:B.optional(h===!0?"*":h||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:Z,size:o,components:{root:"label",required:"span"},root:B.always(_("label",{ref:l,...a}),{elementType:"label"})}};var Ga=(a)=>{return P(a),/*@__PURE__*/R1(a.root,{children:[a.root.children,a.required&&/*@__PURE__*/D(a.required,{})]})};var Pa={root:"fui-Label",required:"fui-Label__required"},Gw=/*@__PURE__*/f({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),qa=(a)=>{let l=Gw();if(a.root.className=k(Pa.root,l.root,a.disabled&&l.disabled,l[a.size],a.weight==="semibold"&&l.semibold,a.root.className),a.required)a.required.className=k(Pa.required,l.required,a.disabled&&l.disabled,a.required.className);return a};var k0=/*@__PURE__*/U((a,l)=>{let c=Oa(a,l);return qa(c),z("useLabelStyles_unstable")(c),Ga(c)});k0.displayName="Label";var Pw={error:/*@__PURE__*/m1($i,null),warning:/*@__PURE__*/m1(ji,null),success:/*@__PURE__*/m1(zi,null),none:void 0},za=(a,l)=>{let{children:c,orientation:h="vertical",required:Z=!1,validationState:o=a.validationMessage?"error":"none",size:v="medium"}=a,r=m0("field-"),e=r+"__control",m=B.always(_("div",{...a,ref:l},["children"]),{elementType:"div"}),t=B.optional(a.label,{defaultProps:{htmlFor:e,id:r+"__label",required:Z,size:v},elementType:k0}),M=B.optional(a.validationMessage,{defaultProps:{id:r+"__validationMessage",role:o==="error"||o==="warning"?"alert":void 0},elementType:"div"}),H=B.optional(a.hint,{defaultProps:{id:r+"__hint"},elementType:"div"}),A=Pw[o],V=B.optional(a.validationMessageIcon,{renderByDefault:!!A,defaultProps:{children:A},elementType:"span"});return{children:c,generatedControlId:e,orientation:h,required:Z,size:v,validationState:o,components:{root:"div",label:k0,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:m,label:t,validationMessageIcon:V,validationMessage:M,hint:H}};var H3={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"};var qw=/*@__PURE__*/f({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),zw=/*@__PURE__*/f({vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),Qw=/*@__PURE__*/$("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),Jw=/*@__PURE__*/f({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),Kw=/*@__PURE__*/$("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),Xw=/*@__PURE__*/f({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),Qa=(a)=>{let{validationState:l,size:c}=a,h=a.orientation==="horizontal",Z=qw();a.root.className=k(H3.root,Z.base,h&&Z.horizontal,h&&!a.label&&Z.horizontalNoLabel,a.root.className);let o=zw();if(a.label)a.label.className=k(H3.label,h&&o.horizontal,h&&c==="small"&&o.horizontalSmall,h&&c==="large"&&o.horizontalLarge,!h&&o.vertical,!h&&c==="large"&&o.verticalLarge,a.label.className);let v=Kw(),r=Xw();if(a.validationMessageIcon)a.validationMessageIcon.className=k(H3.validationMessageIcon,v,l!=="none"&&r[l],a.validationMessageIcon.className);let e=Qw(),m=Jw();if(a.validationMessage)a.validationMessage.className=k(H3.validationMessage,e,l==="error"&&m.error,!!a.validationMessageIcon&&m.withIcon,a.validationMessage.className);if(a.hint)a.hint.className=k(H3.hint,e,a.hint.className);return a};var t4=/*@__PURE__*/U((a,l)=>{let c=za(a,l);Qa(c),z("useFieldStyles_unstable")(c);let h=Ia(c);return Ua(c,h)});t4.displayName="Field";var Ja=(a,l)=>{a=G7(a,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:c=!1,required:h,shape:Z="square",size:o="medium",labelPosition:v="after",onChange:r}=a,[e,m]=$5({defaultState:a.defaultChecked,state:a.checked,initialState:!1}),t=c3({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),M=e==="mixed",H=m0("checkbox-",t.primary.id),A;if(M)if(Z==="circular")A=/*@__PURE__*/m1(kh,null);else A=o==="large"?/*@__PURE__*/m1(Ni,null):/*@__PURE__*/m1(yi,null);else if(e)A=o==="large"?/*@__PURE__*/m1(qi,null):/*@__PURE__*/m1(Pi,null);let V={shape:Z,checked:e,disabled:c,size:o,labelPosition:v,components:{root:"span",input:"input",indicator:"div",label:k0},root:B.always(a.root,{defaultProps:{ref:V2(),...t.root},elementType:"span"}),input:B.always(a.input,{defaultProps:{type:"checkbox",id:H,ref:l,checked:e===!0,...t.primary},elementType:"input"}),label:B.optional(a.label,{defaultProps:{htmlFor:H,disabled:c,required:h,size:"medium"},elementType:k0}),indicator:B.optional(a.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:A},elementType:"div"})};V.input.onChange=A1((u)=>{let d=u.currentTarget.indeterminate?"mixed":u.currentTarget.checked;r===null||r===void 0||r(u,{checked:d}),m(d)});let i=X1(V.input.ref);return V.input.ref=i,K1(()=>{if(i.current)i.current.indeterminate=M},[i,M]),V};var Ka=(a)=>{return P(a),/*@__PURE__*/R1(a.root,{children:[/*@__PURE__*/D(a.input,{}),a.labelPosition==="before"&&a.label&&/*@__PURE__*/D(a.label,{}),a.indicator&&/*@__PURE__*/D(a.indicator,{}),a.labelPosition==="after"&&a.label&&/*@__PURE__*/D(a.label,{})]})};var H4={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"};var Ew=/*@__PURE__*/$("r1q22k1j","r18ze4k2",{r:[".r1q22k1j{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1q22k1j:focus{outline-style:none;}",".r1q22k1j:focus-visible{outline-style:none;}",".r1q22k1j[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1q22k1j[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r18ze4k2{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r18ze4k2:focus{outline-style:none;}",".r18ze4k2:focus-visible{outline-style:none;}",".r18ze4k2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r18ze4k2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1q22k1j[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r18ze4k2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),$w=/*@__PURE__*/f({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",Bbusuzp:"f1dcs8yz",mrqfp9:"fxb3eh3"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxb3eh3{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Yw=/*@__PURE__*/$("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),yw=/*@__PURE__*/f({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),Nw=/*@__PURE__*/$("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),jw=/*@__PURE__*/f({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),_w=/*@__PURE__*/f({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),Xa=(a)=>{let{checked:l,disabled:c,labelPosition:h,shape:Z,size:o}=a,v=Ew(),r=$w();a.root.className=k(H4.root,v,c?r.disabled:l==="mixed"?r.mixed:l?r.checked:r.unchecked,a.root.className);let e=Yw(),m=yw();a.input.className=k(H4.input,e,o==="large"&&m.large,m[h],a.input.className);let t=Nw(),M=jw();if(a.indicator)a.indicator.className=k(H4.indicator,t,o==="large"&&M.large,Z==="circular"&&M.circular,a.indicator.className);let H=_w();if(a.label)a.label.className=k(H4.label,H.base,H[o],H[h],a.label.className);return a};var A4=/*@__PURE__*/U((a,l)=>{let c=Ja(a,l);return Xa(c),z("useCheckboxStyles_unstable")(c),Ka(c)});A4.displayName="Checkbox";C();var Ea=(a)=>{return P(a),/*@__PURE__*/D(a.root,{children:a.root.children!==void 0&&/*@__PURE__*/D(a.wrapper,{children:a.root.children})})};C();var $a=(a,l)=>{let{alignContent:c="center",appearance:h="default",inset:Z=!1,vertical:o=!1,wrapper:v}=a,r=m0("divider-");return{alignContent:c,appearance:h,inset:Z,vertical:o,components:{root:"div",wrapper:"div"},root:B.always(_("div",{role:"separator","aria-orientation":o?"vertical":"horizontal","aria-labelledby":a.children?r:void 0,...a,ref:l}),{elementType:"div"}),wrapper:B.always(v,{defaultProps:{id:r,children:a.children},elementType:"div"})}};var Ya={root:"fui-Divider",wrapper:"fui-Divider__wrapper"};var aD=/*@__PURE__*/f({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"]}),lD=/*@__PURE__*/f({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),cD=/*@__PURE__*/f({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),ya=(a)=>{let l=aD(),c=lD(),h=cD(),{alignContent:Z,appearance:o,inset:v,vertical:r}=a;if(a.root.className=k(Ya.root,l.base,l[Z],o&&l[o],!r&&c.base,!r&&v&&c.inset,!r&&c[Z],r&&h.base,r&&v&&h.inset,r&&h[Z],r&&a.root.children!==void 0&&h.withChildren,a.root.children===void 0&&l.childless,a.root.className),a.wrapper)a.wrapper.className=k(Ya.wrapper,a.wrapper.className);return a};var O5=/*@__PURE__*/U((a,l)=>{let c=$a(a,l);return ya(c),z("useDividerStyles_unstable")(c),Ea(c)});O5.displayName="Divider";C();C();var Na=(a,l)=>{a=G7(a,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let c=v6();var h;let{size:Z="medium",appearance:o=(h=c.inputDefaultAppearance)!==null&&h!==void 0?h:"outline",onChange:v}=a;if(o==="filled-darker-shadow"||o==="filled-lighter-shadow")console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the future.");let[r,e]=$5({state:a.value,defaultState:a.defaultValue,initialState:""}),m=c3({props:a,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),t={size:Z,appearance:o,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:B.always(a.input,{defaultProps:{type:"text",ref:l,...m.primary},elementType:"input"}),contentAfter:B.optional(a.contentAfter,{elementType:"span"}),contentBefore:B.optional(a.contentBefore,{elementType:"span"}),root:B.always(a.root,{defaultProps:m.root,elementType:"span"})};return t.input.value=r,t.input.onChange=A1((M)=>{let H=M.target.value;v===null||v===void 0||v(M,{value:H}),e(H)}),t};var ja=(a)=>{return P(a),/*@__PURE__*/R1(a.root,{children:[a.contentBefore&&/*@__PURE__*/D(a.contentBefore,{}),/*@__PURE__*/D(a.input,{}),a.contentAfter&&/*@__PURE__*/D(a.contentAfter,{})]})};var V4={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"};var p51={root:{small:E1.spacingHorizontalSNudge,medium:E1.spacingHorizontalMNudge,large:E1.spacingHorizontalM},input:{small:E1.spacingHorizontalXXS,medium:E1.spacingHorizontalXXS,large:E1.spacingHorizontalSNudge},combined:{small:E1.spacingHorizontalS,medium:E1.spacingHorizontalM,large:`calc(${E1.spacingHorizontalM} + ${E1.spacingHorizontalSNudge})`}},hD=/*@__PURE__*/$("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),ZD=/*@__PURE__*/f({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),oD=/*@__PURE__*/$("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),vD=/*@__PURE__*/f({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),rD=/*@__PURE__*/$("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),eD=/*@__PURE__*/f({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),_a=(a)=>{let{size:l,appearance:c}=a,h=a.input.disabled,Z=`${a.input["aria-invalid"]}`==="true",o=c.startsWith("filled"),v=ZD(),r=vD(),e=eD();a.root.className=k(V4.root,hD(),v[l],a.contentBefore&&v[`${l}WithContentBefore`],a.contentAfter&&v[`${l}WithContentAfter`],v[c],!h&&c==="outline"&&v.outlineInteractive,!h&&c==="underline"&&v.underlineInteractive,!h&&o&&v.filledInteractive,o&&v.filled,!h&&Z&&v.invalid,h&&v.disabled,a.root.className),a.input.className=k(V4.input,oD(),r[l],a.contentBefore&&r[`${l}WithContentBefore`],a.contentAfter&&r[`${l}WithContentAfter`],h&&r.disabled,a.input.className);let m=[rD(),h&&e.disabled,e[l]];if(a.contentBefore)a.contentBefore.className=k(V4.contentBefore,...m,a.contentBefore.className);if(a.contentAfter)a.contentAfter.className=k(V4.contentAfter,...m,a.contentAfter.className);return a};var i5=/*@__PURE__*/U((a,l)=>{let c=Na(a,l);return _a(c),z("useInputStyles_unstable")(c),ja(c)});i5.displayName="Input";C();C();C();var a9=(a)=>{let{disabled:l,disabledFocusable:c}=a,{onClick:h,onKeyDown:Z,role:o,tabIndex:v}=a.root;if(a.root.as==="a"){if(a.root.href=l?void 0:a.root.href,l||c)a.root.role=o||"link"}if(a.root.as==="a"||a.root.as==="span")a.root.tabIndex=v!==null&&v!==void 0?v:l&&!c?void 0:0;if(a.root.onClick=(r)=>{if(l||c)r.preventDefault();else h===null||h===void 0||h(r)},a.root.onKeyDown=(r)=>{let e=r.key===a4||r.key===e3;if((l||c)&&e)r.preventDefault(),r.stopPropagation();else if(Z===null||Z===void 0||Z(r),a.root.as==="span"&&!!a.root.onClick&&!Z&&e)r.preventDefault(),r.currentTarget.click()},a.disabled=l||c,a.root["aria-disabled"]=l||c||void 0,a.root.as==="button")a.root.disabled=l&&!c;return a};C();var Fu=o1(void 0),oe={inline:!1},_h=Fu.Provider,aZ=()=>{var a;return(a=c1(Fu))!==null&&a!==void 0?a:oe};var l9=(a,l)=>{let c=r6(),{inline:h}=aZ(),{appearance:Z="default",disabled:o=!1,disabledFocusable:v=!1,inline:r=!1}=a,e=a.as||(a.href?"a":"button"),m={role:e==="span"?"button":void 0,type:e==="button"?"button":void 0,...a,as:e},t={appearance:Z,disabled:o,disabledFocusable:v,inline:r!==null&&r!==void 0?r:!!h,components:{root:e},root:B.always(_(e,{ref:l,...m}),{elementType:e}),backgroundAppearance:c};return a9(t),t};var lZ={root:"fui-Link"},mD=/*@__PURE__*/f({focusIndicator:{Bttzg6e:"fhgqx19",B3uz8dt:"f1olyrje",B6ihwck:"f1p93eir",g9k6zt:"f1nev41a"},root:{B486eqv:"f2hkw1w",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"fyind8e",Bceei9c:"f1k6fduh",mc9l5x:"f1w7gpdv",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",B68tc82:0,Bmxbyg5:0,Bpg54ce:"fnbmjn9",fsow6f:["f1o700av","fes3tcz"],w71qe1:"f1iuv45f",Bkioxbp:"f1cmlufx",ygn44y:"f9n3di6",famaaq:"f1ids18y",Bde5pd6:"f1tx3yz7",Bi91k9c:"f1deo86v",i089h6:"f1eh06m1",lj723h:"f1iescvh"},button:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"]},href:{Be2twd7:"fjoy568"},subtle:{sj55zd:"fkfq4zb",Bde5pd6:"f1tx3yz7",Bi91k9c:"fnwyq0v",i089h6:"f1eh06m1",lj723h:"flvvhsy"},inline:{w71qe1:"f13mvf36"},disabled:{w71qe1:"f1iuv45f",sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bde5pd6:"fbnuktb",Bi91k9c:"fvgxktp",i089h6:"fljg2da",lj723h:"f19wldhg"},inverted:{sj55zd:"f1qz2gb0",Bi91k9c:"f1mlt8il",lj723h:"f1hsd4st"}},{d:[".fhgqx19[data-fui-focus-visible]{text-decoration-color:var(--colorStrokeFocus2);}",".f1olyrje[data-fui-focus-visible]{text-decoration-line:underline;}",".f1p93eir[data-fui-focus-visible]{text-decoration-style:double;}",".f1nev41a[data-fui-focus-visible]{outline-style:none;}",".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".fyind8e{color:var(--colorBrandForegroundLink);}",".f1k6fduh{cursor:pointer;}",".f1w7gpdv{display:inline;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".fnbmjn9{overflow:inherit;}",{p:-1}],".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".f1iuv45f{text-decoration-line:none;}",".f1cmlufx{text-decoration-thickness:var(--strokeWidthThin);}",".f9n3di6{text-overflow:inherit;}",".f1ids18y{-webkit-user-select:text;-moz-user-select:text;user-select:text;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",".fjoy568{font-size:inherit;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f13mvf36{text-decoration-line:underline;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1tx3yz7:hover{text-decoration-line:underline;}",".f1deo86v:hover{color:var(--colorBrandForegroundLinkHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".fbnuktb:hover{text-decoration-line:none;}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1mlt8il:hover{color:var(--colorBrandForegroundInvertedHover);}"],a:[".f1eh06m1:active{text-decoration-line:underline;}",".f1iescvh:active{color:var(--colorBrandForegroundLinkPressed);}",".flvvhsy:active{color:var(--colorNeutralForeground2Pressed);}",".fljg2da:active{text-decoration-line:none;}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1hsd4st:active{color:var(--colorBrandForegroundInvertedPressed);}"]}),c9=(a)=>{let l=mD(),{appearance:c,disabled:h,inline:Z,root:o,backgroundAppearance:v}=a;return a.root.className=k(lZ.root,l.root,l.focusIndicator,o.as==="a"&&o.href&&l.href,o.as==="button"&&l.button,c==="subtle"&&l.subtle,v==="inverted"&&l.inverted,Z&&l.inline,h&&l.disabled,a.root.className),a};var h9=(a)=>{return P(a),/*@__PURE__*/D(a.root,{})};var O0=/*@__PURE__*/U((a,l)=>{let c=l9(a,l);return c9(c),z("useLinkStyles_unstable")(c),h9(c)});O0.displayName="Link";C();C();C();var Ru=o1(void 0),MD={},t21=Ru.Provider,xu=()=>{var a;return(a=c1(Ru))!==null&&a!==void 0?a:MD};var Z9=(a,l)=>{let{size:c}=xu(),{appearance:h="primary",labelPosition:Z="after",size:o=c!==null&&c!==void 0?c:"medium",delay:v=0}=a,r=m0("spinner"),{role:e="progressbar",...m}=a,t=B.always(_("div",{ref:l,role:e,...m},["size"]),{elementType:"div"}),[M,H]=e1(!1),[A,V]=N2();t1(()=>{if(v<=0)return;return A(()=>{H(!0)},v),()=>{V()}},[A,V,v]);let i=B.optional(a.label,{defaultProps:{id:r},renderByDefault:!1,elementType:k0}),u=B.optional(a.spinner,{renderByDefault:!0,elementType:"span"});if(i&&t&&!t["aria-labelledby"])t["aria-labelledby"]=i.id;return{appearance:h,delay:v,labelPosition:Z,size:o,shouldRenderSpinner:!v||M,components:{root:"div",spinner:"span",spinnerTail:"span",label:k0},root:t,spinner:u,spinnerTail:B.always(a.spinnerTail,{elementType:"span"}),label:i}};var o9=(a)=>{P(a);let{labelPosition:l,shouldRenderSpinner:c}=a;return/*@__PURE__*/R1(a.root,{children:[a.label&&c&&(l==="above"||l==="before")&&/*@__PURE__*/D(a.label,{}),a.spinner&&c&&/*@__PURE__*/D(a.spinner,{children:a.spinnerTail&&/*@__PURE__*/D(a.spinnerTail,{})}),a.label&&c&&(l==="below"||l==="after")&&/*@__PURE__*/D(a.label,{})]})};var i4={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"};var tD=/*@__PURE__*/$("r82apo5",null,[".r82apo5{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;}"]),HD=/*@__PURE__*/f({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),AD=/*@__PURE__*/$("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),VD=/*@__PURE__*/$("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),iD=/*@__PURE__*/f({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Br2kee7:"f1wkkxo7"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1wkkxo7{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),nD=/*@__PURE__*/f({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),v9=(a)=>{let{labelPosition:l,size:c,appearance:h}=a,{dir:Z}=g1(),o=tD(),v=HD(),r=AD(),e=iD(),m=VD(),t=nD();if(a.root.className=k(i4.root,o,(l==="above"||l==="below")&&v.vertical,a.root.className),a.spinner)a.spinner.className=k(i4.spinner,r,e[c],h==="inverted"&&e.inverted,a.spinner.className);if(a.spinnerTail)a.spinnerTail.className=k(i4.spinnerTail,m,Z==="rtl"&&e.rtlTail,a.spinnerTail.className);if(a.label)a.label.className=k(i4.label,t[c],h==="inverted"&&t.inverted,a.label.className);return a};var G5=/*@__PURE__*/U((a,l)=>{let c=Z9(a,l);return v9(c),z("useSpinnerStyles_unstable")(c),o9(c)});G5.displayName="Spinner";C();C();var r9=(a,l)=>{a=G7(a,{supportsLabelFor:!0,supportsRequired:!0});let{checked:c,defaultChecked:h,disabled:Z,labelPosition:o="after",onChange:v,required:r}=a,e=c3({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),m=m0("switch-",e.primary.id),t=B.always(a.root,{defaultProps:{ref:V2(),...e.root},elementType:"div"}),M=B.always(a.indicator,{defaultProps:{"aria-hidden":!0,children:/*@__PURE__*/m1(kh,null)},elementType:"div"}),H=B.always(a.input,{defaultProps:{checked:c,defaultChecked:h,id:m,ref:l,role:"switch",type:"checkbox",...e.primary},elementType:"input"});H.onChange=Y5(H.onChange,(V)=>v===null||v===void 0?void 0:v(V,{checked:V.currentTarget.checked}));let A=B.optional(a.label,{defaultProps:{disabled:Z,htmlFor:m,required:r,size:"medium"},elementType:k0});return{labelPosition:o,components:{root:"div",indicator:"div",input:"input",label:k0},root:t,indicator:M,input:H,label:A}};var e9=(a)=>{P(a);let{labelPosition:l}=a;return/*@__PURE__*/R1(a.root,{children:[/*@__PURE__*/D(a.input,{}),l!=="after"&&a.label&&/*@__PURE__*/D(a.label,{}),/*@__PURE__*/D(a.indicator,{}),l==="after"&&a.label&&/*@__PURE__*/D(a.label,{})]})};var A3={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},pu=A3.root,uD=2,dD=20;var J21=dD-uD,LD=/*@__PURE__*/$("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),gD=/*@__PURE__*/f({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),CD=/*@__PURE__*/$("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),FD=/*@__PURE__*/f({labelAbove:{B6of3ja:"f1hu3pq6"}},{d:[".f1hu3pq6{margin-top:0;}"]}),RD=/*@__PURE__*/$("rsji9ng","r15xih98",{r:[".rsji9ng{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rsji9ng:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",".rsji9ng:disabled{cursor:default;}",".rsji9ng:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".rsji9ng:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".rsji9ng:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".rsji9ng:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}",".r15xih98{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r15xih98:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",".r15xih98:disabled{cursor:default;}",".r15xih98:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".r15xih98:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".r15xih98:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".r15xih98:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".r15xih98:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".r15xih98:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".r15xih98:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".r15xih98:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}"],s:["@media (forced-colors: active){.rsji9ng:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rsji9ng:disabled~.fui-Switch__label{color:GrayText;}.rsji9ng:hover{color:CanvasText;}.rsji9ng:hover:active{color:CanvasText;}.rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}","@media (forced-colors: active){.r15xih98:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r15xih98:disabled~.fui-Switch__label{color:GrayText;}.r15xih98:hover{color:CanvasText;}.r15xih98:hover:active{color:CanvasText;}.r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}"]}),xD=/*@__PURE__*/f({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}"]}),pD=/*@__PURE__*/f({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),m9=(a)=>{let l=LD(),c=gD(),h=CD(),Z=FD(),o=RD(),v=xD(),r=pD(),{label:e,labelPosition:m}=a;if(a.root.className=k(A3.root,l,m==="above"&&c.vertical,a.root.className),a.indicator.className=k(A3.indicator,h,e&&m==="above"&&Z.labelAbove,a.indicator.className),a.input.className=k(A3.input,o,e&&v[m],a.input.className),a.label)a.label.className=k(A3.label,r.base,r[m],a.label.className);return a};var C0=/*@__PURE__*/U((a,l)=>{let c=r9(a,l);return m9(c),z("useSwitchStyles_unstable")(c),e9(c)});C0.displayName="Switch";C();C();var V3=(a,l)=>{let{wrap:c,truncate:h,block:Z,italic:o,underline:v,strikethrough:r,size:e,font:m,weight:t,align:M}=a;return{align:M!==null&&M!==void 0?M:"start",block:Z!==null&&Z!==void 0?Z:!1,font:m!==null&&m!==void 0?m:"base",italic:o!==null&&o!==void 0?o:!1,size:e!==null&&e!==void 0?e:300,strikethrough:r!==null&&r!==void 0?r:!1,truncate:h!==null&&h!==void 0?h:!1,underline:v!==null&&v!==void 0?v:!1,weight:t!==null&&t!==void 0?t:"regular",wrap:c!==null&&c!==void 0?c:!0,components:{root:"span"},root:B.always(_("span",{ref:l,...a}),{elementType:"span"})}};var i3=(a)=>{return P(a),/*@__PURE__*/D(a.root,{})};var M9={root:"fui-Text"},wD=/*@__PURE__*/f({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),n3=(a)=>{let l=wD();return a.root.className=k(M9.root,l.root,a.wrap===!1&&l.nowrap,a.truncate&&l.truncate,a.block&&l.block,a.italic&&l.italic,a.underline&&l.underline,a.strikethrough&&l.strikethrough,a.underline&&a.strikethrough&&l.strikethroughUnderline,a.size===100&&l.base100,a.size===200&&l.base200,a.size===400&&l.base400,a.size===500&&l.base500,a.size===600&&l.base600,a.size===700&&l.hero700,a.size===800&&l.hero800,a.size===900&&l.hero900,a.size===1000&&l.hero1000,a.font==="monospace"&&l.monospace,a.font==="numeric"&&l.numeric,a.weight==="medium"&&l.weightMedium,a.weight==="semibold"&&l.weightSemibold,a.weight==="bold"&&l.weightBold,a.align==="center"&&l.alignCenter,a.align==="end"&&l.alignEnd,a.align==="justify"&&l.alignJustify,a.root.className),a};var r7=/*@__PURE__*/U((a,l)=>{let c=V3(a,l);return n3(c),z("useTextStyles_unstable")(c),i3(c)});r7.displayName="Text";C();C();function e7(a){let{useStyles:l,className:c,displayName:h}=a,Z=U((o,v)=>{let r=l(),e=V3(o,v);return n3(e),e.root.className=k(c,e.root.className,r.root,o.className),i3(e)});return Z.displayName=h,Z}var t9={root:"fui-Body1"},wu=/*@__PURE__*/f({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]});var a2=e7({useStyles:wu,className:t9.root,displayName:"Body1"});C();var H9={root:"fui-Body1Strong"},Du=/*@__PURE__*/f({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]});var f6=e7({useStyles:Du,className:H9.root,displayName:"Body1Strong"});C();var A9={root:"fui-Subtitle1"},su=/*@__PURE__*/f({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f106mvju{line-height:var(--lineHeightBase500);}"]});var T6=e7({useStyles:su,className:A9.root,displayName:"Subtitle1"});C();var V9={root:"fui-Subtitle2"},ku=/*@__PURE__*/f({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]});var e5=e7({useStyles:ku,className:V9.root,displayName:"Subtitle2"});C();var i9={root:"fui-Title2"},Su=/*@__PURE__*/f({root:{Bahqtrf:"fk6fouc",Be2twd7:"fojgt09",Bhrd7zp:"fl43uef",Bg96gwp:"fcen8rp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcen8rp{line-height:var(--lineHeightHero700);}"]});var W6=e7({useStyles:Su,className:i9.root,displayName:"Title2"});C();C();C();var Bu=/*@__PURE__*/$("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),fu=/*@__PURE__*/$("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function Tu(){let a=Bu(),l=fu(),{targetDocument:c}=g1(),h=y(()=>{var o;if(!c)return;var v;if(!(Math.floor(c.body.getBoundingClientRect().height)>((v=(o=c.defaultView)===null||o===void 0?void 0:o.innerHeight)!==null&&v!==void 0?v:0)))return;c.documentElement.classList.add(a),c.body.classList.add(l);return},[c,a,l]),Z=y(()=>{if(!c)return;c.documentElement.classList.remove(a),c.body.classList.remove(l)},[c,a,l]);return{disableBodyScroll:h,enableBodyScroll:Z}}C();function ve(a,l){let{findFirstFocusable:c}=S7(),{targetDocument:h}=g1(),Z=q(null);return t1(()=>{if(!a)return;let o=Z.current&&c(Z.current);if(o)o.focus();else{var v;(v=Z.current)===null||v===void 0||v.focus(),console.warn("@fluentui/react-dialog [useFocusFirstElement]:\nA Dialog should have at least one focusable element inside DialogSurface.\nPlease add at least a close button either on `DialogTitle` action slot or inside `DialogActions`")}},[c,a,l,h]),Z}C();var DD={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},n9=_3(void 0),u9=n9.Provider,G0=(a)=>C6(n9,(l=DD)=>a(l));C();var sD=!1,re=o1(void 0),b6=re.Provider,d9=()=>{var a;return(a=c1(re))!==null&&a!==void 0?a:sD};var Wu=[{opacity:0,boxShadow:"0px 0px 0px 0px rgba(0, 0, 0, 0.1)",transform:"scale(0.85) translateZ(0)"},{boxShadow:E1.shadow64,transform:"scale(1) translateZ(0)",opacity:1}],ee=r5({enter:{keyframes:Wu,easing:T1.curveDecelerateMid,duration:T1.durationGentle},exit:{keyframes:[...Wu].reverse(),easing:T1.curveAccelerateMin,duration:T1.durationGentle}});var L9=(a)=>{let{children:l,modalType:c="modal",onOpenChange:h,inertTrapFocus:Z=!1}=a,[o,v]=kD(l),[r,e]=$5({state:a.open,defaultState:a.defaultOpen,initialState:!1}),m=A1((V)=>{if(h===null||h===void 0||h(V.event,V),!V.event.isDefaultPrevented())e(V.open)}),t=ve(r,c),{modalAttributes:M,triggerAttributes:H}=i2({trapFocus:c!=="non-modal",legacyTrapFocus:!Z}),A=xr(n9);return{components:{surfaceMotion:ee},inertTrapFocus:Z,open:r,modalType:c,content:v,trigger:o,requestOpenChange:m,dialogTitleId:m0("dialog-title-"),isNestedDialog:A,dialogRef:t,modalAttributes:M,triggerAttributes:H,surfaceMotion:c4(a.surfaceMotion,{elementType:ee,defaultProps:{appear:!0,visible:r,unmountOnExit:!0}})}};function kD(a){let l=y7.toArray(a);if(l.length!==1&&l.length!==2)console.warn(`@fluentui/react-dialog [useDialog]:
|
|
134
136
|
Dialog must contain at least one child <DialogSurface/>,
|
|
135
|
-
and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`);switch(l.length){case 2:return l;case 1:return[void 0,l[0]];default:return[void 0,void 0]}}g();g();var yu=/*@__PURE__*/J(void 0);function Iu(){return E(yu)}var Uu=/*@__PURE__*/T((a,l)=>{return/*@__PURE__*/q(yu.Provider,{value:l},a.children)});var W9=(a,l)=>{return G(a),/*@__PURE__*/w(B9,{value:l.dialog,children:/*@__PURE__*/R1(U6,{value:l.dialogSurface,children:[a.trigger,a.content&&/*@__PURE__*/w(a.surfaceMotion,{children:/*@__PURE__*/w(Uu,{children:a.content})})]})})};function vh(a){let{modalType:l,open:c,dialogRef:e,dialogTitleId:h,isNestedDialog:Z,inertTrapFocus:o,requestOpenChange:r,modalAttributes:v,triggerAttributes:t}=a,M={open:c,modalType:l,dialogRef:e,dialogTitleId:h,isNestedDialog:Z,inertTrapFocus:o,modalAttributes:v,triggerAttributes:t,requestOpenChange:r},m=!1;return{dialog:M,dialogSurface:!1}}var D5=/*@__PURE__*/b8((a)=>{let l=T9(a),c=vh(l);return W9(l,c)});D5.displayName="Dialog";g();g();var P9=(a)=>{let l=b9(),{children:c,disableButtonEnhancement:e=!1,action:h=l?"close":"open"}=a,Z=Y7(c),o=I0((m)=>m.requestOpenChange),{triggerAttributes:r}=V2(),v=i1((m)=>{var H,i;if(Z===null||Z===void 0||(H=(i=Z.props).onClick)===null||H===void 0||H.call(i,m),!m.isDefaultPrevented())o({event:m,type:"triggerClick",open:h==="open"})}),t={...Z===null||Z===void 0?void 0:Z.props,ref:Z===null||Z===void 0?void 0:Z.ref,onClick:v,...r},M=d2((Z===null||Z===void 0?void 0:Z.type)==="button"||(Z===null||Z===void 0?void 0:Z.type)==="a"?Z.type:"div",{...t,type:"button"});return{children:V6(c,e?t:M)}};var O9=(a)=>a.children;var U0=(a)=>{let l=P9(a);return O9(l)};U0.displayName="DialogTrigger";U0.isFluentTriggerComponent=!0;g();g();var y9=(a,l)=>{let{position:c="end",fluid:e=!1}=a;return{components:{root:"div"},root:B.always(c1("div",{ref:l,...a}),{elementType:"div"}),position:c,fluid:e}};var I9=(a)=>{return G(a),/*@__PURE__*/w(a.root,{})};var th={root:"fui-DialogActions"},Aw=/*@__PURE__*/N("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),Vw=/*@__PURE__*/S({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",B6n781s:"f1f41i0t",Bv5d0be:"f1jaqex3",v4ugfu:"f2ao6jk"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Bojbm9c:"f11ihkml",Bv5d0be:"fce5bvx",v4ugfu:"f2ao6jk"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1f41i0t{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1jaqex3{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f2ao6jk{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f11ihkml{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.fce5bvx{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),U9=(a)=>{let l=Aw(),c=Vw();return a.root.className=D(th.root,l,a.position==="start"&&c.gridPositionStart,a.position==="end"&&c.gridPositionEnd,a.fluid&&a.position==="start"&&c.fluidStart,a.fluid&&a.position==="end"&&c.fluidEnd,a.root.className),a};var F2=/*@__PURE__*/T((a,l)=>{let c=y9(a,l);return U9(c),z("useDialogActionsStyles_unstable")(c),I9(c)});F2.displayName="DialogActions";g();g();var E9=(a,l)=>{var c;return{components:{root:"div"},root:B.always(c1((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var G9=(a)=>{return G(a),/*@__PURE__*/w(a.root,{})};var mh={root:"fui-DialogBody"},uw=/*@__PURE__*/N("r1h3qql9",null,{r:[".r1h3qql9{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.r1h3qql9{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.r1h3qql9{max-height:unset;}}"]}),q9=(a)=>{let l=uw();return a.root.className=D(mh.root,l,a.root.className),a};var R2=/*@__PURE__*/T((a,l)=>{let c=E9(a,l);return q9(c),z("useDialogBodyStyles_unstable")(c),G9(c)});R2.displayName="DialogBody";g();g();g();g();var uv=J(void 0),dw={},Y61=uv.Provider,Eu=()=>E(uv)?E(uv):dw;var Cw=S({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),Gu=(a,l)=>{let{title:c,primaryFill:e="currentColor",...h}=a,Z={...h,title:void 0,fill:e},o=Cw(),r=Eu();if(Z.className=D(o.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(r===null||r===void 0?void 0:r.textDirection)==="rtl"&&o.rtl,Z.className),c)Z["aria-label"]=c;if(!Z["aria-label"]&&!Z["aria-labelledby"])Z["aria-hidden"]=!0;else Z.role="img";return Z};var qu=(a,l,c,e)=>{let h=l==="1em"?"20":l,Z=T((o,r)=>{let v={...Gu(o,{flipInRtl:e===null||e===void 0?void 0:e.flipInRtl}),ref:r,width:l,height:l,viewBox:`0 0 ${h} ${h}`,xmlns:"http://www.w3.org/2000/svg"};return q("svg",v,...c.map((t)=>q("path",{d:t,fill:v.fill})))});return Z.displayName=a,Z};var zu=/*@__PURE__*/qu("Dismiss20Regular","20",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]);var E6={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},gw=/*@__PURE__*/N("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),pw=/*@__PURE__*/S({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),Lw=/*@__PURE__*/N("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),Mh=/*@__PURE__*/N("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),d7=(a)=>{let l=gw(),c=Lw(),e=pw();if(a.root.className=D(E6.root,l,!a.action&&e.rootWithoutAction,a.root.className),a.action)a.action.className=D(E6.action,c,a.action.className);return a};var z9=(a,l)=>{let{action:c}=a,e=I0((Z)=>Z.modalType),h=Mh();return{components:{root:"h2",action:"div"},root:B.always(c1("h2",{ref:l,id:I0((Z)=>Z.dialogTitleId),...a}),{elementType:"h2"}),action:B.optional(c,{renderByDefault:e==="non-modal",defaultProps:{children:/*@__PURE__*/q(U0,{disableButtonEnhancement:!0,action:"close"},/*@__PURE__*/q("button",{type:"button",className:h,"aria-label":"close"},/*@__PURE__*/q(zu,null)))},elementType:"div"})}};var K9=(a)=>{return G(a),/*@__PURE__*/R1(n1,{children:[/*@__PURE__*/w(a.root,{children:a.root.children}),a.action&&/*@__PURE__*/w(a.action,{})]})};var x2=/*@__PURE__*/T((a,l)=>{let c=z9(a,l);return d7(c),z("useDialogTitleStyles_unstable")(c),K9(c)});x2.displayName="DialogTitle";g();g();var dv=ze;var C7=(a,l)=>{let c=Iu(),e=I0((A)=>A.modalType),h=I0((A)=>A.isNestedDialog),Z=I0((A)=>A.modalAttributes),o=I0((A)=>A.dialogRef),r=I0((A)=>A.requestOpenChange),v=I0((A)=>A.dialogTitleId),t=I0((A)=>A.open),M=i1((A)=>{if(Ce(a.backdrop)){var u,d;(u=(d=a.backdrop).onClick)===null||u===void 0||u.call(d,A)}if(e==="modal"&&!A.isDefaultPrevented())r({event:A,open:!1,type:"backdropClick"})}),m=i1((A)=>{var u;if((u=a.onKeyDown)===null||u===void 0||u.call(a,A),A.key===Z4&&!A.isDefaultPrevented())r({event:A,open:!1,type:"escapeKeyDown"}),A.preventDefault()}),H=B.optional(a.backdrop,{renderByDefault:e!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});if(H)H.onClick=M;let{disableBodyScroll:i,enableBodyScroll:n}=Pu();return z1(()=>{if(h||e==="non-modal")return;return i(),()=>{n()}},[n,h,i,e]),{components:{backdrop:"div",root:"div",backdropMotion:dv},open:t,backdrop:H,isNestedDialog:h,mountNode:a.mountNode,root:B.always(c1("div",{tabIndex:-1,"aria-modal":e!=="non-modal",role:e==="alert"?"alertdialog":"dialog","aria-labelledby":a["aria-label"]?void 0:v,...a,...Z,onKeyDown:m,ref:K1(l,c,o)}),{elementType:"div"}),backdropMotion:o4(a.backdropMotion,{elementType:dv,defaultProps:{appear:!0,visible:t}}),transitionStatus:void 0}};var g7=(a,l)=>{return G(a),/*@__PURE__*/R1(y3,{mountNode:a.mountNode,children:[a.backdrop&&a.backdropMotion&&/*@__PURE__*/w(a.backdropMotion,{children:/*@__PURE__*/w(a.backdrop,{})}),/*@__PURE__*/w(U6,{value:l.dialogSurface,children:/*@__PURE__*/w(a.root,{})})]})};var Q9={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},Fw=/*@__PURE__*/N("rsmdyd3","rup8wml",{r:[".rsmdyd3{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".rsmdyd3:focus{outline-style:none;}",".rsmdyd3:focus-visible{outline-style:none;}",".rsmdyd3[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rsmdyd3[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rup8wml{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".rup8wml:focus{outline-style:none;}",".rup8wml:focus-visible{outline-style:none;}",".rup8wml[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rup8wml[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.rsmdyd3[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.rsmdyd3{max-width:100vw;}}","@media screen and (max-height: 359px){.rsmdyd3{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.rup8wml[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.rup8wml{max-width:100vw;}}","@media screen and (max-height: 359px){.rup8wml{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),Rw=/*@__PURE__*/N("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),xw=/*@__PURE__*/S({nestedDialogBackdrop:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),J9=(a)=>{let{isNestedDialog:l,root:c,backdrop:e}=a,h=Fw(),Z=Rw(),o=xw();if(c.className=D(Q9.root,h,c.className),e)e.className=D(Q9.backdrop,Z,l&&o.nestedDialogBackdrop,e.className);return a};function p7(a){return{dialogSurface:!0}}var s2=/*@__PURE__*/T((a,l)=>{let c=C7(a,l),e=p7(c);return J9(c),z("useDialogSurfaceStyles_unstable")(c),g7(c,e)});s2.displayName="DialogSurface";g();g();var $9=(a,l)=>{var c;return{components:{root:"div"},root:B.always(c1((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var X9=(a)=>{return G(a),/*@__PURE__*/w(a.root,{})};var Hh={root:"fui-DialogContent"},sw=/*@__PURE__*/N("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),Y9=(a)=>{let l=sw();return a.root.className=D(Hh.root,l,a.root.className),a};var D2=/*@__PURE__*/T((a,l)=>{let c=$9(a,l);return Y9(c),z("useDialogContentStyles_unstable")(c),X9(c)});D2.displayName="DialogContent";g();g();var Cv=(a)=>{let l=a<=0?1:a;if(a<=0)console.error(`The prop 'max' must be greater than 0. Received max: ${a}`);return l};var gv=(a,l)=>{if(a===void 0)return a;let c=a<0?0:a>l?l:a;if(a<0)console.error(`The prop 'value' must be greater than or equal to zero. Received value: ${a}`);if(a>l)console.error(`The prop 'value' must be less than or equal to 'max'. Received value: ${a}, max: ${l}`);return c};var N9=(a,l)=>{let c=A4(),e=c===null||c===void 0?void 0:c.validationState,{color:h=e==="error"||e==="warning"||e==="success"?e:"brand",shape:Z="rounded",thickness:o="medium"}=a;var r;let v=Cv((r=a.max)!==null&&r!==void 0?r:1),t=gv(a.value,v),M=B.always(c1("div",{ref:l,role:"progressbar","aria-valuemin":t!==void 0?0:void 0,"aria-valuemax":t!==void 0?v:void 0,"aria-valuenow":t,"aria-labelledby":c===null||c===void 0?void 0:c.labelId,...a}),{elementType:"div"});if(c&&(c.validationMessageId||c.hintId))M["aria-describedby"]=[c===null||c===void 0?void 0:c.validationMessageId,c===null||c===void 0?void 0:c.hintId,M["aria-describedby"]].filter(Boolean).join(" ");let m=B.always(a.bar,{elementType:"div"});return{color:h,max:v,shape:Z,thickness:o,value:t,components:{root:"div",bar:"div"},root:M,bar:m}};var j9=(a)=>{return G(a),/*@__PURE__*/w(a.root,{children:a.bar&&/*@__PURE__*/w(a.bar,{})})};var _9={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},Dw=0.01;var ww=/*@__PURE__*/S({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bpep1pd:"fu42dvn"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.fu42dvn{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),kw=/*@__PURE__*/S({base:{Bpep1pd:"f1neahkh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f12b9xdw",Bqenvij:"f1l02sjl"},nonZeroDeterminate:{Bmy1vo4:"fjt6zfz",B3o57yi:"f1wofebd",Bkqvd7p:"fv71qf3"},indeterminate:{B2u0y6b:"fa0wk36",qhf8xq:"f10pi13n",Bcmaq0h:["fpo0yib","f1u5hf6c"],Bv12yb3:["fwd2bol","f14gig94"],vin17d:"f1a27w2r",Ezkn3b:"f452v7t",w3vfg9:"f1cpbl36",Gqtpxc:"f4akx1t",B3vm3ge:"f18p5put"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1neahkh{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f4akx1t{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f18p5put{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[[".f12b9xdw{border-radius:inherit;}",{p:-1}],".f1l02sjl{height:100%;}",".fjt6zfz{transition-property:width;}",".f1wofebd{transition-duration:0.3s;}",".fv71qf3{transition-timing-function:ease;}",".fa0wk36{max-width:33%;}",".f10pi13n{position:relative;}",`.fpo0yib{background-image:linear-gradient(
|
|
137
|
+
and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`);switch(l.length){case 2:return l;case 1:return[void 0,l[0]];default:return[void 0,void 0]}}C();C();var bu=/*@__PURE__*/o1(void 0);function Iu(){return c1(bu)}var Uu=/*@__PURE__*/U((a,l)=>{return/*@__PURE__*/m1(bu.Provider,{value:l},a.children)});var g9=(a,l)=>{return P(a),/*@__PURE__*/D(u9,{value:l.dialog,children:/*@__PURE__*/R1(b6,{value:l.dialogSurface,children:[a.trigger,a.content&&/*@__PURE__*/D(a.surfaceMotion,{children:/*@__PURE__*/D(Uu,{children:a.content})})]})})};function cZ(a){let{modalType:l,open:c,dialogRef:h,dialogTitleId:Z,isNestedDialog:o,inertTrapFocus:v,requestOpenChange:r,modalAttributes:e,triggerAttributes:m}=a,t={open:c,modalType:l,dialogRef:h,dialogTitleId:Z,isNestedDialog:o,inertTrapFocus:v,modalAttributes:e,triggerAttributes:m,requestOpenChange:r},M=!1;return{dialog:t,dialogSurface:!1}}var D5=/*@__PURE__*/sc((a)=>{let l=L9(a),c=cZ(l);return g9(l,c)});D5.displayName="Dialog";C();C();var C9=(a)=>{let l=d9(),{children:c,disableButtonEnhancement:h=!1,action:Z=l?"close":"open"}=a,o=X3(c),v=G0((M)=>M.requestOpenChange),{triggerAttributes:r}=i2(),e=A1((M)=>{var H,A;if(o===null||o===void 0||(H=(A=o.props).onClick)===null||H===void 0||H.call(A,M),!M.isDefaultPrevented())v({event:M,type:"triggerClick",open:Z==="open"})}),m={...o===null||o===void 0?void 0:o.props,ref:o===null||o===void 0?void 0:o.ref,onClick:e,...r},t=u2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",{...m,type:"button"});return{children:M6(c,h?m:t)}};var F9=(a)=>a.children;var P0=(a)=>{let l=C9(a);return F9(l)};P0.displayName="DialogTrigger";P0.isFluentTriggerComponent=!0;C();C();var R9=(a,l)=>{let{position:c="end",fluid:h=!1}=a;return{components:{root:"div"},root:B.always(_("div",{ref:l,...a}),{elementType:"div"}),position:c,fluid:h}};var x9=(a)=>{return P(a),/*@__PURE__*/D(a.root,{})};var hZ={root:"fui-DialogActions"},SD=/*@__PURE__*/$("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),BD=/*@__PURE__*/f({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",B6n781s:"f1f41i0t",Bv5d0be:"f1jaqex3",v4ugfu:"f2ao6jk"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Bojbm9c:"f11ihkml",Bv5d0be:"fce5bvx",v4ugfu:"f2ao6jk"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1f41i0t{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1jaqex3{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f2ao6jk{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f11ihkml{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.fce5bvx{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),p9=(a)=>{let l=SD(),c=BD();return a.root.className=k(hZ.root,l,a.position==="start"&&c.gridPositionStart,a.position==="end"&&c.gridPositionEnd,a.fluid&&a.position==="start"&&c.fluidStart,a.fluid&&a.position==="end"&&c.fluidEnd,a.root.className),a};var F2=/*@__PURE__*/U((a,l)=>{let c=R9(a,l);return p9(c),z("useDialogActionsStyles_unstable")(c),x9(c)});F2.displayName="DialogActions";C();C();var w9=(a,l)=>{var c;return{components:{root:"div"},root:B.always(_((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var D9=(a)=>{return P(a),/*@__PURE__*/D(a.root,{})};var ZZ={root:"fui-DialogBody"},fD=/*@__PURE__*/$("r1h3qql9",null,{r:[".r1h3qql9{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.r1h3qql9{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.r1h3qql9{max-height:unset;}}"]}),s9=(a)=>{let l=fD();return a.root.className=k(ZZ.root,l,a.root.className),a};var R2=/*@__PURE__*/U((a,l)=>{let c=w9(a,l);return s9(c),z("useDialogBodyStyles_unstable")(c),D9(c)});R2.displayName="DialogBody";C();C();var I6={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},TD=/*@__PURE__*/$("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),WD=/*@__PURE__*/f({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),bD=/*@__PURE__*/$("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),oZ=/*@__PURE__*/$("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),u3=(a)=>{let l=TD(),c=bD(),h=WD();if(a.root.className=k(I6.root,l,!a.action&&h.rootWithoutAction,a.root.className),a.action)a.action.className=k(I6.action,c,a.action.className);return a};var k9=(a,l)=>{let{action:c}=a,h=G0((o)=>o.modalType),Z=oZ();return{components:{root:"h2",action:"div"},root:B.always(_("h2",{ref:l,id:G0((o)=>o.dialogTitleId),...a}),{elementType:"h2"}),action:B.optional(c,{renderByDefault:h==="non-modal",defaultProps:{children:/*@__PURE__*/m1(P0,{disableButtonEnhancement:!0,action:"close"},/*@__PURE__*/m1("button",{type:"button",className:Z,"aria-label":"close"},/*@__PURE__*/m1(Xi,null)))},elementType:"div"})}};var S9=(a)=>{return P(a),/*@__PURE__*/R1(V1,{children:[/*@__PURE__*/D(a.root,{children:a.root.children}),a.action&&/*@__PURE__*/D(a.action,{})]})};var x2=/*@__PURE__*/U((a,l)=>{let c=k9(a,l);return u3(c),z("useDialogTitleStyles_unstable")(c),S9(c)});x2.displayName="DialogTitle";C();C();var me=Oh;var d3=(a,l)=>{let c=Iu(),h=G0((i)=>i.modalType),Z=G0((i)=>i.isNestedDialog),o=G0((i)=>i.modalAttributes),v=G0((i)=>i.dialogRef),r=G0((i)=>i.requestOpenChange),e=G0((i)=>i.dialogTitleId),m=G0((i)=>i.open),t=A1((i)=>{if(Zh(a.backdrop)){var u,d;(u=(d=a.backdrop).onClick)===null||u===void 0||u.call(d,i)}if(h==="modal"&&!i.isDefaultPrevented())r({event:i,open:!1,type:"backdropClick"})}),M=A1((i)=>{var u;if((u=a.onKeyDown)===null||u===void 0||u.call(a,i),i.key===l4&&!i.isDefaultPrevented())r({event:i,open:!1,type:"escapeKeyDown"}),i.preventDefault()}),H=B.optional(a.backdrop,{renderByDefault:h!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});if(H)H.onClick=t;let{disableBodyScroll:A,enableBodyScroll:V}=Tu();return K1(()=>{if(Z||h==="non-modal")return;return A(),()=>{V()}},[V,Z,A,h]),{components:{backdrop:"div",root:"div",backdropMotion:me},open:m,backdrop:H,isNestedDialog:Z,mountNode:a.mountNode,root:B.always(_("div",{tabIndex:-1,"aria-modal":h!=="non-modal",role:h==="alert"?"alertdialog":"dialog","aria-labelledby":a["aria-label"]?void 0:e,...a,...o,onKeyDown:M,ref:X1(l,c,v)}),{elementType:"div"}),backdropMotion:c4(a.backdropMotion,{elementType:me,defaultProps:{appear:!0,visible:m}}),transitionStatus:void 0}};var L3=(a,l)=>{return P(a),/*@__PURE__*/R1(U7,{mountNode:a.mountNode,children:[a.backdrop&&a.backdropMotion&&/*@__PURE__*/D(a.backdropMotion,{children:/*@__PURE__*/D(a.backdrop,{})}),/*@__PURE__*/D(b6,{value:l.dialogSurface,children:/*@__PURE__*/D(a.root,{})})]})};var B9={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},ID=/*@__PURE__*/$("rsmdyd3","rup8wml",{r:[".rsmdyd3{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".rsmdyd3:focus{outline-style:none;}",".rsmdyd3:focus-visible{outline-style:none;}",".rsmdyd3[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rsmdyd3[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rup8wml{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".rup8wml:focus{outline-style:none;}",".rup8wml:focus-visible{outline-style:none;}",".rup8wml[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rup8wml[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.rsmdyd3[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.rsmdyd3{max-width:100vw;}}","@media screen and (max-height: 359px){.rsmdyd3{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.rup8wml[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.rup8wml{max-width:100vw;}}","@media screen and (max-height: 359px){.rup8wml{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),UD=/*@__PURE__*/$("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),OD=/*@__PURE__*/f({nestedDialogBackdrop:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),f9=(a)=>{let{isNestedDialog:l,root:c,backdrop:h}=a,Z=ID(),o=UD(),v=OD();if(c.className=k(B9.root,Z,c.className),h)h.className=k(B9.backdrop,o,l&&v.nestedDialogBackdrop,h.className);return a};function g3(a){return{dialogSurface:!0}}var p2=/*@__PURE__*/U((a,l)=>{let c=d3(a,l),h=g3(c);return f9(c),z("useDialogSurfaceStyles_unstable")(c),L3(c,h)});p2.displayName="DialogSurface";C();C();var T9=(a,l)=>{var c;return{components:{root:"div"},root:B.always(_((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var W9=(a)=>{return P(a),/*@__PURE__*/D(a.root,{})};var vZ={root:"fui-DialogContent"},GD=/*@__PURE__*/$("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),b9=(a)=>{let l=GD();return a.root.className=k(vZ.root,l,a.root.className),a};var w2=/*@__PURE__*/U((a,l)=>{let c=T9(a,l);return b9(c),z("useDialogContentStyles_unstable")(c),W9(c)});w2.displayName="DialogContent";C();C();var Me=(a)=>{let l=a<=0?1:a;if(a<=0)console.error(`The prop 'max' must be greater than 0. Received max: ${a}`);return l};var te=(a,l)=>{if(a===void 0)return a;let c=a<0?0:a>l?l:a;if(a<0)console.error(`The prop 'value' must be greater than or equal to zero. Received value: ${a}`);if(a>l)console.error(`The prop 'value' must be less than or equal to 'max'. Received value: ${a}, max: ${l}`);return c};var I9=(a,l)=>{let c=M4(),h=c===null||c===void 0?void 0:c.validationState,{color:Z=h==="error"||h==="warning"||h==="success"?h:"brand",shape:o="rounded",thickness:v="medium"}=a;var r;let e=Me((r=a.max)!==null&&r!==void 0?r:1),m=te(a.value,e),t=B.always(_("div",{ref:l,role:"progressbar","aria-valuemin":m!==void 0?0:void 0,"aria-valuemax":m!==void 0?e:void 0,"aria-valuenow":m,"aria-labelledby":c===null||c===void 0?void 0:c.labelId,...a}),{elementType:"div"});if(c&&(c.validationMessageId||c.hintId))t["aria-describedby"]=[c===null||c===void 0?void 0:c.validationMessageId,c===null||c===void 0?void 0:c.hintId,t["aria-describedby"]].filter(Boolean).join(" ");let M=B.always(a.bar,{elementType:"div"});return{color:Z,max:e,shape:o,thickness:v,value:m,components:{root:"div",bar:"div"},root:t,bar:M}};var U9=(a)=>{return P(a),/*@__PURE__*/D(a.root,{children:a.bar&&/*@__PURE__*/D(a.bar,{})})};var O9={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},PD=0.01;var qD=/*@__PURE__*/f({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bpep1pd:"fu42dvn"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.fu42dvn{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),zD=/*@__PURE__*/f({base:{Bpep1pd:"f1neahkh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f12b9xdw",Bqenvij:"f1l02sjl"},nonZeroDeterminate:{Bmy1vo4:"fjt6zfz",B3o57yi:"f1wofebd",Bkqvd7p:"fv71qf3"},indeterminate:{B2u0y6b:"fa0wk36",qhf8xq:"f10pi13n",Bcmaq0h:["fpo0yib","f1u5hf6c"],Bv12yb3:["fwd2bol","f14gig94"],vin17d:"f1a27w2r",Ezkn3b:"f452v7t",w3vfg9:"f1cpbl36",Gqtpxc:"f4akx1t",B3vm3ge:"f18p5put"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1neahkh{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f4akx1t{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f18p5put{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[[".f12b9xdw{border-radius:inherit;}",{p:-1}],".f1l02sjl{height:100%;}",".fjt6zfz{transition-property:width;}",".f1wofebd{transition-duration:0.3s;}",".fv71qf3{transition-timing-function:ease;}",".fa0wk36{max-width:33%;}",".f10pi13n{position:relative;}",`.fpo0yib{background-image:linear-gradient(
|
|
136
138
|
to right,
|
|
137
139
|
var(--colorNeutralBackground6) 0%,
|
|
138
140
|
var(--colorTransparentBackground) 50%,
|
|
@@ -142,28 +144,28 @@ and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`);sw
|
|
|
142
144
|
var(--colorNeutralBackground6) 0%,
|
|
143
145
|
var(--colorTransparentBackground) 50%,
|
|
144
146
|
var(--colorNeutralBackground6) 100%
|
|
145
|
-
);}`,".fwd2bol{animation-name:f1keuaan;}",".f14gig94{animation-name:f10x8f8u;}",".f1a27w2r{animation-duration:3s;}",".f452v7t{animation-timing-function:linear;}",".f1cpbl36{animation-iteration-count:infinite;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"],k:["@keyframes f1keuaan{0%{left:-33%;}100%{left:100%;}}","@keyframes f10x8f8u{0%{right:-33%;}100%{right:100%;}}"]}),al=(a)=>{let{color:l,max:c,shape:e,thickness:h,value:Z}=a,o=ww(),r=kw();if(a.root.className=D(_9.root,o.root,o[e],o[h],a.root.className),a.bar)a.bar.className=D(_9.bar,r.base,r.brand,Z===void 0&&r.indeterminate,Z!==void 0&&Z>Dw&&r.nonZeroDeterminate,l&&Z!==void 0&&r[l],a.bar.className);if(a.bar&&Z!==void 0)a.bar.style={width:Math.min(100,Math.max(0,Z/c*100))+"%",...a.bar.style};return a};var E3=/*@__PURE__*/T((a,l)=>{let c=N9(a,l);return al(c),z("useProgressBarStyles_unstable")(c),j9(c)});E3.displayName="ProgressBar";g();g();var ll=(a,l)=>{let{size:c="medium",vertical:e=!1}=a,h=ia({circular:!0,axis:"both"}),Z={size:c,vertical:e,components:{root:"div"},root:B.always(c1("div",{role:"toolbar",ref:l,...e&&{"aria-orientation":"vertical"},...h,...a}),{elementType:"div"})},[o,r]=Sw({checkedValues:a.checkedValues,defaultCheckedValues:a.defaultCheckedValues,onCheckedValueChange:a.onCheckedValueChange}),v=i1((M,m,H,i)=>{if(m&&H){let A=[...(o===null||o===void 0?void 0:o[m])||[]];if(i)A.splice(A.indexOf(H),1);else A.push(H);r===null||r===void 0||r(M,{name:m,checkedItems:A})}}),t=i1((M,m,H,i)=>{if(m&&H)r===null||r===void 0||r(M,{name:m,checkedItems:[H]})});return{...Z,handleToggleButton:v,handleRadio:t,checkedValues:o!==null&&o!==void 0?o:{}}},Sw=(a)=>{let[l,c]=Y5({state:a.checkedValues,defaultState:a.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:e}=a,h=i1((Z,{name:o,checkedItems:r})=>{if(e)e(Z,{name:o,checkedItems:r});c((v)=>{return v?{...v,[o]:r}:{[o]:r}})});return[l,h]};var Ku=e4(void 0);var cl=(a,l)=>{return G(a),/*@__PURE__*/w(Ku.Provider,{value:l.toolbar,children:/*@__PURE__*/w(a.root,{children:a.root.children})})};var ih={root:"fui-Toolbar"},fw=/*@__PURE__*/S({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},vertical:{Beiy3e4:"f1vx9l62",a9b677:"f1acs6jw"},small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fvz760z"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ms6bdn"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".f1yqiaad{padding:4px 8px;}",{p:-1}],".f1vx9l62{flex-direction:column;}",".f1acs6jw{width:fit-content;}",[".fvz760z{padding:0px 4px;}",{p:-1}],[".f1yqiaad{padding:4px 8px;}",{p:-1}],[".f1ms6bdn{padding:4px 20px;}",{p:-1}]]}),el=(a)=>{let l=fw(),{vertical:c,size:e}=a;return a.root.className=D(ih.root,l.root,c&&l.vertical,e==="small"&&!c&&l.small,e==="medium"&&!c&&l.medium,e==="large"&&!c&&l.large,a.root.className),a};function Qu(a){let{size:l,handleToggleButton:c,vertical:e,checkedValues:h,handleRadio:Z}=a;return{toolbar:{size:l,vertical:e,handleToggleButton:c,handleRadio:Z,checkedValues:h}}}var p4=/*@__PURE__*/T((a,l)=>{let c=ll(a,l),e=Qu(c);return el(c),z("useToolbarStyles_unstable")(c),cl(c,e)});p4.displayName="Toolbar";g();var Bw=/*@__PURE__*/S({vertical:{Beiy3e4:"f1vx9l62"},verticalIcon:{Be2twd7:"f1rt2boy",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao"}},{d:[".f1vx9l62{flex-direction:column;}",".f1rt2boy{font-size:24px;}",[".f1s184ao{margin:0;}",{p:-1}]]}),hl=(a)=>{M7(a);let l=Bw();if(a.root.className=D(a.root.className,a.vertical&&l.vertical),a.icon)a.icon.className=D(a.icon.className,a.vertical&&l.verticalIcon)};g();var Zl=(a,l)=>{let{vertical:c=!1,...e}=a,h=m7({appearance:"subtle",...e,size:"medium"},l);return{vertical:c,...h}};var w2=/*@__PURE__*/T((a,l)=>{let c=Zl(a,l);return hl(c),z("useToolbarButtonStyles_unstable")(c),I3(c)});w2.displayName="ToolbarButton";g();g();g();var Ju=J(void 0),bw={size:"medium",noNativeElements:!1,sortable:!1},pv=Ju.Provider,U5=()=>{var a;return(a=E(Ju))!==null&&a!==void 0?a:bw};var ol=(a,l)=>{let{noNativeElements:c,size:e}=U5();var h;let Z=((h=a.as)!==null&&h!==void 0?h:c)?"div":"td";return{components:{root:Z},root:B.always(c1(Z,{ref:l,role:Z==="div"?"cell":void 0,...a}),{elementType:Z}),noNativeElements:c,size:e}};var rl=(a)=>{return G(a),/*@__PURE__*/w(a.root,{})};var nh="fui-TableCell",Ah={root:nh},Tw=/*@__PURE__*/S({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),Ww=/*@__PURE__*/S({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),Pw=/*@__PURE__*/S({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]}),vl=(a)=>{let l=Pw(),c={table:Tw(),flex:Ww()};return a.root.className=D(Ah.root,l.root,a.noNativeElements?c.flex.root:c.table.root,a.noNativeElements?c.flex[a.size]:c.table[a.size],a.root.className),a};var v3=/*@__PURE__*/T((a,l)=>{let c=ol(a,l);return vl(c),z("useTableCellStyles_unstable")(c),rl(c)});v3.displayName="TableCell";g();g();g();var $u=J(void 0),Ow="",Lv=$u.Provider,Fv=()=>E($u)===Ow;var tl=(a,l)=>{let{noNativeElements:c,size:e}=U5();var h;let Z=((h=a.as)!==null&&h!==void 0?h:c)?"div":"tr",o=B3(),r=A2(),v=Fv();var t;return{components:{root:Z},root:B.always(c1(Z,{ref:K1(l,o,r),role:Z==="div"?"row":void 0,...a}),{elementType:Z}),size:e,noNativeElements:c,appearance:(t=a.appearance)!==null&&t!==void 0?t:"none",isHeaderRow:v}};var ml=(a)=>{return G(a),/*@__PURE__*/w(a.root,{})};var Vh="fui-TableRow",uh={root:Vh},yw=/*@__PURE__*/S({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),Iw=/*@__PURE__*/S({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),Uw=/*@__PURE__*/S({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootSubtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ze5xyy:"f4xjyn1",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5"},neutral:{uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",Jwef8y:"f1uqaxdt",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f95l9gw{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw8kmcu{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd94n53{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e0wld5:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),Ml=(a)=>{let l=Uw(),c={table:yw(),flex:Iw()};return a.root.className=D(uh.root,l.root,l.rootSubtleSelection,!a.isHeaderRow&&l.rootInteractive,l[a.size],a.noNativeElements?c.flex.root:c.table.root,l[a.appearance],a.root.className),a};var L7=/*@__PURE__*/T((a,l)=>{let c=tl(a,l);return Ml(c),z("useTableRowStyles_unstable")(c),ml(c)});L7.displayName="TableRow";g();g();var Hl=(a,l)=>{let{noNativeElements:c}=U5();var e;let h=((e=a.as)!==null&&e!==void 0?e:c)?"div":"tbody";return{components:{root:h},root:B.always(c1(h,{ref:l,role:h==="div"?"rowgroup":void 0,...a}),{elementType:h}),noNativeElements:c}};var il=(a)=>{return G(a),/*@__PURE__*/w(a.root,{})};var Ew=/*@__PURE__*/S({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),Gw=/*@__PURE__*/S({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),dh="fui-TableBody";var nl=(a)=>{let l={table:Ew(),flex:Gw()};return a.root.className=D(dh,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var L4=/*@__PURE__*/T((a,l)=>{let c=Hl(a,l);return nl(c),z("useTableBodyStyles_unstable")(c),il(c)});L4.displayName="TableBody";g();g();var Al=(a,l)=>{var c;let e=((c=a.as)!==null&&c!==void 0?c:a.noNativeElements)?"div":"table";var h,Z,o;return{components:{root:e},root:B.always(c1(e,{ref:l,role:e==="div"?"table":void 0,...a}),{elementType:e}),size:(h=a.size)!==null&&h!==void 0?h:"medium",noNativeElements:(Z=a.noNativeElements)!==null&&Z!==void 0?Z:!1,sortable:(o=a.sortable)!==null&&o!==void 0?o:!1}};var Vl=(a,l)=>{return G(a),/*@__PURE__*/w(pv,{value:l.table,children:/*@__PURE__*/w(a.root,{})})};var Ch="fui-Table";var qw=/*@__PURE__*/S({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),zw=/*@__PURE__*/S({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),Kw=/*@__PURE__*/S({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),ul=(a)=>{let l=Kw(),c={table:qw(),flex:zw()};return a.root.className=D(Ch,l.root,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a};g();function Yu(a){let{size:l,noNativeElements:c,sortable:e}=a;return{table:C1(()=>({noNativeElements:c,size:l,sortable:e}),[c,l,e])}}var F4=/*@__PURE__*/T((a,l)=>{let c=Al(a,l);return ul(c),z("useTableStyles_unstable")(c),Vl(c,Yu(c))});F4.displayName="Table";g();g();var dl=(a,l)=>{let{noNativeElements:c}=U5();var e;let h=((e=a.as)!==null&&e!==void 0?e:c)?"div":"thead";return{components:{root:h},root:B.always(c1(h,{ref:l,role:h==="div"?"rowgroup":void 0,...a}),{elementType:h}),noNativeElements:c}};var Cl=(a)=>{return G(a),/*@__PURE__*/w(Lv,{value:"",children:/*@__PURE__*/w(a.root,{})})};var gh="fui-TableHeader";var Qw=/*@__PURE__*/S({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),Jw=/*@__PURE__*/S({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),gl=(a)=>{let l={table:Jw(),flex:Qw()};return a.root.className=D(gh,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var R4=/*@__PURE__*/T((a,l)=>{let c=dl(a,l);return gl(c),z("useTableHeaderStyles_unstable")(c),Cl(c)});R4.displayName="TableHeader";g();g();g();g();var Rv=J(void 0),$w={},Lc1=Rv.Provider,_u=()=>E(Rv)?E(Rv):$w;var Xw=S({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),ad=(a,l)=>{let{title:c,primaryFill:e="currentColor",...h}=a,Z={...h,title:void 0,fill:e},o=Xw(),r=_u();if(Z.className=D(o.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(r===null||r===void 0?void 0:r.textDirection)==="rtl"&&o.rtl,Z.className),c)Z["aria-label"]=c;if(!Z["aria-label"]&&!Z["aria-labelledby"])Z["aria-hidden"]=!0;else Z.role="img";return Z};var xv=(a,l,c,e)=>{let h=l==="1em"?"20":l,Z=T((o,r)=>{let v={...ad(o,{flipInRtl:e===null||e===void 0?void 0:e.flipInRtl}),ref:r,width:l,height:l,viewBox:`0 0 ${h} ${h}`,xmlns:"http://www.w3.org/2000/svg"};return q("svg",v,...c.map((t)=>q("path",{d:t,fill:v.fill})))});return Z.displayName=a,Z};var ld=/*@__PURE__*/xv("ArrowDownRegular","1em",["M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0l6.32-6.91Z"]);var cd=/*@__PURE__*/xv("ArrowUpRegular","1em",["M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0L3.13 9.16Z"],{flipInRtl:!0});var Yw={ascending:/*@__PURE__*/q(cd,{fontSize:12}),descending:/*@__PURE__*/q(ld,{fontSize:12})},pl=(a,l)=>{let{noNativeElements:c,sortable:e}=U5(),{sortable:h=e}=a;var Z;let o=((Z=a.as)!==null&&Z!==void 0?Z:c)?"div":"th",r=B.always(a.button,{elementType:"div",defaultProps:{as:"div",...!h&&{role:"presentation",tabIndex:void 0}}});var v;return{components:{root:o,button:"div",sortIcon:"span",aside:"span"},root:B.always(c1(o,{ref:K1(l,A2()),role:o==="div"?"columnheader":void 0,"aria-sort":h?(v=a.sortDirection)!==null&&v!==void 0?v:"none":void 0,...a}),{elementType:o}),aside:B.optional(a.aside,{elementType:"span"}),sortIcon:B.optional(a.sortIcon,{renderByDefault:!!a.sortDirection,defaultProps:{children:a.sortDirection?Yw[a.sortDirection]:void 0},elementType:"span"}),button:d2(r.as,r),sortable:h,noNativeElements:c}};var Ll=(a)=>{return G(a),/*@__PURE__*/R1(a.root,{children:[/*@__PURE__*/R1(a.button,{children:[a.root.children,a.sortIcon&&/*@__PURE__*/w(a.sortIcon,{})]}),a.aside&&/*@__PURE__*/w(a.aside,{})]})};var x4={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},Nw=/*@__PURE__*/S({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),jw=/*@__PURE__*/S({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"f10tiqix"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f10tiqix{min-width:0px;}"]}),_w=/*@__PURE__*/S({root:{Bhrd7zp:"figsok6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:"f14ym4q2",B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:"f1euou18",qhf8xq:"f10pi13n"},rootInteractive:{Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",lj723h:"f1g4hkjv",ecr2s2:"f1wfn5kd"},resetButton:{B3rzk8w:"fq6nmtn",B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",fsow6f:"fgusgyc"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",mc9l5x:"f22iagw",Bh6795r:0,Bqenvij:"f1l02sjl",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr",sshi5w:"f1nxs5xn",xawz:0,Bnnss6s:0,fkmc3a:"f1izfyrr",oeaueh:"f1s6fcnf"},sortable:{Bceei9c:"f1k6fduh"},sortIcon:{mc9l5x:"f22iagw",Bt984gj:"f122n59",z8tnut:"fclwglc"},resizeHandle:{}},{d:[".figsok6{font-weight:var(--fontWeightRegular);}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10pi13n{position:relative;}",".fq6nmtn{resize:horizontal;}",".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".f3bhgqh{border:none;}",{p:-2}],".fgusgyc{text-align:unset;}",".fly5x3f{width:100%;}",".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f1l02sjl{height:100%;}",".f122n59{align-items:center;}",[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],".f1nxs5xn{min-height:32px;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1s6fcnf{outline-style:none;}",".f1k6fduh{cursor:pointer;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}"],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}"],a:[".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),Fl=(a)=>{let l=_w(),c={table:Nw(),flex:jw()};if(a.root.className=D(x4.root,l.root,a.sortable&&l.rootInteractive,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a.button.className=D(x4.button,l.resetButton,l.button,a.sortable&&l.sortable,a.button.className),a.sortIcon)a.sortIcon.className=D(x4.sortIcon,l.sortIcon,a.sortIcon.className);if(a.aside)a.aside.className=D(x4.aside,l.resizeHandle,a.aside.className);return a};var s4=/*@__PURE__*/T((a,l)=>{let c=pl(a,l);return Fl(c),z("useTableHeaderCellStyles_unstable")(c),Ll(c)});s4.displayName="TableHeaderCell";g();g();var ak={medium:32,small:24,"extra-small":20},Rl=(a,l)=>{let{size:c}=U5();return{components:{root:"div",main:"span",description:"span",content:"div",media:"span"},root:B.always(c1("div",{ref:l,...a}),{elementType:"div"}),appearance:a.appearance,truncate:a.truncate,main:B.optional(a.main,{renderByDefault:!0,elementType:"span"}),media:B.optional(a.media,{elementType:"span"}),description:B.optional(a.description,{elementType:"span"}),content:B.optional(a.content,{renderByDefault:!!a.description||!!a.children,elementType:"div"}),avatarSize:ak[c],size:c}};var xl=(a,l)=>{return G(a),/*@__PURE__*/R1(a.root,{children:[a.media&&/*@__PURE__*/w(Ke,{value:l.avatar,children:/*@__PURE__*/w(a.media,{})}),a.content&&/*@__PURE__*/R1(a.content,{children:[a.main&&/*@__PURE__*/w(a.main,{children:a.root.children}),a.description&&/*@__PURE__*/w(a.description,{})]})]})};var F7={root:"fui-TableCellLayout",media:"fui-TableCellLayout__media",main:"fui-TableCellLayout__main",description:"fui-TableCellLayout__description",content:"fui-TableCellLayout__content"},lk=/*@__PURE__*/S({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"faqewft",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},rootTruncate:{B68tc82:"f1p9o1ba"},content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},contentTruncate:{B68tc82:"f1p9o1ba"},media:{mc9l5x:"f22iagw",Bt984gj:"f122n59"},mediaExtraSmall:{Be2twd7:"f4ybsrx"},mediaSmallAndMedium:{Be2twd7:"fe5j1ua"},mediaPrimary:{Be2twd7:"f1rt2boy"},mainPrimary:{Bhrd7zp:"fl43uef"},mainTruncate:{B68tc82:"f1p9o1ba",Huce71:"fz5stix",ygn44y:"f1cmbuwj"},description:{sj55zd:"fkfq4zb",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".faqewft{gap:var(--spacingHorizontalS);}",{p:-1}],[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1p9o1ba{overflow-x:hidden;}",".f1vx9l62{flex-direction:column;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fz5stix{white-space:nowrap;}",".f1cmbuwj{text-overflow:ellipsis;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),sl=(a)=>{let l=lk(),{truncate:c}=a;a.root.className=D(F7.root,l.root,c&&l.rootTruncate,a.root.className);let e=a.appearance==="primary";if(a.media){let h={small:l.mediaSmallAndMedium,medium:l.mediaSmallAndMedium,"extra-small":l.mediaExtraSmall};a.media.className=D(F7.media,l.media,h[a.size],e&&l.mediaPrimary,a.media.className)}if(a.main)a.main.className=D(F7.main,c&&l.mainTruncate,e&&l.mainPrimary,a.main.className);if(a.description)a.description.className=D(F7.description,l.description,a.description.className);if(a.content)a.content.className=D(F7.content,l.content,c&&l.contentTruncate,a.content.className);return a};g();function hd(a){let{avatarSize:l}=a;return{avatar:C1(()=>({size:l}),[l])}}var t3=/*@__PURE__*/T((a,l)=>{let c=Rl(a,l);return sl(c),z("useTableCellLayoutStyles_unstable")(c),xl(c,hd(c))});t3.displayName="TableCellLayout";g();var S0={show:"fui-toast-show",dismiss:"fui-toast-dismiss",dismissAll:"fui-toast-dismiss-all",update:"fui-toast-update",pause:"fui-toast-pause",play:"fui-toast-play"},u5={bottom:"bottom",bottomEnd:"bottom-end",bottomStart:"bottom-start",top:"top",topEnd:"top-end",topStart:"top-start"};var ck=0;function sv(a,l={},c){var e;let h={...l,content:a,toastId:(e=l.toastId)!==null&&e!==void 0?e:(ck++).toString()},Z=new CustomEvent(S0.show,{bubbles:!1,cancelable:!1,detail:h});c.dispatchEvent(Z)}function Dv(a,l=void 0,c){let e=new CustomEvent(S0.dismiss,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(e)}function wv(a=void 0,l){let c=new CustomEvent(S0.dismissAll,{bubbles:!1,cancelable:!1,detail:{toasterId:a}});l.dispatchEvent(c)}function kv(a,l){let c=new CustomEvent(S0.update,{bubbles:!1,cancelable:!1,detail:a});l.dispatchEvent(c)}function Sv(a,l=void 0,c){let e=new CustomEvent(S0.pause,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(e)}function fv(a,l=void 0,c){let e=new CustomEvent(S0.play,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(e)}g();function Zd(a,l){for(let[c,e]of Object.entries(l))if(e!=null)a[c]=e}var ek={onStatusChange:void 0,priority:0,pauseOnHover:!1,pauseOnWindowBlur:!1,position:"bottom-end",timeout:3000},hk=0;function Bv(a){let{limit:l=Number.POSITIVE_INFINITY}=a,c=/*@__PURE__*/new Set,e=/*@__PURE__*/new Map,h=A6((M,m)=>{let H=e.get(M),i=e.get(m);if(!H||!i)return 0;if(H.priority===i.priority)return H.order-i.order;return H.priority-i.priority});return{buildToast:(M,m)=>{var H;let{toastId:i,content:n,toasterId:A}=M;if(e.has(i))return;let C={...ek,close:()=>{var L;let F=e.get(i);if(!F)return;c.delete(i),m(),(L=F.onStatusChange)===null||L===void 0||L.call(F,null,{status:"dismissed",...F})},remove:()=>{if(!e.get(i))return;if(e.delete(i),c.size<l&&h.peek()){let F=e.get(h.dequeue());if(!F)return;c.add(F.toastId)}m()},toastId:i,content:n,updateId:0,toasterId:A,order:hk++,data:{},imperativeRef:Z5()};if(Zd(C,a),Zd(C,M),e.set(i,C),(H=C.onStatusChange)===null||H===void 0||H.call(C,null,{status:"queued",...C}),c.size>=l)h.enqueue(i);else c.add(i)},dismissAllToasts:()=>{c.clear(),h.clear()},dismissToast:(M)=>{c.delete(M)},isToastVisible:(M)=>{return c.has(M)},updateToast:(M)=>{let{toastId:m}=M,H=e.get(m);if(!H)return;Object.assign(H,M),H.updateId++},visibleToasts:c,toasts:e}}var G3=(a,l,c)=>{let e={};var h;let Z=c?Zk(c)?c:(h=c[a])!==null&&h!==void 0?h:{}:{},o=a==="top"||a==="bottom",{horizontal:r=o?0:20,vertical:v=16}=Z,t=l==="ltr"?"left":"right",M=l==="ltr"?"right":"left";switch(a){case"top":Object.assign(e,{top:v,left:`calc(50% + ${r}px)`,transform:"translateX(-50%)"});break;case"bottom":Object.assign(e,{bottom:v,left:`calc(50% + ${r}px)`,transform:"translateX(-50%)"});break;case"top-start":Object.assign(e,{top:v,[t]:r});break;case"top-end":Object.assign(e,{top:v,[M]:r});break;case"bottom-start":Object.assign(e,{bottom:v,[t]:r});break;case"bottom-end":Object.assign(e,{bottom:v,[M]:r});break}return e};function Zk(a){return"horizontal"in a||"vertical"in a}function bv(a={}){let l=n6(),{toasterId:c,shortcuts:e}=a,[h]=m1(()=>Bv(a)),{targetDocument:Z}=p1(),o=U(null),r=i1((A)=>{return A===c}),v=i1((A)=>{if(e===null||e===void 0?void 0:e.focus)return e.focus(A)}),t=a1(()=>{h.visibleToasts.forEach((A)=>{var u;let d=h.toasts.get(A);d===null||d===void 0||(u=d.imperativeRef.current)===null||u===void 0||u.pause()})},[h]),M=a1(()=>{h.visibleToasts.forEach((A)=>{var u;let d=h.toasts.get(A);d===null||d===void 0||(u=d.imperativeRef.current)===null||u===void 0||u.play()})},[h]),m=a1(()=>{return Array.from(h.visibleToasts).reduce((A,u)=>{let d=h.toasts.get(u);if(!d)return A;if(!A)return d;if(A.order<(d===null||d===void 0?void 0:d.order))return d;return A},void 0)},[h]),H=a1(()=>{let A=m();if(A===null||A===void 0?void 0:A.imperativeRef.current)A.imperativeRef.current.focus();else{var u;(u=o.current)===null||u===void 0||u.focus(),o.current=null}},[m]),i=a1(()=>{h.visibleToasts.forEach((A)=>{let u=h.toasts.get(A);u===null||u===void 0||u.close()}),H()},[h,H]);t1(()=>{if(!Z)return;let A=(s,k)=>{let y=(Y)=>{if(!r(Y.detail.toasterId))return;k(Y),l()};return Z.addEventListener(s,y),()=>Z.removeEventListener(s,y)},u=(s)=>{h.buildToast(s.detail,l)},d=(s)=>{h.dismissToast(s.detail.toastId)},C=(s)=>{h.updateToast(s.detail)},L=(s)=>{h.dismissAllToasts()},F=(s)=>{let k=h.toasts.get(s.detail.toastId);if(k){var y;(y=k.imperativeRef.current)===null||y===void 0||y.pause()}},R=(s)=>{let k=h.toasts.get(s.detail.toastId);if(k){var y;(y=k.imperativeRef.current)===null||y===void 0||y.play()}},f=A(S0.show,u),x=A(S0.update,C),O=A(S0.dismiss,d),I=A(S0.dismissAll,L),o1=A(S0.pause,F),r1=A(S0.play,R),j=(s)=>{if(v(s)){t();let y=m();if(y){var k;o.current=I1(Z.activeElement)?Z.activeElement:null,(k=y.imperativeRef.current)===null||k===void 0||k.focus()}}};return Z.addEventListener("keydown",j),()=>{f(),I(),x(),O(),o1(),r1(),Z.removeEventListener("keydown",j)}},[h,l,Z,r,t,m,v]);let n=(()=>{if(!h)return/*@__PURE__*/new Map;let A=/*@__PURE__*/new Map;return Array.from(h.toasts.values()).forEach((d)=>{let{position:C}=d;if(A.has(C)||A.set(C,[]),C.startsWith("bottom"))A.get(C).push(d);else A.get(C).unshift(d)}),A})();return{isToastVisible:h.isToastVisible,toastsToRender:n,pauseAllToasts:t,playAllToasts:M,tryRestoreFocus:H,closeAllToasts:i}}g();var G6=()=>{return};function D4(a){let{targetDocument:l}=p1();return C1(()=>{if(!l)return{dispatchToast:G6,dismissToast:G6,dismissAllToasts:G6,updateToast:G6,pauseToast:G6,playToast:G6};return{dispatchToast:(c,e)=>{sv(c,{...e,toasterId:a,data:{root:e===null||e===void 0?void 0:e.root}},l)},dismissToast:(c)=>{Dv(c,a,l)},dismissAllToasts:()=>{wv(a,l)},updateToast:(c)=>{kv({...c,data:{root:c.root},toasterId:a},l)},pauseToast:(c)=>{Sv(c,a,l)},playToast:(c)=>{fv(c,a,l)}}},[l,a])}g();var ok={close:()=>null,intent:void 0,bodyId:"",titleId:""},od=/*@__PURE__*/J(void 0),rd=od.Provider,ph=()=>{var a;return(a=E(od))!==null&&a!==void 0?a:ok};g();g();g();g();g();var vd=/*@__PURE__*/N("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]);var Lh=/*@__PURE__*/T((a,l)=>{let c=vd(),{running:e,timeout:h,onTimeout:Z}=a,o={animationDuration:`${h}ms`,animationPlayState:e?"running":"paused"};if(h<0)return null;return/*@__PURE__*/q("span",{onAnimationEnd:Z,"data-timer-status":o.animationPlayState,ref:l,style:o,className:c})});Lh.displayName="Timer";var rk={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},td=(a,l)=>{let{visible:c,children:e,close:h,remove:Z,updateId:o,announce:r,data:v,timeout:t,politeness:M,intent:m="info",pauseOnHover:H,pauseOnWindowBlur:i,imperativeRef:n,tryRestoreFocus:A,...u}=a,d=t0("toast-title"),C=t0("toast-body"),L=U(null),{targetDocument:F}=p1(),[R,f]=m1(!1),x=U(!1),O=U(!1),I=j7({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),o1=i1(()=>{var Q;let X=F===null||F===void 0?void 0:F.activeElement;if(X&&((Q=L.current)===null||Q===void 0?void 0:Q.contains(X)))O.current=!0;h()}),r1=i1((Q)=>{var X;return(X=a.onStatusChange)===null||X===void 0?void 0:X.call(a,null,{status:Q,...a})}),j=i1(()=>f(!1)),s=i1(()=>{var Q;if(x.current)return;var X;let h1=!!((Q=L.current)===null||Q===void 0?void 0:Q.contains((X=F===null||F===void 0?void 0:F.activeElement)!==null&&X!==void 0?X:null));if(t<0){f(!0);return}if(!h1)f(!0)});A5(n,()=>({focus:()=>{if(!L.current)return;L.current.focus()},play:()=>{x.current=!1,s()},pause:()=>{x.current=!0,j()}})),t1(()=>{return()=>r1("unmounted")},[r1]),t1(()=>{if(!F)return;if(i){var Q,X;return(Q=F.defaultView)===null||Q===void 0||Q.addEventListener("focus",s),(X=F.defaultView)===null||X===void 0||X.addEventListener("blur",j),()=>{var h1,S1;(h1=F.defaultView)===null||h1===void 0||h1.removeEventListener("focus",s),(S1=F.defaultView)===null||S1===void 0||S1.removeEventListener("blur",j)}}},[F,j,s,i]);let k=v.root,y=a1((Q,{direction:X})=>{if(X==="exit")Z();if(X==="enter")s(),r1("visible")},[r1,s,Z]),Y=i1((Q)=>{var X;j(),k===null||k===void 0||(X=k.onMouseEnter)===null||X===void 0||X.call(k,Q)}),l1=i1((Q)=>{var X;s(),k===null||k===void 0||(X=k.onMouseEnter)===null||X===void 0||X.call(k,Q)}),{findFirstFocusable:H1,findLastFocusable:K}=f3(),A1=i1((Q)=>{var X;if(Q.key===Tr)Q.preventDefault(),o1();if(Q.key===fr&&Q.currentTarget===Q.target)if(Q.preventDefault(),Q.shiftKey){var h1;(h1=K(Q.currentTarget))===null||h1===void 0||h1.focus()}else{var S1;(S1=H1(Q.currentTarget))===null||S1===void 0||S1.focus()}k===null||k===void 0||(X=k.onKeyDown)===null||X===void 0||X.call(k,Q)});return t1(()=>{var Q;if(!c)return;let X=M!==null&&M!==void 0?M:rk[m];var h1;r((h1=(Q=L.current)===null||Q===void 0?void 0:Q.textContent)!==null&&h1!==void 0?h1:"",{politeness:X})},[r,M,L,c,o,m]),t1(()=>{return()=>{if(O.current)O.current=!1,A()}},[A]),{components:{timer:Lh,root:"div"},timer:B.always({onTimeout:o1,running:R,timeout:t!==null&&t!==void 0?t:-1},{elementType:Lh}),root:B.always(c1("div",{ref:K1(l,L),children:e,tabIndex:0,role:"listitem","aria-labelledby":d,"aria-describedby":C,...u,...k,...I,onMouseEnter:Y,onMouseLeave:l1,onKeyDown:A1}),{elementType:"div"}),timerTimeout:t,transitionTimeout:0,running:R,visible:c,remove:Z,close:o1,onTransitionEntering:()=>{},updateId:o,nodeRef:L,intent:m,titleId:d,bodyId:C,onMotionFinish:y}};var md=(a,l)=>{let{onMotionFinish:c,visible:e,updateId:h}=a;return G(a),/*@__PURE__*/w(rd,{value:l.toast,children:/*@__PURE__*/w(qe,{appear:!0,onMotionFinish:c,visible:e,unmountOnExit:!0,children:/*@__PURE__*/R1(a.root,{children:[a.root.children,/*@__PURE__*/w(a.timer,{},h)]})})})};var Fh={root:"fui-ToastContainer",timer:"fui-ToastContainer__timer"},vk=/*@__PURE__*/N("r98b696",null,[".r98b696{box-sizing:border-box;margin-top:16px;pointer-events:all;border-radius:var(--borderRadiusMedium);}",".r98b696[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"]),Tv=(a)=>{let l=vk();return a.root.className=D(Fh.root,l,a.root.className),a};g();function Md(a){let{close:l,intent:c,titleId:e,bodyId:h}=a;return{toast:C1(()=>({close:l,intent:c,titleId:e,bodyId:h}),[l,c,e,h])}}var Rh=/*@__PURE__*/T((a,l)=>{let c=td(a,l);return Tv(c),z("useToastContainerStyles_unstable")(c),md(c,Md(c))});Rh.displayName="ToastContainer";g();var Hd=()=>{return};function id(a,l){let{targetDocument:c}=p1(),e=U(Hd);return a1((h)=>{if(!h||!c){e.current(),e.current=Hd;return}let Z=c.createTreeWalker(h,NodeFilter.SHOW_ELEMENT,{acceptNode(t){if(I1(t)&&t.classList.contains(Fh.root))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}}),o=(t)=>{let{target:M,key:m}=t;if(!I1(M))return;if(m===Br){Z.currentNode=M;let H=Z.nextNode();if(!H)Z.currentNode=h,H=Z.nextNode();if(I1(H))H.focus()}if(m===br){Z.currentNode=M;let H=Z.previousNode();if(H&&H.contains(M))H=Z.previousNode();if(!H)Z.currentNode=h,H=Z.lastChild();if(I1(H))H.focus()}},r=(t)=>{if(I1(t.currentTarget)&&!t.currentTarget.contains(I1(t.relatedTarget)?t.relatedTarget:null))a()},v=(t)=>{if(I1(t.currentTarget)&&!t.currentTarget.contains(I1(t.relatedTarget)?t.relatedTarget:null))l()};h.addEventListener("keydown",o),h.addEventListener("focusin",r),h.addEventListener("focusout",v),e.current=()=>{h.removeEventListener("keydown",o),h.removeEventListener("focusin",r),h.removeEventListener("focusout",v)}},[c,a,l])}g();function nd(a){let l=U(!0),c=U(()=>{return}),e=a1((Z,o)=>{if(l.current)a(Z,o)},[a]),h=a1((Z)=>{if(!Z){c.current();return}let o=(v)=>{if(I1(v.currentTarget)&&v.currentTarget.contains(I1(v.relatedTarget)?v.relatedTarget:null))return;l.current=!1},r=(v)=>{if(I1(v.currentTarget)&&v.currentTarget.contains(I1(v.relatedTarget)?v.relatedTarget:null))return;l.current=!0};Z.addEventListener("focusin",o),Z.addEventListener("focusout",r),c.current=()=>{Z.removeEventListener("focusin",o),Z.removeEventListener("focusout",r)}},[]);return{announceToast:e,toasterRef:h}}var Dl=(a)=>{let{offset:l,announce:c,mountNode:e,inline:h=!1,...Z}=a,o=U(()=>null),{toastsToRender:r,isToastVisible:v,pauseAllToasts:t,playAllToasts:M,tryRestoreFocus:m,closeAllToasts:H}=bv(Z),i=a1((L,F)=>o.current(L,F),[]),{dir:n}=p1(),A=B.always(c1("div",Z),{elementType:"div"}),u=j7({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Escape:!0}}),d=i1((L)=>{var F;if(L.key===Z4)L.preventDefault(),H();(F=a.onKeyDown)===null||F===void 0||F.call(a,L)}),C=(L)=>{var F;let R=id(t,M),{announceToast:f,toasterRef:x}=nd(c!==null&&c!==void 0?c:i);return B.optional(r.has(L)?A:null,{defaultProps:{ref:K1(R,x),children:(F=r.get(L))===null||F===void 0?void 0:F.map((O)=>/*@__PURE__*/q(Rh,{...O,tryRestoreFocus:m,intent:O.intent,announce:f,key:O.toastId,visible:v(O.toastId)},O.content)),onKeyDown:d,...u,"data-toaster-position":L,role:"list"},elementType:"div"})};return{dir:n,mountNode:e,components:{root:"div",bottomStart:"div",bottomEnd:"div",topStart:"div",topEnd:"div",top:"div",bottom:"div"},root:B.always(A,{elementType:"div"}),bottomStart:C(u5.bottomStart),bottomEnd:C(u5.bottomEnd),topStart:C(u5.topStart),topEnd:C(u5.topEnd),top:C(u5.top),bottom:C(u5.bottom),announceRef:o,offset:l,announce:c!==null&&c!==void 0?c:i,renderAriaLive:!c,inline:h}};g();g();var tk=500,Ad=(a)=>{let[l,c]=m1(void 0),e=U(0),[h]=m1(()=>A6((M,m)=>{if(M.politeness===m.politeness)return M.createdAt-m.createdAt;return M.politeness==="assertive"?-1:1})),Z=i1((M,m)=>{let{politeness:H}=m;if(M===(l===null||l===void 0?void 0:l.message))return;let i={message:M,politeness:H,createdAt:e.current++};if(!l)c(i);else h.enqueue(i)}),[o,r]=N2();t1(()=>{return o(()=>{if(h.peek())c(h.dequeue());else c(void 0)},tk),()=>r()},[l,h,o,r]),A5(a.announceRef,()=>Z);let v=(l===null||l===void 0?void 0:l.politeness)==="polite"?l.message:void 0,t=(l===null||l===void 0?void 0:l.politeness)==="assertive"?l.message:void 0;return{components:{assertive:"div",polite:"div"},assertive:B.always(a.assertive,{defaultProps:{"aria-live":"assertive",children:t},elementType:"div"}),polite:B.always(a.polite,{defaultProps:{"aria-live":"polite",children:v},elementType:"div"})}};var Vd=(a)=>{return G(a),/*@__PURE__*/R1(n1,{children:[/*@__PURE__*/w(a.assertive,{}),/*@__PURE__*/w(a.polite,{})]})};var ud={assertive:"fui-AriaLive__assertive",polite:"fui-AriaLive__polite"},mk=/*@__PURE__*/N("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),dd=(a)=>{let l=mk();return a.assertive.className=D(l,ud.assertive,a.assertive.className),a.polite.className=D(l,ud.polite,a.polite.className),a};var xh=(a)=>{let l=Ad(a);return dd(l),Vd(l)};xh.displayName="AriaLive";var wl=(a)=>{let{announceRef:l,renderAriaLive:c,inline:e,mountNode:h}=a;G(a);let Z=!!a.bottomStart||!!a.bottomEnd||!!a.topStart||!!a.topEnd||!!a.top||!!a.bottom,o=c?/*@__PURE__*/w(xh,{announceRef:l}):null,r=/*@__PURE__*/R1(n1,{children:[a.bottom?/*@__PURE__*/w(a.bottom,{}):null,a.bottomStart?/*@__PURE__*/w(a.bottomStart,{}):null,a.bottomEnd?/*@__PURE__*/w(a.bottomEnd,{}):null,a.topStart?/*@__PURE__*/w(a.topStart,{}):null,a.topEnd?/*@__PURE__*/w(a.topEnd,{}):null,a.top?/*@__PURE__*/w(a.top,{}):null]});if(e)return/*@__PURE__*/R1(n1,{children:[o,Z?r:null]});return/*@__PURE__*/R1(n1,{children:[o,Z?/*@__PURE__*/w(y3,{mountNode:h,children:r}):null]})};var sh={root:"fui-Toaster"},Mk=/*@__PURE__*/N("r3hfdjz",null,[".r3hfdjz{position:fixed;width:292px;pointer-events:none;}"]),Hk=/*@__PURE__*/S({inline:{qhf8xq:"f1euv43f"}},{d:[".f1euv43f{position:absolute;}"]}),kl=(a)=>{let l=Mk(),c=Hk(),e=D(sh.root,l,a.inline&&c.inline,a.root.className);if(a.bottomStart){var h;a.bottomStart.className=e;var Z;(Z=(h=a.bottomStart).style)!==null&&Z!==void 0||(h.style={}),Object.assign(a.bottomStart.style,G3(u5.bottomStart,a.dir,a.offset))}if(a.bottomEnd){var o;a.bottomEnd.className=e;var r;(r=(o=a.bottomEnd).style)!==null&&r!==void 0||(o.style={}),Object.assign(a.bottomEnd.style,G3(u5.bottomEnd,a.dir,a.offset))}if(a.topStart){var v;a.topStart.className=e;var t;(t=(v=a.topStart).style)!==null&&t!==void 0||(v.style={}),Object.assign(a.topStart.style,G3(u5.topStart,a.dir,a.offset))}if(a.topEnd){var M;a.topEnd.className=e;var m;(m=(M=a.topEnd).style)!==null&&m!==void 0||(M.style={}),Object.assign(a.topEnd.style,G3(u5.topEnd,a.dir,a.offset))}if(a.top){var H;a.top.className=e;var i;(i=(H=a.top).style)!==null&&i!==void 0||(H.style={}),Object.assign(a.top.style,G3(u5.top,a.dir,a.offset))}if(a.bottom){var n;a.bottom.className=e;var A;(A=(n=a.bottom).style)!==null&&A!==void 0||(n.style={}),Object.assign(a.bottom.style,G3(u5.bottom,a.dir,a.offset))}return a};var w4=(a)=>{let l=Dl(a);return kl(l),z("useToasterStyles_unstable")(l),wl(l)};w4.displayName="Toaster";g();g();var Sl=(a,l)=>{let{intent:c}=ph();return{components:{root:"div"},root:B.always(c1("div",{ref:l,...a}),{elementType:"div"}),backgroundAppearance:a.appearance,intent:c}};var fl=(a,l)=>{return G(a),/*@__PURE__*/w(Le,{value:l.backgroundAppearance,children:/*@__PURE__*/w(a.root,{})})};var Wv={root:"fui-Toast"},ik=/*@__PURE__*/N("rhf7k35",null,[".rhf7k35{display:grid;grid-template-columns:auto 1fr auto;padding:12px;border-radius:var(--borderRadiusMedium);border:1px solid var(--colorTransparentStroke);box-shadow:var(--shadow8);font-size:var(--fontSizeBase300);line-height:20px;font-weight:var(--fontWeightSemibold);color:var(--colorNeutralForeground1);background-color:var(--colorNeutralBackground1);}"]),nk=/*@__PURE__*/S({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]}),Bl=(a)=>{let l=ik(),c=nk();return a.root.className=D(Wv.root,l,a.backgroundAppearance==="inverted"&&c.inverted,a.root.className),a};function Cd(a){let{backgroundAppearance:l}=a;return{backgroundAppearance:l}}var k2=/*@__PURE__*/T((a,l)=>{let c=Sl(a,l);return Bl(c),z("useToastStyles_unstable")(c),fl(c,Cd(c))});k2.displayName="Toast";g();g();g();g();var Pv=J(void 0),Ak={},XZ1=Pv.Provider,gd=()=>E(Pv)?E(Pv):Ak;var Vk=S({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),pd=(a,l)=>{let{title:c,primaryFill:e="currentColor",...h}=a,Z={...h,title:void 0,fill:e},o=Vk(),r=gd();if(Z.className=D(o.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(r===null||r===void 0?void 0:r.textDirection)==="rtl"&&o.rtl,Z.className),c)Z["aria-label"]=c;if(!Z["aria-label"]&&!Z["aria-labelledby"])Z["aria-hidden"]=!0;else Z.role="img";return Z};var k4=(a,l,c,e)=>{let h=l==="1em"?"20":l,Z=T((o,r)=>{let v={...pd(o,{flipInRtl:e===null||e===void 0?void 0:e.flipInRtl}),ref:r,width:l,height:l,viewBox:`0 0 ${h} ${h}`,xmlns:"http://www.w3.org/2000/svg"};return q("svg",v,...c.map((t)=>q("path",{d:t,fill:v.fill})))});return Z.displayName=a,Z};var Ld=/*@__PURE__*/k4("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]);var Fd=/*@__PURE__*/k4("DismissCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"]);var Rd=/*@__PURE__*/k4("InfoFilled","1em",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM9.5 8.91a.5.5 0 0 1 1 0V13.6a.5.5 0 0 1-1 0V8.9Zm-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Z"]);var xd=/*@__PURE__*/k4("WarningFilled","1em",["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]);var bl=(a,l)=>{let{intent:c,titleId:e}=ph(),h=i6(),Z;switch(c){case"success":Z=/*@__PURE__*/q(Ld,null);break;case"error":Z=/*@__PURE__*/q(Fd,null);break;case"warning":Z=/*@__PURE__*/q(xd,null);break;case"info":Z=/*@__PURE__*/q(Rd,null);break}return{action:B.optional(a.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:B.optional(a.media,{renderByDefault:!!c,defaultProps:{children:Z},elementType:"div"}),root:B.always(c1("div",{ref:l,children:a.children,id:e,...a}),{elementType:"div"}),intent:c,backgroundAppearance:h}};var Tl=(a)=>{return G(a),/*@__PURE__*/R1(n1,{children:[a.media?/*@__PURE__*/w(a.media,{}):null,/*@__PURE__*/w(a.root,{}),a.action?/*@__PURE__*/w(a.action,{}):null]})};var q6={root:"fui-ToastTitle",media:"fui-ToastTitle__media",action:"fui-ToastTitle__action"},uk=/*@__PURE__*/N("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),dk=/*@__PURE__*/N("r8x5mrd","r1soj19y",[".r8x5mrd{display:flex;padding-top:2px;grid-column-end:2;padding-right:8px;font-size:16px;color:var(--colorNeutralForeground1);}",".r1soj19y{display:flex;padding-top:2px;grid-column-end:2;padding-left:8px;font-size:16px;color:var(--colorNeutralForeground1);}"]),Ck=/*@__PURE__*/N("r2j19ip","rjfozdo",[".r2j19ip{display:flex;align-items:start;padding-left:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}",".rjfozdo{display:flex;align-items:start;padding-right:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}"]),gk=/*@__PURE__*/S({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),pk=/*@__PURE__*/S({success:{sj55zd:"f36rra6"},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f13isgzr"},info:{sj55zd:"fkfq4zb"}},{d:[".f36rra6{color:var(--colorStatusSuccessForeground1);}",".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f13isgzr{color:var(--colorStatusWarningForeground1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}"]}),Lk=/*@__PURE__*/S({success:{sj55zd:"ff3wk4x"},error:{sj55zd:"fbq2gqr"},warning:{sj55zd:"fx6hq1t"},info:{sj55zd:"f1w7i9ko"}},{d:[".ff3wk4x{color:var(--colorStatusSuccessForegroundInverted);}",".fbq2gqr{color:var(--colorStatusDangerForegroundInverted);}",".fx6hq1t{color:var(--colorStatusWarningForegroundInverted);}",".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}"]}),Wl=(a)=>{let l=uk(),c=Ck(),e=dk(),h=pk(),Z=Lk(),{intent:o}=a,r=gk();if(a.root.className=D(q6.root,l,a.backgroundAppearance==="inverted"&&r.root,a.root.className),a.media)a.media.className=D(q6.media,e,a.backgroundAppearance==="inverted"&&r.media,o&&h[o],o&&a.backgroundAppearance==="inverted"&&Z[o],a.media.className);if(a.action)a.action.className=D(q6.action,c,a.backgroundAppearance==="inverted"&&r.action,a.action.className);return a};var S2=/*@__PURE__*/T((a,l)=>{let c=bl(a,l);return Wl(c),z("useToastTitleStyles_unstable")(c),Tl(c)});S2.displayName="ToastTitle";g();g();g();g();g();var Ov=J(void 0),Fk={},Bo1=Ov.Provider,sd=()=>E(Ov)?E(Ov):Fk;var Rk=S({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),Dd=(a,l)=>{let{title:c,primaryFill:e="currentColor",...h}=a,Z={...h,title:void 0,fill:e},o=Rk(),r=sd();if(Z.className=D(o.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(r===null||r===void 0?void 0:r.textDirection)==="rtl"&&o.rtl,Z.className),c)Z["aria-label"]=c;if(!Z["aria-label"]&&!Z["aria-labelledby"])Z["aria-hidden"]=!0;else Z.role="img";return Z};var S4=(a,l,c,e)=>{let h=l==="1em"?"20":l,Z=T((o,r)=>{let v={...Dd(o,{flipInRtl:e===null||e===void 0?void 0:e.flipInRtl}),ref:r,width:l,height:l,viewBox:`0 0 ${h} ${h}`,xmlns:"http://www.w3.org/2000/svg"};return q("svg",v,...c.map((t)=>q("path",{d:t,fill:v.fill})))});return Z.displayName=a,Z};var wd=/*@__PURE__*/S4("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]);var kd=/*@__PURE__*/S4("DismissCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"]);var Sd=/*@__PURE__*/S4("InfoFilled","1em",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM9.5 8.91a.5.5 0 0 1 1 0V13.6a.5.5 0 0 1-1 0V8.9Zm-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Z"]);var fd=/*@__PURE__*/S4("WarningFilled","1em",["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]);function Bd(a){switch(a){case"info":return/*@__PURE__*/q(Sd,null);case"warning":return/*@__PURE__*/q(fd,null);case"error":return/*@__PURE__*/q(kd,null);case"success":return/*@__PURE__*/q(wd,null);default:return null}}g();function bd(a=!1){let{targetDocument:l}=p1(),c=K5(()=>({}),{})[1],e=U(!1),h=U(null),Z=U(-1),o=a1((v)=>{var t,M;if(v.length>1)console.error(["useMessageBarReflow: Resize observer should only have one entry. ","If multiple entries are observed, the first entry will be used.","This is a bug, please report it to the Fluent UI team."].join(" "));let m=v[0];var H;let i=(H=m===null||m===void 0?void 0:(M=m.borderBoxSize)===null||M===void 0?void 0:(t=M[0])===null||t===void 0?void 0:t.inlineSize)!==null&&H!==void 0?H:m===null||m===void 0?void 0:m.target.getBoundingClientRect().width;if(i===void 0||!m)return;let{target:n}=m;if(!I1(n))return;let A;if(e.current){if(Z.current<i)A=!1}else{let u=n.scrollWidth;if(i<u)A=!0}if(Z.current=i,typeof A!=="undefined"&&e.current!==A)e.current=A,c()},[c]),r=a1((v)=>{var t;if(!a||!v||!(l===null||l===void 0?void 0:l.defaultView))return;(t=h.current)===null||t===void 0||t.disconnect();let m=new l.defaultView.ResizeObserver(o);h.current=m,m.observe(v,{box:"border-box"})},[l,o,a]);return t1(()=>{return()=>{var v;(v=h.current)===null||v===void 0||v.disconnect()}},[]),{ref:r,reflowing:e.current}}g();var Td=J(void 0),xk={className:"",nodeRef:Z5()},Yo1=Td.Provider,Wd=()=>{var a;return(a=E(Td))!==null&&a!==void 0?a:xk};var Pl=(a,l)=>{let{layout:c="auto",intent:e="info",politeness:h,shape:Z="rounded"}=a,o=(h!==null&&h!==void 0?h:e==="info")?"polite":"assertive",r=c==="auto",{ref:v,reflowing:t}=bd(r),M=r?t?"multiline":"singleline":c,{className:m,nodeRef:H}=Wd(),i=U(null),n=U(null),{announce:A}=Za(),u=t0();return t1(()=>{var d,C;let L=(d=n.current)===null||d===void 0?void 0:d.textContent,F=(C=i.current)===null||C===void 0?void 0:C.textContent,R=[L,F].filter(Boolean).join(",");A(R,{polite:o==="polite",alert:o==="assertive"})},[n,i,A,o]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:B.always(c1("div",{ref:K1(l,v,H),role:"group","aria-labelledby":u,...a}),{elementType:"div"}),icon:B.optional(a.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:Bd(e)}}),bottomReflowSpacer:B.optional(a.bottomReflowSpacer,{renderByDefault:M==="multiline",elementType:"div"}),layout:M,intent:e,transitionClassName:m,actionsRef:i,bodyRef:n,titleId:u,shape:Z}};g();var Pd=J(void 0),sk={titleId:"",layout:"singleline",actionsRef:Z5(),bodyRef:Z5()},yv=Pd.Provider,Iv=()=>{var a;return(a=E(Pd))!==null&&a!==void 0?a:sk};var Ol=(a,l)=>{return G(a),/*@__PURE__*/w(yv,{value:l.messageBar,children:/*@__PURE__*/R1(a.root,{children:[a.icon&&/*@__PURE__*/w(a.icon,{}),a.root.children,a.bottomReflowSpacer&&/*@__PURE__*/w(a.bottomReflowSpacer,{})]})})};var z6={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},Dk=/*@__PURE__*/N("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),wk=/*@__PURE__*/N("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),kk=/*@__PURE__*/N("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),Sk=/*@__PURE__*/S({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),fk=/*@__PURE__*/S({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),Bk=/*@__PURE__*/S({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),yl=(a)=>{let l=Dk(),c=wk(),e=fk(),h=Bk(),Z=kk(),o=Sk();if(a.root.className=D(z6.root,l,a.layout==="multiline"&&o.rootMultiline,a.shape==="square"&&o.square,h[a.intent],a.transitionClassName,a.root.className),a.icon)a.icon.className=D(z6.icon,c,e[a.intent],a.icon.className);if(a.bottomReflowSpacer)a.bottomReflowSpacer.className=D(z6.bottomReflowSpacer,Z);return a};g();function Il(a){let{layout:l,actionsRef:c,bodyRef:e,titleId:h}=a;return{messageBar:C1(()=>({layout:l,actionsRef:c,bodyRef:e,titleId:h}),[l,c,e,h])}}var f4=/*@__PURE__*/T((a,l)=>{let c=Pl(a,l);return yl(c),z("useMessageBarStyles_unstable")(c),Ol(c,Il(c))});f4.displayName="MessageBar";g();g();var Ul=(a,l)=>{let{bodyRef:c}=Iv();return{components:{root:"div"},root:B.always(c1("div",{ref:K1(l,c),...a}),{elementType:"div"})}};var El=(a,l)=>{return G(a),/*@__PURE__*/w(Zh,{value:l.link,children:/*@__PURE__*/w(a.root,{})})};var Dh={root:"fui-MessageBarBody"},bk=/*@__PURE__*/N("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),Gl=(a)=>{let l=bk();return a.root.className=D(Dh.root,l,a.root.className),a};g();function Od(a){return{link:C1(()=>({inline:!0}),[])}}var B4=/*@__PURE__*/T((a,l)=>{let c=Ul(a,l),e=Od(c);return Gl(c),z("useMessageBarBodyStyles_unstable")(c),El(c,e)});B4.displayName="MessageBarBody";g();var Ek={scrollState:"none",setScrollState:()=>({})},jd=J(void 0),b4=jd.Provider,T4=()=>{var a;return(a=E(jd))!==null&&a!==void 0?a:Ek},W4=()=>{let[a,l]=m1("none");return{setScrollState:l,scrollState:a}};g();g();g();g();var J6={drawerSizeVar:"--fui-Drawer--size"},_d={overflow:"hidden",width:`var(${J6.drawerSizeVar})`,maxWidth:"100vw",height:"auto",maxHeight:"100vh",boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",backgroundColor:Q1.colorNeutralBackground1,color:Q1.colorNeutralForeground1},Gk=/*@__PURE__*/S({start:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1xteiwb","fsqykmd"],oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["fvfyk4","frppm18"]},end:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["fsqykmd","f1xteiwb"],j35jbq:["f1e31b4d","f1vgc2s3"],oyh7mz:["frppm18","fvfyk4"]},bottom:{B5kzvoi:"f1yab3r1",Bhzewxz:"f198g47y"},small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"fsdmzs6"}},{d:[[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".fvfyk4{right:auto;}",".frppm18{left:auto;}",[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1yab3r1{bottom:0;}",".f198g47y{top:auto;}",".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".fsdmzs6{--fui-Drawer--size:100vw;}"]}),qk=/*@__PURE__*/S({small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"f1rat34m"}},{d:[".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".f1rat34m{--fui-Drawer--size:100%;}"]}),kh=({position:a,size:l})=>{let c=Gk(),e=qk();return D(c[a],a==="bottom"&&e[l],a!=="bottom"&&c[l])};var Xv={small:B1.durationGentle,medium:B1.durationSlow,large:B1.durationSlower,full:B1.durationUltraSlow};function aC(a,l,c){let e=`translate3d(var(${l}), 0, 0)`,h=`translate3d(calc(var(${l}) * -1), 0, 0)`,Z=`translate3d(0, var(${l}), 0)`;if(a==="start")return c==="ltr"?h:e;if(a==="end")return c==="ltr"?e:h;if(a==="bottom")return Z;return"translate3d(0, 0, 0)"}var Yv=m5(({position:a,size:l,dir:c})=>{let e=[{transform:aC(a,J6.drawerSizeVar,c),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],h=Xv[l];return{enter:{keyframes:e,duration:h,easing:B1.curveDecelerateMid},exit:{keyframes:[...e].reverse(),duration:h,easing:B1.curveAccelerateMin}}}),lC=m5(({position:a,size:l,dir:c})=>{let e=[{transform:aC(a,J6.drawerSizeVar,c),boxShadow:`0px ${Q1.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:Q1.shadow64,opacity:1}],h=Xv[l];return{enter:{keyframes:e,duration:h,easing:B1.curveDecelerateMid},exit:{keyframes:[...e].reverse(),duration:h,easing:B1.curveAccelerateMin}}}),cC=m5(({size:a})=>{let l=[{opacity:0},{opacity:1}],c=Xv[a];return{enter:{keyframes:l,easing:B1.curveLinear,duration:c},exit:{keyframes:[...l].reverse(),easing:B1.curveLinear,duration:c}}});function Sh(a){let{open:l=!1,size:c="small",position:e="start"}=a;return{size:c,position:e,open:l}}g();var zk=/*@__PURE__*/N("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),Kk=/*@__PURE__*/S({nested:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),eC=(a)=>{let l=zk(),c=Kk();if(a.backdrop)a.backdrop.className=D(l,a.isNestedDialog&&c.nested,a.backdrop.className);return a};var zl=/*@__PURE__*/T((a,l)=>{let c=C7({...a,as:a.as},l),e=p7(c);return eC(c),g7(c,e)});zl.displayName="OverlayDrawerSurface";g();function Nv(a,l,c){if(a===null)return null;return{...a,children:(e,h)=>{if(a===null||a===void 0?void 0:a.children)return a.children(l,{...h,...c});return/*@__PURE__*/q(l,{...h,...c},h.children)}}}var Qk={active:!0,canRender:!0,ref:/*@__PURE__*/Z5(),type:"idle"},jv=(a,l)=>{let{open:c,size:e,position:h}=Sh(a),{backdropMotion:Z,modalType:o="modal",inertTrapFocus:r,onOpenChange:v,surfaceMotion:t,mountNode:M}=a,{dir:m,targetDocument:H}=p1(),{element:i}=qa(M),n=Boolean(i&&(H===null||H===void 0?void 0:H.body)!==i),A=B.resolveShorthand(a.backdrop),u=o!=="non-modal"&&A!==null,d=B.always({...a,ref:l,backdrop:u?{...A}:null,backdropMotion:Nv(Z,cC,{size:e})},{elementType:zl}),C=B.always({open:c,onOpenChange:v,inertTrapFocus:r,modalType:o,surfaceMotion:Nv(t,lC,{position:h,size:e,dir:m}),children:null},{elementType:D5});return{components:{root:zl,dialog:D5},root:d,dialog:C,open:c,size:e,position:h,hasMountNodeElement:n,mountNode:M,motion:Qk}};var _v=(a,l)=>{return G(a),/*@__PURE__*/w(b4,{value:l,children:/*@__PURE__*/w(a.dialog,{children:/*@__PURE__*/w(a.root,{})})})};g();var at={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},Jk=/*@__PURE__*/N("r7dfyj8","rmx02j7",{r:[".r7dfyj8{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".r7dfyj8:focus{outline-style:none;}",".r7dfyj8:focus-visible{outline-style:none;}",".r7dfyj8[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r7dfyj8[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmx02j7{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".rmx02j7:focus{outline-style:none;}",".rmx02j7:focus-visible{outline-style:none;}",".rmx02j7[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmx02j7[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r7dfyj8[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmx02j7[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),$k=/*@__PURE__*/S({start:{},end:{},bottom:{Bhzewxz:"f198g47y",Bqenvij:"fub80nq",a9b677:"fr97h3j"},absolute:{qhf8xq:"f1euv43f"}},{d:[".f198g47y{top:auto;}",".fub80nq{height:var(--fui-Drawer--size);}",".fr97h3j{width:100vw;}",".f1euv43f{position:absolute;}"]}),lt=(a)=>{let l=kh(a),c=Jk(),e=$k(),h=a.hasMountNodeElement&&e.absolute,Z=a.root.backdrop;if(a.root.className=D(at.root,l,c,e[a.position],h,a.root.className),Z)Z.className=D(at.backdrop,h,Z.className);return a};var Kl=/*@__PURE__*/T((a,l)=>{let c=jv(a,l),e=W4();return lt(c),z("useDrawerOverlayStyles_unstable")(c),z("useOverlayDrawerStyles_unstable")(c),_v(c,e)});Kl.displayName="OverlayDrawer";g();g();var Xk={active:!0,canRender:!0,ref:Z5(),type:"idle"},ct=(a,l)=>{let{size:c,position:e,open:h}=Sh(a),{separator:Z=!1,surfaceMotion:o}=a,{dir:r}=p1();return{components:{root:"div",surfaceMotion:Yv},root:B.always(c1("div",{...a,ref:l}),{elementType:"div"}),open:h,position:e,size:c,separator:Z,surfaceMotion:o4(o,{elementType:Yv,defaultProps:{position:e,size:c,dir:r,visible:h,unmountOnExit:!0}}),motion:Xk}};var et=(a,l)=>{return G(a),/*@__PURE__*/w(b4,{value:l,children:/*@__PURE__*/w(a.surfaceMotion,{children:/*@__PURE__*/w(a.root,{})})})};var hC={root:"fui-InlineDrawer"},Yk=/*@__PURE__*/N("rkjj3x6",null,[".rkjj3x6{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:relative;}"]),Dt1=`1px solid ${Q1.colorNeutralBackground3}`,Nk=/*@__PURE__*/S({separatorStart:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1cxmi7i","f1j970fk"]},separatorEnd:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["f1j970fk","f1cxmi7i"]},separatorBottom:{g2u3we:0,icvyot:0,B4j52fo:0,i8vvqc:"f1n3kblk"},start:{},end:{},bottom:{a9b677:"fly5x3f",Bqenvij:"fub80nq"}},{d:[[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1n3kblk{border-top:1px solid var(--colorNeutralBackground3);}",{p:-1}],".fly5x3f{width:100%;}",".fub80nq{height:var(--fui-Drawer--size);}"]});function jk(a,l){if(!a.separator)return;switch(a.position){case"start":return l.separatorStart;case"end":return l.separatorEnd;case"bottom":return l.separatorBottom;default:return}}var ht=(a)=>{let l=Yk(),c=kh(a),e=Nk();return a.root.className=D(hC.root,l,c,jk(a,e),e[a.position],a.root.className),a};var Ql=/*@__PURE__*/T((a,l)=>{let c=ct(a,l),e=W4();return ht(c),z("useDrawerInlineStyles_unstable")(c),z("useInlineDrawerStyles_unstable")(c),et(c,e)});Ql.displayName="InlineDrawer";var Jl=(a,l)=>{let c=a.type==="inline"?Ql:Kl,e=B.always({ref:l,...a},{elementType:c});return{components:{root:c},root:e}};var $l=(a,l)=>{return G(a),/*@__PURE__*/w(b4,{value:l,children:/*@__PURE__*/w(a.root,{})})};var ZC={root:"fui-Drawer"},Xl=(a)=>{return a.root.className=D(ZC.root,a.root.className),a};var f2=/*@__PURE__*/T((a,l)=>{let c=Jl(a,l),e=W4();return Xl(c),z("useDrawerStyles_unstable")(c),$l(c,e)});f2.displayName="Drawer";g();g();var _k=({scrollTop:a,scrollHeight:l,clientHeight:c})=>{if(l<=c)return"none";if(a===0)return"top";if(a+c===l)return"bottom";return"middle"},Yl=(a,l)=>{let{setScrollState:c}=T4(),e=U(null),[h,Z]=Fe(),o=a1(()=>{if(!e.current)return;c(_k(e.current))},[c]),r=a1(()=>{Z(),h(()=>o())},[Z,h,o]);return z1(()=>{return Z(),h(()=>o()),()=>Z()},[a.children,Z,o,h]),z1(()=>{return Z(),h(()=>o()),()=>Z()},[Z,o,h]),{components:{root:"div"},root:B.always(c1("div",{ref:K1(l,e),...a,onScroll:N5(a.onScroll,r)}),{elementType:"div"})}};var Nl=(a)=>{return G(a),/*@__PURE__*/w(a.root,{})};var fh={root:"fui-DrawerBody"},aS=/*@__PURE__*/N("ri6rvx7",null,[".ri6rvx7{padding:0 var(--spacingHorizontalXXL);flex:1;align-self:stretch;position:relative;z-index:1;overflow:auto;}",".ri6rvx7:last-child{padding-bottom:calc(var(--spacingHorizontalXXL) + 1px);}",".ri6rvx7:first-child{padding-top:calc(var(--spacingHorizontalXXL) + 1px);}"]),jl=(a)=>{let l=aS();return a.root.className=D(fh.root,l,a.root.className),a};var B2=/*@__PURE__*/T((a,l)=>{let c=Yl(a,l);return jl(c),z("useDrawerBodyStyles_unstable")(c),Nl(c)});B2.displayName="DrawerBody";g();g();var _l=(a,l)=>{let{scrollState:c}=T4();return{components:{root:"header"},root:B.always(c1("header",{ref:l,role:"none",...a}),{elementType:"header"}),scrollState:c}};var ac=(a)=>{return G(a),/*@__PURE__*/w(a.root,{})};var Bh={root:"fui-DrawerHeader"},lS=/*@__PURE__*/N("r3ovn4i",null,[".r3ovn4i{width:100%;max-width:100%;padding:var(--spacingVerticalXXL) var(--spacingHorizontalXXL) var(--spacingVerticalS);gap:var(--spacingHorizontalS);align-self:stretch;display:flex;flex-direction:column;box-sizing:border-box;position:relative;z-index:2;}"]),cS=/*@__PURE__*/S({separator:{Dlnsje:"fxnjyrl",E3zdtr:"f1mdlcz9",B1piin3:["f15yvnhg","f1n6gb5g"],Eqx8gd:["f1n6gb5g","f15yvnhg"],Bp15pi3:"f1564nw5",Bjyk6c5:"fdlpgxj",F2fol1:"f15cmg8x",Ba2ppi3:"f3f8dgl",B1dyfl9:"fjvo4va",Bsft5z2:"f13zj6fq",By385i5:"fo72kxq"},separatorVisible:{Bp15pi3:"fjsqi2x"}},{d:[".fxnjyrl::after{height:1px;}",".f1mdlcz9::after{position:absolute;}",".f15yvnhg::after{right:0;}",".f1n6gb5g::after{left:0;}",".f1564nw5::after{opacity:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}",".f15cmg8x::after{transition-duration:var(--durationNormal);}",".f3f8dgl::after{transition-property:opacity;}",".fjvo4va::after{transition-timing-function:var(--curveEasyEase);}",'.f13zj6fq::after{content:"";}',".fo72kxq::after{bottom:0;}",".fjsqi2x::after{opacity:1;}"]}),lc=(a)=>{let l=lS(),c=cS();return a.root.className=D(Bh.root,l,a.scrollState!=="none"&&c.separator,["middle","bottom"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var b2=/*@__PURE__*/T((a,l)=>{let c=_l(a,l);return lc(c),z("useDrawerHeaderStyles_unstable")(c),ac(c)});b2.displayName="DrawerHeader";g();g();var cc=(a,l)=>{let{children:c,heading:e}=a,h=I0((Z)=>Z.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:B.always(c1("div",{ref:l,...a}),{elementType:"div"}),heading:B.optional(e,{defaultProps:{id:h,children:c},renderByDefault:!0,elementType:"h2"}),action:B.optional(a.action,{elementType:"div"})}};var ec=(a)=>{return G(a),/*@__PURE__*/R1(a.root,{children:[a.heading&&/*@__PURE__*/w(a.heading,{}),a.action&&/*@__PURE__*/w(a.action,{})]})};var $6={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},eS=/*@__PURE__*/S({root:{mc9l5x:"f22iagw",Brf1p80:"f1869bpl",Bt984gj:"f122n59",i8kkvl:"fsnqrgy"},action:{t21cq0:["faqnl2i","fd75udd"]}},{d:[".f22iagw{display:flex;}",".f1869bpl{justify-content:space-between;}",".f122n59{align-items:center;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".faqnl2i{margin-right:calc(var(--spacingHorizontalS) * -1);}",".fd75udd{margin-left:calc(var(--spacingHorizontalS) * -1);}"]}),hc=(a)=>{let l=eS(),{heading:c={},action:e,components:h}=a;if(d7({components:{root:h.heading,action:h.action},root:c,action:e}),a.root.className=D($6.root,l.root,a.root.className),a.heading)a.heading.className=D($6.heading,a.heading.className);if(a.action)a.action.className=D($6.action,l.action,a.action.className);return a};var T2=/*@__PURE__*/T((a,l)=>{let c=cc(a,l);return hc(c),z("useDrawerHeaderTitleStyles_unstable")(c),ec(c)});T2.displayName="DrawerHeaderTitle";g();g();var Zc=(a,l)=>{let{scrollState:c}=T4();return{components:{root:"footer"},root:B.always(c1("footer",{ref:l,role:"none",...a}),{elementType:"footer"}),scrollState:c}};var oc=(a)=>{return G(a),/*@__PURE__*/w(a.root,{})};var bh={root:"fui-DrawerFooter"},hS=/*@__PURE__*/N("r1snvl2j",null,[".r1snvl2j{width:100%;max-width:100%;padding:var(--spacingVerticalL) var(--spacingHorizontalXXL) var(--spacingVerticalXXL);display:flex;justify-content:flex-start;align-items:center;column-gap:var(--spacingHorizontalS);box-sizing:border-box;position:relative;z-index:2;}"]),ZS=/*@__PURE__*/S({separator:{Baz25je:"f16b62f1",Brfgrao:"f1j7ml58",mdwyqc:["f1f351id","f1fzr1x6"],Fbdkly:["f1fzr1x6","f1f351id"],vz82u:"f1dhznln",cmx5o7:"f1p5zmk",h7gv66:"f1ljjo4k",B8bqphf:"ffd2d9j",wjn42g:"ffdt3s5",Ftih45:"f1wl9k8s",Bciustq:"ffi060y"},separatorVisible:{vz82u:"f1b3qyzu"}},{d:[".f16b62f1::before{height:1px;}",".f1j7ml58::before{position:absolute;}",".f1f351id::before{right:0;}",".f1fzr1x6::before{left:0;}",".f1dhznln::before{opacity:0;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1ljjo4k::before{transition-duration:var(--durationNormal);}",".ffd2d9j::before{transition-property:opacity;}",".ffdt3s5::before{transition-timing-function:var(--curveEasyEase);}",'.f1wl9k8s::before{content:"";}',".ffi060y::before{top:0;}",".f1b3qyzu::before{opacity:1;}"]}),rc=(a)=>{let l=hS(),c=ZS();return a.root.className=D(bh.root,l,a.scrollState!=="none"&&c.separator,["middle","top"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var q3=/*@__PURE__*/T((a,l)=>{let c=Zc(a,l);return rc(c),z("useDrawerFooterStyles_unstable")(c),oc(c)});q3.displayName="DrawerFooter";function f0(a,l){if(oS(a))a="100%";var c=rS(a);if(a=l===360?a:Math.min(l,Math.max(0,parseFloat(a))),c)a=parseInt(String(a*l),10)/100;if(Math.abs(a-l)<0.000001)return 1;if(l===360)a=(a<0?a%l+l:a%l)/parseFloat(String(l));else a=a%l/parseFloat(String(l));return a}function vc(a){return Math.min(1,Math.max(0,a))}function oS(a){return typeof a==="string"&&a.indexOf(".")!==-1&&parseFloat(a)===1}function rS(a){return typeof a==="string"&&a.indexOf("%")!==-1}function Th(a){if(a=parseFloat(a),isNaN(a)||a<0||a>1)a=1;return a}function tc(a){if(a<=1)return"".concat(Number(a)*100,"%");return a}function R7(a){return a.length===1?"0"+a:String(a)}function oC(a,l,c){return{r:f0(a,255)*255,g:f0(l,255)*255,b:f0(c,255)*255}}function ot(a,l,c){a=f0(a,255),l=f0(l,255),c=f0(c,255);var e=Math.max(a,l,c),h=Math.min(a,l,c),Z=0,o=0,r=(e+h)/2;if(e===h)o=0,Z=0;else{var v=e-h;switch(o=r>0.5?v/(2-e-h):v/(e+h),e){case a:Z=(l-c)/v+(l<c?6:0);break;case l:Z=(c-a)/v+2;break;case c:Z=(a-l)/v+4;break;default:break}Z/=6}return{h:Z,s:o,l:r}}function Zt(a,l,c){if(c<0)c+=1;if(c>1)c-=1;if(c<0.16666666666666666)return a+(l-a)*(6*c);if(c<0.5)return l;if(c<0.6666666666666666)return a+(l-a)*(0.6666666666666666-c)*6;return a}function rC(a,l,c){var e,h,Z;if(a=f0(a,360),l=f0(l,100),c=f0(c,100),l===0)h=c,Z=c,e=c;else{var o=c<0.5?c*(1+l):c+l-c*l,r=2*c-o;e=Zt(r,o,a+0.3333333333333333),h=Zt(r,o,a),Z=Zt(r,o,a-0.3333333333333333)}return{r:e*255,g:h*255,b:Z*255}}function rt(a,l,c){a=f0(a,255),l=f0(l,255),c=f0(c,255);var e=Math.max(a,l,c),h=Math.min(a,l,c),Z=0,o=e,r=e-h,v=e===0?0:r/e;if(e===h)Z=0;else{switch(e){case a:Z=(l-c)/r+(l<c?6:0);break;case l:Z=(c-a)/r+2;break;case c:Z=(a-l)/r+4;break;default:break}Z/=6}return{h:Z,s:v,v:o}}function vC(a,l,c){a=f0(a,360)*6,l=f0(l,100),c=f0(c,100);var e=Math.floor(a),h=a-e,Z=c*(1-l),o=c*(1-h*l),r=c*(1-(1-h)*l),v=e%6,t=[c,o,Z,Z,r,c][v],M=[r,c,c,o,Z,Z][v],m=[Z,Z,r,c,c,o][v];return{r:t*255,g:M*255,b:m*255}}function vt(a,l,c,e){var h=[R7(Math.round(a).toString(16)),R7(Math.round(l).toString(16)),R7(Math.round(c).toString(16))];if(e&&h[0].startsWith(h[0].charAt(1))&&h[1].startsWith(h[1].charAt(1))&&h[2].startsWith(h[2].charAt(1)))return h[0].charAt(0)+h[1].charAt(0)+h[2].charAt(0);return h.join("")}function tC(a,l,c,e,h){var Z=[R7(Math.round(a).toString(16)),R7(Math.round(l).toString(16)),R7(Math.round(c).toString(16)),R7(vS(e))];if(h&&Z[0].startsWith(Z[0].charAt(1))&&Z[1].startsWith(Z[1].charAt(1))&&Z[2].startsWith(Z[2].charAt(1))&&Z[3].startsWith(Z[3].charAt(1)))return Z[0].charAt(0)+Z[1].charAt(0)+Z[2].charAt(0)+Z[3].charAt(0);return Z.join("")}function vS(a){return Math.round(parseFloat(a)*255).toString(16)}function tt(a){return w5(a)/255}function w5(a){return parseInt(a,16)}function mC(a){return{r:a>>16,g:(a&65280)>>8,b:a&255}}var mc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function MC(a){var l={r:0,g:0,b:0},c=1,e=null,h=null,Z=null,o=!1,r=!1;if(typeof a==="string")a=MS(a);if(typeof a==="object"){if(z3(a.r)&&z3(a.g)&&z3(a.b))l=oC(a.r,a.g,a.b),o=!0,r=String(a.r).substr(-1)==="%"?"prgb":"rgb";else if(z3(a.h)&&z3(a.s)&&z3(a.v))e=tc(a.s),h=tc(a.v),l=vC(a.h,e,h),o=!0,r="hsv";else if(z3(a.h)&&z3(a.s)&&z3(a.l))e=tc(a.s),Z=tc(a.l),l=rC(a.h,e,Z),o=!0,r="hsl";if(Object.prototype.hasOwnProperty.call(a,"a"))c=a.a}return c=Th(c),{ok:o,format:a.format||r,r:Math.min(255,Math.max(l.r,0)),g:Math.min(255,Math.max(l.g,0)),b:Math.min(255,Math.max(l.b,0)),a:c}}var tS="[-\\+]?\\d+%?",mS="[-\\+]?\\d*\\.\\d+%?",x7="(?:".concat(mS,")|(?:").concat(tS,")"),mt="[\\s|\\(]+(".concat(x7,")[,|\\s]+(").concat(x7,")[,|\\s]+(").concat(x7,")\\s*\\)?"),Mt="[\\s|\\(]+(".concat(x7,")[,|\\s]+(").concat(x7,")[,|\\s]+(").concat(x7,")[,|\\s]+(").concat(x7,")\\s*\\)?"),W2={CSS_UNIT:new RegExp(x7),rgb:new RegExp("rgb"+mt),rgba:new RegExp("rgba"+Mt),hsl:new RegExp("hsl"+mt),hsla:new RegExp("hsla"+Mt),hsv:new RegExp("hsv"+mt),hsva:new RegExp("hsva"+Mt),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function MS(a){if(a=a.trim().toLowerCase(),a.length===0)return!1;var l=!1;if(mc[a])a=mc[a],l=!0;else if(a==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var c=W2.rgb.exec(a);if(c)return{r:c[1],g:c[2],b:c[3]};if(c=W2.rgba.exec(a),c)return{r:c[1],g:c[2],b:c[3],a:c[4]};if(c=W2.hsl.exec(a),c)return{h:c[1],s:c[2],l:c[3]};if(c=W2.hsla.exec(a),c)return{h:c[1],s:c[2],l:c[3],a:c[4]};if(c=W2.hsv.exec(a),c)return{h:c[1],s:c[2],v:c[3]};if(c=W2.hsva.exec(a),c)return{h:c[1],s:c[2],v:c[3],a:c[4]};if(c=W2.hex8.exec(a),c)return{r:w5(c[1]),g:w5(c[2]),b:w5(c[3]),a:tt(c[4]),format:l?"name":"hex8"};if(c=W2.hex6.exec(a),c)return{r:w5(c[1]),g:w5(c[2]),b:w5(c[3]),format:l?"name":"hex"};if(c=W2.hex4.exec(a),c)return{r:w5(c[1]+c[1]),g:w5(c[2]+c[2]),b:w5(c[3]+c[3]),a:tt(c[4]+c[4]),format:l?"name":"hex8"};if(c=W2.hex3.exec(a),c)return{r:w5(c[1]+c[1]),g:w5(c[2]+c[2]),b:w5(c[3]+c[3]),format:l?"name":"hex"};return!1}function z3(a){return Boolean(W2.CSS_UNIT.exec(String(a)))}var Ht=function(){function a(l,c){if(l===void 0)l="";if(c===void 0)c={};var e;if(l instanceof a)return l;if(typeof l==="number")l=mC(l);this.originalInput=l;var h=MC(l);if(this.originalInput=l,this.r=h.r,this.g=h.g,this.b=h.b,this.a=h.a,this.roundA=Math.round(100*this.a)/100,this.format=(e=c.format)!==null&&e!==void 0?e:h.format,this.gradientType=c.gradientType,this.r<1)this.r=Math.round(this.r);if(this.g<1)this.g=Math.round(this.g);if(this.b<1)this.b=Math.round(this.b);this.isValid=h.ok}return a.prototype.isDark=function(){return this.getBrightness()<128},a.prototype.isLight=function(){return!this.isDark()},a.prototype.getBrightness=function(){var l=this.toRgb();return(l.r*299+l.g*587+l.b*114)/1000},a.prototype.getLuminance=function(){var l=this.toRgb(),c,e,h,Z=l.r/255,o=l.g/255,r=l.b/255;if(Z<=0.03928)c=Z/12.92;else c=Math.pow((Z+0.055)/1.055,2.4);if(o<=0.03928)e=o/12.92;else e=Math.pow((o+0.055)/1.055,2.4);if(r<=0.03928)h=r/12.92;else h=Math.pow((r+0.055)/1.055,2.4);return 0.2126*c+0.7152*e+0.0722*h},a.prototype.getAlpha=function(){return this.a},a.prototype.setAlpha=function(l){return this.a=Th(l),this.roundA=Math.round(100*this.a)/100,this},a.prototype.isMonochrome=function(){var l=this.toHsl().s;return l===0},a.prototype.toHsv=function(){var l=rt(this.r,this.g,this.b);return{h:l.h*360,s:l.s,v:l.v,a:this.a}},a.prototype.toHsvString=function(){var l=rt(this.r,this.g,this.b),c=Math.round(l.h*360),e=Math.round(l.s*100),h=Math.round(l.v*100);return this.a===1?"hsv(".concat(c,", ").concat(e,"%, ").concat(h,"%)"):"hsva(".concat(c,", ").concat(e,"%, ").concat(h,"%, ").concat(this.roundA,")")},a.prototype.toHsl=function(){var l=ot(this.r,this.g,this.b);return{h:l.h*360,s:l.s,l:l.l,a:this.a}},a.prototype.toHslString=function(){var l=ot(this.r,this.g,this.b),c=Math.round(l.h*360),e=Math.round(l.s*100),h=Math.round(l.l*100);return this.a===1?"hsl(".concat(c,", ").concat(e,"%, ").concat(h,"%)"):"hsla(".concat(c,", ").concat(e,"%, ").concat(h,"%, ").concat(this.roundA,")")},a.prototype.toHex=function(l){if(l===void 0)l=!1;return vt(this.r,this.g,this.b,l)},a.prototype.toHexString=function(l){if(l===void 0)l=!1;return"#"+this.toHex(l)},a.prototype.toHex8=function(l){if(l===void 0)l=!1;return tC(this.r,this.g,this.b,this.a,l)},a.prototype.toHex8String=function(l){if(l===void 0)l=!1;return"#"+this.toHex8(l)},a.prototype.toHexShortString=function(l){if(l===void 0)l=!1;return this.a===1?this.toHexString(l):this.toHex8String(l)},a.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},a.prototype.toRgbString=function(){var l=Math.round(this.r),c=Math.round(this.g),e=Math.round(this.b);return this.a===1?"rgb(".concat(l,", ").concat(c,", ").concat(e,")"):"rgba(".concat(l,", ").concat(c,", ").concat(e,", ").concat(this.roundA,")")},a.prototype.toPercentageRgb=function(){var l=function(c){return"".concat(Math.round(f0(c,255)*100),"%")};return{r:l(this.r),g:l(this.g),b:l(this.b),a:this.a}},a.prototype.toPercentageRgbString=function(){var l=function(c){return Math.round(f0(c,255)*100)};return this.a===1?"rgb(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%)"):"rgba(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%, ").concat(this.roundA,")")},a.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;var l="#"+vt(this.r,this.g,this.b,!1);for(var c=0,e=Object.entries(mc);c<e.length;c++){var h=e[c],Z=h[0],o=h[1];if(l===o)return Z}return!1},a.prototype.toString=function(l){var c=Boolean(l);l=l!==null&&l!==void 0?l:this.format;var e=!1,h=this.a<1&&this.a>=0,Z=!c&&h&&(l.startsWith("hex")||l==="name");if(Z){if(l==="name"&&this.a===0)return this.toName();return this.toRgbString()}if(l==="rgb")e=this.toRgbString();if(l==="prgb")e=this.toPercentageRgbString();if(l==="hex"||l==="hex6")e=this.toHexString();if(l==="hex3")e=this.toHexString(!0);if(l==="hex4")e=this.toHex8String(!0);if(l==="hex8")e=this.toHex8String();if(l==="name")e=this.toName();if(l==="hsl")e=this.toHslString();if(l==="hsv")e=this.toHsvString();return e||this.toHexString()},a.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},a.prototype.clone=function(){return new a(this.toString())},a.prototype.lighten=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.l+=l/100,c.l=vc(c.l),new a(c)},a.prototype.brighten=function(l){if(l===void 0)l=10;var c=this.toRgb();return c.r=Math.max(0,Math.min(255,c.r-Math.round(255*-(l/100)))),c.g=Math.max(0,Math.min(255,c.g-Math.round(255*-(l/100)))),c.b=Math.max(0,Math.min(255,c.b-Math.round(255*-(l/100)))),new a(c)},a.prototype.darken=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.l-=l/100,c.l=vc(c.l),new a(c)},a.prototype.tint=function(l){if(l===void 0)l=10;return this.mix("white",l)},a.prototype.shade=function(l){if(l===void 0)l=10;return this.mix("black",l)},a.prototype.desaturate=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.s-=l/100,c.s=vc(c.s),new a(c)},a.prototype.saturate=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.s+=l/100,c.s=vc(c.s),new a(c)},a.prototype.greyscale=function(){return this.desaturate(100)},a.prototype.spin=function(l){var c=this.toHsl(),e=(c.h+l)%360;return c.h=e<0?360+e:e,new a(c)},a.prototype.mix=function(l,c){if(c===void 0)c=50;var e=this.toRgb(),h=new a(l).toRgb(),Z=c/100,o={r:(h.r-e.r)*Z+e.r,g:(h.g-e.g)*Z+e.g,b:(h.b-e.b)*Z+e.b,a:(h.a-e.a)*Z+e.a};return new a(o)},a.prototype.analogous=function(l,c){if(l===void 0)l=6;if(c===void 0)c=30;var e=this.toHsl(),h=360/c,Z=[this];for(e.h=(e.h-(h*l>>1)+720)%360;--l;)e.h=(e.h+h)%360,Z.push(new a(e));return Z},a.prototype.complement=function(){var l=this.toHsl();return l.h=(l.h+180)%360,new a(l)},a.prototype.monochromatic=function(l){if(l===void 0)l=6;var c=this.toHsv(),e=c.h,h=c.s,Z=c.v,o=[],r=1/l;while(l--)o.push(new a({h:e,s:h,v:Z})),Z=(Z+r)%1;return o},a.prototype.splitcomplement=function(){var l=this.toHsl(),c=l.h;return[this,new a({h:(c+72)%360,s:l.s,l:l.l}),new a({h:(c+216)%360,s:l.s,l:l.l})]},a.prototype.onBackground=function(l){var c=this.toRgb(),e=new a(l).toRgb(),h=c.a+e.a*(1-c.a);return new a({r:(c.r*c.a+e.r*e.a*(1-c.a))/h,g:(c.g*c.a+e.g*e.a*(1-c.a))/h,b:(c.b*c.a+e.b*e.a*(1-c.a))/h,a:h})},a.prototype.triad=function(){return this.polyad(3)},a.prototype.tetrad=function(){return this.polyad(4)},a.prototype.polyad=function(l){var c=this.toHsl(),e=c.h,h=[this],Z=360/l;for(var o=1;o<l;o++)h.push(new a({h:(e+o*Z)%360,s:c.s,l:c.l}));return h},a.prototype.equals=function(l){return this.toRgbString()===new a(l).toRgbString()},a}();function s7(a,l,c,e){function h(Z){return Z instanceof c?Z:new c(function(o){o(Z)})}return new(c||(c=Promise))(function(Z,o){function r(M){try{t(e.next(M))}catch(m){o(m)}}function v(M){try{t(e.throw(M))}catch(m){o(m)}}function t(M){M.done?Z(M.value):h(M.value).then(r,v)}t((e=e.apply(a,l||[])).next())})}var L0=(a,l,c)=>{return new Ht(a).mix(new Ht(l),c).toHexString()},HS=(a)=>{return{10:a.themeDarker,20:L0(a.themeDarker,a.themeDark),30:a.themeDark,40:L0(a.themeDark,a.themeDarkAlt),50:a.themeDarkAlt,60:L0(a.themeDarkAlt,a.themePrimary),70:a.themePrimary,80:L0(a.themePrimary,a.themeSecondary),90:a.themeSecondary,100:L0(a.themeSecondary,a.themeTertiary),110:a.themeTertiary,120:L0(a.themeTertiary,a.themeLight),130:a.themeLight,140:L0(a.themeLight,a.themeLighter),150:a.themeLighter,160:L0(a.themeLighter,a.themeLighterAlt)}},iS=(a)=>{return{10:a.themeDarker,20:L0(a.themeDarker,a.themePrimary,20),30:L0(a.themeDarker,a.themePrimary,30),40:L0(a.themeDarker,a.themePrimary,40),50:L0(a.themeDarker,a.themePrimary,50),60:L0(a.themeDarker,a.themePrimary,60),70:L0(a.themeDarker,a.themePrimary,70),80:a.themePrimary,90:L0(a.themePrimary,a.themeLighterAlt,10),100:L0(a.themePrimary,a.themeLighterAlt,20),110:L0(a.themePrimary,a.themeLighterAlt,30),120:L0(a.themePrimary,a.themeLighterAlt,40),130:L0(a.themePrimary,a.themeLighterAlt,50),140:L0(a.themePrimary,a.themeLighterAlt,60),150:L0(a.themePrimary,a.themeLighterAlt,70),160:a.themeLighterAlt}},Wh=(a,l="pairs")=>{switch(l){case"primaryAndEnds":return iS(a);case"pairs":default:return HS(a)}};g();g();var it=J(void 0),nS={},jA1=it.Provider,HC=()=>E(it)?E(it):nS;var AS=S({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),iC=(a,l)=>{let{title:c,primaryFill:e="currentColor",...h}=a,Z={...h,title:void 0,fill:e},o=AS(),r=HC();if(Z.className=D(o.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(r===null||r===void 0?void 0:r.textDirection)==="rtl"&&o.rtl,Z.className),c)Z["aria-label"]=c;if(!Z["aria-label"]&&!Z["aria-labelledby"])Z["aria-hidden"]=!0;else Z.role="img";return Z};var l0=(a,l,c,e)=>{let h=l==="1em"?"20":l,Z=T((o,r)=>{let v={...iC(o,{flipInRtl:e===null||e===void 0?void 0:e.flipInRtl}),ref:r,width:l,height:l,viewBox:`0 0 ${h} ${h}`,xmlns:"http://www.w3.org/2000/svg"};return q("svg",v,...c.map((t)=>q("path",{d:t,fill:v.fill})))});return Z.displayName=a,Z};var Ph=/*@__PURE__*/l0("ArrowRightRegular","1em",["M10.84 3.13a.5.5 0 0 0-.68.74l6.17 5.63H2.5a.5.5 0 0 0 0 1h13.83l-6.17 5.63a.5.5 0 0 0 .68.74l6.91-6.32a.75.75 0 0 0 0-1.1l-6.91-6.32Z"]);var X6=/*@__PURE__*/l0("ArrowTurnDownRightRegular","1em",["M11.15 16.85c.2.2.5.2.7 0l4-4a.5.5 0 0 0 0-.7l-4-4a.5.5 0 0 0-.7.7L14.29 12H8a2 2 0 0 1-2-2V3.5a.5.5 0 0 0-1 0V10a3 3 0 0 0 3 3h6.3l-3.15 3.15a.5.5 0 0 0 0 .7Z"]);var nC=/*@__PURE__*/l0("EditRegular","1em",["M17.18 2.93a2.97 2.97 0 0 0-4.26-.06l-9.37 9.38c-.33.33-.56.74-.66 1.2l-.88 3.94a.5.5 0 0 0 .6.6l3.93-.87c.46-.1.9-.34 1.23-.68l9.36-9.36a2.97 2.97 0 0 0 .05-4.15Zm-3.55.65a1.97 1.97 0 1 1 2.8 2.8l-.68.66-2.8-2.79.68-.67Zm-1.38 1.38 2.8 2.8-7.99 7.97c-.2.2-.46.35-.74.41l-3.16.7.7-3.18c.07-.27.2-.51.4-.7l8-8Z"]);var AC=/*@__PURE__*/l0("FolderRegular","1em",["M4.5 3A2.5 2.5 0 0 0 2 5.5v9A2.5 2.5 0 0 0 4.5 17h11a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 15.5 5H9.7L8.23 3.51A1.75 1.75 0 0 0 6.98 3H4.5ZM3 5.5C3 4.67 3.67 4 4.5 4h2.48c.2 0 .4.08.53.22L8.8 5.5 7.44 6.85a.5.5 0 0 1-.35.15H3V5.5ZM3 8h4.09c.4 0 .78-.16 1.06-.44L9.7 6h5.79c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-11A1.5 1.5 0 0 1 3 14.5V8Z"]);var Y6=/*@__PURE__*/l0("Add16Regular","16",["M8 2c.28 0 .5.22.5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5c0-.28.22-.5.5-.5Z"]);var VC=/*@__PURE__*/l0("AppFolder20Regular","20",["M5 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6Zm3 0H6v2h2V6Zm-3 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-2Zm3 0H6v2h2v-2Zm4-7a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2Zm0 1h2v2h-2V6Zm-1 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-2Zm3 0h-2v2h2v-2ZM5 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H5ZM3 5c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Z"]);var uC=/*@__PURE__*/l0("ArrowLeft16Regular","16",["M13.5 8.5a.5.5 0 0 0 0-1H3.8l4.03-3.63a.5.5 0 1 0-.66-.74l-5 4.5a.5.5 0 0 0 0 .74l5 4.5a.5.5 0 1 0 .66-.74L3.8 8.5h9.7Z"]);var dC=/*@__PURE__*/l0("CheckmarkCircle24Regular","24",["M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm-1.25 9.94 4.47-4.47a.75.75 0 0 1 1.13.98l-.07.08-5 5a.75.75 0 0 1-.98.07l-.08-.07-2.5-2.5a.75.75 0 0 1 .98-1.13l.08.07 1.97 1.97 4.47-4.47-4.47 4.47Z"]);var CC=/*@__PURE__*/l0("Copy16Regular","16",["M4 4.09v6.41A2.5 2.5 0 0 0 6.34 13h4.57c-.2.58-.76 1-1.41 1H6a3 3 0 0 1-3-3V5.5c0-.65.42-1.2 1-1.41ZM11.5 2c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-5A1.5 1.5 0 0 1 5 10.5v-7C5 2.67 5.67 2 6.5 2h5Zm0 1h-5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5Z"]);var D7=/*@__PURE__*/l0("Delete16Regular","16",["M7 3h2a1 1 0 0 0-2 0ZM6 3a2 2 0 1 1 4 0h4a.5.5 0 0 1 0 1h-.56l-1.2 8.84A2.5 2.5 0 0 1 9.74 15h-3.5a2.5 2.5 0 0 1-2.48-2.16L2.57 4H2a.5.5 0 0 1 0-1h4Zm1 3.5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0v-5ZM9.5 6c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0v-5c0-.28.22-.5.5-.5Zm-4.74 6.7c.1.75.74 1.3 1.49 1.3h3.5a1.5 1.5 0 0 0 1.5-1.3L12.42 4H3.57l1.19 8.7Z"]);var gC=/*@__PURE__*/l0("Delete20Regular","20",["M8.5 4h3a1.5 1.5 0 0 0-3 0Zm-1 0a2.5 2.5 0 0 1 5 0h5a.5.5 0 0 1 0 1h-1.05l-1.2 10.34A3 3 0 0 1 12.27 18H7.73a3 3 0 0 1-2.98-2.66L3.55 5H2.5a.5.5 0 0 1 0-1h5ZM5.74 15.23A2 2 0 0 0 7.73 17h4.54a2 2 0 0 0 1.99-1.77L15.44 5H4.56l1.18 10.23ZM8.5 7.5c.28 0 .5.22.5.5v6a.5.5 0 0 1-1 0V8c0-.28.22-.5.5-.5ZM12 8a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V8Z"]);var m3=/*@__PURE__*/l0("Dismiss24Regular","24",["m4.4 4.55.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l6.47-6.47a.75.75 0 1 1 1.06 1.06L13.06 12l6.47 6.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-6.47 6.47a.75.75 0 0 1-1.06-1.06L10.94 12 4.47 5.53a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]);var pC=/*@__PURE__*/l0("DismissCircle24Regular","24",["M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm3.45 4.9.08.07c.27.27.3.68.07.98l-.07.08L13.06 12l2.47 2.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-2.47 2.47a.75.75 0 0 1-.98.07l-.08-.07a.75.75 0 0 1-.07-.98l.07-.08L10.94 12 8.47 9.53a.75.75 0 0 1-.07-.98l.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l2.47-2.47a.75.75 0 0 1 .98-.07Z"]);var Oh=/*@__PURE__*/l0("Info16Regular","16",["M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3Zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]);var LC=/*@__PURE__*/l0("Javascript24Regular","24",["M14 11.25c0-.97.78-1.75 1.75-1.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v1.5c0 .14.11.25.25.25h.5c.97 0 1.75.78 1.75 1.75v1.5c0 .97-.78 1.75-1.75 1.75h-1.5a.75.75 0 0 1 0-1.5h1.5c.14 0 .25-.11.25-.25v-1.5a.25.25 0 0 0-.25-.25h-.5c-.97 0-1.75-.78-1.75-1.75v-1.5Zm-1.25-1a.75.75 0 0 0-1.5 0v6c0 .14-.11.25-.25.25H9.75a.75.75 0 0 0 0 1.5H11c.97 0 1.75-.78 1.75-1.75v-6ZM3 6.25v11.5C3 19.55 4.46 21 6.25 21h11.5c1.8 0 3.25-1.46 3.25-3.25V6.25C21 4.45 19.54 3 17.75 3H6.25A3.25 3.25 0 0 0 3 6.25ZM6.25 4.5h11.5c.97 0 1.75.78 1.75 1.75v11.5c0 .97-.78 1.75-1.75 1.75H6.25c-.97 0-1.75-.78-1.75-1.75V6.25c0-.97.78-1.75 1.75-1.75Z"]);var FC=/*@__PURE__*/l0("WebAsset16Regular","16",["M4.5 2A2.5 2.5 0 0 0 2 4.5v7A2.5 2.5 0 0 0 4.5 14h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 11.5 2h-7ZM3 4.5C3 3.67 3.67 3 4.5 3h7c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-7A1.5 1.5 0 0 1 3 11.5v-7ZM5 5a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H5Z"]);$2();async function RC(){if(window.moduleLoaderPromise)return(await window.moduleLoaderPromise)?.context;console.error("Unable to retrieve Modern SP Context...")}async function xC(){if(window.moduleLoaderPromise){let a=await window.moduleLoaderPromise;if(a?.context?.pageContext)return{contextType:"SPOModernContext",context:a.context.pageContext};throw"It seems this is a modern page, however it was not possible to retrieve SP Context..."}if(window._spPageContextInfo)return{contextType:"ClassicContext",context:window._spPageContextInfo};throw"It was not possible to retrieve SP Context either through modern or through classic means..."}var nt="d6ca1fc2-0591-4c6d-8a25-cae3262c017b",sC="45e75137-13c5-4bb2-a2b3-8ab6382682ee",DC="SPFxExtensionsConfigurator",yh="SitePages/SPFxExtensionsConfigurator.aspx",X0="manifest.txt",e2="collectionconfig.txt",RV1="Loading...",N6="SPFxExtensionsConfiguration",j6="SPFxExtensionsWhiteList",k1="SPFxExtensions",wC="/SPFxExtensions/",s0="SPFxExtensionsData",Ih="[SPFxExtensionCore]",Mc={appDefinitionMap:[],appRelativeEntryPointUrls:[],isESM:!0},_6={enabledEverywhere:!1,excludedHubIds:[],excludedIds:[],includedHubIds:[],includedIds:[]},Hc={enabledAppCollections:[],urlMap:[]},Y0="00000000-0000-0000-0000-000000000000";function D1(a,l,c=a){return(e)=>{let h=""+e,Z=h.indexOf(l,a.length);return~Z?a+VS(h,l,c,Z)+l:a+h+l}}function VS(a,l,c,e){let h="",Z=0;do h+=a.substring(Z,e)+c,Z=e+l.length,e=a.indexOf(l,Z);while(~e);return h+a.substring(Z)}var sV1=D1("\x1B[0m","\x1B[0m"),DV1=D1("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),wV1=D1("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),kV1=D1("\x1B[3m","\x1B[23m"),SV1=D1("\x1B[4m","\x1B[24m"),fV1=D1("\x1B[7m","\x1B[27m"),BV1=D1("\x1B[8m","\x1B[28m"),bV1=D1("\x1B[9m","\x1B[29m"),TV1=D1("\x1B[30m","\x1B[39m"),WV1=D1("\x1B[31m","\x1B[39m"),PV1=D1("\x1B[32m","\x1B[39m"),OV1=D1("\x1B[33m","\x1B[39m"),yV1=D1("\x1B[34m","\x1B[39m"),IV1=D1("\x1B[35m","\x1B[39m"),UV1=D1("\x1B[36m","\x1B[39m"),EV1=D1("\x1B[37m","\x1B[39m"),GV1=D1("\x1B[90m","\x1B[39m"),qV1=D1("\x1B[40m","\x1B[49m"),zV1=D1("\x1B[41m","\x1B[49m"),KV1=D1("\x1B[42m","\x1B[49m"),QV1=D1("\x1B[43m","\x1B[49m"),JV1=D1("\x1B[44m","\x1B[49m"),$V1=D1("\x1B[45m","\x1B[49m"),XV1=D1("\x1B[46m","\x1B[49m"),YV1=D1("\x1B[47m","\x1B[49m"),NV1=D1("\x1B[90m","\x1B[39m"),jV1=D1("\x1B[91m","\x1B[39m"),Uh=D1("\x1B[92m","\x1B[39m"),_V1=D1("\x1B[93m","\x1B[39m"),au1=D1("\x1B[94m","\x1B[39m"),lu1=D1("\x1B[95m","\x1B[39m"),cu1=D1("\x1B[96m","\x1B[39m"),eu1=D1("\x1B[97m","\x1B[39m"),hu1=D1("\x1B[100m","\x1B[49m"),Zu1=D1("\x1B[101m","\x1B[49m"),ou1=D1("\x1B[102m","\x1B[49m"),ru1=D1("\x1B[103m","\x1B[49m"),vu1=D1("\x1B[104m","\x1B[49m"),tu1=D1("\x1B[105m","\x1B[49m"),mu1=D1("\x1B[106m","\x1B[49m"),Mu1=D1("\x1B[107m","\x1B[49m");function V1(...a){console.error(Uh(Ih),(/*@__PURE__*/new Date()).toISOString(),...a)}function P2(...a){console.warn(Uh(Ih),(/*@__PURE__*/new Date()).toISOString(),...a)}function N0(...a){console.info(Uh(Ih),(/*@__PURE__*/new Date()).toISOString(),...a)}function Eh(...a){}function Au1(a,l,c){V1("Error while executing onInstanceRequested for app",a.id,"with name",a.name,c?`Additional Data: ${c}`:"",l)}function du1(){return P2("The app instance event was called before app instance was initialized."),()=>{}}var At=window.crypto.randomUUID();function Cu1(){return At}function gu1(){return At=window.crypto.randomUUID(),At}function Vt(a){return a.replace("{","").replace("}","")}function P1(a){return JSON.parse(JSON.stringify(a))}var E0=await xC();function xu1(){return E0.contextType==="SPOModernContext"?E0.context.web.id.toString():Vt(E0.context.webId)}function P4(){return(E0.contextType==="SPOModernContext"?E0.context.web.absoluteUrl:E0.context.webAbsoluteUrl).replace(/\/$/,"")}function su1(){return E0.contextType==="SPOModernContext"?E0.context.site.id.toString():Vt(E0.context.siteId)}function Du1(){return E0.contextType==="SPOModernContext"?E0.context.site.absoluteUrl:E0.context.siteAbsoluteUrl}function wu1(){return(E0.contextType==="SPOModernContext"?E0.context.legacyPageContext.hubSiteId?.toString():E0.context.hubSiteId)??Y0}function ku1(){return E0.contextType==="SPOModernContext"?E0.context.legacyPageContext.isHubSite:E0.context.isHubSite}E7();$2();var uS=Symbol.for("preact-signals");function qh(){if(!(w7>1)){var a,l=!1;while(ic!==void 0){var c=ic;ic=void 0,ut++;while(c!==void 0){var e=c.o;if(c.o=void 0,c.f&=-3,!(8&c.f)&&SC(c))try{c.c()}catch(h){if(!l)a=h,l=!0}c=e}}if(ut=0,w7--,l)throw a}else w7--}function zh(a){if(w7>0)return a();w7++;try{return a()}finally{qh()}}var Y1=void 0;var ic=void 0,w7=0,ut=0,Gh=0;function kC(a){if(Y1!==void 0){var l=a.n;if(l===void 0||l.t!==Y1){if(l={i:0,S:a,p:Y1.s,n:void 0,t:Y1,e:void 0,x:void 0,r:l},Y1.s!==void 0)Y1.s.n=l;if(Y1.s=l,a.n=l,32&Y1.f)a.S(l);return l}else if(l.i===-1){if(l.i=0,l.n!==void 0){if(l.n.p=l.p,l.p!==void 0)l.p.n=l.n;l.p=Y1.s,l.n=void 0,Y1.s.n=l,Y1.s=l}return l}}}function B0(a){this.v=a,this.i=0,this.n=void 0,this.t=void 0}B0.prototype.brand=uS;B0.prototype.h=function(){return!0};B0.prototype.S=function(a){if(this.t!==a&&a.e===void 0){if(a.x=this.t,this.t!==void 0)this.t.e=a;this.t=a}};B0.prototype.U=function(a){if(this.t!==void 0){var{e:l,x:c}=a;if(l!==void 0)l.x=c,a.e=void 0;if(c!==void 0)c.e=l,a.x=void 0;if(a===this.t)this.t=c}};B0.prototype.subscribe=function(a){var l=this;return M3(function(){var c=l.value,e=Y1;Y1=void 0;try{a(c)}finally{Y1=e}})};B0.prototype.valueOf=function(){return this.value};B0.prototype.toString=function(){return this.value+""};B0.prototype.toJSON=function(){return this.value};B0.prototype.peek=function(){var a=Y1;Y1=void 0;try{return this.value}finally{Y1=a}};Object.defineProperty(B0.prototype,"value",{get:function(){var a=kC(this);if(a!==void 0)a.i=this.i;return this.v},set:function(a){if(a!==this.v){if(ut>100)throw new Error("Cycle detected");this.v=a,this.i++,Gh++,w7++;try{for(var l=this.t;l!==void 0;l=l.x)l.t.N()}finally{qh()}}}});function G0(a){return new B0(a)}function SC(a){for(var l=a.s;l!==void 0;l=l.n)if(l.S.i!==l.i||!l.S.h()||l.S.i!==l.i)return!0;return!1}function fC(a){for(var l=a.s;l!==void 0;l=l.n){var c=l.S.n;if(c!==void 0)l.r=c;if(l.S.n=l,l.i=-1,l.n===void 0){a.s=l;break}}}function BC(a){var l=a.s,c=void 0;while(l!==void 0){var e=l.p;if(l.i===-1){if(l.S.U(l),e!==void 0)e.n=l.n;if(l.n!==void 0)l.n.p=e}else c=l;if(l.S.n=l.r,l.r!==void 0)l.r=void 0;l=e}a.s=c}function a8(a){B0.call(this,void 0),this.x=a,this.s=void 0,this.g=Gh-1,this.f=4}(a8.prototype=new B0).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32)return!0;if(this.f&=-5,this.g===Gh)return!0;if(this.g=Gh,this.f|=1,this.i>0&&!SC(this))return this.f&=-2,!0;var a=Y1;try{fC(this),Y1=this;var l=this.x();if(16&this.f||this.v!==l||this.i===0)this.v=l,this.f&=-17,this.i++}catch(c){this.v=c,this.f|=16,this.i++}return Y1=a,BC(this),this.f&=-2,!0};a8.prototype.S=function(a){if(this.t===void 0){this.f|=36;for(var l=this.s;l!==void 0;l=l.n)l.S.S(l)}B0.prototype.S.call(this,a)};a8.prototype.U=function(a){if(this.t!==void 0){if(B0.prototype.U.call(this,a),this.t===void 0){this.f&=-33;for(var l=this.s;l!==void 0;l=l.n)l.S.U(l)}}};a8.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var a=this.t;a!==void 0;a=a.x)a.t.N()}};Object.defineProperty(a8.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var a=kC(this);if(this.h(),a!==void 0)a.i=this.i;if(16&this.f)throw this.v;return this.v}});function Kh(a){return new a8(a)}function bC(a){var l=a.u;if(a.u=void 0,typeof l=="function"){w7++;var c=Y1;Y1=void 0;try{l()}catch(e){throw a.f&=-2,a.f|=8,dt(a),e}finally{Y1=c,qh()}}}function dt(a){for(var l=a.s;l!==void 0;l=l.n)l.S.U(l);a.x=void 0,a.s=void 0,bC(a)}function dS(a){if(Y1!==this)throw new Error("Out-of-order effect");if(BC(this),Y1=a,this.f&=-2,8&this.f)dt(this);qh()}function nc(a){this.x=a,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}nc.prototype.c=function(){var a=this.S();try{if(8&this.f)return;if(this.x===void 0)return;var l=this.x();if(typeof l=="function")this.u=l}finally{a()}};nc.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,bC(this),fC(this),w7++;var a=Y1;return Y1=this,dS.bind(this,a)};nc.prototype.N=function(){if(!(2&this.f))this.f|=2,this.o=ic,ic=this};nc.prototype.d=function(){if(this.f|=8,!(1&this.f))dt(this)};function M3(a){var l=new nc(a);try{l.c()}catch(c){throw l.d(),c}return l.d.bind(l)}var gt,pt,Ct,TC=[],WC=[];M3(function(){gt=this.N})();function l8(a,l){d1[a]=l.bind(null,d1[a]||function(){})}function Qh(a){if(Ct)Ct();Ct=a&&a.S()}function PC(a){var l=this,c=a.data,e=K3(c);e.value=c;var h=C1(function(){var r=l,v=l.__v;while(v=v.__)if(v.__c){v.__c.__$f|=4;break}var t=Kh(function(){var i=e.value.value;return i===0?0:i===!0?"":i||""}),M=Kh(function(){return!Array.isArray(t.value)&&!QZ(t.value)}),m=M3(function(){if(this.N=OC,M.value){var i=t.value;if(r.__v&&r.__v.__e&&r.__v.__e.nodeType===3)r.__v.__e.data=i}}),H=l.__$u.d;return l.__$u.d=function(){m(),H.call(this)},[M,t]},[]),Z=h[0],o=h[1];return Z.value?o.peek():o.value}PC.displayName="_st";Object.defineProperties(B0.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:PC},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});l8("__b",function(a,l){if(typeof l.type=="string"){var c,e=l.props;for(var h in e)if(h!=="children"){var Z=e[h];if(Z instanceof B0){if(!c)l.__np=c={};c[h]=Z,e[h]=Z.peek()}}}a(l)});l8("__r",function(a,l){Qh();var c,e=l.__c;if(e){if(e.__$f&=-2,(c=e.__$u)===void 0)e.__$u=c=function(h){var Z;return M3(function(){Z=this}),Z.c=function(){e.__$f|=1,e.setState({})},Z}()}pt=e,Qh(c),a(l)});l8("__e",function(a,l,c,e){Qh(),pt=void 0,a(l,c,e)});l8("diffed",function(a,l){Qh(),pt=void 0;var c;if(typeof l.type=="string"&&(c=l.__e)){var{__np:e,props:h}=l;if(e){var Z=c.U;if(Z)for(var o in Z){var r=Z[o];if(r!==void 0&&!(o in e))r.d(),Z[o]=void 0}else Z={},c.U=Z;for(var v in e){var t=Z[v],M=e[v];if(t===void 0)t=CS(c,v,M,h),Z[v]=t;else t.o(M,h)}}}a(l)});function CS(a,l,c,e){var h=l in a&&a.ownerSVGElement===void 0,Z=G0(c);return{o:function(o,r){Z.value=o,e=r},d:M3(function(){this.N=OC;var o=Z.value.value;if(e[l]!==o)if(e[l]=o,h)a[l]=o;else if(o)a.setAttribute(l,o);else a.removeAttribute(l)})}}l8("unmount",function(a,l){if(typeof l.type=="string"){var c=l.__e;if(c){var e=c.U;if(e){c.U=void 0;for(var h in e){var Z=e[h];if(Z)Z.d()}}}}else{var o=l.__c;if(o){var r=o.__$u;if(r)o.__$u=void 0,r.d()}}a(l)});l8("__h",function(a,l,c,e){if(e<3||e===9)l.__$f|=2;a(l,c,e)});h5.prototype.shouldComponentUpdate=function(a,l){var c=this.__$u,e=c&&c.s!==void 0;for(var h in l)return!0;if(this.__f||typeof this.u=="boolean"&&this.u===!0){var Z=2&this.__$f;if(!(e||Z||4&this.__$f))return!0;if(1&this.__$f)return!0}else{if(!(e||4&this.__$f))return!0;if(3&this.__$f)return!0}for(var o in a)if(o!=="__source"&&a[o]!==this.props[o])return!0;for(var r in this.props)if(!(r in a))return!0;return!1};function K3(a){return C1(function(){return G0(a)},[])}var gS=typeof requestAnimationFrame=="undefined"?setTimeout:function(a){var l=function(){clearTimeout(c),cancelAnimationFrame(e),a()},c=setTimeout(l,100),e=requestAnimationFrame(l)},pS=function(a){queueMicrotask(function(){queueMicrotask(a)})};function LS(){zh(function(){var a;while(a=TC.shift())gt.call(a)})}function FS(){if(TC.push(this)===1)(d1.requestAnimationFrame||gS)(LS)}function RS(){zh(function(){var a;while(a=WC.shift())gt.call(a)})}function OC(){if(WC.push(this)===1)(d1.requestAnimationFrame||pS)(RS)}function E5(a){var l=U(a);l.current=a,t1(function(){return M3(function(){return this.N=FS,l.current()})},[])}var xS="This folder contains extensions that are loaded by the SPFxExtensions application.";function Jh(a){return a.web.lists.ensure(k1,xS,101,!1,{Hidden:!0})}async function yC(a,l,c){let e=`${l}/${k1}/${c}`,h=await a.web.lists.getByTitle(k1).items.filter(`startswith(FileDirRef,'${e}') and FSObjType eq 0`).select("Id")();if(h.length>0){let[o,r]=a.web.batched();h.forEach((v)=>{o.lists.getByTitle(k1).items.getById(v.Id).delete()}),await r()}let Z=a.web.lists.getByTitle(k1).rootFolder.folders.getByUrl(c);await IC(Z)}async function IC(a){let l=await a.folders();for(let c of l)await IC(a.folders.getByUrl(c.Name));await a.delete()}function k7(a,l,c){let e=new Date(a.toString());switch(l.toLowerCase()){case"year":e.setFullYear(e.getFullYear()+c);break;case"quarter":e.setMonth(e.getMonth()+3*c);break;case"month":e.setMonth(e.getMonth()+c);break;case"week":e.setDate(e.getDate()+7*c);break;case"day":e.setDate(e.getDate()+c);break;case"hour":e.setTime(e.getTime()+c*3600000);break;case"minute":e.setTime(e.getTime()+c*60000);break;case"second":e.setTime(e.getTime()+c*1000);break;default:e=void 0;break}return e}function O1(...a){return a.filter((l)=>!S5(l)).map((l)=>l.replace(/^[\\|/]/,"").replace(/[\\|/]$/,"")).join("/").replace(/\\/g,"/")}function Q3(){let a=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(l){let c=(a+Math.random()*16)%16|0;return a=Math.floor(a/16),(l==="x"?c:c&3|8).toString(16)})}function k5(a){return typeof a==="function"}function q0(a){return Array.isArray(a)}function b0(a){return/^https?:\/\/|^\/\//i.test(a)}function S5(a){return typeof a==="undefined"||a===null||a.length<1}function D0(a){return typeof a!=="undefined"&&a!==null}function $h(a){return JSON.stringify(a)}function J1(a,l){return Object.hasOwnProperty.call(a,l)}function UC(a){let l=0;if(a.length===0)return l;for(let c=0;c<a.length;c++){let e=a.charCodeAt(c);l=(l<<5)-l+e,l|=0}return l}function EC(a){return new Promise((l)=>{setTimeout(l,a)})}var Lt;function GC(){if(typeof Lt==="undefined")Lt=new qC;return Lt}class Ft{constructor(a){this.store=a,this.enabled=this.test()}get(a){if(!this.enabled)return null;let l=this.store.getItem(a);if(!D0(l))return null;let c=JSON.parse(l);if(new Date(c.expiration)<=/*@__PURE__*/new Date)return this.delete(a),null;else return c.value}put(a,l,c){if(this.enabled)this.store.setItem(a,this.createPersistable(l,c))}delete(a){if(this.enabled)this.store.removeItem(a)}async getOrPut(a,l,c){if(!this.enabled)return l();let e=this.get(a);if(e===null)e=await l(),this.put(a,e,c);return e}async deleteExpired(){if(!this.enabled)return;for(let a=0;a<this.store.length;a++){let l=this.store.key(a);if(l!==null){if(/["|']?pnp["|']? ?: ?1/i.test(this.store.getItem(l)))await this.get(l)}}}test(){try{return this.store.setItem("t","t"),this.store.removeItem("t"),!0}catch(l){return!1}}createPersistable(a,l){if(l===void 0)l=k7(/*@__PURE__*/new Date,"minute",5);return $h({pnp:1,expiration:l,value:a})}}class qC{constructor(a=/*@__PURE__*/new Map){this._store=a}get length(){return this._store.size}clear(){this._store.clear()}getItem(a){return this._store.get(a)}key(a){return Array.from(this._store)[a][0]}removeItem(a){this._store.delete(a)}setItem(a,l){this._store.set(a,l)}}class Rt{constructor(a=null,l=null){this._local=a,this._session=l}get local(){if(this._local===null)this._local=new Ft(typeof localStorage==="undefined"?GC():localStorage);return this._local}get session(){if(this._session===null)this._session=new Ft(typeof sessionStorage==="undefined"?GC():sessionStorage);return this._session}}function Xh(){return function(a,...l){let c=[...a];for(let e=0;e<c.length;e++)Reflect.apply(c[e],this,l)}}function zC(){return function(a,...l){return[...a].reduce((e,h)=>Reflect.apply(h,this,e),l)}}function Ac(){return async function(a,...l){return[...a].reduce((e,h)=>e.then((Z)=>Reflect.apply(h,this,Z)),Promise.resolve(l))}}function KC(){return async function(a,...l){if(!q0(a)||a.length<1)return;let c=a[0];return Reflect.apply(c,this,l)}}function Yh(){return function(a,...l){let c=[...a];for(let e=0;e<c.length;e++)Reflect.apply(c[e],this,l);return this}}var st=Symbol.for("ObserverLifecycleFlags"),QC=(a)=>(l)=>!((l[st]||0)&a),JC=(a)=>(l)=>{return l[st]=(l[st]||0)|a,l},O4=JC(1),Ju1=JC(2);class Dt{constructor(a,l={}){this.moments=a,this.observers=l,this._onProxy=null,this._emitProxy=null,this._inheritingObservers=!0}using(...a){for(let l=0;l<a.length;l++)a[l](this);return this}get on(){if(this._onProxy===null)this._onProxy=new Proxy(this,{get:(a,l)=>Object.assign((c)=>{return a.cloneObserversOnChange(),xt(a.observers,l,c,1),a},{toArray:()=>{return Reflect.has(a.observers,l)?[...Reflect.get(a.observers,l)]:[]},replace:(c)=>{return a.cloneObserversOnChange(),xt(a.observers,l,c,3),a},prepend:(c)=>{return a.cloneObserversOnChange(),xt(a.observers,l,c,2),a},clear:()=>{if(Reflect.has(a.observers,l))return a.cloneObserversOnChange(),a.observers[l].length=0,!0;return!1}})});return this._onProxy}log(a,l=0){this.emit.log(a,l)}error(a){if(D0(a))this.emit.error(a)}get emit(){if(this._emitProxy===null)this._emitProxy=new Proxy(this,{get:(a,l)=>(...c)=>{let e=Reflect.has(a.observers,l)?Reflect.get(a.observers,l):[];if((!q0(e)||e.length<1)&&l==="error")throw Error(`Unhandled Exception: ${c[0]}`);try{let h=Reflect.has(a.moments,l)?Reflect.get(a.moments,l):l==="init"||l==="dispose"?Yh():Xh();return Reflect.apply(h,a,[e,...c])}catch(h){if(l!=="error")this.error(h);else throw h}finally{if(e&&e.length>0)Reflect.set(a.observers,l,e.filter(QC(2)))}}});return this._emitProxy}start(a){this.emit.init();let l=this.execute(a);return l.finally(()=>{try{this.emit.dispose()}catch(c){let e=Object.assign(Error("Error in dispose."),{innerException:c});this.error(e)}}).catch(()=>{return}),l}cloneObserversOnChange(){if(this._inheritingObservers)this._inheritingObservers=!1,this.observers=wt(this.observers)}}function xt(a,l,c,e){if(!k5(c))throw Error("Observers must be functions.");if(!Reflect.has(a,l))a[l]=[c];else switch(e){case 1:a[l].push(c);break;case 2:a[l].unshift(c);break;case 3:a[l].length=0,a[l].push(c);break}return a[l]}function wt(a){return Reflect.ownKeys(a).reduce((l,c)=>{return l[c]=[...a[c].filter(QC(1))],l},{})}function Vc(a,l="append",c){return(e)=>{return Reflect.apply(sS,e,[a,l,c])}}function sS(a,l,c){if(!D0(a)||!D0(a.observers))return this;if(!k5(c))c=()=>!0;let e=wt(a.observers),h=Object.keys(e).filter(c);for(let Z=0;Z<h.length;Z++){let o=h[Z],r=this.on[o];if(l==="replace")r.clear();e[o].forEach((t)=>r(t))}return this}function $C(a,l,c,e){var h=arguments.length,Z=h<3?l:e===null?e=Object.getOwnPropertyDescriptor(l,c):e,o;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")Z=Reflect.decorate(a,l,c,e);else for(var r=a.length-1;r>=0;r--)if(o=a[r])Z=(h<3?o(Z):h>3?o(l,c,Z):o(l,c))||Z;return h>3&&Z&&Object.defineProperty(l,c,Z),Z}var DS={construct:Yh(),pre:Ac(),auth:Ac(),send:KC(),parse:Ac(),post:Ac(),data:Xh()},uc=class a extends Dt{constructor(l,c){super(DS);this.InternalResolve=Symbol.for("Queryable_Resolve"),this.InternalReject=Symbol.for("Queryable_Reject"),this.InternalPromise=Symbol.for("Queryable_Promise"),this._query=new URLSearchParams,this.moments[this.InternalPromise]=zC();let e;if(typeof l==="string")this._url=O1(l,c);else if(q0(l)){if(l.length!==2)throw Error("When using the tuple param exactly two arguments are expected.");if(typeof l[1]!=="string")throw Error("Expected second tuple param to be a string.");e=l[0],this._url=O1(l[1],c)}else e=l,this._url=O1(e._url,c);if(typeof e!=="undefined")this.observers=e.observers,this._inheritingObservers=!0}concat(l){return this._url+=l,this}toRequestUrl(){let l=this.toUrl(),c=this.query.toString();if(!S5(c))l+=`${l.indexOf("?")>-1?"&":"?"}${c}`;return l}get query(){return this._query}toUrl(){return this._url}execute(l){if(Reflect.ownKeys(this.observers).length<1)throw Error("No observers registered for this request. (https://pnp.github.io/pnpjs/queryable/queryable#no-observers-registered-for-this-request)");return setTimeout(async()=>{let c=Q3(),e,h=(Z,o)=>{this.log(`[${c}] ${Z}`,o)};try{h("Beginning request",0);let Z={...l,headers:{...l.headers,"X-PnPjs-RequestId":c}},[o,r,v]=await this.emit.pre(this.toRequestUrl(),Z,void 0);if(h(`Url: ${o}`,1),typeof v!=="undefined"){h("Result returned from pre, Emitting data"),this.emit.data(v),h("Emitted data");return}h("Emitting auth"),[e,r]=await this.emit.auth(new URL(o),r),h("Emitted auth"),r={...r,...l,headers:{...r.headers,...l.headers}},h("Emitting send");let t=await this.emit.send(e,r);h("Emitted send"),h("Emitting parse"),[e,t,v]=await this.emit.parse(e,t,v),h("Emitted parse"),h("Emitting post"),[e,v]=await this.emit.post(e,v),h("Emitted post"),h("Emitting data"),this.emit.data(v),h("Emitted data")}catch(Z){h(`Emitting error: "${Z.message||Z}"`,3),this.error(Z),h("Emitted error",3)}finally{h("Finished request",0)}},0),this.emit[this.InternalPromise](new Promise((c,e)=>{this.on[this.InternalResolve].replace(c),this.on[this.InternalReject].replace(e)}))[0]}};uc=$C([wS()],uc);function kt(a,l={headers:{}}){return{method:a,...l,headers:{...l.headers}}}function St(a){return this.start(kt("GET",a))}function XC(a){return this.start(kt("POST",a))}function YC(a){return this.start(kt("PATCH",a))}function dc(a,l,c){return Reflect.apply(l,a,[c])}function NC(a){return(l,c)=>{let e=new a(l,c);return e.emit.construct(l,c),e}}function wS(a){return(l)=>{return new Proxy(l,{construct(c,e,h){let Z=Object.assign(function(o){if(!k5(a))a=function(r){return dc(this,St,r)};return Reflect.apply(a,Z,[o])},Reflect.construct(c,e,h));return Reflect.setPrototypeOf(Z,h.prototype),Z}})}}function ft(a,l=!1){return(c)=>{let e=async function(h,Z,o){return Z.headers={...Z.headers,...a},[h,Z,o]};if(l)c.on.pre.prepend(e);else c.on.pre(e);return c}}function Nh(){return h2(async(a)=>{if(a.headers.has("Content-Length")&&parseFloat(a.headers.get("Content-Length"))===0||a.status===204)return{};let l=await a.text(),c=l.replace(/\s/ig,"").length>0?JSON.parse(l):{};return Bt(c)})}function c8(){return h2((a)=>a.text())}function jC(){return h2((a)=>a.blob())}function jh(){return h2((a)=>a.json())}function _C(){return h2((a)=>k5(a.arrayBuffer)?a.arrayBuffer():a.buffer())}async function kS(a,l,c){if(!l.ok)throw await Cc.init(l);return[a,l,c]}function Bt(a){let l=a;if(J1(a,"d"))if(J1(a.d,"results"))l=a.d.results;else l=a.d;else if(J1(a,"value"))l=a.value;return l}function h2(a){return(l)=>{return l.on.parse.replace(kS),l.on.parse(async(c,e,h)=>{if(e.ok&&typeof h==="undefined")h=await a(e);return[c,e,h]}),l}}class Cc extends Error{constructor(a,l,c=l.status,e=l.statusText){super(a);this.response=l,this.status=c,this.statusText=e,this.isHttpRequestError=!0}static async init(a){let l=await a.clone().text();return new Cc(`Error making HttpClient request in queryable [${a.status}] ${a.statusText} ::> ${l}`,a)}}function _h(a){let{interval:l,replace:c,retries:e}={replace:!0,interval:200,retries:3,...a};return(h)=>{if(c)h.on.send.clear();return h.on.send(function(Z,o){let r,v=l,t=0,M,m=async()=>{if(t>=e)throw M||new Cc(`Retry count exceeded (${e}) for this request. ${r.status}: ${r.statusText};`,r);if(t++,typeof r==="undefined"||(r===null||r===void 0?void 0:r.status)===429||(r===null||r===void 0?void 0:r.status)===503||(r===null||r===void 0?void 0:r.status)===504){if(typeof r!=="undefined"){if(r.headers.has("Retry-After"))v=parseInt(r.headers.get("Retry-After"),10)*1000;else v*=2;this.log(`Attempt #${t} to retry request which failed with ${r.status}: ${r.statusText}`,0),await EC(v)}try{let H=Z.toString();return this.log(`Fetch: ${o.method} ${H}`,0),r=await fetch(H,o),r.ok?r:m()}catch(H){if(/AbortError/.test(H.name))throw H;return M=H,m()}}else return r};return m()}),h}}function bt(){return(a)=>{return a.on.pre.prepend(async function(l,c,e){return c.headers={...c.headers,"X-PnP-CacheNever":"1"},[l,c,e]}),a}}function lg(a){return(l)=>{return l.on.pre(async function(c,e,h){let[Z,o,r]=cg(c,e,a);if(Z){let v=o();if(v===null)this.on.post(O4(async function(t,M){return r(M),[t,M]}));else h=v}return[c,e,h]}),l}}var ag=new Rt;function cg(a,l,c){var e,h;let{store:Z,keyFactory:o,expireFunc:r}={store:"local",keyFactory:(M)=>UC(M.toLowerCase()).toString(),expireFunc:()=>k7(/*@__PURE__*/new Date,"minute",5),...c},v=Z==="session"?ag.session:ag.local,t=(l===null||l===void 0?void 0:l.headers["X-PnP-CacheKey"])?l.headers["X-PnP-CacheKey"]:o(a);return[(/get/i.test(l.method)||((e=l===null||l===void 0?void 0:l.headers["X-PnP-CacheAlways"])!==null&&e!==void 0?e:!1))&&!((h=l===null||l===void 0?void 0:l.headers["X-PnP-CacheNever"])!==null&&h!==void 0?h:!1),()=>v.get(t),(M)=>v.put(t,M,r(a))]}var eg="__CancelMoment__",e8=Symbol.for("CancelScopeId"),gc=/*@__PURE__*/new Map;async function SS(a){let l=gc.get(a);if(l.controller.abort(),q0(l===null||l===void 0?void 0:l.actions))l.actions.map((c)=>l.currentSelf.on[eg](c));try{await l.currentSelf.emit[eg]()}catch(c){l.currentSelf.log(`Error in cancel: ${c}`,3)}}function fS(a){let l=Q3();return a[e8]=l,gc.set(l,{cancel:SS.bind({},l),actions:[],controller:null,currentSelf:a}),l}var BS=(a)=>{return function(...l){if(!Reflect.has(this,e8))fS(this);let c=a.apply(this,l).finally(()=>{gc.delete(this[e8]),delete this[e8]});return c.cancel=gc.get(this[e8]).cancel,c}};function H3(a,l,c){c.value=BS(c.value)}function Tt(a){return(l)=>{return l.on.pre(async function(...c){let e=gc.get(this[e8]);if(D0(e)){if(!q0(e.actions))e.actions=[];if(e.actions.indexOf(a)<0)e.actions.push(a)}return c}),l}}function hg(){return(a)=>{return a.on.data(function(l){this.emit[this.InternalResolve](l)}),a}}function Zg(){return(a)=>{return a.on.error(function(l){this.emit[this.InternalReject](l)}),a}}function z0(a,l,c,e){Reflect.defineProperty(a.prototype,l,{configurable:!0,enumerable:!0,get:function(){return c(this,e||l)}})}function b1(a,l){return Object.assign({body:$h(a)},l)}function h8(a,l){return Object.assign({},l,{headers:{...l===null||l===void 0?void 0:l.headers,...a}})}var N1=(a)=>{return NC(a)};class S7 extends uc{constructor(a,l){if(typeof a==="string"){let c="",e="";if(b0(a)||a.lastIndexOf("/")<0)e=a,c=O1(a,l);else if(a.lastIndexOf("/")>a.lastIndexOf("(")){let h=a.lastIndexOf("/");e=a.slice(0,h),l=O1(a.slice(h),l),c=O1(e,l)}else{let h=a.lastIndexOf("(");e=a.slice(0,h),c=O1(a,l)}super(c);this.parentUrl=e}else{super(a,l);let c=q0(a)?a[0]:a;this.parentUrl=q0(a)?a[1]:c.toUrl()}}toRequestUrl(){let a=new URLSearchParams(this.query),l=this.toUrl().replace(/'!(@.+?)::((?:[^']|'')+)'/ig,(e,h,Z)=>{return this.log(`Rewriting aliased parameter from match ${e} to label: ${h} value: ${Z}`,0),a.set(h,`'${Z}'`),h}),c=a.toString();if(!S5(c))l+=`${l.indexOf("?")>-1?"&":"?"}${c}`;return l}select(...a){if(a.length>0)this.query.set("$select",a.join(","));return this}expand(...a){if(a.length>0)this.query.set("$expand",a.join(","));return this}getParent(a,l,c=this.parentUrl){return a([this,c],l)}}var W0=N1(S7);class i5 extends S7{filter(a){if(typeof a==="object")return this.query.set("$filter",a.toString()),this;if(typeof a==="function")return this.query.set("$filter",a(aZ.Where()).toString()),this;return this.query.set("$filter",a.toString()),this}orderBy(a,l=!0){let e=this.query.has("$orderby")?this.query.get("$orderby").split(","):[];return e.push(`${a} ${l?"asc":"desc"}`),this.query.set("$orderby",e.join(",")),this}skip(a){return this.query.set("$skip",a.toString()),this}top(a){return this.query.set("$top",a.toString()),this}}var G5=N1(i5);class j0 extends S7{}var Z2=N1(j0);function cZ(){return function(){return rg(this)}}function J3(){return function(a="*"){return bS(this,{},a)}}var og=(a,l)=>{return dc(a,St,l)},$=(a,l)=>dc(a,XC,l),o8=(a,l)=>{return l=l||{},l.headers={...l.headers,"X-HTTP-Method":"MERGE"},$(a,l)},rg=(a,l)=>{return l=l||{},l.headers={...l.headers||{},"X-HTTP-Method":"DELETE"},$(a,l)},bS=(a,l,c="*")=>{return l=l||{},l.headers={...l.headers||{},"IF-Match":c},rg(a,l)};var vg=(a,l)=>dc(a,YC,l),T0;(function(a){a.Equals="eq",a.NotEquals="ne",a.GreaterThan="gt",a.GreaterThanOrEqualTo="ge",a.LessThan="lt",a.LessThanOrEqualTo="le",a.StartsWith="startswith",a.SubstringOf="substringof"})(T0||(T0={}));var H5;(function(a){a.And="and",a.AndWithSpace=" and ",a.Or="or",a.OrWithSpace=" or "})(H5||(H5={}));class aZ{static Where(){return new Mg([])}}class Lc{constructor(a){this.query=[],this.query=a}}class Z8 extends Lc{constructor(a){super(a)}text(a){return new pc([...this.query,a])}choice(a){return new pc([...this.query,a])}multiChoice(a){return new pc([...this.query,a])}number(a){return new lZ([...this.query,a])}date(a){return new ng([...this.query,a])}boolean(a){return new ig([...this.query,a])}lookup(a){return new Hg([...this.query],a)}lookupId(a){let l=a.endsWith("Id")?a:`${a}Id`;return new lZ([...this.query,l])}}class tg extends Z8{or(...a){return new d0([...this.query,`(${a.map((l)=>l.toString()).join(H5.OrWithSpace)})`])}}class mg extends Z8{and(...a){return new d0([...this.query,`(${a.map((l)=>l.toString()).join(H5.AndWithSpace)})`])}}class Mg extends Z8{or(...a){if(a==null||a.length===0)return new Z8([...this.query,H5.Or]);return new d0([...this.query,`(${a.map((l)=>l.toString()).join(H5.OrWithSpace)})`])}and(...a){if(a==null||a.length===0)return new Z8([...this.query,H5.And]);return new d0([...this.query,`(${a.map((l)=>l.toString()).join(H5.AndWithSpace)})`])}}class Hg extends Lc{constructor(a,l){super(a);this.LookupField=l}Id(a){return new d0([...this.query,`${this.LookupField}/Id`,T0.Equals,a.toString()])}text(a){return new pc([...this.query,`${this.LookupField}/${a}`])}number(a){return new lZ([...this.query,`${this.LookupField}/${a}`])}}class Wt extends Lc{constructor(a){super(a);this.LastIndex=a.length-1,this.InternalName=a[this.LastIndex]}toODataValue(a){return`'${a}'`}isNull(){return new d0([...this.query,T0.Equals,"null"])}isNotNull(){return new d0([...this.query,T0.NotEquals,"null"])}}class Pt extends Wt{equals(a){return new d0([...this.query,T0.Equals,this.toODataValue(a)])}notEquals(a){return new d0([...this.query,T0.NotEquals,this.toODataValue(a)])}in(...a){return aZ.Where().or(...a.map((l)=>this.equals(l)))}notIn(...a){return aZ.Where().and(...a.map((l)=>this.notEquals(l)))}}class pc extends Pt{startsWith(a){let l=`${T0.StartsWith}(${this.InternalName}, ${this.toODataValue(a)})`;return this.query[this.LastIndex]=l,new d0([...this.query])}contains(a){let l=`${T0.SubstringOf}(${this.toODataValue(a)}, ${this.InternalName})`;return this.query[this.LastIndex]=l,new d0([...this.query])}}class ig extends Wt{toODataValue(a){return`${a==null?"null":a?1:0}`}isTrue(){return new d0([...this.query,T0.Equals,this.toODataValue(!0)])}isFalse(){return new d0([...this.query,T0.Equals,this.toODataValue(!1)])}isFalseOrNull(){let a=`(${[this.InternalName,T0.Equals,this.toODataValue(null),H5.Or,this.InternalName,T0.Equals,this.toODataValue(!1)].join(" ")})`;return this.query[this.LastIndex]=a,new d0([...this.query])}}class Ot extends Pt{greaterThan(a){return new d0([...this.query,T0.GreaterThan,this.toODataValue(a)])}greaterThanOrEquals(a){return new d0([...this.query,T0.GreaterThanOrEqualTo,this.toODataValue(a)])}lessThan(a){return new d0([...this.query,T0.LessThan,this.toODataValue(a)])}lessThanOrEquals(a){return new d0([...this.query,T0.LessThanOrEqualTo,this.toODataValue(a)])}}class lZ extends Ot{toODataValue(a){return`${a}`}}class ng extends Ot{toODataValue(a){return`'${a.toISOString()}'`}isBetween(a,l){let c=`(${[this.InternalName,T0.GreaterThan,this.toODataValue(a),H5.And,this.InternalName,T0.LessThan,this.toODataValue(l)].join(" ")})`;return this.query[this.LastIndex]=c,new d0([...this.query])}isToday(){let a=/*@__PURE__*/new Date;a.setHours(0,0,0,0);let l=/*@__PURE__*/new Date;return l.setHours(23,59,59,999),this.isBetween(a,l)}}class d0 extends Lc{and(...a){if(a==null||a.length===0)return new tg([...this.query,H5.And]);return new d0([...this.query,H5.And,`(${a.map((l)=>l.toString()).join(H5.AndWithSpace)})`])}or(...a){if(a==null||a.length===0)return new mg([...this.query,H5.Or]);return new d0([...this.query,H5.Or,`(${a.map((l)=>l.toString()).join(H5.OrWithSpace)})`])}toString(){return this.query.join(" ")}}function _0(a){return function(l){return class extends l{constructor(...c){super(c[0],c.length>1&&c[1]!==void 0?c[1]:a)}}}}class O2{constructor(a=""){this._root=W0(a)}using(...a){return this._root.using(...a),this}create(a,l){return a(this._root,l)}}function r8(a=""){if(typeof a==="object"&&!Reflect.has(a,"length"))a=a._root;return new O2(a)}var Fc="00000000-0000-0000-0000-000000000000",Ag;(function(a){a[a.None=0]="None",a[a.User=1]="User",a[a.DistributionList=2]="DistributionList",a[a.SecurityGroup=4]="SecurityGroup",a[a.SharePointGroup=8]="SharePointGroup",a[a.All=15]="All"})(Ag||(Ag={}));var Vg;(function(a){a[a.None=0]="None",a[a.UserInfoList=1]="UserInfoList",a[a.Windows=2]="Windows",a[a.MembershipProvider=4]="MembershipProvider",a[a.RoleProvider=8]="RoleProvider",a[a.All=15]="All"})(Vg||(Vg={}));var ug;(function(a){a[a.Invalid=-1]="Invalid",a[a.DefaultView=0]="DefaultView",a[a.NormalView=1]="NormalView",a[a.DialogView=2]="DialogView",a[a.View=3]="View",a[a.DisplayForm=4]="DisplayForm",a[a.DisplayFormDialog=5]="DisplayFormDialog",a[a.EditForm=6]="EditForm",a[a.EditFormDialog=7]="EditFormDialog",a[a.NewForm=8]="NewForm",a[a.NewFormDialog=9]="NewFormDialog",a[a.SolutionForm=10]="SolutionForm",a[a.PAGE_MAXITEMS=11]="PAGE_MAXITEMS"})(ug||(ug={}));function m0(a){if(S5(a))return"";let l=a.indexOf("_api/");if(l<0)l=a.indexOf("_vti_bin/");if(l>-1)return a.substring(0,l);return a}function y2(a){let l=[],c=["odata.type","odata.editLink","__metadata","odata.metadata","odata.id"];if(J1(a,c[0])&&a[c[0]]==="SP.Web"){if(J1(a,c[4]))l.push(a[c[4]]);else if(J1(a,c[2]))l.push(a.__metadata.uri)}else if(J1(a,c[3])&&J1(a,c[1])){let e=b0(a[c[1]])?a[c[1]].split("_api")[1]:a[c[1]];l.push(m0(a[c[3]]),"_api",e)}else if(J1(a,c[1]))l.push("_api",a[c[1]]);else if(J1(a,c[2]))l.push(a.__metadata.uri);if(l.length<1)return"";return O1(...l)}function i3(a){return{DecodedUrl:a}}function E1(a){if(S5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,e)=>{return`!${c}::${e.replace(/'/ig,"''")}`});else return encodeURIComponent(a.replace(/'/ig,"''"))}function dg(a){if(S5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,e)=>{return`!${c}::${e.replace(/'/ig,"''")}`});else return a.replace(/'/ig,"''")}function Cg(){return(a)=>{return a.on.pre(async function(l,c,e){let h="PnPCoreJS:4.13.0:",{pathname:Z}=new URL(l);if(h=Z.split("/").filter((o)=>!S5(o)&&["_api","v2.1","v2.0"].indexOf(o)<0).map((o,r,v)=>r===v.length-1?o.replace(/\(.*?$/i,"()"):o[0]).join("."),h.length>32)h=h.substring(0,32);return this.log(`Request Tag: ${h}`,0),c.headers={...c.headers,["X-ClientService-ClientTag"]:h},[l,c,e]}),a}}function eZ(){return(a)=>{return a.on.pre(async(l,c,e)=>{return c.cache="no-cache",c.credentials="same-origin",[l,c,e]}),a.using(Cg(),Zg(),hg()),a}}function hZ(){return(a)=>{return a.using(ft({Accept:"application/json","Content-Type":"application/json;charset=utf-8"})),a}}function c0(a,l,c,e){var h=arguments.length,Z=h<3?l:e===null?e=Object.getOwnPropertyDescriptor(l,c):e,o;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")Z=Reflect.decorate(a,l,c,e);else for(var r=a.length-1;r>=0;r--)if(o=a[r])Z=(h<3?o(Z):h>3?o(l,c,Z):o(l,c))||Z;return h>3&&Z&&Object.defineProperty(l,c,Z),Z}var It=class a extends i5{async add(l,c,e="",h="STS",Z=1033,o=!0){let r=b1({parameters:{Description:e,Language:Z,Title:l,Url:c,UseSamePermissionsAsParentSite:o,WebTemplate:h}});return $(Ut(this,"add"),r)}};It=c0([_0("webs")],It);var Ut=N1(It);function yt(a,l){let c="_api/web",e=/(_api[/|\\](site\/rootweb|site|web))/i.exec(a);if((e===null||e===void 0?void 0:e.length)>0)a=m0(a),c=e[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=O1(a,c);return a}var o0=class a extends j0{constructor(l,c){if(typeof l==="string")l=yt(l,c);else if(q0(l))l=[l[0],yt(l[1],c)];else l=[l,yt(l.toUrl(),c)];super(l,c);this.delete=cZ()}get webs(){return Ut(this)}get allProperties(){return Z2(this,"allproperties")}get webinfos(){return G5(this,"webinfos")}async getParentWeb(){let{Url:l,ParentWeb:c}=await this.select("Url","ParentWeb/ServerRelativeUrl").expand("ParentWeb")();if(c===null||c===void 0?void 0:c.ServerRelativeUrl)return M0([this,O1(new URL(l).origin,c.ServerRelativeUrl)]);return null}async update(l){return o8(this,b1(l))}applyTheme(l,c,e,h){let Z=b1({backgroundImageUrl:e,colorPaletteUrl:l,fontSchemeUrl:c,shareGenerated:h});return $(M0(this,"applytheme"),Z)}applyWebTemplate(l){return $(M0(this,`applywebtemplate(webTemplate='${E1(l)}')`))}getChanges(l){return $(M0(this,"getchanges"),b1({query:l}))}mapToIcon(l,c=0,e=""){return M0(this,`maptoicon(filename='${E1(l)}',progid='${E1(e)}',size=${c})`)()}getStorageEntity(l){return M0(this,`getStorageEntity('${E1(l)}')`)()}setStorageEntity(l,c,e="",h=""){return $(M0(this,"setStorageEntity"),b1({comments:h,description:e,key:l,value:c}))}removeStorageEntity(l){return $(M0(this,`removeStorageEntity('${E1(l)}')`))}getSubwebsFilteredForCurrentUser(l=-1,c=-1){return G5(this,`getSubwebsFilteredForCurrentUser(nWebTemplateFilter=${l},nConfigurationFilter=${c})`)}availableWebTemplates(l=1033,c=!0){return G5(this,`getavailablewebtemplates(lcid=${l},doincludecrosslanguage=${c})`)}};o0=c0([_0("_api/web")],o0);var M0=N1(o0);O2.prototype.batched=function(a){let l=r8(this),[c,e]=gg(l._root,a);return l.using(c),[l,e]};o0.prototype.batched=function(a){let l=M0(this),[c,e]=gg(l,a);return l.using(c),[l,e]};var v8=Symbol.for("batch_registration"),y4=Symbol.for("batch_request");function TS(){return h2(async(a)=>{let l=await a.text();return WS(l)})}class Et extends S7{constructor(a,l=a.toUrl().replace(/_api[\\|/].*$/i,"")){super(l,"_api/$batch");this.requestBaseUrl=l,this.using(Vc(a,"replace"),TS()),this.on.dispose(()=>{a.using(Vc(this,"replace",(c)=>/(auth|send|pre|init)/i.test(c)))})}}function gg(a,l){let c=[],e=[],h=[],Z=new Et(a),o=Q3(),r=new Et(a),{headersCopyPattern:v,maxRequests:t}={headersCopyPattern:/Accept|Content-Type|IF-Match/i,maxRequests:20,...l};return[(H)=>{return H.on.init(function(){if(k5(this[v8]))throw Error("This instance is already part of a batch. Please review the docs at https://pnp.github.io/pnpjs/concepts/batching#reuse.");return c.push(new Promise((i)=>{this[v8]=i})),this}),H.on.pre(async function(i,n,A){if(J1(n.headers,"X-PnP-BatchNever")){if(typeof this[y4]==="function")this[y4](),delete this[y4];return this.using(Vc(r,"replace",(u)=>/(init|pre)/i.test(u))),[i,n,A]}return this.on.auth.clear(),this.on.send.replace(async function(u,d){let C=new Promise((L)=>{h.push([this,u.toString(),d,L])});return this.log(`[batch:${o}] (${(/*@__PURE__*/new Date()).getTime()}) Adding request ${d.method} ${u.toString()} to batch.`,0),e.push(new Promise((L)=>{this[y4]=L})),this[v8](),C}),this.on.dispose(function(){if(k5(this[v8]))this[v8](),delete this[v8];if(k5(this[y4]))this[y4](),delete this[y4],this.using(Vc(r,"replace",(u)=>/(auth|pre|send|init|dispose)/i.test(u)))}),[i,n,A]}),H},async()=>{if(await Promise.all(c),h.length<1)return Promise.all(e).then(()=>{return});let H=h.slice();while(H.length>0){let i=H.splice(0,t),n=[],A="";for(let d=0;d<i.length;d++){let[,C,L]=i[d];if(L.method==="GET"){if(A.length>0)n.push(`--changeset_${A}--
|
|
147
|
+
);}`,".fwd2bol{animation-name:f1keuaan;}",".f14gig94{animation-name:f10x8f8u;}",".f1a27w2r{animation-duration:3s;}",".f452v7t{animation-timing-function:linear;}",".f1cpbl36{animation-iteration-count:infinite;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"],k:["@keyframes f1keuaan{0%{left:-33%;}100%{left:100%;}}","@keyframes f10x8f8u{0%{right:-33%;}100%{right:100%;}}"]}),G9=(a)=>{let{color:l,max:c,shape:h,thickness:Z,value:o}=a,v=qD(),r=zD();if(a.root.className=k(O9.root,v.root,v[h],v[Z],a.root.className),a.bar)a.bar.className=k(O9.bar,r.base,r.brand,o===void 0&&r.indeterminate,o!==void 0&&o>PD&&r.nonZeroDeterminate,l&&o!==void 0&&r[l],a.bar.className);if(a.bar&&o!==void 0)a.bar.style={width:Math.min(100,Math.max(0,o/c*100))+"%",...a.bar.style};return a};var P7=/*@__PURE__*/U((a,l)=>{let c=I9(a,l);return G9(c),z("useProgressBarStyles_unstable")(c),U9(c)});P7.displayName="ProgressBar";C();C();var P9=(a,l)=>{let{size:c="medium",vertical:h=!1}=a,Z=_8({circular:!0,axis:"both"}),o={size:c,vertical:h,components:{root:"div"},root:B.always(_("div",{role:"toolbar",ref:l,...h&&{"aria-orientation":"vertical"},...Z,...a}),{elementType:"div"})},[v,r]=QD({checkedValues:a.checkedValues,defaultCheckedValues:a.defaultCheckedValues,onCheckedValueChange:a.onCheckedValueChange}),e=A1((t,M,H,A)=>{if(M&&H){let i=[...(v===null||v===void 0?void 0:v[M])||[]];if(A)i.splice(i.indexOf(H),1);else i.push(H);r===null||r===void 0||r(t,{name:M,checkedItems:i})}}),m=A1((t,M,H,A)=>{if(M&&H)r===null||r===void 0||r(t,{name:M,checkedItems:[H]})});return{...o,handleToggleButton:e,handleRadio:m,checkedValues:v!==null&&v!==void 0?v:{}}},QD=(a)=>{let[l,c]=$5({state:a.checkedValues,defaultState:a.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:h}=a,Z=A1((o,{name:v,checkedItems:r})=>{if(h)h(o,{name:v,checkedItems:r});c((e)=>{return e?{...e,[v]:r}:{[v]:r}})});return[l,Z]};var Ou=_3(void 0);var q9=(a,l)=>{return P(a),/*@__PURE__*/D(Ou.Provider,{value:l.toolbar,children:/*@__PURE__*/D(a.root,{children:a.root.children})})};var rZ={root:"fui-Toolbar"},JD=/*@__PURE__*/f({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},vertical:{Beiy3e4:"f1vx9l62",a9b677:"f1acs6jw"},small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fvz760z"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ms6bdn"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".f1yqiaad{padding:4px 8px;}",{p:-1}],".f1vx9l62{flex-direction:column;}",".f1acs6jw{width:fit-content;}",[".fvz760z{padding:0px 4px;}",{p:-1}],[".f1yqiaad{padding:4px 8px;}",{p:-1}],[".f1ms6bdn{padding:4px 20px;}",{p:-1}]]}),z9=(a)=>{let l=JD(),{vertical:c,size:h}=a;return a.root.className=k(rZ.root,l.root,c&&l.vertical,h==="small"&&!c&&l.small,h==="medium"&&!c&&l.medium,h==="large"&&!c&&l.large,a.root.className),a};function Gu(a){let{size:l,handleToggleButton:c,vertical:h,checkedValues:Z,handleRadio:o}=a;return{toolbar:{size:l,vertical:h,handleToggleButton:c,handleRadio:o,checkedValues:Z}}}var n4=/*@__PURE__*/U((a,l)=>{let c=P9(a,l),h=Gu(c);return z9(c),z("useToolbarStyles_unstable")(c),q9(c,h)});n4.displayName="Toolbar";C();var KD=/*@__PURE__*/f({vertical:{Beiy3e4:"f1vx9l62"},verticalIcon:{Be2twd7:"f1rt2boy",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao"}},{d:[".f1vx9l62{flex-direction:column;}",".f1rt2boy{font-size:24px;}",[".f1s184ao{margin:0;}",{p:-1}]]}),Q9=(a)=>{t3(a);let l=KD();if(a.root.className=k(a.root.className,a.vertical&&l.vertical),a.icon)a.icon.className=k(a.icon.className,a.vertical&&l.verticalIcon)};C();var J9=(a,l)=>{let{vertical:c=!1,...h}=a,Z=M3({appearance:"subtle",...h,size:"medium"},l);return{vertical:c,...Z}};var D2=/*@__PURE__*/U((a,l)=>{let c=J9(a,l);return Q9(c),z("useToolbarButtonStyles_unstable")(c),O7(c)});D2.displayName="ToolbarButton";C();C();C();var Pu=o1(void 0),XD={size:"medium",noNativeElements:!1,sortable:!1},He=Pu.Provider,P5=()=>{var a;return(a=c1(Pu))!==null&&a!==void 0?a:XD};var K9=(a,l)=>{let{noNativeElements:c,size:h}=P5();var Z;let o=((Z=a.as)!==null&&Z!==void 0?Z:c)?"div":"td";return{components:{root:o},root:B.always(_(o,{ref:l,role:o==="div"?"cell":void 0,...a}),{elementType:o}),noNativeElements:c,size:h}};var X9=(a)=>{return P(a),/*@__PURE__*/D(a.root,{})};var eZ="fui-TableCell",mZ={root:eZ},ED=/*@__PURE__*/f({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),$D=/*@__PURE__*/f({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),YD=/*@__PURE__*/f({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]}),E9=(a)=>{let l=YD(),c={table:ED(),flex:$D()};return a.root.className=k(mZ.root,l.root,a.noNativeElements?c.flex.root:c.table.root,a.noNativeElements?c.flex[a.size]:c.table[a.size],a.root.className),a};var m7=/*@__PURE__*/U((a,l)=>{let c=K9(a,l);return E9(c),z("useTableCellStyles_unstable")(c),X9(c)});m7.displayName="TableCell";C();C();C();var qu=o1(void 0),yD="",Ae=qu.Provider,Ve=()=>c1(qu)===yD;var $9=(a,l)=>{let{noNativeElements:c,size:h}=P5();var Z;let o=((Z=a.as)!==null&&Z!==void 0?Z:c)?"div":"tr",v=B7(),r=V2(),e=Ve();var m;return{components:{root:o},root:B.always(_(o,{ref:X1(l,v,r),role:o==="div"?"row":void 0,...a}),{elementType:o}),size:h,noNativeElements:c,appearance:(m=a.appearance)!==null&&m!==void 0?m:"none",isHeaderRow:e}};var Y9=(a)=>{return P(a),/*@__PURE__*/D(a.root,{})};var MZ="fui-TableRow",tZ={root:MZ},ND=/*@__PURE__*/f({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),jD=/*@__PURE__*/f({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),_D=/*@__PURE__*/f({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootSubtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ze5xyy:"f4xjyn1",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5"},neutral:{uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",Jwef8y:"f1uqaxdt",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f95l9gw{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw8kmcu{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd94n53{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e0wld5:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),y9=(a)=>{let l=_D(),c={table:ND(),flex:jD()};return a.root.className=k(tZ.root,l.root,l.rootSubtleSelection,!a.isHeaderRow&&l.rootInteractive,l[a.size],a.noNativeElements?c.flex.root:c.table.root,l[a.appearance],a.root.className),a};var C3=/*@__PURE__*/U((a,l)=>{let c=$9(a,l);return y9(c),z("useTableRowStyles_unstable")(c),Y9(c)});C3.displayName="TableRow";C();C();var N9=(a,l)=>{let{noNativeElements:c}=P5();var h;let Z=((h=a.as)!==null&&h!==void 0?h:c)?"div":"tbody";return{components:{root:Z},root:B.always(_(Z,{ref:l,role:Z==="div"?"rowgroup":void 0,...a}),{elementType:Z}),noNativeElements:c}};var j9=(a)=>{return P(a),/*@__PURE__*/D(a.root,{})};var as=/*@__PURE__*/f({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),ls=/*@__PURE__*/f({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),HZ="fui-TableBody";var _9=(a)=>{let l={table:as(),flex:ls()};return a.root.className=k(HZ,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var u4=/*@__PURE__*/U((a,l)=>{let c=N9(a,l);return _9(c),z("useTableBodyStyles_unstable")(c),j9(c)});u4.displayName="TableBody";C();C();var al=(a,l)=>{var c;let h=((c=a.as)!==null&&c!==void 0?c:a.noNativeElements)?"div":"table";var Z,o,v;return{components:{root:h},root:B.always(_(h,{ref:l,role:h==="div"?"table":void 0,...a}),{elementType:h}),size:(Z=a.size)!==null&&Z!==void 0?Z:"medium",noNativeElements:(o=a.noNativeElements)!==null&&o!==void 0?o:!1,sortable:(v=a.sortable)!==null&&v!==void 0?v:!1}};var ll=(a,l)=>{return P(a),/*@__PURE__*/D(He,{value:l.table,children:/*@__PURE__*/D(a.root,{})})};var AZ="fui-Table";var cs=/*@__PURE__*/f({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),hs=/*@__PURE__*/f({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),Zs=/*@__PURE__*/f({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),cl=(a)=>{let l=Zs(),c={table:cs(),flex:hs()};return a.root.className=k(AZ,l.root,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a};C();function Qu(a){let{size:l,noNativeElements:c,sortable:h}=a;return{table:x1(()=>({noNativeElements:c,size:l,sortable:h}),[c,l,h])}}var d4=/*@__PURE__*/U((a,l)=>{let c=al(a,l);return cl(c),z("useTableStyles_unstable")(c),ll(c,Qu(c))});d4.displayName="Table";C();C();var hl=(a,l)=>{let{noNativeElements:c}=P5();var h;let Z=((h=a.as)!==null&&h!==void 0?h:c)?"div":"thead";return{components:{root:Z},root:B.always(_(Z,{ref:l,role:Z==="div"?"rowgroup":void 0,...a}),{elementType:Z}),noNativeElements:c}};var Zl=(a)=>{return P(a),/*@__PURE__*/D(Ae,{value:"",children:/*@__PURE__*/D(a.root,{})})};var VZ="fui-TableHeader";var os=/*@__PURE__*/f({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),vs=/*@__PURE__*/f({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),ol=(a)=>{let l={table:vs(),flex:os()};return a.root.className=k(VZ,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var L4=/*@__PURE__*/U((a,l)=>{let c=hl(a,l);return ol(c),z("useTableHeaderStyles_unstable")(c),Zl(c)});L4.displayName="TableHeader";C();C();var rs={ascending:/*@__PURE__*/m1(bi,{fontSize:12}),descending:/*@__PURE__*/m1(Wi,{fontSize:12})},vl=(a,l)=>{let{noNativeElements:c,sortable:h}=P5(),{sortable:Z=h}=a;var o;let v=((o=a.as)!==null&&o!==void 0?o:c)?"div":"th",r=B.always(a.button,{elementType:"div",defaultProps:{as:"div",...!Z&&{role:"presentation",tabIndex:void 0}}});var e;return{components:{root:v,button:"div",sortIcon:"span",aside:"span"},root:B.always(_(v,{ref:X1(l,V2()),role:v==="div"?"columnheader":void 0,"aria-sort":Z?(e=a.sortDirection)!==null&&e!==void 0?e:"none":void 0,...a}),{elementType:v}),aside:B.optional(a.aside,{elementType:"span"}),sortIcon:B.optional(a.sortIcon,{renderByDefault:!!a.sortDirection,defaultProps:{children:a.sortDirection?rs[a.sortDirection]:void 0},elementType:"span"}),button:u2(r.as,r),sortable:Z,noNativeElements:c}};var rl=(a)=>{return P(a),/*@__PURE__*/R1(a.root,{children:[/*@__PURE__*/R1(a.button,{children:[a.root.children,a.sortIcon&&/*@__PURE__*/D(a.sortIcon,{})]}),a.aside&&/*@__PURE__*/D(a.aside,{})]})};var g4={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},es=/*@__PURE__*/f({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),ms=/*@__PURE__*/f({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"f10tiqix"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f10tiqix{min-width:0px;}"]}),Ms=/*@__PURE__*/f({root:{Bhrd7zp:"figsok6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:"f14ym4q2",B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:"f1euou18",qhf8xq:"f10pi13n"},rootInteractive:{Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",lj723h:"f1g4hkjv",ecr2s2:"f1wfn5kd"},resetButton:{B3rzk8w:"fq6nmtn",B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",fsow6f:"fgusgyc"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",mc9l5x:"f22iagw",Bh6795r:0,Bqenvij:"f1l02sjl",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr",sshi5w:"f1nxs5xn",xawz:0,Bnnss6s:0,fkmc3a:"f1izfyrr",oeaueh:"f1s6fcnf"},sortable:{Bceei9c:"f1k6fduh"},sortIcon:{mc9l5x:"f22iagw",Bt984gj:"f122n59",z8tnut:"fclwglc"},resizeHandle:{}},{d:[".figsok6{font-weight:var(--fontWeightRegular);}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10pi13n{position:relative;}",".fq6nmtn{resize:horizontal;}",".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".f3bhgqh{border:none;}",{p:-2}],".fgusgyc{text-align:unset;}",".fly5x3f{width:100%;}",".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f1l02sjl{height:100%;}",".f122n59{align-items:center;}",[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],".f1nxs5xn{min-height:32px;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1s6fcnf{outline-style:none;}",".f1k6fduh{cursor:pointer;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}"],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}"],a:[".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),el=(a)=>{let l=Ms(),c={table:es(),flex:ms()};if(a.root.className=k(g4.root,l.root,a.sortable&&l.rootInteractive,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a.button.className=k(g4.button,l.resetButton,l.button,a.sortable&&l.sortable,a.button.className),a.sortIcon)a.sortIcon.className=k(g4.sortIcon,l.sortIcon,a.sortIcon.className);if(a.aside)a.aside.className=k(g4.aside,l.resizeHandle,a.aside.className);return a};var C4=/*@__PURE__*/U((a,l)=>{let c=vl(a,l);return el(c),z("useTableHeaderCellStyles_unstable")(c),rl(c)});C4.displayName="TableHeaderCell";C();C();var ts={medium:32,small:24,"extra-small":20},ml=(a,l)=>{let{size:c}=P5();return{components:{root:"div",main:"span",description:"span",content:"div",media:"span"},root:B.always(_("div",{ref:l,...a}),{elementType:"div"}),appearance:a.appearance,truncate:a.truncate,main:B.optional(a.main,{renderByDefault:!0,elementType:"span"}),media:B.optional(a.media,{elementType:"span"}),description:B.optional(a.description,{elementType:"span"}),content:B.optional(a.content,{renderByDefault:!!a.description||!!a.children,elementType:"div"}),avatarSize:ts[c],size:c}};var Ml=(a,l)=>{return P(a),/*@__PURE__*/R1(a.root,{children:[a.media&&/*@__PURE__*/D(Gh,{value:l.avatar,children:/*@__PURE__*/D(a.media,{})}),a.content&&/*@__PURE__*/R1(a.content,{children:[a.main&&/*@__PURE__*/D(a.main,{children:a.root.children}),a.description&&/*@__PURE__*/D(a.description,{})]})]})};var F3={root:"fui-TableCellLayout",media:"fui-TableCellLayout__media",main:"fui-TableCellLayout__main",description:"fui-TableCellLayout__description",content:"fui-TableCellLayout__content"},Hs=/*@__PURE__*/f({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"faqewft",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},rootTruncate:{B68tc82:"f1p9o1ba"},content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},contentTruncate:{B68tc82:"f1p9o1ba"},media:{mc9l5x:"f22iagw",Bt984gj:"f122n59"},mediaExtraSmall:{Be2twd7:"f4ybsrx"},mediaSmallAndMedium:{Be2twd7:"fe5j1ua"},mediaPrimary:{Be2twd7:"f1rt2boy"},mainPrimary:{Bhrd7zp:"fl43uef"},mainTruncate:{B68tc82:"f1p9o1ba",Huce71:"fz5stix",ygn44y:"f1cmbuwj"},description:{sj55zd:"fkfq4zb",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".faqewft{gap:var(--spacingHorizontalS);}",{p:-1}],[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1p9o1ba{overflow-x:hidden;}",".f1vx9l62{flex-direction:column;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fz5stix{white-space:nowrap;}",".f1cmbuwj{text-overflow:ellipsis;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),tl=(a)=>{let l=Hs(),{truncate:c}=a;a.root.className=k(F3.root,l.root,c&&l.rootTruncate,a.root.className);let h=a.appearance==="primary";if(a.media){let Z={small:l.mediaSmallAndMedium,medium:l.mediaSmallAndMedium,"extra-small":l.mediaExtraSmall};a.media.className=k(F3.media,l.media,Z[a.size],h&&l.mediaPrimary,a.media.className)}if(a.main)a.main.className=k(F3.main,c&&l.mainTruncate,h&&l.mainPrimary,a.main.className);if(a.description)a.description.className=k(F3.description,l.description,a.description.className);if(a.content)a.content.className=k(F3.content,l.content,c&&l.contentTruncate,a.content.className);return a};C();function Eu(a){let{avatarSize:l}=a;return{avatar:x1(()=>({size:l}),[l])}}var M7=/*@__PURE__*/U((a,l)=>{let c=ml(a,l);return tl(c),z("useTableCellLayoutStyles_unstable")(c),Ml(c,Eu(c))});M7.displayName="TableCellLayout";C();var S0={show:"fui-toast-show",dismiss:"fui-toast-dismiss",dismissAll:"fui-toast-dismiss-all",update:"fui-toast-update",pause:"fui-toast-pause",play:"fui-toast-play"},n5={bottom:"bottom",bottomEnd:"bottom-end",bottomStart:"bottom-start",top:"top",topEnd:"top-end",topStart:"top-start"};var As=0;function ie(a,l={},c){var h;let Z={...l,content:a,toastId:(h=l.toastId)!==null&&h!==void 0?h:(As++).toString()},o=new CustomEvent(S0.show,{bubbles:!1,cancelable:!1,detail:Z});c.dispatchEvent(o)}function ne(a,l=void 0,c){let h=new CustomEvent(S0.dismiss,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(h)}function ue(a=void 0,l){let c=new CustomEvent(S0.dismissAll,{bubbles:!1,cancelable:!1,detail:{toasterId:a}});l.dispatchEvent(c)}function de(a,l){let c=new CustomEvent(S0.update,{bubbles:!1,cancelable:!1,detail:a});l.dispatchEvent(c)}function Le(a,l=void 0,c){let h=new CustomEvent(S0.pause,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(h)}function ge(a,l=void 0,c){let h=new CustomEvent(S0.play,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(h)}C();function $u(a,l){for(let[c,h]of Object.entries(l))if(h!=null)a[c]=h}var Vs={onStatusChange:void 0,priority:0,pauseOnHover:!1,pauseOnWindowBlur:!1,position:"bottom-end",timeout:3000},is=0;function Ce(a){let{limit:l=Number.POSITIVE_INFINITY}=a,c=/*@__PURE__*/new Set,h=/*@__PURE__*/new Map,Z=m6((t,M)=>{let H=h.get(t),A=h.get(M);if(!H||!A)return 0;if(H.priority===A.priority)return H.order-A.order;return H.priority-A.priority});return{buildToast:(t,M)=>{var H;let{toastId:A,content:V,toasterId:i}=t;if(h.has(A))return;let L={...Vs,close:()=>{var g;let R=h.get(A);if(!R)return;c.delete(A),M(),(g=R.onStatusChange)===null||g===void 0||g.call(R,null,{status:"dismissed",...R})},remove:()=>{if(!h.get(A))return;if(h.delete(A),c.size<l&&Z.peek()){let R=h.get(Z.dequeue());if(!R)return;c.add(R.toastId)}M()},toastId:A,content:V,updateId:0,toasterId:i,order:is++,data:{},imperativeRef:A5()};if($u(L,a),$u(L,t),h.set(A,L),(H=L.onStatusChange)===null||H===void 0||H.call(L,null,{status:"queued",...L}),c.size>=l)Z.enqueue(A);else c.add(A)},dismissAllToasts:()=>{c.clear(),Z.clear()},dismissToast:(t)=>{c.delete(t)},isToastVisible:(t)=>{return c.has(t)},updateToast:(t)=>{let{toastId:M}=t,H=h.get(M);if(!H)return;Object.assign(H,t),H.updateId++},visibleToasts:c,toasts:h}}var q7=(a,l,c)=>{let h={};var Z;let o=c?ns(c)?c:(Z=c[a])!==null&&Z!==void 0?Z:{}:{},v=a==="top"||a==="bottom",{horizontal:r=v?0:20,vertical:e=16}=o,m=l==="ltr"?"left":"right",t=l==="ltr"?"right":"left";switch(a){case"top":Object.assign(h,{top:e,left:`calc(50% + ${r}px)`,transform:"translateX(-50%)"});break;case"bottom":Object.assign(h,{bottom:e,left:`calc(50% + ${r}px)`,transform:"translateX(-50%)"});break;case"top-start":Object.assign(h,{top:e,[m]:r});break;case"top-end":Object.assign(h,{top:e,[t]:r});break;case"bottom-start":Object.assign(h,{bottom:e,[m]:r});break;case"bottom-end":Object.assign(h,{bottom:e,[t]:r});break}return h};function ns(a){return"horizontal"in a||"vertical"in a}function Fe(a={}){let l=e6(),{toasterId:c,shortcuts:h}=a,[Z]=e1(()=>Ce(a)),{targetDocument:o}=g1(),v=q(null),r=A1((i)=>{return i===c}),e=A1((i)=>{if(h===null||h===void 0?void 0:h.focus)return h.focus(i)}),m=y(()=>{Z.visibleToasts.forEach((i)=>{var u;let d=Z.toasts.get(i);d===null||d===void 0||(u=d.imperativeRef.current)===null||u===void 0||u.pause()})},[Z]),t=y(()=>{Z.visibleToasts.forEach((i)=>{var u;let d=Z.toasts.get(i);d===null||d===void 0||(u=d.imperativeRef.current)===null||u===void 0||u.play()})},[Z]),M=y(()=>{return Array.from(Z.visibleToasts).reduce((i,u)=>{let d=Z.toasts.get(u);if(!d)return i;if(!i)return d;if(i.order<(d===null||d===void 0?void 0:d.order))return d;return i},void 0)},[Z]),H=y(()=>{let i=M();if(i===null||i===void 0?void 0:i.imperativeRef.current)i.imperativeRef.current.focus();else{var u;(u=v.current)===null||u===void 0||u.focus(),v.current=null}},[M]),A=y(()=>{Z.visibleToasts.forEach((i)=>{let u=Z.toasts.get(i);u===null||u===void 0||u.close()}),H()},[Z,H]);t1(()=>{if(!o)return;let i=(w,s)=>{let O=(E)=>{if(!r(E.detail.toasterId))return;s(E),l()};return o.addEventListener(w,O),()=>o.removeEventListener(w,O)},u=(w)=>{Z.buildToast(w.detail,l)},d=(w)=>{Z.dismissToast(w.detail.toastId)},L=(w)=>{Z.updateToast(w.detail)},g=(w)=>{Z.dismissAllToasts()},R=(w)=>{let s=Z.toasts.get(w.detail.toastId);if(s){var O;(O=s.imperativeRef.current)===null||O===void 0||O.pause()}},x=(w)=>{let s=Z.toasts.get(w.detail.toastId);if(s){var O;(O=s.imperativeRef.current)===null||O===void 0||O.play()}},S=i(S0.show,u),p=i(S0.update,L),I=i(S0.dismiss,d),G=i(S0.dismissAll,g),r1=i(S0.pause,R),l1=i(S0.play,x),Y=(w)=>{if(e(w)){m();let O=M();if(O){var s;v.current=P1(o.activeElement)?o.activeElement:null,(s=O.imperativeRef.current)===null||s===void 0||s.focus()}}};return o.addEventListener("keydown",Y),()=>{S(),G(),p(),I(),r1(),l1(),o.removeEventListener("keydown",Y)}},[Z,l,o,r,m,M,e]);let V=(()=>{if(!Z)return/*@__PURE__*/new Map;let i=/*@__PURE__*/new Map;return Array.from(Z.toasts.values()).forEach((d)=>{let{position:L}=d;if(i.has(L)||i.set(L,[]),L.startsWith("bottom"))i.get(L).push(d);else i.get(L).unshift(d)}),i})();return{isToastVisible:Z.isToastVisible,toastsToRender:V,pauseAllToasts:m,playAllToasts:t,tryRestoreFocus:H,closeAllToasts:A}}C();var U6=()=>{return};function F4(a){let{targetDocument:l}=g1();return x1(()=>{if(!l)return{dispatchToast:U6,dismissToast:U6,dismissAllToasts:U6,updateToast:U6,pauseToast:U6,playToast:U6};return{dispatchToast:(c,h)=>{ie(c,{...h,toasterId:a,data:{root:h===null||h===void 0?void 0:h.root}},l)},dismissToast:(c)=>{ne(c,a,l)},dismissAllToasts:()=>{ue(a,l)},updateToast:(c)=>{de({...c,data:{root:c.root},toasterId:a},l)},pauseToast:(c)=>{Le(c,a,l)},playToast:(c)=>{ge(c,a,l)}}},[l,a])}C();var us={close:()=>null,intent:void 0,bodyId:"",titleId:""},Yu=/*@__PURE__*/o1(void 0),yu=Yu.Provider,iZ=()=>{var a;return(a=c1(Yu))!==null&&a!==void 0?a:us};C();C();C();C();C();var Nu=/*@__PURE__*/$("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]);var nZ=/*@__PURE__*/U((a,l)=>{let c=Nu(),{running:h,timeout:Z,onTimeout:o}=a,v={animationDuration:`${Z}ms`,animationPlayState:h?"running":"paused"};if(Z<0)return null;return/*@__PURE__*/m1("span",{onAnimationEnd:o,"data-timer-status":v.animationPlayState,ref:l,style:v,className:c})});nZ.displayName="Timer";var ds={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},ju=(a,l)=>{let{visible:c,children:h,close:Z,remove:o,updateId:v,announce:r,data:e,timeout:m,politeness:t,intent:M="info",pauseOnHover:H,pauseOnWindowBlur:A,imperativeRef:V,tryRestoreFocus:i,...u}=a,d=m0("toast-title"),L=m0("toast-body"),g=q(null),{targetDocument:R}=g1(),[x,S]=e1(!1),p=q(!1),I=q(!1),G=$3({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),r1=A1(()=>{var J;let X=R===null||R===void 0?void 0:R.activeElement;if(X&&((J=g.current)===null||J===void 0?void 0:J.contains(X)))I.current=!0;Z()}),l1=A1((J)=>{var X;return(X=a.onStatusChange)===null||X===void 0?void 0:X.call(a,null,{status:J,...a})}),Y=A1(()=>S(!1)),w=A1(()=>{var J;if(p.current)return;var X;let h1=!!((J=g.current)===null||J===void 0?void 0:J.contains((X=R===null||R===void 0?void 0:R.activeElement)!==null&&X!==void 0?X:null));if(m<0){S(!0);return}if(!h1)S(!0)});g5(V,()=>({focus:()=>{if(!g.current)return;g.current.focus()},play:()=>{p.current=!1,w()},pause:()=>{p.current=!0,Y()}})),t1(()=>{return()=>l1("unmounted")},[l1]),t1(()=>{if(!R)return;if(A){var J,X;return(J=R.defaultView)===null||J===void 0||J.addEventListener("focus",w),(X=R.defaultView)===null||X===void 0||X.addEventListener("blur",Y),()=>{var h1,B1;(h1=R.defaultView)===null||h1===void 0||h1.removeEventListener("focus",w),(B1=R.defaultView)===null||B1===void 0||B1.removeEventListener("blur",Y)}}},[R,Y,w,A]);let s=e.root,O=y((J,{direction:X})=>{if(X==="exit")o();if(X==="enter")w(),l1("visible")},[l1,w,o]),E=A1((J)=>{var X;Y(),s===null||s===void 0||(X=s.onMouseEnter)===null||X===void 0||X.call(s,J)}),j=A1((J)=>{var X;w(),s===null||s===void 0||(X=s.onMouseEnter)===null||X===void 0||X.call(s,J)}),{findFirstFocusable:H1,findLastFocusable:Q}=S7(),i1=A1((J)=>{var X;if(J.key===sr)J.preventDefault(),r1();if(J.key===pr&&J.currentTarget===J.target)if(J.preventDefault(),J.shiftKey){var h1;(h1=Q(J.currentTarget))===null||h1===void 0||h1.focus()}else{var B1;(B1=H1(J.currentTarget))===null||B1===void 0||B1.focus()}s===null||s===void 0||(X=s.onKeyDown)===null||X===void 0||X.call(s,J)});return t1(()=>{var J;if(!c)return;let X=t!==null&&t!==void 0?t:ds[M];var h1;r((h1=(J=g.current)===null||J===void 0?void 0:J.textContent)!==null&&h1!==void 0?h1:"",{politeness:X})},[r,t,g,c,v,M]),t1(()=>{return()=>{if(I.current)I.current=!1,i()}},[i]),{components:{timer:nZ,root:"div"},timer:B.always({onTimeout:r1,running:x,timeout:m!==null&&m!==void 0?m:-1},{elementType:nZ}),root:B.always(_("div",{ref:X1(l,g),children:h,tabIndex:0,role:"listitem","aria-labelledby":d,"aria-describedby":L,...u,...s,...G,onMouseEnter:E,onMouseLeave:j,onKeyDown:i1}),{elementType:"div"}),timerTimeout:m,transitionTimeout:0,running:x,visible:c,remove:o,close:r1,onTransitionEntering:()=>{},updateId:v,nodeRef:g,intent:M,titleId:d,bodyId:L,onMotionFinish:O}};var _u=(a,l)=>{let{onMotionFinish:c,visible:h,updateId:Z}=a;return P(a),/*@__PURE__*/D(yu,{value:l.toast,children:/*@__PURE__*/D(Ih,{appear:!0,onMotionFinish:c,visible:h,unmountOnExit:!0,children:/*@__PURE__*/R1(a.root,{children:[a.root.children,/*@__PURE__*/D(a.timer,{},Z)]})})})};var uZ={root:"fui-ToastContainer",timer:"fui-ToastContainer__timer"},Ls=/*@__PURE__*/$("r98b696",null,[".r98b696{box-sizing:border-box;margin-top:16px;pointer-events:all;border-radius:var(--borderRadiusMedium);}",".r98b696[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"]),Re=(a)=>{let l=Ls();return a.root.className=k(uZ.root,l,a.root.className),a};C();function ad(a){let{close:l,intent:c,titleId:h,bodyId:Z}=a;return{toast:x1(()=>({close:l,intent:c,titleId:h,bodyId:Z}),[l,c,h,Z])}}var dZ=/*@__PURE__*/U((a,l)=>{let c=ju(a,l);return Re(c),z("useToastContainerStyles_unstable")(c),_u(c,ad(c))});dZ.displayName="ToastContainer";C();var ld=()=>{return};function cd(a,l){let{targetDocument:c}=g1(),h=q(ld);return y((Z)=>{if(!Z||!c){h.current(),h.current=ld;return}let o=c.createTreeWalker(Z,NodeFilter.SHOW_ELEMENT,{acceptNode(m){if(P1(m)&&m.classList.contains(uZ.root))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}}),v=(m)=>{let{target:t,key:M}=m;if(!P1(t))return;if(M===wr){o.currentNode=t;let H=o.nextNode();if(!H)o.currentNode=Z,H=o.nextNode();if(P1(H))H.focus()}if(M===Dr){o.currentNode=t;let H=o.previousNode();if(H&&H.contains(t))H=o.previousNode();if(!H)o.currentNode=Z,H=o.lastChild();if(P1(H))H.focus()}},r=(m)=>{if(P1(m.currentTarget)&&!m.currentTarget.contains(P1(m.relatedTarget)?m.relatedTarget:null))a()},e=(m)=>{if(P1(m.currentTarget)&&!m.currentTarget.contains(P1(m.relatedTarget)?m.relatedTarget:null))l()};Z.addEventListener("keydown",v),Z.addEventListener("focusin",r),Z.addEventListener("focusout",e),h.current=()=>{Z.removeEventListener("keydown",v),Z.removeEventListener("focusin",r),Z.removeEventListener("focusout",e)}},[c,a,l])}C();function hd(a){let l=q(!0),c=q(()=>{return}),h=y((o,v)=>{if(l.current)a(o,v)},[a]),Z=y((o)=>{if(!o){c.current();return}let v=(e)=>{if(P1(e.currentTarget)&&e.currentTarget.contains(P1(e.relatedTarget)?e.relatedTarget:null))return;l.current=!1},r=(e)=>{if(P1(e.currentTarget)&&e.currentTarget.contains(P1(e.relatedTarget)?e.relatedTarget:null))return;l.current=!0};o.addEventListener("focusin",v),o.addEventListener("focusout",r),c.current=()=>{o.removeEventListener("focusin",v),o.removeEventListener("focusout",r)}},[]);return{announceToast:h,toasterRef:Z}}var Hl=(a)=>{let{offset:l,announce:c,mountNode:h,inline:Z=!1,...o}=a,v=q(()=>null),{toastsToRender:r,isToastVisible:e,pauseAllToasts:m,playAllToasts:t,tryRestoreFocus:M,closeAllToasts:H}=Fe(o),A=y((g,R)=>v.current(g,R),[]),{dir:V}=g1(),i=B.always(_("div",o),{elementType:"div"}),u=$3({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Escape:!0}}),d=A1((g)=>{var R;if(g.key===l4)g.preventDefault(),H();(R=a.onKeyDown)===null||R===void 0||R.call(a,g)}),L=(g)=>{var R;let x=cd(m,t),{announceToast:S,toasterRef:p}=hd(c!==null&&c!==void 0?c:A);return B.optional(r.has(g)?i:null,{defaultProps:{ref:X1(x,p),children:(R=r.get(g))===null||R===void 0?void 0:R.map((I)=>/*@__PURE__*/m1(dZ,{...I,tryRestoreFocus:M,intent:I.intent,announce:S,key:I.toastId,visible:e(I.toastId)},I.content)),onKeyDown:d,...u,"data-toaster-position":g,role:"list"},elementType:"div"})};return{dir:V,mountNode:h,components:{root:"div",bottomStart:"div",bottomEnd:"div",topStart:"div",topEnd:"div",top:"div",bottom:"div"},root:B.always(i,{elementType:"div"}),bottomStart:L(n5.bottomStart),bottomEnd:L(n5.bottomEnd),topStart:L(n5.topStart),topEnd:L(n5.topEnd),top:L(n5.top),bottom:L(n5.bottom),announceRef:v,offset:l,announce:c!==null&&c!==void 0?c:A,renderAriaLive:!c,inline:Z}};C();C();var gs=500,Zd=(a)=>{let[l,c]=e1(void 0),h=q(0),[Z]=e1(()=>m6((t,M)=>{if(t.politeness===M.politeness)return t.createdAt-M.createdAt;return t.politeness==="assertive"?-1:1})),o=A1((t,M)=>{let{politeness:H}=M;if(t===(l===null||l===void 0?void 0:l.message))return;let A={message:t,politeness:H,createdAt:h.current++};if(!l)c(A);else Z.enqueue(A)}),[v,r]=N2();t1(()=>{return v(()=>{if(Z.peek())c(Z.dequeue());else c(void 0)},gs),()=>r()},[l,Z,v,r]),g5(a.announceRef,()=>o);let e=(l===null||l===void 0?void 0:l.politeness)==="polite"?l.message:void 0,m=(l===null||l===void 0?void 0:l.politeness)==="assertive"?l.message:void 0;return{components:{assertive:"div",polite:"div"},assertive:B.always(a.assertive,{defaultProps:{"aria-live":"assertive",children:m},elementType:"div"}),polite:B.always(a.polite,{defaultProps:{"aria-live":"polite",children:e},elementType:"div"})}};var od=(a)=>{return P(a),/*@__PURE__*/R1(V1,{children:[/*@__PURE__*/D(a.assertive,{}),/*@__PURE__*/D(a.polite,{})]})};var vd={assertive:"fui-AriaLive__assertive",polite:"fui-AriaLive__polite"},Cs=/*@__PURE__*/$("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),rd=(a)=>{let l=Cs();return a.assertive.className=k(l,vd.assertive,a.assertive.className),a.polite.className=k(l,vd.polite,a.polite.className),a};var LZ=(a)=>{let l=Zd(a);return rd(l),od(l)};LZ.displayName="AriaLive";var Al=(a)=>{let{announceRef:l,renderAriaLive:c,inline:h,mountNode:Z}=a;P(a);let o=!!a.bottomStart||!!a.bottomEnd||!!a.topStart||!!a.topEnd||!!a.top||!!a.bottom,v=c?/*@__PURE__*/D(LZ,{announceRef:l}):null,r=/*@__PURE__*/R1(V1,{children:[a.bottom?/*@__PURE__*/D(a.bottom,{}):null,a.bottomStart?/*@__PURE__*/D(a.bottomStart,{}):null,a.bottomEnd?/*@__PURE__*/D(a.bottomEnd,{}):null,a.topStart?/*@__PURE__*/D(a.topStart,{}):null,a.topEnd?/*@__PURE__*/D(a.topEnd,{}):null,a.top?/*@__PURE__*/D(a.top,{}):null]});if(h)return/*@__PURE__*/R1(V1,{children:[v,o?r:null]});return/*@__PURE__*/R1(V1,{children:[v,o?/*@__PURE__*/D(U7,{mountNode:Z,children:r}):null]})};var gZ={root:"fui-Toaster"},Fs=/*@__PURE__*/$("r3hfdjz",null,[".r3hfdjz{position:fixed;width:292px;pointer-events:none;}"]),Rs=/*@__PURE__*/f({inline:{qhf8xq:"f1euv43f"}},{d:[".f1euv43f{position:absolute;}"]}),Vl=(a)=>{let l=Fs(),c=Rs(),h=k(gZ.root,l,a.inline&&c.inline,a.root.className);if(a.bottomStart){var Z;a.bottomStart.className=h;var o;(o=(Z=a.bottomStart).style)!==null&&o!==void 0||(Z.style={}),Object.assign(a.bottomStart.style,q7(n5.bottomStart,a.dir,a.offset))}if(a.bottomEnd){var v;a.bottomEnd.className=h;var r;(r=(v=a.bottomEnd).style)!==null&&r!==void 0||(v.style={}),Object.assign(a.bottomEnd.style,q7(n5.bottomEnd,a.dir,a.offset))}if(a.topStart){var e;a.topStart.className=h;var m;(m=(e=a.topStart).style)!==null&&m!==void 0||(e.style={}),Object.assign(a.topStart.style,q7(n5.topStart,a.dir,a.offset))}if(a.topEnd){var t;a.topEnd.className=h;var M;(M=(t=a.topEnd).style)!==null&&M!==void 0||(t.style={}),Object.assign(a.topEnd.style,q7(n5.topEnd,a.dir,a.offset))}if(a.top){var H;a.top.className=h;var A;(A=(H=a.top).style)!==null&&A!==void 0||(H.style={}),Object.assign(a.top.style,q7(n5.top,a.dir,a.offset))}if(a.bottom){var V;a.bottom.className=h;var i;(i=(V=a.bottom).style)!==null&&i!==void 0||(V.style={}),Object.assign(a.bottom.style,q7(n5.bottom,a.dir,a.offset))}return a};var R4=(a)=>{let l=Hl(a);return Vl(l),z("useToasterStyles_unstable")(l),Al(l)};R4.displayName="Toaster";C();C();var il=(a,l)=>{let{intent:c}=iZ();return{components:{root:"div"},root:B.always(_("div",{ref:l,...a}),{elementType:"div"}),backgroundAppearance:a.appearance,intent:c}};var nl=(a,l)=>{return P(a),/*@__PURE__*/D(rh,{value:l.backgroundAppearance,children:/*@__PURE__*/D(a.root,{})})};var xe={root:"fui-Toast"},xs=/*@__PURE__*/$("rhf7k35",null,[".rhf7k35{display:grid;grid-template-columns:auto 1fr auto;padding:12px;border-radius:var(--borderRadiusMedium);border:1px solid var(--colorTransparentStroke);box-shadow:var(--shadow8);font-size:var(--fontSizeBase300);line-height:20px;font-weight:var(--fontWeightSemibold);color:var(--colorNeutralForeground1);background-color:var(--colorNeutralBackground1);}"]),ps=/*@__PURE__*/f({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]}),ul=(a)=>{let l=xs(),c=ps();return a.root.className=k(xe.root,l,a.backgroundAppearance==="inverted"&&c.inverted,a.root.className),a};function ed(a){let{backgroundAppearance:l}=a;return{backgroundAppearance:l}}var s2=/*@__PURE__*/U((a,l)=>{let c=il(a,l);return ul(c),z("useToastStyles_unstable")(c),nl(c,ed(c))});s2.displayName="Toast";C();C();var dl=(a,l)=>{let{intent:c,titleId:h}=iZ(),Z=r6(),o;switch(c){case"success":o=/*@__PURE__*/m1(sh,null);break;case"error":o=/*@__PURE__*/m1(Sh,null);break;case"warning":o=/*@__PURE__*/m1(fh,null);break;case"info":o=/*@__PURE__*/m1(Bh,null);break}return{action:B.optional(a.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:B.optional(a.media,{renderByDefault:!!c,defaultProps:{children:o},elementType:"div"}),root:B.always(_("div",{ref:l,children:a.children,id:h,...a}),{elementType:"div"}),intent:c,backgroundAppearance:Z}};var Ll=(a)=>{return P(a),/*@__PURE__*/R1(V1,{children:[a.media?/*@__PURE__*/D(a.media,{}):null,/*@__PURE__*/D(a.root,{}),a.action?/*@__PURE__*/D(a.action,{}):null]})};var O6={root:"fui-ToastTitle",media:"fui-ToastTitle__media",action:"fui-ToastTitle__action"},ws=/*@__PURE__*/$("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),Ds=/*@__PURE__*/$("r8x5mrd","r1soj19y",[".r8x5mrd{display:flex;padding-top:2px;grid-column-end:2;padding-right:8px;font-size:16px;color:var(--colorNeutralForeground1);}",".r1soj19y{display:flex;padding-top:2px;grid-column-end:2;padding-left:8px;font-size:16px;color:var(--colorNeutralForeground1);}"]),ss=/*@__PURE__*/$("r2j19ip","rjfozdo",[".r2j19ip{display:flex;align-items:start;padding-left:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}",".rjfozdo{display:flex;align-items:start;padding-right:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}"]),ks=/*@__PURE__*/f({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),Ss=/*@__PURE__*/f({success:{sj55zd:"f36rra6"},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f13isgzr"},info:{sj55zd:"fkfq4zb"}},{d:[".f36rra6{color:var(--colorStatusSuccessForeground1);}",".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f13isgzr{color:var(--colorStatusWarningForeground1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}"]}),Bs=/*@__PURE__*/f({success:{sj55zd:"ff3wk4x"},error:{sj55zd:"fbq2gqr"},warning:{sj55zd:"fx6hq1t"},info:{sj55zd:"f1w7i9ko"}},{d:[".ff3wk4x{color:var(--colorStatusSuccessForegroundInverted);}",".fbq2gqr{color:var(--colorStatusDangerForegroundInverted);}",".fx6hq1t{color:var(--colorStatusWarningForegroundInverted);}",".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}"]}),gl=(a)=>{let l=ws(),c=ss(),h=Ds(),Z=Ss(),o=Bs(),{intent:v}=a,r=ks();if(a.root.className=k(O6.root,l,a.backgroundAppearance==="inverted"&&r.root,a.root.className),a.media)a.media.className=k(O6.media,h,a.backgroundAppearance==="inverted"&&r.media,v&&Z[v],v&&a.backgroundAppearance==="inverted"&&o[v],a.media.className);if(a.action)a.action.className=k(O6.action,c,a.backgroundAppearance==="inverted"&&r.action,a.action.className);return a};var k2=/*@__PURE__*/U((a,l)=>{let c=dl(a,l);return gl(c),z("useToastTitleStyles_unstable")(c),Ll(c)});k2.displayName="ToastTitle";C();C();C();function md(a){switch(a){case"info":return/*@__PURE__*/m1(Bh,null);case"warning":return/*@__PURE__*/m1(fh,null);case"error":return/*@__PURE__*/m1(Sh,null);case"success":return/*@__PURE__*/m1(sh,null);default:return null}}C();function Md(a=!1){let{targetDocument:l}=g1(),c=M2(()=>({}),{})[1],h=q(!1),Z=q(null),o=q(-1),v=y((e)=>{var m,t;if(e.length>1)console.error(["useMessageBarReflow: Resize observer should only have one entry. ","If multiple entries are observed, the first entry will be used.","This is a bug, please report it to the Fluent UI team."].join(" "));let M=e[0];var H;let A=(H=M===null||M===void 0?void 0:(t=M.borderBoxSize)===null||t===void 0?void 0:(m=t[0])===null||m===void 0?void 0:m.inlineSize)!==null&&H!==void 0?H:M===null||M===void 0?void 0:M.target.getBoundingClientRect().width;if(A===void 0||!M)return;let{target:V}=M;if(!P1(V))return;let i;if(h.current){if(o.current<A)i=!1}else{let u=V.scrollWidth;if(A<u)i=!0}if(o.current=A,typeof i!=="undefined"&&h.current!==i)h.current=i,c()},[c]),r=y((e)=>{var m;if(!a||!e||!(l===null||l===void 0?void 0:l.defaultView))return;(m=Z.current)===null||m===void 0||m.disconnect();let M=new l.defaultView.ResizeObserver(v);Z.current=M,M.observe(e,{box:"border-box"})},[l,v,a]);return t1(()=>{return()=>{var e;(e=Z.current)===null||e===void 0||e.disconnect()}},[]),{ref:r,reflowing:h.current}}C();var td=o1(void 0),fs={className:"",nodeRef:A5()},Ho1=td.Provider,Hd=()=>{var a;return(a=c1(td))!==null&&a!==void 0?a:fs};var Cl=(a,l)=>{let{layout:c="auto",intent:h="info",politeness:Z,shape:o="rounded"}=a,v=(Z!==null&&Z!==void 0?Z:h==="info")?"polite":"assertive",r=c==="auto",{ref:e,reflowing:m}=Md(r),t=r?m?"multiline":"singleline":c,{className:M,nodeRef:H}=Hd(),A=q(null),V=q(null),{announce:i}=K8(),u=m0();return t1(()=>{var d,L;let g=(d=V.current)===null||d===void 0?void 0:d.textContent,R=(L=A.current)===null||L===void 0?void 0:L.textContent,x=[g,R].filter(Boolean).join(",");i(x,{polite:v==="polite",alert:v==="assertive"})},[V,A,i,v]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:B.always(_("div",{ref:X1(l,e,H),role:"group","aria-labelledby":u,...a}),{elementType:"div"}),icon:B.optional(a.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:md(h)}}),bottomReflowSpacer:B.optional(a.bottomReflowSpacer,{renderByDefault:t==="multiline",elementType:"div"}),layout:t,intent:h,transitionClassName:M,actionsRef:A,bodyRef:V,titleId:u,shape:o}};C();var Ad=o1(void 0),Ts={titleId:"",layout:"singleline",actionsRef:A5(),bodyRef:A5()},pe=Ad.Provider,we=()=>{var a;return(a=c1(Ad))!==null&&a!==void 0?a:Ts};var Fl=(a,l)=>{return P(a),/*@__PURE__*/D(pe,{value:l.messageBar,children:/*@__PURE__*/R1(a.root,{children:[a.icon&&/*@__PURE__*/D(a.icon,{}),a.root.children,a.bottomReflowSpacer&&/*@__PURE__*/D(a.bottomReflowSpacer,{})]})})};var G6={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},Ws=/*@__PURE__*/$("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),bs=/*@__PURE__*/$("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),Is=/*@__PURE__*/$("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),Us=/*@__PURE__*/f({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),Os=/*@__PURE__*/f({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),Gs=/*@__PURE__*/f({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),Rl=(a)=>{let l=Ws(),c=bs(),h=Os(),Z=Gs(),o=Is(),v=Us();if(a.root.className=k(G6.root,l,a.layout==="multiline"&&v.rootMultiline,a.shape==="square"&&v.square,Z[a.intent],a.transitionClassName,a.root.className),a.icon)a.icon.className=k(G6.icon,c,h[a.intent],a.icon.className);if(a.bottomReflowSpacer)a.bottomReflowSpacer.className=k(G6.bottomReflowSpacer,o);return a};C();function xl(a){let{layout:l,actionsRef:c,bodyRef:h,titleId:Z}=a;return{messageBar:x1(()=>({layout:l,actionsRef:c,bodyRef:h,titleId:Z}),[l,c,h,Z])}}var x4=/*@__PURE__*/U((a,l)=>{let c=Cl(a,l);return Rl(c),z("useMessageBarStyles_unstable")(c),Fl(c,xl(c))});x4.displayName="MessageBar";C();C();var pl=(a,l)=>{let{bodyRef:c}=we();return{components:{root:"div"},root:B.always(_("div",{ref:X1(l,c),...a}),{elementType:"div"})}};var wl=(a,l)=>{return P(a),/*@__PURE__*/D(_h,{value:l.link,children:/*@__PURE__*/D(a.root,{})})};var CZ={root:"fui-MessageBarBody"},Ps=/*@__PURE__*/$("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),Dl=(a)=>{let l=Ps();return a.root.className=k(CZ.root,l,a.root.className),a};C();function Vd(a){return{link:x1(()=>({inline:!0}),[])}}var p4=/*@__PURE__*/U((a,l)=>{let c=pl(a,l),h=Vd(c);return Dl(c),z("useMessageBarBodyStyles_unstable")(c),wl(c,h)});p4.displayName="MessageBarBody";C();var $s={scrollState:"none",setScrollState:()=>({})},kd=o1(void 0),w4=kd.Provider,D4=()=>{var a;return(a=c1(kd))!==null&&a!==void 0?a:$s},s4=()=>{let[a,l]=e1("none");return{setScrollState:l,scrollState:a}};C();C();C();C();var z6={drawerSizeVar:"--fui-Drawer--size"},Sd={overflow:"hidden",width:`var(${z6.drawerSizeVar})`,maxWidth:"100vw",height:"auto",maxHeight:"100vh",boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",backgroundColor:E1.colorNeutralBackground1,color:E1.colorNeutralForeground1},Ys=/*@__PURE__*/f({start:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1xteiwb","fsqykmd"],oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["fvfyk4","frppm18"]},end:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["fsqykmd","f1xteiwb"],j35jbq:["f1e31b4d","f1vgc2s3"],oyh7mz:["frppm18","fvfyk4"]},bottom:{B5kzvoi:"f1yab3r1",Bhzewxz:"f198g47y"},small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"fsdmzs6"}},{d:[[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".fvfyk4{right:auto;}",".frppm18{left:auto;}",[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1yab3r1{bottom:0;}",".f198g47y{top:auto;}",".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".fsdmzs6{--fui-Drawer--size:100vw;}"]}),ys=/*@__PURE__*/f({small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"f1rat34m"}},{d:[".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".f1rat34m{--fui-Drawer--size:100%;}"]}),RZ=({position:a,size:l})=>{let c=Ys(),h=ys();return k(c[a],a==="bottom"&&h[l],a!=="bottom"&&c[l])};var Ie={small:T1.durationGentle,medium:T1.durationSlow,large:T1.durationSlower,full:T1.durationUltraSlow};function Bd(a,l,c){let h=`translate3d(var(${l}), 0, 0)`,Z=`translate3d(calc(var(${l}) * -1), 0, 0)`,o=`translate3d(0, var(${l}), 0)`;if(a==="start")return c==="ltr"?Z:h;if(a==="end")return c==="ltr"?h:Z;if(a==="bottom")return o;return"translate3d(0, 0, 0)"}var Ue=r5(({position:a,size:l,dir:c})=>{let h=[{transform:Bd(a,z6.drawerSizeVar,c),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],Z=Ie[l];return{enter:{keyframes:h,duration:Z,easing:T1.curveDecelerateMid},exit:{keyframes:[...h].reverse(),duration:Z,easing:T1.curveAccelerateMin}}}),fd=r5(({position:a,size:l,dir:c})=>{let h=[{transform:Bd(a,z6.drawerSizeVar,c),boxShadow:`0px ${E1.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:E1.shadow64,opacity:1}],Z=Ie[l];return{enter:{keyframes:h,duration:Z,easing:T1.curveDecelerateMid},exit:{keyframes:[...h].reverse(),duration:Z,easing:T1.curveAccelerateMin}}}),Td=r5(({size:a})=>{let l=[{opacity:0},{opacity:1}],c=Ie[a];return{enter:{keyframes:l,easing:T1.curveLinear,duration:c},exit:{keyframes:[...l].reverse(),easing:T1.curveLinear,duration:c}}});function xZ(a){let{open:l=!1,size:c="small",position:h="start"}=a;return{size:c,position:h,open:l}}C();var Ns=/*@__PURE__*/$("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),js=/*@__PURE__*/f({nested:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),Wd=(a)=>{let l=Ns(),c=js();if(a.backdrop)a.backdrop.className=k(l,a.isNestedDialog&&c.nested,a.backdrop.className);return a};var kl=/*@__PURE__*/U((a,l)=>{let c=d3({...a,as:a.as},l),h=g3(c);return Wd(c),L3(c,h)});kl.displayName="OverlayDrawerSurface";C();function Oe(a,l,c){if(a===null)return null;return{...a,children:(h,Z)=>{if(a===null||a===void 0?void 0:a.children)return a.children(l,{...Z,...c});return/*@__PURE__*/m1(l,{...Z,...c},Z.children)}}}var _s={active:!0,canRender:!0,ref:/*@__PURE__*/A5(),type:"idle"},Ge=(a,l)=>{let{open:c,size:h,position:Z}=xZ(a),{backdropMotion:o,modalType:v="modal",inertTrapFocus:r,onOpenChange:e,surfaceMotion:m,mountNode:t}=a,{dir:M,targetDocument:H}=g1(),{element:A}=sa(t),V=Boolean(A&&(H===null||H===void 0?void 0:H.body)!==A),i=B.resolveShorthand(a.backdrop),u=v!=="non-modal"&&i!==null,d=B.always({...a,ref:l,backdrop:u?{...i}:null,backdropMotion:Oe(o,Td,{size:h})},{elementType:kl}),L=B.always({open:c,onOpenChange:e,inertTrapFocus:r,modalType:v,surfaceMotion:Oe(m,fd,{position:Z,size:h,dir:M}),children:null},{elementType:D5});return{components:{root:kl,dialog:D5},root:d,dialog:L,open:c,size:h,position:Z,hasMountNodeElement:V,mountNode:t,motion:_s}};var Pe=(a,l)=>{return P(a),/*@__PURE__*/D(w4,{value:l,children:/*@__PURE__*/D(a.dialog,{children:/*@__PURE__*/D(a.root,{})})})};C();var qe={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},ak=/*@__PURE__*/$("r7dfyj8","rmx02j7",{r:[".r7dfyj8{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".r7dfyj8:focus{outline-style:none;}",".r7dfyj8:focus-visible{outline-style:none;}",".r7dfyj8[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r7dfyj8[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmx02j7{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".rmx02j7:focus{outline-style:none;}",".rmx02j7:focus-visible{outline-style:none;}",".rmx02j7[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmx02j7[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r7dfyj8[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmx02j7[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),lk=/*@__PURE__*/f({start:{},end:{},bottom:{Bhzewxz:"f198g47y",Bqenvij:"fub80nq",a9b677:"fr97h3j"},absolute:{qhf8xq:"f1euv43f"}},{d:[".f198g47y{top:auto;}",".fub80nq{height:var(--fui-Drawer--size);}",".fr97h3j{width:100vw;}",".f1euv43f{position:absolute;}"]}),ze=(a)=>{let l=RZ(a),c=ak(),h=lk(),Z=a.hasMountNodeElement&&h.absolute,o=a.root.backdrop;if(a.root.className=k(qe.root,l,c,h[a.position],Z,a.root.className),o)o.className=k(qe.backdrop,Z,o.className);return a};var Sl=/*@__PURE__*/U((a,l)=>{let c=Ge(a,l),h=s4();return ze(c),z("useDrawerOverlayStyles_unstable")(c),z("useOverlayDrawerStyles_unstable")(c),Pe(c,h)});Sl.displayName="OverlayDrawer";C();C();var ck={active:!0,canRender:!0,ref:A5(),type:"idle"},Qe=(a,l)=>{let{size:c,position:h,open:Z}=xZ(a),{separator:o=!1,surfaceMotion:v}=a,{dir:r}=g1();return{components:{root:"div",surfaceMotion:Ue},root:B.always(_("div",{...a,ref:l}),{elementType:"div"}),open:Z,position:h,size:c,separator:o,surfaceMotion:c4(v,{elementType:Ue,defaultProps:{position:h,size:c,dir:r,visible:Z,unmountOnExit:!0}}),motion:ck}};var Je=(a,l)=>{return P(a),/*@__PURE__*/D(w4,{value:l,children:/*@__PURE__*/D(a.surfaceMotion,{children:/*@__PURE__*/D(a.root,{})})})};var bd={root:"fui-InlineDrawer"},hk=/*@__PURE__*/$("rkjj3x6",null,[".rkjj3x6{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:relative;}"]),Qr1=`1px solid ${E1.colorNeutralBackground3}`,Zk=/*@__PURE__*/f({separatorStart:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1cxmi7i","f1j970fk"]},separatorEnd:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["f1j970fk","f1cxmi7i"]},separatorBottom:{g2u3we:0,icvyot:0,B4j52fo:0,i8vvqc:"f1n3kblk"},start:{},end:{},bottom:{a9b677:"fly5x3f",Bqenvij:"fub80nq"}},{d:[[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1n3kblk{border-top:1px solid var(--colorNeutralBackground3);}",{p:-1}],".fly5x3f{width:100%;}",".fub80nq{height:var(--fui-Drawer--size);}"]});function ok(a,l){if(!a.separator)return;switch(a.position){case"start":return l.separatorStart;case"end":return l.separatorEnd;case"bottom":return l.separatorBottom;default:return}}var Ke=(a)=>{let l=hk(),c=RZ(a),h=Zk();return a.root.className=k(bd.root,l,c,ok(a,h),h[a.position],a.root.className),a};var Bl=/*@__PURE__*/U((a,l)=>{let c=Qe(a,l),h=s4();return Ke(c),z("useDrawerInlineStyles_unstable")(c),z("useInlineDrawerStyles_unstable")(c),Je(c,h)});Bl.displayName="InlineDrawer";var fl=(a,l)=>{let c=a.type==="inline"?Bl:Sl,h=B.always({ref:l,...a},{elementType:c});return{components:{root:c},root:h}};var Tl=(a,l)=>{return P(a),/*@__PURE__*/D(w4,{value:l,children:/*@__PURE__*/D(a.root,{})})};var Id={root:"fui-Drawer"},Wl=(a)=>{return a.root.className=k(Id.root,a.root.className),a};var S2=/*@__PURE__*/U((a,l)=>{let c=fl(a,l),h=s4();return Wl(c),z("useDrawerStyles_unstable")(c),Tl(c,h)});S2.displayName="Drawer";C();C();var vk=({scrollTop:a,scrollHeight:l,clientHeight:c})=>{if(l<=c)return"none";if(a===0)return"top";if(a+c===l)return"bottom";return"middle"},bl=(a,l)=>{let{setScrollState:c}=D4(),h=q(null),[Z,o]=eh(),v=y(()=>{if(!h.current)return;c(vk(h.current))},[c]),r=y(()=>{o(),Z(()=>v())},[o,Z,v]);return K1(()=>{return o(),Z(()=>v()),()=>o()},[a.children,o,v,Z]),K1(()=>{return o(),Z(()=>v()),()=>o()},[o,v,Z]),{components:{root:"div"},root:B.always(_("div",{ref:X1(l,h),...a,onScroll:Y5(a.onScroll,r)}),{elementType:"div"})}};var Il=(a)=>{return P(a),/*@__PURE__*/D(a.root,{})};var pZ={root:"fui-DrawerBody"},rk=/*@__PURE__*/$("ri6rvx7",null,[".ri6rvx7{padding:0 var(--spacingHorizontalXXL);flex:1;align-self:stretch;position:relative;z-index:1;overflow:auto;}",".ri6rvx7:last-child{padding-bottom:calc(var(--spacingHorizontalXXL) + 1px);}",".ri6rvx7:first-child{padding-top:calc(var(--spacingHorizontalXXL) + 1px);}"]),Ul=(a)=>{let l=rk();return a.root.className=k(pZ.root,l,a.root.className),a};var B2=/*@__PURE__*/U((a,l)=>{let c=bl(a,l);return Ul(c),z("useDrawerBodyStyles_unstable")(c),Il(c)});B2.displayName="DrawerBody";C();C();var Ol=(a,l)=>{let{scrollState:c}=D4();return{components:{root:"header"},root:B.always(_("header",{ref:l,role:"none",...a}),{elementType:"header"}),scrollState:c}};var Gl=(a)=>{return P(a),/*@__PURE__*/D(a.root,{})};var wZ={root:"fui-DrawerHeader"},ek=/*@__PURE__*/$("r3ovn4i",null,[".r3ovn4i{width:100%;max-width:100%;padding:var(--spacingVerticalXXL) var(--spacingHorizontalXXL) var(--spacingVerticalS);gap:var(--spacingHorizontalS);align-self:stretch;display:flex;flex-direction:column;box-sizing:border-box;position:relative;z-index:2;}"]),mk=/*@__PURE__*/f({separator:{Dlnsje:"fxnjyrl",E3zdtr:"f1mdlcz9",B1piin3:["f15yvnhg","f1n6gb5g"],Eqx8gd:["f1n6gb5g","f15yvnhg"],Bp15pi3:"f1564nw5",Bjyk6c5:"fdlpgxj",F2fol1:"f15cmg8x",Ba2ppi3:"f3f8dgl",B1dyfl9:"fjvo4va",Bsft5z2:"f13zj6fq",By385i5:"fo72kxq"},separatorVisible:{Bp15pi3:"fjsqi2x"}},{d:[".fxnjyrl::after{height:1px;}",".f1mdlcz9::after{position:absolute;}",".f15yvnhg::after{right:0;}",".f1n6gb5g::after{left:0;}",".f1564nw5::after{opacity:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}",".f15cmg8x::after{transition-duration:var(--durationNormal);}",".f3f8dgl::after{transition-property:opacity;}",".fjvo4va::after{transition-timing-function:var(--curveEasyEase);}",'.f13zj6fq::after{content:"";}',".fo72kxq::after{bottom:0;}",".fjsqi2x::after{opacity:1;}"]}),Pl=(a)=>{let l=ek(),c=mk();return a.root.className=k(wZ.root,l,a.scrollState!=="none"&&c.separator,["middle","bottom"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var f2=/*@__PURE__*/U((a,l)=>{let c=Ol(a,l);return Pl(c),z("useDrawerHeaderStyles_unstable")(c),Gl(c)});f2.displayName="DrawerHeader";C();C();var ql=(a,l)=>{let{children:c,heading:h}=a,Z=G0((o)=>o.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:B.always(_("div",{ref:l,...a}),{elementType:"div"}),heading:B.optional(h,{defaultProps:{id:Z,children:c},renderByDefault:!0,elementType:"h2"}),action:B.optional(a.action,{elementType:"div"})}};var zl=(a)=>{return P(a),/*@__PURE__*/R1(a.root,{children:[a.heading&&/*@__PURE__*/D(a.heading,{}),a.action&&/*@__PURE__*/D(a.action,{})]})};var Q6={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},Mk=/*@__PURE__*/f({root:{mc9l5x:"f22iagw",Brf1p80:"f1869bpl",Bt984gj:"f122n59",i8kkvl:"fsnqrgy"},action:{t21cq0:["faqnl2i","fd75udd"]}},{d:[".f22iagw{display:flex;}",".f1869bpl{justify-content:space-between;}",".f122n59{align-items:center;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".faqnl2i{margin-right:calc(var(--spacingHorizontalS) * -1);}",".fd75udd{margin-left:calc(var(--spacingHorizontalS) * -1);}"]}),Ql=(a)=>{let l=Mk(),{heading:c={},action:h,components:Z}=a;if(u3({components:{root:Z.heading,action:Z.action},root:c,action:h}),a.root.className=k(Q6.root,l.root,a.root.className),a.heading)a.heading.className=k(Q6.heading,a.heading.className);if(a.action)a.action.className=k(Q6.action,l.action,a.action.className);return a};var T2=/*@__PURE__*/U((a,l)=>{let c=ql(a,l);return Ql(c),z("useDrawerHeaderTitleStyles_unstable")(c),zl(c)});T2.displayName="DrawerHeaderTitle";C();C();var Jl=(a,l)=>{let{scrollState:c}=D4();return{components:{root:"footer"},root:B.always(_("footer",{ref:l,role:"none",...a}),{elementType:"footer"}),scrollState:c}};var Kl=(a)=>{return P(a),/*@__PURE__*/D(a.root,{})};var DZ={root:"fui-DrawerFooter"},tk=/*@__PURE__*/$("r1snvl2j",null,[".r1snvl2j{width:100%;max-width:100%;padding:var(--spacingVerticalL) var(--spacingHorizontalXXL) var(--spacingVerticalXXL);display:flex;justify-content:flex-start;align-items:center;column-gap:var(--spacingHorizontalS);box-sizing:border-box;position:relative;z-index:2;}"]),Hk=/*@__PURE__*/f({separator:{Baz25je:"f16b62f1",Brfgrao:"f1j7ml58",mdwyqc:["f1f351id","f1fzr1x6"],Fbdkly:["f1fzr1x6","f1f351id"],vz82u:"f1dhznln",cmx5o7:"f1p5zmk",h7gv66:"f1ljjo4k",B8bqphf:"ffd2d9j",wjn42g:"ffdt3s5",Ftih45:"f1wl9k8s",Bciustq:"ffi060y"},separatorVisible:{vz82u:"f1b3qyzu"}},{d:[".f16b62f1::before{height:1px;}",".f1j7ml58::before{position:absolute;}",".f1f351id::before{right:0;}",".f1fzr1x6::before{left:0;}",".f1dhznln::before{opacity:0;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1ljjo4k::before{transition-duration:var(--durationNormal);}",".ffd2d9j::before{transition-property:opacity;}",".ffdt3s5::before{transition-timing-function:var(--curveEasyEase);}",'.f1wl9k8s::before{content:"";}',".ffi060y::before{top:0;}",".f1b3qyzu::before{opacity:1;}"]}),Xl=(a)=>{let l=tk(),c=Hk();return a.root.className=k(DZ.root,l,a.scrollState!=="none"&&c.separator,["middle","top"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var z7=/*@__PURE__*/U((a,l)=>{let c=Jl(a,l);return Xl(c),z("useDrawerFooterStyles_unstable")(c),Kl(c)});z7.displayName="DrawerFooter";function B0(a,l){if(Ak(a))a="100%";var c=Vk(a);if(a=l===360?a:Math.min(l,Math.max(0,parseFloat(a))),c)a=parseInt(String(a*l),10)/100;if(Math.abs(a-l)<0.000001)return 1;if(l===360)a=(a<0?a%l+l:a%l)/parseFloat(String(l));else a=a%l/parseFloat(String(l));return a}function El(a){return Math.min(1,Math.max(0,a))}function Ak(a){return typeof a==="string"&&a.indexOf(".")!==-1&&parseFloat(a)===1}function Vk(a){return typeof a==="string"&&a.indexOf("%")!==-1}function sZ(a){if(a=parseFloat(a),isNaN(a)||a<0||a>1)a=1;return a}function $l(a){if(a<=1)return"".concat(Number(a)*100,"%");return a}function R3(a){return a.length===1?"0"+a:String(a)}function Ud(a,l,c){return{r:B0(a,255)*255,g:B0(l,255)*255,b:B0(c,255)*255}}function Ee(a,l,c){a=B0(a,255),l=B0(l,255),c=B0(c,255);var h=Math.max(a,l,c),Z=Math.min(a,l,c),o=0,v=0,r=(h+Z)/2;if(h===Z)v=0,o=0;else{var e=h-Z;switch(v=r>0.5?e/(2-h-Z):e/(h+Z),h){case a:o=(l-c)/e+(l<c?6:0);break;case l:o=(c-a)/e+2;break;case c:o=(a-l)/e+4;break;default:break}o/=6}return{h:o,s:v,l:r}}function Xe(a,l,c){if(c<0)c+=1;if(c>1)c-=1;if(c<0.16666666666666666)return a+(l-a)*(6*c);if(c<0.5)return l;if(c<0.6666666666666666)return a+(l-a)*(0.6666666666666666-c)*6;return a}function Od(a,l,c){var h,Z,o;if(a=B0(a,360),l=B0(l,100),c=B0(c,100),l===0)Z=c,o=c,h=c;else{var v=c<0.5?c*(1+l):c+l-c*l,r=2*c-v;h=Xe(r,v,a+0.3333333333333333),Z=Xe(r,v,a),o=Xe(r,v,a-0.3333333333333333)}return{r:h*255,g:Z*255,b:o*255}}function $e(a,l,c){a=B0(a,255),l=B0(l,255),c=B0(c,255);var h=Math.max(a,l,c),Z=Math.min(a,l,c),o=0,v=h,r=h-Z,e=h===0?0:r/h;if(h===Z)o=0;else{switch(h){case a:o=(l-c)/r+(l<c?6:0);break;case l:o=(c-a)/r+2;break;case c:o=(a-l)/r+4;break;default:break}o/=6}return{h:o,s:e,v}}function Gd(a,l,c){a=B0(a,360)*6,l=B0(l,100),c=B0(c,100);var h=Math.floor(a),Z=a-h,o=c*(1-l),v=c*(1-Z*l),r=c*(1-(1-Z)*l),e=h%6,m=[c,v,o,o,r,c][e],t=[r,c,c,v,o,o][e],M=[o,o,r,c,c,v][e];return{r:m*255,g:t*255,b:M*255}}function Ye(a,l,c,h){var Z=[R3(Math.round(a).toString(16)),R3(Math.round(l).toString(16)),R3(Math.round(c).toString(16))];if(h&&Z[0].startsWith(Z[0].charAt(1))&&Z[1].startsWith(Z[1].charAt(1))&&Z[2].startsWith(Z[2].charAt(1)))return Z[0].charAt(0)+Z[1].charAt(0)+Z[2].charAt(0);return Z.join("")}function Pd(a,l,c,h,Z){var o=[R3(Math.round(a).toString(16)),R3(Math.round(l).toString(16)),R3(Math.round(c).toString(16)),R3(ik(h))];if(Z&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1)))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}function ik(a){return Math.round(parseFloat(a)*255).toString(16)}function ye(a){return s5(a)/255}function s5(a){return parseInt(a,16)}function qd(a){return{r:a>>16,g:(a&65280)>>8,b:a&255}}var Yl={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function zd(a){var l={r:0,g:0,b:0},c=1,h=null,Z=null,o=null,v=!1,r=!1;if(typeof a==="string")a=dk(a);if(typeof a==="object"){if(Q7(a.r)&&Q7(a.g)&&Q7(a.b))l=Ud(a.r,a.g,a.b),v=!0,r=String(a.r).substr(-1)==="%"?"prgb":"rgb";else if(Q7(a.h)&&Q7(a.s)&&Q7(a.v))h=$l(a.s),Z=$l(a.v),l=Gd(a.h,h,Z),v=!0,r="hsv";else if(Q7(a.h)&&Q7(a.s)&&Q7(a.l))h=$l(a.s),o=$l(a.l),l=Od(a.h,h,o),v=!0,r="hsl";if(Object.prototype.hasOwnProperty.call(a,"a"))c=a.a}return c=sZ(c),{ok:v,format:a.format||r,r:Math.min(255,Math.max(l.r,0)),g:Math.min(255,Math.max(l.g,0)),b:Math.min(255,Math.max(l.b,0)),a:c}}var nk="[-\\+]?\\d+%?",uk="[-\\+]?\\d*\\.\\d+%?",x3="(?:".concat(uk,")|(?:").concat(nk,")"),Ne="[\\s|\\(]+(".concat(x3,")[,|\\s]+(").concat(x3,")[,|\\s]+(").concat(x3,")\\s*\\)?"),je="[\\s|\\(]+(".concat(x3,")[,|\\s]+(").concat(x3,")[,|\\s]+(").concat(x3,")[,|\\s]+(").concat(x3,")\\s*\\)?"),W2={CSS_UNIT:new RegExp(x3),rgb:new RegExp("rgb"+Ne),rgba:new RegExp("rgba"+je),hsl:new RegExp("hsl"+Ne),hsla:new RegExp("hsla"+je),hsv:new RegExp("hsv"+Ne),hsva:new RegExp("hsva"+je),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function dk(a){if(a=a.trim().toLowerCase(),a.length===0)return!1;var l=!1;if(Yl[a])a=Yl[a],l=!0;else if(a==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var c=W2.rgb.exec(a);if(c)return{r:c[1],g:c[2],b:c[3]};if(c=W2.rgba.exec(a),c)return{r:c[1],g:c[2],b:c[3],a:c[4]};if(c=W2.hsl.exec(a),c)return{h:c[1],s:c[2],l:c[3]};if(c=W2.hsla.exec(a),c)return{h:c[1],s:c[2],l:c[3],a:c[4]};if(c=W2.hsv.exec(a),c)return{h:c[1],s:c[2],v:c[3]};if(c=W2.hsva.exec(a),c)return{h:c[1],s:c[2],v:c[3],a:c[4]};if(c=W2.hex8.exec(a),c)return{r:s5(c[1]),g:s5(c[2]),b:s5(c[3]),a:ye(c[4]),format:l?"name":"hex8"};if(c=W2.hex6.exec(a),c)return{r:s5(c[1]),g:s5(c[2]),b:s5(c[3]),format:l?"name":"hex"};if(c=W2.hex4.exec(a),c)return{r:s5(c[1]+c[1]),g:s5(c[2]+c[2]),b:s5(c[3]+c[3]),a:ye(c[4]+c[4]),format:l?"name":"hex8"};if(c=W2.hex3.exec(a),c)return{r:s5(c[1]+c[1]),g:s5(c[2]+c[2]),b:s5(c[3]+c[3]),format:l?"name":"hex"};return!1}function Q7(a){return Boolean(W2.CSS_UNIT.exec(String(a)))}var _e=function(){function a(l,c){if(l===void 0)l="";if(c===void 0)c={};var h;if(l instanceof a)return l;if(typeof l==="number")l=qd(l);this.originalInput=l;var Z=zd(l);if(this.originalInput=l,this.r=Z.r,this.g=Z.g,this.b=Z.b,this.a=Z.a,this.roundA=Math.round(100*this.a)/100,this.format=(h=c.format)!==null&&h!==void 0?h:Z.format,this.gradientType=c.gradientType,this.r<1)this.r=Math.round(this.r);if(this.g<1)this.g=Math.round(this.g);if(this.b<1)this.b=Math.round(this.b);this.isValid=Z.ok}return a.prototype.isDark=function(){return this.getBrightness()<128},a.prototype.isLight=function(){return!this.isDark()},a.prototype.getBrightness=function(){var l=this.toRgb();return(l.r*299+l.g*587+l.b*114)/1000},a.prototype.getLuminance=function(){var l=this.toRgb(),c,h,Z,o=l.r/255,v=l.g/255,r=l.b/255;if(o<=0.03928)c=o/12.92;else c=Math.pow((o+0.055)/1.055,2.4);if(v<=0.03928)h=v/12.92;else h=Math.pow((v+0.055)/1.055,2.4);if(r<=0.03928)Z=r/12.92;else Z=Math.pow((r+0.055)/1.055,2.4);return 0.2126*c+0.7152*h+0.0722*Z},a.prototype.getAlpha=function(){return this.a},a.prototype.setAlpha=function(l){return this.a=sZ(l),this.roundA=Math.round(100*this.a)/100,this},a.prototype.isMonochrome=function(){var l=this.toHsl().s;return l===0},a.prototype.toHsv=function(){var l=$e(this.r,this.g,this.b);return{h:l.h*360,s:l.s,v:l.v,a:this.a}},a.prototype.toHsvString=function(){var l=$e(this.r,this.g,this.b),c=Math.round(l.h*360),h=Math.round(l.s*100),Z=Math.round(l.v*100);return this.a===1?"hsv(".concat(c,", ").concat(h,"%, ").concat(Z,"%)"):"hsva(".concat(c,", ").concat(h,"%, ").concat(Z,"%, ").concat(this.roundA,")")},a.prototype.toHsl=function(){var l=Ee(this.r,this.g,this.b);return{h:l.h*360,s:l.s,l:l.l,a:this.a}},a.prototype.toHslString=function(){var l=Ee(this.r,this.g,this.b),c=Math.round(l.h*360),h=Math.round(l.s*100),Z=Math.round(l.l*100);return this.a===1?"hsl(".concat(c,", ").concat(h,"%, ").concat(Z,"%)"):"hsla(".concat(c,", ").concat(h,"%, ").concat(Z,"%, ").concat(this.roundA,")")},a.prototype.toHex=function(l){if(l===void 0)l=!1;return Ye(this.r,this.g,this.b,l)},a.prototype.toHexString=function(l){if(l===void 0)l=!1;return"#"+this.toHex(l)},a.prototype.toHex8=function(l){if(l===void 0)l=!1;return Pd(this.r,this.g,this.b,this.a,l)},a.prototype.toHex8String=function(l){if(l===void 0)l=!1;return"#"+this.toHex8(l)},a.prototype.toHexShortString=function(l){if(l===void 0)l=!1;return this.a===1?this.toHexString(l):this.toHex8String(l)},a.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},a.prototype.toRgbString=function(){var l=Math.round(this.r),c=Math.round(this.g),h=Math.round(this.b);return this.a===1?"rgb(".concat(l,", ").concat(c,", ").concat(h,")"):"rgba(".concat(l,", ").concat(c,", ").concat(h,", ").concat(this.roundA,")")},a.prototype.toPercentageRgb=function(){var l=function(c){return"".concat(Math.round(B0(c,255)*100),"%")};return{r:l(this.r),g:l(this.g),b:l(this.b),a:this.a}},a.prototype.toPercentageRgbString=function(){var l=function(c){return Math.round(B0(c,255)*100)};return this.a===1?"rgb(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%)"):"rgba(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%, ").concat(this.roundA,")")},a.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;var l="#"+Ye(this.r,this.g,this.b,!1);for(var c=0,h=Object.entries(Yl);c<h.length;c++){var Z=h[c],o=Z[0],v=Z[1];if(l===v)return o}return!1},a.prototype.toString=function(l){var c=Boolean(l);l=l!==null&&l!==void 0?l:this.format;var h=!1,Z=this.a<1&&this.a>=0,o=!c&&Z&&(l.startsWith("hex")||l==="name");if(o){if(l==="name"&&this.a===0)return this.toName();return this.toRgbString()}if(l==="rgb")h=this.toRgbString();if(l==="prgb")h=this.toPercentageRgbString();if(l==="hex"||l==="hex6")h=this.toHexString();if(l==="hex3")h=this.toHexString(!0);if(l==="hex4")h=this.toHex8String(!0);if(l==="hex8")h=this.toHex8String();if(l==="name")h=this.toName();if(l==="hsl")h=this.toHslString();if(l==="hsv")h=this.toHsvString();return h||this.toHexString()},a.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},a.prototype.clone=function(){return new a(this.toString())},a.prototype.lighten=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.l+=l/100,c.l=El(c.l),new a(c)},a.prototype.brighten=function(l){if(l===void 0)l=10;var c=this.toRgb();return c.r=Math.max(0,Math.min(255,c.r-Math.round(255*-(l/100)))),c.g=Math.max(0,Math.min(255,c.g-Math.round(255*-(l/100)))),c.b=Math.max(0,Math.min(255,c.b-Math.round(255*-(l/100)))),new a(c)},a.prototype.darken=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.l-=l/100,c.l=El(c.l),new a(c)},a.prototype.tint=function(l){if(l===void 0)l=10;return this.mix("white",l)},a.prototype.shade=function(l){if(l===void 0)l=10;return this.mix("black",l)},a.prototype.desaturate=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.s-=l/100,c.s=El(c.s),new a(c)},a.prototype.saturate=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.s+=l/100,c.s=El(c.s),new a(c)},a.prototype.greyscale=function(){return this.desaturate(100)},a.prototype.spin=function(l){var c=this.toHsl(),h=(c.h+l)%360;return c.h=h<0?360+h:h,new a(c)},a.prototype.mix=function(l,c){if(c===void 0)c=50;var h=this.toRgb(),Z=new a(l).toRgb(),o=c/100,v={r:(Z.r-h.r)*o+h.r,g:(Z.g-h.g)*o+h.g,b:(Z.b-h.b)*o+h.b,a:(Z.a-h.a)*o+h.a};return new a(v)},a.prototype.analogous=function(l,c){if(l===void 0)l=6;if(c===void 0)c=30;var h=this.toHsl(),Z=360/c,o=[this];for(h.h=(h.h-(Z*l>>1)+720)%360;--l;)h.h=(h.h+Z)%360,o.push(new a(h));return o},a.prototype.complement=function(){var l=this.toHsl();return l.h=(l.h+180)%360,new a(l)},a.prototype.monochromatic=function(l){if(l===void 0)l=6;var c=this.toHsv(),h=c.h,Z=c.s,o=c.v,v=[],r=1/l;while(l--)v.push(new a({h,s:Z,v:o})),o=(o+r)%1;return v},a.prototype.splitcomplement=function(){var l=this.toHsl(),c=l.h;return[this,new a({h:(c+72)%360,s:l.s,l:l.l}),new a({h:(c+216)%360,s:l.s,l:l.l})]},a.prototype.onBackground=function(l){var c=this.toRgb(),h=new a(l).toRgb(),Z=c.a+h.a*(1-c.a);return new a({r:(c.r*c.a+h.r*h.a*(1-c.a))/Z,g:(c.g*c.a+h.g*h.a*(1-c.a))/Z,b:(c.b*c.a+h.b*h.a*(1-c.a))/Z,a:Z})},a.prototype.triad=function(){return this.polyad(3)},a.prototype.tetrad=function(){return this.polyad(4)},a.prototype.polyad=function(l){var c=this.toHsl(),h=c.h,Z=[this],o=360/l;for(var v=1;v<l;v++)Z.push(new a({h:(h+v*o)%360,s:c.s,l:c.l}));return Z},a.prototype.equals=function(l){return this.toRgbString()===new a(l).toRgbString()},a}();function p3(a,l,c,h){function Z(o){return o instanceof c?o:new c(function(v){v(o)})}return new(c||(c=Promise))(function(o,v){function r(t){try{m(h.next(t))}catch(M){v(M)}}function e(t){try{m(h.throw(t))}catch(M){v(M)}}function m(t){t.done?o(t.value):Z(t.value).then(r,e)}m((h=h.apply(a,l||[])).next())})}var F0=(a,l,c)=>{return new _e(a).mix(new _e(l),c).toHexString()},Lk=(a)=>{return{10:a.themeDarker,20:F0(a.themeDarker,a.themeDark),30:a.themeDark,40:F0(a.themeDark,a.themeDarkAlt),50:a.themeDarkAlt,60:F0(a.themeDarkAlt,a.themePrimary),70:a.themePrimary,80:F0(a.themePrimary,a.themeSecondary),90:a.themeSecondary,100:F0(a.themeSecondary,a.themeTertiary),110:a.themeTertiary,120:F0(a.themeTertiary,a.themeLight),130:a.themeLight,140:F0(a.themeLight,a.themeLighter),150:a.themeLighter,160:F0(a.themeLighter,a.themeLighterAlt)}},gk=(a)=>{return{10:a.themeDarker,20:F0(a.themeDarker,a.themePrimary,20),30:F0(a.themeDarker,a.themePrimary,30),40:F0(a.themeDarker,a.themePrimary,40),50:F0(a.themeDarker,a.themePrimary,50),60:F0(a.themeDarker,a.themePrimary,60),70:F0(a.themeDarker,a.themePrimary,70),80:a.themePrimary,90:F0(a.themePrimary,a.themeLighterAlt,10),100:F0(a.themePrimary,a.themeLighterAlt,20),110:F0(a.themePrimary,a.themeLighterAlt,30),120:F0(a.themePrimary,a.themeLighterAlt,40),130:F0(a.themePrimary,a.themeLighterAlt,50),140:F0(a.themePrimary,a.themeLighterAlt,60),150:F0(a.themePrimary,a.themeLighterAlt,70),160:a.themeLighterAlt}},kZ=(a,l="pairs")=>{switch(l){case"primaryAndEnds":return gk(a);case"pairs":default:return Lk(a)}};$2();async function Qd(){if(window.moduleLoaderPromise)return(await window.moduleLoaderPromise)?.context;console.error("Unable to retrieve Modern SP Context...")}async function Jd(){if(window.moduleLoaderPromise){let a=await window.moduleLoaderPromise;if(a?.context?.pageContext)return{contextType:"SPOModernContext",context:a.context.pageContext};throw"It seems this is a modern page, however it was not possible to retrieve SP Context..."}if(window._spPageContextInfo)return{contextType:"ClassicContext",context:window._spPageContextInfo};throw"It was not possible to retrieve SP Context either through modern or through classic means..."}var am="d6ca1fc2-0591-4c6d-8a25-cae3262c017b",Kd="45e75137-13c5-4bb2-a2b3-8ab6382682ee",Xd="SPFxExtensionsConfigurator",SZ="SitePages/SPFxExtensionsConfigurator.aspx",Y0="manifest.txt",l2="collectionconfig.txt",iV1="Loading...",J6="SPFxExtensionsConfiguration",K6="SPFxExtensionsWhiteList",S1="SPFxExtensions",Ed="/SPFxExtensions/",w0="SPFxExtensionsData",BZ="[SPFxExtensionCore]",yl={appDefinitionMap:[],appRelativeEntryPointUrls:[],isESM:!0},X6={enabledEverywhere:!1,excludedHubIds:[],excludedIds:[],includedHubIds:[],includedIds:[]},Nl={enabledAppCollections:[],urlMap:[]},y0="00000000-0000-0000-0000-000000000000";function s1(a,l,c=a){return(h)=>{let Z=""+h,o=Z.indexOf(l,a.length);return~o?a+Ck(Z,l,c,o)+l:a+Z+l}}function Ck(a,l,c,h){let Z="",o=0;do Z+=a.substring(o,h)+c,o=h+l.length,h=a.indexOf(l,o);while(~h);return Z+a.substring(o)}var uV1=s1("\x1B[0m","\x1B[0m"),dV1=s1("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),LV1=s1("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),gV1=s1("\x1B[3m","\x1B[23m"),CV1=s1("\x1B[4m","\x1B[24m"),FV1=s1("\x1B[7m","\x1B[27m"),RV1=s1("\x1B[8m","\x1B[28m"),xV1=s1("\x1B[9m","\x1B[29m"),pV1=s1("\x1B[30m","\x1B[39m"),wV1=s1("\x1B[31m","\x1B[39m"),DV1=s1("\x1B[32m","\x1B[39m"),sV1=s1("\x1B[33m","\x1B[39m"),kV1=s1("\x1B[34m","\x1B[39m"),SV1=s1("\x1B[35m","\x1B[39m"),BV1=s1("\x1B[36m","\x1B[39m"),fV1=s1("\x1B[37m","\x1B[39m"),TV1=s1("\x1B[90m","\x1B[39m"),WV1=s1("\x1B[40m","\x1B[49m"),bV1=s1("\x1B[41m","\x1B[49m"),IV1=s1("\x1B[42m","\x1B[49m"),UV1=s1("\x1B[43m","\x1B[49m"),OV1=s1("\x1B[44m","\x1B[49m"),GV1=s1("\x1B[45m","\x1B[49m"),PV1=s1("\x1B[46m","\x1B[49m"),qV1=s1("\x1B[47m","\x1B[49m"),zV1=s1("\x1B[90m","\x1B[39m"),QV1=s1("\x1B[91m","\x1B[39m"),fZ=s1("\x1B[92m","\x1B[39m"),JV1=s1("\x1B[93m","\x1B[39m"),KV1=s1("\x1B[94m","\x1B[39m"),XV1=s1("\x1B[95m","\x1B[39m"),EV1=s1("\x1B[96m","\x1B[39m"),$V1=s1("\x1B[97m","\x1B[39m"),YV1=s1("\x1B[100m","\x1B[49m"),yV1=s1("\x1B[101m","\x1B[49m"),NV1=s1("\x1B[102m","\x1B[49m"),jV1=s1("\x1B[103m","\x1B[49m"),_V1=s1("\x1B[104m","\x1B[49m"),ai1=s1("\x1B[105m","\x1B[49m"),li1=s1("\x1B[106m","\x1B[49m"),ci1=s1("\x1B[107m","\x1B[49m");function n1(...a){console.error(fZ(BZ),(/*@__PURE__*/new Date()).toISOString(),...a)}function b2(...a){console.warn(fZ(BZ),(/*@__PURE__*/new Date()).toISOString(),...a)}function N0(...a){console.info(fZ(BZ),(/*@__PURE__*/new Date()).toISOString(),...a)}function TZ(...a){}function vi1(a,l,c){n1("Error while executing onInstanceRequested for app",a.id,"with name",a.name,c?`Additional Data: ${c}`:"",l)}function mi1(){return b2("The app instance event was called before app instance was initialized."),()=>{}}var lm=window.crypto.randomUUID();function Mi1(){return lm}function ti1(){return lm=window.crypto.randomUUID(),lm}function cm(a){return a.replace("{","").replace("}","")}function U1(a){return JSON.parse(JSON.stringify(a))}var q0=await Jd();function ni1(){return q0.contextType==="SPOModernContext"?q0.context.web.id.toString():cm(q0.context.webId)}function k4(){return(q0.contextType==="SPOModernContext"?q0.context.web.absoluteUrl:q0.context.webAbsoluteUrl).replace(/\/$/,"")}function ui1(){return q0.contextType==="SPOModernContext"?q0.context.site.id.toString():cm(q0.context.siteId)}function di1(){return q0.contextType==="SPOModernContext"?q0.context.site.absoluteUrl:q0.context.siteAbsoluteUrl}function Li1(){return(q0.contextType==="SPOModernContext"?q0.context.legacyPageContext.hubSiteId?.toString():q0.context.hubSiteId)??y0}function gi1(){return q0.contextType==="SPOModernContext"?q0.context.legacyPageContext.isHubSite:q0.context.isHubSite}G3();$2();var Fk=Symbol.for("preact-signals");function bZ(){if(!(w3>1)){var a,l=!1;while(jl!==void 0){var c=jl;jl=void 0,hm++;while(c!==void 0){var h=c.o;if(c.o=void 0,c.f&=-3,!(8&c.f)&&Yd(c))try{c.c()}catch(Z){if(!l)a=Z,l=!0}c=h}}if(hm=0,w3--,l)throw a}else w3--}function IZ(a){if(w3>0)return a();w3++;try{return a()}finally{bZ()}}var N1=void 0;var jl=void 0,w3=0,hm=0,WZ=0;function $d(a){if(N1!==void 0){var l=a.n;if(l===void 0||l.t!==N1){if(l={i:0,S:a,p:N1.s,n:void 0,t:N1,e:void 0,x:void 0,r:l},N1.s!==void 0)N1.s.n=l;if(N1.s=l,a.n=l,32&N1.f)a.S(l);return l}else if(l.i===-1){if(l.i=0,l.n!==void 0){if(l.n.p=l.p,l.p!==void 0)l.p.n=l.n;l.p=N1.s,l.n=void 0,N1.s.n=l,N1.s=l}return l}}}function f0(a){this.v=a,this.i=0,this.n=void 0,this.t=void 0}f0.prototype.brand=Fk;f0.prototype.h=function(){return!0};f0.prototype.S=function(a){if(this.t!==a&&a.e===void 0){if(a.x=this.t,this.t!==void 0)this.t.e=a;this.t=a}};f0.prototype.U=function(a){if(this.t!==void 0){var{e:l,x:c}=a;if(l!==void 0)l.x=c,a.e=void 0;if(c!==void 0)c.e=l,a.x=void 0;if(a===this.t)this.t=c}};f0.prototype.subscribe=function(a){var l=this;return t7(function(){var c=l.value,h=N1;N1=void 0;try{a(c)}finally{N1=h}})};f0.prototype.valueOf=function(){return this.value};f0.prototype.toString=function(){return this.value+""};f0.prototype.toJSON=function(){return this.value};f0.prototype.peek=function(){var a=N1;N1=void 0;try{return this.value}finally{N1=a}};Object.defineProperty(f0.prototype,"value",{get:function(){var a=$d(this);if(a!==void 0)a.i=this.i;return this.v},set:function(a){if(a!==this.v){if(hm>100)throw new Error("Cycle detected");this.v=a,this.i++,WZ++,w3++;try{for(var l=this.t;l!==void 0;l=l.x)l.t.N()}finally{bZ()}}}});function z0(a){return new f0(a)}function Yd(a){for(var l=a.s;l!==void 0;l=l.n)if(l.S.i!==l.i||!l.S.h()||l.S.i!==l.i)return!0;return!1}function yd(a){for(var l=a.s;l!==void 0;l=l.n){var c=l.S.n;if(c!==void 0)l.r=c;if(l.S.n=l,l.i=-1,l.n===void 0){a.s=l;break}}}function Nd(a){var l=a.s,c=void 0;while(l!==void 0){var h=l.p;if(l.i===-1){if(l.S.U(l),h!==void 0)h.n=l.n;if(l.n!==void 0)l.n.p=h}else c=l;if(l.S.n=l.r,l.r!==void 0)l.r=void 0;l=h}a.s=c}function E6(a){f0.call(this,void 0),this.x=a,this.s=void 0,this.g=WZ-1,this.f=4}(E6.prototype=new f0).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32)return!0;if(this.f&=-5,this.g===WZ)return!0;if(this.g=WZ,this.f|=1,this.i>0&&!Yd(this))return this.f&=-2,!0;var a=N1;try{yd(this),N1=this;var l=this.x();if(16&this.f||this.v!==l||this.i===0)this.v=l,this.f&=-17,this.i++}catch(c){this.v=c,this.f|=16,this.i++}return N1=a,Nd(this),this.f&=-2,!0};E6.prototype.S=function(a){if(this.t===void 0){this.f|=36;for(var l=this.s;l!==void 0;l=l.n)l.S.S(l)}f0.prototype.S.call(this,a)};E6.prototype.U=function(a){if(this.t!==void 0){if(f0.prototype.U.call(this,a),this.t===void 0){this.f&=-33;for(var l=this.s;l!==void 0;l=l.n)l.S.U(l)}}};E6.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var a=this.t;a!==void 0;a=a.x)a.t.N()}};Object.defineProperty(E6.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var a=$d(this);if(this.h(),a!==void 0)a.i=this.i;if(16&this.f)throw this.v;return this.v}});function UZ(a){return new E6(a)}function jd(a){var l=a.u;if(a.u=void 0,typeof l=="function"){w3++;var c=N1;N1=void 0;try{l()}catch(h){throw a.f&=-2,a.f|=8,Zm(a),h}finally{N1=c,bZ()}}}function Zm(a){for(var l=a.s;l!==void 0;l=l.n)l.S.U(l);a.x=void 0,a.s=void 0,jd(a)}function Rk(a){if(N1!==this)throw new Error("Out-of-order effect");if(Nd(this),N1=a,this.f&=-2,8&this.f)Zm(this);bZ()}function _l(a){this.x=a,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}_l.prototype.c=function(){var a=this.S();try{if(8&this.f)return;if(this.x===void 0)return;var l=this.x();if(typeof l=="function")this.u=l}finally{a()}};_l.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,jd(this),yd(this),w3++;var a=N1;return N1=this,Rk.bind(this,a)};_l.prototype.N=function(){if(!(2&this.f))this.f|=2,this.o=jl,jl=this};_l.prototype.d=function(){if(this.f|=8,!(1&this.f))Zm(this)};function t7(a){var l=new _l(a);try{l.c()}catch(c){throw l.d(),c}return l.d.bind(l)}var vm,rm,om,_d=[],aL=[];t7(function(){vm=this.N})();function $6(a,l){d1[a]=l.bind(null,d1[a]||function(){})}function OZ(a){if(om)om();om=a&&a.S()}function lL(a){var l=this,c=a.data,h=J7(c);h.value=c;var Z=x1(function(){var r=l,e=l.__v;while(e=e.__)if(e.__c){e.__c.__$f|=4;break}var m=UZ(function(){var A=h.value.value;return A===0?0:A===!0?"":A||""}),t=UZ(function(){return!Array.isArray(m.value)&&!Po(m.value)}),M=t7(function(){if(this.N=cL,t.value){var A=m.value;if(r.__v&&r.__v.__e&&r.__v.__e.nodeType===3)r.__v.__e.data=A}}),H=l.__$u.d;return l.__$u.d=function(){M(),H.call(this)},[t,m]},[]),o=Z[0],v=Z[1];return o.value?v.peek():v.value}lL.displayName="_st";Object.defineProperties(f0.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:lL},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});$6("__b",function(a,l){if(typeof l.type=="string"){var c,h=l.props;for(var Z in h)if(Z!=="children"){var o=h[Z];if(o instanceof f0){if(!c)l.__np=c={};c[Z]=o,h[Z]=o.peek()}}}a(l)});$6("__r",function(a,l){OZ();var c,h=l.__c;if(h){if(h.__$f&=-2,(c=h.__$u)===void 0)h.__$u=c=function(Z){var o;return t7(function(){o=this}),o.c=function(){h.__$f|=1,h.setState({})},o}()}rm=h,OZ(c),a(l)});$6("__e",function(a,l,c,h){OZ(),rm=void 0,a(l,c,h)});$6("diffed",function(a,l){OZ(),rm=void 0;var c;if(typeof l.type=="string"&&(c=l.__e)){var{__np:h,props:Z}=l;if(h){var o=c.U;if(o)for(var v in o){var r=o[v];if(r!==void 0&&!(v in h))r.d(),o[v]=void 0}else o={},c.U=o;for(var e in h){var m=o[e],t=h[e];if(m===void 0)m=xk(c,e,t,Z),o[e]=m;else m.o(t,Z)}}}a(l)});function xk(a,l,c,h){var Z=l in a&&a.ownerSVGElement===void 0,o=z0(c);return{o:function(v,r){o.value=v,h=r},d:t7(function(){this.N=cL;var v=o.value.value;if(h[l]!==v)if(h[l]=v,Z)a[l]=v;else if(v)a.setAttribute(l,v);else a.removeAttribute(l)})}}$6("unmount",function(a,l){if(typeof l.type=="string"){var c=l.__e;if(c){var h=c.U;if(h){c.U=void 0;for(var Z in h){var o=h[Z];if(o)o.d()}}}}else{var v=l.__c;if(v){var r=v.__$u;if(r)v.__$u=void 0,r.d()}}a(l)});$6("__h",function(a,l,c,h){if(h<3||h===9)l.__$f|=2;a(l,c,h)});H5.prototype.shouldComponentUpdate=function(a,l){var c=this.__$u,h=c&&c.s!==void 0;for(var Z in l)return!0;if(this.__f||typeof this.u=="boolean"&&this.u===!0){var o=2&this.__$f;if(!(h||o||4&this.__$f))return!0;if(1&this.__$f)return!0}else{if(!(h||4&this.__$f))return!0;if(3&this.__$f)return!0}for(var v in a)if(v!=="__source"&&a[v]!==this.props[v])return!0;for(var r in this.props)if(!(r in a))return!0;return!1};function J7(a){return x1(function(){return z0(a)},[])}var pk=typeof requestAnimationFrame=="undefined"?setTimeout:function(a){var l=function(){clearTimeout(c),cancelAnimationFrame(h),a()},c=setTimeout(l,100),h=requestAnimationFrame(l)},wk=function(a){queueMicrotask(function(){queueMicrotask(a)})};function Dk(){IZ(function(){var a;while(a=_d.shift())vm.call(a)})}function sk(){if(_d.push(this)===1)(d1.requestAnimationFrame||pk)(Dk)}function kk(){IZ(function(){var a;while(a=aL.shift())vm.call(a)})}function cL(){if(aL.push(this)===1)(d1.requestAnimationFrame||wk)(kk)}function q5(a){var l=q(a);l.current=a,t1(function(){return t7(function(){return this.N=sk,l.current()})},[])}var Sk="This folder contains extensions that are loaded by the SPFxExtensions application.";function GZ(a){return a.web.lists.ensure(S1,Sk,101,!1,{Hidden:!0})}async function hL(a,l,c){let h=`${l}/${S1}/${c}`,Z=await a.web.lists.getByTitle(S1).items.filter(`startswith(FileDirRef,'${h}') and FSObjType eq 0`).select("Id")();if(Z.length>0){let[v,r]=a.web.batched();Z.forEach((e)=>{v.lists.getByTitle(S1).items.getById(e.Id).delete()}),await r()}let o=a.web.lists.getByTitle(S1).rootFolder.folders.getByUrl(c);await ZL(o)}async function ZL(a){let l=await a.folders();for(let c of l)await ZL(a.folders.getByUrl(c.Name));await a.delete()}function D3(a,l,c){let h=new Date(a.toString());switch(l.toLowerCase()){case"year":h.setFullYear(h.getFullYear()+c);break;case"quarter":h.setMonth(h.getMonth()+3*c);break;case"month":h.setMonth(h.getMonth()+c);break;case"week":h.setDate(h.getDate()+7*c);break;case"day":h.setDate(h.getDate()+c);break;case"hour":h.setTime(h.getTime()+c*3600000);break;case"minute":h.setTime(h.getTime()+c*60000);break;case"second":h.setTime(h.getTime()+c*1000);break;default:h=void 0;break}return h}function O1(...a){return a.filter((l)=>!S5(l)).map((l)=>l.replace(/^[\\|/]/,"").replace(/[\\|/]$/,"")).join("/").replace(/\\/g,"/")}function K7(){let a=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(l){let c=(a+Math.random()*16)%16|0;return a=Math.floor(a/16),(l==="x"?c:c&3|8).toString(16)})}function k5(a){return typeof a==="function"}function Q0(a){return Array.isArray(a)}function T0(a){return/^https?:\/\/|^\/\//i.test(a)}function S5(a){return typeof a==="undefined"||a===null||a.length<1}function D0(a){return typeof a!=="undefined"&&a!==null}function PZ(a){return JSON.stringify(a)}function $1(a,l){return Object.hasOwnProperty.call(a,l)}function oL(a){let l=0;if(a.length===0)return l;for(let c=0;c<a.length;c++){let h=a.charCodeAt(c);l=(l<<5)-l+h,l|=0}return l}function vL(a){return new Promise((l)=>{setTimeout(l,a)})}var em;function rL(){if(typeof em==="undefined")em=new eL;return em}class mm{constructor(a){this.store=a,this.enabled=this.test()}get(a){if(!this.enabled)return null;let l=this.store.getItem(a);if(!D0(l))return null;let c=JSON.parse(l);if(new Date(c.expiration)<=/*@__PURE__*/new Date)return this.delete(a),null;else return c.value}put(a,l,c){if(this.enabled)this.store.setItem(a,this.createPersistable(l,c))}delete(a){if(this.enabled)this.store.removeItem(a)}async getOrPut(a,l,c){if(!this.enabled)return l();let h=this.get(a);if(h===null)h=await l(),this.put(a,h,c);return h}async deleteExpired(){if(!this.enabled)return;for(let a=0;a<this.store.length;a++){let l=this.store.key(a);if(l!==null){if(/["|']?pnp["|']? ?: ?1/i.test(this.store.getItem(l)))await this.get(l)}}}test(){try{return this.store.setItem("t","t"),this.store.removeItem("t"),!0}catch(l){return!1}}createPersistable(a,l){if(l===void 0)l=D3(/*@__PURE__*/new Date,"minute",5);return PZ({pnp:1,expiration:l,value:a})}}class eL{constructor(a=/*@__PURE__*/new Map){this._store=a}get length(){return this._store.size}clear(){this._store.clear()}getItem(a){return this._store.get(a)}key(a){return Array.from(this._store)[a][0]}removeItem(a){this._store.delete(a)}setItem(a,l){this._store.set(a,l)}}class Mm{constructor(a=null,l=null){this._local=a,this._session=l}get local(){if(this._local===null)this._local=new mm(typeof localStorage==="undefined"?rL():localStorage);return this._local}get session(){if(this._session===null)this._session=new mm(typeof sessionStorage==="undefined"?rL():sessionStorage);return this._session}}function qZ(){return function(a,...l){let c=[...a];for(let h=0;h<c.length;h++)Reflect.apply(c[h],this,l)}}function mL(){return function(a,...l){return[...a].reduce((h,Z)=>Reflect.apply(Z,this,h),l)}}function ac(){return async function(a,...l){return[...a].reduce((h,Z)=>h.then((o)=>Reflect.apply(Z,this,o)),Promise.resolve(l))}}function ML(){return async function(a,...l){if(!Q0(a)||a.length<1)return;let c=a[0];return Reflect.apply(c,this,l)}}function zZ(){return function(a,...l){let c=[...a];for(let h=0;h<c.length;h++)Reflect.apply(c[h],this,l);return this}}var Hm=Symbol.for("ObserverLifecycleFlags"),tL=(a)=>(l)=>!((l[Hm]||0)&a),HL=(a)=>(l)=>{return l[Hm]=(l[Hm]||0)|a,l},S4=HL(1),Oi1=HL(2);class Am{constructor(a,l={}){this.moments=a,this.observers=l,this._onProxy=null,this._emitProxy=null,this._inheritingObservers=!0}using(...a){for(let l=0;l<a.length;l++)a[l](this);return this}get on(){if(this._onProxy===null)this._onProxy=new Proxy(this,{get:(a,l)=>Object.assign((c)=>{return a.cloneObserversOnChange(),tm(a.observers,l,c,1),a},{toArray:()=>{return Reflect.has(a.observers,l)?[...Reflect.get(a.observers,l)]:[]},replace:(c)=>{return a.cloneObserversOnChange(),tm(a.observers,l,c,3),a},prepend:(c)=>{return a.cloneObserversOnChange(),tm(a.observers,l,c,2),a},clear:()=>{if(Reflect.has(a.observers,l))return a.cloneObserversOnChange(),a.observers[l].length=0,!0;return!1}})});return this._onProxy}log(a,l=0){this.emit.log(a,l)}error(a){if(D0(a))this.emit.error(a)}get emit(){if(this._emitProxy===null)this._emitProxy=new Proxy(this,{get:(a,l)=>(...c)=>{let h=Reflect.has(a.observers,l)?Reflect.get(a.observers,l):[];if((!Q0(h)||h.length<1)&&l==="error")throw Error(`Unhandled Exception: ${c[0]}`);try{let Z=Reflect.has(a.moments,l)?Reflect.get(a.moments,l):l==="init"||l==="dispose"?zZ():qZ();return Reflect.apply(Z,a,[h,...c])}catch(Z){if(l!=="error")this.error(Z);else throw Z}finally{if(h&&h.length>0)Reflect.set(a.observers,l,h.filter(tL(2)))}}});return this._emitProxy}start(a){this.emit.init();let l=this.execute(a);return l.finally(()=>{try{this.emit.dispose()}catch(c){let h=Object.assign(Error("Error in dispose."),{innerException:c});this.error(h)}}).catch(()=>{return}),l}cloneObserversOnChange(){if(this._inheritingObservers)this._inheritingObservers=!1,this.observers=Vm(this.observers)}}function tm(a,l,c,h){if(!k5(c))throw Error("Observers must be functions.");if(!Reflect.has(a,l))a[l]=[c];else switch(h){case 1:a[l].push(c);break;case 2:a[l].unshift(c);break;case 3:a[l].length=0,a[l].push(c);break}return a[l]}function Vm(a){return Reflect.ownKeys(a).reduce((l,c)=>{return l[c]=[...a[c].filter(tL(1))],l},{})}function lc(a,l="append",c){return(h)=>{return Reflect.apply(Bk,h,[a,l,c])}}function Bk(a,l,c){if(!D0(a)||!D0(a.observers))return this;if(!k5(c))c=()=>!0;let h=Vm(a.observers),Z=Object.keys(h).filter(c);for(let o=0;o<Z.length;o++){let v=Z[o],r=this.on[v];if(l==="replace")r.clear();h[v].forEach((m)=>r(m))}return this}function AL(a,l,c,h){var Z=arguments.length,o=Z<3?l:h===null?h=Object.getOwnPropertyDescriptor(l,c):h,v;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(a,l,c,h);else for(var r=a.length-1;r>=0;r--)if(v=a[r])o=(Z<3?v(o):Z>3?v(l,c,o):v(l,c))||o;return Z>3&&o&&Object.defineProperty(l,c,o),o}var fk={construct:zZ(),pre:ac(),auth:ac(),send:ML(),parse:ac(),post:ac(),data:qZ()},cc=class a extends Am{constructor(l,c){super(fk);this.InternalResolve=Symbol.for("Queryable_Resolve"),this.InternalReject=Symbol.for("Queryable_Reject"),this.InternalPromise=Symbol.for("Queryable_Promise"),this._query=new URLSearchParams,this.moments[this.InternalPromise]=mL();let h;if(typeof l==="string")this._url=O1(l,c);else if(Q0(l)){if(l.length!==2)throw Error("When using the tuple param exactly two arguments are expected.");if(typeof l[1]!=="string")throw Error("Expected second tuple param to be a string.");h=l[0],this._url=O1(l[1],c)}else h=l,this._url=O1(h._url,c);if(typeof h!=="undefined")this.observers=h.observers,this._inheritingObservers=!0}concat(l){return this._url+=l,this}toRequestUrl(){let l=this.toUrl(),c=this.query.toString();if(!S5(c))l+=`${l.indexOf("?")>-1?"&":"?"}${c}`;return l}get query(){return this._query}toUrl(){return this._url}execute(l){if(Reflect.ownKeys(this.observers).length<1)throw Error("No observers registered for this request. (https://pnp.github.io/pnpjs/queryable/queryable#no-observers-registered-for-this-request)");return setTimeout(async()=>{let c=K7(),h,Z=(o,v)=>{this.log(`[${c}] ${o}`,v)};try{Z("Beginning request",0);let o={...l,headers:{...l.headers,"X-PnPjs-RequestId":c}},[v,r,e]=await this.emit.pre(this.toRequestUrl(),o,void 0);if(Z(`Url: ${v}`,1),typeof e!=="undefined"){Z("Result returned from pre, Emitting data"),this.emit.data(e),Z("Emitted data");return}Z("Emitting auth"),[h,r]=await this.emit.auth(new URL(v),r),Z("Emitted auth"),r={...r,...l,headers:{...r.headers,...l.headers}},Z("Emitting send");let m=await this.emit.send(h,r);Z("Emitted send"),Z("Emitting parse"),[h,m,e]=await this.emit.parse(h,m,e),Z("Emitted parse"),Z("Emitting post"),[h,e]=await this.emit.post(h,e),Z("Emitted post"),Z("Emitting data"),this.emit.data(e),Z("Emitted data")}catch(o){Z(`Emitting error: "${o.message||o}"`,3),this.error(o),Z("Emitted error",3)}finally{Z("Finished request",0)}},0),this.emit[this.InternalPromise](new Promise((c,h)=>{this.on[this.InternalResolve].replace(c),this.on[this.InternalReject].replace(h)}))[0]}};cc=AL([Tk()],cc);function im(a,l={headers:{}}){return{method:a,...l,headers:{...l.headers}}}function nm(a){return this.start(im("GET",a))}function VL(a){return this.start(im("POST",a))}function iL(a){return this.start(im("PATCH",a))}function hc(a,l,c){return Reflect.apply(l,a,[c])}function nL(a){return(l,c)=>{let h=new a(l,c);return h.emit.construct(l,c),h}}function Tk(a){return(l)=>{return new Proxy(l,{construct(c,h,Z){let o=Object.assign(function(v){if(!k5(a))a=function(r){return hc(this,nm,r)};return Reflect.apply(a,o,[v])},Reflect.construct(c,h,Z));return Reflect.setPrototypeOf(o,Z.prototype),o}})}}function um(a,l=!1){return(c)=>{let h=async function(Z,o,v){return o.headers={...o.headers,...a},[Z,o,v]};if(l)c.on.pre.prepend(h);else c.on.pre(h);return c}}function QZ(){return c2(async(a)=>{if(a.headers.has("Content-Length")&&parseFloat(a.headers.get("Content-Length"))===0||a.status===204)return{};let l=await a.text(),c=l.replace(/\s/ig,"").length>0?JSON.parse(l):{};return dm(c)})}function Y6(){return c2((a)=>a.text())}function uL(){return c2((a)=>a.blob())}function JZ(){return c2((a)=>a.json())}function dL(){return c2((a)=>k5(a.arrayBuffer)?a.arrayBuffer():a.buffer())}async function Wk(a,l,c){if(!l.ok)throw await Zc.init(l);return[a,l,c]}function dm(a){let l=a;if($1(a,"d"))if($1(a.d,"results"))l=a.d.results;else l=a.d;else if($1(a,"value"))l=a.value;return l}function c2(a){return(l)=>{return l.on.parse.replace(Wk),l.on.parse(async(c,h,Z)=>{if(h.ok&&typeof Z==="undefined")Z=await a(h);return[c,h,Z]}),l}}class Zc extends Error{constructor(a,l,c=l.status,h=l.statusText){super(a);this.response=l,this.status=c,this.statusText=h,this.isHttpRequestError=!0}static async init(a){let l=await a.clone().text();return new Zc(`Error making HttpClient request in queryable [${a.status}] ${a.statusText} ::> ${l}`,a)}}function KZ(a){let{interval:l,replace:c,retries:h}={replace:!0,interval:200,retries:3,...a};return(Z)=>{if(c)Z.on.send.clear();return Z.on.send(function(o,v){let r,e=l,m=0,t,M=async()=>{if(m>=h)throw t||new Zc(`Retry count exceeded (${h}) for this request. ${r.status}: ${r.statusText};`,r);if(m++,typeof r==="undefined"||(r===null||r===void 0?void 0:r.status)===429||(r===null||r===void 0?void 0:r.status)===503||(r===null||r===void 0?void 0:r.status)===504){if(typeof r!=="undefined"){if(r.headers.has("Retry-After"))e=parseInt(r.headers.get("Retry-After"),10)*1000;else e*=2;this.log(`Attempt #${m} to retry request which failed with ${r.status}: ${r.statusText}`,0),await vL(e)}try{let H=o.toString();return this.log(`Fetch: ${v.method} ${H}`,0),r=await fetch(H,v),r.ok?r:M()}catch(H){if(/AbortError/.test(H.name))throw H;return t=H,M()}}else return r};return M()}),Z}}function Lm(){return(a)=>{return a.on.pre.prepend(async function(l,c,h){return c.headers={...c.headers,"X-PnP-CacheNever":"1"},[l,c,h]}),a}}function gL(a){return(l)=>{return l.on.pre(async function(c,h,Z){let[o,v,r]=CL(c,h,a);if(o){let e=v();if(e===null)this.on.post(S4(async function(m,t){return r(t),[m,t]}));else Z=e}return[c,h,Z]}),l}}var LL=new Mm;function CL(a,l,c){var h,Z;let{store:o,keyFactory:v,expireFunc:r}={store:"local",keyFactory:(t)=>oL(t.toLowerCase()).toString(),expireFunc:()=>D3(/*@__PURE__*/new Date,"minute",5),...c},e=o==="session"?LL.session:LL.local,m=(l===null||l===void 0?void 0:l.headers["X-PnP-CacheKey"])?l.headers["X-PnP-CacheKey"]:v(a);return[(/get/i.test(l.method)||((h=l===null||l===void 0?void 0:l.headers["X-PnP-CacheAlways"])!==null&&h!==void 0?h:!1))&&!((Z=l===null||l===void 0?void 0:l.headers["X-PnP-CacheNever"])!==null&&Z!==void 0?Z:!1),()=>e.get(m),(t)=>e.put(m,t,r(a))]}var FL="__CancelMoment__",y6=Symbol.for("CancelScopeId"),oc=/*@__PURE__*/new Map;async function bk(a){let l=oc.get(a);if(l.controller.abort(),Q0(l===null||l===void 0?void 0:l.actions))l.actions.map((c)=>l.currentSelf.on[FL](c));try{await l.currentSelf.emit[FL]()}catch(c){l.currentSelf.log(`Error in cancel: ${c}`,3)}}function Ik(a){let l=K7();return a[y6]=l,oc.set(l,{cancel:bk.bind({},l),actions:[],controller:null,currentSelf:a}),l}var Uk=(a)=>{return function(...l){if(!Reflect.has(this,y6))Ik(this);let c=a.apply(this,l).finally(()=>{oc.delete(this[y6]),delete this[y6]});return c.cancel=oc.get(this[y6]).cancel,c}};function H7(a,l,c){c.value=Uk(c.value)}function gm(a){return(l)=>{return l.on.pre(async function(...c){let h=oc.get(this[y6]);if(D0(h)){if(!Q0(h.actions))h.actions=[];if(h.actions.indexOf(a)<0)h.actions.push(a)}return c}),l}}function RL(){return(a)=>{return a.on.data(function(l){this.emit[this.InternalResolve](l)}),a}}function xL(){return(a)=>{return a.on.error(function(l){this.emit[this.InternalReject](l)}),a}}function J0(a,l,c,h){Reflect.defineProperty(a.prototype,l,{configurable:!0,enumerable:!0,get:function(){return c(this,h||l)}})}function W1(a,l){return Object.assign({body:PZ(a)},l)}function N6(a,l){return Object.assign({},l,{headers:{...l===null||l===void 0?void 0:l.headers,...a}})}var j1=(a)=>{return nL(a)};class s3 extends cc{constructor(a,l){if(typeof a==="string"){let c="",h="";if(T0(a)||a.lastIndexOf("/")<0)h=a,c=O1(a,l);else if(a.lastIndexOf("/")>a.lastIndexOf("(")){let Z=a.lastIndexOf("/");h=a.slice(0,Z),l=O1(a.slice(Z),l),c=O1(h,l)}else{let Z=a.lastIndexOf("(");h=a.slice(0,Z),c=O1(a,l)}super(c);this.parentUrl=h}else{super(a,l);let c=Q0(a)?a[0]:a;this.parentUrl=Q0(a)?a[1]:c.toUrl()}}toRequestUrl(){let a=new URLSearchParams(this.query),l=this.toUrl().replace(/'!(@.+?)::((?:[^']|'')+)'/ig,(h,Z,o)=>{return this.log(`Rewriting aliased parameter from match ${h} to label: ${Z} value: ${o}`,0),a.set(Z,`'${o}'`),Z}),c=a.toString();if(!S5(c))l+=`${l.indexOf("?")>-1?"&":"?"}${c}`;return l}select(...a){if(a.length>0)this.query.set("$select",a.join(","));return this}expand(...a){if(a.length>0)this.query.set("$expand",a.join(","));return this}getParent(a,l,c=this.parentUrl){return a([this,c],l)}}var b0=j1(s3);class M5 extends s3{filter(a){if(typeof a==="object")return this.query.set("$filter",a.toString()),this;if(typeof a==="function")return this.query.set("$filter",a(XZ.Where()).toString()),this;return this.query.set("$filter",a.toString()),this}orderBy(a,l=!0){let h=this.query.has("$orderby")?this.query.get("$orderby").split(","):[];return h.push(`${a} ${l?"asc":"desc"}`),this.query.set("$orderby",h.join(",")),this}skip(a){return this.query.set("$skip",a.toString()),this}top(a){return this.query.set("$top",a.toString()),this}}var z5=j1(M5);class j0 extends s3{}var h2=j1(j0);function $Z(){return function(){return wL(this)}}function X7(){return function(a="*"){return Ok(this,{},a)}}var pL=(a,l)=>{return hc(a,nm,l)},K=(a,l)=>hc(a,VL,l),_6=(a,l)=>{return l=l||{},l.headers={...l.headers,"X-HTTP-Method":"MERGE"},K(a,l)},wL=(a,l)=>{return l=l||{},l.headers={...l.headers||{},"X-HTTP-Method":"DELETE"},K(a,l)},Ok=(a,l,c="*")=>{return l=l||{},l.headers={...l.headers||{},"IF-Match":c},wL(a,l)};var DL=(a,l)=>hc(a,iL,l),W0;(function(a){a.Equals="eq",a.NotEquals="ne",a.GreaterThan="gt",a.GreaterThanOrEqualTo="ge",a.LessThan="lt",a.LessThanOrEqualTo="le",a.StartsWith="startswith",a.SubstringOf="substringof"})(W0||(W0={}));var m5;(function(a){a.And="and",a.AndWithSpace=" and ",a.Or="or",a.OrWithSpace=" or "})(m5||(m5={}));class XZ{static Where(){return new SL([])}}class rc{constructor(a){this.query=[],this.query=a}}class j6 extends rc{constructor(a){super(a)}text(a){return new vc([...this.query,a])}choice(a){return new vc([...this.query,a])}multiChoice(a){return new vc([...this.query,a])}number(a){return new EZ([...this.query,a])}date(a){return new TL([...this.query,a])}boolean(a){return new fL([...this.query,a])}lookup(a){return new BL([...this.query],a)}lookupId(a){let l=a.endsWith("Id")?a:`${a}Id`;return new EZ([...this.query,l])}}class sL extends j6{or(...a){return new d0([...this.query,`(${a.map((l)=>l.toString()).join(m5.OrWithSpace)})`])}}class kL extends j6{and(...a){return new d0([...this.query,`(${a.map((l)=>l.toString()).join(m5.AndWithSpace)})`])}}class SL extends j6{or(...a){if(a==null||a.length===0)return new j6([...this.query,m5.Or]);return new d0([...this.query,`(${a.map((l)=>l.toString()).join(m5.OrWithSpace)})`])}and(...a){if(a==null||a.length===0)return new j6([...this.query,m5.And]);return new d0([...this.query,`(${a.map((l)=>l.toString()).join(m5.AndWithSpace)})`])}}class BL extends rc{constructor(a,l){super(a);this.LookupField=l}Id(a){return new d0([...this.query,`${this.LookupField}/Id`,W0.Equals,a.toString()])}text(a){return new vc([...this.query,`${this.LookupField}/${a}`])}number(a){return new EZ([...this.query,`${this.LookupField}/${a}`])}}class Cm extends rc{constructor(a){super(a);this.LastIndex=a.length-1,this.InternalName=a[this.LastIndex]}toODataValue(a){return`'${a}'`}isNull(){return new d0([...this.query,W0.Equals,"null"])}isNotNull(){return new d0([...this.query,W0.NotEquals,"null"])}}class Fm extends Cm{equals(a){return new d0([...this.query,W0.Equals,this.toODataValue(a)])}notEquals(a){return new d0([...this.query,W0.NotEquals,this.toODataValue(a)])}in(...a){return XZ.Where().or(...a.map((l)=>this.equals(l)))}notIn(...a){return XZ.Where().and(...a.map((l)=>this.notEquals(l)))}}class vc extends Fm{startsWith(a){let l=`${W0.StartsWith}(${this.InternalName}, ${this.toODataValue(a)})`;return this.query[this.LastIndex]=l,new d0([...this.query])}contains(a){let l=`${W0.SubstringOf}(${this.toODataValue(a)}, ${this.InternalName})`;return this.query[this.LastIndex]=l,new d0([...this.query])}}class fL extends Cm{toODataValue(a){return`${a==null?"null":a?1:0}`}isTrue(){return new d0([...this.query,W0.Equals,this.toODataValue(!0)])}isFalse(){return new d0([...this.query,W0.Equals,this.toODataValue(!1)])}isFalseOrNull(){let a=`(${[this.InternalName,W0.Equals,this.toODataValue(null),m5.Or,this.InternalName,W0.Equals,this.toODataValue(!1)].join(" ")})`;return this.query[this.LastIndex]=a,new d0([...this.query])}}class Rm extends Fm{greaterThan(a){return new d0([...this.query,W0.GreaterThan,this.toODataValue(a)])}greaterThanOrEquals(a){return new d0([...this.query,W0.GreaterThanOrEqualTo,this.toODataValue(a)])}lessThan(a){return new d0([...this.query,W0.LessThan,this.toODataValue(a)])}lessThanOrEquals(a){return new d0([...this.query,W0.LessThanOrEqualTo,this.toODataValue(a)])}}class EZ extends Rm{toODataValue(a){return`${a}`}}class TL extends Rm{toODataValue(a){return`'${a.toISOString()}'`}isBetween(a,l){let c=`(${[this.InternalName,W0.GreaterThan,this.toODataValue(a),m5.And,this.InternalName,W0.LessThan,this.toODataValue(l)].join(" ")})`;return this.query[this.LastIndex]=c,new d0([...this.query])}isToday(){let a=/*@__PURE__*/new Date;a.setHours(0,0,0,0);let l=/*@__PURE__*/new Date;return l.setHours(23,59,59,999),this.isBetween(a,l)}}class d0 extends rc{and(...a){if(a==null||a.length===0)return new sL([...this.query,m5.And]);return new d0([...this.query,m5.And,`(${a.map((l)=>l.toString()).join(m5.AndWithSpace)})`])}or(...a){if(a==null||a.length===0)return new kL([...this.query,m5.Or]);return new d0([...this.query,m5.Or,`(${a.map((l)=>l.toString()).join(m5.OrWithSpace)})`])}toString(){return this.query.join(" ")}}function _0(a){return function(l){return class extends l{constructor(...c){super(c[0],c.length>1&&c[1]!==void 0?c[1]:a)}}}}class I2{constructor(a=""){this._root=b0(a)}using(...a){return this._root.using(...a),this}create(a,l){return a(this._root,l)}}function a8(a=""){if(typeof a==="object"&&!Reflect.has(a,"length"))a=a._root;return new I2(a)}var ec="00000000-0000-0000-0000-000000000000",WL;(function(a){a[a.None=0]="None",a[a.User=1]="User",a[a.DistributionList=2]="DistributionList",a[a.SecurityGroup=4]="SecurityGroup",a[a.SharePointGroup=8]="SharePointGroup",a[a.All=15]="All"})(WL||(WL={}));var bL;(function(a){a[a.None=0]="None",a[a.UserInfoList=1]="UserInfoList",a[a.Windows=2]="Windows",a[a.MembershipProvider=4]="MembershipProvider",a[a.RoleProvider=8]="RoleProvider",a[a.All=15]="All"})(bL||(bL={}));var IL;(function(a){a[a.Invalid=-1]="Invalid",a[a.DefaultView=0]="DefaultView",a[a.NormalView=1]="NormalView",a[a.DialogView=2]="DialogView",a[a.View=3]="View",a[a.DisplayForm=4]="DisplayForm",a[a.DisplayFormDialog=5]="DisplayFormDialog",a[a.EditForm=6]="EditForm",a[a.EditFormDialog=7]="EditFormDialog",a[a.NewForm=8]="NewForm",a[a.NewFormDialog=9]="NewFormDialog",a[a.SolutionForm=10]="SolutionForm",a[a.PAGE_MAXITEMS=11]="PAGE_MAXITEMS"})(IL||(IL={}));function M0(a){if(S5(a))return"";let l=a.indexOf("_api/");if(l<0)l=a.indexOf("_vti_bin/");if(l>-1)return a.substring(0,l);return a}function U2(a){let l=[],c=["odata.type","odata.editLink","__metadata","odata.metadata","odata.id"];if($1(a,c[0])&&a[c[0]]==="SP.Web"){if($1(a,c[4]))l.push(a[c[4]]);else if($1(a,c[2]))l.push(a.__metadata.uri)}else if($1(a,c[3])&&$1(a,c[1])){let h=T0(a[c[1]])?a[c[1]].split("_api")[1]:a[c[1]];l.push(M0(a[c[3]]),"_api",h)}else if($1(a,c[1]))l.push("_api",a[c[1]]);else if($1(a,c[2]))l.push(a.__metadata.uri);if(l.length<1)return"";return O1(...l)}function A7(a){return{DecodedUrl:a}}function z1(a){if(S5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,h)=>{return`!${c}::${h.replace(/'/ig,"''")}`});else return encodeURIComponent(a.replace(/'/ig,"''"))}function UL(a){if(S5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,h)=>{return`!${c}::${h.replace(/'/ig,"''")}`});else return a.replace(/'/ig,"''")}function OL(){return(a)=>{return a.on.pre(async function(l,c,h){let Z="PnPCoreJS:4.13.0:",{pathname:o}=new URL(l);if(Z=o.split("/").filter((v)=>!S5(v)&&["_api","v2.1","v2.0"].indexOf(v)<0).map((v,r,e)=>r===e.length-1?v.replace(/\(.*?$/i,"()"):v[0]).join("."),Z.length>32)Z=Z.substring(0,32);return this.log(`Request Tag: ${Z}`,0),c.headers={...c.headers,["X-ClientService-ClientTag"]:Z},[l,c,h]}),a}}function YZ(){return(a)=>{return a.on.pre(async(l,c,h)=>{return c.cache="no-cache",c.credentials="same-origin",[l,c,h]}),a.using(OL(),xL(),RL()),a}}function yZ(){return(a)=>{return a.using(um({Accept:"application/json","Content-Type":"application/json;charset=utf-8"})),a}}function c0(a,l,c,h){var Z=arguments.length,o=Z<3?l:h===null?h=Object.getOwnPropertyDescriptor(l,c):h,v;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(a,l,c,h);else for(var r=a.length-1;r>=0;r--)if(v=a[r])o=(Z<3?v(o):Z>3?v(l,c,o):v(l,c))||o;return Z>3&&o&&Object.defineProperty(l,c,o),o}var pm=class a extends M5{async add(l,c,h="",Z="STS",o=1033,v=!0){let r=W1({parameters:{Description:h,Language:o,Title:l,Url:c,UseSamePermissionsAsParentSite:v,WebTemplate:Z}});return K(wm(this,"add"),r)}};pm=c0([_0("webs")],pm);var wm=j1(pm);function xm(a,l){let c="_api/web",h=/(_api[/|\\](site\/rootweb|site|web))/i.exec(a);if((h===null||h===void 0?void 0:h.length)>0)a=M0(a),c=h[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=O1(a,c);return a}var v0=class a extends j0{constructor(l,c){if(typeof l==="string")l=xm(l,c);else if(Q0(l))l=[l[0],xm(l[1],c)];else l=[l,xm(l.toUrl(),c)];super(l,c);this.delete=$Z()}get webs(){return wm(this)}get allProperties(){return h2(this,"allproperties")}get webinfos(){return z5(this,"webinfos")}async getParentWeb(){let{Url:l,ParentWeb:c}=await this.select("Url","ParentWeb/ServerRelativeUrl").expand("ParentWeb")();if(c===null||c===void 0?void 0:c.ServerRelativeUrl)return t0([this,O1(new URL(l).origin,c.ServerRelativeUrl)]);return null}async update(l){return _6(this,W1(l))}applyTheme(l,c,h,Z){let o=W1({backgroundImageUrl:h,colorPaletteUrl:l,fontSchemeUrl:c,shareGenerated:Z});return K(t0(this,"applytheme"),o)}applyWebTemplate(l){return K(t0(this,`applywebtemplate(webTemplate='${z1(l)}')`))}getChanges(l){return K(t0(this,"getchanges"),W1({query:l}))}mapToIcon(l,c=0,h=""){return t0(this,`maptoicon(filename='${z1(l)}',progid='${z1(h)}',size=${c})`)()}getStorageEntity(l){return t0(this,`getStorageEntity('${z1(l)}')`)()}setStorageEntity(l,c,h="",Z=""){return K(t0(this,"setStorageEntity"),W1({comments:Z,description:h,key:l,value:c}))}removeStorageEntity(l){return K(t0(this,`removeStorageEntity('${z1(l)}')`))}getSubwebsFilteredForCurrentUser(l=-1,c=-1){return z5(this,`getSubwebsFilteredForCurrentUser(nWebTemplateFilter=${l},nConfigurationFilter=${c})`)}availableWebTemplates(l=1033,c=!0){return z5(this,`getavailablewebtemplates(lcid=${l},doincludecrosslanguage=${c})`)}};v0=c0([_0("_api/web")],v0);var t0=j1(v0);I2.prototype.batched=function(a){let l=a8(this),[c,h]=GL(l._root,a);return l.using(c),[l,h]};v0.prototype.batched=function(a){let l=t0(this),[c,h]=GL(l,a);return l.using(c),[l,h]};var l8=Symbol.for("batch_registration"),B4=Symbol.for("batch_request");function Gk(){return c2(async(a)=>{let l=await a.text();return Pk(l)})}class Dm extends s3{constructor(a,l=a.toUrl().replace(/_api[\\|/].*$/i,"")){super(l,"_api/$batch");this.requestBaseUrl=l,this.using(lc(a,"replace"),Gk()),this.on.dispose(()=>{a.using(lc(this,"replace",(c)=>/(auth|send|pre|init)/i.test(c)))})}}function GL(a,l){let c=[],h=[],Z=[],o=new Dm(a),v=K7(),r=new Dm(a),{headersCopyPattern:e,maxRequests:m}={headersCopyPattern:/Accept|Content-Type|IF-Match/i,maxRequests:20,...l};return[(H)=>{return H.on.init(function(){if(k5(this[l8]))throw Error("This instance is already part of a batch. Please review the docs at https://pnp.github.io/pnpjs/concepts/batching#reuse.");return c.push(new Promise((A)=>{this[l8]=A})),this}),H.on.pre(async function(A,V,i){if($1(V.headers,"X-PnP-BatchNever")){if(typeof this[B4]==="function")this[B4](),delete this[B4];return this.using(lc(r,"replace",(u)=>/(init|pre)/i.test(u))),[A,V,i]}return this.on.auth.clear(),this.on.send.replace(async function(u,d){let L=new Promise((g)=>{Z.push([this,u.toString(),d,g])});return this.log(`[batch:${v}] (${(/*@__PURE__*/new Date()).getTime()}) Adding request ${d.method} ${u.toString()} to batch.`,0),h.push(new Promise((g)=>{this[B4]=g})),this[l8](),L}),this.on.dispose(function(){if(k5(this[l8]))this[l8](),delete this[l8];if(k5(this[B4]))this[B4](),delete this[B4],this.using(lc(r,"replace",(u)=>/(auth|pre|send|init|dispose)/i.test(u)))}),[A,V,i]}),H},async()=>{if(await Promise.all(c),Z.length<1)return Promise.all(h).then(()=>{return});let H=Z.slice();while(H.length>0){let A=H.splice(0,m),V=[],i="";for(let d=0;d<A.length;d++){let[,L,g]=A[d];if(g.method==="GET"){if(i.length>0)V.push(`--changeset_${i}--
|
|
146
148
|
|
|
147
|
-
`),
|
|
148
|
-
`)}else{if(
|
|
149
|
-
`),
|
|
149
|
+
`),i="";V.push(`--batch_${v}
|
|
150
|
+
`)}else{if(i.length<1)i=K7(),V.push(`--batch_${v}
|
|
151
|
+
`),V.push(`Content-Type: multipart/mixed; boundary="changeset_${i}"
|
|
150
152
|
|
|
151
|
-
`);
|
|
152
|
-
`)}
|
|
153
|
-
`),
|
|
153
|
+
`);V.push(`--changeset_${i}
|
|
154
|
+
`)}V.push(`Content-Type: application/http
|
|
155
|
+
`),V.push(`Content-Transfer-Encoding: binary
|
|
154
156
|
|
|
155
|
-
`);let
|
|
156
|
-
`)}else
|
|
157
|
-
`);if(!
|
|
158
|
-
`)}),
|
|
159
|
-
`),
|
|
157
|
+
`);let R=new Headers(g.headers),x=T0(L)?L:O1(o.requestBaseUrl,L);if(g.method!=="GET"){let S=g.method;if(R.has("X-HTTP-Method"))S=R.get("X-HTTP-Method"),R.delete("X-HTTP-Method");V.push(`${S} ${x} HTTP/1.1
|
|
158
|
+
`)}else V.push(`${g.method} ${x} HTTP/1.1
|
|
159
|
+
`);if(!R.has("Accept"))R.append("Accept","application/json");if(!R.has("Content-Type"))R.append("Content-Type","application/json;charset=utf-8");if(R.forEach((S,p)=>{if(e.test(p))V.push(`${p}: ${S}
|
|
160
|
+
`)}),V.push(`
|
|
161
|
+
`),g.body)V.push(`${g.body}
|
|
160
162
|
|
|
161
|
-
`)}if(
|
|
163
|
+
`)}if(i.length>0)V.push(`--changeset_${i}--
|
|
162
164
|
|
|
163
|
-
`),
|
|
164
|
-
`);let u=await
|
|
165
|
-
`),Z="batch",o,r,v={},t=[];for(let M=0;M<h.length;++M){let m=h[M];switch(Z){case"batch":if(m.substring(0,16)==="--batchresponse_")Z="batchHeaders";else if(m.trim()!=="")throw Error(`Invalid response, line ${M}`);break;case"batchHeaders":if(m.trim()==="")Z="status";break;case"status":{let H=e.exec(m);if(H.length!==3)throw Error(`Invalid status, line ${M}`);o=parseInt(H[1],10),r=H[2],Z="statusHeaders";break}case"statusHeaders":if(m.trim()==="")Z="body";else{let H=m.split(":");if((H===null||H===void 0?void 0:H.length)===2)v[H[0].trim()]=H[1].trim()}break;case"body":t.length=0;while(m.substring(0,16)!=="--batchresponse_")t.push(m),m=h[++M];M--,l.push(new Response(o===204?null:t.join(""),{status:o,statusText:r,headers:v})),Z="batch",v={};break}}if(Z!=="status")throw Error("Unexpected end of input");return l}function pg(a){let l=/*@__PURE__*/new Date;return!D0(a)||l>a.expiration?null:a}var Lg=/*@__PURE__*/new Map;function ZZ(a){return(l)=>{return l.on.pre(async function(c,e,h){return this.on.auth(async(Z,o)=>{if(/get/i.test(o.method)||o.headers&&(J1(o.headers,"X-RequestDigest")||J1(o.headers,"Authorization")||J1(o.headers,"X-PnPjs-NoDigest")))return[Z,o];let r=Z.toString(),v=m0(r),t=pg(Lg.get(v));if(!D0(t)&&k5(a))t=pg(a(r,o));if(!D0(t))t=await $(W0([this,O1(v,"_api/contextinfo")]).using(jh(),f7()),{headers:{Accept:"application/json","X-PnPjs-NoDigest":"1"}}).then((M)=>({expiration:k7(/*@__PURE__*/new Date,"second",M.FormDigestTimeoutSeconds),value:M.FormDigestValue}));if(D0(t))o.headers={"X-RequestDigest":t.value,...o.headers},Lg.set(v,t);return[Z,o]}),[c,e,h]}),l}}function oZ(a){if((a===null||a===void 0?void 0:a.baseUrl)&&!b0(a.baseUrl))throw Error("SPBrowser props.baseUrl must be absolute when supplied.");return(l)=>{if(l.using(hZ(),eZ(),_h(),Nh(),ZZ()),b0(a===null||a===void 0?void 0:a.baseUrl))l.on.pre.prepend(async(c,e,h)=>{if(!b0(c))c=O1(a.baseUrl,c);return[c,e,h]});return l}}class Gt extends Error{constructor(a){super(`SPFx Context supplied to ${a} Behavior is null or undefined.`)}static check(a,l){if(typeof l==="undefined"||l===null)throw new Gt(a)}}function Fg(a){return Gt.check("SPFx",a),(l)=>{return l.using(hZ(),eZ(),_h(),Nh(),ZZ((c)=>{var e,h,Z;if(new RegExp(`^${O1(a.pageContext.web.absoluteUrl,"/_api")}`,"i").test(c)&&((h=(e=a===null||a===void 0?void 0:a.pageContext)===null||e===void 0?void 0:e.legacyPageContext)===null||h===void 0?void 0:h.formDigestValue)){let r=new Date(a.pageContext.legacyPageContext.formDigestValue.split(",")[1]);return{value:a.pageContext.legacyPageContext.formDigestValue,expiration:k7(r,"second",((Z=a.pageContext.legacyPageContext)===null||Z===void 0?void 0:Z.formDigestTimeoutSeconds)-15||1585)}}})),l.on.pre.prepend(async(c,e,h)=>{if(!b0(c))c=O1(a.pageContext.web.absoluteUrl,c);return[c,e,h]}),l}}var qt=class a extends i5{getById(l){return F0(this).concat(`('${l}')`)}getByTitle(l){return F0(this,`getByTitle('${E1(l)}')`)}async add(l,c="",e=100,h=!1,Z={}){let o={AllowContentTypes:h,BaseTemplate:e,ContentTypesEnabled:h,Description:c,Title:l,...Z};return $(this,b1(o))}async ensure(l,c="",e=100,h=!1,Z={}){let o={Title:l,Description:c,ContentTypesEnabled:h,...Z},r=this.getByTitle(o.Title);try{return await r.select("Title")(),{created:!1,data:await r.update(o),list:this.getByTitle(o.Title)}}catch(v){return{created:!0,data:await this.add(l,c,e,h,o),list:this.getByTitle(o.Title)}}}async ensureSiteAssetsLibrary(){let l=await $(Rc(this,"ensuresiteassetslibrary"));return F0([this,y2(l)])}async ensureSitePagesLibrary(){let l=await $(Rc(this,"ensuresitepageslibrary"));return F0([this,y2(l)])}};qt=c0([_0("lists")],qt);var Rc=N1(qt);class t8 extends j0{constructor(){super(...arguments);this.delete=J3()}get effectiveBasePermissions(){return W0(this,"EffectiveBasePermissions")}get eventReceivers(){return G5(this,"EventReceivers")}get relatedFields(){return W0(this,"getRelatedFields")}get informationRightsManagementSettings(){return W0(this,"InformationRightsManagementSettings")}async update(a,l="*"){return await o8(this,b1(a,h8({"IF-Match":l})))}getChanges(a){return $(F0(this,"getchanges"),b1({query:a}))}getItemsByCAMLQuery(a,...l){return $(F0(this,"getitems").expand(...l),b1({query:a}))}getListItemChangesSinceToken(a){return $(F0(this,"getlistitemchangessincetoken").using(c8()),b1({query:a}))}async recycle(){return $(F0(this,"recycle"))}async renderListData(a){let l=F0(this,"renderlistdata(@viewXml)");l.query.set("@viewXml",`'${a}'`);let c=await $(l);return JSON.parse(c)}renderListDataAsStream(a,l=null,c=/*@__PURE__*/new Map){if(J1(a,"RenderOptions")&&q0(a.RenderOptions))a.RenderOptions=a.RenderOptions.reduce((Z,o)=>Z+o);let e=F0(this,"RenderListDataAsStream");if(c&&c.size>0)c.forEach((Z,o)=>e.query.set(o,Z));let h=D0(l)?{parameters:a,overrideParameters:l}:{parameters:a};return $(e,b1(h))}async renderListFormData(a,l,c){let e=await $(F0(this,`renderlistformdata(itemid=${a}, formid='${l}', mode='${c}')`));return JSON.parse(e)}async reserveListItemId(){return $(F0(this,"reservelistitemid"))}async addValidateUpdateItemUsingPath(a,l,c=!1,e,h){let Z={FolderPath:i3(l)};if(D0(h)){if(h.leafName)Z.LeafName=i3(h.leafName);if(h.objectType)Z.UnderlyingObjectType=h.objectType}return $(F0(this,"AddValidateUpdateItemUsingPath()"),b1({bNewDocumentUpdate:c,checkInComment:e,formValues:a,listItemCreateInfo:Z}))}async getParentInfos(){let a=await this.select("Id","RootFolder/UniqueId","RootFolder/ServerRelativeUrl","RootFolder/ServerRelativePath","ParentWeb/Id","ParentWeb/Url","ParentWeb/ServerRelativeUrl","ParentWeb/ServerRelativePath").expand("RootFolder","ParentWeb")();return{List:{Id:a.Id,RootFolderServerRelativePath:a.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.RootFolder.UniqueId},ParentWeb:{Id:a.ParentWeb.Id,ServerRelativePath:a.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ParentWeb.ServerRelativeUrl,Url:a.ParentWeb.Url}}}}var F0=N1(t8),zt;(function(a){a[a.None=0]="None",a[a.ContextInfo=1]="ContextInfo",a[a.ListData=2]="ListData",a[a.ListSchema=4]="ListSchema",a[a.MenuView=8]="MenuView",a[a.ListContentType=16]="ListContentType",a[a.FileSystemItemId=32]="FileSystemItemId",a[a.ClientFormSchema=64]="ClientFormSchema",a[a.QuickLaunch=128]="QuickLaunch",a[a.Spotlight=256]="Spotlight",a[a.Visualization=512]="Visualization",a[a.ViewMetadata=1024]="ViewMetadata",a[a.DisableAutoHyperlink=2048]="DisableAutoHyperlink",a[a.EnableMediaTAUrls=4096]="EnableMediaTAUrls",a[a.ParentInfo=8192]="ParentInfo",a[a.PageContextInfo=16384]="PageContextInfo",a[a.ClientSideComponentManifest=32768]="ClientSideComponentManifest",a[a.ListAvailableContentTypes=65536]="ListAvailableContentTypes",a[a.FolderContentTypeOrder=131072]="FolderContentTypeOrder",a[a.GridInitInfo=262144]="GridInitInfo",a[a.SiteUrlAsMediaTASPItemHost=524288]="SiteUrlAsMediaTASPItemHost",a[a.AddToOneDrive=1048576]="AddToOneDrive",a[a.SPFXCustomActions=2097152]="SPFXCustomActions",a[a.CustomActions=4194304]="CustomActions"})(zt||(zt={}));var Kt;(function(a){a[a.Display=1]="Display",a[a.Edit=2]="Edit",a[a.New=3]="New"})(Kt||(Kt={}));var Qt=class a extends i5{getById(l){return o2(this).concat(`(${l})`)}getItemByStringId(l){return o2([this,this.parentUrl],`getItemByStringId('${l}')`)}skip(l,c=!1){if(c)this.query.set("$skiptoken",`Paged=TRUE&PagedPrev=TRUE&p_ID=${l}`);else this.query.set("$skiptoken",`Paged=TRUE&p_ID=${l}`);return this}[Symbol.asyncIterator](){let l=G5(this).using(h2(async(e)=>{let h=await e.json(),Z=J1(h,"d")&&J1(h.d,"__next")?h.d.__next:h["odata.nextLink"];return{hasNext:typeof Z==="string"&&Z.length>0,nextLink:Z,value:Bt(h)}})),c=["$top","$select","$expand","$filter","$orderby","$skiptoken"];for(let e=0;e<c.length;e++){let h=this.query.get(c[e]);if(D0(h))l.query.set(c[e],h)}return{_next:l,async next(){if(this._next===null)return{done:!0,value:void 0};let e=await this._next();if(e.hasNext)return this._next=G5([this._next,e.nextLink]),{done:!1,value:e.value};else return this._next=null,{done:!1,value:e.value}}}}async add(l={}){return $(this,b1(l))}};Qt=c0([_0("items")],Qt);var $t=N1(Qt);class m8 extends j0{constructor(){super(...arguments);this.delete=J3()}get effectiveBasePermissions(){return W0(this,"EffectiveBasePermissions")}get effectiveBasePermissionsForUI(){return W0(this,"EffectiveBasePermissionsForUI")}get fieldValuesAsHTML(){return Z2(this,"FieldValuesAsHTML")}get fieldValuesAsText(){return Z2(this,"FieldValuesAsText")}get fieldValuesForEdit(){return Z2(this,"FieldValuesForEdit")}get versions(){return Rg(this)}get list(){return this.getParent(F0,"",this.parentUrl.substring(0,this.parentUrl.lastIndexOf("/")))}async update(a,l="*"){let c=b1(a,h8({"IF-Match":l,"X-HTTP-Method":"MERGE"}));return $(o2(this).using(PS()),c)}recycle(){return $(o2(this,"recycle"))}async deleteWithParams(a){return $(o2(this,"DeleteWithParameters"),b1({parameters:a}))}async getWopiFrameUrl(a=0){let l=o2(this,"getWOPIFrameUrl(@action)");return l.query.set("@action",a),$(l)}validateUpdateListItem(a,l=!1){return $(o2(this,"validateupdatelistitem"),b1({formValues:a,bNewDocumentUpdate:l}))}async getParentInfos(){let a=await this.select("Id","ParentList/Id","ParentList/Title","ParentList/RootFolder/UniqueId","ParentList/RootFolder/ServerRelativeUrl","ParentList/RootFolder/ServerRelativePath","ParentList/ParentWeb/Id","ParentList/ParentWeb/Url","ParentList/ParentWeb/ServerRelativeUrl","ParentList/ParentWeb/ServerRelativePath").expand("ParentList","ParentList/RootFolder","ParentList/ParentWeb")();return{Item:{Id:a.Id},ParentList:{Id:a.ParentList.Id,Title:a.ParentList.Title,RootFolderServerRelativePath:a.ParentList.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.ParentList.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.ParentList.RootFolder.UniqueId},ParentWeb:{Id:a.ParentList.ParentWeb.Id,ServerRelativePath:a.ParentList.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ParentList.ParentWeb.ServerRelativeUrl,Url:a.ParentList.ParentWeb.Url}}}async setImageField(a,l,c){let e=await this.getParentInfos(),h=m0(this.toUrl()),Z=W0([this,h],"/_api/web/UploadImage");Z.concat("(listTitle=@a1,imageName=@a2,listId=@a3,itemId=@a4)"),Z.query.set("@a1",`'${e.ParentList.Title}'`),Z.query.set("@a2",`'${l}'`),Z.query.set("@a3",`'${e.ParentList.Id}'`),Z.query.set("@a4",e.Item.Id);let o=await $(Z,{body:c}),r={type:"thumbnail",fileName:o.Name,nativeFile:{},fieldName:a,serverUrl:e.ParentWeb.Url.replace(e.ParentWeb.ServerRelativeUrl,""),serverRelativeUrl:o.ServerRelativeUrl,id:o.UniqueId};return this.validateUpdateListItem([{FieldName:a,FieldValue:JSON.stringify(r)}])}}var o2=N1(m8),Jt=class a extends i5{getById(l){return sg(this).concat(`(${l})`)}};Jt=c0([_0("versions")],Jt);var Rg=N1(Jt);class xg extends j0{constructor(){super(...arguments);this.delete=J3()}}var sg=N1(xg);function PS(){return h2(async(a)=>({etag:a.headers.get("etag")}))}S7.prototype.getContextInfo=async function(a=this.parentUrl){let l=await $(W0([this,m0(a)],"_api/contextinfo"));if(J1(l,"GetContextWebInformation")){let c=l.GetContextWebInformation;return c.SupportedSchemaVersions=c.SupportedSchemaVersions.results,c}else return l};var Xt=class a extends i5{getByUrl(l){return K0(this).concat(`('${E1(l)}')`)}async addUsingPath(l,c=!1){return $(xc(this,`addUsingPath(DecodedUrl='${E1(l)}',overwrite=${c})`))}};Xt=c0([_0("folders")],Xt);var xc=N1(Xt);class M8 extends j0{constructor(){super(...arguments);this.delete=J3()}get folders(){return xc(this)}get listItemAllFields(){return Z2(this,"listItemAllFields")}get parentFolder(){return K0(this,"parentFolder")}get properties(){return Z2(this,"properties")}get storageMetrics(){return Z2(this,"storagemetrics")}async update(a){return o8(this,b1(a))}recycle(){return $(K0(this,"recycle"))}async getItem(...a){let c=await this.listItemAllFields.select(...a)();if(c["odata.null"])throw Error("No associated item was found for this folder. It may be the root folder, which does not have an item.");return Object.assign(o2([this,y2(c)]),c)}async moveByPath(a,...l){let c={KeepBoth:!1,ShouldBypassSharedLocks:!0,RetainEditorAndModifiedOnMove:!1};if(l.length===1){if(typeof l[0]==="boolean")c.KeepBoth=l[0];else if(typeof l[0]==="object")c={...c,...l[0]}}return this.moveCopyImpl(a,c,"MoveFolderByPath")}async copyByPath(a,...l){let c={ShouldBypassSharedLocks:!0,ResetAuthorAndCreatedOnCopy:!0,KeepBoth:!1};if(l.length===1){if(typeof l[0]==="boolean")c.KeepBoth=l[0];else if(typeof l[0]==="object")c={...c,...l[0]}}return this.moveCopyImpl(a,c,"CopyFolderByPath")}async deleteWithParams(a){return $(K0(this,"DeleteWithParameters"),b1({parameters:a}))}async addSubFolderUsingPath(a){return await $(K0(this,"AddSubFolderUsingPath"),b1({leafPath:i3(a)})),this.folders.getByUrl(a)}async getParentInfos(){let a=await this.select("ServerRelativeUrl","ListItemAllFields/ParentList/Id","ListItemAllFields/ParentList/RootFolder/UniqueId","ListItemAllFields/ParentList/RootFolder/ServerRelativeUrl","ListItemAllFields/ParentList/RootFolder/ServerRelativePath","ListItemAllFields/ParentList/ParentWeb/Id","ListItemAllFields/ParentList/ParentWeb/Url","ListItemAllFields/ParentList/ParentWeb/ServerRelativeUrl","ListItemAllFields/ParentList/ParentWeb/ServerRelativePath").expand("ListItemAllFields/ParentList","ListItemAllFields/ParentList/RootFolder","ListItemAllFields/ParentList/ParentWeb")();return{Folder:{ServerRelativeUrl:a.ServerRelativeUrl},ParentList:{Id:a.ListItemAllFields.ParentList.Id,RootFolderServerRelativePath:a.ListItemAllFields.ParentList.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.ListItemAllFields.ParentList.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.ListItemAllFields.ParentList.RootFolder.UniqueId},ParentWeb:{Id:a.ListItemAllFields.ParentList.ParentWeb.Id,ServerRelativePath:a.ListItemAllFields.ParentList.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ListItemAllFields.ParentList.ParentWeb.ServerRelativeUrl,Url:a.ListItemAllFields.ParentList.ParentWeb.Url}}}moveCopyImpl(a,l,c){let e=K0(this);return e.on.pre(O4(async(h,Z,o)=>{let{ServerRelativeUrl:r,["odata.id"]:v}=await K0(this).using(f7()).select("ServerRelativeUrl")(),t=new URL(m0(v));return h=O1(t.href,`/_api/SP.MoveCopyUtil.${c}()`),Z=b1({destPath:i3(b0(a)?a:O1(t.origin,a)),options:l,srcPath:i3(O1(t.origin,r))},Z),[h,Z,o]})),$(e).then(()=>wg(this,a))}}c0([H3],M8.prototype,"moveByPath",null);c0([H3],M8.prototype,"copyByPath",null);var K0=N1(M8);function sc(a,l){return K0([a,m0(a.toUrl())],`_api/web/getFolderByServerRelativePath(decodedUrl='${dg(l)}')`)}async function Dg(a,l){let{WebFullUrl:c}=await K0(a).using(f7()).getContextInfo(l),{pathname:e}=new URL(l);return sc(K0([a,O1(c,"_api/web")]),decodeURIComponent(e))}async function wg(a,l){return(b0(l)?Dg:sc)(a,l)}z0(t8,"items",$t);function OS(){return h2(async(a)=>{var l;return{body:a.body,knownLength:parseInt(((l=a===null||a===void 0?void 0:a.headers)===null||l===void 0?void 0:l.get("content-length"))||"-1",10)}})}class rZ extends j0{getText(){return this.getParsed(c8())}getBlob(){return this.getParsed(jC())}getBuffer(){return this.getParsed(_C())}getJSON(){return this.getParsed(jh())}getStream(){return W0(this,"$value").using(OS(),bt())(h8({binaryStringResponseBody:"true"}))}getParsed(a){return W0(this,"$value").using(a,bt())()}}var H8=class a extends i5{getByUrl(l){if(/%#/.test(l))throw Error("For file names containing % or # please use web.getFileByServerRelativePath");return y1(this).concat(`('${E1(l)}')`)}async addUsingPath(l,c,e={Overwrite:!1}){let h=[`AddUsingPath(decodedurl='${E1(l)}'`];if(e){if(e.Overwrite)h.push(",Overwrite=true");if(e.EnsureUniqueFileName)h.push(`,EnsureUniqueFileName=${e.EnsureUniqueFileName}`);if(e.AutoCheckoutOnInvalidData)h.push(",AutoCheckoutOnInvalidData=true");if(!S5(e.XorHash))h.push(`,XorHash=${E1(e.XorHash)}`)}return h.push(")"),$(Dc(this,h.join("")),{body:c})}async addChunked(l,c,e){let h=await this.addUsingPath(l,null,e),Z=i8(this,h.ServerRelativeUrl);return Z.using(Tt(()=>{return y1(Z).delete()})),Z.setContentChunked(c,e)}async addTemplateFile(l,c){return $(Dc(this,`addTemplateFile(urloffile='${E1(l)}',templatefiletype=${c})`))}};c0([H3],H8.prototype,"addUsingPath",null);c0([H3],H8.prototype,"addChunked",null);c0([H3],H8.prototype,"addTemplateFile",null);H8=c0([_0("files")],H8);var Dc=N1(H8);class wc extends rZ{constructor(){super(...arguments);this.delete=J3()}get listItemAllFields(){return Z2(this,"listItemAllFields")}get versions(){return B7(this)}async getLockedByUser(){let a=await og(y1(this,"lockedByUser"));if(a["odata.null"]===!0)return null;else return a}approve(a=""){return $(y1(this,`approve(comment='${E1(a)}')`))}cancelUpload(a){return $(y1(this,`cancelUpload(uploadId=guid'${a}')`))}checkin(a="",l=vZ.Major){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return $(y1(this,`checkin(comment='${E1(a)}',checkintype=${l})`))}checkout(){return $(y1(this,"checkout"))}copyTo(a,l=!0){return $(y1(this,`copyTo(strnewurl='${E1(a)}',boverwrite=${l})`))}async copyByPath(a,...l){let c={ShouldBypassSharedLocks:!0,ResetAuthorAndCreatedOnCopy:!0,KeepBoth:!1};if(l.length===2){if(typeof l[1]==="boolean")c.KeepBoth=l[1];else if(typeof l[1]==="object")c={...c,...l[1]}}return this.moveCopyImpl(a,c,l[0],"CopyFileByPath")}deny(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return $(y1(this,`deny(comment='${E1(a)}')`))}async moveByPath(a,...l){let c={KeepBoth:!1,ShouldBypassSharedLocks:!0,RetainEditorAndModifiedOnMove:!1};if(l.length===2){if(typeof l[1]==="boolean")c.KeepBoth=l[1];else if(typeof l[1]==="object")c={...c,...l[1]}}return this.moveCopyImpl(a,c,l[0],"MoveFileByPath")}publish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return $(y1(this,`publish(comment='${E1(a)}')`))}recycle(){return $(y1(this,"recycle"))}async deleteWithParams(a){return $(y1(this,"DeleteWithParameters"),b1({parameters:a}))}undoCheckout(){return $(y1(this,"undoCheckout"))}unpublish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return $(y1(this,`unpublish(comment='${E1(a)}')`))}async exists(){try{return(await y1(this).select("Exists")()).Exists}catch(a){return!1}}async setContent(a){return await $(y1(this,"$value"),{body:a,headers:{"X-HTTP-Method":"PUT"}}),y1(this)}async getItem(...a){let c=await this.listItemAllFields.select(...a)();return Object.assign(o2([this,y2(c)]),c)}async setContentChunked(a,l){let{progress:c}=yS(l),e=Q3(),h=!0,Z,o=0,r=y1(this).using(Tt(()=>{return y1(r).cancelUpload(e)})),t=IS(a).getReader();while(Z=await t.read())if(Z.done)return c({offset:o,stage:"finishing",uploadId:e}),$(y1(r,`finishUpload(uploadId=guid'${e}',fileOffset=${o})`),{body:(Z===null||Z===void 0?void 0:Z.value)||""});else if(h)c({offset:o,stage:"starting",uploadId:e}),o=await $(y1(r,`startUpload(uploadId=guid'${e}')`),{body:Z.value}),h=!1;else c({offset:o,stage:"continue",uploadId:e}),o=await $(y1(r,`continueUpload(uploadId=guid'${e}',fileOffset=${o})`),{body:Z.value})}moveCopyImpl(a,l,c,e){let h=y1(this);return h.on.pre(O4(async(Z,o,r)=>{let{ServerRelativeUrl:v,["odata.id"]:t}=await y1(this).using(f7()).select("ServerRelativeUrl")(),M=new URL(m0(t));return Z=O1(M.toString(),`/_api/SP.MoveCopyUtil.${e}(overwrite=@a1)?@a1=${c}`),o=b1({destPath:i3(b0(a)?a:`${M.protocol}//${M.host}${a}`),options:l,srcPath:i3(b0(v)?v:`${M.protocol}//${M.host}${v}`)},o),[Z,o,r]})),$(h).then(()=>Sg(this,a))}}c0([H3],wc.prototype,"copyByPath",null);c0([H3],wc.prototype,"moveByPath",null);c0([H3],wc.prototype,"setContentChunked",null);var y1=N1(wc);function i8(a,l){return y1([a,m0(a.toUrl())],`_api/web/getFileByServerRelativePath(decodedUrl='${E1(l)}')`)}async function kg(a,l){let{WebFullUrl:c}=await y1(a).using(f7()).getContextInfo(l),{pathname:e}=new URL(l);return i8(y1([a,O1(c,"_api/web")]),decodeURIComponent(e))}async function Sg(a,l){return(b0(l)?kg:i8)(a,l)}var Yt=class a extends i5{getById(l){return Bg(this).concat(`(${l})`)}deleteAll(){return $(B7(this,"deleteAll"))}deleteById(l){return $(B7(this,`deleteById(vid=${l})`))}recycleByID(l){return $(B7(this,`recycleByID(vid=${l})`))}deleteByLabel(l){return $(B7(this,`deleteByLabel(versionlabel='${E1(l)}')`))}recycleByLabel(l){return $(B7(this,`recycleByLabel(versionlabel='${E1(l)}')`))}restoreByLabel(l){return $(B7(this,`restoreByLabel(versionlabel='${E1(l)}')`))}};Yt=c0([_0("versions")],Yt);var B7=N1(Yt);class fg extends rZ{constructor(){super(...arguments);this.delete=cZ()}}var Bg=N1(fg),vZ;(function(a){a[a.Minor=0]="Minor",a[a.Major=1]="Major",a[a.Overwrite=2]="Overwrite"})(vZ||(vZ={}));var Nt;(function(a){a[a.None=0]="None",a[a.Overwrite=1]="Overwrite",a[a.AllowBrokenThickets=8]="AllowBrokenThickets",a[a.RetainEditorAndModifiedOnMove=2048]="RetainEditorAndModifiedOnMove"})(Nt||(Nt={}));var jt;(function(a){a[a.StandardPage=0]="StandardPage",a[a.WikiPage=1]="WikiPage",a[a.FormPage=2]="FormPage",a[a.ClientSidePage=3]="ClientSidePage"})(jt||(jt={}));function yS(a){return{progress:()=>null,...a}}function IS(a){if(GS(a))return a.stream();else if(ES(a))return new ReadableStream({start(l){a.on("data",(c)=>{l.enqueue(c)}),a.on("end",()=>{l.close()})}});else if(qS(a))return new ReadableStream({start(l){l.enqueue(a),l.close()}});else if(zS(a))return a.readable;else return a}var US=Symbol.toStringTag;function ES(a){return typeof a.on==="function"}function GS(a){return typeof a==="object"&&typeof a.arrayBuffer==="function"&&typeof a.type==="string"&&typeof a.stream==="function"&&typeof a.constructor==="function"&&(/^(Blob|File)$/.test(a[US])||/^(Blob|File)$/.test(a.constructor.name))}function qS(a){return typeof a==="object"&&typeof a.length==="number"}function zS(a){return typeof a==="object"&&typeof a.readable==="object"}z0(M8,"files",Dc);z0(m8,"file",y1,"file");o0.prototype.getFileByServerRelativePath=function(a){return i8(this,a)};o0.prototype.getFileById=function(a){return y1(this,`getFileById('${a}')`)};o0.prototype.getFileByUrl=function(a){return y1(this,`getFileByUrl('${E1("!@p1::"+a)}')`)};z0(m8,"folder",K0);z0(t8,"rootFolder",K0);z0(o0,"folders",xc);z0(o0,"rootFolder",K0);o0.prototype.getFolderByServerRelativePath=function(a){return sc(this,a)};o0.prototype.getFolderById=function(a){return K0(this,`getFolderById('${a}')`)};z0(o0,"lists",Rc);z0(o0,"siteUserInfoList",F0);z0(o0,"defaultDocumentLibrary",F0);z0(o0,"customListTemplates",G5,"getcustomlisttemplates");o0.prototype.getList=function(a){return F0(this,`getList('${E1(a)}')`)};o0.prototype.getCatalog=async function(a){let l=await M0(this,`getcatalog(${a})`).select("Id")();return F0([this,y2(l)])};function _t(a,l){let c="_api/site",e=/(_api[/|\\](site|web))/i.exec(a);if((e===null||e===void 0?void 0:e.length)>0)a=m0(a),c=e[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=O1(a,c);return a}var I4=class a extends j0{constructor(l,c){if(typeof l==="string")l=_t(l,c);else if(q0(l))l=[l[0],_t(l[1],c)];else l=[l,_t(l.toUrl(),c)];super(l,c)}get rootWeb(){return M0(this,"rootweb")}getChanges(l){let c=b1({query:l});return $(M0(this,"getchanges"),c)}async openWebById(l){let c=await $(a5(this,`openWebById('${l}')`));return{data:c,web:M0([this,m0(y2(c))])}}async getRootWeb(){let l=await this.rootWeb.select("Url")();return M0([this,l.Url])}async delete(){let l=await a5(this,"").select("Id")(),c=a5([this,this.parentUrl],"_api/SPSiteManager/Delete");await $(c,b1({siteId:l.Id}))}async getDocumentLibraries(l){let c=a5([this,this.parentUrl],"_api/sp.web.getdocumentlibraries(@v)");c.query.set("@v",`'${l}'`);let e=await c();return J1(e,"GetDocumentLibraries")?e.GetDocumentLibraries:e}async getWebUrlFromPageUrl(l){let c=a5([this,this.parentUrl],"_api/sp.web.getweburlfrompageurl(@v)");c.query.set("@v",`'${l}'`);let e=await c();return J1(e,"GetWebUrlFromPageUrl")?e.GetWebUrlFromPageUrl:e}async createCommunicationSite(l,c=1033,e=!1,h,Z,o,r,v,t){return this.createCommunicationSiteFromProps({Classification:o,Description:Z,HubSiteId:v,Lcid:c,Owner:t,ShareByEmailEnabled:e,SiteDesignId:r,Title:l,Url:h})}async createCommunicationSiteFromProps(l){let c={Classification:"",Description:"",HubSiteId:Fc,Lcid:1033,ShareByEmailEnabled:!1,SiteDesignId:Fc,WebTemplate:"SITEPAGEPUBLISHING#0",WebTemplateExtensionId:Fc,...l};return $(a5([this,m0(this.toUrl())],"/_api/SPSiteManager/Create"),b1({request:c}))}async exists(l){return $(a5([this,m0(this.toUrl())],"/_api/SP.Site.Exists"),b1({url:l}))}async createModernTeamSite(l,c,e,h,Z,o,r,v,t){return this.createModernTeamSiteFromProps({alias:c,classification:o,description:Z,displayName:l,hubSiteId:v,isPublic:e,lcid:h,owners:r,siteDesignId:t})}async createModernTeamSiteFromProps(l){let c=Object.assign({},{classification:"",description:"",hubSiteId:Fc,isPublic:!0,lcid:1033,owners:[]},l),e={alias:c.alias,displayName:c.displayName,isPublic:c.isPublic,optionalParams:{Classification:c.classification,CreationOptions:[`SPSiteLanguage:${c.lcid}`,`HubSiteId:${c.hubSiteId}`],Description:c.description,Owners:c.owners}};if(c.siteDesignId)e.optionalParams.CreationOptions.push(`implicit_formula_292aa8a00786498a87a5ca52d9f4214a_${c.siteDesignId}`);return $(a5([this,m0(this.toUrl())],"/_api/GroupSiteManager/CreateGroupEx").using(c8()),b1(e))}update(l){return vg(this,b1(l))}setSiteLogo(l){return $(W0([this,m0(this.toUrl())],"_api/siteiconmanager/setsitelogo"),b1(l))}};I4=c0([_0("_api/site")],I4);var a5=N1(I4),am;(function(a){a[a.WebLogo=0]="WebLogo",a[a.HubLogo=1]="HubLogo",a[a.HeaderBackground=2]="HeaderBackground",a[a.GlobalNavLogo=3]="GlobalNavLogo"})(am||(am={}));var lm;(function(a){a[a.Square=0]="Square",a[a.Rectangular=1]="Rectangular"})(lm||(lm={}));Reflect.defineProperty(O2.prototype,"site",{configurable:!0,enumerable:!0,get:function(){return this.create(a5)}});Reflect.defineProperty(O2.prototype,"web",{configurable:!0,enumerable:!0,get:function(){return this.create(M0)}});function n8(){return new URL(window.location.href).searchParams.get("web")??""}var bg=await RC();function kc(a=""){let l=a?a:P4();if(!bg)return r8(l).using(oZ());return r8(l).using(Fg(bg))}function n3(a){return a.web.toUrl().replace("/_api/web","")}function Tg(){let l=n8()??P4();return kc(l)}async function tZ(a,l,c){let e=[],[h,Z]=a.web.batched();for(let o of l)h.getFileByUrl(`${k1}/${o}/${X0}`).getText().then((r)=>{let v=cm(o);try{let t=JSON.parse(r);v.manifest=t,v.activated=c.includes(o),e.push(v)}catch{e.push(v)}}).catch(()=>{e.push(cm(o))});return await Z(),e}var KS=["Forms"];async function A8(a,l){try{await Jh(a);let c=a.web.lists.getByTitle(k1).rootFolder,e=await hm(a),h=await V8(a);if(!e.some((Z)=>Z===l))await c.folders.addUsingPath(l),e.push(l);return A3.value=await tZ(a,e,h.data.enabledAppCollections),A3.value.find((Z)=>Z.name===l)}catch(c){return c?.message}}async function Wg(a,l){let e=a.web.lists.getByTitle(k1).rootFolder;try{let h=await e.folders.getByUrl(l)();await yC(a,U4.data.ServerRelativeUrl,l)}catch(h){V1(`Error while removing ${l} from ${k1} folder in ${n3(a)}`,h)}return!1}async function hm(a){return await Jh(a),(await a.web.lists.getByTitle(k1).rootFolder.folders()).filter((e)=>!KS.includes(e.Name)).map((e)=>e.Name)}async function mZ(a,l){em.value=!0,await V8(a);let c=n3(a),e=a.web.getFileByUrl(`${k1}/${e2}`);try{return await e.setContent(JSON.stringify(l)),!0}catch(h){return V1(`Error while updating ${e2} in ${k1} folder in ${c}`,h),!1}finally{em.value=!1}}async function V8(a){let l=a.web.getFileByUrl(`${k1}/${e2}`),c=n3(a),e=await l.exists(),h={data:Hc,error:"",isError:!1,warnings:[]};if(!e)return await Jh(a),await a.web.lists.getByTitle(k1).rootFolder.files.addUsingPath(e2,JSON.stringify(Hc)),N0(`Created ${e2} in ${k1} folder in ${c}`),h;try{let o=await(await l.getBlob()).text(),r=JSON.parse(o);if(!Array.isArray(r.enabledAppCollections)||!Array.isArray(r.urlMap)){let v=`Invalid data inside ${e2} in ${k1} folder in ${c}, it should be an array`;return V1(v),h.error=v,h.isError=!0,h.data=Hc,h}return h.data=r,h}catch(Z){let o=`Error while parsing ${e2} in ${k1} folder in ${c}`;return V1(o,Z),h.error=o,h.isError=!0,h.data=Hc,h}}async function Pg(a,l,c){if(c.some((o)=>o.indexOf("/")>-1))throw new Error("Nested path cannot contain /");let e=n3(a),h=a.web.getFolderByServerRelativePath(`${k1}/${l}`),Z="";for(let o of c){if(Z=`${Z?`${Z}/`:""}${o}`,!(await h.folders()).some((v)=>v.Name.toLowerCase()===o.toLowerCase()))N0(`Creating subfolder ${Z} in ${k1}/${l} folder in ${e}`),await h.addSubFolderUsingPath(o);h=h.folders.getByUrl(o)}}var Zm=class a extends i5{getById(l){return yg(this,`GetById?hubSiteId='${l}'`)}};Zm=c0([_0("_api/hubsites")],Zm);var om=N1(Zm);class Og extends j0{async getSite(){let a=await this.select("SiteUrl")();return a5([this,a.SiteUrl])}}var yg=N1(Og);I4.prototype.joinHubSite=async function(a){await $(a5(this,`joinHubSite('${a}')`))};I4.prototype.registerHubSite=async function(){await $(a5(this,"registerHubSite"))};I4.prototype.unRegisterHubSite=async function(){await $(a5(this,"unRegisterHubSite"))};o0.prototype.hubSiteData=async function(a=!1){let l=await M0(this,`hubSiteData(${a})`)();if(typeof l==="string")return JSON.parse(l);return l};o0.prototype.syncHubSiteTheme=function(){return $(M0(this,"syncHubSiteTheme"))};Reflect.defineProperty(O2.prototype,"hubSites",{configurable:!0,enumerable:!0,get:function(){return this.create(om)}});function rm(a,l){let c=a.findIndex((v)=>v.isHubRoot&&v.hubid===l);if(c<0)return;let e=a.splice(c,1)[0],h={...e,webs:[e]},Z={...e,sites:[h],webs:[]},o=u8(a,Z.siteId,l);h.webs.push(...o);let r=HZ(a,l);return Z.sites.push(...r),Z.webs.push(...u8(a,Z.siteId,l)),Z}function MZ(a){let l=Object.groupBy(a,(t)=>t.hubid),c=Object.keys(l).filter((t)=>t&&t!==Y0),e=Object.keys(l).filter((t)=>!t||t===Y0),h=c.map((t)=>l[t]??[]).flat(),Z=e.map((t)=>l[t]??[]).flat(),o=[],r=[],v=[];for(let t of c){let M=rm(h,t);if(!M)continue;o.push(M)}if(h.length>0)Z.push(...h);return r.push(...HZ(Z)),v.push(...Z),{hubs:o,sites:r,webs:v}}function HZ(a,l){let c=[];function e(Z){return l?Z.isRootWeb&&Z.hubid===l:Z.isRootWeb}let h=a.findIndex(e);while(h>-1){let Z=a.splice(h,1)[0],o=c.find((v)=>v.id===Z.id);if(!o)o={...Z,webs:[Z]},c.push(o);let r=u8(a,Z.siteId);o.webs.push(...r.sort((v,t)=>v.url.localeCompare(t.url))),h=a.findIndex(e)}return c}function u8(a,l,c){let e=[];function h(o){return c?o.siteId===l&&o.hubid===c:o.siteId===l}let Z=a.findIndex(h);while(Z>-1){let o=a.splice(Z,1)[0];e.push(o),Z=a.findIndex(h)}return e.sort((o,r)=>o.url.localeCompare(r.url))}function Ig(a){let l=Object.groupBy(a,(Z)=>Z.sharepointIds.siteId),c=Object.keys(l),e=[];for(let Z of c){let o=l[Z];if(!o)continue;let r=o.sort((v,t)=>v.webUrl.localeCompare(t.webUrl));e.push({id:r[0].sharepointIds.webId,url:r[0].webUrl,siteId:r[0].sharepointIds.siteId,hubid:r[0].sharepointIds.hubSiteId,isHubRoot:r[0].sharepointIds.hubSiteId===r[0].sharepointIds.siteId,isRootWeb:!0})}return a.map((Z)=>{return{id:Z.sharepointIds.webId,url:Z.webUrl,siteId:Z.sharepointIds.siteId,hubid:Z.sharepointIds.hubSiteId,isHubRoot:Z.sharepointIds.hubSiteId===Z.sharepointIds.siteId,isRootWeb:e.some((o)=>o.id===Z.sharepointIds.webId),title:Z.title,template:Z.template.name}})}function iZ(a,l,c){return{id:a.Id,url:a.Url,siteId:l,hubid:c,isHubRoot:!1,isRootWeb:!1}}function nZ(a,l,c){return a.map((e)=>{return iZ(e,l,c)})}async function QS(a){let l=await Gg(a);if(l.isError)return V1("Unable to get web info",l.error),[];let c=await tm(l.data);return[...l.data,...c.filter((e)=>!e.isError).flatMap((e)=>e.data)]}async function tm(a){let l=[];for(let h of a){let Z=kc(h.Url);l.push(Gg(Z))}let c=await Promise.all(l),e=c.filter((h)=>!h.isError&&h.data.length>0).flatMap((h)=>h.data);if(e.length>0)c.push(...await tm(e));return c.some((h)=>h.data.length>0||h.isError)?c:[]}async function Ug(a,l=!1){let c=kc(a.origin+a.pathname),e={data:[],error:"",warnings:[],isError:!1};try{let h=await Mm(c);if(h.isError){let m=`Unable to get site info ${h.error}`;e.warnings.push(m),V1(m,a.href)}let Z=await mm(c);if(Z.isError){let m=`Unable to get root web info ${Z.error}`;e.warnings.push(m),V1(m,a.href)}let o=await Hm(c);if(o.isError){let m=`Unable to get web info ${o.error}`;return e.isError=!0,e.error=m,V1(m,a.href),e}if(!l||Z.isError){let m=iZ(o.data,h.data?.Id??Y0,h.data?.HubSiteId??Y0);return m.isRootWeb=Z.data?.Id===o.data.Id,m.isHubRoot=h.data?.IsHubSite&&Z.data?.Id===o.data.Id,e.data.push(m),e}let r=kc(Z.data.Url),v=await QS(r),t=iZ(Z.data,h.data?.Id??Y0,h.data?.HubSiteId??Y0),M=nZ(v,h.data?.Id??Y0,h.data?.HubSiteId??Y0);t.isRootWeb=!0,t.isHubRoot=h.data?.IsHubSite??!1,e.data.push(t),e.data.push(...M)}catch(h){e.isError=!0,e.error=`${h}`,V1("Unable to get web structure",a.href,h)}return e}async function AZ(a){if(!uZ())return;let l=I2,c={hubid:Y0,id:Y0,url:"",siteId:Y0,isHubRoot:!1,isRootWeb:!1,webs:[]};if(l.isError)return V1(`Unable to get site info ${l.error}`),c;let e=V3;if(e.isError)return V1(`Unable to get root web info ${e.error}`),c;let h=await JS(a);if(h.isError)return V1(`Unable to get root subweb info ${e.error}`),c;let Z=await tm(h.data),o=nZ(h.data,l.data.Id,l.data.HubSiteId),r=nZ(Z.filter((M)=>!M.isError).flatMap((M)=>M.data),l.data.Id,l.data.HubSiteId),v=[...o,...r],t={hubid:l.data.HubSiteId,id:e.data.Id,url:e.data.Url,siteId:l.data.Id,isHubRoot:l.data.IsHubSite,isRootWeb:!0};return c={...t,webs:[t,...u8(v,l.data.Id)]},c}async function VZ(a,l,c){if(!f5())return;if(!vm)return;let e=c??I2.data.HubSiteId,h=[];for await(let n of Eg(a.web.toUrl().replace("_api/web",""),e))h.push(...n);let Z={id:"",url:"",siteId:e,hubid:e,isHubRoot:!0,isRootWeb:!0,sites:[],webs:[]},o=Ig(h),r=o.findIndex((n)=>n.hubid===e&&n.siteId===e),v=r>-1?o.splice(r,1)[0]:void 0;if(!v)P2("API Call did not return Hub ROOT",e),v={id:V3.data.Id,url:V3.data.Url,hubid:e,siteId:e,isHubRoot:!0,isRootWeb:!0};Z.id=v.id,Z.url=v.url,Z.hubid=v.hubid,Z.siteId=v.siteId,Z.sites.push({...v,webs:[v]});let t=u8(o,v.siteId),M=Z.sites.find((n)=>n.id===v.id);if(M)M.webs.push(...t);else Z.webs.push(...t);let m=HZ(o);Z.sites.push(...m),Z.webs.push(...o);for(let n of vm.webs.sort((A,u)=>A.url.localeCompare(u.url)))if(Z.sites.flatMap((A)=>A.webs).findIndex((A)=>A.id===n.id)===-1){let A=Z.sites.findIndex((u)=>u.siteId===n.siteId);if(A<0){Z.sites.push({id:n.id,url:n.url,hubid:n.hubid,siteId:n.siteId,isHubRoot:!1,isRootWeb:!0,webs:[n]});continue}Z.sites[A].webs.push(n),Z.sites[A].webs=Z.sites[A].webs.sort((u,d)=>u.url.localeCompare(d.url))}let H=rm([...l],e);if(H){for(let n of H.sites){let A=Z.sites.find((u)=>u.id===n.id);if(A){for(let u of n.webs)if(A.webs.find((C)=>C.id===u.id))continue;else A.webs.push(u);A.webs=A.webs.sort((u,d)=>u.url.localeCompare(d.url));continue}Z.sites.push(n)}for(let n of H.webs)if(Z.webs.find((u)=>u.id===n.id))continue;else Z.webs.push(n)}let i=[];for(let n of Z.webs){let A=Z.sites.find((d)=>d.id===n.siteId);if(!A)continue;if(i.push({...n}),!A.webs.find((d)=>d.id===n.id))A.webs.push({...n}),A.webs=A.webs.sort((d,C)=>d.url.localeCompare(C.url))}return Z.webs=Z.webs.filter((n)=>i.findIndex((A)=>A.id===n.id)>-1),Z.webs=Z.webs.sort((n,A)=>n.url.localeCompare(A.url)),Z}async function*Eg(a,l,c=!0){let e=G5(a,c?"_api/v2.1/sites":"").using(oZ());if(c)e.filter(`sharepointIds/hubSiteId eq '${l}'`).top(99);e.on.parse.replace(async(Z,o,r)=>{let v={"@odata.context":"",value:[],"@odata.nextLink":""};if(o.ok)try{return r=await o.json(),[Z,o,r]}catch(t){return V1("Unable to parse hubdata response",Z,t),[Z,o,v]}return V1("Error getting hubdata",Z,o.statusText),[Z,o,v]});let h=await e();if(yield h.value,h["@odata.nextLink"])yield*Eg(h["@odata.nextLink"],l,!1)}async function mm(a){return Sc(()=>a.site.rootWeb(),{})}async function JS(a){return Sc(()=>a.site.rootWeb.webs(),[])}async function Mm(a){return Sc(()=>a.site(),{})}async function Hm(a){return Sc(()=>a.web(),{})}async function Gg(a){return Sc(()=>a.web.webs(),[])}async function Sc(a,l){let c={data:l,error:"",warnings:[],isError:!1};try{let e=await a();c.data=e}catch(e){c.isError=!0,c.error=`${e}`}return c}var im=n8(),dZ=new URL(im?im:P4()),a0=Tg(),I2=await Mm(a0),V3=!I2.isError?await mm(a0):{data:{},warnings:[],error:"Unable to get root web since site is not available",isError:!0},U4=await Hm(a0),U2=!im;function f5(){if(I2.isError||V3.isError||U4.isError)return!1;return I2.data.IsHubSite&&V3.data.Id===U4.data.Id}function nm(){if(I2.isError)return!1;return I2.data.HubSiteId!==Y0}function uZ(){if(V3.isError||U4.isError)return!1;return U4.data.Id===V3.data.Id}function qg(){if(I2.isError||V3.isError)return!0;return V3.data.Id!==U4.data.Id}var $S=await hm(a0),zg=await V8(a0),XS=await tZ(a0,$S,zg.data.enabledAppCollections),w0=G0(zg.data),em=G0(!1),A3=G0(XS),s1=G0(),F1=G0(),fc=G0();var vm=await AZ(a0);M3(()=>{Eh("Configuration",F1.value?.config)});function cm(a){return{name:a,manifest:Mc,activated:!1}}function Am(a){let l=P1(A3.value),c=l.findIndex((e)=>e.name===a.name);if(c>-1)l.splice(c,1,a);else l.push(a);A3.value=l}function r2(a,l=!1){let c=P1(a);if(s1.value=c,l)Am(c)}function CZ(){if(U2)return"global";if(f5())return"hubRoot";if(nm()&&!f5())return"hubChild";if(!nm())return"nonHub";if(qg())return"subsite";return"other"}var YS=t6({root:{display:"flex",height:"auto",width:"auto",boxSizing:"border-box"},horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"},wrap:{flexWrap:"wrap"},noWrap:{flexWrap:"nowrap"},horizontalAlign_start:{justifyContent:"flex-start"},horizontalAlign_end:{justifyContent:"flex-end"},horizontalAlign_center:{justifyContent:"center"},horizontalAlign_spaceBetween:{justifyContent:"space-between"},horizontalAlign_spaceAround:{justifyContent:"space-around"},horizontalAlign_spaceEvenly:{justifyContent:"space-evenly"},horizontalAlign_stretch:{justifyContent:"stretch"},verticalAlign_start:{alignItems:"flex-start"},verticalAlign_end:{alignItems:"flex-end"},verticalAlign_center:{alignItems:"center"},verticalAlign_spaceBetween:{alignItems:"space-between"},verticalAlign_spaceAround:{alignItems:"space-around"},verticalAlign_spaceEvenly:{alignItems:"space-evenly"},verticalAlign_stretch:{alignItems:"stretch"},reversedHorizontal:{flexDirection:"row-reverse"},reversedVertical:{flexDirection:"column-reverse"}});function v1(a){let l=YS(),c=[l.root],e={};if(a.horizontal)if(a.reversed)c.push(l.reversedHorizontal);else c.push(l.horizontal);else if(a.reversed)c.push(l.reversedVertical);else c.push(l.vertical);if(a.grow)e.flexGrow=a.grow;if(a.gap)e.gap=a.gap;return c.push(a.wrap?l.wrap:l.noWrap),NS(a,c,l),jS(a,c,l),/*@__PURE__*/V("div",{className:c.join(" "),style:{...e,...a.style},children:a.children},void 0,!1,void 0,this)}function NS(a,l,c){switch(a.horizontalAlign){case"start":l.push(c.horizontalAlign_start);break;case"end":l.push(c.horizontalAlign_end);break;case"center":l.push(c.horizontalAlign_center);break;case"space-between":l.push(c.horizontalAlign_spaceBetween);break;case"space-around":l.push(c.horizontalAlign_spaceAround);break;case"space-evenly":l.push(c.horizontalAlign_spaceEvenly);break;case"stretch":l.push(c.horizontalAlign_stretch);break}}function jS(a,l,c){switch(a.verticalAlign){case"start":l.push(c.verticalAlign_start);break;case"end":l.push(c.verticalAlign_end);break;case"center":l.push(c.verticalAlign_center);break;case"space-between":l.push(c.verticalAlign_spaceBetween);break;case"space-around":l.push(c.verticalAlign_spaceAround);break;case"space-evenly":l.push(c.verticalAlign_spaceEvenly);break;case"stretch":l.push(c.verticalAlign_stretch);break}}g();var b7="global-toast-notification";function Kg(){return/*@__PURE__*/V(w4,{toasterId:b7},void 0,!1,void 0,this)}function Qg(){let[a,l]=m1(""),c=K3(!1);async function e(v,t){c.value=t.open}let{dispatchToast:h,updateToast:Z}=D4(b7),o=(v)=>{switch(v){case"progress":h(/*@__PURE__*/V(k2,{children:/*@__PURE__*/V(S2,{media:/*@__PURE__*/V(I5,{size:"tiny"},void 0,!1,void 0,this),children:"Creating..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{toastId:b7,timeout:-1});break}};async function r(){if(!a)return;o("progress");let v=await A8(a0,a);if(v&&v.name){Z({content:/*@__PURE__*/V(k2,{children:/*@__PURE__*/V(S2,{children:"Application created."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"success",toastId:b7,timeout:2000}),c.value=!1;return}Z({content:/*@__PURE__*/V(k2,{children:/*@__PURE__*/V(S2,{children:"Error occured. Please check console."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"error",toastId:b7,timeout:2000})}return/*@__PURE__*/V(D5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:e,children:[/*@__PURE__*/V(U0,{disableButtonEnhancement:!0,children:/*@__PURE__*/V(w2,{appearance:"primary",icon:/*@__PURE__*/V(Y6,{},void 0,!1,void 0,this),children:"Create collection"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(s2,{children:/*@__PURE__*/V(R2,{children:[/*@__PURE__*/V(x2,{action:/*@__PURE__*/V(U0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/V(L1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/V(m3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),children:"Create new application"},void 0,!1,void 0,this),/*@__PURE__*/V(D2,{style:{padding:"16px 0"},children:/*@__PURE__*/V(V5,{value:a,style:{width:"100%"},placeholder:"Enter application name",onChange:(v,t)=>{l(t.value)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(F2,{children:[/*@__PURE__*/V(U0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/V(L1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(L1,{appearance:"primary",onClick:()=>{r()},children:"Create"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Jg({app:a,onChange:l}){return/*@__PURE__*/V(p0,{defaultChecked:a.activated,onChange:(c,e)=>{l?.(a,e.checked)}},void 0,!1,void 0,this)}g();var $3={SPFXEXT:"SPFXEXT_",SPFXEXT_CORE:"SPFXEXT"};function _S(){return Object.keys(localStorage).some((a)=>a.indexOf($3.SPFXEXT)>-1&&Number(localStorage[a])>0)}function $g(a){return a.hostname.toLowerCase()==="localhost"}function Xg(a){return Number(localStorage.getItem(`${$3.SPFXEXT}${a}`))>0}var Bc=_S();function Yg({app:a}){let[l,c]=m1(localStorage.getItem(`${$3.SPFXEXT}${a.name}`)??""),[e,h]=m1(!1);return/*@__PURE__*/V(L2,{positioning:"after",open:e,children:[/*@__PURE__*/V(l2,{disableButtonEnhancement:!0,children:/*@__PURE__*/V(d4,{checked:Xg(a.name),onChange:()=>{h(!e)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(p2,{tabIndex:-1,children:[/*@__PURE__*/V(V5,{defaultValue:l,onChange:(Z,o)=>{c(o.value)}},void 0,!1,void 0,this),/*@__PURE__*/V(L1,{appearance:"primary",onClick:()=>{localStorage.setItem(`${$3.SPFXEXT}${a.name}`,l),h(!1)},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}g();async function af(a){try{fc.value=P1(a),await Wg(a0,a.name),A3.value=A3.value.filter((l)=>l.name!==a.name)}finally{fc.value=void 0}}function Ng({item:a}){let[l,c]=m1(!1);function e(h,Z){c(Z.open)}return/*@__PURE__*/V(n1,{children:[/*@__PURE__*/V(y0,{disabled:fc?.value?.name!==void 0,onClick:()=>{c(!0)},children:/*@__PURE__*/V("div",{style:{display:"flex"},children:[/*@__PURE__*/V(gC,{},void 0,!1,void 0,this),fc.value?.name===a.name&&/*@__PURE__*/V(I5,{size:"extra-small"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(D5,{open:l,surfaceMotion:null,modalType:"modal",onOpenChange:e,children:/*@__PURE__*/V(s2,{children:/*@__PURE__*/V(R2,{children:[/*@__PURE__*/V(x2,{children:["Delete ",a.name,"?"]},void 0,!0,void 0,this),/*@__PURE__*/V(D2,{children:[/*@__PURE__*/V(o3,{children:["Are you sure you want to delete app collection"," ",/*@__PURE__*/V("b",{children:a.name},void 0,!1,void 0,this),"?"]},void 0,!0,void 0,this),/*@__PURE__*/V("br",{},void 0,!1,void 0,this),/*@__PURE__*/V(o3,{children:["Deleting appcollection will result in deletion of all files in"," ",/*@__PURE__*/V(y0,{target:"_blank",onClick:()=>{window.open(`${dZ}/${k1}/${a.name}`,"_blank")},children:"this location"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/V(F2,{children:[/*@__PURE__*/V(L1,{appearance:"primary",onClick:()=>{af(a),c(!1)},children:"Yes"},void 0,!1,void 0,this),/*@__PURE__*/V(U0,{disableButtonEnhancement:!0,children:/*@__PURE__*/V(L1,{appearance:"secondary",children:"No"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}$2();function d8(a,l,c="86px"){return/*@__PURE__*/V($0,{size:"medium",color:a,style:{width:c},children:l},void 0,!1,void 0,this)}function T7({webs:a,control:l,onDeleteClick:c,additionalIcon:e,disableControl:h}){if(a.length===0)return null;function Z(r,v){if(!F1.value)return;let t=P1(F1.value),M=t.config.excludedIds.filter((n)=>r.id!==n),m=t.config.excludedHubIds.filter((n)=>r.id!==n),H=t.config.includedIds.filter((n)=>r.id!==n),i=t.config.includedHubIds.filter((n)=>r.id!==n);if(!t.config.enabledEverywhere&&v)H.push(r.id);if(t.config.enabledEverywhere&&!v)M.push(r.id);t.config.excludedIds=M,t.config.excludedHubIds=m,t.config.includedIds=H,t.config.includedHubIds=i,F1.value=t}function o(r){if(!F1.value)return!1;if(F1.value.config.enabledEverywhere)return!F1.value.config.excludedIds.includes(r.id);return F1.value.config.includedIds.includes(r.id)}return/*@__PURE__*/V(n1,{children:a.map((r)=>/*@__PURE__*/V(v1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"36px"},children:[/*@__PURE__*/V(v1,{horizontal:!0,gap:8,verticalAlign:"center",children:[e,d8(void 0,"Web","64px"),/*@__PURE__*/V(c2,{children:`${r.url}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/V(p0,{disabled:h,onChange:(v,t)=>{Z(r,t.checked)},checked:o(r)},void 0,!1,void 0,this):/*@__PURE__*/V(L1,{onClick:()=>c?.({item:r,itemType:"web"}),icon:/*@__PURE__*/V(D7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function C8({siteCollections:a,control:l,onDeleteClick:c,additionalIcon:e,disableControl:h}){function Z(o,r){if(!F1.value)return;let v=P1(F1.value),t=v.config.excludedIds.filter((m)=>!o.webs.some((H)=>H.id===m)&&o.siteId!==m),M=v.config.includedIds.filter((m)=>!o.webs.some((H)=>H.id===m)&&o.siteId!==m);if(!v.config.enabledEverywhere&&r)M.push(o.siteId);if(v.config.enabledEverywhere&&!r)t.push(o.siteId);v.config.excludedIds=t,v.config.includedIds=M,F1.value=v}return/*@__PURE__*/V(n1,{children:a.map((o)=>/*@__PURE__*/V(v1,{children:[/*@__PURE__*/V(v1,{horizontal:!0,style:{minHeight:"36px"},verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/V(v1,{horizontal:!0,verticalAlign:"center",gap:8,children:[d8("warning","Site"),o.url]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/V(p0,{checked:(F1.value?.config?.enabledEverywhere||F1.value?.config?.includedIds?.includes(o.siteId))&&!F1.value?.config?.excludedIds?.includes(o.siteId),disabled:h,onChange:(r,v)=>{Z(o,v.checked)}},void 0,!1,void 0,this):/*@__PURE__*/V(L1,{onClick:()=>c?.({item:o,itemType:"site"}),icon:/*@__PURE__*/V(D7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/V(T7,{webs:o.webs,control:l,onDeleteClick:c,additionalIcon:e,disableControl:h||F1.value?.config.excludedIds.includes(o.siteId)||F1.value?.config.includedIds.includes(o.siteId)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function gZ({hubSites:a,onDeleteClick:l,control:c}){function e(h,Z){if(!F1.value)return;let o=P1(F1.value);function r(H){let i=!h.webs.some((d)=>d.id===H||d.hubid===H),n=!h.sites.some((d)=>d.id===H||d.hubid===H),A=!h.sites.some((d)=>d.webs.some((C)=>C.id===H||C.hubid===H)),u=h.hubid!==H&&h.siteId!==H;return i&&n&&A&&u}let v=o.config.excludedIds.filter(r),t=o.config.excludedHubIds.filter(r),M=o.config.includedIds.filter(r),m=o.config.includedHubIds.filter(r);if(!o.config.enabledEverywhere&&Z)m.push(h.hubid);if(o.config.enabledEverywhere&&!Z)t.push(h.hubid);o.config.excludedIds=v,o.config.excludedHubIds=t,o.config.includedIds=M,o.config.includedHubIds=m,F1.value=o}return/*@__PURE__*/V(n1,{children:a.map((h)=>/*@__PURE__*/V(v1,{children:[/*@__PURE__*/V(v1,{horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/V(v1,{horizontal:!0,gap:8,verticalAlign:"center",style:{height:"36px"},children:[d8("success","Hub"),h.url]},void 0,!0,void 0,this),c==="switch"?/*@__PURE__*/V(p0,{checked:(F1.value?.config?.enabledEverywhere||F1.value?.config?.includedHubIds?.includes(h.hubid))&&!F1.value?.config?.excludedHubIds?.includes(h.hubid),onChange:(Z,o)=>{e(h,o.checked)}},void 0,!1,void 0,this):/*@__PURE__*/V(L1,{onClick:()=>l?.({item:h,itemType:"hub"}),icon:/*@__PURE__*/V(D7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/V(C8,{control:c,siteCollections:h.sites,onDeleteClick:l,additionalIcon:/*@__PURE__*/V(X6,{},void 0,!1,void 0,this),disableControl:F1.value?.config.excludedHubIds.includes(h.hubid)||F1.value?.config.includedHubIds.includes(h.hubid)},void 0,!1,void 0,this),/*@__PURE__*/V(T7,{control:c,webs:h.webs,onDeleteClick:l,additionalIcon:/*@__PURE__*/V(Ph,{},void 0,!1,void 0,this),disableControl:F1.value?.config.excludedHubIds.includes(h.hubid)||F1.value?.config.includedHubIds.includes(h.hubid)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}$2();var lf={invalid:{message:"Invalid URL"},duplicate:{message:"URL already exists"}};function jg(a){let l;if(!(a.toLowerCase().startsWith(window.location.origin.toLowerCase())||a.startsWith("/")))l=lf.invalid;return{urlInput:a,error:l}}function _g(){let[a,l]=m1(""),[c,e]=m1(""),[h,Z]=m1(!1);async function o(){if(!c)return;let r=jg(c);if(r.error){l(r.error.message);return}let v=c.startsWith("/")?new URL(c,window.location.origin):new URL(c);Z(!0);let t=await Ug(v,!0);if(Z(!1),t.isError){l(t.error);return}if(f5()){if(!t.data.every((m)=>m.hubid===I2.data.HubSiteId)){l("You can only add child hub sites when configuring a hub root.");return}}let M=P1(w0.value);M.urlMap=M.urlMap.filter((m)=>{return!t.data.some((H)=>H.id===m.id)}),M.urlMap.push(...t.data),w0.value=M,l(""),e("")}return/*@__PURE__*/V(v1,{style:{padding:"8px 24px",width:"100%"},gap:8,children:[/*@__PURE__*/V(f4,{intent:"info",children:/*@__PURE__*/V(B4,{children:"Add site collections and hub child sites."},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(v1,{horizontal:!0,gap:8,children:[/*@__PURE__*/V(V5,{style:{width:"100%"},onChange:(r,v)=>{e(v.value)},onKeyDown:(r)=>{if(r.key==="Enter")o()},onFocus:()=>{l("")},value:c,placeholder:"Site/Web URL"},void 0,!1,void 0,this),/*@__PURE__*/V(L1,{disabled:!c||h,onClick:()=>o(),icon:h?/*@__PURE__*/V(I5,{size:"tiny"},void 0,!1,void 0,this):/*@__PURE__*/V(Y6,{},void 0,!1,void 0,this),children:"Add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),a?/*@__PURE__*/V(c2,{style:{color:u2.colorPaletteRedForeground1},children:a},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var g8=G0(!1);function ap(){let a=b3(),[l,c]=m1(!1),[e,h]=m1(!1),[Z,o]=m1(w0.value),[r,v]=m1([]),[t,M]=m1([]),[m,H]=m1([]);E5(()=>{if(!w0.value)return;if(!Z){o(w0.value);return}let A=JSON.stringify(w0.value),u=JSON.stringify(Z);o(w0.value),h(A!==u)}),E5(()=>{if(!w0.value)return;if(U2){let A=MZ(w0.value.urlMap);v(A.hubs),M(A.sites),H(A.webs);return}if(!U2&&f5())VZ(a0,w0.value.urlMap).then((A)=>{if(A)v([A])})});function i(A){if(!w0.value)return;let u=P1(w0.value);if(A.itemType==="hub")u.urlMap=u.urlMap.filter((d)=>d.hubid!==A.item.hubid);if(A.itemType==="site")u.urlMap=u.urlMap.filter((d)=>d.siteId!==A.item.siteId);if(A.itemType==="web")u.urlMap=u.urlMap.filter((d)=>d.id!==A.item.id);w0.value=u}async function n(){if(!w0.value)return;c(!0);try{await mZ(a0,w0.value)}finally{c(!1),h(!1),g8.value=!1}}return/*@__PURE__*/V(f2,{...a,separator:!0,open:g8.value,onOpenChange:()=>{},position:"end",size:"large",children:[/*@__PURE__*/V(b2,{children:/*@__PURE__*/V(T2,{action:/*@__PURE__*/V(L1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/V(m3,{},void 0,!1,void 0,this),onClick:()=>{g8.value=!1}},void 0,!1,void 0,this),children:"Manage sites"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(B2,{children:/*@__PURE__*/V(n1,{children:[/*@__PURE__*/V(_g,{},void 0,!1,void 0,this),/*@__PURE__*/V(v1,{gap:12,children:[r.length>0?/*@__PURE__*/V(n1,{children:[/*@__PURE__*/V(M5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/V(y5,{},void 0,!1,void 0,this),/*@__PURE__*/V(v1,{children:/*@__PURE__*/V(gZ,{hubSites:r,control:"delete",onDeleteClick:i},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,t.length>0?/*@__PURE__*/V(n1,{children:[/*@__PURE__*/V(M5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/V(y5,{},void 0,!1,void 0,this),/*@__PURE__*/V(v1,{children:/*@__PURE__*/V(C8,{siteCollections:t,control:"delete",additionalIcon:/*@__PURE__*/V(X6,{},void 0,!1,void 0,this),onDeleteClick:i},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,m.length>0?/*@__PURE__*/V(n1,{children:[/*@__PURE__*/V(M5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/V(y5,{},void 0,!1,void 0,this),/*@__PURE__*/V(v1,{children:/*@__PURE__*/V(T7,{webs:m,control:"delete",onDeleteClick:i},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(q3,{children:/*@__PURE__*/V(v1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/V(L1,{appearance:"secondary",onClick:()=>{g8.value=!1},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/V(L1,{disabled:!e||l,appearance:"primary",onClick:()=>{n()},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}async function cf(a,l){let c=await V8(a0),e=c.data.enabledAppCollections.includes(a.name);if(l!==e){if(l)c.data.enabledAppCollections.push(a.name);else c.data.enabledAppCollections.splice(c.data.enabledAppCollections.indexOf(a.name),1);await mZ(a0,c.data)}a.activated=l,Am(a)}var ef=[{columnId:"name",text:"App Collection"},{columnId:"enabled",text:"Enabled"},{columnId:"InDebug",text:"In Debug"},{columnId:"Delete",text:""}];function lp(a){if(s1.value)return null;return/*@__PURE__*/V(v1,{gap:16,children:[/*@__PURE__*/V(p4,{children:/*@__PURE__*/V(v1,{gap:8,horizontal:!0,children:[/*@__PURE__*/V(Qg,{},void 0,!1,void 0,this),U2||f5()?/*@__PURE__*/V(w2,{appearance:"secondary",onClick:()=>{g8.value=!0},icon:/*@__PURE__*/V(FC,{},void 0,!1,void 0,this),children:"Manage sites"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(F4,{children:[/*@__PURE__*/V(R4,{children:/*@__PURE__*/V(L7,{children:ef.map((l)=>/*@__PURE__*/V(s4,{children:l.text},l.columnId,!1,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(L4,{children:A3.value.map((l)=>/*@__PURE__*/V(L7,{children:[/*@__PURE__*/V(v3,{children:/*@__PURE__*/V(t3,{media:/*@__PURE__*/V(AC,{},void 0,!1,void 0,this),children:/*@__PURE__*/V(y0,{onClick:()=>{s1.value=P1(l)},children:l.name},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(v3,{children:/*@__PURE__*/V(t3,{children:/*@__PURE__*/V(Jg,{app:l,onChange:cf},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(v3,{children:/*@__PURE__*/V(t3,{children:/*@__PURE__*/V(Yg,{app:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(v3,{children:/*@__PURE__*/V(t3,{children:/*@__PURE__*/V(Ng,{item:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},l.name,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}$2();async function hf(a,l){let c=n3(a),e=a.web.getFileByUrl(`${k1}/${l}/${X0}`),h=await e.exists(),Z={data:Mc,error:"",isError:!1,warnings:[]};if(!h)return await A8(a,l),await a.web.lists.getByTitle(k1).rootFolder.folders.getByUrl(l).files.addUsingPath(X0,JSON.stringify(Mc)),N0(`Created ${X0} in ${k1}/${l} folder in ${c}`),Z;try{let r=await(await e.getBlob()).text(),v=JSON.parse(r);return Z.data=v,Z}catch(o){let r=`Error while parsing ${X0} in ${k1}/${l} folder in ${c}`;return V1(r,o),Z.error=r,Z.isError=!0,Z}}async function cp(a,l,c){await hf(a,l);let e=a.web.getFileByUrl(`${k1}/${l}/${X0}`);try{return await e.setContent(JSON.stringify(c)),!0}catch(h){let Z=n3(a);return V1(`Error while updating ${X0} in ${k1}/${l} folder in ${Z}`,h),!1}}var Zf=t6({root:{height:"auto",width:"auto"},verticalFill:{height:"100%"},disableShrink:{flexShrink:0},alignAuto:{alignSelf:"auto"},alignStretch:{alignSelf:"stretch"},alignBaseline:{alignSelf:"baseline"},alignStart:{alignSelf:"start"},alignCenter:{alignSelf:"center"},alignEnd:{alignSelf:"end"}});function ep(a){let l=Zf(),c=[l.root],e={};if(a.disableShrink)c.push(l.disableShrink);else if(a.shrink)e.flexShrink=a.shrink;if(a.grow)e.flexGrow=a.grow;if(a.basis)e.flexBasis=a.basis;if(of(a,c,l),a.className)c.push(a.className);return/*@__PURE__*/V("div",{className:c.join(" "),style:{...e},children:a.children},void 0,!1,void 0,this)}function of(a,l,c){switch(a.align){case"start":l.push(c.alignStart);break;case"end":l.push(c.alignEnd);break;case"center":l.push(c.alignCenter);break;case"stretch":l.push(c.alignStretch);break;case"baseline":l.push(c.alignBaseline);break;case"auto":l.push(c.alignAuto);break}}async function hp(a,l=0){let e=(/*@__PURE__*/new TextEncoder()).encode(a),h=await window.crypto.subtle.digest("SHA-1",e),o=Array.from(new Uint8Array(h)).map((r)=>r.toString(16).padStart(2,"0")).join("");return l>0?o.substring(0,l):o}var dm=(a,l)=>l.some((c)=>a instanceof c),Zp,op;function rf(){return Zp||(Zp=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function vf(){return op||(op=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var Cm=/*@__PURE__*/new WeakMap,Vm=/*@__PURE__*/new WeakMap,pZ=/*@__PURE__*/new WeakMap;function tf(a){let l=new Promise((c,e)=>{let h=()=>{a.removeEventListener("success",Z),a.removeEventListener("error",o)},Z=()=>{c(W7(a.result)),h()},o=()=>{e(a.error),h()};a.addEventListener("success",Z),a.addEventListener("error",o)});return pZ.set(l,a),l}function mf(a){if(Cm.has(a))return;let l=new Promise((c,e)=>{let h=()=>{a.removeEventListener("complete",Z),a.removeEventListener("error",o),a.removeEventListener("abort",o)},Z=()=>{c(),h()},o=()=>{e(a.error||new DOMException("AbortError","AbortError")),h()};a.addEventListener("complete",Z),a.addEventListener("error",o),a.addEventListener("abort",o)});Cm.set(a,l)}var gm={get(a,l,c){if(a instanceof IDBTransaction){if(l==="done")return Cm.get(a);if(l==="store")return c.objectStoreNames[1]?void 0:c.objectStore(c.objectStoreNames[0])}return W7(a[l])},set(a,l,c){return a[l]=c,!0},has(a,l){if(a instanceof IDBTransaction&&(l==="done"||l==="store"))return!0;return l in a}};function mp(a){gm=a(gm)}function Mf(a){if(vf().includes(a))return function(...l){return a.apply(pm(this),l),W7(this.request)};return function(...l){return W7(a.apply(pm(this),l))}}function Hf(a){if(typeof a==="function")return Mf(a);if(a instanceof IDBTransaction)mf(a);if(dm(a,rf()))return new Proxy(a,gm);return a}function W7(a){if(a instanceof IDBRequest)return tf(a);if(Vm.has(a))return Vm.get(a);let l=Hf(a);if(l!==a)Vm.set(a,l),pZ.set(l,a);return l}var pm=(a)=>pZ.get(a);function Mp(a,l,{blocked:c,upgrade:e,blocking:h,terminated:Z}={}){let o=indexedDB.open(a,l),r=W7(o);if(e)o.addEventListener("upgradeneeded",(v)=>{e(W7(o.result),v.oldVersion,v.newVersion,W7(o.transaction),v)});if(c)o.addEventListener("blocked",(v)=>c(v.oldVersion,v.newVersion,v));return r.then((v)=>{if(Z)v.addEventListener("close",()=>Z());if(h)v.addEventListener("versionchange",(t)=>h(t.oldVersion,t.newVersion,t))}).catch(()=>{}),r}function Hp(a,{blocked:l}={}){let c=indexedDB.deleteDatabase(a);if(l)c.addEventListener("blocked",(e)=>l(e.oldVersion,e));return W7(c).then(()=>{return})}var nf=["get","getKey","getAll","getAllKeys","count"],Af=["put","add","delete","clear"],um=/*@__PURE__*/new Map;function rp(a,l){if(!(a instanceof IDBDatabase&&!(l in a)&&typeof l==="string"))return;if(um.get(l))return um.get(l);let c=l.replace(/FromIndex$/,""),e=l!==c,h=Af.includes(c);if(!(c in(e?IDBIndex:IDBObjectStore).prototype)||!(h||nf.includes(c)))return;let Z=async function(o,...r){let v=this.transaction(o,h?"readwrite":"readonly"),t=v.store;if(e)t=t.index(r.shift());return(await Promise.all([t[c](...r),h&&v.done]))[0]};return um.set(l,Z),Z}mp((a)=>({...a,get:(l,c,e)=>rp(l,c)||a.get(l,c,e),has:(l,c)=>!!rp(l,c)||a.has(l,c)}));var Vf=["continue","continuePrimaryKey","advance"],vp={},Lm=/*@__PURE__*/new WeakMap,ip=/*@__PURE__*/new WeakMap,uf={get(a,l){if(!Vf.includes(l))return a[l];let c=vp[l];if(!c)c=vp[l]=function(...e){Lm.set(this,ip.get(this)[l](...e))};return c}};async function*df(...a){let l=this;if(!(l instanceof IDBCursor))l=await l.openCursor(...a);if(!l)return;l=l;let c=new Proxy(l,uf);ip.set(c,l),pZ.set(c,pm(l));while(l)yield c,l=await(Lm.get(c)||l.continue()),Lm.delete(c)}function tp(a,l){return l===Symbol.asyncIterator&&dm(a,[IDBIndex,IDBObjectStore,IDBCursor])||l==="iterate"&&dm(a,[IDBIndex,IDBObjectStore])}mp((a)=>({...a,get(l,c,e){if(tp(l,c))return df;return a.get(l,c,e)},has(l,c){return tp(l,c)||a.has(l,c)}}));var j1={AppFolderManifestCache:"AppFolderManifestCache",AppCollectionManifestCache:"AppCollectionManifestCache",AllowedApps:"AllowedApps",HubSiteData:"HubSiteData",SPFxExtensionConfig:"SPFxExtensionConfig"},np=`${$3.SPFXEXT}COREDB`,Ap=Mp(np,1,{blocking(a,l,c){l5.close(),alert("A new version of this page is ready. Please reload the page.")},async upgrade(a,l,c,e,h){if(l===0)a.createObjectStore(j1.AppFolderManifestCache,{keyPath:"url"}),a.createObjectStore(j1.AppCollectionManifestCache,{keyPath:"url"}),a.createObjectStore(j1.AllowedApps,{keyPath:"Id"}),a.createObjectStore(j1.HubSiteData,{keyPath:"SiteId"}),a.createObjectStore(j1.SPFxExtensionConfig,{keyPath:"Title"})}});Ap.catch((a)=>{throw V1("Error opening database for Core, please contact your administrator."),Hp(np).then(()=>{window.location.reload()}),a});var l5=await Ap;function p8(a){let l=/*@__PURE__*/new Date;return l.setMinutes(l.getMinutes()+a),{expires:l.toISOString()}}async function L8(a,l){let c=await l5.getAll(a),e=/*@__PURE__*/new Date,h=c.filter((o)=>{let r=new Date(o.expires);return e>=r}),Z=h.length;if(Z>0){let o=l5.transaction(a,"readwrite"),r=o.objectStore(a);h.forEach((v)=>r.delete(v[l])),await o.done,P2(`Evicted ${Z} items from ${a} cache.`)}return Z}async function Fm(){return await L8(j1.SPFxExtensionConfig,"Title"),l5.getAll(j1.SPFxExtensionConfig)}async function P7(a){return await L8(j1.SPFxExtensionConfig,"Title"),l5.get(j1.SPFxExtensionConfig,a)}async function E2(a,l=60){await l5.put(j1.SPFxExtensionConfig,{...a,...p8(l)})}function Vp(a,l){let c=l5.transaction(j1.SPFxExtensionConfig,"readwrite"),e=c.objectStore(j1.SPFxExtensionConfig);return a.forEach((h)=>e.put({...h,...p8(l)})),c.done}async function up(){return l5.getAll(j1.AllowedApps)}async function Rm(a){return l5.get(j1.AppFolderManifestCache,a)}async function xm(a){return l5.get(j1.AppCollectionManifestCache,a)}async function wx1(a){return l5.get(j1.HubSiteData,a)}async function kx1(a,l=60){await l5.put(j1.HubSiteData,{...a,...p8(l)})}async function Cf(a,l=60){await l5.put(j1.AppCollectionManifestCache,{...a,...p8(l)})}async function gf(a,l=60){await l5.put(j1.AppFolderManifestCache,{...a,...p8(l)})}async function dp(a,l=5){let c=p8(l),e=l5.transaction(j1.AllowedApps,"readwrite"),h=e.objectStore(j1.AllowedApps);return a.forEach((Z)=>h.put({...c,...Z})),e.done}function pf(a){return l5.delete(j1.AppCollectionManifestCache,a)}function Lf(a){return l5.delete(j1.AppFolderManifestCache,a)}async function Ff(){return L8(j1.AppCollectionManifestCache,"url")}async function Rf(){return L8(j1.AppFolderManifestCache,"url")}async function Cp(){return L8(j1.AllowedApps,"Id")}async function Sx1(){return L8(j1.HubSiteData,"SiteId")}async function gp(a){if(a){let l=await Rm(a.url);if(l){if(l.hash!==a.hash)await Lf(a.url),P2(`Evicted ${X0} ${l.url} from cache. Because of hash mismatch.`)}}return Rf()}async function pp(a){if(a){let l=await xm(a.url);if(l){if(l.hash!==a.hash)await pf(a.url),P2(`Evicted ${e2} ${l.url} from cache. Because of hash mismatch.`)}}return Ff()}async function fx1(a){if(await gp(),Bc)return;return Rm(a)}async function Bx1(a,l){await gp(a);let c=await Rm(a.url);if(c&&c.hash===a.hash&&!Bc)return;await gf(a,l)}async function bx1(a,l){await pp(a);let c=await xm(a.url);if(c&&c.hash===a.hash&&!Bc)return;await Cf(a,l)}async function Tx1(a){if(await pp(),Bc)return;return xm(a)}var sm=/*@__PURE__*/new Map;async function Lp(a,l=!1){let c="";if(sm.has(a)&&!l)c=sm.get(a)||"";if(c)return c;let e=await fetch(`${a}/_api/contextinfo`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json"}});if(e.status===200){let Z=(await e.json()).d.GetContextWebInformation.FormDigestValue;return sm.set(a,Z),Z}else V1("Error while getting digest",e.status);return""}var Dm=(a)=>{},LZ;async function FZ(a=""){if(LZ)return LZ;LZ=new Promise((l)=>{Dm=l});try{let e=(await(await fetch(`${a}/_api/SP_TenantSettings_Current`,{headers:{Accept:"application/json;odata=verbose"}})).json()).d.CorporateCatalogUrl;Dm(e)}catch(l){V1("Error while getting app catalog url. Trying default /sites/appcatalog",l);let c=`${window.location.origin}/sites/appcatalog`;Dm(c)}return LZ}async function Fp(a=""){let l=await P7("AppCatalogUrl");if(l?.Data)return l.Data;let c=await FZ(a);return await E2({Title:"AppCatalogUrl",Data:c,date:"",expires:""},240),c}async function B5(a=""){let c=`${await Fp()}${a?`/${a}`:""}`;return Lp(c)}var xf=await Fp(),H0=`${xf}/${s0}`;var xp={Status:"Status",RootCDNLocation:"RootCDNLocation",InterceptHistory:"InterceptHistory",EnableAppWhiteList:"EnableAppWhiteList",AppCatalogUrl:"AppCatalogUrl",SPFxDataSite:"SPFxDataSite",ConfiguratorPageData:"ConfiguratorPageData",AppWhiteList:"AppWhiteList",Version:"2025-05-13T10:09:54.918Z"},Rp=[{Title:"Status",Data:"Installed"},{Title:"InterceptHistory",Data:"true"},{Title:"EnableAppWhiteList",Data:"false"},{Title:"RootCDNLocation",Data:`/sites/appcatalog/${s0}`}];function sp(a){let l=Rp.find((c)=>c.Title==="RootCDNLocation");if(l)l.Data=a;return Rp}var sf=Object.keys(xp).length,RZ;async function Df(){let a=`${H0}/_api/web/lists/GetByTitle('${N6}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){let e=(await l.json()).d.results,h=e.map((o)=>o.InternalName),Z=e.find((o)=>o.InternalName==="Title");if(!Z){V1("Title field not found.");return}if(!Z.EnforceUniqueValues){let o=await B5(s0);if((await fetch(`${H0}/_api/web/lists/GetByTitle('${N6}')/fields('${Z.Id}')`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":o,"X-HTTP-Method":"MERGE","If-Match":"*"},body:JSON.stringify({__metadata:{type:"SP.Field"},Indexed:!0,EnforceUniqueValues:!0})})).status===204)N0("Title field updated successfully.");else V1("Unable to update Title field.")}if(!h.includes("Data")){let o=await B5(s0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":o},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:"Data",FieldTypeKind:2,Required:!0})})).status===201)N0("Data field added successfully.");else V1("Unable to add Data field.")}}}catch(l){V1("Error while ensuring configuration list data fields.",l)}}async function wf(){let a=!1;try{if(a=(await fetch(`${H0}/_api/web/lists/GetByTitle('${N6}')`)).status===404,a){let c=await B5(s0);if(N0("Creating configuration list."),(await fetch(`${H0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":c},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:"SPFxExtensionsConfiguration",Description:"Configuration list for SPFxExtensions"})})).status===201)N0("Configuration list created successfully.");else V1("Unable to create configuration list.")}await Df()}catch(l){V1("Error while ensuring configuration list.",l)}return a}async function Dp(){let a=`${H0}/_api/web/lists/GetByTitle('${N6}')/items?$select=Title,Data`,c=await fetch(a,{...{headers:{Accept:"application/json;odata=verbose"}}});if(c.status!==200)return V1("Unable to fetch configuration list items."),[];return(await c.json()).d.results}async function kf(){let a=await B5(s0);for(let l of sp(H0))if((await fetch(`${H0}/_api/web/lists/GetByTitle('${N6}')/items`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":a},body:JSON.stringify({__metadata:{type:"SP.Data.SPFxExtensionsConfigurationListItem"},...l})})).status===201)N0(`Item ${l.Title} added successfully.`);else V1(`Unable to add item ${l.Title}.`)}function wp(a=!1){if(a)return Dp();if(RZ)return RZ;return RZ=Sf(),RZ}async function Sf(){let a=await Fm();if(a.length<sf){if(await wf())await kf();let c=await Dp();await Vp(c,240),a=await Fm()}return a}async function ff(a){let l=await FZ(),c=await B5(),e=await fetch(`${l}/_api/web/webs/add`,{method:"POST",headers:{Accept:"application/json;odata=nometadata","Content-Type":"application/json","X-RequestDigest":c},body:JSON.stringify({parameters:{Description:"Site that stores SPFxExtensions Data and global apps",Language:1033,Title:"SPFxExtensions Data",Url:a,UseSamePermissionsAsParentSite:!0,WebTemplate:"STS"}})});if(!e.ok)throw new Error(`Failed to create SPFxExtensionsData web in ${l}`);return await e.json()}async function Bf(){let a=await FZ(),l=await B5(),c=await fetch(`${a}/${s0}/_api/web`,{method:"GET",headers:{Accept:"application/json;odata=nometadata","X-RequestDigest":l}});if(!c.ok){if(c.status===404)return{data:void 0,isError:!1,error:"",warnings:[`SPFxExtensionsData web not found in ${a}`]};return V1(`Failed to fetch data from ${a}/${s0}/_api/web`),{data:void 0,isError:!0,error:`Failed to fetch data from ${a}/${s0}/_api/web`,warnings:[]}}return{data:await c.json(),isError:!1,error:"",warnings:[]}}async function bf(){return(await P7("SPFxDataSite"))?.Data}var xZ;function kp(){if(xZ)return xZ;return xZ=Tf(),xZ}async function Tf(){let a=await bf();if(!a){let l=await Bf();if(!l.isError&&!l.data){let c=await ff(s0);l.data=c}return await E2({Title:"SPFxDataSite",Data:l.data,date:"",expires:""},240),l.data}return a}var wm="f3ab710f-2c08-422e-a7ad-5d93eb51e7a3",sZ={accept:"application/json"},Wf={"Content-Type":"application/json"};async function Pf(){let l={"X-RequestDigest":await B5(s0)};return(await(await fetch(`${H0}/_api/sitepages/pages`,{headers:{...sZ,...l,...Wf},body:JSON.stringify({PageLayoutType:"SingleWebPartAppPage",PromotedState:0}),method:"POST"})).json()).Id}async function km(){let a=await fetch(`${H0}/_api/sitepages/pages/GetByUrl('${yh}')`,{headers:{...sZ},method:"GET"});if(a.status===404)return;return await a.json()}var Of=[{dataVersion:"1.4",description:"Title Region Description",id:"cbe7b0a9-3504-44dd-a3a3-0e5cacd07788",instanceId:"cbe7b0a9-3504-44dd-a3a3-0e5cacd07788",properties:{authorByline:[],authors:[],layoutType:"FullWidthImage",showPublishDate:!1,showTopicHeader:!1,textAlignment:"Left",title:"SPFx Extensions Configurator",topicHeader:"",enableGradientEffect:!0},reservedHeight:280,serverProcessedContent:{htmlStrings:{},searchablePlainTexts:{},imageSources:{},links:{}},title:"Title area"}],yf=[{addedFromPersistedData:!1,controlType:3,displayMode:2,emphasis:{},id:wm,position:{controlIndex:1,layoutIndex:1,sectionFactor:12,sectionIndex:1,zoneIndex:1},reservedHeight:500,reservedWidth:500,webPartData:{dataVersion:"1.0",description:"Allows you to add a custom developed app",id:nt,instanceId:wm,properties:{description:"Select an app to load from the dropdown below",selectedApp:sC,SPFxExtensionAppConfiguration:void 0},title:"SPFx Extension Loader"},webPartId:nt},{controlType:0,pageSettingsSlice:{isDefaultDescription:!0,isDefaultThumbnail:!0}}],If={CanvasContent1:`${JSON.stringify(yf)}`,LayoutWebpartsContent:`${JSON.stringify(Of)}`,Title:DC};async function Sp(a){let c={"X-RequestDigest":await B5(s0)};await fetch(`${H0}/_api/sitepages/pages(${a})/savepage`,{headers:{"Content-Type":"application/json",...sZ,...c},body:JSON.stringify(If),method:"POST"}),await fetch(`${H0}/_api/sitepages/pages(${a})/publish`,{headers:{...sZ,...c},method:"POST"})}async function Uf(){let a=await Pf();return await Sp(a),km()}async function Ef(){let a=await P7("ConfiguratorPageData");if(a?.Data)return a.Data;let l=await km();if(l)await E2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480);return l}async function fp(){let a=await Ef();if(!a)return Uf();if(a.CanvasContent1.indexOf(wm)===-1){await Sp(a.Id);let l=await km();return await E2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480),l}return a}async function Gf(){let a=`${H0}/_api/web/lists/GetByTitle('${j6}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){if(!(await l.json()).d.results.map((Z)=>Z.InternalName).some((Z)=>Z==="EntryPointUrl"))await qf(a,"EntryPointUrl","Full URL to the Entrypoint JS file, if * is specified all entries will be allowed.",!0)}}catch(l){V1("Error while ensuring list fields.",l)}}async function qf(a,l,c,e){let h=await B5(s0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":h},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:l,FieldTypeKind:3,Required:e,Description:c})})).status===201)N0(l,"field added successfully.");else V1(l,"Unable to add field.")}async function zf(){try{let a=await fetch(`${H0}/_api/web/lists/GetByTitle('${j6}')?$select=*`,{method:"GET",headers:{Accept:"application/json;odata=verbose"}});if(a.status===404){N0("Creating app white list.");let c=await B5(s0),e=await fetch(`${H0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":c},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:j6,Description:"App whitelist for SPFxExtensions"})});if(e.status===201)return N0("App whitelist created successfully."),e.json();else{V1("Unable to create app whitelist.");return}}return await Gf(),a.json()}catch(a){V1("Error while ensuring app whitelist.",a)}return}async function Bp(){let a=await P7("AppWhiteList");if(a?.Data)return a.Data;let l=await zf();if(l)await E2({Title:"AppWhiteList",Data:l,date:"",expires:""},480);return l}var DZ;async function Kf(){if(DZ)return DZ;return DZ=Qf(),DZ}async function Qf(){await kp(),await Bp(),await fp(),window.__SPFxExtensions.Utils.ConfiguratorPageUrl=`${H0}/${yh}`}async function F8(a=!1){return await Kf(),wp(a)}async function us1(){return`${`${(await F8()).find((e)=>e.Title==="RootCDNLocation")?.Data??`${H0}`}${wC}`}${e2}`}async function Fs1(){let a=await F8(),l=["spfxextensions","ff36e5d0-f7c7-421d-9e21-0a422626209a"];if(a.find((c)=>c.Title==="Version")?.Data!=="2025-05-13T10:09:54.918Z"){a=await F8(!0),E2({Title:"Version",Data:"2025-05-13T10:09:54.918Z",date:"",expires:""},240);let c=await caches.keys(),e=!1;for(let h of c){let Z=await caches.open(h),o=await Z.keys(),r=[];for(let v of o){let t=v.url.toLowerCase();if(l.some((M)=>t.indexOf(M)>-1))Eh("Deleting cache key",v),e=!0,r.push(Z.delete(v,{ignoreMethod:!0,ignoreSearch:!0}))}await Promise.allSettled(r)}if(e)window.location.reload()}}function bp(){return hp(`${Date.now()}`,13)}function Tp(){let a=K3(""),l=K3(!1);async function c(h,Z){l.value=Z.open}async function e(){if(!a.value||!s1.value||s1.value.manifest.appDefinitionMap.some((o)=>o.appId===a.value))return;let h={appId:a.value,config:P1(_6)},Z=P1(s1.value);Z.manifest.appDefinitionMap.push(h),s1.value=Z,l.value=!1}if(!s1.value||s1.value.manifest.isESM)return null;return/*@__PURE__*/V(D5,{open:l.value,surfaceMotion:null,modalType:"alert",onOpenChange:c,children:[/*@__PURE__*/V(U0,{disableButtonEnhancement:!0,children:/*@__PURE__*/V(w2,{appearance:"outline",icon:/*@__PURE__*/V(Y6,{},void 0,!1,void 0,this),children:"Add Entry"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(s2,{children:/*@__PURE__*/V(R2,{children:[/*@__PURE__*/V(x2,{action:/*@__PURE__*/V(U0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/V(L1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/V(m3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),children:"Create new app config"},void 0,!1,void 0,this),/*@__PURE__*/V(D2,{style:{padding:"16px 0"},children:/*@__PURE__*/V(V5,{value:a.value,style:{width:"100%"},placeholder:"Enter application id or entrypoint path",onChange:(h,Z)=>{a.value=Z.value}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(F2,{children:[/*@__PURE__*/V(U0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/V(L1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(L1,{appearance:"primary",disabled:!a.value||s1.value?.manifest.appDefinitionMap.some((h)=>h.appId===a.value),onClick:()=>{e()},children:"Create"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Jf=$f();async function $f(){try{let a=await Cp(),l=await up();if(l.length>0&&!a)return l;if(l.length>0)N0("Cache mismatch, loading allowed apps data...");let c=await Wp();return await dp(c,5),c}catch(a){return V1("Unable to load allowed apps data...",a),[]}}async function Wp(a=!1){if((await F8(a)).find((e)=>e.Title==="EnableAppWhiteList")?.Data!=="true")return[{Id:1,Title:"All apps allowed",EntryPointUrl:"*",date:(/*@__PURE__*/new Date()).toISOString(),expires:(/*@__PURE__*/new Date()).toISOString()}];return Xf()}async function Xf(){let a=`${H0}/_api/web/lists/getByTitle('${j6}')/Items?$select=Id,Title,EntryPointUrl&$top=1000`;return await Yf(a)}async function Yf(a){let l=a,c=[];while(l){let h=await(await fetch(l,{method:"GET",headers:{Accept:"application/json;odata=verbose"}})).json();if(h.error)throw new Error(JSON.stringify(h.error));c.push(...h.d.results),l=h.d.__next}return c}function Nf(a,l){if(l.some((h)=>h.EntryPointUrl==="*"))return!0;let e=(a.origin+a.pathname).toLowerCase();return l.some((h)=>{try{let Z=new URL(h.EntryPointUrl),o=Z.origin+Z.pathname;return e===o.toLowerCase()}catch(Z){return V1("Error while parsing allowed entry URL",h.EntryPointUrl,Z),!1}})}async function Pp(a,l,c=!1){if($g(a))return!0;let e=c?await Wp(c):await Jf;if(!Nf(a,e))return P2("File",a,`is not allowed to be executed. Please add it to whitelist @ ${H0}.`),P2(`If you are a developer you can enable this app by adding localStorage item ${$3.SPFXEXT}${l} with a number value corresponding to development port of the localhost server.`),!1;return!0}async function Op(a){if(!a.manifest.isESM){let c=[];for(let h of a.manifest.appRelativeEntryPointUrls){let Z=a.manifest.appDefinitionMap.find((o)=>o.appId===h)?.config??P1(_6);c.push({appId:h,name:h,resolved:!0,config:Z})}let e=a.manifest.appDefinitionMap.filter((h)=>!c.some((Z)=>Z.appId===h.appId)).map((h)=>({...h,name:`${h.appId}`,resolved:!0}));return c.push(...P1(e)),c}let l=a.manifest.appDefinitionMap.map((c)=>{return{appId:c.appId,name:`Unknown_${c.appId}`,resolved:!1,config:c.config??P1(_6)}});for(let c of a.manifest.appRelativeEntryPointUrls){let e=c.replace(/\.\.\/?/g,"").replace(/\.\//g,""),h=new URL(`${dZ}/${k1}/${a.name}/${e}`);if(!await Pp(h,a.name,!0))continue;h.searchParams.set("t",`${Date.now()}`);try{let o=await import(`${h}`);if(!o.default){V1(`Invalid app definition file ${h}, default export not available.`);continue}if(!Array.isArray(o.default)){V1(`Invalid app definition file ${h}, default export should be an array.`);continue}if(o.default.some((r)=>!r.id||!r.name)){V1(`Invalid app definition file ${h}, default export should be an array of objects with id and name properties.`);continue}for(let r of o.default){let v=l.find((t)=>t.appId===r.id);if(v){v.name=r.name,v.resolved=!0;continue}l.push({appId:r.id,name:r.name,resolved:!0,config:P1(_6)})}}catch(o){V1(`Error loading ${h}`,o);continue}}return l}$2();var jf=CZ();function yp({appDefinitions:a}){let l=b3(),[c,e]=m1(F1.value),[h,Z]=m1(!1),[o,r]=m1([]),[v,t]=m1([]),[M,m]=m1([]);if(E5(()=>{if(!F1.value)return;if(!c){e(F1.value);return}let H=JSON.stringify(F1.value),i=JSON.stringify(c);e(F1.value),Z(H!==i)}),E5(()=>{if(!U2){if(f5())VZ(a0,w0.value.urlMap).then((H)=>{r(H?[H]:[])});if(uZ()&&!f5())AZ(a0).then((H)=>{t(H?[H]:[])})}else{let H=MZ(w0.value.urlMap);r(H.hubs),t(H.sites),m(H.webs)}}),!F1.value||!s1.value)return null;return/*@__PURE__*/V(f2,{...l,separator:!0,open:!!F1.value,position:"end",size:"large",children:[/*@__PURE__*/V(b2,{children:/*@__PURE__*/V(T2,{action:/*@__PURE__*/V(L1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/V(m3,{},void 0,!1,void 0,this),onClick:()=>{F1.value=void 0}},void 0,!1,void 0,this),children:"Enable app on sites"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(B2,{children:/*@__PURE__*/V(n1,{children:[/*@__PURE__*/V(v1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",children:[/*@__PURE__*/V(v1,{horizontal:!0,verticalAlign:"center",gap:8,children:[/*@__PURE__*/V(k0,{children:"Enable everywhere"},void 0,!1,void 0,this),/*@__PURE__*/V(L2,{withArrow:!0,children:[/*@__PURE__*/V(l2,{disableButtonEnhancement:!0,children:/*@__PURE__*/V(y0,{children:/*@__PURE__*/V(Oh,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(p2,{tabIndex:-1,children:/*@__PURE__*/V(c2,{children:jf==="global"&&"Enables app for all listed and unlisted hubs and sites in tenant."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/V(p0,{defaultChecked:F1.value.config.enabledEverywhere,onChange:(H,i)=>{let n=P1(F1.value);n.config.enabledEverywhere=i.checked,n.config.includedIds=[],n.config.excludedIds=[],n.config.includedHubIds=[],n.config.excludedHubIds=[],F1.value=n}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/V(v1,{gap:12,children:[/*@__PURE__*/V(M5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/V(y5,{},void 0,!1,void 0,this),/*@__PURE__*/V(v1,{children:o.length>0?/*@__PURE__*/V(gZ,{hubSites:o,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/V(M5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/V(y5,{},void 0,!1,void 0,this),/*@__PURE__*/V(v1,{children:v.length>0?/*@__PURE__*/V(C8,{additionalIcon:/*@__PURE__*/V(X6,{},void 0,!1,void 0,this),siteCollections:v,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/V(M5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/V(y5,{},void 0,!1,void 0,this),/*@__PURE__*/V(v1,{children:M.length>0?/*@__PURE__*/V(T7,{additionalIcon:/*@__PURE__*/V(Ph,{},void 0,!1,void 0,this),webs:M,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(q3,{children:/*@__PURE__*/V(v1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/V(L1,{appearance:"secondary",onClick:()=>{F1.value=void 0},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/V(L1,{appearance:"primary",disabled:!h,onClick:()=>{if(!F1.value)return;let H=P1(s1.value),i=P1(F1.value);H.manifest.appDefinitionMap=H.manifest.appDefinitionMap.filter((n)=>n.appId!==i.appId),H.manifest.appDefinitionMap.push(i),s1.value=H,F1.value=void 0},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Ip(){let a=K3([]),l=K3(!1);async function c(h){l.value=!1;let Z=await Op(h);l.value=!0,a.value=Z}function e(h){if(!s1.value)return;let Z=P1(s1.value);Z.manifest.appDefinitionMap=Z.manifest.appDefinitionMap.filter((o)=>o.appId!==h.appId),s1.value=Z}if(E5(()=>{if(!s1.value)return;c(s1.value)}),!s1.value)return null;if(!l.value)return/*@__PURE__*/V(v1,{style:{marginTop:"10px"},children:/*@__PURE__*/V(E3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this);return/*@__PURE__*/V(v1,{style:{marginTop:"10px",borderBottom:"1px solid #eaeaea"},children:[a.value.map((h)=>{return/*@__PURE__*/V(v1,{horizontal:!0,gap:8,horizontalAlign:"space-between",verticalAlign:"center",style:{borderTop:"1px solid #eaeaea",padding:"10px 6px",minHeight:"53px"},children:[/*@__PURE__*/V(v1,{horizontal:!0,verticalAlign:"center",gap:8,grow:!0,children:[/*@__PURE__*/V(VC,{},void 0,!1,void 0,this)," ",/*@__PURE__*/V(y0,{size:"medium",onClick:()=>{F1.value={appId:h.appId,config:h.config}},children:h.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/V(v1,{gap:8,horizontal:!0,children:[!s1.value.manifest.isESM||s1.value.manifest.isESM&&!h.resolved?/*@__PURE__*/V(L1,{"aria-label":"Delete configuration item",icon:/*@__PURE__*/V(D7,{},void 0,!1,void 0,this),onClick:()=>{e(h)}},void 0,!1,void 0,this):null,/*@__PURE__*/V(L1,{"aria-label":"Edit sites",icon:/*@__PURE__*/V(nC,{},void 0,!1,void 0,this),onClick:()=>{F1.value={appId:h.appId,config:h.config}}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}),/*@__PURE__*/V(yp,{appDefinitions:a.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}$2();async function Up(a){let l={data:[],warnings:[],error:"",isError:!1},c=a.find((o)=>o.path.toLowerCase().endsWith(X0)),e=-1,h="/";if(!c)l.warnings.push("No manifest.txt file found."),l.isError=!1;else e=c.path.lastIndexOf("/"),h=c.path.substring(0,e+1);for(let o of a){if(o.size===0)continue;let r=await o.arrayBuffer(),v=new Uint8Array(r),t=o.path,M=o.path.lastIndexOf("/"),m=M>-1?o.path.substring(0,M+1):"",H="/";if(m){let i=m.split("/").filter((A)=>A.length>0),n=h.split("/").filter((A)=>A.length>0);i.forEach((A)=>{if(n.includes(A))H+=`${A}/`})}t=t.replace(H,"").replace(/^\./,""),l.data.push({fileName:t,content:v})}let Z=[];if(h!=="/"){if(Z=a.filter((o)=>!o.path.startsWith(h)),Z.length>0)l.warnings.push("Some files are outside of manifest.txt directory."),l.warnings.push(...Z.map((o)=>`File: ${o.relativePath}`))}return l}async function*Ep(a,l,c){await A8(a,l);let e=n3(a),h={data:[],error:"",isError:!1,warnings:[]},Z=[];for(let o of c){let r=o.fileName.lastIndexOf("/"),v=r>-1,t=v?o.fileName.substring(r+1):o.fileName,M=o.fileName.substring(0,r),m=`${k1}/${l}${M?`/${M}`:""}`,H=a.web.getFolderByServerRelativePath(m);if(v){if(!Z.includes(M))try{await Pg(a,l,M.split("/")),Z.push(M)}catch(i){return h.error=`Error while creating ${M} in ${m} folder in ${e}. ${i}`,h.isError=!0,h}}try{await H.files.addUsingPath(t,new Blob([o.content]),{Overwrite:!0});let i=`${t} uploaded successfully`;h.data.push(i),yield{data:i,success:!0,fileName:o.fileName}}catch(i){let n=`Error while uploading ${t} in ${m} folder in ${e}`;V1(n,i),h.warnings.push(n),yield{data:n,success:!1,fileName:o.fileName}}}if(h.data.length===0&&h.warnings.length>0)h.error="All files failed to upload.",h.isError=!0;return h}async function _f(a,l){let c=await a.web.using(lg())(),e=a.web.lists.getByTitle(k1).items.select("FileLeafRef","FileDirRef").filter(`FSObjType eq 0 and substringof('${k1}/${l}',FileDirRef)`).top(100),h=[],Z=c.ServerRelativeUrl.replace(/\/$/,"");for await(let o of e)o.forEach((v)=>{let t=v.FileDirRef.replace(`${Z}/${k1}/${l}`,"."),M=v.FileLeafRef;h.push(`${t}/${M}`)});return h}async function Gp(a,l){return(await _f(a,l)).filter((e)=>/\.js$/.test(e))}g();g();var $1=Q4(Nd(),1);var aB=/*@__PURE__*/new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function E4(a,l,c){let e=lB(a),{webkitRelativePath:h}=a,Z=typeof l==="string"?l:typeof h==="string"&&h.length>0?h:`./${a.name}`;if(typeof e.path!=="string")qp(e,"path",Z);if(c!==void 0)Object.defineProperty(e,"handle",{value:c,writable:!1,configurable:!1,enumerable:!0});return qp(e,"relativePath",Z),e}function lB(a){let{name:l}=a;if(l&&l.lastIndexOf(".")!==-1&&!a.type){let e=l.split(".").pop().toLowerCase(),h=aB.get(e);if(h)Object.defineProperty(a,"type",{value:h,writable:!1,configurable:!1,enumerable:!0})}return a}function qp(a,l,c){Object.defineProperty(a,l,{value:c,writable:!1,configurable:!1,enumerable:!0})}var cB=[".DS_Store","Thumbs.db"];function fm(a){return s7(this,void 0,void 0,function*(){if(wZ(a)&&eB(a.dataTransfer))return rB(a.dataTransfer,a.type);else if(hB(a))return ZB(a);else if(Array.isArray(a)&&a.every((l)=>("getFile"in l)&&typeof l.getFile==="function"))return oB(a);return[]})}function eB(a){return wZ(a)}function hB(a){return wZ(a)&&wZ(a.target)}function wZ(a){return typeof a==="object"&&a!==null}function ZB(a){return Sm(a.target.files).map((l)=>E4(l))}function oB(a){return s7(this,void 0,void 0,function*(){return(yield Promise.all(a.map((c)=>c.getFile()))).map((c)=>E4(c))})}function rB(a,l){return s7(this,void 0,void 0,function*(){if(a.items){let c=Sm(a.items).filter((h)=>h.kind==="file");if(l!=="drop")return c;let e=yield Promise.all(c.map(vB));return zp(Qp(e))}return zp(Sm(a.files).map((c)=>E4(c)))})}function zp(a){return a.filter((l)=>cB.indexOf(l.name)===-1)}function Sm(a){if(a===null)return[];let l=[];for(let c=0;c<a.length;c++){let e=a[c];l.push(e)}return l}function vB(a){if(typeof a.webkitGetAsEntry!=="function")return Kp(a);let l=a.webkitGetAsEntry();if(l&&l.isDirectory)return Jp(l);return Kp(a,l)}function Qp(a){return a.reduce((l,c)=>[...l,...Array.isArray(c)?Qp(c):[c]],[])}function Kp(a,l){return s7(this,void 0,void 0,function*(){var c;if(globalThis.isSecureContext&&typeof a.getAsFileSystemHandle==="function"){let Z=yield a.getAsFileSystemHandle();if(Z===null)throw new Error(`${a} is not a File`);if(Z!==void 0){let o=yield Z.getFile();return o.handle=Z,E4(o)}}let e=a.getAsFile();if(!e)throw new Error(`${a} is not a File`);return E4(e,(c=l===null||l===void 0?void 0:l.fullPath)!==null&&c!==void 0?c:void 0)})}function tB(a){return s7(this,void 0,void 0,function*(){return a.isDirectory?Jp(a):mB(a)})}function Jp(a){let l=a.createReader();return new Promise((c,e)=>{let h=[];function Z(){l.readEntries((o)=>s7(this,void 0,void 0,function*(){if(!o.length)try{let r=yield Promise.all(h);c(r)}catch(r){e(r)}else{let r=Promise.all(o.map(tB));h.push(r),Z()}}),(o)=>{e(o)})}Z()})}function mB(a){return s7(this,void 0,void 0,function*(){return new Promise((l,c)=>{a.file((e)=>{let h=E4(e,a.fullPath);l(h)},(e)=>{c(e)})})})}var kZ=Q4($p(),1);function Xp(a){return VB(a)||AB(a)||lL(a)||nB()}function nB(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
166
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
167
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
168
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
169
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nL(a,l){if(!a)return;if(typeof a==="string")return Om(a,l);var c=Object.prototype.toString.call(a).slice(8,-1);if(c==="Object"&&a.constructor)c=a.constructor.name;if(c==="Map"||c==="Set")return Array.from(a);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return Om(a,l)}function Om(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,e=new Array(l);c<l;c++)e[c]=a[c];return e}function OB(a,l){var c=a==null?null:typeof Symbol!=="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var e=[],h=!0,Z=!1,o,r;try{for(c=c.call(a);!(h=(o=c.next()).done);h=!0)if(e.push(o.value),l&&e.length===l)break}catch(v){Z=!0,r=v}finally{try{if(!h&&c.return!=null)c.return()}finally{if(Z)throw r}}return e}function yB(a){if(Array.isArray(a))return a}function HL(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(a);l&&(e=e.filter(function(h){return Object.getOwnPropertyDescriptor(a,h).enumerable})),c.push.apply(c,e)}return c}function i0(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?HL(Object(c),!0).forEach(function(e){ym(a,e,c[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):HL(Object(c)).forEach(function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(c,e))})}return a}function ym(a,l,c){if(l in a)Object.defineProperty(a,l,{value:c,enumerable:!0,configurable:!0,writable:!0});else a[l]=c;return a}function SZ(a,l){if(a==null)return{};var c=IB(a,l),e,h;if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(a);for(h=0;h<Z.length;h++){if(e=Z[h],l.indexOf(e)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(a,e))continue;c[e]=a[e]}}return c}function IB(a,l){if(a==null)return{};var c={},e=Object.keys(a),h,Z;for(Z=0;Z<e.length;Z++){if(h=e[Z],l.indexOf(h)>=0)continue;c[h]=a[h]}return c}var fZ=/*@__PURE__*/T(function(a,l){var c=a.children,e=SZ(a,wB),h=UB(e),Z=h.open,o=SZ(h,kB);return A5(l,function(){return{open:Z}},[Z]),/*@__PURE__*/y8.createElement(n1,null,c(i0(i0({},o),{},{open:Z})))});fZ.displayName="Dropzone";var AL={disabled:!1,getFilesFromEvent:fm,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};fZ.defaultProps=AL;fZ.propTypes={children:$1.default.func,accept:$1.default.objectOf($1.default.arrayOf($1.default.string)),multiple:$1.default.bool,preventDropOnDocument:$1.default.bool,noClick:$1.default.bool,noKeyboard:$1.default.bool,noDrag:$1.default.bool,noDragEventsBubbling:$1.default.bool,minSize:$1.default.number,maxSize:$1.default.number,maxFiles:$1.default.number,disabled:$1.default.bool,getFilesFromEvent:$1.default.func,onFileDialogCancel:$1.default.func,onFileDialogOpen:$1.default.func,useFsAccessApi:$1.default.bool,autoFocus:$1.default.bool,onDragEnter:$1.default.func,onDragLeave:$1.default.func,onDragOver:$1.default.func,onDrop:$1.default.func,onDropAccepted:$1.default.func,onDropRejected:$1.default.func,onError:$1.default.func,validator:$1.default.func};var VL=fZ,Im={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function UB(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=i0(i0({},AL),a),c=l.accept,e=l.disabled,h=l.getFilesFromEvent,Z=l.maxSize,o=l.minSize,r=l.multiple,v=l.maxFiles,t=l.onDragEnter,M=l.onDragLeave,m=l.onDragOver,H=l.onDrop,i=l.onDropAccepted,n=l.onDropRejected,A=l.onFileDialogCancel,u=l.onFileDialogOpen,d=l.useFsAccessApi,C=l.autoFocus,L=l.preventDropOnDocument,F=l.noClick,R=l.noKeyboard,f=l.noDrag,x=l.noDragEventsBubbling,O=l.onError,I=l.validator,o1=C1(function(){return rL(c)},[c]),r1=C1(function(){return oL(c)},[c]),j=C1(function(){return typeof u==="function"?u:iL},[u]),s=C1(function(){return typeof A==="function"?A:iL},[A]),k=U(null),y=U(null),Y=K5(EB,Im),l1=Pm(Y,2),H1=l1[0],K=l1[1],A1=H1.isFocused,Q=H1.isFileDialogActive,X=U(typeof window!=="undefined"&&window.isSecureContext&&d&&ZL()),h1=function _(){if(!X.current&&Q)setTimeout(function(){if(y.current){var g1=y.current.files;if(!g1.length)K({type:"closeDialog"}),s()}},300)};t1(function(){return window.addEventListener("focus",h1,!1),function(){window.removeEventListener("focus",h1,!1)}},[y,Q,s,X]);var S1=U([]),G1=function _(g1){if(k.current&&k.current.contains(g1.target))return;g1.preventDefault(),S1.current=[]};t1(function(){if(L)document.addEventListener("dragover",Wm,!1),document.addEventListener("drop",G1,!1);return function(){if(L)document.removeEventListener("dragover",Wm),document.removeEventListener("drop",G1)}},[k,L]),t1(function(){if(!e&&C&&k.current)k.current.focus();return function(){}},[k,C,e]);var e0=a1(function(_){if(O)O(_);else console.error(_)},[O]),q5=a1(function(_){if(_.preventDefault(),_.persist(),K4(_),S1.current=[].concat(BB(S1.current),[_.target]),Wc(_))Promise.resolve(h(_)).then(function(g1){if(Tc(_)&&!x)return;var h0=g1.length,n0=h0>0&&eL({files:g1,accept:o1,minSize:o,maxSize:Z,multiple:r,maxFiles:v,validator:I}),c5=h0>0&&!n0;if(K({isDragAccept:n0,isDragReject:c5,isDragActive:!0,type:"setDraggedFiles"}),t)t(_)}).catch(function(g1){return e0(g1)})},[h,t,e0,x,o1,o,Z,r,v,I]),t2=a1(function(_){_.preventDefault(),_.persist(),K4(_);var g1=Wc(_);if(g1&&_.dataTransfer)try{_.dataTransfer.dropEffect="copy"}catch(h0){}if(g1&&m)m(_);return!1},[m,x]),m2=a1(function(_){_.preventDefault(),_.persist(),K4(_);var g1=S1.current.filter(function(n0){return k.current&&k.current.contains(n0)}),h0=g1.indexOf(_.target);if(h0!==-1)g1.splice(h0,1);if(S1.current=g1,g1.length>0)return;if(K({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Wc(_)&&M)M(_)},[k,M,x]),z5=a1(function(_,g1){var h0=[],n0=[];if(_.forEach(function(c5){var I7=bm(c5,o1),Y3=Pm(I7,2),e1=Y3[0],u1=Y3[1],w1=Tm(c5,o,Z),q1=Pm(w1,2),Z0=q1[0],n5=q1[1],P0=I?I(c5):null;if(e1&&Z0&&!P0)h0.push(c5);else{var z2=[u1,n5];if(P0)z2=z2.concat(P0);n0.push({file:c5,errors:z2.filter(function(e5){return e5})})}}),!r&&h0.length>1||r&&v>=1&&h0.length>v)h0.forEach(function(c5){n0.push({file:c5,errors:[cL]})}),h0.splice(0);if(K({acceptedFiles:h0,fileRejections:n0,isDragReject:n0.length>0,type:"setFiles"}),H)H(h0,n0,g1);if(n0.length>0&&n)n(n0,g1);if(h0.length>0&&i)i(h0,g1)},[K,r,o1,o,Z,v,H,i,n,I]),b5=a1(function(_){if(_.preventDefault(),_.persist(),K4(_),S1.current=[],Wc(_))Promise.resolve(h(_)).then(function(g1){if(Tc(_)&&!x)return;z5(g1,_)}).catch(function(g1){return e0(g1)});K({type:"reset"})},[h,z5,e0,x]),Z1=a1(function(){if(X.current){K({type:"openDialog"}),j();var _={multiple:r,types:r1};window.showOpenFilePicker(_).then(function(g1){return h(g1)}).then(function(g1){z5(g1,null),K({type:"closeDialog"})}).catch(function(g1){if(vL(g1))s(g1),K({type:"closeDialog"});else if(tL(g1))if(X.current=!1,y.current)y.current.value=null,y.current.click();else e0(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."));else e0(g1)});return}if(y.current)K({type:"openDialog"}),j(),y.current.value=null,y.current.click()},[K,j,s,d,z5,e0,r1,r]),T5=a1(function(_){if(!k.current||!k.current.isEqualNode(_.target))return;if(_.key===" "||_.key==="Enter"||_.keyCode===32||_.keyCode===13)_.preventDefault(),Z1()},[k,Z1]),M1=a1(function(){K({type:"focus"})},[]),g5=a1(function(){K({type:"blur"})},[]),M2=a1(function(){if(F)return;if(hL())setTimeout(Z1,0);else Z1()},[F,Z1]),W5=function _(g1){return e?null:g1},z4=function _(g1){return R?null:W5(g1)},O7=function _(g1){return f?null:W5(g1)},K4=function _(g1){if(x)g1.stopPropagation()},UZ=C1(function(){return function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g1=_.refKey,h0=g1===void 0?"ref":g1,n0=_.role,c5=_.onKeyDown,I7=_.onFocus,Y3=_.onBlur,e1=_.onClick,u1=_.onDragEnter,w1=_.onDragOver,q1=_.onDragLeave,Z0=_.onDrop,n5=SZ(_,SB);return i0(i0(ym({onKeyDown:z4(G2(c5,T5)),onFocus:z4(G2(I7,M1)),onBlur:z4(G2(Y3,g5)),onClick:W5(G2(e1,M2)),onDragEnter:O7(G2(u1,q5)),onDragOver:O7(G2(w1,t2)),onDragLeave:O7(G2(q1,m2)),onDrop:O7(G2(Z0,b5)),role:typeof n0==="string"&&n0!==""?n0:"presentation"},h0,k),!e&&!R?{tabIndex:0}:{}),n5)}},[k,T5,M1,g5,M2,q5,t2,m2,b5,R,f,e]),s8=a1(function(_){_.stopPropagation()},[]),y7=C1(function(){return function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g1=_.refKey,h0=g1===void 0?"ref":g1,n0=_.onChange,c5=_.onClick,I7=SZ(_,fB),Y3=ym({accept:o1,multiple:r,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:W5(G2(n0,b5)),onClick:W5(G2(c5,s8)),tabIndex:-1},h0,y);return i0(i0({},Y3),I7)}},[y,c,r,b5,e]);return i0(i0({},H1),{},{isFocused:A1&&!e,getRootProps:UZ,getInputProps:y7,rootRef:k,inputRef:y,open:W5(Z1)})}function EB(a,l){switch(l.type){case"focus":return i0(i0({},a),{},{isFocused:!0});case"blur":return i0(i0({},a),{},{isFocused:!1});case"openDialog":return i0(i0({},Im),{},{isFileDialogActive:!0});case"closeDialog":return i0(i0({},a),{},{isFileDialogActive:!1});case"setDraggedFiles":return i0(i0({},a),{},{isDragActive:l.isDragActive,isDragAccept:l.isDragAccept,isDragReject:l.isDragReject});case"setFiles":return i0(i0({},a),{},{acceptedFiles:l.acceptedFiles,fileRejections:l.fileRejections,isDragReject:l.isDragReject});case"reset":return i0({},Im);default:return a}}function iL(){}var uL={},GB=function(a,l,c,e,h){var Z=new Worker(uL[l]||(uL[l]=URL.createObjectURL(new Blob([a+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return Z.onmessage=function(o){var r=o.data,v=r.$e$;if(v){var t=new Error(v[0]);t.code=v[1],t.stack=v[2],h(t,null)}else h(null,r)},Z.postMessage(c,e),Z},C5=Uint8Array,q4=Uint16Array,gL=Int32Array,Gm=new C5([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),qm=new C5([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),pL=new C5([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),LL=function(a,l){var c=new q4(31);for(var e=0;e<31;++e)c[e]=l+=1<<a[e-1];var h=new gL(c[30]);for(var e=1;e<30;++e)for(var Z=c[e];Z<c[e+1];++Z)h[Z]=Z-c[e]<<5|e;return{b:c,r:h}},FL=LL(Gm,2),zm=FL.b,qB=FL.r;zm[28]=258,qB[258]=28;var RL=LL(qm,0),xL=RL.b,OD1=RL.r,WZ=new q4(32768);for(f1=0;f1<32768;++f1)u3=(f1&43690)>>1|(f1&21845)<<1,u3=(u3&52428)>>2|(u3&13107)<<2,u3=(u3&61680)>>4|(u3&3855)<<4,WZ[f1]=((u3&65280)>>8|(u3&255)<<8)>>1;var u3,f1,R8=function(a,l,c){var e=a.length,h=0,Z=new q4(l);for(;h<e;++h)if(a[h])++Z[a[h]-1];var o=new q4(l);for(h=1;h<l;++h)o[h]=o[h-1]+Z[h-1]<<1;var r;if(c){r=new q4(1<<l);var v=15-l;for(h=0;h<e;++h)if(a[h]){var t=h<<4|a[h],M=l-a[h],m=o[a[h]-1]++<<M;for(var H=m|(1<<M)-1;m<=H;++m)r[WZ[m]>>v]=t}}else{r=new q4(e);for(h=0;h<e;++h)if(a[h])r[h]=WZ[o[a[h]-1]++]>>15-a[h]}return r},Pc=new C5(288);for(f1=0;f1<144;++f1)Pc[f1]=8;var f1;for(f1=144;f1<256;++f1)Pc[f1]=9;var f1;for(f1=256;f1<280;++f1)Pc[f1]=7;var f1;for(f1=280;f1<288;++f1)Pc[f1]=8;var f1,sL=new C5(32);for(f1=0;f1<32;++f1)sL[f1]=5;var f1;var DL=/*@__PURE__*/R8(Pc,9,1);var wL=/*@__PURE__*/R8(sL,5,1),bZ=function(a){var l=a[0];for(var c=1;c<a.length;++c)if(a[c]>l)l=a[c];return l},v2=function(a,l,c){var e=l/8|0;return(a[e]|a[e+1]<<8)>>(l&7)&c},TZ=function(a,l){var c=l/8|0;return(a[c]|a[c+1]<<8|a[c+2]<<16)>>(l&7)},kL=function(a){return(a+7)/8|0},PZ=function(a,l,c){if(l==null||l<0)l=0;if(c==null||c>a.length)c=a.length;return new C5(a.subarray(l,c))};var SL=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],d5=function(a,l,c){var e=new Error(l||SL[a]);if(e.code=a,Error.captureStackTrace)Error.captureStackTrace(e,d5);if(!c)throw e;return e},fL=function(a,l,c,e){var h=a.length,Z=e?e.length:0;if(!h||l.f&&!l.l)return c||new C5(0);var o=!c,r=o||l.i!=2,v=l.i;if(o)c=new C5(h*3);var t=function(b5){var Z1=c.length;if(b5>Z1){var T5=new C5(Math.max(Z1*2,b5));T5.set(c),c=T5}},M=l.f||0,m=l.p||0,H=l.b||0,i=l.l,n=l.d,A=l.m,u=l.n,d=h*8;do{if(!i){M=v2(a,m,1);var C=v2(a,m+1,3);if(m+=3,!C){var L=kL(m)+4,F=a[L-4]|a[L-3]<<8,R=L+F;if(R>h){if(v)d5(0);break}if(r)t(H+F);c.set(a.subarray(L,R),H),l.b=H+=F,l.p=m=R*8,l.f=M;continue}else if(C==1)i=DL,n=wL,A=9,u=5;else if(C==2){var f=v2(a,m,31)+257,x=v2(a,m+10,15)+4,O=f+v2(a,m+5,31)+1;m+=14;var I=new C5(O),o1=new C5(19);for(var r1=0;r1<x;++r1)o1[pL[r1]]=v2(a,m+r1*3,7);m+=x*3;var j=bZ(o1),s=(1<<j)-1,k=R8(o1,j,1);for(var r1=0;r1<O;){var y=k[v2(a,m,s)];m+=y&15;var L=y>>4;if(L<16)I[r1++]=L;else{var Y=0,l1=0;if(L==16)l1=3+v2(a,m,3),m+=2,Y=I[r1-1];else if(L==17)l1=3+v2(a,m,7),m+=3;else if(L==18)l1=11+v2(a,m,127),m+=7;while(l1--)I[r1++]=Y}}var H1=I.subarray(0,f),K=I.subarray(f);A=bZ(H1),u=bZ(K),i=R8(H1,A,1),n=R8(K,u,1)}else d5(1);if(m>d){if(v)d5(0);break}}if(r)t(H+131072);var A1=(1<<A)-1,Q=(1<<u)-1,X=m;for(;;X=m){var Y=i[TZ(a,m)&A1],h1=Y>>4;if(m+=Y&15,m>d){if(v)d5(0);break}if(!Y)d5(2);if(h1<256)c[H++]=h1;else if(h1==256){X=m,i=null;break}else{var S1=h1-254;if(h1>264){var r1=h1-257,G1=Gm[r1];S1=v2(a,m,(1<<G1)-1)+zm[r1],m+=G1}var e0=n[TZ(a,m)&Q],q5=e0>>4;if(!e0)d5(3);m+=e0&15;var K=xL[q5];if(q5>3){var G1=qm[q5];K+=TZ(a,m)&(1<<G1)-1,m+=G1}if(m>d){if(v)d5(0);break}if(r)t(H+131072);var t2=H+S1;if(H<K){var m2=Z-K,z5=Math.min(K,t2);if(m2+H<0)d5(3);for(;H<z5;++H)c[H]=e[m2+H]}for(;H<t2;++H)c[H]=c[H-K]}}if(l.l=i,l.p=X,l.b=H,l.f=M,i)M=1,l.m=A,l.d=n,l.n=u}while(!M);return H!=c.length&&o?PZ(c,0,H):c.subarray(0,H)};var zB=/*@__PURE__*/new C5(0);var KB=function(a,l){var c={};for(var e in a)c[e]=a[e];for(var e in l)c[e]=l[e];return c},dL=function(a,l,c){var e=a(),h=a.toString(),Z=h.slice(h.indexOf("[")+1,h.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var o=0;o<e.length;++o){var r=e[o],v=Z[o];if(typeof r=="function"){l+=";"+v+"=";var t=r.toString();if(r.prototype)if(t.indexOf("[native code]")!=-1){var M=t.indexOf(" ",8)+1;l+=t.slice(M,t.indexOf("(",M))}else{l+=t;for(var m in r.prototype)l+=";"+v+".prototype."+m+"="+r.prototype[m].toString()}else l+=t}else c[v]=r}return l},BZ=[],QB=function(a){var l=[];for(var c in a)if(a[c].buffer)l.push((a[c]=new a[c].constructor(a[c])).buffer);return l},JB=function(a,l,c,e){if(!BZ[c]){var h="",Z={},o=a.length-1;for(var r=0;r<o;++r)h=dL(a[r],h,Z);BZ[c]={c:dL(a[o],h,Z),e:Z}}var v=KB({},BZ[c].e);return GB(BZ[c].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+l.toString()+"}",c,v,QB(v),e)},$B=function(){return[C5,q4,gL,Gm,qm,pL,zm,xL,DL,wL,WZ,SL,R8,bZ,v2,TZ,kL,PZ,d5,fL,Km,BL,bL]};var BL=function(a){return postMessage(a,[a.buffer])},bL=function(a){return a&&{out:a.size&&new C5(a.size),dictionary:a.dictionary}},XB=function(a,l,c,e,h,Z){var o=JB(c,e,h,function(r,v){o.terminate(),Z(r,v)});return o.postMessage([a,l],l.consume?[a.buffer]:[]),function(){o.terminate()}};var d3=function(a,l){return a[l]|a[l+1]<<8},q2=function(a,l){return(a[l]|a[l+1]<<8|a[l+2]<<16|a[l+3]<<24)>>>0},Um=function(a,l){return q2(a,l)+q2(a,l+4)*4294967296};function YB(a,l,c){if(!c)c=l,l={};if(typeof c!="function")d5(7);return XB(a,l,[$B],function(e){return BL(Km(e.data[0],bL(e.data[1])))},1,c)}function Km(a,l){return fL(a,{i:2},l&&l.out,l&&l.dictionary)}var Em=typeof TextDecoder!="undefined"&&/*@__PURE__*/new TextDecoder,NB=0;try{Em.decode(zB,{stream:!0}),NB=1}catch(a){}var jB=function(a){for(var l="",c=0;;){var e=a[c++],h=(e>127)+(e>223)+(e>239);if(c+h>a.length)return{s:l,r:PZ(a,c-1)};if(!h)l+=String.fromCharCode(e);else if(h==3)e=((e&15)<<18|(a[c++]&63)<<12|(a[c++]&63)<<6|a[c++]&63)-65536,l+=String.fromCharCode(55296|e>>10,56320|e&1023);else if(h&1)l+=String.fromCharCode((e&31)<<6|a[c++]&63);else l+=String.fromCharCode((e&15)<<12|(a[c++]&63)<<6|a[c++]&63)}};function _B(a,l){if(l){var c="";for(var e=0;e<a.length;e+=16384)c+=String.fromCharCode.apply(null,a.subarray(e,e+16384));return c}else if(Em)return Em.decode(a);else{var h=jB(a),Z=h.s,c=h.r;if(c.length)d5(8);return Z}}var ab=function(a,l){return l+30+d3(a,l+26)+d3(a,l+28)},lb=function(a,l,c){var e=d3(a,l+28),h=_B(a.subarray(l+46,l+46+e),!(d3(a,l+8)&2048)),Z=l+46+e,o=q2(a,l+20),r=c&&o==4294967295?cb(a,Z):[o,q2(a,l+24),q2(a,l+42)],v=r[0],t=r[1],M=r[2];return[d3(a,l+10),v,t,h,Z+d3(a,l+30)+d3(a,l+32),M]},cb=function(a,l){for(;d3(a,l)!=1;l+=4+d3(a,l+2));return[Um(a,l+12),Um(a,l+4),Um(a,l+20)]};var CL=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(a){a()};function TL(a,l,c){if(!c)c=l,l={};if(typeof c!="function")d5(7);var e=[],h=function(){for(var u=0;u<e.length;++u)e[u]()},Z={},o=function(u,d){CL(function(){c(u,d)})};CL(function(){o=c});var r=a.length-22;for(;q2(a,r)!=101010256;--r)if(!r||a.length-r>65558)return o(d5(13,0,1),null),h;var v=d3(a,r+8);if(v){var t=v,M=q2(a,r+16),m=M==4294967295||t==65535;if(m){var H=q2(a,r-12);if(m=q2(a,H)==101075792,m)t=v=q2(a,H+32),M=q2(a,H+48)}var i=l&&l.filter,n=function(u){var d=lb(a,M,m),C=d[0],L=d[1],F=d[2],R=d[3],f=d[4],x=d[5],O=ab(a,x);M=f;var I=function(r1,j){if(r1)h(),o(r1,null);else{if(j)Z[R]=j;if(!--v)o(null,Z)}};if(!i||i({name:R,size:L,originalSize:F,compression:C}))if(!C)I(null,PZ(a,O,O+L));else if(C==8){var o1=a.subarray(O,O+L);if(F<524288||L>0.8*F)try{I(null,Km(o1,{out:new C5(F)}))}catch(r1){I(r1,null)}else e.push(YB(o1,{size:F},I))}else I(d5(14,"unknown compression type "+C,1),null);else I(null,null)};for(var A=0;A<t;++A)n(A)}else o(null,{});return h}async function WL(a){let l=await a.arrayBuffer(),c={data:[],warnings:[],error:"",isError:!1},e=new Promise((m,H)=>{TL(new Uint8Array(l),(i,n)=>{if(i)H(i);m(n)})}),h=void 0;try{h=await e}catch(m){return c.error=`${m}`,c.isError=!0,c}let Z=[];Object.keys(h).forEach((m)=>{Z.push(m)});let o=Z.find((m)=>m.toLowerCase().endsWith(X0));if(!o)c.warnings.push("No manifest file found in the zip."),o="";let r=o.lastIndexOf("/"),v="";if(r>-1)v=o.substring(0,r+1);let t=Z.filter((m)=>!m.startsWith(v)),M=Z.filter((m)=>m.startsWith(v));if(t.length>0)c.warnings.push("Some files are not in the root directory and wont be included."),c.warnings.push(...t.map((m)=>`File: ${m}`));return M.forEach((m)=>{let H=h[m],i=m.substring(v.length);if(H.length>0)c.data.push({fileName:i,content:H})}),c}var PL={display:"flex",flexDirection:"column",alignItems:"center",padding:"20px",borderWidth:2,borderRadius:4,borderColor:"#eeeeee",borderStyle:"dashed",outline:"none",transition:"border .24s ease-in-out",gap:12,minHeight:"68px",justifyContent:"center"},OL={borderColor:u2.colorCompoundBrandForeground1},yL={borderColor:u2.colorPaletteGreenForeground1},IL={borderColor:u2.colorPaletteRedForeground1};var X3=G0([]),OZ=G0(!1);function UL(){let[a,l]=m1(0);async function c(e){X3.value=[...e];let h=Ep(a0,s1.value.name,e),Z=await h.next(),o=1;while(!Z.done){l(o++);let r=Z.value,v=e.find((M)=>M.fileName===r.fileName),t=r.fileName.toLowerCase().endsWith(X0);if(v)v.status=r.success?"uploaded":"error";if(t&&r.success&&v){let M=P1(s1.value),m=(/*@__PURE__*/new TextDecoder()).decode(v.content),H=JSON.parse(m);M.manifest=H,r2(M,!0)}X3.value=[...e],Z=await h.next()}setTimeout(()=>{OZ.value=!0,l(0)},3000)}return/*@__PURE__*/V(v1,{gap:16,children:/*@__PURE__*/V(v1,{children:/*@__PURE__*/V(VL,{useFsAccessApi:!1,onDropAccepted:(e,h)=>{if(e.length===1&&e[0].name.endsWith(".zip")){WL(e[0]).then((Z)=>{let o=Z.data.map((r)=>{return{status:"uploading",...r}});c(o)});return}Up(e).then((Z)=>{let o=Z.data.map((r)=>{return{status:"uploading",...r}});c(o)})},multiple:!0,noClick:!0,noKeyboard:!0,children:({getRootProps:e,getInputProps:h,isFocused:Z,isDragAccept:o,isDragReject:r,open:v})=>/*@__PURE__*/V("div",{...e({style:{...PL,...Z?OL:{},...o?yL:{},...r?IL:{}}}),children:X3.value.some((t)=>t.status==="uploading")?/*@__PURE__*/V(V4,{validationMessage:`Uploaded ${a} of ${X3.value.length} files `,validationState:"none",validation:!0,style:{width:"100%"},children:/*@__PURE__*/V(E3,{max:X3.value.length-1,value:a,thickness:"large"},void 0,!1,void 0,this)},void 0,!1,void 0,this):/*@__PURE__*/V(n1,{children:[/*@__PURE__*/V("input",{...h()},void 0,!1,void 0,this),/*@__PURE__*/V(o3,{children:[/*@__PURE__*/V(O6,{children:"Choose a file(s) "},void 0,!1,void 0,this),"or drag it here"]},void 0,!0,void 0,this),/*@__PURE__*/V(L1,{appearance:"primary",onClick:v,children:"Browse"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function Qm({jsFiles:a}){let l=s1.value,c=b3();async function e(h,Z){if(!l)return;if(h)l.manifest.appRelativeEntryPointUrls.push(Z);if(!h)l.manifest.appRelativeEntryPointUrls=l.manifest.appRelativeEntryPointUrls.filter((o)=>o!==Z);r2(l,!0)}if(!l)return null;return/*@__PURE__*/V(f2,{...c,separator:!0,open:x8.value,onOpenChange:(h,{open:Z})=>{x8.value=Z?x8.value:void 0},style:{width:"440px"},children:[/*@__PURE__*/V(b2,{children:/*@__PURE__*/V(T2,{action:/*@__PURE__*/V(L1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/V(m3,{},void 0,!1,void 0,this),onClick:()=>x8.value=void 0},void 0,!1,void 0,this),children:"Manage Entry Points"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(B2,{children:/*@__PURE__*/V(v1,{gap:16,style:{padding:"12px 0px"},children:[/*@__PURE__*/V(UL,{},void 0,!1,void 0,this),/*@__PURE__*/V(v1,{gap:4,children:[a.map((h)=>/*@__PURE__*/V(p0,{label:h,labelPosition:"before",defaultChecked:l.manifest.appRelativeEntryPointUrls.some((Z)=>Z===h),onChange:(Z,o)=>{e(o.checked,h)},root:{style:{justifyContent:"space-between"}}},void 0,!1,void 0,this)),/*@__PURE__*/V(v1,{gap:20,style:{marginTop:"10px",padding:"0px 10px 0 8px"},children:X3.value.map((h)=>/*@__PURE__*/V(v1,{horizontalAlign:"space-between",horizontal:!0,children:[/*@__PURE__*/V(v1,{children:h.fileName},void 0,!1,void 0,this),h.status==="uploaded"&&/*@__PURE__*/V($0,{size:"medium",appearance:"ghost",color:"success",icon:/*@__PURE__*/V(dC,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),h.status==="error"&&/*@__PURE__*/V($0,{size:"medium",appearance:"ghost",color:"danger",icon:/*@__PURE__*/V(pC,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),h.status==="uploading"&&/*@__PURE__*/V(I5,{size:"tiny"},void 0,!1,void 0,this)]},h.fileName,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var x8=G0(void 0);function EL(){let[a,l]=m1([]),c=s1.value;E5(()=>{if(!s1.value)return;Z()}),E5(()=>{if(OZ.value===!0)Z(),OZ.value=!1,X3.value=[]});let e=U(null),h=a1((o)=>{e.current?.setTarget(o)},[e]);async function Z(){if(!s1.value)return;let o=await Gp(a0,s1.value.name);l(o)}if(!c)return null;return/*@__PURE__*/V(n1,{children:[/*@__PURE__*/V(v1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{borderBottom:"1px solid #eaeaea",paddingBottom:"10px"},children:[/*@__PURE__*/V(M5,{children:"Entry points"},void 0,!1,void 0,this),/*@__PURE__*/V(v1,{horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/V(p0,{ref:h,checked:c.manifest.isESM,label:"ESM",labelPosition:"before",onChange:(o,r)=>{c.manifest.isESM=r.checked,r2(c)}},void 0,!1,void 0,this),/*@__PURE__*/V(L2,{positioning:{positioningRef:e},withArrow:!0,children:[/*@__PURE__*/V(l2,{disableButtonEnhancement:!0,children:/*@__PURE__*/V(y0,{children:/*@__PURE__*/V(Oh,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(p2,{tabIndex:-1,children:/*@__PURE__*/V(c2,{children:"Switch on if your entry points are ESM modules with default export."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),a.filter((o)=>c.manifest.appRelativeEntryPointUrls.some((r)=>o===r)).map((o)=>/*@__PURE__*/V(v1,{horizontal:!0,gap:4,verticalAlign:"center",children:[/*@__PURE__*/V(LC,{},void 0,!1,void 0,this)," ",o]},void 0,!0,void 0,this)),/*@__PURE__*/V(L1,{onClick:()=>{x8.value="edit"},children:"Upload / Edit"},void 0,!1,void 0,this),/*@__PURE__*/V(Qm,{jsFiles:a},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function GL(){let a=s1.value;if(!a)return null;return/*@__PURE__*/V(v1,{horizontal:!0,gap:20,children:[/*@__PURE__*/V(v1,{gap:16,style:{paddingBottom:"20px",flexBasis:"300px",flexShrink:0,paddingRight:"20px",borderRight:"1px solid #eaeaea"},children:/*@__PURE__*/V(EL,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/V(v1,{style:{flexGrow:1},children:[/*@__PURE__*/V(v1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"32px"},children:[/*@__PURE__*/V(v1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/V(M5,{children:"App/Entry Point Configuration"},void 0,!1,void 0,this),/*@__PURE__*/V(Tp,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/V(v1,{gap:8,horizontal:!0,children:[/*@__PURE__*/V(p0,{checked:a.manifest.enableCaching,label:"Enable caching",onChange:(l,c)=>{a.manifest.enableCaching=c.checked,r2(a)}},void 0,!1,void 0,this),/*@__PURE__*/V(V5,{placeholder:"Cache string",disabled:!a.manifest.enableCaching,type:"text",value:a.manifest.cacheString??"",onChange:(l,c)=>{a.manifest.cacheString=c.value,r2(a)}},void 0,!1,void 0,this),/*@__PURE__*/V(L1,{size:"medium",disabled:!a.manifest.enableCaching,onClick:async()=>{a.manifest.cacheString=await bp(),r2(a)},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/V(Ip,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function qL(){let[a,l]=m1(""),[c,e]=m1(!1);E5(()=>{if(!s1.value)return;let Z=JSON.stringify(s1.value);if(!a){l(Z);return}l(Z),e(a!==Z)});async function h(){let Z=s1.value;await cp(a0,Z.name,Z.manifest),r2(Z,!0),s1.value=void 0}if(!s1.value)return null;return/*@__PURE__*/V(v1,{gap:20,style:{height:"100%"},children:[/*@__PURE__*/V(v1,{horizontalAlign:"space-between",horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/V(v1,{gap:10,horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/V(L1,{appearance:"secondary",icon:/*@__PURE__*/V(uC,{},void 0,!1,void 0,this),onClick:()=>{s1.value=void 0}},void 0,!1,void 0,this),/*@__PURE__*/V(y6,{children:["Configuration of ",s1.value.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/V(v1,{horizontal:!0,gap:15,children:/*@__PURE__*/V(ep,{children:/*@__PURE__*/V(L1,{appearance:"primary",disabled:!c,onClick:h,children:"Save"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/V(GL,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Jm=n8(),yZ=Jm??P4(),IZ=CZ();function eb(){let a=[];if(U2)return a.push(/*@__PURE__*/V($0,{size:"extra-large",shape:"rounded",color:"danger",children:"Global"},"global",!1,void 0,this)),a;if(IZ==="hubRoot")a.push(/*@__PURE__*/V($0,{size:"extra-large",shape:"rounded",color:"success",children:"Hub root site"},"hubRoot",!1,void 0,this));if(IZ==="hubChild")a.push(/*@__PURE__*/V($0,{size:"extra-large",shape:"rounded",color:"warning",children:"Hub child site"},"child",!1,void 0,this));if(IZ==="nonHub")a.push(/*@__PURE__*/V($0,{size:"extra-large",shape:"rounded",color:"brand",children:"Non hub site"},"nonhub",!1,void 0,this));if(IZ==="subsite")a.push(/*@__PURE__*/V($0,{size:"extra-large",shape:"rounded",color:"informative",children:"Sub site"},"subsite",!1,void 0,this));else a.push(/*@__PURE__*/V($0,{size:"extra-large",shape:"rounded",color:"informative",children:"Site collection"},"siteCollectionRoot",!1,void 0,this));return a}function zL(){let[a]=Gc(),{dispatchToast:l}=D4(b7);if(a)return V1("Error in App component:",a),/*@__PURE__*/V("div",{children:["Error: ",a.message]},void 0,!0,void 0,this);let c=()=>l(/*@__PURE__*/V(k2,{children:/*@__PURE__*/V(S2,{children:"Link copied to clipboard."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{position:"top",intent:"info",timeout:1000,toastId:yZ});return/*@__PURE__*/V(v1,{style:{padding:"30px"},gap:20,children:[/*@__PURE__*/V(v1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/V(I6,{children:[Jm?"Web":"Global"," application list"]},void 0,!0,void 0,this),...eb()]},void 0,!0,void 0,this),Jm&&/*@__PURE__*/V(v1,{horizontal:!0,gap:8,verticalAlign:"center",children:[/*@__PURE__*/V(y0,{target:"_blank",href:yZ,children:yZ},void 0,!1,void 0,this),/*@__PURE__*/V(CC,{onClick:()=>{navigator.clipboard.writeText(yZ),c()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/V(lp,{},void 0,!1,void 0,this),/*@__PURE__*/V(qL,{},void 0,!1,void 0,this),/*@__PURE__*/V(ap,{},void 0,!1,void 0,this),/*@__PURE__*/V(Kg,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var KL=Wh(window.__globalSettings__.customizations.settings.theme.palette),hb=window.__globalSettings__.customizations.settings.theme.isInverted?s6(KL):v7(KL);document.querySelector("#spCommandBar button[name='Edit']")?.setAttribute("style","display:none;");function QL(a){return/*@__PURE__*/V(l4,{theme:hb,style:{height:"100%"},children:/*@__PURE__*/V(zL,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)}async function Hk1(a){let l=void 0;if(a.domElement)l=bM(a.domElement),l.render(QL({instance:a}));return()=>{l?.unmount()}}export{Hk1 as launch};
|
|
165
|
+
`),i="";V.push(`--batch_${v}--
|
|
166
|
+
`);let u=await K(o,{body:V.join(""),headers:{"Content-Type":`multipart/mixed; boundary=batch_${v}`}});if(u.length!==A.length)throw Error("Could not properly parse responses to match requests in batch.");for(let d=0;d<u.length;d++)A[d][3](u[d])}await Promise.all(h).then(()=>{return})}]}function k3(){return(a)=>{return a.on.pre.prepend(async function(l,c,h){return c.headers={...c.headers,"X-PnP-BatchNever":"1"},[l,c,h]}),a}}function Pk(a){let l=[],c="--batchresponse_",h=new RegExp("^HTTP/[0-9.]+ +([0-9]+) +(.*)","i"),Z=a.split(`
|
|
167
|
+
`),o="batch",v,r,e={},m=[];for(let t=0;t<Z.length;++t){let M=Z[t];switch(o){case"batch":if(M.substring(0,16)==="--batchresponse_")o="batchHeaders";else if(M.trim()!=="")throw Error(`Invalid response, line ${t}`);break;case"batchHeaders":if(M.trim()==="")o="status";break;case"status":{let H=h.exec(M);if(H.length!==3)throw Error(`Invalid status, line ${t}`);v=parseInt(H[1],10),r=H[2],o="statusHeaders";break}case"statusHeaders":if(M.trim()==="")o="body";else{let H=M.split(":");if((H===null||H===void 0?void 0:H.length)===2)e[H[0].trim()]=H[1].trim()}break;case"body":m.length=0;while(M.substring(0,16)!=="--batchresponse_")m.push(M),M=Z[++t];t--,l.push(new Response(v===204?null:m.join(""),{status:v,statusText:r,headers:e})),o="batch",e={};break}}if(o!=="status")throw Error("Unexpected end of input");return l}function PL(a){let l=/*@__PURE__*/new Date;return!D0(a)||l>a.expiration?null:a}var qL=/*@__PURE__*/new Map;function NZ(a){return(l)=>{return l.on.pre(async function(c,h,Z){return this.on.auth(async(o,v)=>{if(/get/i.test(v.method)||v.headers&&($1(v.headers,"X-RequestDigest")||$1(v.headers,"Authorization")||$1(v.headers,"X-PnPjs-NoDigest")))return[o,v];let r=o.toString(),e=M0(r),m=PL(qL.get(e));if(!D0(m)&&k5(a))m=PL(a(r,v));if(!D0(m))m=await K(b0([this,O1(e,"_api/contextinfo")]).using(JZ(),k3()),{headers:{Accept:"application/json","X-PnPjs-NoDigest":"1"}}).then((t)=>({expiration:D3(/*@__PURE__*/new Date,"second",t.FormDigestTimeoutSeconds),value:t.FormDigestValue}));if(D0(m))v.headers={"X-RequestDigest":m.value,...v.headers},qL.set(e,m);return[o,v]}),[c,h,Z]}),l}}function jZ(a){if((a===null||a===void 0?void 0:a.baseUrl)&&!T0(a.baseUrl))throw Error("SPBrowser props.baseUrl must be absolute when supplied.");return(l)=>{if(l.using(yZ(),YZ(),KZ(),QZ(),NZ()),T0(a===null||a===void 0?void 0:a.baseUrl))l.on.pre.prepend(async(c,h,Z)=>{if(!T0(c))c=O1(a.baseUrl,c);return[c,h,Z]});return l}}class sm extends Error{constructor(a){super(`SPFx Context supplied to ${a} Behavior is null or undefined.`)}static check(a,l){if(typeof l==="undefined"||l===null)throw new sm(a)}}function zL(a){return sm.check("SPFx",a),(l)=>{return l.using(yZ(),YZ(),KZ(),QZ(),NZ((c)=>{var h,Z,o;if(new RegExp(`^${O1(a.pageContext.web.absoluteUrl,"/_api")}`,"i").test(c)&&((Z=(h=a===null||a===void 0?void 0:a.pageContext)===null||h===void 0?void 0:h.legacyPageContext)===null||Z===void 0?void 0:Z.formDigestValue)){let r=new Date(a.pageContext.legacyPageContext.formDigestValue.split(",")[1]);return{value:a.pageContext.legacyPageContext.formDigestValue,expiration:D3(r,"second",((o=a.pageContext.legacyPageContext)===null||o===void 0?void 0:o.formDigestTimeoutSeconds)-15||1585)}}})),l.on.pre.prepend(async(c,h,Z)=>{if(!T0(c))c=O1(a.pageContext.web.absoluteUrl,c);return[c,h,Z]}),l}}var km=class a extends M5{getById(l){return R0(this).concat(`('${l}')`)}getByTitle(l){return R0(this,`getByTitle('${z1(l)}')`)}async add(l,c="",h=100,Z=!1,o={}){let v={AllowContentTypes:Z,BaseTemplate:h,ContentTypesEnabled:Z,Description:c,Title:l,...o};return K(this,W1(v))}async ensure(l,c="",h=100,Z=!1,o={}){let v={Title:l,Description:c,ContentTypesEnabled:Z,...o},r=this.getByTitle(v.Title);try{return await r.select("Title")(),{created:!1,data:await r.update(v),list:this.getByTitle(v.Title)}}catch(e){return{created:!0,data:await this.add(l,c,h,Z,v),list:this.getByTitle(v.Title)}}}async ensureSiteAssetsLibrary(){let l=await K(mc(this,"ensuresiteassetslibrary"));return R0([this,U2(l)])}async ensureSitePagesLibrary(){let l=await K(mc(this,"ensuresitepageslibrary"));return R0([this,U2(l)])}};km=c0([_0("lists")],km);var mc=j1(km);class c8 extends j0{constructor(){super(...arguments);this.delete=X7()}get effectiveBasePermissions(){return b0(this,"EffectiveBasePermissions")}get eventReceivers(){return z5(this,"EventReceivers")}get relatedFields(){return b0(this,"getRelatedFields")}get informationRightsManagementSettings(){return b0(this,"InformationRightsManagementSettings")}async update(a,l="*"){return await _6(this,W1(a,N6({"IF-Match":l})))}getChanges(a){return K(R0(this,"getchanges"),W1({query:a}))}getItemsByCAMLQuery(a,...l){return K(R0(this,"getitems").expand(...l),W1({query:a}))}getListItemChangesSinceToken(a){return K(R0(this,"getlistitemchangessincetoken").using(Y6()),W1({query:a}))}async recycle(){return K(R0(this,"recycle"))}async renderListData(a){let l=R0(this,"renderlistdata(@viewXml)");l.query.set("@viewXml",`'${a}'`);let c=await K(l);return JSON.parse(c)}renderListDataAsStream(a,l=null,c=/*@__PURE__*/new Map){if($1(a,"RenderOptions")&&Q0(a.RenderOptions))a.RenderOptions=a.RenderOptions.reduce((o,v)=>o+v);let h=R0(this,"RenderListDataAsStream");if(c&&c.size>0)c.forEach((o,v)=>h.query.set(v,o));let Z=D0(l)?{parameters:a,overrideParameters:l}:{parameters:a};return K(h,W1(Z))}async renderListFormData(a,l,c){let h=await K(R0(this,`renderlistformdata(itemid=${a}, formid='${l}', mode='${c}')`));return JSON.parse(h)}async reserveListItemId(){return K(R0(this,"reservelistitemid"))}async addValidateUpdateItemUsingPath(a,l,c=!1,h,Z){let o={FolderPath:A7(l)};if(D0(Z)){if(Z.leafName)o.LeafName=A7(Z.leafName);if(Z.objectType)o.UnderlyingObjectType=Z.objectType}return K(R0(this,"AddValidateUpdateItemUsingPath()"),W1({bNewDocumentUpdate:c,checkInComment:h,formValues:a,listItemCreateInfo:o}))}async getParentInfos(){let a=await this.select("Id","RootFolder/UniqueId","RootFolder/ServerRelativeUrl","RootFolder/ServerRelativePath","ParentWeb/Id","ParentWeb/Url","ParentWeb/ServerRelativeUrl","ParentWeb/ServerRelativePath").expand("RootFolder","ParentWeb")();return{List:{Id:a.Id,RootFolderServerRelativePath:a.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.RootFolder.UniqueId},ParentWeb:{Id:a.ParentWeb.Id,ServerRelativePath:a.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ParentWeb.ServerRelativeUrl,Url:a.ParentWeb.Url}}}}var R0=j1(c8),Sm;(function(a){a[a.None=0]="None",a[a.ContextInfo=1]="ContextInfo",a[a.ListData=2]="ListData",a[a.ListSchema=4]="ListSchema",a[a.MenuView=8]="MenuView",a[a.ListContentType=16]="ListContentType",a[a.FileSystemItemId=32]="FileSystemItemId",a[a.ClientFormSchema=64]="ClientFormSchema",a[a.QuickLaunch=128]="QuickLaunch",a[a.Spotlight=256]="Spotlight",a[a.Visualization=512]="Visualization",a[a.ViewMetadata=1024]="ViewMetadata",a[a.DisableAutoHyperlink=2048]="DisableAutoHyperlink",a[a.EnableMediaTAUrls=4096]="EnableMediaTAUrls",a[a.ParentInfo=8192]="ParentInfo",a[a.PageContextInfo=16384]="PageContextInfo",a[a.ClientSideComponentManifest=32768]="ClientSideComponentManifest",a[a.ListAvailableContentTypes=65536]="ListAvailableContentTypes",a[a.FolderContentTypeOrder=131072]="FolderContentTypeOrder",a[a.GridInitInfo=262144]="GridInitInfo",a[a.SiteUrlAsMediaTASPItemHost=524288]="SiteUrlAsMediaTASPItemHost",a[a.AddToOneDrive=1048576]="AddToOneDrive",a[a.SPFXCustomActions=2097152]="SPFXCustomActions",a[a.CustomActions=4194304]="CustomActions"})(Sm||(Sm={}));var Bm;(function(a){a[a.Display=1]="Display",a[a.Edit=2]="Edit",a[a.New=3]="New"})(Bm||(Bm={}));var fm=class a extends M5{getById(l){return Z2(this).concat(`(${l})`)}getItemByStringId(l){return Z2([this,this.parentUrl],`getItemByStringId('${l}')`)}skip(l,c=!1){if(c)this.query.set("$skiptoken",`Paged=TRUE&PagedPrev=TRUE&p_ID=${l}`);else this.query.set("$skiptoken",`Paged=TRUE&p_ID=${l}`);return this}[Symbol.asyncIterator](){let l=z5(this).using(c2(async(h)=>{let Z=await h.json(),o=$1(Z,"d")&&$1(Z.d,"__next")?Z.d.__next:Z["odata.nextLink"];return{hasNext:typeof o==="string"&&o.length>0,nextLink:o,value:dm(Z)}})),c=["$top","$select","$expand","$filter","$orderby","$skiptoken"];for(let h=0;h<c.length;h++){let Z=this.query.get(c[h]);if(D0(Z))l.query.set(c[h],Z)}return{_next:l,async next(){if(this._next===null)return{done:!0,value:void 0};let h=await this._next();if(h.hasNext)return this._next=z5([this._next,h.nextLink]),{done:!1,value:h.value};else return this._next=null,{done:!1,value:h.value}}}}async add(l={}){return K(this,W1(l))}};fm=c0([_0("items")],fm);var Wm=j1(fm);class h8 extends j0{constructor(){super(...arguments);this.delete=X7()}get effectiveBasePermissions(){return b0(this,"EffectiveBasePermissions")}get effectiveBasePermissionsForUI(){return b0(this,"EffectiveBasePermissionsForUI")}get fieldValuesAsHTML(){return h2(this,"FieldValuesAsHTML")}get fieldValuesAsText(){return h2(this,"FieldValuesAsText")}get fieldValuesForEdit(){return h2(this,"FieldValuesForEdit")}get versions(){return QL(this)}get list(){return this.getParent(R0,"",this.parentUrl.substring(0,this.parentUrl.lastIndexOf("/")))}async update(a,l="*"){let c=W1(a,N6({"IF-Match":l,"X-HTTP-Method":"MERGE"}));return K(Z2(this).using(qk()),c)}recycle(){return K(Z2(this,"recycle"))}async deleteWithParams(a){return K(Z2(this,"DeleteWithParameters"),W1({parameters:a}))}async getWopiFrameUrl(a=0){let l=Z2(this,"getWOPIFrameUrl(@action)");return l.query.set("@action",a),K(l)}validateUpdateListItem(a,l=!1){return K(Z2(this,"validateupdatelistitem"),W1({formValues:a,bNewDocumentUpdate:l}))}async getParentInfos(){let a=await this.select("Id","ParentList/Id","ParentList/Title","ParentList/RootFolder/UniqueId","ParentList/RootFolder/ServerRelativeUrl","ParentList/RootFolder/ServerRelativePath","ParentList/ParentWeb/Id","ParentList/ParentWeb/Url","ParentList/ParentWeb/ServerRelativeUrl","ParentList/ParentWeb/ServerRelativePath").expand("ParentList","ParentList/RootFolder","ParentList/ParentWeb")();return{Item:{Id:a.Id},ParentList:{Id:a.ParentList.Id,Title:a.ParentList.Title,RootFolderServerRelativePath:a.ParentList.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.ParentList.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.ParentList.RootFolder.UniqueId},ParentWeb:{Id:a.ParentList.ParentWeb.Id,ServerRelativePath:a.ParentList.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ParentList.ParentWeb.ServerRelativeUrl,Url:a.ParentList.ParentWeb.Url}}}async setImageField(a,l,c){let h=await this.getParentInfos(),Z=M0(this.toUrl()),o=b0([this,Z],"/_api/web/UploadImage");o.concat("(listTitle=@a1,imageName=@a2,listId=@a3,itemId=@a4)"),o.query.set("@a1",`'${h.ParentList.Title}'`),o.query.set("@a2",`'${l}'`),o.query.set("@a3",`'${h.ParentList.Id}'`),o.query.set("@a4",h.Item.Id);let v=await K(o,{body:c}),r={type:"thumbnail",fileName:v.Name,nativeFile:{},fieldName:a,serverUrl:h.ParentWeb.Url.replace(h.ParentWeb.ServerRelativeUrl,""),serverRelativeUrl:v.ServerRelativeUrl,id:v.UniqueId};return this.validateUpdateListItem([{FieldName:a,FieldValue:JSON.stringify(r)}])}}var Z2=j1(h8),Tm=class a extends M5{getById(l){return KL(this).concat(`(${l})`)}};Tm=c0([_0("versions")],Tm);var QL=j1(Tm);class JL extends j0{constructor(){super(...arguments);this.delete=X7()}}var KL=j1(JL);function qk(){return c2(async(a)=>({etag:a.headers.get("etag")}))}s3.prototype.getContextInfo=async function(a=this.parentUrl){let l=await K(b0([this,M0(a)],"_api/contextinfo"));if($1(l,"GetContextWebInformation")){let c=l.GetContextWebInformation;return c.SupportedSchemaVersions=c.SupportedSchemaVersions.results,c}else return l};var bm=class a extends M5{getByUrl(l){return K0(this).concat(`('${z1(l)}')`)}async addUsingPath(l,c=!1){return K(Mc(this,`addUsingPath(DecodedUrl='${z1(l)}',overwrite=${c})`))}};bm=c0([_0("folders")],bm);var Mc=j1(bm);class Z8 extends j0{constructor(){super(...arguments);this.delete=X7()}get folders(){return Mc(this)}get listItemAllFields(){return h2(this,"listItemAllFields")}get parentFolder(){return K0(this,"parentFolder")}get properties(){return h2(this,"properties")}get storageMetrics(){return h2(this,"storagemetrics")}async update(a){return _6(this,W1(a))}recycle(){return K(K0(this,"recycle"))}async getItem(...a){let c=await this.listItemAllFields.select(...a)();if(c["odata.null"])throw Error("No associated item was found for this folder. It may be the root folder, which does not have an item.");return Object.assign(Z2([this,U2(c)]),c)}async moveByPath(a,...l){let c={KeepBoth:!1,ShouldBypassSharedLocks:!0,RetainEditorAndModifiedOnMove:!1};if(l.length===1){if(typeof l[0]==="boolean")c.KeepBoth=l[0];else if(typeof l[0]==="object")c={...c,...l[0]}}return this.moveCopyImpl(a,c,"MoveFolderByPath")}async copyByPath(a,...l){let c={ShouldBypassSharedLocks:!0,ResetAuthorAndCreatedOnCopy:!0,KeepBoth:!1};if(l.length===1){if(typeof l[0]==="boolean")c.KeepBoth=l[0];else if(typeof l[0]==="object")c={...c,...l[0]}}return this.moveCopyImpl(a,c,"CopyFolderByPath")}async deleteWithParams(a){return K(K0(this,"DeleteWithParameters"),W1({parameters:a}))}async addSubFolderUsingPath(a){return await K(K0(this,"AddSubFolderUsingPath"),W1({leafPath:A7(a)})),this.folders.getByUrl(a)}async getParentInfos(){let a=await this.select("ServerRelativeUrl","ListItemAllFields/ParentList/Id","ListItemAllFields/ParentList/RootFolder/UniqueId","ListItemAllFields/ParentList/RootFolder/ServerRelativeUrl","ListItemAllFields/ParentList/RootFolder/ServerRelativePath","ListItemAllFields/ParentList/ParentWeb/Id","ListItemAllFields/ParentList/ParentWeb/Url","ListItemAllFields/ParentList/ParentWeb/ServerRelativeUrl","ListItemAllFields/ParentList/ParentWeb/ServerRelativePath").expand("ListItemAllFields/ParentList","ListItemAllFields/ParentList/RootFolder","ListItemAllFields/ParentList/ParentWeb")();return{Folder:{ServerRelativeUrl:a.ServerRelativeUrl},ParentList:{Id:a.ListItemAllFields.ParentList.Id,RootFolderServerRelativePath:a.ListItemAllFields.ParentList.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.ListItemAllFields.ParentList.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.ListItemAllFields.ParentList.RootFolder.UniqueId},ParentWeb:{Id:a.ListItemAllFields.ParentList.ParentWeb.Id,ServerRelativePath:a.ListItemAllFields.ParentList.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ListItemAllFields.ParentList.ParentWeb.ServerRelativeUrl,Url:a.ListItemAllFields.ParentList.ParentWeb.Url}}}moveCopyImpl(a,l,c){let h=K0(this);return h.on.pre(S4(async(Z,o,v)=>{let{ServerRelativeUrl:r,["odata.id"]:e}=await K0(this).using(k3()).select("ServerRelativeUrl")(),m=new URL(M0(e));return Z=O1(m.href,`/_api/SP.MoveCopyUtil.${c}()`),o=W1({destPath:A7(T0(a)?a:O1(m.origin,a)),options:l,srcPath:A7(O1(m.origin,r))},o),[Z,o,v]})),K(h).then(()=>EL(this,a))}}c0([H7],Z8.prototype,"moveByPath",null);c0([H7],Z8.prototype,"copyByPath",null);var K0=j1(Z8);function tc(a,l){return K0([a,M0(a.toUrl())],`_api/web/getFolderByServerRelativePath(decodedUrl='${UL(l)}')`)}async function XL(a,l){let{WebFullUrl:c}=await K0(a).using(k3()).getContextInfo(l),{pathname:h}=new URL(l);return tc(K0([a,O1(c,"_api/web")]),decodeURIComponent(h))}async function EL(a,l){return(T0(l)?XL:tc)(a,l)}J0(c8,"items",Wm);function zk(){return c2(async(a)=>{var l;return{body:a.body,knownLength:parseInt(((l=a===null||a===void 0?void 0:a.headers)===null||l===void 0?void 0:l.get("content-length"))||"-1",10)}})}class _Z extends j0{getText(){return this.getParsed(Y6())}getBlob(){return this.getParsed(uL())}getBuffer(){return this.getParsed(dL())}getJSON(){return this.getParsed(JZ())}getStream(){return b0(this,"$value").using(zk(),Lm())(N6({binaryStringResponseBody:"true"}))}getParsed(a){return b0(this,"$value").using(a,Lm())()}}var o8=class a extends M5{getByUrl(l){if(/%#/.test(l))throw Error("For file names containing % or # please use web.getFileByServerRelativePath");return G1(this).concat(`('${z1(l)}')`)}async addUsingPath(l,c,h={Overwrite:!1}){let Z=[`AddUsingPath(decodedurl='${z1(l)}'`];if(h){if(h.Overwrite)Z.push(",Overwrite=true");if(h.EnsureUniqueFileName)Z.push(`,EnsureUniqueFileName=${h.EnsureUniqueFileName}`);if(h.AutoCheckoutOnInvalidData)Z.push(",AutoCheckoutOnInvalidData=true");if(!S5(h.XorHash))Z.push(`,XorHash=${z1(h.XorHash)}`)}return Z.push(")"),K(Hc(this,Z.join("")),{body:c})}async addChunked(l,c,h){let Z=await this.addUsingPath(l,null,h),o=v8(this,Z.ServerRelativeUrl);return o.using(gm(()=>{return G1(o).delete()})),o.setContentChunked(c,h)}async addTemplateFile(l,c){return K(Hc(this,`addTemplateFile(urloffile='${z1(l)}',templatefiletype=${c})`))}};c0([H7],o8.prototype,"addUsingPath",null);c0([H7],o8.prototype,"addChunked",null);c0([H7],o8.prototype,"addTemplateFile",null);o8=c0([_0("files")],o8);var Hc=j1(o8);class Ac extends _Z{constructor(){super(...arguments);this.delete=X7()}get listItemAllFields(){return h2(this,"listItemAllFields")}get versions(){return S3(this)}async getLockedByUser(){let a=await pL(G1(this,"lockedByUser"));if(a["odata.null"]===!0)return null;else return a}approve(a=""){return K(G1(this,`approve(comment='${z1(a)}')`))}cancelUpload(a){return K(G1(this,`cancelUpload(uploadId=guid'${a}')`))}checkin(a="",l=ao.Major){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return K(G1(this,`checkin(comment='${z1(a)}',checkintype=${l})`))}checkout(){return K(G1(this,"checkout"))}copyTo(a,l=!0){return K(G1(this,`copyTo(strnewurl='${z1(a)}',boverwrite=${l})`))}async copyByPath(a,...l){let c={ShouldBypassSharedLocks:!0,ResetAuthorAndCreatedOnCopy:!0,KeepBoth:!1};if(l.length===2){if(typeof l[1]==="boolean")c.KeepBoth=l[1];else if(typeof l[1]==="object")c={...c,...l[1]}}return this.moveCopyImpl(a,c,l[0],"CopyFileByPath")}deny(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return K(G1(this,`deny(comment='${z1(a)}')`))}async moveByPath(a,...l){let c={KeepBoth:!1,ShouldBypassSharedLocks:!0,RetainEditorAndModifiedOnMove:!1};if(l.length===2){if(typeof l[1]==="boolean")c.KeepBoth=l[1];else if(typeof l[1]==="object")c={...c,...l[1]}}return this.moveCopyImpl(a,c,l[0],"MoveFileByPath")}publish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return K(G1(this,`publish(comment='${z1(a)}')`))}recycle(){return K(G1(this,"recycle"))}async deleteWithParams(a){return K(G1(this,"DeleteWithParameters"),W1({parameters:a}))}undoCheckout(){return K(G1(this,"undoCheckout"))}unpublish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return K(G1(this,`unpublish(comment='${z1(a)}')`))}async exists(){try{return(await G1(this).select("Exists")()).Exists}catch(a){return!1}}async setContent(a){return await K(G1(this,"$value"),{body:a,headers:{"X-HTTP-Method":"PUT"}}),G1(this)}async getItem(...a){let c=await this.listItemAllFields.select(...a)();return Object.assign(Z2([this,U2(c)]),c)}async setContentChunked(a,l){let{progress:c}=Qk(l),h=K7(),Z=!0,o,v=0,r=G1(this).using(gm(()=>{return G1(r).cancelUpload(h)})),m=Jk(a).getReader();while(o=await m.read())if(o.done)return c({offset:v,stage:"finishing",uploadId:h}),K(G1(r,`finishUpload(uploadId=guid'${h}',fileOffset=${v})`),{body:(o===null||o===void 0?void 0:o.value)||""});else if(Z)c({offset:v,stage:"starting",uploadId:h}),v=await K(G1(r,`startUpload(uploadId=guid'${h}')`),{body:o.value}),Z=!1;else c({offset:v,stage:"continue",uploadId:h}),v=await K(G1(r,`continueUpload(uploadId=guid'${h}',fileOffset=${v})`),{body:o.value})}moveCopyImpl(a,l,c,h){let Z=G1(this);return Z.on.pre(S4(async(o,v,r)=>{let{ServerRelativeUrl:e,["odata.id"]:m}=await G1(this).using(k3()).select("ServerRelativeUrl")(),t=new URL(M0(m));return o=O1(t.toString(),`/_api/SP.MoveCopyUtil.${h}(overwrite=@a1)?@a1=${c}`),v=W1({destPath:A7(T0(a)?a:`${t.protocol}//${t.host}${a}`),options:l,srcPath:A7(T0(e)?e:`${t.protocol}//${t.host}${e}`)},v),[o,v,r]})),K(Z).then(()=>YL(this,a))}}c0([H7],Ac.prototype,"copyByPath",null);c0([H7],Ac.prototype,"moveByPath",null);c0([H7],Ac.prototype,"setContentChunked",null);var G1=j1(Ac);function v8(a,l){return G1([a,M0(a.toUrl())],`_api/web/getFileByServerRelativePath(decodedUrl='${z1(l)}')`)}async function $L(a,l){let{WebFullUrl:c}=await G1(a).using(k3()).getContextInfo(l),{pathname:h}=new URL(l);return v8(G1([a,O1(c,"_api/web")]),decodeURIComponent(h))}async function YL(a,l){return(T0(l)?$L:v8)(a,l)}var Im=class a extends M5{getById(l){return NL(this).concat(`(${l})`)}deleteAll(){return K(S3(this,"deleteAll"))}deleteById(l){return K(S3(this,`deleteById(vid=${l})`))}recycleByID(l){return K(S3(this,`recycleByID(vid=${l})`))}deleteByLabel(l){return K(S3(this,`deleteByLabel(versionlabel='${z1(l)}')`))}recycleByLabel(l){return K(S3(this,`recycleByLabel(versionlabel='${z1(l)}')`))}restoreByLabel(l){return K(S3(this,`restoreByLabel(versionlabel='${z1(l)}')`))}};Im=c0([_0("versions")],Im);var S3=j1(Im);class yL extends _Z{constructor(){super(...arguments);this.delete=$Z()}}var NL=j1(yL),ao;(function(a){a[a.Minor=0]="Minor",a[a.Major=1]="Major",a[a.Overwrite=2]="Overwrite"})(ao||(ao={}));var Um;(function(a){a[a.None=0]="None",a[a.Overwrite=1]="Overwrite",a[a.AllowBrokenThickets=8]="AllowBrokenThickets",a[a.RetainEditorAndModifiedOnMove=2048]="RetainEditorAndModifiedOnMove"})(Um||(Um={}));var Om;(function(a){a[a.StandardPage=0]="StandardPage",a[a.WikiPage=1]="WikiPage",a[a.FormPage=2]="FormPage",a[a.ClientSidePage=3]="ClientSidePage"})(Om||(Om={}));function Qk(a){return{progress:()=>null,...a}}function Jk(a){if(Ek(a))return a.stream();else if(Xk(a))return new ReadableStream({start(l){a.on("data",(c)=>{l.enqueue(c)}),a.on("end",()=>{l.close()})}});else if($k(a))return new ReadableStream({start(l){l.enqueue(a),l.close()}});else if(Yk(a))return a.readable;else return a}var Kk=Symbol.toStringTag;function Xk(a){return typeof a.on==="function"}function Ek(a){return typeof a==="object"&&typeof a.arrayBuffer==="function"&&typeof a.type==="string"&&typeof a.stream==="function"&&typeof a.constructor==="function"&&(/^(Blob|File)$/.test(a[Kk])||/^(Blob|File)$/.test(a.constructor.name))}function $k(a){return typeof a==="object"&&typeof a.length==="number"}function Yk(a){return typeof a==="object"&&typeof a.readable==="object"}J0(Z8,"files",Hc);J0(h8,"file",G1,"file");v0.prototype.getFileByServerRelativePath=function(a){return v8(this,a)};v0.prototype.getFileById=function(a){return G1(this,`getFileById('${a}')`)};v0.prototype.getFileByUrl=function(a){return G1(this,`getFileByUrl('${z1("!@p1::"+a)}')`)};J0(h8,"folder",K0);J0(c8,"rootFolder",K0);J0(v0,"folders",Mc);J0(v0,"rootFolder",K0);v0.prototype.getFolderByServerRelativePath=function(a){return tc(this,a)};v0.prototype.getFolderById=function(a){return K0(this,`getFolderById('${a}')`)};J0(v0,"lists",mc);J0(v0,"siteUserInfoList",R0);J0(v0,"defaultDocumentLibrary",R0);J0(v0,"customListTemplates",z5,"getcustomlisttemplates");v0.prototype.getList=function(a){return R0(this,`getList('${z1(a)}')`)};v0.prototype.getCatalog=async function(a){let l=await t0(this,`getcatalog(${a})`).select("Id")();return R0([this,U2(l)])};function Gm(a,l){let c="_api/site",h=/(_api[/|\\](site|web))/i.exec(a);if((h===null||h===void 0?void 0:h.length)>0)a=M0(a),c=h[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=O1(a,c);return a}var f4=class a extends j0{constructor(l,c){if(typeof l==="string")l=Gm(l,c);else if(Q0(l))l=[l[0],Gm(l[1],c)];else l=[l,Gm(l.toUrl(),c)];super(l,c)}get rootWeb(){return t0(this,"rootweb")}getChanges(l){let c=W1({query:l});return K(t0(this,"getchanges"),c)}async openWebById(l){let c=await K(a5(this,`openWebById('${l}')`));return{data:c,web:t0([this,M0(U2(c))])}}async getRootWeb(){let l=await this.rootWeb.select("Url")();return t0([this,l.Url])}async delete(){let l=await a5(this,"").select("Id")(),c=a5([this,this.parentUrl],"_api/SPSiteManager/Delete");await K(c,W1({siteId:l.Id}))}async getDocumentLibraries(l){let c=a5([this,this.parentUrl],"_api/sp.web.getdocumentlibraries(@v)");c.query.set("@v",`'${l}'`);let h=await c();return $1(h,"GetDocumentLibraries")?h.GetDocumentLibraries:h}async getWebUrlFromPageUrl(l){let c=a5([this,this.parentUrl],"_api/sp.web.getweburlfrompageurl(@v)");c.query.set("@v",`'${l}'`);let h=await c();return $1(h,"GetWebUrlFromPageUrl")?h.GetWebUrlFromPageUrl:h}async createCommunicationSite(l,c=1033,h=!1,Z,o,v,r,e,m){return this.createCommunicationSiteFromProps({Classification:v,Description:o,HubSiteId:e,Lcid:c,Owner:m,ShareByEmailEnabled:h,SiteDesignId:r,Title:l,Url:Z})}async createCommunicationSiteFromProps(l){let c={Classification:"",Description:"",HubSiteId:ec,Lcid:1033,ShareByEmailEnabled:!1,SiteDesignId:ec,WebTemplate:"SITEPAGEPUBLISHING#0",WebTemplateExtensionId:ec,...l};return K(a5([this,M0(this.toUrl())],"/_api/SPSiteManager/Create"),W1({request:c}))}async exists(l){return K(a5([this,M0(this.toUrl())],"/_api/SP.Site.Exists"),W1({url:l}))}async createModernTeamSite(l,c,h,Z,o,v,r,e,m){return this.createModernTeamSiteFromProps({alias:c,classification:v,description:o,displayName:l,hubSiteId:e,isPublic:h,lcid:Z,owners:r,siteDesignId:m})}async createModernTeamSiteFromProps(l){let c=Object.assign({},{classification:"",description:"",hubSiteId:ec,isPublic:!0,lcid:1033,owners:[]},l),h={alias:c.alias,displayName:c.displayName,isPublic:c.isPublic,optionalParams:{Classification:c.classification,CreationOptions:[`SPSiteLanguage:${c.lcid}`,`HubSiteId:${c.hubSiteId}`],Description:c.description,Owners:c.owners}};if(c.siteDesignId)h.optionalParams.CreationOptions.push(`implicit_formula_292aa8a00786498a87a5ca52d9f4214a_${c.siteDesignId}`);return K(a5([this,M0(this.toUrl())],"/_api/GroupSiteManager/CreateGroupEx").using(Y6()),W1(h))}update(l){return DL(this,W1(l))}setSiteLogo(l){return K(b0([this,M0(this.toUrl())],"_api/siteiconmanager/setsitelogo"),W1(l))}};f4=c0([_0("_api/site")],f4);var a5=j1(f4),Pm;(function(a){a[a.WebLogo=0]="WebLogo",a[a.HubLogo=1]="HubLogo",a[a.HeaderBackground=2]="HeaderBackground",a[a.GlobalNavLogo=3]="GlobalNavLogo"})(Pm||(Pm={}));var qm;(function(a){a[a.Square=0]="Square",a[a.Rectangular=1]="Rectangular"})(qm||(qm={}));Reflect.defineProperty(I2.prototype,"site",{configurable:!0,enumerable:!0,get:function(){return this.create(a5)}});Reflect.defineProperty(I2.prototype,"web",{configurable:!0,enumerable:!0,get:function(){return this.create(t0)}});function r8(){return new URL(window.location.href).searchParams.get("web")??""}var jL=await Qd();function Vc(a=""){let l=a?a:k4();if(!jL)return a8(l).using(jZ());return a8(l).using(zL(jL))}function V7(a){return a.web.toUrl().replace("/_api/web","")}function _L(){let l=r8()??k4();return Vc(l)}async function lo(a,l,c){let h=[],[Z,o]=a.web.batched();for(let v of l)Z.getFileByUrl(`${S1}/${v}/${Y0}`).getText().then((r)=>{let e=zm(v);try{let m=JSON.parse(r);e.manifest=m,e.activated=c.includes(v),h.push(e)}catch{h.push(e)}}).catch(()=>{h.push(zm(v))});return await o(),h}var yk=["Forms"];async function e8(a,l){try{await GZ(a);let c=a.web.lists.getByTitle(S1).rootFolder,h=await Jm(a),Z=await m8(a);if(!h.some((o)=>o===l))await c.folders.addUsingPath(l),h.push(l);return i7.value=await lo(a,h,Z.data.enabledAppCollections),i7.value.find((o)=>o.name===l)}catch(c){return c?.message}}async function ag(a,l){let h=a.web.lists.getByTitle(S1).rootFolder;try{let Z=await h.folders.getByUrl(l)();await hL(a,T4.data.ServerRelativeUrl,l)}catch(Z){n1(`Error while removing ${l} from ${S1} folder in ${V7(a)}`,Z)}return!1}async function Jm(a){return await GZ(a),(await a.web.lists.getByTitle(S1).rootFolder.folders()).filter((h)=>!yk.includes(h.Name)).map((h)=>h.Name)}async function co(a,l){Qm.value=!0,await m8(a);let c=V7(a),h=a.web.getFileByUrl(`${S1}/${l2}`);try{return await h.setContent(JSON.stringify(l)),!0}catch(Z){return n1(`Error while updating ${l2} in ${S1} folder in ${c}`,Z),!1}finally{Qm.value=!1}}async function m8(a){let l=a.web.getFileByUrl(`${S1}/${l2}`),c=V7(a),h=await l.exists(),Z={data:Nl,error:"",isError:!1,warnings:[]};if(!h)return await GZ(a),await a.web.lists.getByTitle(S1).rootFolder.files.addUsingPath(l2,JSON.stringify(Nl)),N0(`Created ${l2} in ${S1} folder in ${c}`),Z;try{let v=await(await l.getBlob()).text(),r=JSON.parse(v);if(!Array.isArray(r.enabledAppCollections)||!Array.isArray(r.urlMap)){let e=`Invalid data inside ${l2} in ${S1} folder in ${c}, it should be an array`;return n1(e),Z.error=e,Z.isError=!0,Z.data=Nl,Z}return Z.data=r,Z}catch(o){let v=`Error while parsing ${l2} in ${S1} folder in ${c}`;return n1(v,o),Z.error=v,Z.isError=!0,Z.data=Nl,Z}}async function lg(a,l,c){if(c.some((v)=>v.indexOf("/")>-1))throw new Error("Nested path cannot contain /");let h=V7(a),Z=a.web.getFolderByServerRelativePath(`${S1}/${l}`),o="";for(let v of c){if(o=`${o?`${o}/`:""}${v}`,!(await Z.folders()).some((e)=>e.Name.toLowerCase()===v.toLowerCase()))N0(`Creating subfolder ${o} in ${S1}/${l} folder in ${h}`),await Z.addSubFolderUsingPath(v);Z=Z.folders.getByUrl(v)}}var Km=class a extends M5{getById(l){return hg(this,`GetById?hubSiteId='${l}'`)}};Km=c0([_0("_api/hubsites")],Km);var Xm=j1(Km);class cg extends j0{async getSite(){let a=await this.select("SiteUrl")();return a5([this,a.SiteUrl])}}var hg=j1(cg);f4.prototype.joinHubSite=async function(a){await K(a5(this,`joinHubSite('${a}')`))};f4.prototype.registerHubSite=async function(){await K(a5(this,"registerHubSite"))};f4.prototype.unRegisterHubSite=async function(){await K(a5(this,"unRegisterHubSite"))};v0.prototype.hubSiteData=async function(a=!1){let l=await t0(this,`hubSiteData(${a})`)();if(typeof l==="string")return JSON.parse(l);return l};v0.prototype.syncHubSiteTheme=function(){return K(t0(this,"syncHubSiteTheme"))};Reflect.defineProperty(I2.prototype,"hubSites",{configurable:!0,enumerable:!0,get:function(){return this.create(Xm)}});function Em(a,l){let c=a.findIndex((e)=>e.isHubRoot&&e.hubid===l);if(c<0)return;let h=a.splice(c,1)[0],Z={...h,webs:[h]},o={...h,sites:[Z],webs:[]},v=M8(a,o.siteId,l);Z.webs.push(...v);let r=Zo(a,l);return o.sites.push(...r),o.webs.push(...M8(a,o.siteId,l)),o}function ho(a){let l=Object.groupBy(a,(m)=>m.hubid),c=Object.keys(l).filter((m)=>m&&m!==y0),h=Object.keys(l).filter((m)=>!m||m===y0),Z=c.map((m)=>l[m]??[]).flat(),o=h.map((m)=>l[m]??[]).flat(),v=[],r=[],e=[];for(let m of c){let t=Em(Z,m);if(!t)continue;v.push(t)}if(Z.length>0)o.push(...Z);return r.push(...Zo(o)),e.push(...o),{hubs:v,sites:r,webs:e}}function Zo(a,l){let c=[];function h(o){return l?o.isRootWeb&&o.hubid===l:o.isRootWeb}let Z=a.findIndex(h);while(Z>-1){let o=a.splice(Z,1)[0],v=c.find((e)=>e.id===o.id);if(!v)v={...o,webs:[o]},c.push(v);let r=M8(a,o.siteId);v.webs.push(...r.sort((e,m)=>e.url.localeCompare(m.url))),Z=a.findIndex(h)}return c}function M8(a,l,c){let h=[];function Z(v){return c?v.siteId===l&&v.hubid===c:v.siteId===l}let o=a.findIndex(Z);while(o>-1){let v=a.splice(o,1)[0];h.push(v),o=a.findIndex(Z)}return h.sort((v,r)=>v.url.localeCompare(r.url))}function Zg(a){let l=Object.groupBy(a,(o)=>o.sharepointIds.siteId),c=Object.keys(l),h=[];for(let o of c){let v=l[o];if(!v)continue;let r=v.sort((e,m)=>e.webUrl.localeCompare(m.webUrl));h.push({id:r[0].sharepointIds.webId,url:r[0].webUrl,siteId:r[0].sharepointIds.siteId,hubid:r[0].sharepointIds.hubSiteId,isHubRoot:r[0].sharepointIds.hubSiteId===r[0].sharepointIds.siteId,isRootWeb:!0})}return a.map((o)=>{return{id:o.sharepointIds.webId,url:o.webUrl,siteId:o.sharepointIds.siteId,hubid:o.sharepointIds.hubSiteId,isHubRoot:o.sharepointIds.hubSiteId===o.sharepointIds.siteId,isRootWeb:h.some((v)=>v.id===o.sharepointIds.webId),title:o.title,template:o.template.name}})}function oo(a,l,c){return{id:a.Id,url:a.Url,siteId:l,hubid:c,isHubRoot:!1,isRootWeb:!1}}function vo(a,l,c){return a.map((h)=>{return oo(h,l,c)})}async function Nk(a){let l=await rg(a);if(l.isError)return n1("Unable to get web info",l.error),[];let c=await Ym(l.data);return[...l.data,...c.filter((h)=>!h.isError).flatMap((h)=>h.data)]}async function Ym(a){let l=[];for(let Z of a){let o=Vc(Z.Url);l.push(rg(o))}let c=await Promise.all(l),h=c.filter((Z)=>!Z.isError&&Z.data.length>0).flatMap((Z)=>Z.data);if(h.length>0)c.push(...await Ym(h));return c.some((Z)=>Z.data.length>0||Z.isError)?c:[]}async function og(a,l=!1){let c=Vc(a.origin+a.pathname),h={data:[],error:"",warnings:[],isError:!1};try{let Z=await Nm(c);if(Z.isError){let M=`Unable to get site info ${Z.error}`;h.warnings.push(M),n1(M,a.href)}let o=await ym(c);if(o.isError){let M=`Unable to get root web info ${o.error}`;h.warnings.push(M),n1(M,a.href)}let v=await jm(c);if(v.isError){let M=`Unable to get web info ${v.error}`;return h.isError=!0,h.error=M,n1(M,a.href),h}if(!l||o.isError){let M=oo(v.data,Z.data?.Id??y0,Z.data?.HubSiteId??y0);return M.isRootWeb=o.data?.Id===v.data.Id,M.isHubRoot=Z.data?.IsHubSite&&o.data?.Id===v.data.Id,h.data.push(M),h}let r=Vc(o.data.Url),e=await Nk(r),m=oo(o.data,Z.data?.Id??y0,Z.data?.HubSiteId??y0),t=vo(e,Z.data?.Id??y0,Z.data?.HubSiteId??y0);m.isRootWeb=!0,m.isHubRoot=Z.data?.IsHubSite??!1,h.data.push(m),h.data.push(...t)}catch(Z){h.isError=!0,h.error=`${Z}`,n1("Unable to get web structure",a.href,Z)}return h}async function ro(a){if(!mo())return;let l=O2,c={hubid:y0,id:y0,url:"",siteId:y0,isHubRoot:!1,isRootWeb:!1,webs:[]};if(l.isError)return n1(`Unable to get site info ${l.error}`),c;let h=n7;if(h.isError)return n1(`Unable to get root web info ${h.error}`),c;let Z=await jk(a);if(Z.isError)return n1(`Unable to get root subweb info ${h.error}`),c;let o=await Ym(Z.data),v=vo(Z.data,l.data.Id,l.data.HubSiteId),r=vo(o.filter((t)=>!t.isError).flatMap((t)=>t.data),l.data.Id,l.data.HubSiteId),e=[...v,...r],m={hubid:l.data.HubSiteId,id:h.data.Id,url:h.data.Url,siteId:l.data.Id,isHubRoot:l.data.IsHubSite,isRootWeb:!0};return c={...m,webs:[m,...M8(e,l.data.Id)]},c}async function eo(a,l,c){if(!B5())return;if(!$m)return;let h=c??O2.data.HubSiteId,Z=[];for await(let V of vg(a.web.toUrl().replace("_api/web",""),h))Z.push(...V);let o={id:"",url:"",siteId:h,hubid:h,isHubRoot:!0,isRootWeb:!0,sites:[],webs:[]},v=Zg(Z),r=v.findIndex((V)=>V.hubid===h&&V.siteId===h),e=r>-1?v.splice(r,1)[0]:void 0;if(!e)b2("API Call did not return Hub ROOT",h),e={id:n7.data.Id,url:n7.data.Url,hubid:h,siteId:h,isHubRoot:!0,isRootWeb:!0};o.id=e.id,o.url=e.url,o.hubid=e.hubid,o.siteId=e.siteId,o.sites.push({...e,webs:[e]});let m=M8(v,e.siteId),t=o.sites.find((V)=>V.id===e.id);if(t)t.webs.push(...m);else o.webs.push(...m);let M=Zo(v);o.sites.push(...M),o.webs.push(...v);for(let V of $m.webs.sort((i,u)=>i.url.localeCompare(u.url)))if(o.sites.flatMap((i)=>i.webs).findIndex((i)=>i.id===V.id)===-1){let i=o.sites.findIndex((u)=>u.siteId===V.siteId);if(i<0){o.sites.push({id:V.id,url:V.url,hubid:V.hubid,siteId:V.siteId,isHubRoot:!1,isRootWeb:!0,webs:[V]});continue}o.sites[i].webs.push(V),o.sites[i].webs=o.sites[i].webs.sort((u,d)=>u.url.localeCompare(d.url))}let H=Em([...l],h);if(H){for(let V of H.sites){let i=o.sites.find((u)=>u.id===V.id);if(i){for(let u of V.webs)if(i.webs.find((L)=>L.id===u.id))continue;else i.webs.push(u);i.webs=i.webs.sort((u,d)=>u.url.localeCompare(d.url));continue}o.sites.push(V)}for(let V of H.webs)if(o.webs.find((u)=>u.id===V.id))continue;else o.webs.push(V)}let A=[];for(let V of o.webs){let i=o.sites.find((d)=>d.id===V.siteId);if(!i)continue;if(A.push({...V}),!i.webs.find((d)=>d.id===V.id))i.webs.push({...V}),i.webs=i.webs.sort((d,L)=>d.url.localeCompare(L.url))}return o.webs=o.webs.filter((V)=>A.findIndex((i)=>i.id===V.id)>-1),o.webs=o.webs.sort((V,i)=>V.url.localeCompare(i.url)),o}async function*vg(a,l,c=!0){let h=z5(a,c?"_api/v2.1/sites":"").using(jZ());if(c)h.filter(`sharepointIds/hubSiteId eq '${l}'`).top(99);h.on.parse.replace(async(o,v,r)=>{let e={"@odata.context":"",value:[],"@odata.nextLink":""};if(v.ok)try{return r=await v.json(),[o,v,r]}catch(m){return n1("Unable to parse hubdata response",o,m),[o,v,e]}return n1("Error getting hubdata",o,v.statusText),[o,v,e]});let Z=await h();if(yield Z.value,Z["@odata.nextLink"])yield*vg(Z["@odata.nextLink"],l,!1)}async function ym(a){return ic(()=>a.site.rootWeb(),{})}async function jk(a){return ic(()=>a.site.rootWeb.webs(),[])}async function Nm(a){return ic(()=>a.site(),{})}async function jm(a){return ic(()=>a.web(),{})}async function rg(a){return ic(()=>a.web.webs(),[])}async function ic(a,l){let c={data:l,error:"",warnings:[],isError:!1};try{let h=await a();c.data=h}catch(h){c.isError=!0,c.error=`${h}`}return c}var _m=r8(),Mo=new URL(_m?_m:k4()),l0=_L(),O2=await Nm(l0),n7=!O2.isError?await ym(l0):{data:{},warnings:[],error:"Unable to get root web since site is not available",isError:!0},T4=await jm(l0),G2=!_m;function B5(){if(O2.isError||n7.isError||T4.isError)return!1;return O2.data.IsHubSite&&n7.data.Id===T4.data.Id}function aM(){if(O2.isError)return!1;return O2.data.HubSiteId!==y0}function mo(){if(n7.isError||T4.isError)return!1;return T4.data.Id===n7.data.Id}function eg(){if(O2.isError||n7.isError)return!0;return n7.data.Id!==T4.data.Id}var _k=await Jm(l0),mg=await m8(l0),aS=await lo(l0,_k,mg.data.enabledAppCollections),s0=z0(mg.data),Qm=z0(!1),i7=z0(aS),w1=z0(),F1=z0(),nc=z0();var $m=await ro(l0);t7(()=>{TZ("Configuration",F1.value?.config)});function zm(a){return{name:a,manifest:yl,activated:!1}}function lM(a){let l=U1(i7.value),c=l.findIndex((h)=>h.name===a.name);if(c>-1)l.splice(c,1,a);else l.push(a);i7.value=l}function o2(a,l=!1){let c=U1(a);if(w1.value=c,l)lM(c)}function to(){if(G2)return"global";if(B5())return"hubRoot";if(aM()&&!B5())return"hubChild";if(!aM())return"nonHub";if(eg())return"subsite";return"other"}var lS=h6({root:{display:"flex",height:"auto",width:"auto",boxSizing:"border-box"},horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"},wrap:{flexWrap:"wrap"},noWrap:{flexWrap:"nowrap"},horizontalAlign_start:{justifyContent:"flex-start"},horizontalAlign_end:{justifyContent:"flex-end"},horizontalAlign_center:{justifyContent:"center"},horizontalAlign_spaceBetween:{justifyContent:"space-between"},horizontalAlign_spaceAround:{justifyContent:"space-around"},horizontalAlign_spaceEvenly:{justifyContent:"space-evenly"},horizontalAlign_stretch:{justifyContent:"stretch"},verticalAlign_start:{alignItems:"flex-start"},verticalAlign_end:{alignItems:"flex-end"},verticalAlign_center:{alignItems:"center"},verticalAlign_spaceBetween:{alignItems:"space-between"},verticalAlign_spaceAround:{alignItems:"space-around"},verticalAlign_spaceEvenly:{alignItems:"space-evenly"},verticalAlign_stretch:{alignItems:"stretch"},reversedHorizontal:{flexDirection:"row-reverse"},reversedVertical:{flexDirection:"column-reverse"}});function v1(a){let l=lS(),c=[l.root],h={};if(a.horizontal)if(a.reversed)c.push(l.reversedHorizontal);else c.push(l.horizontal);else if(a.reversed)c.push(l.reversedVertical);else c.push(l.vertical);if(a.grow)h.flexGrow=a.grow;if(a.gap)h.gap=a.gap;return c.push(a.wrap?l.wrap:l.noWrap),cS(a,c,l),hS(a,c,l),/*@__PURE__*/n("div",{className:c.join(" "),style:{...h,...a.style},children:a.children},void 0,!1,void 0,this)}function cS(a,l,c){switch(a.horizontalAlign){case"start":l.push(c.horizontalAlign_start);break;case"end":l.push(c.horizontalAlign_end);break;case"center":l.push(c.horizontalAlign_center);break;case"space-between":l.push(c.horizontalAlign_spaceBetween);break;case"space-around":l.push(c.horizontalAlign_spaceAround);break;case"space-evenly":l.push(c.horizontalAlign_spaceEvenly);break;case"stretch":l.push(c.horizontalAlign_stretch);break}}function hS(a,l,c){switch(a.verticalAlign){case"start":l.push(c.verticalAlign_start);break;case"end":l.push(c.verticalAlign_end);break;case"center":l.push(c.verticalAlign_center);break;case"space-between":l.push(c.verticalAlign_spaceBetween);break;case"space-around":l.push(c.verticalAlign_spaceAround);break;case"space-evenly":l.push(c.verticalAlign_spaceEvenly);break;case"stretch":l.push(c.verticalAlign_stretch);break}}C();var B3="global-toast-notification";function Mg(){return/*@__PURE__*/n(R4,{toasterId:B3},void 0,!1,void 0,this)}function tg(){let[a,l]=e1(""),c=J7(!1);async function h(e,m){c.value=m.open}let{dispatchToast:Z,updateToast:o}=F4(B3),v=(e)=>{switch(e){case"progress":Z(/*@__PURE__*/n(s2,{children:/*@__PURE__*/n(k2,{media:/*@__PURE__*/n(G5,{size:"tiny"},void 0,!1,void 0,this),children:"Creating..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{toastId:B3,timeout:-1});break}};async function r(){if(!a)return;v("progress");let e=await e8(l0,a);if(e&&e.name){o({content:/*@__PURE__*/n(s2,{children:/*@__PURE__*/n(k2,{children:"Application created."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"success",toastId:B3,timeout:2000}),c.value=!1;return}o({content:/*@__PURE__*/n(s2,{children:/*@__PURE__*/n(k2,{children:"Error occured. Please check console."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"error",toastId:B3,timeout:2000})}return/*@__PURE__*/n(D5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:h,children:[/*@__PURE__*/n(P0,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(D2,{appearance:"primary",icon:/*@__PURE__*/n(R6,{},void 0,!1,void 0,this),children:"Create collection"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(p2,{children:/*@__PURE__*/n(R2,{children:[/*@__PURE__*/n(x2,{action:/*@__PURE__*/n(P0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/n(C1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/n(h7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),children:"Create new application"},void 0,!1,void 0,this),/*@__PURE__*/n(w2,{style:{padding:"16px 0"},children:/*@__PURE__*/n(i5,{value:a,style:{width:"100%"},placeholder:"Enter application name",onChange:(e,m)=>{l(m.value)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(F2,{children:[/*@__PURE__*/n(P0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/n(C1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(C1,{appearance:"primary",onClick:()=>{r()},children:"Create"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Hg({app:a,onChange:l}){return/*@__PURE__*/n(C0,{defaultChecked:a.activated,onChange:(c,h)=>{l?.(a,h.checked)}},void 0,!1,void 0,this)}C();var E7={SPFXEXT:"SPFXEXT_",SPFXEXT_CORE:"SPFXEXT"};function ZS(){return Object.keys(localStorage).some((a)=>a.indexOf(E7.SPFXEXT)>-1&&Number(localStorage[a])>0)}function Ag(a){return a.hostname.toLowerCase()==="localhost"}function Vg(a){return Number(localStorage.getItem(`${E7.SPFXEXT}${a}`))>0}var uc=ZS();function ig({app:a}){let[l,c]=e1(localStorage.getItem(`${E7.SPFXEXT}${a.name}`)??""),[h,Z]=e1(!1);return/*@__PURE__*/n(C2,{positioning:"after",open:h,children:[/*@__PURE__*/n(_5,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(A4,{checked:Vg(a.name),onChange:()=>{Z(!h)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(g2,{tabIndex:-1,children:[/*@__PURE__*/n(i5,{defaultValue:l,onChange:(o,v)=>{c(v.value)}},void 0,!1,void 0,this),/*@__PURE__*/n(C1,{appearance:"primary",onClick:()=>{localStorage.setItem(`${E7.SPFXEXT}${a.name}`,l),Z(!1)},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}C();async function oS(a){try{nc.value=U1(a),await ag(l0,a.name),i7.value=i7.value.filter((l)=>l.name!==a.name)}finally{nc.value=void 0}}function ng({item:a}){let[l,c]=e1(!1);function h(Z,o){c(o.open)}return/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(O0,{disabled:nc?.value?.name!==void 0,onClick:()=>{c(!0)},children:/*@__PURE__*/n("div",{style:{display:"flex"},children:[/*@__PURE__*/n(Ki,{},void 0,!1,void 0,this),nc.value?.name===a.name&&/*@__PURE__*/n(G5,{size:"extra-small"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(D5,{open:l,surfaceMotion:null,modalType:"modal",onOpenChange:h,children:/*@__PURE__*/n(p2,{children:/*@__PURE__*/n(R2,{children:[/*@__PURE__*/n(x2,{children:["Delete ",a.name,"?"]},void 0,!0,void 0,this),/*@__PURE__*/n(w2,{children:[/*@__PURE__*/n(r7,{children:["Are you sure you want to delete app collection"," ",/*@__PURE__*/n("b",{children:a.name},void 0,!1,void 0,this),"?"]},void 0,!0,void 0,this),/*@__PURE__*/n("br",{},void 0,!1,void 0,this),/*@__PURE__*/n(r7,{children:["Deleting appcollection will result in deletion of all files in"," ",/*@__PURE__*/n(O0,{target:"_blank",onClick:()=>{window.open(`${Mo}/${S1}/${a.name}`,"_blank")},children:"this location"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(F2,{children:[/*@__PURE__*/n(C1,{appearance:"primary",onClick:()=>{oS(a),c(!1)},children:"Yes"},void 0,!1,void 0,this),/*@__PURE__*/n(P0,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(C1,{appearance:"secondary",children:"No"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}$2();function t8(a,l,c="86px"){return/*@__PURE__*/n($0,{size:"medium",color:a,style:{width:c},children:l},void 0,!1,void 0,this)}function f3({webs:a,control:l,onDeleteClick:c,additionalIcon:h,disableControl:Z}){if(a.length===0)return null;function o(r,e){if(!F1.value)return;let m=U1(F1.value),t=m.config.excludedIds.filter((V)=>r.id!==V),M=m.config.excludedHubIds.filter((V)=>r.id!==V),H=m.config.includedIds.filter((V)=>r.id!==V),A=m.config.includedHubIds.filter((V)=>r.id!==V);if(!m.config.enabledEverywhere&&e)H.push(r.id);if(m.config.enabledEverywhere&&!e)t.push(r.id);m.config.excludedIds=t,m.config.excludedHubIds=M,m.config.includedIds=H,m.config.includedHubIds=A,F1.value=m}function v(r){if(!F1.value)return!1;if(F1.value.config.enabledEverywhere)return!F1.value.config.excludedIds.includes(r.id);return F1.value.config.includedIds.includes(r.id)}return/*@__PURE__*/n(V1,{children:a.map((r)=>/*@__PURE__*/n(v1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"36px"},children:[/*@__PURE__*/n(v1,{horizontal:!0,gap:8,verticalAlign:"center",children:[h,t8(void 0,"Web","64px"),/*@__PURE__*/n(a2,{children:`${r.url}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/n(C0,{disabled:Z,onChange:(e,m)=>{o(r,m.checked)},checked:v(r)},void 0,!1,void 0,this):/*@__PURE__*/n(C1,{onClick:()=>c?.({item:r,itemType:"web"}),icon:/*@__PURE__*/n(m3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function H8({siteCollections:a,control:l,onDeleteClick:c,additionalIcon:h,disableControl:Z}){function o(v,r){if(!F1.value)return;let e=U1(F1.value),m=e.config.excludedIds.filter((M)=>!v.webs.some((H)=>H.id===M)&&v.siteId!==M),t=e.config.includedIds.filter((M)=>!v.webs.some((H)=>H.id===M)&&v.siteId!==M);if(!e.config.enabledEverywhere&&r)t.push(v.siteId);if(e.config.enabledEverywhere&&!r)m.push(v.siteId);e.config.excludedIds=m,e.config.includedIds=t,F1.value=e}return/*@__PURE__*/n(V1,{children:a.map((v)=>/*@__PURE__*/n(v1,{children:[/*@__PURE__*/n(v1,{horizontal:!0,style:{minHeight:"36px"},verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/n(v1,{horizontal:!0,verticalAlign:"center",gap:8,children:[t8("warning","Site"),v.url]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/n(C0,{checked:(F1.value?.config?.enabledEverywhere||F1.value?.config?.includedIds?.includes(v.siteId))&&!F1.value?.config?.excludedIds?.includes(v.siteId),disabled:Z,onChange:(r,e)=>{o(v,e.checked)}},void 0,!1,void 0,this):/*@__PURE__*/n(C1,{onClick:()=>c?.({item:v,itemType:"site"}),icon:/*@__PURE__*/n(m3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(f3,{webs:v.webs,control:l,onDeleteClick:c,additionalIcon:h,disableControl:Z||F1.value?.config.excludedIds.includes(v.siteId)||F1.value?.config.includedIds.includes(v.siteId)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function Ho({hubSites:a,onDeleteClick:l,control:c}){function h(Z,o){if(!F1.value)return;let v=U1(F1.value);function r(H){let A=!Z.webs.some((d)=>d.id===H||d.hubid===H),V=!Z.sites.some((d)=>d.id===H||d.hubid===H),i=!Z.sites.some((d)=>d.webs.some((L)=>L.id===H||L.hubid===H)),u=Z.hubid!==H&&Z.siteId!==H;return A&&V&&i&&u}let e=v.config.excludedIds.filter(r),m=v.config.excludedHubIds.filter(r),t=v.config.includedIds.filter(r),M=v.config.includedHubIds.filter(r);if(!v.config.enabledEverywhere&&o)M.push(Z.hubid);if(v.config.enabledEverywhere&&!o)m.push(Z.hubid);v.config.excludedIds=e,v.config.excludedHubIds=m,v.config.includedIds=t,v.config.includedHubIds=M,F1.value=v}return/*@__PURE__*/n(V1,{children:a.map((Z)=>/*@__PURE__*/n(v1,{children:[/*@__PURE__*/n(v1,{horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/n(v1,{horizontal:!0,gap:8,verticalAlign:"center",style:{height:"36px"},children:[t8("success","Hub"),Z.url]},void 0,!0,void 0,this),c==="switch"?/*@__PURE__*/n(C0,{checked:(F1.value?.config?.enabledEverywhere||F1.value?.config?.includedHubIds?.includes(Z.hubid))&&!F1.value?.config?.excludedHubIds?.includes(Z.hubid),onChange:(o,v)=>{h(Z,v.checked)}},void 0,!1,void 0,this):/*@__PURE__*/n(C1,{onClick:()=>l?.({item:Z,itemType:"hub"}),icon:/*@__PURE__*/n(m3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(H8,{control:c,siteCollections:Z.sites,onDeleteClick:l,additionalIcon:/*@__PURE__*/n(F6,{},void 0,!1,void 0,this),disableControl:F1.value?.config.excludedHubIds.includes(Z.hubid)||F1.value?.config.includedHubIds.includes(Z.hubid)},void 0,!1,void 0,this),/*@__PURE__*/n(f3,{control:c,webs:Z.webs,onDeleteClick:l,additionalIcon:/*@__PURE__*/n(Dh,{},void 0,!1,void 0,this),disableControl:F1.value?.config.excludedHubIds.includes(Z.hubid)||F1.value?.config.includedHubIds.includes(Z.hubid)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}$2();var vS={invalid:{message:"Invalid URL"},duplicate:{message:"URL already exists"}};function ug(a){let l;if(!(a.toLowerCase().startsWith(window.location.origin.toLowerCase())||a.startsWith("/")))l=vS.invalid;return{urlInput:a,error:l}}function dg(){let[a,l]=e1(""),[c,h]=e1(""),[Z,o]=e1(!1);async function v(){if(!c)return;let r=ug(c);if(r.error){l(r.error.message);return}let e=c.startsWith("/")?new URL(c,window.location.origin):new URL(c);o(!0);let m=await og(e,!0);if(o(!1),m.isError){l(m.error);return}if(B5()){if(!m.data.every((M)=>M.hubid===O2.data.HubSiteId)){l("You can only add child hub sites when configuring a hub root.");return}}let t=U1(s0.value);t.urlMap=t.urlMap.filter((M)=>{return!m.data.some((H)=>H.id===M.id)}),t.urlMap.push(...m.data),s0.value=t,l(""),h("")}return/*@__PURE__*/n(v1,{style:{padding:"8px 24px",width:"100%"},gap:8,children:[/*@__PURE__*/n(x4,{intent:"info",children:/*@__PURE__*/n(p4,{children:"Add site collections and hub child sites."},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{horizontal:!0,gap:8,children:[/*@__PURE__*/n(i5,{style:{width:"100%"},onChange:(r,e)=>{h(e.value)},onKeyDown:(r)=>{if(r.key==="Enter")v()},onFocus:()=>{l("")},value:c,placeholder:"Site/Web URL"},void 0,!1,void 0,this),/*@__PURE__*/n(C1,{disabled:!c||Z,onClick:()=>v(),icon:Z?/*@__PURE__*/n(G5,{size:"tiny"},void 0,!1,void 0,this):/*@__PURE__*/n(R6,{},void 0,!1,void 0,this),children:"Add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),a?/*@__PURE__*/n(a2,{style:{color:n2.colorPaletteRedForeground1},children:a},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var A8=z0(!1);function Lg(){let a=f7(),[l,c]=e1(!1),[h,Z]=e1(!1),[o,v]=e1(s0.value),[r,e]=e1([]),[m,t]=e1([]),[M,H]=e1([]);q5(()=>{if(!s0.value)return;if(!o){v(s0.value);return}let i=JSON.stringify(s0.value),u=JSON.stringify(o);v(s0.value),Z(i!==u)}),q5(()=>{if(!s0.value)return;if(G2){let i=ho(s0.value.urlMap);e(i.hubs),t(i.sites),H(i.webs);return}if(!G2&&B5())eo(l0,s0.value.urlMap).then((i)=>{if(i)e([i])})});function A(i){if(!s0.value)return;let u=U1(s0.value);if(i.itemType==="hub")u.urlMap=u.urlMap.filter((d)=>d.hubid!==i.item.hubid);if(i.itemType==="site")u.urlMap=u.urlMap.filter((d)=>d.siteId!==i.item.siteId);if(i.itemType==="web")u.urlMap=u.urlMap.filter((d)=>d.id!==i.item.id);s0.value=u}async function V(){if(!s0.value)return;c(!0);try{await co(l0,s0.value)}finally{c(!1),Z(!1),A8.value=!1}}return/*@__PURE__*/n(S2,{...a,separator:!0,open:A8.value,onOpenChange:()=>{},position:"end",size:"large",children:[/*@__PURE__*/n(f2,{children:/*@__PURE__*/n(T2,{action:/*@__PURE__*/n(C1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/n(h7,{},void 0,!1,void 0,this),onClick:()=>{A8.value=!1}},void 0,!1,void 0,this),children:"Manage sites"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(B2,{children:/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(dg,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{gap:12,children:[r.length>0?/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(e5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/n(O5,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{children:/*@__PURE__*/n(Ho,{hubSites:r,control:"delete",onDeleteClick:A},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,m.length>0?/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(e5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/n(O5,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{children:/*@__PURE__*/n(H8,{siteCollections:m,control:"delete",additionalIcon:/*@__PURE__*/n(F6,{},void 0,!1,void 0,this),onDeleteClick:A},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,M.length>0?/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(e5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/n(O5,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{children:/*@__PURE__*/n(f3,{webs:M,control:"delete",onDeleteClick:A},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(z7,{children:/*@__PURE__*/n(v1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/n(C1,{appearance:"secondary",onClick:()=>{A8.value=!1},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/n(C1,{disabled:!h||l,appearance:"primary",onClick:()=>{V()},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}async function rS(a,l){let c=await m8(l0),h=c.data.enabledAppCollections.includes(a.name);if(l!==h){if(l)c.data.enabledAppCollections.push(a.name);else c.data.enabledAppCollections.splice(c.data.enabledAppCollections.indexOf(a.name),1);await co(l0,c.data)}a.activated=l,lM(a)}var eS=[{columnId:"name",text:"App Collection"},{columnId:"enabled",text:"Enabled"},{columnId:"InDebug",text:"In Debug"},{columnId:"Delete",text:""}];function gg(a){if(w1.value)return null;return/*@__PURE__*/n(v1,{gap:16,children:[/*@__PURE__*/n(n4,{children:/*@__PURE__*/n(v1,{gap:8,horizontal:!0,children:[/*@__PURE__*/n(tg,{},void 0,!1,void 0,this),G2||B5()?/*@__PURE__*/n(D2,{appearance:"secondary",onClick:()=>{A8.value=!0},icon:/*@__PURE__*/n(_i,{},void 0,!1,void 0,this),children:"Manage sites"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(d4,{children:[/*@__PURE__*/n(L4,{children:/*@__PURE__*/n(C3,{children:eS.map((l)=>/*@__PURE__*/n(C4,{children:l.text},l.columnId,!1,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(u4,{children:i7.value.map((l)=>/*@__PURE__*/n(C3,{children:[/*@__PURE__*/n(m7,{children:/*@__PURE__*/n(M7,{media:/*@__PURE__*/n(Ui,{},void 0,!1,void 0,this),children:/*@__PURE__*/n(O0,{onClick:()=>{w1.value=U1(l)},children:l.name},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(m7,{children:/*@__PURE__*/n(M7,{children:/*@__PURE__*/n(Hg,{app:l,onChange:rS},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(m7,{children:/*@__PURE__*/n(M7,{children:/*@__PURE__*/n(ig,{app:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(m7,{children:/*@__PURE__*/n(M7,{children:/*@__PURE__*/n(ng,{item:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},l.name,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}$2();async function mS(a,l){let c=V7(a),h=a.web.getFileByUrl(`${S1}/${l}/${Y0}`),Z=await h.exists(),o={data:yl,error:"",isError:!1,warnings:[]};if(!Z)return await e8(a,l),await a.web.lists.getByTitle(S1).rootFolder.folders.getByUrl(l).files.addUsingPath(Y0,JSON.stringify(yl)),N0(`Created ${Y0} in ${S1}/${l} folder in ${c}`),o;try{let r=await(await h.getBlob()).text(),e=JSON.parse(r);return o.data=e,o}catch(v){let r=`Error while parsing ${Y0} in ${S1}/${l} folder in ${c}`;return n1(r,v),o.error=r,o.isError=!0,o}}async function Cg(a,l,c){await mS(a,l);let h=a.web.getFileByUrl(`${S1}/${l}/${Y0}`);try{return await h.setContent(JSON.stringify(c)),!0}catch(Z){let o=V7(a);return n1(`Error while updating ${Y0} in ${S1}/${l} folder in ${o}`,Z),!1}}var MS=h6({root:{height:"auto",width:"auto"},verticalFill:{height:"100%"},disableShrink:{flexShrink:0},alignAuto:{alignSelf:"auto"},alignStretch:{alignSelf:"stretch"},alignBaseline:{alignSelf:"baseline"},alignStart:{alignSelf:"start"},alignCenter:{alignSelf:"center"},alignEnd:{alignSelf:"end"}});function Fg(a){let l=MS(),c=[l.root],h={};if(a.disableShrink)c.push(l.disableShrink);else if(a.shrink)h.flexShrink=a.shrink;if(a.grow)h.flexGrow=a.grow;if(a.basis)h.flexBasis=a.basis;if(tS(a,c,l),a.className)c.push(a.className);return/*@__PURE__*/n("div",{className:c.join(" "),style:{...h},children:a.children},void 0,!1,void 0,this)}function tS(a,l,c){switch(a.align){case"start":l.push(c.alignStart);break;case"end":l.push(c.alignEnd);break;case"center":l.push(c.alignCenter);break;case"stretch":l.push(c.alignStretch);break;case"baseline":l.push(c.alignBaseline);break;case"auto":l.push(c.alignAuto);break}}async function Rg(a,l=0){let h=(/*@__PURE__*/new TextEncoder()).encode(a),Z=await window.crypto.subtle.digest("SHA-1",h),v=Array.from(new Uint8Array(Z)).map((r)=>r.toString(16).padStart(2,"0")).join("");return l>0?v.substring(0,l):v}var ZM=(a,l)=>l.some((c)=>a instanceof c),xg,pg;function HS(){return xg||(xg=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function AS(){return pg||(pg=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var oM=/*@__PURE__*/new WeakMap,cM=/*@__PURE__*/new WeakMap,Ao=/*@__PURE__*/new WeakMap;function VS(a){let l=new Promise((c,h)=>{let Z=()=>{a.removeEventListener("success",o),a.removeEventListener("error",v)},o=()=>{c(T3(a.result)),Z()},v=()=>{h(a.error),Z()};a.addEventListener("success",o),a.addEventListener("error",v)});return Ao.set(l,a),l}function iS(a){if(oM.has(a))return;let l=new Promise((c,h)=>{let Z=()=>{a.removeEventListener("complete",o),a.removeEventListener("error",v),a.removeEventListener("abort",v)},o=()=>{c(),Z()},v=()=>{h(a.error||new DOMException("AbortError","AbortError")),Z()};a.addEventListener("complete",o),a.addEventListener("error",v),a.addEventListener("abort",v)});oM.set(a,l)}var vM={get(a,l,c){if(a instanceof IDBTransaction){if(l==="done")return oM.get(a);if(l==="store")return c.objectStoreNames[1]?void 0:c.objectStore(c.objectStoreNames[0])}return T3(a[l])},set(a,l,c){return a[l]=c,!0},has(a,l){if(a instanceof IDBTransaction&&(l==="done"||l==="store"))return!0;return l in a}};function kg(a){vM=a(vM)}function nS(a){if(AS().includes(a))return function(...l){return a.apply(rM(this),l),T3(this.request)};return function(...l){return T3(a.apply(rM(this),l))}}function uS(a){if(typeof a==="function")return nS(a);if(a instanceof IDBTransaction)iS(a);if(ZM(a,HS()))return new Proxy(a,vM);return a}function T3(a){if(a instanceof IDBRequest)return VS(a);if(cM.has(a))return cM.get(a);let l=uS(a);if(l!==a)cM.set(a,l),Ao.set(l,a);return l}var rM=(a)=>Ao.get(a);function Sg(a,l,{blocked:c,upgrade:h,blocking:Z,terminated:o}={}){let v=indexedDB.open(a,l),r=T3(v);if(h)v.addEventListener("upgradeneeded",(e)=>{h(T3(v.result),e.oldVersion,e.newVersion,T3(v.transaction),e)});if(c)v.addEventListener("blocked",(e)=>c(e.oldVersion,e.newVersion,e));return r.then((e)=>{if(o)e.addEventListener("close",()=>o());if(Z)e.addEventListener("versionchange",(m)=>Z(m.oldVersion,m.newVersion,m))}).catch(()=>{}),r}function Bg(a,{blocked:l}={}){let c=indexedDB.deleteDatabase(a);if(l)c.addEventListener("blocked",(h)=>l(h.oldVersion,h));return T3(c).then(()=>{return})}var dS=["get","getKey","getAll","getAllKeys","count"],LS=["put","add","delete","clear"],hM=/*@__PURE__*/new Map;function wg(a,l){if(!(a instanceof IDBDatabase&&!(l in a)&&typeof l==="string"))return;if(hM.get(l))return hM.get(l);let c=l.replace(/FromIndex$/,""),h=l!==c,Z=LS.includes(c);if(!(c in(h?IDBIndex:IDBObjectStore).prototype)||!(Z||dS.includes(c)))return;let o=async function(v,...r){let e=this.transaction(v,Z?"readwrite":"readonly"),m=e.store;if(h)m=m.index(r.shift());return(await Promise.all([m[c](...r),Z&&e.done]))[0]};return hM.set(l,o),o}kg((a)=>({...a,get:(l,c,h)=>wg(l,c)||a.get(l,c,h),has:(l,c)=>!!wg(l,c)||a.has(l,c)}));var gS=["continue","continuePrimaryKey","advance"],Dg={},eM=/*@__PURE__*/new WeakMap,fg=/*@__PURE__*/new WeakMap,CS={get(a,l){if(!gS.includes(l))return a[l];let c=Dg[l];if(!c)c=Dg[l]=function(...h){eM.set(this,fg.get(this)[l](...h))};return c}};async function*FS(...a){let l=this;if(!(l instanceof IDBCursor))l=await l.openCursor(...a);if(!l)return;l=l;let c=new Proxy(l,CS);fg.set(c,l),Ao.set(c,rM(l));while(l)yield c,l=await(eM.get(c)||l.continue()),eM.delete(c)}function sg(a,l){return l===Symbol.asyncIterator&&ZM(a,[IDBIndex,IDBObjectStore,IDBCursor])||l==="iterate"&&ZM(a,[IDBIndex,IDBObjectStore])}kg((a)=>({...a,get(l,c,h){if(sg(l,c))return FS;return a.get(l,c,h)},has(l,c){return sg(l,c)||a.has(l,c)}}));var _1={AppFolderManifestCache:"AppFolderManifestCache",AppCollectionManifestCache:"AppCollectionManifestCache",AllowedApps:"AllowedApps",HubSiteData:"HubSiteData",SPFxExtensionConfig:"SPFxExtensionConfig"},Tg=`${E7.SPFXEXT}COREDB`,Wg=Sg(Tg,1,{blocking(a,l,c){l5.close(),alert("A new version of this page is ready. Please reload the page.")},async upgrade(a,l,c,h,Z){if(l===0)a.createObjectStore(_1.AppFolderManifestCache,{keyPath:"url"}),a.createObjectStore(_1.AppCollectionManifestCache,{keyPath:"url"}),a.createObjectStore(_1.AllowedApps,{keyPath:"Id"}),a.createObjectStore(_1.HubSiteData,{keyPath:"SiteId"}),a.createObjectStore(_1.SPFxExtensionConfig,{keyPath:"Title"})}});Wg.catch((a)=>{throw n1("Error opening database for Core, please contact your administrator."),Bg(Tg).then(()=>{window.location.reload()}),a});var l5=await Wg;function V8(a){let l=/*@__PURE__*/new Date;return l.setMinutes(l.getMinutes()+a),{expires:l.toISOString()}}async function i8(a,l){let c=await l5.getAll(a),h=/*@__PURE__*/new Date,Z=c.filter((v)=>{let r=new Date(v.expires);return h>=r}),o=Z.length;if(o>0){let v=l5.transaction(a,"readwrite"),r=v.objectStore(a);Z.forEach((e)=>r.delete(e[l])),await v.done,b2(`Evicted ${o} items from ${a} cache.`)}return o}async function mM(){return await i8(_1.SPFxExtensionConfig,"Title"),l5.getAll(_1.SPFxExtensionConfig)}async function W3(a){return await i8(_1.SPFxExtensionConfig,"Title"),l5.get(_1.SPFxExtensionConfig,a)}async function P2(a,l=60){await l5.put(_1.SPFxExtensionConfig,{...a,...V8(l)})}function bg(a,l){let c=l5.transaction(_1.SPFxExtensionConfig,"readwrite"),h=c.objectStore(_1.SPFxExtensionConfig);return a.forEach((Z)=>h.put({...Z,...V8(l)})),c.done}async function Ig(){return l5.getAll(_1.AllowedApps)}async function MM(a){return l5.get(_1.AppFolderManifestCache,a)}async function tM(a){return l5.get(_1.AppCollectionManifestCache,a)}async function LR1(a){return l5.get(_1.HubSiteData,a)}async function gR1(a,l=60){await l5.put(_1.HubSiteData,{...a,...V8(l)})}async function RS(a,l=60){await l5.put(_1.AppCollectionManifestCache,{...a,...V8(l)})}async function xS(a,l=60){await l5.put(_1.AppFolderManifestCache,{...a,...V8(l)})}async function Ug(a,l=5){let c=V8(l),h=l5.transaction(_1.AllowedApps,"readwrite"),Z=h.objectStore(_1.AllowedApps);return a.forEach((o)=>Z.put({...c,...o})),h.done}function pS(a){return l5.delete(_1.AppCollectionManifestCache,a)}function wS(a){return l5.delete(_1.AppFolderManifestCache,a)}async function DS(){return i8(_1.AppCollectionManifestCache,"url")}async function sS(){return i8(_1.AppFolderManifestCache,"url")}async function Og(){return i8(_1.AllowedApps,"Id")}async function CR1(){return i8(_1.HubSiteData,"SiteId")}async function Gg(a){if(a){let l=await MM(a.url);if(l){if(l.hash!==a.hash)await wS(a.url),b2(`Evicted ${Y0} ${l.url} from cache. Because of hash mismatch.`)}}return sS()}async function Pg(a){if(a){let l=await tM(a.url);if(l){if(l.hash!==a.hash)await pS(a.url),b2(`Evicted ${l2} ${l.url} from cache. Because of hash mismatch.`)}}return DS()}async function FR1(a){if(await Gg(),uc)return;return MM(a)}async function RR1(a,l){await Gg(a);let c=await MM(a.url);if(c&&c.hash===a.hash&&!uc)return;await xS(a,l)}async function xR1(a,l){await Pg(a);let c=await tM(a.url);if(c&&c.hash===a.hash&&!uc)return;await RS(a,l)}async function pR1(a){if(await Pg(),uc)return;return tM(a)}var HM=/*@__PURE__*/new Map;async function qg(a,l=!1){let c="";if(HM.has(a)&&!l)c=HM.get(a)||"";if(c)return c;let h=await fetch(`${a}/_api/contextinfo`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json"}});if(h.status===200){let o=(await h.json()).d.GetContextWebInformation.FormDigestValue;return HM.set(a,o),o}else n1("Error while getting digest",h.status);return""}var AM=(a)=>{},Vo;async function io(a=""){if(Vo)return Vo;Vo=new Promise((l)=>{AM=l});try{let h=(await(await fetch(`${a}/_api/SP_TenantSettings_Current`,{headers:{Accept:"application/json;odata=verbose"}})).json()).d.CorporateCatalogUrl;AM(h)}catch(l){n1("Error while getting app catalog url. Trying default /sites/appcatalog",l);let c=`${window.location.origin}/sites/appcatalog`;AM(c)}return Vo}async function zg(a=""){let l=await W3("AppCatalogUrl");if(l?.Data)return l.Data;let c=await io(a);return await P2({Title:"AppCatalogUrl",Data:c,date:"",expires:""},240),c}async function f5(a=""){let c=`${await zg()}${a?`/${a}`:""}`;return qg(c)}var kS=await zg(),H0=`${kS}/${w0}`;var Jg={Status:"Status",RootCDNLocation:"RootCDNLocation",InterceptHistory:"InterceptHistory",EnableAppWhiteList:"EnableAppWhiteList",AppCatalogUrl:"AppCatalogUrl",SPFxDataSite:"SPFxDataSite",ConfiguratorPageData:"ConfiguratorPageData",AppWhiteList:"AppWhiteList",Version:"2025-05-16T13:25:19.571Z"},Qg=[{Title:"Status",Data:"Installed"},{Title:"InterceptHistory",Data:"true"},{Title:"EnableAppWhiteList",Data:"false"},{Title:"RootCDNLocation",Data:`/sites/appcatalog/${w0}`}];function Kg(a){let l=Qg.find((c)=>c.Title==="RootCDNLocation");if(l)l.Data=a;return Qg}var SS=Object.keys(Jg).length,no;async function BS(){let a=`${H0}/_api/web/lists/GetByTitle('${J6}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){let h=(await l.json()).d.results,Z=h.map((v)=>v.InternalName),o=h.find((v)=>v.InternalName==="Title");if(!o){n1("Title field not found.");return}if(!o.EnforceUniqueValues){let v=await f5(w0);if((await fetch(`${H0}/_api/web/lists/GetByTitle('${J6}')/fields('${o.Id}')`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":v,"X-HTTP-Method":"MERGE","If-Match":"*"},body:JSON.stringify({__metadata:{type:"SP.Field"},Indexed:!0,EnforceUniqueValues:!0})})).status===204)N0("Title field updated successfully.");else n1("Unable to update Title field.")}if(!Z.includes("Data")){let v=await f5(w0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":v},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:"Data",FieldTypeKind:2,Required:!0})})).status===201)N0("Data field added successfully.");else n1("Unable to add Data field.")}}}catch(l){n1("Error while ensuring configuration list data fields.",l)}}async function fS(){let a=!1;try{if(a=(await fetch(`${H0}/_api/web/lists/GetByTitle('${J6}')`)).status===404,a){let c=await f5(w0);if(N0("Creating configuration list."),(await fetch(`${H0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":c},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:"SPFxExtensionsConfiguration",Description:"Configuration list for SPFxExtensions"})})).status===201)N0("Configuration list created successfully.");else n1("Unable to create configuration list.")}await BS()}catch(l){n1("Error while ensuring configuration list.",l)}return a}async function Xg(){let a=`${H0}/_api/web/lists/GetByTitle('${J6}')/items?$select=Title,Data`,c=await fetch(a,{...{headers:{Accept:"application/json;odata=verbose"}}});if(c.status!==200)return n1("Unable to fetch configuration list items."),[];return(await c.json()).d.results}async function TS(){let a=await f5(w0);for(let l of Kg(H0))if((await fetch(`${H0}/_api/web/lists/GetByTitle('${J6}')/items`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":a},body:JSON.stringify({__metadata:{type:"SP.Data.SPFxExtensionsConfigurationListItem"},...l})})).status===201)N0(`Item ${l.Title} added successfully.`);else n1(`Unable to add item ${l.Title}.`)}function Eg(a=!1){if(a)return Xg();if(no)return no;return no=WS(),no}async function WS(){let a=await mM();if(a.length<SS){if(await fS())await TS();let c=await Xg();await bg(c,240),a=await mM()}return a}async function bS(a){let l=await io(),c=await f5(),h=await fetch(`${l}/_api/web/webs/add`,{method:"POST",headers:{Accept:"application/json;odata=nometadata","Content-Type":"application/json","X-RequestDigest":c},body:JSON.stringify({parameters:{Description:"Site that stores SPFxExtensions Data and global apps",Language:1033,Title:"SPFxExtensions Data",Url:a,UseSamePermissionsAsParentSite:!0,WebTemplate:"STS"}})});if(!h.ok)throw new Error(`Failed to create SPFxExtensionsData web in ${l}`);return await h.json()}async function IS(){let a=await io(),l=await f5(),c=await fetch(`${a}/${w0}/_api/web`,{method:"GET",headers:{Accept:"application/json;odata=nometadata","X-RequestDigest":l}});if(!c.ok){if(c.status===404)return{data:void 0,isError:!1,error:"",warnings:[`SPFxExtensionsData web not found in ${a}`]};return n1(`Failed to fetch data from ${a}/${w0}/_api/web`),{data:void 0,isError:!0,error:`Failed to fetch data from ${a}/${w0}/_api/web`,warnings:[]}}return{data:await c.json(),isError:!1,error:"",warnings:[]}}async function US(){return(await W3("SPFxDataSite"))?.Data}var uo;function $g(){if(uo)return uo;return uo=OS(),uo}async function OS(){let a=await US();if(!a){let l=await IS();if(!l.isError&&!l.data){let c=await bS(w0);l.data=c}return await P2({Title:"SPFxDataSite",Data:l.data,date:"",expires:""},240),l.data}return a}var VM="f3ab710f-2c08-422e-a7ad-5d93eb51e7a3",Lo={accept:"application/json"},GS={"Content-Type":"application/json"};async function PS(){let l={"X-RequestDigest":await f5(w0)};return(await(await fetch(`${H0}/_api/sitepages/pages`,{headers:{...Lo,...l,...GS},body:JSON.stringify({PageLayoutType:"SingleWebPartAppPage",PromotedState:0}),method:"POST"})).json()).Id}async function iM(){let a=await fetch(`${H0}/_api/sitepages/pages/GetByUrl('${SZ}')`,{headers:{...Lo},method:"GET"});if(a.status===404)return;return await a.json()}var qS=[{dataVersion:"1.4",description:"Title Region Description",id:"cbe7b0a9-3504-44dd-a3a3-0e5cacd07788",instanceId:"cbe7b0a9-3504-44dd-a3a3-0e5cacd07788",properties:{authorByline:[],authors:[],layoutType:"FullWidthImage",showPublishDate:!1,showTopicHeader:!1,textAlignment:"Left",title:"SPFx Extensions Configurator",topicHeader:"",enableGradientEffect:!0},reservedHeight:280,serverProcessedContent:{htmlStrings:{},searchablePlainTexts:{},imageSources:{},links:{}},title:"Title area"}],zS=[{addedFromPersistedData:!1,controlType:3,displayMode:2,emphasis:{},id:VM,position:{controlIndex:1,layoutIndex:1,sectionFactor:12,sectionIndex:1,zoneIndex:1},reservedHeight:500,reservedWidth:500,webPartData:{dataVersion:"1.0",description:"Allows you to add a custom developed app",id:am,instanceId:VM,properties:{description:"Select an app to load from the dropdown below",selectedApp:Kd,SPFxExtensionAppConfiguration:void 0},title:"SPFx Extension Loader"},webPartId:am},{controlType:0,pageSettingsSlice:{isDefaultDescription:!0,isDefaultThumbnail:!0}}],QS={CanvasContent1:`${JSON.stringify(zS)}`,LayoutWebpartsContent:`${JSON.stringify(qS)}`,Title:Xd};async function Yg(a){let c={"X-RequestDigest":await f5(w0)};await fetch(`${H0}/_api/sitepages/pages(${a})/savepage`,{headers:{"Content-Type":"application/json",...Lo,...c},body:JSON.stringify(QS),method:"POST"}),await fetch(`${H0}/_api/sitepages/pages(${a})/publish`,{headers:{...Lo,...c},method:"POST"})}async function JS(){let a=await PS();return await Yg(a),iM()}async function KS(){let a=await W3("ConfiguratorPageData");if(a?.Data)return a.Data;let l=await iM();if(l)await P2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480);return l}async function yg(){let a=await KS();if(!a)return JS();if(a.CanvasContent1.indexOf(VM)===-1){await Yg(a.Id);let l=await iM();return await P2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480),l}return a}async function XS(){let a=`${H0}/_api/web/lists/GetByTitle('${K6}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){if(!(await l.json()).d.results.map((o)=>o.InternalName).some((o)=>o==="EntryPointUrl"))await ES(a,"EntryPointUrl","Full URL to the Entrypoint JS file, if * is specified all entries will be allowed.",!0)}}catch(l){n1("Error while ensuring list fields.",l)}}async function ES(a,l,c,h){let Z=await f5(w0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":Z},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:l,FieldTypeKind:3,Required:h,Description:c})})).status===201)N0(l,"field added successfully.");else n1(l,"Unable to add field.")}async function $S(){try{let a=await fetch(`${H0}/_api/web/lists/GetByTitle('${K6}')?$select=*`,{method:"GET",headers:{Accept:"application/json;odata=verbose"}});if(a.status===404){N0("Creating app white list.");let c=await f5(w0),h=await fetch(`${H0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":c},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:K6,Description:"App whitelist for SPFxExtensions"})});if(h.status===201)return N0("App whitelist created successfully."),h.json();else{n1("Unable to create app whitelist.");return}}return await XS(),a.json()}catch(a){n1("Error while ensuring app whitelist.",a)}return}async function Ng(){let a=await W3("AppWhiteList");if(a?.Data)return a.Data;let l=await $S();if(l)await P2({Title:"AppWhiteList",Data:l,date:"",expires:""},480);return l}var go;async function YS(){if(go)return go;return go=yS(),go}async function yS(){await $g(),await Ng(),await yg(),window.__SPFxExtensions.Utils.ConfiguratorPageUrl=`${H0}/${SZ}`}async function n8(a=!1){return await YS(),Eg(a)}async function ex1(){return`${`${(await n8()).find((h)=>h.Title==="RootCDNLocation")?.Data??`${H0}`}${Ed}`}${l2}`}async function Vx1(){let a=await n8(),l=["spfxextensions","ff36e5d0-f7c7-421d-9e21-0a422626209a"];if(a.find((c)=>c.Title==="Version")?.Data!=="2025-05-16T13:25:19.571Z"){a=await n8(!0),P2({Title:"Version",Data:"2025-05-16T13:25:19.571Z",date:"",expires:""},240);let c=await caches.keys(),h=!1;for(let Z of c){let o=await caches.open(Z),v=await o.keys(),r=[];for(let e of v){let m=e.url.toLowerCase();if(l.some((t)=>m.indexOf(t)>-1))TZ("Deleting cache key",e),h=!0,r.push(o.delete(e,{ignoreMethod:!0,ignoreSearch:!0}))}await Promise.allSettled(r)}if(h)window.location.reload()}}function jg(){return Rg(`${Date.now()}`,13)}function _g(){let a=J7(""),l=J7(!1);async function c(Z,o){l.value=o.open}async function h(){if(!a.value||!w1.value||w1.value.manifest.appDefinitionMap.some((v)=>v.appId===a.value))return;let Z={appId:a.value,config:U1(X6)},o=U1(w1.value);o.manifest.appDefinitionMap.push(Z),w1.value=o,l.value=!1}if(!w1.value||w1.value.manifest.isESM)return null;return/*@__PURE__*/n(D5,{open:l.value,surfaceMotion:null,modalType:"alert",onOpenChange:c,children:[/*@__PURE__*/n(P0,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(D2,{appearance:"outline",icon:/*@__PURE__*/n(R6,{},void 0,!1,void 0,this),children:"Add Entry"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(p2,{children:/*@__PURE__*/n(R2,{children:[/*@__PURE__*/n(x2,{action:/*@__PURE__*/n(P0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/n(C1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/n(h7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),children:"Create new app config"},void 0,!1,void 0,this),/*@__PURE__*/n(w2,{style:{padding:"16px 0"},children:/*@__PURE__*/n(i5,{value:a.value,style:{width:"100%"},placeholder:"Enter application id or entrypoint path",onChange:(Z,o)=>{a.value=o.value}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(F2,{children:[/*@__PURE__*/n(P0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/n(C1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(C1,{appearance:"primary",disabled:!a.value||w1.value?.manifest.appDefinitionMap.some((Z)=>Z.appId===a.value),onClick:()=>{h()},children:"Create"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var NS=jS();async function jS(){try{let a=await Og(),l=await Ig();if(l.length>0&&!a)return l;if(l.length>0)N0("Cache mismatch, loading allowed apps data...");let c=await aC();return await Ug(c,5),c}catch(a){return n1("Unable to load allowed apps data...",a),[]}}async function aC(a=!1){if((await n8(a)).find((h)=>h.Title==="EnableAppWhiteList")?.Data!=="true")return[{Id:1,Title:"All apps allowed",EntryPointUrl:"*",date:(/*@__PURE__*/new Date()).toISOString(),expires:(/*@__PURE__*/new Date()).toISOString()}];return _S()}async function _S(){let a=`${H0}/_api/web/lists/getByTitle('${K6}')/Items?$select=Id,Title,EntryPointUrl&$top=1000`;return await aB(a)}async function aB(a){let l=a,c=[];while(l){let Z=await(await fetch(l,{method:"GET",headers:{Accept:"application/json;odata=verbose"}})).json();if(Z.error)throw new Error(JSON.stringify(Z.error));c.push(...Z.d.results),l=Z.d.__next}return c}function lB(a,l){if(l.some((Z)=>Z.EntryPointUrl==="*"))return!0;let h=(a.origin+a.pathname).toLowerCase();return l.some((Z)=>{try{let o=new URL(Z.EntryPointUrl),v=o.origin+o.pathname;return h===v.toLowerCase()}catch(o){return n1("Error while parsing allowed entry URL",Z.EntryPointUrl,o),!1}})}async function lC(a,l,c=!1){if(Ag(a))return!0;let h=c?await aC(c):await NS;if(!lB(a,h))return b2("File",a,`is not allowed to be executed. Please add it to whitelist @ ${H0}.`),b2(`If you are a developer you can enable this app by adding localStorage item ${E7.SPFXEXT}${l} with a number value corresponding to development port of the localhost server.`),!1;return!0}async function cC(a){if(!a.manifest.isESM){let c=[];for(let Z of a.manifest.appRelativeEntryPointUrls){let o=a.manifest.appDefinitionMap.find((v)=>v.appId===Z)?.config??U1(X6);c.push({appId:Z,name:Z,resolved:!0,config:o})}let h=a.manifest.appDefinitionMap.filter((Z)=>!c.some((o)=>o.appId===Z.appId)).map((Z)=>({...Z,name:`${Z.appId}`,resolved:!0}));return c.push(...U1(h)),c}let l=a.manifest.appDefinitionMap.map((c)=>{return{appId:c.appId,name:`Unknown_${c.appId}`,resolved:!1,config:c.config??U1(X6)}});for(let c of a.manifest.appRelativeEntryPointUrls){let h=c.replace(/\.\.\/?/g,"").replace(/\.\//g,""),Z=new URL(`${Mo}/${S1}/${a.name}/${h}`);if(!await lC(Z,a.name,!0))continue;Z.searchParams.set("t",`${Date.now()}`);try{let v=await import(`${Z}`);if(!v.default){n1(`Invalid app definition file ${Z}, default export not available.`);continue}if(!Array.isArray(v.default)){n1(`Invalid app definition file ${Z}, default export should be an array.`);continue}if(v.default.some((r)=>!r.id||!r.name)){n1(`Invalid app definition file ${Z}, default export should be an array of objects with id and name properties.`);continue}for(let r of v.default){let e=l.find((m)=>m.appId===r.id);if(e){e.name=r.name,e.resolved=!0;continue}l.push({appId:r.id,name:r.name,resolved:!0,config:U1(X6)})}}catch(v){n1(`Error loading ${Z}`,v);continue}}return l}$2();var cB=to();function hC({appDefinitions:a}){let l=f7(),[c,h]=e1(F1.value),[Z,o]=e1(!1),[v,r]=e1([]),[e,m]=e1([]),[t,M]=e1([]);if(q5(()=>{if(!F1.value)return;if(!c){h(F1.value);return}let H=JSON.stringify(F1.value),A=JSON.stringify(c);h(F1.value),o(H!==A)}),q5(()=>{if(!G2){if(B5())eo(l0,s0.value.urlMap).then((H)=>{r(H?[H]:[])});if(mo()&&!B5())ro(l0).then((H)=>{m(H?[H]:[])})}else{let H=ho(s0.value.urlMap);r(H.hubs),m(H.sites),M(H.webs)}}),!F1.value||!w1.value)return null;return/*@__PURE__*/n(S2,{...l,separator:!0,open:!!F1.value,position:"end",size:"large",children:[/*@__PURE__*/n(f2,{children:/*@__PURE__*/n(T2,{action:/*@__PURE__*/n(C1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/n(h7,{},void 0,!1,void 0,this),onClick:()=>{F1.value=void 0}},void 0,!1,void 0,this),children:"Enable app on sites"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(B2,{children:/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(v1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",children:[/*@__PURE__*/n(v1,{horizontal:!0,verticalAlign:"center",gap:8,children:[/*@__PURE__*/n(k0,{children:"Enable everywhere"},void 0,!1,void 0,this),/*@__PURE__*/n(C2,{withArrow:!0,children:[/*@__PURE__*/n(_5,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(O0,{children:/*@__PURE__*/n(Th,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(g2,{tabIndex:-1,children:/*@__PURE__*/n(a2,{children:cB==="global"&&"Enables app for all listed and unlisted hubs and sites in tenant."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(C0,{defaultChecked:F1.value.config.enabledEverywhere,onChange:(H,A)=>{let V=U1(F1.value);V.config.enabledEverywhere=A.checked,V.config.includedIds=[],V.config.excludedIds=[],V.config.includedHubIds=[],V.config.excludedHubIds=[],F1.value=V}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(v1,{gap:12,children:[/*@__PURE__*/n(e5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/n(O5,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{children:v.length>0?/*@__PURE__*/n(Ho,{hubSites:v,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/n(e5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/n(O5,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{children:e.length>0?/*@__PURE__*/n(H8,{additionalIcon:/*@__PURE__*/n(F6,{},void 0,!1,void 0,this),siteCollections:e,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/n(e5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/n(O5,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{children:t.length>0?/*@__PURE__*/n(f3,{additionalIcon:/*@__PURE__*/n(Dh,{},void 0,!1,void 0,this),webs:t,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(z7,{children:/*@__PURE__*/n(v1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/n(C1,{appearance:"secondary",onClick:()=>{F1.value=void 0},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/n(C1,{appearance:"primary",disabled:!Z,onClick:()=>{if(!F1.value)return;let H=U1(w1.value),A=U1(F1.value);H.manifest.appDefinitionMap=H.manifest.appDefinitionMap.filter((V)=>V.appId!==A.appId),H.manifest.appDefinitionMap.push(A),w1.value=H,F1.value=void 0},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ZC(){let a=J7([]),l=J7(!1);async function c(Z){l.value=!1;let o=await cC(Z);l.value=!0,a.value=o}function h(Z){if(!w1.value)return;let o=U1(w1.value);o.manifest.appDefinitionMap=o.manifest.appDefinitionMap.filter((v)=>v.appId!==Z.appId),w1.value=o}if(q5(()=>{if(!w1.value)return;c(w1.value)}),!w1.value)return null;if(!l.value)return/*@__PURE__*/n(v1,{style:{marginTop:"10px"},children:/*@__PURE__*/n(P7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this);return/*@__PURE__*/n(v1,{style:{marginTop:"10px",borderBottom:"1px solid #eaeaea"},children:[a.value.map((Z)=>{return/*@__PURE__*/n(v1,{horizontal:!0,gap:8,horizontalAlign:"space-between",verticalAlign:"center",style:{borderTop:"1px solid #eaeaea",padding:"10px 6px",minHeight:"53px"},children:[/*@__PURE__*/n(v1,{horizontal:!0,verticalAlign:"center",gap:8,grow:!0,children:[/*@__PURE__*/n(Oi,{},void 0,!1,void 0,this)," ",/*@__PURE__*/n(O0,{size:"medium",onClick:()=>{F1.value={appId:Z.appId,config:Z.config}},children:Z.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(v1,{gap:8,horizontal:!0,children:[!w1.value.manifest.isESM||w1.value.manifest.isESM&&!Z.resolved?/*@__PURE__*/n(C1,{"aria-label":"Delete configuration item",icon:/*@__PURE__*/n(m3,{},void 0,!1,void 0,this),onClick:()=>{h(Z)}},void 0,!1,void 0,this):null,/*@__PURE__*/n(C1,{"aria-label":"Edit sites",icon:/*@__PURE__*/n(Ii,{},void 0,!1,void 0,this),onClick:()=>{F1.value={appId:Z.appId,config:Z.config}}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}),/*@__PURE__*/n(hC,{appDefinitions:a.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}$2();async function oC(a){let l={data:[],warnings:[],error:"",isError:!1},c=a.find((v)=>v.path.toLowerCase().endsWith(Y0)),h=-1,Z="/";if(!c)l.warnings.push("No manifest.txt file found."),l.isError=!1;else h=c.path.lastIndexOf("/"),Z=c.path.substring(0,h+1);for(let v of a){if(v.size===0)continue;let r=await v.arrayBuffer(),e=new Uint8Array(r),m=v.path,t=v.path.lastIndexOf("/"),M=t>-1?v.path.substring(0,t+1):"",H="/";if(M){let A=M.split("/").filter((i)=>i.length>0),V=Z.split("/").filter((i)=>i.length>0);A.forEach((i)=>{if(V.includes(i))H+=`${i}/`})}m=m.replace(H,"").replace(/^\./,""),l.data.push({fileName:m,content:e})}let o=[];if(Z!=="/"){if(o=a.filter((v)=>!v.path.startsWith(Z)),o.length>0)l.warnings.push("Some files are outside of manifest.txt directory."),l.warnings.push(...o.map((v)=>`File: ${v.relativePath}`))}return l}async function*vC(a,l,c){await e8(a,l);let h=V7(a),Z={data:[],error:"",isError:!1,warnings:[]},o=[];for(let v of c){let r=v.fileName.lastIndexOf("/"),e=r>-1,m=e?v.fileName.substring(r+1):v.fileName,t=v.fileName.substring(0,r),M=`${S1}/${l}${t?`/${t}`:""}`,H=a.web.getFolderByServerRelativePath(M);if(e){if(!o.includes(t))try{await lg(a,l,t.split("/")),o.push(t)}catch(A){return Z.error=`Error while creating ${t} in ${M} folder in ${h}. ${A}`,Z.isError=!0,Z}}try{await H.files.addUsingPath(m,new Blob([v.content]),{Overwrite:!0});let A=`${m} uploaded successfully`;Z.data.push(A),yield{data:A,success:!0,fileName:v.fileName}}catch(A){let V=`Error while uploading ${m} in ${M} folder in ${h}`;n1(V,A),Z.warnings.push(V),yield{data:V,success:!1,fileName:v.fileName}}}if(Z.data.length===0&&Z.warnings.length>0)Z.error="All files failed to upload.",Z.isError=!0;return Z}async function hB(a,l){let c=await a.web.using(gL())(),h=a.web.lists.getByTitle(S1).items.select("FileLeafRef","FileDirRef").filter(`FSObjType eq 0 and substringof('${S1}/${l}',FileDirRef)`).top(100),Z=[],o=c.ServerRelativeUrl.replace(/\/$/,"");for await(let v of h)v.forEach((e)=>{let m=e.FileDirRef.replace(`${o}/${S1}/${l}`,"."),t=e.FileLeafRef;Z.push(`${m}/${t}`)});return Z}async function rC(a,l){return(await hB(a,l)).filter((h)=>/\.js$/.test(h))}C();C();var Y1=G4(sd(),1);var ZB=/*@__PURE__*/new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function W4(a,l,c){let h=oB(a),{webkitRelativePath:Z}=a,o=typeof l==="string"?l:typeof Z==="string"&&Z.length>0?Z:`./${a.name}`;if(typeof h.path!=="string")eC(h,"path",o);if(c!==void 0)Object.defineProperty(h,"handle",{value:c,writable:!1,configurable:!1,enumerable:!0});return eC(h,"relativePath",o),h}function oB(a){let{name:l}=a;if(l&&l.lastIndexOf(".")!==-1&&!a.type){let h=l.split(".").pop().toLowerCase(),Z=ZB.get(h);if(Z)Object.defineProperty(a,"type",{value:Z,writable:!1,configurable:!1,enumerable:!0})}return a}function eC(a,l,c){Object.defineProperty(a,l,{value:c,writable:!1,configurable:!1,enumerable:!0})}var vB=[".DS_Store","Thumbs.db"];function uM(a){return p3(this,void 0,void 0,function*(){if(Co(a)&&rB(a.dataTransfer))return tB(a.dataTransfer,a.type);else if(eB(a))return mB(a);else if(Array.isArray(a)&&a.every((l)=>("getFile"in l)&&typeof l.getFile==="function"))return MB(a);return[]})}function rB(a){return Co(a)}function eB(a){return Co(a)&&Co(a.target)}function Co(a){return typeof a==="object"&&a!==null}function mB(a){return nM(a.target.files).map((l)=>W4(l))}function MB(a){return p3(this,void 0,void 0,function*(){return(yield Promise.all(a.map((c)=>c.getFile()))).map((c)=>W4(c))})}function tB(a,l){return p3(this,void 0,void 0,function*(){if(a.items){let c=nM(a.items).filter((Z)=>Z.kind==="file");if(l!=="drop")return c;let h=yield Promise.all(c.map(HB));return mC(tC(h))}return mC(nM(a.files).map((c)=>W4(c)))})}function mC(a){return a.filter((l)=>vB.indexOf(l.name)===-1)}function nM(a){if(a===null)return[];let l=[];for(let c=0;c<a.length;c++){let h=a[c];l.push(h)}return l}function HB(a){if(typeof a.webkitGetAsEntry!=="function")return MC(a);let l=a.webkitGetAsEntry();if(l&&l.isDirectory)return HC(l);return MC(a,l)}function tC(a){return a.reduce((l,c)=>[...l,...Array.isArray(c)?tC(c):[c]],[])}function MC(a,l){return p3(this,void 0,void 0,function*(){var c;if(globalThis.isSecureContext&&typeof a.getAsFileSystemHandle==="function"){let o=yield a.getAsFileSystemHandle();if(o===null)throw new Error(`${a} is not a File`);if(o!==void 0){let v=yield o.getFile();return v.handle=o,W4(v)}}let h=a.getAsFile();if(!h)throw new Error(`${a} is not a File`);return W4(h,(c=l===null||l===void 0?void 0:l.fullPath)!==null&&c!==void 0?c:void 0)})}function AB(a){return p3(this,void 0,void 0,function*(){return a.isDirectory?HC(a):VB(a)})}function HC(a){let l=a.createReader();return new Promise((c,h)=>{let Z=[];function o(){l.readEntries((v)=>p3(this,void 0,void 0,function*(){if(!v.length)try{let r=yield Promise.all(Z);c(r)}catch(r){h(r)}else{let r=Promise.all(v.map(AB));Z.push(r),o()}}),(v)=>{h(v)})}o()})}function VB(a){return p3(this,void 0,void 0,function*(){return new Promise((l,c)=>{a.file((h)=>{let Z=W4(h,a.fullPath);l(Z)},(h)=>{c(h)})})})}var Fo=G4(AC(),1);function VC(a){return gB(a)||LB(a)||gC(a)||dB()}function dB(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
168
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function LB(a){if(typeof Symbol!=="undefined"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function gB(a){if(Array.isArray(a))return dM(a)}function iC(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(a);l&&(h=h.filter(function(Z){return Object.getOwnPropertyDescriptor(a,Z).enumerable})),c.push.apply(c,h)}return c}function nC(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?iC(Object(c),!0).forEach(function(h){LC(a,h,c[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):iC(Object(c)).forEach(function(h){Object.defineProperty(a,h,Object.getOwnPropertyDescriptor(c,h))})}return a}function LC(a,l,c){if(l in a)Object.defineProperty(a,l,{value:c,enumerable:!0,configurable:!0,writable:!0});else a[l]=c;return a}function dc(a,l){return RB(a)||FB(a,l)||gC(a,l)||CB()}function CB(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
169
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gC(a,l){if(!a)return;if(typeof a==="string")return dM(a,l);var c=Object.prototype.toString.call(a).slice(8,-1);if(c==="Object"&&a.constructor)c=a.constructor.name;if(c==="Map"||c==="Set")return Array.from(a);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return dM(a,l)}function dM(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,h=new Array(l);c<l;c++)h[c]=a[c];return h}function FB(a,l){var c=a==null?null:typeof Symbol!=="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var h=[],Z=!0,o=!1,v,r;try{for(c=c.call(a);!(Z=(v=c.next()).done);Z=!0)if(h.push(v.value),l&&h.length===l)break}catch(e){o=!0,r=e}finally{try{if(!Z&&c.return!=null)c.return()}finally{if(o)throw r}}return h}function RB(a){if(Array.isArray(a))return a}var xB=typeof Fo.default==="function"?Fo.default:Fo.default.default,pB="file-invalid-type",wB="file-too-large",DB="file-too-small",sB="too-many-files";var kB=function a(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",c=l.split(","),h=c.length>1?"one of ".concat(c.join(", ")):c[0];return{code:pB,message:"File type must be ".concat(h)}},uC=function a(l){return{code:wB,message:"File is larger than ".concat(l," ").concat(l===1?"byte":"bytes")}},dC=function a(l){return{code:DB,message:"File is smaller than ".concat(l," ").concat(l===1?"byte":"bytes")}},CC={code:sB,message:"Too many files"};function LM(a,l){var c=a.type==="application/x-moz-file"||xB(a,l);return[c,c?null:kB(l)]}function gM(a,l,c){if(b4(a.size)){if(b4(l)&&b4(c)){if(a.size>c)return[!1,uC(c)];if(a.size<l)return[!1,dC(l)]}else if(b4(l)&&a.size<l)return[!1,dC(l)];else if(b4(c)&&a.size>c)return[!1,uC(c)]}return[!0,null]}function b4(a){return a!==void 0&&a!==null}function FC(a){var{files:l,accept:c,minSize:h,maxSize:Z,multiple:o,maxFiles:v,validator:r}=a;if(!o&&l.length>1||o&&v>=1&&l.length>v)return!1;return l.every(function(e){var m=LM(e,c),t=dc(m,1),M=t[0],H=gM(e,h,Z),A=dc(H,1),V=A[0],i=r?r(e):null;return M&&V&&!i})}function Lc(a){if(typeof a.isPropagationStopped==="function")return a.isPropagationStopped();else if(typeof a.cancelBubble!=="undefined")return a.cancelBubble;return!1}function gc(a){if(!a.dataTransfer)return!!a.target&&!!a.target.files;return Array.prototype.some.call(a.dataTransfer.types,function(l){return l==="Files"||l==="application/x-moz-file"})}function CM(a){a.preventDefault()}function SB(a){return a.indexOf("MSIE")!==-1||a.indexOf("Trident/")!==-1}function BB(a){return a.indexOf("Edge/")!==-1}function RC(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return SB(a)||BB(a)}function q2(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return function(h){for(var Z=arguments.length,o=new Array(Z>1?Z-1:0),v=1;v<Z;v++)o[v-1]=arguments[v];return l.some(function(r){if(!Lc(h)&&r)r.apply(void 0,[h].concat(o));return Lc(h)})}}function xC(){return"showOpenFilePicker"in window}function pC(a){if(b4(a)){var l=Object.entries(a).filter(function(c){var h=dc(c,2),Z=h[0],o=h[1],v=!0;if(!kC(Z))console.warn('Skipped "'.concat(Z,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),v=!1;if(!Array.isArray(o)||!o.every(SC))console.warn('Skipped "'.concat(Z,'" because an invalid file extension was provided.')),v=!1;return v}).reduce(function(c,h){var Z=dc(h,2),o=Z[0],v=Z[1];return nC(nC({},c),{},LC({},o,v))},{});return[{description:"Files",accept:l}]}return a}function wC(a){if(b4(a))return Object.entries(a).reduce(function(l,c){var h=dc(c,2),Z=h[0],o=h[1];return[].concat(VC(l),[Z],VC(o))},[]).filter(function(l){return kC(l)||SC(l)}).join(",");return}function DC(a){return a instanceof DOMException&&(a.name==="AbortError"||a.code===a.ABORT_ERR)}function sC(a){return a instanceof DOMException&&(a.name==="SecurityError"||a.code===a.SECURITY_ERR)}function kC(a){return a==="audio/*"||a==="video/*"||a==="image/*"||a==="text/*"||a==="application/*"||/\w+\/[-+.\w]+/g.test(a)}function SC(a){return/^.*\.[\w]+$/.test(a)}var fB=["children"],TB=["open"],WB=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],bB=["refKey","onChange","onClick"];function IB(a){return GB(a)||OB(a)||TC(a)||UB()}function UB(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
170
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function OB(a){if(typeof Symbol!=="undefined"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function GB(a){if(Array.isArray(a))return RM(a)}function FM(a,l){return zB(a)||qB(a,l)||TC(a,l)||PB()}function PB(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
171
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function TC(a,l){if(!a)return;if(typeof a==="string")return RM(a,l);var c=Object.prototype.toString.call(a).slice(8,-1);if(c==="Object"&&a.constructor)c=a.constructor.name;if(c==="Map"||c==="Set")return Array.from(a);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return RM(a,l)}function RM(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,h=new Array(l);c<l;c++)h[c]=a[c];return h}function qB(a,l){var c=a==null?null:typeof Symbol!=="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var h=[],Z=!0,o=!1,v,r;try{for(c=c.call(a);!(Z=(v=c.next()).done);Z=!0)if(h.push(v.value),l&&h.length===l)break}catch(e){o=!0,r=e}finally{try{if(!Z&&c.return!=null)c.return()}finally{if(o)throw r}}return h}function zB(a){if(Array.isArray(a))return a}function BC(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(a);l&&(h=h.filter(function(Z){return Object.getOwnPropertyDescriptor(a,Z).enumerable})),c.push.apply(c,h)}return c}function A0(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?BC(Object(c),!0).forEach(function(h){xM(a,h,c[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):BC(Object(c)).forEach(function(h){Object.defineProperty(a,h,Object.getOwnPropertyDescriptor(c,h))})}return a}function xM(a,l,c){if(l in a)Object.defineProperty(a,l,{value:c,enumerable:!0,configurable:!0,writable:!0});else a[l]=c;return a}function Ro(a,l){if(a==null)return{};var c=QB(a,l),h,Z;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);for(Z=0;Z<o.length;Z++){if(h=o[Z],l.indexOf(h)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(a,h))continue;c[h]=a[h]}}return c}function QB(a,l){if(a==null)return{};var c={},h=Object.keys(a),Z,o;for(o=0;o<h.length;o++){if(Z=h[o],l.indexOf(Z)>=0)continue;c[Z]=a[Z]}return c}var xo=/*@__PURE__*/U(function(a,l){var c=a.children,h=Ro(a,fB),Z=JB(h),o=Z.open,v=Ro(Z,TB);return g5(l,function(){return{open:o}},[o]),/*@__PURE__*/ov.createElement(V1,null,c(A0(A0({},v),{},{open:o})))});xo.displayName="Dropzone";var WC={disabled:!1,getFilesFromEvent:uM,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};xo.defaultProps=WC;xo.propTypes={children:Y1.default.func,accept:Y1.default.objectOf(Y1.default.arrayOf(Y1.default.string)),multiple:Y1.default.bool,preventDropOnDocument:Y1.default.bool,noClick:Y1.default.bool,noKeyboard:Y1.default.bool,noDrag:Y1.default.bool,noDragEventsBubbling:Y1.default.bool,minSize:Y1.default.number,maxSize:Y1.default.number,maxFiles:Y1.default.number,disabled:Y1.default.bool,getFilesFromEvent:Y1.default.func,onFileDialogCancel:Y1.default.func,onFileDialogOpen:Y1.default.func,useFsAccessApi:Y1.default.bool,autoFocus:Y1.default.bool,onDragEnter:Y1.default.func,onDragLeave:Y1.default.func,onDragOver:Y1.default.func,onDrop:Y1.default.func,onDropAccepted:Y1.default.func,onDropRejected:Y1.default.func,onError:Y1.default.func,validator:Y1.default.func};var bC=xo,pM={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function JB(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=A0(A0({},WC),a),c=l.accept,h=l.disabled,Z=l.getFilesFromEvent,o=l.maxSize,v=l.minSize,r=l.multiple,e=l.maxFiles,m=l.onDragEnter,t=l.onDragLeave,M=l.onDragOver,H=l.onDrop,A=l.onDropAccepted,V=l.onDropRejected,i=l.onFileDialogCancel,u=l.onFileDialogOpen,d=l.useFsAccessApi,L=l.autoFocus,g=l.preventDropOnDocument,R=l.noClick,x=l.noKeyboard,S=l.noDrag,p=l.noDragEventsBubbling,I=l.onError,G=l.validator,r1=x1(function(){return wC(c)},[c]),l1=x1(function(){return pC(c)},[c]),Y=x1(function(){return typeof u==="function"?u:fC},[u]),w=x1(function(){return typeof i==="function"?i:fC},[i]),s=q(null),O=q(null),E=M2(KB,pM),j=FM(E,2),H1=j[0],Q=j[1],i1=H1.isFocused,J=H1.isFileDialogActive,X=q(typeof window!=="undefined"&&window.isSecureContext&&d&&xC()),h1=function N(){if(!X.current&&J)setTimeout(function(){if(O.current){var L1=O.current.files;if(!L1.length)Q({type:"closeDialog"}),w()}},300)};t1(function(){return window.addEventListener("focus",h1,!1),function(){window.removeEventListener("focus",h1,!1)}},[O,J,w,X]);var B1=q([]),Q1=function N(L1){if(s.current&&s.current.contains(L1.target))return;L1.preventDefault(),B1.current=[]};t1(function(){if(g)document.addEventListener("dragover",CM,!1),document.addEventListener("drop",Q1,!1);return function(){if(g)document.removeEventListener("dragover",CM),document.removeEventListener("drop",Q1)}},[s,g]),t1(function(){if(!h&&L&&s.current)s.current.focus();return function(){}},[s,L,h]);var h0=y(function(N){if(I)I(N);else console.error(N)},[I]),Q5=y(function(N){if(N.preventDefault(),N.persist(),O4(N),B1.current=[].concat(IB(B1.current),[N.target]),gc(N))Promise.resolve(Z(N)).then(function(L1){if(Lc(N)&&!p)return;var Z0=L1.length,V0=Z0>0&&FC({files:L1,accept:r1,minSize:v,maxSize:o,multiple:r,maxFiles:e,validator:G}),c5=Z0>0&&!V0;if(Q({isDragAccept:V0,isDragReject:c5,isDragActive:!0,type:"setDraggedFiles"}),m)m(N)}).catch(function(L1){return h0(L1)})},[Z,m,h0,p,r1,v,o,r,e,G]),r2=y(function(N){N.preventDefault(),N.persist(),O4(N);var L1=gc(N);if(L1&&N.dataTransfer)try{N.dataTransfer.dropEffect="copy"}catch(Z0){}if(L1&&M)M(N);return!1},[M,p]),e2=y(function(N){N.preventDefault(),N.persist(),O4(N);var L1=B1.current.filter(function(V0){return s.current&&s.current.contains(V0)}),Z0=L1.indexOf(N.target);if(Z0!==-1)L1.splice(Z0,1);if(B1.current=L1,L1.length>0)return;if(Q({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),gc(N)&&t)t(N)},[s,t,p]),J5=y(function(N,L1){var Z0=[],V0=[];if(N.forEach(function(c5){var U3=LM(c5,r1),Y7=FM(U3,2),a1=Y7[0],u1=Y7[1],k1=gM(c5,v,o),J1=FM(k1,2),o0=J1[0],t5=J1[1],I0=G?G(c5):null;if(a1&&o0&&!I0)Z0.push(c5);else{var Q2=[u1,t5];if(I0)Q2=Q2.concat(I0);V0.push({file:c5,errors:Q2.filter(function(h5){return h5})})}}),!r&&Z0.length>1||r&&e>=1&&Z0.length>e)Z0.forEach(function(c5){V0.push({file:c5,errors:[CC]})}),Z0.splice(0);if(Q({acceptedFiles:Z0,fileRejections:V0,isDragReject:V0.length>0,type:"setFiles"}),H)H(Z0,V0,L1);if(V0.length>0&&V)V(V0,L1);if(Z0.length>0&&A)A(Z0,L1)},[Q,r,r1,v,o,e,H,A,V,G]),T5=y(function(N){if(N.preventDefault(),N.persist(),O4(N),B1.current=[],gc(N))Promise.resolve(Z(N)).then(function(L1){if(Lc(N)&&!p)return;J5(L1,N)}).catch(function(L1){return h0(L1)});Q({type:"reset"})},[Z,J5,h0,p]),Z1=y(function(){if(X.current){Q({type:"openDialog"}),Y();var N={multiple:r,types:l1};window.showOpenFilePicker(N).then(function(L1){return Z(L1)}).then(function(L1){J5(L1,null),Q({type:"closeDialog"})}).catch(function(L1){if(DC(L1))w(L1),Q({type:"closeDialog"});else if(sC(L1))if(X.current=!1,O.current)O.current.value=null,O.current.click();else h0(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."));else h0(L1)});return}if(O.current)Q({type:"openDialog"}),Y(),O.current.value=null,O.current.click()},[Q,Y,w,d,J5,h0,l1,r]),W5=y(function(N){if(!s.current||!s.current.isEqualNode(N.target))return;if(N.key===" "||N.key==="Enter"||N.keyCode===32||N.keyCode===13)N.preventDefault(),Z1()},[s,Z1]),M1=y(function(){Q({type:"focus"})},[]),L5=y(function(){Q({type:"blur"})},[]),m2=y(function(){if(R)return;if(RC())setTimeout(Z1,0);else Z1()},[R,Z1]),b5=function N(L1){return h?null:L1},U4=function N(L1){return x?null:b5(L1)},b3=function N(L1){return S?null:b5(L1)},O4=function N(L1){if(p)L1.stopPropagation()},To=x1(function(){return function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L1=N.refKey,Z0=L1===void 0?"ref":L1,V0=N.role,c5=N.onKeyDown,U3=N.onFocus,Y7=N.onBlur,a1=N.onClick,u1=N.onDragEnter,k1=N.onDragOver,J1=N.onDragLeave,o0=N.onDrop,t5=Ro(N,WB);return A0(A0(xM({onKeyDown:U4(q2(c5,W5)),onFocus:U4(q2(U3,M1)),onBlur:U4(q2(Y7,L5)),onClick:b5(q2(a1,m2)),onDragEnter:b3(q2(u1,Q5)),onDragOver:b3(q2(k1,r2)),onDragLeave:b3(q2(J1,e2)),onDrop:b3(q2(o0,T5)),role:typeof V0==="string"&&V0!==""?V0:"presentation"},Z0,s),!h&&!x?{tabIndex:0}:{}),t5)}},[s,W5,M1,L5,m2,Q5,r2,e2,T5,x,S,h]),L8=y(function(N){N.stopPropagation()},[]),I3=x1(function(){return function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L1=N.refKey,Z0=L1===void 0?"ref":L1,V0=N.onChange,c5=N.onClick,U3=Ro(N,bB),Y7=xM({accept:r1,multiple:r,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:b5(q2(V0,T5)),onClick:b5(q2(c5,L8)),tabIndex:-1},Z0,O);return A0(A0({},Y7),U3)}},[O,c,r,T5,h]);return A0(A0({},H1),{},{isFocused:i1&&!h,getRootProps:To,getInputProps:I3,rootRef:s,inputRef:O,open:b5(Z1)})}function KB(a,l){switch(l.type){case"focus":return A0(A0({},a),{},{isFocused:!0});case"blur":return A0(A0({},a),{},{isFocused:!1});case"openDialog":return A0(A0({},pM),{},{isFileDialogActive:!0});case"closeDialog":return A0(A0({},a),{},{isFileDialogActive:!1});case"setDraggedFiles":return A0(A0({},a),{},{isDragActive:l.isDragActive,isDragAccept:l.isDragAccept,isDragReject:l.isDragReject});case"setFiles":return A0(A0({},a),{},{acceptedFiles:l.acceptedFiles,fileRejections:l.fileRejections,isDragReject:l.isDragReject});case"reset":return A0({},pM);default:return a}}function fC(){}var IC={},XB=function(a,l,c,h,Z){var o=new Worker(IC[l]||(IC[l]=URL.createObjectURL(new Blob([a+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return o.onmessage=function(v){var r=v.data,e=r.$e$;if(e){var m=new Error(e[0]);m.code=e[1],m.stack=e[2],Z(m,null)}else Z(null,r)},o.postMessage(c,h),o},d5=Uint8Array,I4=Uint16Array,GC=Int32Array,sM=new d5([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),kM=new d5([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),PC=new d5([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),qC=function(a,l){var c=new I4(31);for(var h=0;h<31;++h)c[h]=l+=1<<a[h-1];var Z=new GC(c[30]);for(var h=1;h<30;++h)for(var o=c[h];o<c[h+1];++o)Z[o]=o-c[h]<<5|h;return{b:c,r:Z}},zC=qC(sM,2),SM=zC.b,EB=zC.r;SM[28]=258,EB[258]=28;var QC=qC(kM,0),JC=QC.b,sp1=QC.r,so=new I4(32768);for(f1=0;f1<32768;++f1)u7=(f1&43690)>>1|(f1&21845)<<1,u7=(u7&52428)>>2|(u7&13107)<<2,u7=(u7&61680)>>4|(u7&3855)<<4,so[f1]=((u7&65280)>>8|(u7&255)<<8)>>1;var u7,f1,u8=function(a,l,c){var h=a.length,Z=0,o=new I4(l);for(;Z<h;++Z)if(a[Z])++o[a[Z]-1];var v=new I4(l);for(Z=1;Z<l;++Z)v[Z]=v[Z-1]+o[Z-1]<<1;var r;if(c){r=new I4(1<<l);var e=15-l;for(Z=0;Z<h;++Z)if(a[Z]){var m=Z<<4|a[Z],t=l-a[Z],M=v[a[Z]-1]++<<t;for(var H=M|(1<<t)-1;M<=H;++M)r[so[M]>>e]=m}}else{r=new I4(h);for(Z=0;Z<h;++Z)if(a[Z])r[Z]=so[v[a[Z]-1]++]>>15-a[Z]}return r},Cc=new d5(288);for(f1=0;f1<144;++f1)Cc[f1]=8;var f1;for(f1=144;f1<256;++f1)Cc[f1]=9;var f1;for(f1=256;f1<280;++f1)Cc[f1]=7;var f1;for(f1=280;f1<288;++f1)Cc[f1]=8;var f1,KC=new d5(32);for(f1=0;f1<32;++f1)KC[f1]=5;var f1;var XC=/*@__PURE__*/u8(Cc,9,1);var EC=/*@__PURE__*/u8(KC,5,1),wo=function(a){var l=a[0];for(var c=1;c<a.length;++c)if(a[c]>l)l=a[c];return l},v2=function(a,l,c){var h=l/8|0;return(a[h]|a[h+1]<<8)>>(l&7)&c},Do=function(a,l){var c=l/8|0;return(a[c]|a[c+1]<<8|a[c+2]<<16)>>(l&7)},$C=function(a){return(a+7)/8|0},ko=function(a,l,c){if(l==null||l<0)l=0;if(c==null||c>a.length)c=a.length;return new d5(a.subarray(l,c))};var YC=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],u5=function(a,l,c){var h=new Error(l||YC[a]);if(h.code=a,Error.captureStackTrace)Error.captureStackTrace(h,u5);if(!c)throw h;return h},yC=function(a,l,c,h){var Z=a.length,o=h?h.length:0;if(!Z||l.f&&!l.l)return c||new d5(0);var v=!c,r=v||l.i!=2,e=l.i;if(v)c=new d5(Z*3);var m=function(T5){var Z1=c.length;if(T5>Z1){var W5=new d5(Math.max(Z1*2,T5));W5.set(c),c=W5}},t=l.f||0,M=l.p||0,H=l.b||0,A=l.l,V=l.d,i=l.m,u=l.n,d=Z*8;do{if(!A){t=v2(a,M,1);var L=v2(a,M+1,3);if(M+=3,!L){var g=$C(M)+4,R=a[g-4]|a[g-3]<<8,x=g+R;if(x>Z){if(e)u5(0);break}if(r)m(H+R);c.set(a.subarray(g,x),H),l.b=H+=R,l.p=M=x*8,l.f=t;continue}else if(L==1)A=XC,V=EC,i=9,u=5;else if(L==2){var S=v2(a,M,31)+257,p=v2(a,M+10,15)+4,I=S+v2(a,M+5,31)+1;M+=14;var G=new d5(I),r1=new d5(19);for(var l1=0;l1<p;++l1)r1[PC[l1]]=v2(a,M+l1*3,7);M+=p*3;var Y=wo(r1),w=(1<<Y)-1,s=u8(r1,Y,1);for(var l1=0;l1<I;){var O=s[v2(a,M,w)];M+=O&15;var g=O>>4;if(g<16)G[l1++]=g;else{var E=0,j=0;if(g==16)j=3+v2(a,M,3),M+=2,E=G[l1-1];else if(g==17)j=3+v2(a,M,7),M+=3;else if(g==18)j=11+v2(a,M,127),M+=7;while(j--)G[l1++]=E}}var H1=G.subarray(0,S),Q=G.subarray(S);i=wo(H1),u=wo(Q),A=u8(H1,i,1),V=u8(Q,u,1)}else u5(1);if(M>d){if(e)u5(0);break}}if(r)m(H+131072);var i1=(1<<i)-1,J=(1<<u)-1,X=M;for(;;X=M){var E=A[Do(a,M)&i1],h1=E>>4;if(M+=E&15,M>d){if(e)u5(0);break}if(!E)u5(2);if(h1<256)c[H++]=h1;else if(h1==256){X=M,A=null;break}else{var B1=h1-254;if(h1>264){var l1=h1-257,Q1=sM[l1];B1=v2(a,M,(1<<Q1)-1)+SM[l1],M+=Q1}var h0=V[Do(a,M)&J],Q5=h0>>4;if(!h0)u5(3);M+=h0&15;var Q=JC[Q5];if(Q5>3){var Q1=kM[Q5];Q+=Do(a,M)&(1<<Q1)-1,M+=Q1}if(M>d){if(e)u5(0);break}if(r)m(H+131072);var r2=H+B1;if(H<Q){var e2=o-Q,J5=Math.min(Q,r2);if(e2+H<0)u5(3);for(;H<J5;++H)c[H]=h[e2+H]}for(;H<r2;++H)c[H]=c[H-Q]}}if(l.l=A,l.p=X,l.b=H,l.f=t,A)t=1,l.m=i,l.d=V,l.n=u}while(!t);return H!=c.length&&v?ko(c,0,H):c.subarray(0,H)};var $B=/*@__PURE__*/new d5(0);var YB=function(a,l){var c={};for(var h in a)c[h]=a[h];for(var h in l)c[h]=l[h];return c},UC=function(a,l,c){var h=a(),Z=a.toString(),o=Z.slice(Z.indexOf("[")+1,Z.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var v=0;v<h.length;++v){var r=h[v],e=o[v];if(typeof r=="function"){l+=";"+e+"=";var m=r.toString();if(r.prototype)if(m.indexOf("[native code]")!=-1){var t=m.indexOf(" ",8)+1;l+=m.slice(t,m.indexOf("(",t))}else{l+=m;for(var M in r.prototype)l+=";"+e+".prototype."+M+"="+r.prototype[M].toString()}else l+=m}else c[e]=r}return l},po=[],yB=function(a){var l=[];for(var c in a)if(a[c].buffer)l.push((a[c]=new a[c].constructor(a[c])).buffer);return l},NB=function(a,l,c,h){if(!po[c]){var Z="",o={},v=a.length-1;for(var r=0;r<v;++r)Z=UC(a[r],Z,o);po[c]={c:UC(a[v],Z,o),e:o}}var e=YB({},po[c].e);return XB(po[c].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+l.toString()+"}",c,e,yB(e),h)},jB=function(){return[d5,I4,GC,sM,kM,PC,SM,JC,XC,EC,so,YC,u8,wo,v2,Do,$C,ko,u5,yC,BM,NC,jC]};var NC=function(a){return postMessage(a,[a.buffer])},jC=function(a){return a&&{out:a.size&&new d5(a.size),dictionary:a.dictionary}},_B=function(a,l,c,h,Z,o){var v=NB(c,h,Z,function(r,e){v.terminate(),o(r,e)});return v.postMessage([a,l],l.consume?[a.buffer]:[]),function(){v.terminate()}};var d7=function(a,l){return a[l]|a[l+1]<<8},z2=function(a,l){return(a[l]|a[l+1]<<8|a[l+2]<<16|a[l+3]<<24)>>>0},wM=function(a,l){return z2(a,l)+z2(a,l+4)*4294967296};function af(a,l,c){if(!c)c=l,l={};if(typeof c!="function")u5(7);return _B(a,l,[jB],function(h){return NC(BM(h.data[0],jC(h.data[1])))},1,c)}function BM(a,l){return yC(a,{i:2},l&&l.out,l&&l.dictionary)}var DM=typeof TextDecoder!="undefined"&&/*@__PURE__*/new TextDecoder,lf=0;try{DM.decode($B,{stream:!0}),lf=1}catch(a){}var cf=function(a){for(var l="",c=0;;){var h=a[c++],Z=(h>127)+(h>223)+(h>239);if(c+Z>a.length)return{s:l,r:ko(a,c-1)};if(!Z)l+=String.fromCharCode(h);else if(Z==3)h=((h&15)<<18|(a[c++]&63)<<12|(a[c++]&63)<<6|a[c++]&63)-65536,l+=String.fromCharCode(55296|h>>10,56320|h&1023);else if(Z&1)l+=String.fromCharCode((h&31)<<6|a[c++]&63);else l+=String.fromCharCode((h&15)<<12|(a[c++]&63)<<6|a[c++]&63)}};function hf(a,l){if(l){var c="";for(var h=0;h<a.length;h+=16384)c+=String.fromCharCode.apply(null,a.subarray(h,h+16384));return c}else if(DM)return DM.decode(a);else{var Z=cf(a),o=Z.s,c=Z.r;if(c.length)u5(8);return o}}var Zf=function(a,l){return l+30+d7(a,l+26)+d7(a,l+28)},of=function(a,l,c){var h=d7(a,l+28),Z=hf(a.subarray(l+46,l+46+h),!(d7(a,l+8)&2048)),o=l+46+h,v=z2(a,l+20),r=c&&v==4294967295?vf(a,o):[v,z2(a,l+24),z2(a,l+42)],e=r[0],m=r[1],t=r[2];return[d7(a,l+10),e,m,Z,o+d7(a,l+30)+d7(a,l+32),t]},vf=function(a,l){for(;d7(a,l)!=1;l+=4+d7(a,l+2));return[wM(a,l+12),wM(a,l+4),wM(a,l+20)]};var OC=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(a){a()};function _C(a,l,c){if(!c)c=l,l={};if(typeof c!="function")u5(7);var h=[],Z=function(){for(var u=0;u<h.length;++u)h[u]()},o={},v=function(u,d){OC(function(){c(u,d)})};OC(function(){v=c});var r=a.length-22;for(;z2(a,r)!=101010256;--r)if(!r||a.length-r>65558)return v(u5(13,0,1),null),Z;var e=d7(a,r+8);if(e){var m=e,t=z2(a,r+16),M=t==4294967295||m==65535;if(M){var H=z2(a,r-12);if(M=z2(a,H)==101075792,M)m=e=z2(a,H+32),t=z2(a,H+48)}var A=l&&l.filter,V=function(u){var d=of(a,t,M),L=d[0],g=d[1],R=d[2],x=d[3],S=d[4],p=d[5],I=Zf(a,p);t=S;var G=function(l1,Y){if(l1)Z(),v(l1,null);else{if(Y)o[x]=Y;if(!--e)v(null,o)}};if(!A||A({name:x,size:g,originalSize:R,compression:L}))if(!L)G(null,ko(a,I,I+g));else if(L==8){var r1=a.subarray(I,I+g);if(R<524288||g>0.8*R)try{G(null,BM(r1,{out:new d5(R)}))}catch(l1){G(l1,null)}else h.push(af(r1,{size:R},G))}else G(u5(14,"unknown compression type "+L,1),null);else G(null,null)};for(var i=0;i<m;++i)V(i)}else v(null,{});return Z}async function aF(a){let l=await a.arrayBuffer(),c={data:[],warnings:[],error:"",isError:!1},h=new Promise((M,H)=>{_C(new Uint8Array(l),(A,V)=>{if(A)H(A);M(V)})}),Z=void 0;try{Z=await h}catch(M){return c.error=`${M}`,c.isError=!0,c}let o=[];Object.keys(Z).forEach((M)=>{o.push(M)});let v=o.find((M)=>M.toLowerCase().endsWith(Y0));if(!v)c.warnings.push("No manifest file found in the zip."),v="";let r=v.lastIndexOf("/"),e="";if(r>-1)e=v.substring(0,r+1);let m=o.filter((M)=>!M.startsWith(e)),t=o.filter((M)=>M.startsWith(e));if(m.length>0)c.warnings.push("Some files are not in the root directory and wont be included."),c.warnings.push(...m.map((M)=>`File: ${M}`));return t.forEach((M)=>{let H=Z[M],A=M.substring(e.length);if(H.length>0)c.data.push({fileName:A,content:H})}),c}var lF={display:"flex",flexDirection:"column",alignItems:"center",padding:"20px",borderWidth:2,borderRadius:4,borderColor:"#eeeeee",borderStyle:"dashed",outline:"none",transition:"border .24s ease-in-out",gap:12,minHeight:"68px",justifyContent:"center"},cF={borderColor:n2.colorCompoundBrandForeground1},hF={borderColor:n2.colorPaletteGreenForeground1},ZF={borderColor:n2.colorPaletteRedForeground1};var $7=z0([]),So=z0(!1);function oF(){let[a,l]=e1(0);async function c(h){$7.value=[...h];let Z=vC(l0,w1.value.name,h),o=await Z.next(),v=1;while(!o.done){l(v++);let r=o.value,e=h.find((t)=>t.fileName===r.fileName),m=r.fileName.toLowerCase().endsWith(Y0);if(e)e.status=r.success?"uploaded":"error";if(m&&r.success&&e){let t=U1(w1.value),M=(/*@__PURE__*/new TextDecoder()).decode(e.content),H=JSON.parse(M);t.manifest=H,o2(t,!0)}$7.value=[...h],o=await Z.next()}setTimeout(()=>{So.value=!0,l(0)},3000)}return/*@__PURE__*/n(v1,{gap:16,children:/*@__PURE__*/n(v1,{children:/*@__PURE__*/n(bC,{useFsAccessApi:!1,onDropAccepted:(h,Z)=>{if(h.length===1&&h[0].name.endsWith(".zip")){aF(h[0]).then((o)=>{let v=o.data.map((r)=>{return{status:"uploading",...r}});c(v)});return}oC(h).then((o)=>{let v=o.data.map((r)=>{return{status:"uploading",...r}});c(v)})},multiple:!0,noClick:!0,noKeyboard:!0,children:({getRootProps:h,getInputProps:Z,isFocused:o,isDragAccept:v,isDragReject:r,open:e})=>/*@__PURE__*/n("div",{...h({style:{...lF,...o?cF:{},...v?hF:{},...r?ZF:{}}}),children:$7.value.some((m)=>m.status==="uploading")?/*@__PURE__*/n(t4,{validationMessage:`Uploaded ${a} of ${$7.value.length} files `,validationState:"none",validation:!0,style:{width:"100%"},children:/*@__PURE__*/n(P7,{max:$7.value.length-1,value:a,thickness:"large"},void 0,!1,void 0,this)},void 0,!1,void 0,this):/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n("input",{...Z()},void 0,!1,void 0,this),/*@__PURE__*/n(r7,{children:[/*@__PURE__*/n(f6,{children:"Choose a file(s) "},void 0,!1,void 0,this),"or drag it here"]},void 0,!0,void 0,this),/*@__PURE__*/n(C1,{appearance:"primary",onClick:e,children:"Browse"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function fM({jsFiles:a}){let l=w1.value,c=f7();async function h(Z,o){if(!l)return;if(Z)l.manifest.appRelativeEntryPointUrls.push(o);if(!Z)l.manifest.appRelativeEntryPointUrls=l.manifest.appRelativeEntryPointUrls.filter((v)=>v!==o);o2(l,!0)}if(!l)return null;return/*@__PURE__*/n(S2,{...c,separator:!0,open:d8.value,onOpenChange:(Z,{open:o})=>{d8.value=o?d8.value:void 0},style:{width:"440px"},children:[/*@__PURE__*/n(f2,{children:/*@__PURE__*/n(T2,{action:/*@__PURE__*/n(C1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/n(h7,{},void 0,!1,void 0,this),onClick:()=>d8.value=void 0},void 0,!1,void 0,this),children:"Manage Entry Points"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(B2,{children:/*@__PURE__*/n(v1,{gap:16,style:{padding:"12px 0px"},children:[/*@__PURE__*/n(oF,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{gap:4,children:[a.map((Z)=>/*@__PURE__*/n(C0,{label:Z,labelPosition:"before",defaultChecked:l.manifest.appRelativeEntryPointUrls.some((o)=>o===Z),onChange:(o,v)=>{h(v.checked,Z)},root:{style:{justifyContent:"space-between"}}},void 0,!1,void 0,this)),/*@__PURE__*/n(v1,{gap:20,style:{marginTop:"10px",padding:"0px 10px 0 8px"},children:$7.value.map((Z)=>/*@__PURE__*/n(v1,{horizontalAlign:"space-between",horizontal:!0,children:[/*@__PURE__*/n(v1,{children:Z.fileName},void 0,!1,void 0,this),Z.status==="uploaded"&&/*@__PURE__*/n($0,{size:"medium",appearance:"ghost",color:"success",icon:/*@__PURE__*/n(Qi,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),Z.status==="error"&&/*@__PURE__*/n($0,{size:"medium",appearance:"ghost",color:"danger",icon:/*@__PURE__*/n(Ei,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),Z.status==="uploading"&&/*@__PURE__*/n(G5,{size:"tiny"},void 0,!1,void 0,this)]},Z.fileName,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var d8=z0(void 0);function vF(){let[a,l]=e1([]),c=w1.value;q5(()=>{if(!w1.value)return;o()}),q5(()=>{if(So.value===!0)o(),So.value=!1,$7.value=[]});let h=q(null),Z=y((v)=>{h.current?.setTarget(v)},[h]);async function o(){if(!w1.value)return;let v=await rC(l0,w1.value.name);l(v)}if(!c)return null;return/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(v1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{borderBottom:"1px solid #eaeaea",paddingBottom:"10px"},children:[/*@__PURE__*/n(e5,{children:"Entry points"},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/n(C0,{ref:Z,checked:c.manifest.isESM,label:"ESM",labelPosition:"before",onChange:(v,r)=>{c.manifest.isESM=r.checked,o2(c)}},void 0,!1,void 0,this),/*@__PURE__*/n(C2,{positioning:{positioningRef:h},withArrow:!0,children:[/*@__PURE__*/n(_5,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(O0,{children:/*@__PURE__*/n(Th,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(g2,{tabIndex:-1,children:/*@__PURE__*/n(a2,{children:"Switch on if your entry points are ESM modules with default export."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),a.filter((v)=>c.manifest.appRelativeEntryPointUrls.some((r)=>v===r)).map((v)=>/*@__PURE__*/n(v1,{horizontal:!0,gap:4,verticalAlign:"center",children:[/*@__PURE__*/n(Yi,{},void 0,!1,void 0,this)," ",v]},void 0,!0,void 0,this)),/*@__PURE__*/n(C1,{onClick:()=>{d8.value="edit"},children:"Upload / Edit"},void 0,!1,void 0,this),/*@__PURE__*/n(fM,{jsFiles:a},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function rF(){let a=w1.value;if(!a)return null;return/*@__PURE__*/n(v1,{horizontal:!0,gap:20,children:[/*@__PURE__*/n(v1,{gap:16,style:{paddingBottom:"20px",flexBasis:"300px",flexShrink:0,paddingRight:"20px",borderRight:"1px solid #eaeaea"},children:/*@__PURE__*/n(vF,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{style:{flexGrow:1},children:[/*@__PURE__*/n(v1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"32px"},children:[/*@__PURE__*/n(v1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/n(e5,{children:"App/Entry Point Configuration"},void 0,!1,void 0,this),/*@__PURE__*/n(_g,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(v1,{gap:8,horizontal:!0,children:[/*@__PURE__*/n(C0,{checked:a.manifest.enableCaching,label:"Enable caching",onChange:(l,c)=>{a.manifest.enableCaching=c.checked,o2(a)}},void 0,!1,void 0,this),/*@__PURE__*/n(i5,{placeholder:"Cache string",disabled:!a.manifest.enableCaching,type:"text",value:a.manifest.cacheString??"",onChange:(l,c)=>{a.manifest.cacheString=c.value,o2(a)}},void 0,!1,void 0,this),/*@__PURE__*/n(C1,{size:"medium",disabled:!a.manifest.enableCaching,onClick:async()=>{a.manifest.cacheString=await jg(),o2(a)},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(ZC,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function eF(){let[a,l]=e1(""),[c,h]=e1(!1);q5(()=>{if(!w1.value)return;let o=JSON.stringify(w1.value);if(!a){l(o);return}l(o),h(a!==o)});async function Z(){let o=w1.value;await Cg(l0,o.name,o.manifest),o2(o,!0),w1.value=void 0}if(!w1.value)return null;return/*@__PURE__*/n(v1,{gap:20,style:{height:"100%"},children:[/*@__PURE__*/n(v1,{horizontalAlign:"space-between",horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/n(v1,{gap:10,horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/n(C1,{appearance:"secondary",icon:/*@__PURE__*/n(Gi,{},void 0,!1,void 0,this),onClick:()=>{w1.value=void 0}},void 0,!1,void 0,this),/*@__PURE__*/n(T6,{children:["Configuration of ",w1.value.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(v1,{horizontal:!0,gap:15,children:/*@__PURE__*/n(Fg,{children:/*@__PURE__*/n(C1,{appearance:"primary",disabled:!c,onClick:Z,children:"Save"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(rF,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var TM=r8(),Bo=TM??k4(),fo=to();function rf(){let a=[];if(G2)return a.push(/*@__PURE__*/n($0,{size:"extra-large",shape:"rounded",color:"danger",children:"Global"},"global",!1,void 0,this)),a;if(fo==="hubRoot")a.push(/*@__PURE__*/n($0,{size:"extra-large",shape:"rounded",color:"success",children:"Hub root site"},"hubRoot",!1,void 0,this));if(fo==="hubChild")a.push(/*@__PURE__*/n($0,{size:"extra-large",shape:"rounded",color:"warning",children:"Hub child site"},"child",!1,void 0,this));if(fo==="nonHub")a.push(/*@__PURE__*/n($0,{size:"extra-large",shape:"rounded",color:"brand",children:"Non hub site"},"nonhub",!1,void 0,this));if(fo==="subsite")a.push(/*@__PURE__*/n($0,{size:"extra-large",shape:"rounded",color:"informative",children:"Sub site"},"subsite",!1,void 0,this));else a.push(/*@__PURE__*/n($0,{size:"extra-large",shape:"rounded",color:"informative",children:"Site collection"},"siteCollectionRoot",!1,void 0,this));return a}function mF(){let[a]=$o(),{dispatchToast:l}=F4(B3);if(a)return n1("Error in App component:",a),/*@__PURE__*/n("div",{children:["Error: ",a.message]},void 0,!0,void 0,this);let c=()=>l(/*@__PURE__*/n(s2,{children:/*@__PURE__*/n(k2,{children:"Link copied to clipboard."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{position:"top",intent:"info",timeout:1000,toastId:Bo});return/*@__PURE__*/n(v1,{style:{padding:"30px"},gap:20,children:[/*@__PURE__*/n(v1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/n(W6,{children:[TM?"Web":"Global"," application list"]},void 0,!0,void 0,this),...rf()]},void 0,!0,void 0,this),TM&&/*@__PURE__*/n(v1,{horizontal:!0,gap:8,verticalAlign:"center",children:[/*@__PURE__*/n(O0,{target:"_blank",href:Bo,children:Bo},void 0,!1,void 0,this),/*@__PURE__*/n(Ji,{onClick:()=>{navigator.clipboard.writeText(Bo),c()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(gg,{},void 0,!1,void 0,this),/*@__PURE__*/n(eF,{},void 0,!1,void 0,this),/*@__PURE__*/n(Lg,{},void 0,!1,void 0,this),/*@__PURE__*/n(Mg,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var MF=kZ(window.__globalSettings__.customizations.settings.theme.palette),ef=window.__globalSettings__.customizations.settings.theme.isInverted?g6(MF):r3(MF);document.querySelector("#spCommandBar button[name='Edit']")?.setAttribute("style","display:none;");function tF(a){return/*@__PURE__*/n(N3,{theme:ef,style:{height:"100%"},children:/*@__PURE__*/n(mF,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)}async function hD1(a){let l=void 0;if(a.domElement)l=st(a.domElement),l.render(tF({instance:a}));return()=>{l?.unmount()}}export{hD1 as launch};
|