@spfx-extensions/package 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -0
- package/README.md +73 -0
- package/dist/8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.manifest.json +26 -0
- package/dist/d6ca1fc2-0591-4c6d-8a25-cae3262c017b.manifest.json +61 -0
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/ClientSideInstance.xml +9 -0
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/Extension_8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.xml +1 -0
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/WebPart_d6ca1fc2-0591-4c6d-8a25-cae3262c017b.xml +1 -0
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/elements.xml +9 -0
- package/dist/debug/AppManifest.xml +1 -0
- package/dist/debug/ClientSideAssets/3be36e80-4431-4b52-99c5-0a339b4e696e_color.png +0 -0
- package/dist/debug/ClientSideAssets/3be36e80-4431-4b52-99c5-0a339b4e696e_outline.png +0 -0
- package/dist/debug/ClientSideAssets/spfx-extension-application-customizer_02e75437509d6228ebfb.js +1 -0
- package/dist/debug/ClientSideAssets/spfx-extension-core.js +1 -0
- package/dist/debug/ClientSideAssets/spfx-extension-coreconfigurator.js +169 -0
- package/dist/debug/ClientSideAssets/spfx-extension-loader_009c64efcf40eaeca598.js +3 -0
- package/dist/debug/ClientSideAssets/spfx-extension-wrapper.js +1 -0
- package/dist/debug/ClientSideAssets/spfx-extensionloader-web-part_b51ed89cf71889d67683.js +3 -0
- package/dist/debug/ClientSideAssets.xml +1 -0
- package/dist/debug/ClientSideAssets.xml.config.xml +1 -0
- package/dist/debug/[Content_Types].xml +1 -0
- package/dist/debug/_rels/.rels +1 -0
- package/dist/debug/_rels/AppManifest.xml.rels +1 -0
- package/dist/debug/_rels/ClientSideAssets.xml.rels +1 -0
- package/dist/debug/_rels/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml.rels +1 -0
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml +1 -0
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml.config.xml +1 -0
- package/dist/deploy/sp-fx-extensions.sppkg +0 -0
- package/dist/spfx-extension-application-customizer_02e75437509d6228ebfb.js +1 -0
- package/dist/spfx-extension-core.js +1 -0
- package/dist/spfx-extension-coreconfigurator.js +169 -0
- package/dist/spfx-extension-loader_009c64efcf40eaeca598.js +3 -0
- package/dist/spfx-extension-wrapper.js +1 -0
- package/dist/spfx-extensionloader-web-part_b51ed89cf71889d67683.js +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
var iC=Object.create;var{getPrototypeOf:nC,defineProperty:$o,getOwnPropertyNames:dC}=Object;var gC=Object.prototype.hasOwnProperty;var b4=(a,l,c)=>{c=a!=null?iC(nC(a)):{};let h=l||!a||!a.__esModule?$o(c,"default",{value:a,enumerable:!0}):c;for(let Z of dC(a))if(!gC.call(h,Z))$o(h,Z,{get:()=>a[Z],enumerable:!0});return h};var $2=(a,l)=>()=>(l||a((l={exports:{}}).exports,l),l.exports);var Oc=(a,l)=>{for(var c in l)$o(a,c,{get:l[c],enumerable:!0,configurable:!0,set:(h)=>l[c]=()=>h})};var Jo=(a,l)=>()=>(a&&(l=a(a=0)),l);function J2(a,l){for(var c in l)a[c]=l[c];return a}function jo(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function e1(a,l,c){var h,Z,o,r={};for(o in l)o=="key"?h=l[o]:o=="ref"?Z=l[o]:r[o]=l[o];if(arguments.length>2&&(r.children=arguments.length>3?p8.call(arguments,2):c),typeof a=="function"&&a.defaultProps!=null)for(o in a.defaultProps)r[o]==null&&(r[o]=a.defaultProps[o]);return R8(a,r,h,Z,null)}function R8(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?++Ym:Z,__i:-1,__u:0};return Z==null&&g1.vnode!=null&&g1.vnode(o),o}function Z5(){return{current:null}}function V1(a){return a.children}function h5(a,l){this.props=a,this.context=l}function $4(a,l){if(l==null)return a.__?$4(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"?$4(a):null}function Nm(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 Nm(a)}}function Xo(a){(!a.__d&&(a.__d=!0)&&G3.push(a)&&!Uc.__r++||bm!=g1.debounceRendering)&&((bm=g1.debounceRendering)||Qm)(Uc)}function Uc(){for(var a,l,c,h,Z,o,r,e=1;G3.length;)G3.length>e&&G3.sort(Xm),a=G3.shift(),e=G3.length,a.__d&&(c=void 0,Z=(h=(l=a).__v).__e,o=[],r=[],l.__P&&((c=J2({},h)).__v=h.__v+1,g1.vnode&&g1.vnode(c),No(l.__P,c,h,l.__n,l.__P.namespaceURI,32&h.__u?[Z]:null,o,Z==null?$4(h):Z,!!(32&h.__u),r),c.__v=h.__v,c.__.__k[c.__i]=c,lt(o,c,r),c.__e!=Z&&Nm(c)));Uc.__r=0}function _m(a,l,c,h,Z,o,r,e,v,M,t){var m,A,H,V,i,d,g=h&&h.__k||jm,u=l.length;for(v=LC(c,l,g,v,u),m=0;m<u;m++)(H=c.__k[m])!=null&&(A=H.__i==-1?x8:g[H.__i]||x8,H.__i=m,d=No(a,H,A,Z,o,r,e,v,M,t),V=H.__e,H.ref&&A.ref!=H.ref&&(A.ref&&_o(A.ref,null,H),t.push(H.ref,H.__c||V,H)),i==null&&V!=null&&(i=V),4&H.__u||A.__k===H.__k?v=at(H,v,a):typeof H.type=="function"&&d!==void 0?v=d:V&&(v=V.nextSibling),H.__u&=-7);return c.__e=i,v}function LC(a,l,c,h,Z){var o,r,e,v,M,t=c.length,m=t,A=0;for(a.__k=new Array(Z),o=0;o<Z;o++)(r=l[o])!=null&&typeof r!="boolean"&&typeof r!="function"?(v=o+A,(r=a.__k[o]=typeof r=="string"||typeof r=="number"||typeof r=="bigint"||r.constructor==String?R8(null,r,null,null,null):w8(r)?R8(V1,{children:r},null,null,null):r.constructor==null&&r.__b>0?R8(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r).__=a,r.__b=a.__b+1,e=null,(M=r.__i=FC(r,c,v,m))!=-1&&(m--,(e=c[M])&&(e.__u|=2)),e==null||e.__v==null?(M==-1&&(Z>t?A--:Z<t&&A++),typeof r.type!="function"&&(r.__u|=4)):M!=v&&(M==v-1?A--:M==v+1?A++:(M>v?A--:A++,r.__u|=4))):a.__k[o]=null;if(m)for(o=0;o<t;o++)(e=c[o])!=null&&(2&e.__u)==0&&(e.__e==h&&(h=$4(e)),ht(e,e));return h}function at(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=at(h[Z],l,c));return l}a.__e!=l&&(l&&a.type&&!c.contains(l)&&(l=$4(a)),c.insertBefore(a.__e,l||null),l=a.__e);do l=l&&l.nextSibling;while(l!=null&&l.nodeType==8);return l}function Y2(a,l){return l=l||[],a==null||typeof a=="boolean"||(w8(a)?a.some(function(c){Y2(c,l)}):l.push(a)),l}function FC(a,l,c,h){var Z,o,r=a.key,e=a.type,v=l[c];if(v===null&&a.key==null||v&&r==v.key&&e==v.type&&(2&v.__u)==0)return c;if(h>(v!=null&&(2&v.__u)==0?1:0))for(Z=c-1,o=c+1;Z>=0||o<l.length;){if(Z>=0){if((v=l[Z])&&(2&v.__u)==0&&r==v.key&&e==v.type)return Z;Z--}if(o<l.length){if((v=l[o])&&(2&v.__u)==0&&r==v.key&&e==v.type)return o;o++}}return-1}function $m(a,l,c){l[0]=="-"?a.setProperty(l,c==null?"":c):a[l]=c==null?"":typeof c!="number"||uC.test(l)?c:c+"px"}function Pc(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||$m(a.style,l,"");if(c)for(l in c)h&&c[l]==h[l]||$m(a.style,l,c[l])}else if(l[0]=="o"&&l[1]=="n")o=l!=(l=l.replace(Em,"$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=yo,a.addEventListener(l,o?Qo:Yo,o)):a.removeEventListener(l,o?Qo:Yo,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(r){}typeof c=="function"||(c==null||c===!1&&l[4]!="-"?a.removeAttribute(l):a.setAttribute(l,l=="popover"&&c==1?"":c))}}function Jm(a){return function(l){if(this.l){var c=this.l[l.type+a];if(l.t==null)l.t=yo++;else if(l.t<c.u)return;return c(g1.event?g1.event(l):l)}}}function No(a,l,c,h,Z,o,r,e,v,M){var t,m,A,H,V,i,d,g,u,L,R,x,s,p,P,G,Z1,o1=l.type;if(l.constructor!=null)return null;128&c.__u&&(v=!!(32&c.__u),o=[e=l.__e=c.__e]),(t=g1.__b)&&t(l);a:if(typeof o1=="function")try{if(g=l.props,u="prototype"in o1&&o1.prototype.render,L=(t=o1.contextType)&&h[t.__c],R=t?L?L.props.value:t.__:h,c.__c?d=(m=l.__c=c.__c).__=m.__E:(u?l.__c=m=new o1(g,R):(l.__c=m=new h5(g,R),m.constructor=o1,m.render=RC),L&&L.sub(m),m.props=g,m.state||(m.state={}),m.context=R,m.__n=h,A=m.__d=!0,m.__h=[],m._sb=[]),u&&m.__s==null&&(m.__s=m.state),u&&o1.getDerivedStateFromProps!=null&&(m.__s==m.state&&(m.__s=J2({},m.__s)),J2(m.__s,o1.getDerivedStateFromProps(g,m.__s))),H=m.props,V=m.state,m.__v=l,A)u&&o1.getDerivedStateFromProps==null&&m.componentWillMount!=null&&m.componentWillMount(),u&&m.componentDidMount!=null&&m.__h.push(m.componentDidMount);else{if(u&&o1.getDerivedStateFromProps==null&&g!==H&&m.componentWillReceiveProps!=null&&m.componentWillReceiveProps(g,R),!m.__e&&m.shouldComponentUpdate!=null&&m.shouldComponentUpdate(g,m.__s,R)===!1||l.__v==c.__v){for(l.__v!=c.__v&&(m.props=g,m.state=m.__s,m.__d=!1),l.__e=c.__e,l.__k=c.__k,l.__k.some(function(E){E&&(E.__=l)}),x=0;x<m._sb.length;x++)m.__h.push(m._sb[x]);m._sb=[],m.__h.length&&r.push(m);break a}m.componentWillUpdate!=null&&m.componentWillUpdate(g,m.__s,R),u&&m.componentDidUpdate!=null&&m.__h.push(function(){m.componentDidUpdate(H,V,i)})}if(m.context=R,m.props=g,m.__P=a,m.__e=!1,s=g1.__r,p=0,u){for(m.state=m.__s,m.__d=!1,s&&s(l),t=m.render(m.props,m.state,m.context),P=0;P<m._sb.length;P++)m.__h.push(m._sb[P]);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=J2(J2({},h),m.getChildContext())),u&&!A&&m.getSnapshotBeforeUpdate!=null&&(i=m.getSnapshotBeforeUpdate(H,V)),G=t,t!=null&&t.type===V1&&t.key==null&&(G=ct(t.props.children)),e=_m(a,w8(G)?G:[G],l,c,h,Z,o,r,e,v,M),m.base=l.__e,l.__u&=-161,m.__h.length&&r.push(m),d&&(m.__E=m.__=null)}catch(E){if(l.__v=null,v||o!=null)if(E.then){for(l.__u|=v?160:128;e&&e.nodeType==8&&e.nextSibling;)e=e.nextSibling;o[o.indexOf(e)]=null,l.__e=e}else for(Z1=o.length;Z1--;)jo(o[Z1]);else l.__e=c.__e,l.__k=c.__k;g1.__e(E,l,c)}else o==null&&l.__v==c.__v?(l.__k=c.__k,l.__e=c.__e):e=l.__e=CC(c.__e,l,c,h,Z,o,r,v,M);return(t=g1.diffed)&&t(l),128&l.__u?void 0:e}function lt(a,l,c){for(var h=0;h<c.length;h++)_o(c[h],c[++h],c[++h]);g1.__c&&g1.__c(l,a),a.some(function(Z){try{a=Z.__h,Z.__h=[],a.some(function(o){o.call(Z)})}catch(o){g1.__e(o,Z.__v)}})}function ct(a){return typeof a!="object"||a==null||a.__b&&a.__b>0?a:w8(a)?a.map(ct):J2({},a)}function CC(a,l,c,h,Z,o,r,e,v){var M,t,m,A,H,V,i,d=c.props,g=l.props,u=l.type;if(u=="svg"?Z="http://www.w3.org/2000/svg":u=="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((H=o[M])&&"setAttribute"in H==!!u&&(u?H.localName==u:H.nodeType==3)){a=H,o[M]=null;break}}if(a==null){if(u==null)return document.createTextNode(g);a=document.createElementNS(Z,u,g.is&&g),e&&(g1.__m&&g1.__m(l,o),e=!1),o=null}if(u==null)d===g||e&&a.data==g||(a.data=g);else{if(o=o&&p8.call(a.childNodes),d=c.props||x8,!e&&o!=null)for(d={},M=0;M<a.attributes.length;M++)d[(H=a.attributes[M]).name]=H.value;for(M in d)if(H=d[M],M=="children");else if(M=="dangerouslySetInnerHTML")m=H;else if(!(M in g)){if(M=="value"&&"defaultValue"in g||M=="checked"&&"defaultChecked"in g)continue;Pc(a,M,null,H,Z)}for(M in g)H=g[M],M=="children"?A=H:M=="dangerouslySetInnerHTML"?t=H:M=="value"?V=H:M=="checked"?i=H:e&&typeof H!="function"||d[M]===H||Pc(a,M,H,d[M],Z);if(t)e||m&&(t.__html==m.__html||t.__html==a.innerHTML)||(a.innerHTML=t.__html),l.__k=[];else if(m&&(a.innerHTML=""),_m(l.type=="template"?a.content:a,w8(A)?A:[A],l,c,h,u=="foreignObject"?"http://www.w3.org/1999/xhtml":Z,o,r,o?o[0]:c.__k&&$4(c,0),e,v),o!=null)for(M=o.length;M--;)jo(o[M]);e||(M="value",u=="progress"&&V==null?a.removeAttribute("value"):V!=null&&(V!==a[M]||u=="progress"&&!V||u=="option"&&V!=d[M])&&Pc(a,M,V,d[M],Z),M="checked",i!=null&&i!=a[M]&&Pc(a,M,i,d[M],Z))}return a}function _o(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){g1.__e(Z,c)}}function ht(a,l,c){var h,Z;if(g1.unmount&&g1.unmount(a),(h=a.ref)&&(h.current&&h.current!=a.__e||_o(h,null,l)),(h=a.__c)!=null){if(h.componentWillUnmount)try{h.componentWillUnmount()}catch(o){g1.__e(o,l)}h.base=h.__P=null}if(h=a.__k)for(Z=0;Z<h.length;Z++)h[Z]&&ht(h[Z],l,c||typeof a.type!="function");c||jo(a.__e),a.__c=a.__=a.__e=void 0}function RC(a,l,c){return this.constructor(a,c)}function J4(a,l,c){var h,Z,o,r;l==document&&(l=document.documentElement),g1.__&&g1.__(a,l),Z=(h=typeof c=="function")?null:c&&c.__k||l.__k,o=[],r=[],No(l,a=(!h&&c||l).__k=e1(V1,null,[a]),Z||x8,x8,l.namespaceURI,!h&&c?[c]:Z?null:l.firstChild?p8.call(l.childNodes):null,o,!h&&c?c:Z?Z.__e:l.firstChild,h,r),lt(o,a,r)}function ar(a,l){J4(a,l,ar)}function Zt(a,l,c){var h,Z,o,r,e=J2({},a.props);for(o in a.type&&a.type.defaultProps&&(r=a.type.defaultProps),l)o=="key"?h=l[o]:o=="ref"?Z=l[o]:e[o]=l[o]==null&&r!=null?r[o]:l[o];return arguments.length>2&&(e.children=arguments.length>3?p8.call(arguments,2):c),R8(a.type,e,h||a.key,Z||a.ref,null)}function v1(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(r){r.__e=!0,Xo(r)})},this.sub=function(o){h.add(o);var r=o.componentWillUnmount;o.componentWillUnmount=function(){h&&h.delete(o),r&&r.call(o)}}),c.children}return l.__c="__cC"+ym++,l.__=a,l.Provider=l.__l=(l.Consumer=function(c,h){return c.children(h)}).contextType=l,l}var p8,g1,Ym,Eo,G3,bm,Qm,Xm,Em,yo,Yo,Qo,ym,x8,jm,uC,w8;var z3=Jo(()=>{x8={},jm=[],uC=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w8=Array.isArray;p8=jm.slice,g1={__e:function(a,l,c,h){for(var Z,o,r;l=l.__;)if((Z=l.__c)&&!Z.__)try{if((o=Z.constructor)&&o.getDerivedStateFromError!=null&&(Z.setState(o.getDerivedStateFromError(a)),r=Z.__d),Z.componentDidCatch!=null&&(Z.componentDidCatch(a,h||{}),r=Z.__d),r)return Z.__E=Z}catch(e){a=e}throw a}},Ym=0,Eo=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=J2({},this.state),typeof a=="function"&&(a=a(J2({},c),this.props)),a&&J2(c,a),a!=null&&this.__v&&(l&&this._sb.push(l),Xo(this))},h5.prototype.forceUpdate=function(a){this.__v&&(this.__e=!0,a&&this.__h.push(a),Xo(this))},h5.prototype.render=V1,G3=[],Qm=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Xm=function(a,l){return a.__v.__b-l.__v.__b},Uc.__r=0,Em=/(PointerCapture)$|Capture$/i,yo=0,Yo=Jm(!1),Qo=Jm(!0),ym=0});function q3(a,l){e0.__h&&e0.__h(y1,a,Y4||l),Y4=0;var c=y1.__H||(y1.__H={__:[],__h:[]});return a>=c.__.length&&c.__.push({}),c.__[a]}function m1(a){return Y4=1,$5(Vt,a)}function $5(a,l,c){var h=q3(g7++,2);if(h.t=a,!h.__c&&(h.__=[c?c(l):Vt(void 0,l),function(e){var v=h.__N?h.__N[0]:h.__[0],M=h.t(v,e);v!==M&&(h.__N=[M,h.__[1]],h.__c.setState({}))}],h.__c=y1,!y1.__f)){var Z=function(e,v,M){if(!h.__c.__H)return!0;var t=h.__c.__H.__.filter(function(A){return!!A.__c});if(t.every(function(A){return!A.__N}))return!o||o.call(this,e,v,M);var m=h.__c.props!==e;return t.forEach(function(A){if(A.__N){var H=A.__[0];A.__=A.__N,A.__N=void 0,H!==A.__[0]&&(m=!0)}}),o&&o.call(this,e,v,M)||m};y1.__f=!0;var{shouldComponentUpdate:o,componentWillUpdate:r}=y1;y1.componentWillUpdate=function(e,v,M){if(this.__e){var t=o;o=void 0,Z(e,v,M),o=t}r&&r.call(this,e,v,M)},y1.shouldComponentUpdate=Z}return h.__N||h.__}function M1(a,l){var c=q3(g7++,3);!e0.__s&&hr(c.__H,l)&&(c.__=a,c.u=l,y1.__H.__h.push(c))}function t2(a,l){var c=q3(g7++,4);!e0.__s&&hr(c.__H,l)&&(c.__=a,c.u=l,y1.__h.push(c))}function z(a){return Y4=5,u1(function(){return{current:a}},[])}function V5(a,l,c){Y4=6,t2(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 u1(a,l){var c=q3(g7++,7);return hr(c.__H,l)&&(c.__=a(),c.__H=l,c.__h=a),c.__}function j(a,l){return Y4=8,u1(function(){return a},l)}function h1(a){var l=y1.context[a.__c],c=q3(g7++,9);return c.c=a,l?(c.__==null&&(c.__=!0,l.sub(y1)),l.props.value):a.__}function D8(a,l){e0.useDebugValue&&e0.useDebugValue(l?l(a):a)}function Gc(a){var l=q3(g7++,10),c=m1();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 K3(){var a=q3(g7++,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 xC(){for(var a;a=Ht.shift();)if(a.__P&&a.__H)try{a.__H.__h.forEach(Ic),a.__H.__h.forEach(cr),a.__H.__h=[]}catch(l){a.__H.__h=[],e0.__e(l,a.__v)}}function pC(a){var l,c=function(){clearTimeout(h),At&&cancelAnimationFrame(l),setTimeout(a)},h=setTimeout(c,100);At&&(l=requestAnimationFrame(c))}function Ic(a){var l=y1,c=a.__c;typeof c=="function"&&(a.__c=void 0,c()),y1=l}function cr(a){var l=y1;a.__c=a.__(),y1=l}function hr(a,l){return!a||a.length!==l.length||l.some(function(c,h){return c!==a[h]})}function Vt(a,l){return typeof l=="function"?l(a):l}var g7,y1,lr,ot,Y4=0,Ht,e0,rt,et,vt,Mt,mt,tt,At;var Q2=Jo(()=>{z3();Ht=[],e0=g1,rt=e0.__b,et=e0.__r,vt=e0.diffed,Mt=e0.__c,mt=e0.unmount,tt=e0.__;e0.__b=function(a){y1=null,rt&&rt(a)},e0.__=function(a,l){a&&l.__k&&l.__k.__m&&(a.__m=l.__k.__m),tt&&tt(a,l)},e0.__r=function(a){et&&et(a),g7=0;var l=(y1=a.__c).__H;l&&(lr===y1?(l.__h=[],y1.__h=[],l.__.forEach(function(c){c.__N&&(c.__=c.__N),c.u=c.__N=void 0})):(l.__h.forEach(Ic),l.__h.forEach(cr),l.__h=[],g7=0)),lr=y1},e0.diffed=function(a){vt&&vt(a);var l=a.__c;l&&l.__H&&(l.__H.__h.length&&(Ht.push(l)!==1&&ot===e0.requestAnimationFrame||((ot=e0.requestAnimationFrame)||pC)(xC)),l.__H.__.forEach(function(c){c.u&&(c.__H=c.u),c.u=void 0})),lr=y1=null},e0.__c=function(a,l){l.some(function(c){try{c.__h.forEach(Ic),c.__h=c.__h.filter(function(h){return!h.__||cr(h)})}catch(h){l.some(function(Z){Z.__h&&(Z.__h=[])}),l=[],e0.__e(h,c.__v)}}),Mt&&Mt(a,l)},e0.unmount=function(a){mt&&mt(a);var l,c=a.__c;c&&c.__H&&(c.__H.__.forEach(function(h){try{Ic(h)}catch(Z){l=Z}}),c.__H=void 0,l&&e0.__e(l,c.__v))};At=typeof requestAnimationFrame=="function"});var C={};Oc(C,{version:()=>$3,useTransition:()=>bc,useSyncExternalStore:()=>zc,useState:()=>m1,useRef:()=>z,useReducer:()=>$5,useMemo:()=>u1,useLayoutEffect:()=>t2,useInsertionEffect:()=>J5,useImperativeHandle:()=>V5,useId:()=>K3,useErrorBoundary:()=>Gc,useEffect:()=>M1,useDeferredValue:()=>Kc,useDebugValue:()=>D8,useContext:()=>h1,useCallback:()=>j,unstable_batchedUpdates:()=>Ar,unmountComponentAtNode:()=>T8,startTransition:()=>qc,render:()=>f8,memo:()=>k8,lazy:()=>rr,isValidElement:()=>o5,isMemo:()=>mr,isFragment:()=>Mr,isElement:()=>ir,hydrate:()=>$c,forwardRef:()=>U,flushSync:()=>Hr,findDOMNode:()=>tr,default:()=>W8,createRef:()=>Z5,createPortal:()=>s8,createFactory:()=>vr,createElement:()=>e1,createContext:()=>v1,cloneElement:()=>j7,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>B8,SuspenseList:()=>b3,Suspense:()=>Q4,StrictMode:()=>Vr,PureComponent:()=>S8,Fragment:()=>V1,Component:()=>h5,Children:()=>u7});function Rt(a,l){for(var c in l)a[c]=l[c];return a}function or(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 zc(a,l){var c=l(),h=m1({t:{__:c,u:l}}),Z=h[0].t,o=h[1];return t2(function(){Z.__=c,Z.u=l,Zr(Z)&&o({t:Z})},[a,c,l]),M1(function(){return Zr(Z)&&o({t:Z}),a(function(){Zr(Z)&&o({t:Z})})},[a]),c}function Zr(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(r){return!0}}function qc(a){a()}function Kc(a){return a}function bc(){return[!1,qc]}function S8(a,l){this.props=a,this.context=l}function k8(a,l){function c(Z){var o=this.props.ref,r=o==Z.ref;return!r&&o&&(o.call?o(null):o.current=null),l?!l(this.props,Z)||!r:or(this.props,Z)}function h(Z){return this.shouldComponentUpdate=c,e1(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=Rt({},c);return delete h.ref,a(h,c.ref||null)}return l.$$typeof=wC,l.render=l,l.prototype.isReactComponent=l.__f=!0,l.displayName="ForwardRef("+(a.displayName||a.name)+")",l}function xt(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=Rt({},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 xt(h,l,c)})),a}function pt(a,l,c){return a&&c&&(a.__v=null,a.__k=a.__k&&a.__k.map(function(h){return pt(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 Q4(){this.__u=0,this.o=null,this.__b=null}function wt(a){var l=a.__.__c;return l&&l.__a&&l.__a(a)}function rr(a){var l,c,h;function Z(o){if(l||(l=a()).then(function(r){c=r.default||r},function(r){h=r}),h)throw h;if(!c)throw l;return e1(c,o)}return Z.displayName="Lazy",Z.__f=!0,Z}function b3(){this.i=null,this.l=null}function SC(a){return this.getChildContext=function(){return a.context},a.children}function kC(a){var l=this,c=a.h;l.componentWillUnmount=function(){J4(null,l.v),l.v=null,l.h=null},l.h&&l.h!==c&&l.componentWillUnmount(),l.v||(l.h=c,l.v={nodeType:1,parentNode:c,childNodes:[],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)}}),J4(e1(SC,{context:l.context},a.__v),l.v)}function s8(a,l){var c=e1(kC,{__v:a,h:l});return c.containerInfo=l,c}function f8(a,l,c){return l.__k==null&&(l.textContent=""),J4(a,l),typeof c=="function"&&c(),a?a.__c:null}function $c(a,l,c){return ar(a,l),typeof c=="function"&&c(),a?a.__c:null}function OC(){}function PC(){return this.cancelBubble}function UC(){return this.defaultPrevented}function vr(a){return e1.bind(null,a)}function o5(a){return!!a&&a.$$typeof===Dt}function Mr(a){return o5(a)&&a.type===V1}function mr(a){return!!a&&!!a.displayName&&(typeof a.displayName=="string"||a.displayName instanceof String)&&a.displayName.startsWith("Memo(")}function j7(a){return o5(a)?Zt.apply(null,arguments):a}function T8(a){return!!a.__k&&(J4(null,a),!0)}function tr(a){return a&&(a.base||a.nodeType===1&&a)||null}var J5,it,wC,nt=function(a,l){return a==null?null:Y2(Y2(a).map(l))},u7,DC,dt,gt=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]}},Dt,sC,fC,BC,TC,WC=function(a){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(a)},ut,er,IC,Lt,Ft,Ct,B8,$3="18.3.1",Ar=function(a,l){return a(l)},Hr=function(a,l){return a(l)},Vr,ir,W8;var F=Jo(()=>{z3();z3();Q2();Q2();J5=t2;(S8.prototype=new h5).isPureReactComponent=!0,S8.prototype.shouldComponentUpdate=function(a,l){return or(this.props,a)||or(this.state,l)};it=g1.__b;g1.__b=function(a){a.type&&a.type.__f&&a.ref&&(a.props.ref=a.ref,a.ref=null),it&&it(a)};wC=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;u7={map:nt,forEach:nt,count:function(a){return a?Y2(a).length:0},only:function(a){var l=Y2(a);if(l.length!==1)throw"Children.only";return l[0]},toArray:Y2},DC=g1.__e;g1.__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)}DC(a,l,c,h)};dt=g1.unmount;g1.unmount=function(a){var l=a.__c;l&&l.__R&&l.__R(),l&&32&a.__u&&(a.type=null),dt&&dt(a)},(Q4.prototype=new h5).__c=function(a,l){var c=l.__c,h=this;h.o==null&&(h.o=[]),h.o.push(c);var Z=wt(h.__v),o=!1,r=function(){o||(o=!0,c.__R=null,Z?Z(e):e())};c.__R=r;var e=function(){if(!--h.__u){if(h.state.__a){var v=h.state.__a;h.__v.__k[0]=pt(v,v.__c.__P,v.__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(r,r)},Q4.prototype.componentWillUnmount=function(){this.o=[]},Q4.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]=xt(this.__b,c,h.__O=h.__P)}this.__b=null}var Z=l.__a&&e1(V1,null,a.fallback);return Z&&(Z.__u&=-33),[e1(V1,null,l.__a?null:a.children),Z]};(b3.prototype=new h5).__a=function(a){var l=this,c=wt(l.__v),h=l.l.get(a);return h[0]++,function(Z){var o=function(){l.props.revealOrder?(h.push(Z),gt(l,a,h)):Z()};c?c(o):o()}},b3.prototype.render=function(a){this.i=null,this.l=/*@__PURE__*/new Map;var l=Y2(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},b3.prototype.componentDidUpdate=b3.prototype.componentDidMount=function(){var a=this;this.l.forEach(function(l,c){gt(a,c,l)})};Dt=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,sC=/^(?: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]/,fC=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,BC=/[A-Z0-9]/g,TC=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})}})});ut=g1.event;g1.event=function(a){return ut&&(a=ut(a)),a.persist=OC,a.isPropagationStopped=PC,a.isDefaultPrevented=UC,a.nativeEvent=a};IC={enumerable:!1,configurable:!0,get:function(){return this.class}},Lt=g1.vnode;g1.vnode=function(a){typeof a.type=="string"&&function(l){var{props:c,type:h}=l,Z={},o=h.indexOf("-")===-1;for(var r in c){var e=c[r];if(!(r==="value"&&("defaultValue"in c)&&e==null||TC&&r==="children"&&h==="noscript"||r==="class"||r==="className")){var v=r.toLowerCase();r==="defaultValue"&&"value"in c&&c.value==null?r="value":r==="download"&&e===!0?e="":v==="translate"&&e==="no"?e=!1:v[0]==="o"&&v[1]==="n"?v==="ondoubleclick"?r="ondblclick":v!=="onchange"||h!=="input"&&h!=="textarea"||WC(c.type)?v==="onfocus"?r="onfocusin":v==="onblur"?r="onfocusout":fC.test(r)&&(r=v):v=r="oninput":o&&sC.test(r)?r=r.replace(BC,"-$&").toLowerCase():e===null&&(e=void 0),v==="oninput"&&Z[r=v]&&(r="oninputCapture"),Z[r]=e}}h=="select"&&Z.multiple&&Array.isArray(Z.value)&&(Z.value=Y2(c.children).forEach(function(M){M.props.selected=Z.value.indexOf(M.props.value)!=-1})),h=="select"&&Z.defaultValue!=null&&(Z.value=Y2(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",IC)):(c.className&&!c.class||c.class&&c.className)&&(Z.class=Z.className=c.className),l.props=Z}(a),a.$$typeof=Dt,Lt&&Lt(a)};Ft=g1.__r;g1.__r=function(a){Ft&&Ft(a),er=a.__c};Ct=g1.diffed;g1.diffed=function(a){Ct&&Ct(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),er=null};B8={ReactCurrentDispatcher:{current:{readContext:function(a){return er.__n[a.__c].props.value},useCallback:j,useContext:h1,useDebugValue:D8,useDeferredValue:Kc,useEffect:M1,useId:K3,useImperativeHandle:V5,useInsertionEffect:J5,useLayoutEffect:t2,useMemo:u1,useReducer:$5,useRef:z,useState:m1,useSyncExternalStore:zc,useTransition:bc}}};Vr=V1,ir=o5,W8={useState:m1,useId:K3,useReducer:$5,useEffect:M1,useLayoutEffect:t2,useInsertionEffect:J5,useTransition:bc,useDeferredValue:Kc,useSyncExternalStore:zc,startTransition:qc,useRef:z,useImperativeHandle:V5,useMemo:u1,useCallback:j,useContext:h1,useDebugValue:D8,version:"18.3.1",Children:u7,render:f8,hydrate:$c,unmountComponentAtNode:T8,createPortal:s8,createElement:e1,createContext:v1,createFactory:vr,cloneElement:j7,createRef:Z5,Fragment:V1,isValidElement:o5,isElement:ir,isFragment:Mr,isMemo:mr,findDOMNode:tr,Component:h5,PureComponent:S8,memo:k8,forwardRef:U,flushSync:Hr,unstable_batchedUpdates:Ar,StrictMode:Vr,Suspense:Q4,SuspenseList:b3,lazy:rr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:B8}});var wH=$2((qR)=>{(function(){var a=60103,l=60106,c=60107,h=60108,Z=60114,o=60109,r=60110,e=60112,v=60113,M=60120,t=60115,m=60116,A=60121,H=60122,V=60117,i=60119,d=60128,g=60129,u=60130,L=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"),r=R("react.context"),e=R("react.forward_ref"),v=R("react.suspense"),M=R("react.suspense_list"),t=R("react.memo"),m=R("react.lazy"),A=R("react.block"),H=R("react.server.block"),V=R("react.fundamental"),i=R("react.scope"),d=R("react.opaque.id"),g=R("react.debug_trace_mode"),u=R("react.offscreen"),L=R("react.legacy_hidden")}var x=!1;function s(t1){if(typeof t1==="string"||typeof t1==="function")return!0;if(t1===c||t1===Z||t1===g||t1===h||t1===v||t1===M||t1===L||x)return!0;if(typeof t1==="object"&&t1!==null){if(t1.$$typeof===m||t1.$$typeof===t||t1.$$typeof===o||t1.$$typeof===r||t1.$$typeof===e||t1.$$typeof===V||t1.$$typeof===A||t1[0]===H)return!0}return!1}function p(t1){if(typeof t1==="object"&&t1!==null){var u5=t1.$$typeof;switch(u5){case a:var m2=t1.type;switch(m2){case c:case Z:case h:case v:case M:return m2;default:var W5=m2&&m2.$$typeof;switch(W5){case r:case e:case m:case t:case o:return W5;default:return u5}}case l:return u5}}return}var P=r,G=o,Z1=a,o1=e,E=c,w=m,S=t,I=l,Q=Z,N=h,A1=v,b=!1,i1=!1;function $(t1){if(!b)b=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");return!1}function Y(t1){if(!i1)i1=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");return!1}function l1(t1){return p(t1)===r}function f1(t1){return p(t1)===o}function b1(t1){return typeof t1==="object"&&t1!==null&&t1.$$typeof===a}function h0(t1){return p(t1)===e}function K5(t1){return p(t1)===c}function v2(t1){return p(t1)===m}function M2(t1){return p(t1)===t}function b5(t1){return p(t1)===l}function B5(t1){return p(t1)===Z}function c1(t1){return p(t1)===h}function T5(t1){return p(t1)===v}qR.ContextConsumer=P,qR.ContextProvider=G,qR.Element=Z1,qR.ForwardRef=o1,qR.Fragment=E,qR.Lazy=w,qR.Memo=S,qR.Portal=I,qR.Profiler=Q,qR.StrictMode=N,qR.Suspense=A1,qR.isAsyncMode=$,qR.isConcurrentMode=Y,qR.isContextConsumer=l1,qR.isContextProvider=f1,qR.isElement=b1,qR.isForwardRef=h0,qR.isFragment=K5,qR.isLazy=v2,qR.isMemo=M2,qR.isPortal=b5,qR.isProfiler=B5,qR.isStrictMode=c1,qR.isSuspense=T5,qR.isValidElementType=s,qR.typeOf=p})()});var Bi=$2((pp)=>{(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,n1){var k1=a1.length;a1.push(n1),r(a1,n1,k1)}function Z(a1){return a1.length===0?null:a1[0]}function o(a1){if(a1.length===0)return null;var n1=a1[0],k1=a1.pop();if(k1!==n1)a1[0]=k1,e(a1,k1,0);return n1}function r(a1,n1,k1){var $1=k1;while($1>0){var o0=$1-1>>>1,H5=a1[o0];if(v(H5,n1)>0)a1[o0]=n1,a1[$1]=H5,$1=o0;else return}}function e(a1,n1,k1){var $1=k1,o0=a1.length,H5=o0>>>1;while($1<H5){var O0=($1+1)*2-1,b2=a1[O0],c5=O0+1,Wc=a1[c5];if(v(b2,n1)<0)if(c5<o0&&v(Wc,b2)<0)a1[$1]=Wc,a1[c5]=n1,$1=c5;else a1[$1]=b2,a1[O0]=n1,$1=O0;else if(c5<o0&&v(Wc,n1)<0)a1[$1]=Wc,a1[c5]=n1,$1=c5;else return}}function v(a1,n1){var k1=a1.sortIndex-n1.sortIndex;return k1!==0?k1:a1.id-n1.id}var M=1,t=2,m=3,A=4,H=5;function V(a1,n1){}var i=typeof performance==="object"&&typeof performance.now==="function";if(i){var d=performance;pp.unstable_now=function(){return d.now()}}else{var g=Date,u=g.now();pp.unstable_now=function(){return g.now()-u}}var L=1073741823,R=-1,x=250,s=5000,p=1e4,P=L,G=[],Z1=[],o1=1,E=null,w=m,S=!1,I=!1,Q=!1,N=typeof setTimeout==="function"?setTimeout:null,A1=typeof clearTimeout==="function"?clearTimeout:null,b=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 $(a1){var n1=Z(Z1);while(n1!==null){if(n1.callback===null)o(Z1);else if(n1.startTime<=a1)o(Z1),n1.sortIndex=n1.expirationTime,h(G,n1);else return;n1=Z(Z1)}}function Y(a1){if(Q=!1,$(a1),!I)if(Z(G)!==null)I=!0,Z0(l1);else{var n1=Z(Z1);if(n1!==null)V0(Y,n1.startTime-a1)}}function l1(a1,n1){if(I=!1,Q)Q=!1,l5();S=!0;var k1=w;try{if(l)try{return f1(a1,n1)}catch(o0){if(E!==null){var $1=pp.unstable_now();V(E,$1),E.isQueued=!1}throw o0}else return f1(a1,n1)}finally{E=null,w=k1,S=!1}}function f1(a1,n1){var k1=n1;$(k1),E=Z(G);while(E!==null&&!a){if(E.expirationTime>k1&&(!a1||P3()))break;var $1=E.callback;if(typeof $1==="function"){E.callback=null,w=E.priorityLevel;var o0=E.expirationTime<=k1,H5=$1(o0);if(k1=pp.unstable_now(),typeof H5==="function")E.callback=H5;else if(E===Z(G))o(G);$(k1)}else o(G);E=Z(G)}if(E!==null)return!0;else{var O0=Z(Z1);if(O0!==null)V0(Y,O0.startTime-k1);return!1}}function b1(a1,n1){switch(a1){case M:case t:case m:case A:case H:break;default:a1=m}var k1=w;w=a1;try{return n1()}finally{w=k1}}function h0(a1){var n1;switch(w){case M:case t:case m:n1=m;break;default:n1=w;break}var k1=w;w=n1;try{return a1()}finally{w=k1}}function K5(a1){var n1=w;return function(){var k1=w;w=n1;try{return a1.apply(this,arguments)}finally{w=k1}}}function v2(a1,n1,k1){var $1=pp.unstable_now(),o0;if(typeof k1==="object"&&k1!==null){var H5=k1.delay;if(typeof H5==="number"&&H5>0)o0=$1+H5;else o0=$1}else o0=$1;var O0;switch(a1){case M:O0=R;break;case t:O0=x;break;case H:O0=P;break;case A:O0=p;break;case m:default:O0=s;break}var b2=o0+O0,c5={id:o1++,callback:n1,priorityLevel:a1,startTime:o0,expirationTime:b2,sortIndex:-1};if(o0>$1){if(c5.sortIndex=o0,h(Z1,c5),Z(G)===null&&c5===Z(Z1)){if(Q)l5();else Q=!0;V0(Y,o0-$1)}}else if(c5.sortIndex=b2,h(G,c5),!I&&!S)I=!0,Z0(l1);return c5}function M2(){}function b5(){if(!I&&!S)I=!0,Z0(l1)}function B5(){return Z(G)}function c1(a1){a1.callback=null}function T5(){return w}var t1=!1,u5=null,m2=-1,W5=c,q4=-1;function P3(){var a1=pp.unstable_now()-q4;if(a1<W5)return!1;return!0}function K4(){}function bo(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)W5=Math.floor(1000/a1);else W5=c}var C8=function(){if(u5!==null){var a1=pp.unstable_now();q4=a1;var n1=!0,k1=!0;try{k1=u5(n1,a1)}finally{if(k1)U3();else t1=!1,u5=null}}else t1=!1},U3;if(typeof b==="function")U3=function(){b(C8)};else if(typeof MessageChannel!=="undefined"){var y=new MessageChannel,L1=y.port2;y.port1.onmessage=C8,U3=function(){L1.postMessage(null)}}else U3=function(){N(C8,0)};function Z0(a1){if(u5=a1,!t1)t1=!0,U3()}function V0(a1,n1){m2=N(function(){a1(pp.unstable_now())},n1)}function l5(){A1(m2),m2=-1}var I3=K4,y7=null;if(pp.unstable_IdlePriority=H,pp.unstable_ImmediatePriority=M,pp.unstable_LowPriority=A,pp.unstable_NormalPriority=m,pp.unstable_Profiling=y7,pp.unstable_UserBlockingPriority=t,pp.unstable_cancelCallback=c1,pp.unstable_continueExecution=b5,pp.unstable_forceFrameRate=bo,pp.unstable_getCurrentPriorityLevel=T5,pp.unstable_getFirstCallbackNode=B5,pp.unstable_next=h0,pp.unstable_pauseExecution=M2,pp.unstable_requestPaint=I3,pp.unstable_runWithPriority=b1,pp.unstable_scheduleCallback=v2,pp.unstable_shouldYield=P3,pp.unstable_wrapCallback=K5,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Pv=$2((bS)=>{(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,r=a?Symbol.for("react.provider"):60109,e=a?Symbol.for("react.context"):60110,v=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,A=a?Symbol.for("react.suspense_list"):60120,H=a?Symbol.for("react.memo"):60115,V=a?Symbol.for("react.lazy"):60116,i=a?Symbol.for("react.block"):60121,d=a?Symbol.for("react.fundamental"):60117,g=a?Symbol.for("react.responder"):60118,u=a?Symbol.for("react.scope"):60119;function L(c1){return typeof c1==="string"||typeof c1==="function"||c1===h||c1===M||c1===o||c1===Z||c1===m||c1===A||typeof c1==="object"&&c1!==null&&(c1.$$typeof===V||c1.$$typeof===H||c1.$$typeof===r||c1.$$typeof===e||c1.$$typeof===t||c1.$$typeof===d||c1.$$typeof===g||c1.$$typeof===u||c1.$$typeof===i)}function R(c1){if(typeof c1==="object"&&c1!==null){var T5=c1.$$typeof;switch(T5){case l:var t1=c1.type;switch(t1){case v:case M:case h:case o:case Z:case m:return t1;default:var u5=t1&&t1.$$typeof;switch(u5){case e:case t:case V:case H:case r:return u5;default:return T5}}case c:return T5}}return}var x=v,s=M,p=e,P=r,G=l,Z1=t,o1=h,E=V,w=H,S=c,I=o,Q=Z,N=m,A1=!1;function b(c1){if(!A1)A1=!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(c1)||R(c1)===v}function i1(c1){return R(c1)===M}function $(c1){return R(c1)===e}function Y(c1){return R(c1)===r}function l1(c1){return typeof c1==="object"&&c1!==null&&c1.$$typeof===l}function f1(c1){return R(c1)===t}function b1(c1){return R(c1)===h}function h0(c1){return R(c1)===V}function K5(c1){return R(c1)===H}function v2(c1){return R(c1)===c}function M2(c1){return R(c1)===o}function b5(c1){return R(c1)===Z}function B5(c1){return R(c1)===m}bS.AsyncMode=x,bS.ConcurrentMode=s,bS.ContextConsumer=p,bS.ContextProvider=P,bS.Element=G,bS.ForwardRef=Z1,bS.Fragment=o1,bS.Lazy=E,bS.Memo=w,bS.Portal=S,bS.Profiler=I,bS.StrictMode=Q,bS.Suspense=N,bS.isAsyncMode=b,bS.isConcurrentMode=i1,bS.isContextConsumer=$,bS.isContextProvider=Y,bS.isElement=l1,bS.isForwardRef=f1,bS.isFragment=b1,bS.isLazy=h0,bS.isMemo=K5,bS.isPortal=v2,bS.isProfiler=M2,bS.isStrictMode=b5,bS.isSuspense=B5,bS.isValidElementType=L,bS.typeOf=R})()});var Lg=$2((fr1,ug)=>{var gg=Object.getOwnPropertySymbols,$S=Object.prototype.hasOwnProperty,JS=Object.prototype.propertyIsEnumerable;function YS(a){if(a===null||a===void 0)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function QS(){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}}ug.exports=QS()?Object.assign:function(a,l){var c,h=YS(a),Z;for(var o=1;o<arguments.length;o++){c=Object(arguments[o]);for(var r in c)if($S.call(c,r))h[r]=c[r];if(gg){Z=gg(c);for(var e=0;e<Z.length;e++)if(JS.call(c,Z[e]))h[Z[e]]=c[Z[e]]}}return h}});var Uv=$2((Br1,Fg)=>{var XS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Fg.exports=XS});var Iv=$2((Tr1,Cg)=>{Cg.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var pg=$2((Wr1,xg)=>{var Gv=function(){};zv=Uv(),Gl={},qv=Iv(),Gv=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};var zv,Gl,qv;function Rg(a,l,c,h,Z){for(var o in a)if(qv(a,o)){var r;try{if(typeof a[o]!=="function"){var e=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 e.name="Invariant Violation",e}r=a[o](l,o,h,c,null,zv)}catch(M){r=M}if(r&&!(r instanceof Error))Gv((h||"React class")+": type specification of "+c+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof r+". 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(r instanceof Error&&!(r.message in Gl)){Gl[r.message]=!0;var v=Z?Z():"";Gv("Failed "+c+" type: "+r.message+(v!=null?v:""))}}}Rg.resetWarningCache=function(){Gl={}};xg.exports=Rg});var kg=$2((Or1,Sg)=>{var Dg=b4(Pv(),1),ES=Lg(),b6=Uv(),Kv=Iv(),wg=pg(),$6=function(){};$6=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};function BZ(){return null}Sg.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>>",r={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:A,element:H(),elementType:V(),instanceOf:i,node:L(),objectOf:g,oneOf:d,oneOfType:u,shape:x,exact:s};function e(w,S){if(w===S)return w!==0||1/w===1/S;else return w!==w&&S!==S}function v(w,S){this.message=w,this.data=S&&typeof S==="object"?S:{},this.stack=""}v.prototype=Error.prototype;function M(w){var S={},I=0;function Q(A1,b,i1,$,Y,l1,f1){if($=$||o,l1=l1||i1,f1!==b6){if(l){var b1=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 b1.name="Invariant Violation",b1}else if(typeof console!=="undefined"){var h0=$+":"+i1;if(!S[h0]&&I<3)$6("You are manually calling a React.PropTypes validation function for the `"+l1+"` prop on `"+$+"`. 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,I++}}if(b[i1]==null){if(A1){if(b[i1]===null)return new v("The "+Y+" `"+l1+"` is marked as required "+("in `"+$+"`, but its value is `null`."));return new v("The "+Y+" `"+l1+"` is marked as required in "+("`"+$+"`, but its value is `undefined`."))}return null}else return w(b,i1,$,Y,l1)}var N=Q.bind(null,!1);return N.isRequired=Q.bind(null,!0),N}function t(w){function S(I,Q,N,A1,b,i1){var $=I[Q],Y=G($);if(Y!==w){var l1=Z1($);return new v("Invalid "+A1+" `"+b+"` of type "+("`"+l1+"` supplied to `"+N+"`, expected ")+("`"+w+"`."),{expectedType:w})}return null}return M(S)}function m(){return M(BZ)}function A(w){function S(I,Q,N,A1,b){if(typeof w!=="function")return new v("Property `"+b+"` of component `"+N+"` has invalid PropType notation inside arrayOf.");var i1=I[Q];if(!Array.isArray(i1)){var $=G(i1);return new v("Invalid "+A1+" `"+b+"` of type "+("`"+$+"` supplied to `"+N+"`, expected an array."))}for(var Y=0;Y<i1.length;Y++){var l1=w(i1,Y,N,A1,b+"["+Y+"]",b6);if(l1 instanceof Error)return l1}return null}return M(S)}function H(){function w(S,I,Q,N,A1){var b=S[I];if(!a(b)){var i1=G(b);return new v("Invalid "+N+" `"+A1+"` of type "+("`"+i1+"` supplied to `"+Q+"`, expected a single ReactElement."))}return null}return M(w)}function V(){function w(S,I,Q,N,A1){var b=S[I];if(!Dg.isValidElementType(b)){var i1=G(b);return new v("Invalid "+N+" `"+A1+"` of type "+("`"+i1+"` supplied to `"+Q+"`, expected a single ReactElement type."))}return null}return M(w)}function i(w){function S(I,Q,N,A1,b){if(!(I[Q]instanceof w)){var i1=w.name||o,$=E(I[Q]);return new v("Invalid "+A1+" `"+b+"` of type "+("`"+$+"` supplied to `"+N+"`, expected ")+("instance of `"+i1+"`."))}return null}return M(S)}function d(w){if(!Array.isArray(w)){if(arguments.length>1)$6("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 $6("Invalid argument supplied to oneOf, expected an array.");return BZ}function S(I,Q,N,A1,b){var i1=I[Q];for(var $=0;$<w.length;$++)if(e(i1,w[$]))return null;var Y=JSON.stringify(w,function l1(f1,b1){var h0=Z1(b1);if(h0==="symbol")return String(b1);return b1});return new v("Invalid "+A1+" `"+b+"` of value `"+String(i1)+"` "+("supplied to `"+N+"`, expected one of "+Y+"."))}return M(S)}function g(w){function S(I,Q,N,A1,b){if(typeof w!=="function")return new v("Property `"+b+"` of component `"+N+"` has invalid PropType notation inside objectOf.");var i1=I[Q],$=G(i1);if($!=="object")return new v("Invalid "+A1+" `"+b+"` of type "+("`"+$+"` supplied to `"+N+"`, expected an object."));for(var Y in i1)if(Kv(i1,Y)){var l1=w(i1,Y,N,A1,b+"."+Y,b6);if(l1 instanceof Error)return l1}return null}return M(S)}function u(w){if(!Array.isArray(w))return $6("Invalid argument supplied to oneOfType, expected an instance of array."),BZ;for(var S=0;S<w.length;S++){var I=w[S];if(typeof I!=="function")return $6("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+o1(I)+" at index "+S+"."),BZ}function Q(N,A1,b,i1,$){var Y=[];for(var l1=0;l1<w.length;l1++){var f1=w[l1],b1=f1(N,A1,b,i1,$,b6);if(b1==null)return null;if(b1.data&&Kv(b1.data,"expectedType"))Y.push(b1.data.expectedType)}var h0=Y.length>0?", expected one of type ["+Y.join(", ")+"]":"";return new v("Invalid "+i1+" `"+$+"` supplied to "+("`"+b+"`"+h0+"."))}return M(Q)}function L(){function w(S,I,Q,N,A1){if(!p(S[I]))return new v("Invalid "+N+" `"+A1+"` supplied to "+("`"+Q+"`, expected a ReactNode."));return null}return M(w)}function R(w,S,I,Q,N){return new v((w||"React class")+": "+S+" type `"+I+"."+Q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+N+"`.")}function x(w){function S(I,Q,N,A1,b){var i1=I[Q],$=G(i1);if($!=="object")return new v("Invalid "+A1+" `"+b+"` of type `"+$+"` "+("supplied to `"+N+"`, expected `object`."));for(var Y in w){var l1=w[Y];if(typeof l1!=="function")return R(N,A1,b,Y,Z1(l1));var f1=l1(i1,Y,N,A1,b+"."+Y,b6);if(f1)return f1}return null}return M(S)}function s(w){function S(I,Q,N,A1,b){var i1=I[Q],$=G(i1);if($!=="object")return new v("Invalid "+A1+" `"+b+"` of type `"+$+"` "+("supplied to `"+N+"`, expected `object`."));var Y=ES({},I[Q],w);for(var l1 in Y){var f1=w[l1];if(Kv(w,l1)&&typeof f1!=="function")return R(N,A1,b,l1,Z1(f1));if(!f1)return new v("Invalid "+A1+" `"+b+"` key `"+l1+"` supplied to `"+N+"`.\nBad object: "+JSON.stringify(I[Q],null," ")+`
|
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(w),null," "));var b1=f1(i1,l1,N,A1,b+"."+l1,b6);if(b1)return b1}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 I=S.call(w),Q;if(S!==w.entries){while(!(Q=I.next()).done)if(!p(Q.value))return!1}else while(!(Q=I.next()).done){var N=Q.value;if(N){if(!p(N[1]))return!1}}}else return!1;return!0;default:return!1}}function P(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(P(S,w))return"symbol";return S}function Z1(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 o1(w){var S=Z1(w);switch(S){case"array":case"object":return"an "+S;case"boolean":case"date":case"regexp":return"a "+S;default:return S}}function E(w){if(!w.constructor||!w.constructor.name)return o;return w.constructor.name}return r.checkPropTypes=wg,r.resetWarningCache=wg.resetWarningCache,r.PropTypes=r,r}});var fg=$2((Pr1,sg)=>{var $v=b4(Pv(),1);bv=!0,sg.exports=kg()($v.isElement,bv);var bv});var nF=$2((Lf)=>{Lf.__esModule=!0;Lf.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(r){var e=r.trim().toLowerCase();if(e.charAt(0)===".")return h.toLowerCase().endsWith(e);else if(e.endsWith("/*"))return o===e.replace(/\/.*$/,"");return Z===e})}return!0}});F();function St(a){return{render:function(l){f8(l,a)},unmount:function(){T8(a)}}}var nr=typeof window==="undefined"?global:window;function kt(a,l){if(!nr[Symbol.for("@griffel/"+a)])nr[Symbol.for("@griffel/"+a)]=l;return nr[Symbol.for("@griffel/"+a)]}var N7=/*@__PURE__*/kt("DEBUG_RESET_CLASSES",{}),_7=/*@__PURE__*/kt("DEFINITION_LOOKUP_TABLE",{}),J3="data-make-styles-bucket",dr="data-priority",P8="f",st="r",O8=7,Y5="___",gr="_",Jc=Y5.length+O8+gr.length+O8,ft=0,ur=1,Bt={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},X4="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function X2(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===O8)return a;for(let c=l;c<O8;c++)a+="0";return a}function Yc(a,l,c=[]){return Y5+Tt(X2(a+l))+gr+Tt(X2(c.join("")))}function Lr(a,l){let c="",h="";for(let Z in a){let o=a[Z];if(o===0){h+=Z+" ";continue}let r=Array.isArray(o),e=l==="rtl"?(r?o[1]:o)+" ":(r?o[0]:o)+" ";c+=e,h+=e}return[c.slice(0,-1),h.slice(0,-1)]}function E4(a,l){let c={};for(let h in a){let[Z,o]=Lr(a[h],l);if(o===""){c[h]="";continue}let r=Yc(o,l),e=r+(Z===""?"":" "+Z);_7[r]=[a[h],l],c[h]=e}return c}var U8={};function k(){let a=null,l="",c="",h=new Array(arguments.length),Z="";for(let A=0;A<arguments.length;A++){let H=arguments[A];if(typeof H==="string"&&H!==""){let V=H.indexOf(Y5);if(V===-1)H.split(" ").forEach((i)=>{if(i.startsWith(st)&&N7[i])if(Z)console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${H} & ${l}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
|
|
3
|
+
Source string: ${H}`);else Z=i}),l+=H+" ";else{let i=H.substr(V,Jc);if(V>0)l+=H.slice(0,V);c+=i,h[A]=i}if(H.indexOf(Y5,V+1)!==-1)console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${Y5}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${H}`)}}if(c==="")return l.slice(0,-1);let o=U8[c];if(o!==void 0)return l+o;let r=[];for(let A=0;A<arguments.length;A++){let H=h[A];if(H){let V=_7[H];if(V){if(r.push(V[ft]),a!==null&&a!==V[ur])console.error(`mergeClasses(): a passed string contains an identifier (${H}) that has different direction (dir="${V[1]?"rtl":"ltr"}") setting than other classes. This is not supported. Source string: ${arguments[A]}`);a=V[ur]}else console.error(`mergeClasses(): a passed string contains an identifier (${H}) that does not match any entry in cache. Source string: ${arguments[A]}`)}}let e=Object.assign.apply(Object,[{}].concat(r)),[v,M]=Lr(e,a),t=Yc(M,a,h),m=t+" "+v;return U8[c]=m,_7[t]=[e,a],l+m}var Wt={},Ot=/*@__PURE__*/new Set,Q5={getChildrenSequences:(a)=>{let l=Object.keys(U8).find((c)=>U8[c].startsWith(a));if(l)return l.split(Y5).filter((c)=>c.length).map((c)=>Y5+c);return[]},addCSSRule:(a)=>{Ot.add(a)},addSequenceDetails:(a,l)=>{Object.entries(a).forEach(([c,h])=>{Wt[h.substring(0,Jc)]={slotName:c,sourceURL:l}})},getCSSRules:()=>{return Array.from(Ot)},getSequenceDetails:(a)=>{return Wt[a]}};function Pt(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(([r,e])=>{let v=Pt(e,o),M;if(c&&l){let t=c.find(({className:m})=>m===v);if(!t&&l[0][r])M=Pt(l[0][r],l[1]);else if(t&&l[0][r])M=(h?h.filter(({debugClassNames:A})=>A.filter(({className:H})=>H===v).length>0).length>0:!1)?t.className:t.overriddenBy;else if(!t&&!l[0][r])M=void 0;else if(t&&!l[0][r])M=void 0}return{className:v,overriddenBy:M}})}function Fr(a,l){let c=_7[a];if(c===void 0)return;let h=l?_7[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(Q5.getChildrenSequences(o.sequenceHash).reverse().forEach((e)=>{let v=Fr(e,o);if(v)o.children.push(v)}),!o.children.length)o.rules={},o.debugClassNames.forEach(({className:e})=>{let v=Q5.getSequenceDetails(a);if(v)o.slot=v.slotName,o.sourceURL=v.sourceURL;let M=Q5.getCSSRules().find((t)=>{return t.includes(e)});o.rules[e]=M});return o}function It(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=Q5.getCSSRules().filter((r)=>{return r.includes(`.${Z}`)});return h.rules[Z]=o.join(""),h}function Gt(a,l){let c=a?Fr(a):void 0,h=l?It(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 zt(a){let l=a.defaultView;if(!l||l.__GRIFFEL_DEVTOOLS__)return;let c={getInfo:(h)=>{let Z,o;for(let r of h.classList){if(r.startsWith(Y5))Z=r;if(N7[r])o=r}return Gt(Z,o)}};Object.defineProperty(l,"__GRIFFEL_DEVTOOLS__",{configurable:!1,enumerable:!1,get(){return c}})}var L7=/*@__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 Kt(a,l,c,h){let Z=[];if(h[J3]=l,h[dr]=String(c),a)for(let r in h)a.setAttribute(r,h[r]);function o(r){if(a===null||a===void 0?void 0:a.sheet)return a.sheet.insertRule(r,a.sheet.cssRules.length);return Z.push(r)}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((r)=>r.cssText);return Z}}}var GC=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],bt=/*@__PURE__*/GC.reduce((a,l,c)=>{return a[l]=c,a},{});function zC(a,l,c){return(a==="m"?a+l:a)+c}function $t(a,l,c,h,Z={}){var o,r;let e=a==="m",v=(o=Z.m)!==null&&o!==void 0?o:"0",M=(r=Z.p)!==null&&r!==void 0?r:0,t=zC(a,v,M);if(!h.stylesheets[t]){let m=l&&l.createElement("style"),A=Kt(m,a,M,Object.assign({},h.styleElementAttributes,e&&{media:v}));if(h.stylesheets[t]=A,l&&m)l.head.insertBefore(m,KC(l,c,a,h,Z))}return h.stylesheets[t]}function qC(a,l,c){var h,Z;let o=l+((h=c.m)!==null&&h!==void 0?h:""),r=a.getAttribute(J3)+((Z=a.media)!==null&&Z!==void 0?Z:"");return o===r}function KC(a,l,c,h,Z={}){var o,r;let e=bt[c],v=(o=Z.m)!==null&&o!==void 0?o:"",M=(r=Z.p)!==null&&r!==void 0?r:0,t=(i)=>e-bt[i.getAttribute(J3)],m=a.head.querySelectorAll(`[${J3}]`);if(c==="m"){let i=a.head.querySelectorAll(`[${J3}="${c}"]`);if(i.length)m=i,t=(d)=>h.compareMediaQueries(v,d.media)}let A=(i)=>{if(qC(i,c,Z))return M-Number(i.getAttribute("data-priority"));return t(i)},H=m.length,V=H-1;while(V>=0){let i=m.item(V);if(A(i)>0)return i.nextSibling;V--}if(H>0)return m.item(0);return l?l.nextSibling:null}var bC=/*@__PURE__*/["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),$C=/*@__PURE__*/new RegExp(`:(${bC})`);function Cr(a,l){try{a.insertRule(l)}catch(c){if(!$C.test(l))console.error(`There was a problem inserting the following rule: "${l}"`,c)}}var JC=0,Jt=(a,l)=>a<l?-1:a>l?1:0;function I8(a=typeof document==="undefined"?void 0:document,l={}){let{classNameHashSalt:c,unstable_filterCSSRule:h,insertionPoint:Z,styleElementAttributes:o,compareMediaQueries:r=Jt}=l,e={classNameHashSalt:c,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(o),compareMediaQueries:r,id:`d${JC++}`,insertCSSRules(v){for(let M in v){let t=v[M];for(let m=0,A=t.length;m<A;m++){let[H,V]=qt(t[m]),i=$t(M,a,Z||null,e,V);if(e.insertionCache[H])continue;if(e.insertionCache[H]=M,L7)Q5.addCSSRule(H);if(h){if(h(H))Cr(i,H)}else Cr(i,H)}}}};if(a&&!0&&L7)zt(a);return e}function Yt(a){return EC(a)||NC(a)||aR(a)}var YC=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i,QC=/^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i,XC=/\((\S*)\)/;function EC(a){let l=YC.exec(a)||QC.exec(a);if(!l)return null;let c=l[2],h=c&&c.indexOf("native")===0,Z=c&&c.indexOf("eval")===0,o=XC.exec(c);if(Z&&o!=null)c=o[1];return{loc:!h?l[2]:null,name:l[1]||"<unknown>"}}var yC=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i,jC=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function NC(a){let l=yC.exec(a);if(!l)return null;let c=l[3],h=c&&c.indexOf(" > eval")>-1,Z=jC.exec(c);if(h&&Z!=null)c=Z[1];return{loc:l[3],name:l[1]||"<unknown>"}}var _C=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;function aR(a){let l=_C.exec(a);if(!l)return null;return{loc:l[3],name:l[1]||"<unknown>"}}function Qc(){let a=String(new Error().stack).split(`
|
|
4
|
+
`),l=lR(a);if(l===void 0)return;let c=Yt(l);return c===null||c===void 0?void 0:c.loc}function lR(a){for(let l=a.length-1;l>=0;--l)if(a[l].includes("at getSourceURLfromError"))return a[l+3];return}var y4=()=>{let a={};return function l(c,h){if(a[c.id]===void 0)c.insertCSSRules(h),a[c.id]=!0}};function pr(a){return a.reduce(function(l,c){var h=c[0],Z=c[1];return l[h]=Z,l[Z]=h,l},{})}function Qt(a){return typeof a==="boolean"}function Xt(a){return typeof a==="function"}function j4(a){return typeof a==="number"}function Et(a){return a===null||typeof a==="undefined"}function yt(a){return a&&typeof a==="object"}function jt(a){return typeof a==="string"}function G8(a,l){return a.indexOf(l)!==-1}function Nt(a){if(parseFloat(a)===0)return a;if(a[0]==="-")return a.slice(1);return"-"+a}function N4(a,l,c,h){return l+Nt(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 wr(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,r=(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-r,{list:h,state:Z}},{list:[],state:{parensDepth:0}}).list}function Rr(a){var l=wr(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 aA(a){return!Qt(a)&&!Et(a)}function lA(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(j4(c))return c;return Rr(c)},textShadow:function a(l){var c=l.value,h=lA(c).map(function(Z){return Z.replace(/(^|\s)(-*)([.|\d]+)/,function(o,r,e,v){if(v==="0")return o;var M=e===""?"-":"";return""+r+M+v})});return h.join(",")},borderColor:function a(l){var c=l.value;return Rr(c)},borderRadius:function a(l){var c=l.value;if(j4(c))return c;if(G8(c,"/")){var h=c.split("/"),Z=h[0],o=h[1],r=W.borderRadius({value:Z.trim()}),e=W.borderRadius({value:o.trim()});return r+" / "+e}var v=wr(c);switch(v.length){case 2:return v.reverse().join(" ");case 4:{var M=v[0],t=v[1],m=v[2],A=v[3];return[t,M,A,m].join(" ")}default:return c}},background:function a(l){var{value:c,valuesToConvert:h,isRtl:Z,bgImgDirectionRegex:o,bgPosDirectionRegex:r}=l;if(j4(c))return c;var e=c.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return c=c.replace(e,W.backgroundPosition({value:e,valuesToConvert:h,isRtl:Z,bgPosDirectionRegex:r})),W.backgroundImage({value:c,valuesToConvert:h,bgImgDirectionRegex:o})},backgroundImage:function a(l){var{value:c,valuesToConvert:h,bgImgDirectionRegex:Z}=l;if(!G8(c,"url(")&&!G8(c,"linear-gradient("))return c;return c.replace(Z,function(o,r,e){return o.replace(e,h[e])})},backgroundPosition:function a(l){var{value:c,valuesToConvert:h,isRtl:Z,bgPosDirectionRegex:o}=l;return c.replace(Z?/^((-|\d|\.)+%)/:null,function(r,e){return _t(e)}).replace(o,function(r){return h[r]})},backgroundPositionX:function a(l){var{value:c,valuesToConvert:h,isRtl:Z,bgPosDirectionRegex:o}=l;if(j4(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))",r=new RegExp("(translateX\\s*\\(\\s*)"+o+"(\\s*\\))","gi"),e=new RegExp("(translate\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,1}\\s*\\))","gi"),v=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(r,N4).replace(e,N4).replace(v,N4).replace(M,N4)}};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 Dr=pr([["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"]]),cA=["content"],xr=pr([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),cR=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),hR=new RegExp("(left)|(right)");function Xc(a){return Object.keys(a).reduce(function(l,c){var h=a[c];if(jt(h))h=h.trim();if(G8(cA,c))return l[c]=h,l;var Z=z8(c,h),o=Z.key,r=Z.value;return l[o]=r,l},Array.isArray(a)?[]:{})}function z8(a,l){var c=/\/\*\s?@noflip\s?\*\//.test(l),h=c?a:hA(a),Z=c?l:ZA(h,l);return{key:h,value:Z}}function hA(a){return Dr[a]||a}function ZA(a,l){if(!aA(l))return l;if(yt(l))return Xc(l);var c=j4(l),h=Xt(l),Z=c||h?l:l.replace(/ !important.*?$/,""),o=!c&&Z.length!==l.length,r=W[a],e;if(r)e=r({value:Z,valuesToConvert:xr,propertiesToConvert:Dr,isRtl:!0,bgImgDirectionRegex:cR,bgPosDirectionRegex:hR});else e=xr[Z]||Z;if(o)return e+" !important";return e}var ZR=/[A-Z]/g,oR=/^ms-/,Sr={};function rR(a){return"-"+a.toLowerCase()}function a3(a){if(Object.prototype.hasOwnProperty.call(Sr,a))return Sr[a];if(a.substr(0,2)==="--")return a;let l=a.replace(ZR,rR);return Sr[a]=oR.test(l)?"-"+l:l}function Ec(a){if(a.charAt(0)==="&")return a.slice(1);return a}var _4="-moz-",X5="-webkit-",yc="comm",l3="rule",a6="decl";var oA="@media",rA="@import";var eA="@supports";var vA="@namespace",MA="@keyframes";var jc="@layer";var kr=Math.abs,l6=String.fromCharCode,sr=Object.assign;function mA(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 Nc(a){return a.trim()}function _c(a,l){return(a=l.exec(a))?a[0]:a}function J0(a,l,c){return a.replace(l,c)}function ah(a,l,c){return a.indexOf(l,c)}function x0(a,l){return a.charCodeAt(l)|0}function F7(a,l,c){return a.slice(l,c)}function r5(a){return a.length}function lh(a){return a.length}function C7(a,l){return l.push(a),a}function fr(a,l){return a.map(l).join("")}var ch=1,c6=1,tA=0,O5=0,v0=0,h6="";function q8(a,l,c,h,Z,o,r,e){return{value:a,root:l,parent:c,type:h,props:Z,children:o,line:ch,column:c6,length:r,return:"",siblings:e}}function hh(a,l){return sr(q8("",null,null,"",null,null,0,a.siblings),a,{length:-a.length},l)}function AA(){return v0}function HA(){if(v0=O5>0?x0(h6,--O5):0,c6--,v0===10)c6=1,ch--;return v0}function P5(){if(v0=O5<tA?x0(h6,O5++):0,c6++,v0===10)c6=1,ch++;return v0}function R7(){return x0(h6,O5)}function K8(){return O5}function Zh(a,l){return F7(h6,a,l)}function Y3(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 Tr(a){return ch=c6=1,tA=r5(h6=a),O5=0,[]}function Wr(a){return h6="",a}function b8(a){return Nc(Zh(O5-1,Br(a===91?a+2:a===40?a+1:a)))}function VA(a){return Wr(eR(Tr(a)))}function iA(a){while(v0=R7())if(v0<33)P5();else break;return Y3(a)>2||Y3(v0)>3?"":" "}function eR(a){while(P5())switch(Y3(v0)){case 0:C7(Or(O5-1),a);break;case 2:C7(b8(v0),a);break;default:C7(l6(v0),a)}return a}function nA(a,l){while(--l&&P5())if(v0<48||v0>102||v0>57&&v0<65||v0>70&&v0<97)break;return Zh(a,K8()+(l<6&&R7()==32&&P5()==32))}function Br(a){while(P5())switch(v0){case a:return O5;case 34:case 39:if(a!==34&&a!==39)Br(v0);break;case 40:if(a===41)Br(a);break;case 92:P5();break}return O5}function dA(a,l){while(P5())if(a+v0===57)break;else if(a+v0===84&&R7()===47)break;return"/*"+Zh(l,O5-1)+"*"+l6(a===47?a:P5())}function Or(a){while(!Y3(R7()))P5();return Zh(a,O5)}function rh(a){return Wr(oh("",null,null,null,[""],a=Tr(a),0,[0],a))}function oh(a,l,c,h,Z,o,r,e,v){var M=0,t=0,m=r,A=0,H=0,V=0,i=1,d=1,g=1,u=0,L="",R=Z,x=o,s=h,p=L;while(d)switch(V=u,u=P5()){case 40:if(V!=108&&x0(p,m-1)==58){if(ah(p+=J0(b8(u),"&","&\f"),"&\f",kr(M?e[M-1]:0))!=-1)g=-1;break}case 34:case 39:case 91:p+=b8(u);break;case 9:case 10:case 13:case 32:p+=iA(V);break;case 92:p+=nA(K8()-1,7);continue;case 47:switch(R7()){case 42:case 47:if(C7(vR(dA(P5(),K8()),l,c,v),v),(Y3(V||1)==5||Y3(R7()||1)==5)&&r5(p)&&F7(p,-1,void 0)!==" ")p+=" ";break;default:p+="/"}break;case 123*i:e[M++]=r5(p)*g;case 125*i:case 59:case 0:switch(u){case 0:case 125:d=0;case 59+t:if(g==-1)p=J0(p,/\f/g,"");if(H>0&&(r5(p)-m||i===0&&V===47))C7(H>32?uA(p+";",h,c,m-1,v):uA(J0(p," ","")+";",h,c,m-2,v),v);break;case 59:p+=";";default:if(C7(s=gA(p,l,c,M,t,Z,e,L,R=[],x=[],m,o),o),u===123)if(t===0)oh(p,l,s,s,R,o,m,e,x);else{switch(A){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)oh(a,s,s,h&&C7(gA(a,s,s,0,0,Z,e,L,Z,R=[],m,x),x),Z,x,m,e,h?R:x);else oh(p,s,s,s,[""],x,0,e,x)}}M=t=H=0,i=g=1,L=p="",m=r;break;case 58:m=1+r5(p),H=V;default:if(i<1){if(u==123)--i;else if(u==125&&i++==0&&HA()==125)continue}switch(p+=l6(u),u*i){case 38:g=t>0?1:(p+="\f",-1);break;case 44:e[M++]=(r5(p)-1)*g,g=1;break;case 64:if(R7()===45)p+=b8(P5());A=R7(),t=m=r5(L=p+=Or(K8())),u++;break;case 45:if(V===45&&r5(p)==2)i=0}}return o}function gA(a,l,c,h,Z,o,r,e,v,M,t,m){var A=Z-1,H=Z===0?o:[""],V=lh(H);for(var i=0,d=0,g=0;i<h;++i)for(var u=0,L=F7(a,A+1,A=kr(d=r[i])),R=a;u<V;++u)if(R=Nc(d>0?H[u]+" "+L:J0(L,/&\f/g,H[u])))v[g++]=R;return q8(a,l,c,Z===0?l3:e,v,M,t,m)}function vR(a,l,c,h){return q8(a,l,c,yc,l6(AA()),F7(a,2,-2),0,h)}function uA(a,l,c,h,Z){return q8(a,l,c,a6,F7(a,0,h),F7(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 eh(a,l,c,h){switch(a.type){case jc:if(a.children.length)break;case rA:case vA:case a6:return a.return=a.return||a.value;case yc:return"";case MA:return a.return=a.value+"{"+x7(a.children,h)+"}";case l3:if(!r5(a.value=a.props.join(",")))return""}return r5(c=x7(a.children,h))?a.return=a.value+"{"+c+"}":""}function vh(a){var l=lh(a);return function(c,h,Z,o){var r="";for(var e=0;e<l;e++)r+=a[e](c,h,Z,o)||"";return r}}function Mh(a){return function(l){if(!l.root){if(l=l.return)a(l)}}}var LA=(a)=>{switch(a.type){case l3: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 VA(l).reduce((c,h,Z,o)=>{if(h==="")return c;if(h===":"&&o[Z+1]==="global"){let r=o[Z+2].slice(1,-1)+" ";return c.unshift(r),o[Z+1]="",o[Z+2]="",c}return c.push(h),c},[]).join("")})}};function FA(a,l,c){switch(mA(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(x0(a,9)===102)return X5+a+a;if(x0(a,l+1)===116)return X5+a+a;break;case 4789:return _4+a+a;case 5349:case 4246:case 6968:return X5+a+_4+a+a;case 6187:if(!_c(a,/grab/))return J0(J0(J0(a,/(zoom-|grab)/,X5+"$1"),/(image-set)/,X5+"$1"),a,"")+a;case 5495:case 3959:return J0(a,/(image-set\([^]*)/,X5+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return J0(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(x0(a,l+1)){case 102:if(x0(a,l+3)===108)return J0(a,/(.+:)(.+)-([^]+)/,"$1"+X5+"$2-$3$1"+_4+(x0(a,l+3)==108?"$3":"$2-$3"))+a;case 115:return~ah(a,"stretch")?FA(J0(a,"stretch","fill-available"),l)+a:a}break}return a}function mh(a,l,c,h){if(a.length>-1){if(!a.return)switch(a.type){case a6:a.return=FA(a.value,a.length);return;case l3:if(a.length)return fr(a.props,function(Z){switch(_c(Z,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return x7([hh(a,{props:[J0(Z,/:(read-\w+)/,":"+_4+"$1")]})],h);case"::placeholder":return x7([hh(a,{props:[J0(Z,/:(plac\w+)/,":"+X5+"input-$1")]}),hh(a,{props:[J0(Z,/:(plac\w+)/,":"+_4+"$1")]})],h)}return""})}}return}function CA(a){switch(a.type){case"@container":case oA:case eA:case jc:return!0}return!1}var RA=(a)=>{if(CA(a)&&Array.isArray(a.children))a.children.sort((l,c)=>l.props[0]>c.props[0]?1:-1)};function MR(){}function xA(a,l){let c=[];return x7(rh(a),vh([LA,l?RA:MR,mh,eh,Mh((h)=>c.push(h))])),c}var mR=/,( *[^ &])/g;function tR(a){return"&"+Ec(a.replace(mR,",&$1"))}function pA(a,l,c){let h=l;if(c.length>0)h=c.reduceRight((Z,o)=>{return`${tR(o)} { ${Z} }`},l);return`${a}{${h}}`}function Pr(a,l){let{className:c,selectors:h,property:Z,rtlClassName:o,rtlProperty:r,rtlValue:e,value:v}=a,{container:M,layer:t,media:m,supports:A}=l,H=`.${c}`,V=Array.isArray(v)?`${v.map((d)=>`${a3(Z)}: ${d}`).join(";")};`:`${a3(Z)}: ${v};`,i=pA(H,V,h);if(r&&o){let d=`.${o}`,g=Array.isArray(e)?`${e.map((u)=>`${a3(r)}: ${u}`).join(";")};`:`${a3(r)}: ${e};`;i+=pA(d,g,h)}if(m)i=`@media ${m} { ${i} }`;if(t)i=`@layer ${t} { ${i} }`;if(A)i=`@supports ${A} { ${i} }`;if(M)i=`@container ${M} { ${i} }`;return xA(i,!0)}function wA(a){let l="";for(let c in a){let h=a[c];if(typeof h==="string"||typeof h==="number"){l+=a3(c)+":"+h+";";continue}if(Array.isArray(h))for(let Z of h)l+=a3(c)+":"+Z+";"}return l}function Ur(a){let l="";for(let c in a)l+=`${c}{${wA(a[c])}}`;return l}function Ir(a,l){let c=`@keyframes ${a} {${l}}`,h=[];return x7(rh(c),vh([eh,mh,Mh((Z)=>h.push(Z))])),h}var DA={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 Gr(a,l){if(a.length===0)return l;return`${a} and ${l}`}function SA(a){return a.substr(0,6)==="@media"}function kA(a){return a.substr(0,6)==="@layer"}var AR=/^(:|\[|>|&)/;function sA(a){return AR.test(a)}function fA(a){return a.substr(0,9)==="@supports"}function BA(a){return a.substring(0,10)==="@container"}function TA(a){return a!=null&&typeof a==="object"&&Array.isArray(a)===!1}var WA={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function zr(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 WA[c.slice(4,8)]||WA[c.slice(3,5)]||"d"}return"d"}function th(a,l){return a?l+a:a}function qr(a){return th(a.container,"c")+th(a.media,"m")+th(a.layer,"l")+th(a.supports,"s")}function Ah(a,l,c){let h=a+qr(c)+l,Z=X2(h),o=Z.charCodeAt(0);if(o>=48&&o<=57)return String.fromCharCode(o+17)+Z.slice(1);return Z}function $8({property:a,selector:l,salt:c,value:h},Z){return P8+X2(c+l+qr(Z)+a+h.trim())}function OA(a){return a===X4}function Hh(a){return a.replace(/>\s+/g,">")}function Vh(...a){if(typeof document!=="undefined")console.error(...a)}function PA(a,l){Vh(/*@__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,r)=>" ".repeat(r===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 UA(a,l){Vh(/*@__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 IA(a){return DA[a]}function GA(a){var l;return(l=a===null||a===void 0?void 0:a[0])!==null&&l!==void 0?l:0}function Kr(a,l,c,h){a[l]=h?[c,h]:c}function zA(a,l){if(l.length>0)return[a,Object.fromEntries(l)];return a}function br(a,l,c,h,Z,o){var r;let e=[];if(o!==0)e.push(["p",o]);if(l==="m"&&Z)e.push(["m",Z]);if((r=a[l])!==null&&r!==void 0||(a[l]=[]),c)a[l].push(zA(c,e));if(h)a[l].push(zA(h,e))}function E2(a,l="",c=[],h={container:"",layer:"",media:"",supports:""},Z={},o={},r){for(let e in a){if(Bt.hasOwnProperty(e)){UA(e,a[e]);continue}let v=a[e];if(v==null)continue;if(OA(v)){let M=Hh(c.join("")),t=Ah(M,e,h);Kr(Z,t,0,void 0);continue}if(typeof v==="string"||typeof v==="number"){let M=Hh(c.join("")),t=IA(e);if(t){let R=t[1],x=Object.fromEntries(R.map((s)=>[s,X4]));E2(x,l,c,h,Z,o)}let m=Ah(M,e,h),A=$8({value:v.toString(),salt:l,selector:M,property:e},h),H=r&&{key:e,value:r}||z8(e,v),V=H.key!==e||H.value!==v,i=V?$8({value:H.value.toString(),property:H.key,salt:l,selector:M},h):void 0,d=V?{rtlClassName:i,rtlProperty:H.key,rtlValue:H.value}:void 0,g=zr(c,h),[u,L]=Pr(Object.assign({className:A,selectors:c,property:e,value:v},d),h);Kr(Z,m,A,i),br(o,g,u,L,h.media,GA(t))}else if(e==="animationName"){let M=Array.isArray(v)?v:[v],t=[],m=[];for(let A of M){let H=Ur(A),V=Ur(Xc(A)),i=P8+X2(H),d,g=Ir(i,H),u=[];if(H===V)d=i;else d=P8+X2(V),u=Ir(d,V);for(let L=0;L<g.length;L++)br(o,"k",g[L],u[L],h.media,0);t.push(i),m.push(d)}E2({animationName:t.join(", ")},l,c,h,Z,o,m.join(", "))}else if(Array.isArray(v)){if(v.length===0){console.warn(`makeStyles(): An empty array was passed as input to "${e}", the property will be omitted in the styles.`);continue}let M=Hh(c.join("")),t=IA(e);if(t){let x=t[1],s=Object.fromEntries(x.map((p)=>[p,X4]));E2(s,l,c,h,Z,o)}let m=Ah(M,e,h),A=$8({value:v.map((x)=>(x!==null&&x!==void 0?x:"").toString()).join(";"),salt:l,selector:M,property:e},h),H=v.map((x)=>z8(e,x));if(!!H.some((x)=>x.key!==H[0].key)){console.error("makeStyles(): mixing CSS fallback values which result in multiple CSS properties in RTL is not supported.");continue}let i=H[0].key!==e||H.some((x,s)=>x.value!==v[s]),d=i?$8({value:H.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:H[0].key,selector:M},h):void 0,g=i?{rtlClassName:d,rtlProperty:H[0].key,rtlValue:H.map((x)=>x.value)}:void 0,u=zr(c,h),[L,R]=Pr(Object.assign({className:A,selectors:c,property:e,value:v},g),h);Kr(Z,m,A,d),br(o,u,L,R,h.media,GA(t))}else if(TA(v))if(sA(e))E2(v,l,c.concat(Ec(e)),h,Z,o);else if(SA(e)){let M=Gr(h.media,e.slice(6).trim());E2(v,l,c,Object.assign({},h,{media:M}),Z,o)}else if(kA(e)){let M=(h.layer?`${h.layer}.`:"")+e.slice(6).trim();E2(v,l,c,Object.assign({},h,{layer:M}),Z,o)}else if(fA(e)){let M=Gr(h.supports,e.slice(9).trim());E2(v,l,c,Object.assign({},h,{supports:M}),Z,o)}else if(BA(e)){let M=e.slice(10).trim();E2(v,l,c,Object.assign({},h,{container:M}),Z,o)}else PA(e,v)}return[Z,o]}function qA(a,l=""){let c={},h={};for(let Z in a){let o=a[Z],[r,e]=E2(o,l);c[Z]=r,Object.keys(e).forEach((v)=>{h[v]=(h[v]||[]).concat(e[v])})}return[c,h]}function $r(a,l=y4){let c=l(),h=null,Z=null,o=null,r=null,e;if(L7)e=Qc();let v;function M(t){let{dir:m,renderer:A}=t;if(h===null){if([h,Z]=qA(a,A.classNameHashSalt),A.classNameHashSalt){if(v!==A.classNameHashSalt)console.error(["@griffel/core:",`
|
|
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(" "));v=A.classNameHashSalt}}let H=m==="ltr";if(H){if(o===null)o=E4(h,m)}else if(r===null)r=E4(h,m);c(A,Z);let V=H?o:r;if(L7)Q5.addSequenceDetails(V,e);return V}return M}function J8(a,l,c=y4){let h=c(),Z=null,o=null,r;if(L7)r=Qc();function e(v){let{dir:M,renderer:t}=v,m=M==="ltr";if(m){if(Z===null)Z=E4(a,M)}else if(o===null)o=E4(a,M);h(t,l);let A=m?Z:o;if(L7)Q5.addSequenceDetails(A,r);return A}return e}function Jr(a,l,c,h=y4){let Z=h();function o(r){let{dir:e,renderer:v}=r,M=e==="ltr"?a:l||a;return Z(v,Array.isArray(c)?{r:c}:c),N7[M]=1,M}return o}function KA(){return typeof window!=="undefined"&&!!(window.document&&window.document.createElement)}F();var Yr=J5?J5:void 0;var Z6=()=>{let a={};return function l(c,h){if(Yr&&KA()){Yr(()=>{c.insertCSSRules(h)},[c,h]);return}if(a[c.id]===void 0)c.insertCSSRules(h),a[c.id]=!0}};F();var HR=/*@__PURE__*/v1(/*@__PURE__*/I8());function A2(){return h1(HR)}F();var bA=/*@__PURE__*/v1("ltr"),Qr=({children:a,dir:l})=>{return/*@__PURE__*/e1(bA.Provider,{value:l},a)};function o6(){return h1(bA)}F();function $A(){try{let a=B8.ReactCurrentDispatcher.current;if(a===null||a===void 0)return!1;return a.useContext({}),!0}catch(a){return!1}}function r6(a){let l=$r(a,Z6);if($A())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=o6(),Z=A2();return l({dir:h,renderer:Z})}}function B(a,l){let c=J8(a,l,Z6);return function h(){let Z=o6(),o=A2();return c({dir:Z,renderer:o})}}function X(a,l,c){let h=Jr(a,l,c,Z6);return function Z(){let o=o6(),r=A2();return h({dir:o,renderer:r})}}function Y8(a,l){if(l){let c=Object.keys(l).reduce((h,Z)=>{return`${h}--${Z}: ${l[Z]}; `},"");return`${a} { ${c} }`}return`${a} {}`}F();var f={};Oc(f,{resolveShorthand:()=>Xr,optional:()=>iR,always:()=>ih});F();var p7=Symbol.for("fui.slotRenderFunction"),e5=Symbol.for("fui.slotElementType"),e6=Symbol.for("fui.slotClassNameProp");function ih(a,l){let{defaultProps:c,elementType:h}=l,Z=Xr(a),o={...c,...Z,[e5]:h,[e6]: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 iR(a,l){if(a===null||a===void 0&&!l.renderByDefault)return;return ih(a,l)}function Xr(a){if(typeof a==="string"||typeof a==="number"||Array.isArray(a)||o5(a))return{children:a};if(a&&typeof a!=="object")console.error(`@fluentui/react-utilities [slot.${Xr.name}]:
|
|
11
|
+
A slot got an invalid value "${a}" (${typeof a}).
|
|
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}F();function nh(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&!o5(a)}function Q3(a){return Boolean(a===null||a===void 0?void 0:a.hasOwnProperty(e5))}F();function q(a){{let l=a;for(let c of Object.keys(l.components)){let h=l[c];if(h===void 0)continue;if(!Q3(h))l[c]=ih(h,{elementType:l.components[c]}),console.warn(`@fluentui/react-utilities [${q.name}]:
|
|
14
|
+
"state.${c}" is not a slot!
|
|
15
|
+
Be sure to create slots properly by using "slot.always" or "slot.optional".`);else{let{[e5]:Z}=h;if(Z!==l.components[c])h[e5]=l.components[c],console.warn(`@fluentui/react-utilities [${q.name}]:
|
|
16
|
+
"state.${c}" element type differs from "state.components.${c}",
|
|
17
|
+
${Z} !== ${l.components[c]}.
|
|
18
|
+
Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`)}}}}F();F();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},nR=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"]),dR=a0(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),gR=a0(["itemID","itemProp","itemRef","itemScope","itemType"]),u0=a0(dR,nR,gR),JA=a0(u0,["form"]),Er=a0(u0,["height","loop","muted","preload","src","width"]),YA=a0(Er,["poster"]),QA=a0(u0,["start"]),XA=a0(u0,["value"]),EA=a0(u0,["download","href","hrefLang","media","rel","target","type"]),yA=a0(u0,["dateTime"]),Q8=a0(u0,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),jA=a0(Q8,["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"]),NA=a0(Q8,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),_A=a0(Q8,["form","multiple","required"]),aH=a0(u0,["selected","value"]),lH=a0(u0,["cellPadding","cellSpacing"]),cH=u0,hH=a0(u0,["colSpan","rowSpan","scope"]),ZH=a0(u0,["colSpan","headers","rowSpan","scope"]),oH=a0(u0,["span"]),rH=a0(u0,["span"]),eH=a0(u0,["disabled","form"]),vH=a0(u0,["acceptCharset","action","encType","encType","method","noValidate","target"]),MH=a0(u0,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),mH=a0(u0,["alt","crossOrigin","height","src","srcSet","useMap","width"]),tH=a0(u0,["open","onCancel","onClose"]);function AH(a,l,c){let h=Array.isArray(l),Z={},o=Object.keys(a);for(let r of o)if((!h&&l[r]||h&&l.indexOf(r)>=0||r.indexOf("data-")===0||r.indexOf("aria-")===0)&&(!c||(c===null||c===void 0?void 0:c.indexOf(r))===-1))Z[r]=a[r];return Z}var uR={label:JA,audio:Er,video:YA,ol:QA,li:XA,a:EA,button:Q8,input:jA,textarea:NA,select:_A,option:aH,table:lH,tr:cH,th:hH,td:ZH,colGroup:oH,col:rH,fieldset:eH,form:vH,iframe:MH,img:mH,time:yA,dialog:tH};function X8(a,l,c){let h=a&&uR[a]||u0;return h.as=1,AH(l,h,c)}var h3=({primarySlotTagName:a,props:l,excludedPropNames:c})=>{return{root:{style:l.style,className:l.className},primary:X8(a,l,[...c||[],"style","className"])}};var _=(a,l,c)=>{var h;return X8((h=l.as)!==null&&h!==void 0?h:a,l,c)};F();function dh(a,l){let c=z(void 0),h=j((o,r)=>{if(c.current!==void 0)l(c.current);return c.current=a(o,r),c.current},[l,a]),Z=j(()=>{if(c.current!==void 0)l(c.current),c.current=void 0},[l]);return M1(()=>Z,[Z]),[h,Z]}F();var v6=v1(void 0),E8=v6.Provider;F();var HH=v1(void 0),LR="",y8=HH.Provider;function j8(){var a;return(a=h1(HH))!==null&&a!==void 0?a:LR}F();var FR=v1(void 0);var N8=FR.Provider;F();var iH=v1(void 0),CR={targetDocument:typeof document==="object"?document:void 0,dir:"ltr"},_8=iH.Provider;function F1(){var a;return(a=h1(iH))!==null&&a!==void 0?a:CR}F();var yr=v1(void 0),gh=yr.Provider;function M6(){var a;return(a=h1(yr))!==null&&a!==void 0?a:{}}F();var X3=v1(void 0),RR=()=>{},aa=X3.Provider,K=(a)=>{var l,c;return(c=(l=h1(X3))===null||l===void 0?void 0:l[a])!==null&&c!==void 0?c:RR};F();var jr=v1(void 0),uh=jr.Provider;function m6(){return h1(jr)}F();var nH=v1(void 0),xR=nH.Provider;function Nr(){return h1(nH)}F();var dH=v1(void 0),_r=dH.Provider;function la(){var a;return(a=h1(dH))!==null&&a!==void 0?a:{announce:()=>{return}}}var pR=(a)=>{return a(0),0},wR=(a)=>a;function Lh(){let{targetDocument:a}=F1(),l=a===null||a===void 0?void 0:a.defaultView,c=l?l.requestAnimationFrame:pR,h=l?l.cancelAnimationFrame:wR;return dh(c,h)}F();function DR(a){return typeof a==="function"}var E5=(a)=>{if(a.state!==void 0&&a.defaultState!==void 0)console.error(`@fluentui/react-utilities [useControllableState]:
|
|
19
|
+
A component must be either controlled or uncontrolled (specify either the state or the defaultState, but not both).
|
|
20
|
+
Decide between using a controlled or uncontrolled component and remove one of this props.
|
|
21
|
+
More info: https://reactjs.org/link/controlled-components
|
|
22
|
+
${new Error().stack}`);let[l,c]=m1(()=>{if(a.defaultState===void 0)return a.initialState;return SR(a.defaultState)?a.defaultState():a.defaultState}),h=z(a.state);M1(()=>{h.current=a.state},[a.state]);let Z=j((o)=>{if(DR(o))o(h.current)},[]);return kR(a.state)?[a.state,Z]:[l,c]};function SR(a){return typeof a==="function"}var kR=(a)=>{let[l]=m1(()=>a!==void 0);return M1(()=>{if(l!==(a!==void 0)){let c=new Error;console.error(`@fluentui/react-utilities [useControllableState]:
|
|
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
|
+
Decide between using a controlled or uncontrolled input element for the lifetime of the component.
|
|
25
|
+
More info: https://reactjs.org/link/controlled-components
|
|
26
|
+
${c.stack}`)}},[l,a]),l};F();F();function Z3(){return typeof window!=="undefined"&&!!(window.document&&window.document.createElement)}F();var ae={current:0},gH=/*@__PURE__*/v1(void 0);function le(){var a;return(a=h1(gH))!==null&&a!==void 0?a:ae}var J1=Z3()?t2:M1;var H1=(a)=>{let l=z(()=>{throw new Error("Cannot call an event handler while rendering")});return J1(()=>{l.current=a},[a]),j((...c)=>{let h=l.current;return h(...c)},[l])};F();function Fh(){let a=z(!0);if(a.current)return a.current=!1,!0;return a.current}F();function t6(){return $5((a)=>a+1,0)[1]}F();var uH=v1(void 0),LH=uH.Provider;function BR(){return h1(uH)||""}function M0(a="fui-",l){let c=le(),h=BR(),Z=K3;if(Z){let o=Z(),r=u1(()=>o.replace(/:/g,""),[o]);return l||`${h}${a}${r}`}return u1(()=>{if(l)return l;return`${h}${a}${++c.current}`},[h,a,l,c])}F();function Y1(...a){let l=j((c)=>{l.current=c;for(let h of a)if(typeof h==="function")h(c);else if(h)h.current=c},[...a]);return l}F();var FH=(a,l)=>!!(a===null||a===void 0?void 0:a.contains(l)),Ch=(a)=>{let{targetDocument:l}=F1(),c=l===null||l===void 0?void 0:l.defaultView,{refs:h,callback:Z,element:o,disabled:r,disabledFocusOnIframe:e,contains:v=FH}=a,M=z(void 0);WR({element:o,disabled:e||r,callback:Z,refs:h,contains:v});let t=z(!1),m=H1((H)=>{if(t.current){t.current=!1;return}let V=H.composedPath()[0];if(h.every((d)=>!v(d.current||null,V))&&!r)Z(H)}),A=H1((H)=>{t.current=h.some((V)=>v(V.current||null,H.target))});M1(()=>{if(r)return;let H=TR(c),V=(i)=>{if(i===H){H=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",A,!0),M.current=c===null||c===void 0?void 0:c.setTimeout(()=>{H=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",A,!0),c===null||c===void 0||c.clearTimeout(M.current),H=void 0}},[m,o,r,A,c])},TR=(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},ce="fuiframefocus",WR=(a)=>{let{disabled:l,element:c,callback:h,contains:Z=FH,pollDuration:o=1000,refs:r}=a,e=z(),v=H1((M)=>{if(r.every((m)=>!Z(m.current||null,M.target))&&!l)h(M)});M1(()=>{if(l)return;return c===null||c===void 0||c.addEventListener(ce,v,!0),()=>{c===null||c===void 0||c.removeEventListener(ce,v,!0)}},[c,l,v]),M1(()=>{var M;if(l)return;return e.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(ce,{bubbles:!0});t.dispatchEvent(m)}},o),()=>{var t;c===null||c===void 0||(t=c.defaultView)===null||t===void 0||t.clearTimeout(e.current)}},[c,l,o])};F();var Rh=(a)=>{let{refs:l,callback:c,element:h,disabled:Z,contains:o}=a,r=H1((e)=>{let v=o||((m,A)=>!!(m===null||m===void 0?void 0:m.contains(A))),M=e.composedPath()[0];if(l.every((m)=>!v(m.current||null,M))&&!Z)c(e)});M1(()=>{if(Z)return;return h===null||h===void 0||h.addEventListener("wheel",r),h===null||h===void 0||h.addEventListener("touchmove",r),()=>{h===null||h===void 0||h.removeEventListener("wheel",r),h===null||h===void 0||h.removeEventListener("touchmove",r)}},[r,h,Z])};F();var xh=(a)=>{let l=z(null);return M1(()=>{l.current=a},[a]),l.current};var OR=(a)=>-1,PR=(a)=>{return};function y2(){let{targetDocument:a}=F1(),l=a===null||a===void 0?void 0:a.defaultView,c=l?l.setTimeout:OR,h=l?l.clearTimeout:PR;return dh(c,h)}function y5(a,l){return(...c)=>{a===null||a===void 0||a(...c),l===null||l===void 0||l(...c)}}function z1(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 A6(a){let l=[],c=0,h=(A,H)=>{let V=l[A];l[A]=l[H],l[H]=V},Z=(A)=>{let H=A,V=IR(A),i=GR(A);if(V<c&&a(l[V],l[H])<0)H=V;if(i<c&&a(l[i],l[H])<0)H=i;if(H!==A)h(H,A),Z(H)};return{all:()=>{return l.slice(0,c)},clear:()=>{c=0},contains:(A)=>{let H=l.indexOf(A);return H>=0&&H<c},dequeue:()=>{if(c===0)throw new Error("Priority queue empty");let A=l[0];return l[0]=l[--c],Z(0),A},enqueue:(A)=>{l[c++]=A;let H=c-1,V=CH(H);while(H>0&&a(l[V],l[H])>0)h(V,H),H=V,V=CH(H)},peek:()=>{if(c===0)return null;return l[0]},remove:(A)=>{let H=l.indexOf(A);if(H===-1||H>=c)return;l[H]=l[--c],Z(H)},size:()=>c}}var IR=(a)=>{return 2*a+1},GR=(a)=>{return 2*a+2},CH=(a)=>{return Math.floor((a-1)/2)};F();F();function ca(a){return Boolean(a.type.isFluentTriggerComponent)}function H6(a,l){if(typeof a==="function")return a(l);else if(a)return RH(a,l);return a||null}function RH(a,l){if(!o5(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(ca(a)){let c=RH(a.props.children,l);return j7(a,void 0,c)}else return j7(a,l)}F();function E3(a){if(!o5(a))return null;return ca(a)?E3(a.props.children):a}function xH(a){return a&&!!a._virtual}function zR(a){return xH(a)?a._virtual.parent||null:null}function V6(a,l={}){if(!a)return null;if(!l.skipVirtual){let h=zR(a);if(h)return h}let c=a.parentNode;if(c&&c.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return c.host;return c}function ha(a,l){if(!a||!l)return!1;if(a===l)return!0;else{let c=/*@__PURE__*/new WeakSet;while(l){let h=V6(l,{skipVirtual:c.has(l)});if(c.add(l),h===a)return!0;l=h}}return!1}function Za(a,l){if(!a)return;let c=a;if(!c._virtual)c._virtual={};c._virtual.parent=l}F();F();function pH(a,l){return{...l,[e5]:a}}F();var DH=b4(wH(),1);function SH(a){if(typeof a==="object"&&!DH.isValidElementType(a))console.error(`@fluentui/react-jsx-runtime:
|
|
27
|
+
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${a}.
|
|
28
|
+
|
|
29
|
+
If this happened in a slot of Fluent UI component, you might be facing package resolution issues.
|
|
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 he(a,l){return function c(h,Z,o,r,e){if(Q3(Z))return l(pH(h,Z),null,o,r,e);if(Q3(h))return l(h,Z,o,r,e);return SH(h),a(h,Z,o,r,e)}}F();function ph(a){let{as:l,[e6]:c,[e5]:h,[p7]:Z,...o}=a,r=o,e=typeof h==="string"?l!==null&&l!==void 0?l:h:h;if(typeof e!=="string"&&l)r.as=l;return{elementType:e,props:r,renderFunction:Z}}var Ze={};Oc(Ze,{jsxs:()=>n,jsxTemplate:()=>YR,jsxEscape:()=>fH,jsxDEV:()=>n,jsxAttr:()=>XR,jsx:()=>n,Fragment:()=>V1});z3();z3();var KR=/["&<]/;function sH(a){if(a.length===0||KR.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 bR=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,$R=0,JR=Array.isArray;function n(a,l,c,h,Z,o){l||(l={});var r,e,v=l;if("ref"in v)for(e in v={},l)e=="ref"?r=l[e]:v[e]=l[e];var M={type:a,props:v,key:c,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--$R,__i:-1,__u:0,__source:Z,__self:o};if(typeof a=="function"&&(r=a.defaultProps))for(e in r)v[e]===void 0&&(v[e]=r[e]);return g1.vnode&&g1.vnode(M),M}function YR(a){var l=n(V1,{tpl:a,exprs:[].slice.call(arguments,1)});return l.key=l.__v,l}var kH={},QR=/[A-Z]/g;function XR(a,l){if(g1.attr){var c=g1.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 r=Z[0]=="-"?Z:kH[Z]||(kH[Z]=Z.replace(QR,"-$&").toLowerCase()),e=";";typeof o!="number"||r.startsWith("--")||bR.test(r)||(e="px;"),h=h+r+":"+o+e}}return a+'="'+h+'"'}return l==null||l===!1||typeof l=="function"||typeof l=="object"?"":l===!0?a:a+'="'+sH(l)+'"'}function fH(a){if(a==null||typeof a=="boolean"||typeof a=="function")return null;if(typeof a=="object"){if(a.constructor===void 0)return a;if(JR(a)){for(var l=0;l<a.length;l++)a[l]=fH(a[l]);return a}}return sH(""+a)}var j2=Ze;var BH=(a,l,c)=>{let{elementType:h,renderFunction:Z,props:o}=ph(a),r={...o,...l};if(Z)return j2.jsx(V1,{children:Z(h,r)},c);return j2.jsx(h,r,c)};F();var TH=(a,l,c)=>{let{elementType:h,renderFunction:Z,props:o}=ph(a),r={...o,...l};if(Z)return j2.jsx(V1,{children:Z(h,{...r,children:j2.jsxs(V1,{children:r.children},void 0)})},c);return j2.jsxs(h,r,c)};F();var D=he(j2.jsx,BH),x1=he(j2.jsxs,TH);F();var oe=v1(void 0),ER={},re=oe.Provider,ee=()=>h1(oe)?h1(oe):ER;var oa=(a,l)=>{return q(a),/*@__PURE__*/D(_8,{value:l.provider,children:/*@__PURE__*/D(E8,{value:l.theme,children:/*@__PURE__*/D(y8,{value:l.themeClassName,children:/*@__PURE__*/D(aa,{value:l.customStyleHooks_unstable,children:/*@__PURE__*/D(N8,{value:l.tooltip,children:/*@__PURE__*/D(Qr,{dir:l.textDirection,children:/*@__PURE__*/D(re,{value:l.iconDirection,children:/*@__PURE__*/D(gh,{value:l.overrides_unstable,children:/*@__PURE__*/x1(a.root,{children:[Z3()?null:/*@__PURE__*/D("style",{dangerouslySetInnerHTML:{__html:a.serverStyleProps.cssRule},...a.serverStyleProps.attributes}),a.root.children]})})})})})})})})})};var yR=typeof WeakRef!=="undefined",WH=class{constructor(a){if(yR&&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}},L5="keyborg:focusin",i6="keyborg:focusout";function jR(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 ve=!1;function H2(a){let l=a.focus;if(l.__keyborgNativeFocus)l.__keyborgNativeFocus.call(a);else a.focus()}function NR(a){let l=a;if(!ve)ve=jR(l);let c=l.HTMLElement.prototype.focus;if(c.__keyborgNativeFocus)return;l.HTMLElement.prototype.focus=v;let h=/*@__PURE__*/new Set,Z=(t)=>{let m=t.target;if(!m)return;let A=new CustomEvent(i6,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:t}});m.dispatchEvent(A)},o=(t)=>{let m=t.target;if(!m)return;let A=t.composedPath()[0],H=/*@__PURE__*/new Set;while(A)if(A.nodeType===Node.DOCUMENT_FRAGMENT_NODE)H.add(A),A=A.host;else A=A.parentNode;for(let V of h){let i=V.deref();if(!i||!H.has(i)){if(h.delete(V),i)i.removeEventListener("focusin",o,!0),i.removeEventListener("focusout",Z,!0)}}r(m,t.relatedTarget||void 0)},r=(t,m,A)=>{var H;let V=t.shadowRoot;if(V){for(let g of h)if(g.deref()===V)return;V.addEventListener("focusin",o,!0),V.addEventListener("focusout",Z,!0),h.add(new WH(V));return}let i={relatedTarget:m,originalEvent:A},d=new CustomEvent(L5,{cancelable:!0,bubbles:!0,composed:!0,detail:i});if(d.details=i,ve||e.lastFocusedProgrammatically)i.isFocusedProgrammatically=t===((H=e.lastFocusedProgrammatically)==null?void 0:H.deref()),e.lastFocusedProgrammatically=void 0;t.dispatchEvent(d)},e=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 v(){let t=l.__keyborgData;if(t)t.lastFocusedProgrammatically=new WH(this);return c.apply(this,arguments)}let M=l.document.activeElement;while(M&&M.shadowRoot)r(M),M=M.shadowRoot.activeElement;v.__keyborgNativeFocus=c}function _R(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 r=o.deref();if(r)r.removeEventListener("focusin",Z.focusInHandler,!0),r.removeEventListener("focusout",Z.focusOutHandler,!0)}Z.shadowTargets.clear(),delete l.__keyborgData}if(h)c.focus=h}var ax=500,OH=0,lx=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"+ ++OH,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(L5,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),NR(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;_R(a);let l=a.document;l.removeEventListener(L5,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))Me.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},ax)}}},Me=class a{constructor(l,c){this._cb=[],this._id="k"+ ++OH,this._win=l;let h=l.__keyborg;if(h)this._core=h.core,h.refs[this._id]=this;else this._core=new lx(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 n6(a,l){return Me.create(a,l)}function d6(a){Me.dispose(a)}/*!
|
|
32
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
33
|
+
* Licensed under the MIT License.
|
|
34
|
+
*//*!
|
|
35
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
36
|
+
* Licensed under the MIT License.
|
|
37
|
+
*/var N2="data-tabster",XH="data-tabster-dummy",EH=/*@__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 o3={Invisible:0,PartiallyVisible:1,Visible:2},S7={Source:0,Target:1},j5={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},L0={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},ea={Unlimited:0,Limited:1,LimitedTrapFocus:2},PH={Enter:1,Escape:2},cx={Auto:0,Inside:1,Outside:2};/*!
|
|
38
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
39
|
+
* Licensed under the MIT License.
|
|
40
|
+
*/function Y0(a,l){var c;return(c=a.storageEntry(l))===null||c===void 0?void 0:c.tabster}function yH(a,l,c){var h,Z;let o=c||a._noop?void 0:l.getAttribute(N2),r=a.storageEntry(l),e;if(o)if(o!==((h=r===null||r===void 0?void 0:r.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}'.`);e={string:o,object:m}}catch(m){console.error(`data-tabster attribute error: ${m}`,l)}else return;else if(!r)return;if(!r)r=a.storageEntry(l,!0);if(!r.tabster)r.tabster={};let v=r.tabster||{},M=((Z=r.attr)===null||Z===void 0?void 0:Z.object)||{},t=(e===null||e===void 0?void 0:e.object)||{};for(let m of Object.keys(M))if(!t[m]){if(m==="root"){let A=v[m];if(A)a.root.onRoot(A,!0)}switch(m){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":let A=v[m];if(A)A.dispose(),delete v[m];break;case"observed":if(delete v[m],a.observedElement)a.observedElement.onObservedElementUpdate(l);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete v[m];break}}for(let m of Object.keys(t)){let A=t.sys;switch(m){case"deloser":if(v.deloser)v.deloser.setProps(t.deloser);else if(a.deloser)v.deloser=a.deloser.createDeloser(l,t.deloser);else console.error("Deloser API used before initialization, please call `getDeloser()`");break;case"root":if(v.root)v.root.setProps(t.root);else v.root=a.root.createRoot(l,t.root,A);a.root.onRoot(v.root);break;case"modalizer":if(v.modalizer)v.modalizer.setProps(t.modalizer);else if(a.modalizer)v.modalizer=a.modalizer.createModalizer(l,t.modalizer,A);else console.error("Modalizer API used before initialization, please call `getModalizer()`");break;case"restorer":if(v.restorer)v.restorer.setProps(t.restorer);else if(a.restorer){if(t.restorer)v.restorer=a.restorer.createRestorer(l,t.restorer)}else console.error("Restorer API used before initialization, please call `getRestorer()`");break;case"focusable":v.focusable=t.focusable;break;case"groupper":if(v.groupper)v.groupper.setProps(t.groupper);else if(a.groupper)v.groupper=a.groupper.createGroupper(l,t.groupper,A);else console.error("Groupper API used before initialization, please call `getGroupper()`");break;case"mover":if(v.mover)v.mover.setProps(t.mover);else if(a.mover)v.mover=a.mover.createMover(l,t.mover,A);else console.error("Mover API used before initialization, please call `getMover()`");break;case"observed":if(a.observedElement)v.observed=t.observed,a.observedElement.onObservedElementUpdate(l);else console.error("ObservedElement API used before initialization, please call `getObservedElement()`");break;case"uncontrolled":v.uncontrolled=t.uncontrolled;break;case"outline":if(a.outline)v.outline=t.outline;else console.error("Outline API used before initialization, please call `getOutline()`");break;case"sys":v.sys=t.sys;break;default:console.error(`Unknown key '${m}' in data-tabster attribute value.`)}}if(e)r.attr=e;else{if(Object.keys(v).length===0)delete r.tabster,delete r.attr;a.storageEntry(l,!1)}}/*!
|
|
41
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
42
|
+
* Licensed under the MIT License.
|
|
43
|
+
*/var hx="tabster:focusin",Zx="tabster:focusout",ox="tabster:movefocus";var rx="tabster:modalizer:active",ex="tabster:modalizer:inactive";var vx="tabster:mover:state",UH="tabster:mover:movefocus",IH="tabster:mover:memorized-element",GH="tabster:groupper:movefocus",ie="tabster:restorer:restore-focus",Mx="tabster:root:focus",mx="tabster:root:blur",tx=typeof CustomEvent!=="undefined"?CustomEvent:function(){};class _2 extends tx{constructor(a,l){super(a,{bubbles:!0,cancelable:!0,composed:!0,detail:l});this.details=l}}class jH extends _2{constructor(a){super(hx,a)}}class NH extends _2{constructor(a){super(Zx,a)}}class D7 extends _2{constructor(a){super(ox,a)}}class ne extends _2{constructor(a){super(vx,a)}}class _H extends _2{constructor(a){super(rx,a)}}class aV extends _2{constructor(a){super(ex,a)}}class de extends _2{constructor(){super(ie)}}class lV extends _2{constructor(a){super(Mx,a)}}class cV extends _2{constructor(a){super(mx,a)}}/*!
|
|
44
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
45
|
+
* Licensed under the MIT License.
|
|
46
|
+
*/var Ax=(a)=>new MutationObserver(a),Hx=(a,l,c,h)=>a.createTreeWalker(l,c,h),Vx=(a)=>a?a.parentNode:null,ix=(a)=>a?a.parentElement:null,nx=(a,l)=>!!(l&&(a===null||a===void 0?void 0:a.contains(l))),dx=(a)=>a.activeElement,gx=(a,l)=>a.querySelector(l),ux=(a,l)=>Array.prototype.slice.call(a.querySelectorAll(l),0),Lx=(a,l)=>a.getElementById(l),Fx=(a)=>(a===null||a===void 0?void 0:a.firstChild)||null,Cx=(a)=>(a===null||a===void 0?void 0:a.lastChild)||null,Rx=(a)=>(a===null||a===void 0?void 0:a.nextSibling)||null,xx=(a)=>(a===null||a===void 0?void 0:a.previousSibling)||null,px=(a)=>(a===null||a===void 0?void 0:a.firstElementChild)||null,wx=(a)=>(a===null||a===void 0?void 0:a.lastElementChild)||null,Dx=(a)=>(a===null||a===void 0?void 0:a.nextElementSibling)||null,Sx=(a)=>(a===null||a===void 0?void 0:a.previousElementSibling)||null,kx=(a,l)=>a.appendChild(l),sx=(a,l,c)=>a.insertBefore(l,c),fx=(a)=>{var l;return((l=a.ownerDocument)===null||l===void 0?void 0:l.getSelection())||null},Bx=(a,l)=>a.ownerDocument.getElementsByName(l),O={createMutationObserver:Ax,createTreeWalker:Hx,getParentNode:Vx,getParentElement:ix,nodeContains:nx,getActiveElement:dx,querySelector:gx,querySelectorAll:ux,getElementById:Lx,getFirstChild:Fx,getLastChild:Cx,getNextSibling:Rx,getPreviousSibling:xx,getFirstElementChild:px,getLastElementChild:wx,getNextElementSibling:Dx,getPreviousElementSibling:Sx,appendChild:kx,insertBefore:sx,getSelection:fx,getElementsByName:Bx};function Tx(a){for(let l of Object.keys(a))O[l]=a[l]}/*!
|
|
47
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
48
|
+
* Licensed under the MIT License.
|
|
49
|
+
*/var ge,zH=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)}},Wx=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),ge=!1}catch(a){ge=!0}var me=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 Ox(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 Px(a){let l=a.__tabsterInstanceContext;return new((l===null||l===void 0?void 0:l.basics.WeakMap)||WeakMap)}function Ux(a){return!!a.querySelector(EH)}class Fe{constructor(a){this._target=a}deref(){return this._target}static cleanup(a,l){if(!a._target)return!0;if(l||!Re(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 Fe(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)=>!Fe.cleanup(h,l))}function ZV(a){let l=k7(a);if(!l.fakeWeakRefsStarted)l.fakeWeakRefsStarted=!0,l.WeakRef=bx(l);if(!l.fakeWeakRefsTimer)l.fakeWeakRefsTimer=a().setTimeout(()=>{l.fakeWeakRefsTimer=void 0,hV(a),ZV(a)},120000)}function Ix(a){let l=k7(a);if(l.fakeWeakRefsStarted=!1,l.fakeWeakRefsTimer)a().clearTimeout(l.fakeWeakRefsTimer),l.fakeWeakRefsTimer=void 0,l.fakeWeakRefs=[]}function Ce(a,l,c){if(l.nodeType!==Node.ELEMENT_NODE)return;let h=ge?c:{acceptNode:c};return O.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 zH;let r=0,e=0,v=o.clientWidth,M=o.clientHeight;if(l!==o){let m=l.getBoundingClientRect();r=Math.max(r,m.left),e=Math.max(e,m.top),v=Math.min(v,m.right),M=Math.min(M,m.bottom)}let t=new zH(r<v?r:-1,e<M?e:-1,r<v?v-r:0,e<M?M-e: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 qH(a,l,c){let h=rV(l);if(!h)return!1;let Z=oV(a,h),o=l.getBoundingClientRect(),r=o.height*(1-c),e=Math.max(0,Z.top-o.top),v=Math.max(0,o.bottom-Z.bottom),M=e+v;return M===0||M<=r}function Gx(a,l,c){let h=rV(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 rV(a){let l=a.ownerDocument;if(l){for(let c=O.getParentElement(a);c;c=O.getParentElement(c))if(c.scrollWidth>c.clientWidth||c.scrollHeight>c.clientHeight)return c;return l.documentElement}return null}function zx(a){a.__shouldIgnoreFocus=!0}function eV(a){return!!a.__shouldIgnoreFocus}function qx(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((++Wx).toString(36)),c.push("|"),c.push(Date.now().toString(36)),c.join("")}function wh(a,l){let c=k7(a),h=l.__tabsterElementUID;if(!h)h=l.__tabsterElementUID=qx(a());if(!c.elementByUId[h]&&Re(l.ownerDocument,l))c.elementByUId[h]=new F5(a,l);return h}function KH(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(!O.nodeContains(l,o))continue}delete c.elementByUId[h]}}function Re(a,l){return O.nodeContains(a===null||a===void 0?void 0:a.body,l)}function vV(a,l){let c=a.matches||a.matchesSelector||a.msMatchesSelector||a.webkitMatchesSelector;return c&&c.call(a,l)}function Kx(a){let l=k7(a);if(l.basics.Promise)return l.basics.Promise;throw new Error("No Promise defined.")}function bx(a){return a.basics.WeakRef}var $x=0;class L6{constructor(a,l,c){let h=a.getWindow;this._tabster=a,this._element=new F5(h,l),this._props={...c},this.id="i"+ ++$x}getElement(){return this._element.get()}getProps(){return this._props}setProps(a){this._props={...a}}}class ra{constructor(a,l,c,h,Z){var o;this._focusIn=(M)=>{if(this._fixedTarget){let m=this._fixedTarget.get();if(m)H2(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 r=a(),e=r.document.createElement("i");e.tabIndex=0,e.setAttribute("role","none"),e.setAttribute(XH,""),e.setAttribute("aria-hidden","true");let v=e.style;if(v.position="fixed",v.width=v.height="1px",v.opacity="0.001",v.zIndex="-1",v.setProperty("content-visibility","hidden"),zx(e),this.input=e,this.isFirst=c.isFirst,this.isOutside=l,this._isPhantom=(o=c.isPhantom)!==null&&o!==void 0?o:!1,this._fixedTarget=Z,e.addEventListener("focusin",this._focusIn),e.addEventListener("focusout",this._focusOut),e.__tabsterDummyContainer=h,this._isPhantom)this._disposeTimer=r.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{if(this._disposeTimer)r.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=O.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 Dh={Root:1,Modalizer:2,Mover:3,Groupper:4};class y3{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 r=new ra(a.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(r){let e,v;if(l.tagName==="BODY")e=l,v=c&&h||!c&&!h?O.getFirstElementChild(l):null;else{if(c&&(!h||h&&!a.focusable.isFocusable(l,!1,!0,!0)))e=l,v=h?l.firstElementChild:null;else e=O.getParentElement(l),v=c&&h||!c&&!h?l:O.getNextElementSibling(l);let M,t;do if(M=c&&h||!c&&!h?O.getPreviousElementSibling(v):v,t=u6(M),t===l)v=c&&h||!c&&!h?M:O.getNextElementSibling(M);else t=null;while(t)}if(e===null||e===void 0?void 0:e.dispatchEvent(new D7({by:"root",owner:e,next:null,relatedEvent:Z})))O.insertBefore(e,r,v),H2(r)}}static addPhantomDummyWithTarget(a,l,c,h){let o=new ra(a.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new F5(a.getWindow,h)).input;if(o){let r,e;if(Ux(l)&&!c)r=l,e=O.getFirstElementChild(l);else r=O.getParentElement(l),e=c?l:O.getNextElementSibling(l);if(r)O.insertBefore(r,o,e)}}}function r3(a,l){var c;let h={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(c=a.input)===null||c===void 0||c.setAttribute(XH,[`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 r=O.getParentNode(Z);if(!r||this._changedParents.has(r))o()}}}this._changedParents=/*@__PURE__*/new WeakSet},me)},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+me<=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()},me)}}class mV{constructor(a,l,c,h,Z,o,r){this._wrappers=[],this._isOutside=!1,this._transformElements=/*@__PURE__*/new Set,this._onFocusIn=(A,H,V)=>{this._onFocus(!0,A,H,V)},this._onFocusOut=(A,H,V)=>{this._onFocus(!1,A,H,V)},this.moveOut=(A)=>{var H;let V=this._firstDummy,i=this._lastDummy;if(V&&i){this._ensurePosition();let d=V.input,g=i.input,u=(H=this._element)===null||H===void 0?void 0:H.get();if(d&&g&&u){let L;if(A)d.tabIndex=0,L=d;else g.tabIndex=0,L=g;if(L)H2(L)}}},this.moveOutWithDefaultAction=(A,H)=>{var V;let i=this._firstDummy,d=this._lastDummy;if(i&&d){this._ensurePosition();let g=i.input,u=d.input,L=(V=this._element)===null||V===void 0?void 0:V.get();if(g&&u&&L){let R;if(A)if(!i.isOutside&&this._tabster.focusable.isFocusable(L,!0,!0,!0))R=L;else i.useDefaultAction=!0,g.tabIndex=0,R=g;else d.useDefaultAction=!0,u.tabIndex=0,R=u;if(R&&L.dispatchEvent(new D7({by:"root",owner:L,next:null,relatedEvent:H})))H2(R)}}},this.setTabbable=(A,H)=>{var V,i;for(let g of this._wrappers)if(g.manager===A){g.tabbable=H;break}let d=this._getCurrent();if(d){let g=d.tabbable?0:-1,u=(V=this._firstDummy)===null||V===void 0?void 0:V.input;if(u)u.tabIndex=g;if(u=(i=this._lastDummy)===null||i===void 0?void 0:i.input,u)u.tabIndex=g}this._firstDummy&&r3(this._firstDummy,this._wrappers),this._lastDummy&&r3(this._lastDummy,this._wrappers)},this._addDummyInputs=()=>{if(this._addTimer)return;this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._firstDummy&&r3(this._firstDummy,this._wrappers),this._lastDummy&&r3(this._lastDummy,this._wrappers),this._addTransformOffsets()},0)},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=(A)=>{var H,V;let i=((H=this._firstDummy)===null||H===void 0?void 0:H.input)||((V=this._lastDummy)===null||V===void 0?void 0:V.input),d=this._transformElements,g=/*@__PURE__*/new Set,u=0,L=0,R=this._getWindow();for(let x=i;x&&x.nodeType===Node.ELEMENT_NODE;x=O.getParentElement(x)){let s=A.get(x);if(s===void 0){let p=R.getComputedStyle(x).transform;if(p&&p!=="none")s={scrollTop:x.scrollTop,scrollLeft:x.scrollLeft};A.set(x,s||null)}if(s){if(g.add(x),!d.has(x))x.addEventListener("scroll",this._addTransformOffsets);u+=s.scrollTop,L+=s.scrollLeft}}for(let x of d)if(!g.has(x))x.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=g,()=>{var x,s;(x=this._firstDummy)===null||x===void 0||x.setTopLeft(u,L),(s=this._lastDummy)===null||s===void 0||s.setTopLeft(u,L)}};let e=l.get();if(!e)throw new Error("No element");this._tabster=a,this._getWindow=a.getWindow,this._callForDefaultAction=r;let v=e.__tabsterDummy;if((v||this)._wrappers.push({manager:c,priority:h,tabbable:!0}),v)return this._firstDummy&&r3(this._firstDummy,v._wrappers),this._lastDummy&&r3(this._lastDummy,v._wrappers),v;e.__tabsterDummy=this;let M=Z===null||Z===void 0?void 0:Z.dummyInputsPosition,t=e.tagName;this._isOutside=!M?(o||t==="UL"||t==="OL"||t==="TABLE")&&!(t==="LI"||t==="TD"||t==="TH"):M===cx.Outside,this._firstDummy=new ra(this._getWindow,this._isOutside,{isFirst:!0},l),this._lastDummy=new ra(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 r=this._wrappers=this._wrappers.filter((e)=>e.manager!==a&&!l);if(this._firstDummy&&r3(this._firstDummy,r),this._lastDummy&&r3(this._lastDummy,r),r.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 e=this._getWindow();if(this._addTimer)e.clearTimeout(this._addTimer),delete this._addTimer;let v=(h=this._firstDummy)===null||h===void 0?void 0:h.input;v&&this._tabster._dummyObserver.remove(v),(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 r=O.getParentNode(h);if(r){let e=O.getNextSibling(h);if(e!==o)O.insertBefore(r,o,e);if(O.getPreviousElementSibling(h)!==Z)O.insertBefore(r,Z,h)}}else{if(O.getLastElementChild(h)!==o)O.appendChild(h,o);let r=O.getFirstElementChild(h);if(r&&r!==Z&&r.parentNode)O.insertBefore(r.parentNode,Z,r)}}}function tV(a){let l=null;for(let c=O.getLastElementChild(a);c;c=O.getLastElementChild(c))l=c;return l||void 0}function Jx(a,l){let c=a,h=null;while(c&&!h)h=l?O.getPreviousElementSibling(c):O.getNextElementSibling(c),c=O.getParentElement(c);return h||void 0}function te(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 r=Z.aug[c];if(delete Z.aug[c],r===null)l.removeAttribute(c);else l.setAttribute(c,r);o=!0}}else{let r;if(!(c in Z.aug))r=l.getAttribute(c);if(r!==void 0&&r!==h){if(Z.aug[c]=r,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 Yx(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 ue(a){return a.tagName==="INPUT"&&!!a.name&&a.type==="radio"}function Qx(a){if(!ue(a))return;let l=a.name,c=Array.from(O.getElementsByName(a,l)),h;return c=c.filter((Z)=>{if(ue(Z)){if(Z.checked)h=Z;return!0}return!1}),{name:l,buttons:new Set(c),checked:h}}function u6(a){var l;return((l=a===null||a===void 0?void 0:a.__tabsterDummyContainer)===null||l===void 0?void 0:l.get())||null}/*!
|
|
50
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
51
|
+
* Licensed under the MIT License.
|
|
52
|
+
*/function va(a,l){let c=JSON.stringify(a);if(l===!0)return c;return{[N2]:c}}function Xx(a,l){for(let c of Object.keys(l)){let h=l[c];if(h)a[c]=h;else delete a[c]}}function Ex(a,l,c){let h;if(c){let Z=a.getAttribute(N2);if(Z)try{h=JSON.parse(Z)}catch(o){console.error(`data-tabster attribute error: ${o}`,a)}}if(!h)h={};if(Xx(h,l),Object.keys(h).length>0)a.setAttribute(N2,va(h,!0));else a.removeAttribute(N2)}/*!
|
|
53
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
54
|
+
* Licensed under the MIT License.
|
|
55
|
+
*/function bH(a,l,c){{let h=a.get();if(h)if(l)h.style.removeProperty("--tabster-root");else h.style.setProperty("--tabster-root",c+",")}}class Le extends y3{constructor(a,l,c,h){super(a,l,Dh.Root,h,void 0,!0);this._onDummyInputFocus=(Z)=>{var o;if(Z.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);let r=this._element.get();if(r){this._setFocused(!0);let e=this._tabster.focusedElement.getFirstOrLastTabbable(Z.isFirst,{container:r,ignoreAccessibility:!0});if(e){H2(e);return}}(o=Z.input)===null||o===void 0||o.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=a,this._setFocused=c}}class AV extends L6{constructor(a,l,c,h,Z){super(a,l,h);this._isFocused=!1,this._setFocused=(v)=>{var M;if(this._setFocusedTimer)this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer;if(this._isFocused===v)return;let t=this._element.get();if(t)if(v)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=(v)=>{let M=this._tabster.getParent,t=this._element.get(),m=v.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=wh(o,l),this._sys=Z,a.controlTab||a.rootDummyInputs)this.addDummyInputs();let e=o().document;e.addEventListener(L5,this._onFocusIn),e.addEventListener(i6,this._onFocusOut),this._add()}addDummyInputs(){if(!this._dummyManager)this._dummyManager=new Le(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(L5,this._onFocusIn),c.removeEventListener(i6,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)Le.moveWithPhantomDummy(this._tabster,h,!0,a,l)}}_add(){bH(this._element,!1,this.uid)}_remove(){bH(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 Ex(Z,{root:o},!0),yH(this._tabster,Z),(c=Y0(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 AV(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,r;if(!l.ownerDocument)return;let{checkRtl:e,referenceElement:v}=c,M=a.getParent;a.drainInitQueue();let t,m,A,H,V=!1,i,d,g,u,L=v||l,R={};while(L&&(!t||e)){let s=Y0(a,L);if(e&&g===void 0){let o1=L.dir;if(o1)g=o1.toLowerCase()==="rtl"}if(!s){L=M(L);continue}let p=L.tagName;if((s.uncontrolled||p==="IFRAME"||p==="WEBVIEW")&&a.focusable.isVisible(L))u=L;if(!H&&((h=s.focusable)===null||h===void 0?void 0:h.excludeFromMover)&&!A)V=!0;let{modalizer:P,groupper:G,mover:Z1}=s;if(!m&&P)m=P;if(!A&&G&&(!m||P))if(m){if(!G.isActive()&&G.getProps().tabbability&&m.userId!==((Z=a.modalizer)===null||Z===void 0?void 0:Z.activeId))m=void 0,A=G;d=G}else A=G;if(!H&&Z1&&(!m||P)&&(!G||L!==l)&&L.contains(l))H=Z1,i=!!A&&A!==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);L=M(L)}if(!t){let s=a.root;if(s._autoRoot){if((r=l.ownerDocument)===null||r===void 0?void 0:r.body)t=s._autoRootCreate()}}if(A&&!H)i=!0;if(!t){if(m||A||H)console.error("Tabster Root is required for Mover, Groupper and Modalizer to work.")}return t?{root:t,modalizer:m,groupper:A,mover:H,groupperBeforeMover:i,modalizerInGroupper:d,rtl:e?!!g:void 0,uncontrolled:u,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=Y0(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
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
57
|
+
* Licensed under the MIT License.
|
|
58
|
+
*//*!
|
|
59
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
60
|
+
* Licensed under the MIT License.
|
|
61
|
+
*/class xe{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
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
63
|
+
* Licensed under the MIT License.
|
|
64
|
+
*//*!
|
|
65
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
66
|
+
* Licensed under the MIT License.
|
|
67
|
+
*/class HV{constructor(a){this._tabster=a}dispose(){}getProps(a){let l=Y0(this._tabster,a);return l&&l.focusable||{}}isFocusable(a,l,c,h){if(vV(a,EH)&&(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(Yx(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=O.getParentElement(c)){let h=Y0(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:r,currentElement:e=null,includeProgrammaticallyFocusable:v,useActiveModalizer:M,ignoreAccessibility:t,modalizerId:m,isBackward:A,onElement:H}=l;if(!c)c={};let V=[],{acceptCondition:i}=l,d=!!i;if(!r)return null;if(!i)i=(R)=>this.isFocusable(R,v,!1,t);let g={container:r,modalizerUserId:m===void 0&&M?(h=this._tabster.modalizer)===null||h===void 0?void 0:h.activeId:m||((o=(Z=q1.getTabsterContext(this._tabster,r))===null||Z===void 0?void 0:Z.modalizer)===null||o===void 0?void 0:o.userId),from:e||r,isBackward:A,isFindAll:a,acceptCondition:i,hasCustomCondition:d,includeProgrammaticallyFocusable:v,ignoreAccessibility:t,cachedGrouppers:{},cachedRadioGroups:{}},u=Ce(r.ownerDocument,r,(R)=>this._acceptElement(R,g));if(!u)return null;let L=(R)=>{var x,s;let p=(x=g.foundElement)!==null&&x!==void 0?x:g.foundBackward;if(p)V.push(p);if(a){if(p){if(g.found=!1,delete g.foundElement,delete g.foundBackward,delete g.fromCtx,g.from=p,H&&!H(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(!e)c.outOfDOMOrder=!0;if(e&&O.nodeContains(r,e))u.currentNode=e;else if(A){let R=tV(r);if(!R)return null;if(this._acceptElement(R,g)===NodeFilter.FILTER_ACCEPT&&!L(!0)){if(g.skippedFocusable)c.outOfDOMOrder=!0;return V}u.currentNode=R}do if(A)u.previousNode();else u.nextNode();while(L());if(g.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||!O.nodeContains(o,a)))return l.found=!0,l.foundElement=o,NodeFilter.FILTER_ACCEPT;let r=l.container;if(a===r)return NodeFilter.FILTER_SKIP;if(!O.nodeContains(r,a))return NodeFilter.FILTER_REJECT;if(u6(a))return NodeFilter.FILTER_REJECT;if(O.nodeContains(l.rejectElementsFrom,a))return NodeFilter.FILTER_REJECT;let e=l.currentCtx=q1.getTabsterContext(this._tabster,a);if(!e)return NodeFilter.FILTER_SKIP;if(eV(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=e.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 v,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=e.groupper,A=e.mover;if(v=(Z=this._tabster.modalizer)===null||Z===void 0?void 0:Z.acceptElement(a,l),v!==void 0)l.skippedFocusable=!0;if(v===void 0&&(m||A||t)){let H=m===null||m===void 0?void 0:m.getElement(),V=t===null||t===void 0?void 0:t.getElement(),i=A===null||A===void 0?void 0:A.getElement();if(i&&O.nodeContains(V,i)&&O.nodeContains(r,V)&&(!H||!A||O.nodeContains(V,H)))A=t,i=V;if(H){if(H===r||!O.nodeContains(r,H))m=void 0;else if(!O.nodeContains(H,a))return NodeFilter.FILTER_REJECT}if(i){if(!O.nodeContains(r,i))A=void 0;else if(!O.nodeContains(i,a))return NodeFilter.FILTER_REJECT}if(m&&A)if(i&&H&&!O.nodeContains(H,i))A=void 0;else m=void 0;if(m)v=m.acceptElement(a,l);if(A)v=A.acceptElement(a,l)}if(v===void 0){if(v=l.acceptCondition(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,v===NodeFilter.FILTER_SKIP&&this.isFocusable(a,!1,!0,!0))l.skippedFocusable=!0}if(v===NodeFilter.FILTER_ACCEPT&&!l.found){if(!l.isFindAll&&ue(a)&&!a.checked){let H=a.name,V=l.cachedRadioGroups[H];if(!V){if(V=Qx(a),V)l.cachedRadioGroups[H]=V}if((V===null||V===void 0?void 0:V.checked)&&V.checked!==a)return NodeFilter.FILTER_SKIP}if(l.isBackward)l.foundBackward=a,v=NodeFilter.FILTER_SKIP;else l.found=!0,l.foundElement=a}return v}}/*!
|
|
68
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
69
|
+
* Licensed under the MIT License.
|
|
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
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
72
|
+
* Licensed under the MIT License.
|
|
73
|
+
*/function yx(a,l){var c;let h=a.getParent,Z=l;do{let o=(c=Y0(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 $H={[w7.Restorer]:0,[w7.Deloser]:1,[w7.EscapeGroupper]:2};class n0 extends xe{constructor(a,l){super();this._init=()=>{let c=this._win(),h=c.document;h.addEventListener(L5,this._onFocusIn,!0),h.addEventListener(i6,this._onFocusOut,!0),c.addEventListener("keydown",this._onKeyDown,!0);let Z=O.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,r=q1.getTabsterContext(Z,h);if(!r||r.ignoreKeydown(c))return;let e=c.shiftKey,v=n0.findNextTabbable(Z,r,void 0,h,void 0,e,!0),M=r.root.getElement();if(!M)return;let t=v===null||v===void 0?void 0:v.element,m=yx(Z,h);if(t){let A=v.uncontrolled;if(r.uncontrolled||O.nodeContains(A,h)){if(!v.outOfDOMOrder&&A===r.uncontrolled||m&&!O.nodeContains(m,t))return;y3.addPhantomDummyWithTarget(Z,h,e,t);return}if(A&&Z.focusable.isVisible(A)||t.tagName==="IFRAME"&&Z.focusable.isVisible(t)){if(M.dispatchEvent(new D7({by:"root",owner:M,next:t,relatedEvent:c})))y3.moveWithPhantomDummy(Z,A!==null&&A!==void 0?A:t,!1,e,c);return}if(o||(v===null||v===void 0?void 0:v.outOfDOMOrder)){if(M.dispatchEvent(new D7({by:"root",owner:M,next:t,relatedEvent:c})))c.preventDefault(),c.stopImmediatePropagation(),H2(t)}}else if(!m&&M.dispatchEvent(new D7({by:"root",owner:M,next:null,relatedEvent:c})))r.root.moveOutWithDefaultAction(e,c)},this._onChanged=(c,h)=>{var Z,o;if(c)c.dispatchEvent(new jH(h));else{let r=(Z=this._lastVal)===null||Z===void 0?void 0:Z.get();if(r){let e={...h},v=q1.getTabsterContext(this._tabster,r),M=(o=v===null||v===void 0?void 0:v.modalizer)===null||o===void 0?void 0:o.userId;if(M)e.modalizerId=M;r.dispatchEvent(new NH(e))}}},this._tabster=a,this._win=l,a.queueInit(this._init)}dispose(){super.dispose();let a=this._win(),l=a.document;l.removeEventListener(L5,this._onFocusIn,!0),l.removeEventListener(i6,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&&O.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&&O.nodeContains(l,o))delete a._nextVal;if(Z=a._lastVal,o=Z&&Z.get(),o&&O.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&&!Re(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 r=q1.getTabsterContext(this._tabster,h);if(r)o=(c=n0.findNextTabbable(this._tabster,r,h,void 0,void 0,!a,Z))===null||c===void 0?void 0:c.element}if(o&&!O.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($H[a]>$H[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 e=(h=n0._lastResetElement)===null||h===void 0?void 0:h.get();if(n0._lastResetElement=void 0,e===a||eV(a))return;o.isFocusedProgrammatically=c;let v=q1.getTabsterContext(this._tabster,a),M=(Z=v===null||v===void 0?void 0:v.modalizer)===null||Z===void 0?void 0:Z.userId;if(M)o.modalizerId=M}let r=this._nextVal={element:a?new F5(this._win,a):void 0,detail:o};if(a&&a!==this._val)this._validateFocusedElement(a);if(this._nextVal===r)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,r){let e=c||l.root.getElement();if(!e)return null;let v=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:A,mover:H}=l,V=(i)=>{if(v=i.findNextTabbable(h,Z,o,r),h&&!(v===null||v===void 0?void 0:v.element)){let d=i!==m&&O.getParentElement(i.getElement());if(d){let g=q1.getTabsterContext(a,h,{referenceElement:d});if(g){let u=i.getElement(),L=o?u:u&&tV(u)||u;if(L){if(v=n0.findNextTabbable(a,g,c,L,d,o,r),v)v.outOfDOMOrder=!0}}}}};if(A&&H)V(l.groupperBeforeMover?A:H);else if(A)V(A);else if(H)V(H);else if(m)V(m);else{let i={container:e,currentElement:h,referenceElement:Z,ignoreAccessibility:r,useActiveModalizer:!0},d={};v={element:a.focusable[o?"findPrev":"findNext"](i,d),outOfDOMOrder:d.outOfDOMOrder,uncontrolled:d.uncontrolled}}return v}}n0.isTabbing=!1;/*!
|
|
74
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
75
|
+
* Licensed under the MIT License.
|
|
76
|
+
*/class VV extends y3{constructor(a,l,c,h){super(c,a,Dh.Groupper,h,!0);this._setHandlers((Z,o,r)=>{var e,v;let M=a.get(),t=Z.input;if(M&&t){let m=q1.getTabsterContext(c,t);if(m){let A;if(A=(e=l.findNextTabbable(r||void 0,void 0,o,!0))===null||e===void 0?void 0:e.element,!A)A=(v=n0.findNextTabbable(c,m,void 0,Z.isOutside?t:Jx(M,!o),void 0,o,!0))===null||v===void 0?void 0:v.element;if(A)H2(A)}}})}}class iV extends L6{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)JH(this._element,!0);delete this._first}findNextTabbable(a,l,c,h){let Z=this.getElement();if(!Z)return null;let o=u6(a)===Z;if(!this._shouldTabInside&&a&&O.nodeContains(Z,a)&&!o)return{element:void 0,outOfDOMOrder:!0};let r=this.getFirst(!0);if(!a||!O.nodeContains(Z,a)||o)return{element:r,outOfDOMOrder:!0};let e=this._tabster,v=null,M=!1,t;if(this._shouldTabInside&&r){let m={container:Z,currentElement:a,referenceElement:l,ignoreAccessibility:h,useActiveModalizer:!0},A={};if(v=e.focusable[c?"findPrev":"findNext"](m,A),M=!!A.outOfDOMOrder,!v&&this._props.tabbability===ea.LimitedTrapFocus)v=e.focusable[c?"findLast":"findFirst"]({container:Z,ignoreAccessibility:h,useActiveModalizer:!0},A),M=!0;t=A.uncontrolled}return{element:v,uncontrolled:t,outOfDOMOrder:M}}makeTabbable(a){this._shouldTabInside=a||!this._props.tabbability,JH(this._element,!this._shouldTabInside)}isActive(a){var l;let c=this.getElement()||null,h=!0;for(let o=O.getParentElement(c);o;o=O.getParentElement(o)){let r=(l=Y0(this._tabster,o))===null||l===void 0?void 0:l.groupper;if(r){if(!r._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=O.getParentElement(this.getElement()),Z=h&&q1.getTabsterContext(this._tabster,h),o=Z===null||Z===void 0?void 0:Z.groupper,r=(Z===null||Z===void 0?void 0:Z.groupperBeforeMover)?o:void 0,e,v=(m)=>{let A=c[m.id],H;if(A)H=A.isActive;else H=this.isActive(!0),A=c[m.id]={isActive:H};return H};if(r){if(e=r.getElement(),!v(r)&&e&&l.container!==e&&O.nodeContains(l.container,e))return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT}let M=v(this),t=this.getElement();if(t){if(M!==!0){if(t===a&&o){if(!e)e=o.getElement();if(e&&!v(o)&&O.nodeContains(l.container,e)&&e!==l.container)return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT}if(t!==a&&O.nodeContains(t,a))return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT;let m=c[this.id],A;if("first"in m)A=m.first;else A=m.first=this.getFirst(!0);if(A&&l.acceptCondition(A))if(l.rejectElementsFrom=t,l.skippedFocusable=!0,A!==l.from)return l.found=!0,l.foundElement=A,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=O.getActiveElement(h);if(Z)this._onFocus(Z);h.addEventListener("mousedown",this._onMouseDown,!0),c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(GH,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===PH.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(GH,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&&O.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=Y0(c,Z))===null||l===void 0?void 0:l.groupper;if(o){h[o.id]=!0,this._current[o.id]=o;let r=o.isActive()||a!==Z&&(!o.getProps().delegated||o.getFirst(!1)!==a);o.makeTabbable(r)}}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 r=c.focusable.findNext({container:o,currentElement:a,useActiveModalizer:!0});if(r&&(!l||l&&o.dispatchEvent(new D7({by:"groupper",owner:o,next:r,relatedEvent:l})))){if(l)l.preventDefault(),l.stopImmediatePropagation();return r.focus(),r}}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),r=o===null||o===void 0?void 0:o.getElement();if(o&&r&&O.nodeContains(r,a)){let e;if(a!==r||c)e=o.getFirst(!0);else{let v=O.getParentElement(r),M=v?q1.getTabsterContext(h,v):void 0;o=M===null||M===void 0?void 0:M.groupper,e=o===null||o===void 0?void 0:o.getFirst(!0)}if(e&&(!l||l&&r.dispatchEvent(new D7({by:"groupper",owner:r,next:e,relatedEvent:l})))){if(o)o.makeTabbable(!1);return e.focus(),e}}return null}moveFocus(a,l){return l===PH.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 JH(a,l){{let c=a.get();if(c)if(l)c.style.removeProperty("--tabster-groupper");else c.style.setProperty("--tabster-groupper","unlimited")}}/*!
|
|
77
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
78
|
+
* Licensed under the MIT License.
|
|
79
|
+
*/class dV extends xe{constructor(a){super();this._onChange=(l)=>{this.setVal(l,void 0)},this._keyborg=n6(a()),this._keyborg.subscribe(this._onChange)}dispose(){if(super.dispose(),this._keyborg)this._keyborg.unsubscribe(this._onChange),d6(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
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
81
|
+
* Licensed under the MIT License.
|
|
82
|
+
*/var jx=0,Ae="aria-hidden";function He(a,l,c,h,Z,o){{let r=a.get();if(r)if(l)r.style.removeProperty("--tabster-modalizer");else r.style.setProperty("--tabster-modalizer",c+","+h+","+(Z?"active":"inactive")+",,"+(o?`focused(${o})`:"not-focused"))}}class gV extends y3{constructor(a,l,c){super(l,a,Dh.Modalizer,c);this._setHandlers((h,Z)=>{var o,r;let e=a.get(),v=e&&((o=q1.getRoot(l,e))===null||o===void 0?void 0:o.getElement()),M=h.input,t;if(v&&M){let m=u6(M),A=q1.getTabsterContext(l,m||M);if(A)t=(r=n0.findNextTabbable(l,A,v,M,void 0,Z,!0))===null||r===void 0?void 0:r.element;if(t)H2(t)}})}}class uV extends L6{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 gV(this._element,a,Z);He(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)}He(this._element,!1,this.id,this.userId,this._isActive,this._wasFocused),this._dispatchEvent(a)}}focused(a){if(!a)this._wasFocused=++jx;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 O.nodeContains(this.getElement(),a)}findNextTabbable(a,l,c,h){var Z,o;if(!this.getElement())return null;let e=this._tabster,v=null,M=!1,t,m=a&&((Z=q1.getRoot(e,a))===null||Z===void 0?void 0:Z.getElement());if(m){let A={container:m,currentElement:a,referenceElement:l,ignoreAccessibility:h,useActiveModalizer:!0},H={};if(v=e.focusable[c?"findPrev":"findNext"](A,H),!v&&this._props.isTrapped&&((o=e.modalizer)===null||o===void 0?void 0:o.activeId)){if(v=e.focusable[c?"findLast":"findFirst"]({container:m,ignoreAccessibility:h,useActiveModalizer:!0},H),v===null)v=a;M=!0}else M=!!H.outOfDOMOrder;t=H.uncontrolled}return{element:v,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 r={id:this.userId,element:c},e=a?new _H(r):new aV(r);if(o.dispatchEvent(e),e.defaultPrevented)h=!0}}return h}_remove(){He(this._element,!0)}}class LV{constructor(a,l,c){if(this._onModalizerDispose=(Z)=>{let{id:o,userId:r}=Z,e=this._parts[r];if(delete this._modalizers[o],e){if(delete e[o],Object.keys(e).length===0){delete this._parts[r];let v=this._activationHistory,M=[],t;for(let m=v.length;m--;){let A=v[m];if(A===r)continue;if(A!==t){if(t=A,A||M.length>0)M.unshift(A)}}if(this._activationHistory=M,this.activeId===r){let m=M[0],A=m?Object.values(this._parts[m])[0]:void 0;this.setActive(A)}}}},this._onKeyDown=(Z)=>{var o;if(Z.key!==i0.Escape)return;let r=this._tabster,e=r.focusedElement.getFocusedElement();if(e){let v=q1.getTabsterContext(r,e),M=v===null||v===void 0?void 0:v.modalizer;if(v&&!v.groupper&&(M===null||M===void 0?void 0:M.isActive())&&!v.ignoreKeydown(Z)){let t=M.userId;if(t){let m=this._parts[t];if(m){let A=Object.keys(m).map((H)=>{var V;let i=m[H],d=i.getElement(),g;if(d)g=(V=Y0(r,d))===null||V===void 0?void 0:V.groupper;return i&&d&&g?{el:d,focusedSince:i.focused(!0)}:{focusedSince:0}}).filter((H)=>H.focusedSince>0).sort((H,V)=>H.focusedSince>V.focusedSince?-1:H.focusedSince<V.focusedSince?1:0);if(A.length){let H=A[0].el;if(H)(o=r.groupper)===null||o===void 0||o.handleKeyPress(H,Z,!0)}}}}}},this._onFocus=(Z,o)=>{var r;let e=this._tabster,v=Z&&q1.getTabsterContext(e,Z);if(!v||!Z)return;let M=this._augMap;for(let H=Z;H;H=e.getParent(H))if(M.has(H))M.delete(H),te(e,H,Ae);let t=v.modalizer,m=Y0(e,Z),A=m===null||m===void 0?void 0:m.modalizer;if(A){if(A.focused(),A.userId===this.activeId&&m.groupper){let H=e.getParent(Z),V=H&&((r=q1.getTabsterContext(e,H))===null||r===void 0?void 0:r.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 H=this._win();H.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=H.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 uV(this._tabster,a,this._onModalizerDispose,l,c,this.activeElements),o=Z.id,r=l.id;this._modalizers[o]=Z;let e=this._parts[r];if(!e)e=this._parts[r]={};e[o]=Z;let v=(h=this._tabster.focusedElement.getFocusedElement())!==null&&h!==void 0?h:null;if(a!==v&&O.nodeContains(a,v))if(r!==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 r=o.getProps(),e=o.getElement();if(e){if(l===void 0)l=r.isNoFocusFirst;if(!l&&h.keyboardNavigation.isNavigatingWithKeyboard()&&h.focusedElement.focusFirst({container:e}))return!0;if(c===void 0)c=r.isNoFocusDefault;if(!c&&h.focusedElement.focusDefault(e))return!0;h.focusedElement.resetFocus(e)}}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 r of this.activeElements){let e=r.get();if(e&&(O.nodeContains(a,e)||e===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=[],r=[],e=this._alwaysAccessibleSelector,v=e?Array.from(O.querySelectorAll(c,e)):[],M=[];for(let d of Object.keys(Z)){let g=Z[d];for(let u of Object.keys(g)){let L=g[u],R=L.getElement(),s=L.getProps().isAlwaysAccessible;if(R)if(d===h){if(M.push(R),!this.currentIsOthersAccessible)o.push(R)}else if(s)v.push(R);else r.push(R)}}let t=this._augMap,m=o.length>0?[...o,...v]:void 0,A=[],H=/*@__PURE__*/new WeakMap,V=(d,g)=>{var u;let L=d.tagName;if(L==="SCRIPT"||L==="STYLE")return;let R=!1;if(t.has(d))if(g)R=!0;else t.delete(d),te(l,d,Ae);else if(g&&!((u=this._accessibleCheck)===null||u===void 0?void 0:u.call(this,d,M))&&te(l,d,Ae,"true"))t.set(d,!0),R=!0;if(R)A.push(new F5(l.getWindow,d)),H.set(d,!0)},i=(d)=>{var g;for(let u=O.getFirstElementChild(d);u;u=O.getNextElementSibling(u)){let L=!1,R=!1,x=!1;if(m){let s=l.getParent(u);for(let p of m){if(u===p){L=!0;break}if(O.nodeContains(u,p)){R=!0;break}else if(O.nodeContains(p,s))x=!0}if(R||((g=u.__tabsterElementFlags)===null||g===void 0?void 0:g.noDirectAriaHidden))i(u);else if(!L&&!x)V(u,!0)}else V(u,!1)}};if(!m)v.forEach((d)=>V(d,!1));if(r.forEach((d)=>V(d,!0)),c)i(c);(a=this._aug)===null||a===void 0||a.map((d)=>d.get()).forEach((d)=>{if(d&&!H.get(d))V(d,!1)}),this._aug=A,this._augMap=H}_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,r=q1.getTabsterContext(o,a),e=r===null||r===void 0?void 0:r.modalizer,v=this.activeId;if(!e&&!v||e&&v===e.userId)return;let M=r===null||r===void 0?void 0:r.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
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
84
|
+
* Licensed under the MIT License.
|
|
85
|
+
*/var Nx=/*@__PURE__*/["input","textarea","*[contenteditable]"].join(", ");class FV extends y3{constructor(a,l,c,h){super(l,a,Dh.Mover,h);this._onFocusDummyInput=(Z)=>{var o,r;let e=this._element.get(),v=Z.input;if(e&&v){let M=q1.getTabsterContext(this._tabster,e),t;if(M)t=(o=n0.findNextTabbable(this._tabster,M,void 0,v,void 0,!Z.isFirst,!0))===null||o===void 0?void 0:o.element;let m=(r=this._getMemorized())===null||r===void 0?void 0:r.get();if(m&&this._tabster.focusable.isFocusable(m))t=m;if(t)H2(t)}},this._tabster=l,this._getMemorized=c,this._setHandlers(this._onFocusDummyInput)}}var Ve=1,YH=2,QH=3;class CV extends L6{constructor(a,l,c,h,Z){var o;super(a,l,h);if(this._visible={},this._onIntersection=(e)=>{for(let v of e){let M=v.target,t=wh(this._win,M),m,A=this._fullyVisible;if(v.intersectionRatio>=0.25){if(m=v.intersectionRatio>=0.75?o3.Visible:o3.PartiallyVisible,m===o3.Visible)A=t}else m=o3.Invisible;if(this._visible[t]!==m){if(m===void 0){if(delete this._visible[t],A===t)delete this._fullyVisible}else this._visible[t]=m,this._fullyVisible=A;let H=this.getState(M);if(H)M.dispatchEvent(new ne(H))}}},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 r=()=>h.memorizeCurrent?this._current:void 0;if(!a.controlTab)this.dummyManager=new FV(this._element,a,r,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 r=this.getState(Z);if(r)Z.dispatchEvent(new ne(r))}}}})}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&&u6(a)===Z;if(!Z)return null;let r=null,e=!1,v;if(this._props.tabbable||o||a&&!O.nodeContains(Z,a)){let M={currentElement:a,referenceElement:l,container:Z,ignoreAccessibility:h,useActiveModalizer:!0},t={};r=this._tabster.focusable[c?"findPrev":"findNext"](M,t),e=!!t.outOfDOMOrder,v=t.uncontrolled}return{element:r,uncontrolled:v,outOfDOMOrder:e}}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:r=!0}=this._props,e=this.getElement();if(e&&(Z||o||r)&&(!O.nodeContains(e,l.from)||u6(l.from)===e)){let v;if(Z){let M=(h=this._current)===null||h===void 0?void 0:h.get();if(M&&l.acceptCondition(M))v=M}if(!v&&r)v=this._tabster.focusable.findDefault({container:e,useActiveModalizer:!0});if(!v&&o)v=this._tabster.focusable.findElement({container:e,useActiveModalizer:!0,isBackward:l.isBackward,acceptCondition:(M)=>{var t;let m=wh(this._win,M),A=this._visible[m];return e!==M&&!!((t=this._allElements)===null||t===void 0?void 0:t.get(M))&&l.acceptCondition(M)&&(A===o3.Visible||A===o3.PartiallyVisible&&(o===o3.PartiallyVisible||!this._fullyVisible))}});if(v)return l.found=!0,l.foundElement=v,l.rejectElementsFrom=e,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=O.createMutationObserver((A)=>{for(let H of A){let{target:V,removedNodes:i,addedNodes:d}=H;if(H.type==="attributes"){if(H.attributeName==="tabindex")Z.push({element:V,type:YH})}else{for(let g=0;g<i.length;g++)Z.push({element:i[g],type:QH});for(let g=0;g<d.length;g++)Z.push({element:d[g],type:Ve})}}t()}),r=(A,H)=>{var V,i;let d=c.get(A);if(d&&H)(V=this._intersectionObserver)===null||V===void 0||V.unobserve(A),c.delete(A);if(!d&&!H)c.set(A,this),(i=this._intersectionObserver)===null||i===void 0||i.observe(A)},e=(A)=>{let H=h.isFocusable(A);if(c.get(A)){if(!H)r(A,!0)}else if(H)r(A)},v=(A)=>{let{mover:H}=m(A);if(H&&H!==this)if(H.getElement()===A&&h.isFocusable(A))r(A);else return;let V=Ce(l.document,A,(i)=>{let{mover:d,groupper:g}=m(i);if(d&&d!==this)return NodeFilter.FILTER_REJECT;let u=g===null||g===void 0?void 0:g.getFirst(!0);if(g&&g.getElement()!==i&&u&&u!==i)return NodeFilter.FILTER_REJECT;if(h.isFocusable(i))r(i);return NodeFilter.FILTER_SKIP});if(V){V.currentNode=A;while(V.nextNode());}},M=(A)=>{if(c.get(A))r(A,!0);for(let V=O.getFirstElementChild(A);V;V=O.getNextElementSibling(V))M(V)},t=()=>{if(!this._updateTimer&&Z.length)this._updateTimer=l.setTimeout(()=>{delete this._updateTimer;for(let{element:A,type:H}of Z)switch(H){case YH:e(A);break;case Ve:v(A);break;case QH:M(A);break}Z=this._updateQueue=[]},0)},m=(A)=>{let H={};for(let V=A;V;V=O.getParentElement(V)){let i=Y0(this._tabster,V);if(i){if(i.groupper&&!H.groupper)H.groupper=i.groupper;if(i.mover){H.mover=i.mover;break}}}return H};Z.push({element:a,type:Ve}),t(),o.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{o.disconnect()}}getState(a){let l=wh(this._win,a);if(l in this._visible){let c=this._visible[l]||o3.Invisible;return{isCurrent:this._current?this._current.get()===a:void 0,visibility:c}}return}}function _x(a,l,c,h,Z,o,r,e){let v=c<Z?Z-c:r<a?a-r:0,M=h<o?o-h:e<l?l-e:0;return v===0?M:M===0?v:Math.sqrt(v*v+M*M)}class RV{constructor(a,l){this._init=()=>{let c=this._win();c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(UH,this._onMoveFocus),c.addEventListener(IH,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 r=O.getParentElement(c);r;r=O.getParentElement(r)){let e=(h=Y0(this._tabster,r))===null||h===void 0?void 0:h.mover;if(e)e.setCurrent(o),Z=void 0;if(!Z&&this._tabster.focusable.isFocusable(r))Z=o=r}},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=L0.ArrowDown;else if(Z===i0.ArrowRight)o=L0.ArrowRight;else if(Z===i0.ArrowUp)o=L0.ArrowUp;else if(Z===i0.ArrowLeft)o=L0.ArrowLeft;else if(Z===i0.PageDown)o=L0.PageDown;else if(Z===i0.PageUp)o=L0.PageUp;else if(Z===i0.Home)o=L0.Home;else if(Z===i0.End)o=L0.End;if(!o)return;let r=this._tabster.focusedElement.getFocusedElement();if(!r||await this._isIgnoredInput(r,Z))return;this._moveFocus(r,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 r=q1.getTabsterContext(this._tabster,Z),e=r===null||r===void 0?void 0:r.mover;if(e){if(o&&!O.nodeContains(e.getElement(),o))o=void 0;e.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(UH,this._onMoveFocus),l.removeEventListener(IH,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 CV(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,r=q1.getTabsterContext(o,a,{checkRtl:!0});if(!r||!r.mover||r.excludedFromMover||c&&r.ignoreKeydown(c))return null;let e=r.mover,v=e.getElement();if(r.groupperBeforeMover){let p=r.groupper;if(p&&!p.isActive(!0)){for(let P=O.getParentElement(p.getElement());P&&P!==v;P=O.getParentElement(P))if((Z=(h=Y0(o,P))===null||h===void 0?void 0:h.groupper)===null||Z===void 0?void 0:Z.isActive(!0))return null}else return null}if(!v)return null;let M=o.focusable,t=e.getProps(),m=t.direction||j5.Both,A=m===j5.Both,H=A||m===j5.Vertical,V=A||m===j5.Horizontal,i=m===j5.GridLinear,d=i||m===j5.Grid,g=t.cyclic,u,L,R,x=0,s=0;if(d)R=a.getBoundingClientRect(),x=Math.ceil(R.left),s=Math.floor(R.right);if(r.rtl){if(l===L0.ArrowRight)l=L0.ArrowLeft;else if(l===L0.ArrowLeft)l=L0.ArrowRight}if(l===L0.ArrowDown&&H||l===L0.ArrowRight&&(V||d)){if(u=M.findNext({currentElement:a,container:v,useActiveModalizer:!0}),u&&d){let p=Math.ceil(u.getBoundingClientRect().left);if(!i&&s>p)u=void 0}else if(!u&&g)u=M.findFirst({container:v,useActiveModalizer:!0})}else if(l===L0.ArrowUp&&H||l===L0.ArrowLeft&&(V||d)){if(u=M.findPrev({currentElement:a,container:v,useActiveModalizer:!0}),u&&d){let p=Math.floor(u.getBoundingClientRect().right);if(!i&&p>x)u=void 0}else if(!u&&g)u=M.findLast({container:v,useActiveModalizer:!0})}else if(l===L0.Home)if(d)M.findElement({container:v,currentElement:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:(p)=>{var P;if(!M.isFocusable(p))return!1;let G=Math.ceil((P=p.getBoundingClientRect().left)!==null&&P!==void 0?P:0);if(p!==a&&x<=G)return!0;return u=p,!1}});else u=M.findFirst({container:v,useActiveModalizer:!0});else if(l===L0.End)if(d)M.findElement({container:v,currentElement:a,useActiveModalizer:!0,acceptCondition:(p)=>{var P;if(!M.isFocusable(p))return!1;let G=Math.ceil((P=p.getBoundingClientRect().left)!==null&&P!==void 0?P:0);if(p!==a&&x>=G)return!0;return u=p,!1}});else u=M.findLast({container:v,useActiveModalizer:!0});else if(l===L0.PageUp){if(M.findElement({currentElement:a,container:v,useActiveModalizer:!0,isBackward:!0,acceptCondition:(p)=>{if(!M.isFocusable(p))return!1;if(qH(this._win,p,e.visibilityTolerance))return u=p,!1;return!0}}),d&&u){let p=Math.ceil(u.getBoundingClientRect().left);M.findElement({currentElement:u,container:v,useActiveModalizer:!0,acceptCondition:(P)=>{if(!M.isFocusable(P))return!1;let G=Math.ceil(P.getBoundingClientRect().left);if(x<G||p>=G)return!0;return u=P,!1}})}L=!1}else if(l===L0.PageDown){if(M.findElement({currentElement:a,container:v,useActiveModalizer:!0,acceptCondition:(p)=>{if(!M.isFocusable(p))return!1;if(qH(this._win,p,e.visibilityTolerance))return u=p,!1;return!0}}),d&&u){let p=Math.ceil(u.getBoundingClientRect().left);M.findElement({currentElement:u,container:v,useActiveModalizer:!0,isBackward:!0,acceptCondition:(P)=>{if(!M.isFocusable(P))return!1;let G=Math.ceil(P.getBoundingClientRect().left);if(x>G||p<=G)return!0;return u=P,!1}})}L=!0}else if(d){let p=l===L0.ArrowUp,P=x,G=Math.ceil(R.top),Z1=s,o1=Math.floor(R.bottom),E,w,S=0;M.findAll({container:v,currentElement:a,isBackward:p,onElement:(I)=>{let Q=I.getBoundingClientRect(),N=Math.ceil(Q.left),A1=Math.ceil(Q.top),b=Math.floor(Q.right),i1=Math.floor(Q.bottom);if(p&&G<i1||!p&&o1>A1)return!0;let $=Math.ceil(Math.min(Z1,b))-Math.floor(Math.max(P,N)),Y=Math.ceil(Math.min(Z1-P,b-N));if($>0&&Y>=$){let l1=$/Y;if(l1>S)E=I,S=l1}else if(S===0){let l1=_x(P,G,Z1,o1,N,A1,b,i1);if(w===void 0||l1<w)w=l1,E=I}else if(S>0)return!1;return!0}}),u=E}if(u&&(!c||c&&v.dispatchEvent(new D7({by:"mover",owner:v,next:u,relatedEvent:c})))){if(L!==void 0)Gx(this._win,u,L);if(c)c.preventDefault(),c.stopImmediatePropagation();return H2(u),u}return null}async _isIgnoredInput(a,l){if(a.getAttribute("aria-expanded")==="true"&&a.hasAttribute("aria-activedescendant"))return!0;if(vV(a,Nx)){let c=0,h=0,Z=0,o;if(a.tagName==="INPUT"||a.tagName==="TEXTAREA"){let r=a.type;if(Z=(a.value||"").length,r==="email"||r==="number"){if(Z){let v=O.getSelection(a);if(v){let M=v.toString().length,t=l===i0.ArrowLeft||l===i0.ArrowUp;if(v.modify("extend",t?"backward":"forward","character"),M!==v.toString().length)return v.modify("extend",t?"forward":"backward","character"),!0;else Z=0}}}else{let v=a.selectionStart;if(v===null)return r==="hidden";c=v||0,h=a.selectionEnd||0}}else if(a.contentEditable==="true")o=new(Kx(this._win))((r)=>{this._ignoredInputResolve=(A)=>{delete this._ignoredInputResolve,r(A)};let e=this._win();if(this._ignoredInputTimer)e.clearTimeout(this._ignoredInputTimer);let{anchorNode:v,focusNode:M,anchorOffset:t,focusOffset:m}=O.getSelection(a)||{};this._ignoredInputTimer=e.setTimeout(()=>{var A,H,V;delete this._ignoredInputTimer;let{anchorNode:i,focusNode:d,anchorOffset:g,focusOffset:u}=O.getSelection(a)||{};if(i!==v||d!==M||g!==t||u!==m){(A=this._ignoredInputResolve)===null||A===void 0||A.call(this,!1);return}if(c=g||0,h=u||0,Z=((H=a.textContent)===null||H===void 0?void 0:H.length)||0,i&&d){if(O.nodeContains(a,i)&&O.nodeContains(a,d)){if(i!==a){let L=!1,R=(x)=>{if(x===i)L=!0;else if(x===d)return!0;let s=x.textContent;if(s&&!O.getFirstChild(x)){let P=s.length;if(L){if(d!==i)h+=P}else c+=P,h+=P}let p=!1;for(let P=O.getFirstChild(x);P&&!p;P=P.nextSibling)p=R(P);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
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
87
|
+
* Licensed under the MIT License.
|
|
88
|
+
*/function ap(a,l,c,h){if(typeof MutationObserver==="undefined")return()=>{};let Z=l.getWindow,o,r=(t)=>{var m,A,H,V,i;let d=/*@__PURE__*/new Set;for(let g of t){let{target:u,removedNodes:L,addedNodes:R}=g;if(g.type==="attributes"){if(g.attributeName===N2){if(!d.has(u))c(l,u)}}else{for(let x=0;x<L.length;x++){let s=L[x];d.add(s),e(s,!0),(A=(m=l._dummyObserver).domChanged)===null||A===void 0||A.call(m,u)}for(let x=0;x<R.length;x++)e(R[x]),(V=(H=l._dummyObserver).domChanged)===null||V===void 0||V.call(H,u)}}d.clear(),(i=l.modalizer)===null||i===void 0||i.hiddenUpdate()};function e(t,m){if(!o)o=k7(Z).elementByUId;v(t,m);let A=Ce(a,t,(H)=>{return v(H,m)});if(A)while(A.nextNode());}function v(t,m){var A;if(!t.getAttribute)return NodeFilter.FILTER_SKIP;let H=t.__tabsterElementUID;if(H&&o)if(m)delete o[H];else(A=o[H])!==null&&A!==void 0||(o[H]=new F5(Z,t));if(Y0(l,t)||t.hasAttribute(N2))c(l,t,m);return NodeFilter.FILTER_SKIP}let M=O.createMutationObserver(r);if(h)e(Z().document.body);return M.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[N2]}),()=>{M.disconnect()}}/*!
|
|
89
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
90
|
+
* Licensed under the MIT License.
|
|
91
|
+
*//*!
|
|
92
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
93
|
+
* Licensed under the MIT License.
|
|
94
|
+
*//*!
|
|
95
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
96
|
+
* Licensed under the MIT License.
|
|
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
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
99
|
+
* Licensed under the MIT License.
|
|
100
|
+
*/class pV extends L6{constructor(a,l,c){var h;super(a,l,c);if(this._hasFocus=!1,this._onFocusOut=(Z)=>{var o;let r=(o=this._element)===null||o===void 0?void 0:o.get();if(r&&Z.relatedTarget===null)r.dispatchEvent(new de);if(r&&!O.nodeContains(r,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=O.nodeContains(Z,Z&&O.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 de)}}}class Sh{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>Sh.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&&O.nodeContains(c.body,O.getParentElement(Z))&&a(Z))return Z}return}}Sh.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=Y0(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=Y0(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(O.getActiveElement(Z)!==Z.body)return;if(!this._keyboardNavState.isNavigatingWithKeyboard()&&O.nodeContains(Z.body,l))return;let o=(r)=>{var e,v;let M=(v=(e=Y0(this._tabster,r))===null||e===void 0?void 0:e.restorer)===null||v===void 0?void 0:v.getProps();return M?M.id:null};(h=this._history.pop((r)=>c===o(r)))===null||h===void 0||h.focus()},this._tabster=a,this._getWindow=a.getWindow,this._getWindow().addEventListener(ie,this._onRestoreFocus),this._history=new Sh(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(ie,this._onRestoreFocus)}createRestorer(a,l){let c=new pV(this._tabster,a,l);if(l.type===S7.Target&&O.getActiveElement(a.ownerDocument)===a)this._history.push(a);return c}}/*!
|
|
101
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
102
|
+
* Licensed under the MIT License.
|
|
103
|
+
*/function lp(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
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
105
|
+
* Licensed under the MIT License.
|
|
106
|
+
*//*!
|
|
107
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
108
|
+
* Licensed under the MIT License.
|
|
109
|
+
*/class g6{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 g6._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 r=0;r<Z.length;r++)this._walkShadows(Z[r],!0);for(let r=0;r<o.length;r++)this._walkShadows(o[r])}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&&lp(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,g6._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;g6._overrideAttachShadow(h),g6._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}}g6._shadowObservers=/*@__PURE__*/new Set;/*!
|
|
110
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
111
|
+
* Licensed under the MIT License.
|
|
112
|
+
*//*!
|
|
113
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
114
|
+
* Licensed under the MIT License.
|
|
115
|
+
*//*!
|
|
116
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
117
|
+
* Licensed under the MIT License.
|
|
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.3",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=Px(a),this._win=a;let Z=this.getWindow;if(l===null||l===void 0?void 0:l.DOMAPI)Tx({...l.DOMAPI});this.keyboardNavigation=new dV(Z),this.focusedElement=new n0(this,Z),this.focusable=new HV(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:O.getParentNode,this.internal={stopObserver:()=>{if(this._unobserve)this._unobserve(),delete this._unobserve},resumeObserver:(o)=>{if(!this._unobserve){let r=Z().document;this._unobserve=ap(r,this,yH,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,r,e;this.internal.stopObserver();let v=this._win;if(v===null||v===void 0||v.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],v&&this._forgetMemorizedTimer)v.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(),(r=this.observedElement)===null||r===void 0||r.dispose(),(e=this.restorer)===null||e===void 0||e.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Ix(this.getWindow),KH(this.getWindow),this._storage=/*@__PURE__*/new WeakMap,this._wrappers.clear(),v)Ox(v),delete v.__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())KH(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=cp(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 fV(a){let l=a.core;if(!l.mover)l.mover=new RV(l,l.getWindow);return l.mover}function kh(a,l,c){let h=a.core;if(!h.modalizer)h.modalizer=new LV(h,l,c);return h.modalizer}function sh(a){let l=a.core;if(!l.restorer)l.restorer=new wV(l);return l.restorer}function BV(a,l){a.core.disposeTabster(a,l)}function cp(a){return a.__tabsterInstance}/*!
|
|
119
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
120
|
+
* Licensed under the MIT License.
|
|
121
|
+
*//*!
|
|
122
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
123
|
+
* Licensed under the MIT License.
|
|
124
|
+
*//*!
|
|
125
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
126
|
+
* Licensed under the MIT License.
|
|
127
|
+
*/F();var hp=(a)=>{return a};function Zp(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:V6,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 C5(a=hp){let{targetDocument:l}=F1(),c=z(null);J1(()=>{let h=Zp(l);if(h)return c.current=a(h),()=>{BV(h),c.current=null}},[l,a]);{let h=xh(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}F();var e3=(a)=>{C5();let l=va(a,!0);return u1(()=>({[N2]:l}),[l])};var Ma=(a={})=>{let{circular:l,axis:c,memorizeCurrent:h=!0,tabbable:Z,ignoreDefaultKeydown:o,unstable_hasDefault:r}=a;return C5(fV),e3({mover:{cyclic:!!l,direction:op(c!==null&&c!==void 0?c:"vertical"),memorizeCurrent:h,tabbable:Z,hasDefault:r},...o&&{focusable:{ignoreKeydown:o}}})};function op(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 j3=(a)=>{return C5(sV),e3({groupper:{tabbability:rp(a===null||a===void 0?void 0:a.tabBehavior)},focusable:{ignoreKeydown:a===null||a===void 0?void 0:a.ignoreDefaultKeydown}})},rp=(a)=>{switch(a){case"unlimited":return ea.Unlimited;case"limited":return ea.Limited;case"limited-trap-focus":return ea.LimitedTrapFocus;default:return}};F();var s7=()=>{let a=C5(),{targetDocument:l}=F1(),c=j((e,v)=>{var M;return((M=a.current)===null||M===void 0?void 0:M.focusable.findAll({container:e,acceptCondition:v}))||[]},[a]),h=j((e)=>{var v;return(v=a.current)===null||v===void 0?void 0:v.focusable.findFirst({container:e})},[a]),Z=j((e)=>{var v;return(v=a.current)===null||v===void 0?void 0:v.focusable.findLast({container:e})},[a]),o=j((e,v={})=>{if(!a.current||!l)return null;let{container:M=l.body}=v;return a.current.focusable.findNext({currentElement:e,container:M})},[a,l]),r=j((e,v={})=>{if(!a.current||!l)return null;let{container:M=l.body}=v;return a.current.focusable.findPrev({currentElement:e,container:M})},[a,l]);return{findAllFocusable:c,findFirstFocusable:h,findLastFocusable:Z,findNextFocusable:o,findPrevFocusable:r}};F();var pe="data-fui-focus-visible",we="data-fui-focus-within";function TV(a,l){if(WV(a))return()=>{return};let c={current:void 0},h=n6(l);function Z(v){if(h.isNavigatingWithKeyboard()&&z1(v))c.current=v,v.setAttribute(pe,"")}function o(){if(c.current)c.current.removeAttribute(pe),c.current=void 0}h.subscribe((v)=>{if(!v)o()});let r=(v)=>{o();let M=v.composedPath()[0];Z(M)},e=(v)=>{if(!v.relatedTarget||z1(v.relatedTarget)&&!a.contains(v.relatedTarget))o()};if(a.addEventListener(L5,r),a.addEventListener("focusout",e),a.focusVisible=!0,a.contains(l.document.activeElement))Z(l.document.activeElement);return()=>{o(),a.removeEventListener(L5,r),a.removeEventListener("focusout",e),delete a.focusVisible,d6(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 f7(a={}){let l=F1(),c=z(null);var h;let Z=(h=a.targetDocument)!==null&&h!==void 0?h:l.targetDocument;return M1(()=>{if((Z===null||Z===void 0?void 0:Z.defaultView)&&c.current)return TV(c.current,Z.defaultView)},[c,Z]),c}F();function UV(a,l){let c=n6(l);c.subscribe((o)=>{if(!o)OV(a)});let h=(o)=>{if(c.isNavigatingWithKeyboard()&&PV(o.target))ep(a)},Z=(o)=>{if(!o.relatedTarget||PV(o.relatedTarget)&&!a.contains(o.relatedTarget))OV(a)};return a.addEventListener(L5,h),a.addEventListener("focusout",Z),()=>{a.removeEventListener(L5,h),a.removeEventListener("focusout",Z),d6(c)}}function ep(a){a.setAttribute(we,"")}function OV(a){a.removeAttribute(we)}function PV(a){if(!a)return!1;return Boolean(a&&typeof a==="object"&&"classList"in a&&"contains"in a)}function V2(){let{targetDocument:a}=F1(),l=z(null);return M1(()=>{if((a===null||a===void 0?void 0:a.defaultView)&&l.current)return UV(l.current,a.defaultView)},[l,a]),l}var IV="data-tabster-never-hide",Wz={[IV]:""};var vp=(a)=>{return a.hasAttribute(IV)};function Mp(a){kh(a,void 0,vp),sh(a)}var i2=(a={})=>{let{trapFocus:l,alwaysFocusable:c,legacyTrapFocus:h}=a;C5(Mp);let Z=M0("modal-",a.id),o=e3({restorer:{type:S7.Source},...l&&{modalizer:{id:Z,isOthersAccessible:!l,isAlwaysAccessible:c,isTrapped:h&&l}}}),r=e3({restorer:{type:S7.Target}});return{modalAttributes:o,triggerAttributes:r}};function B7(){return C5(sh),va({restorer:{type:S7.Source}})}F();function fh(){let a=C5(kh),[l]=y2();return j((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"},P0={"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)"},zV={"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)"},De={"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",F6="#000000";var KV={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 Se={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},bV={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},$V={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 JV={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},YV={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},QV={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},XV={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},EV={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"},jV={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},NV={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"},ke={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 ri={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},ei={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 vi={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 Ai={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},Hi={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"},di={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},gi={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},ui={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 Li={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},Fi={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 P1={red:bV,green:ke,darkOrange:$V,yellow:EV,berry:Hi,lightGreen:li,marigold:XV},a7={darkRed:KV,cranberry:Se,pumpkin:JV,peach:QV,gold:yV,brass:jV,brown:NV,forest:_V,seafoam:ai,darkGreen:ci,lightTeal:hi,teal:Zi,steel:oi,blue:ri,royalBlue:ei,cornflower:vi,navy:Mi,lavender:mi,purple:ti,grape:Ai,lilac:Vi,pink:ii,magenta:ni,plum:di,beige:gi,mink:ui,platinum:Li,anchor:Fi},O1={cranberry:Se,green:ke,orange:YV};var Bh=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Th=["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 ma=Bh.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorPalette${c}Background1`]:P1[l].tint60,[`colorPalette${c}Background2`]:P1[l].tint40,[`colorPalette${c}Background3`]:P1[l].primary,[`colorPalette${c}Foreground1`]:P1[l].shade10,[`colorPalette${c}Foreground2`]:P1[l].shade30,[`colorPalette${c}Foreground3`]:P1[l].primary,[`colorPalette${c}BorderActive`]:P1[l].primary,[`colorPalette${c}Border1`]:P1[l].tint40,[`colorPalette${c}Border2`]:P1[l].primary};return Object.assign(a,h)},{});ma.colorPaletteYellowForeground1=P1.yellow.shade30;ma.colorPaletteRedForegroundInverted=P1.red.tint20;ma.colorPaletteGreenForegroundInverted=P1.green.tint20;ma.colorPaletteYellowForegroundInverted=P1.yellow.tint40;var tp=Th.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorPalette${c}Background2`]:a7[l].tint40,[`colorPalette${c}Foreground2`]:a7[l].shade30,[`colorPalette${c}BorderActive`]:a7[l].primary};return Object.assign(a,h)},{}),Ci={...ma,...tp},N3=Object.entries(v5).reduce((a,[l,c])=>{let h=l.slice(0,1).toUpperCase()+l.slice(1),Z={[`colorStatus${h}Background1`]:O1[c].tint60,[`colorStatus${h}Background2`]:O1[c].tint40,[`colorStatus${h}Background3`]:O1[c].primary,[`colorStatus${h}Foreground1`]:O1[c].shade10,[`colorStatus${h}Foreground2`]:O1[c].shade30,[`colorStatus${h}Foreground3`]:O1[c].primary,[`colorStatus${h}ForegroundInverted`]:O1[c].tint30,[`colorStatus${h}BorderActive`]:O1[c].primary,[`colorStatus${h}Border1`]:O1[c].tint40,[`colorStatus${h}Border2`]:O1[c].primary};return Object.assign(a,Z)},{});N3.colorStatusDangerBackground3Hover=O1[v5.danger].shade10;N3.colorStatusDangerBackground3Pressed=O1[v5.danger].shade20;N3.colorStatusWarningForeground1=O1[v5.warning].shade20;N3.colorStatusWarningForeground3=O1[v5.warning].shade20;N3.colorStatusWarningBorder2=O1[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:P0[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:P0[50],colorNeutralBackgroundAlpha2:P0[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:T[96],colorSubtleBackgroundPressed:T[88],colorSubtleBackgroundSelected:T[92],colorSubtleBackgroundLightAlphaHover:P0[70],colorSubtleBackgroundLightAlphaPressed:P0[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:R5[10],colorSubtleBackgroundInvertedPressed:R5[30],colorSubtleBackgroundInvertedSelected:R5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:T[94],colorNeutralBackgroundInvertedDisabled:P0[10],colorNeutralStencil1:T[90],colorNeutralStencil2:T[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: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:P0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:R5[5],colorNeutralStrokeAlpha2:P0[20],colorStrokeFocus1:p1,colorStrokeFocus2:F6,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 ta={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"};var Wh={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 Oh={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"};var Aa={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"},Va={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},ia={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 d0={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},Ph={spacingHorizontalNone:d0.none,spacingHorizontalXXS:d0.xxs,spacingHorizontalXS:d0.xs,spacingHorizontalSNudge:d0.sNudge,spacingHorizontalS:d0.s,spacingHorizontalMNudge:d0.mNudge,spacingHorizontalM:d0.m,spacingHorizontalL:d0.l,spacingHorizontalXL:d0.xl,spacingHorizontalXXL:d0.xxl,spacingHorizontalXXXL:d0.xxxl},Uh={spacingVerticalNone:d0.none,spacingVerticalXXS:d0.xxs,spacingVerticalXS:d0.xs,spacingVerticalSNudge:d0.sNudge,spacingVerticalS:d0.s,spacingVerticalMNudge:d0.mNudge,spacingVerticalM:d0.m,spacingVerticalL:d0.l,spacingVerticalXL:d0.xl,spacingVerticalXXL:d0.xxl,spacingVerticalXXXL:d0.xxxl};var na={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 C6(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 v3=(a)=>{let l=Ri(a);return{...ta,...Aa,...Ha,...ia,...Va,...na,...Ph,...Uh,...Oh,...Wh,...l,...Ci,...N3,...C6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...C6(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 l7=Bh.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorPalette${c}Background1`]:P1[l].shade40,[`colorPalette${c}Background2`]:P1[l].shade30,[`colorPalette${c}Background3`]:P1[l].primary,[`colorPalette${c}Foreground1`]:P1[l].tint30,[`colorPalette${c}Foreground2`]:P1[l].tint40,[`colorPalette${c}Foreground3`]:P1[l].tint20,[`colorPalette${c}BorderActive`]:P1[l].tint30,[`colorPalette${c}Border1`]:P1[l].primary,[`colorPalette${c}Border2`]:P1[l].tint20};return Object.assign(a,h)},{});l7.colorPaletteRedForeground3=P1.red.tint30;l7.colorPaletteRedBorder2=P1.red.tint30;l7.colorPaletteGreenForeground3=P1.green.tint40;l7.colorPaletteGreenBorder2=P1.green.tint40;l7.colorPaletteDarkOrangeForeground3=P1.darkOrange.tint30;l7.colorPaletteDarkOrangeBorder2=P1.darkOrange.tint30;l7.colorPaletteRedForegroundInverted=P1.red.primary;l7.colorPaletteGreenForegroundInverted=P1.green.primary;l7.colorPaletteYellowForegroundInverted=P1.yellow.shade30;var se=Th.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorPalette${c}Background2`]:a7[l].shade30,[`colorPalette${c}Foreground2`]:a7[l].tint40,[`colorPalette${c}BorderActive`]:a7[l].tint30};return Object.assign(a,h)},{});se.colorPaletteDarkRedBackground2=a7.darkRed.shade20;se.colorPalettePlumBackground2=a7.plum.shade20;var pi={...l7,...se},T7=Object.entries(v5).reduce((a,[l,c])=>{let h=l.slice(0,1).toUpperCase()+l.slice(1),Z={[`colorStatus${h}Background1`]:O1[c].shade40,[`colorStatus${h}Background2`]:O1[c].shade30,[`colorStatus${h}Background3`]:O1[c].primary,[`colorStatus${h}Foreground1`]:O1[c].tint30,[`colorStatus${h}Foreground2`]:O1[c].tint40,[`colorStatus${h}Foreground3`]:O1[c].tint20,[`colorStatus${h}BorderActive`]:O1[c].tint30,[`colorStatus${h}ForegroundInverted`]:O1[c].shade10,[`colorStatus${h}Border1`]:O1[c].primary,[`colorStatus${h}Border2`]:O1[c].tint20};return Object.assign(a,Z)},{});T7.colorStatusDangerBackground3Hover=O1[v5.danger].shade10;T7.colorStatusDangerBackground3Pressed=O1[v5.danger].shade20;T7.colorStatusDangerForeground3=O1[v5.danger].tint40;T7.colorStatusDangerBorder2=O1[v5.danger].tint30;T7.colorStatusSuccessForeground3=O1[v5.success].tint40;T7.colorStatusSuccessBorder2=O1[v5.success].tint40;T7.colorStatusWarningForegroundInverted=O1[v5.warning].shade20;var n2=v3(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:P0[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:F6,colorNeutralBackground4Selected:T[10],colorNeutralBackground5:F6,colorNeutralBackground5Hover:T[8],colorNeutralBackground5Pressed:T[2],colorNeutralBackground5Selected:T[6],colorNeutralBackground6:T[20],colorNeutralBackgroundInverted:p1,colorNeutralBackgroundStatic:T[24],colorNeutralBackgroundAlpha:zV[50],colorNeutralBackgroundAlpha2:qV[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:T[22],colorSubtleBackgroundPressed:T[18],colorSubtleBackgroundSelected:T[20],colorSubtleBackgroundLightAlphaHover:De[80],colorSubtleBackgroundLightAlphaPressed:De[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:R5[10],colorSubtleBackgroundInvertedPressed:R5[30],colorSubtleBackgroundInvertedSelected:R5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:T[8],colorNeutralBackgroundInvertedDisabled:P0[10],colorNeutralStencil1:T[34],colorNeutralStencil2:T[20],colorNeutralStencil1Alpha:P0[10],colorNeutralStencil2Alpha:P0[5],colorBackgroundOverlay:R5[50],colorScrollbarOverlay:P0[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:P0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:P0[10],colorNeutralStrokeAlpha2:P0[20],colorStrokeFocus1:F6,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 R6=(a)=>{let l=wi(a);return{...ta,...Aa,...Ha,...ia,...Va,...na,...Ph,...Uh,...Oh,...Wh,...l,...pi,...T7,...C6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...C6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};F();F();var _3={root:"fui-FluentProvider"},dp=/*@__PURE__*/J8({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);}"]}),da=(a)=>{let l=A2(),c=dp({dir:a.dir,renderer:l});return a.root.className=k(_3.root,a.themeClassName,c.root,a.root.className),a};var gp=J5?J5:J1,up=(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},Lp=(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.")},ga=(a)=>{let{targetDocument:l,theme:c,rendererAttributes:h}=a,Z=z(),o=M0(_3.root),r=h,e=u1(()=>Y8(`.${o}`,c),[c,o]);return u1(()=>{if(l){let v=`.${_3.root}.${o}`,M=l.querySelectorAll(v),m=l.querySelector(`${v} > style[id="${o}"]`)!==null?1:0;if(M.length>m)console.error(["@fluentui/react-provider: There are conflicting ids in your DOM.","Please make sure that you configured your application properly.",`
|
|
129
|
+
`,`
|
|
130
|
+
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "))}},[]),Fp(l,o),gp(()=>{let v=l===null||l===void 0?void 0:l.getElementById(o);if(v)Z.current=v;else if(Z.current=up(l,{...r,id:o}),Z.current)Lp(Z.current,e);return()=>{var M;(M=Z.current)===null||M===void 0||M.remove()}},[o,l,e,r]),{styleTagId:o,rule:e}};function Fp(a,l){m1(()=>{if(!a)return;let c=a.getElementById(l);if(c)a.head.append(c)})}var Cp={},Rp={},ua=(a,l)=>{let c=F1(),h=xp(),Z=M6(),o=h1(X3)||Cp,{applyStylesToPortals:r=!0,customStyleHooks_unstable:e,dir:v=c.dir,targetDocument:M=c.targetDocument,theme:t,overrides_unstable:m={}}=a,A=Te(h,t),H=Te(Z,m),V=Te(o,e),i=A2();var d;let{styleTagId:g,rule:u}=ga({theme:A,targetDocument:M,rendererAttributes:(d=i.styleElementAttributes)!==null&&d!==void 0?d:Rp});return M1(()=>{if(A===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:r,customStyleHooks_unstable:V,dir:v,targetDocument:M,theme:A,overrides_unstable:H,themeClassName:g,components:{root:"div"},root:f.always(_("div",{...a,dir:v,ref:Y1(l,f7({targetDocument:M}))}),{elementType:"div"}),serverStyleProps:{cssRule:u,attributes:{...i.styleElementAttributes,id:g}}}};function Te(a,l){if(a&&l)return{...a,...l};if(a)return a;return l}function xp(){return h1(v6)}F();function La(a){let{applyStylesToPortals:l,customStyleHooks_unstable:c,dir:h,root:Z,targetDocument:o,theme:r,themeClassName:e,overrides_unstable:v}=a,M=u1(()=>({dir:h,targetDocument:o}),[h,o]),[t]=m1(()=>({})),m=u1(()=>({textDirection:h}),[h]);return{customStyleHooks_unstable:c,overrides_unstable:v,provider:M,textDirection:h,iconDirection:m,tooltip:t,theme:r,themeClassName:l?Z.className:e}}var a4=/*@__PURE__*/U((a,l)=>{let c=ua(a,l);da(c);let h=La(c);return oa(c,h)});a4.displayName="FluentProvider";F();var Ih=b4(Bi(),1),wp=(a)=>{let l=(c)=>{let h=z(c.value),Z=z(0),o=z();if(!o.current)o.current={value:h,version:Z,listeners:[]};return J1(()=>{h.current=c.value,Z.current+=1,Ih.unstable_runWithPriority(Ih.unstable_NormalPriority,()=>{o.current.listeners.forEach((r)=>{r([Z.current,c.value])})})},[c.value]),e1(a,{value:o.current},c.children)};return l.displayName="ContextSelector.Provider",l},c4=(a)=>{let l=v1({value:{current:a},version:{current:-1},listeners:[]});return l.Provider=wp(l.Provider),delete l.Consumer,l};F();var x6=(a,l)=>{let c=h1(a),{value:{current:h},version:{current:Z},listeners:o}=c,r=l(h),[e,v]=m1([h,r]),M=(m)=>{v((A)=>{if(!m)return[h,r];if(m[0]<=Z){if(Object.is(A[1],r))return A;return[h,r]}try{if(Object.is(A[0],m[1]))return A;let H=l(m[1]);if(Object.is(A[1],H))return A;return[m[1],H]}catch(H){}return[A[0],A[1]]})};if(!Object.is(e[1],r))M(void 0);let t=H1(M);return J1(()=>{return o.push(t),()=>{let m=o.indexOf(t);o.splice(m,1)}},[t,o]),e[1]};F();function We(a){let l=h1(a);if(l.version)return l.version.current!==-1;return!1}var h4="Enter",M3=" ",Oe="Tab",Pe="ArrowDown";var Ue="ArrowUp";var Ie="Delete";var Z4="Escape";F();function d2(a,l){let{disabled:c,disabledFocusable:h=!1,["aria-disabled"]:Z,onClick:o,onKeyDown:r,onKeyUp:e,...v}=l!==null&&l!==void 0?l:{},M=typeof Z==="string"?Z==="true":Z,t=c||h||M,m=H1((V)=>{if(t)V.preventDefault(),V.stopPropagation();else o===null||o===void 0||o(V)}),A=H1((V)=>{if(r===null||r===void 0||r(V),V.isDefaultPrevented())return;let i=V.key;if(t&&(i===h4||i===M3)){V.preventDefault(),V.stopPropagation();return}if(i===M3){V.preventDefault();return}else if(i===h4)V.preventDefault(),V.currentTarget.click()}),H=H1((V)=>{if(e===null||e===void 0||e(V),V.isDefaultPrevented())return;let i=V.key;if(t&&(i===h4||i===M3)){V.preventDefault(),V.stopPropagation();return}if(i===M3)V.preventDefault(),V.currentTarget.click()});if(a==="button"||a===void 0)return{...v,disabled:c&&!h,"aria-disabled":h?!0:M,onClick:h?void 0:m,onKeyUp:h?void 0:e,onKeyDown:h?void 0:r};else{let V=!!v.href,i=V?void 0:"button";if(!i&&t)i="link";let d={role:i,tabIndex:h||!V&&!c?0:void 0,...v,onClick:m,onKeyUp:H,onKeyDown:A,"aria-disabled":t};if(a==="a"&&t)d.href=void 0;return d}}F();var Dp=B({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},r=Dp(),e=ee();if(o.className=k(r.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(e===null||e===void 0?void 0:e.textDirection)==="rtl"&&r.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((r,e)=>{let v={...Ti(r,{flipInRtl:h===null||h===void 0?void 0:h.flipInRtl}),ref:e,width:l,height:l,viewBox:`0 0 ${Z} ${Z}`,xmlns:"http://www.w3.org/2000/svg"};return e1("svg",v,...c.map((M)=>e1("path",{d:M,fill:v.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 Gh=/*@__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 p6=/*@__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 Oi=/*@__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 zh=/*@__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 qh=/*@__PURE__*/D1("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]);var Kh=/*@__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 Pi=/*@__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 $h=/*@__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 w6=/*@__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 Ii=/*@__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 zi=/*@__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 Ki=/*@__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 bi=/*@__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 $i=/*@__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 Ji=/*@__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 Yi=/*@__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 c7=/*@__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 Qi=/*@__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 Xi=/*@__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 Jh=/*@__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 Ei=/*@__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 ji=/*@__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 Ni=/*@__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};F();function cn(a){if(a.playState==="running"){var l;if(a.overallProgress!==void 0){var c;let e=(c=a.overallProgress)!==null&&c!==void 0?c:0;return e>0&&e<1}var h;let o=Number((h=a.currentTime)!==null&&h!==void 0?h:0);var Z;let r=Number((Z=(l=a.effect)===null||l===void 0?void 0:l.getTiming().duration)!==null&&Z!==void 0?Z:0);return o>0&&o<r}return!1}var Sp={fill:"forwards"},kp={duration:1};function sp(){var a;let l=typeof window!=="undefined"&&typeof((a=window.Animation)===null||a===void 0?void 0:a.prototype.persist)==="function";return j((c,h,Z)=>{let o=Array.isArray(h)?h:[h],{isReducedMotion:r}=Z,e=o.map((v)=>{let{keyframes:M,reducedMotion:t=kp,...m}=v,{keyframes:A=M,...H}=t,V=r?A:M,i={...Sp,...m,...r&&H};try{let g=c.animate(V,i);if(l)g===null||g===void 0||g.persist();else{let u=V[V.length-1];var d;Object.assign((d=c.style)!==null&&d!==void 0?d:{},u)}return g}catch(g){return null}}).filter((v)=>!!v);return{set playbackRate(v){e.forEach((M)=>{M.playbackRate=v})},setMotionEndCallbacks(v,M){let t=e.map((m)=>{return new Promise((A,H)=>{m.onfinish=()=>A(),m.oncancel=()=>H()})});Promise.all(t).then(()=>{v()}).catch(()=>{M()})},isRunning(){return e.some((v)=>cn(v))},cancel:()=>{e.forEach((v)=>{v.cancel()})},pause:()=>{e.forEach((v)=>{v.pause()})},play:()=>{e.forEach((v)=>{v.play()})},finish:()=>{e.forEach((v)=>{v.finish()})},reverse:()=>{e.forEach((v)=>{v.reverse()})}}},[l])}function hn(){return sp()}F();function Zn(a){let l=z();return V5(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}F();var fp="screen and (prefers-reduced-motion: reduce)";function on(){let{targetDocument:a}=F1();var l;let c=(l=a===null||a===void 0?void 0:a.defaultView)!==null&&l!==void 0?l:null,h=z(!1),Z=j(()=>h.current,[]);return J1(()=>{if(c===null||typeof c.matchMedia!=="function")return;let o=c.matchMedia(fp);if(o.matches)h.current=!0;let r=(e)=>{h.current=e.matches};return o.addEventListener("change",r),()=>{o.removeEventListener("change",r)}},[c]),Z}F();var Bp=$3.startsWith("19."),rn=["@fluentui/react-motion: Invalid child element.",`
|
|
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 Tp(a){if(Bp)return a.props.ref;return a.ref}function en(a,l=!0){let c=z(null);M1(()=>{if(l&&!c.current)console.error(rn)},[l]);try{let h=u7.only(a);if(o5(h))return[j7(h,{ref:Y1(c,Tp(h))}),c]}catch{}throw new Error(rn)}F();var vn=v1(void 0),LE=vn.Provider,Mn=()=>{var a;return(a=h1(vn))!==null&&a!==void 0?a:"default"};F();F();var mn=v1(void 0);F();function tn(a=!1,l=!1){let c=z(l?a:!0),h=t6(),Z=j((o)=>{if(c.current!==o)c.current=o,h()},[h]);return M1(()=>{if(a)c.current=a}),[a||c.current,Z]}var Wp=Symbol("MOTION_DEFINITION"),Op=Symbol.for("interruptablePresence");function M5(a){return Object.assign((l)=>{let h={...h1(mn),...l},Z=Mn()==="skip",{appear:o,children:r,imperativeRef:e,onExit:v,onMotionFinish:M,onMotionStart:t,onMotionCancel:m,visible:A,unmountOnExit:H,...V}=h,i=V,[d,g]=tn(A,H),[u,L]=en(r,d),R=Zn(e),x=z({appear:o,params:i,skipMotions:Z}),s=hn(),p=Fh(),P=on(),G=H1((E)=>{t===null||t===void 0||t(null,{direction:E})}),Z1=H1((E)=>{if(M===null||M===void 0||M(null,{direction:E}),E==="exit"&&H)g(!1),v===null||v===void 0||v()}),o1=H1((E)=>{m===null||m===void 0||m(null,{direction:E})});if(J1(()=>{x.current={appear:o,params:i,skipMotions:Z}}),J1(()=>{let E=L.current;if(!E)return;let w;function S(){if(!w)return;if(Q&&w.isRunning())return;w.cancel(),R.current=void 0}let I=typeof a==="function"?a({element:E,...x.current.params}):a,Q=I[Op];if(Q){if(w=R.current,w&&w.isRunning())return w.reverse(),S}let N=A?I.enter:I.exit,A1=A?"enter":"exit",b=!x.current.appear&&p,i1=x.current.skipMotions;if(!b)G(A1);if(w=s(E,N,{isReducedMotion:P()}),b)return w.finish(),S;if(R.current=w,w.setMotionEndCallbacks(()=>Z1(A1),()=>o1(A1)),i1)w.finish();return S},[s,L,R,P,Z1,G,o1,A]),d)return u;return null},{[Wp]:typeof a==="function"?a:()=>a})}F();function o4(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 r=!l.defaultProps.visible&&l.defaultProps.unmountOnExit,e=(v,M)=>r?null:/*@__PURE__*/e1(V1,null,M.children);return{[p7]:e,[e5]:l.elementType}}let o={...l.defaultProps,...Z,[e5]:l.elementType};if(typeof h==="function")o[p7]=h;return o}var An=(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:r,toSize:e}=An(a,h);return{keyframes:[{[o]:Z,[r]:"hidden"},{[o]:e,offset:0.9999,[r]:"hidden"},{[o]:"unset",[r]:"unset"}],duration:l,easing:c}},Vn=({orientation:a,duration:l,easing:c,element:h,delay:Z=0,fromSize:o="0"})=>{let{sizeName:r,overflowName:e,toSize:v}=An(a,h);return{keyframes:[{[r]:v,[e]:"hidden"},{[r]:o,[e]:"hidden"}],duration:l,easing:c,fill:"both",delay:Z}},Pp=(a)=>{if(a==="horizontal")return{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"};return{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"}},Ge=({direction:a,orientation:l,duration:c,easing:h,delay:Z=0})=>{let{paddingStart:o,paddingEnd:r,marginStart:e,marginEnd:v}=Pp(l),M=a==="enter"?0:1,m={keyframes:[{[o]:"0",[r]:"0",[e]:"0",[v]:"0",offset:M}],duration:c,easing:h,delay:Z};if(a==="exit")m.fill="forwards";return m};var D6=({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 Yh=({enterSizeDuration:a=T1.durationNormal,enterOpacityDuration:l=a,enterEasing:c=T1.curveEasyEaseMax,enterDelay:h=0,exitSizeDuration:Z=a,exitOpacityDuration:o=l,exitEasing:r=c,exitDelay:e=0}={})=>({element:v,animateOpacity:M=!0,orientation:t="vertical"})=>{let m=[Hn({orientation:t,duration:a,easing:c,element:v}),Ge({direction:"enter",orientation:t,duration:a,easing:c})];if(M)m.push({...D6({direction:"enter",duration:l,easing:c}),delay:h,fill:"both"});let A=[];if(M)A.push(D6({direction:"exit",duration:o,easing:r}));return A.push(Vn({orientation:t,duration:Z,easing:r,element:v,delay:e}),Ge({direction:"exit",orientation:t,duration:Z,easing:r,delay:e})),{enter:m,exit:A}},Fa=({enterDuration:a=T1.durationNormal,enterEasing:l=T1.curveEasyEaseMax,exitDuration:c=a,exitEasing:h=l}={})=>Yh({enterSizeDuration:a,enterEasing:l,exitSizeDuration:c,exitEasing:h}),nn=M5(Fa()),dn=M5(Fa({enterDuration:T1.durationFast})),gn=M5(Fa({enterDuration:T1.durationSlower})),Qh=M5(Yh({enterSizeDuration:T1.durationNormal,enterOpacityDuration:T1.durationSlower,enterDelay:T1.durationNormal,exitDelay:T1.durationSlower,enterEasing:T1.curveEasyEase}));var Ca=({enterDuration:a=T1.durationNormal,enterEasing:l=T1.curveEasyEase,exitDuration:c=a,exitEasing:h=l}={})=>({enter:D6({direction:"enter",duration:a,easing:l}),exit:D6({direction:"exit",duration:c,easing:h})}),un=M5(Ca()),Ln=M5(Ca({enterDuration:T1.durationFast})),Xh=M5(Ca({enterDuration:T1.durationGentle}));F();F();var Ra=(a,l)=>{let{shape:c="circular",size:h="medium",iconPosition:Z="before",appearance:o="filled",color:r="brand"}=a;return{shape:c,size:h,iconPosition:Z,appearance:o,color:r,components:{root:"div",icon:"span"},root:f.always(_("div",{ref:l,...a}),{elementType:"div"}),icon:f.optional(a.icon,{elementType:"span"})}};var xa={root:"fui-Badge",icon:"fui-Badge__icon"},ey=Q1.spacingHorizontalXXS,Up=/*@__PURE__*/X("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__*/B({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);}"]}),Gp=/*@__PURE__*/X("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),zp=/*@__PURE__*/B({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;}"]}),pa=(a)=>{let l=Up(),c=Ip(),h=a.size==="small"||a.size==="extra-small"||a.size==="tiny";a.root.className=k(xa.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=Gp(),o=zp();if(a.icon){let r;if(a.root.children)if(a.size==="extra-large")r=a.iconPosition==="after"?o.afterTextXL:o.beforeTextXL;else r=a.iconPosition==="after"?o.afterText:o.beforeText;a.icon.className=k(xa.icon,Z,r,o[a.size],a.icon.className)}return a};var wa=(a)=>{return q(a),/*@__PURE__*/x1(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 Q0=/*@__PURE__*/U((a,l)=>{let c=Ra(a,l);return pa(c),K("useBadgeStyles_unstable")(c),wa(c)});Q0.displayName="Badge";F();var qp=v1(void 0);var Eh=qp.Provider;F();F();function Fn(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 ze="data-popper-is-intersecting",qe="data-popper-escaped",Ke="data-popper-reference-hidden",Cn="data-popper-placement",Da="fui-positioningend";var Rn=["top","right","bottom","left"];var{min:W7,max:x5,round:ka}=Math;var g2=(a)=>({x:a,y:a}),Kp={left:"right",right:"left",bottom:"top",top:"bottom"},bp={start:"end",end:"start"};function jh(a,l,c){return x5(a,W7(l,c))}function h7(a,l){return typeof a==="function"?a(l):a}function Z7(a){return a.split("-")[0]}function r4(a){return a.split("-")[1]}function Nh(a){return a==="x"?"y":"x"}function _h(a){return a==="y"?"height":"width"}function O7(a){return["top","bottom"].includes(Z7(a))?"y":"x"}function aZ(a){return Nh(O7(a))}function xn(a,l,c){if(c===void 0)c=!1;let h=r4(a),Z=aZ(a),o=_h(Z),r=Z==="x"?h===(c?"end":"start")?"right":"left":h==="start"?"bottom":"top";if(l.reference[o]>l.floating[o])r=Sa(r);return[r,Sa(r)]}function pn(a){let l=Sa(a);return[yh(a),l,yh(l)]}function yh(a){return a.replace(/start|end/g,(l)=>bp[l])}function $p(a,l,c){let h=["left","right"],Z=["right","left"],o=["top","bottom"],r=["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:r;default:return[]}}function wn(a,l,c,h){let Z=r4(a),o=$p(Z7(a),c==="start",h);if(Z){if(o=o.map((r)=>r+"-"+Z),l)o=o.concat(o.map(yh))}return o}function Sa(a){return a.replace(/left|right|bottom|top/g,(l)=>Kp[l])}function Jp(a){return{top:0,right:0,bottom:0,left:0,...a}}function be(a){return typeof a!=="number"?Jp(a):{top:a,right:a,bottom:a,left:a}}function e4(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=O7(l),r=aZ(l),e=_h(r),v=Z7(l),M=o==="y",t=h.x+h.width/2-Z.width/2,m=h.y+h.height/2-Z.height/2,A=h[e]/2-Z[e]/2,H;switch(v){case"top":H={x:t,y:h.y-Z.height};break;case"bottom":H={x:t,y:h.y+h.height};break;case"right":H={x:h.x+h.width,y:m};break;case"left":H={x:h.x-Z.width,y:m};break;default:H={x:h.x,y:h.y}}switch(r4(l)){case"start":H[r]-=A*(c&&M?-1:1);break;case"end":H[r]+=A*(c&&M?-1:1);break}return H}var sn=async(a,l,c)=>{let{placement:h="bottom",strategy:Z="absolute",middleware:o=[],platform:r}=c,e=o.filter(Boolean),v=await(r.isRTL==null?void 0:r.isRTL(l)),M=await r.getElementRects({reference:a,floating:l,strategy:Z}),{x:t,y:m}=Dn(M,h,v),A=h,H={},V=0;for(let i=0;i<e.length;i++){let{name:d,fn:g}=e[i],{x:u,y:L,data:R,reset:x}=await g({x:t,y:m,initialPlacement:h,placement:A,strategy:Z,middlewareData:H,rects:M,platform:r,elements:{reference:a,floating:l}});if(t=u!=null?u:t,m=L!=null?L:m,H={...H,[d]:{...H[d],...R}},x&&V<=50){if(V++,typeof x==="object"){if(x.placement)A=x.placement;if(x.rects)M=x.rects===!0?await r.getElementRects({reference:a,floating:l,strategy:Z}):x.rects;({x:t,y:m}=Dn(M,A,v))}i=-1}}return{x:t,y:m,placement:A,strategy:Z,middlewareData:H}};async function v4(a,l){var c;if(l===void 0)l={};let{x:h,y:Z,platform:o,rects:r,elements:e,strategy:v}=a,{boundary:M="clippingAncestors",rootBoundary:t="viewport",elementContext:m="floating",altBoundary:A=!1,padding:H=0}=h7(l,a),V=be(H),d=e[A?m==="floating"?"reference":"floating":m],g=e4(await o.getClippingRect({element:((c=await(o.isElement==null?void 0:o.isElement(d)))!=null?c:!0)?d:d.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(e.floating)),boundary:M,rootBoundary:t,strategy:v})),u=m==="floating"?{x:h,y:Z,width:r.floating.width,height:r.floating.height}:r.reference,L=await(o.getOffsetParent==null?void 0:o.getOffsetParent(e.floating)),R=await(o.isElement==null?void 0:o.isElement(L))?await(o.getScale==null?void 0:o.getScale(L))||{x:1,y:1}:{x:1,y:1},x=e4(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:e,rect:u,offsetParent:L,strategy:v}):u);return{top:(g.top-x.top+V.top)/R.y,bottom:(x.bottom-g.bottom+V.bottom)/R.y,left:(g.left-x.left+V.left)/R.x,right:(x.right-g.right+V.right)/R.x}}var fn=(a)=>({name:"arrow",options:a,async fn(l){let{x:c,y:h,placement:Z,rects:o,platform:r,elements:e,middlewareData:v}=l,{element:M,padding:t=0}=h7(a,l)||{};if(M==null)return{};let m=be(t),A={x:c,y:h},H=aZ(Z),V=_h(H),i=await r.getDimensions(M),d=H==="y",g=d?"top":"left",u=d?"bottom":"right",L=d?"clientHeight":"clientWidth",R=o.reference[V]+o.reference[H]-A[H]-o.floating[V],x=A[H]-o.reference[H],s=await(r.getOffsetParent==null?void 0:r.getOffsetParent(M)),p=s?s[L]:0;if(!p||!await(r.isElement==null?void 0:r.isElement(s)))p=e.floating[L]||o.floating[V];let P=R/2-x/2,G=p/2-i[V]/2-1,Z1=W7(m[g],G),o1=W7(m[u],G),E=Z1,w=p-i[V]-o1,S=p/2-i[V]/2+P,I=jh(E,S,w),Q=!v.arrow&&r4(Z)!=null&&S!==I&&o.reference[V]/2-(S<E?Z1:o1)-i[V]/2<0,N=Q?S<E?S-E:S-w:0;return{[H]:A[H]+N,data:{[H]:I,centerOffset:S-I-N,...Q&&{alignmentOffset:N}},reset:Q}}});var Bn=function(a){if(a===void 0)a={};return{name:"flip",options:a,async fn(l){var c,h;let{placement:Z,middlewareData:o,rects:r,initialPlacement:e,platform:v,elements:M}=l,{mainAxis:t=!0,crossAxis:m=!0,fallbackPlacements:A,fallbackStrategy:H="bestFit",fallbackAxisSideDirection:V="none",flipAlignment:i=!0,...d}=h7(a,l);if((c=o.arrow)!=null&&c.alignmentOffset)return{};let g=Z7(Z),u=O7(e),L=Z7(e)===e,R=await(v.isRTL==null?void 0:v.isRTL(M.floating)),x=A||(L||!i?[Sa(e)]:pn(e)),s=V!=="none";if(!A&&s)x.push(...wn(e,i,V,R));let p=[e,...x],P=await v4(l,d),G=[],Z1=((h=o.flip)==null?void 0:h.overflows)||[];if(t)G.push(P[g]);if(m){let S=xn(Z,r,R);G.push(P[S[0]],P[S[1]])}if(Z1=[...Z1,{placement:Z,overflows:G}],!G.every((S)=>S<=0)){var o1,E;let S=(((o1=o.flip)==null?void 0:o1.index)||0)+1,I=p[S];if(I)return{data:{index:S,overflows:Z1},reset:{placement:I}};let Q=(E=Z1.filter((N)=>N.overflows[0]<=0).sort((N,A1)=>N.overflows[1]-A1.overflows[1])[0])==null?void 0:E.placement;if(!Q)switch(H){case"bestFit":{var w;let N=(w=Z1.filter((A1)=>{if(s){let b=O7(A1.placement);return b===u||b==="y"}return!0}).map((A1)=>[A1.placement,A1.overflows.filter((b)=>b>0).reduce((b,i1)=>b+i1,0)]).sort((A1,b)=>A1[1]-b[1])[0])==null?void 0:w[0];if(N)Q=N;break}case"initialPlacement":Q=e;break}if(Z!==Q)return{reset:{placement:Q}}}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}=h7(a,l);switch(h){case"referenceHidden":{let o=await v4(l,{...Z,elementContext:"reference"}),r=Sn(o,c.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:kn(r)}}}case"escaped":{let o=await v4(l,{...Z,altBoundary:!0}),r=Sn(o,c.floating);return{data:{escapedOffsets:r,escaped:kn(r)}}}default:return{}}}}};async function Yp(a,l){let{placement:c,platform:h,elements:Z}=a,o=await(h.isRTL==null?void 0:h.isRTL(Z.floating)),r=Z7(c),e=r4(c),v=O7(c)==="y",M=["left","top"].includes(r)?-1:1,t=o&&v?-1:1,m=h7(l,a),{mainAxis:A,crossAxis:H,alignmentAxis:V}=typeof m==="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};if(e&&typeof V==="number")H=e==="end"?V*-1:V;return v?{x:H*t,y:A*M}:{x:A*M,y:H*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:r,middlewareData:e}=l,v=await Yp(l,a);if(r===((c=e.offset)==null?void 0:c.placement)&&(h=e.arrow)!=null&&h.alignmentOffset)return{};return{x:Z+v.x,y:o+v.y,data:{...v,placement:r}}}}},On=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:r=!1,limiter:e={fn:(d)=>{let{x:g,y:u}=d;return{x:g,y:u}}},...v}=h7(a,l),M={x:c,y:h},t=await v4(l,v),m=O7(Z7(Z)),A=Nh(m),H=M[A],V=M[m];if(o){let d=A==="y"?"top":"left",g=A==="y"?"bottom":"right",u=H+t[d],L=H-t[g];H=jh(u,H,L)}if(r){let d=m==="y"?"top":"left",g=m==="y"?"bottom":"right",u=V+t[d],L=V-t[g];V=jh(u,V,L)}let i=e.fn({...l,[A]:H,[m]:V});return{...i,data:{x:i.x-c,y:i.y-h,enabled:{[A]:o,[m]:r}}}}}},Pn=function(a){if(a===void 0)a={};return{options:a,fn(l){let{x:c,y:h,placement:Z,rects:o,middlewareData:r}=l,{offset:e=0,mainAxis:v=!0,crossAxis:M=!0}=h7(a,l),t={x:c,y:h},m=O7(Z),A=Nh(m),H=t[A],V=t[m],i=h7(e,l),d=typeof i==="number"?{mainAxis:i,crossAxis:0}:{mainAxis:0,crossAxis:0,...i};if(v){let L=A==="y"?"height":"width",R=o.reference[A]-o.floating[L]+d.mainAxis,x=o.reference[A]+o.reference[L]-d.mainAxis;if(H<R)H=R;else if(H>x)H=x}if(M){var g,u;let L=A==="y"?"width":"height",R=["top","left"].includes(Z7(Z)),x=o.reference[m]-o.floating[L]+(R?((g=r.offset)==null?void 0:g[m])||0:0)+(R?0:d.crossAxis),s=o.reference[m]+o.reference[L]+(R?0:((u=r.offset)==null?void 0:u[m])||0)-(R?d.crossAxis:0);if(V<x)V=x;else if(V>s)V=s}return{[A]:H,[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:r,elements:e}=l,{apply:v=()=>{},...M}=h7(a,l),t=await v4(l,M),m=Z7(Z),A=r4(Z),H=O7(Z)==="y",{width:V,height:i}=o.floating,d,g;if(m==="top"||m==="bottom")d=m,g=A===(await(r.isRTL==null?void 0:r.isRTL(e.floating))?"start":"end")?"left":"right";else g=m,d=A==="end"?"top":"bottom";let u=i-t.top-t.bottom,L=V-t.left-t.right,R=W7(i-t[d],u),x=W7(V-t[g],L),s=!l.middlewareData.shift,p=R,P=x;if((c=l.middlewareData.shift)!=null&&c.enabled.x)P=L;if((h=l.middlewareData.shift)!=null&&h.enabled.y)p=u;if(s&&!A){let Z1=x5(t.left,0),o1=x5(t.right,0),E=x5(t.top,0),w=x5(t.bottom,0);if(H)P=V-2*(Z1!==0||o1!==0?Z1+o1:x5(t.left,t.right));else p=i-2*(E!==0||w!==0?E+w:x5(t.top,t.bottom))}await v({...l,availableWidth:P,availableHeight:p});let G=await r.getDimensions(e.floating);if(V!==G.width||i!==G.height)return{reset:{rects:!0}};return{}}}};function cZ(){return typeof window!=="undefined"}function M4(a){if(Gn(a))return(a.nodeName||"").toLowerCase();return"#document"}function p5(a){var l;return(a==null||(l=a.ownerDocument)==null?void 0:l.defaultView)||window}function o7(a){var l;return(l=(Gn(a)?a.ownerDocument:a.document)||window.document)==null?void 0:l.documentElement}function Gn(a){if(!cZ())return!1;return a instanceof Node||a instanceof p5(a).Node}function N5(a){if(!cZ())return!1;return a instanceof Element||a instanceof p5(a).Element}function u2(a){if(!cZ())return!1;return a instanceof HTMLElement||a instanceof p5(a).HTMLElement}function In(a){if(!cZ()||typeof ShadowRoot==="undefined")return!1;return a instanceof ShadowRoot||a instanceof p5(a).ShadowRoot}function S6(a){let{overflow:l,overflowX:c,overflowY:h,display:Z}=_5(a);return/auto|scroll|overlay|hidden|clip/.test(l+h+c)&&!["inline","contents"].includes(Z)}function zn(a){return["table","td","th"].includes(M4(a))}function sa(a){return[":popover-open",":modal"].some((l)=>{try{return a.matches(l)}catch(c){return!1}})}function hZ(a){let l=ZZ(),c=N5(a)?_5(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=P7(a);while(u2(l)&&!m4(l)){if(hZ(l))return l;else if(sa(l))return null;l=P7(l)}return null}function ZZ(){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 _5(a){return p5(a).getComputedStyle(a)}function fa(a){if(N5(a))return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop};return{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function P7(a){if(M4(a)==="html")return a;let l=a.assignedSlot||a.parentNode||In(a)&&a.host||o7(a);return In(l)?l.host:l}function Kn(a){let l=P7(a);if(m4(l))return a.ownerDocument?a.ownerDocument.body:a.body;if(u2(l)&&S6(l))return l;return Kn(l)}function lZ(a,l,c){var h;if(l===void 0)l=[];if(c===void 0)c=!0;let Z=Kn(a),o=Z===((h=a.ownerDocument)==null?void 0:h.body),r=p5(Z);if(o){let e=oZ(r);return l.concat(r,r.visualViewport||[],S6(Z)?Z:[],e&&c?lZ(e):[])}return l.concat(Z,lZ(Z,[],c))}function oZ(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function Jn(a){let l=_5(a),c=parseFloat(l.width)||0,h=parseFloat(l.height)||0,Z=u2(a),o=Z?a.offsetWidth:c,r=Z?a.offsetHeight:h,e=ka(c)!==o||ka(h)!==r;if(e)c=o,h=r;return{width:c,height:h,$:e}}function Yn(a){return!N5(a)?a.contextElement:a}function k6(a){let l=Yn(a);if(!u2(l))return g2(1);let c=l.getBoundingClientRect(),{width:h,height:Z,$:o}=Jn(l),r=(o?ka(c.width):c.width)/h,e=(o?ka(c.height):c.height)/Z;if(!r||!Number.isFinite(r))r=1;if(!e||!Number.isFinite(e))e=1;return{x:r,y:e}}var Qp=/*@__PURE__*/g2(0);function Qn(a){let l=p5(a);if(!ZZ()||!l.visualViewport)return Qp;return{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function Xp(a,l,c){if(l===void 0)l=!1;if(!c||l&&c!==p5(a))return!1;return l}function Ba(a,l,c,h){if(l===void 0)l=!1;if(c===void 0)c=!1;let Z=a.getBoundingClientRect(),o=Yn(a),r=g2(1);if(l)if(h){if(N5(h))r=k6(h)}else r=k6(a);let e=Xp(o,c,h)?Qn(o):g2(0),v=(Z.left+e.x)/r.x,M=(Z.top+e.y)/r.y,t=Z.width/r.x,m=Z.height/r.y;if(o){let A=p5(o),H=h&&N5(h)?p5(h):h,V=A,i=oZ(V);while(i&&h&&H!==V){let d=k6(i),g=i.getBoundingClientRect(),u=_5(i),L=g.left+(i.clientLeft+parseFloat(u.paddingLeft))*d.x,R=g.top+(i.clientTop+parseFloat(u.paddingTop))*d.y;v*=d.x,M*=d.y,t*=d.x,m*=d.y,v+=L,M+=R,V=p5(i),i=oZ(V)}}return e4({width:t,height:m,x:v,y:M})}function Je(a,l){let c=fa(a).scrollLeft;if(!l)return Ba(o7(a)).left+c;return l.left+c}function Xn(a,l,c){if(c===void 0)c=!1;let h=a.getBoundingClientRect(),Z=h.left+l.scrollLeft-(c?0:Je(a,h)),o=h.top+l.scrollTop;return{x:Z,y:o}}function Ep(a){let{elements:l,rect:c,offsetParent:h,strategy:Z}=a,o=Z==="fixed",r=o7(h),e=l?sa(l.floating):!1;if(h===r||e&&o)return c;let v={scrollLeft:0,scrollTop:0},M=g2(1),t=g2(0),m=u2(h);if(m||!m&&!o){if(M4(h)!=="body"||S6(r))v=fa(h);if(u2(h)){let H=Ba(h);M=k6(h),t.x=H.x+h.clientLeft,t.y=H.y+h.clientTop}}let A=r&&!m&&!o?Xn(r,v,!0):g2(0);return{width:c.width*M.x,height:c.height*M.y,x:c.x*M.x-v.scrollLeft*M.x+t.x+A.x,y:c.y*M.y-v.scrollTop*M.y+t.y+A.y}}function yp(a){return Array.from(a.getClientRects())}function jp(a){let l=o7(a),c=fa(a),h=a.ownerDocument.body,Z=x5(l.scrollWidth,l.clientWidth,h.scrollWidth,h.clientWidth),o=x5(l.scrollHeight,l.clientHeight,h.scrollHeight,h.clientHeight),r=-c.scrollLeft+Je(a),e=-c.scrollTop;if(_5(h).direction==="rtl")r+=x5(l.clientWidth,h.clientWidth)-Z;return{width:Z,height:o,x:r,y:e}}function Np(a,l){let c=p5(a),h=o7(a),Z=c.visualViewport,o=h.clientWidth,r=h.clientHeight,e=0,v=0;if(Z){o=Z.width,r=Z.height;let M=ZZ();if(!M||M&&l==="fixed")e=Z.offsetLeft,v=Z.offsetTop}return{width:o,height:r,x:e,y:v}}function _p(a,l){let c=Ba(a,!0,l==="fixed"),h=c.top+a.clientTop,Z=c.left+a.clientLeft,o=u2(a)?k6(a):g2(1),r=a.clientWidth*o.x,e=a.clientHeight*o.y,v=Z*o.x,M=h*o.y;return{width:r,height:e,x:v,y:M}}function bn(a,l,c){let h;if(l==="viewport")h=Np(a,c);else if(l==="document")h=jp(o7(a));else if(N5(l))h=_p(l,c);else{let Z=Qn(a);h={x:l.x-Z.x,y:l.y-Z.y,width:l.width,height:l.height}}return e4(h)}function En(a,l){let c=P7(a);if(c===l||!N5(c)||m4(c))return!1;return _5(c).position==="fixed"||En(c,l)}function aw(a,l){let c=l.get(a);if(c)return c;let h=lZ(a,[],!1).filter((e)=>N5(e)&&M4(e)!=="body"),Z=null,o=_5(a).position==="fixed",r=o?P7(a):a;while(N5(r)&&!m4(r)){let e=_5(r),v=hZ(r);if(!v&&e.position==="fixed")Z=null;if(o?!v&&!Z:!v&&e.position==="static"&&!!Z&&["absolute","fixed"].includes(Z.position)||S6(r)&&!v&&En(a,r))h=h.filter((t)=>t!==r);else Z=e;r=P7(r)}return l.set(a,h),h}function lw(a){let{element:l,boundary:c,rootBoundary:h,strategy:Z}=a,r=[...c==="clippingAncestors"?sa(l)?[]:aw(l,this._c):[].concat(c),h],e=r[0],v=r.reduce((M,t)=>{let m=bn(l,t,Z);return M.top=x5(m.top,M.top),M.right=W7(m.right,M.right),M.bottom=W7(m.bottom,M.bottom),M.left=x5(m.left,M.left),M},bn(l,e,Z));return{width:v.right-v.left,height:v.bottom-v.top,x:v.left,y:v.top}}function cw(a){let{width:l,height:c}=Jn(a);return{width:l,height:c}}function hw(a,l,c){let h=u2(l),Z=o7(l),o=c==="fixed",r=Ba(a,!0,o,l),e={scrollLeft:0,scrollTop:0},v=g2(0);if(h||!h&&!o){if(M4(l)!=="body"||S6(Z))e=fa(l);if(h){let A=Ba(l,!0,o,l);v.x=A.x+l.clientLeft,v.y=A.y+l.clientTop}else if(Z)v.x=Je(Z)}let M=Z&&!h&&!o?Xn(Z,e):g2(0),t=r.left+e.scrollLeft-v.x-M.x,m=r.top+e.scrollTop-v.y-M.y;return{x:t,y:m,width:r.width,height:r.height}}function $e(a){return _5(a).position==="static"}function $n(a,l){if(!u2(a)||_5(a).position==="fixed")return null;if(l)return l(a);let c=a.offsetParent;if(o7(a)===c)c=c.ownerDocument.body;return c}function yn(a,l){let c=p5(a);if(sa(a))return c;if(!u2(a)){let Z=P7(a);while(Z&&!m4(Z)){if(N5(Z)&&!$e(Z))return Z;Z=P7(Z)}return c}let h=$n(a,l);while(h&&zn(h)&&$e(h))h=$n(h,l);if(h&&m4(h)&&$e(h)&&!hZ(h))return c;return h||qn(a)||c}var Zw=async function(a){let l=this.getOffsetParent||yn,c=this.getDimensions,h=await c(a.floating);return{reference:hw(a.reference,await l(a.floating),a.strategy),floating:{x:0,y:0,width:h.width,height:h.height}}};function ow(a){return _5(a).direction==="rtl"}var rw={convertOffsetParentRelativeRectToViewportRelativeRect:Ep,getDocumentElement:o7,getClippingRect:lw,getOffsetParent:yn,getElementRects:Zw,getClientRects:yp,getDimensions:cw,getScale:k6,isElement:N5,isRTL:ow};var jn=v4,Nn=Wn;var _n=On,ad=Bn,ld=Un,Ye=Tn,cd=fn;var Qe=Pn,hd=(a,l,c)=>{let h=/*@__PURE__*/new Map,Z={platform:rw,...c},o={...Z.platform,_c:h};return sn(a,l,{...Z,platform:o})};F();function Ta(a){let l=a.split("-");return{side:l[0],alignment:l[1]}}var Zd=(a)=>{if(a.nodeName==="HTML")return a;return a.parentNode||a.host},ew=(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{}},t4=(a)=>{let l=a&&Zd(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}=ew(l);if(/(auto|scroll|overlay)/.test(c+Z+h))return l;return t4(l)},Xe=(a)=>{var l;let c=t4(a);return c?c!==((l=c.ownerDocument)===null||l===void 0?void 0:l.body):!1};function A4(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=t4(a);if(c.nodeName==="BODY")c=a===null||a===void 0?void 0:a.ownerDocument.documentElement;return c}return l}F();var od;(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"})(od||(od={}));function rd(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 rZ(a,l){if(typeof a==="number")return Ee(a,l);if(typeof a==="object"&&a!==null)return Ee(a,l);if(typeof a==="function")return(c)=>{let h=a(c);return Ee(h,l)};return{mainAxis:l}}var Ee=(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 Wa(a,l){if(typeof a==="number")return a;let{start:c,end:h,...Z}=a,o=Z,r=l?"end":"start",e=l?"start":"end";if(a[r])o.left=a[r];if(a[e])o.right=a[e];return o}var vw=(a)=>({above:"top",below:"bottom",before:a?"right":"left",after:a?"left":"right"}),Mw=()=>({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},Oa=(a,l,c)=>{let h=mw(l,a)?"center":a,Z=l&&vw(c)[l],o=h&&Mw()[h];if(Z&&o)return`${Z}-${o}`;return Z};var tw=()=>({top:"above",bottom:"below",right:"after",left:"before"}),Aw=(a)=>{if(a==="above"||a==="below")return{start:"start",end:"end"};return{start:"top",end:"bottom"}},Pa=(a)=>{let{side:l,alignment:c}=Ta(a),h=tw()[l],Z=c&&Aw(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 s6(a){if(a===void 0||a===null)return{};if(typeof a==="string")return Hw[a];return a}F();function Ua(a,l,c){let h=z(!0),[Z]=m1(()=>({value:a,callback:l,facade:{get current(){return Z.value},set current(o){let r=Z.value;if(r!==o){if(Z.value=o,c&&h.current)return;Z.callback(o,r)}}}}));return J1(()=>{h.current=!1},[]),Z.callback=l,Z.facade}function ye(a){let l;return()=>{if(!l)l=new Promise((c)=>{Promise.resolve().then(()=>{l=void 0,c(a())})});return l}}function Vw(a){if(a.nodeName==="BUTTON"||a.nodeName==="INPUT"||a.nodeName==="SELECT"||a.nodeName==="TEXTAREA"){var c;return!!((c=rd(a))===null||c===void 0?void 0:c.pendingProps.autoFocus)}return!1}function je(a){return Vw(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function Ne(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 _e(a){var l,c,h;let{container:Z,placement:o,middlewareData:r,strategy:e,lowPPI:v,coordinates:M,useTransform:t=!0}=a;if(!Z)return;if(Z.setAttribute(Cn,o),Z.removeAttribute(ze),r.intersectionObserver.intersecting)Z.setAttribute(ze,"");if(Z.removeAttribute(qe),(l=r.hide)===null||l===void 0?void 0:l.escaped)Z.setAttribute(qe,"");if(Z.removeAttribute(Ke),(c=r.hide)===null||c===void 0?void 0:c.referenceHidden)Z.setAttribute(Ke,"");let m=((h=Z.ownerDocument.defaultView)===null||h===void 0?void 0:h.devicePixelRatio)||1,A=Math.round(M.x*m)/m,H=Math.round(M.y*m)/m;if(Object.assign(Z.style,{position:e}),t){Object.assign(Z.style,{transform:v?`translate(${A}px, ${H}px)`:`translate3d(${A}px, ${H}px, 0)`});return}Object.assign(Z.style,{left:`${A}px`,top:`${H}px`})}var av=(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 lv(){return{name:"coverTarget",fn:(a)=>{let{placement:l,rects:c,x:h,y:Z}=a,o=Ta(l).side,r={x:h,y:Z};switch(o){case"bottom":r.y-=c.reference.height;break;case"top":r.y+=c.reference.height;break;case"left":r.x+=c.reference.width;break;case"right":r.x-=c.reference.width;break}return r}}}function cv(a){let{hasScrollableElement:l,flipBoundary:c,container:h,fallbackPositions:Z=[],isRtl:o}=a,r=Z.reduce((e,v)=>{let{position:M,align:t}=s6(v),m=Oa(t,M,o);if(m)e.push(m);return e},[]);return ad({...l&&{boundary:"clippingAncestors"},...c&&{altBoundary:!0,boundary:A4(h,c)},fallbackStrategy:"bestFit",...r.length&&{fallbackPlacements:r}})}function hv(){return{name:"intersectionObserver",fn:async(a)=>{let l=a.rects.floating,c=await jn(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 Zv=(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 ov(a,l){let{container:c,overflowBoundary:h,overflowBoundaryPadding:Z,isRtl:o}=l;return ld({...Z&&{padding:Wa(Z,o)},...h&&{altBoundary:!0,boundary:A4(c,h)},apply({availableHeight:r,availableWidth:e,elements:v,rects:M}){let t=(H,V,i)=>{if(!H)return;if(v.floating.style.setProperty("box-sizing","border-box"),v.floating.style.setProperty(`max-${V}`,`${i}px`),M.floating[V]>i){v.floating.style.setProperty(V,`${i}px`);let d=V==="width"?"x":"y";if(!v.floating.style.getPropertyValue(`overflow-${d}`))v.floating.style.setProperty(`overflow-${d}`,"auto")}},{applyMaxWidth:m,applyMaxHeight:A}=a;t(m,"width",e),t(A,"height",r)}})}function ed(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 rv(a){let l=ed(a);return Nn(l)}function ev(a){let{hasScrollableElement:l,shiftToCoverTarget:c,disableTether:h,overflowBoundary:Z,container:o,overflowBoundaryPadding:r,isRtl:e}=a;return _n({...l&&{boundary:"clippingAncestors"},...c&&{crossAxis:!0,limiter:Qe({crossAxis:!0,mainAxis:!1})},...h&&{crossAxis:h==="all",limiter:Qe({crossAxis:h!=="all",mainAxis:!1})},...r&&{padding:Wa(r,e)},...Z&&{altBoundary:!0,boundary:A4(o,Z)}})}function vv(){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}}}}}function f6(a){let l=[],c=a;while(c){let h=t4(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 vd(a,l){return new a.ResizeObserver(l)}function Md(a){let l=!1,{container:c,target:h,arrow:Z,strategy:o,middleware:r,placement:e,useTransform:v=!0,disableUpdateOnResize:M=!1}=a,t=c.ownerDocument.defaultView;if(!h||!c||!t)return{updatePosition:()=>{return},dispose:()=>{return}};let m=M?null:vd(t,(g)=>{if(g.every((L)=>{return L.contentRect.width>0&&L.contentRect.height>0}))i()}),A=!0,H=/*@__PURE__*/new Set;Object.assign(c.style,{position:"fixed",left:0,top:0,margin:0});let V=()=>{if(l)return;if(A){if(f6(c).forEach((g)=>H.add(g)),z1(h))f6(h).forEach((g)=>H.add(g));if(H.forEach((g)=>{g.addEventListener("scroll",i,{passive:!0})}),m===null||m===void 0||m.observe(c),z1(h))m===null||m===void 0||m.observe(h);A=!1}Object.assign(c.style,{position:o}),hd(h,c,{placement:e,middleware:r,strategy:o}).then(({x:g,y:u,middlewareData:L,placement:R})=>{if(l)return;Ne({arrow:Z,middlewareData:L}),_e({container:c,middlewareData:L,placement:R,coordinates:{x:g,y:u},lowPPI:((t===null||t===void 0?void 0:t.devicePixelRatio)||1)<=1,strategy:o,useTransform:v}),c.dispatchEvent(new CustomEvent(Da))}).catch((g)=>{console.error("[usePositioning]: Failed to calculate position",g)})},i=ye(()=>V()),d=()=>{if(l=!0,t)t.removeEventListener("scroll",i),t.removeEventListener("resize",i);H.forEach((g)=>{g.removeEventListener("scroll",i)}),H.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:d}}function md(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 td=(a)=>Boolean(md(a)&&"__FUIDT_ELEMENT_METADATA__"in a&&a.parentElement!==null),iw=(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(td(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},nw=(a)=>{let{defaultView:l}=a;if(!l)return;if(!l.__FUIDT_CONTROLLER__)l.__FUIDT_CONTROLLER__=iw(l)},dw=(a)=>{var l,c;return nw(a),(l=(c=a.defaultView)==null?void 0:c.__FUIDT_CONTROLLER__)!=null?l:null},gw=(a,l)=>{return JSON.parse(JSON.stringify(a,(h,Z)=>{if(md(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}))},uw=0,Lw=()=>"__FUIDT_HTML_ELEMENT_REFERENCE__:"+uw++,Fw=()=>{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)}}},Ad=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}=td(c.elements.floating)?c.elements.floating:Object.assign(c.elements.floating,{["__FUIDT_ELEMENT_METADATA__"]:{references:Fw(),serializedData:[]}}),Z=gw(l(c),h.references);h.serializedData.unshift(Z);let o=dw(a);if(h.serializedData.length>1&&c.elements.floating===(o==null?void 0:o.selectedElement)){var r;(r=a.defaultView)==null||r.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}return{}}}},Cw=(a)=>({...a,type:"FloatingUIMiddleware"});var Hd=(a)=>(l)=>{let{elements:{floating:c,reference:h}}=l,Z=/*@__PURE__*/new Set;if(z1(h))f6(h).forEach((e)=>Z.add(e));f6(c).forEach((e)=>Z.add(e));let o=Array.isArray(a.flipBoundary)?a.flipBoundary:z1(a.flipBoundary)?[a.flipBoundary]:[],r=Array.isArray(a.overflowBoundary)?a.overflowBoundary:z1(a.overflowBoundary)?[a.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:l,options:a,initialPlacement:Pa(l.initialPlacement),placement:Pa(l.placement),flipBoundaries:o,overflowBoundaries:r,scrollParents:Array.from(Z)}};function Mv(a){let l=z(null),c=z(null),h=z(null),Z=z(null),o=z(null),{enabled:r=!0}=a,e=Rw(a),v=j(()=>{if(l.current)l.current.dispose();l.current=null;var V;let i=(V=h.current)!==null&&V!==void 0?V:c.current;if(r&&Z3()&&i&&Z.current)l.current=Md({container:Z.current,target:i,arrow:o.current,...e(Z.current,o.current)})},[r,e]),M=H1((V)=>{h.current=V,v()});V5(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]),J1(()=>{var V;M((V=a.target)!==null&&V!==void 0?V:null)},[a.target,M]),J1(()=>{v()},[v]),M1(()=>{if(Z.current){var V;let i=Z.current,d=(V=i.ownerDocument)===null||V===void 0?void 0:V.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,{acceptNode:je});while(d.nextNode()){let g=d.currentNode;console.warn("<Popper>:",g),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",`
|
|
132
|
+
`,'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 t=Ua(null,(V)=>{if(c.current!==V)c.current=V,v()}),m=H1(()=>{var V;return(V=a.onPositioningEnd)===null||V===void 0?void 0:V.call(a)}),A=Ua(null,(V)=>{if(Z.current!==V){var i;(i=Z.current)===null||i===void 0||i.removeEventListener(Da,m),V===null||V===void 0||V.addEventListener(Da,m),Z.current=V,v()}}),H=Ua(null,(V)=>{if(o.current!==V)o.current=V,v()});return{targetRef:t,containerRef:A,arrowRef:H}}function Rw(a){let{align:l,arrowPadding:c,autoSize:h,coverTarget:Z,flipBoundary:o,offset:r,overflowBoundary:e,pinned:v,position:M,unstable_disableTether:t,positionFixed:m,strategy:A,overflowBoundaryPadding:H,fallbackPositions:V,useTransform:i,matchTargetSize:d,disableUpdateOnResize:g=!1,shiftToCoverTarget:u}=a,{dir:L,targetDocument:R}=F1(),x=L==="rtl",s=(A!==null&&A!==void 0?A:m)?"fixed":"absolute",p=av(h);return j((P,G)=>{let Z1=Xe(P),o1=[p&&Zv(p),d&&vv(),r&&rv(r),Z&&lv(),!v&&cv({container:P,flipBoundary:o,hasScrollableElement:Z1,isRtl:x,fallbackPositions:V}),ev({container:P,hasScrollableElement:Z1,overflowBoundary:e,disableTether:t,overflowBoundaryPadding:H,isRtl:x,shiftToCoverTarget:u}),p&&ov(p,{container:P,overflowBoundary:e,overflowBoundaryPadding:H,isRtl:x}),hv(),G&&cd({element:G,padding:c}),Ye({strategy:"referenceHidden"}),Ye({strategy:"escaped"}),R&&Ad(R,Hd(a))].filter(Boolean);return{placement:Oa(l,M,x),middleware:o1,strategy:s,useTransform:i,disableUpdateOnResize:g}},[l,c,p,Z,t,o,x,r,e,v,M,s,H,V,i,d,R,g])}F();var mv=(a)=>{let[l,c]=m1(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 r=Fn(o);c(r)}]};F();F();var eZ=c4(void 0),xw={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},pw=eZ.Provider,p0=(a)=>x6(eZ,(l=xw)=>a(l));var Ia=(a,l)=>{let c=p0((u)=>u.contentRef),h=p0((u)=>u.openOnHover),Z=p0((u)=>u.setOpen),o=p0((u)=>u.mountNode),r=p0((u)=>u.arrowRef),e=p0((u)=>u.size),v=p0((u)=>u.withArrow),M=p0((u)=>u.appearance),t=p0((u)=>u.trapFocus),m=p0((u)=>u.inertTrapFocus),A=p0((u)=>u.inline),{modalAttributes:H}=i2({trapFocus:t,legacyTrapFocus:!m,alwaysFocusable:!t}),V={inline:A,appearance:M,withArrow:v,size:e,arrowRef:r,mountNode:o,components:{root:"div"},root:f.always(_("div",{ref:Y1(l,c),role:t?"dialog":"group","aria-modal":t?!0:void 0,...H,...a}),{elementType:"div"})},{onMouseEnter:i,onMouseLeave:d,onKeyDown:g}=V.root;return V.root.onMouseEnter=(u)=>{if(h)Z(u,!0);i===null||i===void 0||i(u)},V.root.onMouseLeave=(u)=>{if(h)Z(u,!1);d===null||d===void 0||d(u)},V.root.onKeyDown=(u)=>{var L;if(u.key==="Escape"&&((L=c.current)===null||L===void 0?void 0:L.contains(u.target)))u.preventDefault(),Z(u,!1);g===null||g===void 0||g(u)},V};F();F();function Ga(a){if(z1(a))return{element:a};if(typeof a==="object"){if(a===null)return{element:null};return a}return{}}F();var H4={};Oc(H4,{version:()=>$3,useTransition:()=>bc,useSyncExternalStore:()=>zc,useState:()=>m1,useRef:()=>z,useReducer:()=>$5,useMemo:()=>u1,useLayoutEffect:()=>t2,useInsertionEffect:()=>J5,useImperativeHandle:()=>V5,useId:()=>K3,useErrorBoundary:()=>Gc,useEffect:()=>M1,useDeferredValue:()=>Kc,useDebugValue:()=>D8,useContext:()=>h1,useCallback:()=>j,unstable_batchedUpdates:()=>Ar,unmountComponentAtNode:()=>T8,startTransition:()=>qc,render:()=>f8,memo:()=>k8,lazy:()=>rr,isValidElement:()=>o5,isMemo:()=>mr,isFragment:()=>Mr,isElement:()=>ir,hydrate:()=>$c,forwardRef:()=>U,flushSync:()=>Hr,findDOMNode:()=>tr,default:()=>W8,createRef:()=>Z5,createPortal:()=>s8,createFactory:()=>vr,createElement:()=>e1,createContext:()=>v1,cloneElement:()=>j7,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>B8,SuspenseList:()=>b3,Suspense:()=>Q4,StrictMode:()=>Vr,PureComponent:()=>S8,Fragment:()=>V1,Component:()=>h5,Children:()=>u7});F();F();var tv=()=>{try{return H4["".concat("__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE")].A.getOwner()}catch{}try{return H4["".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")}},Vd=/*@__PURE__*/Symbol.for("react.strict_mode"),ww=()=>{let a=z(void 0),l=u1(()=>{return Number($3.split(".")[0])},[$3]);if(isNaN(l)||l<18)return!1;if(a.current===void 0){let c=tv();while(c&&c.return)if(c=c.return,c.type===Vd||c.elementType===Vd)a.current=!0}return!!a.current},id=/*@__PURE__*/new WeakSet;function Dw(a,l){let c=tv();M1(()=>{if(!id.has(c)){id.add(c),a();return}return a()},l)}var nd=/*@__PURE__*/new WeakSet;function Sw(a,l){return u1(()=>{let c=tv();if(!nd.has(c))return nd.add(c),null;return a()},l)}function dd(a,l){var c;let h=ww()&&!0,Z=h?Sw:u1,o=h?Dw:M1,[r,e]=(c=Z(()=>a(),l))!=null?c:[null,()=>null];return o(()=>{return e},l),r}var gd=/*@__PURE__*/B({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 ud=J5,Ld=(a)=>{let{targetDocument:l,dir:c}=F1(),h=Nr(),Z=f7(),o=gd(),r=j8(),e=k(r,o.root,a.className),v=h!==null&&h!==void 0?h:l===null||l===void 0?void 0:l.body,M=dd(()=>{if(v===void 0||a.disabled)return[null,()=>null];let t=v.ownerDocument.createElement("div");return v.appendChild(t),[t,()=>t.remove()]},[v]);if(ud)ud(()=>{if(!M)return;let t=e.split(" ").filter(Boolean);return M.classList.add(...t),M.setAttribute("dir",c),M.setAttribute("data-portal-node","true"),Z.current=M,()=>{M.classList.remove(...t),M.removeAttribute("dir")}},[e,c,M,Z]);else u1(()=>{if(!M)return;M.className=e,M.setAttribute("dir",c),M.setAttribute("data-portal-node","true"),Z.current=M},[e,c,M,Z]);return M};var Av=(a)=>{let{element:l,className:c}=Ga(a.mountNode),h=z(null),Z=Ld({disabled:!!l,className:c}),o=l!==null&&l!==void 0?l:Z,r={children:a.children,mountNode:o,virtualParentRootRef:h};return M1(()=>{if(!o)return;let e=h.current,v=o.contains(e);if(e&&!v)return Za(o,e),()=>{Za(o,void 0)}},[h,o]),r};F();F();var Hv=(a)=>{return/*@__PURE__*/e1("span",{hidden:!0,ref:a.virtualParentRootRef},a.mountNode&&/*@__PURE__*/s8(a.children,a.mountNode))};var U7=(a)=>{let l=Av(a);return Hv(l)};U7.displayName="Portal";var za=(a)=>{q(a);let l=/*@__PURE__*/x1(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 qa={root:"fui-PopoverSurface"},B6={small:6,medium:8,large:8},kw=/*@__PURE__*/B({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=kw();return a.root.className=k(qa.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 L2=/*@__PURE__*/U((a,l)=>{let c=Ia(a,l);return T6(c),K("usePopoverSurfaceStyles_unstable")(c),za(c)});L2.displayName="PopoverSurface";var Fd=4;var Ka=(a)=>{let[l,c]=mv(),h={size:"medium",contextTarget:l,setContextTarget:c,...a},Z=u7.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,r=void 0;if(Z.length===2)o=Z[0],r=Z[1];else if(Z.length===1)r=Z[0];let[e,v]=sw(h),[M,t]=y2(),m=H1((x,s)=>{if(t(),!(x instanceof Event)&&x.persist)x.persist();if(x.type==="mouseleave"){var p;M(()=>{v(x,s)},(p=a.mouseLeaveDelay)!==null&&p!==void 0?p:500)}else v(x,s)}),A=j((x)=>{m(x,!e)},[m,e]),H=fw(h),{targetDocument:V}=F1();var i;Ch({contains:ha,element:V,callback:(x)=>m(x,!1),refs:[H.triggerRef,H.contentRef],disabled:!e,disabledFocusOnIframe:!((i=a.closeOnIframeFocus)!==null&&i!==void 0?i:!0)});let d=h.openOnContext||h.closeOnScroll;Rh({contains:ha,element:V,callback:(x)=>m(x,!1),refs:[H.triggerRef,H.contentRef],disabled:!e||!d});let{findFirstFocusable:g}=s7(),u=fh();M1(()=>{if(a.unstable_disableAutoFocus)return;let x=H.contentRef.current;if(e&&x){var s;let p=!isNaN((s=x.getAttribute("tabIndex"))!==null&&s!==void 0?s:void 0),P=p?x:g(x);if(P===null||P===void 0||P.focus(),p)u(x)}},[g,u,e,H.contentRef,a.unstable_disableAutoFocus]);var L,R;return{...h,...H,inertTrapFocus:(L=a.inertTrapFocus)!==null&&L!==void 0?L:a.legacyTrapFocus===void 0?!1:!a.legacyTrapFocus,popoverTrigger:o,popoverSurface:r,open:e,setOpen:m,toggleOpen:A,setContextTarget:c,contextTarget:l,inline:(R=a.inline)!==null&&R!==void 0?R:!1}};function sw(a){let l=H1((r,e)=>{var v;return(v=a.onOpenChange)===null||v===void 0?void 0:v.call(a,r,e)}),[c,h]=E5({state:a.open,defaultState:a.defaultOpen,initialState:!1});a.open=c!==void 0?c:a.open;let Z=a.setContextTarget,o=j((r,e)=>{if(e&&r.type==="contextmenu")Z(r);if(!e)Z(void 0);h(e),l===null||l===void 0||l(r,{open:e})},[h,l,Z]);return[c,o]}function fw(a){let l={position:"above",align:"center",arrowPadding:2*Fd,target:a.openOnContext?a.contextTarget:void 0,...s6(a.positioning)};if(l.coverTarget)a.withArrow=!1;if(a.withArrow)l.offset=rZ(l.offset,B6[a.size]);let{targetRef:c,containerRef:h,arrowRef:Z}=Mv(l);return{triggerRef:c,contentRef:h,arrowRef:Z}}F();var ba=(a)=>{let{appearance:l,arrowRef:c,contentRef:h,inline:Z,mountNode:o,open:r,openOnContext:e,openOnHover:v,setOpen:M,size:t,toggleOpen:m,trapFocus:A,triggerRef:H,withArrow:V,inertTrapFocus:i}=a;return/*@__PURE__*/e1(eZ.Provider,{value:{appearance:l,arrowRef:c,contentRef:h,inline:Z,mountNode:o,open:r,openOnContext:e,openOnHover:v,setOpen:M,toggleOpen:m,triggerRef:H,size:t,trapFocus:A,inertTrapFocus:i,withArrow:V}},a.popoverTrigger,a.open&&a.popoverSurface)};var F2=(a)=>{let l=Ka(a);return ba(l)};F2.displayName="Popover";F();F();var $a=(a)=>{let{children:l,disableButtonEnhancement:c=!1}=a,h=E3(l),Z=p0((L)=>L.open),o=p0((L)=>L.setOpen),r=p0((L)=>L.toggleOpen),e=p0((L)=>L.triggerRef),v=p0((L)=>L.openOnHover),M=p0((L)=>L.openOnContext),{triggerAttributes:t}=i2(),m=(L)=>{if(M)L.preventDefault(),o(L,!0)},A=(L)=>{if(!M)r(L)},H=(L)=>{if(L.key===Z4&&Z&&!L.isDefaultPrevented())o(L,!1),L.preventDefault()},V=(L)=>{if(v)o(L,!0)},i=(L)=>{if(v)o(L,!1)},d={...t,"aria-expanded":`${Z}`,...h===null||h===void 0?void 0:h.props,onMouseEnter:H1(y5(h===null||h===void 0?void 0:h.props.onMouseEnter,V)),onMouseLeave:H1(y5(h===null||h===void 0?void 0:h.props.onMouseLeave,i)),onContextMenu:H1(y5(h===null||h===void 0?void 0:h.props.onContextMenu,m)),ref:Y1(e,h===null||h===void 0?void 0:h.ref)},g={...d,onClick:H1(y5(h===null||h===void 0?void 0:h.props.onClick,A)),onKeyDown:H1(y5(h===null||h===void 0?void 0:h.props.onKeyDown,H))},u=d2((h===null||h===void 0?void 0:h.type)==="button"||(h===null||h===void 0?void 0:h.type)==="a"?h.type:"div",g);return{children:H6(a.children,d2((h===null||h===void 0?void 0:h.type)==="button"||(h===null||h===void 0?void 0:h.type)==="a"?h.type:"div",M?d:c?g:u))}};var Ja=(a)=>{return a.children};var a2=(a)=>{let l=$a(a);return Ja(l)};a2.displayName="PopoverTrigger";a2.isFluentTriggerComponent=!0;F();var I7=(a)=>{q(a);let{iconOnly:l,iconPosition:c}=a;return/*@__PURE__*/x1(a.root,{children:[c!=="after"&&a.icon&&/*@__PURE__*/D(a.icon,{}),!l&&a.root.children,c==="after"&&a.icon&&/*@__PURE__*/D(a.icon,{})]})};F();F();var Cd=v1(void 0),Tw={},M11=Cd.Provider,Rd=()=>{var a;return(a=h1(Cd))!==null&&a!==void 0?a:Tw};var t3=(a,l)=>{let{size:c}=Rd(),{appearance:h="secondary",as:Z="button",disabled:o=!1,disabledFocusable:r=!1,icon:e,iconPosition:v="before",shape:M="rounded",size:t=c!==null&&c!==void 0?c:"medium"}=a,m=f.optional(e,{elementType:"span"});return{appearance:h,disabled:o,disabledFocusable:r,iconPosition:v,shape:M,size:t,iconOnly:Boolean((m===null||m===void 0?void 0:m.children)&&!a.children),components:{root:"button",icon:"span"},root:f.always(_(Z,d2(a.as,a)),{elementType:"button",defaultProps:{ref:l,type:Z==="button"?"button":void 0}}),icon:m}};var W6={root:"fui-Button",icon:"fui-Button__icon"};var d11=`calc(${Q1.strokeWidthThin} + 0.25px)`,Ww=/*@__PURE__*/X("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;}}"]}),Ow=/*@__PURE__*/X("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);}"]),Pw=/*@__PURE__*/B({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)"}]]}),Uw=/*@__PURE__*/B({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__*/B({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;}}"]}),Gw=/*@__PURE__*/B({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;}"]}),zw=/*@__PURE__*/B({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);}"]}),A3=(a)=>{let l=Ww(),c=Ow(),h=Pw(),Z=Uw(),o=Iw(),r=Gw(),e=zw(),{appearance:v,disabled:M,disabledFocusable:t,icon:m,iconOnly:A,iconPosition:H,shape:V,size:i}=a;if(a.root.className=k(W6.root,l,v&&h[v],h[i],m&&i==="small"&&h.smallWithIcon,m&&i==="large"&&h.largeWithIcon,h[V],(M||t)&&Z.base,(M||t)&&Z.highContrast,v&&(M||t)&&Z[v],v==="primary"&&o.primary,o[i],o[V],A&&r[i],a.root.className),a.icon)a.icon.className=k(W6.icon,c,!!a.root.children&&e[H],e[i],a.icon.className);return a};var C1=/*@__PURE__*/U((a,l)=>{let c=t3(a,l);return A3(c),K("useButtonStyles_unstable")(c),I7(c)});C1.displayName="Button";F();F();F();F();var xd=v1(void 0),Ya=xd.Provider,V4=()=>h1(xd);F();var Qa=(a)=>{var l,c,h,Z;let{generatedControlId:o,orientation:r,required:e,size:v,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,A=(h=a.validationMessage)===null||h===void 0?void 0:h.id,H=(Z=a.hint)===null||Z===void 0?void 0:Z.id;return{field:u1(()=>({generatedControlId:o,hintId:H,labelFor:t,labelId:m,orientation:r,required:e,size:v,validationMessageId:A,validationState:M}),[o,H,t,m,r,e,v,A,M])}};function G7(a,l){return vZ(V4(),a,l)}function vZ(a,l,c){if(!a)return l;l={...l};let{generatedControlId:h,hintId:Z,labelFor:o,labelId:r,required:e,validationMessageId:v,validationState:M}=a;if(h){var t,m;(m=(t=l).id)!==null&&m!==void 0||(t.id=h)}if(r&&(!(c===null||c===void 0?void 0:c.supportsLabelFor)||o!==l.id)){var A,H,V;(V=(A=l)[H="aria-labelledby"])!==null&&V!==void 0||(A[H]=r)}if(v||Z)l["aria-describedby"]=[v,Z,l===null||l===void 0?void 0:l["aria-describedby"]].filter(Boolean).join(" ");if(M==="error"){var i,d,g;(g=(i=l)[d="aria-invalid"])!==null&&g!==void 0||(i[d]=!0)}if(e)if(c===null||c===void 0?void 0:c.supportsRequired){var u,L;(L=(u=l).required)!==null&&L!==void 0||(u.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,P;(P=(p=l).size)!==null&&P!==void 0||(p.size=a.size)}return l}var Xa=(a,l)=>{q(a);let{children:c}=a;if(typeof c==="function")c=c(vZ(l.field)||{});return/*@__PURE__*/D(Ya,{value:l===null||l===void 0?void 0:l.field,children:/*@__PURE__*/x1(a.root,{children:[a.label&&/*@__PURE__*/D(a.label,{}),c,a.validationMessage&&/*@__PURE__*/x1(a.validationMessage,{children:[a.validationMessageIcon&&/*@__PURE__*/D(a.validationMessageIcon,{}),a.validationMessage.children]}),a.hint&&/*@__PURE__*/D(a.hint,{})]})})};F();F();F();var Ea=(a,l)=>{let{disabled:c=!1,required:h=!1,weight:Z="regular",size:o="medium"}=a;return{disabled:c,required:f.optional(h===!0?"*":h||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:Z,size:o,components:{root:"label",required:"span"},root:f.always(_("label",{ref:l,...a}),{elementType:"label"})}};var ya=(a)=>{return q(a),/*@__PURE__*/x1(a.root,{children:[a.root.children,a.required&&/*@__PURE__*/D(a.required,{})]})};var ja={root:"fui-Label",required:"fui-Label__required"},qw=/*@__PURE__*/B({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)"}]]}),Na=(a)=>{let l=qw();if(a.root.className=k(ja.root,l.root,a.disabled&&l.disabled,l[a.size],a.weight==="semibold"&&l.semibold,a.root.className),a.required)a.required.className=k(ja.required,l.required,a.disabled&&l.disabled,a.required.className);return a};var S0=/*@__PURE__*/U((a,l)=>{let c=Ea(a,l);return Na(c),K("useLabelStyles_unstable")(c),ya(c)});S0.displayName="Label";var Kw={error:/*@__PURE__*/e1(Xi,null),warning:/*@__PURE__*/e1(Ni,null),success:/*@__PURE__*/e1(Ki,null),none:void 0},_a=(a,l)=>{let{children:c,orientation:h="vertical",required:Z=!1,validationState:o=a.validationMessage?"error":"none",size:r="medium"}=a,e=M0("field-"),v=e+"__control",M=f.always(_("div",{...a,ref:l},["children"]),{elementType:"div"}),t=f.optional(a.label,{defaultProps:{htmlFor:v,id:e+"__label",required:Z,size:r},elementType:S0}),m=f.optional(a.validationMessage,{defaultProps:{id:e+"__validationMessage",role:o==="error"||o==="warning"?"alert":void 0},elementType:"div"}),A=f.optional(a.hint,{defaultProps:{id:e+"__hint"},elementType:"div"}),H=Kw[o],V=f.optional(a.validationMessageIcon,{renderByDefault:!!H,defaultProps:{children:H},elementType:"span"});return{children:c,generatedControlId:v,orientation:h,required:Z,size:r,validationState:o,components:{root:"div",label:S0,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:M,label:t,validationMessageIcon:V,validationMessage:m,hint:A}};var H3={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"};var bw=/*@__PURE__*/B({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;}"]}),$w=/*@__PURE__*/B({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;}"]}),Jw=/*@__PURE__*/X("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);}"]),Yw=/*@__PURE__*/B({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));}"]}),Qw=/*@__PURE__*/X("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__*/B({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),a9=(a)=>{let{validationState:l,size:c}=a,h=a.orientation==="horizontal",Z=bw();a.root.className=k(H3.root,Z.base,h&&Z.horizontal,h&&!a.label&&Z.horizontalNoLabel,a.root.className);let o=$w();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 r=Qw(),e=Xw();if(a.validationMessageIcon)a.validationMessageIcon.className=k(H3.validationMessageIcon,r,l!=="none"&&e[l],a.validationMessageIcon.className);let v=Jw(),M=Yw();if(a.validationMessage)a.validationMessage.className=k(H3.validationMessage,v,l==="error"&&M.error,!!a.validationMessageIcon&&M.withIcon,a.validationMessage.className);if(a.hint)a.hint.className=k(H3.hint,v,a.hint.className);return a};var i4=/*@__PURE__*/U((a,l)=>{let c=_a(a,l);a9(c),K("useFieldStyles_unstable")(c);let h=Qa(c);return Xa(c,h)});i4.displayName="Field";var l9=(a,l)=>{a=G7(a,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:c=!1,required:h,shape:Z="square",size:o="medium",labelPosition:r="after",onChange:e}=a,[v,M]=E5({defaultState:a.defaultChecked,state:a.checked,initialState:!1}),t=h3({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),m=v==="mixed",A=M0("checkbox-",t.primary.id),H;if(m)if(Z==="circular")H=/*@__PURE__*/e1(qh,null);else H=o==="large"?/*@__PURE__*/e1(ji,null):/*@__PURE__*/e1(yi,null);else if(v)H=o==="large"?/*@__PURE__*/e1(qi,null):/*@__PURE__*/e1(zi,null);let V={shape:Z,checked:v,disabled:c,size:o,labelPosition:r,components:{root:"span",input:"input",indicator:"div",label:S0},root:f.always(a.root,{defaultProps:{ref:V2(),...t.root},elementType:"span"}),input:f.always(a.input,{defaultProps:{type:"checkbox",id:A,ref:l,checked:v===!0,...t.primary},elementType:"input"}),label:f.optional(a.label,{defaultProps:{htmlFor:A,disabled:c,required:h,size:"medium"},elementType:S0}),indicator:f.optional(a.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:H},elementType:"div"})};V.input.onChange=H1((d)=>{let g=d.currentTarget.indeterminate?"mixed":d.currentTarget.checked;e===null||e===void 0||e(d,{checked:g}),M(g)});let i=Y1(V.input.ref);return V.input.ref=i,J1(()=>{if(i.current)i.current.indeterminate=m},[i,m]),V};var c9=(a)=>{return q(a),/*@__PURE__*/x1(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 n4={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"};var Ew=/*@__PURE__*/X("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;}}"]}),yw=/*@__PURE__*/B({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)"}]]}),jw=/*@__PURE__*/X("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));}"]),Nw=/*@__PURE__*/B({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));}"]}),_w=/*@__PURE__*/X("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;}"]),aD=/*@__PURE__*/B({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}]]}),lD=/*@__PURE__*/B({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);}"]}),h9=(a)=>{let{checked:l,disabled:c,labelPosition:h,shape:Z,size:o}=a,r=Ew(),e=yw();a.root.className=k(n4.root,r,c?e.disabled:l==="mixed"?e.mixed:l?e.checked:e.unchecked,a.root.className);let v=jw(),M=Nw();a.input.className=k(n4.input,v,o==="large"&&M.large,M[h],a.input.className);let t=_w(),m=aD();if(a.indicator)a.indicator.className=k(n4.indicator,t,o==="large"&&m.large,Z==="circular"&&m.circular,a.indicator.className);let A=lD();if(a.label)a.label.className=k(n4.label,A.base,A[o],A[h],a.label.className);return a};var d4=/*@__PURE__*/U((a,l)=>{let c=l9(a,l);return h9(c),K("useCheckboxStyles_unstable")(c),c9(c)});d4.displayName="Checkbox";F();var Z9=(a)=>{return q(a),/*@__PURE__*/D(a.root,{children:a.root.children!==void 0&&/*@__PURE__*/D(a.wrapper,{children:a.root.children})})};F();var o9=(a,l)=>{let{alignContent:c="center",appearance:h="default",inset:Z=!1,vertical:o=!1,wrapper:r}=a,e=M0("divider-");return{alignContent:c,appearance:h,inset:Z,vertical:o,components:{root:"div",wrapper:"div"},root:f.always(_("div",{role:"separator","aria-orientation":o?"vertical":"horizontal","aria-labelledby":a.children?e:void 0,...a,ref:l}),{elementType:"div"}),wrapper:f.always(r,{defaultProps:{id:e,children:a.children},elementType:"div"})}};var r9={root:"fui-Divider",wrapper:"fui-Divider__wrapper"};var cD=/*@__PURE__*/B({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);}"]}),hD=/*@__PURE__*/B({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;}"]}),ZD=/*@__PURE__*/B({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;}"]}),e9=(a)=>{let l=cD(),c=hD(),h=ZD(),{alignContent:Z,appearance:o,inset:r,vertical:e}=a;if(a.root.className=k(r9.root,l.base,l[Z],o&&l[o],!e&&c.base,!e&&r&&c.inset,!e&&c[Z],e&&h.base,e&&r&&h.inset,e&&h[Z],e&&a.root.children!==void 0&&h.withChildren,a.root.children===void 0&&l.childless,a.root.className),a.wrapper)a.wrapper.className=k(r9.wrapper,a.wrapper.className);return a};var U5=/*@__PURE__*/U((a,l)=>{let c=o9(a,l);return e9(c),K("useDividerStyles_unstable")(c),Z9(c)});U5.displayName="Divider";F();F();var v9=(a,l)=>{a=G7(a,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let c=M6();var h;let{size:Z="medium",appearance:o=(h=c.inputDefaultAppearance)!==null&&h!==void 0?h:"outline",onChange:r}=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[e,v]=E5({state:a.value,defaultState:a.defaultValue,initialState:""}),M=h3({props:a,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),t={size:Z,appearance:o,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:f.always(a.input,{defaultProps:{type:"text",ref:l,...M.primary},elementType:"input"}),contentAfter:f.optional(a.contentAfter,{elementType:"span"}),contentBefore:f.optional(a.contentBefore,{elementType:"span"}),root:f.always(a.root,{defaultProps:M.root,elementType:"span"})};return t.input.value=e,t.input.onChange=H1((m)=>{let A=m.target.value;r===null||r===void 0||r(m,{value:A}),v(A)}),t};var M9=(a)=>{return q(a),/*@__PURE__*/x1(a.root,{children:[a.contentBefore&&/*@__PURE__*/D(a.contentBefore,{}),/*@__PURE__*/D(a.input,{}),a.contentAfter&&/*@__PURE__*/D(a.contentAfter,{})]})};var g4={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"};var R51={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})`}},oD=/*@__PURE__*/X("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;}}"]}),rD=/*@__PURE__*/B({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;}"]}),eD=/*@__PURE__*/X("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__*/B({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);}"]}),MD=/*@__PURE__*/X("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),mD=/*@__PURE__*/B({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;}"]}),m9=(a)=>{let{size:l,appearance:c}=a,h=a.input.disabled,Z=`${a.input["aria-invalid"]}`==="true",o=c.startsWith("filled"),r=rD(),e=vD(),v=mD();a.root.className=k(g4.root,oD(),r[l],a.contentBefore&&r[`${l}WithContentBefore`],a.contentAfter&&r[`${l}WithContentAfter`],r[c],!h&&c==="outline"&&r.outlineInteractive,!h&&c==="underline"&&r.underlineInteractive,!h&&o&&r.filledInteractive,o&&r.filled,!h&&Z&&r.invalid,h&&r.disabled,a.root.className),a.input.className=k(g4.input,eD(),e[l],a.contentBefore&&e[`${l}WithContentBefore`],a.contentAfter&&e[`${l}WithContentAfter`],h&&e.disabled,a.input.className);let M=[MD(),h&&v.disabled,v[l]];if(a.contentBefore)a.contentBefore.className=k(g4.contentBefore,...M,a.contentBefore.className);if(a.contentAfter)a.contentAfter.className=k(g4.contentAfter,...M,a.contentAfter.className);return a};var i5=/*@__PURE__*/U((a,l)=>{let c=v9(a,l);return m9(c),K("useInputStyles_unstable")(c),M9(c)});i5.displayName="Input";F();F();F();var t9=(a)=>{let{disabled:l,disabledFocusable:c}=a,{onClick:h,onKeyDown:Z,role:o,tabIndex:r}=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=r!==null&&r!==void 0?r:l&&!c?void 0:0;if(a.root.onClick=(e)=>{if(l||c)e.preventDefault();else h===null||h===void 0||h(e)},a.root.onKeyDown=(e)=>{let v=e.key===h4||e.key===M3;if((l||c)&&v)e.preventDefault(),e.stopPropagation();else if(Z===null||Z===void 0||Z(e),a.root.as==="span"&&!!a.root.onClick&&!Z&&v)e.preventDefault(),e.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};F();var pd=v1(void 0),Vv={inline:!1},MZ=pd.Provider,mZ=()=>{var a;return(a=h1(pd))!==null&&a!==void 0?a:Vv};var A9=(a,l)=>{let c=m6(),{inline:h}=mZ(),{appearance:Z="default",disabled:o=!1,disabledFocusable:r=!1,inline:e=!1}=a,v=a.as||(a.href?"a":"button"),M={role:v==="span"?"button":void 0,type:v==="button"?"button":void 0,...a,as:v},t={appearance:Z,disabled:o,disabledFocusable:r,inline:e!==null&&e!==void 0?e:!!h,components:{root:v},root:f.always(_(v,{ref:l,...M}),{elementType:v}),backgroundAppearance:c};return t9(t),t};var tZ={root:"fui-Link"},tD=/*@__PURE__*/B({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);}"]}),H9=(a)=>{let l=tD(),{appearance:c,disabled:h,inline:Z,root:o,backgroundAppearance:r}=a;return a.root.className=k(tZ.root,l.root,l.focusIndicator,o.as==="a"&&o.href&&l.href,o.as==="button"&&l.button,c==="subtle"&&l.subtle,r==="inverted"&&l.inverted,Z&&l.inline,h&&l.disabled,a.root.className),a};var V9=(a)=>{return q(a),/*@__PURE__*/D(a.root,{})};var U0=/*@__PURE__*/U((a,l)=>{let c=A9(a,l);return H9(c),K("useLinkStyles_unstable")(c),V9(c)});U0.displayName="Link";F();F();F();var wd=v1(void 0),AD={},M21=wd.Provider,Dd=()=>{var a;return(a=h1(wd))!==null&&a!==void 0?a:AD};var i9=(a,l)=>{let{size:c}=Dd(),{appearance:h="primary",labelPosition:Z="after",size:o=c!==null&&c!==void 0?c:"medium",delay:r=0}=a,e=M0("spinner"),{role:v="progressbar",...M}=a,t=f.always(_("div",{ref:l,role:v,...M},["size"]),{elementType:"div"}),[m,A]=m1(!1),[H,V]=y2();M1(()=>{if(r<=0)return;return H(()=>{A(!0)},r),()=>{V()}},[H,V,r]);let i=f.optional(a.label,{defaultProps:{id:e},renderByDefault:!1,elementType:S0}),d=f.optional(a.spinner,{renderByDefault:!0,elementType:"span"});if(i&&t&&!t["aria-labelledby"])t["aria-labelledby"]=i.id;return{appearance:h,delay:r,labelPosition:Z,size:o,shouldRenderSpinner:!r||m,components:{root:"div",spinner:"span",spinnerTail:"span",label:S0},root:t,spinner:d,spinnerTail:f.always(a.spinnerTail,{elementType:"span"}),label:i}};var n9=(a)=>{q(a);let{labelPosition:l,shouldRenderSpinner:c}=a;return/*@__PURE__*/x1(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 u4={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"};var HD=/*@__PURE__*/X("r82apo5",null,[".r82apo5{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;}"]),VD=/*@__PURE__*/B({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),iD=/*@__PURE__*/X("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__*/X("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;}}"]}),dD=/*@__PURE__*/B({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)"}]]}),gD=/*@__PURE__*/B({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);}"]}),d9=(a)=>{let{labelPosition:l,size:c,appearance:h}=a,{dir:Z}=F1(),o=HD(),r=VD(),e=iD(),v=dD(),M=nD(),t=gD();if(a.root.className=k(u4.root,o,(l==="above"||l==="below")&&r.vertical,a.root.className),a.spinner)a.spinner.className=k(u4.spinner,e,v[c],h==="inverted"&&v.inverted,a.spinner.className);if(a.spinnerTail)a.spinnerTail.className=k(u4.spinnerTail,M,Z==="rtl"&&v.rtlTail,a.spinnerTail.className);if(a.label)a.label.className=k(u4.label,t[c],h==="inverted"&&t.inverted,a.label.className);return a};var I5=/*@__PURE__*/U((a,l)=>{let c=i9(a,l);return d9(c),K("useSpinnerStyles_unstable")(c),n9(c)});I5.displayName="Spinner";F();F();var g9=(a,l)=>{a=G7(a,{supportsLabelFor:!0,supportsRequired:!0});let{checked:c,defaultChecked:h,disabled:Z,labelPosition:o="after",onChange:r,required:e}=a,v=h3({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),M=M0("switch-",v.primary.id),t=f.always(a.root,{defaultProps:{ref:V2(),...v.root},elementType:"div"}),m=f.always(a.indicator,{defaultProps:{"aria-hidden":!0,children:/*@__PURE__*/e1(qh,null)},elementType:"div"}),A=f.always(a.input,{defaultProps:{checked:c,defaultChecked:h,id:M,ref:l,role:"switch",type:"checkbox",...v.primary},elementType:"input"});A.onChange=y5(A.onChange,(V)=>r===null||r===void 0?void 0:r(V,{checked:V.currentTarget.checked}));let H=f.optional(a.label,{defaultProps:{disabled:Z,htmlFor:M,required:e,size:"medium"},elementType:S0});return{labelPosition:o,components:{root:"div",indicator:"div",input:"input",label:S0},root:t,indicator:m,input:A,label:H}};var u9=(a)=>{q(a);let{labelPosition:l}=a;return/*@__PURE__*/x1(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 V3={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},Sd=V3.root,uD=2,LD=20;var K21=LD-uD,FD=/*@__PURE__*/X("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;}}"]}),CD=/*@__PURE__*/B({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),RD=/*@__PURE__*/X("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;}}"]}),xD=/*@__PURE__*/B({labelAbove:{B6of3ja:"f1hu3pq6"}},{d:[".f1hu3pq6{margin-top:0;}"]}),pD=/*@__PURE__*/X("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;}}"]}),wD=/*@__PURE__*/B({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%;}"]}),DD=/*@__PURE__*/B({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);}"]}),L9=(a)=>{let l=FD(),c=CD(),h=RD(),Z=xD(),o=pD(),r=wD(),e=DD(),{label:v,labelPosition:M}=a;if(a.root.className=k(V3.root,l,M==="above"&&c.vertical,a.root.className),a.indicator.className=k(V3.indicator,h,v&&M==="above"&&Z.labelAbove,a.indicator.className),a.input.className=k(V3.input,o,v&&r[M],a.input.className),a.label)a.label.className=k(V3.label,e.base,e[M],a.label.className);return a};var F0=/*@__PURE__*/U((a,l)=>{let c=g9(a,l);return L9(c),K("useSwitchStyles_unstable")(c),u9(c)});F0.displayName="Switch";F();F();var i3=(a,l)=>{let{wrap:c,truncate:h,block:Z,italic:o,underline:r,strikethrough:e,size:v,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:v!==null&&v!==void 0?v:300,strikethrough:e!==null&&e!==void 0?e:!1,truncate:h!==null&&h!==void 0?h:!1,underline:r!==null&&r!==void 0?r:!1,weight:t!==null&&t!==void 0?t:"regular",wrap:c!==null&&c!==void 0?c:!0,components:{root:"span"},root:f.always(_("span",{ref:l,...a}),{elementType:"span"})}};var n3=(a)=>{return q(a),/*@__PURE__*/D(a.root,{})};var F9={root:"fui-Text"},SD=/*@__PURE__*/B({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;}"]}),d3=(a)=>{let l=SD();return a.root.className=k(F9.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=i3(a,l);return d3(c),K("useTextStyles_unstable")(c),n3(c)});r7.displayName="Text";F();F();function e7(a){let{useStyles:l,className:c,displayName:h}=a,Z=U((o,r)=>{let e=l(),v=i3(o,r);return d3(v),v.root.className=k(c,v.root.className,e.root,o.className),n3(v)});return Z.displayName=h,Z}var C9={root:"fui-Body1"},kd=/*@__PURE__*/B({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 l2=e7({useStyles:kd,className:C9.root,displayName:"Body1"});F();var R9={root:"fui-Body1Strong"},sd=/*@__PURE__*/B({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=e7({useStyles:sd,className:R9.root,displayName:"Body1Strong"});F();var x9={root:"fui-Subtitle1"},fd=/*@__PURE__*/B({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 P6=e7({useStyles:fd,className:x9.root,displayName:"Subtitle1"});F();var p9={root:"fui-Subtitle2"},Bd=/*@__PURE__*/B({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=e7({useStyles:Bd,className:p9.root,displayName:"Subtitle2"});F();var w9={root:"fui-Title2"},Td=/*@__PURE__*/B({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 U6=e7({useStyles:Td,className:w9.root,displayName:"Title2"});F();F();F();var Wd=/*@__PURE__*/X("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),Od=/*@__PURE__*/X("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function Pd(){let a=Wd(),l=Od(),{targetDocument:c}=F1(),h=j(()=>{var o;if(!c)return;var r;if(!(Math.floor(c.body.getBoundingClientRect().height)>((r=(o=c.defaultView)===null||o===void 0?void 0:o.innerHeight)!==null&&r!==void 0?r:0)))return;c.documentElement.classList.add(a),c.body.classList.add(l);return},[c,a,l]),Z=j(()=>{if(!c)return;c.documentElement.classList.remove(a),c.body.classList.remove(l)},[c,a,l]);return{disableBodyScroll:h,enableBodyScroll:Z}}F();function iv(a,l){let{findFirstFocusable:c}=s7(),{targetDocument:h}=F1(),Z=z(null);return M1(()=>{if(!a)return;let o=Z.current&&c(Z.current);if(o)o.focus();else{var r;(r=Z.current)===null||r===void 0||r.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}F();var kD={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},D9=c4(void 0),S9=D9.Provider,I0=(a)=>x6(D9,(l=kD)=>a(l));F();var sD=!1,nv=v1(void 0),I6=nv.Provider,k9=()=>{var a;return(a=h1(nv))!==null&&a!==void 0?a:sD};var Ud=[{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}],dv=M5({enter:{keyframes:Ud,easing:T1.curveDecelerateMid,duration:T1.durationGentle},exit:{keyframes:[...Ud].reverse(),easing:T1.curveAccelerateMin,duration:T1.durationGentle}});var s9=(a)=>{let{children:l,modalType:c="modal",onOpenChange:h,inertTrapFocus:Z=!1}=a,[o,r]=fD(l),[e,v]=E5({state:a.open,defaultState:a.defaultOpen,initialState:!1}),M=H1((V)=>{if(h===null||h===void 0||h(V.event,V),!V.event.isDefaultPrevented())v(V.open)}),t=iv(e,c),{modalAttributes:m,triggerAttributes:A}=i2({trapFocus:c!=="non-modal",legacyTrapFocus:!Z}),H=We(D9);return{components:{surfaceMotion:dv},inertTrapFocus:Z,open:e,modalType:c,content:r,trigger:o,requestOpenChange:M,dialogTitleId:M0("dialog-title-"),isNestedDialog:H,dialogRef:t,modalAttributes:m,triggerAttributes:A,surfaceMotion:o4(a.surfaceMotion,{elementType:dv,defaultProps:{appear:!0,visible:e,unmountOnExit:!0}})}};function fD(a){let l=u7.toArray(a);if(l.length!==1&&l.length!==2)console.warn(`@fluentui/react-dialog [useDialog]:
|
|
134
|
+
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]}}F();F();var Id=/*@__PURE__*/v1(void 0);function Gd(){return h1(Id)}var zd=/*@__PURE__*/U((a,l)=>{return/*@__PURE__*/e1(Id.Provider,{value:l},a.children)});var f9=(a,l)=>{return q(a),/*@__PURE__*/D(S9,{value:l.dialog,children:/*@__PURE__*/x1(I6,{value:l.dialogSurface,children:[a.trigger,a.content&&/*@__PURE__*/D(a.surfaceMotion,{children:/*@__PURE__*/D(zd,{children:a.content})})]})})};function AZ(a){let{modalType:l,open:c,dialogRef:h,dialogTitleId:Z,isNestedDialog:o,inertTrapFocus:r,requestOpenChange:e,modalAttributes:v,triggerAttributes:M}=a,t={open:c,modalType:l,dialogRef:h,dialogTitleId:Z,isNestedDialog:o,inertTrapFocus:r,modalAttributes:v,triggerAttributes:M,requestOpenChange:e},m=!1;return{dialog:t,dialogSurface:!1}}var w5=/*@__PURE__*/k8((a)=>{let l=s9(a),c=AZ(l);return f9(l,c)});w5.displayName="Dialog";F();F();var B9=(a)=>{let l=k9(),{children:c,disableButtonEnhancement:h=!1,action:Z=l?"close":"open"}=a,o=E3(c),r=I0((m)=>m.requestOpenChange),{triggerAttributes:e}=i2(),v=H1((m)=>{var A,H;if(o===null||o===void 0||(A=(H=o.props).onClick)===null||A===void 0||A.call(H,m),!m.isDefaultPrevented())r({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:v,...e},t=d2((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:H6(c,h?M:t)}};var T9=(a)=>a.children;var G0=(a)=>{let l=B9(a);return T9(l)};G0.displayName="DialogTrigger";G0.isFluentTriggerComponent=!0;F();F();var W9=(a,l)=>{let{position:c="end",fluid:h=!1}=a;return{components:{root:"div"},root:f.always(_("div",{ref:l,...a}),{elementType:"div"}),position:c,fluid:h}};var O9=(a)=>{return q(a),/*@__PURE__*/D(a.root,{})};var HZ={root:"fui-DialogActions"},BD=/*@__PURE__*/X("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;}}"]}),TD=/*@__PURE__*/B({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=BD(),c=TD();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 C2=/*@__PURE__*/U((a,l)=>{let c=W9(a,l);return P9(c),K("useDialogActionsStyles_unstable")(c),O9(c)});C2.displayName="DialogActions";F();F();var U9=(a,l)=>{var c;return{components:{root:"div"},root:f.always(_((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var I9=(a)=>{return q(a),/*@__PURE__*/D(a.root,{})};var VZ={root:"fui-DialogBody"},WD=/*@__PURE__*/X("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;}}"]}),G9=(a)=>{let l=WD();return a.root.className=k(VZ.root,l,a.root.className),a};var R2=/*@__PURE__*/U((a,l)=>{let c=U9(a,l);return G9(c),K("useDialogBodyStyles_unstable")(c),I9(c)});R2.displayName="DialogBody";F();F();var G6={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},OD=/*@__PURE__*/X("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;}"]),PD=/*@__PURE__*/B({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),UD=/*@__PURE__*/X("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),iZ=/*@__PURE__*/X("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;}}"]}),g3=(a)=>{let l=OD(),c=UD(),h=PD();if(a.root.className=k(G6.root,l,!a.action&&h.rootWithoutAction,a.root.className),a.action)a.action.className=k(G6.action,c,a.action.className);return a};var z9=(a,l)=>{let{action:c}=a,h=I0((o)=>o.modalType),Z=iZ();return{components:{root:"h2",action:"div"},root:f.always(_("h2",{ref:l,id:I0((o)=>o.dialogTitleId),...a}),{elementType:"h2"}),action:f.optional(c,{renderByDefault:h==="non-modal",defaultProps:{children:/*@__PURE__*/e1(G0,{disableButtonEnhancement:!0,action:"close"},/*@__PURE__*/e1("button",{type:"button",className:Z,"aria-label":"close"},/*@__PURE__*/e1(Yi,null)))},elementType:"div"})}};var q9=(a)=>{return q(a),/*@__PURE__*/x1(V1,{children:[/*@__PURE__*/D(a.root,{children:a.root.children}),a.action&&/*@__PURE__*/D(a.action,{})]})};var x2=/*@__PURE__*/U((a,l)=>{let c=z9(a,l);return g3(c),K("useDialogTitleStyles_unstable")(c),q9(c)});x2.displayName="DialogTitle";F();F();var gv=Xh;var u3=(a,l)=>{let c=Gd(),h=I0((i)=>i.modalType),Z=I0((i)=>i.isNestedDialog),o=I0((i)=>i.modalAttributes),r=I0((i)=>i.dialogRef),e=I0((i)=>i.requestOpenChange),v=I0((i)=>i.dialogTitleId),M=I0((i)=>i.open),t=H1((i)=>{if(nh(a.backdrop)){var d,g;(d=(g=a.backdrop).onClick)===null||d===void 0||d.call(g,i)}if(h==="modal"&&!i.isDefaultPrevented())e({event:i,open:!1,type:"backdropClick"})}),m=H1((i)=>{var d;if((d=a.onKeyDown)===null||d===void 0||d.call(a,i),i.key===Z4&&!i.isDefaultPrevented())e({event:i,open:!1,type:"escapeKeyDown"}),i.preventDefault()}),A=f.optional(a.backdrop,{renderByDefault:h!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});if(A)A.onClick=t;let{disableBodyScroll:H,enableBodyScroll:V}=Pd();return J1(()=>{if(Z||h==="non-modal")return;return H(),()=>{V()}},[V,Z,H,h]),{components:{backdrop:"div",root:"div",backdropMotion:gv},open:M,backdrop:A,isNestedDialog:Z,mountNode:a.mountNode,root:f.always(_("div",{tabIndex:-1,"aria-modal":h!=="non-modal",role:h==="alert"?"alertdialog":"dialog","aria-labelledby":a["aria-label"]?void 0:v,...a,...o,onKeyDown:m,ref:Y1(l,c,r)}),{elementType:"div"}),backdropMotion:o4(a.backdropMotion,{elementType:gv,defaultProps:{appear:!0,visible:M}}),transitionStatus:void 0}};var L3=(a,l)=>{return q(a),/*@__PURE__*/x1(U7,{mountNode:a.mountNode,children:[a.backdrop&&a.backdropMotion&&/*@__PURE__*/D(a.backdropMotion,{children:/*@__PURE__*/D(a.backdrop,{})}),/*@__PURE__*/D(I6,{value:l.dialogSurface,children:/*@__PURE__*/D(a.root,{})})]})};var K9={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},ID=/*@__PURE__*/X("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;}}"]}),GD=/*@__PURE__*/X("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),zD=/*@__PURE__*/B({nestedDialogBackdrop:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),b9=(a)=>{let{isNestedDialog:l,root:c,backdrop:h}=a,Z=ID(),o=GD(),r=zD();if(c.className=k(K9.root,Z,c.className),h)h.className=k(K9.backdrop,o,l&&r.nestedDialogBackdrop,h.className);return a};function F3(a){return{dialogSurface:!0}}var p2=/*@__PURE__*/U((a,l)=>{let c=u3(a,l),h=F3(c);return b9(c),K("useDialogSurfaceStyles_unstable")(c),L3(c,h)});p2.displayName="DialogSurface";F();F();var $9=(a,l)=>{var c;return{components:{root:"div"},root:f.always(_((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var J9=(a)=>{return q(a),/*@__PURE__*/D(a.root,{})};var nZ={root:"fui-DialogContent"},qD=/*@__PURE__*/X("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=qD();return a.root.className=k(nZ.root,l,a.root.className),a};var w2=/*@__PURE__*/U((a,l)=>{let c=$9(a,l);return Y9(c),K("useDialogContentStyles_unstable")(c),J9(c)});w2.displayName="DialogContent";F();F();var uv=(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 Lv=(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 Q9=(a,l)=>{let c=V4(),h=c===null||c===void 0?void 0:c.validationState,{color:Z=h==="error"||h==="warning"||h==="success"?h:"brand",shape:o="rounded",thickness:r="medium"}=a;var e;let v=uv((e=a.max)!==null&&e!==void 0?e:1),M=Lv(a.value,v),t=f.always(_("div",{ref:l,role:"progressbar","aria-valuemin":M!==void 0?0:void 0,"aria-valuemax":M!==void 0?v: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=f.always(a.bar,{elementType:"div"});return{color:Z,max:v,shape:o,thickness:r,value:M,components:{root:"div",bar:"div"},root:t,bar:m}};var X9=(a)=>{return q(a),/*@__PURE__*/D(a.root,{children:a.bar&&/*@__PURE__*/D(a.bar,{})})};var E9={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},KD=0.01;var bD=/*@__PURE__*/B({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)"}]]}),$D=/*@__PURE__*/B({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
|
+
to right,
|
|
137
|
+
var(--colorNeutralBackground6) 0%,
|
|
138
|
+
var(--colorTransparentBackground) 50%,
|
|
139
|
+
var(--colorNeutralBackground6) 100%
|
|
140
|
+
);}`,`.f1u5hf6c{background-image:linear-gradient(
|
|
141
|
+
to left,
|
|
142
|
+
var(--colorNeutralBackground6) 0%,
|
|
143
|
+
var(--colorTransparentBackground) 50%,
|
|
144
|
+
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%;}}"]}),y9=(a)=>{let{color:l,max:c,shape:h,thickness:Z,value:o}=a,r=bD(),e=$D();if(a.root.className=k(E9.root,r.root,r[h],r[Z],a.root.className),a.bar)a.bar.className=k(E9.bar,e.base,e.brand,o===void 0&&e.indeterminate,o!==void 0&&o>KD&&e.nonZeroDeterminate,l&&o!==void 0&&e[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 z7=/*@__PURE__*/U((a,l)=>{let c=Q9(a,l);return y9(c),K("useProgressBarStyles_unstable")(c),X9(c)});z7.displayName="ProgressBar";F();F();var j9=(a,l)=>{let{size:c="medium",vertical:h=!1}=a,Z=Ma({circular:!0,axis:"both"}),o={size:c,vertical:h,components:{root:"div"},root:f.always(_("div",{role:"toolbar",ref:l,...h&&{"aria-orientation":"vertical"},...Z,...a}),{elementType:"div"})},[r,e]=JD({checkedValues:a.checkedValues,defaultCheckedValues:a.defaultCheckedValues,onCheckedValueChange:a.onCheckedValueChange}),v=H1((t,m,A,H)=>{if(m&&A){let i=[...(r===null||r===void 0?void 0:r[m])||[]];if(H)i.splice(i.indexOf(A),1);else i.push(A);e===null||e===void 0||e(t,{name:m,checkedItems:i})}}),M=H1((t,m,A,H)=>{if(m&&A)e===null||e===void 0||e(t,{name:m,checkedItems:[A]})});return{...o,handleToggleButton:v,handleRadio:M,checkedValues:r!==null&&r!==void 0?r:{}}},JD=(a)=>{let[l,c]=E5({state:a.checkedValues,defaultState:a.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:h}=a,Z=H1((o,{name:r,checkedItems:e})=>{if(h)h(o,{name:r,checkedItems:e});c((v)=>{return v?{...v,[r]:e}:{[r]:e}})});return[l,Z]};var qd=c4(void 0);var N9=(a,l)=>{return q(a),/*@__PURE__*/D(qd.Provider,{value:l.toolbar,children:/*@__PURE__*/D(a.root,{children:a.root.children})})};var dZ={root:"fui-Toolbar"},YD=/*@__PURE__*/B({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}]]}),_9=(a)=>{let l=YD(),{vertical:c,size:h}=a;return a.root.className=k(dZ.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 Kd(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 L4=/*@__PURE__*/U((a,l)=>{let c=j9(a,l),h=Kd(c);return _9(c),K("useToolbarStyles_unstable")(c),N9(c,h)});L4.displayName="Toolbar";F();var QD=/*@__PURE__*/B({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}]]}),al=(a)=>{A3(a);let l=QD();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)};F();var ll=(a,l)=>{let{vertical:c=!1,...h}=a,Z=t3({appearance:"subtle",...h,size:"medium"},l);return{vertical:c,...Z}};var D2=/*@__PURE__*/U((a,l)=>{let c=ll(a,l);return al(c),K("useToolbarButtonStyles_unstable")(c),I7(c)});D2.displayName="ToolbarButton";F();F();F();var bd=v1(void 0),XD={size:"medium",noNativeElements:!1,sortable:!1},Fv=bd.Provider,G5=()=>{var a;return(a=h1(bd))!==null&&a!==void 0?a:XD};var cl=(a,l)=>{let{noNativeElements:c,size:h}=G5();var Z;let o=((Z=a.as)!==null&&Z!==void 0?Z:c)?"div":"td";return{components:{root:o},root:f.always(_(o,{ref:l,role:o==="div"?"cell":void 0,...a}),{elementType:o}),noNativeElements:c,size:h}};var hl=(a)=>{return q(a),/*@__PURE__*/D(a.root,{})};var gZ="fui-TableCell",uZ={root:gZ},ED=/*@__PURE__*/B({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;}"]}),yD=/*@__PURE__*/B({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;}"]}),jD=/*@__PURE__*/B({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}]]}),Zl=(a)=>{let l=jD(),c={table:ED(),flex:yD()};return a.root.className=k(uZ.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 v7=/*@__PURE__*/U((a,l)=>{let c=cl(a,l);return Zl(c),K("useTableCellStyles_unstable")(c),hl(c)});v7.displayName="TableCell";F();F();F();var $d=v1(void 0),ND="",Cv=$d.Provider,Rv=()=>h1($d)===ND;var ol=(a,l)=>{let{noNativeElements:c,size:h}=G5();var Z;let o=((Z=a.as)!==null&&Z!==void 0?Z:c)?"div":"tr",r=f7(),e=V2(),v=Rv();var M;return{components:{root:o},root:f.always(_(o,{ref:Y1(l,r,e),role:o==="div"?"row":void 0,...a}),{elementType:o}),size:h,noNativeElements:c,appearance:(M=a.appearance)!==null&&M!==void 0?M:"none",isHeaderRow:v}};var rl=(a)=>{return q(a),/*@__PURE__*/D(a.root,{})};var LZ="fui-TableRow",FZ={root:LZ},_D=/*@__PURE__*/B({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),aS=/*@__PURE__*/B({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),lS=/*@__PURE__*/B({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)"}]]}),el=(a)=>{let l=lS(),c={table:_D(),flex:aS()};return a.root.className=k(FZ.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=ol(a,l);return el(c),K("useTableRowStyles_unstable")(c),rl(c)});C3.displayName="TableRow";F();F();var vl=(a,l)=>{let{noNativeElements:c}=G5();var h;let Z=((h=a.as)!==null&&h!==void 0?h:c)?"div":"tbody";return{components:{root:Z},root:f.always(_(Z,{ref:l,role:Z==="div"?"rowgroup":void 0,...a}),{elementType:Z}),noNativeElements:c}};var Ml=(a)=>{return q(a),/*@__PURE__*/D(a.root,{})};var cS=/*@__PURE__*/B({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),hS=/*@__PURE__*/B({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),CZ="fui-TableBody";var ml=(a)=>{let l={table:cS(),flex:hS()};return a.root.className=k(CZ,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var F4=/*@__PURE__*/U((a,l)=>{let c=vl(a,l);return ml(c),K("useTableBodyStyles_unstable")(c),Ml(c)});F4.displayName="TableBody";F();F();var tl=(a,l)=>{var c;let h=((c=a.as)!==null&&c!==void 0?c:a.noNativeElements)?"div":"table";var Z,o,r;return{components:{root:h},root:f.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:(r=a.sortable)!==null&&r!==void 0?r:!1}};var Al=(a,l)=>{return q(a),/*@__PURE__*/D(Fv,{value:l.table,children:/*@__PURE__*/D(a.root,{})})};var RZ="fui-Table";var ZS=/*@__PURE__*/B({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),oS=/*@__PURE__*/B({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),rS=/*@__PURE__*/B({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),Hl=(a)=>{let l=rS(),c={table:ZS(),flex:oS()};return a.root.className=k(RZ,l.root,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a};F();function Yd(a){let{size:l,noNativeElements:c,sortable:h}=a;return{table:u1(()=>({noNativeElements:c,size:l,sortable:h}),[c,l,h])}}var C4=/*@__PURE__*/U((a,l)=>{let c=tl(a,l);return Hl(c),K("useTableStyles_unstable")(c),Al(c,Yd(c))});C4.displayName="Table";F();F();var Vl=(a,l)=>{let{noNativeElements:c}=G5();var h;let Z=((h=a.as)!==null&&h!==void 0?h:c)?"div":"thead";return{components:{root:Z},root:f.always(_(Z,{ref:l,role:Z==="div"?"rowgroup":void 0,...a}),{elementType:Z}),noNativeElements:c}};var il=(a)=>{return q(a),/*@__PURE__*/D(Cv,{value:"",children:/*@__PURE__*/D(a.root,{})})};var xZ="fui-TableHeader";var eS=/*@__PURE__*/B({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),vS=/*@__PURE__*/B({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),nl=(a)=>{let l={table:vS(),flex:eS()};return a.root.className=k(xZ,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var R4=/*@__PURE__*/U((a,l)=>{let c=Vl(a,l);return nl(c),K("useTableHeaderStyles_unstable")(c),il(c)});R4.displayName="TableHeader";F();F();var MS={ascending:/*@__PURE__*/e1(Oi,{fontSize:12}),descending:/*@__PURE__*/e1(Wi,{fontSize:12})},dl=(a,l)=>{let{noNativeElements:c,sortable:h}=G5(),{sortable:Z=h}=a;var o;let r=((o=a.as)!==null&&o!==void 0?o:c)?"div":"th",e=f.always(a.button,{elementType:"div",defaultProps:{as:"div",...!Z&&{role:"presentation",tabIndex:void 0}}});var v;return{components:{root:r,button:"div",sortIcon:"span",aside:"span"},root:f.always(_(r,{ref:Y1(l,V2()),role:r==="div"?"columnheader":void 0,"aria-sort":Z?(v=a.sortDirection)!==null&&v!==void 0?v:"none":void 0,...a}),{elementType:r}),aside:f.optional(a.aside,{elementType:"span"}),sortIcon:f.optional(a.sortIcon,{renderByDefault:!!a.sortDirection,defaultProps:{children:a.sortDirection?MS[a.sortDirection]:void 0},elementType:"span"}),button:d2(e.as,e),sortable:Z,noNativeElements:c}};var gl=(a)=>{return q(a),/*@__PURE__*/x1(a.root,{children:[/*@__PURE__*/x1(a.button,{children:[a.root.children,a.sortIcon&&/*@__PURE__*/D(a.sortIcon,{})]}),a.aside&&/*@__PURE__*/D(a.aside,{})]})};var x4={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},mS=/*@__PURE__*/B({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),tS=/*@__PURE__*/B({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;}"]}),AS=/*@__PURE__*/B({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);}"]}),ul=(a)=>{let l=AS(),c={table:mS(),flex:tS()};if(a.root.className=k(x4.root,l.root,a.sortable&&l.rootInteractive,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a.button.className=k(x4.button,l.resetButton,l.button,a.sortable&&l.sortable,a.button.className),a.sortIcon)a.sortIcon.className=k(x4.sortIcon,l.sortIcon,a.sortIcon.className);if(a.aside)a.aside.className=k(x4.aside,l.resizeHandle,a.aside.className);return a};var p4=/*@__PURE__*/U((a,l)=>{let c=dl(a,l);return ul(c),K("useTableHeaderCellStyles_unstable")(c),gl(c)});p4.displayName="TableHeaderCell";F();F();var HS={medium:32,small:24,"extra-small":20},Ll=(a,l)=>{let{size:c}=G5();return{components:{root:"div",main:"span",description:"span",content:"div",media:"span"},root:f.always(_("div",{ref:l,...a}),{elementType:"div"}),appearance:a.appearance,truncate:a.truncate,main:f.optional(a.main,{renderByDefault:!0,elementType:"span"}),media:f.optional(a.media,{elementType:"span"}),description:f.optional(a.description,{elementType:"span"}),content:f.optional(a.content,{renderByDefault:!!a.description||!!a.children,elementType:"div"}),avatarSize:HS[c],size:c}};var Fl=(a,l)=>{return q(a),/*@__PURE__*/x1(a.root,{children:[a.media&&/*@__PURE__*/D(Eh,{value:l.avatar,children:/*@__PURE__*/D(a.media,{})}),a.content&&/*@__PURE__*/x1(a.content,{children:[a.main&&/*@__PURE__*/D(a.main,{children:a.root.children}),a.description&&/*@__PURE__*/D(a.description,{})]})]})};var R3={root:"fui-TableCellLayout",media:"fui-TableCellLayout__media",main:"fui-TableCellLayout__main",description:"fui-TableCellLayout__description",content:"fui-TableCellLayout__content"},VS=/*@__PURE__*/B({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);}"]}),Cl=(a)=>{let l=VS(),{truncate:c}=a;a.root.className=k(R3.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(R3.media,l.media,Z[a.size],h&&l.mediaPrimary,a.media.className)}if(a.main)a.main.className=k(R3.main,c&&l.mainTruncate,h&&l.mainPrimary,a.main.className);if(a.description)a.description.className=k(R3.description,l.description,a.description.className);if(a.content)a.content.className=k(R3.content,l.content,c&&l.contentTruncate,a.content.className);return a};F();function yd(a){let{avatarSize:l}=a;return{avatar:u1(()=>({size:l}),[l])}}var M7=/*@__PURE__*/U((a,l)=>{let c=Ll(a,l);return Cl(c),K("useTableCellLayoutStyles_unstable")(c),Fl(c,yd(c))});M7.displayName="TableCellLayout";F();var k0={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 iS=0;function xv(a,l={},c){var h;let Z={...l,content:a,toastId:(h=l.toastId)!==null&&h!==void 0?h:(iS++).toString()},o=new CustomEvent(k0.show,{bubbles:!1,cancelable:!1,detail:Z});c.dispatchEvent(o)}function pv(a,l=void 0,c){let h=new CustomEvent(k0.dismiss,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(h)}function wv(a=void 0,l){let c=new CustomEvent(k0.dismissAll,{bubbles:!1,cancelable:!1,detail:{toasterId:a}});l.dispatchEvent(c)}function Dv(a,l){let c=new CustomEvent(k0.update,{bubbles:!1,cancelable:!1,detail:a});l.dispatchEvent(c)}function Sv(a,l=void 0,c){let h=new CustomEvent(k0.pause,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(h)}function kv(a,l=void 0,c){let h=new CustomEvent(k0.play,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(h)}F();function jd(a,l){for(let[c,h]of Object.entries(l))if(h!=null)a[c]=h}var nS={onStatusChange:void 0,priority:0,pauseOnHover:!1,pauseOnWindowBlur:!1,position:"bottom-end",timeout:3000},dS=0;function sv(a){let{limit:l=Number.POSITIVE_INFINITY}=a,c=/*@__PURE__*/new Set,h=/*@__PURE__*/new Map,Z=A6((t,m)=>{let A=h.get(t),H=h.get(m);if(!A||!H)return 0;if(A.priority===H.priority)return A.order-H.order;return A.priority-H.priority});return{buildToast:(t,m)=>{var A;let{toastId:H,content:V,toasterId:i}=t;if(h.has(H))return;let u={...nS,close:()=>{var L;let R=h.get(H);if(!R)return;c.delete(H),m(),(L=R.onStatusChange)===null||L===void 0||L.call(R,null,{status:"dismissed",...R})},remove:()=>{if(!h.get(H))return;if(h.delete(H),c.size<l&&Z.peek()){let R=h.get(Z.dequeue());if(!R)return;c.add(R.toastId)}m()},toastId:H,content:V,updateId:0,toasterId:i,order:dS++,data:{},imperativeRef:Z5()};if(jd(u,a),jd(u,t),h.set(H,u),(A=u.onStatusChange)===null||A===void 0||A.call(u,null,{status:"queued",...u}),c.size>=l)Z.enqueue(H);else c.add(H)},dismissAllToasts:()=>{c.clear(),Z.clear()},dismissToast:(t)=>{c.delete(t)},isToastVisible:(t)=>{return c.has(t)},updateToast:(t)=>{let{toastId:m}=t,A=h.get(m);if(!A)return;Object.assign(A,t),A.updateId++},visibleToasts:c,toasts:h}}var q7=(a,l,c)=>{let h={};var Z;let o=c?gS(c)?c:(Z=c[a])!==null&&Z!==void 0?Z:{}:{},r=a==="top"||a==="bottom",{horizontal:e=r?0:20,vertical:v=16}=o,M=l==="ltr"?"left":"right",t=l==="ltr"?"right":"left";switch(a){case"top":Object.assign(h,{top:v,left:`calc(50% + ${e}px)`,transform:"translateX(-50%)"});break;case"bottom":Object.assign(h,{bottom:v,left:`calc(50% + ${e}px)`,transform:"translateX(-50%)"});break;case"top-start":Object.assign(h,{top:v,[M]:e});break;case"top-end":Object.assign(h,{top:v,[t]:e});break;case"bottom-start":Object.assign(h,{bottom:v,[M]:e});break;case"bottom-end":Object.assign(h,{bottom:v,[t]:e});break}return h};function gS(a){return"horizontal"in a||"vertical"in a}function fv(a={}){let l=t6(),{toasterId:c,shortcuts:h}=a,[Z]=m1(()=>sv(a)),{targetDocument:o}=F1(),r=z(null),e=H1((i)=>{return i===c}),v=H1((i)=>{if(h===null||h===void 0?void 0:h.focus)return h.focus(i)}),M=j(()=>{Z.visibleToasts.forEach((i)=>{var d;let g=Z.toasts.get(i);g===null||g===void 0||(d=g.imperativeRef.current)===null||d===void 0||d.pause()})},[Z]),t=j(()=>{Z.visibleToasts.forEach((i)=>{var d;let g=Z.toasts.get(i);g===null||g===void 0||(d=g.imperativeRef.current)===null||d===void 0||d.play()})},[Z]),m=j(()=>{return Array.from(Z.visibleToasts).reduce((i,d)=>{let g=Z.toasts.get(d);if(!g)return i;if(!i)return g;if(i.order<(g===null||g===void 0?void 0:g.order))return g;return i},void 0)},[Z]),A=j(()=>{let i=m();if(i===null||i===void 0?void 0:i.imperativeRef.current)i.imperativeRef.current.focus();else{var d;(d=r.current)===null||d===void 0||d.focus(),r.current=null}},[m]),H=j(()=>{Z.visibleToasts.forEach((i)=>{let d=Z.toasts.get(i);d===null||d===void 0||d.close()}),A()},[Z,A]);M1(()=>{if(!o)return;let i=(w,S)=>{let I=(Q)=>{if(!e(Q.detail.toasterId))return;S(Q),l()};return o.addEventListener(w,I),()=>o.removeEventListener(w,I)},d=(w)=>{Z.buildToast(w.detail,l)},g=(w)=>{Z.dismissToast(w.detail.toastId)},u=(w)=>{Z.updateToast(w.detail)},L=(w)=>{Z.dismissAllToasts()},R=(w)=>{let S=Z.toasts.get(w.detail.toastId);if(S){var I;(I=S.imperativeRef.current)===null||I===void 0||I.pause()}},x=(w)=>{let S=Z.toasts.get(w.detail.toastId);if(S){var I;(I=S.imperativeRef.current)===null||I===void 0||I.play()}},s=i(k0.show,d),p=i(k0.update,u),P=i(k0.dismiss,g),G=i(k0.dismissAll,L),Z1=i(k0.pause,R),o1=i(k0.play,x),E=(w)=>{if(v(w)){M();let I=m();if(I){var S;r.current=z1(o.activeElement)?o.activeElement:null,(S=I.imperativeRef.current)===null||S===void 0||S.focus()}}};return o.addEventListener("keydown",E),()=>{s(),G(),p(),P(),Z1(),o1(),o.removeEventListener("keydown",E)}},[Z,l,o,e,M,m,v]);let V=(()=>{if(!Z)return/*@__PURE__*/new Map;let i=/*@__PURE__*/new Map;return Array.from(Z.toasts.values()).forEach((g)=>{let{position:u}=g;if(i.has(u)||i.set(u,[]),u.startsWith("bottom"))i.get(u).push(g);else i.get(u).unshift(g)}),i})();return{isToastVisible:Z.isToastVisible,toastsToRender:V,pauseAllToasts:M,playAllToasts:t,tryRestoreFocus:A,closeAllToasts:H}}F();var z6=()=>{return};function w4(a){let{targetDocument:l}=F1();return u1(()=>{if(!l)return{dispatchToast:z6,dismissToast:z6,dismissAllToasts:z6,updateToast:z6,pauseToast:z6,playToast:z6};return{dispatchToast:(c,h)=>{xv(c,{...h,toasterId:a,data:{root:h===null||h===void 0?void 0:h.root}},l)},dismissToast:(c)=>{pv(c,a,l)},dismissAllToasts:()=>{wv(a,l)},updateToast:(c)=>{Dv({...c,data:{root:c.root},toasterId:a},l)},pauseToast:(c)=>{Sv(c,a,l)},playToast:(c)=>{kv(c,a,l)}}},[l,a])}F();var uS={close:()=>null,intent:void 0,bodyId:"",titleId:""},Nd=/*@__PURE__*/v1(void 0),_d=Nd.Provider,pZ=()=>{var a;return(a=h1(Nd))!==null&&a!==void 0?a:uS};F();F();F();F();F();var ag=/*@__PURE__*/X("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]);var wZ=/*@__PURE__*/U((a,l)=>{let c=ag(),{running:h,timeout:Z,onTimeout:o}=a,r={animationDuration:`${Z}ms`,animationPlayState:h?"running":"paused"};if(Z<0)return null;return/*@__PURE__*/e1("span",{onAnimationEnd:o,"data-timer-status":r.animationPlayState,ref:l,style:r,className:c})});wZ.displayName="Timer";var LS={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},lg=(a,l)=>{let{visible:c,children:h,close:Z,remove:o,updateId:r,announce:e,data:v,timeout:M,politeness:t,intent:m="info",pauseOnHover:A,pauseOnWindowBlur:H,imperativeRef:V,tryRestoreFocus:i,...d}=a,g=M0("toast-title"),u=M0("toast-body"),L=z(null),{targetDocument:R}=F1(),[x,s]=m1(!1),p=z(!1),P=z(!1),G=j3({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),Z1=H1(()=>{var $;let Y=R===null||R===void 0?void 0:R.activeElement;if(Y&&(($=L.current)===null||$===void 0?void 0:$.contains(Y)))P.current=!0;Z()}),o1=H1(($)=>{var Y;return(Y=a.onStatusChange)===null||Y===void 0?void 0:Y.call(a,null,{status:$,...a})}),E=H1(()=>s(!1)),w=H1(()=>{var $;if(p.current)return;var Y;let l1=!!(($=L.current)===null||$===void 0?void 0:$.contains((Y=R===null||R===void 0?void 0:R.activeElement)!==null&&Y!==void 0?Y:null));if(M<0){s(!0);return}if(!l1)s(!0)});V5(V,()=>({focus:()=>{if(!L.current)return;L.current.focus()},play:()=>{p.current=!1,w()},pause:()=>{p.current=!0,E()}})),M1(()=>{return()=>o1("unmounted")},[o1]),M1(()=>{if(!R)return;if(H){var $,Y;return($=R.defaultView)===null||$===void 0||$.addEventListener("focus",w),(Y=R.defaultView)===null||Y===void 0||Y.addEventListener("blur",E),()=>{var l1,f1;(l1=R.defaultView)===null||l1===void 0||l1.removeEventListener("focus",w),(f1=R.defaultView)===null||f1===void 0||f1.removeEventListener("blur",E)}}},[R,E,w,H]);let S=v.root,I=j(($,{direction:Y})=>{if(Y==="exit")o();if(Y==="enter")w(),o1("visible")},[o1,w,o]),Q=H1(($)=>{var Y;E(),S===null||S===void 0||(Y=S.onMouseEnter)===null||Y===void 0||Y.call(S,$)}),N=H1(($)=>{var Y;w(),S===null||S===void 0||(Y=S.onMouseEnter)===null||Y===void 0||Y.call(S,$)}),{findFirstFocusable:A1,findLastFocusable:b}=s7(),i1=H1(($)=>{var Y;if($.key===Ie)$.preventDefault(),Z1();if($.key===Oe&&$.currentTarget===$.target)if($.preventDefault(),$.shiftKey){var l1;(l1=b($.currentTarget))===null||l1===void 0||l1.focus()}else{var f1;(f1=A1($.currentTarget))===null||f1===void 0||f1.focus()}S===null||S===void 0||(Y=S.onKeyDown)===null||Y===void 0||Y.call(S,$)});return M1(()=>{var $;if(!c)return;let Y=t!==null&&t!==void 0?t:LS[m];var l1;e((l1=($=L.current)===null||$===void 0?void 0:$.textContent)!==null&&l1!==void 0?l1:"",{politeness:Y})},[e,t,L,c,r,m]),M1(()=>{return()=>{if(P.current)P.current=!1,i()}},[i]),{components:{timer:wZ,root:"div"},timer:f.always({onTimeout:Z1,running:x,timeout:M!==null&&M!==void 0?M:-1},{elementType:wZ}),root:f.always(_("div",{ref:Y1(l,L),children:h,tabIndex:0,role:"listitem","aria-labelledby":g,"aria-describedby":u,...d,...S,...G,onMouseEnter:Q,onMouseLeave:N,onKeyDown:i1}),{elementType:"div"}),timerTimeout:M,transitionTimeout:0,running:x,visible:c,remove:o,close:Z1,onTransitionEntering:()=>{},updateId:r,nodeRef:L,intent:m,titleId:g,bodyId:u,onMotionFinish:I}};var cg=(a,l)=>{let{onMotionFinish:c,visible:h,updateId:Z}=a;return q(a),/*@__PURE__*/D(_d,{value:l.toast,children:/*@__PURE__*/D(Qh,{appear:!0,onMotionFinish:c,visible:h,unmountOnExit:!0,children:/*@__PURE__*/x1(a.root,{children:[a.root.children,/*@__PURE__*/D(a.timer,{},Z)]})})})};var DZ={root:"fui-ToastContainer",timer:"fui-ToastContainer__timer"},FS=/*@__PURE__*/X("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);}"]),Bv=(a)=>{let l=FS();return a.root.className=k(DZ.root,l,a.root.className),a};F();function hg(a){let{close:l,intent:c,titleId:h,bodyId:Z}=a;return{toast:u1(()=>({close:l,intent:c,titleId:h,bodyId:Z}),[l,c,h,Z])}}var SZ=/*@__PURE__*/U((a,l)=>{let c=lg(a,l);return Bv(c),K("useToastContainerStyles_unstable")(c),cg(c,hg(c))});SZ.displayName="ToastContainer";F();var Zg=()=>{return};function og(a,l){let{targetDocument:c}=F1(),h=z(Zg);return j((Z)=>{if(!Z||!c){h.current(),h.current=Zg;return}let o=c.createTreeWalker(Z,NodeFilter.SHOW_ELEMENT,{acceptNode(M){if(z1(M)&&M.classList.contains(DZ.root))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}}),r=(M)=>{let{target:t,key:m}=M;if(!z1(t))return;if(m===Pe){o.currentNode=t;let A=o.nextNode();if(!A)o.currentNode=Z,A=o.nextNode();if(z1(A))A.focus()}if(m===Ue){o.currentNode=t;let A=o.previousNode();if(A&&A.contains(t))A=o.previousNode();if(!A)o.currentNode=Z,A=o.lastChild();if(z1(A))A.focus()}},e=(M)=>{if(z1(M.currentTarget)&&!M.currentTarget.contains(z1(M.relatedTarget)?M.relatedTarget:null))a()},v=(M)=>{if(z1(M.currentTarget)&&!M.currentTarget.contains(z1(M.relatedTarget)?M.relatedTarget:null))l()};Z.addEventListener("keydown",r),Z.addEventListener("focusin",e),Z.addEventListener("focusout",v),h.current=()=>{Z.removeEventListener("keydown",r),Z.removeEventListener("focusin",e),Z.removeEventListener("focusout",v)}},[c,a,l])}F();function rg(a){let l=z(!0),c=z(()=>{return}),h=j((o,r)=>{if(l.current)a(o,r)},[a]),Z=j((o)=>{if(!o){c.current();return}let r=(v)=>{if(z1(v.currentTarget)&&v.currentTarget.contains(z1(v.relatedTarget)?v.relatedTarget:null))return;l.current=!1},e=(v)=>{if(z1(v.currentTarget)&&v.currentTarget.contains(z1(v.relatedTarget)?v.relatedTarget:null))return;l.current=!0};o.addEventListener("focusin",r),o.addEventListener("focusout",e),c.current=()=>{o.removeEventListener("focusin",r),o.removeEventListener("focusout",e)}},[]);return{announceToast:h,toasterRef:Z}}var Rl=(a)=>{let{offset:l,announce:c,mountNode:h,inline:Z=!1,...o}=a,r=z(()=>null),{toastsToRender:e,isToastVisible:v,pauseAllToasts:M,playAllToasts:t,tryRestoreFocus:m,closeAllToasts:A}=fv(o),H=j((L,R)=>r.current(L,R),[]),{dir:V}=F1(),i=f.always(_("div",o),{elementType:"div"}),d=j3({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Escape:!0}}),g=H1((L)=>{var R;if(L.key===Z4)L.preventDefault(),A();(R=a.onKeyDown)===null||R===void 0||R.call(a,L)}),u=(L)=>{var R;let x=og(M,t),{announceToast:s,toasterRef:p}=rg(c!==null&&c!==void 0?c:H);return f.optional(e.has(L)?i:null,{defaultProps:{ref:Y1(x,p),children:(R=e.get(L))===null||R===void 0?void 0:R.map((P)=>/*@__PURE__*/e1(SZ,{...P,tryRestoreFocus:m,intent:P.intent,announce:s,key:P.toastId,visible:v(P.toastId)},P.content)),onKeyDown:g,...d,"data-toaster-position":L,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:f.always(i,{elementType:"div"}),bottomStart:u(n5.bottomStart),bottomEnd:u(n5.bottomEnd),topStart:u(n5.topStart),topEnd:u(n5.topEnd),top:u(n5.top),bottom:u(n5.bottom),announceRef:r,offset:l,announce:c!==null&&c!==void 0?c:H,renderAriaLive:!c,inline:Z}};F();F();var CS=500,eg=(a)=>{let[l,c]=m1(void 0),h=z(0),[Z]=m1(()=>A6((t,m)=>{if(t.politeness===m.politeness)return t.createdAt-m.createdAt;return t.politeness==="assertive"?-1:1})),o=H1((t,m)=>{let{politeness:A}=m;if(t===(l===null||l===void 0?void 0:l.message))return;let H={message:t,politeness:A,createdAt:h.current++};if(!l)c(H);else Z.enqueue(H)}),[r,e]=y2();M1(()=>{return r(()=>{if(Z.peek())c(Z.dequeue());else c(void 0)},CS),()=>e()},[l,Z,r,e]),V5(a.announceRef,()=>o);let v=(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:f.always(a.assertive,{defaultProps:{"aria-live":"assertive",children:M},elementType:"div"}),polite:f.always(a.polite,{defaultProps:{"aria-live":"polite",children:v},elementType:"div"})}};var vg=(a)=>{return q(a),/*@__PURE__*/x1(V1,{children:[/*@__PURE__*/D(a.assertive,{}),/*@__PURE__*/D(a.polite,{})]})};var Mg={assertive:"fui-AriaLive__assertive",polite:"fui-AriaLive__polite"},RS=/*@__PURE__*/X("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),mg=(a)=>{let l=RS();return a.assertive.className=k(l,Mg.assertive,a.assertive.className),a.polite.className=k(l,Mg.polite,a.polite.className),a};var kZ=(a)=>{let l=eg(a);return mg(l),vg(l)};kZ.displayName="AriaLive";var xl=(a)=>{let{announceRef:l,renderAriaLive:c,inline:h,mountNode:Z}=a;q(a);let o=!!a.bottomStart||!!a.bottomEnd||!!a.topStart||!!a.topEnd||!!a.top||!!a.bottom,r=c?/*@__PURE__*/D(kZ,{announceRef:l}):null,e=/*@__PURE__*/x1(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__*/x1(V1,{children:[r,o?e:null]});return/*@__PURE__*/x1(V1,{children:[r,o?/*@__PURE__*/D(U7,{mountNode:Z,children:e}):null]})};var sZ={root:"fui-Toaster"},xS=/*@__PURE__*/X("r3hfdjz",null,[".r3hfdjz{position:fixed;width:292px;pointer-events:none;}"]),pS=/*@__PURE__*/B({inline:{qhf8xq:"f1euv43f"}},{d:[".f1euv43f{position:absolute;}"]}),pl=(a)=>{let l=xS(),c=pS(),h=k(sZ.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 r;a.bottomEnd.className=h;var e;(e=(r=a.bottomEnd).style)!==null&&e!==void 0||(r.style={}),Object.assign(a.bottomEnd.style,q7(n5.bottomEnd,a.dir,a.offset))}if(a.topStart){var v;a.topStart.className=h;var M;(M=(v=a.topStart).style)!==null&&M!==void 0||(v.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 A;a.top.className=h;var H;(H=(A=a.top).style)!==null&&H!==void 0||(A.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 D4=(a)=>{let l=Rl(a);return pl(l),K("useToasterStyles_unstable")(l),xl(l)};D4.displayName="Toaster";F();F();var wl=(a,l)=>{let{intent:c}=pZ();return{components:{root:"div"},root:f.always(_("div",{ref:l,...a}),{elementType:"div"}),backgroundAppearance:a.appearance,intent:c}};var Dl=(a,l)=>{return q(a),/*@__PURE__*/D(uh,{value:l.backgroundAppearance,children:/*@__PURE__*/D(a.root,{})})};var Tv={root:"fui-Toast"},wS=/*@__PURE__*/X("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);}"]),DS=/*@__PURE__*/B({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]}),Sl=(a)=>{let l=wS(),c=DS();return a.root.className=k(Tv.root,l,a.backgroundAppearance==="inverted"&&c.inverted,a.root.className),a};function tg(a){let{backgroundAppearance:l}=a;return{backgroundAppearance:l}}var S2=/*@__PURE__*/U((a,l)=>{let c=wl(a,l);return Sl(c),K("useToastStyles_unstable")(c),Dl(c,tg(c))});S2.displayName="Toast";F();F();var kl=(a,l)=>{let{intent:c,titleId:h}=pZ(),Z=m6(),o;switch(c){case"success":o=/*@__PURE__*/e1(zh,null);break;case"error":o=/*@__PURE__*/e1(Kh,null);break;case"warning":o=/*@__PURE__*/e1($h,null);break;case"info":o=/*@__PURE__*/e1(bh,null);break}return{action:f.optional(a.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:f.optional(a.media,{renderByDefault:!!c,defaultProps:{children:o},elementType:"div"}),root:f.always(_("div",{ref:l,children:a.children,id:h,...a}),{elementType:"div"}),intent:c,backgroundAppearance:Z}};var sl=(a)=>{return q(a),/*@__PURE__*/x1(V1,{children:[a.media?/*@__PURE__*/D(a.media,{}):null,/*@__PURE__*/D(a.root,{}),a.action?/*@__PURE__*/D(a.action,{}):null]})};var q6={root:"fui-ToastTitle",media:"fui-ToastTitle__media",action:"fui-ToastTitle__action"},SS=/*@__PURE__*/X("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),kS=/*@__PURE__*/X("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__*/X("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);}"]),fS=/*@__PURE__*/B({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),BS=/*@__PURE__*/B({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);}"]}),TS=/*@__PURE__*/B({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);}"]}),fl=(a)=>{let l=SS(),c=sS(),h=kS(),Z=BS(),o=TS(),{intent:r}=a,e=fS();if(a.root.className=k(q6.root,l,a.backgroundAppearance==="inverted"&&e.root,a.root.className),a.media)a.media.className=k(q6.media,h,a.backgroundAppearance==="inverted"&&e.media,r&&Z[r],r&&a.backgroundAppearance==="inverted"&&o[r],a.media.className);if(a.action)a.action.className=k(q6.action,c,a.backgroundAppearance==="inverted"&&e.action,a.action.className);return a};var k2=/*@__PURE__*/U((a,l)=>{let c=kl(a,l);return fl(c),K("useToastTitleStyles_unstable")(c),sl(c)});k2.displayName="ToastTitle";F();F();F();function Ag(a){switch(a){case"info":return/*@__PURE__*/e1(bh,null);case"warning":return/*@__PURE__*/e1($h,null);case"error":return/*@__PURE__*/e1(Kh,null);case"success":return/*@__PURE__*/e1(zh,null);default:return null}}F();function Hg(a=!1){let{targetDocument:l}=F1(),c=$5(()=>({}),{})[1],h=z(!1),Z=z(null),o=z(-1),r=j((v)=>{var M,t;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 A;let H=(A=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&&A!==void 0?A:m===null||m===void 0?void 0:m.target.getBoundingClientRect().width;if(H===void 0||!m)return;let{target:V}=m;if(!z1(V))return;let i;if(h.current){if(o.current<H)i=!1}else{let d=V.scrollWidth;if(H<d)i=!0}if(o.current=H,typeof i!=="undefined"&&h.current!==i)h.current=i,c()},[c]),e=j((v)=>{var M;if(!a||!v||!(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(r);Z.current=m,m.observe(v,{box:"border-box"})},[l,r,a]);return M1(()=>{return()=>{var v;(v=Z.current)===null||v===void 0||v.disconnect()}},[]),{ref:e,reflowing:h.current}}F();var Vg=v1(void 0),WS={className:"",nodeRef:Z5()},mo1=Vg.Provider,ig=()=>{var a;return(a=h1(Vg))!==null&&a!==void 0?a:WS};var Bl=(a,l)=>{let{layout:c="auto",intent:h="info",politeness:Z,shape:o="rounded"}=a,r=(Z!==null&&Z!==void 0?Z:h==="info")?"polite":"assertive",e=c==="auto",{ref:v,reflowing:M}=Hg(e),t=e?M?"multiline":"singleline":c,{className:m,nodeRef:A}=ig(),H=z(null),V=z(null),{announce:i}=la(),d=M0();return M1(()=>{var g,u;let L=(g=V.current)===null||g===void 0?void 0:g.textContent,R=(u=H.current)===null||u===void 0?void 0:u.textContent,x=[L,R].filter(Boolean).join(",");i(x,{polite:r==="polite",alert:r==="assertive"})},[V,H,i,r]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:f.always(_("div",{ref:Y1(l,v,A),role:"group","aria-labelledby":d,...a}),{elementType:"div"}),icon:f.optional(a.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:Ag(h)}}),bottomReflowSpacer:f.optional(a.bottomReflowSpacer,{renderByDefault:t==="multiline",elementType:"div"}),layout:t,intent:h,transitionClassName:m,actionsRef:H,bodyRef:V,titleId:d,shape:o}};F();var ng=v1(void 0),OS={titleId:"",layout:"singleline",actionsRef:Z5(),bodyRef:Z5()},Wv=ng.Provider,Ov=()=>{var a;return(a=h1(ng))!==null&&a!==void 0?a:OS};var Tl=(a,l)=>{return q(a),/*@__PURE__*/D(Wv,{value:l.messageBar,children:/*@__PURE__*/x1(a.root,{children:[a.icon&&/*@__PURE__*/D(a.icon,{}),a.root.children,a.bottomReflowSpacer&&/*@__PURE__*/D(a.bottomReflowSpacer,{})]})})};var K6={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},PS=/*@__PURE__*/X("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);}']),US=/*@__PURE__*/X("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__*/X("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),GS=/*@__PURE__*/B({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}]]}),zS=/*@__PURE__*/B({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),qS=/*@__PURE__*/B({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);}"]}),Wl=(a)=>{let l=PS(),c=US(),h=zS(),Z=qS(),o=IS(),r=GS();if(a.root.className=k(K6.root,l,a.layout==="multiline"&&r.rootMultiline,a.shape==="square"&&r.square,Z[a.intent],a.transitionClassName,a.root.className),a.icon)a.icon.className=k(K6.icon,c,h[a.intent],a.icon.className);if(a.bottomReflowSpacer)a.bottomReflowSpacer.className=k(K6.bottomReflowSpacer,o);return a};F();function Ol(a){let{layout:l,actionsRef:c,bodyRef:h,titleId:Z}=a;return{messageBar:u1(()=>({layout:l,actionsRef:c,bodyRef:h,titleId:Z}),[l,c,h,Z])}}var S4=/*@__PURE__*/U((a,l)=>{let c=Bl(a,l);return Wl(c),K("useMessageBarStyles_unstable")(c),Tl(c,Ol(c))});S4.displayName="MessageBar";F();F();var Pl=(a,l)=>{let{bodyRef:c}=Ov();return{components:{root:"div"},root:f.always(_("div",{ref:Y1(l,c),...a}),{elementType:"div"})}};var Ul=(a,l)=>{return q(a),/*@__PURE__*/D(MZ,{value:l.link,children:/*@__PURE__*/D(a.root,{})})};var fZ={root:"fui-MessageBarBody"},KS=/*@__PURE__*/X("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);}"]),Il=(a)=>{let l=KS();return a.root.className=k(fZ.root,l,a.root.className),a};F();function dg(a){return{link:u1(()=>({inline:!0}),[])}}var k4=/*@__PURE__*/U((a,l)=>{let c=Pl(a,l),h=dg(c);return Il(c),K("useMessageBarBodyStyles_unstable")(c),Ul(c,h)});k4.displayName="MessageBarBody";F();var yS={scrollState:"none",setScrollState:()=>({})},Bg=v1(void 0),s4=Bg.Provider,f4=()=>{var a;return(a=h1(Bg))!==null&&a!==void 0?a:yS},B4=()=>{let[a,l]=m1("none");return{setScrollState:l,scrollState:a}};F();F();F();F();var J6={drawerSizeVar:"--fui-Drawer--size"},Tg={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},jS=/*@__PURE__*/B({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;}"]}),NS=/*@__PURE__*/B({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%;}"]}),TZ=({position:a,size:l})=>{let c=jS(),h=NS();return k(c[a],a==="bottom"&&h[l],a!=="bottom"&&c[l])};var Jv={small:T1.durationGentle,medium:T1.durationSlow,large:T1.durationSlower,full:T1.durationUltraSlow};function Wg(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 Yv=M5(({position:a,size:l,dir:c})=>{let h=[{transform:Wg(a,J6.drawerSizeVar,c),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],Z=Jv[l];return{enter:{keyframes:h,duration:Z,easing:T1.curveDecelerateMid},exit:{keyframes:[...h].reverse(),duration:Z,easing:T1.curveAccelerateMin}}}),Og=M5(({position:a,size:l,dir:c})=>{let h=[{transform:Wg(a,J6.drawerSizeVar,c),boxShadow:`0px ${Q1.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:Q1.shadow64,opacity:1}],Z=Jv[l];return{enter:{keyframes:h,duration:Z,easing:T1.curveDecelerateMid},exit:{keyframes:[...h].reverse(),duration:Z,easing:T1.curveAccelerateMin}}}),Pg=M5(({size:a})=>{let l=[{opacity:0},{opacity:1}],c=Jv[a];return{enter:{keyframes:l,easing:T1.curveLinear,duration:c},exit:{keyframes:[...l].reverse(),easing:T1.curveLinear,duration:c}}});function WZ(a){let{open:l=!1,size:c="small",position:h="start"}=a;return{size:c,position:h,open:l}}F();var _S=/*@__PURE__*/X("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),ak=/*@__PURE__*/B({nested:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),Ug=(a)=>{let l=_S(),c=ak();if(a.backdrop)a.backdrop.className=k(l,a.isNestedDialog&&c.nested,a.backdrop.className);return a};var zl=/*@__PURE__*/U((a,l)=>{let c=u3({...a,as:a.as},l),h=F3(c);return Ug(c),L3(c,h)});zl.displayName="OverlayDrawerSurface";F();function Qv(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__*/e1(l,{...Z,...c},Z.children)}}}var lk={active:!0,canRender:!0,ref:/*@__PURE__*/Z5(),type:"idle"},Xv=(a,l)=>{let{open:c,size:h,position:Z}=WZ(a),{backdropMotion:o,modalType:r="modal",inertTrapFocus:e,onOpenChange:v,surfaceMotion:M,mountNode:t}=a,{dir:m,targetDocument:A}=F1(),{element:H}=Ga(t),V=Boolean(H&&(A===null||A===void 0?void 0:A.body)!==H),i=f.resolveShorthand(a.backdrop),d=r!=="non-modal"&&i!==null,g=f.always({...a,ref:l,backdrop:d?{...i}:null,backdropMotion:Qv(o,Pg,{size:h})},{elementType:zl}),u=f.always({open:c,onOpenChange:v,inertTrapFocus:e,modalType:r,surfaceMotion:Qv(M,Og,{position:Z,size:h,dir:m}),children:null},{elementType:w5});return{components:{root:zl,dialog:w5},root:g,dialog:u,open:c,size:h,position:Z,hasMountNodeElement:V,mountNode:t,motion:lk}};var Ev=(a,l)=>{return q(a),/*@__PURE__*/D(s4,{value:l,children:/*@__PURE__*/D(a.dialog,{children:/*@__PURE__*/D(a.root,{})})})};F();var yv={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},ck=/*@__PURE__*/X("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;}}"]}),hk=/*@__PURE__*/B({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;}"]}),jv=(a)=>{let l=TZ(a),c=ck(),h=hk(),Z=a.hasMountNodeElement&&h.absolute,o=a.root.backdrop;if(a.root.className=k(yv.root,l,c,h[a.position],Z,a.root.className),o)o.className=k(yv.backdrop,Z,o.className);return a};var ql=/*@__PURE__*/U((a,l)=>{let c=Xv(a,l),h=B4();return jv(c),K("useDrawerOverlayStyles_unstable")(c),K("useOverlayDrawerStyles_unstable")(c),Ev(c,h)});ql.displayName="OverlayDrawer";F();F();var Zk={active:!0,canRender:!0,ref:Z5(),type:"idle"},Nv=(a,l)=>{let{size:c,position:h,open:Z}=WZ(a),{separator:o=!1,surfaceMotion:r}=a,{dir:e}=F1();return{components:{root:"div",surfaceMotion:Yv},root:f.always(_("div",{...a,ref:l}),{elementType:"div"}),open:Z,position:h,size:c,separator:o,surfaceMotion:o4(r,{elementType:Yv,defaultProps:{position:h,size:c,dir:e,visible:Z,unmountOnExit:!0}}),motion:Zk}};var _v=(a,l)=>{return q(a),/*@__PURE__*/D(s4,{value:l,children:/*@__PURE__*/D(a.surfaceMotion,{children:/*@__PURE__*/D(a.root,{})})})};var Ig={root:"fui-InlineDrawer"},ok=/*@__PURE__*/X("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;}"]),qe1=`1px solid ${Q1.colorNeutralBackground3}`,rk=/*@__PURE__*/B({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 ek(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 aM=(a)=>{let l=ok(),c=TZ(a),h=rk();return a.root.className=k(Ig.root,l,c,ek(a,h),h[a.position],a.root.className),a};var Kl=/*@__PURE__*/U((a,l)=>{let c=Nv(a,l),h=B4();return aM(c),K("useDrawerInlineStyles_unstable")(c),K("useInlineDrawerStyles_unstable")(c),_v(c,h)});Kl.displayName="InlineDrawer";var bl=(a,l)=>{let c=a.type==="inline"?Kl:ql,h=f.always({ref:l,...a},{elementType:c});return{components:{root:c},root:h}};var $l=(a,l)=>{return q(a),/*@__PURE__*/D(s4,{value:l,children:/*@__PURE__*/D(a.root,{})})};var Gg={root:"fui-Drawer"},Jl=(a)=>{return a.root.className=k(Gg.root,a.root.className),a};var s2=/*@__PURE__*/U((a,l)=>{let c=bl(a,l),h=B4();return Jl(c),K("useDrawerStyles_unstable")(c),$l(c,h)});s2.displayName="Drawer";F();F();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"},Yl=(a,l)=>{let{setScrollState:c}=f4(),h=z(null),[Z,o]=Lh(),r=j(()=>{if(!h.current)return;c(vk(h.current))},[c]),e=j(()=>{o(),Z(()=>r())},[o,Z,r]);return J1(()=>{return o(),Z(()=>r()),()=>o()},[a.children,o,r,Z]),J1(()=>{return o(),Z(()=>r()),()=>o()},[o,r,Z]),{components:{root:"div"},root:f.always(_("div",{ref:Y1(l,h),...a,onScroll:y5(a.onScroll,e)}),{elementType:"div"})}};var Ql=(a)=>{return q(a),/*@__PURE__*/D(a.root,{})};var OZ={root:"fui-DrawerBody"},Mk=/*@__PURE__*/X("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);}"]),Xl=(a)=>{let l=Mk();return a.root.className=k(OZ.root,l,a.root.className),a};var f2=/*@__PURE__*/U((a,l)=>{let c=Yl(a,l);return Xl(c),K("useDrawerBodyStyles_unstable")(c),Ql(c)});f2.displayName="DrawerBody";F();F();var El=(a,l)=>{let{scrollState:c}=f4();return{components:{root:"header"},root:f.always(_("header",{ref:l,role:"none",...a}),{elementType:"header"}),scrollState:c}};var yl=(a)=>{return q(a),/*@__PURE__*/D(a.root,{})};var PZ={root:"fui-DrawerHeader"},mk=/*@__PURE__*/X("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;}"]),tk=/*@__PURE__*/B({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;}"]}),jl=(a)=>{let l=mk(),c=tk();return a.root.className=k(PZ.root,l,a.scrollState!=="none"&&c.separator,["middle","bottom"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var B2=/*@__PURE__*/U((a,l)=>{let c=El(a,l);return jl(c),K("useDrawerHeaderStyles_unstable")(c),yl(c)});B2.displayName="DrawerHeader";F();F();var Nl=(a,l)=>{let{children:c,heading:h}=a,Z=I0((o)=>o.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:f.always(_("div",{ref:l,...a}),{elementType:"div"}),heading:f.optional(h,{defaultProps:{id:Z,children:c},renderByDefault:!0,elementType:"h2"}),action:f.optional(a.action,{elementType:"div"})}};var _l=(a)=>{return q(a),/*@__PURE__*/x1(a.root,{children:[a.heading&&/*@__PURE__*/D(a.heading,{}),a.action&&/*@__PURE__*/D(a.action,{})]})};var Y6={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},Ak=/*@__PURE__*/B({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);}"]}),ac=(a)=>{let l=Ak(),{heading:c={},action:h,components:Z}=a;if(g3({components:{root:Z.heading,action:Z.action},root:c,action:h}),a.root.className=k(Y6.root,l.root,a.root.className),a.heading)a.heading.className=k(Y6.heading,a.heading.className);if(a.action)a.action.className=k(Y6.action,l.action,a.action.className);return a};var T2=/*@__PURE__*/U((a,l)=>{let c=Nl(a,l);return ac(c),K("useDrawerHeaderTitleStyles_unstable")(c),_l(c)});T2.displayName="DrawerHeaderTitle";F();F();var lc=(a,l)=>{let{scrollState:c}=f4();return{components:{root:"footer"},root:f.always(_("footer",{ref:l,role:"none",...a}),{elementType:"footer"}),scrollState:c}};var cc=(a)=>{return q(a),/*@__PURE__*/D(a.root,{})};var UZ={root:"fui-DrawerFooter"},Hk=/*@__PURE__*/X("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;}"]),Vk=/*@__PURE__*/B({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;}"]}),hc=(a)=>{let l=Hk(),c=Vk();return a.root.className=k(UZ.root,l,a.scrollState!=="none"&&c.separator,["middle","top"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var K7=/*@__PURE__*/U((a,l)=>{let c=lc(a,l);return hc(c),K("useDrawerFooterStyles_unstable")(c),cc(c)});K7.displayName="DrawerFooter";function s0(a,l){if(ik(a))a="100%";var c=nk(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 Zc(a){return Math.min(1,Math.max(0,a))}function ik(a){return typeof a==="string"&&a.indexOf(".")!==-1&&parseFloat(a)===1}function nk(a){return typeof a==="string"&&a.indexOf("%")!==-1}function IZ(a){if(a=parseFloat(a),isNaN(a)||a<0||a>1)a=1;return a}function oc(a){if(a<=1)return"".concat(Number(a)*100,"%");return a}function x3(a){return a.length===1?"0"+a:String(a)}function zg(a,l,c){return{r:s0(a,255)*255,g:s0(l,255)*255,b:s0(c,255)*255}}function cM(a,l,c){a=s0(a,255),l=s0(l,255),c=s0(c,255);var h=Math.max(a,l,c),Z=Math.min(a,l,c),o=0,r=0,e=(h+Z)/2;if(h===Z)r=0,o=0;else{var v=h-Z;switch(r=e>0.5?v/(2-h-Z):v/(h+Z),h){case a:o=(l-c)/v+(l<c?6:0);break;case l:o=(c-a)/v+2;break;case c:o=(a-l)/v+4;break;default:break}o/=6}return{h:o,s:r,l:e}}function lM(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 qg(a,l,c){var h,Z,o;if(a=s0(a,360),l=s0(l,100),c=s0(c,100),l===0)Z=c,o=c,h=c;else{var r=c<0.5?c*(1+l):c+l-c*l,e=2*c-r;h=lM(e,r,a+0.3333333333333333),Z=lM(e,r,a),o=lM(e,r,a-0.3333333333333333)}return{r:h*255,g:Z*255,b:o*255}}function hM(a,l,c){a=s0(a,255),l=s0(l,255),c=s0(c,255);var h=Math.max(a,l,c),Z=Math.min(a,l,c),o=0,r=h,e=h-Z,v=h===0?0:e/h;if(h===Z)o=0;else{switch(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,v:r}}function Kg(a,l,c){a=s0(a,360)*6,l=s0(l,100),c=s0(c,100);var h=Math.floor(a),Z=a-h,o=c*(1-l),r=c*(1-Z*l),e=c*(1-(1-Z)*l),v=h%6,M=[c,r,o,o,e,c][v],t=[e,c,c,r,o,o][v],m=[o,o,e,c,c,r][v];return{r:M*255,g:t*255,b:m*255}}function ZM(a,l,c,h){var Z=[x3(Math.round(a).toString(16)),x3(Math.round(l).toString(16)),x3(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 bg(a,l,c,h,Z){var o=[x3(Math.round(a).toString(16)),x3(Math.round(l).toString(16)),x3(Math.round(c).toString(16)),x3(dk(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 dk(a){return Math.round(parseFloat(a)*255).toString(16)}function oM(a){return D5(a)/255}function D5(a){return parseInt(a,16)}function $g(a){return{r:a>>16,g:(a&65280)>>8,b:a&255}}var rc={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 Jg(a){var l={r:0,g:0,b:0},c=1,h=null,Z=null,o=null,r=!1,e=!1;if(typeof a==="string")a=Lk(a);if(typeof a==="object"){if(b7(a.r)&&b7(a.g)&&b7(a.b))l=zg(a.r,a.g,a.b),r=!0,e=String(a.r).substr(-1)==="%"?"prgb":"rgb";else if(b7(a.h)&&b7(a.s)&&b7(a.v))h=oc(a.s),Z=oc(a.v),l=Kg(a.h,h,Z),r=!0,e="hsv";else if(b7(a.h)&&b7(a.s)&&b7(a.l))h=oc(a.s),o=oc(a.l),l=qg(a.h,h,o),r=!0,e="hsl";if(Object.prototype.hasOwnProperty.call(a,"a"))c=a.a}return c=IZ(c),{ok:r,format:a.format||e,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 gk="[-\\+]?\\d+%?",uk="[-\\+]?\\d*\\.\\d+%?",p3="(?:".concat(uk,")|(?:").concat(gk,")"),rM="[\\s|\\(]+(".concat(p3,")[,|\\s]+(").concat(p3,")[,|\\s]+(").concat(p3,")\\s*\\)?"),eM="[\\s|\\(]+(".concat(p3,")[,|\\s]+(").concat(p3,")[,|\\s]+(").concat(p3,")[,|\\s]+(").concat(p3,")\\s*\\)?"),W2={CSS_UNIT:new RegExp(p3),rgb:new RegExp("rgb"+rM),rgba:new RegExp("rgba"+eM),hsl:new RegExp("hsl"+rM),hsla:new RegExp("hsla"+eM),hsv:new RegExp("hsv"+rM),hsva:new RegExp("hsva"+eM),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 Lk(a){if(a=a.trim().toLowerCase(),a.length===0)return!1;var l=!1;if(rc[a])a=rc[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:D5(c[1]),g:D5(c[2]),b:D5(c[3]),a:oM(c[4]),format:l?"name":"hex8"};if(c=W2.hex6.exec(a),c)return{r:D5(c[1]),g:D5(c[2]),b:D5(c[3]),format:l?"name":"hex"};if(c=W2.hex4.exec(a),c)return{r:D5(c[1]+c[1]),g:D5(c[2]+c[2]),b:D5(c[3]+c[3]),a:oM(c[4]+c[4]),format:l?"name":"hex8"};if(c=W2.hex3.exec(a),c)return{r:D5(c[1]+c[1]),g:D5(c[2]+c[2]),b:D5(c[3]+c[3]),format:l?"name":"hex"};return!1}function b7(a){return Boolean(W2.CSS_UNIT.exec(String(a)))}var vM=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=$g(l);this.originalInput=l;var Z=Jg(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,r=l.g/255,e=l.b/255;if(o<=0.03928)c=o/12.92;else c=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);if(e<=0.03928)Z=e/12.92;else Z=Math.pow((e+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=IZ(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=hM(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=hM(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=cM(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=cM(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 ZM(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 bg(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(s0(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(s0(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="#"+ZM(this.r,this.g,this.b,!1);for(var c=0,h=Object.entries(rc);c<h.length;c++){var Z=h[c],o=Z[0],r=Z[1];if(l===r)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=Zc(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=Zc(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=Zc(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=Zc(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,r={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(r)},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,r=[],e=1/l;while(l--)r.push(new a({h,s:Z,v:o})),o=(o+e)%1;return r},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 r=1;r<l;r++)Z.push(new a({h:(h+r*o)%360,s:c.s,l:c.l}));return Z},a.prototype.equals=function(l){return this.toRgbString()===new a(l).toRgbString()},a}();function w3(a,l,c,h){function Z(o){return o instanceof c?o:new c(function(r){r(o)})}return new(c||(c=Promise))(function(o,r){function e(t){try{M(h.next(t))}catch(m){r(m)}}function v(t){try{M(h.throw(t))}catch(m){r(m)}}function M(t){t.done?o(t.value):Z(t.value).then(e,v)}M((h=h.apply(a,l||[])).next())})}var C0=(a,l,c)=>{return new vM(a).mix(new vM(l),c).toHexString()},Fk=(a)=>{return{10:a.themeDarker,20:C0(a.themeDarker,a.themeDark),30:a.themeDark,40:C0(a.themeDark,a.themeDarkAlt),50:a.themeDarkAlt,60:C0(a.themeDarkAlt,a.themePrimary),70:a.themePrimary,80:C0(a.themePrimary,a.themeSecondary),90:a.themeSecondary,100:C0(a.themeSecondary,a.themeTertiary),110:a.themeTertiary,120:C0(a.themeTertiary,a.themeLight),130:a.themeLight,140:C0(a.themeLight,a.themeLighter),150:a.themeLighter,160:C0(a.themeLighter,a.themeLighterAlt)}},Ck=(a)=>{return{10:a.themeDarker,20:C0(a.themeDarker,a.themePrimary,20),30:C0(a.themeDarker,a.themePrimary,30),40:C0(a.themeDarker,a.themePrimary,40),50:C0(a.themeDarker,a.themePrimary,50),60:C0(a.themeDarker,a.themePrimary,60),70:C0(a.themeDarker,a.themePrimary,70),80:a.themePrimary,90:C0(a.themePrimary,a.themeLighterAlt,10),100:C0(a.themePrimary,a.themeLighterAlt,20),110:C0(a.themePrimary,a.themeLighterAlt,30),120:C0(a.themePrimary,a.themeLighterAlt,40),130:C0(a.themePrimary,a.themeLighterAlt,50),140:C0(a.themePrimary,a.themeLighterAlt,60),150:C0(a.themePrimary,a.themeLighterAlt,70),160:a.themeLighterAlt}},GZ=(a,l="pairs")=>{switch(l){case"primaryAndEnds":return Ck(a);case"pairs":default:return Fk(a)}};Q2();async function Yg(){if(window.moduleLoaderPromise)return(await window.moduleLoaderPromise)?.context;console.error("Unable to retrieve Modern SP Context...")}async function Qg(){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 MM="d6ca1fc2-0591-4c6d-8a25-cae3262c017b",Xg="45e75137-13c5-4bb2-a2b3-8ab6382682ee",Eg="SPFxExtensionsConfigurator",zZ="SitePages/SPFxExtensionsConfigurator.aspx",X0="manifest.txt",c2="collectionconfig.txt",HV1="Loading...",Q6="SPFxExtensionsConfiguration",X6="SPFxExtensionsWhiteList",s1="SPFxExtensions",yg="/SPFxExtensions/",S5="SPFxExtensionsData",qZ="[SPFxExtensionCore]",ec={appDefinitionMap:[],appRelativeEntryPointUrls:[],isESM:!0},E6={enabledEverywhere:!1,excludedHubIds:[],excludedIds:[],includedHubIds:[],includedIds:[]},vc={enabledAppCollections:[],urlMap:[]},E0="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+Rk(Z,l,c,o)+l:a+Z+l}}function Rk(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 iV1=S1("\x1B[0m","\x1B[0m"),nV1=S1("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dV1=S1("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),gV1=S1("\x1B[3m","\x1B[23m"),uV1=S1("\x1B[4m","\x1B[24m"),LV1=S1("\x1B[7m","\x1B[27m"),FV1=S1("\x1B[8m","\x1B[28m"),CV1=S1("\x1B[9m","\x1B[29m"),RV1=S1("\x1B[30m","\x1B[39m"),xV1=S1("\x1B[31m","\x1B[39m"),pV1=S1("\x1B[32m","\x1B[39m"),wV1=S1("\x1B[33m","\x1B[39m"),DV1=S1("\x1B[34m","\x1B[39m"),SV1=S1("\x1B[35m","\x1B[39m"),kV1=S1("\x1B[36m","\x1B[39m"),sV1=S1("\x1B[37m","\x1B[39m"),fV1=S1("\x1B[90m","\x1B[39m"),BV1=S1("\x1B[40m","\x1B[49m"),TV1=S1("\x1B[41m","\x1B[49m"),WV1=S1("\x1B[42m","\x1B[49m"),OV1=S1("\x1B[43m","\x1B[49m"),PV1=S1("\x1B[44m","\x1B[49m"),UV1=S1("\x1B[45m","\x1B[49m"),IV1=S1("\x1B[46m","\x1B[49m"),GV1=S1("\x1B[47m","\x1B[49m"),zV1=S1("\x1B[90m","\x1B[39m"),qV1=S1("\x1B[91m","\x1B[39m"),KZ=S1("\x1B[92m","\x1B[39m"),KV1=S1("\x1B[93m","\x1B[39m"),bV1=S1("\x1B[94m","\x1B[39m"),$V1=S1("\x1B[95m","\x1B[39m"),JV1=S1("\x1B[96m","\x1B[39m"),YV1=S1("\x1B[97m","\x1B[39m"),QV1=S1("\x1B[100m","\x1B[49m"),XV1=S1("\x1B[101m","\x1B[49m"),EV1=S1("\x1B[102m","\x1B[49m"),yV1=S1("\x1B[103m","\x1B[49m"),jV1=S1("\x1B[104m","\x1B[49m"),NV1=S1("\x1B[105m","\x1B[49m"),_V1=S1("\x1B[106m","\x1B[49m"),ai1=S1("\x1B[107m","\x1B[49m");function d1(...a){console.error(KZ(qZ),(/*@__PURE__*/new Date()).toISOString(),...a)}function O2(...a){console.warn(KZ(qZ),(/*@__PURE__*/new Date()).toISOString(),...a)}function y0(...a){console.info(KZ(qZ),(/*@__PURE__*/new Date()).toISOString(),...a)}function bZ(...a){}function Zi1(a,l,c){d1("Error while executing onInstanceRequested for app",a.id,"with name",a.name,c?`Additional Data: ${c}`:"",l)}function ei1(){return O2("The app instance event was called before app instance was initialized."),()=>{}}var mM=window.crypto.randomUUID();function vi1(){return mM}function Mi1(){return mM=window.crypto.randomUUID(),mM}function tM(a){return a.replace("{","").replace("}","")}function U1(a){return JSON.parse(JSON.stringify(a))}var z0=await Qg();function Vi1(){return z0.contextType==="SPOModernContext"?z0.context.web.id.toString():tM(z0.context.webId)}function T4(){return(z0.contextType==="SPOModernContext"?z0.context.web.absoluteUrl:z0.context.webAbsoluteUrl).replace(/\/$/,"")}function ii1(){return z0.contextType==="SPOModernContext"?z0.context.site.id.toString():tM(z0.context.siteId)}function ni1(){return z0.contextType==="SPOModernContext"?z0.context.site.absoluteUrl:z0.context.siteAbsoluteUrl}function di1(){return(z0.contextType==="SPOModernContext"?z0.context.legacyPageContext.hubSiteId?.toString():z0.context.hubSiteId)??E0}function gi1(){return z0.contextType==="SPOModernContext"?z0.context.legacyPageContext.isHubSite:z0.context.isHubSite}z3();Q2();var xk=Symbol.for("preact-signals");function JZ(){if(!(D3>1)){var a,l=!1;while(Mc!==void 0){var c=Mc;Mc=void 0,AM++;while(c!==void 0){var h=c.o;if(c.o=void 0,c.f&=-3,!(8&c.f)&&Ng(c))try{c.c()}catch(Z){if(!l)a=Z,l=!0}c=h}}if(AM=0,D3--,l)throw a}else D3--}function YZ(a){if(D3>0)return a();D3++;try{return a()}finally{JZ()}}var j1=void 0;var Mc=void 0,D3=0,AM=0,$Z=0;function jg(a){if(j1!==void 0){var l=a.n;if(l===void 0||l.t!==j1){if(l={i:0,S:a,p:j1.s,n:void 0,t:j1,e:void 0,x:void 0,r:l},j1.s!==void 0)j1.s.n=l;if(j1.s=l,a.n=l,32&j1.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=j1.s,l.n=void 0,j1.s.n=l,j1.s=l}return l}}}function f0(a){this.v=a,this.i=0,this.n=void 0,this.t=void 0}f0.prototype.brand=xk;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 m7(function(){var c=l.value,h=j1;j1=void 0;try{a(c)}finally{j1=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=j1;j1=void 0;try{return this.value}finally{j1=a}};Object.defineProperty(f0.prototype,"value",{get:function(){var a=jg(this);if(a!==void 0)a.i=this.i;return this.v},set:function(a){if(a!==this.v){if(AM>100)throw new Error("Cycle detected");this.v=a,this.i++,$Z++,D3++;try{for(var l=this.t;l!==void 0;l=l.x)l.t.N()}finally{JZ()}}}});function q0(a){return new f0(a)}function Ng(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 _g(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 au(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 y6(a){f0.call(this,void 0),this.x=a,this.s=void 0,this.g=$Z-1,this.f=4}(y6.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===$Z)return!0;if(this.g=$Z,this.f|=1,this.i>0&&!Ng(this))return this.f&=-2,!0;var a=j1;try{_g(this),j1=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 j1=a,au(this),this.f&=-2,!0};y6.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)};y6.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)}}};y6.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(y6.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var a=jg(this);if(this.h(),a!==void 0)a.i=this.i;if(16&this.f)throw this.v;return this.v}});function QZ(a){return new y6(a)}function lu(a){var l=a.u;if(a.u=void 0,typeof l=="function"){D3++;var c=j1;j1=void 0;try{l()}catch(h){throw a.f&=-2,a.f|=8,HM(a),h}finally{j1=c,JZ()}}}function HM(a){for(var l=a.s;l!==void 0;l=l.n)l.S.U(l);a.x=void 0,a.s=void 0,lu(a)}function pk(a){if(j1!==this)throw new Error("Out-of-order effect");if(au(this),j1=a,this.f&=-2,8&this.f)HM(this);JZ()}function mc(a){this.x=a,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}mc.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()}};mc.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,lu(this),_g(this),D3++;var a=j1;return j1=this,pk.bind(this,a)};mc.prototype.N=function(){if(!(2&this.f))this.f|=2,this.o=Mc,Mc=this};mc.prototype.d=function(){if(this.f|=8,!(1&this.f))HM(this)};function m7(a){var l=new mc(a);try{l.c()}catch(c){throw l.d(),c}return l.d.bind(l)}var iM,nM,VM,cu=[],hu=[];m7(function(){iM=this.N})();function j6(a,l){g1[a]=l.bind(null,g1[a]||function(){})}function XZ(a){if(VM)VM();VM=a&&a.S()}function Zu(a){var l=this,c=a.data,h=$7(c);h.value=c;var Z=u1(function(){var e=l,v=l.__v;while(v=v.__)if(v.__c){v.__c.__$f|=4;break}var M=QZ(function(){var H=h.value.value;return H===0?0:H===!0?"":H||""}),t=QZ(function(){return!Array.isArray(M.value)&&!Eo(M.value)}),m=m7(function(){if(this.N=ou,t.value){var H=M.value;if(e.__v&&e.__v.__e&&e.__v.__e.nodeType===3)e.__v.__e.data=H}}),A=l.__$u.d;return l.__$u.d=function(){m(),A.call(this)},[t,M]},[]),o=Z[0],r=Z[1];return o.value?r.peek():r.value}Zu.displayName="_st";Object.defineProperties(f0.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Zu},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});j6("__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)});j6("__r",function(a,l){XZ();var c,h=l.__c;if(h){if(h.__$f&=-2,(c=h.__$u)===void 0)h.__$u=c=function(Z){var o;return m7(function(){o=this}),o.c=function(){h.__$f|=1,h.setState({})},o}()}nM=h,XZ(c),a(l)});j6("__e",function(a,l,c,h){XZ(),nM=void 0,a(l,c,h)});j6("diffed",function(a,l){XZ(),nM=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 r in o){var e=o[r];if(e!==void 0&&!(r in h))e.d(),o[r]=void 0}else o={},c.U=o;for(var v in h){var M=o[v],t=h[v];if(M===void 0)M=wk(c,v,t,Z),o[v]=M;else M.o(t,Z)}}}a(l)});function wk(a,l,c,h){var Z=l in a&&a.ownerSVGElement===void 0,o=q0(c);return{o:function(r,e){o.value=r,h=e},d:m7(function(){this.N=ou;var r=o.value.value;if(h[l]!==r)if(h[l]=r,Z)a[l]=r;else if(r)a.setAttribute(l,r);else a.removeAttribute(l)})}}j6("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 r=l.__c;if(r){var e=r.__$u;if(e)r.__$u=void 0,e.d()}}a(l)});j6("__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 r in a)if(r!=="__source"&&a[r]!==this.props[r])return!0;for(var e in this.props)if(!(e in a))return!0;return!1};function $7(a){return u1(function(){return q0(a)},[])}var Dk=typeof requestAnimationFrame=="undefined"?setTimeout:function(a){var l=function(){clearTimeout(c),cancelAnimationFrame(h),a()},c=setTimeout(l,100),h=requestAnimationFrame(l)},Sk=function(a){queueMicrotask(function(){queueMicrotask(a)})};function kk(){YZ(function(){var a;while(a=cu.shift())iM.call(a)})}function sk(){if(cu.push(this)===1)(g1.requestAnimationFrame||Dk)(kk)}function fk(){YZ(function(){var a;while(a=hu.shift())iM.call(a)})}function ou(){if(hu.push(this)===1)(g1.requestAnimationFrame||Sk)(fk)}function z5(a){var l=z(a);l.current=a,M1(function(){return m7(function(){return this.N=sk,l.current()})},[])}var Bk="This folder contains extensions that are loaded by the SPFxExtensions application.";function EZ(a){return a.web.lists.ensure(s1,Bk,101,!1,{Hidden:!0})}async function ru(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[r,e]=a.web.batched();Z.forEach((v)=>{r.lists.getByTitle(s1).items.getById(v.Id).delete()}),await e()}let o=a.web.lists.getByTitle(s1).rootFolder.folders.getByUrl(c);await eu(o)}async function eu(a){let l=await a.folders();for(let c of l)await eu(a.folders.getByUrl(c.Name));await a.delete()}function S3(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 I1(...a){return a.filter((l)=>!s5(l)).map((l)=>l.replace(/^[\\|/]/,"").replace(/[\\|/]$/,"")).join("/").replace(/\\/g,"/")}function J7(){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 K0(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 w0(a){return typeof a!=="undefined"&&a!==null}function yZ(a){return JSON.stringify(a)}function X1(a,l){return Object.hasOwnProperty.call(a,l)}function vu(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 Mu(a){return new Promise((l)=>{setTimeout(l,a)})}var dM;function mu(){if(typeof dM==="undefined")dM=new tu;return dM}class gM{constructor(a){this.store=a,this.enabled=this.test()}get(a){if(!this.enabled)return null;let l=this.store.getItem(a);if(!w0(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=S3(/*@__PURE__*/new Date,"minute",5);return yZ({pnp:1,expiration:l,value:a})}}class tu{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 uM{constructor(a=null,l=null){this._local=a,this._session=l}get local(){if(this._local===null)this._local=new gM(typeof localStorage==="undefined"?mu():localStorage);return this._local}get session(){if(this._session===null)this._session=new gM(typeof sessionStorage==="undefined"?mu():sessionStorage);return this._session}}function jZ(){return function(a,...l){let c=[...a];for(let h=0;h<c.length;h++)Reflect.apply(c[h],this,l)}}function Au(){return function(a,...l){return[...a].reduce((h,Z)=>Reflect.apply(Z,this,h),l)}}function tc(){return async function(a,...l){return[...a].reduce((h,Z)=>h.then((o)=>Reflect.apply(Z,this,o)),Promise.resolve(l))}}function Hu(){return async function(a,...l){if(!K0(a)||a.length<1)return;let c=a[0];return Reflect.apply(c,this,l)}}function NZ(){return function(a,...l){let c=[...a];for(let h=0;h<c.length;h++)Reflect.apply(c[h],this,l);return this}}var FM=Symbol.for("ObserverLifecycleFlags"),Vu=(a)=>(l)=>!((l[FM]||0)&a),iu=(a)=>(l)=>{return l[FM]=(l[FM]||0)|a,l},W4=iu(1),Pi1=iu(2);class CM{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(),LM(a.observers,l,c,1),a},{toArray:()=>{return Reflect.has(a.observers,l)?[...Reflect.get(a.observers,l)]:[]},replace:(c)=>{return a.cloneObserversOnChange(),LM(a.observers,l,c,3),a},prepend:(c)=>{return a.cloneObserversOnChange(),LM(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(w0(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((!K0(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"?NZ():jZ();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(Vu(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=RM(this.observers)}}function LM(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 RM(a){return Reflect.ownKeys(a).reduce((l,c)=>{return l[c]=[...a[c].filter(Vu(1))],l},{})}function Ac(a,l="append",c){return(h)=>{return Reflect.apply(Tk,h,[a,l,c])}}function Tk(a,l,c){if(!w0(a)||!w0(a.observers))return this;if(!k5(c))c=()=>!0;let h=RM(a.observers),Z=Object.keys(h).filter(c);for(let o=0;o<Z.length;o++){let r=Z[o],e=this.on[r];if(l==="replace")e.clear();h[r].forEach((M)=>e(M))}return this}function nu(a,l,c,h){var Z=arguments.length,o=Z<3?l:h===null?h=Object.getOwnPropertyDescriptor(l,c):h,r;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(a,l,c,h);else for(var e=a.length-1;e>=0;e--)if(r=a[e])o=(Z<3?r(o):Z>3?r(l,c,o):r(l,c))||o;return Z>3&&o&&Object.defineProperty(l,c,o),o}var Wk={construct:NZ(),pre:tc(),auth:tc(),send:Hu(),parse:tc(),post:tc(),data:jZ()},Hc=class a extends CM{constructor(l,c){super(Wk);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]=Au();let h;if(typeof l==="string")this._url=I1(l,c);else if(K0(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=I1(l[1],c)}else h=l,this._url=I1(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=J7(),h,Z=(o,r)=>{this.log(`[${c}] ${o}`,r)};try{Z("Beginning request",0);let o={...l,headers:{...l.headers,"X-PnPjs-RequestId":c}},[r,e,v]=await this.emit.pre(this.toRequestUrl(),o,void 0);if(Z(`Url: ${r}`,1),typeof v!=="undefined"){Z("Result returned from pre, Emitting data"),this.emit.data(v),Z("Emitted data");return}Z("Emitting auth"),[h,e]=await this.emit.auth(new URL(r),e),Z("Emitted auth"),e={...e,...l,headers:{...e.headers,...l.headers}},Z("Emitting send");let M=await this.emit.send(h,e);Z("Emitted send"),Z("Emitting parse"),[h,M,v]=await this.emit.parse(h,M,v),Z("Emitted parse"),Z("Emitting post"),[h,v]=await this.emit.post(h,v),Z("Emitted post"),Z("Emitting data"),this.emit.data(v),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]}};Hc=nu([Ok()],Hc);function xM(a,l={headers:{}}){return{method:a,...l,headers:{...l.headers}}}function pM(a){return this.start(xM("GET",a))}function du(a){return this.start(xM("POST",a))}function gu(a){return this.start(xM("PATCH",a))}function Vc(a,l,c){return Reflect.apply(l,a,[c])}function uu(a){return(l,c)=>{let h=new a(l,c);return h.emit.construct(l,c),h}}function Ok(a){return(l)=>{return new Proxy(l,{construct(c,h,Z){let o=Object.assign(function(r){if(!k5(a))a=function(e){return Vc(this,pM,e)};return Reflect.apply(a,o,[r])},Reflect.construct(c,h,Z));return Reflect.setPrototypeOf(o,Z.prototype),o}})}}function wM(a,l=!1){return(c)=>{let h=async function(Z,o,r){return o.headers={...o.headers,...a},[Z,o,r]};if(l)c.on.pre.prepend(h);else c.on.pre(h);return c}}function _Z(){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 DM(c)})}function N6(){return h2((a)=>a.text())}function Lu(){return h2((a)=>a.blob())}function ao(){return h2((a)=>a.json())}function Fu(){return h2((a)=>k5(a.arrayBuffer)?a.arrayBuffer():a.buffer())}async function Pk(a,l,c){if(!l.ok)throw await ic.init(l);return[a,l,c]}function DM(a){let l=a;if(X1(a,"d"))if(X1(a.d,"results"))l=a.d.results;else l=a.d;else if(X1(a,"value"))l=a.value;return l}function h2(a){return(l)=>{return l.on.parse.replace(Pk),l.on.parse(async(c,h,Z)=>{if(h.ok&&typeof Z==="undefined")Z=await a(h);return[c,h,Z]}),l}}class ic 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 ic(`Error making HttpClient request in queryable [${a.status}] ${a.statusText} ::> ${l}`,a)}}function lo(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,r){let e,v=l,M=0,t,m=async()=>{if(M>=h)throw t||new ic(`Retry count exceeded (${h}) for this request. ${e.status}: ${e.statusText};`,e);if(M++,typeof e==="undefined"||(e===null||e===void 0?void 0:e.status)===429||(e===null||e===void 0?void 0:e.status)===503||(e===null||e===void 0?void 0:e.status)===504){if(typeof e!=="undefined"){if(e.headers.has("Retry-After"))v=parseInt(e.headers.get("Retry-After"),10)*1000;else v*=2;this.log(`Attempt #${M} to retry request which failed with ${e.status}: ${e.statusText}`,0),await Mu(v)}try{let A=o.toString();return this.log(`Fetch: ${r.method} ${A}`,0),e=await fetch(A,r),e.ok?e:m()}catch(A){if(/AbortError/.test(A.name))throw A;return t=A,m()}}else return e};return m()}),Z}}function SM(){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 Ru(a){return(l)=>{return l.on.pre(async function(c,h,Z){let[o,r,e]=xu(c,h,a);if(o){let v=r();if(v===null)this.on.post(W4(async function(M,t){return e(t),[M,t]}));else Z=v}return[c,h,Z]}),l}}var Cu=new uM;function xu(a,l,c){var h,Z;let{store:o,keyFactory:r,expireFunc:e}={store:"local",keyFactory:(t)=>vu(t.toLowerCase()).toString(),expireFunc:()=>S3(/*@__PURE__*/new Date,"minute",5),...c},v=o==="session"?Cu.session:Cu.local,M=(l===null||l===void 0?void 0:l.headers["X-PnP-CacheKey"])?l.headers["X-PnP-CacheKey"]:r(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),()=>v.get(M),(t)=>v.put(M,t,e(a))]}var pu="__CancelMoment__",_6=Symbol.for("CancelScopeId"),nc=/*@__PURE__*/new Map;async function Uk(a){let l=nc.get(a);if(l.controller.abort(),K0(l===null||l===void 0?void 0:l.actions))l.actions.map((c)=>l.currentSelf.on[pu](c));try{await l.currentSelf.emit[pu]()}catch(c){l.currentSelf.log(`Error in cancel: ${c}`,3)}}function Ik(a){let l=J7();return a[_6]=l,nc.set(l,{cancel:Uk.bind({},l),actions:[],controller:null,currentSelf:a}),l}var Gk=(a)=>{return function(...l){if(!Reflect.has(this,_6))Ik(this);let c=a.apply(this,l).finally(()=>{nc.delete(this[_6]),delete this[_6]});return c.cancel=nc.get(this[_6]).cancel,c}};function t7(a,l,c){c.value=Gk(c.value)}function kM(a){return(l)=>{return l.on.pre(async function(...c){let h=nc.get(this[_6]);if(w0(h)){if(!K0(h.actions))h.actions=[];if(h.actions.indexOf(a)<0)h.actions.push(a)}return c}),l}}function wu(){return(a)=>{return a.on.data(function(l){this.emit[this.InternalResolve](l)}),a}}function Du(){return(a)=>{return a.on.error(function(l){this.emit[this.InternalReject](l)}),a}}function b0(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:yZ(a)},l)}function a8(a,l){return Object.assign({},l,{headers:{...l===null||l===void 0?void 0:l.headers,...a}})}var N1=(a)=>{return uu(a)};class k3 extends Hc{constructor(a,l){if(typeof a==="string"){let c="",h="";if(B0(a)||a.lastIndexOf("/")<0)h=a,c=I1(a,l);else if(a.lastIndexOf("/")>a.lastIndexOf("(")){let Z=a.lastIndexOf("/");h=a.slice(0,Z),l=I1(a.slice(Z),l),c=I1(h,l)}else{let Z=a.lastIndexOf("(");h=a.slice(0,Z),c=I1(a,l)}super(c);this.parentUrl=h}else{super(a,l);let c=K0(a)?a[0]:a;this.parentUrl=K0(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 W0=N1(k3);class A5 extends k3{filter(a){if(typeof a==="object")return this.query.set("$filter",a.toString()),this;if(typeof a==="function")return this.query.set("$filter",a(co.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 q5=N1(A5);class j0 extends k3{}var Z2=N1(j0);function Zo(){return function(){return ku(this)}}function Y7(){return function(a="*"){return zk(this,{},a)}}var Su=(a,l)=>{return Vc(a,pM,l)},J=(a,l)=>Vc(a,du,l),c8=(a,l)=>{return l=l||{},l.headers={...l.headers,"X-HTTP-Method":"MERGE"},J(a,l)},ku=(a,l)=>{return l=l||{},l.headers={...l.headers||{},"X-HTTP-Method":"DELETE"},J(a,l)},zk=(a,l,c="*")=>{return l=l||{},l.headers={...l.headers||{},"IF-Match":c},ku(a,l)};var su=(a,l)=>Vc(a,gu,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 t5;(function(a){a.And="and",a.AndWithSpace=" and ",a.Or="or",a.OrWithSpace=" or "})(t5||(t5={}));class co{static Where(){return new Tu([])}}class gc{constructor(a){this.query=[],this.query=a}}class l8 extends gc{constructor(a){super(a)}text(a){return new dc([...this.query,a])}choice(a){return new dc([...this.query,a])}multiChoice(a){return new dc([...this.query,a])}number(a){return new ho([...this.query,a])}date(a){return new Pu([...this.query,a])}boolean(a){return new Ou([...this.query,a])}lookup(a){return new Wu([...this.query],a)}lookupId(a){let l=a.endsWith("Id")?a:`${a}Id`;return new ho([...this.query,l])}}class fu extends l8{or(...a){return new g0([...this.query,`(${a.map((l)=>l.toString()).join(t5.OrWithSpace)})`])}}class Bu extends l8{and(...a){return new g0([...this.query,`(${a.map((l)=>l.toString()).join(t5.AndWithSpace)})`])}}class Tu extends l8{or(...a){if(a==null||a.length===0)return new l8([...this.query,t5.Or]);return new g0([...this.query,`(${a.map((l)=>l.toString()).join(t5.OrWithSpace)})`])}and(...a){if(a==null||a.length===0)return new l8([...this.query,t5.And]);return new g0([...this.query,`(${a.map((l)=>l.toString()).join(t5.AndWithSpace)})`])}}class Wu extends gc{constructor(a,l){super(a);this.LookupField=l}Id(a){return new g0([...this.query,`${this.LookupField}/Id`,T0.Equals,a.toString()])}text(a){return new dc([...this.query,`${this.LookupField}/${a}`])}number(a){return new ho([...this.query,`${this.LookupField}/${a}`])}}class sM extends gc{constructor(a){super(a);this.LastIndex=a.length-1,this.InternalName=a[this.LastIndex]}toODataValue(a){return`'${a}'`}isNull(){return new g0([...this.query,T0.Equals,"null"])}isNotNull(){return new g0([...this.query,T0.NotEquals,"null"])}}class fM extends sM{equals(a){return new g0([...this.query,T0.Equals,this.toODataValue(a)])}notEquals(a){return new g0([...this.query,T0.NotEquals,this.toODataValue(a)])}in(...a){return co.Where().or(...a.map((l)=>this.equals(l)))}notIn(...a){return co.Where().and(...a.map((l)=>this.notEquals(l)))}}class dc extends fM{startsWith(a){let l=`${T0.StartsWith}(${this.InternalName}, ${this.toODataValue(a)})`;return this.query[this.LastIndex]=l,new g0([...this.query])}contains(a){let l=`${T0.SubstringOf}(${this.toODataValue(a)}, ${this.InternalName})`;return this.query[this.LastIndex]=l,new g0([...this.query])}}class Ou extends sM{toODataValue(a){return`${a==null?"null":a?1:0}`}isTrue(){return new g0([...this.query,T0.Equals,this.toODataValue(!0)])}isFalse(){return new g0([...this.query,T0.Equals,this.toODataValue(!1)])}isFalseOrNull(){let a=`(${[this.InternalName,T0.Equals,this.toODataValue(null),t5.Or,this.InternalName,T0.Equals,this.toODataValue(!1)].join(" ")})`;return this.query[this.LastIndex]=a,new g0([...this.query])}}class BM extends fM{greaterThan(a){return new g0([...this.query,T0.GreaterThan,this.toODataValue(a)])}greaterThanOrEquals(a){return new g0([...this.query,T0.GreaterThanOrEqualTo,this.toODataValue(a)])}lessThan(a){return new g0([...this.query,T0.LessThan,this.toODataValue(a)])}lessThanOrEquals(a){return new g0([...this.query,T0.LessThanOrEqualTo,this.toODataValue(a)])}}class ho extends BM{toODataValue(a){return`${a}`}}class Pu extends BM{toODataValue(a){return`'${a.toISOString()}'`}isBetween(a,l){let c=`(${[this.InternalName,T0.GreaterThan,this.toODataValue(a),t5.And,this.InternalName,T0.LessThan,this.toODataValue(l)].join(" ")})`;return this.query[this.LastIndex]=c,new g0([...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 g0 extends gc{and(...a){if(a==null||a.length===0)return new fu([...this.query,t5.And]);return new g0([...this.query,t5.And,`(${a.map((l)=>l.toString()).join(t5.AndWithSpace)})`])}or(...a){if(a==null||a.length===0)return new Bu([...this.query,t5.Or]);return new g0([...this.query,t5.Or,`(${a.map((l)=>l.toString()).join(t5.OrWithSpace)})`])}toString(){return this.query.join(" ")}}function N0(a){return function(l){return class extends l{constructor(...c){super(c[0],c.length>1&&c[1]!==void 0?c[1]:a)}}}}class P2{constructor(a=""){this._root=W0(a)}using(...a){return this._root.using(...a),this}create(a,l){return a(this._root,l)}}function h8(a=""){if(typeof a==="object"&&!Reflect.has(a,"length"))a=a._root;return new P2(a)}var uc="00000000-0000-0000-0000-000000000000",Uu;(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"})(Uu||(Uu={}));var Iu;(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"})(Iu||(Iu={}));var Gu;(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"})(Gu||(Gu={}));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(X1(a,c[0])&&a[c[0]]==="SP.Web"){if(X1(a,c[4]))l.push(a[c[4]]);else if(X1(a,c[2]))l.push(a.__metadata.uri)}else if(X1(a,c[3])&&X1(a,c[1])){let h=B0(a[c[1]])?a[c[1]].split("_api")[1]:a[c[1]];l.push(m0(a[c[3]]),"_api",h)}else if(X1(a,c[1]))l.push("_api",a[c[1]]);else if(X1(a,c[2]))l.push(a.__metadata.uri);if(l.length<1)return"";return I1(...l)}function A7(a){return{DecodedUrl:a}}function K1(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 zu(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 qu(){return(a)=>{return a.on.pre(async function(l,c,h){let Z="PnPCoreJS:4.12.0:",{pathname:o}=new URL(l);if(Z=o.split("/").filter((r)=>!s5(r)&&["_api","v2.1","v2.0"].indexOf(r)<0).map((r,e,v)=>e===v.length-1?r.replace(/\(.*?$/i,"()"):r[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 oo(){return(a)=>{return a.on.pre(async(l,c,h)=>{return c.cache="no-cache",c.credentials="same-origin",[l,c,h]}),a.using(qu(),Du(),wu()),a}}function ro(){return(a)=>{return a.using(wM({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,r;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(a,l,c,h);else for(var e=a.length-1;e>=0;e--)if(r=a[e])o=(Z<3?r(o):Z>3?r(l,c,o):r(l,c))||o;return Z>3&&o&&Object.defineProperty(l,c,o),o}var WM=class a extends A5{async add(l,c,h="",Z="STS",o=1033,r=!0){let e=W1({parameters:{Description:h,Language:o,Title:l,Url:c,UseSamePermissionsAsParentSite:r,WebTemplate:Z}});return J(OM(this,"add"),e)}};WM=c0([N0("webs")],WM);var OM=N1(WM);function TM(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=I1(a,c);return a}var r0=class a extends j0{constructor(l,c){if(typeof l==="string")l=TM(l,c);else if(K0(l))l=[l[0],TM(l[1],c)];else l=[l,TM(l.toUrl(),c)];super(l,c);this.delete=Zo()}get webs(){return OM(this)}get allProperties(){return Z2(this,"allproperties")}get webinfos(){return q5(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,I1(new URL(l).origin,c.ServerRelativeUrl)]);return null}async update(l){return c8(this,W1(l))}applyTheme(l,c,h,Z){let o=W1({backgroundImageUrl:h,colorPaletteUrl:l,fontSchemeUrl:c,shareGenerated:Z});return J(t0(this,"applytheme"),o)}applyWebTemplate(l){return J(t0(this,`applywebtemplate(webTemplate='${K1(l)}')`))}getChanges(l){return J(t0(this,"getchanges"),W1({query:l}))}mapToIcon(l,c=0,h=""){return t0(this,`maptoicon(filename='${K1(l)}',progid='${K1(h)}',size=${c})`)()}getStorageEntity(l){return t0(this,`getStorageEntity('${K1(l)}')`)()}setStorageEntity(l,c,h="",Z=""){return J(t0(this,"setStorageEntity"),W1({comments:Z,description:h,key:l,value:c}))}removeStorageEntity(l){return J(t0(this,`removeStorageEntity('${K1(l)}')`))}getSubwebsFilteredForCurrentUser(l=-1,c=-1){return q5(this,`getSubwebsFilteredForCurrentUser(nWebTemplateFilter=${l},nConfigurationFilter=${c})`)}availableWebTemplates(l=1033,c=!0){return q5(this,`getavailablewebtemplates(lcid=${l},doincludecrosslanguage=${c})`)}};r0=c0([N0("_api/web")],r0);var t0=N1(r0);P2.prototype.batched=function(a){let l=h8(this),[c,h]=Ku(l._root,a);return l.using(c),[l,h]};r0.prototype.batched=function(a){let l=t0(this),[c,h]=Ku(l,a);return l.using(c),[l,h]};var Z8=Symbol.for("batch_registration"),O4=Symbol.for("batch_request");function qk(){return h2(async(a)=>{let l=await a.text();return Kk(l)})}class PM extends k3{constructor(a,l=a.toUrl().replace(/_api[\\|/].*$/i,"")){super(l,"_api/$batch");this.requestBaseUrl=l,this.using(Ac(a,"replace"),qk()),this.on.dispose(()=>{a.using(Ac(this,"replace",(c)=>/(auth|send|pre|init)/i.test(c)))})}}function Ku(a,l){let c=[],h=[],Z=[],o=new PM(a),r=J7(),e=new PM(a),{headersCopyPattern:v,maxRequests:M}={headersCopyPattern:/Accept|Content-Type|IF-Match/i,maxRequests:20,...l};return[(A)=>{return A.on.init(function(){if(k5(this[Z8]))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((H)=>{this[Z8]=H})),this}),A.on.pre(async function(H,V,i){if(X1(V.headers,"X-PnP-BatchNever")){if(typeof this[O4]==="function")this[O4](),delete this[O4];return this.using(Ac(e,"replace",(d)=>/(init|pre)/i.test(d))),[H,V,i]}return this.on.auth.clear(),this.on.send.replace(async function(d,g){let u=new Promise((L)=>{Z.push([this,d.toString(),g,L])});return this.log(`[batch:${r}] (${(/*@__PURE__*/new Date()).getTime()}) Adding request ${g.method} ${d.toString()} to batch.`,0),h.push(new Promise((L)=>{this[O4]=L})),this[Z8](),u}),this.on.dispose(function(){if(k5(this[Z8]))this[Z8](),delete this[Z8];if(k5(this[O4]))this[O4](),delete this[O4],this.using(Ac(e,"replace",(d)=>/(auth|pre|send|init|dispose)/i.test(d)))}),[H,V,i]}),A},async()=>{if(await Promise.all(c),Z.length<1)return Promise.all(h).then(()=>{return});let A=Z.slice();while(A.length>0){let H=A.splice(0,M),V=[],i="";for(let g=0;g<H.length;g++){let[,u,L]=H[g];if(L.method==="GET"){if(i.length>0)V.push(`--changeset_${i}--
|
|
146
|
+
|
|
147
|
+
`),i="";V.push(`--batch_${r}
|
|
148
|
+
`)}else{if(i.length<1)i=J7(),V.push(`--batch_${r}
|
|
149
|
+
`),V.push(`Content-Type: multipart/mixed; boundary="changeset_${i}"
|
|
150
|
+
|
|
151
|
+
`);V.push(`--changeset_${i}
|
|
152
|
+
`)}V.push(`Content-Type: application/http
|
|
153
|
+
`),V.push(`Content-Transfer-Encoding: binary
|
|
154
|
+
|
|
155
|
+
`);let R=new Headers(L.headers),x=B0(u)?u:I1(o.requestBaseUrl,u);if(L.method!=="GET"){let s=L.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
|
|
156
|
+
`)}else V.push(`${L.method} ${x} HTTP/1.1
|
|
157
|
+
`);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(v.test(p))V.push(`${p}: ${s}
|
|
158
|
+
`)}),V.push(`
|
|
159
|
+
`),L.body)V.push(`${L.body}
|
|
160
|
+
|
|
161
|
+
`)}if(i.length>0)V.push(`--changeset_${i}--
|
|
162
|
+
|
|
163
|
+
`),i="";V.push(`--batch_${r}--
|
|
164
|
+
`);let d=await J(o,{body:V.join(""),headers:{"Content-Type":`multipart/mixed; boundary=batch_${r}`}});if(d.length!==H.length)throw Error("Could not properly parse responses to match requests in batch.");for(let g=0;g<d.length;g++)H[g][3](d[g])}await Promise.all(h).then(()=>{return})}]}function s3(){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 Kk(a){let l=[],c="--batchresponse_",h=new RegExp("^HTTP/[0-9.]+ +([0-9]+) +(.*)","i"),Z=a.split(`
|
|
165
|
+
`),o="batch",r,e,v={},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 A=h.exec(m);if(A.length!==3)throw Error(`Invalid status, line ${t}`);r=parseInt(A[1],10),e=A[2],o="statusHeaders";break}case"statusHeaders":if(m.trim()==="")o="body";else{let A=m.split(":");if((A===null||A===void 0?void 0:A.length)===2)v[A[0].trim()]=A[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(r===204?null:M.join(""),{status:r,statusText:e,headers:v})),o="batch",v={};break}}if(o!=="status")throw Error("Unexpected end of input");return l}function bu(a){let l=/*@__PURE__*/new Date;return!w0(a)||l>a.expiration?null:a}var $u=/*@__PURE__*/new Map;function eo(a){return(l)=>{return l.on.pre(async function(c,h,Z){return this.on.auth(async(o,r)=>{if(/get/i.test(r.method)||r.headers&&(X1(r.headers,"X-RequestDigest")||X1(r.headers,"Authorization")||X1(r.headers,"X-PnPjs-NoDigest")))return[o,r];let e=o.toString(),v=m0(e),M=bu($u.get(v));if(!w0(M)&&k5(a))M=bu(a(e,r));if(!w0(M))M=await J(W0([this,I1(v,"_api/contextinfo")]).using(ao(),s3()),{headers:{Accept:"application/json","X-PnPjs-NoDigest":"1"}}).then((t)=>({expiration:S3(/*@__PURE__*/new Date,"second",t.FormDigestTimeoutSeconds),value:t.FormDigestValue}));if(w0(M))r.headers={"X-RequestDigest":M.value,...r.headers},$u.set(v,M);return[o,r]}),[c,h,Z]}),l}}function vo(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(ro(),oo(),lo(),_Z(),eo()),B0(a===null||a===void 0?void 0:a.baseUrl))l.on.pre.prepend(async(c,h,Z)=>{if(!B0(c))c=I1(a.baseUrl,c);return[c,h,Z]});return l}}class UM 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 UM(a)}}function Ju(a){return UM.check("SPFx",a),(l)=>{return l.using(ro(),oo(),lo(),_Z(),eo((c)=>{var h,Z,o;if(new RegExp(`^${I1(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 e=new Date(a.pageContext.legacyPageContext.formDigestValue.split(",")[1]);return{value:a.pageContext.legacyPageContext.formDigestValue,expiration:S3(e,"second",((o=a.pageContext.legacyPageContext)===null||o===void 0?void 0:o.formDigestTimeoutSeconds)-15||1585)}}})),l.on.pre.prepend(async(c,h,Z)=>{if(!B0(c))c=I1(a.pageContext.web.absoluteUrl,c);return[c,h,Z]}),l}}var IM=class a extends A5{getById(l){return R0(this).concat(`('${l}')`)}getByTitle(l){return R0(this,`getByTitle('${K1(l)}')`)}async add(l,c="",h=100,Z=!1,o={}){let r={AllowContentTypes:Z,BaseTemplate:h,ContentTypesEnabled:Z,Description:c,Title:l,...o};return J(this,W1(r))}async ensure(l,c="",h=100,Z=!1,o={}){let r={Title:l,Description:c,ContentTypesEnabled:Z,...o},e=this.getByTitle(r.Title);try{return await e.select("Title")(),{created:!1,data:await e.update(r),list:this.getByTitle(r.Title)}}catch(v){return{created:!0,data:await this.add(l,c,h,Z,r),list:this.getByTitle(r.Title)}}}async ensureSiteAssetsLibrary(){let l=await J(Lc(this,"ensuresiteassetslibrary"));return R0([this,U2(l)])}async ensureSitePagesLibrary(){let l=await J(Lc(this,"ensuresitepageslibrary"));return R0([this,U2(l)])}};IM=c0([N0("lists")],IM);var Lc=N1(IM);class o8 extends j0{constructor(){super(...arguments);this.delete=Y7()}get effectiveBasePermissions(){return W0(this,"EffectiveBasePermissions")}get eventReceivers(){return q5(this,"EventReceivers")}get relatedFields(){return W0(this,"getRelatedFields")}get informationRightsManagementSettings(){return W0(this,"InformationRightsManagementSettings")}async update(a,l="*"){return await c8(this,W1(a,a8({"IF-Match":l})))}getChanges(a){return J(R0(this,"getchanges"),W1({query:a}))}getItemsByCAMLQuery(a,...l){return J(R0(this,"getitems").expand(...l),W1({query:a}))}getListItemChangesSinceToken(a){return J(R0(this,"getlistitemchangessincetoken").using(N6()),W1({query:a}))}async recycle(){return J(R0(this,"recycle"))}async renderListData(a){let l=R0(this,"renderlistdata(@viewXml)");l.query.set("@viewXml",`'${a}'`);let c=await J(l);return JSON.parse(c)}renderListDataAsStream(a,l=null,c=/*@__PURE__*/new Map){if(X1(a,"RenderOptions")&&K0(a.RenderOptions))a.RenderOptions=a.RenderOptions.reduce((o,r)=>o+r);let h=R0(this,"RenderListDataAsStream");if(c&&c.size>0)c.forEach((o,r)=>h.query.set(r,o));let Z=w0(l)?{parameters:a,overrideParameters:l}:{parameters:a};return J(h,W1(Z))}async renderListFormData(a,l,c){let h=await J(R0(this,`renderlistformdata(itemid=${a}, formid='${l}', mode='${c}')`));return JSON.parse(h)}async reserveListItemId(){return J(R0(this,"reservelistitemid"))}async addValidateUpdateItemUsingPath(a,l,c=!1,h,Z){let o={FolderPath:A7(l)};if(w0(Z)){if(Z.leafName)o.LeafName=A7(Z.leafName);if(Z.objectType)o.UnderlyingObjectType=Z.objectType}return J(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=N1(o8),GM;(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"})(GM||(GM={}));var zM;(function(a){a[a.Display=1]="Display",a[a.Edit=2]="Edit",a[a.New=3]="New"})(zM||(zM={}));var qM=class a extends A5{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=q5(this).using(h2(async(h)=>{let Z=await h.json(),o=X1(Z,"d")&&X1(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(w0(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=q5([this._next,h.nextLink]),{done:!1,value:h.value};else return this._next=null,{done:!1,value:h.value}}}}async add(l={}){return J(this,W1(l))}};qM=c0([N0("items")],qM);var bM=N1(qM);class r8 extends j0{constructor(){super(...arguments);this.delete=Y7()}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 Yu(this)}get list(){return this.getParent(R0,"",this.parentUrl.substring(0,this.parentUrl.lastIndexOf("/")))}async update(a,l="*"){let c=W1(a,a8({"IF-Match":l,"X-HTTP-Method":"MERGE"}));return J(o2(this).using(bk()),c)}recycle(){return J(o2(this,"recycle"))}async deleteWithParams(a){return J(o2(this,"DeleteWithParameters"),W1({parameters:a}))}async getWopiFrameUrl(a=0){let l=o2(this,"getWOPIFrameUrl(@action)");return l.query.set("@action",a),J(l)}validateUpdateListItem(a,l=!1){return J(o2(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=W0([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 r=await J(o,{body:c}),e={type:"thumbnail",fileName:r.Name,nativeFile:{},fieldName:a,serverUrl:h.ParentWeb.Url.replace(h.ParentWeb.ServerRelativeUrl,""),serverRelativeUrl:r.ServerRelativeUrl,id:r.UniqueId};return this.validateUpdateListItem([{FieldName:a,FieldValue:JSON.stringify(e)}])}}var o2=N1(r8),KM=class a extends A5{getById(l){return Xu(this).concat(`(${l})`)}};KM=c0([N0("versions")],KM);var Yu=N1(KM);class Qu extends j0{constructor(){super(...arguments);this.delete=Y7()}}var Xu=N1(Qu);function bk(){return h2(async(a)=>({etag:a.headers.get("etag")}))}k3.prototype.getContextInfo=async function(a=this.parentUrl){let l=await J(W0([this,m0(a)],"_api/contextinfo"));if(X1(l,"GetContextWebInformation")){let c=l.GetContextWebInformation;return c.SupportedSchemaVersions=c.SupportedSchemaVersions.results,c}else return l};var $M=class a extends A5{getByUrl(l){return $0(this).concat(`('${K1(l)}')`)}async addUsingPath(l,c=!1){return J(Fc(this,`addUsingPath(DecodedUrl='${K1(l)}',overwrite=${c})`))}};$M=c0([N0("folders")],$M);var Fc=N1($M);class e8 extends j0{constructor(){super(...arguments);this.delete=Y7()}get folders(){return Fc(this)}get listItemAllFields(){return Z2(this,"listItemAllFields")}get parentFolder(){return $0(this,"parentFolder")}get properties(){return Z2(this,"properties")}get storageMetrics(){return Z2(this,"storagemetrics")}async update(a){return c8(this,W1(a))}recycle(){return J($0(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,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 J($0(this,"DeleteWithParameters"),W1({parameters:a}))}async addSubFolderUsingPath(a){return await J($0(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=$0(this);return h.on.pre(W4(async(Z,o,r)=>{let{ServerRelativeUrl:e,["odata.id"]:v}=await $0(this).using(s3()).select("ServerRelativeUrl")(),M=new URL(m0(v));return Z=I1(M.href,`/_api/SP.MoveCopyUtil.${c}()`),o=W1({destPath:A7(B0(a)?a:I1(M.origin,a)),options:l,srcPath:A7(I1(M.origin,e))},o),[Z,o,r]})),J(h).then(()=>yu(this,a))}}c0([t7],e8.prototype,"moveByPath",null);c0([t7],e8.prototype,"copyByPath",null);var $0=N1(e8);function Cc(a,l){return $0([a,m0(a.toUrl())],`_api/web/getFolderByServerRelativePath(decodedUrl='${zu(l)}')`)}async function Eu(a,l){let{WebFullUrl:c}=await $0(a).using(s3()).getContextInfo(l),{pathname:h}=new URL(l);return Cc($0([a,I1(c,"_api/web")]),decodeURIComponent(h))}async function yu(a,l){return(B0(l)?Eu:Cc)(a,l)}b0(o8,"items",bM);function $k(){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 Mo extends j0{getText(){return this.getParsed(N6())}getBlob(){return this.getParsed(Lu())}getBuffer(){return this.getParsed(Fu())}getJSON(){return this.getParsed(ao())}getStream(){return W0(this,"$value").using($k(),SM())(a8({binaryStringResponseBody:"true"}))}getParsed(a){return W0(this,"$value").using(a,SM())()}}var v8=class a extends A5{getByUrl(l){if(/%#/.test(l))throw Error("For file names containing % or # please use web.getFileByServerRelativePath");return G1(this).concat(`('${K1(l)}')`)}async addUsingPath(l,c,h={Overwrite:!1}){let Z=[`AddUsingPath(decodedurl='${K1(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=${K1(h.XorHash)}`)}return Z.push(")"),J(Rc(this,Z.join("")),{body:c})}async addChunked(l,c,h){let Z=await this.addUsingPath(l,null,h),o=M8(this,Z.ServerRelativeUrl);return o.using(kM(()=>{return G1(o).delete()})),o.setContentChunked(c,h)}async addTemplateFile(l,c){return J(Rc(this,`addTemplateFile(urloffile='${K1(l)}',templatefiletype=${c})`))}};c0([t7],v8.prototype,"addUsingPath",null);c0([t7],v8.prototype,"addChunked",null);c0([t7],v8.prototype,"addTemplateFile",null);v8=c0([N0("files")],v8);var Rc=N1(v8);class xc extends Mo{constructor(){super(...arguments);this.delete=Y7()}get listItemAllFields(){return Z2(this,"listItemAllFields")}get versions(){return f3(this)}async getLockedByUser(){let a=await Su(G1(this,"lockedByUser"));if(a["odata.null"]===!0)return null;else return a}approve(a=""){return J(G1(this,`approve(comment='${K1(a)}')`))}cancelUpload(a){return J(G1(this,`cancelUpload(uploadId=guid'${a}')`))}checkin(a="",l=mo.Major){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return J(G1(this,`checkin(comment='${K1(a)}',checkintype=${l})`))}checkout(){return J(G1(this,"checkout"))}copyTo(a,l=!0){return J(G1(this,`copyTo(strnewurl='${K1(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 J(G1(this,`deny(comment='${K1(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 J(G1(this,`publish(comment='${K1(a)}')`))}recycle(){return J(G1(this,"recycle"))}async deleteWithParams(a){return J(G1(this,"DeleteWithParameters"),W1({parameters:a}))}undoCheckout(){return J(G1(this,"undoCheckout"))}unpublish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return J(G1(this,`unpublish(comment='${K1(a)}')`))}async exists(){try{return(await G1(this).select("Exists")()).Exists}catch(a){return!1}}async setContent(a){return await J(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(o2([this,U2(c)]),c)}async setContentChunked(a,l){let{progress:c}=Jk(l),h=J7(),Z=!0,o,r=0,e=G1(this).using(kM(()=>{return G1(e).cancelUpload(h)})),M=Yk(a).getReader();while(o=await M.read())if(o.done)return c({offset:r,stage:"finishing",uploadId:h}),J(G1(e,`finishUpload(uploadId=guid'${h}',fileOffset=${r})`),{body:(o===null||o===void 0?void 0:o.value)||""});else if(Z)c({offset:r,stage:"starting",uploadId:h}),r=await J(G1(e,`startUpload(uploadId=guid'${h}')`),{body:o.value}),Z=!1;else c({offset:r,stage:"continue",uploadId:h}),r=await J(G1(e,`continueUpload(uploadId=guid'${h}',fileOffset=${r})`),{body:o.value})}moveCopyImpl(a,l,c,h){let Z=G1(this);return Z.on.pre(W4(async(o,r,e)=>{let{ServerRelativeUrl:v,["odata.id"]:M}=await G1(this).using(s3()).select("ServerRelativeUrl")(),t=new URL(m0(M));return o=I1(t.toString(),`/_api/SP.MoveCopyUtil.${h}(overwrite=@a1)?@a1=${c}`),r=W1({destPath:A7(B0(a)?a:`${t.protocol}//${t.host}${a}`),options:l,srcPath:A7(B0(v)?v:`${t.protocol}//${t.host}${v}`)},r),[o,r,e]})),J(Z).then(()=>Nu(this,a))}}c0([t7],xc.prototype,"copyByPath",null);c0([t7],xc.prototype,"moveByPath",null);c0([t7],xc.prototype,"setContentChunked",null);var G1=N1(xc);function M8(a,l){return G1([a,m0(a.toUrl())],`_api/web/getFileByServerRelativePath(decodedUrl='${K1(l)}')`)}async function ju(a,l){let{WebFullUrl:c}=await G1(a).using(s3()).getContextInfo(l),{pathname:h}=new URL(l);return M8(G1([a,I1(c,"_api/web")]),decodeURIComponent(h))}async function Nu(a,l){return(B0(l)?ju:M8)(a,l)}var JM=class a extends A5{getById(l){return aL(this).concat(`(${l})`)}deleteAll(){return J(f3(this,"deleteAll"))}deleteById(l){return J(f3(this,`deleteById(vid=${l})`))}recycleByID(l){return J(f3(this,`recycleByID(vid=${l})`))}deleteByLabel(l){return J(f3(this,`deleteByLabel(versionlabel='${K1(l)}')`))}recycleByLabel(l){return J(f3(this,`recycleByLabel(versionlabel='${K1(l)}')`))}restoreByLabel(l){return J(f3(this,`restoreByLabel(versionlabel='${K1(l)}')`))}};JM=c0([N0("versions")],JM);var f3=N1(JM);class _u extends Mo{constructor(){super(...arguments);this.delete=Zo()}}var aL=N1(_u),mo;(function(a){a[a.Minor=0]="Minor",a[a.Major=1]="Major",a[a.Overwrite=2]="Overwrite"})(mo||(mo={}));var YM;(function(a){a[a.None=0]="None",a[a.Overwrite=1]="Overwrite",a[a.AllowBrokenThickets=8]="AllowBrokenThickets",a[a.RetainEditorAndModifiedOnMove=2048]="RetainEditorAndModifiedOnMove"})(YM||(YM={}));var QM;(function(a){a[a.StandardPage=0]="StandardPage",a[a.WikiPage=1]="WikiPage",a[a.FormPage=2]="FormPage",a[a.ClientSidePage=3]="ClientSidePage"})(QM||(QM={}));function Jk(a){return{progress:()=>null,...a}}function Yk(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(yk(a))return new ReadableStream({start(l){l.enqueue(a),l.close()}});else if(jk(a))return a.readable;else return a}var Qk=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[Qk])||/^(Blob|File)$/.test(a.constructor.name))}function yk(a){return typeof a==="object"&&typeof a.length==="number"}function jk(a){return typeof a==="object"&&typeof a.readable==="object"}b0(e8,"files",Rc);b0(r8,"file",G1,"file");r0.prototype.getFileByServerRelativePath=function(a){return M8(this,a)};r0.prototype.getFileById=function(a){return G1(this,`getFileById('${a}')`)};r0.prototype.getFileByUrl=function(a){return G1(this,`getFileByUrl('${K1("!@p1::"+a)}')`)};b0(r8,"folder",$0);b0(o8,"rootFolder",$0);b0(r0,"folders",Fc);b0(r0,"rootFolder",$0);r0.prototype.getFolderByServerRelativePath=function(a){return Cc(this,a)};r0.prototype.getFolderById=function(a){return $0(this,`getFolderById('${a}')`)};b0(r0,"lists",Lc);b0(r0,"siteUserInfoList",R0);b0(r0,"defaultDocumentLibrary",R0);b0(r0,"customListTemplates",q5,"getcustomlisttemplates");r0.prototype.getList=function(a){return R0(this,`getList('${K1(a)}')`)};r0.prototype.getCatalog=async function(a){let l=await t0(this,`getcatalog(${a})`).select("Id")();return R0([this,U2(l)])};function XM(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=I1(a,c);return a}var P4=class a extends j0{constructor(l,c){if(typeof l==="string")l=XM(l,c);else if(K0(l))l=[l[0],XM(l[1],c)];else l=[l,XM(l.toUrl(),c)];super(l,c)}get rootWeb(){return t0(this,"rootweb")}getChanges(l){let c=W1({query:l});return J(t0(this,"getchanges"),c)}async openWebById(l){let c=await J(_0(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 _0(this,"").select("Id")(),c=_0([this,this.parentUrl],"_api/SPSiteManager/Delete");await J(c,W1({siteId:l.Id}))}async getDocumentLibraries(l){let c=_0([this,this.parentUrl],"_api/sp.web.getdocumentlibraries(@v)");c.query.set("@v",`'${l}'`);let h=await c();return X1(h,"GetDocumentLibraries")?h.GetDocumentLibraries:h}async getWebUrlFromPageUrl(l){let c=_0([this,this.parentUrl],"_api/sp.web.getweburlfrompageurl(@v)");c.query.set("@v",`'${l}'`);let h=await c();return X1(h,"GetWebUrlFromPageUrl")?h.GetWebUrlFromPageUrl:h}async createCommunicationSite(l,c=1033,h=!1,Z,o,r,e,v,M){return this.createCommunicationSiteFromProps({Classification:r,Description:o,HubSiteId:v,Lcid:c,Owner:M,ShareByEmailEnabled:h,SiteDesignId:e,Title:l,Url:Z})}async createCommunicationSiteFromProps(l){let c={Classification:"",Description:"",HubSiteId:uc,Lcid:1033,ShareByEmailEnabled:!1,SiteDesignId:uc,WebTemplate:"SITEPAGEPUBLISHING#0",WebTemplateExtensionId:uc,...l};return J(_0([this,m0(this.toUrl())],"/_api/SPSiteManager/Create"),W1({request:c}))}async exists(l){return J(_0([this,m0(this.toUrl())],"/_api/SP.Site.Exists"),W1({url:l}))}async createModernTeamSite(l,c,h,Z,o,r,e,v,M){return this.createModernTeamSiteFromProps({alias:c,classification:r,description:o,displayName:l,hubSiteId:v,isPublic:h,lcid:Z,owners:e,siteDesignId:M})}async createModernTeamSiteFromProps(l){let c=Object.assign({},{classification:"",description:"",hubSiteId:uc,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 J(_0([this,m0(this.toUrl())],"/_api/GroupSiteManager/CreateGroupEx").using(N6()),W1(h))}update(l){return su(this,W1(l))}setSiteLogo(l){return J(W0([this,m0(this.toUrl())],"_api/siteiconmanager/setsitelogo"),W1(l))}};P4=c0([N0("_api/site")],P4);var _0=N1(P4),EM;(function(a){a[a.WebLogo=0]="WebLogo",a[a.HubLogo=1]="HubLogo",a[a.HeaderBackground=2]="HeaderBackground",a[a.GlobalNavLogo=3]="GlobalNavLogo"})(EM||(EM={}));var yM;(function(a){a[a.Square=0]="Square",a[a.Rectangular=1]="Rectangular"})(yM||(yM={}));Reflect.defineProperty(P2.prototype,"site",{configurable:!0,enumerable:!0,get:function(){return this.create(_0)}});Reflect.defineProperty(P2.prototype,"web",{configurable:!0,enumerable:!0,get:function(){return this.create(t0)}});function m8(){return new URL(window.location.href).searchParams.get("web")??""}var lL=await Yg();function pc(a=""){let l=a?a:T4();if(!lL)return h8(l).using(vo());return h8(l).using(Ju(lL))}function H7(a){return a.web.toUrl().replace("/_api/web","")}function cL(){let l=m8()??T4();return pc(l)}async function to(a,l,c){let h=[],[Z,o]=a.web.batched();for(let r of l)Z.getFileByUrl(`${s1}/${r}/${X0}`).getText().then((e)=>{let v=jM(r);try{let M=JSON.parse(e);v.manifest=M,v.activated=c.includes(r),h.push(v)}catch{h.push(v)}}).catch(()=>{h.push(jM(r))});return await o(),h}var Nk=["Forms"];async function t8(a,l){try{await EZ(a);let c=a.web.lists.getByTitle(s1).rootFolder,h=await _M(a),Z=await A8(a);if(!h.some((o)=>o===l))await c.folders.addUsingPath(l),h.push(l);return V7.value=await to(a,h,Z.data.enabledAppCollections),V7.value.find((o)=>o.name===l)}catch(c){return c?.message}}async function hL(a,l){let h=a.web.lists.getByTitle(s1).rootFolder;try{let Z=await h.folders.getByUrl(l)();await ru(a,U4.data.ServerRelativeUrl,l)}catch(Z){d1(`Error while removing ${l} from ${s1} folder in ${H7(a)}`,Z)}return!1}async function _M(a){return await EZ(a),(await a.web.lists.getByTitle(s1).rootFolder.folders()).filter((h)=>!Nk.includes(h.Name)).map((h)=>h.Name)}async function Ao(a,l){NM.value=!0,await A8(a);let c=H7(a),h=a.web.getFileByUrl(`${s1}/${c2}`);try{return await h.setContent(JSON.stringify(l)),!0}catch(Z){return d1(`Error while updating ${c2} in ${s1} folder in ${c}`,Z),!1}finally{NM.value=!1}}async function A8(a){let l=a.web.getFileByUrl(`${s1}/${c2}`),c=H7(a),h=await l.exists(),Z={data:vc,error:"",isError:!1,warnings:[]};if(!h)return await EZ(a),await a.web.lists.getByTitle(s1).rootFolder.files.addUsingPath(c2,JSON.stringify(vc)),y0(`Created ${c2} in ${s1} folder in ${c}`),Z;try{let r=await(await l.getBlob()).text(),e=JSON.parse(r);if(!Array.isArray(e.enabledAppCollections)||!Array.isArray(e.urlMap)){let v=`Invalid data inside ${c2} in ${s1} folder in ${c}, it should be an array`;return d1(v),Z.error=v,Z.isError=!0,Z.data=vc,Z}return Z.data=e,Z}catch(o){let r=`Error while parsing ${c2} in ${s1} folder in ${c}`;return d1(r,o),Z.error=r,Z.isError=!0,Z.data=vc,Z}}async function ZL(a,l,c){if(c.some((r)=>r.indexOf("/")>-1))throw new Error("Nested path cannot contain /");let h=H7(a),Z=a.web.getFolderByServerRelativePath(`${s1}/${l}`),o="";for(let r of c){if(o=`${o?`${o}/`:""}${r}`,!(await Z.folders()).some((v)=>v.Name.toLowerCase()===r.toLowerCase()))y0(`Creating subfolder ${o} in ${s1}/${l} folder in ${h}`),await Z.addSubFolderUsingPath(r);Z=Z.folders.getByUrl(r)}}var am=class a extends A5{getById(l){return rL(this,`GetById?hubSiteId='${l}'`)}};am=c0([N0("_api/hubsites")],am);var lm=N1(am);class oL extends j0{async getSite(){let a=await this.select("SiteUrl")();return _0([this,a.SiteUrl])}}var rL=N1(oL);P4.prototype.joinHubSite=async function(a){await J(_0(this,`joinHubSite('${a}')`))};P4.prototype.registerHubSite=async function(){await J(_0(this,"registerHubSite"))};P4.prototype.unRegisterHubSite=async function(){await J(_0(this,"unRegisterHubSite"))};r0.prototype.hubSiteData=async function(a=!1){let l=await t0(this,`hubSiteData(${a})`)();if(typeof l==="string")return JSON.parse(l);return l};r0.prototype.syncHubSiteTheme=function(){return J(t0(this,"syncHubSiteTheme"))};Reflect.defineProperty(P2.prototype,"hubSites",{configurable:!0,enumerable:!0,get:function(){return this.create(lm)}});function cm(a,l){let c=a.findIndex((v)=>v.isHubRoot&&v.hubid===l);if(c<0)return;let h=a.splice(c,1)[0],Z={...h,webs:[h]},o={...h,sites:[Z],webs:[]},r=H8(a,o.siteId,l);Z.webs.push(...r);let e=Vo(a,l);return o.sites.push(...e),o.webs.push(...H8(a,o.siteId,l)),o}function Ho(a){let l=Object.groupBy(a,(M)=>M.hubid),c=Object.keys(l).filter((M)=>M&&M!==E0),h=Object.keys(l).filter((M)=>!M||M===E0),Z=c.map((M)=>l[M]??[]).flat(),o=h.map((M)=>l[M]??[]).flat(),r=[],e=[],v=[];for(let M of c){let t=cm(Z,M);if(!t)continue;r.push(t)}if(Z.length>0)o.push(...Z);return e.push(...Vo(o)),v.push(...o),{hubs:r,sites:e,webs:v}}function Vo(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],r=c.find((v)=>v.id===o.id);if(!r)r={...o,webs:[o]},c.push(r);let e=H8(a,o.siteId);r.webs.push(...e.sort((v,M)=>v.url.localeCompare(M.url))),Z=a.findIndex(h)}return c}function H8(a,l,c){let h=[];function Z(r){return c?r.siteId===l&&r.hubid===c:r.siteId===l}let o=a.findIndex(Z);while(o>-1){let r=a.splice(o,1)[0];h.push(r),o=a.findIndex(Z)}return h.sort((r,e)=>r.url.localeCompare(e.url))}function eL(a){let l=Object.groupBy(a,(o)=>o.sharepointIds.siteId),c=Object.keys(l),h=[];for(let o of c){let r=l[o];if(!r)continue;let e=r.sort((v,M)=>v.webUrl.localeCompare(M.webUrl));h.push({id:e[0].sharepointIds.webId,url:e[0].webUrl,siteId:e[0].sharepointIds.siteId,hubid:e[0].sharepointIds.hubSiteId,isHubRoot:e[0].sharepointIds.hubSiteId===e[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((r)=>r.id===o.sharepointIds.webId),title:o.title,template:o.template.name}})}function io(a,l,c){return{id:a.Id,url:a.Url,siteId:l,hubid:c,isHubRoot:!1,isRootWeb:!1}}function no(a,l,c){return a.map((h)=>{return io(h,l,c)})}async function _k(a){let l=await mL(a);if(l.isError)return d1("Unable to get web info",l.error),[];let c=await Zm(l.data);return[...l.data,...c.filter((h)=>!h.isError).flatMap((h)=>h.data)]}async function Zm(a){let l=[];for(let Z of a){let o=pc(Z.Url);l.push(mL(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 Zm(h));return c.some((Z)=>Z.data.length>0||Z.isError)?c:[]}async function vL(a,l=!1){let c=pc(a.origin+a.pathname),h={data:[],error:"",warnings:[],isError:!1};try{let Z=await rm(c);if(Z.isError){let m=`Unable to get site info ${Z.error}`;h.warnings.push(m),d1(m,a.href)}let o=await om(c);if(o.isError){let m=`Unable to get root web info ${o.error}`;h.warnings.push(m),d1(m,a.href)}let r=await em(c);if(r.isError){let m=`Unable to get web info ${r.error}`;return h.isError=!0,h.error=m,d1(m,a.href),h}if(!l||o.isError){let m=io(r.data,Z.data?.Id??E0,Z.data?.HubSiteId??E0);return m.isRootWeb=o.data?.Id===r.data.Id,m.isHubRoot=Z.data?.IsHubSite&&o.data?.Id===r.data.Id,h.data.push(m),h}let e=pc(o.data.Url),v=await _k(e),M=io(o.data,Z.data?.Id??E0,Z.data?.HubSiteId??E0),t=no(v,Z.data?.Id??E0,Z.data?.HubSiteId??E0);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}`,d1("Unable to get web structure",a.href,Z)}return h}async function go(a){if(!Lo())return;let l=I2,c={hubid:E0,id:E0,url:"",siteId:E0,isHubRoot:!1,isRootWeb:!1,webs:[]};if(l.isError)return d1(`Unable to get site info ${l.error}`),c;let h=i7;if(h.isError)return d1(`Unable to get root web info ${h.error}`),c;let Z=await as(a);if(Z.isError)return d1(`Unable to get root subweb info ${h.error}`),c;let o=await Zm(Z.data),r=no(Z.data,l.data.Id,l.data.HubSiteId),e=no(o.filter((t)=>!t.isError).flatMap((t)=>t.data),l.data.Id,l.data.HubSiteId),v=[...r,...e],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,...H8(v,l.data.Id)]},c}async function uo(a,l,c){if(!f5())return;if(!hm)return;let h=c??I2.data.HubSiteId,Z=[];for await(let V of ML(a.web.toUrl().replace("_api/web",""),h))Z.push(...V);let o={id:"",url:"",siteId:h,hubid:h,isHubRoot:!0,isRootWeb:!0,sites:[],webs:[]},r=eL(Z),e=r.findIndex((V)=>V.hubid===h&&V.siteId===h),v=e>-1?r.splice(e,1)[0]:void 0;if(!v)O2("API Call did not return Hub ROOT",h),v={id:i7.data.Id,url:i7.data.Url,hubid:h,siteId:h,isHubRoot:!0,isRootWeb:!0};o.id=v.id,o.url=v.url,o.hubid=v.hubid,o.siteId=v.siteId,o.sites.push({...v,webs:[v]});let M=H8(r,v.siteId),t=o.sites.find((V)=>V.id===v.id);if(t)t.webs.push(...M);else o.webs.push(...M);let m=Vo(r);o.sites.push(...m),o.webs.push(...r);for(let V of hm.webs.sort((i,d)=>i.url.localeCompare(d.url)))if(o.sites.flatMap((i)=>i.webs).findIndex((i)=>i.id===V.id)===-1){let i=o.sites.findIndex((d)=>d.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((d,g)=>d.url.localeCompare(g.url))}let A=cm([...l],h);if(A){for(let V of A.sites){let i=o.sites.find((d)=>d.id===V.id);if(i){for(let d of V.webs)if(i.webs.find((u)=>u.id===d.id))continue;else i.webs.push(d);i.webs=i.webs.sort((d,g)=>d.url.localeCompare(g.url));continue}o.sites.push(V)}for(let V of A.webs)if(o.webs.find((d)=>d.id===V.id))continue;else o.webs.push(V)}let H=[];for(let V of o.webs){let i=o.sites.find((g)=>g.id===V.siteId);if(!i)continue;if(H.push({...V}),!i.webs.find((g)=>g.id===V.id))i.webs.push({...V}),i.webs=i.webs.sort((g,u)=>g.url.localeCompare(u.url))}return o.webs=o.webs.filter((V)=>H.findIndex((i)=>i.id===V.id)>-1),o.webs=o.webs.sort((V,i)=>V.url.localeCompare(i.url)),o}async function*ML(a,l,c=!0){let h=q5(a,c?"_api/v2.1/sites":"").using(vo());if(c)h.filter(`sharepointIds/hubSiteId eq '${l}'`).top(99);h.on.parse.replace(async(o,r,e)=>{let v={"@odata.context":"",value:[],"@odata.nextLink":""};if(r.ok)try{return e=await r.json(),[o,r,e]}catch(M){return d1("Unable to parse hubdata response",o,M),[o,r,v]}return d1("Error getting hubdata",o,r.statusText),[o,r,v]});let Z=await h();if(yield Z.value,Z["@odata.nextLink"])yield*ML(Z["@odata.nextLink"],l,!1)}async function om(a){return wc(()=>a.site.rootWeb(),{})}async function as(a){return wc(()=>a.site.rootWeb.webs(),[])}async function rm(a){return wc(()=>a.site(),{})}async function em(a){return wc(()=>a.web(),{})}async function mL(a){return wc(()=>a.web.webs(),[])}async function wc(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 vm=m8(),Fo=new URL(vm?vm:T4()),l0=cL(),I2=await rm(l0),i7=!I2.isError?await om(l0):{data:{},warnings:[],error:"Unable to get root web since site is not available",isError:!0},U4=await em(l0),G2=!vm;function f5(){if(I2.isError||i7.isError||U4.isError)return!1;return I2.data.IsHubSite&&i7.data.Id===U4.data.Id}function Mm(){if(I2.isError)return!1;return I2.data.HubSiteId!==E0}function Lo(){if(i7.isError||U4.isError)return!1;return U4.data.Id===i7.data.Id}function tL(){if(I2.isError||i7.isError)return!0;return i7.data.Id!==U4.data.Id}var ls=await _M(l0),AL=await A8(l0),cs=await to(l0,ls,AL.data.enabledAppCollections),D0=q0(AL.data),NM=q0(!1),V7=q0(cs),w1=q0(),R1=q0(),Dc=q0();var hm=await go(l0);m7(()=>{bZ("Configuration",R1.value?.config)});function jM(a){return{name:a,manifest:ec,activated:!1}}function mm(a){let l=U1(V7.value),c=l.findIndex((h)=>h.name===a.name);if(c>-1)l.splice(c,1,a);else l.push(a);V7.value=l}function r2(a,l=!1){let c=U1(a);if(w1.value=c,l)mm(c)}function Co(){if(G2)return"global";if(f5())return"hubRoot";if(Mm()&&!f5())return"hubChild";if(!Mm())return"nonHub";if(tL())return"subsite";return"other"}var hs=r6({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 r1(a){let l=hs(),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),Zs(a,c,l),os(a,c,l),/*@__PURE__*/n("div",{className:c.join(" "),style:{...h,...a.style},children:a.children},void 0,!1,void 0,this)}function Zs(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 os(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}}F();var B3="global-toast-notification";function HL(){return/*@__PURE__*/n(D4,{toasterId:B3},void 0,!1,void 0,this)}function VL(){let[a,l]=m1(""),c=$7(!1);async function h(v,M){c.value=M.open}let{dispatchToast:Z,updateToast:o}=w4(B3),r=(v)=>{switch(v){case"progress":Z(/*@__PURE__*/n(S2,{children:/*@__PURE__*/n(k2,{media:/*@__PURE__*/n(I5,{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 e(){if(!a)return;r("progress");let v=await t8(l0,a);if(v&&v.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(w5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:h,children:[/*@__PURE__*/n(G0,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(D2,{appearance:"primary",icon:/*@__PURE__*/n(w6,{},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(G0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/n(C1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/n(c7,{},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:(v,M)=>{l(M.value)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(C2,{children:[/*@__PURE__*/n(G0,{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:()=>{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)}function iL({app:a,onChange:l}){return/*@__PURE__*/n(F0,{defaultChecked:a.activated,onChange:(c,h)=>{l?.(a,h.checked)}},void 0,!1,void 0,this)}F();var Q7={SPFXEXT:"SPFXEXT_",SPFXEXT_CORE:"SPFXEXT"};function rs(){return Object.keys(localStorage).some((a)=>a.indexOf(Q7.SPFXEXT)>-1&&Number(localStorage[a])>0)}function nL(a){return a.hostname.toLowerCase()==="localhost"}function dL(a){return Number(localStorage.getItem(`${Q7.SPFXEXT}${a}`))>0}var Sc=rs();function gL({app:a}){let[l,c]=m1(localStorage.getItem(`${Q7.SPFXEXT}${a.name}`)??""),[h,Z]=m1(!1);return/*@__PURE__*/n(F2,{positioning:"after",open:h,children:[/*@__PURE__*/n(a2,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(d4,{checked:dL(a.name),onChange:()=>{Z(!h)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(L2,{tabIndex:-1,children:[/*@__PURE__*/n(i5,{defaultValue:l,onChange:(o,r)=>{c(r.value)}},void 0,!1,void 0,this),/*@__PURE__*/n(C1,{appearance:"primary",onClick:()=>{localStorage.setItem(`${Q7.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)}F();async function es(a){try{Dc.value=U1(a),await hL(l0,a.name),V7.value=V7.value.filter((l)=>l.name!==a.name)}finally{Dc.value=void 0}}function uL({item:a}){let[l,c]=m1(!1);function h(Z,o){c(o.open)}return/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(U0,{disabled:Dc?.value?.name!==void 0,onClick:()=>{c(!0)},children:/*@__PURE__*/n("div",{style:{display:"flex"},children:[/*@__PURE__*/n(Ji,{},void 0,!1,void 0,this),Dc.value?.name===a.name&&/*@__PURE__*/n(I5,{size:"extra-small"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(w5,{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(U0,{target:"_blank",onClick:()=>{window.open(`${Fo}/${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(C2,{children:[/*@__PURE__*/n(C1,{appearance:"primary",onClick:()=>{es(a),c(!1)},children:"Yes"},void 0,!1,void 0,this),/*@__PURE__*/n(G0,{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)}Q2();function V8(a,l,c="86px"){return/*@__PURE__*/n(Q0,{size:"medium",color:a,style:{width:c},children:l},void 0,!1,void 0,this)}function T3({webs:a,control:l,onDeleteClick:c,additionalIcon:h,disableControl:Z}){if(a.length===0)return null;function o(e,v){if(!R1.value)return;let M=U1(R1.value),t=M.config.excludedIds.filter((V)=>e.id!==V),m=M.config.excludedHubIds.filter((V)=>e.id!==V),A=M.config.includedIds.filter((V)=>e.id!==V),H=M.config.includedHubIds.filter((V)=>e.id!==V);if(!M.config.enabledEverywhere&&v)A.push(e.id);if(M.config.enabledEverywhere&&!v)t.push(e.id);M.config.excludedIds=t,M.config.excludedHubIds=m,M.config.includedIds=A,M.config.includedHubIds=H,R1.value=M}function r(e){if(!R1.value)return!1;if(R1.value.config.enabledEverywhere)return!R1.value.config.excludedIds.includes(e.id);return R1.value.config.includedIds.includes(e.id)}return/*@__PURE__*/n(V1,{children:a.map((e)=>/*@__PURE__*/n(r1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"36px"},children:[/*@__PURE__*/n(r1,{horizontal:!0,gap:8,verticalAlign:"center",children:[h,V8(void 0,"Web","64px"),/*@__PURE__*/n(l2,{children:`${e.url}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/n(F0,{disabled:Z,onChange:(v,M)=>{o(e,M.checked)},checked:r(e)},void 0,!1,void 0,this):/*@__PURE__*/n(C1,{onClick:()=>c?.({item:e,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 i8({siteCollections:a,control:l,onDeleteClick:c,additionalIcon:h,disableControl:Z}){function o(r,e){if(!R1.value)return;let v=U1(R1.value),M=v.config.excludedIds.filter((m)=>!r.webs.some((A)=>A.id===m)&&r.siteId!==m),t=v.config.includedIds.filter((m)=>!r.webs.some((A)=>A.id===m)&&r.siteId!==m);if(!v.config.enabledEverywhere&&e)t.push(r.siteId);if(v.config.enabledEverywhere&&!e)M.push(r.siteId);v.config.excludedIds=M,v.config.includedIds=t,R1.value=v}return/*@__PURE__*/n(V1,{children:a.map((r)=>/*@__PURE__*/n(r1,{children:[/*@__PURE__*/n(r1,{horizontal:!0,style:{minHeight:"36px"},verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/n(r1,{horizontal:!0,verticalAlign:"center",gap:8,children:[V8("warning","Site"),r.url]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/n(F0,{checked:(R1.value?.config?.enabledEverywhere||R1.value?.config?.includedIds?.includes(r.siteId))&&!R1.value?.config?.excludedIds?.includes(r.siteId),disabled:Z,onChange:(e,v)=>{o(r,v.checked)}},void 0,!1,void 0,this):/*@__PURE__*/n(C1,{onClick:()=>c?.({item:r,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(T3,{webs:r.webs,control:l,onDeleteClick:c,additionalIcon:h,disableControl:Z||R1.value?.config.excludedIds.includes(r.siteId)||R1.value?.config.includedIds.includes(r.siteId)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function Ro({hubSites:a,onDeleteClick:l,control:c}){function h(Z,o){if(!R1.value)return;let r=U1(R1.value);function e(A){let H=!Z.webs.some((g)=>g.id===A||g.hubid===A),V=!Z.sites.some((g)=>g.id===A||g.hubid===A),i=!Z.sites.some((g)=>g.webs.some((u)=>u.id===A||u.hubid===A)),d=Z.hubid!==A&&Z.siteId!==A;return H&&V&&i&&d}let v=r.config.excludedIds.filter(e),M=r.config.excludedHubIds.filter(e),t=r.config.includedIds.filter(e),m=r.config.includedHubIds.filter(e);if(!r.config.enabledEverywhere&&o)m.push(Z.hubid);if(r.config.enabledEverywhere&&!o)M.push(Z.hubid);r.config.excludedIds=v,r.config.excludedHubIds=M,r.config.includedIds=t,r.config.includedHubIds=m,R1.value=r}return/*@__PURE__*/n(V1,{children:a.map((Z)=>/*@__PURE__*/n(r1,{children:[/*@__PURE__*/n(r1,{horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/n(r1,{horizontal:!0,gap:8,verticalAlign:"center",style:{height:"36px"},children:[V8("success","Hub"),Z.url]},void 0,!0,void 0,this),c==="switch"?/*@__PURE__*/n(F0,{checked:(R1.value?.config?.enabledEverywhere||R1.value?.config?.includedHubIds?.includes(Z.hubid))&&!R1.value?.config?.excludedHubIds?.includes(Z.hubid),onChange:(o,r)=>{h(Z,r.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(i8,{control:c,siteCollections:Z.sites,onDeleteClick:l,additionalIcon:/*@__PURE__*/n(p6,{},void 0,!1,void 0,this),disableControl:R1.value?.config.excludedHubIds.includes(Z.hubid)||R1.value?.config.includedHubIds.includes(Z.hubid)},void 0,!1,void 0,this),/*@__PURE__*/n(T3,{control:c,webs:Z.webs,onDeleteClick:l,additionalIcon:/*@__PURE__*/n(Gh,{},void 0,!1,void 0,this),disableControl:R1.value?.config.excludedHubIds.includes(Z.hubid)||R1.value?.config.includedHubIds.includes(Z.hubid)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}Q2();var vs={invalid:{message:"Invalid URL"},duplicate:{message:"URL already exists"}};function LL(a){let l;if(!(a.toLowerCase().startsWith(window.location.origin.toLowerCase())||a.startsWith("/")))l=vs.invalid;return{urlInput:a,error:l}}function FL(){let[a,l]=m1(""),[c,h]=m1(""),[Z,o]=m1(!1);async function r(){if(!c)return;let e=LL(c);if(e.error){l(e.error.message);return}let v=c.startsWith("/")?new URL(c,window.location.origin):new URL(c);o(!0);let M=await vL(v,!0);if(o(!1),M.isError){l(M.error);return}if(f5()){if(!M.data.every((m)=>m.hubid===I2.data.HubSiteId)){l("You can only add child hub sites when configuring a hub root.");return}}let t=U1(D0.value);t.urlMap=t.urlMap.filter((m)=>{return!M.data.some((A)=>A.id===m.id)}),t.urlMap.push(...M.data),D0.value=t,l(""),h("")}return/*@__PURE__*/n(r1,{style:{padding:"8px 24px",width:"100%"},gap:8,children:[/*@__PURE__*/n(S4,{intent:"info",children:/*@__PURE__*/n(k4,{children:"Add site collections and hub child sites."},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(r1,{horizontal:!0,gap:8,children:[/*@__PURE__*/n(i5,{style:{width:"100%"},onChange:(e,v)=>{h(v.value)},onKeyDown:(e)=>{if(e.key==="Enter")r()},onFocus:()=>{l("")},value:c,placeholder:"Site/Web URL"},void 0,!1,void 0,this),/*@__PURE__*/n(C1,{disabled:!c||Z,onClick:()=>r(),icon:Z?/*@__PURE__*/n(I5,{size:"tiny"},void 0,!1,void 0,this):/*@__PURE__*/n(w6,{},void 0,!1,void 0,this),children:"Add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),a?/*@__PURE__*/n(l2,{style:{color:n2.colorPaletteRedForeground1},children:a},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var n8=q0(!1);function CL(){let a=B7(),[l,c]=m1(!1),[h,Z]=m1(!1),[o,r]=m1(D0.value),[e,v]=m1([]),[M,t]=m1([]),[m,A]=m1([]);z5(()=>{if(!D0.value)return;if(!o){r(D0.value);return}let i=JSON.stringify(D0.value),d=JSON.stringify(o);r(D0.value),Z(i!==d)}),z5(()=>{if(!D0.value)return;if(G2){let i=Ho(D0.value.urlMap);v(i.hubs),t(i.sites),A(i.webs);return}if(!G2&&f5())uo(l0,D0.value.urlMap).then((i)=>{if(i)v([i])})});function H(i){if(!D0.value)return;let d=U1(D0.value);if(i.itemType==="hub")d.urlMap=d.urlMap.filter((g)=>g.hubid!==i.item.hubid);if(i.itemType==="site")d.urlMap=d.urlMap.filter((g)=>g.siteId!==i.item.siteId);if(i.itemType==="web")d.urlMap=d.urlMap.filter((g)=>g.id!==i.item.id);D0.value=d}async function V(){if(!D0.value)return;c(!0);try{await Ao(l0,D0.value)}finally{c(!1),Z(!1),n8.value=!1}}return/*@__PURE__*/n(s2,{...a,separator:!0,open:n8.value,onOpenChange:()=>{},position:"end",size:"large",children:[/*@__PURE__*/n(B2,{children:/*@__PURE__*/n(T2,{action:/*@__PURE__*/n(C1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/n(c7,{},void 0,!1,void 0,this),onClick:()=>{n8.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(f2,{children:/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(FL,{},void 0,!1,void 0,this),/*@__PURE__*/n(r1,{gap:12,children:[e.length>0?/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(m5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/n(U5,{},void 0,!1,void 0,this),/*@__PURE__*/n(r1,{children:/*@__PURE__*/n(Ro,{hubSites:e,control:"delete",onDeleteClick:H},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(m5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/n(U5,{},void 0,!1,void 0,this),/*@__PURE__*/n(r1,{children:/*@__PURE__*/n(i8,{siteCollections:M,control:"delete",additionalIcon:/*@__PURE__*/n(p6,{},void 0,!1,void 0,this),onDeleteClick:H},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(m5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/n(U5,{},void 0,!1,void 0,this),/*@__PURE__*/n(r1,{children:/*@__PURE__*/n(T3,{webs:m,control:"delete",onDeleteClick:H},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(K7,{children:/*@__PURE__*/n(r1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/n(C1,{appearance:"secondary",onClick:()=>{n8.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 Ms(a,l){let c=await A8(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 Ao(l0,c.data)}a.activated=l,mm(a)}var ms=[{columnId:"name",text:"App Collection"},{columnId:"enabled",text:"Enabled"},{columnId:"InDebug",text:"In Debug"},{columnId:"Delete",text:""}];function RL(a){if(w1.value)return null;return/*@__PURE__*/n(r1,{gap:16,children:[/*@__PURE__*/n(L4,{children:/*@__PURE__*/n(r1,{gap:8,horizontal:!0,children:[/*@__PURE__*/n(VL,{},void 0,!1,void 0,this),G2||f5()?/*@__PURE__*/n(D2,{appearance:"secondary",onClick:()=>{n8.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(C4,{children:[/*@__PURE__*/n(R4,{children:/*@__PURE__*/n(C3,{children:ms.map((l)=>/*@__PURE__*/n(p4,{children:l.text},l.columnId,!1,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(F4,{children:V7.value.map((l)=>/*@__PURE__*/n(C3,{children:[/*@__PURE__*/n(v7,{children:/*@__PURE__*/n(M7,{media:/*@__PURE__*/n(Ui,{},void 0,!1,void 0,this),children:/*@__PURE__*/n(U0,{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(v7,{children:/*@__PURE__*/n(M7,{children:/*@__PURE__*/n(iL,{app:l,onChange:Ms},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(v7,{children:/*@__PURE__*/n(M7,{children:/*@__PURE__*/n(gL,{app:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(v7,{children:/*@__PURE__*/n(M7,{children:/*@__PURE__*/n(uL,{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)}Q2();async function ts(a,l){let c=H7(a),h=a.web.getFileByUrl(`${s1}/${l}/${X0}`),Z=await h.exists(),o={data:ec,error:"",isError:!1,warnings:[]};if(!Z)return await t8(a,l),await a.web.lists.getByTitle(s1).rootFolder.folders.getByUrl(l).files.addUsingPath(X0,JSON.stringify(ec)),y0(`Created ${X0} in ${s1}/${l} folder in ${c}`),o;try{let e=await(await h.getBlob()).text(),v=JSON.parse(e);return o.data=v,o}catch(r){let e=`Error while parsing ${X0} in ${s1}/${l} folder in ${c}`;return d1(e,r),o.error=e,o.isError=!0,o}}async function xL(a,l,c){await ts(a,l);let h=a.web.getFileByUrl(`${s1}/${l}/${X0}`);try{return await h.setContent(JSON.stringify(c)),!0}catch(Z){let o=H7(a);return d1(`Error while updating ${X0} in ${s1}/${l} folder in ${o}`,Z),!1}}var As=r6({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 pL(a){let l=As(),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(Hs(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 Hs(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 wL(a,l=0){let h=(/*@__PURE__*/new TextEncoder()).encode(a),Z=await window.crypto.subtle.digest("SHA-1",h),r=Array.from(new Uint8Array(Z)).map((e)=>e.toString(16).padStart(2,"0")).join("");return l>0?r.substring(0,l):r}var Hm=(a,l)=>l.some((c)=>a instanceof c),DL,SL;function Vs(){return DL||(DL=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function is(){return SL||(SL=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var Vm=/*@__PURE__*/new WeakMap,tm=/*@__PURE__*/new WeakMap,xo=/*@__PURE__*/new WeakMap;function ns(a){let l=new Promise((c,h)=>{let Z=()=>{a.removeEventListener("success",o),a.removeEventListener("error",r)},o=()=>{c(W3(a.result)),Z()},r=()=>{h(a.error),Z()};a.addEventListener("success",o),a.addEventListener("error",r)});return xo.set(l,a),l}function ds(a){if(Vm.has(a))return;let l=new Promise((c,h)=>{let Z=()=>{a.removeEventListener("complete",o),a.removeEventListener("error",r),a.removeEventListener("abort",r)},o=()=>{c(),Z()},r=()=>{h(a.error||new DOMException("AbortError","AbortError")),Z()};a.addEventListener("complete",o),a.addEventListener("error",r),a.addEventListener("abort",r)});Vm.set(a,l)}var im={get(a,l,c){if(a instanceof IDBTransaction){if(l==="done")return Vm.get(a);if(l==="store")return c.objectStoreNames[1]?void 0:c.objectStore(c.objectStoreNames[0])}return W3(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 BL(a){im=a(im)}function gs(a){if(is().includes(a))return function(...l){return a.apply(nm(this),l),W3(this.request)};return function(...l){return W3(a.apply(nm(this),l))}}function us(a){if(typeof a==="function")return gs(a);if(a instanceof IDBTransaction)ds(a);if(Hm(a,Vs()))return new Proxy(a,im);return a}function W3(a){if(a instanceof IDBRequest)return ns(a);if(tm.has(a))return tm.get(a);let l=us(a);if(l!==a)tm.set(a,l),xo.set(l,a);return l}var nm=(a)=>xo.get(a);function TL(a,l,{blocked:c,upgrade:h,blocking:Z,terminated:o}={}){let r=indexedDB.open(a,l),e=W3(r);if(h)r.addEventListener("upgradeneeded",(v)=>{h(W3(r.result),v.oldVersion,v.newVersion,W3(r.transaction),v)});if(c)r.addEventListener("blocked",(v)=>c(v.oldVersion,v.newVersion,v));return e.then((v)=>{if(o)v.addEventListener("close",()=>o());if(Z)v.addEventListener("versionchange",(M)=>Z(M.oldVersion,M.newVersion,M))}).catch(()=>{}),e}function WL(a,{blocked:l}={}){let c=indexedDB.deleteDatabase(a);if(l)c.addEventListener("blocked",(h)=>l(h.oldVersion,h));return W3(c).then(()=>{return})}var Ls=["get","getKey","getAll","getAllKeys","count"],Fs=["put","add","delete","clear"],Am=/*@__PURE__*/new Map;function kL(a,l){if(!(a instanceof IDBDatabase&&!(l in a)&&typeof l==="string"))return;if(Am.get(l))return Am.get(l);let c=l.replace(/FromIndex$/,""),h=l!==c,Z=Fs.includes(c);if(!(c in(h?IDBIndex:IDBObjectStore).prototype)||!(Z||Ls.includes(c)))return;let o=async function(r,...e){let v=this.transaction(r,Z?"readwrite":"readonly"),M=v.store;if(h)M=M.index(e.shift());return(await Promise.all([M[c](...e),Z&&v.done]))[0]};return Am.set(l,o),o}BL((a)=>({...a,get:(l,c,h)=>kL(l,c)||a.get(l,c,h),has:(l,c)=>!!kL(l,c)||a.has(l,c)}));var Cs=["continue","continuePrimaryKey","advance"],sL={},dm=/*@__PURE__*/new WeakMap,OL=/*@__PURE__*/new WeakMap,Rs={get(a,l){if(!Cs.includes(l))return a[l];let c=sL[l];if(!c)c=sL[l]=function(...h){dm.set(this,OL.get(this)[l](...h))};return c}};async function*xs(...a){let l=this;if(!(l instanceof IDBCursor))l=await l.openCursor(...a);if(!l)return;l=l;let c=new Proxy(l,Rs);OL.set(c,l),xo.set(c,nm(l));while(l)yield c,l=await(dm.get(c)||l.continue()),dm.delete(c)}function fL(a,l){return l===Symbol.asyncIterator&&Hm(a,[IDBIndex,IDBObjectStore,IDBCursor])||l==="iterate"&&Hm(a,[IDBIndex,IDBObjectStore])}BL((a)=>({...a,get(l,c,h){if(fL(l,c))return xs;return a.get(l,c,h)},has(l,c){return fL(l,c)||a.has(l,c)}}));var _1={AppFolderManifestCache:"AppFolderManifestCache",AppCollectionManifestCache:"AppCollectionManifestCache",AllowedApps:"AllowedApps",HubSiteData:"HubSiteData",SPFxExtensionConfig:"SPFxExtensionConfig"},PL=`${Q7.SPFXEXT}COREDB`,UL=TL(PL,1,{blocking(a,l,c){a5.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"})}});UL.catch((a)=>{throw d1("Error opening database for Core, please contact your administrator."),WL(PL).then(()=>{window.location.reload()}),a});var a5=await UL;function d8(a){let l=/*@__PURE__*/new Date;return l.setMinutes(l.getMinutes()+a),{expires:l.toISOString()}}async function g8(a,l){let c=await a5.getAll(a),h=/*@__PURE__*/new Date,Z=c.filter((r)=>{let e=new Date(r.expires);return h>=e}),o=Z.length;if(o>0){let r=a5.transaction(a,"readwrite"),e=r.objectStore(a);Z.forEach((v)=>e.delete(v[l])),await r.done,O2(`Evicted ${o} items from ${a} cache.`)}return o}async function gm(){return await g8(_1.SPFxExtensionConfig,"Title"),a5.getAll(_1.SPFxExtensionConfig)}async function O3(a){return await g8(_1.SPFxExtensionConfig,"Title"),a5.get(_1.SPFxExtensionConfig,a)}async function z2(a,l=60){await a5.put(_1.SPFxExtensionConfig,{...a,...d8(l)})}function IL(a,l){let c=a5.transaction(_1.SPFxExtensionConfig,"readwrite"),h=c.objectStore(_1.SPFxExtensionConfig);return a.forEach((Z)=>h.put({...Z,...d8(l)})),c.done}async function GL(){return a5.getAll(_1.AllowedApps)}async function um(a){return a5.get(_1.AppFolderManifestCache,a)}async function Lm(a){return a5.get(_1.AppCollectionManifestCache,a)}async function dR1(a){return a5.get(_1.HubSiteData,a)}async function gR1(a,l=60){await a5.put(_1.HubSiteData,{...a,...d8(l)})}async function ps(a,l=60){await a5.put(_1.AppCollectionManifestCache,{...a,...d8(l)})}async function ws(a,l=60){await a5.put(_1.AppFolderManifestCache,{...a,...d8(l)})}async function zL(a,l=5){let c=d8(l),h=a5.transaction(_1.AllowedApps,"readwrite"),Z=h.objectStore(_1.AllowedApps);return a.forEach((o)=>Z.put({...c,...o})),h.done}function Ds(a){return a5.delete(_1.AppCollectionManifestCache,a)}function Ss(a){return a5.delete(_1.AppFolderManifestCache,a)}async function ks(){return g8(_1.AppCollectionManifestCache,"url")}async function ss(){return g8(_1.AppFolderManifestCache,"url")}async function qL(){return g8(_1.AllowedApps,"Id")}async function uR1(){return g8(_1.HubSiteData,"SiteId")}async function KL(a){if(a){let l=await um(a.url);if(l){if(l.hash!==a.hash)await Ss(a.url),O2(`Evicted ${X0} ${l.url} from cache. Because of hash mismatch.`)}}return ss()}async function bL(a){if(a){let l=await Lm(a.url);if(l){if(l.hash!==a.hash)await Ds(a.url),O2(`Evicted ${c2} ${l.url} from cache. Because of hash mismatch.`)}}return ks()}async function LR1(a){if(await KL(),Sc)return;return um(a)}async function FR1(a,l){await KL(a);let c=await um(a.url);if(c&&c.hash===a.hash&&!Sc)return;await ws(a,l)}async function CR1(a,l){await bL(a);let c=await Lm(a.url);if(c&&c.hash===a.hash&&!Sc)return;await ps(a,l)}async function RR1(a){if(await bL(),Sc)return;return Lm(a)}async function $L(a){let l=await fetch(`${a}/_api/contextinfo`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json"}});if(l.status===200)return(await l.json()).d.GetContextWebInformation.FormDigestValue;else d1("Error while getting digest",l.status);return""}var Fm=(a)=>{},po;async function kc(a=""){if(po)return po;po=new Promise((l)=>{Fm=l});try{let h=(await(await fetch(`${a}/_api/SP_TenantSettings_Current`,{headers:{Accept:"application/json;odata=verbose"}})).json()).d.CorporateCatalogUrl;Fm(h)}catch(l){d1("Error while getting app catalog url. Trying default /sites/appcatalog",l);let c=`${window.location.origin}/sites/appcatalog`;Fm(c)}return po}async function fs(a=""){let l=await O3("AppCatalogUrl");if(l?.Data)return l.Data;let c=await kc(a);return await z2({Title:"AppCatalogUrl",Data:c,date:"",expires:""},240),c}async function X7(a=""){let c=`${await kc()}${a?`/${a}`:""}`;return $L(c)}var Bs=await fs(),A0=`${Bs}/${S5}`;var YL={Status:"Status",RootCDNLocation:"RootCDNLocation",InterceptHistory:"InterceptHistory",EnableAppWhiteList:"EnableAppWhiteList",AppCatalogUrl:"AppCatalogUrl",AppCatalogWebs:"AppCatalogWebs",ConfiguratorPageData:"ConfiguratorPageData",AppWhiteList:"AppWhiteList",Version:"2025-04-25T11:07:28.675Z"},JL=[{Title:"Status",Data:"Installed"},{Title:"InterceptHistory",Data:"true"},{Title:"EnableAppWhiteList",Data:"false"},{Title:"RootCDNLocation",Data:`/sites/appcatalog/${S5}`}];function QL(a){let l=JL.find((c)=>c.Title==="RootCDNLocation");if(l)l.Data=a;return JL}var Ts=Object.keys(YL).length,Do=await X7(S5),wo;async function Ws(){let a=`${A0}/_api/web/lists/GetByTitle('${Q6}')/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((r)=>r.InternalName),o=h.find((r)=>r.InternalName==="Title");if(!o){d1("Title field not found.");return}if(!o.EnforceUniqueValues)if((await fetch(`${A0}/_api/web/lists/GetByTitle('${Q6}')/fields('${o.Id}')`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":Do,"X-HTTP-Method":"MERGE","If-Match":"*"},body:JSON.stringify({__metadata:{type:"SP.Field"},Indexed:!0,EnforceUniqueValues:!0})})).status===204)y0("Title field updated successfully.");else d1("Unable to update Title field.");if(!Z.includes("Data"))if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":Do},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:"Data",FieldTypeKind:2,Required:!0})})).status===201)y0("Data field added successfully.");else d1("Unable to add Data field.")}}catch(l){d1("Error while ensuring configuration list data fields.",l)}}async function Os(){let a=!1;try{if(a=(await fetch(`${A0}/_api/web/lists/GetByTitle('${Q6}')`)).status===404,a)if(y0("Creating configuration list."),(await fetch(`${A0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":Do},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:"SPFxExtensionsConfiguration",Description:"Configuration list for SPFxExtensions"})})).status===201)y0("Configuration list created successfully.");else d1("Unable to create configuration list.");await Ws()}catch(l){d1("Error while ensuring configuration list.",l)}return a}async function XL(){let a=`${A0}/_api/web/lists/GetByTitle('${Q6}')/items?$select=Title,Data`,c=await fetch(a,{...{headers:{Accept:"application/json;odata=verbose"}}});if(c.status!==200)return d1("Unable to fetch configuration list items."),[];return(await c.json()).d.results}async function Ps(){for(let a of QL(A0))if((await fetch(`${A0}/_api/web/lists/GetByTitle('${Q6}')/items`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":Do},body:JSON.stringify({__metadata:{type:"SP.Data.SPFxExtensionsConfigurationListItem"},...a})})).status===201)y0(`Item ${a.Title} added successfully.`);else d1(`Unable to add item ${a.Title}.`)}function EL(a=!1){if(a)return XL();if(wo)return wo;return wo=Us(),wo}async function Us(){let a=await gm();if(a.length<Ts){if(await Os())await Ps();let c=await XL();await IL(c,240),a=await gm()}return a}async function Is(a){let l=await kc(),c=await X7(),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 Gs(){let a=await kc(),l=await X7(),c=await fetch(`${a}/_api/web/webs`,{method:"GET",headers:{Accept:"application/json;odata=nometadata","X-RequestDigest":l}});if(!c.ok)throw new Error(`Failed to fetch data from ${a}/_api/web/webs`);return(await c.json()).value}async function zs(){return(await O3("AppCatalogWebs"))?.Data??[]}var So;async function yL(){if(So)return So;return So=qs(),So}async function qs(){let a=await zs();if(!a.some((c)=>c.ServerRelativeUrl.endsWith(S5))){let c=await Gs();if(!c.some((Z)=>Z.ServerRelativeUrl.endsWith(S5))){let Z=await Is(S5);c.push(Z),await z2({Title:"AppCatalogWebs",Data:c,date:"",expires:""},240)}return c}return a}var Cm="f3ab710f-2c08-422e-a7ad-5d93eb51e7a3",Ks=await X7(S5),ko={accept:"application/json"},Rm={"X-RequestDigest":Ks},bs={"Content-Type":"application/json"};async function $s(){return(await(await fetch(`${A0}/_api/sitepages/pages`,{headers:{...ko,...Rm,...bs},body:JSON.stringify({PageLayoutType:"SingleWebPartAppPage",PromotedState:0}),method:"POST"})).json()).Id}async function xm(){let a=await fetch(`${A0}/_api/sitepages/pages/GetByUrl('${zZ}')`,{headers:{...ko},method:"GET"});if(a.status===404)return;return await a.json()}var Js=[{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"}],Ys=[{addedFromPersistedData:!1,controlType:3,displayMode:2,emphasis:{},id:Cm,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:MM,instanceId:Cm,properties:{description:"Select an app to load from the dropdown below",selectedApp:Xg,SPFxExtensionAppConfiguration:void 0},title:"SPFx Extension Loader"},webPartId:MM},{controlType:0,pageSettingsSlice:{isDefaultDescription:!0,isDefaultThumbnail:!0}}],Qs={CanvasContent1:`${JSON.stringify(Ys)}`,LayoutWebpartsContent:`${JSON.stringify(Js)}`,Title:Eg};async function jL(a){await fetch(`${A0}/_api/sitepages/pages(${a})/savepage`,{headers:{"Content-Type":"application/json",...ko,...Rm},body:JSON.stringify(Qs),method:"POST"}),await fetch(`${A0}/_api/sitepages/pages(${a})/publish`,{headers:{...ko,...Rm},method:"POST"})}async function Xs(){let a=await $s();return await jL(a),xm()}async function Es(){let a=await O3("ConfiguratorPageData");if(a?.Data)return a.Data;let l=await xm();if(l)await z2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480);return l}async function NL(){let a=await Es();if(!a)return Xs();if(a.CanvasContent1.indexOf(Cm)===-1){await jL(a.Id);let l=await xm();return await z2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480),l}return a}var _L=await X7(S5);async function ys(){let a=`${A0}/_api/web/lists/GetByTitle('${X6}')/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 js(a,"EntryPointUrl","Full URL to the Entrypoint JS file, if * is specified all entries will be allowed.",!0)}}catch(l){d1("Error while ensuring list fields.",l)}}async function js(a,l,c,h){if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":_L},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:l,FieldTypeKind:3,Required:h,Description:c})})).status===201)y0(l,"field added successfully.");else d1(l,"Unable to add field.")}async function Ns(){try{let a=await fetch(`${A0}/_api/web/lists/GetByTitle('${X6}')?$select=*`,{method:"GET",headers:{Accept:"application/json;odata=verbose"}});if(a.status===404){y0("Creating app white list.");let c=await fetch(`${A0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":_L},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:X6,Description:"App whitelist for SPFxExtensions"})});if(c.status===201)return y0("App whitelist created successfully."),c.json();else{d1("Unable to create app whitelist.");return}}return await ys(),a.json()}catch(a){d1("Error while ensuring app whitelist.",a)}return}async function aF(){let a=await O3("AppWhiteList");if(a?.Data)return a.Data;let l=await Ns();if(l)await z2({Title:"AppWhiteList",Data:l,date:"",expires:""},480);return l}var so;async function _s(){if(so)return so;return so=af(),so}async function af(){await yL(),await aF(),await NL(),window.__SPFxExtensions.Utils.ConfiguratorPageUrl=`${A0}/${zZ}`}async function u8(a=!1){return await _s(),EL(a)}async function ox1(){return`${`${(await u8()).find((h)=>h.Title==="RootCDNLocation")?.Data??`${A0}`}${yg}`}${c2}`}async function tx1(){let a=await u8(),l=["spfxextensions","ff36e5d0-f7c7-421d-9e21-0a422626209a"];if(a.find((c)=>c.Title==="Version")?.Data!=="2025-04-25T11:07:28.675Z"){a=await u8(!0),z2({Title:"Version",Data:"2025-04-25T11:07:28.675Z",date:"",expires:""},240);let c=await caches.keys(),h=!1;for(let Z of c){let o=await caches.open(Z),r=await o.keys(),e=[];for(let v of r){let M=v.url.toLowerCase();if(l.some((t)=>M.indexOf(t)>-1))bZ("Deleting cache key",v),h=!0,e.push(o.delete(v,{ignoreMethod:!0,ignoreSearch:!0}))}await Promise.allSettled(e)}if(h)window.location.reload()}}function lF(){return wL(`${Date.now()}`,13)}function cF(){let a=$7(""),l=$7(!1);async function c(Z,o){l.value=o.open}async function h(){if(!a.value||!w1.value||w1.value.manifest.appDefinitionMap.some((r)=>r.appId===a.value))return;let Z={appId:a.value,config:U1(E6)},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(w5,{open:l.value,surfaceMotion:null,modalType:"alert",onOpenChange:c,children:[/*@__PURE__*/n(G0,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(D2,{appearance:"outline",icon:/*@__PURE__*/n(w6,{},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(G0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/n(C1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/n(c7,{},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(C2,{children:[/*@__PURE__*/n(G0,{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 lf=cf();async function cf(){try{let a=await qL(),l=await GL();if(l.length>0&&!a)return l;if(l.length>0)y0("Cache mismatch, loading allowed apps data...");let c=await hF();return await zL(c,5),c}catch(a){return d1("Unable to load allowed apps data...",a),[]}}async function hF(a=!1){if((await u8(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 hf()}async function hf(){let a=`${A0}/_api/web/lists/getByTitle('${X6}')/Items?$select=Id,Title,EntryPointUrl&$top=1000`;return await Zf(a)}async function Zf(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 of(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),r=o.origin+o.pathname;return h===r.toLowerCase()}catch(o){return d1("Error while parsing allowed entry URL",Z.EntryPointUrl,o),!1}})}async function ZF(a,l,c=!1){if(nL(a))return!0;let h=c?await hF(c):await lf;if(!of(a,h))return O2("File",a,`is not allowed to be executed. Please add it to whitelist @ ${A0}.`),O2(`If you are a developer you can enable this app by adding localStorage item ${Q7.SPFXEXT}${l} with a number value corresponding to development port of the localhost server.`),!1;return!0}async function oF(a){if(!a.manifest.isESM){let c=[];for(let Z of a.manifest.appRelativeEntryPointUrls){let o=a.manifest.appDefinitionMap.find((r)=>r.appId===Z)?.config??U1(E6);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(E6)}});for(let c of a.manifest.appRelativeEntryPointUrls){let h=c.replace(/\.\.\/?/g,"").replace(/\.\//g,""),Z=new URL(`${Fo}/${s1}/${a.name}/${h}`);if(!await ZF(Z,a.name,!0))continue;Z.searchParams.set("t",`${Date.now()}`);try{let r=await import(`${Z}`);if(!r.default){d1(`Invalid app definition file ${Z}, default export not available.`);continue}if(!Array.isArray(r.default)){d1(`Invalid app definition file ${Z}, default export should be an array.`);continue}if(r.default.some((e)=>!e.id||!e.name)){d1(`Invalid app definition file ${Z}, default export should be an array of objects with id and name properties.`);continue}for(let e of r.default){let v=l.find((M)=>M.appId===e.id);if(v){v.name=e.name,v.resolved=!0;continue}l.push({appId:e.id,name:e.name,resolved:!0,config:U1(E6)})}}catch(r){d1(`Error loading ${Z}`,r);continue}}return l}Q2();var rf=Co();function rF({appDefinitions:a}){let l=B7(),[c,h]=m1(R1.value),[Z,o]=m1(!1),[r,e]=m1([]),[v,M]=m1([]),[t,m]=m1([]);if(z5(()=>{if(!R1.value)return;if(!c){h(R1.value);return}let A=JSON.stringify(R1.value),H=JSON.stringify(c);h(R1.value),o(A!==H)}),z5(()=>{if(!G2){if(f5())uo(l0,D0.value.urlMap).then((A)=>{e(A?[A]:[])});if(Lo()&&!f5())go(l0).then((A)=>{M(A?[A]:[])})}else{let A=Ho(D0.value.urlMap);e(A.hubs),M(A.sites),m(A.webs)}}),!R1.value||!w1.value)return null;return/*@__PURE__*/n(s2,{...l,separator:!0,open:!!R1.value,position:"end",size:"large",children:[/*@__PURE__*/n(B2,{children:/*@__PURE__*/n(T2,{action:/*@__PURE__*/n(C1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/n(c7,{},void 0,!1,void 0,this),onClick:()=>{R1.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(f2,{children:/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(r1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",children:[/*@__PURE__*/n(r1,{horizontal:!0,verticalAlign:"center",gap:8,children:[/*@__PURE__*/n(S0,{children:"Enable everywhere"},void 0,!1,void 0,this),/*@__PURE__*/n(F2,{withArrow:!0,children:[/*@__PURE__*/n(a2,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(U0,{children:/*@__PURE__*/n(Jh,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(L2,{tabIndex:-1,children:/*@__PURE__*/n(l2,{children:rf==="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(F0,{defaultChecked:R1.value.config.enabledEverywhere,onChange:(A,H)=>{let V=U1(R1.value);V.config.enabledEverywhere=H.checked,V.config.includedIds=[],V.config.excludedIds=[],V.config.includedHubIds=[],V.config.excludedHubIds=[],R1.value=V}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(r1,{gap:12,children:[/*@__PURE__*/n(m5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/n(U5,{},void 0,!1,void 0,this),/*@__PURE__*/n(r1,{children:r.length>0?/*@__PURE__*/n(Ro,{hubSites:r,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/n(m5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/n(U5,{},void 0,!1,void 0,this),/*@__PURE__*/n(r1,{children:v.length>0?/*@__PURE__*/n(i8,{additionalIcon:/*@__PURE__*/n(p6,{},void 0,!1,void 0,this),siteCollections:v,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/n(m5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/n(U5,{},void 0,!1,void 0,this),/*@__PURE__*/n(r1,{children:t.length>0?/*@__PURE__*/n(T3,{additionalIcon:/*@__PURE__*/n(Gh,{},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(K7,{children:/*@__PURE__*/n(r1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/n(C1,{appearance:"secondary",onClick:()=>{R1.value=void 0},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/n(C1,{appearance:"primary",disabled:!Z,onClick:()=>{if(!R1.value)return;let A=U1(w1.value),H=U1(R1.value);A.manifest.appDefinitionMap=A.manifest.appDefinitionMap.filter((V)=>V.appId!==H.appId),A.manifest.appDefinitionMap.push(H),w1.value=A,R1.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 eF(){let a=$7([]),l=$7(!1);async function c(Z){l.value=!1;let o=await oF(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((r)=>r.appId!==Z.appId),w1.value=o}if(z5(()=>{if(!w1.value)return;c(w1.value)}),!w1.value)return null;if(!l.value)return/*@__PURE__*/n(r1,{style:{marginTop:"10px"},children:/*@__PURE__*/n(z7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this);return/*@__PURE__*/n(r1,{style:{marginTop:"10px",borderBottom:"1px solid #eaeaea"},children:[a.value.map((Z)=>{return/*@__PURE__*/n(r1,{horizontal:!0,gap:8,horizontalAlign:"space-between",verticalAlign:"center",style:{borderTop:"1px solid #eaeaea",padding:"10px 6px",minHeight:"53px"},children:[/*@__PURE__*/n(r1,{horizontal:!0,verticalAlign:"center",gap:8,grow:!0,children:[/*@__PURE__*/n(Ii,{},void 0,!1,void 0,this)," ",/*@__PURE__*/n(U0,{size:"medium",onClick:()=>{R1.value={appId:Z.appId,config:Z.config}},children:Z.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(r1,{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(Pi,{},void 0,!1,void 0,this),onClick:()=>{R1.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(rF,{appDefinitions:a.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}Q2();async function vF(a){let l={data:[],warnings:[],error:"",isError:!1},c=a.find((r)=>r.path.toLowerCase().endsWith(X0)),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 r of a){if(r.size===0)continue;let e=await r.arrayBuffer(),v=new Uint8Array(e),M=r.path,t=r.path.lastIndexOf("/"),m=t>-1?r.path.substring(0,t+1):"",A="/";if(m){let H=m.split("/").filter((i)=>i.length>0),V=Z.split("/").filter((i)=>i.length>0);H.forEach((i)=>{if(V.includes(i))A+=`${i}/`})}M=M.replace(A,"").replace(/^\./,""),l.data.push({fileName:M,content:v})}let o=[];if(Z!=="/"){if(o=a.filter((r)=>!r.path.startsWith(Z)),o.length>0)l.warnings.push("Some files are outside of manifest.txt directory."),l.warnings.push(...o.map((r)=>`File: ${r.relativePath}`))}return l}async function*MF(a,l,c){await t8(a,l);let h=H7(a),Z={data:[],error:"",isError:!1,warnings:[]},o=[];for(let r of c){let e=r.fileName.lastIndexOf("/"),v=e>-1,M=v?r.fileName.substring(e+1):r.fileName,t=r.fileName.substring(0,e),m=`${s1}/${l}${t?`/${t}`:""}`,A=a.web.getFolderByServerRelativePath(m);if(v){if(!o.includes(t))try{await ZL(a,l,t.split("/")),o.push(t)}catch(H){return Z.error=`Error while creating ${t} in ${m} folder in ${h}. ${H}`,Z.isError=!0,Z}}try{await A.files.addUsingPath(M,new Blob([r.content]),{Overwrite:!0});let H=`${M} uploaded successfully`;Z.data.push(H),yield{data:H,success:!0,fileName:r.fileName}}catch(H){let V=`Error while uploading ${M} in ${m} folder in ${h}`;d1(V,H),Z.warnings.push(V),yield{data:V,success:!1,fileName:r.fileName}}}if(Z.data.length===0&&Z.warnings.length>0)Z.error="All files failed to upload.",Z.isError=!0;return Z}async function ef(a,l){let c=await a.web.using(Ru())(),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 r of h)r.forEach((v)=>{let M=v.FileDirRef.replace(`${o}/${s1}/${l}`,"."),t=v.FileLeafRef;Z.push(`${M}/${t}`)});return Z}async function mF(a,l){return(await ef(a,l)).filter((h)=>/\.js$/.test(h))}F();F();var E1=b4(fg(),1);var vf=/*@__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 I4(a,l,c){let h=Mf(a),{webkitRelativePath:Z}=a,o=typeof l==="string"?l:typeof Z==="string"&&Z.length>0?Z:`./${a.name}`;if(typeof h.path!=="string")tF(h,"path",o);if(c!==void 0)Object.defineProperty(h,"handle",{value:c,writable:!1,configurable:!1,enumerable:!0});return tF(h,"relativePath",o),h}function Mf(a){let{name:l}=a;if(l&&l.lastIndexOf(".")!==-1&&!a.type){let h=l.split(".").pop().toLowerCase(),Z=vf.get(h);if(Z)Object.defineProperty(a,"type",{value:Z,writable:!1,configurable:!1,enumerable:!0})}return a}function tF(a,l,c){Object.defineProperty(a,l,{value:c,writable:!1,configurable:!1,enumerable:!0})}var mf=[".DS_Store","Thumbs.db"];function wm(a){return w3(this,void 0,void 0,function*(){if(fo(a)&&tf(a.dataTransfer))return nf(a.dataTransfer,a.type);else if(Af(a))return Hf(a);else if(Array.isArray(a)&&a.every((l)=>("getFile"in l)&&typeof l.getFile==="function"))return Vf(a);return[]})}function tf(a){return fo(a)}function Af(a){return fo(a)&&fo(a.target)}function fo(a){return typeof a==="object"&&a!==null}function Hf(a){return pm(a.target.files).map((l)=>I4(l))}function Vf(a){return w3(this,void 0,void 0,function*(){return(yield Promise.all(a.map((c)=>c.getFile()))).map((c)=>I4(c))})}function nf(a,l){return w3(this,void 0,void 0,function*(){if(a.items){let c=pm(a.items).filter((Z)=>Z.kind==="file");if(l!=="drop")return c;let h=yield Promise.all(c.map(df));return AF(VF(h))}return AF(pm(a.files).map((c)=>I4(c)))})}function AF(a){return a.filter((l)=>mf.indexOf(l.name)===-1)}function pm(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 df(a){if(typeof a.webkitGetAsEntry!=="function")return HF(a);let l=a.webkitGetAsEntry();if(l&&l.isDirectory)return iF(l);return HF(a,l)}function VF(a){return a.reduce((l,c)=>[...l,...Array.isArray(c)?VF(c):[c]],[])}function HF(a,l){return w3(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 r=yield o.getFile();return r.handle=o,I4(r)}}let h=a.getAsFile();if(!h)throw new Error(`${a} is not a File`);return I4(h,(c=l===null||l===void 0?void 0:l.fullPath)!==null&&c!==void 0?c:void 0)})}function gf(a){return w3(this,void 0,void 0,function*(){return a.isDirectory?iF(a):uf(a)})}function iF(a){let l=a.createReader();return new Promise((c,h)=>{let Z=[];function o(){l.readEntries((r)=>w3(this,void 0,void 0,function*(){if(!r.length)try{let e=yield Promise.all(Z);c(e)}catch(e){h(e)}else{let e=Promise.all(r.map(gf));Z.push(e),o()}}),(r)=>{h(r)})}o()})}function uf(a){return w3(this,void 0,void 0,function*(){return new Promise((l,c)=>{a.file((h)=>{let Z=I4(h,a.fullPath);l(Z)},(h)=>{c(h)})})})}var Bo=b4(nF(),1);function dF(a){return pf(a)||xf(a)||RF(a)||Rf()}function Rf(){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 xf(a){if(typeof Symbol!=="undefined"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function pf(a){if(Array.isArray(a))return Dm(a)}function gF(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 uF(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?gF(Object(c),!0).forEach(function(h){CF(a,h,c[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):gF(Object(c)).forEach(function(h){Object.defineProperty(a,h,Object.getOwnPropertyDescriptor(c,h))})}return a}function CF(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 sc(a,l){return Sf(a)||Df(a,l)||RF(a,l)||wf()}function wf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
167
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function RF(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 Df(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,r,e;try{for(c=c.call(a);!(Z=(r=c.next()).done);Z=!0)if(h.push(r.value),l&&h.length===l)break}catch(v){o=!0,e=v}finally{try{if(!Z&&c.return!=null)c.return()}finally{if(o)throw e}}return h}function Sf(a){if(Array.isArray(a))return a}var kf=typeof Bo.default==="function"?Bo.default:Bo.default.default,sf="file-invalid-type",ff="file-too-large",Bf="file-too-small",Tf="too-many-files";var Wf=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:sf,message:"File type must be ".concat(h)}},LF=function a(l){return{code:ff,message:"File is larger than ".concat(l," ").concat(l===1?"byte":"bytes")}},FF=function a(l){return{code:Bf,message:"File is smaller than ".concat(l," ").concat(l===1?"byte":"bytes")}},xF={code:Tf,message:"Too many files"};function Sm(a,l){var c=a.type==="application/x-moz-file"||kf(a,l);return[c,c?null:Wf(l)]}function km(a,l,c){if(G4(a.size)){if(G4(l)&&G4(c)){if(a.size>c)return[!1,LF(c)];if(a.size<l)return[!1,FF(l)]}else if(G4(l)&&a.size<l)return[!1,FF(l)];else if(G4(c)&&a.size>c)return[!1,LF(c)]}return[!0,null]}function G4(a){return a!==void 0&&a!==null}function pF(a){var{files:l,accept:c,minSize:h,maxSize:Z,multiple:o,maxFiles:r,validator:e}=a;if(!o&&l.length>1||o&&r>=1&&l.length>r)return!1;return l.every(function(v){var M=Sm(v,c),t=sc(M,1),m=t[0],A=km(v,h,Z),H=sc(A,1),V=H[0],i=e?e(v):null;return m&&V&&!i})}function fc(a){if(typeof a.isPropagationStopped==="function")return a.isPropagationStopped();else if(typeof a.cancelBubble!=="undefined")return a.cancelBubble;return!1}function Bc(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 sm(a){a.preventDefault()}function Of(a){return a.indexOf("MSIE")!==-1||a.indexOf("Trident/")!==-1}function Pf(a){return a.indexOf("Edge/")!==-1}function wF(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return Of(a)||Pf(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),r=1;r<Z;r++)o[r-1]=arguments[r];return l.some(function(e){if(!fc(h)&&e)e.apply(void 0,[h].concat(o));return fc(h)})}}function DF(){return"showOpenFilePicker"in window}function SF(a){if(G4(a)){var l=Object.entries(a).filter(function(c){var h=sc(c,2),Z=h[0],o=h[1],r=!0;if(!BF(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.')),r=!1;if(!Array.isArray(o)||!o.every(TF))console.warn('Skipped "'.concat(Z,'" because an invalid file extension was provided.')),r=!1;return r}).reduce(function(c,h){var Z=sc(h,2),o=Z[0],r=Z[1];return uF(uF({},c),{},CF({},o,r))},{});return[{description:"Files",accept:l}]}return a}function kF(a){if(G4(a))return Object.entries(a).reduce(function(l,c){var h=sc(c,2),Z=h[0],o=h[1];return[].concat(dF(l),[Z],dF(o))},[]).filter(function(l){return BF(l)||TF(l)}).join(",");return}function sF(a){return a instanceof DOMException&&(a.name==="AbortError"||a.code===a.ABORT_ERR)}function fF(a){return a instanceof DOMException&&(a.name==="SecurityError"||a.code===a.SECURITY_ERR)}function BF(a){return a==="audio/*"||a==="video/*"||a==="image/*"||a==="text/*"||a==="application/*"||/\w+\/[-+.\w]+/g.test(a)}function TF(a){return/^.*\.[\w]+$/.test(a)}var Uf=["children"],If=["open"],Gf=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],zf=["refKey","onChange","onClick"];function qf(a){return $f(a)||bf(a)||PF(a)||Kf()}function Kf(){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 bf(a){if(typeof Symbol!=="undefined"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function $f(a){if(Array.isArray(a))return Bm(a)}function fm(a,l){return Qf(a)||Yf(a,l)||PF(a,l)||Jf()}function Jf(){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 PF(a,l){if(!a)return;if(typeof a==="string")return Bm(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 Bm(a,l)}function Bm(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 Yf(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,r,e;try{for(c=c.call(a);!(Z=(r=c.next()).done);Z=!0)if(h.push(r.value),l&&h.length===l)break}catch(v){o=!0,e=v}finally{try{if(!Z&&c.return!=null)c.return()}finally{if(o)throw e}}return h}function Qf(a){if(Array.isArray(a))return a}function WF(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 H0(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?WF(Object(c),!0).forEach(function(h){Tm(a,h,c[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):WF(Object(c)).forEach(function(h){Object.defineProperty(a,h,Object.getOwnPropertyDescriptor(c,h))})}return a}function Tm(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 To(a,l){if(a==null)return{};var c=Xf(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 Xf(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 Wo=/*@__PURE__*/U(function(a,l){var c=a.children,h=To(a,Uf),Z=Ef(h),o=Z.open,r=To(Z,If);return V5(l,function(){return{open:o}},[o]),/*@__PURE__*/W8.createElement(V1,null,c(H0(H0({},r),{},{open:o})))});Wo.displayName="Dropzone";var UF={disabled:!1,getFilesFromEvent:wm,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};Wo.defaultProps=UF;Wo.propTypes={children:E1.default.func,accept:E1.default.objectOf(E1.default.arrayOf(E1.default.string)),multiple:E1.default.bool,preventDropOnDocument:E1.default.bool,noClick:E1.default.bool,noKeyboard:E1.default.bool,noDrag:E1.default.bool,noDragEventsBubbling:E1.default.bool,minSize:E1.default.number,maxSize:E1.default.number,maxFiles:E1.default.number,disabled:E1.default.bool,getFilesFromEvent:E1.default.func,onFileDialogCancel:E1.default.func,onFileDialogOpen:E1.default.func,useFsAccessApi:E1.default.bool,autoFocus:E1.default.bool,onDragEnter:E1.default.func,onDragLeave:E1.default.func,onDragOver:E1.default.func,onDrop:E1.default.func,onDropAccepted:E1.default.func,onDropRejected:E1.default.func,onError:E1.default.func,validator:E1.default.func};var IF=Wo,Wm={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Ef(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=H0(H0({},UF),a),c=l.accept,h=l.disabled,Z=l.getFilesFromEvent,o=l.maxSize,r=l.minSize,e=l.multiple,v=l.maxFiles,M=l.onDragEnter,t=l.onDragLeave,m=l.onDragOver,A=l.onDrop,H=l.onDropAccepted,V=l.onDropRejected,i=l.onFileDialogCancel,d=l.onFileDialogOpen,g=l.useFsAccessApi,u=l.autoFocus,L=l.preventDropOnDocument,R=l.noClick,x=l.noKeyboard,s=l.noDrag,p=l.noDragEventsBubbling,P=l.onError,G=l.validator,Z1=u1(function(){return kF(c)},[c]),o1=u1(function(){return SF(c)},[c]),E=u1(function(){return typeof d==="function"?d:OF},[d]),w=u1(function(){return typeof i==="function"?i:OF},[i]),S=z(null),I=z(null),Q=$5(yf,Wm),N=fm(Q,2),A1=N[0],b=N[1],i1=A1.isFocused,$=A1.isFileDialogActive,Y=z(typeof window!=="undefined"&&window.isSecureContext&&g&&DF()),l1=function y(){if(!Y.current&&$)setTimeout(function(){if(I.current){var L1=I.current.files;if(!L1.length)b({type:"closeDialog"}),w()}},300)};M1(function(){return window.addEventListener("focus",l1,!1),function(){window.removeEventListener("focus",l1,!1)}},[I,$,w,Y]);var f1=z([]),b1=function y(L1){if(S.current&&S.current.contains(L1.target))return;L1.preventDefault(),f1.current=[]};M1(function(){if(L)document.addEventListener("dragover",sm,!1),document.addEventListener("drop",b1,!1);return function(){if(L)document.removeEventListener("dragover",sm),document.removeEventListener("drop",b1)}},[S,L]),M1(function(){if(!h&&u&&S.current)S.current.focus();return function(){}},[S,u,h]);var h0=j(function(y){if(P)P(y);else console.error(y)},[P]),K5=j(function(y){if(y.preventDefault(),y.persist(),K4(y),f1.current=[].concat(qf(f1.current),[y.target]),Bc(y))Promise.resolve(Z(y)).then(function(L1){if(fc(y)&&!p)return;var Z0=L1.length,V0=Z0>0&&pF({files:L1,accept:Z1,minSize:r,maxSize:o,multiple:e,maxFiles:v,validator:G}),l5=Z0>0&&!V0;if(b({isDragAccept:V0,isDragReject:l5,isDragActive:!0,type:"setDraggedFiles"}),M)M(y)}).catch(function(L1){return h0(L1)})},[Z,M,h0,p,Z1,r,o,e,v,G]),v2=j(function(y){y.preventDefault(),y.persist(),K4(y);var L1=Bc(y);if(L1&&y.dataTransfer)try{y.dataTransfer.dropEffect="copy"}catch(Z0){}if(L1&&m)m(y);return!1},[m,p]),M2=j(function(y){y.preventDefault(),y.persist(),K4(y);var L1=f1.current.filter(function(V0){return S.current&&S.current.contains(V0)}),Z0=L1.indexOf(y.target);if(Z0!==-1)L1.splice(Z0,1);if(f1.current=L1,L1.length>0)return;if(b({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Bc(y)&&t)t(y)},[S,t,p]),b5=j(function(y,L1){var Z0=[],V0=[];if(y.forEach(function(l5){var I3=Sm(l5,Z1),y7=fm(I3,2),a1=y7[0],n1=y7[1],k1=km(l5,r,o),$1=fm(k1,2),o0=$1[0],H5=$1[1],O0=G?G(l5):null;if(a1&&o0&&!O0)Z0.push(l5);else{var b2=[n1,H5];if(O0)b2=b2.concat(O0);V0.push({file:l5,errors:b2.filter(function(c5){return c5})})}}),!e&&Z0.length>1||e&&v>=1&&Z0.length>v)Z0.forEach(function(l5){V0.push({file:l5,errors:[xF]})}),Z0.splice(0);if(b({acceptedFiles:Z0,fileRejections:V0,isDragReject:V0.length>0,type:"setFiles"}),A)A(Z0,V0,L1);if(V0.length>0&&V)V(V0,L1);if(Z0.length>0&&H)H(Z0,L1)},[b,e,Z1,r,o,v,A,H,V,G]),B5=j(function(y){if(y.preventDefault(),y.persist(),K4(y),f1.current=[],Bc(y))Promise.resolve(Z(y)).then(function(L1){if(fc(y)&&!p)return;b5(L1,y)}).catch(function(L1){return h0(L1)});b({type:"reset"})},[Z,b5,h0,p]),c1=j(function(){if(Y.current){b({type:"openDialog"}),E();var y={multiple:e,types:o1};window.showOpenFilePicker(y).then(function(L1){return Z(L1)}).then(function(L1){b5(L1,null),b({type:"closeDialog"})}).catch(function(L1){if(sF(L1))w(L1),b({type:"closeDialog"});else if(fF(L1))if(Y.current=!1,I.current)I.current.value=null,I.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(I.current)b({type:"openDialog"}),E(),I.current.value=null,I.current.click()},[b,E,w,g,b5,h0,o1,e]),T5=j(function(y){if(!S.current||!S.current.isEqualNode(y.target))return;if(y.key===" "||y.key==="Enter"||y.keyCode===32||y.keyCode===13)y.preventDefault(),c1()},[S,c1]),t1=j(function(){b({type:"focus"})},[]),u5=j(function(){b({type:"blur"})},[]),m2=j(function(){if(R)return;if(wF())setTimeout(c1,0);else c1()},[R,c1]),W5=function y(L1){return h?null:L1},q4=function y(L1){return x?null:W5(L1)},P3=function y(L1){return s?null:W5(L1)},K4=function y(L1){if(p)L1.stopPropagation()},bo=u1(function(){return function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L1=y.refKey,Z0=L1===void 0?"ref":L1,V0=y.role,l5=y.onKeyDown,I3=y.onFocus,y7=y.onBlur,a1=y.onClick,n1=y.onDragEnter,k1=y.onDragOver,$1=y.onDragLeave,o0=y.onDrop,H5=To(y,Gf);return H0(H0(Tm({onKeyDown:q4(q2(l5,T5)),onFocus:q4(q2(I3,t1)),onBlur:q4(q2(y7,u5)),onClick:W5(q2(a1,m2)),onDragEnter:P3(q2(n1,K5)),onDragOver:P3(q2(k1,v2)),onDragLeave:P3(q2($1,M2)),onDrop:P3(q2(o0,B5)),role:typeof V0==="string"&&V0!==""?V0:"presentation"},Z0,S),!h&&!x?{tabIndex:0}:{}),H5)}},[S,T5,t1,u5,m2,K5,v2,M2,B5,x,s,h]),C8=j(function(y){y.stopPropagation()},[]),U3=u1(function(){return function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L1=y.refKey,Z0=L1===void 0?"ref":L1,V0=y.onChange,l5=y.onClick,I3=To(y,zf),y7=Tm({accept:Z1,multiple:e,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(q2(V0,B5)),onClick:W5(q2(l5,C8)),tabIndex:-1},Z0,I);return H0(H0({},y7),I3)}},[I,c,e,B5,h]);return H0(H0({},A1),{},{isFocused:i1&&!h,getRootProps:bo,getInputProps:U3,rootRef:S,inputRef:I,open:W5(c1)})}function yf(a,l){switch(l.type){case"focus":return H0(H0({},a),{},{isFocused:!0});case"blur":return H0(H0({},a),{},{isFocused:!1});case"openDialog":return H0(H0({},Wm),{},{isFileDialogActive:!0});case"closeDialog":return H0(H0({},a),{},{isFileDialogActive:!1});case"setDraggedFiles":return H0(H0({},a),{},{isDragActive:l.isDragActive,isDragAccept:l.isDragAccept,isDragReject:l.isDragReject});case"setFiles":return H0(H0({},a),{},{acceptedFiles:l.acceptedFiles,fileRejections:l.fileRejections,isDragReject:l.isDragReject});case"reset":return H0({},Wm);default:return a}}function OF(){}var GF={},jf=function(a,l,c,h,Z){var o=new Worker(GF[l]||(GF[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(r){var e=r.data,v=e.$e$;if(v){var M=new Error(v[0]);M.code=v[1],M.stack=v[2],Z(M,null)}else Z(null,e)},o.postMessage(c,h),o},g5=Uint8Array,z4=Uint16Array,KF=Int32Array,Um=new g5([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]),Im=new g5([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]),bF=new g5([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),$F=function(a,l){var c=new z4(31);for(var h=0;h<31;++h)c[h]=l+=1<<a[h-1];var Z=new KF(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}},JF=$F(Um,2),Gm=JF.b,Nf=JF.r;Gm[28]=258,Nf[258]=28;var YF=$F(Im,0),QF=YF.b,pp1=YF.r,Io=new z4(32768);for(B1=0;B1<32768;++B1)n7=(B1&43690)>>1|(B1&21845)<<1,n7=(n7&52428)>>2|(n7&13107)<<2,n7=(n7&61680)>>4|(n7&3855)<<4,Io[B1]=((n7&65280)>>8|(n7&255)<<8)>>1;var n7,B1,L8=function(a,l,c){var h=a.length,Z=0,o=new z4(l);for(;Z<h;++Z)if(a[Z])++o[a[Z]-1];var r=new z4(l);for(Z=1;Z<l;++Z)r[Z]=r[Z-1]+o[Z-1]<<1;var e;if(c){e=new z4(1<<l);var v=15-l;for(Z=0;Z<h;++Z)if(a[Z]){var M=Z<<4|a[Z],t=l-a[Z],m=r[a[Z]-1]++<<t;for(var A=m|(1<<t)-1;m<=A;++m)e[Io[m]>>v]=M}}else{e=new z4(h);for(Z=0;Z<h;++Z)if(a[Z])e[Z]=Io[r[a[Z]-1]++]>>15-a[Z]}return e},Tc=new g5(288);for(B1=0;B1<144;++B1)Tc[B1]=8;var B1;for(B1=144;B1<256;++B1)Tc[B1]=9;var B1;for(B1=256;B1<280;++B1)Tc[B1]=7;var B1;for(B1=280;B1<288;++B1)Tc[B1]=8;var B1,XF=new g5(32);for(B1=0;B1<32;++B1)XF[B1]=5;var B1;var EF=/*@__PURE__*/L8(Tc,9,1);var yF=/*@__PURE__*/L8(XF,5,1),Po=function(a){var l=a[0];for(var c=1;c<a.length;++c)if(a[c]>l)l=a[c];return l},e2=function(a,l,c){var h=l/8|0;return(a[h]|a[h+1]<<8)>>(l&7)&c},Uo=function(a,l){var c=l/8|0;return(a[c]|a[c+1]<<8|a[c+2]<<16)>>(l&7)},jF=function(a){return(a+7)/8|0},Go=function(a,l,c){if(l==null||l<0)l=0;if(c==null||c>a.length)c=a.length;return new g5(a.subarray(l,c))};var NF=["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 h=new Error(l||NF[a]);if(h.code=a,Error.captureStackTrace)Error.captureStackTrace(h,d5);if(!c)throw h;return h},_F=function(a,l,c,h){var Z=a.length,o=h?h.length:0;if(!Z||l.f&&!l.l)return c||new g5(0);var r=!c,e=r||l.i!=2,v=l.i;if(r)c=new g5(Z*3);var M=function(B5){var c1=c.length;if(B5>c1){var T5=new g5(Math.max(c1*2,B5));T5.set(c),c=T5}},t=l.f||0,m=l.p||0,A=l.b||0,H=l.l,V=l.d,i=l.m,d=l.n,g=Z*8;do{if(!H){t=e2(a,m,1);var u=e2(a,m+1,3);if(m+=3,!u){var L=jF(m)+4,R=a[L-4]|a[L-3]<<8,x=L+R;if(x>Z){if(v)d5(0);break}if(e)M(A+R);c.set(a.subarray(L,x),A),l.b=A+=R,l.p=m=x*8,l.f=t;continue}else if(u==1)H=EF,V=yF,i=9,d=5;else if(u==2){var s=e2(a,m,31)+257,p=e2(a,m+10,15)+4,P=s+e2(a,m+5,31)+1;m+=14;var G=new g5(P),Z1=new g5(19);for(var o1=0;o1<p;++o1)Z1[bF[o1]]=e2(a,m+o1*3,7);m+=p*3;var E=Po(Z1),w=(1<<E)-1,S=L8(Z1,E,1);for(var o1=0;o1<P;){var I=S[e2(a,m,w)];m+=I&15;var L=I>>4;if(L<16)G[o1++]=L;else{var Q=0,N=0;if(L==16)N=3+e2(a,m,3),m+=2,Q=G[o1-1];else if(L==17)N=3+e2(a,m,7),m+=3;else if(L==18)N=11+e2(a,m,127),m+=7;while(N--)G[o1++]=Q}}var A1=G.subarray(0,s),b=G.subarray(s);i=Po(A1),d=Po(b),H=L8(A1,i,1),V=L8(b,d,1)}else d5(1);if(m>g){if(v)d5(0);break}}if(e)M(A+131072);var i1=(1<<i)-1,$=(1<<d)-1,Y=m;for(;;Y=m){var Q=H[Uo(a,m)&i1],l1=Q>>4;if(m+=Q&15,m>g){if(v)d5(0);break}if(!Q)d5(2);if(l1<256)c[A++]=l1;else if(l1==256){Y=m,H=null;break}else{var f1=l1-254;if(l1>264){var o1=l1-257,b1=Um[o1];f1=e2(a,m,(1<<b1)-1)+Gm[o1],m+=b1}var h0=V[Uo(a,m)&$],K5=h0>>4;if(!h0)d5(3);m+=h0&15;var b=QF[K5];if(K5>3){var b1=Im[K5];b+=Uo(a,m)&(1<<b1)-1,m+=b1}if(m>g){if(v)d5(0);break}if(e)M(A+131072);var v2=A+f1;if(A<b){var M2=o-b,b5=Math.min(b,v2);if(M2+A<0)d5(3);for(;A<b5;++A)c[A]=h[M2+A]}for(;A<v2;++A)c[A]=c[A-b]}}if(l.l=H,l.p=Y,l.b=A,l.f=t,H)t=1,l.m=i,l.d=V,l.n=d}while(!t);return A!=c.length&&r?Go(c,0,A):c.subarray(0,A)};var _f=/*@__PURE__*/new g5(0);var aB=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},zF=function(a,l,c){var h=a(),Z=a.toString(),o=Z.slice(Z.indexOf("[")+1,Z.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var r=0;r<h.length;++r){var e=h[r],v=o[r];if(typeof e=="function"){l+=";"+v+"=";var M=e.toString();if(e.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 e.prototype)l+=";"+v+".prototype."+m+"="+e.prototype[m].toString()}else l+=M}else c[v]=e}return l},Oo=[],lB=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},cB=function(a,l,c,h){if(!Oo[c]){var Z="",o={},r=a.length-1;for(var e=0;e<r;++e)Z=zF(a[e],Z,o);Oo[c]={c:zF(a[r],Z,o),e:o}}var v=aB({},Oo[c].e);return jf(Oo[c].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+l.toString()+"}",c,v,lB(v),h)},hB=function(){return[g5,z4,KF,Um,Im,bF,Gm,QF,EF,yF,Io,NF,L8,Po,e2,Uo,jF,Go,d5,_F,zm,aC,lC]};var aC=function(a){return postMessage(a,[a.buffer])},lC=function(a){return a&&{out:a.size&&new g5(a.size),dictionary:a.dictionary}},ZB=function(a,l,c,h,Z,o){var r=cB(c,h,Z,function(e,v){r.terminate(),o(e,v)});return r.postMessage([a,l],l.consume?[a.buffer]:[]),function(){r.terminate()}};var d7=function(a,l){return a[l]|a[l+1]<<8},K2=function(a,l){return(a[l]|a[l+1]<<8|a[l+2]<<16|a[l+3]<<24)>>>0},Om=function(a,l){return K2(a,l)+K2(a,l+4)*4294967296};function oB(a,l,c){if(!c)c=l,l={};if(typeof c!="function")d5(7);return ZB(a,l,[hB],function(h){return aC(zm(h.data[0],lC(h.data[1])))},1,c)}function zm(a,l){return _F(a,{i:2},l&&l.out,l&&l.dictionary)}var Pm=typeof TextDecoder!="undefined"&&/*@__PURE__*/new TextDecoder,rB=0;try{Pm.decode(_f,{stream:!0}),rB=1}catch(a){}var eB=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:Go(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 vB(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(Pm)return Pm.decode(a);else{var Z=eB(a),o=Z.s,c=Z.r;if(c.length)d5(8);return o}}var MB=function(a,l){return l+30+d7(a,l+26)+d7(a,l+28)},mB=function(a,l,c){var h=d7(a,l+28),Z=vB(a.subarray(l+46,l+46+h),!(d7(a,l+8)&2048)),o=l+46+h,r=K2(a,l+20),e=c&&r==4294967295?tB(a,o):[r,K2(a,l+24),K2(a,l+42)],v=e[0],M=e[1],t=e[2];return[d7(a,l+10),v,M,Z,o+d7(a,l+30)+d7(a,l+32),t]},tB=function(a,l){for(;d7(a,l)!=1;l+=4+d7(a,l+2));return[Om(a,l+12),Om(a,l+4),Om(a,l+20)]};var qF=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(a){a()};function cC(a,l,c){if(!c)c=l,l={};if(typeof c!="function")d5(7);var h=[],Z=function(){for(var d=0;d<h.length;++d)h[d]()},o={},r=function(d,g){qF(function(){c(d,g)})};qF(function(){r=c});var e=a.length-22;for(;K2(a,e)!=101010256;--e)if(!e||a.length-e>65558)return r(d5(13,0,1),null),Z;var v=d7(a,e+8);if(v){var M=v,t=K2(a,e+16),m=t==4294967295||M==65535;if(m){var A=K2(a,e-12);if(m=K2(a,A)==101075792,m)M=v=K2(a,A+32),t=K2(a,A+48)}var H=l&&l.filter,V=function(d){var g=mB(a,t,m),u=g[0],L=g[1],R=g[2],x=g[3],s=g[4],p=g[5],P=MB(a,p);t=s;var G=function(o1,E){if(o1)Z(),r(o1,null);else{if(E)o[x]=E;if(!--v)r(null,o)}};if(!H||H({name:x,size:L,originalSize:R,compression:u}))if(!u)G(null,Go(a,P,P+L));else if(u==8){var Z1=a.subarray(P,P+L);if(R<524288||L>0.8*R)try{G(null,zm(Z1,{out:new g5(R)}))}catch(o1){G(o1,null)}else h.push(oB(Z1,{size:R},G))}else G(d5(14,"unknown compression type "+u,1),null);else G(null,null)};for(var i=0;i<M;++i)V(i)}else r(null,{});return Z}async function hC(a){let l=await a.arrayBuffer(),c={data:[],warnings:[],error:"",isError:!1},h=new Promise((m,A)=>{cC(new Uint8Array(l),(H,V)=>{if(H)A(H);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 r=o.find((m)=>m.toLowerCase().endsWith(X0));if(!r)c.warnings.push("No manifest file found in the zip."),r="";let e=r.lastIndexOf("/"),v="";if(e>-1)v=r.substring(0,e+1);let M=o.filter((m)=>!m.startsWith(v)),t=o.filter((m)=>m.startsWith(v));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 A=Z[m],H=m.substring(v.length);if(A.length>0)c.data.push({fileName:H,content:A})}),c}var ZC={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"},oC={borderColor:n2.colorCompoundBrandForeground1},rC={borderColor:n2.colorPaletteGreenForeground1},eC={borderColor:n2.colorPaletteRedForeground1};var E7=q0([]),zo=q0(!1);function vC(){let[a,l]=m1(0);async function c(h){E7.value=[...h];let Z=MF(l0,w1.value.name,h),o=await Z.next(),r=1;while(!o.done){l(r++);let e=o.value,v=h.find((t)=>t.fileName===e.fileName),M=e.fileName.toLowerCase().endsWith(X0);if(v)v.status=e.success?"uploaded":"error";if(M&&e.success&&v){let t=U1(w1.value),m=(/*@__PURE__*/new TextDecoder()).decode(v.content),A=JSON.parse(m);t.manifest=A,r2(t,!0)}E7.value=[...h],o=await Z.next()}setTimeout(()=>{zo.value=!0,l(0)},3000)}return/*@__PURE__*/n(r1,{gap:16,children:/*@__PURE__*/n(r1,{children:/*@__PURE__*/n(IF,{useFsAccessApi:!1,onDropAccepted:(h,Z)=>{if(h.length===1&&h[0].name.endsWith(".zip")){hC(h[0]).then((o)=>{let r=o.data.map((e)=>{return{status:"uploading",...e}});c(r)});return}vF(h).then((o)=>{let r=o.data.map((e)=>{return{status:"uploading",...e}});c(r)})},multiple:!0,noClick:!0,noKeyboard:!0,children:({getRootProps:h,getInputProps:Z,isFocused:o,isDragAccept:r,isDragReject:e,open:v})=>/*@__PURE__*/n("div",{...h({style:{...ZC,...o?oC:{},...r?rC:{},...e?eC:{}}}),children:E7.value.some((M)=>M.status==="uploading")?/*@__PURE__*/n(i4,{validationMessage:`Uploaded ${a} of ${E7.value.length} files `,validationState:"none",validation:!0,style:{width:"100%"},children:/*@__PURE__*/n(z7,{max:E7.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(O6,{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: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=w1.value,c=B7();async function h(Z,o){if(!l)return;if(Z)l.manifest.appRelativeEntryPointUrls.push(o);if(!Z)l.manifest.appRelativeEntryPointUrls=l.manifest.appRelativeEntryPointUrls.filter((r)=>r!==o);r2(l,!0)}if(!l)return null;return/*@__PURE__*/n(s2,{...c,separator:!0,open:F8.value,onOpenChange:(Z,{open:o})=>{F8.value=o?F8.value:void 0},style:{width:"440px"},children:[/*@__PURE__*/n(B2,{children:/*@__PURE__*/n(T2,{action:/*@__PURE__*/n(C1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/n(c7,{},void 0,!1,void 0,this),onClick:()=>F8.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(f2,{children:/*@__PURE__*/n(r1,{gap:16,style:{padding:"12px 0px"},children:[/*@__PURE__*/n(vC,{},void 0,!1,void 0,this),/*@__PURE__*/n(r1,{gap:4,children:[a.map((Z)=>/*@__PURE__*/n(F0,{label:Z,labelPosition:"before",defaultChecked:l.manifest.appRelativeEntryPointUrls.some((o)=>o===Z),onChange:(o,r)=>{h(r.checked,Z)},root:{style:{justifyContent:"space-between"}}},void 0,!1,void 0,this)),/*@__PURE__*/n(r1,{gap:20,style:{marginTop:"10px",padding:"0px 10px 0 8px"},children:E7.value.map((Z)=>/*@__PURE__*/n(r1,{horizontalAlign:"space-between",horizontal:!0,children:[/*@__PURE__*/n(r1,{children:Z.fileName},void 0,!1,void 0,this),Z.status==="uploaded"&&/*@__PURE__*/n(Q0,{size:"medium",appearance:"ghost",color:"success",icon:/*@__PURE__*/n(bi,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),Z.status==="error"&&/*@__PURE__*/n(Q0,{size:"medium",appearance:"ghost",color:"danger",icon:/*@__PURE__*/n(Qi,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),Z.status==="uploading"&&/*@__PURE__*/n(I5,{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 F8=q0(void 0);function MC(){let[a,l]=m1([]),c=w1.value;z5(()=>{if(!w1.value)return;o()}),z5(()=>{if(zo.value===!0)o(),zo.value=!1,E7.value=[]});let h=z(null),Z=j((r)=>{h.current?.setTarget(r)},[h]);async function o(){if(!w1.value)return;let r=await mF(l0,w1.value.name);l(r)}if(!c)return null;return/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(r1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{borderBottom:"1px solid #eaeaea",paddingBottom:"10px"},children:[/*@__PURE__*/n(m5,{children:"Entry points"},void 0,!1,void 0,this),/*@__PURE__*/n(r1,{horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/n(F0,{ref:Z,checked:c.manifest.isESM,label:"ESM",labelPosition:"before",onChange:(r,e)=>{c.manifest.isESM=e.checked,r2(c)}},void 0,!1,void 0,this),/*@__PURE__*/n(F2,{positioning:{positioningRef:h},withArrow:!0,children:[/*@__PURE__*/n(a2,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(U0,{children:/*@__PURE__*/n(Jh,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(L2,{tabIndex:-1,children:/*@__PURE__*/n(l2,{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((r)=>c.manifest.appRelativeEntryPointUrls.some((e)=>r===e)).map((r)=>/*@__PURE__*/n(r1,{horizontal:!0,gap:4,verticalAlign:"center",children:[/*@__PURE__*/n(Ei,{},void 0,!1,void 0,this)," ",r]},void 0,!0,void 0,this)),/*@__PURE__*/n(C1,{onClick:()=>{F8.value="edit"},children:"Upload / Edit"},void 0,!1,void 0,this),/*@__PURE__*/n(qm,{jsFiles:a},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function mC(){let a=w1.value;if(!a)return null;return/*@__PURE__*/n(r1,{horizontal:!0,gap:20,children:[/*@__PURE__*/n(r1,{gap:16,style:{paddingBottom:"20px",flexBasis:"300px",flexShrink:0,paddingRight:"20px",borderRight:"1px solid #eaeaea"},children:/*@__PURE__*/n(MC,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(r1,{style:{flexGrow:1},children:[/*@__PURE__*/n(r1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"32px"},children:[/*@__PURE__*/n(r1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/n(m5,{children:"App/Entry Point Configuration"},void 0,!1,void 0,this),/*@__PURE__*/n(cF,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(r1,{gap:8,horizontal:!0,children:[/*@__PURE__*/n(F0,{checked:a.manifest.enableCaching,label:"Enable caching",onChange:(l,c)=>{a.manifest.enableCaching=c.checked,r2(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,r2(a)}},void 0,!1,void 0,this),/*@__PURE__*/n(C1,{size:"medium",disabled:!a.manifest.enableCaching,onClick:async()=>{a.manifest.cacheString=await lF(),r2(a)},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(eF,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function tC(){let[a,l]=m1(""),[c,h]=m1(!1);z5(()=>{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 xL(l0,o.name,o.manifest),r2(o,!0),w1.value=void 0}if(!w1.value)return null;return/*@__PURE__*/n(r1,{gap:20,style:{height:"100%"},children:[/*@__PURE__*/n(r1,{horizontalAlign:"space-between",horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/n(r1,{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(P6,{children:["Configuration of ",w1.value.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(r1,{horizontal:!0,gap:15,children:/*@__PURE__*/n(pL,{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(mC,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Km=m8(),qo=Km??T4(),Ko=Co();function AB(){let a=[];if(G2)return a.push(/*@__PURE__*/n(Q0,{size:"extra-large",shape:"rounded",color:"danger",children:"Global"},"global",!1,void 0,this)),a;if(Ko==="hubRoot")a.push(/*@__PURE__*/n(Q0,{size:"extra-large",shape:"rounded",color:"success",children:"Hub root site"},"hubRoot",!1,void 0,this));if(Ko==="hubChild")a.push(/*@__PURE__*/n(Q0,{size:"extra-large",shape:"rounded",color:"warning",children:"Hub child site"},"child",!1,void 0,this));if(Ko==="nonHub")a.push(/*@__PURE__*/n(Q0,{size:"extra-large",shape:"rounded",color:"brand",children:"Non hub site"},"nonhub",!1,void 0,this));if(Ko==="subsite")a.push(/*@__PURE__*/n(Q0,{size:"extra-large",shape:"rounded",color:"informative",children:"Sub site"},"subsite",!1,void 0,this));else a.push(/*@__PURE__*/n(Q0,{size:"extra-large",shape:"rounded",color:"informative",children:"Site collection"},"siteCollectionRoot",!1,void 0,this));return a}function AC(){let[a]=Gc(),{dispatchToast:l}=w4(B3);if(a)return d1("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:qo});return/*@__PURE__*/n(r1,{style:{padding:"30px"},gap:20,children:[/*@__PURE__*/n(r1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/n(U6,{children:[Km?"Web":"Global"," application list"]},void 0,!0,void 0,this),...AB()]},void 0,!0,void 0,this),Km&&/*@__PURE__*/n(r1,{horizontal:!0,gap:8,verticalAlign:"center",children:[/*@__PURE__*/n(U0,{target:"_blank",href:qo,children:qo},void 0,!1,void 0,this),/*@__PURE__*/n($i,{onClick:()=>{navigator.clipboard.writeText(qo),c()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(RL,{},void 0,!1,void 0,this),/*@__PURE__*/n(tC,{},void 0,!1,void 0,this),/*@__PURE__*/n(CL,{},void 0,!1,void 0,this),/*@__PURE__*/n(HL,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var HC=GZ(window.__globalSettings__.customizations.settings.theme.palette),HB=window.__globalSettings__.customizations.settings.theme.isInverted?R6(HC):v3(HC);document.querySelector("#spCommandBar button[name='Edit']")?.setAttribute("style","display:none;");function VC(a){return/*@__PURE__*/n(a4,{theme:HB,style:{height:"100%"},children:/*@__PURE__*/n(AC,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)}async function aD1(a){let l=void 0;if(a.domElement)l=St(a.domElement),l.render(VC({instance:a}));return()=>{l?.unmount()}}export{aD1 as launch};
|